1/*! For license information please see app-d8dd8689b046c6873060.js.LICENSE.txt */ 2(self.webpackChunkgatsby_starter_chakra_ui_type_script=self.webpackChunkgatsby_starter_chakra_ui_type_script||[]).push([[524],{20:function(e,t,r){const n=r(9377),{getResourceURLsForPathname:o,loadPage:i,loadPageSync:a}=r(6814).Zf;t.N=(e,t={},r,s)=>{let l=n.map(r=>{if(!r.plugin[e])return;t.getResourceURLsForPathname=o,t.loadPage=i,t.loadPageSync=a;const n=r.plugin[e](t,r.options);return n&&s&&(t=s({args:t,result:n,plugin:r})),n});return l=l.filter(e=>void 0!==e),l.length>0?l:r?[r]:[]},t.v=(e,t,r)=>n.reduce((r,n)=>n.plugin[e]?r.then(()=>n.plugin[e](t,n.options)):r,Promise.resolve())},41:function(e,t,r){"use strict";r.d(t,{Rk:function(){return n},SF:function(){return o},sk:function(){return i}});function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "}),n}var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},61:function(e,t,r){"use strict";r.d(t,{q:function(){return o}});var n=r(6540);function o(e={}){const{name:t,strict:r=!0,hookName:o="useContext",providerName:i="Provider",errorMessage:a,defaultValue:s}=e,l=(0,n.createContext)(s);return l.displayName=t,[l.Provider,function e(){var t;const s=(0,n.useContext)(l);if(!s&&r){const r=new Error(null!=a?a:`${o} returned \`undefined\`. Seems you forgot to wrap component within ${i}`);throw r.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,r,e),r}return s},l]}},115:function(e){var t="undefined"!=typeof Element,r="function"==typeof Map,n="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(!i(e[l],a[l]))return!1;return!0}if(r&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!i(l.value[1],a.get(l.value[0])))return!1;return!0}if(n&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!==l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof a.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof a.toString)return e.toString()===a.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!i(e[c[l]],a[c[l]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}}},311:function(e){"use strict";e.exports=function(e,t,r,n,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[r,n,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},428:function(e,t,r){"use strict";r.d(t,{j:function(){return i}});var n=r(941),o=function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):(0,n.G6)(function(){t.notifyFn(e)})},t.batchCalls=function(e){var t=this;return function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];t.schedule(function(){e.apply(void 0,n)})}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&(0,n.G6)(function(){e.batchNotifyFn(function(){t.forEach(function(t){e.notifyFn(t)})})})},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}(),i=new o},482:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});
2var n=r(8643),o=r(1600),i=r(61),a=r(961),s=r(6540),l=r(4848),[c,u]=(0,i.q)({strict:!1,name:"PortalContext"}),d="chakra-portal",h=e=>(0,l.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),p=e=>{const{appendToParentPortal:t,children:r}=e,[i,p]=(0,s.useState)(null),f=(0,s.useRef)(null),[,m]=(0,s.useState)({});(0,s.useEffect)(()=>m({}),[]);const g=u(),v=(0,n.T)();(0,o.U)(()=>{if(!i)return;const e=i.ownerDocument,r=t&&null!=g?g:e.body;if(!r)return;f.current=e.createElement("div"),f.current.className=d,r.appendChild(f.current),m({});const n=f.current;return()=>{r.contains(n)&&r.removeChild(n)}},[i]);const y=(null==v?void 0:v.zIndex)?(0,l.jsx)(h,{zIndex:null==v?void 0:v.zIndex,children:r}):r;return f.current?(0,a.createPortal)((0,l.jsx)(c,{value:f.current,children:y}),f.current):(0,l.jsx)("span",{ref:e=>{e&&p(e)}})},f=e=>{const{children:t,containerRef:r,appendToParentPortal:n}=e,i=r.current,u=null!=i?i:"undefined"!=typeof window?document.body:void 0,h=(0,s.useMemo)(()=>{const e=null==i?void 0:i.ownerDocument.createElement("div");return e&&(e.className=d),e},[i]),[,p]=(0,s.useState)({});return(0,o.U)(()=>p({}),[]),(0,o.U)(()=>{if(h&&u)return u.appendChild(h),()=>{u.removeChild(h)}},[h,u]),u&&h?(0,a.createPortal)((0,l.jsx)(c,{value:n?h:null,children:t}),h):null};function m(e){const t={appendToParentPortal:!0,...e},{containerRef:r,...n}=t;return r?(0,l.jsx)(f,{containerRef:r,...n}):(0,l.jsx)(p,{...n})}m.className=d,m.selector=".chakra-portal",m.displayName="Portal"},626:function(e,t,r){"use strict";r.r(t);var n=r(20);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then(function(e){e.addEventListener("updatefound",()=>{(0,n.N)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,n.N)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,n.N)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,n.N)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,n.N)("onServiceWorkerActive",{serviceWorker:e})}})})}).catch(function(e){console.error("Error during service worker registration:",e)})},700:function(e,t){t.U=()=>""},763:function(e,t,r){"use strict";r.d(t,{G6:function(){return i},Ig:function(){return o}});var n=r(6540),o=(0,n.createContext)({});function i(){const e=(0,n.useContext)(o);if(void 0===e)throw new Error("useColorMode must be used within a ColorModeProvider");return e}o.displayName="ColorModeContext"},941:function(e,t,r){"use strict";r.d(t,{BH:function(){return y},Cp:function(){return g},F$:function(){return f},G6:function(){return k},HN:function(){return l},MK:function(){return h},Od:function(){return m},S$:function(){return o},Zw:function(){return a},b_:function(){return d},gn:function(){return s},j3:function(){return c},jY:function(){return C},lQ:function(){return i},nJ:function(){return p},vh:function(){return u},yy:function(){return S}});var n=r(8168),o="undefined"==typeof window;function i(){}function a(e,t){return"function"==typeof e?e(t):e}function s(e){return"number"==typeof e&&e>=0&&e!==1/0}function l(e){return Array.isArray(e)?e:[e]}function c(e,t){return Math.max(e+(t||0)-Date.now(),0)}function u(e,t,r){return w(e)?"function"==typeof t?(0,n.A)({},r,{queryKey:e,queryFn:t}):(0,n.A)({},t,{queryKey:e}):e}function d(e,t,r){return w(e)?[(0,n.A)({},t,{queryKey:e}),r]:[e||{},t]}function h(e,t){var r=e.active,n=e.exact,o=e.fetching,i=e.inactive,a=e.predicate,s=e.queryKey,l=e.stale;if(w(s))if(n){if(t.queryHash!==f(s,t.options))return!1}else if(!g(t.queryKey,s))return!1;var c=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(r,i);if("none"===c)return!1;if("all"!==c){var u=t.isActive();if("active"===c&&!u)return!1;if("inactive"===c&&u)return!1}return("boolean"!=typeof l||t.isStale()===l)&&(("boolean"!=typeof o||t.isFetching()===o)&&!(a&&!a(t)))}function p(e,t){var r=e.exact,n=e.fetching,o=e.predicate,i=e.mutationKey;if(w(i)){if(!t.options.mutationKey)return!1;if(r){if(m(t.options.mutationKey)!==m(i))return!1}else if(!g(t.options.mutationKey,i))return!1}return("boolean"!=typeof n||"loading"===t.state.status===n)&&!(o&&!o(t))}function f(e,t){return((null==t?void 0:t.queryKeyHashFn)||m)(e)}function m(e){var t,r=l(e);return t=r,JSON.stringify(t,function(e,t){return b(t)?Object.keys(t).sort().reduce(function(e,r){return e[r]=t[r],e},{}):t})}function g(e,t){return v(l(e),l(t))}function v(e,t){return e===t||typeof e==typeof t&&(!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some(function(r){return!v(e[r],t[r])}))}function y(e,t){if(e===t)return e;var r=Array.isArray(e)&&Array.isArray(t);if(r||b(e)&&b(t)){for(var n=r?e.length:Object.keys(e).length,o=r?t:Object.keys(t),i=o.length,a=r?[]:{},s=0,l=0;l<i;l++){var c=r?l:o[l];a[c]=y(e[c],t[c]),a[c]===e[c]&&s++}return n===i&&s===n?e:a}return t}function b(e){if(!x(e))return!1;var t=e.constructor;if(void 0===t)return!0;var r=t.prototype;return!!x(r)&&!!r.hasOwnProperty("isPrototypeOf")}function x(e){return"[object Object]"===Object.prototype.toString.call(e)}function w(e){return"string"==typeof e||Array.isArray(e)}function S(e){return new Promise(function(t){setTimeout(t,e)})}function k(e){Promise.resolve().then(e).catch(function(e){return setTimeout(function(){throw e})})}function C(){if("function"==typeof AbortController)return new AbortController}},963:function(e,t,r){"use strict";r.r(t);var n=r(6540),o=r(6814),i=r(8428);t.default=({location:e})=>{const t=o.Ay.loadPageSync(e.pathname);return t?n.createElement(i.A,{location:e,pageResources:t,...t.json}):null}},1196:function(e,t,r){"use strict";r.d(t,{J:function(){return u}});
2var n=r(4393),o=r(8855),i=r(3352),a=r(4515),s=r(3720),l=r(4848);function c(e){return(0,l.jsx)(n.I,{focusable:"false","aria-hidden":!0,...e,children:(0,l.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}var u=(0,o.R)(function(e,t){const r=(0,i.Vl)("CloseButton",e),{children:n,isDisabled:o,__css:u,...d}=(0,a.MN)(e);return(0,l.jsx)(s.B.button,{type:"button","aria-label":"Close",ref:t,disabled:o,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...r,...u},...d,children:n||(0,l.jsx)(c,{width:"1em",height:"1em"})})});u.displayName="CloseButton"},1287:function(e,t,r){"use strict";var n;r.d(t,{i:function(){return s},s:function(){return a}});var o=r(6540),i=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,a=i||function(e){return e()},s=i||o.useLayoutEffect},1295:function(e,t,r){"use strict";r.d(t,{c:function(){return o}});var n=r(6540);function o(e,t=[]){const r=(0,n.useRef)(e);return(0,n.useEffect)(()=>{r.current=e}),(0,n.useCallback)((...e)=>{var t;return null==(t=r.current)?void 0:t.call(r,...e)},t)}},1600:function(e,t,r){"use strict";r.d(t,{U:function(){return o}});var n=r(6540),o=Boolean(null==globalThis?void 0:globalThis.document)?n.useLayoutEffect:n.useEffect},1639:function(e,t,r){"use strict";r.d(t,{zy:function(){return v},NP:function(){return h},Wh:function(){return g}});var n=r(763),o=r(6540);function i(e={}){const{strict:t=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,i=(0,o.createContext)(void 0);return i.displayName=n,[i.Provider,function e(){var n;const a=(0,o.useContext)(i);if(!a&&t){const t=new Error(r);throw t.name="ContextError",null==(n=Error.captureStackTrace)||n.call(Error,t,e),t}return a},i]}var a=r(4515),s=r(4159),l=r(7311),c=r(6120),u=r(7437),d=r(4848);function h(e){const{cssVarsRoot:t,theme:r,children:n}=e,i=(0,o.useMemo)(()=>(0,a.gd)(r),[r]);return(0,d.jsxs)(c.a,{theme:i,children:[(0,d.jsx)(p,{root:t}),n]})}function p({root:e=":host, :root"}){const t=[e,"[data-theme]"].join(",");return(0,d.jsx)(u.mL,{styles:e=>({[t]:e.__cssVars})})}var[f,m]=i({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function g(e){return i({name:`${e}StylesContext`,errorMessage:`useStyles: "styles" is undefined. Seems you forgot to wrap the components in "<${e} />" `})}function v(){const{colorMode:e}=(0,n.G6)();return(0,d.jsx)(u.mL,{styles:t=>{const r=(0,s.rY)(t,"styles.global"),n=(0,l.Jg)(r,{theme:t,colorMode:e});if(!n)return;return(0,a.AH)(n)(t)}})}},2024:function(e,t,r){"use strict";r.d(t,{Jr:function(){return a},dd:function(){return o},hr:function(){return s},j$:function(){return i}});var n=r(6540);const o=n.createContext({}),i=n.createContext({}),a=n.createContext({}),s=n.createContext({})},2039:function(e,t,r){"use strict";var n=r(4994)(r(6540)),o=r(2577);t.wrapRootElement=function(e,t){var r=e.element;return n.default.createElement(o.StyleSheetManager,{disableVendorPrefixes:!0===(null==t?void 0:t.disableVendorPrefixes)},r)}},2311:function(e,t,r){"use strict";t.__esModule=!0,t.onInitialClientRender=void 0;r(5535),r(9300);t.onInitialClientRender=()=>{}},2475:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},2549:function(e,t,r){var n;e.exports=(n=r(963))&&n.default||n},2575:function(e,t,r){"use strict";r.d(t,{$7:function(){return da},w4:function(){return ua}});var n={property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}},o={hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},i={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},a={base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},s={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},l={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},c={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dar
2k-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},u={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},d={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},h={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},p={...h,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}},f={breakpoints:a,zIndices:o,radii:l,blur:u,colors:s,...d,sizes:p,shadows:c,space:h,borders:i,transition:n},m=r(4515),{defineMultiStyleConfig:g,definePartsStyle:v}=(0,m.YU)(["stepper","step","title","description","indicator","separator","icon","number"]),y=(0,m.Vg)("stepper-indicator-size"),b=(0,m.Vg)("stepper-icon-size"),x=(0,m.Vg)("stepper-title-font-size"),w=(0,m.Vg)("stepper-description-font-size"),S=(0,m.Vg)("stepper-accent-color"),k=g({baseStyle:v(({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[S.variable]:`colors.${e}.500`,_dark:{[S.variable]:`colors.${e}.200`}},title:{fontSize:x.reference,fontWeight:"medium"},description:{fontSize:w.reference,color:"chakra-subtle-text"},number:{fontSize:x.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:b.reference,height:b.reference},indicator:{flexShrink:0,borderRadius:"full",width:y.reference,height:y.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:S.reference},"&[data-status=complete]":{bg:S.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:S.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${y.reference} - 8px)`,top:`calc(${y.reference} + 4px)`,insetStart:`calc(${y.reference} / 2 - 1px)`}}})),sizes:{xs:v({stepper:{[y.variable]:"sizes.4",[b.variable]:"sizes.3",[x.variable]:"fontSizes.xs",[w.variable]:"fontSizes.xs"}}),sm:v({stepper:{[y.variable]:"sizes.6",[b.variable]:"sizes.4",[x.variable]:"fontSizes.sm",[w.variable]:"fontSizes.xs"}}),md:v({stepper:{[y.variable]:"sizes.8",[b.variable]:"sizes.5",[x.variable]:"fontSizes.md",[w.variable]:"fontSizes.sm"}}),lg:v({stepper:{[y.variable]:"sizes.10",[b.variable]:"sizes.6",[x.variable]:"fontSizes.lg",[w.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function C(e,t={}){let r=!1;function n(t){const r=`chakra-${(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(
2Boolean).join("__")}`;return{className:r,selector:`.${r}`,toString:()=>t}}return{parts:function(...o){!function(){if(r)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");r=!0}();for(const e of o)t[e]=n(e);return C(e,t)},toPart:n,extend:function(...r){for(const e of r)e in t||(t[e]=n(e));return C(e,t)},selectors:function(){return Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t.selector]))},classnames:function(){return Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t.className]))},get keys(){return Object.keys(t)},__type:{}}}var P=C("accordion").parts("root","container","button","panel").extend("icon"),E=C("alert").parts("title","description","container").extend("icon","spinner"),_=C("avatar").parts("label","badge","container").extend("excessLabel","group"),A=C("breadcrumb").parts("link","item","container").extend("separator"),R=(C("button").parts(),C("checkbox").parts("control","icon","container").extend("label")),T=(C("progress").parts("track","filledTrack").extend("label"),C("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),j=C("editable").parts("preview","input","textarea"),$=C("form").parts("container","requiredIndicator","helperText"),D=C("formError").parts("text","icon"),M=C("input").parts("addon","field","element","group"),O=C("list").parts("container","item","icon"),z=C("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),B=C("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),F=C("numberinput").parts("root","field","stepperGroup","stepper"),I=(C("pininput").parts("field"),C("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),L=C("progress").parts("label","filledTrack","track"),H=C("radio").parts("container","control","label"),V=C("select").parts("field","icon"),N=C("slider").parts("container","track","thumb","filledTrack","mark"),W=C("stat").parts("container","label","helpText","number","icon"),U=C("switch").parts("container","track","thumb","label"),q=C("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),G=C("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Q=C("tag").parts("container","label","closeButton"),Y=C("card").parts("container","header","body","footer");C("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");function X(e){const t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:function(e){return!Number.isInteger(parseFloat(e.toString()))}(e)?t.replace(".","\\."):e}function K(e,t){return`var(${X(e)}${t?`, ${t}`:""})`}function J(e,t=""){return`--${function(e,t=""){return[t,X(e)].filter(Boolean).join("-")}(e,t)}`}function Z(e,t){const r=J(e,null==t?void 0:t.prefix);return{variable:r,reference:K(r,ee(null==t?void 0:t.fallback))}}function ee(e){return"string"==typeof e?e:null==e?void 0:e.reference}var te=r(9857);function re(e){return(0,te.Gv)(e)&&e.reference?e.reference:String(e)}var ne=(e,...t)=>t.map(re).join(` ${e} `).replace(/calc/g,""),oe=(...e)=>`calc(${ne("+",...e)})`,ie=(...e)=>`calc(${ne("-",...e)})`,ae=(...e)=>`calc(${ne("*",...e)})`,se=(...e)=>`calc(${ne("/",...e)})`,le=e=>{const t=re(e);return null==t||Number.isNaN(parseFloat(t))?ae(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},ce=Object.assign(e=>({add:(...t)=>ce(oe(e,...t)),subtract:(...t)=>ce(ie(e,...t)),multiply:(...t)=>ce(ae(e,...t)),divide:(...t)=>ce(se(e,...t)),negate:()=>ce(le(e)),toString:()=>e.toString()}),{add:oe,subtract:ie,multiply:ae,divide:se,negate:le}),{defineMultiStyleConfig:ue,definePartsStyle:de}=(0,m.YU)(U.keys),he=Z("switch-track-width"),pe=Z("switch-track-height"),fe=Z("switch-track-diff"),me=ce.subtract(he,pe),ge=Z("switch-thumb-x"),ve=Z("switch-bg"),ye=(0,m.H2)(e=>{const{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[he.reference],height:[pe.reference],transitionProperty:"common",transitionDuration:"fast",[ve.variable]:"colors.gray.300",_dark:{[ve.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[ve.variable]:`colors.${t}.500`,_dark:{[ve.variable]:`colors.${t}.200`}},bg:ve.reference}}),be=(0,m.H2)({bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[pe.reference],height:[pe.reference],_checked:{transform:`translateX(${ge.reference})`}}),xe=ue({baseStyle:de(e=>({container:{[fe.variable]:me,[ge.variable]:fe.reference,_rtl:{[ge.variable]:ce(fe).negate().toString()}},track:ye(e),thumb:be})),sizes:{sm:de({container:{[he.variable]:"1.375rem",[pe.variable]:"sizes.3"}}),md:de({container:{[he.variable]:"1.875rem",[pe.variable]:"sizes.4"}}),lg:de({container:{[he.variable]:"2.875rem",[pe.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}});function we(e,t){return r=>"dark"===r.colorMode?t:e}function Se(e){const{orientation:t,vertical:r,horizontal:n}
2=e;return t?"vertical"===t?r:n:{}}var{defineMultiStyleConfig:ke,definePartsStyle:Ce}=(0,m.YU)(q.keys),Pe=Ce({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),Ee=(0,m.H2)({"&[data-is-numeric=true]":{textAlign:"end"}}),_e=ke({baseStyle:Pe,variants:{simple:Ce(e=>{const{colorScheme:t}=e;return{th:{color:we("gray.600","gray.400")(e),borderBottom:"1px",borderColor:we(`${t}.100`,`${t}.700`)(e),...Ee},td:{borderBottom:"1px",borderColor:we(`${t}.100`,`${t}.700`)(e),...Ee},caption:{color:we("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),striped:Ce(e=>{const{colorScheme:t}=e;return{th:{color:we("gray.600","gray.400")(e),borderBottom:"1px",borderColor:we(`${t}.100`,`${t}.700`)(e),...Ee},td:{borderBottom:"1px",borderColor:we(`${t}.100`,`${t}.700`)(e),...Ee},caption:{color:we("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:we(`${t}.100`,`${t}.700`)(e)},td:{background:we(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),unstyled:(0,m.H2)({})},sizes:{sm:Ce({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:Ce({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:Ce({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}});function Ae(e,t,r){return Math.min(Math.max(e,r),t)}class Re extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}var Te=Re;function je(e){if("string"!=typeof e)throw new Te(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=Ie.test(e)?function(e){const t=e.toLowerCase().trim(),r=De[function(e){let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return(t>>>0)%2341}(t)];if(!r)throw new Te(e);return`#${r}`}(e):e;const r=Oe.exec(t);if(r){const e=Array.from(r).slice(1);return[...e.slice(0,3).map(e=>parseInt(Me(e,2),16)),parseInt(Me(e[3]||"f",2),16)/255]}const n=ze.exec(t);if(n){const e=Array.from(n).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,16)),parseInt(e[3]||"ff",16)/255]}const o=Be.exec(t);if(o){const e=Array.from(o).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,10)),parseFloat(e[3]||"1")]}const i=Fe.exec(t);if(i){const[t,r,n,o]=Array.from(i).slice(1).map(parseFloat);if(Ae(0,100,r)!==r)throw new Te(e);if(Ae(0,100,n)!==n)throw new Te(e);return[...He(t,r,n),Number.isNaN(o)?1:o]}throw new Te(e)}const $e=e=>parseInt(e.replace(/_/g,""),36),De="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>
2{const r=$e(t.substring(0,3)),n=$e(t.substring(3)).toString(16);let o="";for(let i=0;i<6-n.length;i++)o+="0";return e[r]=`${o}${n}`,e},{});const Me=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),Oe=new RegExp(`^#${Me("([a-f0-9])",3)}([a-f0-9])?$`,"i"),ze=new RegExp(`^#${Me("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Be=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${Me(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Fe=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Ie=/^[a-z]+$/i,Le=e=>Math.round(255*e),He=(e,t,r)=>{let n=r/100;if(0===t)return[n,n,n].map(Le);const o=(e%360+360)%360/60,i=(1-Math.abs(2*n-1))*(t/100),a=i*(1-Math.abs(o%2-1));let s=0,l=0,c=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a);const u=n-i/2;return[s+u,l+u,c+u].map(Le)};function Ve(e,t,r,n){return`rgba(${Ae(0,255,e).toFixed()}, ${Ae(0,255,t).toFixed()}, ${Ae(0,255,r).toFixed()}, ${parseFloat(Ae(0,1,n).toFixed(3))})`}function Ne(e,t){const[r,n,o,i]=je(e);return Ve(r,n,o,i-t)}var We=(e,t,r)=>{const n=function(e,t,r,n,o){for(t=t.split?t.split("."):t,n=0;n<t.length;n++)e=e?e[t[n]]:o;return e===o?r:e}(e,`colors.${t}`,t);try{return function(e){const[t,r,n,o]=je(e);let i=e=>{const t=Ae(0,255,e).toString(16);return 1===t.length?`0${t}`:t};i(t),i(r),i(n),o<1&&i(Math.round(255*o))}(n),n}catch{return null!=r?r:"#000000"}},Ue=e=>t=>{const r=(e=>{const[t,r,n]=je(e);return(299*t+587*r+114*n)/1e3})(We(t,e));return r<128?"dark":"light"},qe=(e,t)=>r=>Ne(We(r,e),1-t);function Ge(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(\n 45deg,\n ${t} 25%,\n transparent 25%,\n transparent 50%,\n ${t} 50%,\n ${t} 75%,\n transparent 75%,\n transparent\n )`,backgroundSize:`${e} ${e}`}}function Qe(e){const t=`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`;return e&&(r=e,0!==Object.keys(r).length)?e.string&&e.colors?function(e,t){let r=0;if(0===e.length)return t[0];for(let n=0;n<e.length;n+=1)r=e.charCodeAt(n)+((r<<5)-r),r&=r;return r=(r%t.length+t.length)%t.length,t[r]}(e.string,e.colors):e.string&&!e.colors?function(e){let t=0;if(0===e.length)return t.toString();for(let n=0;n<e.length;n+=1)t=e.charCodeAt(n)+((t<<5)-t),t&=t;let r="#";for(let n=0;n<3;n+=1){r+=`00${(t>>8*n&255).toString(16)}`.substr(-2)}return r}(e.string):e.colors&&!e.string?(n=e.colors)[Math.floor(Math.random()*n.length)]:t:t;var r,n}var Ye=(0,m.Vg)("tabs-color"),Xe=(0,m.Vg)("tabs-bg"),Ke=(0,m.Vg)("tabs-border-color"),{defineMultiStyleConfig:Je,definePartsStyle:Ze}=(0,m.YU)(G.keys),et=(0,m.H2)(e=>{const{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}}),tt=(0,m.H2)(e=>{const{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}}),rt=(0,m.H2)(e=>{const{align:t="start",orientation:r}=e;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[t],flexDirection:"vertical"===r?"column":"row"}}),nt=(0,m.H2)({p:4}),ot=Ze(e=>({root:et(e),tab:tt(e),tablist:rt(e),tabpanel:nt})),it={sm:Ze({tab:{py:1,px:4,fontSize:"sm"}}),md:Ze({tab:{fontSize:"md",py:2,px:4}}),lg:Ze({tab:{fontSize:"lg",py:3,px:4}})},at=Ze(e=>{const{colorScheme:t,orientation:r}=e,n="vertical"===r,o=n?"borderStart":"borderBottom",i=n?"marginStart":"marginBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[i]:"-2px",_selected:{[Ye.variable]:`colors.${t}.600`,_dark:{[Ye.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[Xe.variable]:"colors.gray.200",_dark:{[Xe.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Ye.reference,bg:Xe.reference}}}),st=Ze(e=>{const{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[Ke.variable]:"transparent",_selected:{[Ye.variable]:`colors.${t}.600`,[Ke.variable]:"colors.white",_dark:{[Ye.variable]:`colors.${t}.300`,[Ke.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:Ke.reference}
2,color:Ye.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),lt=Ze(e=>{const{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[Xe.variable]:"colors.gray.50",_dark:{[Xe.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[Xe.variable]:"colors.white",[Ye.variable]:`colors.${t}.600`,_dark:{[Xe.variable]:"colors.gray.800",[Ye.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Ye.reference,bg:Xe.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),ct=Ze(e=>{const{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:We(r,`${t}.700`),bg:We(r,`${t}.100`)}}}}),ut=Je({baseStyle:ot,sizes:it,variants:{line:at,enclosed:st,"enclosed-colored":lt,"soft-rounded":ct,"solid-rounded":Ze(e=>{const{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[Ye.variable]:"colors.gray.600",_dark:{[Ye.variable]:"inherit"},_selected:{[Ye.variable]:"colors.white",[Xe.variable]:`colors.${t}.600`,_dark:{[Ye.variable]:"colors.gray.800",[Xe.variable]:`colors.${t}.300`}},color:Ye.reference,bg:Xe.reference}}}),unstyled:Ze({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),dt=(0,m.lL)("badge",["bg","color","shadow"]),ht=(0,m.H2)({px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:dt.bg.reference,color:dt.color.reference,boxShadow:dt.shadow.reference}),pt=(0,m.H2)(e=>{const{colorScheme:t,theme:r}=e,n=qe(`${t}.500`,.6)(r);return{[dt.bg.variable]:`colors.${t}.500`,[dt.color.variable]:"colors.white",_dark:{[dt.bg.variable]:n,[dt.color.variable]:"colors.whiteAlpha.800"}}}),ft=(0,m.H2)(e=>{const{colorScheme:t,theme:r}=e,n=qe(`${t}.200`,.16)(r);return{[dt.bg.variable]:`colors.${t}.100`,[dt.color.variable]:`colors.${t}.800`,_dark:{[dt.bg.variable]:n,[dt.color.variable]:`colors.${t}.200`}}}),mt=(0,m.H2)(e=>{const{colorScheme:t,theme:r}=e,n=qe(`${t}.200`,.8)(r);return{[dt.color.variable]:`colors.${t}.500`,_dark:{[dt.color.variable]:n},[dt.shadow.variable]:`inset 0 0 0px 1px ${dt.color.reference}`}}),gt={solid:pt,subtle:ft,outline:mt},vt=(0,m.Dt)({baseStyle:ht,variants:gt,defaultProps:{variant:"subtle",colorScheme:"gray"}}),{defineMultiStyleConfig:yt,definePartsStyle:bt}=(0,m.YU)(Q.keys),xt=(0,m.Vg)("tag-bg"),wt=(0,m.Vg)("tag-color"),St=(0,m.Vg)("tag-shadow"),kt=(0,m.Vg)("tag-min-height"),Ct=(0,m.Vg)("tag-min-width"),Pt=(0,m.Vg)("tag-font-size"),Et=(0,m.Vg)("tag-padding-inline"),_t=bt({container:(0,m.H2)({fontWeight:"medium",lineHeight:1.2,outline:0,[wt.variable]:dt.color.reference,[xt.variable]:dt.bg.reference,[St.variable]:dt.shadow.reference,color:wt.reference,bg:xt.reference,boxShadow:St.reference,borderRadius:"md",minH:kt.reference,minW:Ct.reference,fontSize:Pt.reference,px:Et.reference,_focusVisible:{[St.variable]:"shadows.outline"}}),label:(0,m.H2)({lineHeight:1.2,overflow:"visible"}),closeButton:(0,m.H2)({fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}})}),At={sm:bt({container:{[kt.variable]:"sizes.5",[Ct.variable]:"sizes.5",[Pt.variable]:"fontSizes.xs",[Et.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:bt({container:{[kt.variable]:"sizes.6",[Ct.variable]:"sizes.6",[Pt.variable]:"fontSizes.sm",[Et.variable]:"space.2"}}),lg:bt({container:{[kt.variable]:"sizes.8",[Ct.variable]:"sizes.8",[Pt.variable]:"fontSizes.md",[Et.variable]:"space.3"}})},Rt={subtle:bt(e=>{var t;return{container:null==(t=vt.variants)?void 0:t.subtle(e)}}),solid:bt(e=>{var t;return{container:null==(t=vt.variants)?void 0:t.solid(e)}}),outline:bt(e=>{var t;return{container:null==(t=vt.variants)?void 0:t.outline(e)}})},Tt=yt({variants:Rt,baseStyle:_t,sizes:At,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:jt,defineMultiStyleConfig:$t}=(0,m.YU)(M.keys),Dt=(0,m.Vg)("input-height"),Mt=(0,m.Vg)("input-font-size"),Ot=(0,m.Vg)("input-padding"),zt=(0,m.Vg)("input-border-radius"),Bt=jt({addon:{height:Dt.reference,fontSize:Mt.reference,px:Ot.reference,borderRadius:zt.reference},field:{width:"100%",height:Dt.reference,fontSize:Mt.reference,px:Ot.reference,borderRadius:zt.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Ft={lg:(0,m.H2)({[Mt.variable]:"fontSizes.lg",[Ot.variable]:"space.4",[zt.variable]:"radii.md",[Dt.variable]:"sizes.12"}),md:(0,m.H2)({[Mt.variable]:"fontSizes.md",[Ot.variable]:"space.4",[zt.variable]:"radii.md",[Dt.variable]:"sizes.10"}),sm:(0,m.H2)({[Mt.variable]:"fontSizes.sm",[Ot.variable]:"space.3",[zt.variable]:"radii.sm",[Dt.variable]:"sizes.8"}),xs:(0,m.H2)({[Mt.variable]:"fontSizes.xs",[Ot.variable]:"space.2",[zt.variable]:"radii.sm",[Dt.variable]:"sizes.6"})},It={lg:jt({field:Ft.lg,group:Ft.lg}),md:jt({field:Ft.md,group:Ft.md}),sm:jt({field:Ft.sm,group:Ft.sm}),xs:jt({field:Ft.xs,group:Ft.xs})};function Lt(e){const{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||we("blue.500","blue.300")(e),errorBorderColor:r||we("red.500","red.300")(e)}}var Ht,Vt,Nt,Wt,Ut,qt,Gt,Qt,Yt,Xt,Kt,Jt=jt(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Lt(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:we("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"}
2,_invalid:{borderColor:We(t,n),boxShadow:`0 0 0 1px ${We(t,n)}`},_focusVisible:{zIndex:1,borderColor:We(t,r),boxShadow:`0 0 0 1px ${We(t,r)}`}},addon:{border:"1px solid",borderColor:we("inherit","whiteAlpha.50")(e),bg:we("gray.100","whiteAlpha.300")(e)}}}),Zt=jt(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Lt(e);return{field:{border:"2px solid",borderColor:"transparent",bg:we("gray.100","whiteAlpha.50")(e),_hover:{bg:we("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:We(t,n)},_focusVisible:{bg:"transparent",borderColor:We(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:we("gray.100","whiteAlpha.50")(e)}}}),er=jt(e=>{const{theme:t}=e,{focusBorderColor:r,errorBorderColor:n}=Lt(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:We(t,n),boxShadow:`0px 1px 0px 0px ${We(t,n)}`},_focusVisible:{borderColor:We(t,r),boxShadow:`0px 1px 0px 0px ${We(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),tr=$t({baseStyle:Bt,sizes:It,variants:{outline:Jt,filled:Zt,flushed:er,unstyled:jt({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),rr=(0,m.H2)({...null==(Ht=tr.baseStyle)?void 0:Ht.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"}),nr={outline:(0,m.H2)(e=>{var t,r;return null!=(r=null==(t=tr.variants)?void 0:t.outline(e).field)?r:{}}),flushed:(0,m.H2)(e=>{var t,r;return null!=(r=null==(t=tr.variants)?void 0:t.flushed(e).field)?r:{}}),filled:(0,m.H2)(e=>{var t,r;return null!=(r=null==(t=tr.variants)?void 0:t.filled(e).field)?r:{}}),unstyled:null!=(Nt=null==(Vt=tr.variants)?void 0:Vt.unstyled.field)?Nt:{}},or={xs:null!=(Ut=null==(Wt=tr.sizes)?void 0:Wt.xs.field)?Ut:{},sm:null!=(Gt=null==(qt=tr.sizes)?void 0:qt.sm.field)?Gt:{},md:null!=(Yt=null==(Qt=tr.sizes)?void 0:Qt.md.field)?Yt:{},lg:null!=(Kt=null==(Xt=tr.sizes)?void 0:Xt.lg.field)?Kt:{}},ir=(0,m.Dt)({baseStyle:rr,sizes:or,variants:nr,defaultProps:{size:"md",variant:"outline"}}),ar=Z("tooltip-bg"),sr=Z("tooltip-fg"),lr=Z("popper-arrow-bg"),cr=(0,m.H2)({bg:ar.reference,color:sr.reference,[ar.variable]:"colors.gray.700",[sr.variable]:"colors.whiteAlpha.900",_dark:{[ar.variable]:"colors.gray.300",[sr.variable]:"colors.gray.9
200"},[lr.variable]:ar.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}),ur=(0,m.Dt)({baseStyle:cr}),{defineMultiStyleConfig:dr,definePartsStyle:hr}=(0,m.YU)(L.keys),pr=(0,m.H2)(e=>{const{colorScheme:t,theme:r,isIndeterminate:n,hasStripe:o}=e,i=we(Ge(),Ge("1rem","rgba(0,0,0,0.1)"))(e),a=we(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(\n to right,\n transparent 0%,\n ${We(r,a)} 50%,\n transparent 100%\n )`;return{...!n&&o&&i,...n?{bgImage:s}:{bgColor:a}}}),fr=(0,m.H2)({lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"}),mr=(0,m.H2)(e=>({bg:we("gray.100","whiteAlpha.300")(e)})),gr=(0,m.H2)(e=>({transitionProperty:"common",transitionDuration:"slow",...pr(e)})),vr=hr(e=>({label:fr,filledTrack:gr(e),track:mr(e)})),yr=dr({sizes:{xs:hr({track:{h:"1"}}),sm:hr({track:{h:"2"}}),md:hr({track:{h:"3"}}),lg:hr({track:{h:"4"}})},baseStyle:vr,defaultProps:{size:"md",colorScheme:"blue"}});function br(e,...t){return"function"==typeof e?e(...t):e}var xr,wr,Sr,kr,Cr,Pr,Er,_r,Ar,{definePartsStyle:Rr,defineMultiStyleConfig:Tr}=(0,m.YU)(R.keys),jr=(0,m.Vg)("checkbox-size"),$r=(0,m.H2)(e=>{const{colorScheme:t}=e;return{w:jr.reference,h:jr.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:we(`${t}.500`,`${t}.200`)(e),borderColor:we(`${t}.500`,`${t}.200`)(e),color:we("white","gray.900")(e),_hover:{bg:we(`${t}.600`,`${t}.300`)(e),borderColor:we(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:we("gray.200","transparent")(e),bg:we("gray.200","whiteAlpha.300")(e),color:we("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:we(`${t}.500`,`${t}.200`)(e),borderColor:we(`${t}.500`,`${t}.200`)(e),color:we("white","gray.900")(e)},_disabled:{bg:we("gray.100","whiteAlpha.100")(e),borderColor:we("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:we("red.500","red.300")(e)}}}),Dr=(0,m.H2)({_disabled:{cursor:"not-allowed"}}),Mr=(0,m.H2)({userSelect:"none",_disabled:{opacity:.4}}),Or=(0,m.H2)({transitionProperty:"transform",transitionDuration:"normal"}),zr=Tr({baseStyle:Rr(e=>({icon:Or,container:Dr,control:br($r,e),label:Mr})),sizes:{sm:Rr({control:{[jr.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Rr({control:{[jr.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Rr({control:{[jr.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Br,definePartsStyle:Fr}=(0,m.YU)(H.keys),Ir=(0,m.H2)(e=>{var t;const r=null==(t=br(zr.baseStyle,e))?void 0:t.control;return{...r,borderRadius:"full",_checked:{...null==r?void 0:r._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}}),Lr=Fr(e=>{var t,r,n,o;return{label:null==(r=(t=zr).baseStyle)?void 0:r.call(t,e).label,container:null==(o=(n=zr).baseStyle)?void 0:o.call(n,e).container,control:Ir(e)}}),Hr=Br({baseStyle:Lr,sizes:{md:Fr({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:Fr({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:Fr({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Vr,definePartsStyle:Nr}=(0,m.YU)(V.keys),Wr=(0,m.Vg)("select-bg"),Ur=Nr({field:(0,m.H2)({...null==(xr=tr.baseStyle)?void 0:xr.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Wr.reference,[Wr.variable]:"colors.white",_dark:{[Wr.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Wr.reference}}),icon:(0,m.H2)({width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}})}),qr=(0,m.H2)({paddingInlineEnd:"8"}),Gr=Vr({baseStyle:Ur,sizes:{lg:{...null==(wr=tr.sizes)?void 0:wr.lg,field:{...null==(Sr=tr.sizes)?void 0:Sr.lg.field,...qr}},md:{...null==(kr=tr.sizes)?void 0:kr.md,field:{...null==(Cr=tr.sizes)?void 0:Cr.md.field,...qr}},sm:{...null==(Pr=tr.sizes)?void 0:Pr.sm,field:{...null==(Er=tr.sizes)?void 0:Er.sm.field,...qr}},xs:{...null==(_r=tr.sizes)?void 0:_r.xs,field:{...null==(Ar=tr.sizes)?void 0:Ar.xs.field,...qr},icon:{insetEnd:"1"}}},variants:tr.variants,defaultProps:tr.defaultProps}),Qr=(0,m.Vg)("skeleton-start-color"),Yr=(0,m.Vg)("skeleton-end-color"),Xr=(0,m.H2)({[Qr.variable]:"colors.gray.100",[Yr.variable]:"colors.gray.400",_dark:{[Qr.variable]:"colors.gray.800",[Yr.variable]:"colors.gray.600"},background:Qr.reference,borderColor:Yr.reference,opacity:.7,borderRadius:"sm"}),Kr=(0,m.Dt)({baseStyle:Xr}),Jr=(0,m.Vg)("skip-link-bg"),Zr=(0,m.H2)({borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[Jr.variable]:"colors.white",_dark:{[Jr.variable]:"colors.gray.700"},bg:Jr.reference}}),en=(0,m.Dt)({baseStyle:Zr}),{defineMultiStyleConfig:tn,definePartsStyle:rn}=(0,m.YU)(N.keys),nn=(0,m.Vg)("slider-thumb-size"),on=(0,m.Vg)("slider-track-size"),an=(0,m.Vg)("slider-bg"),sn=(0,m.H2)(e=>{const{orientation:t}=e;
2return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...Se({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}}),ln=(0,m.H2)(e=>({...Se({orientation:e.orientation,horizontal:{h:on.reference},vertical:{w:on.reference}}),overflow:"hidden",borderRadius:"sm",[an.variable]:"colors.gray.200",_dark:{[an.variable]:"colors.whiteAlpha.200"},_disabled:{[an.variable]:"colors.gray.300",_dark:{[an.variable]:"colors.whiteAlpha.300"}},bg:an.reference})),cn=(0,m.H2)(e=>{const{orientation:t}=e;return{...Se({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:nn.reference,h:nn.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}}),un=(0,m.H2)(e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",[an.variable]:`colors.${t}.500`,_dark:{[an.variable]:`colors.${t}.200`},bg:an.reference}}),dn=tn({baseStyle:rn(e=>({container:sn(e),track:ln(e),thumb:cn(e),filledTrack:un(e)})),sizes:{lg:rn({container:{[nn.variable]:"sizes.4",[on.variable]:"sizes.1"}}),md:rn({container:{[nn.variable]:"sizes.3.5",[on.variable]:"sizes.1"}}),sm:rn({container:{[nn.variable]:"sizes.2.5",[on.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),hn=Z("spinner-size"),pn=(0,m.H2)({width:[hn.reference],height:[hn.reference]}),fn={xs:(0,m.H2)({[hn.variable]:"sizes.3"}),sm:(0,m.H2)({[hn.variable]:"sizes.4"}),md:(0,m.H2)({[hn.variable]:"sizes.6"}),lg:(0,m.H2)({[hn.variable]:"sizes.8"}),xl:(0,m.H2)({[hn.variable]:"sizes.12"})},mn=(0,m.Dt)({baseStyle:pn,sizes:fn,defaultProps:{size:"md"}}),{defineMultiStyleConfig:gn,definePartsStyle:vn}=(0,m.YU)(W.keys),yn=gn({baseStyle:vn({container:{},label:(0,m.H2)({fontWeight:"medium"}),helpText:(0,m.H2)({opacity:.8,marginBottom:"2"}),number:(0,m.H2)({verticalAlign:"baseline",fontWeight:"semibold"}),icon:(0,m.H2)({marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"})}),sizes:{md:vn({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),bn=(0,m.Vg)("kbd-bg"),xn=(0,m.H2)({[bn.variable]:"colors.gray.100",_dark:{[bn.variable]:"colors.whiteAlpha.100"},bg:bn.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}),wn=(0,m.Dt)({baseStyle:xn}),Sn=(0,m.H2)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}),kn=(0,m.Dt)({baseStyle:Sn}),{defineMultiStyleConfig:Cn,definePartsStyle:Pn}=(0,m.YU)(O.keys),En=Cn({baseStyle:Pn({icon:(0,m.H2)({marginEnd:"2",display:"inline",verticalAlign:"text-bottom"})})}),{defineMultiStyleConfig:_n,definePartsStyle:An}=(0,m.YU)(z.keys),Rn=(0,m.Vg)("menu-bg"),Tn=(0,m.Vg)("menu-shadow"),jn=(0,m.H2)({[Rn.variable]:"#fff",[Tn.variable]:"shadows.sm",_dark:{[Rn.variable]:"colors.gray.700",[Tn.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:Rn.reference,boxShadow:Tn.reference}),$n=(0,m.H2)({py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[Rn.variable]:"colors.gray.100",_dark:{[Rn.variable]:"colors.whiteAlpha.100"}},_active:{[Rn.variable]:"colors.gray.200",_dark:{[Rn.variable]:"colors.whiteAlpha.200"}},_expanded:{[Rn.variable]:"colors.gray.100",_dark:{[Rn.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:Rn.reference}),Dn=(0,m.H2)({mx:4,my:2,fontWeight:"semibold",fontSize:"sm"}),Mn=(0,m.H2)({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),On=(0,m.H2)({opacity:.6}),zn=(0,m.H2)({border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}),Bn=_n({baseStyle:An({button:(0,m.H2)({transitionProperty:"common",transitionDuration:"normal"}),list:jn,item:$n,groupTitle:Dn,icon:Mn,command:On,divider:zn})}),{defineMultiStyleConfig:Fn,definePartsStyle:In}=(0,m.YU)(B.keys),Ln=(0,m.Vg)("modal-bg"),Hn=(0,m.Vg)("modal-shadow"),Vn=(0,m.H2)({bg:"blackAlpha.600",zIndex:"modal"}),Nn=(0,m.H2)(e=>{const{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===r?"hidden":"auto",overscrollBehaviorY:"none"}}),Wn=(0,m.H2)(e=>{const{isCentered:t,scrollBehavior:r}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,[Ln.variable]:"colors.white",[Hn.variable]:"shadows.lg",_dark:{[Ln.variable]:"colors.gray.700",[Hn.variable]:"shadows.dark-lg"},bg:Ln.reference,boxShadow:Hn.reference}}),Un=(0,m.H2)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),qn=(0,m.H2)({position:"absolute",top:"2",insetEnd:"3"}),Gn=(0,m.H2)(e=>{const{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}}),Qn=(0,m.H2)({px:"6",py:"4"});function Yn(e){return In("full"===e?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:e}})}var Xn=Fn({baseStyle:In(e=>({overlay:Vn,dialogContainer:br(Nn,e),dialog:br(Wn,e),header:Un,closeButton:qn,body:br(Gn,e),footer:Qn})),sizes:{xs:Yn("xs"),sm:Yn("sm"),md:Yn("md"),lg:Yn("lg"),xl:Yn("xl"),"2xl":Yn("2xl"),"3xl":Yn("3xl"),"4xl":Yn("4xl"),"5xl":Yn("5xl"),"6xl":Yn("6xl"),full:Yn("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:Kn,definePartsStyle:Jn}=(0,m.YU)(F.keys),Zn=Z("number-input-stepper-width"),eo=Z("number-input-input-padding"),to=ce(Zn).add("0.5rem").toString(),ro=Z("number-input-bg"),no=Z("number-input-color"),oo=Z("number-input-border-color"),io=(0,m.H2)({[Zn.variable]:"sizes.6",[eo.variable]:to}),ao=(0,m.H2)(e=>{var t,r;return null!=(r=null==(t=br(tr.baseStyle,e))?void 0:t.field)?r:{}}),so=(0,m.H2)({width:Zn.reference}),lo=(0,m.H2)({borderStart:"1px solid",borderStartColor:oo.reference,color:no.reference,bg:ro.reference,[no.variable]:"colors.chakra-body-text",[oo.variable]:"colors.chakra-border-color",_dark:{[no.variable]:"colors.whiteAlpha.800",[oo.variable]:"colors.whiteAlpha.300"},_active:{[ro.variable]:"colors.gray.200",_dark:{[ro.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}}
2),co=Jn(e=>{var t;return{root:io,field:null!=(t=br(ao,e))?t:{},stepperGroup:so,stepper:lo}});function uo(e){var t,r,n;const o=null==(t=tr.sizes)?void 0:t[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},a=null!=(n=null==(r=o.field)?void 0:r.fontSize)?n:"md",s=d.fontSizes[a];return Jn({field:{...o.field,paddingInlineEnd:eo.reference,verticalAlign:"top"},stepper:{fontSize:ce(s).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}})}var ho,po,fo,mo=Kn({baseStyle:co,sizes:{xs:uo("xs"),sm:uo("sm"),md:uo("md"),lg:uo("lg")},variants:tr.variants,defaultProps:tr.defaultProps}),go=(0,m.H2)({...null==(ho=tr.baseStyle)?void 0:ho.field,textAlign:"center"}),vo={lg:(0,m.H2)({fontSize:"lg",w:12,h:12,borderRadius:"md"}),md:(0,m.H2)({fontSize:"md",w:10,h:10,borderRadius:"md"}),sm:(0,m.H2)({fontSize:"sm",w:8,h:8,borderRadius:"sm"}),xs:(0,m.H2)({fontSize:"xs",w:6,h:6,borderRadius:"sm"})},yo={outline:(0,m.H2)(e=>{var t,r,n;return null!=(n=null==(r=br(null==(t=tr.variants)?void 0:t.outline,e))?void 0:r.field)?n:{}}),flushed:(0,m.H2)(e=>{var t,r,n;return null!=(n=null==(r=br(null==(t=tr.variants)?void 0:t.flushed,e))?void 0:r.field)?n:{}}),filled:(0,m.H2)(e=>{var t,r,n;return null!=(n=null==(r=br(null==(t=tr.variants)?void 0:t.filled,e))?void 0:r.field)?n:{}}),unstyled:null!=(fo=null==(po=tr.variants)?void 0:po.unstyled.field)?fo:{}},bo=(0,m.Dt)({baseStyle:go,sizes:vo,variants:yo,defaultProps:tr.defaultProps}),{defineMultiStyleConfig:xo,definePartsStyle:wo}=(0,m.YU)(I.keys),So=Z("popper-bg"),ko=Z("popper-arrow-bg"),Co=Z("popper-arrow-shadow-color"),Po=xo({baseStyle:wo({popper:(0,m.H2)({zIndex:10}),content:(0,m.H2)({[So.variable]:"colors.white",bg:So.reference,[ko.variable]:So.reference,[Co.variable]:"colors.gray.200",_dark:{[So.variable]:"colors.gray.700",[Co.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}}),header:(0,m.H2)({px:3,py:2,borderBottomWidth:"1px"}),body:(0,m.H2)({px:3,py:2}),footer:(0,m.H2)({px:3,py:2,borderTopWidth:"1px"}),closeButton:(0,m.H2)({position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2})})}),{definePartsStyle:Eo,defineMultiStyleConfig:_o}=(0,m.YU)(T.keys),Ao=(0,m.Vg)("drawer-bg"),Ro=(0,m.Vg)("drawer-box-shadow");function To(e){return Eo("full"===e?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}})}var jo=(0,m.H2)({bg:"blackAlpha.600",zIndex:"modal"}),$o=(0,m.H2)({display:"flex",zIndex:"modal",justifyContent:"center"}),Do=(0,m.H2)(e=>{const{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Ao.variable]:"colors.white",[Ro.variable]:"shadows.lg",_dark:{[Ao.variable]:"colors.gray.700",[Ro.variable]:"shadows.dark-lg"},bg:Ao.reference,boxShadow:Ro.reference}}),Mo=(0,m.H2)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),Oo=(0,m.H2)({position:"absolute",top:"2",insetEnd:"3"}),zo=(0,m.H2)({px:"6",py:"2",flex:"1",overflow:"auto"}),Bo=(0,m.H2)({px:"6",py:"4"}),Fo=_o({baseStyle:Eo(e=>({overlay:jo,dialogContainer:$o,dialog:br(Do,e),header:Mo,closeButton:Oo,body:zo,footer:Bo})),sizes:{xs:To("xs"),sm:To("md"),md:To("lg"),lg:To("2xl"),xl:To("4xl"),full:To("full")},defaultProps:{size:"xs"}}),{definePartsStyle:Io,defineMultiStyleConfig:Lo}=(0,m.YU)(j.keys),Ho=Lo({baseStyle:Io({preview:(0,m.H2)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"}),input:(0,m.H2)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}),textarea:(0,m.H2)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}})})}),{definePartsStyle:Vo,defineMultiStyleConfig:No}=(0,m.YU)($.keys),Wo=(0,m.Vg)("form-control-color"),Uo=No({baseStyle:Vo({container:{width:"100%",position:"relative"},requiredIndicator:(0,m.H2)({marginStart:"1",[Wo.variable]:"colors.red.500",_dark:{[Wo.variable]:"colors.red.300"},color:Wo.reference}),helperText:(0,m.H2)({mt:"2",[Wo.variable]:"colors.gray.600",_dark:{[Wo.variable]:"colors.whiteAlpha.600"},color:Wo.reference,lineHeight:"normal",fontSize:"sm"})})}),{definePartsStyle:qo,defineMultiStyleConfig:Go}=(0,m.YU)(D.keys),Qo=(0,m.Vg)("form-error-color"),Yo=Go({baseStyle:qo({text:(0,m.H2)({[Qo.variable]:"colors.red.500",_dark:{[Qo.variable]:"colors.red.300"},color:Qo.reference,mt:"2",fontSize:"sm",lineHeight:"normal"}),icon:(0,m.H2)({marginEnd:"0.5em",[Qo.variable]:"colors.red.500",_dark:{[Qo.variable]:"colors.red.300"},color:Qo.reference})})}),Xo=(0,m.H2)({fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}),Ko=(0,m.Dt)({baseStyle:Xo}),Jo=(0,m.H2)({fontFamily:"heading",fontWeight:"bold"}
2),Zo={"4xl":(0,m.H2)({fontSize:["6xl",null,"7xl"],lineHeight:1}),"3xl":(0,m.H2)({fontSize:["5xl",null,"6xl"],lineHeight:1}),"2xl":(0,m.H2)({fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]}),xl:(0,m.H2)({fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]}),lg:(0,m.H2)({fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]}),md:(0,m.H2)({fontSize:"xl",lineHeight:1.2}),sm:(0,m.H2)({fontSize:"md",lineHeight:1.2}),xs:(0,m.H2)({fontSize:"sm",lineHeight:1.2})},ei=(0,m.Dt)({baseStyle:Jo,sizes:Zo,defaultProps:{size:"xl"}}),{defineMultiStyleConfig:ti,definePartsStyle:ri}=(0,m.YU)(A.keys),ni=(0,m.Vg)("breadcrumb-link-decor"),oi=ti({baseStyle:ri({link:(0,m.H2)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:ni.reference,[ni.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[ni.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}})})}),ii=(0,m.H2)({lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}}),ai=(0,m.H2)(e=>{const{colorScheme:t,theme:r}=e;if("gray"===t)return{color:we("gray.800","whiteAlpha.900")(e),_hover:{bg:we("gray.100","whiteAlpha.200")(e)},_active:{bg:we("gray.200","whiteAlpha.300")(e)}};const n=qe(`${t}.200`,.12)(r),o=qe(`${t}.200`,.24)(r);return{color:we(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:we(`${t}.50`,n)(e)},_active:{bg:we(`${t}.100`,o)(e)}}}),si=(0,m.H2)(e=>{const{colorScheme:t}=e,r=we("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?r:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...br(ai,e)}}),li={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},ci=(0,m.H2)(e=>{var t;const{colorScheme:r}=e;if("gray"===r){const t=we("gray.100","whiteAlpha.200")(e);return{bg:t,color:we("gray.800","whiteAlpha.900")(e),_hover:{bg:we("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:we("gray.300","whiteAlpha.400")(e)}}}const{bg:n=`${r}.500`,color:o="white",hoverBg:i=`${r}.600`,activeBg:a=`${r}.700`}=null!=(t=li[r])?t:{},s=we(n,`${r}.200`)(e);return{bg:s,color:we(o,"gray.800")(e),_hover:{bg:we(i,`${r}.300`)(e),_disabled:{bg:s}},_active:{bg:we(a,`${r}.400`)(e)}}}),ui=(0,m.H2)(e=>{const{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:we(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:we(`${t}.700`,`${t}.500`)(e)}}}),di=(0,m.H2)({bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}),hi={ghost:ai,outline:si,solid:ci,link:ui,unstyled:di},pi={lg:(0,m.H2)({h:"12",minW:"12",fontSize:"lg",px:"6"}),md:(0,m.H2)({h:"10",minW:"10",fontSize:"md",px:"4"}),sm:(0,m.H2)({h:"8",minW:"8",fontSize:"sm",px:"3"}),xs:(0,m.H2)({h:"6",minW:"6",fontSize:"xs",px:"2"})},fi=(0,m.Dt)({baseStyle:ii,variants:hi,sizes:pi,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}}),{definePartsStyle:mi,defineMultiStyleConfig:gi}=(0,m.YU)(Y.keys),vi=(0,m.Vg)("card-bg"),yi=(0,m.Vg)("card-padding"),bi=(0,m.Vg)("card-shadow"),xi=(0,m.Vg)("card-radius"),wi=(0,m.Vg)("card-border-width","0"),Si=(0,m.Vg)("card-border-color"),ki=mi({container:{[vi.variable]:"colors.chakra-body-bg",backgroundColor:vi.reference,boxShadow:bi.reference,borderRadius:xi.reference,color:"chakra-body-text",borderWidth:wi.reference,borderColor:Si.reference},body:{padding:yi.reference,flex:"1 1 0%"},header:{padding:yi.reference},footer:{padding:yi.reference}}),Ci={sm:mi({container:{[xi.variable]:"radii.base",[yi.variable]:"space.3"}}),md:mi({container:{[xi.variable]:"radii.md",[yi.variable]:"space.5"}}),lg:mi({container:{[xi.variable]:"radii.xl",[yi.variable]:"space.7"}})},Pi=gi({baseStyle:ki,variants:{elevated:mi({container:{[bi.variable]:"shadows.base",_dark:{[vi.variable]:"colors.gray.700"}}}
2),outline:mi({container:{[wi.variable]:"1px",[Si.variable]:"colors.chakra-border-color"}}),filled:mi({container:{[vi.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[yi.variable]:0},header:{[yi.variable]:0},footer:{[yi.variable]:0}}},sizes:Ci,defaultProps:{variant:"elevated",size:"md"}}),Ei=Z("close-button-size"),_i=Z("close-button-bg"),Ai=(0,m.H2)({w:[Ei.reference],h:[Ei.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[_i.variable]:"colors.blackAlpha.100",_dark:{[_i.variable]:"colors.whiteAlpha.100"}},_active:{[_i.variable]:"colors.blackAlpha.200",_dark:{[_i.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:_i.reference}),Ri={lg:(0,m.H2)({[Ei.variable]:"sizes.10",fontSize:"md"}),md:(0,m.H2)({[Ei.variable]:"sizes.8",fontSize:"xs"}),sm:(0,m.H2)({[Ei.variable]:"sizes.6",fontSize:"2xs"})},Ti=(0,m.Dt)({baseStyle:Ai,sizes:Ri,defaultProps:{size:"md"}}),{variants:ji,defaultProps:$i}=vt,Di=(0,m.H2)({fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:dt.bg.reference,color:dt.color.reference,boxShadow:dt.shadow.reference}),Mi=(0,m.Dt)({baseStyle:Di,variants:ji,defaultProps:$i}),Oi=(0,m.H2)({w:"100%",mx:"auto",maxW:"prose",px:"4"}),zi=(0,m.Dt)({baseStyle:Oi}),Bi=(0,m.H2)({opacity:.6,borderColor:"inherit"}),Fi={solid:(0,m.H2)({borderStyle:"solid"}),dashed:(0,m.H2)({borderStyle:"dashed"})},Ii=(0,m.Dt)({baseStyle:Bi,variants:Fi,defaultProps:{variant:"solid"}}),{definePartsStyle:Li,defineMultiStyleConfig:Hi}=(0,m.YU)(P.keys),Vi=Hi({baseStyle:Li({container:(0,m.H2)({borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}}),button:(0,m.H2)({transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"}),panel:(0,m.H2)({pt:"2",px:"4",pb:"5"}),icon:(0,m.H2)({fontSize:"1.25em"})})}),{definePartsStyle:Ni,defineMultiStyleConfig:Wi}=(0,m.YU)(E.keys),Ui=(0,m.Vg)("alert-fg"),qi=(0,m.Vg)("alert-bg");function Gi(e){const{theme:t,colorScheme:r}=e;return{light:`colors.${r}.100`,dark:qe(`${r}.200`,.16)(t)}}var Qi=Wi({baseStyle:Ni({container:{bg:qi.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Ui.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Ui.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:Ni(e=>{const{colorScheme:t}=e,r=Gi(e);return{container:{[Ui.variable]:`colors.${t}.600`,[qi.variable]:r.light,_dark:{[Ui.variable]:`colors.${t}.200`,[qi.variable]:r.dark}}}}),"left-accent":Ni(e=>{const{colorScheme:t}=e,r=Gi(e);return{container:{[Ui.variable]:`colors.${t}.600`,[qi.variable]:r.light,_dark:{[Ui.variable]:`colors.${t}.200`,[qi.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:Ui.reference}}}),"top-accent":Ni(e=>{const{colorScheme:t}=e,r=Gi(e);return{container:{[Ui.variable]:`colors.${t}.600`,[qi.variable]:r.light,_dark:{[Ui.variable]:`colors.${t}.200`,[qi.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:Ui.reference}}}),solid:Ni(e=>{const{colorScheme:t}=e;return{container:{[Ui.variable]:"colors.white",[qi.variable]:`colors.${t}
2.600`,_dark:{[Ui.variable]:"colors.gray.900",[qi.variable]:`colors.${t}.200`},color:Ui.reference}}})},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:Yi,defineMultiStyleConfig:Xi}=(0,m.YU)(_.keys),Ki=(0,m.Vg)("avatar-border-color"),Ji=(0,m.Vg)("avatar-bg"),Zi=(0,m.Vg)("avatar-font-size"),ea=(0,m.Vg)("avatar-size"),ta=(0,m.H2)({borderRadius:"full",border:"0.2em solid",borderColor:Ki.reference,[Ki.variable]:"white",_dark:{[Ki.variable]:"colors.gray.800"}}),ra=(0,m.H2)({bg:Ji.reference,fontSize:Zi.reference,width:ea.reference,height:ea.reference,lineHeight:"1",[Ji.variable]:"colors.gray.200",_dark:{[Ji.variable]:"colors.whiteAlpha.400"}}),na=(0,m.H2)(e=>{const{name:t,theme:r}=e,n=t?Qe({string:t}):"colors.gray.400",o=(e=>t=>"dark"===Ue(e)(t))(n)(r);let i="white";return o||(i="gray.800"),{bg:Ji.reference,fontSize:Zi.reference,color:i,borderColor:Ki.reference,verticalAlign:"top",width:ea.reference,height:ea.reference,"&:not([data-loaded])":{[Ji.variable]:n},[Ki.variable]:"colors.white",_dark:{[Ki.variable]:"colors.gray.800"}}}),oa=(0,m.H2)({fontSize:Zi.reference,lineHeight:"1"});function ia(e){const t="100%"!==e?p[e]:void 0;return Yi({container:{[ea.variable]:null!=t?t:e,[Zi.variable]:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{[ea.variable]:null!=t?t:e,[Zi.variable]:`calc(${null!=t?t:e} / 2.5)`}})}var aa={Accordion:Vi,Alert:Qi,Avatar:Xi({baseStyle:Yi(e=>({badge:br(ta,e),excessLabel:br(ra,e),container:br(na,e),label:oa})),sizes:{"2xs":ia(4),xs:ia(6),sm:ia(8),md:ia(12),lg:ia(16),xl:ia(24),"2xl":ia(32),full:ia("100%")},defaultProps:{size:"md"}}),Badge:vt,Breadcrumb:oi,Button:fi,Checkbox:zr,CloseButton:Ti,Code:Mi,Container:zi,Divider:Ii,Drawer:Fo,Editable:Ho,Form:Uo,FormError:Yo,FormLabel:Ko,Heading:ei,Input:tr,Kbd:wn,Link:kn,List:En,Menu:Bn,Modal:Xn,NumberInput:mo,PinInput:bo,Popover:Po,Progress:yr,Radio:Hr,Select:Gr,Skeleton:Kr,SkipLink:en,Slider:dn,Spinner:mn,Stat:yn,Switch:xe,Table:_e,Tabs:ut,Tag:Tt,Textarea:ir,Tooltip:ur,Card:Pi,Stepper:k},sa={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},la={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},ca={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},ua={semanticTokens:sa,direction:"ltr",...f,components:aa,styles:la,config:ca},da={semanticTokens:sa,direction:"ltr",components:{},...f,styles:la,config:ca}},2577:function(e,t,r){"use strict";r.r(t),r.d(t,{ServerStyleSheet:function(){return or},StyleSheetConsumer:function(){return Rt},StyleSheetContext:function(){return At},StyleSheetManager:function(){return $t},ThemeConsumer:function(){return Nt},ThemeContext:function(){return Vt},ThemeProvider:function(){return Ut},__PRIVATE__:function(){return ir},createGlobalStyle:function(){return tr},css:function(){return Xt},default:function(){return Zt},isStyledComponent:function(){return Ke},keyframes:function(){return rr},styled:function(){return Zt},useTheme:function(){return Wt},version:function(){return he},withTheme:function(){return nr}});var n=function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)};Object.create;function o(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}Object.create;var i=r(6540),a=r(2833),s=r.n(a),l="-ms-",c="-moz-",u="-webkit-",d="comm",h="rule",p="decl",f="@import",m="@keyframes",g="@layer",v=Math.abs,y=String.fromCharCode,b=Object.assign;function x(e){return e.trim()}function w(e,t){return(e=t.exec(e))?e[0]:e}function S(e,t,r){return e.replace(t,r)}function k(e,t,r){return e.indexOf(t,r)}function C(e,t){return 0|e.charCodeAt(t)}function P(e,t,r){return e.slice(t,r)}function E(e){return e.length}function _(e){return e.length}function A(e,t){return t.push(e),e}function R(e,t){return e.filter(function(e){return!w(e,t)})}var T=1,j=1,$=0,D=0,M=0,O="";function z(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:T,column:j,length:a,return:"",siblings:s}}function B(e,t){return b(z("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function F(e){for(;e.root;)e=B(e.root,{children:[e]});A(e,e.siblings)}function I(){return M=D>0?C(O,--D):0,j--,10===M&&(j=1,T--),M}function L(){return M=D<$?C(O,D++):0,j++,10===M&&(j=1,T++),M}function H(){return C(O,D)}function V(){return D}function N(e,t){return P(O,e,t)}function W(e){switch(e){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 U(e){return T=j=1,$=E(O=e),D=0,[]}function q(e){return O="",e}function G(e){return x(N(D-1,X(91===e?e+2:40===e?e+1:e)))}function Q(e){for(;(M=H())&&M<33;)L();return W(e)>2||W(M)>3?"":" "}function Y(e,t){for(;--t&&L()&&!(M<48||M>102||M>57&&M<65||M>70&&M<97););return N(e,V()+(t<6&&32==H()&&32==L()))}function X(e){for(;L();)switch(M){case e:return D;case 34:case 39:34!==e&&39!==e&&X(M);break;case 40:41===e&&X(e);break;case 92:L()}return D}function K(e,t){for(;L()&&e+M!==57&&(e+M!==84||47!==H()););return"/*"+N(t,D-1)+"*"+y(47===e?e:L())}function J(e){for(;!W(H());)L();return N(e,D)}function Z(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function ee(e,t,r,n){switch(e.type){case g:if(e.children.length)break;case f:case p:return e.return=e.return||e.value;case d:return"";case m:return e.return=e.value+"{"+Z(e.children,n)+"}";case h:if(!E(e.value=e.props.join(",")))return""}return E(r=Z(e.children,n))?e.return=e.value+"{"+r+"}":""}function te(e,t,r){switch(function(e,t){return 45^C(e,0)?(((t<<2^C(e,0))<<2^C(e,1))<<2^C(e,2))<<2^C(e,3):0}(e,t)){case 5103:return u+"print-"+e+e;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 u+e+e;case 4789:return c+e+e;
vendor: 5,191 bytes, line 2
2case 5349:case 4246:case 4810:case 6968:case 2756:return u+e+c+e+l+e+e;case 5936:switch(C(e,t+11)){case 114:return u+e+l+S(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return u+e+l+S(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return u+e+l+S(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return u+e+l+e+e;case 6165:return u+e+l+"flex-"+e+e;case 5187:return u+e+S(e,/(\w+).+(:[^]+)/,u+"box-$1$2"+l+"flex-$1$2")+e;case 5443:return u+e+l+"flex-item-"+S(e,/flex-|-self/g,"")+(w(e,/flex-|baseline/)?"":l+"grid-row-"+S(e,/flex-|-self/g,""))+e;case 4675:return u+e+l+"flex-line-pack"+S(e,/align-content|flex-|-self/g,"")+e;case 5548:return u+e+l+S(e,"shrink","negative")+e;case 5292:return u+e+l+S(e,"basis","preferred-size")+e;case 6060:return u+"box-"+S(e,"-grow","")+u+e+l+S(e,"grow","positive")+e;case 4554:return u+S(e,/([^-])(transform)/g,"$1"+u+"$2")+e;case 6187:return S(S(S(e,/(zoom-|grab)/,u+"$1"),/(image-set)/,u+"$1"),e,"")+e;case 5495:case 3959:return S(e,/(image-set\([^]*)/,u+"$1$`$1");case 4968:return S(S(e,/(.+:)(flex-)?(.*)/,u+"box-pack:$3"+l+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+u+e+e;case 4200:if(!w(e,/flex-|baseline/))return l+"grid-column-align"+P(e,t)+e;break;case 2592:case 3360:return l+S(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(e,r){return t=r,w(e.props,/grid-\w+-end/)})?~k(e+(r=r[t].value),"span",0)?e:l+S(e,"-start","")+e+l+"grid-row-span:"+(~k(r,"span",0)?w(r,/\d+/):+w(r,/\d+/)-+w(e,/\d+/))+";":l+S(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(e){return w(e.props,/grid-\w+-start/)})?e:l+S(S(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return S(e,/(.+)-inline(.+)/,u+"$1$2")+e;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(E(e)-1-t>6)switch(C(e,t+1)){case 109:if(45!==C(e,t+4))break;case 102:return S(e,/(.+:)(.+)-([^]+)/,"$1"+u+"$2-$3$1"+c+(108==C(e,t+3)?"$3":"$2-$3"))+e;case 115:return~k(e,"stretch",0)?te(S(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return S(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,r,n,o,i,a,s){return l+r+":"+n+s+(o?l+r+"-span:"+(i?a:+a-+n)+s:"")+e});case 4949:if(121===C(e,t+6))return S(e,":",":"+u)+e;break;case 6444:switch(C(e,45===C(e,14)?18:11)){case 120:return S(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+u+(45===C(e,14)?"inline-":"")+"box$3$1"+u+"$2$3$1"+l+"$2box$3")+e;case 100:return S(e,":",":"+l)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return S(e,"scroll-","scroll-snap-")+e}return e}function re(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case p:return void(e.return=te(e.value,e.length,r));case m:return Z([B(e,{value:S(e.value,"@","@"+u)})],n);case h:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,function(t){switch(w(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":F(B(e,{props:[S(t,/:(read-\w+)/,":"+c+"$1")]})),F(B(e,{props:[t]})),b(e,{props:R(r,n)});break;case"::placeholder":F(B(e,{props:[S(t,/:(plac\w+)/,":"+u+"input-$1")]})),F(B(e,{props:[S(t,/:(plac\w+)/,":"+c+"$1")]})),F(B(e,{props:[S(t,/:(plac\w+)/,l+"input-$1")]})),F(B(e,{props:[t]})),b(e,{props:R(r,n)})}return""})}}function ne(e){return q(oe("",null,null,null,[""],e=U(e),0,[0],e))}function oe(e,t,r,n,o,i,a,s,l){for(var c=0,u=0,d=a,h=0,p=0,f=0,m=1,g=1,b=1,x=0,w="",P=o,_=i,R=n,T=w;g;)switch(f=x,x=L()){case 40:if(108!=f&&58==C(T,d-1)){-1!=k(T+=S(G(x),"&","&\f"),"&\f",v(c?s[c-1]:0))&&(b=-1);break}case 34:case 39:case 91:T+=G(x);break;case 9:case 10:case 13:case 32:T+=Q(f);break;case 92:T+=Y(V()-1,7);continue;case 47:switch(H()){case 42:case 47:A(ae(K(L(),V()),t,r,l),l);break;default:T+="/"}break;case 123*m:s[c++]=E(T)*b;case 125*m:case 59:case 0:switch(x){case 0:case 125:g=0;case 59+u:-1==b&&(T=S(T,/\f/g,"")),p>0&&E(T)-d&&A(p>32?se(T+";",n,r,d-1,l):se(S(T," ","")+";",n,r,d-2,l),l);break;case 59:T+=";";default:if(A(R=ie(T,t,r,c,u,o,s,w,P=[],_=[],d,i),i),123===x)if(0===u)oe(T,t,R,R,P,i,d,s,_);else switch(99===h&&110===C(T,3)?100:h){case 100:case 108:case 109:case 115:oe(e,R,R,n&&A(ie(e,R,R,0,0,o,s,w,o,P=[],d,_),_),o,_,d,s,n?P:_);break;default:oe(T,R,R,R,[""],_,0,s,_)}}c=u=p=0,m=b=1,w=T="",d=a;break;case 58:d=1+E(T),p=f;default:if(m<1)if(123==x)--m;else if(125==x&&0==m++&&125==I())continue;switch(T+=y(x),x*m){case 38:b=u>0?1:(T+="\f",-1);break;case 44:s[c++]=(E(T)-1)*b,b=1;break;case 64:45===H()&&(T+=G(L())),h=H(),u=d=E(w=T+=J(V())),x++;break;case 45:45===f&&2==E(T)&&(m=0)}}return i}function ie(e,t,r,n,o,i,a,s,l,c,u,d){for(var p=o-1,f=0===o?i:[""],m=_(f),g=0,y=0,b=0;g<n;++g)for(var w=0,k=P(e,p+1,p=v(y=a[g])),C=e;w<m;++w)(C=x(y>0?f[w]+" "+k:S(k,/&\f/g,f[w])))&&(l[b++]=C);return z(e,t,r,0===o?h:s,l,c,u,d)}function ae(e,t,r,n){return z(e,t,r,d,y(M),P(e,2,-2),0,n)}function se(e,t,r,n,o){return z(e,t,r,p,P(e,0,n),P(e,n+1,-1),n,o)}var le={animationIterationCount: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,msGr
vendor: 8,129 bytes, line 2
2idRow: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},ce="undefined"!=typeof process&&void 0!=={}&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",ue="active",de="data-styled-version",he="6.1.8",pe="/*!sc*/\n",fe="undefined"!=typeof window&&"HTMLElement"in window,me=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={}&&void 0!=={}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={}.REACT_APP_SC_DISABLE_SPEEDY&&{}.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={}&&void 0!=={}.SC_DISABLE_SPEEDY&&""!=={}.SC_DISABLE_SPEEDY&&("false"!=={}.SC_DISABLE_SPEEDY&&{}.SC_DISABLE_SPEEDY)),ge={},ve=(new Set,Object.freeze([])),ye=Object.freeze({});function be(e,t,r){return void 0===r&&(r=ye),e.theme!==r.theme&&e.theme||t||r.theme}var xe=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),we=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Se=/(^-|-$)/g;function ke(e){return e.replace(we,"-").replace(Se,"")}var Ce=/(a)(d)/gi,Pe=52,Ee=function(e){return String.fromCharCode(e+(e>25?39:97))};function _e(e){var t,r="";for(t=Math.abs(e);t>Pe;t=t/Pe|0)r=Ee(t%Pe)+r;return(Ee(t%Pe)+r).replace(Ce,"$1-$2")}var Ae,Re=5381,Te=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},je=function(e){return Te(Re,e)};function $e(e){return _e(je(e)>>>0)}function De(e){return e.displayName||e.name||"Component"}function Me(e){return"string"==typeof e&&!0}var Oe="function"==typeof Symbol&&Symbol.for,ze=Oe?Symbol.for("react.memo"):60115,Be=Oe?Symbol.for("react.forward_ref"):60112,Fe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ie={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Le={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},He=((Ae={})[Be]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ae[ze]=Le,Ae);function Ve(e){return("type"in(t=e)&&t.type.$$typeof)===ze?Le:"$$typeof"in e?He[e.$$typeof]:Fe;var t}var Ne=Object.defineProperty,We=Object.getOwnPropertyNames,Ue=Object.getOwnPropertySymbols,qe=Object.getOwnPropertyDescriptor,Ge=Object.getPrototypeOf,Qe=Object.prototype;function Ye(e,t,r){if("string"!=typeof t){if(Qe){var n=Ge(t);n&&n!==Qe&&Ye(e,n,r)}var o=We(t);Ue&&(o=o.concat(Ue(t)));for(var i=Ve(e),a=Ve(t),s=0;s<o.length;++s){var l=o[s];if(!(l in Ie||r&&r[l]||a&&l in a||i&&l in i)){var c=qe(t,l);try{Ne(e,l,c)}catch(e){}}}}return e}function Xe(e){return"function"==typeof e}function Ke(e){return"object"==typeof e&&"styledComponentId"in e}function Je(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Ze(e,t){if(0===e.length)return"";for(var r=e[0],n=1;n<e.length;n++)r+=t?t+e[n]:e[n];return r}function et(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function tt(e,t,r){if(void 0===r&&(r=!1),!r&&!et(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=tt(e[n],t[n]);else if(et(t))for(var n in t)e[n]=tt(e[n],t[n]);return e}function rt(e,t){Object.defineProperty(e,"toString",{value:t})}function nt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var ot=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,r=0;r<e;r++)t+=this.groupSizes[r];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)if((o<<=1)<0)throw nt(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=n;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(e+1),s=(i=0,t.length);i<s;i++)this.tag.insertRule(a,t[i])&&(this.groupSizes[e]++,a++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(var o=r;o<n;o++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,i=n;i<o;i++)t+="".concat(this.tag.getRule(i)).concat(pe);return t},e}(),it=new Map,at=new Map,st=1,lt=function(e){if(it.has(e))return it.get(e);for(;at.has(st);)st++;var t=st++;return it.set(e,t),at.set(t,e),t},ct=function(e,t){st=t+1,it.set(e,t),at.set(t,e)},ut="style[".concat(ce,"][").concat(de,'="').concat(he,'"]'),dt=new RegExp("^".concat(ce,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ht=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i<a;i++)(n=o[i])&&e.registerName(t,n)},pt=function(e,t){for(var r,n=(null!==(r=t.textContent)&&void 0!==r?r:"").split(pe),o=[],i=0,a=n.length;i<a;i++){var s=n[i].trim();if(s){var l=s.match(dt);if(l){var c=0|parseInt(l[1],10),u=l[2];0!==c&&(ct(u,c),ht(e,u,l[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(s)}}};function ft(){return r.nc}var mt=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(ce,"]")));return t[t.length-1]}(r),i=void 0!==o?o.nextSibling:null;n.setAttribute(ce,ue),n.setAttribute(de,he);var a=ft();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},gt=function(){function e(e){this.element=mt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r<n;r++){var o=t[r];if(o.ownerNode===e)return o}throw nt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),vt=function(){function e(e){this.element=mt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),yt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}
2(),bt=fe,xt={isServer:!fe,useCSSOMInjection:!me},wt=function(){function e(e,t,r){void 0===e&&(e=ye),void 0===t&&(t={});var o=this;this.options=n(n({},xt),e),this.gs=t,this.names=new Map(r),this.server=!!e.isServer,!this.server&&fe&&bt&&(bt=!1,function(e){for(var t=document.querySelectorAll(ut),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(ce)!==ue&&(pt(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this)),rt(this,function(){return function(e){for(var t=e.getTag(),r=t.length,n="",o=function(r){var o=function(e){return at.get(e)}(r);if(void 0===o)return"continue";var i=e.names.get(o),a=t.getGroup(r);if(void 0===i||0===a.length)return"continue";var s="".concat(ce,".g").concat(r,'[id="').concat(o,'"]'),l="";void 0!==i&&i.forEach(function(e){e.length>0&&(l+="".concat(e,","))}),n+="".concat(a).concat(s,'{content:"').concat(l,'"}').concat(pe)},i=0;i<r;i++)o(i);return n}(o)})}return e.registerId=function(e){return lt(e)},e.prototype.reconstructWithOptions=function(t,r){return void 0===r&&(r=!0),new e(n(n({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,r=e.target;return e.isServer?new yt(r):t?new gt(r):new vt(r)}(this.options),new ot(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(lt(e),this.names.has(e))this.names.get(e).add(t);else{var r=new Set;r.add(t),this.names.set(e,r)}},e.prototype.insertRules=function(e,t,r){this.registerName(e,t),this.getTag().insertRules(lt(e),r)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(lt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),St=/&/g,kt=/^\s*\/\/.*$/gm;function Ct(e,t){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return"".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ct(e.children,t)),e})}function Pt(e){var t,r,n,o=void 0===e?ye:e,i=o.options,a=void 0===i?ye:i,s=o.plugins,l=void 0===s?ve:s,c=function(e,n,o){return o.startsWith(r)&&o.endsWith(r)&&o.replaceAll(r,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===h&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(St,r).replace(n,c))}),a.prefix&&u.push(re),u.push(ee);var d=function(e,o,i,s){void 0===o&&(o=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,r=o,n=new RegExp("\\".concat(r,"\\b"),"g");var l=e.replace(kt,""),c=ne(i||o?"".concat(i," ").concat(o," { ").concat(l," }"):l);a.namespace&&(c=Ct(c,a.namespace));var d,h,p,f=[];return Z(c,(d=u.concat((p=function(e){return f.push(e)},function(e){e.root||(e=e.return)&&p(e)})),h=_(d),function(e,t,r,n){for(var o="",i=0;i<h;i++)o+=d[i](e,t,r,n)||"";return o})),f};return d.hash=l.length?l.reduce(function(e,t){return t.name||nt(15),Te(e,t.name)},Re).toString():"",d}var Et=new wt,_t=Pt(),At=i.createContext({shouldForwardProp:void 0,styleSheet:Et,stylis:_t}),Rt=At.Consumer,Tt=i.createContext(void 0);function jt(){return(0,i.useContext)(At)}function $t(e){var t=(0,i.useState)(e.stylisPlugins),r=t[0],n=t[1],o=jt().styleSheet,a=(0,i.useMemo)(function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,o]),l=(0,i.useMemo)(function(){return Pt({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:r})},[e.enableVendorPrefixes,e.namespace,r]);(0,i.useEffect)(function(){s()(r,e.stylisPlugins)||n(e.stylisPlugins)},[e.stylisPlugins]);var c=(0,i.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:a,stylis:l}},[e.shouldForwardProp,a,l]);return i.createElement(At.Provider,{value:c},i.createElement(Tt.Provider,{value:l},e.children))}var Dt=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=_t);var n=r.name+t.hash;
vendor: 5,390 bytes, line 2
2e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,rt(this,function(){throw nt(12,String(r.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=_t),this.name+e.hash},e}(),Mt=function(e){return e>="A"&&e<="Z"};function Ot(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(1===r&&"-"===n&&"-"===e[0])return e;Mt(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var zt=function(e){return null==e||!1===e||""===e},Bt=function(e){var t,r,n=[];for(var i in e){var a=e[i];e.hasOwnProperty(i)&&!zt(a)&&(Array.isArray(a)&&a.isCss||Xe(a)?n.push("".concat(Ot(i),":"),a,";"):et(a)?n.push.apply(n,o(o(["".concat(i," {")],Bt(a),!1),["}"],!1)):n.push("".concat(Ot(i),": ").concat((t=i,null==(r=a)||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||t in le||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function Ft(e,t,r,n){return zt(e)?[]:Ke(e)?[".".concat(e.styledComponentId)]:Xe(e)?!Xe(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:Ft(e(t),t,r,n):e instanceof Dt?r?(e.inject(r,n),[e.getName(n)]):[e]:et(e)?Bt(e):Array.isArray(e)?Array.prototype.concat.apply(ve,e.map(function(e){return Ft(e,t,r,n)})):[e.toString()];var o}function It(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Xe(r)&&!Ke(r))return!1}return!0}var Lt=je(he),Ht=function(){function e(e,t,r){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===r||r.isStatic)&&It(e),this.componentId=t,this.baseHash=Te(Lt,t),this.baseStyle=r,wt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,r){var n=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))n=Je(n,this.staticRulesId);else{var o=Ze(Ft(this.rules,e,t,r)),i=_e(Te(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,i)){var a=r(o,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,a)}n=Je(n,i),this.staticRulesId=i}else{for(var s=Te(this.baseHash,r.hash),l="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)l+=u;else if(u){var d=Ze(Ft(u,e,t,r));s=Te(s,d+c),l+=d}}if(l){var h=_e(s>>>0);t.hasNameForId(this.componentId,h)||t.insertRules(this.componentId,h,r(l,".".concat(h),void 0,this.componentId)),n=Je(n,h)}}return n},e}(),Vt=i.createContext(void 0),Nt=Vt.Consumer;function Wt(){var e=(0,i.useContext)(Vt);if(!e)throw nt(18);return e}function Ut(e){var t=i.useContext(Vt),r=(0,i.useMemo)(function(){return function(e,t){if(!e)throw nt(14);if(Xe(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw nt(8);return t?n(n({},t),e):e}(e.theme,t)},[e.theme,t]);return e.children?i.createElement(Vt.Provider,{value:r},e.children):null}var qt={};new Set;function Gt(e,t,r){var o=Ke(e),a=e,s=!Me(e),l=t.attrs,c=void 0===l?ve:l,u=t.componentId,d=void 0===u?function(e,t){var r="string"!=typeof e?"sc":ke(e);qt[r]=(qt[r]||0)+1;var n="".concat(r,"-").concat($e(he+r+qt[r]));return t?"".concat(t,"-").concat(n):n}(t.displayName,t.parentComponentId):u,h=t.displayName,p=void 0===h?function(e){return Me(e)?"styled.".concat(e):"Styled(".concat(De(e),")")}(e):h,f=t.displayName&&t.componentId?"".concat(ke(t.displayName),"-").concat(t.componentId):t.componentId||d,m=o&&a.attrs?a.attrs.concat(c).filter(Boolean):c,g=t.shouldForwardProp;if(o&&a.shouldForwardProp){var v=a.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;g=function(e,t){return v(e,t)&&y(e,t)}}else g=v}var b=new Ht(r,f,o?a.componentStyle:void 0);function x(e,t){return function(e,t,r){var o=e.attrs,a=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=i.useContext(Vt),h=jt(),p=e.shouldForwardProp||h.shouldForwardProp,f=be(t,d,s)||ye,m=function(e,t,r){for(var o,i=n(n({},t),{className:void 0,theme:r}),a=0;a<e.length;a+=1){var s=Xe(o=e[a])?o(i):o;for(var l in s)i[l]="className"===l?Je(i[l],s[l]):"style"===l?n(n({},i[l]),s[l]):s[l]}return t.className&&(i.className=Je(i.className,t.className)),i}(o,t,f),g=m.as||u,v={};for(var y in m)void 0===m[y]||"$"===y[0]||"as"===y||"theme"===y&&m.theme===f||("forwardedAs"===y?v.as=m.forwardedAs:p&&!p(y,g)||(v[y]=m[y]));var b=function(e,t){var r=jt();return e.generateAndInjectStyles(t,r.styleSheet,r.stylis)}(a,m),x=Je(l,c);return b&&(x+=" "+b),m.className&&(x+=" "+m.className),v[Me(g)&&!xe.has(g)?"class":"className"]=x,v.ref=r,(0,i.createElement)(g,v)}(w,e,t)}x.displayName=p;var w=i.forwardRef(x);return w.attrs=m,w.componentStyle=b,w.displayName=p,w.shouldForwardProp=g,w.foldedComponentIds=o?Je(a.foldedComponentIds,a.styledComponentId):"",w.styledComponentId=f,w.target=o?a.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0,o=t;n<o.length;n++)tt(e,o[n],!0);return e}({},a.defaultProps,e):e}}),rt(w,function(){return".".concat(w.styledComponentId)}),s&&Ye(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function Qt(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var Yt=function(e){return Object.assign(e,{isCss:!0})};function Xt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];
2if(Xe(e)||et(e))return Yt(Ft(Qt(ve,o([e],t,!0))));var n=e;return 0===t.length&&1===n.length&&"string"==typeof n[0]?Ft(n):Yt(Ft(Qt(n,t)))}function Kt(e,t,r){if(void 0===r&&(r=ye),!t)throw nt(1,t);var i=function(n){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return e(t,r,Xt.apply(void 0,o([n],i,!1)))};return i.attrs=function(o){return Kt(e,t,n(n({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},i.withConfig=function(o){return Kt(e,t,n(n({},r),o))},i}var Jt=function(e){return Kt(Gt,e)},Zt=Jt;xe.forEach(function(e){Zt[e]=Jt(e)});var er=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=It(e),wt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,r,n){var o=n(Ze(Ft(this.rules,t,r,n)),""),i=this.componentId+e;r.insertRules(i,i,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,r,n){e>2&&wt.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function tr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var a=Xt.apply(void 0,o([e],t,!1)),s="sc-global-".concat($e(JSON.stringify(a))),l=new er(a,s),c=function(e){var t=jt(),r=i.useContext(Vt),n=i.useRef(t.styleSheet.allocateGSInstance(s)).current;return t.styleSheet.server&&u(n,e,t.styleSheet,r,t.stylis),i.useLayoutEffect(function(){if(!t.styleSheet.server)return u(n,e,t.styleSheet,r,t.stylis),function(){return l.removeStyles(n,t.styleSheet)}},[n,e,t.styleSheet,r,t.stylis]),null};function u(e,t,r,o,i){if(l.isStatic)l.renderStyles(e,ge,r,i);else{var a=n(n({},t),{theme:be(t,o,c.defaultProps)});l.renderStyles(e,a,r,i)}}return i.memo(c)}function rr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Ze(Xt.apply(void 0,o([e],t,!1))),i=$e(n);return new Dt(i,n)}function nr(e){var t=i.forwardRef(function(t,r){var o=be(t,i.useContext(Vt),e.defaultProps);return i.createElement(e,n({},t,{theme:o,ref:r}))});return t.displayName="WithTheme(".concat(De(e),")"),Ye(t,e)}var or=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),r=ft(),n=Ze([r&&'nonce="'.concat(r,'"'),"".concat(ce,'="true"'),"".concat(de,'="').concat(he,'"')].filter(Boolean)," ");return"<style ".concat(n,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw nt(2);return e._emitSheetCSS()}
2,this.getStyleElement=function(){var t;if(e.sealed)throw nt(2);var r=((t={})[ce]="",t[de]=he,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),o=ft();return o&&(r.nonce=o),[i.createElement("style",n({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new wt({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw nt(2);return i.createElement($t,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw nt(3)},e}(),ir={StyleSheet:wt,mainSheet:Et};"__sc-".concat(ce,"__")},2799:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case h:case g:case m:case l:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=h,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===h},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===h||e.$$typeof===y||e.$$typeof===b||e.$$typeof===x||e.$$typeof===v)},t.typeOf=w},2833:function(e){e.exports=function(e,t,r,n){var o=r?r.call(n,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(o=r?r.call(n,u,d,c):void 0)||void 0===o&&u!==d)return!1}return!0}},3008:function(e,t,r){"use strict";r.d(t,{UQ:function(){return i},rd:function(){return a}});var n=r(4940),o=r(763);function i(){return{...(0,o.G6)(),theme:(0,n.D)()}}function a(e,t,r){const o=(0,n.D)();return function(e,t,r){const n=Array.isArray(t)?t:[t],o=Array.isArray(r)?r:[r];return r=>{const i=o.filter(Boolean),a=n.map((t,n)=>{var o,a;if("breakpoints"===e)return function(e,t,r){var n,o;if(null==t)return t;const i=t=>{var r,n;return null==(n=null==(r=e.__breakpoints)?void 0:r.asArray)?void 0:n[t]};return null!=(o=null!=(n=i(t))?n:i(r))?o:r}(r,t,null!=(o=i[n])?o:t);return function(e,t,r){var n,o;if(null==t)return t;const i=t=>{var r,n;return null==(n=null==(r=e.__cssMap)?void 0:r[t])?void 0:n.value};return null!=(o=null!=(n=i(t))?n:i(r))?o:r}(r,`${e}.${t}`,null!=(a=i[n])?a:t)});return Array.isArray(t)?a:a[0]}}(e,t,r)(o)}},3166:function(e,t,r){"use strict";r.r(t),r.d(t,{wrapRootElement:function(){return s}});var n=r(6540),o=r(7922),i=r(2575).w4;const a=({element:e,resetCSS:t=!0,portalZIndex:r})=>n.createElement(o.s,{theme:i,resetCSS:t,portalZIndex:r},e),s=({element:e},t)=>n.createElement(a,Object.assign({element:e},t))},3215:function(e,t,r){"use strict";var n=r(4994);
2t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=n(r(2475)),i=n(r(6221)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=c(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,r&&r.set(e,n);return n}(r(6540)),s=n(r(5556)),l=r(4351);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(c=function(e){return e?r:t})(e)}var u=a.createContext(new l.SessionStorage);t.ScrollContext=u,u.displayName="GatsbyScrollContext";var d=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this)._stateStorage=new l.SessionStorage,t._isTicking=!1,t._latestKnownScrollY=0,t.scrollListener=function(){t._latestKnownScrollY=window.scrollY,t._isTicking||(t._isTicking=!0,requestAnimationFrame(t._saveScroll.bind((0,o.default)(t))))},t.windowScroll=function(e,r){t.shouldUpdateScroll(r,t.props)&&window.scrollTo(0,e)},t.scrollToHash=function(e,r){var n=document.getElementById(e.substring(1));n&&t.shouldUpdateScroll(r,t.props)&&n.scrollIntoView()},t.shouldUpdateScroll=function(e,r){var n=t.props.shouldUpdateScroll;return!n||n.call((0,o.default)(t),e,r)},t}(0,i.default)(t,e);var r=t.prototype;return r._saveScroll=function(){var e=this.props.location.key||null;e&&this._stateStorage.save(this.props.location,e,this._latestKnownScrollY),this._isTicking=!1},r.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,r=t.key,n=t.hash;r&&(e=this._stateStorage.read(this.props.location,r)),n?this.scrollToHash(decodeURI(n),void 0):e&&this.windowScroll(e,void 0)},r.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},r.componentDidUpdate=function(e){var t,r=this.props.location,n=r.hash,o=r.key;o&&(t=this._stateStorage.read(this.props.location,o)),n?this.scrollToHash(decodeURI(n),e):this.windowScroll(t,e)},r.render=function(){return a.createElement(u.Provider,{value:this._stateStorage},this.props.children)},t}(a.Component);t.ScrollHandler=d,d.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},3309:function(e,t){"use strict";t.__esModule=!0,t.getForwards=function(e){return null==e?void 0:e.flatMap(e=>(null==e?void 0:e.forward)||[])}},3352:function(e,t,r){"use strict";r.d(t,{Vl:function(){return u},o5:function(){return d}});var n=r(3008),o=r(4515),i=r(4159),a=r(8394),s=r(6540),l=r(115);function c(e,t={}){var r;const{styleConfig:c,...u}=t,{theme:d,colorMode:h}
2=(0,n.UQ)(),p=e?(0,i.rY)(d,`components.${e}`):void 0,f=c||p,m=a({theme:d,colorMode:h},null!=(r=null==f?void 0:f.defaultProps)?r:{},(0,i.TB)((0,i.cJ)(u,["children"]))),g=(0,s.useRef)({});if(f){const e=(0,o.uB)(f)(m);l(g.current,e)||(g.current=e)}return g.current}function u(e,t={}){return c(e,t)}function d(e,t={}){return c(e,t)}},3451:function(e,t,r){"use strict";r.d(t,{J:function(){return f}});var n={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},o=r(6289),i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},c=(0,o.A)(function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()}),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,function(e,t,r){return h={name:t,styles:r,next:h},t})}return 1===n[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return h={name:r.name,styles:r.styles,next:h},r.name;if(void 0!==r.styles){var n=r.next;if(void 0!==n)for(;void 0!==n;)h={name:n.name,styles:n.styles,next:h},n=n.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=d(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?n+=i+"{"+t[a]+"}":l(a)&&(n+=c(i)+":"+u(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=d(e,t,a);switch(i){case"animation":case"animationName":n+=c(i)+":"+s+";";break;default:n+=i+"{"+s+"}"}}else for(var h=0;h<a.length;h++)l(a[h])&&(n+=c(i)+":"+u(i,a[h])+";")}return n}(e,t,r);case"function":if(void 0!==e){var o=h,i=r(e);return h=o,d(e,t,i)}}if(null==t)return r;var a=t[r];return void 0!==a?a:r}var h,p=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var f=function(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";h=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=d(r,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=d(r,t,e[a]),n&&(o+=i[a]);p.lastIndex=0;for(var s,l="";null!==(s=p.exec(o));)l+="-"+s[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:h}}},3499:function(e,t,r){"use strict";r.d(t,{O:function(){return s},v:function(){return l}});var n=r(1600),o=r(6540),i=r(4848),a=(0,o.createContext)({getDocument(){return document},getWindow(){return window}});function s({defer:e}={}){const[,t]=(0,o.useReducer)(e=>e+1,0);return(0,n.U)(()=>{e&&t()},[e]),(0,o.useContext)(a)}function l(e){const{children:t,environment:r,disabled:n}=e,s=(0,o.useRef)(null),l=(0,o.useMemo)(()=>r||{getDocument:()=>{var e,t;return null!=(t=null==(e=s.current)?void 0:e.ownerDocument)?t:document},getWindow:()=>{var e,t;return null!=(t=null==(e=s.current)?void 0:e.ownerDocument.defaultView)?t:window}},[r]),c=!n||!r;return(0,i.jsxs)(a.Provider,{value:l,children:[t,c&&(0,i.jsx)("span",{id:"__chakra_env",hidden:!0,ref:s})]})}a.displayName="EnvironmentContext",l.displayName="EnvironmentProvider"},3578:function(e,t,r){"use strict";r.r(t),r.d(t,{onInitialClientRender:function(){return s},onRouteUpdate:function(){return a}});const n=new Set;function o(e,t){let r=null;return function(...n){r&&clearTimeout(r),r=setTimeout.apply(void 0,[e,t].concat(n))}}function i(e="dataLayer"){const t=window;function i(r){n.has(r.name)||(n.add(r.name),function({name:e,value:t,id:r},n){n.push({event:"core-web-vitals",webVitalsMeasurement:{name:e,id:r,value:Math.round("CLS"===e?1e3*t:t)}})}(r,t[e]))}return r.e(577).then(r.bind(r,577)).then(({getLCP:e,getFID:t,getCLS:r})=>{const n=o(i,3e3),a=i,s=o(i,3e3);r(n,!0),t(a,!0),e(s,!0)})}function a(e,t){setTimeout(()=>{const e=t.dataLayerName?window[t.dataLayerName]:window.dataLayer,r=t.routeChangeEventName?t.routeChangeEventName:"gatsby-route-change";e.push({event:r})},50)}function s(e,t){t.enableWebVitalsTracking&&i(t.dataLayerName)}},3658:function(e,t,r){"use strict";r.d(t,{P:function(){return Gi}});var n=r(6540);const o=(0,n.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),i=(0,n.createContext)({});var a=r(6719),s=r(5128);const l=(0,n.createContext)({strict:!1}),c=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),u="data-"+c("framerAppearId");function d(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function h(e){return"string"==typeof e||Array.isArray(e)}function p(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const f=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],m=["initial",...f];function g(e){return p(e.animate)||m.some(t=>h(e[t]))}function v(e){return Boolean(g(e)||e.variants)}function y(e){const{initial:t,animate:r}=function(e,t){if(g(e)){const{initial:t,animate:r}=e;return{initial:!1===t||h(t)?t:void 0,animate:h(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,n.useContext)(i));return(0,n.useMemo)(()=>({initial:t,animate:r}),[b(t),b(r)])}function b(e){return Array.isArray(e)?e.join(" "):e}const x={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"]},w={};for(const Yi in x)w[Yi]={isEnabled:e=>x[Yi].some(t=>!!e[t])};var S=r(8288),k=r(9473);const C=(0,n.createContext)({}),P=Symbol.for("motionComponentSymbol");function E({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:c,Component:h}){e&&function(e){for(const t in e)w[t]={...w[t],...e[t]}}(e);const p=(0,n.forwardRef)(function(p,f){let m;const g={...(0,n.useContext)(o),...p,layoutId:_(p)},{isStatic:v}=g,b=y(p),x=c(p,v);if(!v&&S.B){b.visualElement=function(e,t,r,c){const{visualElement:d}=(0,n.useContext)(i),h=(0,n.useContext)(l),p=(0,n.useContext)(a.t),f=(0,n.useContext)(o).reducedMotion,m=(0,n.useRef)();c=c||h.renderer,!m.current&&c&&(m.current=c(e,{visualState:t,parent:d,props:r,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:f}));const g=m.current;(0,n.useInsertionEffect)(()=>{g&&g.update(r,p)});const v=(0,n.useRef)(Boolean(r[u]&&!window.HandoffComplete));return(0,s.E)(()=>{g&&(g.render(),v.current&&g.animationState&&g.animationState.animateChanges())}),(0,n.useEffect)(()=>{g&&(g.updateFeatures(),!v.current&&g.animationState&&g.animationState.animateChanges(),v.current&&(v.current=!1,window.HandoffComplete=!0))}),g}(h,x,g,t);const r=(0,n.useContext)(C),c=(0,n.useContext)(l).strict;b.visualElement&&(m=b.visualElement.loadFeatures(g,c,e,r))}return n.createElement(i.Provider,{value:b},m&&b.visualElement?n.createElement(m,{visualElement:b.visualElement,...g}):null,r(h,p,function(e,t,r){return(0,n.useCallback)(n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&("function"==typeof r?r(n):d(r)&&(r.current=n))},[t])}(x,b.visualElement,f),x,v,b.visualElement))});return p[P]=h,p}function _({layoutId:e}){const t=(0,n.useContext)(k.L).id;return t&&void 0!==e?t+"-"+e:e}function A(e){function t(t,r={}){return E(e(t,r))}if("undefined"==typeof Proxy)return t;const r=new Map;return new Proxy(t,{get:(e,n)=>(r.has(n)||r.set(n,t(n)),r.get(n))})}const R=["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 T(e){return"string"==typeof e&&!e.includes("-")&&!!(R.indexOf(e)>-1||/[A-Z]/.test(e))}const j={};const $=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],D=new Set($);function M(e,{layout:t,layoutId:r}){return D.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!j[e]||"opacity"===e)}const O=e=>Boolean(e&&e.getVelocity),z={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},B=$.length;const F=e=>t=>"string"==typeof t&&t.startsWith(e),I=F("--"),L=F("var(--"),H=(e,t)=>t&&"number"==typeof e?t.transform(e):e,V=(e,t,r)=>
vendor: 7,307 bytes, line 2
2Math.min(Math.max(r,e),t),N={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},W={...N,transform:e=>V(0,1,e)},U={...N,default:1},q=e=>Math.round(1e5*e)/1e5,G=/(-)?([\d]*\.?[\d])+/g,Q=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Y=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function X(e){return"string"==typeof e}const K=e=>({test:t=>X(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),J=K("deg"),Z=K("%"),ee=K("px"),te=K("vh"),re=K("vw"),ne={...Z,parse:e=>Z.parse(e)/100,transform:e=>Z.transform(100*e)},oe={...N,transform:Math.round},ie={borderWidth:ee,borderTopWidth:ee,borderRightWidth:ee,borderBottomWidth:ee,borderLeftWidth:ee,borderRadius:ee,radius:ee,borderTopLeftRadius:ee,borderTopRightRadius:ee,borderBottomRightRadius:ee,borderBottomLeftRadius:ee,width:ee,maxWidth:ee,height:ee,maxHeight:ee,size:ee,top:ee,right:ee,bottom:ee,left:ee,padding:ee,paddingTop:ee,paddingRight:ee,paddingBottom:ee,paddingLeft:ee,margin:ee,marginTop:ee,marginRight:ee,marginBottom:ee,marginLeft:ee,rotate:J,rotateX:J,rotateY:J,rotateZ:J,scale:U,scaleX:U,scaleY:U,scaleZ:U,skew:J,skewX:J,skewY:J,distance:ee,translateX:ee,translateY:ee,translateZ:ee,x:ee,y:ee,z:ee,perspective:ee,transformPerspective:ee,opacity:W,originX:ne,originY:ne,originZ:ee,zIndex:oe,fillOpacity:W,strokeOpacity:W,numOctaves:oe};function ae(e,t,r,n){const{style:o,vars:i,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const d in t){const e=t[d];if(I(d)){i[d]=e;continue}const r=ie[d],n=H(e,r);if(D.has(d)){if(l=!0,a[d]=n,!u)continue;e!==(r.default||0)&&(u=!1)}else d.startsWith("origin")?(c=!0,s[d]=n):o[d]=n}if(t.transform||(l||n?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},n,o){let i="";for(let a=0;a<B;a++){const t=$[a];void 0!==e[t]&&(i+=`${z[t]||t}(${e[t]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),o?i=o(e,n?"":i):r&&n&&(i="none"),i}(e.transform,r,u,n):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:r=0}=s;o.transformOrigin=`${e} ${t} ${r}`}}const se=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function le(e,t,r){for(const n in t)O(t[n])||M(n,r)||(e[n]=t[n])}function ce(e,t,r){const o={};return le(o,e.style||{},e),Object.assign(o,function({transformTemplate:e},t,r){return(0,n.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return ae(n,t,{enableHardwareAcceleration:!r},e),Object.assign({},n.vars,n.style)},[t])}(e,t,r)),e.transformValues?e.transformValues(o):o}function ue(e,t,r){const n={},o=ce(e,t,r);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const de=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function he(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||de.has(e)}let pe=e=>!he(e);try{(fe=require("@emotion/is-prop-valid").default)&&(pe=e=>e.startsWith("on")?!he(e):fe(e))}catch(Qi){}var fe;function me(e,t,r){return"string"==typeof e?e:ee.transform(t+r*e)}const ge={offset:"stroke-dashoffset",array:"stroke-dasharray"},ve={offset:"strokeDashoffset",array:"strokeDasharray"};function ye(e,{attrX:t,attrY:r,attrScale:n,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,h){if(ae(e,c,u,h),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:p,style:f,dimensions:m}=e;p.transform&&(m&&(f.transform=p.transform),delete p.transform),m&&(void 0!==o||void 0!==i||f.transform)&&(f.transformOrigin=function(e,t,r){return`${me(t,e.x,e.width)} ${me(r,e.y,e.height)}`}(m,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(p.x=t),void 0!==r&&(p.y=r),void 0!==n&&(p.scale=n),void 0!==a&&function(e,t,r=1,n=0,o=!0){e.pathLength=1;const i=o?ge:ve;e[i.offset]=ee.transform(-n);const a=ee.transform(t),s=ee.transform(r);e[i.array]=`${a} ${s}`}(p,a,s,l,!1)}const be=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),xe=e=>"string"==typeof e&&"svg"===e.toLowerCase();function we(e,t,r,o){const i=(0,n.useMemo)(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return ye(r,t,{enableHardwareAcceleration:!1},xe(o),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const t={};le(t,e.style,e),i.style={...t,...i.style}}return i}function Se(e=!1){return(t,r,o,{latestValues:i},a)=>{const s=(T(t)?we:ue)(r,i,a,t),l=function(e,t,r){const n={};for(const o in e)"values"===o&&"object"==typeof e.values||(pe(o)||!0===r&&he(o)||!t&&!he(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}(r,"string"==typeof t,e),c={...l,...s,ref:o},{children:u}=r,d=(0,n.useMemo)(()=>O(u)?u.get():u,[u]);return(0,n.createElement)(t,{...c,children:d})}}function ke(e,{style:t,vars:r},n,o){Object.assign(e.style,t,o&&o.getProjectionStyles(n));for(const i in r)e.style.setProperty(i,r[i])}const Ce=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 Pe(e,t,r,n){ke(e,t,void 0,n);for(const o in t.attrs)e.setAttribute(Ce.has(o)?o:c(o),t.attrs[o])}function Ee(e,t){const{style:r}=e,n={};for(const o in r)(O(r[o])||t.style&&O(t.style[o])||M(o,e))&&(n[o]=r[o]);return n}function _e(e,t){const r=Ee(e,t);for(const n in e)if(O(e[n])||O(t[n])){r[-1!==$.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return r}function Ae(e,t,r,n={},o={}){return"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==r?r:e.custom,n,o)),t}var Re=r(8601);const Te=e=>Array.isArray(e),je=e=>Te(e)?e[e.length-1]||0:e;function $e(e){const t=O(e)?e.get():e;return r=t,Boolean(r&&"object"==typeof r&&r.mix&&r.toValue)?t.toValue():t;var r}const De=e=>(t,r)=>{const o=(0,n.useContext)(i),s=(0,n.useContext)(a.t),l=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},n,o,i){const a={latestValues:Me(n,o,i,e),renderState:t()};return r&&(a.mount=e=>r(n,e,a)),a}(e,t,o,s);return r?l():(0,Re.M)(l)};function Me(e,t,r,n){const o={},i=n(e,{});for(const h in i)o[h]=$e(i[h]);let{initial:a,animate:s}=e;const l=g(e),c=v(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!r&&!1===r.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!p(d)){(Array.isArray(d)?d:[d]).forEac
2h(t=>{const r=Ae(e,t);if(!r)return;const{transitionEnd:n,transition:i,...a}=r;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in n)o[e]=n[e]})}return o}var Oe=r(7745);const ze={useVisualState:De({scrapeMotionValuesFromProps:_e,createRenderState:be,onMount:(e,t,{renderState:r,latestValues:n})=>{Oe.Gt.read(()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}}),Oe.Gt.render(()=>{ye(r,n,{enableHardwareAcceleration:!1},xe(t.tagName),e.transformTemplate),Pe(t,r)})}})},Be={useVisualState:De({scrapeMotionValuesFromProps:Ee,createRenderState:se})};function Fe(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}const Ie=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Le(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function He(e,t,r,n){return Fe(e,t,(e=>t=>Ie(t)&&e(t,Le(t)))(r),n)}const Ve=(e,t)=>r=>t(e(r)),Ne=(...e)=>e.reduce(Ve);function We(e){let t=null;return()=>{const r=()=>{t=null};return null===t&&(t=e,r)}}const Ue=We("dragHorizontal"),qe=We("dragVertical");function Ge(e){let t=!1;if("y"===e)t=qe();else if("x"===e)t=Ue();else{const e=Ue(),r=qe();e&&r?t=()=>{e(),r()}
2:(e&&e(),r&&r())}return t}function Qe(){const e=Ge(!0);return!e||(e(),!1)}class Ye{constructor(e){this.isMounted=!1,this.node=e}update(){}}function Xe(e,t){const r="pointer"+(t?"enter":"leave"),n="onHover"+(t?"Start":"End");return He(e.current,r,(r,o)=>{if("touch"===r.pointerType||Qe())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[n]&&Oe.Gt.update(()=>i[n](r,o))},{passive:!e.getProps()[n]})}const Ke=(e,t)=>!!t&&(e===t||Ke(e,t.parentElement));var Je=r(3659);function Ze(e,t){if(!t)return;const r=new PointerEvent("pointer"+e);t(r,Le(r))}const et=new WeakMap,tt=new WeakMap,rt=e=>{const t=et.get(e.target);t&&t(e)},nt=e=>{e.forEach(rt)};function ot(e,t,r){const n=function({root:e,...t}){const r=e||document;tt.has(r)||tt.set(r,{});const n=tt.get(r),o=JSON.stringify(t);return n[o]||(n[o]=new IntersectionObserver(nt,{root:e,...t})),n[o]}(t);return et.set(e,r),n.observe(e),()=>{et.delete(e),n.unobserve(e)}}const it={some:0,all:1};const at={inView:{Feature:class extends Ye{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:it[n]};return ot(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),i=t?r:n;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Ye{constructor(){super(...arguments),this.removeStartListeners=Je.l,this.removeEndListeners=Je.l,this.removeAccessibleListeners=Je.l,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),n=He(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:r,onTapCancel:n,globalTapTarget:o}=this.node.getProps();Oe.Gt.update(()=>{o||Ke(this.node.current,e.target)?r&&r(e,t):n&&n(e,t)})},{passive:!(r.onTap||r.onPointerUp)}),o=He(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Ne(n,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Fe(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Fe(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Ze("up",(e,t)=>{const{onTap:r}=this.node.getProps();r&&Oe.Gt.update(()=>r(e,t))})}),Ze("down",(e,t)=>{this.startPress(e,t)})}),t=Fe(this.node.current,"blur",()=>{this.isPressing&&Ze("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=Ne(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&Oe.Gt.update(()=>r(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Qe()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&Oe.Gt.update(()=>r(e,t))}mount(){const e=this.node.getProps(),t=He(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=Fe(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ne(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Ye{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){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=Ne(Fe(this.node.current,"focus",()=>this.onFocus()),Fe(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Ye{mount(){this.unmount=Ne(Xe(this.node,!0),Xe(this.node,!1))}unmount(){}}}};function st(e,t){if(!Array.isArray(t))return!1;const r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function lt(e,t,r){const n=e.getProps();return Ae(n,t,void 0!==r?r:n.custom,function(e){const t={};
2return e.values.forEach((e,r)=>t[r]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,r)=>t[r]=e.getVelocity()),t}(e))}var ct=r(5238);const ut=e=>1e3*e,dt=e=>e/1e3,ht=!1,pt=e=>Array.isArray(e)&&"number"==typeof e[0];function ft(e){return Boolean(!e||"string"==typeof e&>[e]||pt(e)||Array.isArray(e)&&e.every(ft))}const mt=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,gt={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:mt([0,.65,.55,1]),circOut:mt([.55,0,1,.45]),backIn:mt([.31,.01,.66,-.59]),backOut:mt([.33,1.53,.69,.99])};function vt(e){if(e)return pt(e)?mt(e):Array.isArray(e)?e.map(vt):gt[e]}const yt=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function bt(e,t,r,n){if(e===t&&r===n)return Je.l;const o=t=>function(e,t,r,n,o){let i,a,s=0;do{a=t+(r-t)/2,i=yt(a,n,o)-e,i>0?r=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(t,0,1,e,r);return e=>0===e||1===e?e:yt(o(e),t,n)}const xt=bt(.42,0,1,1),wt=bt(0,0,.58,1),St=bt(.42,0,.58,1),kt=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ct=e=>t=>1-e(1-t),Pt=e=>1-Math.sin(Math.acos(e)),Et=Ct(Pt),_t=kt(Pt),At=bt(.33,1.53,.69,.99),Rt=Ct(At),Tt=kt(Rt),jt={linear:Je.l,easeIn:xt,easeInOut:St,easeOut:wt,circIn:Pt,circInOut:_t,circOut:Et,backIn:Rt,backInOut:Tt,backOut:At,anticipate:e=>(e*=2)<1?.5*Rt(e):.5*(2-Math.pow(2,-10*(e-1)))},$t=e=>{if(Array.isArray(e)){(0,ct.V)(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,r,n,o]=e;return bt(t,r,n,o)}return"string"==typeof e?((0,ct.V)(void 0!==jt[e],`Invalid easing type '${e}'`),jt[e]):e},Dt=(e,t)=>r=>Boolean(X(r)&&Y.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Mt=(e,t,r)=>n=>{if(!X(n))return n;const[o,i,a,s]=n.match(G);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Ot={...N,transform:e=>Math.round((e=>V(0,255,e))(e))},zt={test:Dt("rgb","red"),parse:Mt("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Ot.transform(e)+", "+Ot.transform(t)+", "+Ot.transform(r)+", "+q(W.transform(n))+")"};const Bt={test:Dt("#"),parse:function(e){let t="",r="",n="",o="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),o=e.substring(4,5),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}},transform:zt.transform},Ft={test:Dt("hsl","hue"),parse:Mt("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Z.transform(q(t))+", "+Z.transform(q(r))+", "+q(W.transform(n))+")"},It={test:e=>zt.test(e)||Bt.test(e)||Ft.test(e),parse:e=>zt.test(e)?zt.parse(e):Ft.test(e)?Ft.parse(e):Bt.parse(e),transform:e=>X(e)?e:e.hasOwnProperty("red")?zt.transform(e):Ft.transform(e)},Lt=(e,t,r)=>-r*e+r*t+e;function Ht(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}const Vt=(e,t,r)=>{const n=e*e;return Math.sqrt(Math.max(0,r*(t*t-n)+n))},Nt=[Bt,zt,Ft];function Wt(e){const t=(r=e,Nt.find(e=>e.test(r)));var r;(0,ct.V)(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Ft&&(n=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let o=0,i=0,a=0;if(t/=100){const n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;o=Ht(s,n,e+1/3),i=Ht(s,n,e),a=Ht(s,n,e-1/3)}else o=i=a=r;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:n}}(n)),n}const Ut=(e,t)=>{const r=Wt(e),n=Wt(t),o={...r};return e=>(o.red=Vt(r.red,n.red,e),o.green=Vt(r.green,n.green,e),o.blue=Vt(r.blue,n.blue,e),o.alpha=Lt(r.alpha,n.alpha,e),zt.transform(o))};
2const qt={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Je.l},Gt={regex:Q,countKey:"Colors",token:"${c}",parse:It.parse},Qt={regex:G,countKey:"Numbers",token:"${n}",parse:N.parse};function Yt(e,{regex:t,countKey:r,token:n,parse:o}){const i=e.tokenised.match(t);i&&(e["num"+r]=i.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...i.map(o)))}function Xt(e){const t=e.toString(),r={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return r.value.includes("var(--")&&Yt(r,qt),Yt(r,Gt),Yt(r,Qt),r}function Kt(e){return Xt(e).values}function Jt(e){const{values:t,numColors:r,numVars:n,tokenised:o}=Xt(e),i=t.length;return e=>{let t=o;for(let o=0;o<i;o++)t=o<n?t.replace(qt.token,e[o]):o<n+r?t.replace(Gt.token,It.transform(e[o])):t.replace(Qt.token,q(e[o]));return t}}const Zt=e=>"number"==typeof e?0:e;const er={test:function(e){var t,r;return isNaN(e)&&X(e)&&((null===(t=e.match(G))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(Q))||void 0===r?void 0:r.length)||0)>0},parse:Kt,createTransformer:Jt,getAnimatableNone:function(e){const t=Kt(e);return Jt(e)(t.map(Zt))}},tr=(e,t)=>r=>`${r>0?t:e}`;function rr(e,t){return"number"==typeof e?r=>Lt(e,t,r):It.test(e)?Ut(e,t):e.startsWith("var(")?tr(e,t):ir(e,t)}const nr=(e,t)=>{const r=[...e],n=r.length,o=e.map((e,r)=>rr(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=o[t](e);return r}},or=(e,t)=>{const r={...e,...t},n={};for(const o in r)void 0!==e[o]&&void 0!==t[o]&&(n[o]=rr(e[o],t[o]));return e=>{for(const t in n)r[t]=n[t](e);return r}},ir=(e,t)=>{const r=er.createTransformer(t),n=Xt(e),o=Xt(t);return n.numVars===o.numVars&&n.numColors===o.numColors&&n.numNumbers>=o.numNumbers?Ne(nr(n.values,o.values),r):((0,ct.$)(!0,`Complex values '${e}' and '${t}' 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.`),tr(e,t))},ar=(e,t,r)=>{const n=t-e;return 0===n?1:(r-e)/n},sr=(e,t)=>
2r=>Lt(e,t,r);function lr(e,t,r){const n=[],o=r||("number"==typeof(i=e[0])?sr:"string"==typeof i?It.test(i)?Ut:ir:Array.isArray(i)?nr:"object"==typeof i?or:sr);var i;const a=e.length-1;for(let s=0;s<a;s++){let r=o(e[s],e[s+1]);if(t){const e=Array.isArray(t)?t[s]||Je.l:t;r=Ne(e,r)}n.push(r)}return n}function cr(e,t,{clamp:r=!0,ease:n,mixer:o}={}){const i=e.length;if((0,ct.V)(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=lr(t,n,o),s=a.length,l=t=>{let r=0;if(s>1)for(;r<e.length-2&&!(t<e[r+1]);r++);const n=ar(e[r],e[r+1],t);return a[r](n)};return r?t=>l(V(e[0],e[i-1],t)):l}function ur(e){const t=[0];return function(e,t){const r=e[e.length-1];for(let n=1;n<=t;n++){const o=ar(0,t,n);e.push(Lt(r,1,o))}}(t,e.length-1),t}function dr({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(n)?n.map($t):$t(n),i={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(r&&r.length===t.length?r:ur(t),e),s=cr(a,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||St).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}function hr(e,t){return t?e*(1e3/t):0}function pr(e,t,r){const n=Math.max(t-5,0);return hr(r-e(n),t-n)}const fr=.001;function mr({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i;(0,ct.$)(e<=ut(10),"Spring duration must be 10 seconds or less");let a=1-t;a=V(.05,1,a),e=V(.01,10,dt(e)),a<1?(o=t=>{const n=t*a,o=n*e,i=n-r,s=vr(t,a),l=Math.exp(-o);return fr-i/s*l},i=t=>{const n=t*a*e,i=n*r+r,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-n),c=vr(Math.pow(t,2),a);return(-o(t)+fr>0?-1:1)*((i-s)*l)/c}):(o=t=>Math.exp(-t*e)*((t-r)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(r-t)));const s=function(e,t,r){let n=r;for(let o=1;o<gr;o++)n-=e(n)/t(n);return n}(o,i,5/e);if(e=ut(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*n;return{stiffness:t,damping:2*a*Math.sqrt(n*t),duration:e}}}const gr=12;function vr(e,t){return e*Math.sqrt(1-t*t)}const yr=["duration","bounce"],br=["stiffness","damping","mass"];function xr(e,t){return t.some(t=>void 0!==e[t])}function wr({keyframes:e,restDelta:t,restSpeed:r,...n}){const o=e[0],i=e[e.length-1],a={done:!1,value:o},{stiffness:s,damping:l,mass:c,duration:u,velocity:d,isResolvedFromDuration:h}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!xr(e,br)&&xr(e,yr)){const r=mr(e);t={...t,...r,mass:1},t.isResolvedFromDuration=!0}return t}({...n,velocity:-dt(n.velocity||0)}),p=d||0,f=l/(2*Math.sqrt(s*c)),m=i-o,g=dt(Math.sqrt(s/c)),v=Math.abs(m)<5;let y;if(r||(r=v?.01:2),t||(t=v?.005:.5),f<1){const e=vr(g,f);y=t=>{const r=Math.exp(-f*g*t);return i-r*((p+f*g*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===f)y=e=>i-Math.exp(-g*e)*(m+(p+g*m)*e);else{const e=g*Math.sqrt(f*f-1);y=t=>{const r=Math.exp(-f*g*t),n=Math.min(e*t,300);return i-r*((p+f*g*m)*Math.sinh(n)+e*m*Math.cosh(n))/e}}return{calculatedDuration:h&&u||null,next:e=>{const n=y(e);if(h)a.done=e>=u;else{let o=p;0!==e&&(o=f<1?pr(y,e,n):0);const s=Math.abs(o)<=r,l=Math.abs(i-n)<=t;a.done=s&&l}return a.value=a.done?i:n,a}}}function Sr({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],h={done:!1,value:d},p=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let f=r*t;const m=d+f,g=void 0===a?m:a(m);g!==m&&(f=g-d);const v=e=>-f*Math.exp(-e/n),y=e=>g+v(e),b=e=>{const t=v(e),r=y(e);h.done=Math.abs(t)<=c,h.value=h.done?g:r};let x,w;const S=e=>{var t;(t=h.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,w=wr({keyframes:[h.value,p(h.value)],velocity:pr(y,e,h.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==x||(t=!0,b(e),S(e)),void 0!==x&&e>x?w.next(e-x):(!t&&b(e),h)}}}const kr=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Oe.Gt.update(t,!0),stop:()=>(0,Oe.WG)(t),now:()=>Oe.uv.isProcessing?Oe.uv.timestamp:performance.now()}};function Cr(e){let t=0;let r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}
2const Pr={decay:Sr,inertia:Sr,tween:dr,keyframes:dr,spring:wr};function Er({autoplay:e=!0,delay:t=0,driver:r=kr,keyframes:n,type:o="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...h}){let p,f,m=1,g=!1;const v=()=>{f=new Promise(e=>{p=e})};let y;v();const b=Pr[o]||dr;let x;b!==dr&&"number"!=typeof n[0]&&(x=cr([0,100],n,{clamp:!1}),n=[0,100]);const w=b({...h,keyframes:n});let S;"mirror"===s&&(S=b({...h,keyframes:[...n].reverse(),velocity:-(h.velocity||0)}));let k="idle",C=null,P=null,E=null;null===w.calculatedDuration&&i&&(w.calculatedDuration=Cr(w));const{calculatedDuration:_}=w;let A=1/0,R=1/0;null!==_&&(A=_+a,R=A*(i+1)-a);let T=0;const j=e=>{if(null===P)return;m>0&&(P=Math.min(P,e)),m<0&&(P=Math.min(e-R/m,P)),T=null!==C?C:Math.round(e-P)*m;const r=T-t*(m>=0?1:-1),o=m>=0?r<0:r>R;T=Math.max(r,0),"finished"===k&&null===C&&(T=R);let l=T,c=w;if(i){const e=Math.min(T,R)/A;let t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,t=Math.min(t,i+1);Boolean(t%2)&&("reverse"===s?(r=1-r,a&&(r-=a/A)):"mirror"===s&&(c=S)),l=V(0,1,r)*A}const u=o?{done:!1,value:n[0]}:c.next(l);x&&(u.value=x(u.value));let{done:h}=u;o||null===_||(h=m>=0?T>=R:T<=0);const p=null===C&&("finished"===k||"running"===k&&h);return d&&d(u.value),p&&M(),u},$=()=>{y&&y.stop(),y=void 0},D=()=>{k="idle",$(),p(),v(),P=E=null},M=()=>{k="finished",u&&u(),$(),p()},O=()=>{if(g)return;y||(y=r(j));const e=y.now();l&&l(),null!==C?P=e-C:P&&"finished"!==k||(P=e),"finished"===k&&v(),E=P,C=null,k="running",y.start()};e&&O();const z={then(e,t){return f.then(e,t)},get time(){return dt(T)},set time(e){e=ut(e),T=e,null===C&&y&&0!==m?P=y.now()-e/m:C=e},get duration(){const e=null===w.calculatedDuration?Cr(w):w.calculatedDuration;return dt(e)},get speed(){return m},set speed(e){e!==m&&y&&(m=e,z.time=dt(T))},get state(){return k},play:O,pause:()=>{k="paused",C=T},stop:()=>{g=!0,"idle"!==k&&(k="idle",c&&c(),D())},cancel:()=>{null!==E&&j(E),D()},complete:()=>{k="finished"},sample:e=>(P=0,j(e))};return z}const _r=function(e){let t;return()=>(void 0===t&&(t=e()),t)}(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),Ar=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Rr(e,t,{onUpdate:r,onComplete:n,...o}){if(!(_r()&&Ar.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let i,a,s=!1,l=!1;const c=()=>{a=new Promise(e=>{i=e})};c();let{keyframes:u,duration:d=300,ease:h,times:p}=o;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!ft(t.ease))(t,o)){const e=Er({...o,repeat:0,delay:0});let t={done:!1,value:u[0]};const r=[];let n=0;for(;!t.done&&n<2e4;)t=e.sample(n),r.push(t.value),n+=10;p=void 0,u=r,d=n-10,h="linear"}const f=function(e,t,r,{delay:n=0,duration:o,repeat:i=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:r};l&&(c.offset=l);const u=vt(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:n,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,u,{...o,duration:d,ease:h,times:p}),m=()=>{l=!1,f.cancel()},g=()=>{l=!0,Oe.Gt.update(m),i(),c()};f.onfinish=()=>{l||(e.set(function(e,{repeat:t,repeatType:r="loop"}){return e[t&&"loop"!==r&&t%2==1?0:e.length-1]}(u,o)),n&&n(),g())};return{then(e,t){return a.then(e,t)},attachTimeline(e){return f.timeline=e,f.onfinish=null,Je.l},get time(){return dt(f.currentTime||0)},set time(e){f.currentTime=ut(e)},get speed(){return f.playbackRate},set speed(e){f.playbackRate=e},get duration(){return dt(d)},play:()=>{s||(f.play(),(0,Oe.WG)(m))},pause:()=>f.pause(),stop:()=>{if(s=!0,"idle"===f.playState)return;const{currentTime:t}=f;if(t){const r=Er({...o,autoplay:!1});e.setWithVelocity(r.sample(t-10).value,r.sample(t).value,10)}g()},complete:()=>{l||f.finish()},cancel:g}}const Tr={type:"spring",stiffness:500,damping:25,restSpeed:10},jr={type:"keyframes",duration:.8},$r={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Dr=(e,{keyframes:t})=>t.length>2?jr:D.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Tr:$r,Mr=(e,t)=>
2"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!er.test(t)&&"0"!==t||t.startsWith("url("))),Or=new Set(["brightness","contrast","saturate","opacity"]);function zr(e){const[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[n]=r.match(G)||[];if(!n)return e;const o=r.replace(n,"");let i=Or.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}const Br=/([a-z-]*)\(.*?\)/g,Fr={...er,getAnimatableNone:e=>{const t=e.match(Br);return t?t.map(zr).join(" "):e}},Ir={...ie,color:It,backgroundColor:It,outlineColor:It,fill:It,stroke:It,borderColor:It,borderTopColor:It,borderRightColor:It,borderBottomColor:It,borderLeftColor:It,filter:Fr,WebkitFilter:Fr},Lr=e=>Ir[e];function Hr(e,t){let r=Lr(e);return r!==Fr&&(r=er),r.getAnimatableNone?r.getAnimatableNone(t):void 0}const Vr=e=>/^0[^.\s]+$/.test(e);function Nr(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Vr(e):void 0}function Wr(e,t){return e[t]||e.default||e}const Ur=!1,qr=(e,t,r,n={})=>o=>{const i=Wr(n,e)||{},a=i.delay||n.delay||0;let{elapsed:s=0}=n;s-=ut(a);const l=function(e,t,r,n){const o=Mr(t,r);let i;i=Array.isArray(r)?[...r]:[null,r];const a=void 0!==n.from?n.from:e.get();let s;const l=[];for(let c=0;c<i.length;c++)null===i[c]&&(i[c]=0===c?a:i[c-1]),Nr(i[c])&&l.push(c),"string"==typeof i[c]&&"none"!==i[c]&&"0"!==i[c]&&(s=i[c]);if(o&&l.length&&s)for(let c=0;c<l.length;c++)i[l[c]]=Hr(t,s);return i}(t,e,r,i),c=l[0],u=l[l.length-1],d=Mr(e,c),h=Mr(e,u);(0,ct.$)(d===h,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let p={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...i,delay:-s,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{o(),i.onComplete&&i.onComplete()}};if(function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(i)||(p={...p,...Dr(e,p)}),p.duration&&(p.duration=ut(p.duration)),p.repeatDelay&&(p.repeatDelay=ut(p.repeatDelay)),!d||!h||ht||!1===i.type||Ur)return function({keyframes:e,delay:t,onUpdate:r,onComplete:n}){const o=()=>(r&&r(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:Je.l,pause:Je.l,stop:Je.l,then:e=>(e(),Promise.resolve()),cancel:Je.l,complete:Je.l});return t?Er({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(ht?{...p,delay:0}:p);if(!n.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const r=Rr(t,e,p);if(r)return r}return Er(p)};function Gr(e){return Boolean(O(e)&&e.add)}const Qr=e=>/^\-?\d*\.?\d+$/.test(e);function Yr(e,t){-1===e.indexOf(t)&&e.push(t)}function Xr(e,t){const r=e.indexOf(t);r>-1&&e.splice(r,1)}class Kr{constructor(){this.subscriptions=[]}add(e){return Yr(this.subscriptions,e),()=>Xr(this.subscriptions,e)}notify(e,t,r){const n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let o=0;o<n;o++){const n=this.subscriptions[o];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Jr={current:void 0};class Zr{constructor(e,t={}){var r;this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:r,timestamp:n}=Oe.uv;this.lastUpdated!==n&&(this.timeDelta=r,this.lastUpdated=n,Oe.Gt.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>Oe.Gt.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=(r=this.current,!isNaN(parseFloat(r))),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Kr);const r=this.events[e].add(t);return"change"===e?()=>{r(),Oe.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=e,this.timeDelta=r}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Jr.current&&Jr.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?hr(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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 en(e,t){return new Zr(e,t)}const tn=e=>t=>t.test(e),rn=[N,ee,Z,J,re,te,{test:e=>"auto"===e,parse:e=>e}],nn=e=>rn.find(tn(e)),on=[...rn,It,er],an=e=>on.find(tn(e));function sn(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,en(r))}function ln(e,t){const r=lt(e,t);let{transitionEnd:n={},transition:o={},...i}=r?e.makeTargetAnimatable(r,!1):{};i={...i,...n};for(const a in i){sn(e,a,je(i[a]))}}function cn(e,t){if(!t)return;return(t[e]||t.default||t).from}function un({protectedKeys:e,needsAnimating:t},r){const n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}function dn(e,t){const r=e.get();if(!Array.isArray(t))return r!==t;for(let n=0;n<t.length;n++)if(t[n]!==r)return!0}function hn(e,t,{delay:r=0,transitionOverride:n,type:o}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");n&&(i=n);const c=[],d=o&&e.animationState&&e.animationState.getState()[o];for(const h in s){const t=e.getValue(h),n=s[h];if(!t||void 0===n||d&&un(d,h))continue;const o={delay:r,elapsed:0,...Wr(i||{},h)};if(window.HandoffAppearAnimations){const r=e.getProps()[u];if(r){const e=window.HandoffAppearAnimations(r,h,t,Oe.Gt);null!==e&&(o.elapsed=e,o.isHandoff=!0)}}let a=!o.isHandoff&&!dn(t,n);if("spring"===o.type&&(t.getVelocity()||o.velocity)&&(a=!1),t.animation&&(a=!1),a)continue;t.start(qr(h,t,n,e.shouldReduceMotion&&D.has(h)?{type:!1}:o));const p=t.animation;Gr(l)&&(l.add(h),p.then(()=>l.remove(h))),c.push(p)}return a&&Promise.all(c).then(()=>{a&&ln(e,a)}),c}function pn(e,t,r={}){const n=lt(e,t,r.custom);let{transition:o=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(o=r.transitionOverride);const i=n?()=>Promise.all(hn(e,n,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{const{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,r=0,n=0,o=1,i){const a=[],s=(e.variantChildren.size-1)*n,l=1===o?(e=0)=>e*n:(e=0)=>s-e*n;
2return Array.from(e.variantChildren).sort(fn).forEach((e,n)=>{e.notify("AnimationStart",t),a.push(pn(e,t,{...i,delay:r+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+n,a,s,r)}:()=>Promise.resolve(),{when:s}=o;if(s){const[e,t]="beforeChildren"===s?[i,a]:[a,i];return e().then(()=>t())}return Promise.all([i(),a(r.delay)])}function fn(e,t){return e.sortNodePosition(t)}const mn=[...f].reverse(),gn=f.length;function vn(e){return t=>Promise.all(t.map(({animation:t,options:r})=>function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>pn(e,t,r));n=Promise.all(o)}else if("string"==typeof t)n=pn(e,t,r);else{const o="function"==typeof t?lt(e,t,r.custom):t;n=Promise.all(hn(e,o,r))}return n.then(()=>e.notify("AnimationComplete",t))}(e,t,r)))}function yn(e){let t=vn(e);const r={animate:xn(!0),whileInView:xn(),whileHover:xn(),whileTap:xn(),whileDrag:xn(),whileFocus:xn(),exit:xn()};let n=!0;const o=(t,r)=>{const n=lt(e,r);if(n){const{transition:e,transitionEnd:r,...o}=n;t={...t,...o,...r}}return t};function i(i,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},f=1/0;for(let t=0;t<gn;t++){const m=mn[t],g=r[m],v=void 0!==s[m]?s[m]:l[m],y=h(v),b=m===a?g.isActive:null;!1===b&&(f=t);let x=v===l[m]&&v!==s[m]&&y;if(x&&n&&e.manuallyAnimateOnMount&&(x=!1),g.protectedKeys={...d},!g.isActive&&null===b||!v&&!g.prevProp||p(v)||"boolean"==typeof v)continue;let w=bn(g.prevProp,v)||m===a&&g.isActive&&!x&&y||t>f&&y,S=!1;const k=Array.isArray(v)?v:[v];let C=k.reduce(o,{});!1===b&&(C={});const{prevResolvedValues:P={}}=g,E={...P,...C},_=e=>{w=!0,u.has(e)&&(S=!0,u.delete(e)),g.needsAnimating[e]=!0};for(const e in E){const t=C[e],r=P[e];if(d.hasOwnProperty(e))continue;let n=!1;n=Te(t)&&Te(r)?!st(t,r):t!==r,n?void 0!==t?_(e):u.add(e):void 0!==t&&u.has(e)?_(e):g.protectedKeys[e]=!0}g.prevProp=v,g.prevResolvedValues=C,g.isActive&&(d={...d,...C}),n&&e.blockInitialAnimation&&(w=!1),!w||x&&!S||c.push(...k.map(e=>({animation:e,options:{type:m,...i}})))}if(u.size){const t={};u.forEach(r=>{const n=e.getBaseTarget(r);void 0!==n&&(t[r]=n)}),c.push({animation:t})}let m=Boolean(c.length);return!n||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(m=!1),n=!1,m?t(c):Promise.resolve()}return{animateChanges:i,setActive:function(t,n,o){var a;if(r[t].isActive===n)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)}),r[t].isActive=n;const s=i(o,t);for(const e in r)r[e].protectedKeys={};return s},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}function bn(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!st(t,e)}function xn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let wn=0;const Sn={animation:{Feature:class extends Ye{constructor(e){super(e),e.animationState||(e.animationState=yn(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),p(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends Ye{constructor(){super(...arguments),this.id=wn++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const o=this.node.animationState.setActive("exit",!e,{custom:null!=r?r:this.node.getProps().custom});t&&!e&&o.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},kn=(e,t)=>Math.abs(e-t);class Cn{constructor(e,t,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:o=!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 e=_n(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,r=function(e,t){const r=kn(e.x,t.x),n=kn(e.y,t.y);return Math.sqrt(r**2+n**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!r)return;const{point:n}=e,{timestamp:o}=Oe.uv;this.history.push({...n,timestamp:o});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>
2{this.lastMoveEvent=e,this.lastMoveEventInfo=Pn(t,this.transformPagePoint),Oe.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:r,onSessionEnd:n,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=_n("pointercancel"===e.type?this.lastMoveEventInfo:Pn(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,i),n&&n(e,i)},!Ie(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=r,this.contextWindow=n||window;const i=Pn(Le(e),this.transformPagePoint),{point:a}=i,{timestamp:s}=Oe.uv;this.history=[{...a,timestamp:s}];const{onSessionStart:l}=t;l&&l(e,_n(i,this.history)),this.removeListeners=Ne(He(this.contextWindow,"pointermove",this.handlePointerMove),He(this.contextWindow,"pointerup",this.handlePointerUp),He(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,Oe.WG)(this.updatePoint)}}function Pn(e,t){return t?{point:t(e.point)}:e}function En(e,t){return{x:e.x-t.x,y:e.y-t.y}}function _n({point:e},t){return{point:e,delta:En(e,Rn(t)),offset:En(e,An(t)),velocity:Tn(t,.1)}}function An(e){return e[0]}function Rn(e){return e[e.length-1]}function Tn(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null;const o=Rn(e);for(;r>=0&&(n=e[r],!(o.timestamp-n.timestamp>ut(t)));)r--;if(!n)return{x:0,y:0};const i=dt(o.timestamp-n.timestamp);if(0===i)return{x:0,y:0};const a={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function jn(e){return e.max-e.min}function $n(e,t=0,r=.01){return Math.abs(e-t)<=r}function Dn(e,t,r,n=.5){e.origin=n,e.originPoint=Lt(t.min,t.max,e.origin),e.scale=jn(r)/jn(t),($n(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Lt(r.min,r.max,e.origin)-e.originPoint,($n(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Mn(e,t,r,n){Dn(e.x,t.x,r.x,n?n.originX:void 0),Dn(e.y,t.y,r.y,n?n.originY:void 0)}function On(e,t,r){e.min=r.min+t.min,e.max=e.min+jn(t)}function zn(e,t,r){e.min=t.min-r.min,e.max=e.min+jn(t)}function Bn(e,t,r){zn(e.x,t.x,r.x),zn(e.y,t.y,r.y)}function Fn(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function In(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}const Ln=.35;function Hn(e,t,r){return{min:Vn(e,t),max:Vn(e,r)}}function Vn(e,t){return"number"==typeof e?e:e[t]||0}const Nn=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Wn(e){return[e("x"),e("y")]}function Un({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function qn(e){return void 0===e||1===e}function Gn({scale:e,scaleX:t,scaleY:r}){return!qn(e)||!qn(t)||!qn(r)}function Qn(e){return Gn(e)||Yn(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Yn(e){return Xn(e.x)||Xn(e.y)}function Xn(e){return e&&"0%"!==e}function Kn(e,t,r){return r+t*(e-r)}function Jn(e,t,r,n,o){return void 0!==o&&(e=Kn(e,o,n)),Kn(e,r,n)+t}function Zn(e,t=0,r=1,n,o){e.min=Jn(e.min,t,r,n,o),e.max=Jn(e.max,t,r,n,o)}function eo(e,{x:t,y:r}){Zn(e.x,t.translate,t.scale,t.originPoint),Zn(e.y,r.translate,r.scale,r.originPoint)}function to(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function ro(e,t){e.min=e.min+t,e.max=e.max+t}function no(e,t,[r,n,o]){const i=void 0!==t[o]?t[o]:.5,a=Lt(e.min,e.max,i);Zn(e,t[r],t[n],a,t.scale)}const oo=["x","scaleX","originX"],io=["y","scaleY","originY"];function ao(e,t){no(e.x,t,oo),no(e.y,t,io)}function so(e,t){return Un(function(e,t){if(!t)return e;const r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}const lo=({current:e})=>e?e.ownerDocument.defaultView:null,co=new WeakMap;class uo{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={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;const{dragSnapToOrigin:n}=this.getProps();this.panSession=new Cn(e,{onSessionStart:e=>{const{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Le(e,"page").point)},onStart:(e,t)=>{const{drag:r,dragPropagation:n,onDragStart:o}=this.getProps();if(r&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Ge(r),!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),Wn(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Z.test(t)){const{projection:r}=this.visualElement;if(r&&r.layout){const n=r.layout.layoutBox[e];if(n){t=jn(n)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&Oe.Gt.update(()=>o(e,t),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>
2{const{dragPropagation:r,dragDirectionLock:n,onDirectionLock:o,onDrag:i}=this.getProps();if(!r&&!this.openGlobalLock)return;const{offset:a}=t;if(n&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let r=null;Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x");return r}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>Wn(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:lo(this.visualElement)})}stop(e,t){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:n}=t;this.startAnimation(n);const{onDragEnd:o}=this.getProps();o&&Oe.Gt.update(()=>o(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){const{drag:n}=this.getProps();if(!r||!ho(e,n,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?Lt(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?Lt(r,e,n.max):Math.min(e,r)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&d(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(e,{top:t,left:r,bottom:n,right:o}){return{x:Fn(e.x,r,o),y:Fn(e.y,t,n)}}(n.layoutBox,t),this.elastic=function(e=Ln){return!1===e?e=0:!0===e&&(e=Ln),{x:Hn(e,"left","right"),y:Hn(e,"top","bottom")}}(r),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Wn(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!d(e))return!1;const r=e.current;(0,ct.V)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const o=function(e,t,r){const n=so(e,r),{scroll:o}=t;return o&&(ro(n.x,o.offset.x),ro(n.y,o.offset.y)),n}(r,n.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:In(e.x,t.x),y:In(e.y,t.y)}}(n.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Un(e))}return i}startAnimation(e){const{drag:t,dragMomentum:r,dragElastic:n,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Wn(a=>{if(!ho(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});const c=n?200:1e6,u=n?40:1e7,d={type:"inertia",velocity:r?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const r=this.getAxisMotionValue(e);return r.start(qr(e,r,0,t))}stopAnimation(){Wn(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Wn(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),r=this.visualElement.getProps(),n=r[t];return n||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){Wn(t=>{const{drag:r}=this.getProps();if(!ho(t,r,this.currentDirection))return;const{projection:n}=this.visualElement,o=this.getAxisMotionValue(t);if(n&&n.layout){const{min:r,max:i}=n.layout.layoutBox[t];o.set(e[t]-Lt(r,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!d(t)||!r||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};Wn(e=>{const t=this.getAxisMotionValue(e);if(t){const r=t.get();n[e]=function(e,t){let r=.5;const n=jn(e),o=jn(t);return o>n?r=ar(t.min,t.max-n,e.min):n>o&&(r=ar(e.min,e.max-o,t.min)),V(0,1,r)}({min:r,max:r},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Wn(t=>
2{if(!ho(t,e,null))return;const r=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];r.set(Lt(o,i,n[t]))})}addListeners(){if(!this.visualElement.current)return;co.set(this.visualElement,this);const e=He(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();d(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),t();const o=Fe(window,"resize",()=>this.scalePositionWithinConstraints()),i=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Wn(t=>{const r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),n(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:o=!1,dragElastic:i=Ln,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function ho(e,t,r){return!(!0!==t&&t!==e||null!==r&&r!==e)}const po=e=>(t,r)=>{e&&Oe.Gt.update(()=>e(t,r))};var fo=r(9120);const mo={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function go(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const vo={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!ee.test(e))return e;e=parseFloat(e)}return`${go(e,t.target.x)}% ${go(e,t.target.y)}%`}},yo={correct:(e,{treeScale:t,projectionDelta:r})=>{const n=e,o=er.parse(e);if(o.length>5)return n;const i=er.createTransformer(e),a="number"!=typeof o[0]?1:0,s=r.x.scale*t.x,l=r.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const c=Lt(s,l,.5);return"number"==typeof o[2+a]&&(o[2+a]/=c),"number"==typeof o[3+a]&&(o[3+a]/=c),i(o)}};class bo extends n.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:o}=e;var i;i=wo,Object.assign(j,i),o&&(t.group&&t.group.add(o),r&&r.register&&n&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),mo.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:r,drag:n,isPresent:o}=this.props,i=r.projection;return i?(i.isPresent=o,n||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||Oe.Gt.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function xo(e){const[t,r]=(0,fo.xQ)(),o=(0,n.useContext)(k.L);return n.createElement(bo,{...e,layoutGroup:o,switchLayoutGroup:(0,n.useContext)(C),isPresent:t,safeToRemove:r})}const wo={borderRadius:{...vo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:vo,borderTopRightRadius:vo,borderBottomLeftRadius:vo,borderBottomRightRadius:vo,boxShadow:yo},So=["TopLeft","TopRight","BottomLeft","BottomRight"],ko=So.length,Co=e=>"string"==typeof e?parseFloat(e):e,Po=e=>"number"==typeof e||ee.test(e);function Eo(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const _o=Ro(0,.5,Et),Ao=Ro(.5,.95,Je.l);function Ro(e,t,r){return n=>n<e?0:n>t?1:r(ar(e,t,n))}function To(e,t){e.min=t.min,e.max=t.max}function jo(e,t){To(e.x,t.x),To(e.y,t.y)}function $o(e,t,r,n,o){return e=Kn(e-=t,1/r,n),void 0!==o&&(e=Kn(e,1/o,n)),e}function Do(e,t,[r,n,o],i,a){!function(e,t=0,r=1,n=.5,o,i=e,a=e){Z.test(t)&&(t=parseFloat(t),t=Lt(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=Lt(i.min,i.max,n);e===i&&(s-=t),e.min=$o(e.min,t,r,s,o),e.max=$o(e.max,t,r,s,o)}(e,t[r],t[n],t[o],t.scale,i,a)}const Mo=["x","scaleX","originX"],Oo=["y","scaleY","originY"];function zo(e,t,r,n){Do(e.x,t,Mo,r?r.x:void 0,n?n.x:void 0),Do(e.
2y,t,Oo,r?r.y:void 0,n?n.y:void 0)}function Bo(e){return 0===e.translate&&1===e.scale}function Fo(e){return Bo(e.x)&&Bo(e.y)}function Io(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function Lo(e){return jn(e.x)/jn(e.y)}class Ho{constructor(){this.members=[]}add(e){Yr(this.members,e),e.scheduleRender()}remove(e){if(Xr(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let r;for(let n=t;n>=0;n--){const e=this.members[n];if(!1!==e.isPresent){r=e;break}}return!!r&&(this.promote(r),!0)}promote(e,t){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:n}=e.options;!1===n&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Vo(e,t,r){let n="";const o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(n=`translate3d(${o}px, ${i}px, 0) `),1===t.x&&1===t.y||(n+=`scale(${1/t.x}, ${1/t.y}) `),r){const{rotate:e,rotateX:t,rotateY:o}=r;e&&(n+=`rotate(${e}deg) `),t&&(n+=`rotateX(${t}deg) `),o&&(n+=`rotateY(${o}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(n+=`scale(${a}, ${s})`),n||"none"}const No=(e,t)=>e.depth-t.depth;class Wo{constructor(){this.children=[],this.isDirty=!1}add(e){Yr(this.children,e),this.isDirty=!0}remove(e){Xr(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(No),this.isDirty=!1,this.children.forEach(e)}}const Uo=["","X","Y","Z"],qo={visibility:"hidden"};let Go=0;const Qo={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Yo({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:o}){return class{constructor(e={},r=(null==t?void 0:t())){this.id=Go++,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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var e;this.projectionUpdateScheduled=!1,Qo.totalNodes=Qo.resolvedTargetDeltas=Qo.recalculatedProjection=0,this.nodes.forEach(Jo),this.nodes.forEach(ii),this.nodes.forEach(ai),this.nodes.forEach(Zo),e=Qo,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new Wo)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Kr),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,r=this.root.hasTreeAnimated){if(this.instance)return;var n;this.isSVG=(n=t)instanceof SVGElement&&"svg"!==n.tagName,this.instance=t;const{layoutId:o,layout:i,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(i||o)&&(this.isLayoutDirty=!0),e){let r;const n=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){const r=performance.now(),n=({timestamp:o})=>{const i=o-r;i>=t&&((0,Oe.WG)(n),e(i-t))};return Oe.Gt.read(n,!0),()=>(0,Oe.WG)(n)}(n,250),mo.hasAnimatedSinceResize&&(mo.hasAnimatedSinceResize=!1,this.nodes.forEac
2h(oi))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&a&&(o||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||a.getDefaultTransition()||hi,{onLayoutAnimationStart:i,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!Io(this.targetLayout,n)||r,c=!t&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...Wr(o,"layout"),onPlay:i,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||oi(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,Oe.WG)(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(si),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let o=0;o<this.path.length;o++){const e=this.path[o];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}const{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;const n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(ti);this.isUpdating||this.nodes.forEach(ri),this.isUpdating=!1,this.nodes.forEach(ni),this.nodes.forEach(Xo),this.nodes.forEach(Ko),this.clearAllSnapshots();const e=performance.now();Oe.uv.delta=V(0,1e3/60,e-Oe.uv.timestamp),Oe.uv.timestamp=e,Oe.uv.isProcessing=!0,Oe.Ci.update.process(Oe.uv),Oe.Ci.preRender.process(Oe.uv),Oe.Ci.render.process(Oe.uv),Oe.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(ei),this.sharedNodes.forEach(li)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Oe.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Oe.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let r=0;r<this.path.length;r++){this.path[r].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:n(this.instance),offset:r(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Fo(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,i=n!==this.prevTransformTemplateValue;e&&(t||Qn(this.latestValues)||i)&&(o(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let r=this.removeElementScroll(t);var n;return e&&(r=this.removeTransform(r)),mi((n=r).x),mi(n.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:r}=this.root;return r&&(ro(t.x,r.offset.x),ro(t.y,r.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};jo(t,e);for(let r=0;r<this.path.length;r++){const n=this.path[r],{scroll:o,options:i}=n;if(n!==this.root&&o&&i.layoutScroll){if(o.isRoot){jo(t,e);const{scroll:r}=this.root;r&&(ro(t.x,-r.offset.x),ro(t.y,-r.offset.y))}ro(t.x,o.offset.x),ro(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const r={x:{min:0,max:0},y:{min:0,max:0}};jo(r,e);for(let n=0;n<this.path.length;n++){const e=this.path[n];!t&&e.options.layoutScroll&&e.scroll&&e!==e.root&&ao(r,{x:-e.scroll.offset.x,y:-e.scroll.offset.y}),Qn(e.latestValues)&&ao(r,e.latestValues)}return Qn(this.latestValues)&&ao(r,this.latestValues),r}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};jo(t,e);for(let r=0;r<this.path.length;r++){const e=this.path[r];if(!e.instance)continue;if(!Qn(e.latestValues))continue;Gn(e.latestValues)&&e.updateSnapshot();const n=Nn();jo(n,e.measurePageBox()),zo(t,e.latestValues,e.snapshot?e.snapshot.layoutBox:void 0,n)}return Qn(this.latestValues)&&zo(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}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!==Oe.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const r=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=r.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=r.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=r.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==r;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=Oe.uv.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Bn(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),jo(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,On(a.x,s.x,l.x),On(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):jo(this.target,this.layout.layoutBox),eo(this.target,this.targetDelta)):jo(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Bn(this.relativeTargetOrigin,this.target,e.target),jo(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Qo.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Gn(this.parent.latestValues)&&!Yn(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),r=Boolean(this.resumingFrom)||this!==t;let n=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(n=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Oe.uv.timestamp&&(n=!1),n)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;jo(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,r,n=!1){const o=r.length;if(!o)return;let i,a;t.x=t.y=1;for(let s=0;s<o;s++){i=r[s],a=i.projectionDelta;const o=i.instance;o&&o.style&&"contents"===o.style.display||(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&ao(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,eo(e,a)),n&&Qn(i.latestValues)&&ao(e,i.latestValues))}t.x=to(t.x),t.y=to(t.y)}(this.layoutCorrected,this.treeScale,this.path,r),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox);const{target:l}=t;if(!l)return void(this.projectionTransform&&(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const c=this.projectionTransform;Mn(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Vo(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Qo.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const r=this.snapshot,n=r?r.latestValues:{},o={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(di));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const r=t/1e3;var l,h;ci(i.x,e.x,r),ci(i.y,e.y,r),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Bn(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,r,n){ui(e.x,t.x,r.x,n),ui(e.y,t.y,r.y,n)}(this.relativeTarget,this.relativeTargetOrigin,a,r),d&&(l=this.relativeTarget,h=d,l.x.min===h.x.min&&l.x.max===h.x.max&&l.y.min===
2h.y.min&&l.y.max===h.y.max)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),jo(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,r,n,o,i){o?(e.opacity=Lt(0,void 0!==r.opacity?r.opacity:1,_o(n)),e.opacityExit=Lt(void 0!==t.opacity?t.opacity:1,0,Ao(n))):i&&(e.opacity=Lt(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let a=0;a<ko;a++){const o=`border${So[a]}Radius`;let i=Eo(t,o),s=Eo(r,o);void 0===i&&void 0===s||(i||(i=0),s||(s=0),0===i||0===s||Po(i)===Po(s)?(e[o]=Math.max(Lt(Co(i),Co(s),n),0),(Z.test(s)||Z.test(i))&&(e[o]+="%")):e[o]=s)}(t.rotate||r.rotate)&&(e.rotate=Lt(t.rotate||0,r.rotate||0,n))}(o,n,this.latestValues,r,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,Oe.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Oe.Gt.update(()=>{mo.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r){const n=O(e)?e:en(e);return n.start(qr("",n,t,r)),n.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.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 e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:r,layout:n,latestValues:o}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&gi(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=jn(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;const n=jn(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}jo(t,r),ao(t,o),Mn(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Ho);this.sharedNodes.get(e).add(t);const r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){const n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:r}=e;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ)&&(t=!0),!t)return;const n={};for(let o=0;o<Uo.length;o++){const t="rotate"+Uo[o];r[t]&&(n[t]=r[t],e.setStaticValue(t,0))}e.render();for(const o in n)e.setStaticValue(o,n[o]);e.scheduleRender()}getProjectionStyles(e){var t,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return qo;const n={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=$e(null==e?void 0:e.pointerEvents)||"",n.transform=o?o(this.latestValues,""):"none",n;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=$e(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!Qn(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),n.transform=Vo(this.projectionDeltaWithTransform,this.treeScale,a),o&&(n.transform=o(a,n.transform));const{x:s,y:l}=this.projectionDelta;n.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,i.animationValues?n.opacity=i===this?null!==(r=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:n.opacity=i===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const c in j){if(void 0===a[c])continue;const{correct:e,applyTo:t}=j[c],r="none"===n.transform?a[c]:e(a[c],i);if(t){const e=t.length;for(let o=0;o<e;o++)n[t[o]]=r}else n[c]=r}return this.options.layoutId&&(n.pointerEvents=i===this?$e(null==e?void 0:e.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
2resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(ti),this.root.sharedNodes.clear()}}}function Xo(e){e.updateLayout()}function Ko(e){var t;const r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:n}=e.layout,{animationType:o}=e.options,i=r.source!==e.layout.source;"size"===o?Wn(e=>{const n=i?r.measuredBox[e]:r.layoutBox[e],o=jn(n);n.min=t[e].min,n.max=n.min+o}):gi(o,r.layoutBox,t)&&Wn(n=>{const o=i?r.measuredBox[n]:r.layoutBox[n],a=jn(t[n]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Mn(a,t,r.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?Mn(s,e.applyTransform(n,!0),r.measuredBox):Mn(s,t,r.layoutBox);const l=!Fo(a);let c=!1;if(!e.resumeFrom){const n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){const{snapshot:o,layout:i}=n;if(o&&i){const a={x:{min:0,max:0},y:{min:0,max:0}};Bn(a,r.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Bn(s,t,i.layoutBox),Io(a,s)||(c=!0),n.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Jo(e){Qo.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Zo(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ei(e){e.clearSnapshot()}function ti(e){e.clearMeasurements()}function ri(e){e.isLayoutDirty=!1}function ni(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function oi(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ii(e){e.resolveTargetDelta()}function ai(e){e.calcProjection()}function si(e){e.resetRotation()}function li(e){e.removeLeadSnapshot()}function ci(e,t,r){e.translate=Lt(t.translate,0,r),e.scale=Lt(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function ui(e,t,r,n){e.min=Lt(t.min,r.min,n),e.max=Lt(t.max,r.max,n)}function di(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const hi={duration:.45,ease:[.4,0,.1,1]},pi=e=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(e),fi=pi("applewebkit/")&&!pi("chrome/")?Math.round:Je.l;function mi(e){e.min=fi(e.min),e.max=fi(e.max)}function gi(e,t,r){return"position"===e||"preserve-aspect"===e&&!$n(Lo(t),Lo(r),.2)}const vi=Yo({attachResizeListener:(e,t)=>Fe(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),yi={current:void 0},bi=Yo({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!yi.current){const e=new vi({});e.mount(window),e.setOptions({layoutScroll:!0}),yi.current=e}return yi.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),xi={pan:{Feature:class extends Ye{constructor(){super(...arguments),this.removePointerDownListener=Je.l}onPointerDown(e){this.session=new Cn(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:lo(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:po(e),onStart:po(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&Oe.Gt.update(()=>n(e,t))}}}mount(){this.removePointerDownListener=He(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Ye{constructor(e){super(e),this.removeGroupControls=Je.l,this.removeListeners=Je.l,this.controls=new uo(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Je.l}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:bi,MeasureLayout:xo}},wi=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Si(e,t,r=1){(0,ct.V)(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[n,o]=function(e){const t=wi.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]}(e);if(!n)return;const i=window.getComputedStyle(t).getPropertyValue(n);if(i){const e=i.trim();return Qr(e)?parseFloat(e):e}return L(o)?Si(o,t,r+1):o}const ki=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ci=e=>ki.has(e),Pi=e=>e===N||e===ee,Ei=(e,t)=>parseFloat(e.split(", ")[t]),_i=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;const o=n.match(/^matrix3d\((.+)\)$/);if(o)return Ei(o[1],t);{const t=n.match(/^matrix\((.+)\)$/);return t?Ei(t[1],e):0}},Ai=new Set(["x","y","z"]),Ri=$.filter(e=>!Ai.has(e));const Ti={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:_i(4,13),y:_i(5,14)};Ti.translateX=Ti.x,Ti.translateY=Ti.y;const ji=(e,t,r={},n={})=>{t={...t},n={...n};const o=Object.keys(t).filter(Ci);let i=[],a=!1;const s=[];
2if(o.forEach(o=>{const l=e.getValue(o);if(!e.hasValue(o))return;let c=r[o],u=nn(c);const d=t[o];let h;if(Te(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=nn(c);for(let r=t;r<e&&null!==d[r];r++)h?(0,ct.V)(nn(d[r])===h,"All keyframes must be of the same type"):(h=nn(d[r]),(0,ct.V)(h===u||Pi(u)&&Pi(h),"Keyframes must be of the same dimension as the current value"))}else h=nn(d);if(u!==h)if(Pi(u)&&Pi(h)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&h===ee&&(t[o]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==h?void 0:h.transform)&&(0===c||0===d)?0===c?l.set(h.transform(c)):t[o]=u.transform(d):(a||(i=function(e){const t=[];return Ri.forEach(r=>{const n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(o),n[o]=void 0!==n[o]?n[o]:t[o],l.jump(d))}),s.length){const r=s.indexOf("height")>=0?window.pageYOffset:null,o=((e,t,r)=>{const n=t.measureViewportBox(),o=t.current,i=getComputedStyle(o),{display:a}=i,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),r.forEach(e=>{s[e]=Ti[e](n,i)}),t.render();const l=t.measureViewportBox();return r.forEach(r=>{const n=t.getValue(r);n&&n.jump(s[r]),e[r]=Ti[r](l,i)}),e})(t,e,s);return i.length&&i.forEach(([t,r])=>{e.getValue(t).set(r)}),e.render(),S.B&&null!==r&&window.scrollTo({top:r}),{target:o,transitionEnd:n}}return{target:t,transitionEnd:n}};function $i(e,t,r,n){return(e=>Object.keys(e).some(Ci))(t)?ji(e,t,r,n):{target:t,transitionEnd:n}}const Di=(e,t,r,n)=>{const o=function(e,{...t},r){const n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:r};r&&(r={...r}),e.values.forEach(e=>{const t=e.get();if(!L(t))return;const r=Si(t,n);r&&e.set(r)});for(const o in t){const e=t[o];if(!L(e))continue;const i=Si(e,n);i&&(t[o]=i,r||(r={}),void 0===r[o]&&(r[o]=e))}return{target:t,transitionEnd:r}}(e,t,n);return $i(e,t=o.target,r,n=o.transitionEnd)},Mi={current:null},Oi={current:!1};const zi=new WeakMap,Bi=Object.keys(w),Fi=Bi.length,Ii=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Li=m.length;class Hi{constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,visualState:o},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Oe.Gt.render(this.render,!1,!0);const{latestValues:a,renderState:s}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=i,this.isControllingVariants=g(t),this.isVariantNode=v(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:l,...c}=this.scrapeMotionValuesFromProps(t,{});for(const u in c){const e=c[u];void 0!==a[u]&&O(e)&&(e.set(a[u],!1),Gr(l)&&l.add(u))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,zi.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((e,t)=>this.bindToMotionValue(t,e)),Oi.current||function(){if(Oi.current=!0,S.B)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Mi.current=e.matches;e.addListener(t),t()}else Mi.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Mi.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){zi.delete(this.current),this.projection&&this.projection.unmount(),(0,Oe.WG)(this.notifyUpdate),(0,Oe.WG)(this.render),this.valueSubscriptions.forEach(e
2=>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)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){const r=D.has(e),n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Oe.Gt.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},r,n,o){let i,a;for(let s=0;s<Fi;s++){const e=Bi[s],{isEnabled:r,Feature:n,ProjectionNode:o,MeasureLayout:l}=w[e];o&&(i=o),r(t)&&(!this.features[e]&&n&&(this.features[e]=new n(this)),l&&(a=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:r,drag:n,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:Boolean(n)||a&&d(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:o,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let r=0;r<Ii.length;r++){const t=Ii[r];this.propEventSubscriptions[t]&&(this.propEventSubscriptions[t](),delete this.propEventSubscriptions[t]);const n=e["on"+t];n&&(this.propEventSubscriptions[t]=this.on(t,n))}this.prevMotionValues=function(e,t,r){const{willChange:n}=t;for(const o in t){const i=t[o],a=r[o];if(O(i))e.addValue(o,i),Gr(n)&&n.add(o);else if(O(a))e.addValue(o,en(i,{owner:e})),Gr(n)&&n.remove(o);else if(a!==i)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(o);e.addValue(o,en(void 0!==t?t:i,{owner:e}))}}for(const o in r)void 0===t[o]&&e.removeValue(o);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),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 e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let r=0;r<Li;r++){const e=m[r],n=this.props[e];(h(n)||!1===n)&&(t[e]=n)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=en(t,{owner:this}),this.addValue(e,r)),r}readValue(e){var t;return void 0===this.latestValues[e]&&this.current?null!==(t=this.getBaseTargetFromProps(this.props,e))&&void 0!==t?t:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:r}=this.props,n="string"==typeof r||"object"==typeof r?null===(t=Ae(this.props,r))||void 0===t?void 0:t[e]:void 0;if(r&&void 0!==n)return n;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||O(o)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new Kr),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Vi extends Hi{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...r},{transformValues:n},o){let i=function(e,t,r){const n={};for(const o in e){const e=cn(o,t);
2if(void 0!==e)n[o]=e;else{const e=r.getValue(o);e&&(n[o]=e.get())}}return n}(r,e||{},this);if(n&&(t&&(t=n(t)),r&&(r=n(r)),i&&(i=n(i))),o){!function(e,t,r){var n,o;const i=Object.keys(t).filter(t=>!e.hasValue(t)),a=i.length;if(a)for(let s=0;s<a;s++){const a=i[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(o=null!==(n=r[a])&&void 0!==n?n:e.readValue(a))&&void 0!==o?o:t[a]),null!=c&&("string"==typeof c&&(Qr(c)||Vr(c))?c=parseFloat(c):!an(c)&&er.test(l)&&(c=Hr(a,l)),e.addValue(a,en(c,{owner:e})),void 0===r[a]&&(r[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,r,i);const e=Di(this,r,i,t);t=e.transitionEnd,r=e.target}return{transition:e,transitionEnd:t,...r}}}class Ni extends Vi{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(D.has(t)){const e=Lr(t);return e&&e.default||0}{const n=(r=e,window.getComputedStyle(r)),o=(I(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof o?o.trim():o}var r}measureInstanceViewportBox(e,{transformPagePoint:t}){return so(e,t)}build(e,t,r,n){ae(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Ee(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;O(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,r,n){ke(e,t,r,n)}}class Wi extends Vi{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(D.has(t)){const e=Lr(t);return e&&e.default||0}return t=Ce.has(t)?t:c(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return _e(e,t)}
2build(e,t,r,n){ye(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){Pe(e,t,0,n)}mount(e){this.isSVGTag=xe(e.tagName),super.mount(e)}}const Ui=(e,t)=>T(e)?new Wi(t,{enableHardwareAcceleration:!1}):new Ni(t,{enableHardwareAcceleration:!0}),qi={...Sn,...at,...xi,...{layout:{ProjectionNode:bi,MeasureLayout:xo}}},Gi=A((e,t)=>function(e,{forwardMotionProps:t=!1},r,n){return{...T(e)?ze:Be,preloadedFeatures:r,useRender:Se(t),createVisualElement:n,Component:e}}(e,t,qi,Ui))},3659:function(e,t,r){"use strict";r.d(t,{l:function(){return n}});const n=e=>e},3662:function(e,t,r){"use strict";function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}r.d(t,{A:function(){return n}})},3720:function(e,t,r){"use strict";r.d(t,{B:function(){return R}});var n=r(4515),o=new Set([...n.q8,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),i=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function a(e){return i.has(e)||!o.has(e)}var s=r(763),l=r(4159),c=r(7311);var u,d=r(8168),h=r(6540),p=r(6289),f=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,m=(0,p.A)(function(e){return f.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),g=r(6120),v=r(41),y=r(3451),b=r(1287),x=m,w=function(e){return"theme"!==e},S=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?x:w},k=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},C=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,v.SF)(t,r,n),(0,b.s)(function(){return(0,v.sk)(t,r,n)}),null},P=(r(4634),function e(t,r){var n,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==r&&(n=r.label,o=r.target);var s=k(t,r,i),l=s||S(a),c=!l("as");return function(){var u=arguments,p=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&p.push("label:"+n+";
2"),null==u[0]||void 0===u[0].raw)p.push.apply(p,u);else{0,p.push(u[0][0]);for(var f=u.length,m=1;m<f;m++)p.push(u[m],u[0][m])}var b=(0,g.w)(function(e,t,r){var n=c&&e.as||a,i="",u=[],d=e;if(null==e.theme){for(var f in d={},e)d[f]=e[f];d.theme=h.useContext(g.T)}"string"==typeof e.className?i=(0,v.Rk)(t.registered,u,e.className):null!=e.className&&(i=e.className+" ");var m=(0,y.J)(p.concat(u),t.registered,d);i+=t.key+"-"+m.name,void 0!==o&&(i+=" "+o);var b=c&&void 0===s?S(n):l,x={};for(var w in e)c&&"as"===w||b(w)&&(x[w]=e[w]);return x.className=i,x.ref=r,h.createElement(h.Fragment,null,h.createElement(C,{cache:t,serialized:m,isStringTag:"string"==typeof n}),h.createElement(n,x))});return b.displayName=void 0!==n?n:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",b.defaultProps=t.defaultProps,b.__emotion_real=b,b.__emotion_base=a,b.__emotion_styles=p,b.__emotion_forwardProp=s,Object.defineProperty(b,"toString",{value:function(){return"."+o}}),b.withComponent=function(t,n){return e(t,(0,d.A)({},r,n,{shouldForwardProp:k(b,n,!0)})).apply(void 0,p)},b}}.bind());["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){P[e]=P(e)});var E=null!=(u=P.default)?u:P,_=({baseStyle:e})=>t=>{const{theme:r,css:o,__css:i,sx:a,...s}=t,u=(0,l.I$)(s,(e,t)=>(0,n.HU)(t)),d=function(e,...t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");const r={...e};for(const n of t)if(null!=n)for(const e in n)Object.prototype.hasOwnProperty.call(n,e)&&(e in r&&delete r[e],r[e]=n[e]);return r}({},i,(0,c.Jg)(e,t),(0,l.TB)(u),a),h=(0,n.AH)(d)(t.theme);return o?[h,o]:h};function A(e,t){const{baseStyle:r,...n}=null!=t?t:{};n.shouldForwardProp||(n.shouldForwardProp=a);const o=_({baseStyle:r}),i=E(e,n)(o);return h.forwardRef(function(e,t){const{colorMode:r,forced:n}=(0,s.G6)();return h.createElement(i,{ref:t,"data-theme":n?r:void 0,...e})})}var R=function(){const e=new Map;return new Proxy(A,{apply(e,t,r){return A(...r)},get(t,r){return e.has(r)||e.set(r,A(r)),e.get(r)}})}()},3721:function(e,t,r){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,i.useLocation)(),r=(0,o.useContext)(n.ScrollContext),a=(0,o.useRef)(null);return(0,o.useLayoutEffect)(function(){if(a.current){var n=r.read(t,e);a.current.scrollTo(0,n||0)}},[t.key]),{ref:a,onScroll:function(){a.current&&r.save(t,e,a.current.scrollTop)}}};var n=r(3215),o=r(6540),i=r(6462)},4016:function(e,t,r){"use strict";r.d(t,{S:function(){return i},f:function(){return a}});var n=r(6540);const o=(0,n.createContext)(void 0),i=({children:e})=>{const{0:t,1:r}
2=(0,n.useState)(!1);return n.createElement(o.Provider,{value:{isAnimationFinished:t,setAnimationFinished:r}},e)},a=()=>{const e=(0,n.useContext)(o);if(!e)throw new Error("useAnimationContext must be used within a AnimationProvider");return e}},4146:function(e,t,r){"use strict";var n=r(4363),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(f){var o=p(r);o&&o!==f&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),g=0;g<a.length;++g){var v=a[g];if(!(i[v]||n&&n[v]||m&&m[v]||s&&s[v])){var y=h(r,v);try{c(t,v,y)}catch(b){}}}}return t}},4159:function(e,t,r){"use strict";r.d(t,{I$:function(){return i},TB:function(){return a},cJ:function(){return n},rY:function(){return o}});r(8394);function n(e,t){const r={};return Object.keys(e).forEach(n=>{t.includes(n)||(r[n]=e[n])}),r}var o=(e=>{const t=new WeakMap;return(r,n,o,i)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);const a=t.get(r);if(a.has(n))return a.get(n);const s=e(r,n,o,i);return a.set(n,s),s}})(function(e,t,r,n){const o="string"==typeof t?t.split("."):[t];for(n=0;n<o.length&&e;n+=1)e=e[o[n]];return void 0===e?r:e});function i(e,t){const r={};return Object.keys(e).forEach(n=>{const o=e[n];t(o,n,e)&&(r[n]=o)}),r}var a=e=>i(e,e=>null!=e)},4300:function(e,t,r){"use strict";r.d(t,{A:function(){return oe}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(n){0}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 5,070 bytes, line 2
2,t.flush=function(){this.tags.forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function l(e,t,r){return e.replace(t,r)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,r){return e.slice(t,r)}function h(e){return e.length}function p(e){return e.length}function f(e,t){return t.push(e),e}var m=1,g=1,v=0,y=0,b=0,x="";function w(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:m,column:g,length:a,return:""}}function S(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function k(){return b=y>0?u(x,--y):0,g--,10===b&&(g=1,m--),b}function C(){return b=y<v?u(x,y++):0,g++,10===b&&(g=1,m++),b}function P(){return u(x,y)}function E(){return y}function _(e,t){return d(x,e,t)}function A(e){switch(e){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 R(e){return m=g=1,v=h(x=e),y=0,[]}function T(e){return x="",e}function j(e){return s(_(y-1,M(91===e?e+2:40===e?e+1:e)))}function $(e){for(;(b=P())&&b<33;)C();return A(e)>2||A(b)>3?"":" "}function D(e,t){for(;--t&&C()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return _(e,E()+(t<6&&32==P()&&32==C()))}function M(e){for(;C();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&M(b);break;case 40:41===e&&M(e);break;case 92:C()}return y}function O(e,t){for(;C()&&e+b!==57&&(e+b!==84||47!==P()););return"/*"+_(t,y-1)+"*"+i(47===e?e:C())}function z(e){for(;!A(P());)C();return _(e,y)}var B="-ms-",F="-moz-",I="-webkit-",L="comm",H="rule",V="decl",N="@keyframes";function W(e,t){for(var r="",n=p(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function U(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case V:return e.return=e.return||e.value;case L:return"";case N:return e.return=e.value+"{"+W(e.children,n)+"}";case H:e.value=e.props.join(",")}return h(r=W(e.children,n))?e.return=e.value+"{"+r+"}":""}function q(e){return T(G("",null,null,null,[""],e=R(e),0,[0],e))}function G(e,t,r,n,o,a,s,d,p){for(var m=0,g=0,v=s,y=0,b=0,x=0,w=1,S=1,_=1,A=0,R="",T=o,M=a,B=n,F=R;S;)switch(x=A,A=C()){case 40:if(108!=x&&58==u(F,v-1)){-1!=c(F+=l(j(A),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:F+=j(A);break;case 9:case 10:case 13:case 32:F+=$(x);break;case 92:F+=D(E()-1,7);continue;case 47:switch(P()){case 42:case 47:f(Y(O(C(),E()),t,r),p);break;default:F+="/"}break;case 123*w:d[m++]=h(F)*_;case 125*w:case 59:case 0:switch(A){case 0:case 125:S=0;case 59+g:-1==_&&(F=l(F,/\f/g,"")),b>0&&h(F)-v&&f(b>32?X(F+";",n,r,v-1):X(l(F," ","")+";",n,r,v-2),p);break;case 59:F+=";";default:if(f(B=Q(F,t,r,m,g,o,d,R,T=[],M=[],v),a),123===A)if(0===g)G(F,t,B,B,T,a,v,d,M);else switch(99===y&&110===u(F,3)?100:y){case 100:case 108:case 109:case 115:G(e,B,B,n&&f(Q(e,B,B,0,0,o,d,R,o,T=[],v),M),o,M,v,d,n?T:M);break;default:G(F,B,B,B,[""],M,0,d,M)}}m=g=b=0,w=_=1,R=F="",v=s;break;case 58:v=1+h(F),b=x;default:if(w<1)if(123==A)--w;else if(125==A&&0==w++&&125==k())continue;switch(F+=i(A),A*w){case 38:_=g>0?1:(F+="\f",-1);break;case 44:d[m++]=(h(F)-1)*_,_=1;break;case 64:45===P()&&(F+=j(C())),y=P(),g=v=h(R=F+=z(E())),A++;break;case 45:45===x&&2==h(F)&&(w=0)}}return a}function Q(e,t,r,n,i,a,c,u,h,f,m){for(var g=i-1,v=0===i?a:[""],y=p(v),b=0,x=0,S=0;b<n;++b)for(var k=0,C=d(e,g+1,g=o(x=c[b])),P=e;k<y;++k)(P=s(x>0?v[k]+" "+C:l(C,/&\f/g,v[k])))&&(h[S++]=P);return w(e,t,r,0===i?H:u,h,f,m)}function Y(e,t,r){return w(e,t,r,L,i(b),d(e,2,-2),0)}function X(e,t,r,n){return w(e,t,r,V,d(e,0,n),d(e,n+1,-1),n)}var K=function(e,t,r){for(var n=0,o=0;n=o,o=P(),38===n&&12===o&&(t[r]=1),!A(o);)C();return _(e,y)},J=function(e,t){return T(function(e,t){var r=-1,n=44;do{switch(A(n)){case 0:38===n&&12===P()&&(t[r]=1),e[r]+=K(y-1,t,r);break;case 2:e[r]+=j(n);break;case 4:if(44===n){e[++r]=58===P()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}}while(n=C());return e}(R(e),t))},Z=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Z.get(r))&&!n){Z.set(e,!0);for(var o=[],i=J(t,o),a=r.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function re(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return I+"print-"+e+e;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 I+e+e;
2case 5349:case 4246:case 4810:case 6968:case 2756:return I+e+F+e+B+e+e;case 6828:case 4268:return I+e+B+e+e;case 6165:return I+e+B+"flex-"+e+e;case 5187:return I+e+l(e,/(\w+).+(:[^]+)/,I+"box-$1$2"+B+"flex-$1$2")+e;case 5443:return I+e+B+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return I+e+B+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return I+e+B+l(e,"shrink","negative")+e;case 5292:return I+e+B+l(e,"basis","preferred-size")+e;case 6060:return I+"box-"+l(e,"-grow","")+I+e+B+l(e,"grow","positive")+e;case 4554:return I+l(e,/([^-])(transform)/g,"$1"+I+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,I+"$1"),/(image-set)/,I+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,I+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,I+"box-pack:$3"+B+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+I+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,I+"$1$2")+e;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(h(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+I+"$2-$3$1"+F+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?re(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,h(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+I)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+I+(45===u(e,14)?"inline-":"")+"box$3$1"+I+"$2$3$1"+B+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return I+e+B+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return I+e+B+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return I+e+B+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return I+e+B+e+e}return e}var ne=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case V:e.return=re(e.value,e.length);break;case N:return W([S(e,{value:l(e.value,"@","@"+I)})],n);case H:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return W([S(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return W([S(e,{props:[l(t,/:(plac\w+)/,":"+I+"input-$1")]}),S(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),S(e,{props:[l(t,/:(plac\w+)/,B+"input-$1")]})],n)}return""})}}],oe=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var o=e.stylisPlugins||ne;var i,a,s={},l=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;l.push(e)});var c,u,d,h,f=[U,(h=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&h(e)})],m=(u=[ee,te].concat(o,f),d=p(u),function(e,t,r,n){for(var o="",i=0;i<d;i++)o+=u[i](e,t,r,n)||"";return o});a=function(e,t,r,n){c=r,W(q(e?e+"{"+t.styles+"}":t.styles),m),n&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new n({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:a};return g.sheet.hydrate(l),g}},4336:function(e,t,r){"use strict";r.d(t,{QueryClientProvider:function(){return d}});var n=r(428),o=r(961).unstable_batchedUpdates;n.j.setBatchNotifyFunction(o);var i=r(9690),a=console;(0,i.B)(a);var s=r(6540),l=s.createContext(void 0),c=s.createContext(!1);function u(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=l),window.ReactQueryClientContext):l}var d=function(e){var t=e.client,r=e.contextSharing,n=void 0!==r&&r,o=e.children;s.useEffect(function(){return t.mount(),function(){t.unmount()}},[t]);var i=u(n);return s.createElement(c.Provider,{value:n},s.createElement(i.Provider,{value:t},o))}},4351:function(e,t){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var r="___GATSBY_REACT_ROUTER_SCROLL",n=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var n=this.getStateKey(e,t);try{var o=window.sessionStorage.getItem(n);return o?JSON.parse(o):0}catch(i){return window&&window[r]&&window[r][n]?window[r][n]:0}},t.save=function(e,t,n){var o=this.getStateKey(e,t),i=JSON.stringify(n);try{window.sessionStorage.setItem(o,i)}catch(a){window&&window[r]||(window[r]={}),window[r][o]=JSON.parse(i)}},t.getStateKey=function(e,t){var r="@@scroll|"+e.pathname;return null==t?r:r+"|"+t},e}();t.SessionStorage=n},4363:function(e,t,r){"use strict";e.exports=r(2799)},4393:function(e,t,r){"use strict";r.d(t,{I:function(){return c}});var n=r(8855),o=r(3352),i=r(3720),a=r(9857),s=r(4848),l={path:(0,s.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,s.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,s.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,s.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},c=(0,n.R)((e,t)=>{const{as:r,viewBox:n,color:c="currentColor",focusable:u=!1,children:d,className:h,__css:p,...f}=e,m={ref:t,focusable:u,className:(0,a.cx)("chakra-icon",h),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:c,...p,...(0,o.Vl)("Icon",e)}},g=null!=n?n:l.viewBox;if(r&&"string"!=typeof r)return(0,s.jsx)(i.B.svg,{as:r,...m,...f});const v=null!=d?d:l.path;return(0,s.jsx)(i.B.svg,{verticalAlign:"middle",viewBox:g,...m,...f,children:v})});c.displayName="Icon"},4468:function(e,t,r){"use strict";r.d(t,{QueryClient:function(){return n.E}});var n=r(6080),o=r(6449);r.o(o,"QueryClientProvider")&&r.d(t,{QueryClientProvider:function(){return o.QueryClientProvider}})},4506:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function o(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.d(t,{A:function(){return o}})},4515:function(e,t,r){"use strict";r.d(t,{AH:function(){return Le},Dt:function(){return Ve},GF:function(){return De},H2:function(){return He},HU:function(){return ze},MN:function(){return Ge},Vg:function(){return re},YU:function(){return Ne},gd:function(){return Te},lL:function(){return ne},q8:function(){return Me},uB:function(){return qe}});var n=r(9857),o=r(8394),i=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e;function a(e){const{scale:t,transform:r,compose:o}=e;return(e,a)=>{var s;const l=((e,t)=>r=>{const o=String(t),a=(e=>/!(important)?$/.test(e))(o),s=i(o),l=e?`${e}.${s}`:s;let c=(0,n.Gv)(r.__cssMap)&&l in r.__cssMap?r.__cssMap[l].varRef:t;return c=i(c),a?`${c} !important`:c})(t,e)(a);let c=null!=(s=null==r?void 0:r(l,a))?s:l;return o&&(c=o(c,a)),c}}var s=(...e)=>t=>e.reduce((e,t)=>
2t(e),t);function l(e,t){return r=>{const n={property:r,scale:e};return n.transform=a({scale:e,transform:t}),n}}var c=({rtl:e,ltr:t})=>r=>"rtl"===r.direction?e:t;var u=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];var d={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},h={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};var p={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},f={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},m=new Set(Object.values(f)),g=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),v=e=>e.trim();var y=e=>"string"==typeof e&&e.includes("(")&&e.includes(")");var b=e=>t=>`${e}(${t})`,x={filter(e){return"auto"!==e?e:d},backdropFilter(e){return"auto"!==e?e:h},ring(e){return function(e){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(x.px(e))},bgClip(e){return"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}},transform(e){return"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...u].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...u].join(" "):e},vh(e){return"$100vh"===e?"var(--chakra-vh)":e},px(e){if(null==e)return e;const{unitless:t}=(e=>{const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}})(e);return t||"number"==typeof e?`${e}px`:e},fraction(e){return"number"!=typeof e||e>1?e:100*e+"%"},float(e,t){return"rtl"===t.direction?{left:"right",right:"left"}[e]:e},degree(e){if(function(e){return/^var\(--.+\)$/.test(e)}(e)||null==e)return e;const t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>function(e,t){if(null==e||g.has(e))return e;if(!y(e)&&!g.has(e))return`url('${e}')`;const r=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),n=null==r?void 0:r[1],o=null==r?void 0:r[2];if(!n||!o)return e;const i=n.includes("-gradient")?n:`${n}
2-gradient`,[a,...s]=o.split(",").map(v).filter(Boolean);if(0===(null==s?void 0:s.length))return e;const l=a in f?f[a]:a;return s.unshift(l),`${i}(${s.map(e=>{if(m.has(e))return e;const r=e.indexOf(" "),[n,o]=-1!==r?[e.substr(0,r),e.substr(r+1)]:[e],i=y(o)?o:o&&o.split(" "),a=`colors.${n}`,s=a in t.__cssMap?t.__cssMap[a].varRef:n;return i?[s,...Array.isArray(i)?i:[i]].join(" "):s}).join(", ")})`}(e,null!=t?t:{}),blur:b("blur"),opacity:b("opacity"),brightness:b("brightness"),contrast:b("contrast"),dropShadow:b("drop-shadow"),grayscale:b("grayscale"),hueRotate:e=>b("hue-rotate")(x.degree(e)),invert:b("invert"),saturate:b("saturate"),sepia:b("sepia"),bgImage(e){if(null==e)return e;return y(e)||g.has(e)?e:`url(${e})`},outline(e){const t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;const{space:r,divide:n}=null!=(t=p[e])?t:{},o={flexDirection:e};return r&&(o[r]=1),n&&(o[n]=1),o}},w={borderWidths:l("borderWidths"),borderStyles:l("borderStyles"),colors:l("colors"),borders:l("borders"),gradients:l("gradients",x.gradient),radii:l("radii",x.px),space:l("space",s(x.vh,x.px)),spaceT:l("space",s(x.vh,x.px)),degreeT(e){return{property:e,transform:x.degree}},prop(e,t,r){return{property:e,scale:t,...t&&{transform:a({scale:t,transform:r})}}},propT(e,t){return{property:e,transform:t}},sizes:l("sizes",s(x.vh,x.px)),sizesT:l("sizes",s(x.vh,x.fraction)),shadows:l("shadows"),logical:function(e){const{property:t,scale:r,transform:n}=e;return{scale:r,property:c(t),transform:r?a({scale:r,compose:n}):n}},blur:l("blur",x.blur)},S={background:w.colors("background"),backgroundColor:w.colors("backgroundColor"),backgroundImage:w.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:x.bgClip},bgSize:w.prop("backgroundSize"),bgPosition:w.prop("backgroundPosition"),bg:w.colors("background"),bgColor:w.colors("backgroundColor"),bgPos:w.prop("backgroundPosition"),bgRepeat:w.prop("backgroundRepeat"),bgAttachment:w.prop("backgroundAttachment"),bgGradient:w.gradients("backgroundImage"),bgClip:{transform:x.bgClip}};Object.assign(S,{bgImage:S.backgroundImage,bgImg:S.backgroundImage});var k={border:w.borders("border"),borderWidth:w.borderWidths("borderWidth"),borderStyle:w.borderStyles("borderStyle"),borderColor:w.colors("borderColor"),borderRadius:w.radii("borderRadius"),borderTop:w.borders("borderTop"),borderBlockStart:w.borders("borderBlockStart"),borderTopLeftRadius:w.radii("borderTopLeftRadius"),borderStartStartRadius:w.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:w.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:w.radii("borderTopRightRadius"),borderStartEndRadius:w.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:w.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:w.borders("borderRight"),borderInlineEnd:w.borders("borderInlineEnd"),borderBottom:w.borders("borderBottom"),borderBlockEnd:w.borders("borderBlockEnd"),borderBottomLeftRadius:w.radii("borderBottomLeftRadius"),borderBottomRightRadius:w.radii("borderBottomRightRadius"),borderLeft:w.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:w.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:w.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:w.borders(["borderLeft","borderRight"]),borderInline:w.borders("borderInline"),borderY:w.borders(["borderTop","borderBottom"]),borderBlock:w.borders("borderBlock"),borderTopWidth:w.borderWidths("borderTopWidth"),borderBlockStartWidth:w.borderWidths("borderBlockStartWidth"),borderTopColor:w.colors("borderTopColor"),borderBlockStartColor:w.colors("borderBlockStartColor"),borderTopStyle:w.borderStyles("borderTopStyle"),borderBlockStartStyle:w.borderStyles("borderBlockStartStyle"),borderBottomWidth:w.borderWidths("borderBottomWidth"),borderBlockEndWidth:w.borderWidths("borderBlockEndWidth"),borderBottomColor:w.colors("borderBottomColor"),borderBlockEndColor:w.colors("borderBlockEndColor"),borderBottomStyle:w.borderStyles("borderBottomStyle"),borderBlockEndStyle:w.borderStyles("borderBlockEndStyle"),borderLeftWidth:w.borderWidths("borderLeftWidth"),borderInlineStartWidth:w.borderWidths("borderInlineStartWidth"),borderLeftColor:w.colors("borderLeftColor"),borderInlineStartColor:w.colors("borderInlineStartColor"),borderLeftStyle:w.borderStyles("borderLeftStyle"),borderInlineStartStyle:w.borderStyles("borderInlineStartStyle"),borderRightWidth:w.borderWidths("borderRightWidth"),borderInlineEndWidth:w.borderWidths("borderInlineEndWidth"),borderRightColor:w.colors("borderRightColor"),borderInlineEndColor:w.colors("borderInlineEndColor"),borderRightStyle:w.borderStyles("borderRightStyle"),borderInlineEndStyle:w.borderStyles("borderInlineEndStyle"),borderTopRadius:w.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:w.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:w.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:w.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(k,{rounded:k.borderRadius,roundedTop:k.borderTopRadius,roundedTopLeft:k.borderTopLeftRadius,roundedTopRight:k.borderTopRightRadius,roundedTopStart:k.borderStartStartRadius,roundedTopEnd:k.borderStartEndRadius,roundedBottom:k.borderBottomRadius,roundedBottomLeft:k.borderBottomLeftRadius,roundedBottomRight:k.borderBottomRightRadius,roundedBottomStart:k.borderEndStartRadius,roundedBottomEnd:k.borderEndEndRadius,roundedLeft:k.borderLeftRadius,roundedRight:k.borderRightRadius,roundedStart:k.borderInlineStartRadius,roundedEnd:k.borderInlineEndRadius,borderStart:k.borderInlineStart,borderEnd:k.borderInlineEnd,borderTopStartRadius:k.borderStartStartRadius,borderTopEndRadius:k.borderStartEndRadius,borderBottomStartRadius:k.borderEndStartRadius,borderBottomEndRadius:k.borderEndEndRadius,borderStartRadius:k.borderInlineStartRadius,borderEndRadius:k.borderInlineEndRadius,borderStartWidth:k.borderInlineStartWidth,borderEndWidth:k.borderInlineEndWidth,borderStartColor:k.borderInlineStartColor,borderEndColor:k.borderInlineEndColor,borderStartStyle:k.borderInlineStartStyle,borderEndStyle:k.borderInlineEndStyle});
2var C={color:w.colors("color"),textColor:w.colors("color"),fill:w.colors("fill"),stroke:w.colors("stroke")},P={boxShadow:w.shadows("boxShadow"),mixBlendMode:!0,blendMode:w.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:w.prop("backgroundBlendMode"),opacity:!0};Object.assign(P,{shadow:P.boxShadow});var E={filter:{transform:x.filter},blur:w.blur("--chakra-blur"),brightness:w.propT("--chakra-brightness",x.brightness),contrast:w.propT("--chakra-contrast",x.contrast),hueRotate:w.propT("--chakra-hue-rotate",x.hueRotate),invert:w.propT("--chakra-invert",x.invert),saturate:w.propT("--chakra-saturate",x.saturate),dropShadow:w.propT("--chakra-drop-shadow",x.dropShadow),backdropFilter:{transform:x.backdropFilter},backdropBlur:w.blur("--chakra-backdrop-blur"),backdropBrightness:w.propT("--chakra-backdrop-brightness",x.brightness),backdropContrast:w.propT("--chakra-backdrop-contrast",x.contrast),backdropHueRotate:w.propT("--chakra-backdrop-hue-rotate",x.hueRotate),backdropInvert:w.propT("--chakra-backdrop-invert",x.invert),backdropSaturate:w.propT("--chakra-backdrop-saturate",x.saturate)},_={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:x.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:w.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:w.space("gap"),rowGap:w.space("rowGap"),columnGap:w.space("columnGap")};Object.assign(_,{flexDir:_.flexDirection});var A={gridGap:w.space("gridGap"),gridColumnGap:w.space("gridColumnGap"),gridRowGap:w.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},R={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:x.outline},outlineOffset:!0,outlineColor:w.colors("outlineColor")},T={width:w.sizesT("width"),inlineSize:w.sizesT("inlineSize"),height:w.sizes("height"),blockSize:w.sizes("blockSize"),boxSize:w.sizes(["width","height"]),minWidth:w.sizes("minWidth"),minInlineSize:w.sizes("minInlineSize"),minHeight:w.sizes("minHeight"),minBlockSize:w.sizes("minBlockSize"),maxWidth:w.sizes("maxWidth"),maxInlineSize:w.sizes("maxInlineSize"),maxHeight:w.sizes("maxHeight"),maxBlockSize:w.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var r,n,o;const i=`@media screen and (min-width: ${null!=(o=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n.minW)?o:e})`;return{[i]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var r,n,o;const i=`@media screen and (max-width: ${null!=(o=null==(n=null==(r=t.__breakpoints)?void 0:r.get(e))?void 0:n._minW)?o:e})`;return{[i]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:w.propT("float",x.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(T,{w:T.width,h:T.height,minW:T.minWidth,maxW:T.maxWidth,minH:T.minHeight,maxH:T.maxHeight,overscroll:T.overscrollBehavior,overscrollX:T.overscrollBehaviorX,overscrollY:T.overscrollBehaviorY});var j={listStyleType:!0,listStylePosition:!0,listStylePos:w.prop("listStylePosition"),listStyleImage:!0,listStyleImg:w.prop("listStyleImage")};var $=(e=>{const t=new WeakMap;return(r,n,o,i)=>{if(void 0===r)return e(r,n,o);t.has(r)||t.set(r,new Map);const a=t.get(r);if(a.has(n))return a.get(n);const s=e(r,n,o,i);return a.set(n,s),s}})(function(e,t,r,n){const o="string"==typeof t?t.split("."):[t];for(n=0;n<o.length&&e;n+=1)e=e[o[n]];return void 0===e?r:e}),D={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},M={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},O=(e,t,r)=>{const n={},o=$(e,t,{});for(const i in o){i in r&&null!=r[i]||(n[i]=o[i])}return n},z={srOnly:{transform(e){return!0===e?D:"focusable"===e?M:{}}},layerStyle:{processResult:!0,transform:(e,t,r)=>O(t,`layerStyles.${e}`,r)},textStyle:{processResult:!0,transform:(e,t,r)=>O(t,`textStyles.${e}`,r)},apply:{processResult:!0,transform:(e,t,r)=>O(t,e,r)}},B={position:!0,pos:w.prop("position"),zIndex:w.prop("zIndex","zIndices"),inset:w.spaceT("inset"),insetX:w.spaceT(["left","right"]),insetInline:w.spaceT("insetInline"),insetY:w.spaceT(["top","bottom"]),insetBlock:w.spaceT("insetBlock"),top:w.spaceT("top"),insetBlockStart:w.spaceT("insetBlockStart"),bottom:w.spaceT("bottom"),insetBlockEnd:w.spaceT("insetBlockEnd"),left:w.spaceT("left"),insetInlineStart:w.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:w.spaceT("right"),insetInlineEnd:w.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(B,{insetStart:B.insetInlineStart,insetEnd:B.insetInlineEnd});var F={ring:{transform:x.ring},ringColor:w.colors("--chakra-ring-color"),ringOffset:w.prop("--chakra-ring-offset-width"),ringOffsetColor:w.colors("--chakra-ring-offset-color"),ringInset:w.prop("--chakra-ring-inset")},I={margin:w.spaceT("margin"),marginTop:w.spaceT("marginTop"),marginBlockStart:w.spaceT("marginBlockStart"),marginRight:w.spaceT("marginRight"),marginInlineEnd:w.spaceT("marginInlineEnd"),marginBottom:w.spaceT("marginBottom"),marginBlockEnd:w.spaceT("marginBlockEnd"),marginLeft:w.spaceT("marginLeft"),marginInlineStart:w.spaceT("marginInlineStart"),marginX:w.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:w.spaceT("marginInline"),marginY:w.spaceT(["marginTop","marginBottom"]),marginBlock:w.spaceT("marginBlock"),padding:w.space("padding"),paddingTop:w.space("paddingTop"),paddingBlockStart:w.space("paddingBlockStart"),paddingRight:w.space("paddingRight"),paddingBottom:w.space("paddingBottom"),paddingBlockEnd:w.space("paddingBlockEnd"),paddingLeft:w.space("paddingLeft"),paddingInlineStart:w.space("paddingInlineStart"),paddingInlineEnd:w.space("paddingInlineEnd"),paddingX:w.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:w.space("paddingInline"),paddingY:w.space(["paddingTop","paddingBottom"]),paddingBlock:w.space("paddingBlock")};Object.assign(I,{m:I.margin,mt:I.marginTop,mr:I.marginRight,me:I.marginInlineEnd,marginEnd:I.marginInlineEnd,mb:I.marginBottom,ml:I.marginLeft,ms:I.marginInlineStart,marginStart:I.marginInlineStart,mx:I.marginX,my:I.marginY,p:I.padding,pt:I.paddingTop,py:I.paddingY,px:I.paddingX,pb:I.paddingBottom,pl:I.paddingLeft,ps:I.paddingInlineStart,paddingStart:I.paddingInlineStart,pr:I.paddingRight,pe:I.paddingInlineEnd,paddingEnd:I.paddingInlineEnd});var L={textDecorationColor:w.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:w.shadows("textShadow")},H={clipPath:!0,transform:w.propT("transform",x.transform),transformOrigin:!0,translateX:w.spaceT("--chakra-translate-x"),translateY:w.spaceT("--chakra-translate-y"),skewX:w.degreeT("--chakra-skew-x"),skewY:w.degreeT("--chakra-skew-y"),scaleX:w.prop("--chakra-scale-x"),scaleY:w.prop("--chakra-scale-y"),scale:w.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:w.degreeT("--chakra-rotate")},V={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:w.prop("transitionDuration","transition.duration"),transitionProperty:w.prop("transitionProperty","transition.property"),transitionTimingFunction:w.prop("transitionTimingFunction","transition.easing")},N={fontFamily:w.prop("fontFamily","fonts"),fontSize:w.prop("fontSize","fontSizes",x.px),fontWeight:w.prop("fontWeight","fontWeights"),lineHeight:w.prop("lineHeight","lineHeights"),letterSpacing:w.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"}
2,property:"--chakra-line-clamp"}},W={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:w.spaceT("scrollMargin"),scrollMarginTop:w.spaceT("scrollMarginTop"),scrollMarginBottom:w.spaceT("scrollMarginBottom"),scrollMarginLeft:w.spaceT("scrollMarginLeft"),scrollMarginRight:w.spaceT("scrollMarginRight"),scrollMarginX:w.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:w.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:w.spaceT("scrollPadding"),scrollPaddingTop:w.spaceT("scrollPaddingTop"),scrollPaddingBottom:w.spaceT("scrollPaddingBottom"),scrollPaddingLeft:w.spaceT("scrollPaddingLeft"),scrollPaddingRight:w.spaceT("scrollPaddingRight"),scrollPaddingX:w.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:w.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function U(e){return(0,n.Gv)(e)&&e.reference?e.reference:String(e)}var q=(e,...t)=>t.map(U).join(` ${e} `).replace(/calc/g,""),G=(...e)=>`calc(${q("+",...e)})`,Q=(...e)=>`calc(${q("-",...e)})`,Y=(...e)=>`calc(${q("*",...e)})`,X=(...e)=>`calc(${q("/",...e)})`,K=e=>{const t=U(e);return null==t||Number.isNaN(parseFloat(t))?Y(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},J=Object.assign(e=>({add:(...t)=>J(G(e,...t)),subtract:(...t)=>J(Q(e,...t)),multiply:(...t)=>J(Y(e,...t)),divide:(...t)=>J(X(e,...t)),negate:()=>J(K(e)),toString:()=>e.toString()}),{add:G,subtract:Q,multiply:Y,divide:X,negate:K});function Z(e){return function(e){return e.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(e){if(e.includes("\\."))return e;const t=!Number.isInteger(parseFloat(e.toString()));return t?e.replace(".","\\."):e}(function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString())))}function ee(e,t){return`var(${e}${t?`, ${t}`:""})`}function te(e,t=""){return Z(`--${function(e,t=""){return[t,e].filter(Boolean).join("-")}(e,t)}`)}function re(e,t,r){const n=te(e,r);return{variable:n,reference:ee(n,t)}}function ne(e,t){const r={};for(const n of t){if(Array.isArray(n)){const[t,o]=n;r[t]=re(`${e}-${t}`,o);continue}r[n]=re(`${e}-${n}`)}return r}function oe(e){const t=null==e?0:e.length;return t?e[t-1]:void 0}function ie(e){if(null==e)return e;const{unitless:t}=function(e){const t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}(e);return t||"number"==typeof e?`${e}px`:e}var ae=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,se=e=>Object.fromEntries(Object.entries(e).sort(ae));function le(e){const t=se(e);return Object.assign(Object.values(t),t)}function ce(e){var t;if(!e)return e;e=null!=(t=ie(e))?t:e;return"number"==typeof e?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,e=>`${parseFloat(e)+-.02}`)}function ue(e,t){const r=["@media screen"];return e&&r.push("and",`(min-width: ${ie(e)})`),t&&r.push("and",`(max-width: ${ie(t)})`),r.join(" ")}function de(e){var t;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";const r=le(e),o=Object.entries(e).sort(ae).map(([e,t],r,n)=>{var o;let[,i]=null!=(o=n[r+1])?o:[];return i=parseFloat(i)>0?ce(i):void 0,{_minW:ce(t),breakpoint:e,minW:t,maxW:i,maxWQuery:ue(null,i),minWQuery:ue(t),minMaxQuery:ue(t,i)}}),i=function(e){const t=Object.keys(se(e));return new Set(t)}(e),a=Array.from(i.values());return{keys:i,normalized:r,isResponsive(e){const t=Object.keys(e);return t.length>0&&t.every(e=>i.has(e))},asObject:se(e),asArray:le(e),details:o,get(e){return o.find(t=>t.breakpoint===e)},media:[null,...r.map(e=>ue(e)).slice(1)],toArrayValue(e){if(!(0,n.Gv)(e))throw new Error("toArrayValue: value must be an object");const t=a.map(t=>{var r;return null!=(r=e[t])?r:null});for(;null===oe(t);)t.pop();return t},toObjectValue(e){if(!Array.isArray(e))throw new Error("toObjectValue: value must be an array");return e.reduce((e,t,r)=>{const n=a[r];return null!=n&&null!=t&&(e[n]=t),e},{})}}}var he=(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,pe=(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,fe=(e,t)=>`${e}:focus-visible ${t}`,me=(e,t)=>`${e}:focus-within ${t}`,ge=(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,ve=(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,ye=(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,be=(e,t)=>
2`${e}:checked ${t}, ${e}[data-checked] ${t}`,xe=(e,t)=>`${e}:placeholder-shown ${t}`,we=e=>ke(t=>e(t,"&"),"[role=group]","[data-group]",".group"),Se=e=>ke(t=>e(t,"~ &"),"[data-peer]",".peer"),ke=(e,...t)=>t.map(e).join(", "),Ce={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:we(he),_peerHover:Se(he),_groupFocus:we(pe),_peerFocus:Se(pe),_groupFocusVisible:we(fe),_peerFocusVisible:Se(fe),_groupActive:we(ge),_peerActive:Se(ge),_groupDisabled:we(ve),_peerDisabled:Se(ve),_groupInvalid:we(ye),_peerInvalid:Se(ye),_groupChecked:we(be),_peerChecked:Se(be),_groupFocusWithin:we(me),_peerFocusWithin:Se(me),_peerPlaceholderShown:Se(xe),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},Pe=Object.keys(Ce);function Ee(e,t){return re(String(e).replace(/\./g,"-"),void 0,t)}function _e(e,t,r={}){const{stop:n,getKey:o}=r;return function e(r,i=[]){var a;if(function(e){return"object"==typeof e&&null!=e&&!Array.isArray(e)}(r)||Array.isArray(r)){const s={};for(const[l,c]of Object.entries(r)){const u=null!=(a=null==o?void 0:o(l))?a:l,d=[...i,u];if(null==n?void 0:n(r,d))return t(r,i);s[u]=e(c,d)}return s}return t(r,i)}(e)}var Ae=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];var Re=e=>Pe.includes(e)||"default"===e;function Te(e){var t;const r=function(e){const{__cssMap:t,__cssVars:r,__breakpoints:n,...o}=e;return o}(e),i=function(e){return function(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}(e,Ae)}(r),a=function(e){return e.semanticTokens}(r),s=function({tokens:e,semanticTokens:t}){const r={};return _e(e,(e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!1,value:e})}),_e(t,(e,t)=>{null!=e&&(r[t.join(".")]={isSemantic:!0,value:e})},{stop:e=>Object.keys(e).every(Re)}),r}({tokens:i,semanticTokens:a}),l=null==(t=r.config)?void 0:t.cssVarPrefix,{cssMap:c,cssVars:u}=function(e,t){let r={};const i={};for(const[a,s]of Object.entries(e)){const{isSemantic:l,value:c}=s,{variable:u,reference:d}=Ee(a,null==t?void 0:t.cssVarPrefix);if(!l){if(a.startsWith("space")){const e=a.split("."),[t,...r]=e,n=`${t}.-${r.join(".")}`,o=J.negate(c),s=J.negate(d);i[n]={value:o,var:u,varRef:s}}r[u]=c,i[a]={value:c,var:u,varRef:d};continue}const h=r=>{const n=[String(a).split(".")[0],r].join(".");if(!e[n])return r;const{reference:o}=Ee(n,null==t?void 0:t.cssVarPrefix);return o},p=(0,n.Gv)(c)?c:{default:c};r=o(r,Object.entries(p).reduce((e,[t,r])=>{var n,o;if(!r)return e;const i=h(`${r}`);return"default"===t?(e[u]=i,e):(e[null!=(o=null==(n=Ce)?void 0:n[t])?o:t]={[u]:i},e)},{})),i[a]={value:d,var:u,varRef:d}}return{cssVars:r,cssMap:i}}(s,{cssVarPrefix:l});return Object.assign(r,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...u},__cssMap:c,__breakpoints:de(r.breakpoints)}),r}
2var je=o({},S,k,C,_,T,E,F,R,A,z,B,P,I,W,N,L,H,j,V),$e=Object.assign({},I,T,_,A,B),De=Object.keys($e),Me=[...Object.keys(je),...Pe],Oe={...je,...Ce},ze=e=>e in Oe;var Be=(e,t)=>e.startsWith("--")&&"string"==typeof t&&!function(e){return/^var\(--.+\)$/.test(e)}(t),Fe=(e,t)=>{var r,n;if(null==t)return t;const o=t=>{var r,n;return null==(n=null==(r=e.__cssMap)?void 0:r[t])?void 0:n.varRef},i=e=>{var t;return null!=(t=o(e))?t:e},[a,s]=function(e){const t=[];let r="",n=!1;for(let o=0;o<e.length;o++){const i=e[o];"("===i?(n=!0,r+=i):")"===i?(n=!1,r+=i):","!==i||n?r+=i:(t.push(r),r="")}return r=r.trim(),r&&t.push(r),t}(t);return t=null!=(n=null!=(r=o(a))?r:i(s))?n:i(t)};function Ie(e){const{configs:t={},pseudos:r={},theme:i}=e,a=(e,s=!1)=>{var l,c,u;const d=(0,n.Jg)(e,i),h=(e=>t=>{if(!t.__breakpoints)return e;const{isResponsive:r,toArrayValue:o,media:i}=t.__breakpoints,a={};for(const s in e){let l=(0,n.Jg)(e[s],t);if(null==l)continue;if(l=(0,n.Gv)(l)&&r(l)?o(l):l,!Array.isArray(l)){a[s]=l;continue}const c=l.slice(0,i.length).length;for(let e=0;e<c;e+=1){const t=null==i?void 0:i[e];t?(a[t]=a[t]||{},null!=l[e]&&(a[t][s]=l[e])):a[s]=l[e]}}return a})(d)(i);let p={};for(let f in h){const e=h[f];let m=(0,n.Jg)(e,i);f in r&&(f=r[f]),Be(f,m)&&(m=Fe(i,m));let g=t[f];if(!0===g&&(g={property:f}),(0,n.Gv)(m)){p[f]=null!=(l=p[f])?l:{},p[f]=o({},p[f],a(m,!0));continue}let v=null!=(u=null==(c=null==g?void 0:g.transform)?void 0:c.call(g,m,i,d))?u:m;v=(null==g?void 0:g.processResult)?a(v,!0):v;const y=(0,n.Jg)(null==g?void 0:g.property,i);if(!s&&(null==g?void 0:g.static)){const e=(0,n.Jg)(g.static,i);p=o({},p,e)}if(y&&Array.isArray(y))for(const t of y)p[t]=v;else y?"&"===y&&(0,n.Gv)(v)?p=o({},p,v):p[y]=v:(0,n.Gv)(v)?p=o({},p,v):p[f]=v}return p};return a}var Le=e=>t=>Ie({theme:t,pseudos:Ce,configs:je})(e);function He(e){return e}function Ve(e){return e}function Ne(e){return{definePartsStyle(e){return e},defineMultiStyleConfig(t){return{parts:e,...t}}}}function We(e,t){for(let r=t+1;r<e.length;r++)if(null!=e[r])return r;return-1}function Ue(e){const t=e.__breakpoints;return function(e,r,i,a){var s,l;if(!t)return;const c={},u=function(e,t){return Array.isArray(e)?e:(0,n.Gv)(e)?t(e):null!=e?[e]:void 0}(i,t.toArrayValue);if(!u)return c;const d=u.length,h=1===d,p=!!e.parts;for(let f=0;f<d;f++){const i=t.details[f],d=t.details[We(u,f)],m=ue(i.minW,null==d?void 0:d._minW),g=(0,n.Jg)(null==(s=e[r])?void 0:s[u[f]],a);g&&(p?null==(l=e.parts)||l.forEach(e=>{o(c,{[e]:h?g[e]:{[m]:g[e]}})}):p?c[m]=g:h?o(c,g):c[m]=g)}return c}}function qe(e){return t=>{var r;const{variant:i,size:a,theme:s}=t,l=Ue(s);return o({},(0,n.Jg)(null!=(r=e.baseStyle)?r:{},t),l(e,"sizes",a,t),l(e,"variants",i,t))}}function Ge(e){return function(e,t=[]){const r=Object.assign({},e);for(const n of t)n in r&&delete r[n];return r}(e,["styleConfig","size","variant","colorScheme"])}},4598:function(e,t,r){"use strict";var n=r(4794)},4634:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4656:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SCRIPT_TYPE="text/partytown",t.partytownSnippet=e=>((e,t)=>{const{forward:r=[],...n}=e||{},o=JSON.stringify(n,(e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t));return["!(function(w,p,f,c){",Object.keys(n).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",r.length>0?`.concat(${JSON.stringify(r)})`:"","})(window,'partytown','forward');",t].join("")})(e,'/* Partytown 0.7.6 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(f,1e4),e.addEventListener("pt0",w),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):f())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.7.6":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;n<s.length;n++)(r=e.createElement("script")).innerHTML=s[n].innerHTML,e.head.appendChild(r);c&&c.parentNode.removeChild(c)}function w(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);')},4794:function(e,t,r){"use strict";r.r(t),r.d(t,{Link:function(){return s.N_},PageRenderer:function(){return i()},Script:function(){return k.Script},ScriptStrategy:function(){return k.ScriptStrategy},Slice:function(){return x},StaticQuery:function(){return l.de},StaticQueryContext:function(){return l.G},collectedScriptsByPage:function(){return k.collectedScriptsByPage},graphql:function(){return P},navigate:function(){return s.oo},parsePath:function(){return s.Rr},prefetchPathname:function(){return C},scriptCache:function(){return k.scriptCache},scriptCallbackCache:function(){return k.scriptCallbackCache},useScrollRestoration:function(){return a.RV}
2,useStaticQuery:function(){return l.GR},withAssetPrefix:function(){return s.Zf},withPrefix:function(){return s.Fe}});var n=r(6814),o=r(2549),i=r.n(o),a=r(7035),s=r(7078),l=r(7231),c=r(7387);function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var d=r(3662);function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}function p(e){var t="function"==typeof Map?new Map:void 0;return p=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(h())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&(0,d.A)(o,r.prototype),o}(e,arguments,u(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,d.A)(r,e)},p(e)}var f=r(6540),m=r(700),g=r(2024);const v=({sliceId:e,children:t})=>{const r=[f.createElement("slice-start",{id:`${e}-1`}),f.createElement("slice-end",{id:`${e}-1`})];return t&&(r.push(t),r.push(f.createElement("slice-start",{id:`${e}-2`}),f.createElement("slice-end",{id:`${e}-2`}))),r},y=({sliceName:e,allowEmpty:t,children:r,...n})=>{const o=(0,f.useContext)(g.Jr),i=(0,f.useContext)(g.hr),a=o[e];if(!a){if(t)return null;throw new Error(`Slice "${a}" for "${e}" slot not found`)}const s=((e,t)=>Object.keys(t).length?`${e}-${(0,m.U)(t)}`:e)(a,n);let l=i[s];return l?r&&(l.hasChildren=!0):i[s]=l={props:n,sliceName:a,hasChildren:!!r},f.createElement(v,{sliceId:s},r)},b=({sliceName:e,allowEmpty:t,children:r,...n})=>{const o=(0,f.useContext)(g.Jr),i=(0,f.useContext)(g.dd),a=o[e],s=i.get(a);if(!s){if(t)return null;throw new Error(`Slice "${a}" for "${e}" slot not found`)}return f.createElement(s.component,Object.assign({sliceContext:s.sliceContext,data:s.data},n),r)};function x(e){{const t={...e,sliceName:e.alias};delete t.alias,delete t.__renderedByLocation;const r=(0,f.useContext)(g.j$),n=S(e);if(Object.keys(n).length)throw new w("browser"===r.renderEnvironment,t.sliceName,n,e.__renderedByLocation);if("server"===r.renderEnvironment)return f.createElement(y,t);if("browser"===r.renderEnvironment)return f.createElement(b,t);if("engines"===r.renderEnvironment||"dev-ssr"===r.renderEnvironment)return f.createElement(b,t);if("slices"===r.renderEnvironment){let t="";try{t=`\n\nSlice component "${r.sliceRoot.name}" (${r.sliceRoot.componentPath}) tried to render <Slice alias="${e.alias}"/>`}catch{}throw new Error(`Nested slices are not supported.${t}\n\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices`)}throw new Error(`Slice context "${r.renderEnvironment}" is not supported.`)}}let w=function(e){function t(r,n,o,i){var a;const s=Object.entries(o).map(([e,t])=>`not serializable "${t}" type passed to "${e}" prop`).join(", "),l="SlicePropsError";let c="",u="";if(r){var d,h;let e="";if(f.captureOwnerStack){const t=f.captureOwnerStack(),r=(new Error).stack||"";e=t?`${r}\n${t}`:r}else e=null!==(d=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)&&void 0!==d&&null!==(h=d.ReactDebugCurrentFrame)&&void 0!==h&&h.getCurrentStack?f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack():(new Error).stack||"";const t=e.trim().split("\n").slice(1);t.length>0&&(t[0]=t[0].trim(),c="\n"+t.join("\n")),u=`Slice "${n}" was passed props that are not serializable (${s}).`}else{u=`${l}: Slice "${n}" was passed props that are not serializable (${s}).`;c=`${u}\n${(new Error).stack.trim().split("\n").slice(2).join("\n")}`}return(a=e.call(this,u)||this).name=l,c?a.stack=c:Error.captureStackTrace(a,t),i&&(a.forcedLocation={...i,functionName:"Slice"}),a}return(0,c.A)(t,e),t}(p(Error));const S=(e,t={},r=[],n=null)=>{for(const[o,i]of Object.entries(e)){if(null==i||!n&&"children"===o)continue;const e=n?`${n}.${o}`:o;"function"==typeof i?t[e]=typeof i:"object"==typeof i&&r.indexOf(i)<=0&&(r.push(i),S(i,t,r,e))}return t};var k=r(5535);const C=n.Ay.enqueue;function P(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}},4940:function(e,t,r){"use strict";r.d(t,{D:function(){return i}});var n=r(6120),o=r(6540);function i(){const e=(0,o.useContext)(n.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}}
2,4994:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},5128:function(e,t,r){"use strict";r.d(t,{E:function(){return o}});var n=r(6540);const o=r(8288).B?n.useLayoutEffect:n.useEffect},5238:function(e,t,r){"use strict";r.d(t,{$:function(){return o},V:function(){return i}});var n=r(3659);let o=n.l,i=n.l},5535:function(e,t,r){"use strict";r.r(t),r.d(t,{Script:function(){return f},ScriptStrategy:function(){return c},collectedScriptsByPage:function(){return s},scriptCache:function(){return h},scriptCallbackCache:function(){return p}});var n=r(6540),o=r(6462);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}const a=new Map,s={get:e=>a.get(e)||[],set(e,t){const r=a.get(e)||[];r.push(t),a.set(e,r)},delete(e){a.delete(e)}},l="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){const t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)};var c,u;(u=c||(c={})).postHydrate="post-hydrate",u.idle="idle",u.offMainThread="off-main-thread";const d=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),h=new Set,p=new Map;function f(e){return n.createElement(o.Location,null,()=>n.createElement(m,e))}function m(e){const{src:t,strategy:r=c.postHydrate}=e||{},{pathname:a}=(0,o.useLocation)();if((0,n.useEffect)(()=>{let t;switch(r){case c.postHydrate:t=g(e);break;case c.idle:l(()=>{t=g(e)});break;case c.offMainThread:{const t=y(e);s.set(a,t)}}return()=>{const{script:e,loadCallback:r,errorCallback:n}=t||{};r&&(null==e||e.removeEventListener("load",r)),n&&(null==e||e.removeEventListener("error",n)),null==e||e.remove()}},[]),r===c.offMainThread){const o=v(e),l=y(e);return"undefined"==typeof window&&s.set(a,l),n.createElement("script",o?i({type:"text/partytown","data-strategy":r,crossOrigin:"anonymous"},l,{dangerouslySetInnerHTML:{__html:v(e)}}):i({type:"text/partytown",src:b(t),"data-strategy":r,crossOrigin:"anonymous"},l))}return null}function g(e){const{id:t,src:r,strategy:n=c.postHydrate,onLoad:o,onError:a}=e||{},s=t||r,l=["load","error"],u={load:o,error:a};if(s){for(const e of l)if(null!=u&&u[e]){var d;const t=p.get(s)||{},{callbacks:r=[]}=(null==t?void 0:t[e])||{};var f,m;r.push(null==u?void 0:u[e]),null!=t&&null!=(d=t[e])&&d.event?null==u||null==(f=u[e])||f.call(u,null==t||null==(m=t[e])?void 0:m.event):p.set(s,i({},t,{[e]:{callbacks:r}}))}if(h.has(s))return null}const g=v(e),b=y(e),w=document.createElement("script");t&&(w.id=t),w.dataset.strategy=n;for(const[i,c]of Object.entries(b))w.setAttribute(i,c);g&&(w.textContent=g),r&&(w.src=r);const S={};if(s){for(const e of l){const t=t=>x(t,s,e);w.addEventListener(e,t),S[`${e}Callback`]=t}h.add(s)}return document.body.appendChild(w),{script:w,loadCallback:S.loadCallback,errorCallback:S.errorCallback}}function v(e){const{dangerouslySetInnerHTML:t,children:r=""}=e||{},{__html:n=""}=t||{};return n||r}function y(e){const t={};for(const[r,n]of Object.entries(e))d.has(r)||(t[r]=n);return t}function b(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function x(e,t,r){const n=p.get(t)||{};for(const i of(null==n||null==(o=n[r])?void 0:o.callbacks)||[]){var o;i(e)}p.set(t,{[r]:{event:e}})}},5599:function(e,t,r){"use strict";r.d(t,{y:function(){return d}});var n=r(7437),o=r(8855),i=r(3352),a=r(4515),s=r(3720),l=r(9857),c=r(4848),u=(0,n.i7)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),d=(0,o.R)((e,t)=>{const r=(0,i.Vl)("Spinner",e),{label:n="Loading...",thickness:o="2px",speed:d="0.45s",emptyColor:h="transparent",className:p,...f}=(0,a.MN)(e),m=(0,l.cx)("chakra-spinner",p),g={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:h,borderLeftColor:h,animation:`${u} ${d} linear infinite`,...r};return(0,c.jsx)(s.B.div,{ref:t,__css:g,className:m,...f,children:n&&(0,c.jsx)(s.B.span,{srOnly:!0,children:n})})});d.displayName="Spinner"},5636:function(e){function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}
2e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},5942:function(e,t,r){"use strict";r.d(t,{QueryClient:function(){return n.QueryClient},QueryClientProvider:function(){return o.QueryClientProvider}});var n=r(4468);r.o(n,"QueryClientProvider")&&r.d(t,{QueryClientProvider:function(){return n.QueryClientProvider}});var o=r(4336)},6080:function(e,t,r){"use strict";r.d(t,{E:function(){return S}});var n=r(8168),o=r(941),i=r(7387),a=r(428),s=r(9690),l=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,r=e||function(){};return this.listeners.push(r),this.onSubscribe(),function(){t.listeners=t.listeners.filter(function(e){return e!==r}),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}(),c=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.S$&&(null==(t=window)?void 0:t.addEventListener)){var r=function(){return e()};return window.addEventListener("visibilitychange",r,!1),window.addEventListener("focus",r,!1),function(){window.removeEventListener("visibilitychange",r),window.removeEventListener("focus",r)}}},t}(0,i.A)(t,e);var r=t.prototype;return r.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},r.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},r.setEventListener=function(e){var t,r=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(function(e){"boolean"==typeof e?r.setFocused(e):r.onFocus()})},r.setFocused=function(e){this.focused=e,e&&this.onFocus()},r.onFocus=function(){this.listeners.forEach(function(e){e()})},r.isFocused=function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(l)),u=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.S$&&(null==(t=window)?void 0:t.addEventListener)){var r=function(){return e()};return window.addEventListener("online",r,!1),window.addEventListener("offline",r,!1),function(){window.removeEventListener("online",r),window.removeEventListener("offline",r)}}},t}(0,i.A)(t,e);var r=t.prototype;return r.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},r.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},r.setEventListener=function(e){var t,r=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(function(e){"boolean"==typeof e?r.setOnline(e):r.onOnline()})},r.setOnline=function(e){this.online=e,e&&this.onOnline()},r.onOnline=function(){this.listeners.forEach(function(e){e()})},r.isOnline=function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine},t}(l));function d(e){return Math.min(1e3*Math.pow(2,e),3e4)}function h(e){return"function"==typeof(null==e?void 0:e.cancel)}var p=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function f(e){return e instanceof p}var m=function(e){var t,r,n,i,a=this,s=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){s=!0},this.continueRetry=function(){s=!1},this.continue=function(){return null==r?void 0:r()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(e,t){n=e,i=t});var l=function(t){a.isResolved||(a.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==r||r(),n(t))},f=function(t){a.isResolved||(a.isResolved=!0,null==e.onError||e.onError(t),null==r||r(),i(t))};!function n(){if(!a.isResolved){var i;try{i=e.fn()}catch(m){i=Promise.reject(m)}t=function(e){if(!a.isResolved&&(f(new p(e)),null==a.abort||a.abort(),h(i)))try{i.cancel()}catch(t){}},a.isTransportCancelable=h(i),Promise.resolve(i).then(l).catch(function(t){var i,l;if(!a.isResolved){var h=null!=(i=e.retry)?i:3,p=null!=(l=e.retryDelay)?l:d,m="function"==typeof p?p(a.failureCount,t):p,g=!0===h||"number"==typeof h&&a.failureCount<h||"function"==typeof h&&h(a.failureCount,t);!s&&g?(a.failureCount++,null==e.onFail||e.onFail(a.failureCount,t),(0,o.yy)(m).then(function(){if(!c.isFocused()||!u.isOnline())return new Promise(function(t){r=t,a.isPaused=!0,null==e.onPause||e.onPause()}).then(function(){r=void 0,a.isPaused=!1,null==e.onContinue||e.onContinue()})}).then(function(){s?f(t):n()})):f(t)}})}}()}
2,g=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=(0,n.A)({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),(0,o.gn)(this.cacheTime)&&(this.gcTimeout=setTimeout(function(){e.optionalRemove()},this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var r,n,i=this.state.data,a=(0,o.Zw)(e,i);return(null==(r=(n=this.options).isDataEqual)?void 0:r.call(n,i,a))?a=i:!1!==this.options.structuralSharing&&(a=(0,o.BH)(i,a)),this.dispatch({data:a,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),a},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,r=this.promise;return null==(t=this.retryer)||t.cancel(e),r?r.then(o.lQ).catch(o.lQ):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some(function(e){return!1!==e.options.enabled})},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(function(e){return e.getCurrentResult().isStale})},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,o.j3)(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find(function(e){return e.shouldFetchOnWindowFocus()});t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find(function(e){return e.shouldFetchOnReconnect()});t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter(function(t){return t!==e}),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var r,n,i,a=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var l;return null==(l=this.retryer)||l.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var c=this.observers.find(function(e){return e.options.queryFn});c&&this.setOptions(c.options)}var u=(0,o.HN)(this.queryKey),d=(0,o.jY)(),h={queryKey:u,pageParam:void 0,meta:this.meta};Object.defineProperty(h,"signal",{enumerable:!0,get:function(){if(d)return a.abortSignalConsumed=!0,d.signal}});var p,g,v={fetchOptions:t,options:this.options,queryKey:u,state:this.state,fetchFn:function(){return a.options.queryFn?(a.abortSignalConsumed=!1,a.options.queryFn(h)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(r=this.options.behavior)?void 0:r.onFetch)&&(null==(p=this.options.behavior)||p.onFetch(v));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(n=v.fetchOptions)?void 0:n.meta))||this.dispatch({type:"fetch",meta:null==(g=v.fetchOptions)?void 0:g.meta});return this.retryer=new m({fn:v.fetchFn,abort:null==d||null==(i=d.abort)?void 0:i.bind(d),onSuccess:function(e){a.setData(e),null==a.cache.config.onSuccess||a.cache.config.onSuccess(e,a),0===a.cacheTime&&a.optionalRemove()},onError:function(e){f(e)&&e.silent||a.dispatch({type:"error",error:e}),f(e)||(null==a.cache.config.onError||a.cache.config.onError(e,a),(0,s.t)().error(e)),0===a.cacheTime&&a.optionalRemove()},onFail:function(){a.dispatch({type:"failed"})},onPause:function(){a.dispatch({type:"pause"})},onContinue:function(){a.dispatch({type:"continue"})},retry:v.options.retry,retryDelay:v.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),a.j.batch(function(){t.observers.forEac
2h(function(t){t.onQueryUpdate(e)}),t.cache.notify({query:t,type:"queryUpdated",action:e})})},t.getDefaultState=function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,n=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:n?"success":"idle"}},t.reducer=function(e,t){var r,o;switch(t.type){case"failed":return(0,n.A)({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return(0,n.A)({},e,{isPaused:!0});case"continue":return(0,n.A)({},e,{isPaused:!1});case"fetch":return(0,n.A)({},e,{fetchFailureCount:0,fetchMeta:null!=(r=t.meta)?r:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,n.A)({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(o=t.dataUpdatedAt)?o:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var i=t.error;return f(i)&&i.revert&&this.revertState?(0,n.A)({},this.revertState):(0,n.A)({},e,{error:i,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,n.A)({},e,{isInvalidated:!0});case"setState":return(0,n.A)({},e,t.state);default:return e}},e}(),v=function(e){function t(t){var r;return(r=e.call(this)||this).config=t||{},r.queries=[],r.queriesMap={},r}(0,i.A)(t,e);var r=t.prototype;return r.build=function(e,t,r){var n,i=t.queryKey,a=null!=(n=t.queryHash)?n:(0,o.F$)(i,t),s=this.get(a);return s||(s=new g({cache:this,queryKey:i,queryHash:a,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(i),meta:t.meta}),this.add(s)),s},r.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},r.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(function(t){return t!==e}),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},r.clear=function(){var e=this;a.j.batch(function(){e.queries.forEach(function(t){e.remove(t)})})},r.get=function(e){return this.queriesMap[e]},r.getAll=function(){return this.queries},r.find=function(e,t){var r=(0,o.b_)(e,t)[0];return void 0===r.exact&&(r.exact=!0),this.queries.find(function(e){return(0,o.MK)(r,e)})},r.findAll=function(e,t){var r=(0,o.b_)(e,t)[0];return Object.keys(r).length>0?this.queries.filter(function(e){return(0,o.MK)(r,e)}):this.queries},r.notify=function(e){var t=this;a.j.batch(function(){t.listeners.forEach(function(t){t(e)})})},r.onFocus=function(){var e=this;a.j.batch(function(){e.queries.forEach(function(e){e.onFocus()})})},r.onOnline=function(){var e=this;a.j.batch(function(){e.queries.forEach(function(e){e.onOnline()})})},t}(l),y=function(){function e(e){this.options=(0,n.A)({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter(function(t){return t!==e})},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(o.lQ).catch(o.lQ)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,r="loading"===this.state.status,n=Promise.resolve();return r||(this.dispatch({type:"loading",variables:this.options.variables}),n=n.then(function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)}).then(function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)}
2).then(function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})})),n.then(function(){return t.executeMutation()}).then(function(r){e=r,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)}).then(function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)}).then(function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)}).then(function(){return t.dispatch({type:"success",data:e}),e}).catch(function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),(0,s.t)().error(e),Promise.resolve().then(function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)}).then(function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)}).then(function(){throw t.dispatch({type:"error",error:e}),e})})},t.executeMutation=function(){var e,t=this;return this.retryer=new m({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return(0,n.A)({},e,{failureCount:e.failureCount+1});case"pause":return(0,n.A)({},e,{isPaused:!0});case"continue":return(0,n.A)({},e,{isPaused:!1});case"loading":return(0,n.A)({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return(0,n.A)({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return(0,n.A)({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,n.A)({},e,t.state);default:return e}}(this.state,e),a.j.batch(function(){t.observers.forEach(function(t){t.onMutationUpdate(e)}),t.mutationCache.notify(t)})},e}();var b=function(e){function t(t){var r;return(r=e.call(this)||this).config=t||{},r.mutations=[],r.mutationId=0,r}(0,i.A)(t,e);var r=t.prototype;return r.build=function(e,t,r){var n=new y({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:r,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(n),n},r.add=function(e){this.mutations.push(e),this.notify(e)},r.remove=function(e){this.mutations=this.mutations.filter(function(t){return t!==e}),e.cancel(),this.notify(e)},r.clear=function(){var e=this;a.j.batch(function(){e.mutations.forEach(function(t){e.remove(t)})})},r.getAll=function(){return this.mutations},r.find=function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(function(t){return(0,o.nJ)(e,t)})},r.findAll=function(e){return this.mutations.filter(function(t){return(0,o.nJ)(e,t)})},r.notify=function(e){var t=this;a.j.batch(function(){t.listeners.forEach(function(t){t(e)})})},r.onFocus=function(){this.resumePausedMutations()},r.onOnline=function(){this.resumePausedMutations()},r.resumePausedMutations=function(){var e=this.mutations.filter(function(e){return e.state.isPau
2sed});return a.j.batch(function(){return e.reduce(function(e,t){return e.then(function(){return t.continue().catch(o.lQ)})},Promise.resolve())})},t}(l);function x(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function w(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}var S=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new v,this.mutationCache=e.mutationCache||new b,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=c.subscribe(function(){c.isFocused()&&u.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())}),this.unsubscribeOnline=u.subscribe(function(){c.isFocused()&&u.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())})},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var r=(0,o.b_)(e,t)[0];return r.fetching=!0,this.queryCache.findAll(r).length},t.isMutating=function(e){return this.mutationCache.findAll((0,n.A)({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map(function(e){return[e.queryKey,e.state.data]})},t.setQueryData=function(e,t,r){var n=(0,o.vh)(e),i=this.defaultQueryOptions(n);return this.queryCache.build(this,i).setData(t,r)},t.setQueriesData=function(e,t,r){var n=this;return a.j.batch(function(){return n.getQueryCache().findAll(e).map(function(e){var o=e.queryKey;return[o,n.setQueryData(o,t,r)]})})},t.getQueryState=function(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state},t.removeQueries=function(e,t){var r=(0,o.b_)(e,t)[0],n=this.queryCache;a.j.batch(function(){n.findAll(r).forEach(function(e){n.remove(e)})})},t.resetQueries=function(e,t,r){var i=this,s=(0,o.b_)(e,t,r),l=s[0],c=s[1],u=this.queryCache,d=(0,n.A)({},l,{active:!0});return a.j.batch(function(){return u.findAll(l).forEach(function(e){e.reset()}),i.refetchQueries(d,c)})},t.cancelQueries=function(e,t,r){var n=this,i=(0,o.b_)(e,t,r),s=i[0],l=i[1],c=void 0===l?{}:l;void 0===c.revert&&(c.revert=!0);var u=a.j.batch(function(){return n.queryCache.findAll(s).map(function(e){return e.cancel(c)})});return Promise.all(u).then(o.lQ).catch(o.lQ)},t.invalidateQueries=function(e,t,r){var i,s,l,c=this,u=(0,o.b_)(e,t,r),d=u[0],h=u[1],p=(0,n.A)({},d,{active:null==(i=null!=(s=d.refetchActive)?s:d.active)||i,inactive:null!=(l=d.refetchInactive)&&l});return a.j.batch(function(){return c.queryCache.findAll(d).forEach(function(e){e.invalidate()}),c.refetchQueries(p,h)})},t.refetchQueries=function(e,t,r){var i=this,s=(0,o.b_)(e,t,r),l=s[0],c=s[1],u=a.j.batch(function(){return i.queryCache.findAll(l).map(function(e){return e.fetch(void 0,(0,n.A)({},c,{meta:{refetchPage:null==l?void 0:l.refetchPage}}))})}),d=Promise.all(u).then(o.lQ);return(null==c?void 0:c.throwOnError)||(d=d.catch(o.lQ)),d},t.fetchQuery=function(e,t,r){var n=(0,o.vh)(e,t,r),i=this.defaultQueryOptions(n);void 0===i.retry&&(i.retry=!1);var a=this.queryCache.build(this,i);return a.isStaleByTime(i.staleTime)?a.fetch(i):Promise.resolve(a.state.data)},t.prefetchQuery=function(e,t,r){return this.fetchQuery(e,t,r).then(o.lQ).catch(o.lQ)},t.fetchInfiniteQuery=function(e,t,r){var n=(0,o.vh)(e,t,r);return n.behavior={onFetch:function(e){e.fetchFn=function(){var t,r,n,i,a,s,l,c=null==(t=e.fetchOptions)||null==(r=t.meta)?void 0:r.refetchPage,u=null==(n=e.fetchOptions)||null==(i=n.meta)?void 0:i.fetchMore,d=null==u?void 0:u.pageParam,p="forward"===(null==u?void 0:u.direction),f="backward"===(null==u?void 0:u.direction),m=(null==(a=e.state.data)?void 0:a.pages)||[],g=(null==(s=e.state.data)?void 0:s.pageParams)||[],v=(0,o.jY)(),y=null==v?void 0:v.signal,b=g,S=!1,k=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},C=function(e,t,r,n){return b=n?[t].concat(b):[].concat(b,[t]),n?[r].concat(e):[].concat(e,[r])},P=function(t,r,n,o){if(S)return Promise.reject("Cancelled");if(void 0===n&&!r&&t.length)return Promise.resolve(t);var i={queryKey:e.queryKey,signal:y,pageParam:n,meta:e.meta},a=k(i),s=Promise.resolve(a).then(function(e){return C(t,n,e,o)});return h(a)&&(s.cancel=a.cancel),s};if(m.length)if(p){var E=void 0!==d,_=E?d:x(e.options,m);l=P(m,E,_)}else if(f){var A=void 0!==d,R=A?d:w(e.options,m);l=P(m,A,R,!0)}else!function(){b=[];var t=void 0===e.options.getNextPageParam,r=!c||!m[0]||c(m[0],0,m);l=r?P([],t,g[0]):Promise.resolve(C([],g[0],m[0]));for(var n=function(r){l=l.then(function(n){if(!c||!m[r]||c(m[r],r,m)){var o=t?g[r]:x(e.options,n);return P(n,t,o)}return Promise.resolve(C(n,g[r],m[r]))})},o=1;o<m.length;o++)n(o)}();else l=P([]);var T=l.then(function(e){return{pages:e,pageParams:b}});return T.cancel=function(){S=!0,null==v||v.abort(),h(l)&&l.cancel()},T}}},this.fetchQuery(n)},t.prefetchInfiniteQuery=function(e,t,r){return this.fetchInfiniteQuery(e,t,r).then(o.lQ).catch(o.lQ)},t.cancelMutations=function(){var e=this,t=a.j.batch(function(){return e.mutationCache.getAll().map(function(e){return e.cancel()})});return Promise.all(t).then(o.lQ).catch(o.lQ)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var r=this.queryDefaults.find(function(t){return(0,o.Od)(e)===(0,o.Od)(t.queryKey)});r?r.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find(function(t){return(0,o.Cp)(e,t.queryKey)}))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var r=this.mutationDefaults.find(function(t){return(0,o.Od)(e)===(0,o.Od)(t.mutationKey)});r?r.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find(function(t){return(0,o.Cp)(e,t.mutationKey)}))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=(0,n.A)({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=(0,o.F$)(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:(0,n.A)({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}()},6120:function(e,t,r){"use strict";r.d(t,{T:function(){return u},a:function(){return h},i:function(){return s},w:function(){return c}});var n=r(6540),o=r(4300),i=r(8168),a=function(e){var t=new WeakMap;return function(r){if(t.has(r))return t.get(r);var n=e(r);return t.set(r,n),n}},s=(r(3451),r(1287),!0),l=n.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null);l.Provider;var c=function(e){return(0,n.forwardRef)(function(t,r){var o=(0,n.useContext)(l);return e(t,o,r)})};s||(c=function(e){return function(t){var r=(0,n.useContext)(l);return null===r?(r=(0,o.A)({key:"css"}),n.createElement(l.Provider,{value:r},e(t,r))):e(t,r)}});var u=n.createContext({});var d=a(function(e){return a(function(t){return function(e,t){return"function"==typeof t?t(e):(0,i.A)({},e,t)}(e,t)})}),h=function(e){var t=n.useContext(u);return e.theme!==t&&(t=d(t)(e.theme)),n.createElement(u.Provider,{value:t},e.children)}},6221:function(e,t,r){var n=r(5636);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},6287:function(e,t,r){"use strict";r.d(t,{az:function(){return a}});
2var n=r(3720),o=r(8855),i=r(4848),a=(0,n.B)("div");a.displayName="Box";var s=(0,o.R)(function(e,t){const{size:r,centerContent:n=!0,...o}=e,s=n?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return(0,i.jsx)(a,{ref:t,boxSize:r,__css:{...s,flexShrink:0,flexGrow:0},...o})});s.displayName="Square",(0,o.R)(function(e,t){const{size:r,...n}=e;return(0,i.jsx)(s,{size:r,ref:t,borderRadius:"9999px",...n})}).displayName="Circle"},6289:function(e,t,r){"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{A:function(){return n}})},6395:function(e,t){"use strict";t.T=void 0;const r=[".html",".json",".js",".map",".txt",".xml",".pdf"];t.T=(e,t="always")=>{if("/"===e)return e;const n=e.endsWith("/");return((e,t)=>{for(const r of e)if(t.endsWith(r))return!0;return!1})(r,e)?e:"always"===t?n?e:`${e}/`:"never"===t&&n?e.slice(0,-1):e}},6449:function(){},6462:function(e,t,r){"use strict";var n;r.r(t),r.d(t,{BaseContext:function(){return g},Link:function(){return G},Location:function(){return J},LocationContext:function(){return v},LocationProvider:function(){return K},Match:function(){return ee},Redirect:function(){return C},Router:function(){return se},ServerLocation:function(){return Z},createHistory:function(){return u},createMemorySource:function(){return d},globalHistory:function(){return p},insertParams:function(){return R},isRedirect:function(){return w},match:function(){return _},navigate:function(){return f},pick:function(){return E},redirectTo:function(){return S},resolve:function(){return A},shallowCompare:function(){return I},startsWith:function(){return P},useBaseContext:function(){return y},useLocation:function(){return ce},useLocationContext:function(){return b},useMatch:function(){return he},useNavigate:function(){return ue},useParams:function(){return de},validateRedirect:function(){return T}});var o=r(6540),i=r(5556),a=r(311);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function l(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])>=0||(o[r]=e[r]);return o}const c=e=>{const{search:t,hash:r,href:n,origin:o,protocol:i,host:a,hostname:s,port:l}=e.location;let{pathname:c}=e.location;return!c&&n&&h&&(c=new URL(n).pathname),{pathname:encodeURI(decodeURI(c)),search:t,hash:r,href:n,origin:o,protocol:i,host:a,hostname:s,port:l,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},u=(e,t)=>{let r=[],n=c(e),o=!1,i=()=>{};return{get location(){return n},get transitioning(){return o},_onTransitionComplete(){o=!1,i()},listen(t){r.push(t);const o=()=>{n=c(e),t({location:n,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),r=r.filter(e=>e!==t)}},navigate(t,{state:a,replace:l=!1}={}){if("number"==typeof t)e.history.go(t);else{a=s({},a,{key:Date.now()+""});try{o||l?e.history.replaceState(a,null,t):e.history.pushState(a,null,t)}catch(r){e.location[l?"replace":"assign"](t)}}n=c(e),o=!0;const u=new Promise(e=>i=e);return r.forEach(e=>e({location:n,action:"PUSH"})),u}}},d=(e="/")=>{const t=e.indexOf("?"),r={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let n=0;const o=[r],i=[null];return{get location(){return o[n]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return n},get state(){return i[n]},pushState(e,t,r){const[a,s=""]=r.split("?");n++,o.push({pathname:a,search:s.length?`?${s}`:s}),i.push(e)},replaceState(e,t,r){const[a,s=""]=r.split("?");o[n]={pathname:a,search:s},i[n]=e},go(e){const t=n+e;t<0||t>i.length-1||(n=t)}}}},h=!("undefined"==typeof window||!window.document||!window.document.createElement),p=u(h?window:d()),{navigate:f}=p;function m(e,t){return o.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=o.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(e,t):o.createContext(t)}
2const g=m("Base",{baseuri:"/",basepath:"/"}),v=m("Location"),y=()=>o.useContext(g),b=()=>o.useContext(v);function x(e){this.uri=e}const w=e=>e instanceof x,S=e=>{throw new x(e)};function k(e){const{to:t,replace:r=!0,state:n,noThrow:i,baseuri:a}=e;o.useEffect(()=>{Promise.resolve().then(()=>{const o=A(t,a);f(R(o,e),{replace:r,state:n})})},[]);const s=A(t,a);return i||S(R(s,e)),null}const C=e=>{const t=b(),{baseuri:r}=y();return o.createElement(k,s({},t,{baseuri:r},e))};C.propTypes={from:i.string,to:i.string.isRequired};const P=(e,t)=>e.substr(0,t.length)===t,E=(e,t)=>{let r,n;const[o]=t.split("?"),i=z(o),s=""===i[0],l=O(e);for(let c=0,u=l.length;c<u;c++){let e=!1;const o=l[c].route;if(o.default){n={route:o,params:{},uri:t};continue}const u=z(o.path),d={},h=Math.max(i.length,u.length);let p=0;for(;p<h;p++){const t=u[p],r=i[p];if(D(t)){d[t.slice(1)||"*"]=i.slice(p).map(decodeURIComponent).join("/");break}if(void 0===r){e=!0;break}const n=j.exec(t);if(n&&!s){const e=-1===F.indexOf(n[1]);a(e,`<Router> dynamic segment "${n[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const t=decodeURIComponent(r);d[n[1]]=t}else if(t!==r){e=!0;break}}if(!e){r={route:o,params:d,uri:"/"+i.slice(0,p).join("/")};break}}return r||n||null},_=(e,t)=>E([{path:e}],t),A=(e,t)=>{if(P(e,"/"))return e;const[r,n]=e.split("?"),[o]=t.split("?"),i=z(r),a=z(o);if(""===i[0])return B(o,n);if(!P(i[0],".")){const e=a.concat(i).join("/");return B(("/"===o?"":"/")+e,n)}const s=a.concat(i),l=[];for(let c=0,u=s.length;c<u;c++){const e=s[c];".."===e?l.pop():"."!==e&&l.push(e)}return B("/"+l.join("/"),n)},R=(e,t)=>{const[r,n=""]=e.split("?");let o="/"+z(r).map(e=>{const r=j.exec(e);return r?t[r[1]]:e}).join("/");const{location:{search:i=""}={}}=t,a=i.split("?")[1]||"";return o=B(o,n,a),o},T=(e,t)=>{const r=e=>$(e);return z(e).filter(r).sort().join("/")===z(t).filter(r).sort().join("/")},j=/^:(.+)/,$=e=>j.test(e),D=e=>e&&"*"===e[0],M=(e,t)=>({route:e,score:e.default?0:z(e.path).reduce((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:$(t)?e+=2:D(t)?e-=5:e+=3,e),0),index:t}),O=e=>e.map(M).sort((e,t)=>e.score<t.score?1:e.score>t.score?-1:e.index-t.index),z=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),B=(e,...t)=>e+((t=t.filter(e=>e&&e.length>0))&&t.length>0?`?${t.join("&")}`:""),F=["uri","path"],I=(e,t)=>{const r=Object.keys(e);return r.length===Object.keys(t).length&&r.every(r=>t.hasOwnProperty(r)&&e[r]===t[r])},L=e=>e.replace(/(^\/+|\/+$)/g,""),H=e=>t=>{if(!t)return null;if(t.type===o.Fragment&&t.props.children)return o.Children.map(t.props.children,H(e));if(a(t.props.path||t.props.default||t.type===C,`<Router>: Children of <Router> must have a \`path\` or \`default\` prop, or be a \`<Redirect>\`. None found on element type \`${t.type}\``),a(!!(t.type!==C||t.props.from&&t.props.to),`<Redirect from="${t.props.from}" to="${t.props.to}"/> requires both "from" and "to" props when inside a <Router>.`),a(!(t.type===C&&!T(t.props.from,t.props.to)),`<Redirect from="${t.props.from} to="${t.props.to}"/> has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),t.props.default)return{value:t,default:!0};const r=t.type===C?t.props.from:t.props.path,n="/"===r?e:`${L(e)}/${L(r)}`;return{value:t,default:t.props.default,path:t.props.children?`${L(n)}/*`:n}},V=["innerRef"],N=["to","state","replace","getProps"],W=["key"];let{forwardRef:U}=n||(n=r.t(o,2));void 0===U&&(U=e=>e);const q=()=>{},G=U((e,t)=>{let{innerRef:r}=e,n=l(e,V);const{baseuri:i}=y(),{location:a}=b(),{to:c,state:u,replace:d,getProps:h=q}=n,p=l(n,N),m=A(c,i),g=encodeURI(m),v=a.pathname===g,x=P(a.pathname,g);return o.createElement("a",s({ref:t||r,"aria-current":v?"page":void 0},p,h({isCurrent:v,isPartiallyCurrent:x,href:m,location:a}),{href:m,onClick:e=>{if(p.onClick&&p.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=d;if("boolean"!=typeof d&&v){const e=l(s({},a.state),W);t=I(s({},u),e)}f(m,{state:u,replace:t})}}}))});G.displayName="Link",G.propTypes={to:i.string.isRequired};class Q extends o.Component{constructor(...e){super(...e),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...e){this.setState({}),this.props.onError(...e)}render(){return this.props.children}}const Y=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function X({children:e}){const[t,r]=o.useState(),n=o.useRef(),i=o.useMemo(()=>({componentDidCatch:n,error:t,setError:r}),[t]);return o.createElement(Y.Provider,{value:i},o.createElement(Q,{error:t,onError:(e,t)=>
2{r(e),null==n.current||n.current(e,t)}},e))}X.displayName="ReactUseErrorBoundaryContext";const K=function(e){var t,r;function n(t){return o.createElement(X,null,o.createElement(e,s({key:"WrappedComponent"},t)))}return n.displayName=`WithErrorBoundary(${null!=(t=null!=(r=e.displayName)?r:e.name)?t:"Component"})`,n}(({history:e=p,children:t})=>{const{location:r}=e,[n,i]=o.useState({location:r}),[a]=function(){const e=o.useContext(Y);e.componentDidCatch.current=void 0;const t=o.useCallback(()=>{e.setError(void 0)},[]);return[e.error,t]}();if(o.useEffect(()=>{e._onTransitionComplete()},[n.location]),o.useEffect(()=>{let t=!1;const r=e.listen(({location:e})=>{Promise.resolve().then(()=>{requestAnimationFrame(()=>{t||i({location:e})})})});return()=>{t=!0,r()}},[]),a){if(!w(a))throw a;f(a.uri,{replace:!0})}return o.createElement(v.Provider,{value:n},"function"==typeof t?t(n):t||null)}),J=({children:e})=>{const t=b();return t?e(t):o.createElement(K,null,e)},Z=({url:e,children:t})=>{const r=e.indexOf("?");let n,i="";return r>-1?(n=e.substring(0,r),i=e.substring(r)):n=e,o.createElement(v.Provider,{value:{location:{pathname:n,search:i,hash:""}}},t)},ee=({path:e,children:t})=>{const{baseuri:r}=y(),{location:n}=b(),o=A(e,r),i=_(o,n.pathname);return t({location:n,match:i?s({},i.params,{uri:i.uri,path:e}):null})},te=["uri","location","component"],re=["children","style","component","uri","location"],ne=e=>{let{uri:t,location:r,component:n}=e,i=l(e,te);return o.createElement(ie,s({},i,{component:n,uri:t,location:r}))};let oe=0;const ie=e=>{let{children:t,style:r,component:n="div",uri:i,location:a}=e,c=l(e,re);const u=o.useRef(),d=o.useRef(!0),h=o.useRef(i),p=o.useRef(a.pathname),f=o.useRef(!1);o.useEffect(()=>(oe++,m(),()=>{oe--,0===oe&&(d.current=!0)}),[]),o.useEffect(()=>{let e=!1,t=!1;i!==h.current&&(h.current=i,e=!0),a.pathname!==p.current&&(p.current=a.pathname,t=!0),f.current=e||t&&a.pathname===i,f.current&&m()},[i,a]);const m=o.useCallback(()=>{var e;d.current?d.current=!1:(e=u.current,f.current&&e&&e.focus())},[]);return o.createElement(n,s({style:s({outline:"none"},r),tabIndex:"-1",ref:u},c),t)},ae=["location","primary","children","basepath","baseuri","component"],se=e=>{const t=y(),r=b();return o.createElement(le,s({},t,r,e))};function le(e){const{location:t,primary:r=!0,children:n,basepath:i,component:a="div"}=e,c=l(e,ae),u=o.Children.toArray(n).reduce((e,t)=>{const r=H(i)(t);return e.concat(r)},[]),{pathname:d}=t,h=E(u,d);if(h){const{params:e,uri:n,route:l,route:{value:u}}=h,d=l.default?i:l.path.replace(/\*$/,""),p=s({},e,{uri:n,location:t}),f=o.cloneElement(u,p,u.props.children?o.createElement(se,{location:t,primary:r},u.props.children):void 0),m=r?ne:a,v=r?s({uri:n,location:t,component:a},c):c;return o.createElement(g.Provider,{value:{baseuri:n,basepath:d}},o.createElement(m,v,f))}return null}const ce=()=>{const e=b();if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},ue=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},de=()=>{const e=y();if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const t=ce(),r=_(e.basepath,t.pathname);return r?r.params:null},he=e=>{if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");const t=y();if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const r=ce(),n=A(e,t.baseuri),o=_(n,r.pathname);return o?s({},o.params,{uri:o.uri,path:e}):null}},6491:function(e,t,r){"use strict";r.d(t,{X:function(){return i}});const n=new Map,o=new Map;function i(e){let t=n.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach(e=>{e.ignoreCase?o.set(e.fromPath,e):n.set(e.fromPath,e)})},6498:function(e,t,r){"use strict";var n=r(7387),o=r(20),i=r(6540),a=r(6462),s=r(7035),l=r(7231),c=r(2024),u=r(6814),d=r(6491),h=r(9369);const p={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"};var f=r(7078);function m(e){const t=(0,d.X)(e),{hash:r,search:n}=window.location;return null!=t&&(window.___replace(t.toPath+n+r),!0)}let g="";window.addEventListener("unhandledrejection",e=>{/loading chunk \d* failed./i.test(e.reason)&&g&&(window.location.pathname=g)});const v=(e,t)=>
2{m(e.pathname)||(g=e.pathname,(0,o.N)("onPreRouteUpdate",{location:e,prevLocation:t}))},y=(e,t)=>{m(e.pathname)||(0,o.N)("onRouteUpdate",{location:e,prevLocation:t})},b=(e,t={})=>{if("number"==typeof e)return void a.globalHistory.navigate(e);const{pathname:r,search:n,hash:i}=(0,f.Rr)(e),s=(0,d.X)(r);if(s&&(e=s.toPath+n+i),window.___swUpdated)return void(window.location=r+n+i);const l=setTimeout(()=>{h.A.emit("onDelayedLoadPageResources",{pathname:r}),(0,o.N)("onRouteUpdateDelayed",{location:window.location})},1e3);u.Ay.loadPage(r+n).then(o=>{if(!o||o.status===u.Wi.Error)return window.history.replaceState({},"",location.href),window.location=r,void clearTimeout(l);o&&o.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=r+n+i),(0,a.navigate)(e,t),clearTimeout(l)})};function x(e,{location:t}){const{pathname:r,hash:n}=t,i=(0,o.N)("shouldUpdateScroll",{prevRouterProps:e,pathname:r,routerProps:{location:t},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(i.length>0)return i[i.length-1];if(e){const{location:{pathname:t}}=e;if(t===r)return n?decodeURI(n.slice(1)):[0,0]}return!0}let w=function(e){function t(t){var r;return(r=e.call(this,t)||this).announcementRef=i.createRef(),r}(0,n.A)(t,e);var r=t.prototype;return r.componentDidUpdate=function(e,t){requestAnimationFrame(()=>{let e=`new page at ${this.props.location.pathname}`;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const r=`Navigated to ${e}`;if(this.announcementRef.current){this.announcementRef.current.innerText!==r&&(this.announcementRef.current.innerText=r)}})},r.render=function(){return i.createElement("div",Object.assign({},p,{ref:this.announcementRef}))},t}(i.Component);const S=(e,t)=>{var r,n;return e.href!==t.href||(null==e||null===(r=e.state)||void 0===r?void 0:r.key)!==(null==t||null===(n=t.state)||void 0===n?void 0:n.key)};let k=function(e){function t(t){var r;return r=e.call(this,t)||this,v(t.location,null),r}(0,n.A)(t,e);var r=t.prototype;return r.componentDidMount=function(){y(this.props.location,null)},r.shouldComponentUpdate=function(e){return!!S(this.props.location,e.location)&&(v(e.location,this.props.location),!0)},r.componentDidUpdate=function(e){S(e.location,this.props.location)&&y(this.props.location,e.location)},r.render=function(){return i.createElement(i.Fragment,null,this.props.children,i.createElement(w,{location:location}))},t}(i.Component);var C=r(8428),P=r(6877);function E(e,t){for(var r in e)if(!(r in t))return!0;for(var n in t)if(e[n]!==t[n])return!0;return!1}var _=function(e){function t(t){var r;r=e.call(this)||this;const{location:n,pageResources:o}=t;return r.state={location:{...n},pageResources:o||u.Ay.loadPageSync(n.pathname+n.search,{withErrorDetails:!0})},r}(0,n.A)(t,e),t.getDerivedStateFromProps=function({location:e},t){if(t.location.href!==e.href){return{pageResources:u.Ay.loadPageSync(e.pathname+e.search,{withErrorDetails:!0}),location:{...e}}}return{location:{...e}}};var r=t.prototype;return r.loadResources=function(e){u.Ay.loadPage(e).then(t=>{t&&t.status!==u.Wi.Error?this.setState({location:{...window.location},pageResources:t}):(window.history.replaceState({},"",location.href),window.location=e)})},r.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,r){return E(e.props,t)||E(e.state,r)}(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)},r.render=function(){return this.props.children(this.state)},t}(i.Component),A=r(8797),R=r(9732);const T=new u.N5(P,[],window.pageData);(0,u.iC)(T),T.setApiRunner(o.N);const{render:j,hydrate:$}=(0,R.n)();window.asyncRequires=P,window.___emitter=h.A,window.___loader=u.Zf,a.globalHistory.listen(e=>{e.location.action=e.action}),window.___push=e=>b(e,{replace:!1}),window.___replace=e=>b(e,{replace:!0}),window.___navigate=(e,t)=>
2b(e,t);const D="gatsby-reload-compilation-hash-match";(0,o.v)("onClientEntry").then(()=>{const e=(e,t)=>{console.error("Uncaught error:",e,t),(0,o.N)("onUncaughtError",{error:e,errorInfo:t})},t=(e,t)=>{(0,o.N)("onCaughtError",{error:e,errorInfo:t})};(0,o.N)("registerServiceWorker").filter(Boolean).length>0&&r(626);const d=e=>i.createElement(a.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},i.createElement(C.A,e)),h=i.createContext({}),p={renderEnvironment:"browser"};let f=function(e){function t(){return e.apply(this,arguments)||this}return(0,n.A)(t,e),t.prototype.render=function(){const{children:e}=this.props;return i.createElement(a.Location,null,({location:t})=>i.createElement(_,{location:t},({pageResources:t,location:r})=>{const n=(0,u.LE)(),o=(0,u.Rh)();return i.createElement(l.G.Provider,{value:n},i.createElement(c.j$.Provider,{value:p},i.createElement(c.dd.Provider,{value:o},i.createElement(c.Jr.Provider,{value:t.page.slicesMap},i.createElement(h.Provider,{value:{pageResources:t,location:r}},e)))))}))},t}(i.Component),m=function(e){function t(){return e.apply(this,arguments)||this}return(0,n.A)(t,e),t.prototype.render=function(){return i.createElement(h.Consumer,null,({pageResources:e,location:t})=>i.createElement(k,{location:t},i.createElement(s.z_,{location:t,shouldUpdateScroll:x},i.createElement(a.Router,{basepath:"",location:t,id:"gatsby-focus-wrapper"},i.createElement(d,Object.assign({path:"/404.html"===e.page.path||"/500.html"===e.page.path?(0,A.A)(t.pathname,""):encodeURI((e.page.matchPath||e.page.path).split("?")[0])},this.props,{location:t,pageResources:e},e.json))))))},t}(i.Component);const{pagePath:g,location:v}=window;g&&""+g!==v.pathname+(g.includes("?")?v.search:"")&&!(T.findMatchPath((0,A.A)(v.pathname,""))||g.match(/^\/(404|500)(\/?|.html)$/)||g.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,a.navigate)(""+g+(g.includes("?")?"":v.search)+v.hash,{replace:!0});const y=()=>{try{return sessionStorage}catch{return null}};u.Zf.loadPage(v.pathname+v.search).then(r=>{var n;const a=y();if(null!=r&&null!==(n=r.page)&&void 0!==n&&n.webpackCompilationHash&&r.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),a)){if(!("1"===a.getItem(D)))return a.setItem(D,"1"),void window.location.reload(!0)}if(a&&a.removeItem(D),!r||r.status===u.Wi.Error){const e=`page resources for ${v.pathname} not found. Not rendering React`;if(r&&r.error)throw console.error(e),r.error;throw new Error(e)}const s=(0,o.N)("wrapRootElement",{element:i.createElement(m,null)},i.createElement(m,null),({result:e})=>({element:e})).pop(),l=function(){const e=i.useRef(!1);return i.useEffect(()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.N)("onInitialClientRender"))},[]),i.createElement(f,null,s)},c=document.getElementById("gatsby-focus-wrapper");let d=(r,n)=>j(r,n,{onUncaughtError:e,onCaughtError:t});c&&c.children.length&&(d=(r,n)=>$(r,n,{onUncaughtError:e,onCaughtError:t}));const h=(0,o.N)("replaceHydrateFunction",void 0,d)[0]||d;function p(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;h(i.createElement(l,null),e)}const g=document;if("complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll)setTimeout(function(){p()},0);else{const e=function(){g.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),p()};g.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}})})},6719:function(e,t,r){"use strict";r.d(t,{t:function(){return n}});const n=(0,r(6540).createContext)(null)},6814:function(e,t,r){"use strict";r.d(t,{Wi:function(){return u},N5:function(){return x},Ay:function(){return k},Rh:function(){return P},LE:function(){return C},Zf:function(){return S},iC:function(){return w}});var n=r(7387),o=r(4506);const i=function(e){if("undefined"==typeof document)return!1;const t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(r){return!1}return!1}("prefetch")?function(e,t){return new Promise((r,n)=>{if("undefined"==typeof document)return void n();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach(e
2=>{o.setAttribute(e,t[e])}),o.onload=r,o.onerror=n;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)})}:function(e){return new Promise((t,r)=>{const n=new XMLHttpRequest;n.open("GET",e,!0),n.onload=()=>{200===n.status?t():r()},n.send(null)})},a={};var s=function(e,t){return new Promise(r=>{a[e]?r():i(e,t).then(()=>{r(),a[e]=!0}).catch(()=>{})})},l=r(9369),c=r(8990);const u={Error:"error",Success:"success"},d=e=>{const[t,r]=e.split("?");var n;return`/page-data/${"/"===t?"index":(n="/"===(n=t)[0]?n.slice(1):n).endsWith("/")?n.slice(0,-1):n}/page-data.json${r?`?${r}`:""}`},h=e=>e.startsWith("//");function p(e,t="GET"){return new Promise(r=>{const n=new XMLHttpRequest;n.open(t,e,!0),n.onreadystatechange=()=>{4==n.readyState&&r(n)},n.send(null)})}const f=/bot|crawler|spider|crawling/i,m=(e,t=null,r)=>{var n;const o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(n=e.slicesMap)&&void 0!==n?n:{}};return{component:t,head:r,json:e.result,page:o}};function g(e){return new Promise(t=>{try{const r=e.readRoot();t(r)}catch(r){if(!Object.hasOwnProperty.call(r,"_response")||!Object.hasOwnProperty.call(r,"_status"))throw r;setTimeout(()=>{g(e).then(t)},200)}})}let v=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.slicesDataDb=new Map,this.sliceInflightDb=new Map,this.slicesDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,c.QX)(t)}var t=e.prototype;return t.memoizedGet=function(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=p(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then(t=>(this.inFlightNetworkRequests.delete(e),t)).catch(t=>{throw this.inFlightNetworkRequests.delete(e),t})},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some(e=>e)},t.fetchPageDataJson=function(e){const{pagePath:t,retries:r=0}=e,n=d(t);return this.memoizedGet(n).then(n=>{const{status:o,responseText:i}=n;if(200===o)try{const r=JSON.parse(i);if(void 0===r.path)throw new Error("not a valid pageData response");const n=t.split("?")[1];return n&&!r.path.includes(n)&&(r.path+=`?${n}`),Object.assign(e,{status:u.Success,payload:r})}catch(a){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:u.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):r<3?this.fetchPageDataJson(Object.assign(e,{retries:r+1})):Object.assign(e,{status:u.Error})})},t.fetchPartialHydrationJson=function(e){const{pagePath:t,retries:r=0}=e,n=d(t).replace(".json","-rsc.json");return this.memoizedGet(n).then(n=>{const{status:o,responseText:i}=n;if(200===o)try{return Object.assign(e,{status:u.Success,payload:i})}catch(a){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:u.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):r<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:r+1})):Object.assign(e,{status:u.Error})})},t.loadPageDataJson=function(e){const t=(0,c.Hh)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then(e=>(this.pageDataDb.set(t,e),e))},t.loadPartialHydrationJson=function(e){const t=(0,c.Hh)(e);if(this.partialHydrationDb.has(t)){const e=this.partialHydrationDb.get(t);return Promise.resolve(e)}return this.fetchPartialHydrationJson({pagePath:t}).then(e=>(this.partialHydrationDb.set(t,e),e))}
2,t.loadSliceDataJson=function(e){if(this.slicesDataDb.has(e)){const t=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:t})}return p(`/slice-data/${e}.json`,"GET").then(t=>{const r=JSON.parse(t.responseText);return this.slicesDataDb.set(e,r),{sliceName:e,jsonPayload:r}})},t.findMatchPath=function(e){return(0,c.Yl)(e)},t.loadPage=function(e){const t=(0,c.Hh)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return e.error?Promise.resolve({error:e.error,status:e.status}):Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const n=[this.loadAppData(),this.loadPageDataJson(t)];const i=Promise.all(n).then(e=>{const[n,i,a]=e;if(i.status===u.Error||(null==a?void 0:a.status)===u.Error)return{status:u.Error};let s=i.payload;const{componentChunkName:c,staticQueryHashes:d=[],slicesMap:h={}}=s,p={},f=Array.from(new Set(Object.values(h))),v=e=>{if(this.slicesDb.has(e.name))return this.slicesDb.get(e.name);if(this.sliceInflightDb.has(e.name))return this.sliceInflightDb.get(e.name);const t=this.loadComponent(e.componentChunkName).then(t=>{return{component:(r=t,r&&r.default||r),sliceContext:e.result.sliceContext,data:e.result.data};var r});return this.sliceInflightDb.set(e.name,t),t.then(t=>{this.slicesDb.set(e.name,t),this.sliceInflightDb.delete(e.name)}),t};return Promise.all(f.map(e=>this.loadSliceDataJson(e))).then(e=>{const h=[],f=(0,o.A)(d);for(const{jsonPayload:t,sliceName:r}of Object.values(e)){h.push({name:r,...t});for(const e of t.staticQueryHashes)f.includes(e)||f.push(e)}const y=[Promise.all(h.map(v)),this.loadComponent(c,"head")];y.push(this.loadComponent(c));const b=Promise.all(y).then(e=>{const[t,o,l]=e;p.createdAt=new Date;for(const r of t)(!r||r instanceof Error)&&(p.status=u.Error,p.error=r);let c;if((!l||l instanceof Error)&&(p.status=u.Error,p.error=l),p.status!==u.Error){if(p.status=u.Success,!0!==i.notFound&&!0!==(null==a?void 0:a.notFound)||(p.notFound=!0),s=Object.assign(s,{webpackCompilationHash:n?n.webpackCompilationHash:""}),"string"==typeof(null==a?void 0:a.payload)){c=m(s,null,o),c.partialHydration=a.payload;const e=new ReadableStream({start(e){const t=new TextEncoder;e.enqueue(t.encode(a.payload))},pull(e){e.close()},cancel(){}});return r.e(522).then(r.t.bind(r,8522,23)).then(({createFromReadableStream:t})=>g(t(e))).then(e=>(c.partialHydration=e,c))}c=m(s,l,o)}return c}),x=Promise.all(f.map(e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet(`/page-data/sq/d/${e}.json`).then(t=>{const r=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:r}}).catch(()=>{throw new Error(`We couldn't load "/page-data/sq/d/${e}.json"`)})})).then(e=>{const t={};return e.forEach(({staticQueryHash:e,jsonPayload:r})=>{t[e]=r,this.staticQueryDb[e]=r}),t});return Promise.all([b,x]).then(([e,r])=>{let n;return e&&(n={...e,staticQueryResults:r},p.payload=n,l.A.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(t,p),p.error?{error:p.error,status:p.status}:n}).catch(e=>({error:e,status:u.Error}))})});return i.then(()=>{this.inFlightDb.delete(t)}).catch(e=>{throw this.inFlightDb.delete(t),e}),this.inFlightDb.set(t,i),i},t.loadPageSync=function(e,t={}){const r=(0,c.Hh)(e);if(this.pageDb.has(r)){const e=this.pageDb.get(r);if(e.payload)return e.payload;if(null!=t&&t.withErrorDetails)return{error:e.error,status:e.status}}},t.shouldPrefetch=function(e){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&((!navigator.userAgent||!f.test(navigator.userAgent))&&!this.pageDb.has(e))},t.prefetch=function(e){if(!this.shouldPrefetch(e))return{then:e=>e(!1),abort:()=>{}};if(this.prefetchTriggered.has(e))return{then:e=>e(!0),abort:()=>{}};const t={resolve:null,reject:null,promise:null};t.promise=new Promise((e,r)=>{t.resolve=e,t.reject=r}),this.prefetchQueued.push([e,t]);const r=new AbortController;return r.signal.addEventListener("abort",()=>{const t=this.prefetchQueued.findIndex(([t])=>t===e);-1!==t&&this.prefetchQueued.splice(t,1)}),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout(()=>{this._processNextPrefetchBatch()},3e3)),{then:(e,r)=>t.promise.then(e,r),abort:r.abort.bind(r)}},t._processNextPrefetchBatch=function(){(window.requestIdleCallback||(e=>setTimeout(e,0)))(()=>{const e=this.prefetchQueued.splice(0,4),t=Promise.all(e.map(([e,t])=>(this.prefetchTriggered.has(e)||(this.apiRunner("onPrefetchPathname",{pathname:e}),this.prefetchTriggered.add(e)),this.prefetchDisabled?t.resolve(!1):this.doPrefetch((0,c.Hh)(e)).then(()=>{this.prefetchCompleted.has(e)||(this.apiRunner("onPostPrefetchPathname",{pathname:e}),this.prefetchCompleted.add(e)),t.resolve(!0)}))));this.prefetchQueued.length?t.then(()=>{setTimeout(()=>{this._processNextPrefetchBatch()},3e3)}):this.isPrefetchQueueRunning=!1})},t.doPrefetch=function(e){const t=d(e);return s(t,{crossOrigin:"anonymous",as:"fetch"}).then(()=>this.loadPageDataJson(e))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=(0,c.Hh)(e),r=this.pageDataDb.get(t);if(r){const e=m(r.payload);return[].concat((0,o.A)(y(e.page.componentChunkName)),[d(t)])}return null},t.isPageNotFound=function(e){const t=(0,c.Hh)(e),r=this.pageDb.get(t);return!r||r.notFound}
2,t.loadAppData=function(e=0){return this.memoizedGet("/page-data/app-data.json").then(t=>{const{status:r,responseText:n}=t;let o;if(200!==r&&e<3)return this.loadAppData(e+1);if(200===r)try{const e=JSON.parse(n);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(i){}return o})},e}();const y=e=>(window.___chunkMapping[e]||[]).map(e=>""+e);let b,x=function(e){function t(t,r,n){var o;return o=e.call(this,(e,r="components")=>{if(!t[r="components"][e])throw new Error(`We couldn't find the correct component chunk with the name "${e}"`);return t[r][e]().catch(e=>e)},r)||this,n&&o.pageDataDb.set((0,c.Hh)(n.path),{pagePath:n.path,payload:n,status:"success"}),o}(0,n.A)(t,e);var r=t.prototype;return r.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then(e=>{if(e.status!==u.Success)return Promise.resolve();const t=e.payload,r=t.componentChunkName,n=y(r);return Promise.all(n.map(s)).then(()=>t)})},r.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then(e=>e.notFound?h(t)?e:p(t,"HEAD").then(t=>200===t.status?{status:u.Error}:e):e)},r.loadPartialHydrationJson=function(t){return e.prototype.loadPartialHydrationJson.call(this,t).then(e=>e.notFound?h(t)?e:p(t,"HEAD").then(t=>200===t.status?{status:u.Error}:e):e)},t}(v);const w=e=>{b=e},S={enqueue:e=>b.prefetch(e),getResourceURLsForPathname:e=>b.getResourceURLsForPathname(e),loadPage:e=>b.loadPage(e),loadPageSync:(e,t={})=>b.loadPageSync(e,t),prefetch:e=>b.prefetch(e),isPageNotFound:e=>b.isPageNotFound(e),hovering:e=>b.hovering(e),loadAppData:()=>b.loadAppData()};var k=S;function C(){return b?b.staticQueryDb:{}}function P(){return b?b.slicesDb:{}}},6877:function(e,t,r){t.components={"component---src-components-career-detail-career-detail-tsx":()=>Promise.all([r.e(869),r.e(379),r.e(69),r.e(223),r.e(92),r.e(464),r.e(863),r.e(902)]).then(r.bind(r,436)),"component---src-pages-404-tsx":()=>Promise.all([r.e(869),r.e(379),r.e(69),r.e(223),r.e(92),r.e(818),r.e(453)]).then(r.bind(r,731)),"component---src-pages-brand-partners-tsx":()=>Promise.all([r.e(869),r.e(379),r.e(69),r.e(449),r.e(223),r.e(818),r.e(992),r.e(222)]).then(r.bind(r,3475)),"component---src-pages-careers-tsx":()=>Promise.all([r.e(869),r.e(379),r.e(69),r.e(449),r.e(223),r.e(92),r.e(818),r.e(464),r.e(992),r.e(108)]).then(r.bind(r,2403)),"component---src-pages-channels-tsx":()=>Promise.all([r.e(869),r.e(379),r.e(69),r.e(223),r.e(92),r.e(818),r.e(831)]).then(r.bind(r,90)),"component---src-pages-fanart-tsx":()=>Promise.all([r.e(869),r.e(379),r.e(69),r.e(223),r.e(92),r.e(818),r.e(863),r.e(605)]).then(r.bind(r,8590)),"component---src-pages-index-tsx":()=>Promise.all([r.e(869),r.e(379),r.e(69),r.e(449),r.e(223),r.e(92),r.e(818),r.e(464),r.e(992),r.e(245)]).then(r.bind(r,9544))}},7035:function(e,t,r){"use strict";t.RV=t.z_=void 0;var n=r(3215);t.z_=n.ScrollHandler;var o=r(3721);t.RV=o.useScrollRestoration},7037:function(e,t,r){"use strict";r.d(t,{R1:function(){return s},rs:function(){return l}});var n=r(7437),o=r(4848),i=String.raw,a=i` 3 :root, 4 :host { 5 --chakra-vh: 100vh; 6 } 7 8 @supports (height: -webkit-fill-available) { 9 :root, 10 :host { 11 --chakra-vh: -webkit-fill-available; 12 } 13 } 14 15 @supports (height: -moz-fill-available) { 16 :root, 17 :host { 18 --chakra-vh: -moz-fill-available; 19 } 20 } 21 22 @supports (height: 100dvh) { 23 :root, 24 :host { 25 --chakra-vh: 100dvh; 26 } 27 } 28`,s=()=>(0,o.jsx)(n.mL,{styles:a}),l=({scope:e=""})=>(0,o.jsx)(n.mL,{styles:i` 29 html { 30 line-height: 1.5; 31 -webkit-text-size-adjust: 100%; 32 font-family: system-ui, sans-serif; 33 -webkit-font-smoothing: antialiased; 34 text-rendering: optimizeLegibility; 35 -moz-osx-font-smoothing: grayscale; 36 touch-action: manipulation; 37 } 38 39 body { 40 position: relative; 41 min-height: 100%; 42 margin: 0; 43 font-feature-settings: "kern"; 44 } 45 46 ${e} :where(*, *::before, *::after) { 47 border-width: 0; 48 border-style: solid; 49 box-sizing: border-box; 50 word-wrap: break-word; 51 } 52 53 main { 54 display: block; 55 } 56 57 ${e} hr { 58 border-top-width: 1px; 59 box-sizing: content-box; 60 height: 0; 61 overflow: visible; 62 } 63 64 ${e} :where(pre, code, kbd,samp) { 65 font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace; 66 font-size: 1em; 67 } 68 69 ${e} a { 70 background-color: transparent; 71 color: inherit; 72 text-decoration: inherit; 73 } 74 75 ${e} abbr[title] { 76 border-bottom: none; 77 text-decoration: underline; 78 -webkit-text-decoration: underline dotted; 79 text-decoration: underline dotted; 80 } 81 82 ${e} :where(b, strong) { 83 font-weight: bold; 84 } 85 86 ${e} small { 87 font-size: 80%; 88 } 89 90 ${e} :where(sub,sup) { 91 font-size: 75%; 92 line-height: 0; 93 position: relative; 94 vertical-align: baseline; 95 } 96 97 ${e} sub { 98 bottom: -0.25em; 99 } 100 101 ${e} sup { 102 top: -0.5em; 103 } 104 105 ${e} img { 106 border-style: none; 107 } 108 109 ${e} :where(button, input, optgroup, select, textarea) { 110 font-family: inherit; 111 font-size: 100%; 112 line-height: 1.15; 113 margin: 0; 114 } 115 116 ${e} :where(button, input) { 117 overflow: visible; 118 } 119 120 ${e} :where(button, select) { 121 text-transform: none; 122 } 123 124 ${e} :where( 125 button::-moz-focus-inner, 126 [type="button"]::-moz-focus-inner, 127 [type="reset"]::-moz-focus-inner, 128 [type="submit"]::-moz-focus-inner 129 ) { 130 border-style: none; 131 padding: 0; 132 } 133 134 ${e} fieldset { 135 padding: 0.35em 0.75em 0.625em; 136 } 137 138 ${e} legend { 139 box-sizing: border-box; 140 color: inherit; 141 display: table; 142 max-width: 100%; 143 padding: 0; 144 white-space: normal; 145 } 146 147 ${e} progress { 148 vertical-align: baseline; 149 } 150 151 ${e} textarea { 152 overflow: auto; 153 } 154 155 ${e}
155 :where([type="checkbox"], [type="radio"]) { 156 box-sizing: border-box; 157 padding: 0; 158 } 159 160 ${e} input[type="number"]::-webkit-inner-spin-button, 161 ${e} input[type="number"]::-webkit-outer-spin-button { 162 -webkit-appearance: none !important; 163 } 164 165 ${e} input[type="number"] { 166 -moz-appearance: textfield; 167 } 168 169 ${e} input[type="search"] { 170 -webkit-appearance: textfield; 171 outline-offset: -2px; 172 } 173 174 ${e} input[type="search"]::-webkit-search-decoration { 175 -webkit-appearance: none !important; 176 } 177 178 ${e} ::-webkit-file-upload-button { 179 -webkit-appearance: button; 180 font: inherit; 181 } 182 183 ${e} details { 184 display: block; 185 } 186 187 ${e} summary { 188 display: list-item; 189 } 190 191 template { 192 display: none; 193 } 194 195 [hidden] { 196 display: none !important; 197 } 198 199 ${e} :where( 200 blockquote, 201 dl, 202 dd, 203 h1, 204 h2, 205 h3, 206 h4, 207 h5, 208 h6, 209 hr, 210 figure, 211 p, 212 pre 213 ) { 214 margin: 0; 215 } 216 217 ${e} button { 218 background: transparent; 219 padding: 0; 220 } 221 222 ${e} fieldset { 223 margin: 0; 224 padding: 0; 225 } 226 227 ${e} :where(ol, ul) { 228 margin: 0; 229 padding: 0; 230 } 231 232 ${e} textarea { 233 resize: vertical; 234 } 235 236 ${e} :where(button, [role="button"]) { 237 cursor: pointer; 238 } 239 240 ${e} button::-moz-focus-inner { 241 border: 0 !important; 242 } 243 244 ${e} table { 245 border-collapse: collapse; 246 } 247 248 ${e} :where(h1, h2, h3, h4, h5, h6) { 249 font-size: inherit; 250 font-weight: inherit; 251 } 252 253 ${e} :where(button, input, optgroup, select, textarea) { 254 padding: 0; 255 line-height: inherit; 256 color: inherit; 257 } 258 259 ${e} :where(img, svg, video, canvas, audio, iframe, embed, object) { 260 display: block; 261 } 262 263 ${e} :where(img, video) { 264 max-width: 100%; 265 height: auto; 266 } 267 268 [data-js-focus-visible] 269 :focus:not([data-focus-visible-added]):not( 270 [data-focus-visible-disabled] 271 ) { 272 outline: none; 273 box-shadow: none; 274 } 275 276 ${e} select::-ms-expand { 277 display: none; 278 } 279 280 ${a} 281 `})},7078:function(e,t,r){"use strict";r.d(t,{Fe:function(){return p},N_:function(){return S},Rr:function(){return l},Zf:function(){return y},oo:function(){return k}});var n=r(5556),o=r(6540),i=r(6462),a=r(6395);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function l(e){let t=e||"/",r="",n="";const o=t.indexOf("#");-1!==o&&(n=t.slice(o),t=t.slice(0,o));const i=t.indexOf("?");return-1!==i&&(r=t.slice(i),t=t.slice(0,i)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}const c=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>{if("string"==typeof e)return!(e=>c.test(e))(e)},d=()=>"",h=()=>"";function p(e,t=d()){var r;if(!u(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const n=null!=(r=null!=t?t:h())?r:"/";return`${null!=n&&n.endsWith("/")?n.slice(0,-1):n}${e.startsWith("/")?e:`/${e}`}`}const f=e=>null==e?void 0:e.startsWith("/");function m(e,t){const{pathname:r,search:n,hash:o}=l(e);return`${(0,a.T)(r,t)}${n}${o}`}const g=(e,t)=>"number"==typeof e?e:u(e)?f(e)?function(e){const t=p(e),r="always";return m(t,r)}(e):function(e,t){if(f(e))return e;const r="always",n=(0,i.resolve)(e,t);return m(n,r)}(e,t):e,v=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function y(e){return p(e,h())}const b={activeClassName:n.string,activeStyle:n.object,partiallyActive:n.bool};function x(e){return o.createElement(i.Location,null,({location:t})=>o.createElement(w,s({},e,{_location:t})))}class w extends o.Component{constructor(e){super(e),this.defaultGetProps=({isPartiallyCurrent:e,isCurrent:t})=>(this.props.partiallyActive?e:t)?{className:[this.props.className,this.props.activeClassName].filter(
281Boolean).join(" "),style:s({},this.props.style,this.props.activeStyle)}:null;let t=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(t=!0),this.state={IOSupported:t},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);const t=l(g(this.props.to,e)),r=t.pathname+t.search;if(e!==r)return ___loader.enqueue(r)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const r=new window.IntersectionObserver(r=>{r.forEach(r=>{e===r.target&&t(r.isIntersecting||r.intersectionRatio>0)})});return r.observe(e),{instance:r,el:e}})(e,e=>{e?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()}))}render(){const e=this.props,{to:t,getProps:r=this.defaultGetProps,onClick:n,onMouseEnter:a,state:c,replace:d,_location:h}=e,p=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])>=0||(o[r]=e[r]);return o}(e,v),f=g(t,h.pathname);return u(f)?o.createElement(i.Link,s({to:f,state:c,getProps:r,innerRef:this.handleRef,onMouseEnter:e=>{a&&a(e);const t=l(f);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(n&&n(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=d;const r=encodeURI(f)===h.pathname;"boolean"!=typeof d&&r&&(t=!0),window.___navigate(f,{state:c,replace:t})}return!0}},p)):o.createElement("a",s({href:f},p))}}w.propTypes=s({},b,{onClick:n.func,to:n.string.isRequired,replace:n.bool,state:n.object});const S=o.forwardRef((e,t)=>o.createElement(x,s({innerRef:t},e))),k=(e,t)=>{window.___navigate(g(e,window.location.pathname),t)}},7231:function(e,t,r){"use strict";r.d(t,{de:function(){return l},G:function(){return o},GR:function(){return c}});var n=r(6540);const o=(i="StaticQuery",a={},n.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=n.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(i,a):n.createContext(a));var i,a;function s({staticQueryData:e,data:t,query:r,render:o}){const i=t?t.data:e[r]&&e[r].data;return n.createElement(n.Fragment,null,i&&o(i),!i&&n.createElement("div",null,"Loading (StaticQuery)"))}const l=e=>{const{data:t,query:r,render:i,children:a}=e;return n.createElement(o.Consumer,null,e=>n.createElement(s,{data:t,query:r,render:i||a,staticQueryData:e}))},c=e=>{var t;n.useContext;const r=n.useContext(o);if(isNaN(Number(e)))throw new Error(`useStaticQuery was called with a string but expects to be called using \`graphql\`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql\`${e}\`);\n`);if(null!==(t=r[e])&&void 0!==t&&t.data)return r[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")}},7311:function(e,t,r){"use strict";r.d(t,{Jg:function(){return n}});function n(e,...t){return"function"==typeof e?e(...t):e}},7387:function(e,t,r){"use strict";r.d(t,{A:function(){return o}});var n=r(3662);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,n.A)(e,t)}},7437:function(e,t,r){"use strict";r.d(t,{i7:function(){return u},mL:function(){return l}});var n=r(6120),o=r(6540),i=r(41),a=r(1287),s=r(3451),l=(r(4300),r(4634),r(4146),(0,n.w)(function(e,t){var r=e.styles,l=(0,s.J)([r],void 0,o.useContext(n.T));if(!n.i){for(var c,u=l.name,d=l.styles,h=l.next;void 0!==h;)u+=" "+h.name,d+=h.styles,h=h.next;var p=!0===t.compat,f=t.insert("",{name:u,styles:d},t.sheet,p);return p?null:o.createElement("style",((c={})["data-emotion"]=t.key+"-global "+u,c.dangerouslySetInnerHTML={__html:f},c.nonce=t.sheet.nonce,c))}var m=o.useRef();return(0,a.i)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==o&&(n=!0,o.setAttribute("data-emotion",e),r.hydrate([o])),m.current=[r,n],function(){r.flush()}},[t]),(0,a.i)(function(){var e=m.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,i.sk)(t,l.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",l,r,!1)}},[t,l.name]),null}));function c(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,s.J)(t)}var u=function(){var e=c.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},7655:function(e,t,r){"use strict";r.r(t),r.d(t,{onClientEntry:function(){return S},onRouteUpdate:function(){return k},wrapPageElement:function(){return x}});var n=r(6540),o=r(9890),i=r(6287),a=r(763),s=r(7922),l=r(5942);function c(){return"undefined"!=typeof window}function u(){try{const e="production";if("development"===e||"test"===e)return"development"}catch(e){}return"production"}function d(){return(c()?window.vam:u())||"production"}function h(){return"development"===d()}function p(e={debug:!0}){var t;if(!c())return;!function(e="auto"){window.vam="auto"!==e?e:u()}(e.mode),window.va||(window.va=function(...e){(window.vaq=window.vaq||[]).push(e)}),e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend));const r=h()?"https://va.vercel-scripts.com/v1/script.debug.js":"/_vercel/insights/script.
281js";if(document.head.querySelector(`script[src*="${r}"]`))return;const n=document.createElement("script");n.src=r,n.defer=!0,n.setAttribute("data-sdkn","@vercel/analytics"),n.setAttribute("data-sdkv","1.1.2"),n.onerror=()=>{const e=h()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${r}. ${e}`)},h()&&!1===e.debug&&n.setAttribute("data-debug","false"),document.head.appendChild(n)}function f({beforeSend:e,debug:t=!0,mode:r="auto"}){return(0,n.useEffect)(()=>{p({beforeSend:e,debug:t,mode:r})},[e,t,r]),null}var m=r(4016);const g=new l.QueryClient({defaultOptions:{queries:{staleTime:1/0}}}),v=({children:e})=>{const{setAnimationFinished:t}=(0,m.f)();return(0,n.useEffect)(()=>{if("undefined"!=typeof window){function e(){window.dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],e("event","animation_loaded"),t(!0)}},[t]),n.createElement(n.Fragment,null,n.createElement(i.az,{minHeight:"100vh",position:"relative"},e))};var y=({children:e})=>{const{setColorMode:t}=(0,a.G6)();return(0,n.useEffect)(()=>t("dark")),n.createElement(m.S,null,n.createElement(s.s,{resetCSS:!0,theme:o.A},n.createElement(f,null),n.createElement(l.QueryClientProvider,{client:g},n.createElement(v,null,e))))},b=r(7037);const x=({element:e})=>n.createElement(n.Fragment,null,n.createElement(b.rs,null),n.createElement(y,null,e)),w=()=>{const e=!!window.location.hash&&window.location.hash.substring(1);e&&setTimeout(()=>{const t=document.querySelector(`#${e}`);if(t){const e=120,r=window.pageYOffset||document.documentElement.scrollTop,n=t.getBoundingClientRect().top+r-e;window.scrollTo({top:n,behavior:"smooth"})}},100)},S=()=>{window.onload=()=>{w()}},k=()=>{w()}},7745:function(e,t,r){"use strict";r.d(t,{WG:function(){return s},Gt:function(){return a},uv:function(){return l},Ci:function(){return c}});var n=r(3659);class o{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){const t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}const i=["prepare","read","update","preRender","render","postRender"];const{schedule:a,cancel:s,state:l,steps:c}=function(e,t){let r=!1,n=!0;const a={delta:0,timestamp:0,isProcessing:!1},s=i.reduce((e,t)=>(e[t]=function(e){let t=new o,r=new o,n=0,i=!1,a=!1;const s=new WeakSet,l={schedule:(e,o=!1,a=!1)=>{const l=a&&i,c=l?t:r;return o&&s.add(e),c.add(e)&&l&&i&&(n=t.order.length),e},cancel:e=>{r.remove(e),s.delete(e)},process:o=>{if(i)a=!0;else{if(i=!0,[t,r]=[r,t],r.clear(),n=t.order.length,n)for(let r=0;r<n;r++){const n=t.order[r];n(o),s.has(n)&&(l.schedule(n),e())}i=!1,a&&(a=!1,l.process(o))}}};return l}(()=>r=!0),e),{}),l=e=>s[e].process(a),c=()=>{const o=performance.now();r=!1,a.delta=n?1e3/60:Math.max(Math.min(o-a.timestamp,40),1),a.timestamp=o,a.isProcessing=!0,i.forEach(l),a.isProcessing=!1,r&&t&&(n=!1,e(c))};return{schedule:i.reduce((t,o)=>{const i=s[o];return t[o]=(t,o=!1,s=!1)=>(r||(r=!0,n=!0,a.isProcessing||e(c)),i.schedule(t,o,s)),t},{}),cancel:e=>i.forEach(t=>s[t].cancel(e)),state:a,steps:s}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},7914:function(e,t,r){"use strict";r.r(t),r.d(t,{onRouteUpdate:function(){return n}});r(4794),r(4598);const n=function({location:e},t){0}},7922:function(e,t,r){"use strict";r.d(t,{s:function(){return le}});var n=r(7037),o=r(8643),i=r(1639),a=r(763),s="chakra-ui-light",l="chakra-ui-dark";var c="chakra-ui-color-mode";var u,d=(u=c,{ssr:!1,type:"localStorage",get(e){if(!(null==globalThis?void 0:globalThis.document))return e;let t;try{t=localStorage.getItem(u)||e}catch(r){}return t||e},set(e){try{localStorage.setItem(u,e)}catch(t){}}});function h(e,t){const r=e.match(new RegExp(`(^| )${t}=([^;]+)`));return null==r?void 0:r[2]}function p(e,t){return{ssr:!!t,type:"cookie",get(r){return t?h(t,e):(null==globalThis?void 0:globalThis.document)&&h(document.cookie,e)||r},set(t){document.cookie=`${e}=${t}; max-age=31536000; path=/`}}}p(c);var f=r(1600),m=r(6540),g=r(4848),v=()=>{};function y(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}function b(e){const{value:t,children:r,options:{useSystemColorMode:n,initialColorMode:o,disableTransitionOnChange:i}={},colorModeManager:c=d}=e,u="dark"===o?"dark":"light",[h,p]=(0,m.useState)(()=>y(c,u)),[b,x]=(0,m.useState)(()=>y(c)),{getSystemTheme:w,setClassName:S,setDataset:k,addListener:C}=(0,m.useMemo)(()=>function(e={}){const{preventTransition:t=!0}=e,r={setDataset:e=>{const n=t?r.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,null==n||n()},setClassName(e){document.body.classList.add(e?l:s),document.body.classList.remove(e?s:l)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(e){var t;return(null!=(t=r.query().matches)?t:"dark"===e)?"dark":"light"},addListener(e){const t=r.query(),n=t=>
281{e(t.matches?"dark":"light")};return"function"==typeof t.addListener?t.addListener(n):t.addEventListener("change",n),()=>{"function"==typeof t.removeListener?t.removeListener(n):t.removeEventListener("change",n)}},preventTransition(){const e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(e)})})}}};return r}({preventTransition:i}),[i]),P="system"!==o||h?h:b,E=(0,m.useCallback)(e=>{const t="system"===e?w():e;p(t),S("dark"===t),k(t),c.set(t)},[c,w,S,k]);(0,f.U)(()=>{"system"===o&&x(w())},[]),(0,m.useEffect)(()=>{const e=c.get();E(e||("system"!==o?u:"system"))},[c,u,o,E]);const _=(0,m.useCallback)(()=>{E("dark"===P?"light":"dark")},[P,E]);(0,m.useEffect)(()=>{if(n)return C(E)},[n,C,E]);const A=(0,m.useMemo)(()=>({colorMode:null!=t?t:P,toggleColorMode:t?v:_,setColorMode:t?v:E,forced:void 0!==t}),[P,_,E,t]);return(0,g.jsx)(a.Ig.Provider,{value:A,children:r})}b.displayName="ColorModeProvider";var x=r(3499),w=e=>{const{children:t,colorModeManager:r,portalZIndex:a,resetScope:s,resetCSS:l=!0,theme:c={},environment:u,cssVarsRoot:d,disableEnvironment:h,disableGlobalStyle:p}=e,f=(0,g.jsx)(x.v,{environment:u,disabled:h,children:t});return(0,g.jsx)(i.NP,{theme:c,cssVarsRoot:d,children:(0,g.jsxs)(b,{colorModeManager:r,options:c.config,children:[l?(0,g.jsx)(n.rs,{scope:s}):(0,g.jsx)(n.R1,{}),!p&&(0,g.jsx)(i.zy,{}),a?(0,g.jsx)(o.w,{zIndex:a,children:f}):f]})})},S=r(2575),k=(e,t)=>e.find(e=>e.id===t);function C(e,t){const r=P(e,t);return{position:r,index:r?e[r].findIndex(e=>e.id===t):-1}}function P(e,t){for(const[r,n]of Object.entries(e))if(k(n,t))return r}function E(e){return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,bottom:e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,right:e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",left:e.includes("right")?void 0:"env(safe-area-inset-left, 0px)"}}var _=r(1295);var A=r(8933),R=r(9857),T=r(9120),j=r(3658),$=r(3720),D={initial:e=>{const{position:t}=e,r=["top","bottom"].includes(t)?"y":"x";let n=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(n=1),{opacity:0,[r]:24*n}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},M=(0,m.memo)(e=>{const{id:t,message:r,onCloseComplete:n,onRequestRemove:o,requestClose:i=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:c=D,toastSpacing:u="0.5rem"}=e,[d,h]=(0,m.useState)(s),p=(0,T.tF)();(0,A.w)(()=>{p||null==n||n()},[p]),(0,A.w)(()=>{h(s)},[s]);const f=()=>{p&&o()};(0,m.useEffect)(()=>{p&&i&&o()},[p,i,o]),function(e,t){const r=(0,_.c)(e);(0,m.useEffect)(()=>{if(null==t)return;let e=null;return e=window.setTimeout(()=>{r()},t),()=>{e&&window.clearTimeout(e)}},[t,r])}(f,d);const v=(0,m.useMemo)(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:u,...l}),[l,u]),y=(0,m.useMemo)(()=>function(e){let t="center";return e.includes("right")&&(t="flex-end"),e.includes("left")&&(t="flex-start"),{display:"flex",flexDirection:"column",alignItems:t}}(a),[a]);return(0,g.jsx)(j.P.div,{layout:!0,className:"chakra-toast",variants:c,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>h(null),onHoverEnd:()=>h(s),custom:{position:a},style:y,children:(0,g.jsx)($.B.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:v,children:(0,R.Jg)(r,{id:t,onClose:f})})})});M.displayName="ToastComponent";var O=r(4393);function z(e){return(0,g.jsx)(O.I,{viewBox:"0 0 24 24",...e,children:(0,g.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.
281027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var B=r(61),F=r(5599),[I,L]=(0,B.q)({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[H,V]=(0,B.q)({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),N={info:{icon:function(e){return(0,g.jsx)(O.I,{viewBox:"0 0 24 24",...e,children:(0,g.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})},colorScheme:"blue"},warning:{icon:z,colorScheme:"orange"},success:{icon:function(e){return(0,g.jsx)(O.I,{viewBox:"0 0 24 24",...e,children:(0,g.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})},colorScheme:"green"},error:{icon:z,colorScheme:"red"},loading:{icon:F.y,colorScheme:"blue"}};var W=r(8855),U=r(4515),q=r(3352),G=(0,W.R)(function(e,t){var r;const{status:n="info",addRole:o=!0,...i}=(0,U.MN)(e),a=null!=(r=e.colorScheme)?r:function(e){return N[e].colorScheme}(n),s=(0,q.o5)("Alert",{...e,colorScheme:a}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return(0,g.jsx)(I,{value:{status:n},children:(0,g.jsx)(H,{value:s,children:(0,g.jsx)($.B.div,{"data-status":n,role:o?"alert":void 0,ref:t,...i,className:(0,R.cx)("chakra-alert",e.className),__css:l})})})});function Q(e){const{status:t}=L(),r=function(e){return N[e].icon}(t),n=V(),o="loading"===t?n.spinner:n.icon;return(0,g.jsx)($.B.span,{display:"inherit","data-status":t,...e,className:(0,R.cx)("chakra-alert__icon",e.className),__css:o,children:e.children||(0,g.jsx)(r,{h:"100%",w:"100%"})})}G.displayName="Alert",Q.displayName="AlertIcon";var Y=(0,W.R)(function(e,t){const r=V(),{status:n}=L();return(0,g.jsx)($.B.div,{ref:t,"data-status":n,...e,className:(0,R.cx)("chakra-alert__title",e.className),__css:r.title})});Y.displayName="AlertTitle";var X=(0,W.R)(function(e,t){const r=V(),{status:n}=L(),o={display:"inline",...r.description};return(0,g.jsx)($.B.div,{ref:t,"data-status":n,...e,className:(0,R.cx)("chakra-alert__desc",e.className),__css:o})});X.displayName="AlertDescription";var K=r(1196),J=function(e){let t=e;const r=new Set,n=e=>{t=e(t),r.forEach(e=>e())};return{getState:()=>t,subscribe:t=>(r.add(t),()=>{n(()=>e),r.delete(t)}),removeToast:(e,t)=>{n(r=>({...r,[t]:r[t].filter(t=>t.id!=e)}))},notify:(e,t)=>{const r=function(e,t={}){var r,n;Z+=1;const o=null!=(r=t.id)?r:Z,i=null!=(n=t.position)?n:"bottom";return{id:o,message:e,position:i,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>J.removeToast(String(o),i),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:o,id:i}=r;return n(e=>{var t,n;const i=o.includes("top")?[r,...null!=(t=e[o])?t:[]]:[...null!=(n=e[o])?n:[],r];return{...e,[o]:i}}),i},update:(e,t)=>{e&&n(r=>{const n={...r},{position:o,index:i}=C(n,e);return o&&-1!==i&&(n[o][i]={...n[o][i],...t,message:te(t)}),n})},closeAll:({positions:e}={})=>{n(t=>(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((e,r)=>(e[r]=t[r].map(e=>({...e,requestClose:!0})),e),{...t}))},close:e=>{n(t=>{const r=P(t,e);return r?{...t,[r]:t[r].map(t=>t.id==e?{...t,requestClose:!0}:t)}:t})},isActive:e=>Boolean(C(J.getState(),e).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]});var Z=0;var ee=e=>{const{status:t,variant:r="solid",id:n,title:o,isClosable:i,onClose:a,description:s,colorScheme:l,icon:c}=e,u=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return(0,g.jsxs)(G,{addRole:!1,status:t,variant:r,id:null==u?void 0:u.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[(0,g.jsx)(Q,{children:c}),(0,g.jsxs)($.B.div,{flex:"1",maxWidth:"100%",children:[o&&(0,g.jsx)(Y,{id:null==u?void 0:u.title,children:o}),s&&(0,g.jsx)(X,{id:null==u?void 0:u.description,display:"block",children:s})]}),i&&(0,g.jsx)(K.J,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function te(e={}){const{render:t,toastComponent:r=ee}=e;return n=>"function"==typeof t?t({...n,...e}):(0,g.jsx)(r,{...n,...e})}var re=r(8691),ne=r(482),[oe,ie]=(0,B.q)({name:"ToastOptionsContext",strict:!1}),ae=e=>{const t=(0,m.useSyncExternalStore)(J.subscribe,J.getState,J.getState),{motionVariants:r,component:n=M,portalProps:o}=e,i=Object.keys(t).map(e=>{const o=t[e];return(0,g.jsx)("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${e}`,id:`chakra-toast-manager-${e}`,style:E(e),children:(0,g.jsx)(re.N,{initial:!1,children:o.map(e=>(0,g.jsx)(n,{motionVariants:r,...e},e.id))})},e)});return(0,g.jsx)(ne.Z,{...o,children:i})},se=e=>function({children:t,theme:r=e,toastOptions:n,...o}){return(0,g.jsxs)(w,{theme:r,...o,children:[(0,g.jsx)(oe,{value:null==n?void 0:n.defaultOptions,children:t}),(0,g.jsx)(ae,{...n})]})},le=se(S.w4);se(S.$7)},8168:function(e,t,r){"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
vendor: 5,208 bytes, line 281
281for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,{A:function(){return n}})},8288:function(e,t,r){"use strict";r.d(t,{B:function(){return n}});const n="undefined"!=typeof document},8394:function(e,t,r){e=r.nmd(e);var n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Function]",s="[object Object]",l=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[i]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u[a]=u["[object Map]"]=u["[object Number]"]=u[s]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;var d="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,h="object"==typeof self&&self&&self.Object===Object&&self,p=d||h||Function("return this")(),f=t&&!t.nodeType&&t,m=f&&e&&!e.nodeType&&e,g=m&&m.exports===f,v=g&&d.process,y=function(){try{var e=m&&m.require&&m.require("util").types;return e||v&&v.binding&&v.binding("util")}catch(t){}}(),b=y&&y.isTypedArray;var x,w,S,k=Array.prototype,C=Function.prototype,P=Object.prototype,E=p["__core-js_shared__"],_=C.toString,A=P.hasOwnProperty,R=(x=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+x:"",T=P.toString,j=_.call(Object),$=RegExp("^"+_.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),D=g?p.Buffer:void 0,M=p.Symbol,O=p.Uint8Array,z=D?D.allocUnsafe:void 0,B=(w=Object.getPrototypeOf,S=Object,function(e){return w(S(e))}),F=Object.create,I=P.propertyIsEnumerable,L=k.splice,H=M?M.toStringTag:void 0,V=function(){try{var e=fe(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),N=D?D.isBuffer:void 0,W=Math.max,U=Date.now,q=fe(p,"Map"),G=fe(Object,"create"),Q=function(){function e(){}return function(t){if(!Ee(t))return{};if(F)return F(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function Y(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function X(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function K(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function J(e){var t=this.__data__=new X(e);this.size=t.size}function Z(e,t){var r=we(e),n=!r&&xe(e),o=!r&&!n&&ke(e),i=!r&&!n&&!o&&Ae(e),a=r||n||o||i,s=a?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],l=s.length;for(var c in e)!t&&!A.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||me(c,l))||s.push(c);return s}function ee(e,t,r){(void 0!==r&&!be(e[t],r)||void 0===r&&!(t in e))&&ne(e,t,r)}function te(e,t,r){var n=e[t];A.call(e,t)&&be(n,r)&&(void 0!==r||t in e)||ne(e,t,r)}function re(e,t){for(var r=e.length;r--;)if(be(e[r][0],t))return r;return-1}function ne(e,t,r){"__proto__"==t&&V?V(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}Y.prototype.clear=function(){this.__data__=G?G(null):{},this.size=0},Y.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Y.prototype.get=function(e){var t=this.__data__;if(G){var r=t[e];return r===n?void 0:r}return A.call(t,e)?t[e]:void 0},Y.prototype.has=function(e){var t=this.__data__;return G?void 0!==t[e]:A.call(t,e)},Y.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=G&&void 0===t?n:t,this},X.prototype.clear=function(){this.__data__=[],this.size=0},X.prototype.delete=function(e){var t=this.__data__,r=re(t,e);return!(r<0)&&(r==t.length-1?t.pop():L.call(t,r,1),--this.size,!0)},X.prototype.get=function(e){var t=this.__data__,r=re(t,e);return r<0?void 0:t[r][1]},X.prototype.has=function(e){return re(this.__data__,e)>-1},X.prototype.set=function(e,t){var r=this.__data__,n=re(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},K.prototype.clear=function(){this.size=0,this.__data__={hash:new Y,map:new(q||X),string:new Y}},K.prototype.delete=function(e){var t=pe(this,e).delete(e);return this.size-=t?1:0,t},K.prototype.get=function(e){return pe(this,e).get(e)},K.prototype.has=function(e){return pe(this,e).has(e)},K.prototype.set=function(e,t){var r=pe(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},J.prototype.clear=function(){this.__data__=new X,this.size=0},J.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},J.prototype.get=function(e){return this.__data__.get(e)},J.prototype.has=function(e){return this.__data__.has(e)},J.prototype.set=function(e,t){var r=this.__data__;if(r instanceof X){var n=r.__data__;if(!q||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new K(n)}return r.set(e,t),this.size=r.size,this};var oe,ie=function(e,t,r){for(var n=-1,o=Object(e),i=r(e),a=i.length;a--;){var s=i[oe?a:++n];if(!1===t(o[s],s,o))break}return e};
281function ae(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":H&&H in Object(e)?function(e){var t=A.call(e,H),r=e[H];try{e[H]=void 0;var n=!0}catch(i){}var o=T.call(e);n&&(t?e[H]=r:delete e[H]);return o}(e):function(e){return T.call(e)}(e)}function se(e){return _e(e)&&ae(e)==i}function le(e){return!(!Ee(e)||function(e){return!!R&&R in e}(e))&&(Ce(e)?$:l).test(function(e){if(null!=e){try{return _.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e))}function ce(e){if(!Ee(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=ge(e),r=[];for(var n in e)("constructor"!=n||!t&&A.call(e,n))&&r.push(n);return r}function ue(e,t,r,n,o){e!==t&&ie(t,function(i,a){if(o||(o=new J),Ee(i))!function(e,t,r,n,o,i,a){var l=ve(e,r),c=ve(t,r),u=a.get(c);if(u)return void ee(e,r,u);var d=i?i(l,c,r+"",e,t,a):void 0,h=void 0===d;if(h){var p=we(c),f=!p&&ke(c),m=!p&&!f&&Ae(c);d=c,p||f||m?we(l)?d=l:_e(x=l)&&Se(x)?d=function(e,t){var r=-1,n=e.length;t||(t=Array(n));for(;++r<n;)t[r]=e[r];return t}(l):f?(h=!1,d=function(e,t){if(t)return e.slice();var r=e.length,n=z?z(r):new e.constructor(r);return e.copy(n),n}(c,!0)):m?(h=!1,g=c,v=!0?(y=g.buffer,b=new y.constructor(y.byteLength),new O(b).set(new O(y)),b):g.buffer,d=new g.constructor(v,g.byteOffset,g.length)):d=[]:function(e){if(!_e(e)||ae(e)!=s)return!1;var t=B(e);if(null===t)return!0;var r=A.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&_.call(r)==j}(c)||xe(c)?(d=l,xe(l)?d=function(e){return function(e,t,r,n){var o=!r;r||(r={});var i=-1,a=t.length;for(;++i<a;){var s=t[i],l=n?n(r[s],e[s],s,r,e):void 0;void 0===l&&(l=e[s]),o?ne(r,s,l):te(r,s,l)}return r}(e,Re(e))}(l):Ee(l)&&!Ce(l)||(d=function(e){return"function"!=typeof e.constructor||ge(e)?{}:Q(B(e))}(c))):h=!1}var g,v,y,b;var x;h&&(a.set(c,d),o(d,c,n,i,a),a.delete(c));ee(e,r,d)}(e,t,a,r,ue,n,o);else{var l=n?n(ve(e,a),i,a+"",e,t,o):void 0;void 0===l&&(l=i),ee(e,a,l)}},Re)}function de(e,t){return ye(function(e,t,r){return t=W(void 0===t?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=W(n.length-t,0),a=Array(i);++o<i;)a[o]=n[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=n[o];return s[t]=r(a),function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(e,this,s)}}(e,t,$e),e+"")}var he=V?function(e,t){return V(e,"toString",{configurable:!0,enumerable:!1,value:(r=t,function(){return r}),writable:!0});var r}:$e;function pe(e,t){var r,n,o=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?o["string"==typeof t?"string":"hash"]:o.map}function fe(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return le(r)?r:void 0}function me(e,t){var r=typeof e;return!!(t=null==t?o:t)&&("number"==r||"symbol"!=r&&c.test(e))&&e>-1&&e%1==0&&e<t}function ge(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||P)}function ve(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ye=function(e){var t=0,r=0;return function(){var n=U(),o=16-(n-r);if(r=n,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(he);function be(e,t){return e===t||e!=e&&t!=t}var xe=se(function(){return arguments}())?se:function(e){return _e(e)&&A.call(e,"callee")&&!I.call(e,"callee")},we=Array.isArray;function Se(e){return null!=e&&Pe(e.length)&&!Ce(e)}var ke=N||function(){return!1};function Ce(e){if(!Ee(e))return!1;var t=ae(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Pe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function Ee(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function _e(e){return null!=e&&"object"==typeof e}var Ae=b?function(e){return function(t){return e(t)}}(b):function(e){return _e(e)&&Pe(e.length)&&!!u[ae(e)]};function Re(e){return Se(e)?Z(e,!0):ce(e)}var Te,je=(Te=function(e,t,r,n){ue(e,t,r,n)},de(function(e,t){var r=-1,n=t.length,o=n>1?t[n-1]:void 0,i=n>2?t[2]:void 0;for(o=Te.length>3&&"function"==typeof o?(n--,o):void 0,i&&function(e,t,r){if(!Ee(r))return!1;var n=typeof t;return!!("number"==n?Se(r)&&me(t,r.length):"string"==n&&t in r)&&be(r[t],e)}(t[0],t[1],i)&&(o=n<3?void 0:o,n=1),e=Object(e);++r<n;){var a=t[r];a&&Te(e,a,r,o)}return e}));function $e(e){return e}e.exports=je},8428:function(e,t,r){"use strict";r.d(t,{A:function(){return R}});var n=r(6540),o=r(5556),i=r.n(o),a=r(20),s=r(8990),l=r(4506),c=r(4794),u=r(6462),d=r(9732);function h({children:e,callback:t}){return(0,n.useEffect)(()=>{t()}),e}const p=["link","meta","style","title","base","noscript","script","html","body"],f="itemProp",m="gatsby-do-not-hoist-me-react",g="data-original-tag",v=n.createContext(!1);function y(e){0}function b(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){const n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}function x(e,t={html:{},body:{}}){const r=new Map,n=[];for(const h of e.childNodes){var o,i,a,s,c;if(!k(h))continue;const e=null!==(o=null===(i=h.attributes)||void 0===i||null===(a=i.getNamedItem(g))||void 0===a?void 0:a.value)&&void 0!==o?o:h.nodeName.toLowerCase(),p=null===(s=h.attributes)||void 0===s||null===(c=s.id)||void 0===c?void 0:c.value;if(S(e))if("html"===e||"body"===e)for(const r of h.attributes){if
281(r.name===g)continue;const n="style"===r.name;var u;if(t[e]={...t[e]},n||(t[e][r.name]=r.value),n)t[e].style=`${null!==(u=t[e])&&void 0!==u&&u.style?t[e].style:""}${r.value} `}else{let e=h.cloneNode(!0);if(e.setAttribute("data-gatsby-head",!0),e.getAttribute(f)===m&&e.removeAttribute(f),"script"===e.nodeName.toLowerCase()&&(e=w(e)),p)if(r.has(p)){var d;const t=r.get(p);null===(d=n[t].parentNode)||void 0===d||d.removeChild(n[t]),n[t]=e}else n.push(e),r.set(p,n.length-1);else n.push(e)}else y();h.childNodes.length&&n.push.apply(n,(0,l.A)(x(h,t).validHeadNodes))}return{validHeadNodes:n,htmlAndBodyAttributes:t}}function w(e){const t=document.createElement(e.nodeName);for(const r of e.attributes)t.setAttribute(r.name,r.value);return t.innerHTML=e.innerHTML,t}function S(e){return p.includes(e)}function k(e){return 1===e.nodeType}const C=document.createElement("div"),P={html:[],body:[]},E=()=>{var e;const{validHeadNodes:t,htmlAndBodyAttributes:r}=x(C);P.html=Object.keys(r.html),P.body=Object.keys(r.body),function(e){if(!e)return;const{html:t,body:r}=e,n=document.querySelector("html");n&&Object.entries(t).forEach(([e,t])=>{n.setAttribute(e,t)});const o=document.querySelector("body");o&&Object.entries(r).forEach(([e,t])=>{o.setAttribute(e,t)})}(r);const n=document.querySelectorAll("[data-gatsby-head]");var o;if(0===n.length)return void(o=document.head).append.apply(o,(0,l.A)(t));const i=[];!function({oldNodes:e,newNodes:t,onStale:r,onNew:n}){for(const o of e){const e=t.findIndex(e=>b(e,o));-1===e?r(o):t.splice(e,1)}for(const o of t)n(o)}({oldNodes:n,newNodes:t,onStale:e=>e.parentNode.removeChild(e),onNew:e=>i.push(e)}),(e=document.head).append.apply(e,i)};if(18!==parseInt(n.version.split(".")[0],10)&&!n.createElement.headPatched){const e=n.createElement,t=function(e,t){function r(){return!!t||n.useContext(v)}return new Map(p.map(t=>[t,"html"===t||"body"===t?function(t){const n=n=>{if(r()){const r={...n,[g]:t};return e("div",r)}return e(t,n)};return n.displayName=`React19HeadAPICompat${t}`,n}(t):function(t){const n=n=>{if(r()&&!(f in n)){const r={...n,[f]:m};return e(t,r)}return e(t,n)};return n.displayName=`React19HeadAPICompat${t}`,n}(t)]))}(e,!1);n.createElement=function(r,o,...i){const a=t.get(r);return a&&(r=a),e.call.apply(e,[n,r,o].concat(i))},n.createElement.headPatched=!0}function _({pageComponent:e,staticQueryResults:t,pageComponentProps:r}){(0,n.useEffect)(()=>{if(null!=e&&e.Head){!function(e){if("function"!=typeof e)throw new Error(`Expected "Head" export to be a function got "${typeof e}".`)}(e.Head);const{render:i}=(0,d.n)(),s=n.createElement(e.Head,{location:{pathname:(o=r).location.pathname},params:o.params,data:o.data||{},serverData:o.serverData,pageContext:o.pageContext}),l=(0,a.N)("wrapRootElement",{element:s},s,({result:e})=>({element:e})).pop();i(n.createElement(h,{callback:E},n.createElement(v.Provider,{value:!0},n.createElement(c.StaticQueryContext.Provider,{value:t},n.createElement(u.LocationProvider,null,l)))),C)}var o;return()=>{!function(){const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)}(),function(e){if(!e)return;const{html:t,body:r}=e;if(t){const e=document.querySelector("html");t.forEach(t=>{e&&e.removeAttribute(t)})}if(r){const e=document.querySelector("body");r.forEach(t=>{e&&e.removeAttribute(t)})}}(P)}})}function A(e){const t={...e,params:{...(0,s.UA)(e.location.pathname),...e.pageResources.json.pageContext.__params}};let r;var o;r=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,n.createElement)((o=e.pageResources.component)&&o.default||o,{...t,key:e.path||e.pageResources.page.path});_({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,a.N)("wrapPageElement",{element:r,props:t},r,({result:e})=>({element:e,props:t})).pop()}A.propTypes={location:i().object.isRequired,pageResources:i().object.isRequired,data:i().object,pageContext:i().object.isRequired};var R=A},8601:function(e,t,r){"use strict";r.d(t,{M:function(){return o}});var n=r(6540);function o(e){const t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},8643:function(e,t,r){"use strict";r.d(t,{T:function(){return a},w:function(){return s}});var n=r(61),o=r(4848),[i,a]=(0,n.q)({strict:!1,name:"PortalManagerContext"});function s(e){const{children:t,zIndex:r}=e;return(0,o.jsx)(i,{value:{zIndex:r},children:t})}s.displayName="PortalManager"},8691:function(e,t,r){"use strict";r.d(t,{N:function(){return g}});var n=r(6540),o=r(5128);function i(){const e=(0,n.useRef)(!1);return(0,o.E)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var a=r(7745);var s=r(6719),l=r(8601);class c extends n.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u({children:e,isPresent:t}){const r=(0,n.useId)(),o=(0,n.useRef)(null),i=(0,n.useRef)({width:0,height:0,top:0,left:0});return(0,n.useInsertionEffect)(()=>{const{width:e,height:n,top:a,left:s}=i.current;if(t||!o.current||!e||!n)return;o.current.dataset.motionPopId=r;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${r}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${n}px !important;\n top: ${a}px !important;\n left: ${s}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[t]),n.createElement(c,{isPresent:t,childRef:o,sizeRef:i},n.cloneElement(e,{ref:o}))}const d=({children:e,initial:t,isPresent:r,onExitComplete:o,custom:i,presenceAffectsLayout:a,mode:c})=>{const d=(0,l.M)(h),p=(0,n.useId)(),f=(0,n.useMemo)(()=>({id:p,initial:t,isPresent:r,custom:i,onExitComplete:e=>{d.set(e,!0);for(const t of d.values())if(!t)return;o&&o()},register:e=>(d.set(e,!1),()=>d.delete(e))}),a?void 0:[r]);return(0,n.useMemo)(()=>{d.forEach((e,t)=>d.set(t,!1))},[r]),n.useEffect(()=>{!r&&!d.size&&o&&o()},[r]),"popLayout"===c&&(e=n.createElement(u,{isPresent:r},e)),n.createElement(s.t.Provider,{value:f},e)};function h(){return new Map}var p=r(9473);var f=r(5238);const m=e=>e.key||"";const g=({children:e,custom:t,initial:r=!0,onExitComplete:s,exitBeforeEnter:l,presenceAffectsLayout:c=!0,mode:u="sync"})=>{(0,f.V)(!l,"Replace exitBeforeEnter with mode='wait'");const h=(0,n.useContext)(p.L).forceRender||function(){const e=i(),[t,r]=(0,n.use
281State)(0),o=(0,n.useCallback)(()=>{e.current&&r(t+1)},[t]);return[(0,n.useCallback)(()=>a.Gt.postRender(o),[o]),t]}()[0],g=i(),v=function(e){const t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}(e);let y=v;const b=(0,n.useRef)(new Map).current,x=(0,n.useRef)(y),w=(0,n.useRef)(new Map).current,S=(0,n.useRef)(!0);var k;if((0,o.E)(()=>{S.current=!1,function(e,t){e.forEach(e=>{const r=m(e);t.set(r,e)})}(v,w),x.current=y}),k=()=>{S.current=!0,w.clear(),b.clear()},(0,n.useEffect)(()=>()=>k(),[]),S.current)return n.createElement(n.Fragment,null,y.map(e=>n.createElement(d,{key:m(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:c,mode:u},e)));y=[...y];const C=x.current.map(m),P=v.map(m),E=C.length;for(let n=0;n<E;n++){const e=C[n];-1!==P.indexOf(e)||b.has(e)||b.set(e,void 0)}return"wait"===u&&b.size&&(y=[]),b.forEach((e,r)=>{if(-1!==P.indexOf(r))return;const o=w.get(r);if(!o)return;const i=C.indexOf(r);let a=e;if(!a){const e=()=>{b.delete(r);const e=Array.from(w.keys()).filter(e=>!P.includes(e));if(e.forEach(e=>w.delete(e)),x.current=v.filter(t=>{const n=m(t);return n===r||e.includes(n)}),!b.size){if(!1===g.current)return;h(),s&&s()}};a=n.createElement(d,{key:m(o),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:c,mode:u},o),b.set(r,a)}y.splice(i,0,a)}),y=y.map(e=>{const t=e.key;return b.has(t)?e:n.createElement(d,{key:m(e),isPresent:!0,presenceAffectsLayout:c,mode:u},e)}),n.createElement(n.Fragment,null,b.size?y:y.map(e=>(0,n.cloneElement)(e)))}},8797:function(e,t,r){"use strict";function n(e,t=""){return t?e===t?"/":e.startsWith(`${t}/`)?e.slice(t.length):e:e}r.d(t,{A:function(){return n}})},8855:function(e,t,r){"use strict";r.d(t,{R:function(){return o}});var n=r(6540);function o(e){return(0,n.forwardRef)(e)}},8933:function(e,t,r){"use strict";r.d(t,{w:function(){return o}});var n=r(6540);function o(e,t){const r=(0,n.useRef)(!1),o=(0,n.useRef)(!1);(0,n.useEffect)(()=>{if(r.current&&o.current)return e();o.current=!0},t),(0,n.useEffect)(()=>(r.current=!0,()=>{r.current=!1}),[])}},8990:function(e,t,r){"use strict";r.d(t,{Yl:function(){return h},Hh:function(){return f},UA:function(){return p},QX:function(){return d}});var n=r(6462),o=r(8797),i=e=>{if(void 0===e)return e;let[t,r=""]=e.split("?");return r&&(r="?"+r),"/"===t?"/"+r:"/"===t.charAt(t.length-1)?t.slice(0,-1)+r:t+r},a=r(6491);const s=new Map;let l=[];const c=e=>{let t=e;if(-1!==e.indexOf("?")){const[r,n]=e.split("?");t=`${r}?${encodeURIComponent(n)}`}const r=decodeURIComponent(t);return(0,o.A)(r,decodeURIComponent("")).split("#")[0]};function u(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const d=e=>{l=e},h=e=>{const t=m(e),r=l.map(({path:e,matchPath:t})=>({path:t,originalPath:e})),o=(0,n.pick)(r,t);return o?i(o.route.originalPath):null},p=e=>{const t=m(e),r=l.map(({path:e,matchPath:t})=>({path:t,originalPath:e})),o=(0,n.pick)(r,t);return o?o.params:{}},f=e=>{const t=c(u(e));if(s.has(t))return s.get(t);const r=(0,a.X)(e);if(r)return f(r.toPath);let n=h(t);return n||(n=m(e)),s.set(t,n),n},m=e=>{let t=c(u(e));return"/index.html"===t&&(t="/"),t=i(t),t}},9120:function(e,t,r){"use strict";r.d(t,{tF:function(){return a},xQ:function(){return i}});var n=r(6540),o=r(6719);function i(){const e=(0,n.useContext)(o.t);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:r,register:i}=e,a=(0,n.useId)();(0,n.useEffect)(()=>i(a),[]);return!t&&r?[!1,()=>r&&r(a)]:[!0]}function a(){return null===(e=(0,n.useContext)(o.t))||e.isPresent;var e}},9300:function(e,t,r){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),r=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();r&&r.remove();const i=(0,o.getForwards)(e),a=document.createElement("script");a.dataset.partytown="",a.innerHTML=(0,n.partytownSnippet)({forward:i}),document.head.appendChild(a)};var n=r(4656),o=r(3309)},9369:function(e,t,r){"use strict";r.d(t,{A:function(){return n}});var n=function(e){return e=e||Object.create(null),{on:function(t,r){(e[t]||(e[t]=[])).push(r)},off:function(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit:function(t,r){(e[t]||[]).slice().map(function(e){e(r)}),(e["*"]||[]).slice().map(function(e){e(t,r)})}}}()},9377:function(e,t,r){e.exports=[{plugin:r(3166),options:{plugins:[]}},{plugin:r(2039),options:{plugins:[],displayName:!0,fileName:!0,minify:!0,namespace:"",transpileTemplateLiterals:!0,topLevelImportPaths:[],pure:!1,disableVendorPrefixes:!1}},{plugin:r(3578),options:{plugins:[],id:"GTM-MN3RMFDQ",includeInDevelopment:!0,defaultDataLayer:null,routeChangeEventName:"gatsby-route-change",enableWebVitalsTracking:!1,selfHostedOrigin:"https://www.googletagmanager.com",selfHostedPath:"gtm.js"}}
281,{plugin:r(7914),options:{plugins:[],name:"Socksfor1",short_name:"Socksfor1",start_url:"/",background_color:"#071133",theme_color:"#071133",display:"minimal-ui",icon:"src/assets/images/socksfor1-logo.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"2fdb47e989411f66d5715b5bea9798b0"}},{plugin:r(7655),options:{plugins:[]}},{plugin:r(2311),options:{plugins:[]}}]},9473:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});const n=(0,r(6540).createContext)({})},9690:function(e,t,r){"use strict";r.d(t,{B:function(){return i},t:function(){return o}});var n=console;function o(){return n}function i(e){n=e}},9732:function(e,t,r){"use strict";r.d(t,{n:function(){return o}});const n=new WeakMap;function o(){const e=r(5338);return{render:(t,r,o={})=>{let i=n.get(r);if(!i){const t=o.onUncaughtError||o.onCaughtError?{onUncaughtError:o.onUncaughtError,onCaughtError:o.onCaughtError}:void 0;n.set(r,i=e.createRoot(r,t))}i.render(t)},hydrate:(t,r,n={})=>{const o=n.onUncaughtError||n.onCaughtError?{onUncaughtError:n.onUncaughtError,onCaughtError:n.onCaughtError}:void 0;return e.hydrateRoot(r,t,o)}}}},9857:function(e,t,r){"use strict";r.d(t,{Gv:function(){return o},Hj:function(){return c},Jg:function(){return i},OK:function(){return u},cx:function(){return n},rq:function(){return l},sE:function(){return s}});var n=(...e)=>e.filter(Boolean).join(" ");function o(e){const t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}function i(e,...t){return a(e)?e(...t):e}var a=e=>"function"==typeof e,s=e=>e?"":void 0,l=e=>!!e||void 0;function c(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}function u(...e){return function(t){e.forEach(e=>{null==e||e(t)})}}},9890:function(e,t,r){"use strict";r.d(t,{A:function(){return d}});var n=r(9857),o=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];var i=r(2575),a=r(8394);function s(e){return"function"==typeof e}var l=e=>function(...t){let r=[...t],i=t[t.length-1];var l;return l=i,(0,n.Gv)(l)&&o.every(e=>Object.prototype.hasOwnProperty.call(l,e))&&r.length>1?r=r.slice(0,r.length-1):i=e,function(...e){return t=>e.reduce((e,t)=>t(e),t)}(...r.map(e=>t=>s(e)?e(t):function(...e){return a({},...e,u)}(t,e)))(i)},c=l(i.w4);l(i.$7);function u(e,t,r,n){if((s(e)||s(t))&&Object.prototype.hasOwnProperty.call(n,r))return(...r)=>{const n=s(e)?e(...r):e,o=s(t)?t(...r):t;return a({},n,o,u)}}var d=c({breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"75em","2xl":"96em"},config:{initialColorMode:"dark",useSystemColorMode:!1},global:{body:{color:"white",fontFamily:"Nunito"}},styles:{global:()=>({".gradient-text":{backgroundClip:"text",WebkitBackgroundClip:"text",textFillColor:"transparent",WebkitTextFillColor:"transparent"}})},colors:{toxic:"#3AD185",lava:"#EBB107",ocean:"#6FD4F9",bloody:"#F04C71",hyper:"#B77DB9",white:"#fff",barbiePink:"#FF457D",dark:{main:"#000",num:"#2B2B37",navyBlue:"#202A47",darkBlue:"#202A47",darkGrey:"#4D546C",black:"#000000"},bg:{400:"#4D546C",500:"#2B2B37",800:"#202947",900:"#000"},gradient:{lava:"linear-gradient(119deg, #F2C94E 0.11%, #DDAD1E 97.39%)",hyper:"linear-gradient(285deg, #A84AAB 8.58%, #BB79BE 105.17%)",ocean:"linear-gradient(302deg, #7EDDFF -6.25%, #51C2EC 106.35%)",toxic:"linear-gradient(301deg, #21C78B -6.25%, #57DC7C 168.87%)",bloody:"linear-gradient(302deg, #FF6060 -6.25%, #DE3486 106.35%)",white:"linear-gradient(285deg, #ffffff 8.58%, #ffffff 105.17%)"}},components:{Link:{baseStyle:{"& > svg":{transition:"all 0.3s"},"&:hover > svg":{color:"#F2C94E!important"}},variants:{header:{textDecoration:"none !important","& *":{transition:"all 0.3s"},_hover:{"& *":{color:"#F2C94E",textDecoration:"none !important"}}},footer:{textDecoration:"none !important","& *":{transition:"all 0.3s",opacity:"0.75 !important",color:"white"},_hover:{"& *":{opacity:"1 !important",color:"#F2C94E",textDecoration:"none !important"}}}}},Container:{baseStyle:{py:10,px:{base:4,md:20},maxW:"1440px"}},Heading:{baseStyle:{color:"white",fontFamily:"Nunito"},variants:{h1:{fontWeight:900,fontSize:"280px",lineHeight:"242px"},h2:{fontWeight:900,fontSize:["70px","70px","150px","150px","150px"],lineHeight:["76px","76px","116px","116px","116px"]},h3:{fontWeight:900,fontSize:["40px","40px","100px","100px","100px"],lineHeight:"normal"},h3MobileHuge:{fontWeight:900,fontSize:["70px","70px","100px","100px","100px"],lineHeight:"normal"},H3:{fontWeight:900,fontSize:"100px",lineHeight:"116px"},h4:{fontWeight:900,fontSize:"80px",lineHeight:"normal"},h5:{fontWeight:900,fontSize:["32px","32px","48px","48px"],lineHeight:["32px","32px","48px","48px"]},H5:{fontWeight:900,fontSize:["32px","32px","48px","48px"],lineHeight:"50px",textTransform:"uppercase"},captionBig:{fontWeight:900,fontSize:"24px",lineHeight:"normal"},bodyBig:{fontWeight:500,fontSize:"20px",lineHeight:"normal"},bodyMonster:{fontWeight:500,fontSize:"32px",lineHeight:"48px"},bodyMonsterFat:{fontWeight:900,fontSize:["24px","24px","32px","32px"],lineHeight:"normal"},bodyBigFat:{fontWeight:900,fontSize:"20px",lineHeight:"normal"},bodyMediumFat:{fontWeight:900,fontSize:"16px",lineHeight:"normal"},bodyNormal:{fontWeight:500,fontSize:"14px",lineHeight:"normal"},captionNormal:{fontWeight:900,fontSize:"18px",lineHeight:"normal"},bodyNormalBold:{fontWeight:700,fontSize:"14px",lineHeight:"normal"}}},Text:{baseStyle:{color:"white",fontFamily:"Nunito"},variants:{h3:{fontWeight:900,fontSize:["40px","40px","100px","100px","100px"],lineHeight:"normal"},captionBig:{fontWeight:900,fontSize:"24px",lineHeight:"normal"},captionNormal:{fontWeight:900,fontSize:"18px",lineHeight:"normal"},bodyBig:{fontWeight:500,fontSize:"20px",lineHeight:"normal"},bodyMonster:{fontWeight:500,fontSize:["26px","32px","32px","32px"],lineHeight:["38px","48px","48px","48px"]},bodyMonsterFat:{fontWeight:900,fontSize:"32px",lineHeight:"normal"},bodyBigFat:{fontWeight:900,fontSize:"20px",lineHeight:"normal"},bodyBigBold:{fontWeight:700,fontSize:"20px",lineHeight:"normal"},bodyMediumFat:{fontWeight:900,fontSize:"16px",lineHeight:"normal"},bodyNormal:{fontWeight:500,fontSize:"14px",lineHeight:"normal"},bodyNormalFat:{fontWeight:900,fontSize:"14px",lineHeight:"normal"},normalFat:{fontWeight:900,fontSize:"14px",lineHeight:"normal"},bodyRegular:{fontWeight:400,fontSize:"12px",lineHeight:"normal"},bodySmall:{fontWeight:900,fontSize:"12px",lineHeight:"normal"},H4:{fontWeight:900,fontSize:"80px",lineHeight:"normal"}}},Button:{baseStyle:{color:"white",fontWeight:900,borderRadius:90,lineHeight:"normal",fontFamily:"Nunito"},variants:{solid:{color:"white",textTransform:"uppercase"},ghost:{color:"white",bg:"transparent","&:hover":{color:"#21C78B",bg:"transparent"}}},sizes:{md:{px:8,py:6,height:"auto"}}}},textStyles:{captionBig:{fontSize:{base:"24px"},fontWeight:900}}})}},function(e){e.O(0,[869,593],function(){return t=6498,e(e.s=t);var t});e.O()}]); 282//# sourceMappingURL=app-d8dd8689b046c6873060.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.