@metrifox/react-sdk 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,12 +1,12 @@
1
- "use strict";var p=require("react"),a=require("react/jsx-runtime"),_s=require("react-dom");function wa(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if(n!=="default"){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var K=wa(p),Sr=wa(_s),_t=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Tr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*! Axios v1.12.2 Copyright (c) 2025 Matt Zabriskie and contributors */function ka(e,t){return function(){return e.apply(t,arguments)}}const{toString:M0}=Object.prototype,{getPrototypeOf:Bs}=Object,{iterator:Dr,toStringTag:ja}=Symbol,Pr=(e=>t=>{const n=M0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),st=e=>(e=e.toLowerCase(),t=>Pr(t)===e),Ar=e=>t=>typeof t===e,{isArray:pn}=Array,mn=Ar("undefined");function Wn(e){return e!==null&&!mn(e)&&e.constructor!==null&&!mn(e.constructor)&&$e(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const La=st("ArrayBuffer");function S0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&La(e.buffer),t}const T0=Ar("string"),$e=Ar("function"),Ea=Ar("number"),Zn=e=>e!==null&&typeof e=="object",D0=e=>e===!0||e===!1,Rr=e=>{if(Pr(e)!=="object")return!1;const t=Bs(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(ja in e)&&!(Dr in e)},P0=e=>{if(!Zn(e)||Wn(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},A0=st("Date"),R0=st("File"),N0=st("Blob"),F0=st("FileList"),V0=e=>Zn(e)&&$e(e.pipe),$0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||$e(e.append)&&((t=Pr(e))==="formdata"||t==="object"&&$e(e.toString)&&e.toString()==="[object FormData]"))},O0=st("URLSearchParams"),[_0,B0,I0,H0]=["ReadableStream","Request","Response","Headers"].map(st),W0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Un(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),pn(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{if(Wn(e))return;const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let l;for(r=0;r<i;r++)l=o[r],t.call(null,e[l],l,e)}}function Ma(e,t){if(Wn(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Bt=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:_t)(),Sa=e=>!mn(e)&&e!==Bt;function Is(){const{caseless:e,skipUndefined:t}=Sa(this)&&this||{},n={},r=(s,o)=>{const i=e&&Ma(n,o)||o;Rr(n[i])&&Rr(s)?n[i]=Is(n[i],s):Rr(s)?n[i]=Is({},s):pn(s)?n[i]=s.slice():(!t||!mn(s))&&(n[i]=s)};for(let s=0,o=arguments.length;s<o;s++)arguments[s]&&Un(arguments[s],r);return n}const Z0=(e,t,n,{allOwnKeys:r}={})=>(Un(t,(s,o)=>{n&&$e(s)?e[o]=ka(s,n):e[o]=s},{allOwnKeys:r}),e),U0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),z0=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},K0=(e,t,n,r)=>{let s,o,i;const l={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Bs(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Y0=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},G0=e=>{if(!e)return null;if(pn(e))return e;let t=e.length;if(!Ea(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},q0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Bs(Uint8Array)),X0=(e,t)=>{const r=(e&&e[Dr]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},J0=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Q0=st("HTMLFormElement"),e2=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Ta=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),t2=st("RegExp"),Da=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Un(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},n2=e=>{Da(e,(t,n)=>{if($e(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if($e(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},r2=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return pn(e)?r(e):r(String(e).split(t)),n},s2=()=>{},o2=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function i2(e){return!!(e&&$e(e.append)&&e[ja]==="FormData"&&e[Dr])}const a2=e=>{const t=new Array(10),n=(r,s)=>{if(Zn(r)){if(t.indexOf(r)>=0)return;if(Wn(r))return r;if(!("toJSON"in r)){t[s]=r;const o=pn(r)?[]:{};return Un(r,(i,l)=>{const c=n(i,s+1);!mn(c)&&(o[l]=c)}),t[s]=void 0,o}}return r};return n(e,0)},l2=st("AsyncFunction"),c2=e=>e&&(Zn(e)||$e(e))&&$e(e.then)&&$e(e.catch),Pa=((e,t)=>e?setImmediate:t?((n,r)=>(Bt.addEventListener("message",({source:s,data:o})=>{s===Bt&&o===n&&r.length&&r.shift()()},!1),s=>{r.push(s),Bt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",$e(Bt.postMessage)),u2=typeof queueMicrotask<"u"?queueMicrotask.bind(Bt):typeof process<"u"&&process.nextTick||Pa,d2=e=>e!=null&&$e(e[Dr]);var S={isArray:pn,isArrayBuffer:La,isBuffer:Wn,isFormData:$0,isArrayBufferView:S0,isString:T0,isNumber:Ea,isBoolean:D0,isObject:Zn,isPlainObject:Rr,isEmptyObject:P0,isReadableStream:_0,isRequest:B0,isResponse:I0,isHeaders:H0,isUndefined:mn,isDate:A0,isFile:R0,isBlob:N0,isRegExp:t2,isFunction:$e,isStream:V0,isURLSearchParams:O0,isTypedArray:q0,isFileList:F0,forEach:Un,merge:Is,extend:Z0,trim:W0,stripBOM:U0,inherits:z0,toFlatObject:K0,kindOf:Pr,kindOfTest:st,endsWith:Y0,toArray:G0,forEachEntry:X0,matchAll:J0,isHTMLForm:Q0,hasOwnProperty:Ta,hasOwnProp:Ta,reduceDescriptors:Da,freezeMethods:n2,toObjectSet:r2,toCamelCase:e2,noop:s2,toFiniteNumber:o2,findKey:Ma,global:Bt,isContextDefined:Sa,isSpecCompliantForm:i2,toJSONObject:a2,isAsyncFn:l2,isThenable:c2,setImmediate:Pa,asap:u2,isIterable:d2};function ee(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}S.inherits(ee,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:S.toJSONObject(this.config),code:this.code,status:this.status}}});const Aa=ee.prototype,Ra={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ra[e]={value:e}}),Object.defineProperties(ee,Ra),Object.defineProperty(Aa,"isAxiosError",{value:!0}),ee.from=(e,t,n,r,s,o)=>{const i=Object.create(Aa);S.toFlatObject(e,i,function(d){return d!==Error.prototype},u=>u!=="isAxiosError");const l=e&&e.message?e.message:"Error",c=t==null&&e?e.code:t;return ee.call(i,l,c,n,r,s),e&&i.cause==null&&Object.defineProperty(i,"cause",{value:e,configurable:!0}),i.name=e&&e.name||"Error",o&&Object.assign(i,o),i};var f2=null;function Hs(e){return S.isPlainObject(e)||S.isArray(e)}function Na(e){return S.endsWith(e,"[]")?e.slice(0,-2):e}function Fa(e,t,n){return e?e.concat(t).map(function(s,o){return s=Na(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function h2(e){return S.isArray(e)&&!e.some(Hs)}const p2=S.toFlatObject(S,{},null,function(t){return/^is[A-Z]/.test(t)});function Nr(e,t,n){if(!S.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=S.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,v){return!S.isUndefined(v[x])});const r=n.metaTokens,s=n.visitor||d,o=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&S.isSpecCompliantForm(t);if(!S.isFunction(s))throw new TypeError("visitor must be a function");function u(g){if(g===null)return"";if(S.isDate(g))return g.toISOString();if(S.isBoolean(g))return g.toString();if(!c&&S.isBlob(g))throw new ee("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(g)||S.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,x,v){let b=g;if(g&&!v&&typeof g=="object"){if(S.endsWith(x,"{}"))x=r?x:x.slice(0,-2),g=JSON.stringify(g);else if(S.isArray(g)&&h2(g)||(S.isFileList(g)||S.endsWith(x,"[]"))&&(b=S.toArray(g)))return x=Na(x),b.forEach(function(y,j){!(S.isUndefined(y)||y===null)&&t.append(i===!0?Fa([x],j,o):i===null?x:x+"[]",u(y))}),!1}return Hs(g)?!0:(t.append(Fa(v,x,o),u(g)),!1)}const f=[],h=Object.assign(p2,{defaultVisitor:d,convertValue:u,isVisitable:Hs});function m(g,x){if(!S.isUndefined(g)){if(f.indexOf(g)!==-1)throw Error("Circular reference detected in "+x.join("."));f.push(g),S.forEach(g,function(b,C){(!(S.isUndefined(b)||b===null)&&s.call(t,b,S.isString(C)?C.trim():C,x,h))===!0&&m(b,x?x.concat(C):[C])}),f.pop()}}if(!S.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Va(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ws(e,t){this._pairs=[],e&&Nr(e,this,t)}const $a=Ws.prototype;$a.append=function(t,n){this._pairs.push([t,n])},$a.toString=function(t){const n=t?function(r){return t.call(this,r,Va)}:Va;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function m2(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Oa(e,t,n){if(!t)return e;const r=n&&n.encode||m2;S.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let o;if(s?o=s(t,n):o=S.isURLSearchParams(t)?t.toString():new Ws(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class g2{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){S.forEach(this.handlers,function(r){r!==null&&t(r)})}}var _a=g2,Ba={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},x2=typeof URLSearchParams<"u"?URLSearchParams:Ws,y2=typeof FormData<"u"?FormData:null,v2=typeof Blob<"u"?Blob:null,b2={isBrowser:!0,classes:{URLSearchParams:x2,FormData:y2,Blob:v2},protocols:["http","https","file","blob","url","data"]};const Zs=typeof window<"u"&&typeof document<"u",Us=typeof navigator=="object"&&navigator||void 0,C2=Zs&&(!Us||["ReactNative","NativeScript","NS"].indexOf(Us.product)<0),w2=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),k2=Zs&&window.location.href||"http://localhost";var j2=Object.freeze({__proto__:null,hasBrowserEnv:Zs,hasStandardBrowserWebWorkerEnv:w2,hasStandardBrowserEnv:C2,navigator:Us,origin:k2}),Se={...j2,...b2};function L2(e,t){return Nr(e,new Se.classes.URLSearchParams,{visitor:function(n,r,s,o){return Se.isNode&&S.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}function E2(e){return S.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function M2(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function Ia(e){function t(n,r,s,o){let i=n[o++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),c=o>=n.length;return i=!i&&S.isArray(s)?s.length:i,c?(S.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!l):((!s[i]||!S.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&S.isArray(s[i])&&(s[i]=M2(s[i])),!l)}if(S.isFormData(e)&&S.isFunction(e.entries)){const n={};return S.forEachEntry(e,(r,s)=>{t(E2(r),s,n,0)}),n}return null}function S2(e,t,n){if(S.isString(e))try{return(t||JSON.parse)(e),S.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const zs={transitional:Ba,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=S.isObject(t);if(o&&S.isHTMLForm(t)&&(t=new FormData(t)),S.isFormData(t))return s?JSON.stringify(Ia(t)):t;if(S.isArrayBuffer(t)||S.isBuffer(t)||S.isStream(t)||S.isFile(t)||S.isBlob(t)||S.isReadableStream(t))return t;if(S.isArrayBufferView(t))return t.buffer;if(S.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return L2(t,this.formSerializer).toString();if((l=S.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Nr(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),S2(t)):t}],transformResponse:[function(t){const n=this.transitional||zs.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(S.isResponse(t)||S.isReadableStream(t))return t;if(t&&S.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,this.parseReviver)}catch(l){if(i)throw l.name==="SyntaxError"?ee.from(l,ee.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Se.classes.FormData,Blob:Se.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};S.forEach(["delete","get","head","post","put","patch"],e=>{zs.headers[e]={}});var Ks=zs;const T2=S.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var D2=e=>{const t={};let n,r,s;return e&&e.split(`
2
- `).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&T2[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};const Ha=Symbol("internals");function zn(e){return e&&String(e).trim().toLowerCase()}function Fr(e){return e===!1||e==null?e:S.isArray(e)?e.map(Fr):String(e)}function P2(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const A2=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ys(e,t,n,r,s){if(S.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!S.isString(t)){if(S.isString(r))return t.indexOf(r)!==-1;if(S.isRegExp(r))return r.test(t)}}function R2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function N2(e,t){const n=S.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class Vr{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(l,c,u){const d=zn(c);if(!d)throw new Error("header name must be a non-empty string");const f=S.findKey(s,d);(!f||s[f]===void 0||u===!0||u===void 0&&s[f]!==!1)&&(s[f||c]=Fr(l))}const i=(l,c)=>S.forEach(l,(u,d)=>o(u,d,c));if(S.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(S.isString(t)&&(t=t.trim())&&!A2(t))i(D2(t),n);else if(S.isObject(t)&&S.isIterable(t)){let l={},c,u;for(const d of t){if(!S.isArray(d))throw TypeError("Object iterator must return a key-value pair");l[u=d[0]]=(c=l[u])?S.isArray(c)?[...c,d[1]]:[c,d[1]]:d[1]}i(l,n)}else t!=null&&o(n,t,r);return this}get(t,n){if(t=zn(t),t){const r=S.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return P2(s);if(S.isFunction(n))return n.call(this,s,r);if(S.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=zn(t),t){const r=S.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ys(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=zn(i),i){const l=S.findKey(r,i);l&&(!n||Ys(r,r[l],l,n))&&(delete r[l],s=!0)}}return S.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Ys(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return S.forEach(this,(s,o)=>{const i=S.findKey(r,o);if(i){n[i]=Fr(s),delete n[o];return}const l=t?R2(o):String(o).trim();l!==o&&delete n[o],n[l]=Fr(s),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return S.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&S.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
3
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Ha]=this[Ha]={accessors:{}}).accessors,s=this.prototype;function o(i){const l=zn(i);r[l]||(N2(s,i),r[l]=!0)}return S.isArray(t)?t.forEach(o):o(t),this}}Vr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),S.reduceDescriptors(Vr.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),S.freezeMethods(Vr);var ot=Vr;function Gs(e,t){const n=this||Ks,r=t||n,s=ot.from(r.headers);let o=r.data;return S.forEach(e,function(l){o=l.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Wa(e){return!!(e&&e.__CANCEL__)}function gn(e,t,n){ee.call(this,e??"canceled",ee.ERR_CANCELED,t,n),this.name="CanceledError"}S.inherits(gn,ee,{__CANCEL__:!0});function Za(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ee("Request failed with status code "+n.status,[ee.ERR_BAD_REQUEST,ee.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function F2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function V2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),d=r[o];i||(i=u),n[s]=c,r[s]=u;let f=o,h=0;for(;f!==s;)h+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),u-i<t)return;const m=d&&u-d;return m?Math.round(h*1e3/m):void 0}}function $2(e,t){let n=0,r=1e3/t,s,o;const i=(u,d=Date.now())=>{n=d,s=null,o&&(clearTimeout(o),o=null),e(...u)};return[(...u)=>{const d=Date.now(),f=d-n;f>=r?i(u,d):(s=u,o||(o=setTimeout(()=>{o=null,i(s)},r-f)))},()=>s&&i(s)]}const $r=(e,t,n=3)=>{let r=0;const s=V2(50,250);return $2(o=>{const i=o.loaded,l=o.lengthComputable?o.total:void 0,c=i-r,u=s(c),d=i<=l;r=i;const f={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&d?(l-i)/u:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},Ua=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},za=e=>(...t)=>S.asap(()=>e(...t));var O2=Se.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Se.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Se.origin),Se.navigator&&/(msie|trident)/i.test(Se.navigator.userAgent)):()=>!0,_2=Se.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];S.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),S.isString(r)&&i.push("path="+r),S.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function B2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function I2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ka(e,t,n){let r=!B2(t);return e&&(r||n==!1)?I2(e,t):t}const Ya=e=>e instanceof ot?{...e}:e;function It(e,t){t=t||{};const n={};function r(u,d,f,h){return S.isPlainObject(u)&&S.isPlainObject(d)?S.merge.call({caseless:h},u,d):S.isPlainObject(d)?S.merge({},d):S.isArray(d)?d.slice():d}function s(u,d,f,h){if(S.isUndefined(d)){if(!S.isUndefined(u))return r(void 0,u,f,h)}else return r(u,d,f,h)}function o(u,d){if(!S.isUndefined(d))return r(void 0,d)}function i(u,d){if(S.isUndefined(d)){if(!S.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function l(u,d,f){if(f in t)return r(u,d);if(f in e)return r(void 0,u)}const c={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(u,d,f)=>s(Ya(u),Ya(d),f,!0)};return S.forEach(Object.keys({...e,...t}),function(d){const f=c[d]||s,h=f(e[d],t[d],d);S.isUndefined(h)&&f!==l||(n[d]=h)}),n}var Ga=e=>{const t=It({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:l}=t;if(t.headers=i=ot.from(i),t.url=Oa(Ka(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),S.isFormData(n)){if(Se.hasStandardBrowserEnv||Se.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(S.isFunction(n.getHeaders)){const c=n.getHeaders(),u=["content-type","content-length"];Object.entries(c).forEach(([d,f])=>{u.includes(d.toLowerCase())&&i.set(d,f)})}}if(Se.hasStandardBrowserEnv&&(r&&S.isFunction(r)&&(r=r(t)),r||r!==!1&&O2(t.url))){const c=s&&o&&_2.read(o);c&&i.set(s,c)}return t};const H2=typeof XMLHttpRequest<"u";var W2=H2&&function(e){return new Promise(function(n,r){const s=Ga(e);let o=s.data;const i=ot.from(s.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=s,d,f,h,m,g;function x(){m&&m(),g&&g(),s.cancelToken&&s.cancelToken.unsubscribe(d),s.signal&&s.signal.removeEventListener("abort",d)}let v=new XMLHttpRequest;v.open(s.method.toUpperCase(),s.url,!0),v.timeout=s.timeout;function b(){if(!v)return;const y=ot.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),w={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:y,config:e,request:v};Za(function(T){n(T),x()},function(T){r(T),x()},w),v=null}"onloadend"in v?v.onloadend=b:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(b)},v.onabort=function(){v&&(r(new ee("Request aborted",ee.ECONNABORTED,e,v)),v=null)},v.onerror=function(j){const w=j&&j.message?j.message:"Network Error",L=new ee(w,ee.ERR_NETWORK,e,v);L.event=j||null,r(L),v=null},v.ontimeout=function(){let j=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const w=s.transitional||Ba;s.timeoutErrorMessage&&(j=s.timeoutErrorMessage),r(new ee(j,w.clarifyTimeoutError?ee.ETIMEDOUT:ee.ECONNABORTED,e,v)),v=null},o===void 0&&i.setContentType(null),"setRequestHeader"in v&&S.forEach(i.toJSON(),function(j,w){v.setRequestHeader(w,j)}),S.isUndefined(s.withCredentials)||(v.withCredentials=!!s.withCredentials),l&&l!=="json"&&(v.responseType=s.responseType),u&&([h,g]=$r(u,!0),v.addEventListener("progress",h)),c&&v.upload&&([f,m]=$r(c),v.upload.addEventListener("progress",f),v.upload.addEventListener("loadend",m)),(s.cancelToken||s.signal)&&(d=y=>{v&&(r(!y||y.type?new gn(null,e,v):y),v.abort(),v=null)},s.cancelToken&&s.cancelToken.subscribe(d),s.signal&&(s.signal.aborted?d():s.signal.addEventListener("abort",d)));const C=F2(s.url);if(C&&Se.protocols.indexOf(C)===-1){r(new ee("Unsupported protocol "+C+":",ee.ERR_BAD_REQUEST,e));return}v.send(o||null)})};const Z2=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const o=function(u){if(!s){s=!0,l();const d=u instanceof Error?u:this.reason;r.abort(d instanceof ee?d:new gn(d instanceof Error?d.message:d))}};let i=t&&setTimeout(()=>{i=null,o(new ee(`timeout ${t} of ms exceeded`,ee.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),e=null)};e.forEach(u=>u.addEventListener("abort",o));const{signal:c}=r;return c.unsubscribe=()=>S.asap(l),c}};var U2=Z2;const z2=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,s;for(;r<n;)s=r+t,yield e.slice(r,s),r=s},K2=async function*(e,t){for await(const n of Y2(e))yield*z2(n,t)},Y2=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},qa=(e,t,n,r)=>{const s=K2(e,t);let o=0,i,l=c=>{i||(i=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:u,value:d}=await s.next();if(u){l(),c.close();return}let f=d.byteLength;if(n){let h=o+=f;n(h)}c.enqueue(new Uint8Array(d))}catch(u){throw l(u),u}},cancel(c){return l(c),s.return()}},{highWaterMark:2})},Xa=64*1024,{isFunction:Or}=S,G2=(({Request:e,Response:t})=>({Request:e,Response:t}))(S.global),{ReadableStream:Ja,TextEncoder:Qa}=S.global,el=(e,...t)=>{try{return!!e(...t)}catch{return!1}},q2=e=>{e=S.merge.call({skipUndefined:!0},G2,e);const{fetch:t,Request:n,Response:r}=e,s=t?Or(t):typeof fetch=="function",o=Or(n),i=Or(r);if(!s)return!1;const l=s&&Or(Ja),c=s&&(typeof Qa=="function"?(g=>x=>g.encode(x))(new Qa):async g=>new Uint8Array(await new n(g).arrayBuffer())),u=o&&l&&el(()=>{let g=!1;const x=new n(Se.origin,{body:new Ja,method:"POST",get duplex(){return g=!0,"half"}}).headers.has("Content-Type");return g&&!x}),d=i&&l&&el(()=>S.isReadableStream(new r("").body)),f={stream:d&&(g=>g.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!f[g]&&(f[g]=(x,v)=>{let b=x&&x[g];if(b)return b.call(x);throw new ee(`Response type '${g}' is not supported`,ee.ERR_NOT_SUPPORT,v)})});const h=async g=>{if(g==null)return 0;if(S.isBlob(g))return g.size;if(S.isSpecCompliantForm(g))return(await new n(Se.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if(S.isArrayBufferView(g)||S.isArrayBuffer(g))return g.byteLength;if(S.isURLSearchParams(g)&&(g=g+""),S.isString(g))return(await c(g)).byteLength},m=async(g,x)=>{const v=S.toFiniteNumber(g.getContentLength());return v??h(x)};return async g=>{let{url:x,method:v,data:b,signal:C,cancelToken:y,timeout:j,onDownloadProgress:w,onUploadProgress:L,responseType:T,headers:A,withCredentials:I="same-origin",fetchOptions:V}=Ga(g),O=t||fetch;T=T?(T+"").toLowerCase():"text";let z=U2([C,y&&y.toAbortSignal()],j),U=null;const P=z&&z.unsubscribe&&(()=>{z.unsubscribe()});let F;try{if(L&&u&&v!=="get"&&v!=="head"&&(F=await m(A,b))!==0){let H=new n(x,{method:"POST",body:b,duplex:"half"}),Y;if(S.isFormData(b)&&(Y=H.headers.get("content-type"))&&A.setContentType(Y),H.body){const[_,R]=Ua(F,$r(za(L)));b=qa(H.body,Xa,_,R)}}S.isString(I)||(I=I?"include":"omit");const E=o&&"credentials"in n.prototype,D={...V,signal:z,method:v.toUpperCase(),headers:A.normalize().toJSON(),body:b,duplex:"half",credentials:E?I:void 0};U=o&&new n(x,D);let M=await(o?O(U,V):O(x,D));const $=d&&(T==="stream"||T==="response");if(d&&(w||$&&P)){const H={};["status","statusText","headers"].forEach(B=>{H[B]=M[B]});const Y=S.toFiniteNumber(M.headers.get("content-length")),[_,R]=w&&Ua(Y,$r(za(w),!0))||[];M=new r(qa(M.body,Xa,_,()=>{R&&R(),P&&P()}),H)}T=T||"text";let N=await f[S.findKey(f,T)||"text"](M,g);return!$&&P&&P(),await new Promise((H,Y)=>{Za(H,Y,{data:N,headers:ot.from(M.headers),status:M.status,statusText:M.statusText,config:g,request:U})})}catch(E){throw P&&P(),E&&E.name==="TypeError"&&/Load failed|fetch/i.test(E.message)?Object.assign(new ee("Network Error",ee.ERR_NETWORK,g,U),{cause:E.cause||E}):ee.from(E,E&&E.code,g,U)}}},X2=new Map,tl=e=>{let t=e?e.env:{};const{fetch:n,Request:r,Response:s}=t,o=[r,s,n];let i=o.length,l=i,c,u,d=X2;for(;l--;)c=o[l],u=d.get(c),u===void 0&&d.set(c,u=l?new Map:q2(t)),d=u;return u};tl();const qs={http:f2,xhr:W2,fetch:{get:tl}};S.forEach(qs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const nl=e=>`- ${e}`,J2=e=>S.isFunction(e)||e===null||e===!1;var rl={getAdapter:(e,t)=>{e=S.isArray(e)?e:[e];const{length:n}=e;let r,s;const o={};for(let i=0;i<n;i++){r=e[i];let l;if(s=r,!J2(r)&&(s=qs[(l=String(r)).toLowerCase()],s===void 0))throw new ee(`Unknown adapter '${l}'`);if(s&&(S.isFunction(s)||(s=s.get(t))))break;o[l||"#"+i]=s}if(!s){const i=Object.entries(o).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let l=n?i.length>1?`since :
4
- `+i.map(nl).join(`
5
- `):" "+nl(i[0]):"as no adapter specified";throw new ee("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return s},adapters:qs};function Xs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gn(null,e)}function sl(e){return Xs(e),e.headers=ot.from(e.headers),e.data=Gs.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),rl.getAdapter(e.adapter||Ks.adapter,e)(e).then(function(r){return Xs(e),r.data=Gs.call(e,e.transformResponse,r),r.headers=ot.from(r.headers),r},function(r){return Wa(r)||(Xs(e),r&&r.response&&(r.response.data=Gs.call(e,e.transformResponse,r.response),r.response.headers=ot.from(r.response.headers))),Promise.reject(r)})}const ol="1.12.2",_r={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{_r[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const il={};_r.transitional=function(t,n,r){function s(o,i){return"[Axios v"+ol+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,l)=>{if(t===!1)throw new ee(s(i," has been removed"+(n?" in "+n:"")),ee.ERR_DEPRECATED);return n&&!il[i]&&(il[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}},_r.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function Q2(e,t,n){if(typeof e!="object")throw new ee("options must be an object",ee.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new ee("option "+o+" must be "+c,ee.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ee("Unknown option "+o,ee.ERR_BAD_OPTION)}}var Br={assertOptions:Q2,validators:_r};const ut=Br.validators;class Ir{constructor(t){this.defaults=t||{},this.interceptors={request:new _a,response:new _a}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
6
- `+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=It(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Br.assertOptions(r,{silentJSONParsing:ut.transitional(ut.boolean),forcedJSONParsing:ut.transitional(ut.boolean),clarifyTimeoutError:ut.transitional(ut.boolean)},!1),s!=null&&(S.isFunction(s)?n.paramsSerializer={serialize:s}:Br.assertOptions(s,{encode:ut.function,serialize:ut.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Br.assertOptions(n,{baseUrl:ut.spelling("baseURL"),withXsrfToken:ut.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&S.merge(o.common,o[n.method]);o&&S.forEach(["delete","get","head","post","put","patch","common"],g=>{delete o[g]}),n.headers=ot.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(n)===!1||(c=c&&x.synchronous,l.unshift(x.fulfilled,x.rejected))});const u=[];this.interceptors.response.forEach(function(x){u.push(x.fulfilled,x.rejected)});let d,f=0,h;if(!c){const g=[sl.bind(this),void 0];for(g.unshift(...l),g.push(...u),h=g.length,d=Promise.resolve(n);f<h;)d=d.then(g[f++],g[f++]);return d}h=l.length;let m=n;for(;f<h;){const g=l[f++],x=l[f++];try{m=g(m)}catch(v){x.call(this,v);break}}try{d=sl.call(this,m)}catch(g){return Promise.reject(g)}for(f=0,h=u.length;f<h;)d=d.then(u[f++],u[f++]);return d}getUri(t){t=It(this.defaults,t);const n=Ka(t.baseURL,t.url,t.allowAbsoluteUrls);return Oa(n,t.params,t.paramsSerializer)}}S.forEach(["delete","get","head","options"],function(t){Ir.prototype[t]=function(n,r){return this.request(It(r||{},{method:t,url:n,data:(r||{}).data}))}}),S.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,l){return this.request(It(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}Ir.prototype[t]=n(),Ir.prototype[t+"Form"]=n(!0)});var Hr=Ir;class pa{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(l=>{r.subscribe(l),o=l}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,l){r.reason||(r.reason=new gn(o,i,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new pa(function(s){t=s}),cancel:t}}}var ef=pa;function tf(e){return function(n){return e.apply(null,n)}}function nf(e){return S.isObject(e)&&e.isAxiosError===!0}const Js={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Js).forEach(([e,t])=>{Js[t]=e});var rf=Js;function al(e){const t=new Hr(e),n=ka(Hr.prototype.request,t);return S.extend(n,Hr.prototype,t,{allOwnKeys:!0}),S.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return al(It(e,s))},n}const ve=al(Ks);ve.Axios=Hr,ve.CanceledError=gn,ve.CancelToken=ef,ve.isCancel=Wa,ve.VERSION=ol,ve.toFormData=Nr,ve.AxiosError=ee,ve.Cancel=ve.CanceledError,ve.all=function(t){return Promise.all(t)},ve.spread=tf,ve.isAxiosError=nf,ve.mergeConfig=It,ve.AxiosHeaders=ot,ve.formToJSON=e=>Ia(S.isHTMLForm(e)?new FormData(e):e),ve.getAdapter=rl.getAdapter,ve.HttpStatusCode=rf,ve.default=ve;var sf=ve,of=Tr(sf);const ll=e=>{let t;const n=new Set,r=(u,d)=>{const f=typeof u=="function"?u(t):u;if(!Object.is(f,t)){const h=t;t=d??(typeof f!="object"||f===null)?f:Object.assign({},t,f),n.forEach(m=>m(t,h))}},s=()=>t,l={setState:r,getState:s,getInitialState:()=>c,subscribe:u=>(n.add(u),()=>n.delete(u))},c=t=e(r,s,l);return l},af=e=>e?ll(e):ll,lf=e=>e;function cf(e,t=lf){const n=p.useSyncExternalStore(e.subscribe,p.useCallback(()=>t(e.getState()),[e,t]),p.useCallback(()=>t(e.getInitialState()),[e,t]));return p.useDebugValue(n),n}const cl=e=>{const t=af(e),n=r=>cf(t,r);return Object.assign(n,t),n},ul=e=>e?cl(e):cl,dl=ul(e=>({clientKey:"",baseUrl:"",setConfig:(t,n)=>e({clientKey:t,baseUrl:n})})),fl="https://api.metrifox.com/api/v1",xn=()=>{const{clientKey:e,baseUrl:t}=dl.getState();if(!e)throw new Error("MetriFox SDK not initialized: Client key is missing. Please call metrifoxInit(clientKey) before using SDK feature(s).");return of.create({baseURL:t||fl,headers:{"x-client-key":e,"Content-Type":"application/json"},timeout:18e4})},uf=e=>{dl.getState().setConfig(e.clientKey,e.baseUrl||fl)};function df(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const ff=e=>{switch(e){case"success":return mf;case"info":return xf;case"warning":return gf;case"error":return yf;default:return null}},hf=Array(12).fill(0),pf=({visible:e,className:t})=>p.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},p.createElement("div",{className:"sonner-spinner"},hf.map((n,r)=>p.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),mf=p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},p.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),gf=p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},p.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),xf=p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},p.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),yf=p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},p.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),vf=p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),p.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),bf=()=>{const[e,t]=p.useState(document.hidden);return p.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let Qs=1;class Cf{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...s}=t,o=typeof t?.id=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:Qs++,i=this.toasts.find(c=>c.id===o),l=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(c=>c.id===o?(this.publish({...c,...t,id:o,title:r}),{...c,...t,id:o,dismissible:l,title:r}):c):this.addToast({title:r,...s,dismissible:l,id:o}),o},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const s=Promise.resolve(t instanceof Function?t():t);let o=r!==void 0,i;const l=s.then(async u=>{if(i=["resolve",u],p.isValidElement(u))o=!1,this.create({id:r,type:"default",message:u});else if(kf(u)&&!u.ok){o=!1;const f=typeof n.error=="function"?await n.error(`HTTP error! status: ${u.status}`):n.error,h=typeof n.description=="function"?await n.description(`HTTP error! status: ${u.status}`):n.description,g=typeof f=="object"&&!p.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:h,...g})}else if(u instanceof Error){o=!1;const f=typeof n.error=="function"?await n.error(u):n.error,h=typeof n.description=="function"?await n.description(u):n.description,g=typeof f=="object"&&!p.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:h,...g})}else if(n.success!==void 0){o=!1;const f=typeof n.success=="function"?await n.success(u):n.success,h=typeof n.description=="function"?await n.description(u):n.description,g=typeof f=="object"&&!p.isValidElement(f)?f:{message:f};this.create({id:r,type:"success",description:h,...g})}}).catch(async u=>{if(i=["reject",u],n.error!==void 0){o=!1;const d=typeof n.error=="function"?await n.error(u):n.error,f=typeof n.description=="function"?await n.description(u):n.description,m=typeof d=="object"&&!p.isValidElement(d)?d:{message:d};this.create({id:r,type:"error",description:f,...m})}}).finally(()=>{o&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),c=()=>new Promise((u,d)=>l.then(()=>i[0]==="reject"?d(i[1]):u(i[1])).catch(d));return typeof r!="string"&&typeof r!="number"?{unwrap:c}:Object.assign(r,{unwrap:c})},this.custom=(t,n)=>{const r=n?.id||Qs++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Oe=new Cf,wf=(e,t)=>{const n=t?.id||Qs++;return Oe.addToast({title:e,...t,id:n}),n},kf=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",jf=wf,Lf=()=>Oe.toasts,Ef=()=>Oe.getActiveToasts(),yt=Object.assign(jf,{success:Oe.success,info:Oe.info,warning:Oe.warning,error:Oe.error,custom:Oe.custom,message:Oe.message,promise:Oe.promise,dismiss:Oe.dismiss,loading:Oe.loading},{getHistory:Lf,getToasts:Ef});df("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function Wr(e){return e.label!==void 0}const Mf=3,Sf="24px",Tf="16px",hl=4e3,Df=356,Pf=14,Af=45,Rf=200;function dt(...e){return e.filter(Boolean).join(" ")}function Nf(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const Ff=e=>{var t,n,r,s,o,i,l,c,u;const{invert:d,toast:f,unstyled:h,interacting:m,setHeights:g,visibleToasts:x,heights:v,index:b,toasts:C,expanded:y,removeToast:j,defaultRichColors:w,closeButton:L,style:T,cancelButtonStyle:A,actionButtonStyle:I,className:V="",descriptionClassName:O="",duration:z,position:U,gap:P,expandByDefault:F,classNames:E,icons:D,closeButtonAriaLabel:M="Close toast"}=e,[$,N]=p.useState(null),[H,Y]=p.useState(null),[_,R]=p.useState(!1),[B,Q]=p.useState(!1),[ne,G]=p.useState(!1),[se,re]=p.useState(!1),[ae,J]=p.useState(!1),[q,ye]=p.useState(0),[ie,ue]=p.useState(0),he=p.useRef(f.duration||z||hl),He=p.useRef(null),pe=p.useRef(null),tt=b===0,Vs=b+1<=x,We=f.type,dn=f.dismissible!==!1,v0=f.className||"",b0=f.descriptionClassName||"",Lr=p.useMemo(()=>v.findIndex(te=>te.toastId===f.id)||0,[v,f.id]),C0=p.useMemo(()=>{var te;return(te=f.closeButton)!=null?te:L},[f.closeButton,L]),ma=p.useMemo(()=>f.duration||z||hl,[f.duration,z]),$s=p.useRef(0),fn=p.useRef(0),ga=p.useRef(0),hn=p.useRef(null),[w0,k0]=U.split("-"),xa=p.useMemo(()=>v.reduce((te,ke,Me)=>Me>=Lr?te:te+ke.height,0),[v,Lr]),ya=bf(),j0=f.invert||d,Os=We==="loading";fn.current=p.useMemo(()=>Lr*P+xa,[Lr,xa]),p.useEffect(()=>{he.current=ma},[ma]),p.useEffect(()=>{R(!0)},[]),p.useEffect(()=>{const te=pe.current;if(te){const ke=te.getBoundingClientRect().height;return ue(ke),g(Me=>[{toastId:f.id,height:ke,position:f.position},...Me]),()=>g(Me=>Me.filter(Ze=>Ze.toastId!==f.id))}},[g,f.id]),p.useLayoutEffect(()=>{if(!_)return;const te=pe.current,ke=te.style.height;te.style.height="auto";const Me=te.getBoundingClientRect().height;te.style.height=ke,ue(Me),g(Ze=>Ze.find(Le=>Le.toastId===f.id)?Ze.map(Le=>Le.toastId===f.id?{...Le,height:Me}:Le):[{toastId:f.id,height:Me,position:f.position},...Ze])},[_,f.title,f.description,g,f.id,f.jsx,f.action,f.cancel]);const St=p.useCallback(()=>{Q(!0),ye(fn.current),g(te=>te.filter(ke=>ke.toastId!==f.id)),setTimeout(()=>{j(f)},Rf)},[f,j,g,fn]);p.useEffect(()=>{if(f.promise&&We==="loading"||f.duration===1/0||f.type==="loading")return;let te;return y||m||ya?(()=>{if(ga.current<$s.current){const Ze=new Date().getTime()-$s.current;he.current=he.current-Ze}ga.current=new Date().getTime()})():(()=>{he.current!==1/0&&($s.current=new Date().getTime(),te=setTimeout(()=>{f.onAutoClose==null||f.onAutoClose.call(f,f),St()},he.current))})(),()=>clearTimeout(te)},[y,m,f,We,ya,St]),p.useEffect(()=>{f.delete&&(St(),f.onDismiss==null||f.onDismiss.call(f,f))},[St,f.delete]);function L0(){var te;if(D?.loading){var ke;return p.createElement("div",{className:dt(E?.loader,f==null||(ke=f.classNames)==null?void 0:ke.loader,"sonner-loader"),"data-visible":We==="loading"},D.loading)}return p.createElement(pf,{className:dt(E?.loader,f==null||(te=f.classNames)==null?void 0:te.loader),visible:We==="loading"})}const E0=f.icon||D?.[We]||ff(We);var va,ba;return p.createElement("li",{tabIndex:0,ref:pe,className:dt(V,v0,E?.toast,f==null||(t=f.classNames)==null?void 0:t.toast,E?.default,E?.[We],f==null||(n=f.classNames)==null?void 0:n[We]),"data-sonner-toast":"","data-rich-colors":(va=f.richColors)!=null?va:w,"data-styled":!(f.jsx||f.unstyled||h),"data-mounted":_,"data-promise":!!f.promise,"data-swiped":ae,"data-removed":B,"data-visible":Vs,"data-y-position":w0,"data-x-position":k0,"data-index":b,"data-front":tt,"data-swiping":ne,"data-dismissible":dn,"data-type":We,"data-invert":j0,"data-swipe-out":se,"data-swipe-direction":H,"data-expanded":!!(y||F&&_),"data-testid":f.testId,style:{"--index":b,"--toasts-before":b,"--z-index":C.length-b,"--offset":`${B?q:fn.current}px`,"--initial-height":F?"auto":`${ie}px`,...T,...f.style},onDragEnd:()=>{G(!1),N(null),hn.current=null},onPointerDown:te=>{te.button!==2&&(Os||!dn||(He.current=new Date,ye(fn.current),te.target.setPointerCapture(te.pointerId),te.target.tagName!=="BUTTON"&&(G(!0),hn.current={x:te.clientX,y:te.clientY})))},onPointerUp:()=>{var te,ke,Me;if(se||!dn)return;hn.current=null;const Ze=Number(((te=pe.current)==null?void 0:te.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Er=Number(((ke=pe.current)==null?void 0:ke.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Le=new Date().getTime()-((Me=He.current)==null?void 0:Me.getTime()),Ke=$==="x"?Ze:Er,Mr=Math.abs(Ke)/Le;if(Math.abs(Ke)>=Af||Mr>.11){ye(fn.current),f.onDismiss==null||f.onDismiss.call(f,f),Y($==="x"?Ze>0?"right":"left":Er>0?"down":"up"),St(),re(!0);return}else{var nt,rt;(nt=pe.current)==null||nt.style.setProperty("--swipe-amount-x","0px"),(rt=pe.current)==null||rt.style.setProperty("--swipe-amount-y","0px")}J(!1),G(!1),N(null)},onPointerMove:te=>{var ke,Me,Ze;if(!hn.current||!dn||((ke=window.getSelection())==null?void 0:ke.toString().length)>0)return;const Le=te.clientY-hn.current.y,Ke=te.clientX-hn.current.x;var Mr;const nt=(Mr=e.swipeDirections)!=null?Mr:Nf(U);!$&&(Math.abs(Ke)>1||Math.abs(Le)>1)&&N(Math.abs(Ke)>Math.abs(Le)?"x":"y");let rt={x:0,y:0};const Ca=Ot=>1/(1.5+Math.abs(Ot)/20);if($==="y"){if(nt.includes("top")||nt.includes("bottom"))if(nt.includes("top")&&Le<0||nt.includes("bottom")&&Le>0)rt.y=Le;else{const Ot=Le*Ca(Le);rt.y=Math.abs(Ot)<Math.abs(Le)?Ot:Le}}else if($==="x"&&(nt.includes("left")||nt.includes("right")))if(nt.includes("left")&&Ke<0||nt.includes("right")&&Ke>0)rt.x=Ke;else{const Ot=Ke*Ca(Ke);rt.x=Math.abs(Ot)<Math.abs(Ke)?Ot:Ke}(Math.abs(rt.x)>0||Math.abs(rt.y)>0)&&J(!0),(Me=pe.current)==null||Me.style.setProperty("--swipe-amount-x",`${rt.x}px`),(Ze=pe.current)==null||Ze.style.setProperty("--swipe-amount-y",`${rt.y}px`)}},C0&&!f.jsx&&We!=="loading"?p.createElement("button",{"aria-label":M,"data-disabled":Os,"data-close-button":!0,onClick:Os||!dn?()=>{}:()=>{St(),f.onDismiss==null||f.onDismiss.call(f,f)},className:dt(E?.closeButton,f==null||(r=f.classNames)==null?void 0:r.closeButton)},(ba=D?.close)!=null?ba:vf):null,(We||f.icon||f.promise)&&f.icon!==null&&(D?.[We]!==null||f.icon)?p.createElement("div",{"data-icon":"",className:dt(E?.icon,f==null||(s=f.classNames)==null?void 0:s.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||L0():null,f.type!=="loading"?E0:null):null,p.createElement("div",{"data-content":"",className:dt(E?.content,f==null||(o=f.classNames)==null?void 0:o.content)},p.createElement("div",{"data-title":"",className:dt(E?.title,f==null||(i=f.classNames)==null?void 0:i.title)},f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title),f.description?p.createElement("div",{"data-description":"",className:dt(O,b0,E?.description,f==null||(l=f.classNames)==null?void 0:l.description)},typeof f.description=="function"?f.description():f.description):null),p.isValidElement(f.cancel)?f.cancel:f.cancel&&Wr(f.cancel)?p.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||A,onClick:te=>{Wr(f.cancel)&&dn&&(f.cancel.onClick==null||f.cancel.onClick.call(f.cancel,te),St())},className:dt(E?.cancelButton,f==null||(c=f.classNames)==null?void 0:c.cancelButton)},f.cancel.label):null,p.isValidElement(f.action)?f.action:f.action&&Wr(f.action)?p.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||I,onClick:te=>{Wr(f.action)&&(f.action.onClick==null||f.action.onClick.call(f.action,te),!te.defaultPrevented&&St())},className:dt(E?.actionButton,f==null||(u=f.classNames)==null?void 0:u.actionButton)},f.action.label):null)};function pl(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Vf(e,t){const n={};return[e,t].forEach((r,s)=>{const o=s===1,i=o?"--mobile-offset":"--offset",l=o?Tf:Sf;function c(u){["top","right","bottom","left"].forEach(d=>{n[`${i}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${i}-${u}`]=l:n[`${i}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(l)}),n}const $f=p.forwardRef(function(t,n){const{id:r,invert:s,position:o="bottom-right",hotkey:i=["altKey","KeyT"],expand:l,closeButton:c,className:u,offset:d,mobileOffset:f,theme:h="light",richColors:m,duration:g,style:x,visibleToasts:v=Mf,toastOptions:b,dir:C=pl(),gap:y=Pf,icons:j,containerAriaLabel:w="Notifications"}=t,[L,T]=p.useState([]),A=p.useMemo(()=>r?L.filter(_=>_.toasterId===r):L.filter(_=>!_.toasterId),[L,r]),I=p.useMemo(()=>Array.from(new Set([o].concat(A.filter(_=>_.position).map(_=>_.position)))),[A,o]),[V,O]=p.useState([]),[z,U]=p.useState(!1),[P,F]=p.useState(!1),[E,D]=p.useState(h!=="system"?h:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),M=p.useRef(null),$=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),N=p.useRef(null),H=p.useRef(!1),Y=p.useCallback(_=>{T(R=>{var B;return(B=R.find(Q=>Q.id===_.id))!=null&&B.delete||Oe.dismiss(_.id),R.filter(({id:Q})=>Q!==_.id)})},[]);return p.useEffect(()=>Oe.subscribe(_=>{if(_.dismiss){requestAnimationFrame(()=>{T(R=>R.map(B=>B.id===_.id?{...B,delete:!0}:B))});return}setTimeout(()=>{_s.flushSync(()=>{T(R=>{const B=R.findIndex(Q=>Q.id===_.id);return B!==-1?[...R.slice(0,B),{...R[B],..._},...R.slice(B+1)]:[_,...R]})})})}),[L]),p.useEffect(()=>{if(h!=="system"){D(h);return}if(h==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?D("dark"):D("light")),typeof window>"u")return;const _=window.matchMedia("(prefers-color-scheme: dark)");try{_.addEventListener("change",({matches:R})=>{D(R?"dark":"light")})}catch{_.addListener(({matches:B})=>{try{D(B?"dark":"light")}catch(Q){console.error(Q)}})}},[h]),p.useEffect(()=>{L.length<=1&&U(!1)},[L]),p.useEffect(()=>{const _=R=>{var B;if(i.every(G=>R[G]||R.code===G)){var ne;U(!0),(ne=M.current)==null||ne.focus()}R.code==="Escape"&&(document.activeElement===M.current||(B=M.current)!=null&&B.contains(document.activeElement))&&U(!1)};return document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[i]),p.useEffect(()=>{if(M.current)return()=>{N.current&&(N.current.focus({preventScroll:!0}),N.current=null,H.current=!1)}},[M.current]),p.createElement("section",{ref:n,"aria-label":`${w} ${$}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},I.map((_,R)=>{var B;const[Q,ne]=_.split("-");return A.length?p.createElement("ol",{key:_,dir:C==="auto"?pl():C,tabIndex:-1,ref:M,className:u,"data-sonner-toaster":!0,"data-sonner-theme":E,"data-y-position":Q,"data-x-position":ne,style:{"--front-toast-height":`${((B=V[0])==null?void 0:B.height)||0}px`,"--width":`${Df}px`,"--gap":`${y}px`,...x,...Vf(d,f)},onBlur:G=>{H.current&&!G.currentTarget.contains(G.relatedTarget)&&(H.current=!1,N.current&&(N.current.focus({preventScroll:!0}),N.current=null))},onFocus:G=>{G.target instanceof HTMLElement&&G.target.dataset.dismissible==="false"||H.current||(H.current=!0,N.current=G.relatedTarget)},onMouseEnter:()=>U(!0),onMouseMove:()=>U(!0),onMouseLeave:()=>{P||U(!1)},onDragEnd:()=>U(!1),onPointerDown:G=>{G.target instanceof HTMLElement&&G.target.dataset.dismissible==="false"||F(!0)},onPointerUp:()=>F(!1)},A.filter(G=>!G.position&&R===0||G.position===_).map((G,se)=>{var re,ae;return p.createElement(Ff,{key:G.id,icons:j,index:se,toast:G,defaultRichColors:m,duration:(re=b?.duration)!=null?re:g,className:b?.className,descriptionClassName:b?.descriptionClassName,invert:s,visibleToasts:v,closeButton:(ae=b?.closeButton)!=null?ae:c,interacting:P,position:_,style:b?.style,unstyled:b?.unstyled,classNames:b?.classNames,cancelButtonStyle:b?.cancelButtonStyle,actionButtonStyle:b?.actionButtonStyle,closeButtonAriaLabel:b?.closeButtonAriaLabel,removeToast:Y,toasts:A.filter(J=>J.position==G.position),heights:V.filter(J=>J.position==G.position),setHeights:O,expandByDefault:l,gap:y,expanded:z,swipeDirections:t.swipeDirections})})):null}))}),Of=({children:e})=>a.jsxs(p.Fragment,{children:[a.jsx($f,{className:"backdrop-blur-md",toastOptions:{unstyled:!0,classNames:{title:"text-md font-500",description:"text-sm font-400",error:"flex items-center gap-1 bg-red-500 text-metrifox-white rounded-lg p-2",success:"flex items-center gap-1 bg-green-600 text-metrifox-white rounded-lg p-2",warning:"flex items-center gap-1 bg-amber-500 text-metrifox-white rounded-lg p-2",info:"flex items-center gap-1 bg-secondary-light text-metrifox-black rounded-lg p-2"}}}),e]}),k=({children:e,className:t="",...n})=>a.jsx("div",{className:t,...n,children:e}),ml=typeof document<"u"?p.useLayoutEffect:()=>{};var eo;const _f=(eo=p.useInsertionEffect)!==null&&eo!==void 0?eo:ml;function Bf(e){const t=p.useRef(null);return _f(()=>{t.current=e},[e]),p.useCallback((...n)=>{const r=t.current;return r?.(...n)},[])}const Tt=e=>{var t;return(t=e?.ownerDocument)!==null&&t!==void 0?t:document},Ht=e=>e&&"window"in e&&e.window===e?e:Tt(e).defaultView||window;function If(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function Hf(e){return If(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let Wf=!1;function to(){return Wf}function gl(e,t){if(!to())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:Hf(n)?n=n.host:n=n.parentNode}return!1}const no=(e=document)=>{var t;if(!to())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function xl(e){return to()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function Zr(e){var t;if(typeof window>"u"||window.navigator==null)return!1;let n=(t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands;return Array.isArray(n)&&n.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function ro(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function vt(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const so=vt(function(){return ro(/^Mac/i)}),Zf=vt(function(){return ro(/^iPhone/i)}),Uf=vt(function(){return ro(/^iPad/i)||so()&&navigator.maxTouchPoints>1}),zf=vt(function(){return Zf()||Uf()});vt(function(){return so()||zf()}),vt(function(){return Zr(/AppleWebKit/i)&&!Kf()});const Kf=vt(function(){return Zr(/Chrome/i)}),Yf=vt(function(){return Zr(/Android/i)});vt(function(){return Zr(/Firefox/i)});function yl(){let e=p.useRef(new Map),t=p.useCallback((s,o,i,l)=>{let c=l?.once?(...u)=>{e.current.delete(i),i(...u)}:i;e.current.set(i,{type:o,eventTarget:s,fn:c,options:l}),s.addEventListener(o,c,l)},[]),n=p.useCallback((s,o,i,l)=>{var c;let u=((c=e.current.get(i))===null||c===void 0?void 0:c.fn)||i;s.removeEventListener(o,u,l),e.current.delete(i)},[]),r=p.useCallback(()=>{e.current.forEach((s,o)=>{n(s.eventTarget,s.type,o,s.options)})},[n]);return p.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Gf(e){return e.pointerType===""&&e.isTrusted?!0:Yf()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function vl(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function qf(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function bl(e){let t=p.useRef({isFocused:!1,observer:null});ml(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=Bf(r=>{e?.(r)});return p.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let s=r.target,o=i=>{if(t.current.isFocused=!1,s.disabled){let l=vl(i);n(l)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};s.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&s.disabled){var i;(i=t.current.observer)===null||i===void 0||i.disconnect();let l=s===document.activeElement?null:document.activeElement;s.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),s.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(s,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let Xf=!1,Kn=null,oo=new Set,Yn=new Map,Wt=!1,io=!1;const Jf={Tab:!0,Escape:!0};function ao(e,t){for(let n of oo)n(e,t)}function Qf(e){return!(e.metaKey||!so()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Ur(e){Wt=!0,Qf(e)&&(Kn="keyboard",ao("keyboard",e))}function Ye(e){Kn="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Wt=!0,ao("pointer",e))}function Cl(e){Gf(e)&&(Wt=!0,Kn="virtual")}function wl(e){e.target===window||e.target===document||Xf||!e.isTrusted||(!Wt&&!io&&(Kn="virtual",ao("virtual",e)),Wt=!1,io=!1)}function kl(){Wt=!1,io=!0}function lo(e){if(typeof window>"u"||typeof document>"u"||Yn.get(Ht(e)))return;const t=Ht(e),n=Tt(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Wt=!0,r.apply(this,arguments)},n.addEventListener("keydown",Ur,!0),n.addEventListener("keyup",Ur,!0),n.addEventListener("click",Cl,!0),t.addEventListener("focus",wl,!0),t.addEventListener("blur",kl,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",Ye,!0),n.addEventListener("pointermove",Ye,!0),n.addEventListener("pointerup",Ye,!0)):process.env.NODE_ENV==="test"&&(n.addEventListener("mousedown",Ye,!0),n.addEventListener("mousemove",Ye,!0),n.addEventListener("mouseup",Ye,!0)),t.addEventListener("beforeunload",()=>{jl(e)},{once:!0}),Yn.set(t,{focus:r})}const jl=(e,t)=>{const n=Ht(e),r=Tt(e);t&&r.removeEventListener("DOMContentLoaded",t),Yn.has(n)&&(n.HTMLElement.prototype.focus=Yn.get(n).focus,r.removeEventListener("keydown",Ur,!0),r.removeEventListener("keyup",Ur,!0),r.removeEventListener("click",Cl,!0),n.removeEventListener("focus",wl,!0),n.removeEventListener("blur",kl,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",Ye,!0),r.removeEventListener("pointermove",Ye,!0),r.removeEventListener("pointerup",Ye,!0)):process.env.NODE_ENV==="test"&&(r.removeEventListener("mousedown",Ye,!0),r.removeEventListener("mousemove",Ye,!0),r.removeEventListener("mouseup",Ye,!0)),Yn.delete(n))};function e3(e){const t=Tt(e);let n;return t.readyState!=="loading"?lo(e):(n=()=>{lo(e)},t.addEventListener("DOMContentLoaded",n)),()=>jl(e,n)}typeof document<"u"&&e3();function Ll(){return Kn!=="pointer"}const t3=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function n3(e,t,n){let r=Tt(n?.target);const s=typeof window<"u"?Ht(n?.target).HTMLInputElement:HTMLInputElement,o=typeof window<"u"?Ht(n?.target).HTMLTextAreaElement:HTMLTextAreaElement,i=typeof window<"u"?Ht(n?.target).HTMLElement:HTMLElement,l=typeof window<"u"?Ht(n?.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof s&&!t3.has(r.activeElement.type)||r.activeElement instanceof o||r.activeElement instanceof i&&r.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof l&&!Jf[n.key])}function r3(e,t,n){lo(),p.useEffect(()=>{let r=(s,o)=>{n3(!!n?.isTextInput,s,o)&&e(Ll())};return oo.add(r),()=>{oo.delete(r)}},t)}function s3(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:s}=e;const o=p.useCallback(c=>{if(c.target===c.currentTarget)return r&&r(c),s&&s(!1),!0},[r,s]),i=bl(o),l=p.useCallback(c=>{const u=Tt(c.target),d=u?no(u):no();c.target===c.currentTarget&&d===xl(c.nativeEvent)&&(n&&n(c),s&&s(!0),i(c))},[s,n,i]);return{focusProps:{onFocus:!t&&(n||s||r)?l:void 0,onBlur:!t&&(r||s)?o:void 0}}}function o3(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:s}=e,o=p.useRef({isFocusWithin:!1}),{addGlobalListener:i,removeAllGlobalListeners:l}=yl(),c=p.useCallback(f=>{f.currentTarget.contains(f.target)&&o.current.isFocusWithin&&!f.currentTarget.contains(f.relatedTarget)&&(o.current.isFocusWithin=!1,l(),n&&n(f),s&&s(!1))},[n,s,o,l]),u=bl(c),d=p.useCallback(f=>{if(!f.currentTarget.contains(f.target))return;const h=Tt(f.target),m=no(h);if(!o.current.isFocusWithin&&m===xl(f.nativeEvent)){r&&r(f),s&&s(!0),o.current.isFocusWithin=!0,u(f);let g=f.currentTarget;i(h,"focus",x=>{if(o.current.isFocusWithin&&!gl(g,x.target)){let v=new h.defaultView.FocusEvent("blur",{relatedTarget:x.target});qf(v,g);let b=vl(v);c(b)}},{capture:!0})}},[r,s,u,i,c]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:c}}}let zr=!1,Kr=0;function co(){zr=!0,setTimeout(()=>{zr=!1},50)}function El(e){e.pointerType==="touch"&&co()}function i3(){if(!(typeof document>"u"))return Kr===0&&(typeof PointerEvent<"u"?document.addEventListener("pointerup",El):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",co)),Kr++,()=>{Kr--,!(Kr>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",El):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",co))}}function Ml(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:s}=e,[o,i]=p.useState(!1),l=p.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;p.useEffect(i3,[]);let{addGlobalListener:c,removeAllGlobalListeners:u}=yl(),{hoverProps:d,triggerHoverEnd:f}=p.useMemo(()=>{let h=(x,v)=>{if(l.pointerType=v,s||v==="touch"||l.isHovered||!x.currentTarget.contains(x.target))return;l.isHovered=!0;let b=x.currentTarget;l.target=b,c(Tt(x.target),"pointerover",C=>{l.isHovered&&l.target&&!gl(l.target,C.target)&&m(C,C.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:b,pointerType:v}),n&&n(!0),i(!0)},m=(x,v)=>{let b=l.target;l.pointerType="",l.target=null,!(v==="touch"||!l.isHovered||!b)&&(l.isHovered=!1,u(),r&&r({type:"hoverend",target:b,pointerType:v}),n&&n(!1),i(!1))},g={};return typeof PointerEvent<"u"?(g.onPointerEnter=x=>{zr&&x.pointerType==="mouse"||h(x,x.pointerType)},g.onPointerLeave=x=>{!s&&x.currentTarget.contains(x.target)&&m(x,x.pointerType)}):process.env.NODE_ENV==="test"&&(g.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},g.onMouseEnter=x=>{!l.ignoreEmulatedMouseEvents&&!zr&&h(x,"mouse"),l.ignoreEmulatedMouseEvents=!1},g.onMouseLeave=x=>{!s&&x.currentTarget.contains(x.target)&&m(x,"mouse")}),{hoverProps:g,triggerHoverEnd:m}},[t,n,r,s,l,c,u]);return p.useEffect(()=>{s&&f({currentTarget:l.target},l.pointerType)},[s]),{hoverProps:d,isHovered:o}}function uo(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,s=p.useRef({isFocused:!1,isFocusVisible:t||Ll()}),[o,i]=p.useState(!1),[l,c]=p.useState(()=>s.current.isFocused&&s.current.isFocusVisible),u=p.useCallback(()=>c(s.current.isFocused&&s.current.isFocusVisible),[]),d=p.useCallback(m=>{s.current.isFocused=m,i(m),u()},[u]);r3(m=>{s.current.isFocusVisible=m,u()},[],{isTextInput:n});let{focusProps:f}=s3({isDisabled:r,onFocusChange:d}),{focusWithinProps:h}=o3({isDisabled:!r,onFocusWithinChange:d});return{isFocused:o,isFocusVisible:l,focusProps:r?h:f}}var a3=Object.defineProperty,l3=(e,t,n)=>t in e?a3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fo=(e,t,n)=>(l3(e,typeof t!="symbol"?t+"":t,n),n);let c3=class{constructor(){fo(this,"current",this.detect()),fo(this,"handoffState","pending"),fo(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Zt=new c3;function yn(e){var t;return Zt.isServer?null:e==null?document:(t=e?.ownerDocument)!=null?t:document}function Ut(e){var t,n;return Zt.isServer?null:e==null?document:(n=(t=e?.getRootNode)==null?void 0:t.call(e))!=null?n:document}function zt(e){var t,n;return(n=(t=Ut(e))==null?void 0:t.activeElement)!=null?n:null}function ho(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function bt(){let e=[],t={addEventListener(n,r,s,o){return n.addEventListener(r,s,o),t.add(()=>n.removeEventListener(r,s,o))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return ho(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,s){let o=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:s}),this.add(()=>{Object.assign(n.style,{[r]:o})})},group(n){let r=bt();return n(r),this.add(()=>r.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let s of e.splice(r,1))s()}},dispose(){for(let n of e.splice(0))n()}};return t}function Yr(){let[e]=p.useState(bt);return p.useEffect(()=>()=>e.dispose(),[e]),e}let Ae=(e,t)=>{Zt.isServer?p.useEffect(e,t):p.useLayoutEffect(e,t)};function Ge(e){let t=p.useRef(e);return Ae(()=>{t.current=e},[e]),t}let oe=function(e){let t=Ge(e);return p.useCallback((...n)=>t.current(...n),[t])};function u3(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function d3(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function Sl({disabled:e=!1}={}){let t=p.useRef(null),[n,r]=p.useState(!1),s=Yr(),o=oe(()=>{t.current=null,r(!1),s.dispose()}),i=oe(l=>{if(s.dispose(),t.current===null){t.current=l.currentTarget,r(!0);{let c=yn(l.currentTarget);s.addEventListener(c,"pointerup",o,!1),s.addEventListener(c,"pointermove",u=>{if(t.current){let d=u3(u);r(d3(d,t.current.getBoundingClientRect()))}},!1),s.addEventListener(c,"pointercancel",o,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:i,onPointerUp:o,onClick:o}}}function ft(e){return p.useMemo(()=>e,Object.values(e))}function Tl(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function Re(e,t,...n){if(e in t){let s=t[e];return typeof s=="function"?s(...n):s}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(s=>`"${s}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Re),r}var Kt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Kt||{}),f3=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(f3||{});function _e(){let e=p3();return p.useCallback(t=>h3({mergeRefs:e,...t}),[e])}function h3({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:s,visible:o=!0,name:i,mergeRefs:l}){l=l??m3;let c=Dl(t,e);if(o)return Gr(c,n,r,i,l);let u=s??0;if(u&2){let{static:d=!1,...f}=c;if(d)return Gr(f,n,r,i,l)}if(u&1){let{unmount:d=!0,...f}=c;return Re(d?0:1,{0(){return null},1(){return Gr({...f,hidden:!0,style:{display:"none"}},n,r,i,l)}})}return Gr(c,n,r,i,l)}function Gr(e,t={},n,r,s){let{as:o=n,children:i,refName:l="ref",...c}=po(e,["unmount","static"]),u=e.ref!==void 0?{[l]:e.ref}:{},d=typeof i=="function"?i(t):i;"className"in c&&c.className&&typeof c.className=="function"&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let f={};if(t){let h=!1,m=[];for(let[g,x]of Object.entries(t))typeof x=="boolean"&&(h=!0),x===!0&&m.push(g.replace(/([A-Z])/g,v=>`-${v.toLowerCase()}`));if(h){f["data-headlessui-state"]=m.join(" ");for(let g of m)f[`data-${g}`]=""}}if(qr(o)&&(Object.keys(vn(c)).length>0||Object.keys(vn(f)).length>0))if(!p.isValidElement(d)||Array.isArray(d)&&d.length>1||x3(d)){if(Object.keys(vn(c)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(vn(c)).concat(Object.keys(vn(f))).map(h=>` - ${h}`).join(`
1
+ "use strict";var p=require("react"),o=require("react/jsx-runtime"),Ws=require("react-dom");function La(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if(n!=="default"){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var K=La(p),Pr=La(Ws),Ht=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ar(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*! Axios v1.12.2 Copyright (c) 2025 Matt Zabriskie and contributors */function Ea(e,t){return function(){return e.apply(t,arguments)}}const{toString:A0}=Object.prototype,{getPrototypeOf:Us}=Object,{iterator:Nr,toStringTag:Sa}=Symbol,Rr=(e=>t=>{const n=A0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ot=e=>(e=e.toLowerCase(),t=>Rr(t)===e),Fr=e=>t=>typeof t===e,{isArray:xn}=Array,yn=Fr("undefined");function Zn(e){return e!==null&&!yn(e)&&e.constructor!==null&&!yn(e.constructor)&&Oe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ma=ot("ArrayBuffer");function N0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ma(e.buffer),t}const R0=Fr("string"),Oe=Fr("function"),Ta=Fr("number"),zn=e=>e!==null&&typeof e=="object",F0=e=>e===!0||e===!1,Vr=e=>{if(Rr(e)!=="object")return!1;const t=Us(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Sa in e)&&!(Nr in e)},V0=e=>{if(!zn(e)||Zn(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},$0=ot("Date"),O0=ot("File"),_0=ot("Blob"),B0=ot("FileList"),I0=e=>zn(e)&&Oe(e.pipe),H0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Oe(e.append)&&((t=Rr(e))==="formdata"||t==="object"&&Oe(e.toString)&&e.toString()==="[object FormData]"))},W0=ot("URLSearchParams"),[U0,Z0,z0,K0]=["ReadableStream","Request","Response","Headers"].map(ot),Y0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Kn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),xn(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{if(Zn(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let l;for(r=0;r<a;r++)l=i[r],t.call(null,e[l],l,e)}}function Da(e,t){if(Zn(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Wt=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Ht)(),Pa=e=>!yn(e)&&e!==Wt;function Zs(){const{caseless:e,skipUndefined:t}=Pa(this)&&this||{},n={},r=(s,i)=>{const a=e&&Da(n,i)||i;Vr(n[a])&&Vr(s)?n[a]=Zs(n[a],s):Vr(s)?n[a]=Zs({},s):xn(s)?n[a]=s.slice():(!t||!yn(s))&&(n[a]=s)};for(let s=0,i=arguments.length;s<i;s++)arguments[s]&&Kn(arguments[s],r);return n}const G0=(e,t,n,{allOwnKeys:r}={})=>(Kn(t,(s,i)=>{n&&Oe(s)?e[i]=Ea(s,n):e[i]=s},{allOwnKeys:r}),e),q0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),X0=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},J0=(e,t,n,r)=>{let s,i,a;const l={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)a=s[i],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&Us(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Q0=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},e2=e=>{if(!e)return null;if(xn(e))return e;let t=e.length;if(!Ta(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},t2=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Us(Uint8Array)),n2=(e,t)=>{const r=(e&&e[Nr]).call(e);let s;for(;(s=r.next())&&!s.done;){const i=s.value;t.call(e,i[0],i[1])}},r2=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},s2=ot("HTMLFormElement"),o2=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Aa=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),i2=ot("RegExp"),Na=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Kn(n,(s,i)=>{let a;(a=t(s,i,e))!==!1&&(r[i]=a||s)}),Object.defineProperties(e,r)},a2=e=>{Na(e,(t,n)=>{if(Oe(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Oe(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},l2=(e,t)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return xn(e)?r(e):r(String(e).split(t)),n},c2=()=>{},u2=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function d2(e){return!!(e&&Oe(e.append)&&e[Sa]==="FormData"&&e[Nr])}const f2=e=>{const t=new Array(10),n=(r,s)=>{if(zn(r)){if(t.indexOf(r)>=0)return;if(Zn(r))return r;if(!("toJSON"in r)){t[s]=r;const i=xn(r)?[]:{};return Kn(r,(a,l)=>{const c=n(a,s+1);!yn(c)&&(i[l]=c)}),t[s]=void 0,i}}return r};return n(e,0)},h2=ot("AsyncFunction"),p2=e=>e&&(zn(e)||Oe(e))&&Oe(e.then)&&Oe(e.catch),Ra=((e,t)=>e?setImmediate:t?((n,r)=>(Wt.addEventListener("message",({source:s,data:i})=>{s===Wt&&i===n&&r.length&&r.shift()()},!1),s=>{r.push(s),Wt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Oe(Wt.postMessage)),m2=typeof queueMicrotask<"u"?queueMicrotask.bind(Wt):typeof process<"u"&&process.nextTick||Ra,g2=e=>e!=null&&Oe(e[Nr]);var M={isArray:xn,isArrayBuffer:Ma,isBuffer:Zn,isFormData:H0,isArrayBufferView:N0,isString:R0,isNumber:Ta,isBoolean:F0,isObject:zn,isPlainObject:Vr,isEmptyObject:V0,isReadableStream:U0,isRequest:Z0,isResponse:z0,isHeaders:K0,isUndefined:yn,isDate:$0,isFile:O0,isBlob:_0,isRegExp:i2,isFunction:Oe,isStream:I0,isURLSearchParams:W0,isTypedArray:t2,isFileList:B0,forEach:Kn,merge:Zs,extend:G0,trim:Y0,stripBOM:q0,inherits:X0,toFlatObject:J0,kindOf:Rr,kindOfTest:ot,endsWith:Q0,toArray:e2,forEachEntry:n2,matchAll:r2,isHTMLForm:s2,hasOwnProperty:Aa,hasOwnProp:Aa,reduceDescriptors:Na,freezeMethods:a2,toObjectSet:l2,toCamelCase:o2,noop:c2,toFiniteNumber:u2,findKey:Da,global:Wt,isContextDefined:Pa,isSpecCompliantForm:d2,toJSONObject:f2,isAsyncFn:h2,isThenable:p2,setImmediate:Ra,asap:m2,isIterable:g2};function ee(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}M.inherits(ee,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:M.toJSONObject(this.config),code:this.code,status:this.status}}});const Fa=ee.prototype,Va={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Va[e]={value:e}}),Object.defineProperties(ee,Va),Object.defineProperty(Fa,"isAxiosError",{value:!0}),ee.from=(e,t,n,r,s,i)=>{const a=Object.create(Fa);M.toFlatObject(e,a,function(d){return d!==Error.prototype},u=>u!=="isAxiosError");const l=e&&e.message?e.message:"Error",c=t==null&&e?e.code:t;return ee.call(a,l,c,n,r,s),e&&a.cause==null&&Object.defineProperty(a,"cause",{value:e,configurable:!0}),a.name=e&&e.name||"Error",i&&Object.assign(a,i),a};var x2=null;function zs(e){return M.isPlainObject(e)||M.isArray(e)}function $a(e){return M.endsWith(e,"[]")?e.slice(0,-2):e}function Oa(e,t,n){return e?e.concat(t).map(function(s,i){return s=$a(s),!n&&i?"["+s+"]":s}).join(n?".":""):t}function y2(e){return M.isArray(e)&&!e.some(zs)}const v2=M.toFlatObject(M,{},null,function(t){return/^is[A-Z]/.test(t)});function $r(e,t,n){if(!M.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=M.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,y){return!M.isUndefined(y[x])});const r=n.metaTokens,s=n.visitor||d,i=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&M.isSpecCompliantForm(t);if(!M.isFunction(s))throw new TypeError("visitor must be a function");function u(m){if(m===null)return"";if(M.isDate(m))return m.toISOString();if(M.isBoolean(m))return m.toString();if(!c&&M.isBlob(m))throw new ee("Blob is not supported. Use a Buffer instead.");return M.isArrayBuffer(m)||M.isTypedArray(m)?c&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function d(m,x,y){let b=m;if(m&&!y&&typeof m=="object"){if(M.endsWith(x,"{}"))x=r?x:x.slice(0,-2),m=JSON.stringify(m);else if(M.isArray(m)&&y2(m)||(M.isFileList(m)||M.endsWith(x,"[]"))&&(b=M.toArray(m)))return x=$a(x),b.forEach(function(v,j){!(M.isUndefined(v)||v===null)&&t.append(a===!0?Oa([x],j,i):a===null?x:x+"[]",u(v))}),!1}return zs(m)?!0:(t.append(Oa(y,x,i),u(m)),!1)}const f=[],h=Object.assign(v2,{defaultVisitor:d,convertValue:u,isVisitable:zs});function g(m,x){if(!M.isUndefined(m)){if(f.indexOf(m)!==-1)throw Error("Circular reference detected in "+x.join("."));f.push(m),M.forEach(m,function(b,C){(!(M.isUndefined(b)||b===null)&&s.call(t,b,M.isString(C)?C.trim():C,x,h))===!0&&g(b,x?x.concat(C):[C])}),f.pop()}}if(!M.isObject(e))throw new TypeError("data must be an object");return g(e),t}function _a(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Ks(e,t){this._pairs=[],e&&$r(e,this,t)}const Ba=Ks.prototype;Ba.append=function(t,n){this._pairs.push([t,n])},Ba.toString=function(t){const n=t?function(r){return t.call(this,r,_a)}:_a;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function b2(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ia(e,t,n){if(!t)return e;const r=n&&n.encode||b2;M.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let i;if(s?i=s(t,n):i=M.isURLSearchParams(t)?t.toString():new Ks(t,n).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class C2{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){M.forEach(this.handlers,function(r){r!==null&&t(r)})}}var Ha=C2,Wa={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},w2=typeof URLSearchParams<"u"?URLSearchParams:Ks,k2=typeof FormData<"u"?FormData:null,j2=typeof Blob<"u"?Blob:null,L2={isBrowser:!0,classes:{URLSearchParams:w2,FormData:k2,Blob:j2},protocols:["http","https","file","blob","url","data"]};const Ys=typeof window<"u"&&typeof document<"u",Gs=typeof navigator=="object"&&navigator||void 0,E2=Ys&&(!Gs||["ReactNative","NativeScript","NS"].indexOf(Gs.product)<0),S2=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),M2=Ys&&window.location.href||"http://localhost";var T2=Object.freeze({__proto__:null,hasBrowserEnv:Ys,hasStandardBrowserWebWorkerEnv:S2,hasStandardBrowserEnv:E2,navigator:Gs,origin:M2}),Me={...T2,...L2};function D2(e,t){return $r(e,new Me.classes.URLSearchParams,{visitor:function(n,r,s,i){return Me.isNode&&M.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function P2(e){return M.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function A2(e){const t={},n=Object.keys(e);let r;const s=n.length;let i;for(r=0;r<s;r++)i=n[r],t[i]=e[i];return t}function Ua(e){function t(n,r,s,i){let a=n[i++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),c=i>=n.length;return a=!a&&M.isArray(s)?s.length:a,c?(M.hasOwnProp(s,a)?s[a]=[s[a],r]:s[a]=r,!l):((!s[a]||!M.isObject(s[a]))&&(s[a]=[]),t(n,r,s[a],i)&&M.isArray(s[a])&&(s[a]=A2(s[a])),!l)}if(M.isFormData(e)&&M.isFunction(e.entries)){const n={};return M.forEachEntry(e,(r,s)=>{t(P2(r),s,n,0)}),n}return null}function N2(e,t,n){if(M.isString(e))try{return(t||JSON.parse)(e),M.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const qs={transitional:Wa,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=M.isObject(t);if(i&&M.isHTMLForm(t)&&(t=new FormData(t)),M.isFormData(t))return s?JSON.stringify(Ua(t)):t;if(M.isArrayBuffer(t)||M.isBuffer(t)||M.isStream(t)||M.isFile(t)||M.isBlob(t)||M.isReadableStream(t))return t;if(M.isArrayBufferView(t))return t.buffer;if(M.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return D2(t,this.formSerializer).toString();if((l=M.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return $r(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),N2(t)):t}],transformResponse:[function(t){const n=this.transitional||qs.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(M.isResponse(t)||M.isReadableStream(t))return t;if(t&&M.isString(t)&&(r&&!this.responseType||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t,this.parseReviver)}catch(l){if(a)throw l.name==="SyntaxError"?ee.from(l,ee.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Me.classes.FormData,Blob:Me.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};M.forEach(["delete","get","head","post","put","patch"],e=>{qs.headers[e]={}});var Xs=qs;const R2=M.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var F2=e=>{const t={};let n,r,s;return e&&e.split(`
2
+ `).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),r=a.substring(s+1).trim(),!(!n||t[n]&&R2[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};const Za=Symbol("internals");function Yn(e){return e&&String(e).trim().toLowerCase()}function Or(e){return e===!1||e==null?e:M.isArray(e)?e.map(Or):String(e)}function V2(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const $2=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Js(e,t,n,r,s){if(M.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!M.isString(t)){if(M.isString(r))return t.indexOf(r)!==-1;if(M.isRegExp(r))return r.test(t)}}function O2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function _2(e,t){const n=M.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,i,a){return this[r].call(this,t,s,i,a)},configurable:!0})})}class _r{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function i(l,c,u){const d=Yn(c);if(!d)throw new Error("header name must be a non-empty string");const f=M.findKey(s,d);(!f||s[f]===void 0||u===!0||u===void 0&&s[f]!==!1)&&(s[f||c]=Or(l))}const a=(l,c)=>M.forEach(l,(u,d)=>i(u,d,c));if(M.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(M.isString(t)&&(t=t.trim())&&!$2(t))a(F2(t),n);else if(M.isObject(t)&&M.isIterable(t)){let l={},c,u;for(const d of t){if(!M.isArray(d))throw TypeError("Object iterator must return a key-value pair");l[u=d[0]]=(c=l[u])?M.isArray(c)?[...c,d[1]]:[c,d[1]]:d[1]}a(l,n)}else t!=null&&i(n,t,r);return this}get(t,n){if(t=Yn(t),t){const r=M.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return V2(s);if(M.isFunction(n))return n.call(this,s,r);if(M.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Yn(t),t){const r=M.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Js(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function i(a){if(a=Yn(a),a){const l=M.findKey(r,a);l&&(!n||Js(r,r[l],l,n))&&(delete r[l],s=!0)}}return M.isArray(t)?t.forEach(i):i(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!t||Js(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,r={};return M.forEach(this,(s,i)=>{const a=M.findKey(r,i);if(a){n[a]=Or(s),delete n[i];return}const l=t?O2(i):String(i).trim();l!==i&&delete n[i],n[l]=Or(s),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return M.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&M.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
3
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Za]=this[Za]={accessors:{}}).accessors,s=this.prototype;function i(a){const l=Yn(a);r[l]||(_2(s,a),r[l]=!0)}return M.isArray(t)?t.forEach(i):i(t),this}}_r.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),M.reduceDescriptors(_r.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),M.freezeMethods(_r);var it=_r;function Qs(e,t){const n=this||Xs,r=t||n,s=it.from(r.headers);let i=r.data;return M.forEach(e,function(l){i=l.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function za(e){return!!(e&&e.__CANCEL__)}function vn(e,t,n){ee.call(this,e??"canceled",ee.ERR_CANCELED,t,n),this.name="CanceledError"}M.inherits(vn,ee,{__CANCEL__:!0});function Ka(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ee("Request failed with status code "+n.status,[ee.ERR_BAD_REQUEST,ee.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function B2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function I2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,i=0,a;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),d=r[i];a||(a=u),n[s]=c,r[s]=u;let f=i,h=0;for(;f!==s;)h+=n[f++],f=f%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),u-a<t)return;const g=d&&u-d;return g?Math.round(h*1e3/g):void 0}}function H2(e,t){let n=0,r=1e3/t,s,i;const a=(u,d=Date.now())=>{n=d,s=null,i&&(clearTimeout(i),i=null),e(...u)};return[(...u)=>{const d=Date.now(),f=d-n;f>=r?a(u,d):(s=u,i||(i=setTimeout(()=>{i=null,a(s)},r-f)))},()=>s&&a(s)]}const Br=(e,t,n=3)=>{let r=0;const s=I2(50,250);return H2(i=>{const a=i.loaded,l=i.lengthComputable?i.total:void 0,c=a-r,u=s(c),d=a<=l;r=a;const f={loaded:a,total:l,progress:l?a/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&d?(l-a)/u:void 0,event:i,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},Ya=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ga=e=>(...t)=>M.asap(()=>e(...t));var W2=Me.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Me.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Me.origin),Me.navigator&&/(msie|trident)/i.test(Me.navigator.userAgent)):()=>!0,U2=Me.hasStandardBrowserEnv?{write(e,t,n,r,s,i){const a=[e+"="+encodeURIComponent(t)];M.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),M.isString(r)&&a.push("path="+r),M.isString(s)&&a.push("domain="+s),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Z2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function z2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function qa(e,t,n){let r=!Z2(t);return e&&(r||n==!1)?z2(e,t):t}const Xa=e=>e instanceof it?{...e}:e;function Ut(e,t){t=t||{};const n={};function r(u,d,f,h){return M.isPlainObject(u)&&M.isPlainObject(d)?M.merge.call({caseless:h},u,d):M.isPlainObject(d)?M.merge({},d):M.isArray(d)?d.slice():d}function s(u,d,f,h){if(M.isUndefined(d)){if(!M.isUndefined(u))return r(void 0,u,f,h)}else return r(u,d,f,h)}function i(u,d){if(!M.isUndefined(d))return r(void 0,d)}function a(u,d){if(M.isUndefined(d)){if(!M.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function l(u,d,f){if(f in t)return r(u,d);if(f in e)return r(void 0,u)}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(u,d,f)=>s(Xa(u),Xa(d),f,!0)};return M.forEach(Object.keys({...e,...t}),function(d){const f=c[d]||s,h=f(e[d],t[d],d);M.isUndefined(h)&&f!==l||(n[d]=h)}),n}var Ja=e=>{const t=Ut({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:i,headers:a,auth:l}=t;if(t.headers=a=it.from(a),t.url=Ia(qa(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),M.isFormData(n)){if(Me.hasStandardBrowserEnv||Me.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(M.isFunction(n.getHeaders)){const c=n.getHeaders(),u=["content-type","content-length"];Object.entries(c).forEach(([d,f])=>{u.includes(d.toLowerCase())&&a.set(d,f)})}}if(Me.hasStandardBrowserEnv&&(r&&M.isFunction(r)&&(r=r(t)),r||r!==!1&&W2(t.url))){const c=s&&i&&U2.read(i);c&&a.set(s,c)}return t};const K2=typeof XMLHttpRequest<"u";var Y2=K2&&function(e){return new Promise(function(n,r){const s=Ja(e);let i=s.data;const a=it.from(s.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=s,d,f,h,g,m;function x(){g&&g(),m&&m(),s.cancelToken&&s.cancelToken.unsubscribe(d),s.signal&&s.signal.removeEventListener("abort",d)}let y=new XMLHttpRequest;y.open(s.method.toUpperCase(),s.url,!0),y.timeout=s.timeout;function b(){if(!y)return;const v=it.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),w={data:!l||l==="text"||l==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:v,config:e,request:y};Ka(function(T){n(T),x()},function(T){r(T),x()},w),y=null}"onloadend"in y?y.onloadend=b:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(b)},y.onabort=function(){y&&(r(new ee("Request aborted",ee.ECONNABORTED,e,y)),y=null)},y.onerror=function(j){const w=j&&j.message?j.message:"Network Error",L=new ee(w,ee.ERR_NETWORK,e,y);L.event=j||null,r(L),y=null},y.ontimeout=function(){let j=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const w=s.transitional||Wa;s.timeoutErrorMessage&&(j=s.timeoutErrorMessage),r(new ee(j,w.clarifyTimeoutError?ee.ETIMEDOUT:ee.ECONNABORTED,e,y)),y=null},i===void 0&&a.setContentType(null),"setRequestHeader"in y&&M.forEach(a.toJSON(),function(j,w){y.setRequestHeader(w,j)}),M.isUndefined(s.withCredentials)||(y.withCredentials=!!s.withCredentials),l&&l!=="json"&&(y.responseType=s.responseType),u&&([h,m]=Br(u,!0),y.addEventListener("progress",h)),c&&y.upload&&([f,g]=Br(c),y.upload.addEventListener("progress",f),y.upload.addEventListener("loadend",g)),(s.cancelToken||s.signal)&&(d=v=>{y&&(r(!v||v.type?new vn(null,e,y):v),y.abort(),y=null)},s.cancelToken&&s.cancelToken.subscribe(d),s.signal&&(s.signal.aborted?d():s.signal.addEventListener("abort",d)));const C=B2(s.url);if(C&&Me.protocols.indexOf(C)===-1){r(new ee("Unsupported protocol "+C+":",ee.ERR_BAD_REQUEST,e));return}y.send(i||null)})};const G2=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const i=function(u){if(!s){s=!0,l();const d=u instanceof Error?u:this.reason;r.abort(d instanceof ee?d:new vn(d instanceof Error?d.message:d))}};let a=t&&setTimeout(()=>{a=null,i(new ee(`timeout ${t} of ms exceeded`,ee.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:c}=r;return c.unsubscribe=()=>M.asap(l),c}};var q2=G2;const X2=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,s;for(;r<n;)s=r+t,yield e.slice(r,s),r=s},J2=async function*(e,t){for await(const n of Q2(e))yield*X2(n,t)},Q2=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Qa=(e,t,n,r)=>{const s=J2(e,t);let i=0,a,l=c=>{a||(a=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:u,value:d}=await s.next();if(u){l(),c.close();return}let f=d.byteLength;if(n){let h=i+=f;n(h)}c.enqueue(new Uint8Array(d))}catch(u){throw l(u),u}},cancel(c){return l(c),s.return()}},{highWaterMark:2})},el=64*1024,{isFunction:Ir}=M,ef=(({Request:e,Response:t})=>({Request:e,Response:t}))(M.global),{ReadableStream:tl,TextEncoder:nl}=M.global,rl=(e,...t)=>{try{return!!e(...t)}catch{return!1}},tf=e=>{e=M.merge.call({skipUndefined:!0},ef,e);const{fetch:t,Request:n,Response:r}=e,s=t?Ir(t):typeof fetch=="function",i=Ir(n),a=Ir(r);if(!s)return!1;const l=s&&Ir(tl),c=s&&(typeof nl=="function"?(m=>x=>m.encode(x))(new nl):async m=>new Uint8Array(await new n(m).arrayBuffer())),u=i&&l&&rl(()=>{let m=!1;const x=new n(Me.origin,{body:new tl,method:"POST",get duplex(){return m=!0,"half"}}).headers.has("Content-Type");return m&&!x}),d=a&&l&&rl(()=>M.isReadableStream(new r("").body)),f={stream:d&&(m=>m.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!f[m]&&(f[m]=(x,y)=>{let b=x&&x[m];if(b)return b.call(x);throw new ee(`Response type '${m}' is not supported`,ee.ERR_NOT_SUPPORT,y)})});const h=async m=>{if(m==null)return 0;if(M.isBlob(m))return m.size;if(M.isSpecCompliantForm(m))return(await new n(Me.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;if(M.isArrayBufferView(m)||M.isArrayBuffer(m))return m.byteLength;if(M.isURLSearchParams(m)&&(m=m+""),M.isString(m))return(await c(m)).byteLength},g=async(m,x)=>{const y=M.toFiniteNumber(m.getContentLength());return y??h(x)};return async m=>{let{url:x,method:y,data:b,signal:C,cancelToken:v,timeout:j,onDownloadProgress:w,onUploadProgress:L,responseType:T,headers:A,withCredentials:H="same-origin",fetchOptions:V}=Ja(m),O=t||fetch;T=T?(T+"").toLowerCase():"text";let z=q2([C,v&&v.toAbortSignal()],j),Z=null;const P=z&&z.unsubscribe&&(()=>{z.unsubscribe()});let F;try{if(L&&u&&y!=="get"&&y!=="head"&&(F=await g(A,b))!==0){let W=new n(x,{method:"POST",body:b,duplex:"half"}),Y;if(M.isFormData(b)&&(Y=W.headers.get("content-type"))&&A.setContentType(Y),W.body){const[_,N]=Ya(F,Br(Ga(L)));b=Qa(W.body,el,_,N)}}M.isString(H)||(H=H?"include":"omit");const E=i&&"credentials"in n.prototype,D={...V,signal:z,method:y.toUpperCase(),headers:A.normalize().toJSON(),body:b,duplex:"half",credentials:E?H:void 0};Z=i&&new n(x,D);let S=await(i?O(Z,V):O(x,D));const $=d&&(T==="stream"||T==="response");if(d&&(w||$&&P)){const W={};["status","statusText","headers"].forEach(I=>{W[I]=S[I]});const Y=M.toFiniteNumber(S.headers.get("content-length")),[_,N]=w&&Ya(Y,Br(Ga(w),!0))||[];S=new r(Qa(S.body,el,_,()=>{N&&N(),P&&P()}),W)}T=T||"text";let R=await f[M.findKey(f,T)||"text"](S,m);return!$&&P&&P(),await new Promise((W,Y)=>{Ka(W,Y,{data:R,headers:it.from(S.headers),status:S.status,statusText:S.statusText,config:m,request:Z})})}catch(E){throw P&&P(),E&&E.name==="TypeError"&&/Load failed|fetch/i.test(E.message)?Object.assign(new ee("Network Error",ee.ERR_NETWORK,m,Z),{cause:E.cause||E}):ee.from(E,E&&E.code,m,Z)}}},nf=new Map,sl=e=>{let t=e?e.env:{};const{fetch:n,Request:r,Response:s}=t,i=[r,s,n];let a=i.length,l=a,c,u,d=nf;for(;l--;)c=i[l],u=d.get(c),u===void 0&&d.set(c,u=l?new Map:tf(t)),d=u;return u};sl();const eo={http:x2,xhr:Y2,fetch:{get:sl}};M.forEach(eo,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ol=e=>`- ${e}`,rf=e=>M.isFunction(e)||e===null||e===!1;var il={getAdapter:(e,t)=>{e=M.isArray(e)?e:[e];const{length:n}=e;let r,s;const i={};for(let a=0;a<n;a++){r=e[a];let l;if(s=r,!rf(r)&&(s=eo[(l=String(r)).toLowerCase()],s===void 0))throw new ee(`Unknown adapter '${l}'`);if(s&&(M.isFunction(s)||(s=s.get(t))))break;i[l||"#"+a]=s}if(!s){const a=Object.entries(i).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let l=n?a.length>1?`since :
4
+ `+a.map(ol).join(`
5
+ `):" "+ol(a[0]):"as no adapter specified";throw new ee("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return s},adapters:eo};function to(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new vn(null,e)}function al(e){return to(e),e.headers=it.from(e.headers),e.data=Qs.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),il.getAdapter(e.adapter||Xs.adapter,e)(e).then(function(r){return to(e),r.data=Qs.call(e,e.transformResponse,r),r.headers=it.from(r.headers),r},function(r){return za(r)||(to(e),r&&r.response&&(r.response.data=Qs.call(e,e.transformResponse,r.response),r.response.headers=it.from(r.response.headers))),Promise.reject(r)})}const ll="1.12.2",Hr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hr[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const cl={};Hr.transitional=function(t,n,r){function s(i,a){return"[Axios v"+ll+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,l)=>{if(t===!1)throw new ee(s(a," has been removed"+(n?" in "+n:"")),ee.ERR_DEPRECATED);return n&&!cl[a]&&(cl[a]=!0,console.warn(s(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,l):!0}},Hr.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function sf(e,t,n){if(typeof e!="object")throw new ee("options must be an object",ee.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const i=r[s],a=t[i];if(a){const l=e[i],c=l===void 0||a(l,i,e);if(c!==!0)throw new ee("option "+i+" must be "+c,ee.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ee("Unknown option "+i,ee.ERR_BAD_OPTION)}}var Wr={assertOptions:sf,validators:Hr};const ft=Wr.validators;class Ur{constructor(t){this.defaults=t||{},this.interceptors={request:new Ha,response:new Ha}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
6
+ `+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ut(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&Wr.assertOptions(r,{silentJSONParsing:ft.transitional(ft.boolean),forcedJSONParsing:ft.transitional(ft.boolean),clarifyTimeoutError:ft.transitional(ft.boolean)},!1),s!=null&&(M.isFunction(s)?n.paramsSerializer={serialize:s}:Wr.assertOptions(s,{encode:ft.function,serialize:ft.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Wr.assertOptions(n,{baseUrl:ft.spelling("baseURL"),withXsrfToken:ft.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&M.merge(i.common,i[n.method]);i&&M.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=it.concat(a,i);const l=[];let c=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(n)===!1||(c=c&&x.synchronous,l.unshift(x.fulfilled,x.rejected))});const u=[];this.interceptors.response.forEach(function(x){u.push(x.fulfilled,x.rejected)});let d,f=0,h;if(!c){const m=[al.bind(this),void 0];for(m.unshift(...l),m.push(...u),h=m.length,d=Promise.resolve(n);f<h;)d=d.then(m[f++],m[f++]);return d}h=l.length;let g=n;for(;f<h;){const m=l[f++],x=l[f++];try{g=m(g)}catch(y){x.call(this,y);break}}try{d=al.call(this,g)}catch(m){return Promise.reject(m)}for(f=0,h=u.length;f<h;)d=d.then(u[f++],u[f++]);return d}getUri(t){t=Ut(this.defaults,t);const n=qa(t.baseURL,t.url,t.allowAbsoluteUrls);return Ia(n,t.params,t.paramsSerializer)}}M.forEach(["delete","get","head","options"],function(t){Ur.prototype[t]=function(n,r){return this.request(Ut(r||{},{method:t,url:n,data:(r||{}).data}))}}),M.forEach(["post","put","patch"],function(t){function n(r){return function(i,a,l){return this.request(Ut(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Ur.prototype[t]=n(),Ur.prototype[t+"Form"]=n(!0)});var Zr=Ur;class ga{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(s=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const a=new Promise(l=>{r.subscribe(l),i=l}).then(s);return a.cancel=function(){r.unsubscribe(i)},a},t(function(i,a,l){r.reason||(r.reason=new vn(i,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ga(function(s){t=s}),cancel:t}}}var of=ga;function af(e){return function(n){return e.apply(null,n)}}function lf(e){return M.isObject(e)&&e.isAxiosError===!0}const no={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(no).forEach(([e,t])=>{no[t]=e});var cf=no;function ul(e){const t=new Zr(e),n=Ea(Zr.prototype.request,t);return M.extend(n,Zr.prototype,t,{allOwnKeys:!0}),M.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return ul(Ut(e,s))},n}const ve=ul(Xs);ve.Axios=Zr,ve.CanceledError=vn,ve.CancelToken=of,ve.isCancel=za,ve.VERSION=ll,ve.toFormData=$r,ve.AxiosError=ee,ve.Cancel=ve.CanceledError,ve.all=function(t){return Promise.all(t)},ve.spread=af,ve.isAxiosError=lf,ve.mergeConfig=Ut,ve.AxiosHeaders=it,ve.formToJSON=e=>Ua(M.isHTMLForm(e)?new FormData(e):e),ve.getAdapter=il.getAdapter,ve.HttpStatusCode=cf,ve.default=ve;var uf=ve,df=Ar(uf);const dl=e=>{let t;const n=new Set,r=(u,d)=>{const f=typeof u=="function"?u(t):u;if(!Object.is(f,t)){const h=t;t=d??(typeof f!="object"||f===null)?f:Object.assign({},t,f),n.forEach(g=>g(t,h))}},s=()=>t,l={setState:r,getState:s,getInitialState:()=>c,subscribe:u=>(n.add(u),()=>n.delete(u))},c=t=e(r,s,l);return l},ff=e=>e?dl(e):dl,hf=e=>e;function pf(e,t=hf){const n=p.useSyncExternalStore(e.subscribe,p.useCallback(()=>t(e.getState()),[e,t]),p.useCallback(()=>t(e.getInitialState()),[e,t]));return p.useDebugValue(n),n}const fl=e=>{const t=ff(e),n=r=>pf(t,r);return Object.assign(n,t),n},hl=e=>e?fl(e):fl,pl=hl(e=>({clientKey:"",baseUrl:"",setConfig:(t,n)=>e({clientKey:t,baseUrl:n})})),ml="https://api.metrifox.com/api/v1",at=()=>{const{clientKey:e,baseUrl:t}=pl.getState();if(!e)throw new Error("MetriFox SDK not initialized: Client key is missing. Please call metrifoxInit(clientKey) before using SDK feature(s).");return df.create({baseURL:t||ml,headers:{"x-client-key":e,"Content-Type":"application/json"},timeout:18e4})},mf=e=>{pl.getState().setConfig(e.clientKey,e.baseUrl||ml)};function gf(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const xf=e=>{switch(e){case"success":return bf;case"info":return wf;case"warning":return Cf;case"error":return kf;default:return null}},yf=Array(12).fill(0),vf=({visible:e,className:t})=>p.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},p.createElement("div",{className:"sonner-spinner"},yf.map((n,r)=>p.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),bf=p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},p.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Cf=p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},p.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),wf=p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},p.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),kf=p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},p.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),jf=p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},p.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),p.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Lf=()=>{const[e,t]=p.useState(document.hidden);return p.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let ro=1;class Ef{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...s}=t,i=typeof t?.id=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:ro++,a=this.toasts.find(c=>c.id===i),l=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),a?this.toasts=this.toasts.map(c=>c.id===i?(this.publish({...c,...t,id:i,title:r}),{...c,...t,id:i,dismissible:l,title:r}):c):this.addToast({title:r,...s,dismissible:l,id:i}),i},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const s=Promise.resolve(t instanceof Function?t():t);let i=r!==void 0,a;const l=s.then(async u=>{if(a=["resolve",u],p.isValidElement(u))i=!1,this.create({id:r,type:"default",message:u});else if(Mf(u)&&!u.ok){i=!1;const f=typeof n.error=="function"?await n.error(`HTTP error! status: ${u.status}`):n.error,h=typeof n.description=="function"?await n.description(`HTTP error! status: ${u.status}`):n.description,m=typeof f=="object"&&!p.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:h,...m})}else if(u instanceof Error){i=!1;const f=typeof n.error=="function"?await n.error(u):n.error,h=typeof n.description=="function"?await n.description(u):n.description,m=typeof f=="object"&&!p.isValidElement(f)?f:{message:f};this.create({id:r,type:"error",description:h,...m})}else if(n.success!==void 0){i=!1;const f=typeof n.success=="function"?await n.success(u):n.success,h=typeof n.description=="function"?await n.description(u):n.description,m=typeof f=="object"&&!p.isValidElement(f)?f:{message:f};this.create({id:r,type:"success",description:h,...m})}}).catch(async u=>{if(a=["reject",u],n.error!==void 0){i=!1;const d=typeof n.error=="function"?await n.error(u):n.error,f=typeof n.description=="function"?await n.description(u):n.description,g=typeof d=="object"&&!p.isValidElement(d)?d:{message:d};this.create({id:r,type:"error",description:f,...g})}}).finally(()=>{i&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),c=()=>new Promise((u,d)=>l.then(()=>a[0]==="reject"?d(a[1]):u(a[1])).catch(d));return typeof r!="string"&&typeof r!="number"?{unwrap:c}:Object.assign(r,{unwrap:c})},this.custom=(t,n)=>{const r=n?.id||ro++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const _e=new Ef,Sf=(e,t)=>{const n=t?.id||ro++;return _e.addToast({title:e,...t,id:n}),n},Mf=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Tf=Sf,Df=()=>_e.toasts,Pf=()=>_e.getActiveToasts(),Ct=Object.assign(Tf,{success:_e.success,info:_e.info,warning:_e.warning,error:_e.error,custom:_e.custom,message:_e.message,promise:_e.promise,dismiss:_e.dismiss,loading:_e.loading},{getHistory:Df,getToasts:Pf});gf("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function zr(e){return e.label!==void 0}const Af=3,Nf="24px",Rf="16px",gl=4e3,Ff=356,Vf=14,$f=45,Of=200;function ht(...e){return e.filter(Boolean).join(" ")}function _f(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const Bf=e=>{var t,n,r,s,i,a,l,c,u;const{invert:d,toast:f,unstyled:h,interacting:g,setHeights:m,visibleToasts:x,heights:y,index:b,toasts:C,expanded:v,removeToast:j,defaultRichColors:w,closeButton:L,style:T,cancelButtonStyle:A,actionButtonStyle:H,className:V="",descriptionClassName:O="",duration:z,position:Z,gap:P,expandByDefault:F,classNames:E,icons:D,closeButtonAriaLabel:S="Close toast"}=e,[$,R]=p.useState(null),[W,Y]=p.useState(null),[_,N]=p.useState(!1),[I,Q]=p.useState(!1),[ne,G]=p.useState(!1),[se,re]=p.useState(!1),[le,J]=p.useState(!1),[q,ye]=p.useState(0),[ie,de]=p.useState(0),pe=p.useRef(f.duration||z||gl),We=p.useRef(null),me=p.useRef(null),nt=b===0,Bs=b+1<=x,Ue=f.type,pn=f.dismissible!==!1,j0=f.className||"",L0=f.descriptionClassName||"",Mr=p.useMemo(()=>y.findIndex(te=>te.toastId===f.id)||0,[y,f.id]),E0=p.useMemo(()=>{var te;return(te=f.closeButton)!=null?te:L},[f.closeButton,L]),ya=p.useMemo(()=>f.duration||z||gl,[f.duration,z]),Is=p.useRef(0),mn=p.useRef(0),va=p.useRef(0),gn=p.useRef(null),[S0,M0]=Z.split("-"),ba=p.useMemo(()=>y.reduce((te,ke,Se)=>Se>=Mr?te:te+ke.height,0),[y,Mr]),Ca=Lf(),T0=f.invert||d,Hs=Ue==="loading";mn.current=p.useMemo(()=>Mr*P+ba,[Mr,ba]),p.useEffect(()=>{pe.current=ya},[ya]),p.useEffect(()=>{N(!0)},[]),p.useEffect(()=>{const te=me.current;if(te){const ke=te.getBoundingClientRect().height;return de(ke),m(Se=>[{toastId:f.id,height:ke,position:f.position},...Se]),()=>m(Se=>Se.filter(Ze=>Ze.toastId!==f.id))}},[m,f.id]),p.useLayoutEffect(()=>{if(!_)return;const te=me.current,ke=te.style.height;te.style.height="auto";const Se=te.getBoundingClientRect().height;te.style.height=ke,de(Se),m(Ze=>Ze.find(Le=>Le.toastId===f.id)?Ze.map(Le=>Le.toastId===f.id?{...Le,height:Se}:Le):[{toastId:f.id,height:Se,position:f.position},...Ze])},[_,f.title,f.description,m,f.id,f.jsx,f.action,f.cancel]);const At=p.useCallback(()=>{Q(!0),ye(mn.current),m(te=>te.filter(ke=>ke.toastId!==f.id)),setTimeout(()=>{j(f)},Of)},[f,j,m,mn]);p.useEffect(()=>{if(f.promise&&Ue==="loading"||f.duration===1/0||f.type==="loading")return;let te;return v||g||Ca?(()=>{if(va.current<Is.current){const Ze=new Date().getTime()-Is.current;pe.current=pe.current-Ze}va.current=new Date().getTime()})():(()=>{pe.current!==1/0&&(Is.current=new Date().getTime(),te=setTimeout(()=>{f.onAutoClose==null||f.onAutoClose.call(f,f),At()},pe.current))})(),()=>clearTimeout(te)},[v,g,f,Ue,Ca,At]),p.useEffect(()=>{f.delete&&(At(),f.onDismiss==null||f.onDismiss.call(f,f))},[At,f.delete]);function D0(){var te;if(D?.loading){var ke;return p.createElement("div",{className:ht(E?.loader,f==null||(ke=f.classNames)==null?void 0:ke.loader,"sonner-loader"),"data-visible":Ue==="loading"},D.loading)}return p.createElement(vf,{className:ht(E?.loader,f==null||(te=f.classNames)==null?void 0:te.loader),visible:Ue==="loading"})}const P0=f.icon||D?.[Ue]||xf(Ue);var wa,ka;return p.createElement("li",{tabIndex:0,ref:me,className:ht(V,j0,E?.toast,f==null||(t=f.classNames)==null?void 0:t.toast,E?.default,E?.[Ue],f==null||(n=f.classNames)==null?void 0:n[Ue]),"data-sonner-toast":"","data-rich-colors":(wa=f.richColors)!=null?wa:w,"data-styled":!(f.jsx||f.unstyled||h),"data-mounted":_,"data-promise":!!f.promise,"data-swiped":le,"data-removed":I,"data-visible":Bs,"data-y-position":S0,"data-x-position":M0,"data-index":b,"data-front":nt,"data-swiping":ne,"data-dismissible":pn,"data-type":Ue,"data-invert":T0,"data-swipe-out":se,"data-swipe-direction":W,"data-expanded":!!(v||F&&_),"data-testid":f.testId,style:{"--index":b,"--toasts-before":b,"--z-index":C.length-b,"--offset":`${I?q:mn.current}px`,"--initial-height":F?"auto":`${ie}px`,...T,...f.style},onDragEnd:()=>{G(!1),R(null),gn.current=null},onPointerDown:te=>{te.button!==2&&(Hs||!pn||(We.current=new Date,ye(mn.current),te.target.setPointerCapture(te.pointerId),te.target.tagName!=="BUTTON"&&(G(!0),gn.current={x:te.clientX,y:te.clientY})))},onPointerUp:()=>{var te,ke,Se;if(se||!pn)return;gn.current=null;const Ze=Number(((te=me.current)==null?void 0:te.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Tr=Number(((ke=me.current)==null?void 0:ke.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Le=new Date().getTime()-((Se=We.current)==null?void 0:Se.getTime()),Ye=$==="x"?Ze:Tr,Dr=Math.abs(Ye)/Le;if(Math.abs(Ye)>=$f||Dr>.11){ye(mn.current),f.onDismiss==null||f.onDismiss.call(f,f),Y($==="x"?Ze>0?"right":"left":Tr>0?"down":"up"),At(),re(!0);return}else{var rt,st;(rt=me.current)==null||rt.style.setProperty("--swipe-amount-x","0px"),(st=me.current)==null||st.style.setProperty("--swipe-amount-y","0px")}J(!1),G(!1),R(null)},onPointerMove:te=>{var ke,Se,Ze;if(!gn.current||!pn||((ke=window.getSelection())==null?void 0:ke.toString().length)>0)return;const Le=te.clientY-gn.current.y,Ye=te.clientX-gn.current.x;var Dr;const rt=(Dr=e.swipeDirections)!=null?Dr:_f(Z);!$&&(Math.abs(Ye)>1||Math.abs(Le)>1)&&R(Math.abs(Ye)>Math.abs(Le)?"x":"y");let st={x:0,y:0};const ja=It=>1/(1.5+Math.abs(It)/20);if($==="y"){if(rt.includes("top")||rt.includes("bottom"))if(rt.includes("top")&&Le<0||rt.includes("bottom")&&Le>0)st.y=Le;else{const It=Le*ja(Le);st.y=Math.abs(It)<Math.abs(Le)?It:Le}}else if($==="x"&&(rt.includes("left")||rt.includes("right")))if(rt.includes("left")&&Ye<0||rt.includes("right")&&Ye>0)st.x=Ye;else{const It=Ye*ja(Ye);st.x=Math.abs(It)<Math.abs(Ye)?It:Ye}(Math.abs(st.x)>0||Math.abs(st.y)>0)&&J(!0),(Se=me.current)==null||Se.style.setProperty("--swipe-amount-x",`${st.x}px`),(Ze=me.current)==null||Ze.style.setProperty("--swipe-amount-y",`${st.y}px`)}},E0&&!f.jsx&&Ue!=="loading"?p.createElement("button",{"aria-label":S,"data-disabled":Hs,"data-close-button":!0,onClick:Hs||!pn?()=>{}:()=>{At(),f.onDismiss==null||f.onDismiss.call(f,f)},className:ht(E?.closeButton,f==null||(r=f.classNames)==null?void 0:r.closeButton)},(ka=D?.close)!=null?ka:jf):null,(Ue||f.icon||f.promise)&&f.icon!==null&&(D?.[Ue]!==null||f.icon)?p.createElement("div",{"data-icon":"",className:ht(E?.icon,f==null||(s=f.classNames)==null?void 0:s.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||D0():null,f.type!=="loading"?P0:null):null,p.createElement("div",{"data-content":"",className:ht(E?.content,f==null||(i=f.classNames)==null?void 0:i.content)},p.createElement("div",{"data-title":"",className:ht(E?.title,f==null||(a=f.classNames)==null?void 0:a.title)},f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title),f.description?p.createElement("div",{"data-description":"",className:ht(O,L0,E?.description,f==null||(l=f.classNames)==null?void 0:l.description)},typeof f.description=="function"?f.description():f.description):null),p.isValidElement(f.cancel)?f.cancel:f.cancel&&zr(f.cancel)?p.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||A,onClick:te=>{zr(f.cancel)&&pn&&(f.cancel.onClick==null||f.cancel.onClick.call(f.cancel,te),At())},className:ht(E?.cancelButton,f==null||(c=f.classNames)==null?void 0:c.cancelButton)},f.cancel.label):null,p.isValidElement(f.action)?f.action:f.action&&zr(f.action)?p.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||H,onClick:te=>{zr(f.action)&&(f.action.onClick==null||f.action.onClick.call(f.action,te),!te.defaultPrevented&&At())},className:ht(E?.actionButton,f==null||(u=f.classNames)==null?void 0:u.actionButton)},f.action.label):null)};function xl(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function If(e,t){const n={};return[e,t].forEach((r,s)=>{const i=s===1,a=i?"--mobile-offset":"--offset",l=i?Rf:Nf;function c(u){["top","right","bottom","left"].forEach(d=>{n[`${a}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${a}-${u}`]=l:n[`${a}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(l)}),n}const Hf=p.forwardRef(function(t,n){const{id:r,invert:s,position:i="bottom-right",hotkey:a=["altKey","KeyT"],expand:l,closeButton:c,className:u,offset:d,mobileOffset:f,theme:h="light",richColors:g,duration:m,style:x,visibleToasts:y=Af,toastOptions:b,dir:C=xl(),gap:v=Vf,icons:j,containerAriaLabel:w="Notifications"}=t,[L,T]=p.useState([]),A=p.useMemo(()=>r?L.filter(_=>_.toasterId===r):L.filter(_=>!_.toasterId),[L,r]),H=p.useMemo(()=>Array.from(new Set([i].concat(A.filter(_=>_.position).map(_=>_.position)))),[A,i]),[V,O]=p.useState([]),[z,Z]=p.useState(!1),[P,F]=p.useState(!1),[E,D]=p.useState(h!=="system"?h:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),S=p.useRef(null),$=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=p.useRef(null),W=p.useRef(!1),Y=p.useCallback(_=>{T(N=>{var I;return(I=N.find(Q=>Q.id===_.id))!=null&&I.delete||_e.dismiss(_.id),N.filter(({id:Q})=>Q!==_.id)})},[]);return p.useEffect(()=>_e.subscribe(_=>{if(_.dismiss){requestAnimationFrame(()=>{T(N=>N.map(I=>I.id===_.id?{...I,delete:!0}:I))});return}setTimeout(()=>{Ws.flushSync(()=>{T(N=>{const I=N.findIndex(Q=>Q.id===_.id);return I!==-1?[...N.slice(0,I),{...N[I],..._},...N.slice(I+1)]:[_,...N]})})})}),[L]),p.useEffect(()=>{if(h!=="system"){D(h);return}if(h==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?D("dark"):D("light")),typeof window>"u")return;const _=window.matchMedia("(prefers-color-scheme: dark)");try{_.addEventListener("change",({matches:N})=>{D(N?"dark":"light")})}catch{_.addListener(({matches:I})=>{try{D(I?"dark":"light")}catch(Q){console.error(Q)}})}},[h]),p.useEffect(()=>{L.length<=1&&Z(!1)},[L]),p.useEffect(()=>{const _=N=>{var I;if(a.every(G=>N[G]||N.code===G)){var ne;Z(!0),(ne=S.current)==null||ne.focus()}N.code==="Escape"&&(document.activeElement===S.current||(I=S.current)!=null&&I.contains(document.activeElement))&&Z(!1)};return document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[a]),p.useEffect(()=>{if(S.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,W.current=!1)}},[S.current]),p.createElement("section",{ref:n,"aria-label":`${w} ${$}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},H.map((_,N)=>{var I;const[Q,ne]=_.split("-");return A.length?p.createElement("ol",{key:_,dir:C==="auto"?xl():C,tabIndex:-1,ref:S,className:u,"data-sonner-toaster":!0,"data-sonner-theme":E,"data-y-position":Q,"data-x-position":ne,style:{"--front-toast-height":`${((I=V[0])==null?void 0:I.height)||0}px`,"--width":`${Ff}px`,"--gap":`${v}px`,...x,...If(d,f)},onBlur:G=>{W.current&&!G.currentTarget.contains(G.relatedTarget)&&(W.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:G=>{G.target instanceof HTMLElement&&G.target.dataset.dismissible==="false"||W.current||(W.current=!0,R.current=G.relatedTarget)},onMouseEnter:()=>Z(!0),onMouseMove:()=>Z(!0),onMouseLeave:()=>{P||Z(!1)},onDragEnd:()=>Z(!1),onPointerDown:G=>{G.target instanceof HTMLElement&&G.target.dataset.dismissible==="false"||F(!0)},onPointerUp:()=>F(!1)},A.filter(G=>!G.position&&N===0||G.position===_).map((G,se)=>{var re,le;return p.createElement(Bf,{key:G.id,icons:j,index:se,toast:G,defaultRichColors:g,duration:(re=b?.duration)!=null?re:m,className:b?.className,descriptionClassName:b?.descriptionClassName,invert:s,visibleToasts:y,closeButton:(le=b?.closeButton)!=null?le:c,interacting:P,position:_,style:b?.style,unstyled:b?.unstyled,classNames:b?.classNames,cancelButtonStyle:b?.cancelButtonStyle,actionButtonStyle:b?.actionButtonStyle,closeButtonAriaLabel:b?.closeButtonAriaLabel,removeToast:Y,toasts:A.filter(J=>J.position==G.position),heights:V.filter(J=>J.position==G.position),setHeights:O,expandByDefault:l,gap:v,expanded:z,swipeDirections:t.swipeDirections})})):null}))}),Wf=({children:e})=>o.jsxs(p.Fragment,{children:[o.jsx(Hf,{className:"backdrop-blur-md",toastOptions:{unstyled:!0,classNames:{title:"text-md font-500",description:"text-sm font-400",error:"flex items-center gap-1 bg-red-500 text-metrifox-white rounded-lg p-2",success:"flex items-center gap-1 bg-green-600 text-metrifox-white rounded-lg p-2",warning:"flex items-center gap-1 bg-amber-500 text-metrifox-white rounded-lg p-2",info:"flex items-center gap-1 bg-secondary-light text-metrifox-black rounded-lg p-2"}}}),e]}),k=({children:e,className:t="",...n})=>o.jsx("div",{className:t,...n,children:e}),yl=typeof document<"u"?p.useLayoutEffect:()=>{};var so;const Uf=(so=p.useInsertionEffect)!==null&&so!==void 0?so:yl;function Zf(e){const t=p.useRef(null);return Uf(()=>{t.current=e},[e]),p.useCallback((...n)=>{const r=t.current;return r?.(...n)},[])}const Nt=e=>{var t;return(t=e?.ownerDocument)!==null&&t!==void 0?t:document},Zt=e=>e&&"window"in e&&e.window===e?e:Nt(e).defaultView||window;function zf(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function Kf(e){return zf(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let Yf=!1;function oo(){return Yf}function vl(e,t){if(!oo())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:Kf(n)?n=n.host:n=n.parentNode}return!1}const io=(e=document)=>{var t;if(!oo())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function bl(e){return oo()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function Kr(e){var t;if(typeof window>"u"||window.navigator==null)return!1;let n=(t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands;return Array.isArray(n)&&n.some(r=>e.test(r.brand))||e.test(window.navigator.userAgent)}function ao(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function wt(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const lo=wt(function(){return ao(/^Mac/i)}),Gf=wt(function(){return ao(/^iPhone/i)}),qf=wt(function(){return ao(/^iPad/i)||lo()&&navigator.maxTouchPoints>1}),Xf=wt(function(){return Gf()||qf()});wt(function(){return lo()||Xf()}),wt(function(){return Kr(/AppleWebKit/i)&&!Jf()});const Jf=wt(function(){return Kr(/Chrome/i)}),Qf=wt(function(){return Kr(/Android/i)});wt(function(){return Kr(/Firefox/i)});function Cl(){let e=p.useRef(new Map),t=p.useCallback((s,i,a,l)=>{let c=l?.once?(...u)=>{e.current.delete(a),a(...u)}:a;e.current.set(a,{type:i,eventTarget:s,fn:c,options:l}),s.addEventListener(i,c,l)},[]),n=p.useCallback((s,i,a,l)=>{var c;let u=((c=e.current.get(a))===null||c===void 0?void 0:c.fn)||a;s.removeEventListener(i,u,l),e.current.delete(a)},[]),r=p.useCallback(()=>{e.current.forEach((s,i)=>{n(s.eventTarget,s.type,i,s.options)})},[n]);return p.useEffect(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function e3(e){return e.pointerType===""&&e.isTrusted?!0:Qf()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function wl(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function t3(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function kl(e){let t=p.useRef({isFocused:!1,observer:null});yl(()=>{const r=t.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let n=Zf(r=>{e?.(r)});return p.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){t.current.isFocused=!0;let s=r.target,i=a=>{if(t.current.isFocused=!1,s.disabled){let l=wl(a);n(l)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};s.addEventListener("focusout",i,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&s.disabled){var a;(a=t.current.observer)===null||a===void 0||a.disconnect();let l=s===document.activeElement?null:document.activeElement;s.dispatchEvent(new FocusEvent("blur",{relatedTarget:l})),s.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:l}))}}),t.current.observer.observe(s,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let n3=!1,Gn=null,co=new Set,qn=new Map,zt=!1,uo=!1;const r3={Tab:!0,Escape:!0};function fo(e,t){for(let n of co)n(e,t)}function s3(e){return!(e.metaKey||!lo()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Yr(e){zt=!0,s3(e)&&(Gn="keyboard",fo("keyboard",e))}function Ge(e){Gn="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(zt=!0,fo("pointer",e))}function jl(e){e3(e)&&(zt=!0,Gn="virtual")}function Ll(e){e.target===window||e.target===document||n3||!e.isTrusted||(!zt&&!uo&&(Gn="virtual",fo("virtual",e)),zt=!1,uo=!1)}function El(){zt=!1,uo=!0}function ho(e){if(typeof window>"u"||typeof document>"u"||qn.get(Zt(e)))return;const t=Zt(e),n=Nt(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){zt=!0,r.apply(this,arguments)},n.addEventListener("keydown",Yr,!0),n.addEventListener("keyup",Yr,!0),n.addEventListener("click",jl,!0),t.addEventListener("focus",Ll,!0),t.addEventListener("blur",El,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",Ge,!0),n.addEventListener("pointermove",Ge,!0),n.addEventListener("pointerup",Ge,!0)):process.env.NODE_ENV==="test"&&(n.addEventListener("mousedown",Ge,!0),n.addEventListener("mousemove",Ge,!0),n.addEventListener("mouseup",Ge,!0)),t.addEventListener("beforeunload",()=>{Sl(e)},{once:!0}),qn.set(t,{focus:r})}const Sl=(e,t)=>{const n=Zt(e),r=Nt(e);t&&r.removeEventListener("DOMContentLoaded",t),qn.has(n)&&(n.HTMLElement.prototype.focus=qn.get(n).focus,r.removeEventListener("keydown",Yr,!0),r.removeEventListener("keyup",Yr,!0),r.removeEventListener("click",jl,!0),n.removeEventListener("focus",Ll,!0),n.removeEventListener("blur",El,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",Ge,!0),r.removeEventListener("pointermove",Ge,!0),r.removeEventListener("pointerup",Ge,!0)):process.env.NODE_ENV==="test"&&(r.removeEventListener("mousedown",Ge,!0),r.removeEventListener("mousemove",Ge,!0),r.removeEventListener("mouseup",Ge,!0)),qn.delete(n))};function o3(e){const t=Nt(e);let n;return t.readyState!=="loading"?ho(e):(n=()=>{ho(e)},t.addEventListener("DOMContentLoaded",n)),()=>Sl(e,n)}typeof document<"u"&&o3();function Ml(){return Gn!=="pointer"}const i3=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function a3(e,t,n){let r=Nt(n?.target);const s=typeof window<"u"?Zt(n?.target).HTMLInputElement:HTMLInputElement,i=typeof window<"u"?Zt(n?.target).HTMLTextAreaElement:HTMLTextAreaElement,a=typeof window<"u"?Zt(n?.target).HTMLElement:HTMLElement,l=typeof window<"u"?Zt(n?.target).KeyboardEvent:KeyboardEvent;return e=e||r.activeElement instanceof s&&!i3.has(r.activeElement.type)||r.activeElement instanceof i||r.activeElement instanceof a&&r.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof l&&!r3[n.key])}function l3(e,t,n){ho(),p.useEffect(()=>{let r=(s,i)=>{a3(!!n?.isTextInput,s,i)&&e(Ml())};return co.add(r),()=>{co.delete(r)}},t)}function c3(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:s}=e;const i=p.useCallback(c=>{if(c.target===c.currentTarget)return r&&r(c),s&&s(!1),!0},[r,s]),a=kl(i),l=p.useCallback(c=>{const u=Nt(c.target),d=u?io(u):io();c.target===c.currentTarget&&d===bl(c.nativeEvent)&&(n&&n(c),s&&s(!0),a(c))},[s,n,a]);return{focusProps:{onFocus:!t&&(n||s||r)?l:void 0,onBlur:!t&&(r||s)?i:void 0}}}function u3(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:s}=e,i=p.useRef({isFocusWithin:!1}),{addGlobalListener:a,removeAllGlobalListeners:l}=Cl(),c=p.useCallback(f=>{f.currentTarget.contains(f.target)&&i.current.isFocusWithin&&!f.currentTarget.contains(f.relatedTarget)&&(i.current.isFocusWithin=!1,l(),n&&n(f),s&&s(!1))},[n,s,i,l]),u=kl(c),d=p.useCallback(f=>{if(!f.currentTarget.contains(f.target))return;const h=Nt(f.target),g=io(h);if(!i.current.isFocusWithin&&g===bl(f.nativeEvent)){r&&r(f),s&&s(!0),i.current.isFocusWithin=!0,u(f);let m=f.currentTarget;a(h,"focus",x=>{if(i.current.isFocusWithin&&!vl(m,x.target)){let y=new h.defaultView.FocusEvent("blur",{relatedTarget:x.target});t3(y,m);let b=wl(y);c(b)}},{capture:!0})}},[r,s,u,a,c]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:d,onBlur:c}}}let Gr=!1,qr=0;function po(){Gr=!0,setTimeout(()=>{Gr=!1},50)}function Tl(e){e.pointerType==="touch"&&po()}function d3(){if(!(typeof document>"u"))return qr===0&&(typeof PointerEvent<"u"?document.addEventListener("pointerup",Tl):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",po)),qr++,()=>{qr--,!(qr>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Tl):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",po))}}function Dl(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:s}=e,[i,a]=p.useState(!1),l=p.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;p.useEffect(d3,[]);let{addGlobalListener:c,removeAllGlobalListeners:u}=Cl(),{hoverProps:d,triggerHoverEnd:f}=p.useMemo(()=>{let h=(x,y)=>{if(l.pointerType=y,s||y==="touch"||l.isHovered||!x.currentTarget.contains(x.target))return;l.isHovered=!0;let b=x.currentTarget;l.target=b,c(Nt(x.target),"pointerover",C=>{l.isHovered&&l.target&&!vl(l.target,C.target)&&g(C,C.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:b,pointerType:y}),n&&n(!0),a(!0)},g=(x,y)=>{let b=l.target;l.pointerType="",l.target=null,!(y==="touch"||!l.isHovered||!b)&&(l.isHovered=!1,u(),r&&r({type:"hoverend",target:b,pointerType:y}),n&&n(!1),a(!1))},m={};return typeof PointerEvent<"u"?(m.onPointerEnter=x=>{Gr&&x.pointerType==="mouse"||h(x,x.pointerType)},m.onPointerLeave=x=>{!s&&x.currentTarget.contains(x.target)&&g(x,x.pointerType)}):process.env.NODE_ENV==="test"&&(m.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},m.onMouseEnter=x=>{!l.ignoreEmulatedMouseEvents&&!Gr&&h(x,"mouse"),l.ignoreEmulatedMouseEvents=!1},m.onMouseLeave=x=>{!s&&x.currentTarget.contains(x.target)&&g(x,"mouse")}),{hoverProps:m,triggerHoverEnd:g}},[t,n,r,s,l,c,u]);return p.useEffect(()=>{s&&f({currentTarget:l.target},l.pointerType)},[s]),{hoverProps:d,isHovered:i}}function mo(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,s=p.useRef({isFocused:!1,isFocusVisible:t||Ml()}),[i,a]=p.useState(!1),[l,c]=p.useState(()=>s.current.isFocused&&s.current.isFocusVisible),u=p.useCallback(()=>c(s.current.isFocused&&s.current.isFocusVisible),[]),d=p.useCallback(g=>{s.current.isFocused=g,a(g),u()},[u]);l3(g=>{s.current.isFocusVisible=g,u()},[],{isTextInput:n});let{focusProps:f}=c3({isDisabled:r,onFocusChange:d}),{focusWithinProps:h}=u3({isDisabled:!r,onFocusWithinChange:d});return{isFocused:i,isFocusVisible:l,focusProps:r?h:f}}var f3=Object.defineProperty,h3=(e,t,n)=>t in e?f3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,go=(e,t,n)=>(h3(e,typeof t!="symbol"?t+"":t,n),n);let p3=class{constructor(){go(this,"current",this.detect()),go(this,"handoffState","pending"),go(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},Kt=new p3;function bn(e){var t;return Kt.isServer?null:e==null?document:(t=e?.ownerDocument)!=null?t:document}function Yt(e){var t,n;return Kt.isServer?null:e==null?document:(n=(t=e?.getRootNode)==null?void 0:t.call(e))!=null?n:document}function Gt(e){var t,n;return(n=(t=Yt(e))==null?void 0:t.activeElement)!=null?n:null}function xo(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function kt(){let e=[],t={addEventListener(n,r,s,i){return n.addEventListener(r,s,i),t.add(()=>n.removeEventListener(r,s,i))},requestAnimationFrame(...n){let r=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(r))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let r=setTimeout(...n);return t.add(()=>clearTimeout(r))},microTask(...n){let r={current:!0};return xo(()=>{r.current&&n[0]()}),t.add(()=>{r.current=!1})},style(n,r,s){let i=n.style.getPropertyValue(r);return Object.assign(n.style,{[r]:s}),this.add(()=>{Object.assign(n.style,{[r]:i})})},group(n){let r=kt();return n(r),this.add(()=>r.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let r=e.indexOf(n);if(r>=0)for(let s of e.splice(r,1))s()}},dispose(){for(let n of e.splice(0))n()}};return t}function Xr(){let[e]=p.useState(kt);return p.useEffect(()=>()=>e.dispose(),[e]),e}let Ae=(e,t)=>{Kt.isServer?p.useEffect(e,t):p.useLayoutEffect(e,t)};function qe(e){let t=p.useRef(e);return Ae(()=>{t.current=e},[e]),t}let oe=function(e){let t=qe(e);return p.useCallback((...n)=>t.current(...n),[t])};function m3(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}function g3(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}function Pl({disabled:e=!1}={}){let t=p.useRef(null),[n,r]=p.useState(!1),s=Xr(),i=oe(()=>{t.current=null,r(!1),s.dispose()}),a=oe(l=>{if(s.dispose(),t.current===null){t.current=l.currentTarget,r(!0);{let c=bn(l.currentTarget);s.addEventListener(c,"pointerup",i,!1),s.addEventListener(c,"pointermove",u=>{if(t.current){let d=m3(u);r(g3(d,t.current.getBoundingClientRect()))}},!1),s.addEventListener(c,"pointercancel",i,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:a,onPointerUp:i,onClick:i}}}function pt(e){return p.useMemo(()=>e,Object.values(e))}function Al(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function Ne(e,t,...n){if(e in t){let s=t[e];return typeof s=="function"?s(...n):s}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(s=>`"${s}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Ne),r}var qt=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(qt||{}),x3=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(x3||{});function Be(){let e=v3();return p.useCallback(t=>y3({mergeRefs:e,...t}),[e])}function y3({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:s,visible:i=!0,name:a,mergeRefs:l}){l=l??b3;let c=Nl(t,e);if(i)return Jr(c,n,r,a,l);let u=s??0;if(u&2){let{static:d=!1,...f}=c;if(d)return Jr(f,n,r,a,l)}if(u&1){let{unmount:d=!0,...f}=c;return Ne(d?0:1,{0(){return null},1(){return Jr({...f,hidden:!0,style:{display:"none"}},n,r,a,l)}})}return Jr(c,n,r,a,l)}function Jr(e,t={},n,r,s){let{as:i=n,children:a,refName:l="ref",...c}=yo(e,["unmount","static"]),u=e.ref!==void 0?{[l]:e.ref}:{},d=typeof a=="function"?a(t):a;"className"in c&&c.className&&typeof c.className=="function"&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let f={};if(t){let h=!1,g=[];for(let[m,x]of Object.entries(t))typeof x=="boolean"&&(h=!0),x===!0&&g.push(m.replace(/([A-Z])/g,y=>`-${y.toLowerCase()}`));if(h){f["data-headlessui-state"]=g.join(" ");for(let m of g)f[`data-${m}`]=""}}if(Qr(i)&&(Object.keys(Cn(c)).length>0||Object.keys(Cn(f)).length>0))if(!p.isValidElement(d)||Array.isArray(d)&&d.length>1||w3(d)){if(Object.keys(Cn(c)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(Cn(c)).concat(Object.keys(Cn(f))).map(h=>` - ${h}`).join(`
7
7
  `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(h=>` - ${h}`).join(`
8
8
  `)].join(`
9
- `))}else{let h=d.props,m=h?.className,g=typeof m=="function"?(...b)=>Tl(m(...b),c.className):Tl(m,c.className),x=g?{className:g}:{},v=Dl(d.props,vn(po(c,["ref"])));for(let b in f)b in v&&delete f[b];return p.cloneElement(d,Object.assign({},v,f,u,{ref:s(g3(d),u.ref)},x))}return p.createElement(o,Object.assign({},po(c,["ref"]),!qr(o)&&u,!qr(o)&&f),d)}function p3(){let e=p.useRef([]),t=p.useCallback(n=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(n):r.current=n)},[]);return(...n)=>{if(!n.every(r=>r==null))return e.current=n,t}}function m3(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function Dl(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let s in r)s.startsWith("on")&&typeof r[s]=="function"?(n[s]!=null||(n[s]=[]),n[s].push(r[s])):t[s]=r[s];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[s=>{var o;return(o=s?.preventDefault)==null?void 0:o.call(s)}]);for(let r in n)Object.assign(t,{[r](s,...o){let i=n[r];for(let l of i){if((s instanceof Event||s?.nativeEvent instanceof Event)&&s.defaultPrevented)return;l(s,...o)}}});return t}function Gn(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let s in r)s.startsWith("on")&&typeof r[s]=="function"?(n[s]!=null||(n[s]=[]),n[s].push(r[s])):t[s]=r[s];for(let r in n)Object.assign(t,{[r](...s){let o=n[r];for(let i of o)i?.(...s)}});return t}function Ne(e){var t;return Object.assign(p.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function vn(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function po(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function g3(e){return p.version.split(".")[0]>="19"?e.props.ref:e.ref}function qr(e){return e===p.Fragment||e===Symbol.for("react.fragment")}function x3(e){return qr(e.type)}let y3="span";var bn=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(bn||{});function v3(e,t){var n;let{features:r=1,...s}=e,o={ref:t,"aria-hidden":(r&2)===2?!0:(n=s["aria-hidden"])!=null?n:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return _e()({ourProps:o,theirProps:s,slot:{},defaultTag:y3,name:"Hidden"})}let Cn=Ne(v3);function b3(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function Yt(e){return b3(e)&&"tagName"in e}function Ct(e){return Yt(e)&&"accessKey"in e}function wn(e){return Yt(e)&&"tabIndex"in e}function C3(e){return Yt(e)&&"style"in e}function w3(e){return Ct(e)&&e.nodeName==="IFRAME"}function k3(e){return Ct(e)&&e.nodeName==="INPUT"}function j3(e){return Ct(e)&&e.nodeName==="FIELDSET"}function Pl(e){return Ct(e)&&e.nodeName==="LEGEND"}function Al(e){let t=e.parentElement,n=null;for(;t&&!j3(t);)Pl(t)&&(n=t),t=t.parentElement;let r=t?.getAttribute("disabled")==="";return r&&L3(n)?!1:r}function L3(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(Pl(t))return!1;t=t.previousElementSibling}return!0}let Rl=Symbol();function Nl(e,t=!0){return Object.assign(e,{[Rl]:t})}function Be(...e){let t=p.useRef(e);p.useEffect(()=>{t.current=e},[e]);let n=oe(r=>{for(let s of t.current)s!=null&&(typeof s=="function"?s(r):s.current=r)});return e.every(r=>r==null||r?.[Rl])?void 0:n}var je=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(je||{});let E3=p.createContext(()=>{});function Fl({value:e,children:t}){return p.createElement(E3.Provider,{value:e},t)}function Vl(e){if(e===null)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function M3(e,t,n=!1){let[r,s]=p.useState(()=>Vl(t));return Ae(()=>{if(!t||!e)return;let o=bt();return o.requestAnimationFrame(function i(){o.requestAnimationFrame(i),s(l=>{let c=Vl(t);return c.width===l.width&&c.height===l.height?l:c})}),()=>{o.dispose()}},[t,e]),n?{width:`${r.width}px`,height:`${r.height}px`}:r}let $l=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};var S3=Object.defineProperty,T3=(e,t,n)=>t in e?S3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,D3=(e,t,n)=>(T3(e,t+"",n),n),Ol=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},qe=(e,t,n)=>(Ol(e,t,"read from private field"),n?n.call(e):t.get(e)),mo=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},_l=(e,t,n,r)=>(Ol(e,t,"write to private field"),t.set(e,n),n),ht,qn,Xn;let Bl=class{constructor(t){mo(this,ht,{}),mo(this,qn,new $l(()=>new Set)),mo(this,Xn,new Set),D3(this,"disposables",bt()),_l(this,ht,t),Zt.isServer&&this.disposables.microTask(()=>{this.dispose()})}dispose(){this.disposables.dispose()}get state(){return qe(this,ht)}subscribe(t,n){if(Zt.isServer)return()=>{};let r={selector:t,callback:n,current:t(qe(this,ht))};return qe(this,Xn).add(r),this.disposables.add(()=>{qe(this,Xn).delete(r)})}on(t,n){return Zt.isServer?()=>{}:(qe(this,qn).get(t).add(n),this.disposables.add(()=>{qe(this,qn).get(t).delete(n)}))}send(t){let n=this.reduce(qe(this,ht),t);if(n!==qe(this,ht)){_l(this,ht,n);for(let r of qe(this,Xn)){let s=r.selector(qe(this,ht));Il(r.current,s)||(r.current=s,r.callback(s))}for(let r of qe(this,qn).get(t.type))r(qe(this,ht),t)}}};ht=new WeakMap,qn=new WeakMap,Xn=new WeakMap;function Il(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:go(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:go(e.entries(),t.entries()):Hl(e)&&Hl(t)?go(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function go(e,t){do{let n=e.next(),r=t.next();if(n.done&&r.done)return!0;if(n.done||r.done||!Object.is(n.value,r.value))return!1}while(!0)}function Hl(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}var P3=Object.defineProperty,A3=(e,t,n)=>t in e?P3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wl=(e,t,n)=>(A3(e,typeof t!="symbol"?t+"":t,n),n),R3=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(R3||{});let N3={0(e,t){let n=t.id,r=e.stack,s=e.stack.indexOf(n);if(s!==-1){let o=e.stack.slice();return o.splice(s,1),o.push(n),r=o,{...e,stack:r}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,r=e.stack.indexOf(n);if(r===-1)return e;let s=e.stack.slice();return s.splice(r,1),{...e,stack:s}}},F3=class x0 extends Bl{constructor(){super(...arguments),Wl(this,"actions",{push:t=>this.send({type:0,id:t}),pop:t=>this.send({type:1,id:t})}),Wl(this,"selectors",{isTop:(t,n)=>t.stack[t.stack.length-1]===n,inStack:(t,n)=>t.stack.includes(n)})}static new(){return new x0({stack:[]})}reduce(t,n){return Re(n.type,N3,t,n)}};const Zl=new $l(()=>F3.new());var xo={exports:{}},yo={};/**
9
+ `))}else{let h=d.props,g=h?.className,m=typeof g=="function"?(...b)=>Al(g(...b),c.className):Al(g,c.className),x=m?{className:m}:{},y=Nl(d.props,Cn(yo(c,["ref"])));for(let b in f)b in y&&delete f[b];return p.cloneElement(d,Object.assign({},y,f,u,{ref:s(C3(d),u.ref)},x))}return p.createElement(i,Object.assign({},yo(c,["ref"]),!Qr(i)&&u,!Qr(i)&&f),d)}function v3(){let e=p.useRef([]),t=p.useCallback(n=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(n):r.current=n)},[]);return(...n)=>{if(!n.every(r=>r==null))return e.current=n,t}}function b3(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function Nl(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let s in r)s.startsWith("on")&&typeof r[s]=="function"?(n[s]!=null||(n[s]=[]),n[s].push(r[s])):t[s]=r[s];if(t.disabled||t["aria-disabled"])for(let r in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(n[r]=[s=>{var i;return(i=s?.preventDefault)==null?void 0:i.call(s)}]);for(let r in n)Object.assign(t,{[r](s,...i){let a=n[r];for(let l of a){if((s instanceof Event||s?.nativeEvent instanceof Event)&&s.defaultPrevented)return;l(s,...i)}}});return t}function Xn(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let r of e)for(let s in r)s.startsWith("on")&&typeof r[s]=="function"?(n[s]!=null||(n[s]=[]),n[s].push(r[s])):t[s]=r[s];for(let r in n)Object.assign(t,{[r](...s){let i=n[r];for(let a of i)a?.(...s)}});return t}function Re(e){var t;return Object.assign(p.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function Cn(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function yo(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}function C3(e){return p.version.split(".")[0]>="19"?e.props.ref:e.ref}function Qr(e){return e===p.Fragment||e===Symbol.for("react.fragment")}function w3(e){return Qr(e.type)}let k3="span";var wn=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(wn||{});function j3(e,t){var n;let{features:r=1,...s}=e,i={ref:t,"aria-hidden":(r&2)===2?!0:(n=s["aria-hidden"])!=null?n:void 0,hidden:(r&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return Be()({ourProps:i,theirProps:s,slot:{},defaultTag:k3,name:"Hidden"})}let kn=Re(j3);function L3(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function Xt(e){return L3(e)&&"tagName"in e}function jt(e){return Xt(e)&&"accessKey"in e}function jn(e){return Xt(e)&&"tabIndex"in e}function E3(e){return Xt(e)&&"style"in e}function S3(e){return jt(e)&&e.nodeName==="IFRAME"}function M3(e){return jt(e)&&e.nodeName==="INPUT"}function T3(e){return jt(e)&&e.nodeName==="FIELDSET"}function Rl(e){return jt(e)&&e.nodeName==="LEGEND"}function Fl(e){let t=e.parentElement,n=null;for(;t&&!T3(t);)Rl(t)&&(n=t),t=t.parentElement;let r=t?.getAttribute("disabled")==="";return r&&D3(n)?!1:r}function D3(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(Rl(t))return!1;t=t.previousElementSibling}return!0}let Vl=Symbol();function $l(e,t=!0){return Object.assign(e,{[Vl]:t})}function Ie(...e){let t=p.useRef(e);p.useEffect(()=>{t.current=e},[e]);let n=oe(r=>{for(let s of t.current)s!=null&&(typeof s=="function"?s(r):s.current=r)});return e.every(r=>r==null||r?.[Vl])?void 0:n}var je=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(je||{});let P3=p.createContext(()=>{});function Ol({value:e,children:t}){return p.createElement(P3.Provider,{value:e},t)}function _l(e){if(e===null)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function A3(e,t,n=!1){let[r,s]=p.useState(()=>_l(t));return Ae(()=>{if(!t||!e)return;let i=kt();return i.requestAnimationFrame(function a(){i.requestAnimationFrame(a),s(l=>{let c=_l(t);return c.width===l.width&&c.height===l.height?l:c})}),()=>{i.dispose()}},[t,e]),n?{width:`${r.width}px`,height:`${r.height}px`}:r}let Bl=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};var N3=Object.defineProperty,R3=(e,t,n)=>t in e?N3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,F3=(e,t,n)=>(R3(e,t+"",n),n),Il=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},Xe=(e,t,n)=>(Il(e,t,"read from private field"),n?n.call(e):t.get(e)),vo=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Hl=(e,t,n,r)=>(Il(e,t,"write to private field"),t.set(e,n),n),mt,Jn,Qn;let Wl=class{constructor(t){vo(this,mt,{}),vo(this,Jn,new Bl(()=>new Set)),vo(this,Qn,new Set),F3(this,"disposables",kt()),Hl(this,mt,t),Kt.isServer&&this.disposables.microTask(()=>{this.dispose()})}dispose(){this.disposables.dispose()}get state(){return Xe(this,mt)}subscribe(t,n){if(Kt.isServer)return()=>{};let r={selector:t,callback:n,current:t(Xe(this,mt))};return Xe(this,Qn).add(r),this.disposables.add(()=>{Xe(this,Qn).delete(r)})}on(t,n){return Kt.isServer?()=>{}:(Xe(this,Jn).get(t).add(n),this.disposables.add(()=>{Xe(this,Jn).get(t).delete(n)}))}send(t){let n=this.reduce(Xe(this,mt),t);if(n!==Xe(this,mt)){Hl(this,mt,n);for(let r of Xe(this,Qn)){let s=r.selector(Xe(this,mt));Ul(r.current,s)||(r.current=s,r.callback(s))}for(let r of Xe(this,Jn).get(t.type))r(Xe(this,mt),t)}}};mt=new WeakMap,Jn=new WeakMap,Qn=new WeakMap;function Ul(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:bo(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:bo(e.entries(),t.entries()):Zl(e)&&Zl(t)?bo(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function bo(e,t){do{let n=e.next(),r=t.next();if(n.done&&r.done)return!0;if(n.done||r.done||!Object.is(n.value,r.value))return!1}while(!0)}function Zl(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}var V3=Object.defineProperty,$3=(e,t,n)=>t in e?V3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zl=(e,t,n)=>($3(e,typeof t!="symbol"?t+"":t,n),n),O3=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(O3||{});let _3={0(e,t){let n=t.id,r=e.stack,s=e.stack.indexOf(n);if(s!==-1){let i=e.stack.slice();return i.splice(s,1),i.push(n),r=i,{...e,stack:r}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,r=e.stack.indexOf(n);if(r===-1)return e;let s=e.stack.slice();return s.splice(r,1),{...e,stack:s}}},B3=class k0 extends Wl{constructor(){super(...arguments),zl(this,"actions",{push:t=>this.send({type:0,id:t}),pop:t=>this.send({type:1,id:t})}),zl(this,"selectors",{isTop:(t,n)=>t.stack[t.stack.length-1]===n,inStack:(t,n)=>t.stack.includes(n)})}static new(){return new k0({stack:[]})}reduce(t,n){return Ne(n.type,_3,t,n)}};const Kl=new Bl(()=>B3.new());var Co={exports:{}},wo={};/**
10
10
  * @license React
11
11
  * use-sync-external-store-with-selector.production.js
12
12
  *
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Ul;function V3(){if(Ul)return yo;Ul=1;var e=p;function t(c,u){return c===u&&(c!==0||1/c===1/u)||c!==c&&u!==u}var n=typeof Object.is=="function"?Object.is:t,r=e.useSyncExternalStore,s=e.useRef,o=e.useEffect,i=e.useMemo,l=e.useDebugValue;return yo.useSyncExternalStoreWithSelector=function(c,u,d,f,h){var m=s(null);if(m.current===null){var g={hasValue:!1,value:null};m.current=g}else g=m.current;m=i(function(){function v(w){if(!b){if(b=!0,C=w,w=f(w),h!==void 0&&g.hasValue){var L=g.value;if(h(L,w))return y=L}return y=w}if(L=y,n(C,w))return L;var T=f(w);return h!==void 0&&h(L,T)?(C=w,L):(C=w,y=T)}var b=!1,C,y,j=d===void 0?null:d;return[function(){return v(u())},j===null?void 0:function(){return v(j())}]},[u,d,f,h]);var x=r(c,m[0],m[1]);return o(function(){g.hasValue=!0,g.value=x},[x]),l(x),x},yo}var vo={};/**
17
+ */var Yl;function I3(){if(Yl)return wo;Yl=1;var e=p;function t(c,u){return c===u&&(c!==0||1/c===1/u)||c!==c&&u!==u}var n=typeof Object.is=="function"?Object.is:t,r=e.useSyncExternalStore,s=e.useRef,i=e.useEffect,a=e.useMemo,l=e.useDebugValue;return wo.useSyncExternalStoreWithSelector=function(c,u,d,f,h){var g=s(null);if(g.current===null){var m={hasValue:!1,value:null};g.current=m}else m=g.current;g=a(function(){function y(w){if(!b){if(b=!0,C=w,w=f(w),h!==void 0&&m.hasValue){var L=m.value;if(h(L,w))return v=L}return v=w}if(L=v,n(C,w))return L;var T=f(w);return h!==void 0&&h(L,T)?(C=w,L):(C=w,v=T)}var b=!1,C,v,j=d===void 0?null:d;return[function(){return y(u())},j===null?void 0:function(){return y(j())}]},[u,d,f,h]);var x=r(c,g[0],g[1]);return i(function(){m.hasValue=!0,m.value=x},[x]),l(x),x},wo}var ko={};/**
18
18
  * @license React
19
19
  * use-sync-external-store-with-selector.development.js
20
20
  *
@@ -22,8 +22,8 @@
22
22
  *
23
23
  * This source code is licensed under the MIT license found in the
24
24
  * LICENSE file in the root directory of this source tree.
25
- */var zl;function $3(){return zl||(zl=1,process.env.NODE_ENV!=="production"&&function(){function e(c,u){return c===u&&(c!==0||1/c===1/u)||c!==c&&u!==u}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=p,n=typeof Object.is=="function"?Object.is:e,r=t.useSyncExternalStore,s=t.useRef,o=t.useEffect,i=t.useMemo,l=t.useDebugValue;vo.useSyncExternalStoreWithSelector=function(c,u,d,f,h){var m=s(null);if(m.current===null){var g={hasValue:!1,value:null};m.current=g}else g=m.current;m=i(function(){function v(w){if(!b){if(b=!0,C=w,w=f(w),h!==void 0&&g.hasValue){var L=g.value;if(h(L,w))return y=L}return y=w}if(L=y,n(C,w))return L;var T=f(w);return h!==void 0&&h(L,T)?(C=w,L):(C=w,y=T)}var b=!1,C,y,j=d===void 0?null:d;return[function(){return v(u())},j===null?void 0:function(){return v(j())}]},[u,d,f,h]);var x=r(c,m[0],m[1]);return o(function(){g.hasValue=!0,g.value=x},[x]),l(x),x},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),vo}process.env.NODE_ENV==="production"?xo.exports=V3():xo.exports=$3();var O3=xo.exports;function Gt(e,t,n=Il){return O3.useSyncExternalStoreWithSelector(oe(r=>e.subscribe(_3,r)),oe(()=>e.state),oe(()=>e.state),oe(t),n)}function _3(e){return e}function B3(e,t){let n=p.useId(),r=Zl.get(t),[s,o]=Gt(r,p.useCallback(i=>[r.selectors.isTop(i,n),r.selectors.inStack(i,n)],[r,n]));return Ae(()=>{if(e)return r.actions.push(n),()=>r.actions.pop(n)},[r,e,n]),e?o?s:!0:!1}function I3(e,t,n){let r=Ge(s=>{let o=s.getBoundingClientRect();o.x===0&&o.y===0&&o.width===0&&o.height===0&&n()});p.useEffect(()=>{if(!e)return;let s=t===null?null:Ct(t)?t:t.current;if(!s)return;let o=bt();if(typeof ResizeObserver<"u"){let i=new ResizeObserver(()=>r.current(s));i.observe(s),o.add(()=>i.disconnect())}if(typeof IntersectionObserver<"u"){let i=new IntersectionObserver(()=>r.current(s));i.observe(s),o.add(()=>i.disconnect())}return()=>o.dispose()},[t,r,e])}let bo=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","details>summary","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),H3=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var we=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(we||{}),Dt=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Dt||{}),W3=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(W3||{});function Xr(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(bo)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function Z3(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(H3)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Co=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Co||{});function Kl(e,t=0){var n;return e===((n=yn(e))==null?void 0:n.body)?!1:Re(t,{0(){return e.matches(bo)},1(){let r=e;for(;r!==null;){if(r.matches(bo))return!0;r=r.parentElement}return!1}})}var U3=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(U3||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let z3=["textarea","input"].join(",");function K3(e){var t,n;return(n=(t=e?.matches)==null?void 0:t.call(e,z3))!=null?n:!1}function kn(e,t=n=>n){return e.slice().sort((n,r)=>{let s=t(n),o=t(r);if(s===null||o===null)return 0;let i=s.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Ue(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:s=[]}={}){let o=Array.isArray(e)?e.length>0?Ut(e[0]):document:Ut(e),i=Array.isArray(e)?n?kn(e):e:t&64?Z3(e):Xr(e);s.length>0&&i.length>1&&(i=i.filter(m=>!s.some(g=>g!=null&&"current"in g?g?.current===m:g===m))),r=r??o?.activeElement;let l=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,i.indexOf(r))-1;if(t&4)return Math.max(0,i.indexOf(r))+1;if(t&8)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},d=0,f=i.length,h;do{if(d>=f||d+f<=0)return 0;let m=c+d;if(t&16)m=(m+f)%f;else{if(m<0)return 3;if(m>=f)return 1}h=i[m],h?.focus(u),d+=l}while(h!==zt(h));return t&6&&K3(h)&&h.select(),2}function Yl(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Y3(){return/Android/gi.test(window.navigator.userAgent)}function Gl(){return Yl()||Y3()}function Jr(e,t,n,r){let s=Ge(n);p.useEffect(()=>{if(!e)return;function o(i){s.current(i)}return document.addEventListener(t,o,r),()=>document.removeEventListener(t,o,r)},[e,t,r])}function ql(e,t,n,r){let s=Ge(n);p.useEffect(()=>{if(!e)return;function o(i){s.current(i)}return window.addEventListener(t,o,r),()=>window.removeEventListener(t,o,r)},[e,t,r])}const Xl=30;function G3(e,t,n){let r=Ge(n),s=p.useCallback(function(l,c){if(l.defaultPrevented)return;let u=c(l);if(u===null||!u.getRootNode().contains(u)||!u.isConnected)return;let d=function f(h){return typeof h=="function"?f(h()):Array.isArray(h)||h instanceof Set?h:[h]}(t);for(let f of d)if(f!==null&&(f.contains(u)||l.composed&&l.composedPath().includes(f)))return;return!Kl(u,Co.Loose)&&u.tabIndex!==-1&&l.preventDefault(),r.current(l,u)},[r,t]),o=p.useRef(null);Jr(e,"pointerdown",l=>{var c,u;Gl()||(o.current=((u=(c=l.composedPath)==null?void 0:c.call(l))==null?void 0:u[0])||l.target)},!0),Jr(e,"pointerup",l=>{if(Gl()||!o.current)return;let c=o.current;return o.current=null,s(l,()=>c)},!0);let i=p.useRef({x:0,y:0});Jr(e,"touchstart",l=>{i.current.x=l.touches[0].clientX,i.current.y=l.touches[0].clientY},!0),Jr(e,"touchend",l=>{let c={x:l.changedTouches[0].clientX,y:l.changedTouches[0].clientY};if(!(Math.abs(c.x-i.current.x)>=Xl||Math.abs(c.y-i.current.y)>=Xl))return s(l,()=>wn(l.target)?l.target:null)},!0),ql(e,"blur",l=>s(l,()=>w3(window.document.activeElement)?window.document.activeElement:null),!0)}function wo(...e){return p.useMemo(()=>yn(...e),[...e])}function q3(...e){return p.useMemo(()=>Ut(...e),[...e])}function X3(e,t,n,r){let s=Ge(n);p.useEffect(()=>{e=e??window;function o(i){s.current(i)}return e.addEventListener(t,o,r),()=>e.removeEventListener(t,o,r)},[e,t,r])}function Jl(e,t){return p.useMemo(()=>{var n;if(e.type)return e.type;let r=(n=e.as)!=null?n:"button";if(typeof r=="string"&&r.toLowerCase()==="button"||t?.tagName==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}function J3(e){return p.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}function Q3(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(s){return r.add(s),()=>r.delete(s)},dispatch(s,...o){let i=t[s].call(n,...o);i&&(n=i,r.forEach(l=>l()))}}}function eh(){let e;return{before({doc:t}){var n;let r=t.documentElement,s=(n=t.defaultView)!=null?n:window;e=Math.max(0,s.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,s=Math.max(0,r.clientWidth-r.offsetWidth),o=Math.max(0,e-s);n.style(r,"paddingRight",`${o}px`)}}}function th(){return Yl()?{before({doc:e,d:t,meta:n}){function r(s){for(let o of n().containers)for(let i of o())if(i.contains(s))return!0;return!1}t.microTask(()=>{var s;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let l=bt();l.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>l.dispose()))}let o=(s=window.scrollY)!=null?s:window.pageYOffset,i=null;t.addEventListener(e,"click",l=>{if(wn(l.target))try{let c=l.target.closest("a");if(!c)return;let{hash:u}=new URL(c.href),d=e.querySelector(u);wn(d)&&!r(d)&&(i=d)}catch{}},!0),t.group(l=>{t.addEventListener(e,"touchstart",c=>{if(l.dispose(),wn(c.target)&&C3(c.target))if(r(c.target)){let u=c.target;for(;u.parentElement&&r(u.parentElement);)u=u.parentElement;l.style(u,"overscrollBehavior","contain")}else l.style(c.target,"touchAction","none")})}),t.addEventListener(e,"touchmove",l=>{if(wn(l.target)){if(k3(l.target))return;if(r(l.target)){let c=l.target;for(;c.parentElement&&c.dataset.headlessuiPortal!==""&&!(c.scrollHeight>c.clientHeight||c.scrollWidth>c.clientWidth);)c=c.parentElement;c.dataset.headlessuiPortal===""&&l.preventDefault()}else l.preventDefault()}},{passive:!1}),t.add(()=>{var l;let c=(l=window.scrollY)!=null?l:window.pageYOffset;o!==c&&window.scrollTo(0,o),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)})})}}:{}}function nh(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function Ql(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let qt=Q3(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:bt(),meta:new Set,computedMeta:{}};return r.count++,r.meta.add(t),r.computedMeta=Ql(r.meta),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t),n.computedMeta=Ql(n.meta)),this},SCROLL_PREVENT(e){let t={doc:e.doc,d:e.d,meta(){return e.computedMeta}},n=[th(),eh(),nh()];n.forEach(({before:r})=>r?.(t)),n.forEach(({after:r})=>r?.(t))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});qt.subscribe(()=>{let e=qt.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",s=n.count!==0;(s&&!r||!s&&r)&&qt.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&qt.dispatch("TEARDOWN",n)}});function rh(e,t,n=()=>({containers:[]})){let r=J3(qt),s=t?r.get(t):void 0,o=s?s.count>0:!1;return Ae(()=>{if(!(!t||!e))return qt.dispatch("PUSH",t,n),()=>qt.dispatch("POP",t,n)},[e,t]),o}function sh(e,t,n=()=>[document.body]){let r=B3(e,"scroll-lock");rh(r,t,s=>{var o;return{containers:[...(o=s.containers)!=null?o:[],n]}})}function oh(e=0){let[t,n]=p.useState(e),r=p.useCallback(c=>n(c),[]),s=p.useCallback(c=>n(u=>u|c),[]),o=p.useCallback(c=>(t&c)===c,[t]),i=p.useCallback(c=>n(u=>u&~c),[]),l=p.useCallback(c=>n(u=>u^c),[]);return{flags:t,setFlag:r,addFlag:s,hasFlag:o,removeFlag:i,toggleFlag:l}}var ec,tc;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((ec=process==null?void 0:process.env)==null?void 0:ec.NODE_ENV)==="test"&&typeof((tc=Element?.prototype)==null?void 0:tc.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
26
- `)),[]});var ih=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(ih||{});function nc(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function rc(e,t,n,r){let[s,o]=p.useState(n),{hasFlag:i,addFlag:l,removeFlag:c}=oh(e&&s?3:0),u=p.useRef(!1),d=p.useRef(!1),f=Yr();return Ae(()=>{var h;if(e){if(n&&o(!0),!t){n&&l(3);return}return(h=void 0)==null||h.call(r,n),ah(t,{inFlight:u,prepare(){d.current?d.current=!1:d.current=u.current,u.current=!0,!d.current&&(n?(l(3),c(4)):(l(4),c(2)))},run(){d.current?n?(c(3),l(4)):(c(4),l(3)):n?c(1):l(1)},done(){var m;d.current&&uh(t)||(u.current=!1,c(7),n||o(!1),(m=void 0)==null||m.call(r,n))}})}},[e,n,t,f]),e?[s,{closed:i(1),enter:i(2),leave:i(4),transition:i(2)||i(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function ah(e,{prepare:t,run:n,done:r,inFlight:s}){let o=bt();return ch(e,{prepare:t,inFlight:s}),o.nextFrame(()=>{n(),o.requestAnimationFrame(()=>{o.add(lh(e,r))})}),o.dispose}function lh(e,t){var n,r;let s=bt();if(!e)return s.dispose;let o=!1;s.add(()=>{o=!0});let i=(r=(n=e.getAnimations)==null?void 0:n.call(e).filter(l=>l instanceof CSSTransition))!=null?r:[];return i.length===0?(t(),s.dispose):(Promise.allSettled(i.map(l=>l.finished)).then(()=>{o||t()}),s.dispose)}function ch(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}function uh(e){var t,n;return((n=(t=e.getAnimations)==null?void 0:t.call(e))!=null?n:[]).some(r=>r instanceof CSSTransition&&r.playState!=="finished")}function Qr(){return typeof window<"u"}function jn(e){return sc(e)?(e.nodeName||"").toLowerCase():"#document"}function ze(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pt(e){var t;return(t=(sc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function sc(e){return Qr()?e instanceof Node||e instanceof ze(e).Node:!1}function Te(e){return Qr()?e instanceof Element||e instanceof ze(e).Element:!1}function mt(e){return Qr()?e instanceof HTMLElement||e instanceof ze(e).HTMLElement:!1}function oc(e){return!Qr()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ze(e).ShadowRoot}const dh=new Set(["inline","contents"]);function Jn(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=it(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!dh.has(s)}const fh=new Set(["table","td","th"]);function hh(e){return fh.has(jn(e))}const ph=[":popover-open",":modal"];function es(e){return ph.some(t=>{try{return e.matches(t)}catch{return!1}})}const mh=["transform","translate","scale","rotate","perspective"],gh=["transform","translate","scale","rotate","perspective","filter"],xh=["paint","layout","strict","content"];function ko(e){const t=jo(),n=Te(e)?it(e):e;return mh.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||gh.some(r=>(n.willChange||"").includes(r))||xh.some(r=>(n.contain||"").includes(r))}function yh(e){let t=Pt(e);for(;mt(t)&&!Ln(t);){if(ko(t))return t;if(es(t))return null;t=Pt(t)}return null}function jo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const vh=new Set(["html","body","#document"]);function Ln(e){return vh.has(jn(e))}function it(e){return ze(e).getComputedStyle(e)}function ts(e){return Te(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Pt(e){if(jn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||oc(e)&&e.host||pt(e);return oc(t)?t.host:t}function ic(e){const t=Pt(e);return Ln(t)?e.ownerDocument?e.ownerDocument.body:e.body:mt(t)&&Jn(t)?t:ic(t)}function Qn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=ic(e),o=s===((r=e.ownerDocument)==null?void 0:r.body),i=ze(s);if(o){const l=Lo(i);return t.concat(i,i.visualViewport||[],Jn(s)?s:[],l&&n?Qn(l):[])}return t.concat(s,Qn(s,[],n))}function Lo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function bh(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}const Xt=Math.min,De=Math.max,er=Math.round,ns=Math.floor,gt=e=>({x:e,y:e}),Ch={left:"right",right:"left",bottom:"top",top:"bottom"},wh={start:"end",end:"start"};function ac(e,t,n){return De(e,Xt(t,n))}function En(e,t){return typeof e=="function"?e(t):e}function At(e){return e.split("-")[0]}function tr(e){return e.split("-")[1]}function lc(e){return e==="x"?"y":"x"}function cc(e){return e==="y"?"height":"width"}const kh=new Set(["top","bottom"]);function wt(e){return kh.has(At(e))?"y":"x"}function uc(e){return lc(wt(e))}function jh(e,t,n){n===void 0&&(n=!1);const r=tr(e),s=uc(e),o=cc(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=rs(i)),[i,rs(i)]}function Lh(e){const t=rs(e);return[Eo(e),t,Eo(t)]}function Eo(e){return e.replace(/start|end/g,t=>wh[t])}const dc=["left","right"],fc=["right","left"],Eh=["top","bottom"],Mh=["bottom","top"];function Sh(e,t,n){switch(e){case"top":case"bottom":return n?t?fc:dc:t?dc:fc;case"left":case"right":return t?Eh:Mh;default:return[]}}function Th(e,t,n,r){const s=tr(e);let o=Sh(At(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(Eo)))),o}function rs(e){return e.replace(/left|right|bottom|top/g,t=>Ch[t])}function Dh(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ph(e){return typeof e!="number"?Dh(e):{top:e,right:e,bottom:e,left:e}}function ss(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function hc(e,t,n){let{reference:r,floating:s}=e;const o=wt(t),i=uc(t),l=cc(i),c=At(t),u=o==="y",d=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,h=r[l]/2-s[l]/2;let m;switch(c){case"top":m={x:d,y:r.y-s.height};break;case"bottom":m={x:d,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:f};break;case"left":m={x:r.x-s.width,y:f};break;default:m={x:r.x,y:r.y}}switch(tr(t)){case"start":m[i]-=h*(n&&u?-1:1);break;case"end":m[i]+=h*(n&&u?-1:1);break}return m}const Ah=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,l=o.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:f}=hc(u,r,c),h=r,m={},g=0;for(let x=0;x<l.length;x++){const{name:v,fn:b}=l[x],{x:C,y,data:j,reset:w}=await b({x:d,y:f,initialPlacement:r,placement:h,strategy:s,middlewareData:m,rects:u,platform:i,elements:{reference:e,floating:t}});d=C??d,f=y??f,m={...m,[v]:{...m[v],...j}},w&&g<=50&&(g++,typeof w=="object"&&(w.placement&&(h=w.placement),w.rects&&(u=w.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):w.rects),{x:d,y:f}=hc(u,h,c)),x=-1)}return{x:d,y:f,placement:h,strategy:s,middlewareData:m}};async function os(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:i,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=En(t,e),g=Ph(m),v=l[h?f==="floating"?"reference":"floating":f],b=ss(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(v)))==null||n?v:v.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),C=f==="floating"?{x:r,y:s,width:i.floating.width,height:i.floating.height}:i.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l.floating)),j=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},w=ss(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:C,offsetParent:y,strategy:c}):C);return{top:(b.top-w.top+g.top)/j.y,bottom:(w.bottom-b.bottom+g.bottom)/j.y,left:(b.left-w.left+g.left)/j.x,right:(w.right-b.right+g.right)/j.x}}const Rh=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:i,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:x=!0,...v}=En(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const b=At(s),C=wt(l),y=At(l)===l,j=await(c.isRTL==null?void 0:c.isRTL(u.floating)),w=h||(y||!x?[rs(l)]:Lh(l)),L=g!=="none";!h&&L&&w.push(...Th(l,x,g,j));const T=[l,...w],A=await os(t,v),I=[];let V=((r=o.flip)==null?void 0:r.overflows)||[];if(d&&I.push(A[b]),f){const P=jh(s,i,j);I.push(A[P[0]],A[P[1]])}if(V=[...V,{placement:s,overflows:I}],!I.every(P=>P<=0)){var O,z;const P=(((O=o.flip)==null?void 0:O.index)||0)+1,F=T[P];if(F&&(!(f==="alignment"?C!==wt(F):!1)||V.every(M=>wt(M.placement)===C?M.overflows[0]>0:!0)))return{data:{index:P,overflows:V},reset:{placement:F}};let E=(z=V.filter(D=>D.overflows[0]<=0).sort((D,M)=>D.overflows[1]-M.overflows[1])[0])==null?void 0:z.placement;if(!E)switch(m){case"bestFit":{var U;const D=(U=V.filter(M=>{if(L){const $=wt(M.placement);return $===C||$==="y"}return!0}).map(M=>[M.placement,M.overflows.filter($=>$>0).reduce(($,N)=>$+N,0)]).sort((M,$)=>M[1]-$[1])[0])==null?void 0:U[0];D&&(E=D);break}case"initialPlacement":E=l;break}if(s!==E)return{reset:{placement:E}}}return{}}}},Nh=new Set(["left","top"]);async function Fh(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=At(n),l=tr(n),c=wt(n)==="y",u=Nh.has(i)?-1:1,d=o&&c?-1:1,f=En(t,e);let{mainAxis:h,crossAxis:m,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof g=="number"&&(m=l==="end"?g*-1:g),c?{x:m*d,y:h*u}:{x:h*u,y:m*d}}const Vh=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:i,middlewareData:l}=t,c=await Fh(t,e);return i===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:s+c.x,y:o+c.y,data:{...c,placement:i}}}}},$h=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:l={fn:v=>{let{x:b,y:C}=v;return{x:b,y:C}}},...c}=En(e,t),u={x:n,y:r},d=await os(t,c),f=wt(At(s)),h=lc(f);let m=u[h],g=u[f];if(o){const v=h==="y"?"top":"left",b=h==="y"?"bottom":"right",C=m+d[v],y=m-d[b];m=ac(C,m,y)}if(i){const v=f==="y"?"top":"left",b=f==="y"?"bottom":"right",C=g+d[v],y=g-d[b];g=ac(C,g,y)}const x=l.fn({...t,[h]:m,[f]:g});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[h]:o,[f]:i}}}}}},Oh=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:i,elements:l}=t,{apply:c=()=>{},...u}=En(e,t),d=await os(t,u),f=At(s),h=tr(s),m=wt(s)==="y",{width:g,height:x}=o.floating;let v,b;f==="top"||f==="bottom"?(v=f,b=h===(await(i.isRTL==null?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(b=f,v=h==="end"?"top":"bottom");const C=x-d.top-d.bottom,y=g-d.left-d.right,j=Xt(x-d[v],C),w=Xt(g-d[b],y),L=!t.middlewareData.shift;let T=j,A=w;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=C),L&&!h){const V=De(d.left,0),O=De(d.right,0),z=De(d.top,0),U=De(d.bottom,0);m?A=g-2*(V!==0||O!==0?V+O:De(d.left,d.right)):T=x-2*(z!==0||U!==0?z+U:De(d.top,d.bottom))}await c({...t,availableWidth:A,availableHeight:T});const I=await i.getDimensions(l.floating);return g!==I.width||x!==I.height?{reset:{rects:!0}}:{}}}};function pc(e){const t=it(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=mt(e),o=s?e.offsetWidth:n,i=s?e.offsetHeight:r,l=er(n)!==o||er(r)!==i;return l&&(n=o,r=i),{width:n,height:r,$:l}}function Mo(e){return Te(e)?e:e.contextElement}function Mn(e){const t=Mo(e);if(!mt(t))return gt(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:o}=pc(t);let i=(o?er(n.width):n.width)/r,l=(o?er(n.height):n.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const _h=gt(0);function mc(e){const t=ze(e);return!jo()||!t.visualViewport?_h:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Bh(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ze(e)?!1:t}function Jt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=Mo(e);let i=gt(1);t&&(r?Te(r)&&(i=Mn(r)):i=Mn(e));const l=Bh(o,n,r)?mc(o):gt(0);let c=(s.left+l.x)/i.x,u=(s.top+l.y)/i.y,d=s.width/i.x,f=s.height/i.y;if(o){const h=ze(o),m=r&&Te(r)?ze(r):r;let g=h,x=Lo(g);for(;x&&r&&m!==g;){const v=Mn(x),b=x.getBoundingClientRect(),C=it(x),y=b.left+(x.clientLeft+parseFloat(C.paddingLeft))*v.x,j=b.top+(x.clientTop+parseFloat(C.paddingTop))*v.y;c*=v.x,u*=v.y,d*=v.x,f*=v.y,c+=y,u+=j,g=ze(x),x=Lo(g)}}return ss({width:d,height:f,x:c,y:u})}function is(e,t){const n=ts(e).scrollLeft;return t?t.left+n:Jt(pt(e)).left+n}function gc(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-is(e,n),s=n.top+t.scrollTop;return{x:r,y:s}}function Ih(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const o=s==="fixed",i=pt(r),l=t?es(t.floating):!1;if(r===i||l&&o)return n;let c={scrollLeft:0,scrollTop:0},u=gt(1);const d=gt(0),f=mt(r);if((f||!f&&!o)&&((jn(r)!=="body"||Jn(i))&&(c=ts(r)),mt(r))){const m=Jt(r);u=Mn(r),d.x=m.x+r.clientLeft,d.y=m.y+r.clientTop}const h=i&&!f&&!o?gc(i,c):gt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+h.x,y:n.y*u.y-c.scrollTop*u.y+d.y+h.y}}function Hh(e){return Array.from(e.getClientRects())}function Wh(e){const t=pt(e),n=ts(e),r=e.ownerDocument.body,s=De(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=De(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+is(e);const l=-n.scrollTop;return it(r).direction==="rtl"&&(i+=De(t.clientWidth,r.clientWidth)-s),{width:s,height:o,x:i,y:l}}const xc=25;function Zh(e,t){const n=ze(e),r=pt(e),s=n.visualViewport;let o=r.clientWidth,i=r.clientHeight,l=0,c=0;if(s){o=s.width,i=s.height;const d=jo();(!d||d&&t==="fixed")&&(l=s.offsetLeft,c=s.offsetTop)}const u=is(r);if(u<=0){const d=r.ownerDocument,f=d.body,h=getComputedStyle(f),m=d.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,g=Math.abs(r.clientWidth-f.clientWidth-m);g<=xc&&(o-=g)}else u<=xc&&(o+=u);return{width:o,height:i,x:l,y:c}}const Uh=new Set(["absolute","fixed"]);function zh(e,t){const n=Jt(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,o=mt(e)?Mn(e):gt(1),i=e.clientWidth*o.x,l=e.clientHeight*o.y,c=s*o.x,u=r*o.y;return{width:i,height:l,x:c,y:u}}function yc(e,t,n){let r;if(t==="viewport")r=Zh(e,n);else if(t==="document")r=Wh(pt(e));else if(Te(t))r=zh(t,n);else{const s=mc(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return ss(r)}function vc(e,t){const n=Pt(e);return n===t||!Te(n)||Ln(n)?!1:it(n).position==="fixed"||vc(n,t)}function Kh(e,t){const n=t.get(e);if(n)return n;let r=Qn(e,[],!1).filter(l=>Te(l)&&jn(l)!=="body"),s=null;const o=it(e).position==="fixed";let i=o?Pt(e):e;for(;Te(i)&&!Ln(i);){const l=it(i),c=ko(i);!c&&l.position==="fixed"&&(s=null),(o?!c&&!s:!c&&l.position==="static"&&!!s&&Uh.has(s.position)||Jn(i)&&!c&&vc(e,i))?r=r.filter(d=>d!==i):s=l,i=Pt(i)}return t.set(e,r),r}function Yh(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const i=[...n==="clippingAncestors"?es(t)?[]:Kh(t,this._c):[].concat(n),r],l=i[0],c=i.reduce((u,d)=>{const f=yc(t,d,s);return u.top=De(f.top,u.top),u.right=Xt(f.right,u.right),u.bottom=Xt(f.bottom,u.bottom),u.left=De(f.left,u.left),u},yc(t,l,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Gh(e){const{width:t,height:n}=pc(e);return{width:t,height:n}}function qh(e,t,n){const r=mt(t),s=pt(t),o=n==="fixed",i=Jt(e,!0,o,t);let l={scrollLeft:0,scrollTop:0};const c=gt(0);function u(){c.x=is(s)}if(r||!r&&!o)if((jn(t)!=="body"||Jn(s))&&(l=ts(t)),r){const m=Jt(t,!0,o,t);c.x=m.x+t.clientLeft,c.y=m.y+t.clientTop}else s&&u();o&&!r&&s&&u();const d=s&&!r&&!o?gc(s,l):gt(0),f=i.left+l.scrollLeft-c.x-d.x,h=i.top+l.scrollTop-c.y-d.y;return{x:f,y:h,width:i.width,height:i.height}}function So(e){return it(e).position==="static"}function bc(e,t){if(!mt(e)||it(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return pt(e)===n&&(n=n.ownerDocument.body),n}function Cc(e,t){const n=ze(e);if(es(e))return n;if(!mt(e)){let s=Pt(e);for(;s&&!Ln(s);){if(Te(s)&&!So(s))return s;s=Pt(s)}return n}let r=bc(e,t);for(;r&&hh(r)&&So(r);)r=bc(r,t);return r&&Ln(r)&&So(r)&&!ko(r)?n:r||yh(e)||n}const Xh=async function(e){const t=this.getOffsetParent||Cc,n=this.getDimensions,r=await n(e.floating);return{reference:qh(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Jh(e){return it(e).direction==="rtl"}const Qh={convertOffsetParentRelativeRectToViewportRelativeRect:Ih,getDocumentElement:pt,getClippingRect:Yh,getOffsetParent:Cc,getElementRects:Xh,getClientRects:Hh,getDimensions:Gh,getScale:Mn,isElement:Te,isRTL:Jh};function wc(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function e5(e,t){let n=null,r;const s=pt(e);function o(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function i(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),o();const u=e.getBoundingClientRect(),{left:d,top:f,width:h,height:m}=u;if(l||t(),!h||!m)return;const g=ns(f),x=ns(s.clientWidth-(d+h)),v=ns(s.clientHeight-(f+m)),b=ns(d),y={rootMargin:-g+"px "+-x+"px "+-v+"px "+-b+"px",threshold:De(0,Xt(1,c))||1};let j=!0;function w(L){const T=L[0].intersectionRatio;if(T!==c){if(!j)return i();T?i(!1,T):r=setTimeout(()=>{i(!1,1e-7)},1e3)}T===1&&!wc(u,e.getBoundingClientRect())&&i(),j=!1}try{n=new IntersectionObserver(w,{...y,root:s.ownerDocument})}catch{n=new IntersectionObserver(w,y)}n.observe(e)}return i(!0),o}function t5(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Mo(e),d=s||o?[...u?Qn(u):[],...Qn(t)]:[];d.forEach(b=>{s&&b.addEventListener("scroll",n,{passive:!0}),o&&b.addEventListener("resize",n)});const f=u&&l?e5(u,n):null;let h=-1,m=null;i&&(m=new ResizeObserver(b=>{let[C]=b;C&&C.target===u&&m&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=m)==null||y.observe(t)})),n()}),u&&!c&&m.observe(u),m.observe(t));let g,x=c?Jt(e):null;c&&v();function v(){const b=Jt(e);x&&!wc(x,b)&&n(),x=b,g=requestAnimationFrame(v)}return n(),()=>{var b;d.forEach(C=>{s&&C.removeEventListener("scroll",n),o&&C.removeEventListener("resize",n)}),f?.(),(b=m)==null||b.disconnect(),m=null,c&&cancelAnimationFrame(g)}}const To=os,n5=Vh,r5=$h,s5=Rh,o5=Oh,i5=(e,t,n)=>{const r=new Map,s={platform:Qh,...n},o={...s.platform,_c:r};return Ah(e,t,{...s,platform:o})};var a5=typeof document<"u",l5=function(){},as=a5?p.useLayoutEffect:l5;function ls(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!ls(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const o=s[r];if(!(o==="_owner"&&e.$$typeof)&&!ls(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function kc(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function jc(e,t){const n=kc(e);return Math.round(t*n)/n}function Do(e){const t=K.useRef(e);return as(()=>{t.current=e}),t}function c5(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:o,floating:i}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,f]=K.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=K.useState(r);ls(h,r)||m(r);const[g,x]=K.useState(null),[v,b]=K.useState(null),C=K.useCallback(M=>{M!==L.current&&(L.current=M,x(M))},[]),y=K.useCallback(M=>{M!==T.current&&(T.current=M,b(M))},[]),j=o||g,w=i||v,L=K.useRef(null),T=K.useRef(null),A=K.useRef(d),I=c!=null,V=Do(c),O=Do(s),z=Do(u),U=K.useCallback(()=>{if(!L.current||!T.current)return;const M={placement:t,strategy:n,middleware:h};O.current&&(M.platform=O.current),i5(L.current,T.current,M).then($=>{const N={...$,isPositioned:z.current!==!1};P.current&&!ls(A.current,N)&&(A.current=N,Sr.flushSync(()=>{f(N)}))})},[h,t,n,O,z]);as(()=>{u===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,f(M=>({...M,isPositioned:!1})))},[u]);const P=K.useRef(!1);as(()=>(P.current=!0,()=>{P.current=!1}),[]),as(()=>{if(j&&(L.current=j),w&&(T.current=w),j&&w){if(V.current)return V.current(j,w,U);U()}},[j,w,U,V,I]);const F=K.useMemo(()=>({reference:L,floating:T,setReference:C,setFloating:y}),[C,y]),E=K.useMemo(()=>({reference:j,floating:w}),[j,w]),D=K.useMemo(()=>{const M={position:n,left:0,top:0};if(!E.floating)return M;const $=jc(E.floating,d.x),N=jc(E.floating,d.y);return l?{...M,transform:"translate("+$+"px, "+N+"px)",...kc(E.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:$,top:N}},[n,l,E.floating,d.x,d.y]);return K.useMemo(()=>({...d,update:U,refs:F,elements:E,floatingStyles:D}),[d,U,F,E,D])}const Lc=(e,t)=>({...n5(e),options:[e,t]}),u5=(e,t)=>({...r5(e),options:[e,t]}),d5=(e,t)=>({...s5(e),options:[e,t]}),f5=(e,t)=>({...o5(e),options:[e,t]}),Ec={...K},h5=Ec.useInsertionEffect,p5=h5||(e=>e());function Mc(e){const t=K.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return p5(()=>{t.current=e}),K.useCallback(function(){for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return t.current==null?void 0:t.current(...r)},[])}var Po=typeof document<"u"?p.useLayoutEffect:p.useEffect;let Sc=!1,m5=0;const Tc=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+m5++;function g5(){const[e,t]=K.useState(()=>Sc?Tc():void 0);return Po(()=>{e==null&&t(Tc())},[]),K.useEffect(()=>{Sc=!0},[]),e}const x5=Ec.useId,y5=x5||g5;let nr;process.env.NODE_ENV!=="production"&&(nr=new Set);function v5(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const s="Floating UI: "+n.join(" ");if(!((e=nr)!=null&&e.has(s))){var o;(o=nr)==null||o.add(s),console.warn(s)}}function b5(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const s="Floating UI: "+n.join(" ");if(!((e=nr)!=null&&e.has(s))){var o;(o=nr)==null||o.add(s),console.error(s)}}function C5(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(s=>s(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(s=>s!==n))||[])}}}const w5=K.createContext(null),k5=K.createContext(null),j5=()=>{var e;return((e=K.useContext(w5))==null?void 0:e.id)||null},L5=()=>K.useContext(k5),E5="data-floating-ui-focusable";function M5(e){const{open:t=!1,onOpenChange:n,elements:r}=e,s=y5(),o=K.useRef({}),[i]=K.useState(()=>C5()),l=j5()!=null;if(process.env.NODE_ENV!=="production"){const m=r.reference;m&&!Te(m)&&b5("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[c,u]=K.useState(r.reference),d=Mc((m,g,x)=>{o.current.openEvent=m?g:void 0,i.emit("openchange",{open:m,event:g,reason:x,nested:l}),n?.(m,g,x)}),f=K.useMemo(()=>({setPositionReference:u}),[]),h=K.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return K.useMemo(()=>({dataRef:o,open:t,onOpenChange:d,elements:h,events:i,floatingId:s,refs:f}),[t,d,h,i,s,f])}function S5(e){e===void 0&&(e={});const{nodeId:t}=e,n=M5({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,s=r.elements,[o,i]=K.useState(null),[l,c]=K.useState(null),d=s?.domReference||o,f=K.useRef(null),h=L5();Po(()=>{d&&(f.current=d)},[d]);const m=c5({...e,elements:{...s,...l&&{reference:l}}}),g=K.useCallback(y=>{const j=Te(y)?{getBoundingClientRect:()=>y.getBoundingClientRect(),contextElement:y}:y;c(j),m.refs.setReference(j)},[m.refs]),x=K.useCallback(y=>{(Te(y)||y===null)&&(f.current=y,i(y)),(Te(m.refs.reference.current)||m.refs.reference.current===null||y!==null&&!Te(y))&&m.refs.setReference(y)},[m.refs]),v=K.useMemo(()=>({...m.refs,setReference:x,setPositionReference:g,domReference:f}),[m.refs,x,g]),b=K.useMemo(()=>({...m.elements,domReference:d}),[m.elements,d]),C=K.useMemo(()=>({...m,...r,refs:v,elements:b,nodeId:t}),[m,v,b,t,r]);return Po(()=>{r.dataRef.current.floatingContext=C;const y=h?.nodesRef.current.find(j=>j.id===t);y&&(y.context=C)}),K.useMemo(()=>({...m,context:C,refs:v,elements:b}),[m,v,b,C])}const Dc="active",Pc="selected";function Ao(e,t,n){const r=new Map,s=n==="item";let o=e;if(s&&e){const{[Dc]:i,[Pc]:l,...c}=e;o=c}return{...n==="floating"&&{tabIndex:-1,[E5]:""},...o,...t.map(i=>{const l=i?i[n]:null;return typeof l=="function"?e?l(e):null:l}).concat(e).reduce((i,l)=>(l&&Object.entries(l).forEach(c=>{let[u,d]=c;if(!(s&&[Dc,Pc].includes(u)))if(u.indexOf("on")===0){if(r.has(u)||r.set(u,[]),typeof d=="function"){var f;(f=r.get(u))==null||f.push(d),i[u]=function(){for(var h,m=arguments.length,g=new Array(m),x=0;x<m;x++)g[x]=arguments[x];return(h=r.get(u))==null?void 0:h.map(v=>v(...g)).find(v=>v!==void 0)}}}else i[u]=d}),i),{})}}function T5(e){e===void 0&&(e=[]);const t=e.map(l=>l?.reference),n=e.map(l=>l?.floating),r=e.map(l=>l?.item),s=K.useCallback(l=>Ao(l,e,"reference"),t),o=K.useCallback(l=>Ao(l,e,"floating"),n),i=K.useCallback(l=>Ao(l,e,"item"),r);return K.useMemo(()=>({getReferenceProps:s,getFloatingProps:o,getItemProps:i}),[s,o,i])}function Ac(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const D5=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:s,offset:o=0,index:i=0,minItemsVisible:l=4,referenceOverflowThreshold:c=0,scrollRef:u,...d}=En(e,t),{rects:f,elements:{floating:h}}=t,m=n.current[i],g=u?.current||h,x=h.clientTop||g.clientTop,v=h.clientTop!==0,b=g.clientTop!==0,C=h===g;if(process.env.NODE_ENV!=="production"&&(t.placement.startsWith("bottom")||v5('`placement` side must be "bottom" when using the `inner`',"middleware.")),!m)return{};const y={...t,...await Lc(-m.offsetTop-h.clientTop-f.reference.height/2-m.offsetHeight/2-o).fn(t)},j=await To(Ac(y,g.scrollHeight+x+h.clientTop),d),w=await To(y,{...d,elementContext:"reference"}),L=De(0,j.top),T=y.y+L,V=(g.scrollHeight>g.clientHeight?O=>O:er)(De(0,g.scrollHeight+(v&&C||b?x*2:0)-L-De(0,j.bottom)));if(g.style.maxHeight=V+"px",g.scrollTop=L,s){const O=g.offsetHeight<m.offsetHeight*Xt(l,n.current.length)-1||w.top>=-c||w.bottom>=-c;Sr.flushSync(()=>s(O))}return r&&(r.current=await To(Ac({...y,y:T},g.offsetHeight+x+h.clientTop),d)),{y:T}}});function P5(e,t){const{open:n,elements:r}=e,{enabled:s=!0,overflowRef:o,scrollRef:i,onChange:l}=t,c=Mc(l),u=K.useRef(!1),d=K.useRef(null),f=K.useRef(null);K.useEffect(()=>{if(!s)return;function m(x){if(x.ctrlKey||!g||o.current==null)return;const v=x.deltaY,b=o.current.top>=-.5,C=o.current.bottom>=-.5,y=g.scrollHeight-g.clientHeight,j=v<0?-1:1,w=v<0?"max":"min";g.scrollHeight<=g.clientHeight||(!b&&v>0||!C&&v<0?(x.preventDefault(),Sr.flushSync(()=>{c(L=>L+Math[w](v,y*j))})):/firefox/i.test(bh())&&(g.scrollTop+=v))}const g=i?.current||r.floating;if(n&&g)return g.addEventListener("wheel",m),requestAnimationFrame(()=>{d.current=g.scrollTop,o.current!=null&&(f.current={...o.current})}),()=>{d.current=null,f.current=null,g.removeEventListener("wheel",m)}},[s,n,r.floating,o,i,c]);const h=K.useMemo(()=>({onKeyDown(){u.current=!0},onWheel(){u.current=!1},onPointerMove(){u.current=!1},onScroll(){const m=i?.current||r.floating;if(!(!o.current||!m||!u.current)){if(d.current!==null){const g=m.scrollTop-d.current;(o.current.bottom<-.5&&g<-1||o.current.top<-.5&&g>1)&&Sr.flushSync(()=>c(x=>x+g))}requestAnimationFrame(()=>{d.current=m.scrollTop})}}}),[r.floating,c,o,i]);return K.useMemo(()=>s?{floating:h}:{},[s,h])}let rr=p.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});rr.displayName="FloatingContext";let Ro=p.createContext(null);Ro.displayName="PlacementContext";function A5(e){return p.useMemo(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function R5(){return p.useContext(rr).setReference}function N5(){let{getFloatingProps:e,slot:t}=p.useContext(rr);return p.useCallback((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function F5(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=p.useContext(Ro),n=p.useMemo(()=>e,[JSON.stringify(e,(s,o)=>{var i;return(i=o?.outerHTML)!=null?i:o})]);Ae(()=>{t?.(n??null)},[t,n]);let r=p.useContext(rr);return p.useMemo(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}let Rc=4;function V5({children:e,enabled:t=!0}){let[n,r]=p.useState(null),[s,o]=p.useState(0),i=p.useRef(null),[l,c]=p.useState(null);$5(l);let u=t&&n!==null&&l!==null,{to:d="bottom",gap:f=0,offset:h=0,padding:m=0,inner:g}=O5(n,l),[x,v="center"]=d.split(" ");Ae(()=>{u&&o(0)},[u]);let{refs:b,floatingStyles:C,context:y}=S5({open:u,placement:x==="selection"?v==="center"?"bottom":`bottom-${v}`:v==="center"?`${x}`:`${x}-${v}`,strategy:"absolute",transform:!1,middleware:[Lc({mainAxis:x==="selection"?0:f,crossAxis:h}),u5({padding:m}),x!=="selection"&&d5({padding:m}),x==="selection"&&g?D5({...g,padding:m,overflowRef:i,offset:s,minItemsVisible:Rc,referenceOverflowThreshold:m,onFallbackChange(O){var z,U;if(!O)return;let P=y.elements.floating;if(!P)return;let F=parseFloat(getComputedStyle(P).scrollPaddingBottom)||0,E=Math.min(Rc,P.childElementCount),D=0,M=0;for(let $ of(U=(z=y.elements.floating)==null?void 0:z.childNodes)!=null?U:[])if(Ct($)){let N=$.offsetTop,H=N+$.clientHeight+F,Y=P.scrollTop,_=Y+P.clientHeight;if(N>=Y&&H<=_)E--;else{M=Math.max(0,Math.min(H,_)-Math.max(N,Y)),D=$.clientHeight;break}}E>=1&&o($=>{let N=D*E-M+F;return $>=N?$:N})}}):null,f5({padding:m,apply({availableWidth:O,availableHeight:z,elements:U}){Object.assign(U.floating.style,{overflow:"auto",maxWidth:`${O}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${z}px)`})}})].filter(Boolean),whileElementsMounted:t5}),[j=x,w=v]=y.placement.split("-");x==="selection"&&(j="selection");let L=p.useMemo(()=>({anchor:[j,w].filter(Boolean).join(" ")}),[j,w]),T=P5(y,{overflowRef:i,onChange:o}),{getReferenceProps:A,getFloatingProps:I}=T5([T]),V=oe(O=>{c(O),b.setFloating(O)});return K.createElement(Ro.Provider,{value:r},K.createElement(rr.Provider,{value:{setFloating:V,setReference:b.setReference,styles:C,getReferenceProps:A,getFloatingProps:I,slot:L}},e))}function $5(e){Ae(()=>{if(!e)return;let t=new MutationObserver(()=>{let n=window.getComputedStyle(e).maxHeight,r=parseFloat(n);if(isNaN(r))return;let s=parseInt(n);isNaN(s)||r!==s&&(e.style.maxHeight=`${Math.ceil(r)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function O5(e,t){var n,r,s;let o=No((n=e?.gap)!=null?n:"var(--anchor-gap, 0)",t),i=No((r=e?.offset)!=null?r:"var(--anchor-offset, 0)",t),l=No((s=e?.padding)!=null?s:"var(--anchor-padding, 0)",t);return{...e,gap:o,offset:i,padding:l}}function No(e,t,n=void 0){let r=Yr(),s=oe((c,u)=>{if(c==null)return[n,null];if(typeof c=="number")return[c,null];if(typeof c=="string"){if(!u)return[n,null];let d=Fc(c,u);return[d,f=>{let h=Nc(c);{let m=h.map(g=>window.getComputedStyle(u).getPropertyValue(g));r.requestAnimationFrame(function g(){r.nextFrame(g);let x=!1;for(let[b,C]of h.entries()){let y=window.getComputedStyle(u).getPropertyValue(C);if(m[b]!==y){m[b]=y,x=!0;break}}if(!x)return;let v=Fc(c,u);d!==v&&(f(v),d=v)})}return r.dispose}]}return[n,null]}),o=p.useMemo(()=>s(e,t)[0],[e,t]),[i=o,l]=p.useState();return Ae(()=>{let[c,u]=s(e,t);if(l(c),!!u)return u(l)},[e,t]),i}function Nc(e){let t=/var\((.*)\)/.exec(e);if(t){let n=t[1].indexOf(",");if(n===-1)return[t[1]];let r=t[1].slice(0,n).trim(),s=t[1].slice(n+1).trim();return s?[r,...Nc(s)]:[r]}return[]}function Fc(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}let cs=p.createContext(null);cs.displayName="OpenClosedContext";var Qt=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(Qt||{});function Vc(){return p.useContext(cs)}function _5({value:e,children:t}){return p.createElement(cs.Provider,{value:e},t)}function B5({children:e}){return p.createElement(cs.Provider,{value:null},e)}function $c(e){let t=oe(e),n=p.useRef(!1);p.useEffect(()=>(n.current=!1,()=>{n.current=!0,ho(()=>{n.current&&t()})}),[t])}let I5=p.createContext(!1);function H5(){return p.useContext(I5)}function W5(e){let t=H5(),n=p.useContext(_c),[r,s]=p.useState(()=>{var o;if(!t&&n!==null)return(o=n.current)!=null?o:null;if(Zt.isServer)return null;let i=e?.getElementById("headlessui-portal-root");if(i)return i;if(e===null)return null;let l=e.createElement("div");return l.setAttribute("id","headlessui-portal-root"),e.body.appendChild(l)});return p.useEffect(()=>{r!==null&&(e!=null&&e.body.contains(r)||e==null||e.body.appendChild(r))},[r,e]),p.useEffect(()=>{t||n!==null&&s(n.current)},[n,s,t]),r}let Oc=p.Fragment,Z5=Ne(function(e,t){let{ownerDocument:n=null,...r}=e,s=p.useRef(null),o=Be(Nl(h=>{s.current=h}),t),i=wo(s.current),l=n??i,c=W5(l),u=p.useContext(Fo),d=Yr(),f=_e();return $c(()=>{var h;c&&c.childNodes.length<=0&&((h=c.parentElement)==null||h.removeChild(c))}),c?_s.createPortal(p.createElement("div",{"data-headlessui-portal":"",ref:h=>{d.dispose(),u&&h&&d.add(u.register(h))}},f({ourProps:{ref:o},theirProps:r,slot:{},defaultTag:Oc,name:"Portal"})),c):null});function U5(e,t){let n=Be(t),{enabled:r=!0,ownerDocument:s,...o}=e,i=_e();return r?p.createElement(Z5,{...o,ownerDocument:s,ref:n}):i({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:Oc,name:"Portal"})}let z5=p.Fragment,_c=p.createContext(null);function K5(e,t){let{target:n,...r}=e,s={ref:Be(t)},o=_e();return p.createElement(_c.Provider,{value:n},o({ourProps:s,theirProps:r,defaultTag:z5,name:"Popover.Group"}))}let Fo=p.createContext(null);function Y5(){let e=p.useContext(Fo),t=p.useRef([]),n=oe(o=>(t.current.push(o),e&&e.register(o),()=>r(o))),r=oe(o=>{let i=t.current.indexOf(o);i!==-1&&t.current.splice(i,1),e&&e.unregister(o)}),s=p.useMemo(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,p.useMemo(()=>function({children:o}){return p.createElement(Fo.Provider,{value:s},o)},[s])]}let G5=Ne(U5),q5=Ne(K5),X5=Object.assign(G5,{Group:q5});function J5({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let r=oe(()=>{var s,o;let i=yn(n),l=[];for(let c of e)c!==null&&(Yt(c)?l.push(c):"current"in c&&Yt(c.current)&&l.push(c.current));if(t!=null&&t.current)for(let c of t.current)l.push(c);for(let c of(s=i?.querySelectorAll("html > *, body > *"))!=null?s:[])c!==document.body&&c!==document.head&&Yt(c)&&c.id!=="headlessui-portal-root"&&(n&&(c.contains(n)||c.contains((o=n?.getRootNode())==null?void 0:o.host))||l.some(u=>c.contains(u))||l.push(c));return l});return{resolveContainers:r,contains:oe(s=>r().some(o=>o.contains(s)))}}let Bc=p.createContext(null);function Ic({children:e,node:t}){let[n,r]=p.useState(null),s=Hc(t??n);return p.createElement(Bc.Provider,{value:s},e,s===null&&p.createElement(Cn,{features:bn.Hidden,ref:o=>{var i,l;if(o){for(let c of(l=(i=yn(o))==null?void 0:i.querySelectorAll("html > *, body > *"))!=null?l:[])if(c!==document.body&&c!==document.head&&Yt(c)&&c!=null&&c.contains(o)){r(c);break}}}}))}function Hc(e=null){var t;return(t=p.useContext(Bc))!=null?t:e}function Q5(){let e=p.useRef(!1);return Ae(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var kt=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(kt||{});function Wc(){let e=p.useRef(0);return ql(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}var e9=Object.defineProperty,t9=(e,t,n)=>t in e?e9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Zc=(e,t,n)=>(t9(e,typeof t!="symbol"?t+"":t,n),n),be=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(be||{}),n9=(e=>(e[e.OpenPopover=0]="OpenPopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId",e))(n9||{});let r9={0:e=>e.popoverState===0?e:{...e,popoverState:0,__demoMode:!1},1(e){return e.popoverState===1?e:{...e,popoverState:1,__demoMode:!1}},2(e,t){return e.button===t.button?e:{...e,button:t.button}},3(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},4(e,t){return e.panel===t.panel?e:{...e,panel:t.panel}},5(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},s9=class y0 extends Bl{constructor(t){super(t),Zc(this,"actions",{close:()=>this.send({type:1}),refocusableClose:n=>{this.actions.close();let r=(()=>n?Ct(n)?n:"current"in n&&Ct(n.current)?n.current:this.state.button:this.state.button)();r?.focus()},open:()=>this.send({type:0}),setButtonId:n=>this.send({type:3,buttonId:n}),setButton:n=>this.send({type:2,button:n}),setPanelId:n=>this.send({type:5,panelId:n}),setPanel:n=>this.send({type:4,panel:n})}),Zc(this,"selectors",{isPortalled:n=>{var r;if(!n.button||!n.panel)return!1;let s=(r=yn(n.button))!=null?r:document;for(let f of s.querySelectorAll("body > *"))if(Number(f?.contains(n.button))^Number(f?.contains(n.panel)))return!0;let o=Xr(s),i=o.indexOf(n.button),l=(i+o.length-1)%o.length,c=(i+1)%o.length,u=o[l],d=o[c];return!n.panel.contains(u)&&!n.panel.contains(d)}});{let n=this.state.id,r=Zl.get(null);this.on(0,()=>r.actions.push(n)),this.on(1,()=>r.actions.pop(n))}}static new({id:t,__demoMode:n=!1}){return new y0({id:t,__demoMode:n,popoverState:n?0:1,buttons:{current:[]},button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:{current:null},afterPanelSentinel:{current:null},afterButtonSentinel:{current:null}})}reduce(t,n){return Re(n.type,r9,t,n)}};const Uc=p.createContext(null);function us(e){let t=p.useContext(Uc);if(t===null){let n=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,us),n}return t}function o9({id:e,__demoMode:t=!1}){let n=p.useMemo(()=>s9.new({id:e,__demoMode:t}),[]);return $c(()=>n.dispose()),n}let Vo=p.createContext(null);Vo.displayName="PopoverGroupContext";function zc(){return p.useContext(Vo)}let ds=p.createContext(null);ds.displayName="PopoverPanelContext";function i9(){return p.useContext(ds)}let a9="div";function l9(e,t){var n;let r=p.useId(),{__demoMode:s=!1,...o}=e,i=o9({id:r,__demoMode:s}),l=p.useRef(null),c=Be(t,Nl(P=>{l.current=P})),[u,d,f,h,m]=Gt(i,p.useCallback(P=>[P.popoverState,P.button,P.panel,P.buttonId,P.panelId],[])),g=q3((n=l.current)!=null?n:d),x=Ge(h),v=Ge(m),b=p.useMemo(()=>({buttonId:x,panelId:v,close:i.actions.close}),[x,v,i]),C=zc(),y=C?.registerPopover,j=oe(()=>{var P,F;let E=zt((P=l.current)!=null?P:d);return(F=C?.isFocusWithinPopoverGroup())!=null?F:E&&(d?.contains(E)||f?.contains(E))});p.useEffect(()=>y?.(b),[y,b]);let[w,L]=Y5(),T=Hc(d),A=J5({mainTreeNode:T,portals:w,defaultContainers:[{get current(){return i.state.button}},{get current(){return i.state.panel}}]});X3(g,"focus",P=>{var F,E,D,M,$,N;P.target!==window&&wn(P.target)&&i.state.popoverState===be.Open&&(j()||i.state.button&&i.state.panel&&(A.contains(P.target)||(E=(F=i.state.beforePanelSentinel.current)==null?void 0:F.contains)!=null&&E.call(F,P.target)||(M=(D=i.state.afterPanelSentinel.current)==null?void 0:D.contains)!=null&&M.call(D,P.target)||(N=($=i.state.afterButtonSentinel.current)==null?void 0:$.contains)!=null&&N.call($,P.target)||i.actions.close()))},!0);let I=u===be.Open;G3(I,A.resolveContainers,(P,F)=>{i.actions.close(),Kl(F,Co.Loose)||(P.preventDefault(),d?.focus())});let V=ft({open:u===be.Open,close:i.actions.refocusableClose}),O=Gt(i,p.useCallback(P=>Re(P.popoverState,{[be.Open]:Qt.Open,[be.Closed]:Qt.Closed}),[])),z={ref:c},U=_e();return p.createElement(Ic,{node:T},p.createElement(V5,null,p.createElement(ds.Provider,{value:null},p.createElement(Uc.Provider,{value:i},p.createElement(Fl,{value:i.actions.refocusableClose},p.createElement(_5,{value:O},p.createElement(L,null,U({ourProps:z,theirProps:o,slot:V,defaultTag:a9,name:"Popover"}))))))))}let c9="button";function u9(e,t){let n=p.useId(),{id:r=`headlessui-popover-button-${n}`,disabled:s=!1,autoFocus:o=!1,...i}=e,l=us("Popover.Button"),[c,u,d,f,h,m,g]=Gt(l,p.useCallback(R=>[R.popoverState,l.selectors.isPortalled(R),R.button,R.buttonId,R.panel,R.panelId,R.afterButtonSentinel],[])),x=p.useRef(null),v=`headlessui-focus-sentinel-${p.useId()}`,b=zc(),C=b?.closeOthers,y=i9()!==null;p.useEffect(()=>{if(!y)return l.actions.setButtonId(r),()=>l.actions.setButtonId(null)},[y,r,l]);let[j]=p.useState(()=>Symbol()),w=Be(x,t,R5(),oe(R=>{if(!y){if(R)l.state.buttons.current.push(j);else{let B=l.state.buttons.current.indexOf(j);B!==-1&&l.state.buttons.current.splice(B,1)}l.state.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),R&&l.actions.setButton(R)}})),L=Be(x,t),T=oe(R=>{var B,Q,ne;if(y){if(l.state.popoverState===be.Closed)return;switch(R.key){case je.Space:case je.Enter:R.preventDefault(),(Q=(B=R.target).click)==null||Q.call(B),l.actions.close(),(ne=l.state.button)==null||ne.focus();break}}else switch(R.key){case je.Space:case je.Enter:R.preventDefault(),R.stopPropagation(),l.state.popoverState===be.Closed?(C?.(l.state.buttonId),l.actions.open()):l.actions.close();break;case je.Escape:if(l.state.popoverState!==be.Open)return C?.(l.state.buttonId);if(!x.current)return;let G=zt(x.current);if(G&&!x.current.contains(G))return;R.preventDefault(),R.stopPropagation(),l.actions.close();break}}),A=oe(R=>{y||R.key===je.Space&&R.preventDefault()}),I=oe(R=>{var B,Q;Al(R.currentTarget)||s||(y?(l.actions.close(),(B=l.state.button)==null||B.focus()):(R.preventDefault(),R.stopPropagation(),l.state.popoverState===be.Closed?(C?.(l.state.buttonId),l.actions.open()):l.actions.close(),(Q=l.state.button)==null||Q.focus()))}),V=oe(R=>{R.preventDefault(),R.stopPropagation()}),{isFocusVisible:O,focusProps:z}=uo({autoFocus:o}),{isHovered:U,hoverProps:P}=Ml({isDisabled:s}),{pressed:F,pressProps:E}=Sl({disabled:s}),D=c===be.Open,M=ft({open:D,active:F||D,disabled:s,hover:U,focus:O,autofocus:o}),$=Jl(e,d),N=Gn(y?{ref:L,type:$,onKeyDown:T,onClick:I,disabled:s||void 0,autoFocus:o}:{ref:w,id:f,type:$,"aria-expanded":c===be.Open,"aria-controls":h?m:void 0,disabled:s||void 0,autoFocus:o,onKeyDown:T,onKeyUp:A,onClick:I,onMouseDown:V},z,P,E),H=Wc(),Y=oe(()=>{if(!Ct(l.state.panel))return;let R=l.state.panel;function B(){Re(H.current,{[kt.Forwards]:()=>Ue(R,we.First),[kt.Backwards]:()=>Ue(R,we.Last)})===Dt.Error&&Ue(Xr(Ut(l.state.button)).filter(Q=>Q.dataset.headlessuiFocusGuard!=="true"),Re(H.current,{[kt.Forwards]:we.Next,[kt.Backwards]:we.Previous}),{relativeTo:l.state.button})}B()}),_=_e();return p.createElement(p.Fragment,null,_({ourProps:N,theirProps:i,slot:M,defaultTag:c9,name:"Popover.Button"}),D&&!y&&u&&p.createElement(Cn,{id:v,ref:g,features:bn.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:Y}))}let d9="div",f9=Kt.RenderStrategy|Kt.Static;function Kc(e,t){let n=p.useId(),{id:r=`headlessui-popover-backdrop-${n}`,transition:s=!1,...o}=e,i=us("Popover.Backdrop"),l=Gt(i,p.useCallback(b=>b.popoverState,[])),[c,u]=p.useState(null),d=Be(t,u),f=Vc(),[h,m]=rc(s,c,f!==null?(f&Qt.Open)===Qt.Open:l===be.Open),g=oe(b=>{if(Al(b.currentTarget))return b.preventDefault();i.actions.close()}),x=ft({open:l===be.Open}),v={ref:d,id:r,"aria-hidden":!0,onClick:g,...nc(m)};return _e()({ourProps:v,theirProps:o,slot:x,defaultTag:d9,features:f9,visible:h,name:"Popover.Backdrop"})}let h9="div",p9=Kt.RenderStrategy|Kt.Static;function m9(e,t){let n=p.useId(),{id:r=`headlessui-popover-panel-${n}`,focus:s=!1,anchor:o,portal:i=!1,modal:l=!1,transition:c=!1,...u}=e,d=us("Popover.Panel"),f=Gt(d,d.selectors.isPortalled),[h,m,g,x,v]=Gt(d,p.useCallback(_=>[_.popoverState,_.button,_.__demoMode,_.beforePanelSentinel,_.afterPanelSentinel],[])),b=`headlessui-focus-sentinel-before-${n}`,C=`headlessui-focus-sentinel-after-${n}`,y=p.useRef(null),j=A5(o),[w,L]=F5(j),T=N5();j&&(i=!0);let[A,I]=p.useState(null),V=Be(y,t,j?w:null,d.actions.setPanel,I),O=wo(m),z=wo(y.current);Ae(()=>(d.actions.setPanelId(r),()=>d.actions.setPanelId(null)),[r,d]);let U=Vc(),[P,F]=rc(c,A,U!==null?(U&Qt.Open)===Qt.Open:h===be.Open);I3(P,m,d.actions.close),sh(g?!1:l&&P,z);let E=oe(_=>{var R;switch(_.key){case je.Escape:if(d.state.popoverState!==be.Open||!y.current)return;let B=zt(y.current);if(B&&!y.current.contains(B))return;_.preventDefault(),_.stopPropagation(),d.actions.close(),(R=d.state.button)==null||R.focus();break}});p.useEffect(()=>{var _;e.static||h===be.Closed&&((_=e.unmount)==null||_)&&d.actions.setPanel(null)},[h,e.unmount,e.static,d]),p.useEffect(()=>{if(g||!s||h!==be.Open||!y.current)return;let _=zt(y.current);y.current.contains(_)||Ue(y.current,we.First)},[g,s,y.current,h]);let D=ft({open:h===be.Open,close:d.actions.refocusableClose}),M=Gn(j?T():{},{ref:V,id:r,onKeyDown:E,onBlur:s&&h===be.Open?_=>{var R,B,Q,ne,G;let se=_.relatedTarget;se&&y.current&&((R=y.current)!=null&&R.contains(se)||(d.actions.close(),((Q=(B=x.current)==null?void 0:B.contains)!=null&&Q.call(B,se)||(G=(ne=v.current)==null?void 0:ne.contains)!=null&&G.call(ne,se))&&se.focus({preventScroll:!0})))}:void 0,tabIndex:-1,style:{...u.style,...L,"--button-width":M3(P,m,!0).width},...nc(F)}),$=Wc(),N=oe(()=>{let _=y.current;if(!_)return;function R(){Re($.current,{[kt.Forwards]:()=>{var B;Ue(_,we.First)===Dt.Error&&((B=d.state.afterPanelSentinel.current)==null||B.focus())},[kt.Backwards]:()=>{var B;(B=d.state.button)==null||B.focus({preventScroll:!0})}})}R()}),H=oe(()=>{let _=y.current;if(!_)return;function R(){Re($.current,{[kt.Forwards]:()=>{var B;if(!d.state.button)return;let Q=(B=Ut(d.state.button))!=null?B:document.body,ne=Xr(Q),G=ne.indexOf(d.state.button),se=ne.slice(0,G+1),re=[...ne.slice(G+1),...se];for(let ae of re.slice())if(ae.dataset.headlessuiFocusGuard==="true"||A!=null&&A.contains(ae)){let J=re.indexOf(ae);J!==-1&&re.splice(J,1)}Ue(re,we.First,{sorted:!1})},[kt.Backwards]:()=>{var B;Ue(_,we.Previous)===Dt.Error&&((B=d.state.button)==null||B.focus())}})}R()}),Y=_e();return p.createElement(B5,null,p.createElement(ds.Provider,{value:r},p.createElement(Fl,{value:d.actions.refocusableClose},p.createElement(X5,{enabled:i?e.static||P:!1,ownerDocument:O},P&&f&&p.createElement(Cn,{id:b,ref:x,features:bn.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:N}),Y({ourProps:M,theirProps:u,slot:D,defaultTag:h9,features:p9,visible:P,name:"Popover.Panel"}),P&&f&&p.createElement(Cn,{id:C,ref:v,features:bn.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:H})))))}let g9="div";function x9(e,t){let n=p.useRef(null),r=Be(n,t),[s,o]=p.useState([]),i=oe(x=>{o(v=>{let b=v.indexOf(x);if(b!==-1){let C=v.slice();return C.splice(b,1),C}return v})}),l=oe(x=>(o(v=>[...v,x]),()=>i(x))),c=oe(()=>{var x;let v=Ut(n.current);if(!v)return!1;let b=zt(n.current);return(x=n.current)!=null&&x.contains(b)?!0:s.some(C=>{var y,j;return((y=v.getElementById(C.buttonId.current))==null?void 0:y.contains(b))||((j=v.getElementById(C.panelId.current))==null?void 0:j.contains(b))})}),u=oe(x=>{for(let v of s)v.buttonId.current!==x&&v.close()}),d=p.useMemo(()=>({registerPopover:l,unregisterPopover:i,isFocusWithinPopoverGroup:c,closeOthers:u}),[l,i,c,u]),f=ft({}),h=e,m={ref:r},g=_e();return p.createElement(Ic,null,p.createElement(Vo.Provider,{value:d},g({ourProps:m,theirProps:h,slot:f,defaultTag:g9,name:"Popover.Group"})))}let y9=Ne(l9),Yc=Ne(u9),v9=Ne(Kc),b9=Ne(Kc),Gc=Ne(m9),C9=Ne(x9),w9=Object.assign(y9,{Button:Yc,Backdrop:b9,Overlay:v9,Panel:Gc,Group:C9});function k9({onFocus:e}){let[t,n]=p.useState(!0),r=Q5();return t?p.createElement(Cn,{as:"button",type:"button",features:bn.Focusable,onFocus:s=>{s.preventDefault();let o,i=50;function l(){if(i--<=0){o&&cancelAnimationFrame(o);return}if(e()){if(cancelAnimationFrame(o),!r.current)return;n(!1);return}o=requestAnimationFrame(l)}o=requestAnimationFrame(l)}}):null}const qc=K.createContext(null);function j9(){return{groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let s=(n=r.get(t))!=null?n:0;r.set(t,s+1);let o=Array.from(r.keys()).indexOf(t);function i(){let l=r.get(t);l>1?r.set(t,l-1):r.delete(t)}return[o,i]}}}function L9({children:e}){let t=K.useRef(j9());return K.createElement(qc.Provider,{value:t},e)}function Xc(e){let t=K.useContext(qc);if(!t)throw new Error("You must wrap your component in a <StableCollection>");let n=K.useId(),[r,s]=t.current.get(e,n);return K.useEffect(()=>s,[]),r}var E9=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(E9||{}),M9=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(M9||{}),S9=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(S9||{});let T9={0(e,t){var n;let r=kn(e.tabs,d=>d.current),s=kn(e.panels,d=>d.current),o=r.filter(d=>{var f;return!((f=d.current)!=null&&f.hasAttribute("disabled"))}),i={...e,tabs:r,panels:s};if(t.index<0||t.index>r.length-1){let d=Re(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>Re(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(o.length===0)return i;let f=Re(d,{0:()=>r.indexOf(o[0]),1:()=>r.indexOf(o[o.length-1])});return{...i,selectedIndex:f===-1?e.selectedIndex:f}}let l=r.slice(0,t.index),c=[...r.slice(t.index),...l].find(d=>o.includes(d));if(!c)return i;let u=(n=r.indexOf(c))!=null?n:e.selectedIndex;return u===-1&&(u=e.selectedIndex),{...i,selectedIndex:u}},1(e,t){if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],r=kn([...e.tabs,t.tab],o=>o.current),s=e.selectedIndex;return e.info.current.isControlled||(s=r.indexOf(n),s===-1&&(s=e.selectedIndex)),{...e,tabs:r,selectedIndex:s}},2(e,t){return{...e,tabs:e.tabs.filter(n=>n!==t.tab)}},3(e,t){return e.panels.includes(t.panel)?e:{...e,panels:kn([...e.panels,t.panel],n=>n.current)}},4(e,t){return{...e,panels:e.panels.filter(n=>n!==t.panel)}}},$o=p.createContext(null);$o.displayName="TabsDataContext";function Sn(e){let t=p.useContext($o);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Sn),n}return t}let Oo=p.createContext(null);Oo.displayName="TabsActionsContext";function _o(e){let t=p.useContext(Oo);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,_o),n}return t}function D9(e,t){return Re(t.type,T9,e,t)}let P9="div";function A9(e,t){let{defaultIndex:n=0,vertical:r=!1,manual:s=!1,onChange:o,selectedIndex:i=null,...l}=e;const c=r?"vertical":"horizontal",u=s?"manual":"auto";let d=i!==null,f=Ge({isControlled:d}),h=Be(t),[m,g]=p.useReducer(D9,{info:f,selectedIndex:i??n,tabs:[],panels:[]}),x=ft({selectedIndex:m.selectedIndex}),v=Ge(o||(()=>{})),b=Ge(m.tabs),C=p.useMemo(()=>({orientation:c,activation:u,...m}),[c,u,m]),y=oe(V=>(g({type:1,tab:V}),()=>g({type:2,tab:V}))),j=oe(V=>(g({type:3,panel:V}),()=>g({type:4,panel:V}))),w=oe(V=>{L.current!==V&&v.current(V),d||g({type:0,index:V})}),L=Ge(d?e.selectedIndex:m.selectedIndex),T=p.useMemo(()=>({registerTab:y,registerPanel:j,change:w}),[]);Ae(()=>{g({type:0,index:i??n})},[i]),Ae(()=>{if(L.current===void 0||m.tabs.length<=0)return;let V=kn(m.tabs,O=>O.current);V.some((O,z)=>m.tabs[z]!==O)&&w(V.indexOf(m.tabs[L.current]))});let A={ref:h},I=_e();return p.createElement(L9,null,p.createElement(Oo.Provider,{value:T},p.createElement($o.Provider,{value:C},C.tabs.length<=0&&p.createElement(k9,{onFocus:()=>{var V,O;for(let z of b.current)if(((V=z.current)==null?void 0:V.tabIndex)===0)return(O=z.current)==null||O.focus(),!0;return!1}}),I({ourProps:A,theirProps:l,slot:x,defaultTag:P9,name:"Tabs"}))))}let R9="div";function N9(e,t){let{orientation:n,selectedIndex:r}=Sn("Tab.List"),s=Be(t),o=ft({selectedIndex:r}),i=e,l={ref:s,role:"tablist","aria-orientation":n};return _e()({ourProps:l,theirProps:i,slot:o,defaultTag:R9,name:"Tabs.List"})}let F9="button";function V9(e,t){var n,r;let s=p.useId(),{id:o=`headlessui-tabs-tab-${s}`,disabled:i=!1,autoFocus:l=!1,...c}=e,{orientation:u,activation:d,selectedIndex:f,tabs:h,panels:m}=Sn("Tab"),g=_o("Tab"),x=Sn("Tab"),[v,b]=p.useState(null),C=p.useRef(null),y=Be(C,t,b);Ae(()=>g.registerTab(C),[g,C]);let j=Xc("tabs"),w=h.indexOf(C);w===-1&&(w=j);let L=w===f,T=oe(N=>{let H=N();if(H===Dt.Success&&d==="auto"){let Y=zt(C.current),_=x.tabs.findIndex(R=>R.current===Y);_!==-1&&g.change(_)}return H}),A=oe(N=>{let H=h.map(Y=>Y.current).filter(Boolean);if(N.key===je.Space||N.key===je.Enter){N.preventDefault(),N.stopPropagation(),g.change(w);return}switch(N.key){case je.Home:case je.PageUp:return N.preventDefault(),N.stopPropagation(),T(()=>Ue(H,we.First));case je.End:case je.PageDown:return N.preventDefault(),N.stopPropagation(),T(()=>Ue(H,we.Last))}if(T(()=>Re(u,{vertical(){return N.key===je.ArrowUp?Ue(H,we.Previous|we.WrapAround):N.key===je.ArrowDown?Ue(H,we.Next|we.WrapAround):Dt.Error},horizontal(){return N.key===je.ArrowLeft?Ue(H,we.Previous|we.WrapAround):N.key===je.ArrowRight?Ue(H,we.Next|we.WrapAround):Dt.Error}}))===Dt.Success)return N.preventDefault()}),I=p.useRef(!1),V=oe(()=>{var N;I.current||(I.current=!0,(N=C.current)==null||N.focus({preventScroll:!0}),g.change(w),ho(()=>{I.current=!1}))}),O=oe(N=>{N.preventDefault()}),{isFocusVisible:z,focusProps:U}=uo({autoFocus:l}),{isHovered:P,hoverProps:F}=Ml({isDisabled:i}),{pressed:E,pressProps:D}=Sl({disabled:i}),M=ft({selected:L,hover:P,active:E,focus:z,autofocus:l,disabled:i}),$=Gn({ref:y,onKeyDown:A,onMouseDown:O,onClick:V,id:o,role:"tab",type:Jl(e,v),"aria-controls":(r=(n=m[w])==null?void 0:n.current)==null?void 0:r.id,"aria-selected":L,tabIndex:L?0:-1,disabled:i||void 0,autoFocus:l},U,F,D);return _e()({ourProps:$,theirProps:c,slot:M,defaultTag:F9,name:"Tabs.Tab"})}let $9="div";function O9(e,t){let{selectedIndex:n}=Sn("Tab.Panels"),r=Be(t),s=ft({selectedIndex:n}),o=e,i={ref:r};return _e()({ourProps:i,theirProps:o,slot:s,defaultTag:$9,name:"Tabs.Panels"})}let _9="div",B9=Kt.RenderStrategy|Kt.Static;function I9(e,t){var n,r,s,o;let i=p.useId(),{id:l=`headlessui-tabs-panel-${i}`,tabIndex:c=0,...u}=e,{selectedIndex:d,tabs:f,panels:h}=Sn("Tab.Panel"),m=_o("Tab.Panel"),g=p.useRef(null),x=Be(g,t);Ae(()=>m.registerPanel(g),[m,g]);let v=Xc("panels"),b=h.indexOf(g);b===-1&&(b=v);let C=b===d,{isFocusVisible:y,focusProps:j}=uo(),w=ft({selected:C,focus:y}),L=Gn({ref:x,id:l,role:"tabpanel","aria-labelledby":(r=(n=f[b])==null?void 0:n.current)==null?void 0:r.id,tabIndex:C?c:-1},j),T=_e();return!C&&((s=u.unmount)==null||s)&&!((o=u.static)!=null&&o)?p.createElement(Cn,{"aria-hidden":"true",...L}):T({ourProps:L,theirProps:u,slot:w,defaultTag:_9,features:B9,visible:C,name:"Tabs.Panel"})}let H9=Ne(V9),Jc=Ne(A9),Qc=Ne(N9),e1=Ne(O9),t1=Ne(I9),W9=Object.assign(H9,{Group:Jc,List:Qc,Panels:e1,Panel:t1});const fs=e=>a.jsx(Jc,{...e,children:e.children}),hs=({children:e,className:t})=>a.jsx(Qc,{className:t,children:e}),sr=({children:e,className:t,disabled:n,onClick:r,...s})=>a.jsx(W9,{onClick:r,className:t,disabled:!!n,...s,children:e}),ps=({children:e,className:t=""})=>a.jsx(e1,{className:t,children:e}),Tn=({children:e,className:t=""})=>a.jsx(t1,{className:t,children:e});var Bo={exports:{}},Z9={AED:"\u062F.\u0625",AFN:"\u060B",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"$",AUD:"$",AWG:"\u0192",AZN:"\u20BC",BAM:"KM",BBD:"$",BDT:"\u09F3",BGN:"\u043B\u0432",BHD:".\u062F.\u0628",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BOV:"BOV",BRL:"R$",BSD:"$",BTC:"\u20BF",BTN:"Nu.",BWP:"P",BYN:"Br",BYR:"Br",BZD:"BZ$",CAD:"$",CDF:"FC",CHE:"CHE",CHF:"CHF",CHW:"CHW",CLF:"CLF",CLP:"$",CNH:"\xA5",CNY:"\xA5",COP:"$",COU:"COU",CRC:"\u20A1",CUC:"$",CUP:"\u20B1",CVE:"$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"\u062F\u062C",EEK:"kr",EGP:"\xA3",ERN:"Nfk",ETB:"Br",ETH:"\u039E",EUR:"\u20AC",FJD:"$",FKP:"\xA3",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHC:"\u20B5",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"\u20B9",IQD:"\u0639.\u062F",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u043B\u0432",KHR:"\u17DB",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"$",KZT:"\u20B8",LAK:"\u20AD",LBP:"\xA3",LKR:"\u20A8",LRD:"$",LSL:"M",LTC:"\u0141",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"\u0434\u0435\u043D",MMK:"K",MNT:"\u20AE",MOP:"MOP$",MRO:"UM",MRU:"UM",MUR:"\u20A8",MVR:"Rf",MWK:"MK",MXN:"$",MXV:"MXV",MYR:"RM",MZN:"MT",NAD:"$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"\u20A8",NZD:"$",OMR:"\uFDFC",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"\u20A8",PLN:"z\u0142",PYG:"Gs",QAR:"\uFDFC",RMB:"\uFFE5",RON:"lei",RSD:"\u0414\u0438\u043D.",RUB:"\u20BD",RWF:"R\u20A3",SAR:"\uFDFC",SBD:"$",SCR:"\u20A8",SDG:"\u062C.\u0633.",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SOS:"S",SRD:"$",SSP:"\xA3",STD:"Db",STN:"Db",SVC:"$",SYP:"\xA3",SZL:"E",THB:"\u0E3F",TJS:"SM",TMT:"T",TND:"\u062F.\u062A",TOP:"T$",TRL:"\u20A4",TRY:"\u20BA",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYI:"UYI",UYU:"$U",UYW:"UYW",UZS:"\u043B\u0432",VEF:"Bs",VES:"Bs.S",VND:"\u20AB",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"\u0243",XCD:"$",XOF:"CFA",XPF:"\u20A3",XSU:"Sucre",XUA:"XUA",YER:"\uFDFC",ZAR:"R",ZMW:"ZK",ZWD:"Z$",ZWL:"$"};const Io=Z9;Bo.exports=function(t){if(typeof t!="string")return;const n=t.toUpperCase();if(Object.prototype.hasOwnProperty.call(Io,n))return Io[n]},Bo.exports.currencySymbolMap=Io;var U9=Bo.exports,z9=Tr(U9);const Ho={"xx-small":"px-[6px] h-[25px]","x-small":"px-[12px] h-[36px]",small:"px-[16px] h-[40px]",medium:"px-[20px] h-[52px]",large:"px-[24px] h-[60px]"},K9={small:"max-w-[518px]",medium:"max-w-[641px]",large:"max-w-[830px]",extralarge:"max-w-[940px]"},Y9={small:"h-[20px] min-w-[20px] text-xs",medium:"h-[36px] min-w-[36px] text-sm"},Wo=(...e)=>e.filter(Boolean).join(" "),G9=e=>{const t=e?.includes("T"),n=new Date(e),r={month:"short",day:"numeric",year:"numeric"};t&&(r.hour="numeric",r.minute="2-digit",r.hour12=!0);let s=n.toLocaleString("en",r);return t&&(s=s.replace(/ AM| PM/,o=>o.toLowerCase()),s=s.replace(/,(?=\s\d{1,2}:\d{2})/,"")),s},at=e=>e?G9(e.split("T")[0]):"nil",Rt=e=>e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():"",q9=e=>{if(!e)return{};const{address_line1:t,address_line2:n,city:r,state:s,country:o,zip_code:i}=e;return{address:[t,n,r,s,o].filter(Boolean).join(", "),zipCode:i}},n1=e=>{if(!e)return{};const{address_line_one:t,address_line_two:n,city:r,state:s,country:o,zip_code:i}=e;return{address:[t,n,r,s,o].filter(Boolean).join(", "),zipCode:i}},Nt=e=>z9(e),X9=(e,t)=>{if(!e)return t;const{line1:n,line2:r,city:s,state:o,country:i,zip_code:l}=e,c=[n,r,s,o,i&&Rt(i),l].filter(Boolean);return c.length>0?c.join(", "):t},J9={body1:"font-regular text-[25px] leading-[120%]",body2:"font-regular text-[20px] leading-[120%]",body3:"font-light text-[20px] leading-[120%]",body4:"font-regular text-[16px] leading-[140%]",body5:"font-light text-[16px] leading-[120%]",body6:"font-regular text-[13px] leading-[120%]",body7:"font-light text-[13px] leading-[120%]",body8:"font-regular text-[10px] leading-[120%]",body9:"font-light text-[10px] leading-[120%]"},W=({variant:e,className:t,as:n="p",children:r,color:s})=>a.jsx(n,{className:Wo(J9[e],s,t),children:r}),Q9={label1:"font-medium text-[61px] leading-[120%] block",label2:"font-medium text-[49px] leading-[120%] block",label3:"font-medium text-[39px] leading-[120%] block",label4:"font-medium text-[31px] leading-[120%] block",label5:"font-medium text-[25px] leading-[120%] block",label6:"font-medium text-[20px] leading-[120%] block",label7:"font-medium text-[16px] leading-[120%] block",label8:"font-medium text-[13px] leading-[120%] block",label9:"font-medium text-[10px] leading-[120%] block"},Z=({variant:e,className:t,as:n="span",children:r,color:s})=>a.jsx(n,{className:Wo(Q9[e],s,t),children:r}),e6={h1:"font-bold text-[61px] leading-[140%]",h2:"font-bold text-[49px] leading-[140%]",h3:"font-bold text-[39px] leading-[140%]",h4:"font-bold text-[31px] leading-[140%]",h5:"font-bold text-[25px] leading-[140%]",h6:"font-bold text-[20px] leading-[140%]",h7:"font-bold text-[16px] leading-[140%]",h8:"font-bold text-[13px] leading-[140%]",h9:"font-bold text-[10px] leading-[140%]"},Zo=({variant:e,className:t,as:n="h1",children:r,color:s})=>a.jsx(n,{className:Wo(e6[e],s,t),children:r}),t6=async({customerKey:e})=>{const{data:t}=await xn().get(`/sdk/customers/${e}/details`);return t},n6=({customerKey:e})=>{const[t,n]=p.useState(null),[r,s]=p.useState(null),[o,i]=p.useState(!1),l=async()=>{if(!e)return s("Missing customerKey");i(!0);try{const c=await t6({customerKey:e});n(c?.data),s(null)}catch(c){const u=c,d=u?.response?.data?.data?.error||u?.message;s(d||"Failed to load customer details")}finally{i(!1)}};return p.useEffect(()=>{l()},[e]),{customerDetails:t,error:r,isLoading:o,refetch:l}},Dn=ul(e=>({customerKey:"",setCustomerKey:t=>e({customerKey:t}),customerRefetch:()=>{},setCustomerRefetch:t=>e({customerRefetch:t}),plans:[],setPlans:t=>e({plans:t})}));var r1={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(_t,function(){var n=1e3,r=6e4,s=36e5,o="millisecond",i="second",l="minute",c="hour",u="day",d="week",f="month",h="quarter",m="year",g="date",x="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(P){var F=["th","st","nd","rd"],E=P%100;return"["+P+(F[(E-20)%10]||F[E]||F[0])+"]"}},y=function(P,F,E){var D=String(P);return!D||D.length>=F?P:""+Array(F+1-D.length).join(E)+P},j={s:y,z:function(P){var F=-P.utcOffset(),E=Math.abs(F),D=Math.floor(E/60),M=E%60;return(F<=0?"+":"-")+y(D,2,"0")+":"+y(M,2,"0")},m:function P(F,E){if(F.date()<E.date())return-P(E,F);var D=12*(E.year()-F.year())+(E.month()-F.month()),M=F.clone().add(D,f),$=E-M<0,N=F.clone().add(D+($?-1:1),f);return+(-(D+(E-M)/($?M-N:N-M))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:f,y:m,w:d,d:u,D:g,h:c,m:l,s:i,ms:o,Q:h}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},w="en",L={};L[w]=C;var T="$isDayjsObject",A=function(P){return P instanceof z||!(!P||!P[T])},I=function P(F,E,D){var M;if(!F)return w;if(typeof F=="string"){var $=F.toLowerCase();L[$]&&(M=$),E&&(L[$]=E,M=$);var N=F.split("-");if(!M&&N.length>1)return P(N[0])}else{var H=F.name;L[H]=F,M=H}return!D&&M&&(w=M),M||!D&&w},V=function(P,F){if(A(P))return P.clone();var E=typeof F=="object"?F:{};return E.date=P,E.args=arguments,new z(E)},O=j;O.l=I,O.i=A,O.w=function(P,F){return V(P,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var z=function(){function P(E){this.$L=I(E.locale,null,!0),this.parse(E),this.$x=this.$x||E.x||{},this[T]=!0}var F=P.prototype;return F.parse=function(E){this.$d=function(D){var M=D.date,$=D.utc;if(M===null)return new Date(NaN);if(O.u(M))return new Date;if(M instanceof Date)return new Date(M);if(typeof M=="string"&&!/Z$/i.test(M)){var N=M.match(v);if(N){var H=N[2]-1||0,Y=(N[7]||"0").substring(0,3);return $?new Date(Date.UTC(N[1],H,N[3]||1,N[4]||0,N[5]||0,N[6]||0,Y)):new Date(N[1],H,N[3]||1,N[4]||0,N[5]||0,N[6]||0,Y)}}return new Date(M)}(E),this.init()},F.init=function(){var E=this.$d;this.$y=E.getFullYear(),this.$M=E.getMonth(),this.$D=E.getDate(),this.$W=E.getDay(),this.$H=E.getHours(),this.$m=E.getMinutes(),this.$s=E.getSeconds(),this.$ms=E.getMilliseconds()},F.$utils=function(){return O},F.isValid=function(){return this.$d.toString()!==x},F.isSame=function(E,D){var M=V(E);return this.startOf(D)<=M&&M<=this.endOf(D)},F.isAfter=function(E,D){return V(E)<this.startOf(D)},F.isBefore=function(E,D){return this.endOf(D)<V(E)},F.$g=function(E,D,M){return O.u(E)?this[D]:this.set(M,E)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(E,D){var M=this,$=!!O.u(D)||D,N=O.p(E),H=function(se,re){var ae=O.w(M.$u?Date.UTC(M.$y,re,se):new Date(M.$y,re,se),M);return $?ae:ae.endOf(u)},Y=function(se,re){return O.w(M.toDate()[se].apply(M.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(re)),M)},_=this.$W,R=this.$M,B=this.$D,Q="set"+(this.$u?"UTC":"");switch(N){case m:return $?H(1,0):H(31,11);case f:return $?H(1,R):H(0,R+1);case d:var ne=this.$locale().weekStart||0,G=(_<ne?_+7:_)-ne;return H($?B-G:B+(6-G),R);case u:case g:return Y(Q+"Hours",0);case c:return Y(Q+"Minutes",1);case l:return Y(Q+"Seconds",2);case i:return Y(Q+"Milliseconds",3);default:return this.clone()}},F.endOf=function(E){return this.startOf(E,!1)},F.$set=function(E,D){var M,$=O.p(E),N="set"+(this.$u?"UTC":""),H=(M={},M[u]=N+"Date",M[g]=N+"Date",M[f]=N+"Month",M[m]=N+"FullYear",M[c]=N+"Hours",M[l]=N+"Minutes",M[i]=N+"Seconds",M[o]=N+"Milliseconds",M)[$],Y=$===u?this.$D+(D-this.$W):D;if($===f||$===m){var _=this.clone().set(g,1);_.$d[H](Y),_.init(),this.$d=_.set(g,Math.min(this.$D,_.daysInMonth())).$d}else H&&this.$d[H](Y);return this.init(),this},F.set=function(E,D){return this.clone().$set(E,D)},F.get=function(E){return this[O.p(E)]()},F.add=function(E,D){var M,$=this;E=Number(E);var N=O.p(D),H=function(R){var B=V($);return O.w(B.date(B.date()+Math.round(R*E)),$)};if(N===f)return this.set(f,this.$M+E);if(N===m)return this.set(m,this.$y+E);if(N===u)return H(1);if(N===d)return H(7);var Y=(M={},M[l]=r,M[c]=s,M[i]=n,M)[N]||1,_=this.$d.getTime()+E*Y;return O.w(_,this)},F.subtract=function(E,D){return this.add(-1*E,D)},F.format=function(E){var D=this,M=this.$locale();if(!this.isValid())return M.invalidDate||x;var $=E||"YYYY-MM-DDTHH:mm:ssZ",N=O.z(this),H=this.$H,Y=this.$m,_=this.$M,R=M.weekdays,B=M.months,Q=M.meridiem,ne=function(re,ae,J,q){return re&&(re[ae]||re(D,$))||J[ae].slice(0,q)},G=function(re){return O.s(H%12||12,re,"0")},se=Q||function(re,ae,J){var q=re<12?"AM":"PM";return J?q.toLowerCase():q};return $.replace(b,function(re,ae){return ae||function(J){switch(J){case"YY":return String(D.$y).slice(-2);case"YYYY":return O.s(D.$y,4,"0");case"M":return _+1;case"MM":return O.s(_+1,2,"0");case"MMM":return ne(M.monthsShort,_,B,3);case"MMMM":return ne(B,_);case"D":return D.$D;case"DD":return O.s(D.$D,2,"0");case"d":return String(D.$W);case"dd":return ne(M.weekdaysMin,D.$W,R,2);case"ddd":return ne(M.weekdaysShort,D.$W,R,3);case"dddd":return R[D.$W];case"H":return String(H);case"HH":return O.s(H,2,"0");case"h":return G(1);case"hh":return G(2);case"a":return se(H,Y,!0);case"A":return se(H,Y,!1);case"m":return String(Y);case"mm":return O.s(Y,2,"0");case"s":return String(D.$s);case"ss":return O.s(D.$s,2,"0");case"SSS":return O.s(D.$ms,3,"0");case"Z":return N}return null}(re)||N.replace(":","")})},F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function(E,D,M){var $,N=this,H=O.p(D),Y=V(E),_=(Y.utcOffset()-this.utcOffset())*r,R=this-Y,B=function(){return O.m(N,Y)};switch(H){case m:$=B()/12;break;case f:$=B();break;case h:$=B()/3;break;case d:$=(R-_)/6048e5;break;case u:$=(R-_)/864e5;break;case c:$=R/s;break;case l:$=R/r;break;case i:$=R/n;break;default:$=R}return M?$:O.a($)},F.daysInMonth=function(){return this.endOf(f).$D},F.$locale=function(){return L[this.$L]},F.locale=function(E,D){if(!E)return this.$L;var M=this.clone(),$=I(E,D,!0);return $&&(M.$L=$),M},F.clone=function(){return O.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},P}(),U=z.prototype;return V.prototype=U,[["$ms",o],["$s",i],["$m",l],["$H",c],["$W",u],["$M",f],["$y",m],["$D",g]].forEach(function(P){U[P[1]]=function(F){return this.$g(F,P[0],P[1])}}),V.extend=function(P,F){return P.$i||(P(F,z,V),P.$i=!0),V},V.locale=I,V.isDayjs=A,V.unix=function(P){return V(1e3*P)},V.en=L[w],V.Ls=L,V.p={},V})})(r1);var r6=r1.exports,s1=Tr(r6);const s6={amber:{50:"#FFF6E5",100:"#FFEDCC",500:"#FFA500",800:"#664200"},neutral:{100:"#F5F5F5",200:"#E5E5E5",400:"#A3A3A3",500:"#737373",800:"#262626",900:"#171717"},grey:{50:"#FAFAFA",100:"#F4F4F5",200:"#E4E4E7",300:"#D4D4D8",400:"#A1A1AA",500:"#71717A",600:"#52525B",700:"#3F3F46",800:"#27272A",900:"#18181B"},slate:{800:"#1E293B"},base:{danger:"#F31260",default:{600:"#52525B"}},cool:{orange:{50:"#FEF1EB",100:"#FCDFD7"}},bright:{orange:{50:"#FDEFEB"}},red:{100:"#FFE5E5",500:"#E60000",600:"#CF2140",900:"#2C030B"},pink:{100:"#FFE5F5",500:"#FF55C0",600:"#EC4899"},purple:{100:"#F0EEFE",500:"#705BFA"},green:{100:"#E9FFD4",200:"#E6F7EA",500:"#6FE200",600:"#0BB02F"},orange:{50:"#FFF6E5",100:"#FFEFD6",400:"#FFB733",500:"#FF9D00"},blue:{50:"#E5F2FF",500:"#007BFF"},metrifox:{primary:"#3D3D3D",secondary:"#DEF764",blue:"#006FEE",black:"#0F0F0F",success:"#17C964",white:"#FFFFFF",dark:"#191919",danger:"#DE1135",warning:"#F5A524"},foreground:{primary:"#0F172A",secondary:"#78716C",disabled:"#A8A29E"},stroke:{system:{primary:"#E7E5E4"}},background:{system:{primary:"#FFFFFF",disabled:"#E7E5E4",secondary:"#E8E9EE",light:"#FFFDFB"}},secondary:{light:"#FFFDFB"},rose:{50:"#FFF1F2"},lime:{50:"#F7FEE7",100:"#EDFF96",500:"#9DBD00",600:"#65A30D"},cyan:{500:"#06B6D4"}},o6={colors:s6},i6=o6.colors,a6=e=>{if(/^#([0-9A-Fa-f]{3}){1,2}$/.test(e))return e;const t=e.split("-");let n=i6;for(const r of t)if(n&&typeof n=="object"&&r in n)n=n[r];else return;return typeof n=="string"?n:void 0},l6={"danger-filled":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M21.76 15.92 15.36 4.4C14.5 2.85 13.31 2 12 2s-2.5.85-3.36 2.4l-6.4 11.52c-.81 1.47-.9 2.88-.25 3.99.65 1.11 1.93 1.72 3.61 1.72h12.8c1.68 0 2.96-.61 3.61-1.72.65-1.11.56-2.53-.25-3.99ZM11.25 9c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75s-.75-.34-.75-.75V9Zm1.46 8.71-.15.12c-.06.04-.12.07-.18.09-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02s-.13-.01-.2-.02a.636.636 0 0 1-.18-.06.757.757 0 0 1-.18-.09l-.15-.12c-.18-.19-.29-.45-.29-.71 0-.26.11-.52.29-.71l.15-.12c.06-.04.12-.07.18-.09.06-.03.12-.05.18-.06.13-.03.27-.03.39 0 .07.01.13.03.19.06.06.02.12.05.18.09l.15.12c.18.19.29.45.29.71 0 .26-.11.52-.29.71Z"})}),"eye-slash-filled":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M21.271 9.178c-.29-.46-.6-.89-.92-1.29a1 1 0 0 0-1.49-.09l-3 3c.22.66.26 1.42.06 2.21a4.021 4.021 0 0 1-2.9 2.9c-.79.2-1.55.16-2.21-.06l-2.46 2.46c-.5.5-.34 1.38.33 1.64 1.07.41 2.18.62 3.32.62 1.78 0 3.51-.52 5.09-1.49 1.61-1 3.06-2.47 4.23-4.34.95-1.51.9-4.05-.05-5.56ZM14.02 9.98l-4.04 4.04c-.51-.52-.84-1.24-.84-2.02 0-1.57 1.28-2.86 2.86-2.86.78 0 1.5.33 2.02.84Z"}),a.jsx("path",{d:"m18.25 5.75-3.39 3.39A3.986 3.986 0 0 0 12 7.96c-2.24 0-4.04 1.81-4.04 4.04 0 1.12.45 2.13 1.18 2.86l-3.38 3.39h-.01c-1.11-.9-2.13-2.05-3-3.41-1-1.57-1-4.12 0-5.69C3.91 7.33 5.33 5.9 6.91 4.92c1.58-.96 3.31-1.49 5.09-1.49 2.23 0 4.39.82 6.25 2.32ZM14.858 11.998c0 1.57-1.28 2.86-2.86 2.86-.06 0-.11 0-.17-.02l3.01-3.01c.02.06.02.11.02.17Z"}),a.jsx("path",{d:"M21.769 2.229c-.3-.3-.79-.3-1.09 0l-18.45 18.46c-.3.3-.3.79 0 1.09a.758.758 0 0 0 1.08-.01l18.46-18.46c.31-.3.31-.78 0-1.08Z"})]}),"eye-filled":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M21.25 9.15C18.94 5.52 15.56 3.43 12 3.43c-1.78 0-3.51.52-5.09 1.49-1.58.98-3 2.41-4.16 4.23-1 1.57-1 4.12 0 5.69 2.31 3.64 5.69 5.72 9.25 5.72 1.78 0 3.51-.52 5.09-1.49 1.58-.98 3-2.41 4.16-4.23 1-1.56 1-4.12 0-5.69ZM12 16.04c-2.24 0-4.04-1.81-4.04-4.04S9.76 7.96 12 7.96s4.04 1.81 4.04 4.04-1.8 4.04-4.04 4.04Z"}),a.jsx("path",{d:"M11.998 9.14a2.855 2.855 0 0 0 0 5.71c1.57 0 2.86-1.28 2.86-2.85s-1.29-2.86-2.86-2.86Z"})]}),"check-circle-filled":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm4.78 7.7-5.67 5.67a.75.75 0 0 1-1.06 0l-2.83-2.83a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2.3 2.3 5.14-5.14c.29-.29.77-.29 1.06 0 .29.29.29.76 0 1.06Z"})}),check:a.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M10 3L4.5 8.5L2 6",stroke:"#currentColor",strokeWidth:"1.6666",strokeLinecap:"round",strokeLinejoin:"round"})}),home:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M12 18.75c-.41 0-.75-.34-.75-.75v-3c0-.41.34-.75.75-.75s.75.34.75.75v3c0 .41-.34.75-.75.75Z"}),a.jsx("path",{d:"M17.6 22.56H6.4c-1.82 0-3.48-1.4-3.78-3.19L1.29 11.4c-.22-1.24.39-2.83 1.38-3.62L9.6 2.23c1.34-1.08 3.45-1.07 4.8.01l6.93 5.54c.98.79 1.58 2.38 1.38 3.62l-1.33 7.96c-.3 1.77-2 3.2-3.78 3.2ZM11.99 2.93c-.53 0-1.06.16-1.45.47L3.61 8.96c-.56.45-.96 1.49-.84 2.2l1.33 7.96c.18 1.05 1.23 1.94 2.3 1.94h11.2c1.07 0 2.12-.89 2.3-1.95l1.33-7.96c.11-.7-.29-1.76-.84-2.2l-6.93-5.54c-.4-.32-.94-.48-1.47-.48Z"})]}),task:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M17.62 9.621h-5.25c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h5.25a.749.749 0 1 1 0 1.5ZM7.12 10.38c-.19 0-.38-.07-.53-.22l-.75-.75a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.22.22 1.72-1.72c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-2.25 2.25a.75.75 0 0 1-.53.22ZM17.62 16.621h-5.25c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h5.25a.749.749 0 1 1 0 1.5ZM7.12 17.38c-.19 0-.38-.07-.53-.22l-.75-.75a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.22.22 1.72-1.72c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-2.25 2.25a.75.75 0 0 1-.53.22Z"}),a.jsx("path",{d:"M15 22.75H9c-5.43 0-7.75-2.32-7.75-7.75V9c0-5.43 2.32-7.75 7.75-7.75h6c5.43 0 7.75 2.32 7.75 7.75v6c0 5.43-2.32 7.75-7.75 7.75Zm-6-20C4.39 2.75 2.75 4.39 2.75 9v6c0 4.61 1.64 6.25 6.25 6.25h6c4.61 0 6.25-1.64 6.25-6.25V9c0-4.61-1.64-6.25-6.25-6.25H9Z"})]}),money:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M17 21.25H7c-3.65 0-5.75-2.1-5.75-5.75v-7c0-3.65 2.1-5.75 5.75-5.75h10c3.65 0 5.75 2.1 5.75 5.75v7c0 3.65-2.1 5.75-5.75 5.75Zm-10-17c-2.86 0-4.25 1.39-4.25 4.25v7c0 2.86 1.39 4.25 4.25 4.25h10c2.86 0 4.25-1.39 4.25-4.25v-7c0-2.86-1.39-4.25-4.25-4.25H7Z"}),a.jsx("path",{d:"M12 15.75c-2.07 0-3.75-1.68-3.75-3.75 0-2.07 1.68-3.75 3.75-3.75 2.07 0 3.75 1.68 3.75 3.75 0 2.07-1.68 3.75-3.75 3.75Zm0-6c-1.24 0-2.25 1.01-2.25 2.25s1.01 2.25 2.25 2.25 2.25-1.01 2.25-2.25S13.24 9.75 12 9.75ZM5.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM18.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75Z"})]}),people:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M18 7.912h-.13c-1.89-.06-3.3-1.52-3.3-3.32 0-1.84 1.5-3.33 3.33-3.33s3.33 1.5 3.33 3.33a3.327 3.327 0 0 1-3.22 3.33c0-.01 0-.01-.01-.01Zm-.1-5.16c-1.01 0-1.83.82-1.83 1.83 0 .99.77 1.79 1.76 1.83.01-.01.09-.01.18 0a1.832 1.832 0 0 0-.11-3.66ZM18.009 15.28c-.39 0-.78-.03-1.17-.1a.75.75 0 0 1-.61-.87.75.75 0 0 1 .87-.61c1.23.21 2.53-.02 3.4-.6.47-.31.72-.7.72-1.09 0-.39-.26-.77-.72-1.08-.87-.58-2.19-.81-3.43-.59-.41.08-.8-.2-.87-.61-.07-.41.2-.8.61-.87 1.63-.29 3.32.02 4.52.82.88.59 1.39 1.43 1.39 2.33 0 .89-.5 1.74-1.39 2.34-.91.6-2.09.93-3.32.93ZM5.97 7.91h-.02a3.324 3.324 0 0 1-3.22-3.32c0-1.84 1.5-3.34 3.33-3.34s3.33 1.5 3.33 3.33c0 1.81-1.41 3.27-3.21 3.33l-.21-.75.07.75h-.07Zm.1-1.5c.06 0 .11 0 .17.01.89-.04 1.67-.84 1.67-1.83a1.83 1.83 0 1 0-1.93 1.83c.01-.01.05-.01.09-.01ZM5.96 15.28c-1.23 0-2.41-.33-3.32-.93-.88-.59-1.39-1.44-1.39-2.34 0-.89.51-1.74 1.39-2.33 1.2-.8 2.89-1.11 4.52-.82.41.07.68.46.61.87-.07.41-.46.69-.87.61-1.24-.22-2.55.01-3.43.59-.47.31-.72.69-.72 1.08 0 .39.26.78.72 1.09.87.58 2.17.81 3.4.6.41-.07.8.21.87.61.07.41-.2.8-.61.87-.39.07-.78.1-1.17.1ZM12 15.38h-.13c-1.89-.06-3.3-1.52-3.3-3.32 0-1.84 1.5-3.33 3.33-3.33s3.33 1.5 3.33 3.33a3.327 3.327 0 0 1-3.22 3.33c0-.01 0-.01-.01-.01Zm-.1-5.16c-1.01 0-1.83.82-1.83 1.83 0 .99.77 1.79 1.76 1.83.01-.01.09-.01.18 0 .97-.05 1.72-.85 1.73-1.83 0-1-.82-1.83-1.84-1.83ZM12.001 22.759c-1.2 0-2.4-.31-3.33-.94-.88-.59-1.39-1.43-1.39-2.33 0-.89.5-1.75 1.39-2.34 1.87-1.24 4.8-1.24 6.66 0 .88.59 1.39 1.43 1.39 2.33 0 .89-.5 1.75-1.39 2.34-.93.62-2.13.94-3.33.94Zm-2.5-4.35c-.47.31-.72.7-.72 1.09 0 .39.26.77.72 1.08 1.35.91 3.64.91 4.99 0 .47-.31.72-.7.72-1.09 0-.39-.26-.77-.72-1.08-1.34-.91-3.63-.9-4.99 0Z"})}),bill:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M12 22.252c-.82 0-1.64-.26-2.32-.77l-5.21-3.9a3.903 3.903 0 0 1-1.55-3.1V1.762h18.16v12.72c0 1.21-.58 2.37-1.55 3.1l-5.21 3.9c-.68.51-1.5.77-2.32.77Zm-7.58-19v11.22c0 .74.36 1.45.95 1.9l5.21 3.9c.84.63 2.01.63 2.85 0l5.21-3.9c.59-.45.95-1.16.95-1.9V3.252H4.42Z"}),a.jsx("path",{d:"M22 3.25H2c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h20c.41 0 .75.34.75.75s-.34.75-.75.75ZM16 8.75H8c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h8c.41 0 .75.34.75.75s-.34.75-.75.75ZM16 13.75H8c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h8c.41 0 .75.34.75.75s-.34.75-.75.75Z"})]}),"category-2":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M19 10.75h-2c-2.42 0-3.75-1.33-3.75-3.75V5c0-2.42 1.33-3.75 3.75-3.75h2c2.42 0 3.75 1.33 3.75 3.75v2c0 2.42-1.33 3.75-3.75 3.75Zm-2-8c-1.58 0-2.25.67-2.25 2.25v2c0 1.58.67 2.25 2.25 2.25h2c1.58 0 2.25-.67 2.25-2.25V5c0-1.58-.67-2.25-2.25-2.25h-2ZM7 22.75H5c-2.42 0-3.75-1.33-3.75-3.75v-2c0-2.42 1.33-3.75 3.75-3.75h2c2.42 0 3.75 1.33 3.75 3.75v2c0 2.42-1.33 3.75-3.75 3.75Zm-2-8c-1.58 0-2.25.67-2.25 2.25v2c0 1.58.67 2.25 2.25 2.25h2c1.58 0 2.25-.67 2.25-2.25v-2c0-1.58-.67-2.25-2.25-2.25H5ZM6 10.75c-2.62 0-4.75-2.13-4.75-4.75S3.38 1.25 6 1.25 10.75 3.38 10.75 6 8.62 10.75 6 10.75Zm0-8C4.21 2.75 2.75 4.21 2.75 6S4.21 9.25 6 9.25 9.25 7.79 9.25 6 7.79 2.75 6 2.75ZM18 22.75c-2.62 0-4.75-2.13-4.75-4.75s2.13-4.75 4.75-4.75 4.75 2.13 4.75 4.75-2.13 4.75-4.75 4.75Zm0-8c-1.79 0-3.25 1.46-3.25 3.25s1.46 3.25 3.25 3.25 3.25-1.46 3.25-3.25-1.46-3.25-3.25-3.25Z"})}),"money-add":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M12 15.25c-1.79 0-3.25-1.46-3.25-3.25S10.21 8.75 12 8.75s3.25 1.46 3.25 3.25-1.46 3.25-3.25 3.25Zm0-5c-.96 0-1.75.79-1.75 1.75s.79 1.75 1.75 1.75 1.75-.79 1.75-1.75-.79-1.75-1.75-1.75ZM18.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM5 22.75c-1.66 0-3.22-.88-4.06-2.31C.49 19.72.25 18.87.25 18c0-2.62 2.13-4.75 4.75-4.75S9.75 15.38 9.75 18c0 .87-.24 1.72-.69 2.45-.84 1.42-2.4 2.3-4.06 2.3Zm0-8c-1.79 0-3.25 1.46-3.25 3.25 0 .59.16 1.17.47 1.67.58.98 1.65 1.58 2.78 1.58A3.256 3.256 0 0 0 8.25 18c0-1.79-1.46-3.25-3.25-3.25Z"}),a.jsx("path",{d:"M6.498 18.73h-2.99c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h2.99c.41 0 .75.34.75.75s-.34.75-.75.75Z"}),a.jsx("path",{d:"M5 20.26c-.41 0-.75-.34-.75-.75v-2.99c0-.41.34-.75.75-.75s.75.34.75.75v2.99c0 .42-.34.75-.75.75Z"}),a.jsx("path",{d:"M17 20.75H8.5c-.41 0-.75-.34-.75-.75s.34-.75.75-.75H17c2.86 0 4.25-1.39 4.25-4.25V9c0-2.86-1.39-4.25-4.25-4.25H7C4.14 4.75 2.75 6.14 2.75 9v6.3c0 .41-.34.75-.75.75s-.75-.34-.75-.75V9c0-3.65 2.1-5.75 5.75-5.75h10c3.65 0 5.75 2.1 5.75 5.75v6c0 3.65-2.1 5.75-5.75 5.75Z"})]}),"money-time":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M12 15.25c-1.79 0-3.25-1.46-3.25-3.25S10.21 8.75 12 8.75s3.25 1.46 3.25 3.25-1.46 3.25-3.25 3.25Zm0-5c-.96 0-1.75.79-1.75 1.75s.79 1.75 1.75 1.75 1.75-.79 1.75-1.75-.79-1.75-1.75-1.75ZM18.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM5 22.75C2.38 22.75.25 20.62.25 18S2.38 13.25 5 13.25 9.75 15.38 9.75 18 7.62 22.75 5 22.75Zm0-8c-1.79 0-3.25 1.46-3.25 3.25S3.21 21.25 5 21.25 8.25 19.79 8.25 18 6.79 14.75 5 14.75Z"}),a.jsx("path",{d:"M4 19.752c-.25 0-.5-.13-.64-.36-.21-.35-.1-.82.26-1.03l.76-.46c.07-.04.12-.13.12-.21v-.93c0-.41.34-.75.75-.75s.75.34.75.75v.93c0 .61-.33 1.19-.85 1.5l-.76.46c-.12.07-.26.1-.39.1Z"}),a.jsx("path",{d:"M17 20.75H8.5c-.41 0-.75-.34-.75-.75s.34-.75.75-.75H17c2.86 0 4.25-1.39 4.25-4.25V9c0-2.86-1.39-4.25-4.25-4.25H7C4.14 4.75 2.75 6.14 2.75 9v6.2c0 .41-.34.75-.75.75s-.75-.34-.75-.75V9c0-3.65 2.1-5.75 5.75-5.75h10c3.65 0 5.75 2.1 5.75 5.75v6c0 3.65-2.1 5.75-5.75 5.75Z"})]}),"arrow-down":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M17.919 8.18H6.079c-.96 0-1.44 1.16-.76 1.84l5.18 5.18c.83.83 2.18.83 3.01 0l1.97-1.97 3.21-3.21c.67-.68.19-1.84-.77-1.84z"})}),"arrow-down-linear":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",children:a.jsx("path",{stroke:"#currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M19.92 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95"})}),"arrow-right":a.jsxs("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12.525 5.44167L17.5833 10.5L12.525 15.5583",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M3.41666 10.5H17.4417",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"code-circle":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M8 14.751c-.19 0-.38-.07-.53-.22l-2-2a.755.755 0 0 1 0-1.06l2-2c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-1.47 1.47 1.47 1.47c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22ZM16 14.751c-.19 0-.38-.07-.53-.22a.755.755 0 0 1 0-1.06l1.47-1.47-1.47-1.47a.755.755 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2 2c.29.29.29.77 0 1.06l-2 2c-.15.15-.34.22-.53.22Z"}),a.jsx("path",{d:"M12 22.75C6.07 22.75 1.25 17.93 1.25 12S6.07 1.25 12 1.25 22.75 6.07 22.75 12 17.93 22.75 12 22.75Zm0-20C6.9 2.75 2.75 6.9 2.75 12S6.9 21.25 12 21.25s9.25-4.15 9.25-9.25S17.1 2.75 12 2.75Z"}),a.jsx("path",{d:"M11 15.08a.745.745 0 0 1-.68-1.05l2-4.67c.16-.38.6-.56.98-.39.38.16.56.6.39.99l-2 4.67c-.12.28-.4.45-.69.45Z"})]}),"note-2":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M15.808 20.179c-.26 0-.53-.01-.82-.04-.52-.04-1.11-.14-1.72-.29l-1.68-.4c-4.61-1.09-6.12-3.53-5.04-8.13l.98-4.19c.22-.95.48-1.72.8-2.36 1.72-3.55 5.01-3.23 7.35-2.68l1.67.39c2.34.55 3.82 1.42 4.65 2.75.82 1.33.95 3.04.4 5.38l-.98 4.18c-.86 3.66-2.65 5.39-5.61 5.39Zm-2.69-16.93c-1.67 0-2.73.69-3.44 2.17-.26.54-.49 1.21-.69 2.05l-.98 4.19c-.89 3.78.14 5.43 3.92 6.33l1.68.4c.54.13 1.05.21 1.51.25 2.72.27 4.07-.92 4.83-4.19l.98-4.18c.45-1.93.39-3.28-.21-4.25-.6-.97-1.78-1.63-3.72-2.08l-1.67-.39c-.83-.2-1.57-.3-2.21-.3Z"}),a.jsx("path",{d:"M8.33 22.252c-2.57 0-4.21-1.54-5.26-4.79l-1.28-3.95c-1.42-4.4-.15-6.88 4.23-8.3l1.58-.51c.52-.16.91-.27 1.26-.33.29-.06.57.05.74.28.17.23.2.53.08.79-.26.53-.49 1.2-.68 2.04l-.98 4.19c-.89 3.78.14 5.43 3.92 6.33l1.68.4c.54.13 1.05.21 1.51.25.32.03.58.25.67.56.08.31-.04.63-.3.81-.66.45-1.49.83-2.54 1.17l-1.58.52c-1.15.36-2.15.54-3.05.54Zm-.55-16.03-1.29.42c-3.57 1.15-4.42 2.83-3.27 6.41l1.28 3.95c1.16 3.57 2.84 4.43 6.41 3.28l1.58-.52c.06-.02.11-.04.17-.06l-1.06-.25c-4.61-1.09-6.12-3.53-5.04-8.13l.98-4.19c.07-.32.15-.63.24-.91ZM17.49 10.512c-.06 0-.12-.01-.19-.02l-4.85-1.23a.75.75 0 0 1 .37-1.45l4.85 1.23a.748.748 0 0 1-.18 1.47Z"}),a.jsx("path",{d:"M14.561 13.889c-.06 0-.12-.01-.19-.02l-2.91-.74a.75.75 0 0 1 .37-1.45l2.91.74c.4.1.64.51.54.91-.08.34-.38.56-.72.56Z"})]}),"note-add-bulk":a.jsxs("svg",{width:"73",height:"72",viewBox:"0 0 73 72",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.4",d:"M22.61 66H50.36C58.43 66 64.97 59.46 64.97 51.39V25.11C64.97 17.04 58.43 10.5 50.36 10.5H22.61C14.54 10.5 8 17.04 8 25.11V51.36C8 59.46 14.54 66 22.61 66Z",fill:"#currentColor"}),a.jsx("path",{d:"M25.3672 18.87C24.1072 18.87 23.1172 17.85 23.1172 16.62V8.25C23.1172 7.02 24.1072 6 25.3672 6C26.6272 6 27.6172 7.02 27.6172 8.25V16.59C27.6172 17.85 26.6272 18.87 25.3672 18.87Z",fill:"#currentColor"}),a.jsx("path",{d:"M47.6328 18.87C46.3728 18.87 45.3828 17.85 45.3828 16.62V8.25C45.3828 6.99 46.4028 6 47.6328 6C48.8928 6 49.8828 7.02 49.8828 8.25V16.59C49.8828 17.85 48.8928 18.87 47.6328 18.87Z",fill:"#currenColor"}),a.jsx("path",{d:"M36.5 44.25H31.43V39C31.43 37.77 30.41 36.75 29.18 36.75C27.95 36.75 26.93 37.77 26.93 39V44.25H21.5C20.27 44.25 19.25 45.27 19.25 46.5C19.25 47.73 20.27 48.75 21.5 48.75H26.93V54C26.93 55.23 27.95 56.25 29.18 56.25C30.41 56.25 31.43 55.23 31.43 54V48.75H36.5C37.73 48.75 38.75 47.73 38.75 46.5C38.75 45.27 37.73 44.25 36.5 44.25Z",fill:"#currentColor"})]}),gift:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M15.969 22.75h-8c-3.42 0-4.75-1.33-4.75-4.75v-8c0-.41.34-.75.75-.75h16c.41 0 .75.34.75.75v8c0 3.42-1.33 4.75-4.75 4.75Zm-11.25-12V18c0 2.58.67 3.25 3.25 3.25h8c2.58 0 3.25-.67 3.25-3.25v-7.25h-14.5Z"}),a.jsx("path",{d:"M19.5 10.75h-15c-1.75 0-2.75-1-2.75-2.75V7c0-1.75 1-2.75 2.75-2.75h15c1.7 0 2.75 1.05 2.75 2.75v1c0 1.7-1.05 2.75-2.75 2.75Zm-15-5c-.91 0-1.25.34-1.25 1.25v1c0 .91.34 1.25 1.25 1.25h15c.88 0 1.25-.37 1.25-1.25V7c0-.88-.37-1.25-1.25-1.25h-15Z"}),a.jsx("path",{d:"M11.64 5.749H6.12c-.21 0-.41-.09-.55-.24-.61-.67-.59-1.7.05-2.34l1.42-1.42c.66-.66 1.75-.66 2.41 0l2.72 2.72c.21.21.28.54.16.82-.11.28-.38.46-.69.46Zm-4.97-1.5h3.17l-1.45-1.44a.205.205 0 0 0-.29 0l-1.42 1.42c0 .01-.01.01-.01.02Z"}),a.jsx("path",{d:"M17.87 5.749h-5.52a.74.74 0 0 1-.69-.46c-.12-.28-.05-.6.16-.82l2.72-2.72c.66-.66 1.75-.66 2.41 0l1.42 1.42c.64.64.67 1.67.05 2.34-.14.15-.34.24-.55.24Zm-3.7-1.5h3.17l-.02-.02-1.42-1.42a.205.205 0 0 0-.29 0l-1.44 1.44ZM9.941 16.9a1.752 1.752 0 0 1-1.75-1.75V10c0-.41.34-.75.75-.75h6.04c.41 0 .75.34.75.75v5.13c0 .65-.35 1.24-.92 1.54-.57.31-1.26.27-1.8-.09l-.89-.6a.24.24 0 0 0-.28 0l-.94.62c-.29.2-.63.3-.96.3Zm-.25-6.15v4.39c0 .13.08.19.13.22s.15.06.26-.01l.94-.62c.59-.39 1.35-.39 1.93 0l.89.6c.11.07.21.04.26.01.05-.03.13-.09.13-.22v-4.38h-4.54v.01Z"})]}),"notification-bell":a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M16.5455 4.27274C16.5455 5.62835 15.4466 6.72728 14.091 6.72728C12.7353 6.72728 11.6364 5.62835 11.6364 4.27274C11.6364 2.91713 12.7353 1.81819 14.091 1.81819C15.4466 1.81819 16.5455 2.91713 16.5455 4.27274Z"}),a.jsx("path",{d:"M10.3355 2.64766C10.2247 2.64017 10.1128 2.63637 10 2.63637C7.28883 2.63637 5.09095 4.83425 5.09095 7.54546V10.964C5.09095 11.4024 4.96118 11.831 4.71799 12.1958L3.592 13.8848C3.5024 14.0192 3.45459 14.1771 3.45459 14.3386V14.9091H16.5455V14.3386C16.5455 14.1771 16.4977 14.0192 16.4081 13.8848L15.2821 12.1958C15.0389 11.831 14.9091 11.4024 14.9091 10.964V8.28181C14.6448 8.33548 14.3712 8.36365 14.091 8.36365C11.8316 8.36365 10 6.53208 10 4.27274C10 3.69529 10.1197 3.14578 10.3355 2.64766Z"}),a.jsx("path",{d:"M10 17.7727C10.9038 17.7727 11.6364 17.0401 11.6364 16.1364H8.36368C8.36368 17.0401 9.09631 17.7727 10 17.7727Z"})]}),"book-saved":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M11.25 5.998v13.91c0 .71-.72 1.2-1.37.93-1.86-.78-4.17-1.46-5.81-1.68l-.31-.04c-.97-.12-1.76-1.01-1.76-1.98V5.248c0-1.2.97-2.17 2.17-2.17h.07c1.88.16 4.65 1.04 6.48 2.03a1 1 0 0 1 .53.89ZM19.83 3.078h-.06c-.24.02-.5.05-.77.1-1.23.2-2.69.62-4 1.14-.62.25-1.2.52-1.71.79-.33.18-.54.52-.54.89v13.91c0 .71.72 1.2 1.37.93 1.86-.78 4.17-1.46 5.81-1.68l.31-.04c.97-.12 1.76-1.01 1.76-1.98V5.248c0-1.2-.97-2.17-2.17-2.17Zm-.56 10.65c0 .39-.28.56-.62.37l-1.06-.59a.49.49 0 0 0-.41 0l-1.06.59c-.34.19-.62.02-.62-.37v-3.07c0-.46.38-.84.84-.84h2.1c.46 0 .84.38.84.84v3.07h-.01Z"})}),"message-question":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M17 2.43H7c-3 0-5 2-5 5v6c0 3 2 5 5 5v2.13c0 .8.89 1.28 1.55.83L13 18.43h4c3 0 5-2 5-5v-6c0-3-2-5-5-5ZM12 14.6a.749.749 0 1 1 0-1.5.749.749 0 1 1 0 1.5Zm1.26-4.15c-.39.26-.51.43-.51.71v.21c0 .41-.34.75-.75.75s-.75-.34-.75-.75v-.21c0-1.16.85-1.73 1.17-1.95.37-.25.49-.42.49-.68 0-.5-.41-.91-.91-.91s-.91.41-.91.91c0 .41-.34.75-.75.75s-.75-.34-.75-.75c0-1.33 1.08-2.41 2.41-2.41s2.41 1.08 2.41 2.41c0 1.14-.84 1.71-1.15 1.92Z"})}),"circle-close":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M12 22.75C6.07 22.75 1.25 17.93 1.25 12S6.07 1.25 12 1.25 22.75 6.07 22.75 12 17.93 22.75 12 22.75Zm0-20C6.9 2.75 2.75 6.9 2.75 12S6.9 21.25 12 21.25s9.25-4.15 9.25-9.25S17.1 2.75 12 2.75Z"}),a.jsx("path",{d:"M9.17 15.58c-.19 0-.38-.07-.53-.22a.754.754 0 0 1 0-1.06l5.66-5.66c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06L9.7 15.36c-.14.15-.34.22-.53.22Z"}),a.jsx("path",{d:"M14.83 15.58c-.19 0-.38-.07-.53-.22L8.64 9.7a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l5.66 5.66c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22Z"})]}),"circle-close-filled":a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:a.jsx("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm3.36 12.3c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22s-.38-.07-.53-.22l-2.3-2.3-2.3 2.3c-.15.15-.34.22-.53.22s-.38-.07-.53-.22a.754.754 0 0 1 0-1.06l2.3-2.3-2.3-2.3a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2.3 2.3 2.3-2.3c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-2.3 2.3 2.3 2.3Z"})}),add:a.jsxs("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M4.5 8H12.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M8.5 12V4",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),search:a.jsx("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.1821 12.2458C10.1658 13.0361 8.88866 13.5067 7.50167 13.5067C4.18704 13.5067 1.5 10.8189 1.5 7.50335C1.5 4.18779 4.18704 1.5 7.50167 1.5C10.8163 1.5 13.5033 4.18779 13.5033 7.50335C13.5033 8.89059 13.033 10.1679 12.243 11.1845L15.2799 14.2186C15.5731 14.5115 15.5734 14.9867 15.2806 15.2799C14.9878 15.5731 14.5128 15.5734 14.2196 15.2805L11.1821 12.2458ZM12.0029 7.50335C12.0029 9.99002 9.98765 12.0059 7.50167 12.0059C5.0157 12.0059 3.00042 9.99002 3.00042 7.50335C3.00042 5.01668 5.0157 3.00084 7.50167 3.00084C9.98765 3.00084 12.0029 5.01668 12.0029 7.50335Z"})}),upload:a.jsx("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M10.2749 7.9251V9.8251C10.2749 10.0771 10.1748 10.3187 9.99661 10.4968C9.81845 10.675 9.57681 10.7751 9.32485 10.7751H2.67485C2.4229 10.7751 2.18126 10.675 2.0031 10.4968C1.82494 10.3187 1.72485 10.0771 1.72485 9.8251V7.9251M8.37485 4.6001L5.99985 2.2251M5.99985 2.2251L3.62485 4.6001M5.99985 2.2251V7.9251",stroke:"#currentColor",strokeWidth:"0.7125",strokeLinecap:"round",strokeLinejoin:"round"})}),"arrow-left-linear":a.jsx("svg",{width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M7.99984 16.9201L1.47984 10.4001C0.709844 9.63008 0.709844 8.37008 1.47984 7.60008L7.99984 1.08008",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})}),"arrow-right-linear":a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M5.99978 2.72418L10.3464 7.07085C10.8598 7.58418 10.8598 8.42418 10.3464 8.93751L5.99978 13.2842",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})}),pen:a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M11.0495 3.00002L4.2078 10.2417C3.94947 10.5167 3.69947 11.0584 3.64947 11.4334L3.34114 14.1333C3.2328 15.1083 3.9328 15.775 4.89947 15.6084L7.5828 15.15C7.9578 15.0834 8.4828 14.8084 8.74114 14.525L15.5828 7.28335C16.7661 6.03335 17.2995 4.60835 15.4578 2.86668C13.6245 1.14168 12.2328 1.75002 11.0495 3.00002Z",stroke:"#currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M9.9082 4.2085C10.2665 6.5085 12.1332 8.26683 14.4499 8.50016",stroke:"#currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M2.5 18.3333H17.5",stroke:"currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),times:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24px",height:"24px",children:a.jsx("path",{d:"M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z"})}),"arrow-up":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M18.0697 9.57L11.9997 3.5L5.92969 9.57",stroke:"#3F3F46",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M12 20.4999V3.66992",stroke:"#3F3F46",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"arrow-up-light":a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M13.2797 10.0334L8.93306 5.68676C8.41973 5.17342 7.57973 5.17342 7.06639 5.68676L2.71973 10.0334",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})}),"arrow-down-light":a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M13.2807 5.9668L8.93404 10.3135C8.4207 10.8268 7.5807 10.8268 7.06737 10.3135L2.7207 5.9668",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})}),"settings-2-filled":a.jsx("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M13.9002 6.64679C12.6935 6.64679 12.2002 5.79345 12.8002 4.74679C13.1468 4.14012 12.9402 3.36679 12.3335 3.02012L11.1802 2.36012C10.6535 2.04679 9.9735 2.23345 9.66016 2.76012L9.58683 2.88679C8.98683 3.93345 8.00016 3.93345 7.3935 2.88679L7.32016 2.76012C7.02016 2.23345 6.34016 2.04679 5.8135 2.36012L4.66016 3.02012C4.0535 3.36679 3.84683 4.14679 4.1935 4.75345C4.80016 5.79345 4.30683 6.64679 3.10016 6.64679C2.40683 6.64679 1.8335 7.21345 1.8335 7.91345V9.08679C1.8335 9.78012 2.40016 10.3535 3.10016 10.3535C4.30683 10.3535 4.80016 11.2068 4.1935 12.2535C3.84683 12.8601 4.0535 13.6335 4.66016 13.9801L5.8135 14.6401C6.34016 14.9535 7.02016 14.7668 7.3335 14.2401L7.40683 14.1135C8.00683 13.0668 8.9935 13.0668 9.60016 14.1135L9.6735 14.2401C9.98683 14.7668 10.6668 14.9535 11.1935 14.6401L12.3468 13.9801C12.9535 13.6335 13.1602 12.8535 12.8135 12.2535C12.2068 11.2068 12.7002 10.3535 13.9068 10.3535C14.6002 10.3535 15.1735 9.78679 15.1735 9.08679V7.91345C15.1668 7.22012 14.6002 6.64679 13.9002 6.64679ZM8.50016 10.6668C7.30683 10.6668 6.3335 9.69345 6.3335 8.50012C6.3335 7.30679 7.30683 6.33345 8.50016 6.33345C9.6935 6.33345 10.6668 7.30679 10.6668 8.50012C10.6668 9.69345 9.6935 10.6668 8.50016 10.6668Z",fill:"#currentColor"})}),"settings-2":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M2.00049 12.8799V11.1199C2.00049 10.0799 2.85049 9.21994 3.90049 9.21994C5.71049 9.21994 6.45049 7.93994 5.54049 6.36994C5.02049 5.46994 5.33049 4.29994 6.24049 3.77994L7.97049 2.78994C8.76049 2.31994 9.78049 2.59994 10.2505 3.38994L10.3605 3.57994C11.2605 5.14994 12.7405 5.14994 13.6505 3.57994L13.7605 3.38994C14.2305 2.59994 15.2505 2.31994 16.0405 2.78994L17.7705 3.77994C18.6805 4.29994 18.9905 5.46994 18.4705 6.36994C17.5605 7.93994 18.3005 9.21994 20.1105 9.21994C21.1505 9.21994 22.0105 10.0699 22.0105 11.1199V12.8799C22.0105 13.9199 21.1605 14.7799 20.1105 14.7799C18.3005 14.7799 17.5605 16.0599 18.4705 17.6299C18.9905 18.5399 18.6805 19.6999 17.7705 20.2199L16.0405 21.2099C15.2505 21.6799 14.2305 21.3999 13.7605 20.6099L13.6505 20.4199C12.7505 18.8499 11.2705 18.8499 10.3605 20.4199L10.2505 20.6099C9.78049 21.3999 8.76049 21.6799 7.97049 21.2099L6.24049 20.2199C5.33049 19.6999 5.02049 18.5299 5.54049 17.6299C6.45049 16.0599 5.71049 14.7799 3.90049 14.7799C2.85049 14.7799 2.00049 13.9199 2.00049 12.8799Z",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"pen-fill":a.jsxs("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M14.5 15.1665H2.5C2.22667 15.1665 2 14.9398 2 14.6665C2 14.3932 2.22667 14.1665 2.5 14.1665H14.5C14.7733 14.1665 15 14.3932 15 14.6665C15 14.9398 14.7733 15.1665 14.5 15.1665Z",fill:"#currentColor"}),a.jsx("path",{d:"M13.1799 2.81994C11.8866 1.52661 10.6199 1.49328 9.29322 2.81994L8.48655 3.62661C8.41989 3.69328 8.39322 3.79994 8.41989 3.89328C8.92655 5.65994 10.3399 7.07328 12.1066 7.57994C12.1332 7.58661 12.1599 7.59328 12.1866 7.59328C12.2599 7.59328 12.3266 7.56661 12.3799 7.51328L13.1799 6.70661C13.8399 6.05328 14.1599 5.41994 14.1599 4.77994C14.1666 4.11994 13.8466 3.47994 13.1799 2.81994Z",fill:"#currentColor"}),a.jsx("path",{d:"M10.9066 8.18654C10.7132 8.0932 10.5266 7.99987 10.3466 7.8932C10.1999 7.80654 10.0599 7.7132 9.91989 7.6132C9.80655 7.53987 9.67322 7.4332 9.54655 7.32654C9.53322 7.31987 9.48655 7.27987 9.43322 7.22654C9.21322 7.03987 8.96655 6.79987 8.74655 6.5332C8.72655 6.51987 8.69322 6.4732 8.64655 6.4132C8.57989 6.3332 8.46655 6.19987 8.36655 6.04654C8.28655 5.94654 8.19322 5.79987 8.10655 5.6532C7.99989 5.4732 7.90655 5.2932 7.81322 5.10654C7.69085 4.84431 7.34668 4.76641 7.14206 4.97103L3.39322 8.71987C3.30655 8.80654 3.22655 8.9732 3.20655 9.08654L2.84655 11.6399C2.77989 12.0932 2.90655 12.5199 3.18655 12.8065C3.42655 13.0399 3.75989 13.1665 4.11989 13.1665C4.19989 13.1665 4.27989 13.1599 4.35989 13.1465L6.91989 12.7865C7.03989 12.7665 7.20655 12.6865 7.28655 12.5999L11.0416 8.84484C11.2421 8.64432 11.1668 8.29929 10.9066 8.18654Z",fill:"#currentColor"})]}),"document-text1-outline":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",children:[a.jsx("path",{d:"M22 10v5c0 5-2 7-7 7H9c-5 0-7-2-7-7V9c0-5 2-7 7-7h5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M22 10h-4c-3 0-4-1-4-4V2l8 8ZM7 13h6M7 17h4",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),notification:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12.0186 2.91016C8.70862 2.91016 6.01862 5.60016 6.01862 8.91016V11.8002C6.01862 12.4102 5.75862 13.3402 5.44862 13.8602L4.29862 15.7702C3.58862 16.9502 4.07862 18.2602 5.37862 18.7002C9.68862 20.1402 14.3386 20.1402 18.6486 18.7002C19.8586 18.3002 20.3886 16.8702 19.7286 15.7702L18.5786 13.8602C18.2786 13.3402 18.0186 12.4102 18.0186 11.8002V8.91016C18.0186 5.61016 15.3186 2.91016 12.0186 2.91016Z",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round"}),a.jsx("path",{d:"M13.8699 3.19994C13.5599 3.10994 13.2399 3.03994 12.9099 2.99994C11.9499 2.87994 11.0299 2.94994 10.1699 3.19994C10.4599 2.45994 11.1799 1.93994 12.0199 1.93994C12.8599 1.93994 13.5799 2.45994 13.8699 3.19994Z",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M15.019 19.0601C15.019 20.7101 13.669 22.0601 12.019 22.0601C11.199 22.0601 10.439 21.7201 9.89904 21.1801C9.35904 20.6401 9.01904 19.8801 9.01904 19.0601",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10"})]}),"message-question-outline":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M17.0005 18.4302H13.0005L8.55048 21.3902C7.89048 21.8302 7.00049 21.3602 7.00049 20.5602V18.4302C4.00049 18.4302 2.00049 16.4302 2.00049 13.4302V7.43018C2.00049 4.43018 4.00049 2.43018 7.00049 2.43018H17.0005C20.0005 2.43018 22.0005 4.43018 22.0005 7.43018V13.4302C22.0005 16.4302 20.0005 18.4302 17.0005 18.4302Z",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M11.9993 11.3599V11.1499C11.9993 10.4699 12.4194 10.1099 12.8394 9.81989C13.2494 9.53989 13.6593 9.1799 13.6593 8.5199C13.6593 7.5999 12.9193 6.85986 11.9993 6.85986C11.0793 6.85986 10.3394 7.5999 10.3394 8.5199",stroke:"#currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M11.995 13.75H12.004",stroke:"#currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),"add-circle":a.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M15.9989 2.6665C8.65219 2.6665 2.66553 8.65317 2.66553 15.9998C2.66553 23.3465 8.65219 29.3332 15.9989 29.3332C23.3455 29.3332 29.3322 23.3465 29.3322 15.9998C29.3322 8.65317 23.3455 2.6665 15.9989 2.6665ZM21.3322 16.9998H16.9989V21.3332C16.9989 21.8798 16.5455 22.3332 15.9989 22.3332C15.4522 22.3332 14.9989 21.8798 14.9989 21.3332V16.9998H10.6655C10.1189 16.9998 9.66553 16.5465 9.66553 15.9998C9.66553 15.4532 10.1189 14.9998 10.6655 14.9998H14.9989V10.6665C14.9989 10.1198 15.4522 9.6665 15.9989 9.6665C16.5455 9.6665 16.9989 10.1198 16.9989 10.6665V14.9998H21.3322C21.8789 14.9998 22.3322 15.4532 22.3322 15.9998C22.3322 16.5465 21.8789 16.9998 21.3322 16.9998Z"})}),copy:a.jsxs("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M11.1668 8.60016V11.4002C11.1668 13.7335 10.2335 14.6668 7.90016 14.6668H5.10016C2.76683 14.6668 1.8335 13.7335 1.8335 11.4002V8.60016C1.8335 6.26683 2.76683 5.3335 5.10016 5.3335H7.90016C10.2335 5.3335 11.1668 6.26683 11.1668 8.60016Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M15.1668 4.60016V7.40016C15.1668 9.7335 14.2335 10.6668 11.9002 10.6668H11.1668V8.60016C11.1668 6.26683 10.2335 5.3335 7.90016 5.3335H5.8335V4.60016C5.8335 2.26683 6.76683 1.3335 9.10016 1.3335H11.9002C14.2335 1.3335 15.1668 2.26683 15.1668 4.60016Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),action:a.jsxs("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M8.8335 15.9456C8.8335 16.8623 9.5835 17.6123 10.5002 17.6123C11.4168 17.6123 12.1668 16.8623 12.1668 15.9456C12.1668 15.029 11.4168 14.279 10.5002 14.279C9.5835 14.279 8.8335 15.029 8.8335 15.9456Z",stroke:"#currentColor",strokeWidth:"1.5"}),a.jsx("path",{d:"M8.8335 4.27913C8.8335 5.1958 9.5835 5.9458 10.5002 5.9458C11.4168 5.9458 12.1668 5.1958 12.1668 4.27913C12.1668 3.36247 11.4168 2.61247 10.5002 2.61247C9.5835 2.61247 8.8335 3.36247 8.8335 4.27913Z",stroke:"#currentColor",strokeWidth:"1.5"}),a.jsx("path",{d:"M8.8335 10.1121C8.8335 11.0288 9.5835 11.7788 10.5002 11.7788C11.4168 11.7788 12.1668 11.0288 12.1668 10.1121C12.1668 9.19547 11.4168 8.44547 10.5002 8.44547C9.5835 8.44547 8.8335 9.19547 8.8335 10.1121Z",stroke:"#currentColor",strokeWidth:"1.5"})]}),"info-circle":a.jsxs("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M10.4998 18.4455C15.0832 18.4455 18.8332 14.6955 18.8332 10.1121C18.8332 5.52881 15.0832 1.77881 10.4998 1.77881C5.9165 1.77881 2.1665 5.52881 2.1665 10.1121C2.1665 14.6955 5.9165 18.4455 10.4998 18.4455Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M10.5 6.77881V10.9455",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M10.4956 13.4458H10.5031",stroke:"#currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),"info-circle-filled":a.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M9.0013 0.666748C4.40964 0.666748 0.667969 4.40841 0.667969 9.00008C0.667969 13.5917 4.40964 17.3334 9.0013 17.3334C13.593 17.3334 17.3346 13.5917 17.3346 9.00008C17.3346 4.40841 13.593 0.666748 9.0013 0.666748ZM8.3763 5.66675C8.3763 5.32508 8.65964 5.04175 9.0013 5.04175C9.34297 5.04175 9.6263 5.32508 9.6263 5.66675V9.83342C9.6263 10.1751 9.34297 10.4584 9.0013 10.4584C8.65964 10.4584 8.3763 10.1751 8.3763 9.83342V5.66675ZM9.76797 12.6501C9.7263 12.7584 9.66797 12.8417 9.59297 12.9251C9.50964 13.0001 9.41797 13.0584 9.31797 13.1001C9.21797 13.1417 9.10964 13.1667 9.0013 13.1667C8.89297 13.1667 8.78464 13.1417 8.68464 13.1001C8.58464 13.0584 8.49297 13.0001 8.40964 12.9251C8.33464 12.8417 8.2763 12.7584 8.23464 12.6501C8.19297 12.5501 8.16797 12.4417 8.16797 12.3334C8.16797 12.2251 8.19297 12.1167 8.23464 12.0167C8.2763 11.9167 8.33464 11.8251 8.40964 11.7417C8.49297 11.6667 8.58464 11.6084 8.68464 11.5667C8.88464 11.4834 9.11797 11.4834 9.31797 11.5667C9.41797 11.6084 9.50964 11.6667 9.59297 11.7417C9.66797 11.8251 9.7263 11.9167 9.76797 12.0167C9.80964 12.1167 9.83464 12.2251 9.83464 12.3334C9.83464 12.4417 9.80964 12.5501 9.76797 12.6501Z",fill:"#currentColor"})}),"course-up-line-duotone":a.jsxs("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.5",d:"M18.8332 5.9458L12.6832 12.0583C11.8523 12.8841 11.4365 13.2975 10.9207 13.2975C10.4048 13.2975 9.98984 12.8841 9.15817 12.0575L8.95817 11.8591C8.12734 11.0325 7.71067 10.6183 7.19484 10.6183C6.679 10.6183 6.26317 11.0325 5.43234 11.86L2.1665 15.1125",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M18.8333 10.5675V5.9458H14.1816",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"course-down-line-duotone":a.jsxs("svg",{width:"27",height:"27",viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsxs("g",{clipPath:"url(#clip0_13667_69012)",children:[a.jsx("path",{opacity:"0.5",d:"M20.7041 19.1552L12.6745 15.8825C11.5897 15.4404 11.0467 15.2191 10.8452 14.7443C10.6436 14.2694 10.8619 13.7259 11.2979 12.6374L11.4024 12.3758C11.8387 11.288 12.0571 10.7426 11.8556 10.2678C11.654 9.79295 11.1103 9.572 10.0239 9.13054L5.75393 7.39518",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M16.45 20.9612L20.7043 19.1554L18.8867 14.8735",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),a.jsx("defs",{children:a.jsx("clipPath",{id:"clip0_13667_69012",children:a.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(18.9102) rotate(67)"})})})]}),more:a.jsxs("svg",{width:"29",height:"21",viewBox:"0 0 29 21",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12.8335 16.6667C12.8335 17.8125 13.771 18.75 14.9168 18.75C16.0627 18.75 17.0002 17.8125 17.0002 16.6667C17.0002 15.5208 16.0627 14.5833 14.9168 14.5833C13.771 14.5833 12.8335 15.5208 12.8335 16.6667Z",fill:"#currentColor"}),a.jsx("path",{d:"M12.8335 10.4997C12.8335 11.6455 13.771 12.583 14.9168 12.583C16.0627 12.583 17.0002 11.6455 17.0002 10.4997C17.0002 9.35384 16.0627 8.41634 14.9168 8.41634C13.771 8.41634 12.8335 9.35384 12.8335 10.4997Z",fill:"#currentColor"}),a.jsx("path",{d:"M12.8335 4.33366C12.8335 5.47949 13.771 6.41699 14.9168 6.41699C16.0627 6.41699 17.0002 5.47949 17.0002 4.33366C17.0002 3.18783 16.0627 2.25033 14.9168 2.25033C13.771 2.25033 12.8335 3.18783 12.8335 4.33366Z",fill:"#currentColor"})]}),"image-upload":a.jsx("svg",{width:"35",height:"34",viewBox:"0 0 35 34",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M18.3186 1.18412L18.319 1.18457L24.9824 8.0185C25.1948 8.24551 25.3142 8.55126 25.3115 8.87096C25.3088 9.192 25.1831 9.49666 24.9654 9.71996C24.7481 9.94286 24.4567 10.0669 24.1549 10.0696C23.8544 10.0723 23.5623 9.95446 23.3417 9.73735L19.5234 5.82129L18.6654 4.94133V6.17034V20.8467C18.6654 21.1714 18.5395 21.4804 18.3192 21.7063C18.0994 21.9317 17.804 22.056 17.4987 22.056C17.1934 22.056 16.898 21.9317 16.6782 21.7063C16.4579 21.4804 16.332 21.1714 16.332 20.8467V6.17034V4.94133L15.474 5.82129L11.6524 9.74079L11.6521 9.74104C11.4323 9.96683 11.1367 10.0914 10.8312 10.0916C10.5257 10.0919 10.2299 9.96771 10.0098 9.74224C9.78921 9.51635 9.663 9.20722 9.66277 8.88221C9.66255 8.55732 9.78825 8.24811 10.0084 8.02191C10.0084 8.02182 10.0085 8.02174 10.0086 8.02165L16.675 1.18457L16.6755 1.18412C16.7844 1.07207 16.9132 0.983874 17.054 0.923935C17.1949 0.864008 17.3454 0.833336 17.497 0.833336C17.6487 0.833336 17.7992 0.864008 17.94 0.923935C18.0809 0.983874 18.2096 1.07207 18.3186 1.18412ZM22.9987 20.8467V20.492H30.832C31.5793 20.492 32.2987 20.7964 32.8311 21.3424C33.3639 21.8888 33.6654 22.6326 33.6654 23.4107V30.248C33.6654 31.0261 33.3639 31.7699 32.8311 32.3163C32.2987 32.8623 31.5793 33.1667 30.832 33.1667H4.16536C3.41805 33.1667 2.69872 32.8623 2.16634 32.3163C1.63353 31.7699 1.33203 31.0261 1.33203 30.248V23.4107C1.33203 22.6326 1.63353 21.8888 2.16634 21.3424C2.69872 20.7964 3.41805 20.492 4.16536 20.492H11.9987V20.8467C11.9987 22.3353 12.5752 23.7654 13.6052 24.8218C14.6356 25.8786 16.0359 26.4747 17.4987 26.4747C18.9615 26.4747 20.3618 25.8786 21.3922 24.8218C22.4222 23.7654 22.9987 22.3353 22.9987 20.8467ZM24.9938 30.2283C25.4874 30.5666 26.0692 30.748 26.6654 30.748C27.4652 30.748 28.2295 30.422 28.7911 29.8461C29.3523 29.2706 29.6654 28.4926 29.6654 27.684C29.6654 27.0808 29.491 26.4901 29.163 25.9866C28.8349 25.483 28.3672 25.0885 27.8176 24.855C27.2678 24.6215 26.6622 24.5601 26.0777 24.6794C25.4933 24.7986 24.9583 25.0925 24.5396 25.5219C24.121 25.9512 23.8374 26.4966 23.7225 27.0886C23.6078 27.6805 23.6666 28.2941 23.8921 28.8524C24.1176 29.4109 24.5003 29.8902 24.9938 30.2283Z",fill:"#currentColor",stroke:"#currentColor"})}),folder:a.jsxs("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.4",d:"M21.4588 2.6665H11.5388C11.0321 2.6665 10.6055 3.09317 10.6055 3.59984C10.6055 4.1065 11.0321 4.53317 11.5388 4.53317H15.8855L17.7521 7.01317C18.1655 7.55984 18.2188 7.63984 18.9921 7.63984H23.9521C24.4588 7.63984 24.9521 7.7065 25.4321 7.83984C25.4855 8.07984 25.5121 8.31984 25.5121 8.57317V9.03984C25.5121 9.5465 25.9388 9.97317 26.4455 9.97317C26.9521 9.97317 27.3788 9.5465 27.3788 9.03984V8.55984C27.3521 5.3065 24.7121 2.6665 21.4588 2.6665Z",fill:"#currentColor"}),a.jsx("path",{d:"M27.3527 8.71984C26.7793 8.3065 26.126 7.99984 25.4193 7.8265C24.9527 7.69317 24.446 7.6265 23.9393 7.6265H18.9793C18.206 7.6265 18.1527 7.5465 17.7393 6.99984L15.8727 4.51984C15.006 3.37317 14.326 2.6665 12.1527 2.6665H9.05935C5.80602 2.6665 3.16602 5.3065 3.16602 8.55984V23.4398C3.16602 26.6932 5.80602 29.3332 9.05935 29.3332H23.9393C27.1927 29.3332 29.8327 26.6932 29.8327 23.4398V13.5198C29.8327 11.5332 28.8593 9.7865 27.3527 8.71984ZM19.606 21.3332H13.3927C12.8727 21.3332 12.4593 20.9198 12.4593 20.3998C12.4593 19.8932 12.8727 19.4665 13.3927 19.4665H19.5927C20.0993 19.4665 20.526 19.8932 20.526 20.3998C20.526 20.9198 20.1127 21.3332 19.606 21.3332Z",fill:"#currentColor"})]}),"wallet-is-empty":a.jsx("svg",{width:"366",height:"306",viewBox:"0 0 366 306",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsxs("g",{id:"Wallet is Empty",children:[a.jsx("path",{id:"Fill 1",fillRule:"evenodd",clipRule:"evenodd",d:"M246.294 291.811C246.294 294.185 215.743 296.11 178.056 296.11C140.369 296.11 109.816 294.185 109.816 291.811C109.816 289.438 140.369 287.513 178.056 287.513C215.743 287.513 246.294 289.438 246.294 291.811Z",fill:"#DCDCE2"}),a.jsx("path",{id:"Fill 13",fillRule:"evenodd",clipRule:"evenodd",d:"M198.75 4.96247C197.407 4.6389 196.574 3.28452 196.898 1.92805C197.22 0.580921 198.578 -0.253906 199.92 0.0696541C201.269 0.395288 202.093 1.75486 201.772 3.10303C201.448 4.45846 200.1 5.28706 198.75 4.96247Z",fill:"#DCDCE2"}),a.jsx("path",{id:"Stroke 25",d:"M14.168 170.379V173.603",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 27",d:"M7.72266 173.603L9.87191 175.752",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 29",d:"M4.5 180.051H7.72388",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 31",d:"M7.72266 186.498L9.87191 184.349",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 33",d:"M14.168 189.722V186.498",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 35",d:"M20.618 186.498L18.4688 184.349",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 37",d:"M23.8372 180.051H20.6133",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 39",d:"M20.618 173.603L18.4688 175.752",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 41",d:"M179.66 38.2V40.3493",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 43",d:"M174.293 43.5732H176.442",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 45",d:"M179.66 50.0209V47.8716",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 47",d:"M186.11 44.6478H183.961",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 49",d:"M61.4531 123.095V126.319",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 51",d:"M51.7852 132.767H55.009",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 53",d:"M60.375 141.364V138.14",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 55",d:"M70.0559 132.767H66.832",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 57",d:"M280.674 235.931C283.047 235.931 284.972 237.856 284.972 240.23C284.972 242.603 283.047 244.528 280.674 244.528C278.3 244.528 276.375 242.603 276.375 240.23",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 59",d:"M301.019 294.541C301.568 298.379 298.915 301.936 295.096 302.486C291.28 303.036 287.74 300.371 287.193 296.533C286.645 292.695 289.297 289.138 293.116 288.588",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Fill 61",fillRule:"evenodd",clipRule:"evenodd",d:"M301.102 195.095C303.707 194.271 307.7 191.045 308.624 187.573C309.462 190.642 312.975 194.271 316.146 194.546C312.578 195.827 309.166 199.631 308.624 202.618C308.256 199.572 303.537 195.539 301.102 195.095Z",fill:"#EBECEF"}),a.jsx("path",{id:"Fill 63",fillRule:"evenodd",clipRule:"evenodd",d:"M31.3711 234.318C32.6742 233.907 34.6704 232.293 35.1328 230.558C35.5516 232.092 37.3076 233.907 38.8935 234.045C37.1088 234.685 35.4028 236.586 35.1328 238.08C34.9479 236.558 32.5892 234.54 31.3711 234.318Z",fill:"#EBECEF"}),a.jsx("path",{id:"Fill 65",fillRule:"evenodd",clipRule:"evenodd",d:"M55.0103 91.9313C55.0103 93.7125 53.5666 95.1552 51.7864 95.1552C50.0052 95.1552 48.5625 93.7125 48.5625 91.9313C48.5625 90.1501 50.0052 88.7075 51.7864 88.7075C53.5666 88.7075 55.0103 90.1501 55.0103 91.9313Z",fill:"#D1D9E0"}),a.jsx("path",{id:"Fill 69",fillRule:"evenodd",clipRule:"evenodd",d:"M364.495 85.4829C364.495 87.8579 362.571 89.7819 360.197 89.7819C357.823 89.7819 355.898 87.8579 355.898 85.4829C355.898 83.109 357.823 81.1849 360.197 81.1849C362.571 81.1849 364.495 83.109 364.495 85.4829Z",fill:"#EBECEF"}),a.jsx("path",{id:"Stroke 73",fillRule:"evenodd",clipRule:"evenodd",d:"M117.342 69.3641C117.342 71.1453 115.899 72.588 114.118 72.588C112.337 72.588 110.895 71.1453 110.895 69.3641C110.895 67.5829 112.337 66.1403 114.118 66.1403C115.899 66.1403 117.342 67.5829 117.342 69.3641Z",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 75",fillRule:"evenodd",clipRule:"evenodd",d:"M67.2797 273.261C65.0614 274.105 62.5795 272.991 61.7356 270.773C60.8906 268.554 62.0057 266.072 64.224 265.228C66.4423 264.383 68.9242 265.498 69.7681 267.717C70.612 269.935 69.498 272.417 67.2797 273.261Z",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),a.jsx("g",{id:"menu",children:a.jsx("g",{id:"vuesax/bold/menu",children:a.jsxs("g",{id:"menu_2",children:[a.jsx("path",{id:"Vector",d:"M235.214 136.436C250.344 136.436 262.608 124.171 262.608 109.042C262.608 93.9123 250.344 81.6476 235.214 81.6476C220.085 81.6476 207.82 93.9123 207.82 109.042C207.82 124.171 220.085 136.436 235.214 136.436Z",fill:"#F4F4F5"}),a.jsx("path",{id:"Vector_2",d:"M132.675 136.436C147.804 136.436 160.069 124.171 160.069 109.042C160.069 93.9123 147.804 81.6476 132.675 81.6476C117.546 81.6476 105.281 93.9123 105.281 109.042C105.281 124.171 117.546 136.436 132.675 136.436Z",fill:"#F4F4F5"}),a.jsx("path",{id:"Vector_3",d:"M235.214 250.269C250.344 250.269 262.608 238.004 262.608 222.875C262.608 207.745 250.344 195.481 235.214 195.481C220.085 195.481 207.82 207.745 207.82 222.875C207.82 238.004 220.085 250.269 235.214 250.269Z",fill:"#F4F4F5"}),a.jsx("path",{id:"Vector_4",d:"M132.675 250.269C147.804 250.269 160.069 238.004 160.069 222.875C160.069 207.745 147.804 195.481 132.675 195.481C117.546 195.481 105.281 207.745 105.281 222.875C105.281 238.004 117.546 250.269 132.675 250.269Z",fill:"#F4F4F5"})]})})})]})}),"money-bulk":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{opacity:".4",d:"M17 20.5H7c-3 0-5-1.5-5-5v-7c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5v7c0 3.5-2 5-5 5Z",fill:"#currentColor"}),a.jsx("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM5.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM18.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75Z",fill:"#currentColor"})]}),"money-time-bulk":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{d:"M5 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4Zm1 3.68c0 .61-.33 1.19-.85 1.5l-.76.46c-.12.07-.25.11-.38.11-.25 0-.5-.13-.64-.36-.21-.35-.1-.82.26-1.03l.76-.46c.07-.04.12-.13.12-.21v-.93c0-.41.34-.75.75-.75s.75.34.75.75v.92H6Z",fill:"#currentColor"}),a.jsx("path",{opacity:".4",d:"M22 9v6c0 3.5-2 5-5 5H8.45c.35-.59.55-1.27.55-2 0-2.21-1.79-4-4-4-1.2 0-2.27.53-3 1.36V9c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5Z",fill:"#currentColor"}),a.jsx("path",{d:"M12 14.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM18.5 14.75c-.41 0-.75-.34-.75-.75v-4c0-.41.34-.75.75-.75s.75.34.75.75v4c0 .41-.34.75-.75.75Z",fill:"#currentColor"})]}),"note-1-bulk":a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[a.jsx("path",{opacity:".4",d:"M7.37 22h9.25a4.87 4.87 0 0 0 4.87-4.87V8.37a4.87 4.87 0 0 0-4.87-4.87H7.37A4.87 4.87 0 0 0 2.5 8.37v8.75c0 2.7 2.18 4.88 4.87 4.88Z",fill:"#currentColor"}),a.jsx("path",{d:"M8.29 6.29c-.42 0-.75-.34-.75-.75V2.75a.749.749 0 1 1 1.5 0v2.78c0 .42-.33.76-.75.76ZM15.71 6.29c-.42 0-.75-.34-.75-.75V2.75a.749.749 0 1 1 1.5 0v2.78c0 .42-.33.76-.75.76ZM14.78 13.71H7.36a.749.749 0 1 1 0-1.5h7.42a.749.749 0 1 1 0 1.5ZM12 17.422H7.36a.749.749 0 1 1 0-1.5H12a.749.749 0 1 1 0 1.5Z",fill:"#currentColor"})]}),"hamburger-menu":a.jsxs("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M3.5 7H21.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),a.jsx("path",{d:"M3.5 12H21.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),a.jsx("path",{d:"M3.5 17H21.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),category:a.jsxs("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M5.5 10H7.5C9.5 10 10.5 9 10.5 7V5C10.5 3 9.5 2 7.5 2H5.5C3.5 2 2.5 3 2.5 5V7C2.5 9 3.5 10 5.5 10Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M17.5 10H19.5C21.5 10 22.5 9 22.5 7V5C22.5 3 21.5 2 19.5 2H17.5C15.5 2 14.5 3 14.5 5V7C14.5 9 15.5 10 17.5 10Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M17.5 22H19.5C21.5 22 22.5 21 22.5 19V17C22.5 15 21.5 14 19.5 14H17.5C15.5 14 14.5 15 14.5 17V19C14.5 21 15.5 22 17.5 22Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M5.5 22H7.5C9.5 22 10.5 21 10.5 19V17C10.5 15 9.5 14 7.5 14H5.5C3.5 14 2.5 15 2.5 17V19C2.5 21 3.5 22 5.5 22Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),group:a.jsx("svg",{width:"5",height:"21",viewBox:"0 0 5 21",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M2.5 14C3.03043 14 3.53914 14.2107 3.91421 14.5858C4.28929 14.9609 4.5 15.4696 4.5 16C4.5 16.5304 4.28929 17.0391 3.91421 17.4142C3.53914 17.7893 3.03043 18 2.5 18C1.96957 18 1.46086 17.7893 1.08579 17.4142C0.710714 17.0391 0.5 16.5304 0.5 16C0.5 15.4696 0.710714 14.9609 1.08579 14.5858C1.46086 14.2107 1.96957 14 2.5 14ZM2.5 7C3.03043 7 3.53914 7.21071 3.91421 7.58579C4.28929 7.96086 4.5 8.46957 4.5 9C4.5 9.53043 4.28929 10.0391 3.91421 10.4142C3.53914 10.7893 3.03043 11 2.5 11C1.96957 11 1.46086 10.7893 1.08579 10.4142C0.710714 10.0391 0.5 9.53043 0.5 9C0.5 8.46957 0.710714 7.96086 1.08579 7.58579C1.46086 7.21071 1.96957 7 2.5 7ZM2.5 0C3.03043 0 3.53914 0.210714 3.91421 0.585786C4.28929 0.960859 4.5 1.46957 4.5 2C4.5 2.53043 4.28929 3.03914 3.91421 3.41421C3.53914 3.78929 3.03043 4 2.5 4C1.96957 4 1.46086 3.78929 1.08579 3.41421C0.710714 3.03914 0.5 2.53043 0.5 2C0.5 1.46957 0.710714 0.960859 1.08579 0.585786C1.46086 0.210714 1.96957 0 2.5 0Z",fill:"#currentColor"})}),trash:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M21 5.98047C17.67 5.65047 14.32 5.48047 10.98 5.48047C9 5.48047 7.02 5.58047 5.04 5.78047L3 5.98047",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M8.5 4.97L8.72 3.66C8.88 2.71 9 2 10.69 2H13.31C15 2 15.13 2.75 15.28 3.67L15.5 4.97",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M18.8484 9.13965L18.1984 19.2096C18.0884 20.7796 17.9984 21.9996 15.2084 21.9996H8.78844C5.99844 21.9996 5.90844 20.7796 5.79844 19.2096L5.14844 9.13965",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M10.3281 16.5H13.6581",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M9.5 12.5H14.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),timer:a.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M11.4288 1.5H6.56881C3.74881 1.5 3.53131 4.035 5.05381 5.415L12.9438 12.585C14.4663 13.965 14.2488 16.5 11.4288 16.5H6.56881C3.74881 16.5 3.53131 13.965 5.05381 12.585L12.9438 5.415C14.4663 4.035 14.2488 1.5 11.4288 1.5Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),eye:a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12.9823 10C12.9823 11.65 11.649 12.9833 9.99896 12.9833C8.34896 12.9833 7.01562 11.65 7.01562 10C7.01562 8.35 8.34896 7.01666 9.99896 7.01666C11.649 7.01666 12.9823 8.35 12.9823 10Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M10.0018 16.8917C12.9435 16.8917 15.6852 15.1583 17.5935 12.1583C18.3435 10.9833 18.3435 9.00834 17.5935 7.83334C15.6852 4.83334 12.9435 3.10001 10.0018 3.10001C7.06016 3.10001 4.31849 4.83334 2.41016 7.83334C1.66016 9.00834 1.66016 10.9833 2.41016 12.1583C4.31849 15.1583 7.06016 16.8917 10.0018 16.8917Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"eye-slash":a.jsxs("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M15.0319 9.47188L9.97188 14.5319C9.32188 13.8819 8.92188 12.9919 8.92188 12.0019C8.92188 10.0219 10.5219 8.42188 12.5019 8.42188C13.4919 8.42188 14.3819 8.82188 15.0319 9.47188Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M18.3237 5.77047C16.5737 4.45047 14.5737 3.73047 12.5037 3.73047C8.97375 3.73047 5.68375 5.81047 3.39375 9.41047C2.49375 10.8205 2.49375 13.1905 3.39375 14.6005C4.18375 15.8405 5.10375 16.9105 6.10375 17.7705",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M8.92188 19.5297C10.0619 20.0097 11.2719 20.2697 12.5019 20.2697C16.0319 20.2697 19.3219 18.1897 21.6119 14.5897C22.5119 13.1797 22.5119 10.8097 21.6119 9.39969C21.2819 8.87969 20.9219 8.38969 20.5519 7.92969",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M16.0075 12.6992C15.7475 14.1092 14.5975 15.2592 13.1875 15.5192",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M9.97 14.5312L2.5 22.0013",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M22.5013 2L15.0312 9.47",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),repeat:a.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M2.38281 3.43945H11.6095C12.7162 3.43945 13.6095 4.33279 13.6095 5.43945V7.65279",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M4.48948 1.33301L2.38281 3.43966L4.48948 5.54635",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M13.6095 12.56H4.38281C3.27615 12.56 2.38281 11.6667 2.38281 10.56V8.34668",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M11.5 14.6665L13.6067 12.5598L11.5 10.4531",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"add-square":a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M11.1425 0.5H4.8575C2.1275 0.5 0.5 2.1275 0.5 4.8575V11.135C0.5 13.8725 2.1275 15.5 4.8575 15.5H11.135C13.865 15.5 15.4925 13.8725 15.4925 11.1425V4.8575C15.5 2.1275 13.8725 0.5 11.1425 0.5ZM12.5 8.5625H8.5625V12.5C8.5625 12.8075 8.3075 13.0625 8 13.0625C7.6925 13.0625 7.4375 12.8075 7.4375 12.5V8.5625H3.5C3.1925 8.5625 2.9375 8.3075 2.9375 8C2.9375 7.6925 3.1925 7.4375 3.5 7.4375H7.4375V3.5C7.4375 3.1925 7.6925 2.9375 8 2.9375C8.3075 2.9375 8.5625 3.1925 8.5625 3.5V7.4375H12.5C12.8075 7.4375 13.0625 7.6925 13.0625 8C13.0625 8.3075 12.8075 8.5625 12.5 8.5625Z",fill:"#currentColor"})}),"tick-circle":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.75 12.0019L10.58 14.8319L16.25 9.17188",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"add-square-fill":a.jsxs("svg",{width:"73",height:"72",viewBox:"0 0 73 72",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.4",d:"M49.07 6H23.93C13.01 6 6.5 12.51 6.5 23.43V48.54C6.5 59.49 13.01 66 23.93 66H49.04C59.96 66 66.47 59.49 66.47 48.57V23.43C66.5 12.51 59.99 6 49.07 6Z",fill:"#currentColor"}),a.jsx("path",{d:"M48.5 33.75H38.75V24C38.75 22.77 37.73 21.75 36.5 21.75C35.27 21.75 34.25 22.77 34.25 24V33.75H24.5C23.27 33.75 22.25 34.77 22.25 36C22.25 37.23 23.27 38.25 24.5 38.25H34.25V48C34.25 49.23 35.27 50.25 36.5 50.25C37.73 50.25 38.75 49.23 38.75 48V38.25H48.5C49.73 38.25 50.75 37.23 50.75 36C50.75 34.77 49.73 33.75 48.5 33.75Z",fill:"#currentColor"})]}),"arrow-down-right":a.jsxs("svg",{width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M11.6797 18.5004L16.8897 13.2904C17.004 13.1778 17.0947 13.0436 17.1567 12.8957C17.2186 12.7477 17.2505 12.5889 17.2505 12.4284C17.2505 12.268 17.2186 12.1092 17.1567 11.9612C17.0947 11.8132 17.004 11.679 16.8897 11.5664L11.6797 6.35742",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M0.75 1.5V8.786C0.75 9.75218 1.13381 10.6788 1.81701 11.362C2.5002 12.0452 3.42682 12.429 4.393 12.429H17.24",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),logout:a.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M17.4395 15.12L19.9995 12.56L17.4395 10",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M9.75977 12.5596H19.9298",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M11.7598 20.5C7.33977 20.5 3.75977 17.5 3.75977 12.5C3.75977 7.5 7.33977 4.5 11.7598 4.5",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),image:a.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M36.7017 28.0338L31.485 15.8338C30.535 13.6004 29.1184 12.3338 27.5017 12.2504C25.9017 12.1671 24.3517 13.2838 23.1684 15.4171L20.0017 21.1004C19.335 22.3004 18.385 23.0171 17.3517 23.1004C16.3017 23.2004 15.2517 22.6504 14.4017 21.5671L14.035 21.1004C12.8517 19.6171 11.385 18.9004 9.88503 19.0504C8.38503 19.2004 7.10169 20.2338 6.25169 21.9171L3.36836 27.6671C2.33503 29.7504 2.43503 32.1671 3.65169 34.1338C4.86836 36.1004 6.98503 37.2838 9.30169 37.2838H30.5684C32.8017 37.2838 34.885 36.1671 36.1184 34.3004C37.385 32.4338 37.585 30.0838 36.7017 28.0338Z",fill:"#currentColor"}),a.jsx("path",{d:"M11.6177 13.9659C14.7289 13.9659 17.251 11.4438 17.251 8.33255C17.251 5.22135 14.7289 2.69922 11.6177 2.69922C8.5065 2.69922 5.98438 5.22135 5.98438 8.33255C5.98438 11.4438 8.5065 13.9659 11.6177 13.9659Z",fill:"#currentColor"})]}),"error-triangle-filled":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M10.2898 3.85996L1.81978 18C1.64514 18.3024 1.55274 18.6453 1.55177 18.9945C1.55079 19.3437 1.64127 19.6871 1.8142 19.9905C1.98714 20.2939 2.2365 20.5467 2.53748 20.7238C2.83847 20.9009 3.18058 20.9961 3.52978 21H20.4698C20.819 20.9961 21.1611 20.9009 21.4621 20.7238C21.7631 20.5467 22.0124 20.2939 22.1854 19.9905C22.3583 19.6871 22.4488 19.3437 22.4478 18.9945C22.4468 18.6453 22.3544 18.3024 22.1798 18L13.7098 3.85996C13.5315 3.56607 13.2805 3.32308 12.981 3.15444C12.6814 2.98581 12.3435 2.89722 11.9998 2.89722C11.656 2.89722 11.3181 2.98581 11.0186 3.15444C10.7191 3.32308 10.468 3.56607 10.2898 3.85996Z",fill:"#currentColor"}),a.jsx("path",{d:"M12 9V13",stroke:"",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M12 16V16.5",stroke:"",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),archive:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M19.5 10.22V19C19.5 21 19 22 16.5 22H7.5C5 22 4.5 21 4.5 19V10.22",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M5 2H19C21 2 22 3 22 5V7C22 9 21 10 19 10H5C3 10 2 9 2 7V5C2 3 3 2 5 2Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M10.1797 14H13.8197",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),lock:a.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M16.0015 23.1338C17.2018 23.1338 18.1748 22.1607 18.1748 20.9604C18.1748 19.7601 17.2018 18.7871 16.0015 18.7871C14.8012 18.7871 13.8281 19.7601 13.8281 20.9604C13.8281 22.1607 14.8012 23.1338 16.0015 23.1338Z",fill:"#currentColor"}),a.jsx("path",{d:"M24.3746 12.706V11.0393C24.3746 7.43935 23.508 2.66602 16.0013 2.66602C8.49464 2.66602 7.62797 7.43935 7.62797 11.0393V12.706C3.89464 13.1727 2.66797 15.066 2.66797 19.7193V22.1993C2.66797 27.666 4.33464 29.3327 9.8013 29.3327H22.2013C27.668 29.3327 29.3346 27.666 29.3346 22.1993V19.7193C29.3346 15.066 28.108 13.1727 24.3746 12.706ZM16.0013 24.986C13.7746 24.986 11.9746 23.1727 11.9746 20.9594C11.9746 18.7327 13.788 16.9327 16.0013 16.9327C18.2146 16.9327 20.028 18.746 20.028 20.9594C20.028 23.186 18.228 24.986 16.0013 24.986ZM9.8013 12.586C9.69464 12.586 9.6013 12.586 9.49464 12.586V11.0393C9.49464 7.13268 10.6013 4.53268 16.0013 4.53268C21.4013 4.53268 22.508 7.13268 22.508 11.0393V12.5993C22.4013 12.5993 22.308 12.5993 22.2013 12.5993H9.8013V12.586Z",fill:"#currentColor"})]}),"lock-outline":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M6 10V8C6 4.69 7 2 12 2C17 2 18 4.69 18 8V10",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M12 18.5C13.3807 18.5 14.5 17.3807 14.5 16C14.5 14.6193 13.3807 13.5 12 13.5C10.6193 13.5 9.5 14.6193 9.5 16C9.5 17.3807 10.6193 18.5 12 18.5Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M17 22H7C3 22 2 21 2 17V15C2 11 3 10 7 10H17C21 10 22 11 22 15V17C22 21 21 22 17 22Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),minus:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",children:a.jsx("path",{d:"M6 12h12",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),"arrow-3":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M10.4478 6.71997L6.72778 3L3.00781 6.71997",fill:"#3F3F46"}),a.jsx("path",{d:"M10.4478 6.71997L6.72778 3L3.00781 6.71997",stroke:"#3F3F46",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M6.72656 21V3",stroke:"#3F3F46",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M13.5469 17.28L17.2669 21L20.9869 17.28",stroke:"#3F3F46",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M17.2656 3V21",stroke:"#3F3F46",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),filter:a.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M3.59896 1.40039H12.399C13.1323 1.40039 13.7323 2.00039 13.7323 2.73372V4.20039C13.7323 4.73372 13.399 5.40039 13.0656 5.73372L10.199 8.26706C9.79896 8.60039 9.53229 9.26706 9.53229 9.80039V12.6671C9.53229 13.0671 9.26563 13.6004 8.93229 13.8004L7.99896 14.4004C7.13229 14.9337 5.93229 14.3337 5.93229 13.2671V9.73372C5.93229 9.26706 5.66563 8.66706 5.39896 8.33372L2.86563 5.66706C2.53229 5.33372 2.26562 4.73372 2.26562 4.33372V2.80039C2.26562 2.00039 2.86563 1.40039 3.59896 1.40039Z",stroke:"#71717A",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.28667 1.40039L4 6.66706",stroke:"#71717A",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),export:a.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M8.66797 7.33385L14.1346 1.86719",stroke:"#71717A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M14.6648 4.53398V1.33398H11.4648",stroke:"#71717A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.33203 1.33398H5.9987C2.66536 1.33398 1.33203 2.66732 1.33203 6.00065V10.0007C1.33203 13.334 2.66536 14.6673 5.9987 14.6673H9.9987C13.332 14.6673 14.6654 13.334 14.6654 10.0007V8.66732",stroke:"#71717A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),pause:a.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M7.1 13.24V3.76C7.1 2.86 6.72 2.5 5.76 2.5H3.34C2.38 2.5 2 2.86 2 3.76V13.24C2 14.14 2.38 14.5 3.34 14.5H5.76C6.72 14.5 7.1 14.14 7.1 13.24Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M13.9984 13.24V3.76C13.9984 2.86 13.6184 2.5 12.6584 2.5H10.2384C9.2851 2.5 8.89844 2.86 8.89844 3.76V13.24C8.89844 14.14 9.27844 14.5 10.2384 14.5H12.6584C13.6184 14.5 13.9984 14.14 13.9984 13.24Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"check-circle":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.75 11.9999L10.58 14.8299L16.25 9.16992",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"money-icon":a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.4",d:"M14.167 17.0846H5.83366C3.33366 17.0846 1.66699 15.8346 1.66699 12.918V7.08464C1.66699 4.16797 3.33366 2.91797 5.83366 2.91797H14.167C16.667 2.91797 18.3337 4.16797 18.3337 7.08464V12.918C18.3337 15.8346 16.667 17.0846 14.167 17.0846Z",fill:"#705BFA"}),a.jsx("path",{d:"M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",fill:"#705BFA"}),a.jsx("path",{d:"M4.58301 12.7096C4.24134 12.7096 3.95801 12.4263 3.95801 12.0846V7.91797C3.95801 7.5763 4.24134 7.29297 4.58301 7.29297C4.92467 7.29297 5.20801 7.5763 5.20801 7.91797V12.0846C5.20801 12.4263 4.92467 12.7096 4.58301 12.7096Z",fill:"#705BFA"}),a.jsx("path",{d:"M15.417 12.7096C15.0753 12.7096 14.792 12.4263 14.792 12.0846V7.91797C14.792 7.5763 15.0753 7.29297 15.417 7.29297C15.7587 7.29297 16.042 7.5763 16.042 7.91797V12.0846C16.042 12.4263 15.7587 12.7096 15.417 12.7096Z",fill:"#705BFA"})]}),"check-icon":a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.4",d:"M9.99935 18.3346C14.6017 18.3346 18.3327 14.6037 18.3327 10.0013C18.3327 5.39893 14.6017 1.66797 9.99935 1.66797C5.39698 1.66797 1.66602 5.39893 1.66602 10.0013C1.66602 14.6037 5.39698 18.3346 9.99935 18.3346Z",fill:"#currentColor"}),a.jsx("path",{d:"M8.81719 12.9846C8.65052 12.9846 8.49219 12.918 8.37552 12.8013L6.01719 10.443C5.77552 10.2013 5.77552 9.8013 6.01719 9.55964C6.25885 9.31797 6.65885 9.31797 6.90052 9.55964L8.81719 11.4763L13.1005 7.19297C13.3422 6.9513 13.7422 6.9513 13.9839 7.19297C14.2255 7.43464 14.2255 7.83463 13.9839 8.0763L9.25885 12.8013C9.14219 12.918 8.98385 12.9846 8.81719 12.9846Z",fill:"#currentColor"})]}),"clock-icon":a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.4",d:"M9.99935 18.3346C14.6017 18.3346 18.3327 14.6037 18.3327 10.0013C18.3327 5.39893 14.6017 1.66797 9.99935 1.66797C5.39698 1.66797 1.66602 5.39893 1.66602 10.0013C1.66602 14.6037 5.39698 18.3346 9.99935 18.3346Z",fill:"#currentColor"}),a.jsx("path",{d:"M13.0909 13.2745C12.9826 13.2745 12.8742 13.2495 12.7742 13.1828L10.1909 11.6411C9.54922 11.2578 9.07422 10.4161 9.07422 9.67448V6.25781C9.07422 5.91615 9.35755 5.63281 9.69922 5.63281C10.0409 5.63281 10.3242 5.91615 10.3242 6.25781V9.67448C10.3242 9.97448 10.5742 10.4161 10.8326 10.5661L13.4159 12.1078C13.7159 12.2828 13.8076 12.6661 13.6326 12.9661C13.5076 13.1661 13.2992 13.2745 13.0909 13.2745Z",fill:"#currentColor"})]}),chart:a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{opacity:"0.4",d:"M13.491 1.66797H6.50768C3.47435 1.66797 1.66602 3.4763 1.66602 6.50964V13.4846C1.66602 16.5263 3.47435 18.3346 6.50768 18.3346H13.4827C16.516 18.3346 18.3243 16.5263 18.3243 13.493V6.50964C18.3327 3.4763 16.5243 1.66797 13.491 1.66797Z",fill:"#currentColor"}),a.jsx("path",{d:"M5.83398 11.9596C5.49232 11.9596 5.20898 11.6763 5.20898 11.3346V8.66797C5.20898 8.3263 5.49232 8.04297 5.83398 8.04297C6.17565 8.04297 6.45898 8.3263 6.45898 8.66797V11.343C6.45898 11.6846 6.17565 11.9596 5.83398 11.9596Z",fill:"#currentColor"}),a.jsx("path",{d:"M10 13.4065C9.65833 13.4065 9.375 13.1232 9.375 12.7815V7.21484C9.375 6.87318 9.65833 6.58984 10 6.58984C10.3417 6.58984 10.625 6.87318 10.625 7.21484V12.7815C10.625 13.1232 10.3417 13.4065 10 13.4065Z",fill:"#currentColor"}),a.jsx("path",{d:"M14.166 11.9596C13.8243 11.9596 13.541 11.6763 13.541 11.3346V8.66797C13.541 8.3263 13.8243 8.04297 14.166 8.04297C14.5077 8.04297 14.791 8.3263 14.791 8.66797V11.343C14.791 11.6846 14.5077 11.9596 14.166 11.9596Z",fill:"#currentColor"})]}),google:a.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M29.074 13.3887H28V13.3333H16V18.6667H23.5354C22.436 21.7713 19.482 24 16 24C11.582 24 8.00002 20.418 8.00002 16C8.00002 11.582 11.582 7.99999 16 7.99999C18.0394 7.99999 19.8947 8.76932 21.3074 10.026L25.0787 6.25466C22.6974 4.03532 19.512 2.66666 16 2.66666C8.63669 2.66666 2.66669 8.63666 2.66669 16C2.66669 23.3633 8.63669 29.3333 16 29.3333C23.3634 29.3333 29.3334 23.3633 29.3334 16C29.3334 15.106 29.2414 14.2333 29.074 13.3887Z",fill:"#FFC107"}),a.jsx("path",{d:"M4.20398 9.79399L8.58465 13.0067C9.76998 10.072 12.6406 7.99999 16 7.99999C18.0393 7.99999 19.8946 8.76932 21.3073 10.026L25.0786 6.25466C22.6973 4.03532 19.512 2.66666 16 2.66666C10.8786 2.66666 6.43731 5.55799 4.20398 9.79399Z",fill:"#FF3D00"}),a.jsx("path",{d:"M16 29.3333C19.444 29.3333 22.5733 28.0153 24.9393 25.872L20.8127 22.38C19.4293 23.4327 17.7384 24.0019 16 24C12.532 24 9.58734 21.7887 8.478 18.7027L4.13 22.0527C6.33667 26.3707 10.818 29.3333 16 29.3333Z",fill:"#4CAF50"}),a.jsx("path",{d:"M29.074 13.3887H28V13.3333H16V18.6667H23.5353C23.0095 20.1443 22.0622 21.4355 20.8107 22.3807L20.8127 22.3793L24.9393 25.8713C24.6473 26.1367 29.3333 22.6667 29.3333 16C29.3333 15.106 29.2413 14.2333 29.074 13.3887Z",fill:"#1976D2"})]}),"tick-square":a.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M5.9987 15.1673H9.9987C13.332 15.1673 14.6654 13.834 14.6654 10.5007V6.50065C14.6654 3.16732 13.332 1.83398 9.9987 1.83398H5.9987C2.66536 1.83398 1.33203 3.16732 1.33203 6.50065V10.5007C1.33203 13.834 2.66536 15.1673 5.9987 15.1673Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M5.16797 8.49995L7.05464 10.3866L10.8346 6.61328",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),calendar:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M16.7502 3.56V2C16.7502 1.59 16.4102 1.25 16.0002 1.25C15.5902 1.25 15.2502 1.59 15.2502 2V3.5H8.75023V2C8.75023 1.59 8.41023 1.25 8.00023 1.25C7.59023 1.25 7.25023 1.59 7.25023 2V3.56C4.55023 3.81 3.24023 5.42 3.04023 7.81C3.02023 8.1 3.26023 8.34 3.54023 8.34H20.4602C20.7502 8.34 20.9902 8.09 20.9602 7.81C20.7602 5.42 19.4502 3.81 16.7502 3.56Z",fill:"#currentColor"}),a.jsx("path",{d:"M20 9.83984H4C3.45 9.83984 3 10.2898 3 10.8398V16.9998C3 19.9998 4.5 21.9998 8 21.9998H16C19.5 21.9998 21 19.9998 21 16.9998V10.8398C21 10.2898 20.55 9.83984 20 9.83984ZM9.21 18.2098C9.16 18.2498 9.11 18.2998 9.06 18.3298C9 18.3698 8.94 18.3998 8.88 18.4198C8.82 18.4498 8.76 18.4698 8.7 18.4798C8.63 18.4898 8.57 18.4998 8.5 18.4998C8.37 18.4998 8.24 18.4698 8.12 18.4198C7.99 18.3698 7.89 18.2998 7.79 18.2098C7.61 18.0198 7.5 17.7598 7.5 17.4998C7.5 17.2398 7.61 16.9798 7.79 16.7898C7.89 16.6998 7.99 16.6298 8.12 16.5798C8.3 16.4998 8.5 16.4798 8.7 16.5198C8.76 16.5298 8.82 16.5498 8.88 16.5798C8.94 16.5998 9 16.6298 9.06 16.6698C9.11 16.7098 9.16 16.7498 9.21 16.7898C9.39 16.9798 9.5 17.2398 9.5 17.4998C9.5 17.7598 9.39 18.0198 9.21 18.2098ZM9.21 14.7098C9.02 14.8898 8.76 14.9998 8.5 14.9998C8.24 14.9998 7.98 14.8898 7.79 14.7098C7.61 14.5198 7.5 14.2598 7.5 13.9998C7.5 13.7398 7.61 13.4798 7.79 13.2898C8.07 13.0098 8.51 12.9198 8.88 13.0798C9.01 13.1298 9.12 13.1998 9.21 13.2898C9.39 13.4798 9.5 13.7398 9.5 13.9998C9.5 14.2598 9.39 14.5198 9.21 14.7098ZM12.71 18.2098C12.52 18.3898 12.26 18.4998 12 18.4998C11.74 18.4998 11.48 18.3898 11.29 18.2098C11.11 18.0198 11 17.7598 11 17.4998C11 17.2398 11.11 16.9798 11.29 16.7898C11.66 16.4198 12.34 16.4198 12.71 16.7898C12.89 16.9798 13 17.2398 13 17.4998C13 17.7598 12.89 18.0198 12.71 18.2098ZM12.71 14.7098C12.66 14.7498 12.61 14.7898 12.56 14.8298C12.5 14.8698 12.44 14.8998 12.38 14.9198C12.32 14.9498 12.26 14.9698 12.2 14.9798C12.13 14.9898 12.07 14.9998 12 14.9998C11.74 14.9998 11.48 14.8898 11.29 14.7098C11.11 14.5198 11 14.2598 11 13.9998C11 13.7398 11.11 13.4798 11.29 13.2898C11.38 13.1998 11.49 13.1298 11.62 13.0798C11.99 12.9198 12.43 13.0098 12.71 13.2898C12.89 13.4798 13 13.7398 13 13.9998C13 14.2598 12.89 14.5198 12.71 14.7098ZM16.21 18.2098C16.02 18.3898 15.76 18.4998 15.5 18.4998C15.24 18.4998 14.98 18.3898 14.79 18.2098C14.61 18.0198 14.5 17.7598 14.5 17.4998C14.5 17.2398 14.61 16.9798 14.79 16.7898C15.16 16.4198 15.84 16.4198 16.21 16.7898C16.39 16.9798 16.5 17.2398 16.5 17.4998C16.5 17.7598 16.39 18.0198 16.21 18.2098ZM16.21 14.7098C16.16 14.7498 16.11 14.7898 16.06 14.8298C16 14.8698 15.94 14.8998 15.88 14.9198C15.82 14.9498 15.76 14.9698 15.7 14.9798C15.63 14.9898 15.56 14.9998 15.5 14.9998C15.24 14.9998 14.98 14.8898 14.79 14.7098C14.61 14.5198 14.5 14.2598 14.5 13.9998C14.5 13.7398 14.61 13.4798 14.79 13.2898C14.89 13.1998 14.99 13.1298 15.12 13.0798C15.3 12.9998 15.5 12.9798 15.7 13.0198C15.76 13.0298 15.82 13.0498 15.88 13.0798C15.94 13.0998 16 13.1298 16.06 13.1698C16.11 13.2098 16.16 13.2498 16.21 13.2898C16.39 13.4798 16.5 13.7398 16.5 13.9998C16.5 14.2598 16.39 14.5198 16.21 14.7098Z",fill:"#currentColor"})]}),refresh:a.jsxs("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M15.05 21.67C19.34 20.54 22.5 16.64 22.5 12C22.5 6.48 18.06 2 12.5 2C5.83 2 2.5 7.56 2.5 7.56M2.5 7.56V3M2.5 7.56H4.51H6.94",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M2.5 12C2.5 17.52 6.98 22 12.5 22",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"3 3"})]}),"design-tools":a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M2.95988 10.7201L3.87988 11.6201L11.6299 3.88012L10.6999 2.95012C9.91988 2.17012 9.10988 1.78012 8.30988 1.78012C7.50988 1.78012 6.69988 2.17012 5.91988 2.95012L2.95988 5.91012C1.36988 7.51012 1.36988 9.12012 2.95988 10.7201Z",fill:"#currentColor"}),a.jsx("path",{d:"M13.31 21.0701C14.88 22.6401 16.53 22.6401 18.1 21.0701L21.07 18.1101C22.63 16.5401 22.63 14.8901 21.07 13.3201L20.15 12.4001L12.4 20.1501L13.31 21.0701Z",fill:"#currentColor"}),a.jsx("path",{d:"M2.18991 20.0599C3.49991 16.7899 6.48991 12.5199 9.33991 9.72991C9.74991 12.3099 11.8099 14.3299 14.4099 14.6899C11.6099 17.5499 7.30991 20.5799 4.02991 21.8999C3.44991 22.1199 2.86991 21.9499 2.50991 21.5899C2.12991 21.2099 1.94991 20.6399 2.18991 20.0599Z",fill:"#currentColor"}),a.jsx("path",{d:"M10.2199 8.91004C10.4199 8.74004 10.6199 8.57004 10.8199 8.41004L12.6099 6.98004C12.6099 7.01004 12.6199 7.05004 12.6199 7.09004C12.7599 8.16004 13.2599 9.15004 14.0699 9.96004C14.8899 10.78 15.9099 11.28 17.0299 11.42C17.0599 11.42 17.0999 11.43 17.1299 11.43L15.6799 13.26C15.5399 13.44 15.3899 13.61 15.2299 13.79L14.5499 13.7C12.3999 13.4 10.6699 11.71 10.3299 9.57004L10.2199 8.91004Z",fill:"#currentColor"}),a.jsx("path",{d:"M13.57 6.38018C13.57 5.28018 13.99 4.23018 14.79 3.44018C15.4 2.82018 16.22 2.40018 17.22 2.28018L19.67 2.01018C21.01 1.86018 22.16 3.01018 22.01 4.36018L21.74 6.82018C21.5 9.01018 19.67 10.4102 17.73 10.4502C17.54 10.4602 17.33 10.4502 17.13 10.4302C16.28 10.3202 15.46 9.93018 14.77 9.25018C14.1 8.58018 13.72 7.79018 13.61 6.96018C13.59 6.76018 13.57 6.57018 13.57 6.38018Z",fill:"#currentColor"})]}),"design-tools-linear":a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsxs("g",{clipPath:"url(#clip0_1215_17258)",children:[a.jsx("path",{d:"M1.82539 16.7168C3.10873 13.5168 6.32539 9.16677 9.01706 7.00844L10.6587 5.69177C10.8671 5.54177 11.0754 5.40844 11.3087 5.31677C11.3087 5.46677 11.3171 5.63344 11.3421 5.79177C11.4337 6.49177 11.7504 7.14177 12.3087 7.7001C12.8754 8.26677 13.5671 8.6001 14.2754 8.69177C14.4421 8.7001 14.6087 8.71677 14.7754 8.7001C14.6837 8.95844 14.5421 9.2001 14.3671 9.4001L13.0671 11.0418C10.9171 13.7334 6.55039 16.9668 3.35873 18.2418C2.86706 18.4251 2.39206 18.2918 2.09206 17.9834C1.77539 17.6751 1.62539 17.2001 1.82539 16.7168Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M11.3083 5.31683C11.3083 4.40016 11.6583 3.52516 12.3166 2.8585C12.8249 2.35016 13.5166 2.00016 14.3416 1.89183L16.3916 1.66683C17.5083 1.54183 18.4666 2.49183 18.3333 3.62516L18.1083 5.67516C17.9083 7.50016 16.3833 8.66683 14.7666 8.70016C14.5999 8.70849 14.4249 8.70016 14.2666 8.69183C13.5583 8.60016 12.8666 8.27516 12.2999 7.70016C11.7416 7.14183 11.4249 6.49183 11.3333 5.79183C11.3249 5.6335 11.3083 5.47516 11.3083 5.31683Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M8.13255 7.94163C8.13255 10.1166 9.89922 11.8833 12.0742 11.8833",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M3.23372 9.3916L2.61706 8.78327C1.37539 7.5416 1.37539 6.3166 2.61706 5.07493L5.08372 2.60827C6.30872 1.38327 7.55039 1.38327 8.77539 2.60827",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),a.jsx("path",{d:"M17.4074 11.2417C18.6324 12.4834 18.6324 13.7084 17.4074 14.95L14.9408 17.4167C13.7158 18.6417 12.4741 18.6417 11.2491 17.4167L10.6324 16.8",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),a.jsx("path",{d:"M10.6257 16.7915L13.709 13.7082",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),a.jsx("path",{d:"M3.23255 9.3916L5.69922 6.93327",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),a.jsx("defs",{children:a.jsx("clipPath",{id:"clip0_1215_17258",children:a.jsx("rect",{width:"20",height:"20",fill:"white",transform:"matrix(-1 0 0 -1 20 20)"})})})]}),building:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M1 22H23",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M19.78 22.0098V17.5498",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M19.8001 10.8901C18.5801 10.8901 17.6001 11.8701 17.6001 13.0901V15.3601C17.6001 16.5801 18.5801 17.5601 19.8001 17.5601C21.0201 17.5601 22.0001 16.5801 22.0001 15.3601V13.0901C22.0001 11.8701 21.0201 10.8901 19.8001 10.8901Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M2.1001 21.9998V6.02979C2.1001 4.01979 3.10015 3.00977 5.09015 3.00977H11.3201C13.3101 3.00977 14.3001 4.01979 14.3001 6.02979V21.9998",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M5.80005 8.25H10.7501",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M5.80005 12H10.7501",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M8.25 22V18.25",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),book:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M22 16.7402V4.67019C22 3.47019 21.02 2.58019 19.83 2.68019H19.77C17.67 2.86019 14.48 3.93019 12.7 5.05019L12.53 5.16019C12.24 5.34019 11.76 5.34019 11.47 5.16019L11.22 5.01019C9.44 3.90019 6.26 2.84019 4.16 2.67019C2.97 2.57019 2 3.47019 2 4.66019V16.7402C2 17.7002 2.78 18.6002 3.74 18.7202L4.03 18.7602C6.2 19.0502 9.55 20.1502 11.47 21.2002L11.51 21.2202C11.78 21.3702 12.21 21.3702 12.47 21.2202C14.39 20.1602 17.75 19.0502 19.93 18.7602L20.26 18.7202C21.22 18.6002 22 17.7002 22 16.7402Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M12 5.49023V20.4902",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.75 8.49023H5.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M8.5 11.4902H5.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),menu:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M17.5401 8.31014C18.8987 8.31014 20.0001 7.20876 20.0001 5.85014C20.0001 4.49152 18.8987 3.39014 17.5401 3.39014C16.1814 3.39014 15.0801 4.49152 15.0801 5.85014C15.0801 7.20876 16.1814 8.31014 17.5401 8.31014Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M6.46001 8.31014C7.81863 8.31014 8.92 7.20876 8.92 5.85014C8.92 4.49152 7.81863 3.39014 6.46001 3.39014C5.10139 3.39014 4 4.49152 4 5.85014C4 7.20876 5.10139 8.31014 6.46001 8.31014Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M17.5401 20.6099C18.8987 20.6099 20.0001 19.5086 20.0001 18.1499C20.0001 16.7913 18.8987 15.6899 17.5401 15.6899C16.1814 15.6899 15.0801 16.7913 15.0801 18.1499C15.0801 19.5086 16.1814 20.6099 17.5401 20.6099Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M6.46001 20.6099C7.81863 20.6099 8.92 19.5086 8.92 18.1499C8.92 16.7913 7.81863 15.6899 6.46001 15.6899C5.10139 15.6899 4 16.7913 4 18.1499C4 19.5086 5.10139 20.6099 6.46001 20.6099Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),profile:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12.1601 10.87C12.0601 10.86 11.9401 10.86 11.8301 10.87C9.45006 10.79 7.56006 8.84 7.56006 6.44C7.56006 3.99 9.54006 2 12.0001 2C14.4501 2 16.4401 3.99 16.4401 6.44C16.4301 8.84 14.5401 10.79 12.1601 10.87Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.15997 14.56C4.73997 16.18 4.73997 18.82 7.15997 20.43C9.90997 22.27 14.42 22.27 17.17 20.43C19.59 18.81 19.59 16.17 17.17 14.56C14.43 12.73 9.91997 12.73 7.15997 14.56Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),scroll:a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M7.4974 18.3334H12.4974C16.6641 18.3334 18.3307 16.6667 18.3307 12.5001V7.50008C18.3307 3.33341 16.6641 1.66675 12.4974 1.66675H7.4974C3.33073 1.66675 1.66406 3.33341 1.66406 7.50008V12.5001C1.66406 16.6667 3.33073 18.3334 7.4974 18.3334Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.99844 7.4751L5.92344 9.5501C5.68177 9.79176 5.68177 10.2001 5.92344 10.4418L7.99844 12.5168",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M12 7.4751L14.075 9.5501C14.3167 9.79176 14.3167 10.2001 14.075 10.4418L12 12.5168",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"programming-arrows":a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M15.8359 13.3333V5.41667C15.8359 4.5 15.0859 3.75 14.1693 3.75H9.58594",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M11.6641 1.66675L9.16406 3.75008L11.6641 5.83341",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M15.8359 18.3333C17.2167 18.3333 18.3359 17.214 18.3359 15.8333C18.3359 14.4525 17.2167 13.3333 15.8359 13.3333C14.4552 13.3333 13.3359 14.4525 13.3359 15.8333C13.3359 17.214 14.4552 18.3333 15.8359 18.3333Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M4.16406 6.66675V14.5834C4.16406 15.5001 4.91406 16.2501 5.83073 16.2501H10.4141",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M8.33594 18.3334L10.8359 16.2501L8.33594 14.1667",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M4.16406 6.66675C5.54477 6.66675 6.66406 5.54746 6.66406 4.16675C6.66406 2.78604 5.54477 1.66675 4.16406 1.66675C2.78335 1.66675 1.66406 2.78604 1.66406 4.16675C1.66406 5.54746 2.78335 6.66675 4.16406 6.66675Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"chart-square":a.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M8.42394 9.29175H6.21561C5.69061 9.29175 5.26562 9.71671 5.26562 10.2417V14.5084H8.42394V9.29175V9.29175Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M10.6307 5.5H9.36405C8.83905 5.5 8.41406 5.92501 8.41406 6.45001V14.5H11.5724V6.45001C11.5724 5.92501 11.1557 5.5 10.6307 5.5Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M13.7865 10.7083H11.5781V14.5H14.7365V11.6583C14.7281 11.1333 14.3031 10.7083 13.7865 10.7083Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.4974 18.3334H12.4974C16.6641 18.3334 18.3307 16.6667 18.3307 12.5001V7.50008C18.3307 3.33341 16.6641 1.66675 12.4974 1.66675H7.4974C3.33073 1.66675 1.66406 3.33341 1.66406 7.50008V12.5001C1.66406 16.6667 3.33073 18.3334 7.4974 18.3334Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"not-authorised":a.jsx("svg",{width:"567",height:"477",viewBox:"0 0 567 477",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsxs("g",{id:"Wallet is Empty",children:[a.jsx("path",{id:"Fill 1",fillRule:"evenodd",clipRule:"evenodd",d:"M381.279 454.698C381.279 458.397 333.675 461.397 274.952 461.397C216.228 461.397 168.621 458.397 168.621 454.698C168.621 451.001 216.228 448.001 274.952 448.001C333.675 448.001 381.279 451.001 381.279 454.698Z",fill:"#DCDCE2"}),a.jsx("path",{id:"Stroke 3",d:"M261.521 24.3588C203.517 29.269 182.198 78.3658 199.663 106.985C211.986 127.177 232.868 154.466 271.795 147.92C310.719 141.373 313.999 105.349 293.499 100.449C272.999 95.5506 199.968 118.404 208.221 171.199C214.179 209.292 265.822 220.272 265.822 220.272",stroke:"#DCDCE2",strokeWidth:"1.74009",strokeDasharray:"6.09",fill:"none"}),a.jsx("path",{id:"Fill 13",fillRule:"evenodd",clipRule:"evenodd",d:"M307.202 7.73229C305.109 7.22812 303.812 5.11772 304.316 3.00409C304.818 0.905003 306.933 -0.395817 309.024 0.108351C311.127 0.615752 312.411 2.73423 311.911 4.83493C311.405 6.94695 309.306 8.23807 307.202 7.73229Z",fill:"#DCDCE2"}),a.jsx("path",{id:"Stroke 25",d:"M19.5938 265.483V270.506",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 27",d:"M9.54492 270.507L12.8939 273.856",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 29",d:"M4.52344 280.554H9.54685",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 31",d:"M9.54492 290.6L12.8939 287.251",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 33",d:"M19.5938 295.623V290.6",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 35",d:"M29.64 290.6L26.291 287.251",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 37",d:"M34.6601 280.554H29.6367",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 39",d:"M29.64 270.507L26.291 273.856",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 41",d:"M277.465 59.5231V62.872",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 43",d:"M269.092 67.8953H272.441",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 45",d:"M277.465 77.9412V74.5922",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 47",d:"M287.505 69.5707H284.156",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 49",d:"M93.2695 191.806V196.829",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 51",d:"M78.1992 206.877H83.2226",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 53",d:"M91.5938 220.273V215.249",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 55",d:"M106.666 206.877H101.643",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 57",d:"M434.86 367.625C438.559 367.625 441.558 370.624 441.558 374.324C441.558 378.022 438.559 381.021 434.86 381.021C431.161 381.021 428.162 378.022 428.162 374.324",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round",fill:"none"}),a.jsx("path",{id:"Stroke 59",d:"M466.564 458.951C467.419 464.931 463.286 470.473 457.335 471.33C451.388 472.187 445.872 468.035 445.02 462.055C444.167 456.074 448.298 450.531 454.249 449.674",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round",fill:"none"}),a.jsx("path",{id:"Fill 61",fillRule:"evenodd",clipRule:"evenodd",d:"M466.676 303.995C470.736 302.711 476.957 297.684 478.398 292.275C479.703 297.057 485.177 302.711 490.118 303.141C484.558 305.137 479.241 311.063 478.398 315.717C477.823 310.973 470.471 304.687 466.676 303.995Z",fill:"#EBECEF"}),a.jsx("path",{id:"Fill 63",fillRule:"evenodd",clipRule:"evenodd",d:"M46.3828 365.113C48.4134 364.471 51.5238 361.957 52.2443 359.253C52.8969 361.643 55.633 364.471 58.1041 364.686C55.3233 365.683 52.665 368.646 52.2443 370.974C51.9561 368.602 48.2809 365.458 46.3828 365.113Z",fill:"#EBECEF"}),a.jsx("path",{id:"Fill 65",fillRule:"evenodd",clipRule:"evenodd",d:"M83.2246 143.247C83.2246 146.023 80.975 148.271 78.2011 148.271C75.4257 148.271 73.1777 146.023 73.1777 143.247C73.1777 140.472 75.4257 138.224 78.2011 138.224C80.975 138.224 83.2246 140.472 83.2246 143.247Z",fill:"#D1D9E0"}),a.jsx("path",{id:"Fill 69",fillRule:"evenodd",clipRule:"evenodd",d:"M565.472 133.198C565.472 136.899 562.474 139.897 558.775 139.897C555.074 139.897 552.076 136.899 552.076 133.198C552.076 129.499 555.074 126.501 558.775 126.501C562.474 126.501 565.472 129.499 565.472 133.198Z",fill:"#EBECEF"}),a.jsx("path",{id:"Stroke 73",fillRule:"evenodd",clipRule:"evenodd",d:"M180.344 108.083C180.344 110.858 178.094 113.106 175.32 113.106C172.545 113.106 170.297 110.858 170.297 108.083C170.297 105.308 172.545 103.06 175.32 103.06C178.094 103.06 180.344 105.308 180.344 108.083Z",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round",fill:"none"}),a.jsx("path",{id:"Stroke 75",fillRule:"evenodd",clipRule:"evenodd",d:"M102.348 425.793C98.8919 427.108 95.0247 425.372 93.7097 421.916C92.393 418.459 94.1305 414.592 97.5871 413.277C101.044 411.96 104.911 413.698 106.226 417.154C107.541 420.611 105.805 424.478 102.348 425.793Z",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round",fill:"none"}),a.jsx("g",{id:"lock",children:a.jsxs("g",{id:"vuesax/bold/lock",children:[a.jsx("path",{id:"Vector",d:"M284.131 335.746C297.112 335.746 307.636 325.222 307.636 312.24C307.636 299.259 297.112 288.735 284.131 288.735C271.149 288.735 260.625 299.259 260.625 312.24C260.625 325.222 271.149 335.746 284.131 335.746Z",fill:"#D4D4D8"}),a.jsx("path",{id:"Vector_2",d:"M374.69 222.977V204.951C374.69 166.015 365.316 114.39 284.128 114.39C202.94 114.39 193.567 166.015 193.567 204.951V222.977C153.189 228.024 139.922 248.501 139.922 298.829V325.652C139.922 384.776 157.948 402.802 217.072 402.802H351.184C410.308 402.802 428.334 384.776 428.334 325.652V298.829C428.334 248.501 415.067 228.024 374.69 222.977ZM284.128 355.791C260.046 355.791 240.578 336.179 240.578 312.24C240.578 288.158 260.19 268.69 284.128 268.69C308.066 268.69 327.678 288.302 327.678 312.24C327.678 336.323 308.21 355.791 284.128 355.791ZM217.072 221.679C215.919 221.679 214.909 221.679 213.755 221.679V204.951C213.755 162.699 225.725 134.578 284.128 134.578C342.532 134.578 354.501 162.699 354.501 204.951V221.823C353.347 221.823 352.338 221.823 351.184 221.823H217.072V221.679Z",fill:"#D4D4D8"})]})})]})}),"money-tick":a.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M6.09593 6.67136C6.72709 6.67136 7.23874 6.1597 7.23874 5.52855C7.23874 4.89739 6.72709 4.38574 6.09593 4.38574C5.46478 4.38574 4.95312 4.89739 4.95312 5.52855C4.95312 6.1597 5.46478 6.67136 6.09593 6.67136Z",stroke:"#currentColor",strokeWidth:"1.02853",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M9.07031 4.38574V6.67136",stroke:"#currentColor",strokeWidth:"1.02853",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M4.71948 8.27136C4.71948 8.6142 4.62349 8.93876 4.45436 9.21303C4.13894 9.74329 3.55839 10.0999 2.89099 10.0999C2.22359 10.0999 1.64304 9.74329 1.32762 9.21303C1.15849 8.93876 1.0625 8.6142 1.0625 8.27136C1.0625 7.26112 1.88075 6.44287 2.89099 6.44287C3.90123 6.44287 4.71948 7.26112 4.71948 8.27136Z",stroke:"#currentColor",strokeWidth:"1.02853",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M2.17969 8.27121L2.63223 8.72376L3.60591 7.82324",stroke:"#currentColor",strokeWidth:"1.02853",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M1.52344 7.03755V4.15768C1.52344 2.55775 2.43768 1.87207 3.80905 1.87207H8.38028C9.75164 1.87207 10.6659 2.55775 10.6659 4.15768V6.90042C10.6659 8.50035 9.75164 9.18603 8.38028 9.18603H4.49473",stroke:"#currentColor",strokeWidth:"1.02853",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),download:a.jsxs("svg",{width:"19",height:"19",viewBox:"0 0 19 19",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M11.7653 17.1156H6.84114C3.13289 17.1156 1.54688 15.5296 1.54688 11.8213V11.7232C1.54688 8.36988 2.86855 6.75366 5.82911 6.47422C6.13121 6.45156 6.4182 6.67813 6.44841 6.98778C6.47862 7.29743 6.25205 7.57687 5.93485 7.60708C3.56338 7.82611 2.67974 8.94387 2.67974 11.7307V11.8289C2.67974 14.9027 3.76729 15.9903 6.84114 15.9903H11.7653C14.8392 15.9903 15.9267 14.9027 15.9267 11.8289V11.7307C15.9267 8.92876 15.028 7.811 12.6112 7.60708C12.3016 7.57687 12.0674 7.30499 12.0976 6.99534C12.1279 6.68569 12.3922 6.45156 12.7094 6.48177C15.7153 6.73855 17.0596 8.36233 17.0596 11.7383V11.8365C17.0596 15.5296 15.4736 17.1156 11.7653 17.1156Z",fill:"#71717A"}),a.jsx("path",{d:"M9.30081 12.1143C8.99116 12.1143 8.73438 11.8575 8.73438 11.5479V1.82034C8.73438 1.51069 8.99116 1.25391 9.30081 1.25391C9.61046 1.25391 9.86724 1.51069 9.86724 1.82034V11.5479C9.86724 11.8651 9.61046 12.1143 9.30081 12.1143Z",fill:"#292D32"}),a.jsx("path",{d:"M9.29969 12.9618C9.1562 12.9618 9.0127 12.909 8.89941 12.7957L6.36934 10.2656C6.15032 10.0466 6.15032 9.68407 6.36934 9.46505C6.58836 9.24603 6.95088 9.24603 7.1699 9.46505L9.29969 11.5948L11.4295 9.46505C11.6485 9.24603 12.011 9.24603 12.23 9.46505C12.4491 9.68407 12.4491 10.0466 12.23 10.2656L9.69997 12.7957C9.58669 12.909 9.44319 12.9618 9.29969 12.9618Z",fill:"#292D32"})]}),receipt:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M22 6V8.42C22 10 21 11 19.42 11H16V4.01C16 2.9 16.91 2 18.02 2C19.11 2.01 20.11 2.45 20.83 3.17C21.55 3.9 22 4.9 22 6Z",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M2 7V21C2 21.83 2.93998 22.3 3.59998 21.8L5.31 20.52C5.71 20.22 6.27 20.26 6.63 20.62L8.28998 22.29C8.67998 22.68 9.32002 22.68 9.71002 22.29L11.39 20.61C11.74 20.26 12.3 20.22 12.69 20.52L14.4 21.8C15.06 22.29 16 21.82 16 21V4C16 2.9 16.9 2 18 2H7H6C3 2 2 3.79 2 6V7Z",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"user-add":a.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12 12.5C14.7614 12.5 17 10.2614 17 7.5C17 4.73858 14.7614 2.5 12 2.5C9.23858 2.5 7 4.73858 7 7.5C7 10.2614 9.23858 12.5 12 12.5Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M3.40991 22.5C3.40991 18.63 7.25991 15.5 11.9999 15.5C12.9599 15.5 13.8899 15.63 14.7599 15.87",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M22 18.5C22 18.82 21.96 19.13 21.88 19.43C21.79 19.83 21.63 20.22 21.42 20.56C20.73 21.72 19.46 22.5 18 22.5C16.97 22.5 16.04 22.11 15.34 21.47C15.04 21.21 14.78 20.9 14.58 20.56C14.21 19.96 14 19.25 14 18.5C14 17.42 14.43 16.43 15.13 15.71C15.86 14.96 16.88 14.5 18 14.5C19.18 14.5 20.25 15.01 20.97 15.83C21.61 16.54 22 17.48 22 18.5Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M19.49 18.48H16.51",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M18 17.02V20.01",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"logo-placeholder":a.jsxs("svg",{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("rect",{x:"0.5",y:"0.5",width:"41",height:"41",rx:"14.5",fill:"#F7FEE7"}),a.jsx("rect",{x:"0.5",y:"0.5",width:"41",height:"41",rx:"14.5",stroke:"#84CC16"}),a.jsx("path",{d:"M21.5 31.0003H13.08C11.92 31.0003 10.97 30.0703 10.97 28.9303V14.0903C10.97 11.4703 12.92 10.2803 15.31 11.4503L19.75 13.6303C20.71 14.1003 21.5 15.3503 21.5 16.4103V31.0003Z",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M30.97 24.0599V27.8399C30.97 29.9999 29.97 30.9999 27.81 30.9999H21.5V19.4199L21.97 19.5199L26.47 20.5299L28.5 20.9799C29.82 21.2699 30.9 21.9499 30.96 23.8699C30.97 23.9299 30.97 23.9899 30.97 24.0599Z",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M14.5 18H17.97",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M14.5 22H17.97",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M26.47 20.53V23.75C26.47 24.99 25.46 26 24.22 26C22.98 26 21.97 24.99 21.97 23.75V19.52L26.47 20.53Z",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M30.96 23.8703C30.9 25.0503 29.92 26.0003 28.72 26.0003C27.48 26.0003 26.47 24.9903 26.47 23.7503V20.5303L28.5 20.9803C29.82 21.2703 30.9 21.9503 30.96 23.8703Z",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),verify:a.jsxs("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M6.08594 8.00005L7.6926 9.61339L10.9126 6.38672",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7.66594 1.63338C8.12594 1.24005 8.87927 1.24005 9.34594 1.63338L10.3993 2.54005C10.5993 2.71338 10.9726 2.85338 11.2393 2.85338H12.3726C13.0793 2.85338 13.6593 3.43338 13.6593 4.14005V5.27338C13.6593 5.53338 13.7993 5.91338 13.9726 6.11338L14.8793 7.16671C15.2726 7.62671 15.2726 8.38005 14.8793 8.84671L13.9726 9.90005C13.7993 10.1 13.6593 10.4734 13.6593 10.74V11.8734C13.6593 12.58 13.0793 13.16 12.3726 13.16H11.2393C10.9793 13.16 10.5993 13.3 10.3993 13.4734L9.34594 14.38C8.88594 14.7734 8.1326 14.7734 7.66594 14.38L6.6126 13.4734C6.4126 13.3 6.03927 13.16 5.7726 13.16H4.61927C3.9126 13.16 3.3326 12.58 3.3326 11.8734V10.7334C3.3326 10.4734 3.1926 10.1 3.02594 9.90005L2.12594 8.84005C1.73927 8.38005 1.73927 7.63338 2.12594 7.17338L3.02594 6.11338C3.1926 5.91338 3.3326 5.54005 3.3326 5.28005V4.13338C3.3326 3.42671 3.9126 2.84671 4.61927 2.84671H5.7726C6.0326 2.84671 6.4126 2.70671 6.6126 2.53338L7.66594 1.63338Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),infinity:a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M8.00057 7.99968C7.63475 8.7098 7.14429 9.34839 6.55257 9.88501C6.17966 10.258 5.70451 10.5121 5.1872 10.615C4.6699 10.718 4.13368 10.6652 3.64636 10.4634C3.15905 10.2616 2.74252 9.91983 2.44947 9.48128C2.15642 9.04273 2 8.52713 2 7.99968C2 7.47222 2.15642 6.95662 2.44947 6.51807C2.74252 6.07952 3.15905 5.73773 3.64636 5.53592C4.13368 5.33411 4.6699 5.28135 5.1872 5.38431C5.70451 5.48727 6.17966 5.74132 6.55257 6.11434C7.14429 6.65096 7.63475 7.28956 8.00057 7.99968ZM8.00057 7.99968C8.36639 7.28956 8.85685 6.65096 9.44857 6.11434C9.82148 5.74132 10.2966 5.48727 10.8139 5.38431C11.3312 5.28135 11.8675 5.33411 12.3548 5.53592C12.8421 5.73773 13.2586 6.07952 13.5517 6.51807C13.8447 6.95662 14.0011 7.47222 14.0011 7.99968C14.0011 8.52713 13.8447 9.04273 13.5517 9.48128C13.2586 9.91983 12.8421 10.2616 12.3548 10.4634C11.8675 10.6652 11.3312 10.718 10.8139 10.615C10.2966 10.5121 9.82148 10.258 9.44857 9.88501C8.85685 9.34839 8.36639 8.7098 8.00057 7.99968Z",stroke:"#currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})}),anchor:a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M8 14.6663C7.32222 14.6663 6.62778 14.5441 5.91667 14.2997C5.20556 14.0552 4.56111 13.7219 3.98333 13.2997C3.40556 12.8775 2.93067 12.383 2.55867 11.8163C2.18667 11.2497 2.00044 10.6441 2 9.99967V7.99967L4.66667 9.99967L3.63333 11.033C3.95556 11.5997 4.46667 12.0886 5.16667 12.4997C5.86667 12.9108 6.58889 13.1719 7.33333 13.283V7.33301H5.33333V5.99967H7.33333V5.21634C6.94444 5.0719 6.62511 4.83012 6.37533 4.49101C6.12556 4.1519 6.00044 3.7659 6 3.33301C6 2.77745 6.19444 2.30523 6.58333 1.91634C6.97222 1.52745 7.44444 1.33301 8 1.33301C8.55556 1.33301 9.02778 1.52745 9.41667 1.91634C9.80556 2.30523 10 2.77745 10 3.33301C10 3.76634 9.87511 4.15256 9.62533 4.49167C9.37556 4.83079 9.056 5.07234 8.66667 5.21634V5.99967H10.6667V7.33301H8.66667V13.283C9.41111 13.1719 10.1333 12.9108 10.8333 12.4997C11.5333 12.0886 12.0444 11.5997 12.3667 11.033L11.3333 9.99967L14 7.99967V9.99967C14 10.6441 13.814 11.2497 13.442 11.8163C13.07 12.383 12.5949 12.8775 12.0167 13.2997C11.4384 13.7219 10.794 14.0552 10.0833 14.2997C9.37267 14.5441 8.67822 14.6663 8 14.6663ZM8 3.99967C8.18889 3.99967 8.34733 3.9359 8.47533 3.80834C8.60333 3.68079 8.66711 3.52234 8.66667 3.33301C8.66622 3.14367 8.60222 2.98545 8.47467 2.85834C8.34711 2.73123 8.18889 2.66723 8 2.66634C7.81111 2.66545 7.65289 2.72945 7.52533 2.85834C7.39778 2.98723 7.33378 3.14545 7.33333 3.33301C7.33289 3.52056 7.39689 3.67901 7.52533 3.80834C7.65378 3.93767 7.812 4.00145 8 3.99967Z",fill:"#none"})}),"increment-quota":a.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M6.66634 2.99967C6.66634 2.0792 5.92014 1.33301 4.99967 1.33301C4.07921 1.33301 3.33301 2.0792 3.33301 2.99967V6.33301C3.33301 7.25347 4.07921 7.99967 4.99967 7.99967C5.92014 7.99967 6.66634 7.25347 6.66634 6.33301V2.99967Z",stroke:"#currentColor",strokeWidth:"1.33333"}),a.jsx("path",{d:"M11.9485 7.33301V1.33301L9.88574 2.83301",stroke:"#currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M10.667 10.667L12.667 12.667L10.667 14.667",stroke:"#currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M12.6667 12.667H5",stroke:"#currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})]}),"override-quota":a.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M3.51643 8.61065V7.09422C3.51643 5.88767 3.99573 4.73054 4.84889 3.87738C5.70205 3.02422 6.85918 2.54492 8.06573 2.54492C9.27227 2.54492 10.4294 3.02422 11.2826 3.87738C12.1357 4.73054 12.2359 5.19868 12.615 5.95689M2 13.1599C2 13.5621 2.15977 13.9478 2.44415 14.2322C2.72854 14.5166 3.11425 14.6764 3.51643 14.6764C3.91861 14.6764 4.30432 14.5166 4.58871 14.2322C4.8731 13.9478 5.03286 13.5621 5.03286 13.1599C5.03286 12.7578 4.8731 12.372 4.58871 12.0877C4.30432 11.8033 3.91861 11.6435 3.51643 11.6435C3.11425 11.6435 2.72854 11.8033 2.44415 12.0877C2.15977 12.372 2 12.7578 2 13.1599Z",stroke:"#currentColor",strokeWidth:"1.51643",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M9.96094 5.52148L12.8454 6.94546L14.2694 4.06096",stroke:"#currentColor",strokeWidth:"1.51643",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M13.2906 14.6753V10.126L11.7266 11.2633",stroke:"#currentColor",strokeWidth:"1.36479",strokeLinecap:"round",strokeLinejoin:"round"})]}),sandbox:a.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M19.953 8.017L21 15M21 15V17C21 17.7956 20.6839 18.5587 20.1213 19.1213C19.5587 19.6839 18.7956 20 18 20H6C5.20435 20 4.44129 19.6839 3.87868 19.1213C3.31607 18.5587 3 17.7956 3 17V15M21 15H3M3 15L4.245 6.703C4.31611 6.22948 4.55474 5.79719 4.91752 5.48468C5.28031 5.17218 5.74317 5.0002 6.222 5H10M13 3L18.5 4.5M15.75 3.75L13.75 10.75",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7 10.5C8.66667 9.83333 10.3333 9.83333 12 10.5C13.6667 11.1667 15.3333 11.1667 17 10.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"coming-soon":a.jsx("svg",{width:"567",height:"477",viewBox:"0 0 567 477",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsxs("g",{id:"Wallet is Empty",children:[a.jsx("path",{id:"Fill 1",fillRule:"evenodd",clipRule:"evenodd",d:"M381.279 454.698C381.279 458.397 333.675 461.397 274.952 461.397C216.228 461.397 168.621 458.397 168.621 454.698C168.621 451.001 216.228 448.001 274.952 448.001C333.675 448.001 381.279 451.001 381.279 454.698Z",fill:"#DCDCE2"}),a.jsx("path",{id:"Stroke 3",d:"M261.521 24.3589C203.517 29.2691 182.198 78.3659 199.663 106.985C211.986 127.177 232.868 154.466 271.795 147.92C310.719 141.373 313.999 105.349 293.499 100.449C272.999 95.5507 199.968 118.404 208.221 171.199C214.179 209.292 265.822 220.272 265.822 220.272",stroke:"#DCDCE2",strokeWidth:"1.74009",strokeDasharray:"6.09"}),a.jsx("path",{id:"Fill 13",fillRule:"evenodd",clipRule:"evenodd",d:"M307.202 7.73247C305.109 7.2283 303.812 5.1179 304.316 3.00427C304.818 0.905186 306.933 -0.395634 309.024 0.108534C311.127 0.615935 312.411 2.73441 311.911 4.83512C311.405 6.94713 309.306 8.23825 307.202 7.73247Z",fill:"#DCDCE2"}),a.jsx("path",{id:"Stroke 25",d:"M19.5938 265.483V270.506",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 27",d:"M9.54492 270.506L12.8939 273.855",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 29",d:"M4.52344 280.554H9.54685",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 31",d:"M9.54492 290.6L12.8939 287.251",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 33",d:"M19.5938 295.623V290.599",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 35",d:"M29.64 290.6L26.291 287.251",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 37",d:"M34.6601 280.554H29.6367",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 39",d:"M29.64 270.506L26.291 273.855",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 41",d:"M277.465 59.5232V62.8721",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 43",d:"M269.092 67.8955H272.441",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 45",d:"M277.465 77.941V74.592",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 47",d:"M287.505 69.5706H284.156",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 49",d:"M93.2695 191.806V196.829",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 51",d:"M78.1992 206.877H83.2226",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 53",d:"M91.5938 220.273V215.249",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 55",d:"M106.666 206.877H101.643",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 57",d:"M434.86 367.625C438.559 367.625 441.558 370.624 441.558 374.324C441.558 378.022 438.559 381.021 434.86 381.021C431.161 381.021 428.162 378.022 428.162 374.324",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 59",d:"M466.564 458.951C467.419 464.93 463.286 470.473 457.335 471.33C451.388 472.187 445.872 468.035 445.02 462.055C444.167 456.074 448.298 450.531 454.249 449.674",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Fill 61",fillRule:"evenodd",clipRule:"evenodd",d:"M466.676 303.995C470.736 302.711 476.957 297.684 478.398 292.275C479.703 297.057 485.177 302.711 490.118 303.141C484.558 305.137 479.241 311.063 478.398 315.717C477.823 310.972 470.471 304.687 466.676 303.995Z",fill:"#EBECEF"}),a.jsx("path",{id:"Fill 63",fillRule:"evenodd",clipRule:"evenodd",d:"M46.3828 365.113C48.4134 364.472 51.5238 361.957 52.2443 359.253C52.8969 361.643 55.633 364.472 58.1041 364.686C55.3233 365.683 52.665 368.646 52.2443 370.974C51.9561 368.602 48.2809 365.459 46.3828 365.113Z",fill:"#EBECEF"}),a.jsx("path",{id:"Fill 65",fillRule:"evenodd",clipRule:"evenodd",d:"M83.2246 143.248C83.2246 146.023 80.975 148.271 78.2011 148.271C75.4257 148.271 73.1777 146.023 73.1777 143.248C73.1777 140.472 75.4257 138.224 78.2011 138.224C80.975 138.224 83.2246 140.472 83.2246 143.248Z",fill:"#D1D9E0"}),a.jsx("path",{id:"Fill 69",fillRule:"evenodd",clipRule:"evenodd",d:"M565.472 133.198C565.472 136.899 562.474 139.897 558.775 139.897C555.074 139.897 552.076 136.899 552.076 133.198C552.076 129.499 555.074 126.501 558.775 126.501C562.474 126.501 565.472 129.499 565.472 133.198Z",fill:"#EBECEF"}),a.jsx("path",{id:"Stroke 73",fillRule:"evenodd",clipRule:"evenodd",d:"M180.344 108.083C180.344 110.859 178.094 113.107 175.32 113.107C172.545 113.107 170.297 110.859 170.297 108.083C170.297 105.308 172.545 103.06 175.32 103.06C178.094 103.06 180.344 105.308 180.344 108.083Z",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("path",{id:"Stroke 75",fillRule:"evenodd",clipRule:"evenodd",d:"M102.348 425.793C98.8919 427.108 95.0247 425.372 93.7097 421.916C92.393 418.459 94.1305 414.592 97.5871 413.277C101.044 411.96 104.911 413.698 106.226 417.154C107.541 420.611 105.805 424.478 102.348 425.793Z",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),a.jsx("g",{id:"timer",children:a.jsx("g",{id:"vuesax/bold/timer",children:a.jsxs("g",{id:"timer_2",children:[a.jsx("path",{id:"Vector",d:"M284.132 152.604C215.202 152.604 159.105 208.7 159.105 277.63C159.105 346.561 215.202 402.801 284.132 402.801C353.063 402.801 409.159 346.705 409.159 277.775C409.159 208.844 353.063 152.604 284.132 152.604ZM294.948 273.016C294.948 278.928 290.045 283.831 284.132 283.831C278.22 283.831 273.317 278.928 273.317 273.016V200.913C273.317 195 278.22 190.097 284.132 190.097C290.045 190.097 294.948 195 294.948 200.913V273.016Z",fill:"#D4D4D8"}),a.jsx("path",{id:"Vector_2",d:"M325.806 135.299H242.455C236.687 135.299 232.072 130.685 232.072 124.916C232.072 119.148 236.687 114.389 242.455 114.389H325.806C331.575 114.389 336.189 119.004 336.189 124.772C336.189 130.54 331.575 135.299 325.806 135.299Z",fill:"#D4D4D8"})]})})})]})}),import:a.jsxs("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M11.9999 9.12495C11.8415 9.12495 11.6832 9.06662 11.5582 8.94162C11.3165 8.69995 11.3165 8.29995 11.5582 8.05828L18.3915 1.22495C18.6332 0.983285 19.0332 0.983285 19.2749 1.22495C19.5165 1.46662 19.5165 1.86662 19.2749 2.10828L12.4415 8.94162C12.3249 9.05828 12.1665 9.12495 11.9999 9.12495Z",fill:"#292D32"}),a.jsx("path",{d:"M15.359 9.7916H11.334C10.9923 9.7916 10.709 9.50827 10.709 9.1666V5.1416C10.709 4.79993 10.9923 4.5166 11.334 4.5166C11.6757 4.5166 11.959 4.79993 11.959 5.1416V8.5416H15.359C15.7007 8.5416 15.984 8.82493 15.984 9.1666C15.984 9.50827 15.7007 9.7916 15.359 9.7916Z",fill:"#292D32"}),a.jsx("path",{d:"M12.9993 18.9584H7.99935C3.47435 18.9584 1.54102 17.0251 1.54102 12.5001V7.50008C1.54102 2.97508 3.47435 1.04175 7.99935 1.04175H9.66602C10.0077 1.04175 10.291 1.32508 10.291 1.66675C10.291 2.00841 10.0077 2.29175 9.66602 2.29175H7.99935C4.15768 2.29175 2.79102 3.65841 2.79102 7.50008V12.5001C2.79102 16.3417 4.15768 17.7084 7.99935 17.7084H12.9993C16.841 17.7084 18.2077 16.3417 18.2077 12.5001V10.8334C18.2077 10.4917 18.491 10.2084 18.8327 10.2084C19.1744 10.2084 19.4577 10.4917 19.4577 10.8334V12.5001C19.4577 17.0251 17.5243 18.9584 12.9993 18.9584Z",fill:"#292D32"})]}),extras:a.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M14 6H10M14 6V2H10L10 6M14 6L14 10H10M10 6L6 6M10 6V10M2 10V14H6V10M2 10L6 10M2 10L2 6H6M6 10L6 6M6 10H10",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),"card-receive":a.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M1.33301 5.66699H9.66634",stroke:"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M4 11H5.33333",stroke:"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M7 11H9.66667",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M14.6663 9.35301V10.7397C14.6663 13.0797 14.073 13.6663 11.7063 13.6663H4.29301C1.92634 13.6663 1.33301 13.0797 1.33301 10.7397V5.25967C1.33301 2.91967 1.92634 2.33301 4.29301 2.33301H9.66634",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M13.333 2.33301V6.33301L14.6663 4.99967",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),a.jsx("path",{d:"M13.3333 6.33333L12 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),radar:a.jsx("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M3.99967 3.33333C5.11301 2.5 6.49967 2 7.99967 2C11.6797 2 14.6663 4.98667 14.6663 8.66667C14.6663 12.3467 11.6797 15.3333 7.99967 15.3333C4.31967 15.3333 1.33301 12.3467 1.33301 8.66667C1.33301 7.46 1.653 6.32666 2.21967 5.34666L7.99967 8.66667",stroke:"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})}),subtitle:a.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M9.99967 15.1663H5.99967C2.37967 15.1663 0.833008 13.6197 0.833008 9.99967V5.99967C0.833008 2.37967 2.37967 0.833008 5.99967 0.833008H9.99967C13.6197 0.833008 15.1663 2.37967 15.1663 5.99967V9.99967C15.1663 13.6197 13.6197 15.1663 9.99967 15.1663ZM5.99967 1.83301C2.92634 1.83301 1.83301 2.92634 1.83301 5.99967V9.99967C1.83301 13.073 2.92634 14.1663 5.99967 14.1663H9.99967C13.073 14.1663 14.1663 13.073 14.1663 9.99967V5.99967C14.1663 2.92634 13.073 1.83301 9.99967 1.83301H5.99967Z",fill:"#27272A"}),a.jsx("path",{d:"M11.6669 11.8867H10.4336C10.1603 11.8867 9.93359 11.6601 9.93359 11.3867C9.93359 11.1134 10.1603 10.8867 10.4336 10.8867H11.6669C11.9403 10.8867 12.1669 11.1134 12.1669 11.3867C12.1669 11.6601 11.9403 11.8867 11.6669 11.8867Z",fill:"#27272A"}),a.jsx("path",{d:"M8.64634 11.8867H4.33301C4.05967 11.8867 3.83301 11.6601 3.83301 11.3867C3.83301 11.1134 4.05967 10.8867 4.33301 10.8867H8.64634C8.91967 10.8867 9.14634 11.1134 9.14634 11.3867C9.14634 11.6601 8.92634 11.8867 8.64634 11.8867Z",fill:"#27272A"}),a.jsx("path",{d:"M11.6671 9.37988H7.98047C7.70714 9.37988 7.48047 9.15322 7.48047 8.87988C7.48047 8.60655 7.70714 8.37988 7.98047 8.37988H11.6671C11.9405 8.37988 12.1671 8.60655 12.1671 8.87988C12.1671 9.15322 11.9405 9.37988 11.6671 9.37988Z",fill:"#27272A"}),a.jsx("path",{d:"M6.17967 9.37988H4.33301C4.05967 9.37988 3.83301 9.15322 3.83301 8.87988C3.83301 8.60655 4.05967 8.37988 4.33301 8.37988H6.17967C6.45301 8.37988 6.67967 8.60655 6.67967 8.87988C6.67967 9.15322 6.45301 9.37988 6.17967 9.37988Z",fill:"#27272A"})]})},me=({name:e,size:t=24,color:n="currentColor"})=>{const r=l6[e];if(!r)return null;const s=n==="currentColor"?n:a6(n),{props:o}=r;return a.jsx("svg",{xmlns:o.xmlns,viewBox:o.viewBox,width:t,height:t,fill:o.fill==="none"?"none":s,stroke:o.fill==="none"?s:"none",children:o.children})};var Uo=(e=>(e.NONE="none",e.DAILY="daily",e.WEEKLY="weekly",e.MONTHLY="monthly",e.QUARTERLY="quarterly",e.YEARLY="yearly",e.BI_ANNUALLY="biannually",e))(Uo||{}),ge=(e=>(e.DAILY="daily",e.WEEKLY="weekly",e.MONTHLY="monthly",e.YEARLY="yearly",e.QUARTERLY="quarterly",e.BIANNUALLY="biannually",e.CUSTOM="custom",e))(ge||{}),ms=(e=>(e.InAdvance="in_advance",e.InArrears="in_arrears",e))(ms||{}),or=(e=>(e.BOOLEAN="boolean",e.METERED="metered",e))(or||{}),c6=(e=>(e.ARCHIVED="archived",e.ACTIVE="active",e.ALL="all",e))(c6||{}),u6=(e=>(e.SOFT="soft",e.HARD="hard",e))(u6||{}),Fe=(e=>(e.ACTIVE="active",e.IN_TRIAL="in_trial",e.CANCELED="canceled",e.EXPIRED="expired",e.DEACTIVATED="deactivated",e.PAUSED="paused",e))(Fe||{}),o1=(e=>(e.All="all",e.Draft="draft",e.Pending="pending",e.Open="open",e.Paid="paid",e.Due="due",e.Overdue="overdue",e.Voided="voided",e.WrittenOff="written_off",e.Refunded="refunded",e))(o1||{}),d6=(e=>(e.ONE_OFF="OneOff",e.FIXED_RECURRING="RecurringFixed",e.USAGE_BASED="UsageBased",e))(d6||{}),en=(e=>(e.PER_UNIT="per_unit",e.PER_PACKAGE="per_package",e.FLAT="flat",e))(en||{});const f6={daily:"day",weekly:"week",monthly:"month",quarterly:"quarter",yearly:"year",biannually:"biannual"},h6=()=>({once:"once",daily:"per day",weekly:"per week",monthly:"per month",quarterly:"per quarter",yearly:"per year",biannually:"per biannual"}),p6={draft:{color:"bg-grey-600",text:"Draft"},pending:{color:"bg-orange-500",text:"Pending"},open:{color:"bg-blue-500",text:"Open"},voided:{color:"bg-neutral-400",text:"Voided"},paid:{color:"bg-green-600",text:"Paid"},written_off:{color:"bg-orange-500",text:"Written Off"},refunded:{color:"bg-blue-500",text:"Refunded"},overdue:{color:"bg-metrifox-danger",text:"Overdue"},due:{color:"bg-metrifox-danger",text:"Due"}},m6=e=>p6[e]||{color:"bg-blue-500",text:""},g6={[Fe.ACTIVE]:{color:"bg-metrifox-success",text:"Active"},[Fe.IN_TRIAL]:{color:"bg-metrifox-blue",text:"In trial"},[Fe.CANCELED]:{color:"bg-metrifox-danger",text:"Canceled"},[Fe.EXPIRED]:{color:"bg-metrifox-danger",text:"Expired"},[Fe.DEACTIVATED]:{color:"bg-metrifox-danger",text:"Deactivated"},[Fe.PAUSED]:{color:"bg-grey-500",text:"Paused"}},x6=e=>g6[e]||{color:"bg-metrifox-success",text:""},y6=(e,t,n="-")=>{try{return t.split(/[.[\]]+/).filter(Boolean).reduce((r,s)=>r[s],e)??n}catch{return n}},i1=(e,t)=>t.find(n=>n.price.billing_interval===e),a1=(e,t)=>t?.filter(n=>n.price.billing_interval===e),v6=(e,t=1)=>({[ge.QUARTERLY]:3,[ge.BIANNUALLY]:6,[ge.YEARLY]:12}[e]??1)*t,b6={daily:"days",weekly:"weeks",monthly:"months",quarterly:"quarters",yearly:"years"},C6=(e,t)=>e?.map((n,r)=>{const{first_unit:s,last_unit:o,unit_price:i,package_price:l,package_size:c,pricing_model:u,flat_fee:d}=n,f=Nt(t),h=r===0,m=r===e.length-1,g=()=>u===en.PER_UNIT?h&&o===-1?"per unit":h?`First ${o}`:m?`Last ${s}`:`${s} to ${o}`:u===en.PER_PACKAGE?h?`First ${o}`:m?`Last ${s}`:`${s} to ${o}`:u===en.FLAT?h?`First ${o}`:m?`Last ${s}`:`${s} to ${o}`:"",x=()=>u===en.PER_UNIT?`${f}${le(i)}`:u===en.PER_PACKAGE&&c?`${f}${le(l)}`:u===en.FLAT?`${f}${le(d)}`:"";return{label:g(),price:x(),package:c}}),l1=e=>{const t=e?.price?.owner,n=0,r=e?.price?.tiers?.find(f=>f.first_unit===n),s=Nt(e?.price?.currency)||"";if(!r)return{price:null,label:null,currencySymbol:null};const{unit_price:o,package_price:i,package_size:l,pricing_model:c,flat_fee:u,percentage:d}=r;return u?{price:le(u),label:"",currencySymbol:s,isPercentage:!1}:{per_unit:{price:le(o),label:`${t?.feature?.unit_singular||t?.credit_unit_singular||t?.unit_singular}`,currencySymbol:s,isPercentage:!1},per_package:{price:le(i),label:`${l} ${t?.feature?.unit_plural}`,currencySymbol:s,isPercentage:!1},percentage:{price:`${d}%`,label:`of ${t?.feature?.unit_plural}`,currencySymbol:s,isPercentage:!0}}[c]??{price:null,label:null,currencySymbol:null,isPercentage:null}},w6=e=>{const t=new Set;for(const n of e)if(n){const r=[...n?.price_options||[],...n?.entitlement_price_options||[],...n?.credit_attachment_price_options||[]],s=r.some(o=>o.price?.invoice_timing===ms.InAdvance);r.forEach(o=>{const i=o.price.invoice_timing===ms.InAdvance&&o.price?.billing_interval,l=o.price.invoice_timing===ms.InArrears&&o.price?.billing_interval,c=s?i:l;c&&t.add(c)})}return Array.from(t)},le=e=>{if(e==null||e==="")return"--";const t=Number(e),n="en";if(isNaN(t))return"--";if(t===0)return"0.00";const r=Math.abs(t);let s="";s=r.toFixed(6).split(".")[1]?.replace(/0+$/,"")||"";const o=s.match(/^0*/)?.[0].length||0,i=Math.min(o+2,6),l=Number(t.toFixed(i));return isFinite(l)?l.toLocaleString(n,{minimumFractionDigits:i,maximumFractionDigits:i}):"--"},zo=e=>{const t=new Map;for(const n of e){const r=n.feature?.id;r&&t.set(r,n)}return Array.from(t.values())},k6=(e,t)=>[...e].sort((n,r)=>{const s=n.feature?.id,o=r.feature?.id,i=s?t.get(s)??1/0:1/0,l=o?t.get(o)??1/0:1/0;return i-l}),j6=e=>{const t=new Map;e?.forEach(s=>{const{entitlements:o=[],base_entitlements:i=[]}=s||{};zo([...o,...i]).forEach(l=>{const c=l.feature?.id;if(c){const u=t.get(c);u?u.count+=1:t.set(c,{count:1,entitlement:l})}})});const n=Array.from(t.entries()).sort(([s,o],[i,l])=>{if(l.count!==o.count)return l.count-o.count;const c=o.entitlement.feature?.key||s,u=l.entitlement.feature?.key||i;return c.localeCompare(u)}),r=new Map;return n.forEach(([s],o)=>{r.set(s,o)}),{frequencyMap:t,featureOrderMap:r}},L6=({productKey:e,checkoutUsername:t})=>{if(t)return`${`${window.location.protocol}//${window.location.host}`}/${t}/pricing/${e}`},c1=({width:e=170,height:t=28})=>a.jsxs("svg",{width:e,height:t,viewBox:"0 0 109 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.8067 11.1011L3.14332 4.129C3.05337 3.99689 3.0007 3.83743 3.0007 3.66554C3.0007 3.21055 3.36946 2.8418 3.82444 2.8418C4.27943 2.8418 4.64818 3.21067 4.64818 3.66554C4.64818 3.83302 4.59823 3.98875 4.51234 4.11871L6.77653 10.7372L8.01027 9.8381L9.28086 10.8577L11.5539 4.15702C11.4517 4.01983 11.3912 3.84975 11.3912 3.66554C11.3912 3.21055 11.76 2.8418 12.215 2.8418C12.67 2.8418 13.0387 3.21067 13.0387 3.66554C13.0387 3.83686 12.9864 3.99598 12.8969 4.12775L15.2467 11.0969C15.5919 11.1951 15.8447 11.5128 15.8447 11.8894C15.8447 12.3444 15.4758 12.7131 15.0208 12.7131C15.0119 12.7131 15.003 12.7129 14.994 12.7127C14.9374 12.7628 14.8811 12.8082 14.828 12.8471L8.89074 17.211C8.89153 17.2255 8.89187 17.2401 8.89187 17.2548C8.89187 17.7098 8.523 18.0786 8.06802 18.0786C7.61304 18.0786 7.24428 17.7097 7.24428 17.2548V17.2547L1.19998 12.6988C1.15014 12.7081 1.09895 12.7131 1.0464 12.7131C0.591413 12.7131 0.222656 12.3442 0.222656 11.8894C0.222656 11.5179 0.468569 11.2037 0.806473 11.1011H0.8067ZM5.61127 11.616L3.76839 6.28006L2.00383 11.7247L3.88355 13.1032L5.61127 11.6159V11.616ZM10.3818 11.762L12.1125 13.0939L14.0868 11.5975L12.1785 6.44302L10.3819 11.7621L10.3818 11.762ZM7.9853 11.2693L4.84019 13.829L8.05672 16.3512L11.2279 13.9857L7.9853 11.2693Z",fill:"#3D3D3D"}),a.jsx("path",{d:"M106.131 4.67773V4.50098H107.149V4.67773H106.736V5.78874H106.542V4.67773H106.131Z",fill:"#3D3D3D"}),a.jsx("path",{d:"M107.567 4.66281V5.78874H107.381V4.50098H107.752L108.059 5.62691H108.094L108.407 4.50098H108.777V5.78874H108.592V4.66281H108.556L108.248 5.78874H107.909L107.603 4.66281H107.567Z",fill:"#3D3D3D"}),a.jsx("path",{d:"M38.0201 16.5853V8.53632C38.0201 7.23736 37.6683 6.20512 36.9647 5.43958C36.2611 4.67415 35.252 4.29138 33.9377 4.29138C32.2831 4.29138 30.9763 4.94865 30.0175 6.26298C29.4144 4.94854 28.2855 4.29138 26.6309 4.29138C25.0382 4.29138 23.7701 4.94865 22.8267 6.26298V4.61606H19.6953V16.5852H22.9891V10.0902C22.9891 8.00256 23.7855 6.95879 25.3783 6.95879C26.0896 6.95879 26.569 7.16368 26.8165 7.57346C27.0639 7.98324 27.1876 8.55926 27.1876 9.30152V16.5851H30.4815V9.85821C30.4815 7.94074 31.247 6.98196 32.7779 6.98196C33.5511 6.98196 34.0613 7.19453 34.3088 7.61979C34.5562 8.04505 34.6799 8.65204 34.6799 9.44074V16.5852L38.0201 16.5853ZM51.1754 12.8739H48.0207C47.5568 14.0338 46.7449 14.6136 45.5851 14.6136C44.7036 14.6136 44.0193 14.343 43.5322 13.8017C43.0452 13.2605 42.7938 12.4718 42.7785 11.4357H51.361V11.1109C51.361 9.0078 50.8275 7.34156 49.7604 6.11222C48.6935 4.88277 47.2553 4.2681 45.446 4.2681C43.6985 4.2681 42.2604 4.87124 41.1314 6.07741C40.0026 7.28358 39.4382 8.81455 39.4382 10.6702C39.4382 12.5568 39.9987 14.0723 41.1199 15.2166C42.241 16.361 43.7218 16.9332 45.5619 16.9332C46.9382 16.9332 48.1251 16.5775 49.1226 15.8662C50.12 15.1548 50.8043 14.1574 51.1754 12.8739ZM48.0207 9.34808H42.7785C42.8711 8.51304 43.1573 7.85576 43.6367 7.37637C44.1161 6.89697 44.7191 6.65728 45.446 6.65728C46.2192 6.65728 46.8223 6.90861 47.2553 7.41106C47.6882 7.91373 47.9434 8.55937 48.0207 9.34808ZM59.158 4.61606H56.7224V0.997552H53.4517V4.61606H51.4568V6.84284H53.4517V13.0594C53.4517 14.4976 53.7107 15.4679 54.2288 15.9704C54.7468 16.473 55.7249 16.7243 57.1631 16.7243C57.6888 16.7243 58.3538 16.6934 59.158 16.6315V14.1264C58.8951 14.1574 58.5626 14.1729 58.1605 14.1729C57.8049 14.1729 57.5304 14.1459 57.337 14.0916C57.1437 14.0375 57.0007 13.9254 56.9079 13.7553C56.8151 13.5852 56.761 13.419 56.7455 13.2566C56.73 13.0942 56.7224 12.8352 56.7224 12.4795V6.84284H59.158V4.61606ZM67.8365 4.40733C67.5118 4.361 67.2721 4.33772 67.1174 4.33772C65.3235 4.33772 64.0323 5.16507 63.2437 6.81967V4.61606H60.1121V16.5852H63.406V11.1109C63.406 9.9511 63.661 9.02712 64.1714 8.33899C64.6818 7.65087 65.4781 7.30675 66.5606 7.30675C66.9472 7.30675 67.3724 7.3532 67.8363 7.44598L67.8365 4.40733ZM71.8061 0.0697271H68.5123V2.8532H71.8061V0.0697271ZM71.8061 4.61618H68.5123V16.5853H71.8061V4.61618ZM80.2526 0.0697271C80.1288 0.0697271 79.9509 0.0619314 79.719 0.0464489C79.4871 0.0309663 79.2745 0.0194383 79.0812 0.0116405C78.888 0.00384272 78.7062 0 78.5362 0C77.067 0 76.0156 0.313153 75.3814 0.939462C74.7475 1.56577 74.4305 2.58254 74.4305 3.98975V4.61606H72.482V6.84284H74.4305V16.5852H77.7243V6.84284H80.0438V4.61606H77.701V3.66507C77.701 3.1702 77.7976 2.84167 77.991 2.67927C78.1843 2.51688 78.5747 2.43573 79.1623 2.43573C79.2088 2.43573 79.5721 2.45122 80.2526 2.48207V0.0697271ZM86.681 4.26821C84.8099 4.26821 83.3021 4.84808 82.1577 6.00791C81.0134 7.16775 80.4412 8.6986 80.4412 10.6008C80.4412 12.5184 81.0056 14.057 82.1344 15.2168C83.2633 16.3766 84.7633 16.9565 86.6344 16.9565C88.5056 16.9565 90.0017 16.3766 91.1229 15.2168C92.244 14.0569 92.8046 12.5183 92.8046 10.6008C92.8046 8.69871 92.2441 7.16775 91.1229 6.00791C90.0017 4.84808 88.5212 4.26821 86.681 4.26821ZM86.5882 6.77345C87.5006 6.77345 88.2158 7.10977 88.7338 7.78241C89.2519 8.45517 89.5109 9.38684 89.5109 10.5775C89.5109 11.7992 89.2596 12.7541 88.757 13.4423C88.2545 14.1304 87.547 14.4744 86.6346 14.4744C85.7222 14.4744 85.0108 14.1342 84.5006 13.4538C83.9903 12.7734 83.7351 11.8223 83.7351 10.6007C83.7351 9.40989 83.9903 8.47438 84.5006 7.79394C85.0109 7.1135 85.7068 6.77345 86.5882 6.77345ZM105.032 4.61618H101.39L99.2796 7.81722L97.1456 4.61618H93.3878L97.3542 10.276L92.9935 16.5853H96.7281L99.2333 12.7115L101.762 16.5853H105.519L101.089 10.2064L105.032 4.61618Z",fill:"#3D3D3D"})]}),u1=({data:e})=>{const t=e?.customer,{address:n}=n1(t?.billing_configuration?.billing_address),{address:r}=q9(t),s=t?.primary_phone||t?.phone_numbers[0]?.phone_number,o=n??r,i=e?.line_items||[],l=e?.charge_items||[],c=e?.usage_items||[],u=e?.currency?.symbol,d=[...i.map(h=>({...h,itemType:"line_item"})),...l.map(h=>({...h,itemType:"charge_item"})),...c.map(h=>({...h,itemType:"usage_item"}))],f=X9({...e?.tenant?.default_address},"No Tenant address provided");return a.jsxs(k,{children:[a.jsxs(k,{className:"h-max w-full flex items-center justify-between",children:[a.jsxs(k,{className:"flex items-center gap-3",children:[e?.tenant?.logo_url?a.jsx(k,{className:"h-[2.5rem] w-[2.5rem] border overflow-hidden rounded-full",children:a.jsx("img",{src:e?.tenant?.logo_url,alt:"logo"})}):a.jsx(k,{className:"rounded-full h-[2.8rem] w-[2.8rem] bg-grey-200 p-3",children:a.jsx(me,{name:"logo-placeholder",size:20})}),a.jsx(Zo,{variant:"h5",className:"text-metrifox-black font-bold",children:e?.tenant?.business_name})]}),a.jsxs(k,{children:[a.jsx(Zo,{variant:"h5",className:"text-metrifox-black font-bold uppercase",children:"Invoice"}),a.jsx(W,{variant:"body7",className:"text-metrifox-black text-right",children:e?.invoice_number})]})]}),a.jsxs(k,{className:"bg-grey-100 px-3.5 py-5 mt-4 rounded-md flex items-center justify-between",children:[a.jsxs(k,{children:[a.jsx(Z,{variant:"label8",className:"font-medium text-grey-700",children:"Invoice no"}),a.jsx(W,{variant:"body7",className:"font-light text-grey-500 text-center mt-0.5",children:e?.invoice_number||"-"})]}),a.jsxs(k,{children:[a.jsx(Z,{variant:"label8",className:"font-medium text-grey-700",children:"Issue date"}),a.jsx(W,{variant:"body7",className:"font-light text-grey-500 mt-0.5",children:at(e?.issued_at)})]}),a.jsxs(k,{children:[a.jsx(Z,{variant:"label8",className:"font-medium text-grey-700",children:"Due date"}),a.jsx(W,{variant:"body7",className:"font-light text-grey-500 mt-0.5",children:at(e?.due_at)})]})]}),a.jsxs(k,{className:"mt-6 flex justify-between",children:[a.jsxs(k,{className:"text-gray-500 max-w-[12rem]",children:[a.jsx(Z,{variant:"label8",className:"font-medium text-grey-700",children:"From"}),a.jsxs(k,{className:"text-gray-500 font-light space-y-1 mt-1",children:[a.jsx(W,{variant:"body7",children:e?.tenant?.business_name}),a.jsx(W,{variant:"body7",children:f})]})]}),a.jsxs(k,{className:"text-right max-w-[12rem] ",children:[a.jsx(Z,{variant:"label8",className:"font-medium text-grey-700",children:"Billed to"}),a.jsxs(k,{className:"text-gray-500 font-light space-y-1 mt-1",children:[a.jsx(Z,{variant:"label8",className:"font-medium text-metrifox-blue underline",children:e?.customer?.full_name}),a.jsx(W,{variant:"body7",children:o}),a.jsx(W,{variant:"body7",children:e?.customer?.primary_email}),a.jsxs(W,{variant:"body7",children:[" ",s]})]})]})]}),a.jsx(k,{className:"mt-8",children:a.jsxs(k,{className:"w-full",children:[a.jsxs(k,{className:"bg-grey-200 p-2 rounded-md font-medium text-grey-700 grid grid-cols-5 gap-x-6",children:[a.jsx(Z,{variant:"label8",className:"w-[12rem]",children:"Item name"}),a.jsx(Z,{variant:"label8",children:"Price"}),a.jsx(Z,{variant:"label8",children:"Qty"}),a.jsx(Z,{variant:"label8",children:"Subtotal"}),a.jsx(Z,{variant:"label8",children:"Amount"})]}),a.jsx(k,{children:d?.map(h=>a.jsxs(k,{className:"text-left font-normal text-grey-700 pt-6 pb-2 grid grid-cols-5 gap-x-6 border-t border-grey-200 px-3 py-5",children:[a.jsxs(k,{className:"w-full",children:[a.jsx(Z,{variant:"label8",className:"font-medium text-metrifox-blue",children:h?.name}),a.jsx(W,{variant:"body8",children:h?.description})]}),a.jsx(W,{variant:"body6",color:"text-metrifox-black",children:h.itemType==="usage_item"?"Tier based pricing":`${u}${le(h.unit_price)}`}),a.jsx(W,{variant:"body8",children:h?.quantity}),a.jsxs(W,{variant:"body8",children:[u,le(h?.total_amount)]}),a.jsxs(W,{variant:"body8",children:[u,le(h?.amount)]})]},h?.id))})]})}),a.jsxs(k,{className:"bg-neutral-100 p-2.5 w-[50%] ml-auto rounded-sm mt-5",children:[a.jsxs(k,{className:"flex justify-between border-b pb-2",children:[a.jsxs(k,{children:[a.jsx(Z,{variant:"label8",className:"font-medium text-neutral-900",children:"Subtotal"}),a.jsxs(k,{className:"text-neutral-500 space-y-1 my-2",children:[a.jsx(W,{variant:"body8",children:"Discount"}),a.jsx(W,{variant:"body8",children:"Tax"})]}),a.jsx(Z,{variant:"label8",className:"font-medium text-grey-800",children:"Grand total"})]}),a.jsxs(k,{className:"text-right",children:[a.jsxs(Z,{variant:"label8",className:"font-medium text-grey-800",children:[u,le(e?.summary?.items_subtotal)]}),a.jsxs(k,{className:"text-neutral-500 space-y-1 my-2",children:[a.jsxs(W,{variant:"body8",children:[u,le(e?.summary?.total_discounts)]}),a.jsxs(W,{variant:"body8",children:[u,le(e?.summary?.total_tax_amount)]})]}),a.jsxs(Z,{variant:"label8",className:"font-medium text-grey-800",children:[u,le(e?.summary?.total_amount_paid)]})]})]}),a.jsxs(k,{className:"flex justify-between pt-2",children:[a.jsxs(k,{className:"space-y-3 font-medium text-neutral-900",children:[a.jsx(Z,{variant:"label8",children:"Amount paid"}),a.jsx(Z,{variant:"label8",children:"Amount due"})]}),a.jsxs(k,{className:"text-right space-y-3 font-medium text-grey-800",children:[a.jsxs(Z,{variant:"label8",children:[u,le(e?.summary?.total_amount_paid)]}),a.jsxs(Z,{variant:"label7",children:[u,le(e?.summary?.total_outstanding_amount)]})]})]})]}),e?.comment&&a.jsxs(k,{className:"flex items-center gap-1 text-[.625rem] bg-metrifox-white p-2 mt-40 border-[0.03rem] border-grey-300 rounded",children:[a.jsx(W,{variant:"body8",children:"Note:"}),a.jsx(W,{variant:"body8",children:e?.comment})]}),a.jsx(k,{className:"border-t-[0.03rem] border-grey-300 pb-3 w-full mt-20",children:a.jsxs(k,{className:"flex items-center justify-center gap-2 mt-1",children:[a.jsx(W,{variant:"body8",className:"text-metrifox-black",children:"Powered by"}),a.jsx(c1,{height:30,width:100})]})})]})},d1=p.createContext({});function Ko(e){const t=p.useRef(null);return t.current===null&&(t.current=e()),t.current}const Yo=typeof window<"u",f1=Yo?p.useLayoutEffect:p.useEffect,Go=p.createContext(null);function qo(e,t){e.indexOf(t)===-1&&e.push(t)}function Xo(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const jt=(e,t,n)=>n>t?t:n<e?e:n;function Jo(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Pn=()=>{},Lt=()=>{};process.env.NODE_ENV!=="production"&&(Pn=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Jo(t,n))},Lt=(e,t,n)=>{if(!e)throw new Error(Jo(t,n))});const Et={},h1=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function p1(e){return typeof e=="object"&&e!==null}const m1=e=>/^0[^.\s]+$/u.test(e);function Qo(e){let t;return()=>(t===void 0&&(t=e()),t)}const Xe=e=>e,E6=(e,t)=>n=>t(e(n)),ir=(...e)=>e.reduce(E6),ar=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class ei{constructor(){this.subscriptions=[]}add(t){return qo(this.subscriptions,t),()=>Xo(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let o=0;o<s;o++){const i=this.subscriptions[o];i&&i(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const lt=e=>e*1e3,Je=e=>e/1e3;function g1(e,t){return t?e*(1e3/t):0}const x1=new Set;function ti(e,t,n){e||x1.has(t)||(console.warn(Jo(t,n)),x1.add(t))}const y1=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,M6=1e-7,S6=12;function T6(e,t,n,r,s){let o,i,l=0;do i=t+(n-t)/2,o=y1(i,r,s)-e,o>0?n=i:t=i;while(Math.abs(o)>M6&&++l<S6);return i}function lr(e,t,n,r){if(e===t&&n===r)return Xe;const s=o=>T6(o,0,1,e,n);return o=>o===0||o===1?o:y1(s(o),t,r)}const v1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,b1=e=>t=>1-e(1-t),C1=lr(.33,1.53,.69,.99),ni=b1(C1),w1=v1(ni),k1=e=>(e*=2)<1?.5*ni(e):.5*(2-Math.pow(2,-10*(e-1))),ri=e=>1-Math.sin(Math.acos(e)),j1=b1(ri),L1=v1(ri),D6=lr(.42,0,1,1),P6=lr(0,0,.58,1),E1=lr(.42,0,.58,1),A6=e=>Array.isArray(e)&&typeof e[0]!="number",M1=e=>Array.isArray(e)&&typeof e[0]=="number",S1={linear:Xe,easeIn:D6,easeInOut:E1,easeOut:P6,circIn:ri,circInOut:L1,circOut:j1,backIn:ni,backInOut:w1,backOut:C1,anticipate:k1},R6=e=>typeof e=="string",T1=e=>{if(M1(e)){Lt(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,s]=e;return lr(t,n,r,s)}else if(R6(e))return Lt(S1[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),S1[e];return e},gs=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function N6(e,t){let n=new Set,r=new Set,s=!1,o=!1;const i=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1};function c(d){i.has(d)&&(u.schedule(d),e()),d(l)}const u={schedule:(d,f=!1,h=!1)=>{const g=h&&s?n:r;return f&&i.add(d),g.has(d)||g.add(d),d},cancel:d=>{r.delete(d),i.delete(d)},process:d=>{if(l=d,s){o=!0;return}s=!0,[n,r]=[r,n],n.forEach(c),n.clear(),s=!1,o&&(o=!1,u.process(d))}};return u}const F6=40;function D1(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,i=gs.reduce((y,j)=>(y[j]=N6(o),y),{}),{setup:l,read:c,resolveKeyframes:u,preUpdate:d,update:f,preRender:h,render:m,postRender:g}=i,x=()=>{const y=Et.useManualTiming?s.timestamp:performance.now();n=!1,Et.useManualTiming||(s.delta=r?1e3/60:Math.max(Math.min(y-s.timestamp,F6),1)),s.timestamp=y,s.isProcessing=!0,l.process(s),c.process(s),u.process(s),d.process(s),f.process(s),h.process(s),m.process(s),g.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(x))},v=()=>{n=!0,r=!0,s.isProcessing||e(x)};return{schedule:gs.reduce((y,j)=>{const w=i[j];return y[j]=(L,T=!1,A=!1)=>(n||v(),w.schedule(L,T,A)),y},{}),cancel:y=>{for(let j=0;j<gs.length;j++)i[gs[j]].cancel(y)},state:s,steps:i}}const{schedule:ce,cancel:Mt,state:Ee,steps:si}=D1(typeof requestAnimationFrame<"u"?requestAnimationFrame:Xe,!0);let xs;function V6(){xs=void 0}const Ie={now:()=>(xs===void 0&&Ie.set(Ee.isProcessing||Et.useManualTiming?Ee.timestamp:performance.now()),xs),set:e=>{xs=e,queueMicrotask(V6)}},P1=e=>t=>typeof t=="string"&&t.startsWith(e),oi=P1("--"),$6=P1("var(--"),ii=e=>$6(e)?O6.test(e.split("/*")[0].trim()):!1,O6=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,An={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},cr={...An,transform:e=>jt(0,1,e)},ys={...An,default:1},ur=e=>Math.round(e*1e5)/1e5,ai=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function _6(e){return e==null}const B6=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,li=(e,t)=>n=>!!(typeof n=="string"&&B6.test(n)&&n.startsWith(e)||t&&!_6(n)&&Object.prototype.hasOwnProperty.call(n,t)),A1=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,o,i,l]=r.match(ai);return{[e]:parseFloat(s),[t]:parseFloat(o),[n]:parseFloat(i),alpha:l!==void 0?parseFloat(l):1}},I6=e=>jt(0,255,e),ci={...An,transform:e=>Math.round(I6(e))},tn={test:li("rgb","red"),parse:A1("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ci.transform(e)+", "+ci.transform(t)+", "+ci.transform(n)+", "+ur(cr.transform(r))+")"};function H6(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const ui={test:li("#"),parse:H6,transform:tn.transform},dr=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ft=dr("deg"),xt=dr("%"),X=dr("px"),W6=dr("vh"),Z6=dr("vw"),R1=(()=>({...xt,parse:e=>xt.parse(e)/100,transform:e=>xt.transform(e*100)}))(),Rn={test:li("hsl","hue"),parse:A1("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+xt.transform(ur(t))+", "+xt.transform(ur(n))+", "+ur(cr.transform(r))+")"},Ce={test:e=>tn.test(e)||ui.test(e)||Rn.test(e),parse:e=>tn.test(e)?tn.parse(e):Rn.test(e)?Rn.parse(e):ui.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?tn.transform(e):Rn.transform(e),getAnimatableNone:e=>{const t=Ce.parse(e);return t.alpha=0,Ce.transform(t)}},U6=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function z6(e){return isNaN(e)&&typeof e=="string"&&(e.match(ai)?.length||0)+(e.match(U6)?.length||0)>0}const N1="number",F1="color",K6="var",Y6="var(",V1="${}",G6=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function fr(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let o=0;const l=t.replace(G6,c=>(Ce.test(c)?(r.color.push(o),s.push(F1),n.push(Ce.parse(c))):c.startsWith(Y6)?(r.var.push(o),s.push(K6),n.push(c)):(r.number.push(o),s.push(N1),n.push(parseFloat(c))),++o,V1)).split(V1);return{values:n,split:l,indexes:r,types:s}}function $1(e){return fr(e).values}function O1(e){const{split:t,types:n}=fr(e),r=t.length;return s=>{let o="";for(let i=0;i<r;i++)if(o+=t[i],s[i]!==void 0){const l=n[i];l===N1?o+=ur(s[i]):l===F1?o+=Ce.transform(s[i]):o+=s[i]}return o}}const q6=e=>typeof e=="number"?0:Ce.test(e)?Ce.getAnimatableNone(e):e;function X6(e){const t=$1(e);return O1(e)(t.map(q6))}const Vt={test:z6,parse:$1,createTransformer:O1,getAnimatableNone:X6};function di(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function J6({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,o=0,i=0;if(!t)s=o=i=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;s=di(c,l,e+1/3),o=di(c,l,e),i=di(c,l,e-1/3)}return{red:Math.round(s*255),green:Math.round(o*255),blue:Math.round(i*255),alpha:r}}function vs(e,t){return n=>n>0?t:e}const de=(e,t,n)=>e+(t-e)*n,fi=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},Q6=[ui,tn,Rn],e7=e=>Q6.find(t=>t.test(e));function _1(e){const t=e7(e);if(Pn(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Rn&&(n=J6(n)),n}const B1=(e,t)=>{const n=_1(e),r=_1(t);if(!n||!r)return vs(e,t);const s={...n};return o=>(s.red=fi(n.red,r.red,o),s.green=fi(n.green,r.green,o),s.blue=fi(n.blue,r.blue,o),s.alpha=de(n.alpha,r.alpha,o),tn.transform(s))},hi=new Set(["none","hidden"]);function t7(e,t){return hi.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function n7(e,t){return n=>de(e,t,n)}function pi(e){return typeof e=="number"?n7:typeof e=="string"?ii(e)?vs:Ce.test(e)?B1:o7:Array.isArray(e)?I1:typeof e=="object"?Ce.test(e)?B1:r7:vs}function I1(e,t){const n=[...e],r=n.length,s=e.map((o,i)=>pi(o)(o,t[i]));return o=>{for(let i=0;i<r;i++)n[i]=s[i](o);return n}}function r7(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=pi(e[s])(e[s],t[s]));return s=>{for(const o in r)n[o]=r[o](s);return n}}function s7(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const o=t.types[s],i=e.indexes[o][r[o]],l=e.values[i]??0;n[s]=l,r[o]++}return n}const o7=(e,t)=>{const n=Vt.createTransformer(t),r=fr(e),s=fr(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?hi.has(e)&&!s.values.length||hi.has(t)&&!r.values.length?t7(e,t):ir(I1(s7(r,s),s.values),n):(Pn(!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.`,"complex-values-different"),vs(e,t))};function H1(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?de(e,t,n):pi(e)(e,t)}const i7=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ce.update(t,n),stop:()=>Mt(t),now:()=>Ee.isProcessing?Ee.timestamp:Ie.now()}},W1=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let o=0;o<s;o++)r+=Math.round(e(o/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},bs=2e4;function mi(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<bs;)t+=n,r=e.next(t);return t>=bs?1/0:t}function a7(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(mi(r),bs);return{type:"keyframes",ease:o=>r.next(s*o).value/t,duration:Je(s)}}const l7=5;function Z1(e,t,n){const r=Math.max(t-l7,0);return g1(n-e(r),t-r)}const fe={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},gi=.001;function c7({duration:e=fe.duration,bounce:t=fe.bounce,velocity:n=fe.velocity,mass:r=fe.mass}){let s,o;Pn(e<=lt(fe.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let i=1-t;i=jt(fe.minDamping,fe.maxDamping,i),e=jt(fe.minDuration,fe.maxDuration,Je(e)),i<1?(s=u=>{const d=u*i,f=d*e,h=d-n,m=xi(u,i),g=Math.exp(-f);return gi-h/m*g},o=u=>{const f=u*i*e,h=f*n+n,m=Math.pow(i,2)*Math.pow(u,2)*e,g=Math.exp(-f),x=xi(Math.pow(u,2),i);return(-s(u)+gi>0?-1:1)*((h-m)*g)/x}):(s=u=>{const d=Math.exp(-u*e),f=(u-n)*e+1;return-gi+d*f},o=u=>{const d=Math.exp(-u*e),f=(n-u)*(e*e);return d*f});const l=5/e,c=d7(s,o,l);if(e=lt(e),isNaN(c))return{stiffness:fe.stiffness,damping:fe.damping,duration:e};{const u=Math.pow(c,2)*r;return{stiffness:u,damping:i*2*Math.sqrt(r*u),duration:e}}}const u7=12;function d7(e,t,n){let r=n;for(let s=1;s<u7;s++)r=r-e(r)/t(r);return r}function xi(e,t){return e*Math.sqrt(1-t*t)}const f7=["duration","bounce"],h7=["stiffness","damping","mass"];function U1(e,t){return t.some(n=>e[n]!==void 0)}function p7(e){let t={velocity:fe.velocity,stiffness:fe.stiffness,damping:fe.damping,mass:fe.mass,isResolvedFromDuration:!1,...e};if(!U1(e,h7)&&U1(e,f7))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,o=2*jt(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:fe.mass,stiffness:s,damping:o}}else{const n=c7(e);t={...t,...n,mass:fe.mass},t.isResolvedFromDuration=!0}return t}function Cs(e=fe.visualDuration,t=fe.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const o=n.keyframes[0],i=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:c,damping:u,mass:d,duration:f,velocity:h,isResolvedFromDuration:m}=p7({...n,velocity:-Je(n.velocity||0)}),g=h||0,x=u/(2*Math.sqrt(c*d)),v=i-o,b=Je(Math.sqrt(c/d)),C=Math.abs(v)<5;r||(r=C?fe.restSpeed.granular:fe.restSpeed.default),s||(s=C?fe.restDelta.granular:fe.restDelta.default);let y;if(x<1){const w=xi(b,x);y=L=>{const T=Math.exp(-x*b*L);return i-T*((g+x*b*v)/w*Math.sin(w*L)+v*Math.cos(w*L))}}else if(x===1)y=w=>i-Math.exp(-b*w)*(v+(g+b*v)*w);else{const w=b*Math.sqrt(x*x-1);y=L=>{const T=Math.exp(-x*b*L),A=Math.min(w*L,300);return i-T*((g+x*b*v)*Math.sinh(A)+w*v*Math.cosh(A))/w}}const j={calculatedDuration:m&&f||null,next:w=>{const L=y(w);if(m)l.done=w>=f;else{let T=w===0?g:0;x<1&&(T=w===0?lt(g):Z1(y,w,L));const A=Math.abs(T)<=r,I=Math.abs(i-L)<=s;l.done=A&&I}return l.value=l.done?i:L,l},toString:()=>{const w=Math.min(mi(j),bs),L=W1(T=>j.next(w*T).value,w,30);return w+"ms "+L},toTransition:()=>{}};return j}Cs.applyToOptions=e=>{const t=a7(e,100,Cs);return e.ease=t.ease,e.duration=lt(t.duration),e.type="keyframes",e};function yi({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:i,min:l,max:c,restDelta:u=.5,restSpeed:d}){const f=e[0],h={done:!1,value:f},m=A=>l!==void 0&&A<l||c!==void 0&&A>c,g=A=>l===void 0?c:c===void 0||Math.abs(l-A)<Math.abs(c-A)?l:c;let x=n*t;const v=f+x,b=i===void 0?v:i(v);b!==v&&(x=b-f);const C=A=>-x*Math.exp(-A/r),y=A=>b+C(A),j=A=>{const I=C(A),V=y(A);h.done=Math.abs(I)<=u,h.value=h.done?b:V};let w,L;const T=A=>{m(h.value)&&(w=A,L=Cs({keyframes:[h.value,g(h.value)],velocity:Z1(y,A,h.value),damping:s,stiffness:o,restDelta:u,restSpeed:d}))};return T(0),{calculatedDuration:null,next:A=>{let I=!1;return!L&&w===void 0&&(I=!0,j(A),T(A)),w!==void 0&&A>=w?L.next(A-w):(!I&&j(A),h)}}}function m7(e,t,n){const r=[],s=n||Et.mix||H1,o=e.length-1;for(let i=0;i<o;i++){let l=s(e[i],e[i+1]);if(t){const c=Array.isArray(t)?t[i]||Xe:t;l=ir(c,l)}r.push(l)}return r}function z1(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const o=e.length;if(Lt(o===t.length,"Both input and output ranges must be the same length","range-length"),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const i=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=m7(t,r,s),c=l.length,u=d=>{if(i&&d<e[0])return t[0];let f=0;if(c>1)for(;f<e.length-2&&!(d<e[f+1]);f++);const h=ar(e[f],e[f+1],d);return l[f](h)};return n?d=>u(jt(e[0],e[o-1],d)):u}function g7(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=ar(0,t,r);e.push(de(n,1,s))}}function x7(e){const t=[0];return g7(t,e.length-1),t}function y7(e,t){return e.map(n=>n*t)}function v7(e,t){return e.map(()=>t||E1).splice(0,e.length-1)}function Nn({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=A6(r)?r.map(T1):T1(r),o={done:!1,value:t[0]},i=y7(n&&n.length===t.length?n:x7(t),e),l=z1(i,t,{ease:Array.isArray(s)?s:v7(t,s)});return{calculatedDuration:e,next:c=>(o.value=l(c),o.done=c>=e,o)}}const b7=e=>e!==null;function vi(e,{repeat:t,repeatType:n="loop"},r,s=1){const o=e.filter(b7),l=s<0||t&&n!=="loop"&&t%2===1?0:o.length-1;return!l||r===void 0?o[l]:r}const C7={decay:yi,inertia:yi,tween:Nn,keyframes:Nn,spring:Cs};function K1(e){typeof e.type=="string"&&(e.type=C7[e.type])}class bi{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const w7=e=>e/100;class Ci extends bi{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==Ie.now()&&this.tick(Ie.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;K1(t);const{type:n=Nn,repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:i=0}=t;let{keyframes:l}=t;const c=n||Nn;process.env.NODE_ENV!=="production"&&c!==Nn&&Lt(l.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${l}`,"spring-two-frames"),c!==Nn&&typeof l[0]!="number"&&(this.mixKeyframes=ir(w7,H1(l[0],l[1])),l=[0,100]);const u=c({...t,keyframes:l});o==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...l].reverse(),velocity:-i})),u.calculatedDuration===null&&(u.calculatedDuration=mi(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:s,mixKeyframes:o,mirroredGenerator:i,resolvedDuration:l,calculatedDuration:c}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:d,repeat:f,repeatType:h,repeatDelay:m,type:g,onUpdate:x,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const b=this.currentTime-u*(this.playbackSpeed>=0?1:-1),C=this.playbackSpeed>=0?b<0:b>s;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let y=this.currentTime,j=r;if(f){const A=Math.min(this.currentTime,s)/l;let I=Math.floor(A),V=A%1;!V&&A>=1&&(V=1),V===1&&I--,I=Math.min(I,f+1),!!(I%2)&&(h==="reverse"?(V=1-V,m&&(V-=m/l)):h==="mirror"&&(j=i)),y=jt(0,1,V)*l}const w=C?{done:!1,value:d[0]}:j.next(y);o&&(w.value=o(w.value));let{done:L}=w;!C&&c!==null&&(L=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&L);return T&&g!==yi&&(w.value=vi(d,this.options,v,this.speed)),x&&x(w.value),T&&this.finish(),w}then(t,n){return this.finished.then(t,n)}get duration(){return Je(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Je(t)}get time(){return Je(this.currentTime)}set time(t){t=lt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Ie.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Je(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=i7,startTime:n}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Ie.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function k7(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const nn=e=>e*180/Math.PI,wi=e=>{const t=nn(Math.atan2(e[1],e[0]));return ki(t)},j7={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:wi,rotateZ:wi,skewX:e=>nn(Math.atan(e[1])),skewY:e=>nn(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ki=e=>(e=e%360,e<0&&(e+=360),e),Y1=wi,G1=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),q1=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),L7={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:G1,scaleY:q1,scale:e=>(G1(e)+q1(e))/2,rotateX:e=>ki(nn(Math.atan2(e[6],e[5]))),rotateY:e=>ki(nn(Math.atan2(-e[2],e[0]))),rotateZ:Y1,rotate:Y1,skewX:e=>nn(Math.atan(e[4])),skewY:e=>nn(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ji(e){return e.includes("scale")?1:0}function Li(e,t){if(!e||e==="none")return ji(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=L7,s=n;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=j7,s=l}if(!s)return ji(t);const o=r[t],i=s[1].split(",").map(M7);return typeof o=="function"?o(i):i[o]}const E7=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Li(n,t)};function M7(e){return parseFloat(e.trim())}const Fn=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Vn=(()=>new Set(Fn))(),X1=e=>e===An||e===X,S7=new Set(["x","y","z"]),T7=Fn.filter(e=>!S7.has(e));function D7(e){const t=[];return T7.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const rn={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),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:(e,{transform:t})=>Li(t,"x"),y:(e,{transform:t})=>Li(t,"y")};rn.translateX=rn.x,rn.translateY=rn.y;const sn=new Set;let Ei=!1,Mi=!1,Si=!1;function J1(){if(Mi){const e=Array.from(sn).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=D7(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([o,i])=>{r.getValue(o)?.set(i)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Mi=!1,Ei=!1,sn.forEach(e=>e.complete(Si)),sn.clear()}function Q1(){sn.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Mi=!0)})}function P7(){Si=!0,Q1(),J1(),Si=!1}class Ti{constructor(t,n,r,s,o,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=o,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(sn.add(this),Ei||(Ei=!0,ce.read(Q1),ce.resolveKeyframes(J1))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const o=s?.get(),i=t[t.length-1];if(o!==void 0)t[0]=o;else if(r&&n){const l=r.readValue(n,i);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=i),s&&o===void 0&&s.set(t[0])}k7(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),sn.delete(this)}cancel(){this.state==="scheduled"&&(sn.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const A7=e=>e.startsWith("--");function R7(e,t,n){A7(t)?e.style.setProperty(t,n):e.style[t]=n}const N7=Qo(()=>window.ScrollTimeline!==void 0),F7={};function V7(e,t){const n=Qo(e);return()=>F7[t]??n()}const eu=V7(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),hr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,tu={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:hr([0,.65,.55,1]),circOut:hr([.55,0,1,.45]),backIn:hr([.31,.01,.66,-.59]),backOut:hr([.33,1.53,.69,.99])};function nu(e,t){if(e)return typeof e=="function"?eu()?W1(e,t):"ease-out":M1(e)?hr(e):Array.isArray(e)?e.map(n=>nu(n,t)||tu.easeOut):tu[e]}function $7(e,t,n,{delay:r=0,duration:s=300,repeat:o=0,repeatType:i="loop",ease:l="easeOut",times:c}={},u=void 0){const d={[t]:n};c&&(d.offset=c);const f=nu(l,s);Array.isArray(f)&&(d.easing=f);const h={delay:r,duration:s,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:i==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(d,h)}function ru(e){return typeof e=="function"&&"applyToOptions"in e}function O7({type:e,...t}){return ru(e)&&eu()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class _7 extends bi{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:o,allowFlatten:i=!1,finalKeyframe:l,onComplete:c}=t;this.isPseudoElement=!!o,this.allowFlatten=i,this.options=t,Lt(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=O7(t);this.animation=$7(n,r,s,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const d=vi(s,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(d):R7(n,r,d),this.animation.cancel()}c?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Je(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Je(t)}get time(){return Je(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=lt(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&N7()?(this.animation.timeline=t,Xe):n(this)}}const su={anticipate:k1,backInOut:w1,circInOut:L1};function B7(e){return e in su}function I7(e){typeof e.ease=="string"&&B7(e.ease)&&(e.ease=su[e.ease])}const ou=10;class H7 extends _7{constructor(t){I7(t),K1(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:o,...i}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const l=new Ci({...i,autoplay:!1}),c=lt(this.finishedTime??this.time);n.setWithVelocity(l.sample(c-ou).value,l.sample(c).value,ou),l.stop()}}const iu=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Vt.test(e)||e==="0")&&!e.startsWith("url("));function W7(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Z7(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],i=iu(s,t),l=iu(o,t);return Pn(i===l,`You are trying to animate ${t} from "${s}" to "${o}". "${i?o:s}" is not an animatable value.`,"value-not-animatable"),!i||!l?!1:W7(e)||(n==="spring"||ru(n))&&r}function Di(e){e.duration=0,e.type="keyframes"}const U7=new Set(["opacity","clipPath","filter","transform"]),z7=Qo(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function K7(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:o,type:i}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=t.owner.getProps();return z7()&&n&&U7.has(n)&&(n!=="transform"||!u)&&!c&&!r&&s!=="mirror"&&o!==0&&i!=="inertia"}const Y7=40;class G7 extends bi{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:o=0,repeatType:i="loop",keyframes:l,name:c,motionValue:u,element:d,...f}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Ie.now();const h={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:o,repeatType:i,name:c,motionValue:u,element:d,...f},m=d?.KeyframeResolver||Ti;this.keyframeResolver=new m(l,(g,x,v)=>this.onKeyframesResolved(g,x,h,!v),c,u,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,r,s){this.keyframeResolver=void 0;const{name:o,type:i,velocity:l,delay:c,isHandoff:u,onUpdate:d}=r;this.resolvedAt=Ie.now(),Z7(t,o,i,l)||((Et.instantAnimations||!c)&&d?.(vi(t,r,n)),t[0]=t[t.length-1],Di(r),r.repeat=0);const h={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>Y7?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},m=!u&&K7(h)?new H7({...h,element:h.motionValue.owner.current}):new Ci(h);m.finished.then(()=>this.notifyFinished()).catch(Xe),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),P7()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const q7=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function X7(e){const t=q7.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}const J7=4;function au(e,t,n=1){Lt(n<=J7,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,s]=X7(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const i=o.trim();return h1(i)?parseFloat(i):i}return ii(s)?au(s,t,n+1):s}function Pi(e,t){return e?.[t]??e?.default??e}const lu=new Set(["width","height","top","left","right","bottom",...Fn]),Q7={test:e=>e==="auto",parse:e=>e},cu=e=>t=>t.test(e),uu=[An,X,xt,Ft,Z6,W6,Q7],du=e=>uu.find(cu(e));function ep(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||m1(e):!0}const tp=new Set(["brightness","contrast","saturate","opacity"]);function np(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(ai)||[];if(!r)return e;const s=n.replace(r,"");let o=tp.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+s+")"}const rp=/\b([a-z-]*)\(.*?\)/gu,Ai={...Vt,getAnimatableNone:e=>{const t=e.match(rp);return t?t.map(np).join(" "):e}},fu={...An,transform:Math.round},sp={rotate:Ft,rotateX:Ft,rotateY:Ft,rotateZ:Ft,scale:ys,scaleX:ys,scaleY:ys,scaleZ:ys,skew:Ft,skewX:Ft,skewY:Ft,distance:X,translateX:X,translateY:X,translateZ:X,x:X,y:X,z:X,perspective:X,transformPerspective:X,opacity:cr,originX:R1,originY:R1,originZ:X},Ri={borderWidth:X,borderTopWidth:X,borderRightWidth:X,borderBottomWidth:X,borderLeftWidth:X,borderRadius:X,radius:X,borderTopLeftRadius:X,borderTopRightRadius:X,borderBottomRightRadius:X,borderBottomLeftRadius:X,width:X,maxWidth:X,height:X,maxHeight:X,top:X,right:X,bottom:X,left:X,padding:X,paddingTop:X,paddingRight:X,paddingBottom:X,paddingLeft:X,margin:X,marginTop:X,marginRight:X,marginBottom:X,marginLeft:X,backgroundPositionX:X,backgroundPositionY:X,...sp,zIndex:fu,fillOpacity:cr,strokeOpacity:cr,numOctaves:fu},op={...Ri,color:Ce,backgroundColor:Ce,outlineColor:Ce,fill:Ce,stroke:Ce,borderColor:Ce,borderTopColor:Ce,borderRightColor:Ce,borderBottomColor:Ce,borderLeftColor:Ce,filter:Ai,WebkitFilter:Ai},hu=e=>op[e];function pu(e,t){let n=hu(e);return n!==Ai&&(n=Vt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ip=new Set(["auto","none","0"]);function ap(e,t,n){let r=0,s;for(;r<e.length&&!s;){const o=e[r];typeof o=="string"&&!ip.has(o)&&fr(o).values.length&&(s=e[r]),r++}if(s&&n)for(const o of t)e[o]=pu(n,s)}class lp extends Ti{constructor(t,n,r,s,o){super(t,n,r,s,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let u=t[c];if(typeof u=="string"&&(u=u.trim(),ii(u))){const d=au(u,n.current);d!==void 0&&(t[c]=d),c===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!lu.has(r)||t.length!==2)return;const[s,o]=t,i=du(s),l=du(o);if(i!==l)if(X1(i)&&X1(l))for(let c=0;c<t.length;c++){const u=t[c];typeof u=="string"&&(t[c]=parseFloat(u))}else rn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||ep(t[s]))&&r.push(s);r.length&&ap(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=rn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const o=r.length-1,i=r[o];r[o]=rn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([l,c])=>{t.getValue(l).set(c)}),this.resolveNoneKeyframes()}}function cp(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const s=n?.[e]??r.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}const mu=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function up(e){return p1(e)&&"offsetHeight"in e}const gu=30,dp=e=>!isNaN(parseFloat(e)),pr={current:void 0};class fp{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const s=Ie.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ie.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=dp(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&ti(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new ei);const r=this.events[t].add(n);return t==="change"?()=>{r(),ce.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return pr.current&&pr.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Ie.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>gu)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,gu);return g1(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function on(e,t){return new fp(e,t)}const{schedule:Ni}=D1(queueMicrotask,!1),ct={x:!1,y:!1};function xu(){return ct.x||ct.y}function hp(e){return e==="x"||e==="y"?ct[e]?null:(ct[e]=!0,()=>{ct[e]=!1}):ct.x||ct.y?null:(ct.x=ct.y=!0,()=>{ct.x=ct.y=!1})}function yu(e,t){const n=cp(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function vu(e){return!(e.pointerType==="touch"||xu())}function pp(e,t,n={}){const[r,s,o]=yu(e,n),i=l=>{if(!vu(l))return;const{target:c}=l,u=t(c,l);if(typeof u!="function"||!c)return;const d=f=>{vu(f)&&(u(f),c.removeEventListener("pointerleave",d))};c.addEventListener("pointerleave",d,s)};return r.forEach(l=>{l.addEventListener("pointerenter",i,s)}),o}const bu=(e,t)=>t?e===t?!0:bu(e,t.parentElement):!1,Fi=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,mp=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function gp(e){return mp.has(e.tagName)||e.tabIndex!==-1}const ws=new WeakSet;function Cu(e){return t=>{t.key==="Enter"&&e(t)}}function Vi(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const xp=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Cu(()=>{if(ws.has(n))return;Vi(n,"down");const s=Cu(()=>{Vi(n,"up")}),o=()=>Vi(n,"cancel");n.addEventListener("keyup",s,t),n.addEventListener("blur",o,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function wu(e){return Fi(e)&&!xu()}function yp(e,t,n={}){const[r,s,o]=yu(e,n),i=l=>{const c=l.currentTarget;if(!wu(l))return;ws.add(c);const u=t(c,l),d=(m,g)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),ws.has(c)&&ws.delete(c),wu(m)&&typeof u=="function"&&u(m,{success:g})},f=m=>{d(m,c===window||c===document||n.useGlobalTarget||bu(c,m.target))},h=m=>{d(m,!1)};window.addEventListener("pointerup",f,s),window.addEventListener("pointercancel",h,s)};return r.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",i,s),up(l)&&(l.addEventListener("focus",u=>xp(u,s)),!gp(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),o}function ku(e){return p1(e)&&"ownerSVGElement"in e}function vp(e){return ku(e)&&e.tagName==="svg"}function bp(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],s=e[1+n],o=e[2+n],i=e[3+n],l=z1(s,o,i);return t?l(r):l}const Pe=e=>!!(e&&e.getVelocity),Cp=[...uu,Ce,Vt],wp=e=>Cp.find(cu(e)),$i=p.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function kp(e=!0){const t=p.useContext(Go);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,o=p.useId();p.useEffect(()=>{if(e)return s(o)},[e]);const i=p.useCallback(()=>e&&r&&r(o),[o,r,e]);return!n&&r?[!1,i]:[!0]}const ju=p.createContext({strict:!1}),Lu={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"]},$n={};for(const e in Lu)$n[e]={isEnabled:t=>Lu[e].some(n=>!!t[n])};function jp(e){for(const t in e)$n[t]={...$n[t],...e[t]}}const Lp=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ks(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Lp.has(e)}let Eu=e=>!ks(e);function Ep(e){typeof e=="function"&&(Eu=t=>t.startsWith("on")?!ks(t):e(t))}try{Ep(require("@emotion/is-prop-valid").default)}catch{}function Mp(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||(Eu(s)||n===!0&&ks(s)||!t&&!ks(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const js=p.createContext({});function Ls(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function mr(e){return typeof e=="string"||Array.isArray(e)}const Oi=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],_i=["initial",...Oi];function Es(e){return Ls(e.animate)||_i.some(t=>mr(e[t]))}function Mu(e){return!!(Es(e)||e.variants)}function Sp(e,t){if(Es(e)){const{initial:n,animate:r}=e;return{initial:n===!1||mr(n)?n:void 0,animate:mr(r)?r:void 0}}return e.inherit!==!1?t:{}}function Tp(e){const{initial:t,animate:n}=Sp(e,p.useContext(js));return p.useMemo(()=>({initial:t,animate:n}),[Su(t),Su(n)])}function Su(e){return Array.isArray(e)?e.join(" "):e}const gr={};function Dp(e){for(const t in e)gr[t]=e[t],oi(t)&&(gr[t].isCSSVariable=!0)}function Tu(e,{layout:t,layoutId:n}){return Vn.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!gr[e]||e==="opacity")}const Pp={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ap=Fn.length;function Rp(e,t,n){let r="",s=!0;for(let o=0;o<Ap;o++){const i=Fn[o],l=e[i];if(l===void 0)continue;let c=!0;if(typeof l=="number"?c=l===(i.startsWith("scale")?1:0):c=parseFloat(l)===0,!c||n){const u=mu(l,Ri[i]);if(!c){s=!1;const d=Pp[i]||i;r+=`${d}(${u}) `}n&&(t[i]=u)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function Bi(e,t,n){const{style:r,vars:s,transformOrigin:o}=e;let i=!1,l=!1;for(const c in t){const u=t[c];if(Vn.has(c)){i=!0;continue}else if(oi(c)){s[c]=u;continue}else{const d=mu(u,Ri[c]);c.startsWith("origin")?(l=!0,o[c]=d):r[c]=d}}if(t.transform||(i||n?r.transform=Rp(t,e.transform,n):r.transform&&(r.transform="none")),l){const{originX:c="50%",originY:u="50%",originZ:d=0}=o;r.transformOrigin=`${c} ${u} ${d}`}}const Ii=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Du(e,t,n){for(const r in t)!Pe(t[r])&&!Tu(r,n)&&(e[r]=t[r])}function Np({transformTemplate:e},t){return p.useMemo(()=>{const n=Ii();return Bi(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Fp(e,t){const n=e.style||{},r={};return Du(r,n,e),Object.assign(r,Np(e,t)),r}function Vp(e,t){const n={},r=Fp(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const $p={offset:"stroke-dashoffset",array:"stroke-dasharray"},Op={offset:"strokeDashoffset",array:"strokeDasharray"};function _p(e,t,n=1,r=0,s=!0){e.pathLength=1;const o=s?$p:Op;e[o.offset]=X.transform(-r);const i=X.transform(t),l=X.transform(n);e[o.array]=`${i} ${l}`}function Pu(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:o=1,pathOffset:i=0,...l},c,u,d){if(Bi(e,l,u),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h}=e;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=d?.transformBox??"fill-box",delete f.transformBox),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&_p(f,s,o,i,!1)}const Au=()=>({...Ii(),attrs:{}}),Ru=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Bp(e,t,n,r){const s=p.useMemo(()=>{const o=Au();return Pu(o,t,Ru(r),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};Du(o,e.style,e),s.style={...o,...s.style}}return s}const Ip=["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 Hi(e){return typeof e!="string"||e.includes("-")?!1:!!(Ip.indexOf(e)>-1||/[A-Z]/u.test(e))}function Hp(e,t,n,{latestValues:r},s,o=!1){const l=(Hi(e)?Bp:Vp)(t,r,s,e),c=Mp(t,typeof e=="string",o),u=e!==p.Fragment?{...c,...l,ref:n}:{},{children:d}=t,f=p.useMemo(()=>Pe(d)?d.get():d,[d]);return p.createElement(e,{...u,children:f})}function Nu(e){const t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Wi(e,t,n,r){if(typeof t=="function"){const[s,o]=Nu(r);t=t(n!==void 0?n:e.custom,s,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,o]=Nu(r);t=t(n!==void 0?n:e.custom,s,o)}return t}function Ms(e){return Pe(e)?e.get():e}function Wp({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:Zp(n,r,s,e),renderState:t()}}function Zp(e,t,n,r){const s={},o=r(e,{});for(const h in o)s[h]=Ms(o[h]);let{initial:i,animate:l}=e;const c=Es(e),u=Mu(e);t&&u&&!c&&e.inherit!==!1&&(i===void 0&&(i=t.initial),l===void 0&&(l=t.animate));let d=n?n.initial===!1:!1;d=d||i===!1;const f=d?l:i;if(f&&typeof f!="boolean"&&!Ls(f)){const h=Array.isArray(f)?f:[f];for(let m=0;m<h.length;m++){const g=Wi(e,h[m]);if(g){const{transitionEnd:x,transition:v,...b}=g;for(const C in b){let y=b[C];if(Array.isArray(y)){const j=d?y.length-1:0;y=y[j]}y!==null&&(s[C]=y)}for(const C in x)s[C]=x[C]}}}return s}const Fu=e=>(t,n)=>{const r=p.useContext(js),s=p.useContext(Go),o=()=>Wp(e,t,r,s);return n?o():Ko(o)};function Zi(e,t,n){const{style:r}=e,s={};for(const o in r)(Pe(r[o])||t.style&&Pe(t.style[o])||Tu(o,e)||n?.getValue(o)?.liveStyle!==void 0)&&(s[o]=r[o]);return s}const Up=Fu({scrapeMotionValuesFromProps:Zi,createRenderState:Ii});function Vu(e,t,n){const r=Zi(e,t,n);for(const s in e)if(Pe(e[s])||Pe(t[s])){const o=Fn.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[o]=e[s]}return r}const zp=Fu({scrapeMotionValuesFromProps:Vu,createRenderState:Au}),Kp=Symbol.for("motionComponentSymbol");function On(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Yp(e,t,n){return p.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):On(n)&&(n.current=r))},[t])}const Ui=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Gp="framerAppearId",$u="data-"+Ui(Gp),Ou=p.createContext({});function qp(e,t,n,r,s){const{visualElement:o}=p.useContext(js),i=p.useContext(ju),l=p.useContext(Go),c=p.useContext($i).reducedMotion,u=p.useRef(null);r=r||i.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c}));const d=u.current,f=p.useContext(Ou);d&&!d.projection&&s&&(d.type==="html"||d.type==="svg")&&Xp(u.current,n,s,f);const h=p.useRef(!1);p.useInsertionEffect(()=>{d&&h.current&&d.update(n,l)});const m=n[$u],g=p.useRef(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return f1(()=>{d&&(h.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),g.current&&d.animationState&&d.animationState.animateChanges())}),p.useEffect(()=>{d&&(!g.current&&d.animationState&&d.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),g.current=!1),d.enteringChildren=void 0)}),d}function Xp(e,t,n,r){const{layoutId:s,layout:o,drag:i,dragConstraints:l,layoutScroll:c,layoutRoot:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:_u(e.parent)),e.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:!!i||l&&On(l),visualElement:e,animationType:typeof o=="string"?o:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:u})}function _u(e){if(e)return e.options.allowProjection!==!1?e.projection:_u(e.parent)}function zi(e,{forwardMotionProps:t=!1}={},n,r){n&&jp(n);const s=Hi(e)?zp:Up;function o(l,c){let u;const d={...p.useContext($i),...l,layoutId:Jp(l)},{isStatic:f}=d,h=Tp(l),m=s(l,f);if(!f&&Yo){Qp(d,n);const g=e4(d);u=g.MeasureLayout,h.visualElement=qp(e,m,d,r,g.ProjectionNode)}return a.jsxs(js.Provider,{value:h,children:[u&&h.visualElement?a.jsx(u,{visualElement:h.visualElement,...d}):null,Hp(e,l,Yp(m,h.visualElement,c),m,f,t)]})}o.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const i=p.forwardRef(o);return i[Kp]=e,i}function Jp({layoutId:e}){const t=p.useContext(d1).id;return t&&e!==void 0?t+"-"+e:e}function Qp(e,t){const n=p.useContext(ju).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const r="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Pn(!1,r,"lazy-strict-mode"):Lt(!1,r,"lazy-strict-mode")}}function e4(e){const{drag:t,layout:n}=$n;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function t4(e,t){if(typeof Proxy>"u")return zi;const n=new Map,r=(o,i)=>zi(o,i,e,t),s=(o,i)=>(process.env.NODE_ENV!=="production"&&ti(!1,"motion() is deprecated. Use motion.create() instead."),r(o,i));return new Proxy(s,{get:(o,i)=>i==="create"?r:(n.has(i)||n.set(i,zi(i,void 0,e,t)),n.get(i))})}function Bu({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function n4({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function r4(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Ki(e){return e===void 0||e===1}function Yi({scale:e,scaleX:t,scaleY:n}){return!Ki(e)||!Ki(t)||!Ki(n)}function an(e){return Yi(e)||Iu(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Iu(e){return Hu(e.x)||Hu(e.y)}function Hu(e){return e&&e!=="0%"}function Ss(e,t,n){const r=e-n,s=t*r;return n+s}function Wu(e,t,n,r,s){return s!==void 0&&(e=Ss(e,s,r)),Ss(e,n,r)+t}function Gi(e,t=0,n=1,r,s){e.min=Wu(e.min,t,n,r,s),e.max=Wu(e.max,t,n,r,s)}function Zu(e,{x:t,y:n}){Gi(e.x,t.translate,t.scale,t.originPoint),Gi(e.y,n.translate,n.scale,n.originPoint)}const Uu=.999999999999,zu=1.0000000000001;function s4(e,t,n,r=!1){const s=n.length;if(!s)return;t.x=t.y=1;let o,i;for(let l=0;l<s;l++){o=n[l],i=o.projectionDelta;const{visualElement:c}=o.options;c&&c.props.style&&c.props.style.display==="contents"||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Bn(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,Zu(e,i)),r&&an(o.latestValues)&&Bn(e,o.latestValues))}t.x<zu&&t.x>Uu&&(t.x=1),t.y<zu&&t.y>Uu&&(t.y=1)}function _n(e,t){e.min=e.min+t,e.max=e.max+t}function Ku(e,t,n,r,s=.5){const o=de(e.min,e.max,s);Gi(e,t,n,o,r)}function Bn(e,t){Ku(e.x,t.x,t.scaleX,t.scale,t.originX),Ku(e.y,t.y,t.scaleY,t.scale,t.originY)}function Yu(e,t){return Bu(r4(e.getBoundingClientRect(),t))}function o4(e,t,n){const r=Yu(e,n),{scroll:s}=t;return s&&(_n(r.x,s.offset.x),_n(r.y,s.offset.y)),r}const Gu=()=>({translate:0,scale:1,origin:0,originPoint:0}),In=()=>({x:Gu(),y:Gu()}),qu=()=>({min:0,max:0}),xe=()=>({x:qu(),y:qu()}),qi={current:null},Xu={current:!1};function i4(){if(Xu.current=!0,!!Yo)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>qi.current=e.matches;e.addEventListener("change",t),t()}else qi.current=!1}const a4=new WeakMap;function l4(e,t,n){for(const r in t){const s=t[r],o=n[r];if(Pe(s))e.addValue(r,s);else if(Pe(o))e.addValue(r,on(s,{owner:e}));else if(o!==s)if(e.hasValue(r)){const i=e.getValue(r);i.liveStyle===!0?i.jump(s):i.hasAnimated||i.set(s)}else{const i=e.getStaticValue(r);e.addValue(r,on(i!==void 0?i:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Ju=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class c4{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,blockInitialAnimation:o,visualState:i},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Ti,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.renderScheduledAt=0,this.scheduleRender=()=>{const h=Ie.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,ce.render(this.render,!1,!0))};const{latestValues:c,renderState:u}=i;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=Es(n),this.isVariantNode=Mu(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const m=f[h];c[h]!==void 0&&Pe(m)&&m.set(c[h])}}mount(t){this.current=t,a4.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Xu.current||i4(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:qi.current,process.env.NODE_ENV!=="production"&&ti(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Mt(this.notifyUpdate),Mt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=Vn.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",i=>{this.latestValues[t]=i,this.props.onUpdate&&ce.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in $n){const n=$n[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):xe()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<Ju.length;r++){const s=Ju[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const o="on"+s,i=t[o];i&&(this.propEventSubscriptions[s]=this.on(s,i))}this.prevMotionValues=l4(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=on(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(h1(r)||m1(r))?r=parseFloat(r):!wp(r)&&Vt.test(n)&&(r=pu(t,n)),this.setBaseTarget(t,Pe(r)?r.get():r)),Pe(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=Wi(this.props,n,this.presenceContext?.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Pe(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new ei),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Ni.render(this.render)}}class Qu extends c4{constructor(){super(...arguments),this.KeyframeResolver=lp}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Pe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function ed(e,{style:t,vars:n},r,s){const o=e.style;let i;for(i in t)o[i]=t[i];s?.applyProjectionStyles(o,r);for(i in n)o.setProperty(i,n[i])}function u4(e){return window.getComputedStyle(e)}class d4 extends Qu{constructor(){super(...arguments),this.type="html",this.renderInstance=ed}readValueFromInstance(t,n){if(Vn.has(n))return this.projection?.isProjecting?ji(n):E7(t,n);{const r=u4(t),s=(oi(n)?r.getPropertyValue(n):r[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Yu(t,n)}build(t,n,r){Bi(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Zi(t,n,r)}}const td=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 f4(e,t,n,r){ed(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(td.has(s)?s:Ui(s),t.attrs[s])}class h4 extends Qu{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=xe}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Vn.has(n)){const r=hu(n);return r&&r.default||0}return n=td.has(n)?n:Ui(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Vu(t,n,r)}build(t,n,r){Pu(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){f4(t,n,r,s)}mount(t){this.isSVGTag=Ru(t.tagName),super.mount(t)}}const p4=(e,t)=>Hi(e)?new h4(t):new d4(t,{allowProjection:e!==p.Fragment});function Hn(e,t,n){const r=e.getProps();return Wi(r,t,n!==void 0?n:r.custom,e)}const Xi=e=>Array.isArray(e);function m4(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,on(n))}function g4(e){return Xi(e)?e[e.length-1]||0:e}function x4(e,t){const n=Hn(e,t);let{transitionEnd:r={},transition:s={},...o}=n||{};o={...o,...r};for(const i in o){const l=g4(o[i]);m4(e,i,l)}}function y4(e){return!!(Pe(e)&&e.add)}function Ji(e,t){const n=e.getValue("willChange");if(y4(n))return n.add(t);if(!n&&Et.WillChange){const r=new Et.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function nd(e){return e.props[$u]}const v4=e=>e!==null;function b4(e,{repeat:t,repeatType:n="loop"},r){const s=e.filter(v4),o=t&&n!=="loop"&&t%2===1?0:s.length-1;return s[o]}const C4={type:"spring",stiffness:500,damping:25,restSpeed:10},w4=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),k4={type:"keyframes",duration:.8},j4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},L4=(e,{keyframes:t})=>t.length>2?k4:Vn.has(e)?e.startsWith("scale")?w4(t[1]):C4:j4;function E4({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:s,repeat:o,repeatType:i,repeatDelay:l,from:c,elapsed:u,...d}){return!!Object.keys(d).length}const Qi=(e,t,n,r={},s,o)=>i=>{const l=Pi(r,e)||{},c=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-lt(c);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:h=>{t.set(h),l.onUpdate&&l.onUpdate(h)},onComplete:()=>{i(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:o?void 0:s};E4(l)||Object.assign(d,L4(e,d)),d.duration&&(d.duration=lt(d.duration)),d.repeatDelay&&(d.repeatDelay=lt(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(Di(d),d.delay===0&&(f=!0)),(Et.instantAnimations||Et.skipAnimations)&&(f=!0,Di(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,f&&!o&&t.get()!==void 0){const h=b4(d.keyframes,l);if(h!==void 0){ce.update(()=>{d.onUpdate(h),d.onComplete()});return}}return l.isSync?new Ci(d):new G7(d)};function M4({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function rd(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:i,...l}=t;r&&(o=r);const c=[],u=s&&e.animationState&&e.animationState.getState()[s];for(const d in l){const f=e.getValue(d,e.latestValues[d]??null),h=l[d];if(h===void 0||u&&M4(u,d))continue;const m={delay:n,...Pi(o||{},d)},g=f.get();if(g!==void 0&&!f.isAnimating&&!Array.isArray(h)&&h===g&&!m.velocity)continue;let x=!1;if(window.MotionHandoffAnimation){const b=nd(e);if(b){const C=window.MotionHandoffAnimation(b,d,ce);C!==null&&(m.startTime=C,x=!0)}}Ji(e,d),f.start(Qi(d,f,h,e.shouldReduceMotion&&lu.has(d)?{type:!1}:m,e,x));const v=f.animation;v&&c.push(v)}return i&&Promise.all(c).then(()=>{ce.update(()=>{i&&x4(e,i)})}),c}function sd(e,t,n,r=0,s=1){const o=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),i=e.size,l=(i-1)*r;return typeof n=="function"?n(o,i):s===1?o*r:l-o*r}function ea(e,t,n={}){const r=Hn(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const o=r?()=>Promise.all(rd(e,r,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:f}=s;return S4(e,t,c,u,d,f,n)}:()=>Promise.resolve(),{when:l}=s;if(l){const[c,u]=l==="beforeChildren"?[o,i]:[i,o];return c().then(()=>u())}else return Promise.all([o(),i(n.delay)])}function S4(e,t,n=0,r=0,s=0,o=1,i){const l=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),l.push(ea(c,t,{...i,delay:n+(typeof r=="function"?0:r)+sd(e.variantChildren,c,r,s,o)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(l)}function T4(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(o=>ea(e,o,n));r=Promise.all(s)}else if(typeof t=="string")r=ea(e,t,n);else{const s=typeof t=="function"?Hn(e,t,n.custom):t;r=Promise.all(rd(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function od(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const D4=_i.length;function id(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?id(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<D4;n++){const r=_i[n],s=e.props[r];(mr(s)||s===!1)&&(t[r]=s)}return t}const P4=[...Oi].reverse(),A4=Oi.length;function R4(e){return t=>Promise.all(t.map(({animation:n,options:r})=>T4(e,n,r)))}function N4(e){let t=R4(e),n=ad(),r=!0;const s=c=>(u,d)=>{const f=Hn(e,d,c==="exit"?e.presenceContext?.custom:void 0);if(f){const{transition:h,transitionEnd:m,...g}=f;u={...u,...g,...m}}return u};function o(c){t=c(e)}function i(c){const{props:u}=e,d=id(e.parent)||{},f=[],h=new Set;let m={},g=1/0;for(let v=0;v<A4;v++){const b=P4[v],C=n[b],y=u[b]!==void 0?u[b]:d[b],j=mr(y),w=b===c?C.isActive:null;w===!1&&(g=v);let L=y===d[b]&&y!==u[b]&&j;if(L&&r&&e.manuallyAnimateOnMount&&(L=!1),C.protectedKeys={...m},!C.isActive&&w===null||!y&&!C.prevProp||Ls(y)||typeof y=="boolean")continue;const T=F4(C.prevProp,y);let A=T||b===c&&C.isActive&&!L&&j||v>g&&j,I=!1;const V=Array.isArray(y)?y:[y];let O=V.reduce(s(b),{});w===!1&&(O={});const{prevResolvedValues:z={}}=C,U={...z,...O},P=D=>{A=!0,h.has(D)&&(I=!0,h.delete(D)),C.needsAnimating[D]=!0;const M=e.getValue(D);M&&(M.liveStyle=!1)};for(const D in U){const M=O[D],$=z[D];if(m.hasOwnProperty(D))continue;let N=!1;Xi(M)&&Xi($)?N=!od(M,$):N=M!==$,N?M!=null?P(D):h.add(D):M!==void 0&&h.has(D)?P(D):C.protectedKeys[D]=!0}C.prevProp=y,C.prevResolvedValues=O,C.isActive&&(m={...m,...O}),r&&e.blockInitialAnimation&&(A=!1);const F=L&&T;A&&(!F||I)&&f.push(...V.map(D=>{const M={type:b};if(typeof D=="string"&&r&&!F&&e.manuallyAnimateOnMount&&e.parent){const{parent:$}=e,N=Hn($,D);if($.enteringChildren&&N){const{delayChildren:H}=N.transition||{};M.delay=sd($.enteringChildren,e,H)}}return{animation:D,options:M}}))}if(h.size){const v={};if(typeof u.initial!="boolean"){const b=Hn(e,Array.isArray(u.initial)?u.initial[0]:u.initial);b&&b.transition&&(v.transition=b.transition)}h.forEach(b=>{const C=e.getBaseTarget(b),y=e.getValue(b);y&&(y.liveStyle=!0),v[b]=C??null}),f.push({animation:v})}let x=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,x?t(f):Promise.resolve()}function l(c,u){if(n[c].isActive===u)return Promise.resolve();e.variantChildren?.forEach(f=>f.animationState?.setActive(c,u)),n[c].isActive=u;const d=i(c);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:i,setActive:l,setAnimateFunction:o,getState:()=>n,reset:()=>{n=ad()}}}function F4(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!od(t,e):!1}function ln(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ad(){return{animate:ln(!0),whileInView:ln(),whileHover:ln(),whileTap:ln(),whileDrag:ln(),whileFocus:ln(),exit:ln()}}class $t{constructor(t){this.isMounted=!1,this.node=t}update(){}}class V4 extends $t{constructor(t){super(t),t.animationState||(t.animationState=N4(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Ls(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let $4=0;class O4 extends $t{constructor(){super(...arguments),this.id=$4++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const s=this.node.animationState.setActive("exit",!t);n&&!t&&s.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const _4={animation:{Feature:V4},exit:{Feature:O4}};function xr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function yr(e){return{point:{x:e.pageX,y:e.pageY}}}const B4=e=>t=>Fi(t)&&e(t,yr(t));function vr(e,t,n,r){return xr(e,t,B4(n),r)}const ld=1e-4,I4=1-ld,H4=1+ld,cd=.01,W4=0-cd,Z4=0+cd;function Ve(e){return e.max-e.min}function U4(e,t,n){return Math.abs(e-t)<=n}function ud(e,t,n,r=.5){e.origin=r,e.originPoint=de(t.min,t.max,e.origin),e.scale=Ve(n)/Ve(t),e.translate=de(n.min,n.max,e.origin)-e.originPoint,(e.scale>=I4&&e.scale<=H4||isNaN(e.scale))&&(e.scale=1),(e.translate>=W4&&e.translate<=Z4||isNaN(e.translate))&&(e.translate=0)}function br(e,t,n,r){ud(e.x,t.x,n.x,r?r.originX:void 0),ud(e.y,t.y,n.y,r?r.originY:void 0)}function dd(e,t,n){e.min=n.min+t.min,e.max=e.min+Ve(t)}function z4(e,t,n){dd(e.x,t.x,n.x),dd(e.y,t.y,n.y)}function fd(e,t,n){e.min=t.min-n.min,e.max=e.min+Ve(t)}function Cr(e,t,n){fd(e.x,t.x,n.x),fd(e.y,t.y,n.y)}function Qe(e){return[e("x"),e("y")]}const hd=({current:e})=>e?e.ownerDocument.defaultView:null,pd=(e,t)=>Math.abs(e-t);function K4(e,t){const n=pd(e.x,t.x),r=pd(e.y,t.y);return Math.sqrt(n**2+r**2)}class md{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:o=!1,distanceThreshold:i=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=na(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,g=K4(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!g)return;const{point:x}=h,{timestamp:v}=Ee;this.history.push({...x,timestamp:v});const{onStart:b,onMove:C}=this.handlers;m||(b&&b(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),C&&C(this.lastMoveEvent,h)},this.handlePointerMove=(h,m)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=ta(m,this.transformPagePoint),ce.update(this.updatePoint,!0)},this.handlePointerUp=(h,m)=>{this.end();const{onEnd:g,onSessionEnd:x,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=na(h.type==="pointercancel"?this.lastMoveEventInfo:ta(m,this.transformPagePoint),this.history);this.startEvent&&g&&g(h,b),x&&x(h,b)},!Fi(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=i,this.contextWindow=s||window;const l=yr(t),c=ta(l,this.transformPagePoint),{point:u}=c,{timestamp:d}=Ee;this.history=[{...u,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,na(c,this.history)),this.removeListeners=ir(vr(this.contextWindow,"pointermove",this.handlePointerMove),vr(this.contextWindow,"pointerup",this.handlePointerUp),vr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Mt(this.updatePoint)}}function ta(e,t){return t?{point:t(e.point)}:e}function gd(e,t){return{x:e.x-t.x,y:e.y-t.y}}function na({point:e},t){return{point:e,delta:gd(e,xd(t)),offset:gd(e,Y4(t)),velocity:G4(t,.1)}}function Y4(e){return e[0]}function xd(e){return e[e.length-1]}function G4(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=xd(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>lt(t)));)n--;if(!r)return{x:0,y:0};const o=Je(s.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const i={x:(s.x-r.x)/o,y:(s.y-r.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function q4(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?de(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?de(n,e,r.max):Math.min(e,n)),e}function yd(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function X4(e,{top:t,left:n,bottom:r,right:s}){return{x:yd(e.x,n,s),y:yd(e.y,t,r)}}function vd(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function J4(e,t){return{x:vd(e.x,t.x),y:vd(e.y,t.y)}}function Q4(e,t){let n=.5;const r=Ve(e),s=Ve(t);return s>r?n=ar(t.min,t.max-r,e.min):r>s&&(n=ar(e.min,e.max-s,t.min)),jt(0,1,n)}function em(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const ra=.35;function tm(e=ra){return e===!1?e=0:e===!0&&(e=ra),{x:bd(e,"left","right"),y:bd(e,"top","bottom")}}function bd(e,t,n){return{min:Cd(e,t),max:Cd(e,n)}}function Cd(e,t){return typeof e=="number"?e:e[t]||0}const nm=new WeakMap;class rm{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=xe(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const o=f=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(yr(f).point)},i=(f,h)=>{const{drag:m,dragPropagation:g,onDragStart:x}=this.getProps();if(m&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=hp(m),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Qe(b=>{let C=this.getAxisMotionValue(b).get()||0;if(xt.test(C)){const{projection:y}=this.visualElement;if(y&&y.layout){const j=y.layout.layoutBox[b];j&&(C=Ve(j)*(parseFloat(C)/100))}}this.originPoint[b]=C}),x&&ce.postRender(()=>x(f,h)),Ji(this.visualElement,"transform");const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},l=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:m,dragDirectionLock:g,onDirectionLock:x,onDrag:v}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:b}=h;if(g&&this.currentDirection===null){this.currentDirection=sm(b),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",h.point,b),this.updateAxis("y",h.point,b),this.visualElement.render(),v&&v(f,h)},c=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>Qe(f=>this.getAnimationState(f)==="paused"&&this.getAxisMotionValue(f).animation?.play()),{dragSnapToOrigin:d}=this.getProps();this.panSession=new md(t,{onSessionStart:o,onStart:i,onMove:l,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:hd(this.visualElement)})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!s||!r)return;const{velocity:i}=s;this.startAnimation(i);const{onDragEnd:l}=this.getProps();l&&ce.postRender(()=>l(r,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:s}=this.getProps();if(!r||!Ts(t,s,this.currentDirection))return;const o=this.getAxisMotionValue(t);let i=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(i=q4(i,this.constraints[t],this.elastic[t])),o.set(i)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;t&&On(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=X4(r.layoutBox,t):this.constraints=!1,this.elastic=tm(n),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Qe(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=em(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!On(t))return!1;const r=t.current;Lt(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const o=o4(r,s.root,this.visualElement.getTransformPagePoint());let i=J4(s.layout.layoutBox,o);if(n){const l=n(n4(i));this.hasMutatedConstraints=!!l,l&&(i=Bu(l))}return i}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},u=Qe(d=>{if(!Ts(d,n,this.currentDirection))return;let f=c&&c[d]||{};i&&(f={min:0,max:0});const h=s?200:1e6,m=s?40:1e7,g={type:"inertia",velocity:r?t[d]:0,bounceStiffness:h,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...o,...f};return this.startAxisValueAnimation(d,g)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Ji(this.visualElement,t),r.start(Qi(t,r,0,n,this.visualElement,!1))}stopAnimation(){Qe(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Qe(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),s=r[n];return s||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Qe(n=>{const{drag:r}=this.getProps();if(!Ts(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,o=this.getAxisMotionValue(n);if(s&&s.layout){const{min:i,max:l}=s.layout.layoutBox[n];o.set(t[n]-de(i,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!On(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};Qe(i=>{const l=this.getAxisMotionValue(i);if(l&&this.constraints!==!1){const c=l.get();s[i]=Q4({min:c,max:c},this.constraints[i])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Qe(i=>{if(!Ts(i,t,null))return;const l=this.getAxisMotionValue(i),{min:c,max:u}=this.constraints[i];l.set(de(c,u,s[i]))})}addListeners(){if(!this.visualElement.current)return;nm.set(this.visualElement,this);const t=this.visualElement.current,n=vr(t,"pointerdown",c=>{const{drag:u,dragListener:d=!0}=this.getProps();u&&d&&this.start(c)}),r=()=>{const{dragConstraints:c}=this.getProps();On(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,o=s.addEventListener("measure",r);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),ce.read(r);const i=xr(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(Qe(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=c[d].translate,f.set(f.get()+c[d].translate))}),this.visualElement.render())});return()=>{i(),n(),o(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:i=ra,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:o,dragElastic:i,dragMomentum:l}}}function Ts(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function sm(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class om extends $t{constructor(t){super(t),this.removeGroupControls=Xe,this.removeListeners=Xe,this.controls=new rm(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Xe}unmount(){this.removeGroupControls(),this.removeListeners()}}const wd=e=>(t,n)=>{e&&ce.postRender(()=>e(t,n))};class im extends $t{constructor(){super(...arguments),this.removePointerDownListener=Xe}onPointerDown(t){this.session=new md(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:hd(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:wd(t),onStart:wd(n),onMove:r,onEnd:(o,i)=>{delete this.session,s&&ce.postRender(()=>s(o,i))}}}mount(){this.removePointerDownListener=vr(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Ds={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function kd(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const wr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(X.test(e))e=parseFloat(e);else return e;const n=kd(e,t.target.x),r=kd(e,t.target.y);return`${n}% ${r}%`}},am={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=Vt.parse(e);if(s.length>5)return r;const o=Vt.createTransformer(e),i=typeof s[0]!="number"?1:0,l=n.x.scale*t.x,c=n.y.scale*t.y;s[0+i]/=l,s[1+i]/=c;const u=de(l,c,.5);return typeof s[2+i]=="number"&&(s[2+i]/=u),typeof s[3+i]=="number"&&(s[3+i]/=u),o(s)}};let sa=!1;class lm extends p.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:o}=t;Dp(cm),o&&(n.group&&n.group.add(o),r&&r.register&&s&&r.register(o),sa&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Ds.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:o}=this.props,{projection:i}=r;return i&&(i.isPresent=o,sa=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==o?i.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?i.promote():i.relegate()||ce.postRender(()=>{const l=i.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Ni.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;sa=!0,s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function jd(e){const[t,n]=kp(),r=p.useContext(d1);return a.jsx(lm,{...e,layoutGroup:r,switchLayoutGroup:p.useContext(Ou),isPresent:t,safeToRemove:n})}const cm={borderRadius:{...wr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:wr,borderTopRightRadius:wr,borderBottomLeftRadius:wr,borderBottomRightRadius:wr,boxShadow:am};function um(e,t,n){const r=Pe(e)?e:on(e);return r.start(Qi("",r,t,n)),r.animation}const dm=(e,t)=>e.depth-t.depth;class fm{constructor(){this.children=[],this.isDirty=!1}add(t){qo(this.children,t),this.isDirty=!0}remove(t){Xo(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(dm),this.isDirty=!1,this.children.forEach(t)}}function hm(e,t){const n=Ie.now(),r=({timestamp:s})=>{const o=s-n;o>=t&&(Mt(r),e(o-t))};return ce.setup(r,!0),()=>Mt(r)}const Ld=["TopLeft","TopRight","BottomLeft","BottomRight"],pm=Ld.length,Ed=e=>typeof e=="string"?parseFloat(e):e,Md=e=>typeof e=="number"||X.test(e);function mm(e,t,n,r,s,o){s?(e.opacity=de(0,n.opacity??1,gm(r)),e.opacityExit=de(t.opacity??1,0,xm(r))):o&&(e.opacity=de(t.opacity??1,n.opacity??1,r));for(let i=0;i<pm;i++){const l=`border${Ld[i]}Radius`;let c=Sd(t,l),u=Sd(n,l);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||Md(c)===Md(u)?(e[l]=Math.max(de(Ed(c),Ed(u),r),0),(xt.test(u)||xt.test(c))&&(e[l]+="%")):e[l]=u}(t.rotate||n.rotate)&&(e.rotate=de(t.rotate||0,n.rotate||0,r))}function Sd(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const gm=Td(0,.5,j1),xm=Td(.5,.95,Xe);function Td(e,t,n){return r=>r<e?0:r>t?1:n(ar(e,t,r))}function Dd(e,t){e.min=t.min,e.max=t.max}function et(e,t){Dd(e.x,t.x),Dd(e.y,t.y)}function Pd(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Ad(e,t,n,r,s){return e-=t,e=Ss(e,1/n,r),s!==void 0&&(e=Ss(e,1/s,r)),e}function ym(e,t=0,n=1,r=.5,s,o=e,i=e){if(xt.test(t)&&(t=parseFloat(t),t=de(i.min,i.max,t/100)-i.min),typeof t!="number")return;let l=de(o.min,o.max,r);e===o&&(l-=t),e.min=Ad(e.min,t,n,l,s),e.max=Ad(e.max,t,n,l,s)}function Rd(e,t,[n,r,s],o,i){ym(e,t[n],t[r],t[s],t.scale,o,i)}const vm=["x","scaleX","originX"],bm=["y","scaleY","originY"];function Nd(e,t,n,r){Rd(e.x,t,vm,n?n.x:void 0,r?r.x:void 0),Rd(e.y,t,bm,n?n.y:void 0,r?r.y:void 0)}function Fd(e){return e.translate===0&&e.scale===1}function Vd(e){return Fd(e.x)&&Fd(e.y)}function $d(e,t){return e.min===t.min&&e.max===t.max}function Cm(e,t){return $d(e.x,t.x)&&$d(e.y,t.y)}function Od(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function _d(e,t){return Od(e.x,t.x)&&Od(e.y,t.y)}function Bd(e){return Ve(e.x)/Ve(e.y)}function Id(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class wm{constructor(){this.members=[]}add(t){qo(this.members,t),t.scheduleRender()}remove(t){if(Xo(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(s=>t===s);if(n===0)return!1;let r;for(let s=n;s>=0;s--){const o=this.members[s];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:s}=t.options;s===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function km(e,t,n){let r="";const s=e.x.translate/t.x,o=e.y.translate/t.y,i=n?.z||0;if((s||o||i)&&(r=`translate3d(${s}px, ${o}px, ${i}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,rotateX:f,rotateY:h,skewX:m,skewY:g}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `),m&&(r+=`skewX(${m}deg) `),g&&(r+=`skewY(${g}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(r+=`scale(${l}, ${c})`),r||"none"}const oa=["","X","Y","Z"],jm=1e3;let Lm=0;function ia(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Hd(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=nd(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ce,!(s||o))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Hd(r)}function Wd({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(i={},l=t?.()){this.id=Lm++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Sm),this.nodes.forEach(Am),this.nodes.forEach(Rm),this.nodes.forEach(Tm)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new fm)}addEventListener(i,l){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new ei),this.eventHandlers.get(i).add(l)}notifyListeners(i,...l){const c=this.eventHandlers.get(i);c&&c.notify(...l)}hasListeners(i){return this.eventHandlers.has(i)}mount(i){if(this.instance)return;this.isSVG=ku(i)&&!vp(i),this.instance=i;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||l)&&(this.isLayoutDirty=!0),e){let d,f=0;const h=()=>this.root.updateBlockedByResize=!1;ce.read(()=>{f=window.innerWidth}),e(i,()=>{const m=window.innerWidth;m!==f&&(f=m,this.root.updateBlockedByResize=!0,d&&d(),d=hm(h,250),Ds.hasAnimatedSinceResize&&(Ds.hasAnimatedSinceResize=!1,this.nodes.forEach(zd)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||u.getDefaultTransition()||Om,{onLayoutAnimationStart:x,onLayoutAnimationComplete:v}=u.getProps(),b=!this.targetLayout||!_d(this.targetLayout,m),C=!f&&h;if(this.options.layoutRoot||this.resumeFrom||C||f&&(b||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const y={...Pi(g,"layout"),onPlay:x,onComplete:v};(u.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(d,C)}else f||zd(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Mt(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(Nm),this.animationId++)}getTransformTemplate(){const{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Hd(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const f=this.path[d];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:l,layout:c}=this.options;if(l===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Zd);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Ud);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Pm),this.nodes.forEach(Em),this.nodes.forEach(Mm)):this.nodes.forEach(Ud),this.clearAllSnapshots();const l=Ie.now();Ee.delta=jt(0,1e3/60,l-Ee.timestamp),Ee.timestamp=l,Ee.isProcessing=!0,si.update.process(Ee),si.preRender.process(Ee),si.render.process(Ee),Ee.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ni.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Dm),this.sharedNodes.forEach(Fm)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ce.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ce.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ve(this.snapshot.measuredBox.x)&&!Ve(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const i=this.layout;this.layout=this.measure(!1),this.layoutCorrected=xe(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(l=!1),l&&this.instance){const c=r(this.instance);this.scroll={animationId:this.root.animationId,phase:i,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!s)return;const i=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!Vd(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;i&&this.instance&&(l||an(this.latestValues)||d)&&(s(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){const l=this.measurePageBox();let c=this.removeElementScroll(l);return i&&(c=this.removeTransform(c)),_m(c),{animationId:this.root.animationId,measuredBox:l,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:i}=this.options;if(!i)return xe();const l=i.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Bm))){const{scroll:u}=this.root;u&&(_n(l.x,u.offset.x),_n(l.y,u.offset.y))}return l}removeElementScroll(i){const l=xe();if(et(l,i),this.scroll?.wasRoot)return l;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:d,options:f}=u;u!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&et(l,i),_n(l.x,d.offset.x),_n(l.y,d.offset.y))}return l}applyTransform(i,l=!1){const c=xe();et(c,i);for(let u=0;u<this.path.length;u++){const d=this.path[u];!l&&d.options.layoutScroll&&d.scroll&&d!==d.root&&Bn(c,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),an(d.latestValues)&&Bn(c,d.latestValues)}return an(this.latestValues)&&Bn(c,this.latestValues),c}removeTransform(i){const l=xe();et(l,i);for(let c=0;c<this.path.length;c++){const u=this.path[c];if(!u.instance||!an(u.latestValues))continue;Yi(u.latestValues)&&u.updateSnapshot();const d=xe(),f=u.measurePageBox();et(d,f),Nd(l,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,d)}return an(this.latestValues)&&Nd(l,this.latestValues),l}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ee.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(i||c&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=Ee.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=xe(),this.relativeTargetOrigin=xe(),Cr(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),et(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=xe(),this.targetWithTransforms=xe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),z4(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):et(this.target,this.layout.layoutBox),Zu(this.target,this.targetDelta)):et(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=xe(),this.relativeTargetOrigin=xe(),Cr(this.relativeTargetOrigin,this.target,h.target),et(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Yi(this.parent.latestValues)||Iu(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const i=this.getLead(),l=!!this.resumingFrom||this!==i;let c=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Ee.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;et(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;s4(this.layoutCorrected,this.treeScale,this.path,l),i.layout&&!i.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(i.target=i.layout.layoutBox,i.targetWithTransforms=xe());const{target:m}=i;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Pd(this.prevProjectionDelta.x,this.projectionDelta.x),Pd(this.prevProjectionDelta.y,this.projectionDelta.y)),br(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!Id(this.projectionDelta.x,this.prevProjectionDelta.x)||!Id(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){if(this.options.visualElement?.scheduleRender(),i){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=In(),this.projectionDelta=In(),this.projectionDeltaWithTransform=In()}setAnimationOrigin(i,l=!1){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},f=In();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const h=xe(),m=c?c.source:void 0,g=this.layout?this.layout.source:void 0,x=m!==g,v=this.getStack(),b=!v||v.members.length<=1,C=!!(x&&!b&&this.options.crossfade===!0&&!this.path.some($m));this.animationProgress=0;let y;this.mixTargetDelta=j=>{const w=j/1e3;Kd(f.x,i.x,w),Kd(f.y,i.y,w),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Cr(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Vm(this.relativeTarget,this.relativeTargetOrigin,h,w),y&&Cm(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=xe()),et(y,this.relativeTarget)),x&&(this.animationValues=d,mm(d,u,this.latestValues,w,C,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Mt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ce.update(()=>{Ds.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=on(0)),this.currentAnimation=um(this.motionValue,[0,1e3],{...i,velocity:0,isSync:!0,onUpdate:l=>{this.mixTargetDelta(l),i.onUpdate&&i.onUpdate(l)},onStop:()=>{},onComplete:()=>{i.onComplete&&i.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 i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(jm),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const i=this.getLead();let{targetWithTransforms:l,target:c,layout:u,latestValues:d}=i;if(!(!l||!c||!u)){if(this!==i&&this.layout&&u&&Jd(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||xe();const f=Ve(this.layout.layoutBox.x);c.x.min=i.target.x.min,c.x.max=c.x.min+f;const h=Ve(this.layout.layoutBox.y);c.y.min=i.target.y.min,c.y.max=c.y.min+h}et(l,c),Bn(l,d),br(this.projectionDeltaWithTransform,this.layoutCorrected,l,d)}}registerSharedNode(i,l){this.sharedNodes.has(i)||this.sharedNodes.set(i,new wm),this.sharedNodes.get(i).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const i=this.getStack();return i?i.lead===this:!0}getLead(){const{layoutId:i}=this.options;return i?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:i}=this.options;return i?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:l,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),i&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const i=this.getStack();return i?i.relegate(this):!1}resetSkewAndRotation(){const{visualElement:i}=this.options;if(!i)return;let l=!1;const{latestValues:c}=i;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const u={};c.z&&ia("z",i,u,this.animationValues);for(let d=0;d<oa.length;d++)ia(`rotate${oa[d]}`,i,u,this.animationValues),ia(`skew${oa[d]}`,i,u,this.animationValues);i.render();for(const d in u)i.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);i.scheduleRender()}applyProjectionStyles(i,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){i.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,i.visibility="",i.opacity="",i.pointerEvents=Ms(l?.pointerEvents)||"",i.transform=c?c(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(i.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,i.pointerEvents=Ms(l?.pointerEvents)||""),this.hasProjected&&!an(this.latestValues)&&(i.transform=c?c({},""):"none",this.hasProjected=!1);return}i.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=km(this.projectionDeltaWithTransform,this.treeScale,d);c&&(f=c(d,f)),i.transform=f;const{x:h,y:m}=this.projectionDelta;i.transformOrigin=`${h.origin*100}% ${m.origin*100}% 0`,u.animationValues?i.opacity=u===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:i.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const g in gr){if(d[g]===void 0)continue;const{correct:x,applyTo:v,isCSSVariable:b}=gr[g],C=f==="none"?d[g]:x(d[g],u);if(v){const y=v.length;for(let j=0;j<y;j++)i[v[j]]=C}else b?this.options.visualElement.renderState.vars[g]=C:i[g]=C}this.options.layoutId&&(i.pointerEvents=u===this?Ms(l?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>i.currentAnimation?.stop()),this.root.nodes.forEach(Zd),this.root.sharedNodes.clear()}}}function Em(e){e.updateLayout()}function Mm(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:s}=e.options,o=t.source!==e.layout.source;s==="size"?Qe(d=>{const f=o?t.measuredBox[d]:t.layoutBox[d],h=Ve(f);f.min=n[d].min,f.max=f.min+h}):Jd(s,t.layoutBox,n)&&Qe(d=>{const f=o?t.measuredBox[d]:t.layoutBox[d],h=Ve(n[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const i=In();br(i,n,t.layoutBox);const l=In();o?br(l,e.applyTransform(r,!0),t.measuredBox):br(l,n,t.layoutBox);const c=!Vd(i);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const m=xe();Cr(m,t.layoutBox,f.layoutBox);const g=xe();Cr(g,n,h.layoutBox),_d(m,g)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=m,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:l,layoutDelta:i,hasLayoutChanged:c,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function Sm(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Tm(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Dm(e){e.clearSnapshot()}function Zd(e){e.clearMeasurements()}function Ud(e){e.isLayoutDirty=!1}function Pm(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function zd(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Am(e){e.resolveTargetDelta()}function Rm(e){e.calcProjection()}function Nm(e){e.resetSkewAndRotation()}function Fm(e){e.removeLeadSnapshot()}function Kd(e,t,n){e.translate=de(t.translate,0,n),e.scale=de(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Yd(e,t,n,r){e.min=de(t.min,n.min,r),e.max=de(t.max,n.max,r)}function Vm(e,t,n,r){Yd(e.x,t.x,n.x,r),Yd(e.y,t.y,n.y,r)}function $m(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Om={duration:.45,ease:[.4,0,.1,1]},Gd=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),qd=Gd("applewebkit/")&&!Gd("chrome/")?Math.round:Xe;function Xd(e){e.min=qd(e.min),e.max=qd(e.max)}function _m(e){Xd(e.x),Xd(e.y)}function Jd(e,t,n){return e==="position"||e==="preserve-aspect"&&!U4(Bd(t),Bd(n),.2)}function Bm(e){return e!==e.root&&e.scroll?.wasRoot}const Im=Wd({attachResizeListener:(e,t)=>xr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),aa={current:void 0},Qd=Wd({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!aa.current){const e=new Im({});e.mount(window),e.setOptions({layoutScroll:!0}),aa.current=e}return aa.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Hm={pan:{Feature:im},drag:{Feature:om,ProjectionNode:Qd,MeasureLayout:jd}};function e0(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,o=r[s];o&&ce.postRender(()=>o(t,yr(t)))}class Wm extends $t{mount(){const{current:t}=this.node;t&&(this.unmount=pp(t,(n,r)=>(e0(this.node,r,"Start"),s=>e0(this.node,s,"End"))))}unmount(){}}class Zm extends $t{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=ir(xr(this.node.current,"focus",()=>this.onFocus()),xr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function t0(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const s="onTap"+(n==="End"?"":n),o=r[s];o&&ce.postRender(()=>o(t,yr(t)))}class Um extends $t{mount(){const{current:t}=this.node;t&&(this.unmount=yp(t,(n,r)=>(t0(this.node,r,"Start"),(s,{success:o})=>t0(this.node,s,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const la=new WeakMap,ca=new WeakMap,zm=e=>{const t=la.get(e.target);t&&t(e)},Km=e=>{e.forEach(zm)};function Ym({root:e,...t}){const n=e||document;ca.has(n)||ca.set(n,{});const r=ca.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(Km,{root:e,...t})),r[s]}function Gm(e,t,n){const r=Ym(t);return la.set(e,n),r.observe(e),()=>{la.delete(e),r.unobserve(e)}}const qm={some:0,all:1};class Xm extends $t{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=t,i={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:qm[s]},l=c=>{const{isIntersecting:u}=c;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),h=u?d:f;h&&h(c)};return Gm(this.node.current,i,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Jm(t,n))&&this.startObserver()}unmount(){}}function Jm({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Qm={inView:{Feature:Xm},tap:{Feature:Um},focus:{Feature:Zm},hover:{Feature:Wm}},e8={layout:{ProjectionNode:Qd,MeasureLayout:jd}},t8={..._4,...Qm,...Hm,...e8},Ps=t4(t8,p4);function n0(e){const t=Ko(()=>on(e)),{isStatic:n}=p.useContext($i);if(n){const[,r]=p.useState(e);p.useEffect(()=>t.on("change",r),[])}return t}function r0(e,t){const n=n0(t()),r=()=>n.set(t());return r(),f1(()=>{const s=()=>ce.preRender(r,!1,!0),o=e.map(i=>i.on("change",s));return()=>{o.forEach(i=>i()),Mt(r)}}),n}function n8(e){pr.current=[],e();const t=r0(pr.current,e);return pr.current=void 0,t}function r8(e,t,n,r){if(typeof e=="function")return n8(e);const s=typeof t=="function"?t:bp(t,n,r);return Array.isArray(e)?s0(e,s):s0([e],([o])=>s(o))}function s0(e,t){const n=Ko(()=>[]);return r0(e,()=>{n.length=0;const r=e.length;for(let s=0;s<r;s++)n[s]=e[s].get();return t(n)})}const As=({isOpen:e,onClose:t,title:n,description:r,children:s,bottomContent:o,topContent:i,className:l,showCloseButton:c=!0,size:u="medium",variant:d="centered"})=>{const f=p.useRef(null);if(!e)return null;const h=K9[u],m={centered:{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9}},"right-slide":{initial:{x:"100%",opacity:0},animate:{x:"0%",opacity:1},exit:{x:"100%",opacity:0}}};return a.jsx(k,{onClick:g=>g.stopPropagation(),className:"fixed inset-0 z-[100] flex items-center justify-center overflow-y-hidden max-h-screen bg-metrifox-black/50 backdrop-blur-sm",children:a.jsxs(Ps.div,{ref:f,initial:m[d].initial,animate:m[d].animate,exit:m[d].exit,transition:{duration:.3,ease:"easeOut"},className:`bg-metrifox-white shadow-lg w-full ${h} flex flex-col ${d==="right-slide"?"fixed right-0 top-0 bottom-0 h-[100vh] rounded-l-2xl":"mx-4 my-auto max-h-[90vh] rounded-2xl"}`,children:[i?a.jsx(k,{className:"p-4",children:i}):a.jsxs(k,{className:`${n?"p-6":"py-4 px-6"} border-b border-grey-200`,children:[a.jsxs(k,{className:"flex justify-between items-center",children:[a.jsx(Zo,{variant:"h6",color:"text-metrifox-black",children:n}),c&&a.jsx("span",{onClick:t,className:"cursor-pointer",children:a.jsx(me,{name:"circle-close",size:24,color:"grey-800"})})]}),r&&a.jsx(W,{variant:"body4",color:"text-grey-500",className:"mt-2 mr-6",children:r})]}),a.jsx(k,{className:`flex-grow overflow-y-auto p-6 max-h-[calc(90vh - 100px)] ${l}`,children:s}),o&&a.jsx(k,{className:"p-4 border-t border-grey-200",children:o})]})})};var o0={exports:{}};(function(e,t){(function(n,r){e.exports=r(p)})(typeof self<"u"?self:_t,function(n){return function(){var r={155:function(C){C.exports=n}},s={};function o(C){var y=s[C];if(y!==void 0)return y.exports;var j=s[C]={exports:{}};return r[C](j,j.exports,o),j.exports}o.d=function(C,y){for(var j in y)o.o(y,j)&&!o.o(C,j)&&Object.defineProperty(C,j,{enumerable:!0,get:y[j]})},o.o=function(C,y){return Object.prototype.hasOwnProperty.call(C,y)},o.r=function(C){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})};var i={};o.r(i),o.d(i,{useReactToPrint:function(){return b}});var l=o(155);const c="printWindow";function u({level:C="error",messages:y,suppressErrors:j=!1}){j||(C==="error"?console.error(y):C==="warning"?console.warn(y):console.debug(y))}function d(C,y){if(y||!C){const j=document.getElementById(c);j&&document.body.removeChild(j)}}function f(C){return C instanceof Error?C:new Error("Unknown Error")}function h(C,y){const{documentTitle:j,onAfterPrint:w,onPrintError:L,preserveAfterPrint:T,print:A,suppressErrors:I}=y;setTimeout(()=>{var V,O;if(C.contentWindow){let z=function(){w?.(),d(T)};if(C.contentWindow.focus(),A)A(C).then(z).catch(U=>{L?L("print",f(U)):u({messages:["An error was thrown by the specified `print` function"],suppressErrors:I})});else{if(C.contentWindow.print){const U=(O=(V=C.contentDocument)===null||V===void 0?void 0:V.title)!==null&&O!==void 0?O:"",P=C.ownerDocument.title;j&&(C.ownerDocument.title=j,C.contentDocument&&(C.contentDocument.title=j)),C.contentWindow.print(),j&&(C.ownerDocument.title=P,C.contentDocument&&(C.contentDocument.title=U))}else u({messages:["Printing for this browser is not currently possible: the browser does not have a `print` method available for iframes."],suppressErrors:I});[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i].some(U=>{var P,F;return((F=(P=navigator.userAgent)!==null&&P!==void 0?P:navigator.vendor)!==null&&F!==void 0?F:"opera"in window&&window.opera).match(U)})?setTimeout(z,500):z()}}else u({messages:["Printing failed because the `contentWindow` of the print iframe did not load. This is possibly an error with `react-to-print`. Please file an issue: https://github.com/MatthewHerbst/react-to-print/issues/"],suppressErrors:I})},500)}function m(C){const y=[],j=document.createTreeWalker(C,NodeFilter.SHOW_ELEMENT,null);let w=j.nextNode();for(;w;)y.push(w),w=j.nextNode();return y}function g(C,y,j){const w=m(C),L=m(y);if(w.length===L.length)for(let T=0;T<w.length;T++){const A=w[T],I=L[T],V=A.shadowRoot;if(V!==null){const O=I.attachShadow({mode:V.mode});O.innerHTML=V.innerHTML,g(V,O,j)}}else u({messages:["When cloning shadow root content, source and target elements have different size. `onBeforePrint` likely resolved too early.",C,y],suppressErrors:j})}const x=`
25
+ */var Gl;function H3(){return Gl||(Gl=1,process.env.NODE_ENV!=="production"&&function(){function e(c,u){return c===u&&(c!==0||1/c===1/u)||c!==c&&u!==u}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=p,n=typeof Object.is=="function"?Object.is:e,r=t.useSyncExternalStore,s=t.useRef,i=t.useEffect,a=t.useMemo,l=t.useDebugValue;ko.useSyncExternalStoreWithSelector=function(c,u,d,f,h){var g=s(null);if(g.current===null){var m={hasValue:!1,value:null};g.current=m}else m=g.current;g=a(function(){function y(w){if(!b){if(b=!0,C=w,w=f(w),h!==void 0&&m.hasValue){var L=m.value;if(h(L,w))return v=L}return v=w}if(L=v,n(C,w))return L;var T=f(w);return h!==void 0&&h(L,T)?(C=w,L):(C=w,v=T)}var b=!1,C,v,j=d===void 0?null:d;return[function(){return y(u())},j===null?void 0:function(){return y(j())}]},[u,d,f,h]);var x=r(c,g[0],g[1]);return i(function(){m.hasValue=!0,m.value=x},[x]),l(x),x},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),ko}process.env.NODE_ENV==="production"?Co.exports=I3():Co.exports=H3();var W3=Co.exports;function Jt(e,t,n=Ul){return W3.useSyncExternalStoreWithSelector(oe(r=>e.subscribe(U3,r)),oe(()=>e.state),oe(()=>e.state),oe(t),n)}function U3(e){return e}function Z3(e,t){let n=p.useId(),r=Kl.get(t),[s,i]=Jt(r,p.useCallback(a=>[r.selectors.isTop(a,n),r.selectors.inStack(a,n)],[r,n]));return Ae(()=>{if(e)return r.actions.push(n),()=>r.actions.pop(n)},[r,e,n]),e?i?s:!0:!1}function z3(e,t,n){let r=qe(s=>{let i=s.getBoundingClientRect();i.x===0&&i.y===0&&i.width===0&&i.height===0&&n()});p.useEffect(()=>{if(!e)return;let s=t===null?null:jt(t)?t:t.current;if(!s)return;let i=kt();if(typeof ResizeObserver<"u"){let a=new ResizeObserver(()=>r.current(s));a.observe(s),i.add(()=>a.disconnect())}if(typeof IntersectionObserver<"u"){let a=new IntersectionObserver(()=>r.current(s));a.observe(s),i.add(()=>a.disconnect())}return()=>i.dispose()},[t,r,e])}let jo=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","details>summary","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),K3=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var we=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(we||{}),Rt=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Rt||{}),Y3=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Y3||{});function es(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(jo)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function G3(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(K3)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var Lo=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Lo||{});function ql(e,t=0){var n;return e===((n=bn(e))==null?void 0:n.body)?!1:Ne(t,{0(){return e.matches(jo)},1(){let r=e;for(;r!==null;){if(r.matches(jo))return!0;r=r.parentElement}return!1}})}var q3=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(q3||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let X3=["textarea","input"].join(",");function J3(e){var t,n;return(n=(t=e?.matches)==null?void 0:t.call(e,X3))!=null?n:!1}function Ln(e,t=n=>n){return e.slice().sort((n,r)=>{let s=t(n),i=t(r);if(s===null||i===null)return 0;let a=s.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function ze(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:s=[]}={}){let i=Array.isArray(e)?e.length>0?Yt(e[0]):document:Yt(e),a=Array.isArray(e)?n?Ln(e):e:t&64?G3(e):es(e);s.length>0&&a.length>1&&(a=a.filter(g=>!s.some(m=>m!=null&&"current"in m?m?.current===g:m===g))),r=r??i?.activeElement;let l=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,a.indexOf(r))-1;if(t&4)return Math.max(0,a.indexOf(r))+1;if(t&8)return a.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=t&32?{preventScroll:!0}:{},d=0,f=a.length,h;do{if(d>=f||d+f<=0)return 0;let g=c+d;if(t&16)g=(g+f)%f;else{if(g<0)return 3;if(g>=f)return 1}h=a[g],h?.focus(u),d+=l}while(h!==Gt(h));return t&6&&J3(h)&&h.select(),2}function Xl(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Q3(){return/Android/gi.test(window.navigator.userAgent)}function Jl(){return Xl()||Q3()}function ts(e,t,n,r){let s=qe(n);p.useEffect(()=>{if(!e)return;function i(a){s.current(a)}return document.addEventListener(t,i,r),()=>document.removeEventListener(t,i,r)},[e,t,r])}function Ql(e,t,n,r){let s=qe(n);p.useEffect(()=>{if(!e)return;function i(a){s.current(a)}return window.addEventListener(t,i,r),()=>window.removeEventListener(t,i,r)},[e,t,r])}const ec=30;function eh(e,t,n){let r=qe(n),s=p.useCallback(function(l,c){if(l.defaultPrevented)return;let u=c(l);if(u===null||!u.getRootNode().contains(u)||!u.isConnected)return;let d=function f(h){return typeof h=="function"?f(h()):Array.isArray(h)||h instanceof Set?h:[h]}(t);for(let f of d)if(f!==null&&(f.contains(u)||l.composed&&l.composedPath().includes(f)))return;return!ql(u,Lo.Loose)&&u.tabIndex!==-1&&l.preventDefault(),r.current(l,u)},[r,t]),i=p.useRef(null);ts(e,"pointerdown",l=>{var c,u;Jl()||(i.current=((u=(c=l.composedPath)==null?void 0:c.call(l))==null?void 0:u[0])||l.target)},!0),ts(e,"pointerup",l=>{if(Jl()||!i.current)return;let c=i.current;return i.current=null,s(l,()=>c)},!0);let a=p.useRef({x:0,y:0});ts(e,"touchstart",l=>{a.current.x=l.touches[0].clientX,a.current.y=l.touches[0].clientY},!0),ts(e,"touchend",l=>{let c={x:l.changedTouches[0].clientX,y:l.changedTouches[0].clientY};if(!(Math.abs(c.x-a.current.x)>=ec||Math.abs(c.y-a.current.y)>=ec))return s(l,()=>jn(l.target)?l.target:null)},!0),Ql(e,"blur",l=>s(l,()=>S3(window.document.activeElement)?window.document.activeElement:null),!0)}function Eo(...e){return p.useMemo(()=>bn(...e),[...e])}function th(...e){return p.useMemo(()=>Yt(...e),[...e])}function nh(e,t,n,r){let s=qe(n);p.useEffect(()=>{e=e??window;function i(a){s.current(a)}return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)},[e,t,r])}function tc(e,t){return p.useMemo(()=>{var n;if(e.type)return e.type;let r=(n=e.as)!=null?n:"button";if(typeof r=="string"&&r.toLowerCase()==="button"||t?.tagName==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}function rh(e){return p.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}function sh(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(s){return r.add(s),()=>r.delete(s)},dispatch(s,...i){let a=t[s].call(n,...i);a&&(n=a,r.forEach(l=>l()))}}}function oh(){let e;return{before({doc:t}){var n;let r=t.documentElement,s=(n=t.defaultView)!=null?n:window;e=Math.max(0,s.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,s=Math.max(0,r.clientWidth-r.offsetWidth),i=Math.max(0,e-s);n.style(r,"paddingRight",`${i}px`)}}}function ih(){return Xl()?{before({doc:e,d:t,meta:n}){function r(s){for(let i of n().containers)for(let a of i())if(a.contains(s))return!0;return!1}t.microTask(()=>{var s;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let l=kt();l.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>l.dispose()))}let i=(s=window.scrollY)!=null?s:window.pageYOffset,a=null;t.addEventListener(e,"click",l=>{if(jn(l.target))try{let c=l.target.closest("a");if(!c)return;let{hash:u}=new URL(c.href),d=e.querySelector(u);jn(d)&&!r(d)&&(a=d)}catch{}},!0),t.group(l=>{t.addEventListener(e,"touchstart",c=>{if(l.dispose(),jn(c.target)&&E3(c.target))if(r(c.target)){let u=c.target;for(;u.parentElement&&r(u.parentElement);)u=u.parentElement;l.style(u,"overscrollBehavior","contain")}else l.style(c.target,"touchAction","none")})}),t.addEventListener(e,"touchmove",l=>{if(jn(l.target)){if(M3(l.target))return;if(r(l.target)){let c=l.target;for(;c.parentElement&&c.dataset.headlessuiPortal!==""&&!(c.scrollHeight>c.clientHeight||c.scrollWidth>c.clientWidth);)c=c.parentElement;c.dataset.headlessuiPortal===""&&l.preventDefault()}else l.preventDefault()}},{passive:!1}),t.add(()=>{var l;let c=(l=window.scrollY)!=null?l:window.pageYOffset;i!==c&&window.scrollTo(0,i),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{}}function ah(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function nc(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let Qt=sh(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:kt(),meta:new Set,computedMeta:{}};return r.count++,r.meta.add(t),r.computedMeta=nc(r.meta),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t),n.computedMeta=nc(n.meta)),this},SCROLL_PREVENT(e){let t={doc:e.doc,d:e.d,meta(){return e.computedMeta}},n=[ih(),oh(),ah()];n.forEach(({before:r})=>r?.(t)),n.forEach(({after:r})=>r?.(t))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});Qt.subscribe(()=>{let e=Qt.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",s=n.count!==0;(s&&!r||!s&&r)&&Qt.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&Qt.dispatch("TEARDOWN",n)}});function lh(e,t,n=()=>({containers:[]})){let r=rh(Qt),s=t?r.get(t):void 0,i=s?s.count>0:!1;return Ae(()=>{if(!(!t||!e))return Qt.dispatch("PUSH",t,n),()=>Qt.dispatch("POP",t,n)},[e,t]),i}function ch(e,t,n=()=>[document.body]){let r=Z3(e,"scroll-lock");lh(r,t,s=>{var i;return{containers:[...(i=s.containers)!=null?i:[],n]}})}function uh(e=0){let[t,n]=p.useState(e),r=p.useCallback(c=>n(c),[]),s=p.useCallback(c=>n(u=>u|c),[]),i=p.useCallback(c=>(t&c)===c,[t]),a=p.useCallback(c=>n(u=>u&~c),[]),l=p.useCallback(c=>n(u=>u^c),[]);return{flags:t,setFlag:r,addFlag:s,hasFlag:i,removeFlag:a,toggleFlag:l}}var rc,sc;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((rc=process==null?void 0:process.env)==null?void 0:rc.NODE_ENV)==="test"&&typeof((sc=Element?.prototype)==null?void 0:sc.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
26
+ `)),[]});var dh=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(dh||{});function oc(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function ic(e,t,n,r){let[s,i]=p.useState(n),{hasFlag:a,addFlag:l,removeFlag:c}=uh(e&&s?3:0),u=p.useRef(!1),d=p.useRef(!1),f=Xr();return Ae(()=>{var h;if(e){if(n&&i(!0),!t){n&&l(3);return}return(h=void 0)==null||h.call(r,n),fh(t,{inFlight:u,prepare(){d.current?d.current=!1:d.current=u.current,u.current=!0,!d.current&&(n?(l(3),c(4)):(l(4),c(2)))},run(){d.current?n?(c(3),l(4)):(c(4),l(3)):n?c(1):l(1)},done(){var g;d.current&&mh(t)||(u.current=!1,c(7),n||i(!1),(g=void 0)==null||g.call(r,n))}})}},[e,n,t,f]),e?[s,{closed:a(1),enter:a(2),leave:a(4),transition:a(2)||a(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function fh(e,{prepare:t,run:n,done:r,inFlight:s}){let i=kt();return ph(e,{prepare:t,inFlight:s}),i.nextFrame(()=>{n(),i.requestAnimationFrame(()=>{i.add(hh(e,r))})}),i.dispose}function hh(e,t){var n,r;let s=kt();if(!e)return s.dispose;let i=!1;s.add(()=>{i=!0});let a=(r=(n=e.getAnimations)==null?void 0:n.call(e).filter(l=>l instanceof CSSTransition))!=null?r:[];return a.length===0?(t(),s.dispose):(Promise.allSettled(a.map(l=>l.finished)).then(()=>{i||t()}),s.dispose)}function ph(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}function mh(e){var t,n;return((n=(t=e.getAnimations)==null?void 0:t.call(e))!=null?n:[]).some(r=>r instanceof CSSTransition&&r.playState!=="finished")}function ns(){return typeof window<"u"}function En(e){return ac(e)?(e.nodeName||"").toLowerCase():"#document"}function Ke(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function gt(e){var t;return(t=(ac(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ac(e){return ns()?e instanceof Node||e instanceof Ke(e).Node:!1}function Te(e){return ns()?e instanceof Element||e instanceof Ke(e).Element:!1}function xt(e){return ns()?e instanceof HTMLElement||e instanceof Ke(e).HTMLElement:!1}function lc(e){return!ns()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ke(e).ShadowRoot}const gh=new Set(["inline","contents"]);function er(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=lt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!gh.has(s)}const xh=new Set(["table","td","th"]);function yh(e){return xh.has(En(e))}const vh=[":popover-open",":modal"];function rs(e){return vh.some(t=>{try{return e.matches(t)}catch{return!1}})}const bh=["transform","translate","scale","rotate","perspective"],Ch=["transform","translate","scale","rotate","perspective","filter"],wh=["paint","layout","strict","content"];function So(e){const t=Mo(),n=Te(e)?lt(e):e;return bh.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Ch.some(r=>(n.willChange||"").includes(r))||wh.some(r=>(n.contain||"").includes(r))}function kh(e){let t=Ft(e);for(;xt(t)&&!Sn(t);){if(So(t))return t;if(rs(t))return null;t=Ft(t)}return null}function Mo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const jh=new Set(["html","body","#document"]);function Sn(e){return jh.has(En(e))}function lt(e){return Ke(e).getComputedStyle(e)}function ss(e){return Te(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ft(e){if(En(e)==="html")return e;const t=e.assignedSlot||e.parentNode||lc(e)&&e.host||gt(e);return lc(t)?t.host:t}function cc(e){const t=Ft(e);return Sn(t)?e.ownerDocument?e.ownerDocument.body:e.body:xt(t)&&er(t)?t:cc(t)}function tr(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=cc(e),i=s===((r=e.ownerDocument)==null?void 0:r.body),a=Ke(s);if(i){const l=To(a);return t.concat(a,a.visualViewport||[],er(s)?s:[],l&&n?tr(l):[])}return t.concat(s,tr(s,[],n))}function To(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Lh(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}const en=Math.min,De=Math.max,nr=Math.round,os=Math.floor,yt=e=>({x:e,y:e}),Eh={left:"right",right:"left",bottom:"top",top:"bottom"},Sh={start:"end",end:"start"};function uc(e,t,n){return De(e,en(t,n))}function Mn(e,t){return typeof e=="function"?e(t):e}function Vt(e){return e.split("-")[0]}function rr(e){return e.split("-")[1]}function dc(e){return e==="x"?"y":"x"}function fc(e){return e==="y"?"height":"width"}const Mh=new Set(["top","bottom"]);function Lt(e){return Mh.has(Vt(e))?"y":"x"}function hc(e){return dc(Lt(e))}function Th(e,t,n){n===void 0&&(n=!1);const r=rr(e),s=hc(e),i=fc(s);let a=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=is(a)),[a,is(a)]}function Dh(e){const t=is(e);return[Do(e),t,Do(t)]}function Do(e){return e.replace(/start|end/g,t=>Sh[t])}const pc=["left","right"],mc=["right","left"],Ph=["top","bottom"],Ah=["bottom","top"];function Nh(e,t,n){switch(e){case"top":case"bottom":return n?t?mc:pc:t?pc:mc;case"left":case"right":return t?Ph:Ah;default:return[]}}function Rh(e,t,n,r){const s=rr(e);let i=Nh(Vt(e),n==="start",r);return s&&(i=i.map(a=>a+"-"+s),t&&(i=i.concat(i.map(Do)))),i}function is(e){return e.replace(/left|right|bottom|top/g,t=>Eh[t])}function Fh(e){return{top:0,right:0,bottom:0,left:0,...e}}function Vh(e){return typeof e!="number"?Fh(e):{top:e,right:e,bottom:e,left:e}}function as(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function gc(e,t,n){let{reference:r,floating:s}=e;const i=Lt(t),a=hc(t),l=fc(a),c=Vt(t),u=i==="y",d=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,h=r[l]/2-s[l]/2;let g;switch(c){case"top":g={x:d,y:r.y-s.height};break;case"bottom":g={x:d,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:f};break;case"left":g={x:r.x-s.width,y:f};break;default:g={x:r.x,y:r.y}}switch(rr(t)){case"start":g[a]-=h*(n&&u?-1:1);break;case"end":g[a]+=h*(n&&u?-1:1);break}return g}const $h=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:f}=gc(u,r,c),h=r,g={},m=0;for(let x=0;x<l.length;x++){const{name:y,fn:b}=l[x],{x:C,y:v,data:j,reset:w}=await b({x:d,y:f,initialPlacement:r,placement:h,strategy:s,middlewareData:g,rects:u,platform:a,elements:{reference:e,floating:t}});d=C??d,f=v??f,g={...g,[y]:{...g[y],...j}},w&&m<=50&&(m++,typeof w=="object"&&(w.placement&&(h=w.placement),w.rects&&(u=w.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:s}):w.rects),{x:d,y:f}=gc(u,h,c)),x=-1)}return{x:d,y:f,placement:h,strategy:s,middlewareData:g}};async function ls(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:i,rects:a,elements:l,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:g=0}=Mn(t,e),m=Vh(g),y=l[h?f==="floating"?"reference":"floating":f],b=as(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(y)))==null||n?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:c})),C=f==="floating"?{x:r,y:s,width:a.floating.width,height:a.floating.height}:a.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),j=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},w=as(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:C,offsetParent:v,strategy:c}):C);return{top:(b.top-w.top+m.top)/j.y,bottom:(w.bottom-b.bottom+m.bottom)/j.y,left:(b.left-w.left+m.left)/j.x,right:(w.right-b.right+m.right)/j.x}}const Oh=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:i,rects:a,initialPlacement:l,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:x=!0,...y}=Mn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const b=Vt(s),C=Lt(l),v=Vt(l)===l,j=await(c.isRTL==null?void 0:c.isRTL(u.floating)),w=h||(v||!x?[is(l)]:Dh(l)),L=m!=="none";!h&&L&&w.push(...Rh(l,x,m,j));const T=[l,...w],A=await ls(t,y),H=[];let V=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&H.push(A[b]),f){const P=Th(s,a,j);H.push(A[P[0]],A[P[1]])}if(V=[...V,{placement:s,overflows:H}],!H.every(P=>P<=0)){var O,z;const P=(((O=i.flip)==null?void 0:O.index)||0)+1,F=T[P];if(F&&(!(f==="alignment"?C!==Lt(F):!1)||V.every(S=>Lt(S.placement)===C?S.overflows[0]>0:!0)))return{data:{index:P,overflows:V},reset:{placement:F}};let E=(z=V.filter(D=>D.overflows[0]<=0).sort((D,S)=>D.overflows[1]-S.overflows[1])[0])==null?void 0:z.placement;if(!E)switch(g){case"bestFit":{var Z;const D=(Z=V.filter(S=>{if(L){const $=Lt(S.placement);return $===C||$==="y"}return!0}).map(S=>[S.placement,S.overflows.filter($=>$>0).reduce(($,R)=>$+R,0)]).sort((S,$)=>S[1]-$[1])[0])==null?void 0:Z[0];D&&(E=D);break}case"initialPlacement":E=l;break}if(s!==E)return{reset:{placement:E}}}return{}}}},_h=new Set(["left","top"]);async function Bh(e,t){const{placement:n,platform:r,elements:s}=e,i=await(r.isRTL==null?void 0:r.isRTL(s.floating)),a=Vt(n),l=rr(n),c=Lt(n)==="y",u=_h.has(a)?-1:1,d=i&&c?-1:1,f=Mn(t,e);let{mainAxis:h,crossAxis:g,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof m=="number"&&(g=l==="end"?m*-1:m),c?{x:g*d,y:h*u}:{x:h*u,y:g*d}}const Ih=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:i,placement:a,middlewareData:l}=t,c=await Bh(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:s+c.x,y:i+c.y,data:{...c,placement:a}}}}},Hh=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:y=>{let{x:b,y:C}=y;return{x:b,y:C}}},...c}=Mn(e,t),u={x:n,y:r},d=await ls(t,c),f=Lt(Vt(s)),h=dc(f);let g=u[h],m=u[f];if(i){const y=h==="y"?"top":"left",b=h==="y"?"bottom":"right",C=g+d[y],v=g-d[b];g=uc(C,g,v)}if(a){const y=f==="y"?"top":"left",b=f==="y"?"bottom":"right",C=m+d[y],v=m-d[b];m=uc(C,m,v)}const x=l.fn({...t,[h]:g,[f]:m});return{...x,data:{x:x.x-n,y:x.y-r,enabled:{[h]:i,[f]:a}}}}}},Wh=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:i,platform:a,elements:l}=t,{apply:c=()=>{},...u}=Mn(e,t),d=await ls(t,u),f=Vt(s),h=rr(s),g=Lt(s)==="y",{width:m,height:x}=i.floating;let y,b;f==="top"||f==="bottom"?(y=f,b=h===(await(a.isRTL==null?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(b=f,y=h==="end"?"top":"bottom");const C=x-d.top-d.bottom,v=m-d.left-d.right,j=en(x-d[y],C),w=en(m-d[b],v),L=!t.middlewareData.shift;let T=j,A=w;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=C),L&&!h){const V=De(d.left,0),O=De(d.right,0),z=De(d.top,0),Z=De(d.bottom,0);g?A=m-2*(V!==0||O!==0?V+O:De(d.left,d.right)):T=x-2*(z!==0||Z!==0?z+Z:De(d.top,d.bottom))}await c({...t,availableWidth:A,availableHeight:T});const H=await a.getDimensions(l.floating);return m!==H.width||x!==H.height?{reset:{rects:!0}}:{}}}};function xc(e){const t=lt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=xt(e),i=s?e.offsetWidth:n,a=s?e.offsetHeight:r,l=nr(n)!==i||nr(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function Po(e){return Te(e)?e:e.contextElement}function Tn(e){const t=Po(e);if(!xt(t))return yt(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:i}=xc(t);let a=(i?nr(n.width):n.width)/r,l=(i?nr(n.height):n.height)/s;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const Uh=yt(0);function yc(e){const t=Ke(e);return!Mo()||!t.visualViewport?Uh:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Zh(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ke(e)?!1:t}function tn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),i=Po(e);let a=yt(1);t&&(r?Te(r)&&(a=Tn(r)):a=Tn(e));const l=Zh(i,n,r)?yc(i):yt(0);let c=(s.left+l.x)/a.x,u=(s.top+l.y)/a.y,d=s.width/a.x,f=s.height/a.y;if(i){const h=Ke(i),g=r&&Te(r)?Ke(r):r;let m=h,x=To(m);for(;x&&r&&g!==m;){const y=Tn(x),b=x.getBoundingClientRect(),C=lt(x),v=b.left+(x.clientLeft+parseFloat(C.paddingLeft))*y.x,j=b.top+(x.clientTop+parseFloat(C.paddingTop))*y.y;c*=y.x,u*=y.y,d*=y.x,f*=y.y,c+=v,u+=j,m=Ke(x),x=To(m)}}return as({width:d,height:f,x:c,y:u})}function cs(e,t){const n=ss(e).scrollLeft;return t?t.left+n:tn(gt(e)).left+n}function vc(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-cs(e,n),s=n.top+t.scrollTop;return{x:r,y:s}}function zh(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const i=s==="fixed",a=gt(r),l=t?rs(t.floating):!1;if(r===a||l&&i)return n;let c={scrollLeft:0,scrollTop:0},u=yt(1);const d=yt(0),f=xt(r);if((f||!f&&!i)&&((En(r)!=="body"||er(a))&&(c=ss(r)),xt(r))){const g=tn(r);u=Tn(r),d.x=g.x+r.clientLeft,d.y=g.y+r.clientTop}const h=a&&!f&&!i?vc(a,c):yt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+h.x,y:n.y*u.y-c.scrollTop*u.y+d.y+h.y}}function Kh(e){return Array.from(e.getClientRects())}function Yh(e){const t=gt(e),n=ss(e),r=e.ownerDocument.body,s=De(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=De(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+cs(e);const l=-n.scrollTop;return lt(r).direction==="rtl"&&(a+=De(t.clientWidth,r.clientWidth)-s),{width:s,height:i,x:a,y:l}}const bc=25;function Gh(e,t){const n=Ke(e),r=gt(e),s=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(s){i=s.width,a=s.height;const d=Mo();(!d||d&&t==="fixed")&&(l=s.offsetLeft,c=s.offsetTop)}const u=cs(r);if(u<=0){const d=r.ownerDocument,f=d.body,h=getComputedStyle(f),g=d.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,m=Math.abs(r.clientWidth-f.clientWidth-g);m<=bc&&(i-=m)}else u<=bc&&(i+=u);return{width:i,height:a,x:l,y:c}}const qh=new Set(["absolute","fixed"]);function Xh(e,t){const n=tn(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,i=xt(e)?Tn(e):yt(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y,c=s*i.x,u=r*i.y;return{width:a,height:l,x:c,y:u}}function Cc(e,t,n){let r;if(t==="viewport")r=Gh(e,n);else if(t==="document")r=Yh(gt(e));else if(Te(t))r=Xh(t,n);else{const s=yc(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return as(r)}function wc(e,t){const n=Ft(e);return n===t||!Te(n)||Sn(n)?!1:lt(n).position==="fixed"||wc(n,t)}function Jh(e,t){const n=t.get(e);if(n)return n;let r=tr(e,[],!1).filter(l=>Te(l)&&En(l)!=="body"),s=null;const i=lt(e).position==="fixed";let a=i?Ft(e):e;for(;Te(a)&&!Sn(a);){const l=lt(a),c=So(a);!c&&l.position==="fixed"&&(s=null),(i?!c&&!s:!c&&l.position==="static"&&!!s&&qh.has(s.position)||er(a)&&!c&&wc(e,a))?r=r.filter(d=>d!==a):s=l,a=Ft(a)}return t.set(e,r),r}function Qh(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const a=[...n==="clippingAncestors"?rs(t)?[]:Jh(t,this._c):[].concat(n),r],l=a[0],c=a.reduce((u,d)=>{const f=Cc(t,d,s);return u.top=De(f.top,u.top),u.right=en(f.right,u.right),u.bottom=en(f.bottom,u.bottom),u.left=De(f.left,u.left),u},Cc(t,l,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function e5(e){const{width:t,height:n}=xc(e);return{width:t,height:n}}function t5(e,t,n){const r=xt(t),s=gt(t),i=n==="fixed",a=tn(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=yt(0);function u(){c.x=cs(s)}if(r||!r&&!i)if((En(t)!=="body"||er(s))&&(l=ss(t)),r){const g=tn(t,!0,i,t);c.x=g.x+t.clientLeft,c.y=g.y+t.clientTop}else s&&u();i&&!r&&s&&u();const d=s&&!r&&!i?vc(s,l):yt(0),f=a.left+l.scrollLeft-c.x-d.x,h=a.top+l.scrollTop-c.y-d.y;return{x:f,y:h,width:a.width,height:a.height}}function Ao(e){return lt(e).position==="static"}function kc(e,t){if(!xt(e)||lt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return gt(e)===n&&(n=n.ownerDocument.body),n}function jc(e,t){const n=Ke(e);if(rs(e))return n;if(!xt(e)){let s=Ft(e);for(;s&&!Sn(s);){if(Te(s)&&!Ao(s))return s;s=Ft(s)}return n}let r=kc(e,t);for(;r&&yh(r)&&Ao(r);)r=kc(r,t);return r&&Sn(r)&&Ao(r)&&!So(r)?n:r||kh(e)||n}const n5=async function(e){const t=this.getOffsetParent||jc,n=this.getDimensions,r=await n(e.floating);return{reference:t5(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function r5(e){return lt(e).direction==="rtl"}const s5={convertOffsetParentRelativeRectToViewportRelativeRect:zh,getDocumentElement:gt,getClippingRect:Qh,getOffsetParent:jc,getElementRects:n5,getClientRects:Kh,getDimensions:e5,getScale:Tn,isElement:Te,isRTL:r5};function Lc(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function o5(e,t){let n=null,r;const s=gt(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),i();const u=e.getBoundingClientRect(),{left:d,top:f,width:h,height:g}=u;if(l||t(),!h||!g)return;const m=os(f),x=os(s.clientWidth-(d+h)),y=os(s.clientHeight-(f+g)),b=os(d),v={rootMargin:-m+"px "+-x+"px "+-y+"px "+-b+"px",threshold:De(0,en(1,c))||1};let j=!0;function w(L){const T=L[0].intersectionRatio;if(T!==c){if(!j)return a();T?a(!1,T):r=setTimeout(()=>{a(!1,1e-7)},1e3)}T===1&&!Lc(u,e.getBoundingClientRect())&&a(),j=!1}try{n=new IntersectionObserver(w,{...v,root:s.ownerDocument})}catch{n=new IntersectionObserver(w,v)}n.observe(e)}return a(!0),i}function i5(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=Po(e),d=s||i?[...u?tr(u):[],...tr(t)]:[];d.forEach(b=>{s&&b.addEventListener("scroll",n,{passive:!0}),i&&b.addEventListener("resize",n)});const f=u&&l?o5(u,n):null;let h=-1,g=null;a&&(g=new ResizeObserver(b=>{let[C]=b;C&&C.target===u&&g&&(g.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var v;(v=g)==null||v.observe(t)})),n()}),u&&!c&&g.observe(u),g.observe(t));let m,x=c?tn(e):null;c&&y();function y(){const b=tn(e);x&&!Lc(x,b)&&n(),x=b,m=requestAnimationFrame(y)}return n(),()=>{var b;d.forEach(C=>{s&&C.removeEventListener("scroll",n),i&&C.removeEventListener("resize",n)}),f?.(),(b=g)==null||b.disconnect(),g=null,c&&cancelAnimationFrame(m)}}const No=ls,a5=Ih,l5=Hh,c5=Oh,u5=Wh,d5=(e,t,n)=>{const r=new Map,s={platform:s5,...n},i={...s.platform,_c:r};return $h(e,t,{...s,platform:i})};var f5=typeof document<"u",h5=function(){},us=f5?p.useLayoutEffect:h5;function ds(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!ds(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const i=s[r];if(!(i==="_owner"&&e.$$typeof)&&!ds(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Ec(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Sc(e,t){const n=Ec(e);return Math.round(t*n)/n}function Ro(e){const t=K.useRef(e);return us(()=>{t.current=e}),t}function p5(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,f]=K.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,g]=K.useState(r);ds(h,r)||g(r);const[m,x]=K.useState(null),[y,b]=K.useState(null),C=K.useCallback(S=>{S!==L.current&&(L.current=S,x(S))},[]),v=K.useCallback(S=>{S!==T.current&&(T.current=S,b(S))},[]),j=i||m,w=a||y,L=K.useRef(null),T=K.useRef(null),A=K.useRef(d),H=c!=null,V=Ro(c),O=Ro(s),z=Ro(u),Z=K.useCallback(()=>{if(!L.current||!T.current)return;const S={placement:t,strategy:n,middleware:h};O.current&&(S.platform=O.current),d5(L.current,T.current,S).then($=>{const R={...$,isPositioned:z.current!==!1};P.current&&!ds(A.current,R)&&(A.current=R,Pr.flushSync(()=>{f(R)}))})},[h,t,n,O,z]);us(()=>{u===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,f(S=>({...S,isPositioned:!1})))},[u]);const P=K.useRef(!1);us(()=>(P.current=!0,()=>{P.current=!1}),[]),us(()=>{if(j&&(L.current=j),w&&(T.current=w),j&&w){if(V.current)return V.current(j,w,Z);Z()}},[j,w,Z,V,H]);const F=K.useMemo(()=>({reference:L,floating:T,setReference:C,setFloating:v}),[C,v]),E=K.useMemo(()=>({reference:j,floating:w}),[j,w]),D=K.useMemo(()=>{const S={position:n,left:0,top:0};if(!E.floating)return S;const $=Sc(E.floating,d.x),R=Sc(E.floating,d.y);return l?{...S,transform:"translate("+$+"px, "+R+"px)",...Ec(E.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:$,top:R}},[n,l,E.floating,d.x,d.y]);return K.useMemo(()=>({...d,update:Z,refs:F,elements:E,floatingStyles:D}),[d,Z,F,E,D])}const Mc=(e,t)=>({...a5(e),options:[e,t]}),m5=(e,t)=>({...l5(e),options:[e,t]}),g5=(e,t)=>({...c5(e),options:[e,t]}),x5=(e,t)=>({...u5(e),options:[e,t]}),Tc={...K},y5=Tc.useInsertionEffect,v5=y5||(e=>e());function Dc(e){const t=K.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return v5(()=>{t.current=e}),K.useCallback(function(){for(var n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return t.current==null?void 0:t.current(...r)},[])}var Fo=typeof document<"u"?p.useLayoutEffect:p.useEffect;let Pc=!1,b5=0;const Ac=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+b5++;function C5(){const[e,t]=K.useState(()=>Pc?Ac():void 0);return Fo(()=>{e==null&&t(Ac())},[]),K.useEffect(()=>{Pc=!0},[]),e}const w5=Tc.useId,k5=w5||C5;let sr;process.env.NODE_ENV!=="production"&&(sr=new Set);function j5(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const s="Floating UI: "+n.join(" ");if(!((e=sr)!=null&&e.has(s))){var i;(i=sr)==null||i.add(s),console.warn(s)}}function L5(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const s="Floating UI: "+n.join(" ");if(!((e=sr)!=null&&e.has(s))){var i;(i=sr)==null||i.add(s),console.error(s)}}function E5(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(s=>s(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(s=>s!==n))||[])}}}const S5=K.createContext(null),M5=K.createContext(null),T5=()=>{var e;return((e=K.useContext(S5))==null?void 0:e.id)||null},D5=()=>K.useContext(M5),P5="data-floating-ui-focusable";function A5(e){const{open:t=!1,onOpenChange:n,elements:r}=e,s=k5(),i=K.useRef({}),[a]=K.useState(()=>E5()),l=T5()!=null;if(process.env.NODE_ENV!=="production"){const g=r.reference;g&&!Te(g)&&L5("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[c,u]=K.useState(r.reference),d=Dc((g,m,x)=>{i.current.openEvent=g?m:void 0,a.emit("openchange",{open:g,event:m,reason:x,nested:l}),n?.(g,m,x)}),f=K.useMemo(()=>({setPositionReference:u}),[]),h=K.useMemo(()=>({reference:c||r.reference||null,floating:r.floating||null,domReference:r.reference}),[c,r.reference,r.floating]);return K.useMemo(()=>({dataRef:i,open:t,onOpenChange:d,elements:h,events:a,floatingId:s,refs:f}),[t,d,h,a,s,f])}function N5(e){e===void 0&&(e={});const{nodeId:t}=e,n=A5({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,s=r.elements,[i,a]=K.useState(null),[l,c]=K.useState(null),d=s?.domReference||i,f=K.useRef(null),h=D5();Fo(()=>{d&&(f.current=d)},[d]);const g=p5({...e,elements:{...s,...l&&{reference:l}}}),m=K.useCallback(v=>{const j=Te(v)?{getBoundingClientRect:()=>v.getBoundingClientRect(),contextElement:v}:v;c(j),g.refs.setReference(j)},[g.refs]),x=K.useCallback(v=>{(Te(v)||v===null)&&(f.current=v,a(v)),(Te(g.refs.reference.current)||g.refs.reference.current===null||v!==null&&!Te(v))&&g.refs.setReference(v)},[g.refs]),y=K.useMemo(()=>({...g.refs,setReference:x,setPositionReference:m,domReference:f}),[g.refs,x,m]),b=K.useMemo(()=>({...g.elements,domReference:d}),[g.elements,d]),C=K.useMemo(()=>({...g,...r,refs:y,elements:b,nodeId:t}),[g,y,b,t,r]);return Fo(()=>{r.dataRef.current.floatingContext=C;const v=h?.nodesRef.current.find(j=>j.id===t);v&&(v.context=C)}),K.useMemo(()=>({...g,context:C,refs:y,elements:b}),[g,y,b,C])}const Nc="active",Rc="selected";function Vo(e,t,n){const r=new Map,s=n==="item";let i=e;if(s&&e){const{[Nc]:a,[Rc]:l,...c}=e;i=c}return{...n==="floating"&&{tabIndex:-1,[P5]:""},...i,...t.map(a=>{const l=a?a[n]:null;return typeof l=="function"?e?l(e):null:l}).concat(e).reduce((a,l)=>(l&&Object.entries(l).forEach(c=>{let[u,d]=c;if(!(s&&[Nc,Rc].includes(u)))if(u.indexOf("on")===0){if(r.has(u)||r.set(u,[]),typeof d=="function"){var f;(f=r.get(u))==null||f.push(d),a[u]=function(){for(var h,g=arguments.length,m=new Array(g),x=0;x<g;x++)m[x]=arguments[x];return(h=r.get(u))==null?void 0:h.map(y=>y(...m)).find(y=>y!==void 0)}}}else a[u]=d}),a),{})}}function R5(e){e===void 0&&(e=[]);const t=e.map(l=>l?.reference),n=e.map(l=>l?.floating),r=e.map(l=>l?.item),s=K.useCallback(l=>Vo(l,e,"reference"),t),i=K.useCallback(l=>Vo(l,e,"floating"),n),a=K.useCallback(l=>Vo(l,e,"item"),r);return K.useMemo(()=>({getReferenceProps:s,getFloatingProps:i,getItemProps:a}),[s,i,a])}function Fc(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const F5=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:s,offset:i=0,index:a=0,minItemsVisible:l=4,referenceOverflowThreshold:c=0,scrollRef:u,...d}=Mn(e,t),{rects:f,elements:{floating:h}}=t,g=n.current[a],m=u?.current||h,x=h.clientTop||m.clientTop,y=h.clientTop!==0,b=m.clientTop!==0,C=h===m;if(process.env.NODE_ENV!=="production"&&(t.placement.startsWith("bottom")||j5('`placement` side must be "bottom" when using the `inner`',"middleware.")),!g)return{};const v={...t,...await Mc(-g.offsetTop-h.clientTop-f.reference.height/2-g.offsetHeight/2-i).fn(t)},j=await No(Fc(v,m.scrollHeight+x+h.clientTop),d),w=await No(v,{...d,elementContext:"reference"}),L=De(0,j.top),T=v.y+L,V=(m.scrollHeight>m.clientHeight?O=>O:nr)(De(0,m.scrollHeight+(y&&C||b?x*2:0)-L-De(0,j.bottom)));if(m.style.maxHeight=V+"px",m.scrollTop=L,s){const O=m.offsetHeight<g.offsetHeight*en(l,n.current.length)-1||w.top>=-c||w.bottom>=-c;Pr.flushSync(()=>s(O))}return r&&(r.current=await No(Fc({...v,y:T},m.offsetHeight+x+h.clientTop),d)),{y:T}}});function V5(e,t){const{open:n,elements:r}=e,{enabled:s=!0,overflowRef:i,scrollRef:a,onChange:l}=t,c=Dc(l),u=K.useRef(!1),d=K.useRef(null),f=K.useRef(null);K.useEffect(()=>{if(!s)return;function g(x){if(x.ctrlKey||!m||i.current==null)return;const y=x.deltaY,b=i.current.top>=-.5,C=i.current.bottom>=-.5,v=m.scrollHeight-m.clientHeight,j=y<0?-1:1,w=y<0?"max":"min";m.scrollHeight<=m.clientHeight||(!b&&y>0||!C&&y<0?(x.preventDefault(),Pr.flushSync(()=>{c(L=>L+Math[w](y,v*j))})):/firefox/i.test(Lh())&&(m.scrollTop+=y))}const m=a?.current||r.floating;if(n&&m)return m.addEventListener("wheel",g),requestAnimationFrame(()=>{d.current=m.scrollTop,i.current!=null&&(f.current={...i.current})}),()=>{d.current=null,f.current=null,m.removeEventListener("wheel",g)}},[s,n,r.floating,i,a,c]);const h=K.useMemo(()=>({onKeyDown(){u.current=!0},onWheel(){u.current=!1},onPointerMove(){u.current=!1},onScroll(){const g=a?.current||r.floating;if(!(!i.current||!g||!u.current)){if(d.current!==null){const m=g.scrollTop-d.current;(i.current.bottom<-.5&&m<-1||i.current.top<-.5&&m>1)&&Pr.flushSync(()=>c(x=>x+m))}requestAnimationFrame(()=>{d.current=g.scrollTop})}}}),[r.floating,c,i,a]);return K.useMemo(()=>s?{floating:h}:{},[s,h])}let or=p.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});or.displayName="FloatingContext";let $o=p.createContext(null);$o.displayName="PlacementContext";function $5(e){return p.useMemo(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function O5(){return p.useContext(or).setReference}function _5(){let{getFloatingProps:e,slot:t}=p.useContext(or);return p.useCallback((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function B5(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=p.useContext($o),n=p.useMemo(()=>e,[JSON.stringify(e,(s,i)=>{var a;return(a=i?.outerHTML)!=null?a:i})]);Ae(()=>{t?.(n??null)},[t,n]);let r=p.useContext(or);return p.useMemo(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}let Vc=4;function I5({children:e,enabled:t=!0}){let[n,r]=p.useState(null),[s,i]=p.useState(0),a=p.useRef(null),[l,c]=p.useState(null);H5(l);let u=t&&n!==null&&l!==null,{to:d="bottom",gap:f=0,offset:h=0,padding:g=0,inner:m}=W5(n,l),[x,y="center"]=d.split(" ");Ae(()=>{u&&i(0)},[u]);let{refs:b,floatingStyles:C,context:v}=N5({open:u,placement:x==="selection"?y==="center"?"bottom":`bottom-${y}`:y==="center"?`${x}`:`${x}-${y}`,strategy:"absolute",transform:!1,middleware:[Mc({mainAxis:x==="selection"?0:f,crossAxis:h}),m5({padding:g}),x!=="selection"&&g5({padding:g}),x==="selection"&&m?F5({...m,padding:g,overflowRef:a,offset:s,minItemsVisible:Vc,referenceOverflowThreshold:g,onFallbackChange(O){var z,Z;if(!O)return;let P=v.elements.floating;if(!P)return;let F=parseFloat(getComputedStyle(P).scrollPaddingBottom)||0,E=Math.min(Vc,P.childElementCount),D=0,S=0;for(let $ of(Z=(z=v.elements.floating)==null?void 0:z.childNodes)!=null?Z:[])if(jt($)){let R=$.offsetTop,W=R+$.clientHeight+F,Y=P.scrollTop,_=Y+P.clientHeight;if(R>=Y&&W<=_)E--;else{S=Math.max(0,Math.min(W,_)-Math.max(R,Y)),D=$.clientHeight;break}}E>=1&&i($=>{let R=D*E-S+F;return $>=R?$:R})}}):null,x5({padding:g,apply({availableWidth:O,availableHeight:z,elements:Z}){Object.assign(Z.floating.style,{overflow:"auto",maxWidth:`${O}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${z}px)`})}})].filter(Boolean),whileElementsMounted:i5}),[j=x,w=y]=v.placement.split("-");x==="selection"&&(j="selection");let L=p.useMemo(()=>({anchor:[j,w].filter(Boolean).join(" ")}),[j,w]),T=V5(v,{overflowRef:a,onChange:i}),{getReferenceProps:A,getFloatingProps:H}=R5([T]),V=oe(O=>{c(O),b.setFloating(O)});return K.createElement($o.Provider,{value:r},K.createElement(or.Provider,{value:{setFloating:V,setReference:b.setReference,styles:C,getReferenceProps:A,getFloatingProps:H,slot:L}},e))}function H5(e){Ae(()=>{if(!e)return;let t=new MutationObserver(()=>{let n=window.getComputedStyle(e).maxHeight,r=parseFloat(n);if(isNaN(r))return;let s=parseInt(n);isNaN(s)||r!==s&&(e.style.maxHeight=`${Math.ceil(r)}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function W5(e,t){var n,r,s;let i=Oo((n=e?.gap)!=null?n:"var(--anchor-gap, 0)",t),a=Oo((r=e?.offset)!=null?r:"var(--anchor-offset, 0)",t),l=Oo((s=e?.padding)!=null?s:"var(--anchor-padding, 0)",t);return{...e,gap:i,offset:a,padding:l}}function Oo(e,t,n=void 0){let r=Xr(),s=oe((c,u)=>{if(c==null)return[n,null];if(typeof c=="number")return[c,null];if(typeof c=="string"){if(!u)return[n,null];let d=Oc(c,u);return[d,f=>{let h=$c(c);{let g=h.map(m=>window.getComputedStyle(u).getPropertyValue(m));r.requestAnimationFrame(function m(){r.nextFrame(m);let x=!1;for(let[b,C]of h.entries()){let v=window.getComputedStyle(u).getPropertyValue(C);if(g[b]!==v){g[b]=v,x=!0;break}}if(!x)return;let y=Oc(c,u);d!==y&&(f(y),d=y)})}return r.dispose}]}return[n,null]}),i=p.useMemo(()=>s(e,t)[0],[e,t]),[a=i,l]=p.useState();return Ae(()=>{let[c,u]=s(e,t);if(l(c),!!u)return u(l)},[e,t]),a}function $c(e){let t=/var\((.*)\)/.exec(e);if(t){let n=t[1].indexOf(",");if(n===-1)return[t[1]];let r=t[1].slice(0,n).trim(),s=t[1].slice(n+1).trim();return s?[r,...$c(s)]:[r]}return[]}function Oc(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}let fs=p.createContext(null);fs.displayName="OpenClosedContext";var nn=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(nn||{});function _c(){return p.useContext(fs)}function U5({value:e,children:t}){return p.createElement(fs.Provider,{value:e},t)}function Z5({children:e}){return p.createElement(fs.Provider,{value:null},e)}function Bc(e){let t=oe(e),n=p.useRef(!1);p.useEffect(()=>(n.current=!1,()=>{n.current=!0,xo(()=>{n.current&&t()})}),[t])}let z5=p.createContext(!1);function K5(){return p.useContext(z5)}function Y5(e){let t=K5(),n=p.useContext(Hc),[r,s]=p.useState(()=>{var i;if(!t&&n!==null)return(i=n.current)!=null?i:null;if(Kt.isServer)return null;let a=e?.getElementById("headlessui-portal-root");if(a)return a;if(e===null)return null;let l=e.createElement("div");return l.setAttribute("id","headlessui-portal-root"),e.body.appendChild(l)});return p.useEffect(()=>{r!==null&&(e!=null&&e.body.contains(r)||e==null||e.body.appendChild(r))},[r,e]),p.useEffect(()=>{t||n!==null&&s(n.current)},[n,s,t]),r}let Ic=p.Fragment,G5=Re(function(e,t){let{ownerDocument:n=null,...r}=e,s=p.useRef(null),i=Ie($l(h=>{s.current=h}),t),a=Eo(s.current),l=n??a,c=Y5(l),u=p.useContext(_o),d=Xr(),f=Be();return Bc(()=>{var h;c&&c.childNodes.length<=0&&((h=c.parentElement)==null||h.removeChild(c))}),c?Ws.createPortal(p.createElement("div",{"data-headlessui-portal":"",ref:h=>{d.dispose(),u&&h&&d.add(u.register(h))}},f({ourProps:{ref:i},theirProps:r,slot:{},defaultTag:Ic,name:"Portal"})),c):null});function q5(e,t){let n=Ie(t),{enabled:r=!0,ownerDocument:s,...i}=e,a=Be();return r?p.createElement(G5,{...i,ownerDocument:s,ref:n}):a({ourProps:{ref:n},theirProps:i,slot:{},defaultTag:Ic,name:"Portal"})}let X5=p.Fragment,Hc=p.createContext(null);function J5(e,t){let{target:n,...r}=e,s={ref:Ie(t)},i=Be();return p.createElement(Hc.Provider,{value:n},i({ourProps:s,theirProps:r,defaultTag:X5,name:"Popover.Group"}))}let _o=p.createContext(null);function Q5(){let e=p.useContext(_o),t=p.useRef([]),n=oe(i=>(t.current.push(i),e&&e.register(i),()=>r(i))),r=oe(i=>{let a=t.current.indexOf(i);a!==-1&&t.current.splice(a,1),e&&e.unregister(i)}),s=p.useMemo(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,p.useMemo(()=>function({children:i}){return p.createElement(_o.Provider,{value:s},i)},[s])]}let e9=Re(q5),t9=Re(J5),n9=Object.assign(e9,{Group:t9});function r9({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let r=oe(()=>{var s,i;let a=bn(n),l=[];for(let c of e)c!==null&&(Xt(c)?l.push(c):"current"in c&&Xt(c.current)&&l.push(c.current));if(t!=null&&t.current)for(let c of t.current)l.push(c);for(let c of(s=a?.querySelectorAll("html > *, body > *"))!=null?s:[])c!==document.body&&c!==document.head&&Xt(c)&&c.id!=="headlessui-portal-root"&&(n&&(c.contains(n)||c.contains((i=n?.getRootNode())==null?void 0:i.host))||l.some(u=>c.contains(u))||l.push(c));return l});return{resolveContainers:r,contains:oe(s=>r().some(i=>i.contains(s)))}}let Wc=p.createContext(null);function Uc({children:e,node:t}){let[n,r]=p.useState(null),s=Zc(t??n);return p.createElement(Wc.Provider,{value:s},e,s===null&&p.createElement(kn,{features:wn.Hidden,ref:i=>{var a,l;if(i){for(let c of(l=(a=bn(i))==null?void 0:a.querySelectorAll("html > *, body > *"))!=null?l:[])if(c!==document.body&&c!==document.head&&Xt(c)&&c!=null&&c.contains(i)){r(c);break}}}}))}function Zc(e=null){var t;return(t=p.useContext(Wc))!=null?t:e}function s9(){let e=p.useRef(!1);return Ae(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var Et=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Et||{});function zc(){let e=p.useRef(0);return Ql(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}var o9=Object.defineProperty,i9=(e,t,n)=>t in e?o9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kc=(e,t,n)=>(i9(e,typeof t!="symbol"?t+"":t,n),n),be=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(be||{}),a9=(e=>(e[e.OpenPopover=0]="OpenPopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId",e))(a9||{});let l9={0:e=>e.popoverState===0?e:{...e,popoverState:0,__demoMode:!1},1(e){return e.popoverState===1?e:{...e,popoverState:1,__demoMode:!1}},2(e,t){return e.button===t.button?e:{...e,button:t.button}},3(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},4(e,t){return e.panel===t.panel?e:{...e,panel:t.panel}},5(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}};class xa extends Wl{constructor(t){super(t),Kc(this,"actions",{close:()=>this.send({type:1}),refocusableClose:n=>{this.actions.close();let r=(()=>n?jt(n)?n:"current"in n&&jt(n.current)?n.current:this.state.button:this.state.button)();r?.focus()},open:()=>this.send({type:0}),setButtonId:n=>this.send({type:3,buttonId:n}),setButton:n=>this.send({type:2,button:n}),setPanelId:n=>this.send({type:5,panelId:n}),setPanel:n=>this.send({type:4,panel:n})}),Kc(this,"selectors",{isPortalled:n=>{var r;if(!n.button||!n.panel)return!1;let s=(r=bn(n.button))!=null?r:document;for(let f of s.querySelectorAll("body > *"))if(Number(f?.contains(n.button))^Number(f?.contains(n.panel)))return!0;let i=es(s),a=i.indexOf(n.button),l=(a+i.length-1)%i.length,c=(a+1)%i.length,u=i[l],d=i[c];return!n.panel.contains(u)&&!n.panel.contains(d)}});{let n=this.state.id,r=Kl.get(null);this.on(0,()=>r.actions.push(n)),this.on(1,()=>r.actions.pop(n))}}static new({id:t,__demoMode:n=!1}){return new xa({id:t,__demoMode:n,popoverState:n?0:1,buttons:{current:[]},button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:{current:null},afterPanelSentinel:{current:null},afterButtonSentinel:{current:null}})}reduce(t,n){return Ne(n.type,l9,t,n)}}const Yc=p.createContext(null);function hs(e){let t=p.useContext(Yc);if(t===null){let n=new Error(`<${e} /> is missing a parent <Popover /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,hs),n}return t}function c9({id:e,__demoMode:t=!1}){let n=p.useMemo(()=>xa.new({id:e,__demoMode:t}),[]);return Bc(()=>n.dispose()),n}let Bo=p.createContext(null);Bo.displayName="PopoverGroupContext";function Gc(){return p.useContext(Bo)}let ps=p.createContext(null);ps.displayName="PopoverPanelContext";function u9(){return p.useContext(ps)}let d9="div";function f9(e,t){var n;let r=p.useId(),{__demoMode:s=!1,...i}=e,a=c9({id:r,__demoMode:s}),l=p.useRef(null),c=Ie(t,$l(P=>{l.current=P})),[u,d,f,h,g]=Jt(a,p.useCallback(P=>[P.popoverState,P.button,P.panel,P.buttonId,P.panelId],[])),m=th((n=l.current)!=null?n:d),x=qe(h),y=qe(g),b=p.useMemo(()=>({buttonId:x,panelId:y,close:a.actions.close}),[x,y,a]),C=Gc(),v=C?.registerPopover,j=oe(()=>{var P,F;let E=Gt((P=l.current)!=null?P:d);return(F=C?.isFocusWithinPopoverGroup())!=null?F:E&&(d?.contains(E)||f?.contains(E))});p.useEffect(()=>v?.(b),[v,b]);let[w,L]=Q5(),T=Zc(d),A=r9({mainTreeNode:T,portals:w,defaultContainers:[{get current(){return a.state.button}},{get current(){return a.state.panel}}]});nh(m,"focus",P=>{var F,E,D,S,$,R;P.target!==window&&jn(P.target)&&a.state.popoverState===be.Open&&(j()||a.state.button&&a.state.panel&&(A.contains(P.target)||(E=(F=a.state.beforePanelSentinel.current)==null?void 0:F.contains)!=null&&E.call(F,P.target)||(S=(D=a.state.afterPanelSentinel.current)==null?void 0:D.contains)!=null&&S.call(D,P.target)||(R=($=a.state.afterButtonSentinel.current)==null?void 0:$.contains)!=null&&R.call($,P.target)||a.actions.close()))},!0);let H=u===be.Open;eh(H,A.resolveContainers,(P,F)=>{a.actions.close(),ql(F,Lo.Loose)||(P.preventDefault(),d?.focus())});let V=pt({open:u===be.Open,close:a.actions.refocusableClose}),O=Jt(a,p.useCallback(P=>Ne(P.popoverState,{[be.Open]:nn.Open,[be.Closed]:nn.Closed}),[])),z={ref:c},Z=Be();return p.createElement(Uc,{node:T},p.createElement(I5,null,p.createElement(ps.Provider,{value:null},p.createElement(Yc.Provider,{value:a},p.createElement(Ol,{value:a.actions.refocusableClose},p.createElement(U5,{value:O},p.createElement(L,null,Z({ourProps:z,theirProps:i,slot:V,defaultTag:d9,name:"Popover"}))))))))}let h9="button";function p9(e,t){let n=p.useId(),{id:r=`headlessui-popover-button-${n}`,disabled:s=!1,autoFocus:i=!1,...a}=e,l=hs("Popover.Button"),[c,u,d,f,h,g,m]=Jt(l,p.useCallback(N=>[N.popoverState,l.selectors.isPortalled(N),N.button,N.buttonId,N.panel,N.panelId,N.afterButtonSentinel],[])),x=p.useRef(null),y=`headlessui-focus-sentinel-${p.useId()}`,b=Gc(),C=b?.closeOthers,v=u9()!==null;p.useEffect(()=>{if(!v)return l.actions.setButtonId(r),()=>l.actions.setButtonId(null)},[v,r,l]);let[j]=p.useState(()=>Symbol()),w=Ie(x,t,O5(),oe(N=>{if(!v){if(N)l.state.buttons.current.push(j);else{let I=l.state.buttons.current.indexOf(j);I!==-1&&l.state.buttons.current.splice(I,1)}l.state.buttons.current.length>1&&console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."),N&&l.actions.setButton(N)}})),L=Ie(x,t),T=oe(N=>{var I,Q,ne;if(v){if(l.state.popoverState===be.Closed)return;switch(N.key){case je.Space:case je.Enter:N.preventDefault(),(Q=(I=N.target).click)==null||Q.call(I),l.actions.close(),(ne=l.state.button)==null||ne.focus();break}}else switch(N.key){case je.Space:case je.Enter:N.preventDefault(),N.stopPropagation(),l.state.popoverState===be.Closed?(C?.(l.state.buttonId),l.actions.open()):l.actions.close();break;case je.Escape:if(l.state.popoverState!==be.Open)return C?.(l.state.buttonId);if(!x.current)return;let G=Gt(x.current);if(G&&!x.current.contains(G))return;N.preventDefault(),N.stopPropagation(),l.actions.close();break}}),A=oe(N=>{v||N.key===je.Space&&N.preventDefault()}),H=oe(N=>{var I,Q;Fl(N.currentTarget)||s||(v?(l.actions.close(),(I=l.state.button)==null||I.focus()):(N.preventDefault(),N.stopPropagation(),l.state.popoverState===be.Closed?(C?.(l.state.buttonId),l.actions.open()):l.actions.close(),(Q=l.state.button)==null||Q.focus()))}),V=oe(N=>{N.preventDefault(),N.stopPropagation()}),{isFocusVisible:O,focusProps:z}=mo({autoFocus:i}),{isHovered:Z,hoverProps:P}=Dl({isDisabled:s}),{pressed:F,pressProps:E}=Pl({disabled:s}),D=c===be.Open,S=pt({open:D,active:F||D,disabled:s,hover:Z,focus:O,autofocus:i}),$=tc(e,d),R=Xn(v?{ref:L,type:$,onKeyDown:T,onClick:H,disabled:s||void 0,autoFocus:i}:{ref:w,id:f,type:$,"aria-expanded":c===be.Open,"aria-controls":h?g:void 0,disabled:s||void 0,autoFocus:i,onKeyDown:T,onKeyUp:A,onClick:H,onMouseDown:V},z,P,E),W=zc(),Y=oe(()=>{if(!jt(l.state.panel))return;let N=l.state.panel;function I(){Ne(W.current,{[Et.Forwards]:()=>ze(N,we.First),[Et.Backwards]:()=>ze(N,we.Last)})===Rt.Error&&ze(es(Yt(l.state.button)).filter(Q=>Q.dataset.headlessuiFocusGuard!=="true"),Ne(W.current,{[Et.Forwards]:we.Next,[Et.Backwards]:we.Previous}),{relativeTo:l.state.button})}I()}),_=Be();return p.createElement(p.Fragment,null,_({ourProps:R,theirProps:a,slot:S,defaultTag:h9,name:"Popover.Button"}),D&&!v&&u&&p.createElement(kn,{id:y,ref:m,features:wn.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:Y}))}let m9="div",g9=qt.RenderStrategy|qt.Static;function qc(e,t){let n=p.useId(),{id:r=`headlessui-popover-backdrop-${n}`,transition:s=!1,...i}=e,a=hs("Popover.Backdrop"),l=Jt(a,p.useCallback(b=>b.popoverState,[])),[c,u]=p.useState(null),d=Ie(t,u),f=_c(),[h,g]=ic(s,c,f!==null?(f&nn.Open)===nn.Open:l===be.Open),m=oe(b=>{if(Fl(b.currentTarget))return b.preventDefault();a.actions.close()}),x=pt({open:l===be.Open}),y={ref:d,id:r,"aria-hidden":!0,onClick:m,...oc(g)};return Be()({ourProps:y,theirProps:i,slot:x,defaultTag:m9,features:g9,visible:h,name:"Popover.Backdrop"})}let x9="div",y9=qt.RenderStrategy|qt.Static;function v9(e,t){let n=p.useId(),{id:r=`headlessui-popover-panel-${n}`,focus:s=!1,anchor:i,portal:a=!1,modal:l=!1,transition:c=!1,...u}=e,d=hs("Popover.Panel"),f=Jt(d,d.selectors.isPortalled),[h,g,m,x,y]=Jt(d,p.useCallback(_=>[_.popoverState,_.button,_.__demoMode,_.beforePanelSentinel,_.afterPanelSentinel],[])),b=`headlessui-focus-sentinel-before-${n}`,C=`headlessui-focus-sentinel-after-${n}`,v=p.useRef(null),j=$5(i),[w,L]=B5(j),T=_5();j&&(a=!0);let[A,H]=p.useState(null),V=Ie(v,t,j?w:null,d.actions.setPanel,H),O=Eo(g),z=Eo(v.current);Ae(()=>(d.actions.setPanelId(r),()=>d.actions.setPanelId(null)),[r,d]);let Z=_c(),[P,F]=ic(c,A,Z!==null?(Z&nn.Open)===nn.Open:h===be.Open);z3(P,g,d.actions.close),ch(m?!1:l&&P,z);let E=oe(_=>{var N;switch(_.key){case je.Escape:if(d.state.popoverState!==be.Open||!v.current)return;let I=Gt(v.current);if(I&&!v.current.contains(I))return;_.preventDefault(),_.stopPropagation(),d.actions.close(),(N=d.state.button)==null||N.focus();break}});p.useEffect(()=>{var _;e.static||h===be.Closed&&((_=e.unmount)==null||_)&&d.actions.setPanel(null)},[h,e.unmount,e.static,d]),p.useEffect(()=>{if(m||!s||h!==be.Open||!v.current)return;let _=Gt(v.current);v.current.contains(_)||ze(v.current,we.First)},[m,s,v.current,h]);let D=pt({open:h===be.Open,close:d.actions.refocusableClose}),S=Xn(j?T():{},{ref:V,id:r,onKeyDown:E,onBlur:s&&h===be.Open?_=>{var N,I,Q,ne,G;let se=_.relatedTarget;se&&v.current&&((N=v.current)!=null&&N.contains(se)||(d.actions.close(),((Q=(I=x.current)==null?void 0:I.contains)!=null&&Q.call(I,se)||(G=(ne=y.current)==null?void 0:ne.contains)!=null&&G.call(ne,se))&&se.focus({preventScroll:!0})))}:void 0,tabIndex:-1,style:{...u.style,...L,"--button-width":A3(P,g,!0).width},...oc(F)}),$=zc(),R=oe(()=>{let _=v.current;if(!_)return;function N(){Ne($.current,{[Et.Forwards]:()=>{var I;ze(_,we.First)===Rt.Error&&((I=d.state.afterPanelSentinel.current)==null||I.focus())},[Et.Backwards]:()=>{var I;(I=d.state.button)==null||I.focus({preventScroll:!0})}})}N()}),W=oe(()=>{let _=v.current;if(!_)return;function N(){Ne($.current,{[Et.Forwards]:()=>{var I;if(!d.state.button)return;let Q=(I=Yt(d.state.button))!=null?I:document.body,ne=es(Q),G=ne.indexOf(d.state.button),se=ne.slice(0,G+1),re=[...ne.slice(G+1),...se];for(let le of re.slice())if(le.dataset.headlessuiFocusGuard==="true"||A!=null&&A.contains(le)){let J=re.indexOf(le);J!==-1&&re.splice(J,1)}ze(re,we.First,{sorted:!1})},[Et.Backwards]:()=>{var I;ze(_,we.Previous)===Rt.Error&&((I=d.state.button)==null||I.focus())}})}N()}),Y=Be();return p.createElement(Z5,null,p.createElement(ps.Provider,{value:r},p.createElement(Ol,{value:d.actions.refocusableClose},p.createElement(n9,{enabled:a?e.static||P:!1,ownerDocument:O},P&&f&&p.createElement(kn,{id:b,ref:x,features:wn.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:R}),Y({ourProps:S,theirProps:u,slot:D,defaultTag:x9,features:y9,visible:P,name:"Popover.Panel"}),P&&f&&p.createElement(kn,{id:C,ref:y,features:wn.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:W})))))}let b9="div";function C9(e,t){let n=p.useRef(null),r=Ie(n,t),[s,i]=p.useState([]),a=oe(x=>{i(y=>{let b=y.indexOf(x);if(b!==-1){let C=y.slice();return C.splice(b,1),C}return y})}),l=oe(x=>(i(y=>[...y,x]),()=>a(x))),c=oe(()=>{var x;let y=Yt(n.current);if(!y)return!1;let b=Gt(n.current);return(x=n.current)!=null&&x.contains(b)?!0:s.some(C=>{var v,j;return((v=y.getElementById(C.buttonId.current))==null?void 0:v.contains(b))||((j=y.getElementById(C.panelId.current))==null?void 0:j.contains(b))})}),u=oe(x=>{for(let y of s)y.buttonId.current!==x&&y.close()}),d=p.useMemo(()=>({registerPopover:l,unregisterPopover:a,isFocusWithinPopoverGroup:c,closeOthers:u}),[l,a,c,u]),f=pt({}),h=e,g={ref:r},m=Be();return p.createElement(Uc,null,p.createElement(Bo.Provider,{value:d},m({ourProps:g,theirProps:h,slot:f,defaultTag:b9,name:"Popover.Group"})))}let w9=Re(f9),Xc=Re(p9),k9=Re(qc),j9=Re(qc),Jc=Re(v9),L9=Re(C9),E9=Object.assign(w9,{Button:Xc,Backdrop:j9,Overlay:k9,Panel:Jc,Group:L9});function S9({onFocus:e}){let[t,n]=p.useState(!0),r=s9();return t?p.createElement(kn,{as:"button",type:"button",features:wn.Focusable,onFocus:s=>{s.preventDefault();let i,a=50;function l(){if(a--<=0){i&&cancelAnimationFrame(i);return}if(e()){if(cancelAnimationFrame(i),!r.current)return;n(!1);return}i=requestAnimationFrame(l)}i=requestAnimationFrame(l)}}):null}const Qc=K.createContext(null);function M9(){return{groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let s=(n=r.get(t))!=null?n:0;r.set(t,s+1);let i=Array.from(r.keys()).indexOf(t);function a(){let l=r.get(t);l>1?r.set(t,l-1):r.delete(t)}return[i,a]}}}function T9({children:e}){let t=K.useRef(M9());return K.createElement(Qc.Provider,{value:t},e)}function e1(e){let t=K.useContext(Qc);if(!t)throw new Error("You must wrap your component in a <StableCollection>");let n=K.useId(),[r,s]=t.current.get(e,n);return K.useEffect(()=>s,[]),r}var D9=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(D9||{}),P9=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(P9||{}),A9=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(A9||{});let N9={0(e,t){var n;let r=Ln(e.tabs,d=>d.current),s=Ln(e.panels,d=>d.current),i=r.filter(d=>{var f;return!((f=d.current)!=null&&f.hasAttribute("disabled"))}),a={...e,tabs:r,panels:s};if(t.index<0||t.index>r.length-1){let d=Ne(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>Ne(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(i.length===0)return a;let f=Ne(d,{0:()=>r.indexOf(i[0]),1:()=>r.indexOf(i[i.length-1])});return{...a,selectedIndex:f===-1?e.selectedIndex:f}}let l=r.slice(0,t.index),c=[...r.slice(t.index),...l].find(d=>i.includes(d));if(!c)return a;let u=(n=r.indexOf(c))!=null?n:e.selectedIndex;return u===-1&&(u=e.selectedIndex),{...a,selectedIndex:u}},1(e,t){if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],r=Ln([...e.tabs,t.tab],i=>i.current),s=e.selectedIndex;return e.info.current.isControlled||(s=r.indexOf(n),s===-1&&(s=e.selectedIndex)),{...e,tabs:r,selectedIndex:s}},2(e,t){return{...e,tabs:e.tabs.filter(n=>n!==t.tab)}},3(e,t){return e.panels.includes(t.panel)?e:{...e,panels:Ln([...e.panels,t.panel],n=>n.current)}},4(e,t){return{...e,panels:e.panels.filter(n=>n!==t.panel)}}},Io=p.createContext(null);Io.displayName="TabsDataContext";function Dn(e){let t=p.useContext(Io);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Dn),n}return t}let Ho=p.createContext(null);Ho.displayName="TabsActionsContext";function Wo(e){let t=p.useContext(Ho);if(t===null){let n=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Wo),n}return t}function R9(e,t){return Ne(t.type,N9,e,t)}let F9="div";function V9(e,t){let{defaultIndex:n=0,vertical:r=!1,manual:s=!1,onChange:i,selectedIndex:a=null,...l}=e;const c=r?"vertical":"horizontal",u=s?"manual":"auto";let d=a!==null,f=qe({isControlled:d}),h=Ie(t),[g,m]=p.useReducer(R9,{info:f,selectedIndex:a??n,tabs:[],panels:[]}),x=pt({selectedIndex:g.selectedIndex}),y=qe(i||(()=>{})),b=qe(g.tabs),C=p.useMemo(()=>({orientation:c,activation:u,...g}),[c,u,g]),v=oe(V=>(m({type:1,tab:V}),()=>m({type:2,tab:V}))),j=oe(V=>(m({type:3,panel:V}),()=>m({type:4,panel:V}))),w=oe(V=>{L.current!==V&&y.current(V),d||m({type:0,index:V})}),L=qe(d?e.selectedIndex:g.selectedIndex),T=p.useMemo(()=>({registerTab:v,registerPanel:j,change:w}),[]);Ae(()=>{m({type:0,index:a??n})},[a]),Ae(()=>{if(L.current===void 0||g.tabs.length<=0)return;let V=Ln(g.tabs,O=>O.current);V.some((O,z)=>g.tabs[z]!==O)&&w(V.indexOf(g.tabs[L.current]))});let A={ref:h},H=Be();return p.createElement(T9,null,p.createElement(Ho.Provider,{value:T},p.createElement(Io.Provider,{value:C},C.tabs.length<=0&&p.createElement(S9,{onFocus:()=>{var V,O;for(let z of b.current)if(((V=z.current)==null?void 0:V.tabIndex)===0)return(O=z.current)==null||O.focus(),!0;return!1}}),H({ourProps:A,theirProps:l,slot:x,defaultTag:F9,name:"Tabs"}))))}let $9="div";function O9(e,t){let{orientation:n,selectedIndex:r}=Dn("Tab.List"),s=Ie(t),i=pt({selectedIndex:r}),a=e,l={ref:s,role:"tablist","aria-orientation":n};return Be()({ourProps:l,theirProps:a,slot:i,defaultTag:$9,name:"Tabs.List"})}let _9="button";function B9(e,t){var n,r;let s=p.useId(),{id:i=`headlessui-tabs-tab-${s}`,disabled:a=!1,autoFocus:l=!1,...c}=e,{orientation:u,activation:d,selectedIndex:f,tabs:h,panels:g}=Dn("Tab"),m=Wo("Tab"),x=Dn("Tab"),[y,b]=p.useState(null),C=p.useRef(null),v=Ie(C,t,b);Ae(()=>m.registerTab(C),[m,C]);let j=e1("tabs"),w=h.indexOf(C);w===-1&&(w=j);let L=w===f,T=oe(R=>{let W=R();if(W===Rt.Success&&d==="auto"){let Y=Gt(C.current),_=x.tabs.findIndex(N=>N.current===Y);_!==-1&&m.change(_)}return W}),A=oe(R=>{let W=h.map(Y=>Y.current).filter(Boolean);if(R.key===je.Space||R.key===je.Enter){R.preventDefault(),R.stopPropagation(),m.change(w);return}switch(R.key){case je.Home:case je.PageUp:return R.preventDefault(),R.stopPropagation(),T(()=>ze(W,we.First));case je.End:case je.PageDown:return R.preventDefault(),R.stopPropagation(),T(()=>ze(W,we.Last))}if(T(()=>Ne(u,{vertical(){return R.key===je.ArrowUp?ze(W,we.Previous|we.WrapAround):R.key===je.ArrowDown?ze(W,we.Next|we.WrapAround):Rt.Error},horizontal(){return R.key===je.ArrowLeft?ze(W,we.Previous|we.WrapAround):R.key===je.ArrowRight?ze(W,we.Next|we.WrapAround):Rt.Error}}))===Rt.Success)return R.preventDefault()}),H=p.useRef(!1),V=oe(()=>{var R;H.current||(H.current=!0,(R=C.current)==null||R.focus({preventScroll:!0}),m.change(w),xo(()=>{H.current=!1}))}),O=oe(R=>{R.preventDefault()}),{isFocusVisible:z,focusProps:Z}=mo({autoFocus:l}),{isHovered:P,hoverProps:F}=Dl({isDisabled:a}),{pressed:E,pressProps:D}=Pl({disabled:a}),S=pt({selected:L,hover:P,active:E,focus:z,autofocus:l,disabled:a}),$=Xn({ref:v,onKeyDown:A,onMouseDown:O,onClick:V,id:i,role:"tab",type:tc(e,y),"aria-controls":(r=(n=g[w])==null?void 0:n.current)==null?void 0:r.id,"aria-selected":L,tabIndex:L?0:-1,disabled:a||void 0,autoFocus:l},Z,F,D);return Be()({ourProps:$,theirProps:c,slot:S,defaultTag:_9,name:"Tabs.Tab"})}let I9="div";function H9(e,t){let{selectedIndex:n}=Dn("Tab.Panels"),r=Ie(t),s=pt({selectedIndex:n}),i=e,a={ref:r};return Be()({ourProps:a,theirProps:i,slot:s,defaultTag:I9,name:"Tabs.Panels"})}let W9="div",U9=qt.RenderStrategy|qt.Static;function Z9(e,t){var n,r,s,i;let a=p.useId(),{id:l=`headlessui-tabs-panel-${a}`,tabIndex:c=0,...u}=e,{selectedIndex:d,tabs:f,panels:h}=Dn("Tab.Panel"),g=Wo("Tab.Panel"),m=p.useRef(null),x=Ie(m,t);Ae(()=>g.registerPanel(m),[g,m]);let y=e1("panels"),b=h.indexOf(m);b===-1&&(b=y);let C=b===d,{isFocusVisible:v,focusProps:j}=mo(),w=pt({selected:C,focus:v}),L=Xn({ref:x,id:l,role:"tabpanel","aria-labelledby":(r=(n=f[b])==null?void 0:n.current)==null?void 0:r.id,tabIndex:C?c:-1},j),T=Be();return!C&&((s=u.unmount)==null||s)&&!((i=u.static)!=null&&i)?p.createElement(kn,{"aria-hidden":"true",...L}):T({ourProps:L,theirProps:u,slot:w,defaultTag:W9,features:U9,visible:C,name:"Tabs.Panel"})}let z9=Re(B9),t1=Re(V9),n1=Re(O9),r1=Re(H9),s1=Re(Z9),K9=Object.assign(z9,{Group:t1,List:n1,Panels:r1,Panel:s1});const ms=e=>o.jsx(t1,{...e,children:e.children}),gs=({children:e,className:t})=>o.jsx(n1,{className:t,children:e}),ir=({children:e,className:t,disabled:n,onClick:r,...s})=>o.jsx(K9,{onClick:r,className:t,disabled:!!n,...s,children:e}),xs=({children:e,className:t=""})=>o.jsx(r1,{className:t,children:e}),Pn=({children:e,className:t=""})=>o.jsx(s1,{className:t,children:e});var Uo={exports:{}},Y9={AED:"\u062F.\u0625",AFN:"\u060B",ALL:"L",AMD:"\u058F",ANG:"\u0192",AOA:"Kz",ARS:"$",AUD:"$",AWG:"\u0192",AZN:"\u20BC",BAM:"KM",BBD:"$",BDT:"\u09F3",BGN:"\u043B\u0432",BHD:".\u062F.\u0628",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BOV:"BOV",BRL:"R$",BSD:"$",BTC:"\u20BF",BTN:"Nu.",BWP:"P",BYN:"Br",BYR:"Br",BZD:"BZ$",CAD:"$",CDF:"FC",CHE:"CHE",CHF:"CHF",CHW:"CHW",CLF:"CLF",CLP:"$",CNH:"\xA5",CNY:"\xA5",COP:"$",COU:"COU",CRC:"\u20A1",CUC:"$",CUP:"\u20B1",CVE:"$",CZK:"K\u010D",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"\u062F\u062C",EEK:"kr",EGP:"\xA3",ERN:"Nfk",ETB:"Br",ETH:"\u039E",EUR:"\u20AC",FJD:"$",FKP:"\xA3",GBP:"\xA3",GEL:"\u20BE",GGP:"\xA3",GHC:"\u20B5",GHS:"GH\u20B5",GIP:"\xA3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20AA",IMP:"\xA3",INR:"\u20B9",IQD:"\u0639.\u062F",IRR:"\uFDFC",ISK:"kr",JEP:"\xA3",JMD:"J$",JOD:"JD",JPY:"\xA5",KES:"KSh",KGS:"\u043B\u0432",KHR:"\u17DB",KMF:"CF",KPW:"\u20A9",KRW:"\u20A9",KWD:"KD",KYD:"$",KZT:"\u20B8",LAK:"\u20AD",LBP:"\xA3",LKR:"\u20A8",LRD:"$",LSL:"M",LTC:"\u0141",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"\u0434\u0435\u043D",MMK:"K",MNT:"\u20AE",MOP:"MOP$",MRO:"UM",MRU:"UM",MUR:"\u20A8",MVR:"Rf",MWK:"MK",MXN:"$",MXV:"MXV",MYR:"RM",MZN:"MT",NAD:"$",NGN:"\u20A6",NIO:"C$",NOK:"kr",NPR:"\u20A8",NZD:"$",OMR:"\uFDFC",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20B1",PKR:"\u20A8",PLN:"z\u0142",PYG:"Gs",QAR:"\uFDFC",RMB:"\uFFE5",RON:"lei",RSD:"\u0414\u0438\u043D.",RUB:"\u20BD",RWF:"R\u20A3",SAR:"\uFDFC",SBD:"$",SCR:"\u20A8",SDG:"\u062C.\u0633.",SEK:"kr",SGD:"S$",SHP:"\xA3",SLL:"Le",SOS:"S",SRD:"$",SSP:"\xA3",STD:"Db",STN:"Db",SVC:"$",SYP:"\xA3",SZL:"E",THB:"\u0E3F",TJS:"SM",TMT:"T",TND:"\u062F.\u062A",TOP:"T$",TRL:"\u20A4",TRY:"\u20BA",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20B4",UGX:"USh",USD:"$",UYI:"UYI",UYU:"$U",UYW:"UYW",UZS:"\u043B\u0432",VEF:"Bs",VES:"Bs.S",VND:"\u20AB",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"\u0243",XCD:"$",XOF:"CFA",XPF:"\u20A3",XSU:"Sucre",XUA:"XUA",YER:"\uFDFC",ZAR:"R",ZMW:"ZK",ZWD:"Z$",ZWL:"$"};const Zo=Y9;Uo.exports=function(t){if(typeof t!="string")return;const n=t.toUpperCase();if(Object.prototype.hasOwnProperty.call(Zo,n))return Zo[n]},Uo.exports.currencySymbolMap=Zo;var G9=Uo.exports,q9=Ar(G9);const zo={"xx-small":"px-[6px] h-[25px]","x-small":"px-[12px] h-[36px]",small:"px-[16px] h-[40px]",medium:"px-[20px] h-[52px]",large:"px-[24px] h-[60px]"},X9={small:"max-w-[518px]",medium:"max-w-[641px]",large:"max-w-[830px]",extralarge:"max-w-[940px]"},J9={small:"h-[20px] min-w-[20px] text-xs",medium:"h-[36px] min-w-[36px] text-sm"},Ko=(...e)=>e.filter(Boolean).join(" "),ys=e=>{const t=e?.includes("T"),n=new Date(e),r={month:"short",day:"numeric",year:"numeric"};t&&(r.hour="numeric",r.minute="2-digit",r.hour12=!0);let s=n.toLocaleString("en",r);return t&&(s=s.replace(/ AM| PM/,i=>i.toLowerCase()),s=s.replace(/,(?=\s\d{1,2}:\d{2})/,"")),s},ct=e=>e?ys(e.split("T")[0]):"nil",vt=e=>e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():"",Q9=e=>{if(!e)return{};const{address_line1:t,address_line2:n,city:r,state:s,country:i,zip_code:a}=e;return{address:[t,n,r,s,i].filter(Boolean).join(", "),zipCode:a}},o1=e=>{if(!e)return{};const{address_line_one:t,address_line_two:n,city:r,state:s,country:i,zip_code:a}=e;return{address:[t,n,r,s,i].filter(Boolean).join(", "),zipCode:a}},$t=e=>q9(e),ep=(e,t)=>{if(!e)return t;const{line1:n,line2:r,city:s,state:i,country:a,zip_code:l}=e,c=[n,r,s,i,a&&vt(a),l].filter(Boolean);return c.length>0?c.join(", "):t},tp={body1:"font-regular text-[25px] leading-[120%]",body2:"font-regular text-[20px] leading-[120%]",body3:"font-light text-[20px] leading-[120%]",body4:"font-regular text-[16px] leading-[140%]",body5:"font-light text-[16px] leading-[120%]",body6:"font-regular text-[13px] leading-[120%]",body7:"font-light text-[13px] leading-[120%]",body8:"font-regular text-[10px] leading-[120%]",body9:"font-light text-[10px] leading-[120%]"},B=({variant:e,className:t,as:n="p",children:r,color:s})=>o.jsx(n,{className:Ko(tp[e],s,t),children:r}),np={label1:"font-medium text-[61px] leading-[120%] block",label2:"font-medium text-[49px] leading-[120%] block",label3:"font-medium text-[39px] leading-[120%] block",label4:"font-medium text-[31px] leading-[120%] block",label5:"font-medium text-[25px] leading-[120%] block",label6:"font-medium text-[20px] leading-[120%] block",label7:"font-medium text-[16px] leading-[120%] block",label8:"font-medium text-[13px] leading-[120%] block",label9:"font-medium text-[10px] leading-[120%] block"},U=({variant:e,className:t,as:n="span",children:r,color:s})=>o.jsx(n,{className:Ko(np[e],s,t),children:r}),rp={h1:"font-bold text-[61px] leading-[140%]",h2:"font-bold text-[49px] leading-[140%]",h3:"font-bold text-[39px] leading-[140%]",h4:"font-bold text-[31px] leading-[140%]",h5:"font-bold text-[25px] leading-[140%]",h6:"font-bold text-[20px] leading-[140%]",h7:"font-bold text-[16px] leading-[140%]",h8:"font-bold text-[13px] leading-[140%]",h9:"font-bold text-[10px] leading-[140%]"},Yo=({variant:e,className:t,as:n="h1",children:r,color:s})=>o.jsx(n,{className:Ko(rp[e],s,t),children:r}),sp=async({customerKey:e})=>{const{data:t}=await at().get(`/sdk/customers/${e}/details`);return t},op=({customerKey:e})=>{const[t,n]=p.useState(null),[r,s]=p.useState(null),[i,a]=p.useState(!1),l=async()=>{if(!e)return s("Missing customerKey");a(!0);try{const c=await sp({customerKey:e});n(c?.data),s(null)}catch(c){const u=c,d=u?.response?.data?.data?.error||u?.message;s(d||"Failed to load customer details")}finally{a(!1)}};return p.useEffect(()=>{l()},[e]),{customerDetails:t,error:r,isLoading:i,refetch:l}},ip=async({customerKey:e})=>{const{data:t}=await at().get(`/sdk/credit_systems/wallets/${e}`);return t},ap=({customerKey:e})=>{const[t,n]=p.useState(null),[r,s]=p.useState(null),[i,a]=p.useState(!1),l=async()=>{if(!e)return s("Missing customerKey");a(!0);try{const c=await ip({customerKey:e});n(c?.data),s(null)}catch(c){const u=c,d=u?.response?.data?.data?.error||u?.message;s(d||"Failed to load customer wallet")}finally{a(!1)}};return p.useEffect(()=>{l()},[e]),{customerWallets:t,error:r,isLoading:i,refetch:l}},An=hl(e=>({customerKey:"",setCustomerKey:t=>e({customerKey:t}),customerRefetch:()=>{},setCustomerRefetch:t=>e({customerRefetch:t}),plans:[],setPlans:t=>e({plans:t})}));var i1={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Ht,function(){var n=1e3,r=6e4,s=36e5,i="millisecond",a="second",l="minute",c="hour",u="day",d="week",f="month",h="quarter",g="year",m="date",x="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,C={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(P){var F=["th","st","nd","rd"],E=P%100;return"["+P+(F[(E-20)%10]||F[E]||F[0])+"]"}},v=function(P,F,E){var D=String(P);return!D||D.length>=F?P:""+Array(F+1-D.length).join(E)+P},j={s:v,z:function(P){var F=-P.utcOffset(),E=Math.abs(F),D=Math.floor(E/60),S=E%60;return(F<=0?"+":"-")+v(D,2,"0")+":"+v(S,2,"0")},m:function P(F,E){if(F.date()<E.date())return-P(E,F);var D=12*(E.year()-F.year())+(E.month()-F.month()),S=F.clone().add(D,f),$=E-S<0,R=F.clone().add(D+($?-1:1),f);return+(-(D+(E-S)/($?S-R:R-S))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:f,y:g,w:d,d:u,D:m,h:c,m:l,s:a,ms:i,Q:h}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},w="en",L={};L[w]=C;var T="$isDayjsObject",A=function(P){return P instanceof z||!(!P||!P[T])},H=function P(F,E,D){var S;if(!F)return w;if(typeof F=="string"){var $=F.toLowerCase();L[$]&&(S=$),E&&(L[$]=E,S=$);var R=F.split("-");if(!S&&R.length>1)return P(R[0])}else{var W=F.name;L[W]=F,S=W}return!D&&S&&(w=S),S||!D&&w},V=function(P,F){if(A(P))return P.clone();var E=typeof F=="object"?F:{};return E.date=P,E.args=arguments,new z(E)},O=j;O.l=H,O.i=A,O.w=function(P,F){return V(P,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var z=function(){function P(E){this.$L=H(E.locale,null,!0),this.parse(E),this.$x=this.$x||E.x||{},this[T]=!0}var F=P.prototype;return F.parse=function(E){this.$d=function(D){var S=D.date,$=D.utc;if(S===null)return new Date(NaN);if(O.u(S))return new Date;if(S instanceof Date)return new Date(S);if(typeof S=="string"&&!/Z$/i.test(S)){var R=S.match(y);if(R){var W=R[2]-1||0,Y=(R[7]||"0").substring(0,3);return $?new Date(Date.UTC(R[1],W,R[3]||1,R[4]||0,R[5]||0,R[6]||0,Y)):new Date(R[1],W,R[3]||1,R[4]||0,R[5]||0,R[6]||0,Y)}}return new Date(S)}(E),this.init()},F.init=function(){var E=this.$d;this.$y=E.getFullYear(),this.$M=E.getMonth(),this.$D=E.getDate(),this.$W=E.getDay(),this.$H=E.getHours(),this.$m=E.getMinutes(),this.$s=E.getSeconds(),this.$ms=E.getMilliseconds()},F.$utils=function(){return O},F.isValid=function(){return this.$d.toString()!==x},F.isSame=function(E,D){var S=V(E);return this.startOf(D)<=S&&S<=this.endOf(D)},F.isAfter=function(E,D){return V(E)<this.startOf(D)},F.isBefore=function(E,D){return this.endOf(D)<V(E)},F.$g=function(E,D,S){return O.u(E)?this[D]:this.set(S,E)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(E,D){var S=this,$=!!O.u(D)||D,R=O.p(E),W=function(se,re){var le=O.w(S.$u?Date.UTC(S.$y,re,se):new Date(S.$y,re,se),S);return $?le:le.endOf(u)},Y=function(se,re){return O.w(S.toDate()[se].apply(S.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(re)),S)},_=this.$W,N=this.$M,I=this.$D,Q="set"+(this.$u?"UTC":"");switch(R){case g:return $?W(1,0):W(31,11);case f:return $?W(1,N):W(0,N+1);case d:var ne=this.$locale().weekStart||0,G=(_<ne?_+7:_)-ne;return W($?I-G:I+(6-G),N);case u:case m:return Y(Q+"Hours",0);case c:return Y(Q+"Minutes",1);case l:return Y(Q+"Seconds",2);case a:return Y(Q+"Milliseconds",3);default:return this.clone()}},F.endOf=function(E){return this.startOf(E,!1)},F.$set=function(E,D){var S,$=O.p(E),R="set"+(this.$u?"UTC":""),W=(S={},S[u]=R+"Date",S[m]=R+"Date",S[f]=R+"Month",S[g]=R+"FullYear",S[c]=R+"Hours",S[l]=R+"Minutes",S[a]=R+"Seconds",S[i]=R+"Milliseconds",S)[$],Y=$===u?this.$D+(D-this.$W):D;if($===f||$===g){var _=this.clone().set(m,1);_.$d[W](Y),_.init(),this.$d=_.set(m,Math.min(this.$D,_.daysInMonth())).$d}else W&&this.$d[W](Y);return this.init(),this},F.set=function(E,D){return this.clone().$set(E,D)},F.get=function(E){return this[O.p(E)]()},F.add=function(E,D){var S,$=this;E=Number(E);var R=O.p(D),W=function(N){var I=V($);return O.w(I.date(I.date()+Math.round(N*E)),$)};if(R===f)return this.set(f,this.$M+E);if(R===g)return this.set(g,this.$y+E);if(R===u)return W(1);if(R===d)return W(7);var Y=(S={},S[l]=r,S[c]=s,S[a]=n,S)[R]||1,_=this.$d.getTime()+E*Y;return O.w(_,this)},F.subtract=function(E,D){return this.add(-1*E,D)},F.format=function(E){var D=this,S=this.$locale();if(!this.isValid())return S.invalidDate||x;var $=E||"YYYY-MM-DDTHH:mm:ssZ",R=O.z(this),W=this.$H,Y=this.$m,_=this.$M,N=S.weekdays,I=S.months,Q=S.meridiem,ne=function(re,le,J,q){return re&&(re[le]||re(D,$))||J[le].slice(0,q)},G=function(re){return O.s(W%12||12,re,"0")},se=Q||function(re,le,J){var q=re<12?"AM":"PM";return J?q.toLowerCase():q};return $.replace(b,function(re,le){return le||function(J){switch(J){case"YY":return String(D.$y).slice(-2);case"YYYY":return O.s(D.$y,4,"0");case"M":return _+1;case"MM":return O.s(_+1,2,"0");case"MMM":return ne(S.monthsShort,_,I,3);case"MMMM":return ne(I,_);case"D":return D.$D;case"DD":return O.s(D.$D,2,"0");case"d":return String(D.$W);case"dd":return ne(S.weekdaysMin,D.$W,N,2);case"ddd":return ne(S.weekdaysShort,D.$W,N,3);case"dddd":return N[D.$W];case"H":return String(W);case"HH":return O.s(W,2,"0");case"h":return G(1);case"hh":return G(2);case"a":return se(W,Y,!0);case"A":return se(W,Y,!1);case"m":return String(Y);case"mm":return O.s(Y,2,"0");case"s":return String(D.$s);case"ss":return O.s(D.$s,2,"0");case"SSS":return O.s(D.$ms,3,"0");case"Z":return R}return null}(re)||R.replace(":","")})},F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function(E,D,S){var $,R=this,W=O.p(D),Y=V(E),_=(Y.utcOffset()-this.utcOffset())*r,N=this-Y,I=function(){return O.m(R,Y)};switch(W){case g:$=I()/12;break;case f:$=I();break;case h:$=I()/3;break;case d:$=(N-_)/6048e5;break;case u:$=(N-_)/864e5;break;case c:$=N/s;break;case l:$=N/r;break;case a:$=N/n;break;default:$=N}return S?$:O.a($)},F.daysInMonth=function(){return this.endOf(f).$D},F.$locale=function(){return L[this.$L]},F.locale=function(E,D){if(!E)return this.$L;var S=this.clone(),$=H(E,D,!0);return $&&(S.$L=$),S},F.clone=function(){return O.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},P}(),Z=z.prototype;return V.prototype=Z,[["$ms",i],["$s",a],["$m",l],["$H",c],["$W",u],["$M",f],["$y",g],["$D",m]].forEach(function(P){Z[P[1]]=function(F){return this.$g(F,P[0],P[1])}}),V.extend=function(P,F){return P.$i||(P(F,z,V),P.$i=!0),V},V.locale=H,V.isDayjs=A,V.unix=function(P){return V(1e3*P)},V.en=L[w],V.Ls=L,V.p={},V})})(i1);var lp=i1.exports,a1=Ar(lp);const cp={amber:{50:"#FFF6E5",100:"#FFEDCC",500:"#FFA500",800:"#664200"},neutral:{100:"#F5F5F5",200:"#E5E5E5",400:"#A3A3A3",500:"#737373",800:"#262626",900:"#171717"},grey:{50:"#FAFAFA",100:"#F4F4F5",200:"#E4E4E7",300:"#D4D4D8",400:"#A1A1AA",500:"#71717A",600:"#52525B",700:"#3F3F46",800:"#27272A",900:"#18181B"},slate:{800:"#1E293B"},base:{danger:"#F31260",default:{600:"#52525B"}},cool:{orange:{50:"#FEF1EB",100:"#FCDFD7"}},bright:{orange:{50:"#FDEFEB"}},red:{100:"#FFE5E5",500:"#E60000",600:"#CF2140",900:"#2C030B"},pink:{100:"#FFE5F5",500:"#FF55C0",600:"#EC4899"},purple:{100:"#F0EEFE",500:"#705BFA"},green:{100:"#E9FFD4",200:"#E6F7EA",500:"#6FE200",600:"#0BB02F"},orange:{50:"#FFF6E5",100:"#FFEFD6",400:"#FFB733",500:"#FF9D00"},blue:{50:"#E5F2FF",500:"#007BFF"},metrifox:{primary:"#3D3D3D",secondary:"#DEF764",blue:"#006FEE",black:"#0F0F0F",success:"#17C964",white:"#FFFFFF",dark:"#191919",danger:"#DE1135",warning:"#F5A524"},foreground:{primary:"#0F172A",secondary:"#78716C",disabled:"#A8A29E"},stroke:{system:{primary:"#E7E5E4"}},background:{system:{primary:"#FFFFFF",disabled:"#E7E5E4",secondary:"#E8E9EE",light:"#FFFDFB"}},secondary:{light:"#FFFDFB"},rose:{50:"#FFF1F2"},lime:{50:"#F7FEE7",100:"#EDFF96",500:"#9DBD00",600:"#65A30D"},cyan:{500:"#06B6D4"}},up={colors:cp},dp=up.colors,fp=e=>{if(/^#([0-9A-Fa-f]{3}){1,2}$/.test(e))return e;const t=e.split("-");let n=dp;for(const r of t)if(n&&typeof n=="object"&&r in n)n=n[r];else return;return typeof n=="string"?n:void 0},hp={"danger-filled":o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:o.jsx("path",{d:"M21.76 15.92 15.36 4.4C14.5 2.85 13.31 2 12 2s-2.5.85-3.36 2.4l-6.4 11.52c-.81 1.47-.9 2.88-.25 3.99.65 1.11 1.93 1.72 3.61 1.72h12.8c1.68 0 2.96-.61 3.61-1.72.65-1.11.56-2.53-.25-3.99ZM11.25 9c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75s-.75-.34-.75-.75V9Zm1.46 8.71-.15.12c-.06.04-.12.07-.18.09-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02s-.13-.01-.2-.02a.636.636 0 0 1-.18-.06.757.757 0 0 1-.18-.09l-.15-.12c-.18-.19-.29-.45-.29-.71 0-.26.11-.52.29-.71l.15-.12c.06-.04.12-.07.18-.09.06-.03.12-.05.18-.06.13-.03.27-.03.39 0 .07.01.13.03.19.06.06.02.12.05.18.09l.15.12c.18.19.29.45.29.71 0 .26-.11.52-.29.71Z"})}),"eye-slash-filled":o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[o.jsx("path",{d:"M21.271 9.178c-.29-.46-.6-.89-.92-1.29a1 1 0 0 0-1.49-.09l-3 3c.22.66.26 1.42.06 2.21a4.021 4.021 0 0 1-2.9 2.9c-.79.2-1.55.16-2.21-.06l-2.46 2.46c-.5.5-.34 1.38.33 1.64 1.07.41 2.18.62 3.32.62 1.78 0 3.51-.52 5.09-1.49 1.61-1 3.06-2.47 4.23-4.34.95-1.51.9-4.05-.05-5.56ZM14.02 9.98l-4.04 4.04c-.51-.52-.84-1.24-.84-2.02 0-1.57 1.28-2.86 2.86-2.86.78 0 1.5.33 2.02.84Z"}),o.jsx("path",{d:"m18.25 5.75-3.39 3.39A3.986 3.986 0 0 0 12 7.96c-2.24 0-4.04 1.81-4.04 4.04 0 1.12.45 2.13 1.18 2.86l-3.38 3.39h-.01c-1.11-.9-2.13-2.05-3-3.41-1-1.57-1-4.12 0-5.69C3.91 7.33 5.33 5.9 6.91 4.92c1.58-.96 3.31-1.49 5.09-1.49 2.23 0 4.39.82 6.25 2.32ZM14.858 11.998c0 1.57-1.28 2.86-2.86 2.86-.06 0-.11 0-.17-.02l3.01-3.01c.02.06.02.11.02.17Z"}),o.jsx("path",{d:"M21.769 2.229c-.3-.3-.79-.3-1.09 0l-18.45 18.46c-.3.3-.3.79 0 1.09a.758.758 0 0 0 1.08-.01l18.46-18.46c.31-.3.31-.78 0-1.08Z"})]}),"eye-filled":o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[o.jsx("path",{d:"M21.25 9.15C18.94 5.52 15.56 3.43 12 3.43c-1.78 0-3.51.52-5.09 1.49-1.58.98-3 2.41-4.16 4.23-1 1.57-1 4.12 0 5.69 2.31 3.64 5.69 5.72 9.25 5.72 1.78 0 3.51-.52 5.09-1.49 1.58-.98 3-2.41 4.16-4.23 1-1.56 1-4.12 0-5.69ZM12 16.04c-2.24 0-4.04-1.81-4.04-4.04S9.76 7.96 12 7.96s4.04 1.81 4.04 4.04-1.8 4.04-4.04 4.04Z"}),o.jsx("path",{d:"M11.998 9.14a2.855 2.855 0 0 0 0 5.71c1.57 0 2.86-1.28 2.86-2.85s-1.29-2.86-2.86-2.86Z"})]}),"check-circle-filled":o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:o.jsx("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm4.78 7.7-5.67 5.67a.75.75 0 0 1-1.06 0l-2.83-2.83a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2.3 2.3 5.14-5.14c.29-.29.77-.29 1.06 0 .29.29.29.76 0 1.06Z"})}),check:o.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M10 3L4.5 8.5L2 6",stroke:"#currentColor",strokeWidth:"1.6666",strokeLinecap:"round",strokeLinejoin:"round"})}),home:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[o.jsx("path",{d:"M12 18.75c-.41 0-.75-.34-.75-.75v-3c0-.41.34-.75.75-.75s.75.34.75.75v3c0 .41-.34.75-.75.75Z"}),o.jsx("path",{d:"M17.6 22.56H6.4c-1.82 0-3.48-1.4-3.78-3.19L1.29 11.4c-.22-1.24.39-2.83 1.38-3.62L9.6 2.23c1.34-1.08 3.45-1.07 4.8.01l6.93 5.54c.98.79 1.58 2.38 1.38 3.62l-1.33 7.96c-.3 1.77-2 3.2-3.78 3.2ZM11.99 2.93c-.53 0-1.06.16-1.45.47L3.61 8.96c-.56.45-.96 1.49-.84 2.2l1.33 7.96c.18 1.05 1.23 1.94 2.3 1.94h11.2c1.07 0 2.12-.89 2.3-1.95l1.33-7.96c.11-.7-.29-1.76-.84-2.2l-6.93-5.54c-.4-.32-.94-.48-1.47-.48Z"})]}),task:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[o.jsx("path",{d:"M17.62 9.621h-5.25c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h5.25a.749.749 0 1 1 0 1.5ZM7.12 10.38c-.19 0-.38-.07-.53-.22l-.75-.75a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.22.22 1.72-1.72c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-2.25 2.25a.75.75 0 0 1-.53.22ZM17.62 16.621h-5.25c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h5.25a.749.749 0 1 1 0 1.5ZM7.12 17.38c-.19 0-.38-.07-.53-.22l-.75-.75a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l.22.22 1.72-1.72c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-2.25 2.25a.75.75 0 0 1-.53.22Z"}),o.jsx("path",{d:"M15 22.75H9c-5.43 0-7.75-2.32-7.75-7.75V9c0-5.43 2.32-7.75 7.75-7.75h6c5.43 0 7.75 2.32 7.75 7.75v6c0 5.43-2.32 7.75-7.75 7.75Zm-6-20C4.39 2.75 2.75 4.39 2.75 9v6c0 4.61 1.64 6.25 6.25 6.25h6c4.61 0 6.25-1.64 6.25-6.25V9c0-4.61-1.64-6.25-6.25-6.25H9Z"})]}),money:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[o.jsx("path",{d:"M17 21.25H7c-3.65 0-5.75-2.1-5.75-5.75v-7c0-3.65 2.1-5.75 5.75-5.75h10c3.65 0 5.75 2.1 5.75 5.75v7c0 3.65-2.1 5.75-5.75 5.75Zm-10-17c-2.86 0-4.25 1.39-4.25 4.25v7c0 2.86 1.39 4.25 4.25 4.25h10c2.86 0 4.25-1.39 4.25-4.25v-7c0-2.86-1.39-4.25-4.25-4.25H7Z"}),o.jsx("path",{d:"M12 15.75c-2.07 0-3.75-1.68-3.75-3.75 0-2.07 1.68-3.75 3.75-3.75 2.07 0 3.75 1.68 3.75 3.75 0 2.07-1.68 3.75-3.75 3.75Zm0-6c-1.24 0-2.25 1.01-2.25 2.25s1.01 2.25 2.25 2.25 2.25-1.01 2.25-2.25S13.24 9.75 12 9.75ZM5.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM18.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75Z"})]}),people:o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:o.jsx("path",{d:"M18 7.912h-.13c-1.89-.06-3.3-1.52-3.3-3.32 0-1.84 1.5-3.33 3.33-3.33s3.33 1.5 3.33 3.33a3.327 3.327 0 0 1-3.22 3.33c0-.01 0-.01-.01-.01Zm-.1-5.16c-1.01 0-1.83.82-1.83 1.83 0 .99.77 1.79 1.76 1.83.01-.01.09-.01.18 0a1.832 1.832 0 0 0-.11-3.66ZM18.009 15.28c-.39 0-.78-.03-1.17-.1a.75.75 0 0 1-.61-.87.75.75 0 0 1 .87-.61c1.23.21 2.53-.02 3.4-.6.47-.31.72-.7.72-1.09 0-.39-.26-.77-.72-1.08-.87-.58-2.19-.81-3.43-.59-.41.08-.8-.2-.87-.61-.07-.41.2-.8.61-.87 1.63-.29 3.32.02 4.52.82.88.59 1.39 1.43 1.39 2.33 0 .89-.5 1.74-1.39 2.34-.91.6-2.09.93-3.32.93ZM5.97 7.91h-.02a3.324 3.324 0 0 1-3.22-3.32c0-1.84 1.5-3.34 3.33-3.34s3.33 1.5 3.33 3.33c0 1.81-1.41 3.27-3.21 3.33l-.21-.75.07.75h-.07Zm.1-1.5c.06 0 .11 0 .17.01.89-.04 1.67-.84 1.67-1.83a1.83 1.83 0 1 0-1.93 1.83c.01-.01.05-.01.09-.01ZM5.96 15.28c-1.23 0-2.41-.33-3.32-.93-.88-.59-1.39-1.44-1.39-2.34 0-.89.51-1.74 1.39-2.33 1.2-.8 2.89-1.11 4.52-.82.41.07.68.46.61.87-.07.41-.46.69-.87.61-1.24-.22-2.55.01-3.43.59-.47.31-.72.69-.72 1.08 0 .39.26.78.72 1.09.87.58 2.17.81 3.4.6.41-.07.8.21.87.61.07.41-.2.8-.61.87-.39.07-.78.1-1.17.1ZM12 15.38h-.13c-1.89-.06-3.3-1.52-3.3-3.32 0-1.84 1.5-3.33 3.33-3.33s3.33 1.5 3.33 3.33a3.327 3.327 0 0 1-3.22 3.33c0-.01 0-.01-.01-.01Zm-.1-5.16c-1.01 0-1.83.82-1.83 1.83 0 .99.77 1.79 1.76 1.83.01-.01.09-.01.18 0 .97-.05 1.72-.85 1.73-1.83 0-1-.82-1.83-1.84-1.83ZM12.001 22.759c-1.2 0-2.4-.31-3.33-.94-.88-.59-1.39-1.43-1.39-2.33 0-.89.5-1.75 1.39-2.34 1.87-1.24 4.8-1.24 6.66 0 .88.59 1.39 1.43 1.39 2.33 0 .89-.5 1.75-1.39 2.34-.93.62-2.13.94-3.33.94Zm-2.5-4.35c-.47.31-.72.7-.72 1.09 0 .39.26.77.72 1.08 1.35.91 3.64.91 4.99 0 .47-.31.72-.7.72-1.09 0-.39-.26-.77-.72-1.08-1.34-.91-3.63-.9-4.99 0Z"})}),bill:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[o.jsx("path",{d:"M12 22.252c-.82 0-1.64-.26-2.32-.77l-5.21-3.9a3.903 3.903 0 0 1-1.55-3.1V1.762h18.16v12.72c0 1.21-.58 2.37-1.55 3.1l-5.21 3.9c-.68.51-1.5.77-2.32.77Zm-7.58-19v11.22c0 .74.36 1.45.95 1.9l5.21 3.9c.84.63 2.01.63 2.85 0l5.21-3.9c.59-.45.95-1.16.95-1.9V3.252H4.42Z"}),o.jsx("path",{d:"M22 3.25H2c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h20c.41 0 .75.34.75.75s-.34.75-.75.75ZM16 8.75H8c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h8c.41 0 .75.34.75.75s-.34.75-.75.75ZM16 13.75H8c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h8c.41 0 .75.34.75.75s-.34.75-.75.75Z"})]}),"category-2":o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:o.jsx("path",{d:"M19 10.75h-2c-2.42 0-3.75-1.33-3.75-3.75V5c0-2.42 1.33-3.75 3.75-3.75h2c2.42 0 3.75 1.33 3.75 3.75v2c0 2.42-1.33 3.75-3.75 3.75Zm-2-8c-1.58 0-2.25.67-2.25 2.25v2c0 1.58.67 2.25 2.25 2.25h2c1.58 0 2.25-.67 2.25-2.25V5c0-1.58-.67-2.25-2.25-2.25h-2ZM7 22.75H5c-2.42 0-3.75-1.33-3.75-3.75v-2c0-2.42 1.33-3.75 3.75-3.75h2c2.42 0 3.75 1.33 3.75 3.75v2c0 2.42-1.33 3.75-3.75 3.75Zm-2-8c-1.58 0-2.25.67-2.25 2.25v2c0 1.58.67 2.25 2.25 2.25h2c1.58 0 2.25-.67 2.25-2.25v-2c0-1.58-.67-2.25-2.25-2.25H5ZM6 10.75c-2.62 0-4.75-2.13-4.75-4.75S3.38 1.25 6 1.25 10.75 3.38 10.75 6 8.62 10.75 6 10.75Zm0-8C4.21 2.75 2.75 4.21 2.75 6S4.21 9.25 6 9.25 9.25 7.79 9.25 6 7.79 2.75 6 2.75ZM18 22.75c-2.62 0-4.75-2.13-4.75-4.75s2.13-4.75 4.75-4.75 4.75 2.13 4.75 4.75-2.13 4.75-4.75 4.75Zm0-8c-1.79 0-3.25 1.46-3.25 3.25s1.46 3.25 3.25 3.25 3.25-1.46 3.25-3.25-1.46-3.25-3.25-3.25Z"})}),"money-add":o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[o.jsx("path",{d:"M12 15.25c-1.79 0-3.25-1.46-3.25-3.25S10.21 8.75 12 8.75s3.25 1.46 3.25 3.25-1.46 3.25-3.25 3.25Zm0-5c-.96 0-1.75.79-1.75 1.75s.79 1.75 1.75 1.75 1.75-.79 1.75-1.75-.79-1.75-1.75-1.75ZM18.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM5 22.75c-1.66 0-3.22-.88-4.06-2.31C.49 19.72.25 18.87.25 18c0-2.62 2.13-4.75 4.75-4.75S9.75 15.38 9.75 18c0 .87-.24 1.72-.69 2.45-.84 1.42-2.4 2.3-4.06 2.3Zm0-8c-1.79 0-3.25 1.46-3.25 3.25 0 .59.16 1.17.47 1.67.58.98 1.65 1.58 2.78 1.58A3.256 3.256 0 0 0 8.25 18c0-1.79-1.46-3.25-3.25-3.25Z"}),o.jsx("path",{d:"M6.498 18.73h-2.99c-.41 0-.75-.34-.75-.75s.34-.75.75-.75h2.99c.41 0 .75.34.75.75s-.34.75-.75.75Z"}),o.jsx("path",{d:"M5 20.26c-.41 0-.75-.34-.75-.75v-2.99c0-.41.34-.75.75-.75s.75.34.75.75v2.99c0 .42-.34.75-.75.75Z"}),o.jsx("path",{d:"M17 20.75H8.5c-.41 0-.75-.34-.75-.75s.34-.75.75-.75H17c2.86 0 4.25-1.39 4.25-4.25V9c0-2.86-1.39-4.25-4.25-4.25H7C4.14 4.75 2.75 6.14 2.75 9v6.3c0 .41-.34.75-.75.75s-.75-.34-.75-.75V9c0-3.65 2.1-5.75 5.75-5.75h10c3.65 0 5.75 2.1 5.75 5.75v6c0 3.65-2.1 5.75-5.75 5.75Z"})]}),"money-time":o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[o.jsx("path",{d:"M12 15.25c-1.79 0-3.25-1.46-3.25-3.25S10.21 8.75 12 8.75s3.25 1.46 3.25 3.25-1.46 3.25-3.25 3.25Zm0-5c-.96 0-1.75.79-1.75 1.75s.79 1.75 1.75 1.75 1.75-.79 1.75-1.75-.79-1.75-1.75-1.75ZM18.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM5 22.75C2.38 22.75.25 20.62.25 18S2.38 13.25 5 13.25 9.75 15.38 9.75 18 7.62 22.75 5 22.75Zm0-8c-1.79 0-3.25 1.46-3.25 3.25S3.21 21.25 5 21.25 8.25 19.79 8.25 18 6.79 14.75 5 14.75Z"}),o.jsx("path",{d:"M4 19.752c-.25 0-.5-.13-.64-.36-.21-.35-.1-.82.26-1.03l.76-.46c.07-.04.12-.13.12-.21v-.93c0-.41.34-.75.75-.75s.75.34.75.75v.93c0 .61-.33 1.19-.85 1.5l-.76.46c-.12.07-.26.1-.39.1Z"}),o.jsx("path",{d:"M17 20.75H8.5c-.41 0-.75-.34-.75-.75s.34-.75.75-.75H17c2.86 0 4.25-1.39 4.25-4.25V9c0-2.86-1.39-4.25-4.25-4.25H7C4.14 4.75 2.75 6.14 2.75 9v6.2c0 .41-.34.75-.75.75s-.75-.34-.75-.75V9c0-3.65 2.1-5.75 5.75-5.75h10c3.65 0 5.75 2.1 5.75 5.75v6c0 3.65-2.1 5.75-5.75 5.75Z"})]}),"arrow-down":o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:o.jsx("path",{d:"M17.919 8.18H6.079c-.96 0-1.44 1.16-.76 1.84l5.18 5.18c.83.83 2.18.83 3.01 0l1.97-1.97 3.21-3.21c.67-.68.19-1.84-.77-1.84z"})}),"arrow-down-linear":o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",children:o.jsx("path",{stroke:"#currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.5",d:"M19.92 8.95l-6.52 6.52c-.77.77-2.03.77-2.8 0L4.08 8.95"})}),"arrow-right":o.jsxs("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M12.525 5.44167L17.5833 10.5L12.525 15.5583",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M3.41666 10.5H17.4417",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"code-circle":o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[o.jsx("path",{d:"M8 14.751c-.19 0-.38-.07-.53-.22l-2-2a.755.755 0 0 1 0-1.06l2-2c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-1.47 1.47 1.47 1.47c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22ZM16 14.751c-.19 0-.38-.07-.53-.22a.755.755 0 0 1 0-1.06l1.47-1.47-1.47-1.47a.755.755 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2 2c.29.29.29.77 0 1.06l-2 2c-.15.15-.34.22-.53.22Z"}),o.jsx("path",{d:"M12 22.75C6.07 22.75 1.25 17.93 1.25 12S6.07 1.25 12 1.25 22.75 6.07 22.75 12 17.93 22.75 12 22.75Zm0-20C6.9 2.75 2.75 6.9 2.75 12S6.9 21.25 12 21.25s9.25-4.15 9.25-9.25S17.1 2.75 12 2.75Z"}),o.jsx("path",{d:"M11 15.08a.745.745 0 0 1-.68-1.05l2-4.67c.16-.38.6-.56.98-.39.38.16.56.6.39.99l-2 4.67c-.12.28-.4.45-.69.45Z"})]}),"note-2":o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[o.jsx("path",{d:"M15.808 20.179c-.26 0-.53-.01-.82-.04-.52-.04-1.11-.14-1.72-.29l-1.68-.4c-4.61-1.09-6.12-3.53-5.04-8.13l.98-4.19c.22-.95.48-1.72.8-2.36 1.72-3.55 5.01-3.23 7.35-2.68l1.67.39c2.34.55 3.82 1.42 4.65 2.75.82 1.33.95 3.04.4 5.38l-.98 4.18c-.86 3.66-2.65 5.39-5.61 5.39Zm-2.69-16.93c-1.67 0-2.73.69-3.44 2.17-.26.54-.49 1.21-.69 2.05l-.98 4.19c-.89 3.78.14 5.43 3.92 6.33l1.68.4c.54.13 1.05.21 1.51.25 2.72.27 4.07-.92 4.83-4.19l.98-4.18c.45-1.93.39-3.28-.21-4.25-.6-.97-1.78-1.63-3.72-2.08l-1.67-.39c-.83-.2-1.57-.3-2.21-.3Z"}),o.jsx("path",{d:"M8.33 22.252c-2.57 0-4.21-1.54-5.26-4.79l-1.28-3.95c-1.42-4.4-.15-6.88 4.23-8.3l1.58-.51c.52-.16.91-.27 1.26-.33.29-.06.57.05.74.28.17.23.2.53.08.79-.26.53-.49 1.2-.68 2.04l-.98 4.19c-.89 3.78.14 5.43 3.92 6.33l1.68.4c.54.13 1.05.21 1.51.25.32.03.58.25.67.56.08.31-.04.63-.3.81-.66.45-1.49.83-2.54 1.17l-1.58.52c-1.15.36-2.15.54-3.05.54Zm-.55-16.03-1.29.42c-3.57 1.15-4.42 2.83-3.27 6.41l1.28 3.95c1.16 3.57 2.84 4.43 6.41 3.28l1.58-.52c.06-.02.11-.04.17-.06l-1.06-.25c-4.61-1.09-6.12-3.53-5.04-8.13l.98-4.19c.07-.32.15-.63.24-.91ZM17.49 10.512c-.06 0-.12-.01-.19-.02l-4.85-1.23a.75.75 0 0 1 .37-1.45l4.85 1.23a.748.748 0 0 1-.18 1.47Z"}),o.jsx("path",{d:"M14.561 13.889c-.06 0-.12-.01-.19-.02l-2.91-.74a.75.75 0 0 1 .37-1.45l2.91.74c.4.1.64.51.54.91-.08.34-.38.56-.72.56Z"})]}),"note-add-bulk":o.jsxs("svg",{width:"73",height:"72",viewBox:"0 0 73 72",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{opacity:"0.4",d:"M22.61 66H50.36C58.43 66 64.97 59.46 64.97 51.39V25.11C64.97 17.04 58.43 10.5 50.36 10.5H22.61C14.54 10.5 8 17.04 8 25.11V51.36C8 59.46 14.54 66 22.61 66Z",fill:"#currentColor"}),o.jsx("path",{d:"M25.3672 18.87C24.1072 18.87 23.1172 17.85 23.1172 16.62V8.25C23.1172 7.02 24.1072 6 25.3672 6C26.6272 6 27.6172 7.02 27.6172 8.25V16.59C27.6172 17.85 26.6272 18.87 25.3672 18.87Z",fill:"#currentColor"}),o.jsx("path",{d:"M47.6328 18.87C46.3728 18.87 45.3828 17.85 45.3828 16.62V8.25C45.3828 6.99 46.4028 6 47.6328 6C48.8928 6 49.8828 7.02 49.8828 8.25V16.59C49.8828 17.85 48.8928 18.87 47.6328 18.87Z",fill:"#currenColor"}),o.jsx("path",{d:"M36.5 44.25H31.43V39C31.43 37.77 30.41 36.75 29.18 36.75C27.95 36.75 26.93 37.77 26.93 39V44.25H21.5C20.27 44.25 19.25 45.27 19.25 46.5C19.25 47.73 20.27 48.75 21.5 48.75H26.93V54C26.93 55.23 27.95 56.25 29.18 56.25C30.41 56.25 31.43 55.23 31.43 54V48.75H36.5C37.73 48.75 38.75 47.73 38.75 46.5C38.75 45.27 37.73 44.25 36.5 44.25Z",fill:"#currentColor"})]}),gift:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[o.jsx("path",{d:"M15.969 22.75h-8c-3.42 0-4.75-1.33-4.75-4.75v-8c0-.41.34-.75.75-.75h16c.41 0 .75.34.75.75v8c0 3.42-1.33 4.75-4.75 4.75Zm-11.25-12V18c0 2.58.67 3.25 3.25 3.25h8c2.58 0 3.25-.67 3.25-3.25v-7.25h-14.5Z"}),o.jsx("path",{d:"M19.5 10.75h-15c-1.75 0-2.75-1-2.75-2.75V7c0-1.75 1-2.75 2.75-2.75h15c1.7 0 2.75 1.05 2.75 2.75v1c0 1.7-1.05 2.75-2.75 2.75Zm-15-5c-.91 0-1.25.34-1.25 1.25v1c0 .91.34 1.25 1.25 1.25h15c.88 0 1.25-.37 1.25-1.25V7c0-.88-.37-1.25-1.25-1.25h-15Z"}),o.jsx("path",{d:"M11.64 5.749H6.12c-.21 0-.41-.09-.55-.24-.61-.67-.59-1.7.05-2.34l1.42-1.42c.66-.66 1.75-.66 2.41 0l2.72 2.72c.21.21.28.54.16.82-.11.28-.38.46-.69.46Zm-4.97-1.5h3.17l-1.45-1.44a.205.205 0 0 0-.29 0l-1.42 1.42c0 .01-.01.01-.01.02Z"}),o.jsx("path",{d:"M17.87 5.749h-5.52a.74.74 0 0 1-.69-.46c-.12-.28-.05-.6.16-.82l2.72-2.72c.66-.66 1.75-.66 2.41 0l1.42 1.42c.64.64.67 1.67.05 2.34-.14.15-.34.24-.55.24Zm-3.7-1.5h3.17l-.02-.02-1.42-1.42a.205.205 0 0 0-.29 0l-1.44 1.44ZM9.941 16.9a1.752 1.752 0 0 1-1.75-1.75V10c0-.41.34-.75.75-.75h6.04c.41 0 .75.34.75.75v5.13c0 .65-.35 1.24-.92 1.54-.57.31-1.26.27-1.8-.09l-.89-.6a.24.24 0 0 0-.28 0l-.94.62c-.29.2-.63.3-.96.3Zm-.25-6.15v4.39c0 .13.08.19.13.22s.15.06.26-.01l.94-.62c.59-.39 1.35-.39 1.93 0l.89.6c.11.07.21.04.26.01.05-.03.13-.09.13-.22v-4.38h-4.54v.01Z"})]}),"notification-bell":o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M16.5455 4.27274C16.5455 5.62835 15.4466 6.72728 14.091 6.72728C12.7353 6.72728 11.6364 5.62835 11.6364 4.27274C11.6364 2.91713 12.7353 1.81819 14.091 1.81819C15.4466 1.81819 16.5455 2.91713 16.5455 4.27274Z"}),o.jsx("path",{d:"M10.3355 2.64766C10.2247 2.64017 10.1128 2.63637 10 2.63637C7.28883 2.63637 5.09095 4.83425 5.09095 7.54546V10.964C5.09095 11.4024 4.96118 11.831 4.71799 12.1958L3.592 13.8848C3.5024 14.0192 3.45459 14.1771 3.45459 14.3386V14.9091H16.5455V14.3386C16.5455 14.1771 16.4977 14.0192 16.4081 13.8848L15.2821 12.1958C15.0389 11.831 14.9091 11.4024 14.9091 10.964V8.28181C14.6448 8.33548 14.3712 8.36365 14.091 8.36365C11.8316 8.36365 10 6.53208 10 4.27274C10 3.69529 10.1197 3.14578 10.3355 2.64766Z"}),o.jsx("path",{d:"M10 17.7727C10.9038 17.7727 11.6364 17.0401 11.6364 16.1364H8.36368C8.36368 17.0401 9.09631 17.7727 10 17.7727Z"})]}),"book-saved":o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:o.jsx("path",{d:"M11.25 5.998v13.91c0 .71-.72 1.2-1.37.93-1.86-.78-4.17-1.46-5.81-1.68l-.31-.04c-.97-.12-1.76-1.01-1.76-1.98V5.248c0-1.2.97-2.17 2.17-2.17h.07c1.88.16 4.65 1.04 6.48 2.03a1 1 0 0 1 .53.89ZM19.83 3.078h-.06c-.24.02-.5.05-.77.1-1.23.2-2.69.62-4 1.14-.62.25-1.2.52-1.71.79-.33.18-.54.52-.54.89v13.91c0 .71.72 1.2 1.37.93 1.86-.78 4.17-1.46 5.81-1.68l.31-.04c.97-.12 1.76-1.01 1.76-1.98V5.248c0-1.2-.97-2.17-2.17-2.17Zm-.56 10.65c0 .39-.28.56-.62.37l-1.06-.59a.49.49 0 0 0-.41 0l-1.06.59c-.34.19-.62.02-.62-.37v-3.07c0-.46.38-.84.84-.84h2.1c.46 0 .84.38.84.84v3.07h-.01Z"})}),"message-question":o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:o.jsx("path",{d:"M17 2.43H7c-3 0-5 2-5 5v6c0 3 2 5 5 5v2.13c0 .8.89 1.28 1.55.83L13 18.43h4c3 0 5-2 5-5v-6c0-3-2-5-5-5ZM12 14.6a.749.749 0 1 1 0-1.5.749.749 0 1 1 0 1.5Zm1.26-4.15c-.39.26-.51.43-.51.71v.21c0 .41-.34.75-.75.75s-.75-.34-.75-.75v-.21c0-1.16.85-1.73 1.17-1.95.37-.25.49-.42.49-.68 0-.5-.41-.91-.91-.91s-.91.41-.91.91c0 .41-.34.75-.75.75s-.75-.34-.75-.75c0-1.33 1.08-2.41 2.41-2.41s2.41 1.08 2.41 2.41c0 1.14-.84 1.71-1.15 1.92Z"})}),"circle-close":o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[o.jsx("path",{d:"M12 22.75C6.07 22.75 1.25 17.93 1.25 12S6.07 1.25 12 1.25 22.75 6.07 22.75 12 17.93 22.75 12 22.75Zm0-20C6.9 2.75 2.75 6.9 2.75 12S6.9 21.25 12 21.25s9.25-4.15 9.25-9.25S17.1 2.75 12 2.75Z"}),o.jsx("path",{d:"M9.17 15.58c-.19 0-.38-.07-.53-.22a.754.754 0 0 1 0-1.06l5.66-5.66c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06L9.7 15.36c-.14.15-.34.22-.53.22Z"}),o.jsx("path",{d:"M14.83 15.58c-.19 0-.38-.07-.53-.22L8.64 9.7a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l5.66 5.66c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22Z"})]}),"circle-close-filled":o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:o.jsx("path",{d:"M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2Zm3.36 12.3c.29.29.29.77 0 1.06-.15.15-.34.22-.53.22s-.38-.07-.53-.22l-2.3-2.3-2.3 2.3c-.15.15-.34.22-.53.22s-.38-.07-.53-.22a.754.754 0 0 1 0-1.06l2.3-2.3-2.3-2.3a.754.754 0 0 1 0-1.06c.29-.29.77-.29 1.06 0l2.3 2.3 2.3-2.3c.29-.29.77-.29 1.06 0 .29.29.29.77 0 1.06l-2.3 2.3 2.3 2.3Z"})}),add:o.jsxs("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M4.5 8H12.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M8.5 12V4",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),search:o.jsx("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.1821 12.2458C10.1658 13.0361 8.88866 13.5067 7.50167 13.5067C4.18704 13.5067 1.5 10.8189 1.5 7.50335C1.5 4.18779 4.18704 1.5 7.50167 1.5C10.8163 1.5 13.5033 4.18779 13.5033 7.50335C13.5033 8.89059 13.033 10.1679 12.243 11.1845L15.2799 14.2186C15.5731 14.5115 15.5734 14.9867 15.2806 15.2799C14.9878 15.5731 14.5128 15.5734 14.2196 15.2805L11.1821 12.2458ZM12.0029 7.50335C12.0029 9.99002 9.98765 12.0059 7.50167 12.0059C5.0157 12.0059 3.00042 9.99002 3.00042 7.50335C3.00042 5.01668 5.0157 3.00084 7.50167 3.00084C9.98765 3.00084 12.0029 5.01668 12.0029 7.50335Z"})}),upload:o.jsx("svg",{width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M10.2749 7.9251V9.8251C10.2749 10.0771 10.1748 10.3187 9.99661 10.4968C9.81845 10.675 9.57681 10.7751 9.32485 10.7751H2.67485C2.4229 10.7751 2.18126 10.675 2.0031 10.4968C1.82494 10.3187 1.72485 10.0771 1.72485 9.8251V7.9251M8.37485 4.6001L5.99985 2.2251M5.99985 2.2251L3.62485 4.6001M5.99985 2.2251V7.9251",stroke:"#currentColor",strokeWidth:"0.7125",strokeLinecap:"round",strokeLinejoin:"round"})}),"arrow-left-linear":o.jsx("svg",{width:"9",height:"18",viewBox:"0 0 9 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M7.99984 16.9201L1.47984 10.4001C0.709844 9.63008 0.709844 8.37008 1.47984 7.60008L7.99984 1.08008",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})}),"arrow-right-linear":o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M5.99978 2.72418L10.3464 7.07085C10.8598 7.58418 10.8598 8.42418 10.3464 8.93751L5.99978 13.2842",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})}),pen:o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M11.0495 3.00002L4.2078 10.2417C3.94947 10.5167 3.69947 11.0584 3.64947 11.4334L3.34114 14.1333C3.2328 15.1083 3.9328 15.775 4.89947 15.6084L7.5828 15.15C7.9578 15.0834 8.4828 14.8084 8.74114 14.525L15.5828 7.28335C16.7661 6.03335 17.2995 4.60835 15.4578 2.86668C13.6245 1.14168 12.2328 1.75002 11.0495 3.00002Z",stroke:"#currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M9.9082 4.2085C10.2665 6.5085 12.1332 8.26683 14.4499 8.50016",stroke:"#currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M2.5 18.3333H17.5",stroke:"currentColor",strokeWidth:"1.25",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),times:o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24px",height:"24px",children:o.jsx("path",{d:"M 4.7070312 3.2929688 L 3.2929688 4.7070312 L 10.585938 12 L 3.2929688 19.292969 L 4.7070312 20.707031 L 12 13.414062 L 19.292969 20.707031 L 20.707031 19.292969 L 13.414062 12 L 20.707031 4.7070312 L 19.292969 3.2929688 L 12 10.585938 L 4.7070312 3.2929688 z"})}),"arrow-up":o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M18.0697 9.57L11.9997 3.5L5.92969 9.57",stroke:"#3F3F46",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M12 20.4999V3.66992",stroke:"#3F3F46",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"arrow-up-light":o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M13.2797 10.0334L8.93306 5.68676C8.41973 5.17342 7.57973 5.17342 7.06639 5.68676L2.71973 10.0334",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})}),"arrow-down-light":o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M13.2807 5.9668L8.93404 10.3135C8.4207 10.8268 7.5807 10.8268 7.06737 10.3135L2.7207 5.9668",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})}),"settings-2-filled":o.jsx("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M13.9002 6.64679C12.6935 6.64679 12.2002 5.79345 12.8002 4.74679C13.1468 4.14012 12.9402 3.36679 12.3335 3.02012L11.1802 2.36012C10.6535 2.04679 9.9735 2.23345 9.66016 2.76012L9.58683 2.88679C8.98683 3.93345 8.00016 3.93345 7.3935 2.88679L7.32016 2.76012C7.02016 2.23345 6.34016 2.04679 5.8135 2.36012L4.66016 3.02012C4.0535 3.36679 3.84683 4.14679 4.1935 4.75345C4.80016 5.79345 4.30683 6.64679 3.10016 6.64679C2.40683 6.64679 1.8335 7.21345 1.8335 7.91345V9.08679C1.8335 9.78012 2.40016 10.3535 3.10016 10.3535C4.30683 10.3535 4.80016 11.2068 4.1935 12.2535C3.84683 12.8601 4.0535 13.6335 4.66016 13.9801L5.8135 14.6401C6.34016 14.9535 7.02016 14.7668 7.3335 14.2401L7.40683 14.1135C8.00683 13.0668 8.9935 13.0668 9.60016 14.1135L9.6735 14.2401C9.98683 14.7668 10.6668 14.9535 11.1935 14.6401L12.3468 13.9801C12.9535 13.6335 13.1602 12.8535 12.8135 12.2535C12.2068 11.2068 12.7002 10.3535 13.9068 10.3535C14.6002 10.3535 15.1735 9.78679 15.1735 9.08679V7.91345C15.1668 7.22012 14.6002 6.64679 13.9002 6.64679ZM8.50016 10.6668C7.30683 10.6668 6.3335 9.69345 6.3335 8.50012C6.3335 7.30679 7.30683 6.33345 8.50016 6.33345C9.6935 6.33345 10.6668 7.30679 10.6668 8.50012C10.6668 9.69345 9.6935 10.6668 8.50016 10.6668Z",fill:"#currentColor"})}),"settings-2":o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M2.00049 12.8799V11.1199C2.00049 10.0799 2.85049 9.21994 3.90049 9.21994C5.71049 9.21994 6.45049 7.93994 5.54049 6.36994C5.02049 5.46994 5.33049 4.29994 6.24049 3.77994L7.97049 2.78994C8.76049 2.31994 9.78049 2.59994 10.2505 3.38994L10.3605 3.57994C11.2605 5.14994 12.7405 5.14994 13.6505 3.57994L13.7605 3.38994C14.2305 2.59994 15.2505 2.31994 16.0405 2.78994L17.7705 3.77994C18.6805 4.29994 18.9905 5.46994 18.4705 6.36994C17.5605 7.93994 18.3005 9.21994 20.1105 9.21994C21.1505 9.21994 22.0105 10.0699 22.0105 11.1199V12.8799C22.0105 13.9199 21.1605 14.7799 20.1105 14.7799C18.3005 14.7799 17.5605 16.0599 18.4705 17.6299C18.9905 18.5399 18.6805 19.6999 17.7705 20.2199L16.0405 21.2099C15.2505 21.6799 14.2305 21.3999 13.7605 20.6099L13.6505 20.4199C12.7505 18.8499 11.2705 18.8499 10.3605 20.4199L10.2505 20.6099C9.78049 21.3999 8.76049 21.6799 7.97049 21.2099L6.24049 20.2199C5.33049 19.6999 5.02049 18.5299 5.54049 17.6299C6.45049 16.0599 5.71049 14.7799 3.90049 14.7799C2.85049 14.7799 2.00049 13.9199 2.00049 12.8799Z",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"pen-fill":o.jsxs("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M14.5 15.1665H2.5C2.22667 15.1665 2 14.9398 2 14.6665C2 14.3932 2.22667 14.1665 2.5 14.1665H14.5C14.7733 14.1665 15 14.3932 15 14.6665C15 14.9398 14.7733 15.1665 14.5 15.1665Z",fill:"#currentColor"}),o.jsx("path",{d:"M13.1799 2.81994C11.8866 1.52661 10.6199 1.49328 9.29322 2.81994L8.48655 3.62661C8.41989 3.69328 8.39322 3.79994 8.41989 3.89328C8.92655 5.65994 10.3399 7.07328 12.1066 7.57994C12.1332 7.58661 12.1599 7.59328 12.1866 7.59328C12.2599 7.59328 12.3266 7.56661 12.3799 7.51328L13.1799 6.70661C13.8399 6.05328 14.1599 5.41994 14.1599 4.77994C14.1666 4.11994 13.8466 3.47994 13.1799 2.81994Z",fill:"#currentColor"}),o.jsx("path",{d:"M10.9066 8.18654C10.7132 8.0932 10.5266 7.99987 10.3466 7.8932C10.1999 7.80654 10.0599 7.7132 9.91989 7.6132C9.80655 7.53987 9.67322 7.4332 9.54655 7.32654C9.53322 7.31987 9.48655 7.27987 9.43322 7.22654C9.21322 7.03987 8.96655 6.79987 8.74655 6.5332C8.72655 6.51987 8.69322 6.4732 8.64655 6.4132C8.57989 6.3332 8.46655 6.19987 8.36655 6.04654C8.28655 5.94654 8.19322 5.79987 8.10655 5.6532C7.99989 5.4732 7.90655 5.2932 7.81322 5.10654C7.69085 4.84431 7.34668 4.76641 7.14206 4.97103L3.39322 8.71987C3.30655 8.80654 3.22655 8.9732 3.20655 9.08654L2.84655 11.6399C2.77989 12.0932 2.90655 12.5199 3.18655 12.8065C3.42655 13.0399 3.75989 13.1665 4.11989 13.1665C4.19989 13.1665 4.27989 13.1599 4.35989 13.1465L6.91989 12.7865C7.03989 12.7665 7.20655 12.6865 7.28655 12.5999L11.0416 8.84484C11.2421 8.64432 11.1668 8.29929 10.9066 8.18654Z",fill:"#currentColor"})]}),"document-text1-outline":o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",children:[o.jsx("path",{d:"M22 10v5c0 5-2 7-7 7H9c-5 0-7-2-7-7V9c0-5 2-7 7-7h5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M22 10h-4c-3 0-4-1-4-4V2l8 8ZM7 13h6M7 17h4",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),notification:o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M12.0186 2.91016C8.70862 2.91016 6.01862 5.60016 6.01862 8.91016V11.8002C6.01862 12.4102 5.75862 13.3402 5.44862 13.8602L4.29862 15.7702C3.58862 16.9502 4.07862 18.2602 5.37862 18.7002C9.68862 20.1402 14.3386 20.1402 18.6486 18.7002C19.8586 18.3002 20.3886 16.8702 19.7286 15.7702L18.5786 13.8602C18.2786 13.3402 18.0186 12.4102 18.0186 11.8002V8.91016C18.0186 5.61016 15.3186 2.91016 12.0186 2.91016Z",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round"}),o.jsx("path",{d:"M13.8699 3.19994C13.5599 3.10994 13.2399 3.03994 12.9099 2.99994C11.9499 2.87994 11.0299 2.94994 10.1699 3.19994C10.4599 2.45994 11.1799 1.93994 12.0199 1.93994C12.8599 1.93994 13.5799 2.45994 13.8699 3.19994Z",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M15.019 19.0601C15.019 20.7101 13.669 22.0601 12.019 22.0601C11.199 22.0601 10.439 21.7201 9.89904 21.1801C9.35904 20.6401 9.01904 19.8801 9.01904 19.0601",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10"})]}),"message-question-outline":o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M17.0005 18.4302H13.0005L8.55048 21.3902C7.89048 21.8302 7.00049 21.3602 7.00049 20.5602V18.4302C4.00049 18.4302 2.00049 16.4302 2.00049 13.4302V7.43018C2.00049 4.43018 4.00049 2.43018 7.00049 2.43018H17.0005C20.0005 2.43018 22.0005 4.43018 22.0005 7.43018V13.4302C22.0005 16.4302 20.0005 18.4302 17.0005 18.4302Z",stroke:"#currentColor",strokeWidth:"2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M11.9993 11.3599V11.1499C11.9993 10.4699 12.4194 10.1099 12.8394 9.81989C13.2494 9.53989 13.6593 9.1799 13.6593 8.5199C13.6593 7.5999 12.9193 6.85986 11.9993 6.85986C11.0793 6.85986 10.3394 7.5999 10.3394 8.5199",stroke:"#currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M11.995 13.75H12.004",stroke:"#currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),"add-circle":o.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M15.9989 2.6665C8.65219 2.6665 2.66553 8.65317 2.66553 15.9998C2.66553 23.3465 8.65219 29.3332 15.9989 29.3332C23.3455 29.3332 29.3322 23.3465 29.3322 15.9998C29.3322 8.65317 23.3455 2.6665 15.9989 2.6665ZM21.3322 16.9998H16.9989V21.3332C16.9989 21.8798 16.5455 22.3332 15.9989 22.3332C15.4522 22.3332 14.9989 21.8798 14.9989 21.3332V16.9998H10.6655C10.1189 16.9998 9.66553 16.5465 9.66553 15.9998C9.66553 15.4532 10.1189 14.9998 10.6655 14.9998H14.9989V10.6665C14.9989 10.1198 15.4522 9.6665 15.9989 9.6665C16.5455 9.6665 16.9989 10.1198 16.9989 10.6665V14.9998H21.3322C21.8789 14.9998 22.3322 15.4532 22.3322 15.9998C22.3322 16.5465 21.8789 16.9998 21.3322 16.9998Z"})}),copy:o.jsxs("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M11.1668 8.60016V11.4002C11.1668 13.7335 10.2335 14.6668 7.90016 14.6668H5.10016C2.76683 14.6668 1.8335 13.7335 1.8335 11.4002V8.60016C1.8335 6.26683 2.76683 5.3335 5.10016 5.3335H7.90016C10.2335 5.3335 11.1668 6.26683 11.1668 8.60016Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M15.1668 4.60016V7.40016C15.1668 9.7335 14.2335 10.6668 11.9002 10.6668H11.1668V8.60016C11.1668 6.26683 10.2335 5.3335 7.90016 5.3335H5.8335V4.60016C5.8335 2.26683 6.76683 1.3335 9.10016 1.3335H11.9002C14.2335 1.3335 15.1668 2.26683 15.1668 4.60016Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),action:o.jsxs("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M8.8335 15.9456C8.8335 16.8623 9.5835 17.6123 10.5002 17.6123C11.4168 17.6123 12.1668 16.8623 12.1668 15.9456C12.1668 15.029 11.4168 14.279 10.5002 14.279C9.5835 14.279 8.8335 15.029 8.8335 15.9456Z",stroke:"#currentColor",strokeWidth:"1.5"}),o.jsx("path",{d:"M8.8335 4.27913C8.8335 5.1958 9.5835 5.9458 10.5002 5.9458C11.4168 5.9458 12.1668 5.1958 12.1668 4.27913C12.1668 3.36247 11.4168 2.61247 10.5002 2.61247C9.5835 2.61247 8.8335 3.36247 8.8335 4.27913Z",stroke:"#currentColor",strokeWidth:"1.5"}),o.jsx("path",{d:"M8.8335 10.1121C8.8335 11.0288 9.5835 11.7788 10.5002 11.7788C11.4168 11.7788 12.1668 11.0288 12.1668 10.1121C12.1668 9.19547 11.4168 8.44547 10.5002 8.44547C9.5835 8.44547 8.8335 9.19547 8.8335 10.1121Z",stroke:"#currentColor",strokeWidth:"1.5"})]}),"info-circle":o.jsxs("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M10.4998 18.4455C15.0832 18.4455 18.8332 14.6955 18.8332 10.1121C18.8332 5.52881 15.0832 1.77881 10.4998 1.77881C5.9165 1.77881 2.1665 5.52881 2.1665 10.1121C2.1665 14.6955 5.9165 18.4455 10.4998 18.4455Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M10.5 6.77881V10.9455",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M10.4956 13.4458H10.5031",stroke:"#currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),"info-circle-filled":o.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M9.0013 0.666748C4.40964 0.666748 0.667969 4.40841 0.667969 9.00008C0.667969 13.5917 4.40964 17.3334 9.0013 17.3334C13.593 17.3334 17.3346 13.5917 17.3346 9.00008C17.3346 4.40841 13.593 0.666748 9.0013 0.666748ZM8.3763 5.66675C8.3763 5.32508 8.65964 5.04175 9.0013 5.04175C9.34297 5.04175 9.6263 5.32508 9.6263 5.66675V9.83342C9.6263 10.1751 9.34297 10.4584 9.0013 10.4584C8.65964 10.4584 8.3763 10.1751 8.3763 9.83342V5.66675ZM9.76797 12.6501C9.7263 12.7584 9.66797 12.8417 9.59297 12.9251C9.50964 13.0001 9.41797 13.0584 9.31797 13.1001C9.21797 13.1417 9.10964 13.1667 9.0013 13.1667C8.89297 13.1667 8.78464 13.1417 8.68464 13.1001C8.58464 13.0584 8.49297 13.0001 8.40964 12.9251C8.33464 12.8417 8.2763 12.7584 8.23464 12.6501C8.19297 12.5501 8.16797 12.4417 8.16797 12.3334C8.16797 12.2251 8.19297 12.1167 8.23464 12.0167C8.2763 11.9167 8.33464 11.8251 8.40964 11.7417C8.49297 11.6667 8.58464 11.6084 8.68464 11.5667C8.88464 11.4834 9.11797 11.4834 9.31797 11.5667C9.41797 11.6084 9.50964 11.6667 9.59297 11.7417C9.66797 11.8251 9.7263 11.9167 9.76797 12.0167C9.80964 12.1167 9.83464 12.2251 9.83464 12.3334C9.83464 12.4417 9.80964 12.5501 9.76797 12.6501Z",fill:"#currentColor"})}),"course-up-line-duotone":o.jsxs("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{opacity:"0.5",d:"M18.8332 5.9458L12.6832 12.0583C11.8523 12.8841 11.4365 13.2975 10.9207 13.2975C10.4048 13.2975 9.98984 12.8841 9.15817 12.0575L8.95817 11.8591C8.12734 11.0325 7.71067 10.6183 7.19484 10.6183C6.679 10.6183 6.26317 11.0325 5.43234 11.86L2.1665 15.1125",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M18.8333 10.5675V5.9458H14.1816",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"course-down-line-duotone":o.jsxs("svg",{width:"27",height:"27",viewBox:"0 0 27 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsxs("g",{clipPath:"url(#clip0_13667_69012)",children:[o.jsx("path",{opacity:"0.5",d:"M20.7041 19.1552L12.6745 15.8825C11.5897 15.4404 11.0467 15.2191 10.8452 14.7443C10.6436 14.2694 10.8619 13.7259 11.2979 12.6374L11.4024 12.3758C11.8387 11.288 12.0571 10.7426 11.8556 10.2678C11.654 9.79295 11.1103 9.572 10.0239 9.13054L5.75393 7.39518",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M16.45 20.9612L20.7043 19.1554L18.8867 14.8735",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"clip0_13667_69012",children:o.jsx("rect",{width:"20",height:"20",fill:"white",transform:"translate(18.9102) rotate(67)"})})})]}),more:o.jsxs("svg",{width:"29",height:"21",viewBox:"0 0 29 21",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M12.8335 16.6667C12.8335 17.8125 13.771 18.75 14.9168 18.75C16.0627 18.75 17.0002 17.8125 17.0002 16.6667C17.0002 15.5208 16.0627 14.5833 14.9168 14.5833C13.771 14.5833 12.8335 15.5208 12.8335 16.6667Z",fill:"#currentColor"}),o.jsx("path",{d:"M12.8335 10.4997C12.8335 11.6455 13.771 12.583 14.9168 12.583C16.0627 12.583 17.0002 11.6455 17.0002 10.4997C17.0002 9.35384 16.0627 8.41634 14.9168 8.41634C13.771 8.41634 12.8335 9.35384 12.8335 10.4997Z",fill:"#currentColor"}),o.jsx("path",{d:"M12.8335 4.33366C12.8335 5.47949 13.771 6.41699 14.9168 6.41699C16.0627 6.41699 17.0002 5.47949 17.0002 4.33366C17.0002 3.18783 16.0627 2.25033 14.9168 2.25033C13.771 2.25033 12.8335 3.18783 12.8335 4.33366Z",fill:"#currentColor"})]}),"image-upload":o.jsx("svg",{width:"35",height:"34",viewBox:"0 0 35 34",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M18.3186 1.18412L18.319 1.18457L24.9824 8.0185C25.1948 8.24551 25.3142 8.55126 25.3115 8.87096C25.3088 9.192 25.1831 9.49666 24.9654 9.71996C24.7481 9.94286 24.4567 10.0669 24.1549 10.0696C23.8544 10.0723 23.5623 9.95446 23.3417 9.73735L19.5234 5.82129L18.6654 4.94133V6.17034V20.8467C18.6654 21.1714 18.5395 21.4804 18.3192 21.7063C18.0994 21.9317 17.804 22.056 17.4987 22.056C17.1934 22.056 16.898 21.9317 16.6782 21.7063C16.4579 21.4804 16.332 21.1714 16.332 20.8467V6.17034V4.94133L15.474 5.82129L11.6524 9.74079L11.6521 9.74104C11.4323 9.96683 11.1367 10.0914 10.8312 10.0916C10.5257 10.0919 10.2299 9.96771 10.0098 9.74224C9.78921 9.51635 9.663 9.20722 9.66277 8.88221C9.66255 8.55732 9.78825 8.24811 10.0084 8.02191C10.0084 8.02182 10.0085 8.02174 10.0086 8.02165L16.675 1.18457L16.6755 1.18412C16.7844 1.07207 16.9132 0.983874 17.054 0.923935C17.1949 0.864008 17.3454 0.833336 17.497 0.833336C17.6487 0.833336 17.7992 0.864008 17.94 0.923935C18.0809 0.983874 18.2096 1.07207 18.3186 1.18412ZM22.9987 20.8467V20.492H30.832C31.5793 20.492 32.2987 20.7964 32.8311 21.3424C33.3639 21.8888 33.6654 22.6326 33.6654 23.4107V30.248C33.6654 31.0261 33.3639 31.7699 32.8311 32.3163C32.2987 32.8623 31.5793 33.1667 30.832 33.1667H4.16536C3.41805 33.1667 2.69872 32.8623 2.16634 32.3163C1.63353 31.7699 1.33203 31.0261 1.33203 30.248V23.4107C1.33203 22.6326 1.63353 21.8888 2.16634 21.3424C2.69872 20.7964 3.41805 20.492 4.16536 20.492H11.9987V20.8467C11.9987 22.3353 12.5752 23.7654 13.6052 24.8218C14.6356 25.8786 16.0359 26.4747 17.4987 26.4747C18.9615 26.4747 20.3618 25.8786 21.3922 24.8218C22.4222 23.7654 22.9987 22.3353 22.9987 20.8467ZM24.9938 30.2283C25.4874 30.5666 26.0692 30.748 26.6654 30.748C27.4652 30.748 28.2295 30.422 28.7911 29.8461C29.3523 29.2706 29.6654 28.4926 29.6654 27.684C29.6654 27.0808 29.491 26.4901 29.163 25.9866C28.8349 25.483 28.3672 25.0885 27.8176 24.855C27.2678 24.6215 26.6622 24.5601 26.0777 24.6794C25.4933 24.7986 24.9583 25.0925 24.5396 25.5219C24.121 25.9512 23.8374 26.4966 23.7225 27.0886C23.6078 27.6805 23.6666 28.2941 23.8921 28.8524C24.1176 29.4109 24.5003 29.8902 24.9938 30.2283Z",fill:"#currentColor",stroke:"#currentColor"})}),folder:o.jsxs("svg",{width:"33",height:"32",viewBox:"0 0 33 32",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{opacity:"0.4",d:"M21.4588 2.6665H11.5388C11.0321 2.6665 10.6055 3.09317 10.6055 3.59984C10.6055 4.1065 11.0321 4.53317 11.5388 4.53317H15.8855L17.7521 7.01317C18.1655 7.55984 18.2188 7.63984 18.9921 7.63984H23.9521C24.4588 7.63984 24.9521 7.7065 25.4321 7.83984C25.4855 8.07984 25.5121 8.31984 25.5121 8.57317V9.03984C25.5121 9.5465 25.9388 9.97317 26.4455 9.97317C26.9521 9.97317 27.3788 9.5465 27.3788 9.03984V8.55984C27.3521 5.3065 24.7121 2.6665 21.4588 2.6665Z",fill:"#currentColor"}),o.jsx("path",{d:"M27.3527 8.71984C26.7793 8.3065 26.126 7.99984 25.4193 7.8265C24.9527 7.69317 24.446 7.6265 23.9393 7.6265H18.9793C18.206 7.6265 18.1527 7.5465 17.7393 6.99984L15.8727 4.51984C15.006 3.37317 14.326 2.6665 12.1527 2.6665H9.05935C5.80602 2.6665 3.16602 5.3065 3.16602 8.55984V23.4398C3.16602 26.6932 5.80602 29.3332 9.05935 29.3332H23.9393C27.1927 29.3332 29.8327 26.6932 29.8327 23.4398V13.5198C29.8327 11.5332 28.8593 9.7865 27.3527 8.71984ZM19.606 21.3332H13.3927C12.8727 21.3332 12.4593 20.9198 12.4593 20.3998C12.4593 19.8932 12.8727 19.4665 13.3927 19.4665H19.5927C20.0993 19.4665 20.526 19.8932 20.526 20.3998C20.526 20.9198 20.1127 21.3332 19.606 21.3332Z",fill:"#currentColor"})]}),"wallet-is-empty":o.jsx("svg",{width:"366",height:"306",viewBox:"0 0 366 306",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsxs("g",{id:"Wallet is Empty",children:[o.jsx("path",{id:"Fill 1",fillRule:"evenodd",clipRule:"evenodd",d:"M246.294 291.811C246.294 294.185 215.743 296.11 178.056 296.11C140.369 296.11 109.816 294.185 109.816 291.811C109.816 289.438 140.369 287.513 178.056 287.513C215.743 287.513 246.294 289.438 246.294 291.811Z",fill:"#DCDCE2"}),o.jsx("path",{id:"Fill 13",fillRule:"evenodd",clipRule:"evenodd",d:"M198.75 4.96247C197.407 4.6389 196.574 3.28452 196.898 1.92805C197.22 0.580921 198.578 -0.253906 199.92 0.0696541C201.269 0.395288 202.093 1.75486 201.772 3.10303C201.448 4.45846 200.1 5.28706 198.75 4.96247Z",fill:"#DCDCE2"}),o.jsx("path",{id:"Stroke 25",d:"M14.168 170.379V173.603",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 27",d:"M7.72266 173.603L9.87191 175.752",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 29",d:"M4.5 180.051H7.72388",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 31",d:"M7.72266 186.498L9.87191 184.349",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 33",d:"M14.168 189.722V186.498",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 35",d:"M20.618 186.498L18.4688 184.349",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 37",d:"M23.8372 180.051H20.6133",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 39",d:"M20.618 173.603L18.4688 175.752",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 41",d:"M179.66 38.2V40.3493",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 43",d:"M174.293 43.5732H176.442",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 45",d:"M179.66 50.0209V47.8716",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 47",d:"M186.11 44.6478H183.961",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 49",d:"M61.4531 123.095V126.319",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 51",d:"M51.7852 132.767H55.009",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 53",d:"M60.375 141.364V138.14",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 55",d:"M70.0559 132.767H66.832",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 57",d:"M280.674 235.931C283.047 235.931 284.972 237.856 284.972 240.23C284.972 242.603 283.047 244.528 280.674 244.528C278.3 244.528 276.375 242.603 276.375 240.23",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 59",d:"M301.019 294.541C301.568 298.379 298.915 301.936 295.096 302.486C291.28 303.036 287.74 300.371 287.193 296.533C286.645 292.695 289.297 289.138 293.116 288.588",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Fill 61",fillRule:"evenodd",clipRule:"evenodd",d:"M301.102 195.095C303.707 194.271 307.7 191.045 308.624 187.573C309.462 190.642 312.975 194.271 316.146 194.546C312.578 195.827 309.166 199.631 308.624 202.618C308.256 199.572 303.537 195.539 301.102 195.095Z",fill:"#EBECEF"}),o.jsx("path",{id:"Fill 63",fillRule:"evenodd",clipRule:"evenodd",d:"M31.3711 234.318C32.6742 233.907 34.6704 232.293 35.1328 230.558C35.5516 232.092 37.3076 233.907 38.8935 234.045C37.1088 234.685 35.4028 236.586 35.1328 238.08C34.9479 236.558 32.5892 234.54 31.3711 234.318Z",fill:"#EBECEF"}),o.jsx("path",{id:"Fill 65",fillRule:"evenodd",clipRule:"evenodd",d:"M55.0103 91.9313C55.0103 93.7125 53.5666 95.1552 51.7864 95.1552C50.0052 95.1552 48.5625 93.7125 48.5625 91.9313C48.5625 90.1501 50.0052 88.7075 51.7864 88.7075C53.5666 88.7075 55.0103 90.1501 55.0103 91.9313Z",fill:"#D1D9E0"}),o.jsx("path",{id:"Fill 69",fillRule:"evenodd",clipRule:"evenodd",d:"M364.495 85.4829C364.495 87.8579 362.571 89.7819 360.197 89.7819C357.823 89.7819 355.898 87.8579 355.898 85.4829C355.898 83.109 357.823 81.1849 360.197 81.1849C362.571 81.1849 364.495 83.109 364.495 85.4829Z",fill:"#EBECEF"}),o.jsx("path",{id:"Stroke 73",fillRule:"evenodd",clipRule:"evenodd",d:"M117.342 69.3641C117.342 71.1453 115.899 72.588 114.118 72.588C112.337 72.588 110.895 71.1453 110.895 69.3641C110.895 67.5829 112.337 66.1403 114.118 66.1403C115.899 66.1403 117.342 67.5829 117.342 69.3641Z",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 75",fillRule:"evenodd",clipRule:"evenodd",d:"M67.2797 273.261C65.0614 274.105 62.5795 272.991 61.7356 270.773C60.8906 268.554 62.0057 266.072 64.224 265.228C66.4423 264.383 68.9242 265.498 69.7681 267.717C70.612 269.935 69.498 272.417 67.2797 273.261Z",stroke:"#D2D8DF",strokeWidth:"1.63099",strokeLinecap:"round"}),o.jsx("g",{id:"menu",children:o.jsx("g",{id:"vuesax/bold/menu",children:o.jsxs("g",{id:"menu_2",children:[o.jsx("path",{id:"Vector",d:"M235.214 136.436C250.344 136.436 262.608 124.171 262.608 109.042C262.608 93.9123 250.344 81.6476 235.214 81.6476C220.085 81.6476 207.82 93.9123 207.82 109.042C207.82 124.171 220.085 136.436 235.214 136.436Z",fill:"#F4F4F5"}),o.jsx("path",{id:"Vector_2",d:"M132.675 136.436C147.804 136.436 160.069 124.171 160.069 109.042C160.069 93.9123 147.804 81.6476 132.675 81.6476C117.546 81.6476 105.281 93.9123 105.281 109.042C105.281 124.171 117.546 136.436 132.675 136.436Z",fill:"#F4F4F5"}),o.jsx("path",{id:"Vector_3",d:"M235.214 250.269C250.344 250.269 262.608 238.004 262.608 222.875C262.608 207.745 250.344 195.481 235.214 195.481C220.085 195.481 207.82 207.745 207.82 222.875C207.82 238.004 220.085 250.269 235.214 250.269Z",fill:"#F4F4F5"}),o.jsx("path",{id:"Vector_4",d:"M132.675 250.269C147.804 250.269 160.069 238.004 160.069 222.875C160.069 207.745 147.804 195.481 132.675 195.481C117.546 195.481 105.281 207.745 105.281 222.875C105.281 238.004 117.546 250.269 132.675 250.269Z",fill:"#F4F4F5"})]})})})]})}),"money-bulk":o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[o.jsx("path",{opacity:".4",d:"M17 20.5H7c-3 0-5-1.5-5-5v-7c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5v7c0 3.5-2 5-5 5Z",fill:"#currentColor"}),o.jsx("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM5.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75ZM18.5 15.25c-.41 0-.75-.34-.75-.75v-5c0-.41.34-.75.75-.75s.75.34.75.75v5c0 .41-.34.75-.75.75Z",fill:"#currentColor"})]}),"money-time-bulk":o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[o.jsx("path",{d:"M5 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4Zm1 3.68c0 .61-.33 1.19-.85 1.5l-.76.46c-.12.07-.25.11-.38.11-.25 0-.5-.13-.64-.36-.21-.35-.1-.82.26-1.03l.76-.46c.07-.04.12-.13.12-.21v-.93c0-.41.34-.75.75-.75s.75.34.75.75v.92H6Z",fill:"#currentColor"}),o.jsx("path",{opacity:".4",d:"M22 9v6c0 3.5-2 5-5 5H8.45c.35-.59.55-1.27.55-2 0-2.21-1.79-4-4-4-1.2 0-2.27.53-3 1.36V9c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5Z",fill:"#currentColor"}),o.jsx("path",{d:"M12 14.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5ZM18.5 14.75c-.41 0-.75-.34-.75-.75v-4c0-.41.34-.75.75-.75s.75.34.75.75v4c0 .41-.34.75-.75.75Z",fill:"#currentColor"})]}),"note-1-bulk":o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"currentColor",children:[o.jsx("path",{opacity:".4",d:"M7.37 22h9.25a4.87 4.87 0 0 0 4.87-4.87V8.37a4.87 4.87 0 0 0-4.87-4.87H7.37A4.87 4.87 0 0 0 2.5 8.37v8.75c0 2.7 2.18 4.88 4.87 4.88Z",fill:"#currentColor"}),o.jsx("path",{d:"M8.29 6.29c-.42 0-.75-.34-.75-.75V2.75a.749.749 0 1 1 1.5 0v2.78c0 .42-.33.76-.75.76ZM15.71 6.29c-.42 0-.75-.34-.75-.75V2.75a.749.749 0 1 1 1.5 0v2.78c0 .42-.33.76-.75.76ZM14.78 13.71H7.36a.749.749 0 1 1 0-1.5h7.42a.749.749 0 1 1 0 1.5ZM12 17.422H7.36a.749.749 0 1 1 0-1.5H12a.749.749 0 1 1 0 1.5Z",fill:"#currentColor"})]}),"hamburger-menu":o.jsxs("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M3.5 7H21.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),o.jsx("path",{d:"M3.5 12H21.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),o.jsx("path",{d:"M3.5 17H21.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),category:o.jsxs("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M5.5 10H7.5C9.5 10 10.5 9 10.5 7V5C10.5 3 9.5 2 7.5 2H5.5C3.5 2 2.5 3 2.5 5V7C2.5 9 3.5 10 5.5 10Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M17.5 10H19.5C21.5 10 22.5 9 22.5 7V5C22.5 3 21.5 2 19.5 2H17.5C15.5 2 14.5 3 14.5 5V7C14.5 9 15.5 10 17.5 10Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M17.5 22H19.5C21.5 22 22.5 21 22.5 19V17C22.5 15 21.5 14 19.5 14H17.5C15.5 14 14.5 15 14.5 17V19C14.5 21 15.5 22 17.5 22Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M5.5 22H7.5C9.5 22 10.5 21 10.5 19V17C10.5 15 9.5 14 7.5 14H5.5C3.5 14 2.5 15 2.5 17V19C2.5 21 3.5 22 5.5 22Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),group:o.jsx("svg",{width:"5",height:"21",viewBox:"0 0 5 21",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M2.5 14C3.03043 14 3.53914 14.2107 3.91421 14.5858C4.28929 14.9609 4.5 15.4696 4.5 16C4.5 16.5304 4.28929 17.0391 3.91421 17.4142C3.53914 17.7893 3.03043 18 2.5 18C1.96957 18 1.46086 17.7893 1.08579 17.4142C0.710714 17.0391 0.5 16.5304 0.5 16C0.5 15.4696 0.710714 14.9609 1.08579 14.5858C1.46086 14.2107 1.96957 14 2.5 14ZM2.5 7C3.03043 7 3.53914 7.21071 3.91421 7.58579C4.28929 7.96086 4.5 8.46957 4.5 9C4.5 9.53043 4.28929 10.0391 3.91421 10.4142C3.53914 10.7893 3.03043 11 2.5 11C1.96957 11 1.46086 10.7893 1.08579 10.4142C0.710714 10.0391 0.5 9.53043 0.5 9C0.5 8.46957 0.710714 7.96086 1.08579 7.58579C1.46086 7.21071 1.96957 7 2.5 7ZM2.5 0C3.03043 0 3.53914 0.210714 3.91421 0.585786C4.28929 0.960859 4.5 1.46957 4.5 2C4.5 2.53043 4.28929 3.03914 3.91421 3.41421C3.53914 3.78929 3.03043 4 2.5 4C1.96957 4 1.46086 3.78929 1.08579 3.41421C0.710714 3.03914 0.5 2.53043 0.5 2C0.5 1.46957 0.710714 0.960859 1.08579 0.585786C1.46086 0.210714 1.96957 0 2.5 0Z",fill:"#currentColor"})}),trash:o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M21 5.98047C17.67 5.65047 14.32 5.48047 10.98 5.48047C9 5.48047 7.02 5.58047 5.04 5.78047L3 5.98047",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M8.5 4.97L8.72 3.66C8.88 2.71 9 2 10.69 2H13.31C15 2 15.13 2.75 15.28 3.67L15.5 4.97",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M18.8484 9.13965L18.1984 19.2096C18.0884 20.7796 17.9984 21.9996 15.2084 21.9996H8.78844C5.99844 21.9996 5.90844 20.7796 5.79844 19.2096L5.14844 9.13965",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M10.3281 16.5H13.6581",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M9.5 12.5H14.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),timer:o.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M11.4288 1.5H6.56881C3.74881 1.5 3.53131 4.035 5.05381 5.415L12.9438 12.585C14.4663 13.965 14.2488 16.5 11.4288 16.5H6.56881C3.74881 16.5 3.53131 13.965 5.05381 12.585L12.9438 5.415C14.4663 4.035 14.2488 1.5 11.4288 1.5Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),eye:o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M12.9823 10C12.9823 11.65 11.649 12.9833 9.99896 12.9833C8.34896 12.9833 7.01562 11.65 7.01562 10C7.01562 8.35 8.34896 7.01666 9.99896 7.01666C11.649 7.01666 12.9823 8.35 12.9823 10Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M10.0018 16.8917C12.9435 16.8917 15.6852 15.1583 17.5935 12.1583C18.3435 10.9833 18.3435 9.00834 17.5935 7.83334C15.6852 4.83334 12.9435 3.10001 10.0018 3.10001C7.06016 3.10001 4.31849 4.83334 2.41016 7.83334C1.66016 9.00834 1.66016 10.9833 2.41016 12.1583C4.31849 15.1583 7.06016 16.8917 10.0018 16.8917Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"eye-slash":o.jsxs("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M15.0319 9.47188L9.97188 14.5319C9.32188 13.8819 8.92188 12.9919 8.92188 12.0019C8.92188 10.0219 10.5219 8.42188 12.5019 8.42188C13.4919 8.42188 14.3819 8.82188 15.0319 9.47188Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M18.3237 5.77047C16.5737 4.45047 14.5737 3.73047 12.5037 3.73047C8.97375 3.73047 5.68375 5.81047 3.39375 9.41047C2.49375 10.8205 2.49375 13.1905 3.39375 14.6005C4.18375 15.8405 5.10375 16.9105 6.10375 17.7705",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M8.92188 19.5297C10.0619 20.0097 11.2719 20.2697 12.5019 20.2697C16.0319 20.2697 19.3219 18.1897 21.6119 14.5897C22.5119 13.1797 22.5119 10.8097 21.6119 9.39969C21.2819 8.87969 20.9219 8.38969 20.5519 7.92969",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M16.0075 12.6992C15.7475 14.1092 14.5975 15.2592 13.1875 15.5192",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M9.97 14.5312L2.5 22.0013",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M22.5013 2L15.0312 9.47",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),repeat:o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M2.38281 3.43945H11.6095C12.7162 3.43945 13.6095 4.33279 13.6095 5.43945V7.65279",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M4.48948 1.33301L2.38281 3.43966L4.48948 5.54635",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M13.6095 12.56H4.38281C3.27615 12.56 2.38281 11.6667 2.38281 10.56V8.34668",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M11.5 14.6665L13.6067 12.5598L11.5 10.4531",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"add-square":o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M11.1425 0.5H4.8575C2.1275 0.5 0.5 2.1275 0.5 4.8575V11.135C0.5 13.8725 2.1275 15.5 4.8575 15.5H11.135C13.865 15.5 15.4925 13.8725 15.4925 11.1425V4.8575C15.5 2.1275 13.8725 0.5 11.1425 0.5ZM12.5 8.5625H8.5625V12.5C8.5625 12.8075 8.3075 13.0625 8 13.0625C7.6925 13.0625 7.4375 12.8075 7.4375 12.5V8.5625H3.5C3.1925 8.5625 2.9375 8.3075 2.9375 8C2.9375 7.6925 3.1925 7.4375 3.5 7.4375H7.4375V3.5C7.4375 3.1925 7.6925 2.9375 8 2.9375C8.3075 2.9375 8.5625 3.1925 8.5625 3.5V7.4375H12.5C12.8075 7.4375 13.0625 7.6925 13.0625 8C13.0625 8.3075 12.8075 8.5625 12.5 8.5625Z",fill:"#currentColor"})}),"tick-circle":o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M7.75 12.0019L10.58 14.8319L16.25 9.17188",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"add-square-fill":o.jsxs("svg",{width:"73",height:"72",viewBox:"0 0 73 72",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{opacity:"0.4",d:"M49.07 6H23.93C13.01 6 6.5 12.51 6.5 23.43V48.54C6.5 59.49 13.01 66 23.93 66H49.04C59.96 66 66.47 59.49 66.47 48.57V23.43C66.5 12.51 59.99 6 49.07 6Z",fill:"#currentColor"}),o.jsx("path",{d:"M48.5 33.75H38.75V24C38.75 22.77 37.73 21.75 36.5 21.75C35.27 21.75 34.25 22.77 34.25 24V33.75H24.5C23.27 33.75 22.25 34.77 22.25 36C22.25 37.23 23.27 38.25 24.5 38.25H34.25V48C34.25 49.23 35.27 50.25 36.5 50.25C37.73 50.25 38.75 49.23 38.75 48V38.25H48.5C49.73 38.25 50.75 37.23 50.75 36C50.75 34.77 49.73 33.75 48.5 33.75Z",fill:"#currentColor"})]}),"arrow-down-right":o.jsxs("svg",{width:"18",height:"20",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M11.6797 18.5004L16.8897 13.2904C17.004 13.1778 17.0947 13.0436 17.1567 12.8957C17.2186 12.7477 17.2505 12.5889 17.2505 12.4284C17.2505 12.268 17.2186 12.1092 17.1567 11.9612C17.0947 11.8132 17.004 11.679 16.8897 11.5664L11.6797 6.35742",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M0.75 1.5V8.786C0.75 9.75218 1.13381 10.6788 1.81701 11.362C2.5002 12.0452 3.42682 12.429 4.393 12.429H17.24",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),logout:o.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M17.4395 15.12L19.9995 12.56L17.4395 10",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M9.75977 12.5596H19.9298",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M11.7598 20.5C7.33977 20.5 3.75977 17.5 3.75977 12.5C3.75977 7.5 7.33977 4.5 11.7598 4.5",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),image:o.jsxs("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M36.7017 28.0338L31.485 15.8338C30.535 13.6004 29.1184 12.3338 27.5017 12.2504C25.9017 12.1671 24.3517 13.2838 23.1684 15.4171L20.0017 21.1004C19.335 22.3004 18.385 23.0171 17.3517 23.1004C16.3017 23.2004 15.2517 22.6504 14.4017 21.5671L14.035 21.1004C12.8517 19.6171 11.385 18.9004 9.88503 19.0504C8.38503 19.2004 7.10169 20.2338 6.25169 21.9171L3.36836 27.6671C2.33503 29.7504 2.43503 32.1671 3.65169 34.1338C4.86836 36.1004 6.98503 37.2838 9.30169 37.2838H30.5684C32.8017 37.2838 34.885 36.1671 36.1184 34.3004C37.385 32.4338 37.585 30.0838 36.7017 28.0338Z",fill:"#currentColor"}),o.jsx("path",{d:"M11.6177 13.9659C14.7289 13.9659 17.251 11.4438 17.251 8.33255C17.251 5.22135 14.7289 2.69922 11.6177 2.69922C8.5065 2.69922 5.98438 5.22135 5.98438 8.33255C5.98438 11.4438 8.5065 13.9659 11.6177 13.9659Z",fill:"#currentColor"})]}),"error-triangle-filled":o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M10.2898 3.85996L1.81978 18C1.64514 18.3024 1.55274 18.6453 1.55177 18.9945C1.55079 19.3437 1.64127 19.6871 1.8142 19.9905C1.98714 20.2939 2.2365 20.5467 2.53748 20.7238C2.83847 20.9009 3.18058 20.9961 3.52978 21H20.4698C20.819 20.9961 21.1611 20.9009 21.4621 20.7238C21.7631 20.5467 22.0124 20.2939 22.1854 19.9905C22.3583 19.6871 22.4488 19.3437 22.4478 18.9945C22.4468 18.6453 22.3544 18.3024 22.1798 18L13.7098 3.85996C13.5315 3.56607 13.2805 3.32308 12.981 3.15444C12.6814 2.98581 12.3435 2.89722 11.9998 2.89722C11.656 2.89722 11.3181 2.98581 11.0186 3.15444C10.7191 3.32308 10.468 3.56607 10.2898 3.85996Z",fill:"#currentColor"}),o.jsx("path",{d:"M12 9V13",stroke:"",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M12 16V16.5",stroke:"",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),archive:o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M19.5 10.22V19C19.5 21 19 22 16.5 22H7.5C5 22 4.5 21 4.5 19V10.22",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M5 2H19C21 2 22 3 22 5V7C22 9 21 10 19 10H5C3 10 2 9 2 7V5C2 3 3 2 5 2Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M10.1797 14H13.8197",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),lock:o.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M16.0015 23.1338C17.2018 23.1338 18.1748 22.1607 18.1748 20.9604C18.1748 19.7601 17.2018 18.7871 16.0015 18.7871C14.8012 18.7871 13.8281 19.7601 13.8281 20.9604C13.8281 22.1607 14.8012 23.1338 16.0015 23.1338Z",fill:"#currentColor"}),o.jsx("path",{d:"M24.3746 12.706V11.0393C24.3746 7.43935 23.508 2.66602 16.0013 2.66602C8.49464 2.66602 7.62797 7.43935 7.62797 11.0393V12.706C3.89464 13.1727 2.66797 15.066 2.66797 19.7193V22.1993C2.66797 27.666 4.33464 29.3327 9.8013 29.3327H22.2013C27.668 29.3327 29.3346 27.666 29.3346 22.1993V19.7193C29.3346 15.066 28.108 13.1727 24.3746 12.706ZM16.0013 24.986C13.7746 24.986 11.9746 23.1727 11.9746 20.9594C11.9746 18.7327 13.788 16.9327 16.0013 16.9327C18.2146 16.9327 20.028 18.746 20.028 20.9594C20.028 23.186 18.228 24.986 16.0013 24.986ZM9.8013 12.586C9.69464 12.586 9.6013 12.586 9.49464 12.586V11.0393C9.49464 7.13268 10.6013 4.53268 16.0013 4.53268C21.4013 4.53268 22.508 7.13268 22.508 11.0393V12.5993C22.4013 12.5993 22.308 12.5993 22.2013 12.5993H9.8013V12.586Z",fill:"#currentColor"})]}),"lock-outline":o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M6 10V8C6 4.69 7 2 12 2C17 2 18 4.69 18 8V10",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M12 18.5C13.3807 18.5 14.5 17.3807 14.5 16C14.5 14.6193 13.3807 13.5 12 13.5C10.6193 13.5 9.5 14.6193 9.5 16C9.5 17.3807 10.6193 18.5 12 18.5Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M17 22H7C3 22 2 21 2 17V15C2 11 3 10 7 10H17C21 10 22 11 22 15V17C22 21 21 22 17 22Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),minus:o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",children:o.jsx("path",{d:"M6 12h12",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),"arrow-3":o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M10.4478 6.71997L6.72778 3L3.00781 6.71997",fill:"#3F3F46"}),o.jsx("path",{d:"M10.4478 6.71997L6.72778 3L3.00781 6.71997",stroke:"#3F3F46",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M6.72656 21V3",stroke:"#3F3F46",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M13.5469 17.28L17.2669 21L20.9869 17.28",stroke:"#3F3F46",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M17.2656 3V21",stroke:"#3F3F46",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),filter:o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M3.59896 1.40039H12.399C13.1323 1.40039 13.7323 2.00039 13.7323 2.73372V4.20039C13.7323 4.73372 13.399 5.40039 13.0656 5.73372L10.199 8.26706C9.79896 8.60039 9.53229 9.26706 9.53229 9.80039V12.6671C9.53229 13.0671 9.26563 13.6004 8.93229 13.8004L7.99896 14.4004C7.13229 14.9337 5.93229 14.3337 5.93229 13.2671V9.73372C5.93229 9.26706 5.66563 8.66706 5.39896 8.33372L2.86563 5.66706C2.53229 5.33372 2.26562 4.73372 2.26562 4.33372V2.80039C2.26562 2.00039 2.86563 1.40039 3.59896 1.40039Z",stroke:"#71717A",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M7.28667 1.40039L4 6.66706",stroke:"#71717A",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),export:o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M8.66797 7.33385L14.1346 1.86719",stroke:"#71717A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M14.6648 4.53398V1.33398H11.4648",stroke:"#71717A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M7.33203 1.33398H5.9987C2.66536 1.33398 1.33203 2.66732 1.33203 6.00065V10.0007C1.33203 13.334 2.66536 14.6673 5.9987 14.6673H9.9987C13.332 14.6673 14.6654 13.334 14.6654 10.0007V8.66732",stroke:"#71717A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),pause:o.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M7.1 13.24V3.76C7.1 2.86 6.72 2.5 5.76 2.5H3.34C2.38 2.5 2 2.86 2 3.76V13.24C2 14.14 2.38 14.5 3.34 14.5H5.76C6.72 14.5 7.1 14.14 7.1 13.24Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M13.9984 13.24V3.76C13.9984 2.86 13.6184 2.5 12.6584 2.5H10.2384C9.2851 2.5 8.89844 2.86 8.89844 3.76V13.24C8.89844 14.14 9.27844 14.5 10.2384 14.5H12.6584C13.6184 14.5 13.9984 14.14 13.9984 13.24Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"check-circle":o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M7.75 11.9999L10.58 14.8299L16.25 9.16992",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"money-icon":o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{opacity:"0.4",d:"M14.167 17.0846H5.83366C3.33366 17.0846 1.66699 15.8346 1.66699 12.918V7.08464C1.66699 4.16797 3.33366 2.91797 5.83366 2.91797H14.167C16.667 2.91797 18.3337 4.16797 18.3337 7.08464V12.918C18.3337 15.8346 16.667 17.0846 14.167 17.0846Z",fill:"#705BFA"}),o.jsx("path",{d:"M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",fill:"#705BFA"}),o.jsx("path",{d:"M4.58301 12.7096C4.24134 12.7096 3.95801 12.4263 3.95801 12.0846V7.91797C3.95801 7.5763 4.24134 7.29297 4.58301 7.29297C4.92467 7.29297 5.20801 7.5763 5.20801 7.91797V12.0846C5.20801 12.4263 4.92467 12.7096 4.58301 12.7096Z",fill:"#705BFA"}),o.jsx("path",{d:"M15.417 12.7096C15.0753 12.7096 14.792 12.4263 14.792 12.0846V7.91797C14.792 7.5763 15.0753 7.29297 15.417 7.29297C15.7587 7.29297 16.042 7.5763 16.042 7.91797V12.0846C16.042 12.4263 15.7587 12.7096 15.417 12.7096Z",fill:"#705BFA"})]}),"check-icon":o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{opacity:"0.4",d:"M9.99935 18.3346C14.6017 18.3346 18.3327 14.6037 18.3327 10.0013C18.3327 5.39893 14.6017 1.66797 9.99935 1.66797C5.39698 1.66797 1.66602 5.39893 1.66602 10.0013C1.66602 14.6037 5.39698 18.3346 9.99935 18.3346Z",fill:"#currentColor"}),o.jsx("path",{d:"M8.81719 12.9846C8.65052 12.9846 8.49219 12.918 8.37552 12.8013L6.01719 10.443C5.77552 10.2013 5.77552 9.8013 6.01719 9.55964C6.25885 9.31797 6.65885 9.31797 6.90052 9.55964L8.81719 11.4763L13.1005 7.19297C13.3422 6.9513 13.7422 6.9513 13.9839 7.19297C14.2255 7.43464 14.2255 7.83463 13.9839 8.0763L9.25885 12.8013C9.14219 12.918 8.98385 12.9846 8.81719 12.9846Z",fill:"#currentColor"})]}),"clock-icon":o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{opacity:"0.4",d:"M9.99935 18.3346C14.6017 18.3346 18.3327 14.6037 18.3327 10.0013C18.3327 5.39893 14.6017 1.66797 9.99935 1.66797C5.39698 1.66797 1.66602 5.39893 1.66602 10.0013C1.66602 14.6037 5.39698 18.3346 9.99935 18.3346Z",fill:"#currentColor"}),o.jsx("path",{d:"M13.0909 13.2745C12.9826 13.2745 12.8742 13.2495 12.7742 13.1828L10.1909 11.6411C9.54922 11.2578 9.07422 10.4161 9.07422 9.67448V6.25781C9.07422 5.91615 9.35755 5.63281 9.69922 5.63281C10.0409 5.63281 10.3242 5.91615 10.3242 6.25781V9.67448C10.3242 9.97448 10.5742 10.4161 10.8326 10.5661L13.4159 12.1078C13.7159 12.2828 13.8076 12.6661 13.6326 12.9661C13.5076 13.1661 13.2992 13.2745 13.0909 13.2745Z",fill:"#currentColor"})]}),chart:o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{opacity:"0.4",d:"M13.491 1.66797H6.50768C3.47435 1.66797 1.66602 3.4763 1.66602 6.50964V13.4846C1.66602 16.5263 3.47435 18.3346 6.50768 18.3346H13.4827C16.516 18.3346 18.3243 16.5263 18.3243 13.493V6.50964C18.3327 3.4763 16.5243 1.66797 13.491 1.66797Z",fill:"#currentColor"}),o.jsx("path",{d:"M5.83398 11.9596C5.49232 11.9596 5.20898 11.6763 5.20898 11.3346V8.66797C5.20898 8.3263 5.49232 8.04297 5.83398 8.04297C6.17565 8.04297 6.45898 8.3263 6.45898 8.66797V11.343C6.45898 11.6846 6.17565 11.9596 5.83398 11.9596Z",fill:"#currentColor"}),o.jsx("path",{d:"M10 13.4065C9.65833 13.4065 9.375 13.1232 9.375 12.7815V7.21484C9.375 6.87318 9.65833 6.58984 10 6.58984C10.3417 6.58984 10.625 6.87318 10.625 7.21484V12.7815C10.625 13.1232 10.3417 13.4065 10 13.4065Z",fill:"#currentColor"}),o.jsx("path",{d:"M14.166 11.9596C13.8243 11.9596 13.541 11.6763 13.541 11.3346V8.66797C13.541 8.3263 13.8243 8.04297 14.166 8.04297C14.5077 8.04297 14.791 8.3263 14.791 8.66797V11.343C14.791 11.6846 14.5077 11.9596 14.166 11.9596Z",fill:"#currentColor"})]}),google:o.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M29.074 13.3887H28V13.3333H16V18.6667H23.5354C22.436 21.7713 19.482 24 16 24C11.582 24 8.00002 20.418 8.00002 16C8.00002 11.582 11.582 7.99999 16 7.99999C18.0394 7.99999 19.8947 8.76932 21.3074 10.026L25.0787 6.25466C22.6974 4.03532 19.512 2.66666 16 2.66666C8.63669 2.66666 2.66669 8.63666 2.66669 16C2.66669 23.3633 8.63669 29.3333 16 29.3333C23.3634 29.3333 29.3334 23.3633 29.3334 16C29.3334 15.106 29.2414 14.2333 29.074 13.3887Z",fill:"#FFC107"}),o.jsx("path",{d:"M4.20398 9.79399L8.58465 13.0067C9.76998 10.072 12.6406 7.99999 16 7.99999C18.0393 7.99999 19.8946 8.76932 21.3073 10.026L25.0786 6.25466C22.6973 4.03532 19.512 2.66666 16 2.66666C10.8786 2.66666 6.43731 5.55799 4.20398 9.79399Z",fill:"#FF3D00"}),o.jsx("path",{d:"M16 29.3333C19.444 29.3333 22.5733 28.0153 24.9393 25.872L20.8127 22.38C19.4293 23.4327 17.7384 24.0019 16 24C12.532 24 9.58734 21.7887 8.478 18.7027L4.13 22.0527C6.33667 26.3707 10.818 29.3333 16 29.3333Z",fill:"#4CAF50"}),o.jsx("path",{d:"M29.074 13.3887H28V13.3333H16V18.6667H23.5353C23.0095 20.1443 22.0622 21.4355 20.8107 22.3807L20.8127 22.3793L24.9393 25.8713C24.6473 26.1367 29.3333 22.6667 29.3333 16C29.3333 15.106 29.2413 14.2333 29.074 13.3887Z",fill:"#1976D2"})]}),"tick-square":o.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M5.9987 15.1673H9.9987C13.332 15.1673 14.6654 13.834 14.6654 10.5007V6.50065C14.6654 3.16732 13.332 1.83398 9.9987 1.83398H5.9987C2.66536 1.83398 1.33203 3.16732 1.33203 6.50065V10.5007C1.33203 13.834 2.66536 15.1673 5.9987 15.1673Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M5.16797 8.49995L7.05464 10.3866L10.8346 6.61328",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),calendar:o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M16.7502 3.56V2C16.7502 1.59 16.4102 1.25 16.0002 1.25C15.5902 1.25 15.2502 1.59 15.2502 2V3.5H8.75023V2C8.75023 1.59 8.41023 1.25 8.00023 1.25C7.59023 1.25 7.25023 1.59 7.25023 2V3.56C4.55023 3.81 3.24023 5.42 3.04023 7.81C3.02023 8.1 3.26023 8.34 3.54023 8.34H20.4602C20.7502 8.34 20.9902 8.09 20.9602 7.81C20.7602 5.42 19.4502 3.81 16.7502 3.56Z",fill:"#currentColor"}),o.jsx("path",{d:"M20 9.83984H4C3.45 9.83984 3 10.2898 3 10.8398V16.9998C3 19.9998 4.5 21.9998 8 21.9998H16C19.5 21.9998 21 19.9998 21 16.9998V10.8398C21 10.2898 20.55 9.83984 20 9.83984ZM9.21 18.2098C9.16 18.2498 9.11 18.2998 9.06 18.3298C9 18.3698 8.94 18.3998 8.88 18.4198C8.82 18.4498 8.76 18.4698 8.7 18.4798C8.63 18.4898 8.57 18.4998 8.5 18.4998C8.37 18.4998 8.24 18.4698 8.12 18.4198C7.99 18.3698 7.89 18.2998 7.79 18.2098C7.61 18.0198 7.5 17.7598 7.5 17.4998C7.5 17.2398 7.61 16.9798 7.79 16.7898C7.89 16.6998 7.99 16.6298 8.12 16.5798C8.3 16.4998 8.5 16.4798 8.7 16.5198C8.76 16.5298 8.82 16.5498 8.88 16.5798C8.94 16.5998 9 16.6298 9.06 16.6698C9.11 16.7098 9.16 16.7498 9.21 16.7898C9.39 16.9798 9.5 17.2398 9.5 17.4998C9.5 17.7598 9.39 18.0198 9.21 18.2098ZM9.21 14.7098C9.02 14.8898 8.76 14.9998 8.5 14.9998C8.24 14.9998 7.98 14.8898 7.79 14.7098C7.61 14.5198 7.5 14.2598 7.5 13.9998C7.5 13.7398 7.61 13.4798 7.79 13.2898C8.07 13.0098 8.51 12.9198 8.88 13.0798C9.01 13.1298 9.12 13.1998 9.21 13.2898C9.39 13.4798 9.5 13.7398 9.5 13.9998C9.5 14.2598 9.39 14.5198 9.21 14.7098ZM12.71 18.2098C12.52 18.3898 12.26 18.4998 12 18.4998C11.74 18.4998 11.48 18.3898 11.29 18.2098C11.11 18.0198 11 17.7598 11 17.4998C11 17.2398 11.11 16.9798 11.29 16.7898C11.66 16.4198 12.34 16.4198 12.71 16.7898C12.89 16.9798 13 17.2398 13 17.4998C13 17.7598 12.89 18.0198 12.71 18.2098ZM12.71 14.7098C12.66 14.7498 12.61 14.7898 12.56 14.8298C12.5 14.8698 12.44 14.8998 12.38 14.9198C12.32 14.9498 12.26 14.9698 12.2 14.9798C12.13 14.9898 12.07 14.9998 12 14.9998C11.74 14.9998 11.48 14.8898 11.29 14.7098C11.11 14.5198 11 14.2598 11 13.9998C11 13.7398 11.11 13.4798 11.29 13.2898C11.38 13.1998 11.49 13.1298 11.62 13.0798C11.99 12.9198 12.43 13.0098 12.71 13.2898C12.89 13.4798 13 13.7398 13 13.9998C13 14.2598 12.89 14.5198 12.71 14.7098ZM16.21 18.2098C16.02 18.3898 15.76 18.4998 15.5 18.4998C15.24 18.4998 14.98 18.3898 14.79 18.2098C14.61 18.0198 14.5 17.7598 14.5 17.4998C14.5 17.2398 14.61 16.9798 14.79 16.7898C15.16 16.4198 15.84 16.4198 16.21 16.7898C16.39 16.9798 16.5 17.2398 16.5 17.4998C16.5 17.7598 16.39 18.0198 16.21 18.2098ZM16.21 14.7098C16.16 14.7498 16.11 14.7898 16.06 14.8298C16 14.8698 15.94 14.8998 15.88 14.9198C15.82 14.9498 15.76 14.9698 15.7 14.9798C15.63 14.9898 15.56 14.9998 15.5 14.9998C15.24 14.9998 14.98 14.8898 14.79 14.7098C14.61 14.5198 14.5 14.2598 14.5 13.9998C14.5 13.7398 14.61 13.4798 14.79 13.2898C14.89 13.1998 14.99 13.1298 15.12 13.0798C15.3 12.9998 15.5 12.9798 15.7 13.0198C15.76 13.0298 15.82 13.0498 15.88 13.0798C15.94 13.0998 16 13.1298 16.06 13.1698C16.11 13.2098 16.16 13.2498 16.21 13.2898C16.39 13.4798 16.5 13.7398 16.5 13.9998C16.5 14.2598 16.39 14.5198 16.21 14.7098Z",fill:"#currentColor"})]}),refresh:o.jsxs("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M15.05 21.67C19.34 20.54 22.5 16.64 22.5 12C22.5 6.48 18.06 2 12.5 2C5.83 2 2.5 7.56 2.5 7.56M2.5 7.56V3M2.5 7.56H4.51H6.94",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M2.5 12C2.5 17.52 6.98 22 12.5 22",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"3 3"})]}),"design-tools":o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M2.95988 10.7201L3.87988 11.6201L11.6299 3.88012L10.6999 2.95012C9.91988 2.17012 9.10988 1.78012 8.30988 1.78012C7.50988 1.78012 6.69988 2.17012 5.91988 2.95012L2.95988 5.91012C1.36988 7.51012 1.36988 9.12012 2.95988 10.7201Z",fill:"#currentColor"}),o.jsx("path",{d:"M13.31 21.0701C14.88 22.6401 16.53 22.6401 18.1 21.0701L21.07 18.1101C22.63 16.5401 22.63 14.8901 21.07 13.3201L20.15 12.4001L12.4 20.1501L13.31 21.0701Z",fill:"#currentColor"}),o.jsx("path",{d:"M2.18991 20.0599C3.49991 16.7899 6.48991 12.5199 9.33991 9.72991C9.74991 12.3099 11.8099 14.3299 14.4099 14.6899C11.6099 17.5499 7.30991 20.5799 4.02991 21.8999C3.44991 22.1199 2.86991 21.9499 2.50991 21.5899C2.12991 21.2099 1.94991 20.6399 2.18991 20.0599Z",fill:"#currentColor"}),o.jsx("path",{d:"M10.2199 8.91004C10.4199 8.74004 10.6199 8.57004 10.8199 8.41004L12.6099 6.98004C12.6099 7.01004 12.6199 7.05004 12.6199 7.09004C12.7599 8.16004 13.2599 9.15004 14.0699 9.96004C14.8899 10.78 15.9099 11.28 17.0299 11.42C17.0599 11.42 17.0999 11.43 17.1299 11.43L15.6799 13.26C15.5399 13.44 15.3899 13.61 15.2299 13.79L14.5499 13.7C12.3999 13.4 10.6699 11.71 10.3299 9.57004L10.2199 8.91004Z",fill:"#currentColor"}),o.jsx("path",{d:"M13.57 6.38018C13.57 5.28018 13.99 4.23018 14.79 3.44018C15.4 2.82018 16.22 2.40018 17.22 2.28018L19.67 2.01018C21.01 1.86018 22.16 3.01018 22.01 4.36018L21.74 6.82018C21.5 9.01018 19.67 10.4102 17.73 10.4502C17.54 10.4602 17.33 10.4502 17.13 10.4302C16.28 10.3202 15.46 9.93018 14.77 9.25018C14.1 8.58018 13.72 7.79018 13.61 6.96018C13.59 6.76018 13.57 6.57018 13.57 6.38018Z",fill:"#currentColor"})]}),"design-tools-linear":o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsxs("g",{clipPath:"url(#clip0_1215_17258)",children:[o.jsx("path",{d:"M1.82539 16.7168C3.10873 13.5168 6.32539 9.16677 9.01706 7.00844L10.6587 5.69177C10.8671 5.54177 11.0754 5.40844 11.3087 5.31677C11.3087 5.46677 11.3171 5.63344 11.3421 5.79177C11.4337 6.49177 11.7504 7.14177 12.3087 7.7001C12.8754 8.26677 13.5671 8.6001 14.2754 8.69177C14.4421 8.7001 14.6087 8.71677 14.7754 8.7001C14.6837 8.95844 14.5421 9.2001 14.3671 9.4001L13.0671 11.0418C10.9171 13.7334 6.55039 16.9668 3.35873 18.2418C2.86706 18.4251 2.39206 18.2918 2.09206 17.9834C1.77539 17.6751 1.62539 17.2001 1.82539 16.7168Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M11.3083 5.31683C11.3083 4.40016 11.6583 3.52516 12.3166 2.8585C12.8249 2.35016 13.5166 2.00016 14.3416 1.89183L16.3916 1.66683C17.5083 1.54183 18.4666 2.49183 18.3333 3.62516L18.1083 5.67516C17.9083 7.50016 16.3833 8.66683 14.7666 8.70016C14.5999 8.70849 14.4249 8.70016 14.2666 8.69183C13.5583 8.60016 12.8666 8.27516 12.2999 7.70016C11.7416 7.14183 11.4249 6.49183 11.3333 5.79183C11.3249 5.6335 11.3083 5.47516 11.3083 5.31683Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M8.13255 7.94163C8.13255 10.1166 9.89922 11.8833 12.0742 11.8833",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M3.23372 9.3916L2.61706 8.78327C1.37539 7.5416 1.37539 6.3166 2.61706 5.07493L5.08372 2.60827C6.30872 1.38327 7.55039 1.38327 8.77539 2.60827",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),o.jsx("path",{d:"M17.4074 11.2417C18.6324 12.4834 18.6324 13.7084 17.4074 14.95L14.9408 17.4167C13.7158 18.6417 12.4741 18.6417 11.2491 17.4167L10.6324 16.8",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),o.jsx("path",{d:"M10.6257 16.7915L13.709 13.7082",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),o.jsx("path",{d:"M3.23255 9.3916L5.69922 6.93327",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]}),o.jsx("defs",{children:o.jsx("clipPath",{id:"clip0_1215_17258",children:o.jsx("rect",{width:"20",height:"20",fill:"white",transform:"matrix(-1 0 0 -1 20 20)"})})})]}),building:o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M1 22H23",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M19.78 22.0098V17.5498",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M19.8001 10.8901C18.5801 10.8901 17.6001 11.8701 17.6001 13.0901V15.3601C17.6001 16.5801 18.5801 17.5601 19.8001 17.5601C21.0201 17.5601 22.0001 16.5801 22.0001 15.3601V13.0901C22.0001 11.8701 21.0201 10.8901 19.8001 10.8901Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M2.1001 21.9998V6.02979C2.1001 4.01979 3.10015 3.00977 5.09015 3.00977H11.3201C13.3101 3.00977 14.3001 4.01979 14.3001 6.02979V21.9998",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M5.80005 8.25H10.7501",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M5.80005 12H10.7501",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M8.25 22V18.25",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),book:o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M22 16.7402V4.67019C22 3.47019 21.02 2.58019 19.83 2.68019H19.77C17.67 2.86019 14.48 3.93019 12.7 5.05019L12.53 5.16019C12.24 5.34019 11.76 5.34019 11.47 5.16019L11.22 5.01019C9.44 3.90019 6.26 2.84019 4.16 2.67019C2.97 2.57019 2 3.47019 2 4.66019V16.7402C2 17.7002 2.78 18.6002 3.74 18.7202L4.03 18.7602C6.2 19.0502 9.55 20.1502 11.47 21.2002L11.51 21.2202C11.78 21.3702 12.21 21.3702 12.47 21.2202C14.39 20.1602 17.75 19.0502 19.93 18.7602L20.26 18.7202C21.22 18.6002 22 17.7002 22 16.7402Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M12 5.49023V20.4902",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M7.75 8.49023H5.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M8.5 11.4902H5.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),menu:o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M17.5401 8.31014C18.8987 8.31014 20.0001 7.20876 20.0001 5.85014C20.0001 4.49152 18.8987 3.39014 17.5401 3.39014C16.1814 3.39014 15.0801 4.49152 15.0801 5.85014C15.0801 7.20876 16.1814 8.31014 17.5401 8.31014Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M6.46001 8.31014C7.81863 8.31014 8.92 7.20876 8.92 5.85014C8.92 4.49152 7.81863 3.39014 6.46001 3.39014C5.10139 3.39014 4 4.49152 4 5.85014C4 7.20876 5.10139 8.31014 6.46001 8.31014Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M17.5401 20.6099C18.8987 20.6099 20.0001 19.5086 20.0001 18.1499C20.0001 16.7913 18.8987 15.6899 17.5401 15.6899C16.1814 15.6899 15.0801 16.7913 15.0801 18.1499C15.0801 19.5086 16.1814 20.6099 17.5401 20.6099Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M6.46001 20.6099C7.81863 20.6099 8.92 19.5086 8.92 18.1499C8.92 16.7913 7.81863 15.6899 6.46001 15.6899C5.10139 15.6899 4 16.7913 4 18.1499C4 19.5086 5.10139 20.6099 6.46001 20.6099Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),profile:o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M12.1601 10.87C12.0601 10.86 11.9401 10.86 11.8301 10.87C9.45006 10.79 7.56006 8.84 7.56006 6.44C7.56006 3.99 9.54006 2 12.0001 2C14.4501 2 16.4401 3.99 16.4401 6.44C16.4301 8.84 14.5401 10.79 12.1601 10.87Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M7.15997 14.56C4.73997 16.18 4.73997 18.82 7.15997 20.43C9.90997 22.27 14.42 22.27 17.17 20.43C19.59 18.81 19.59 16.17 17.17 14.56C14.43 12.73 9.91997 12.73 7.15997 14.56Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),scroll:o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M7.4974 18.3334H12.4974C16.6641 18.3334 18.3307 16.6667 18.3307 12.5001V7.50008C18.3307 3.33341 16.6641 1.66675 12.4974 1.66675H7.4974C3.33073 1.66675 1.66406 3.33341 1.66406 7.50008V12.5001C1.66406 16.6667 3.33073 18.3334 7.4974 18.3334Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M7.99844 7.4751L5.92344 9.5501C5.68177 9.79176 5.68177 10.2001 5.92344 10.4418L7.99844 12.5168",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M12 7.4751L14.075 9.5501C14.3167 9.79176 14.3167 10.2001 14.075 10.4418L12 12.5168",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"programming-arrows":o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M15.8359 13.3333V5.41667C15.8359 4.5 15.0859 3.75 14.1693 3.75H9.58594",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M11.6641 1.66675L9.16406 3.75008L11.6641 5.83341",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M15.8359 18.3333C17.2167 18.3333 18.3359 17.214 18.3359 15.8333C18.3359 14.4525 17.2167 13.3333 15.8359 13.3333C14.4552 13.3333 13.3359 14.4525 13.3359 15.8333C13.3359 17.214 14.4552 18.3333 15.8359 18.3333Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M4.16406 6.66675V14.5834C4.16406 15.5001 4.91406 16.2501 5.83073 16.2501H10.4141",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M8.33594 18.3334L10.8359 16.2501L8.33594 14.1667",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M4.16406 6.66675C5.54477 6.66675 6.66406 5.54746 6.66406 4.16675C6.66406 2.78604 5.54477 1.66675 4.16406 1.66675C2.78335 1.66675 1.66406 2.78604 1.66406 4.16675C1.66406 5.54746 2.78335 6.66675 4.16406 6.66675Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"chart-square":o.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M8.42394 9.29175H6.21561C5.69061 9.29175 5.26562 9.71671 5.26562 10.2417V14.5084H8.42394V9.29175V9.29175Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M10.6307 5.5H9.36405C8.83905 5.5 8.41406 5.92501 8.41406 6.45001V14.5H11.5724V6.45001C11.5724 5.92501 11.1557 5.5 10.6307 5.5Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M13.7865 10.7083H11.5781V14.5H14.7365V11.6583C14.7281 11.1333 14.3031 10.7083 13.7865 10.7083Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M7.4974 18.3334H12.4974C16.6641 18.3334 18.3307 16.6667 18.3307 12.5001V7.50008C18.3307 3.33341 16.6641 1.66675 12.4974 1.66675H7.4974C3.33073 1.66675 1.66406 3.33341 1.66406 7.50008V12.5001C1.66406 16.6667 3.33073 18.3334 7.4974 18.3334Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"not-authorised":o.jsx("svg",{width:"567",height:"477",viewBox:"0 0 567 477",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:o.jsxs("g",{id:"Wallet is Empty",children:[o.jsx("path",{id:"Fill 1",fillRule:"evenodd",clipRule:"evenodd",d:"M381.279 454.698C381.279 458.397 333.675 461.397 274.952 461.397C216.228 461.397 168.621 458.397 168.621 454.698C168.621 451.001 216.228 448.001 274.952 448.001C333.675 448.001 381.279 451.001 381.279 454.698Z",fill:"#DCDCE2"}),o.jsx("path",{id:"Stroke 3",d:"M261.521 24.3588C203.517 29.269 182.198 78.3658 199.663 106.985C211.986 127.177 232.868 154.466 271.795 147.92C310.719 141.373 313.999 105.349 293.499 100.449C272.999 95.5506 199.968 118.404 208.221 171.199C214.179 209.292 265.822 220.272 265.822 220.272",stroke:"#DCDCE2",strokeWidth:"1.74009",strokeDasharray:"6.09",fill:"none"}),o.jsx("path",{id:"Fill 13",fillRule:"evenodd",clipRule:"evenodd",d:"M307.202 7.73229C305.109 7.22812 303.812 5.11772 304.316 3.00409C304.818 0.905003 306.933 -0.395817 309.024 0.108351C311.127 0.615752 312.411 2.73423 311.911 4.83493C311.405 6.94695 309.306 8.23807 307.202 7.73229Z",fill:"#DCDCE2"}),o.jsx("path",{id:"Stroke 25",d:"M19.5938 265.483V270.506",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 27",d:"M9.54492 270.507L12.8939 273.856",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 29",d:"M4.52344 280.554H9.54685",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 31",d:"M9.54492 290.6L12.8939 287.251",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 33",d:"M19.5938 295.623V290.6",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 35",d:"M29.64 290.6L26.291 287.251",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 37",d:"M34.6601 280.554H29.6367",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 39",d:"M29.64 270.507L26.291 273.856",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 41",d:"M277.465 59.5231V62.872",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 43",d:"M269.092 67.8953H272.441",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 45",d:"M277.465 77.9412V74.5922",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 47",d:"M287.505 69.5707H284.156",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 49",d:"M93.2695 191.806V196.829",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 51",d:"M78.1992 206.877H83.2226",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 53",d:"M91.5938 220.273V215.249",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 55",d:"M106.666 206.877H101.643",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 57",d:"M434.86 367.625C438.559 367.625 441.558 370.624 441.558 374.324C441.558 378.022 438.559 381.021 434.86 381.021C431.161 381.021 428.162 378.022 428.162 374.324",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round",fill:"none"}),o.jsx("path",{id:"Stroke 59",d:"M466.564 458.951C467.419 464.931 463.286 470.473 457.335 471.33C451.388 472.187 445.872 468.035 445.02 462.055C444.167 456.074 448.298 450.531 454.249 449.674",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round",fill:"none"}),o.jsx("path",{id:"Fill 61",fillRule:"evenodd",clipRule:"evenodd",d:"M466.676 303.995C470.736 302.711 476.957 297.684 478.398 292.275C479.703 297.057 485.177 302.711 490.118 303.141C484.558 305.137 479.241 311.063 478.398 315.717C477.823 310.973 470.471 304.687 466.676 303.995Z",fill:"#EBECEF"}),o.jsx("path",{id:"Fill 63",fillRule:"evenodd",clipRule:"evenodd",d:"M46.3828 365.113C48.4134 364.471 51.5238 361.957 52.2443 359.253C52.8969 361.643 55.633 364.471 58.1041 364.686C55.3233 365.683 52.665 368.646 52.2443 370.974C51.9561 368.602 48.2809 365.458 46.3828 365.113Z",fill:"#EBECEF"}),o.jsx("path",{id:"Fill 65",fillRule:"evenodd",clipRule:"evenodd",d:"M83.2246 143.247C83.2246 146.023 80.975 148.271 78.2011 148.271C75.4257 148.271 73.1777 146.023 73.1777 143.247C73.1777 140.472 75.4257 138.224 78.2011 138.224C80.975 138.224 83.2246 140.472 83.2246 143.247Z",fill:"#D1D9E0"}),o.jsx("path",{id:"Fill 69",fillRule:"evenodd",clipRule:"evenodd",d:"M565.472 133.198C565.472 136.899 562.474 139.897 558.775 139.897C555.074 139.897 552.076 136.899 552.076 133.198C552.076 129.499 555.074 126.501 558.775 126.501C562.474 126.501 565.472 129.499 565.472 133.198Z",fill:"#EBECEF"}),o.jsx("path",{id:"Stroke 73",fillRule:"evenodd",clipRule:"evenodd",d:"M180.344 108.083C180.344 110.858 178.094 113.106 175.32 113.106C172.545 113.106 170.297 110.858 170.297 108.083C170.297 105.308 172.545 103.06 175.32 103.06C178.094 103.06 180.344 105.308 180.344 108.083Z",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round",fill:"none"}),o.jsx("path",{id:"Stroke 75",fillRule:"evenodd",clipRule:"evenodd",d:"M102.348 425.793C98.8919 427.108 95.0247 425.372 93.7097 421.916C92.393 418.459 94.1305 414.592 97.5871 413.277C101.044 411.96 104.911 413.698 106.226 417.154C107.541 420.611 105.805 424.478 102.348 425.793Z",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round",fill:"none"}),o.jsx("g",{id:"lock",children:o.jsxs("g",{id:"vuesax/bold/lock",children:[o.jsx("path",{id:"Vector",d:"M284.131 335.746C297.112 335.746 307.636 325.222 307.636 312.24C307.636 299.259 297.112 288.735 284.131 288.735C271.149 288.735 260.625 299.259 260.625 312.24C260.625 325.222 271.149 335.746 284.131 335.746Z",fill:"#D4D4D8"}),o.jsx("path",{id:"Vector_2",d:"M374.69 222.977V204.951C374.69 166.015 365.316 114.39 284.128 114.39C202.94 114.39 193.567 166.015 193.567 204.951V222.977C153.189 228.024 139.922 248.501 139.922 298.829V325.652C139.922 384.776 157.948 402.802 217.072 402.802H351.184C410.308 402.802 428.334 384.776 428.334 325.652V298.829C428.334 248.501 415.067 228.024 374.69 222.977ZM284.128 355.791C260.046 355.791 240.578 336.179 240.578 312.24C240.578 288.158 260.19 268.69 284.128 268.69C308.066 268.69 327.678 288.302 327.678 312.24C327.678 336.323 308.21 355.791 284.128 355.791ZM217.072 221.679C215.919 221.679 214.909 221.679 213.755 221.679V204.951C213.755 162.699 225.725 134.578 284.128 134.578C342.532 134.578 354.501 162.699 354.501 204.951V221.823C353.347 221.823 352.338 221.823 351.184 221.823H217.072V221.679Z",fill:"#D4D4D8"})]})})]})}),"money-tick":o.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M6.09593 6.67136C6.72709 6.67136 7.23874 6.1597 7.23874 5.52855C7.23874 4.89739 6.72709 4.38574 6.09593 4.38574C5.46478 4.38574 4.95312 4.89739 4.95312 5.52855C4.95312 6.1597 5.46478 6.67136 6.09593 6.67136Z",stroke:"#currentColor",strokeWidth:"1.02853",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M9.07031 4.38574V6.67136",stroke:"#currentColor",strokeWidth:"1.02853",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M4.71948 8.27136C4.71948 8.6142 4.62349 8.93876 4.45436 9.21303C4.13894 9.74329 3.55839 10.0999 2.89099 10.0999C2.22359 10.0999 1.64304 9.74329 1.32762 9.21303C1.15849 8.93876 1.0625 8.6142 1.0625 8.27136C1.0625 7.26112 1.88075 6.44287 2.89099 6.44287C3.90123 6.44287 4.71948 7.26112 4.71948 8.27136Z",stroke:"#currentColor",strokeWidth:"1.02853",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M2.17969 8.27121L2.63223 8.72376L3.60591 7.82324",stroke:"#currentColor",strokeWidth:"1.02853",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M1.52344 7.03755V4.15768C1.52344 2.55775 2.43768 1.87207 3.80905 1.87207H8.38028C9.75164 1.87207 10.6659 2.55775 10.6659 4.15768V6.90042C10.6659 8.50035 9.75164 9.18603 8.38028 9.18603H4.49473",stroke:"#currentColor",strokeWidth:"1.02853",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),download:o.jsxs("svg",{width:"19",height:"19",viewBox:"0 0 19 19",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M11.7653 17.1156H6.84114C3.13289 17.1156 1.54688 15.5296 1.54688 11.8213V11.7232C1.54688 8.36988 2.86855 6.75366 5.82911 6.47422C6.13121 6.45156 6.4182 6.67813 6.44841 6.98778C6.47862 7.29743 6.25205 7.57687 5.93485 7.60708C3.56338 7.82611 2.67974 8.94387 2.67974 11.7307V11.8289C2.67974 14.9027 3.76729 15.9903 6.84114 15.9903H11.7653C14.8392 15.9903 15.9267 14.9027 15.9267 11.8289V11.7307C15.9267 8.92876 15.028 7.811 12.6112 7.60708C12.3016 7.57687 12.0674 7.30499 12.0976 6.99534C12.1279 6.68569 12.3922 6.45156 12.7094 6.48177C15.7153 6.73855 17.0596 8.36233 17.0596 11.7383V11.8365C17.0596 15.5296 15.4736 17.1156 11.7653 17.1156Z",fill:"#71717A"}),o.jsx("path",{d:"M9.30081 12.1143C8.99116 12.1143 8.73438 11.8575 8.73438 11.5479V1.82034C8.73438 1.51069 8.99116 1.25391 9.30081 1.25391C9.61046 1.25391 9.86724 1.51069 9.86724 1.82034V11.5479C9.86724 11.8651 9.61046 12.1143 9.30081 12.1143Z",fill:"#292D32"}),o.jsx("path",{d:"M9.29969 12.9618C9.1562 12.9618 9.0127 12.909 8.89941 12.7957L6.36934 10.2656C6.15032 10.0466 6.15032 9.68407 6.36934 9.46505C6.58836 9.24603 6.95088 9.24603 7.1699 9.46505L9.29969 11.5948L11.4295 9.46505C11.6485 9.24603 12.011 9.24603 12.23 9.46505C12.4491 9.68407 12.4491 10.0466 12.23 10.2656L9.69997 12.7957C9.58669 12.909 9.44319 12.9618 9.29969 12.9618Z",fill:"#292D32"})]}),receipt:o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M22 6V8.42C22 10 21 11 19.42 11H16V4.01C16 2.9 16.91 2 18.02 2C19.11 2.01 20.11 2.45 20.83 3.17C21.55 3.9 22 4.9 22 6Z",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M2 7V21C2 21.83 2.93998 22.3 3.59998 21.8L5.31 20.52C5.71 20.22 6.27 20.26 6.63 20.62L8.28998 22.29C8.67998 22.68 9.32002 22.68 9.71002 22.29L11.39 20.61C11.74 20.26 12.3 20.22 12.69 20.52L14.4 21.8C15.06 22.29 16 21.82 16 21V4C16 2.9 16.9 2 18 2H7H6C3 2 2 3.79 2 6V7Z",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"user-add":o.jsxs("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M12 12.5C14.7614 12.5 17 10.2614 17 7.5C17 4.73858 14.7614 2.5 12 2.5C9.23858 2.5 7 4.73858 7 7.5C7 10.2614 9.23858 12.5 12 12.5Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M3.40991 22.5C3.40991 18.63 7.25991 15.5 11.9999 15.5C12.9599 15.5 13.8899 15.63 14.7599 15.87",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M22 18.5C22 18.82 21.96 19.13 21.88 19.43C21.79 19.83 21.63 20.22 21.42 20.56C20.73 21.72 19.46 22.5 18 22.5C16.97 22.5 16.04 22.11 15.34 21.47C15.04 21.21 14.78 20.9 14.58 20.56C14.21 19.96 14 19.25 14 18.5C14 17.42 14.43 16.43 15.13 15.71C15.86 14.96 16.88 14.5 18 14.5C19.18 14.5 20.25 15.01 20.97 15.83C21.61 16.54 22 17.48 22 18.5Z",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M19.49 18.48H16.51",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M18 17.02V20.01",stroke:"#currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]}),"logo-placeholder":o.jsxs("svg",{width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("rect",{x:"0.5",y:"0.5",width:"41",height:"41",rx:"14.5",fill:"#F7FEE7"}),o.jsx("rect",{x:"0.5",y:"0.5",width:"41",height:"41",rx:"14.5",stroke:"#84CC16"}),o.jsx("path",{d:"M21.5 31.0003H13.08C11.92 31.0003 10.97 30.0703 10.97 28.9303V14.0903C10.97 11.4703 12.92 10.2803 15.31 11.4503L19.75 13.6303C20.71 14.1003 21.5 15.3503 21.5 16.4103V31.0003Z",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M30.97 24.0599V27.8399C30.97 29.9999 29.97 30.9999 27.81 30.9999H21.5V19.4199L21.97 19.5199L26.47 20.5299L28.5 20.9799C29.82 21.2699 30.9 21.9499 30.96 23.8699C30.97 23.9299 30.97 23.9899 30.97 24.0599Z",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M14.5 18H17.97",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M14.5 22H17.97",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M26.47 20.53V23.75C26.47 24.99 25.46 26 24.22 26C22.98 26 21.97 24.99 21.97 23.75V19.52L26.47 20.53Z",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M30.96 23.8703C30.9 25.0503 29.92 26.0003 28.72 26.0003C27.48 26.0003 26.47 24.9903 26.47 23.7503V20.5303L28.5 20.9803C29.82 21.2703 30.9 21.9503 30.96 23.8703Z",stroke:"#65A30D",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),verify:o.jsxs("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M6.08594 8.00005L7.6926 9.61339L10.9126 6.38672",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M7.66594 1.63338C8.12594 1.24005 8.87927 1.24005 9.34594 1.63338L10.3993 2.54005C10.5993 2.71338 10.9726 2.85338 11.2393 2.85338H12.3726C13.0793 2.85338 13.6593 3.43338 13.6593 4.14005V5.27338C13.6593 5.53338 13.7993 5.91338 13.9726 6.11338L14.8793 7.16671C15.2726 7.62671 15.2726 8.38005 14.8793 8.84671L13.9726 9.90005C13.7993 10.1 13.6593 10.4734 13.6593 10.74V11.8734C13.6593 12.58 13.0793 13.16 12.3726 13.16H11.2393C10.9793 13.16 10.5993 13.3 10.3993 13.4734L9.34594 14.38C8.88594 14.7734 8.1326 14.7734 7.66594 14.38L6.6126 13.4734C6.4126 13.3 6.03927 13.16 5.7726 13.16H4.61927C3.9126 13.16 3.3326 12.58 3.3326 11.8734V10.7334C3.3326 10.4734 3.1926 10.1 3.02594 9.90005L2.12594 8.84005C1.73927 8.38005 1.73927 7.63338 2.12594 7.17338L3.02594 6.11338C3.1926 5.91338 3.3326 5.54005 3.3326 5.28005V4.13338C3.3326 3.42671 3.9126 2.84671 4.61927 2.84671H5.7726C6.0326 2.84671 6.4126 2.70671 6.6126 2.53338L7.66594 1.63338Z",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),infinity:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M8.00057 7.99968C7.63475 8.7098 7.14429 9.34839 6.55257 9.88501C6.17966 10.258 5.70451 10.5121 5.1872 10.615C4.6699 10.718 4.13368 10.6652 3.64636 10.4634C3.15905 10.2616 2.74252 9.91983 2.44947 9.48128C2.15642 9.04273 2 8.52713 2 7.99968C2 7.47222 2.15642 6.95662 2.44947 6.51807C2.74252 6.07952 3.15905 5.73773 3.64636 5.53592C4.13368 5.33411 4.6699 5.28135 5.1872 5.38431C5.70451 5.48727 6.17966 5.74132 6.55257 6.11434C7.14429 6.65096 7.63475 7.28956 8.00057 7.99968ZM8.00057 7.99968C8.36639 7.28956 8.85685 6.65096 9.44857 6.11434C9.82148 5.74132 10.2966 5.48727 10.8139 5.38431C11.3312 5.28135 11.8675 5.33411 12.3548 5.53592C12.8421 5.73773 13.2586 6.07952 13.5517 6.51807C13.8447 6.95662 14.0011 7.47222 14.0011 7.99968C14.0011 8.52713 13.8447 9.04273 13.5517 9.48128C13.2586 9.91983 12.8421 10.2616 12.3548 10.4634C11.8675 10.6652 11.3312 10.718 10.8139 10.615C10.2966 10.5121 9.82148 10.258 9.44857 9.88501C8.85685 9.34839 8.36639 8.7098 8.00057 7.99968Z",stroke:"#currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})}),anchor:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"#currentColor",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M8 14.6663C7.32222 14.6663 6.62778 14.5441 5.91667 14.2997C5.20556 14.0552 4.56111 13.7219 3.98333 13.2997C3.40556 12.8775 2.93067 12.383 2.55867 11.8163C2.18667 11.2497 2.00044 10.6441 2 9.99967V7.99967L4.66667 9.99967L3.63333 11.033C3.95556 11.5997 4.46667 12.0886 5.16667 12.4997C5.86667 12.9108 6.58889 13.1719 7.33333 13.283V7.33301H5.33333V5.99967H7.33333V5.21634C6.94444 5.0719 6.62511 4.83012 6.37533 4.49101C6.12556 4.1519 6.00044 3.7659 6 3.33301C6 2.77745 6.19444 2.30523 6.58333 1.91634C6.97222 1.52745 7.44444 1.33301 8 1.33301C8.55556 1.33301 9.02778 1.52745 9.41667 1.91634C9.80556 2.30523 10 2.77745 10 3.33301C10 3.76634 9.87511 4.15256 9.62533 4.49167C9.37556 4.83079 9.056 5.07234 8.66667 5.21634V5.99967H10.6667V7.33301H8.66667V13.283C9.41111 13.1719 10.1333 12.9108 10.8333 12.4997C11.5333 12.0886 12.0444 11.5997 12.3667 11.033L11.3333 9.99967L14 7.99967V9.99967C14 10.6441 13.814 11.2497 13.442 11.8163C13.07 12.383 12.5949 12.8775 12.0167 13.2997C11.4384 13.7219 10.794 14.0552 10.0833 14.2997C9.37267 14.5441 8.67822 14.6663 8 14.6663ZM8 3.99967C8.18889 3.99967 8.34733 3.9359 8.47533 3.80834C8.60333 3.68079 8.66711 3.52234 8.66667 3.33301C8.66622 3.14367 8.60222 2.98545 8.47467 2.85834C8.34711 2.73123 8.18889 2.66723 8 2.66634C7.81111 2.66545 7.65289 2.72945 7.52533 2.85834C7.39778 2.98723 7.33378 3.14545 7.33333 3.33301C7.33289 3.52056 7.39689 3.67901 7.52533 3.80834C7.65378 3.93767 7.812 4.00145 8 3.99967Z",fill:"#none"})}),"increment-quota":o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M6.66634 2.99967C6.66634 2.0792 5.92014 1.33301 4.99967 1.33301C4.07921 1.33301 3.33301 2.0792 3.33301 2.99967V6.33301C3.33301 7.25347 4.07921 7.99967 4.99967 7.99967C5.92014 7.99967 6.66634 7.25347 6.66634 6.33301V2.99967Z",stroke:"#currentColor",strokeWidth:"1.33333"}),o.jsx("path",{d:"M11.9485 7.33301V1.33301L9.88574 2.83301",stroke:"#currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M10.667 10.667L12.667 12.667L10.667 14.667",stroke:"#currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M12.6667 12.667H5",stroke:"#currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})]}),"override-quota":o.jsxs("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M3.51643 8.61065V7.09422C3.51643 5.88767 3.99573 4.73054 4.84889 3.87738C5.70205 3.02422 6.85918 2.54492 8.06573 2.54492C9.27227 2.54492 10.4294 3.02422 11.2826 3.87738C12.1357 4.73054 12.2359 5.19868 12.615 5.95689M2 13.1599C2 13.5621 2.15977 13.9478 2.44415 14.2322C2.72854 14.5166 3.11425 14.6764 3.51643 14.6764C3.91861 14.6764 4.30432 14.5166 4.58871 14.2322C4.8731 13.9478 5.03286 13.5621 5.03286 13.1599C5.03286 12.7578 4.8731 12.372 4.58871 12.0877C4.30432 11.8033 3.91861 11.6435 3.51643 11.6435C3.11425 11.6435 2.72854 11.8033 2.44415 12.0877C2.15977 12.372 2 12.7578 2 13.1599Z",stroke:"#currentColor",strokeWidth:"1.51643",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M9.96094 5.52148L12.8454 6.94546L14.2694 4.06096",stroke:"#currentColor",strokeWidth:"1.51643",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M13.2906 14.6753V10.126L11.7266 11.2633",stroke:"#currentColor",strokeWidth:"1.36479",strokeLinecap:"round",strokeLinejoin:"round"})]}),sandbox:o.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M19.953 8.017L21 15M21 15V17C21 17.7956 20.6839 18.5587 20.1213 19.1213C19.5587 19.6839 18.7956 20 18 20H6C5.20435 20 4.44129 19.6839 3.87868 19.1213C3.31607 18.5587 3 17.7956 3 17V15M21 15H3M3 15L4.245 6.703C4.31611 6.22948 4.55474 5.79719 4.91752 5.48468C5.28031 5.17218 5.74317 5.0002 6.222 5H10M13 3L18.5 4.5M15.75 3.75L13.75 10.75",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M7 10.5C8.66667 9.83333 10.3333 9.83333 12 10.5C13.6667 11.1667 15.3333 11.1667 17 10.5",stroke:"#currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),"coming-soon":o.jsx("svg",{width:"567",height:"477",viewBox:"0 0 567 477",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsxs("g",{id:"Wallet is Empty",children:[o.jsx("path",{id:"Fill 1",fillRule:"evenodd",clipRule:"evenodd",d:"M381.279 454.698C381.279 458.397 333.675 461.397 274.952 461.397C216.228 461.397 168.621 458.397 168.621 454.698C168.621 451.001 216.228 448.001 274.952 448.001C333.675 448.001 381.279 451.001 381.279 454.698Z",fill:"#DCDCE2"}),o.jsx("path",{id:"Stroke 3",d:"M261.521 24.3589C203.517 29.2691 182.198 78.3659 199.663 106.985C211.986 127.177 232.868 154.466 271.795 147.92C310.719 141.373 313.999 105.349 293.499 100.449C272.999 95.5507 199.968 118.404 208.221 171.199C214.179 209.292 265.822 220.272 265.822 220.272",stroke:"#DCDCE2",strokeWidth:"1.74009",strokeDasharray:"6.09"}),o.jsx("path",{id:"Fill 13",fillRule:"evenodd",clipRule:"evenodd",d:"M307.202 7.73247C305.109 7.2283 303.812 5.1179 304.316 3.00427C304.818 0.905186 306.933 -0.395634 309.024 0.108534C311.127 0.615935 312.411 2.73441 311.911 4.83512C311.405 6.94713 309.306 8.23825 307.202 7.73247Z",fill:"#DCDCE2"}),o.jsx("path",{id:"Stroke 25",d:"M19.5938 265.483V270.506",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 27",d:"M9.54492 270.506L12.8939 273.855",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 29",d:"M4.52344 280.554H9.54685",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 31",d:"M9.54492 290.6L12.8939 287.251",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 33",d:"M19.5938 295.623V290.599",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 35",d:"M29.64 290.6L26.291 287.251",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 37",d:"M34.6601 280.554H29.6367",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 39",d:"M29.64 270.506L26.291 273.855",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 41",d:"M277.465 59.5232V62.8721",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 43",d:"M269.092 67.8955H272.441",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 45",d:"M277.465 77.941V74.592",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 47",d:"M287.505 69.5706H284.156",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 49",d:"M93.2695 191.806V196.829",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 51",d:"M78.1992 206.877H83.2226",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 53",d:"M91.5938 220.273V215.249",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 55",d:"M106.666 206.877H101.643",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 57",d:"M434.86 367.625C438.559 367.625 441.558 370.624 441.558 374.324C441.558 378.022 438.559 381.021 434.86 381.021C431.161 381.021 428.162 378.022 428.162 374.324",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 59",d:"M466.564 458.951C467.419 464.93 463.286 470.473 457.335 471.33C451.388 472.187 445.872 468.035 445.02 462.055C444.167 456.074 448.298 450.531 454.249 449.674",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Fill 61",fillRule:"evenodd",clipRule:"evenodd",d:"M466.676 303.995C470.736 302.711 476.957 297.684 478.398 292.275C479.703 297.057 485.177 302.711 490.118 303.141C484.558 305.137 479.241 311.063 478.398 315.717C477.823 310.972 470.471 304.687 466.676 303.995Z",fill:"#EBECEF"}),o.jsx("path",{id:"Fill 63",fillRule:"evenodd",clipRule:"evenodd",d:"M46.3828 365.113C48.4134 364.472 51.5238 361.957 52.2443 359.253C52.8969 361.643 55.633 364.472 58.1041 364.686C55.3233 365.683 52.665 368.646 52.2443 370.974C51.9561 368.602 48.2809 365.459 46.3828 365.113Z",fill:"#EBECEF"}),o.jsx("path",{id:"Fill 65",fillRule:"evenodd",clipRule:"evenodd",d:"M83.2246 143.248C83.2246 146.023 80.975 148.271 78.2011 148.271C75.4257 148.271 73.1777 146.023 73.1777 143.248C73.1777 140.472 75.4257 138.224 78.2011 138.224C80.975 138.224 83.2246 140.472 83.2246 143.248Z",fill:"#D1D9E0"}),o.jsx("path",{id:"Fill 69",fillRule:"evenodd",clipRule:"evenodd",d:"M565.472 133.198C565.472 136.899 562.474 139.897 558.775 139.897C555.074 139.897 552.076 136.899 552.076 133.198C552.076 129.499 555.074 126.501 558.775 126.501C562.474 126.501 565.472 129.499 565.472 133.198Z",fill:"#EBECEF"}),o.jsx("path",{id:"Stroke 73",fillRule:"evenodd",clipRule:"evenodd",d:"M180.344 108.083C180.344 110.859 178.094 113.107 175.32 113.107C172.545 113.107 170.297 110.859 170.297 108.083C170.297 105.308 172.545 103.06 175.32 103.06C178.094 103.06 180.344 105.308 180.344 108.083Z",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("path",{id:"Stroke 75",fillRule:"evenodd",clipRule:"evenodd",d:"M102.348 425.793C98.8919 427.108 95.0247 425.372 93.7097 421.916C92.393 418.459 94.1305 414.592 97.5871 413.277C101.044 411.96 104.911 413.698 106.226 417.154C107.541 420.611 105.805 424.478 102.348 425.793Z",stroke:"#D2D8DF",strokeWidth:"2.5414",strokeLinecap:"round"}),o.jsx("g",{id:"timer",children:o.jsx("g",{id:"vuesax/bold/timer",children:o.jsxs("g",{id:"timer_2",children:[o.jsx("path",{id:"Vector",d:"M284.132 152.604C215.202 152.604 159.105 208.7 159.105 277.63C159.105 346.561 215.202 402.801 284.132 402.801C353.063 402.801 409.159 346.705 409.159 277.775C409.159 208.844 353.063 152.604 284.132 152.604ZM294.948 273.016C294.948 278.928 290.045 283.831 284.132 283.831C278.22 283.831 273.317 278.928 273.317 273.016V200.913C273.317 195 278.22 190.097 284.132 190.097C290.045 190.097 294.948 195 294.948 200.913V273.016Z",fill:"#D4D4D8"}),o.jsx("path",{id:"Vector_2",d:"M325.806 135.299H242.455C236.687 135.299 232.072 130.685 232.072 124.916C232.072 119.148 236.687 114.389 242.455 114.389H325.806C331.575 114.389 336.189 119.004 336.189 124.772C336.189 130.54 331.575 135.299 325.806 135.299Z",fill:"#D4D4D8"})]})})})]})}),import:o.jsxs("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M11.9999 9.12495C11.8415 9.12495 11.6832 9.06662 11.5582 8.94162C11.3165 8.69995 11.3165 8.29995 11.5582 8.05828L18.3915 1.22495C18.6332 0.983285 19.0332 0.983285 19.2749 1.22495C19.5165 1.46662 19.5165 1.86662 19.2749 2.10828L12.4415 8.94162C12.3249 9.05828 12.1665 9.12495 11.9999 9.12495Z",fill:"#292D32"}),o.jsx("path",{d:"M15.359 9.7916H11.334C10.9923 9.7916 10.709 9.50827 10.709 9.1666V5.1416C10.709 4.79993 10.9923 4.5166 11.334 4.5166C11.6757 4.5166 11.959 4.79993 11.959 5.1416V8.5416H15.359C15.7007 8.5416 15.984 8.82493 15.984 9.1666C15.984 9.50827 15.7007 9.7916 15.359 9.7916Z",fill:"#292D32"}),o.jsx("path",{d:"M12.9993 18.9584H7.99935C3.47435 18.9584 1.54102 17.0251 1.54102 12.5001V7.50008C1.54102 2.97508 3.47435 1.04175 7.99935 1.04175H9.66602C10.0077 1.04175 10.291 1.32508 10.291 1.66675C10.291 2.00841 10.0077 2.29175 9.66602 2.29175H7.99935C4.15768 2.29175 2.79102 3.65841 2.79102 7.50008V12.5001C2.79102 16.3417 4.15768 17.7084 7.99935 17.7084H12.9993C16.841 17.7084 18.2077 16.3417 18.2077 12.5001V10.8334C18.2077 10.4917 18.491 10.2084 18.8327 10.2084C19.1744 10.2084 19.4577 10.4917 19.4577 10.8334V12.5001C19.4577 17.0251 17.5243 18.9584 12.9993 18.9584Z",fill:"#292D32"})]}),extras:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M14 6H10M14 6V2H10L10 6M14 6L14 10H10M10 6L6 6M10 6V10M2 10V14H6V10M2 10L6 10M2 10L2 6H6M6 10L6 6M6 10H10",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})}),"card-receive":o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M1.33301 5.66699H9.66634",stroke:"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M4 11H5.33333",stroke:"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M7 11H9.66667",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M14.6663 9.35301V10.7397C14.6663 13.0797 14.073 13.6663 11.7063 13.6663H4.29301C1.92634 13.6663 1.33301 13.0797 1.33301 10.7397V5.25967C1.33301 2.91967 1.92634 2.33301 4.29301 2.33301H9.66634",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M13.333 2.33301V6.33301L14.6663 4.99967",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),o.jsx("path",{d:"M13.3333 6.33333L12 5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),radar:o.jsx("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:o.jsx("path",{d:"M3.99967 3.33333C5.11301 2.5 6.49967 2 7.99967 2C11.6797 2 14.6663 4.98667 14.6663 8.66667C14.6663 12.3467 11.6797 15.3333 7.99967 15.3333C4.31967 15.3333 1.33301 12.3467 1.33301 8.66667C1.33301 7.46 1.653 6.32666 2.21967 5.34666L7.99967 8.66667",stroke:"currentColor",strokeWidth:"1.2",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})}),subtitle:o.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{d:"M9.99967 15.1663H5.99967C2.37967 15.1663 0.833008 13.6197 0.833008 9.99967V5.99967C0.833008 2.37967 2.37967 0.833008 5.99967 0.833008H9.99967C13.6197 0.833008 15.1663 2.37967 15.1663 5.99967V9.99967C15.1663 13.6197 13.6197 15.1663 9.99967 15.1663ZM5.99967 1.83301C2.92634 1.83301 1.83301 2.92634 1.83301 5.99967V9.99967C1.83301 13.073 2.92634 14.1663 5.99967 14.1663H9.99967C13.073 14.1663 14.1663 13.073 14.1663 9.99967V5.99967C14.1663 2.92634 13.073 1.83301 9.99967 1.83301H5.99967Z",fill:"#27272A"}),o.jsx("path",{d:"M11.6669 11.8867H10.4336C10.1603 11.8867 9.93359 11.6601 9.93359 11.3867C9.93359 11.1134 10.1603 10.8867 10.4336 10.8867H11.6669C11.9403 10.8867 12.1669 11.1134 12.1669 11.3867C12.1669 11.6601 11.9403 11.8867 11.6669 11.8867Z",fill:"#27272A"}),o.jsx("path",{d:"M8.64634 11.8867H4.33301C4.05967 11.8867 3.83301 11.6601 3.83301 11.3867C3.83301 11.1134 4.05967 10.8867 4.33301 10.8867H8.64634C8.91967 10.8867 9.14634 11.1134 9.14634 11.3867C9.14634 11.6601 8.92634 11.8867 8.64634 11.8867Z",fill:"#27272A"}),o.jsx("path",{d:"M11.6671 9.37988H7.98047C7.70714 9.37988 7.48047 9.15322 7.48047 8.87988C7.48047 8.60655 7.70714 8.37988 7.98047 8.37988H11.6671C11.9405 8.37988 12.1671 8.60655 12.1671 8.87988C12.1671 9.15322 11.9405 9.37988 11.6671 9.37988Z",fill:"#27272A"}),o.jsx("path",{d:"M6.17967 9.37988H4.33301C4.05967 9.37988 3.83301 9.15322 3.83301 8.87988C3.83301 8.60655 4.05967 8.37988 4.33301 8.37988H6.17967C6.45301 8.37988 6.67967 8.60655 6.67967 8.87988C6.67967 9.15322 6.45301 9.37988 6.17967 9.37988Z",fill:"#27272A"})]})},ae=({name:e,size:t=24,color:n="currentColor"})=>{const r=hp[e];if(!r)return null;const s=n==="currentColor"?n:fp(n),{props:i}=r;return o.jsx("svg",{xmlns:i.xmlns,viewBox:i.viewBox,width:t,height:t,fill:i.fill==="none"?"none":s,stroke:i.fill==="none"?s:"none",children:i.children})};var ar=(e=>(e.NONE="none",e.DAILY="daily",e.WEEKLY="weekly",e.MONTHLY="monthly",e.QUARTERLY="quarterly",e.YEARLY="yearly",e.BI_ANNUALLY="biannually",e))(ar||{}),ge=(e=>(e.DAILY="daily",e.WEEKLY="weekly",e.MONTHLY="monthly",e.YEARLY="yearly",e.QUARTERLY="quarterly",e.BIANNUALLY="biannually",e.CUSTOM="custom",e))(ge||{}),vs=(e=>(e.InAdvance="in_advance",e.InArrears="in_arrears",e))(vs||{}),rn=(e=>(e.BOOLEAN="boolean",e.METERED="metered",e))(rn||{}),pp=(e=>(e.ARCHIVED="archived",e.ACTIVE="active",e.ALL="all",e))(pp||{}),mp=(e=>(e.SOFT="soft",e.HARD="hard",e))(mp||{}),Fe=(e=>(e.ACTIVE="active",e.IN_TRIAL="in_trial",e.CANCELED="canceled",e.EXPIRED="expired",e.DEACTIVATED="deactivated",e.PAUSED="paused",e))(Fe||{}),l1=(e=>(e.All="all",e.Draft="draft",e.Pending="pending",e.Open="open",e.Paid="paid",e.Due="due",e.Overdue="overdue",e.Voided="voided",e.WrittenOff="written_off",e.Refunded="refunded",e))(l1||{}),gp=(e=>(e.ONE_OFF="OneOff",e.FIXED_RECURRING="RecurringFixed",e.USAGE_BASED="UsageBased",e))(gp||{}),sn=(e=>(e.PER_UNIT="per_unit",e.PER_PACKAGE="per_package",e.FLAT="flat",e))(sn||{}),xp=(e=>(e.SUM="sum",e.COUNT_UNIQUE="count_unique",e.COUNT="count",e.AVERAGE="average",e.MAX="max",e.MIN="min",e.LATEST="latest",e))(xp||{}),c1=(e=>(e.PAY_AS_YOU_GO="in_arrears",e.UPFRONT_COMMITMENT="in_advance",e))(c1||{}),yp=(e=>(e.PER_USE="per_use",e.PERSISTENT_USE="persistent_use",e))(yp||{}),vp=(e=>(e.ROLLOVER="Rollover",e.INCLUDED="Included",e.PURCHASED="Purchased",e.PAY_AS_YOU_GO="Pay as you go",e))(vp||{});const bp=()=>({once:"once",daily:"per day",weekly:"per week",monthly:"per month",quarterly:"per quarter",yearly:"per year",biannually:"per 6 months"}),Cp={draft:{color:"bg-grey-600",text:"Draft"},pending:{color:"bg-orange-500",text:"Pending"},open:{color:"bg-blue-500",text:"Open"},voided:{color:"bg-neutral-400",text:"Voided"},paid:{color:"bg-green-600",text:"Paid"},written_off:{color:"bg-orange-500",text:"Written Off"},refunded:{color:"bg-blue-500",text:"Refunded"},overdue:{color:"bg-metrifox-danger",text:"Overdue"},due:{color:"bg-metrifox-danger",text:"Due"}},wp=e=>Cp[e]||{color:"bg-blue-500",text:""},kp={[Fe.ACTIVE]:{color:"bg-metrifox-success",text:"Active"},[Fe.IN_TRIAL]:{color:"bg-metrifox-blue",text:"In trial"},[Fe.CANCELED]:{color:"bg-metrifox-danger",text:"Canceled"},[Fe.EXPIRED]:{color:"bg-metrifox-danger",text:"Expired"},[Fe.DEACTIVATED]:{color:"bg-metrifox-danger",text:"Deactivated"},[Fe.PAUSED]:{color:"bg-grey-500",text:"Paused"}},jp=e=>kp[e]||{color:"bg-metrifox-success",text:""};function Ve(e){return Math.floor(e).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}const Lp=(e,t,n="-")=>{try{return t.split(/[.[\]]+/).filter(Boolean).reduce((r,s)=>r[s],e)??n}catch{return n}},u1=(e,t)=>t.find(n=>n.price.billing_interval===e),d1=(e,t)=>t?.filter(n=>n.price.billing_interval===e),Ep=(e,t=1)=>({[ge.QUARTERLY]:3,[ge.BIANNUALLY]:6,[ge.YEARLY]:12}[e]??1)*t,Sp={daily:"days",weekly:"weeks",monthly:"months",quarterly:"quarters",yearly:"years"},Mp=(e,t)=>e?.map((n,r)=>{const{first_unit:s,last_unit:i,unit_price:a,package_price:l,package_size:c,pricing_model:u,flat_fee:d}=n,f=$t(t),h=r===0,g=r===e.length-1,m=()=>u===sn.PER_UNIT?h&&i===-1?"per unit":h?`First ${i}`:g?`Last ${s}`:`${s} to ${i}`:u===sn.PER_PACKAGE?h?`First ${i}`:g?`Last ${s}`:`${s} to ${i}`:u===sn.FLAT?h?`First ${i}`:g?`Last ${s}`:`${s} to ${i}`:"",x=()=>u===sn.PER_UNIT?`${f}${ce(a)}`:u===sn.PER_PACKAGE&&c?`${f}${ce(l)}`:u===sn.FLAT?`${f}${ce(d)}`:"";return{label:m(),price:x(),package:c}}),f1=e=>{const t=e?.price?.owner,n=0,r=e?.price?.tiers?.find(f=>f.first_unit===n),s=$t(e?.price?.currency)||"";if(!r)return{price:null,label:null,currencySymbol:null};const{unit_price:i,package_price:a,package_size:l,pricing_model:c,flat_fee:u,percentage:d}=r;return u?{price:ce(u),label:"",currencySymbol:s,isPercentage:!1}:{per_unit:{price:ce(i),label:`${t?.feature?.unit_singular||t?.credit_unit_singular||t?.unit_singular}`,currencySymbol:s,isPercentage:!1},per_package:{price:ce(a),label:`${l} ${t?.feature?.unit_plural}`,currencySymbol:s,isPercentage:!1},percentage:{price:`${d}%`,label:`of ${t?.feature?.unit_plural}`,currencySymbol:s,isPercentage:!0}}[c]??{price:null,label:null,currencySymbol:null,isPercentage:null}},Tp=e=>{const t=new Set;for(const n of e)if(n){const r=[...n?.price_options||[],...n?.entitlement_price_options||[],...n?.credit_attachment_price_options||[]],s=r.some(i=>i.price?.invoice_timing===vs.InAdvance);r.forEach(i=>{const a=i.price.invoice_timing===vs.InAdvance&&i.price?.billing_interval,l=i.price.invoice_timing===vs.InArrears&&i.price?.billing_interval,c=s?a:l;c&&t.add(c)})}return Array.from(t)},ce=e=>{if(e==null||e==="")return"--";const t=Number(e),n="en";if(isNaN(t))return"--";if(t===0)return"0.00";const r=Math.abs(t);let s="";s=r.toFixed(6).split(".")[1]?.replace(/0+$/,"")||"";const i=s.match(/^0*/)?.[0].length||0,a=Math.min(i+2,6),l=Number(t.toFixed(a));return isFinite(l)?l.toLocaleString(n,{minimumFractionDigits:a,maximumFractionDigits:a}):"--"},Go=e=>{const t=new Map;for(const n of e){const r=n.feature?.id;r&&t.set(r,n)}return Array.from(t.values())},Dp=(e,t)=>[...e].sort((n,r)=>{const s=n.feature?.id,i=r.feature?.id,a=s?t.get(s)??1/0:1/0,l=i?t.get(i)??1/0:1/0;return a-l}),Pp=e=>{const t=new Map;e?.forEach(s=>{const{entitlements:i=[],base_entitlements:a=[]}=s||{};Go([...i,...a]).forEach(l=>{const c=l.feature?.id;if(c){const u=t.get(c);u?u.count+=1:t.set(c,{count:1,entitlement:l})}})});const n=Array.from(t.entries()).sort(([s,i],[a,l])=>{if(l.count!==i.count)return l.count-i.count;const c=i.entitlement.feature?.key||s,u=l.entitlement.feature?.key||a;return c.localeCompare(u)}),r=new Map;return n.forEach(([s],i)=>{r.set(s,i)}),{frequencyMap:t,featureOrderMap:r}},Ap=({productKey:e,checkoutUsername:t})=>{if(t)return`${`${window.location.protocol}//${window.location.host}`}/${t}/pricing/${e}`},Np=(e,t,n,r)=>{if(!e)return null;const s=Number(e.used||"0"),i=Number(e.amount||"0"),a=Number(e.balance||"0"),l=e.next_reset_at&&ys(e.next_reset_at),c=e.amount===null||i===-1;let u=0;return c?u=100:i>0&&(u=Math.min(s/i*100,100)),{pool:t,balance:a,used:s,amount:c?1/0:i,color:n,percent:u,isUnlimited:c,order:r,nextResetAt:l}},Rp=e=>{const t=[{key:"rollover_quantity_pool",name:"Rollover",color:"purple-500",order:1},{key:"included_pool",name:"Included",color:"cyan-500",order:2},{key:"purchased_pool",name:"Purchased",color:"blue-200",order:3},{key:"pay_as_you_go_pool",name:"Pay as you go",color:"blue-200",order:4}],n=[];for(const u of t){const d=e[u.key],f=Np(d,u.name,u.color,u.order);f&&n.push(f)}const r=n.reduce((u,d)=>u+d.used,0),s=n.filter(u=>!u.isUnlimited),i=s.reduce((u,d)=>u+d.amount,0),a=s.reduce((u,d)=>u+d.balance,0),l=n.some(u=>u.isUnlimited),c=n.length;return{processedPools:n,totalUsed:r,totalAmount:i,totalBalance:a,isAnyUnlimited:l,calculatedPoolCount:c}},h1=e=>e.includes("PurchasedCredit")?"Purchased credits":e.includes("IncludedCredit")?"Included credits":e.includes("Overage")?"Overage":e,Fp=e=>{const t=n=>new Date(n).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"});return{id:e.id,creditedDate:ys(e.created_at),source:h1(e.allocation_type),amount:e.amount,balance:e.amount-e.consumed,consumed:e.consumed,validUntil:e.valid_until?t(e.valid_until):"",orderId:e.order_id||null,orderNumber:e.order_number||null,allocationType:e.allocation_type}},p1=({width:e=170,height:t=28})=>o.jsxs("svg",{width:e,height:t,viewBox:"0 0 109 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[o.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.8067 11.1011L3.14332 4.129C3.05337 3.99689 3.0007 3.83743 3.0007 3.66554C3.0007 3.21055 3.36946 2.8418 3.82444 2.8418C4.27943 2.8418 4.64818 3.21067 4.64818 3.66554C4.64818 3.83302 4.59823 3.98875 4.51234 4.11871L6.77653 10.7372L8.01027 9.8381L9.28086 10.8577L11.5539 4.15702C11.4517 4.01983 11.3912 3.84975 11.3912 3.66554C11.3912 3.21055 11.76 2.8418 12.215 2.8418C12.67 2.8418 13.0387 3.21067 13.0387 3.66554C13.0387 3.83686 12.9864 3.99598 12.8969 4.12775L15.2467 11.0969C15.5919 11.1951 15.8447 11.5128 15.8447 11.8894C15.8447 12.3444 15.4758 12.7131 15.0208 12.7131C15.0119 12.7131 15.003 12.7129 14.994 12.7127C14.9374 12.7628 14.8811 12.8082 14.828 12.8471L8.89074 17.211C8.89153 17.2255 8.89187 17.2401 8.89187 17.2548C8.89187 17.7098 8.523 18.0786 8.06802 18.0786C7.61304 18.0786 7.24428 17.7097 7.24428 17.2548V17.2547L1.19998 12.6988C1.15014 12.7081 1.09895 12.7131 1.0464 12.7131C0.591413 12.7131 0.222656 12.3442 0.222656 11.8894C0.222656 11.5179 0.468569 11.2037 0.806473 11.1011H0.8067ZM5.61127 11.616L3.76839 6.28006L2.00383 11.7247L3.88355 13.1032L5.61127 11.6159V11.616ZM10.3818 11.762L12.1125 13.0939L14.0868 11.5975L12.1785 6.44302L10.3819 11.7621L10.3818 11.762ZM7.9853 11.2693L4.84019 13.829L8.05672 16.3512L11.2279 13.9857L7.9853 11.2693Z",fill:"#3D3D3D"}),o.jsx("path",{d:"M106.131 4.67773V4.50098H107.149V4.67773H106.736V5.78874H106.542V4.67773H106.131Z",fill:"#3D3D3D"}),o.jsx("path",{d:"M107.567 4.66281V5.78874H107.381V4.50098H107.752L108.059 5.62691H108.094L108.407 4.50098H108.777V5.78874H108.592V4.66281H108.556L108.248 5.78874H107.909L107.603 4.66281H107.567Z",fill:"#3D3D3D"}),o.jsx("path",{d:"M38.0201 16.5853V8.53632C38.0201 7.23736 37.6683 6.20512 36.9647 5.43958C36.2611 4.67415 35.252 4.29138 33.9377 4.29138C32.2831 4.29138 30.9763 4.94865 30.0175 6.26298C29.4144 4.94854 28.2855 4.29138 26.6309 4.29138C25.0382 4.29138 23.7701 4.94865 22.8267 6.26298V4.61606H19.6953V16.5852H22.9891V10.0902C22.9891 8.00256 23.7855 6.95879 25.3783 6.95879C26.0896 6.95879 26.569 7.16368 26.8165 7.57346C27.0639 7.98324 27.1876 8.55926 27.1876 9.30152V16.5851H30.4815V9.85821C30.4815 7.94074 31.247 6.98196 32.7779 6.98196C33.5511 6.98196 34.0613 7.19453 34.3088 7.61979C34.5562 8.04505 34.6799 8.65204 34.6799 9.44074V16.5852L38.0201 16.5853ZM51.1754 12.8739H48.0207C47.5568 14.0338 46.7449 14.6136 45.5851 14.6136C44.7036 14.6136 44.0193 14.343 43.5322 13.8017C43.0452 13.2605 42.7938 12.4718 42.7785 11.4357H51.361V11.1109C51.361 9.0078 50.8275 7.34156 49.7604 6.11222C48.6935 4.88277 47.2553 4.2681 45.446 4.2681C43.6985 4.2681 42.2604 4.87124 41.1314 6.07741C40.0026 7.28358 39.4382 8.81455 39.4382 10.6702C39.4382 12.5568 39.9987 14.0723 41.1199 15.2166C42.241 16.361 43.7218 16.9332 45.5619 16.9332C46.9382 16.9332 48.1251 16.5775 49.1226 15.8662C50.12 15.1548 50.8043 14.1574 51.1754 12.8739ZM48.0207 9.34808H42.7785C42.8711 8.51304 43.1573 7.85576 43.6367 7.37637C44.1161 6.89697 44.7191 6.65728 45.446 6.65728C46.2192 6.65728 46.8223 6.90861 47.2553 7.41106C47.6882 7.91373 47.9434 8.55937 48.0207 9.34808ZM59.158 4.61606H56.7224V0.997552H53.4517V4.61606H51.4568V6.84284H53.4517V13.0594C53.4517 14.4976 53.7107 15.4679 54.2288 15.9704C54.7468 16.473 55.7249 16.7243 57.1631 16.7243C57.6888 16.7243 58.3538 16.6934 59.158 16.6315V14.1264C58.8951 14.1574 58.5626 14.1729 58.1605 14.1729C57.8049 14.1729 57.5304 14.1459 57.337 14.0916C57.1437 14.0375 57.0007 13.9254 56.9079 13.7553C56.8151 13.5852 56.761 13.419 56.7455 13.2566C56.73 13.0942 56.7224 12.8352 56.7224 12.4795V6.84284H59.158V4.61606ZM67.8365 4.40733C67.5118 4.361 67.2721 4.33772 67.1174 4.33772C65.3235 4.33772 64.0323 5.16507 63.2437 6.81967V4.61606H60.1121V16.5852H63.406V11.1109C63.406 9.9511 63.661 9.02712 64.1714 8.33899C64.6818 7.65087 65.4781 7.30675 66.5606 7.30675C66.9472 7.30675 67.3724 7.3532 67.8363 7.44598L67.8365 4.40733ZM71.8061 0.0697271H68.5123V2.8532H71.8061V0.0697271ZM71.8061 4.61618H68.5123V16.5853H71.8061V4.61618ZM80.2526 0.0697271C80.1288 0.0697271 79.9509 0.0619314 79.719 0.0464489C79.4871 0.0309663 79.2745 0.0194383 79.0812 0.0116405C78.888 0.00384272 78.7062 0 78.5362 0C77.067 0 76.0156 0.313153 75.3814 0.939462C74.7475 1.56577 74.4305 2.58254 74.4305 3.98975V4.61606H72.482V6.84284H74.4305V16.5852H77.7243V6.84284H80.0438V4.61606H77.701V3.66507C77.701 3.1702 77.7976 2.84167 77.991 2.67927C78.1843 2.51688 78.5747 2.43573 79.1623 2.43573C79.2088 2.43573 79.5721 2.45122 80.2526 2.48207V0.0697271ZM86.681 4.26821C84.8099 4.26821 83.3021 4.84808 82.1577 6.00791C81.0134 7.16775 80.4412 8.6986 80.4412 10.6008C80.4412 12.5184 81.0056 14.057 82.1344 15.2168C83.2633 16.3766 84.7633 16.9565 86.6344 16.9565C88.5056 16.9565 90.0017 16.3766 91.1229 15.2168C92.244 14.0569 92.8046 12.5183 92.8046 10.6008C92.8046 8.69871 92.2441 7.16775 91.1229 6.00791C90.0017 4.84808 88.5212 4.26821 86.681 4.26821ZM86.5882 6.77345C87.5006 6.77345 88.2158 7.10977 88.7338 7.78241C89.2519 8.45517 89.5109 9.38684 89.5109 10.5775C89.5109 11.7992 89.2596 12.7541 88.757 13.4423C88.2545 14.1304 87.547 14.4744 86.6346 14.4744C85.7222 14.4744 85.0108 14.1342 84.5006 13.4538C83.9903 12.7734 83.7351 11.8223 83.7351 10.6007C83.7351 9.40989 83.9903 8.47438 84.5006 7.79394C85.0109 7.1135 85.7068 6.77345 86.5882 6.77345ZM105.032 4.61618H101.39L99.2796 7.81722L97.1456 4.61618H93.3878L97.3542 10.276L92.9935 16.5853H96.7281L99.2333 12.7115L101.762 16.5853H105.519L101.089 10.2064L105.032 4.61618Z",fill:"#3D3D3D"})]}),m1=({data:e})=>{const t=e?.customer,{address:n}=o1(t?.billing_configuration?.billing_address),{address:r}=Q9(t),s=t?.primary_phone||t?.phone_numbers[0]?.phone_number,i=n??r,a=e?.line_items||[],l=e?.charge_items||[],c=e?.usage_items||[],u=e?.currency?.symbol,d=[...a.map(h=>({...h,itemType:"line_item"})),...l.map(h=>({...h,itemType:"charge_item"})),...c.map(h=>({...h,itemType:"usage_item"}))],f=ep({...e?.tenant?.default_address},"No Tenant address provided");return o.jsxs(k,{children:[o.jsxs(k,{className:"h-max w-full flex items-center justify-between",children:[o.jsxs(k,{className:"flex items-center gap-3",children:[e?.tenant?.logo_url?o.jsx(k,{className:"h-[2.5rem] w-[2.5rem] border overflow-hidden rounded-full",children:o.jsx("img",{src:e?.tenant?.logo_url,alt:"logo"})}):o.jsx(k,{className:"rounded-full h-[2.8rem] w-[2.8rem] bg-grey-200 p-3",children:o.jsx(ae,{name:"logo-placeholder",size:20})}),o.jsx(Yo,{variant:"h5",className:"text-metrifox-black font-bold",children:e?.tenant?.business_name})]}),o.jsxs(k,{children:[o.jsx(Yo,{variant:"h5",className:"text-metrifox-black font-bold uppercase",children:"Invoice"}),o.jsx(B,{variant:"body7",className:"text-metrifox-black text-right",children:e?.invoice_number})]})]}),o.jsxs(k,{className:"bg-grey-100 px-3.5 py-5 mt-4 rounded-md flex items-center justify-between",children:[o.jsxs(k,{children:[o.jsx(U,{variant:"label8",className:"font-medium text-grey-700",children:"Invoice no"}),o.jsx(B,{variant:"body7",className:"font-light text-grey-500 text-center mt-0.5",children:e?.invoice_number||"-"})]}),o.jsxs(k,{children:[o.jsx(U,{variant:"label8",className:"font-medium text-grey-700",children:"Issue date"}),o.jsx(B,{variant:"body7",className:"font-light text-grey-500 mt-0.5",children:ct(e?.issued_at)})]}),o.jsxs(k,{children:[o.jsx(U,{variant:"label8",className:"font-medium text-grey-700",children:"Due date"}),o.jsx(B,{variant:"body7",className:"font-light text-grey-500 mt-0.5",children:ct(e?.due_at)})]})]}),o.jsxs(k,{className:"mt-6 flex justify-between",children:[o.jsxs(k,{className:"text-gray-500 max-w-[12rem]",children:[o.jsx(U,{variant:"label8",className:"font-medium text-grey-700",children:"From"}),o.jsxs(k,{className:"text-gray-500 font-light space-y-1 mt-1",children:[o.jsx(B,{variant:"body7",children:e?.tenant?.business_name}),o.jsx(B,{variant:"body7",children:f})]})]}),o.jsxs(k,{className:"text-right max-w-[12rem] ",children:[o.jsx(U,{variant:"label8",className:"font-medium text-grey-700",children:"Billed to"}),o.jsxs(k,{className:"text-gray-500 font-light space-y-1 mt-1",children:[o.jsx(U,{variant:"label8",className:"font-medium text-metrifox-blue underline",children:e?.customer?.full_name}),o.jsx(B,{variant:"body7",children:i}),o.jsx(B,{variant:"body7",children:e?.customer?.primary_email}),o.jsxs(B,{variant:"body7",children:[" ",s]})]})]})]}),o.jsx(k,{className:"mt-8",children:o.jsxs(k,{className:"w-full",children:[o.jsxs(k,{className:"bg-grey-200 p-2 rounded-md font-medium text-grey-700 grid grid-cols-5 gap-x-6",children:[o.jsx(U,{variant:"label8",className:"w-[12rem]",children:"Item name"}),o.jsx(U,{variant:"label8",children:"Price"}),o.jsx(U,{variant:"label8",children:"Qty"}),o.jsx(U,{variant:"label8",children:"Subtotal"}),o.jsx(U,{variant:"label8",children:"Amount"})]}),o.jsx(k,{children:d?.map(h=>o.jsxs(k,{className:"text-left font-normal text-grey-700 pt-6 pb-2 grid grid-cols-5 gap-x-6 border-t border-grey-200 px-3 py-5",children:[o.jsxs(k,{className:"w-full",children:[o.jsx(U,{variant:"label8",className:"font-medium text-metrifox-blue",children:h?.name}),o.jsx(B,{variant:"body8",children:h?.description})]}),o.jsx(B,{variant:"body6",color:"text-metrifox-black",children:h.itemType==="usage_item"?"Tier based pricing":`${u}${ce(h.unit_price)}`}),o.jsx(B,{variant:"body8",children:h?.quantity}),o.jsxs(B,{variant:"body8",children:[u,ce(h?.total_amount)]}),o.jsxs(B,{variant:"body8",children:[u,ce(h?.amount)]})]},h?.id))})]})}),o.jsxs(k,{className:"bg-neutral-100 p-2.5 w-[50%] ml-auto rounded-sm mt-5",children:[o.jsxs(k,{className:"flex justify-between border-b pb-2",children:[o.jsxs(k,{children:[o.jsx(U,{variant:"label8",className:"font-medium text-neutral-900",children:"Subtotal"}),o.jsxs(k,{className:"text-neutral-500 space-y-1 my-2",children:[o.jsx(B,{variant:"body8",children:"Discount"}),o.jsx(B,{variant:"body8",children:"Tax"})]}),o.jsx(U,{variant:"label8",className:"font-medium text-grey-800",children:"Grand total"})]}),o.jsxs(k,{className:"text-right",children:[o.jsxs(U,{variant:"label8",className:"font-medium text-grey-800",children:[u,ce(e?.summary?.items_subtotal)]}),o.jsxs(k,{className:"text-neutral-500 space-y-1 my-2",children:[o.jsxs(B,{variant:"body8",children:[u,ce(e?.summary?.total_discounts)]}),o.jsxs(B,{variant:"body8",children:[u,ce(e?.summary?.total_tax_amount)]})]}),o.jsxs(U,{variant:"label8",className:"font-medium text-grey-800",children:[u,ce(e?.summary?.total_amount_paid)]})]})]}),o.jsxs(k,{className:"flex justify-between pt-2",children:[o.jsxs(k,{className:"space-y-3 font-medium text-neutral-900",children:[o.jsx(U,{variant:"label8",children:"Amount paid"}),o.jsx(U,{variant:"label8",children:"Amount due"})]}),o.jsxs(k,{className:"text-right space-y-3 font-medium text-grey-800",children:[o.jsxs(U,{variant:"label8",children:[u,ce(e?.summary?.total_amount_paid)]}),o.jsxs(U,{variant:"label7",children:[u,ce(e?.summary?.total_outstanding_amount)]})]})]})]}),e?.comment&&o.jsxs(k,{className:"flex items-center gap-1 text-[.625rem] bg-metrifox-white p-2 mt-40 border-[0.03rem] border-grey-300 rounded",children:[o.jsx(B,{variant:"body8",children:"Note:"}),o.jsx(B,{variant:"body8",children:e?.comment})]}),o.jsx(k,{className:"border-t-[0.03rem] border-grey-300 pb-3 w-full mt-20",children:o.jsxs(k,{className:"flex items-center justify-center gap-2 mt-1",children:[o.jsx(B,{variant:"body8",className:"text-metrifox-black",children:"Powered by"}),o.jsx(p1,{height:30,width:100})]})})]})},g1=p.createContext({});function qo(e){const t=p.useRef(null);return t.current===null&&(t.current=e()),t.current}const Xo=typeof window<"u",x1=Xo?p.useLayoutEffect:p.useEffect,Jo=p.createContext(null);function Qo(e,t){e.indexOf(t)===-1&&e.push(t)}function ei(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const St=(e,t,n)=>n>t?t:n<e?e:n;function ti(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Nn=()=>{},Mt=()=>{};process.env.NODE_ENV!=="production"&&(Nn=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(ti(t,n))},Mt=(e,t,n)=>{if(!e)throw new Error(ti(t,n))});const Tt={},y1=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function v1(e){return typeof e=="object"&&e!==null}const b1=e=>/^0[^.\s]+$/u.test(e);function ni(e){let t;return()=>(t===void 0&&(t=e()),t)}const Je=e=>e,Vp=(e,t)=>n=>t(e(n)),lr=(...e)=>e.reduce(Vp),cr=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class ri{constructor(){this.subscriptions=[]}add(t){return Qo(this.subscriptions,t),()=>ei(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let i=0;i<s;i++){const a=this.subscriptions[i];a&&a(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ut=e=>e*1e3,Qe=e=>e/1e3;function C1(e,t){return t?e*(1e3/t):0}const w1=new Set;function si(e,t,n){e||w1.has(t)||(console.warn(ti(t,n)),w1.add(t))}const k1=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,$p=1e-7,Op=12;function _p(e,t,n,r,s){let i,a,l=0;do a=t+(n-t)/2,i=k1(a,r,s)-e,i>0?n=a:t=a;while(Math.abs(i)>$p&&++l<Op);return a}function ur(e,t,n,r){if(e===t&&n===r)return Je;const s=i=>_p(i,0,1,e,n);return i=>i===0||i===1?i:k1(s(i),t,r)}const j1=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,L1=e=>t=>1-e(1-t),E1=ur(.33,1.53,.69,.99),oi=L1(E1),S1=j1(oi),M1=e=>(e*=2)<1?.5*oi(e):.5*(2-Math.pow(2,-10*(e-1))),ii=e=>1-Math.sin(Math.acos(e)),T1=L1(ii),D1=j1(ii),Bp=ur(.42,0,1,1),Ip=ur(0,0,.58,1),P1=ur(.42,0,.58,1),Hp=e=>Array.isArray(e)&&typeof e[0]!="number",A1=e=>Array.isArray(e)&&typeof e[0]=="number",N1={linear:Je,easeIn:Bp,easeInOut:P1,easeOut:Ip,circIn:ii,circInOut:D1,circOut:T1,backIn:oi,backInOut:S1,backOut:E1,anticipate:M1},Wp=e=>typeof e=="string",R1=e=>{if(A1(e)){Mt(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,s]=e;return ur(t,n,r,s)}else if(Wp(e))return Mt(N1[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),N1[e];return e},bs=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Up(e,t){let n=new Set,r=new Set,s=!1,i=!1;const a=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1};function c(d){a.has(d)&&(u.schedule(d),e()),d(l)}const u={schedule:(d,f=!1,h=!1)=>{const m=h&&s?n:r;return f&&a.add(d),m.has(d)||m.add(d),d},cancel:d=>{r.delete(d),a.delete(d)},process:d=>{if(l=d,s){i=!0;return}s=!0,[n,r]=[r,n],n.forEach(c),n.clear(),s=!1,i&&(i=!1,u.process(d))}};return u}const Zp=40;function F1(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,a=bs.reduce((v,j)=>(v[j]=Up(i),v),{}),{setup:l,read:c,resolveKeyframes:u,preUpdate:d,update:f,preRender:h,render:g,postRender:m}=a,x=()=>{const v=Tt.useManualTiming?s.timestamp:performance.now();n=!1,Tt.useManualTiming||(s.delta=r?1e3/60:Math.max(Math.min(v-s.timestamp,Zp),1)),s.timestamp=v,s.isProcessing=!0,l.process(s),c.process(s),u.process(s),d.process(s),f.process(s),h.process(s),g.process(s),m.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(x))},y=()=>{n=!0,r=!0,s.isProcessing||e(x)};return{schedule:bs.reduce((v,j)=>{const w=a[j];return v[j]=(L,T=!1,A=!1)=>(n||y(),w.schedule(L,T,A)),v},{}),cancel:v=>{for(let j=0;j<bs.length;j++)a[bs[j]].cancel(v)},state:s,steps:a}}const{schedule:ue,cancel:Dt,state:Ee,steps:ai}=F1(typeof requestAnimationFrame<"u"?requestAnimationFrame:Je,!0);let Cs;function zp(){Cs=void 0}const He={now:()=>(Cs===void 0&&He.set(Ee.isProcessing||Tt.useManualTiming?Ee.timestamp:performance.now()),Cs),set:e=>{Cs=e,queueMicrotask(zp)}},V1=e=>t=>typeof t=="string"&&t.startsWith(e),li=V1("--"),Kp=V1("var(--"),ci=e=>Kp(e)?Yp.test(e.split("/*")[0].trim()):!1,Yp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Rn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},dr={...Rn,transform:e=>St(0,1,e)},ws={...Rn,default:1},fr=e=>Math.round(e*1e5)/1e5,ui=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Gp(e){return e==null}const qp=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,di=(e,t)=>n=>!!(typeof n=="string"&&qp.test(n)&&n.startsWith(e)||t&&!Gp(n)&&Object.prototype.hasOwnProperty.call(n,t)),$1=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,i,a,l]=r.match(ui);return{[e]:parseFloat(s),[t]:parseFloat(i),[n]:parseFloat(a),alpha:l!==void 0?parseFloat(l):1}},Xp=e=>St(0,255,e),fi={...Rn,transform:e=>Math.round(Xp(e))},on={test:di("rgb","red"),parse:$1("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+fi.transform(e)+", "+fi.transform(t)+", "+fi.transform(n)+", "+fr(dr.transform(r))+")"};function Jp(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const hi={test:di("#"),parse:Jp,transform:on.transform},hr=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Ot=hr("deg"),bt=hr("%"),X=hr("px"),Qp=hr("vh"),e6=hr("vw"),O1=(()=>({...bt,parse:e=>bt.parse(e)/100,transform:e=>bt.transform(e*100)}))(),Fn={test:di("hsl","hue"),parse:$1("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+bt.transform(fr(t))+", "+bt.transform(fr(n))+", "+fr(dr.transform(r))+")"},Ce={test:e=>on.test(e)||hi.test(e)||Fn.test(e),parse:e=>on.test(e)?on.parse(e):Fn.test(e)?Fn.parse(e):hi.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?on.transform(e):Fn.transform(e),getAnimatableNone:e=>{const t=Ce.parse(e);return t.alpha=0,Ce.transform(t)}},t6=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function n6(e){return isNaN(e)&&typeof e=="string"&&(e.match(ui)?.length||0)+(e.match(t6)?.length||0)>0}const _1="number",B1="color",r6="var",s6="var(",I1="${}",o6=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function pr(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let i=0;const l=t.replace(o6,c=>(Ce.test(c)?(r.color.push(i),s.push(B1),n.push(Ce.parse(c))):c.startsWith(s6)?(r.var.push(i),s.push(r6),n.push(c)):(r.number.push(i),s.push(_1),n.push(parseFloat(c))),++i,I1)).split(I1);return{values:n,split:l,indexes:r,types:s}}function H1(e){return pr(e).values}function W1(e){const{split:t,types:n}=pr(e),r=t.length;return s=>{let i="";for(let a=0;a<r;a++)if(i+=t[a],s[a]!==void 0){const l=n[a];l===_1?i+=fr(s[a]):l===B1?i+=Ce.transform(s[a]):i+=s[a]}return i}}const i6=e=>typeof e=="number"?0:Ce.test(e)?Ce.getAnimatableNone(e):e;function a6(e){const t=H1(e);return W1(e)(t.map(i6))}const _t={test:n6,parse:H1,createTransformer:W1,getAnimatableNone:a6};function pi(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function l6({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,i=0,a=0;if(!t)s=i=a=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;s=pi(c,l,e+1/3),i=pi(c,l,e),a=pi(c,l,e-1/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:r}}function ks(e,t){return n=>n>0?t:e}const fe=(e,t,n)=>e+(t-e)*n,mi=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},c6=[hi,on,Fn],u6=e=>c6.find(t=>t.test(e));function U1(e){const t=u6(e);if(Nn(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Fn&&(n=l6(n)),n}const Z1=(e,t)=>{const n=U1(e),r=U1(t);if(!n||!r)return ks(e,t);const s={...n};return i=>(s.red=mi(n.red,r.red,i),s.green=mi(n.green,r.green,i),s.blue=mi(n.blue,r.blue,i),s.alpha=fe(n.alpha,r.alpha,i),on.transform(s))},gi=new Set(["none","hidden"]);function d6(e,t){return gi.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function f6(e,t){return n=>fe(e,t,n)}function xi(e){return typeof e=="number"?f6:typeof e=="string"?ci(e)?ks:Ce.test(e)?Z1:m6:Array.isArray(e)?z1:typeof e=="object"?Ce.test(e)?Z1:h6:ks}function z1(e,t){const n=[...e],r=n.length,s=e.map((i,a)=>xi(i)(i,t[a]));return i=>{for(let a=0;a<r;a++)n[a]=s[a](i);return n}}function h6(e,t){const n={...e,...t},r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=xi(e[s])(e[s],t[s]));return s=>{for(const i in r)n[i]=r[i](s);return n}}function p6(e,t){const n=[],r={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){const i=t.types[s],a=e.indexes[i][r[i]],l=e.values[a]??0;n[s]=l,r[i]++}return n}const m6=(e,t)=>{const n=_t.createTransformer(t),r=pr(e),s=pr(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?gi.has(e)&&!s.values.length||gi.has(t)&&!r.values.length?d6(e,t):lr(z1(p6(r,s),s.values),n):(Nn(!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.`,"complex-values-different"),ks(e,t))};function K1(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?fe(e,t,n):xi(e)(e,t)}const g6=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ue.update(t,n),stop:()=>Dt(t),now:()=>Ee.isProcessing?Ee.timestamp:He.now()}},Y1=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let i=0;i<s;i++)r+=Math.round(e(i/(s-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},js=2e4;function yi(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<js;)t+=n,r=e.next(t);return t>=js?1/0:t}function x6(e,t=100,n){const r=n({...e,keyframes:[0,t]}),s=Math.min(yi(r),js);return{type:"keyframes",ease:i=>r.next(s*i).value/t,duration:Qe(s)}}const y6=5;function G1(e,t,n){const r=Math.max(t-y6,0);return C1(n-e(r),t-r)}const he={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},vi=.001;function v6({duration:e=he.duration,bounce:t=he.bounce,velocity:n=he.velocity,mass:r=he.mass}){let s,i;Nn(e<=ut(he.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-t;a=St(he.minDamping,he.maxDamping,a),e=St(he.minDuration,he.maxDuration,Qe(e)),a<1?(s=u=>{const d=u*a,f=d*e,h=d-n,g=bi(u,a),m=Math.exp(-f);return vi-h/g*m},i=u=>{const f=u*a*e,h=f*n+n,g=Math.pow(a,2)*Math.pow(u,2)*e,m=Math.exp(-f),x=bi(Math.pow(u,2),a);return(-s(u)+vi>0?-1:1)*((h-g)*m)/x}):(s=u=>{const d=Math.exp(-u*e),f=(u-n)*e+1;return-vi+d*f},i=u=>{const d=Math.exp(-u*e),f=(n-u)*(e*e);return d*f});const l=5/e,c=C6(s,i,l);if(e=ut(e),isNaN(c))return{stiffness:he.stiffness,damping:he.damping,duration:e};{const u=Math.pow(c,2)*r;return{stiffness:u,damping:a*2*Math.sqrt(r*u),duration:e}}}const b6=12;function C6(e,t,n){let r=n;for(let s=1;s<b6;s++)r=r-e(r)/t(r);return r}function bi(e,t){return e*Math.sqrt(1-t*t)}const w6=["duration","bounce"],k6=["stiffness","damping","mass"];function q1(e,t){return t.some(n=>e[n]!==void 0)}function j6(e){let t={velocity:he.velocity,stiffness:he.stiffness,damping:he.damping,mass:he.mass,isResolvedFromDuration:!1,...e};if(!q1(e,k6)&&q1(e,w6))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,i=2*St(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:he.mass,stiffness:s,damping:i}}else{const n=v6(e);t={...t,...n,mass:he.mass},t.isResolvedFromDuration=!0}return t}function Ls(e=he.visualDuration,t=he.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const i=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:i},{stiffness:c,damping:u,mass:d,duration:f,velocity:h,isResolvedFromDuration:g}=j6({...n,velocity:-Qe(n.velocity||0)}),m=h||0,x=u/(2*Math.sqrt(c*d)),y=a-i,b=Qe(Math.sqrt(c/d)),C=Math.abs(y)<5;r||(r=C?he.restSpeed.granular:he.restSpeed.default),s||(s=C?he.restDelta.granular:he.restDelta.default);let v;if(x<1){const w=bi(b,x);v=L=>{const T=Math.exp(-x*b*L);return a-T*((m+x*b*y)/w*Math.sin(w*L)+y*Math.cos(w*L))}}else if(x===1)v=w=>a-Math.exp(-b*w)*(y+(m+b*y)*w);else{const w=b*Math.sqrt(x*x-1);v=L=>{const T=Math.exp(-x*b*L),A=Math.min(w*L,300);return a-T*((m+x*b*y)*Math.sinh(A)+w*y*Math.cosh(A))/w}}const j={calculatedDuration:g&&f||null,next:w=>{const L=v(w);if(g)l.done=w>=f;else{let T=w===0?m:0;x<1&&(T=w===0?ut(m):G1(v,w,L));const A=Math.abs(T)<=r,H=Math.abs(a-L)<=s;l.done=A&&H}return l.value=l.done?a:L,l},toString:()=>{const w=Math.min(yi(j),js),L=Y1(T=>j.next(w*T).value,w,30);return w+"ms "+L},toTransition:()=>{}};return j}Ls.applyToOptions=e=>{const t=x6(e,100,Ls);return e.ease=t.ease,e.duration=ut(t.duration),e.type="keyframes",e};function Ci({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:i=500,modifyTarget:a,min:l,max:c,restDelta:u=.5,restSpeed:d}){const f=e[0],h={done:!1,value:f},g=A=>l!==void 0&&A<l||c!==void 0&&A>c,m=A=>l===void 0?c:c===void 0||Math.abs(l-A)<Math.abs(c-A)?l:c;let x=n*t;const y=f+x,b=a===void 0?y:a(y);b!==y&&(x=b-f);const C=A=>-x*Math.exp(-A/r),v=A=>b+C(A),j=A=>{const H=C(A),V=v(A);h.done=Math.abs(H)<=u,h.value=h.done?b:V};let w,L;const T=A=>{g(h.value)&&(w=A,L=Ls({keyframes:[h.value,m(h.value)],velocity:G1(v,A,h.value),damping:s,stiffness:i,restDelta:u,restSpeed:d}))};return T(0),{calculatedDuration:null,next:A=>{let H=!1;return!L&&w===void 0&&(H=!0,j(A),T(A)),w!==void 0&&A>=w?L.next(A-w):(!H&&j(A),h)}}}function L6(e,t,n){const r=[],s=n||Tt.mix||K1,i=e.length-1;for(let a=0;a<i;a++){let l=s(e[a],e[a+1]);if(t){const c=Array.isArray(t)?t[a]||Je:t;l=lr(c,l)}r.push(l)}return r}function X1(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const i=e.length;if(Mt(i===t.length,"Both input and output ranges must be the same length","range-length"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=L6(t,r,s),c=l.length,u=d=>{if(a&&d<e[0])return t[0];let f=0;if(c>1)for(;f<e.length-2&&!(d<e[f+1]);f++);const h=cr(e[f],e[f+1],d);return l[f](h)};return n?d=>u(St(e[0],e[i-1],d)):u}function E6(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=cr(0,t,r);e.push(fe(n,1,s))}}function S6(e){const t=[0];return E6(t,e.length-1),t}function M6(e,t){return e.map(n=>n*t)}function T6(e,t){return e.map(()=>t||P1).splice(0,e.length-1)}function Vn({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=Hp(r)?r.map(R1):R1(r),i={done:!1,value:t[0]},a=M6(n&&n.length===t.length?n:S6(t),e),l=X1(a,t,{ease:Array.isArray(s)?s:T6(t,s)});return{calculatedDuration:e,next:c=>(i.value=l(c),i.done=c>=e,i)}}const D6=e=>e!==null;function wi(e,{repeat:t,repeatType:n="loop"},r,s=1){const i=e.filter(D6),l=s<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!l||r===void 0?i[l]:r}const P6={decay:Ci,inertia:Ci,tween:Vn,keyframes:Vn,spring:Ls};function J1(e){typeof e.type=="string"&&(e.type=P6[e.type])}class ki{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const A6=e=>e/100;class ji extends ki{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==He.now()&&this.tick(He.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;J1(t);const{type:n=Vn,repeat:r=0,repeatDelay:s=0,repeatType:i,velocity:a=0}=t;let{keyframes:l}=t;const c=n||Vn;process.env.NODE_ENV!=="production"&&c!==Vn&&Mt(l.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${l}`,"spring-two-frames"),c!==Vn&&typeof l[0]!="number"&&(this.mixKeyframes=lr(A6,K1(l[0],l[1])),l=[0,100]);const u=c({...t,keyframes:l});i==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...l].reverse(),velocity:-a})),u.calculatedDuration===null&&(u.calculatedDuration=yi(u));const{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:s,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:l,calculatedDuration:c}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:d,repeat:f,repeatType:h,repeatDelay:g,type:m,onUpdate:x,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const b=this.currentTime-u*(this.playbackSpeed>=0?1:-1),C=this.playbackSpeed>=0?b<0:b>s;this.currentTime=Math.max(b,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=s);let v=this.currentTime,j=r;if(f){const A=Math.min(this.currentTime,s)/l;let H=Math.floor(A),V=A%1;!V&&A>=1&&(V=1),V===1&&H--,H=Math.min(H,f+1),!!(H%2)&&(h==="reverse"?(V=1-V,g&&(V-=g/l)):h==="mirror"&&(j=a)),v=St(0,1,V)*l}const w=C?{done:!1,value:d[0]}:j.next(v);i&&(w.value=i(w.value));let{done:L}=w;!C&&c!==null&&(L=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&L);return T&&m!==Ci&&(w.value=wi(d,this.options,y,this.speed)),x&&x(w.value),T&&this.finish(),w}then(t,n){return this.finished.then(t,n)}get duration(){return Qe(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Qe(t)}get time(){return Qe(this.currentTime)}set time(t){t=ut(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(He.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Qe(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=g6,startTime:n}=this.options;this.driver||(this.driver=t(s=>this.tick(s))),this.options.onPlay?.();const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(He.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function N6(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const an=e=>e*180/Math.PI,Li=e=>{const t=an(Math.atan2(e[1],e[0]));return Ei(t)},R6={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Li,rotateZ:Li,skewX:e=>an(Math.atan(e[1])),skewY:e=>an(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Ei=e=>(e=e%360,e<0&&(e+=360),e),Q1=Li,eu=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),tu=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),F6={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:eu,scaleY:tu,scale:e=>(eu(e)+tu(e))/2,rotateX:e=>Ei(an(Math.atan2(e[6],e[5]))),rotateY:e=>Ei(an(Math.atan2(-e[2],e[0]))),rotateZ:Q1,rotate:Q1,skewX:e=>an(Math.atan(e[4])),skewY:e=>an(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Si(e){return e.includes("scale")?1:0}function Mi(e,t){if(!e||e==="none")return Si(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,s;if(n)r=F6,s=n;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=R6,s=l}if(!s)return Si(t);const i=r[t],a=s[1].split(",").map($6);return typeof i=="function"?i(a):a[i]}const V6=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Mi(n,t)};function $6(e){return parseFloat(e.trim())}const $n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],On=(()=>new Set($n))(),nu=e=>e===Rn||e===X,O6=new Set(["x","y","z"]),_6=$n.filter(e=>!O6.has(e));function B6(e){const t=[];return _6.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const ln={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),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:(e,{transform:t})=>Mi(t,"x"),y:(e,{transform:t})=>Mi(t,"y")};ln.translateX=ln.x,ln.translateY=ln.y;const cn=new Set;let Ti=!1,Di=!1,Pi=!1;function ru(){if(Di){const e=Array.from(cn).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=B6(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([i,a])=>{r.getValue(i)?.set(a)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Di=!1,Ti=!1,cn.forEach(e=>e.complete(Pi)),cn.clear()}function su(){cn.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Di=!0)})}function I6(){Pi=!0,su(),ru(),Pi=!1}class Ai{constructor(t,n,r,s,i,a=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=i,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(cn.add(this),Ti||(Ti=!0,ue.read(su),ue.resolveKeyframes(ru))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;if(t[0]===null){const i=s?.get(),a=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const l=r.readValue(n,a);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=a),s&&i===void 0&&s.set(t[0])}N6(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),cn.delete(this)}cancel(){this.state==="scheduled"&&(cn.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const H6=e=>e.startsWith("--");function W6(e,t,n){H6(t)?e.style.setProperty(t,n):e.style[t]=n}const U6=ni(()=>window.ScrollTimeline!==void 0),Z6={};function z6(e,t){const n=ni(e);return()=>Z6[t]??n()}const ou=z6(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),mr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,iu={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:mr([0,.65,.55,1]),circOut:mr([.55,0,1,.45]),backIn:mr([.31,.01,.66,-.59]),backOut:mr([.33,1.53,.69,.99])};function au(e,t){if(e)return typeof e=="function"?ou()?Y1(e,t):"ease-out":A1(e)?mr(e):Array.isArray(e)?e.map(n=>au(n,t)||iu.easeOut):iu[e]}function K6(e,t,n,{delay:r=0,duration:s=300,repeat:i=0,repeatType:a="loop",ease:l="easeOut",times:c}={},u=void 0){const d={[t]:n};c&&(d.offset=c);const f=au(l,s);Array.isArray(f)&&(d.easing=f);const h={delay:r,duration:s,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:i+1,direction:a==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(d,h)}function lu(e){return typeof e=="function"&&"applyToOptions"in e}function Y6({type:e,...t}){return lu(e)&&ou()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class G6 extends ki{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:r,keyframes:s,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:l,onComplete:c}=t;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=t,Mt(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=Y6(t);this.animation=K6(n,r,s,u,i),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const d=wi(s,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(d):W6(n,r,d),this.animation.cancel()}c?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Qe(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Qe(t)}get time(){return Qe(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=ut(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&U6()?(this.animation.timeline=t,Je):n(this)}}const cu={anticipate:M1,backInOut:S1,circInOut:D1};function q6(e){return e in cu}function X6(e){typeof e.ease=="string"&&q6(e.ease)&&(e.ease=cu[e.ease])}const uu=10;class J6 extends G6{constructor(t){X6(t),J1(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:s,element:i,...a}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const l=new ji({...a,autoplay:!1}),c=ut(this.finishedTime??this.time);n.setWithVelocity(l.sample(c-uu).value,l.sample(c).value,uu),l.stop()}}const du=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(_t.test(e)||e==="0")&&!e.startsWith("url("));function Q6(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function e7(e,t,n,r){const s=e[0];if(s===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],a=du(s,t),l=du(i,t);return Nn(a===l,`You are trying to animate ${t} from "${s}" to "${i}". "${a?i:s}" is not an animatable value.`,"value-not-animatable"),!a||!l?!1:Q6(e)||(n==="spring"||lu(n))&&r}function Ni(e){e.duration=0,e.type="keyframes"}const t7=new Set(["opacity","clipPath","filter","transform"]),n7=ni(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function r7(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:s,damping:i,type:a}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=t.owner.getProps();return n7()&&n&&t7.has(n)&&(n!=="transform"||!u)&&!c&&!r&&s!=="mirror"&&i!==0&&a!=="inertia"}const s7=40;class o7 extends ki{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:a="loop",keyframes:l,name:c,motionValue:u,element:d,...f}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=He.now();const h={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:i,repeatType:a,name:c,motionValue:u,element:d,...f},g=d?.KeyframeResolver||Ai;this.keyframeResolver=new g(l,(m,x,y)=>this.onKeyframesResolved(m,x,h,!y),c,u,d),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,r,s){this.keyframeResolver=void 0;const{name:i,type:a,velocity:l,delay:c,isHandoff:u,onUpdate:d}=r;this.resolvedAt=He.now(),e7(t,i,a,l)||((Tt.instantAnimations||!c)&&d?.(wi(t,r,n)),t[0]=t[t.length-1],Ni(r),r.repeat=0);const h={startTime:s?this.resolvedAt?this.resolvedAt-this.createdAt>s7?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},g=!u&&r7(h)?new J6({...h,element:h.motionValue.owner.current}):new ji(h);g.finished.then(()=>this.notifyFinished()).catch(Je),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),I6()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const i7=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function a7(e){const t=i7.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}const l7=4;function fu(e,t,n=1){Mt(n<=l7,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,s]=a7(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const a=i.trim();return y1(a)?parseFloat(a):a}return ci(s)?fu(s,t,n+1):s}function Ri(e,t){return e?.[t]??e?.default??e}const hu=new Set(["width","height","top","left","right","bottom",...$n]),c7={test:e=>e==="auto",parse:e=>e},pu=e=>t=>t.test(e),mu=[Rn,X,bt,Ot,e6,Qp,c7],gu=e=>mu.find(pu(e));function u7(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||b1(e):!0}const d7=new Set(["brightness","contrast","saturate","opacity"]);function f7(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(ui)||[];if(!r)return e;const s=n.replace(r,"");let i=d7.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+s+")"}const h7=/\b([a-z-]*)\(.*?\)/gu,Fi={..._t,getAnimatableNone:e=>{const t=e.match(h7);return t?t.map(f7).join(" "):e}},xu={...Rn,transform:Math.round},p7={rotate:Ot,rotateX:Ot,rotateY:Ot,rotateZ:Ot,scale:ws,scaleX:ws,scaleY:ws,scaleZ:ws,skew:Ot,skewX:Ot,skewY:Ot,distance:X,translateX:X,translateY:X,translateZ:X,x:X,y:X,z:X,perspective:X,transformPerspective:X,opacity:dr,originX:O1,originY:O1,originZ:X},Vi={borderWidth:X,borderTopWidth:X,borderRightWidth:X,borderBottomWidth:X,borderLeftWidth:X,borderRadius:X,radius:X,borderTopLeftRadius:X,borderTopRightRadius:X,borderBottomRightRadius:X,borderBottomLeftRadius:X,width:X,maxWidth:X,height:X,maxHeight:X,top:X,right:X,bottom:X,left:X,padding:X,paddingTop:X,paddingRight:X,paddingBottom:X,paddingLeft:X,margin:X,marginTop:X,marginRight:X,marginBottom:X,marginLeft:X,backgroundPositionX:X,backgroundPositionY:X,...p7,zIndex:xu,fillOpacity:dr,strokeOpacity:dr,numOctaves:xu},m7={...Vi,color:Ce,backgroundColor:Ce,outlineColor:Ce,fill:Ce,stroke:Ce,borderColor:Ce,borderTopColor:Ce,borderRightColor:Ce,borderBottomColor:Ce,borderLeftColor:Ce,filter:Fi,WebkitFilter:Fi},yu=e=>m7[e];function vu(e,t){let n=yu(e);return n!==Fi&&(n=_t),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const g7=new Set(["auto","none","0"]);function x7(e,t,n){let r=0,s;for(;r<e.length&&!s;){const i=e[r];typeof i=="string"&&!g7.has(i)&&pr(i).values.length&&(s=e[r]),r++}if(s&&n)for(const i of t)e[i]=vu(n,s)}class y7 extends Ai{constructor(t,n,r,s,i){super(t,n,r,s,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let u=t[c];if(typeof u=="string"&&(u=u.trim(),ci(u))){const d=fu(u,n.current);d!==void 0&&(t[c]=d),c===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!hu.has(r)||t.length!==2)return;const[s,i]=t,a=gu(s),l=gu(i);if(a!==l)if(nu(a)&&nu(l))for(let c=0;c<t.length;c++){const u=t[c];typeof u=="string"&&(t[c]=parseFloat(u))}else ln[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let s=0;s<t.length;s++)(t[s]===null||u7(t[s]))&&r.push(s);r.length&&x7(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ln[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const s=n[n.length-1];s!==void 0&&t.getValue(r,s).jump(s,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const s=t.getValue(n);s&&s.jump(this.measuredOrigin,!1);const i=r.length-1,a=r[i];r[i]=ln[n](t.measureViewportBox(),window.getComputedStyle(t.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([l,c])=>{t.getValue(l).set(c)}),this.resolveNoneKeyframes()}}function v7(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let r=document;const s=n?.[e]??r.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e)}const bu=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function b7(e){return v1(e)&&"offsetHeight"in e}const Cu=30,C7=e=>!isNaN(parseFloat(e)),gr={current:void 0};class w7{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{const s=He.now();if(this.updatedAt!==s&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const i of this.dependents)i.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=He.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=C7(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&si(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new ri);const r=this.events[t].add(n);return t==="change"?()=>{r(),ue.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return gr.current&&gr.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=He.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Cu)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Cu);return C1(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function un(e,t){return new w7(e,t)}const{schedule:$i}=F1(queueMicrotask,!1),dt={x:!1,y:!1};function wu(){return dt.x||dt.y}function k7(e){return e==="x"||e==="y"?dt[e]?null:(dt[e]=!0,()=>{dt[e]=!1}):dt.x||dt.y?null:(dt.x=dt.y=!0,()=>{dt.x=dt.y=!1})}function ku(e,t){const n=v7(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function ju(e){return!(e.pointerType==="touch"||wu())}function j7(e,t,n={}){const[r,s,i]=ku(e,n),a=l=>{if(!ju(l))return;const{target:c}=l,u=t(c,l);if(typeof u!="function"||!c)return;const d=f=>{ju(f)&&(u(f),c.removeEventListener("pointerleave",d))};c.addEventListener("pointerleave",d,s)};return r.forEach(l=>{l.addEventListener("pointerenter",a,s)}),i}const Lu=(e,t)=>t?e===t?!0:Lu(e,t.parentElement):!1,Oi=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,L7=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function E7(e){return L7.has(e.tagName)||e.tabIndex!==-1}const Es=new WeakSet;function Eu(e){return t=>{t.key==="Enter"&&e(t)}}function _i(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const S7=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Eu(()=>{if(Es.has(n))return;_i(n,"down");const s=Eu(()=>{_i(n,"up")}),i=()=>_i(n,"cancel");n.addEventListener("keyup",s,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Su(e){return Oi(e)&&!wu()}function M7(e,t,n={}){const[r,s,i]=ku(e,n),a=l=>{const c=l.currentTarget;if(!Su(l))return;Es.add(c);const u=t(c,l),d=(g,m)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",h),Es.has(c)&&Es.delete(c),Su(g)&&typeof u=="function"&&u(g,{success:m})},f=g=>{d(g,c===window||c===document||n.useGlobalTarget||Lu(c,g.target))},h=g=>{d(g,!1)};window.addEventListener("pointerup",f,s),window.addEventListener("pointercancel",h,s)};return r.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",a,s),b7(l)&&(l.addEventListener("focus",u=>S7(u,s)),!E7(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),i}function Mu(e){return v1(e)&&"ownerSVGElement"in e}function T7(e){return Mu(e)&&e.tagName==="svg"}function D7(...e){const t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],s=e[1+n],i=e[2+n],a=e[3+n],l=X1(s,i,a);return t?l(r):l}const Pe=e=>!!(e&&e.getVelocity),P7=[...mu,Ce,_t],A7=e=>P7.find(pu(e)),Bi=p.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function N7(e=!0){const t=p.useContext(Jo);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,i=p.useId();p.useEffect(()=>{if(e)return s(i)},[e]);const a=p.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,a]:[!0]}const Tu=p.createContext({strict:!1}),Du={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"]},_n={};for(const e in Du)_n[e]={isEnabled:t=>Du[e].some(n=>!!t[n])};function R7(e){for(const t in e)_n[t]={..._n[t],...e[t]}}const F7=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Ss(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||F7.has(e)}let Pu=e=>!Ss(e);function V7(e){typeof e=="function"&&(Pu=t=>t.startsWith("on")?!Ss(t):e(t))}try{V7(require("@emotion/is-prop-valid").default)}catch{}function $7(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||(Pu(s)||n===!0&&Ss(s)||!t&&!Ss(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}const Ms=p.createContext({});function Ts(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function xr(e){return typeof e=="string"||Array.isArray(e)}const Ii=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Hi=["initial",...Ii];function Ds(e){return Ts(e.animate)||Hi.some(t=>xr(e[t]))}function Au(e){return!!(Ds(e)||e.variants)}function O7(e,t){if(Ds(e)){const{initial:n,animate:r}=e;return{initial:n===!1||xr(n)?n:void 0,animate:xr(r)?r:void 0}}return e.inherit!==!1?t:{}}function _7(e){const{initial:t,animate:n}=O7(e,p.useContext(Ms));return p.useMemo(()=>({initial:t,animate:n}),[Nu(t),Nu(n)])}function Nu(e){return Array.isArray(e)?e.join(" "):e}const yr={};function B7(e){for(const t in e)yr[t]=e[t],li(t)&&(yr[t].isCSSVariable=!0)}function Ru(e,{layout:t,layoutId:n}){return On.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!yr[e]||e==="opacity")}const I7={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},H7=$n.length;function W7(e,t,n){let r="",s=!0;for(let i=0;i<H7;i++){const a=$n[i],l=e[a];if(l===void 0)continue;let c=!0;if(typeof l=="number"?c=l===(a.startsWith("scale")?1:0):c=parseFloat(l)===0,!c||n){const u=bu(l,Vi[a]);if(!c){s=!1;const d=I7[a]||a;r+=`${d}(${u}) `}n&&(t[a]=u)}}return r=r.trim(),n?r=n(t,s?"":r):s&&(r="none"),r}function Wi(e,t,n){const{style:r,vars:s,transformOrigin:i}=e;let a=!1,l=!1;for(const c in t){const u=t[c];if(On.has(c)){a=!0;continue}else if(li(c)){s[c]=u;continue}else{const d=bu(u,Vi[c]);c.startsWith("origin")?(l=!0,i[c]=d):r[c]=d}}if(t.transform||(a||n?r.transform=W7(t,e.transform,n):r.transform&&(r.transform="none")),l){const{originX:c="50%",originY:u="50%",originZ:d=0}=i;r.transformOrigin=`${c} ${u} ${d}`}}const Ui=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Fu(e,t,n){for(const r in t)!Pe(t[r])&&!Ru(r,n)&&(e[r]=t[r])}function U7({transformTemplate:e},t){return p.useMemo(()=>{const n=Ui();return Wi(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Z7(e,t){const n=e.style||{},r={};return Fu(r,n,e),Object.assign(r,U7(e,t)),r}function z7(e,t){const n={},r=Z7(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const K7={offset:"stroke-dashoffset",array:"stroke-dasharray"},Y7={offset:"strokeDashoffset",array:"strokeDasharray"};function G7(e,t,n=1,r=0,s=!0){e.pathLength=1;const i=s?K7:Y7;e[i.offset]=X.transform(-r);const a=X.transform(t),l=X.transform(n);e[i.array]=`${a} ${l}`}function Vu(e,{attrX:t,attrY:n,attrScale:r,pathLength:s,pathSpacing:i=1,pathOffset:a=0,...l},c,u,d){if(Wi(e,l,u),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h}=e;f.transform&&(h.transform=f.transform,delete f.transform),(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=d?.transformBox??"fill-box",delete f.transformBox),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&G7(f,s,i,a,!1)}const $u=()=>({...Ui(),attrs:{}}),Ou=e=>typeof e=="string"&&e.toLowerCase()==="svg";function q7(e,t,n,r){const s=p.useMemo(()=>{const i=$u();return Vu(i,t,Ou(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};Fu(i,e.style,e),s.style={...i,...s.style}}return s}const X7=["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 Zi(e){return typeof e!="string"||e.includes("-")?!1:!!(X7.indexOf(e)>-1||/[A-Z]/u.test(e))}function J7(e,t,n,{latestValues:r},s,i=!1){const l=(Zi(e)?q7:z7)(t,r,s,e),c=$7(t,typeof e=="string",i),u=e!==p.Fragment?{...c,...l,ref:n}:{},{children:d}=t,f=p.useMemo(()=>Pe(d)?d.get():d,[d]);return p.createElement(e,{...u,children:f})}function _u(e){const t=[{},{}];return e?.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function zi(e,t,n,r){if(typeof t=="function"){const[s,i]=_u(r);t=t(n!==void 0?n:e.custom,s,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,i]=_u(r);t=t(n!==void 0?n:e.custom,s,i)}return t}function Ps(e){return Pe(e)?e.get():e}function Q7({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,s){return{latestValues:e4(n,r,s,e),renderState:t()}}function e4(e,t,n,r){const s={},i=r(e,{});for(const h in i)s[h]=Ps(i[h]);let{initial:a,animate:l}=e;const c=Ds(e),u=Au(e);t&&u&&!c&&e.inherit!==!1&&(a===void 0&&(a=t.initial),l===void 0&&(l=t.animate));let d=n?n.initial===!1:!1;d=d||a===!1;const f=d?l:a;if(f&&typeof f!="boolean"&&!Ts(f)){const h=Array.isArray(f)?f:[f];for(let g=0;g<h.length;g++){const m=zi(e,h[g]);if(m){const{transitionEnd:x,transition:y,...b}=m;for(const C in b){let v=b[C];if(Array.isArray(v)){const j=d?v.length-1:0;v=v[j]}v!==null&&(s[C]=v)}for(const C in x)s[C]=x[C]}}}return s}const Bu=e=>(t,n)=>{const r=p.useContext(Ms),s=p.useContext(Jo),i=()=>Q7(e,t,r,s);return n?i():qo(i)};function Ki(e,t,n){const{style:r}=e,s={};for(const i in r)(Pe(r[i])||t.style&&Pe(t.style[i])||Ru(i,e)||n?.getValue(i)?.liveStyle!==void 0)&&(s[i]=r[i]);return s}const t4=Bu({scrapeMotionValuesFromProps:Ki,createRenderState:Ui});function Iu(e,t,n){const r=Ki(e,t,n);for(const s in e)if(Pe(e[s])||Pe(t[s])){const i=$n.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[i]=e[s]}return r}const n4=Bu({scrapeMotionValuesFromProps:Iu,createRenderState:$u}),r4=Symbol.for("motionComponentSymbol");function Bn(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function s4(e,t,n){return p.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Bn(n)&&(n.current=r))},[t])}const Yi=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),o4="framerAppearId",Hu="data-"+Yi(o4),Wu=p.createContext({});function i4(e,t,n,r,s){const{visualElement:i}=p.useContext(Ms),a=p.useContext(Tu),l=p.useContext(Jo),c=p.useContext(Bi).reducedMotion,u=p.useRef(null);r=r||a.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:i,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c}));const d=u.current,f=p.useContext(Wu);d&&!d.projection&&s&&(d.type==="html"||d.type==="svg")&&a4(u.current,n,s,f);const h=p.useRef(!1);p.useInsertionEffect(()=>{d&&h.current&&d.update(n,l)});const g=n[Hu],m=p.useRef(!!g&&!window.MotionHandoffIsComplete?.(g)&&window.MotionHasOptimisedAnimation?.(g));return x1(()=>{d&&(h.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),m.current&&d.animationState&&d.animationState.animateChanges())}),p.useEffect(()=>{d&&(!m.current&&d.animationState&&d.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(g)}),m.current=!1),d.enteringChildren=void 0)}),d}function a4(e,t,n,r){const{layoutId:s,layout:i,drag:a,dragConstraints:l,layoutScroll:c,layoutRoot:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Uu(e.parent)),e.projection.setOptions({layoutId:s,layout:i,alwaysMeasureLayout:!!a||l&&Bn(l),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:u})}function Uu(e){if(e)return e.options.allowProjection!==!1?e.projection:Uu(e.parent)}function Gi(e,{forwardMotionProps:t=!1}={},n,r){n&&R7(n);const s=Zi(e)?n4:t4;function i(l,c){let u;const d={...p.useContext(Bi),...l,layoutId:l4(l)},{isStatic:f}=d,h=_7(l),g=s(l,f);if(!f&&Xo){c4(d,n);const m=u4(d);u=m.MeasureLayout,h.visualElement=i4(e,g,d,r,m.ProjectionNode)}return o.jsxs(Ms.Provider,{value:h,children:[u&&h.visualElement?o.jsx(u,{visualElement:h.visualElement,...d}):null,J7(e,l,s4(g,h.visualElement,c),g,f,t)]})}i.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const a=p.forwardRef(i);return a[r4]=e,a}function l4({layoutId:e}){const t=p.useContext(g1).id;return t&&e!==void 0?t+"-"+e:e}function c4(e,t){const n=p.useContext(Tu).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const r="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Nn(!1,r,"lazy-strict-mode"):Mt(!1,r,"lazy-strict-mode")}}function u4(e){const{drag:t,layout:n}=_n;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function d4(e,t){if(typeof Proxy>"u")return Gi;const n=new Map,r=(i,a)=>Gi(i,a,e,t),s=(i,a)=>(process.env.NODE_ENV!=="production"&&si(!1,"motion() is deprecated. Use motion.create() instead."),r(i,a));return new Proxy(s,{get:(i,a)=>a==="create"?r:(n.has(a)||n.set(a,Gi(a,void 0,e,t)),n.get(a))})}function Zu({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function f4({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function h4(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function qi(e){return e===void 0||e===1}function Xi({scale:e,scaleX:t,scaleY:n}){return!qi(e)||!qi(t)||!qi(n)}function dn(e){return Xi(e)||zu(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function zu(e){return Ku(e.x)||Ku(e.y)}function Ku(e){return e&&e!=="0%"}function As(e,t,n){const r=e-n,s=t*r;return n+s}function Yu(e,t,n,r,s){return s!==void 0&&(e=As(e,s,r)),As(e,n,r)+t}function Ji(e,t=0,n=1,r,s){e.min=Yu(e.min,t,n,r,s),e.max=Yu(e.max,t,n,r,s)}function Gu(e,{x:t,y:n}){Ji(e.x,t.translate,t.scale,t.originPoint),Ji(e.y,n.translate,n.scale,n.originPoint)}const qu=.999999999999,Xu=1.0000000000001;function p4(e,t,n,r=!1){const s=n.length;if(!s)return;t.x=t.y=1;let i,a;for(let l=0;l<s;l++){i=n[l],a=i.projectionDelta;const{visualElement:c}=i.options;c&&c.props.style&&c.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Hn(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Gu(e,a)),r&&dn(i.latestValues)&&Hn(e,i.latestValues))}t.x<Xu&&t.x>qu&&(t.x=1),t.y<Xu&&t.y>qu&&(t.y=1)}function In(e,t){e.min=e.min+t,e.max=e.max+t}function Ju(e,t,n,r,s=.5){const i=fe(e.min,e.max,s);Ji(e,t,n,i,r)}function Hn(e,t){Ju(e.x,t.x,t.scaleX,t.scale,t.originX),Ju(e.y,t.y,t.scaleY,t.scale,t.originY)}function Qu(e,t){return Zu(h4(e.getBoundingClientRect(),t))}function m4(e,t,n){const r=Qu(e,n),{scroll:s}=t;return s&&(In(r.x,s.offset.x),In(r.y,s.offset.y)),r}const ed=()=>({translate:0,scale:1,origin:0,originPoint:0}),Wn=()=>({x:ed(),y:ed()}),td=()=>({min:0,max:0}),xe=()=>({x:td(),y:td()}),Qi={current:null},nd={current:!1};function g4(){if(nd.current=!0,!!Xo)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Qi.current=e.matches;e.addEventListener("change",t),t()}else Qi.current=!1}const x4=new WeakMap;function y4(e,t,n){for(const r in t){const s=t[r],i=n[r];if(Pe(s))e.addValue(r,s);else if(Pe(i))e.addValue(r,un(s,{owner:e}));else if(i!==s)if(e.hasValue(r)){const a=e.getValue(r);a.liveStyle===!0?a.jump(s):a.hasAnimated||a.set(s)}else{const a=e.getStaticValue(r);e.addValue(r,un(a!==void 0?a:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const rd=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class v4{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,blockInitialAnimation:i,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Ai,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.renderScheduledAt=0,this.scheduleRender=()=>{const h=He.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,ue.render(this.render,!1,!0))};const{latestValues:c,renderState:u}=a;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.options=l,this.blockInitialAnimation=!!i,this.isControllingVariants=Ds(n),this.isVariantNode=Au(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const g=f[h];c[h]!==void 0&&Pe(g)&&g.set(c[h])}}mount(t){this.current=t,x4.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),nd.current||g4(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Qi.current,process.env.NODE_ENV!=="production"&&si(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Dt(this.notifyUpdate),Dt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=On.has(t);r&&this.onBindTransform&&this.onBindTransform();const s=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&ue.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),i&&i(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in _n){const n=_n[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):xe()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<rd.length;r++){const s=rd[r];this.propEventSubscriptions[s]&&(this.propEventSubscriptions[s](),delete this.propEventSubscriptions[s]);const i="on"+s,a=t[i];a&&(this.propEventSubscriptions[s]=this.on(s,a))}this.prevMotionValues=y4(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=un(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(y1(r)||b1(r))?r=parseFloat(r):!A7(r)&&_t.test(n)&&(r=vu(t,n)),this.setBaseTarget(t,Pe(r)?r.get():r)),Pe(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const i=zi(this.props,n,this.presenceContext?.custom);i&&(r=i[t])}if(n&&r!==void 0)return r;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!Pe(s)?s:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new ri),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){$i.render(this.render)}}class sd extends v4{constructor(){super(...arguments),this.KeyframeResolver=y7}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Pe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function od(e,{style:t,vars:n},r,s){const i=e.style;let a;for(a in t)i[a]=t[a];s?.applyProjectionStyles(i,r);for(a in n)i.setProperty(a,n[a])}function b4(e){return window.getComputedStyle(e)}class C4 extends sd{constructor(){super(...arguments),this.type="html",this.renderInstance=od}readValueFromInstance(t,n){if(On.has(n))return this.projection?.isProjecting?Si(n):V6(t,n);{const r=b4(t),s=(li(n)?r.getPropertyValue(n):r[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Qu(t,n)}build(t,n,r){Wi(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Ki(t,n,r)}}const id=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 w4(e,t,n,r){od(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(id.has(s)?s:Yi(s),t.attrs[s])}class k4 extends sd{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=xe}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(On.has(n)){const r=yu(n);return r&&r.default||0}return n=id.has(n)?n:Yi(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Iu(t,n,r)}build(t,n,r){Vu(t,n,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,n,r,s){w4(t,n,r,s)}mount(t){this.isSVGTag=Ou(t.tagName),super.mount(t)}}const j4=(e,t)=>Zi(e)?new k4(t):new C4(t,{allowProjection:e!==p.Fragment});function Un(e,t,n){const r=e.getProps();return zi(r,t,n!==void 0?n:r.custom,e)}const ea=e=>Array.isArray(e);function L4(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,un(n))}function E4(e){return ea(e)?e[e.length-1]||0:e}function S4(e,t){const n=Un(e,t);let{transitionEnd:r={},transition:s={},...i}=n||{};i={...i,...r};for(const a in i){const l=E4(i[a]);L4(e,a,l)}}function M4(e){return!!(Pe(e)&&e.add)}function ta(e,t){const n=e.getValue("willChange");if(M4(n))return n.add(t);if(!n&&Tt.WillChange){const r=new Tt.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function ad(e){return e.props[Hu]}const T4=e=>e!==null;function D4(e,{repeat:t,repeatType:n="loop"},r){const s=e.filter(T4),i=t&&n!=="loop"&&t%2===1?0:s.length-1;return s[i]}const P4={type:"spring",stiffness:500,damping:25,restSpeed:10},A4=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),N4={type:"keyframes",duration:.8},R4={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},F4=(e,{keyframes:t})=>t.length>2?N4:On.has(e)?e.startsWith("scale")?A4(t[1]):P4:R4;function V4({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:s,repeat:i,repeatType:a,repeatDelay:l,from:c,elapsed:u,...d}){return!!Object.keys(d).length}const na=(e,t,n,r={},s,i)=>a=>{const l=Ri(r,e)||{},c=l.delay||r.delay||0;let{elapsed:u=0}=r;u=u-ut(c);const d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-u,onUpdate:h=>{t.set(h),l.onUpdate&&l.onUpdate(h)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:i?void 0:s};V4(l)||Object.assign(d,F4(e,d)),d.duration&&(d.duration=ut(d.duration)),d.repeatDelay&&(d.repeatDelay=ut(d.repeatDelay)),d.from!==void 0&&(d.keyframes[0]=d.from);let f=!1;if((d.type===!1||d.duration===0&&!d.repeatDelay)&&(Ni(d),d.delay===0&&(f=!0)),(Tt.instantAnimations||Tt.skipAnimations)&&(f=!0,Ni(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,f&&!i&&t.get()!==void 0){const h=D4(d.keyframes,l);if(h!==void 0){ue.update(()=>{d.onUpdate(h),d.onComplete()});return}}return l.isSync?new ji(d):new o7(d)};function $4({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function ld(e,t,{delay:n=0,transitionOverride:r,type:s}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(i=r);const c=[],u=s&&e.animationState&&e.animationState.getState()[s];for(const d in l){const f=e.getValue(d,e.latestValues[d]??null),h=l[d];if(h===void 0||u&&$4(u,d))continue;const g={delay:n,...Ri(i||{},d)},m=f.get();if(m!==void 0&&!f.isAnimating&&!Array.isArray(h)&&h===m&&!g.velocity)continue;let x=!1;if(window.MotionHandoffAnimation){const b=ad(e);if(b){const C=window.MotionHandoffAnimation(b,d,ue);C!==null&&(g.startTime=C,x=!0)}}ta(e,d),f.start(na(d,f,h,e.shouldReduceMotion&&hu.has(d)?{type:!1}:g,e,x));const y=f.animation;y&&c.push(y)}return a&&Promise.all(c).then(()=>{ue.update(()=>{a&&S4(e,a)})}),c}function cd(e,t,n,r=0,s=1){const i=Array.from(e).sort((u,d)=>u.sortNodePosition(d)).indexOf(t),a=e.size,l=(a-1)*r;return typeof n=="function"?n(i,a):s===1?i*r:l-i*r}function ra(e,t,n={}){const r=Un(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(s=n.transitionOverride);const i=r?()=>Promise.all(ld(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:f}=s;return O4(e,t,c,u,d,f,n)}:()=>Promise.resolve(),{when:l}=s;if(l){const[c,u]=l==="beforeChildren"?[i,a]:[a,i];return c().then(()=>u())}else return Promise.all([i(),a(n.delay)])}function O4(e,t,n=0,r=0,s=0,i=1,a){const l=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),l.push(ra(c,t,{...a,delay:n+(typeof r=="function"?0:r)+cd(e.variantChildren,c,r,s,i)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(l)}function _4(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(i=>ra(e,i,n));r=Promise.all(s)}else if(typeof t=="string")r=ra(e,t,n);else{const s=typeof t=="function"?Un(e,t,n.custom):t;r=Promise.all(ld(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}function ud(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const B4=Hi.length;function dd(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?dd(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<B4;n++){const r=Hi[n],s=e.props[r];(xr(s)||s===!1)&&(t[r]=s)}return t}const I4=[...Ii].reverse(),H4=Ii.length;function W4(e){return t=>Promise.all(t.map(({animation:n,options:r})=>_4(e,n,r)))}function U4(e){let t=W4(e),n=fd(),r=!0;const s=c=>(u,d)=>{const f=Un(e,d,c==="exit"?e.presenceContext?.custom:void 0);if(f){const{transition:h,transitionEnd:g,...m}=f;u={...u,...m,...g}}return u};function i(c){t=c(e)}function a(c){const{props:u}=e,d=dd(e.parent)||{},f=[],h=new Set;let g={},m=1/0;for(let y=0;y<H4;y++){const b=I4[y],C=n[b],v=u[b]!==void 0?u[b]:d[b],j=xr(v),w=b===c?C.isActive:null;w===!1&&(m=y);let L=v===d[b]&&v!==u[b]&&j;if(L&&r&&e.manuallyAnimateOnMount&&(L=!1),C.protectedKeys={...g},!C.isActive&&w===null||!v&&!C.prevProp||Ts(v)||typeof v=="boolean")continue;const T=Z4(C.prevProp,v);let A=T||b===c&&C.isActive&&!L&&j||y>m&&j,H=!1;const V=Array.isArray(v)?v:[v];let O=V.reduce(s(b),{});w===!1&&(O={});const{prevResolvedValues:z={}}=C,Z={...z,...O},P=D=>{A=!0,h.has(D)&&(H=!0,h.delete(D)),C.needsAnimating[D]=!0;const S=e.getValue(D);S&&(S.liveStyle=!1)};for(const D in Z){const S=O[D],$=z[D];if(g.hasOwnProperty(D))continue;let R=!1;ea(S)&&ea($)?R=!ud(S,$):R=S!==$,R?S!=null?P(D):h.add(D):S!==void 0&&h.has(D)?P(D):C.protectedKeys[D]=!0}C.prevProp=v,C.prevResolvedValues=O,C.isActive&&(g={...g,...O}),r&&e.blockInitialAnimation&&(A=!1);const F=L&&T;A&&(!F||H)&&f.push(...V.map(D=>{const S={type:b};if(typeof D=="string"&&r&&!F&&e.manuallyAnimateOnMount&&e.parent){const{parent:$}=e,R=Un($,D);if($.enteringChildren&&R){const{delayChildren:W}=R.transition||{};S.delay=cd($.enteringChildren,e,W)}}return{animation:D,options:S}}))}if(h.size){const y={};if(typeof u.initial!="boolean"){const b=Un(e,Array.isArray(u.initial)?u.initial[0]:u.initial);b&&b.transition&&(y.transition=b.transition)}h.forEach(b=>{const C=e.getBaseTarget(b),v=e.getValue(b);v&&(v.liveStyle=!0),y[b]=C??null}),f.push({animation:y})}let x=!!f.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(x=!1),r=!1,x?t(f):Promise.resolve()}function l(c,u){if(n[c].isActive===u)return Promise.resolve();e.variantChildren?.forEach(f=>f.animationState?.setActive(c,u)),n[c].isActive=u;const d=a(c);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:a,setActive:l,setAnimateFunction:i,getState:()=>n,reset:()=>{n=fd()}}}function Z4(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!ud(t,e):!1}function fn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function fd(){return{animate:fn(!0),whileInView:fn(),whileHover:fn(),whileTap:fn(),whileDrag:fn(),whileFocus:fn(),exit:fn()}}class Bt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class z4 extends Bt{constructor(t){super(t),t.animationState||(t.animationState=U4(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Ts(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let K4=0;class Y4 extends Bt{constructor(){super(...arguments),this.id=K4++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const s=this.node.animationState.setActive("exit",!t);n&&!t&&s.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const G4={animation:{Feature:z4},exit:{Feature:Y4}};function vr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function br(e){return{point:{x:e.pageX,y:e.pageY}}}const q4=e=>t=>Oi(t)&&e(t,br(t));function Cr(e,t,n,r){return vr(e,t,q4(n),r)}const hd=1e-4,X4=1-hd,J4=1+hd,pd=.01,Q4=0-pd,em=0+pd;function $e(e){return e.max-e.min}function tm(e,t,n){return Math.abs(e-t)<=n}function md(e,t,n,r=.5){e.origin=r,e.originPoint=fe(t.min,t.max,e.origin),e.scale=$e(n)/$e(t),e.translate=fe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=X4&&e.scale<=J4||isNaN(e.scale))&&(e.scale=1),(e.translate>=Q4&&e.translate<=em||isNaN(e.translate))&&(e.translate=0)}function wr(e,t,n,r){md(e.x,t.x,n.x,r?r.originX:void 0),md(e.y,t.y,n.y,r?r.originY:void 0)}function gd(e,t,n){e.min=n.min+t.min,e.max=e.min+$e(t)}function nm(e,t,n){gd(e.x,t.x,n.x),gd(e.y,t.y,n.y)}function xd(e,t,n){e.min=t.min-n.min,e.max=e.min+$e(t)}function kr(e,t,n){xd(e.x,t.x,n.x),xd(e.y,t.y,n.y)}function et(e){return[e("x"),e("y")]}const yd=({current:e})=>e?e.ownerDocument.defaultView:null,vd=(e,t)=>Math.abs(e-t);function rm(e,t){const n=vd(e.x,t.x),r=vd(e.y,t.y);return Math.sqrt(n**2+r**2)}class bd{constructor(t,n,{transformPagePoint:r,contextWindow:s=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=oa(this.lastMoveEventInfo,this.history),g=this.startEvent!==null,m=rm(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!g&&!m)return;const{point:x}=h,{timestamp:y}=Ee;this.history.push({...x,timestamp:y});const{onStart:b,onMove:C}=this.handlers;g||(b&&b(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),C&&C(this.lastMoveEvent,h)},this.handlePointerMove=(h,g)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=sa(g,this.transformPagePoint),ue.update(this.updatePoint,!0)},this.handlePointerUp=(h,g)=>{this.end();const{onEnd:m,onSessionEnd:x,resumeAnimation:y}=this.handlers;if(this.dragSnapToOrigin&&y&&y(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=oa(h.type==="pointercancel"?this.lastMoveEventInfo:sa(g,this.transformPagePoint),this.history);this.startEvent&&m&&m(h,b),x&&x(h,b)},!Oi(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=a,this.contextWindow=s||window;const l=br(t),c=sa(l,this.transformPagePoint),{point:u}=c,{timestamp:d}=Ee;this.history=[{...u,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,oa(c,this.history)),this.removeListeners=lr(Cr(this.contextWindow,"pointermove",this.handlePointerMove),Cr(this.contextWindow,"pointerup",this.handlePointerUp),Cr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Dt(this.updatePoint)}}function sa(e,t){return t?{point:t(e.point)}:e}function Cd(e,t){return{x:e.x-t.x,y:e.y-t.y}}function oa({point:e},t){return{point:e,delta:Cd(e,wd(t)),offset:Cd(e,sm(t)),velocity:om(t,.1)}}function sm(e){return e[0]}function wd(e){return e[e.length-1]}function om(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=wd(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>ut(t)));)n--;if(!r)return{x:0,y:0};const i=Qe(s.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const a={x:(s.x-r.x)/i,y:(s.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function im(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?fe(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?fe(n,e,r.max):Math.min(e,n)),e}function kd(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function am(e,{top:t,left:n,bottom:r,right:s}){return{x:kd(e.x,n,s),y:kd(e.y,t,r)}}function jd(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function lm(e,t){return{x:jd(e.x,t.x),y:jd(e.y,t.y)}}function cm(e,t){let n=.5;const r=$e(e),s=$e(t);return s>r?n=cr(t.min,t.max-r,e.min):r>s&&(n=cr(e.min,e.max-s,t.min)),St(0,1,n)}function um(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const ia=.35;function dm(e=ia){return e===!1?e=0:e===!0&&(e=ia),{x:Ld(e,"left","right"),y:Ld(e,"top","bottom")}}function Ld(e,t,n){return{min:Ed(e,t),max:Ed(e,n)}}function Ed(e,t){return typeof e=="number"?e:e[t]||0}const fm=new WeakMap;class hm{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=xe(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const i=f=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(br(f).point)},a=(f,h)=>{const{drag:g,dragPropagation:m,onDragStart:x}=this.getProps();if(g&&!m&&(this.openDragLock&&this.openDragLock(),this.openDragLock=k7(g),!this.openDragLock))return;this.latestPointerEvent=f,this.latestPanInfo=h,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),et(b=>{let C=this.getAxisMotionValue(b).get()||0;if(bt.test(C)){const{projection:v}=this.visualElement;if(v&&v.layout){const j=v.layout.layoutBox[b];j&&(C=$e(j)*(parseFloat(C)/100))}}this.originPoint[b]=C}),x&&ue.postRender(()=>x(f,h)),ta(this.visualElement,"transform");const{animationState:y}=this.visualElement;y&&y.setActive("whileDrag",!0)},l=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h;const{dragPropagation:g,dragDirectionLock:m,onDirectionLock:x,onDrag:y}=this.getProps();if(!g&&!this.openDragLock)return;const{offset:b}=h;if(m&&this.currentDirection===null){this.currentDirection=pm(b),this.currentDirection!==null&&x&&x(this.currentDirection);return}this.updateAxis("x",h.point,b),this.updateAxis("y",h.point,b),this.visualElement.render(),y&&y(f,h)},c=(f,h)=>{this.latestPointerEvent=f,this.latestPanInfo=h,this.stop(f,h),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>et(f=>this.getAnimationState(f)==="paused"&&this.getAxisMotionValue(f).animation?.play()),{dragSnapToOrigin:d}=this.getProps();this.panSession=new bd(t,{onSessionStart:i,onStart:a,onMove:l,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:yd(this.visualElement)})}stop(t,n){const r=t||this.latestPointerEvent,s=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!s||!r)return;const{velocity:a}=s;this.startAnimation(a);const{onDragEnd:l}=this.getProps();l&&ue.postRender(()=>l(r,s))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:s}=this.getProps();if(!r||!Ns(t,s,this.currentDirection))return;const i=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=im(a,this.constraints[t],this.elastic[t])),i.set(a)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;t&&Bn(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=am(r.layoutBox,t):this.constraints=!1,this.elastic=dm(n),s!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&et(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=um(r.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Bn(t))return!1;const r=t.current;Mt(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const i=m4(r,s.root,this.visualElement.getTransformPagePoint());let a=lm(s.layout.layoutBox,i);if(n){const l=n(f4(a));this.hasMutatedConstraints=!!l,l&&(a=Zu(l))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},u=et(d=>{if(!Ns(d,n,this.currentDirection))return;let f=c&&c[d]||{};a&&(f={min:0,max:0});const h=s?200:1e6,g=s?40:1e7,m={type:"inertia",velocity:r?t[d]:0,bounceStiffness:h,bounceDamping:g,timeConstant:750,restDelta:1,restSpeed:10,...i,...f};return this.startAxisValueAnimation(d,m)});return Promise.all(u).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return ta(this.visualElement,t),r.start(na(t,r,0,n,this.visualElement,!1))}stopAnimation(){et(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){et(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),s=r[n];return s||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){et(n=>{const{drag:r}=this.getProps();if(!Ns(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,i=this.getAxisMotionValue(n);if(s&&s.layout){const{min:a,max:l}=s.layout.layoutBox[n];i.set(t[n]-fe(a,l,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Bn(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};et(a=>{const l=this.getAxisMotionValue(a);if(l&&this.constraints!==!1){const c=l.get();s[a]=cm({min:c,max:c},this.constraints[a])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),et(a=>{if(!Ns(a,t,null))return;const l=this.getAxisMotionValue(a),{min:c,max:u}=this.constraints[a];l.set(fe(c,u,s[a]))})}addListeners(){if(!this.visualElement.current)return;fm.set(this.visualElement,this);const t=this.visualElement.current,n=Cr(t,"pointerdown",c=>{const{drag:u,dragListener:d=!0}=this.getProps();u&&d&&this.start(c)}),r=()=>{const{dragConstraints:c}=this.getProps();Bn(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,i=s.addEventListener("measure",r);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),ue.read(r);const a=vr(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(et(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=c[d].translate,f.set(f.get()+c[d].translate))}),this.visualElement.render())});return()=>{a(),n(),i(),l&&l()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:i=!1,dragElastic:a=ia,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:i,dragElastic:a,dragMomentum:l}}}function Ns(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function pm(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class mm extends Bt{constructor(t){super(t),this.removeGroupControls=Je,this.removeListeners=Je,this.controls=new hm(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Je}unmount(){this.removeGroupControls(),this.removeListeners()}}const Sd=e=>(t,n)=>{e&&ue.postRender(()=>e(t,n))};class gm extends Bt{constructor(){super(...arguments),this.removePointerDownListener=Je}onPointerDown(t){this.session=new bd(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:yd(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:Sd(t),onStart:Sd(n),onMove:r,onEnd:(i,a)=>{delete this.session,s&&ue.postRender(()=>s(i,a))}}}mount(){this.removePointerDownListener=Cr(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Rs={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Md(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const jr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(X.test(e))e=parseFloat(e);else return e;const n=Md(e,t.target.x),r=Md(e,t.target.y);return`${n}% ${r}%`}},xm={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=_t.parse(e);if(s.length>5)return r;const i=_t.createTransformer(e),a=typeof s[0]!="number"?1:0,l=n.x.scale*t.x,c=n.y.scale*t.y;s[0+a]/=l,s[1+a]/=c;const u=fe(l,c,.5);return typeof s[2+a]=="number"&&(s[2+a]/=u),typeof s[3+a]=="number"&&(s[3+a]/=u),i(s)}};let aa=!1;class ym extends p.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:i}=t;B7(vm),i&&(n.group&&n.group.add(i),r&&r.register&&s&&r.register(i),aa&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Rs.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:i}=this.props,{projection:a}=r;return a&&(a.isPresent=i,aa=!0,s||t.layoutDependency!==n||n===void 0||t.isPresent!==i?a.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?a.promote():a.relegate()||ue.postRender(()=>{const l=a.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),$i.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;aa=!0,s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Td(e){const[t,n]=N7(),r=p.useContext(g1);return o.jsx(ym,{...e,layoutGroup:r,switchLayoutGroup:p.useContext(Wu),isPresent:t,safeToRemove:n})}const vm={borderRadius:{...jr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:jr,borderTopRightRadius:jr,borderBottomLeftRadius:jr,borderBottomRightRadius:jr,boxShadow:xm};function bm(e,t,n){const r=Pe(e)?e:un(e);return r.start(na("",r,t,n)),r.animation}const Cm=(e,t)=>e.depth-t.depth;class wm{constructor(){this.children=[],this.isDirty=!1}add(t){Qo(this.children,t),this.isDirty=!0}remove(t){ei(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Cm),this.isDirty=!1,this.children.forEach(t)}}function km(e,t){const n=He.now(),r=({timestamp:s})=>{const i=s-n;i>=t&&(Dt(r),e(i-t))};return ue.setup(r,!0),()=>Dt(r)}const Dd=["TopLeft","TopRight","BottomLeft","BottomRight"],jm=Dd.length,Pd=e=>typeof e=="string"?parseFloat(e):e,Ad=e=>typeof e=="number"||X.test(e);function Lm(e,t,n,r,s,i){s?(e.opacity=fe(0,n.opacity??1,Em(r)),e.opacityExit=fe(t.opacity??1,0,Sm(r))):i&&(e.opacity=fe(t.opacity??1,n.opacity??1,r));for(let a=0;a<jm;a++){const l=`border${Dd[a]}Radius`;let c=Nd(t,l),u=Nd(n,l);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||Ad(c)===Ad(u)?(e[l]=Math.max(fe(Pd(c),Pd(u),r),0),(bt.test(u)||bt.test(c))&&(e[l]+="%")):e[l]=u}(t.rotate||n.rotate)&&(e.rotate=fe(t.rotate||0,n.rotate||0,r))}function Nd(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Em=Rd(0,.5,T1),Sm=Rd(.5,.95,Je);function Rd(e,t,n){return r=>r<e?0:r>t?1:n(cr(e,t,r))}function Fd(e,t){e.min=t.min,e.max=t.max}function tt(e,t){Fd(e.x,t.x),Fd(e.y,t.y)}function Vd(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function $d(e,t,n,r,s){return e-=t,e=As(e,1/n,r),s!==void 0&&(e=As(e,1/s,r)),e}function Mm(e,t=0,n=1,r=.5,s,i=e,a=e){if(bt.test(t)&&(t=parseFloat(t),t=fe(a.min,a.max,t/100)-a.min),typeof t!="number")return;let l=fe(i.min,i.max,r);e===i&&(l-=t),e.min=$d(e.min,t,n,l,s),e.max=$d(e.max,t,n,l,s)}function Od(e,t,[n,r,s],i,a){Mm(e,t[n],t[r],t[s],t.scale,i,a)}const Tm=["x","scaleX","originX"],Dm=["y","scaleY","originY"];function _d(e,t,n,r){Od(e.x,t,Tm,n?n.x:void 0,r?r.x:void 0),Od(e.y,t,Dm,n?n.y:void 0,r?r.y:void 0)}function Bd(e){return e.translate===0&&e.scale===1}function Id(e){return Bd(e.x)&&Bd(e.y)}function Hd(e,t){return e.min===t.min&&e.max===t.max}function Pm(e,t){return Hd(e.x,t.x)&&Hd(e.y,t.y)}function Wd(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Ud(e,t){return Wd(e.x,t.x)&&Wd(e.y,t.y)}function Zd(e){return $e(e.x)/$e(e.y)}function zd(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Am{constructor(){this.members=[]}add(t){Qo(this.members,t),t.scheduleRender()}remove(t){if(ei(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(s=>t===s);if(n===0)return!1;let r;for(let s=n;s>=0;s--){const i=this.members[s];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:s}=t.options;s===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Nm(e,t,n){let r="";const s=e.x.translate/t.x,i=e.y.translate/t.y,a=n?.z||0;if((s||i||a)&&(r=`translate3d(${s}px, ${i}px, ${a}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:d,rotateX:f,rotateY:h,skewX:g,skewY:m}=n;u&&(r=`perspective(${u}px) ${r}`),d&&(r+=`rotate(${d}deg) `),f&&(r+=`rotateX(${f}deg) `),h&&(r+=`rotateY(${h}deg) `),g&&(r+=`skewX(${g}deg) `),m&&(r+=`skewY(${m}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(r+=`scale(${l}, ${c})`),r||"none"}const la=["","X","Y","Z"],Rm=1e3;let Fm=0;function ca(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Kd(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=ad(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ue,!(s||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Kd(r)}function Yd({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(a={},l=t?.()){this.id=Fm++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Om),this.nodes.forEach(Hm),this.nodes.forEach(Wm),this.nodes.forEach(_m)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new wm)}addEventListener(a,l){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new ri),this.eventHandlers.get(a).add(l)}notifyListeners(a,...l){const c=this.eventHandlers.get(a);c&&c.notify(...l)}hasListeners(a){return this.eventHandlers.has(a)}mount(a){if(this.instance)return;this.isSVG=Mu(a)&&!T7(a),this.instance=a;const{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||l)&&(this.isLayoutDirty=!0),e){let d,f=0;const h=()=>this.root.updateBlockedByResize=!1;ue.read(()=>{f=window.innerWidth}),e(a,()=>{const g=window.innerWidth;g!==f&&(f=g,this.root.updateBlockedByResize=!0,d&&d(),d=km(h,250),Rs.hasAnimatedSinceResize&&(Rs.hasAnimatedSinceResize=!1,this.nodes.forEach(Xd)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:g})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||u.getDefaultTransition()||Ym,{onLayoutAnimationStart:x,onLayoutAnimationComplete:y}=u.getProps(),b=!this.targetLayout||!Ud(this.targetLayout,g),C=!f&&h;if(this.options.layoutRoot||this.resumeFrom||C||f&&(b||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const v={...Ri(m,"layout"),onPlay:x,onComplete:y};(u.shouldReduceMotion||this.options.layoutRoot)&&(v.delay=0,v.type=!1),this.startAnimation(v),this.setAnimationOrigin(d,C)}else f||Xd(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=g})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Dt(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(Um),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Kd(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let d=0;d<this.path.length;d++){const f=this.path[d];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:l,layout:c}=this.options;if(l===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Gd);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(qd);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Im),this.nodes.forEach(Vm),this.nodes.forEach($m)):this.nodes.forEach(qd),this.clearAllSnapshots();const l=He.now();Ee.delta=St(0,1e3/60,l-Ee.timestamp),Ee.timestamp=l,Ee.isProcessing=!0,ai.update.process(Ee),ai.preRender.process(Ee),ai.render.process(Ee),Ee.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,$i.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Bm),this.sharedNodes.forEach(Zm)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ue.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ue.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!$e(this.snapshot.measuredBox.x)&&!$e(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=xe(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(l=!1),l&&this.instance){const c=r(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!s)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!Id(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,d=u!==this.prevTransformTemplateValue;a&&this.instance&&(l||dn(this.latestValues)||d)&&(s(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const l=this.measurePageBox();let c=this.removeElementScroll(l);return a&&(c=this.removeTransform(c)),Gm(c),{animationId:this.root.animationId,measuredBox:l,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:a}=this.options;if(!a)return xe();const l=a.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(qm))){const{scroll:u}=this.root;u&&(In(l.x,u.offset.x),In(l.y,u.offset.y))}return l}removeElementScroll(a){const l=xe();if(tt(l,a),this.scroll?.wasRoot)return l;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:d,options:f}=u;u!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&tt(l,a),In(l.x,d.offset.x),In(l.y,d.offset.y))}return l}applyTransform(a,l=!1){const c=xe();tt(c,a);for(let u=0;u<this.path.length;u++){const d=this.path[u];!l&&d.options.layoutScroll&&d.scroll&&d!==d.root&&Hn(c,{x:-d.scroll.offset.x,y:-d.scroll.offset.y}),dn(d.latestValues)&&Hn(c,d.latestValues)}return dn(this.latestValues)&&Hn(c,this.latestValues),c}removeTransform(a){const l=xe();tt(l,a);for(let c=0;c<this.path.length;c++){const u=this.path[c];if(!u.instance||!dn(u.latestValues))continue;Xi(u.latestValues)&&u.updateSnapshot();const d=xe(),f=u.measurePageBox();tt(d,f),_d(l,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,d)}return dn(this.latestValues)&&_d(l,this.latestValues),l}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ee.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(a||c&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=Ee.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=xe(),this.relativeTargetOrigin=xe(),kr(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),tt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=xe(),this.targetWithTransforms=xe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),nm(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):tt(this.target,this.layout.layoutBox),Gu(this.target,this.targetDelta)):tt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=xe(),this.relativeTargetOrigin=xe(),kr(this.relativeTargetOrigin,this.target,h.target),tt(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Xi(this.parent.latestValues)||zu(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const a=this.getLead(),l=!!this.resumingFrom||this!==a;let c=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===Ee.timestamp&&(c=!1),c)return;const{layout:u,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||d))return;tt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;p4(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=xe());const{target:g}=a;if(!g){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Vd(this.prevProjectionDelta.x,this.projectionDelta.x),Vd(this.prevProjectionDelta.y,this.projectionDelta.y)),wr(this.projectionDelta,this.layoutCorrected,g,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!zd(this.projectionDelta.x,this.prevProjectionDelta.x)||!zd(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",g))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){if(this.options.visualElement?.scheduleRender(),a){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Wn(),this.projectionDelta=Wn(),this.projectionDeltaWithTransform=Wn()}setAnimationOrigin(a,l=!1){const c=this.snapshot,u=c?c.latestValues:{},d={...this.latestValues},f=Wn();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const h=xe(),g=c?c.source:void 0,m=this.layout?this.layout.source:void 0,x=g!==m,y=this.getStack(),b=!y||y.members.length<=1,C=!!(x&&!b&&this.options.crossfade===!0&&!this.path.some(Km));this.animationProgress=0;let v;this.mixTargetDelta=j=>{const w=j/1e3;Jd(f.x,a.x,w),Jd(f.y,a.y,w),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(kr(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),zm(this.relativeTarget,this.relativeTargetOrigin,h,w),v&&Pm(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=xe()),tt(v,this.relativeTarget)),x&&(this.animationValues=d,Lm(d,u,this.latestValues,w,C,b)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Dt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ue.update(()=>{Rs.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=un(0)),this.currentAnimation=bm(this.motionValue,[0,1e3],{...a,velocity:0,isSync:!0,onUpdate:l=>{this.mixTargetDelta(l),a.onUpdate&&a.onUpdate(l)},onStop:()=>{},onComplete:()=>{a.onComplete&&a.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 a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Rm),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:l,target:c,layout:u,latestValues:d}=a;if(!(!l||!c||!u)){if(this!==a&&this.layout&&u&&r0(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||xe();const f=$e(this.layout.layoutBox.x);c.x.min=a.target.x.min,c.x.max=c.x.min+f;const h=$e(this.layout.layoutBox.y);c.y.min=a.target.y.min,c.y.max=c.y.min+h}tt(l,c),Hn(l,d),wr(this.projectionDeltaWithTransform,this.layoutCorrected,l,d)}}registerSharedNode(a,l){this.sharedNodes.has(a)||this.sharedNodes.set(a,new Am),this.sharedNodes.get(a).add(l);const u=l.options.initialPromotionConfig;l.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(l):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){const{layoutId:a}=this.options;return a?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:a}=this.options;return a?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:l,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),a&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let l=!1;const{latestValues:c}=a;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const u={};c.z&&ca("z",a,u,this.animationValues);for(let d=0;d<la.length;d++)ca(`rotate${la[d]}`,a,u,this.animationValues),ca(`skew${la[d]}`,a,u,this.animationValues);a.render();for(const d in u)a.setStaticValue(d,u[d]),this.animationValues&&(this.animationValues[d]=u[d]);a.scheduleRender()}applyProjectionStyles(a,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){a.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,a.visibility="",a.opacity="",a.pointerEvents=Ps(l?.pointerEvents)||"",a.transform=c?c(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(a.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,a.pointerEvents=Ps(l?.pointerEvents)||""),this.hasProjected&&!dn(this.latestValues)&&(a.transform=c?c({},""):"none",this.hasProjected=!1);return}a.visibility="";const d=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=Nm(this.projectionDeltaWithTransform,this.treeScale,d);c&&(f=c(d,f)),a.transform=f;const{x:h,y:g}=this.projectionDelta;a.transformOrigin=`${h.origin*100}% ${g.origin*100}% 0`,u.animationValues?a.opacity=u===this?d.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:a.opacity=u===this?d.opacity!==void 0?d.opacity:"":d.opacityExit!==void 0?d.opacityExit:0;for(const m in yr){if(d[m]===void 0)continue;const{correct:x,applyTo:y,isCSSVariable:b}=yr[m],C=f==="none"?d[m]:x(d[m],u);if(y){const v=y.length;for(let j=0;j<v;j++)a[y[j]]=C}else b?this.options.visualElement.renderState.vars[m]=C:a[m]=C}this.options.layoutId&&(a.pointerEvents=u===this?Ps(l?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>a.currentAnimation?.stop()),this.root.nodes.forEach(Gd),this.root.sharedNodes.clear()}}}function Vm(e){e.updateLayout()}function $m(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:r}=e.layout,{animationType:s}=e.options,i=t.source!==e.layout.source;s==="size"?et(d=>{const f=i?t.measuredBox[d]:t.layoutBox[d],h=$e(f);f.min=n[d].min,f.max=f.min+h}):r0(s,t.layoutBox,n)&&et(d=>{const f=i?t.measuredBox[d]:t.layoutBox[d],h=$e(n[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const a=Wn();wr(a,n,t.layoutBox);const l=Wn();i?wr(l,e.applyTransform(r,!0),t.measuredBox):wr(l,n,t.layoutBox);const c=!Id(a);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const g=xe();kr(g,t.layoutBox,f.layoutBox);const m=xe();kr(m,n,h.layoutBox),Ud(g,m)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=g,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function Om(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function _m(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Bm(e){e.clearSnapshot()}function Gd(e){e.clearMeasurements()}function qd(e){e.isLayoutDirty=!1}function Im(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Xd(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Hm(e){e.resolveTargetDelta()}function Wm(e){e.calcProjection()}function Um(e){e.resetSkewAndRotation()}function Zm(e){e.removeLeadSnapshot()}function Jd(e,t,n){e.translate=fe(t.translate,0,n),e.scale=fe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Qd(e,t,n,r){e.min=fe(t.min,n.min,r),e.max=fe(t.max,n.max,r)}function zm(e,t,n,r){Qd(e.x,t.x,n.x,r),Qd(e.y,t.y,n.y,r)}function Km(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Ym={duration:.45,ease:[.4,0,.1,1]},e0=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),t0=e0("applewebkit/")&&!e0("chrome/")?Math.round:Je;function n0(e){e.min=t0(e.min),e.max=t0(e.max)}function Gm(e){n0(e.x),n0(e.y)}function r0(e,t,n){return e==="position"||e==="preserve-aspect"&&!tm(Zd(t),Zd(n),.2)}function qm(e){return e!==e.root&&e.scroll?.wasRoot}const Xm=Yd({attachResizeListener:(e,t)=>vr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ua={current:void 0},s0=Yd({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ua.current){const e=new Xm({});e.mount(window),e.setOptions({layoutScroll:!0}),ua.current=e}return ua.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Jm={pan:{Feature:gm},drag:{Feature:mm,ProjectionNode:s0,MeasureLayout:Td}};function o0(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,i=r[s];i&&ue.postRender(()=>i(t,br(t)))}class Qm extends Bt{mount(){const{current:t}=this.node;t&&(this.unmount=j7(t,(n,r)=>(o0(this.node,r,"Start"),s=>o0(this.node,s,"End"))))}unmount(){}}class e8 extends Bt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=lr(vr(this.node.current,"focus",()=>this.onFocus()),vr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function i0(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const s="onTap"+(n==="End"?"":n),i=r[s];i&&ue.postRender(()=>i(t,br(t)))}class t8 extends Bt{mount(){const{current:t}=this.node;t&&(this.unmount=M7(t,(n,r)=>(i0(this.node,r,"Start"),(s,{success:i})=>i0(this.node,s,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const da=new WeakMap,fa=new WeakMap,n8=e=>{const t=da.get(e.target);t&&t(e)},r8=e=>{e.forEach(n8)};function s8({root:e,...t}){const n=e||document;fa.has(n)||fa.set(n,{});const r=fa.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(r8,{root:e,...t})),r[s]}function o8(e,t,n){const r=s8(t);return da.set(e,n),r.observe(e),()=>{da.delete(e),r.unobserve(e)}}const i8={some:0,all:1};class a8 extends Bt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:i}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:i8[s]},l=c=>{const{isIntersecting:u}=c;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:d,onViewportLeave:f}=this.node.getProps(),h=u?d:f;h&&h(c)};return o8(this.node.current,a,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(l8(t,n))&&this.startObserver()}unmount(){}}function l8({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const c8={inView:{Feature:a8},tap:{Feature:t8},focus:{Feature:e8},hover:{Feature:Qm}},u8={layout:{ProjectionNode:s0,MeasureLayout:Td}},d8={...G4,...c8,...Jm,...u8},Fs=d4(d8,j4);function a0(e){const t=qo(()=>un(e)),{isStatic:n}=p.useContext(Bi);if(n){const[,r]=p.useState(e);p.useEffect(()=>t.on("change",r),[])}return t}function l0(e,t){const n=a0(t()),r=()=>n.set(t());return r(),x1(()=>{const s=()=>ue.preRender(r,!1,!0),i=e.map(a=>a.on("change",s));return()=>{i.forEach(a=>a()),Dt(r)}}),n}function f8(e){gr.current=[],e();const t=l0(gr.current,e);return gr.current=void 0,t}function h8(e,t,n,r){if(typeof e=="function")return f8(e);const s=typeof t=="function"?t:D7(t,n,r);return Array.isArray(e)?c0(e,s):c0([e],([i])=>s(i))}function c0(e,t){const n=qo(()=>[]);return l0(e,()=>{n.length=0;const r=e.length;for(let s=0;s<r;s++)n[s]=e[s].get();return t(n)})}const Lr=({isOpen:e,onClose:t,title:n,description:r,children:s,bottomContent:i,topContent:a,className:l,showCloseButton:c=!0,size:u="medium",variant:d="centered"})=>{const f=p.useRef(null);if(!e)return null;const h=X9[u],g={centered:{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9}},"right-slide":{initial:{x:"100%",opacity:0},animate:{x:"0%",opacity:1},exit:{x:"100%",opacity:0}}};return o.jsx(k,{onClick:m=>m.stopPropagation(),className:"fixed inset-0 z-[100] flex items-center justify-center overflow-y-hidden max-h-screen bg-metrifox-black/50 backdrop-blur-sm",children:o.jsxs(Fs.div,{ref:f,initial:g[d].initial,animate:g[d].animate,exit:g[d].exit,transition:{duration:.3,ease:"easeOut"},className:`bg-metrifox-white shadow-lg w-full ${h} flex flex-col ${d==="right-slide"?"fixed right-0 top-0 bottom-0 h-[100vh] rounded-l-2xl":"mx-4 my-auto max-h-[90vh] rounded-2xl"}`,children:[a?o.jsx(k,{className:"p-4",children:a}):o.jsxs(k,{className:`${n?"p-6":"py-4 px-6"} border-b border-grey-200`,children:[o.jsxs(k,{className:"flex justify-between items-center",children:[o.jsx(Yo,{variant:"h6",color:"text-metrifox-black",children:n}),c&&o.jsx("span",{onClick:t,className:"cursor-pointer",children:o.jsx(ae,{name:"circle-close",size:24,color:"grey-800"})})]}),r&&o.jsx(B,{variant:"body4",color:"text-grey-500",className:"mt-2 mr-6",children:r})]}),o.jsx(k,{className:`flex-grow overflow-y-auto p-6 max-h-[calc(90vh - 100px)] ${!i&&"rounded-b-2xl"} ${l}`,children:s}),i&&o.jsx(k,{className:"p-4 border-t border-grey-200",children:i})]})})};var u0={exports:{}};(function(e,t){(function(n,r){e.exports=r(p)})(typeof self<"u"?self:Ht,function(n){return function(){var r={155:function(C){C.exports=n}},s={};function i(C){var v=s[C];if(v!==void 0)return v.exports;var j=s[C]={exports:{}};return r[C](j,j.exports,i),j.exports}i.d=function(C,v){for(var j in v)i.o(v,j)&&!i.o(C,j)&&Object.defineProperty(C,j,{enumerable:!0,get:v[j]})},i.o=function(C,v){return Object.prototype.hasOwnProperty.call(C,v)},i.r=function(C){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(C,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(C,"__esModule",{value:!0})};var a={};i.r(a),i.d(a,{useReactToPrint:function(){return b}});var l=i(155);const c="printWindow";function u({level:C="error",messages:v,suppressErrors:j=!1}){j||(C==="error"?console.error(v):C==="warning"?console.warn(v):console.debug(v))}function d(C,v){if(v||!C){const j=document.getElementById(c);j&&document.body.removeChild(j)}}function f(C){return C instanceof Error?C:new Error("Unknown Error")}function h(C,v){const{documentTitle:j,onAfterPrint:w,onPrintError:L,preserveAfterPrint:T,print:A,suppressErrors:H}=v;setTimeout(()=>{var V,O;if(C.contentWindow){let z=function(){w?.(),d(T)};if(C.contentWindow.focus(),A)A(C).then(z).catch(Z=>{L?L("print",f(Z)):u({messages:["An error was thrown by the specified `print` function"],suppressErrors:H})});else{if(C.contentWindow.print){const Z=(O=(V=C.contentDocument)===null||V===void 0?void 0:V.title)!==null&&O!==void 0?O:"",P=C.ownerDocument.title;j&&(C.ownerDocument.title=j,C.contentDocument&&(C.contentDocument.title=j)),C.contentWindow.print(),j&&(C.ownerDocument.title=P,C.contentDocument&&(C.contentDocument.title=Z))}else u({messages:["Printing for this browser is not currently possible: the browser does not have a `print` method available for iframes."],suppressErrors:H});[/Android/i,/webOS/i,/iPhone/i,/iPad/i,/iPod/i,/BlackBerry/i,/Windows Phone/i].some(Z=>{var P,F;return((F=(P=navigator.userAgent)!==null&&P!==void 0?P:navigator.vendor)!==null&&F!==void 0?F:"opera"in window&&window.opera).match(Z)})?setTimeout(z,500):z()}}else u({messages:["Printing failed because the `contentWindow` of the print iframe did not load. This is possibly an error with `react-to-print`. Please file an issue: https://github.com/MatthewHerbst/react-to-print/issues/"],suppressErrors:H})},500)}function g(C){const v=[],j=document.createTreeWalker(C,NodeFilter.SHOW_ELEMENT,null);let w=j.nextNode();for(;w;)v.push(w),w=j.nextNode();return v}function m(C,v,j){const w=g(C),L=g(v);if(w.length===L.length)for(let T=0;T<w.length;T++){const A=w[T],H=L[T],V=A.shadowRoot;if(V!==null){const O=H.attachShadow({mode:V.mode});O.innerHTML=V.innerHTML,m(V,O,j)}}else u({messages:["When cloning shadow root content, source and target elements have different size. `onBeforePrint` likely resolved too early.",C,v],suppressErrors:j})}const x=`
27
27
  @page {
28
28
  /* Remove browser default header (title) and footer (url) */
29
29
  margin: 0;
@@ -36,10 +36,10 @@
36
36
  -webkit-print-color-adjust: exact; /* Chrome/Safari/Edge/Opera */
37
37
  }
38
38
  }
39
- `;function v(C,y,j,w){var L,T,A,I,V;const{contentNode:O,clonedContentNode:z,clonedImgNodes:U,clonedVideoNodes:P,numResourcesToLoad:F,originalCanvasNodes:E}=j,{bodyClass:D,fonts:M,ignoreGlobalStyles:$,pageStyle:N,nonce:H,suppressErrors:Y,copyShadowRoots:_}=w;C.onload=null;const R=(L=C.contentDocument)!==null&&L!==void 0?L:(T=C.contentWindow)===null||T===void 0?void 0:T.document;if(R){const B=R.body.appendChild(z);_&&g(O,B,!!Y),M&&(!((A=C.contentDocument)===null||A===void 0)&&A.fonts&&(!((I=C.contentWindow)===null||I===void 0)&&I.FontFace)?M.forEach(J=>{const q=new FontFace(J.family,J.source,{weight:J.weight,style:J.style});C.contentDocument.fonts.add(q),q.loaded.then(()=>{y(q)}).catch(ye=>{y(q,["Failed loading the font:",q,"Load error:",f(ye)])})}):(M.forEach(J=>{y(J)}),u({messages:['"react-to-print" is not able to load custom fonts because the browser does not support the FontFace API but will continue attempting to print the page'],suppressErrors:Y})));const Q=N??x,ne=R.createElement("style");H&&(ne.setAttribute("nonce",H),R.head.setAttribute("nonce",H)),ne.appendChild(R.createTextNode(Q)),R.head.appendChild(ne),D&&R.body.classList.add(...D.split(" "));const G=R.querySelectorAll("canvas");for(let J=0;J<E.length;++J){const q=E[J],ye=G[J];if(ye===void 0){u({messages:["A canvas element could not be copied for printing, has it loaded? `onBeforePrint` likely resolved too early.",q],suppressErrors:Y});continue}const ie=ye.getContext("2d");ie&&ie.drawImage(q,0,0)}for(let J=0;J<U.length;J++){const q=U[J],ye=q.getAttribute("src");if(ye){const ie=new Image;ie.onload=()=>{y(q)},ie.onerror=(ue,he,He,pe,tt)=>{y(q,["Error loading <img>",q,"Error",tt])},ie.src=ye}else y(q,['Found an <img> tag with an empty "src" attribute. This prevents pre-loading it.',q])}for(let J=0;J<P.length;J++){const q=P[J];q.preload="auto";const ye=q.getAttribute("poster");if(ye){const ie=new Image;ie.onload=()=>{y(q)},ie.onerror=(ue,he,He,pe,tt)=>{y(q,["Error loading video poster",ye,"for video",q,"Error:",tt])},ie.src=ye}else q.readyState>=2?y(q):q.src?(q.onloadeddata=()=>{y(q)},q.onerror=(ie,ue,he,He,pe)=>{y(q,["Error loading video",q,"Error",pe])},q.onstalled=()=>{y(q,["Loading video stalled, skipping",q])}):y(q,["Error loading video, `src` is empty",q])}const se="select",re=O.querySelectorAll(se),ae=R.querySelectorAll(se);for(let J=0;J<re.length;J++)ae[J].value=re[J].value;if(!$){const J=document.querySelectorAll("style, link[rel~='stylesheet'], link[as='style']");for(let q=0,ye=J.length;q<ye;++q){const ie=J[q];if(ie.tagName.toLowerCase()==="style"){const ue=R.createElement(ie.tagName),he=ie.sheet;if(he){let He="";try{const pe=he.cssRules.length;for(let tt=0;tt<pe;++tt)typeof he.cssRules[tt].cssText=="string"&&(He+=`${he.cssRules[tt].cssText}\r
40
- `)}catch(pe){u({messages:["A stylesheet could not be accessed. This is likely due to the stylesheet having cross-origin imports, and many browsers block script access to cross-origin stylesheets. See https://github.com/MatthewHerbst/react-to-print/issues/429 for details. You may be able to load the sheet by both marking the stylesheet with the cross `crossorigin` attribute, and setting the `Access-Control-Allow-Origin` header on the server serving the stylesheet. Alternatively, host the stylesheet on your domain to avoid this issue entirely.",ie,`Original error: ${f(pe).message}`],level:"warning"})}ue.setAttribute("id",`react-to-print-${q}`),H&&ue.setAttribute("nonce",H),ue.appendChild(R.createTextNode(He)),R.head.appendChild(ue)}}else if(ie.getAttribute("href"))if(ie.hasAttribute("disabled"))u({messages:["`react-to-print` encountered a <link> tag with a `disabled` attribute and will ignore it. Note that the `disabled` attribute is deprecated, and some browsers ignore it. You should stop using it. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-disabled. The <link> is:",ie],level:"warning"}),y(ie);else{const ue=R.createElement(ie.tagName);for(let he=0,He=ie.attributes.length;he<He;++he){const pe=ie.attributes[he];pe&&ue.setAttribute(pe.nodeName,(V=pe.nodeValue)!==null&&V!==void 0?V:"")}ue.onload=()=>{y(ue)},ue.onerror=(he,He,pe,tt,Vs)=>{y(ue,["Failed to load",ue,"Error:",Vs])},H&&ue.setAttribute("nonce",H),R.head.appendChild(ue)}else u({messages:["`react-to-print` encountered a <link> tag with an empty `href` attribute. In addition to being invalid HTML, this can cause problems in many browsers, and so the <link> was not loaded. The <link> is:",ie],level:"warning"}),y(ie)}}}F===0&&h(C,w)}function b({bodyClass:C,contentRef:y,copyShadowRoots:j,documentTitle:w,fonts:L,ignoreGlobalStyles:T,nonce:A,onAfterPrint:I,onBeforePrint:V,onPrintError:O,pageStyle:z,preserveAfterPrint:U,print:P,printIframeProps:F,suppressErrors:E}){return(0,l.useCallback)(M=>{function $(){const N={bodyClass:C,contentRef:y,copyShadowRoots:j,documentTitle:w,fonts:L,ignoreGlobalStyles:T,nonce:A,onAfterPrint:I,onPrintError:O,pageStyle:z,preserveAfterPrint:U,print:P,suppressErrors:E},H=function(R){const B=document.createElement("iframe");return B.width=`${document.documentElement.clientWidth}px`,B.height=`${document.documentElement.clientHeight}px`,B.style.position="absolute",B.style.top=`-${document.documentElement.clientHeight+100}px`,B.style.left=`-${document.documentElement.clientWidth+100}px`,B.id=c,B.srcdoc="<!DOCTYPE html>",R&&(R.allow&&(B.allow=R.allow),R.referrerPolicy!==void 0&&(B.referrerPolicy=R.referrerPolicy),R.sandbox!==void 0&&(B.sandbox=R.sandbox)),B}(F),Y=function(R,B){const{contentRef:Q,fonts:ne,ignoreGlobalStyles:G,suppressErrors:se}=B,re=function({contentRef:ue,optionalContent:he,suppressErrors:He}){return he&&typeof he=="function"?(ue&&u({level:"warning",messages:['"react-to-print" received a `contentRef` option and an optional-content param passed to its callback. The `contentRef` option will be ignored.']}),he()):ue?ue.current:void u({messages:['"react-to-print" did not receive a `contentRef` option or a optional-content param pass to its callback.'],suppressErrors:He})}({contentRef:Q,optionalContent:R,suppressErrors:se});if(!re)return;const ae=re.cloneNode(!0),J=document.querySelectorAll("link[rel~='stylesheet'], link[as='style']"),q=ae.querySelectorAll("img"),ye=ae.querySelectorAll("video"),ie=ne?ne.length:0;return{contentNode:re,clonedContentNode:ae,clonedImgNodes:q,clonedVideoNodes:ye,numResourcesToLoad:(G?0:J.length)+q.length+ye.length+ie,originalCanvasNodes:re.querySelectorAll("canvas")}}(M,N);if(!Y)return void u({messages:["There is nothing to print"],suppressErrors:E});const _=function(R,B,Q){const{suppressErrors:ne}=R,G=[],se=[];return function(re,ae){G.includes(re)?u({level:"debug",messages:["Tried to mark a resource that has already been handled",re],suppressErrors:ne}):(ae?(u({messages:['"react-to-print" was unable to load a resource but will continue attempting to print the page',...ae],suppressErrors:ne}),se.push(re)):G.push(re),G.length+se.length===B&&h(Q,R))}}(N,Y.numResourcesToLoad,H);(function(R,B,Q,ne){R.onload=()=>{v(R,B,Q,ne)},document.body.appendChild(R)})(H,_,Y,N)}d(U,!0),V?V().then(()=>{$()}).catch(N=>{O?.("onBeforePrint",f(N))}):$()},[C,y,j,w,L,T,A,I,V,O,z,U,P,E])}return i}()})})(o0);var s8=o0.exports,i0=(e=>(e.PDF="PDF",e.Email="Email",e))(i0||{});const Rs=({size:e,color:t})=>a.jsx(k,{className:`animate-spin inline-block ${e=="big"?"size-8":"size-4"} border-[2px] ${t=="white"?"border-gray-400 border-t-transparent text-white":"border-metrifox-primary border-t-transparent text-metrifox-primary"} rounded-full dark:text-metrifox-primary`,role:"status","aria-label":"loading",children:a.jsx("span",{className:"sr-only",children:"Loading..."})}),kr=({children:e,onClick:t,className:n,isLoading:r,size:s="small",leadingIcon:o,trailingIcon:i,href:l,...c})=>a.jsx("button",{className:`px-4 py-2 text-[13px]/[16.9px] whitespace-nowrap flex items-center justify-center !gap-2 font-semibold text-white bg-metrifox-primary rounded-lg disabled:opacity-60 hover:opacity-90 ${Ho[s]} ${n}`,onClick:()=>l?window.open(l,"_blank"):t?.(),...c,children:r?a.jsx(Rs,{color:"white"}):a.jsxs(a.Fragment,{children:[o&&a.jsx(me,{name:o,size:16}),e,i&&a.jsx(me,{name:i,size:16})]})}),Ns=({children:e,onClick:t,className:n,leadingIcon:r,trailingIcon:s,iconColor:o,iconSize:i=16,isLoading:l,...c})=>a.jsx("button",{className:`!p-0 text-[13px]/[15.6px] whitespace-nowrap flex items-center justify-center gap-1 font-semibold text-metrifox-primary bg-transparent border-none ${n}`,onClick:t,...c,children:l?a.jsx(Rs,{}):a.jsxs(a.Fragment,{children:[r&&a.jsx(me,{name:r,size:i,color:o}),e,s&&a.jsx(me,{name:s,size:i,color:o})]})}),ua=({children:e,onClick:t,className:n,isLoading:r,leadingIcon:s,trailingIcon:o,size:i="small",...l})=>a.jsx("button",{className:`flex items-center justify-center !gap-2 text-[13px]/[16.9px] font-semibold text-metrifox-black bg-transparent border border-grey-300 rounded-lg ${Ho[i]} ${n}`,onClick:t,...l,children:r?a.jsx(Rs,{color:"white"}):a.jsxs(a.Fragment,{children:[s&&a.jsx(me,{name:s,size:16}),e,o&&a.jsx(me,{name:o,size:16})]})}),da=({children:e,onClick:t,className:n,isLoading:r,size:s="small",...o})=>a.jsx("button",{className:`px-4 py-2 text-[13px]/[16.9px] font-medium text-metrifox-black bg-background-system-secondary rounded-[8px] ${Ho[s]} ${n}`,onClick:t,...o,children:r?a.jsx(Rs,{}):e}),o8=({contentRef:e,content:t,containerBgColor:n="bg-neutral-100",panelShadow:r,panelWidth:s="w-full"})=>{const o=s8.useReactToPrint({contentRef:e}),i=[i0.PDF],l=()=>{setTimeout(()=>{e.current&&o()},100)};return a.jsx(k,{className:`${n} flex flex-col justify-center`,children:a.jsxs(fs,{className:"my-6 px-4",children:[a.jsxs(k,{className:"flex items-center justify-between",children:[a.jsx(hs,{className:"w-max border border-neutral-200 text-grey-500 px-1.5 py-1 rounded-2xl",children:i.map(c=>a.jsx(sr,{className:"data-[selected]:bg-metrifox-primary data-[selected]:border data-[selected]:border-grey-50 outline-none data-[selected]:text-grey-50 rounded-xl px-16 py-1.5",children:c},c))}),a.jsxs(da,{className:"flex items-center gap-1 !px-3 !py-6",size:"x-small",onClick:l,children:[a.jsx(Z,{variant:"label8",className:"text-metrifox-black flex items-center gap-2.5",children:"Download"}),a.jsx(me,{name:"download",size:16,color:"metrifox-black"})]})]}),a.jsxs(ps,{children:[a.jsx(Tn,{children:a.jsx(k,{ref:e,className:`bg-metrifox-white ${r} p-8 rounded-xl border-t-8 border-metrifox-black h-full mt-8 ${s} mx-auto`,children:t||"Nothing to display"})}),a.jsx(Tn,{className:"h-screen text-center py-20",children:a.jsx("p",{children:"Coming soon"})})]})]})})},a0=({isOpen:e,onClose:t,contentRef:n,content:r,modalTitle:s,modalDescription:o})=>a.jsx(As,{isOpen:e,onClose:t,title:s,description:o,size:"large",variant:"right-slide",className:"!p-0",children:a.jsx(o8,{contentRef:n,content:r})}),cn=({label:e,onClick:t,disabled:n,variant:r="normal",active:s})=>{const o={next:"rounded-tr-[8px] rounded-br-[8px]",prev:"rounded-tl-[8px] rounded-bl-[8px] border-r-0",normal:"w-[38px] flex items-center justify-center py-1 border-r-0",display:"w-[38px] flex items-center justify-center py-1 cursor-default border-r-0"},i=s?"bg-grey-200 font-semibold":"";return a.jsx("button",{className:`px-3 py-2 text-grey-500 hover:text-grey-800 border disabled:opacity-50 ${o[r]} ${i}`,onClick:t,disabled:n,children:e})},i8=({currentPage:e,totalPages:t,onPageChange:n})=>a.jsxs("div",{className:"flex items-center justify-center pt-6",children:[a.jsx(cn,{label:"Prev",onClick:()=>n(e-1),disabled:e===1,variant:"prev"}),(()=>{const r=[];r.push(a.jsx(cn,{label:1,onClick:()=>n(1),variant:"normal",active:e===1},1)),e>2&&r.push(a.jsx(cn,{label:"...",onClick:()=>{},variant:"display"},"ellipsis-start"));const s=Math.max(2,e-1),o=Math.min(t-1,e+1);for(let i=s;i<=o;i++)r.push(a.jsx(cn,{label:i,onClick:()=>n(i),variant:"normal",active:e===i},i));return e<t-1&&r.push(a.jsx(cn,{label:"...",onClick:()=>{},variant:"display"},"ellipsis-end")),t>1&&r.push(a.jsx(cn,{label:t,onClick:()=>n(t),variant:"normal",active:e===t},t)),r})(),a.jsx(cn,{label:"Next",onClick:()=>n(e+1),disabled:e===t,variant:"next"})]}),jr=({columns:e,data:t,pagination:n,filters:r,actions:s,onRowClick:o,view:i="list",gridView:l,isLoading:c,skelentonRow:u=2,emptyState:d,isLastColumnSticky:f=!1,actionButton:h,className:m,emptyStateClassName:g,tab:x})=>{const[v,b]=p.useState(!1),[C,y]=p.useState(""),[j,w]=p.useState("");if(p.useEffect(()=>{b(!1),y(""),w("")},[x]),t?.length===0&&!C&&!j)return a.jsx("div",{className:`h-[55vh] flex items-center justify-center ${g}`,children:d||null});const L=A=>A?a.jsx(W,{variant:"body6",color:"text-grey-700",children:String(A)}):"-",T=l?.style?`${l?.style}`:"grid-cols-2 gap-2";return a.jsxs("div",{className:`overflow-x-auto px-3 rounded-2xl bg-metrifox-white ${m}`,children:[a.jsx("div",{className:"px-3 mb-6",children:a.jsxs("div",{className:"flex justify-between items-center",children:[s&&s,a.jsxs("div",{className:"flex justify-end w-full gap-x-2 items-center",children:[r&&a.jsx(ua,{className:"!border-grey-300 !text-grey-500",size:"x-small",leadingIcon:"filter",onClick:()=>b(!v),children:"Filter"}),h&&a.jsx(da,{className:"!text-metrifox-white !bg-metrifox-primary",size:"x-small",onClick:h.onClick,children:h.text})]})]})}),i==="list"&&a.jsx("div",{className:"w-full overflow-x-hidden hover:overflow-x-auto scrollbar",children:a.jsxs("table",{className:"min-w-full border-collapse text-left relative",children:[a.jsx("thead",{children:a.jsx("tr",{children:e.map((A,I)=>a.jsx("th",{className:`px-3 py-2 text-sm font-semibold text-gray-700 border-b border-grey-100 whitespace-nowrap
41
- ${I===e.length-1&&f?"sticky right-0 bg-white z-10":""}
42
- `,children:typeof A.header=="string"?a.jsx(Z,{variant:"label8",color:"text-metrifox-black",children:A.header}):A.header},I))})}),a.jsxs("tbody",{children:[c&&[...Array(u)].map((A,I)=>a.jsx(a8,{columns:e.length},I)),t?.map((A,I)=>a.jsx("tr",{onClick:()=>o?.(A),className:`relative ${o?"cursor-pointer hover:bg-grey-100":"cursor-default"}`,children:e.map((V,O)=>a.jsx("td",{className:`px-3 py-4 text-grey-700 border-grey-100 whitespace-nowrap
43
- ${I===t.length-1?"border-t":"border-y"}
44
- ${O===e.length-1&&f?"sticky z-10 right-0 bg-white relative":""}
45
- `,children:V.render?V.render(A):L(y6(A,V.key))},O))},I))]})]})}),i==="grid"&&a.jsx("div",{className:`grid ${T}`,children:t?.map((A,I)=>a.jsx("div",{className:o?"cursor-pointer":"cursor-default",onClick:()=>o?.(A),children:l?.renderItem(A)},I))}),n&&a.jsx(i8,{currentPage:n.currentPage,totalPages:n.totalPages,onPageChange:n.onPageChange})]})},a8=({columns:e})=>a.jsx("tr",{children:Array.from({length:e}).map((t,n)=>a.jsx("td",{className:"px-3 py-4 border-b border-gray-100",children:a.jsx("div",{className:"mt-1 h-4 w-20 rounded-md bg-gray-200"})},n))}),un=({children:e,size:t="medium",background:n="transparent",textColor:r=""})=>{const s=Y9[t];return a.jsx(k,{className:`inline-flex items-center ${n} min-w-fit justify-center rounded-full px-2.5 py-1 border gap-x-2 ${s} ${n==="transparent"?"border-grey-300":"border-none"} ${r}`,children:e})},l8=async({subscriptionId:e})=>{const{data:t}=await xn().get(`/sdk/subscriptions/${e}/billing-history`);return t},c8=({subscriptionId:e})=>{const[t,n]=p.useState(null),[r,s]=p.useState(!1),o=async()=>{if(!e){yt.error("Missing subscriptionId");return}s(!0);try{const i=await l8({subscriptionId:e});n(i?.data)}catch(i){yt.error(i instanceof Error?i.message:"Failed to load billing history")}finally{s(!1)}};return p.useEffect(()=>{o()},[e]),{billingHistory:t,isLoading:r,refetch:o}},u8=async({invoiceId:e})=>{const{data:t}=await xn().get(`/sdk/invoices/${e}/view`);return t},l0=({invoiceId:e})=>{const[t,n]=p.useState(null),[r,s]=p.useState(!1),o=async()=>{if(e){s(!0);try{const i=await u8({invoiceId:e});n(i?.data)}catch(i){yt.error(i instanceof Error?i.message:"Failed to load invoice details")}finally{s(!1)}}};return p.useEffect(()=>{o()},[e]),{invoiceDetails:t,isLoading:r,refetch:o}},d8=({subscriptionId:e})=>{const[t,n]=p.useState(!1),[r,s]=p.useState(null),o=p.useRef(null),{billingHistory:i}=c8({subscriptionId:e}),{invoiceDetails:l}=l0({invoiceId:r||""}),c=d=>{d.status===o1.Paid&&d.invoice_id&&(s(d.invoice_id),n(!0))},u=[{header:"Total amount",render:d=>{const{text:f,color:h}=m6(d.status),m=Nt(d.currency);return a.jsx(k,{children:a.jsxs(k,{className:"flex items-center gap-2",children:[a.jsxs(k,{className:"flex items-center",children:[a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:m}),a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:le(d.total_amount)})]}),a.jsx(un,{size:"small",background:`${h}`,children:a.jsx(Z,{variant:"label9",className:"capitalize text-metrifox-white",children:f})})]})})}},{header:"Invoice number",render:d=>a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:d.invoice_number||"-"})},{header:"Source type",render:d=>a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:Rt(d.source_type==="billing_cycle"?"subscription":d.source_type).replace(/_/g," ")})},{header:"Issue date",render:d=>a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:d.issued_date?s1(d.issued_date).format("MMM D, YYYY"):"-"})},{header:"Due date",render:d=>a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:d.due_date?s1(d.due_date).format("MMM D, YYYY"):"-"})},{header:"Amount paid",render:d=>{const f=Nt(d.currency);return a.jsxs(k,{className:"flex items-center",children:[a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:f}),a.jsx(W,{className:"capitalize",variant:"body6",color:"text-grey-700",children:le(d.amount_paid)})]})}}];return!i||i?.length===0?null:a.jsxs(k,{className:"bg-grey-100 rounded-2xl p-4",children:[a.jsxs(k,{className:"flex items-center gap-1",children:[a.jsx(k,{className:"p-1.5 bg-grey-200 rounded-lg",children:a.jsx(me,{name:"receipt",size:16,color:"grey-500"})}),a.jsx(Z,{variant:"label7",className:"text-metrifox-black font-medium",children:"Billing history"})]}),a.jsx(jr,{columns:u,data:i,onRowClick:c,className:"mt-2"}),t&&r&&a.jsx(a0,{isOpen:t,onClose:()=>{n(!1),s(null)},contentRef:o,content:a.jsx(u1,{data:l}),modalTitle:"Invoice PDF"})]})},f8=({entitlements:e})=>a.jsx(jr,{columns:[{key:"name",header:"Feature",render:t=>a.jsx(k,{children:a.jsx(W,{variant:"body6",color:"text-grey-700",children:t.name})})},{key:"features_type",header:"Type",render:t=>{const n={[or.METERED]:"bg-metrifox-blue",[or.BOOLEAN]:"bg-metrifox-warning"};return a.jsx(k,{children:a.jsx(un,{size:"small",textColor:"text-metrifox-white",background:n[t.feature_type],children:a.jsx(W,{variant:"body6",children:Rt(t.feature_type)})})})}},{key:"quota",header:"Quota Limit",render:t=>{const n=`${t.quota} ${t.name}`,r=h6(),s=t.reset_interval!==Uo.NONE?Rt(r[t.reset_interval]||""):"";return a.jsx(k,{children:a.jsx(W,{variant:"body6",children:t.feature_type===or.BOOLEAN?"Access granted":`${n} ${s}`})})}}],data:e}),h8=({meteredEntitlements:e})=>a.jsx(jr,{columns:[{header:"Feature",render:t=>a.jsx(k,{children:a.jsx(W,{variant:"body6",color:"text-grey-700",children:t.name})})},{key:"featuresUsage",header:"Usage",render:t=>{const n=e?.find(o=>o.name===t.name);if(!n){const o=`${t.used_quantity}/${t.quota===-1?"\u221E":t.quota} ${t.name}`;return a.jsx(W,{variant:"body6",children:o})}const r=n.quota===-1?100:Math.min(n.used_quantity/Number(n.quota)*100,100).toFixed(0),s=n.quota==="unlimited"?"\u221E":`${r}%`;return a.jsx(k,{className:"flex gap-4 items-center",children:a.jsxs(k,{className:"flex-1",children:[a.jsxs(k,{className:"w-full flex items-center gap-x-2",children:[a.jsx(k,{className:"w-full h-[6px] bg-grey-300 rounded",children:a.jsx(k,{className:"h-[6px] bg-metrifox-blue rounded",style:{width:`${r}%`}})}),a.jsx(k,{className:"w-8",children:a.jsx(W,{variant:"body7",className:n.quota===-1?"text-xl":"",children:s})})]}),a.jsxs(W,{variant:"body6",className:"mt-1",children:[n.used_quantity,"/",n.quota===-1?"":n.quota," ",n.reset_interval===Uo.NONE?"":`every ${f6[n.reset_interval]}`]})]})})}}],data:e}),p8=({entitlements:e})=>{const t=e.filter(n=>n.feature_type!==or.BOOLEAN);return a.jsxs(k,{className:"bg-grey-100 rounded-2xl p-4",children:[a.jsx(k,{className:"flex items-center justify-between",children:a.jsxs(k,{className:"flex items-center gap-1",children:[a.jsx(k,{className:"p-1.5 bg-grey-200 rounded-lg",children:a.jsx(me,{name:"radar",size:16,color:"grey-500"})}),a.jsx(Z,{variant:"label7",className:"text-metrifox-black font-medium",children:"Entitlements"})]})}),a.jsx(k,{className:"bg-metrifox-white rounded-2xl p-4 mt-2",children:a.jsxs(fs,{children:[a.jsxs(hs,{className:"w-max bg-grey-100 border border-neutral-200 text-grey-500 px-1.5 py-1 rounded-2xl",children:[a.jsx(sr,{className:"w-max data-[selected]:bg-metrifox-primary data-[selected]:border data-[selected]:border-grey-200 outline-none data-[selected]:text-metrifox-white rounded-xl px-8 py-2",children:a.jsx(W,{variant:"body6",children:"Summary"})}),t.length>0&&a.jsx(sr,{className:"w-max data-[selected]:bg-metrifox-primary data-[selected]:border data-[selected]:border-grey-200 outline-none data-[selected]:text-metrifox-white rounded-xl px-8 py-2",children:a.jsx(W,{variant:"body6",children:"Usage"})})]}),a.jsxs(ps,{children:[a.jsx(Tn,{children:a.jsx(f8,{entitlements:e})}),t.length>0&&a.jsx(Tn,{children:a.jsx(h8,{meteredEntitlements:t})})]})]})})]})},m8=({tenantDetails:e,paymentMethod:t})=>{const{address:n}=n1(e?.billing_address),r=[{label:"Billed to",value:e?.full_name||"-"},{label:"Billing email",value:e?.billing_email||"-"},{label:"Billing address",value:n||"-"}];return a.jsxs(k,{className:"bg-grey-100 rounded-2xl p-4",children:[a.jsx(k,{className:"flex items-center justify-between",children:a.jsxs(k,{className:"flex items-center gap-1",children:[a.jsx(k,{className:"p-1.5 bg-grey-200 rounded-lg",children:a.jsx(me,{name:"money",size:18,color:"grey-500"})}),a.jsx(Z,{variant:"label7",className:"text-metrifox-black font-medium",children:"Payment"})]})}),a.jsx(k,{className:"bg-grey-200 rounded-t-2xl px-3 pt-2.5 pb-4 mt-2",children:a.jsx(Z,{variant:"label8",className:"text-grey-500 font-medium",children:"Details"})}),a.jsxs(k,{className:"bg-metrifox-white grid grid-cols-3 gap-8 justify-between rounded-2xl p-4 -mt-2.5",children:[r?.map((s,o)=>a.jsxs(k,{children:[a.jsx(Z,{variant:"label8",className:"text-grey-500",children:s?.label}),a.jsx(Z,{variant:"label7",className:"text-grey-600 font-medium mt-2",children:s?.value||"-"})]},o)),a.jsxs(k,{children:[a.jsx(Z,{variant:"label8",className:"text-grey-500",children:"Payment method"}),t?a.jsxs(k,{className:"flex items-center gap-x-2 mt-2",children:[a.jsxs(W,{variant:"body6",color:"text-grey-600 font-medium",children:[Rt(t?.brand)," ",t?.display_name," "]}),a.jsxs(W,{variant:"body6",className:"text-neutral-500 font-light",children:["Expires ",t?.exp_month,"/",t?.exp_year]})]}):a.jsx("span",{children:"-"})]})]})]})},g8=({progress:e})=>{const t=r8(e,[0,20,100],[0,0,1]);return a.jsx(Ps.svg,{width:"16",height:"16",viewBox:"0 0 25 25",children:a.jsx(Ps.path,{d:"M5.5 11.5L10.5 16.5L19.5 7.60001",fill:"transparent",stroke:"#1E4D37",strokeWidth:2,style:{pathLength:t}})})},x8=({text:e,children:t,showCopyIcon:n})=>{const r=n0(90),[s,o]=p.useState(!1),i=l=>{navigator.clipboard.writeText(l).catch(()=>{})};return a.jsxs(k,{className:"*:ml-1 flex items-center bg-grey-200 w-fit py-0.5 px-2 rounded-xl font-medium",children:[t||a.jsx(W,{variant:"body6",color:"text-grey-700",className:"!ml-0",children:e}),n&&a.jsx(a.Fragment,{children:s?a.jsxs(a.Fragment,{children:[a.jsx(Ps.div,{initial:{x:0},animate:{x:100},style:{x:r},transition:{duration:.25,ease:"easeOut"}}),a.jsx(g8,{progress:r})]}):a.jsx("button",{className:"w-fit",type:"button",onClick:l=>{l.stopPropagation(),i(e),o(!0),setTimeout(()=>o(!1),2e3)},children:a.jsx(me,{name:"copy",color:"grey-500",size:16})})})]})},y8=async({product_key:e,customer_key:t})=>{const{data:n}=await xn().get(`/sdk/product_catalogues/products/published-plans?product_key=${e}&customer_key=${t}`);return n},v8=({product_key:e,customer_key:t})=>{const[n,r]=p.useState(null),[s,o]=p.useState(!1),i=async()=>{if(!e){yt.error("Missing product_key");return}o(!0);try{const l=await y8({product_key:e,customer_key:t});r(l?.data)}catch(l){yt.error(l instanceof Error?l.message:"Failed to load product plans")}finally{o(!1)}};return p.useEffect(()=>{i()},[e]),{productPlans:n,isLoading:s,refetch:i}},b8=e=>{const t=w6(e||[]),[n,r]=p.useState(""),s=[...t.includes(ge.DAILY)?[ge.DAILY]:[],...t.includes(ge.WEEKLY)?[ge.WEEKLY]:[],...t.includes(ge.MONTHLY)?[ge.MONTHLY]:[],...t.includes(ge.QUARTERLY)?[ge.QUARTERLY]:[],...t.includes(ge.BIANNUALLY)?[ge.BIANNUALLY]:[],...t.includes(ge.YEARLY)?[ge.YEARLY]:[]];return p.useEffect(()=>{!n&&s[0]&&r(s[0])},[s,n]),{intervals:s,selectedInterval:n,setSelectedInterval:r}},c0=({selectedInterval:e,publishedOnly:t=!1})=>{const{plans:n}=Dn(),r=c=>{if(c)return t?c?.is_visible?c:void 0:c},s=n?.some(c=>!!r(c)?.description),o=n?.some(c=>!!r(c)?.trial_duration_value),i=n?.some(c=>{const u=r(c);return u?u.price_options?.some(d=>d.price?.billing_interval===e)||u.is_free||u.is_custom:!1}),l=n?.some(c=>{const u=r(c);return u?[u.credit_attachment_price_options,u.entitlement_price_options].some(d=>Array.isArray(d)&&d.some(f=>f.price?.billing_interval===e)):!1});return{shouldShowDescription:s,shouldShowFreeTrial:o,shouldShowFixedPrice:i,shouldShowDynamicPrices:l}},u0=({entitlements:e,baseEntitlementsPlanName:t,credits:n})=>{const r=zo(e).filter(s=>s?.is_visible);return a.jsxs(k,{children:[a.jsx(Z,{variant:"label7",className:"text-metrifox-primary mb-3",as:"p",children:t?`Everything in ${t} plus:`:"\xA0"}),a.jsxs("ul",{className:"flex flex-col gap-y-3",children:[n?.map((s,o)=>a.jsxs("li",{className:"flex items-center gap-[10px]",children:[a.jsx(me,{name:"check",color:"green-600",size:16}),a.jsx(W,{variant:"body5",children:s.included_usage_text})]},o)),r?.map((s,o)=>a.jsxs("li",{className:"flex items-center gap-[10px]",children:[a.jsx(me,{name:"check",color:"green-600",size:16}),a.jsx(W,{variant:"body5",children:s.display_text})]},o))]})]})},C8=e=>{const t=e?.price?.billing_interval,n=e?.price.tiers,r=e?.price.currency,s=e?.price?.invoice_timing,o=Nt(r),i=x=>{const v=e?.price?.owner,b=v?.included_usage||0,C=x?.find(A=>A.first_unit===b);if(!C)return{price:null,label:null};const{unit_price:y,package_price:j,package_size:w,pricing_model:L,flat_fee:T}=C;return T?{price:T.toFixed(2),label:""}:{per_unit:{price:y?.toFixed(2),label:`per. ${v?.feature?.unit_singular||v?.credit_unit_singular}`},per_package:{price:j?.toFixed(2),label:`for ${w} ${v?.feature?.unit_plural}`}}[L]??{price:null,label:null}},{price:l,label:c}=i(n),u=e?.price?.is_custom&&e?.price?.billing_interval_value>1?`every ${e?.price?.billing_interval_value} ${b6[t]}`:t,d=[ge.DAILY,ge.WEEKLY],f={[ge.DAILY]:"day",[ge.WEEKLY]:"week"},h=t,m=d.includes(h)?f[h]:"month",g=(v6(t,e?.price?.billing_interval_value)*(e?.price?.price??0)).toFixed(2);return{amount:(e?.price?.price??0).toFixed(2),billedText:u,intervalText:m,billingAmount:g,tierPrice:l,tierLabel:c,currencySymbol:o,invoiceTiming:s,intervalValue:e?.price?.billing_interval_value}},w8=({priceOption:e,interval:t})=>{const{amount:n,billedText:r,billingAmount:s,intervalText:o,currencySymbol:i,intervalValue:l}=C8(e),c=le(n).split("."),u=c?c[0]:"0",d=c&&c.length>1?c[1]:"00";return a.jsxs(k,{className:"p-2 border-b border-grey-200 last:border-0",children:[a.jsx(k,{className:"flex items-center justify-between",children:a.jsx(Z,{variant:"label7",className:"text-grey-600 mb-2",children:"Fixed recurring"})}),a.jsxs(k,{className:"flex items-end",children:[a.jsxs(Z,{variant:"label3",className:"text-[var(--price-color,#0F0F0F)]",children:[i,u]}),a.jsxs(Z,{variant:"label6",className:"mb-[5px] text-yala-black",children:[".",d]}),a.jsxs(W,{variant:"body4",className:"mb-[5px] text-grey-500",children:["/",o]})]}),(t!==ge.MONTHLY||l!==1)&&a.jsxs(W,{className:"-mt-2",variant:"body6",children:["Billed"," ",a.jsxs(Z,{as:"span",variant:"label8",className:"inline-block",children:[i,le(s)," ",r.toLowerCase()]})]})]})},k8=({dynamicPrices:e,showMoreCard:t,showMore:n})=>{const[r,s]=p.useState("");return a.jsxs(k,{className:t?"":"h-[75px] flex flex-col",children:[(t?e:e.slice(0,2)).map(o=>{const i=o?.price?.name||o?.price?.owner?.feature?.name||o?.price?.owner?.name,l=C6(o?.price.tiers,o.price.currency),{price:c,label:u,currencySymbol:d,isPercentage:f}=l1(o),h=l?.length===1;return t?a.jsxs(k,{className:"p-2 border-b border-grey-200 last:border-0",children:[a.jsxs(k,{className:"flex justify-between items-center",children:[a.jsx(Z,{variant:"label7",className:"text-grey-600 mb-1",children:i}),h&&a.jsxs(k,{className:"flex items-center cursor-pointer",children:[a.jsxs(Z,{variant:"label7",color:"text-metrifox-black",children:[!f&&d,c]}),u&&a.jsxs(W,{variant:"body5",color:"text-grey-500",className:"mr-1",children:[f?"\xA0":"/",u]})]})]}),!h&&a.jsxs(k,{className:"flex justify-between items-center",children:[a.jsx(W,{variant:"body5",className:"text-grey-700",children:"Starts at"}),a.jsxs(k,{className:"flex items-center cursor-pointer",onClick:m=>{m.stopPropagation(),s(r===o.id?"":o.id)},children:[a.jsxs(Z,{variant:"label7",color:"text-metrifox-black",children:[!f&&d,c]}),a.jsxs(W,{variant:"body5",color:"text-grey-500",className:"mr-1",children:[f?"\xA0":"/",u]}),l.length>1&&a.jsx(me,{name:r===o.id?"arrow-up-light":"arrow-down-linear",size:16,color:"grey-400"})]})]}),r===o.id&&l.length>1&&a.jsx(k,{className:"bg-grey-200 p-2 mt-1 rounded-lg",children:a.jsx(k,{className:"flex flex-col gap-y",children:l?.map(m=>a.jsxs(k,{className:"flex justify-between items-center",children:[a.jsx(W,{variant:"body7",color:"text-grey-700",children:m?.label}),a.jsxs(W,{variant:"body7",color:"text-grey-700",children:[m?.price,m?.package?`/${m?.package} ${u}`:""]})]},m?.label))})})]},o.id):a.jsx(k,{className:"mt-1",children:a.jsxs(k,{className:"flex items-center gap-x-1 flex-wrap",children:[a.jsx(Z,{variant:"label8",className:"text-grey-600 whitespace-nowrap",children:i}),a.jsx(W,{variant:"body7",children:h?"at":"from"}),a.jsxs(k,{className:"flex items-center",children:[a.jsxs(Z,{variant:"label7",color:"text-metrifox-black",children:[!f&&d,c]}),u&&a.jsxs(W,{variant:"body7",color:"text-grey-500",children:[f?"\xA0":"/",u]})]})]})},o.id)}),!t&&!!e?.length&&a.jsx(k,{className:"flex items-center justify-center mt-auto mb-2",children:a.jsx(Ns,{onClick:o=>{n(),o?.stopPropagation()},className:"mt-2",children:a.jsx(W,{variant:"body8",className:"text-metrifox-blue underline",children:"Explore all priced features"})})})]})},j8=({priceOption:e})=>{const{price:t,label:n,currencySymbol:r,isPercentage:s}=l1(e),o=le(t).split("."),i=o?o[0]:"0",l=o&&o.length>1?o[1]:"00";return a.jsxs(k,{className:"p-2 border-b border-grey-200 last:border-0",children:[a.jsx(k,{className:"flex items-center justify-between",children:a.jsx(Z,{variant:"label7",className:"text-grey-600 mb-2",children:"Starts at"})}),a.jsxs(k,{className:"flex items-end",children:[!s&&a.jsxs(a.Fragment,{children:[a.jsxs(Z,{variant:"label3",className:"text-[var(--price-color,#0F0F0F)]",children:[r,i]}),a.jsxs(Z,{variant:"label6",className:"mb-[5px] text-yala-black",children:[".",l]})]}),s&&a.jsx(Z,{variant:"label3",className:"text-[var(--price-color,#0F0F0F)]",children:t}),n&&a.jsxs(W,{variant:"body4",className:"mb-[5px] text-grey-500",children:[s?"\xA0":"/",n]})]})]})},L8=({interval:e,priceOptions:t,entitlementPriceOptions:n,creditAttachmentPriceOptions:r,isPricePage:s,trialTag:o,showMoreCard:i,isFree:l,isCustom:c,showMore:u})=>{const{shouldShowFixedPrice:d,shouldShowFreeTrial:f,shouldShowDynamicPrices:h}=c0({selectedInterval:e,publishedOnly:s}),m=i1(e,t),g=a1(e,n),x=a1(e,r),v=g.length===1&&!m,b=[...x,...v?[]:g];return a.jsxs(k,{className:i?"bg-grey-100 border border-grey-200 rounded-2xl p-2 mb-3":"w-full",children:[d&&a.jsxs(k,{className:i?"":"h-[94px]",children:[l&&a.jsx(k,{className:"p-2 border-b border-grey-200 last:border-0",children:a.jsxs(k,{className:"flex items-center justify-between pt-[21px] pb-4",children:[a.jsx(Z,{variant:"label3",children:"Free"}),!s]})}),c&&a.jsx(k,{className:"p-2 border-b border-grey-200 last:border-0",children:a.jsxs(k,{className:"flex items-center justify-between pt-[21px] pb-4",children:[a.jsx(Z,{variant:"label4",children:"Custom"}),!s]})}),!m&&!l&&!c&&!v&&a.jsx(k,{className:"p-2 border-b border-grey-200 last:border-0",children:a.jsxs(k,{className:"flex items-center justify-between pt-[21px] pb-4",children:[a.jsx(Z,{variant:"label4",children:"No fixed price"}),!s]})}),m&&a.jsx(w8,{interval:e,priceOption:m}),v&&!m&&a.jsx(j8,{priceOption:g[0]})]}),f&&!s&&a.jsx(k,{className:"h-6",children:o}),h&&a.jsx(k8,{dynamicPrices:b,showMoreCard:!!i,showMore:u})]})},E8=({description:e,entitlements:t,baseEntitlementsPlanName:n,priceContent:r})=>a.jsxs(k,{children:[a.jsx(Z,{variant:"label7",className:"mb-2",children:"Description"}),a.jsx(W,{variant:"body5",className:"mb-4 whitespace-pre-wrap",children:e}),r,a.jsx(u0,{entitlements:t,baseEntitlementsPlanName:n})]});function M8(e){p.useEffect(function(){typeof e=="function"&&e()},[])}var S8="Expected a function",d0=0/0,T8="[object Symbol]",D8=/^\s+|\s+$/g,P8=/^[-+]0x[0-9a-f]+$/i,A8=/^0b[01]+$/i,R8=/^0o[0-7]+$/i,N8=parseInt,F8=typeof _t=="object"&&_t&&_t.Object===Object&&_t,V8=typeof self=="object"&&self&&self.Object===Object&&self,$8=F8||V8||Function("return this")(),O8=Object.prototype,_8=O8.toString,B8=Math.max,I8=Math.min,fa=function(){return $8.Date.now()};function H8(e,t,n){var r,s,o,i,l,c,u=0,d=!1,f=!1,h=!0;if(typeof e!="function")throw new TypeError(S8);t=f0(t)||0,ha(n)&&(d=!!n.leading,f="maxWait"in n,o=f?B8(f0(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h);function m(L){var T=r,A=s;return r=s=void 0,u=L,i=e.apply(A,T),i}function g(L){return u=L,l=setTimeout(b,t),d?m(L):i}function x(L){var T=L-c,A=L-u,I=t-T;return f?I8(I,o-A):I}function v(L){var T=L-c,A=L-u;return c===void 0||T>=t||T<0||f&&A>=o}function b(){var L=fa();if(v(L))return C(L);l=setTimeout(b,x(L))}function C(L){return l=void 0,h&&r?m(L):(r=s=void 0,i)}function y(){l!==void 0&&clearTimeout(l),u=0,r=c=s=l=void 0}function j(){return l===void 0?i:C(fa())}function w(){var L=fa(),T=v(L);if(r=arguments,s=this,c=L,T){if(l===void 0)return g(c);if(f)return l=setTimeout(b,t),m(c)}return l===void 0&&(l=setTimeout(b,t)),i}return w.cancel=y,w.flush=j,w}function ha(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function W8(e){return!!e&&typeof e=="object"}function Z8(e){return typeof e=="symbol"||W8(e)&&_8.call(e)==T8}function f0(e){if(typeof e=="number")return e;if(Z8(e))return d0;if(ha(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ha(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(D8,"");var n=A8.test(e);return n||R8.test(e)?N8(e.slice(2),n?2:8):P8.test(e)?d0:+e}var U8=H8,z8=Tr(U8);function K8(e,t,n){var r=p.useCallback(function(o){return z8(o,t,n)},[t,n]),s=p.useRef(r(e));return p.useEffect(function(){s.current=r(e)},[e,r]),s.current}function Y8(e,t){var n=p.useRef(!1);typeof t<"u"&&!Array.isArray(t)?t=[t]:Array.isArray(t)&&t.length===0&&console.warn("Using [] as the second argument makes useDidUpdate a noop. The second argument should either be `undefined` or an array of length greater than 0."),p.useEffect(function(){n.current?e():n.current=!0},t),p.useEffect(function(){return function(){n.current=!1}},[])}var h0=typeof window>"u"?p.useEffect:p.useLayoutEffect;function G8(e,t){t===void 0&&(t=!1);var n=t?h0:p.useEffect,r=p.useRef(e);return n(function(){r.current=e}),r}function q8(e){var t=G8(e);function n(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];typeof t.current=="function"&&t.current.apply(t,r)}return n}var X8=process.env.NODE_ENV!=="production",p0=function(){};if(X8){var J8=function(e){var t="Warning: ".concat(e);typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}};p0=function(e,t){e||J8(t)}}function Q8(e,t,n,r,s,o){r===void 0&&(r={}),s===void 0&&(s=!0),o===void 0&&(o=!1);var i=q8(n),l=o?h0:p.useEffect;l(function(){return p0(typeof e<"u","[useGlobalObjectEventListener]: Cannot attach event handlers to undefined."),typeof e<"u"&&s?(e.addEventListener(t,i,r),function(){e.removeEventListener(t,i,r)}):function(){}},[t,r])}function eg(e,t,n){t===void 0&&(t=!0),n===void 0&&(n=!1),typeof window<"u"?Q8(window,"resize",e,{passive:!0},t,n):console.warn("useOnWindowResize can't attach an event listener as window is undefined.")}var m0="...",tg=0,Fs=function(){return"__clamp_text_key__".concat(tg++)};function ng(e){var t=e.text,n=e.ellipsis,r=n===void 0?m0:n,s=e.lines,o=s===void 0?3:s,i=e.expanded,l=i===void 0?!1:i,c=e.debounceTime,u=c===void 0?300:c,d=e.charWidth,f=d===void 0?1.2:d,h=p.useState(function(){return{noClamp:!1,clampedText:".",key:Fs()}}),m=h[0],g=m.noClamp,x=m.clampedText,v=m.key,b=h[1],C=p.useRef(),y=p.useRef(0),j=p.useCallback(function(L){var T=L.lineHeight,A=L.originalText,I=L.expanded,V=L.ellipsis,O=L.lines,z=L.charWidth,U=C.current;if(!U)return;if(!A||I){b({noClamp:!0,clampedText:A,key:Fs()});return}var P=T*O+1,F=0;typeof V=="string"?F=V===m0?5:Math.ceil(V.length*z):typeof V=="number"&&(F=Math.ceil(V*z));var E=0,D=0,M=A.length;if(!U.clientHeight)return;function $(){var H,Y=(H=U?.clientHeight)!==null&&H!==void 0?H:1;Y<=P?E=D+1:M=D-1}for(;E<=M;){if(D=Math.floor((E+M)/2),U.innerText=A.slice(0,D),D===A.length){b({clampedText:A,noClamp:!0,key:Fs()});return}$()}var N=A.slice(0,Math.max(D-F,0)).trim()+(typeof V=="string"?V:"");U.innerText=N,b({noClamp:!1,clampedText:N,key:Fs()})},[]),w=K8(j,u);return eg(function(){return w({lineHeight:y.current,originalText:t,expanded:l,ellipsis:r,lines:o,charWidth:f})}),M8(function(){var L,T;if(t&&!y.current){var A=((T=(L=C.current)===null||L===void 0?void 0:L.clientHeight)!==null&&T!==void 0?T:1)+1;y.current=A,j({lineHeight:A,originalText:t,expanded:l,ellipsis:r,lines:o,charWidth:f})}}),Y8(function(){j({lineHeight:y.current,originalText:t,expanded:l,ellipsis:r,lines:o,charWidth:f})},[l,t,f,r,o]),[C,{noClamp:g,clampedText:x,key:v}]}const rg=({description:e,showDetails:t})=>{const[n,{noClamp:r,clampedText:s,key:o}]=ng({text:e,ellipsis:12.5,lines:3});return e?a.jsx(W,{variant:"body6",children:a.jsxs("span",{ref:n,className:"w-full inline-block",children:[s,!r&&a.jsxs(a.Fragment,{children:["...",a.jsx(Ns,{onClick:i=>{t(),i?.stopPropagation()},className:"!inline",children:a.jsx(W,{variant:"body6",className:"text-metrifox-blue border-b border-metrifox-blue",children:"See more"})})]})]},o)}):null},sg=({selectedInterval:e,intervals:t,setSelectedInterval:n})=>a.jsx(k,{className:"rounded-2xl p-1 flex bg-[var(--card-background-color,#F5F5F5)]",children:t.map(r=>{const s=e===r;return a.jsx(k,{className:`py-[4px] px-3 rounded-[12px] cursor-pointer ${s?"bg-[var(--active-tab-color,#3D3D3D)]":""}`,onClick:()=>n(r),children:a.jsx(W,{variant:"body4",color:s?"text-[var(--button-text,#FFFFFF)]":"text-[var(--tab-color,#A1A1AA)]",children:Rt(r)})},r)})}),og=({product:e,tenantDetails:t})=>{const[n,r]=p.useState(!1),[s,o]=p.useState(null),{customerKey:i,setPlans:l}=Dn(),c=e?.product_key,u=t?.tenant_checkout_username,d=L6({productKey:c,checkoutUsername:u}),{productPlans:f}=v8({product_key:c,customer_key:i}),h=p.useMemo(()=>{const w=f?.plans||[],L=new Map;return w.forEach(T=>{T.is_visible&&(!L.get(T.offering_key)||T.is_current_plan)&&L.set(T.offering_key,T)}),Array.from(L.values())},[f]),m=p.useMemo(()=>h?.findIndex(w=>w?.is_current_plan)??-1,[h]),{intervals:g,selectedInterval:x,setSelectedInterval:v}=b8(h||[]),{shouldShowDescription:b}=c0({selectedInterval:x,publishedOnly:!0}),C=w=>{o(w),r(!0)},y=()=>{r(!1),o(null)},j=w=>{window.open(w,"_blank","noopener,noreferrer")};return p.useEffect(()=>{h&&h?.length>0&&l(h)},[h,l]),!h||h?.length===0?null:a.jsx(a.Fragment,{children:a.jsxs(k,{className:"bg-grey-100 rounded-2xl p-4",children:[a.jsx(k,{className:"flex items-center justify-between",children:a.jsxs(k,{className:"flex items-center gap-1",children:[a.jsx(k,{className:"p-1.5 bg-grey-200 rounded-lg",children:a.jsx(me,{name:"subtitle",size:18,color:"grey-500"})}),a.jsxs(k,{className:"flex gap-x-2",children:[a.jsx(Z,{variant:"label7",className:"text-metrifox-black font-medium",children:"Plan"}),a.jsx("a",{href:d,target:"_blank",rel:"noopener noreferrer",className:"underline text-metrifox-blue",children:a.jsx(x8,{text:d,children:a.jsx(W,{variant:"body6",color:"text-metrifox-blue",className:"truncate w-[165px]",children:d})})})]})]})}),a.jsxs(k,{className:"bg-metrifox-white rounded-2xl mt-2 p-4",children:[g.length>0&&a.jsx(k,{className:"flex justify-center mb-2.5",children:a.jsx(sg,{selectedInterval:x,intervals:g,setSelectedInterval:v})}),a.jsx(k,{className:"flex gap-x-2 overflow-x-auto whitespace-nowrap px-6 py-4 -mx-4 [&::-webkit-scrollbar]:h-2 [&::-webkit-scrollbar-track]:bg-grey-100 [&::-webkit-scrollbar-thumb]:bg-grey-300 [&::-webkit-scrollbar-thumb]:rounded-full",children:h?.map((w,L)=>{const T=w?.is_current_plan,{name:A,entitlements:I,base_entitlement_plan_name:V,is_free:O,is_custom:z,description:U,price_options:P,entitlement_price_options:F,credit_attachment_price_options:E,credit_attachments:D,trial_duration_unit:M,trial_duration_value:$}=w,N=i1(x,[...P,...F]),H=M&&$,Y=$===1?M:`${M}s`;if(!N&&!O&&!z)return null;const _=zo([...I]).filter(se=>se?.is_visible),{featureOrderMap:R}=j6(h||[]),B=k6(_,R),Q=D?.filter(se=>se.included_usage),ne=T&&e?.subscription?.status===Fe.ACTIVE,G=se=>a.jsx(L8,{trialTag:H&&a.jsx(un,{background:"bg-grey-300",textColor:"text-metrifox-black",size:"small",children:a.jsx(W,{variant:"body6",children:`${$} ${Y} Free trial`})}),interval:x,priceOptions:P,entitlementPriceOptions:F,creditAttachmentPriceOptions:E,isPricePage:!1,showMoreCard:!!se,showMore:()=>C(w),isFree:O,isCustom:z});return a.jsxs(p.Fragment,{children:[a.jsxs(k,{className:"w-[20rem] mb-8 flex-none text-wrap cursor-pointer",children:[a.jsx(k,{className:`${T?"bg-metrifox-primary":"bg-grey-200"} rounded-t-2xl px-3 pt-2.5 pb-4 mt-2"`,children:a.jsx(Z,{variant:"label8",className:`${T?"text-metrifox-white":"text-grey-500"} font-medium`,children:w.name})}),a.jsx(k,{className:`${T?"border-b border-x":"border"} border-grey-200 h-full flex flex-col justify-between rounded-2xl p-2 -mt-2.5 transition-all duration-200 ${T?"bg-yellow-gradient":"bg-metrifox-white"}`,children:a.jsxs(k,{className:"w-full min-h-[25rem]",children:[b&&a.jsx(k,{className:"h-[51px] mt-1",children:a.jsx(rg,{description:U,showDetails:()=>C(w)})}),G(),a.jsx(kr,{onClick:()=>j(w?.checkout_url),className:"w-full bg-metrifox-primary hover:bg-metrifox-primary-dark my-4",disabled:ne,children:a.jsx(Z,{variant:"label8",className:"text-metrifox-white",children:ne?"Current plan":L>=m?"Upgrade":"Downgrade"})}),a.jsx(k,{className:"px-2 mt-3",children:a.jsx(u0,{entitlements:B,credits:Q,baseEntitlementsPlanName:V})})]})})]}),a.jsx(As,{isOpen:n&&s?.offering_key===w.offering_key,onClose:y,title:A,size:"small",bottomContent:a.jsx(k,{className:"flex justify-end gap-x-2",children:a.jsx(da,{onClick:y,children:"Close"})}),children:s&&a.jsx(E8,{baseEntitlementsPlanName:s.base_entitlement_plan_name,description:s.description,entitlements:s.entitlements,priceContent:G(!0)})})]},L)})})]})]})})},ig=()=>a.jsx(k,{className:"flex justify-center items-center gap-x-2 h-full",children:a.jsxs(k,{className:"flex items-center gap-1",children:[a.jsx(W,{variant:"body7",color:"text-metrifox-black",children:"Powered by"}),a.jsx(c1,{height:30,width:100})]})}),ag=({trigger:e,children:t,className:n="bg-metrifox-white rounded-[10px] shadow-md",shouldMatchWidth:r,anchorGap:s=4,anchorTo:o="bottom start",anchorOffset:i=0})=>{const l=p.useRef(null),[c,u]=p.useState(null);p.useLayoutEffect(()=>{l.current&&u(l.current.offsetWidth)},[]);const d=r&&c?c:"auto";return a.jsxs(w9,{className:"relative",children:[a.jsx(Yc,{className:"outline-none w-full cursor-pointer",ref:l,as:"span",children:e}),a.jsx(Gc,{anchor:{gap:s,to:o,offset:i},className:`${n} absolute z-10 transition duration-200 ease-out data-[closed]:scale-95 data-[closed]:opacity-0`,style:{width:d},transition:!0,children:({close:f})=>typeof t=="function"?a.jsx(a.Fragment,{children:t(f)}):a.jsx(a.Fragment,{children:t})})]})},lg=async e=>{const{data:t}=await xn().post("/sdk/subscriptions/schedule-cancellation",e);return t},cg=({subscriptionId:e,isOpen:t,onClose:n})=>{const[r,s]=p.useState(!1),{customerRefetch:o}=Dn();return a.jsxs(As,{size:"small",title:"Cancel subscription?",isOpen:t,onClose:n,bottomContent:a.jsxs(k,{className:"flex justify-end gap-x-2",children:[a.jsx(ua,{className:"text-primary-500",onClick:n,size:"x-small",children:"Cancel"}),a.jsx(kr,{className:"!bg-metrifox-danger text-metrifox-white",onClick:async()=>{s(!0);try{const i=await lg({id:e});yt.success(i.message),s(!1),n(),o()}catch(i){yt.error(i instanceof Error?i.message:"An error ocurred"),s(!1)}},size:"x-small",isLoading:r,disabled:r,children:"Confirm"})]}),showCloseButton:!1,className:"bg-metrifox-white",children:[a.jsx(Z,{variant:"label7",children:"Are you sure you want to proceed?"}),a.jsx(W,{variant:"body4",color:"text-metrifox-black",className:"mt-5",children:"This subscription is scheduled to be canceled at the end of the billing cycle"})]})},ug=async e=>{const{data:t}=await xn().post("/sdk/subscriptions/revert-cancellation",e);return t},dg=({subscriptionId:e,isOpen:t,onClose:n})=>{const[r,s]=p.useState(!1),{customerRefetch:o}=Dn();return a.jsxs(As,{size:"small",title:"Undo cancellation?",isOpen:t,onClose:n,bottomContent:a.jsxs(k,{className:"flex justify-end gap-x-2",children:[a.jsx(ua,{className:"text-primary-500",onClick:n,size:"x-small",children:"Cancel"}),a.jsx(kr,{className:"text-metrifox-white",onClick:async()=>{s(!0);try{const i=await ug({id:e});yt.success(i.message),s(!1),n(),o()}catch(i){yt.error(i instanceof Error?i.message:"An error ocurred"),s(!1)}},size:"x-small",isLoading:r,disabled:r,children:"Next"})]}),showCloseButton:!1,className:"bg-metrifox-white",children:[a.jsx(W,{variant:"body4",color:"text-metrifox-black",children:"Keep subscription active?"}),a.jsx(W,{variant:"body4",color:"text-metrifox-black",className:"mt-5",children:"The subscription would keep going and renew as usual."})]})},fg=({subscription:e})=>{const[t,n]=p.useState(!1),[r,s]=p.useState(!1);return a.jsxs(k,{children:[e?.ends_at?a.jsx(k,{onClick:()=>s(!0),className:"cursor-pointer",children:a.jsx(W,{variant:"body6",className:"text-metrifox-danger",children:"Undo cancellation"})}):a.jsx(k,{onClick:()=>n(!0),className:"cursor-pointer",children:a.jsx(W,{variant:"body6",className:"text-metrifox-danger",children:"Cancel subscription"})}),a.jsx(cg,{subscriptionId:e?.id,isOpen:t,onClose:()=>n(!1)}),a.jsx(dg,{subscriptionId:e?.id,isOpen:r,onClose:()=>s(!1)})]})},hg=({subscriptionLineItems:e,handleUpdateQuantity:t,canUpdateQuantities:n})=>{const[r,s]=p.useState(!1),o=e[0];return a.jsxs(k,{children:[a.jsxs(k,{className:"bg-grey-200 rounded-t-2xl px-3 pt-2.5 pb-4 mt-4 flex items-center justify-between cursor-pointer",onClick:()=>s(!r),children:[a.jsx(Z,{variant:"label8",className:"text-grey-500 font-medium",children:"Items"}),a.jsxs(k,{className:"flex gap-x-2",children:[n&&a.jsx(Ns,{className:"!text-metrifox-blue underline cursor-pointer",onClick:i=>{i?.stopPropagation(),t()},children:"Update items"}),a.jsx("span",{className:`transform transition-transform duration-300 ${r?"rotate-180":"rotate-0"}`,children:a.jsx(me,{name:"arrow-down",size:14,color:"grey-500"})})]})]}),a.jsx(k,{className:"bg-metrifox-white rounded-2xl p-2 -mt-2.5 space-y-2",children:r?a.jsx(a.Fragment,{children:e?.map((i,l)=>a.jsx(k,{className:"bg-grey-50 border border-grey-200 rounded-lg p-2 flex justify-between",children:a.jsxs(k,{className:"w-full flex items-center justify-between",children:[a.jsx(k,{className:"flex items-center gap-4",children:a.jsxs(k,{className:"flex items-center gap-1",children:[a.jsx(Z,{variant:"label8",className:"text-grey-800 font-medium",children:Rt(i?.name)}),i?.is_addon&&a.jsx(un,{size:"small",background:"bg-grey-300",textColor:"text-metrifox-black",children:"Add-on"})]})}),a.jsxs(W,{variant:"body6",className:"text-grey-800 font-medium",children:[Nt(i?.currency_code),le(i?.unit_price||i?.total_amount)]})]})},l))}):a.jsxs(k,{className:"bg-grey-100 rounded-lg p-2 flex items-center justify-between cursor-pointer",children:[a.jsxs(Z,{variant:"label8",className:"text-grey-800 font-medium",children:[o?.name," ",a.jsx("span",{children:"\u2022"})," ",e.length," item(s)"]}),a.jsxs(k,{className:"flex items-center gap-1",children:[a.jsxs(W,{variant:"body6",className:"text-grey-800 font-medium",children:[Nt(o?.currency_code),le(o?.unit_price||o?.total_amount)]}),a.jsxs(W,{variant:"body6",className:"text-metrifox-blue",children:["+ ",e.length-1," prices(s)"]})]})]})})]})},pg=({subscription:e,tenantDetails:t})=>{const n=e?.status,{text:r,color:s}=x6(n),{customerKey:o}=Dn(),i=[{label:"Current plan",value:`${e?.plan_name||"-"}`},{label:"Status",value:a.jsx(un,{size:"small",background:s,textColor:"text-metrifox-white",children:Rt(r)||"-"})},{label:"Start date",value:at(e?.starts_at)},...n===Fe.IN_TRIAL?[{label:"Trial end date",value:at(e?.trial_end_date)}]:[{label:"End date",value:e?.ends_at?at(e?.ends_at):"-"}],...n===Fe.IN_TRIAL?[{label:"Trial period",value:e?.starts_at&&e?.trial_end_date?a.jsxs(Z,{variant:"label7",className:"text-grey-600",children:[at(e?.starts_at)," -"," ",at(e?.trial_end_date)]}):"-"}]:[],...n===Fe.ACTIVE?[{label:"Renewal date",value:e?.renews_at?at(e?.renews_at):"-"}]:[],...n===Fe.ACTIVE?[{label:"Current billing period",value:e?.current_billing_period_start&&e?.current_billing_period_end?a.jsxs(k,{children:[a.jsxs(Z,{variant:"label7",className:"text-grey-600",children:[at(e.current_billing_period_start)," -"," ",at(e.current_billing_period_end)]}),a.jsx(un,{size:"small",background:"bg-grey-200",textColor:"text-metrifox-black",children:"Auto-renew"})]}):"-"}]:[],...n===Fe.ACTIVE?[{label:"Next billing date",value:e?.renews_at?at(e?.renews_at):"-"}]:[],...n===Fe.ACTIVE?[{label:"Next estimated bill",value:e?.next_billing_amount?a.jsx(k,{children:a.jsxs(Z,{variant:"label7",className:"text-grey-600",children:[Nt(e.currency_code),e.next_billing_amount]})}):"-"}]:[]],l=()=>{const c=`${window.location.origin}/${t.tenant_checkout_username}/${e.offering_key}/subscriptions/${e.id}?customer=${o}`;window.open(c,"_blank","noopener,noreferrer")};return a.jsx(k,{children:a.jsxs(k,{className:"bg-grey-100 rounded-2xl p-4",children:[a.jsxs(k,{className:"flex items-center justify-between",children:[a.jsxs(k,{className:"flex items-center gap-1",children:[a.jsx(k,{className:"p-1.5 bg-grey-200 rounded-lg",children:a.jsx(me,{name:"money",size:18,color:"grey-500"})}),a.jsx(Z,{variant:"label7",className:"text-metrifox-black font-medium",children:"Subscription"})]}),e.status!==Fe.CANCELED&&a.jsx(ag,{trigger:a.jsx(me,{name:"more",size:20,color:"grey-500"}),anchorTo:"bottom end",className:"bg-metrifox-white rounded-md shadow-md p-4",children:a.jsx(fg,{subscription:e})})]}),a.jsx(k,{className:"bg-grey-200 rounded-t-2xl px-3 pt-2.5 pb-4 mt-2",children:a.jsx(Z,{variant:"label8",className:"text-grey-500 font-medium",children:"Details"})}),a.jsx(k,{className:"bg-metrifox-white flex justify-between flex-wrap gap-8 rounded-2xl p-4 -mt-2.5",children:i?.map((c,u)=>a.jsxs(k,{className:"",children:[a.jsx(Z,{variant:"label8",className:"text-grey-500",children:c?.label}),a.jsx(Z,{variant:"label7",className:`text-grey-600 font-medium mt-2 ${c?.value==="-"?"text-center":""}`,children:c?.value})]},u))}),e?.subscription_items?.length>0&&a.jsx(hg,{subscriptionLineItems:e?.subscription_items,handleUpdateQuantity:l,canUpdateQuantities:e?.can_update_quantities})]})})},mg=({upcomingInvoice:e})=>{const[t,n]=p.useState(!1),r=p.useRef(null),{invoiceDetails:s}=l0({invoiceId:e?.invoice_id});return a.jsxs(k,{children:[a.jsxs(k,{className:"bg-grey-100 rounded-2xl p-4 w-full flex items-center justify-between",children:[a.jsxs(k,{className:"flex items-center gap-3",children:[a.jsx(Z,{variant:"label7",className:"font-medium text-metrifox-black",children:"Upcoming Invoice"}),a.jsx(k,{className:"flex items-center gap-2",children:a.jsx(un,{background:"bg-purple-500",size:"small",children:a.jsxs(Z,{variant:"label8",className:"text-metrifox-white",children:[e?.currency?.symbol,e?.amount]})})}),a.jsxs(W,{variant:"body6",className:"text-metrifox-black",children:["Due"," ",new Date(e?.due_date).toLocaleString(e?.currency?.country_code,{month:"short",day:"numeric",year:"numeric"})]})]}),a.jsx(Ns,{className:"!text-metrifox-blue underline cursor-pointer",onClick:()=>{n(!0)},children:"Preview invoice"})]}),t&&a.jsx(a0,{isOpen:t,onClose:()=>n(!1),contentRef:r,content:a.jsx(u1,{data:s}),modalTitle:"Invoice preview"})]})},gg=({tenantDetails:e,subscription:t,wallet:n})=>{const[r,s]=p.useState(0),o=c=>c.allocations.map(u=>({creditedDate:u.credited_date,source:u.source,amount:u.amount,balance:u.balance_remaining,validUntil:u.valid_until})),i=[{header:"Credited date",render:c=>a.jsx(W,{variant:"body6",color:"text-grey-700",children:new Date(c.creditedDate).toString()})},{key:"source",header:"Source"},{header:"Amount",render:c=>a.jsx(W,{variant:"body6",color:"text-grey-700",children:le(c.amount)})},{header:"Balance",render:c=>a.jsx(W,{variant:"body6",color:"text-grey-700",children:le(c.balance)})},{header:"Valid until",render:c=>a.jsx(W,{variant:"body6",color:"text-grey-700",children:c.validUntil?new Date(c.validUntil).toLocaleDateString():"No expiration"})}],l=c=>{const u=`${window.location.origin}/${e.tenant_checkout_username}/checkout/${t.offering_key}?customer=${e.customer_key}&credit=${c}`;window.open(u,"_blank","noopener,noreferrer")};return!n||n.length===0?null:a.jsxs(k,{className:"bg-grey-100 rounded-2xl p-4",children:[a.jsxs(k,{className:"flex items-center gap-1",children:[a.jsx(k,{className:"p-1.5 bg-grey-200 rounded-lg",children:a.jsx(me,{name:"card-receive",size:16,color:"grey-500"})}),a.jsx(Z,{variant:"label7",className:"text-metrifox-black font-medium",children:"Wallet balance"})]}),a.jsx(k,{className:"bg-metrifox-white rounded-2xl p-4 mt-2",children:n.length>1?a.jsxs(fs,{defaultIndex:r,onChange:s,children:[a.jsx(hs,{className:"w-max bg-grey-100 border border-neutral-200 text-grey-500 px-1.5 py-1 rounded-2xl",children:n.map(c=>a.jsx(sr,{className:"w-max data-[selected]:bg-metrifox-primary data-[selected]:border data-[selected]:border-grey-200 outline-none data-[selected]:text-metrifox-white rounded-xl px-8 py-2",children:a.jsx(W,{variant:"body6",children:c.name})},c.id))}),a.jsx(ps,{children:n.map(c=>a.jsxs(Tn,{children:[a.jsx(k,{className:"bg-grey-100 rounded-lg p-6 mt-4",children:a.jsxs(k,{className:"w-full flex items-center justify-between gap-1",children:[a.jsxs(k,{className:"text-center",children:[a.jsx(k,{className:"flex items-center justify-center gap-1",children:a.jsx(Z,{variant:"label8",className:"text-grey-500 font-medium",children:"Total available balance"})}),a.jsxs(k,{className:"flex items-baseline justify-center gap-1",children:[a.jsx(Z,{variant:"label6",className:"text-neutral-800 font-medium",children:le(c.balance)}),a.jsx(Z,{variant:"label8",className:"text-grey-500 mt-3.5",children:c.name})]})]}),a.jsx(kr,{type:"button",size:"small",onClick:()=>l(c.credit_key),className:"text-metrifox-white",children:"Top up"})]})}),a.jsx(jr,{columns:i,data:o(c)})]},c.id))})]}):n[0]&&a.jsxs(a.Fragment,{children:[a.jsx(k,{className:"bg-grey-100 rounded-lg p-6 mt-4",children:a.jsxs(k,{className:"w-full flex items-center justify-between gap-1",children:[a.jsxs(k,{className:"text-center",children:[a.jsx(k,{className:"flex items-center justify-center gap-1",children:a.jsx(Z,{variant:"label8",className:"text-grey-500 font-medium",children:"Total available balance"})}),a.jsxs(k,{className:"flex items-baseline justify-center gap-1",children:[a.jsx(Z,{variant:"label6",className:"text-neutral-800 font-medium",children:le(n[0].balance)}),a.jsx(Z,{variant:"label8",className:"text-grey-500 mt-3.5",children:n[0].name})]})]}),a.jsx(kr,{type:"button",size:"small",onClick:()=>n[0]?.id&&l(n[0].id),className:"text-metrifox-white",children:"Top up"})]})}),a.jsx(jr,{columns:i,data:o(n[0])})]})})]})},xg=[{key:"upcomingInvoice"},{key:"subscription"},{key:"creditBalance"},{key:"entitlementUsage"},{key:"paymentOverview"},{key:"billingHistory"},{key:"plan"}],yg={upcomingInvoice:"upcoming-invoice",subscription:"subscription",creditBalance:"credit-balance",entitlementUsage:"entitlement-usage",paymentOverview:"payment-overview",billingHistory:"billing-history",plan:"plan"},g0=({product:e,tenantDetails:t,sectionsConfig:n})=>{const r=n||xg,s={upcomingInvoice:()=>e?.subscription?.upcoming_invoice?a.jsx(mg,{upcomingInvoice:e.subscription.upcoming_invoice}):null,subscription:()=>e?.subscription?a.jsx(pg,{subscription:e.subscription,tenantDetails:t}):null,creditBalance:()=>e?.wallets?.length>0?a.jsx(gg,{subscription:e.subscription,tenantDetails:t,wallet:e.wallets}):null,entitlementUsage:()=>e?.entitlements?.length>0?a.jsx(p8,{entitlements:e.entitlements}):null,paymentOverview:()=>a.jsx(m8,{paymentMethod:e.payment_method,tenantDetails:t}),billingHistory:()=>e?.subscription?.id?a.jsx(d8,{subscriptionId:e.subscription?.id}):null,plan:()=>e?.product_key?a.jsx(og,{product:e,tenantDetails:t}):null};return a.jsxs(k,{className:"space-y-4",children:[r.filter(o=>!o.hidden).map(o=>{const i=yg[o.key]??o.key;if(o.component)return a.jsx("section",{id:i,className:"space-y-4",children:a.jsx(o.component,{product:e,tenantDetails:t,...o.props})},o.key);const l=s[o.key],c=l?l(o.props):null;return c?a.jsx("section",{id:i,children:c},o.key):null}),a.jsx(ig,{})," "]})},vg=({customerKey:e,sectionsConfig:t})=>{const[n,r]=p.useState(0),{setCustomerKey:s,setCustomerRefetch:o}=Dn(),{customerDetails:i,error:l,refetch:c,isLoading:u}=n6({customerKey:e});if(p.useEffect(()=>{s(e),o(c)},[]),l)return a.jsx(k,{className:"max-w-[60rem] mx-auto py-6 px-4",children:a.jsxs("div",{className:"bg-red-50 p-4 rounded-lg text-red-700",children:["Error loading customer details: ",l]})});if(u||!i)return a.jsx(k,{className:"max-w-[60rem] mx-auto py-6 px-4",children:a.jsxs("div",{className:"animate-pulse space-y-4",children:[a.jsx("div",{className:"h-12 bg-gray-200 rounded-lg"}),a.jsx("div",{className:"h-16 bg-gray-200 rounded-lg"}),[1,2,3,4,5].map(m=>a.jsx("div",{className:"h-48 bg-gray-200 rounded-lg"},m))]})});const{subscriptions:d,...f}=i||{},h=d||[];return a.jsx(Of,{children:a.jsx(k,{className:"max-w-[60rem] mx-auto py-6 px-4 space-y-4",children:h&&h.length>1?a.jsxs(fs,{defaultIndex:n,onChange:m=>r(m),children:[a.jsx(hs,{className:"w-max bg-grey-100 border border-grey-200 text-grey-500 px-1.5 py-1 mb-4 rounded-2xl",children:h.map(m=>a.jsx(sr,{className:"w-max data-[selected]:bg-metrifox-primary data-[selected]:border data-[selected]:border-grey-200 outline-none data-[selected]:text-metrifox-white rounded-xl px-8 py-2",children:a.jsx(W,{variant:"body6",children:m.product_name})},m.product_key))}),a.jsx(ps,{children:h.map(m=>a.jsx(Tn,{children:a.jsx(g0,{product:m,tenantDetails:f,sectionsConfig:t})},m.product_key))})]}):a.jsx(a.Fragment,{children:h.map(m=>a.jsx(g0,{product:m,tenantDetails:f,sectionsConfig:t},m.product_key))})})})};exports.CustomerPortal=vg,exports.metrifoxInit=uf;
39
+ `;function y(C,v,j,w){var L,T,A,H,V;const{contentNode:O,clonedContentNode:z,clonedImgNodes:Z,clonedVideoNodes:P,numResourcesToLoad:F,originalCanvasNodes:E}=j,{bodyClass:D,fonts:S,ignoreGlobalStyles:$,pageStyle:R,nonce:W,suppressErrors:Y,copyShadowRoots:_}=w;C.onload=null;const N=(L=C.contentDocument)!==null&&L!==void 0?L:(T=C.contentWindow)===null||T===void 0?void 0:T.document;if(N){const I=N.body.appendChild(z);_&&m(O,I,!!Y),S&&(!((A=C.contentDocument)===null||A===void 0)&&A.fonts&&(!((H=C.contentWindow)===null||H===void 0)&&H.FontFace)?S.forEach(J=>{const q=new FontFace(J.family,J.source,{weight:J.weight,style:J.style});C.contentDocument.fonts.add(q),q.loaded.then(()=>{v(q)}).catch(ye=>{v(q,["Failed loading the font:",q,"Load error:",f(ye)])})}):(S.forEach(J=>{v(J)}),u({messages:['"react-to-print" is not able to load custom fonts because the browser does not support the FontFace API but will continue attempting to print the page'],suppressErrors:Y})));const Q=R??x,ne=N.createElement("style");W&&(ne.setAttribute("nonce",W),N.head.setAttribute("nonce",W)),ne.appendChild(N.createTextNode(Q)),N.head.appendChild(ne),D&&N.body.classList.add(...D.split(" "));const G=N.querySelectorAll("canvas");for(let J=0;J<E.length;++J){const q=E[J],ye=G[J];if(ye===void 0){u({messages:["A canvas element could not be copied for printing, has it loaded? `onBeforePrint` likely resolved too early.",q],suppressErrors:Y});continue}const ie=ye.getContext("2d");ie&&ie.drawImage(q,0,0)}for(let J=0;J<Z.length;J++){const q=Z[J],ye=q.getAttribute("src");if(ye){const ie=new Image;ie.onload=()=>{v(q)},ie.onerror=(de,pe,We,me,nt)=>{v(q,["Error loading <img>",q,"Error",nt])},ie.src=ye}else v(q,['Found an <img> tag with an empty "src" attribute. This prevents pre-loading it.',q])}for(let J=0;J<P.length;J++){const q=P[J];q.preload="auto";const ye=q.getAttribute("poster");if(ye){const ie=new Image;ie.onload=()=>{v(q)},ie.onerror=(de,pe,We,me,nt)=>{v(q,["Error loading video poster",ye,"for video",q,"Error:",nt])},ie.src=ye}else q.readyState>=2?v(q):q.src?(q.onloadeddata=()=>{v(q)},q.onerror=(ie,de,pe,We,me)=>{v(q,["Error loading video",q,"Error",me])},q.onstalled=()=>{v(q,["Loading video stalled, skipping",q])}):v(q,["Error loading video, `src` is empty",q])}const se="select",re=O.querySelectorAll(se),le=N.querySelectorAll(se);for(let J=0;J<re.length;J++)le[J].value=re[J].value;if(!$){const J=document.querySelectorAll("style, link[rel~='stylesheet'], link[as='style']");for(let q=0,ye=J.length;q<ye;++q){const ie=J[q];if(ie.tagName.toLowerCase()==="style"){const de=N.createElement(ie.tagName),pe=ie.sheet;if(pe){let We="";try{const me=pe.cssRules.length;for(let nt=0;nt<me;++nt)typeof pe.cssRules[nt].cssText=="string"&&(We+=`${pe.cssRules[nt].cssText}\r
40
+ `)}catch(me){u({messages:["A stylesheet could not be accessed. This is likely due to the stylesheet having cross-origin imports, and many browsers block script access to cross-origin stylesheets. See https://github.com/MatthewHerbst/react-to-print/issues/429 for details. You may be able to load the sheet by both marking the stylesheet with the cross `crossorigin` attribute, and setting the `Access-Control-Allow-Origin` header on the server serving the stylesheet. Alternatively, host the stylesheet on your domain to avoid this issue entirely.",ie,`Original error: ${f(me).message}`],level:"warning"})}de.setAttribute("id",`react-to-print-${q}`),W&&de.setAttribute("nonce",W),de.appendChild(N.createTextNode(We)),N.head.appendChild(de)}}else if(ie.getAttribute("href"))if(ie.hasAttribute("disabled"))u({messages:["`react-to-print` encountered a <link> tag with a `disabled` attribute and will ignore it. Note that the `disabled` attribute is deprecated, and some browsers ignore it. You should stop using it. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link#attr-disabled. The <link> is:",ie],level:"warning"}),v(ie);else{const de=N.createElement(ie.tagName);for(let pe=0,We=ie.attributes.length;pe<We;++pe){const me=ie.attributes[pe];me&&de.setAttribute(me.nodeName,(V=me.nodeValue)!==null&&V!==void 0?V:"")}de.onload=()=>{v(de)},de.onerror=(pe,We,me,nt,Bs)=>{v(de,["Failed to load",de,"Error:",Bs])},W&&de.setAttribute("nonce",W),N.head.appendChild(de)}else u({messages:["`react-to-print` encountered a <link> tag with an empty `href` attribute. In addition to being invalid HTML, this can cause problems in many browsers, and so the <link> was not loaded. The <link> is:",ie],level:"warning"}),v(ie)}}}F===0&&h(C,w)}function b({bodyClass:C,contentRef:v,copyShadowRoots:j,documentTitle:w,fonts:L,ignoreGlobalStyles:T,nonce:A,onAfterPrint:H,onBeforePrint:V,onPrintError:O,pageStyle:z,preserveAfterPrint:Z,print:P,printIframeProps:F,suppressErrors:E}){return(0,l.useCallback)(S=>{function $(){const R={bodyClass:C,contentRef:v,copyShadowRoots:j,documentTitle:w,fonts:L,ignoreGlobalStyles:T,nonce:A,onAfterPrint:H,onPrintError:O,pageStyle:z,preserveAfterPrint:Z,print:P,suppressErrors:E},W=function(N){const I=document.createElement("iframe");return I.width=`${document.documentElement.clientWidth}px`,I.height=`${document.documentElement.clientHeight}px`,I.style.position="absolute",I.style.top=`-${document.documentElement.clientHeight+100}px`,I.style.left=`-${document.documentElement.clientWidth+100}px`,I.id=c,I.srcdoc="<!DOCTYPE html>",N&&(N.allow&&(I.allow=N.allow),N.referrerPolicy!==void 0&&(I.referrerPolicy=N.referrerPolicy),N.sandbox!==void 0&&(I.sandbox=N.sandbox)),I}(F),Y=function(N,I){const{contentRef:Q,fonts:ne,ignoreGlobalStyles:G,suppressErrors:se}=I,re=function({contentRef:de,optionalContent:pe,suppressErrors:We}){return pe&&typeof pe=="function"?(de&&u({level:"warning",messages:['"react-to-print" received a `contentRef` option and an optional-content param passed to its callback. The `contentRef` option will be ignored.']}),pe()):de?de.current:void u({messages:['"react-to-print" did not receive a `contentRef` option or a optional-content param pass to its callback.'],suppressErrors:We})}({contentRef:Q,optionalContent:N,suppressErrors:se});if(!re)return;const le=re.cloneNode(!0),J=document.querySelectorAll("link[rel~='stylesheet'], link[as='style']"),q=le.querySelectorAll("img"),ye=le.querySelectorAll("video"),ie=ne?ne.length:0;return{contentNode:re,clonedContentNode:le,clonedImgNodes:q,clonedVideoNodes:ye,numResourcesToLoad:(G?0:J.length)+q.length+ye.length+ie,originalCanvasNodes:re.querySelectorAll("canvas")}}(S,R);if(!Y)return void u({messages:["There is nothing to print"],suppressErrors:E});const _=function(N,I,Q){const{suppressErrors:ne}=N,G=[],se=[];return function(re,le){G.includes(re)?u({level:"debug",messages:["Tried to mark a resource that has already been handled",re],suppressErrors:ne}):(le?(u({messages:['"react-to-print" was unable to load a resource but will continue attempting to print the page',...le],suppressErrors:ne}),se.push(re)):G.push(re),G.length+se.length===I&&h(Q,N))}}(R,Y.numResourcesToLoad,W);(function(N,I,Q,ne){N.onload=()=>{y(N,I,Q,ne)},document.body.appendChild(N)})(W,_,Y,R)}d(Z,!0),V?V().then(()=>{$()}).catch(R=>{O?.("onBeforePrint",f(R))}):$()},[C,v,j,w,L,T,A,H,V,O,z,Z,P,E])}return a}()})})(u0);var p8=u0.exports,d0=(e=>(e.PDF="PDF",e.Email="Email",e))(d0||{});const Vs=({size:e,color:t})=>o.jsx(k,{className:`animate-spin inline-block ${e=="big"?"size-8":"size-4"} border-[2px] ${t=="white"?"border-gray-400 border-t-transparent text-white":"border-metrifox-primary border-t-transparent text-metrifox-primary"} rounded-full dark:text-metrifox-primary`,role:"status","aria-label":"loading",children:o.jsx("span",{className:"sr-only",children:"Loading..."})}),Er=({children:e,onClick:t,className:n,isLoading:r,size:s="small",leadingIcon:i,trailingIcon:a,href:l,...c})=>o.jsx("button",{className:`px-4 py-2 text-[13px]/[16.9px] whitespace-nowrap flex items-center justify-center !gap-2 font-semibold text-white bg-metrifox-primary rounded-lg disabled:opacity-60 hover:opacity-90 ${zo[s]} ${n}`,onClick:()=>l?window.open(l,"_blank"):t?.(),...c,children:r?o.jsx(Vs,{color:"white"}):o.jsxs(o.Fragment,{children:[i&&o.jsx(ae,{name:i,size:16}),e,a&&o.jsx(ae,{name:a,size:16})]})}),$s=({children:e,onClick:t,className:n,leadingIcon:r,trailingIcon:s,iconColor:i,iconSize:a=16,isLoading:l,...c})=>o.jsx("button",{className:`!p-0 text-[13px]/[15.6px] whitespace-nowrap flex items-center justify-center gap-1 font-semibold text-metrifox-primary bg-transparent border-none ${n}`,onClick:t,...c,children:l?o.jsx(Vs,{}):o.jsxs(o.Fragment,{children:[r&&o.jsx(ae,{name:r,size:a,color:i}),e,s&&o.jsx(ae,{name:s,size:a,color:i})]})}),Os=({children:e,onClick:t,className:n,isLoading:r,leadingIcon:s,trailingIcon:i,size:a="small",...l})=>o.jsx("button",{className:`flex items-center justify-center !gap-2 text-[13px]/[16.9px] font-semibold text-metrifox-black bg-transparent border border-grey-300 rounded-lg ${zo[a]} ${n}`,onClick:t,...l,children:r?o.jsx(Vs,{color:"white"}):o.jsxs(o.Fragment,{children:[s&&o.jsx(ae,{name:s,size:16}),e,i&&o.jsx(ae,{name:i,size:16})]})}),ha=({children:e,onClick:t,className:n,isLoading:r,size:s="small",...i})=>o.jsx("button",{className:`px-4 py-2 text-[13px]/[16.9px] font-medium text-metrifox-black bg-background-system-secondary rounded-[8px] ${zo[s]} ${n}`,onClick:t,...i,children:r?o.jsx(Vs,{}):e}),m8=({contentRef:e,content:t,containerBgColor:n="bg-neutral-100",panelShadow:r,panelWidth:s="w-full"})=>{const i=p8.useReactToPrint({contentRef:e}),a=[d0.PDF],l=()=>{setTimeout(()=>{e.current&&i()},100)};return o.jsx(k,{className:`${n} flex flex-col justify-center`,children:o.jsxs(ms,{className:"my-6 px-4",children:[o.jsxs(k,{className:"flex items-center justify-between",children:[o.jsx(gs,{className:"w-max border border-neutral-200 text-grey-500 px-1.5 py-1 rounded-2xl",children:a.map(c=>o.jsx(ir,{className:"data-[selected]:bg-metrifox-primary data-[selected]:border data-[selected]:border-grey-50 outline-none data-[selected]:text-grey-50 rounded-xl px-16 py-1.5",children:c},c))}),o.jsxs(ha,{className:"flex items-center gap-1 !px-3 !py-6",size:"x-small",onClick:l,children:[o.jsx(U,{variant:"label8",className:"text-metrifox-black flex items-center gap-2.5",children:"Download"}),o.jsx(ae,{name:"download",size:16,color:"metrifox-black"})]})]}),o.jsxs(xs,{children:[o.jsx(Pn,{children:o.jsx(k,{ref:e,className:`bg-metrifox-white ${r} p-8 rounded-xl border-t-8 border-metrifox-black h-full mt-8 ${s} mx-auto`,children:t||"Nothing to display"})}),o.jsx(Pn,{className:"h-screen text-center py-20",children:o.jsx("p",{children:"Coming soon"})})]})]})})},f0=({isOpen:e,onClose:t,contentRef:n,content:r,modalTitle:s,modalDescription:i})=>o.jsx(Lr,{isOpen:e,onClose:t,title:s,description:i,size:"large",variant:"right-slide",className:"!p-0",children:o.jsx(m8,{contentRef:n,content:r})}),hn=({label:e,onClick:t,disabled:n,variant:r="normal",active:s})=>{const i={next:"rounded-tr-[8px] rounded-br-[8px]",prev:"rounded-tl-[8px] rounded-bl-[8px] border-r-0",normal:"w-[38px] flex items-center justify-center py-1 border-r-0",display:"w-[38px] flex items-center justify-center py-1 cursor-default border-r-0"},a=s?"bg-grey-200 font-semibold":"";return o.jsx("button",{className:`px-3 py-2 text-grey-500 hover:text-grey-800 border disabled:opacity-50 ${i[r]} ${a}`,onClick:t,disabled:n,children:e})},g8=({currentPage:e,totalPages:t,onPageChange:n})=>o.jsxs("div",{className:"flex items-center justify-center pt-6",children:[o.jsx(hn,{label:"Prev",onClick:()=>n(e-1),disabled:e===1,variant:"prev"}),(()=>{const r=[];r.push(o.jsx(hn,{label:1,onClick:()=>n(1),variant:"normal",active:e===1},1)),e>2&&r.push(o.jsx(hn,{label:"...",onClick:()=>{},variant:"display"},"ellipsis-start"));const s=Math.max(2,e-1),i=Math.min(t-1,e+1);for(let a=s;a<=i;a++)r.push(o.jsx(hn,{label:a,onClick:()=>n(a),variant:"normal",active:e===a},a));return e<t-1&&r.push(o.jsx(hn,{label:"...",onClick:()=>{},variant:"display"},"ellipsis-end")),t>1&&r.push(o.jsx(hn,{label:t,onClick:()=>n(t),variant:"normal",active:e===t},t)),r})(),o.jsx(hn,{label:"Next",onClick:()=>n(e+1),disabled:e===t,variant:"next"})]}),Sr=({columns:e,data:t,pagination:n,filters:r,actions:s,onRowClick:i,view:a="list",gridView:l,isLoading:c,skelentonRow:u=2,emptyState:d,isLastColumnSticky:f=!1,actionButton:h,className:g,emptyStateClassName:m,tab:x})=>{const[y,b]=p.useState(!1),[C,v]=p.useState(""),[j,w]=p.useState("");if(p.useEffect(()=>{b(!1),v(""),w("")},[x]),t?.length===0&&!C&&!j&&!c)return o.jsx("div",{className:`h-[55vh] flex items-center justify-center ${m}`,children:d||null});const L=A=>A?o.jsx(B,{variant:"body6",color:"text-grey-700",children:String(A)}):"-",T=l?.style?`${l?.style}`:"grid-cols-2 gap-2";return o.jsxs("div",{className:`overflow-x-auto px-3 rounded-2xl bg-metrifox-white ${g}`,children:[o.jsx("div",{className:"px-3 mb-6",children:o.jsxs("div",{className:"flex justify-between items-center",children:[s&&s,o.jsxs("div",{className:"flex justify-end w-full gap-x-2 items-center",children:[r&&o.jsx(Os,{className:"!border-grey-300 !text-grey-500",size:"x-small",leadingIcon:"filter",onClick:()=>b(!y),children:"Filter"}),h&&o.jsx(ha,{className:"!text-metrifox-white !bg-metrifox-primary",size:"x-small",onClick:h.onClick,children:h.text})]})]})}),a==="list"&&o.jsx("div",{className:"w-full overflow-x-hidden hover:overflow-x-auto scrollbar",children:o.jsxs("table",{className:"min-w-full border-collapse text-left relative",children:[o.jsx("thead",{children:o.jsx("tr",{children:e.map((A,H)=>o.jsx("th",{className:`px-3 py-2 text-sm font-semibold text-gray-700 border-b border-grey-100 whitespace-nowrap
41
+ ${H===e.length-1&&f?"sticky right-0 bg-white z-10":""}
42
+ `,children:typeof A.header=="string"?o.jsx(U,{variant:"label8",color:"text-metrifox-black",children:A.header}):A.header},H))})}),o.jsxs("tbody",{children:[c&&[...Array(u)].map((A,H)=>o.jsx(x8,{columns:e.length},H)),!c&&t?.map((A,H)=>o.jsx("tr",{onClick:()=>i?.(A),className:`relative ${i?"cursor-pointer hover:bg-grey-100":"cursor-default"}`,children:e.map((V,O)=>o.jsx("td",{className:`px-3 py-4 text-grey-700 border-grey-100 whitespace-nowrap
43
+ ${H===t.length-1?"border-t":"border-y"}
44
+ ${O===e.length-1&&f?"z-10 right-0 bg-white relative":""}
45
+ `,children:V.render?V.render(A):L(Lp(A,V.key))},O))},H))]})]})}),a==="grid"&&o.jsx("div",{className:`grid ${T}`,children:t?.map((A,H)=>o.jsx("div",{className:i?"cursor-pointer":"cursor-default",onClick:()=>i?.(A),children:l?.renderItem(A)},H))}),n&&o.jsx(g8,{currentPage:n.currentPage,totalPages:n.totalPages,onPageChange:n.onPageChange})]})},x8=({columns:e})=>o.jsx("tr",{children:Array.from({length:e}).map((t,n)=>o.jsx("td",{className:"px-3 py-4 border-b border-grey-100",children:o.jsx("div",{className:"mt-1 h-4 w-20 rounded-md bg-grey-200"})},n))}),Pt=({children:e,size:t="medium",background:n="transparent",textColor:r=""})=>{const s=J9[t];return o.jsx(k,{className:`inline-flex items-center ${n} min-w-fit justify-center rounded-full px-2.5 py-1 border gap-x-2 ${s} ${n==="transparent"?"border-grey-300":"border-none"} ${r}`,children:e})},y8=async({subscriptionId:e})=>{const{data:t}=await at().get(`/sdk/subscriptions/${e}/billing-history`);return t},v8=({subscriptionId:e})=>{const[t,n]=p.useState(null),[r,s]=p.useState(!1),i=async()=>{if(!e){Ct.error("Missing subscriptionId");return}s(!0);try{const a=await y8({subscriptionId:e});n(a?.data)}catch(a){Ct.error(a instanceof Error?a.message:"Failed to load billing history")}finally{s(!1)}};return p.useEffect(()=>{i()},[e]),{billingHistory:t,isLoading:r,refetch:i}},b8=async({invoiceId:e})=>{const{data:t}=await at().get(`/sdk/invoices/${e}/view`);return t},h0=({invoiceId:e})=>{const[t,n]=p.useState(null),[r,s]=p.useState(!1),i=async()=>{if(e){s(!0);try{const a=await b8({invoiceId:e});n(a?.data)}catch(a){Ct.error(a instanceof Error?a.message:"Failed to load invoice details")}finally{s(!1)}}};return p.useEffect(()=>{i()},[e]),{invoiceDetails:t,isLoading:r,refetch:i}},C8=({subscriptionId:e})=>{const[t,n]=p.useState(!1),[r,s]=p.useState(null),i=p.useRef(null),{billingHistory:a}=v8({subscriptionId:e}),{invoiceDetails:l}=h0({invoiceId:r||""}),c=d=>{d.status===l1.Paid&&d.invoice_id&&(s(d.invoice_id),n(!0))},u=[{header:"Total amount",render:d=>{const{text:f,color:h}=wp(d.status),g=$t(d.currency);return o.jsx(k,{children:o.jsxs(k,{className:"flex items-center gap-2",children:[o.jsxs(k,{className:"flex items-center",children:[o.jsx(B,{className:"capitalize",variant:"body6",color:"text-grey-700",children:g}),o.jsx(B,{className:"capitalize",variant:"body6",color:"text-grey-700",children:ce(d.total_amount)})]}),o.jsx(Pt,{size:"small",background:`${h}`,children:o.jsx(U,{variant:"label9",className:"capitalize text-metrifox-white",children:f})})]})})}},{header:"Invoice number",render:d=>o.jsx(B,{className:"capitalize",variant:"body6",color:"text-grey-700",children:d.invoice_number||"-"})},{header:"Source type",render:d=>o.jsx(B,{className:"capitalize",variant:"body6",color:"text-grey-700",children:vt(d.source_type==="billing_cycle"?"subscription":d.source_type).replace(/_/g," ")})},{header:"Issue date",render:d=>o.jsx(B,{className:"capitalize",variant:"body6",color:"text-grey-700",children:d.issued_date?a1(d.issued_date).format("MMM D, YYYY"):"-"})},{header:"Due date",render:d=>o.jsx(B,{className:"capitalize",variant:"body6",color:"text-grey-700",children:d.due_date?a1(d.due_date).format("MMM D, YYYY"):"-"})},{header:"Amount paid",render:d=>{const f=$t(d.currency);return o.jsxs(k,{className:"flex items-center",children:[o.jsx(B,{className:"capitalize",variant:"body6",color:"text-grey-700",children:f}),o.jsx(B,{className:"capitalize",variant:"body6",color:"text-grey-700",children:ce(d.amount_paid)})]})}}];return!a||a?.length===0?null:o.jsxs(k,{className:"bg-grey-100 rounded-2xl p-4",children:[o.jsxs(k,{className:"flex items-center gap-1",children:[o.jsx(k,{className:"p-1.5 bg-grey-200 rounded-lg",children:o.jsx(ae,{name:"receipt",size:16,color:"grey-500"})}),o.jsx(U,{variant:"label7",className:"text-metrifox-black font-medium",children:"Billing history"})]}),o.jsx(Sr,{columns:u,data:a,onRowClick:c,className:"mt-2"}),t&&r&&o.jsx(f0,{isOpen:t,onClose:()=>{n(!1),s(null)},contentRef:i,content:o.jsx(m1,{data:l}),modalTitle:"Invoice PDF"})]})},w8=async({subscriptionId:e})=>{const{data:t}=await at().get(`/sdk/subscriptions/${e}/entitlements-usage`);return t},k8=async({subscriptionId:e})=>{const{data:t}=await at().get(`/sdk/subscriptions/${e}/entitlements-summary`);return t},j8=({subscriptionId:e})=>{const[t,n]=p.useState(null),[r,s]=p.useState(null),[i,a]=p.useState(!1),[l,c]=p.useState(null),[u,d]=p.useState(null),[f,h]=p.useState(!1),g=async()=>{if(!e)return s("Missing subscription");a(!0);try{const x=await w8({subscriptionId:e});n(x.data),s(null)}catch(x){const y=x,b=y?.response?.data?.data?.error||y?.message;s(b||"Failed to load entitlement usage")}finally{a(!1)}},m=async()=>{if(!e)return d("Missing subscription");h(!0);try{const x=await k8({subscriptionId:e});c(x.data),d(null)}catch(x){const y=x,b=y?.response?.data?.data?.error||y?.message;d(b||"Failed to load entitlement summary")}finally{h(!1)}};return p.useEffect(()=>{g(),m()},[e]),{entitlementUsage:t||[],usageError:r,isUsageLoading:i,refetchUsage:g,entitlementSummary:l||[],summaryError:u,isSummaryLoading:f,refetchSummary:m}},L8=({entitlements:e})=>{const t=bp();return o.jsx(Sr,{columns:[{header:"Feature",render:n=>o.jsx(k,{children:o.jsxs(k,{className:"flex flex-col gap-y-1 items-start",children:[o.jsx(B,{variant:"body6",color:"text-gray-700",children:n.feature_name}),o.jsx(Pt,{background:"bg-grey-100",textColor:"text-metrifox-black",size:"small",children:n.feature_key})]})})},{header:"Type",render:n=>{const r={[rn.METERED]:"bg-metrifox-blue",[rn.BOOLEAN]:"bg-metrifox-warning"};return o.jsxs(k,{children:[o.jsx(Pt,{size:"small",textColor:"text-metrifox-white",background:r[n.feature_type],children:o.jsx(B,{variant:"body6",children:vt(n.feature_type)})}),n.usage_model&&o.jsxs(B,{variant:"body7",color:"text-metrifox-blue",className:"mt-1",children:[vt(n.usage_model?.split("_").join(" ")),n.feature_type===rn.METERED?n.prepaid?"/ Prepaid":`/ ${vt(n.price_type)}`:""]})]})}},{header:"Included allowance",render:n=>o.jsx(k,{children:o.jsx(B,{variant:"body6",children:n.feature_type===rn.BOOLEAN?"Unlimited":`${Ve(n.included_allowance||0)}${n.included_allowance_reset_interval!==ar.NONE?` ${t[n.included_allowance_reset_interval].toLowerCase()}`:""}`})})},{header:"Usage limits",render:n=>o.jsx(k,{children:o.jsx(B,{variant:"body6",children:(r=>{if(r.feature_type===rn.BOOLEAN)return"Unlimited";if(r.price_type===c1.PAY_AS_YOU_GO){const s=r.usage_limit??"Unlimited";let i="";return r.usage_limit_reset_interval&&r.usage_limit_reset_interval!==ar.NONE&&(i=` ${t[r.usage_limit_reset_interval].toLowerCase()}`),`${s}${i}`}if(r.purchased_qty!==null&&r.purchased_qty!==void 0){const s=Ve(r.purchased_qty),i=r.billing_interval&&r.billing_interval!==ar.NONE?` ${t[r.billing_interval].toLowerCase()}`:"",a=r.soft_limit_enabled?"Soft limits enabled":"";return`${s}${i} ${a}`}if(r.included_allowance!==null&&r.included_allowance!==void 0){const s=Ve(r.included_allowance);let i="";return r.included_allowance_reset_interval&&r.included_allowance_reset_interval!==ar.NONE&&(i=` ${t[r.included_allowance_reset_interval].toLowerCase()}`),`${s}${i}`}return"0"})(n)})})}],data:e,emptyState:o.jsx(o.Fragment,{children:o.jsxs(k,{className:"flex flex-col items-center gap-y-3 w-fit mx-auto ",children:[o.jsx(ae,{name:"note-2",color:"neutral-200",size:72}),o.jsx(B,{variant:"body4",color:"text-grey-400",children:"No entitlements attached to this subscription"})]})})})},E8=({triggerFunc:e,trigger:t,caretIcon:n,isOpenDefault:r=!1,triggerClassName:s="",triggerOpenClassName:i="",contentClassName:a="",mainClassName:l="",children:c,caretPosition:u="end"})=>{const[d,f]=p.useState(r);return e&&(e.current=h=>f(h)),o.jsxs(k,{className:`w-full ${l}`,children:[o.jsxs(k,{onClick:()=>f(!d),className:`flex items-start justify-between gap-2 w-full px-4 py-2 bg-gray-100 cursor-pointer ${d&&i||s}`,children:[u==="start"&&o.jsx("span",{className:`transform transition-transform duration-300 ${d?"rotate-180":"rotate-0"}`,children:n||o.jsx(ae,{name:"arrow-down",size:24,color:"grey-500"})}),typeof t=="function"?t(d):t,u==="end"&&o.jsx("span",{className:`transform transition-transform duration-300 ${d?"rotate-180":"rotate-0"}`,children:n||o.jsx(ae,{name:"arrow-down",size:24,color:"grey-500"})})]}),d&&o.jsx(k,{className:`p-4 ${a}`,children:typeof c=="function"?c(()=>f(!d)):c})]})},S8=({meteredEntitlements:e})=>o.jsx(k,{className:"rounded-2xl px-3 pt-5",children:o.jsxs(k,{children:[o.jsxs(k,{className:"flex-1 grid grid-cols-4 border-b border-grey-100 gap-x-4 py-3 pl-3 pr-12",children:[o.jsx(k,{children:o.jsx(U,{variant:"label8",color:"text-metrifox-black",children:"Feature"})}),o.jsx(k,{children:o.jsx(U,{variant:"label8",color:"text-metrifox-black",children:"Type"})}),o.jsx(k,{className:"col-span-2",children:o.jsx(U,{variant:"label8",color:"text-metrifox-black",children:"Usage"})})]}),o.jsx(k,{className:"w-8"}),e.length>0?e.map(t=>{const{processedPools:n,totalUsed:r,totalAmount:s,totalBalance:i,isAnyUnlimited:a}=Rp(t),l=(c,u)=>u>0?c/u*100:0;return o.jsx(k,{className:"py-4 px-4 border-b border-grey-100 last:border-0",children:o.jsx(E8,{trigger:o.jsxs(k,{className:"flex-1 grid grid-cols-4 gap-4 items-center pr-8",children:[o.jsxs(k,{className:"flex flex-col gap-y-1 items-start",children:[o.jsx(B,{variant:"body6",color:"text-gray-700",children:t.feature_name}),o.jsx(Pt,{background:"bg-grey-100",textColor:"text-metrifox-black",size:"small",children:t.feature_key})]}),o.jsx(k,{children:o.jsx(B,{variant:"body7",color:"text-metrifox-blue",className:"mt-1",children:vt(t.type?.split("_").join(" "))})}),o.jsxs(k,{className:"col-span-2",children:[o.jsx(B,{variant:"body6",color:"text-grey-700",children:!a&&(i<0?`${Ve(Math.abs(i))} used above limit`:`${Ve(i)} left`)}),o.jsxs(k,{className:"w-full flex items-center gap-x-2",children:[o.jsx(k,{className:"w-96 h-[6px] my-[6px] bg-grey-300 flex items-center justify-start rounded overflow-hidden",children:a?o.jsx(k,{className:"h-[6px] bg-metrifox-blue rounded",style:{width:"100%"}}):n.filter(c=>!c.isUnlimited&&c.used>0).sort((c,u)=>c.order-u.order).map(c=>o.jsx(k,{className:"h-[6px] bg-metrifox-blue",style:{width:`${l(c.used,s)}%`}},c.pool))}),o.jsx(B,{variant:"body6",color:"text-grey-700",children:a?`${Ve(r)}/Unlimited`:`${Ve(r)}/${Ve(s)}`})]})]})]}),triggerClassName:"!p-0 !bg-transparent !item-center",contentClassName:"!p-0",caretIcon:o.jsx(ae,{name:"arrow-down-linear",size:16,color:"grey-500"}),children:o.jsx(k,{className:"w-full rounded-lg overflow-hidden flex flex-col items-start justify-start gap-y-0 pt-4",children:n.map((c,u)=>o.jsxs(k,{className:"w-full flex items-center px-6 py-3 bg-grey-100 gap-x-40",children:[o.jsx(B,{variant:"body6",color:"text-grey-700",children:c.pool}),o.jsxs(k,{children:[o.jsx(B,{variant:"body6",color:"text-grey-700",children:!c.isUnlimited&&(c.balance<0?`${Ve(Math.abs(c.balance))} used above limit`:`${Ve(c.balance)} left`)}),o.jsxs(k,{className:"w-full flex items-center gap-x-2",children:[o.jsx(k,{className:"w-72 h-[6px] my-[6px] bg-grey-300 flex items-center justify-start rounded overflow-hidden",children:o.jsx(k,{className:`h-[6px] bg-${c.color}`,style:{width:`${c.percent}%`}})}),o.jsx(B,{variant:"body6",color:"text-grey-700",children:c.isUnlimited?`${Ve(c.used)}/ Unlimited`:`${Ve(c.used)}/${Ve(c.amount)}`})]}),c.nextResetAt&&o.jsxs(B,{variant:"body6",color:"text-grey-500",children:["resets on ",c.nextResetAt]})]})]},u))})})},t.id)}):o.jsxs(k,{className:"flex flex-col items-center gap-y-3 w-fit mx-auto py-12 ",children:[o.jsx(ae,{name:"note-1-bulk",color:"neutral-200",size:72}),o.jsx(B,{variant:"body4",color:"text-grey-400",children:"No metered entitlements attached to this subscription"})]})]})}),M8=({subscriptionId:e})=>{const{entitlementUsage:t,entitlementSummary:n}=j8({subscriptionId:e}),r=t?.filter(s=>s.type!==rn.BOOLEAN)||[];return o.jsxs(k,{className:"bg-grey-100 rounded-2xl p-4",children:[o.jsx(k,{className:"flex items-center justify-between",children:o.jsxs(k,{className:"flex items-center gap-1",children:[o.jsx(k,{className:"p-1.5 bg-grey-200 rounded-lg",children:o.jsx(ae,{name:"radar",size:16,color:"grey-500"})}),o.jsx(U,{variant:"label7",className:"text-metrifox-black font-medium",children:"Entitlements"})]})}),o.jsx(k,{className:"bg-metrifox-white rounded-2xl p-4 mt-2",children:o.jsxs(ms,{children:[o.jsxs(gs,{className:"w-max bg-grey-100 border border-neutral-200 text-grey-500 px-1.5 py-1 rounded-2xl",children:[o.jsx(ir,{className:"w-max data-[selected]:bg-metrifox-primary data-[selected]:border data-[selected]:border-grey-200 outline-none data-[selected]:text-metrifox-white rounded-xl px-8 py-2",children:o.jsx(B,{variant:"body6",children:"Summary"})}),r.length>0&&o.jsx(ir,{className:"w-max data-[selected]:bg-metrifox-primary data-[selected]:border data-[selected]:border-grey-200 outline-none data-[selected]:text-metrifox-white rounded-xl px-8 py-2",children:o.jsx(B,{variant:"body6",children:"Usage"})})]}),o.jsxs(xs,{children:[o.jsx(Pn,{children:o.jsx(L8,{entitlements:n})}),r.length>0&&o.jsx(Pn,{children:o.jsx(S8,{meteredEntitlements:r})})]})]})})]})},T8=({tenantDetails:e,paymentMethod:t})=>{const{address:n}=o1(e?.billing_address),r=[{label:"Billed to",value:e?.full_name||"-"},{label:"Billing email",value:e?.billing_email||"-"},{label:"Billing address",value:n||"-"}];return o.jsxs(k,{className:"bg-grey-100 rounded-2xl p-4",children:[o.jsx(k,{className:"flex items-center justify-between",children:o.jsxs(k,{className:"flex items-center gap-1",children:[o.jsx(k,{className:"p-1.5 bg-grey-200 rounded-lg",children:o.jsx(ae,{name:"money",size:18,color:"grey-500"})}),o.jsx(U,{variant:"label7",className:"text-metrifox-black font-medium",children:"Payment"})]})}),o.jsx(k,{className:"bg-grey-200 rounded-t-2xl px-3 pt-2.5 pb-4 mt-2",children:o.jsx(U,{variant:"label8",className:"text-grey-500 font-medium",children:"Details"})}),o.jsxs(k,{className:"bg-metrifox-white grid grid-cols-3 gap-8 justify-between rounded-2xl p-4 -mt-2.5",children:[r?.map((s,i)=>o.jsxs(k,{children:[o.jsx(U,{variant:"label8",className:"text-grey-500",children:s?.label}),o.jsx(U,{variant:"label7",className:"text-grey-600 font-medium mt-2",children:s?.value||"-"})]},i)),o.jsxs(k,{children:[o.jsx(U,{variant:"label8",className:"text-grey-500",children:"Payment method"}),t?o.jsxs(k,{className:"flex items-center gap-x-2 mt-2",children:[o.jsxs(B,{variant:"body6",color:"text-grey-600 font-medium",children:[vt(t?.brand)," ",t?.display_name," "]}),o.jsxs(B,{variant:"body6",className:"text-neutral-500 font-light",children:["Expires ",t?.exp_month,"/",t?.exp_year]})]}):o.jsx("span",{children:"-"})]})]})]})},D8=({progress:e})=>{const t=h8(e,[0,20,100],[0,0,1]);return o.jsx(Fs.svg,{width:"16",height:"16",viewBox:"0 0 25 25",children:o.jsx(Fs.path,{d:"M5.5 11.5L10.5 16.5L19.5 7.60001",fill:"transparent",stroke:"#1E4D37",strokeWidth:2,style:{pathLength:t}})})},P8=({text:e,children:t,showCopyIcon:n})=>{const r=a0(90),[s,i]=p.useState(!1),a=l=>{navigator.clipboard.writeText(l).catch(()=>{})};return o.jsxs(k,{className:"*:ml-1 flex items-center bg-grey-200 w-fit py-0.5 px-2 rounded-xl font-medium",children:[t||o.jsx(B,{variant:"body6",color:"text-grey-700",className:"!ml-0",children:e}),n&&o.jsx(o.Fragment,{children:s?o.jsxs(o.Fragment,{children:[o.jsx(Fs.div,{initial:{x:0},animate:{x:100},style:{x:r},transition:{duration:.25,ease:"easeOut"}}),o.jsx(D8,{progress:r})]}):o.jsx("button",{className:"w-fit",type:"button",onClick:l=>{l.stopPropagation(),a(e),i(!0),setTimeout(()=>i(!1),2e3)},children:o.jsx(ae,{name:"copy",color:"grey-500",size:16})})})]})},A8=async({product_key:e,customer_key:t})=>{const{data:n}=await at().get(`/sdk/product_catalogues/products/published-plans?product_key=${e}&customer_key=${t}`);return n},N8=({product_key:e,customer_key:t})=>{const[n,r]=p.useState(null),[s,i]=p.useState(!1),a=async()=>{if(!e){Ct.error("Missing product_key");return}i(!0);try{const l=await A8({product_key:e,customer_key:t});r(l?.data)}catch(l){Ct.error(l instanceof Error?l.message:"Failed to load product plans")}finally{i(!1)}};return p.useEffect(()=>{a()},[e]),{productPlans:n,isLoading:s,refetch:a}},R8=e=>{const t=Tp(e||[]),[n,r]=p.useState(""),s=[...t.includes(ge.DAILY)?[ge.DAILY]:[],...t.includes(ge.WEEKLY)?[ge.WEEKLY]:[],...t.includes(ge.MONTHLY)?[ge.MONTHLY]:[],...t.includes(ge.QUARTERLY)?[ge.QUARTERLY]:[],...t.includes(ge.BIANNUALLY)?[ge.BIANNUALLY]:[],...t.includes(ge.YEARLY)?[ge.YEARLY]:[]];return p.useEffect(()=>{!n&&s[0]&&r(s[0])},[s,n]),{intervals:s,selectedInterval:n,setSelectedInterval:r}},p0=({selectedInterval:e,publishedOnly:t=!1})=>{const{plans:n}=An(),r=c=>{if(c)return t?c?.is_visible?c:void 0:c},s=n?.some(c=>!!r(c)?.description),i=n?.some(c=>!!r(c)?.trial_duration_value),a=n?.some(c=>{const u=r(c);return u?u.price_options?.some(d=>d.price?.billing_interval===e)||u.is_free||u.is_custom:!1}),l=n?.some(c=>{const u=r(c);return u?[u.credit_attachment_price_options,u.entitlement_price_options].some(d=>Array.isArray(d)&&d.some(f=>f.price?.billing_interval===e)):!1});return{shouldShowDescription:s,shouldShowFreeTrial:i,shouldShowFixedPrice:a,shouldShowDynamicPrices:l}},m0=({entitlements:e,baseEntitlementsPlanName:t,credits:n})=>{const r=Go(e).filter(s=>s?.is_visible);return o.jsxs(k,{children:[o.jsx(U,{variant:"label7",className:"text-metrifox-primary mb-3",as:"p",children:t?`Everything in ${t} plus:`:"\xA0"}),o.jsxs("ul",{className:"flex flex-col gap-y-3",children:[n?.map((s,i)=>o.jsxs("li",{className:"flex items-center gap-[10px]",children:[o.jsx(ae,{name:"check",color:"green-600",size:16}),o.jsx(B,{variant:"body5",children:s.included_usage_text})]},i)),r?.map((s,i)=>o.jsxs("li",{className:"flex items-center gap-[10px]",children:[o.jsx(ae,{name:"check",color:"green-600",size:16}),o.jsx(B,{variant:"body5",children:s.display_text})]},i))]})]})},F8=e=>{const t=e?.price?.billing_interval,n=e?.price.tiers,r=e?.price.currency,s=e?.price?.invoice_timing,i=$t(r),a=x=>{const y=e?.price?.owner,b=y?.included_usage||0,C=x?.find(A=>A.first_unit===b);if(!C)return{price:null,label:null};const{unit_price:v,package_price:j,package_size:w,pricing_model:L,flat_fee:T}=C;return T?{price:T.toFixed(2),label:""}:{per_unit:{price:v?.toFixed(2),label:`per. ${y?.feature?.unit_singular||y?.credit_unit_singular}`},per_package:{price:j?.toFixed(2),label:`for ${w} ${y?.feature?.unit_plural}`}}[L]??{price:null,label:null}},{price:l,label:c}=a(n),u=e?.price?.is_custom&&e?.price?.billing_interval_value>1?`every ${e?.price?.billing_interval_value} ${Sp[t]}`:t,d=[ge.DAILY,ge.WEEKLY],f={[ge.DAILY]:"day",[ge.WEEKLY]:"week"},h=t,g=d.includes(h)?f[h]:"month",m=(Ep(t,e?.price?.billing_interval_value)*(e?.price?.price??0)).toFixed(2);return{amount:(e?.price?.price??0).toFixed(2),billedText:u,intervalText:g,billingAmount:m,tierPrice:l,tierLabel:c,currencySymbol:i,invoiceTiming:s,intervalValue:e?.price?.billing_interval_value}},V8=({priceOption:e,interval:t})=>{const{amount:n,billedText:r,billingAmount:s,intervalText:i,currencySymbol:a,intervalValue:l}=F8(e),c=ce(n).split("."),u=c?c[0]:"0",d=c&&c.length>1?c[1]:"00";return o.jsxs(k,{className:"p-2 border-b border-grey-200 last:border-0",children:[o.jsx(k,{className:"flex items-center justify-between",children:o.jsx(U,{variant:"label7",className:"text-grey-600 mb-2",children:"Fixed recurring"})}),o.jsxs(k,{className:"flex items-end",children:[o.jsxs(U,{variant:"label3",className:"text-[var(--price-color,#0F0F0F)]",children:[a,u]}),o.jsxs(U,{variant:"label6",className:"mb-[5px] text-metrifox-black",children:[".",d]}),o.jsxs(B,{variant:"body4",className:"mb-[5px] text-grey-500",children:["/",i]})]}),(t!==ge.MONTHLY||l!==1)&&o.jsxs(B,{className:"-mt-2",variant:"body6",children:["Billed"," ",o.jsxs(U,{as:"span",variant:"label8",className:"inline-block",children:[a,ce(s)," ",r.toLowerCase()]})]})]})},$8=({dynamicPrices:e,showMoreCard:t,showMore:n})=>{const[r,s]=p.useState("");return o.jsxs(k,{className:t?"":"h-[75px] flex flex-col",children:[(t?e:e.slice(0,2)).map(i=>{const a=i?.price?.name||i?.price?.owner?.feature?.name||i?.price?.owner?.name,l=Mp(i?.price.tiers,i.price.currency),{price:c,label:u,currencySymbol:d,isPercentage:f}=f1(i),h=l?.length===1;return t?o.jsxs(k,{className:"p-2 border-b border-grey-200 last:border-0",children:[o.jsxs(k,{className:"flex justify-between items-center",children:[o.jsx(U,{variant:"label7",className:"text-grey-600 mb-1",children:a}),h&&o.jsxs(k,{className:"flex items-center cursor-pointer",children:[o.jsxs(U,{variant:"label7",color:"text-metrifox-black",children:[!f&&d,c]}),u&&o.jsxs(B,{variant:"body5",color:"text-grey-500",className:"mr-1",children:[f?"\xA0":"/",u]})]})]}),!h&&o.jsxs(k,{className:"flex justify-between items-center",children:[o.jsx(B,{variant:"body5",className:"text-grey-700",children:"Starts at"}),o.jsxs(k,{className:"flex items-center cursor-pointer",onClick:g=>{g.stopPropagation(),s(r===i.id?"":i.id)},children:[o.jsxs(U,{variant:"label7",color:"text-metrifox-black",children:[!f&&d,c]}),o.jsxs(B,{variant:"body5",color:"text-grey-500",className:"mr-1",children:[f?"\xA0":"/",u]}),l.length>1&&o.jsx(ae,{name:r===i.id?"arrow-up-light":"arrow-down-linear",size:16,color:"grey-400"})]})]}),r===i.id&&l.length>1&&o.jsx(k,{className:"bg-grey-200 p-2 mt-1 rounded-lg",children:o.jsx(k,{className:"flex flex-col gap-y",children:l?.map(g=>o.jsxs(k,{className:"flex justify-between items-center",children:[o.jsx(B,{variant:"body7",color:"text-grey-700",children:g?.label}),o.jsxs(B,{variant:"body7",color:"text-grey-700",children:[g?.price,g?.package?`/${g?.package} ${u}`:""]})]},g?.label))})})]},i.id):o.jsx(k,{className:"mt-1",children:o.jsxs(k,{className:"flex items-center gap-x-1 flex-wrap",children:[o.jsx(U,{variant:"label8",className:"text-grey-600 whitespace-nowrap",children:a}),o.jsx(B,{variant:"body7",children:h?"at":"from"}),o.jsxs(k,{className:"flex items-center",children:[o.jsxs(U,{variant:"label7",color:"text-metrifox-black",children:[!f&&d,c]}),u&&o.jsxs(B,{variant:"body7",color:"text-grey-500",children:[f?"\xA0":"/",u]})]})]})},i.id)}),!t&&!!e?.length&&o.jsx(k,{className:"flex items-center justify-center mt-auto mb-2",children:o.jsx($s,{onClick:i=>{n(),i?.stopPropagation()},className:"mt-2",children:o.jsx(B,{variant:"body8",className:"text-metrifox-blue underline",children:"Explore all priced features"})})})]})},O8=({priceOption:e})=>{const{price:t,label:n,currencySymbol:r,isPercentage:s}=f1(e),i=ce(t).split("."),a=i?i[0]:"0",l=i&&i.length>1?i[1]:"00";return o.jsxs(k,{className:"p-2 border-b border-grey-200 last:border-0",children:[o.jsx(k,{className:"flex items-center justify-between",children:o.jsx(U,{variant:"label7",className:"text-grey-600 mb-2",children:"Starts at"})}),o.jsxs(k,{className:"flex items-end",children:[!s&&o.jsxs(o.Fragment,{children:[o.jsxs(U,{variant:"label3",className:"text-[var(--price-color,#0F0F0F)]",children:[r,a]}),o.jsxs(U,{variant:"label6",className:"mb-[5px] text-metrifox-black",children:[".",l]})]}),s&&o.jsx(U,{variant:"label3",className:"text-[var(--price-color,#0F0F0F)]",children:t}),n&&o.jsxs(B,{variant:"body4",className:"mb-[5px] text-grey-500",children:[s?"\xA0":"/",n]})]})]})},_8=({interval:e,priceOptions:t,entitlementPriceOptions:n,creditAttachmentPriceOptions:r,isPricePage:s,trialTag:i,showMoreCard:a,isFree:l,isCustom:c,showMore:u})=>{const{shouldShowFixedPrice:d,shouldShowFreeTrial:f,shouldShowDynamicPrices:h}=p0({selectedInterval:e,publishedOnly:s}),g=u1(e,t),m=d1(e,n),x=d1(e,r),y=m.length===1&&!g,b=[...x,...y?[]:m];return o.jsxs(k,{className:a?"bg-grey-100 border border-grey-200 rounded-2xl p-2 mb-3":"w-full",children:[d&&o.jsxs(k,{className:a?"":"h-[94px]",children:[l&&o.jsx(k,{className:"p-2 border-b border-grey-200 last:border-0",children:o.jsxs(k,{className:"flex items-center justify-between pt-[21px] pb-4",children:[o.jsx(U,{variant:"label3",children:"Free"}),!s]})}),c&&o.jsx(k,{className:"p-2 border-b border-grey-200 last:border-0",children:o.jsxs(k,{className:"flex items-center justify-between pt-[21px] pb-4",children:[o.jsx(U,{variant:"label4",children:"Custom"}),!s]})}),!g&&!l&&!c&&!y&&o.jsx(k,{className:"p-2 border-b border-grey-200 last:border-0",children:o.jsxs(k,{className:"flex items-center justify-between pt-[21px] pb-4",children:[o.jsx(U,{variant:"label4",children:"No fixed price"}),!s]})}),g&&o.jsx(V8,{interval:e,priceOption:g}),y&&!g&&o.jsx(O8,{priceOption:m[0]})]}),f&&!s&&o.jsx(k,{className:"h-6",children:i}),h&&o.jsx($8,{dynamicPrices:b,showMoreCard:!!a,showMore:u})]})},B8=({description:e,entitlements:t,baseEntitlementsPlanName:n,priceContent:r})=>o.jsxs(k,{children:[o.jsx(U,{variant:"label7",className:"mb-2",children:"Description"}),o.jsx(B,{variant:"body5",className:"mb-4 whitespace-pre-wrap",children:e}),r,o.jsx(m0,{entitlements:t,baseEntitlementsPlanName:n})]});function I8(e){p.useEffect(function(){typeof e=="function"&&e()},[])}var H8="Expected a function",g0=0/0,W8="[object Symbol]",U8=/^\s+|\s+$/g,Z8=/^[-+]0x[0-9a-f]+$/i,z8=/^0b[01]+$/i,K8=/^0o[0-7]+$/i,Y8=parseInt,G8=typeof Ht=="object"&&Ht&&Ht.Object===Object&&Ht,q8=typeof self=="object"&&self&&self.Object===Object&&self,X8=G8||q8||Function("return this")(),J8=Object.prototype,Q8=J8.toString,eg=Math.max,tg=Math.min,pa=function(){return X8.Date.now()};function ng(e,t,n){var r,s,i,a,l,c,u=0,d=!1,f=!1,h=!0;if(typeof e!="function")throw new TypeError(H8);t=x0(t)||0,ma(n)&&(d=!!n.leading,f="maxWait"in n,i=f?eg(x0(n.maxWait)||0,t):i,h="trailing"in n?!!n.trailing:h);function g(L){var T=r,A=s;return r=s=void 0,u=L,a=e.apply(A,T),a}function m(L){return u=L,l=setTimeout(b,t),d?g(L):a}function x(L){var T=L-c,A=L-u,H=t-T;return f?tg(H,i-A):H}function y(L){var T=L-c,A=L-u;return c===void 0||T>=t||T<0||f&&A>=i}function b(){var L=pa();if(y(L))return C(L);l=setTimeout(b,x(L))}function C(L){return l=void 0,h&&r?g(L):(r=s=void 0,a)}function v(){l!==void 0&&clearTimeout(l),u=0,r=c=s=l=void 0}function j(){return l===void 0?a:C(pa())}function w(){var L=pa(),T=y(L);if(r=arguments,s=this,c=L,T){if(l===void 0)return m(c);if(f)return l=setTimeout(b,t),g(c)}return l===void 0&&(l=setTimeout(b,t)),a}return w.cancel=v,w.flush=j,w}function ma(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function rg(e){return!!e&&typeof e=="object"}function sg(e){return typeof e=="symbol"||rg(e)&&Q8.call(e)==W8}function x0(e){if(typeof e=="number")return e;if(sg(e))return g0;if(ma(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ma(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(U8,"");var n=z8.test(e);return n||K8.test(e)?Y8(e.slice(2),n?2:8):Z8.test(e)?g0:+e}var og=ng,ig=Ar(og);function ag(e,t,n){var r=p.useCallback(function(i){return ig(i,t,n)},[t,n]),s=p.useRef(r(e));return p.useEffect(function(){s.current=r(e)},[e,r]),s.current}function lg(e,t){var n=p.useRef(!1);typeof t<"u"&&!Array.isArray(t)?t=[t]:Array.isArray(t)&&t.length===0&&console.warn("Using [] as the second argument makes useDidUpdate a noop. The second argument should either be `undefined` or an array of length greater than 0."),p.useEffect(function(){n.current?e():n.current=!0},t),p.useEffect(function(){return function(){n.current=!1}},[])}var y0=typeof window>"u"?p.useEffect:p.useLayoutEffect;function cg(e,t){t===void 0&&(t=!1);var n=t?y0:p.useEffect,r=p.useRef(e);return n(function(){r.current=e}),r}function ug(e){var t=cg(e);function n(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];typeof t.current=="function"&&t.current.apply(t,r)}return n}var dg=process.env.NODE_ENV!=="production",v0=function(){};if(dg){var fg=function(e){var t="Warning: ".concat(e);typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}};v0=function(e,t){e||fg(t)}}function hg(e,t,n,r,s,i){r===void 0&&(r={}),s===void 0&&(s=!0),i===void 0&&(i=!1);var a=ug(n),l=i?y0:p.useEffect;l(function(){return v0(typeof e<"u","[useGlobalObjectEventListener]: Cannot attach event handlers to undefined."),typeof e<"u"&&s?(e.addEventListener(t,a,r),function(){e.removeEventListener(t,a,r)}):function(){}},[t,r])}function pg(e,t,n){t===void 0&&(t=!0),n===void 0&&(n=!1),typeof window<"u"?hg(window,"resize",e,{passive:!0},t,n):console.warn("useOnWindowResize can't attach an event listener as window is undefined.")}var b0="...",mg=0,_s=function(){return"__clamp_text_key__".concat(mg++)};function gg(e){var t=e.text,n=e.ellipsis,r=n===void 0?b0:n,s=e.lines,i=s===void 0?3:s,a=e.expanded,l=a===void 0?!1:a,c=e.debounceTime,u=c===void 0?300:c,d=e.charWidth,f=d===void 0?1.2:d,h=p.useState(function(){return{noClamp:!1,clampedText:".",key:_s()}}),g=h[0],m=g.noClamp,x=g.clampedText,y=g.key,b=h[1],C=p.useRef(),v=p.useRef(0),j=p.useCallback(function(L){var T=L.lineHeight,A=L.originalText,H=L.expanded,V=L.ellipsis,O=L.lines,z=L.charWidth,Z=C.current;if(!Z)return;if(!A||H){b({noClamp:!0,clampedText:A,key:_s()});return}var P=T*O+1,F=0;typeof V=="string"?F=V===b0?5:Math.ceil(V.length*z):typeof V=="number"&&(F=Math.ceil(V*z));var E=0,D=0,S=A.length;if(!Z.clientHeight)return;function $(){var W,Y=(W=Z?.clientHeight)!==null&&W!==void 0?W:1;Y<=P?E=D+1:S=D-1}for(;E<=S;){if(D=Math.floor((E+S)/2),Z.innerText=A.slice(0,D),D===A.length){b({clampedText:A,noClamp:!0,key:_s()});return}$()}var R=A.slice(0,Math.max(D-F,0)).trim()+(typeof V=="string"?V:"");Z.innerText=R,b({noClamp:!1,clampedText:R,key:_s()})},[]),w=ag(j,u);return pg(function(){return w({lineHeight:v.current,originalText:t,expanded:l,ellipsis:r,lines:i,charWidth:f})}),I8(function(){var L,T;if(t&&!v.current){var A=((T=(L=C.current)===null||L===void 0?void 0:L.clientHeight)!==null&&T!==void 0?T:1)+1;v.current=A,j({lineHeight:A,originalText:t,expanded:l,ellipsis:r,lines:i,charWidth:f})}}),lg(function(){j({lineHeight:v.current,originalText:t,expanded:l,ellipsis:r,lines:i,charWidth:f})},[l,t,f,r,i]),[C,{noClamp:m,clampedText:x,key:y}]}const xg=({description:e,showDetails:t})=>{const[n,{noClamp:r,clampedText:s,key:i}]=gg({text:e,ellipsis:12.5,lines:3});return e?o.jsx(B,{variant:"body6",children:o.jsxs("span",{ref:n,className:"w-full inline-block",children:[s,!r&&o.jsxs(o.Fragment,{children:["...",o.jsx($s,{onClick:a=>{t(),a?.stopPropagation()},className:"!inline",children:o.jsx(B,{variant:"body6",className:"text-metrifox-blue border-b border-metrifox-blue",children:"See more"})})]})]},i)}):null},yg=({selectedInterval:e,intervals:t,setSelectedInterval:n})=>o.jsx(k,{className:"rounded-2xl p-1 flex bg-[var(--card-background-color,#F5F5F5)]",children:t.map(r=>{const s=e===r;return o.jsx(k,{className:`py-[4px] px-3 rounded-[12px] cursor-pointer ${s?"bg-[var(--active-tab-color,#3D3D3D)]":""}`,onClick:()=>n(r),children:o.jsx(B,{variant:"body4",color:s?"text-[var(--button-text,#FFFFFF)]":"text-[var(--tab-color,#A1A1AA)]",children:vt(r)})},r)})}),vg=({product:e,tenantDetails:t})=>{const[n,r]=p.useState(!1),[s,i]=p.useState(null),{customerKey:a,setPlans:l}=An(),c=e?.product_key,u=t?.tenant_checkout_username,d=Ap({productKey:c,checkoutUsername:u}),{productPlans:f}=N8({product_key:c,customer_key:a}),h=p.useMemo(()=>{const w=f?.plans||[],L=new Map;return w.forEach(T=>{T.is_visible&&(!L.get(T.offering_key)||T.is_current_plan)&&L.set(T.offering_key,T)}),Array.from(L.values())},[f]),g=p.useMemo(()=>h?.findIndex(w=>w?.is_current_plan)??-1,[h]),{intervals:m,selectedInterval:x,setSelectedInterval:y}=R8(h||[]),{shouldShowDescription:b}=p0({selectedInterval:x,publishedOnly:!0}),C=w=>{i(w),r(!0)},v=()=>{r(!1),i(null)},j=w=>{window.open(w,"_blank","noopener,noreferrer")};return p.useEffect(()=>{h&&h?.length>0&&l(h)},[h,l]),!h||h?.length===0?null:o.jsx(o.Fragment,{children:o.jsxs(k,{className:"bg-grey-100 rounded-2xl p-4",children:[o.jsx(k,{className:"flex items-center justify-between",children:o.jsxs(k,{className:"flex items-center gap-1",children:[o.jsx(k,{className:"p-1.5 bg-grey-200 rounded-lg",children:o.jsx(ae,{name:"subtitle",size:18,color:"grey-500"})}),o.jsxs(k,{className:"flex gap-x-2",children:[o.jsx(U,{variant:"label7",className:"text-metrifox-black font-medium",children:"Plan"}),o.jsx("a",{href:d,target:"_blank",rel:"noopener noreferrer",className:"underline text-metrifox-blue",children:o.jsx(P8,{text:d,children:o.jsx(B,{variant:"body6",color:"text-metrifox-blue",className:"truncate w-[165px]",children:d})})})]})]})}),o.jsxs(k,{className:"bg-metrifox-white rounded-2xl mt-2 p-4",children:[m.length>0&&o.jsx(k,{className:"flex justify-center mb-2.5",children:o.jsx(yg,{selectedInterval:x,intervals:m,setSelectedInterval:y})}),o.jsx(k,{className:"flex gap-x-2 overflow-x-auto whitespace-nowrap px-6 py-4 -mx-4 [&::-webkit-scrollbar]:h-2 [&::-webkit-scrollbar-track]:bg-grey-100 [&::-webkit-scrollbar-thumb]:bg-grey-300 [&::-webkit-scrollbar-thumb]:rounded-full",children:h?.map((w,L)=>{const T=w?.is_current_plan,{name:A,entitlements:H,base_entitlement_plan_name:V,is_free:O,is_custom:z,description:Z,price_options:P,entitlement_price_options:F,credit_attachment_price_options:E,credit_attachments:D,trial_duration_unit:S,trial_duration_value:$}=w,R=u1(x,[...P,...F]),W=S&&$,Y=$===1?S:`${S}s`;if(!R&&!O&&!z)return null;const _=Go([...H]).filter(se=>se?.is_visible),{featureOrderMap:N}=Pp(h||[]),I=Dp(_,N),Q=D?.filter(se=>se.included_usage),ne=T&&e?.subscription?.status===Fe.ACTIVE,G=se=>o.jsx(_8,{trialTag:W&&o.jsx(Pt,{background:"bg-grey-300",textColor:"text-metrifox-black",size:"small",children:o.jsx(B,{variant:"body6",children:`${$} ${Y} Free trial`})}),interval:x,priceOptions:P,entitlementPriceOptions:F,creditAttachmentPriceOptions:E,isPricePage:!1,showMoreCard:!!se,showMore:()=>C(w),isFree:O,isCustom:z});return o.jsxs(p.Fragment,{children:[o.jsxs(k,{className:"w-[20rem] mb-8 flex-none text-wrap cursor-pointer",children:[o.jsx(k,{className:`${T?"bg-metrifox-primary":"bg-grey-200"} rounded-t-2xl px-3 pt-2.5 pb-4 mt-2"`,children:o.jsx(U,{variant:"label8",className:`${T?"text-metrifox-white":"text-grey-500"} font-medium`,children:w.name})}),o.jsx(k,{className:`${T?"border-b border-x":"border"} border-grey-200 h-full flex flex-col justify-between rounded-2xl p-2 -mt-2.5 transition-all duration-200 ${T?"bg-yellow-gradient":"bg-metrifox-white"}`,children:o.jsxs(k,{className:"w-full min-h-[25rem]",children:[b&&o.jsx(k,{className:"h-[51px] mt-1",children:o.jsx(xg,{description:Z,showDetails:()=>C(w)})}),G(),o.jsx(Er,{onClick:()=>j(w?.checkout_url),className:"w-full bg-metrifox-primary hover:bg-metrifox-primary-dark my-4",disabled:ne,children:o.jsx(U,{variant:"label8",className:"text-metrifox-white",children:ne?"Current plan":L>=g?"Upgrade":"Downgrade"})}),o.jsx(k,{className:"px-2 mt-3",children:o.jsx(m0,{entitlements:I,credits:Q,baseEntitlementsPlanName:V})})]})})]}),o.jsx(Lr,{isOpen:n&&s?.offering_key===w.offering_key,onClose:v,title:A,size:"small",bottomContent:o.jsx(k,{className:"flex justify-end gap-x-2",children:o.jsx(ha,{onClick:v,children:"Close"})}),children:s&&o.jsx(B8,{baseEntitlementsPlanName:s.base_entitlement_plan_name,description:s.description,entitlements:s.entitlements,priceContent:G(!0)})})]},L)})})]})]})})},bg=()=>o.jsx(k,{className:"flex justify-center items-center gap-x-2 h-full",children:o.jsxs(k,{className:"flex items-center gap-1",children:[o.jsx(B,{variant:"body7",color:"text-metrifox-black",children:"Powered by"}),o.jsx(p1,{height:30,width:100})]})}),Cg=({trigger:e,children:t,className:n="bg-metrifox-white rounded-[10px] shadow-md",shouldMatchWidth:r,anchorGap:s=4,anchorTo:i="bottom start",anchorOffset:a=0})=>{const l=p.useRef(null),[c,u]=p.useState(null);p.useLayoutEffect(()=>{l.current&&u(l.current.offsetWidth)},[]);const d=r&&c?c:"auto";return o.jsxs(E9,{className:"relative",children:[o.jsx(Xc,{className:"outline-none w-full cursor-pointer",ref:l,as:"span",children:e}),o.jsx(Jc,{anchor:{gap:s,to:i,offset:a},className:`${n} absolute z-10 transition duration-200 ease-out data-[closed]:scale-95 data-[closed]:opacity-0`,style:{width:d},transition:!0,children:({close:f})=>typeof t=="function"?o.jsx(o.Fragment,{children:t(f)}):o.jsx(o.Fragment,{children:t})})]})},wg=async e=>{const{data:t}=await at().post("/sdk/subscriptions/schedule-cancellation",e);return t},kg=({subscriptionId:e,isOpen:t,onClose:n})=>{const[r,s]=p.useState(!1),{customerRefetch:i}=An();return o.jsxs(Lr,{size:"small",title:"Cancel subscription?",isOpen:t,onClose:n,bottomContent:o.jsxs(k,{className:"flex justify-end gap-x-2",children:[o.jsx(Os,{className:"text-primary-500",onClick:n,size:"x-small",children:"Cancel"}),o.jsx(Er,{className:"!bg-metrifox-danger text-metrifox-white",onClick:async()=>{s(!0);try{const a=await wg({id:e});Ct.success(a.message),s(!1),n(),i()}catch(a){Ct.error(a instanceof Error?a.message:"An error ocurred"),s(!1)}},size:"x-small",isLoading:r,disabled:r,children:"Confirm"})]}),showCloseButton:!1,className:"bg-metrifox-white",children:[o.jsx(U,{variant:"label7",children:"Are you sure you want to proceed?"}),o.jsx(B,{variant:"body4",color:"text-metrifox-black",className:"mt-5",children:"This subscription is scheduled to be canceled at the end of the billing cycle"})]})},jg=async e=>{const{data:t}=await at().post("/sdk/subscriptions/revert-cancellation",e);return t},Lg=({subscriptionId:e,isOpen:t,onClose:n})=>{const[r,s]=p.useState(!1),{customerRefetch:i}=An();return o.jsxs(Lr,{size:"small",title:"Undo cancellation?",isOpen:t,onClose:n,bottomContent:o.jsxs(k,{className:"flex justify-end gap-x-2",children:[o.jsx(Os,{className:"text-primary-500",onClick:n,size:"x-small",children:"Cancel"}),o.jsx(Er,{className:"text-metrifox-white",onClick:async()=>{s(!0);try{const a=await jg({id:e});Ct.success(a.message),s(!1),n(),i()}catch(a){Ct.error(a instanceof Error?a.message:"An error ocurred"),s(!1)}},size:"x-small",isLoading:r,disabled:r,children:"Next"})]}),showCloseButton:!1,className:"bg-metrifox-white",children:[o.jsx(B,{variant:"body4",color:"text-metrifox-black",children:"Keep subscription active?"}),o.jsx(B,{variant:"body4",color:"text-metrifox-black",className:"mt-5",children:"The subscription would keep going and renew as usual."})]})},Eg=({subscription:e})=>{const[t,n]=p.useState(!1),[r,s]=p.useState(!1);return o.jsxs(k,{children:[e?.ends_at?o.jsx(k,{onClick:()=>s(!0),className:"cursor-pointer",children:o.jsx(B,{variant:"body6",className:"text-metrifox-danger",children:"Undo cancellation"})}):o.jsx(k,{onClick:()=>n(!0),className:"cursor-pointer",children:o.jsx(B,{variant:"body6",className:"text-metrifox-danger",children:"Cancel subscription"})}),o.jsx(kg,{subscriptionId:e?.id,isOpen:t,onClose:()=>n(!1)}),o.jsx(Lg,{subscriptionId:e?.id,isOpen:r,onClose:()=>s(!1)})]})},Sg=({subscriptionLineItems:e,handleUpdateQuantity:t,canUpdateQuantities:n})=>{const[r,s]=p.useState(!1),i=e[0];return o.jsxs(k,{children:[o.jsxs(k,{className:"bg-grey-200 rounded-t-2xl px-3 pt-2.5 pb-4 mt-4 flex items-center justify-between cursor-pointer",onClick:()=>s(!r),children:[o.jsx(U,{variant:"label8",className:"text-grey-500 font-medium",children:"Items"}),o.jsxs(k,{className:"flex gap-x-2",children:[n&&o.jsx($s,{className:"!text-metrifox-blue underline cursor-pointer",onClick:a=>{a?.stopPropagation(),t()},children:"Update items"}),o.jsx("span",{className:`transform transition-transform duration-300 ${r?"rotate-180":"rotate-0"}`,children:o.jsx(ae,{name:"arrow-down",size:14,color:"grey-500"})})]})]}),o.jsx(k,{className:"bg-metrifox-white rounded-2xl p-2 -mt-2.5 space-y-2",children:r?o.jsx(o.Fragment,{children:e?.map((a,l)=>o.jsx(k,{className:"bg-grey-50 border border-grey-200 rounded-lg p-2 flex justify-between",children:o.jsxs(k,{className:"w-full flex items-center justify-between",children:[o.jsx(k,{className:"flex items-center gap-4",children:o.jsxs(k,{className:"flex items-center gap-1",children:[o.jsx(U,{variant:"label8",className:"text-grey-800 font-medium",children:vt(a?.name)}),a?.is_addon&&o.jsx(Pt,{size:"small",background:"bg-grey-300",textColor:"text-metrifox-black",children:"Add-on"})]})}),o.jsxs(B,{variant:"body6",className:"text-grey-800 font-medium",children:[$t(a?.currency_code),ce(a?.unit_price||a?.total_amount)]})]})},l))}):o.jsxs(k,{className:"bg-grey-100 rounded-lg p-2 flex items-center justify-between cursor-pointer",children:[o.jsxs(U,{variant:"label8",className:"text-grey-800 font-medium",children:[i?.name," ",o.jsx("span",{children:"\u2022"})," ",e.length," item(s)"]}),o.jsxs(k,{className:"flex items-center gap-1",children:[o.jsxs(B,{variant:"body6",className:"text-grey-800 font-medium",children:[$t(i?.currency_code),ce(i?.unit_price||i?.total_amount)]}),o.jsxs(B,{variant:"body6",className:"text-metrifox-blue",children:["+ ",e.length-1," prices(s)"]})]})]})})]})},Mg=({subscription:e,tenantDetails:t})=>{const n=e?.status,{text:r,color:s}=jp(n),{customerKey:i}=An(),a=[{label:"Current plan",value:`${e?.plan_name||"-"}`},{label:"Status",value:o.jsx(Pt,{size:"small",background:s,textColor:"text-metrifox-white",children:vt(r)||"-"})},{label:"Start date",value:ct(e?.starts_at)},...n===Fe.IN_TRIAL?[{label:"Trial end date",value:ct(e?.trial_end_date)}]:[{label:"End date",value:e?.ends_at?ct(e?.ends_at):"-"}],...n===Fe.IN_TRIAL?[{label:"Trial period",value:e?.starts_at&&e?.trial_end_date?o.jsxs(U,{variant:"label7",className:"text-grey-600",children:[ct(e?.starts_at)," -"," ",ct(e?.trial_end_date)]}):"-"}]:[],...n===Fe.ACTIVE?[{label:"Renewal date",value:e?.renews_at?ct(e?.renews_at):"-"}]:[],...n===Fe.ACTIVE?[{label:"Current billing period",value:e?.current_billing_period_start&&e?.current_billing_period_end?o.jsxs(k,{children:[o.jsxs(U,{variant:"label7",className:"text-grey-600",children:[ct(e.current_billing_period_start)," -"," ",ct(e.current_billing_period_end)]}),o.jsx(Pt,{size:"small",background:"bg-grey-200",textColor:"text-metrifox-black",children:"Auto-renew"})]}):"-"}]:[],...n===Fe.ACTIVE?[{label:"Next billing date",value:e?.renews_at?ct(e?.renews_at):"-"}]:[],...n===Fe.ACTIVE?[{label:"Next estimated bill",value:e?.next_billing_amount?o.jsx(k,{children:o.jsxs(U,{variant:"label7",className:"text-grey-600",children:[$t(e.currency_code),e.next_billing_amount]})}):"-"}]:[]],l=()=>{const c=`${window.location.origin}/${t.tenant_checkout_username}/${e.offering_key}/subscriptions/${e.id}?customer=${i}`;window.open(c,"_blank","noopener,noreferrer")};return o.jsx(k,{children:o.jsxs(k,{className:"bg-grey-100 rounded-2xl p-4",children:[o.jsxs(k,{className:"flex items-center justify-between",children:[o.jsxs(k,{className:"flex items-center gap-1",children:[o.jsx(k,{className:"p-1.5 bg-grey-200 rounded-lg",children:o.jsx(ae,{name:"money",size:18,color:"grey-500"})}),o.jsx(U,{variant:"label7",className:"text-metrifox-black font-medium",children:"Subscription"})]}),e.status!==Fe.CANCELED&&o.jsx(Cg,{trigger:o.jsx(ae,{name:"more",size:20,color:"grey-500"}),anchorTo:"bottom end",className:"bg-metrifox-white rounded-md shadow-md p-4",children:o.jsx(Eg,{subscription:e})})]}),o.jsx(k,{className:"bg-grey-200 rounded-t-2xl px-3 pt-2.5 pb-4 mt-2",children:o.jsx(U,{variant:"label8",className:"text-grey-500 font-medium",children:"Details"})}),o.jsx(k,{className:"bg-metrifox-white flex justify-between flex-wrap gap-8 rounded-2xl p-4 -mt-2.5",children:a?.map((c,u)=>o.jsxs(k,{className:"",children:[o.jsx(U,{variant:"label8",className:"text-grey-500",children:c?.label}),o.jsx(U,{variant:"label7",className:`text-grey-600 font-medium mt-2 ${c?.value==="-"?"text-center":""}`,children:c?.value})]},u))}),e?.subscription_items?.length>0&&o.jsx(Sg,{subscriptionLineItems:e?.subscription_items,handleUpdateQuantity:l,canUpdateQuantities:e?.can_update_quantities})]})})},Tg=({upcomingInvoice:e})=>{const[t,n]=p.useState(!1),r=p.useRef(null),{invoiceDetails:s}=h0({invoiceId:e?.invoice_id});return o.jsxs(k,{children:[o.jsxs(k,{className:"bg-grey-100 rounded-2xl p-4 w-full flex items-center justify-between",children:[o.jsxs(k,{className:"flex items-center gap-3",children:[o.jsx(U,{variant:"label7",className:"font-medium text-metrifox-black",children:"Upcoming Invoice"}),o.jsx(k,{className:"flex items-center gap-2",children:o.jsx(Pt,{background:"bg-purple-500",size:"small",children:o.jsxs(U,{variant:"label8",className:"text-metrifox-white",children:[e?.currency?.symbol,e?.amount]})})}),o.jsxs(B,{variant:"body6",className:"text-metrifox-black",children:["Due"," ",new Date(e?.due_date).toLocaleString(e?.currency?.country_code,{month:"short",day:"numeric",year:"numeric"})]})]}),o.jsx($s,{className:"!text-metrifox-blue underline cursor-pointer",onClick:()=>{n(!0)},children:"Preview invoice"})]}),t&&o.jsx(f0,{isOpen:t,onClose:()=>n(!1),contentRef:r,content:o.jsx(m1,{data:s}),modalTitle:"Invoice preview"})]})},C0=({tabs:e,activeTab:t,handleTabClick:n,count:r,className:s,tabButtonClassName:i,activeTabButtonClassName:a})=>o.jsx(k,{className:"flex justify-between",children:o.jsx(k,{className:`flex gap-x-6 items-center ${s}`,children:e.map(l=>o.jsxs(Os,{onClick:()=>n(l.key),className:`!font-normal !text-grey-500 !border-grey-300 !rounded-xl !px-3 ${i} ${t===l.key?"flex gap-3 items-center !text-metrifox-white !bg-metrifox-primary "+a:""}`,children:[o.jsx(k,{children:l.label}),t===l.key&&r&&o.jsx(k,{className:"flex items-center bg-metrifox-secondary justify-center rounded-md h-5 px-[6px]",children:o.jsx(U,{variant:"label8",color:"text-metrifox-primary",children:Ve(r??0)})}),l.count&&o.jsx(k,{className:`flex items-center justify-center rounded-md h-5 px-[6px] ${t===l.key?"bg-metrifox-secondary":"bg-grey-100"}`,children:o.jsx(U,{variant:"label8",color:"text-metrifox-primary",children:Ve(r??0)})})]},l.key))})}),Dg=async({walletId:e,status:t})=>{const{data:n}=await at().get(`/sdk/credit_systems/wallets/${e}/credit-allocations`,{params:{status:t||void 0}});return n},Pg=({walletId:e,status:t})=>{const[n,r]=p.useState(null),[s,i]=p.useState(null),[a,l]=p.useState(!1),c=async()=>{if(!e)return i("Missing walletId");l(!0);try{const u=await Dg({walletId:e,status:t});r(u?.data),i(null)}catch(u){const d=u,f=d?.response?.data?.data?.error||d?.message;i(f||"Failed to load credit allocations")}finally{l(!1)}};return p.useEffect(()=>{c()},[e,t]),{creditAllocations:n,error:s,isLoading:a,refetch:c}},Ag=({consumed:e,total:t,className:n=""})=>{const r=t>0?e/t*100:0;return o.jsxs(k,{className:`w-full ${n}`,children:[o.jsxs(k,{className:"flex justify-between text-xs text-grey-600 mb-1",children:[o.jsx("span",{children:e.toFixed(0)}),o.jsx("span",{children:"/"}),o.jsx("span",{children:t.toFixed(0)})]}),o.jsx(k,{className:"w-full bg-grey-200 rounded-full h-2 overflow-hidden",children:o.jsx(k,{className:"bg-blue-500 h-2 rounded-full transition-all duration-300 ease-in-out",style:{width:`${r}%`}})})]})},Ng=async({allocationId:e})=>{const{data:t}=await at().get(`/sdk/credit_systems/wallets/${e}/credit-transaction`);return t},Rg=({allocationId:e})=>{const[t,n]=p.useState(null),[r,s]=p.useState(null),[i,a]=p.useState(!1),l=async()=>{if(!e)return s("Missing AllocationId");a(!0);try{const c=await Ng({allocationId:e});n(c?.data),s(null)}catch(c){const u=c,d=u?.response?.data?.data?.error||u?.message;s(d||"Failed to load credit allocation")}finally{a(!1)}};return p.useEffect(()=>{l()},[e]),{creditTransactions:t,error:r,isLoading:i,refetch:l}},Fg=({allocationId:e,isOpen:t,onClose:n})=>{const{creditTransactions:r,isLoading:s}=Rg({allocationId:e}),i=r?.allocation_type,a=h1(i||""),l=(r?.transactions||[]).map(c=>({date:ys(c.created_at),event:c.event_name||"-",quantity:c.quantity,amount:-Math.abs(c.amount)}));return o.jsx(Lr,{size:"large",title:a,isOpen:t,onClose:()=>n(),className:"bg-metrifox-white",children:o.jsx(Sr,{columns:[{key:"date",header:"Date",render:c=>o.jsx(B,{variant:"body6",className:"text-md",children:c.date})},{key:"event",header:"Event",render:c=>o.jsx(B,{variant:"body6",className:"text-lg",children:c.event})},{key:"quantity",header:"Quantity",render:c=>o.jsx(B,{variant:"body6",className:"text-lg",children:c.quantity})},{key:"amount",header:"Amount",render:c=>o.jsx(B,{variant:"body6",className:"text-lg text-[#D12C2C]",children:ce(c.amount)})}],data:l,isLoading:s,emptyState:o.jsxs(k,{className:"flex flex-col items-center justify-center gap-3 py-12",children:[o.jsx(ae,{name:"wallet-is-empty",size:84,color:"grey-400"}),o.jsx(U,{variant:"label7",color:"text-grey-500",children:"No transactions found"})]})})})},Vg=({tenantDetails:e,subscription:t,wallets:n})=>{const[r,s]=p.useState(0),[i,a]=p.useState(""),[l,c]=p.useState(!1),[u,d]=p.useState(""),[f,h]=p.useState("active"),g=w=>{h(w)},m=[{key:"active",label:"Active"},{key:"expired",label:"Expired"},{key:"overage",label:"Overage"}],{creditAllocations:x,isLoading:y}=Pg({walletId:i,status:f}),b=x?.map(w=>Fp(w));p.useEffect(()=>{n&&n.length>0&&!i&&a(n?.[0]?.id)},[n,i]);const C=[{header:"Credited date",render:w=>o.jsxs(k,{className:"flex flex-col",children:[o.jsx(B,{variant:"body6",className:"text-grey-700 font-medium",children:w.creditedDate}),w.orderId&&w.orderNumber&&o.jsx(B,{variant:"body6",className:"underline",children:w.orderNumber}),w.invoiceId&&o.jsx(B,{variant:"body6",className:"underline",children:w.invoiceId})]})},{key:"source",header:"Source"},{header:"Amount",render:w=>o.jsx(B,{variant:"body6",color:"text-grey-700",children:ce(w.amount)})},{header:"Balance",render:w=>o.jsxs(k,{className:"space-y-2",children:[o.jsxs(B,{variant:"body6",className:"text-grey-700 font-medium",children:[w.balance," ",w.source==="Overage"?"":"available"]}),o.jsx(Ag,{consumed:w.consumed,total:w.amount})]})},{header:"Valid until",render:w=>o.jsx(B,{variant:"body6",color:"text-grey-700",children:w.validUntil?new Date(w.validUntil).toLocaleDateString():"No expiration"})}],v=w=>{const L=`${window.location.origin}/${e.tenant_checkout_username}/checkout/${t.offering_key}?customer=${e.customer_key}&credit=${w}`;window.open(L,"_blank","noopener,noreferrer")};if(!n||n.length===0)return null;const j=w=>{c(!0),d(w.id)};return o.jsxs(k,{className:"bg-grey-100 rounded-2xl p-4",children:[o.jsxs(k,{className:"flex items-center gap-1",children:[o.jsx(k,{className:"p-1.5 bg-grey-200 rounded-lg",children:o.jsx(ae,{name:"card-receive",size:16,color:"grey-500"})}),o.jsx(U,{variant:"label7",className:"text-metrifox-black font-medium",children:"Wallet balance"})]}),o.jsx(k,{className:"bg-metrifox-white rounded-2xl p-4 mt-2",children:n.length>1?o.jsxs(ms,{defaultIndex:r,onChange:s,children:[o.jsx(gs,{className:"w-max bg-grey-100 border border-neutral-200 text-grey-500 px-1.5 py-1 rounded-2xl",children:n.map(w=>o.jsx(ir,{onClick:()=>a(w.id),className:"w-max data-[selected]:bg-metrifox-primary data-[selected]:border data-[selected]:border-grey-200 outline-none data-[selected]:text-metrifox-white rounded-xl px-8 py-2",children:o.jsx(B,{variant:"body6",children:w.name})},w.id))}),o.jsx(xs,{children:n.map(w=>o.jsxs(Pn,{children:[o.jsx(k,{className:"bg-grey-100 rounded-lg p-6 mt-4",children:o.jsxs(k,{className:"w-full flex items-center justify-between gap-1",children:[o.jsxs(k,{className:"text-center",children:[o.jsx(k,{className:"flex items-center justify-center gap-1",children:o.jsx(U,{variant:"label8",className:"text-grey-500 font-medium",children:"Total available balance"})}),o.jsxs(k,{className:"flex items-baseline justify-center gap-1",children:[o.jsx(U,{variant:"label6",className:"text-neutral-800 font-medium",children:ce(w.balance)}),o.jsx(U,{variant:"label8",className:"text-grey-500 mt-3.5",children:w.name})]})]}),o.jsx(Er,{type:"button",size:"small",onClick:()=>v(w.credit_key),className:"text-metrifox-white",children:"Top up"})]})}),o.jsx(C0,{tabs:m,activeTab:f,handleTabClick:g,count:y?0:x?.length,className:"my-2"}),o.jsx(Sr,{columns:C,data:b,onRowClick:j,isLoading:y,emptyState:o.jsxs(k,{className:"flex flex-col items-center justify-center gap-3 py-12",children:[o.jsx(ae,{name:"wallet-is-empty",size:84,color:"grey-400"}),o.jsx(U,{variant:"label7",color:"text-grey-500",children:f==="active"?"No active credit allocations found":f==="expired"?"No expired credit allocations found":"No overage credit allocations found"})]}),emptyStateClassName:"!h-auto"})]},w.id))})]}):n[0]&&o.jsxs(o.Fragment,{children:[o.jsx(k,{className:"bg-grey-100 rounded-lg p-6 mt-4",children:o.jsxs(k,{className:"w-full flex items-center justify-between gap-1",children:[o.jsxs(k,{className:"text-center",children:[o.jsx(k,{className:"flex items-center justify-center gap-1",children:o.jsx(U,{variant:"label8",className:"text-grey-500 font-medium",children:"Total available balance"})}),o.jsxs(k,{className:"flex items-baseline justify-center gap-1",children:[o.jsx(U,{variant:"label6",className:"text-neutral-800 font-medium",children:ce(n[0].balance)}),o.jsx(U,{variant:"label8",className:"text-grey-500 mt-3.5",children:n[0].name})]})]}),o.jsx(Er,{type:"button",size:"small",onClick:()=>n[0]?.id&&v(n[0].credit_key),className:"text-metrifox-white",children:"Top up"})]})}),o.jsx(C0,{tabs:m,activeTab:f,handleTabClick:g,count:y?0:x?.length,className:"my-2"}),o.jsx(Sr,{columns:C,data:b,onRowClick:j,isLoading:y,emptyState:o.jsxs(k,{className:"flex flex-col items-center justify-center gap-3 py-12",children:[o.jsx(ae,{name:"wallet-is-empty",size:84,color:"grey-400"}),o.jsx(U,{variant:"label7",color:"text-grey-500",children:f==="active"?"No active credit allocations found":f==="expired"?"No expired credit allocations found":"No overage credit allocations found"})]}),emptyStateClassName:"!h-auto"})]})}),o.jsx(Fg,{allocationId:u,isOpen:l,onClose:()=>{c(!1),d("")}})]})},$g=[{key:"upcomingInvoice"},{key:"subscription"},{key:"creditBalance"},{key:"entitlementUsage"},{key:"paymentOverview"},{key:"billingHistory"},{key:"plan"}],Og={upcomingInvoice:"upcoming-invoice",subscription:"subscription",creditBalance:"credit-balance",entitlementUsage:"entitlement-usage",paymentOverview:"payment-overview",billingHistory:"billing-history",plan:"plan"},w0=({product:e,tenantDetails:t,sectionsConfig:n,customerWallets:r})=>{const s=n||$g,i={upcomingInvoice:()=>e?.subscription?.upcoming_invoice?o.jsx(Tg,{upcomingInvoice:e.subscription.upcoming_invoice}):null,subscription:()=>e?.subscription?o.jsx(Mg,{subscription:e.subscription,tenantDetails:t}):null,creditBalance:()=>r&&r.length>0?o.jsx(Vg,{subscription:e.subscription,tenantDetails:t,wallets:r}):null,entitlementUsage:()=>e?.subscription?o.jsx(M8,{subscriptionId:e?.subscription?.id}):null,paymentOverview:()=>o.jsx(T8,{paymentMethod:e.payment_method,tenantDetails:t}),billingHistory:()=>e?.subscription?.id?o.jsx(C8,{subscriptionId:e.subscription?.id}):null,plan:()=>e?.product_key?o.jsx(vg,{product:e,tenantDetails:t}):null};return o.jsxs(k,{className:"space-y-4",children:[s.filter(a=>!a.hidden).map(a=>{const l=Og[a.key]??a.key;if(a.component)return o.jsx("section",{id:l,className:"space-y-4",children:o.jsx(a.component,{product:e,tenantDetails:t,...a.props})},a.key);const c=i[a.key],u=c?c(a.props):null;return u?o.jsx("section",{id:l,children:u},a.key):null}),o.jsx(bg,{})," "]})},_g=({customerKey:e,sectionsConfig:t})=>{const[n,r]=p.useState(0),{setCustomerKey:s,setCustomerRefetch:i}=An(),{customerDetails:a,error:l,refetch:c,isLoading:u}=op({customerKey:e}),{customerWallets:d}=ap({customerKey:e});if(p.useEffect(()=>{s(e),i(c)},[]),l)return o.jsx(k,{className:"max-w-[60rem] mx-auto py-6 px-4",children:o.jsxs("div",{className:"bg-red-50 p-4 rounded-lg text-red-700",children:["Error loading customer details: ",l]})});if(u||!a)return o.jsx(k,{className:"max-w-[60rem] mx-auto py-6 px-4",children:o.jsxs("div",{className:"animate-pulse space-y-4",children:[o.jsx("div",{className:"h-12 bg-gray-200 rounded-lg"}),o.jsx("div",{className:"h-16 bg-gray-200 rounded-lg"}),[1,2,3,4,5].map(m=>o.jsx("div",{className:"h-48 bg-gray-200 rounded-lg"},m))]})});const{subscriptions:f,...h}=a||{},g=f||[];return o.jsx(Wf,{children:o.jsx(k,{className:"max-w-[60rem] mx-auto py-6 px-4 space-y-4",children:g&&g.length>1?o.jsxs(ms,{defaultIndex:n,onChange:m=>r(m),children:[o.jsx(gs,{className:"w-max bg-grey-100 border border-grey-200 text-grey-500 px-1.5 py-1 mb-4 rounded-2xl",children:g.map(m=>o.jsx(ir,{className:"w-max data-[selected]:bg-metrifox-primary data-[selected]:border data-[selected]:border-grey-200 outline-none data-[selected]:text-metrifox-white rounded-xl px-8 py-2",children:o.jsx(B,{variant:"body6",children:m.product_name})},m.product_key))}),o.jsx(xs,{children:g.map(m=>o.jsx(Pn,{children:o.jsx(w0,{product:m,tenantDetails:h,sectionsConfig:t,customerWallets:d})},m.product_key))})]}):o.jsx(o.Fragment,{children:g.map(m=>o.jsx(w0,{product:m,tenantDetails:h,sectionsConfig:t,customerWallets:d},m.product_key))})})})};exports.CustomerPortal=_g,exports.metrifoxInit=mf;