1function Ij(e,n){for(var a=0;a<n.length;a++){const s=n[a];if(typeof s!="string"&&!Array.isArray(s)){for(const o in s)if(o!=="default"&&!(o in e)){const c=Object.getOwnPropertyDescriptor(s,o);c&&Object.defineProperty(e,o,c.get?c:{enumerable:!0,get:()=>s[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const c of o)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&s(u)}).observe(document,{childList:!0,subtree:!0});function a(o){const c={};return o.integrity&&(c.integrity=o.integrity),o.referrerPolicy&&(c.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?c.credentials="include":o.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function s(o){if(o.ep)return;o.ep=!0;const c=a(o);fetch(o.href,c)}})();function X0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var df={exports:{}},Nr={};var rx;function Fj(){if(rx)return Nr;rx=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function a(s,o,c){var u=null;if(c!==void 0&&(u=""+c),o.key!==void 0&&(u=""+o.key),"key"in o){c={};for(var h in o)h!=="key"&&(c[h]=o[h])}else c=o;return o=c.ref,{$$typeof:e,type:s,key:u,ref:o!==void 0?o:null,props:c}}return Nr.Fragment=n,Nr.jsx=a,Nr.jsxs=a,Nr}var ox;function Hj(){return ox||(ox=1,df.exports=Fj()),df.exports}var d=Hj();const ve=e=>typeof e=="string",Cr=()=>{let e,n;const a=new Promise((s,o)=>{e=s,n=o});return a.resolve=e,a.reject=n,a},lx=e=>e==null?"":""+e,qj=(e,n,a)=>{e.forEach(s=>{n[s]&&(a[s]=n[s])})},Gj=/###/g,cx=e=>e&&e.indexOf("###")>-1?e.replace(Gj,"."):e,ux=e=>!e||ve(e),zr=(e,n,a)=>{const s=ve(n)?n.split("."):n;let o=0;for(;o<s.length-1;){if(ux(e))return{};const c=cx(s[o]);!e[c]&&a&&(e[c]=new a),Object.prototype.hasOwnProperty.call(e,c)?e=e[c]:e={},++o}return ux(e)?{}:{obj:e,k:cx(s[o])}},dx=(e,n,a)=>{const{obj:s,k:o}=zr(e,n,Object);if(s!==void 0||n.length===1){s[o]=a;return}let c=n[n.length-1],u=n.slice(0,n.length-1),h=zr(e,u,Object);for(;h.obj===void 0&&u.length;)c=`${u[u.length-1]}.${c}`,u=u.slice(0,u.length-1),h=zr(e,u,Object),h?.obj&&typeof h.obj[`${h.k}.${c}`]<"u"&&(h.obj=void 0);h.obj[`${h.k}.${c}`]=a},Kj=(e,n,a,s)=>{const{obj:o,k:c}=zr(e,n,Object);o[c]=o[c]||[],o[c].push(a)},tc=(e,n)=>{const{obj:a,k:s}=zr(e,n);if(a&&Object.prototype.hasOwnProperty.call(a,s))return a[s]},Yj=(e,n,a)=>{const s=tc(e,a);return s!==void 0?s:tc(n,a)},Q0=(e,n,a)=>{for(const s in n)s!=="__proto__"&&s!=="constructor"&&(s in e?ve(e[s])||e[s]instanceof String||ve(n[s])||n[s]instanceof String?a&&(e[s]=n[s]):Q0(e[s],n[s],a):e[s]=n[s]);return e},rs=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var $j={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Xj=e=>ve(e)?e.replace(/[&<>"'\/]/g,n=>$j[n]):e;class Qj{constructor(n){this.capacity=n,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(n){const a=this.regExpMap.get(n);if(a!==void 0)return a;const s=new RegExp(n);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(n,s),this.regExpQueue.push(n),s}}const Wj=[" ",",","?","!",";"],Zj=new Qj(20),Jj=(e,n,a)=>{n=n||"",a=a||"";const s=Wj.filter(u=>n.indexOf(u)<0&&a.indexOf(u)<0);if(s.length===0)return!0;const o=Zj.getRegExp(`(${s.map(u=>u==="?"?"\\?":u).join("|")})`);let c=!o.test(e);if(!c){const u=e.indexOf(a);u>0&&!o.test(e.substring(0,u))&&(c=!0)}return c},nh=(e,n,a=".")=>{if(!e)return;if(e[n])return Object.prototype.hasOwnProperty.call(e,n)?e[n]:void 0;const s=n.split(a);let o=e;for(let c=0;c<s.length;){if(!o||typeof o!="object")return;let u,h="";for(let p=c;p<s.length;++p)if(p!==c&&(h+=a),h+=s[p],u=o[h],u!==void 0){if(["string","number","boolean"].indexOf(typeof u)>-1&&p<s.length-1)continue;c+=p-c+1;break}o=u}return o},Ur=e=>e?.replace("_","-"),eT={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,n){console?.[e]?.apply?.(console,n)}};
1class nc{constructor(n,a={}){this.init(n,a)}init(n,a={}){this.prefix=a.prefix||"i18next:",this.logger=n||eT,this.options=a,this.debug=a.debug}log(...n){return this.forward(n,"log","",!0)}warn(...n){return this.forward(n,"warn","",!0)}error(...n){return this.forward(n,"error","")}deprecate(...n){return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(n,a,s,o){return o&&!this.debug?null:(ve(n[0])&&(n[0]=`${s}${this.prefix} ${n[0]}`),this.logger[a](n))}create(n){return new nc(this.logger,{prefix:`${this.prefix}:${n}:`,...this.options})}clone(n){return n=n||this.options,n.prefix=n.prefix||this.prefix,new nc(this.logger,n)}}var jn=new nc;class wc{constructor(){this.observers={}}on(n,a){return n.split(" ").forEach(s=>{this.observers[s]||(this.observers[s]=new Map);const o=this.observers[s].get(a)||0;this.observers[s].set(a,o+1)}),this}off(n,a){if(this.observers[n]){if(!a){delete this.observers[n];return}this.observers[n].delete(a)}}emit(n,...a){this.observers[n]&&Array.from(this.observers[n].entries()).forEach(([o,c])=>{for(let u=0;u<c;u++)o(...a)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([o,c])=>{for(let u=0;u<c;u++)o.apply(o,[n,...a])})}}class fx extends wc{constructor(n,a={ns:["translation"],defaultNS:"translation"}){super(),this.data=n||{},this.options=a,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(n){this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}removeNamespaces(n){const a=this.options.ns.indexOf(n);a>-1&&this.options.ns.splice(a,1)}getResource(n,a,s,o={}){const c=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,u=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let h;n.indexOf(".")>-1?h=n.split("."):(h=[n,a],s&&(Array.isArray(s)?h.push(...s):ve(s)&&c?h.push(...s.split(c)):h.push(s)));const p=tc(this.data,h);return!p&&!a&&!s&&n.indexOf(".")>-1&&(n=h[0],a=h[1],s=h.slice(2).join(".")),p||!u||!ve(s)?p:nh(this.data?.[n]?.[a],s,c)}addResource(n,a,s,o,c={silent:!1}){const u=c.keySeparator!==void 0?c.keySeparator:this.options.keySeparator;let h=[n,a];s&&(h=h.concat(u?s.split(u):s)),n.indexOf(".")>-1&&(h=n.split("."),o=a,a=h[1]),this.addNamespaces(a),dx(this.data,h,o),c.silent||this.emit("added",n,a,s,o)}addResources(n,a,s,o={silent:!1}){for(const c in s)(ve(s[c])||Array.isArray(s[c]))&&this.addResource(n,a,c,s[c],{silent:!0});o.silent||this.emit("added",n,a,s)}addResourceBundle(n,a,s,o,c,u={silent:!1,skipCopy:!1}){let h=[n,a];n.indexOf(".")>-1&&(h=n.split("."),o=s,s=a,a=h[1]),this.addNamespaces(a);let p=tc(this.data,h)||{};u.skipCopy||(s=JSON.parse(JSON.stringify(s))),o?Q0(p,s,c):p={...p,...s},dx(this.data,h,p),u.silent||this.emit("added",n,a,s)}removeResourceBundle(n,a){this.hasResourceBundle(n,a)&&delete this.data[n][a],this.removeNamespaces(a),this.emit("removed",n,a)}hasResourceBundle(n,a){return this.getResource(n,a)!==void 0}getResourceBundle(n,a){return a||(a=this.options.defaultNS),this.getResource(n,a)}getDataByLanguage(n){return this.data[n]}hasLanguageSomeTranslations(n){const a=this.getDataByLanguage(n);return!!(a&&Object.keys(a)||[]).find(o=>a[o]&&Object.keys(a[o]).length>0)}toJSON(){return this.data}}var W0={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,n,a,s,o){return e.forEach(c=>{n=this.processors[c]?.process(n,a,s,o)??n}),n}};const Z0=Symbol("i18next/PATH_KEY");function tT(){const e=[],n=Object.create(null);let a;return n.get=(s,o)=>(a?.revoke?.(),o===Z0?e:(e.push(o),a=Proxy.revocable(s,n),a.proxy)),Proxy.revocable(Object.create(null),n).proxy}function ih(e,n){const{[Z0]:a}=e(tT());return a.join(n?.keySeparator??".")}const hx={},ff=e=>!ve(e)&&typeof e!="boolean"&&typeof e!="number";class ic extends wc{constructor(n,a={}){super(),qj(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
1i18nFormat","utils"],n,this),this.options=a,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=jn.create("translator")}changeLanguage(n){n&&(this.language=n)}exists(n,a={interpolation:{}}){const s={...a};if(n==null)return!1;const o=this.resolve(n,s);if(o?.res===void 0)return!1;const c=ff(o.res);return!(s.returnObjects===!1&&c)}extractFromKey(n,a){let s=a.nsSeparator!==void 0?a.nsSeparator:this.options.nsSeparator;s===void 0&&(s=":");const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let c=a.ns||this.options.defaultNS||[];const u=s&&n.indexOf(s)>-1,h=!this.options.userDefinedKeySeparator&&!a.keySeparator&&!this.options.userDefinedNsSeparator&&!a.nsSeparator&&!Jj(n,s,o);if(u&&!h){const p=n.match(this.interpolator.nestingRegexp);if(p&&p.length>0)return{key:n,namespaces:ve(c)?[c]:c};const g=n.split(s);(s!==o||s===o&&this.options.ns.indexOf(g[0])>-1)&&(c=g.shift()),n=g.join(o)}return{key:n,namespaces:ve(c)?[c]:c}}translate(n,a,s){let o=typeof a=="object"?{...a}:a;if(typeof o!="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),typeof o=="object"&&(o={...o}),o||(o={}),n==null)return"";typeof n=="function"&&(n=ih(n,{...this.options,...o})),Array.isArray(n)||(n=[String(n)]);const c=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,{key:h,namespaces:p}=this.extractFromKey(n[n.length-1],o),g=p[p.length-1];let y=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;y===void 0&&(y=":");const v=o.lng||this.language,w=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(v?.toLowerCase()==="cimode")return w?c?{res:`${g}${y}${h}`,usedKey:h,exactUsedKey:h,usedLng:v,usedNS:g,usedParams:this.getUsedParamsDetails(o)}:`${g}${y}${h}`:c?{res:h,usedKey:h,exactUsedKey:h,usedLng:v,usedNS:g,usedParams:this.getUsedParamsDetails(o)}:h;const S=this.resolve(n,o);let E=S?.res;const C=S?.usedKey||h,j=S?.exactUsedKey||h,T=["[object Number]","[object Function]","[object RegExp]"],z=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,R=!this.i18nFormat||this.i18nFormat.handleAsObject,k=o.count!==void 0&&!ve(o.count),L=ic.hasDefaultValue(o),K=k?this.pluralResolver.getSuffix(v,o.count,o):"",I=o.ordinal&&k?this.pluralResolver.getSuffix(v,o.count,{ordinal:!1}):"",_=k&&!o.ordinal&&o.count===0,Q=_&&o[`defaultValue${this.options.pluralSeparator}zero`]||o[`defaultValue${K}`]||o[`defaultValue${I}`]||o.defaultValue;let J=E;R&&!E&&L&&(J=Q);const ne=ff(J),ie=Object.prototype.toString.apply(J);if(R&&J&&ne&&T.indexOf(ie)<0&&!(ve(z)&&Array.isArray(J))){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const de=this.options.returnedObjectHandler?this.options.returnedObjectHandler(C,J,{...o,ns:p}):`key '${h} (${this.language})' returned an object instead of string.`;return c?(S.res=de,S.usedParams=this.getUsedParamsDetails(o),S):de}if(u){const de=Array.isArray(J),ee=de?[]:{},me=de?j:C;for(const O in J)if(Object.prototype.hasOwnProperty.call(J,O)){const q=`${me}${u}${O}`;L&&!E?ee[O]=this.translate(q,{...o,defaultValue:ff(Q)?Q[O]:void 0,joinArrays:!1,ns:p}):ee[O]=this.translate(q,{...o,joinArrays:!1,ns:p}),ee[O]===q&&(ee[O]=J[O])}E=ee}}else if(R&&ve(z)&&Array.isArray(E))E=E.join(z),E&&(E=this.extendTranslation(E,n,o,s));else{let de=!1,ee=!1;!this.isValidLookup(E)&&L&&(de=!0,E=Q),this.isValidLookup(E)||(ee=!0,E=h);const O=(o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&ee?void 0:E,q=L&&Q!==E&&this.options.updateMissing;if(ee||de||q){if(this.logger.log(q?"updateKey":"missingKey",v,g,h,q?Q:E),u){const M=this.resolve(h,{...o,keySeparator:!1});M&&M.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let V=[];const W=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&W&&W[0])for(let M=0;M<W.length;M++)V.push(W[M]);else this.options.saveMissingTo==="all"?V=this.languageUtils.toResolveHierarchy(o.lng||this.language):V.push(o.lng||this.language);const ue=(M,G,Z)=>{const te=L&&Z!==E?Z:O;this.options.missingKeyHandler?this.options.missingKeyHandler(M,g,G,te,q,o):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(M,g,G,te,q,o),this.emit
1("missingKey",M,g,G,E)};this.options.saveMissing&&(this.options.saveMissingPlurals&&k?V.forEach(M=>{const G=this.pluralResolver.getSuffixes(M,o);_&&o[`defaultValue${this.options.pluralSeparator}zero`]&&G.indexOf(`${this.options.pluralSeparator}zero`)<0&&G.push(`${this.options.pluralSeparator}zero`),G.forEach(Z=>{ue([M],h+Z,o[`defaultValue${Z}`]||Q)})}):ue(V,h,Q))}E=this.extendTranslation(E,n,o,S,s),ee&&E===h&&this.options.appendNamespaceToMissingKey&&(E=`${g}${y}${h}`),(ee||de)&&this.options.parseMissingKeyHandler&&(E=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${g}${y}${h}`:h,de?E:void 0,o))}return c?(S.res=E,S.usedParams=this.getUsedParamsDetails(o),S):E}extendTranslation(n,a,s,o,c){if(this.i18nFormat?.parse)n=this.i18nFormat.parse(n,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init({...s,interpolation:{...this.options.interpolation,...s.interpolation}});const p=ve(n)&&(s?.interpolation?.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let g;if(p){const v=n.match(this.interpolator.nestingRegexp);g=v&&v.length}let y=s.replace&&!ve(s.replace)?s.replace:s;if(this.options.interpolation.defaultVariables&&(y={...this.options.interpolation.defaultVariables,...y}),n=this.interpolator.interpolate(n,y,s.lng||this.language||o.usedLng,s),p){const v=n.match(this.interpolator.nestingRegexp),w=v&&v.length;g<w&&(s.nest=!1)}!s.lng&&o&&o.res&&(s.lng=this.language||o.usedLng),s.nest!==!1&&(n=this.interpolator.nest(n,(...v)=>c?.[0]===v[0]&&!s.context?(this.logger.warn(`It seems you are nesting recursively key: ${v[0]} in key: ${a[0]}`),null):this.translate(...v,a),s)),s.interpolation&&this.interpolator.reset()}const u=s.postProcess||this.options.postProcess,h=ve(u)?[u]:u;return n!=null&&h?.length&&s.applyPostProcessor!==!1&&(n=W0.handle(h,n,a,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(s)},...s}:s,this)),n}resolve(n,a={}){let s,o,c,u,h;return ve(n)&&(n=[n]),n.forEach(p=>{if(this.isValidLookup(s))return;const g=this.extractFromKey(p,a),y=g.key;o=y;let v=g.namespaces;this.options.fallbackNS&&(v=v.concat(this.options.fallbackNS));const w=a.count!==void 0&&!ve(a.count),S=w&&!a.ordinal&&a.count===0,E=a.context!==void 0&&(ve(a.context)||typeof a.context=="number")&&a.context!=="",C=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);v.forEach(j=>{this.isValidLookup(s)||(h=j,!hx[`${C[0]}-${j}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(h)&&(hx[`${C[0]}-${j}`]=!0,this.logger.warn(`key "${o}" for languages "${C.join(", ")}" won't get resolved as namespace "${h}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),C.forEach(T=>{if(this.isValidLookup(s))return;u=T;const z=[y];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(z,y,T,
vendor: 4,211 bytes, line 1
1j,a);else{let k;w&&(k=this.pluralResolver.getSuffix(T,a.count,a));const L=`${this.options.pluralSeparator}zero`,K=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(w&&(a.ordinal&&k.indexOf(K)===0&&z.push(y+k.replace(K,this.options.pluralSeparator)),z.push(y+k),S&&z.push(y+L)),E){const I=`${y}${this.options.contextSeparator||"_"}${a.context}`;z.push(I),w&&(a.ordinal&&k.indexOf(K)===0&&z.push(I+k.replace(K,this.options.pluralSeparator)),z.push(I+k),S&&z.push(I+L))}}let R;for(;R=z.pop();)this.isValidLookup(s)||(c=R,s=this.getResource(T,j,R,a))}))})}),{res:s,usedKey:o,exactUsedKey:c,usedLng:u,usedNS:h}}isValidLookup(n){return n!==void 0&&!(!this.options.returnNull&&n===null)&&!(!this.options.returnEmptyString&&n==="")}getResource(n,a,s,o={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(n,a,s,o):this.resourceStore.getResource(n,a,s,o)}getUsedParamsDetails(n={}){const a=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],s=n.replace&&!ve(n.replace);let o=s?n.replace:n;if(s&&typeof n.count<"u"&&(o.count=n.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!s){o={...o};for(const c of a)delete o[c]}return o}static hasDefaultValue(n){const a="defaultValue";for(const s in n)if(Object.prototype.hasOwnProperty.call(n,s)&&a===s.substring(0,a.length)&&n[s]!==void 0)return!0;return!1}}class mx{constructor(n){this.options=n,this.supportedLngs=this.options.supportedLngs||!1,this.logger=jn.create("languageUtils")}getScriptPartFromCode(n){if(n=Ur(n),!n||n.indexOf("-")<0)return null;const a=n.split("-");return a.length===2||(a.pop(),a[a.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(a.join("-"))}getLanguagePartFromCode(n){if(n=Ur(n),!n||n.indexOf("-")<0)return n;const a=n.split("-");return this.formatLanguageCode(a[0])}formatLanguageCode(n){if(ve(n)&&n.indexOf("-")>-1){let a;try{a=Intl.getCanonicalLocales(n)[0]}catch{}return a&&this.options.lowerCaseLng&&(a=a.toLowerCase()),a||(this.options.lowerCaseLng?n.toLowerCase():n)}return this.options.cleanCode||this.options.lowerCaseLng?n.toLowerCase():n}isSupportedCode(n){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(n=this.getLanguagePartFromCode(n)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(n)>-1}getBestMatchFromCodes(n){if(!n)return null;let a;return n.forEach(s=>{if(a)return;const o=this.formatLanguageCode(s);(!this.options.supportedLngs||this.isSupportedCode(o))&&(a=o)}),!a&&this.options.supportedLngs&&n.forEach(s=>{if(a)return;const o=this.getScriptPartFromCode(s);if(this.isSupportedCode(o))return a=o;const c=this.getLanguagePartFromCode(s);if(this.isSupportedCode(c))return a=c;a=this.options.supportedLngs.find(u=>{if(u===c)return u;if(!(u.indexOf("-")<0&&c.indexOf("-")<0)&&(u.indexOf("-")>0&&c.indexOf("-")<0&&u.substring(0,u.indexOf("-"))===c||u.indexOf(c)===0&&c.length>1))return u})}),a||(a=this.getFallbackCodes(this.options.fallbackLng)[0]),a}getFallbackCodes(n,a){if(!n)return[];if(typeof n=="function"&&(n=n(a)),ve(n)&&(n=[n]),Array.isArray(n))return n;if(!a)return n.default||[];let s=n[a];return s||(s=n[this.getScriptPartFromCode(a)]),s||(s=n[this.formatLanguageCode(a)]),s||(s=n[this.getLanguagePartFromCode(a)]),s||(s=n.default),s||[]}toResolveHierarchy(n,a){const s=this.getFallbackCodes((a===!1?[]:a)||this.options.fallbackLng||[],n),o=[],c=u=>{u&&(this.isSupportedCode(u)?o.push(u):this.logger.warn(`rejecting language code not found in supportedLngs: ${u}`))};return ve(n)&&(n.indexOf("-")>-1||n.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&c(this.formatLanguageCode(n)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&c(this.getScriptPartFromCode(n)),this.options.load!=="currentOnly"&&c(this.getLanguagePartFromCode(n))):ve(n)&&c(this.formatLanguageCode(n)),s.forEach(u=>{o.indexOf(u)<0&&c(this.formatLanguageCode(u))}),o}}const px={zero:0,one:1,two:2,few:3,many:4,other:5},gx={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};
1class nT{constructor(n,a={}){this.languageUtils=n,this.options=a,this.logger=jn.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(n,a={}){const s=Ur(n==="dev"?"en":n),o=a.ordinal?"ordinal":"cardinal",c=JSON.stringify({cleanedCode:s,type:o});if(c in this.pluralRulesCache)return this.pluralRulesCache[c];let u;try{u=new Intl.PluralRules(s,{type:o})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),gx;if(!n.match(/-|_/))return gx;const p=this.languageUtils.getLanguagePartFromCode(n);u=this.getRule(p,a)}return this.pluralRulesCache[c]=u,u}needsPlural(n,a={}){let s=this.getRule(n,a);return s||(s=this.getRule("dev",a)),s?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(n,a,s={}){return this.getSuffixes(n,s).map(o=>`${a}${o}`)}getSuffixes(n,a={}){let s=this.getRule(n,a);return s||(s=this.getRule("dev",a)),s?s.resolvedOptions().pluralCategories.sort((o,c)=>px[o]-px[c]).map(o=>`${this.options.prepend}${a.ordinal?`ordinal${this.options.prepend}`:""}${o}`):[]}getSuffix(n,a,s={}){const o=this.getRule(n,s);return o?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${o.select(a)}`:(this.logger.warn(`no plural rule found for: ${n}`),this.getSuffix("dev",a,s))}}const yx=(e,n,a,s=".",o=!0)=>{let c=Yj(e,n,a);return!c&&o&&ve(a)&&(c=nh(e,a,s),c===void 0&&(c=nh(n,a,s))),c},hf=e=>e.replace(/\$/g,"$$$$");class vx{constructor(n={}){this.logger=jn.create("interpolator"),this.options=n,this.format=n?.interpolation?.format||(a=>a),this.init(n)}init(n={}){n.interpolation||(n.interpolation={escapeValue:!0});const{escape:a,escapeValue:s,useRawValueToEscape:o,prefix:c,prefixEscaped:u,suffix:h,suffixEscaped:p,formatSeparator:g,unescapeSuffix:y,unescapePrefix:v,nestingPrefix:w,nestingPrefixEscaped:S,nestingSuffix:E,nestingSuffixEscaped:C,nestingOptionsSeparator:j,maxReplaces:T,alwaysFormat:z}=n.interpolation;this.escape=a!==void 0?a:Xj,this.escapeValue=s!==void 0?s:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=c?rs(c):u||"{{",this.suffix=h?rs(h):p||"}}",this.formatSeparator=g||",",this.unescapePrefix=y?"":v||"-",this.unescapeSuffix=this.unescapePrefix?"":y||"",this.nestingPrefix=w?rs(w):S||rs("$t("),this.nestingSuffix=E?rs(E):C||rs(")"),this.nestingOptionsSeparator=j||",",this.maxReplaces=T||1e3,this.alwaysFormat=z!==void 0?z:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const n=(a,s)=>a?.source===s?(a.lastIndex=0,a):new RegExp(s,"g");this.regexp=n(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=n(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=n(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(n,a,s,o){let c,u,h;const p=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},g=S=>{if(S.indexOf(this.formatSeparator)<0){const T=yx(a,p,S,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(T,void 0,s,{...o,...a,interpolationkey:S}):T}const E=S.split(this.formatSeparator),C=E.shift().trim(),j=E.join(this.formatSeparator).trim();return this.format(yx(a,p,C,this.options.keySeparator,this.options.ignoreJSONStructure),j,s,{...o,...a,interpolationkey:C})};this.resetRegExp();const y=o?.missingInterpolationHandler||this.options.missingInterpolationHandler,v=o?.interpolation?.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:S=>hf(S)},{regex:this.regexp,safeValue:S=>this.escapeValue?hf(this.escape(S)):hf(S)}
vendor: 4,134 bytes, line 1
1].forEach(S=>{for(h=0;c=S.regex.exec(n);){const E=c[1].trim();if(u=g(E),u===void 0)if(typeof y=="function"){const j=y(n,c,o);u=ve(j)?j:""}else if(o&&Object.prototype.hasOwnProperty.call(o,E))u="";else if(v){u=c[0];continue}else this.logger.warn(`missed to pass in variable ${E} for interpolating ${n}`),u="";else!ve(u)&&!this.useRawValueToEscape&&(u=lx(u));const C=S.safeValue(u);if(n=n.replace(c[0],C),v?(S.regex.lastIndex+=u.length,S.regex.lastIndex-=c[0].length):S.regex.lastIndex=0,h++,h>=this.maxReplaces)break}}),n}nest(n,a,s={}){let o,c,u;const h=(p,g)=>{const y=this.nestingOptionsSeparator;if(p.indexOf(y)<0)return p;const v=p.split(new RegExp(`${y}[ ]*{`));let w=`{${v[1]}`;p=v[0],w=this.interpolate(w,u);const S=w.match(/'/g),E=w.match(/"/g);((S?.length??0)%2===0&&!E||E.length%2!==0)&&(w=w.replace(/'/g,'"'));try{u=JSON.parse(w),g&&(u={...g,...u})}catch(C){return this.logger.warn(`failed parsing options string in nesting for key ${p}`,C),`${p}${y}${w}`}return u.defaultValue&&u.defaultValue.indexOf(this.prefix)>-1&&delete u.defaultValue,p};for(;o=this.nestingRegexp.exec(n);){let p=[];u={...s},u=u.replace&&!ve(u.replace)?u.replace:u,u.applyPostProcessor=!1,delete u.defaultValue;const g=/{.*}/.test(o[1])?o[1].lastIndexOf("}")+1:o[1].indexOf(this.formatSeparator);if(g!==-1&&(p=o[1].slice(g).split(this.formatSeparator).map(y=>y.trim()).filter(Boolean),o[1]=o[1].slice(0,g)),c=a(h.call(this,o[1].trim(),u),u),c&&o[0]===n&&!ve(c))return c;ve(c)||(c=lx(c)),c||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${n}`),c=""),p.length&&(c=p.reduce((y,v)=>this.format(y,v,s.lng,{...s,interpolationkey:o[1].trim()}),c.trim())),n=n.replace(o[0],c),this.regexp.lastIndex=0}return n}}const iT=e=>{let n=e.toLowerCase().trim();const a={};if(e.indexOf("(")>-1){const s=e.split("(");n=s[0].toLowerCase().trim();const o=s[1].substring(0,s[1].length-1);n==="currency"&&o.indexOf(":")<0?a.currency||(a.currency=o.trim()):n==="relativetime"&&o.indexOf(":")<0?a.range||(a.range=o.trim()):o.split(";").forEach(u=>{if(u){const[h,...p]=u.split(":"),g=p.join(":").trim().replace(/^'+|'+$/g,""),y=h.trim();a[y]||(a[y]=g),g==="false"&&(a[y]=!1),g==="true"&&(a[y]=!0),isNaN(g)||(a[y]=parseInt(g,10))}})}return{formatName:n,formatOptions:a}},xx=e=>{const n={};return(a,s,o)=>{let c=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(c={...c,[o.interpolationkey]:void 0});const u=s+JSON.stringify(c);let h=n[u];return h||(h=e(Ur(s),o),n[u]=h),h(a)}},aT=e=>(n,a,s)=>e(Ur(a),s)(n);class sT{constructor(n={}){this.logger=jn.create("formatter"),this.options=n,this.init(n)}init(n,a={interpolation:{}}){this.formatSeparator=a.interpolation.formatSeparator||",";const s=a.cacheInBuiltFormats?xx:aT;this.formats={number:s((o,c)=>{const u=new Intl.NumberFormat(o,{...c});return h=>u.format(h)}),currency:s((o,c)=>{const u=new Intl.NumberFormat(o,{...c,style:"currency"});return h=>u.format(h)}),datetime:s((o,c)=>{const u=new Intl.DateTimeFormat(o,{...c});return h=>u.format(h)}),relativetime:s((o,c)=>{const u=new Intl.RelativeTimeFormat(o,{...c});return h=>u.format(h,c.range||"day")}),list:s((o,c)=>{const u=new Intl.ListFormat(o,{...c});return h=>u.format(h)})}}add(n,a){this.formats[n.toLowerCase().trim()]=a}addCached(n,a){this.formats[n.toLowerCase().trim()]=xx(a)}format(n,a,s,o={}){const c=a.split(this.formatSeparator);if(c.length>1&&c[0].indexOf("(")>1&&c[0].indexOf(")")<0&&c.find(h=>h.indexOf(")")>-1)){const h=c.findIndex(p=>p.indexOf(")")>-1);c[0]=[c[0],...c.splice(1,h)].join(this.formatSeparator)}return c.reduce((h,p)=>{const{formatName:g,formatOptions:y}=iT(p);if(this.formats[g]){let v=h;try{const w=o?.formatParams?.[o.interpolationkey]||{},S=w.locale||w.lng||o.locale||o.lng||s;v=this.formats[g](h,S,{...y,...o,...w})}catch(w){this.logger.warn(w)}return v}else this.logger.warn(`there was no format function for ${g}`);return h},n)}}const rT=(e,n)=>{e.pending[n]!==void 0&&(delete e.pending[n],e.pendingCount--)};class oT extends wc{constructor(n,a,s,o={}){super(),this.backend=n,this.store=a,this.services=s,this.languageUtils=s.languageUtils,this.options=o,this.logger=jn.
vendor: 1,261 bytes, line 1
1create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(s,o.backend,o)}queueLoad(n,a,s,o){const c={},u={},h={},p={};return n.forEach(g=>{let y=!0;a.forEach(v=>{const w=`${g}|${v}`;!s.reload&&this.store.hasResourceBundle(g,v)?this.state[w]=2:this.state[w]<0||(this.state[w]===1?u[w]===void 0&&(u[w]=!0):(this.state[w]=1,y=!1,u[w]===void 0&&(u[w]=!0),c[w]===void 0&&(c[w]=!0),p[v]===void 0&&(p[v]=!0)))}),y||(h[g]=!0)}),(Object.keys(c).length||Object.keys(u).length)&&this.queue.push({pending:u,pendingCount:Object.keys(u).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(c),pending:Object.keys(u),toLoadLanguages:Object.keys(h),toLoadNamespaces:Object.keys(p)}}loaded(n,a,s){const o=n.split("|"),c=o[0],u=o[1];a&&this.emit("failedLoading",c,u,a),!a&&s&&this.store.addResourceBundle(c,u,s,void 0,void 0,{skipCopy:!0}),this.state[n]=a?-1:2,a&&s&&(this.state[n]=0);const h={};this.queue.forEach(p=>{Kj(p.loaded,[c],u),rT(p,n),a&&p.errors.push(a),p.pendingCount===0&&!p.done&&(Object.keys(p.loaded).forEach(g=>{h[g]||(h[g]={});const y=p.loaded[g];
vendor: 6,190 bytes, line 1
1y.length&&y.forEach(v=>{h[g][v]===void 0&&(h[g][v]=!0)})}),p.done=!0,p.errors.length?p.callback(p.errors):p.callback())}),this.emit("loaded",h),this.queue=this.queue.filter(p=>!p.done)}read(n,a,s,o=0,c=this.retryTimeout,u){if(!n.length)return u(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:n,ns:a,fcName:s,tried:o,wait:c,callback:u});return}this.readingCalls++;const h=(g,y)=>{if(this.readingCalls--,this.waitingReads.length>0){const v=this.waitingReads.shift();this.read(v.lng,v.ns,v.fcName,v.tried,v.wait,v.callback)}if(g&&y&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,n,a,s,o+1,c*2,u)},c);return}u(g,y)},p=this.backend[s].bind(this.backend);if(p.length===2){try{const g=p(n,a);g&&typeof g.then=="function"?g.then(y=>h(null,y)).catch(h):h(null,g)}catch(g){h(g)}return}return p(n,a,h)}prepareLoading(n,a,s={},o){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();ve(n)&&(n=this.languageUtils.toResolveHierarchy(n)),ve(a)&&(a=[a]);const c=this.queueLoad(n,a,s,o);if(!c.toLoad.length)return c.pending.length||o(),null;c.toLoad.forEach(u=>{this.loadOne(u)})}load(n,a,s){this.prepareLoading(n,a,{},s)}reload(n,a,s){this.prepareLoading(n,a,{reload:!0},s)}loadOne(n,a=""){const s=n.split("|"),o=s[0],c=s[1];this.read(o,c,"read",void 0,void 0,(u,h)=>{u&&this.logger.warn(`${a}loading namespace ${c} for language ${o} failed`,u),!u&&h&&this.logger.log(`${a}loaded namespace ${c} for language ${o}`,h),this.loaded(n,u,h)})}saveMissing(n,a,s,o,c,u={},h=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(a)){this.logger.warn(`did not save key "${s}" as the namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(s==null||s==="")){if(this.backend?.create){const p={...u,isUpdate:c},g=this.backend.create.bind(this.backend);if(g.length<6)try{let y;g.length===5?y=g(n,a,s,o,p):y=g(n,a,s,o),y&&typeof y.then=="function"?y.then(v=>h(null,v)).catch(h):h(null,y)}catch(y){h(y)}else g(n,a,s,o,h,p)}!n||!n[0]||this.store.addResource(n[0],a,s,o)}}}const mf=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let n={};if(typeof e[1]=="object"&&(n=e[1]),ve(e[1])&&(n.defaultValue=e[1]),ve(e[2])&&(n.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const a=e[3]||e[2];Object.keys(a).forEach(s=>{n[s]=a[s]})}return n},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),bx=e=>(ve(e.ns)&&(e.ns=[e.ns]),ve(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),ve(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),Rl=()=>{},lT=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(a=>{typeof e[a]=="function"&&(e[a]=e[a].bind(e))})};class Dr extends wc{constructor(n={},a){if(super(),this.options=bx(n),this.services={},this.logger=jn,this.modules={external:[]},lT(this),a&&!this.isInitialized&&!n.isClone){if(!this.options.initAsync)return this.init(n,a),this;setTimeout(()=>{this.init(n,a)},0)}}init(n={},a){this.isInitializing=!0,typeof n=="function"&&(a=n,n={}),n.defaultNS==null&&n.ns&&(ve(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const s=mf();this.options={...s,...this.options,...bx(n)},this.options.interpolation={...s.interpolation,...this.options.interpolation},n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=s.overloadTranslationOptionHandler),this.options.debug===!0&&typeof console<"u"&&console.warn("i18next is maintained with support from locize.com â consider powering your project with managed localization (AI, CDN, integrations): https://locize.com");const o=g=>g?typeof g=="function"?new g:g:null;if(!this.options.isClone){this.modules.logger?jn.init(o(this.modules.logger),this.options):jn.init(null,this.options);let g;this.modules.formatter?g=this.modules.formatter:g=sT;const y=new mx(this.options);this.store=new fx(this.options.resources,this.options);const v=this.services;v.logger=jn,v.resourceStore=this.store,v.languageUtils=y,v.pluralResolver=new nT(y,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==s.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),g&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(v.formatter=o(g),v.formatter.init&&v.formatter.init(v,this.options),this.options.interpolation.format=v.formatter.format.bind(v.formatter)),v.interpolator=new vx(this.options),v.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},v.backendConnector=new oT(o(this.modules.backend),v.resourceStore,v,this.options),v.backendConnector.on("*",(S,...E)=>
1{this.emit(S,...E)}),this.modules.languageDetector&&(v.languageDetector=o(this.modules.languageDetector),v.languageDetector.init&&v.languageDetector.init(v,this.options.detection,this.options)),this.modules.i18nFormat&&(v.i18nFormat=o(this.modules.i18nFormat),v.i18nFormat.init&&v.i18nFormat.init(this)),this.translator=new ic(this.services,this.options),this.translator.on("*",(S,...E)=>{this.emit(S,...E)}),this.modules.external.forEach(S=>{S.init&&S.init(this)})}if(this.format=this.options.interpolation.format,a||(a=Rl),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const g=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);g.length>0&&g[0]!=="dev"&&(this.options.lng=g[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(g=>{this[g]=(...y)=>this.store[g](...y)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(g=>{this[g]=(...y)=>(this.store[g](...y),this)});const h=Cr(),p=()=>{const g=(y,v)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),h.resolve(v),a(y,v)};if(this.languages&&!this.isInitialized)return g(null,this.t.bind(this));this.changeLanguage(this.options.lng,g)};return this.options.resources||!this.options.initAsync?p():setTimeout(p,0),h}loadResources(n,a=Rl){let s=a;const o=ve(n)?n:this.language;if(typeof n=="function"&&(s=n),!this.options.resources||this.options.partialBundledLanguages){if(o?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return s();const c=[],u=h=>{if(!h||h==="cimode")return;this.services.languageUtils.toResolveHierarchy(h).forEach(g=>{g!=="cimode"&&c.indexOf(g)<0&&c.push(g)})};o?u(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(p=>u(p)),this.options.preload?.forEach?.(h=>u(h)),this.services.backendConnector.load(c,this.options.ns,h=>{!h&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),s(h)})}else s(null)}reloadResources(n,a,s){const o=Cr();return typeof n=="function"&&(s=n,n=void 0),typeof a=="function"&&(s=a,a=void 0),n||(n=this.languages),a||(a=this.options.ns),s||(s=Rl),this.services.backendConnector.reload(n,a,c=>{o.resolve(),s(c)}),o}use(n){if(!n)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
1if(!n.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return n.type==="backend"&&(this.modules.backend=n),(n.type==="logger"||n.log&&n.warn&&n.error)&&(this.modules.logger=n),n.type==="languageDetector"&&(this.modules.languageDetector=n),n.type==="i18nFormat"&&(this.modules.i18nFormat=n),n.type==="postProcessor"&&W0.addPostProcessor(n),n.type==="formatter"&&(this.modules.formatter=n),n.type==="3rdParty"&&this.modules.external.push(n),this}setResolvedLanguage(n){if(!(!n||!this.languages)&&!(["cimode","dev"].indexOf(n)>-1)){for(let a=0;a<this.languages.length;a++){const s=this.languages[a];if(!(["cimode","dev"].indexOf(s)>-1)&&this.store.hasLanguageSomeTranslations(s)){this.resolvedLanguage=s;break}}!this.resolvedLanguage&&this.languages.indexOf(n)<0&&this.store.hasLanguageSomeTranslations(n)&&(this.resolvedLanguage=n,this.languages.unshift(n))}}changeLanguage(n,a){this.isLanguageChangingTo=n;const s=Cr();this.emit("languageChanging",n);const o=h=>{this.language=h,this.languages=this.services.languageUtils.toResolveHierarchy(h),this.resolvedLanguage=void 0,this.setResolvedLanguage(h)},c=(h,p)=>{p?this.isLanguageChangingTo===n&&(o(p),this.translator.changeLanguage(p),this.isLanguageChangingTo=void 0,this.emit("languageChanged",p),this.logger.log("languageChanged",p)):this.isLanguageChangingTo=void 0,s.resolve((...g)=>this.t(...g)),a&&a(h,(...g)=>this.t(...g))},u=h=>{!n&&!h&&this.services.languageDetector&&(h=[]);const p=ve(h)?h:h&&h[0],g=this.store.hasLanguageSomeTranslations(p)?p:this.services.languageUtils.getBestMatchFromCodes(ve(h)?[h]:h);g&&(this.language||o(g),this.translator.language||this.translator.changeLanguage(g),this.services.languageDetector?.cacheUserLanguage?.(g)),this.loadResources(g,y=>{c(y,g)})};return!n&&this.services.languageDetector&&!this.services.languageDetector.async?u(this.services.languageDetector.detect()):!n&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(u):this.services.languageDetector.detect(u):u(n),s}getFixedT(n,a,s){const o=(c,u,...h)=>{let p;typeof u!="object"?p=this.options.overloadTranslationOptionHandler([c,u].concat(h)):p={...u},p.lng=p.lng||o.lng,p.lngs=p.lngs||o.lngs,p.ns=p.ns||o.ns,p.keyPrefix!==""&&(p.keyPrefix=p.keyPrefix||s||o.keyPrefix);const g=this.options.keySeparator||".";let y;return p.keyPrefix&&Array.isArray(c)?y=c.map(v=>(typeof v=="function"&&(v=ih(v,{...this.options,...u})),`${p.keyPrefix}${g}${v}`)):(typeof c=="function"&&(c=ih(c,{...this.options,...u})),y=p.keyPrefix?`${p.keyPrefix}${g}${c}`:c),this.t(y,p)};return ve(n)?o.lng=n:o.lngs=n,o.ns=a,o.keyPrefix=s,o}t(...n){return this.translator?.translate(...n)}exists(...n){return this.translator?.exists(...n)}setDefaultNamespace(n){this.options.defaultNS=n}hasLoadedNamespace(n,a={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
1if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const s=a.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,c=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;const u=(h,p)=>{const g=this.services.backendConnector.state[`${h}|${p}`];return g===-1||g===0||g===2};if(a.precheck){const h=a.precheck(this,u);if(h!==void 0)return h}return!!(this.hasResourceBundle(s,n)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||u(s,n)&&(!o||u(c,n)))}loadNamespaces(n,a){const s=Cr();return this.options.ns?(ve(n)&&(n=[n]),n.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{s.resolve(),a&&a(o)}),s):(a&&a(),Promise.resolve())}loadLanguages(n,a){const s=Cr();ve(n)&&(n=[n]);const o=this.options.preload||[],c=n.filter(u=>o.indexOf(u)<0&&this.services.languageUtils.isSupportedCode(u));return c.length?(this.options.preload=o.concat(c),this.loadResources(u=>{s.resolve(),a&&a(u)}),s):(a&&a(),Promise.resolve())}dir(n){if(n||(n=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!n)return"rtl";try{const o=new Intl.Locale(n);if(o&&o.getTextInfo){const c=o.getTextInfo();if(c&&c.direction)return c.direction}}catch{}const a=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],s=this.services?.languageUtils||new mx(mf());return n.toLowerCase().indexOf("-latn")>1?"ltr":a.indexOf(s.getLanguagePartFromCode(n))>-1||n.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(n={},a){const s=new Dr(n,a);return s.createInstance=Dr.createInstance,s}cloneInstance(n={},a=Rl){const s=n.forkResourceStore;s&&delete n.forkResourceStore;const o={...this.options,...n,isClone:!0},c=new Dr(o);if((n.debug!==void 0||n.prefix!==void 0)&&(c.logger=c.logger.clone(n)),["store","services","language"].forEach(h=>{c[h]=this[h]}),c.services={...this.services},c.services.utils={hasLoadedNamespace:c.hasLoadedNamespace.bind(c)},s){const h=Object.keys(this.store.data).reduce((p,g)=>(p[g]={...this.store.data[g]},p[g]=Object.keys(p[g]).reduce((y,v)=>(y[v]={...p[g][v]},y),p[g]),p),{});c.store=new fx(h,o),c.services.resourceStore=c.store}if(n.interpolation){const p={...mf().interpolation,...this.options.interpolation,...n.interpolation},g={...o,interpolation:p};c.services.interpolator=new vx(g)}return c.translator=new ic(c.services,o),c.translator.on("*",(h,...p)=>{c.emit(h,...p)}),c.init(o,a),c.translator.options=o,c.translator.backendConnector.services.utils={hasLoadedNamespace:c.hasLoadedNamespace.bind(c)},c}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}
vendor: 4,492 bytes, line 1
1const Ct=Dr.createInstance();Ct.createInstance;Ct.dir;Ct.init;Ct.loadResources;Ct.reloadResources;Ct.use;Ct.changeLanguage;Ct.getFixedT;Ct.t;Ct.exists;Ct.setDefaultNamespace;Ct.hasLoadedNamespace;Ct.loadNamespaces;Ct.loadLanguages;var pf={exports:{}},xe={};var wx;function cT(){if(wx)return xe;wx=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),u=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),g=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),w=Symbol.iterator;function S(M){return M===null||typeof M!="object"?null:(M=w&&M[w]||M["@@iterator"],typeof M=="function"?M:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,j={};function T(M,G,Z){this.props=M,this.context=G,this.refs=j,this.updater=Z||E}T.prototype.isReactComponent={},T.prototype.setState=function(M,G){if(typeof M!="object"&&typeof M!="function"&&M!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,M,G,"setState")},T.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function z(){}z.prototype=T.prototype;function R(M,G,Z){this.props=M,this.context=G,this.refs=j,this.updater=Z||E}var k=R.prototype=new z;k.constructor=R,C(k,T.prototype),k.isPureReactComponent=!0;var L=Array.isArray;function K(){}var I={H:null,A:null,T:null,S:null},_=Object.prototype.hasOwnProperty;function Q(M,G,Z){var te=Z.ref;return{$$typeof:e,type:M,key:G,ref:te!==void 0?te:null,props:Z}}function J(M,G){return Q(M.type,G,M.props)}function ne(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function ie(M){var G={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(Z){return G[Z]})}var de=/\/+/g;function ee(M,G){return typeof M=="object"&&M!==null&&M.key!=null?ie(""+M.key):G.toString(36)}function me(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(K,K):(M.status="pending",M.then(function(G){M.status==="pending"&&(M.status="fulfilled",M.value=G)},function(G){M.status==="pending"&&(M.status="rejected",M.reason=G)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function O(M,G,Z,te,pe){var ye=typeof M;(ye==="undefined"||ye==="boolean")&&(M=null);var ae=!1;if(M===null)ae=!0;else switch(ye){case"bigint":case"string":case"number":ae=!0;break;case"object":switch(M.$$typeof){case e:case n:ae=!0;break;case y:return ae=M._init,O(ae(M._payload),G,Z,te,pe)}}if(ae)return pe=pe(M),ae=te===""?"."+ee(M,0):te,L(pe)?(Z="",ae!=null&&(Z=ae.replace(de,"$&/")+"/"),O(pe,G,Z,"",function(Kt){return Kt})):pe!=null&&(ne(pe)&&(pe=J(pe,Z+(pe.key==null||M&&M.key===pe.key?"":(""+pe.key).replace(de,"$&/")+"/")+ae)),G.push(pe)),1;ae=0;var Ke=te===""?".":te+":";if(L(M))for(var Le=0;Le<M.length;Le++)te=M[Le],ye=Ke+ee(te,Le),ae+=O(te,G,Z,ye,pe);else if(Le=S(M),typeof Le=="function")for(M=Le.call(M),Le=0;!(te=M.next()).done;)te=te.value,ye=Ke+ee(te,Le++),ae+=O(te,G,Z,ye,pe);else if(ye==="object"){if(typeof M.then=="function")return O(me(M),G,Z,te,pe);throw G=String(M),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(M).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return ae}function q(M,G,Z){if(M==null)return M;var te=[],pe=0;return O(M,te,"","",function(ye){return G.call(Z,ye,pe++)}),te}function V(M){if(M._status===-1){var G=M._result;G=G(),G.then(function(Z){(M._status===0||M._status===-1)&&(M._status=1,M._result=Z)},function(Z){(M._status===0||M._status===-1)&&(M._status=2,M._result=Z)}),M._status===-1&&(M._status=0,M._result=G)}if(M._status===1)return M._result.default;throw M._result}var W=typeof reportError=="function"?reportError:function(M){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof M=="object"&&M!==null&&typeof M.message=="string"?String(M.message):String(M),error:M});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",M);return}
1console.error(M)},ue={map:q,forEach:function(M,G,Z){q(M,function(){G.apply(this,arguments)},Z)},count:function(M){var G=0;return q(M,function(){G++}),G},toArray:function(M){return q(M,function(G){return G})||[]},only:function(M){if(!ne(M))throw Error("React.Children.only expected to receive a single React element child.");return M}};return xe.Activity=v,xe.Children=ue,xe.Component=T,xe.Fragment=a,xe.Profiler=o,xe.PureComponent=R,xe.StrictMode=s,xe.Suspense=p,xe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I,xe.__COMPILER_RUNTIME={__proto__:null,c:function(M){return I.H.useMemoCache(M)}},xe.cache=function(M){return function(){return M.apply(null,arguments)}},xe.cacheSignal=function(){return null},xe.cloneElement=function(M,G,Z){if(M==null)throw Error("The argument must be a React element, but you passed "+M+".");var te=C({},M.props),pe=M.key;if(G!=null)for(ye in G.key!==void 0&&(pe=""+G.key),G)!_.call(G,ye)||ye==="key"||ye==="__self"||ye==="__source"||ye==="ref"&&G.ref===void 0||(te[ye]=G[ye]);var ye=arguments.length-2;if(ye===1)te.children=Z;else if(1<ye){for(var ae=Array(ye),Ke=0;Ke<ye;Ke++)ae[Ke]=arguments[Ke+2];te.children=ae}return Q(M.type,pe,te)},xe.createContext=function(M){return M={$$typeof:u,_currentValue:M,_currentValue2:M,_threadCount:0,Provider:null,Consumer:null},M.Provider=M,M.Consumer={$$typeof:c,_context:M},M},xe.createElement=function(M,G,Z){var te,pe={},ye=null;if(G!=null)for(te in G.key!==void 0&&(ye=""+G.key),G)_.call(G,te)&&te!=="key"&&te!=="__self"&&te!=="__source"&&(pe[te]=G[te]);var ae=arguments.length-2;if(ae===1)pe.children=Z;else if(1<ae){for(var Ke=Array(ae),Le=0;Le<ae;Le++)Ke[Le]=arguments[Le+2];pe.children=Ke}if(M&&M.defaultProps)for(te in ae=M.defaultProps,ae)pe[te]===void 0&&(pe[te]=ae[te]);return Q(M,ye,pe)},xe.createRef=function(){return{current:null}},xe.forwardRef=function(M){return{$$typeof:h,render:M}},xe.isValidElement=ne,xe.lazy=function(M){return{$$typeof:y,_payload:{_status:-1,_result:M},_init:V}},xe.memo=function(M,G){return{$$typeof:g,type:M,compare:G===void 0?null:G}},xe.startTransition=function(M){var G=I.T,Z={};I.T=Z;try{var te=M(),pe=I.S;pe!==null&&pe(Z,te),typeof te=="object"&&te!==null&&typeof te.then=="function"&&te.then(K,W)}catch(ye){W(ye)}finally{G!==null&&Z.types!==null&&(G.types=Z.types),I.T=G}},xe.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()},xe.use=function(M){return I.H.use(M)},xe.useActionState=function(M,G,Z){return I.H.useActionState(M,G,Z)},xe.useCallback=function(M,G){return I.H.useCallback(M,G)},xe.useContext=function(M){return I.H.useContext(M)},xe.useDebugValue=function(){},xe.useDeferredValue=function(M,G){return I.H.useDeferredValue(M,G)},xe.useEffect=function(M,G){return I.H.useEffect(M,G)},xe.useEffectEvent=function(M){return I.H.useEffectEvent(M)},xe.useId=function(){return I.H.useId()},xe.useImperativeHandle=function(M,G,Z){return I.H.useImperativeHandle(M,G,Z)},xe.useInsertionEffect=function(M,G){return I.H.useInsertionEffect(M,G)},xe.useLayoutEffect=function(M,G){return I.H.useLayoutEffect(M,G)},xe.useMemo=function(M,G){return I.H.useMemo(M,G)},xe.useOptimistic=function(M,G){return I.H.useOptimistic(M,G)},xe.useReducer=function(M,G,Z){return I.H.useReducer(M,G,Z)},xe.useRef=function(M){return I.H.useRef(M)},xe.useState=function(M){return I.H.useState(M)},xe.useSyncExternalStore=function(M,G,Z){return I.H.useSyncExternalStore(M,G,Z)},xe.useTransition=function(){return I.H.useTransition()},xe.version="19.2.3",xe}var Sx;function Sc(){return Sx||(Sx=1,pf.exports=cT()),pf.exports}var x=Sc();const Di=X0(x),Nc=Ij({__proto__:null,default:Di},[x]),uT=(e,n,a,s)=>{const o=[a,{code:n,...s||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(o,"warn","react-i18next::",!0);ya(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...o):console?.warn&&console.warn(...o)},Nx={},J0=(e,n,a,s)=>{ya(a)&&Nx[a]||(ya(a)&&(Nx[a]=new Date),uT(e,n,a,s))},e1=(e,n)=>()=>{if(e.isInitialized)n();else{const a=()=>{setTimeout(()=>{e.off("initialized",a)},0),n()};e.on("initialized",a)}},ah=(e,n,a)=>{e.loadNamespaces(n,e1(e,a))},Cx=(e,n,a,s)=>
1{if(ya(a)&&(a=[a]),e.options.preload&&e.options.preload.indexOf(n)>-1)return ah(e,a,s);a.forEach(o=>{e.options.ns.indexOf(o)<0&&e.options.ns.push(o)}),e.loadLanguages(n,e1(e,s))},dT=(e,n,a={})=>!n.languages||!n.languages.length?(J0(n,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:n.languages}),!0):n.hasLoadedNamespace(e,{lng:a.lng,precheck:(s,o)=>{if(a.bindI18n&&a.bindI18n.indexOf("languageChanging")>-1&&s.services.backendConnector.backend&&s.isLanguageChangingTo&&!o(s.isLanguageChangingTo,e))return!1}}),ya=e=>typeof e=="string",fT=e=>typeof e=="object"&&e!==null,hT=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,mT={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"â¦","…":"â¦","/":"/","/":"/"},pT=e=>mT[e],gT=e=>e.replace(hT,pT);let sh={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:gT,transDefaultProps:void 0};const yT=(e={})=>{sh={...sh,...e}},vT=()=>sh;let t1;const xT=e=>{t1=e},bT=()=>t1,wT={type:"3rdParty",init(e){yT(e.options.react),xT(e)}},ST=x.createContext();class NT{constructor(){this.usedNamespaces={}}addUsedNamespaces(n){n.forEach(a=>{this.usedNamespaces[a]||(this.usedNamespaces[a]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var gf={exports:{}},yf={};var Ex;function CT(){if(Ex)return yf;Ex=1;var e=Sc();function n(v,w){return v===w&&(v!==0||1/v===1/w)||v!==v&&w!==w}var a=typeof Object.is=="function"?Object.is:n,s=e.useState,o=e.useEffect,c=e.useLayoutEffect,u=e.useDebugValue;function h(v,w){var S=w(),E=s({inst:{value:S,getSnapshot:w}}),C=E[0].inst,j=E[1];return c(function(){C.value=S,C.getSnapshot=w,p(C)&&j({inst:C})},[v,S,w]),o(function(){return p(C)&&j({inst:C}),v(function(){p(C)&&j({inst:C})})},[v]),u(S),S}function p(v){var w=v.getSnapshot;v=v.value;try{var S=w();return!a(v,S)}catch{return!0}}function g(v,w){return w()}var y=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?g:h;return yf.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:y,yf}var jx;function ET(){return jx||(jx=1,gf.exports=CT()),gf.exports}var n1=ET();const jT=(e,n)=>ya(n)?n:fT(n)&&ya(n.defaultValue)?n.defaultValue:Array.isArray(e)?e[e.length-1]:e,TT={t:jT,ready:!1},AT=()=>()=>{},ct=(e,n={})=>{const{i18n:a}=n,{i18n:s,defaultNS:o}=x.useContext(ST)||{},c=a||s||bT();c&&!c.reportNamespaces&&(c.reportNamespaces=new NT),c||J0(c,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const u=x.useMemo(()=>({...vT(),...c?.options?.react,...n}),[c,n]),{useSuspense:h,keyPrefix:p}=u,g=o||c?.options?.defaultNS,y=ya(g)?[g]:g||["translation"],v=x.useMemo(()=>y,y);c?.reportNamespaces?.addUsedNamespaces?.(v);const w=x.useRef(0),S=x.useCallback(Q=>{if(!c)return AT;const{bindI18n:J,bindI18nStore:ne}=u,ie=()=>{w.current+=1,Q()};return J&&c.on(J,ie),ne&&c.store.on(ne,ie),()=>{J&&J.split(" ").forEach(de=>c.off(de,ie)),ne&&ne.split(" ").forEach(de=>c.store.off(de,ie))}},[c,u]),E=x.useRef(),C=x.useCallback(()=>{if(!c)return TT;const Q=!!(c.isInitialized||c.initializedStoreOnce)&&v.every(me=>dT(me,c,u)),J=n.lng||c.language,ne=w.current,ie=E.current;if(ie&&ie.ready===Q&&ie.lng===J&&ie.keyPrefix===p&&ie.revision===ne)return ie;const ee={t:c.getFixedT(J,u.nsMode==="fallback"?v:v[0],p),ready:Q,lng:J,keyPrefix:p,revision:ne};return E.current=ee,ee},[c,v,p,u,n.lng]),[j,T]=x.useState(0),{t:z,ready:R}=n1.useSyncExternalStore(S,C,C);x.useEffect(()=>{if(c&&!R&&!h){const Q=()=>T(J=>J+1);n.lng?Cx(c,n.lng,v,Q):ah(c,v,Q)}},[c,n.lng,v,R,h,j]);const k=c||{},L=x.useRef(null),K=x.useRef(),I=Q=>{const J=Object.getOwnPropertyDescriptors(Q);J.__original&&delete J.__original;const ne=Object.create(Object.getPrototypeOf(Q),J);if(!Object.prototype.hasOwnProperty.call(ne,"__original"))try{Object.defineProperty(ne,"__original",{value:Q,writable:!1,enumerable:!1,
1configurable:!1})}catch{}return ne},_=x.useMemo(()=>{const Q=k,J=Q?.language;let ne=Q;Q&&(L.current&&L.current.__original===Q?K.current!==J?(ne=I(Q),L.current=ne,K.current=J):ne=L.current:(ne=I(Q),L.current=ne,K.current=J));const ie=[z,ne,R];return ie.t=z,ie.i18n=ne,ie.ready=R,ie},[z,k,R,k.resolvedLanguage,k.language,k.languages]);if(c&&h&&!R)throw new Promise(Q=>{const J=()=>Q();n.lng?Cx(c,n.lng,v,J):ah(c,v,J)});return _},MT=["en","it","es","de"],RT={en:{translation:{brand:"UNIC MARINE",tagline:"Yacht & commercial marine solutions",nav:{home:"Home",about:"About us",services:"Our services",contact:"Contact",privacy:"Privacy Policy",cookies:"Cookie Policy",terms:"Terms & Conditions",legal:"Legal Notice",sitemap:"Sitemap"},hero:{title:"Welcome to UNIC MARINE",subtitle:"Your trusted partner in the nautical sector in the Balearic Islands, with consolidated experience that has allowed us to establish ourselves as a leader in the sector.",cta:"Discover our services"},company:{eyebrow:"About us",title:"Our company & vision",intro:"Based in Palma de Mallorca, the heart of Mediterranean yachting, we offer innovative solutions focused on yacht fittings dismantling, specialized machining, and electrical retrofitting consultancy.",cards:{specializedTeam:{title:"Specialized team",desc:"A highly qualified team with the technical expertise to handle complex marine projects with precision and consistency."},attentionToDetail:{title:"Attention to detail",desc:"From design to execution, every step is carried out with utmost precision and respect for the vessel."},excellence:{title:"Excellence",desc:"We pursue the highest standards in materials, craftsmanship, and resultsâwith no shortcuts."},newConcept:{title:"Innovative approach",desc:"A modern vision of marine services, combining consolidated experience with the latest technology."}}},services:{eyebrow:"What we do",title:"Our services",desc:"Comfort, precision, and exclusivity for the most demanding clients. Discover what makes us unique in the nautical sector.",menu:{fittings:"Fittings",cnc:"CNC Machining",retrofits:"Electrical retrofits"},cards:{fittings1:{title:"Fittings Dismantling",subtitle:"Professional dismantling",desc:"Professional dismantling of yacht fittings with meticulous cataloging and documentation of each piece, preparing components for storage or repair."},fittings2:{title:"Fittings Maintenance",subtitle:"Storage & Repair",subtitle2:"",desc:"Complete maintenance services including controlled environment storage and specialized repair to restore components to their original condition."},cnc:{title:"CNC Machining",subtitle:"High precision",desc:"High-precision CNC machining of stainless steel, aluminum, bronze, and brass. Custom pieces tailored for yachts with tight tolerances, from prototyping to production."},consultancy:{title:"Electrical Retrofits",subtitle:"Consultancy",desc:"Expert analysis of existing electrical systems, upgrade design, and consultancy on regulations and certifications for yacht modernization."}},read:"Learn more"},contact:{eyebrow:"Contact us",title:"Get in touch",subtitle:"Send us a message and we will get back to you as soon as possible.",formTitle:"Send us a message",form:{name:"Name",email:"Email",message:"Message",send:"Send",sending:"Sending..."},success:{title:"Message sent!",message:"Thank you for contacting us. We will get back to you soon."}},footer:{rights:"All rights reserved."},instagram:{eyebrow:"Follow us",title:"Latest from Instagram",subtitle:"Stay updated with our latest projects and behind-the-scenes moments",followUs:"Follow us on Instagram"},privacy:{title:"Privacy Policy",lastUpdate:"Last updated",sections:{intro:{title:"Introduction",content:"UNIC MARINE is committed to protecting your privacy. This Privacy Policy explains how we collect, use, and safeguard your personal information in accordance with the General Data Protection Regulation (GDPR) and the Spanish Organic Law 3/2018 on Personal Data Protection (LOPDGDD)."},controller:{title:"Data Controller",content:"The data controller responsible for your personal data is:",company:"UNIC MARINE",address:"Carrer Prudenci Rovira, 20 Nave 14, 07011 Palma de Mallorca, Baleares, Spain",email:"[email protected]",phone:"+34 649 780 736"},dataCollected:{title:"Data We Collect",content:"We collect personal data that you voluntarily provide through our contact form:",items:["Name","Email address","Message content"]},purpose:{title:"Purpose of Processing",content:"We process your personal data for the following purposes:",items:["To respond to your inquiries and requests","To provide information about our services","To maintain communication regarding potential business relationships"]},legalBasis:{title:"Legal Basis",content:"The legal basis for processing your data is:",items:["Your consent when submitting the contact form","Our legitimate interest in responding to business inquiries"]},retention:{title:"Data Retention",content:"We retain your personal data for as long as necessary to fulfill the purposes for which it was collected, typically no longer than 2 years from your last interaction with us, unless a longer retention period is required by law."},rights:{title:"Your Rights",content:"Under the GDPR and LOPDGDD, you have the following rights:",items:["Right of access to your personal data","Right to re
1ctification of inaccurate data","Right to erasure ('right to be forgotten')","Right to restriction of processing","Right to data portability","Right to object to processing","Right to withdraw consent at any time"],exercise:"To exercise these rights, please contact us at [email protected]"},thirdParties:{title:"Third Party Sharing",content:"We do not sell, trade, or otherwise transfer your personal data to third parties. Your data may be shared only with service providers who assist us in operating our website, provided they agree to keep this information confidential."},security:{title:"Data Security",content:"We implement appropriate technical and organizational measures to protect your personal data against unauthorized access, alteration, disclosure, or destruction."},authority:{title:"Supervisory Authority",content:"If you believe your data protection rights have been violated, you have the right to lodge a complaint with the Spanish Data Protection Agency (AEPD) at www.aepd.es"}}},cookies:{title:"Cookie Policy",lastUpdate:"Last updated",sections:{intro:{title:"What are cookies?",content:"Cookies are small text files stored on your device when you visit a website. They help the website remember your preferences and improve your browsing experience."},types:{title:"Types of cookies we use",necessary:{title:"Strictly Necessary Cookies",content:"These cookies are essential for the website to function properly. They enable basic features like page navigation and access to secure areas. The website cannot function properly without these cookies."},preferences:{title:"Preference Cookies",content:"These cookies allow the website to remember your choices (such as your preferred language) to provide a more personalized experience."},thirdParty:{title:"Third-Party Cookies",content:"Our website embeds Google Maps to show our location. Google may set cookies when you interact with the map. Please refer to Google's Privacy Policy for more information about their cookie practices."}},manage:{title:"How to manage cookies",content:"You can control and delete cookies through your browser settings. Please note that disabling cookies may affect the functionality of this website.",browsers:"Most browsers allow you to:",items:["View what cookies are stored and delete them individually","Block third-party cookies","Block cookies from specific sites","Block all cookies","Delete all cookies when you close the browser"]},consent:{title:"Your consent",content:"By using our website, you consent to the use of cookies in accordance with this Cookie Policy. You can withdraw your consent at any time by deleting cookies through your browser settings or by using our cookie preferences panel."}},banner:{message:"We use cookies to enhance your browsing experience and analyze site traffic. By clicking 'Accept All', you consent to our use of cookies.",acceptAll:"Accept All",rejectAll:"Reject All",customize:"Customize",savePreferences:"Save Preferences",necessary:"Necessary",preferences:"Preferences",thirdParty:"Third-party"}},terms:{title:"Terms and Conditions",lastUpdate:"Last updated",sections:{intro:{title:"Introduction",content:"These Terms and Conditions govern your use of the UNIC MARINE website. By accessing and using this website, you accept and agree to be bound by these terms."},use:{title:"Use of Website",content:"This website is provided for informational purposes only. The content is intended to provide general information about UNIC MARINE and its services.",items:["You may browse and use this website for lawful purposes only","You must not use this website in any way that may damage, disable, or impair the website","You must not attempt to gain unauthorized access to any part of the website"]},ip:{title:"Intellectual Property",content:"All content on this website, including but not limited to text, graphics, logos, images, and software, is the property of UNIC MARINE or its content suppliers and is protected by international copyright laws."},liability:{title:"Limitation of Liability",content:"UNIC MARINE provides this website on an 'as is' basis without warranties of any kind. We shall not be liable for any direct, indirect, incidental, or consequential damages arising from your use of this website."},links:{title:"External Links",content:"This website may contain links to external websites. We are not responsible for the content or privacy practices of these external sites."},changes:{title:"Changes to Terms",content:"We reserve the right to modify these terms at any time. Changes will be effective immediately upon posting on this website. Your continued use of the website constitutes acceptance of the modified terms."},law:{title:"Governing Law",content:"These terms are governed by and construed in accordance with the laws of Spain. Any disputes arising from these terms shall be subject to the exclusive jurisdiction of the courts of Palma de Mallorca, Spain."}}},legal:{title:"Legal Notice",subtitle:"Aviso Legal",sections:{owner:{title:"Website Owner",content:"In compliance with the Spanish Law 34/2002 on Information Society Services and Electronic Commerce (LSSI-CE), we provide the following information:",company:"UNIC MARINE",address:"Carrer Prudenci Rovira, 20 Nave 14",city:"07011 Palma de Mallorca, Baleares, Spain",email:"[email protected]",phone:"+34 649 780 736"},purpose:{title:"Website Purpose",content:"This website has been created to provide information about UNIC MARINE's services in the nautical sector, including yacht fittings, CNC machining, and electrical retrofit consultancy."},ip:{title:"Intellectual Property",content:"All rights to the content of this website, including texts, images, graphics, logos, icons, and software, are the property of UNIC MARINE or third parties who have authorized their use. Reproduction, distribution, or public communication without express authorization is prohibited."},responsibility:{title:"Responsibility",content:"UNIC MARINE is not responsible for any damages that may arise from the use of this website, including computer viruses or technical failures. We endeavor to keep the information updated and accurate but do not guarantee its completeness or accuracy."},links:{title:"Links Policy",content:"This website may contain links to third-party websites. UNIC MARINE is not responsible for the content, privacy policies, or practices of these external sites."},jurisdiction:{title:"Jurisdiction",content:"For any dispute arising from the use of this website, Spanish law shall apply, with the courts of Palma de Mallorca having jurisdiction."}}},sitemap:{title:"Sitemap",description:"Find all pages available on our website",sections:{main:"Main Pages",legal:"Legal Information",services:"Services"}},aboutPage:{title:"About Us",subtitle:"Meet the team behind UNIC MARINE",intro:{title:"Who We Are",content:"UNIC MARINE was born from a passion for yachting and a commitment to excellence. Based in Palma de Mallorca, we combine traditional craftsmanship with cutting-edge technology to deliver exceptional marine services."},mission:{title:"Our Mission",content:"To provide yacht owners and maritime professionals with innovative, high-quality solutions that extend the life and enhance the performance of their vessels. We believe in building lasting relationships based on trust, transparency, and exceptional service."},team:{title:"Our Team",alex:{name:"Alex Casares",role:"Co-Founder & Captain",bio:"Yacht Captain and Merchant Marine Officer. Degree in Nautical Science and Maritime Transport from the Faculty of Nautical Studies of Barcelona. President of ADNEA (Association for the Nautical Development of Companies and Self-Employed Professionals). With extensive experience in the maritime industry, Alex has founded multiple successful companies in the Balearic Islands."},laura:{name:"Laura Subirats",role:"Co-Founder & Project Manager",bio:"Yacht Captain. Degree in Nautical Science and Maritime Transport from the Faculty of Nautical Studies of Barcelona. With a keen eye for detail, Laura oversees project management and interior consultancy, ensuring every project is delivered with precision and meets the highest standards of quality."}},adnea:{eyebrow:"Industry leadership",title:"Proudly part of ADNEA",content:"Alex Casares serves as President of ADNEA â the Association for the Nautical Development of Companies and Self-Employed Professionals â a body that promotes excellence, innovation and professional growth across the Spanish nautical sector."},location:{title:"Strategic Location",content:"Our facilities in Palma de Mallorca place us at the heart of Mediterranean yachting. The Balearic Islands are a premier destination for luxury yachts, allowing us to serve clients from around the world with convenience and efficie
1ncy."},values:{title:"Our Values",quality:{title:"Quality First",content:"We never compromise on materials or workmanship. Every component we handle is treated with the utmost care and precision."},innovation:{title:"Continuous Innovation",content:"We stay at the forefront of marine technology, constantly updating our methods and equipment to deliver the best results."},trust:{title:"Building Trust",content:"Transparency and honest communication are the foundation of our client relationships. We keep you informed every step of the way."}},cta:{title:"Ready to Work Together?",content:"Contact us to discuss your project requirements and discover how UNIC MARINE can help.",button:"Get in Touch"}},servicesPage:{backToServices:"Back to Services",otherServices:"Other Services",contactCta:"Interested in this service?",contactButton:"Contact Us",fittings:{title:"Yacht Fittings Services",subtitle:"Complete dismantling, maintenance, storage & repair solutions",intro:"At UNIC MARINE, we specialize in comprehensive yacht fittings services, from professional dismantling to expert repair. Our meticulous approach ensures every component is handled with care and precision.",services:{dismantling:{title:"Professional Dismantling",content:"Our expert team carefully disassembles yacht fittings, documenting and cataloging each component. We use specialized tools and techniques to prevent damage during removal, ensuring all parts are ready for storage or repair.",features:["Systematic component removal and labeling","Detailed photographic documentation","Digital inventory management","Protective packaging for transport"]},maintenance:{title:"Maintenance & Inspection",content:"Regular maintenance extends the life of your fittings and prevents costly failures. Our inspection services identify wear, corrosion, and potential issues before they become problems.",features:["Thorough visual and mechanical inspection","Corrosion assessment and treatment","Wear analysis and recommendations","Preventive maintenance schedules"]},storage:{title:"Climate-Controlled Storage",content:"Our purpose-built storage facilities provide optimal conditions for your valuable fittings. Climate control prevents corrosion and degradation, keeping your components in perfect condition.",features:["Temperature and humidity controlled environment","Secure, individually assigned spaces","Regular monitoring and inspection","Easy retrieval and inventory tracking"]},repair:{title:"Expert Repair & Restoration",content:"From minor repairs to complete restoration, our skilled technicians bring damaged fittings back to original condition or better. We work with all types of materials and hardware.",features:["Mechanical repair and refurbishment","Surface refinishing and polishing","Hardware replacement and upgrades","Quality testing before return"]}},materials:{title:"Materials We Work With",list:["Stainless Steel","Bronze","Brass","Aluminum","Chrome","Titanium"]}},cnc:{title:"CNC Machining",subtitle:"Precision manufacturing for custom yacht components",intro:"Our state-of-the-art CNC machining center delivers precision-crafted components for the most demanding marine applications. From one-off custom pieces to production runs, we combine technical expertise with advanced manufacturing technology.",capabilities:{title:"Our Capabilities",milling:{title:"CNC Milling",content:"Multi-axis CNC milling for complex geometries and tight tolerances. We produce everything from simple brackets to intricate custom hardware."},turning:{title:"CNC Turning",content:"Precision lathe work for cylindrical components, shafts, bushings, and specialized fittings. Our turning centers handle pieces from small fasteners to large-diameter items."},finishing:{title:"Surface Finishing",content:"Complete finishing services including polishing, brushing, anodizing preparation, and protective coatings to ensure longevity in marine environments."}},materials:{title:"Materials",list:[{name:"Stainless Steel",grades:"316L, 304, Duplex",description:"Ideal for corrosion-resistant marine hardware"},{name:"Aluminum",grades:"6061-T6, 7075, Marine Grade",description:"Lightweight components with excellent strength"},{name:"Bronze",grades:"Phosphor Bronze, Aluminum Bronze",description:"Traditional marine hardware with superior corrosion resistance"},{name:"Brass",grades:"Naval Brass, Free-Cutting Brass",description:"Decorative and functional fittings"},{name:"Titanium",grades:"Grade 2, Grade 5",description:"Ultra-lightweight, high-strength applications"},{name:"Composites",grades:"Carbon Fiber, Fiberglass, Aramid",description:"Lightweight, high-performance materials for advanced marine applications"}]},precision:{title:"Precision Standards",content:"We achieve tolerances as tight as ±0.01mm, meeting the exacting requirements of luxury yacht construction. Every piece undergoes rigorous quality control before delivery."},machine:{eyebrow:"Our machinery",title:"DOOSAN DVF 5000",subtitle:"5-axis CNC machining center",content:"The DOOSAN DVF 5000 is a state-of-the-art 5-axis machining center that allows us to manufacture complex parts with exceptional precision in a single setup. The first of its kind dedicated to the nautical sector in the Balearic Islands.",specs:{axes:"5 simultaneous axes",precision:"High-precision tolerances",versatility:"Complex geometries in one setup"},mediaPlaceholder:"Photos and videos coming soon"},gallery:{title:"Our Work",subtitle:"A selection of precision-machined parts produced in our workshop for the nautical sector."},applications:{title:"Common Applications",list:["Custom deck hardware","Replacement parts for vintage yachts","Prototype development","Specialty fasteners and fittings","Interior hardware and fixtures","Navigation equipment mounts"]}},electrical:{title:"Electrical Retrofits Consultancy",subtitle:"Modernizing yacht electrical systems",intro:"Navigate the complexities of yacht electrical modernization with our expert consultancy services. We analyze, design, and guide the implementation of electrical upgrades that enhance safety, efficiency, and functionality.",services:{assessment:{title:"System Assessment",content:"Comprehensive evaluation of existing electrical systems to identify inefficiencies, safety concerns, and upgrade opportunities. We provide detailed reports with prioritized recommendations.",features:["Complete electrical system audit","Load analysis and capacity planning","Safety compliance evaluation","Energy efficie
1ncy assessment"]},design:{title:"Upgrade Design",content:"Custom electrical design for modernization projects, from simple updates to complete system overhauls. Our designs balance performance, safety, and practical implementation.",features:["Detailed electrical schematics","Component specification","Integration planning for new systems","Future expansion provisions"]},compliance:{title:"Regulatory Compliance",content:"Stay current with maritime electrical regulations and classification requirements. We guide you through certification processes and ensure your systems meet all applicable standards.",features:["Classification society requirements","Flag state regulations","Insurance compliance","Documentation preparation"]},implementation:{title:"Implementation Support",content:"On-site technical support during retrofit execution. We work alongside your installation team to ensure designs are implemented correctly and systems perform as specified.",features:["Installation supervision","Quality control inspection","Commissioning support","Crew training"]}},focus:{title:"Areas of Focus",list:["Battery system upgrades and lithium conversions","Shore power and charging infrastructure","Navigation and communication systems","Lighting upgrades to LED technology","Generator and inverter systems","Smart monitoring and automation"]}}},press:{eyebrow:"In the news",title:"Press & Media",desc:"Discover what the media is saying about our latest innovations in the nautical sector.",readArticle:"Read article",articles:{ultimahora:{title:"UNIC MARINE revolutionizes the Balearic nautical industry with cutting-edge machinery"},economiademallorca:{title:"Palma receives the first and only precision machining equipment for the nautical sector"},cadenaser:{title:"Balearics debuts first five-axis cutting machine for complex industrial parts"},mallorcadiario:{title:"Mallorca stops depending on the mainland for manufacturing nautical parts"},diariodemallorca:{title:"The Balearic nautical sector modernizes to face new challenges"}}}}},it:{translation:{brand:"UNIC MARINE",tagline:"Yacht & commercial marine solutions",nav:{home:"Home",about:"Chi siamo",services:"Servizi",contact:"Contatti",privacy:"Privacy Policy",cookies:"Cookie Policy",terms:"Termini e Condizioni",legal:"Note Legali",sitemap:"Mappa del sito"},hero:{title:"Benvenuti in UNIC MARINE",subtitle:"Il vostro partner di fiducia nel settore nautico nelle Isole Baleari, con un'esperienza consolidata che ci ha permesso di affermarci come leader nel settore.",cta:"Scopri i nostri servizi"},company:{eyebrow:"Chi siamo",title:"La nostra azienda e visione",intro:"Con sede a Palma di Maiorca, cuore della nautica mediterranea, offriamo soluzioni innovative focalizzate sullo smontaggio di armamenti nautici, lavorazioni specializzate e consulenza per retrofit elettrici.",cards:{specializedTeam:{title:"Team specializzato",desc:"Un team altamente qualificato con le competenze tecniche per gestire progetti nautici complessi con precisione e continuità ."},attentionToDetail:{title:"Attenzione ai dettagli",desc:"Dalla progettazione all'esecuzione, ogni fase viene realizzata con la massima precisione e rispetto per l'imbarcazione."},excellence:{title:"Eccellenza",desc:"Perseguiamo i più alti standard in materiali, lavorazione e risultatiâsenza scorciatoie."},newConcept:{title:"Approccio innovativo",desc:"Una visione moderna dei servizi nautici, che unisce esperienza consolidata e tecnologia all'avanguardia."}}},services:{eyebrow:"Cosa facciamo",title:"I nostri servizi",desc:"Comfort, precisione ed esclusività per i clienti più esigenti. Scopri cosa ci rende unici nel settore nautico.",menu:{fittings:"Fittings",cnc:"Lavorazioni CNC",retrofits:"Retrofit elettrici"},cards:{fittings1:{title:"Smontaggio Fittings",subtitle:"Smontaggio professionale",desc:"Smontaggio professionale di armamenti nautici con catalogazione e documentazione meticolosa di ogni pezzo, preparando i componenti per lo stoccaggio o la riparazione."},fittings2:{title:"Manutenzione Fittings",subtitle:"Stoccaggio e Riparazione",subtitle2:"",desc:"Servizi completi di manutenzione incluso stoccaggio in ambiente controllato e riparazione specializzata per ripristinare i componenti alle condizioni originali."},cnc:{title:"Lavorazioni CNC",subtitle:"Alta precisione",desc:"Lavorazioni CNC di alta precisione su acciaio inox, alluminio, bronzo e ottone. Pezzi custom su misura per yacht con tolleranze strette, dalla prototipazione alla produzione."},consultancy:{title:"Retrofit Elettrici",subtitle:"Consulenza",desc:"Analisi esperta degli impianti elettrici esistenti, progettazione di upgrade e consulenza su normative e certificazioni per la modernizzazione degli yacht."}},read:"Scopri di più"},contact:{eyebrow:"Contattaci",title:"Scrivici",subtitle:"Inviaci un messaggio e ti ricontatteremo al più presto.",formTitle:"Inviaci un messaggio",form:{name:"Nome",email:"Email",message:"Messaggio",send:"Invia",sending:"Invio in corso..."},success:{title:"Messaggio inviato!",message:"Grazie per averci contattato. Ti risponderemo al più presto."}},footer:{rights:"Tutti i diritti riservati."},instagram:{eyebrow:"Seguici",title:"Ultimi post da Instagram",subtitle:"Resta aggiornato sui nostri ultimi progetti e momenti dietro le quinte",followUs:"Seguici su Instagram"},privacy:{title:"Informativa sulla Privacy",lastUpdate:"Ultimo aggiornamento",sections:{intro:{title:"Introduzione",content:"UNIC MARINE si impegna a proteggere la tua privacy. Questa Informativa sulla Privacy spiega come raccogliamo, utilizziamo e protegg
1iamo le tue informazioni personali in conformità con il Regolamento Generale sulla Protezione dei Dati (GDPR) e la Legge Organica Spagnola 3/2018 sulla Protezione dei Dati Personali (LOPDGDD)."},controller:{title:"Titolare del Trattamento",content:"Il titolare del trattamento responsabile dei tuoi dati personali è:",company:"UNIC MARINE",address:"Carrer Prudenci Rovira, 20 Nave 14, 07011 Palma di Maiorca, Baleari, Spagna",email:"[email protected]",phone:"+34 649 780 736"},dataCollected:{title:"Dati che Raccogliamo",content:"Raccogliamo dati personali che fornisci volontariamente attraverso il nostro modulo di contatto:",items:["Nome","Indirizzo email","Contenuto del messaggio"]},purpose:{title:"Finalità del Trattamento",content:"Trattiamo i tuoi dati personali per le seguenti finalità :",items:["Rispondere alle tue richieste e domande","Fornire informazioni sui nostri servizi","Mantenere la comunicazione riguardo potenziali rapporti commerciali"]},legalBasis:{title:"Base Giuridica",content:"La base giuridica per il trattamento dei tuoi dati è:",items:["Il tuo consenso quando invii il modulo di contatto","Il nostro legittimo interesse a rispondere alle richieste commerciali"]},retention:{title:"Conservazione dei Dati",content:"Conserviamo i tuoi dati personali per il tempo necessario a soddisfare le finalità per cui sono stati raccolti, tipicamente non oltre 2 anni dalla tua ultima interazione con noi, salvo che un periodo di conservazione più lungo sia richiesto dalla legge."},rights:{title:"I Tuoi Diritti",content:"Ai sensi del GDPR e della LOPDGDD, hai i seguenti diritti:",items:["Diritto di accesso ai tuoi dati personali","Diritto di rettifica dei dati inesatti","Diritto alla cancellazione ('diritto all'oblio')","Diritto alla limitazione del trattamento","Diritto alla portabilità dei dati","Diritto di opposizione al trattamento","Diritto di revocare il consenso in qualsiasi momento"],exercise:"Per esercitare questi diritti, contattaci a [email protected]"},thirdParties:{title:"Condivisione con Terzi",content:"Non vendiamo, scambiamo o trasferiamo in altro modo i tuoi dati personali a terzi. I tuoi dati possono essere condivisi solo con fornitori di servizi che ci assistono nella gestione del nostro sito web, a condizione che accettino di mantenere queste informazioni riservate."},security:{title:"Sicurezza dei Dati",content:"Implementiamo misure tecniche e organizzative appropriate per proteggere i tuoi dati personali da accessi non autorizzati, alterazioni, divulgazioni o distruzioni."},authority:{title:"Autorità di Controllo",content:"Se ritieni che i tuoi diritti in materia di protezione dei dati siano stati violati, hai il diritto di presentare un reclamo all'Agenzia Spagnola per la Protezione dei Dati (AEPD) su www.aepd.es"}}},cookies:{title:"Cookie Policy",lastUpdate:"Ultimo aggiornamento",sections:{intro:{title:"Cosa sono i cookie?",content:"I cookie sono piccoli file di testo memorizzati sul tuo dispositivo quando visiti un sito web. Aiutano il sito a ricordare le tue preferenze e migliorare la tua esperienza di navigazione."},types:{title:"Tipi di cookie che utilizziamo",necessary:{title:"Cookie Strettamente Necessari",content:"Questi cookie sono essenziali per il corretto funzionamento del sito web. Abilitano funzionalità di base come la navigazione delle pagine e l'accesso alle aree protette. Il sito non può funzionare correttamente senza questi cookie."},preferences:{title:"Cookie di Preferenza",content:"Questi cookie permettono al sito di ricordare le tue scelte (come la lingua preferita) per fornire un'esperienza più personalizzata."},thirdParty:{title:"Cookie di Terze Parti",content:"Il nostro sito incorpora Google Maps per mostrare la nostra posizione. Google può impostare cookie quando interagisci con la mappa. Consulta l'Informativa sulla Privacy di Google per maggiori informazioni sulle loro pratiche relative ai cookie."}},manage:{title:"Come gestire i cookie",content:"Puoi controllare ed eliminare i cookie attraverso le impostazioni del tuo browser. Tieni presente che disabilitare i cookie potrebbe influire sulla funzionalità di questo sito web.",browsers:"La maggior parte dei browser ti permette di:",items:["Visualizzare quali cookie sono memorizzati ed eliminarli singolarmente","Bloccare i cookie di terze parti","Bloccare i cookie da siti specifici","Bloccare tutti i cookie","Eliminare tutti i cookie quando chiudi il browser"]},consent:{title:"Il tuo consenso",content:"Utilizzando il nostro
1sito web, acconsenti all'uso dei cookie in conformità con questa Cookie Policy. Puoi revocare il tuo consenso in qualsiasi momento eliminando i cookie attraverso le impostazioni del browser o utilizzando il nostro pannello delle preferenze cookie."}},banner:{message:"Utilizziamo i cookie per migliorare la tua esperienza di navigazione e analizzare il traffico del sito. Cliccando 'Accetta tutti', acconsenti all'uso dei cookie.",acceptAll:"Accetta tutti",rejectAll:"Rifiuta tutti",customize:"Personalizza",savePreferences:"Salva preferenze",necessary:"Necessari",preferences:"Preferenze",thirdParty:"Terze parti"}},terms:{title:"Termini e Condizioni",lastUpdate:"Ultimo aggiornamento",sections:{intro:{title:"Introduzione",content:"Questi Termini e Condizioni regolano l'uso del sito web di UNIC MARINE. Accedendo e utilizzando questo sito web, accetti di essere vincolato da questi termini."},use:{title:"Uso del Sito Web",content:"Questo sito web è fornito solo a scopo informativo. Il contenuto è destinato a fornire informazioni generali su UNIC MARINE e i suoi servizi.",items:["Puoi navigare e utilizzare questo sito web solo per scopi leciti","Non devi utilizzare questo sito in modo da danneggiare, disabilitare o compromettere il sito web","Non devi tentare di ottenere accesso non autorizzato a qualsiasi parte del sito web"]},ip:{title:"Proprietà Intellettuale",content:"Tutti i contenuti di questo sito web, inclusi ma non limitati a testi, grafica, loghi, immagini e software, sono di proprietà di UNIC MARINE o dei suoi fornitori di contenuti e sono protetti dalle leggi internazionali sul copyright."},liability:{title:"Limitazione di Responsabilità ",content:"UNIC MARINE fornisce questo sito web 'così com'è' senza garanzie di alcun tipo. Non saremo responsabili per danni diretti, indiretti, incidentali o consequenziali derivanti dall'uso di questo sito web."},links:{title:"Link Esterni",content:"Questo sito web può contenere link a siti web esterni. Non siamo responsabili del contenuto o delle pratiche sulla privacy di questi siti esterni."},changes:{title:"Modifiche ai Termini",content:"Ci riserviamo il diritto di modificare questi termini in qualsiasi momento. Le modifiche saranno effettive immediatamente dopo la pubblicazione su questo sito web. L'uso continuato del sito costituisce accettazione dei termini modificati."},law:{title:"Legge Applicabile",content:"Questi termini sono regolati e interpretati in conformità con le leggi della Spagna. Qualsiasi controversia derivante da questi termini sarà soggetta alla giurisdizione esclusiva dei tribunali di Palma di Maiorca, Spagna."}}},legal:{title:"Note Legali",subtitle:"Aviso Legal",sections:{owner:{title:"Titolare del Sito Web",content:"In conformità con la Legge Spagnola 34/2002 sui Servizi della Società dell'Informazione e del Commercio Elettronico (LSSI-CE), forniamo le seguenti informazioni:",company:"UNIC MARINE",address:"Carrer Prudenci Rovira, 20 Nave 14",city:"07011 Palma di Maiorca, Baleari, Spagna",email:"[email protected]",phone:"+34 649 780 736"},purpose:{title:"Finalità del Sito Web",content:"Questo sito web è stato creato per fornire informazioni sui servizi di UNIC MARINE nel settore nautico, inclusi armamenti per yacht, lavorazioni CNC e consulenza per retrofit elettrici."},ip:{title:"Proprietà Intellettuale",content:"Tutti i diritti sui contenuti di questo sito web, inclusi testi, immagini, grafica, loghi, icone e software, sono di proprietà di UNIC MARINE o di terzi che ne hanno autorizzato l'uso. à vietata la riproduzione, distribuzione o comunicazione pubblica senza espressa autorizzazione."},responsibility:{title:"Responsabilità ",content:"UNIC MARINE non è responsabile per eventuali danni che possano derivare dall'uso di questo sito web, inclusi virus informatici o guasti tecnici. Ci impegniamo a mantenere le informazioni aggiornate e accurate ma non garantiamo la loro completezza o accuratezza."},links:{title:"Politica sui Link",content:"Questo sito web può contenere link a siti web di terzi. UNIC MARINE non è responsabile del contenuto, delle politiche sulla privacy o delle pratiche di questi siti esterni."},jurisdiction:{title:"Giurisdizione",content:"Per qualsiasi controversia derivante dall'uso di questo sito web, si applicherà la legge spagnola, con giurisdizione dei tribunali di Palma di Maiorca."}}},sitemap:{title:"Mappa del Sito",description:"Trova tutte le pagine disponibili sul nostro
1sito web",sections:{main:"Pagine Principali",legal:"Informazioni Legali",services:"Servizi"}},aboutPage:{title:"Chi Siamo",subtitle:"Scopri il team di UNIC MARINE",intro:{title:"Chi Siamo",content:"UNIC MARINE nasce dalla passione per la nautica e dall'impegno verso l'eccellenza. Con sede a Palma di Maiorca, uniamo artigianato tradizionale e tecnologia all'avanguardia per offrire servizi marini eccezionali."},mission:{title:"La Nostra Missione",content:"Fornire ai proprietari di yacht e ai professionisti del mare soluzioni innovative e di alta qualità che prolungano la vita e migliorano le prestazioni delle imbarcazioni. Crediamo nella costruzione di relazioni durature basate su fiducia, trasparenza e servizio eccezionale."},team:{title:"Il Nostro Team",alex:{name:"Alex Casares",role:"Co-Fondatore & Capitano",bio:"Capitano di Yacht e Ufficiale della Marina Mercantile. Laureato in Nautica e Trasporto Marittimo presso la Facoltà di Nautica di Barcellona. Presidente di ADNEA (Associazione per lo Sviluppo Nautico di Imprese e Liberi Professionisti). Con una vasta esperienza nel settore marittimo, Alex ha fondato diverse aziende di successo nelle Isole Baleari."},laura:{name:"Laura Subirats",role:"Co-Fondatrice & Project Manager",bio:"Capitano di Yacht. Laureata in Nautica e Trasporto Marittimo presso la Facoltà di Nautica di Barcellona. Con un occhio attento ai dettagli, Laura supervisiona la gestione dei progetti e la consulenza per gli interni, garantendo che ogni progetto sia consegnato con precisione e rispetti i più alti standard di qualità ."}},adnea:{eyebrow:"Leadership di settore",title:"Orgogliosamente parte di ADNEA",content:"Alex Casares è Presidente di ADNEA â l'Associazione per lo Sviluppo Nautico di Imprese e Liberi Professionisti â un ente che promuove eccellenza, innovazione e crescita professionale nel settore nautico spagnolo."},location:{title:"Posizione Strategica",content:"Le nostre strutture a Palma di Maiorca ci collocano nel cuore della nautica mediterranea. Le Isole Baleari sono una destinazione privilegiata per yacht di lusso, permettendoci di servire clienti da tutto il mondo con comodità ed efficienza."},values:{title:"I Nostri Valori",quality:{title:"Qualità Prima di Tutto",content:"Non scendiamo mai a compromessi su materiali o lavorazione. Ogni componente che trattiamo è gestito con la massima cura e precisione."},innovation:{title:"Innovazione Continua",content:"Restiamo all'avanguardia della tecnologia marina, aggiornando costantemente metodi e attrezzature per offrire i migliori risultati."},trust:{title:"Costruire Fiducia",content:"Trasparenza e comunicazione onesta sono le fondamenta delle nostre relazioni con i clienti. Ti teniamo informato ad ogni passo."}},cta:{title:"Pronti a Collaborare?",content:"Contattaci per discutere le tue esigenze e scoprire come UNIC MARINE può aiutarti.",button:"Contattaci"}},servicesPage:{backToServices:"Torna ai Servizi",otherServices:"Altri Servizi",contactCta:"Interessato a questo servizio?",contactButton:"Contattaci",fittings:{title:"Servizi Fittings per Yacht",subtitle:"Soluzioni complete di smontaggio, manutenzione, stoccaggio e riparazione",intro:"In UNIC MARINE siamo specializzati in servizi completi per fittings nautici, dallo smontaggio professionale alla riparazione esperta. Il nostro approccio meticoloso garantisce che ogni componente sia trattato con cura e precisione.",services:{dismantling:{title:"Smontaggio Professionale",content:"Il nostro team di esperti smonta con cura i fittings dello yacht, documentando e catalogando ogni componente. Utilizziamo strumenti e tecniche specializzate per prevenire danni durante la rimozione.",features:["Rimozione sistematica e etichettatura dei componenti","Documentazione fotografica dettagliata","Gestione digitale dell'inventario","Imballaggio protettivo per il trasporto"]},maintenance:{title:"Manutenzione & Ispezione",content:"La manutenzione regolare prolunga la vita dei tuoi fittings e previene costosi guasti. I nostri servizi di ispezione identificano usura, corrosione e potenziali problemi.",features:["Is
1pezione visiva e meccanica approfondita","Valutazione e trattamento della corrosione","Analisi dell'usura e raccomandazioni","Programmi di manutenzione preventiva"]},storage:{title:"Stoccaggio Climatizzato",content:"Le nostre strutture di stoccaggio dedicate offrono condizioni ottimali per i tuoi preziosi fittings. Il controllo climatico previene corrosione e degrado.",features:["Ambiente a temperatura e umidità controllate","Spazi sicuri assegnati individualmente","Monitoraggio e ispezione regolari","Facile recupero e tracciamento inventario"]},repair:{title:"Riparazione & Restauro Esperto",content:"Dalle riparazioni minori al restauro completo, i nostri tecnici qualificati riportano i fittings danneggiati alle condizioni originali o migliori.",features:["Riparazione meccanica e revisione","Rifinitura superficiale e lucidatura","Sostituzione e upgrade dell'hardware","Test di qualità prima della restituzione"]}},materials:{title:"Materiali con cui Lavoriamo",list:["Acciaio Inox","Bronzo","Ottone","Alluminio","Cromo","Titanio"]}},cnc:{title:"Lavorazioni CNC",subtitle:"Produzione di precisione per componenti yacht personalizzati",intro:"Il nostro centro di lavorazione CNC all'avanguardia produce componenti di precisione per le applicazioni marine più esigenti. Dai pezzi unici alle produzioni in serie, combiniamo competenza tecnica e tecnologia di produzione avanzata.",capabilities:{title:"Le Nostre Capacità ",milling:{title:"Fresatura CNC",content:"Fresatura CNC multiasse per geometrie complesse e tolleranze strette. Produciamo tutto, dalle staffe semplici all'hardware personalizzato intricato."},turning:{title:"Tornitura CNC",content:"Lavori di precisione al tornio per componenti cilindrici, alberi, boccole e raccordi specializzati."},finishing:{title:"Finitura Superficiale",content:"Servizi di finitura completi inclusa lucidatura, spazzolatura, preparazione per anodizzazione e rivestimenti protettivi."}},materials:{title:"Materiali",list:[{name:"Acciaio Inox",grades:"316L, 304, Duplex",description:"Ideale per hardware marino resistente alla corrosione"},{name:"Alluminio",grades:"6061-T6, 7075, Grado Marino",description:"Componenti leggeri con eccellente resistenza"},{name:"Bronzo",grades:"Bronzo Fosforoso, Bronzo all'Alluminio",description:"Hardware marino tradizionale con superiore resistenza alla corrosione"},{name:"Ottone",grades:"Ottone Navale, Ottone a Taglio Libero",description:"Raccordi decorativi e funzionali"},{name:"Titanio",grades:"Grado 2, Grado 5",description:"Applicazioni ultra-leggere ad alta resistenza"},{name:"Compositi",grades:"Fibra di Carbonio, Fibra di Vetro, Aramide",description:"Materiali leggeri ad alte prestazioni per applicazioni nautiche avanzate"}]},precision:{title:"Standard di Precisione",content:"Raggiungiamo tolleranze fino a ±0.01mm, soddisfacendo i requisiti più esigenti della costruzione di yacht di lusso. Ogni pezzo è sottoposto a rigoroso controllo qualità ."},machine:{eyebrow:"I nostri macchinari",title:"DOOSAN DVF 5000",subtitle:"Centro di lavoro CNC a 5 assi",content:"La DOOSAN DVF 5000 è un centro di lavoro a 5 assi all'avanguardia che ci permette di produrre pezzi complessi con precisione eccezionale in un unico setup. La prima del suo genere dedicata al settore nautico nelle Isole Baleari.",specs:{axes:"5 assi simultanei",precision:"Tolleranze ad alta precisione",versatility:"Geometrie complesse in un unico setup"},mediaPlaceholder:"Foto e video in arrivo"},gallery:{title:"I Nostri Lavori",subtitle:"Una selezione di pezzi di precisione realizzati nella nostra officina per il settore nautico."}
1,applications:{title:"Applicazioni Comuni",list:["Hardware di coperta personalizzato","Ricambi per yacht d'epoca","Sviluppo prototipi","Viteria e raccorderia speciale","Hardware e accessori per interni","Supporti per apparecchiature di navigazione"]}},electrical:{title:"Consulenza Retrofit Elettrici",subtitle:"Modernizzazione degli impianti elettrici nautici",intro:"Affronta le complessità della modernizzazione elettrica degli yacht con i nostri servizi di consulenza esperti. Analizziamo, progettiamo e guidiamo l'implementazione di upgrade elettrici che migliorano sicurezza, efficienza e funzionalità .",services:{assessment:{title:"Valutazione del Sistema",content:"Valutazione completa degli impianti elettrici esistenti per identificare inefficienze, problemi di sicurezza e opportunità di upgrade.",features:["Audit completo dell'impianto elettrico","Analisi dei carichi e pianificazione della capacità ","Valutazione conformità sicurezza","Valutazione efficienza energetica"]},design:{title:"Progettazione Upgrade",content:"Progettazione elettrica personalizzata per progetti di modernizzazione, da semplici aggiornamenti a revisioni complete del sistema.",features:["Schemi elettrici dettagliati","Specifica dei componenti","Pianificazione integrazione nuovi sistemi","Predisposizione per espansioni future"]},compliance:{title:"Conformità Normativa",content:"Resta aggiornato sulle normative elettriche marittime e i requisiti di classificazione. Ti guidiamo attraverso i processi di certificazione.",features:["Requisiti enti di classifica","Normative di bandiera","Conformità assicurativa","Preparazione documentazione"]},implementation:{title:"Supporto all'Implementazione",content:"Supporto tecnico in loco durante l'esecuzione del retrofit. Lavoriamo insieme al tuo team di installazione per garantire la corretta implementazione.",features:["Supervisione installazione","Ispezione controllo qualità ","Supporto al commissioning","Formazione equipaggio"]}},focus:{title:"Aree di Focus",list:["Upgrade sistemi batterie e conversioni al litio","Infrastruttura shore power e ricarica","Sistemi di navigazione e comunicazione","Upgrade illuminazione a tecnologia LED","Sistemi generatore e inverter","Monitoraggio smart e automazione"]}}},press:{eyebrow:"Nelle notizie",title:"Stampa & Media",desc:"Scopri cosa dicono i media sulle nostre ultime innovazioni nel settore nautico.",readArticle:"Leggi articolo",articles:{ultimahora:{title:"UNIC MARINE rivoluziona l'industria nautica delle Baleari con macchinari all'avanguardia"},economiademallorca:{title:"Palma riceve la prima e unica macchina di lavorazione di precisione per il settore nautico"},cadenaser:{title:"Le Baleari inaugurano la prima macchina da taglio a cinque assi per pezzi industriali complessi"},mallorcadiario:{title:"Maiorca smette di dipendere dalla penisola per la produzione di pezzi nautici"},diariodemallorca:{title:"Il settore nautico delle Baleari si modernizza per affrontare le nuove sfide"}}}}},es:{translation:{brand:"UNIC MARINE",tagline:"Yacht & commercial marine solutions",nav:{home:"Inicio",about:"Sobre nosotros",services:"Servicios",contact:"Contacto",privacy:"PolÃtica de Privacidad",cookies:"PolÃtica de Cookies",terms:"Términos y Condiciones",legal:"Aviso Legal",sitemap:"Mapa del sitio"},hero:{title:"Bienvenidos a UNIC MARINE",subtitle:"Su socio de confianza en el sector náutico en las Islas Baleares, con una experiencia consolidada que nos ha permitido posicionarnos como lÃderes en el sector.",cta:"Descubre nuestros servicios"},company:{eyebrow:"Sobre nosotros",title:"Nuestra empresa y visión",intro:"Con sede en Palma de Mallorca, corazón de la náutica mediterránea, ofrecemos soluciones innovadoras centradas en el desmontaje de armamento para yates, mecanizado especializado y consultorÃa en retrofitting eléctrico.",cards:{specializedTeam:{title:"Equipo especializado",desc:"Un equipo altamente cualificado con la experiencia técnica para gestionar proyectos náuticos complejos con precisión y constancia."},attentionToDetail:{title:"Atención al detalle",desc:"Del diseño a la ejecución, cada paso se realiza con la máxima precisión y respeto por la embarcación."},excellence:{title:"Excelencia",desc:"Perseguimos los más altos estándares en materiales, mano de obra y resultadosâsin atajos."},newConcept:{title:"Enfoque innovador",desc:"Una visión moderna de los servicios náuticos, combinando experiencia consolidada con la última tecnologÃa."}}},services:{eyebrow:"Qué hacemos",title:"Nuestros servicios",desc:"Confort, precisión y exclusividad para los clientes más exigentes. Descubre lo que nos hace únicos en el sector náutico.",menu:{fittings:"Fittings",cnc:"Mecanizado CNC",retrofits:"Retrofits eléctricos"},cards:{fittings1:{title:"Desmontaje de Fittings",subtitle:"Desmontaje profesional",desc:"Desmontaje profesional de armamento náutico con catalogación y documentación meticulosa de cada pieza, preparando los componentes para almacenaje o reparación."},fittings2:{title:"Mantenimiento de Fittings",subtitle:"Almacenaje y Reparación",subtitle2:"",desc:"Servicios completos de mantenimiento incluyendo almacenaje en ambiente controlado y reparación especializada para restaurar los componentes a su estado original."},cnc:{title:"Mecanizado CNC",subtitle:"Alta precisión",desc:"Mecanizado CNC de alta precisión en acero inoxidable, aluminio, bronce y latón. Piezas personalizadas para yates con tolerancias ajustadas, desde prototipado hasta producción."},consultancy:{title:"Retrofits Eléctricos",subtitle:"ConsultorÃa",desc:"Análisis experto de sistemas eléctricos existentes, diseño de actualizaciones y consultorÃa sobre normativas y certificaciones para la modernización de yates."}},read:"Saber más"},contact:{eyebrow:"Contáctanos",title:"Ponte en contacto",subtitle:"EnvÃanos un mensaje y nos pondremos en contacto lo antes posible.",formTitle:"EnvÃanos un mensaje",form:{name:"Nombre",email:"Email",message:"Mensaje",send:"Enviar",sending:"Enviando..."},success:{title:"¡Mensaje enviado!",message:"Gracias por contactarnos. Te responderemos pronto."}},footer:{rights:"Todos los derechos reservados."},instagram:{eyebrow:"SÃguenos",title:"Lo último de Instagram",subtitle:"Mantente al dÃa con nuestros últimos proyectos y momentos detrás de escena",followUs:"SÃguenos en Instagram"},privacy:{title:"PolÃtica de Privacidad",lastUpdate:"Ãltima actualización",sections:{intro:{title:"Introducción",content:"UNIC MARINE se compromete a proteger su privacidad. Esta PolÃtica de Privacidad explica cómo recopilamos, utilizamos y protegemos su información personal de acuerdo con el Reglamento General de Protección de Datos (RGPD) y la Ley Orgánica Española 3/2018 de Protección de Datos Personales (LOPDGDD)."},controller:{title:"Responsable del Tratamiento",content:"El responsable del tratamiento de sus datos personales es:",company:"UNIC MARINE",address:"Carrer Prudenci Rovira, 20 Nave 14, 07011 Palma de Mallorca, Baleares, España",email:"[email protected]",phone:"+34 649 780 736"},dataCollected:{title:"Datos que Recopilamos",content:"Recopilamos datos personales que usted proporciona voluntariamente a través de nuestro formulario de contacto:",items:["Nombre","Dirección de correo electrónico","Contenido del mensaje"]},purpose:{title:"Finalidad del Tratamiento",content:"Tratamos sus datos personales para las siguientes finalidades:",items:["Responder a sus consultas y solicitudes","Proporcionar información sobre nuestros servicios","Mantener la comunicación respecto a posibles relaciones comerciales"]},legalBasis:{title:"Base Legal",content:"La base legal para el tratamiento de sus datos es:",items:["Su consentimiento al enviar el formulario de contacto","Nuestro interés legÃtimo en responder a consultas comerciales"]},retention:{title:"Conservación de Datos",content:"Conservamos sus datos personales durante el tiempo necesario para cumplir con los fines para los que fueron recopilados, normalmente no más de 2 años desde su última interacción con nosotros, a menos que la ley requiera un perÃodo de conservación más largo."},rights:{title:"Sus Derechos",content:"Según el RGPD y la LOPDGDD, usted tiene los siguientes derechos:",items:["Derecho de acceso a sus datos personales","Derecho de rectificación de datos inexactos","Derecho de supresión ('derecho al olvido')","Derecho a la limitación del tratamiento","Derecho a la portabilidad de datos","Derecho de oposición al tratamiento","Derecho a retirar el consentimiento en cualquier momento"],exercise:"Para ejercer estos derechos, contáctenos en [email protected]"},thirdParties:{title:"Compartir con Terceros",content:"No vendemos, intercambiamos ni transferimos de otro modo sus datos personales a terceros. Sus datos solo pueden compartirse con proveedores de servicios que nos ayudan a operar nuestro sitio web, siempre que acepten mantener esta información confidencial."},security:{title:"Seguridad de los Datos",content:"Implementamos medidas técnicas y organizativas apropiadas para proteger sus datos personales contra accesos no autorizados, alteraciones, divulgaciones o de
1strucciones."},authority:{title:"Autoridad de Control",content:"Si considera que sus derechos de protección de datos han sido vulnerados, tiene derecho a presentar una reclamación ante la Agencia Española de Protección de Datos (AEPD) en www.aepd.es"}}},cookies:{title:"PolÃtica de Cookies",lastUpdate:"Ãltima actualización",sections:{intro:{title:"¿Qué son las cookies?",content:"Las cookies son pequeños archivos de texto que se almacenan en su dispositivo cuando visita un sitio web. Ayudan al sitio a recordar sus preferencias y mejorar su experiencia de navegación."},types:{title:"Tipos de cookies que utilizamos",necessary:{title:"Cookies Estrictamente Necesarias",content:"Estas cookies son esenciales para que el sitio web funcione correctamente. Habilitan funciones básicas como la navegación por las páginas y el acceso a áreas seguras. El sitio web no puede funcionar correctamente sin estas cookies."},preferences:{title:"Cookies de Preferencias",content:"Estas cookies permiten que el sitio web recuerde sus elecciones (como su idioma preferido) para proporcionar una experiencia más personalizada."},thirdParty:{title:"Cookies de Terceros",content:"Nuestro sitio web incorpora Google Maps para mostrar nuestra ubicación. Google puede establecer cookies cuando interactúa con el mapa. Consulte la PolÃtica de Privacidad de Google para más información sobre sus prácticas de cookies."}},manage:{title:"Cómo gestionar las cookies",content:"Puede controlar y eliminar las cookies a través de la configuración de su navegador. Tenga en cuenta que deshabilitar las cookies puede afectar la funcionalidad de este sitio web.",browsers:"La mayorÃa de los navegadores le permiten:",items:["Ver qué cookies están almacenadas y eliminarlas individualmente","Bloquear cookies de terceros","Bloquear cookies de sitios especÃficos","Bloquear todas las cookies","Eliminar todas las cookies al cerrar el navegador"]},consent:{title:"Su consentimiento",content:"Al usar nuestro sitio web, usted consiente el uso de cookies de acuerdo con esta PolÃtica de Cookies. Puede retirar su consentimiento en cualquier momento eliminando las cookies a través de la configuración del navegador o usando nuestro panel de preferencias de cookies."}},banner:{message:"Utilizamos cookies para mejorar su experiencia de navegación y analizar el tráfico del sitio. Al hacer clic en 'Aceptar todas', consiente nuestro uso de cookies.",acceptAll:"Aceptar todas",rejectAll:"Rechazar todas",customize:"Personalizar",savePreferences:"Guardar preferencias",necessary:"Necesarias",preferences:"Preferencias",thirdParty:"Terceros"}},terms:{title:"Términos y Condiciones",lastUpdate:"Ãltima actualización",sections:{intro:{title:"Introducción",content:"Estos Términos y Condiciones rigen el uso del sitio web de UNIC MARINE. Al acceder y utilizar este sitio web, acepta y se compromete a cumplir estos términos."},use:{title:"Uso del Sitio Web",content:"Este sitio web se proporciona únicamente con fines informativos. El contenido está destinado a proporcionar información general sobre UNIC MARINE y sus servicios.",items:["Puede navegar y usar este sitio web solo para fines lÃcitos","No debe usar este sitio de manera que pueda dañar, deshabilitar o perjudicar el sitio web","No debe intentar obtener acceso no autorizado a ninguna parte del sitio web"]},ip:{title:"Propiedad Intelectual",content:"Todo el contenido de este sitio web, incluyendo pero no limitado a textos, gráficos, logotipos, imágenes y software, es propiedad de UNIC MARINE o de sus proveedores de contenido y está protegido por las leyes internacionales de derechos de autor."},liability:{title:"Limitación de Responsabilidad",content:"UNIC MARINE proporciona este sitio web 'tal cual' sin garantÃas de ningún tipo. No seremos responsables de ningún daño directo, indirecto, incidental o consecuente que surja del uso de este sitio web."},links:{title:"Enlaces Externos",content:"Este sitio web puede contener enlaces a sitios web externos. No somos responsables del contenido o las prácticas de privacidad de estos sitios externos."},changes:{title:"Cambios en los Términos",content:"Nos reservamos el derecho de modificar estos términos en cualquier momento. Los cambios serán efectivos inmediatamente después de su publicación en este sitio web. El uso continuado del sitio constituye la aceptación de los términos modificados."},law:{title:"Ley Aplicable",content:"Estos términos se rigen e interpretan de acuerdo con las leyes de España. Cualquier disputa que surja de estos términos estará sujeta a la jurisdicción exclusiva de los tribunales de Palma de Mallorca, España."}}},legal:{title:"Aviso Legal",subtitle:"Legal Notice",sections:{owner:{title:"Titular del Sitio Web",content:"En cumplimiento de la Ley Española 34/2002 de Servicios de la Sociedad de la Información y del Comercio Electrónico (LSSI-CE), proporcionamos la siguiente información:",company:"UNIC MARINE",address:"Carrer Prudenci Rovira, 20 Nave 14",city:"07011 Palma de Mallorca, Baleares, España",email:"[email protected]",phone:"+34 649 780 736"},purpose:{title:"Finalidad del Sitio Web",content:"Este sitio web ha sido creado para proporcionar información sobre los servicios de UNIC MARINE en el sector náutico, incluyendo armamento para yates, mecanizado CNC y consultorÃa en retrofitting eléctrico."},ip:{title:"Propiedad Intelectual",content:"Todos los derechos sobre el contenido de este sitio web, incluyendo textos, imágenes, gráficos, logotipos, iconos y software, son propiedad de UNIC MARINE o de terceros que han autorizado su uso. Queda prohibida la reproducción, distribución o comunicación pública sin autorización expresa."},responsibility:{title:"Responsabilidad",content:"UNIC MARINE no es responsable de los daños que puedan derivarse del uso de este sitio web, incluyendo virus informáticos o fallos técnicos. Nos esforzamos por mantener la información actualizada y precisa pero no garantizamos su integridad o exactitud."},links:{title:"PolÃtica de Enlaces",content:"Este sitio web puede contener enlaces a sitios web de terceros. UNIC MARINE no es responsable del contenido, las polÃticas de privacidad o las prácticas de estos sitios externos."},jurisdiction:{title:"Jurisdicción",content:"Para cualquier disputa que surja del uso de este sitio web, será de aplicación la ley española, con competencia de los tribunales de Palma de Mallorca."}}},sitemap:{title:"Mapa del Sitio",description:"Encuentra todas las páginas disponibles en nuestro sitio web",sections:{main:"Páginas Principales",legal:"Información Legal",services:"Servicios"}},aboutPage:{title:"Sobre Nosotros",subtitle:"Conoce al equipo de UNIC MARINE",intro:{title:"Quiénes Somos",content:"UNIC MARINE nació de una pasión por la náutica
1y un compromiso con la excelencia. Con sede en Palma de Mallorca, combinamos artesanÃa tradicional con tecnologÃa de vanguardia para ofrecer servicios marinos excepcionales."},mission:{title:"Nuestra Misión",content:"Proporcionar a propietarios de yates y profesionales marÃtimos soluciones innovadoras y de alta calidad que prolongan la vida y mejoran el rendimiento de sus embarcaciones. Creemos en construir relaciones duraderas basadas en confianza, transparencia y servicio excepcional."},team:{title:"Nuestro Equipo",alex:{name:"Alex Casares",role:"Co-Fundador & Capitán",bio:"Capitán de Yate y Oficial de la Marina Mercante. Licenciado en Náutica y Transporte MarÃtimo por la Facultad de Náutica de Barcelona. Presidente de ADNEA (Asociación para el Desarrollo Náutico de Empresas y Autónomos). Con amplia experiencia en la industria marÃtima, Alex ha fundado múltiples empresas exitosas en las Islas Baleares."},laura:{name:"Laura Subirats",role:"Co-Fundadora & Project Manager",bio:"Capitán de Yate. Licenciada en Náutica y Transporte MarÃtimo por la Facultad de Náutica de Barcelona. Con un ojo agudo para el detalle, Laura supervisa la gestión de proyectos y consultorÃa de interiores, garantizando que cada proyecto se entregue con precisión y cumpla los más altos estándares de calidad."}},adnea:{eyebrow:"Liderazgo en el sector",title:"Orgullosamente parte de ADNEA",content:"Alex Casares es Presidente de ADNEA â la Asociación para el Desarrollo Náutico de Empresas y Autónomos â una entidad que promueve la excelencia, la innovación y el crecimiento profesional en el sector náutico español."},location:{title:"Ubicación Estratégica",content:"Nuestras instalaciones en Palma de Mallorca nos sitúan en el corazón de la náutica mediterránea. Las Islas Baleares son un destino privilegiado para yates de lujo, permitiéndonos servir a clientes de todo el mund
1o con comodidad y eficiencia."},values:{title:"Nuestros Valores",quality:{title:"Calidad Primero",content:"Nunca comprometemos materiales ni mano de obra. Cada componente que manejamos se trata con el máximo cuidado y precisión."},innovation:{title:"Innovación Continua",content:"Nos mantenemos a la vanguardia de la tecnologÃa marina, actualizando constantemente métodos y equipos para ofrecer los mejores resultados."},trust:{title:"Construir Confianza",content:"Transparencia y comunicación honesta son la base de nuestras relaciones con clientes. Te mantenemos informado en cada paso."}},cta:{title:"¿Listo para Colaborar?",content:"Contáctanos para discutir tus requisitos y descubrir cómo UNIC MARINE puede ayudarte.",button:"Contactar"}},servicesPage:{backToServices:"Volver a Servicios",otherServices:"Otros Servicios",contactCta:"¿Interesado en este servicio?",contactButton:"Contáctanos",fittings:{title:"Servicios de Fittings para Yates",subtitle:"Soluciones completas de desmontaje, mantenimiento, almacenaje y reparación",intro:"En UNIC MARINE nos especializamos en servicios integrales de fittings náuticos, desde desmontaje profesional hasta reparación experta. Nuestro enfoque meticuloso garantiza que cada componente se maneje con cuidado y precisión.",services:{dismantling:{title:"Desmontaje Profesional",content:"Nuestro equipo de expertos desmonta cuidadosamente los fittings del yate, documentando y catalogando cada componente. Usamos herramientas y técnicas especializadas para prevenir daños.",features:["Extracción sistemática y etiquetado de componentes","Documentación fotográfica detallada","Gestión digital de inventario","Embalaje protector para transporte"]},maintenance:{title:"Mantenimiento & Inspección",content:"El mantenimiento regular prolonga la vida de tus fittings y previene fallos costosos. Nuestros servicios de inspección identifican desgaste, corrosión y problemas potenciales.",features:["Inspección visual y mecánica exhaustiva","Evaluación y tratamiento de corrosión","Análisis de desgaste y recomendaciones","Programas de mantenimiento preventivo"]},storage:{title:"Almacenaje Climatizado",content:"Nuestras instalaciones de almacenaje ofrecen condiciones óptimas para tus valiosos fittings. El control climático previene corrosión y degradación.",features:["Ambiente con temperatura y humedad controladas","Espacios seguros asignados individualmente","Monitorización e inspección regular","Fácil recuperación y seguimiento de inventario"]},repair:{title:"Reparación & Restauración Experta",content:"Desde reparaciones menores hasta restauración completa, nuestros técnicos cualificados devuelven los fittings dañados a su condición original o mejor.",features:["Reparación mecánica y reacondicionamiento","Acabado superficial y pulido","Reemplazo y mejora de hardware","Pruebas de calidad antes de devolución"]}},materials:{title:"Materiales con los que Trabajamos",list:["Acero Inoxidable","Bronce","Latón","Aluminio","Cromo","Titanio"]}},cnc:{title:"Mecanizado CNC",subtitle:"Fabricación de precisión para componentes de yates personalizados",intro:"Nuestro centro de mecanizado CNC de última generación produce componentes de precisión para las aplicaciones marinas más exigentes. Desde piezas únicas hasta series de producción, combinamos experiencia técnica con tecnologÃa de fabricación avanzada.",capabilities:{title:"Nuestras Capacidades",milling:{title:"Fresado CNC",content:"Fresado CNC multieje para geometrÃas complejas y tolerancias ajustadas. Producimos desde simples soportes hasta hardware personalizado intrincado."},turning:{title:"Torneado CNC",content:"Trabajo de precisión en torno para componentes cilÃndricos, ejes, casquillos y accesorios especializados."},finishing:{title:"Acabado Superficial",content:"Servicios completos de acabado incluyendo pulido, cepillado, preparación para anodizado y recubrimientos protectores."}},materials:{title:"Materiales",list:[{name:"Acero Inoxidable",grades:"316L, 304, Dúplex",description:"Ideal para hardware marino resistente a la corrosión"},{name:"Aluminio",grades:"6061-T6, 7075, Grado Marino",description:"Componentes ligeros con excelente resistencia"},{name:"Bronce",grades:"Bronce Fosforoso, Bronce al Aluminio",description:"Hardware marino tradicional con superior resistencia a la corrosión"},{name:"Latón",grades:"Latón Naval, Latón de Corte Libre",description:"Accesorios decorativos y funcionales"},{name:"Titanio",grades:"Grado 2, Grado 5",description:"Aplicaciones ultra-ligeras de alta resistencia"},{name:"Composites",grades:"Fibra de Carbono, Fibra de Vidrio, Aramida",description:"Materiales ligeros de alto rendimiento para aplicaciones náuticas avanzadas"}]},precision:{title:"Estándares de Precisión",content:"Alcanzamos tolerancias de hasta ±0.01mm, cumpliendo los requisitos más exigentes de la construcción de yates de lujo. Cada pieza pasa por riguroso control de calida
1d."},machine:{eyebrow:"Nuestra maquinaria",title:"DOOSAN DVF 5000",subtitle:"Centro de mecanizado CNC de 5 ejes",content:"La DOOSAN DVF 5000 es un centro de mecanizado de 5 ejes de última generación que nos permite fabricar piezas complejas con precisión excepcional en un único setup. La primera de su tipo dedicada al sector náutico en las Islas Baleares.",specs:{axes:"5 ejes simultáneos",precision:"Tolerancias de alta precisión",versatility:"GeometrÃas complejas en un solo setup"},mediaPlaceholder:"Fotos y videos próximamente"},gallery:{title:"Nuestros Trabajos",subtitle:"Una selección de piezas de precisión fabricadas en nuestro taller para el sector náutico."},applications:{title:"Aplicaciones Comunes",list:["Hardware de cubierta personalizado","Repuestos para yates clásicos","Desarrollo de prototipos","TornillerÃa y accesorios especiales","Hardware y accesorios de interior","Soportes para equipos de navegación"]}},electrical:{title:"ConsultorÃa de Retrofits Eléctricos",subtitle:"Modernización de sistemas eléctricos náuticos",intro:"Navega las complejidades de la modernización eléctrica de yates con nuestros servicios de consultorÃa experta. Analizamos, diseñamos y guiamos la implementación de mejoras eléctricas que aumentan seguridad, eficiencia y funcionalidad.",services:{assessment:{title:"Evaluación del Sistema",content:"Evaluación integral de sistemas eléctricos existentes para identificar ineficiencias, problemas de seguridad y oportunidades de mejora.",features:["AuditorÃa completa del sistema eléctrico","Análisis de cargas y planificación de capacidad","Evaluación de cumplimiento de seguridad","Evaluación de eficiencia energética"]},design:{title:"Diseño de Mejoras",content:"Diseño eléctrico personalizado para proyectos de modernización, desde actualizaciones simples hasta revisiones completas del sistema.",features:["Esquemas eléctricos detallados","Especificación de componentes","Planificación de integración de nuevos sistemas","Provisión para expansiones futuras"]},compliance:{title:"Cumplimiento Normativo",content:"Mantente al dÃa con las normativas eléctricas marÃtimas y requisitos de clasificación. Te guiamos a través de los procesos de certificación.",features:["Requisitos de sociedades clasificadoras","Normativas de bandera","Cumplimiento de seguros","Preparación de documentación"]},implementation:{title:"Soporte de Implementación",content:"Soporte técnico en sitio durante la ejecución del retrofit. Trabajamos junto a tu equipo de instalación para garantizar la correcta implementación.",features:["Supervisión de instalación","Inspección de control de calidad","Soporte de puesta en marcha","Formación de tripulación"]}},focus:{title:"Ãreas de Enfoque",list:["Mejoras de sistemas de baterÃas y conversiones a litio","Infraestructura de shore power y carga","Sistemas de navegación y comunicación","Mejoras de iluminación a tecnologÃa LED","Sistemas de generador e inversor","Monitorización inteligente y automatización"]}}},press:{eyebrow:"En las noticias",title:"Prensa y Medios",desc:"Descubre lo que dicen los medios sobre nuestras últimas innovaciones en el sector náutico.",readArticle:"Leer artÃculo",articles:{ultimahora:{title:"UNIC MARINE revoluciona la industria náutica balear con la llegada de una máquina de última generación"},economiademallorca:{title:"Llega a Palma la primera y única máquina de mecanizado de precisión para el sector náutico"},cadenaser:{title:"Baleares estrena la primera máquina de corte de cinco ejes para fabricar piezas industriales complejas"},mallorcadiario:{title:"Mallorca deja de depender de la penÃnsula para fabricar piezas náuticas"},diariodemallorca:{title:"El sector náutico de Baleares se moderniza para afrontar nuevos retos"}}}}},de:{translation:{brand:"UNIC MARINE",tagline:"Yacht & commercial marine solutions",nav:{home:"Startseite",about:"Ãber uns",services:"Leistungen",contact:"Kontakt",privacy:"Datenschutz",cookies:"Cookie-Richtlinie",terms:"AGB",legal:"Impressum",sitemap:"Sitemap"},hero:{title:"Willkommen bei UNIC MARINE",subtitle:"Ihr vertrauenswürdiger Partner im nautischen Sektor auf den Balearen, mit fundierter Erfahrung, die uns zu einem führenden Unternehmen der Branche gemacht hat.",cta:"Entdecken Sie unsere Leistungen"},company:{eyebrow:"Ãber uns",title:"Unser Unternehmen & Vision",intro:"Mit Sitz in Palma de Mallorca, dem Herzen der mediterranen Yachtbranche, bieten wir innovative Lösungen für Yacht-Fittings-Demontage, spezialisierte Bearbeitung und Beratung für elektrische Retrofits.",cards:{specializedTeam:{title:"Spezialisiertes Team",desc:"Ein hochqualifiziertes Team mit technischem Know-how für komplexe Marine-Projekte mit Präzision und Zuverlässigkeit."},attentionToDetail:{title:"Liebe zum Detail",desc:"Von der Planung bis zur Ausführungâjeder Schritt erfolgt mit höchster Präzision und Respekt für das Schiff."},excellence:{title:"Exzellenz",desc:"Wir streben nach höchsten Standards bei Materialien, Handwerk und Ergebnissenâohne Kompromisse."},newConcept:{title:"Innovativer Ansatz",desc:"Eine moderne Vision für Marine-Services, die bewährte Erfahrung mit neuester Technologie verbindet."}}},services:{eyebrow:"Was wir tun",title:"Unsere Leistungen",desc:"Komfort, Präzision und Exklusivität für die anspruchsvollsten Kunden. Entdecken Sie, was uns im nautischen Bereich einzigartig macht.",menu:{fittings:"Fittings",cnc:"CNC-Bearbeitung",retrofits:"Elektrische Retrofits"}
1,cards:{fittings1:{title:"Fittings-Demontage",subtitle:"Professionelle Demontage",desc:"Professionelle Demontage von Yacht-Fittings mit sorgfältiger Katalogisierung und Dokumentation jedes Teils, Vorbereitung der Komponenten für Lagerung oder Reparatur."},fittings2:{title:"Fittings-Wartung",subtitle:"Lagerung & Reparatur",subtitle2:"",desc:"Umfassende Wartungsservices einschlieÃlich klimatisierter Lagerung und spezialisierter Reparatur zur Wiederherstellung der Komponenten in ihren Originalzustand."},cnc:{title:"CNC-Bearbeitung",subtitle:"Hochpräzision",desc:"Hochpräzise CNC-Bearbeitung von Edelstahl, Aluminium, Bronze und Messing. MaÃgefertigte Teile für Yachten mit engen Toleranzen, vom Prototyping bis zur Produktion."},consultancy:{title:"Elektrische Retrofits",subtitle:"Beratung",desc:"Expertenanalyse bestehender elektrischer Systeme, Upgrade-Design und Beratung zu Vorschriften und Zertifizierungen für die Yacht-Modernisierung."}},read:"Mehr erfahren"},contact:{eyebrow:"Kontakt",title:"Kontakt aufnehmen",subtitle:"Senden Sie uns eine Nachrichtâwir melden uns so schnell wie möglich.",formTitle:"Nachricht senden",form:{name:"Name",email:"E-Mail",message:"Nachricht",send:"Senden",sending:"Wird gesendet..."},success:{title:"Nachricht gesendet!",message:"Vielen Dank für Ihre Nachricht. Wir werden uns bald bei Ihnen melden."}},footer:{rights:"Alle Rechte vorbehalten."},instagram:{eyebrow:"Folgen Sie uns",title:"Neuestes von Instagram",subtitle:"Bleiben Sie auf dem Laufenden über unsere neuesten Projekte und Einblicke hinter die Kulissen",followUs:"Folgen Sie uns auf Instagram"},privacy:{title:"Datenschutzerklärung",lastUpdate:"Letzte Aktualisierung",sections:{intro:{title:"Einleitung",content:"UNIC MARINE verpflichtet sich zum Schutz Ihrer Privatsphäre. Diese Datenschutzerklärung erklärt, wie wir Ihre personenbezogenen Daten gemäà der Datenschutz-Grundverordnung (DSGVO) und dem spanischen Organgesetz 3/2018 zum Schutz personenbezogener Daten (LOPDGDD) erheben, verwenden und schützen."},controller:{title:"Verantwortlicher",content:"Der für Ihre personenbezogenen Daten Verantwortliche ist:",company:"UNIC MARINE",address:"Carrer Prudenci Rovira, 20 Nave 14, 07011 Palma de Mallorca, Balearen, Spanien",email:"[email protected]",phone:"+34 649 780 736"},dataCollected:{title:"Erhobene Daten",content:"Wir erheben personenbezogene Daten, die Sie freiwillig über unser Kontaktformular bereitstellen:",items:["Name","E-Mail-Adresse","Nachrichteninhalt"]},purpose:{title:"Verarbeitungszwecke",content:"Wir verarbeiten Ihre personenbezogenen Daten für folgende Zwecke:",items:["Beantwortung Ihrer Anfragen","Bereitstellung von Informationen über unsere Dienstleistungen","Pflege der Kommunikation bezüglich möglicher Geschäftsbeziehungen"]},legalBasis:{title:"Rechtsgrundlage",content:"Die Rechtsgrundlage für die Verarbeitung Ihrer Daten ist:",items:["Ihre Einwilligung beim Absenden des Kontaktformulars","Unser berechtigtes Interesse an der Beantwortung geschäftlicher Anfragen"]},retention:{title:"Datenspeicherung",content:"Wir speichern Ihre personenbezogenen Daten so lange, wie es zur Erfüllung der Zwecke erforderlich ist, in der Regel nicht länger als 2 Jahre nach Ihrer letzten Interaktion mit uns, es sei denn, eine längere Aufbewahrungsfrist ist gesetzlich vorgeschrieben."},rights:{title:"Ihre Rechte",content:"Gemäà DSGVO und LOPDGDD haben Sie folgende Rechte:",items:["Recht auf Auskunft über Ihre personenbezogenen Daten","Recht auf Berichtigung unrichtiger Daten","Recht auf Löschung ('Recht auf Vergessenwerden')","Recht auf Einschränkung der Verarbeitung","Recht auf Datenübertragbarkeit","Widerspruchsrecht gegen die Verarbeitung","Recht auf jederzeitigen Widerruf der Einwilligung"],exercise:"Um diese Rechte auszuüben, kontaktieren Sie uns unter [email protected]"},thirdParties:{title:"Weitergabe an Dritte",content:"Wir verkaufen, tauschen oder übertragen Ihre personenbezogenen Daten nicht an Dritte. Ihre Daten können nur mit Dienstleistern geteilt werden, die uns beim Betrieb unserer Website unterstützen, sofern sie zustimmen, diese Informationen vertraulich zu behandeln."},security:{title:"Datensicherheit",content:"Wir setzen geeignete te
1chnische und organisatorische MaÃnahmen ein, um Ihre personenbezogenen Daten vor unbefugtem Zugriff, Ãnderung, Offenlegung oder Zerstörung zu schützen."},authority:{title:"Aufsichtsbehörde",content:"Wenn Sie der Meinung sind, dass Ihre Datenschutzrechte verletzt wurden, haben Sie das Recht, eine Beschwerde bei der Spanischen Datenschutzbehörde (AEPD) unter www.aepd.es einzureichen."}}},cookies:{title:"Cookie-Richtlinie",lastUpdate:"Letzte Aktualisierung",sections:{intro:{title:"Was sind Cookies?",content:"Cookies sind kleine Textdateien, die auf Ihrem Gerät gespeichert werden, wenn Sie eine Website besuchen. Sie helfen der Website, Ihre Präferenzen zu speichern und Ihr Browsererlebnis zu verbessern."},types:{title:"Arten von Cookies, die wir verwenden",necessary:{title:"Unbedingt erforderliche Cookies",content:"Diese Cookies sind für das ordnungsgemäÃe Funktionieren der Website unerlässlich. Sie ermöglichen grundlegende Funktionen wie Seitennavigation und Zugang zu sicheren Bereichen. Die Website kann ohne diese Cookies nicht richtig funktionieren."},preferences:{title:"Präferenz-Cookies",content:"Diese Cookies ermöglichen es der Website, Ihre Einstellungen (wie Ihre bevorzugte Sprache) zu speichern, um ein personalisierteres Erlebnis zu bieten."},thirdParty:{title:"Cookies von Drittanbietern",content:"Unsere Website bindet Google Maps ein, um unseren Standort anzuzeigen. Google kann Cookies setzen, wenn Sie mit der Karte interagieren. Weitere Informationen zu den Cookie-Praktiken von Google finden Sie in der Datenschutzerklärung von Google."}},manage:{title:"Cookies verwalten",content:"Sie können Cookies über Ihre Browsereinstellungen kontrollieren und löschen. Bitte beachten Sie, dass das Deaktivieren von Cookies die Funktionalität dieser Website beeinträchtigen kann.",browsers:"Die meisten Browser ermöglichen es Ihnen:",items:["Gespeicherte Cookies anzuzeigen und einzeln zu löschen","Cookies von Drittanbietern zu blockieren","Cookies von bestimmten Websites zu blockieren","Alle Cookies zu blockieren","Alle Cookies beim SchlieÃen des Browsers zu löschen"]},consent:{title:"Ihre Einwilligung",content:"Durch die Nutzung unserer Website stimmen Sie der Verwendung von Cookies gemäà dieser Cookie-Richtlinie zu. Sie können Ihre Einwilligung jederzeit widerrufen, indem Sie Cookies über Ihre Browsereinstellungen löschen oder unser Cookie-Einstellungspanel verwenden."}},banner:{message:"Wir verwenden Cookies, um Ihr Browsererlebnis zu verbessern und den Website-Traffic zu analysieren. Durch Klicken auf 'Alle akzeptieren' stimmen Sie unserer Verwendung von Cookies zu.",acceptAll:"Alle akzeptieren",rejectAll:"Alle ablehnen",customize:"Anpassen",savePreferences:"Einstellungen speichern",necessary:"Erforderlich",preferences:"Präferenzen",thirdParty:"Drittanbieter"}},terms:{title:"Allgemeine Geschäftsbedingungen",lastUpdate:"Letzte Aktualisierung",sections:{intro:{title:"Einleitung",content:"Diese Allgemeinen Geschäftsbedingungen regeln die Nutzung der UNIC MARINE Website. Durch den Zugriff auf und die Nutzung dieser Website akzeptieren Sie diese Bedingungen."},use:{title:"Nutzung der Website",content:"Diese Website dient ausschlieÃlich Informationszwecken. Der Inhalt soll allgemeine Informationen über UNIC MARINE und seine Dienstleistungen bereitstellen.",items:["Sie dürfen diese Website nur für rechtmäÃige Zwecke nutzen","Sie dürfen diese Website nicht in einer Weise nutzen, die sie beschädigen, deaktivieren oder beeinträchtigen könnte","Sie dürfen nicht versuchen, unbefugten Zugang zu Teilen der Website zu erlangen"]},ip:{title:"Geistiges Eigentum",content:"Alle Inhalte dieser Website, einschlieÃlich, aber nicht beschränkt auf Texte, Grafiken, Logos, Bilder und Software, sind Eigentum von UNIC MARINE oder seiner Inhaltsanbieter und durch internationale Urheberrechtsgesetze geschützt."},liability:{title:"Haftungsbeschränkung",content:"UNIC MARINE stellt diese Website ohne jegliche Gewährleistung zur Verfügung. Wir haften nicht für direkte, indirekte, zufällige oder Folgeschäden, die aus der Nutzung dieser Website entstehen."},links:{title:"Externe Links",content:"Diese Website kann Links zu externen Websites enthalten. Wir sind nicht verantwortlich für den Inhalt oder die Datenschutzpraktiken dieser externen Websites."},changes:{title:"Ãnderungen der Bedingungen",content:"Wir behalten uns das Recht vor, diese Bedingungen jederzeit zu ändern. Ãnderungen werden sofort nac
1h Veröffentlichung auf dieser Website wirksam. Die weitere Nutzung der Website gilt als Annahme der geänderten Bedingungen."},law:{title:"Anwendbares Recht",content:"Diese Bedingungen unterliegen spanischem Recht. Alle Streitigkeiten aus diesen Bedingungen unterliegen der ausschlieÃlichen Zuständigkeit der Gerichte von Palma de Mallorca, Spanien."}}},legal:{title:"Impressum",subtitle:"Aviso Legal",sections:{owner:{title:"Website-Betreiber",content:"In Ãbereinstimmung mit dem spanischen Gesetz 34/2002 über Dienste der Informationsgesellschaft und elektronischen Handel (LSSI-CE) stellen wir folgende Informationen bereit:",company:"UNIC MARINE",address:"Carrer Prudenci Rovira, 20 Nave 14",city:"07011 Palma de Mallorca, Balearen, Spanien",email:"[email protected]",phone:"+34 649 780 736"},purpose:{title:"Zweck der Website",content:"Diese Website wurde erstellt, um Informationen über die Dienstleistungen von UNIC MARINE im nautischen Bereich bereitzustellen, einschlieÃlich Yacht-Fittings, CNC-Bearbeitung und Beratung für elektrische Retrofits."},ip:{title:"Geistiges Eigentum",content:"Alle Rechte an den Inhalten dieser Website, einschlieÃlich Texte, Bilder, Grafiken, Logos, Icons und Software, sind Eigentum von UNIC MARINE oder Dritten, die ihre Nutzung autorisiert haben. Vervielfältigung, Verbreitung oder öffentliche Kommunikation ohne ausdrückliche Genehmigung ist untersagt."},responsibility:{title:"Verantwortung",content:"UNIC MARINE ist nicht verantwortlich für Schäden, die aus der Nutzung dieser Website entstehen können, einschlieÃlich Computerviren oder technischer Fehler. Wir bemühen uns, die Informationen aktuell und korrekt zu halten, garantieren jedoch nicht ihre Vollständigkeit oder Genauigkeit."},links:{title:"Link-Richtlinie",content:"Diese Website kann Links zu Websites Dritter enthalten. UNIC MARINE ist nicht verantwortlich für den Inhalt, die Datenschutzrichtlinien oder die Praktiken dieser externen Websites."},jurisdiction:{title:"Gerichtsstand",content:"Für alle Streitigkeiten aus der Nutzung dieser Website gilt spanisches Recht mit Zuständigkeit der Gerichte von Palma de Mallorca."}}},sitemap:{title:"Sitemap",description:"Finden Sie alle verfügbaren Seiten auf unserer Website",sections:{main:"Hauptseiten",legal:"Rechtliche Informationen",services:"Leistungen"}},aboutPage:{title:"Ãber Uns",subtitle:"Lernen Sie das Team von UNIC MARINE kennen",intro:{title:"Wer Wir Sind",content:"UNIC MARINE entstand aus einer Leidenschaft für den Yachtsport und einem Engagement für Exzellenz. Mit Sitz in Palma de Mallorca verbinden wir traditionelles Handwerk mit modernster Technologie für auÃergewöhnliche Marinedienstleistungen."},mission:{title:"Unsere Mission",content:"Yachteignern und Seefahrtsprofis innovative, hochwertige Lösungen zu bieten, die die Lebensdauer verlängern und die Leistung ihrer Schiffe verbessern. Wir glauben an den Aufbau dauerhafter Beziehungen basierend auf Vertrauen, Transparenz und auÃergewöhnlichem Service."},team:{title:"Unser Team",alex:{name:"Alex Casares",role:"Mitgründer & Kapitän",bio:"Yachtkapitän und Offizier der Handelsmarine. Diplom in Nautik und Seetransport an der Nautischen Fakultät von Barcelona. Präsident von ADNEA (Verband für die nautische Entwicklung von Unternehmen und Selbstständigen). Mit umfangreicher Erfahrung in der maritimen Industrie hat Alex mehrere erfolgreiche Unternehmen auf den Balearen gegründet."},laura:{name:"Laura Subirats",role:"Mitgründerin & Projektmanagerin",bio:"Yachtkapitänin. Diplom in Nautik und Seetransport an der Nautischen Fakultät von Barcelona. Mit einem scharfen Auge für Details überwacht Laura das Projektmanagement und die Inne
1nraumberatung und sorgt dafür, dass jedes Projekt mit Präzision geliefert wird und höchste Qualitätsstandards erfüllt."}},adnea:{eyebrow:"Branchenführerschaft",title:"Stolzes Mitglied von ADNEA",content:"Alex Casares ist Präsident von ADNEA â dem Verband für die nautische Entwicklung von Unternehmen und Selbstständigen â einer Organisation, die Exzellenz, Innovation und berufliche Weiterentwicklung im spanischen Nautiksektor fördert."},location:{title:"Strategische Lage",content:"Unsere Einrichtungen in Palma de Mallorca positionieren uns im Herzen der mediterranen Yachtwelt. Die Balearen sind ein erstklassiges Ziel für Luxusyachten und ermöglichen uns, Kunden weltweit mit Komfort und Effizienz zu bedienen."},values:{title:"Unsere Werte",quality:{title:"Qualität Zuerst",content:"Wir machen niemals Kompromisse bei Materialien oder Handwerkskunst. Jede Komponente, die wir bearbeiten, wird mit gröÃter Sorgfalt und Präzision behandelt."},innovation:{title:"Kontinuierliche Innovation",content:"Wir bleiben an der Spitze der Marinetechnologie und aktualisieren ständig unsere Methoden und Ausrüstung für beste Ergebnisse."},trust:{title:"Vertrauen Aufbauen",content:"Transparenz und ehrliche Kommunikation sind die Grundlage unserer Kundenbeziehungen. Wir halten Sie bei jedem Schritt auf dem Laufenden."}},cta:{title:"Bereit zur Zusammenarbeit?",content:"Kontaktieren Sie uns, um Ihre Projektanforderungen zu besprechen und zu erfahren, wie UNIC MARINE helfen kann.",button:"Kontakt aufnehmen"}},servicesPage:{backToServices:"Zurück zu Leistungen",otherServices:"Weitere Leistungen",contactCta:"Interessiert an diesem Service?",contactButton:"Kontaktieren Sie uns",fittings:{title:"Yacht Fittings Services",subtitle:"Komplette Demontage-, Wartungs-, Lagerungs- und Reparaturlösungen",intro:"Bei UNIC MARINE sind wir auf umfassende Yacht-Fittings-Services spezialisiert, von der professionellen Demontage bis zur fachkundigen Reparatur. Unser sorgfältiger Ansatz gewährleistet, dass jede Komponente mit Sorgfalt und Präzision behandelt wird.",services:{dismantling:{title:"Professionelle Demontage",content:"Unser Expertenteam demontiert sorgfältig Yacht-Fittings, dokumentiert und katalogisiert jede Komponente. Wir verwenden spezielle Werkzeuge und Techniken zur Schadensvermeidung.",features:["Systematische Komponentenentfernung und Beschriftung","Detaillierte fotografische Dokumentation","Digitale Bestandsverwaltung","Schutzverpackung für Trans
1port"]},maintenance:{title:"Wartung & Inspektion",content:"RegelmäÃige Wartung verlängert die Lebensdauer Ihrer Fittings und verhindert kostspielige Ausfälle. Unsere Inspektionsdienste identifizieren VerschleiÃ, Korrosion und potenzielle Probleme.",features:["Gründliche visuelle und mechanische Inspektion","Korrosionsbewertung und -behandlung","VerschleiÃanalyse und Empfehlungen","Präventive Wartungspläne"]},storage:{title:"Klimatisierte Lagerung",content:"Unsere speziell gebauten Lagereinrichtungen bieten optimale Bedingungen für Ihre wertvollen Fittings. Klimakontrolle verhindert Korrosion und Degradation.",features:["Temperatur- und feuchtigkeitskontrollierte Umgebung","Sichere, individuell zugewiesene Räume","RegelmäÃige Ãberwachung und Inspektion","Einfache Entnahme und Bestandsverfolgung"]},repair:{title:"Fachkundige Reparatur & Restaurierung",content:"Von kleineren Reparaturen bis zur vollständigen Restaurierung bringen unsere qualifizierten Techniker beschädigte Fittings in den Originalzustand oder besser zurück.",features:["Mechanische Reparatur und Aufarbeitung","Oberflächenveredelung und Polieren","Hardware-Ersatz und Upgrades","Qualitätstests vor Rückgabe"]}},materials:{title:"Materialien, mit denen wir arbeiten",list:["Edelstahl","Bronze","Messing","Aluminium","Chrom","Titan"]}},cnc:{title:"CNC-Bearbeitung",subtitle:"Präzisionsfertigung für individuelle Yachtkomponenten",intro:"Unser hochmodernes CNC-Bearbeitungszentrum liefert präzisionsgefertigte Komponenten für die anspruchsvollsten Marineanwendungen. Von Einzelstücken bis zu Serienproduktionen kombinieren wir technisches Know-how mit fortschrittlicher Fertigungstechnologie.",capabilities:{title:"Unsere Fähigkeiten",milling:{title:"CNC-Fräsen",content:"Mehrachsiges CNC-Fräsen für komplexe Geometrien und enge Toleranzen. Wir fertigen alles von einfachen Halterungen bis zu komplexer Spezialhardware."},turning:{title:"CNC-Drehen",content:"Präzisions-Dreharbeiten für zylindrische Komponenten, Wellen, Buchsen und Spezialfittings."},finishing:{title:"Oberflächenbearbeitung",content:"Komplette Veredelungsdienste einschlieÃlich Polieren, Bürsten, Anodisierungsvorbereitung und Schutzbeschichtungen."}},materials:{title:"Materialien",list:[{name:"Edelstahl",grades:"316L, 304, Duplex",description:"Ideal für korrosionsbeständige Marinehardware"},{name:"Aluminium",grades:"6061-T6, 7075, Marinequalität",description:"Leichte Komponenten mit ausgezeichneter Festigkeit"},{name:"Bronze",grades:"Phosphorbronze, Aluminiumbronze",description:"Traditionelle Marinehardware mit überlegener Korrosionsbeständigkeit"},{name:"Messing",grades:"Marinmessing, Automatenmessing",description:"Dekorative und funktionale Fittings"},{name:"Titan",grades:"Grade 2, Grade 5",description:"Ultraleichte Hochleistungsanwendungen"},{name:"Composites",grades:"Kohlefaser, Glasfaser, Aramid",description:"Leichte Hochleistungsmaterialien für anspruchsvolle nautische Anwendungen"}]},precision:{title:"Präzisionsstandards",content:"Wir erreichen Toleranzen bis zu ±0,01mm und erfüllen die anspruchsvollsten Anforderungen des Luxusyachtbaus. Jedes Teil durchläuft strenge Qualitätskontrolle."},machine:{eyebrow:"Unsere Maschinen",title:"DOOSAN DVF 5000",subtitle:"5-Achsen CNC-Bearbeitungszentrum",content:"Die DOOSAN DVF 5000 ist ein hochmodernes 5-Achsen-Bearbeitungszentrum, mit dem wir komplexe Teile mit auÃergewöhnlicher Präzision in einem einzigen Setup herstellen können. Die erste ihrer Art, die dem nautischen Sektor auf den Balearen gewidmet ist.",specs:{axes:"5 simultane Achsen",precision:"Hochpräzise Toleranzen",versatility:"Komplexe Geometrien in einem Setup"},mediaPlaceholder:"Fotos und Videos in Kürze"},gallery:{title:"Unsere Arbeiten",subtitle:"Eine Auswahl präzisionsgefertigter Teile, die in unserer Werkstatt für den nautischen Sektor hergestellt wurden."},applications:{title:"Gängige Anwendungen",list:["Individuelle Deckhardware","Ersatzteile für klassische Yachten","Prototypenentwicklung","Spezielle Befestigungen und Fittings","Innenausstattung und Beschläge","Halterungen für Navigationsausrüstung"]}},electrical:{title:"Beratung Elektrische Retrofits",subtitle:"Modernisierung von Yacht-Elektrosystemen",intro:"Navigieren Sie die Komplexitäten der elektrischen Yacht-Modernisierung mit unseren fachkundigen Beratungsdiensten. Wir analysieren, entwerfen und begleiten die Umsetzung elektrischer Upgrades, die Sicherheit, Effizienz und Funktionalität verbessern.",services:{assessment:{title:"Systembeurteilung",content:"Umfassende Bewertung bestehender Elektrosysteme zur Identifizierung von Ineffizienzen, Sicherheitsbedenken und Upgrade-Möglichkeiten.",features:["Vollständiges Elektrosystem-Audit","Lastanalyse und Kapazitätsplanung","Sicherheitskonformitätsbewertung","Energieeffizienzbewertung"]},design:{title:"Upgrade-Design",content:"MaÃgeschneidertes Elektrodesign für Modernisierungsprojekte, von einfachen Updates bis zu kompletten Systemüberholungen.",features:["Detaillierte Elektroschaltpläne","Komponentenspezifikation","Integrationsplanung für neue Systeme","Vorkehrungen für zukünftige Erweiterungen"]},compliance:{title:"Regulatorische Konformität",content:"Bleiben Sie auf dem neuesten Stand der maritimen Elektrovorschriften und Klassifikationsanforderungen. Wir führen Sie durch Zertifizierungsprozesse.",features:["Anforderungen der Klassifikationsgesellschaften","Flaggenstaatsvorschriften","Versicherungskonformität","Dokumentationsvorbereitung"]},implementation:{title:"Implementierungsunterstützung",content:"Technischer Support vor Ort während der Retrofit-Ausführung. Wir arbeiten mit Ihrem Installationsteam zusammen für korrekte Umsetzung.",features:["Installationsüberwachung","Qualitätskontrollinspektion","Inbetriebnahmeunterstützung","Crew-Schulung"]}},focus:{title:"Schwerpunktbereiche",list:["Batteriesystem-Upgrades und Lithium-Umrüstungen","Landstrom- und Ladeinfrastruktur","Navigations- und Kommunikationssysteme","Beleuchtungs-U
1pgrades auf LED-Technologie","Generator- und Wechselrichtersysteme","Smart Monitoring und Automatisierung"]}}},press:{eyebrow:"In den Nachrichten",title:"Presse & Medien",desc:"Entdecken Sie, was die Medien über unsere neuesten Innovationen im Nautiksektor berichten.",readArticle:"Artikel lesen",articles:{ultimahora:{title:"UNIC MARINE revolutioniert die balearische Nautikindustrie mit modernster Maschinentechnik"},economiademallorca:{title:"Palma erhält die erste und einzige Präzisionsbearbeitungsmaschine für den Nautiksektor"},cadenaser:{title:"Balearen führen erste Fünf-Achsen-Schneidemaschine für komplexe Industrieteile ein"},mallorcadiario:{title:"Mallorca wird bei der Herstellung von Nautikteilen unabhängig vom Festland"},diariodemallorca:{title:"Der balearische Nautiksektor modernisiert sich für neue Herausforderungen"}}}}}};Ct.use(wT).init({resources:RT,lng:"en",fallbackLng:"en",interpolation:{escapeValue:!1},returnEmptyString:!1});var vf={exports:{}},Er={},xf={exports:{}},bf={};var Tx;function zT(){return Tx||(Tx=1,(function(e){function n(O,q){var V=O.length;O.push(q);e:for(;0<V;){var W=V-1>>>1,ue=O[W];if(0<o(ue,q))O[W]=q,O[V]=ue,V=W;else break e}}function a(O){return O.length===0?null:O[0]}function s(O){if(O.length===0)return null;var q=O[0],V=O.pop();if(V!==q){O[0]=V;e:for(var W=0,ue=O.length,M=ue>>>1;W<M;){var G=2*(W+1)-1,Z=O[G],te=G+1,pe=O[te];if(0>o(Z,V))te<ue&&0>o(pe,Z)?(O[W]=pe,O[te]=V,W=te):(O[W]=Z,O[G]=V,W=G);else if(te<ue&&0>o(pe,V))O[W]=pe,O[te]=V,W=te;else break e}}return q}function o(O,q){var V=O.sortIndex-q.sortIndex;return V!==0?V:O.id-q.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var u=Date,h=u.now();e.unstable_now=function(){return u.now()-h}}var p=[],g=[],y=1,v=null,w=3,S=!1,E=!1,C=!1,j=!1,T=typeof setTimeout=="function"?setTimeout:null,z=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;function k(O){for(var q=a(g);q!==null;){if(q.callback===null)s(g);else if(q.startTime<=O)s(g),q.sortIndex=q.expirationTime,n(p,q);else break;q=a(g)}}function L(O){if(C=!1,k(O),!E)if(a(p)!==null)E=!0,K||(K=!0,ie());else{var q=a(g);q!==null&&me(L,q.startTime-O)}}var K=!1,I=-1,_=5,Q=-1;function J(){return j?!0:!(e.unstable_now()-Q<_)}function ne(){if(j=!1,K){var O=e.unstable_now();Q=O;var q=!0;try{e:{E=!1,C&&(C=!1,z(I),I=-1),S=!0;var V=w;try{t:{for(k(O),v=a(p);v!==null&&!(v.expirationTime>O&&J());){var W=v.callback;if(typeof W=="function"){v.callback=null,w=v.priorityLevel;var ue=W(v.expirationTime<=O);if(O=e.unstable_now(),typeof ue=="function"){v.callback=ue,k(O),q=!0;break t}v===a(p)&&s(p),k(O)}else s(p);v=a(p)}if(v!==null)q=!0;else{var M=a(g);M!==null&&me(L,M.startTime-O),q=!1}}break e}finally{v=null,w=V,S=!1}q=void 0}}finally{q?ie():K=!1}}}var ie;if(typeof R=="function")ie=function(){R(ne)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,ee=de.port2;de.port1.onmessage=ne,ie=function(){ee.postMessage(null)}}else ie=function(){T(ne,0)};function me(O,q){I=T(function(){O(e.unstable_now())},q)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):_=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_next=function(O){switch(w){case 1:case 2:case 3:var q=3;break;default:q=w}var V=w;w=q;try{return O()}finally{w=V}},e.unstable_requestPaint=function(){j=!0},e.unstable_runWithPriority=function(O,q){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var V=w;w=O;try{return q()}finally{w=V}},e.unstable_scheduleCallback=function(O,q,V){var W=e.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?W+V:W):V=W,O){case 1:var ue=-1;break;case 2:ue=250;break;case 5:ue=1073741823;break;case 4:ue=1e4;break;default:ue=5e3}return ue=V+ue,O={id:y++,callback:q,priorityLevel:O,startTime:V,expirationTime:ue,sortIndex:-1},V>W?(O.sortIndex=V,n(g,O),a(p)===null&&O===a(g)&&(C?(z(I),I=-1):C=!0,me(L,V-W))):(O.sortIndex=ue,n(p,O),E||S||(E=!0,K||(K=!0,ie()))),O},e.unstable_shouldYield=J,e.unstable_wrapCallback=function(O){var q=w;return function(){var V=w;w=q;try{return O.apply(this,arguments)}finally{w=V}}}})(bf)),bf}var Ax;function DT(){return Ax||(Ax=1,xf.exports=zT()),xf.exports}var wf={exports:{}},vt={};var Mx;function OT(){if(Mx)return vt;Mx=1;var e=Sc();function n(p){var g="https://react.dev/errors/"+p;if(1<arguments.length){g+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)g+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+p+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var s={d:{f:a,r:function(){throw Error(n(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},o=Symbol.for("react.portal");function c(p,g,y){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:v==null?null:""+v,children:p,containerInfo:g,implementation:y}}
vendor: 7,832 bytes, lines 1-3
1var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function h(p,g){if(p==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}return vt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,vt.createPortal=function(p,g){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error(n(299));return c(p,g,null,y)},vt.flushSync=function(p){var g=u.T,y=s.p;try{if(u.T=null,s.p=2,p)return p()}finally{u.T=g,s.p=y,s.d.f()}},vt.preconnect=function(p,g){typeof p=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,s.d.C(p,g))},vt.prefetchDNS=function(p){typeof p=="string"&&s.d.D(p)},vt.preinit=function(p,g){if(typeof p=="string"&&g&&typeof g.as=="string"){var y=g.as,v=h(y,g.crossOrigin),w=typeof g.integrity=="string"?g.integrity:void 0,S=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;y==="style"?s.d.S(p,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:v,integrity:w,fetchPriority:S}):y==="script"&&s.d.X(p,{crossOrigin:v,integrity:w,fetchPriority:S,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},vt.preinitModule=function(p,g){if(typeof p=="string")if(typeof g=="object"&&g!==null){if(g.as==null||g.as==="script"){var y=h(g.as,g.crossOrigin);s.d.M(p,{crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})}}else g==null&&s.d.M(p)},vt.preload=function(p,g){if(typeof p=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){var y=g.as,v=h(y,g.crossOrigin);s.d.L(p,y,{crossOrigin:v,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},vt.preloadModule=function(p,g){if(typeof p=="string")if(g){var y=h(g.as,g.crossOrigin);s.d.m(p,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:y,integrity:typeof g.integrity=="string"?g.integrity:void 0})}else s.d.m(p)},vt.requestFormReset=function(p){s.d.r(p)},vt.unstable_batchedUpdates=function(p,g){return p(g)},vt.useFormState=function(p,g,y){return u.H.useFormState(p,g,y)},vt.useFormStatus=function(){return u.H.useHostTransitionStatus()},vt.version="19.2.3",vt}var Rx;function i1(){if(Rx)return wf.exports;Rx=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}return e(),wf.exports=OT(),wf.exports}var zx;function kT(){if(zx)return Er;zx=1;var e=DT(),n=Sc(),a=i1();function s(t){var i="https://react.dev/errors/"+t;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)i+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+t+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function c(t){var i=t,r=t;if(t.alternate)for(;i.return;)i=i.return;else{t=i;do i=t,(i.flags&4098)!==0&&(r=i.return),t=i.return;while(t)}return i.tag===3?r:null}function u(t){if(t.tag===13){var i=t.memoizedState;if(i===null&&(t=t.alternate,t!==null&&(i=t.memoizedState)),i!==null)return i.dehydrated}return null}function h(t){if(t.tag===31){var i=t.memoizedState;if(i===null&&(t=t.alternate,t!==null&&(i=t.memoizedState)),i!==null)return i.dehydrated}return null}function p(t){if(c(t)!==t)throw Error(s(188))}function g(t){var i=t.alternate;if(!i){if(i=c(t),i===null)throw Error(s(188));return i!==t?null:t}for(var r=t,l=i;;){var f=r.return;if(f===null)break;var m=f.alternate;if(m===null){if(l=f.return,l!==null){r=l;continue}break}if(f.child===m.child){for(m=f.child;m;){if(m===r)return p(f),t;if(m===l)return p(f),i;m=m.sibling}throw Error(s(188))}if(r.return!==l.return)r=f,l=m;else{for(var b=!1,N=f.child;N;){if(N===r){b=!0,r=f,l=m;break}if(N===l){b=!0,l=f,r=m;break}N=N.sibling}if(!b){for(N=m.child;N;){if(N===r){b=!0,r=m,l=f;break}if(N===l){b=!0,l=m,r=f;break}N=N.sibling}if(!b)throw Error(s(189))}}if(r.alternate!==l)throw Error(s(190))}if(r.tag!==3)throw Error(s(188));return r.stateNode.current===r?t:i}function y(t){var i=t.tag;if(i===5||i===26||i===27||i===6)return t;for(t=t.child;t!==null;){if(i=y(t),i!==null)return i;t=t.sibling}return null}var v=Object.assign,w=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),z=Symbol.for("react.consumer"),R=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),Q=Symbol.for("react.activity"),J=Symbol.for("react.memo_cache_sentinel"),ne=Symbol.iterator;function ie(t){return t===null||typeof t!="object"?null:(t=ne&&t[ne]||t["@@iterator"],typeof t=="function"?t:null)}var de=Symbol.for("react.client.reference");function ee(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===de?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case C:return"Fragment";case T:return"Profiler";case j:return"StrictMode";case L:return"Suspense";case K:return"SuspenseList";case Q:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case E:return"Portal";case R:return t.displayName||"Context";case z:return(t._context.displayName||"Context")+".Consumer";case k:var i=t.render;return t=t.displayName,t||(t=i.displayName||i.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case I:return i=t.displayName||null,i!==null?i:ee(t.type)||"Memo";case _:i=t._payload,t=t._init;try{return ee(t(i))}catch{}}return null}var me=Array.isArray,O=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,q=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V={pending:!1,data:null,method:null,action:null},W=[],ue=-1;function M(t){return{current:t}}function G(t){0>ue||(t.current=W[ue],W[ue]=null,ue--)}function Z(t,i){ue++,W[ue]=t.current,t.current=i}var te=M(null),pe=M(null),ye=M(null),ae=M(null);function Ke(t,i){switch(Z(ye,i),Z(pe,t),Z(te,null),i.nodeType){case 9:case 11:t=(t=i.documentElement)&&(t=t.namespaceURI)?Mv(t):0;break;default:if(t=i.tagName,i=i.namespaceURI)i=Mv(i),t=Rv(i,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}G(te),Z(te,t)}function Le(){G(te),G(pe),G(ye)}function Kt(t){t.memoizedState!==null&&Z(ae,t);var i=te.current,r=Rv(i,t.type);i!==r&&(Z(pe,t),Z(te,r))}function xn(t){pe.current===t&&(G(te),G(pe)),ae.current===t&&(G(ae),xr._currentValue=V)}var bn,Gi;function Ki(t){if(bn===void 0)try{throw Error()}catch(r){var i=r.stack.trim().match(/\n( *(at )?)/);bn=i&&i[1]||"",Gi=-1<r.stack.indexOf(` 2 at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return` 3`+bn+t+Gi}var Yc=!1;function $c(t,i){if(!t||Yc)return"";Yc=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(i){var X=function(){throw Error()};if(Object.defineProperty(X.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(X,[])}catch(H){var F=H}Reflect.construct(t,[],X)}else{try{X.call()}catch(H){F=H}t.call(X.prototype)}}else{try{throw Error()}catch(H){F=H}(X=t())&&typeof X.catch=="function"&&X.catch(function(){})}}
vendor: 10,918 bytes, lines 3-8
3catch(H){if(H&&F&&typeof H.stack=="string")return[H.stack,F.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var f=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");f&&f.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var m=l.DetermineComponentFrameRoot(),b=m[0],N=m[1];if(b&&N){var A=b.split(` 4`),B=N.split(` 5`);for(f=l=0;l<A.length&&!A[l].includes("DetermineComponentFrameRoot");)l++;for(;f<B.length&&!B[f].includes("DetermineComponentFrameRoot");)f++;if(l===A.length||f===B.length)for(l=A.length-1,f=B.length-1;1<=l&&0<=f&&A[l]!==B[f];)f--;for(;1<=l&&0<=f;l--,f--)if(A[l]!==B[f]){if(l!==1||f!==1)do if(l--,f--,0>f||A[l]!==B[f]){var Y=` 6`+A[l].replace(" at new "," at ");return t.displayName&&Y.includes("<anonymous>")&&(Y=Y.replace("<anonymous>",t.displayName)),Y}while(1<=l&&0<=f);break}}}finally{Yc=!1,Error.prepareStackTrace=r}return(r=t?t.displayName||t.name:"")?Ki(r):""}function v2(t,i){switch(t.tag){case 26:case 27:case 5:return Ki(t.type);case 16:return Ki("Lazy");case 13:return t.child!==i&&i!==null?Ki("Suspense Fallback"):Ki("Suspense");case 19:return Ki("SuspenseList");case 0:case 15:return $c(t.type,!1);case 11:return $c(t.type.render,!1);case 1:return $c(t.type,!0);case 31:return Ki("Activity");default:return""}}function rp(t){try{var i="",r=null;do i+=v2(t,r),r=t,t=t.return;while(t);return i}catch(l){return` 7Error generating stack: `+l.message+` 8`+l.stack}}var Xc=Object.prototype.hasOwnProperty,Qc=e.unstable_scheduleCallback,Wc=e.unstable_cancelCallback,x2=e.unstable_shouldYield,b2=e.unstable_requestPaint,Ot=e.unstable_now,w2=e.unstable_getCurrentPriorityLevel,op=e.unstable_ImmediatePriority,lp=e.unstable_UserBlockingPriority,ho=e.unstable_NormalPriority,S2=e.unstable_LowPriority,cp=e.unstable_IdlePriority,N2=e.log,C2=e.unstable_setDisableYieldValue,zs=null,kt=null;function ri(t){if(typeof N2=="function"&&C2(t),kt&&typeof kt.setStrictMode=="function")try{kt.setStrictMode(zs,t)}catch{}}var Pt=Math.clz32?Math.clz32:T2,E2=Math.log,j2=Math.LN2;function T2(t){return t>>>=0,t===0?32:31-(E2(t)/j2|0)|0}var mo=256,po=262144,go=4194304;function Yi(t){var i=t&42;if(i!==0)return i;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function yo(t,i,r){var l=t.pendingLanes;if(l===0)return 0;var f=0,m=t.suspendedLanes,b=t.pingedLanes;t=t.warmLanes;var N=l&134217727;return N!==0?(l=N&~m,l!==0?f=Yi(l):(b&=N,b!==0?f=Yi(b):r||(r=N&~t,r!==0&&(f=Yi(r))))):(N=l&~m,N!==0?f=Yi(N):b!==0?f=Yi(b):r||(r=l&~t,r!==0&&(f=Yi(r)))),f===0?0:i!==0&&i!==f&&(i&m)===0&&(m=f&-f,r=i&-i,m>=r||m===32&&(r&4194048)!==0)?i:f}function Ds(t,i){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&i)===0}function A2(t,i){switch(t){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function up(){var t=go;return go<<=1,(go&62914560)===0&&(go=4194304),t}function Zc(t){for(var i=[],r=0;31>r;r++)i.push(t);return i}function Os(t,i){t.pendingLanes|=i,i!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function M2(t,i,r,l,f,m){var b=t.pendingLanes;t.pendingLanes=r,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=r,t.entangledLanes&=r,t.errorRecoveryDisabledLanes&=r,t.shellSuspendCounter=0;var N=t.entanglements,A=t.expirationTimes,B=t.hiddenUpdates;for(r=b&~r;0<r;){var Y=31-Pt(r),X=1<<Y;N[Y]=0,A[Y]=-1;var F=B[Y];if(F!==null)for(B[Y]=null,Y=0;Y<F.length;Y++){var H=F[Y];H!==null&&(H.lane&=-536870913)}r&=~X}l!==0&&dp(t,l,0),m!==0&&f===0&&t.tag!==0&&(t.suspendedLanes|=m&~(b&~i))}function dp(t,i,r){t.pendingLanes|=i,t.suspendedLanes&=~i;var l=31-Pt(i);t.entangledLanes|=i,t.entanglements[l]=t.entanglements[l]|1073741824|r&261930}function fp(t,i){var r=t.entangledLanes|=i;for(t=t.entanglements;r;){var l=31-Pt(r),f=1<<l;f&i|t[l]&i&&(t[l]|=i),r&=~f}}function hp(t,i){var r=i&-i;return r=(r&42)!==0?1:Jc(r),(r&(t.suspendedLanes|i))!==0?0:r}function Jc(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function eu(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function mp(){var t=q.p;return t!==0?t:(t=window.event,t===void 0?32:Jv(t.type))}function pp(t,i){var r=q.p;try{return q.p=t,i()}finally{q.p=r}}var oi=Math.random().toString(36).slice(2),ft="__reactFiber$"+oi,jt="__reactProps$"+oi,Sa="__reactContainer$"+oi,tu="__reactEvents$"+oi,R2="__reactListeners$"+oi,z2="__reactHandles$"+oi,gp="__reactResources$"+oi,ks="__reactMarker$"+oi;function nu(t){delete t[ft],delete t[jt],delete t[tu],delete t[R2],delete t[z2]}function Na(t){var i=t[ft];if(i)return i;for(var r=t.parentNode;r;){if(i=r[Sa]||r[ft]){if(r=i.alternate,i.child!==null||r!==null&&r.child!==null)for(t=_v(t);t!==null;){if(r=t[ft])return r;t=_v(t)}return i}t=r,r=t.parentNode}return null}function Ca(t){if(t=t[ft]||t[Sa]){var i=t.tag;if(i===5||i===6||i===13||i===31||i===26||i===27||i===3)return t}return null}function Ps(t){var i=t.tag;if(i===5||i===26||i===27||i===6)return t.stateNode;throw Error(s(33))}function Ea(t){var i=t[gp];return i||(i=t[gp]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function ut(t){t[ks]=!0}var yp=new Set,vp={};function $i(t,i){ja(t,i),ja(t+"Capture",i)}function ja(t,i){for(vp[t]=i,t=0;t<i.length;t++)yp.add(i[t])}var D2=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),xp={},bp={};function O2(t){return Xc.call(bp,t)?!0:Xc.call(xp,t)?!1:D2.test(t)?bp[t]=!0:(xp[t]=!0,!1)}function vo(t,i,r){if(O2(i))if(r===null)t.removeAttribute(i);else{switch(typeof r){case"undefined":case"function":case"symbol":t.removeAttribute(i);return;case"boolean":var l=i.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){t.removeAttribute(i);return}}t.setAttribute(i,""+r)}}function xo(t,i,r){if(r===null)t.removeAttribute(i);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(i);return}t.setAttribute(i,""+r)}}function kn(t,i,r,l){if(l===null)t.removeAttribute(r);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(r);return}t.setAttributeNS(i,r,""+l)}}function Yt(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function wp(t){var i=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function k2(t,i,r){var l=Object.getOwnPropertyDescriptor(t.constructor.prototype,i);if(!t.hasOwnProperty(i)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var f=l.get,m=l.set;return Object.defineProperty(t,i,{configurable:!0,get:function(){return f.call(this)},set:function(b){r=""+b,m.call(this,b)}}),Object.defineProperty(t,i,{enumerable:l.enumerable}),{getValue:function(){return r},setValue:function(b){r=""+b},stopTracking:function(){t._valueTracker=null,delete t[i]}}}}function iu(t){if(!t._valueTracker){var i=wp(t)?"checked":"value";t._valueTracker=k2(t,i,""+t[i])}}function Sp(t){if(!t)return!1;var i=t._valueTracker;if(!i)return!0;var r=i.getValue(),l="";return t&&(l=wp(t)?t.checked?"true":"false":t.value),t=l,t!==r?(i.setValue(t),!0):!1}function bo(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var P2=/[\n"\\]/g;function $t(t){return t.replace(P2,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function au(t,i,r,l,f,m,b,N){t.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?t.type=b:t.removeAttribute("type"),i!=null?b==="number"?(i===0&&t.value===""||t.value!=i)&&(t.value=""+Yt(i)):t.value!==""+Yt(i)&&(t.value=""+Yt(i)):b!=="submit"&&b!=="reset"||t.removeAttribute("value"),i!=null?su(t,b,Yt(i)):r!=null?su(t,b,Yt(r)):l!=null&&t.removeAttribute("value"),f==null&&m!=null&&(t.defaultChecked=!!m),f!=null&&(t.checked=f&&typeof f!="function"&&typeof f!="symbol"),N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?t.name=""+Yt(N):t.removeAttribute("name")}function Np(t,i,r,l,f,m,b,N){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(t.type=m),i!=null||r!=null){if(!(m!=="submit"&&m!=="reset"||i!=null)){iu(t);return}r=r!=null?""+Yt(r):"",i=i!=null?""+Yt(i):r,N||i===t.value||(t.value=i),t.defaultValue=i}l=l??f,l=typeof l!="function"&&typeof l!="symbol"&&!!l,t.checked=N?t.checked:!!l,t.defaultChecked=!!l,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(t.name=b),iu(t)}function su(t,i,r){i==="number"&&bo(t.ownerDocument)===t||t.defaultValue===""+r||(t.defaultValue=""+r)}function Ta(t,i,r,l){if(t=t.options,i){i={};for(var f=0;f<r.length;f++)i["$"+r[f]]=!0;for(r=0;r<t.length;r++)f=i.hasOwnProperty("$"+t[r].value),t[r].selected!==f&&(t[r].selected=f),f&&l&&(t[r].defaultSelected=!0)}else{for(r=""+Yt(r),i=null,f=0;f<t.length;f++){if(t[f].value===r){t[f].selected=!0,l&&(t[f].defaultSelected=!0);return}i!==null||t[f].disabled||(i=t[f])}i!==null&&(i.selected=!0)}}function Cp(t,i,r){if(i!=null&&(i=""+Yt(i),i!==t.value&&(t.value=i),r==null)){t.defaultValue!==i&&(t.defaultValue=i);return}t.defaultValue=r!=null?""+Yt(r):""}function Ep(t,i,r,l){if(i==null){if(l!=null){if(r!=null)throw Error(s(92));if(me(l)){if(1<l.length)throw Error(s(93));l=l[0]}r=l}r==null&&(r=""),i=r}r=Yt(i),t.defaultValue=r,l=t.textContent,l===r&&l!==""&&l!==null&&(t.value=l),iu(t)}function Aa(t,i){if(i){var r=t.firstChild;if(r&&r===t.lastChild&&r.nodeType===3){r.nodeValue=i;return}}t.textContent=i}
vendor: 5,698 bytes, line 8
8var L2=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function jp(t,i,r){var l=i.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?l?t.setProperty(i,""):i==="float"?t.cssFloat="":t[i]="":l?t.setProperty(i,r):typeof r!="number"||r===0||L2.has(i)?i==="float"?t.cssFloat=r:t[i]=(""+r).trim():t[i]=r+"px"}function Tp(t,i,r){if(i!=null&&typeof i!="object")throw Error(s(62));if(t=t.style,r!=null){for(var l in r)!r.hasOwnProperty(l)||i!=null&&i.hasOwnProperty(l)||(l.indexOf("--")===0?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="");for(var f in i)l=i[f],i.hasOwnProperty(f)&&r[f]!==l&&jp(t,f,l)}else for(var m in i)i.hasOwnProperty(m)&&jp(t,m,i[m])}function ru(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var _2=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),V2=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function wo(t){return V2.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Pn(){}var ou=null;function lu(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ma=null,Ra=null;function Ap(t){var i=Ca(t);if(i&&(t=i.stateNode)){var r=t[jt]||null;e:switch(t=i.stateNode,i.type){case"input":if(au(t,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),i=r.name,r.type==="radio"&&i!=null){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+$t(""+i)+'"][type="radio"]'),i=0;i<r.length;i++){var l=r[i];if(l!==t&&l.form===t.form){var f=l[jt]||null;if(!f)throw Error(s(90));au(l,f.value,f.defaultValue,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name)}}for(i=0;i<r.length;i++)l=r[i],l.form===t.form&&Sp(l)}break e;case"textarea":Cp(t,r.value,r.defaultValue);break e;case"select":i=r.value,i!=null&&Ta(t,!!r.multiple,i,!1)}}}var cu=!1;function Mp(t,i,r){if(cu)return t(i,r);cu=!0;
vendor: 4,140 bytes, line 8
8try{var l=t(i);return l}finally{if(cu=!1,(Ma!==null||Ra!==null)&&(ll(),Ma&&(i=Ma,t=Ra,Ra=Ma=null,Ap(i),t)))for(i=0;i<t.length;i++)Ap(t[i])}}function Ls(t,i){var r=t.stateNode;if(r===null)return null;var l=r[jt]||null;if(l===null)return null;r=l[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(t=t.type,l=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!l;break e;default:t=!1}if(t)return null;if(r&&typeof r!="function")throw Error(s(231,i,typeof r));return r}var Ln=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),uu=!1;if(Ln)try{var _s={};Object.defineProperty(_s,"passive",{get:function(){uu=!0}}),window.addEventListener("test",_s,_s),window.removeEventListener("test",_s,_s)}catch{uu=!1}var li=null,du=null,So=null;function Rp(){if(So)return So;var t,i=du,r=i.length,l,f="value"in li?li.value:li.textContent,m=f.length;for(t=0;t<r&&i[t]===f[t];t++);var b=r-t;for(l=1;l<=b&&i[r-l]===f[m-l];l++);return So=f.slice(t,1<l?1-l:void 0)}function No(t){var i=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&i===13&&(t=13)):t=i,t===10&&(t=13),32<=t||t===13?t:0}function Co(){return!0}function zp(){return!1}function Tt(t){function i(r,l,f,m,b){this._reactName=r,this._targetInst=f,this.type=l,this.nativeEvent=m,this.target=b,this.currentTarget=null;for(var N in t)t.hasOwnProperty(N)&&(r=t[N],this[N]=r?r(m):m[N]);return this.isDefaultPrevented=(m.defaultPrevented!=null?m.defaultPrevented:m.returnValue===!1)?Co:zp,this.isPropagationStopped=zp,this}return v(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Co)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Co)},persist:function(){},isPersistent:Co}),i}var Xi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Eo=Tt(Xi),Vs=v({},Xi,{view:0,detail:0}),U2=Tt(Vs),fu,hu,Us,jo=v({},Vs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:pu,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Us&&(Us&&t.type==="mousemove"?(fu=t.screenX-Us.screenX,hu=t.screenY-Us.screenY):hu=fu=0,Us=t),fu)},movementY:function(t){return"movementY"in t?t.movementY:hu}}),Dp=Tt(jo),B2=v({},jo,{dataTransfer:0}),I2=Tt(B2),F2=v({},Vs,{relatedTarget:0}),mu=Tt(F2),H2=v({},Xi,{animationName:0,elapsedTime:0,pseudoElement:0}),q2=Tt(H2),G2=v({},Xi,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),K2=Tt(G2),Y2=v({},Xi,{data:0}),Op=Tt(Y2),$2={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},X2={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Q2={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function W2(t){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(t):(t=Q2[t])?!!i[t]:!1}function pu(){return W2}var Z2=v({},Vs,{key:function(t){if(t.key){var i=$2[t.key]||t.key;if(i!=="Unidentified")return i}return t.type==="keypress"?(t=No(t),t===13?"Enter":String.fromCharCode(t)):t.type==="
8keydown"||t.type==="keyup"?X2[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:pu,charCode:function(t){return t.type==="keypress"?No(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?No(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),J2=Tt(Z2),eE=v({},jo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kp=Tt(eE),tE=v({},Vs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:pu}),nE=Tt(tE),iE=v({},Xi,{propertyName:0,elapsedTime:0,pseudoElement:0}),aE=Tt(iE),sE=v({},jo,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),rE=Tt(sE),oE=v({},Xi,{newState:0,oldState:0}),lE=Tt(oE),cE=[9,13,27,32],gu=Ln&&"CompositionEvent"in window,Bs=null;Ln&&"documentMode"in document&&(Bs=document.documentMode);var uE=Ln&&"TextEvent"in window&&!Bs,Pp=Ln&&(!gu||Bs&&8<Bs&&11>=Bs),Lp=" ",_p=!1;function Vp(t,i){switch(t){case"keyup":return cE.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Up(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var za=!1;function dE(t,i){switch(t){case"compositionend":return Up(i);case"keypress":return i.which!==32?null:(_p=!0,Lp);case"textInput":return t=i.data,t===Lp&&_p?null:t;default:return null}}function fE(t,i){if(za)return t==="compositionend"||!gu&&Vp(t,i)?(t=Rp(),So=du=li=null,za=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return Pp&&i.locale!=="ko"?null:i.data;default:return null}}var hE={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Bp(t){var i=t&&t.nodeName&&t.nodeName.toLowerCase();return i==="input"?!!hE[t.type]:i==="textarea"}function Ip(t,i,r,l){Ma?Ra?Ra.push(l):Ra=[l]:Ma=l,i=pl(i,"onChange"),0<i.length&&(r=new Eo("onChange","change",null,r,l),t.push({event:r,listeners:i}))}var Is=null,Fs=null;function mE(t){Nv(t,0)}function To(t){var i=Ps(t);if(Sp(i))return t}function Fp(t,i){if(t==="change")return i}var Hp=!1;if(Ln){var yu;if(Ln){var vu="oninput"in document;if(!vu){var qp=document.createElement("div");qp.setAttribute("oninput","return;"),vu=typeof qp.oninput=="function"}yu=vu}else yu=!1;Hp=yu&&(!document.documentMode||9<document.documentMode)}function Gp(){Is&&(Is.detachEvent("onpropertychange",Kp),Fs=Is=null)}function Kp(t){if(t.propertyName==="value"&&To(Fs)){var i=[];Ip(i,Fs,t,lu(t)),Mp(mE,i)}}function pE(t,i,r){t==="focusin"?(Gp(),Is=i,Fs=r,Is.attachEvent("onpropertychange",Kp)):t==="focusout"&&Gp()}function gE(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return To(Fs)}function yE(t,i){if(t==="click")return To(i)}function vE(t,i){if(t==="input"||t==="change")return To(i)}function xE(t,i){return t===i&&(t!==0||1/t===1/i)||t!==t&&i!==i}var Lt=typeof Object.is=="function"?Object.is:xE;function Hs(t,i){if(Lt(t,i))return!0;if(typeof t!="object"||t===null||typeof i!="object"||i===null)return!1;var r=Object.keys(t),l=Object.keys(i);if(r.length!==l.length)return!1;for(l=0;l<r.length;l++){var f=r[l];if(!Xc.call(i,f)||!Lt(t[f],i[f]))return!1}return!0}function Yp(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function $p(t,i){var r=Yp(t);t=0;for(var l;r;){if(r.nodeType===3){if(l=t+r.textContent.length,t<=i&&l>=i)return{node:r,offset:i-t};t=l}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Yp(r)}}function Xp(t,i){return t&&i?t===i?!0:t&&t.nodeType===3?!1:i&&i.nodeType===3?Xp(t,i.parentNode):"contains"in t?t.contains(i):t.compareDocumentPosition?!!(t.compareDocumentPosition(i)&16):!1:!1}function Qp(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var i=bo(t.document);i instanceof t.HTMLIFrameElement;){try{var r=typeof i.contentWindow.location.href=="string"}catch{r=!1}if(r)t=i.contentWindow;else break;i=bo(t.document)}return i}function xu(t){var i=t&&t.nodeName&&t.nodeName.toLowerCase();return i&&(i==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||i==="textarea"||t.contentEditable==="true")}var bE=Ln&&"documentMode"in document&&11>=document.documentMode,Da=null,bu=null,qs=null,wu=!1;function Wp(t,i,r){var l=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;wu||Da==null||Da!==bo(l)||(l=Da,"selectionStart"in l&&xu(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focu
vendor: 18,949 bytes, line 8
8sNode:l.focusNode,focusOffset:l.focusOffset}),qs&&Hs(qs,l)||(qs=l,l=pl(bu,"onSelect"),0<l.length&&(i=new Eo("onSelect","select",null,i,r),t.push({event:i,listeners:l}),i.target=Da)))}function Qi(t,i){var r={};return r[t.toLowerCase()]=i.toLowerCase(),r["Webkit"+t]="webkit"+i,r["Moz"+t]="moz"+i,r}var Oa={animationend:Qi("Animation","AnimationEnd"),animationiteration:Qi("Animation","AnimationIteration"),animationstart:Qi("Animation","AnimationStart"),transitionrun:Qi("Transition","TransitionRun"),transitionstart:Qi("Transition","TransitionStart"),transitioncancel:Qi("Transition","TransitionCancel"),transitionend:Qi("Transition","TransitionEnd")},Su={},Zp={};Ln&&(Zp=document.createElement("div").style,"AnimationEvent"in window||(delete Oa.animationend.animation,delete Oa.animationiteration.animation,delete Oa.animationstart.animation),"TransitionEvent"in window||delete Oa.transitionend.transition);function Wi(t){if(Su[t])return Su[t];if(!Oa[t])return t;var i=Oa[t],r;for(r in i)if(i.hasOwnProperty(r)&&r in Zp)return Su[t]=i[r];return t}var Jp=Wi("animationend"),eg=Wi("animationiteration"),tg=Wi("animationstart"),wE=Wi("transitionrun"),SE=Wi("transitionstart"),NE=Wi("transitioncancel"),ng=Wi("transitionend"),ig=new Map,Nu="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Nu.push("scrollEnd");function ln(t,i){ig.set(t,i),$i(i,[t])}var Ao=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Xt=[],ka=0,Cu=0;function Mo(){for(var t=ka,i=Cu=ka=0;i<t;){var r=Xt[i];Xt[i++]=null;var l=Xt[i];Xt[i++]=null;var f=Xt[i];Xt[i++]=null;var m=Xt[i];if(Xt[i++]=null,l!==null&&f!==null){var b=l.pending;b===null?f.next=f:(f.next=b.next,b.next=f),l.pending=f}m!==0&&ag(r,f,m)}}function Ro(t,i,r,l){Xt[ka++]=t,Xt[ka++]=i,Xt[ka++]=r,Xt[ka++]=l,Cu|=l,t.lanes|=l,t=t.alternate,t!==null&&(t.lanes|=l)}function Eu(t,i,r,l){return Ro(t,i,r,l),zo(t)}function Zi(t,i){return Ro(t,null,null,i),zo(t)}function ag(t,i,r){t.lanes|=r;var l=t.alternate;l!==null&&(l.lanes|=r);for(var f=!1,m=t.return;m!==null;)m.childLanes|=r,l=m.alternate,l!==null&&(l.childLanes|=r),m.tag===22&&(t=m.stateNode,t===null||t._visibility&1||(f=!0)),t=m,m=m.return;return t.tag===3?(m=t.stateNode,f&&i!==null&&(f=31-Pt(r),t=m.hiddenUpdates,l=t[f],l===null?t[f]=[i]:l.push(i),i.lane=r|536870912),m):null}function zo(t){if(50<fr)throw fr=0,kd=null,Error(s(185));for(var i=t.return;i!==null;)t=i,i=t.return;return t.tag===3?t.stateNode:null}var Pa={};function CE(t,i,r,l){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function _t(t,i,r,l){return new CE(t,i,r,l)}function ju(t){return t=t.prototype,!(!t||!t.isReactComponent)}function _n(t,i){var r=t.alternate;return r===null?(r=_t(t.tag,i,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=i,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&65011712,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,i=t.dependencies,r.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r.refCleanup=t.refCleanup,r}function sg(t,i){t.flags&=65011714;var r=t.alternate;return r===null?(t.childLanes=0,t.lanes=i,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=r.childLanes,t.lanes=r.lanes,t.child=r.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=r.memoizedProps,t.memoizedState=r.memoizedState,t.updateQueue=r.updateQueue,t.type=r.type,i=r.dependencies,t.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),t}function Do(t,i,r,l,f,m){var b=0;if(l=t,typeof t=="function")ju(t)&&(b=1);else if(typeof t=="string")b=Mj(t,r,te.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case Q:return t=_t(31,r,i,f),t.elementType=Q,t.lanes=m,t;case C:return Ji(r.children,f,m,i);case j:b=8,f|=24;break;case T:return t=_t(12,r,i,f|2),t.elementType=T,t.lanes=m,t;case L:return t=_t(13,r,i,f),t.elementType=L,t.lanes=m,t;case K:return t=_t(19,r,i,f),t.elementType=K,t.lanes=m,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case R:b=10;break e;case z:b=9;break e;case k:b=11;break e;case I:b=14;break e;case _:b=16,l=null;break e}b=29,r=Error(s(130,t===null?"null":typeof t,"")),l=null}return i=_t(b,r,i,f),i.elementType=t,i.type=l,i.lanes=m,i}function Ji(t,i,r,l){return t=_t(7,t,l,i),t.lanes=r,t}function Tu(t,i,r){return t=_t(6,t,null,i),t.lanes=r,t}function rg(t){var i=_t(18,null,null,0);return i.stateNode=t,i}function Au(t,i,r){return i=_t(4,t.children!==null?t.children:[],t.key,i),i.lanes=r,i.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},i}var og=new WeakMap;function Qt(t,i){if(typeof t=="object"&&t!==null){var r=og.get(t);return r!==void 0?r:(i={value:t,source:i,stack:rp(i)},og.set(t,i),i)}return{value:t,source:i,stack:rp(i)}}var La=[],_a=0,Oo=null,Gs=0,Wt=[],Zt=0,ci=null,wn=1,Sn="";function Vn(t,i){La[_a++]=Gs,La[_a++]=Oo,Oo=t,Gs=i}function lg(t,i,r){Wt[Zt++]=wn,Wt[Zt++]=Sn,Wt[Zt++]=ci,ci=t;var l=wn;t=Sn;var f=32-Pt(l)-1;l&=~(1<<f),r+=1;var m=32-Pt(i)+f;if(30<m){var b=f-f%5;m=(l&(1<<b)-1).toString(32),l>>=b,f-=b,wn=1<<32-Pt(i)+f|r<<f|l,Sn=m+t}else wn=1<<m|r<<f|l,Sn=t}function Mu(t){t.return!==null&&(Vn(t,1),lg(t,1,0))}function Ru(t){for(;t===Oo;)Oo=La[--_a],La[_a]=null,Gs=La[--_a],La[_a]=null;for(;t===ci;)ci=Wt[--Zt],Wt[Zt]=null,Sn=Wt[--Zt],Wt[Zt]=null,wn=Wt[--Zt],Wt[Zt]=null}function cg(t,i){Wt[Zt++]=wn,Wt[Zt++]=Sn,Wt[Zt++]=ci,wn=i.id,Sn=i.overflow,ci=t}var ht=null,He=null,Me=!1,ui=null,Jt=!1,zu=Error(s(519));function di(t){var i=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ks(Qt(i,t)),zu}function ug(t){var i=t.stateNode,r=t.type,l=t.memoizedProps;switch(i[ft]=t,i[jt]=l,r){case"dialog":je("cancel",i),je("close",i);break;case"iframe":case"object":case"embed":je("load",i);break;case"video":case"audio":for(r=0;r<mr.length;r++)je(mr[r],i);break;case"source":je("error",i);break;case"img":case"image":case"link":je("error",i),je("load",i);break;case"details":je("toggle",i);break;case"input":je("invalid",i),Np(i,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":je("invalid",i);break;case"textarea":je("invalid",i),Ep(i,l.value,l.defaultValue,l.children)}r=l.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||i.textContent===""+r||l.suppressHydrationWarning===!0||Tv(i.textContent,r)?(l.popover!=null&&(je("beforetoggle",i),je("toggle",i)),l.onScroll!=null&&je("scroll",i),l.onScrollEnd!=null&&je("scrollend",i),l.onClick!=null&&(i.onclick=Pn),i=!0):i=!1,i||di(t,!0)}function dg(t){for(ht=t.return;ht;)switch(ht.tag){case 5:case 31:case 13:Jt=!1;return;case 27:case 3:Jt=!0;return;default:ht=ht.return}}function Va(t){if(t!==ht)return!1;if(!Me)return dg(t),Me=!0,!1;var i=t.tag,r;if((r=i!==3&&i!==27)&&((r=i===5)&&(r=t.type,r=!(r!=="form"&&r!=="button")||Xd(t.type,t.memoizedProps)),r=!r),r&&He&&di(t),dg(t),i===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));He=Lv(t)}else if(i===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));He=Lv(t)}else i===27?(i=He,Ei(t.type)?(t=ef,ef=null,He=t):He=i):He=ht?tn(t.stateNode.nextSibling):null;return!0}function ea(){He=ht=null,Me=!1}function Du(){var t=ui;return t!==null&&(zt===null?zt=t:zt.push.apply(zt,t),ui=null),t}function Ks(t){ui===null?ui=[t]:ui.push(t)}var Ou=M(null),ta=null,Un=null;function fi(t,i,r){Z(Ou,i._currentValue),i._currentValue=r}function Bn(t){t._currentValue=Ou.current,G(Ou)}function ku(t,i,r){for(;t!==null;){var l=t.alternate;if((t.childLanes&i)!==i?(t.childLanes|=i,l!==null&&(l.childLanes|=i)):l!==null&&(l.childLanes&i)!==i&&(l.childLanes|=i),t===r)break;t=t.return}}function Pu(t,i,r,l){var f=t.child;for(f!==null&&(f.return=t);f!==null;){var m=f.dependencies;if(m!==null){var b=f.child;m=m.firstContext;e:for(;m!==null;){var N=m;m=f;for(var A=0;A<i.length;A++)if(N.context===i[A]){m.lanes|=r,N=m.alternate,N!==null&&(N.lanes|=r),ku(m.return,r,t),l||(b=null);break e}m=N.next}}else if(f.tag===18){if(b=f.return,b===null)throw Error(s(341));b.lanes|=r,m=b.alternate,m!==null&&(m.lanes|=r),ku(b,r,t),b=null}else b=f.child;if(b!==null)b.return=f;else for(b=f;b!==null;){if(b===t){b=null;break}if(f=b.sibling,f!==null){f.return=b.return,b=f;break}b=b.return}f=b}}function Ua(t,i,r,l){t=null;for(var f=i,m=!1;f!==null;){if(!m){if((f.flags&524288)!==0)m=!0;else if((f.flags&262144)!==0)break}if(f.tag===10){var b=f.alternate;if(b===null)throw Error(s(387));if(b=b.memoizedProps,b!==null){var N=f.type;Lt(f.pendingProps.value,b.value)||(t!==null?t.push(N):t=[N])}}else if(f===ae.current){if(b=f.alternate,b===null)throw Error(s(387));b.memoizedState.memoizedState!==f.memoizedState.memoizedState&&(t!==null?t.push(xr):t=[xr])}f=f.return}t!==null&&Pu(i,t,r,l),i.flags|=262144}function ko(t){for(t=t.firstContext;t!==null;){if(!Lt(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function na(t){ta=t,Un=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function mt(t){return fg(ta,t)}function Po(t,i){return ta===null&&na(t),fg(t,i)}function fg(t,i){var r=i._currentValue;if(i={context:i,memoizedValue:r,next:null},Un===null){if(t===null)throw Error(s(308));Un=i,t.dependencies={lanes:0,firstContext:i},t.flags|=524288}else Un=Un.next=i;return r}var EE=typeof AbortController<"u"?AbortController:function(){var t=[],i=this.signal={aborted:!1,addEventListener:function(r,l){t.push(l)}};this.abort=function(){i.aborted=!0,t.forEach(function(r){return r()})}},jE=e.unstable_scheduleCallback,TE=e.unstable_NormalPriority,tt={$$typeof:R,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Lu(){return{controller:new EE,data:new Map,refCount:0}}function Ys(t){t.refCount--,t.refCount===0&&jE(TE,function(){t.controller.abort()})}var $s=null,_u=0,Ba=0,Ia=null;function AE(t,i){if($s===null){var r=$s=[];_u=0,Ba=Bd(),Ia={status:"pending",value:void 0,then:function(l){r.push(l)}}}return _u++,i.then(hg,hg),i}function hg(){if(--_u===0&&$s!==null){Ia!==null&&(Ia.status="fulfilled");var t=$s;$s=null,Ba=0,Ia=null;for(var i=0;i<t.length;i++)(0,t[i])()}}function ME(t,i){var r=[],l={status:"pending",value:null,reason:null,then:function(f){r.push(f)}};return t.then(function(){l.status="fulfilled",l.value=i;for(var f=0;f<r.length;f++)(0,r[f])(i)},function(f){for(l.status="rejected",l.reason=f,f=0;f<r.length;f++)(0,r[f])(void 0)}),l}var mg=O.S;O.S=function(t,i){Wy=Ot(),typeof i=="object"&&i!==null&&typeof i.then=="function"&&AE(t,i),mg!==null&&mg(t,i)};var ia=M(null);function Vu(){var t=ia.current;return t!==null?t:Ie.pooledCache}function Lo(t,i){i===null?Z(ia,ia.current):Z(ia,i.pool)}function pg(){var t=Vu();return t===null?null:{parent:tt._currentValue,pool:t}}var Fa=Error(s(460)),Uu=Error(s(474)),_o=Error(s(542)),Vo={then:function(){}};function gg(t){return t=t.status,t==="fulfilled"||t==="rejected"}function yg(t,i,r){switch(r=t[r],r===void 0?t.push(i):r!==i&&(i.then(Pn,Pn),i=r),i.status){case"fulfilled":return i.value;case"rejected":throw t=i.reason,xg(t),t;default:if(typeof i.status=="string")i.then(Pn,Pn);else{if(t=Ie,t!==null&&100<t.shellSuspendCounter)throw Error(s(482));t=i,t.status="pending",t.then(function(l){if(i.status==="pending"){var f=i;f.status="fulfilled",f.value=l}},function(l){if(i.status==="pending"){var f=i;f.status="rejected",f.reason=l}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw t=i.reason,xg(t),t}throw sa=i,Fa}}function aa(t){try{var i=t._init;return i(t._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(sa=r,Fa):r}}var sa=null;function vg(){if(sa===null)throw Error(s(459));var t=sa;return sa=null,t}function xg(t){if(t===Fa||t===_o)throw Error(s(483))}var Ha=null,Xs=0;function Uo(t){var i=Xs;return Xs+=1,Ha===null&&(Ha=[]),yg(Ha,t,i)}function Qs(t,i){i=i.props.ref,t.ref=i!==void 0?i:null}function Bo(t,i){throw i.$$typeof===w?Error(s(525)):(t=Object.prototype.toString.call(i),Error(s(31,t==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":t)))}function bg(t){function i(P,D){if(t){var U=P.deletions;U===null?(P.deletions=[D],P.flags|=16):U.push(D)}}function r(P,D){if(!t)return null;for(;D!==null;)i(P,D),D=D.sibling;return null}function l(P){for(var D=new Map;P!==null;)P.key!==null?D.set(P.key,P):D.set(P.index,P),P=P.sibling;return D}function f(P,D){return P=_n(P,D),P.index=0,P.sibling=null,P}function m(P,D,U){return P.index=U,t?(U=P.alternate,U!==null?(U=U.index,U<D?(P.flags|=67108866,D):U):(P.flags|=67108866,D)):(P.flags|=1048576,D)}function b(P){return t&&P.alternate===null&&(P.flags|=67108866),P}function N(P,D,U,$){return D===null||D.tag!==6?(D=Tu(U,P.mode,$),D.return=P,D):(D=f(D,U),D.return=P,D)}function A(P,D,U,$){var fe=U.type;return fe===C?Y(P,D,U.props.children,$,U.key):D!==null&&(D.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===_&&aa(fe)===D.type)?(D=f(D,U.props),Qs(D,U),D.return=P,D):(D=Do(U.type,U.key,U.props,null,P.mode,$),Qs(D,U),D.return=P,D)}function B(P,D,U,$){return D===null||D.tag!==4||D.stateNode.containerInfo!==U.containerInfo||D.stateNode.implementation!==U.implementation?(D=Au(U,P.mode,$),D.return=P,D):(D=f(D,U.children||[]),D.return=P,D)}function Y(P,D,U,$,fe){return D===null||D.tag!==7?(D=Ji(U,P.mode,$,fe),D.return=P,D):(D=f(D,U),D.return=P,D)}function X(P,D,U){if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return D=Tu(""+D,P.mode,U),D.return=P,D;if(typeof D=="object"&&D!==null){switch(D.$$typeof){case S:return U=Do(D.type,D.key,D.props,null,P.mode,U),Qs(U,D),U.return=P,U;case E:return D=Au(D,P.mode,U),D.return=P,D;case _:return D=aa(D),X(P,D,U)}if(me(D)||ie(D))return D=Ji(D,P.mode,U,null),D.return=P,D;if(typeof D.then=="function")return X(P,Uo(D),U);if(D.$$typeof===R)return X(P,Po(P,D),U);Bo(P,D)}return null}function F(P,D,U,$){var fe=D!==null?D.key:null;if(typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint")return fe!==null?null:N(P,D,""+U,$);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case S:return U.key===fe?A(P,D,U,$):null;case E:return U.key===fe?B(P,D,U,$):null;case _:return U=aa(U),F(P,D,U,$)}if(me(U)||ie(U))return fe!==null?null:Y(P,D,U,$,null);if(typeof U.then=="function")return F(P,D,Uo(U),$);if(U.$$typeof===R)return F(P,D,Po(P,U),$);Bo(P,U)}return null}function H(P,D,U,$,fe){if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return P=P.get(U)||null,N(D,P,""+$,fe);if(typeof $=="object"&&$!==null){switch($.$$typeof){case S:return P=P.get($.key===null?U:$.key)||null,A(D,P,$,fe);case E:return P=P.get($.key===null?U:$.key)||null,B(D,P,$,fe);case _:return $=aa($),H(P,D,U,$,fe)}if(me($)||ie($))return P=P.get(U)||null,Y(D,P,$,fe,null);if(typeof $.then=="function")return H(P,D,U,Uo($),fe);if($.$$typeof===R)return H(P,D,U,Po(D,$),fe);Bo(D,$)}return null}function re(P,D,U,$){for(var fe=null,Re=null,ce=D,Se=D=0,Ae=null;ce!==null&&Se<U.length;Se++){ce.index>Se?(Ae=ce,ce=null):Ae=ce.sibling;var ze=F(P,ce,U[Se],$);if(ze===null){ce===null&&(ce=Ae);break}t&&ce&&ze.alternate===null&&i(P,ce),D=m(ze,D,Se),Re===null?fe=ze:Re.sibling=ze,Re=ze,ce=Ae}if(Se===U.length)return r(P,ce),Me&&Vn(P,Se),fe;if(ce===null){for(;Se<U.length;Se++)ce=X(P,U[Se],$),ce!==null&&(D=m(ce,D,Se),Re===null?fe=ce:Re.sibling=ce,Re=ce);return Me&&Vn(P,Se),fe}for(ce=l(ce);Se<U.length;Se++)Ae=H(ce,P,Se,U[Se],$),Ae!==null&&(t&&Ae.alternate!==null&&ce.delete(Ae.key===null?Se:Ae.key),D=m(Ae,D,Se),Re===null?fe=Ae:Re.sibling=Ae,Re=Ae);return t&&ce.forEach(function(Ri){return i(P,Ri)}),Me&&Vn(P,Se),fe}function ge(P,D,U,$){if(U==null)throw Error(s(151));for(var fe=null,Re=null,ce=D,Se=D=0,Ae=null,ze=U.next();ce!==null&&!ze.done;Se++,ze=U.next()){ce.index>Se?(Ae=ce,ce=null):Ae=ce.sibling;var Ri=F(P,ce,ze.value,$);if(Ri===null){ce===null&&(ce=Ae);break}t&&ce&&Ri.alternate===null&&i(P,ce),D=m(Ri,D,Se),Re===null?fe=Ri:Re.sibling=Ri,Re=Ri,ce=Ae}if(ze.done)return r(P,ce),Me&&Vn(P,Se),fe;if(ce===null){for(;!ze.done;Se++,ze=U.next())ze=X(P,ze.value,$),ze!==null&&(D=m(ze,D,Se),Re===null?fe=ze:Re.sibling=ze,Re=ze);return Me&&Vn(P,Se),fe}for(ce=l(ce);!ze.done;Se++,ze=U.next())ze=H(ce,P,Se,ze.value,$),ze!==null&&(t&&ze.alternate!==null&&ce.delete(ze.key===null?Se:ze.key),D=m(ze,D,Se),Re===null?fe=ze:Re.sibling=ze,Re=ze);return t&&ce.forEach(function(Bj){return i(P,Bj)}),Me&&Vn(P,Se),fe}function Ue(P,D,U,$){if(typeof U=="object"&&U!==null&&U.type===C&&U.key===null&&(U=U.props.children),typeof U=="object"&&U!==null){switch(U.$$typeof){case S:e:{for(var fe=U.key;D!==null;){if(D.key===fe){if(fe=U.type,fe===C){if(D.tag===7){r(P,D.sibling),$=f(D,U.props.children),$.return=P,P=$;break e}}else if(D.elementType===fe||typeof fe=="object"&&fe!==null&&fe.$$typeof===_&&aa(fe)===D.type){r(P,D.sibling),$=f(D,U.props),Qs($,U),$.return=P,P=$;break e}r(P,D);break}else i(P,D);D=D.sibling}U.type===C?($=Ji(U.props.children,P.mode,$,U.key),$.return=P,P=$):($=Do(U.type,U.key,U.props,null,P.mode,$),Qs($,U),$.return=P,P=$)}return b(P);case E:e:{for(fe=U.key;D!==null;){if(D.key===fe)if(D.tag===4&&D.stateNode.containerInfo===U.containerInfo&&D.stateNode.implementation===U.implementation){r(P,D.sibling),$=f(D,U.children||[]),$.return=P,P=$;break e}else{r(P,D);break}else i(P,D);D=D.sibling}$=Au(U,P.mode,$),$.return=P,P=$}return b(P);case _:return U=aa(U),Ue(P,D,U,$)}if(me(U))return re(P,D,U,$);if(ie(U)){if(fe=ie(U),typeof fe!="function")throw Error(s(150));return U=fe.call(U),ge(P,D,U,$)}if(typeof U.then=="function")return Ue(P,D,Uo(U),$);
vendor: 7,332 bytes, line 8
8if(U.$$typeof===R)return Ue(P,D,Po(P,U),$);Bo(P,U)}return typeof U=="string"&&U!==""||typeof U=="number"||typeof U=="bigint"?(U=""+U,D!==null&&D.tag===6?(r(P,D.sibling),$=f(D,U),$.return=P,P=$):(r(P,D),$=Tu(U,P.mode,$),$.return=P,P=$),b(P)):r(P,D)}return function(P,D,U,$){try{Xs=0;var fe=Ue(P,D,U,$);return Ha=null,fe}catch(ce){if(ce===Fa||ce===_o)throw ce;var Re=_t(29,ce,null,P.mode);return Re.lanes=$,Re.return=P,Re}}}var ra=bg(!0),wg=bg(!1),hi=!1;function Bu(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Iu(t,i){t=t.updateQueue,i.updateQueue===t&&(i.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function mi(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function pi(t,i,r){var l=t.updateQueue;if(l===null)return null;if(l=l.shared,(De&2)!==0){var f=l.pending;return f===null?i.next=i:(i.next=f.next,f.next=i),l.pending=i,i=zo(t),ag(t,null,r),i}return Ro(t,l,i,r),zo(t)}function Ws(t,i,r){if(i=i.updateQueue,i!==null&&(i=i.shared,(r&4194048)!==0)){var l=i.lanes;l&=t.pendingLanes,r|=l,i.lanes=r,fp(t,r)}}function Fu(t,i){var r=t.updateQueue,l=t.alternate;if(l!==null&&(l=l.updateQueue,r===l)){var f=null,m=null;if(r=r.firstBaseUpdate,r!==null){do{var b={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};m===null?f=m=b:m=m.next=b,r=r.next}while(r!==null);m===null?f=m=i:m=m.next=i}else f=m=i;r={baseState:l.baseState,firstBaseUpdate:f,lastBaseUpdate:m,shared:l.shared,callbacks:l.callbacks},t.updateQueue=r;return}t=r.lastBaseUpdate,t===null?r.firstBaseUpdate=i:t.next=i,r.lastBaseUpdate=i}var Hu=!1;function Zs(){if(Hu){var t=Ia;if(t!==null)throw t}}function Js(t,i,r,l){Hu=!1;var f=t.updateQueue;hi=!1;var m=f.firstBaseUpdate,b=f.lastBaseUpdate,N=f.shared.pending;if(N!==null){f.shared.pending=null;var A=N,B=A.next;A.next=null,b===null?m=B:b.next=B,b=A;var Y=t.alternate;Y!==null&&(Y=Y.updateQueue,N=Y.lastBaseUpdate,N!==b&&(N===null?Y.firstBaseUpdate=B:N.next=B,Y.lastBaseUpdate=A))}if(m!==null){var X=f.baseState;b=0,Y=B=A=null,N=m;do{var F=N.lane&-536870913,H=F!==N.lane;if(H?(Te&F)===F:(l&F)===F){F!==0&&F===Ba&&(Hu=!0),Y!==null&&(Y=Y.next={lane:0,tag:N.tag,payload:N.payload,callback:null,next:null});e:{var re=t,ge=N;F=i;var Ue=r;switch(ge.tag){case 1:if(re=ge.payload,typeof re=="function"){X=re.call(Ue,X,F);break e}X=re;break e;case 3:re.flags=re.flags&-65537|128;case 0:if(re=ge.payload,F=typeof re=="function"?re.call(Ue,X,F):re,F==null)break e;X=v({},X,F);break e;case 2:hi=!0}}F=N.callback,F!==null&&(t.flags|=64,H&&(t.flags|=8192),H=f.callbacks,H===null?f.callbacks=[F]:H.push(F))}else H={lane:F,tag:N.tag,payload:N.payload,callback:N.callback,next:null},Y===null?(B=Y=H,A=X):Y=Y.next=H,b|=F;if(N=N.next,N===null){if(N=f.shared.pending,N===null)break;H=N,N=H.next,H.next=null,f.lastBaseUpdate=H,f.shared.pending=null}}while(!0);Y===null&&(A=X),f.baseState=A,f.firstBaseUpdate=B,f.lastBaseUpdate=Y,m===null&&(f.shared.lanes=0),bi|=b,t.lanes=b,t.memoizedState=X}}function Sg(t,i){if(typeof t!="function")throw Error(s(191,t));t.call(i)}function Ng(t,i){var r=t.callbacks;if(r!==null)for(t.callbacks=null,t=0;t<r.length;t++)Sg(r[t],i)}var qa=M(null),Io=M(0);function Cg(t,i){t=Xn,Z(Io,t),Z(qa,i),Xn=t|i.baseLanes}function qu(){Z(Io,Xn),Z(qa,qa.current)}function Gu(){Xn=Io.current,G(qa),G(Io)}var Vt=M(null),en=null;function gi(t){var i=t.alternate;Z(Ze,Ze.current&1),Z(Vt,t),en===null&&(i===null||qa.current!==null||i.memoizedState!==null)&&(en=t)}function Ku(t){Z(Ze,Ze.current),Z(Vt,t),en===null&&(en=t)}function Eg(t){t.tag===22?(Z(Ze,Ze.current),Z(Vt,t),en===null&&(en=t)):yi()}function yi(){Z(Ze,Ze.current),Z(Vt,Vt.current)}function Ut(t){G(Vt),en===t&&(en=null),G(Ze)}var Ze=M(0);function Fo(t){for(var i=t;i!==null;){if(i.tag===13){var r=i.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||Zd(r)||Jd(r)))return i}else if(i.tag===19&&(i.memoizedProps.revealOrder==="forwards"||i.memoizedProps.revealOrder==="backwards"||i.memoizedProps.revealOrder==="unstable_legacy-backwards"||i.memoizedProps.revealOrder==="together")){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var In=0,we=null,_e=null,nt=null,Ho=!1,Ga=!1,oa=!1,qo=0,er=0,Ka=null,RE=0;function Xe(){throw Error(s(321))}function Yu(t,i){if(i===null)return!1;for(var r=0;r<i.length&&r<t.length;r++)if(!Lt(t[r],i[r]))return!1;return!0}function $u(t,i,r,l,f,m){return In=m,we=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,O.H=t===null||t.memoizedState===null?ly:cd,oa=!1,m=r(l,f),oa=!1,Ga&&(m=Tg(i,r,l,f)),jg(t),m}function jg(t){O.H=ir;var i=_e!==null&&_e.next!==null;if(In=0,nt=_e=we=null,Ho=!1,er=0,Ka=null,i)throw Error(s(300));t===null||it||(t=t.dependencies,t!==null&&ko(t)&&(it=!0))}function Tg(t,i,r,l){we=t;var f=0;do{if(Ga&&(Ka=null),er=0,Ga=!1,25<=f)throw Error(s(301));if(f+=1,nt=_e=null,t.updateQueue!=null){var m=t.updateQueue;m.lastEffect=null,m.events=null,m.stores=null,m.memoCache!=null&&(m.memoCache.index=0)}O.H=cy,m=i(r,l)}while(Ga);return m}function zE(){var t=O.H,i=t.useState()[0];return i=typeof i.then=="function"?tr(i):i,t=t.useState()[0],(_e!==null?_e.memoizedState:null)!==t&&(we.flags|=1024),i}function Xu(){var t=qo!==0;return qo=0,t}function Qu(t,i,r){i.updateQueue=t.updateQueue,i.flags&=-2053,t.lanes&=~r}function Wu(t){if(Ho){for(t=t.memoizedState;t!==null;){var i=t.queue;i!==null&&(i.pending=null),t=t.next}Ho=!1}In=0,nt=_e=we=null,Ga=!1,er=qo=0,Ka=null}function bt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return nt===null?we.memoizedState=nt=t:nt=nt.next=t,nt}function Je(){if(_e===null){var t=we.alternate;t=t!==null?t.memoizedState:null}else t=_e.next;var i=nt===null?we.memoizedState:nt.next;if(i!==null)nt=i,_e=t;else{if(t===null)throw we.alternate===null?Error(s(467)):Error(s(310));_e=t,t={memoizedState:_e.memoizedState,baseState:_e.baseState,baseQueue:_e.baseQueue,queue:_e.queue,next:null},nt===null?we.memoizedState=nt=t:nt=nt.next=t}return nt}function Go(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function tr(t){var i=er;return er+=1,Ka===null&&(Ka=[]),t=yg(Ka,t,i),i=we,(nt===null?i.memoizedState:nt.next)===null&&(i=i.alternate,O.H=i===null||i.memoizedState===null?ly:cd),t}function Ko(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return tr(t);if(t.$$typeof===R)return mt(t)}throw Error(s(438,String(t)))}function Zu(t){var i=null,r=we.updateQueue;if(r!==null&&(i=r.memoCache),i==null){var l=we.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(i={data:l.data.map(function(f){return f.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),r===null&&(r=Go(),we.updateQueue=r),r.memoCache=i,r=i.data[i.index],r===void 0)for(r=i.data[i.index]=Array(t),l=0;l<t;l++)r[l]=J;return i.index++,r}function Fn(t,i){return typeof i=="function"?i(t):i}function Yo(t){var i=Je();return Ju(i,_e,t)}function Ju(t,i,r){var l=t.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=r;var f=t.baseQueue,m=l.pending;if(m!==null){if(f!==null){var b=f.next;f.next=m.next,m.next=b}
vendor: 4,768 bytes, line 8
8i.baseQueue=f=m,l.pending=null}if(m=t.baseState,f===null)t.memoizedState=m;else{i=f.next;var N=b=null,A=null,B=i,Y=!1;do{var X=B.lane&-536870913;if(X!==B.lane?(Te&X)===X:(In&X)===X){var F=B.revertLane;if(F===0)A!==null&&(A=A.next={lane:0,revertLane:0,gesture:null,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null}),X===Ba&&(Y=!0);else if((In&F)===F){B=B.next,F===Ba&&(Y=!0);continue}else X={lane:0,revertLane:B.revertLane,gesture:null,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null},A===null?(N=A=X,b=m):A=A.next=X,we.lanes|=F,bi|=F;X=B.action,oa&&r(m,X),m=B.hasEagerState?B.eagerState:r(m,X)}else F={lane:X,revertLane:B.revertLane,gesture:B.gesture,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null},A===null?(N=A=F,b=m):A=A.next=F,we.lanes|=X,bi|=X;B=B.next}while(B!==null&&B!==i);if(A===null?b=m:A.next=N,!Lt(m,t.memoizedState)&&(it=!0,Y&&(r=Ia,r!==null)))throw r;t.memoizedState=m,t.baseState=b,t.baseQueue=A,l.lastRenderedState=m}return f===null&&(l.lanes=0),[t.memoizedState,l.dispatch]}function ed(t){var i=Je(),r=i.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=t;var l=r.dispatch,f=r.pending,m=i.memoizedState;if(f!==null){r.pending=null;var b=f=f.next;do m=t(m,b.action),b=b.next;while(b!==f);Lt(m,i.memoizedState)||(it=!0),i.memoizedState=m,i.baseQueue===null&&(i.baseState=m),r.lastRenderedState=m}return[m,l]}function Ag(t,i,r){var l=we,f=Je(),m=Me;if(m){if(r===void 0)throw Error(s(407));r=r()}else r=i();var b=!Lt((_e||f).memoizedState,r);if(b&&(f.memoizedState=r,it=!0),f=f.queue,id(zg.bind(null,l,f,t),[t]),f.getSnapshot!==i||b||nt!==null&&nt.memoizedState.tag&1){if(l.flags|=2048,Ya(9,{destroy:void 0},Rg.bind(null,l,f,r,i),null),Ie===null)throw Error(s(349));m||(In&127)!==0||Mg(l,i,r)}return r}function Mg(t,i,r){t.flags|=16384,t={getSnapshot:i,value:r},i=we.updateQueue,i===null?(i=Go(),we.updateQueue=i,i.stores=[t]):(r=i.stores,r===null?i.stores=[t]:r.push(t))}function Rg(t,i,r,l){i.value=r,i.getSnapshot=l,Dg(i)&&Og(t)}function zg(t,i,r){return r(function(){Dg(i)&&Og(t)})}function Dg(t){var i=t.getSnapshot;t=t.value;try{var r=i();return!Lt(t,r)}catch{return!0}}function Og(t){var i=Zi(t,2);i!==null&&Dt(i,t,2)}function td(t){var i=bt();if(typeof t=="function"){var r=t;if(t=r(),oa){ri(!0);try{r()}finally{ri(!1)}}}return i.memoizedState=i.baseState=t,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fn,lastRenderedState:t},i}function kg(t,i,r,l){return t.baseState=r,Ju(t,_e,typeof l=="function"?l:Fn)}function DE(t,i,r,l,f){if(Qo(t))throw Error(s(485));if(t=i.action,t!==null){var m={payload:f,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){m.listeners.push(b)}};O.T!==null?r(!0):m.isTransition=!1,l(m),r=i.pending,r===null?(m.next=i.pending=m,Pg(i,m)):(m.next=r.next,i.pending=r.next=m)}}function Pg(t,i){var r=i.action,l=i.payload,f=t.state;if(i.isTransition){var m=O.T,b={};O.T=b;try{var N=r(f,l),A=O.S;A!==null&&A(b,N),Lg(t,i,N)}catch(B){nd(t,i,B)}finally{m!==null&&b.types!==null&&(m.types=b.types),O.T=m}}else try{m=r(f,l),Lg(t,i,m)}catch(B){nd(t,i,B)}}function Lg(t,i,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(l){_g(t,i,l)},function(l){return nd(t,i,l)}):_g(t,i,r)}function _g(t,i,r){i.status="fulfilled",i.value=r,Vg(i),t.state=r,i=t.pending,i!==null&&(r=i.next,r===i?t.pending=null:(r=r.next,i.next=r,Pg(t,r)))}function nd(t,i,r){var l=t.pending;if(t.pending=null,l!==null){l=l.next;do i.status="rejected",i.reason=r,Vg(i),i=i.next;while(i!==l)}t.action=null}function Vg(t){t=t.listeners;for(var i=0;i<t.length;i++)(0,t[i])()}function Ug(t,i){return i}function Bg(t,i){if(Me){var r=Ie.formState;if(r!==null){e:{var l=we;if(Me){if(He){t:{for(var f=He,m=Jt;f.nodeType!==8;){if(!m){f=null;break t}if(f=tn(f.nextSibling),f===null){f=null;break t}}m=f.data,f=m==="F!"||m==="F"?f:null}if(f){He=tn(f.nextSibling),l=f.data==="F!";break e}}di(l)}l=!1}l&&(i=r[0])}}return r=bt(),r.memoizedState=r.baseState=i,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ug,lastRenderedState:i},r.queue=l,r=sy.bind(null,we,l),l.dispatch=r,l=td(!1),m=ld.bind(null,we,!1,l.queue),l=bt(),f={state:i,dispatch:null,action:t,pending:null},l.queue=f,r=DE.bind(null,we,f,m,r),f.dispatch=r,l.memoizedState=t,[i,r,!1]}function Ig(t){var i=Je();return Fg(i,_e,t)}function Fg(t,i,r){if(i=Ju(t,i,Ug)[0],t=Yo(Fn)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var l=tr(i)}catch(b){throw b===Fa?_o:b}else l=i;i=Je();var f=i.queue,m=f.dispatch;return r!==i.memoizedState&&(we.flags|=2048,Ya(9,{destroy:void 0},OE.bind(null,f,r),null)),[l,m,t]}function OE(t,i){t.action=i}function Hg(t){var i=Je(),r=_e;if(r!==null)return Fg(i,r,t);
vendor: 4,807 bytes, line 8
8Je(),i=i.memoizedState,r=Je();var l=r.queue.dispatch;return r.memoizedState=t,[i,l,!1]}function Ya(t,i,r,l){return t={tag:t,create:r,deps:l,inst:i,next:null},i=we.updateQueue,i===null&&(i=Go(),we.updateQueue=i),r=i.lastEffect,r===null?i.lastEffect=t.next=t:(l=r.next,r.next=t,t.next=l,i.lastEffect=t),t}function qg(){return Je().memoizedState}function $o(t,i,r,l){var f=bt();we.flags|=t,f.memoizedState=Ya(1|i,{destroy:void 0},r,l===void 0?null:l)}function Xo(t,i,r,l){var f=Je();l=l===void 0?null:l;var m=f.memoizedState.inst;_e!==null&&l!==null&&Yu(l,_e.memoizedState.deps)?f.memoizedState=Ya(i,m,r,l):(we.flags|=t,f.memoizedState=Ya(1|i,m,r,l))}function Gg(t,i){$o(8390656,8,t,i)}function id(t,i){Xo(2048,8,t,i)}function kE(t){we.flags|=4;var i=we.updateQueue;if(i===null)i=Go(),we.updateQueue=i,i.events=[t];else{var r=i.events;r===null?i.events=[t]:r.push(t)}}function Kg(t){var i=Je().memoizedState;return kE({ref:i,nextImpl:t}),function(){if((De&2)!==0)throw Error(s(440));return i.impl.apply(void 0,arguments)}}function Yg(t,i){return Xo(4,2,t,i)}function $g(t,i){return Xo(4,4,t,i)}function Xg(t,i){if(typeof i=="function"){t=t();var r=i(t);return function(){typeof r=="function"?r():i(null)}}if(i!=null)return t=t(),i.current=t,function(){i.current=null}}function Qg(t,i,r){r=r!=null?r.concat([t]):null,Xo(4,4,Xg.bind(null,i,t),r)}function ad(){}function Wg(t,i){var r=Je();i=i===void 0?null:i;var l=r.memoizedState;return i!==null&&Yu(i,l[1])?l[0]:(r.memoizedState=[t,i],t)}function Zg(t,i){var r=Je();i=i===void 0?null:i;var l=r.memoizedState;if(i!==null&&Yu(i,l[1]))return l[0];if(l=t(),oa){ri(!0);try{t()}finally{ri(!1)}}return r.memoizedState=[l,i],l}function sd(t,i,r){return r===void 0||(In&1073741824)!==0&&(Te&261930)===0?t.memoizedState=i:(t.memoizedState=r,t=Jy(),we.lanes|=t,bi|=t,r)}function Jg(t,i,r,l){return Lt(r,i)?r:qa.current!==null?(t=sd(t,r,l),Lt(t,i)||(it=!0),t):(In&42)===0||(In&1073741824)!==0&&(Te&261930)===0?(it=!0,t.memoizedState=r):(t=Jy(),we.lanes|=t,bi|=t,i)}function ey(t,i,r,l,f){var m=q.p;q.p=m!==0&&8>m?m:8;var b=O.T,N={};O.T=N,ld(t,!1,i,r);try{var A=f(),B=O.S;if(B!==null&&B(N,A),A!==null&&typeof A=="object"&&typeof A.then=="function"){var Y=ME(A,l);nr(t,i,Y,Ft(t))}else nr(t,i,l,Ft(t))}catch(X){nr(t,i,{then:function(){},status:"rejected",reason:X},Ft())}finally{q.p=m,b!==null&&N.types!==null&&(b.types=N.types),O.T=b}}function PE(){}function rd(t,i,r,l){if(t.tag!==5)throw Error(s(476));var f=ty(t).queue;ey(t,f,i,V,r===null?PE:function(){return ny(t),r(l)})}function ty(t){var i=t.memoizedState;if(i!==null)return i;i={memoizedState:V,baseState:V,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fn,lastRenderedState:V},next:null};var r={};return i.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fn,lastRenderedState:r},next:null},t.memoizedState=i,t=t.alternate,t!==null&&(t.memoizedState=i),i}function ny(t){var i=ty(t);i.next===null&&(i=t.alternate.memoizedState),nr(t,i.next.queue,{},Ft())}function od(){return mt(xr)}function iy(){return Je().memoizedState}function ay(){return Je().memoizedState}function LE(t){for(var i=t.return;i!==null;){switch(i.tag){case 24:case 3:var r=Ft();t=mi(r);var l=pi(i,t,r);l!==null&&(Dt(l,i,r),Ws(l,i,r)),i={cache:Lu()},t.payload=i;return}i=i.return}}function _E(t,i,r){var l=Ft();r={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},Qo(t)?ry(i,r):(r=Eu(t,i,r,l),r!==null&&(Dt(r,t,l),oy(r,i,l)))}function sy(t,i,r){var l=Ft();nr(t,i,r,l)}function nr(t,i,r,l){var f={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(Qo(t))ry(i,f);else{var m=t.alternate;if(t.lanes===0&&(m===null||m.lanes===0)&&(m=i.lastRenderedReducer,m!==null))try{var b=i.lastRenderedState,N=m(b,r);if(f.hasEagerState=!0,f.eagerState=N,Lt(N,b))return Ro(t,i,f,0),Ie===null&&Mo(),!1}catch{}if(r=Eu(t,i,f,l),r!==null)return Dt(r,t,l),oy(r,i,l),!0}return!1}function ld(t,i,r,l){if(l={lane:2,revertLane:Bd(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Qo(t)){if(i)throw Error(s(479))}else i=Eu(t,r,l,2),i!==null&&Dt(i,t,2)}function Qo(t){var i=t.alternate;return t===we||i!==null&&i===we}function ry(t,i){Ga=Ho=!0;var r=t.pending;r===null?i.next=i:(i.next=r.next,r.next=i),t.pending=i}function oy(t,i,r){if((r&4194048)!==0){var l=i.lanes;l&=t.pendingLanes,r|=l,i.lanes=r,fp(t,r)}}var ir={readContext:mt,use:Ko,useCallback:Xe,useContext:Xe,useEffect:Xe,useImperativeHandle:Xe,useLayoutEffect:Xe,useInsertionEffect:Xe,useMemo:Xe,useReducer:Xe,useRef:Xe,useState:Xe,useDebugValue:Xe,useDeferredValue:Xe,useTransition:Xe,useSyncExternalStore:Xe,useId:Xe,useHostTransitionStatus:Xe,useFormState:Xe,useActionState:Xe,useOptimistic:Xe,useMemoCache:Xe,useCacheRefresh:Xe};
vendor: 4,428 bytes, line 8
8ir.useEffectEvent=Xe;var ly={readContext:mt,use:Ko,useCallback:function(t,i){return bt().memoizedState=[t,i===void 0?null:i],t},useContext:mt,useEffect:Gg,useImperativeHandle:function(t,i,r){r=r!=null?r.concat([t]):null,$o(4194308,4,Xg.bind(null,i,t),r)},useLayoutEffect:function(t,i){return $o(4194308,4,t,i)},useInsertionEffect:function(t,i){$o(4,2,t,i)},useMemo:function(t,i){var r=bt();i=i===void 0?null:i;var l=t();if(oa){ri(!0);try{t()}finally{ri(!1)}}return r.memoizedState=[l,i],l},useReducer:function(t,i,r){var l=bt();if(r!==void 0){var f=r(i);if(oa){ri(!0);try{r(i)}finally{ri(!1)}}}else f=i;return l.memoizedState=l.baseState=f,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:f},l.queue=t,t=t.dispatch=_E.bind(null,we,t),[l.memoizedState,t]},useRef:function(t){var i=bt();return t={current:t},i.memoizedState=t},useState:function(t){t=td(t);var i=t.queue,r=sy.bind(null,we,i);return i.dispatch=r,[t.memoizedState,r]},useDebugValue:ad,useDeferredValue:function(t,i){var r=bt();return sd(r,t,i)},useTransition:function(){var t=td(!1);return t=ey.bind(null,we,t.queue,!0,!1),bt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,i,r){var l=we,f=bt();if(Me){if(r===void 0)throw Error(s(407));r=r()}else{if(r=i(),Ie===null)throw Error(s(349));(Te&127)!==0||Mg(l,i,r)}f.memoizedState=r;var m={value:r,getSnapshot:i};return f.queue=m,Gg(zg.bind(null,l,m,t),[t]),l.flags|=2048,Ya(9,{destroy:void 0},Rg.bind(null,l,m,r,i),null),r},useId:function(){var t=bt(),i=Ie.identifierPrefix;if(Me){var r=Sn,l=wn;r=(l&~(1<<32-Pt(l)-1)).toString(32)+r,i="_"+i+"R_"+r,r=qo++,0<r&&(i+="H"+r.toString(32)),i+="_"}else r=RE++,i="_"+i+"r_"+r.toString(32)+"_";return t.memoizedState=i},useHostTransitionStatus:od,useFormState:Bg,useActionState:Bg,useOptimistic:function(t){var i=bt();i.memoizedState=i.baseState=t;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=r,i=ld.bind(null,we,!0,r),r.dispatch=i,[t,i]},useMemoCache:Zu,useCacheRefresh:function(){return bt().memoizedState=LE.bind(null,we)},useEffectEvent:function(t){var i=bt(),r={impl:t};return i.memoizedState=r,function(){if((De&2)!==0)throw Error(s(440));return r.impl.apply(void 0,arguments)}}},cd={readContext:mt,use:Ko,useCallback:Wg,useContext:mt,useEffect:id,useImperativeHandle:Qg,useInsertionEffect:Yg,useLayoutEffect:$g,useMemo:Zg,useReducer:Yo,useRef:qg,useState:function(){return Yo(Fn)},useDebugValue:ad,useDeferredValue:function(t,i){var r=Je();return Jg(r,_e.memoizedState,t,i)},useTransition:function(){var t=Yo(Fn)[0],i=Je().memoizedState;return[typeof t=="boolean"?t:tr(t),i]},useSyncExternalStore:Ag,useId:iy,useHostTransitionStatus:od,useFormState:Ig,useActionState:Ig,useOptimistic:function(t,i){var r=Je();return kg(r,_e,t,i)},useMemoCache:Zu,useCacheRefresh:ay};cd.useEffectEvent=Kg;var cy={readContext:mt,use:Ko,useCallback:Wg,useContext:mt,useEffect:id,useImperativeHandle:Qg,useInsertionEffect:Yg,useLayoutEffect:$g,useMemo:Zg,useReducer:ed,useRef:qg,useState:function(){return ed(Fn)},useDebugValue:ad,useDeferredValue:function(t,i){var r=Je();return _e===null?sd(r,t,i):Jg(r,_e.memoizedState,t,i)},useTransition:function(){var t=ed(Fn)[0],i=Je().memoizedState;return[typeof t=="boolean"?t:tr(t),i]},useSyncExternalStore:Ag,useId:iy,useHostTransitionStatus:od,useFormState:Hg,useActionState:Hg,useOptimistic:function(t,i){var r=Je();return _e!==null?kg(r,_e,t,i):(r.baseState=t,[t,r.queue.dispatch])},useMemoCache:Zu,useCacheRefresh:ay};cy.useEffectEvent=Kg;function ud(t,i,r,l){i=t.memoizedState,r=r(l,i),r=r==null?i:v({},i,r),t.memoizedState=r,t.lanes===0&&(t.updateQueue.baseState=r)}var dd={enqueueSetState:function(t,i,r){t=t._reactInternals;var l=Ft(),f=mi(l);f.payload=i,r!=null&&(f.callback=r),i=pi(t,f,l),i!==null&&(Dt(i,t,l),Ws(i,t,l))},enqueueReplaceState:function(t,i,r){t=t._reactInternals;var l=Ft(),f=mi(l);f.tag=1,f.payload=i,r!=null&&(f.callback=r),i=pi(t,f,l),i!==null&&(Dt(i,t,l),Ws(i,t,l))},enqueueForceUpdate:function(t,i){t=t._reactInternals;var r=Ft(),l=mi(r);l.tag=2,i!=null&&(l.callback=i),i=pi(t,l,r),i!==null&&(Dt(i,t,r),Ws(i,t,r))}};function uy(t,i,r,l,f,m,b){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(l,m,b):i.prototype&&i.prototype.isPureReactComponent?!Hs(r,l)||!Hs(f,m):!0}function dy(t,i,r,l){t=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(r,l),t
vendor: 4,577 bytes, line 8
8ypeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(r,l),i.state!==t&&dd.enqueueReplaceState(i,i.state,null)}function la(t,i){var r=i;if("ref"in i){r={};for(var l in i)l!=="ref"&&(r[l]=i[l])}if(t=t.defaultProps){r===i&&(r=v({},r));for(var f in t)r[f]===void 0&&(r[f]=t[f])}return r}function fy(t){Ao(t)}function hy(t){console.error(t)}function my(t){Ao(t)}function Wo(t,i){try{var r=t.onUncaughtError;r(i.value,{componentStack:i.stack})}catch(l){setTimeout(function(){throw l})}}function py(t,i,r){try{var l=t.onCaughtError;l(r.value,{componentStack:r.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(f){setTimeout(function(){throw f})}}function fd(t,i,r){return r=mi(r),r.tag=3,r.payload={element:null},r.callback=function(){Wo(t,i)},r}function gy(t){return t=mi(t),t.tag=3,t}function yy(t,i,r,l){var f=r.type.getDerivedStateFromError;if(typeof f=="function"){var m=l.value;t.payload=function(){return f(m)},t.callback=function(){py(i,r,l)}}var b=r.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(t.callback=function(){py(i,r,l),typeof f!="function"&&(wi===null?wi=new Set([this]):wi.add(this));var N=l.stack;this.componentDidCatch(l.value,{componentStack:N!==null?N:""})})}function VE(t,i,r,l,f){if(r.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(i=r.alternate,i!==null&&Ua(i,r,f,!0),r=Vt.current,r!==null){switch(r.tag){case 31:case 13:return en===null?cl():r.alternate===null&&Qe===0&&(Qe=3),r.flags&=-257,r.flags|=65536,r.lanes=f,l===Vo?r.flags|=16384:(i=r.updateQueue,i===null?r.updateQueue=new Set([l]):i.add(l),_d(t,l,f)),!1;case 22:return r.flags|=65536,l===Vo?r.flags|=16384:(i=r.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([l])},r.updateQueue=i):(r=i.retryQueue,r===null?i.retryQueue=new Set([l]):r.add(l)),_d(t,l,f)),!1}throw Error(s(435,r.tag))}return _d(t,l,f),cl(),!1}if(Me)return i=Vt.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=f,l!==zu&&(t=Error(s(422),{cause:l}),Ks(Qt(t,r)))):(l!==zu&&(i=Error(s(423),{cause:l}),Ks(Qt(i,r))),t=t.current.alternate,t.flags|=65536,f&=-f,t.lanes|=f,l=Qt(l,r),f=fd(t.stateNode,l,f),Fu(t,f),Qe!==4&&(Qe=2)),!1;var m=Error(s(520),{cause:l});if(m=Qt(m,r),dr===null?dr=[m]:dr.push(m),Qe!==4&&(Qe=2),i===null)return!0;l=Qt(l,r),r=i;do{switch(r.tag){case 3:return r.flags|=65536,t=f&-f,r.lanes|=t,t=fd(r.stateNode,l,t),Fu(r,t),!1;case 1:if(i=r.type,m=r.stateNode,(r.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(wi===null||!wi.has(m))))return r.flags|=65536,f&=-f,r.lanes|=f,f=gy(f),yy(f,t,r,l),Fu(r,f),!1}r=r.return}while(r!==null);return!1}var hd=Error(s(461)),it=!1;function pt(t,i,r,l){i.child=t===null?wg(i,null,r,l):ra(i,t.child,r,l)}function vy(t,i,r,l,f){r=r.render;var m=i.ref;if("ref"in l){var b={};for(var N in l)N!=="ref"&&(b[N]=l[N])}else b=l;return na(i),l=$u(t,i,r,b,m,f),N=Xu(),t!==null&&!it?(Qu(t,i,f),Hn(t,i,f)):(Me&&N&&Mu(i),i.flags|=1,pt(t,i,l,f),i.child)}function xy(t,i,r,l,f){if(t===null){var m=r.type;return typeof m=="function"&&!ju(m)&&m.defaultProps===void 0&&r.compare===null?(i.tag=15,i.type=m,by(t,i,m,l,f)):(t=Do(r.type,null,l,i,i.mode,f),t.ref=i.ref,t.return=i,i.child=t)}if(m=t.child,!wd(t,f)){var b=m.memoizedProps;if(r=r.compare,r=r!==null?r:Hs,r(b,l)&&t.ref===i.ref)return Hn(t,i,f)}return i.flags|=1,t=_n(m,l),t.ref=i.ref,t.return=i,i.child=t}function by(t,i,r,l,f){if(t!==null){var m=t.memoizedProps;if(Hs(m,l)&&t.ref===i.ref)if(it=!1,i.pendingProps=l=m,wd(t,f))(t.flags&131072)!==0&&(it=!0);else return i.lanes=t.lanes,Hn(t,i,f)}return md(t,i,r,l,f)}function wy(t,i,r,l){var f=l.children,m=t!==null?t.memoizedState:null;if(t===null&&i.stateNode===null&&(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((i.flags&128)!==0){if(m=m!==null?m.baseLanes|r:r,t!==null){for(l=i.child=t.child,f=0;l!==null;)f=f|l.lanes|l.childLanes,l=l.sibling;l=f&~m}else l=0,i.child=null;return Sy(t,i,m,r,l)}if((r&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},t!==null&&Lo(i,m!==null?m.cachePool:null),m!==null?Cg(i,m):qu(),Eg(i);else return l=i.lanes=536870912,Sy(t,i,m!==null?m.baseLanes|r:r,r,l)}else m!==null?(Lo(i,m.cachePool),Cg(i,m),yi(),i.memoizedState=null):(t!==null&&Lo(i,null),qu(),yi());return pt(t,i,f,r),i.child}function ar(t,i){return t!==null&&t.tag===22||i.stateNode!==null||(i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.sibling}function Sy(t,i,r,l,f){var m=Vu();
vendor: 2,331 bytes, line 8
8return m=m===null?null:{parent:tt._currentValue,pool:m},i.memoizedState={baseLanes:r,cachePool:m},t!==null&&Lo(i,null),qu(),Eg(i),t!==null&&Ua(t,i,l,!0),i.childLanes=f,null}function Zo(t,i){return i=el({mode:i.mode,children:i.children},t.mode),i.ref=t.ref,t.child=i,i.return=t,i}function Ny(t,i,r){return ra(i,t.child,null,r),t=Zo(i,i.pendingProps),t.flags|=2,Ut(i),i.memoizedState=null,t}function UE(t,i,r){var l=i.pendingProps,f=(i.flags&128)!==0;if(i.flags&=-129,t===null){if(Me){if(l.mode==="hidden")return t=Zo(i,l),i.lanes=536870912,ar(null,t);if(Ku(i),(t=He)?(t=Pv(t,Jt),t=t!==null&&t.data==="&"?t:null,t!==null&&(i.memoizedState={dehydrated:t,treeContext:ci!==null?{id:wn,overflow:Sn}:null,retryLane:536870912,hydrationErrors:null},r=rg(t),r.return=i,i.child=r,ht=i,He=null)):t=null,t===null)throw di(i);return i.lanes=536870912,null}return Zo(i,l)}var m=t.memoizedState;if(m!==null){var b=m.dehydrated;if(Ku(i),f)if(i.flags&256)i.flags&=-257,i=Ny(t,i,r);else if(i.memoizedState!==null)i.child=t.child,i.flags|=128,i=null;else throw Error(s(558));else if(it||Ua(t,i,r,!1),f=(r&t.childLanes)!==0,it||f){if(l=Ie,l!==null&&(b=hp(l,r),b!==0&&b!==m.retryLane))throw m.retryLane=b,Zi(t,b),Dt(l,t,b),hd;cl(),i=Ny(t,i,r)}else t=m.treeContext,He=tn(b.nextSibling),ht=i,Me=!0,ui=null,Jt=!1,t!==null&&cg(i,t),i=Zo(i,l),i.flags|=4096;return i}return t=_n(t.child,{mode:l.mode,children:l.children}),t.ref=i.ref,i.child=t,t.return=i,t}function Jo(t,i){var r=i.ref;if(r===null)t!==null&&t.ref!==null&&(i.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(s(284));(t===null||t.ref!==r)&&(i.flags|=4194816)}}function md(t,i,r,l,f){return na(i),r=$u(t,i,r,l,void 0,f),l=Xu(),t!==null&&!it?(Qu(t,i,f),Hn(t,i,f)):(Me&&l&&Mu(i),i.flags|=1,pt(t,i,r,f),i.child)}function Cy(t,i,r,l,f,m){return na(i),i.updateQueue=null,r=Tg(i,l,r,f),jg(t),l=Xu(),t!==null&&!it?(Qu(t,i,m),Hn(t,i,m)):(Me&&l&&Mu(i),i.flags|=1,pt(t,i,r,m),i.child)}function Ey(t,i,r,l,f){if(na(i),i.stateNode===null){var m=Pa,b=r.contextType;typeof b=="object"&&b!==null&&(m=mt(b)),m=new r(l,m),i.memoizedState=m.state!==null&&m.state!==void 0?m.state:null,m.updater=dd,i.stateNode=m,m._reactInternals=i,m=i.stateNode,m.props=l,m.state=i.memoizedState,m.refs={},Bu(i),b=r.contextType,m.context=typeof b=="object"&&b!==null?mt(b):Pa,m.state=i.memoizedState,b
vendor: 6,700 bytes, line 8
8=r.getDerivedStateFromProps,typeof b=="function"&&(ud(i,r,b,l),m.state=i.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof m.getSnapshotBeforeUpdate=="function"||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(b=m.state,typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount(),b!==m.state&&dd.enqueueReplaceState(m,m.state,null),Js(i,l,m,f),Zs(),m.state=i.memoizedState),typeof m.componentDidMount=="function"&&(i.flags|=4194308),l=!0}else if(t===null){m=i.stateNode;var N=i.memoizedProps,A=la(r,N);m.props=A;var B=m.context,Y=r.contextType;b=Pa,typeof Y=="object"&&Y!==null&&(b=mt(Y));var X=r.getDerivedStateFromProps;Y=typeof X=="function"||typeof m.getSnapshotBeforeUpdate=="function",N=i.pendingProps!==N,Y||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(N||B!==b)&&dy(i,m,l,b),hi=!1;var F=i.memoizedState;m.state=F,Js(i,l,m,f),Zs(),B=i.memoizedState,N||F!==B||hi?(typeof X=="function"&&(ud(i,r,X,l),B=i.memoizedState),(A=hi||uy(i,r,A,l,F,B,b))?(Y||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(i.flags|=4194308)):(typeof m.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=l,i.memoizedState=B),m.props=l,m.state=B,m.context=b,l=A):(typeof m.componentDidMount=="function"&&(i.flags|=4194308),l=!1)}else{m=i.stateNode,Iu(t,i),b=i.memoizedProps,Y=la(r,b),m.props=Y,X=i.pendingProps,F=m.context,B=r.contextType,A=Pa,typeof B=="object"&&B!==null&&(A=mt(B)),N=r.getDerivedStateFromProps,(B=typeof N=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(b!==X||F!==A)&&dy(i,m,l,A),hi=!1,F=i.memoizedState,m.state=F,Js(i,l,m,f),Zs();var H=i.memoizedState;b!==X||F!==H||hi||t!==null&&t.dependencies!==null&&ko(t.dependencies)?(typeof N=="function"&&(ud(i,r,N,l),H=i.memoizedState),(Y=hi||uy(i,r,Y,l,F,H,A)||t!==null&&t.dependencies!==null&&ko(t.dependencies))?(B||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(l,H,A),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(l,H,A)),typeof m.componentDidUpdate=="function"&&(i.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof m.componentDidUpdate!="function"||b===t.memoizedProps&&F===t.memoizedState||(i.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||b===t.memoizedProps&&F===t.memoizedState||(i.flags|=1024),i.memoizedProps=l,i.memoizedState=H),m.props=l,m.state=H,m.context=A,l=Y):(typeof m.componentDidUpdate!="function"||b===t.memoizedProps&&F===t.memoizedState||(i.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||b===t.memoizedProps&&F===t.memoizedState||(i.flags|=1024),l=!1)}return m=l,Jo(t,i),l=(i.flags&128)!==0,m||l?(m=i.stateNode,r=l&&typeof r.getDerivedStateFromError!="function"?null:m.render(),i.flags|=1,t!==null&&l?(i.child=ra(i,t.child,null,f),i.child=ra(i,null,r,f)):pt(t,i,r,f),i.memoizedState=m.state,t=i.child):t=Hn(t,i,f),t}function jy(t,i,r,l){return ea(),i.flags|=256,pt(t,i,r,l),i.child}var pd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function gd(t){return{baseLanes:t,cachePool:pg()}}function yd(t,i,r){return t=t!==null?t.childLanes&~r:0,i&&(t|=It),t}function Ty(t,i,r){var l=i.pendingProps,f=!1,m=(i.flags&128)!==0,b;if((b=m)||(b=t!==null&&t.memoizedState===null?!1:(Ze.current&2)!==0),b&&(f=!0,i.flags&=-129),b=(i.flags&32)!==0,i.flags&=-33,t===null){if(Me){if(f?gi(i):yi(),(t=He)?(t=Pv(t,Jt),t=t!==null&&t.data!=="&"?t:null,t!==null&&(i.memoizedState={dehydrated:t,treeContext:ci!==null?{id:wn,overflow:Sn}:null,retryLane:536870912,hydrationErrors:null},r=rg(t),r.return=i,i.child=r,ht=i,He=null)):t=null,t===null)throw di(i);return Jd(t)?i.lanes=32:i.lanes=536870912,null}var N=l.children;return l=l.fallback,f?(yi(),f=i.mode,N=el({mode:"hidden",children:N},f),l=Ji(l,f,r,null),N.return=i,l.return=i,N.sibling=l,i.child=N,l=i.child,l.memoizedState=gd(r),l.childLanes=yd(t,b,r),i.memoizedState=pd,ar(null,l)):(gi(i),vd(i,N))}var A=t.memoizedState;if(A!==null&&(N=A.dehydrated,N!==null)){if(m)i.flags&256?(gi(i),i.flags&=-257,i=xd(t,i,r)):i.memoizedState!==null?(yi(),i.child=t.child,i.flags|=128,i=null):(yi(),N=l.fallback,f=i.mode,l=el({mode:"visible",children:l.children},f),N=Ji(N,f,r,null),N.flags|=2,l.return=i,N.return=i,l.sibling=N,i.child=l,ra(i,t.child,null,r),l=i.child,l.memoizedState=gd(r),l.childLanes=yd(t,b,r),i.memoizedState=pd,i=ar(null,l));else if(gi(i),Jd(N)){if(b=N.nextSibling&&N.nextSibling.dataset,b)var B=b.dgst;b=B,l=Error(s(419)),l.stack="",l.digest=b,Ks({value:l,source:null,stack:null}),i=xd(t,i,r)}else if(it||Ua(t,i,r,!1),b=(r&t.childLanes)!==0,it||b){if(b=Ie,b!==null&&(l=hp(b,r),l!==0&&l!==A.retryLane))throw A.retryLane=l,Zi(t,l),Dt(b,t,l),hd;Zd(N)||cl(),i=xd(t,i,r)}else Zd(N)?(i.flags|=192,i.child=t.child,i=null):(t=A.treeContext,He=tn(N.nextSibling),ht=i,Me=!0,ui=null,Jt=!1,t!==null&&cg(i,t),i=vd(i,l.children),i.flags|=4096);return i}return f?(yi(),N=l.fallback,f=i.mode,A=t.child,B=A.sibling,l=_n(A,{mode:"hidden",children:l.children}),l.subtreeFlags=A.subtreeFlags&65011712,B!==null?N=_n(B,N):(N=Ji(N,f,r,null),N.flags|=2),N.return=i,l.return=i,l.sibling=N,i.child=l,ar(null,l),l=i.child,N=t.child.memoizedState,N===null?N=gd(r):(f=N.cachePool,f!==null?(A=tt._currentValue,f=f.parent!==A?{parent:A,pool:A}:f):f=pg(),N={baseLanes:N.baseLanes|r,cachePool:f}),l.memoizedState=N,l.childLanes=yd(t,b,r),i.memoizedState=pd,ar(t.child,l)):(gi(i),r=t.child,t=r.sibling,r=_n(r,{mode:"visible",children:l.children}),r.return=i,r.sibling=null,t!==null&&(b=i.deletions,b===null?(i.deletions=[t],i.flags|=16):b.push(t)),i.child=r,i.memoizedState=null,r)}function vd(t,i){return i=el({mode:"visible",children:i},t.mode),i.return=t,t.child=i}function el(t,i){return t=_t(22,t,null,i),t.lanes=0,t}function xd(t,i,r){return ra(i,t.child,null,r),t=vd(i,i.pendingProps.children),t.flags|=2,i.memoizedState=null,t}function Ay(t,i,r){t.lanes|=i;var l=t.alternate;l!==null&&(l.lanes|=i),ku(t.return,i,r)}function bd(t,i,r,l,f,m){var b=t.memoizedState;b===null?t.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:l,tail:r,tailMode:f,treeForkCount:m}:(b.isBackwards=i,b.rendering=null,b.renderingStartTime=0,b.last=l,b.tail
vendor: 8,858 bytes, line 8
8=r,b.tailMode=f,b.treeForkCount=m)}function My(t,i,r){var l=i.pendingProps,f=l.revealOrder,m=l.tail;l=l.children;var b=Ze.current,N=(b&2)!==0;if(N?(b=b&1|2,i.flags|=128):b&=1,Z(Ze,b),pt(t,i,l,r),l=Me?Gs:0,!N&&t!==null&&(t.flags&128)!==0)e:for(t=i.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Ay(t,r,i);else if(t.tag===19)Ay(t,r,i);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===i)break e;for(;t.sibling===null;){if(t.return===null||t.return===i)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(f){case"forwards":for(r=i.child,f=null;r!==null;)t=r.alternate,t!==null&&Fo(t)===null&&(f=r),r=r.sibling;r=f,r===null?(f=i.child,i.child=null):(f=r.sibling,r.sibling=null),bd(i,!1,f,r,m,l);break;case"backwards":case"unstable_legacy-backwards":for(r=null,f=i.child,i.child=null;f!==null;){if(t=f.alternate,t!==null&&Fo(t)===null){i.child=f;break}t=f.sibling,f.sibling=r,r=f,f=t}bd(i,!0,r,null,m,l);break;case"together":bd(i,!1,null,null,void 0,l);break;default:i.memoizedState=null}return i.child}function Hn(t,i,r){if(t!==null&&(i.dependencies=t.dependencies),bi|=i.lanes,(r&i.childLanes)===0)if(t!==null){if(Ua(t,i,r,!1),(r&i.childLanes)===0)return null}else return null;if(t!==null&&i.child!==t.child)throw Error(s(153));if(i.child!==null){for(t=i.child,r=_n(t,t.pendingProps),i.child=r,r.return=i;t.sibling!==null;)t=t.sibling,r=r.sibling=_n(t,t.pendingProps),r.return=i;r.sibling=null}return i.child}function wd(t,i){return(t.lanes&i)!==0?!0:(t=t.dependencies,!!(t!==null&&ko(t)))}function BE(t,i,r){switch(i.tag){case 3:Ke(i,i.stateNode.containerInfo),fi(i,tt,t.memoizedState.cache),ea();break;case 27:case 5:Kt(i);break;case 4:Ke(i,i.stateNode.containerInfo);break;case 10:fi(i,i.type,i.memoizedProps.value);break;case 31:if(i.memoizedState!==null)return i.flags|=128,Ku(i),null;break;case 13:var l=i.memoizedState;if(l!==null)return l.dehydrated!==null?(gi(i),i.flags|=128,null):(r&i.child.childLanes)!==0?Ty(t,i,r):(gi(i),t=Hn(t,i,r),t!==null?t.sibling:null);gi(i);break;case 19:var f=(t.flags&128)!==0;if(l=(r&i.childLanes)!==0,l||(Ua(t,i,r,!1),l=(r&i.childLanes)!==0),f){if(l)return My(t,i,r);i.flags|=128}if(f=i.memoizedState,f!==null&&(f.rendering=null,f.tail=null,f.lastEffect=null),Z(Ze,Ze.current),l)break;return null;case 22:return i.lanes=0,wy(t,i,r,i.pendingProps);case 24:fi(i,tt,t.memoizedState.cache)}return Hn(t,i,r)}function Ry(t,i,r){if(t!==null)if(t.memoizedProps!==i.pendingProps)it=!0;else{if(!wd(t,r)&&(i.flags&128)===0)return it=!1,BE(t,i,r);it=(t.flags&131072)!==0}else it=!1,Me&&(i.flags&1048576)!==0&&lg(i,Gs,i.index);switch(i.lanes=0,i.tag){case 16:e:{var l=i.pendingProps;if(t=aa(i.elementType),i.type=t,typeof t=="function")ju(t)?(l=la(t,l),i.tag=1,i=Ey(null,i,t,l,r)):(i.tag=0,i=md(null,i,t,l,r));else{if(t!=null){var f=t.$$typeof;if(f===k){i.tag=11,i=vy(null,i,t,l,r);break e}else if(f===I){i.tag=14,i=xy(null,i,t,l,r);break e}}throw i=ee(t)||t,Error(s(306,i,""))}}return i;case 0:return md(t,i,i.type,i.pendingProps,r);case 1:return l=i.type,f=la(l,i.pendingProps),Ey(t,i,l,f,r);case 3:e:{if(Ke(i,i.stateNode.containerInfo),t===null)throw Error(s(387));l=i.pendingProps;var m=i.memoizedState;f=m.element,Iu(t,i),Js(i,l,null,r);var b=i.memoizedState;if(l=b.cache,fi(i,tt,l),l!==m.cache&&Pu(i,[tt],r,!0),Zs(),l=b.element,m.isDehydrated)if(m={element:l,isDehydrated:!1,cache:b.cache},i.updateQueue.baseState=m,i.memoizedState=m,i.flags&256){i=jy(t,i,l,r);break e}else if(l!==f){f=Qt(Error(s(424)),i),Ks(f),i=jy(t,i,l,r);break e}else for(t=i.stateNode.containerInfo,t.nodeType===9?t=t.body:t=t.nodeName==="HTML"?t.ownerDocument.body:t,He=tn(t.firstChild),ht=i,Me=!0,ui=null,Jt=!0,r=wg(i,null,l,r),i.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(ea(),l===f){i=Hn(t,i,r);break e}pt(t,i,l,r)}i=i.child}return i;case 26:return Jo(t,i),t===null?(r=Iv(i.type,null,i.pendingProps,null))?i.memoizedState=r:Me||(r=i.type,t=i.pendingProps,l=gl(ye.current).createElement(r),l[ft]=i,l[jt]=t,gt(l,r,t),ut(l),i.stateNode=l):i.memoizedState=Iv(i.type,t.memoizedProps,i.pendingProps,t.memoizedState),null;case 27:return Kt(i),t===null&&Me&&(l=i.stateNode=Vv(i.type,i.pendingProps,ye.current),ht=i,Jt=!0,f=He,Ei(i.type)?(ef=f,He=tn(l.firstChild)):He=f),pt(t,i,i.pendingProps.children,r),Jo(t,i),t===null&&(i.flags|=4194304),i.child;case 5:return t===null&&Me&&((f=l=He)&&(l=gj(l,i.type,i.pendingProps,Jt),l!==null?(i.stateNode=l,ht=i,He=tn(l.firstChild),Jt=!1,f=!0):f=!1),f||di(i)),Kt(i),f=i.type,m=i.pendingProps,b=t!==null?t.memoizedProps:null,l=m.children,Xd(f,m)?l=null:b!==null&&Xd(f,b)&&(i.flags|=32),i.memoizedState!==null&&(f=$u(t,i,zE,null,null,r),xr._currentValue=f),Jo(t,i),pt(t,i,l,r),i.child;case 6:return t===null&&Me&&((t=r=He)&&(r=yj(r,i.pendingProps,Jt),r!==null?(i.stateNode=r,ht=i,He=null,t=!0):t=!1),t||di(i)),null;case 13:return Ty(t,i,r);case 4:return Ke(i,i.stateNode.containerInfo),l=i.pendingProps,t===null?i.child=ra(i,null,l,r):pt(t,i,l,r),i.child;case 11:return vy(t,i,i.type,i.pendingProps,r);case 7:return pt(t,i,i.pendingProps,r),i.child;case 8:return pt(t,i,i.pendingProps.children,r),i.child;case 12:return pt(t,i,i.pendingProps.children,r),i.child;case 10:return l=i.pendingProps,fi(i,i.type,l.value),pt(t,i,l.children,r),i.child;case 9:return f=i.type._context,l=i.pendingProps.children,na(i),f=mt(f),l=l(f),i.flags|=1,pt(t,i,l,r),i.child;case 14:return xy(t,i,i.type,i.pendingProps,r);case 15:return by(t,i,i.type,i.pendingProps,r);case 19:return My(t,i,r);case 31:return UE(t,i,r);case 22:return wy(t,i,r,i.pendingProps);case 24:return na(i),l=mt(tt),t===null?(f=Vu(),f===null&&(f=Ie,m=Lu(),f.pooledCache=m,m.refCount++,m!==null&&(f.pooledCacheLanes|=r),f=m),i.memoizedState={parent:l,cache:f},Bu(i),fi(i,tt,f)):((t.lanes&r)!==0&&(Iu(t,i),Js(i,null,null,r),Zs()),f=t.memoizedState,m=i.memoizedState,f.parent!==l?(f={parent:l,cache:l},i.memoizedState=f,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=f),fi(i,tt,l)):(l=m.cache,fi(i,tt,l),l!==f.cache&&Pu(i,[tt],r,!0))),pt(t,i,i.pendingProps.children,r),i.child;case 29:throw i.pendingProps}throw Error(s(156,i.tag))}function qn(t){t.flags|=4}function Sd(t,i,r,l,f){if((i=(t.mode&32)!==0)&&(i=!1),i){if(t.flags|=16777216,(f&335544128)===f)if(t.stateNode.complete)t.flags|=8192;else if(iv())t.flags|=8192;else throw sa=Vo,Uu}else t.flags&=-16777217}function zy(t,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Kv(i))if(iv())t.flags|=8192;else throw sa=Vo,Uu}function tl(t,i){i!==null&&(t.flags|=4),t.flags&16384&&(i=t.tag!==22?up():536870912,t.lanes|=i,Wa|=i)}function sr(t,i){if(!Me)switch(t.tailMode){case"hidden":i=t.tail;for(var r=null;i!==null;)i.alternate!==null&&(r=i),i=i.sibling;r===null?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?i||t.tail===null?t.tail=null:t.tail.sibling=null:l.sibling=null}}function qe(t){var i=t.alternate!==null&&t.alternate.child===t.child,r=0,l=0;if(i)for(var f=t.child;f!==null;)r|=f.lanes|f.childLanes,l|=f.subtreeFlags&65011712,l|=f.flags&65011712,f.return=t,f=f.sibling;else for(f=t.child;f!==null;)r|=f.lanes|f.childLanes,l|=f.subtreeFlags,l|=f.flags,f.return=t,f=f.sibling;return t.subtreeFlags|=l,t.childLanes=r,i}function IE(t,i,r){var l=i.pendingProps;switch(Ru(i),i.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qe(i),null;case 1:return qe(i),null;case 3:return r=i.stateNode,l=null,t!==null&&(l=t.memoizedState.cache),i.memoizedState.cache!==l&&(i.flags|=2048),Bn(tt),Le(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(t===null||t.child===null)&&(Va(i)?qn(i):t===null||t.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Du())),qe(i),null;case 26:var f=i.type,m=i.memoizedState;return t===null?(qn(i),m!==null?(qe(i),zy(i,m)):(qe(i),Sd(i,f,null,l,r))):m?m!==t.memoizedState?(qn(i),qe(i),zy(i,m)):(qe(i),i.flags&=-16777217):(t=t.memoizedProps,t!==l&&qn(i),qe(i),Sd(i,f,t,l,r)),null;case 27:if(xn(i),r=ye.current,f=i.type,t!==null&&i.stateNode!=null)t.memoizedProps!==l&&qn(i);else{if(!l){if(i.stateNode===null)throw Error(s(166));return qe(i),null}t=te.current,Va(i)?ug(i):(t=Vv(f,l,r),i.stateNode=t,qn(i))}return qe(i),null;case 5:if(xn(i),f=i.type,t!==null&&i.stateNode!=null)t.memoizedProps!==l&&qn(i);else{if(!l){if(i.stateNode===null)throw Error(s(166));return qe(i),null}if(m=te.current,Va(i))ug(i);else{var b=gl(ye.current);switch(m){case 1:m=b.createElementNS("http://www.w3.org/2000/svg",f);break;case 2:m=b.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;default:switch(f){case"svg":m=b.createElementNS("http://www.w3.org/2000/svg",f);break;case"math":m=b.createElementNS("http://www.w3.org/1998/Math/MathML",f);break;case"script":m=b.createElement("div"),m.innerHTML="<script><\/script>",m=m.removeChild(m.firstChild);break;
vendor: 24,322 bytes, line 8
8case"select":m=typeof l.is=="string"?b.createElement("select",{is:l.is}):b.createElement("select"),l.multiple?m.multiple=!0:l.size&&(m.size=l.size);break;default:m=typeof l.is=="string"?b.createElement(f,{is:l.is}):b.createElement(f)}}m[ft]=i,m[jt]=l;e:for(b=i.child;b!==null;){if(b.tag===5||b.tag===6)m.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===i)break e;for(;b.sibling===null;){if(b.return===null||b.return===i)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}i.stateNode=m;e:switch(gt(m,f,l),f){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&qn(i)}}return qe(i),Sd(i,i.type,t===null?null:t.memoizedProps,i.pendingProps,r),null;case 6:if(t&&i.stateNode!=null)t.memoizedProps!==l&&qn(i);else{if(typeof l!="string"&&i.stateNode===null)throw Error(s(166));if(t=ye.current,Va(i)){if(t=i.stateNode,r=i.memoizedProps,l=null,f=ht,f!==null)switch(f.tag){case 27:case 5:l=f.memoizedProps}t[ft]=i,t=!!(t.nodeValue===r||l!==null&&l.suppressHydrationWarning===!0||Tv(t.nodeValue,r)),t||di(i,!0)}else t=gl(t).createTextNode(l),t[ft]=i,i.stateNode=t}return qe(i),null;case 31:if(r=i.memoizedState,t===null||t.memoizedState!==null){if(l=Va(i),r!==null){if(t===null){if(!l)throw Error(s(318));if(t=i.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(557));t[ft]=i}else ea(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;qe(i),t=!1}else r=Du(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=r),t=!0;if(!t)return i.flags&256?(Ut(i),i):(Ut(i),null);if((i.flags&128)!==0)throw Error(s(558))}return qe(i),null;case 13:if(l=i.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(f=Va(i),l!==null&&l.dehydrated!==null){if(t===null){if(!f)throw Error(s(318));if(f=i.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(s(317));f[ft]=i}else ea(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;qe(i),f=!1}else f=Du(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=f),f=!0;if(!f)return i.flags&256?(Ut(i),i):(Ut(i),null)}return Ut(i),(i.flags&128)!==0?(i.lanes=r,i):(r=l!==null,t=t!==null&&t.memoizedState!==null,r&&(l=i.child,f=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(f=l.alternate.memoizedState.cachePool.pool),m=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(m=l.memoizedState.cachePool.pool),m!==f&&(l.flags|=2048)),r!==t&&r&&(i.child.flags|=8192),tl(i,i.updateQueue),qe(i),null);case 4:return Le(),t===null&&qd(i.stateNode.containerInfo),qe(i),null;case 10:return Bn(i.type),qe(i),null;case 19:if(G(Ze),l=i.memoizedState,l===null)return qe(i),null;if(f=(i.flags&128)!==0,m=l.rendering,m===null)if(f)sr(l,!1);else{if(Qe!==0||t!==null&&(t.flags&128)!==0)for(t=i.child;t!==null;){if(m=Fo(t),m!==null){for(i.flags|=128,sr(l,!1),t=m.updateQueue,i.updateQueue=t,tl(i,t),i.subtreeFlags=0,t=r,r=i.child;r!==null;)sg(r,t),r=r.sibling;return Z(Ze,Ze.current&1|2),Me&&Vn(i,l.treeForkCount),i.child}t=t.sibling}l.tail!==null&&Ot()>rl&&(i.flags|=128,f=!0,sr(l,!1),i.lanes=4194304)}else{if(!f)if(t=Fo(m),t!==null){if(i.flags|=128,f=!0,t=t.updateQueue,i.updateQueue=t,tl(i,t),sr(l,!0),l.tail===null&&l.tailMode==="hidden"&&!m.alternate&&!Me)return qe(i),null}else 2*Ot()-l.renderingStartTime>rl&&r!==536870912&&(i.flags|=128,f=!0,sr(l,!1),i.lanes=4194304);l.isBackwards?(m.sibling=i.child,i.child=m):(t=l.last,t!==null?t.sibling=m:i.child=m,l.last=m)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ot(),t.sibling=null,r=Ze.current,Z(Ze,f?r&1|2:r&1),Me&&Vn(i,l.treeForkCount),t):(qe(i),null);case 22:case 23:return Ut(i),Gu(),l=i.memoizedState!==null,t!==null?t.memoizedState!==null!==l&&(i.flags|=8192):l&&(i.flags|=8192),l?(r&536870912)!==0&&(i.flags&128)===0&&(qe(i),i.subtreeFlags&6&&(i.flags|=8192)):qe(i),r=i.updateQueue,r!==null&&tl(i,r.retryQueue),r=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),l=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(l=i.memoizedState.cachePool.pool),l!==r&&(i.flags|=2048),t!==null&&G(ia),null;case 24:return r=null,t!==null&&(r=t.memoizedState.cache),i.memoizedState.cache!==r&&(i.flags|=2048),Bn(tt),qe(i),null;case 25:return null;case 30:return null}throw Error(s(156,i.tag))}function FE(t,i){switch(Ru(i),i.tag){case 1:return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 3:return Bn(tt),Le(),t=i.flags,(t&65536)!==0&&(t&128)===0?(i.flags=t&-65537|128,i):null;case 26:case 27:case 5:return xn(i),null;case 31:if(i.memoizedState!==null){if(Ut(i),i.alternate===null)throw Error(s(340));ea()}return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 13:if(Ut(i),t=i.memoizedState,t!==null&&t.dehydrated!==null){if(i.alternate===null)throw Error(s(340));ea()}return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 19:return G(Ze),null;case 4:return Le(),null;case 10:return Bn(i.type),null;case 22:case 23:return Ut(i),Gu(),t!==null&&G(ia),t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 24:return Bn(tt),null;case 25:return null;default:return null}}function Dy(t,i){switch(Ru(i),i.tag){case 3:Bn(tt),Le();break;case 26:case 27:case 5:xn(i);break;case 4:Le();break;case 31:i.memoizedState!==null&&Ut(i);break;case 13:Ut(i);break;case 19:G(Ze);break;case 10:Bn(i.type);break;case 22:case 23:Ut(i),Gu(),t!==null&&G(ia);break;case 24:Bn(tt)}}function rr(t,i){try{var r=i.updateQueue,l=r!==null?r.lastEffect:null;if(l!==null){var f=l.next;r=f;do{if((r.tag&t)===t){l=void 0;var m=r.create,b=r.inst;l=m(),b.destroy=l}r=r.next}while(r!==f)}}catch(N){ke(i,i.return,N)}}function vi(t,i,r){try{var l=i.updateQueue,f=l!==null?l.lastEffect:null;if(f!==null){var m=f.next;l=m;do{if((l.tag&t)===t){var b=l.inst,N=b.destroy;if(N!==void 0){b.destroy=void 0,f=i;var A=r,B=N;try{B()}catch(Y){ke(f,A,Y)}}}l=l.next}while(l!==m)}}catch(Y){ke(i,i.return,Y)}}function Oy(t){var i=t.updateQueue;if(i!==null){var r=t.stateNode;try{Ng(i,r)}catch(l){ke(t,t.return,l)}}}function ky(t,i,r){r.props=la(t.type,t.memoizedProps),r.state=t.memoizedState;try{r.componentWillUnmount()}catch(l){ke(t,i,l)}}function or(t,i){try{var r=t.ref;if(r!==null){switch(t.tag){case 26:case 27:case 5:var l=t.stateNode;break;case 30:l=t.stateNode;break;default:l=t.stateNode}typeof r=="function"?t.refCleanup=r(l):r.current=l}}catch(f){ke(t,i,f)}}function Nn(t,i){var r=t.ref,l=t.refCleanup;if(r!==null)if(typeof l=="function")try{l()}catch(f){ke(t,i,f)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(f){ke(t,i,f)}else r.current=null}function Py(t){var i=t.type,r=t.memoizedProps,l=t.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":r.autoFocus&&l.focus();break e;case"img":r.src?l.src=r.src:r.srcSet&&(l.srcset=r.srcSet)}}catch(f){ke(t,t.return,f)}}function Nd(t,i,r){try{var l=t.stateNode;uj(l,t.type,r,i),l[jt]=i}catch(f){ke(t,t.return,f)}}function Ly(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&Ei(t.type)||t.tag===4}function Cd(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Ly(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&Ei(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Ed(t,i,r){var l=t.tag;if(l===5||l===6)t=t.stateNode,i?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(t,i):(i=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,i.appendChild(t),r=r._reactRootContainer,r!=null||i.onclick!==null||(i.onclick=Pn));else if(l!==4&&(l===27&&Ei(t.type)&&(r=t.stateNode,i=null),t=t.child,t!==null))for(Ed(t,i,r),t=t.sibling;t!==null;)Ed(t,i,r),t=t.sibling}function nl(t,i,r){var l=t.tag;if(l===5||l===6)t=t.stateNode,i?r.insertBefore(t,i):r.appendChild(t);else if(l!==4&&(l===27&&Ei(t.type)&&(r=t.stateNode),t=t.child,t!==null))for(nl(t,i,r),t=t.sibling;t!==null;)nl(t,i,r),t=t.sibling}function _y(t){var i=t.stateNode,r=t.memoizedProps;try{for(var l=t.type,f=i.attributes;f.length;)i.removeAttributeNode(f[0]);gt(i,l,r),i[ft]=t,i[jt]=r}catch(m){ke(t,t.return,m)}}var Gn=!1,at=!1,jd=!1,Vy=typeof WeakSet=="function"?WeakSet:Set,dt=null;function HE(t,i){if(t=t.containerInfo,Yd=Nl,t=Qp(t),xu(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else e:{r=(r=t.ownerDocument)&&r.defaultView||window;var l=r.getSelection&&r.getSelection();if(l&&l.rangeCount!==0){r=l.anchorNode;var f=l.anchorOffset,m=l.focusNode;l=l.focusOffset;try{r.nodeType,m.nodeType}catch{r=null;break e}var b=0,N=-1,A=-1,B=0,Y=0,X=t,F=null;t:for(;;){for(var H;X!==r||f!==0&&X.nodeType!==3||(N=b+f),X!==m||l!==0&&X.nodeType!==3||(A=b+l),X.nodeType===3&&(b+=X.nodeValue.length),(H=X.firstChild)!==null;)F=X,X=H;for(;;){if(X===t)break t;if(F===r&&++B===f&&(N=b),F===m&&++Y===l&&(A=b),(H=X.nextSibling)!==null)break;X=F,F=X.parentNode}X=H}r=N===-1||A===-1?null:{start:N,end:A}}else r=null}r=r||{start:0,end:0}}else r=null;for($d={focusedElem:t,selectionRange:r},Nl=!1,dt=i;dt!==null;)if(i=dt,t=i.child,(i.subtreeFlags&1028)!==0&&t!==null)t.return=i,dt=t;else for(;dt!==null;){switch(i=dt,m=i.alternate,t=i.flags,i.tag){case 0:if((t&4)!==0&&(t=i.updateQueue,t=t!==null?t.events:null,t!==null))for(r=0;r<t.length;r++)f=t[r],f.ref.impl=f.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&m!==null){t=void 0,r=i,f=m.memoizedProps,m=m.memoizedState,l=r.stateNode;try{var re=la(r.type,f);t=l.getSnapshotBeforeUpdate(re,m),l.__reactInternalSnapshotBeforeUpdate=t}catch(ge){ke(r,r.return,ge)}}break;case 3:if((t&1024)!==0){if(t=i.stateNode.containerInfo,r=t.nodeType,r===9)Wd(t);else if(r===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Wd(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(s(163))}if(t=i.sibling,t!==null){t.return=i.return,dt=t;break}dt=i.return}}function Uy(t,i,r){var l=r.flags;switch(r.tag){case 0:case 11:case 15:Yn(t,r),l&4&&rr(5,r);break;case 1:if(Yn(t,r),l&4)if(t=r.stateNode,i===null)try{t.componentDidMount()}catch(b){ke(r,r.return,b)}else{var f=la(r.type,i.memoizedProps);i=i.memoizedState;try{t.componentDidUpdate(f,i,t.__reactInternalSnapshotBeforeUpdate)}catch(b){ke(r,r.return,b)}}l&64&&Oy(r),l&512&&or(r,r.return);break;case 3:if(Yn(t,r),l&64&&(t=r.updateQueue,t!==null)){if(i=null,r.child!==null)switch(r.child.tag){case 27:case 5:i=r.child.stateNode;break;case 1:i=r.child.stateNode}try{Ng(t,i)}catch(b){ke(r,r.return,b)}}break;case 27:i===null&&l&4&&_y(r);case 26:case 5:Yn(t,r),i===null&&l&4&&Py(r),l&512&&or(r,r.return);break;case 12:Yn(t,r);break;case 31:Yn(t,r),l&4&&Fy(t,r);break;case 13:Yn(t,r),l&4&&Hy(t,r),l&64&&(t=r.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(r=ZE.bind(null,r),vj(t,r))));break;case 22:if(l=r.memoizedState!==null||Gn,!l){i=i!==null&&i.memoizedState!==null||at,f=Gn;var m=at;Gn=l,(at=i)&&!m?$n(t,r,(r.subtreeFlags&8772)!==0):Yn(t,r),Gn=f,at=m}break;case 30:break;default:Yn(t,r)}}function By(t){var i=t.alternate;i!==null&&(t.alternate=null,By(i)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(i=t.stateNode,i!==null&&nu(i)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Ye=null,At=!1;function Kn(t,i,r){for(r=r.child;r!==null;)Iy(t,i,r),r=r.sibling}function Iy(t,i,r){if(kt&&typeof kt.onCommitFiberUnmount=="function")try{kt.onCommitFiberUnmount(zs,r)}catch{}switch(r.tag){case 26:at||Nn(r,i),Kn(t,i,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:at||Nn(r,i);var l=Ye,f=At;Ei(r.type)&&(Ye=r.stateNode,At=!1),Kn(t,i,r),gr(r.stateNode),Ye=l,At=f;break;case 5:at||Nn(r,i);case 6:if(l=Ye,f=At,Ye=null,Kn(t,i,r),Ye=l,At=f,Ye!==null)if(At)try{(Ye.nodeType===9?Ye.body:Ye.nodeName==="HTML"?Ye.ownerDocument.body:Ye).removeChild(r.stateNode)}catch(m){ke(r,i,m)}else try{Ye.removeChild(r.stateNode)}catch(m){ke(r,i,m)}break;case 18:Ye!==null&&(At?(t=Ye,Ov(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,r.stateNode),ss(t)):Ov(Ye,r.stateNode));break;case 4:l=Ye,f=At,Ye=r.stateNode.containerInfo,At=!0,Kn(t,i,r),Ye=l,At=f;break;case 0:case 11:case 14:case 15:vi(2,r,i),at||vi(4,r,i),Kn(t,i,r);break;case 1:at||(Nn(r,i),l=r.stateNode,typeof l.componentWillUnmount=="function"&&ky(r,i,l)),Kn(t,i,r);break;case 21:Kn(t,i,r);break;case 22:at=(l=at)||r.memoizedState!==null,Kn(t,i,r),at=l;break;default:Kn(t,i,r)}}function Fy(t,i){if(i.memoizedState===null&&(t=i.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{ss(t)}catch(r){ke(i,i.return,r)}}}function Hy(t,i){if(i.memoizedState===null&&(t=i.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ss(t)}catch(r){ke(i,i.return,r)}}function qE(t){switch(t.tag){case 31:case 13:case 19:var i=t.stateNode;return i===null&&(i=t.stateNode=new Vy),i;case 22:return t=t.stateNode,i=t._retryCache,i===null&&(i=t._retryCache=new Vy),i;default:throw Error(s(435,t.tag))}}function il(t,i){var r=qE(t);i.forEach(function(l){if(!r.has(l)){r.add(l);var f=JE.bind(null,t,l);l.then(f,f)}})}function Mt(t,i){var r=i.deletions;if(r!==null)for(var l=0;l<r.length;l++){var f=r[l],m=t,b=i,N=b;e:for(;N!==null;){switch(N.tag){case 27:if(Ei(N.type)){Ye=N.stateNode,At=!1;break e}break;case 5:Ye=N.stateNode,At=!1;break e;case 3:case 4:Ye=N.stateNode.containerInfo,At=!0;break e}N=N.return}if(Ye===null)throw Error(s(160));Iy(m,b,f),Ye=null,At=!1,m=f.alternate,m!==null&&(m.return=null),f.return=null}if(i.subtreeFlags&13886)for(i=i.child;i!==null;)qy(i,t),i=i.sibling}var cn=null;function qy(t,i){var r=t.alternate,l=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Mt(i,t),Rt(t),l&4&&(vi(3,t,t.return),rr(3,t),vi(5,t,t.return));break;case 1:Mt(i,t),Rt(t),l&512&&(at||r===null||Nn(r,r.return)),l&64&&Gn&&(t=t.updateQueue,t!==null&&(l=t.callbacks,l!==null&&(r=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=r===null?l:r.concat(l))));break;case 26:var f=cn;if(Mt(i,t),Rt(t),l&512&&(at||r===null||Nn(r,r.return)),l&4){var m=r!==null?r.memoizedState:null;if(l=t.memoizedState,r===null)if(l===null)if(t.stateNode===null){e:{l=t.type,r=t.memoizedProps,f=f.ownerDocument||f;t:switch(l){case"title":m=f.getElementsByTagName("title")[0],(!m||m[ks]||m[ft]||m.namespaceURI==="http://www.w3.org/2000/svg"||m.hasAttribute("itemprop"))&&(m=f.createElement(l),f.head.insertBefore(m,f.querySelector("head > title"))),gt(m,l,r),m[ft]=t,ut(m),l=m;break e;case"link":var b=qv("link","href",f).get(l+(r.href||""));if(b){for(var N=0;N<b.length;N++)if(m=b[N],m.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&m.getAttribute("rel")===(r.rel==null?null:r.rel)&&m.getAttribute("title")===(r.title==null?null:r.title)&&m.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){b.splice(N,1);break t}}m=f.createElement(l),gt(m,l,r),f.head.appendChild(m);break;case"meta":if(b=qv("meta","content",f).get(l+(r.content||""))){for(N=0;N<b.length;N++)if(m=b[N],m.getAttribute("content")===(r.content==null?null:""+r.content)&&m.getAttribute("name")===(r.name==null?null:r.name)&&m.getAttribute("property")===(r.property==null?null:r.property)&&m.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&m.getAttribute("charset")===(r.charSet==null?null:r.charSet)){b.splice(N,1);break t}}m=f.createElement(l),gt(m,l,r),f.head.appendChild(m);break;default:throw Error(s(468,l))}m[ft]=t,ut(m),l=m}t.stateNode=l}else Gv(f,t.type,t.stateNode);else t.stateNode=Hv(f,l,t.memoizedProps);else m!==l?(m===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):m.count--,l===null?Gv(f,t.type,t.stateNode):Hv(f,l,t.memoizedProps)):l===null&&t.stateNode!==null&&Nd(t,t.memoizedProps,r.memoizedProps)}break;case 27:Mt(i,t),Rt(t),l&512&&(at||r===null||Nn(r,r.return)),r!==null&&l&4&&Nd(t,t.memoizedProps,r.memoizedProps);break;case 5:if(Mt(i,t),Rt(t),l&512&&(at||r===null||Nn(r,r.return)),t.flags&32){f=t.stateNode;try{Aa(f,"")}catch(re){ke(t,t.return,re)}}l&4&&t.stateNode!=null&&(f=t.memoizedProps,Nd(t,f,r!==null?r.memoizedProps:f)),l&1024&&(jd=!0);break;case 6:if(Mt(i,t),Rt(t),l&4){if(t.stateNode===null)throw Error(s(162));l=t.memoizedProps,r=t.stateNode;try{r.nodeValue=l}catch(re){ke(t,t.return,re)}}break;case 3:if(xl=null,f=cn,cn=yl(i.containerInfo),Mt(i,t),cn=f,Rt(t),l&4&&r!==null&&r.memoizedState.isDehydrated)try{ss(i.containerInfo)}catch(re){ke(t,t.return,re)}jd&&(jd=!1,Gy(t));break;case 4:l=cn,cn=yl(t.stateNode.containerInfo),Mt(i,t),Rt(t),cn=l;break;case 12:Mt(i,t),Rt(t);break;case 31:Mt(i,t),Rt(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,il(t,l)));break;case 13:Mt(i,t),Rt(t),t.child.flags&8192&&t.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(sl=Ot()),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,il(t,l)));break;case 22:f=t.memoizedState!==null;var A=r!==null&&r.memoizedState!==null,B=Gn,Y=at;if(Gn=B||f,at=Y||A,Mt(i,t),at=Y,Gn=B,Rt(t),l&8192)e:for(i=t.stateNode,i._visibility=f?i._visibility&-2:i._visibility|1,f&&(r===null||A||Gn||at||ca(t)),r=null,i=t;;){if(i.tag===5||i.tag===26){if(r===null){A=r=i;try{if(m=A.stateNode,f)b=m.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{N=A.stateNode;var X=A.memoizedProps.style,F=X!=null&&X.hasOwnProperty("display")?X.display:null;N.style.display=F==null||typeof F=="boolean"?"":(""+F).trim()}}catch(re){ke(A,A.return,re)}}}else if(i.tag===6){if(r===null){A=i;try{A.stateNode.nodeValue=f?"":A.memoizedProps}catch(re){ke(A,A.return,re)}}}else if(i.tag===18){if(r===null){A=i;try{var H=A.stateNode;f?kv(H,!0):kv(A.stateNode,!1)}catch(re){ke(A,A.return,re)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===t)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;i.sibling===null;){if(i.return===null||i.return===t)break e;r===i&&(r=null),i=i.return}r===i&&(r=null),i.sibling.return=i.return,i=i.sibling}l&4&&(l=t.updateQueue,l!==null&&(r=l.retryQueue,r!==null&&(l.retryQueue=null,il(t,r))));break;case 19:Mt(i,t),Rt(t),l&4&&(l=t.updateQueue,l!==null&&(t.updateQueue=null,il(t,l)));break;case 30:break;case 21:break;default:Mt(i,t),Rt(t)}}function Rt(t){var i=t.flags;if(i&2){try{for(var r,l=t.return;l!==null;){if(Ly(l)){r=l;break}l=l.return}if(r==null)throw Error(s(160));switch(r.tag){case 27:var f=r.stateNode,m=Cd(t);nl(t,m,f);break;case 5:var b=r.stateNode;r.flags&32&&(Aa(b,""),r.flags&=-33);var N=Cd(t);nl(t,N,b);break;case 3:case 4:var A=r.stateNode.containerInfo,B=Cd(t);Ed(t,B,A);break;default:throw Error(s(161))}}catch(Y){ke(t,t.return,Y)}t.flags&=-3}i&4096&&(t.flags&=-4097)}function Gy(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var i=t;Gy(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),t=t.sibling}}function Yn(t,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)Uy(t,i.alternate,i),i=i.sibling}function ca(t){for(t=t.child;t!==null;){var i=t;switch(i.tag){case 0:case 11:case 14:case 15:vi(4,i,i.return),ca(i);break;case 1:Nn(i,i.return);var r=i.stateNode;typeof r.componentWillUnmount=="function"&&ky(i,i.return,r),ca(i);break;case 27:gr(i.stateNode);case 26:case 5:Nn(i,i.return),ca(i);break;case 22:i.memoizedState===null&&ca(i);break;case 30:ca(i);break;default:ca(i)}t=t.sibling}}function $n(t,i,r){for(r=r&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var l=i.alternate,f=t,m=i,b=m.flags;switch(m.tag){case 0:case 11:case 15:$n(f,m,r),rr(4,m);break;case 1:if($n(f,m,r),l=m,f=l.stateNode,typeof f.componentDidMount=="function")try{f.componentDidMount()}catch(B){ke(l,l.return,B)}if(l=m,f=l.updateQueue,f!==null){var N=l.stateNode;try{var A=f.shared.hiddenCallbacks;if(A!==null)for(f.shared.hiddenCallbacks=null,f=0;f<A.length;f++)Sg(A[f],N)}catch(B){ke(l,l.return,B)}}r&&b&64&&Oy(m),or(m,m.return);break;case 27:_y(m);case 26:case 5:$n(f,m,r),r&&l===null&&b&4&&Py(m),or(m,m.return);break;case 12:$n(f,m,r);break;case 31:$n(f,m,r),r&&b&4&&Fy(f,m);break;case 13:$n(f,m,r),r&&b&4&&Hy(f,m);break;case 22:m.memoizedState===null&&$n(f,m,r),or(m,m.return);break;case 30:break;default:$n(f,m,r)}i=i.sibling}}function Td(t,i){var r=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),t=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(t=i.memoizedState.cachePool.pool),t!==r&&(t!=null&&t.refCount++,r!=null&&Ys(r))}function Ad(t,i){t=null,i.alternate!==null&&(t=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==t&&(i.refCount++,t!=null&&Ys(t))}function un(t,i,r,l){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)Ky(t,i,r,l),i=i.sibling}function Ky(t,i,r,l){var f=i.flags;switch(i.tag){case 0:case 11:case 15:un(t,i,r,l),f&2048&&rr(9,i);break;case 1:un(t,i,r,l);break;case 3:un(t,i,r,l),f&2048&&(t=null,i.alternate!==null&&(t=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==t&&(i.refCount++,t!=null&&Ys(t)));break;case 12:if(f&2048){un(t,i,r,l),t=i.stateNode;try{var m=i.memoizedProps,b=m.id,N=m.onPostCommit;typeof N=="function"&&N(b,i.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(A){ke(i,i.return,A)}}else un(t,i,r,l);break;case 31:un(t,i,r,l);break;case 13:un(t,i,r,l);break;case 23:break;case 22:m=i.stateNode,b=i.alternate,i.memoizedState!==null?m._visibility&2?un(t,i,r,l):lr(t,i):m._visibility&2?un(t,i,r,l):(m._visibility|=2,$a(t,i,r,l,(i.subtreeFlags&10256)!==0||!1)),f&2048&&Td(b,i);break;case 24:un(t,i,r,l),f&2048&&Ad(i.alternate,i);break;default:un(t,i,r,l)}}function $a(t,i,r,l,f){for(f=f&&((i.subtreeFlags&10256)!==0||!1),i=i.child;i!==null;){var m=t,b=i,N=r,A=l,B=b.flags;switch(b.tag){case 0:case 11:case 15:$a(m,b,N,A,f),rr(8,b);break;case 23:break;case 22:var Y=b.stateNode;b.memoizedState!==null?Y._visibility&2?$a(m,b,N,A,f):lr(m,b):(Y._visibility|=2,$a(m,b,N,A,f)),f&&B&2048&&Td(b.alternate,b);break;case 24:$a(m,b,N,A,f),f&&B&2048&&Ad(b.alternate,b);break;default:$a(m,b,N,A,f)}i=i.sibling}}function lr(t,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var r=t,l=i,f=l.flags;switch(l.tag){case 22:lr(r,l),f&2048&&Td(l.alternate,l);break;case 24:lr(r,l),f&2048&&Ad(l.alternate,l);break;default:lr(r,l)}i=i.sibling}}var cr=8192;function Xa(t,i,r){if(t.subtreeFlags&cr)for(t=t.child;t!==null;)Yy(t,i,r),t=t.sibling}function Yy(t,i,r){switch(t.tag){case 26:Xa(t,i,r),t.flags&cr&&t.memoizedState!==null&&Rj(r,cn,t.memoizedState,t.memoizedProps);break;case 5:Xa(t,i,r);break;case 3:case 4:var l=cn;cn=yl(t.stateNode.containerInfo),Xa(t,i,r),cn=l;break;case 22:t.memoizedState===null&&(l=t.alternate,l!==null&&l.memoizedState!==null?(l=cr,cr=16777216,Xa(t,i,r),cr=l):Xa(t,i,r));break;default:Xa(t,i,r)}}function $y(t){var i=t.alternate;if(i!==null&&(t=i.child,t!==null)){i.child=null;do i=t.sibling,t.sibling=null,t=i;while(t!==null)}}function ur(t){var i=t.deletions;if((t.flags&16)!==0){if(i!==null)for(var r=0;r<i.length;r++){var l=i[r];dt=l,Qy(l,t)}$y(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Xy(t),t=t.sibling}function Xy(t){switch(t.tag){case 0:case 11:case 15:ur(t),t.flags&2048&&vi(9,t,t.return);break;case 3:ur(t);break;case 12:ur(t);break;case 22:var i=t.stateNode;t.memoizedState!==null&&i._visibility&2&&(t.return===null||t.return.tag!==13)?(i._visibility&=-3,al(t)):ur(t);break;default:ur(t)}}function al(t){var i=t.deletions;if((t.flags&16)!==0){if(i!==null)for(var r=0;r<i.length;r++){var l=i[r];dt=l,Qy(l,t)}$y(t)}for(t=t.child;t!==null;){switch(i=t,i.tag){case 0:case 11:case 15:vi(8,i,i.return),al(i);break;case 22:r=i.stateNode,r._visibility&2&&(r._visibility&=-3,al(i));break;default:al(i)}t=t.sibling}}function Qy(t,i){for(;dt!==null;){var r=dt;switch(r.tag){case 0:case 11:case 15:vi(8,r,i);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var l=r.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:Ys(r.memoizedState.cache)}if(l=r.child,l!==null)l.return=r,dt=l;else e:for(r=t;dt!==null;){l=dt;var f=l.sibling,m=l.return;if(By(l),l===r){dt=null;break e}if(f!==null){f.return=m,dt=f;break e}dt=m}}}var GE={getCacheForType:function(t){var i=mt(tt),r=i.data.get(t);return r===void 0&&(r=t(),i.data.set(t,r)),r}
vendor: 14,894 bytes, line 8
8,cacheSignal:function(){return mt(tt).controller.signal}},KE=typeof WeakMap=="function"?WeakMap:Map,De=0,Ie=null,Ee=null,Te=0,Oe=0,Bt=null,xi=!1,Qa=!1,Md=!1,Xn=0,Qe=0,bi=0,ua=0,Rd=0,It=0,Wa=0,dr=null,zt=null,zd=!1,sl=0,Wy=0,rl=1/0,ol=null,wi=null,rt=0,Si=null,Za=null,Qn=0,Dd=0,Od=null,Zy=null,fr=0,kd=null;function Ft(){return(De&2)!==0&&Te!==0?Te&-Te:O.T!==null?Bd():mp()}function Jy(){if(It===0)if((Te&536870912)===0||Me){var t=po;po<<=1,(po&3932160)===0&&(po=262144),It=t}else It=536870912;return t=Vt.current,t!==null&&(t.flags|=32),It}function Dt(t,i,r){(t===Ie&&(Oe===2||Oe===9)||t.cancelPendingCommit!==null)&&(Ja(t,0),Ni(t,Te,It,!1)),Os(t,r),((De&2)===0||t!==Ie)&&(t===Ie&&((De&2)===0&&(ua|=r),Qe===4&&Ni(t,Te,It,!1)),Cn(t))}function ev(t,i,r){if((De&6)!==0)throw Error(s(327));var l=!r&&(i&127)===0&&(i&t.expiredLanes)===0||Ds(t,i),f=l?XE(t,i):Ld(t,i,!0),m=l;do{if(f===0){Qa&&!l&&Ni(t,i,0,!1);break}else{if(r=t.current.alternate,m&&!YE(r)){f=Ld(t,i,!1),m=!1;continue}if(f===2){if(m=i,t.errorRecoveryDisabledLanes&m)var b=0;else b=t.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){i=b;e:{var N=t;f=dr;var A=N.current.memoizedState.isDehydrated;if(A&&(Ja(N,b).flags|=256),b=Ld(N,b,!1),b!==2){if(Md&&!A){N.errorRecoveryDisabledLanes|=m,ua|=m,f=4;break e}m=zt,zt=f,m!==null&&(zt===null?zt=m:zt.push.apply(zt,m))}f=b}if(m=!1,f!==2)continue}}if(f===1){Ja(t,0),Ni(t,i,0,!0);break}e:{switch(l=t,m=f,m){case 0:case 1:throw Error(s(345));case 4:if((i&4194048)!==i)break;case 6:Ni(l,i,It,!xi);break e;case 2:zt=null;break;case 3:case 5:break;default:throw Error(s(329))}if((i&62914560)===i&&(f=sl+300-Ot(),10<f)){if(Ni(l,i,It,!xi),yo(l,0,!0)!==0)break e;Qn=i,l.timeoutHandle=zv(tv.bind(null,l,r,zt,ol,zd,i,It,ua,Wa,xi,m,"Throttled",-0,0),f);break e}tv(l,r,zt,ol,zd,i,It,ua,Wa,xi,m,null,-0,0)}}break}while(!0);Cn(t)}function tv(t,i,r,l,f,m,b,N,A,B,Y,X,F,H){if(t.timeoutHandle=-1,X=i.subtreeFlags,X&8192||(X&16785408)===16785408){X={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Pn},Yy(i,m,X);var re=(m&62914560)===m?sl-Ot():(m&4194048)===m?Wy-Ot():0;if(re=zj(X,re),re!==null){Qn=m,t.cancelPendingCommit=re(cv.bind(null,t,i,m,r,l,f,b,N,A,Y,X,null,F,H)),Ni(t,m,b,!B);return}}cv(t,i,m,r,l,f,b,N,A)}function YE(t){for(var i=t;;){var r=i.tag;if((r===0||r===11||r===15)&&i.flags&16384&&(r=i.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var l=0;l<r.length;l++){var f=r[l],m=f.getSnapshot;f=f.value;try{if(!Lt(m(),f))return!1}catch{return!1}}if(r=i.child,i.subtreeFlags&16384&&r!==null)r.return=i,i=r;else{if(i===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Ni(t,i,r,l){i&=~Rd,i&=~ua,t.suspendedLanes|=i,t.pingedLanes&=~i,l&&(t.warmLanes|=i),l=t.expirationTimes;for(var f=i;0<f;){var m=31-Pt(f),b=1<<m;l[m]=-1,f&=~b}r!==0&&dp(t,r,i)}function ll(){return(De&6)===0?(hr(0),!1):!0}function Pd(){if(Ee!==null){if(Oe===0)var t=Ee.return;else t=Ee,Un=ta=null,Wu(t),Ha=null,Xs=0,t=Ee;for(;t!==null;)Dy(t.alternate,t),t=t.return;Ee=null}}function Ja(t,i){var r=t.timeoutHandle;r!==-1&&(t.timeoutHandle=-1,hj(r)),r=t.cancelPendingCommit,r!==null&&(t.cancelPendingCommit=null,r()),Qn=0,Pd(),Ie=t,Ee=r=_n(t.current,null),Te=i,Oe=0,Bt=null,xi=!1,Qa=Ds(t,i),Md=!1,Wa=It=Rd=ua=bi=Qe=0,zt=dr=null,zd=!1,(i&8)!==0&&(i|=i&32);var l=t.entangledLanes;if(l!==0)for(t=t.entanglements,l&=i;0<l;){var f=31-Pt(l),m=1<<f;i|=t[f],l&=~m}return Xn=i,Mo(),r}function nv(t,i){we=null,O.H=ir,i===Fa||i===_o?(i=vg(),Oe=3):i===Uu?(i=vg(),Oe=4):Oe=i===hd?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Bt=i,Ee===null&&(Qe=1,Wo(t,Qt(i,t.current)))}function iv(){var t=Vt.current;return t===null?!0:(Te&4194048)===Te?en===null:(Te&62914560)===Te||(Te&536870912)!==0?t===en:!1}function av(){var t=O.H;return O.H=ir,t===null?ir:t}function sv(){var t=O.A;return O.A=GE,t}function cl(){Qe=4,xi||(Te&4194048)!==Te&&Vt.current!==null||(Qa=!0),(bi&134217727)===0&&(ua&134217727)===0||Ie===null||Ni(Ie,Te,It,!1)}function Ld(t,i,r){var l=De;De|=2;var f=av(),m=sv();(Ie!==t||Te!==i)&&(ol=null,Ja(t,i)),i=!1;var b=Qe;e:do try{if(Oe!==0&&Ee!==null){var N=Ee,A=Bt;switch(Oe){case 8:Pd(),b=6;break e;case 3:case 2:case 9:case 6:Vt.current===null&&(i=!0);var B=Oe;if(Oe=0,Bt=null,es(t,N,A,B),r&&Qa){b=0;break e}break;default:B=Oe,Oe=0,Bt=null,es(t,N,A,B)}}$E(),b=Qe;break}catch(Y){nv(t,Y)}while(!0);return i&&t.shellSuspendCounter++,Un=ta=null,De=l,O.H=f,O.A=m,Ee===null&&(Ie=null,Te=0,Mo()),b}function $E(){for(;Ee!==null;)rv(Ee)}function XE(t,i){var r=De;De|=2;var l=av(),f=sv();Ie!==t||Te!==i?(ol=null,rl=Ot()+500,Ja(t,i)):Qa=Ds(t,i);e:do try{if(Oe!==0&&Ee!==null){i=Ee;var m=Bt;t:switch(Oe){case 1:Oe=0,Bt=null,es(t,i,m,1);break;case 2:case 9:if(gg(m)){Oe=0,Bt=null,ov(i);break}i=function(){Oe!==2&&Oe!==9||Ie!==t||(Oe=7),Cn(t)},m.then(i,i);break e;case 3:Oe=7;break e;case 4:Oe=5;break e;case 7:gg(m)?(Oe=0,Bt=null,ov(i)):(Oe=0,Bt=null,es(t,i,m,7));break;case 5:var b=null;switch(Ee.tag){case 26:b=Ee.memoizedState;case 5:case 27:var N=Ee;if(b?Kv(b):N.stateNode.complete){Oe=0,Bt=null;var A=N.sibling;if(A!==null)Ee=A;else{var B=N.return;B!==null?(Ee=B,ul(B)):Ee=null}break t}}Oe=0,Bt=null,es(t,i,m,5);break;case 6:Oe=0,Bt=null,es(t,i,m,6);break;case 8:Pd(),Qe=6;break e;default:throw Error(s(462))}}QE();break}catch(Y){nv(t,Y)}while(!0);return Un=ta=null,O.H=l,O.A=f,De=r,Ee!==null?0:(Ie=null,Te=0,Mo(),Qe)}function QE(){for(;Ee!==null&&!x2();)rv(Ee)}function rv(t){var i=Ry(t.alternate,t,Xn);t.memoizedProps=t.pendingProps,i===null?ul(t):Ee=i}function ov(t){var i=t,r=i.alternate;switch(i.tag){case 15:case 0:i=Cy(r,i,i.pendingProps,i.type,void 0,Te);break;case 11:i=Cy(r,i,i.pendingProps,i.type.render,i.ref,Te);break;case 5:Wu(i);default:Dy(r,i),i=Ee=sg(i,Xn),i=Ry(r,i,Xn)}t.memoizedProps=t.pendingProps,i===null?ul(t):Ee=i}function es(t,i,r,l){Un=ta=null,Wu(i),Ha=null,Xs=0;var f=i.return;try{if(VE(t,f,i,r,Te)){Qe=1,Wo(t,Qt(r,t.current)),Ee=null;return}}catch(m){if(f!==null)throw Ee=f,m;Qe=1,Wo(t,Qt(r,t.current)),Ee=null;return}i.flags&32768?(Me||l===1?t=!0:Qa||(Te&536870912)!==0?t=!1:(xi=t=!0,(l===2||l===9||l===3||l===6)&&(l=Vt.current,l!==null&&l.tag===13&&(l.flags|=16384))),lv(i,t)):ul(i)}function ul(t){var i=t;do{if((i.flags&32768)!==0){lv(i,xi);return}t=i.return;var r=IE(i.alternate,i,Xn);if(r!==null){Ee=r;return}if(i=i.sibling,i!==null){Ee=i;return}Ee=i=t}while(i!==null);Qe===0&&(Qe=5)}function lv(t,i){do{var r=FE(t.alternate,t);if(r!==null){r.flags&=32767,Ee=r;return}if(r=t.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!i&&(t=t.sibling,t!==null)){Ee=t;return}Ee=t=r}while(t!==null);Qe=6,Ee=null}function cv(t,i,r,l,f,m,b,N,A){t.cancelPendingCommit=null;do dl();while(rt!==0);if((De&6)!==0)throw Error(s(327));if(i!==null){if(i===t.current)throw Error(s(177));if(m=i.lanes|i.childLanes,m|=Cu,M2(t,r,m,b,N,A),t===Ie&&(Ee=Ie=null,Te=0),Za=i,Si=t,Qn=r,Dd=m,Od=f,Zy=l,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,ej(ho,function(){return mv(),null})):(t.callbackNode=null,t.callbackPriority=0),l=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||l){l=O.T,O.T=null,f=q.p,q.p=2,b=De,De|=4;try{HE(t,i,r)}finally{De=b,q.p=f,O.T=l}}rt=1,uv(),dv(),fv()}}function uv(){if(rt===1){rt=0;var t=Si,i=Za,r=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||r){r=O.T,O.T=null;var l=q.p;q.p=2;var f=De;De|=4;try{qy(i,t);var m=$d,b=Qp(t.containerInfo),N=m.focusedElem,A=m.selectionRange;if(b!==N&&N&&N.ownerDocument&&Xp(N.ownerDocument.documentElement,N)){if(A!==null&&xu(N)){var B=A.start,Y=A.end;if(Y===void 0&&(Y=B),"selectionStart"in N)N.selectionStart=B,N.selectionEnd=Math.min(Y,N.value.length);else{var X=N.ownerDocument||document,F=X&&X.defaultView||window;if(F.getSelection){var H=F.getSelection(),re=N.textContent.length,ge=Math.min(A.start,re),Ue=A.end===void 0?ge:Math.min(A.end,re);!H.extend&&ge>Ue&&(b=Ue,Ue=ge,ge=b);var P=$p(N,ge),D=$p(N,Ue);if(P&&D&&(H.rangeCount!==1||H.anchorNode!==P.node||H.anchorOffset!==P.offset||H.focusNode!==D.node||H.focusOffset!==D.offset)){var U=X.createRange();U.setStart(P.node,P.offset),H.removeAllRanges(),ge>Ue?(H.addRange(U),H.extend(D.node,D.offset)):(U.setEnd(D.node,D.offset),H.addRange(U))}}}}for(X=[],H=N;H=H.parentNode;)H.nodeType===1&&X.push({element:H,left:H.scrollLeft,top:H.scrollTop});for(typeof N.focus=="function"&&N.focus(),N=0;N<X.length;N++){var $=X[N];$.element.scrollLeft=$.left,$.element.scrollTop=$.top}}Nl=!!Yd,$d=Yd=null}finally{De=f,q.p=l,O.T=r}}t.current=i,rt=2}}function dv(){if(rt===2){rt=0;var t=Si,i=Za,r=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||r){r=O.T,O.T=null;var l=q.p;q.p=2;var f=De;De|=4;try{Uy(t,i.alternate,i)}finally{De=f,q.p=l,O.T=r}}rt=3}}function fv(){if(rt===4||rt===3){rt=0,b2();var t=Si,i=Za,r=Qn,l=Zy;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?rt=5:(rt=0,Za=Si=null,hv(t,t.pendingLanes));var f=t.pendingLanes;if(f===0&&(wi=null),eu(r),i=i.stateNode,kt&&typeof kt.onCommitFiberRoot=="function")try{kt.onCommitFiberRoot(zs,i,void 0,(i.current.flags&128)===128)}catch{}if(l!==null){i=O.T,f=q.p,q.p=2,O.T=null;try{for(var m=t.onRecoverableError,b=0;b<l.length;b++){var N=l[b];m(N.value,{componentStack:N.stack})}}finally{O.T=i,q.p=f}}(Qn&3)!==0&&dl(),Cn(t),f=t.pendingLanes,(r&261930)!==0&&(f&42)!==0?t===kd?fr++:(fr=0,kd=t):fr=0,hr(0)}}function hv(t,i){(t.pooledCacheLanes&=i)===0&&(i=t.pooledCache,i!=null&&(t.pooledCache=null,Ys(i)))}function dl(){return uv(),dv(),fv(),mv()}function mv(){if(rt!==5)return!1;var t=Si,i=Dd;Dd=0;var r=eu(Qn),l=O.T,f=q.p;try{q.p=32>r?32:r,O.T=null,r=Od,Od=null;var m=Si,b=Qn;if(rt=0,Za=Si=null,Qn=0,(De&6)!==0)throw Error(s(331));var N=De;if(De|=4,Xy(m.current),Ky(m,m.current,b,r),De=N,hr(0,!1),kt&&typeof kt.onPostCommitFiberRoot=="function")try{kt.onPostCommitFiberRoot(zs,m)}catch{}return!0}finally{q.p=f,O.T=l,hv(t,i)}}function pv(t,i,r){i=Qt(r,i),i=fd(t.stateNode,i,2),t=pi(t,i,2),t!==null&&(Os(t,2),Cn(t))}function ke(t,i,r){if(t.tag===3)pv(t,t,r);else for(;i!==null;){if(i.tag===3){pv(i,t,r);break}else if(i.tag===1){var l=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(wi===null||!wi.has(l))){t=Qt(r,t),r=gy(2),l=pi(i,r,2),l!==null&&(yy(r,l,i,t),Os(l,2),Cn(l));break}}i=i.return}}function _d(t,i,r){var l=t.pingCache;if(l===null){l=t.pingCache=new KE;var f=new Set;l.set(i,f)}else f=l.get(i),f===void 0&&(f=new Set,l.set(i,f));f.has(r)||(Md=!0,f.add(r),t=WE.bind(null,t,i,r),i.then(t,t))}function WE(t,i,r){var l=t.pingCache;l!==null&&l.delete(i),t.pingedLanes|=t.suspendedLanes&r,t.warmLanes&=~r,Ie===t&&(Te&r)===r&&(Qe===4||Qe===3&&(Te&62914560)===Te&&300>Ot()-sl?(De&2)===0&&Ja(t,0):Rd|=r,Wa===Te&&(Wa=0)),Cn(t)}function gv(t,i){i===0&&(i=up()),t=Zi(t,i),t!==null&&(Os(t,i),Cn(t))}function ZE(t){var i=t.memoizedState,r=0;i!==null&&(r=i.retryLane),gv(t,r)}function JE(t,i){var r=0;switch(t.tag){case 31:case 13:var l=t.stateNode,f=t.memoizedState;f!==null&&(r=f.retryLane);break;case 19:l=t.stateNode;break;case 22:l=t.stateNode._retryCache;break;default:throw Error(s(314))}l!==null&&l.delete(i),gv(t,r)}function ej(t,i){return Qc(t,i)}var fl=null,ts=null,Vd=!1,hl=!1,Ud=!1,Ci=0;function Cn(t){t!==ts&&t.next===null&&(ts===null?fl=ts=t:ts=ts.next=t),hl=!0,Vd||(Vd=!0,nj())}function hr(t,i){if(!Ud&&hl){Ud=!0;do for(var r=!1,l=fl;l!==null;){if(t!==0){var f=l.pendingLanes;if(f===0)var m=0;else{var b=l.suspendedLanes,N=l.pingedLanes;m=(1<<31-Pt(42|t)+1)-1,m&=f&~(b&~N),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(r=!0,bv(l,m))}else m=Te,m=yo(l,l===Ie?m:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(m&3)===0||Ds(l,m)||(r=!0,bv(l,m));l=l.next}while(r);Ud=!1}}function tj(){yv()}function yv(){hl=Vd=!1;var t=0;Ci!==0&&fj()&&(t=Ci);for(var i=Ot(),r=null,l=fl;l!==null;){var f=l.next,m=vv(l,i);m===0?(l.next=null,r===null?fl=f:r.next=f,f===null&&(ts=r)):(r=l,(t!==0||(m&3)!==0)&&(hl=!0)),l=f}rt!==0&&rt!==5||hr(t),Ci!==0&&(Ci=0)}function vv(t,i){for(var r=t.suspendedLanes,l=t.pingedLanes,f=t.expirationTimes,m=t.pendingLanes&-62914561;0<m;){var b=31-Pt(m),N=1<<b,A=f[b];A===-1?((N&r)===0||(N&l)!==0)&&(f[b]=A2(N,i)):A<=i&&(t.expiredLanes|=N),m&=~N}if(i=Ie,r=Te,r=yo(t,t===i?r:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l=t.callbackNode,r===0||t===i&&(Oe===2||Oe===9)||t.cancelPendingCommit!==null)return l!==null&&l!==null&&Wc(l),t.callbackNode=null,t.callbackPriority=0;if((r&3)===0||Ds(t,r)){if(i=r&-r,i===t.callbackPriority)return i;switch(l!==null&&Wc(l),eu(r)){case 2:case 8:r=lp;break;case 32:r=ho;break;case 268435456:r=cp;break;default:r=ho}return l=xv.bind(null,t),r=Qc(r,l),t.callbackPriority=i,t.callbackNode=r,i}return l!==null&&l!==null&&Wc(l),t.callbackPriority=2,t.callbackNode=null,2}function xv(t,i){if(rt!==0&&rt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var r=t.callbackNode;if(dl()&&t.callbackNode!==r)return null;var l=Te;return l=yo(t,t===Ie?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),l===0?null:(ev(t,l,i),vv(t,Ot()),t.callbackNode!=null&&t.callbackNode===r?xv.bind(null,t):null)}function bv(t,i){if(dl())return null;ev(t,i,!0)}function nj(){mj(function(){(De&6)!==0?Qc(op,tj):yv()})}function Bd(){if(Ci===0){var t=Ba;t===0&&(t=mo,mo<<=1,(mo&261888)===0&&(mo=256)),Ci=t}return Ci}function wv(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:wo(""+t)}function Sv(t,i){var r=i.ownerDocument.createElement("input");return r.name=i.name,r.value=i.value,t.id&&r.setAttribute("form",t.id),i.parentNode.insertBefore(r,i),t=new FormData(t),r.parentNode.removeChild(r),t}function ij(t,i,r,l,f){if(i==="submit"&&r&&r.stateNode===f){var m=wv((f[jt]||null).action),b=l.submitter;b&&(i=(i=b[jt]||null)?wv(i.formAction):b.getAttribute("formAction"),i!==null&&(m=i,b=null));var N=new Eo("action","action",null,l,f);t.push({event:N,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Ci!==0){var A=b?Sv(f,b):new FormData(f);rd(r,{pending:!0,data:A,method:f.method,action:m},null,A)}}else typeof m=="function"&&(N.preventDefault(),A=b?Sv(f,b):new FormData(f),rd(r,{pending:!0,data:A,method:f.method,action:m},m,A))},currentTarget:f}]})}}for(var Id=0;Id<Nu.length;Id++){var Fd=Nu[Id],aj=Fd.toLowerCase(),sj=Fd[0].toUpperCase()+Fd.slice(1);ln(aj,"on"+sj)}ln(Jp,"onAnimationEnd"),ln(eg,"onAnimationIteration"),ln(tg,"onAnimationStart"),ln("dblclick","onDoubleClick"),ln("focusin","onFocus"),ln("focusout","onBlur"),ln(wE,"onTransitionRun"),ln(SE,"onTransitionStart"),ln(NE,"onTransitionCancel"),ln(ng,"onTransitionEnd"),ja("onMouseEnter",["mouseout","mouseover"]),ja("onMouseLeave",["mouseout","mouseover"]),ja("onPointerEnter",["pointerout","pointerover"]),ja("onPointerLeave",["pointerout","pointerover"]),$i("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$i("onSelect","focusout contextmenu dragend focu
8sin keydown keyup mousedown mouseup selectionchange".split(" ")),$i("onBeforeInput",["compositionend","keypress","textInput","paste"]),$i("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$i("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$i("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),rj=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(mr));function Nv(t,i){i=(i&4)!==0;for(var r=0;r<t.length;r++){var l=t[r],f=l.event;l=l.listeners;e:{var m=void 0;if(i)for(var b=l.length-1;0<=b;b--){var N=l[b],A=N.instance,B=N.currentTarget;if(N=N.listener,A!==m&&f.isPropagationStopped())break e;m=N,f.currentTarget=B;try{m(f)}catch(Y){Ao(Y)}f.currentTarget=null,m=A}else for(b=0;b<l.length;b++){if(N=l[b],A=N.instance,B=N.currentTarget,N=N.listener,A!==m&&f.isPropagationStopped())break e;m=N,f.currentTarget=B;try{m(f)}catch(Y){Ao(Y)}f.currentTarget=null,m=A}}}}function je(t,i){var r=i[tu];r===void 0&&(r=i[tu]=new Set);var l=t+"__bubble";r.has(l)||(Cv(i,t,2,!1),r.add(l))}function Hd(t,i,r){var l=0;i&&(l|=4),Cv(r,t,l,i)}var ml="_reactListening"+Math.random().toString(36).slice(2);function qd(t){if(!t[ml]){t[ml]=!0,yp.forEach(function(r){r!=="selectionchange"&&(rj.has(r)||Hd(r,!1,t),Hd(r,!0,t))});var i=t.nodeType===9?t:t.ownerDocument;i===null||i[ml]||(i[ml]=!0,Hd("selectionchange",!1,i))}}function Cv(t,i,r,l){switch(Jv(i)){case 2:var f=kj;break;case 8:f=Pj;break;default:f=rf}r=f.bind(null,i,r,t),f=void 0,!uu||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(f=!0),l?f!==void 0?t.addEventListener(i,r,{capture:!0,passive:f}):t.addEventListener(i,r,!0):f!==void 0?t.addEventListener(i,r,{passive:f}):t.addEventListener(i,r,!1)}function Gd(t,i,r,l,f){var m=l;if((i&1)===0&&(i&2)===0&&l!==null)e:for(;;){if(l===null)return;var b=l.tag;if(b===3||b===4){var N=l.stateNode.containerInfo;if(N===f)break;if(b===4)for(b=l.return;b!==null;){var A=b.tag;if((A===3||A===4)&&b.stateNode.containerInfo===f)return;b=b.return}for(;N!==null;){if(b=Na(N),b===null)return;if(A=b.tag,A===5||A===6||A===26||A===27){l=m=b;continue e}N=N.parentNode}}l=l.return}Mp(function(){var B=m,Y=lu(r),X=[];e:{var F=ig.get(t);if(F!==void 0){var H=Eo,re=t;switch(t){case"keypress":if(No(r)===0)break e;case"keydown":case"keyup":H=J2;break;case"focusin":re="focus",H=mu;break;case"focusout":re="blur",H=mu;break;case"beforeblur":case"afterblur":H=mu;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":H=Dp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=I2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=nE;break;case Jp:case eg:case tg:H=q2;break;case ng:H=aE;break;case"scroll":case"scrollend":H=U2;break;case"wheel":H=rE;break;case"copy":case"cut":case"paste":H=K2;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=kp;break;case"toggle":case"beforetoggle":H=lE}var ge=(i&4)!==0,Ue=!ge&&(t==="scroll"||t==="scrollend"),P=ge?F!==null?F+"Capture":null:F;ge=[];for(var D=B,U;D!==null;){var $=D;if(U=$.stateNode,$=$.tag,$!==5&&$!==26&&$!==27||U===null||P===null||($=Ls(D,P),$!=null&&ge.push(pr(D,$,U))),Ue)break;D=D.return}0<ge.length&&(F=new H(F,re,null,r,Y),X.push({event:F,listeners:ge}))}}if((i&7)===0){e:{if(F=t==="mouseover"||t==="pointerover",H=t==="mouseout"||t==="pointerout",F&&r!==ou&&(re=r.relatedTarget||r.fromElement)&&(Na(re)||re[Sa]))break e;if((H||F)&&(F=Y.window===Y?Y:(F=Y.ownerDocument)?F.defaultView||F.parentWindow:window,H?(re=r.relatedTarget||r.toElement,H=B,re=re?Na(re):null,re!==null&&(Ue=c(re),ge=re.tag,re!==Ue||ge!==5&&ge!==27&&ge!==6)&&(re=null)):(H=null,re=B),H!==re)){if(ge=Dp,$="onMouseLeave",P="onMouseEnter",D="mouse",(t==="pointerout"||t==="pointerover")&&(ge=kp,$="onPointerLeave",P="onPointerEnter",D="pointer"),Ue=H==null?F:Ps(H),U=re==null?F:Ps(re),F=new ge($,D+"leave",H,r,Y),F.target=Ue,F.relatedTarget=U,$=null,Na(Y)===B&&(ge=new ge(P,D+"enter",re,r,Y),ge.target=U,ge.relatedTarget=Ue,$=ge),Ue=$,H&&re)t:{for(ge=oj,P=H,D=re,U=0,$=P;$;$=ge($))U++;$=0;for(var fe=D;fe;fe=ge(fe))$++;for(;0<U-$;)P=ge(P),U--;for(;0<$-U;)D=ge(D),$--;for(;U--;){if(P===D||D!==null&&P===D.alternate){ge=P;break t}P=ge(P),D=ge(D)}ge=null}else ge=null;H!==null&&Ev(X,F,H,ge,!1),re!==null&&Ue!==null&&Ev(X,Ue,re,ge,!0)}}
vendor: 2,612 bytes, lines 8-9
8e:{if(F=B?Ps(B):window,H=F.nodeName&&F.nodeName.toLowerCase(),H==="select"||H==="input"&&F.type==="file")var Re=Fp;else if(Bp(F))if(Hp)Re=vE;else{Re=gE;var ce=pE}else H=F.nodeName,!H||H.toLowerCase()!=="input"||F.type!=="checkbox"&&F.type!=="radio"?B&&ru(B.elementType)&&(Re=Fp):Re=yE;if(Re&&(Re=Re(t,B))){Ip(X,Re,r,Y);break e}ce&&ce(t,F,B),t==="focusout"&&B&&F.type==="number"&&B.memoizedProps.value!=null&&su(F,"number",F.value)}switch(ce=B?Ps(B):window,t){case"focusin":(Bp(ce)||ce.contentEditable==="true")&&(Da=ce,bu=B,qs=null);break;case"focusout":qs=bu=Da=null;break;case"mousedown":wu=!0;break;case"contextmenu":case"mouseup":case"dragend":wu=!1,Wp(X,r,Y);break;case"selectionchange":if(bE)break;case"keydown":case"keyup":Wp(X,r,Y)}var Se;if(gu)e:{switch(t){case"compositionstart":var Ae="onCompositionStart";break e;case"compositionend":Ae="onCompositionEnd";break e;case"compositionupdate":Ae="onCompositionUpdate";break e}Ae=void 0}else za?Vp(t,r)&&(Ae="onCompositionEnd"):t==="keydown"&&r.keyCode===229&&(Ae="onCompositionStart");Ae&&(Pp&&r.locale!=="ko"&&(za||Ae!=="onCompositionStart"?Ae==="onCompositionEnd"&&za&&(Se=Rp()):(li=Y,du="value"in li?li.value:li.textContent,za=!0)),ce=pl(B,Ae),0<ce.length&&(Ae=new Op(Ae,t,null,r,Y),X.push({event:Ae,listeners:ce}),Se?Ae.data=Se:(Se=Up(r),Se!==null&&(Ae.data=Se)))),(Se=uE?dE(t,r):fE(t,r))&&(Ae=pl(B,"onBeforeInput"),0<Ae.length&&(ce=new Op("onBeforeInput","beforeinput",null,r,Y),X.push({event:ce,listeners:Ae}),ce.data=Se)),ij(X,t,B,r,Y)}Nv(X,i)})}function pr(t,i,r){return{instance:t,listener:i,currentTarget:r}}function pl(t,i){for(var r=i+"Capture",l=[];t!==null;){var f=t,m=f.stateNode;if(f=f.tag,f!==5&&f!==26&&f!==27||m===null||(f=Ls(t,r),f!=null&&l.unshift(pr(t,f,m)),f=Ls(t,i),f!=null&&l.push(pr(t,f,m))),t.tag===3)return l;t=t.return}return[]}function oj(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Ev(t,i,r,l,f){for(var m=i._reactName,b=[];r!==null&&r!==l;){var N=r,A=N.alternate,B=N.stateNode;if(N=N.tag,A!==null&&A===l)break;N!==5&&N!==26&&N!==27||B===null||(A=B,f?(B=Ls(r,m),B!=null&&b.unshift(pr(r,B,A))):f||(B=Ls(r,m),B!=null&&b.push(pr(r,B,A)))),r=r.return}b.length!==0&&t.push({event:i,listeners:b})}var lj=/\r\n?/g,cj=/\u0000|\uFFFD/g;function jv(t){return(typeof t=="string"?t:""+t).replace(lj,` 9`).replace(cj,"")}function Tv(t,i){return i=jv(i),jv(t)===i}function Ve(t,i,r,l,f,m){switch(r){case"children":typeof l=="string"?i==="body"||i==="textarea"&&l===""||Aa(t,l):(typeof l=="number"||typeof l=="bigint")&&i!=="body"&&Aa(t,""+l);break;case"className":xo(t,"class",l);break;
vendor: 4,780 bytes, line 9
9case"tabIndex":xo(t,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":xo(t,r,l);break;case"style":Tp(t,l,m);break;case"data":if(i!=="object"){xo(t,"data",l);break}case"src":case"href":if(l===""&&(i!=="a"||r!=="href")){t.removeAttribute(r);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(r);break}l=wo(""+l),t.setAttribute(r,l);break;case"action":case"formAction":if(typeof l=="function"){t.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof m=="function"&&(r==="formAction"?(i!=="input"&&Ve(t,i,"name",f.name,f,null),Ve(t,i,"formEncType",f.formEncType,f,null),Ve(t,i,"formMethod",f.formMethod,f,null),Ve(t,i,"formTarget",f.formTarget,f,null)):(Ve(t,i,"encType",f.encType,f,null),Ve(t,i,"method",f.method,f,null),Ve(t,i,"target",f.target,f,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){t.removeAttribute(r);break}l=wo(""+l),t.setAttribute(r,l);break;case"onClick":l!=null&&(t.onclick=Pn);break;case"onScroll":l!=null&&je("scroll",t);break;case"onScrollEnd":l!=null&&je("scrollend",t);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(r=l.__html,r!=null){if(f.children!=null)throw Error(s(60));t.innerHTML=r}}break;case"multiple":t.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":t.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){t.removeAttribute("xlink:href");break}r=wo(""+l),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(r,""+l):t.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":l&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(r,""):t.removeAttribute(r);break;case"capture":case"download":l===!0?t.setAttribute(r,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?t.setAttribute(r,l):t.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?t.setAttribute(r,l):t.removeAttribute(r);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?t.removeAttribute(r):t.setAttribute(r,l);break;case"popover":je("beforetoggle",t),je("toggle",t),vo(t,"popover",l);break;case"xlinkActuate":kn(t,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":kn(t,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":kn(t,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":kn(t,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":kn(t,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":kn(t,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":kn(t,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":kn(t,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":kn(t,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":vo(t,"is",l);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=_2.get(r)||r,vo(t,r,l))}}function Kd(t,i,r,l,f,m){switch(r){case"style":Tp(t,l,m);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(s(61));if(r=l.__html,r!=null){if(f.children!=null)throw Error(s(60));t.innerHTML=r}}break;case"children":typeof l=="string"?Aa(t,l):(typeof l=="number"||typeof l=="bigint")&&Aa(t,""+l);break;case"onScroll":l!=null&&je("scroll",t);break;case"onScrollEnd":l!=null&&je("scrollend",t);break;case"onClick":l!=null&&(t.onclick=Pn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;
vendor: 5,300 bytes, line 9
9default:if(!vp.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(f=r.endsWith("Capture"),i=r.slice(2,f?r.length-7:void 0),m=t[jt]||null,m=m!=null?m[r]:null,typeof m=="function"&&t.removeEventListener(i,m,f),typeof l=="function")){typeof m!="function"&&m!==null&&(r in t?t[r]=null:t.hasAttribute(r)&&t.removeAttribute(r)),t.addEventListener(i,l,f);break e}r in t?t[r]=l:l===!0?t.setAttribute(r,""):vo(t,r,l)}}}function gt(t,i,r){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":je("error",t),je("load",t);var l=!1,f=!1,m;for(m in r)if(r.hasOwnProperty(m)){var b=r[m];if(b!=null)switch(m){case"src":l=!0;break;case"srcSet":f=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,i));default:Ve(t,i,m,b,r,null)}}f&&Ve(t,i,"srcSet",r.srcSet,r,null),l&&Ve(t,i,"src",r.src,r,null);return;case"input":je("invalid",t);var N=m=b=f=null,A=null,B=null;for(l in r)if(r.hasOwnProperty(l)){var Y=r[l];if(Y!=null)switch(l){case"name":f=Y;break;case"type":b=Y;break;case"checked":A=Y;break;case"defaultChecked":B=Y;break;case"value":m=Y;break;case"defaultValue":N=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(s(137,i));break;default:Ve(t,i,l,Y,r,null)}}Np(t,m,N,A,B,b,f,!1);return;case"select":je("invalid",t),l=b=m=null;for(f in r)if(r.hasOwnProperty(f)&&(N=r[f],N!=null))switch(f){case"value":m=N;break;case"defaultValue":b=N;break;case"multiple":l=N;default:Ve(t,i,f,N,r,null)}i=m,r=b,t.multiple=!!l,i!=null?Ta(t,!!l,i,!1):r!=null&&Ta(t,!!l,r,!0);return;case"textarea":je("invalid",t),m=f=l=null;for(b in r)if(r.hasOwnProperty(b)&&(N=r[b],N!=null))switch(b){case"value":l=N;break;case"defaultValue":f=N;break;case"children":m=N;break;case"dangerouslySetInnerHTML":if(N!=null)throw Error(s(91));break;default:Ve(t,i,b,N,r,null)}Ep(t,l,f,m);return;case"option":for(A in r)r.hasOwnProperty(A)&&(l=r[A],l!=null)&&(A==="selected"?t.selected=l&&typeof l!="function"&&typeof l!="symbol":Ve(t,i,A,l,r,null));return;case"dialog":je("beforetoggle",t),je("toggle",t),je("cancel",t),je("close",t);break;case"iframe":case"object":je("load",t);break;case"video":case"audio":for(l=0;l<mr.length;l++)je(mr[l],t);break;case"image":je("error",t),je("load",t);break;case"details":je("toggle",t);break;case"embed":case"source":case"link":je("error",t),je("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(B in r)if(r.hasOwnProperty(B)&&(l=r[B],l!=null))switch(B){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,i));default:Ve(t,i,B,l,r,null)}return;default:if(ru(i)){for(Y in r)r.hasOwnProperty(Y)&&(l=r[Y],l!==void 0&&Kd(t,i,Y,l,r,void 0));return}}for(N in r)r.hasOwnProperty(N)&&(l=r[N],l!=null&&Ve(t,i,N,l,r,null))}function uj(t,i,r,l){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var f=null,m=null,b=null,N=null,A=null,B=null,Y=null;for(H in r){var X=r[H];if(r.hasOwnProperty(H)&&X!=null)switch(H){case"checked":break;case"value":break;case"defaultValue":A=X;default:l.hasOwnProperty(H)||Ve(t,i,H,null,l,X)}}for(var F in l){var H=l[F];if(X=r[F],l.hasOwnProperty(F)&&(H!=null||X!=null))switch(F){case"type":m=H;break;case"name":f=H;break;case"checked":B=H;break;case"defaultChecked":Y=H;break;case"value":b=H;break;case"defaultValue":N=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(s(137,i));break;default:H!==X&&Ve(t,i,F,H,l,X)}}au(t,b,N,A,B,Y,m,f);return;case"select":H=b=N=F=null;for(m in r)if(A=r[m],r.hasOwnProperty(m)&&A!=null)switch(m){case"value":break;case"multiple":H=A;default:l.hasOwnProperty(m)||Ve(t,i,m,null,l,A)}for(f in l)if(m=l[f],A=r[f],l.hasOwnProperty(f)&&(m!=null||A!=null))switch(f){case"value":F=m;break;case"defaultValue":N=m;break;case"multiple":b=m;default:m!==A&&Ve(t,i,f,m,l,A)}i=N,r=b,l=H,F!=null?Ta(t,!!r,F,!1):!!l!=!!r&&(i!=null?Ta(t,!!r,i,!0):Ta(t,!!r,r?[]:"",!1));return;case"textarea":H=F=null;for(N in r)if(f=r[N],r.hasOwnProperty(N)&&f!=null&&!l.hasOwnProperty(N))switch(N){case"value":break;case"children":break;default:Ve(t,i,N,null,l,f)}for(b in l)if(f=l[b],m=r[b],l.hasOwnProperty(b)&&(f!=null||m!=null))switch(b){case"value":F=f;break;case"defaultValue":H=f;break;case"children":break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(s(91));break;default:f!==m&&Ve(t,i,b,f,l,m)}Cp(t,F,H);return;case"option":for(var re in r)F=r[re],r.hasOwnProperty(re)&&F!=null&&!l.hasOwnProperty(re)&&(re==="selected"?t.selected=!1:Ve(t,i,re,null,l,F));for(A in l)F=l[A],H=r[A],l.hasOwnProperty(A)&&F!==H&&(F!=null||H!=null)&&(A==="selected"?t.selected=F&&typeof F!="function"&&typeof F!="symbol":Ve(t,i,A,F,l,H));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ge in r)F=r[ge],r.hasOwnProperty(ge)&&F!=null&&!l.hasOwnProperty(ge)&&Ve(t,i,ge,null,l,F);for(B in l)if(F=l[B],H=r[B],l.hasOwnProperty(B)&&F!==H&&(F!=null||H!=null))switch(B){case"children":case"dangerouslySetInnerHTML":if(F!=null)throw Error(s(137,i));break;default:Ve(t,i,B,F,l,H)}return;default:if(ru(i)){for(var Ue in r)F=r[Ue],r.hasOwnProperty(Ue)&&F!==void 0&&!l.hasOwnProperty(Ue)&&Kd(t,i,Ue,void 0,l,F);
vendor: 10,399 bytes, line 9
9for(Y in l)F=l[Y],H=r[Y],!l.hasOwnProperty(Y)||F===H||F===void 0&&H===void 0||Kd(t,i,Y,F,l,H);return}}for(var P in r)F=r[P],r.hasOwnProperty(P)&&F!=null&&!l.hasOwnProperty(P)&&Ve(t,i,P,null,l,F);for(X in l)F=l[X],H=r[X],!l.hasOwnProperty(X)||F===H||F==null&&H==null||Ve(t,i,X,F,l,H)}function Av(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function dj(){if(typeof performance.getEntriesByType=="function"){for(var t=0,i=0,r=performance.getEntriesByType("resource"),l=0;l<r.length;l++){var f=r[l],m=f.transferSize,b=f.initiatorType,N=f.duration;if(m&&N&&Av(b)){for(b=0,N=f.responseEnd,l+=1;l<r.length;l++){var A=r[l],B=A.startTime;if(B>N)break;var Y=A.transferSize,X=A.initiatorType;Y&&Av(X)&&(A=A.responseEnd,b+=Y*(A<N?1:(N-B)/(A-B)))}if(--l,i+=8*(m+b)/(f.duration/1e3),t++,10<t)break}}if(0<t)return i/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Yd=null,$d=null;function gl(t){return t.nodeType===9?t:t.ownerDocument}function Mv(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Rv(t,i){if(t===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&i==="foreignObject"?0:t}function Xd(t,i){return t==="textarea"||t==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var Qd=null;function fj(){var t=window.event;return t&&t.type==="popstate"?t===Qd?!1:(Qd=t,!0):(Qd=null,!1)}var zv=typeof setTimeout=="function"?setTimeout:void 0,hj=typeof clearTimeout=="function"?clearTimeout:void 0,Dv=typeof Promise=="function"?Promise:void 0,mj=typeof queueMicrotask=="function"?queueMicrotask:typeof Dv<"u"?function(t){return Dv.resolve(null).then(t).catch(pj)}:zv;function pj(t){setTimeout(function(){throw t})}function Ei(t){return t==="head"}function Ov(t,i){var r=i,l=0;do{var f=r.nextSibling;if(t.removeChild(r),f&&f.nodeType===8)if(r=f.data,r==="/$"||r==="/&"){if(l===0){t.removeChild(f),ss(i);return}l--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")l++;else if(r==="html")gr(t.ownerDocument.documentElement);else if(r==="head"){r=t.ownerDocument.head,gr(r);for(var m=r.firstChild;m;){var b=m.nextSibling,N=m.nodeName;m[ks]||N==="SCRIPT"||N==="STYLE"||N==="LINK"&&m.rel.toLowerCase()==="stylesheet"||r.removeChild(m),m=b}}else r==="body"&&gr(t.ownerDocument.body);r=f}while(r);ss(i)}function kv(t,i){var r=t;t=0;do{var l=r.nextSibling;if(r.nodeType===1?i?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(i?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),l&&l.nodeType===8)if(r=l.data,r==="/$"){if(t===0)break;t--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||t++;r=l}while(r)}function Wd(t){var i=t.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var r=i;switch(i=i.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Wd(r),nu(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}t.removeChild(r)}}function gj(t,i,r,l){for(;t.nodeType===1;){var f=r;if(t.nodeName.toLowerCase()!==i.toLowerCase()){if(!l&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(l){if(!t[ks])switch(i){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(m=t.getAttribute("rel"),m==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(m!==f.rel||t.getAttribute("href")!==(f.href==null||f.href===""?null:f.href)||t.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin)||t.getAttribute("title")!==(f.title==null?null:f.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(m=t.getAttribute("src"),(m!==(f.src==null?null:f.src)||t.getAttribute("type")!==(f.type==null?null:f.type)||t.getAttribute("crossorigin")!==(f.crossOrigin==null?null:f.crossOrigin))&&m&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(i==="input"&&t.type==="hidden"){var m=f.name==null?null:""+f.name;if(f.type==="hidden"&&t.getAttribute("name")===m)return t}else return t;if(t=tn(t.nextSibling),t===null)break}return null}function yj(t,i,r){if(i==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!r||(t=tn(t.nextSibling),t===null))return null;return t}function Pv(t,i){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!i||(t=tn(t.nextSibling),t===null))return null;return t}function Zd(t){return t.data==="$?"||t.data==="$~"}function Jd(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function vj(t,i){var r=t.ownerDocument;if(t.data==="$~")t._reactRetry=i;else if(t.data!=="$?"||r.readyState!=="loading")i();else{var l=function(){i(),r.removeEventListener("DOMContentLoaded",l)};r.addEventListener("DOMContentLoaded",l),t._reactRetry=l}}function tn(t){for(;t!=null;t=t.nextSibling){var i=t.nodeType;if(i===1||i===3)break;if(i===8){if(i=t.data,i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"||i==="F!"||i==="F")break;if(i==="/$"||i==="/&")return null}}return t}var ef=null;function Lv(t){t=t.nextSibling;for(var i=0;t;){if(t.nodeType===8){var r=t.data;if(r==="/$"||r==="/&"){if(i===0)return tn(t.nextSibling);i--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||i++}t=t.nextSibling}return null}function _v(t){t=t.previousSibling;for(var i=0;t;){if(t.nodeType===8){var r=t.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(i===0)return t;i--}else r!=="/$"&&r!=="/&"||i++}t=t.previousSibling}return null}function Vv(t,i,r){switch(i=gl(r),t){case"html":if(t=i.documentElement,!t)throw Error(s(452));return t;case"head":if(t=i.head,!t)throw Error(s(453));return t;case"body":if(t=i.body,!t)throw Error(s(454));return t;default:throw Error(s(451))}}function gr(t){for(var i=t.attributes;i.length;)t.removeAttributeNode(i[0]);nu(t)}var nn=new Map,Uv=new Set;function yl(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Wn=q.d;q.d={f:xj,r:bj,D:wj,C:Sj,L:Nj,m:Cj,X:jj,S:Ej,M:Tj};function xj(){var t=Wn.f(),i=ll();return t||i}function bj(t){var i=Ca(t);i!==null&&i.tag===5&&i.type==="form"?ny(i):Wn.r(t)}var ns=typeof document>"u"?null:document;function Bv(t,i,r){var l=ns;if(l&&typeof i=="string"&&i){var f=$t(i);f='link[rel="'+t+'"][href="'+f+'"]',typeof r=="string"&&(f+='[crossorigin="'+r+'"]'),Uv.has(f)||(Uv.add(f),t={rel:t,crossOrigin:r,href:i},l.querySelector(f)===null&&(i=l.createElement("link"),gt(i,"link",t),ut(i),l.head.appendChild(i)))}}function wj(t){Wn.D(t),Bv("dns-prefetch",t,null)}function Sj(t,i){Wn.C(t,i),Bv("preconnect",t,i)}function Nj(t,i,r){Wn.L(t,i,r);var l=ns;if(l&&t&&i){var f='link[rel="preload"][as="'+$t(i)+'"]';i==="image"&&r&&r.imageSrcSet?(f+='[imagesrcset="'+$t(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(f+='[imagesizes="'+$t(r.imageSizes)+'"]')):f+='[href="'+$t(t)+'"]';var m=f;switch(i){case"style":m=is(t);break;case"script":m=as(t)}nn.has(m)||(t=v({rel:"preload",href:i==="image"&&r&&r.imageSrcSet?void 0:t,as:i},r),nn.set(m,t),l.querySelector(f)!==null||i==="style"&&l.querySelector(yr(m))||i==="script"&&l.querySelector(vr(m))||(i=l.createElement("link"),gt(i,"link",t),ut(i),l.head.appendChild(i)))}}function Cj(t,i){Wn.m(t,i);var r=ns;if(r&&t){var l=i&&typeof i.as=="string"?i.as:"script",f='link[rel="modulepreload"][as="'+$t(l)+'"][href="'+$t(t)+'"]',m=f;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=as(t)}if(!nn.has(m)&&(t=v({rel:"modulepreload",href:t},i),nn.set(m,t),r.querySelector(f)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(vr(m)))return}l=r.createElement("link"),gt(l,"link",t),ut(l),r.head.appendChild(l)}}}function Ej(t,i,r){Wn.S(t,i,r);var l=ns;if(l&&t){var f=Ea(l).hoistableStyles,m=is(t);i=i||"default";var b=f.get(m);if(!b){var N={loading:0,preload:null};if(b=l.querySelector(yr(m)))N.loading=5;else{t=v({rel:"stylesheet",href:t,"data-precedence":i},r),(r=nn.get(m))&&tf(t,r);var A=b=l.createElement("link");ut(A),gt(A,"link",t),A._p=new Promise(function(B,Y){A.onload=B,A.onerror=Y}),A.addEventListener("load",function(){N.loading|=1}),A.addEventListener("error",function(){N.loading|=2}),N.loading|=4,vl(b,i,l)}b={type:"stylesheet",instance:b,count:1,state:N},f.set(m,b)}}}function jj(t,i){Wn.X(t,i);var r=ns;if(r&&t){var l=Ea(r).hoistableScripts,f=as(t),m=l.get(f);m||(m=r.querySelector(vr(f)),m||(t=v({src:t,async:!0},i),(i=nn.get(f))&&nf(t,i),m=r.createElement("script"),ut(m),gt(m,"link",t),r.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},l.set(f,m))}}function Tj(t,i){Wn.M(t,i);var r=ns;if(r&&t){var l=Ea(r).hoistableScripts,f=as(t),m=l.get(f);m||(m=r.querySelector(vr(f)),m||(t=v({src:t,async:!0,type:"module"},i),(i=nn.get(f))&&nf(t,i),m=r.createElement("script"),ut(m),gt(m,"link",t),r.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},l.set(f,m))}}function Iv(t,i,r,l){var f=(f=ye.current)?yl(f):null;if(!f)throw Error(s(446));switch(t){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(i=is(r.href),r=Ea(f).hoistableStyles,l=r.get(i),l||(l={type:"style",instance:null,count:0,state:null},r.set(i,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){t=is(r.href);var m=Ea(f).hoistableStyles,b=m.get(t);if(b||(f=f.ownerDocument||f,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(t,b),(m=f.querySelector(yr(t)))&&!m._p&&(b.instance=m,b.state.loading=5),nn.has(t)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},nn.set(t,r),m||Aj(f,t,r,b.state))),i&&l===null)throw Error(s(528,""));return b}if(i&&l!==null)throw Error(s(529,""));return null;case"script":return i=r.async,r=r.src,typeof r=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?
vendor: 5,251 bytes, line 9
9(i=as(r),r=Ea(f).hoistableScripts,l=r.get(i),l||(l={type:"script",instance:null,count:0,state:null},r.set(i,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,t))}}function is(t){return'href="'+$t(t)+'"'}function yr(t){return'link[rel="stylesheet"]['+t+"]"}function Fv(t){return v({},t,{"data-precedence":t.precedence,precedence:null})}function Aj(t,i,r,l){t.querySelector('link[rel="preload"][as="style"]['+i+"]")?l.loading=1:(i=t.createElement("link"),l.preload=i,i.addEventListener("load",function(){return l.loading|=1}),i.addEventListener("error",function(){return l.loading|=2}),gt(i,"link",r),ut(i),t.head.appendChild(i))}function as(t){return'[src="'+$t(t)+'"]'}function vr(t){return"script[async]"+t}function Hv(t,i,r){if(i.count++,i.instance===null)switch(i.type){case"style":var l=t.querySelector('style[data-href~="'+$t(r.href)+'"]');if(l)return i.instance=l,ut(l),l;var f=v({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return l=(t.ownerDocument||t).createElement("style"),ut(l),gt(l,"style",f),vl(l,r.precedence,t),i.instance=l;case"stylesheet":f=is(r.href);var m=t.querySelector(yr(f));if(m)return i.state.loading|=4,i.instance=m,ut(m),m;l=Fv(r),(f=nn.get(f))&&tf(l,f),m=(t.ownerDocument||t).createElement("link"),ut(m);var b=m;return b._p=new Promise(function(N,A){b.onload=N,b.onerror=A}),gt(m,"link",l),i.state.loading|=4,vl(m,r.precedence,t),i.instance=m;case"script":return m=as(r.src),(f=t.querySelector(vr(m)))?(i.instance=f,ut(f),f):(l=r,(f=nn.get(m))&&(l=v({},r),nf(l,f)),t=t.ownerDocument||t,f=t.createElement("script"),ut(f),gt(f,"link",l),t.head.appendChild(f),i.instance=f);case"void":return null;default:throw Error(s(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(l=i.instance,i.state.loading|=4,vl(l,r.precedence,t));return i.instance}function vl(t,i,r){for(var l=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),f=l.length?l[l.length-1]:null,m=f,b=0;b<l.length;b++){var N=l[b];if(N.dataset.precedence===i)m=N;else if(m!==f)break}m?m.parentNode.insertBefore(t,m.nextSibling):(i=r.nodeType===9?r.head:r,i.insertBefore(t,i.firstChild))}function tf(t,i){t.crossOrigin==null&&(t.crossOrigin=i.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=i.referrerPolicy),t.title==null&&(t.title=i.title)}function nf(t,i){t.crossOrigin==null&&(t.crossOrigin=i.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=i.referrerPolicy),t.integrity==null&&(t.integrity=i.integrity)}var xl=null;function qv(t,i,r){if(xl===null){var l=new Map,f=xl=new Map;f.set(r,l)}else f=xl,l=f.get(r),l||(l=new Map,f.set(r,l));if(l.has(t))return l;for(l.set(t,null),r=r.getElementsByTagName(t),f=0;f<r.length;f++){var m=r[f];if(!(m[ks]||m[ft]||t==="link"&&m.getAttribute("rel")==="stylesheet")&&m.namespaceURI!=="http://www.w3.org/2000/svg"){var b=m.getAttribute(i)||"";b=t+b;var N=l.get(b);N?N.push(m):l.set(b,[m])}}return l}function Gv(t,i,r){t=t.ownerDocument||t,t.head.insertBefore(r,i==="title"?t.querySelector("head > title"):null)}function Mj(t,i,r){if(r===1||i.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;return i.rel==="stylesheet"?(t=i.disabled,typeof i.precedence=="string"&&t==null):!0;case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function Kv(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Rj(t,i,r,l){if(r.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var f=is(l.href),m=i.querySelector(yr(f));if(m){i=m._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(t.count++,t=bl.bind(t),i.then(t,t)),r.state.loading|=4,r.instance=m,ut(m);return}m=i.ownerDocument||i,l=Fv(l),(f=nn.get(f))&&tf(l,f),m=m.createElement("link"),ut(m);var b=m;b._p=new Promise(function(N,A){b.onload=N,b.onerror=A}),gt(m,"link",l),r.instance=m}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(r,i),(i=r.state.preload)&&(r.state.loading&3)===0&&(t.count++,r=bl.bind(t),i.addEventListener("load",r),i.addEventListener("error",r))}}var af=0;function zj(t,i){return t.stylesheets&&t.count===0&&Sl(t,t.stylesheets),0<t.count||0<t.imgCount?function(r){var l=setTimeout(function(){if(t.stylesheets&&Sl(t,t.stylesheets),t.unsuspend){var m=t.unsuspend;t.unsuspend=null,m()}},6e4+i);0<t.imgBytes&&af===0&&(af=62500*dj());var f=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&Sl(t,t.stylesheets),t.unsuspend)){var m=t.unsuspend;t.unsuspend=null,m()}},(t.imgBytes>af?50:800)+i);return t.unsuspend=r,function(){t.unsuspend=null,clearTimeout(l),clearTimeout(f)}}:null}function bl(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Sl(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var wl=null;function Sl(t,i){t.stylesheets=null,t.unsuspend!==null&&(t.count++,wl=new Map,i.forEac
vendor: 11,279 bytes, line 9
9h(Dj,t),wl=null,bl.call(t))}function Dj(t,i){if(!(i.state.loading&4)){var r=wl.get(t);if(r)var l=r.get(null);else{r=new Map,wl.set(t,r);for(var f=t.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m<f.length;m++){var b=f[m];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(r.set(b.dataset.precedence,b),l=b)}l&&r.set(null,l)}f=i.instance,b=f.getAttribute("data-precedence"),m=r.get(b)||l,m===l&&r.set(null,f),r.set(b,f),this.count++,l=bl.bind(this),f.addEventListener("load",l),f.addEventListener("error",l),m?m.parentNode.insertBefore(f,m.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(f,t.firstChild)),i.state.loading|=4}}var xr={$$typeof:R,Provider:null,Consumer:null,_currentValue:V,_currentValue2:V,_threadCount:0};function Oj(t,i,r,l,f,m,b,N,A){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Zc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zc(0),this.hiddenUpdates=Zc(null),this.identifierPrefix=l,this.onUncaughtError=f,this.onCaughtError=m,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=A,this.incompleteTransitions=new Map}function Yv(t,i,r,l,f,m,b,N,A,B,Y,X){return t=new Oj(t,i,r,b,A,B,Y,X,N),i=1,m===!0&&(i|=24),m=_t(3,null,null,i),t.current=m,m.stateNode=t,i=Lu(),i.refCount++,t.pooledCache=i,i.refCount++,m.memoizedState={element:l,isDehydrated:r,cache:i},Bu(m),t}function $v(t){return t?(t=Pa,t):Pa}function Xv(t,i,r,l,f,m){f=$v(f),l.context===null?l.context=f:l.pendingContext=f,l=mi(i),l.payload={element:r},m=m===void 0?null:m,m!==null&&(l.callback=m),r=pi(t,l,i),r!==null&&(Dt(r,t,i),Ws(r,t,i))}function Qv(t,i){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var r=t.retryLane;t.retryLane=r!==0&&r<i?r:i}}function sf(t,i){Qv(t,i),(t=t.alternate)&&Qv(t,i)}function Wv(t){if(t.tag===13||t.tag===31){var i=Zi(t,67108864);i!==null&&Dt(i,t,67108864),sf(t,67108864)}}function Zv(t){if(t.tag===13||t.tag===31){var i=Ft();i=Jc(i);var r=Zi(t,i);r!==null&&Dt(r,t,i),sf(t,i)}}var Nl=!0;function kj(t,i,r,l){var f=O.T;O.T=null;var m=q.p;try{q.p=2,rf(t,i,r,l)}finally{q.p=m,O.T=f}}function Pj(t,i,r,l){var f=O.T;O.T=null;var m=q.p;try{q.p=8,rf(t,i,r,l)}finally{q.p=m,O.T=f}}function rf(t,i,r,l){if(Nl){var f=of(l);if(f===null)Gd(t,i,l,Cl,r),ex(t,l);else if(_j(f,t,i,r,l))l.stopPropagation();else if(ex(t,l),i&4&&-1<Lj.indexOf(t)){for(;f!==null;){var m=Ca(f);if(m!==null)switch(m.tag){case 3:if(m=m.stateNode,m.current.memoizedState.isDehydrated){var b=Yi(m.pendingLanes);if(b!==0){var N=m;for(N.pendingLanes|=2,N.entangledLanes|=2;b;){var A=1<<31-Pt(b);N.entanglements[1]|=A,b&=~A}Cn(m),(De&6)===0&&(rl=Ot()+500,hr(0))}}break;case 31:case 13:N=Zi(m,2),N!==null&&Dt(N,m,2),ll(),sf(m,2)}if(m=of(l),m===null&&Gd(t,i,l,Cl,r),m===f)break;f=m}f!==null&&l.stopPropagation()}else Gd(t,i,l,null,r)}}function of(t){return t=lu(t),lf(t)}var Cl=null;function lf(t){if(Cl=null,t=Na(t),t!==null){var i=c(t);if(i===null)t=null;else{var r=i.tag;if(r===13){if(t=u(i),t!==null)return t;t=null}else if(r===31){if(t=h(i),t!==null)return t;t=null}else if(r===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;t=null}else i!==t&&(t=null)}}return Cl=t,null}function Jv(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(w2()){case op:return 2;case lp:return 8;case ho:case S2:return 32;case cp:return 268435456;default:return 32}default:return 32}}var cf=!1,ji=null,Ti=null,Ai=null,br=new Map,wr=new Map,Mi=[],Lj="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function ex(t,i){switch(t){case"focusin":case"focusout":ji=null;break;case"dragenter":case"dragleave":Ti=null;break;case"mouseover":case"mouseout":Ai=null;break;case"pointerover":case"pointerout":br.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":wr.delete(i.pointerId)}}function Sr(t,i,r,l,f,m){return t===null||t.nativeEvent!==m?(t={blockedOn:i,domEventName:r,eventSystemFlags:l,nativeEvent:m,targetContainers:[f]},i!==null&&(i=Ca(i),i!==null&&Wv(i)),t):(t.eventSystemFlags|=l,i=t.targetContainers,f!==null&&i.indexOf(f)===-1&&i.push(f),t)}function _j(t,i,r,l,f){switch(i){case"focusin":return ji=Sr(ji,t,i,r,l,f),!0;case"dragenter":return Ti=Sr(Ti,t,i,r,l,f),!0;case"mouseover":return Ai=Sr(Ai,t,i,r,l,f),!0;case"pointerover":var m=f.pointerId;return br.set(m,Sr(br.get(m)||null,t,i,r,l,f)),!0;case"gotpointercapture":return m=f.pointerId,wr.set(m,Sr(wr.get(m)||null,t,i,r,l,f)),!0}return!1}function tx(t){var i=Na(t.target);if(i!==null){var r=c(i);if(r!==null){if(i=r.tag,i===13){if(i=u(r),i!==null){t.blockedOn=i,pp(t.priority,function(){Zv(r)});return}}else if(i===31){if(i=h(r),i!==null){t.blockedOn=i,pp(t.priority,function(){Zv(r)});return}}else if(i===3&&r.stateNode.current.memoizedState.isDehydrated){t.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}t.blockedOn=null}function El(t){if(t.blockedOn!==null)return!1;for(var i=t.targetContainers;0<i.length;){var r=of(t.nativeEvent);if(r===null){r=t.nativeEvent;var l=new r.constructor(r.type,r);ou=l,r.target.dispatchEvent(l),ou=null}else return i=Ca(r),i!==null&&Wv(i),t.blockedOn=r,!1;i.shift()}return!0}function nx(t,i,r){El(t)&&r.delete(i)}function Vj(){cf=!1,ji!==null&&El(ji)&&(ji=null),Ti!==null&&El(Ti)&&(Ti=null),Ai!==null&&El(Ai)&&(Ai=null),br.forEach(nx),wr.forEach(nx)}function jl(t,i){t.blockedOn===i&&(t.blockedOn=null,cf||(cf=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Vj)))}var Tl=null;function ix(t){Tl!==t&&(Tl=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Tl===t&&(Tl=null);for(var i=0;i<t.length;i+=3){var r=t[i],l=t[i+1],f=t[i+2];if(typeof l!="function"){if(lf(l||r)===null)continue;break}var m=Ca(r);m!==null&&(t.splice(i,3),i-=3,rd(m,{pending:!0,data:f,method:r.method,action:l},l,f))}}))}function ss(t){function i(A){return jl(A,t)}ji!==null&&jl(ji,t),Ti!==null&&jl(Ti,t),Ai!==null&&jl(Ai,t),br.forEach(i),wr.forEach(i);for(var r=0;r<Mi.length;r++){var l=Mi[r];l.blockedOn===t&&(l.blockedOn=null)}for(;0<Mi.length&&(r=Mi[0],r.blockedOn===null);)tx(r),r.blockedOn===null&&Mi.shift();if(r=(t.ownerDocument||t).$$reactFormReplay,r!=null)for(l=0;l<r.length;l+=3){var f=r[l],m=r[l+1],b=f[jt]||null;if(typeof m=="function")b||ix(r);else if(b){var N=null;if(m&&m.hasAttribute("formAction")){if(f=m,b=m[jt]||null)N=b.formAction;else if(lf(f)!==null)continue}else N=b.action;typeof N=="function"?r[l+1]=N:(r.splice(l,3),l-=3),ix(r)}}}function ax(){function t(m){m.canIntercept&&m.info==="react-transition"&&m.intercept({handler:function(){return new Promise(function(b){return f=b})},focusReset:"manual",scroll:"manual"})}function i(){f!==null&&(f(),f=null),l||setTimeout(r,20)}function r(){if(!l&&!navigation.transition){var m=navigation.currentEntry;m&&m.url!=null&&navigation.navigate(m.url,{state:m.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,f=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",i),navigation.addEventListener("navigateerror",i),setTimeout(r,100),function(){l=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",i),navigation.removeEventListener("navigateerror",i),f!==null&&(f(),f=null)}}}function uf(t){this._internalRoot=t}Al.prototype.render=uf.prototype.render=function(t){var i=this._internalRoot;if(i===null)throw Error(s(409));var r=i.current,l=Ft();Xv(r,l,t,i,null,null)},Al.prototype.unmount=uf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var i=t.containerInfo;Xv(t.current,2,null,t,null,null),ll(),i[Sa]=null}};function Al(t){this._internalRoot=t}Al.prototype.unstable_scheduleHydration=function(t){if(t){var i=mp();t={blockedOn:null,target:t,priority:i};for(var r=0;r<Mi.length&&i!==0&&i<Mi[r].priority;r++);Mi.splice(r,0,t),r===0&&tx(t)}};var sx=n.version;if(sx!=="19.2.3")throw Error(s(527,sx,"19.2.3"));q.findDOMNode=function(t){var i=t._reactInternals;if(i===void 0)throw typeof t.render=="function"?Error(s(188)):(t=Object.keys(t).join(","),Error(s(268,t)));return t=g(i),t=t!==null?y(t):null,t=t===null?null:t.stateNode,t};var Uj={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ml=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ml.isDisabled&&Ml.supportsFiber)try{zs=Ml.inject(Uj),kt=Ml}catch{}}return Er.createRoot=function(t,i){if(!o(t))throw Error(s(299));var r=!1,l="",f=fy,m=hy,b=my;return i!=null&&(i.unstable_strictMode===!0&&(r=!0),i.identifierPrefix!==void 0&&(l=i.identifierPrefix),i.onUncaughtError!==void 0&&(f=i.onUncaughtError),i.onCaughtError!==void 0&&(m=i.onCaughtError),i.onRecoverableError!==void 0&&(b=i.onRecoverableError)),i=Yv(t,1,!1,null,null,r,l,null,f,m,b,ax),t[Sa]=i.current,qd(t),new uf(i)},Er.hydrateRoot=function(t,i,r){if(!o(t))throw Error(s(299));var l=!1,f="",m=fy,b=hy,N=my,A=null;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(f=r.identifierPrefix),r.onUncaughtError!==void 0&&(m=r.onUncaughtError),r.onCaughtError!==void 0&&(b=r.onCaughtError),r.onRecoverableError!==void 0&&(N=r.onRecoverableError),r.formState!==void 0&&(A=r.formState)),i=Yv(t,1,!0,i,r??null,l,f,A,m,b,N,ax),i.context=$v(null),r=i.current,l=Ft(),l=Jc(l),f=mi(l),f.callback=null,pi(r,f,l),r=l,i.current.lanes=r,Os(i,r),Cn(i),t[Sa]=i.current,qd(t),new Al(i)},Er.version="19.2.3",Er}var Dx;function PT(){if(Dx)return vf.exports;Dx=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}
9return e(),vf.exports=kT(),vf.exports}var LT=PT();function _T(e,n){if(e instanceof RegExp)return{keys:!1,pattern:e};var a,s,o,c,u=[],h="",p=e.split("/");for(p[0]||p.shift();o=p.shift();)a=o[0],a==="*"?(u.push(a),h+=o[1]==="?"?"(?:/(.*))?":"/(.*)"):a===":"?(s=o.indexOf("?",1),c=o.indexOf(".",1),u.push(o.substring(1,~s?s:~c?c:o.length)),h+=~s&&!~c?"(?:/([^/]+?))?":"/([^/]+?)",~c&&(h+=(~s?"?":"")+"\\"+o.substring(c))):h+="/"+o;return{keys:u,pattern:new RegExp("^"+h+(n?"(?=$|/)":"/?$"),"i")}}const VT=Nc.useInsertionEffect,UT=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",BT=UT?x.useLayoutEffect:x.useEffect,IT=VT||BT,a1=e=>{const n=x.useRef([e,(...a)=>n[0](...a)]).current;return IT(()=>{n[0]=e}),n[1]},FT="popstate",Kh="pushState",Yh="replaceState",HT="hashchange",Ox=[FT,Kh,Yh,HT],qT=e=>{for(const n of Ox)addEventListener(n,e);return()=>{for(const n of Ox)removeEventListener(n,e)}},s1=(e,n)=>n1.useSyncExternalStore(qT,e,n),kx=()=>location.search,GT=({ssrSearch:e}={})=>s1(kx,e!=null?()=>e:kx),Px=()=>location.pathname,KT=({ssrPath:e}={})=>s1(Px,e!=null?()=>e:Px),YT=(e,{replace:n=!1,state:a=null}={})=>history[n?Yh:Kh](a,"",e),$T=(e={})=>[KT(e),YT],Lx=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[Lx]>"u"){for(const e of[Kh,Yh]){const n=history[e];history[e]=function(){const a=n.apply(this,arguments),s=new Event(e);return s.arguments=arguments,dispatchEvent(s),a}}Object.defineProperty(window,Lx,{value:!0})}const XT=(e,n)=>n.toLowerCase().indexOf(e.toLowerCase())?"~"+n:n.slice(e.length)||"/",r1=(e="")=>e==="/"?"":e,QT=(e,n)=>e[0]==="~"?e.slice(1):r1(n)+e,WT=(e="",n)=>XT(_x(r1(e)),_x(n)),_x=e=>{try{return decodeURI(e)}catch{return e}},o1={hook:$T,searchHook:GT,parser:_T,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e,aroundNav:(e,n,a)=>e(n,a)},l1=x.createContext(o1),Jr=()=>x.useContext(l1),c1={},u1=x.createContext(c1),ZT=()=>x.useContext(u1),Cc=e=>{const[n,a]=e.hook(e);return[WT(e.base,n),a1((s,o)=>e.aroundNav(a,QT(s,e.base),o))]},JT=()=>Cc(Jr()),d1=(e,n,a,s)=>{const{pattern:o,keys:c}=n instanceof RegExp?{keys:!1,pattern:n}:e(n||"*",s),u=o.exec(a)||[],[h,...p]=u;return h!==void 0?[!0,(()=>{const g=c!==!1?Object.fromEntries(c.map((v,w)=>[v,p[w]])):u.groups;let y={...p};return g&&Object.assign(y,g),y})(),...s?[h]:[]]:[!1,null]},eA=({children:e,...n})=>{const a=Jr(),s=n.hook?o1:a;let o=s;const[c,u=n.ssrSearch??""]=n.ssrPath?.split("?")??[];c&&(n.ssrSearch=u,n.ssrPath=c),n.hrefs=n.hrefs??n.hook?.hrefs,n.searchHook=n.searchHook??n.hook?.searchHook;let h=x.useRef({}),p=h.current,g=p;for(let y in s){const v=y==="base"?s[y]+(n[y]??""):n[y]??s[y];p===g&&v!==g[y]&&(h.current=g={...g}),g[y]=v,(v!==s[y]||v!==o[y])&&(o=g)}return x.createElement(l1.Provider,{value:o,children:e})},Vx=({children:e,component:n},a)=>n?x.createElement(n,{params:a}):typeof e=="function"?e(a):e,tA=e=>{let n=x.useRef(c1);const a=n.current;return n.current=Object.keys(e).length!==Object.keys(a).length||Object.entries(e).some(([s,o])=>o!==a[s])?e:a},dn=({path:e,nest:n,match:a,...s})=>{const o=Jr(),[c]=Cc(o),[u,h,p]=a??d1(o.parser,e,c,n),g=tA({...ZT(),...h});if(!u)return null;const y=p?x.createElement(eA,{base:p},Vx(s,g)):Vx(s,g);return x.createElement(u1.Provider,{value:g,children:y})};x.forwardRef((e,n)=>{const a=Jr(),[s,o]=Cc(a),{to:c="",href:u=c,onClick:h,asChild:p,children:g,className:y,replace:v,state:w,transition:S,...E}=e,C=a1(T=>{T.ctrlKey||T.metaKey||T.altKey||T.shiftKey||T.button!==0||(h?.(T),T.defaultPrevented||(T.preventDefault(),o(u,e)))}),j=a.hrefs(u[0]==="~"?u.slice(1):a.base+u,a);return p&&x.isValidElement(g)?x.cloneElement(g,{onClick:C,href:j}):x.createElement("a",{...E,onClick:C,href:j,className:y?.call?y(s===u):y,children:g,ref:n})});const f1=e=>Array.isArray(e)?e.flatMap(n=>f1(n&&n.type===x.Fragment?n.props.children:n)):[e],nA=({children:e,location:n})=>{const a=Jr(),[s]=Cc(a);for(const o of f1(e)){let c=0;if(x.isValidElement(o)&&(c=d1(a.parser,o.props.path,n||s,o.props.nest))[0])return x.cloneElement(o,{match:c})}return null};var Ec=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},iA={setTimeout:(e,n)=>setTimeout(e,n),clearTimeout:e=>clearTimeout(e),setInterval:(e,n)=>setInterval(e,n),clearInterval:e=>clearInterval(e)},aA=class{#e=iA;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,n){return this.#e.setTimeout(e,n)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,n){return this.#e.setInterval(e,n)}clearInterval(e){this.#e.clearInterval(e)}},rh=new aA;function sA(e){setTimeout(e,0)}var jc=typeof window>"u"||"Deno"in globalThis;function mn(){}function rA(e,n){return typeof e=="function"?e(n):e}function oA(e){return typeof e=="number"&&e>=0&&e!==1/0}function lA(e,n){return Math.max(e+(n||0)-Date.now(),0)}function oh(e,n){return typeof e=="function"?e(n):e}function cA(e,n){return typeof e=="function"?e(n):e}function Ux(e,n){const{type:a="all",exact:s,fetchStatus:o,predicate:c,queryKey:u,stale:h}=e;if(u){if(s){if(n.queryHash!==$h(u,n.options))return!1}else if(!Ir(n.queryKey,u))return!1}if(a!=="all"){const p=n.isActive();if(a==="active"&&!p||a==="inactive"&&p)return!1}return!(typeof h=="boolean"&&n.isStale()!==h||o&&o!==n.state.fetchStatus||c&&!c(n))}function Bx(e,n){const{exact:a,status:s,predicate:o,mutationKey:c}=e;if(c){if(!n.options.mutationKey)return!1;if(a){if(Br(n.options.mutationKey)!==Br(c))return!1}else if(!Ir(n.options.mutationKey,c))return!1}return!(s&&n.state.status!==s||o&&!o(n))}function $h(e,n){return(n?.queryKeyHashFn||Br)(e)}function Br(e){return JSON.stringify(e,(n,a)=>lh(a)?Object.keys(a).sort().reduce((s,o)=>(s[o]=a[o],s),{}):a)}function Ir(e,n){return e===n?!0:typeof e!=typeof n?!1:e&&n&&typeof e=="object"&&typeof n=="object"?Object.keys(n).every(a=>Ir(e[a],n[a])):!1}var uA=Object.prototype.hasOwnProperty;function h1(e,n,a=0){if(e===n)return e;if(a>500)return n;const s=Ix(e)&&Ix(n);if(!s&&!(lh(e)&&lh(n)))return n;const c=(s?e:Object.keys(e)).length,u=s?n:Object.keys(n),h=u.length,p=s?new Array(h):{};let g=0;for(let y=0;y<h;y++){const v=s?y:u[y],w=e[v],S=n[v];if(w===S){p[v]=w,(s?y<c:uA.call(e,v))&&g++;continue}if(w===null||S===null||typeof w!="object"||typeof S!="object"){p[v]=S;continue}const E=h1(w,S,a+1);p[v]=E,E===w&&g++}return c===h&&g===c?e:p}function Ix(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function lh(e){if(!Fx(e))return!1;const n=e.constructor;if(n===void 0)return!0;const a=n.prototype;return!(!Fx(a)||!a.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Fx(e){return Object.prototype.toString.call(e)==="[object Object]"}function dA(e){return new Promise(n=>{rh.setTimeout(n,e)})}function fA(e,n,a){return typeof a.structuralSharing=="function"?a.structuralSharing(e,n):a.structuralSharing!==!1?h1(e,n):n}function hA(e,n,a=0){const s=[...e,n];return a&&s.length>a?s.slice(1):s}function mA(e,n,a=0){const s=[n,...e];return a&&s.length>a?s.slice(0,-1):s}var Xh=Symbol();function m1(e,n){return!e.queryFn&&n?.initialPromise?()=>n.initialPromise:!e.queryFn||e.queryFn===Xh?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function pA(e,n,a){let s=!1,o;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(o??=n(),s||(s=!0,o.aborted?a():o.addEventListener("abort",a,{once:!0})),o)}),e}
vendor: 18,945 bytes, line 9
9var gA=class extends Ec{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!jc&&window.addEventListener){const n=()=>e();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(n=>{n(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},p1=new gA;function yA(){let e,n;const a=new Promise((o,c)=>{e=o,n=c});a.status="pending",a.catch(()=>{});function s(o){Object.assign(a,o),delete a.resolve,delete a.reject}return a.resolve=o=>{s({status:"fulfilled",value:o}),e(o)},a.reject=o=>{s({status:"rejected",reason:o}),n(o)},a}var vA=sA;function xA(){let e=[],n=0,a=h=>{h()},s=h=>{h()},o=vA;const c=h=>{n?e.push(h):o(()=>{a(h)})},u=()=>{const h=e;e=[],h.length&&o(()=>{s(()=>{h.forEach(p=>{a(p)})})})};return{batch:h=>{let p;n++;try{p=h()}finally{n--,n||u()}return p},batchCalls:h=>(...p)=>{c(()=>{h(...p)})},schedule:c,setNotifyFunction:h=>{a=h},setBatchNotifyFunction:h=>{s=h},setScheduler:h=>{o=h}}}var wt=xA(),bA=class extends Ec{#e=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!jc&&window.addEventListener){const n=()=>e(!0),a=()=>e(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",a)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(a=>{a(e)}))}isOnline(){return this.#e}},ac=new bA;function wA(e){return Math.min(1e3*2**e,3e4)}function g1(e){return(e??"online")==="online"?ac.isOnline():!0}var ch=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function y1(e){let n=!1,a=0,s;const o=yA(),c=()=>o.status!=="pending",u=C=>{if(!c()){const j=new ch(C);w(j),e.onCancel?.(j)}},h=()=>{n=!0},p=()=>{n=!1},g=()=>p1.isFocused()&&(e.networkMode==="always"||ac.isOnline())&&e.canRun(),y=()=>g1(e.networkMode)&&e.canRun(),v=C=>{c()||(s?.(),o.resolve(C))},w=C=>{c()||(s?.(),o.reject(C))},S=()=>new Promise(C=>{s=j=>{(c()||g())&&C(j)},e.onPause?.()}).then(()=>{s=void 0,c()||e.onContinue?.()}),E=()=>{if(c())return;let C;const j=a===0?e.initialPromise:void 0;try{C=j??e.fn()}catch(T){C=Promise.reject(T)}Promise.resolve(C).then(v).catch(T=>{if(c())return;const z=e.retry??(jc?0:3),R=e.retryDelay??wA,k=typeof R=="function"?R(a,T):R,L=z===!0||typeof z=="number"&&a<z||typeof z=="function"&&z(a,T);if(n||!L){w(T);return}a++,e.onFail?.(a,T),dA(k).then(()=>g()?void 0:S()).then(()=>{n?w(T):E()})})};return{promise:o,status:()=>o.status,cancel:u,continue:()=>(s?.(),o),cancelRetry:h,continueRetry:p,canStart:y,start:()=>(y()?E():S().then(E),o)}}var v1=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),oA(this.gcTime)&&(this.#e=rh.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(jc?1/0:300*1e3))}clearGcTimeout(){this.#e&&(rh.clearTimeout(this.#e),this.#e=void 0)}},SA=class extends v1{#e;#t;#n;#a;#i;#r;#o;constructor(e){super(),this.#o=!1,this.#r=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#n=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=qx(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#r,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const n=qx(this.options);n.data!==void 0&&(this.setState(Hx(n.data,n.dataUpdatedAt)),this.#e=n)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,n){const a=fA(this.state.data,e,this.options);return this.#s({data:a,type:"success",dataUpdatedAt:n?.updatedAt,manual:n?.manual}),a}setState(e,n){this.#s({type:"setState",state:e,setStateOptions:n})}cancel(e){const n=this.#i?.promise;return this.#i?.cancel(e),n?n.then(mn).catch(mn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>cA(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Xh||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>oh(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!lA(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(n=>n.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(n=>n.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(n=>n!==e),this.observers.length||(this.#i&&(this.#o?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#s({type:"invalidate"})}async fetch(e,n){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&n?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const a=new AbortController,s=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(this.#o=!0,a.signal)})},o=()=>{const h=m1(this.options,n),g=(()=>{const y={client:this.#a,queryKey:this.queryKey,meta:this.meta};return s(y),y})();return this.#o=!1,this.options.persister?this.options.persister(h,g,this):h(g)},u=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:o};return s(h),h})();this.options.behavior?.onFetch(u,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==u.fetchOptions?.meta)&&this.#s({type:"fetch",meta:u.fetchOptions?.meta}),this.#i=y1({initialPromise:n?.initialPromise,fn:u.fetchFn,onCancel:h=>{h instanceof ch&&h.revert&&this.setState({...this.#t,fetchStatus:"idle"}),a.abort()},onFail:(h,p)=>{this.#s({type:"failed",failureCount:h,error:p})},onPause:()=>{this.#s({type:"pause"})},onContinue:()=>{this.#s({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0});try{const h=await this.#i.start();if(h===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(h),this.#n.config.onSuccess?.(h,this),this.#n.config.onSettled?.(h,this.state.error,this),h}catch(h){if(h instanceof ch){if(h.silent)return this.#i.promise;if(h.revert){if(this.state.data===void 0)throw h;return this.state.data}}throw this.#s({type:"error",error:h}),this.#n.config.onError?.(h,this),this.#n.config.onSettled?.(this.state.data,h,this),h}finally{this.scheduleGc()}}#s(e){const n=a=>{switch(e.type){case"failed":return{...a,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...NA(a.data,this.options),fetchMeta:e.meta??null};case"success":const s={...a,...Hx(e.data,e.dataUpdatedAt),dataUpdateCount:a.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#t=e.manual?s:void 0,s;case"error":const o=e.error;return{...a,error:o,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...e.state}}};this.state=n(this.state),wt.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function NA(e,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:g1(n.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Hx(e,n){return{data:e,dataUpdatedAt:n??Date.now(),error:null,isInvalidated:!1,status:"success"}}function qx(e){const n=typeof e.initialData=="function"?e.initialData():e.initialData,a=n!==void 0,s=a?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:n,dataUpdateCount:0,dataUpdatedAt:a?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:a?"success":"pending",fetchStatus:"idle"}}function Gx(e){return{onFetch:(n,a)=>{const s=n.options,o=n.fetchOptions?.meta?.fetchMore?.direction,c=n.state.data?.pages||[],u=n.state.data?.pageParams||[];let h={pages:[],pageParams:[]},p=0;const g=async()=>{let y=!1;const v=E=>{pA(E,()=>n.signal,()=>y=!0)},w=m1(n.options,n.fetchOptions),S=async(E,C,j)=>{if(y)return Promise.reject();if(C==null&&E.pages.length)return Promise.resolve(E);const z=(()=>{const K={client:n.client,queryKey:n.queryKey,pageParam:C,direction:j?"backward":"forward",meta:n.options.meta};return v(K),K})(),R=await w(z),{maxPages:k}=n.options,L=j?mA:hA;return{pages:L(E.pages,R,k),pageParams:L(E.pageParams,C,k)}};if(o&&c.length){const E=o==="backward",C=E?CA:Kx,j={pages:c,pageParams:u},T=C(s,j);h=await S(j,T,E)}else{const E=e??c.length;do{const C=p===0?u[0]??s.initialPageParam:Kx(s,h);if(p>0&&C==null)break;h=await S(h,C),p++}while(p<E)}return h};n.options.persister?n.fetchFn=()=>n.options.persister?.(g,{client:n.client,queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},a):n.fetchFn=g}}}function Kx(e,{pages:n,pageParams:a}){const s=n.length-1;return n.length>0?e.getNextPageParam(n[s],n,a[s],a):void 0}function CA(e,{pages:n,pageParams:a}){return n.length>0?e.getPreviousPageParam?.(n[0],n,a[0],a):void 0}var EA=class extends v1{#e;#t;#n;#a;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||jA(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(n=>n!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#a?.continue()??this.execute(this.state.variables)}async execute(e){const n=()=>{this.#i({type:"continue"})},a={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=y1({fn:()=>this.options.mutationFn?this.options.mutationFn(e,a):Promise.reject(new Error("No mutationFn found")),onFail:(c,u)=>{this.#i({type:"failed",failureCount:c,error:u})},onPause:()=>{this.#i({type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const s=this.state.status==="pending",o=!this.#a.canStart();try{if(s)n();else{this.#i({type:"pending",variables:e,isPaused:o}),await this.#n.config.onMutate?.(e,this,a);const u=await this.options.onMutate?.(e,a);u!==this.state.context&&this.#i({type:"pending",context:u,variables:e,isPaused:o})}const c=await this.#a.start();return await this.#n.config.onSuccess?.(c,e,this.state.context,this,a),await this.options.onSuccess?.(c,e,this.state.context,a),await this.#n.config.onSettled?.(c,null,this.state.variables,this.state.context,this,a),await this.options.onSettled?.(c,null,e,this.state.context,a),this.#i({type:"success",data:c}),c}catch(c){try{await this.#n.config.onError?.(c,e,this.state.context,this,a)}catch(u){Promise.reject(u)}try{await this.options.onError?.(c,e,this.state.context,a)}catch(u){Promise.reject(u)}try{await this.#n.config.onSettled?.(void 0,c,this.state.variables,this.state.context,this,a)}catch(u){Promise.reject(u)}try{await this.options.onSettled?.(void 0,c,e,this.state.context,a)}catch(u){Promise.reject(u)}throw this.#i({type:"error",error:c}),c}finally{this.#n.runNext(this)}}#i(e){const n=a=>{switch(e.type){case"failed":return{...a,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...a,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:e.error,failureCount:a.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=n(this.state),wt.batch(()=>{this.#t.forEach(a=>{a.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function jA(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var TA=class extends Ec{constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#n=0}#e;#t;#n;build(e,n,a){const s=new EA({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(n),state:a});return this.add(s),s}add(e){this.#e.add(e);const n=zl(e);if(typeof n=="string"){const a=this.#t.get(n);a?a.push(e):this.#t.set(n,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){const n=zl(e);if(typeof n=="string"){const a=this.#t.get(n);if(a)if(a.length>1){const s=a.indexOf(e);s!==-1&&a.splice(s,1)}else a[0]===e&&this.#t.delete(n)}}this.notify({type:"removed",mutation:e})}canRun(e){const n=zl(e);if(typeof n=="string"){const s=this.#t.get(n)?.find(o=>o.state.status==="pending");return!s||s===e}else return!0}runNext(e){const n=zl(e);return typeof n=="string"?this.#t.get(n)?.find(s=>s!==e&&s.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){wt.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){const n={exact:!0,...e};return this.getAll().find(a=>Bx(n,a))}findAll(e={}){return this.getAll().filter(n=>Bx(e,n))}notify(e){wt.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){const e=this.getAll().filter(n=>n.state.isPaused);return wt.batch(()=>Promise.all(e.map(n=>n.continue().catch(mn))))}};function zl(e){return e.options.scope?.id}var AA=class extends Ec{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,n,a){const s=n.queryKey,o=n.queryHash??$h(s,n);let c=this.get(o);return c||(c=new SA({client:e,queryKey:s,queryHash:o,options:e.defaultQueryOptions(n),state:a,defaultOptions:e.getQueryDefaults(s)}),this.add(c)),c}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const n=this.#e.get(e.queryHash);n&&(e.destroy(),n===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){wt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const n={exact:!0,...e};return this.getAll().find(a=>Ux(n,a))}findAll(e={}){const n=this.getAll();return Object.keys(e).length>0?n.filter(a=>Ux(e,a)):n}notify(e){wt.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){wt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){wt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},MA=class{#e;#t;#n;#a;#i;#r;#o;#s;constructor(e={}){this.#e=e.queryCache||new AA,this.#t=e.mutationCache||new TA,this.#n=e.defaultOptions||{},this.#a=new Map,this.#i=new Map,this.#r=0}mount(){this.#r++,this.#r===1&&(this.#o=p1.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=ac.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#r--,this.#r===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const n=this.defaultQueryOptions({queryKey:e});return this.#e.get(n.queryHash)?.state.data}ensureQueryData(e){const n=this.defaultQueryOptions(e),a=this.#e.build(this,n),s=a.state.data;return s===void 0?this.fetchQuery(e):(e.revalidateIfStale&&a.isStaleByTime(oh(n.staleTime,a))&&this.prefetchQuery(n),Promise.resolve(s))}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:n,state:a})=>{const s=a.data;return[n,s]})}setQueryData(e,n,a){const s=this.defaultQueryOptions({queryKey:e}),c=this.#e.get(s.queryHash)?.state.data,u=rA(n,c);if(u!==void 0)return this.#e.build(this,s).setData(u,{...a,manual:!0})}setQueriesData(e,n,a){return wt.batch(()=>this.#e.findAll(e).map(({queryKey:s})=>[s,this.setQueryData(s,n,a)]))}getQueryState(e){const n=this.defaultQueryOptions({queryKey:e});return this.#e.get(n.queryHash)?.state}removeQueries(e){const n=this.#e;wt.batch(()=>{n.findAll(e).forEach(a=>{n.remove(a)})})}resetQueries(e,n){const a=this.#e;return wt.batch(()=>(a.findAll(e).forEach(s=>{s.reset()}),this.refetchQueries({type:"active",...e},n)))}cancelQueries(e,n={}){const a={revert:!0,...n},s=wt.batch(()=>this.#e.findAll(e).map(o=>o.cancel(a)));return Promise.all(s).then(mn).catch(mn)}invalidateQueries(e,n={}){return wt.batch(()=>(this.#e.findAll(e).forEach(a=>{a.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},n)))}refetchQueries(e,n={}){const a={...n,cancelRefetch:n.cancelRefetch??!0},s=wt.batch(()=>this.#e.findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let c=o.fetch(void 0,a);return a.throwOnError||(c=c.catch(mn)),o.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(s).then(mn)}fetchQuery(e){const n=this.defaultQueryOptions(e);
9n.retry===void 0&&(n.retry=!1);const a=this.#e.build(this,n);return a.isStaleByTime(oh(n.staleTime,a))?a.fetch(n):Promise.resolve(a.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(mn).catch(mn)}fetchInfiniteQuery(e){return e.behavior=Gx(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(mn).catch(mn)}ensureInfiniteQueryData(e){return e.behavior=Gx(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return ac.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,n){this.#a.set(Br(e),{queryKey:e,defaultOptions:n})}getQueryDefaults(e){const n=[...this.#a.values()],a={};return n.forEach(s=>{Ir(e,s.queryKey)&&Object.assign(a,s.defaultOptions)}),a}setMutationDefaults(e,n){this.#i.set(Br(e),{mutationKey:e,defaultOptions:n})}getMutationDefaults(e){const n=[...this.#i.values()],a={};return n.forEach(s=>{Ir(e,s.mutationKey)&&Object.assign(a,s.defaultOptions)}),a}defaultQueryOptions(e){if(e._defaulted)return e;const n={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return n.queryHash||(n.queryHash=$h(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.queryFn===Xh&&(n.enabled=!1),n}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},RA=x.createContext(void 0),zA=({client:e,children:n})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),d.jsx(RA.Provider,{value:e,children:n}));async function DA(e){if(!e.ok){const n=await e.text()||e.statusText;throw new Error(`${e.status}: ${n}`)}}const OA=({on401:e})=>async({queryKey:n})=>{const a=await fetch(n.join("/"),{credentials:"include"});return await DA(a),await a.json()},kA=new MA({defaultOptions:{queries:{queryFn:OA({on401:"throw"}),refetchInterval:!1,refetchOnWindowFocus:!1,staleTime:1/0,retry:!1},mutations:{retry:!1}}}),PA=1,LA=1e6;let Sf=0;function _A(){return Sf=(Sf+1)%Number.MAX_SAFE_INTEGER,Sf.toString()}const Nf=new Map,Yx=e=>{if(Nf.has(e))return;const n=setTimeout(()=>{Nf.delete(e),Or({type:"REMOVE_TOAST",toastId:e})},LA);Nf.set(e,n)},VA=(e,n)=>{switch(n.type){case"ADD_TOAST":return{...e,toasts:[n.toast,...e.toasts].slice(0,PA)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.id===n.toast.id?{...a,...n.toast}:a)};case"DISMISS_TOAST":{const{toastId:a}=n;return a?Yx(a):e.toasts.forEach(s=>{Yx(s.id)}),{...e,toasts:e.toasts.map(s=>s.id===a||a===void 0?{...s,open:!1}:s)}}case"REMOVE_TOAST":return n.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==n.toastId)}}},Gl=[];let Kl={toasts:[]};function Or(e){Kl=VA(Kl,e),Gl.forEach(n=>{n(Kl)})}function UA({...e}){const n=_A(),a=o=>Or({type:"UPDATE_TOAST",toast:{...o,id:n}}),s=()=>Or({type:"DISMISS_TOAST",toastId:n});return Or({type:"ADD_TOAST",toast:{...e,id:n,open:!0,onOpenChange:o=>{o||s()}}}),{id:n,dismiss:s,update:a}}function BA(){const[e,n]=x.useState(Kl);return x.useEffect(()=>(Gl.push(n),()=>{const a=Gl.indexOf(n);a>-1&&Gl.splice(a,1)}),[e]),{...e,toast:UA,dismiss:a=>Or({type:"DISMISS_TOAST",toastId:a})}}var Tc=i1();const IA=X0(Tc);function he(e,n,{checkForDefaultPrevented:a=!0}={}){return function(o){if(e?.(o),a===!1||!o.defaultPrevented)return n?.(o)}}function $x(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n)}function Ii(...e){return n=>{let a=!1;const s=e.map(o=>{const c=$x(o,n);return!a&&typeof c=="function"&&(a=!0),c});if(a)return()=>{for(let o=0;o<s.length;o++){const c=s[o];typeof c=="function"?c():$x(e[o],null)}}}}function et(...e){return x.useCallback(Ii(...e),e)}function FA(e,n){const a=x.createContext(n),s=c=>{const{children:u,...h}=c,p=x.useMemo(()=>h,Object.values(h));return d.jsx(a.Provider,{value:p,children:u})};s.displayName=e+"Provider";function o(c){const u=x.useContext(a);if(u)return u;if(n!==void 0)return n;throw new Error(`\`${c}\` must be used within \`${e}\``)}return[s,o]}function Fi(e,n=[]){let a=[];function s(c,u){const h=x.createContext(u),p=a.length;a=[...a,u];const g=v=>{const{scope:w,children:S,...E}=v,C=w?.[e]?.[p]||h,j=x.useMemo(()=>E,Object.values(E));return d.jsx(C.Provider,{value:j,children:S})};g.displayName=c+"Provider";function y(v,w){const S=w?.[e]?.[p]||h,E=x.useContext(S);if(E)return E;if(u!==void 0)return u;throw new Error(`\`${v}\` must be used within \`${c}\``)}return[g,y]}const o=()=>{const c=a.map(u=>x.createContext(u));return function(h){const p=h?.[e]||c;return x.useMemo(()=>({[`__scope${e}`]:{...h,[e]:p}}),[h,p])}};return o.scopeName=e,[s,HA(o,...n)]}function HA(...e){const n=e[0];if(e.length===1)return n;const a=()=>{const s=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(c){const u=s.reduce((h,{useScope:p,scopeName:g})=>{const v=p(c)[`__scope${g}`];return{...h,...v}},{});return x.useMemo(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return a.scopeName=n.scopeName,a}function Xx(e){const n=qA(e),a=x.forwardRef((s,o)=>{const{children:c,...u}=s,h=x.Children.toArray(c),p=h.find(KA);if(p){const g=p.props.children,y=h.map(v=>v===p?x.Children.count(g)>1?x.Children.only(null):x.isValidElement(g)?g.props.children:null:v);return d.jsx(n,{...u,ref:o,children:x.isValidElement(g)?x.cloneElement(g,void 0,y):null})}return d.jsx(n,{...u,ref:o,children:c})});return a.displayName=`${e}.Slot`,a}function qA(e){const n=x.forwardRef((a,s)=>{const{children:o,...c}=a;if(x.isValidElement(o)){const u=$A(o),h=YA(c,o.props);return o.type!==x.Fragment&&(h.ref=s?Ii(s,u):u),x.cloneElement(o,h)}return x.Children.count(o)>1?x.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}var GA=Symbol("radix.slottable");function KA(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===GA}function YA(e,n){const a={...n};for(const s in n){const o=e[s],c=n[s];/^on[A-Z]/.test(s)?o&&c?a[s]=(...h)=>{const p=c(...h);return o(...h),p}:o&&(a[s]=o):s==="style"?a[s]={...o,...c}
vendor: 10,217 bytes, line 9
9:s==="className"&&(a[s]=[o,c].filter(Boolean).join(" "))}return{...e,...a}}function $A(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=n&&"isReactWarning"in n&&n.isReactWarning;return a?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=n&&"isReactWarning"in n&&n.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}function Qh(e){const n=e+"CollectionProvider",[a,s]=Fi(n),[o,c]=a(n,{collectionRef:{current:null},itemMap:new Map}),u=C=>{const{scope:j,children:T}=C,z=Di.useRef(null),R=Di.useRef(new Map).current;return d.jsx(o,{scope:j,itemMap:R,collectionRef:z,children:T})};u.displayName=n;const h=e+"CollectionSlot",p=Xx(h),g=Di.forwardRef((C,j)=>{const{scope:T,children:z}=C,R=c(h,T),k=et(j,R.collectionRef);return d.jsx(p,{ref:k,children:z})});g.displayName=h;const y=e+"CollectionItemSlot",v="data-radix-collection-item",w=Xx(y),S=Di.forwardRef((C,j)=>{const{scope:T,children:z,...R}=C,k=Di.useRef(null),L=et(j,k),K=c(y,T);return Di.useEffect(()=>(K.itemMap.set(k,{ref:k,...R}),()=>{K.itemMap.delete(k)})),d.jsx(w,{[v]:"",ref:L,children:z})});S.displayName=y;function E(C){const j=c(e+"CollectionConsumer",C);return Di.useCallback(()=>{const z=j.collectionRef.current;if(!z)return[];const R=Array.from(z.querySelectorAll(`[${v}]`));return Array.from(j.itemMap.values()).sort((K,I)=>R.indexOf(K.ref.current)-R.indexOf(I.ref.current))},[j.collectionRef,j.itemMap])}return[{Provider:u,Slot:g,ItemSlot:S},E,s]}function XA(e){const n=QA(e),a=x.forwardRef((s,o)=>{const{children:c,...u}=s,h=x.Children.toArray(c),p=h.find(ZA);if(p){const g=p.props.children,y=h.map(v=>v===p?x.Children.count(g)>1?x.Children.only(null):x.isValidElement(g)?g.props.children:null:v);return d.jsx(n,{...u,ref:o,children:x.isValidElement(g)?x.cloneElement(g,void 0,y):null})}return d.jsx(n,{...u,ref:o,children:c})});return a.displayName=`${e}.Slot`,a}function QA(e){const n=x.forwardRef((a,s)=>{const{children:o,...c}=a;if(x.isValidElement(o)){const u=eM(o),h=JA(c,o.props);return o.type!==x.Fragment&&(h.ref=s?Ii(s,u):u),x.cloneElement(o,h)}return x.Children.count(o)>1?x.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}var WA=Symbol("radix.slottable");function ZA(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===WA}function JA(e,n){const a={...n};for(const s in n){const o=e[s],c=n[s];/^on[A-Z]/.test(s)?o&&c?a[s]=(...h)=>{const p=c(...h);return o(...h),p}:o&&(a[s]=o):s==="style"?a[s]={...o,...c}:s==="className"&&(a[s]=[o,c].filter(Boolean).join(" "))}return{...e,...a}}function eM(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=n&&"isReactWarning"in n&&n.isReactWarning;return a?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=n&&"isReactWarning"in n&&n.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var tM=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Be=tM.reduce((e,n)=>{const a=XA(`Primitive.${n}`),s=x.forwardRef((o,c)=>{const{asChild:u,...h}=o,p=u?a:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsx(p,{...h,ref:c})});return s.displayName=`Primitive.${n}`,{...e,[n]:s}},{});function Wh(e,n){e&&Tc.flushSync(()=>e.dispatchEvent(n))}function Gt(e){const n=x.useRef(e);return x.useEffect(()=>{n.current=e}),x.useMemo(()=>(...a)=>n.current?.(...a),[])}function nM(e,n=globalThis?.document){const a=Gt(e);x.useEffect(()=>{const s=o=>{o.key==="Escape"&&a(o)};return n.addEventListener("keydown",s,{capture:!0}),()=>n.removeEventListener("keydown",s,{capture:!0})},[a,n])}var iM="DismissableLayer",uh="dismissableLayer.update",aM="dismissableLayer.pointerDownOutside",sM="dismissableLayer.focusOutside",Qx,x1=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),eo=x.forwardRef((e,n)=>{const{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:c,onInteractOutside:u,onDismiss:h,...p}=e,g=x.useContext(x1),[y,v]=x.useState(null),w=y?.ownerDocument??globalThis?.document,[,S]=x.useState({}),E=et(n,I=>v(I)),C=Array.from(g.layers),[j]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),T=C.indexOf(j),z=y?C.indexOf(y):-1,R=g.layersWithOutsidePointerEventsDisabled.size>0,k=z>=T,L=oM(I=>{const _=I.target,Q=[...g.branches].some(J=>J.contains(_));!k||Q||(o?.(I),u?.(I),I.defaultPrevented||h?.())},w),K=lM(I=>{const _=I.target;[...g.branches].some(J=>J.contains(_))||(c?.(I),u?.(I),I.defaultPrevented||h?.())},w);return nM(I=>{z===g.layers.size-1&&(s?.(I),!I.defaultPrevented&&h&&(I.preventDefault(),h()))},w),x.useEffect(()=>{if(y)return a&&(g.layersWithOutsidePointerEventsDisabled.size===0&&(Qx=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(y)),g.layers.add(y),Wx(),()=>{a&&g.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=Qx)}},[y,w,a,g]),x.useEffect(()=>()=>{y&&(g.layers.delete(y),g.layersWithOutsidePointerEventsDisabled.delete(y),Wx())},[y,g]),x.useEffect(()=>{const I=()=>S({});return document.addEventListener(uh,I),()=>document.removeEventListener(uh,I)},[]),d.jsx(Be.div,{...p,ref:E,style:{pointerEvents:R?k?"auto":"none":void 0,...e.style},onFocusCapture:he(e.onFocusCapture,K.onFocusCapture),onBlurCapture:he(e.onBlurCapture,K.onBlurCapture),onPointerDownCapture:he(e.onPointerDownCapture,L.onPointerDownCapture)})});eo.displayName=iM;var rM="DismissableLayerBranch",b1=x.forwardRef((e,n)=>{const a=x.useContext(x1),s=x.useRef(null),o=et(n,s);return x.useEffect(()=>{const c=s.current;if(c)return a.branches.add(c),()=>{a.branches.delete(c)}},[a.branches]),d.jsx(Be.div,{...e,ref:o})});b1.displayName=rM;function oM(e,n=globalThis?.document){const a=Gt(e),s=x.useRef(!1),o=x.useRef(()=>{});return x.useEffect(()=>{const c=h=>{if(h.target&&!s.current){let p=function(){w1(aM,a,g,{discrete:!0})};const g={originalEvent:h};h.pointerType==="touch"?(n.removeEventListener("click",o.current),o.current=p,n.addEventListener("click",o.current,{once:!0})):p()}else n.removeEventListener("click",o.current);s.current=!1},u=window.setTimeout(()=>{n.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(u),n.removeEventListener("pointerdown",c),n.removeEventListener("click",o.current)}},[n,a]),{onPointerDownCapture:()=>s.current=!0}}function lM(e,n=globalThis?.document){const a=Gt(e),s=x.useRef(!1);return x.useEffect(()=>{const o=c=>{c.target&&!s.current&&w1(sM,a,{originalEvent:c},{discrete:!1})};return n.addEventListener("focusin",o),()=>n.removeEventListener("focusin",o)},[n,a]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function Wx(){const e=new CustomEvent(uh);document.dispatchEvent(e)}function w1(e,n,a,{discrete:s}){const o=a.originalEvent.target,c=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});n&&o.addEventListener(e,n,{once:!0}),s?Wh(o,c):o.dispatchEvent(c)}var cM=eo,uM=b1,ei=globalThis?.document?x.useLayoutEffect:()=>{},dM="Portal",to=x.forwardRef((e,n)=>{const{container:a,...s}=e,[o,c]=x.useState(!1);ei(()=>c(!0),[]);const u=a||o&&globalThis?.document?.body;return u?IA.createPortal(d.jsx(Be.div,{...s,ref:n}),u):null});to.displayName=dM;function fM(e,n){return x.useReducer((a,s)=>n[a][s]??a,e)}var yn=e=>{const{present:n,children:a}=e,s=hM(n),o=typeof a=="function"?a({present:s.isPresent}):x.Children.only(a),c=et(s.ref,mM(o));return typeof a=="function"||s.isPresent?x.cloneElement(o,{ref:c}):null};yn.displayName="Presence";function hM(e){const[n,a]=x.useState(),s=x.useRef(null),o=x.useRef(e),c=x.useRef("none"),u=e?"mounted":"unmounted",[h,p]=fM(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const g=Dl(s.current);c.current=h==="mounted"?g:"none"},[h]),ei(()=>{const g=s.current,y=o.current;if(y!==e){const w=c.current,S=Dl(g);e?p("MOUNT"):S==="none"||g?.display==="none"?p("UNMOUNT"):p(y&&w!==S?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,p]),ei(()=>{if(n){let g;const y=n.ownerDocument.defaultView??window,v=S=>{const C=Dl(s.current).includes(CSS.escape(S.animationName));if(S.target===n&&C&&(p("ANIMATION_END"),!o.current)){const j=n.style.animationFillMode;n.style.animationFillMode="forwards",g=y.setTimeout(()=>{n.style.animationFillMode==="forwards"&&(n.style.animationFillMode=j)})}},w=S=>{S.target===n&&(c.current=Dl(s.current))};return n.addEventListener("animationstart",w),n.addEventListener("animationcancel",v),n.addEventListener("animationend",v),()=>{y.clearTimeout(g),n.removeEventListener("animationstart",w),n.removeEventListener("animationcancel",v),n.removeEventListener("animationend",v)}}else p("ANIMATION_END")},[n,p]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:x.useCallback(g=>{s.current=g?getComputedStyle(g):null,a(g)},[])}}function Dl(e){return e?.animationName||"none"}function mM(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=n&&"isReactWarning"in n&&n.isReactWarning;return a?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=n&&"isReactWarning"in n&&n.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var pM=Nc[" useInsertionEffect ".trim().toString()]||ei;function Ac({prop:e,defaultProp:n,onChange:a=()=>{},caller:s}){const[o,c,u]=gM({defaultProp:n,onChange:a}),h=e!==void 0,p=h?e:o;{const y=x.useRef(e!==void 0);x.useEffect(()=>{const v=y.current;v!==h&&console.warn(`${s} is changing from ${v?"controlled":"uncontrolled"} to ${h?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),y.current=h},[h,s])}const g=x.useCallback(y=>{if(h){const v=yM(y)?y(e):y;v!==e&&u.current?.(v)}else c(y)},[h,e,c,u]);return[p,g]}function gM({defaultProp:e,onChange:n}){const[a,s]=x.useState(e),o=x.useRef(a),c=x.useRef(n);return pM(()=>{c.current=n},[n]),x.useEffect(()=>{o.current!==a&&(c.current?.(a),o.current=a)},[a,o]),[a,s,c]}function yM(e){return typeof e=="function"}var vM=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}
9),xM="VisuallyHidden",Mc=x.forwardRef((e,n)=>d.jsx(Be.span,{...e,ref:n,style:{...vM,...e.style}}));Mc.displayName=xM;var bM=Mc,Zh="ToastProvider",[Jh,wM,SM]=Qh("Toast"),[S1]=Fi("Toast",[SM]),[NM,Rc]=S1(Zh),N1=e=>{const{__scopeToast:n,label:a="Notification",duration:s=5e3,swipeDirection:o="right",swipeThreshold:c=50,children:u}=e,[h,p]=x.useState(null),[g,y]=x.useState(0),v=x.useRef(!1),w=x.useRef(!1);return a.trim()||console.error(`Invalid prop \`label\` supplied to \`${Zh}\`. Expected non-empty \`string\`.`),d.jsx(Jh.Provider,{scope:n,children:d.jsx(NM,{scope:n,label:a,duration:s,swipeDirection:o,swipeThreshold:c,toastCount:g,viewport:h,onViewportChange:p,onToastAdd:x.useCallback(()=>y(S=>S+1),[]),onToastRemove:x.useCallback(()=>y(S=>S-1),[]),isFocusedToastEscapeKeyDownRef:v,isClosePausedRef:w,children:u})})};N1.displayName=Zh;var C1="ToastViewport",CM=["F8"],dh="toast.viewportPause",fh="toast.viewportResume",E1=x.forwardRef((e,n)=>{const{__scopeToast:a,hotkey:s=CM,label:o="Notifications ({hotkey})",...c}=e,u=Rc(C1,a),h=wM(a),p=x.useRef(null),g=x.useRef(null),y=x.useRef(null),v=x.useRef(null),w=et(n,v,u.onViewportChange),S=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),E=u.toastCount>0;x.useEffect(()=>{const j=T=>{s.length!==0&&s.every(R=>T[R]||T.code===R)&&v.current?.focus()};return document.addEventListener("keydown",j),()=>document.removeEventListener("keydown",j)},[s]),x.useEffect(()=>{const j=p.current,T=v.current;if(E&&j&&T){const z=()=>{if(!u.isClosePausedRef.current){const K=new CustomEvent(dh);T.dispatchEvent(K),u.isClosePausedRef.current=!0}},R=()=>{if(u.isClosePausedRef.current){const K=new CustomEvent(fh);T.dispatchEvent(K),u.isClosePausedRef.current=!1}},k=K=>{!j.contains(K.relatedTarget)&&R()},L=()=>{j.contains(document.activeElement)||R()};return j.addEventListener("focusin",z),j.addEventListener("focusout",k),j.addEventListener("pointermove",z),j.addEventListener("pointerleave",L),window.addEventListener("blur",z),window.addEventListener("focus",R),()=>{j.removeEventListener("focusin",z),j.removeEventListener("focusout",k),j.removeEventListener("pointermove",z),j.removeEventListener("pointerleave",L),window.removeEventListener("blur",z),window.removeEventListener("focus",R)}}},[E,u.isClosePausedRef]);const C=x.useCallback(({tabbingDirection:j})=>{const z=h().map(R=>{const k=R.ref.current,L=[k,..._M(k)];return j==="forwards"?L:L.reverse()});return(j==="forwards"?z.reverse():z).flat()},[h]);return x.useEffect(()=>{const j=v.current;if(j){const T=z=>{const R=z.altKey||z.ctrlKey||z.metaKey;if(z.key==="Tab"&&!R){const L=document.activeElement,K=z.shiftKey;if(z.target===j&&K){g.current?.focus();return}const Q=C({tabbingDirection:K?"backwards":"forwards"}),J=Q.findIndex(ne=>ne===L);Cf(Q.slice(J+1))?z.preventDefault():K?g.current?.focus():y.current?.focus()}};return j.addEventListener("keydown",T),()=>j.removeEventListener("keydown",T)}},[h,C]),d.jsxs(uM,{ref:p,role:"region","aria-label":o.replace("{hotkey}",S),tabIndex:-1,style:{pointerEvents:E?void 0:"none"},children:[E&&d.jsx(hh,{ref:g,onFocusFromOutsideViewport:()=>{const j=C({tabbingDirection:"forwards"});Cf(j)}}),d.jsx(Jh.Slot,{scope:a,children:d.jsx(Be.ol,{tabIndex:-1,...c,ref:w})}),E&&d.jsx(hh,{ref:y,onFocusFromOutsideViewport:()=>{const j=C({tabbingDirection:"backwards"});Cf(j)}})]})});E1.displayName=C1;var j1="ToastFocusProxy",hh=x.forwardRef((e,n)=>{const{__scopeToast:a,onFocusFromOutsideViewport:s,...o}=e,c=Rc(j1,a);return d.jsx(Mc,{tabIndex:0,...o,ref:n,style:{position:"fixed"},onFocus:u=>{const h=u.relatedTarget;!c.viewport?.contains(h)&&s()}})});hh.displayName=j1;var no="Toast",EM="toast.swipeStart",jM="toast.swipeMove",TM="toast.swipeCancel",AM="toast.swipeEnd",T1=x.forwardRef((e,n)=>{const{forceMount:a,open:s,defaultOpen:o,onOpenChange:c,...u}=e,[h,p]=Ac({prop:s,defaultProp:o??!0,onChange:c,caller:no});return d.jsx(yn,{present:a||h,children:d.jsx(zM,{open:h,...u,ref:n,onClose:()=>p(!1),onPause:Gt(e.onPause),onResume:Gt(e.onResume),onSwipeStart:he(e.onSwipeStart,g=>{g.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:he(e.onSwipeMove,g=>{const{x:y,y:v}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","move"),g.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${y}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${v}px`)}),onSwipeCancel:he(e.onSwipeCancel,g=>{g.currentTarget.setAttribute("data-swipe","cancel"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:he(e.onSwipeEnd,g=>{const{x:y,y:v}=g.detail.delta;g.currentTarget.setAttribute("data-swipe","end"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),g.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),g.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${y}px`),g.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${v}px`),p(!1)})})})});T1.displayName=no;var[MM,RM]=S1(no,{onClose(){}}
9),zM=x.forwardRef((e,n)=>{const{__scopeToast:a,type:s="foreground",duration:o,open:c,onClose:u,onEscapeKeyDown:h,onPause:p,onResume:g,onSwipeStart:y,onSwipeMove:v,onSwipeCancel:w,onSwipeEnd:S,...E}=e,C=Rc(no,a),[j,T]=x.useState(null),z=et(n,ee=>T(ee)),R=x.useRef(null),k=x.useRef(null),L=o||C.duration,K=x.useRef(0),I=x.useRef(L),_=x.useRef(0),{onToastAdd:Q,onToastRemove:J}=C,ne=Gt(()=>{j?.contains(document.activeElement)&&C.viewport?.focus(),u()}),ie=x.useCallback(ee=>{!ee||ee===1/0||(window.clearTimeout(_.current),K.current=new Date().getTime(),_.current=window.setTimeout(ne,ee))},[ne]);x.useEffect(()=>{const ee=C.viewport;if(ee){const me=()=>{ie(I.current),g?.()},O=()=>{const q=new Date().getTime()-K.current;I.current=I.current-q,window.clearTimeout(_.current),p?.()};return ee.addEventListener(dh,O),ee.addEventListener(fh,me),()=>{ee.removeEventListener(dh,O),ee.removeEventListener(fh,me)}}},[C.viewport,L,p,g,ie]),x.useEffect(()=>{c&&!C.isClosePausedRef.current&&ie(L)},[c,L,C.isClosePausedRef,ie]),x.useEffect(()=>(Q(),()=>J()),[Q,J]);const de=x.useMemo(()=>j?k1(j):null,[j]);return C.viewport?d.jsxs(d.Fragment,{children:[de&&d.jsx(DM,{__scopeToast:a,role:"status","aria-live":s==="foreground"?"assertive":"polite",children:de}),d.jsx(MM,{scope:a,onClose:ne,children:Tc.createPortal(d.jsx(Jh.ItemSlot,{scope:a,children:d.jsx(cM,{asChild:!0,onEscapeKeyDown:he(h,()=>{C.isFocusedToastEscapeKeyDownRef.current||ne(),C.isFocusedToastEscapeKeyDownRef.current=!1}),children:d.jsx(Be.li,{tabIndex:0,"data-state":c?"open":"closed","data-swipe-direction":C.swipeDirection,...E,ref:z,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:he(e.onKeyDown,ee=>{ee.key==="Escape"&&(h?.(ee.nativeEvent),ee.nativeEvent.defaultPrevented||(C.isFocusedToastEscapeKeyDownRef.current=!0,ne()))}),onPointerDown:he(e.onPointerDown,ee=>{ee.button===0&&(R.current={x:ee.clientX,y:ee.clientY})}),onPointerMove:he(e.onPointerMove,ee=>{if(!R.current)return;const me=ee.clientX-R.current.x,O=ee.clientY-R.current.y,q=!!k.current,V=["left","right"].includes(C.swipeDirection),W=["left","up"].includes(C.swipeDirection)?Math.min:Math.max,ue=V?W(0,me):0,M=V?0:W(0,O),G=ee.pointerType==="touch"?10:2,Z={x:ue,y:M},te={originalEvent:ee,delta:Z};q?(k.current=Z,Ol(jM,v,te,{discrete:!1})):Zx(Z,C.swipeDirection,G)?(k.current=Z,Ol(EM,y,te,{discrete:!1}),ee.target.setPointerCapture(ee.pointerId)):(Math.abs(me)>G||Math.abs(O)>G)&&(R.current=null)}),onPointerUp:he(e.onPointerUp,ee=>{const me=k.current,O=ee.target;if(O.hasPointerCapture(ee.pointerId)&&O.releasePointerCapture(ee.pointerId),k.current=null,R.current=null,me){const q=ee.currentTarget,V={originalEvent:ee,delta:me};Zx(me,C.swipeDirection,C.swipeThreshold)?Ol(AM,S,V,{discrete:!0}):Ol(TM,w,V,{discrete:!0}),q.addEventListener("click",W=>W.preventDefault(),{once:!0})}})})})}),C.viewport)})]}):null}),DM=e=>{const{__scopeToast:n,children:a,...s}=e,o=Rc(no,n),[c,u]=x.useState(!1),[h,p]=x.useState(!1);return PM(()=>u(!0)),x.useEffect(()=>{const g=window.setTimeout(()=>p(!0),1e3);return()=>window.clearTimeout(g)},[]),h?null:d.jsx(to,{asChild:!0,children:d.jsx(Mc,{...s,children:c&&d.jsxs(d.Fragment,{children:[o.label," ",a]})})})},OM="ToastTitle",A1=x.forwardRef((e,n)=>{const{__scopeToast:a,...s}=e;return d.jsx(Be.div,{...s,ref:n})});A1.displayName=OM;var kM="ToastDescription",M1=x.forwardRef((e,n)=>{const{__scopeToast:a,...s}=e;return d.jsx(Be.div,{...s,ref:n})});M1.displayName=kM;var R1="ToastAction",z1=x.forwardRef((e,n)=>{const{altText:a,...s}=e;return a.trim()?d.jsx(O1,{altText:a,asChild:!0,children:d.jsx(em,{...s,ref:n})}):(console.error(`Invalid prop \`altText\` supplied to \`${R1}\`. Expected non-empty \`string\`.`),null)});z1.displayName=R1;var D1="ToastClose",em=x.forwardRef((e,n)=>{const{__scopeToast:a,...s}=e,o=RM(D1,a);return d.jsx(O1,{asChild:!0,children:d.jsx(Be.button,{type:"button",...s,ref:n,onClick:he(e.onClick,o.onClose)})})});em.displayName=D1;var O1=x.forwardRef((e,n)=>{const{__scopeToast:a,altText:s,...o}=e;return d.jsx(Be.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":s||void 0,...o,ref:n})});function k1(e){const n=[];
9return Array.from(e.childNodes).forEach(s=>{if(s.nodeType===s.TEXT_NODE&&s.textContent&&n.push(s.textContent),LM(s)){const o=s.ariaHidden||s.hidden||s.style.display==="none",c=s.dataset.radixToastAnnounceExclude==="";if(!o)if(c){const u=s.dataset.radixToastAnnounceAlt;u&&n.push(u)}else n.push(...k1(s))}}),n}function Ol(e,n,a,{discrete:s}){const o=a.originalEvent.currentTarget,c=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:a});n&&o.addEventListener(e,n,{once:!0}),s?Wh(o,c):o.dispatchEvent(c)}var Zx=(e,n,a=0)=>{const s=Math.abs(e.x),o=Math.abs(e.y),c=s>o;return n==="left"||n==="right"?c&&s>a:!c&&o>a};function PM(e=()=>{}){const n=Gt(e);ei(()=>{let a=0,s=0;return a=window.requestAnimationFrame(()=>s=window.requestAnimationFrame(n)),()=>{window.cancelAnimationFrame(a),window.cancelAnimationFrame(s)}},[n])}function LM(e){return e.nodeType===e.ELEMENT_NODE}function _M(e){const n=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const o=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||o?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)n.push(a.currentNode);return n}function Cf(e){const n=document.activeElement;return e.some(a=>a===n?!0:(a.focus(),document.activeElement!==n))}var VM=N1,P1=E1,L1=T1,_1=A1,V1=M1,U1=z1,B1=em;function I1(e){var n,a,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(n=0;n<o;n++)e[n]&&(a=I1(e[n]))&&(s&&(s+=" "),s+=a)}else for(a in e)e[a]&&(s&&(s+=" "),s+=a);return s}function F1(){for(var e,n,a=0,s="",o=arguments.length;a<o;a++)(e=arguments[a])&&(n=I1(e))&&(s&&(s+=" "),s+=n);return s}const Jx=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,eb=F1,H1=(e,n)=>a=>{var s;if(n?.variants==null)return eb(e,a?.class,a?.className);const{variants:o,defaultVariants:c}=n,u=Object.keys(o).map(g=>{const y=a?.[g],v=c?.[g];if(y===null)return null;const w=Jx(y)||Jx(v);return o[g][w]}),h=a&&Object.entries(a).reduce((g,y)=>{let[v,w]=y;return w===void 0||(g[v]=w),g},{}),p=n==null||(s=n.compoundVariants)===null||s===void 0?void 0:s.reduce((g,y)=>{let{class:v,className:w,...S}=y;return Object.entries(S).every(E=>{let[C,j]=E;return Array.isArray(j)?j.includes({...c,...h}[C]):{...c,...h}[C]===j})?[...g,v,w]:g},[]);return eb(e,u,p,a?.class,a?.className)};const UM=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),BM=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(n,a,s)=>s?s.toUpperCase():a.toLowerCase()),tb=e=>{const n=BM(e);return n.charAt(0).toUpperCase()+n.slice(1)},q1=(...e)=>e.filter((n,a,s)=>!!n&&n.trim()!==""&&s.indexOf(n)===a).join(" ").trim(),IM=e=>{for(const n in e)if(n.startsWith("aria-")||n==="role"||n==="title")return!0};var FM={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const HM=x.forwardRef(({color:e="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:o="",children:c,iconNode:u,...h},p)=>x.createElement("svg",{ref:p,...FM,width:n,height:n,stroke:e,strokeWidth:s?Number(a)*24/Number(n):a,className:q1("lucide",o),...!c&&!IM(h)&&{"aria-hidden":"true"},...h},[...u.map(([g,y])=>x.createElement(g,y)),...Array.isArray(c)?c:[c]]));const be=(e,n)=>{const a=x.forwardRef(({className:s,...o},c)=>x.createElement(HM,{ref:c,iconNode:n,className:q1(`lucide-${UM(tb(e))}`,`lucide-${e}`,s),...o}));return a.displayName=tb(e),a};const qM=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Hi=be("arrow-left",qM);const GM=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],ti=be("arrow-right",GM);const KM=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],YM=be("award",KM);const $M=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],XM=be("badge-check",$M);const QM=[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]],WM=be("briefcase",QM);const ZM=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],JM=be("check",ZM);const eR=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],mh=be("chevron-down",eR);const tR=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],nR=be("chevron-left",tR);const iR=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],tm=be("chevron-right",iR);const aR=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],nm=be("circle-alert",aR);const sR=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Pi=be("circle-check-big",sR);const rR=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],oR=be("circle",rR);
9const lR=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]],cR=be("clipboard-check",lR);const uR=[["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["circle",{cx:"12",cy:"12",r:"8",key:"46899m"}]],Fr=be("cog",uR);const dR=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],fR=be("compass",dR);const hR=[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]],G1=be("cookie",hR);const mR=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],K1=be("external-link",mR);const pR=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],gR=be("file-check",pR);const yR=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],vR=be("file-text",yR);const xR=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],bR=be("heart",xR);const wR=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],SR=be("house",wR);const NR=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],CR=be("info",NR);const ER=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],Yl=be("instagram",ER);const jR=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],TR=be("lightbulb",jR);const AR=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],ph=be("linkedin",AR);const MR=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Y1=be("loader-circle",MR);const RR=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],$1=be("mail",RR);const zR=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],X1=be("map-pin",zR);const DR=[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]],OR=be("map",DR);const kR=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],PR=be("menu",kR);const LR=[["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2",key:"39pd36"}
9],["rect",{width:"8",height:"4",x:"10",y:"6",rx:"1",key:"aywv1n"}]],_R=be("newspaper",LR);const VR=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],UR=be("package",VR);const BR=[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]],IR=be("pen-tool",BR);const FR=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],HR=be("phone",FR);const qR=[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]],GR=be("scale",qR);const KR=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],YR=be("settings",KR);const $R=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],Q1=be("shield",$R);const XR=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
vendor: 5,199 bytes, line 9
9],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],W1=be("sparkles",XR);const QR=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],WR=be("target",QR);const ZR=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Z1=be("users",ZR);const JR=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],xs=be("wrench",JR);const ez=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],zc=be("x",ez);const tz=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Hr=be("zap",tz),nz=(e,n)=>{const a=new Array(e.length+n.length);for(let s=0;s<e.length;s++)a[s]=e[s];for(let s=0;s<n.length;s++)a[e.length+s]=n[s];return a},iz=(e,n)=>({classGroupId:e,validator:n}),J1=(e=new Map,n=null,a)=>({nextPart:e,validators:n,classGroupId:a}),sc="-",nb=[],az="arbitrary..",sz=e=>{const n=oz(e),{conflictingClassGroups:a,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:u=>{if(u.startsWith("[")&&u.endsWith("]"))return rz(u);const h=u.split(sc),p=h[0]===""&&h.length>1?1:0;return ew(h,p,n)},getConflictingClassGroupIds:(u,h)=>{if(h){const p=s[u],g=a[u];return p?g?nz(g,p):p:g||nb}return a[u]||nb}}},ew=(e,n,a)=>{if(e.length-n===0)return a.classGroupId;const o=e[n],c=a.nextPart.get(o);if(c){const g=ew(e,n+1,c);if(g)return g}const u=a.validators;if(u===null)return;const h=n===0?e.join(sc):e.slice(n).join(sc),p=u.length;for(let g=0;g<p;g++){const y=u[g];if(y.validator(h))return y.classGroupId}},rz=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const n=e.slice(1,-1),a=n.indexOf(":"),s=n.slice(0,a);return s?az+s:void 0})(),oz=e=>{const{theme:n,classGroups:a}=e;return lz(a,n)},lz=(e,n)=>{const a=J1();for(const s in e){const o=e[s];im(o,a,s,n)}return a},im=(e,n,a,s)=>{const o=e.length;for(let c=0;c<o;c++){const u=e[c];cz(u,n,a,s)}},cz=(e,n,a,s)=>{if(typeof e=="string"){uz(e,n,a);return}if(typeof e=="function"){dz(e,n,a,s);return}fz(e,n,a,s)},uz=(e,n,a)=>{const s=e===""?n:tw(n,e);s.classGroupId=a},dz=(e,n,a,s)=>{if(hz(e)){im(e(s),n,a,s);return}n.validators===null&&(n.validators=[]),n.validators.push(iz(a,e))},fz=(e,n,a,s)=>{const o=Object.entries(e),c=o.length;for(let u=0;u<c;u++){const[h,p]=o[u];im(p,tw(n,h),a,s)}},tw=(e,n)=>{let a=e;const s=n.split(sc),o=s.length;for(let c=0;c<o;c++){const u=s[c];let h=a.nextPart.get(u);h||(h=J1(),a.nextPart.set(u,h)),a=h}return a},hz=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,mz=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,a=Object.create(null),s=Object.create(null);const o=(c,u)=>{a[c]=u,n++,n>e&&(n=0,s=a,a=Object.create(null))};return{get(c){let u=a[c];if(u!==void 0)return u;if((u=s[c])!==void 0)return o(c,u),u},set(c,u){c in a?a[c]=u:o(c,u)}}},gh="!",ib=":",pz=[],ab=(e,n,a,s,o)=>({modifiers:e,hasImportantModifier:n,baseClassName:a,maybePostfixModifierPosition:s,isExternal:o}),gz=e=>{const{prefix:n,experimentalParseClassName:a}=e;let s=o=>{const c=[];let u=0,h=0,p=0,g;const y=o.length;for(let C=0;C<y;C++){const j=o[C];if(u===0&&h===0){if(j===ib){c.push(o.slice(p,C)),p=C+1;continue}if(j==="/"){g=C;continue}}j==="["?u++:j==="]"?u--:j==="("?h++:j===")"&&h--}const v=c.length===0?o:o.slice(p);let w=v,S=!1;v.endsWith(gh)?(w=v.slice(0,-1),S=!0):v.startsWith(gh)&&(w=v.slice(1),S=!0);const E=g&&g>p?g-p:void 0;return ab(c,S,w,E)};if(n){const o=n+ib,c=s;s=u=>u.startsWith(o)?c(u.slice(o.length)):ab(pz,!1,u,void 0,!0)}if(a){const o=s;s=c=>a({className:c,parseClassName:o})}return s},yz=e=>{const n=new Map;return e.orderSensitiveModifiers.forEach((a,s)=>{n.set(a,1e6+s)}),a=>{const s=[];let o=[];for(let c=0;c<a.length;c++){const u=a[c],h=u[0]==="[",p=n.has(u);h||p?(o.length>0&&(o.sort(),s.push(...o),o=[]),s.push(u)):o.push(u)}return o.length>0&&(o.sort(),s.push(...o)),s}},vz=e=>({cache:mz(e.cacheSize),parseClassName:gz(e),sortModifiers:yz(e),...sz(e)}),xz=/\s+/,bz=(e,n)=>{const{parseClassName:a,getClassGroupId:s,getConflictingClassGroupIds:o,sortModifiers:c}=n,u=[],h=e.trim().split(xz);let p="";for(let g=h.length-1;g>=0;g-=1){const y=h[g],{isExternal:v,modifiers:w,hasImportantModifier:S,baseClassName:E,maybePostfixModifierPosition:C}=a(y);if(v){p=y+(p.length>0?" "+p:p);continue}let j=!!C,T=s(j?E.substring(0,C):E);if(!T){if(!j){p=y+(p.length>0?" "+p:p);continue}if(T=s(E),!T){p=y+(p.length>0?" "+p:p);continue}j=!1}const z=w.length===0?"":w.length===1?w[0]:c(w).join(":"),R=S?z+gh:z,k=R+T;if(u.indexOf(k)>-1)continue;u.push(k);const L=o(T,j);for(let K=0;K<L.length;++K){const I=L[K];u.push(R+I)}p=y+(p.length>0?" "+p:p)}return p},wz=(...e)=>{let n=0,a,s,o="";for(;n<e.length;)(a=e[n++])&&(s=nw(a))&&(o&&(o+=" "),o+=s);return o},nw=e=>{if(typeof e=="string")return e;let n,a="";for(let s=0;s<e.length;
vendor: 5,260 bytes, line 9
9s++)e[s]&&(n=nw(e[s]))&&(a&&(a+=" "),a+=n);return a},Sz=(e,...n)=>{let a,s,o,c;const u=p=>{const g=n.reduce((y,v)=>v(y),e());return a=vz(g),s=a.cache.get,o=a.cache.set,c=h,h(p)},h=p=>{const g=s(p);if(g)return g;const y=bz(p,a);return o(p,y),y};return c=u,(...p)=>c(wz(...p))},Nz=[],ot=e=>{const n=a=>a[e]||Nz;return n.isThemeGetter=!0,n},iw=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,aw=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Cz=/^\d+\/\d+$/,Ez=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,jz=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Tz=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Az=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mz=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,os=e=>Cz.test(e),Ce=e=>!!e&&!Number.isNaN(Number(e)),zi=e=>!!e&&Number.isInteger(Number(e)),Ef=e=>e.endsWith("%")&&Ce(e.slice(0,-1)),Zn=e=>Ez.test(e),Rz=()=>!0,zz=e=>jz.test(e)&&!Tz.test(e),sw=()=>!1,Dz=e=>Az.test(e),Oz=e=>Mz.test(e),kz=e=>!oe(e)&&!le(e),Pz=e=>Cs(e,lw,sw),oe=e=>iw.test(e),da=e=>Cs(e,cw,zz),jf=e=>Cs(e,Bz,Ce),sb=e=>Cs(e,rw,sw),Lz=e=>Cs(e,ow,Oz),kl=e=>Cs(e,uw,Dz),le=e=>aw.test(e),jr=e=>Es(e,cw),_z=e=>Es(e,Iz),rb=e=>Es(e,rw),Vz=e=>Es(e,lw),Uz=e=>Es(e,ow),Pl=e=>Es(e,uw,!0),Cs=(e,n,a)=>{const s=iw.exec(e);return s?s[1]?n(s[1]):a(s[2]):!1},Es=(e,n,a=!1)=>{const s=aw.exec(e);return s?s[1]?n(s[1]):a:!1},rw=e=>e==="position"||e==="percentage",ow=e=>e==="image"||e==="url",lw=e=>e==="length"||e==="size"||e==="bg-size",cw=e=>e==="length",Bz=e=>e==="number",Iz=e=>e==="family-name",uw=e=>e==="shadow",Fz=()=>{const e=ot("color"),n=ot("font"),a=ot("text"),s=ot("font-weight"),o=ot("tracking"),c=ot("leading"),u=ot("breakpoint"),h=ot("container"),p=ot("spacing"),g=ot("radius"),y=ot("shadow"),v=ot("inset-shadow"),w=ot("text-shadow"),S=ot("drop-shadow"),E=ot("blur"),C=ot("perspective"),j=ot("aspect"),T=ot("ease"),z=ot("animate"),R=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],L=()=>[...k(),le,oe],K=()=>["auto","hidden","clip","visible","scroll"],I=()=>["auto","contain","none"],_=()=>[le,oe,p],Q=()=>[os,"full","auto",..._()],J=()=>[zi,"none","subgrid",le,oe],ne=()=>["auto",{span:["full",zi,le,oe]},zi,le,oe],ie=()=>[zi,"auto",le,oe],de=()=>["auto","min","max","fr",le,oe],ee=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],me=()=>["start","end","center","stretch","center-safe","end-safe"],O=()=>["auto",..._()],q=()=>[os,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",..._()],V=()=>[e,le,oe],W=()=>[...k(),rb,sb,{position:[le,oe]}],ue=()=>["no-repeat",{repeat:["","x","y","space","round"]}],M=()=>["auto","cover","contain",Vz,Pz,{size:[le,oe]}],G=()=>[Ef,jr,da],Z=()=>["","none","full",g,le,oe],te=()=>["",Ce,jr,da],pe=()=>["solid","dashed","dotted","double"],ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ae=()=>[Ce,Ef,rb,sb],Ke=()=>["","none",E,le,oe],Le=()=>["none",Ce,le,oe],Kt=()=>["none",Ce,le,oe],xn=()=>[Ce,le,oe],bn=()=>[os,"full",..._()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Zn],breakpoint:[Zn],color:[Rz],container:[Zn],"drop-shadow":[Zn],ease:["in","out","in-out"],font:[kz],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Zn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Zn],shadow:[Zn],spacing:["px",Ce],text:[Zn],"text-shadow":[Zn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",os,oe,le,j]}],container:["container"],columns:[{columns:[Ce,oe,le,h]}],"break-after":[{"break-after":R()}],"break-before":[{"break-before":R()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:L()}],overflow:[{overflow:K()}],"overflow-x":[{"overflow-x":K()}],"overflow-y":[{"overflow-y":K()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Q()}],"inset-x":[{"inset-x":Q()}],"inset-y":[{"inset-y":Q()}],start:[{start:Q()}],end:[{end:Q()}],top:[{top:Q()}
vendor: 11,615 bytes, line 9
9],right:[{right:Q()}],bottom:[{bottom:Q()}],left:[{left:Q()}],visibility:["visible","invisible","collapse"],z:[{z:[zi,"auto",le,oe]}],basis:[{basis:[os,"full","auto",h,..._()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Ce,os,"auto","initial","none",oe]}],grow:[{grow:["",Ce,le,oe]}],shrink:[{shrink:["",Ce,le,oe]}],order:[{order:[zi,"first","last","none",le,oe]}],"grid-cols":[{"grid-cols":J()}],"col-start-end":[{col:ne()}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":J()}],"row-start-end":[{row:ne()}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":de()}],"auto-rows":[{"auto-rows":de()}],gap:[{gap:_()}],"gap-x":[{"gap-x":_()}],"gap-y":[{"gap-y":_()}],"justify-content":[{justify:[...ee(),"normal"]}],"justify-items":[{"justify-items":[...me(),"normal"]}],"justify-self":[{"justify-self":["auto",...me()]}],"align-content":[{content:["normal",...ee()]}],"align-items":[{items:[...me(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...me(),{baseline:["","last"]}]}],"place-content":[{"place-content":ee()}],"place-items":[{"place-items":[...me(),"baseline"]}],"place-self":[{"place-self":["auto",...me()]}],p:[{p:_()}],px:[{px:_()}],py:[{py:_()}],ps:[{ps:_()}],pe:[{pe:_()}],pt:[{pt:_()}],pr:[{pr:_()}],pb:[{pb:_()}],pl:[{pl:_()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":_()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":_()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],w:[{w:[h,"screen",...q()]}],"min-w":[{"min-w":[h,"screen","none",...q()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[u]},...q()]}],h:[{h:["screen","lh",...q()]}],"min-h":[{"min-h":["screen","lh","none",...q()]}],"max-h":[{"max-h":["screen","lh",...q()]}],"font-size":[{text:["base",a,jr,da]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,le,jf]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ef,oe]}],"font-family":[{font:[_z,oe,n]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,le,oe]}],"line-clamp":[{"line-clamp":[Ce,"none",le,jf]}],leading:[{leading:[c,..._()]}],"list-image":[{"list-image":["none",le,oe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",le,oe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:V()}],"text-color":[{text:V()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pe(),"wavy"]}],"text-decoration-thickness":[{decoration:[Ce,"from-font","auto",le,da]}],"text-decoration-color":[{decoration:V()}],"underline-offset":[{"underline-offset":[Ce,"auto",le,oe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",le,oe]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",le,oe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:W()}],"bg-repeat":[{bg:ue()}],"bg-size":[{bg:M()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},zi,le,oe],radial:["",le,oe],conic:[zi,le,oe]},Uz,Lz]}],"bg-color":[{bg:V()}],"gradient-from-pos":[{from:G()}],"gradient-via-pos":[{via:G()}],"gradient-to-pos":[{to:G()}],"gradient-from":[{from:V()}],"gradient-via":[{via:V()}],"gradient-to":[{to:V()}],rounded:[{rounded:Z()}],"rounded-s":[{"rounded-s":Z()}],"rounded-e":[{"rounded-e":Z()}],"rounded-t":[{"rounded-t":Z()}],"rounded-r":[{"rounded-r":Z()}],"rounded-b":[{"rounded-b":Z()}],"rounded-l":[{"rounded-l":Z()}],"rounded-ss":[{"rounded-ss":Z()}],"rounded-se":[{"rounded-se":Z()}],"rounded-ee":[{"rounded-ee":Z()}],"rounded-es":[{"rounded-es":Z()}],"rounded-tl":[{"rounded-tl":Z()}],"rounded-tr":[{"rounded-tr":Z()}],"rounded-br":[{"rounded-br":Z()}],"rounded-bl":[{"rounded-bl":Z()}],"border-w":[{border:te()}],"border-w-x":[{"border-x":te()}],"border-w-y":[{"border-y":te()}],"border-w-s":[{"border-s":te()}],"border-w-e":[{"border-e":te()}],"border-w-t":[{"border-t":te()}],"border-w-r":[{"border-r":te()}],"border-w-b":[{"border-b":te()}],"border-w-l":[{"border-l":te()}],"divide-x":[{"divide-x":te()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":te()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...pe(),"hidden","none"]}],"divide-style":[{divide:[...pe(),"hidden","none"]}],"border-color":[{border:V()}],"border-color-x":[{"border-x":V()}],"border-color-y":[{"border-y":V()}],"border-color-s":[{"border-s":V()}],"border-color-e":[{"border-e":V()}],"border-color-t":[{"border-t":V()}],"border-color-r":[{"border-r":V()}],"border-color-b":[{"border-b":V()}],"border-color-l":[{"border-l":V()}],"divide-color":[{divide:V()}],"outline-style":[{outline:[...pe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Ce,le,oe]}],"outline-w":[{outline:["",Ce,jr,da]}],"outline-color":[{outline:V()}],shadow:[{shadow:["","none",y,Pl,kl]}],"shadow-color":[{shadow:V()}],"inset-shadow":[{"inset-shadow":["none",v,Pl,kl]}],"inset-shadow-color":[{"inset-shadow":V()}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:V()}],"ring-offset-w":[{"ring-offset":[Ce,da]}],"ring-offset-color":[{"ring-offset":V()}],"inset-ring-w":[{"inset-ring":te()}],"inset-ring-color":[{"inset-ring":V()}],"text-shadow":[{"text-shadow":["none",w,Pl,kl]}],"text-shadow-color":[{"text-shadow":V()}],opacity:[{opacity:[Ce,le,oe]}],"mix-blend":[{"mix-blend":[...ye(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ye()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Ce]}],"mask-image-linear-from-pos":[{"mask-linear-from":ae()}],"mask-image-linear-to-pos":[{"mask-linear-to":ae()}],"mask-image-linear-from-color":[{"mask-linear-from":V()}],"mask-image-linear-to-color":[{"mask-linear-to":V()}],"mask-image-t-from-pos":[{"mask-t-from":ae()}],"mask-image-t-to-pos":[{"mask-t-to":ae()}],"mask-image-t-from-color":[{"mask-t-from":V()}],"mask-image-t-to-color":[{"mask-t-to":V()}],"mask-image-r-from-pos":[{"mask-r-from":ae()}],"mask-image-r-to-pos":[{"mask-r-to":ae()}],"mask-image-r-from-color":[{"mask-r-from":V()}],"mask-image-r-to-color":[{"mask-r-to":V()}],"mask-image-b-from-pos":[{"mask-b-from":ae()}],"mask-image-b-to-pos":[{"mask-b-to":ae()}],"mask-image-b-from-color":[{"mask-b-from":V()}],"mask-image-b-to-color":[{"mask-b-to":V()}],"mask-image-l-from-pos":[{"mask-l-from":ae()}],"mask-image-l-to-pos":[{"mask-l-to":ae()}],"mask-image-l-from-color":[{"mask-l-from":V()}],"mask-image-l-to-color":[{"mask-l-to":V()}],"mask-image-x-from-pos":[{"mask-x-from":ae()}],"mask-image-x-to-pos":[{"mask-x-to":ae()}],"mask-image-x-from-color":[{"mask-x-from":V()}],"mask-image-x-to-color":[{"mask-x-to":V()}],"mask-image-y-from-pos":[{"mask-y-from":ae()}],"mask-image-y-to-pos":[{"mask-y-to":ae()}],"mask-image-y-from-color":[{"mask-y-from":V()}],"mask-image-y-to-color":[{"mask-y-to":V()}],"mask-image-radial":[{"mask-radial":[le,oe]}],"mask-image-radial-from-pos":[{"mask-radial-from":ae()}],"mask-image-radial-to-pos":[{"mask-radial-to":ae()}],"mask-image-radial-from-color":[{"mask-radial-from":V()}],"mask-image-radial-to-color":[{"mask-radial-to":V()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k()}],"mask-image-conic-pos":[{"mask-conic":[Ce]}],"mask-image-conic-from-pos":[{"mask-conic-from":ae()}],"mask-image-conic-to-pos":[{"mask-conic-to":ae()}],"mask-image-conic-from-color":[{"mask-conic-from":V()}],"mask-image-conic-to-color":[{"mask-conic-to":V()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:W()}],"mask-repeat":[{mask:ue()}],"mask-size":[{mask:M()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",le,oe]}],filter:[{filter:["","none",le,oe]}],blur:[{blur:Ke()}],brightness:[{brightness:[Ce,le,oe]}],contrast:[{contrast:[Ce,le,oe]}],"drop-shadow":[{"drop-shadow":["","none",S,Pl,kl]}],"drop-shadow-color":[{"drop-shadow":V()}],grayscale:[{grayscale:["",Ce,le,oe]}],"hue-rotate":[{"hue-rotate":[Ce,le,oe]}],invert:[{invert:["",Ce,le,oe]}],saturate:[{saturate:[Ce,le,oe]}],sepia:[{sepia:["",Ce,le,oe]}],"backdrop-filter":[{"backdrop-filter":["","none",le,oe]}],"backdrop-blur":[{"backdrop-blur":Ke()}],"backdrop-brightness":[{"backdrop-brightness":[Ce,le,oe]}],"backdrop-contrast":[{"backdrop-contrast":[Ce,le,oe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Ce,le,oe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Ce,le,oe]}],"backdrop-invert":[{"backdrop-invert":["",Ce,le,oe]}],"backdrop-opacity":[{"backdrop-opacity":[Ce,le,oe]}],"backdrop-saturate":[{"backdrop-saturate":[Ce,le,oe]}],"backdrop-sepia":[{"backdrop-sepia":["",Ce,le,oe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":_()}],"border-spacing-x":[{"border-spacing-x":_()}],"border-spacing-y":[{"border-spacing-y":_()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",le,oe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Ce,"initial",le,oe]}],ease:[{ease:["linear","initial",T,le,oe]}],delay:[{delay:[Ce,le,oe]}],animate:[{animate:["none",z,le,oe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[C,le,oe]}],"perspective-origin":[{"perspective-origin":L()}],rotate:[{rotate:Le()}],"rotate-x":[{"rotate-x":Le()}],"rotate-y":[{"rotate-y":Le()}],"rotate-z":[{"rotate-z":Le()}],scale:[{scale:Kt()}],"scale-x":[{"scale-x":Kt()}],"scale-y":[{"scale-y":Kt()}],"scale-z":[{"scale-z":Kt()}],"scale-3d":["scale-3d"],skew:[{skew:xn()}],"skew-x":[{"skew-x":xn()}],"skew-y":[{"skew-y":xn()}],transform:[{transform:[le,oe,"","none","gpu","cpu"]}],"transform-origin":[{origin:L()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:bn()}],"translate-x":[{"translate-x":bn()}],"translate-y":[{"translate-y":bn()}],"translate-z":[{"translate-z":bn()}],"translate-none":["translate-none"],accent:[{accent:V()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:V()}
9],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",le,oe]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",le,oe]}],fill:[{fill:["none",...V()]}],"stroke-w":[{stroke:[Ce,jr,da,jf]}],stroke:[{stroke:["none",...V()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Hz=Sz(Fz);function Fe(...e){return Hz(F1(e))}const qz=VM,dw=x.forwardRef(({className:e,...n},a)=>d.jsx(P1,{ref:a,className:Fe("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...n}));dw.displayName=P1.displayName;const Gz=H1("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),fw=x.forwardRef(({className:e,variant:n,...a},s)=>d.jsx(L1,{ref:s,className:Fe(Gz({variant:n}),e),...a}));fw.displayName=L1.displayName;const Kz=x.forwardRef(({className:e,...n},a)=>d.jsx(U1,{ref:a,className:Fe("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...n}));Kz.displayName=U1.displayName;const hw=x.forwardRef(({className:e,...n},a)=>d.jsx(B1,{ref:a,className:Fe("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 19,424 bytes, line 9
9/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...n,children:d.jsx(zc,{className:"h-4 w-4"})}));hw.displayName=B1.displayName;const mw=x.forwardRef(({className:e,...n},a)=>d.jsx(_1,{ref:a,className:Fe("text-sm font-semibold",e),...n}));mw.displayName=_1.displayName;const pw=x.forwardRef(({className:e,...n},a)=>d.jsx(V1,{ref:a,className:Fe("text-sm opacity-90",e),...n}));pw.displayName=V1.displayName;function Yz(){const{toasts:e}=BA();return d.jsxs(qz,{children:[e.map(function({id:n,title:a,description:s,action:o,...c}){return d.jsxs(fw,{...c,children:[d.jsxs("div",{className:"grid gap-1",children:[a&&d.jsx(mw,{children:a}),s&&d.jsx(pw,{children:s})]}),o,d.jsx(hw,{})]},n)}),d.jsx(dw,{})]})}var $z=Nc[" useId ".trim().toString()]||(()=>{}),Xz=0;function ps(e){const[n,a]=x.useState($z());return ei(()=>{a(s=>s??String(Xz++))},[e]),n?`radix-${n}`:""}const Qz=["top","right","bottom","left"],_i=Math.min,Ht=Math.max,rc=Math.round,Ll=Math.floor,An=e=>({x:e,y:e}),Wz={left:"right",right:"left",bottom:"top",top:"bottom"},Zz={start:"end",end:"start"};function yh(e,n,a){return Ht(e,_i(n,a))}function ni(e,n){return typeof e=="function"?e(n):e}function ii(e){return e.split("-")[0]}function js(e){return e.split("-")[1]}function am(e){return e==="x"?"y":"x"}function sm(e){return e==="y"?"height":"width"}const Jz=new Set(["top","bottom"]);function Tn(e){return Jz.has(ii(e))?"y":"x"}function rm(e){return am(Tn(e))}function eD(e,n,a){a===void 0&&(a=!1);const s=js(e),o=rm(e),c=sm(o);let u=o==="x"?s===(a?"end":"start")?"right":"left":s==="start"?"bottom":"top";return n.reference[c]>n.floating[c]&&(u=oc(u)),[u,oc(u)]}function tD(e){const n=oc(e);return[vh(e),n,vh(n)]}function vh(e){return e.replace(/start|end/g,n=>Zz[n])}const ob=["left","right"],lb=["right","left"],nD=["top","bottom"],iD=["bottom","top"];function aD(e,n,a){switch(e){case"top":case"bottom":return a?n?lb:ob:n?ob:lb;case"left":case"right":return n?nD:iD;default:return[]}}function sD(e,n,a,s){const o=js(e);let c=aD(ii(e),a==="start",s);return o&&(c=c.map(u=>u+"-"+o),n&&(c=c.concat(c.map(vh)))),c}function oc(e){return e.replace(/left|right|bottom|top/g,n=>Wz[n])}function rD(e){return{top:0,right:0,bottom:0,left:0,...e}}function gw(e){return typeof e!="number"?rD(e):{top:e,right:e,bottom:e,left:e}}function lc(e){const{x:n,y:a,width:s,height:o}=e;return{width:s,height:o,top:a,left:n,right:n+s,bottom:a+o,x:n,y:a}}function cb(e,n,a){let{reference:s,floating:o}=e;const c=Tn(n),u=rm(n),h=sm(u),p=ii(n),g=c==="y",y=s.x+s.width/2-o.width/2,v=s.y+s.height/2-o.height/2,w=s[h]/2-o[h]/2;let S;switch(p){case"top":S={x:y,y:s.y-o.height};break;case"bottom":S={x:y,y:s.y+s.height};break;case"right":S={x:s.x+s.width,y:v};break;case"left":S={x:s.x-o.width,y:v};break;default:S={x:s.x,y:s.y}}switch(js(n)){case"start":S[u]-=w*(a&&g?-1:1);break;case"end":S[u]+=w*(a&&g?-1:1);break}return S}const oD=async(e,n,a)=>{const{placement:s="bottom",strategy:o="absolute",middleware:c=[],platform:u}=a,h=c.filter(Boolean),p=await(u.isRTL==null?void 0:u.isRTL(n));let g=await u.getElementRects({reference:e,floating:n,strategy:o}),{x:y,y:v}=cb(g,s,p),w=s,S={},E=0;for(let C=0;C<h.length;C++){const{name:j,fn:T}=h[C],{x:z,y:R,data:k,reset:L}=await T({x:y,y:v,initialPlacement:s,placement:w,strategy:o,middlewareData:S,rects:g,platform:u,elements:{reference:e,floating:n}});y=z??y,v=R??v,S={...S,[j]:{...S[j],...k}},L&&E<=50&&(E++,typeof L=="object"&&(L.placement&&(w=L.placement),L.rects&&(g=L.rects===!0?await u.getElementRects({reference:e,floating:n,strategy:o}):L.rects),{x:y,y:v}=cb(g,w,p)),C=-1)}return{x:y,y:v,placement:w,strategy:o,middlewareData:S}};async function qr(e,n){var a;n===void 0&&(n={});const{x:s,y:o,platform:c,rects:u,elements:h,strategy:p}=e,{boundary:g="clippingAncestors",rootBoundary:y="viewport",elementContext:v="floating",altBoundary:w=!1,padding:S=0}=ni(n,e),E=gw(S),j=h[w?v==="floating"?"reference":"floating":v],T=lc(await c.getClippingRect({element:(a=await(c.isElement==null?void 0:c.isElement(j)))==null||a?j:j.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(h.floating)),boundary:g,rootBoundary:y,strategy:p})),z=v==="floating"?{x:s,y:o,width:u.floating.width,height:u.floating.height}:u.reference,R=await(c.getOffsetParent==null?void 0:c.getOffsetParent(h.floating)),k=await(c.isElement==null?void 0:c.isElement(R))?await(c.getScale==null?void 0:c.getScale(R))||{x:1,y:1}:{x:1,y:1},L=lc(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({elements:h,rect:z,offsetParent:R,strategy:p}):z);return{top:(T.top-L.top+E.top)/k.y,bottom:(L.bottom-T.bottom+E.bottom)/k.y,left:(T.left-L.left+E.left)/k.x,right:(L.right-T.right+E.right)/k.x}}const lD=e=>({name:"arrow",options:e,async fn(n){const{x:a,y:s,placement:o,rects:c,platform:u,elements:h,middlewareData:p}=n,{element:g,padding:y=0}=ni(e,n)||{};if(g==null)return{};const v=gw(y),w={x:a,y:s},S=rm(o),E=sm(S),C=await u.getDimensions(g),j=S==="y",T=j?"top":"left",z=j?"bottom":"right",R=j?"clientHeight":"clientWidth",k=c.reference[E]+c.reference[S]-w[S]-c.floating[E],L=w[S]-c.reference[S],K=await(u.getOffsetParent==null?void 0:u.getOffsetParent(g));let I=K?K[R]:0;(!I||!await(u.isElement==null?void 0:u.isElement(K)))&&(I=h.floating[R]||c.floating[E]);const _=k/2-L/2,Q=I/2-C[E]/2-1,J=_i(v[T],Q),ne=_i(v[z],Q),ie=J,de=I-C[E]-ne,ee=I/2-C[E]/2+_,me=yh(ie,ee,de),O=!p.arrow&&js(o)!=null&&ee!==me&&c.reference[E]/2-(ee<ie?J:ne)-C[E]/2<0,q=O?ee<ie?ee-ie:ee-de:0;return{[S]:w[S]+q,data:{[S]:me,centerOffset:ee-me-q,...O&&{alignmentOffset:q}},reset:O}}}),cD=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var a,s;const{placement:o,middlewareData:c,rects:u,initialPlacement:h,platform:p,elements:g}=n,{mainAxis:y=!0,crossAxis:v=!0,fallbackPlacements:w,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:C=!0,...j}=ni(e,n);if((a=c.arrow)!=null&&a.alignmentOffset)return{};const T=ii(o),z=Tn(h),R=ii(h)===h,k=await(p.isRTL==null?void 0:p.isRTL(g.floating)),L=w||(R||!C?[oc(h)]:tD(h)),K=E!=="none";!w&&K&&L.push(...sD(h,C,E,k));const I=[h,...L],_=await qr(n,j),Q=[];let J=((s=c.flip)==null?void 0:s.overflows)||[];if(y&&Q.push(_[T]),v){const ee=eD(o,u,k);Q.push(_[ee[0]],_[ee[1]])}if(J=[...J,{placement:o,overflows:Q}],!Q.every(ee=>ee<=0)){var ne,ie;const ee=(((ne=c.flip)==null?void 0:ne.index)||0)+1,me=I[ee];if(me&&(!(v==="alignment"?z!==Tn(me):!1)||J.every(V=>Tn(V.placement)===z?V.overflows[0]>0:!0)))return{data:{index:ee,overflows:J},reset:{placement:me}};let O=(ie=J.filter(q=>q.overflows[0]<=0).sort((q,V)=>q.overflows[1]-V.overflows[1])[0])==null?void 0:ie.placement;if(!O)switch(S){case"bestFit":{var de;const q=(de=J.filter(V=>{if(K){const W=Tn(V.placement);return W===z||W==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(W=>W>0).reduce((W,ue)=>W+ue,0)]).sort((V,W)=>V[1]-W[1])[0])==null?void 0:de[0];q&&(O=q);break}case"initialPlacement":O=h;break}if(o!==O)return{reset:{placement:O}}}return{}}}};function ub(e,n){return{top:e.top-n.height,right:e.right-n.width,bottom:e.bottom-n.height,left:e.left-n.width}}function db(e){return Qz.some(n=>e[n]>=0)}const uD=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(n){const{rects:a}=n,{strategy:s="referenceHidden",...o}=ni(e,n);switch(s){case"referenceHidden":{const c=await qr(n,{...o,elementContext:"reference"}),u=ub(c,a.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:db(u)}}}case"escaped":{const c=await qr(n,{...o,altBoundary:!0}),u=ub(c,a.floating);return{data:{escapedOffsets:u,escaped:db(u)}}}default:return{}}}}},yw=new Set(["left","top"]);async function dD(e,n){const{placement:a,platform:s,elements:o}=e,c=await(s.isRTL==null?void 0:s.isRTL(o.floating)),u=ii(a),h=js(a),p=Tn(a)==="y",g=yw.has(u)?-1:1,y=c&&p?-1:1,v=ni(n,e);let{mainAxis:w,crossAxis:S,alignmentAxis:E}=typeof v=="number"?{mainAxis:v,crossAxis:0,alignmentAxis:null}:{mainAxis:v.mainAxis||0,crossAxis:v.crossAxis||0,alignmentAxis:v.alignmentAxis};return h&&typeof E=="number"&&(S=h==="end"?E*-1:E),p?{x:S*y,y:w*g}:{x:w*g,y:S*y}}const fD=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var a,s;const{x:o,y:c,placement:u,middlewareData:h}=n,p=await dD(n,e);return u===((a=h.offset)==null?void 0:a.placement)&&(s=h.arrow)!=null&&s.alignmentOffset?{}:{x:o+p.x,y:c+p.y,data:{...p,placement:u}}}}},hD=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:a,y:s,placement:o}=n,{mainAxis:c=!0,crossAxis:u=!1,limiter:h={fn:j=>{let{x:T,y:z}=j;return{x:T,y:z}}},...p}=ni(e,n),g={x:a,y:s},y=await qr(n,p),v=Tn(ii(o)),w=am(v);let S=g[w],E=g[v];if(c){const j=w==="y"?"top":"left",T=w==="y"?"bottom":"right",z=S+y[j],R=S-y[T];S=yh(z,S,R)}if(u){const j=v==="y"?"top":"left",T=v==="y"?"bottom":"right",z=E+y[j],R=E-y[T];E=yh(z,E,R)}const C=h.fn({...n,[w]:S,[v]:E});return{...C,data:{x:C.x-a,y:C.y-s,enabled:{[w]:c,[v]:u}}}}}},mD=function(e){return e===void 0&&(e={}),{options:e,fn(n){const{x:a,y:s,placement:o,rects:c,middlewareData:u}=n,{offset:h=0,mainAxis:p=!0,crossAxis:g=!0}=ni(e,n),y={x:a,y:s},v=Tn(o),w=am(v);let S=y[w],E=y[v];const C=ni(h,n),j=typeof C=="number"?{mainAxis:C,crossAxis:0}:{mainAxis:0,crossAxis:0,...C};if(p){const R=w==="y"?"height":"width",k=c.reference[w]-c.floating[R]+j.mainAxis,L=c.reference[w]+c.reference[R]-j.mainAxis;S<k?S=k:S>L&&(S=L)}if(g){var T,z;const R=w==="y"?"width":"height",k=yw.has(ii(o)),L=c.reference[v]-c.floating[R]+(k&&((T=u.offset)==null?void 0:T[v])||0)+(k?0:j.crossAxis),K=c.reference[v]+c.reference[R]+(k?0:((z=u.offset)==null?void 0:z[v])||0)-(k?j.crossAxis:0);E<L?E=L:E>K&&(E=K)}return{[w]:S,[v]:E}}}},pD=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var a,s;const{placement:o,rects:c,platform:u,elements:h}=n,{apply:p=()=>{},...g}=ni(e,n),y=await qr(n,g),v=ii(o),w=js(o),S=Tn(o)==="y",{width:E,height:C}=c.floating;let j,T;v==="top"||v==="bottom"?(j=v,T=w===(await(u.isRTL==null?void 0:u.isRTL(h.floating))?"start":"end")?"left":"right"):(T=v,j=w==="end"?"top":"bottom");const z=C-y.top-y.bottom,R=E-y.left-y.right,k=_i(C-y[j],z),L=_i(E-y[T],R),K=!n.middlewareData.shift;let I=k,_=L;if((a=n.middlewareData.shift)!=null&&a.enabled.x&&(_=R),(s=n.middlewareData.shift)!=null&&s.enabled.y&&(I=z),K&&!w){const J=Ht(y.left,0),ne=Ht(y.right,0),ie=Ht(y.top,0),de=Ht(y.bottom,0);S?_=E-2*(J!==0||ne!==0?J+ne:Ht(y.left,y.right)):I=C-2*(ie!==0||de!==0?ie+de:Ht(y.top,y.bottom))}await p({...n,availableWidth:_,availableHeight:I});const Q=await u.getDimensions(h.floating);return E!==Q.width||C!==Q.height?{reset:{rects:!0}}:{}}}};function Dc(){return typeof window<"u"}function Ts(e){return vw(e)?(e.nodeName||"").toLowerCase():"#document"}function qt(e){var n;return(e==null||(n=e.ownerDocument)==null?void 0:n.defaultView)||window}function Dn(e){var n;return(n=(vw(e)?e.ownerDocument:e.document)||window.document)==null?void 0:n.documentElement}function vw(e){return Dc()?e instanceof Node||e instanceof qt(e).Node:!1}function pn(e){return Dc()?e instanceof Element||e instanceof qt(e).Element:!1}function Rn(e){return Dc()?e instanceof HTMLElement||e instanceof qt(e).HTMLElement:!1}function fb(e){return!Dc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof qt(e).ShadowRoot}const gD=new Set(["inline","contents"]);function io(e){const{overflow:n,overflowX:a,overflowY:s,display:o}=gn(e);return/auto|scroll|overlay|hidden|clip/.test(n+s+a)&&!gD.has(o)}const yD=new Set(["table","td","th"]);function vD(e){return yD.has(Ts(e))}const xD=[":popover-open",":modal"];function Oc(e){return xD.some(n=>{try{return e.matches(n)}catch{return!1}})}const bD=["transform","translate","scale","rotate","perspective"],wD=["transform","translate","scale","rotate","perspective","filter"],SD=["paint","layout","strict","content"];function om(e){const n=lm(),a=pn(e)?gn(e):e;return bD.some(s=>a[s]?a[s]!=="none":!1)||(a.containerType?a.containerType!=="normal":!1)||!n&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!n&&(a.filter?a.filter!=="none":!1)||wD.some(s=>(a.willChange||"").includes(s))||SD.some(s=>(a.contain||"").includes(s))}function ND(e){let n=Vi(e);for(;Rn(n)&&!bs(n);){if(om(n))return n;if(Oc(n))return null;n=Vi(n)}return null}function lm(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const CD=new Set(["html","body","#document"]);function bs(e){return CD.has(Ts(e))}function gn(e){return qt(e).getComputedStyle(e)}function kc(e){return pn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Vi(e){if(Ts(e)==="html")return e;const n=e.assignedSlot||e.parentNode||fb(e)&&e.host||Dn(e);return fb(n)?n.host:n}function xw(e){const n=Vi(e);return bs(n)?e.ownerDocument?e.ownerDocument.body:e.body:Rn(n)&&io(n)?n:xw(n)}function Gr(e,n,a){var s;n===void 0&&(n=[]),a===void 0&&(a=!0);const o=xw(e),c=o===((s=e.ownerDocument)==null?void 0:s.body),u=qt(o);if(c){const h=xh(u);return n.concat(u,u.visualViewport||[],io(o)?o:[],h&&a?Gr(h):[])}return n.concat(o,Gr(o,[],a))}function xh(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function bw(e){const n=gn(e);let a=parseFloat(n.width)||0,s=parseFloat(n.height)||0;const o=Rn(e),c=o?e.offsetWidth:a,u=o?e.offsetHeight:s,h=rc(a)!==c||rc(s)!==u;return h&&(a=c,s=u),{width:a,height:s,$:h}}function cm(e){return pn(e)?e:e.contextElement}function gs(e){const n=cm(e);if(!Rn(n))return An(1);const a=n.getBoundingClientRect(),{width:s,height:o,$:c}=bw(n);let u=(c?rc(a.width):a.width)/s,h=(c?rc(a.height):a.height)/o;return(!u||!Number.isFinite(u))&&(u=1),(!h||!Number.isFinite(h))&&(h=1),{x:u,y:h}}const ED=An(0);function ww(e){const n=qt(e);return!lm()||!n.visualViewport?ED:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function jD(e,n,a){return n===void 0&&(n=!1),!a||n&&a!==qt(e)?!1:n}function va(e,n,a,s){n===void 0&&(n=!1),a===void 0&&(a=!1);const o=e.getBoundingClientRect(),c=cm(e);let u=An(1);n&&(s?pn(s)&&(u=gs(s)):u=gs(e));const h=jD(c,a,s)?ww(c):An(0);let p=(o.left+h.x)/u.x,g=(o.top+h.y)/u.y,y=o.width/u.x,v=o.height/u.y;if(c){const w=qt(c),S=s&&pn(s)?qt(s):s;let E=w,C=xh(E);for(;C&&s&&S!==E;){const j=gs(C),T=C.getBoundingClientRect(),z=gn(C),R=T.left+(C.clientLeft+parseFloat(z.paddingLeft))*j.x,k=T.top+(C.clientTop+parseFloat(z.paddingTop))*j.y;p*=j.x,g*=j.y,y*=j.x,v*=j.y,p+=R,g+=k,E=qt(C),C=xh(E)}}return lc({width:y,height:v,x:p,y:g})}function Pc(e,n){const a=kc(e).scrollLeft;return n?n.left+a:va(Dn(e)).left+a}function Sw(e,n){const a=e.getBoundingClientRect(),s=a.left+n.scrollLeft-Pc(e,a),o=a.top+n.scrollTop;return{x:s,y:o}}function TD(e){let{elements:n,rect:a,offsetParent:s,strategy:o}=e;const c=o==="fixed",u=Dn(s),h=n?Oc(n.floating):!1;if(s===u||h&&c)return a;let p={scrollLeft:0,scrollTop:0},g=An(1);const y=An(0),v=Rn(s);if((v||!v&&!c)&&((Ts(s)!=="body"||io(u))&&(p=kc(s)),Rn(s))){const S=va(s);g=gs(s),y.x=S.x+s.clientLeft,y.y=S.y+s.clientTop}const w=u&&!v&&!c?Sw(u,p):An(0);return{width:a.width*g.x,height:a.height*g.y,x:a.x*g.x-p.scrollLeft*g.x+y.x+w.x,y:a.y*g.y-p.scrollTop*g.y+y.y+w.y}}function AD(e){return Array.from(e.getClientRects())}function MD(e){const n=Dn(e),a=kc(e),s=e.ownerDocument.body,o=Ht(n.scrollWidth,n.clientWidth,s.scrollWidth,s.clientWidth),c=Ht(n.scrollHeight,n.clientHeight,s.scrollHeight,s.clientHeight);let u=-a.scrollLeft+Pc(e);const h=-a.scrollTop;return gn(s).direction==="rtl"&&(u+=Ht(n.clientWidth,s.clientWidth)-o),{width:o,height:c,x:u,y:h}}const hb=25;function RD(e,n){const a=qt(e),s=Dn(e),o=a.visualViewport;let c=s.clientWidth,u=s.clientHeight,h=0,p=0;if(o){c=o.width,u=o.height;const y=lm();(!y||y&&n==="fixed")&&(h=o.offsetLeft,p=o.offsetTop)}const g=Pc(s);if(g<=0){const y=s.ownerDocument,v=y.body,w=getComputedStyle(v),S=y.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,E=Math.abs(s.clientWidth-v.clientWidth-S);E<=hb&&(c-=E)}else g<=hb&&(c+=g);return{width:c,height:u,x:h,y:p}}const zD=new Set(["absolute","fixed"]);function DD(e,n){const a=va(e,!0,n==="fixed"),s=a.top+e.clientTop,o=a.left+e.clientLeft,c=Rn(e)?gs(e):An(1),u=e.clientWidth*c.x,h=e.clientHeight*c.y,p=o*c.x,g=s*c.y;return{width:u,height:h,x:p,y:g}}function mb(e,n,a){let s;if(n==="viewport")s=RD(e,a);else if(n==="document")s=MD(Dn(e));else if(pn(n))s=DD(n,a);else{const o=ww(e);s={x:n.x-o.x,y:n.y-o.y,width:n.width,height:n.height}}return lc(s)}function Nw(e,n){const a=Vi(e);return a===n||!pn(a)||bs(a)?!1:gn(a).position==="fixed"||Nw(a,n)}function OD(e,n){const a=n.get(e);if(a)return a;let s=Gr(e,[],!1).filter(h=>pn(h)&&Ts(h)!=="body"),o=null;const c=gn(e).position==="fixed";let u=c?Vi(e):e;for(;pn(u)&&!bs(u);){const h=gn(u),p=om(u);!p&&h.position==="fixed"&&(o=null),(c?!p&&!o:!p&&h.position==="static"&&!!o&&zD.has(o.position)||io(u)&&!p&&Nw(e,u))?s=s.filter(y=>y!==u):o=h,u=Vi(u)}return n.set(e,s),s}function kD(e){let{element:n,boundary:a,rootBoundary:s,strategy:o}=e;const u=[...a==="clippingAncestors"?Oc(n)?[]:OD(n,this._c):[].concat(a),s],h=u[0],p=u.reduce((g,y)=>{const v=mb(n,y,o);return g.top=Ht(v.top,g.top),g.right=_i(v.right,g.right),g.bottom=_i(v.bottom,g.bottom),g.left=Ht(v.left,g.left),g},mb(n,h,o));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function PD(e){const{width:n,height:a}=bw(e);return{width:n,height:a}}function LD(e,n,a){const s=Rn(n),o=Dn(n),c=a==="fixed",u=va(e,!0,c,n);let h={scrollLeft:0,scrollTop:0};const p=An(0);function g(){p.x=Pc(o)}if(s||!s&&!c)if((Ts(n)!=="body"||io(o))&&(h=kc(n)),s){const S=va(n,!0,c,n);p.x=S.x+n.clientLeft,p.y=S.y+n.clientTop}else o&&g();c&&!s&&o&&g();const y=o&&!s&&!c?Sw(o,h):An(0),v=u.left+h.scrollLeft-p.x-y.x,w=u.top+h.scrollTop-p.y-y.y;return{x:v,y:w,width:u.width,height:u.height}}function Tf(e){return gn(e).position==="static"}function pb(e,n){if(!Rn(e)||gn(e).position==="fixed")return null;if(n)return n(e);let a=e.offsetParent;return Dn(e)===a&&(a=a.ownerDocument.body),a}function Cw(e,n){const a=qt(e);if(Oc(e))return a;if(!Rn(e)){let o=Vi(e);for(;o&&!bs(o);){if(pn(o)&&!Tf(o))return o;o=Vi(o)}return a}let s=pb(e,n);for(;s&&vD(s)&&Tf(s);)s=pb(s,n);return s&&bs(s)&&Tf(s)&&!om(s)?a:s||ND(e)||a}const _D=async function(e){const n=this.getOffsetParent||Cw,a=this.getDimensions,s=await a(e.floating);return{reference:LD(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function VD(e){return gn(e).direction==="rtl"}const UD={convertOffsetParentRelativeRectToViewportRelativeRect:TD,getDocumentElement:Dn,getClippingRect:kD,getOffsetParent:Cw,getElementRects:_D,getClientRects:AD,getDimensions:PD,getScale:gs,isElement:pn,isRTL:VD};function Ew(e,n){return e.x===n.x&&e.y===n.y&&e.width===n.width&&e.height===n.height}function BD(e,n){let a=null,s;const o=Dn(e);function c(){var h;clearTimeout(s),(h=a)==null||h.disconnect(),a=null}function u(h,p){h===void 0&&(h=!1),p===void 0&&(p=1),c();const g=e.getBoundingClientRect(),{left:y,top:v,width:w,height:S}=g;if(h||n(),!w||!S)return;const E=Ll(v),C=Ll(o.clientWidth-(y+w)),j=Ll(o.clientHeight-(v+S)),T=Ll(y),R={rootMargin:-E+"px "+-C+"px "+-j+"px "+-T+"px",threshold:Ht(0,_i(1,p))||1};let k=!0;function L(K){const I=K[0].intersectionRatio;
vendor: 4,314 bytes, line 9
9if(I!==p){if(!k)return u();I?u(!1,I):s=setTimeout(()=>{u(!1,1e-7)},1e3)}I===1&&!Ew(g,e.getBoundingClientRect())&&u(),k=!1}try{a=new IntersectionObserver(L,{...R,root:o.ownerDocument})}catch{a=new IntersectionObserver(L,R)}a.observe(e)}return u(!0),c}function ID(e,n,a,s){s===void 0&&(s={});const{ancestorScroll:o=!0,ancestorResize:c=!0,elementResize:u=typeof ResizeObserver=="function",layoutShift:h=typeof IntersectionObserver=="function",animationFrame:p=!1}=s,g=cm(e),y=o||c?[...g?Gr(g):[],...Gr(n)]:[];y.forEach(T=>{o&&T.addEventListener("scroll",a,{passive:!0}),c&&T.addEventListener("resize",a)});const v=g&&h?BD(g,a):null;let w=-1,S=null;u&&(S=new ResizeObserver(T=>{let[z]=T;z&&z.target===g&&S&&(S.unobserve(n),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var R;(R=S)==null||R.observe(n)})),a()}),g&&!p&&S.observe(g),S.observe(n));let E,C=p?va(e):null;p&&j();function j(){const T=va(e);C&&!Ew(C,T)&&a(),C=T,E=requestAnimationFrame(j)}return a(),()=>{var T;y.forEach(z=>{o&&z.removeEventListener("scroll",a),c&&z.removeEventListener("resize",a)}),v?.(),(T=S)==null||T.disconnect(),S=null,p&&cancelAnimationFrame(E)}}const FD=fD,HD=hD,qD=cD,GD=pD,KD=uD,gb=lD,YD=mD,$D=(e,n,a)=>{const s=new Map,o={platform:UD,...a},c={...o.platform,_c:s};return oD(e,n,{...o,platform:c})};var XD=typeof document<"u",QD=function(){},$l=XD?x.useLayoutEffect:QD;function cc(e,n){if(e===n)return!0;if(typeof e!=typeof n)return!1;if(typeof e=="function"&&e.toString()===n.toString())return!0;let a,s,o;if(e&&n&&typeof e=="object"){if(Array.isArray(e)){if(a=e.length,a!==n.length)return!1;for(s=a;s--!==0;)if(!cc(e[s],n[s]))return!1;return!0}if(o=Object.keys(e),a=o.length,a!==Object.keys(n).length)return!1;for(s=a;s--!==0;)if(!{}.hasOwnProperty.call(n,o[s]))return!1;for(s=a;s--!==0;){const c=o[s];if(!(c==="_owner"&&e.$$typeof)&&!cc(e[c],n[c]))return!1}return!0}return e!==e&&n!==n}function jw(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function yb(e,n){const a=jw(e);return Math.round(n*a)/a}function Af(e){const n=x.useRef(e);return $l(()=>{n.current=e}),n}function WD(e){e===void 0&&(e={});const{placement:n="bottom",strategy:a="absolute",middleware:s=[],platform:o,elements:{reference:c,floating:u}={},transform:h=!0,whileElementsMounted:p,open:g}=e,[y,v]=x.useState({x:0,y:0,strategy:a,placement:n,middlewareData:{},isPositioned:!1}),[w,S]=x.useState(s);cc(w,s)||S(s);const[E,C]=x.useState(null),[j,T]=x.useState(null),z=x.useCallback(V=>{V!==K.current&&(K.current=V,C(V))},[]),R=x.useCallback(V=>{V!==I.current&&(I.current=V,T(V))},[]),k=c||E,L=u||j,K=x.useRef(null),I=x.useRef(null),_=x.useRef(y),Q=p!=null,J=Af(p),ne=Af(o),ie=Af(g),de=x.useCallback(()=>{if(!K.current||!I.current)return;const V={placement:n,strategy:a,middleware:w};ne.current&&(V.platform=ne.current),$D(K.current,I.current,V).then(W=>{const ue={...W,isPositioned:ie.current!==!1};ee.current&&!cc(_.current,ue)&&(_.current=ue,Tc.flushSync(()=>{v(ue)}))})},[w,n,a,ne,ie]);$l(()=>{g===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,v(V=>({...V,isPositioned:!1})))},[g]);const ee=x.useRef(!1);$l(()=>(ee.current=!0,()=>{ee.current=!1}),[]),$l(()=>{if(k&&(K.current=k),L&&(I.current=L),k&&L){if(J.current)return J.current(k,L,de);de()}},[k,L,de,J,Q]);const me=x.useMemo(()=>({reference:K,floating:I,setReference:z,setFloating:R}),[z,R]),O=x.useMemo(()=>({reference:k,floating:L}),[k,L]),q=x.useMemo(()=>{const V={position:a,left:0,top:0};if(!O.floating)return V;const W=yb(O.floating,y.x),ue=yb(O.floating,y.y);return h?{...V,transform:"translate("+W+"px, "+ue+"px)",...jw(O.floating)>=1.5&&{willChange:"transform"}}:{position:a,left:W,top:ue}},[a,h,O.floating,y.x,y.y]);return x.useMemo(()=>({...y,update:de,refs:me,elements:O,floatingStyles:q}),[y,de,me,O,q])}const ZD=e=>{function n(a){return{}.hasOwnProperty.call(a,"current")}return{name:"arrow",options:e,fn(a){const{element:s,padding:o}=typeof e=="function"?e(a):e;return s&&n(s)?s.current!=null?gb({element:s.current,padding:o}).fn(a):{}:s?gb({element:s,padding:o}).fn(a):{}}}},JD=(e,n)=>({...FD(e),options:[e,n]}),eO=(e,n)=>({...HD(e),options:[e,n]}),tO=(e,n)=>({...YD(e),options:[e,n]}),nO=(e,n)=>({...qD(e),options:[e,n]}),iO=(e,n)=>({...GD(e),options:[e,n]}),aO=(e,n)=>({...KD(e),options:[e,n]}),sO=(e,n)=>({...ZD(e),options:[e,n]});
vendor: 9,377 bytes, line 9
9var rO="Arrow",Tw=x.forwardRef((e,n)=>{const{children:a,width:s=10,height:o=5,...c}=e;return d.jsx(Be.svg,{...c,ref:n,width:s,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?a:d.jsx("polygon",{points:"0,0 30,0 15,10"})})});Tw.displayName=rO;var oO=Tw;function lO(e){const[n,a]=x.useState(void 0);return ei(()=>{if(e){a({width:e.offsetWidth,height:e.offsetHeight});const s=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const c=o[0];let u,h;if("borderBoxSize"in c){const p=c.borderBoxSize,g=Array.isArray(p)?p[0]:p;u=g.inlineSize,h=g.blockSize}else u=e.offsetWidth,h=e.offsetHeight;a({width:u,height:h})});return s.observe(e,{box:"border-box"}),()=>s.unobserve(e)}else a(void 0)},[e]),n}var um="Popper",[Aw,Lc]=Fi(um),[cO,Mw]=Aw(um),Rw=e=>{const{__scopePopper:n,children:a}=e,[s,o]=x.useState(null);return d.jsx(cO,{scope:n,anchor:s,onAnchorChange:o,children:a})};Rw.displayName=um;var zw="PopperAnchor",Dw=x.forwardRef((e,n)=>{const{__scopePopper:a,virtualRef:s,...o}=e,c=Mw(zw,a),u=x.useRef(null),h=et(n,u),p=x.useRef(null);return x.useEffect(()=>{const g=p.current;p.current=s?.current||u.current,g!==p.current&&c.onAnchorChange(p.current)}),s?null:d.jsx(Be.div,{...o,ref:h})});Dw.displayName=zw;var dm="PopperContent",[uO,dO]=Aw(dm),Ow=x.forwardRef((e,n)=>{const{__scopePopper:a,side:s="bottom",sideOffset:o=0,align:c="center",alignOffset:u=0,arrowPadding:h=0,avoidCollisions:p=!0,collisionBoundary:g=[],collisionPadding:y=0,sticky:v="partial",hideWhenDetached:w=!1,updatePositionStrategy:S="optimized",onPlaced:E,...C}=e,j=Mw(dm,a),[T,z]=x.useState(null),R=et(n,ae=>z(ae)),[k,L]=x.useState(null),K=lO(k),I=K?.width??0,_=K?.height??0,Q=s+(c!=="center"?"-"+c:""),J=typeof y=="number"?y:{top:0,right:0,bottom:0,left:0,...y},ne=Array.isArray(g)?g:[g],ie=ne.length>0,de={padding:J,boundary:ne.filter(hO),altBoundary:ie},{refs:ee,floatingStyles:me,placement:O,isPositioned:q,middlewareData:V}=WD({strategy:"fixed",placement:Q,whileElementsMounted:(...ae)=>ID(...ae,{animationFrame:S==="always"}),elements:{reference:j.anchor},middleware:[JD({mainAxis:o+_,alignmentAxis:u}),p&&eO({mainAxis:!0,crossAxis:!1,limiter:v==="partial"?tO():void 0,...de}),p&&nO({...de}),iO({...de,apply:({elements:ae,rects:Ke,availableWidth:Le,availableHeight:Kt})=>{const{width:xn,height:bn}=Ke.reference,Gi=ae.floating.style;Gi.setProperty("--radix-popper-available-width",`${Le}px`),Gi.setProperty("--radix-popper-available-height",`${Kt}px`),Gi.setProperty("--radix-popper-anchor-width",`${xn}px`),Gi.setProperty("--radix-popper-anchor-height",`${bn}px`)}}),k&&sO({element:k,padding:h}),mO({arrowWidth:I,arrowHeight:_}),w&&aO({strategy:"referenceHidden",...de})]}),[W,ue]=Lw(O),M=Gt(E);ei(()=>{q&&M?.()},[q,M]);const G=V.arrow?.x,Z=V.arrow?.y,te=V.arrow?.centerOffset!==0,[pe,ye]=x.useState();return ei(()=>{T&&ye(window.getComputedStyle(T).zIndex)},[T]),d.jsx("div",{ref:ee.setFloating,"data-radix-popper-content-wrapper":"",style:{...me,transform:q?me.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:pe,"--radix-popper-transform-origin":[V.transformOrigin?.x,V.transformOrigin?.y].join(" "),...V.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:d.jsx(uO,{scope:a,placedSide:W,onArrowChange:L,arrowX:G,arrowY:Z,shouldHideArrow:te,children:d.jsx(Be.div,{"data-side":W,"data-align":ue,...C,ref:R,style:{...C.style,animation:q?void 0:"none"}})})})});Ow.displayName=dm;var kw="PopperArrow",fO={top:"bottom",right:"left",bottom:"top",left:"right"},Pw=x.forwardRef(function(n,a){const{__scopePopper:s,...o}=n,c=dO(kw,s),u=fO[c.placedSide];return d.jsx("span",{ref:c.onArrowChange,style:{position:"absolute",left:c.arrowX,top:c.arrowY,[u]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[c.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[c.placedSide],visibility:c.shouldHideArrow?"hidden":void 0},children:d.jsx(oO,{...o,ref:a,style:{...o.style,display:"block"}})})});Pw.displayName=kw;function hO(e){return e!==null}var mO=e=>({name:"transformOrigin",options:e,fn(n){const{placement:a,rects:s,middlewareData:o}=n,u=o.arrow?.centerOffset!==0,h=u?0:e.arrowWidth,p=u?0:e.arrowHeight,[g,y]=Lw(a),v={start:"0%",center:"50%",end:"100%"}[y],w=(o.arrow?.x??0)+h/2,S=(o.arrow?.y??0)+p/2;let E="",C="";return g==="bottom"?(E=u?v:`${w}px`,C=`${-p}px`):g==="top"?(E=u?v:`${w}px`,C=`${s.floating.height+p}px`):g==="right"?(E=`${-p}px`,C=u?v:`${S}px`):g==="left"&&(E=`${s.floating.width+p}px`,C=u?v:`${S}px`),{data:{x:E,y:C}}}});function Lw(e){const[n,a="center"]=e.split("-");return[n,a]}var pO=Rw,_w=Dw,Vw=Ow,Uw=Pw,gO=Symbol("radix.slottable");function yO(e){const n=({children:a})=>d.jsx(d.Fragment,{children:a});return n.displayName=`${e}.Slottable`,n.__radixId=gO,n}var[_c]=Fi("Tooltip",[Lc]),fm=Lc(),Bw="TooltipProvider",vO=700,vb="tooltip.open",[xO,Iw]=_c(Bw),Fw=e=>{const{__scopeTooltip:n,delayDuration:a=vO,skipDelayDuration:s=300,disableHoverableContent:o=!1,children:c}=e,u=x.useRef(!0),h=x.useRef(!1),p=x.useRef(0);return x.useEffect(()=>{const g=p.current;return()=>window.clearTimeout(g)},[]),d.jsx(xO,{scope:n,isOpenDelayedRef:u,delayDuration:a,onOpen:x.useCallback(()=>{window.clearTimeout(p.current),u.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>u.current=!0,s)},[s]),isPointerInTransitRef:h,onPointerInTransitChange:x.useCallback(g=>{h.current=g},[]),disableHoverableContent:o,children:c})};Fw.displayName=Bw;var Hw="Tooltip",[Z6,ao]=_c(Hw),bh="TooltipTrigger",bO=x.forwardRef((e,n)=>{const{__scopeTooltip:a,...s}=e,o=ao(bh,a),c=Iw(bh,a),u=fm(a),h=x.useRef(null),p=et(n,h,o.onTriggerChange),g=x.useRef(!1),y=x.useRef(!1),v=x.useCallback(()=>g.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",v),[v]),d.jsx(_w,{asChild:!0,...u,children:d.jsx(Be.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...s,ref:p,onPointerMove:he(e.onPointerMove,w=>{w.pointerType!=="touch"&&!y.current&&!c.isPointerInTransitRef.current&&(o.onTriggerEnter(),y.current=!0)}),onPointerLeave:he(e.onPointerLeave,()=>{o.onTriggerLeave(),y.current=!1}),onPointerDown:he(e.onPointerDown,()=>{o.open&&o.onClose(),g.current=!0,document.addEventListener("pointerup",v,{once:!0})}),onFocus:he(e.onFocus,()=>{g.current||o.onOpen()}),onBlur:he(e.onBlur,o.onClose),onClick:he(e.onClick,o.onClose)})})});bO.displayName=bh;var hm="TooltipPortal",[wO,SO]=_c(hm,{forceMount:void 0}),qw=e=>{const{__scopeTooltip:n,forceMount:a,children:s,container:o}=e,c=ao(hm,n);return d.jsx(wO,{scope:n,forceMount:a,children:d.jsx(yn,{present:a||c.open,children:d.jsx(to,{asChild:!0,container:o,children:s})})})};qw.displayName=hm;var ws="TooltipContent",Gw=x.forwardRef((e,n)=>{const a=SO(ws,e.__scopeTooltip),{forceMount:s=a.forceMount,side:o="top",...c}=e,u=ao(ws,e.__scopeTooltip);return d.jsx(yn,{present:s||u.open,children:u.disableHoverableContent?d.jsx(Kw,{side:o,...c,ref:n}):d.jsx(NO,{side:o,...c,ref:n})})}),NO=x.forwardRef((e,n)=>{const a=ao(ws,e.__scopeTooltip),s=Iw(ws,e.__scopeTooltip),o=x.useRef(null),c=et(n,o),[u,h]=x.useState(null),{trigger:p,onClose:g}=a,y=o.current,{onPointerInTransitChange:v}=s,w=x.useCallback(()=>{h(null),v(!1)},[v]),S=x.useCallback((E,C)=>{const j=E.currentTarget,T={x:E.clientX,y:E.clientY},z=AO(T,j.getBoundingClientRect()),R=MO(T,z),k=RO(C.getBoundingClientRect()),L=DO([...R,...k]);h(L),v(!0)},[v]);return x.useEffect(()=>()=>w(),[w]),x.useEffect(()=>{if(p&&y){const E=j=>S(j,y),C=j=>S(j,p);return p.addEventListener("pointerleave",E),y.addEventListener("pointerleave",C),()=>{p.removeEventListener("pointerleave",E),y.removeEventListener("pointerleave",C)}}},[p,y,S,w]),x.useEffect(()=>{if(u){const E=C=>{const j=C.target,T={x:C.clientX,y:C.clientY},z=p?.contains(j)||y?.contains(j),R=!zO(T,u);z?w():R&&(w(),g())};return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[p,y,u,g,w]),d.jsx(Kw,{...e,ref:c})}),[CO,EO]=_c(Hw,{isInside:!1}),jO=yO("TooltipContent"),Kw=x.forwardRef((e,n)=>{const{__scopeTooltip:a,children:s,"aria-label":o,onEscapeKeyDown:c,onPointerDownOutside:u,...h}=e,p=ao(ws,a),g=fm(a),{onClose:y}=p;return x.useEffect(()=>(document.addEventListener(vb,y),()=>document.removeEventListener(vb,y)),[y]),x.useEffect(()=>{if(p.trigger){const v=w=>{w.target?.contains(p.trigger)&&y()};return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[p.trigger,y]),d.jsx(eo,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:u,onFocusOutside:v=>v.preventDefault(),onDismiss:y,children:d.jsxs(Vw,{"data-state":p.stateAttribute,...g,...h,ref:n,style:{...h.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[d.jsx(jO,{children:s}),d.jsx(CO,{scope:a,isInside:!0,children:d.jsx(bM,{id:p.contentId,role:"tooltip",children:o||s})})]})})});Gw.displayName=ws;
9var Yw="TooltipArrow",TO=x.forwardRef((e,n)=>{const{__scopeTooltip:a,...s}=e,o=fm(a);return EO(Yw,a).isInside?null:d.jsx(Uw,{...o,...s,ref:n})});TO.displayName=Yw;function AO(e,n){const a=Math.abs(n.top-e.y),s=Math.abs(n.bottom-e.y),o=Math.abs(n.right-e.x),c=Math.abs(n.left-e.x);switch(Math.min(a,s,o,c)){case c:return"left";case o:return"right";case a:return"top";case s:return"bottom";default:throw new Error("unreachable")}}function MO(e,n,a=5){const s=[];switch(n){case"top":s.push({x:e.x-a,y:e.y+a},{x:e.x+a,y:e.y+a});break;case"bottom":s.push({x:e.x-a,y:e.y-a},{x:e.x+a,y:e.y-a});break;case"left":s.push({x:e.x+a,y:e.y-a},{x:e.x+a,y:e.y+a});break;case"right":s.push({x:e.x-a,y:e.y-a},{x:e.x-a,y:e.y+a});break}return s}function RO(e){const{top:n,right:a,bottom:s,left:o}=e;return[{x:o,y:n},{x:a,y:n},{x:a,y:s},{x:o,y:s}]}function zO(e,n){const{x:a,y:s}=e;let o=!1;for(let c=0,u=n.length-1;c<n.length;u=c++){const h=n[c],p=n[u],g=h.x,y=h.y,v=p.x,w=p.y;y>s!=w>s&&a<(v-g)*(s-y)/(w-y)+g&&(o=!o)}return o}function DO(e){const n=e.slice();return n.sort((a,s)=>a.x<s.x?-1:a.x>s.x?1:a.y<s.y?-1:a.y>s.y?1:0),OO(n)}function OO(e){if(e.length<=1)return e.slice();const n=[];for(let s=0;s<e.length;s++){const o=e[s];for(;n.length>=2;){const c=n[n.length-1],u=n[n.length-2];if((c.x-u.x)*(o.y-u.y)>=(c.y-u.y)*(o.x-u.x))n.pop();else break}n.push(o)}n.pop();const a=[];for(let s=e.length-1;s>=0;s--){const o=e[s];for(;a.length>=2;){const c=a[a.length-1],u=a[a.length-2];if((c.x-u.x)*(o.y-u.y)>=(c.y-u.y)*(o.x-u.x))a.pop();else break}a.push(o)}return a.pop(),n.length===1&&a.length===1&&n[0].x===a[0].x&&n[0].y===a[0].y?n:n.concat(a)}var kO=Fw,PO=qw,$w=Gw;const LO=kO,_O=x.forwardRef(({className:e,sideOffset:n=4,...a},s)=>d.jsx(PO,{children:d.jsx($w,{ref:s,sideOffset:n,className:Fe("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",e),...a})}));_O.displayName=$w.displayName;const VO={en:"en",es:"es",de:"de",it:"it"};function UO(){const{i18n:e}=ct();x.useEffect(()=>{const n=VO[e.language]||"es";document.documentElement.lang=n},[e.language])}const mm=x.forwardRef(({className:e,...n},a)=>d.jsx("div",{ref:a,className:Fe("rounded-xl border bg-card text-card-foreground shadow",e),...n}));mm.displayName="Card";const BO=x.forwardRef(({className:e,...n},a)=>d.jsx("div",{ref:a,className:Fe("flex flex-col space-y-1.5 p-6",e),...n}));BO.displayName="CardHeader";const IO=x.forwardRef(({className:e,...n},a)=>d.jsx("div",{ref:a,className:Fe("font-semibold leading-none tracking-tight",e),...n}));IO.displayName="CardTitle";const FO=x.forwardRef(({className:e,...n},a)=>d.jsx("div",{ref:a,className:Fe("text-sm text-muted-foreground",e),...n}));FO.displayName="CardDescription";const Xw=x.forwardRef(({className:e,...n},a)=>d.jsx("div",{ref:a,className:Fe("p-6 pt-0",e),...n}));Xw.displayName="CardContent";const HO=x.forwardRef(({className:e,...n},a)=>d.jsx("div",{ref:a,className:Fe("flex items-center p-6 pt-0",e),...n}));HO.displayName="CardFooter";function qO(){return d.jsx("div",{className:"min-h-screen w-full flex items-center justify-center bg-gray-50",children:d.jsx(mm,{className:"w-full max-w-md mx-4",children:d.jsxs(Xw,{className:"pt-6",children:[d.jsxs("div",{className:"flex mb-4 gap-2",children:[d.jsx(nm,{className:"h-8 w-8 text-red-500"}),d.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"404 Page Not Found"})]}),d.jsx("p",{className:"mt-4 text-sm text-gray-600",children:"Did you forget to add the page to the router?"})]})})})}const pm=x.createContext({});function gm(e){const n=x.useRef(null);return n.current===null&&(n.current=e()),n.current}const Qw=typeof window<"u",Ww=Qw?x.useLayoutEffect:x.useEffect,Vc=x.createContext(null);function ym(e,n){e.indexOf(n)===-1&&e.push(n)}function vm(e,n){const a=e.indexOf(n);a>-1&&e.splice(a,1)}const zn=(e,n,a)=>a>n?n:a<e?e:a;let xm=()=>{};const ai={}
vendor: 119,752 bytes, lines 9-17
9,Zw=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Jw(e){return typeof e=="object"&&e!==null}const eS=e=>/^0[^.\s]+$/u.test(e);function bm(e){let n;return()=>(n===void 0&&(n=e()),n)}const rn=e=>e,GO=(e,n)=>a=>n(e(a)),so=(...e)=>e.reduce(GO),Kr=(e,n,a)=>{const s=n-e;return s===0?1:(a-e)/s};class wm{constructor(){this.subscriptions=[]}add(n){return ym(this.subscriptions,n),()=>vm(this.subscriptions,n)}notify(n,a,s){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](n,a,s);else for(let c=0;c<o;c++){const u=this.subscriptions[c];u&&u(n,a,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Jn=e=>e*1e3,sn=e=>e/1e3;function tS(e,n){return n?e*(1e3/n):0}const nS=(e,n,a)=>(((1-3*a+3*n)*e+(3*a-6*n))*e+3*n)*e,KO=1e-7,YO=12;function $O(e,n,a,s,o){let c,u,h=0;do u=n+(a-n)/2,c=nS(u,s,o)-e,c>0?a=u:n=u;while(Math.abs(c)>KO&&++h<YO);return u}function ro(e,n,a,s){if(e===n&&a===s)return rn;const o=c=>$O(c,0,1,e,a);return c=>c===0||c===1?c:nS(o(c),n,s)}const iS=e=>n=>n<=.5?e(2*n)/2:(2-e(2*(1-n)))/2,aS=e=>n=>1-e(1-n),sS=ro(.33,1.53,.69,.99),Sm=aS(sS),rS=iS(Sm),oS=e=>(e*=2)<1?.5*Sm(e):.5*(2-Math.pow(2,-10*(e-1))),Nm=e=>1-Math.sin(Math.acos(e)),lS=aS(Nm),cS=iS(Nm),XO=ro(.42,0,1,1),QO=ro(0,0,.58,1),uS=ro(.42,0,.58,1),WO=e=>Array.isArray(e)&&typeof e[0]!="number",dS=e=>Array.isArray(e)&&typeof e[0]=="number",ZO={linear:rn,easeIn:XO,easeInOut:uS,easeOut:QO,circIn:Nm,circInOut:cS,circOut:lS,backIn:Sm,backInOut:rS,backOut:sS,anticipate:oS},JO=e=>typeof e=="string",xb=e=>{if(dS(e)){xm(e.length===4);const[n,a,s,o]=e;return ro(n,a,s,o)}else if(JO(e))return ZO[e];return e},_l=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function ek(e,n){let a=new Set,s=new Set,o=!1,c=!1;const u=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function p(y){u.has(y)&&(g.schedule(y),e()),y(h)}const g={schedule:(y,v=!1,w=!1)=>{const E=w&&o?a:s;return v&&u.add(y),E.has(y)||E.add(y),y},cancel:y=>{s.delete(y),u.delete(y)},process:y=>{if(h=y,o){c=!0;return}o=!0,[a,s]=[s,a],a.forEach(p),a.clear(),o=!1,c&&(c=!1,g.process(y))}};return g}const tk=40;function fS(e,n){let a=!1,s=!0;const o={delta:0,timestamp:0,isProcessing:!1},c=()=>a=!0,u=_l.reduce((R,k)=>(R[k]=ek(c),R),{}),{setup:h,read:p,resolveKeyframes:g,preUpdate:y,update:v,preRender:w,render:S,postRender:E}=u,C=()=>{const R=ai.useManualTiming?o.timestamp:performance.now();a=!1,ai.useManualTiming||(o.delta=s?1e3/60:Math.max(Math.min(R-o.timestamp,tk),1)),o.timestamp=R,o.isProcessing=!0,h.process(o),p.process(o),g.process(o),y.process(o),v.process(o),w.process(o),S.process(o),E.process(o),o.isProcessing=!1,a&&n&&(s=!1,e(C))},j=()=>{a=!0,s=!0,o.isProcessing||e(C)};return{schedule:_l.reduce((R,k)=>{const L=u[k];return R[k]=(K,I=!1,_=!1)=>(a||j(),L.schedule(K,I,_)),R},{}),cancel:R=>{for(let k=0;k<_l.length;k++)u[_l[k]].cancel(R)},state:o,steps:u}}const{schedule:Ge,cancel:Ui,state:yt,steps:Mf}=fS(typeof requestAnimationFrame<"u"?requestAnimationFrame:rn,!0);let Xl;function nk(){Xl=void 0}const St={now:()=>(Xl===void 0&&St.set(yt.isProcessing||ai.useManualTiming?yt.timestamp:performance.now()),Xl),set:e=>{Xl=e,queueMicrotask(nk)}},hS=e=>n=>typeof n=="string"&&n.startsWith(e),mS=hS("--"),ik=hS("var(--"),Cm=e=>ik(e)?ak.test(e.split("/*")[0].trim()):!1,ak=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function bb(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const As={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Yr={...As,transform:e=>zn(0,1,e)},Vl={...As,default:1},kr=e=>Math.round(e*1e5)/1e5,Em=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function sk(e){return e==null}const rk=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,jm=(e,n)=>a=>!!(typeof a=="string"&&rk.test(a)&&a.startsWith(e)||n&&!sk(a)&&Object.prototype.hasOwnProperty.call(a,n)),pS=(e,n,a)=>s=>{if(typeof s!="string")return s;const[o,c,u,h]=s.match(Em);return{[e]:parseFloat(o),[n]:parseFloat(c),[a]:parseFloat(u),alpha:h!==void 0?parseFloat(h):1}},ok=e=>zn(0,255,e),Rf={...As,transform:e=>Math.round(ok(e))},ma={test:jm("rgb","red"),parse:pS("red","green","blue"),transform:({red:e,green:n,blue:a,alpha:s=1})=>"rgba("+Rf.transform(e)+", "+Rf.transform(n)+", "+Rf.transform(a)+", "+kr(Yr.transform(s))+")"};function lk(e){let n="",a="",s="",o="";return e.length>5?(n=e.substring(1,3),a=e.substring(3,5),s=e.substring(5,7),o=e.substring(7,9)):(n=e.substring(1,2),a=e.substring(2,3),s=e.substring(3,4),o=e.substring(4,5),n+=n,a+=a,s+=s,o+=o),{red:parseInt(n,16),green:parseInt(a,16),blue:parseInt(s,16),alpha:o?parseInt(o,16)/255:1}}const wh={test:jm("#"),parse:lk,transform:ma.transform},oo=e=>({test:n=>typeof n=="string"&&n.endsWith(e)&&n.split(" ").length===1,parse:parseFloat,transform:n=>`${n}${e}`}),Oi=oo("deg"),Mn=oo("%"),se=oo("px"),ck=oo("vh"),uk=oo("vw"),wb={...Mn,parse:e=>Mn.parse(e)/100,transform:e=>Mn.transform(e*100)},ds={test:jm("hsl","hue"),parse:pS("hue","saturation","lightness"),transform:({hue:e,saturation:n,lightness:a,alpha:s=1})=>"hsla("+Math.round(e)+", "+Mn.transform(kr(n))+", "+Mn.transform(kr(a))+", "+kr(Yr.transform(s))+")"},st={test:e=>ma.test(e)||wh.test(e)||ds.test(e),parse:e=>ma.test(e)?ma.parse(e):ds.test(e)?ds.parse(e):wh.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ma.transform(e):ds.transform(e),getAnimatableNone:e=>{const n=st.parse(e);return n.alpha=0,st.transform(n)}},dk=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function fk(e){return isNaN(e)&&typeof e=="string"&&(e.match(Em)?.length||0)+(e.match(dk)?.length||0)>0}const gS="number",yS="color",hk="var",mk="var(",Sb="${}",pk=/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 $r(e){const n=e.toString(),a=[],s={color:[],number:[],var:[]},o=[];let c=0;const h=n.replace(pk,p=>(st.test(p)?(s.color.push(c),o.push(yS),a.push(st.parse(p))):p.startsWith(mk)?(s.var.push(c),o.push(hk),a.push(p)):(s.number.push(c),o.push(gS),a.push(parseFloat(p))),++c,Sb)).split(Sb);return{values:a,split:h,indexes:s,types:o}}function vS(e){return $r(e).values}function xS(e){const{split:n,types:a}=$r(e),s=n.length;return o=>{let c="";for(let u=0;u<s;u++)if(c+=n[u],o[u]!==void 0){const h=a[u];h===gS?c+=kr(o[u]):h===yS?c+=st.transform(o[u]):c+=o[u]}return c}}const gk=e=>typeof e=="number"?0:st.test(e)?st.getAnimatableNone(e):e;function yk(e){const n=vS(e);return xS(e)(n.map(gk))}const Bi={test:fk,parse:vS,createTransformer:xS,getAnimatableNone:yk};function zf(e,n,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?e+(n-e)*6*a:a<1/2?n:a<2/3?e+(n-e)*(2/3-a)*6:e}function vk({hue:e,saturation:n,lightness:a,alpha:s}){e/=360,n/=100,a/=100;let o=0,c=0,u=0;if(!n)o=c=u=a;else{const h=a<.5?a*(1+n):a+n-a*n,p=2*a-h;o=zf(p,h,e+1/3),c=zf(p,h,e),u=zf(p,h,e-1/3)}return{red:Math.round(o*255),green:Math.round(c*255),blue:Math.round(u*255),alpha:s}}function uc(e,n){return a=>a>0?n:e}const $e=(e,n,a)=>e+(n-e)*a,Df=(e,n,a)=>{const s=e*e,o=a*(n*n-s)+s;return o<0?0:Math.sqrt(o)},xk=[wh,ma,ds],bk=e=>xk.find(n=>n.test(e));function Nb(e){const n=bk(e);if(!n)return!1;let a=n.parse(e);return n===ds&&(a=vk(a)),a}const Cb=(e,n)=>{const a=Nb(e),s=Nb(n);if(!a||!s)return uc(e,n);const o={...a};return c=>(o.red=Df(a.red,s.red,c),o.green=Df(a.green,s.green,c),o.blue=Df(a.blue,s.blue,c),o.alpha=$e(a.alpha,s.alpha,c),ma.transform(o))},Sh=new Set(["none","hidden"]);function wk(e,n){return Sh.has(e)?a=>a<=0?e:n:a=>a>=1?n:e}function Sk(e,n){return a=>$e(e,n,a)}function Tm(e){return typeof e=="number"?Sk:typeof e=="string"?Cm(e)?uc:st.test(e)?Cb:Ek:Array.isArray(e)?bS:typeof e=="object"?st.test(e)?Cb:Nk:uc}function bS(e,n){const a=[...e],s=a.length,o=e.map((c,u)=>Tm(c)(c,n[u]));return c=>{for(let u=0;u<s;u++)a[u]=o[u](c);return a}}function Nk(e,n){const a={...e,...n},s={};for(const o in a)e[o]!==void 0&&n[o]!==void 0&&(s[o]=Tm(e[o])(e[o],n[o]));return o=>{for(const c in s)a[c]=s[c](o);return a}}function Ck(e,n){const a=[],s={color:0,var:0,number:0};for(let o=0;o<n.values.length;o++){const c=n.types[o],u=e.indexes[c][s[c]],h=e.values[u]??0;a[o]=h,s[c]++}return a}const Ek=(e,n)=>{const a=Bi.createTransformer(n),s=$r(e),o=$r(n);return s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length?Sh.has(e)&&!o.values.length||Sh.has(n)&&!s.values.length?wk(e,n):so(bS(Ck(s,o),o.values),a):uc(e,n)};function wS(e,n,a){return typeof e=="number"&&typeof n=="number"&&typeof a=="number"?$e(e,n,a):Tm(e)(e,n)}const jk=e=>{const n=({timestamp:a})=>e(a);return{start:(a=!0)=>Ge.update(n,a),stop:()=>Ui(n),now:()=>yt.isProcessing?yt.timestamp:St.now()}},SS=(e,n,a=10)=>{let s="";const o=Math.max(Math.round(n/a),2);for(let c=0;c<o;c++)s+=Math.round(e(c/(o-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},dc=2e4;function Am(e){let n=0;const a=50;let s=e.next(n);for(;!s.done&&n<dc;)n+=a,s=e.next(n);return n>=dc?1/0:n}function Tk(e,n=100,a){const s=a({...e,keyframes:[0,n]}),o=Math.min(Am(s),dc);return{type:"keyframes",ease:c=>s.next(o*c).value/n,duration:sn(o)}}const Ak=5;function NS(e,n,a){const s=Math.max(n-Ak,0);return tS(a-e(s),n-s)}const We={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},Of=.001;function Mk({duration:e=We.duration,bounce:n=We.bounce,velocity:a=We.velocity,mass:s=We.mass}){let o,c,u=1-n;u=zn(We.minDamping,We.maxDamping,u),e=zn(We.minDuration,We.maxDuration,sn(e)),u<1?(o=g=>{const y=g*u,v=y*e,w=y-a,S=Nh(g,u),E=Math.exp(-v);return Of-w/S*E},c=g=>{const v=g*u*e,w=v*a+a,S=Math.pow(u,2)*Math.pow(g,2)*e,E=Math.exp(-v),C=Nh(Math.pow(g,2),u);return(-o(g)+Of>0?-1:1)*((w-S)*E)/C}):(o=g=>{const y=Math.exp(-g*e),v=(g-a)*e+1;return-Of+y*v},c=g=>{const y=Math.exp(-g*e),v=(a-g)*(e*e);return y*v});const h=5/e,p=zk(o,c,h);if(e=Jn(e),isNaN(p))return{stiffness:We.stiffness,damping:We.damping,duration:e};{const g=Math.pow(p,2)*s;return{stiffness:g,damping:u*2*Math.sqrt(s*g),duration:e}}}const Rk=12;function zk(e,n,a){let s=a;for(let o=1;o<Rk;o++)s=s-e(s)/n(s);return s}function Nh(e,n){return e*Math.sqrt(1-n*n)}const Dk=["duration","bounce"],Ok=["stiffness","damping","mass"];function Eb(e,n){return n.some(a=>e[a]!==void 0)}function kk(e){let n={velocity:We.velocity,stiffness:We.stiffness,damping:We.damping,mass:We.mass,isResolvedFromDuration:!1,...e};if(!Eb(e,Ok)&&Eb(e,Dk))if(e.visualDuration){const a=e.visualDuration,s=2*Math.PI/(a*1.2),o=s*s,c=2*zn(.05,1,1-(e.bounce||0))*Math.sqrt(o);n={...n,mass:We.mass,stiffness:o,damping:c}}else{const a=Mk(e);n={...n,...a,mass:We.mass},n.isResolvedFromDuration=!0}return n}function fc(e=We.visualDuration,n=We.bounce){const a=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:n}:e;let{restSpeed:s,restDelta:o}=a;const c=a.keyframes[0],u=a.keyframes[a.keyframes.length-1],h={done:!1,value:c},{stiffness:p,damping:g,mass:y,duration:v,velocity:w,isResolvedFromDuration:S}=kk({...a,velocity:-sn(a.velocity||0)}),E=w||0,C=g/(2*Math.sqrt(p*y)),j=u-c,T=sn(Math.sqrt(p/y)),z=Math.abs(j)<5;s||(s=z?We.restSpeed.granular:We.restSpeed.default),o||(o=z?We.restDelta.granular:We.restDelta.default);let R;if(C<1){const L=Nh(T,C);R=K=>{const I=Math.exp(-C*T*K);return u-I*((E+C*T*j)/L*Math.sin(L*K)+j*Math.cos(L*K))}}else if(C===1)R=L=>u-Math.exp(-T*L)*(j+(E+T*j)*L);else{const L=T*Math.sqrt(C*C-1);R=K=>{const I=Math.exp(-C*T*K),_=Math.min(L*K,300);return u-I*((E+C*T*j)*Math.sinh(_)+L*j*Math.cosh(_))/L}}const k={calculatedDuration:S&&v||null,next:L=>{const K=R(L);if(S)h.done=L>=v;else{let I=L===0?E:0;C<1&&(I=L===0?Jn(E):NS(R,L,K));const _=Math.abs(I)<=s,Q=Math.abs(u-K)<=o;h.done=_&&Q}return h.value=h.done?u:K,h},toString:()=>{const L=Math.min(Am(k),dc),K=SS(I=>k.next(L*I).value,L,30);return L+"ms "+K},toTransition:()=>{}};return k}fc.applyToOptions=e=>{const n=Tk(e,100,fc);return e.ease=n.ease,e.duration=Jn(n.duration),e.type="keyframes",e};function Ch({keyframes:e,velocity:n=0,power:a=.8,timeConstant:s=325,bounceDamping:o=10,bounceStiffness:c=500,modifyTarget:u,min:h,max:p,restDelta:g=.5,restSpeed:y}){const v=e[0],w={done:!1,value:v},S=_=>h!==void 0&&_<h||p!==void 0&&_>p,E=_=>h===void 0?p:p===void 0||Math.abs(h-_)<Math.abs(p-_)?h:p;let C=a*n;const j=v+C,T=u===void 0?j:u(j);T!==j&&(C=T-v);const z=_=>-C*Math.exp(-_/s),R=_=>T+z(_),k=_=>{const Q=z(_),J=R(_);w.done=Math.abs(Q)<=g,w.value=w.done?T:J};let L,K;const I=_=>{S(w.value)&&(L=_,K=fc({keyframes:[w.value,E(w.value)],velocity:NS(R,_,w.value),damping:o,stiffness:c,restDelta:g,restSpeed:y}))};return I(0),{calculatedDuration:null,next:_=>{let Q=!1;return!K&&L===void 0&&(Q=!0,k(_),I(_)),L!==void 0&&_>=L?K.next(_-L):(!Q&&k(_),w)}}}function Pk(e,n,a){const s=[],o=a||ai.mix||wS,c=e.length-1;for(let u=0;u<c;u++){let h=o(e[u],e[u+1]);if(n){const p=Array.isArray(n)?n[u]||rn:n;h=so(p,h)}s.push(h)}return s}function Lk(e,n,{clamp:a=!0,ease:s,mixer:o}={}){const c=e.length;if(xm(c===n.length),c===1)return()=>n[0];if(c===2&&n[0]===n[1])return()=>n[1];const u=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),n=[...n].reverse());const h=Pk(n,s,o),p=h.length,g=y=>{if(u&&y<e[0])return n[0];let v=0;if(p>1)for(;v<e.length-2&&!(y<e[v+1]);v++);const w=Kr(e[v],e[v+1],y);return h[v](w)};return a?y=>g(zn(e[0],e[c-1],y)):g}function _k(e,n){const a=e[e.length-1];for(let s=1;s<=n;s++){const o=Kr(0,n,s);e.push($e(a,1,o))}}function Vk(e){const n=[0];return _k(n,e.length-1),n}function Uk(e,n){return e.map(a=>a*n)}function Bk(e,n){return e.map(()=>n||uS).splice(0,e.length-1)}function Pr({duration:e=300,keyframes:n,times:a,ease:s="easeInOut"}){const o=WO(s)?s.map(xb):xb(s),c={done:!1,value:n[0]},u=Uk(a&&a.length===n.length?a:Vk(n),e),h=Lk(u,n,{ease:Array.isArray(o)?o:Bk(n,o)});return{calculatedDuration:e,next:p=>(c.value=h(p),c.done=p>=e,c)}}const Ik=e=>e!==null;function Mm(e,{repeat:n,repeatType:a="loop"},s,o=1){const c=e.filter(Ik),h=o<0||n&&a!=="loop"&&n%2===1?0:c.length-1;return!h||s===void 0?c[h]:s}const Fk={decay:Ch,inertia:Ch,tween:Pr,keyframes:Pr,spring:fc};function CS(e){typeof e.type=="string"&&(e.type=Fk[e.type])}class Rm{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(n=>{this.resolve=n})}notifyFinished(){this.resolve()}then(n,a){return this.finished.then(n,a)}}const Hk=e=>e/100;class zm extends Rm{constructor(n){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:a}=this.options;a&&a.updatedAt!==St.now()&&this.tick(St.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=n,this.initAnimation(),this.play(),n.autoplay===!1&&this.pause()}initAnimation(){const{options:n}=this;CS(n);const{type:a=Pr,repeat:s=0,repeatDelay:o=0,repeatType:c,velocity:u=0}=n;let{keyframes:h}=n;const p=a||Pr;p!==Pr&&typeof h[0]!="number"&&(this.mixKeyframes=so(Hk,wS(h[0],h[1])),h=[0,100]);const g=p({...n,keyframes:h});c==="mirror"&&(this.mirroredGenerator=p({...n,keyframes:[...h].reverse(),velocity:-u})),g.calculatedDuration===null&&(g.calculatedDuration=Am(g));const{calculatedDuration:y}=g;this.calculatedDuration=y,this.resolvedDuration=y+o,this.totalDuration=this.resolvedDuration*(s+1)-o,this.generator=g}updateTime(n){const a=Math.round(n-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=a}tick(n,a=!1){const{generator:s,totalDuration:o,mixKeyframes:c,mirroredGenerator:u,resolvedDuration:h,calculatedDuration:p}=this;if(this.startTime===null)return s.next(0);const{delay:g=0,keyframes:y,repeat:v,repeatType:w,repeatDelay:S,type:E,onUpdate:C,finalKeyframe:j}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,n):this.speed<0&&(this.startTime=Math.min(n-o/this.speed,this.startTime)),a?this.currentTime=n:this.updateTime(n);const T=this.currentTime-g*(this.playbackSpeed>=0?1:-1),z=this.playbackSpeed>=0?T<0:T>o;this.currentTime=Math.max(T,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let R=this.currentTime,k=s;if(v){const _=Math.min(this.currentTime,o)/h;let Q=Math.floor(_),J=_%1;!J&&_>=1&&(J=1),J===1&&Q--,Q=Math.min(Q,v+1),Q%2&&(w==="reverse"?(J=1-J,S&&(J-=S/h)):w==="mirror"&&(k=u)),R=zn(0,1,J)*h}const L=z?{done:!1,value:y[0]}:k.next(R);c&&(L.value=c(L.value));let{done:K}=L;!z&&p!==null&&(K=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const I=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&K);return I&&E!==Ch&&(L.value=Mm(y,this.options,j,this.speed)),C&&C(L.value),I&&this.finish(),L}then(n,a){return this.finished.then(n,a)}get duration(){return sn(this.calculatedDuration)}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+sn(n)}get time(){return sn(this.currentTime)}set time(n){n=Jn(n),this.currentTime=n,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=n:this.driver&&(this.startTime=this.driver.now()-n/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(n){this.updateTime(St.now());const a=this.playbackSpeed!==n;this.playbackSpeed=n,a&&(this.time=sn(this.currentTime))}play(){if(this.isStopped)return;const{driver:n=jk,startTime:a}=this.options;this.driver||(this.driver=n(o=>this.tick(o))),this.options.onPlay?.();const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=a??s),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(St.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(n){return this.startTime=0,this.tick(n,!0)}attachTimeline(n){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),n.observe(this)}}function qk(e){for(let n=1;n<e.length;n++)e[n]??(e[n]=e[n-1])}const pa=e=>e*180/Math.PI,Eh=e=>{const n=pa(Math.atan2(e[1],e[0]));return jh(n)},Gk={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Eh,rotateZ:Eh,skewX:e=>pa(Math.atan(e[1])),skewY:e=>pa(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},jh=e=>(e=e%360,e<0&&(e+=360),e),jb=Eh,Tb=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Ab=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Kk={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Tb,scaleY:Ab,scale:e=>(Tb(e)+Ab(e))/2,rotateX:e=>jh(pa(Math.atan2(e[6],e[5]))),rotateY:e=>jh(pa(Math.atan2(-e[2],e[0]))),rotateZ:jb,rotate:jb,skewX:e=>pa(Math.atan(e[4])),skewY:e=>pa(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Th(e){return e.includes("scale")?1:0}function Ah(e,n){if(!e||e==="none")return Th(n);const a=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,o;if(a)s=Kk,o=a;else{const h=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=Gk,o=h}if(!o)return Th(n);const c=s[n],u=o[1].split(",").map($k);return typeof c=="function"?c(u):u[c]}const Yk=(e,n)=>{const{transform:a="none"}=getComputedStyle(e);return Ah(a,n)};function $k(e){return parseFloat(e.trim())}const Ms=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Rs=new Set(Ms),Mb=e=>e===As||e===se,Xk=new Set(["x","y","z"]),Qk=Ms.filter(e=>!Xk.has(e));function Wk(e){const n=[];return Qk.forEach(a=>{const s=e.getValue(a);s!==void 0&&(n.push([a,s.get()]),s.set(a.startsWith("scale")?1:0))}),n}const Li={width:({x:e},{paddingLeft:n="0",paddingRight:a="0"})=>e.max-e.min-parseFloat(n)-parseFloat(a),height:({y:e},{paddingTop:n="0",paddingBottom:a="0"})=>e.max-e.min-parseFloat(n)-parseFloat(a),top:(e,{top:n})=>parseFloat(n),left:(e,{left:n})=>parseFloat(n),bottom:({y:e},{top:n})=>parseFloat(n)+(e.max-e.min),right:({x:e},{left:n})=>parseFloat(n)+(e.max-e.min),x:(e,{transform:n})=>Ah(n,"x"),y:(e,{transform:n})=>Ah(n,"y")};Li.translateX=Li.x;Li.translateY=Li.y;const ga=new Set;let Mh=!1,Rh=!1,zh=!1;function ES(){if(Rh){const e=Array.from(ga).filter(s=>s.needsMeasurement),n=new Set(e.map(s=>s.element)),a=new Map;n.forEach(s=>{const o=Wk(s);o.length&&(a.set(s,o),s.render())}),e.forEach(s=>s.measureInitialState()),n.forEach(s=>{s.render();const o=a.get(s);o&&o.forEach(([c,u])=>{s.getValue(c)?.set(u)})}),e.forEach(s=>s.measureEndState()),e.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}Rh=!1,Mh=!1,ga.forEach(e=>e.complete(zh)),ga.clear()}function jS(){ga.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Rh=!0)})}function Zk(){zh=!0,jS(),ES(),zh=!1}class Dm{constructor(n,a,s,o,c,u=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...n],this.onComplete=a,this.name=s,this.motionValue=o,this.element=c,this.isAsync=u}scheduleResolve(){this.state="scheduled",this.isAsync?(ga.add(this),Mh||(Mh=!0,Ge.read(jS),Ge.resolveKeyframes(ES))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:n,name:a,element:s,motionValue:o}=this;if(n[0]===null){const c=o?.get(),u=n[n.length-1];if(c!==void 0)n[0]=c;else if(s&&a){const h=s.readValue(a,u);h!=null&&(n[0]=h)}n[0]===void 0&&(n[0]=u),o&&c===void 0&&o.set(n[0])}qk(n)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(n=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,n),ga.delete(this)}cancel(){this.state==="scheduled"&&(ga.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Jk=e=>e.startsWith("--");function e3(e,n,a){Jk(n)?e.style.setProperty(n,a):e.style[n]=a}const t3=bm(()=>window.ScrollTimeline!==void 0),n3={};function i3(e,n){const a=bm(e);return()=>n3[n]??a()}const TS=i3(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ar=([e,n,a,s])=>`cubic-bezier(${e}, ${n}, ${a}, ${s})`,Rb={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ar([0,.65,.55,1]),circOut:Ar([.55,0,1,.45]),backIn:Ar([.31,.01,.66,-.59]),backOut:Ar([.33,1.53,.69,.99])};function AS(e,n){if(e)return typeof e=="function"?TS()?SS(e,n):"ease-out":dS(e)?Ar(e):Array.isArray(e)?e.map(a=>AS(a,n)||Rb.easeOut):Rb[e]}function a3(e,n,a,{delay:s=0,duration:o=300,repeat:c=0,repeatType:u="loop",ease:h="easeOut",times:p}={},g=void 0){const y={[n]:a};p&&(y.offset=p);const v=AS(h,o);Array.isArray(v)&&(y.easing=v);const w={delay:s,duration:o,easing:Array.isArray(v)?"linear":v,fill:"both",iterations:c+1,direction:u==="reverse"?"alternate":"normal"};return g&&(w.pseudoElement=g),e.animate(y,w)}function MS(e){return typeof e=="function"&&"applyToOptions"in e}function s3({type:e,...n}){return MS(e)&&TS()?e.applyToOptions(n):(n.duration??(n.duration=300),n.ease??(n.ease="easeOut"),n)}class r3 extends Rm{constructor(n){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!n)return;const{element:a,name:s,keyframes:o,pseudoElement:c,allowFlatten:u=!1,finalKeyframe:h,onComplete:p}=n;this.isPseudoElement=!!c,this.allowFlatten=u,this.options=n,xm(typeof n.type!="string");const g=s3(n);this.animation=a3(a,s,o,g,c),g.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!c){const y=Mm(o,this.options,h,this.speed);this.updateMotionValue?this.updateMotionValue(y):e3(a,s,y),this.animation.cancel()}p?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,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:n}=this;n==="idle"||n==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const n=this.animation.effect?.getComputedTiming?.().duration||0;return sn(Number(n))}get iterationDuration(){const{delay:n=0}=this.options||{};return this.duration+sn(n)}get time(){return sn(Number(this.animation.currentTime)||0)}set time(n){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Jn(n)}get speed(){return this.animation.playbackRate}set speed(n){n<0&&(this.finishedTime=null),this.animation.playbackRate=n}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(n){this.manualStartTime=this.animation.startTime=n}attachTimeline({timeline:n,observe:a}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,n&&t3()?(this.animation.timeline=n,rn):a(this)}}const RS={anticipate:oS,backInOut:rS,circInOut:cS};function o3(e){return e in RS}function l3(e){typeof e.ease=="string"&&o3(e.ease)&&(e.ease=RS[e.ease])}const kf=10;class c3 extends r3{constructor(n){l3(n),CS(n),super(n),n.startTime!==void 0&&(this.startTime=n.startTime),this.options=n}updateMotionValue(n){const{motionValue:a,onUpdate:s,onComplete:o,element:c,...u}=this.options;if(!a)return;if(n!==void 0){a.set(n);return}const h=new zm({...u,autoplay:!1}),p=Math.max(kf,St.now()-this.startTime),g=zn(0,kf,p-kf);a.setWithVelocity(h.sample(Math.max(0,p-g)).value,h.sample(p).value,g),h.stop()}}const zb=(e,n)=>n==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Bi.test(e)||e==="0")&&!e.startsWith("url("));function u3(e){const n=e[0];if(e.length===1)return!0;for(let a=0;a<e.length;a++)if(e[a]!==n)return!0}function d3(e,n,a,s){const o=e[0];if(o===null)return!1;if(n==="display"||n==="visibility")return!0;const c=e[e.length-1],u=zb(o,n),h=zb(c,n);return!u||!h?!1:u3(e)||(a==="spring"||MS(a))&&s}function Dh(e){e.duration=0,e.type="keyframes"}const f3=new Set(["opacity","clipPath","filter","transform"]),h3=bm(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function m3(e){const{motionValue:n,name:a,repeatDelay:s,repeatType:o,damping:c,type:u}=e;if(!(n?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:p,transformTemplate:g}=n.owner.getProps();return h3()&&a&&f3.has(a)&&(a!=="transform"||!g)&&!p&&!s&&o!=="mirror"&&c!==0&&u!=="inertia"}const p3=40;class g3 extends Rm{constructor({autoplay:n=!0,delay:a=0,type:s="keyframes",repeat:o=0,repeatDelay:c=0,repeatType:u="loop",keyframes:h,name:p,motionValue:g,element:y,...v}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=St.now();const w={autoplay:n,delay:a,type:s,repeat:o,repeatDelay:c,repeatType:u,name:p,motionValue:g,element:y,...v},S=y?.KeyframeResolver||Dm;this.keyframeResolver=new S(h,(E,C,j)=>this.onKeyframesResolved(E,C,w,!j),p,g,y),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(n,a,s,o){this.keyframeResolver=void 0;const{name:c,type:u,velocity:h,delay:p,isHandoff:g,onUpdate:y}=s;this.resolvedAt=St.now(),d3(n,c,u,h)||((ai.instantAnimations||!p)&&y?.(Mm(n,s,a)),n[0]=n[n.length-1],Dh(s),s.repeat=0);const w={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>p3?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:a,...s,keyframes:n},S=!g&&m3(w)?new c3({...w,element:w.motionValue.owner.current}):new zm(w);S.finished.then(()=>this.notifyFinished()).catch(rn),this.pendingTimeline&&(this.stopTimeline=S.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=S}get finished(){return this._animation?this.animation.finished:this._finished}then(n,a){return this.finished.finally(n).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Zk()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(n){this.animation.time=n}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(n){this.animation.speed=n}get startTime(){return this.animation.startTime}attachTimeline(n){return this._animation?this.stopTimeline=this.animation.attachTimeline(n):this.pendingTimeline=n,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const y3=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function v3(e){const n=y3.exec(e);if(!n)return[,];const[,a,s,o]=n;return[`--${a??s}`,o]}function zS(e,n,a=1){const[s,o]=v3(e);if(!s)return;const c=window.getComputedStyle(n).getPropertyValue(s);if(c){const u=c.trim();return Zw(u)?parseFloat(u):u}return Cm(o)?zS(o,n,a+1):o}function Om(e,n){return e?.[n]??e?.default??e}const x3={type:"spring",stiffness:500,damping:25,restSpeed:10},b3=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),w3={type:"keyframes",duration:.8},S3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},N3=(e,{keyframes:n})=>n.length>2?w3:Rs.has(e)?e.startsWith("scale")?b3(n[1]):x3:S3;function C3({when:e,delay:n,delayChildren:a,staggerChildren:s,staggerDirection:o,repeat:c,repeatType:u,repeatDelay:h,from:p,elapsed:g,...y}){return!!Object.keys(y).length}const E3=e=>e!==null;function j3(e,{repeat:n,repeatType:a="loop"},s){const o=e.filter(E3),c=n&&a!=="loop"&&n%2===1?0:o.length-1;return o[c]}function DS(e,n,a,s=0,o=1){const c=Array.from(e).sort((g,y)=>g.sortNodePosition(y)).indexOf(n),u=e.size,h=(u-1)*s;return typeof a=="function"?a(c,u):o===1?c*s:h-c*s}const km=(e,n,a,s={},o,c)=>u=>{const h=Om(s,e)||{},p=h.delay||s.delay||0;let{elapsed:g=0}=s;g=g-Jn(p);const y={keyframes:Array.isArray(a)?a:[null,a],ease:"easeOut",velocity:n.getVelocity(),...h,delay:-g,onUpdate:w=>{n.set(w),h.onUpdate&&h.onUpdate(w)},onComplete:()=>{u(),h.onComplete&&h.onComplete()},name:e,motionValue:n,element:c?void 0:o};C3(h)||Object.assign(y,N3(e,y)),y.duration&&(y.duration=Jn(y.duration)),y.repeatDelay&&(y.repeatDelay=Jn(y.repeatDelay)),y.from!==void 0&&(y.keyframes[0]=y.from);let v=!1;if((y.type===!1||y.duration===0&&!y.repeatDelay)&&(Dh(y),y.delay===0&&(v=!0)),(ai.instantAnimations||ai.skipAnimations)&&(v=!0,Dh(y),y.delay=0),y.allowFlatten=!h.type&&!h.ease,v&&!c&&n.get()!==void 0){const w=j3(y.keyframes,h);if(w!==void 0){Ge.update(()=>{y.onUpdate(w),y.onComplete()});return}}return h.isSync?new zm(y):new g3(y)},OS=new Set(["width","height","top","left","right","bottom",...Ms]),Db=30,T3=e=>!isNaN(parseFloat(e));class A3{constructor(n,a={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{const o=St.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const c of this.dependents)c.dirty()},this.hasAnimated=!1,this.setCurrent(n),this.owner=a.owner}setCurrent(n){this.current=n,this.updatedAt=St.now(),this.canTrackVelocity===null&&n!==void 0&&(this.canTrackVelocity=T3(this.current))}setPrevFrameValue(n=this.current){this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt}onChange(n){return this.on("change",n)}on(n,a){this.events[n]||(this.events[n]=new wm);const s=this.events[n].add(a);return n==="change"?()=>{s(),Ge.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const n in this.events)this.events[n].clear()}attach(n,a){this.passiveEffect=n,this.stopPassiveEffect=a}set(n){this.passiveEffect?this.passiveEffect(n,this.updateAndNotify):this.updateAndNotify(n)}setWithVelocity(n,a,s){this.set(a),this.prev=void 0,this.prevFrameValue=n,this.prevUpdatedAt=this.updatedAt-s}jump(n,a=!0){this.updateAndNotify(n),this.prev=n,this.prevUpdatedAt=this.prevFrameValue=void 0,a&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(n){this.dependents||(this.dependents=new Set),this.dependents.add(n)}removeDependent(n){this.dependents&&this.dependents.delete(n)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const n=St.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||n-this.updatedAt>Db)return 0;const a=Math.min(this.updatedAt-this.prevUpdatedAt,Db);return tS(parseFloat(this.current)-parseFloat(this.prevFrameValue),a)}start(n){return this.stop(),new Promise(a=>{this.hasAnimated=!0,this.animation=n(a),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 Ss(e,n){return new A3(e,n)}function Ob(e){const n=[{},{}];return e?.values.forEach((a,s)=>{n[0][s]=a.get(),n[1][s]=a.getVelocity()}),n}function Pm(e,n,a,s){if(typeof n=="function"){const[o,c]=Ob(s);n=n(a!==void 0?a:e.custom,o,c)}if(typeof n=="string"&&(n=e.variants&&e.variants[n]),typeof n=="function"){const[o,c]=Ob(s);n=n(a!==void 0?a:e.custom,o,c)}return n}function ys(e,n,a){const s=e.getProps();return Pm(s,n,a!==void 0?a:s.custom,e)}const Oh=e=>Array.isArray(e);function M3(e,n,a){e.hasValue(n)?e.getValue(n).set(a):e.addValue(n,Ss(a))}function R3(e){return Oh(e)?e[e.length-1]||0:e}function z3(e,n){const a=ys(e,n);let{transitionEnd:s={},transition:o={},...c}=a||{};c={...c,...s};for(const u in c){const h=R3(c[u]);M3(e,u,h)}}const xt=e=>!!(e&&e.getVelocity);function D3(e){return!!(xt(e)&&e.add)}function kh(e,n){const a=e.getValue("willChange");if(D3(a))return a.add(n);if(!a&&ai.WillChange){const s=new ai.WillChange("auto");e.addValue("willChange",s),s.add(n)}}function Lm(e){return e.replace(/([A-Z])/g,n=>`-${n.toLowerCase()}`)}const O3="framerAppearId",kS="data-"+Lm(O3);function PS(e){return e.props[kS]}function k3({protectedKeys:e,needsAnimating:n},a){const s=e.hasOwnProperty(a)&&n[a]!==!0;return n[a]=!1,s}function LS(e,n,{delay:a=0,transitionOverride:s,type:o}={}){let{transition:c=e.getDefaultTransition(),transitionEnd:u,...h}=n;s&&(c=s);const p=[],g=o&&e.animationState&&e.animationState.getState()[o];for(const y in h){const v=e.getValue(y,e.latestValues[y]??null),w=h[y];if(w===void 0||g&&k3(g,y))continue;const S={delay:a,...Om(c||{},y)},E=v.get();if(E!==void 0&&!v.isAnimating&&!Array.isArray(w)&&w===E&&!S.velocity)continue;let C=!1;if(window.MotionHandoffAnimation){const T=PS(e);if(T){const z=window.MotionHandoffAnimation(T,y,Ge);z!==null&&(S.startTime=z,C=!0)}}kh(e,y),v.start(km(y,v,w,e.shouldReduceMotion&&OS.has(y)?{type:!1}:S,e,C));const j=v.animation;j&&p.push(j)}return u&&Promise.all(p).then(()=>{Ge.update(()=>{u&&z3(e,u)})}),p}function Ph(e,n,a={}){const s=ys(e,n,a.type==="exit"?e.presenceContext?.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=s||{};a.transitionOverride&&(o=a.transitionOverride);const c=s?()=>Promise.all(LS(e,s,a)):()=>Promise.resolve(),u=e.variantChildren&&e.variantChildren.size?(p=0)=>{const{delayChildren:g=0,staggerChildren:y,staggerDirection:v}=o;return P3(e,n,p,g,y,v,a)}:()=>Promise.resolve(),{when:h}=o;if(h){const[p,g]=h==="beforeChildren"?[c,u]:[u,c];return p().then(()=>g())}else return Promise.all([c(),u(a.delay)])}function P3(e,n,a=0,s=0,o=0,c=1,u){const h=[];for(const p of e.variantChildren)p.notify("AnimationStart",n),h.push(Ph(p,n,{...u,delay:a+(typeof s=="function"?0:s)+DS(e.variantChildren,p,s,o,c)}).then(()=>p.notify("AnimationComplete",n)));return Promise.all(h)}function L3(e,n,a={}){e.notify("AnimationStart",n);let s;if(Array.isArray(n)){const o=n.map(c=>Ph(e,c,a));s=Promise.all(o)}else if(typeof n=="string")s=Ph(e,n,a);else{const o=typeof n=="function"?ys(e,n,a.custom):n;s=Promise.all(LS(e,o,a))}return s.then(()=>{e.notify("AnimationComplete",n)})}const _3={test:e=>e==="auto",parse:e=>e},_S=e=>n=>n.test(e),VS=[As,se,Mn,Oi,uk,ck,_3],kb=e=>VS.find(_S(e));function V3(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||eS(e):!0}const U3=new Set(["brightness","contrast","saturate","opacity"]);function B3(e){const[n,a]=e.slice(0,-1).split("(");if(n==="drop-shadow")return e;const[s]=a.match(Em)||[];if(!s)return e;const o=a.replace(s,"");let c=U3.has(n)?1:0;return s!==a&&(c*=100),n+"("+c+o+")"}const I3=/\b([a-z-]*)\(.*?\)/gu,Lh={...Bi,getAnimatableNone:e=>{const n=e.match(I3);return n?n.map(B3).join(" "):e}},Pb={...As,transform:Math.round},F3={rotate:Oi,rotateX:Oi,rotateY:Oi,rotateZ:Oi,scale:Vl,scaleX:Vl,scaleY:Vl,scaleZ:Vl,skew:Oi,skewX:Oi,skewY:Oi,distance:se,translateX:se,translateY:se,translateZ:se,x:se,y:se,z:se,perspective:se,transformPerspective:se,opacity:Yr,originX:wb,originY:wb,originZ:se},_m={borderWidth:se,borderTopWidth:se,borderRightWidth:se,borderBottomWidth:se,borderLeftWidth:se,borderRadius:se,radius:se,borderTopLeftRadius:se,borderTopRightRadius:se,borderBottomRightRadius:se,borderBottomLeftRadius:se,width:se,maxWidth:se,height:se,maxHeight:se,top:se,right:se,bottom:se,left:se,inset:se,insetBlock:se,insetBlockStart:se,insetBlockEnd:se,insetInline:se,insetInlineStart:se,insetInlineEnd:se,padding:se,paddingTop:se,paddingRight:se,paddingBottom:se,paddingLeft:se,paddingBlock:se,paddingBlockStart:se,paddingBlockEnd:se,paddingInline:se,paddingInlineStart:se,paddingInlineEnd:se,margin:se,marginTop:se,marginRight:se,marginBottom:se,marginLeft:se,marginBlock:se,marginBlockStart:se,marginBlockEnd:se,marginInline:se,marginInlineStart:se,marginInlineEnd:se,backgroundPositionX:se,backgroundPositionY:se,...F3,zIndex:Pb,fillOpacity:Yr,strokeOpacity:Yr,numOctaves:Pb},H3={..._m,color:st,backgroundColor:st,outlineColor:st,fill:st,stroke:st,borderColor:st,borderTopColor:st,borderRightColor:st,borderBottomColor:st,borderLeftColor:st,filter:Lh,WebkitFilter:Lh},US=e=>H3[e];function BS(e,n){let a=US(e);return a!==Lh&&(a=Bi),a.getAnimatableNone?a.getAnimatableNone(n):void 0}const q3=new Set(["auto","none","0"]);function G3(e,n,a){let s=0,o;for(;s<e.length&&!o;){const c=e[s];typeof c=="string"&&!q3.has(c)&&$r(c).values.length&&(o=e[s]),s++}if(o&&a)for(const c of n)e[c]=BS(a,o)}class K3 extends Dm{constructor(n,a,s,o,c){super(n,a,s,o,c,!0)}readKeyframes(){const{unresolvedKeyframes:n,element:a,name:s}=this;if(!a||!a.current)return;super.readKeyframes();for(let y=0;y<n.length;y++){let v=n[y];if(typeof v=="string"&&(v=v.trim(),Cm(v))){const w=zS(v,a.current);w!==void 0&&(n[y]=w),y===n.length-1&&(this.finalKeyframe=v)}}if(this.resolveNoneKeyframes(),!OS.has(s)||n.length!==2)return;const[o,c]=n,u=kb(o),h=kb(c),p=bb(o),g=bb(c);if(p!==g&&Li[s]){this.needsMeasurement=!0;return}if(u!==h)if(Mb(u)&&Mb(h))for(let y=0;y<n.length;y++){const v=n[y];typeof v=="string"&&(n[y]=parseFloat(v))}else Li[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:n,name:a}=this,s=[];for(let o=0;o<n.length;o++)(n[o]===null||V3(n[o]))&&s.push(o);s.length&&G3(n,s,a)}measureInitialState(){const{element:n,unresolvedKeyframes:a,name:s}=this;if(!n||!n.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Li[s](n.measureViewportBox(),window.getComputedStyle(n.current)),a[0]=this.measuredOrigin;const o=a[a.length-1];o!==void 0&&n.getValue(s,o).jump(o,!1)}measureEndState(){const{element:n,name:a,unresolvedKeyframes:s}=this;if(!n||!n.current)return;const o=n.getValue(a);o&&o.jump(this.measuredOrigin,!1);const c=s.length-1,u=s[c];s[c]=Li[a](n.measureViewportBox(),window.getComputedStyle(n.current)),u!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=u),this.removedTransforms?.length&&this.removedTransforms.forEach(([h,p])=>{n.getValue(h).set(p)}),this.resolveNoneKeyframes()}}function Y3(e,n,a){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let s=document;const o=a?.[e]??s.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}const IS=(e,n)=>n&&typeof e=="number"?n.transform(e):e;function FS(e){return Jw(e)&&"offsetHeight"in e}const{schedule:Vm}=fS(queueMicrotask,!1),hn={x:!1,y:!1};function HS(){return hn.x||hn.y}function $3(e){return e==="x"||e==="y"?hn[e]?null:(hn[e]=!0,()=>{hn[e]=!1}):hn.x||hn.y?null:(hn.x=hn.y=!0,()=>{hn.x=hn.y=!1})}function qS(e,n){const a=Y3(e),s=new AbortController,o={passive:!0,...n,signal:s.signal};return[a,o,()=>s.abort()]}function Lb(e){return!(e.pointerType==="touch"||HS())}function X3(e,n,a={}){const[s,o,c]=qS(e,a),u=h=>{if(!Lb(h))return;const{target:p}=h,g=n(p,h);if(typeof g!="function"||!p)return;const y=v=>{Lb(v)&&(g(v),p.removeEventListener("pointerleave",y))};p.addEventListener("pointerleave",y,o)};return s.forEach(h=>{h.addEventListener("pointerenter",u,o)}),c}const GS=(e,n)=>n?e===n?!0:GS(e,n.parentElement):!1,Um=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Q3=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function KS(e){return Q3.has(e.tagName)||e.isContentEditable===!0}const Ql=new WeakSet;function _b(e){return n=>{n.key==="Enter"&&e(n)}}function Pf(e,n){e.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const W3=(e,n)=>{const a=e.currentTarget;if(!a)return;const s=_b(()=>{if(Ql.has(a))return;Pf(a,"down");const o=_b(()=>{Pf(a,"up")}),c=()=>Pf(a,"cancel");a.addEventListener("keyup",o,n),a.addEventListener("blur",c,n)});a.addEventListener("keydown",s,n),a.addEventListener("blur",()=>a.removeEventListener("keydown",s),n)};function Vb(e){return Um(e)&&!HS()}function Z3(e,n,a={}){const[s,o,c]=qS(e,a),u=h=>{const p=h.currentTarget;if(!Vb(h))return;Ql.add(p);const g=n(p,h),y=(S,E)=>{window.removeEventListener("pointerup",v),window.removeEventListener("pointercancel",w),Ql.has(p)&&Ql.delete(p),Vb(S)&&typeof g=="function"&&g(S,{success:E})},v=S=>{y(S,p===window||p===document||a.useGlobalTarget||GS(p,S.target))},w=S=>{y(S,!1)};window.addEventListener("pointerup",v,o),window.addEventListener("pointercancel",w,o)};return s.forEach(h=>{(a.useGlobalTarget?window:h).addEventListener("pointerdown",u,o),FS(h)&&(h.addEventListener("focus",g=>W3(g,o)),!KS(h)&&!h.hasAttribute("tabindex")&&(h.tabIndex=0))}),c}function YS(e){return Jw(e)&&"ownerSVGElement"in e}function J3(e){return YS(e)&&e.tagName==="svg"}const e4=[...VS,st,Bi],t4=e=>e4.find(_S(e)),Ub=()=>({translate:0,scale:1,origin:0,originPoint:0}),fs=()=>({x:Ub(),y:Ub()}),Bb=()=>({min:0,max:0}),lt=()=>({x:Bb(),y:Bb()}),_h={current:null},$S={current:!1},n4=typeof window<"u";function i4(){if($S.current=!0,!!n4)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),n=()=>_h.current=e.matches;e.addEventListener("change",n),n()}else _h.current=!1}const a4=new WeakMap;function Uc(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Xr(e){return typeof e=="string"||Array.isArray(e)}const Bm=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Im=["initial",...Bm];function Bc(e){return Uc(e.animate)||Im.some(n=>Xr(e[n]))}function XS(e){return!!(Bc(e)||e.variants)}function s4(e,n,a){for(const s in n){const o=n[s],c=a[s];if(xt(o))e.addValue(s,o);else if(xt(c))e.addValue(s,Ss(o,{owner:e}));else if(c!==o)if(e.hasValue(s)){const u=e.getValue(s);u.liveStyle===!0?u.jump(o):u.hasAnimated||u.set(o)}else{const u=e.getStaticValue(s);e.addValue(s,Ss(u!==void 0?u:o,{owner:e}))}}for(const s in a)n[s]===void 0&&e.removeValue(s);return n}const Ib=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let hc={};function QS(e){hc=e}function r4(){return hc}class o4{scrapeMotionValuesFromProps(n,a,s){return{}}constructor({parent:n,props:a,presenceContext:s,reducedMotionConfig:o,blockInitialAnimation:c,visualState:u},h={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Dm,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 w=St.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,Ge.render(this.render,!1,!0))};const{latestValues:p,renderState:g}=u;this.latestValues=p,this.baseTarget={...p},this.initialValues=a.initial?{...p}:{},this.renderState=g,this.parent=n,this.props=a,this.presenceContext=s,this.depth=n?n.depth+1:0,this.reducedMotionConfig=o,this.options=h,this.blockInitialAnimation=!!c,this.isControllingVariants=Bc(a),this.isVariantNode=XS(a),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(n&&n.current);const{willChange:y,...v}=this.scrapeMotionValuesFromProps(a,{},this);for(const w in v){const S=v[w];p[w]!==void 0&&xt(S)&&S.set(p[w])}}mount(n){this.current=n,a4.set(n,this),this.projection&&!this.projection.instance&&this.projection.mount(n),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,s)=>this.bindToMotionValue(s,a)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:($S.current||i4(),this.shouldReduceMotion=_h.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),Ui(this.notifyUpdate),Ui(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const a=this.features[n];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(n){this.children.add(n),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(n)}removeChild(n){this.children.delete(n),this.enteringChildren&&this.enteringChildren.delete(n)}bindToMotionValue(n,a){this.valueSubscriptions.has(n)&&this.valueSubscriptions.get(n)();const s=Rs.has(n);s&&this.onBindTransform&&this.onBindTransform();const o=a.on("change",u=>{this.latestValues[n]=u,this.props.onUpdate&&Ge.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let c;typeof window<"u"&&window.MotionCheckAppearSync&&(c=window.MotionCheckAppearSync(this,n,a)),this.valueSubscriptions.set(n,()=>{o(),c&&c(),a.owner&&a.stop()})}sortNodePosition(n){return!this.current||!this.sortInstanceNodePosition||this.type!==n.type?0:this.sortInstanceNodePosition(this.current,n.current)}updateFeatures(){let n="animation";for(n in hc){const a=hc[n];if(!a)continue;const{isEnabled:s,Feature:o}=a;if(!this.features[n]&&o&&s(this.props)&&(this.features[n]=new o(this)),this.features[n]){const c=this.features[n];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):lt()}getStaticValue(n){return this.latestValues[n]}setStaticValue(n,a){this.latestValues[n]=a}update(n,a){(n.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=n,this.prevPresenceContext=this.presenceContext,this.presenceContext=a;for(let s=0;s<Ib.length;s++){const o=Ib[s];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const c="on"+o,u=n[c];u&&(this.propEventSubscriptions[o]=this.on(o,u))}this.prevMotionValues=s4(this,this.scrapeMotionValuesFromProps(n,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(n){return this.props.variants?this.props.variants[n]: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(n){const a=this.getClosestVariantNode();if(a)return a.variantChildren&&a.variantChildren.add(n),()=>a.variantChildren.delete(n)}addValue(n,a){const s=this.values.get(n);a!==s&&(s&&this.removeValue(n),this.bindToMotionValue(n,a),this.values.set(n,a),this.latestValues[n]=a.get())}removeValue(n){this.values.delete(n);const a=this.valueSubscriptions.get(n);a&&(a(),this.valueSubscriptions.delete(n)),delete this.latestValues[n],this.removeValueFromRenderState(n,this.renderState)}hasValue(n){return this.values.has(n)}getValue(n,a){if(this.props.values&&this.props.values[n])return this.props.values[n];let s=this.values.get(n);return s===void 0&&a!==void 0&&(s=Ss(a===null?void 0:a,{owner:this}),this.addValue(n,s)),s}readValue(n,a){let s=this.latestValues[n]!==void 0||!this.current?this.latestValues[n]:this.getBaseTargetFromProps(this.props,n)??this.readValueFromInstance(this.current,n,this.options);return s!=null&&(typeof s=="string"&&(Zw(s)||eS(s))?s=parseFloat(s):!t4(s)&&Bi.test(a)&&(s=BS(n,a)),this.setBaseTarget(n,xt(s)?s.get():s)),xt(s)?s.get():s}setBaseTarget(n,a){this.baseTarget[n]=a}getBaseTarget(n){const{initial:a}=this.props;let s;if(typeof a=="string"||typeof a=="object"){const c=Pm(this.props,a,this.presenceContext?.custom);c&&(s=c[n])}if(a&&s!==void 0)return s;const o=this.getBaseTargetFromProps(this.props,n);return o!==void 0&&!xt(o)?o:this.initialValues[n]!==void 0&&s===void 0?void 0:this.baseTarget[n]}on(n,a){return this.events[n]||(this.events[n]=new wm),this.events[n].add(a)}notify(n,...a){this.events[n]&&this.events[n].notify(...a)}scheduleRenderMicrotask(){Vm.render(this.render)}}class qi{constructor(n){this.isMounted=!1,this.node=n}update(){}}class WS extends o4{constructor(){super(...arguments),this.KeyframeResolver=K3}sortInstanceNodePosition(n,a){return n.compareDocumentPosition(a)&2?1:-1}getBaseTargetFromProps(n,a){const s=n.style;return s?s[a]:void 0}removeValueFromRenderState(n,{vars:a,style:s}){delete a[n],delete s[n]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:n}=this.props;xt(n)&&(this.childSubscription=n.on("change",a=>{this.current&&(this.current.textContent=`${a}`)}))}}function ZS({top:e,left:n,right:a,bottom:s}){return{x:{min:n,max:a},y:{min:e,max:s}}}function l4({x:e,y:n}){return{top:n.min,right:e.max,bottom:n.max,left:e.min}}function c4(e,n){if(!n)return e;const a=n({x:e.left,y:e.top}),s=n({x:e.right,y:e.bottom});return{top:a.y,left:a.x,bottom:s.y,right:s.x}}function Lf(e){return e===void 0||e===1}function Vh({scale:e,scaleX:n,scaleY:a}){return!Lf(e)||!Lf(n)||!Lf(a)}function ha(e){return Vh(e)||JS(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function JS(e){return Fb(e.x)||Fb(e.y)}function Fb(e){return e&&e!=="0%"}function mc(e,n,a){const s=e-a,o=n*s;return a+o}function Hb(e,n,a,s,o){return o!==void 0&&(e=mc(e,o,s)),mc(e,a,s)+n}function Uh(e,n=0,a=1,s,o){e.min=Hb(e.min,n,a,s,o),e.max=Hb(e.max,n,a,s,o)}function eN(e,{x:n,y:a}){Uh(e.x,n.translate,n.scale,n.originPoint),Uh(e.y,a.translate,a.scale,a.originPoint)}const qb=.999999999999,Gb=1.0000000000001;function u4(e,n,a,s=!1){const o=a.length;if(!o)return;n.x=n.y=1;let c,u;for(let h=0;h<o;h++){c=a[h],u=c.projectionDelta;const{visualElement:p}=c.options;p&&p.props.style&&p.props.style.display==="contents"||(s&&c.options.layoutScroll&&c.scroll&&c!==c.root&&ms(e,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),u&&(n.x*=u.x.scale,n.y*=u.y.scale,eN(e,u)),s&&ha(c.latestValues)&&ms(e,c.latestValues))}n.x<Gb&&n.x>qb&&(n.x=1),n.y<Gb&&n.y>qb&&(n.y=1)}function hs(e,n){e.min=e.min+n,e.max=e.max+n}function Kb(e,n,a,s,o=.5){const c=$e(e.min,e.max,o);Uh(e,n,a,c,s)}function ms(e,n){Kb(e.x,n.x,n.scaleX,n.scale,n.originX),Kb(e.y,n.y,n.scaleY,n.scale,n.originY)}function tN(e,n){return ZS(c4(e.getBoundingClientRect(),n))}function d4(e,n,a){const s=tN(e,a),{scroll:o}=n;return o&&(hs(s.x,o.offset.x),hs(s.y,o.offset.y)),s}const f4={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},h4=Ms.length;function m4(e,n,a){let s="",o=!0;for(let c=0;c<h4;c++){const u=Ms[c],h=e[u];if(h===void 0)continue;let p=!0;if(typeof h=="number"?p=h===(u.startsWith("scale")?1:0):p=parseFloat(h)===0,!p||a){const g=IS(h,_m[u]);if(!p){o=!1;const y=f4[u]||u;s+=`${y}(${g}) `}a&&(n[u]=g)}}return s=s.trim(),a?s=a(n,o?"":s):o&&(s="none"),s}function Fm(e,n,a){const{style:s,vars:o,transformOrigin:c}=e;let u=!1,h=!1;for(const p in n){const g=n[p];if(Rs.has(p)){u=!0;continue}else if(mS(p)){o[p]=g;continue}else{const y=IS(g,_m[p]);p.startsWith("origin")?(h=!0,c[p]=y):s[p]=y}}if(n.transform||(u||a?s.transform=m4(n,e.transform,a):s.transform&&(s.transform="none")),h){const{originX:p="50%",originY:g="50%",originZ:y=0}=c;s.transformOrigin=`${p} ${g} ${y}`}}function nN(e,{style:n,vars:a},s,o){const c=e.style;let u;for(u in n)c[u]=n[u];o?.applyProjectionStyles(c,s);for(u in a)c.setProperty(u,a[u])}function Yb(e,n){return n.max===n.min?0:e/(n.max-n.min)*100}const Tr={correct:(e,n)=>{if(!n.target)return e;if(typeof e=="string")if(se.test(e))e=parseFloat(e);else return e;const a=Yb(e,n.target.x),s=Yb(e,n.target.y);return`${a}% ${s}%`}},p4={correct:(e,{treeScale:n,projectionDelta:a})=>{const s=e,o=Bi.parse(e);if(o.length>5)return s;const c=Bi.createTransformer(e),u=typeof o[0]!="number"?1:0,h=a.x.scale*n.x,p=a.y.scale*n.y;o[0+u]/=h,o[1+u]/=p;const g=$e(h,p,.5);return typeof o[2+u]=="number"&&(o[2+u]/=g),typeof o[3+u]=="number"&&(o[3+u]/=g),c(o)}},Bh={borderRadius:{...Tr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Tr,borderTopRightRadius:Tr,borderBottomLeftRadius:Tr,borderBottomRightRadius:Tr,boxShadow:p4};function iN(e,{layout:n,layoutId:a}){return Rs.has(e)||e.startsWith("origin")||(n||a!==void 0)&&(!!Bh[e]||e==="opacity")}function Hm(e,n,a){const s=e.style,o=n?.style,c={};if(!s)return c;for(const u in s)(xt(s[u])||o&&xt(o[u])||iN(u,e)||a?.getValue(u)?.liveStyle!==void 0)&&(c[u]=s[u]);return c}function g4(e){return window.getComputedStyle(e)}class y4 extends WS{constructor(){super(...arguments),this.type="html",this.renderInstance=nN}readValueFromInstance(n,a){if(Rs.has(a))return this.projection?.isProjecting?Th(a):Yk(n,a);{const s=g4(n),o=(mS(a)?s.getPropertyValue(a):s[a])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(n,{transformPagePoint:a}){return tN(n,a)}build(n,a,s){Fm(n,a,s.transformTemplate)}scrapeMotionValuesFromProps(n,a,s){return Hm(n,a,s)}}const v4={offset:"stroke-dashoffset",array:"stroke-dasharray"},x4={offset:"strokeDashoffset",array:"strokeDasharray"};function b4(e,n,a=1,s=0,o=!0){e.pathLength=1;const c=o?v4:x4;e[c.offset]=se.transform(-s);const u=se.transform(n),h=se.transform(a);e[c.array]=`${u} ${h}`}const w4=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function aN(e,{attrX:n,attrY:a,attrScale:s,pathLength:o,pathSpacing:c=1,pathOffset:u=0,...h},p,g,y){if(Fm(e,h,g),p){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:w}=e;v.transform&&(w.transform=v.transform,delete v.transform),(w.transform||v.transformOrigin)&&(w.transformOrigin=v.transformOrigin??"50% 50%",delete v.transformOrigin),w.transform&&(w.transformBox=y?.transformBox??"fill-box",delete v.transformBox);for(const S of w4)v[S]!==void 0&&(w[S]=v[S],delete v[S]);n!==void 0&&(v.x=n),a!==void 0&&(v.y=a),s!==void 0&&(v.scale=s),o!==void 0&&b4(v,o,c,u,!1)}const sN=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"]),rN=e=>typeof e=="string"&&e.toLowerCase()==="svg";function S4(e,n,a,s){nN(e,n,void 0,s);for(const o in n.attrs)e.setAttribute(sN.has(o)?o:Lm(o),n.attrs[o])}function oN(e,n,a){const s=Hm(e,n,a);for(const o in e)if(xt(e[o])||xt(n[o])){const c=Ms.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;s[c]=e[o]}return s}class N4 extends WS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=lt}getBaseTargetFromProps(n,a){return n[a]}readValueFromInstance(n,a){if(Rs.has(a)){const s=US(a);return s&&s.default||0}return a=sN.has(a)?a:Lm(a),n.getAttribute(a)}scrapeMotionValuesFromProps(n,a,s){return oN(n,a,s)}build(n,a,s){aN(n,a,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(n,a,s,o){S4(n,a,s,o)}mount(n){this.isSVGTag=rN(n.tagName),super.mount(n)}}const C4=Im.length;function lN(e){if(!e)return;if(!e.isControllingVariants){const a=e.parent?lN(e.parent)||{}:{};return e.props.initial!==void 0&&(a.initial=e.props.initial),a}const n={};for(let a=0;a<C4;a++){const s=Im[a],o=e.props[s];(Xr(o)||o===!1)&&(n[s]=o)}return n}function cN(e,n){if(!Array.isArray(n))return!1;const a=n.length;if(a!==e.length)return!1;for(let s=0;s<a;s++)if(n[s]!==e[s])return!1;return!0}const E4=[...Bm].reverse(),j4=Bm.length;function T4(e){return n=>Promise.all(n.map(({animation:a,options:s})=>L3(e,a,s)))}function A4(e){let n=T4(e),a=$b(),s=!0;const o=p=>(g,y)=>{const v=ys(e,y,p==="exit"?e.presenceContext?.custom:void 0);if(v){const{transition:w,transitionEnd:S,...E}=v;g={...g,...E,...S}}return g};function c(p){n=p(e)}function u(p){const{props:g}=e,y=lN(e.parent)||{},v=[],w=new Set;let S={},E=1/0;for(let j=0;j<j4;j++){const T=E4[j],z=a[T],R=g[T]!==void 0?g[T]:y[T],k=Xr(R),L=T===p?z.isActive:null;L===!1&&(E=j);let K=R===y[T]&&R!==g[T]&&k;if(K&&s&&e.manuallyAnimateOnMount&&(K=!1),z.protectedKeys={...S},!z.isActive&&L===null||!R&&!z.prevProp||Uc(R)||typeof R=="boolean")continue;const I=M4(z.prevProp,R);let _=I||T===p&&z.isActive&&!K&&k||j>E&&k,Q=!1;const J=Array.isArray(R)?R:[R];let ne=J.reduce(o(T),{});L===!1&&(ne={});const{prevResolvedValues:ie={}}=z,de={...ie,...ne},ee=q=>{_=!0,w.has(q)&&(Q=!0,w.delete(q)),z.needsAnimating[q]=!0;const V=e.getValue(q);V&&(V.liveStyle=!1)};for(const q in de){const V=ne[q],W=ie[q];if(S.hasOwnProperty(q))continue;let ue=!1;Oh(V)&&Oh(W)?ue=!cN(V,W):ue=V!==W,ue?V!=null?ee(q):w.add(q):V!==void 0&&w.has(q)?ee(q):z.protectedKeys[q]=!0}z.prevProp=R,z.prevResolvedValues=ne,z.isActive&&(S={...S,...ne}),s&&e.blockInitialAnimation&&(_=!1);const me=K&&I;_&&(!me||Q)&&v.push(...J.map(q=>{const V={type:T};if(typeof q=="string"&&s&&!me&&e.manuallyAnimateOnMount&&e.parent){const{parent:W}=e,ue=ys(W,q);if(W.enteringChildren&&ue){const{delayChildren:M}=ue.transition||{};V.delay=DS(W.enteringChildren,e,M)}}return{animation:q,options:V}}))}if(w.size){const j={};if(typeof g.initial!="boolean"){const T=ys(e,Array.isArray(g.initial)?g.initial[0]:g.initial);T&&T.transition&&(j.transition=T.transition)}w.forEach(T=>{const z=e.getBaseTarget(T),R=e.getValue(T);R&&(R.liveStyle=!0),j[T]=z??null}),v.push({animation:j})}let C=!!v.length;return s&&(g.initial===!1||g.initial===g.animate)&&!e.manuallyAnimateOnMount&&(C=!1),s=!1,C?n(v):Promise.resolve()}function h(p,g){if(a[p].isActive===g)return Promise.resolve();e.variantChildren?.forEach(v=>v.animationState?.setActive(p,g)),a[p].isActive=g;const y=u(p);for(const v in a)a[v].protectedKeys={};return y}return{animateChanges:u,setActive:h,setAnimateFunction:c,getState:()=>a,reset:()=>{a=$b()}}}function M4(e,n){return typeof n=="string"?n!==e:Array.isArray(n)?!cN(n,e):!1}function fa(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function $b(){return{animate:fa(!0),whileInView:fa(),whileHover:fa(),whileTap:fa(),whileDrag:fa(),whileFocus:fa(),exit:fa()}}const uN=1e-4,R4=1-uN,z4=1+uN,dN=.01,D4=0-dN,O4=0+dN;function Nt(e){return e.max-e.min}function k4(e,n,a){return Math.abs(e-n)<=a}function Xb(e,n,a,s=.5){e.origin=s,e.originPoint=$e(n.min,n.max,e.origin),e.scale=Nt(a)/Nt(n),e.translate=$e(a.min,a.max,e.origin)-e.originPoint,(e.scale>=R4&&e.scale<=z4||isNaN(e.scale))&&(e.scale=1),(e.translate>=D4&&e.translate<=O4||isNaN(e.translate))&&(e.translate=0)}function Lr(e,n,a,s){Xb(e.x,n.x,a.x,s?s.originX:void 0),Xb(e.y,n.y,a.y,s?s.originY:void 0)}function Qb(e,n,a){e.min=a.min+n.min,e.max=e.min+Nt(n)}function P4(e,n,a){Qb(e.x,n.x,a.x),Qb(e.y,n.y,a.y)}function Wb(e,n,a){e.min=n.min-a.min,e.max=e.min+Nt(n)}function pc(e,n,a){Wb(e.x,n.x,a.x),Wb(e.y,n.y,a.y)}function Zb(e,n,a,s,o){return e-=n,e=mc(e,1/a,s),o!==void 0&&(e=mc(e,1/o,s)),e}function L4(e,n=0,a=1,s=.5,o,c=e,u=e){if(Mn.test(n)&&(n=parseFloat(n),n=$e(u.min,u.max,n/100)-u.min),typeof n!="number")return;let h=$e(c.min,c.max,s);e===c&&(h-=n),e.min=Zb(e.min,n,a,h,o),e.max=Zb(e.max,n,a,h,o)}function Jb(e,n,[a,s,o],c,u){L4(e,n[a],n[s],n[o],n.scale,c,u)}const _4=["x","scaleX","originX"],V4=["y","scaleY","originY"];function e0(e,n,a,s){Jb(e.x,n,_4,a?a.x:void 0,s?s.x:void 0),Jb(e.y,n,V4,a?a.y:void 0,s?s.y:void 0)}function t0(e,n){e.min=n.min,e.max=n.max}function fn(e,n){t0(e.x,n.x),t0(e.y,n.y)}function n0(e,n){e.translate=n.translate,e.scale=n.scale,e.originPoint=n.originPoint,e.origin=n.origin}function i0(e){return e.translate===0&&e.scale===1}function fN(e){return i0(e.x)&&i0(e.y)}function a0(e,n){return e.min===n.min&&e.max===n.max}function U4(e,n){return a0(e.x,n.x)&&a0(e.y,n.y)}function s0(e,n){return Math.round(e.min)===Math.round(n.min)&&Math.round(e.max)===Math.round(n.max)}function hN(e,n){return s0(e.x,n.x)&&s0(e.y,n.y)}function r0(e){return Nt(e.x)/Nt(e.y)}function o0(e,n){return e.translate===n.translate&&e.scale===n.scale&&e.originPoint===n.originPoint}function an(e){return[e("x"),e("y")]}function B4(e,n,a){let s="";const o=e.x.translate/n.x,c=e.y.translate/n.y,u=a?.z||0;if((o||c||u)&&(s=`translate3d(${o}px, ${c}px, ${u}px) `),(n.x!==1||n.y!==1)&&(s+=`scale(${1/n.x}, ${1/n.y}) `),a){const{transformPerspective:g,rotate:y,rotateX:v,rotateY:w,skewX:S,skewY:E}=a;g&&(s=`perspective(${g}px) ${s}`),y&&(s+=`rotate(${y}deg) `),v&&(s+=`rotateX(${v}deg) `),w&&(s+=`rotateY(${w}deg) `),S&&(s+=`skewX(${S}deg) `),E&&(s+=`skewY(${E}deg) `)}const h=e.x.scale*n.x,p=e.y.scale*n.y;return(h!==1||p!==1)&&(s+=`scale(${h}, ${p})`),s||"none"}const mN=["TopLeft","TopRight","BottomLeft","BottomRight"],I4=mN.length,l0=e=>typeof e=="string"?parseFloat(e):e,c0=e=>typeof e=="number"||se.test(e);function F4(e,n,a,s,o,c){o?(e.opacity=$e(0,a.opacity??1,H4(s)),e.opacityExit=$e(n.opacity??1,0,q4(s))):c&&(e.opacity=$e(n.opacity??1,a.opacity??1,s));for(let u=0;u<I4;u++){const h=`border${mN[u]}Radius`;let p=u0(n,h),g=u0(a,h);if(p===void 0&&g===void 0)continue;p||(p=0),g||(g=0),p===0||g===0||c0(p)===c0(g)?(e[h]=Math.max($e(l0(p),l0(g),s),0),(Mn.test(g)||Mn.test(p))&&(e[h]+="%")):e[h]=g}(n.rotate||a.rotate)&&(e.rotate=$e(n.rotate||0,a.rotate||0,s))}function u0(e,n){return e[n]!==void 0?e[n]:e.borderRadius}const H4=pN(0,.5,lS),q4=pN(.5,.95,rn);function pN(e,n,a){return s=>s<e?0:s>n?1:a(Kr(e,n,s))}function G4(e,n){const a=St.now(),s=({timestamp:o})=>{const c=o-a;c>=n&&(Ui(s),e(c-n))};return Ge.setup(s,!0),()=>Ui(s)}function Qr(e,n,a,s={passive:!0}){return e.addEventListener(n,a,s),()=>e.removeEventListener(n,a)}function Wl(e){return xt(e)?e.get():e}function K4(e,n,a){const s=xt(e)?e:Ss(e);return s.start(km("",s,n,a)),s.animation}const Y4=(e,n)=>e.depth-n.depth;class $4{constructor(){this.children=[],this.isDirty=!1}add(n){ym(this.children,n),this.isDirty=!0}remove(n){vm(this.children,n),this.isDirty=!0}forEach(n){this.isDirty&&this.children.sort(Y4),this.isDirty=!1,this.children.forEach(n)}}class X4{constructor(){this.members=[]}add(n){ym(this.members,n),n.scheduleRender()}remove(n){if(vm(this.members,n),n===this.prevLead&&(this.prevLead=void 0),n===this.lead){const a=this.members[this.members.length-1];a&&this.promote(a)}}relegate(n){const a=this.members.findIndex(o=>n===o);if(a===0)return!1;let s;for(let o=a;o>=0;o--){const c=this.members[o];if(c.isPresent!==!1){s=c;break}}return s?(this.promote(s),!0):!1}promote(n,a){const s=this.lead;if(n!==s&&(this.prevLead=s,this.lead=n,n.show(),s)){s.instance&&s.scheduleRender(),n.scheduleRender(),n.resumeFrom=s,a&&(n.resumeFrom.preserveOpacity=!0),s.snapshot&&(n.snapshot=s.snapshot,n.snapshot.latestValues=s.animationValues||s.latestValues),n.root&&n.root.isUpdating&&(n.isLayoutDirty=!0);const{crossfade:o}=n.options;o===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(n=>{const{options:a,resumingFrom:s}=n;a.onExitComplete&&a.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(n=>{n.instance&&n.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Zl={hasAnimatedSinceResize:!0,hasEverUpdated:!1},_f=["","X","Y","Z"],Q4=1e3;let W4=0;function Vf(e,n,a,s){const{latestValues:o}=n;o[e]&&(a[e]=o[e],n.setStaticValue(e,0),s&&(s[e]=0))}function gN(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:n}=e.options;if(!n)return;const a=PS(n);if(window.MotionHasOptimisedAnimation(a,"transform")){const{layout:o,layoutId:c}=e.options;window.MotionCancelOptimisedAnimation(a,"transform",Ge,!(o||c))}const{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&gN(s)}function yN({attachResizeListener:e,defaultParent:n,measureScroll:a,checkIsScrollRoot:s,resetTransform:o}){return class{constructor(u={},h=n?.()){this.id=W4++,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.layoutVersion=0,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(eP),this.nodes.forEach(aP),this.nodes.forEach(sP),this.nodes.forEach(tP)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=h?h.root||h:this,this.path=h?[...h.path,h]:[],this.parent=h,this.depth=h?h.depth+1:0;for(let p=0;p<this.path.length;p++)this.path[p].shouldResetTransform=!0;this.root===this&&(this.nodes=new $4)}addEventListener(u,h){return this.eventHandlers.has(u)||this.eventHandlers.set(u,new wm),this.eventHandlers.get(u).add(h)}notifyListeners(u,...h){const p=this.eventHandlers.get(u);p&&p.notify(...h)}hasListeners(u){return this.eventHandlers.has(u)}mount(u){if(this.instance)return;this.isSVG=YS(u)&&!J3(u),this.instance=u;const{layoutId:h,layout:p,visualElement:g}=this.options;if(g&&!g.current&&g.mount(u),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(p||h)&&(this.isLayoutDirty=!0),e){let y,v=0;const w=()=>this.root.updateBlockedByResize=!1;Ge.read(()=>{v=window.innerWidth}),e(u,()=>{const S=window.innerWidth;S!==v&&(v=S,this.root.updateBlockedByResize=!0,y&&y(),y=G4(w,250),Zl.hasAnimatedSinceResize&&(Zl.hasAnimatedSinceResize=!1,this.nodes.forEach(h0)))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&g&&(h||p)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:v,hasRelativeLayoutChanged:w,layout:S})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const E=this.options.transition||g.getDefaultTransition()||uP,{onLayoutAnimationStart:C,onLayoutAnimationComplete:j}=g.getProps(),T=!this.targetLayout||!hN(this.targetLayout,S),z=!v&&w;if(this.options.layoutRoot||this.resumeFrom||z||v&&(T||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const R={...Om(E,"layout"),onPlay:C,onComplete:j};(g.shouldReduceMotion||this.options.layoutRoot)&&(R.delay=0,R.type=!1),this.startAnimation(R),this.setAnimationOrigin(y,z)}else v||h0(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=S})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Ui(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(rP),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&gN(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let y=0;y<this.path.length;y++){const v=this.path[y];v.shouldResetTransform=!0,v.updateScroll("snapshot"),v.options.layoutRoot&&v.willUpdate(!1)}const{layoutId:h,layout:p}=this.options;if(h===void 0&&!p)return;const g=this.getTransformTemplate();this.prevTransformTemplateValue=g?g(this.latestValues,""):void 0,this.updateSnapshot(),u&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(d0);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(f0);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(iP),this.nodes.forEach(Z4),this.nodes.forEach(J4)):this.nodes.forEach(f0),this.clearAllSnapshots();const h=St.now();yt.delta=zn(0,1e3/60,h-yt.timestamp),yt.timestamp=h,yt.isProcessing=!0,Mf.update.process(yt),Mf.preRender.process(yt),Mf.render.process(yt),yt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Vm.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nP),this.sharedNodes.forEach(oP)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ge.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ge.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Nt(this.snapshot.measuredBox.x)&&!Nt(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 p=0;p<this.path.length;p++)this.path[p].updateScroll();const u=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=lt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:h}=this.options;h&&h.notify("LayoutMeasure",this.layout.layoutBox,u?u.layoutBox:void 0)}updateScroll(u="measure"){let h=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===u&&(h=!1),h&&this.instance){const p=s(this.instance);this.scroll={animationId:this.root.animationId,phase:u,isRoot:p,offset:a(this.instance),wasRoot:this.scroll?this.scroll.isRoot:p}}}resetTransform(){if(!o)return;const u=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,h=this.projectionDelta&&!fN(this.projectionDelta),p=this.getTransformTemplate(),g=p?p(this.latestValues,""):void 0,y=g!==this.prevTransformTemplateValue;u&&this.instance&&(h||ha(this.latestValues)||y)&&(o(this.instance,g),this.shouldResetTransform=!1,this.scheduleRender())}measure(u=!0){const h=this.measurePageBox();let p=this.removeElementScroll(h);return u&&(p=this.removeTransform(p)),dP(p),{animationId:this.root.animationId,measuredBox:h,layoutBox:p,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:u}=this.options;if(!u)return lt();const h=u.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(fP))){const{scroll:g}=this.root;g&&(hs(h.x,g.offset.x),hs(h.y,g.offset.y))}return h}removeElementScroll(u){const h=lt();if(fn(h,u),this.scroll?.wasRoot)return h;for(let p=0;p<this.path.length;p++){const g=this.path[p],{scroll:y,options:v}=g;g!==this.root&&y&&v.layoutScroll&&(y.wasRoot&&fn(h,u),hs(h.x,y.offset.x),hs(h.y,y.offset.y))}return h}applyTransform(u,h=!1){const p=lt();fn(p,u);for(let g=0;g<this.path.length;g++){const y=this.path[g];!h&&y.options.layoutScroll&&y.scroll&&y!==y.root&&ms(p,{x:-y.scroll.offset.x,y:-y.scroll.offset.y}),ha(y.latestValues)&&ms(p,y.latestValues)}return ha(this.latestValues)&&ms(p,this.latestValues),p}removeTransform(u){const h=lt();fn(h,u);for(let p=0;p<this.path.length;p++){const g=this.path[p];if(!g.instance||!ha(g.latestValues))continue;Vh(g.latestValues)&&g.updateSnapshot();const y=lt(),v=g.measurePageBox();fn(y,v),e0(h,g.latestValues,g.snapshot?g.snapshot.layoutBox:void 0,y)}return ha(this.latestValues)&&e0(h,this.latestValues),h}setTargetDelta(u){this.targetDelta=u,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(u){this.options={...this.options,...u,crossfade:u.crossfade!==void 0?u.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!==yt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(u=!1){const h=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=h.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=h.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=h.isSharedProjectionDirty);const p=!!this.resumingFrom||this!==h;if(!(u||p&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:y,layoutId:v}=this.options;if(!this.layout||!(y||v))return;this.resolvedRelativeTargetAt=yt.timestamp;const w=this.getClosestProjectingParent();w&&this.linkedParentVersion!==w.layoutVersion&&!w.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(w&&w.layout?this.createRelativeTarget(w,this.layout.layoutBox,w.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=lt(),this.targetWithTransforms=lt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),P4(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):fn(this.target,this.layout.layoutBox),eN(this.target,this.targetDelta)):fn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,w&&!!w.resumingFrom==!!this.resumingFrom&&!w.options.layoutScroll&&w.target&&this.animationProgress!==1?this.createRelativeTarget(w,this.target,w.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Vh(this.parent.latestValues)||JS(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(u,h,p){this.relativeParent=u,this.linkedParentVersion=u.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=lt(),this.relativeTargetOrigin=lt(),pc(this.relativeTargetOrigin,h,p),fn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const u=this.getLead(),h=!!this.resumingFrom||this!==u;let p=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(p=!1),h&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(p=!1),this.resolvedRelativeTargetAt===yt.timestamp&&(p=!1),p)return;const{layout:g,layoutId:y}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(g||y))return;fn(this.layoutCorrected,this.layout.layoutBox);const v=this.treeScale.x,w=this.treeScale.y;u4(this.layoutCorrected,this.treeScale,this.path,h),u.layout&&!u.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(u.target=u.layout.layoutBox,u.targetWithTransforms=lt());const{target:S}=u;if(!S){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(n0(this.prevProjectionDelta.x,this.projectionDelta.x),n0(this.prevProjectionDelta.y,this.projectionDelta.y)),Lr(this.projectionDelta,this.layoutCorrected,S,this.latestValues),(this.treeScale.x!==v||this.treeScale.y!==w||!o0(this.projectionDelta.x,this.prevProjectionDelta.x)||!o0(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",S))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(u=!0){if(this.options.visualElement?.scheduleRender(),u){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=fs(),this.projectionDelta=fs(),this.projectionDeltaWithTransform=fs()}setAnimationOrigin(u,h=!1){const p=this.snapshot,g=p?p.latestValues:{},y={...this.latestValues},v=fs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!h;const w=lt(),S=p?p.source:void 0,E=this.layout?this.layout.source:void 0,C=S!==E,j=this.getStack(),T=!j||j.members.length<=1,z=!!(C&&!T&&this.options.crossfade===!0&&!this.path.some(cP));this.animationProgress=0;let R;this.mixTargetDelta=k=>{const L=k/1e3;m0(v.x,u.x,L),m0(v.y,u.y,L),this.setTargetDelta(v),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(pc(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),lP(this.relativeTarget,this.relativeTargetOrigin,w,L),R&&U4(this.relativeTarget,R)&&(this.isProjectionDirty=!1),R||(R=lt()),fn(R,this.relativeTarget)),C&&(this.animationValues=y,F4(y,g,this.latestValues,L,z,T)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=L},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Ui(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ge.update(()=>{Zl.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ss(0)),this.currentAnimation=K4(this.motionValue,[0,1e3],{...u,velocity:0,isSync:!0,onUpdate:h=>{this.mixTargetDelta(h),u.onUpdate&&u.onUpdate(h)},onStop:()=>{},onComplete:()=>{u.onComplete&&u.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 u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Q4),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:h,target:p,layout:g,latestValues:y}=u;if(!(!h||!p||!g)){if(this!==u&&this.layout&&g&&vN(this.options.animationType,this.layout.layoutBox,g.layoutBox)){p=this.target||lt();const v=Nt(this.layout.layoutBox.x);p.x.min=u.target.x.min,p.x.max=p.x.min+v;const w=Nt(this.layout.layoutBox.y);p.y.min=u.target.y.min,p.y.max=p.y.min+w}fn(h,p),ms(h,y),Lr(this.projectionDeltaWithTransform,this.layoutCorrected,h,y)}}registerSharedNode(u,h){this.sharedNodes.has(u)||this.sharedNodes.set(u,new X4),this.sharedNodes.get(u).add(h);const g=h.options.initialPromotionConfig;h.promote({transition:g?g.transition:void 0,preserveFollowOpacity:g&&g.shouldPreserveFollowOpacity?g.shouldPreserveFollowOpacity(h):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){const{layoutId:u}=this.options;return u?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:u}=this.options;return u?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:h,preserveFollowOpacity:p}={}){const g=this.getStack();g&&g.promote(this,p),u&&(this.projectionDelta=void 0,this.needsReset=!0),h&&this.setOptions({transition:h})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetSkewAndRotation(){const{visualElement:u}=this.options;if(!u)return;let h=!1;const{latestValues:p}=u;if((p.z||p.rotate||p.rotateX||p.rotateY||p.rotateZ||p.skewX||p.skewY)&&(h=!0),!h)return;const g={};p.z&&Vf("z",u,g,this.animationValues);for(let y=0;y<_f.length;y++)Vf(`rotate${_f[y]}`,u,g,this.animationValues),Vf(`skew${_f[y]}`,u,g,this.animationValues);u.render();for(const y in g)u.setStaticValue(y,g[y]),this.animationValues&&(this.animationValues[y]=g[y]);u.scheduleRender()}applyProjectionStyles(u,h){if(!this.instance||this.isSVG)return;if(!this.isVisible){u.visibility="hidden";return}const p=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,u.visibility="",u.opacity="",u.pointerEvents=Wl(h?.pointerEvents)||"",u.transform=p?p(this.latestValues,""):"none";return}const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){this.options.layoutId&&(u.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,u.pointerEvents=Wl(h?.pointerEvents)||""),this.hasProjected&&!ha(this.latestValues)&&(u.transform=p?p({},""):"none",this.hasProjected=!1);return}u.visibility="";const y=g.animationValues||g.latestValues;this.applyTransformsToTarget();let v=B4(this.projectionDeltaWithTransform,this.treeScale,y);p&&(v=p(y,v)),u.transform=v;const{x:w,y:S}=this.projectionDelta;u.transformOrigin=`${w.origin*100}% ${S.origin*100}% 0`,g.animationValues?u.opacity=g===this?y.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:y.opacityExit:u.opacity=g===this?y.opacity!==void 0?y.opacity:"":y.opacityExit!==void 0?y.opacityExit:0;for(const E in Bh){if(y[E]===void 0)continue;const{correct:C,applyTo:j,isCSSVariable:T}=Bh[E],z=v==="none"?y[E]:C(y[E],g);if(j){const R=j.length;for(let k=0;k<R;k++)u[j[k]]=z}else T?this.options.visualElement.renderState.vars[E]=z:u[E]=z}this.options.layoutId&&(u.pointerEvents=g===this?Wl(h?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(u=>u.currentAnimation?.stop()),this.root.nodes.forEach(d0),this.root.sharedNodes.clear()}}}function Z4(e){e.updateLayout()}function J4(e){const n=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:s}=e.layout,{animationType:o}=e.options,c=n.source!==e.layout.source;o==="size"?an(y=>{const v=c?n.measuredBox[y]:n.layoutBox[y],w=Nt(v);v.min=a[y].min,v.max=v.min+w}):vN(o,n.layoutBox,a)&&an(y=>{const v=c?n.measuredBox[y]:n.layoutBox[y],w=Nt(a[y]);v.max=v.min+w,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[y].max=e.relativeTarget[y].min+w)});const u=fs();Lr(u,a,n.layoutBox);const h=fs();c?Lr(h,e.applyTransform(s,!0),n.measuredBox):Lr(h,a,n.layoutBox);const p=!fN(u);let g=!1;if(!e.resumeFrom){const y=e.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:v,layout:w}=y;if(v&&w){const S=lt();pc(S,n.layoutBox,v.layoutBox);const E=lt();pc(E,a,w.layoutBox),hN(S,E)||(g=!0),y.options.layoutRoot&&(e.relativeTarget=E,e.relativeTargetOrigin=S,e.relativeParent=y)}}}e.notifyListeners("didUpdate",{layout:a,snapshot:n,delta:h,layoutDelta:u,hasLayoutChanged:p,hasRelativeLayoutChanged:g})}else if(e.isLead()){const{onExitComplete:a}=e.options;a&&a()}e.options.transition=void 0}function eP(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 tP(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function nP(e){e.clearSnapshot()}function d0(e){e.clearMeasurements()}function f0(e){e.isLayoutDirty=!1}function iP(e){const{visualElement:n}=e.options;n&&n.getProps().onBeforeLayoutMeasure&&n.notify("BeforeLayoutMeasure"),e.resetTransform()}function h0(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function aP(e){e.resolveTargetDelta()}function sP(e){e.calcProjection()}function rP(e){e.resetSkewAndRotation()}function oP(e){e.removeLeadSnapshot()}function m0(e,n,a){e.translate=$e(n.translate,0,a),e.scale=$e(n.scale,1,a),e.origin=n.origin,e.originPoint=n.originPoint}function p0(e,n,a,s){e.min=$e(n.min,a.min,s),e.max=$e(n.max,a.max,s)}function lP(e,n,a,s){p0(e.x,n.x,a.x,s),p0(e.y,n.y,a.y,s)}function cP(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const uP={duration:.45,ease:[.4,0,.1,1]},g0=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),y0=g0("applewebkit/")&&!g0("chrome/")?Math.round:rn;function v0(e){e.min=y0(e.min),e.max=y0(e.max)}function dP(e){v0(e.x),v0(e.y)}function vN(e,n,a){return e==="position"||e==="preserve-aspect"&&!k4(r0(n),r0(a),.2)}function fP(e){return e!==e.root&&e.scroll?.wasRoot}const hP=yN({attachResizeListener:(e,n)=>Qr(e,"resize",n),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Uf={current:void 0},xN=yN({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Uf.current){const e=new hP({});e.mount(window),e.setOptions({layoutScroll:!0}),Uf.current=e}return Uf.current},resetTransform:(e,n)=>{e.style.transform=n!==void 0?n:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),qm=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function x0(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n)}function mP(...e){return n=>{let a=!1;const s=e.map(o=>{const c=x0(o,n);return!a&&typeof c=="function"&&(a=!0),c});if(a)return()=>{for(let o=0;o<s.length;o++){const c=s[o];typeof c=="function"?c():x0(e[o],null)}}}}function pP(...e){return x.useCallback(mP(...e),e)}class gP extends x.Component{getSnapshotBeforeUpdate(n){const a=this.props.childRef.current;if(a&&n.isPresent&&!this.props.isPresent){const s=a.offsetParent,o=FS(s)&&s.offsetWidth||0,c=this.props.sizeRef.current;c.height=a.offsetHeight||0,c.width=a.offsetWidth||0,c.top=a.offsetTop,c.left=a.offsetLeft,c.right=o-c.width-c.left}return null}componentDidUpdate(){}render(){return this.props.children}}function yP({children:e,isPresent:n,anchorX:a,root:s}){const o=x.useId(),c=x.useRef(null),u=x.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:h}=x.useContext(qm),p=e.props?.ref??e?.ref,g=pP(c,p);return x.useInsertionEffect(()=>{const{width:y,height:v,top:w,left:S,right:E}=u.current;if(n||!c.current||!y||!v)return;const C=a==="left"?`left: ${S}`:`right: ${E}`;c.current.dataset.motionPopId=o;const j=document.createElement("style");h&&(j.nonce=h);const T=s??document.head;return T.appendChild(j),j.sheet&&j.sheet.insertRule(` 10 [data-motion-pop-id="${o}"] { 11 position: absolute !important; 12 width: ${y}px !important; 13 height: ${v}px !important; 14 ${C}px !important; 15 top: ${w}px !important; 16 } 17 `),()=>{T.contains(j)&&T.removeChild(j)}},[n]),d.jsx(gP,{isPresent:n,childRef:c,sizeRef:u,children:x.cloneElement(e,{ref:g})})}const vP=({children:e,initial:n,isPresent:a,onExitComplete:s,custom:o,presenceAffectsLayout:c,mode:u,anchorX:h,root:p})=>{const g=gm(xP),y=x.useId();let v=!0,w=x.useMemo(()=>(v=!1,{id:y,initial:n,isPresent:a,custom:o,onExitComplete:S=>{g.set(S,!0);for(const E of g.values())if(!E)return;s&&s()},register:S=>(g.set(S,!1),()=>g.delete(S))}),[a,g,s]);return c&&v&&(w={...w}),x.useMemo(()=>{g.forEach((S,E)=>g.set(E,!1))},[a]),x.useEffect(()=>{!a&&!g.size&&s&&s()},[a]),u==="popLayout"&&(e=d.jsx(yP,{isPresent:a,anchorX:h,root:p,children:e})),d.jsx(Vc.Provider,{value:w,children:e})};function xP(){return new Map}function bN(e=!0){const n=x.useContext(Vc);if(n===null)return[!0,null];const{isPresent:a,onExitComplete:s,register:o}=n,c=x.useId();x.useEffect(()=>{if(e)return o(c)},[e]);const u=x.useCallback(()=>e&&s&&s(c),[c,s,e]);return!a&&s?[!1,u]:[!0]}const Ul=e=>e.key||"";function b0(e){const n=[];return x.Children.forEach(e,a=>{x.isValidElement(a)&&n.push(a)}),n}const w0=({children:e,custom:n,initial:a=!0,onExitComplete:s,presenceAffectsLayout:o=!0,mode:c="sync",propagate:u=!1,anchorX:h="left",root:p})=>{const[g,y]=bN(u),v=x.useMemo(()=>b0(e),[e]),w=u&&!g?[]:v.map(Ul),S=x.useRef(!0),E=x.useRef(v),C=gm(()=>new Map),j=x.useRef(new Set),[T,z]=x.useState(v),[R,k]=x.useState(v);Ww(()=>{S.current=!1,E.current=v;for(let I=0;I<R.length;I++){const _=Ul(R[I]);w.includes(_)?(C.delete(_),j.current.delete(_)):C.get(_)!==!0&&C.set(_,!1)}},[R,w.length,w.join("-")]);const L=[];if(v!==T){let I=[...v];for(let _=0;_<R.length;_++){const Q=R[_],J=Ul(Q);w.includes(J)||(I.splice(_,0,Q),L.push(Q))}return c==="wait"&&L.length&&(I=L),k(b0(I)),z(v),null}const{forceRender:K}=x.useContext(pm);return d.jsx(d.Fragment,{children:R.map(I=>{const _=Ul(I),Q=u&&!g?!1:v===R||w.includes(_),J=()=>{if(j.current.has(_))return;if(j.current.add(_),C.has(_))C.set(_,!0);else return;let ne=!0;C.forEach(ie=>{ie||(ne=!1)}),ne&&(K?.(),k(E.current),u&&y?.(),s&&s())};return d.jsx(vP,{isPresent:Q,initial:!S.current||a?void 0:!1,custom:n,presenceAffectsLayout:o,mode:c,root:p,onExitComplete:Q?void 0:J,anchorX:h,children:I},_)})})},wN=x.createContext({strict:!1}),S0={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"]};let N0=!1;function bP(){if(N0)return;const e={};for(const n in S0)e[n]={isEnabled:a=>S0[n].some(s=>!!a[s])};QS(e),N0=!0}function SN(){return bP(),r4()}function wP(e){const n=SN();for(const a in e)n[a]={...n[a],...e[a]};QS(n)}const SP=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 gc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||SP.has(e)}let NN=e=>!gc(e);function NP(e){typeof e=="function"&&(NN=n=>n.startsWith("on")?!gc(n):e(n))}try{NP(require("@emotion/is-prop-valid").default)}catch{}function CP(e,n,a){const s={};for(const o in e)o==="values"&&typeof e.values=="object"||(NN(o)||a===!0&&gc(o)||!n&&!gc(o)||e.draggable&&o.startsWith("onDrag"))&&(s[o]=e[o]);return s}const Ic=x.createContext({});function EP(e,n){if(Bc(e)){const{initial:a,animate:s}=e;return{initial:a===!1||Xr(a)?a:void 0,animate:Xr(s)?s:void 0}}return e.inherit!==!1?n:{}}function jP(e){const{initial:n,animate:a}=EP(e,x.useContext(Ic));return x.useMemo(()=>({initial:n,animate:a}),[C0(n),C0(a)])}function C0(e){return Array.isArray(e)?e.join(" "):e}const Gm=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function CN(e,n,a){for(const s in n)!xt(n[s])&&!iN(s,a)&&(e[s]=n[s])}function TP({transformTemplate:e},n){return x.useMemo(()=>{const a=Gm();return Fm(a,n,e),Object.assign({},a.vars,a.style)},[n])}function AP(e,n){const a=e.style||{},s={};return CN(s,a,e),Object.assign(s,TP(e,n)),s}function MP(e,n){const a={},s=AP(e,n);return e.drag&&e.dragListener!==!1&&(a.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(a.tabIndex=0),a.style=s,a}const EN=()=>({...Gm(),attrs:{}});function RP(e,n,a,s){const o=x.useMemo(()=>{const c=EN();return aN(c,n,rN(s),e.transformTemplate,e.style),{...c.attrs,style:{...c.style}}},[n]);if(e.style){const c={};CN(c,e.style,e),o.style={...c,...o.style}}return o}const zP=["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 Km(e){return typeof e!="string"||e.includes("-")?!1:!!(zP.indexOf(e)>-1||/[A-Z]/u.test(e))}function DP(e,n,a,{latestValues:s},o,c=!1,u){const p=(u??Km(e)?RP:MP)(n,s,o,e),g=CP(n,typeof e=="string",c),y=e!==x.Fragment?{...g,...p,ref:a}:{},{children:v}=n,w=x.useMemo(()=>xt(v)?v.get():v,[v]);return x.createElement(e,{...y,children:w})}function OP({scrapeMotionValuesFromProps:e,createRenderState:n},a,s,o){return{latestValues:kP(a,s,o,e),renderState:n()}}function kP(e,n,a,s){const o={},c=s(e,{});for(const w in c)o[w]=Wl(c[w]);let{initial:u,animate:h}=e;const p=Bc(e),g=XS(e);n&&g&&!p&&e.inherit!==!1&&(u===void 0&&(u=n.initial),h===void 0&&(h=n.animate));let y=a?a.initial===!1:!1;y=y||u===!1;const v=y?h:u;if(v&&typeof v!="boolean"&&!Uc(v)){const w=Array.isArray(v)?v:[v];for(let S=0;S<w.length;S++){const E=Pm(e,w[S]);if(E){const{transitionEnd:C,transition:j,...T}=E;for(const z in T){let R=T[z];if(Array.isArray(R)){const k=y?R.length-1:0;R=R[k]}R!==null&&(o[z]=R)}for(const z in C)o[z]=C[z]}}}return o}const jN=e=>(n,a)=>{const s=x.useContext(Ic),o=x.useContext(Vc),c=()=>OP(e,n,s,o);return a?c():gm(c)},PP=jN({scrapeMotionValuesFromProps:Hm,createRenderState:Gm}),LP=jN({scrapeMotionValuesFromProps:oN,createRenderState:EN}),_P=Symbol.for("motionComponentSymbol");function VP(e,n,a){const s=x.useRef(a);x.useInsertionEffect(()=>{s.current=a});const o=x.useRef(null);return x.useCallback(c=>{c&&e.onMount?.(c),n&&(c?n.mount(c):n.unmount());const u=s.current;if(typeof u=="function")if(c){const h=u(c);typeof h=="function"&&(o.current=h)}else o.current?(o.current(),o.current=null):u(c);else u&&(u.current=c)},[n])}const TN=x.createContext({});function Mr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function UP(e,n,a,s,o,c){const{visualElement:u}=x.useContext(Ic),h=x.useContext(wN),p=x.useContext(Vc),g=x.useContext(qm).reducedMotion,y=x.useRef(null);s=s||h.renderer,!y.current&&s&&(y.current=s(e,{visualState:n,parent:u,props:a,presenceContext:p,blockInitialAnimation:p?p.initial===!1:!1,reducedMotionConfig:g,isSVG:c}));const v=y.current,w=x.useContext(TN);v&&!v.projection&&o&&(v.type==="html"||v.type==="svg")&&BP(y.current,a,o,w);const S=x.useRef(!1);x.useInsertionEffect(()=>{v&&S.current&&v.update(a,p)});const E=a[kS],C=x.useRef(!!E&&!window.MotionHandoffIsComplete?.(E)&&window.MotionHasOptimisedAnimation?.(E));return Ww(()=>{v&&(S.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),C.current&&v.animationState&&v.animationState.animateChanges())}),x.useEffect(()=>{v&&(!C.current&&v.animationState&&v.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(E)}),C.current=!1),v.enteringChildren=void 0)}),v}function BP(e,n,a,s){const{layoutId:o,layout:c,drag:u,dragConstraints:h,layoutScroll:p,layoutRoot:g,layoutCrossfade:y}=n;e.projection=new a(e.latestValues,n["data-framer-portal-id"]?void 0:AN(e.parent)),e.projection.setOptions({layoutId:o,layout:c,alwaysMeasureLayout:!!u||h&&Mr(h),visualElement:e,animationType:typeof c=="string"?c:"both",initialPromotionConfig:s,crossfade:y,layoutScroll:p,layoutRoot:g})}function AN(e){if(e)return e.options.allowProjection!==!1?e.projection:AN(e.parent)}function Bf(e,{forwardMotionProps:n=!1,type:a}={},s,o){s&&wP(s);const c=a?a==="svg":Km(e),u=c?LP:PP;function h(g,y){let v;const w={...x.useContext(qm),...g,layoutId:IP(g)},{isStatic:S}=w,E=jP(g),C=u(g,S);if(!S&&Qw){FP();const j=HP(w);v=j.MeasureLayout,E.visualElement=UP(e,C,w,o,j.ProjectionNode,c)}return d.jsxs(Ic.Provider,{value:E,children:[v&&E.visualElement?d.jsx(v,{visualElement:E.visualElement,...w}):null,DP(e,g,VP(C,E.visualElement,y),C,S,n,c)]})}h.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const p=x.forwardRef(h);return p[_P]=e,p}function IP({layoutId:e}){const n=x.useContext(pm).id;return n&&e!==void 0?n+"-"+e:e}function FP(e,n){x.useContext(wN).strict}function HP(e){const n=SN(),{drag:a,layout:s}=n;if(!a&&!s)return{};const o={...a,...s};return{MeasureLayout:a?.isEnabled(e)||s?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function qP(e,n){if(typeof Proxy>"u")return Bf;const a=new Map,s=(c,u)=>Bf(c,u,e,n),o=(c,u)=>s(c,u);return new Proxy(o,{get:(c,u)=>u==="create"?s:(a.has(u)||a.set(u,Bf(u,void 0,e,n)),a.get(u))})}const GP=(e,n)=>n.isSVG??Km(e)?new N4(n):new y4(n,{allowProjection:e!==x.Fragment});class KP extends qi{constructor(n){super(n),n.animationState||(n.animationState=A4(n))}updateAnimationControlsSubscription(){const{animate:n}=this.node.getProps();Uc(n)&&(this.unmountControls=n.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:n}=this.node.getProps(),{animate:a}=this.node.prevProps||{};n!==a&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let YP=0;class $P extends qi{constructor(){super(...arguments),this.id=YP++}update(){if(!this.node.presenceContext)return;const{isPresent:n,onExitComplete:a}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||n===s)return;const o=this.node.animationState.setActive("exit",!n);a&&!n&&o.then(()=>{a(this.id)})}mount(){const{register:n,onExitComplete:a}=this.node.presenceContext||{};a&&a(this.id),n&&(this.unmount=n(this.id))}unmount(){}}const XP={animation:{Feature:KP},exit:{Feature:$P}};function lo(e){return{point:{x:e.pageX,y:e.pageY}}}const QP=e=>n=>Um(n)&&e(n,lo(n));function _r(e,n,a,s){return Qr(e,n,QP(a),s)}const MN=({current:e})=>e?e.ownerDocument.defaultView:null,E0=(e,n)=>Math.abs(e-n);function WP(e,n){const a=E0(e.x,n.x),s=E0(e.y,n.y);return Math.sqrt(a**2+s**2)}const j0=new Set(["auto","scroll"]);class RN{constructor(n,a,{transformPagePoint:s,contextWindow:o=window,dragSnapToOrigin:c=!1,distanceThreshold:u=3,element:h}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=S=>{this.handleScroll(S.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const S=Ff(this.lastMoveEventInfo,this.history),E=this.startEvent!==null,C=WP(S.offset,{x:0,y:0})>=this.distanceThreshold;if(!E&&!C)return;const{point:j}=S,{timestamp:T}=yt;this.history.push({...j,timestamp:T});const{onStart:z,onMove:R}=this.handlers;E||(z&&z(this.lastMoveEvent,S),this.startEvent=this.lastMoveEvent),R&&R(this.lastMoveEvent,S)},this.handlePointerMove=(S,E)=>{this.lastMoveEvent=S,this.lastMoveEventInfo=If(E,this.transformPagePoint),Ge.update(this.updatePoint,!0)},this.handlePointerUp=(S,E)=>{this.end();const{onEnd:C,onSessionEnd:j,resumeAnimation:T}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&T&&T(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const z=Ff(S.type==="pointercancel"?this.lastMoveEventInfo:If(E,this.transformPagePoint),this.history);this.startEvent&&C&&C(S,z),j&&j(S,z)},!Um(n))return;this.dragSnapToOrigin=c,this.handlers=a,this.transformPagePoint=s,this.distanceThreshold=u,this.contextWindow=o||window;const p=lo(n),g=If(p,this.transformPagePoint),{point:y}=g,{timestamp:v}=yt;this.history=[{...y,timestamp:v}];const{onSessionStart:w}=a;w&&w(n,Ff(g,this.history)),this.removeListeners=so(_r(this.contextWindow,"pointermove",this.handlePointerMove),_r(this.contextWindow,"pointerup",this.handlePointerUp),_r(this.contextWindow,"pointercancel",this.handlePointerUp)),h&&this.startScrollTracking(h)}startScrollTracking(n){let a=n.parentElement;for(;a;){const s=getComputedStyle(a);(j0.has(s.overflowX)||j0.has(s.overflowY))&&this.scrollPositions.set(a,{x:a.scrollLeft,y:a.scrollTop}),a=a.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(n){const a=this.scrollPositions.get(n);if(!a)return;const s=n===window,o=s?{x:window.scrollX,y:window.scrollY}:{x:n.scrollLeft,y:n.scrollTop},c={x:o.x-a.x,y:o.y-a.y};c.x===0&&c.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=c.x,this.lastMoveEventInfo.point.y+=c.y):this.history.length>0&&(this.history[0].x-=c.x,this.history[0].y-=c.y),this.scrollPositions.set(n,o),Ge.update(this.updatePoint,!0))}updateHandlers(n){this.handlers=n}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Ui(this.updatePoint)}}function If(e,n){return n?{point:n(e.point)}:e}function T0(e,n){return{x:e.x-n.x,y:e.y-n.y}}function Ff({point:e},n){return{point:e,delta:T0(e,zN(n)),offset:T0(e,ZP(n)),velocity:JP(n,.1)}}function ZP(e){return e[0]}function zN(e){return e[e.length-1]}function JP(e,n){if(e.length<2)return{x:0,y:0};let a=e.length-1,s=null;const o=zN(e);for(;a>=0&&(s=e[a],!(o.timestamp-s.timestamp>Jn(n)));)a--;if(!s)return{x:0,y:0};const c=sn(o.timestamp-s.timestamp);if(c===0)return{x:0,y:0};const u={x:(o.x-s.x)/c,y:(o.y-s.y)/c};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function eL(e,{min:n,max:a},s){return n!==void 0&&e<n?e=s?$e(n,e,s.min):Math.max(e,n):a!==void 0&&e>a&&(e=s?$e(a,e,s.max):Math.min(e,a)),e}function A0(e,n,a){return{min:n!==void 0?e.min+n:void 0,max:a!==void 0?e.max+a-(e.max-e.min):void 0}}function tL(e,{top:n,left:a,bottom:s,right:o}){return{x:A0(e.x,a,o),y:A0(e.y,n,s)}}function M0(e,n){let a=n.min-e.min,s=n.max-e.max;return n.max-n.min<e.max-e.min&&([a,s]=[s,a]),{min:a,max:s}}function nL(e,n){return{x:M0(e.x,n.x),y:M0(e.y,n.y)}}function iL(e,n){let a=.5;const s=Nt(e),o=Nt(n);return o>s?a=Kr(n.min,n.max-s,e.min):s>o&&(a=Kr(e.min,e.max-o,n.min)),zn(0,1,a)}function aL(e,n){const a={};return n.min!==void 0&&(a.min=n.min-e.min),n.max!==void 0&&(a.max=n.max-e.min),a}const Ih=.35;function sL(e=Ih){return e===!1?e=0:e===!0&&(e=Ih),{x:R0(e,"left","right"),y:R0(e,"top","bottom")}}function R0(e,n,a){return{min:z0(e,n),max:z0(e,a)}}function z0(e,n){return typeof e=="number"?e:e[n]||0}const rL=new WeakMap;class oL{constructor(n){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=lt(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=n}start(n,{snapToCursor:a=!1,distanceThreshold:s}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const c=v=>{a?(this.stopAnimation(),this.snapToCursor(lo(v).point)):this.pauseAnimation()},u=(v,w)=>{this.stopAnimation();const{drag:S,dragPropagation:E,onDragStart:C}=this.getProps();if(S&&!E&&(this.openDragLock&&this.openDragLock(),this.openDragLock=$3(S),!this.openDragLock))return;this.latestPointerEvent=v,this.latestPanInfo=w,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),an(T=>{let z=this.getAxisMotionValue(T).get()||0;if(Mn.test(z)){const{projection:R}=this.visualElement;if(R&&R.layout){const k=R.layout.layoutBox[T];k&&(z=Nt(k)*(parseFloat(z)/100))}}this.originPoint[T]=z}),C&&Ge.postRender(()=>C(v,w)),kh(this.visualElement,"transform");const{animationState:j}=this.visualElement;j&&j.setActive("whileDrag",!0)},h=(v,w)=>{this.latestPointerEvent=v,this.latestPanInfo=w;const{dragPropagation:S,dragDirectionLock:E,onDirectionLock:C,onDrag:j}=this.getProps();if(!S&&!this.openDragLock)return;const{offset:T}=w;if(E&&this.currentDirection===null){this.currentDirection=lL(T),this.currentDirection!==null&&C&&C(this.currentDirection);return}this.updateAxis("x",w.point,T),this.updateAxis("y",w.point,T),this.visualElement.render(),j&&j(v,w)},p=(v,w)=>{this.latestPointerEvent=v,this.latestPanInfo=w,this.stop(v,w),this.latestPointerEvent=null,this.latestPanInfo=null},g=()=>an(v=>this.getAnimationState(v)==="paused"&&this.getAxisMotionValue(v).animation?.play()),{dragSnapToOrigin:y}=this.getProps();this.panSession=new RN(n,{onSessionStart:c,onStart:u,onMove:h,onSessionEnd:p,resumeAnimation:g},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:y,distanceThreshold:s,contextWindow:MN(this.visualElement),element:this.visualElement.current})}stop(n,a){const s=n||this.latestPointerEvent,o=a||this.latestPanInfo,c=this.isDragging;if(this.cancel(),!c||!o||!s)return;const{velocity:u}=o;this.startAnimation(u);const{onDragEnd:h}=this.getProps();h&&Ge.postRender(()=>h(s,o))}cancel(){this.isDragging=!1;const{projection:n,animationState:a}=this.visualElement;n&&(n.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),a&&a.setActive("whileDrag",!1)}updateAxis(n,a,s){const{drag:o}=this.getProps();if(!s||!Bl(n,o,this.currentDirection))return;const c=this.getAxisMotionValue(n);let u=this.originPoint[n]+s[n];this.constraints&&this.constraints[n]&&(u=eL(u,this.constraints[n],this.elastic[n])),c.set(u)}resolveConstraints(){const{dragConstraints:n,dragElastic:a}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,o=this.constraints;n&&Mr(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&s?this.constraints=tL(s.layoutBox,n):this.constraints=!1,this.elastic=sL(a),o!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&an(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=aL(s.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:n,onMeasureDragConstraints:a}=this.getProps();if(!n||!Mr(n))return!1;const s=n.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const c=d4(s,o.root,this.visualElement.getTransformPagePoint());let u=nL(o.layout.layoutBox,c);if(a){const h=a(l4(u));this.hasMutatedConstraints=!!h,h&&(u=ZS(h))}return u}startAnimation(n){const{drag:a,dragMomentum:s,dragElastic:o,dragTransition:c,dragSnapToOrigin:u,onDragTransitionEnd:h}=this.getProps(),p=this.constraints||{},g=an(y=>{if(!Bl(y,a,this.currentDirection))return;let v=p&&p[y]||{};u&&(v={min:0,max:0});const w=o?200:1e6,S=o?40:1e7,E={type:"inertia",velocity:s?n[y]:0,bounceStiffness:w,bounceDamping:S,timeConstant:750,restDelta:1,restSpeed:10,...c,...v};return this.startAxisValueAnimation(y,E)});return Promise.all(g).then(h)}startAxisValueAnimation(n,a){const s=this.getAxisMotionValue(n);return kh(this.visualElement,n),s.start(km(n,s,0,a,this.visualElement,!1))}stopAnimation(){an(n=>this.getAxisMotionValue(n).stop())}pauseAnimation(){an(n=>this.getAxisMotionValue(n).animation?.pause())}getAnimationState(n){return this.getAxisMotionValue(n).animation?.state}getAxisMotionValue(n){const a=`_drag${n.toUpperCase()}`,s=this.visualElement.getProps(),o=s[a];return o||this.visualElement.getValue(n,(s.initial?s.initial[n]:void 0)||0)}snapToCursor(n){an(a=>{const{drag:s}=this.getProps();if(!Bl(a,s,this.currentDirection))return;const{projection:o}=this.visualElement,c=this.getAxisMotionValue(a);if(o&&o.layout){const{min:u,max:h}=o.layout.layoutBox[a],p=c.get()||0;c.set(n[a]-$e(u,h,.5)+p)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:n,dragConstraints:a}=this.getProps(),{projection:s}=this.visualElement;if(!Mr(a)||!s||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};an(u=>{const h=this.getAxisMotionValue(u);if(h&&this.constraints!==!1){const p=h.get();o[u]=iL({min:p,max:p},this.constraints[u])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),an(u=>{if(!Bl(u,n,null))return;const h=this.getAxisMotionValue(u),{min:p,max:g}=this.constraints[u];h.set($e(p,g,o[u]))})}addListeners(){if(!this.visualElement.current)return;rL.set(this.visualElement,this);const n=this.visualElement.current,a=_r(n,"pointerdown",p=>{const{drag:g,dragListener:y=!0}=this.getProps();g&&y&&!KS(p.target)&&this.start(p)}),s=()=>{const{dragConstraints:p}=this.getProps();Mr(p)&&p.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,c=o.addEventListener("measure",s);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),Ge.read(s);const u=Qr(window,"resize",()=>this.scalePositionWithinConstraints()),h=o.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(an(y=>{const v=this.getAxisMotionValue(y);v&&(this.originPoint[y]+=p[y].translate,v.set(v.get()+p[y].translate))}),this.visualElement.render())}));return()=>{u(),a(),c(),h&&h()}}getProps(){const n=this.visualElement.getProps(),{drag:a=!1,dragDirectionLock:s=!1,dragPropagation:o=!1,dragConstraints:c=!1,dragElastic:u=Ih,dragMomentum:h=!0}=n;return{...n,drag:a,dragDirectionLock:s,dragPropagation:o,dragConstraints:c,dragElastic:u,dragMomentum:h}}}function Bl(e,n,a){return(n===!0||n===e)&&(a===null||a===e)}function lL(e,n=10){let a=null;return Math.abs(e.y)>n?a="y":Math.abs(e.x)>n&&(a="x"),a}class cL extends qi{constructor(n){super(n),this.removeGroupControls=rn,this.removeListeners=rn,this.controls=new oL(n)}mount(){const{dragControls:n}=this.node.getProps();n&&(this.removeGroupControls=n.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||rn}update(){const{dragControls:n}=this.node.getProps(),{dragControls:a}=this.node.prevProps||{};n!==a&&(this.removeGroupControls(),n&&(this.removeGroupControls=n.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const D0=e=>(n,a)=>{e&&Ge.postRender(()=>e(n,a))};class uL extends qi{constructor(){super(...arguments),this.removePointerDownListener=rn}onPointerDown(n){this.session=new RN(n,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:MN(this.node)})}createPanHandlers(){const{onPanSessionStart:n,onPanStart:a,onPan:s,onPanEnd:o}=this.node.getProps();return{onSessionStart:D0(n),onStart:D0(a),onMove:s,onEnd:(c,u)=>{delete this.session,o&&Ge.postRender(()=>o(c,u))}}}mount(){this.removePointerDownListener=_r(this.node.current,"pointerdown",n=>this.onPointerDown(n))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Hf=!1;class dL extends x.Component{componentDidMount(){const{visualElement:n,layoutGroup:a,switchLayoutGroup:s,layoutId:o}=this.props,{projection:c}=n;c&&(a.group&&a.group.add(c),s&&s.register&&o&&s.register(c),Hf&&c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),Zl.hasEverUpdated=!0}getSnapshotBeforeUpdate(n){const{layoutDependency:a,visualElement:s,drag:o,isPresent:c}=this.props,{projection:u}=s;return u&&(u.isPresent=c,Hf=!0,o||n.layoutDependency!==a||a===void 0||n.isPresent!==c?u.willUpdate():this.safeToRemove(),n.isPresent!==c&&(c?u.promote():u.relegate()||Ge.postRender(()=>{const h=u.getStack();(!h||!h.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:n}=this.props.visualElement;n&&(n.root.didUpdate(),Vm.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:n,layoutGroup:a,switchLayoutGroup:s}=this.props,{projection:o}=n;Hf=!0,o&&(o.scheduleCheckAfterUnmount(),a&&a.group&&a.group.remove(o),s&&s.deregister&&s.deregister(o))}safeToRemove(){const{safeToRemove:n}=this.props;n&&n()}render(){return null}}function DN(e){const[n,a]=bN(),s=x.useContext(pm);return d.jsx(dL,{...e,layoutGroup:s,switchLayoutGroup:x.useContext(TN),isPresent:n,safeToRemove:a})}const fL={pan:{Feature:uL},drag:{Feature:cL,ProjectionNode:xN,MeasureLayout:DN}};function O0(e,n,a){const{props:s}=e;e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",a==="Start");const o="onHover"+a,c=s[o];c&&Ge.postRender(()=>c(n,lo(n)))}class hL extends qi{mount(){const{current:n}=this.node;n&&(this.unmount=X3(n,(a,s)=>(O0(this.node,s,"Start"),o=>O0(this.node,o,"End"))))}unmount(){}}class mL extends qi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let n=!1;try{n=this.node.current.matches(":focus-visible")}catch{n=!0}!n||!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=so(Qr(this.node.current,"focus",()=>this.onFocus()),Qr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function k0(e,n,a){const{props:s}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&s.whileTap&&e.animationState.setActive("whileTap",a==="Start");const o="onTap"+(a==="End"?"":a),c=s[o];c&&Ge.postRender(()=>c(n,lo(n)))}class pL extends qi{mount(){const{current:n}=this.node;n&&(this.unmount=Z3(n,(a,s)=>(k0(this.node,s,"Start"),(o,{success:c})=>k0(this.node,o,c?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Fh=new WeakMap,qf=new WeakMap,gL=e=>{const n=Fh.get(e.target);n&&n(e)},yL=e=>{e.forEach(gL)};function vL({root:e,...n}){const a=e||document;qf.has(a)||qf.set(a,{});const s=qf.get(a),o=JSON.stringify(n);return s[o]||(s[o]=new IntersectionObserver(yL,{root:e,...n})),s[o]}function xL(e,n,a){const s=vL(n);return Fh.set(e,a),s.observe(e),()=>{Fh.delete(e),s.unobserve(e)}}const bL={some:0,all:1};class wL extends qi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:n={}}=this.node.getProps(),{root:a,margin:s,amount:o="some",once:c}=n,u={root:a?a.current:void 0,rootMargin:s,threshold:typeof o=="number"?o:bL[o]},h=p=>{const{isIntersecting:g}=p;if(this.isInView===g||(this.isInView=g,c&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:y,onViewportLeave:v}=this.node.getProps(),w=g?y:v;w&&w(p)};return xL(this.node.current,u,h)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:n,prevProps:a}=this.node;["amount","margin","root"].some(SL(n,a))&&this.startObserver()}unmount(){}}function SL({viewport:e={}},{viewport:n={}}={}){return a=>e[a]!==n[a]}const NL={inView:{Feature:wL},tap:{Feature:pL},focus:{Feature:mL},hover:{Feature:hL}},CL={layout:{ProjectionNode:xN,MeasureLayout:DN}},EL={...XP,...NL,...fL,...CL},Ne=qP(EL,GP);var jL=Symbol.for("react.lazy"),yc=Nc[" use ".trim().toString()];function TL(e){return typeof e=="object"&&e!==null&&"then"in e}function ON(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===jL&&"_payload"in e&&TL(e._payload)}function AL(e){const n=RL(e),a=x.forwardRef((s,o)=>{let{children:c,...u}=s;ON(c)&&typeof yc=="function"&&(c=yc(c._payload));const h=x.Children.toArray(c),p=h.find(DL);if(p){const g=p.props.children,y=h.map(v=>v===p?x.Children.count(g)>1?x.Children.only(null):x.isValidElement(g)?g.props.children:null:v);return d.jsx(n,{...u,ref:o,children:x.isValidElement(g)?x.cloneElement(g,void 0,y):null})}return d.jsx(n,{...u,ref:o,children:c})});return a.displayName=`${e}.Slot`,a}var ML=AL("Slot");function RL(e){const n=x.forwardRef((a,s)=>{let{children:o,...c}=a;if(ON(o)&&typeof yc=="function"&&(o=yc(o._payload)),x.isValidElement(o)){const u=kL(o),h=OL(c,o.props);return o.type!==x.Fragment&&(h.ref=s?Ii(s,u):u),x.cloneElement(o,h)}return x.Children.count(o)>1?x.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}var zL=Symbol("radix.slottable");function DL(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===zL}function OL(e,n){const a={...n};for(const s in n){const o=e[s],c=n[s];/^on[A-Z]/.test(s)?o&&c?a[s]=(...h)=>{const p=c(...h);return o(...h),p}:o&&(a[s]=o):s==="style"?a[s]={...o,...c}
vendor: 5,463 bytes, line 17
17:s==="className"&&(a[s]=[o,c].filter(Boolean).join(" "))}return{...e,...a}}function kL(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=n&&"isReactWarning"in n&&n.isReactWarning;return a?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=n&&"isReactWarning"in n&&n.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}const PL=H1("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 hover-elevate active-elevate-2",{variants:{variant:{default:"bg-primary text-primary-foreground border border-primary-border",destructive:"bg-destructive text-destructive-foreground shadow-sm border-destructive-border",outline:" border [border-color:var(--button-outline)] shadow-xs active:shadow-none ",secondary:"border bg-secondary text-secondary-foreground border border-secondary-border ",ghost:"border border-transparent",link:"text-primary underline-offset-4 hover:underline"},size:{default:"min-h-9 px-4 py-2",sm:"min-h-8 rounded-md px-3 text-xs",lg:"min-h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),Pe=x.forwardRef(({className:e,variant:n,size:a,asChild:s=!1,...o},c)=>{const u=s?ML:"button";return d.jsx(u,{className:Fe(PL({variant:n,size:a,className:e})),ref:c,...o})});Pe.displayName="Button";var LL=x.createContext(void 0);function kN(e){const n=x.useContext(LL);return e||n||"ltr"}var Gf=0;function PN(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??P0()),document.body.insertAdjacentElement("beforeend",e[1]??P0()),Gf++,()=>{Gf===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Gf--}},[])}function P0(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Kf="focusScope.autoFocusOnMount",Yf="focusScope.autoFocusOnUnmount",L0={bubbles:!1,cancelable:!0},_L="FocusScope",Ym=x.forwardRef((e,n)=>{const{loop:a=!1,trapped:s=!1,onMountAutoFocus:o,onUnmountAutoFocus:c,...u}=e,[h,p]=x.useState(null),g=Gt(o),y=Gt(c),v=x.useRef(null),w=et(n,C=>p(C)),S=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(s){let C=function(R){if(S.paused||!h)return;const k=R.target;h.contains(k)?v.current=k:ki(v.current,{select:!0})},j=function(R){if(S.paused||!h)return;const k=R.relatedTarget;k!==null&&(h.contains(k)||ki(v.current,{select:!0}))},T=function(R){if(document.activeElement===document.body)for(const L of R)L.removedNodes.length>0&&ki(h)};document.addEventListener("focusin",C),document.addEventListener("focusout",j);const z=new MutationObserver(T);return h&&z.observe(h,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",C),document.removeEventListener("focusout",j),z.disconnect()}}},[s,h,S.paused]),x.useEffect(()=>{if(h){V0.add(S);const C=document.activeElement;if(!h.contains(C)){const T=new CustomEvent(Kf,L0);h.addEventListener(Kf,g),h.dispatchEvent(T),T.defaultPrevented||(VL(HL(LN(h)),{select:!0}),document.activeElement===C&&ki(h))}return()=>{h.removeEventListener(Kf,g),setTimeout(()=>{const T=new CustomEvent(Yf,L0);h.addEventListener(Yf,y),h.dispatchEvent(T),T.defaultPrevented||ki(C??document.body,{select:!0}),h.removeEventListener(Yf,y),V0.remove(S)},0)}}},[h,g,y,S]);const E=x.useCallback(C=>{if(!a&&!s||S.paused)return;const j=C.key==="Tab"&&!C.altKey&&!C.ctrlKey&&!C.metaKey,T=document.activeElement;if(j&&T){const z=C.currentTarget,[R,k]=UL(z);R&&k?!C.shiftKey&&T===k?(C.preventDefault(),a&&ki(R,{select:!0})):C.shiftKey&&T===R&&(C.preventDefault(),a&&ki(k,{select:!0})):T===z&&C.preventDefault()}},[a,s,S.paused]);return d.jsx(Be.div,{tabIndex:-1,...u,ref:w,onKeyDown:E})});Ym.displayName=_L;function VL(e,{select:n=!1}={}){const a=document.activeElement;for(const s of e)if(ki(s,{select:n}),document.activeElement!==a)return}function UL(e){const n=LN(e),a=_0(n,e),s=_0(n.reverse(),e);return[a,s]}function LN(e){const n=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const o=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||o?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)n.push(a.currentNode);return n}function _0(e,n){for(const a of e)if(!BL(a,{upTo:n}))return a}function BL(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function IL(e){return e instanceof HTMLInputElement&&"select"in e}function ki(e,{select:n=!1}={}){if(e&&e.focus){const a=document.activeElement;e.focus({preventScroll:!0}),e!==a&&IL(e)&&n&&e.select()}}var V0=FL();function FL(){let e=[];return{add(n){const a=e[0];n!==a&&a?.pause(),e=U0(e,n),e.unshift(n)},remove(n){e=U0(e,n),e[0]?.resume()}}}function U0(e,n){const a=[...e],s=a.indexOf(n);return s!==-1&&a.splice(s,1),a}function HL(e){return e.filter(n=>n.tagName!=="A")}var $f="rovingFocusGroup.onEntryFocus",qL={bubbles:!1,cancelable:!0},co="RovingFocusGroup",[Hh,_N,GL]=Qh(co),[KL,VN]=Fi(co,[GL]),[YL,$L]=KL(co),UN=x.forwardRef((e,n
vendor: 4,242 bytes, line 17
17)=>d.jsx(Hh.Provider,{scope:e.__scopeRovingFocusGroup,children:d.jsx(Hh.Slot,{scope:e.__scopeRovingFocusGroup,children:d.jsx(XL,{...e,ref:n})})}));UN.displayName=co;var XL=x.forwardRef((e,n)=>{const{__scopeRovingFocusGroup:a,orientation:s,loop:o=!1,dir:c,currentTabStopId:u,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:p,onEntryFocus:g,preventScrollOnEntryFocus:y=!1,...v}=e,w=x.useRef(null),S=et(n,w),E=kN(c),[C,j]=Ac({prop:u,defaultProp:h??null,onChange:p,caller:co}),[T,z]=x.useState(!1),R=Gt(g),k=_N(a),L=x.useRef(!1),[K,I]=x.useState(0);return x.useEffect(()=>{const _=w.current;if(_)return _.addEventListener($f,R),()=>_.removeEventListener($f,R)},[R]),d.jsx(YL,{scope:a,orientation:s,dir:E,loop:o,currentTabStopId:C,onItemFocus:x.useCallback(_=>j(_),[j]),onItemShiftTab:x.useCallback(()=>z(!0),[]),onFocusableItemAdd:x.useCallback(()=>I(_=>_+1),[]),onFocusableItemRemove:x.useCallback(()=>I(_=>_-1),[]),children:d.jsx(Be.div,{tabIndex:T||K===0?-1:0,"data-orientation":s,...v,ref:S,style:{outline:"none",...e.style},onMouseDown:he(e.onMouseDown,()=>{L.current=!0}),onFocus:he(e.onFocus,_=>{const Q=!L.current;if(_.target===_.currentTarget&&Q&&!T){const J=new CustomEvent($f,qL);if(_.currentTarget.dispatchEvent(J),!J.defaultPrevented){const ne=k().filter(O=>O.focusable),ie=ne.find(O=>O.active),de=ne.find(O=>O.id===C),me=[ie,de,...ne].filter(Boolean).map(O=>O.ref.current);FN(me,y)}}L.current=!1}),onBlur:he(e.onBlur,()=>z(!1))})})}),BN="RovingFocusGroupItem",IN=x.forwardRef((e,n)=>{const{__scopeRovingFocusGroup:a,focusable:s=!0,active:o=!1,tabStopId:c,children:u,...h}=e,p=ps(),g=c||p,y=$L(BN,a),v=y.currentTabStopId===g,w=_N(a),{onFocusableItemAdd:S,onFocusableItemRemove:E,currentTabStopId:C}=y;return x.useEffect(()=>{if(s)return S(),()=>E()},[s,S,E]),d.jsx(Hh.ItemSlot,{scope:a,id:g,focusable:s,active:o,children:d.jsx(Be.span,{tabIndex:v?0:-1,"data-orientation":y.orientation,...h,ref:n,onMouseDown:he(e.onMouseDown,j=>{s?y.onItemFocus(g):j.preventDefault()}),onFocus:he(e.onFocus,()=>y.onItemFocus(g)),onKeyDown:he(e.onKeyDown,j=>{if(j.key==="Tab"&&j.shiftKey){y.onItemShiftTab();return}if(j.target!==j.currentTarget)return;const T=ZL(j,y.orientation,y.dir);if(T!==void 0){if(j.metaKey||j.ctrlKey||j.altKey||j.shiftKey)return;j.preventDefault();let R=w().filter(k=>k.focusable).map(k=>k.ref.current);if(T==="last")R.reverse();else if(T==="prev"||T==="next"){T==="prev"&&R.reverse();const k=R.indexOf(j.currentTarget);R=y.loop?JL(R,k+1):R.slice(k+1)}setTimeout(()=>FN(R))}}),children:typeof u=="function"?u({isCurrentTabStop:v,hasTabStop:C!=null}):u})})});IN.displayName=BN;var QL={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function WL(e,n){return n!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ZL(e,n,a){const s=WL(e.key,a);if(!(n==="vertical"&&["ArrowLeft","ArrowRight"].includes(s))&&!(n==="horizontal"&&["ArrowUp","ArrowDown"].includes(s)))return QL[s]}function FN(e,n=!1){const a=document.activeElement;for(const s of e)if(s===a||(s.focus({preventScroll:n}),document.activeElement!==a))return}function JL(e,n){return e.map((a,s)=>e[(n+s)%e.length])}var e_=UN,t_=IN;function n_(e){const n=i_(e),a=x.forwardRef((s,o)=>{const{children:c,...u}=s,h=x.Children.toArray(c),p=h.find(s_);if(p){const g=p.props.children,y=h.map(v=>v===p?x.Children.count(g)>1?x.Children.only(null):x.isValidElement(g)?g.props.children:null:v);return d.jsx(n,{...u,ref:o,children:x.isValidElement(g)?x.cloneElement(g,void 0,y):null})}return d.jsx(n,{...u,ref:o,children:c})});return a.displayName=`${e}.Slot`,a}function i_(e){const n=x.forwardRef((a,s)=>{const{children:o,...c}=a;if(x.isValidElement(o)){const u=o_(o),h=r_(c,o.props);return o.type!==x.Fragment&&(h.ref=s?Ii(s,u):u),x.cloneElement(o,h)}return x.Children.count(o)>1?x.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}var a_=Symbol("radix.slottable");function s_(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===a_}function r_(e,n){const a={...n};for(const s in n){const o=e[s],c=n[s];/^on[A-Z]/.test(s)?o&&c?a[s]=(...h)=>{const p=c(...h);return o(...h),p}:o&&(a[s]=o):s==="style"?a[s]={...o,...c}
vendor: 8,520 bytes, lines 17-54
17:s==="className"&&(a[s]=[o,c].filter(Boolean).join(" "))}return{...e,...a}}function o_(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=n&&"isReactWarning"in n&&n.isReactWarning;return a?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=n&&"isReactWarning"in n&&n.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var l_=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},ls=new WeakMap,Il=new WeakMap,Fl={},Xf=0,HN=function(e){return e&&(e.host||HN(e.parentNode))},c_=function(e,n){return n.map(function(a){if(e.contains(a))return a;var s=HN(a);return s&&e.contains(s)?s:(console.error("aria-hidden",a,"in not contained inside",e,". Doing nothing"),null)}).filter(function(a){return!!a})},u_=function(e,n,a,s){var o=c_(n,Array.isArray(e)?e:[e]);Fl[a]||(Fl[a]=new WeakMap);var c=Fl[a],u=[],h=new Set,p=new Set(o),g=function(v){!v||h.has(v)||(h.add(v),g(v.parentNode))};o.forEach(g);var y=function(v){!v||p.has(v)||Array.prototype.forEach.call(v.children,function(w){if(h.has(w))y(w);else try{var S=w.getAttribute(s),E=S!==null&&S!=="false",C=(ls.get(w)||0)+1,j=(c.get(w)||0)+1;ls.set(w,C),c.set(w,j),u.push(w),C===1&&E&&Il.set(w,!0),j===1&&w.setAttribute(a,"true"),E||w.setAttribute(s,"true")}catch(T){console.error("aria-hidden: cannot operate on ",w,T)}})};return y(n),h.clear(),Xf++,function(){u.forEach(function(v){var w=ls.get(v)-1,S=c.get(v)-1;ls.set(v,w),c.set(v,S),w||(Il.has(v)||v.removeAttribute(s),Il.delete(v)),S||v.removeAttribute(a)}),Xf--,Xf||(ls=new WeakMap,ls=new WeakMap,Il=new WeakMap,Fl={})}},qN=function(e,n,a){a===void 0&&(a="data-aria-hidden");var s=Array.from(Array.isArray(e)?e:[e]),o=l_(e);return o?(s.push.apply(s,Array.from(o.querySelectorAll("[aria-live], script"))),u_(s,o,a,"aria-hidden")):function(){return null}},En=function(){return En=Object.assign||function(n){for(var a,s=1,o=arguments.length;s<o;s++){a=arguments[s];for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(n[c]=a[c])}return n},En.apply(this,arguments)};function GN(e,n){var a={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&n.indexOf(s)<0&&(a[s]=e[s]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,s=Object.getOwnPropertySymbols(e);o<s.length;o++)n.indexOf(s[o])<0&&Object.prototype.propertyIsEnumerable.call(e,s[o])&&(a[s[o]]=e[s[o]]);return a}function d_(e,n,a){if(a||arguments.length===2)for(var s=0,o=n.length,c;s<o;s++)(c||!(s in n))&&(c||(c=Array.prototype.slice.call(n,0,s)),c[s]=n[s]);return e.concat(c||Array.prototype.slice.call(n))}var Jl="right-scroll-bar-position",ec="width-before-scroll-bar",f_="with-scroll-bars-hidden",h_="--removed-body-scroll-bar-size";function Qf(e,n){return typeof e=="function"?e(n):e&&(e.current=n),e}function m_(e,n){var a=x.useState(function(){return{value:e,callback:n,facade:{get current(){return a.value},set current(s){var o=a.value;o!==s&&(a.value=s,a.callback(s,o))}}}})[0];return a.callback=n,a.facade}var p_=typeof window<"u"?x.useLayoutEffect:x.useEffect,B0=new WeakMap;function g_(e,n){var a=m_(null,function(s){return e.forEach(function(o){return Qf(o,s)})});return p_(function(){var s=B0.get(a);if(s){var o=new Set(s),c=new Set(e),u=a.current;o.forEach(function(h){c.has(h)||Qf(h,null)}),c.forEach(function(h){o.has(h)||Qf(h,u)})}B0.set(a,e)},[e]),a}function y_(e){return e}function v_(e,n){n===void 0&&(n=y_);var a=[],s=!1,o={read:function(){if(s)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:e},useMedium:function(c){var u=n(c,s);return a.push(u),function(){a=a.filter(function(h){return h!==u})}},assignSyncMedium:function(c){for(s=!0;a.length;){var u=a;a=[],u.forEach(c)}a={push:function(h){return c(h)},filter:function(){return a}}},assignMedium:function(c){s=!0;var u=[];if(a.length){var h=a;a=[],h.forEach(c),u=a}var p=function(){var y=u;u=[],y.forEach(c)},g=function(){return Promise.resolve().then(p)};g(),a={push:function(y){u.push(y),g()},filter:function(y){return u=u.filter(y),a}}}};return o}function x_(e){e===void 0&&(e={});var n=v_(null);return n.options=En({async:!0,ssr:!1},e),n}var KN=function(e){var n=e.sideCar,a=GN(e,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var s=n.read();if(!s)throw new Error("Sidecar medium not found");return x.createElement(s,En({},a))};KN.isSideCarExport=!0;function b_(e,n){return e.useMedium(n),KN}var YN=x_(),Wf=function(){},Fc=x.forwardRef(function(e,n){var a=x.useRef(null),s=x.useState({onScrollCapture:Wf,onWheelCapture:Wf,onTouchMoveCapture:Wf}),o=s[0],c=s[1],u=e.forwardProps,h=e.children,p=e.className,g=e.removeScrollBar,y=e.enabled,v=e.shards,w=e.sideCar,S=e.noRelative,E=e.noIsolation,C=e.inert,j=e.allowPinchZoom,T=e.as,z=T===void 0?"div":T,R=e.gapMode,k=GN(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),L=w,K=g_([a,n]),I=En(En({},k),o);return x.createElement(x.Fragment,null,y&&x.createElement(L,{sideCar:YN,removeScrollBar:g,shards:v,noRelative:S,noIsolation:E,inert:C,setCallbacks:c,allowPinchZoom:!!j,lockRef:a,gapMode:R}),u?x.cloneElement(x.Children.only(h),En(En({},I),{ref:K})):x.createElement(z,En({},I,{className:p,ref:K}),h))});Fc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Fc.classNames={fullWidth:ec,zeroRight:Jl};var w_=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function S_(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=w_();return n&&e.setAttribute("nonce",n),e}function N_(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}function C_(e){var n=document.head||document.getElementsByTagName("head")[0];n.appendChild(e)}var E_=function(){var e=0,n=null;return{add:function(a){e==0&&(n=S_())&&(N_(n,a),C_(n)),e++},remove:function(){e--,!e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},j_=function(){var e=E_();return function(n,a){x.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&a])}},$N=function(){var e=j_(),n=function(a){var s=a.styles,o=a.dynamic;return e(s,o),null};return n},T_={left:0,top:0,right:0,gap:0},Zf=function(e){return parseInt(e||"",10)||0},A_=function(e){var n=window.getComputedStyle(document.body),a=n[e==="padding"?"paddingLeft":"marginLeft"],s=n[e==="padding"?"paddingTop":"marginTop"],o=n[e==="padding"?"paddingRight":"marginRight"];return[Zf(a),Zf(s),Zf(o)]},M_=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return T_;var n=A_(e),a=document.documentElement.clientWidth,s=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,s-a+n[2]-n[0])}},R_=$N(),vs="data-scroll-locked",z_=function(e,n,a,s){var o=e.left,c=e.top,u=e.right,h=e.gap;return a===void 0&&(a="margin"),` 18 .`.concat(f_,` { 19 overflow: hidden `).concat(s,`; 20 padding-right: `).concat(h,"px ").concat(s,`; 21 } 22 body[`).concat(vs,`] { 23 overflow: hidden `).concat(s,`; 24 overscroll-behavior: contain; 25 `).concat([n&&"position: relative ".concat(s,";"),a==="margin"&&` 26 padding-left: `.concat(o,`px; 27 padding-top: `).concat(c,`px; 28 padding-right: `).concat(u,`px; 29 margin-left:0; 30 margin-top:0; 31 margin-right: `).concat(h,"px ").concat(s,`; 32 `),a==="padding"&&"padding-right: ".concat(h,"px ").concat(s,";")].filter(Boolean).join(""),` 33 } 34 35 .`).concat(Jl,` { 36 right: `).concat(h,"px ").concat(s,`; 37 } 38 39 .`).concat(ec,` { 40 margin-right: `).concat(h,"px ").concat(s,`; 41 } 42 43 .`).concat(Jl," .").concat(Jl,` { 44 right: 0 `).concat(s,`; 45 } 46 47 .`).concat(ec," .").concat(ec,` { 48 margin-right: 0 `).concat(s,`; 49 } 50 51 body[`).concat(vs,`] { 52 `).concat(h_,": ").concat(h,`px; 53 } 54`)},I0=function(){var e=parseInt(document.body.getAttribute(vs)||"0",10);return isFinite(e)?e:0},D_=function(){x.useEffect(function(){return document.body.setAttribute(vs,(I0()+1).toString()),function(){var e=I0()-1;e<=0?document.body.removeAttribute(vs):document.body.setAttribute(vs,e.toString())}},[])},O_=function(e){var n=e.noRelative,a=e.noImportant,s=e.gapMode,o=s===void 0?"margin":s;D_();var c=x.useMemo(function(){return M_(o)},[o]);return x.createElement(R_,{styles:z_(c,!n,o,a?"":"!important")})},qh=!1;if(typeof window<"u")try{var Hl=Object.defineProperty({},"passive",{get:function(){return qh=!0,!0}});window.addEventListener("test",Hl,Hl),window.removeEventListener("test",Hl,Hl)}catch{qh=!1}
vendor: 1,975 bytes, lines 54-57
54var cs=qh?{passive:!1}:!1,k_=function(e){return e.tagName==="TEXTAREA"},XN=function(e,n){if(!(e instanceof Element))return!1;var a=window.getComputedStyle(e);return a[n]!=="hidden"&&!(a.overflowY===a.overflowX&&!k_(e)&&a[n]==="visible")},P_=function(e){return XN(e,"overflowY")},L_=function(e){return XN(e,"overflowX")},F0=function(e,n){var a=n.ownerDocument,s=n;do{typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&(s=s.host);var o=QN(e,s);if(o){var c=WN(e,s),u=c[1],h=c[2];if(u>h)return!0}s=s.parentNode}while(s&&s!==a.body);return!1},__=function(e){var n=e.scrollTop,a=e.scrollHeight,s=e.clientHeight;return[n,a,s]},V_=function(e){var n=e.scrollLeft,a=e.scrollWidth,s=e.clientWidth;return[n,a,s]},QN=function(e,n){return e==="v"?P_(n):L_(n)},WN=function(e,n){return e==="v"?__(n):V_(n)},U_=function(e,n){return e==="h"&&n==="rtl"?-1:1},B_=function(e,n,a,s,o){var c=U_(e,window.getComputedStyle(n).direction),u=c*s,h=a.target,p=n.contains(h),g=!1,y=u>0,v=0,w=0;do{if(!h)break;var S=WN(e,h),E=S[0],C=S[1],j=S[2],T=C-j-c*E;(E||T)&&QN(e,h)&&(v+=T,w+=E);var z=h.parentNode;h=z&&z.nodeType===Node.DOCUMENT_FRAGMENT_NODE?z.host:z}while(!p&&h!==document.body||p&&(n.contains(h)||n===h));return(y&&Math.abs(v)<1||!y&&Math.abs(w)<1)&&(g=!0),g},ql=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},H0=function(e){return[e.deltaX,e.deltaY]},q0=function(e){return e&&"current"in e?e.current:e},I_=function(e,n){return e[0]===n[0]&&e[1]===n[1]},F_=function(e){return` 55 .block-interactivity-`.concat(e,` {pointer-events: none;} 56 .allow-interactivity-`).concat(e,` {pointer-events: all;} 57`)},H_=0,us=[];function q_(e){var n=x.useRef([]),a=x.useRef([0,0]),s=x.useRef(),o=x.useState(H_++)[0],c=x.useState($N)[0],u=x.useRef(e);x.useEffect(function(){u.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var C=d_([e.lockRef.current],(e.shards||[]).map(q0),!0).filter(Boolean);
vendor: 17,279 bytes, line 57
57return C.forEach(function(j){return j.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),C.forEach(function(j){return j.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var h=x.useCallback(function(C,j){if("touches"in C&&C.touches.length===2||C.type==="wheel"&&C.ctrlKey)return!u.current.allowPinchZoom;var T=ql(C),z=a.current,R="deltaX"in C?C.deltaX:z[0]-T[0],k="deltaY"in C?C.deltaY:z[1]-T[1],L,K=C.target,I=Math.abs(R)>Math.abs(k)?"h":"v";if("touches"in C&&I==="h"&&K.type==="range")return!1;var _=window.getSelection(),Q=_&&_.anchorNode,J=Q?Q===K||Q.contains(K):!1;if(J)return!1;var ne=F0(I,K);if(!ne)return!0;if(ne?L=I:(L=I==="v"?"h":"v",ne=F0(I,K)),!ne)return!1;if(!s.current&&"changedTouches"in C&&(R||k)&&(s.current=L),!L)return!0;var ie=s.current||L;return B_(ie,j,C,ie==="h"?R:k)},[]),p=x.useCallback(function(C){var j=C;if(!(!us.length||us[us.length-1]!==c)){var T="deltaY"in j?H0(j):ql(j),z=n.current.filter(function(L){return L.name===j.type&&(L.target===j.target||j.target===L.shadowParent)&&I_(L.delta,T)})[0];if(z&&z.should){j.cancelable&&j.preventDefault();return}if(!z){var R=(u.current.shards||[]).map(q0).filter(Boolean).filter(function(L){return L.contains(j.target)}),k=R.length>0?h(j,R[0]):!u.current.noIsolation;k&&j.cancelable&&j.preventDefault()}}},[]),g=x.useCallback(function(C,j,T,z){var R={name:C,delta:j,target:T,should:z,shadowParent:G_(T)};n.current.push(R),setTimeout(function(){n.current=n.current.filter(function(k){return k!==R})},1)},[]),y=x.useCallback(function(C){a.current=ql(C),s.current=void 0},[]),v=x.useCallback(function(C){g(C.type,H0(C),C.target,h(C,e.lockRef.current))},[]),w=x.useCallback(function(C){g(C.type,ql(C),C.target,h(C,e.lockRef.current))},[]);x.useEffect(function(){return us.push(c),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:w}),document.addEventListener("wheel",p,cs),document.addEventListener("touchmove",p,cs),document.addEventListener("touchstart",y,cs),function(){us=us.filter(function(C){return C!==c}),document.removeEventListener("wheel",p,cs),document.removeEventListener("touchmove",p,cs),document.removeEventListener("touchstart",y,cs)}},[]);var S=e.removeScrollBar,E=e.inert;return x.createElement(x.Fragment,null,E?x.createElement(c,{styles:F_(o)}):null,S?x.createElement(O_,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function G_(e){for(var n=null;e!==null;)e instanceof ShadowRoot&&(n=e.host,e=e.host),e=e.parentNode;return n}const K_=b_(YN,q_);var $m=x.forwardRef(function(e,n){return x.createElement(Fc,En({},e,{ref:n,sideCar:K_}))});$m.classNames=Fc.classNames;var Gh=["Enter"," "],Y_=["ArrowDown","PageUp","Home"],ZN=["ArrowUp","PageDown","End"],$_=[...Y_,...ZN],X_={ltr:[...Gh,"ArrowRight"],rtl:[...Gh,"ArrowLeft"]},Q_={ltr:["ArrowLeft"],rtl:["ArrowRight"]},uo="Menu",[Wr,W_,Z_]=Qh(uo),[ba,JN]=Fi(uo,[Z_,Lc,VN]),Hc=Lc(),eC=VN(),[J_,wa]=ba(uo),[e5,fo]=ba(uo),tC=e=>{const{__scopeMenu:n,open:a=!1,children:s,dir:o,onOpenChange:c,modal:u=!0}=e,h=Hc(n),[p,g]=x.useState(null),y=x.useRef(!1),v=Gt(c),w=kN(o);return x.useEffect(()=>{const S=()=>{y.current=!0,document.addEventListener("pointerdown",E,{capture:!0,once:!0}),document.addEventListener("pointermove",E,{capture:!0,once:!0})},E=()=>y.current=!1;return document.addEventListener("keydown",S,{capture:!0}),()=>{document.removeEventListener("keydown",S,{capture:!0}),document.removeEventListener("pointerdown",E,{capture:!0}),document.removeEventListener("pointermove",E,{capture:!0})}},[]),d.jsx(pO,{...h,children:d.jsx(J_,{scope:n,open:a,onOpenChange:v,content:p,onContentChange:g,children:d.jsx(e5,{scope:n,onClose:x.useCallback(()=>v(!1),[v]),isUsingKeyboardRef:y,dir:w,modal:u,children:s})})})};tC.displayName=uo;var t5="MenuAnchor",Xm=x.forwardRef((e,n)=>{const{__scopeMenu:a,...s}=e,o=Hc(a);return d.jsx(_w,{...o,...s,ref:n})});Xm.displayName=t5;var Qm="MenuPortal",[n5,nC]=ba(Qm,{forceMount:void 0}),iC=e=>{const{__scopeMenu:n,forceMount:a,children:s,container:o}=e,c=wa(Qm,n);return d.jsx(n5,{scope:n,forceMount:a,children:d.jsx(yn,{present:a||c.open,children:d.jsx(to,{asChild:!0,container:o,children:s})})})};iC.displayName=Qm;var on="MenuContent",[i5,Wm]=ba(on),aC=x.forwardRef((e,n)=>{const a=nC(on,e.__scopeMenu),{forceMount:s=a.forceMount,...o}=e,c=wa(on,e.__scopeMenu),u=fo(on,e.__scopeMenu);return d.jsx(Wr.Provider,{scope:e.__scopeMenu,children:d.jsx(yn,{present:s||c.open,children:d.jsx(Wr.Slot,{scope:e.__scopeMenu,children:u.modal?d.jsx(a5,{...o,ref:n}):d.jsx(s5,{...o,ref:n})})})})}),a5=x.forwardRef((e,n)=>{const a=wa(on,e.__scopeMenu),s=x.useRef(null),o=et(n,s);return x.useEffect(()=>{const c=s.current;if(c)return qN(c)},[]),d.jsx(Zm,{...e,ref:o,trapFocus:a.open,disableOutsidePointerEvents:a.open,disableOutsideScroll:!0,onFocusOutside:he(e.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>a.onOpenChange(!1)})}),s5=x.forwardRef((e,n)=>{const a=wa(on,e.__scopeMenu);return d.jsx(Zm,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>a.onOpenChange(!1)})}),r5=n_("MenuContent.ScrollLock"),Zm=x.forwardRef((e,n)=>{const{__scopeMenu:a,loop:s=!1,trapFocus:o,onOpenAutoFocus:c,onCloseAutoFocus:u,disableOutsidePointerEvents:h,onEntryFocus:p,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:v,onInteractOutside:w,onDismiss:S,disableOutsideScroll:E,...C}=e,j=wa(on,a),T=fo(on,a),z=Hc(a),R=eC(a),k=W_(a),[L,K]=x.useState(null),I=x.useRef(null),_=et(n,I,j.onContentChange),Q=x.useRef(0),J=x.useRef(""),ne=x.useRef(0),ie=x.useRef(null),de=x.useRef("right"),ee=x.useRef(0),me=E?$m:x.Fragment,O=E?{as:r5,allowPinchZoom:!0}:void 0,q=W=>{const ue=J.current+W,M=k().filter(ae=>!ae.disabled),G=document.activeElement,Z=M.find(ae=>ae.ref.current===G)?.textValue,te=M.map(ae=>ae.textValue),pe=v5(te,ue,Z),ye=M.find(ae=>ae.textValue===pe)?.ref.current;(function ae(Ke){J.current=Ke,window.clearTimeout(Q.current),Ke!==""&&(Q.current=window.setTimeout(()=>ae(""),1e3))})(ue),ye&&setTimeout(()=>ye.focus())};x.useEffect(()=>()=>window.clearTimeout(Q.current),[]),PN();const V=x.useCallback(W=>de.current===ie.current?.side&&b5(W,ie.current?.area),[]);return d.jsx(i5,{scope:a,searchRef:J,onItemEnter:x.useCallback(W=>{V(W)&&W.preventDefault()},[V]),onItemLeave:x.useCallback(W=>{V(W)||(I.current?.focus(),K(null))},[V]),onTriggerLeave:x.useCallback(W=>{V(W)&&W.preventDefault()},[V]),pointerGraceTimerRef:ne,onPointerGraceIntentChange:x.useCallback(W=>{ie.current=W},[]),children:d.jsx(me,{...O,children:d.jsx(Ym,{asChild:!0,trapped:o,onMountAutoFocus:he(c,W=>{W.preventDefault(),I.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:u,children:d.jsx(eo,{asChild:!0,disableOutsidePointerEvents:h,onEscapeKeyDown:g,onPointerDownOutside:y,onFocusOutside:v,onInteractOutside:w,onDismiss:S,children:d.jsx(e_,{asChild:!0,...R,dir:T.dir,orientation:"vertical",loop:s,currentTabStopId:L,onCurrentTabStopIdChange:K,onEntryFocus:he(p,W=>{T.isUsingKeyboardRef.current||W.preventDefault()}),preventScrollOnEntryFocus:!0,children:d.jsx(Vw,{role:"menu","aria-orientation":"vertical","data-state":bC(j.open),"data-radix-menu-content":"",dir:T.dir,...z,...C,ref:_,style:{outline:"none",...C.style},onKeyDown:he(C.onKeyDown,W=>{const M=W.target.closest("[data-radix-menu-content]")===W.currentTarget,G=W.ctrlKey||W.altKey||W.metaKey,Z=W.key.length===1;M&&(W.key==="Tab"&&W.preventDefault(),!G&&Z&&q(W.key));const te=I.current;if(W.target!==te||!$_.includes(W.key))return;W.preventDefault();const ye=k().filter(ae=>!ae.disabled).map(ae=>ae.ref.current);ZN.includes(W.key)&&ye.reverse(),g5(ye)}),onBlur:he(e.onBlur,W=>{W.currentTarget.contains(W.target)||(window.clearTimeout(Q.current),J.current="")}),onPointerMove:he(e.onPointerMove,Zr(W=>{const ue=W.target,M=ee.current!==W.clientX;if(W.currentTarget.contains(ue)&&M){const G=W.clientX>ee.current?"right":"left";de.current=G,ee.current=W.clientX}}))})})})})})})});aC.displayName=on;var o5="MenuGroup",Jm=x.forwardRef((e,n)=>{const{__scopeMenu:a,...s}=e;return d.jsx(Be.div,{role:"group",...s,ref:n})});Jm.displayName=o5;var l5="MenuLabel",sC=x.forwardRef((e,n)=>{const{__scopeMenu:a,...s}=e;return d.jsx(Be.div,{...s,ref:n})});sC.displayName=l5;var vc="MenuItem",G0="menu.itemSelect",qc=x.forwardRef((e,n)=>{const{disabled:a=!1,onSelect:s,...o}=e,c=x.useRef(null),u=fo(vc,e.__scopeMenu),h=Wm(vc,e.__scopeMenu),p=et(n,c),g=x.useRef(!1),y=()=>{const v=c.current;if(!a&&v){const w=new CustomEvent(G0,{bubbles:!0,cancelable:!0});v.addEventListener(G0,S=>s?.(S),{once:!0}),Wh(v,w),w.defaultPrevented?g.current=!1:u.onClose()}};return d.jsx(rC,{...o,ref:p,disabled:a,onClick:he(e.onClick,y),onPointerDown:v=>{e.onPointerDown?.(v),g.current=!0},onPointerUp:he(e.onPointerUp,v=>{g.current||v.currentTarget?.click()}),onKeyDown:he(e.onKeyDown,v=>{const w=h.searchRef.current!=="";a||w&&v.key===" "||Gh.includes(v.key)&&(v.currentTarget.click(),v.preventDefault())})})});qc.displayName=vc;var rC=x.forwardRef((e,n)=>{const{__scopeMenu:a,disabled:s=!1,textValue:o,...c}=e,u=Wm(vc,a),h=eC(a),p=x.useRef(null),g=et(n,p),[y,v]=x.useState(!1),[w,S]=x.useState("");return x.useEffect(()=>{const E=p.current;E&&S((E.textContent??"").trim())},[c.children]),d.jsx(Wr.ItemSlot,{scope:a,disabled:s,textValue:o??w,children:d.jsx(t_,{asChild:!0,...h,focusable:!s,children:d.jsx(Be.div,{role:"menuitem","data-highlighted":y?"":void 0,"aria-disabled":s||void 0,"data-disabled":s?"":void 0,...c,ref:g,onPointerMove:he(e.onPointerMove,Zr(E=>{s?u.onItemLeave(E):(u.onItemEnter(E),E.defaultPrevented||E.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:he(e.onPointerLeave,Zr(E=>u.onItemLeave(E))),onFocus:he(e.onFocus,()=>v(!0)),onBlur:he(e.onBlur,()=>v(!1))})})})}),c5="MenuCheckboxItem",oC=x.forwardRef((e,n)=>{const{checked:a=!1,onCheckedChange:s,...o}=e;return d.jsx(fC,{scope:e.__scopeMenu,checked:a,children:d.jsx(qc,{role:"menuitemcheckbox","aria-checked":xc(a)?"mixed":a,...o,ref:n,"data-state":tp(a),onSelect:he(o.onSelect,()=>s?.(xc(a)?!0:!a),{checkForDefaultPrevented:!1})})})});oC.displayName=c5;var lC="MenuRadioGroup",[u5,d5]=ba(lC,{value:void 0,onValueChange:()=>{}}),cC=x.forwardRef((e,n)=>{const{value:a,onValueChange:s,...o}=e,c=Gt(s);return d.jsx(u5,{scope:e.__scopeMenu,value:a,onValueChange:c,children:d.jsx(Jm,{...o,ref:n})})});cC.displayName=lC;var uC="MenuRadioItem",dC=x.forwardRef((e,n)=>{const{value:a,...s}=e,o=d5(uC,e.__scopeMenu),c=a===o.value;return d.jsx(fC,{scope:e.__scopeMenu,checked:c,children:d.jsx(qc,{role:"menuitemradio","aria-checked":c,...s,ref:n,"data-state":tp(c),onSelect:he(s.onSelect,()=>o.onValueChange?.(a),{checkForDefaultPrevented:!1})})})});dC.displayName=uC;var ep="MenuItemIndicator",[fC,f5]=ba(ep,{checked:!1}),hC=x.forwardRef((e,n)=>{const{__scopeMenu:a,forceMount:s,...o}=e,c=f5(ep,a);return d.jsx(yn,{present:s||xc(c.checked)||c.checked===!0,children:d.jsx(Be.span,{...o,ref:n,"data-state":tp(c.checked)})})});hC.displayName=ep;var h5="MenuSeparator",mC=x.forwardRef((e,n)=>{const{__scopeMenu:a,...s}=e;return d.jsx(Be.div,{role:"separator","aria-orientation":"horizontal",...s,ref:n})});mC.displayName=h5;var m5="MenuArrow",pC=x.forwardRef((e,n)=>{const{__scopeMenu:a,...s}=e,o=Hc(a);return d.jsx(Uw,{...o,...s,ref:n})});pC.displayName=m5;var p5="MenuSub",[e8,gC]=ba(p5),Rr="MenuSubTrigger",yC=x.forwardRef((e,n)=>{const a=wa(Rr,e.__scopeMenu),s=fo(Rr,e.__scopeMenu),o=gC(Rr,e.__scopeMenu),c=Wm(Rr,e.__scopeMenu),u=x.useRef(null),{pointerGraceTimerRef:h,onPointerGraceIntentChange:p}=c,g={__scopeMenu:e.__scopeMenu},y=x.useCallback(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return x.useEffect(()=>y,[y]),x.useEffect(()=>{const v=h.current;return()=>{window.clearTimeout(v),p(null)}},[h,p]),d.jsx(Xm,{asChild:!0,...g,children:d.jsx(rC,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":o.contentId,"data-state":bC(a.open),...e,ref:Ii(n,o.onTriggerChange),onClick:v=>{e.onClick?.(v),!(e.disabled||v.defaultPrevented)&&(v.currentTarget.focus(),a.open||a.onOpenChange(!0))},onPointerMove:he(e.onPointerMove,Zr(v=>{c.onItemEnter(v),!v.defaultPrevented&&!e.disabled&&!a.open&&!u.current&&(c.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{a.onOpenChange(!0),y()},100))})),onPointerLeave:he(e.onPointerLeave,Zr(v=>{y();const w=a.content?.getBoundingClientRect();if(w){const S=a.content?.dataset.side,E=S==="right",C=E?-5:5,j=w[E?"left":"right"],T=w[E?"right":"left"];c.onPointerGraceIntentChange({area:[{x:v.clientX+C,y:v.clientY},{x:j,y:w.top},{x:T,y:w.top},{x:T,y:w.bottom},{x:j,y:w.bottom}],side:S}),window.clearTimeout(h.current),h.current=window.setTimeout(()=>c.onPointerGraceIntentChange(null),300)}else{if(c.onTriggerLeave(v),v.defaultPrevented)return;c.onPointerGraceIntentChange(null)}})),onKeyDown:he(e.onKeyDown,v=>{const w=c.searchRef.current!=="";e.disabled||w&&v.key===" "||X_[s.dir].includes(v.key)&&(a.onOpenChange(!0),a.content?.focus(),v.preventDefault())})})})});yC.displayName=Rr;var vC="MenuSubContent",xC=x.forwardRef((e,n)=>{const a=nC(on,e.__scopeMenu),{forceMount:s=a.forceMount,...o}=e,c=wa(on,e.__scopeMenu),u=fo(on,e.__scopeMenu),h=gC(vC,e.__scopeMenu),p=x.useRef(null),g=et(n,p);return d.jsx(Wr.Provider,{scope:e.__scopeMenu,children:d.jsx(yn,{present:s||c.open,children:d.jsx(Wr.Slot,{scope:e.__scopeMenu,children:d.jsx(Zm,{id:h.contentId,"aria-labelledby":h.triggerId,...o,ref:g,align:"start",side:u.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:y=>{u.isUsingKeyboardRef.current&&p.current?.focus(),y.preventDefault()},onCloseAutoFocus:y=>y.preventDefault(),onFocusOutside:he(e.onFocusOutside,y=>{y.target!==h.trigger&&c.onOpenChange(!1)}),onEscapeKeyDown:he(e.onEscapeKeyDown,y=>{u.onClose(),y.preventDefault()}),onKeyDown:he(e.onKeyDown,y=>{const v=y.currentTarget.contains(y.target),w=Q_[u.dir].includes(y.key);v&&w&&(c.onOpenChange(!1),h.trigger?.focus(),y.preventDefault())})})})})})});xC.displayName=vC;function bC(e){return e?"open":"closed"}function xc(e){return e==="indeterminate"}function tp(e){return xc(e)?"indeterminate":e?"checked":"unchecked"}function g5(e){const n=document.activeElement;for(const a of e)if(a===n||(a.focus(),document.activeElement!==n))return}function y5(e,n){return e.map((a,s)=>e[(n+s)%e.length])}function v5(e,n,a){const o=n.length>1&&Array.from(n).every(g=>g===n[0])?n[0]:n,c=a?e.indexOf(a):-1;let u=y5(e,Math.max(c,0));o.length===1&&(u=u.filter(g=>g!==a));const p=u.find(g=>g.toLowerCase().startsWith(o.toLowerCase()));return p!==a?p:void 0}function x5(e,n){const{x:a,y:s}=e;let o=!1;for(let c=0,u=n.length-1;c<n.length;u=c++){const h=n[c],p=n[u],g=h.x,y=h.y,v=p.x,w=p.y;y>s!=w>s&&a<(v-g)*(s-y)/(w-y)+g&&(o=!o)}return o}function b5(e,n){if(!n)return!1;const a={x:e.clientX,y:e.clientY};return x5(a,n)}function Zr(e){return n=>n.pointerType==="mouse"?e(n):void 0}var w5=tC,S5=Xm,N5=iC,C5=aC,E5=Jm,j5=sC,T5=qc,A5=oC,M5=cC,R5=dC,z5=hC,D5=mC,O5=pC,k5=yC,P5=xC,Gc="DropdownMenu",[L5]=Fi(Gc,[JN]),Et=JN(),[_5,wC]=L5(Gc),SC=e=>{const{__scopeDropdownMenu:n,children:a,dir:s,open:o,defaultOpen:c,onOpenChange:u,modal:h=!0}=e,p=Et(n),g=x.useRef(null),[y,v]=Ac({prop:o,defaultProp:c??!1,onChange:u,caller:Gc});return d.jsx(_5,{scope:n,triggerId:ps(),triggerRef:g,contentId:ps(),open:y,onOpenChange:v,onOpenToggle:x.useCallback(()=>v(w=>!w),[v]),modal:h,children:d.jsx(w5,{...p,open:y,onOpenChange:v,dir:s,modal:h,children:a})})};SC.displayName=Gc;var NC="DropdownMenuTrigger",CC=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:a,disabled:s=!1,...o}=e,c=wC(NC,a),u=Et(a);return d.jsx(S5,{asChild:!0,...u,children:d.jsx(Be.button,{type:"button",id:c.triggerId,"aria-haspopup":"menu","aria-expanded":c.open,"aria-controls":c.open?c.contentId:void 0,"data-state":c.open?"open":"closed","data-disabled":s?"":void 0,disabled:s,...o,ref:Ii(n,c.triggerRef),onPointerDown:he(e.onPointerDown,h=>{!s&&h.button===0&&h.ctrlKey===!1&&(c.onOpenToggle(),c.open||h.preventDefault())}),onKeyDown:he(e.onKeyDown,h=>{s||(["Enter"," "].includes(h.key)&&c.onOpenToggle(),h.key==="ArrowDown"&&c.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(h.key)&&h.preventDefault())})})})});CC.displayName=NC;var V5="DropdownMenuPortal",EC=e=>{const{__scopeDropdownMenu:n,...a}=e,s=Et(n);return d.jsx(N5,{...s,...a})};EC.displayName=V5;var jC="DropdownMenuContent",TC=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:a,...s}=e,o=wC(jC,a),c=Et(a),u=x.useRef(!1);return d.jsx(C5,{id:o.contentId,"aria-labelledby":o.triggerId,...c,...s,ref:n,onCloseAutoFocus:he(e.onCloseAutoFocus,h=>{u.current||o.triggerRef.current?.focus(),u.current=!1,h.preventDefault()}),onInteractOutside:he(e.onInteractOutside,h=>{const p=h.detail.originalEvent,g=p.button===0&&p.ctrlKey===!0,y=p.button===2||g;(!o.modal||y)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});TC.displayName=jC;
57var U5="DropdownMenuGroup",B5=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:a,...s}=e,o=Et(a);return d.jsx(E5,{...o,...s,ref:n})});B5.displayName=U5;var I5="DropdownMenuLabel",AC=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:a,...s}=e,o=Et(a);return d.jsx(j5,{...o,...s,ref:n})});AC.displayName=I5;var F5="DropdownMenuItem",MC=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:a,...s}=e,o=Et(a);return d.jsx(T5,{...o,...s,ref:n})});MC.displayName=F5;var H5="DropdownMenuCheckboxItem",RC=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:a,...s}=e,o=Et(a);return d.jsx(A5,{...o,...s,ref:n})});RC.displayName=H5;var q5="DropdownMenuRadioGroup",G5=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:a,...s}=e,o=Et(a);return d.jsx(M5,{...o,...s,ref:n})});G5.displayName=q5;var K5="DropdownMenuRadioItem",zC=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:a,...s}=e,o=Et(a);return d.jsx(R5,{...o,...s,ref:n})});zC.displayName=K5;var Y5="DropdownMenuItemIndicator",DC=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:a,...s}=e,o=Et(a);return d.jsx(z5,{...o,...s,ref:n})});DC.displayName=Y5;var $5="DropdownMenuSeparator",OC=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:a,...s}=e,o=Et(a);return d.jsx(D5,{...o,...s,ref:n})});OC.displayName=$5;var X5="DropdownMenuArrow",Q5=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:a,...s}=e,o=Et(a);return d.jsx(O5,{...o,...s,ref:n})});Q5.displayName=X5;var W5="DropdownMenuSubTrigger",kC=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:a,...s}=e,o=Et(a);return d.jsx(k5,{...o,...s,ref:n})});kC.displayName=W5;var Z5="DropdownMenuSubContent",PC=x.forwardRef((e,n)=>{const{__scopeDropdownMenu:a,...s}=e,o=Et(a);return d.jsx(P5,{...o,...s,ref:n,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});PC.displayName=Z5;var J5=SC,e6=CC,t6=EC,LC=TC,_C=AC,VC=MC,UC=RC,BC=zC,IC=DC,FC=OC,HC=kC,qC=PC;const GC=J5,KC=e6,n6=x.forwardRef(({className:e,inset:n,children:a,...s},o)=>d.jsxs(HC,{ref:o,className:Fe("flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",n&&"pl-8",e),...s,children:[a,d.jsx(tm,{className:"ml-auto"})]}));n6.displayName=HC.displayName;const i6=x.forwardRef(({className:e,...n},a)=>d.jsx(qC,{ref:a,className:Fe("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",e),...n}));i6.displayName=qC.displayName;const np=x.forwardRef(({className:e,sideOffset:n=4,...a},s)=>d.jsx(t6,{children:d.jsx(LC,{ref:s,sideOffset:n,className:Fe("z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",e),...a})}));np.displayName=LC.displayName;const Vr=x.forwardRef(({className:e,inset:n,...a},s)=>d.jsx(VC,{ref:s,className:Fe("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",n&&"pl-8",e),...a}));Vr.displayName=VC.displayName;const a6=x.forwardRef(({className:e,children:n,checked:a,...s},o)=>d.jsxs(UC,{ref:o,className:Fe("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...s,children:[d.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:d.jsx(IC,{children:d.jsx(JM,{className:"h-4 w-4"})})}),n]}));a6.displayName=UC.displayName;const s6=x.forwardRef(({className:e,children:n,...a},s)=>d.jsxs(BC,{ref:s,className:Fe("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[d.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:d.jsx(IC,{children:d.jsx(oR,{className:"h-2 w-2 fill-current"})})}),n]}));s6.displayName=BC.displayName;const r6=x.forwardRef(({className:e,inset:n,...a},s)=>d.jsx(_C,{ref:s,className:Fe("px-2 py-1.5 text-sm font-semibold",n&&"pl-8",e),...a}));r6.displayName=_C.displayName;const o6=x.forwardRef(({className:e,...n},a)=>d.jsx(FC,{ref:a,className:Fe("-mx-1 my-1 h-px bg-muted",e),...n}));o6.displayName=FC.displayName;const Jf={en:{label:"English",flag:"ð¬ð§"},it:{label:"Italiano",flag:"ð®ð¹"},es:{label:"Español",flag:"ðªð¸"},de:{label:"Deutsch",flag:"ð©ðª"}};function l6(){const{i18n:e}=ct(),n=(e.language||"en").slice(0,2);return d.jsxs(GC,{children:[d.jsx(KC,{asChild:!0,children:d.jsxs(Pe,{variant:"ghost",className:"hidden sm:inline-flex gap-2","data-testid":"button-language",children:[d.jsx("span",{className:"text-base","aria-hidden":"true",children:Jf[n]?.flag??"ð¬ð§"}),d.jsx("span",{className:"text-sm",children:n.toUpperCase()}),d.jsx(mh,{className:"h-4 w-4 opacity-70","aria-hidden":"true"})]})}),d.jsx(np,{align:"end",className:"min-w-44",children:MT.map(a=>d.jsxs(Vr,{onClick:()=>e.changeLanguage(a),className:`gap-3 ${a===n?"bg-accent/50":""}`,"data-testid":`button-set-language-${a}`,children:[d.jsx("span",{className:"text-base",children:Jf[a].flag}),d.jsx("span",{children:Jf[a].label})]},a))})]})}function c6(e){const n=u6(e),a=x.forwardRef((s,o)=>{const{children:c,...u}=s,h=x.Children.toArray(c),p=h.find(f6);if(p){const g=p.props.children,y=h.map(v=>v===p?x.Children.count(g)>1?x.Children.only(null):x.isValidElement(g)?g.props.children:null:v);return d.jsx(n,{...u,ref:o,children:x.isValidElement(g)?x.cloneElement(g,void 0,y):null})}return d.jsx(n,{...u,ref:o,children:c})});return a.displayName=`${e}.Slot`,a}function u6(e){const n=x.forwardRef((a,s)=>{const{children:o,...c}=a;if(x.isValidElement(o)){const u=m6(o),h=h6(c,o.props);return o.type!==x.Fragment&&(h.ref=s?Ii(s,u):u),x.cloneElement(o,h)}return x.Children.count(o)>1?x.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}var d6=Symbol("radix.slottable");function f6(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===d6}function h6(e,n){const a={...n};for(const s in n){const o=e[s],c=n[s];/^on[A-Z]/.test(s)?o&&c?a[s]=(...h)=>{const p=c(...h);return o(...h),p}:o&&(a[s]=o):s==="style"?a[s]={...o,...c}
vendor: 4,176 bytes, line 57
57:s==="className"&&(a[s]=[o,c].filter(Boolean).join(" "))}return{...e,...a}}function m6(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,a=n&&"isReactWarning"in n&&n.isReactWarning;return a?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,a=n&&"isReactWarning"in n&&n.isReactWarning,a?e.props.ref:e.props.ref||e.ref)}var Kc="Dialog",[YC]=Fi(Kc),[p6,vn]=YC(Kc),$C=e=>{const{__scopeDialog:n,children:a,open:s,defaultOpen:o,onOpenChange:c,modal:u=!0}=e,h=x.useRef(null),p=x.useRef(null),[g,y]=Ac({prop:s,defaultProp:o??!1,onChange:c,caller:Kc});return d.jsx(p6,{scope:n,triggerRef:h,contentRef:p,contentId:ps(),titleId:ps(),descriptionId:ps(),open:g,onOpenChange:y,onOpenToggle:x.useCallback(()=>y(v=>!v),[y]),modal:u,children:a})};$C.displayName=Kc;var XC="DialogTrigger",QC=x.forwardRef((e,n)=>{const{__scopeDialog:a,...s}=e,o=vn(XC,a),c=et(n,o.triggerRef);return d.jsx(Be.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":sp(o.open),...s,ref:c,onClick:he(e.onClick,o.onOpenToggle)})});QC.displayName=XC;var ip="DialogPortal",[g6,WC]=YC(ip,{forceMount:void 0}),ZC=e=>{const{__scopeDialog:n,forceMount:a,children:s,container:o}=e,c=vn(ip,n);return d.jsx(g6,{scope:n,forceMount:a,children:x.Children.map(s,u=>d.jsx(yn,{present:a||c.open,children:d.jsx(to,{asChild:!0,container:o,children:u})}))})};ZC.displayName=ip;var bc="DialogOverlay",JC=x.forwardRef((e,n)=>{const a=WC(bc,e.__scopeDialog),{forceMount:s=a.forceMount,...o}=e,c=vn(bc,e.__scopeDialog);return c.modal?d.jsx(yn,{present:s||c.open,children:d.jsx(v6,{...o,ref:n})}):null});JC.displayName=bc;var y6=c6("DialogOverlay.RemoveScroll"),v6=x.forwardRef((e,n)=>{const{__scopeDialog:a,...s}=e,o=vn(bc,a);return d.jsx($m,{as:y6,allowPinchZoom:!0,shards:[o.contentRef],children:d.jsx(Be.div,{"data-state":sp(o.open),...s,ref:n,style:{pointerEvents:"auto",...s.style}})})}),xa="DialogContent",e2=x.forwardRef((e,n)=>{const a=WC(xa,e.__scopeDialog),{forceMount:s=a.forceMount,...o}=e,c=vn(xa,e.__scopeDialog);return d.jsx(yn,{present:s||c.open,children:c.modal?d.jsx(x6,{...o,ref:n}):d.jsx(b6,{...o,ref:n})})});e2.displayName=xa;var x6=x.forwardRef((e,n)=>{const a=vn(xa,e.__scopeDialog),s=x.useRef(null),o=et(n,a.contentRef,s);return x.useEffect(()=>{const c=s.current;if(c)return qN(c)},[]),d.jsx(t2,{...e,ref:o,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:he(e.onCloseAutoFocus,c=>{c.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:he(e.onPointerDownOutside,c=>{const u=c.detail.originalEvent,h=u.button===0&&u.ctrlKey===!0;(u.button===2||h)&&c.preventDefault()}),onFocusOutside:he(e.onFocusOutside,c=>c.preventDefault())})}),b6=x.forwardRef((e,n)=>{const a=vn(xa,e.__scopeDialog),s=x.useRef(!1),o=x.useRef(!1);return d.jsx(t2,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{e.onCloseAutoFocus?.(c),c.defaultPrevented||(s.current||a.triggerRef.current?.focus(),c.preventDefault()),s.current=!1,o.current=!1},onInteractOutside:c=>{e.onInteractOutside?.(c),c.defaultPrevented||(s.current=!0,c.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const u=c.target;a.triggerRef.current?.contains(u)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&o.current&&c.preventDefault()}})}),t2=x.forwardRef((e,n)=>{const{__scopeDialog:a,trapFocus:s,onOpenAutoFocus:o,onCloseAutoFocus:c,...u}=e,h=vn(xa,a),p=x.useRef(null),g=et(n,p);return PN(),d.jsxs(d.Fragment,{children:[d.jsx(Ym,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:o,onUnmountAutoFocus:c,children:d.jsx(eo,{role:"dialog",id:h.contentId,"aria-describedby":h.descriptionId,"aria-labelledby":h.titleId,"data-state":sp(h.open),...u,ref:g,onDismiss:()=>h.onOpenChange(!1)})}),d.jsxs(d.Fragment,{children:[d.jsx(w6,{titleId:h.titleId}),d.jsx(N6,{contentRef:p,descriptionId:h.descriptionId})]})]})}),ap="DialogTitle",n2=x.forwardRef((e,n)=>{const{__scopeDialog:a,...s}=e,o=vn(ap,a);return d.jsx(Be.h2,{id:o.titleId,...s,ref:n})});n2.displayName=ap;var i2="DialogDescription",a2=x.forwardRef((e,n)=>{const{__scopeDialog:a,...s}=e,o=vn(i2,a);return d.jsx(Be.p,{id:o.descriptionId,...s,ref:n})});a2.displayName=i2;
57var s2="DialogClose",r2=x.forwardRef((e,n)=>{const{__scopeDialog:a,...s}=e,o=vn(s2,a);return d.jsx(Be.button,{type:"button",...s,ref:n,onClick:he(e.onClick,()=>o.onOpenChange(!1))})});r2.displayName=s2;function sp(e){return e?"open":"closed"}var o2="DialogTitleWarning",[t8,l2]=FA(o2,{contentName:xa,titleName:ap,docsSlug:"dialog"}),w6=({titleId:e})=>{const n=l2(o2),a=`\`${n.contentName}\` requires a \`${n.titleName}\` for the component to be accessible for screen reader users. 58 59If you want to hide the \`${n.titleName}\`, you can wrap it with our VisuallyHidden component. 60 61For more information, see https://radix-ui.com/primitives/docs/components/${n.docsSlug}`;return x.useEffect(()=>{e&&(document.getElementById(e)||console.error(a))},[a,e]),null},S6="DialogDescriptionWarning",N6=({contentRef:e,descriptionId:n})=>{const s=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${l2(S6).contentName}}.`;return x.useEffect(()=>{const o=e.current?.getAttribute("aria-describedby");n&&o&&(document.getElementById(n)||console.warn(s))},[s,e,n]),null},C6=$C,E6=QC,j6=ZC,c2=JC,u2=e2,d2=n2,f2=a2,T6=r2;const A6=C6,M6=E6,R6=j6,h2=x.forwardRef(({className:e,...n},a)=>d.jsx(c2,{ref:a,className:Fe("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...n}));h2.displayName=c2.displayName;const m2=x.forwardRef(({className:e,children:n,...a},s)=>d.jsxs(R6,{children:[d.jsx(h2,{}),d.jsxs(u2,{ref:s,className:Fe("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...a,children:[n,d.jsxs(T6,{className:"absolute right-4 top-4 roun
61ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[d.jsx(zc,{className:"h-4 w-4"}),d.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));m2.displayName=u2.displayName;const p2=({className:e,...n})=>d.jsx("div",{className:Fe("flex flex-col space-y-1.5 text-center sm:text-left",e),...n});p2.displayName="DialogHeader";const g2=x.forwardRef(({className:e,...n},a)=>d.jsx(d2,{ref:a,className:Fe("text-lg font-semibold leading-none tracking-tight",e),...n}));g2.displayName=d2.displayName;const z6=x.forwardRef(({className:e,...n},a)=>d.jsx(f2,{ref:a,className:Fe("text-sm text-muted-foreground",e),...n}));z6.displayName=f2.displayName;function Ns({trigger:e}){const{t:n}=ct(),[a,s]=x.useState(!1),[o,c]=x.useState("idle"),[u,h]=x.useState(""),[p,g]=x.useState({name:"",email:"",message:""}),y=async w=>{w.preventDefault(),c("loading"),h("");try{const S=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(p)}),E=await S.json();if(!S.ok)throw new Error(E.error||"Failed to send message");c("success"),g({name:"",email:"",message:""}),setTimeout(()=>{s(!1),c("idle")},2e3)}catch(S){c("error"),h(S instanceof Error?S.message:"An error occurred")}},v=w=>{g(S=>({...S,[w.target.name]:w.target.value}))};return d.jsxs(A6,{open:a,onOpenChange:s,children:[d.jsx(M6,{asChild:!0,children:e||d.jsxs(Pe,{className:"marine-glow","data-testid":"button-cta-contact",children:[n("nav.contact"),d.jsx(ti,{className:"ml-2 h-4 w-4","aria-hidden":"true"})]})}),d.jsxs(m2,{className:"sm:max-w-md",children:[d.jsx(p2,{children:d.jsx(g2,{className:"text-xl font-bold",children:n("contact.title")})}),o==="success"?d.jsxs("div",{className:"flex flex-col items-center justify-center py-8 text-center",children:[d.jsx(Pi,{className:"h-12 w-12 text-green-500 mb-4"}),d.jsx("p",{className:"text-lg font-semibold text-foreground",children:n("contact.success.title")}),d.jsx("p",{className:"text-sm text-muted-foreground mt-2",children:n("contact.success.message")})]}):d.jsxs("form",{onSubmit:y,className:"grid gap-4 mt-4",children:[d.jsx("p",{className:"text-sm text-muted-foreground",children:n("contact.subtitle")}),o==="error"&&d.jsxs("div",{className:"flex items-center gap-2 rounded-lg border border-destructive/50 bg-destructive/10 p-3 text-sm text-destructive",children:[d.jsx(nm,{className:"h-4 w-4 flex-shrink-0"}),d.jsx("span",{children:u})]}),d.jsxs("label",{className:"grid gap-1.5",children:[d.jsx("span",{className:"text-sm font-medium",children:n("contact.form.name")}),d.jsx("input",{type:"text",name:"name",value:p.name,onChange:v,required:!0,className:"h-11 w-full rounded-xl border bg-card px-3 text-sm shadow-sm outline-none focus:ring-2 focus:ring-ring",disabled:o==="loading"})]}),d.jsxs("label",{className:"grid gap-1.5",children:[d.jsx("span",{className:"text-sm font-medium",children:n("contact.form.email")}),d.jsx("input",{type:"email",name:"email",value:p.email,onChange:v,required:!0,className:"h-11 w-full rounded-xl border bg-card px-3 text-sm shadow-sm outline-none focus:ring-2 focus:ring-ring",disabled:o==="loading"})]}),d.jsxs("label",{className:"grid gap-1.5",children:[d.jsx("span",{className:"text-sm font-medium",children:n("contact.form.message")}),d.jsx("textarea",{name:"message",value:p.message,onChange:v,required:!0,rows:4,className:"w-full resize-none rounded-xl border bg-card px-3 py-2 text-sm shadow-sm outline-none focus:ring-2 focus:ring-ring",disabled:o==="loading"})]}),d.jsx(Pe,{type:"submit",className:"w-full mt-2",disabled:o==="loading",children:o==="loading"?d.jsxs(d.Fragment,{children:[d.jsx(Y1,{className:"mr-2 h-4 w-4 animate-spin"}),n("contact.form.sending")]}):d.jsxs(d.Fragment,{children:[n("contact.form.send"),d.jsx(ti,{className:"ml-2 h-4 w-4"})]})})]})]})]})}function D6(){return d.jsx("div",{className:"grid h-11 w-11 place-items-center rounded-2xl bg-white border border-primary/20 shadow-sm","aria-label":"UNIC MARINE",children:d.jsxs("div",{className:"relative h-6 w-6",children:[d.jsx("div",{className:"absolute inset-0 rounded-full border-2 border-primary"}),d.jsx("div",{className:"absolute left-1/2 top-1/2 h-[2px] w-9 -translate-x-1/2 -translate-y-1/2 bg-primary"})]})})}function On(){const{t:e}=ct(),[n]=JT(),a=n==="/",[s,o]=x.useState(!1),[c,u]=x.useState(!1);return d.jsxs("header",{className:"sticky top-0 z-40 border-b bg-white",children:[d.jsx("a",{href:"#main-content",className:"sr-only focu
61s:not-sr-only focus:absolute focus:left-4 focus:top-4 focus:z-50 focus:rounded-md focus:bg-primary focus:px-4 focus:py-2 focus:text-primary-foreground focus:outline-none",children:e("accessibility.skipToContent","Skip to content")}),d.jsxs("div",{className:"mx-auto flex max-w-6xl items-center justify-between gap-4 px-4 py-3 sm:px-6",children:[d.jsxs("a",{href:"/",className:"flex items-center gap-3",children:[d.jsx(D6,{}),d.jsxs("div",{className:"leading-tight",children:[d.jsx("div",{className:"font-semibold tracking-tight text-[#1380d0]",children:e("brand")}),d.jsx("div",{className:"text-xs text-muted-foreground",children:e("tagline")})]})]}),d.jsxs("nav",{className:"hidden items-center gap-6 text-sm text-muted-foreground md:flex","aria-label":"Main",children:[d.jsx("a",{className:`transition-colors hover:text-foreground ${a?"text-foreground":""}`,href:"/",children:e("nav.home")}),d.jsx("a",{className:`transition-colors hover:text-foreground ${n==="/about-us"?"text-foreground":""}`,href:"/about-us",children:e("nav.about")}),d.jsxs(GC,{children:[d.jsx(KC,{asChild:!0,children:d.jsxs("button",{className:`inline-flex items-center gap-1 transition-colors hover:text-foreground ${n.startsWith("/our-services")?"text-foreground":""}`,type:"button",children:[e("nav.services"),d.jsx(mh,{className:"h-4 w-4 opacity-70","aria-hidden":"true"})]})}),d.jsxs(np,{align:"center",className:"w-64 p-2",children:[d.jsx(Vr,{asChild:!0,className:"p-0",children:d.jsxs("a",{href:"/our-services/fittings",className:"flex items-center gap-3 rounded-lg px-3 py-2.5 hover:bg-primary/5",children:[d.jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-primary/10",children:d.jsx(xs,{className:"h-4 w-4 text-primary"})}),d.jsx("span",{className:"font-medium",children:e("services.menu.fittings")})]})}),d.jsx(Vr,{asChild:!0,className:"p-0",children:d.jsxs("a",{href:"/our-services/cnc-machining",className:"flex items-center gap-3 rounded-lg px-3 py-2.5 hover:bg-primary/5",children:[d.jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-primary/10",children:d.jsx(Fr,{className:"h-4 w-4 text-primary"})}),d.jsx("span",{className:"font-medium",children:e("services.menu.cnc")})]})}),d.jsx(Vr,{asChild:!0,className:"p-0",children:d.jsxs("a",{href:"/our-services/electrical-retrofits",className:"flex items-center gap-3 rounded-lg px-3 py-2.5 hover:bg-primary/5",children:[d.jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-lg bg-primary/10",children:d.jsx(Hr,{className:"h-4 w-4 text-primary"})}),d.jsx("span",{className:"font-medium",children:e("services.menu.retrofits")})]})})]})]})]}),d.jsxs("div",{className:"flex items-center gap-2",children:[d.jsx(l6,{}),d.jsx("div",{className:"hidden md:block",children:d.jsx(Ns,{})}),d.jsx("button",{type:"button",className:"grid h-10 w-10 place-items-center rounded-xl border bg-background/60 text-foreground md:hidden",onClick:()=>o(!s),"aria-label":s?"Close menu":"Open menu","data-testid":"button-mobile-menu",children:s?d.jsx(zc,{className:"h-5 w-5"}):d.jsx(PR,{className:"h-5 w-5"})})]})]}),s&&d.jsx("div",{className:"border-t bg-background/95 backdrop-blur md:hidden",children:d.jsxs("nav",{className:"mx-auto max-w-6xl px-4 py-4 space-y-1","aria-label":"Mobile navigation",children:[d.jsx("a",{href:"/",onClick:()=>o(!1),className:`block rounded-xl px-4 py-3 text-sm font-medium transition-colors ${a?"bg-primary/10 text-[#1380d0]":"text-foreground hover:bg-muted"}`,children:e("nav.home")}),d.jsx("a",{href:"/about-us",onClick:()=>o(!1),className:`block rounded-xl px-4 py-3 text-sm font-medium transition-colors ${n==="/about-us"?"bg-primary/10 text-[#1380d0]":"text-foreground hover:bg-muted"}`,children:e("nav.about")}),d.jsxs("div",{children:[d.jsxs("button",{type:"button",onClick:()=>u(!c),className:`flex w-full items-center justify-between rounded-xl px-4 py-3 text-sm font-medium transition-colors ${n.startsWith("/our-services")?"bg-primary/10 text-[#1380d0]":"text-foreground hover:bg-muted"}`,children:[e("nav.services"),d.jsx(mh,{className:`h-4 w-4 transition-transform ${c?"rotate-180":""}`})]}),c&&d.jsxs("div",{className:"ml-4 mt-1 space-y-1 border-l-2 border-primary/20 pl-3",children:[d.jsxs("a",{href:"/our-services/fittings",onClick:()=>o(!1),className:"flex items-center gap-3 rounded-lg px-3 py-2.5 text-sm text-muted-foreground hover:bg-muted hover:text-foreground transition-colors",children:[d.jsx(xs,{className:"h-4 w-4 text-primary"}),e("services.menu.fittings")]}),d.jsxs("a",{href:"/our-services/cnc-machining",onClick:()=>o(!1),className:"flex items-center gap-3 rounded-lg px-3 py-2.5 text-sm text-muted-foreground hover:bg-muted hover:text-foreground transition-colors",children:[d.jsx(Fr,{className:"h-4 w-4 text-primary"}),e("services.menu.cnc")]}),d.jsxs("a",{href:"/our-services/electrical-retrofits",onClick:()=>o(!1),className:"flex items-center gap-3 rounded-lg px-3 py-2.5 text-sm text-muted-foreground hover:bg-muted hover:text-foreground transition-colors",children:[d.jsx(Hr,{className:"h-4 w-4 text-primary"}),e("services.menu.retrofits")]})]})]}),d.jsx("a",{href:"#contact",onClick:()=>o(!1),className:"block rounded-xl px-4 py-3 text-sm font-medium text-foreground hover:bg-muted transition-colors",children:e("nav.contact")}),d.jsx("div",{className:"pt-2 px-4",children:d.jsx(Ns,{})})]})})]})}const y2="alex_casares_torrens",K0=`https://www.instagram.com/${y2}/`,O6=[{id:"1",imageUrl:"/images/fittings-dismantling.jpg",caption:"Professional yacht fittings dismantling #yachtmaintenance #unicmarine",likes:45},{id:"2",imageUrl:"/images/fittings-maintenance.jpg",caption:"Precision maintenance work in progress #yachtcare #mallorca",likes:62},{id:"3",imageUrl:"/images/cnc-machining.jpg",caption:"High precision CNC machining for custom yacht parts #cncmachining",likes:78},{id:"4",imageUrl:"/images/electrical-retrofits.jpg",caption:"Electrical retrofit consultancy for modern yachts #yachtupgrade",likes:53},{id:"5",imageUrl:"/images/fittings-dismantling.jpg",caption:"Another successful project completed #unicmarine #yachting",likes:89},{id:"6",imageUrl:"/images/cnc-machining.jpg",caption:"Custom bronze fittings ready for installation #craftsmanship",likes:67}];function k6(){const{t:e}=ct(),n=x.useRef(null),a=s=>{if(n.current){const c=n.current.scrollLeft+(s==="left"?-320:320);n.current.scrollTo({left:c,behavior:"smooth"})}};return d.jsx("section",{className:"relative mx-auto max-w-6xl px-4 py-14 sm:px-6",children:d.jsxs("div",{className:"rounded-3xl bg-white/90 backdrop-blur-sm p-6 sm:p-10 shadow-sm",children:[d.jsxs("div",{className:"flex items-center justify-between mb-8",children:[d.jsxs("div",{children:[d.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border bg-card/70 px-3 py-1 text-xs text-muted-foreground shadow-sm backdrop-blur mb-4",children:[d.jsx(Yl,{className:"h-4 w-4 text-pink-500"}),d.jsx("span",{className:"font-medium",children:e("instagram.eyebrow")})]}),d.jsx("h2",{className:"text-2xl font-bold tracking-tight text-foreground sm:text-3xl",children:e("instagram.title")}),d.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:e("instagram.subt
61itle")})]}),d.jsxs("div",{className:"hidden sm:flex items-center gap-2",children:[d.jsx(Pe,{variant:"outline",size:"icon",className:"h-10 w-10 rounded-full",onClick:()=>a("left"),"aria-label":"Scroll left",children:d.jsx(nR,{className:"h-5 w-5"})}),d.jsx(Pe,{variant:"outline",size:"icon",className:"h-10 w-10 rounded-full",onClick:()=>a("right"),"aria-label":"Scroll right",children:d.jsx(tm,{className:"h-5 w-5"})})]})]}),d.jsx("div",{ref:n,className:"flex gap-4 overflow-x-auto pb-4 scrollbar-hide snap-x snap-mandatory",style:{scrollbarWidth:"none",msOverflowStyle:"none"},children:O6.map((s,o)=>d.jsx(Ne.a,{href:K0,target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:o*.1,duration:.4},className:"group relative flex-shrink-0 w-72 snap-start",children:d.jsxs("div",{className:"relative aspect-square overflow-hidden rounded-2xl border bg-card shadow-sm",children:[d.jsx("img",{src:s.imageUrl,alt:s.caption,className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"}),d.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-trans
61parent to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),d.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-4 translate-y-4 opacity-0 group-hover:translate-y-0 group-hover:opacity-100 transition-all duration-300",children:[d.jsx("p",{className:"text-white text-sm line-clamp-2",children:s.caption}),d.jsxs("div",{className:"flex items-center gap-2 mt-2 text-white/80 text-xs",children:[d.jsx(Yl,{className:"h-3 w-3"}),d.jsxs("span",{children:["@",y2]})]})]}),d.jsx("div",{className:"absolute top-3 right-3 opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:d.jsx("div",{className:"bg-white/90 backdrop-blur rounded-full p-2",children:d.jsx(K1,{className:"h-4 w-4 text-foreground"})})})]})},s.id))}),d.jsx("div",{className:"mt-6 text-center",children:d.jsx(Pe,{variant:"outline",className:"gap-2",asChild:!0,children:d.jsxs("a",{href:K0,target:"_blank",rel:"noopener noreferrer",children:[d.jsx(Yl,{className:"h-4 w-4"}),e("instagram.followUs")]})})}),d.jsx("style",{children:` 62 .scrollbar-hide::-webkit-scrollbar {
63 display: none; 64 } 65 `})]})})}function P6(){const{t:e}=ct(),[n,a]=x.useState("idle"),[s,o]=x.useState(""),[c,u]=x.useState({name:"",email:"",message:""}),h=async g=>{g.preventDefault(),a("loading"),o("");try{const y=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)}),v=await y.json();if(!y.ok)throw new Error(v.error||"Failed to send message");a("success"),u({name:"",email:"",message:""})}catch(y){a("error"),o(y instanceof Error?y.message:"An error occurred")}},p=g=>{u(y=>({...y,[g.target.name]:g.target.value}))};return n==="success"?d.jsx("div",{className:"rounded-2xl border bg-background/60 p-5",children:d.jsxs("div",{className:"flex flex-col items-center justify-center py-8 text-center",children:[d.jsx(Pi,{className:"h-12 w-12 text-green-500 mb-4"}),d.jsx("p",{className:"text-lg font-semibold text-foreground",children:e("contact.success.title")}),d.jsx("p",{className:"text-sm text-muted-foreground mt-2",children:e("contact.success.message")}),d.jsxs(Pe,{variant:"outline",className:"mt-4",onClick:()=>a("idle"),children:[e("contact.form.send")," ",e("contact.form.message").toLowerCase()]})]})}):d.jsxs("div",{className:"rounded-2xl border bg-background/60 p-5",children:[d.jsx("div",{className:"text-sm font-semibold","data-testid":"text-form-title",children:e("contact.formTitle")}),n==="error"&&d.jsxs("div",{className:"flex items-center gap-2 rounded-lg border border-destructive/50 bg-destructive/10 p-3 text-sm text-destructive mt-4",children:[d.jsx(nm,{className:"h-4 w-4 flex-shrink-0"}),d.jsx("span",{children:s})]}),d.jsxs("form",{onSubmit:h,className:"mt-5 grid gap-3","data-testid":"form-contact",children:[d.jsxs("label",{className:"grid gap-1","data-testid":"field-name",children:[d.jsx("span",{className:"text-xs text-muted-foreground",children:e("contact.form.name")}),d.jsx("input",{type:"text",name:"name",value:c.name,onChange:p,required:!0,className:"h-11 w-full rounded-xl border bg-card px-3 text-sm shadow-sm outline-none focus:ring-2 focus:ring-ring",disabled:n==="loading","data-testid":"input-name"})]}),d.jsxs("label",{className:"grid gap-1","data-testid":"field-email",children:[d.jsx("span",{className:"text-xs text-muted-foreground",children:e("contact.form.email")}),d.jsx("input",{type:"email",name:"email",value:c.email,onChange:p,required:!0,className:"h-11 w-full rounded-xl border bg-card px-3 text-sm shadow-sm outline-none focus:ring-2 focus:ring-ring",disabled:n==="loading","data-testid":"input-email"})]}),d.jsxs("label",{className:"grid gap-1","data-testid":"field-message",children:[d.jsx("span",{className:"text-xs text-muted-foreground",children:e("contact.form.message")}),d.jsx("textarea",{name:"message",value:c.message,onChange:p,required:!0,className:"min-h-28 w-full resize-none rounded-xl border bg-card px-3 py-2 text-sm shadow-sm outline-none focus:ring-2 focus:ring-ring",disabled:n==="loading","data-testid":"input-message"})]}),d.jsx(Pe,{className:"mt-2 w-full","data-testid":"button-submit-contact",type:"submit",disabled:n==="loading",children:n==="loading"?d.jsxs(d.Fragment,{children:[d.jsx(Y1,{className:"mr-2 h-4 w-4 animate-spin"}),e("contact.form.sending")]}):d.jsxs(d.Fragment,{children:[e("contact.form.send"),d.jsx(ti,{className:"ml-2 h-4 w-4","aria-hidden":"true"})]})})]})]})}const L6=[{id:"ultimahora",url:"https://www.ultimahora.es/noticias/local/2025/11/12/2510467/unic-marine-revoluciona-industria-nautica-balear-llegada-maquina-ultima-generacion.html",image:"https://uh.gsstatic.es/sfAttachPlugin/social/3555467.jpg",source:"Ãltima Hora"},{id:"economiademallorca",url:"https://www.economiademallorca.com/articulo/industria-y-energia/llega-palma-primera-unica-maquina-mecanizado-precision-sector-nautico/20251112130809113422.html",image:"/images/press-economia.jpg",source:"EconomÃa de Mallorca"},{id:"cadenaser",url:"https://cadenaser.com/baleares/2025/11/12/baleares-estrena-la-primera-maquina-de-corte-de-cinco-ejes-para-fabricar-piezas-industriales-complejas-radio-mallorca/",image:"/images/press-cadena.jpg",source:"Cadena SER"},{id:"mallorcadiario",url:"https://www.mallorcadiario.com/mallorca-deja-de-depender-de-la-peninsula-para-fabricar-piezas-nauticas",image:"/images/press-mallorcadiario.jpg",source:"Mallorca Diario"},{id:"diariodemallorca",url:"https://www.diariodemallorca.es/mallorca/2025/11/12/sector-nautico-baleares-moderniza-afrontar-123647385.html",image:"https://uh.gsstatic.es/sfAttachPlugin/social/3555467.jpg",source:"Diario de Mallorca"}];function _6(){const{t:e}=ct();return d.jsx("section",{className:"relative mx-auto max-w-6xl px-4 py-6 sm:px-6 sm:py-10",children:d.jsxs("div",{className:"rounded-3xl bg-white/90 backdrop-blur-sm p-6 sm:p-10 shadow-sm",children:[d.jsxs("div",{className:"mx-auto max-w-2xl text-center",children:[d.jsxs("div",{className:"mx-auto inline-flex items-center gap-2 rounded-full border bg-card/70 px-3 py-1 text-xs text-muted-foreground shadow-sm backdrop-blur",children:[d.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-accent","aria-hidden":"true"}),d.jsx("span",{className:"font-medium",children:e("press.eyebrow")})]}),d.jsx("h2",{className:"mt-4 text-3xl font-bold tracking-tight text-foreground sm:text-4xl",children:e("press.title")}),d.jsx("p",{className:"mt-3 text-balance text-sm leading-relaxed text-muted-foreground sm:text-base",children:e("press.desc")})]}),d.jsx("div",{className:"mt-8 overflow-hidden",children:d.jsx("div",{className:"flex animate-scroll-left-slow gap-6",children:L6.map(n=>d.jsxs("a",{href:n.url,target:"_blank",rel:"noopener noreferrer",className:"group shrink-0 w-[320px] overflow-hidden rounded-2xl border bg-card/70 shadow-sm backdrop-blur transition-all hover:-translate-y-1 hover:shadow-md",children:[d.jsxs("div",{className:"relative aspect-[16/10] overflow-hidden",children:[d.jsx("img",{src:n.image,alt:e(`press.articles.${n.id}.title`),className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"}),d.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-trans
65parent to-transparent"}),d.jsxs("div",{className:"absolute bottom-3 left-3 flex items-center gap-1.5 rounded-full bg-white/90 px-2.5 py-1 text-xs font-medium text-gray-800",children:[d.jsx(_R,{className:"h-3 w-3"}),n.source]})]}),d.jsxs("div",{className:"p-4",children:[d.jsx("h3",{className:"text-sm font-semibold leading-snug text-foreground line-clamp-2 group-hover:text-primary transition-colors",children:e(`press.articles.${n.id}.title`)}),d.jsxs("div",{className:"mt-3 flex items-center gap-1 text-xs font-medium text-accent",children:[e("press.readArticle"),d.jsx(K1,{className:"h-3 w-3"})]})]})]},n.id))})})]})})}const V6={hidden:{opacity:0,y:14},visible:{opacity:1,y:0}};function Y0({eyebrow:e,title:n,desc:a,id:s}){return d.jsxs("div",{className:"mx-auto max-w-2xl text-center",id:s,children:[d.jsxs("div",{className:"mx-auto inline-flex items-center gap-2 rounded-full border bg-card/70 px-3 py-1 text-xs text-muted-foreground shadow-sm backdrop-blur","data-testid":`badge-${e.toLowerCase().replace(/\s+/g,"-")}`,children:[d.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-accent","aria-hidden":"true"}),d.jsx("span",{className:"font-medium",children:e})]}),d.jsx("h2",{className:"mt-4 text-3xl font-bold tracking-tight text-[#1380d0] sm:text-4xl","data-testid":`text-${n.toLowerCase().replace(/\s+/g,"-")}`,children:n}),a?d.jsx("p",{className:"mt-3 text-balance text-sm leading-relaxed text-muted-foreground sm:text-base","data-testid":`text-${s??n.toLowerCase().replace(/\s+/g,"-")}-desc`,children:a}):null]})}function eh({className:e=""}){return d.jsxs("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1440 120",preserveAspectRatio:"none",children:[d.jsx("path",{fill:"currentColor",fillOpacity:"0.04",d:"M0,64L60,69.3C120,75,240,85,360,80C480,75,600,53,720,48C840,43,960,53,1080,58.7C1200,64,1320,64,1380,64L1440,64L1440,120L1380,120C1320,120,1200,120,1080,120C960,120,840,120,720,120C600,120,480,120,360,120C240,120,120,120,60,120L0,120Z"}),d.jsx("path",{fill:"currentColor",fillOpacity:"0.03",d:"M0,96L60,90.7C120,85,240,75,360,69.3C480,64,600,64,720,69.3C840,75,960,85,1080,85.3C1200,85,1320,75,1380,69.3L1440,64L1440,120L1380,120C1320,120,1200,120,1080,120C960,120,840,120,720,120C600,120,480,120,360,120C240,120,120,120,60,120L0,120Z"})]})}function th({className:e=""}){return d.jsxs("svg",{className:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",children:[d.jsx("circle",{cx:"12",cy:"5",r:"3"}),d.jsx("line",{x1:"12",y1:"22",x2:"12",y2:"8"}),d.jsx("path",{d:"M5 12H2a10 10 0 0 0 20 0h-3"})]})}function U6(){const{t:e}=ct();return d.jsxs("div",{className:"relative min-h-screen overflow-hidden ocean-gradient nautical-pattern",children:[d.jsxs("div",{className:"pointer-events-none fixed inset-0 -z-10 overflow-hidden",children:[d.jsx("div",{className:"absolute -top-56 left-1/2 h-[640px] w-[980px] -translate-x-1/2 rounded-full bg-[radial-gradient(circle_at_center,hsl(var(--primary)/0.20),transparent_62%)] blur-2xl"}),d.jsx("div",{className:"absolute -bottom-56 left-1/2 h-[640px] w-[980px] -translate-x-1/2 rounded-full bg-[radial-gradient(circle_at_center,hsl(var(--accent)/0.14),transparent_62%)] blur-2xl"}),d.jsx("div",{className:"absolute inset-0 opacity-60 grain"}),d.jsx(th,{className:"absolute right-[10%] top-[15%] h-40 w-40 text-primary/[0.03] rotate-12"}),d.jsx(th,{className:"absolute left-[5%] bottom-[25%] h-32 w-32 text-accent/[0.04] -rotate-12"}),d.jsx(th,{className:"absolute right-[8%] bottom-[40%] h-24 w-24 text-primary/[0.025] rotate-45"})]}),d.jsx(On,{}),d.jsxs("main",{id:"main-content",children:[d.jsx("section",{id:"home",className:"mx-auto max-w-6xl px-4 pb-6 pt-6 sm:px-6 sm:pb-10 sm:pt-12",children:d.jsxs("div",{className:"rounded-3xl bg-white/90 backdrop-blur-sm p-6 sm:p-10 shadow-sm",children:[d.jsxs("div",{className:"grid items-end gap-10 lg:grid-cols-[1fr_1fr]",children:[d.jsxs(Ne.div,{initial:"hidden",animate:"visible",variants:V6,transition:{duration:.55,ease:[.21,.61,.35,1]},className:"min-w-0",children:[d.jsx("h1",{className:"text-balance font-bold text-5xl tracking-tight text-[#1380d0] sm:text-6xl","data-testid":"text-hero-title",children:e("hero.title")}),d.jsx("p",{className:"mt-4 max-w-xl text-balance text-base leading-relaxed text-muted-foreground sm:text-lg","data-testid":"text-hero-subtitle",children:e("hero.subtitle")}),d.jsxs("div",{className:"mt-7 flex flex-col gap-3 sm:flex-row sm:items-center",children:[d.jsx(Pe,{size:"lg",className:"marine-glow","data-testid":"button-hero-services",asChild:!0,children:d.jsxs("a",{href:"#services",children:[e("nav.services"),d.jsx(tm,{className:"ml-2 h-4 w-4","aria-hidden":"true"})]})}),d.jsx(Pe,{size:"lg",variant:"secondary",className:"hover-elevate","data-testid":"button-hero-contact",asChild:!0,children:d.jsxs("a",{href:"#contact",children:[e("nav.contact"),d.jsx(ti,{className:"ml-2 h-4 w-4","aria-hidden":"true"})]})})]}),d.jsx("div",{className:"mt-8 flex items-start gap-3 border-l-2 border-accent/40 pl-4","data-testid":"hero-intro-box",children:d.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed italic","data-testid":"text-company-intro",children:e("company.intro")})})]}),d.jsxs(Ne.div,{initial:{opacity:0,y:10}
65,animate:{opacity:1,y:0},transition:{duration:.6,delay:.08,ease:[.21,.61,.35,1]},className:"relative min-w-0",children:[d.jsx("div",{className:"absolute -inset-4 -z-10 rounded-[28px] bg-[linear-gradient(135deg,hsl(var(--primary)/0.22),transparent_45%,hsl(var(--accent)/0.18))] blur-2xl"}),d.jsx("div",{className:"overflow-hidden rounded-[28px] border bg-card/70 shadow-xl backdrop-blur",children:d.jsx("div",{className:"relative aspect-video w-full",children:d.jsx("iframe",{src:"https://www.youtube.com/embed/Mkew5Sv93BE?autoplay=1&mute=1&loop=1&playlist=Mkew5Sv93BE&controls=0&modestbranding=1&rel=0&showinfo=0&iv_load_policy=3&disablekb=1&fs=0&playsinline=1",title:"UNIC MARINE",className:"absolute inset-0 h-full w-full pointer-events-none",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",style:{border:0}})})})]})]}),d.jsx("div",{className:"pointer-events-none mt-4 w-full text-primary sm:mt-8",children:d.jsx(eh,{className:"w-full h-10 sm:h-16"})})]})}),d.jsxs("section",{className:"relative h-[280px] sm:h-[360px] overflow-hidden",children:[d.jsx("img",{src:"/images/fittings-maintenance.jpg",alt:"",className:"absolute inset-0 h-full w-full object-cover","aria-hidden":"true"}),d.jsx("div",{className:"absolute inset-0 bg-[#003f87]/70"}),d.jsx("div",{className:"relative flex h-full items-center justify-center px-4",children:d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center",children:[d.jsx("p",{className:"text-sm font-medium uppercase tracking-[0.2em] text-white/70",children:e("services.eyebrow")}),d.jsx("h2",{className:"mt-3 text-3xl font-bold tracking-tight text-white sm:text-5xl",children:e("photoBanner.precision","Precision, craftsmanship & reliability")})]})})]}),d.jsx("section",{id:"services",className:"relative mx-auto max-w-6xl px-4 py-12 sm:px-6 sm:py-20",children:d.jsxs("div",{className:"rounded-3xl bg-white/90 backdrop-blur-sm p-6 sm:p-10 shadow-sm",children:[d.jsx(Y0,{eyebrow:e("services.eyebrow"),title:e("services.title"),desc:e("services.desc"),id:"services"}),d.jsxs("div",{className:"mt-10 grid grid-cols-2 gap-4 sm:gap-6 lg:grid-cols-4","data-testid":"grid-services",children:[d.jsxs("a",{href:"/our-services/fittings",className:"group flex flex-col","data-testid":"card-service-fittings1",children:[d.jsx("div",{className:"relative aspect-[4/3] overflow-hidden rounded-2xl",children:d.jsx("img",{src:"/images/fittings-dismantling.jpg",alt:"Fittings dismantling",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"})}),d.jsxs("div",{className:"mt-2 sm:mt-4 flex flex-1 flex-col",children:[d.jsx("h3",{className:"text-sm sm:text-lg font-bold uppercase tracking-wide text-[#1380d0]","data-testid":"text-service-title-fittings1",children:e("services.cards.fittings1.title")}),d.jsx("p",{className:"mt-1 text-xs font-medium text-accent","data-testid":"text-service-subtitle-fittings1",children:e("services.cards.fittings1.subtitle")}),d.jsx("p",{className:"mt-2 text-sm text-muted-foreground flex-1 hidden sm:block","data-testid":"text-service-desc-fittings1",children:e("services.cards.fittings1.desc")}),d.jsx("span",{className:"mt-4 w-fit rounded border border-[#1380d0] px-4 py-1.5 text-xs font-medium uppercase tracking-wider text-[#1380d0] transition-colors group-hover:bg-[#1380d0] group-hover:text-white hidden sm:inline-block","data-testid":"button-read-fittings1",children:e("services.read")})]})]}),d.jsxs("a",{href:"/our-services/fittings",className:"group flex flex-col","data-testid":"card-service-fittings2",children:[d.jsx("div",{className:"relative aspect-[4/3] overflow-hidden rounded-2xl",children:d.jsx("img",{src:"/images/fittings-maintenance.jpg",alt:"Fittings maintenance",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"})}),d.jsxs("div",{className:"mt-2 sm:mt-4 flex flex-1 flex-col",children:[d.jsx("h3",{className:"text-sm sm:text-lg font-bold uppercase tracking-wide text-[#1380d0]","data-testid":"text-service-title-fittings2",children:e("services.cards.fittings2.title")}),d.jsx("p",{className:"mt-1 text-xs font-medium text-accent","data-testid":"text-service-subtitle-fittings2",children:e("services.cards.fittings2.subtitle")}),d.jsx("p",{className:"mt-2 text-sm text-muted-foreground flex-1 hidden sm:block","data-testid":"text-service-desc-fittings2",children:e("services.cards.fittings2.desc")}
65),d.jsx("span",{className:"mt-4 w-fit rounded border border-[#1380d0] px-4 py-1.5 text-xs font-medium uppercase tracking-wider text-[#1380d0] transition-colors group-hover:bg-[#1380d0] group-hover:text-white hidden sm:inline-block","data-testid":"button-read-fittings2",children:e("services.read")})]})]}),d.jsxs("a",{href:"/our-services/cnc-machining",className:"group flex flex-col","data-testid":"card-service-cnc",children:[d.jsx("div",{className:"relative aspect-[4/3] overflow-hidden rounded-2xl",children:d.jsx("img",{src:"/images/cnc-machining.jpg",alt:"CNC Machining",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"})}),d.jsxs("div",{className:"mt-2 sm:mt-4 flex flex-1 flex-col",children:[d.jsx("h3",{className:"text-sm sm:text-lg font-bold uppercase tracking-wide text-[#1380d0]","data-testid":"text-service-title-cnc",children:e("services.cards.cnc.title")}),d.jsx("p",{className:"mt-1 text-xs font-medium text-accent","data-testid":"text-service-subtitle-cnc",children:e("services.cards.cnc.subtitle")}),d.jsx("p",{className:"mt-2 text-sm text-muted-foreground flex-1 hidden sm:block","data-testid":"text-service-desc-cnc",children:e("services.cards.cnc.desc")}),d.jsx("span",{className:"mt-4 w-fit rounded border border-[#1380d0] px-4 py-1.5 text-xs font-medium uppercase tracking-wider text-[#1380d0] transition-colors group-hover:bg-[#1380d0] group-hover:text-white hidden sm:inline-block","data-testid":"button-read-cnc",children:e("services.read")})]})]}),d.jsxs("a",{href:"/our-services/electrical-retrofits",className:"group flex flex-col","data-testid":"card-service-consultancy",children:[d.jsx("div",{className:"relative aspect-[4/3] overflow-hidden rounded-2xl",children:d.jsx("img",{src:"/images/electrical-retrofits.jpg",alt:"Electrical Retrofits",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"})}),d.jsxs("div",{className:"mt-2 sm:mt-4 flex flex-1 flex-col",children:[d.jsx("h3",{className:"text-sm sm:text-lg font-bold uppercase tracking-wide text-[#1380d0]","data-testid":"text-service-title-consultancy",children:e("services.cards.consultancy.title")}),d.jsx("p",{className:"mt-1 text-xs font-medium text-accent","data-testid":"text-service-subtitle-consultancy",children:e("services.cards.consultancy.subtitle")}),d.jsx("p",{className:"mt-2 text-sm text-muted-foreground flex-1 hidden sm:block","data-testid":"text-service-desc-consultancy",children:e("services.cards.consultancy.desc")}),d.jsx("span",{className:"mt-4 w-fit rounded border border-[#1380d0] px-4 py-1.5 text-xs font-medium uppercase tracking-wider text-[#1380d0] transition-colors group-hover:bg-[#1380d0] group-hover:text-white hidden sm:inline-block","data-testid":"button-read-consultancy",children:e("services.read")})]})]})]}),d.jsx("div",{className:"pointer-events-none mt-6 w-full text-accent sm:mt-10",children:d.jsx(eh,{className:"w-full h-8 rotate-180 sm:h-12"})})]})}),d.jsx(_6,{}),d.jsxs("section",{className:"relative h-[280px] sm:h-[360px] overflow-hidden",children:[d.jsx("img",{src:"/images/cnc-machining.jpg",alt:"",className:"absolute inset-0 h-full w-full object-cover","aria-hidden":"true"}),d.jsx("div",{className:"absolute inset-0 bg-[#003f87]/70"}),d.jsx("div",{className:"relative flex h-full items-center justify-center px-4",children:d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center max-w-2xl",children:[d.jsx("p",{className:"text-sm font-medium uppercase tracking-[0.2em] text-white/70",children:e("company.eyebrow")}),d.jsx("h2",{className:"mt-3 text-3xl font-bold tracking-tight text-white sm:text-5xl",children:e("photoBanner.excellence","Mallorca's marine excellence")})]})})]}),d.jsx("section",{id:"about",className:"relative mx-auto max-w-6xl px-4 py-12 sm:px-6 sm:py-20",children:d.jsxs("div",{className:"rounded-3xl bg-white/90 backdrop-blur-sm p-6 sm:p-10 shadow-sm",children:[d.jsx(Y0,{eyebrow:e("company.eyebrow"),title:e("company.title"),desc:e("company.intro")}),d.jsx("div",{className:"mt-10 grid gap-4 md:grid-cols-2","data-testid":"grid-company",children:[{key:"specializedTeam",icon:Z1},{key:"attentionToDetail",icon:W1},{key:"excellence",icon:XM},{key:"newConcept",icon:fR}].map((n,a)=>d.jsx(mm,{className:"rounded-2xl border bg-card/70 p-6 shadow-sm backdrop-blur transition-all hover:-translate-y-0.5 hover:shadow-md","data-testid":`card-company-${n.key}`,children:d.jsxs("div",{className:"flex items-start gap-3",children:[d.jsx("div",{className:"grid h-11 w-11 place-items-center rounded-2xl bg-foreground text-background shadow-sm",children:d.jsx(n.icon,{className:"h-5 w-5","aria-hidden":"true"})}),d.jsxs("div",{children:[d.jsx("div",{className:"text-lg font-semibold","data-testid":`text-company-title-${n.key}`,children:e(`company.cards.${n.key}.title`)}),d.jsx("div",{className:"mt-2 text-sm text-muted-foreground","data-testid":`text-company-desc-${n.key}`,children:e(`company.cards.${n.key}.desc`)})]})]})},n.key))}),d.jsx("div",{className:"pointer-events-none mt-6 w-full text-primary sm:mt-10",children:d.jsx(eh,{className:"w-full h-10 sm:h-14"})})]})}),d.jsx(k6,{}),d.jsxs("section",{className:"relative h-[280px] sm:h-[360px] overflow-hidden",children:[d.jsx("img",{src:"/images/fittings-dismantling.jpg",alt:"",className:"absolute inset-0 h-full w-full object-cover","aria-hidden":"true"}),d.jsx("div",{className:"absolute inset-0 bg-[#003f87]/70"}),d.jsx("div",{className:"relative flex h-full items-center justify-center px-4",children:d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center",children:[d.jsx("h2",{className:"text-3xl font-bold tracking-tight text-white sm:text-5xl",children:e("photoBanner.cta","Ready to start your project?")}),d.jsx("p",{className:"mt-4 text-lg text-white/80",children:e("photoBanner.ctaSub","Get in touch with our team")}),d.jsx(Pe,{size:"lg",variant:"secondary",className:"mt-6",asChild:!0,children:d.jsxs("a",{href:"#contact",children:[e("nav.contact"),d.jsx(ti,{className:"ml-2 h-4 w-4"})]})})]})})]}),d.jsx("section",{id:"contact",className:"relative mx-auto max-w-6xl px-4 pb-10 pt-12 sm:px-6 sm:pb-14 sm:pt-16",children:d.jsxs("div",{className:"rounded-[28px] border bg-white/90 p-6 shadow-xl backdrop-blur sm:p-10",children:[d.jsxs("div",{className:"grid gap-10 lg:grid-cols-[1fr_.95fr] lg:items-start",children:[d.jsxs("div",{children:[d.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border bg-background/60 px-3 py-1 text-xs text-muted-foreground","data-testid":"badge-contact",children:[d.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-primary","aria-hidden":"true"}),e("contact.eyebrow")]}),d.jsx("h3",{className:"mt-4 font-serif text-3xl tracking-tight text-[#1380d0]","data-testid":"text-contact-title",children:e("contact.title")}),d.jsx("p",{className:"mt-3 text-sm leading-relaxed text-muted-foreground","data-testid":"text-contact-subtitle",children:e("contact.subtitle")}),d.jsxs("div",{className:"mt-8 grid gap-3","data-testid":"list-contact-info",children:[d.jsxs("a",{href:"tel:+34649780736",className:"flex items-center gap-3 rounded-2xl border bg-background/60 p-4 transition-colors hover:bg-background/80","data-testid":"row-contact-phone",children:[d.jsx("div",{className:"grid h-10 w-10 place-items-center rounded-2xl bg-foreground text-background shadow-sm",children:d.jsx(HR,{className:"h-5 w-5","aria-hidden":"true"})}),d.jsxs("div",{children:[d.jsx("div",{className:"text-sm font-semibold","data-testid":"text-contact-phone-label",children:"Phone"}),d.jsx("div",{className:"text-sm text-muted-foreground","data-testid":"text-contact-phone-value",children:"+34 649 780 736"})]})]}),d.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-3 rounded-2xl border bg-background/60 p-4 transition-colors hover:bg-background/80","data-testid":"row-contact-email",children:[d.jsx("div",{className:"grid h-10 w-10 place-items-center rounded-2xl bg-foreground text-background shadow-sm",children:d.jsx($1,{className:"h-5 w-5","aria-hidden":"true"})}),d.jsxs("div",{children:[d.jsx("div",{className:"text-sm font-semibold","data-testid":"text-contact-email-label",children:"Email"}),d.jsx("div",{className:"text-sm text-muted-foreground","data-testid":"text-contact-email-value",children:"[email protected]"})]})]}),d.jsxs("a",{href:"https://maps.google.com/?q=Prudenci+Rovira+20+Nave+14+Palma+de+Mallorca+07011",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 rounded-2xl border bg-background/60 p-4 transition-colors hover:bg-background/80","data-testid":"row-contact-location",children:[d.jsx("div",{className:"grid h-10 w-10 place-items-center rounded-2xl bg-foreground text-background shadow-sm",children:d.jsx(X1,{className:"h-5 w-5","aria-hidden":"true"})}),d.jsxs("div",{children:[d.jsx("div",{className:"text-sm font-semibold","data-testid":"text-contact-location-label",children:"Location"}),d.jsxs("div",{className:"text-sm text-muted-foreground","data-testid":"text-contact-location-value",children:["Prudenci Rovira, 20 Nave 14",d.jsx("br",{}),"07011 Palma de Mallorca, Baleares, España"]})]})]})]}),d.jsx("div",{className:"mt-6 overflow-hidden rounded-2xl border","data-testid":"map-container",children:d.jsx("iframe",{src:"https://maps.google.com/maps?q=39.58566,2.66442&z=16&output=embed",width:"100%",height:"200",style:{border:0},allowFullScreen:!0,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",title:"UNIC MARINE Location","data-testid":"map-embed"})})]}),d.jsx(P6,{})]}),d.jsxs("div",{className:"mt-10 border-t pt-6",children:[d.jsxs("div",{className:"flex flex-wrap justify-center gap-6 text-sm font-medium text-foreground mb-6","data-testid":"footer-nav-links",children:[d.jsx("a",{href:"/",className:"hover:text-[#1380d0] transition-colors",children:e("nav.home")}),d.jsx("a",{href:"/about-us",className:"hover:text-[#1380d0] transition-colors",children:e("nav.about")}),d.jsx("a",{href:"/our-services/fittings",className:"hover:text-[#1380d0] transition-colors",children:e("services.menu.fittings")}),d.jsx("a",{href:"/our-services/cnc-machining",className:"hover:text-[#1380d0] transition-colors",children:e("services.menu.cnc")}),d.jsx("a",{href:"/our-services/electrical-retrofits",className:"hover:text-[#1380d0] transition-colors",children:e("services.menu.retrofits")}),d.jsx("a",{href:"#contact",className:"hover:text-[#1380d0] transition-colors",children:e("nav.contact")})]}),d.jsxs("div",{className:"flex flex-wrap justify-center gap-4 text-xs text-muted-foreground mb-4","data-testid":"footer-legal-links",children:[d.jsx("a",{href:"/privacy",className:"hover:text-foreground transition-colors",children:e("nav.privacy")}
65),d.jsx("span",{className:"text-muted-foreground/40",children:"·"}),d.jsx("a",{href:"/cookies",className:"hover:text-foreground transition-colors",children:e("nav.cookies")}),d.jsx("span",{className:"text-muted-foreground/40",children:"·"}),d.jsx("a",{href:"/terms",className:"hover:text-foreground transition-colors",children:e("nav.terms")}),d.jsx("span",{className:"text-muted-foreground/40",children:"·"}),d.jsx("a",{href:"/legal",className:"hover:text-foreground transition-colors",children:e("nav.legal")}),d.jsx("span",{className:"text-muted-foreground/40",children:"·"}),d.jsx("a",{href:"/sitemap",className:"hover:text-foreground transition-colors",children:e("nav.sitemap")})]}),d.jsxs("div",{className:"flex flex-col items-center justify-between gap-2 sm:flex-row",children:[d.jsxs("div",{className:"text-sm text-muted-foreground","data-testid":"text-footer-note",children:["© ",new Date().getFullYear()," ",e("brand")," â ",e("footer.rights")]}),d.jsxs("div",{className:"text-sm text-muted-foreground","data-testid":"text-footer-mini",children:[e("brand")," · ",e("tagline")]})]}),d.jsxs("div",{className:"mt-4 text-center text-xs text-muted-foreground/60",children:["Made with ",d.jsx("span",{className:"text-red-500",children:"â¥"})," by"," ",d.jsx("a",{href:"https://uxstudio.design",target:"_blank",rel:"noopener noreferrer",className:"hover:text-accent transition-colors",children:"UX Studio"})]})]})]})})]})]})}function si(){const{t:e}=ct();return d.jsx("footer",{className:"border-t bg-background py-8",children:d.jsxs("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:[d.jsxs("div",{className:"flex justify-center gap-3 mb-4",children:[d.jsx("a",{href:"https://www.instagram.com/alex_casares_torrens/",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center h-9 w-9 rounded-full bg-gradient-to-br from-[#feda75] via-[#d62976] to-[#4f5bd5] text-white hover:opacity-90 transition-opacity","aria-label":"Instagram","data-testid":"link-footer-instagram",children:d.jsx(Yl,{className:"h-4 w-4"})}),d.jsx("a",{href:"https://www.linkedin.com/in/alex-casares-torrens/",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center h-9 w-9 rounded-full bg-[#0A66C2] text-white hover:bg-[#004182] transition-colors","aria-label":"LinkedIn","data-testid":"link-footer-linkedin",children:d.jsx(ph,{className:"h-4 w-4"})})]}),d.jsxs("div",{className:"flex flex-wrap justify-center gap-4 text-xs text-muted-foreground mb-4",children:[d.jsx("a",{href:"/privacy",className:"hover:text-foreground transition-colors",children:e("nav.privacy")}),d.jsx("span",{className:"text-muted-foreground/40",children:"·"}),d.jsx("a",{href:"/cookies",className:"hover:text-foreground transition-colors",children:e("nav.cookies")}),d.jsx("span",{className:"text-muted-foreground/40",children:"·"}),d.jsx("a",{href:"/terms",className:"hover:text-foreground transition-colors",children:e("nav.terms")}),d.jsx("span",{className:"text-muted-foreground/40",children:"·"}),d.jsx("a",{href:"/legal",className:"hover:text-foreground transition-colors",children:e("nav.legal")}),d.jsx("span",{className:"text-muted-foreground/40",children:"·"}),d.jsx("a",{href:"/sitemap",className:"hover:text-foreground transition-colors",children:e("nav.sitemap")})]}),d.jsxs("p",{className:"text-center text-sm text-muted-foreground",children:["© ",new Date().getFullYear()," ",e("brand")," â ",e("footer.rights")]})]})})}function B6(){const{t:e}=ct(),n=["intro","controller","dataCollected","purpose","legalBasis","retention","rights","thirdParties","security","authority"];return d.jsxs("div",{className:"relative min-h-screen bg-background",children:[d.jsx(On,{}),d.jsxs("main",{className:"mx-auto max-w-4xl px-4 py-10 sm:px-6",children:[d.jsx(Pe,{variant:"ghost",size:"sm",className:"mb-6",asChild:!0,children:d.jsxs("a",{href:"/",children:[d.jsx(Hi,{className:"mr-2 h-4 w-4"}),e("nav.home")]})}),d.jsx("h1",{className:"text-3xl font-bold tracking-tight text-foreground sm:text-4xl",children:e("privacy.title")}),d.jsxs("p",{className:"mt-2 text-sm text-muted-foreground",children:[e("privacy.lastUpdate"),": January 2025"]}),d.jsx("div",{className:"mt-10 space-y-10",children:n.map(a=>d.jsxs("section",{className:"space-y-4",children:[d.jsx("h2",{className:"text-xl font-semibold text-foreground",children:e(`privacy.sections.${a}.title`)}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:e(`privacy.sections.${a}.content`)}),a==="controller"&&d.jsxs("div",{className:"rounded-xl border bg-card/50 p-4 space-y-1 text-sm",children:[d.jsx("p",{className:"font-semibold",children:e("privacy.sections.controller.company")}),d.jsx("p",{className:"text-muted-foreground",children:e("privacy.sections.controller.address")}),d.jsx("p",{className:"text-muted-foreground",children:e("privacy.sections.controller.email")}),d.jsx("p",{className:"text-muted-foreground",children:e("privacy.sections.controller.phone")})]}),(a==="dataCollected"||a==="purpose"||a==="legalBasis"||a==="rights")&&d.jsx("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground ml-2",children:e(`privacy.sections.${a}.items`,{returnObjects:!0}).map((s,o)=>d.jsx("li",{children:s},o))}),a==="rights"&&d.jsx("p",{className:"text-sm text-muted-foreground mt-4 italic",children:e("privacy.sections.rights.exercise")})]},a))})]}),d.jsx(si,{})]})}function I6(){const{t:e}=ct();return d.jsxs("div",{className:"relative min-h-screen bg-background",children:[d.jsx(On,{}),d.jsxs("main",{className:"mx-auto max-w-4xl px-4 py-10 sm:px-6",children:[d.jsx(Pe,{variant:"ghost",size:"sm",className:"mb-6",asChild:!0,children:d.jsxs("a",{href:"/",children:[d.jsx(Hi,{className:"mr-2 h-4 w-4"}),e("nav.home")]})}),d.jsx("h1",{className:"text-3xl font-bold tracking-tight text-foreground sm:text-4xl",children:e("cookies.title")}),d.jsxs("p",{className:"mt-2 text-sm text-muted-foreground",children:[e("cookies.lastUpdate"),": January 2025"]}),d.jsxs("div",{className:"mt-10 space-y-10",children:[d.jsxs("section",{className:"space-y-4",children:[d.jsx("h2",{className:"text-xl font-semibold text-foreground",children:e("cookies.sections.intro.title")}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:e("cookies.sections.intro.content")})]}),d.jsxs("section",{className:"space-y-6",children:[d.jsx("h2",{className:"text-xl font-semibold text-foreground",children:e("cookies.sections.types.title")}),d.jsxs("div",{className:"space-y-4",children:[d.jsxs("div",{className:"rounded-xl border bg-card/50 p-4",children:[d.jsx("h3",{className:"font-semibold text-foreground",children:e("cookies.sections.types.necessary.title")}),d.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:e("cookies.sections.types.necessary.content")})]}),d.jsxs("div",{className:"rounded-xl border bg-card/50 p-4",children:[d.jsx("h3",{className:"font-semibold text-foreground",children:e("cookies.sections.types.preferences.title")}),d.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:e("cookies.sections.types.preferences.content")})]}),d.jsxs("div",{className:"rounded-xl border bg-card/50 p-4",children:[d.jsx("h3",{className:"font-semibold text-foreground",children:e("cookies.sections.types.thirdParty.title")}),d.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:e("cookies.sections.types.thirdParty.content")})]})]})]}),d.jsxs("section",{className:"space-y-4",children:[d.jsx("h2",{className:"text-xl font-semibold text-foreground",children:e("cookies.sections.manage.title")}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:e("cookies.sections.manage.content")}),d.jsx("p",{className:"text-muted-foreground",children:e("cookies.sections.manage.browsers")}),d.jsx("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground ml-2",children:e("cookies.sections.manage.items",{returnObjects:!0}).map((n,a)=>d.jsx("li",{children:n},a))})]}),d.jsxs("section",{className:"space-y-4",children:[d.jsx("h2",{className:"text-xl font-semibold text-foreground",children:e("cookies.sections.consent.title")}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:e("cookies.sections.consent.content")})]})]})]}),d.jsx(si,{})]})}function F6(){const{t:e}=ct(),n=["intro","use","ip","liability","links","changes","law"];return d.jsxs("div",{className:"relative min-h-screen bg-background",children:[d.jsx(On,{}),d.jsxs("main",{className:"mx-auto max-w-4xl px-4 py-10 sm:px-6",children:[d.jsx(Pe,{variant:"ghost",size:"sm",className:"mb-6",asChild:!0,children:d.jsxs("a",{href:"/",children:[d.jsx(Hi,{className:"mr-2 h-4 w-4"}),e("nav.home")]})}),d.jsx("h1",{className:"text-3xl font-bold tracking-tight text-foreground sm:text-4xl",children:e("terms.title")}),d.jsxs("p",{className:"mt-2 text-sm text-muted-foreground",children:[e("terms.lastUpdate"),": January 2025"]}),d.jsx("div",{className:"mt-10 space-y-10",children:n.map(a=>d.jsxs("section",{className:"space-y-4",children:[d.jsx("h2",{className:"text-xl font-semibold text-foreground",children:e(`terms.sections.${a}.title`)}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:e(`terms.sections.${a}.content`)}),a==="use"&&d.jsx("ul",{className:"list-disc list-inside space-y-1 text-muted-foreground ml-2",children:e(`terms.sections.${a}.items`,{returnObjects:!0}).map((s,o)=>d.jsx("li",{children:s},o))})]},a))})]}),d.jsx(si,{})]})}function H6(){const{t:e}=ct(),n=["owner","purpose","ip","responsibility","links","jurisdiction"];return d.jsxs("div",{className:"relative min-h-screen bg-background",children:[d.jsx(On,{}),d.jsxs("main",{className:"mx-auto max-w-4xl px-4 py-10 sm:px-6",children:[d.jsx(Pe,{variant:"ghost",size:"sm",className:"mb-6",asChild:!0,children:d.jsxs("a",{href:"/",children:[d.jsx(Hi,{className:"mr-2 h-4 w-4"}),e("nav.home")]})}),d.jsx("h1",{className:"text-3xl font-bold tracking-tight text-foreground sm:text-4xl",children:e("legal.title")}),d.jsx("p",{className:"mt-1 text-lg text-muted-foreground",children:e("legal.subtitle")}),d.jsx("div",{className:"mt-10 space-y-10",children:n.map(a=>d.jsxs("section",{className:"space-y-4",children:[d.jsx("h2",{className:"text-xl font-semibold text-foreground",children:e(`legal.sections.${a}.title`)}),d.jsx("p",{className:"text-muted-foreground leading-relaxed",children:e(`legal.sections.${a}.content`)}),a==="owner"&&d.jsxs("div",{className:"rounded-xl border bg-card/50 p-4 space-y-1 text-sm",children:[d.jsx("p",{className:"font-semibold",children:e("legal.sections.owner.company")}),d.jsx("p",{className:"text-muted-foreground",children:e("legal.sections.owner.address")}),d.jsx("p",{className:"text-muted-foreground",children:e("legal.sections.owner.city")}),d.jsx("p",{className:"text-muted-foreground",children:e("legal.sections.owner.email")}),d.jsx("p",{className:"text-muted-foreground",children:e("legal.sections.owner.phone")})]})]},a))})]}),d.jsx(si,{})]})}function q6(){const{t:e}=ct(),n=[{href:"/",label:e("nav.home"),icon:SR},{href:"/about-us",label:e("nav.about"),icon:CR},{href:"/#services",label:e("nav.services"),icon:WM},{href:"/#contact",label:e("nav.contact"),icon:$1}],a=[{href:"/our-services/fittings",label:e("services.menu.fittings"),icon:xs},{href:"/our-services/cnc-machining",label:e("services.menu.cnc"),icon:Fr},{href:"/our-services/electrical-retrofits",label:e("services.menu.retrofits"),icon:Hr}],s=[{href:"/privacy",label:e("nav.privacy"),icon:Q1},{href:"/cookies",label:e("nav.cookies"),icon:G1},{href:"/terms",label:e("nav.terms"),icon:vR},{href:"/legal",label:e("nav.legal"),icon:GR},{href:"/sitemap",label:e("nav.sitemap"),icon:OR}];return d.jsxs("div",{className:"relative min-h-screen bg-background",children:[d.jsx(On,{}),d.jsxs("main",{className:"mx-auto max-w-4xl px-4 py-10 sm:px-6",children:[d.jsx(Pe,{variant:"ghost",size:"sm",className:"mb-6",asChild:!0,children:d.jsxs("a",{href:"/",children:[d.jsx(Hi,{className:"mr-2 h-4 w-4"}),e("nav.home")]})}),d.jsx("h1",{className:"text-3xl font-bold tracking-tight text-foreground sm:text-4xl",children:e("sitemap.title")}),d.jsx("p",{className:"mt-2 text-muted-foreground",children:e("sitemap.description")}),d.jsxs("div",{className:"mt-10 grid gap-8 md:grid-cols-3",children:[d.jsxs("section",{children:[d.jsx("h2",{className:"text-lg font-semibold text-foreground mb-4",children:e("sitemap.sections.main")}),d.jsx("div",{className:"space-y-2",children:n.map(o=>d.jsxs("a",{href:o.href,className:"flex items-center gap-3 rounded-xl border bg-card/50 p-3 transition-colors hover:bg-card",children:[d.jsx("div",{className:"grid h-9 w-9 place-items-center rounded-lg bg-primary/10 text-primary",children:d.jsx(o.icon,{className:"h-4 w-4"})}),d.jsx("span",{className:"text-sm font-medium",children:o.label})]},o.href))})]}),d.jsxs("section",{children:[d.jsx("h2",{className:"text-lg font-semibold text-foreground mb-4",children:e("sitemap.sections.services")}),d.jsx("div",{className:"space-y-2",children:a.map(o=>d.jsxs("a",{href:o.href,className:"flex items-center gap-3 rounded-xl border bg-card/50 p-3 transition-colors hover:bg-card",children:[d.jsx("div",{className:"grid h-9 w-9 place-items-center rounded-lg bg-accent/10 text-accent",children:d.jsx(o.icon,{className:"h-4 w-4"})}),d.jsx("span",{className:"text-sm font-medium",children:o.label})]},o.href))})]}),d.jsxs("section",{children:[d.jsx("h2",{className:"text-lg font-semibold text-foreground mb-4",children:e("sitemap.sections.legal")}),d.jsx("div",{className:"space-y-2",children:s.map(o=>d.jsxs("a",{href:o.href,className:"flex items-center gap-3 rounded-xl border bg-card/50 p-3 transition-colors hover:bg-card",children:[d.jsx("div",{className:"grid h-9 w-9 place-items-center rounded-lg bg-muted text-muted-foreground",children:d.jsx(o.icon,{className:"h-4 w-4"})}),d.jsx("span",{className:"text-sm font-medium",children:o.label})]},o.href))})]})]})]}),d.jsx(si,{})]})}function G6(){const{t:e}=ct();return d.jsxs("div",{className:"relative min-h-screen bg-background",children:[d.jsx(On,{}),d.jsxs("main",{children:[d.jsxs("section",{className:"relative min-h-[400px] sm:min-h-[500px] overflow-hidden flex items-end",children:[d.jsx("img",{src:"/images/fittings-maintenance.jpg",alt:"",className:"absolute inset-0 h-full w-full object-cover","aria-hidden":"true"}),d.jsx("div",{className:"absolute inset-0 bg-[#003f87]/70"}),d.jsx("div",{className:"relative z-10 w-full mx-auto max-w-6xl px-4 sm:px-6 pt-8 pb-12 sm:pt-12 sm:pb-16",children:d.jsxs(Ne.div,{initial:{opacity:0,y:20}
65,animate:{opacity:1,y:0},transition:{duration:.5},className:"max-w-2xl",children:[d.jsx("h1",{className:"text-4xl font-bold tracking-tight text-white sm:text-5xl",children:e("aboutPage.title")}),d.jsx("p",{className:"mt-4 text-xl text-white/80",children:e("aboutPage.subtitle")}),d.jsx("p",{className:"mt-6 text-white/70 leading-relaxed",children:e("aboutPage.intro.content")})]})})]}),d.jsx("section",{className:"py-12 sm:py-16 bg-muted/30",children:d.jsx("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center max-w-3xl mx-auto",children:[d.jsx("h2",{className:"text-3xl font-bold tracking-tight text-[#1380d0]",children:e("aboutPage.mission.title")}),d.jsx("p",{className:"mt-6 text-lg text-muted-foreground leading-relaxed",children:e("aboutPage.mission.content")})]})})}),d.jsx("section",{className:"py-12 sm:py-16",children:d.jsxs("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:[d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-10",children:[d.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border bg-card/70 px-3 py-1 text-xs text-muted-foreground shadow-sm backdrop-blur mb-4",children:[d.jsx(Z1,{className:"h-4 w-4 text-primary"}),d.jsx("span",{className:"font-medium",children:e("aboutPage.team.title")})]}),d.jsx("h2",{className:"text-3xl font-bold tracking-tight text-[#1380d0]",children:e("aboutPage.team.title")})]}),d.jsxs("div",{className:"grid gap-8 md:grid-cols-2",children:[d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},className:"rounded-2xl border bg-card p-6 sm:p-8",children:[d.jsxs("div",{className:"flex items-start gap-4",children:[d.jsx("img",{src:"/images/team-alex.jpg",alt:"Alex Casares",className:"h-20 w-20 rounded-full object-cover object-top flex-shrink-0","data-testid":"img-team-alex"}),d.jsx("div",{className:"flex-1",children:d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsxs("div",{children:[d.jsx("h3",{className:"text-xl font-semibold text-foreground",children:e("aboutPage.team.alex.name")}),d.jsx("p",{className:"text-sm text-primary font-medium",children:e("aboutPage.team.alex.role")})]}),d.jsx("a",{href:"https://www.linkedin.com/in/alex-casares-torrens/",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center h-9 w-9 rounded-full bg-[#0A66C2] text-white hover:bg-[#004182] transition-colors","aria-label":"LinkedIn profile of Alex Casares",children:d.jsx(ph,{className:"h-4 w-4"})})]})})]}),d.jsx("p",{className:"mt-4 text-muted-foreground leading-relaxed",children:e("aboutPage.team.alex.bio")})]}),d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.2},className:"rounded-2xl border bg-card p-6 sm:p-8",children:[d.jsxs("div",{className:"flex items-start gap-4",children:[d.jsx("img",{src:"/images/team-laura.jpg",alt:"Laura Subirats",className:"h-20 w-20 rounded-full object-cover object-top flex-shrink-0","data-testid":"img-team-laura"}),d.jsx("div",{className:"flex-1",children:d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsxs("div",{children:[d.jsx("h3",{className:"text-xl font-semibold text-foreground",children:e("aboutPage.team.laura.name")}),d.jsx("p",{className:"text-sm text-primary font-medium",children:e("aboutPage.team.laura.role")})]}),d.jsx("a",{href:"https://www.linkedin.com/in/laura-subirats-duran-6b8a35299/",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center h-9 w-9 rounded-full bg-[#0A66C2] text-white hover:bg-[#004182] transition-colors","aria-label":"LinkedIn profile of Laura Subirats",children:d.jsx(ph,{className:"h-4 w-4"})})]})})]}),d.jsx("p",{className:"mt-4 text-muted-foreground leading-relaxed",children:e("aboutPage.team.laura.bio")})]})]})]})}),d.jsx("section",{className:"py-12 sm:py-16 bg-muted/30",children:d.jsx("div",{className:"mx-auto max-w-4xl px-4 sm:px-6",children:d.jsx(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"rounded-2xl border bg-card p-6 sm:p-10",children:d.jsxs("div",{className:"grid gap-8 sm:grid-cols-[auto_1fr] sm:items-center",children:[d.jsx("div",{className:"flex justify-center sm:justify-start",children:d.jsx("img",{src:"/images/adnea-logo.png",alt:"ADNEA",className:"h-32 sm:h-40 w-auto","data-testid":"img-adnea-logo"})}),d.jsxs("div",{className:"text-center sm:text-left",children:[d.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border bg-card/70 px-3 py-1 text-xs text-muted-foreground shadow-sm backdrop-blur mb-4",children:[d.jsx(YM,{className:"h-4 w-4 text-primary"}),d.jsx("span",{className:"font-medium",children:e("aboutPage.adnea.eyebrow")})]}),d.jsx("h2",{className:"text-2xl sm:text-3xl font-bold tracking-tight text-[#1380d0]",children:e("aboutPage.adnea.title")}),d.jsx("p",{className:"mt-4 text-muted-foreground leading-relaxed",children:e("aboutPage.adnea.content")})]})]})})})}),d.jsxs("section",{className:"relative py-16 sm:py-20 overflow-hidden",children:[d.jsx("img",{src:"/images/cnc-machining.jpg",alt:"",className:"absolute inset-0 h-full w-full object-cover","aria-hidden":"true"}),d.jsx("div",{className:"absolute inset-0 bg-[#003f87]/70"}),d.jsx("div",{className:"relative z-10 mx-auto max-w-6xl px-4 sm:px-6",children:d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center max-w-3xl mx-auto",children:[d.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border border-white/30 bg-white/10 px-3 py-1 text-xs text-white/80 shadow-sm backdrop-blur mb-4",children:[d.jsx(X1,{className:"h-4 w-4 text-white"}),d.jsx("span",{className:"font-medium",children:"Palma de Mallorca"})]}),d.jsx("h2",{className:"text-3xl font-bold tracking-tight text-white",children:e("aboutPage.location.title")}),d.jsx("p",{className:"mt-4 text-lg text-white/80 leading-relaxed",children:e("aboutPage.location.content")})]})})]}),d.jsx("section",{className:"py-12 sm:py-16",children:d.jsxs("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:[d.jsx(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-10",children:d.jsx("h2",{className:"text-3xl font-bold tracking-tight text-[#1380d0]",children:e("aboutPage.values.title")})}),d.jsxs("div",{className:"grid gap-6 md:grid-cols-3",children:[d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1},className:"rounded-2xl border bg-card p-6 text-center",children:[d.jsx("div",{className:"mx-auto mb-4 h-12 w-12 rounded-full bg-primary/10 flex items-center justify-center",children:d.jsx(bR,{className:"h-6 w-6 text-primary"})}),d.jsx("h3",{className:"text-lg font-semibold text-foreground",children:e("aboutPage.values.quality.title")}),d.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:e("aboutPage.values.quality.content")})]}),d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.2},className:"rounded-2xl border bg-card p-6 text-center",children:[d.jsx("div",{className:"mx-auto mb-4 h-12 w-12 rounded-full bg-primary/10 flex items-center justify-center",children:d.jsx(TR,{className:"h-6 w-6 text-primary"})}),d.jsx("h3",{className:"text-lg font-semibold text-foreground",children:e("aboutPage.values.innovation.title")}),d.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:e("aboutPage.values.innovation.content")})]}),d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.3},className:"rounded-2xl border bg-card p-6 text-center",children:[d.jsx("div",{className:"mx-auto mb-4 h-12 w-12 rounded-full bg-primary/10 flex items-center justify-center",children:d.jsx(Q1,{className:"h-6 w-6 text-primary"})}),d.jsx("h3",{className:"text-lg font-semibold text-foreground",children:e("aboutPage.values.trust.title")}),d.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:e("aboutPage.values.trust.content")})]})]})]})}),d.jsxs("section",{className:"relative py-16 sm:py-20 overflow-hidden",children:[d.jsx("img",{src:"/images/fittings-dismantling.jpg",alt:"",className:"absolute inset-0 h-full w-full object-cover","aria-hidden":"true"}),d.jsx("div",{className:"absolute inset-0 bg-[#003f87]/70"}),d.jsx("div",{className:"relative z-10 mx-auto max-w-6xl px-4 sm:px-6",children:d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center max-w-2xl mx-auto",children:[d.jsx("h2",{className:"text-3xl font-bold tracking-tight text-white",children:e("aboutPage.cta.title")}),d.jsx("p",{className:"mt-4 text-lg text-white/80",children:e("aboutPage.cta.content")}),d.jsx("div",{className:"mt-8",children:d.jsx(Ns,{trigger:d.jsxs(Pe,{size:"lg",className:"bg-white text-[#1380d0] hover:bg-white/90",children:[e("aboutPage.cta.button"),d.jsx(ti,{className:"ml-2 h-4 w-4"})]})})})]})})]})]}),d.jsx(si,{})]})}function K6(){const{t:e}=ct(),n=[{key:"dismantling",icon:xs},{key:"maintenance",icon:YR},{key:"repair",icon:UR}],a=e("servicesPage.fittings.materials.list",{returnObjects:!0});return d.jsxs("div",{className:"relative min-h-screen bg-background",children:[d.jsx(On,{}),d.jsxs("main",{children:[d.jsxs("section",{className:"relative min-h-[400px] sm:min-h-[500px] overflow-hidden flex items-end",children:[d.jsx("img",{src:"/images/fittings-dismantling.jpg",alt:"",className:"absolute inset-0 h-full w-full object-cover","aria-hidden":"true"}),d.jsx("div",{className:"absolute inset-0 bg-[#003f87]/70"}),d.jsxs("div",{className:"relative z-10 w-full mx-auto max-w-6xl px-4 sm:px-6 pt-8 pb-12 sm:pt-12 sm:pb-16",children:[d.jsx(Pe,{variant:"ghost",size:"sm",className:"mb-6 text-white/80 hover:text-white hover:bg-white/10",asChild:!0,children:d.jsxs("a",{href:"/#services",children:[d.jsx(Hi,{className:"mr-2 h-4 w-4"}),e("servicesPage.backToServices")]})}),d.jsxs(Ne.div,{initial:{opacity:0,y:20}
65,animate:{opacity:1,y:0},transition:{duration:.5},className:"max-w-2xl",children:[d.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border border-white/30 bg-white/10 px-3 py-1 text-xs text-white/80 shadow-sm backdrop-blur mb-4",children:[d.jsx(xs,{className:"h-4 w-4 text-white"}),d.jsx("span",{className:"font-medium",children:e("services.menu.fittings")})]}),d.jsx("h1",{className:"text-4xl font-bold tracking-tight text-white sm:text-5xl",children:e("servicesPage.fittings.title")}),d.jsx("p",{className:"mt-4 text-xl text-white/80",children:e("servicesPage.fittings.subtitle")}),d.jsx("p",{className:"mt-6 text-white/70 leading-relaxed",children:e("servicesPage.fittings.intro")})]})]})]}),d.jsx("section",{className:"py-12 sm:py-16 bg-muted/30",children:d.jsx("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:d.jsx("div",{className:"grid gap-8 md:grid-cols-2",children:n.map((s,o)=>{const c=s.icon,u=e(`servicesPage.fittings.services.${s.key}.features`,{returnObjects:!0});return d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:o*.1},className:"rounded-2xl border bg-card p-6 sm:p-8",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[d.jsx("div",{className:"h-10 w-10 rounded-xl bg-primary/10 flex items-center justify-center",children:d.jsx(c,{className:"h-5 w-5 text-primary"})}),d.jsx("h3",{className:"text-xl font-semibold text-foreground",children:e(`servicesPage.fittings.services.${s.key}.title`)})]}),d.jsx("p",{className:"text-muted-foreground mb-4",children:e(`servicesPage.fittings.services.${s.key}.content`)}),d.jsx("ul",{className:"space-y-2",children:u.map((h,p)=>d.jsxs("li",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[d.jsx(Pi,{className:"h-4 w-4 text-primary flex-shrink-0 mt-0.5"}),d.jsx("span",{children:h})]},p))})]},s.key)})})})}),d.jsx("section",{className:"py-12 sm:py-16",children:d.jsxs("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:[d.jsx(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-10",children:d.jsx("h2",{className:"text-3xl font-bold tracking-tight text-[#1380d0]",children:e("servicesPage.fittings.materials.title")})}),d.jsx("div",{className:"flex flex-wrap justify-center gap-3",children:a.map((s,o)=>d.jsx(Ne.span,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:o*.05},className:"rounded-full border bg-card px-4 py-2 text-sm font-medium text-foreground",children:s},o))})]})}),d.jsxs("section",{className:"relative py-16 sm:py-20 overflow-hidden",children:[d.jsx("img",{src:"/images/welding-precision.jpeg",alt:"",className:"absolute inset-0 h-full w-full object-cover","aria-hidden":"true"}),d.jsx("div",{className:"absolute inset-0 bg-[#003f87]/70"}),d.jsx("div",{className:"relative z-10 mx-auto max-w-6xl px-4 sm:px-6",children:d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center max-w-2xl mx-auto",children:[d.jsx("h2",{className:"text-2xl font-bold tracking-tight text-white sm:text-3xl",children:e("servicesPage.contactCta")}),d.jsx("div",{className:"mt-6",children:d.jsx(Ns,{trigger:d.jsxs(Pe,{size:"lg",className:"bg-white text-[#1380d0] hover:bg-white/90",children:[e("servicesPage.contactButton"),d.jsx(ti,{className:"ml-2 h-4 w-4"})]})})})]})})]}),d.jsx("section",{className:"py-12 sm:py-16",children:d.jsxs("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:[d.jsx("h2",{className:"text-2xl font-bold tracking-tight text-[#1380d0] mb-8 text-center",children:e("servicesPage.otherServices")}),d.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[d.jsxs("a",{href:"/our-services/cnc-machining",className:"group rounded-xl border bg-card p-5 hover:border-primary/50 transition-colors",children:[d.jsx("h3",{className:"font-semibold text-foreground group-hover:text-primary transition-colors",children:e("services.cards.cnc.title")}),d.jsx("p",{className:"mt-1 text-sm text-muted-foreground line-clamp-2",children:e("services.cards.cnc.desc")})]}),d.jsxs("a",{href:"/our-services/electrical-retrofits",className:"group rounded-xl border bg-card p-5 hover:border-primary/50 transition-colors",children:[d.jsx("h3",{className:"font-semibold text-foreground group-hover:text-primary transition-colors",children:e("services.cards.consultancy.title")}),d.jsx("p",{className:"mt-1 text-sm text-muted-foreground line-clamp-2",children:e("services.cards.consultancy.desc")})]})]})]})})]}),d.jsx(si,{})]})}function Y6(){const{t:e}=ct(),n=[{key:"milling",icon:Fr},{key:"turning",icon:WR},{key:"finishing",icon:W1}],a=e("servicesPage.cnc.materials.list",{returnObjects:!0}),s=e("servicesPage.cnc.applications.list",{returnObjects:!0});return d.jsxs("div",{className:"relative min-h-screen bg-background",children:[d.jsx(On,{}),d.jsxs("main",{children:[d.jsxs("section",{className:"relative min-h-[400px] sm:min-h-[500px] overflow-hidden flex items-end",children:[d.jsx("img",{src:"/images/cnc-machining.jpg",alt:"",className:"absolute inset-0 h-full w-full object-cover","aria-hidden":"true"}),d.jsx("div",{className:"absolute inset-0 bg-[#003f87]/70"}),d.jsxs("div",{className:"relative z-10 w-full mx-auto max-w-6xl px-4 sm:px-6 pt-8 pb-12 sm:pt-12 sm:pb-16",children:[d.jsx(Pe,{variant:"ghost",size:"sm",className:"mb-6 text-white/80 hover:text-white hover:bg-white/10",asChild:!0,children:d.jsxs("a",{href:"/#services",children:[d.jsx(Hi,{className:"mr-2 h-4 w-4"}),e("servicesPage.backToServices")]})}),d.jsxs(Ne.div,{initial:{opacity:0,y:20}
65,animate:{opacity:1,y:0},transition:{duration:.5},className:"max-w-2xl",children:[d.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border border-white/30 bg-white/10 px-3 py-1 text-xs text-white/80 shadow-sm backdrop-blur mb-4",children:[d.jsx(Fr,{className:"h-4 w-4 text-white"}),d.jsx("span",{className:"font-medium",children:e("services.menu.cnc")})]}),d.jsx("h1",{className:"text-4xl font-bold tracking-tight text-white sm:text-5xl",children:e("servicesPage.cnc.title")}),d.jsx("p",{className:"mt-4 text-xl text-white/80",children:e("servicesPage.cnc.subtitle")}),d.jsx("p",{className:"mt-6 text-white/70 leading-relaxed",children:e("servicesPage.cnc.intro")}),d.jsxs("div",{className:"mt-6 p-4 rounded-xl border border-white/20 bg-white/10 backdrop-blur",children:[d.jsx("h3",{className:"font-semibold text-white mb-2",children:e("servicesPage.cnc.precision.title")}),d.jsx("p",{className:"text-sm text-white/70",children:e("servicesPage.cnc.precision.content")})]})]})]})]}),d.jsx("section",{className:"py-12 sm:py-16 bg-white",children:d.jsx("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"grid gap-8 lg:grid-cols-2 lg:items-center",children:[d.jsxs("div",{children:[d.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border bg-card/70 px-3 py-1 text-xs text-muted-foreground shadow-sm mb-4",children:[d.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-accent","aria-hidden":"true"}),d.jsx("span",{className:"font-medium",children:e("servicesPage.cnc.machine.eyebrow")})]}),d.jsx("h2",{className:"text-4xl sm:text-5xl font-bold tracking-tight text-[#1380d0]",children:e("servicesPage.cnc.machine.title")}),d.jsx("p",{className:"mt-2 text-lg font-medium text-foreground",children:e("servicesPage.cnc.machine.subtitle")}),d.jsx("p",{className:"mt-4 text-muted-foreground leading-relaxed",children:e("servicesPage.cnc.machine.content")}),d.jsxs("div",{className:"mt-6 grid gap-3",children:[d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx(Pi,{className:"h-5 w-5 text-primary flex-shrink-0"}),d.jsx("span",{className:"text-sm text-foreground",children:e("servicesPage.cnc.machine.specs.axes")})]}),d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx(Pi,{className:"h-5 w-5 text-primary flex-shrink-0"}),d.jsx("span",{className:"text-sm text-foreground",children:e("servicesPage.cnc.machine.specs.precision")})]}),d.jsxs("div",{className:"flex items-center gap-3",children:[d.jsx(Pi,{className:"h-5 w-5 text-primary flex-shrink-0"}),d.jsx("span",{className:"text-sm text-foreground",children:e("servicesPage.cnc.machine.specs.versatility")})]})]})]}),d.jsx("div",{className:"relative aspect-video rounded-2xl overflow-hidden shadow-xl",children:d.jsx("img",{src:"/images/doosan-dvf-5000.jpg",alt:"DOOSAN DVF 5000 5-axis CNC machining center",className:"absolute inset-0 h-full w-full object-cover","data-testid":"img-doosan-machine"})})]})})}),d.jsx("section",{className:"py-12 sm:py-16 bg-muted/30",children:d.jsxs("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:[d.jsx(Ne.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-3xl font-bold tracking-tight text-[#1380d0] text-center mb-12",children:e("servicesPage.cnc.capabilities.title")}),d.jsx("div",{className:"grid gap-6 md:grid-cols-3",children:n.map((o,c)=>{const u=o.icon;return d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:c*.1},className:"rounded-2xl border bg-card p-6",children:[d.jsx("div",{className:"h-12 w-12 rounded-xl bg-primary/10 flex items-center justify-center mb-4",children:d.jsx(u,{className:"h-6 w-6 text-primary"})}),d.jsx("h3",{className:"text-lg font-semibold text-foreground mb-2",children:e(`servicesPage.cnc.capabilities.${o.key}.title`)}),d.jsx("p",{className:"text-muted-foreground text-sm",children:e(`servicesPage.cnc.capabilities.${o.key}.content`)})]},o.key)})})]})}),d.jsx("section",{className:"py-12 sm:py-16",children:d.jsxs("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:[d.jsx(Ne.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-3xl font-bold tracking-tight text-[#1380d0] text-center mb-12",children:e("servicesPage.cnc.materials.title")}),d.jsx("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:a.map((o,c)=>d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:c*.05},className:"rounded-xl border bg-card p-5",children:[d.jsx("h3",{className:"font-semibold text-foreground",children:o.name}
65),d.jsx("p",{className:"text-xs text-primary font-medium mt-1",children:o.grades}),d.jsx("p",{className:"text-sm text-muted-foreground mt-2",children:o.description})]},c))})]})}),d.jsx("section",{className:"py-12 sm:py-16 bg-muted/30",children:d.jsxs("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:[d.jsx(Ne.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-3xl font-bold tracking-tight text-[#1380d0] text-center mb-12",children:e("servicesPage.cnc.applications.title")}),d.jsx("div",{className:"grid gap-3 sm:grid-cols-2 lg:grid-cols-3 max-w-4xl mx-auto",children:s.map((o,c)=>d.jsxs(Ne.div,{initial:{opacity:0,x:-10},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:c*.05},className:"flex items-center gap-2 text-muted-foreground",children:[d.jsx(Pi,{className:"h-4 w-4 text-primary flex-shrink-0"}),d.jsx("span",{children:o})]},c))})]})}),d.jsx("section",{className:"py-12 sm:py-16 bg-white",children:d.jsxs("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:[d.jsx(Ne.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-3xl font-bold tracking-tight text-[#1380d0] text-center mb-4",children:e("servicesPage.cnc.gallery.title")}),d.jsx("p",{className:"text-center text-muted-foreground max-w-2xl mx-auto mb-12",children:e("servicesPage.cnc.gallery.subtitle")}),d.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-3 sm:gap-4",children:["part-unic-marine-ring","part-threaded-shafts-1","part-threaded-shafts-2","part-flange","part-cylinder","part-brass-steel","part-inox-cuff","part-handle"].map((o,c)=>d.jsx(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:c*.05},className:"relative aspect-square overflow-hidden rounded-xl bg-muted/50",children:d.jsx("img",{src:`/images/gallery/${o}.jpg`,alt:"CNC machined part",className:"absolute inset-0 h-full w-full object-cover transition-transform duration-500 hover:scale-105","data-testid":`img-gallery-${o}`})},o))})]})}),d.jsxs("section",{className:"relative py-16 sm:py-20 overflow-hidden",children:[d.jsx("img",{src:"/images/fittings-dismantling.jpg",alt:"",className:"absolute inset-0 h-full w-full object-cover","aria-hidden":"true"}),d.jsx("div",{className:"absolute inset-0 bg-[#003f87]/70"}),d.jsx("div",{className:"relative z-10 mx-auto max-w-6xl px-4 sm:px-6",children:d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center max-w-2xl mx-auto",children:[d.jsx("h2",{className:"text-2xl font-bold tracking-tight text-white sm:text-3xl",children:e("servicesPage.contactCta")}),d.jsx("div",{className:"mt-6",children:d.jsx(Ns,{trigger:d.jsxs(Pe,{size:"lg",className:"bg-white text-[#1380d0] hover:bg-white/90",children:[e("servicesPage.contactButton"),d.jsx(ti,{className:"ml-2 h-4 w-4"})]})})})]})})]}),d.jsx("section",{className:"py-12 sm:py-16",children:d.jsxs("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:[d.jsx("h2",{className:"text-2xl font-bold tracking-tight text-[#1380d0] mb-8 text-center",children:e("servicesPage.otherServices")}),d.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[d.jsxs("a",{href:"/our-services/fittings",className:"group rounded-xl border bg-card p-5 hover:border-primary/50 transition-colors",children:[d.jsx("h3",{className:"font-semibold text-foreground group-hover:text-primary transition-colors",children:e("services.cards.fittings1.title")}),d.jsx("p",{className:"mt-1 text-sm text-muted-foreground line-clamp-2",children:e("services.cards.fittings1.desc")})]}),d.jsxs("a",{href:"/our-services/electrical-retrofits",className:"group rounded-xl border bg-card p-5 hover:border-primary/50 transition-colors",children:[d.jsx("h3",{className:"font-semibold text-foreground group-hover:text-primary transition-colors",children:e("services.cards.consultancy.title")}),d.jsx("p",{className:"mt-1 text-sm text-muted-foreground line-clamp-2",children:e("services.cards.consultancy.desc")})]})]})]})})]}),d.jsx(si,{})]})}function $6(){const{t:e}=ct(),n=[{key:"assessment",icon:cR},{key:"design",icon:IR},{key:"compliance",icon:gR},{key:"implementation",icon:xs}
65],a=e("servicesPage.electrical.focus.list",{returnObjects:!0});return d.jsxs("div",{className:"relative min-h-screen bg-background",children:[d.jsx(On,{}),d.jsxs("main",{children:[d.jsxs("section",{className:"relative min-h-[400px] sm:min-h-[500px] overflow-hidden flex items-end",children:[d.jsx("img",{src:"/images/electrical-retrofits.jpg",alt:"",className:"absolute inset-0 h-full w-full object-cover","aria-hidden":"true"}),d.jsx("div",{className:"absolute inset-0 bg-[#003f87]/70"}),d.jsxs("div",{className:"relative z-10 w-full mx-auto max-w-6xl px-4 sm:px-6 pt-8 pb-12 sm:pt-12 sm:pb-16",children:[d.jsx(Pe,{variant:"ghost",size:"sm",className:"mb-6 text-white/80 hover:text-white hover:bg-white/10",asChild:!0,children:d.jsxs("a",{href:"/#services",children:[d.jsx(Hi,{className:"mr-2 h-4 w-4"}),e("servicesPage.backToServices")]})}),d.jsxs(Ne.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},className:"max-w-2xl",children:[d.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full border border-white/30 bg-white/10 px-3 py-1 text-xs text-white/80 shadow-sm backdrop-blur mb-4",children:[d.jsx(Hr,{className:"h-4 w-4 text-white"}),d.jsx("span",{className:"font-medium",children:e("services.menu.retrofits")})]}),d.jsx("h1",{className:"text-4xl font-bold tracking-tight text-white sm:text-5xl",children:e("servicesPage.electrical.title")}),d.jsx("p",{className:"mt-4 text-xl text-white/80",children:e("servicesPage.electrical.subtitle")}),d.jsx("p",{className:"mt-6 text-white/70 leading-relaxed",children:e("servicesPage.electrical.intro")})]})]})]}),d.jsx("section",{className:"py-12 sm:py-16 bg-muted/30",children:d.jsx("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:d.jsx("div",{className:"grid gap-8 md:grid-cols-2",children:n.map((s,o)=>{const c=s.icon,u=e(`servicesPage.electrical.services.${s.key}.features`,{returnObjects:!0});return d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:o*.1},className:"rounded-2xl border bg-card p-6 sm:p-8",children:[d.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[d.jsx("div",{className:"h-10 w-10 rounded-xl bg-primary/10 flex items-center justify-center",children:d.jsx(c,{className:"h-5 w-5 text-primary"})}),d.jsx("h3",{className:"text-xl font-semibold text-foreground",children:e(`servicesPage.electrical.services.${s.key}.title`)})]}),d.jsx("p",{className:"text-muted-foreground mb-4",children:e(`servicesPage.electrical.services.${s.key}.content`)}),d.jsx("ul",{className:"space-y-2",children:u.map((h,p)=>d.jsxs("li",{className:"flex items-start gap-2 text-sm text-muted-foreground",children:[d.jsx(Pi,{className:"h-4 w-4 text-primary flex-shrink-0 mt-0.5"}),d.jsx("span",{children:h})]},p))})]},s.key)})})})}),d.jsx("section",{className:"py-12 sm:py-16",children:d.jsxs("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:[d.jsx(Ne.h2,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-3xl font-bold tracking-tight text-[#1380d0] text-center mb-12",children:e("servicesPage.electrical.focu
65s.title")}),d.jsx("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3 max-w-4xl mx-auto",children:a.map((s,o)=>d.jsxs(Ne.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:o*.05},className:"flex items-start gap-3 rounded-xl border bg-card p-4",children:[d.jsx(Hr,{className:"h-5 w-5 text-primary flex-shrink-0 mt-0.5"}),d.jsx("span",{className:"text-sm text-muted-foreground",children:s})]},o))})]})}),d.jsxs("section",{className:"relative py-16 sm:py-20 overflow-hidden",children:[d.jsx("img",{src:"/images/cnc-machining.jpg",alt:"",className:"absolute inset-0 h-full w-full object-cover","aria-hidden":"true"}),d.jsx("div",{className:"absolute inset-0 bg-[#003f87]/70"}),d.jsx("div",{className:"relative z-10 mx-auto max-w-6xl px-4 sm:px-6",children:d.jsxs(Ne.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center max-w-2xl mx-auto",children:[d.jsx("h2",{className:"text-2xl font-bold tracking-tight text-white sm:text-3xl",children:e("servicesPage.contactCta")}),d.jsx("div",{className:"mt-6",children:d.jsx(Ns,{trigger:d.jsxs(Pe,{size:"lg",className:"bg-white text-[#1380d0] hover:bg-white/90",children:[e("servicesPage.contactButton"),d.jsx(ti,{className:"ml-2 h-4 w-4"})]})})})]})})]}),d.jsx("section",{className:"py-12 sm:py-16",children:d.jsxs("div",{className:"mx-auto max-w-6xl px-4 sm:px-6",children:[d.jsx("h2",{className:"text-2xl font-bold tracking-tight text-[#1380d0] mb-8 text-center",children:e("servicesPage.otherServices")}),d.jsxs("div",{className:"grid gap-4 sm:grid-cols-2",children:[d.jsxs("a",{href:"/our-services/fittings",className:"group rounded-xl border bg-card p-5 hover:border-primary/50 transition-colors",children:[d.jsx("h3",{className:"font-semibold text-foreground group-hover:text-primary transition-colors",children:e("services.cards.fittings1.title")}),d.jsx("p",{className:"mt-1 text-sm text-muted-foreground line-clamp-2",children:e("services.cards.fittings1.desc")})]}),d.jsxs("a",{href:"/our-services/cnc-machining",className:"group rounded-xl border bg-card p-5 hover:border-primary/50 transition-colors",children:[d.jsx("h3",{className:"font-semibold text-foreground group-hover:text-primary transition-colors",children:e("services.cards.cnc.title")}),d.jsx("p",{className:"mt-1 text-sm text-muted-foreground line-clamp-2",children:e("services.cards.cnc.desc")})]})]})]})})]}),d.jsx(si,{})]})}const $0="unic-marine-cookie-consent";function X6(){const{t:e}=ct(),[n,a]=x.useState(!1),[s,o]=x.useState(!1),[c,u]=x.useState({necessary:!0,preferences:!1,thirdParty:!1});x.useEffect(()=>{localStorage.getItem($0)||a(!0)},[]);const h=v=>{localStorage.setItem($0,JSON.stringify(v)),a(!1)},p=()=>{h({necessary:!0,preferences:!0,thirdParty:!0})},g=()=>{h({necessary:!0,preferences:!1,thirdParty:!1})},y=()=>{h(c)};return n?d.jsx(w0,{children:d.jsx(Ne.div,{initial:{y:100,opacity:0},animate:{y:0,opacity:1},exit:{y:100,opacity:0},transition:{type:"spring",damping:25,stiffness:300},className:"fixed bottom-0 left-0 right-0 z-50 p-4 sm:p-6",children:d.jsx("div",{className:"mx-auto max-w-2xl rounded-2xl border bg-card shadow-xl backdrop-blur",children:d.jsx("div",{className:"p-4 sm:p-6",children:d.jsxs("div",{className:"flex items-start gap-4",children:[d.jsx("div",{className:"hidden sm:grid h-10 w-10 shrink-0 place-items-center rounded-xl bg-primary/10 text-primary",children:d.jsx(G1,{className:"h-5 w-5"})}),d.jsxs("div",{className:"flex-1",children:[d.jsxs("div",{className:"flex items-center justify-between",children:[d.jsx("h3",{className:"font-semibold text-foreground",children:e("cookies.title")}),d.jsx("button",{onClick:g,className:"text-muted-foreground hover:text-foreground transition-colors sm:hidden","aria-label":"Close",children:d.jsx(zc,{className:"h-5 w-5"})})]}),d.jsxs("p",{className:"mt-2 text-sm text-muted-foreground",children:[e("cookies.banner.message")," ",d.jsx("a",{href:"/cookies",className:"underline hover:text-foreground",children:e("nav.cookies")})]}),d.jsx(w0,{children:s&&d.jsxs(Ne.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0}
65,className:"mt-4 space-y-3 overflow-hidden",children:[d.jsxs("label",{className:"flex items-center justify-between rounded-lg border bg-background/50 p-3",children:[d.jsxs("div",{children:[d.jsx("span",{className:"text-sm font-medium",children:e("cookies.banner.necessary")}),d.jsx("p",{className:"text-xs text-muted-foreground",children:e("cookies.sections.types.necessary.title")})]}),d.jsx("input",{type:"checkbox",checked:c.necessary,disabled:!0,className:"h-4 w-4 rounded border-gray-300"})]}),d.jsxs("label",{className:"flex items-center justify-between rounded-lg border bg-background/50 p-3 cursor-pointer",children:[d.jsxs("div",{children:[d.jsx("span",{className:"text-sm font-medium",children:e("cookies.banner.preferences")}),d.jsx("p",{className:"text-xs text-muted-foreground",children:e("cookies.sections.types.preferences.title")})]}),d.jsx("input",{type:"checkbox",checked:c.preferences,onChange:v=>u(w=>({...w,preferences:v.target.checked})),className:"h-4 w-4 rounded border-gray-300"})]}),d.jsxs("label",{className:"flex items-center justify-between rounded-lg border bg-background/50 p-3 cursor-pointer",children:[d.jsxs("div",{children:[d.jsx("span",{className:"text-sm font-medium",children:e("cookies.banner.thirdParty")}),d.jsx("p",{className:"text-xs text-muted-foreground",children:e("cookies.sections.types.thirdParty.title")})]}),d.jsx("input",{type:"checkbox",checked:c.thirdParty,onChange:v=>u(w=>({...w,thirdParty:v.target.checked})),className:"h-4 w-4 rounded border-gray-300"})]})]})}),d.jsx("div",{className:"mt-4 flex flex-wrap gap-2",children:s?d.jsxs(d.Fragment,{children:[d.jsx(Pe,{onClick:y,size:"sm",children:e("cookies.banner.savePreferences")}),d.jsx(Pe,{variant:"outline",size:"sm",onClick:()=>o(!1),children:e("cookies.banner.acceptAll")})]}):d.jsxs(d.Fragment,{children:[d.jsx(Pe,{onClick:p,size:"sm",children:e("cookies.banner.acceptAll")}),d.jsx(Pe,{variant:"outline",size:"sm",onClick:g,children:e("cookies.banner.rejectAll")}),d.jsx(Pe,{variant:"ghost",size:"sm",onClick:()=>o(!0),children:e("cookies.banner.customize")})]})})]})]})})})})}):null}function Q6(){return d.jsxs(nA,{children:[d.jsx(dn,{path:"/",component:U6}),d.jsx(dn,{path:"/about-us",component:G6}),d.jsx(dn,{path:"/our-services/fittings",component:K6}),d.jsx(dn,{path:"/our-services/cnc-machining",component:Y6}),d.jsx(dn,{path:"/our-services/electrical-retrofits",component:$6}),d.jsx(dn,{path:"/privacy",component:B6}),d.jsx(dn,{path:"/cookies",component:I6}),d.jsx(dn,{path:"/terms",component:F6}),d.jsx(dn,{path:"/legal",component:H6}),d.jsx(dn,{path:"/sitemap",component:q6}),d.jsx(dn,{component:qO})]})}function W6(){return UO(),d.jsx(zA,{client:kA,children:d.jsxs(LO,{children:[d.jsx(Yz,{}),d.jsx(Q6,{}),d.jsx(X6,{})]})})}LT.createRoot(document.getElementById("root")).render(d.jsx(W6,{}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.