PageSourceSearch

https://iarainteriors.com/_next/static/chunks/pages/_app-3aadfada5624cf8c.js

js iarainteriors.com collected 2026-10-04 01:55:16 UTC 346,127 bytes, 14 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(3187)}])},6691:function(e,t){"use strict";var r,n,i,a;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ACTION_FAST_REFRESH:function(){return d},ACTION_NAVIGATE:function(){return s},ACTION_PREFETCH:function(){return u},ACTION_REFRESH:function(){return o},ACTION_RESTORE:function(){return l},ACTION_SERVER_ACTION:function(){return p},ACTION_SERVER_PATCH:function(){return c},PrefetchCacheEntryStatus:function(){return n},PrefetchKind:function(){return r},isThenable:function(){return h}});let o="refresh",s="navigate",l="restore",c="server-patch",u="prefetch",d="fast-refresh",p="server-action";function h(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(i=r||(r={})).AUTO="auto",i.FULL="full",i.TEMPORARY="temporary",(a=n||(n={})).fresh="fresh",a.reusable="reusable",a.expired="expired",a.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4318:function(e,t,r){"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(8364),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6541:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let n=r(8754),i=r(1757),a=r(5893),o=i._(r(7294)),s=n._(r(3935)),l=n._(r(7828)),c=r(7367),u=r(7903),d=r(4938);r(1997);let p=r(9953),h=n._(r(6663)),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function f(e,t,r,n,i,a,o){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function g(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,o.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:s,width:l,decoding:c,className:u,style:d,fetchPriority:p,placeholder:h,loading:m,unoptimized:v,fill:y,onLoadRef:b,onLoadingCompleteRef:x,setBlurComplete:w,setShowAltText:E,sizesInput:D,onLoad:T,onError:S,...C}=e;return(0,a.jsx)("img",{...C,...g(p),loading:m,width:l,height:s,decoding:c,"data-nimg":y?"fill":"1",className:u,style:d,sizes:i,srcSet:n,src:r,ref:(0,o.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(S&&(e.src=e.src),e.complete&&f(e,h,b,x,w,v,D))},[r,h,b,x,w,S,v,D,t]),onLoad:e=>{f(e.currentTarget,h,b,x,w,v,D)},onError:e=>{E(!0),"empty"!==h&&w(!0),S&&S(e)}})});function y(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...g(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,n),null):(0,a.jsx)(l.default,{children:(0,a.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let b=(0,o.forwardRef)((e,t)=>{let r=(0,o.useContext)(p.RouterContext),n=(0,o.useContext)(d.ImageConfigContext),i=(0,o.useMemo)(()=>{let e=m||n||u.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>
1e-t),r=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r}},[n]),{onLoad:s,onLoadingComplete:l}=e,f=(0,o.useRef)(s);(0,o.useEffect)(()=>{f.current=s},[s]);let g=(0,o.useRef)(l);(0,o.useEffect)(()=>{g.current=l},[l]);let[b,x]=(0,o.useState)(!1),[w,E]=(0,o.useState)(!1),{props:D,meta:T}=(0,c.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:b,showAltText:w});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{...D,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:f,onLoadingCompleteRef:g,setBlurComplete:x,setShowAltText:E,sizesInput:e.sizes,ref:t}),T.priority?(0,a.jsx)(y,{isAppRouter:!r,imgAttributes:D}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9577:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return x}});let n=r(8754),i=r(5893),a=n._(r(7294)),o=r(1401),s=r(2045),l=r(7420),c=r(7201),u=r(1443),d=r(9953),p=r(5320),h=r(2905),m=r(4318),f=r(953),g=r(6691),v=new Set;function y(e,t,r,n,i,a){if(a||(0,s.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let i=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(v.has(i))return;v.add(i)}(async()=>a?e.prefetch(t,i):e.prefetch(t,r,n))().catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let x=a.default.forwardRef(function(e,t){let r,n;let{href:l,as:v,children:x,prefetch:w=null,passHref:E,replace:D,shallow:T,scroll:S,locale:C,onClick:P,onMouseEnter:j,onTouchStart:A,legacyBehavior:k=!1,...M}=e;r=x,k&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let N=a.default.useContext(d.RouterContext),R=a.default.useContext(p.AppRouterContext),I=null!=N?N:R,F=!N,L=!1!==w,O=null===w?g.PrefetchKind.AUTO:g.PrefetchKind.FULL,{href:B,as:z}=a.default.useMemo(()=>{if(!N){let e=b(l);return{href:e,as:v?b(v):e}}let[e,t]=(0,o.resolveHref)(N,l,!0);return{href:e,as:v?(0,o.resolveHref)(N,v):t||e}},[N,l,v]),V=a.default.useRef(B),W=a.default.useRef(z);k&&(n=a.default.Children.only(r));let q=k?n&&"object"==typeof n&&n.ref:t,[_,U,$]=(0,h.useIntersection)({rootMargin:"200px"}),Y=a.default.useCallback(e=>{(W.current!==z||V.current!==B)&&($(),W.current=z,V.current=B),_(e),q&&("function"==typeof q?q(e):"object"==typeof q&&(q.current=e))},[z,q,B,$,_]);a.default.useEffect(()=>{I&&U&&L&&y(I,B,z,{locale:C},{kind:O},F)},[z,B,U,C,L,null==N?void 0:N.locale,I,F,O]);let H={ref:Y,onClick(e){k||"function"!=typeof P||P(e),k&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),I&&!e.defaultPrevented&&function(e,t,r,n,i,o,l,c,u){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!u&&!(0,s.isLocalURL)(r)))return;e.preventDefault();let p=()=>{let e=null==l||l;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:o,locale:c,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})};u?a.default.startTransition(p):p()}(e,I,B,z,D,T,S,C,F)},onMouseEnter(e){k||"function"!=typeof j||j(e),k&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),I&&(L||!F)&&y(I,B,z,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:O},F)},onTouchStart:function(e){k||"function"!=typeof A||A(e),k&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),I&&(L||!F)&&y(I,B,z,{locale:C,priority:!0,bypassPrefetchedCheck:!0},{kind:O},F)}};if((0,c.isAbsoluteUrl)(z))H.href=z;else if(!k||E||"a"===n.type&&!("href"in n.props)){let e=void 0!==C?C:null==N?void 0:N.locale,t=(null==N?void 0:N.isLocaleDomain)&&(0,m.getDomainLocale)(z,e,null==N?void 0:N.locales,null==N?void 0:N.domainLocales);H.href=t||(0,f.addBasePath)((0,u.addLocale)(z,e,null==N?void 0:N.defaultLocale))}return k?a.default.cloneElement(n,H):(0,i.jsx)("a",{...M,...H,children:r})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2905:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let n=r(7294),i=r(3815),a="function"==typeof IntersectionObserver,o=new Map,s=[];function l(e){let{rootRef:t,rootMargin:r,disabled:l}=e,c=l||!a,[u,d]=(0,n.useState)(!1),p=(0,n.useRef)(null),h=(0,n.useCallback)(e=>{p.current=e},[]);return(0,n.useEffect)(()=>{if(a){if(c||u)return;let e=p.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:i,elements:a}=function(e){let t;let r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=o.get(n)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},s.push(r),o.set(r,t),t}(r);return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),o.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!u){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[c,r,t,u,p.current]),[h,u,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7367:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),r(1997);let n=r(9919),i=r(7903);function a(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var r;let s,l,c,{src:u,sizes:d,unoptimized:p=!1,priority:h=!1,loading:m,className:f,quality:g,width:v,height:y,fill:b=!1,style:x,overrideSrc:w,onLoad:E,onLoadingComplete:D,placeholder:T="empty",blurDataURL:S,fetchPriority:C,layout:P,objectFit:j,objectPosition:A,lazyBoundary:k,lazyRoot:M,...N}=e,{imgConf:R,showAltText:I,blurComplete:F,defaultLoader:L}=t,O=R||i.imageConfigDefault;if("allSizes"in O)s=O;else{let e=[...O.deviceSizes,...O.imageSizes].sort((e,t)=>e-t),t=O.deviceSizes.sort((e,t)=>e-t);s={...O,allSizes:e,deviceSizes:t}}if(void 0===L)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let B=N.loader||L;delete N.loader,delete N.srcSet;let z="__next_img_default"in B;if(z){if("custom"===s.loader)throw Error('Image with src "'+u+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=B;B=t=>{let{config:r,...n}=t;return e(n)}}if(P){"fill"===P&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[P];e&&(x={...x,...e});let t={responsive:"100vw",fill:"100vw"}[P];t&&!d&&(d=t)}let V="",W=o(v),q=o(y);if("object"==typeof(r=u)&&(a(r)||void 0!==r.src)){let e=a(u)?u.default:u;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(l=e.blurWidth,c=e.blurHeight,S=S||e.blurDataURL,V=e.src,!b){if(W||q){if(W&&!q){let t=W/e.width;q=Math.round(e.height*t)}else if(!W&&q){let t=q/e.height;W=Math.round(e.width*t)}}else W=e.width,q=e.height}}let _=!h&&("lazy"===m||void 0===m);(!(u="string"==typeof u?u:V)||u.startsWith("data:")||u.startsWith("blob:"))&&(p=!0,_=!1),s.unoptimized&&(p=!0),z&&u.endsWith(".svg")&&!s.dangerouslyAllowSVG&&(p=!0),h&&(C="high");let U=o(g),$=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:j,objectPosition:A}:{},I?{}:{color:"transparent"},x),Y=F||"empty"===T?null:"blur"===T?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:W,heightInt:q,blurWidth:l,blurHeight:c,blurDataURL:S||"",objectFit:$.objectFit})+'")':'url("'+T+'")',H=Y?{backgroundSize:$.objectFit||"cover",backgroundPosition:$.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{}
1,K=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:a,sizes:o,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:c}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,o),u=l.length-1;return{sizes:o||"w"!==c?o:"100vw",srcSet:l.map((e,n)=>s({config:t,src:r,quality:a,width:e})+" "+("w"===c?e:n+1)+c).join(", "),src:s({config:t,src:r,quality:a,width:l[u]})}}({config:s,src:u,unoptimized:p,width:W,quality:U,sizes:d,loader:B});return{props:{...N,loading:_?"lazy":m,fetchPriority:C,width:W,height:q,decoding:"async",className:f,style:{...$,...H},sizes:K.sizes,srcSet:K.srcSet,src:w||K.src},meta:{unoptimized:p,priority:h,placeholder:T,fill:b}}}},9919:function(e,t){"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:a,objectFit:o}=e,s=n?40*n:t,l=i?40*i:r,c=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+c+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(c?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},5666:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return s}});let n=r(8754),i=r(7367),a=r(6541),o=n._(r(6663));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=a.Image},6663:function(e,t){"use strict";function r(e){let{config:t,src:r,width:n,quality:i}=e;return t.path+"?url="+encodeURIComponent(r)+"&w="+n+"&q="+(i||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},2417:function(e,t,r){"use strict";r.d(t,{z:function(){return c}});var n=r(5893),i=r(7294),a=r(8426),o=r(2003),s=r(7596);let l=(0,o.j)("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",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),c=i.forwardRef((e,t)=>{let{className:r,variant:i,size:o,asChild:c=!1,...u}=e,d=c?a.g7:"button";return(0,n.jsx)(d,{className:(0,s.cn)(l({variant:i,size:o,className:r})),ref:t,...u})});c.displayName="Button"},6204:function(e,t,r){"use strict";r.d(t,{i:function(){return S},Z:function(){return C}});var n=r(5893),i=r(7294),a=r(1163),o=JSON.parse('{"aboutPage":{"seoTitle":"About Us","seoDesc":"Learn about Iara Interiors, a design studio creating warm, refined spaces rooted in nature, emotional intelligence, and material poetry.","heroBadge":"Our Philosophy","heroTitle1":"Sculpting Spaces,","heroTitle2":"Refined Aesthetics","heroDesc":"A design vision dedicated to unveiling the hidden personality and cinematic depth of every environment.","ourServices":"Our Services","storyBadge":"THE HEART OF THE STUDIO","storyTitle":"Spaces with Character, Narratives with Soul","storyDesc":"Iara Interiors was born from a deep connection to the stillness of nature and an artistic vision of hospital
1ity that treats the home as a legacy. My approach is not merely to decorate, but to reveal the independent character hidden within every space through the honesty of materials.\\n\\nBorn from the silent, raw landscapes of Northern Chile, I seek the purity of stone, the warmth of dark wood, and the intentional play of shadows. We masterfully layer moody colors and rich, evocative textures to craft immersive environments that don\'t just exist, but pulse with their own history. Design is the art of sculpting atmosphere—creating sanctuaries of deep intimacy, timelessness, and absolute sophistication.","natureRooted":"Nature-Rooted","natureRootedDesc":"Bringing the outdoors in through organic materials and earth tones.","timelessQuality":"Timeless Quality","timelessQualityDesc":"Designing for longevity with materials that age beautifully.","fluidDesign":"Fluid Design","fluidDesignDesc":"Creating spaces that flow naturally with your daily rhythms.","quoteText":"We craft interiors that feel deeply personal, designed to perform beautifully and to be remembered.","quoteAuthor":"The Studio Vision","ourVision":"Our Perspective","visionText":"To design is to honor the nobility of matter. Our goal is to project environments that breathe timelessness, prioritizing visual well-being and architectural depth over fleeting trends.","ourMission":"Our Intention","missionText":"To craft a visual narrative where every object and texture serves a purpose. We strive for every sanctuary we design to be a unique collector\'s piece, defined by its character and its quiet, elegant presence.","materialBadge":"Nature & Material","materialTitle":"Material Poetry","materialDesc":"We are obsessed with the tactile truth of things: the grain of oak, the cold weight of stone, the soft fall of linen. It is in the dialogue between these textures where a space begins to tell its own story.","coreValuesBadge":"Core Values","coreValuesTitle":"The Essence of Iara","natureHarmony":"Harmony & Legacy","natureHarmonyDesc":"Designs that respect the passage of time and the inherent architecture of the site.","soulfulStorytelling":"Sensory Narrative","soulfulStorytellingDesc":"Space
1s designed to be experienced through touch, scent, and noble materials.","timelessBeauty":"Ancestral Elegance","timelessBeautyDesc":"A signature aesthetic that ignores fads to focus on the eternal and the authentic.","materialityCraft":"Curated Artistry","materialityCraftDesc":"The integration of selected pieces and bespoke art as the central heartbeat of a room.","wellbeingEmotion":"Natural Calm","wellbeingEmotionDesc":"Environments that evoke the serenity of the outside world within the interior.","intentionDetail":"Intentionality in Detail","intentionDetailDesc":"From the play of shadows to the final finish, every choice is a conscious act of design.","ctaTitle1":"Ready to Create a Space","ctaTitle2":"That Feels Like You?","ctaDesc":"Let\'s collaborate to create an environment with an essence worth living.","materialWood":"Natural textures - Wood","materialStone":"Stone and marble","materialLinen":"Organic linen detail"}}'),s=JSON.parse('{"commercialPage":{"seoTitle":"Commercial Design","seoDesc":"We design high-end hospitality and retail environments where brand identity, spatial flow, and emotional atmosphere work together.","heroBadge":"Commercial Design","heroTitle1":"Spaces That Perform","heroTitle2":"& Tell Your Story","heroDesc":"Engineering unforgettable guest experiences through soulful branding and intentional atmosphere.","viewPortfolio":"View Commercial Portfolio","introBadge":"The Commercial Vision","introTitle":"Spaces that perform and become the story people share.","introDesc1":"We design high-end hospitality and retail environments where brand identity, spatial flow, and emotional atmosphere work together.","introDesc2":"Not just beautiful interiors: spaces engineered for guest experience, staff efficiency, and unforgettable \\"wow\\" moments that people remember, photograph, and talk about.","clearFlow":"Clear flow","clearFlowDesc":"Zoning and circulation engineered for guest experience and staff efficiency.","strongIdentity":"Strong identity","strongIdentityDesc":"Translating your brand codes into a cohesive, unforgettable spatial narrative.","operationalEase":"Operational ease","operationalEaseDesc":"Design that supports performance, reduces friction, and improves service.","quoteText":"Luxury is not decoration — It\'s design that elevates perception and improves performance.","whatWeDesign":"What We Design","restaurants":"Restaurants & Bars","workspaces":"Creative workspaces & Offices","cafes":"Caf\xe9s & Coffee Shops","boutiques":"Boutiques & Concept Stores","wellness":"Wellness Spaces & Studios","hotels":"Small Hotels & Guesthouses","purposeBadge":"Design with purpose","purposeTitle":"Luxury is not decoration —It\'s design that elevates perception and improves performance","purposeDesc":"A well designed commercial spaces improves customer behaviour, supports your team, and elevates your brand perception. We translate your concept into a cohesive spatial narrative: from first impression to the last detail, every corner has purpose.","whyMatters":"Why it matters","whyMattersDesc":"In a world where every brand competes for attention, your space is your strongest form of communication. People may forget what you say but they\'ll remember how a place made them feel.","shapeExperience":"Shape Experience","shapeExperienceDesc":"Create a deep emotional connection with your guests.","supportOperations":"Support Operations","supportOperationsDesc":"Enhance team efficiency through flow and clarity.","elevatePerception":"Elevate Perception","elevatePerceptionDesc":"Ensure your brand feels premium and unmistakable.","shareMoments":"Share-worthy Moments","shareMomentsDesc":"Strategic details guests naturally feel compelled to share.","signatureBadge":"The IARA Way","signatureTitle":"Our Signature Approach","senseOfPlace":"Sense of place","senseOfPlaceDesc":"Design rooted in nature, culture, and atmosphere.","identityFirst":"Identity-first concept","identityFirstDesc":"We define your brand codes and translate them into space.","flowFunc":"Flow & functionality","flowFuncDesc":"Zoning, circulation, and operational logic.","materialPoetry":"Material poetry","materialPoetryDesc":"Natural textures, tactile comfort, and refined contrast.","lighting":"Lighting as atmosphere","lightingDesc":"Warmth, drama, and clarity where it matters.","craft":"Craft & collaboration","craftDesc":"Curated pieces and artisanal details that feel unique.","wowDetail":"The \\"wow\\" detail","wowDetailDesc":"One unforgettable element that becomes your signature.","performance":"Designed for performance","performanceDesc":"Strategic layouts designed for high-traffic durability and long-term commercial success.","deliverablesBadge":"The Professional Process","deliverablesTitle":"Included in Your Project","deliverable1":"Concept narrative + moodboard + material palette","deliverable2":"Layout planning + zoning + key circulation decisions","deliverable3":"Design development: finishes, lighting, and custom elements","deliverable4":"FF&E selection + sourcing list (local or international)","deliverable5":"Styling guidance for launch and brand photography","footerLeft":"Designed for Performance","footerRight":"Operational Ease","ctaTitle1":"Let\'s Create a Space People","ctaTitle2":"Remember & Return to","ctaDesc":"Tell us about your project and we\'ll propose a design direction aligned with your brand, budget, and timeline."}}'),l=JSON.parse('{"nav":{"about":"About","services":"Services","gallery":"Gallery","contact":"Contact","getStarted":"Get Started","menu":"Menu"},"seo":{"home":{"title":"Iara Interiors | Harmony, Wellness, Balance","description":"Transform your space with Iara Interiors. We create harmonious living space
1s that promote wellness and balance through holistic interior design."}},"hero":{"badge":"Exquisite Sanctuaries","title1":"Spaces with","title2":"character","title3":"that tells a story","description":"Beyond aesthetics, we craft environments defined by the nobility of materials and a cinematic depth. We don\'t just design; we unveil the story within your space","exploreServices":"Begin the Journey","bookConsultation":"Book Consulation","discoverMore":"Discover More"},"about":{"title":"Where Materiality Meets Purpose","description":"Inspired by the raw patterns of nature and the art of hospitality, Iara Interiors is dedicated to creating environments that hold their own weight. We layer rich textures and deep colors to reveal a character that is independent, timeless, and profoundly immersive.","feature1Title":"Atmospheric Depth","feature1Desc":"A masterful interplay of light and shadow, sculpting a cinematic sense of mood.","feature2Title":"Material Poetry","feature2Desc":"We seek the truth within stone, wood, and raw textures to ground every space.","feature3Title":"Natural Patterns","feature3Desc":" Design inspired by the organic rhythms and complex forms found in the wild."},"cta":{"badge":"Create Your Sanctuary","titlePart1":"Ready to Create a","titleHighlight":"Space","titlePart2":"That Feels Like You?","description":"Let’s design an environment that reflects your essence, supports your wellbeing, and brings beauty, warmth, and intention into your everyday life.","scheduleConsultation":"Schedule a Consultation","beginJourney":"Begin Your Journey","exploreServices":"Explore Our Services"},"footer":{"tagline":"Designing spaces with warmth, depth, and quiet luxury—where natural materials, rich atmosphere, and thoughtful flow come together to create environments that feel deeply inspiring and alive.","services":"Services","contact":"Contact","location":"Location","basedIn":"Based in","atacama":"Atacama Desert,","global":"Operating Globally.","rights":"\xa9 2026 Iara Interiors. All rights reserved.","privacy":"Privacy Policy","terms":"Terms of Service","instagram":"Instagram","pinterest":"Pinterest","newsletter":{"title":"Newsletter","description":"Subscribe to receive design inspiration, studio updates, and exclusive stories.","placeholder":"[email protected]","button":"Subscribe","submitting":"Subscribing...","successTitle":"Thank you for subscribing","successDesc":"You have successfully signed up for our newsletter.","invali
1dEmail":"Please enter a valid email address."}},"contact":{"badge":"Begin Your Journey","title1":"Let\'s Create","title2":"Something","title3":"Beautiful","heroDesc":"Every extraordinary space begins with a conversation. Share your vision with us, and together we\'ll craft an environment that speaks to your soul.","getInTouch":"Get in Touch","hereToListen":"We\'re Here to Listen","listenDesc":"We believe every project starts with understanding. Share your thoughts, your dreams, and your challenges. Our team will respond within 24 hours to begin crafting your experience.","emailUs":"Email Us","callUs":"Call Us","officeHours":"Office Hours","monFri":"Mon - Fri: 9:00 AM - 6:00 PM","saturday":"Saturday: 10:00 AM - 4:00 PM","locationTitle":"Location","basedIn":"Based in Atacama Desert","operatingGlobally":"Operating Globally","followJourney":"Follow Our Journey","startTransformation":"Start Your Transformation","shareVision":"Share your vision with us","firstName":"First Name","lastName":"Last Name","email":"Email","phone":"Phone","coupon":"Coupon Code","helpWith":"What can we help you with?","residential":"Residential","commercial":"Commercial","edesign":"E-Design","consultancy":"Consultancy","tellUs":"Tell us about your project","sharePlaceholder":"Share your vision, goals, and any specific requirements...","sendMessage":"Send Message","bookCalendly":"Book Call on Calendly","firstNamePlaceholder":"Your first name","lastNamePlaceholder":"Your last name","emailPlaceholder":"[email protected]","phonePlaceholder":"+1 (555) 000-0000","couponPlaceholder":"e.g. HARMONY15","quote":"Every space has a story waiting to be told. Let us help you write yours.","team":"— The Iara Interiors Team"},"promo":{"badge":"Exclusive Invitation","title":"15% OFF Your First Project","subtitle":"Enter your email to unlock your exclusive 15% discount code for E-Design and Online Consultancy.","emailPlaceholder":"[email protected]","submitBtn":"Get My 15% OFF","submitting":"Unlocking...","invalidEmail":"Please enter a valid email address.","successTitle":"Code Unlocked!","successSubtitle":"Use your exclusive coupon code when contacting us or booking your project:","discountCode":"HARMONY15","copyCode":"Copy Code","codeCopied":"Code Copied!","exploreTiers":"Explore Our Services","btnEDesign":"E-Design","btnConsultancy":"Online Consultancy","close":"Close"},"galleryPage":{"seoTitle":"Aesthetic Archives | Curated Gallery","seoDesc":"Explore our curated collection of noble materials, light, shadow, and architectural sanctuaries designed by Iara Interiors.","heroBadge":"Visual Poetry","heroTitle":"Curated Gallery","heroDesc":"A silent dialogue of raw textures, natural stones, and warm light. Every frame tells a story of quiet luxury and structural harmony.","filterAll":"All","filterResidential":"Residential","filterCommercial":"Commercial","filterProjects":"Collections","filterDetails":"Details"}}'),c=JSON.parse('{"consultancyPage":{"seoTitle":"Design Consultancy","seoDesc":"A high-end design session to bring clarity, direction, and calm to your home design process.","heroBadge":"Design Consultancy","heroTitle1":"Design Clarity &","heroTitle2":"Material Direction.","heroDesc":"A high-impact, 1:1 immersive session designed to unveil the character of your space and define a narrative rooted in authenticity.","howItWorks":"View portfolio","introBadge":"The approach","introTitle1":"Designing with Intention should be an Art,","introTitle2":"not a Burden.","quoteText":"Leave with clarity—and a space that feels deeply yours.","thisIsForYou":"This is for you if…","forYou1":"You want a cohesive, elevated look without a full project","forYou2":"You feel stuck choosing furniture, finishes, or layout","forYou3":"You want a look that feels elevated yet deeply like you","forYou4":"You\'re choosing finishes and want professional certainty","coverTitle":"What We Unveil","cover1":"Material Palette: Defining the dialogue between stone, wood, and textiles.","cover2":"Atmospheric Lighting: Mastering the interplay of shadows and warm glows.","cover3":"Space Narrative: Establishing a cohesive story and character for the room.","cover4":"Artistic Direction: Selecting pieces and textures that hold visual weight.","cover5":"Flow & Layout: Optimizing the architectural movement and sensory experience.","cover6":"Sourcing Guidance: Curating a list of noble materials and timeless objects.","scopeBadge":"The Session Scope","scopeTitle":"Professional insight to bring it all together.","scopeDesc":"We\'ll teach you the design process, from defining your style and selecting color schemes to arranging furniture and choosing d\xe9cor that reflects your personality.","processBadge":"The Process","processTitle":"How it works","processDesc":"A focused journey to bring clarity to your space.","step1":"The Connection","step1Desc":"Secure your session and share the current state of your environment through our intake portal.","step2":"The Deep Dive","step2Desc":"A 60-minute intensive call where we dissect the space, analyze its light, and define its material identity.","step3":"The Blueprint","step3Desc":"I provide immediate, expert direction on colors, patterns, and furniture selection.","coachQuote":"Think of us as your design coach—here to inspire, guide, and support you in transforming your space into something truly unique and meaningful.","outputBadge":"Deliverables","outputTitle":"What you get","output1":"Executive Summary: A refined overview of our material and aesthetic direction.","output2":"The Color & Texture Map: A curated selection of tones and finishes.","output3":"Furniture & Layout Guide: Strategic placement for better flow and intimacy.","output4":"The \\"IARA\\" Sourcing List: Personalized recommendations for key items.","output5":"Session Recording: For you to revisit every detail of our creative dialogue.","footerLeft":"Focused Clarity","footerRight":"Actionable Roadmap","enhancementsBadge":"Elevate Your Session","enhancementsTitle":"Optional Enhancements","enhancement1":"Atmospheric Lighting Plan","enhancement1Desc":"A technical guide to layering light for a \\"moody\\" feel.","enhancement2":"3D Cinematic Sketch","enhancement2Desc":"A photorealistic render of one corner to visualize the proposal.","enhancement3":"The Artist Liaison","enhancement3Desc":"I source 2-3 specific independent artworks for your space.","notIdeal":"Not ideal if you need:","notIdealDesc":"Full-room design development, sourcing, or 3D visuals — explore","edesignLink":"E-Design","forComplete":"for a more complete service.","ctaTitle1":"Refine Your Home","ctaTitle2":"With Intention","ctaDesc":"Stop second-guessing and start building a space with a character worth living.","ctaButton":"Book Your Consultation"}}'),u=JSON.parse('{"edesignPage":{"seoTitle":"E-Design","seoDesc":"High-end interior design — delivered online, anywhere in the world. Soulful, refined spaces rooted in natural materials and intentional flow.","heroBadge":"E-Design","heroTitle1":"Soulful Sanctuaries,","heroTitle2":"Designed from Anywhere.","heroDesc":"We don\'t just arrange furniture; we craft atmospheres that breathe your story. Experience a deeply personal design journey that transforms your house into a soulful refuge, complete with curated artistry and poetic depth.","
1introBadge":"Online & Intentional","introTitle":"High-end interior design delivered online, anywhere in the world","introDesc":"A guided online experience with clear direction, curated selections, and elevated results. Design your dream space, no matter where you are.","identity":"Design with identity","identityDesc":"A cohesive concept that feels unmistakably yours.","purpose":"Beauty with purpose","purposeDesc":"Layout and flow that supports your daily life.","curated":"Curated & elevated","curatedDesc":"Refined choices, fewer mistakes, better results.","tiersBadge":"Service Tiers","tiersTitle":"Choose Your Experience","silver":"The Essence","silverTagline":"The Essentials","silverDesc":"Ideal for refreshing a room with intention and a grounded aesthetic.","silverFeature1":"Soulful Discovery: A 45-minute deep-dive call into your home\'s energy.","silverFeature2":"The Narrative Moodboard: A visual guide of textures, light, and nature-inspired imagery.","silverFeature3":"Earthy Color Palette: Hand-picked tones and material suggestions.","silverFeature4":"Artistic Soul Curation: A selection of 3 curated artworks (prints or photography) that resonate with your space\'s new energy.","silverCta":"Book The Essence","gold":"The Soul","goldTagline":"The Signature Experience","goldDesc":"More depth, more tailoring — a total transformation.","goldFeature1":"Everything in \\"The Essence\\" plus:","goldFeature2":"Cinematic 3D Renderings: 2-3 photorealistic views to feel the warmth of your space.","goldFeature3":"Atmospheric Lighting Plan: A guide to layering light-from soft shadows to warm glows.","goldFeature4":"The Independent Artist Guide: A personalized recommendation of 2-3 independent artists whose style aligns with your sanctuary\'s identity.","goldFeature5":"Evolution Session: A second design call to refine your vision and ensure total alignment.","goldCta":"Choose Gold","platinum":"The Sanctuary","platinumTagline":"The Full Soul Home","platinumDesc":"Your entire home, designed with intention and soul.","platinumFeature1":"Everything in \\"The Soul\\" plus:","platinumFeature2":"Bespoke Art Commission: I act as your Artistic Liaison, facilitating the creation of a custom painting or sculpture by a selected artist, designed exclusively to anchor your sanctuary.","platinumFeature3":"Multi-Room Harmony: A cohesive design across 3+ spaces for a continuous sanctuary feel.","platinumFeature4":"Bespoke Details: Custom furniture sketches (cabinetry/vanities) designed for your identity.","platinumFeature5":"VIP Journey: 30 days of priority support and the final \\"Home Blessing\\" styling ritual.","platinumCta":"Apply for Platinum","enhancementsBadge":"Go Deeper","enhancementsTitle":"Optional Enhancements","enhancementsDesc":"For clients who want to add layers or expand the scope.","enhancement1":"Additional rooms","enhancement2":"Lighting plan guidance","enhancement3":"Custom furniture concept","enhancement4":"3D visuals","enhancement5":"Extra revision round","enhancement6":"Additional concepts","processBadge":"A Simple, Guided Process","processTitle":"How It Works","step1":"Onboarding","step1Desc":"We begin with an in-depth conversation exploring memories, light, and feelings to establish the emotional foundation of your sanctuary.","step2":"Concept","step2Desc":"I translate our dialogue into a narrative of textures, raw materials, and earthy tones that define the unique soul of your project.","step3":"Design Development","step3Desc":"We bring the concept to life through photorealistic 3D renders and custom art selections, detailing every element of your design.","step4":"Delivery","step4Desc":"You receive a digital Sanctuary Package complete with curated implementation guides, a bespoke home playlist, and an atmospheric scent ritual.","outputBadge":"Deliverables","receiveTitle":"What You Receive","receive1":"Personal Intention Letter: Explaining the \\"why\\" and the story behind every element.","receive2":"Photorealistic 3D Renderings: To experience the depth and warmth of your design.","receive3":"The Artistic Soul Portfolio: Curated or commissioned art pieces selected just for you.","receive4":"Atmosphere Ritual: Scent and music recommendations to welcome your new life.","receive5":"Clear Implementation Guides: Step-by-step instructions to build your sanctuary with ease.","rightForYou":"Is E-Design Right for You?","rightForYouDesc":"Perfect if you want a high-end result with a clear plan — and you\'re ready to execute purchases and implementation with our expert guidance.","nextSteps":"Next Steps","nextStepsDesc":"Book a discovery call and we\'ll recommend the best package for your space and goals.","ctaTitle1":"Ready to design your sanctuary?","ctaTitle2":"","ctaDesc":"Let’s create a space that reflects your essence and brings intention into your everyday life."}}
1'),d=JSON.parse('{"ouressence":{"badge":"Our Essence","title":"Spaces with Character, Rooted in Identity.","p1":"We believe a home should be a living narrative-a sanctuary where materiality meets personal identity. Our design process is rooted in the art of layering: combining the cold weight of stone with the warmth of dark oak to create an experience that pulses with history.","p2":"Every room is meticulously composed to hold its own visual gravity. Inspired by the raw complexity of nature, we curate environments that are not just beautiful, but deeply evocative and impossible to forget. We don\'t just design interiors; we unveil the independent soul of your environment.","clientSatisfaction":"Client Satisfaction","spacesTransformed":"Spaces Transformed","imageAlt":"Mindful Interior Design"},"services":{"badge":"Design Excellence","title":"Our Services","knowMore":"Know more","residential":{"title":"Residential","description":"Where style meets soul. Creating personalized spaces you\'ll love to live in."},"commercial":{"title":"Commercial","description":"A full service project. High-end hospitality and retail interiors designed for brand identity, effortless flow and unforgettable atmosphere."},"edesign":{"title":"E-Design","description":"Comprehensive online design services that transform your space wherever you are.","startingFrom":"Starting from"},"consultancy":{"title":"Consultancy","description":"Clarity in one session. Helping you create your perfect space with confidence with expert design guidance online."}},"process":{"badge":"Our Process","title":"The Story of Your Space","description":"A thoughtful journey to create a home that reflects who you are and how you want to live.","step1Title":"Space Identity","step1Desc":"Uncovering the personality and potential of each environment.","step2Title":"Material Selection","step2Desc":"Choosing noble materials and designing the light play that provides depth.","step3Title":"Atmospheric Composition","step3Desc":"Layering textures and patterns inspired by nature to create an immersive mood.","step4Title":"Project Reveal","step4Desc":"Delivering a finished, coherent space with its own distinct character."},"projects":{"title":"Designs","description":"Discover our most recent transformations, where refined aesthetics meet exceptional craftsmanship in every meticulously curated space.","viewAll":"View All Projects","viewProject":"View Project","exploreAll":"Explore All Projects","seeEntireGallery":"See the Entire Gallery","project1":{"title":"Modern Minimalist Living","category":"Residential","description":"A contemporary approach to minimalist design principles"},"project2":{"title":"Urban Oasis","category":"Apartment","description":"Bringing nature indoors with biophilic design elements"},"project3":{"title":"Luxe Home Office","category":"Commercial","description":"Elegant workspace designed for productivity and comfort"},"project4":{"title":"Coastal Retreat","category":"Residential","description":"Serene interiors inspired by oceanside living"},"project5":{"title":"Scandinavian Kitchen","category":"Detail","description":"Clean lines meet warm functionality"},"project6":{"title":"Zen Master Suite","category":"Bedroom","description":"A peaceful sanctuary for rest and rejuvenation"}},"reviews":{"badge":"Testimonials","title":"Client Reviews","review1":{"name":"Sarah Johnson","role":"Homeowner","text":"Working with Iara Interiors transformed our house into a home. Their attention to detail and understanding of our needs was exceptional."},"review2":{"name":"Michael Chen","role":"Client","text":"The team\'s ability to blend aesthetics with functionality created a perfect balance in our living space. Highly recommended!"},"review3":{"name":"Emma Davis","role":"Design Enthusiast","text":"Exceptional service and stunning results. They truly understand how to create spaces that reflect personal style while maintaining functionality."},"review4":{"name":"David Wilson","role":"Property Manager","text":"A seamless process from concept to execution. Their vision for contemporary living is truly inspiring and forward-thinking."}},"faq":{"badge":"Support & Guidance","title":"Shall we begin the story of your sanctuary?","description":"Let\'s collaborate to de
1sign an environment with a character worth living.","stillQuestions":"Still have questions?","cantFind":"Can\'t find what you\'re looking for? Reach out and we\'ll be happy to help.","contactUs":"Contact us","q1":"What is it like to work with IARA Interiors?","a1":"Every project is deeply personal and thoughtfully tailored. We take the time to understand your lifestyle, story and vision, then guide you through a refined process that feels collaborative, effortless and inspiring.","q2":"Do you offer online interior design services?","a2":"Yes. We offer online interior design services worldwide, allowing us to create beautifully tailored spaces wherever you are. Our e-design process is seamless, detailed and highly personalized.","q3":"Can you work with my existing furniture or pieces I already love?","a3":"Absolutely. We love incorporating meaningful pieces, existing furniture and collected objects into the design, creating a home that feels layered, personal and uniquely yours.","q4":"How long does a project usually take?","a4":"Timelines vary depending on the scope of the project, but most interior design projects take between 4 and 12 weeks from concept to final design.","q5":"What makes IARA Interiors different?","a5":"IARA Interiors creates spaces with soul, timeless, elegant and deeply personal. Inspired by nature, wellbeing and quiet luxury, every home is designed to feel beautiful, meaningful and entirely unique.","q6":"What level of investment should I anticipate?","a6":"The investment depends on the scale and scope of your project. We offer different options depending on your needs—whether you are looking for a complete interior design, a single room, or a more subtle refresh with minimal intervention. After our discovery call, we will provide a tailored proposal with a design plan that reflects your vision, needs and budget."}}'),p=JSON.parse('{"residentialPage":{"seoTitle":"Residential Design","seoDesc":"IARA Interiors creates refined, soulful residences rooted in natural materials, layered textures, and effortless flow.","heroBadge":"Residential Design","heroTitle1":"Where Style","heroTitle2":"Meets Soul","heroDesc":"Creating Personalized Spaces You\'ll Love to Live In","viewPortfolio":"View Portfolio","introBadge":"The Essence of Iara","introTitle":"A high-end home designed with calm, warmth, and intention.","introDesc":"Iara Interiors creates refined, soulful residences rooted in natural materials, layered textures, and effortless flow. We translate your lifestyle into a home that feels elevated, deeply personal, and quietly unforgettable.","atmosphere":"Atmosphere & calm","atmosphereDesc":"Softly lit, tactile, layered spaces that invite relaxation.","flow":"Flow & function","flowDesc":"Layouts that support real life beautifully and effortlessly.","curated":"Curated refinement","curatedDesc":"Timeless materials, fewer mistakes, and better results.","quoteText":"Warm, refined, and unmistakably yours.","quoteAuthor":"Our Signature","processBadge":"The Guided Experience","processTitle":"Our Process","processDesc":"A simple, guided journey from concept to delivery, with clear direction, curated choices, and a cohesive result.","step1":"Discovery","step1Desc":"Questionnaire + call to understand your lifestyle, needs, and vision.","step2":"Concept","step2Desc":"Moodboard, palette, and design direction that sets the soul of the space.","step3":"Design Development","step3Desc":"Layout guidance + curated selections + refinements for a cohesive look.","step4":"Delivery","step4Desc":"Clear PDF roadmap + sourcing guidance + next steps to bring it to life.","whatWeDesign":"What We Design","fullHome":"Full-home design","livingRooms":"Living rooms & open-plan","bedrooms":"Bedrooms & private sanctuaries","kitchens":"Kitchens & dining","bathrooms":"Bathrooms","styling":"Styling & finishing touches","whyMatters":"Why it matters","homeShapes":"Your home shapes how you feel every day.","homeShapesDesc":"When atmosphere, materiality, and flow align, your space becomes a place to breathe—supporting rest, focus, connection, and wellbeing.","designForFeeling":"Design for a feeling","signatureBadge":"Unique Identity","signatureTitle":"The Iara Signature","senseOfPlace":"Sense of place","senseOfPlaceDesc":"Grounded in nature, warmth, and quiet luxury.","materialPoetry":"Material poetry","materialPoetryDesc":"Natural textures, patina, and refined contrast.","lighting":"Lighting as atmosphere","lightingDesc":"Softness, depth, and calm.","intentionalFlow":"Intentional flow","intentionalFlowDesc":"Zoning and circulation that makes life easier.","signatureWow":"A signature \\"wow\\"","signatureWowDesc":"One unforgettable detail that becomes your home\'s identity.","outputBadge":"The Output","receiveTitle":"What You Receive","receive1":"Concept narrative + moodboard + material palette","receive2":"Layout guidance + circulation recommendations","receive3":"Curated furniture, lighting & decor direction","receive4":"Finish selections (paint, textiles, wood tones, stone direction)","receive5":"Shopping/sourcing guidance with alternatives","receive6":"Styling direction for a cohesive, elevated result","formatTitle":"Service Format","formatDesc":"Residential projects are delivered online, hybrid, or on-site depending on your location and scope. We travel for aligned projects and ke
1y milestones when it adds value—ensuring a highly curated experience from concept to completion.","ctaTitle1":"Ready to Elevate Your Living","ctaTitle2":"Experience?","ctaDesc":"Let\'s create a space that perfectly balances quiet luxury, warmth, and your personal story."}}'),h=JSON.parse('{"servicesPage":{"seoTitle":"Our Services","seoDesc":"Discover our range of interior design services. From residential to commercial design, we create harmonious spaces that inspire wellness and balance.","heroBadge":"Expertise","heroTitle1":"Design That","heroTitle2":"Touches the Soul","heroDesc":"We guide you through the process of creating environments that nurture your well-being and reflect your unique story.","residential":{"title":"Residential Design","subtitle":"Sanctuaries of Wellness","description":"Transform your home into a harmonious sanctuary where architecture and soul collide. We create personalized living spaces that reflect your lifestyle and promote deep well-being through natural materials and intentional flow.","feature1":"Custom mood & material stories","feature2":"Wellness-focused space planning","feature3":"Bespoke furniture selection","feature4":"Holistic color & light consultation"},"commercial":{"title":"Commercial Design","subtitle":"Brand-Led Atmosphere","description":"Create inspiring workspaces and hospitality environments that boost productivity and embody your brand identity. We design commercial spaces that resonate with people on an emotional level.","feature1":"Brand-aligned interior identity","feature2":"Productivity & flow optimization","feature3":"Ergonomic & sensory solutions","feature4":"Sustainable high-end materials"},"edesign":{"title":"E-Design","subtitle":"Global & Personal","description":"High-end interior design delivered virtually. Perfect for clients who want our expert creative direction while managing their own project implementation, anywhere in the world.","feature1":"Virtual creative consultations","feature2":"Detailed digital mood boards","feature3":"Curated shopping & sourcing lists","feature4":"Clear implementation roadmaps"},"consultancy":{"title":"Design Consultancy","subtitle":"Clarity in One Session","description":"Expert advice for your design journey. Get professional insights to make confident decisions about your space, material selections, or layout challenges in a focused session.","feature1":"Focused design problem solving","feature2":"Material & finish verification","feature3":"Spatial planning feedback","feature4":"Curation & styling guidance"},"knowMore":"Know more","rhythmText":"Every space has a rhythm. We help you find yours.","ctaTitle":"Ready to Transform Your Space?","ctaDesc":"Join us in creating an environment that nurtures your well-being and reflects your unique balance."}}');let m={...o,...s,...l,...c,...u,...d,...p,...h};var f=JSON.parse('{"aboutPage":{"seoTitle":"Sobre el Estudio","seoDesc":"Descubre Iara Interiors, un estudio de dise\xf1o que crea espacios c\xe1lidos y refinados, inspirados en la naturaleza, la resonancia emocional y la po\xe9tica de los materiales.","heroBadge":"Nuestra Filosof\xeda","heroTitle1":"Dise\xf1amos espacios que narran tu historia","heroTitle2":"","heroDesc":"Una visi\xf3n de dise\xf1o dedicada a revelar la personalidad oculta y la profundidad cinematogr\xe1fica de cada entorno.","ourServices":"Nuestros Servicios","storyBadge":"EL CORAZ\xd3N DEL ESTUDIO","storyTitle":"Espacios con Car\xe1cter, Narrativas con Alma","storyDesc":"Iara Interiors naci\xf3 de una conexi\xf3n profunda con la quietud de la naturaleza y una visi\xf3n art\xedstica de la hospital
1idad que trata el hogar como un legado. Nuestro enfoque no es simplemente decorar, sino revelar el car\xe1cter propio oculto en cada espacio a trav\xe9s de la honestidad de los materiales.\\n\\nInspirados por los paisajes silenciosos y crudos del norte de Chile, buscamos la pureza de la piedra, la calidez de la madera oscura y el juego deliberado de las sombras. Entrelazamos capas de colores profundos y texturas ricas y evocadoras para crear ambientes inmersivos que no solo existen, sino que vibran con su propia historia. El dise\xf1o es el arte de esculpir atm\xf3sferas: crear santuarios de profunda intimidad, atemporalidad y sofisticaci\xf3n absoluta.","natureRooted":"Conexi\xf3n con la Naturaleza","natureRootedDesc":"Integrar la naturaleza en los interiores a trav\xe9s de materiales org\xe1nicos y tonos tierra.","timelessQuality":"Calidad Atemporal","timelessQualityDesc":"Dise\xf1ar para perdurar con materiales que envejecen con nobleza.","fluidDesign":"Dise\xf1o Fluido","fluidDesignDesc":"Crear espacios que fluyen con naturalidad al ritmo de tu vida cotidiana.","quoteText":"Creamos interiores profundamente personales, dise\xf1ados para funcionar con elegancia y perdurar en la memoria.","quoteAuthor":"La Visi\xf3n del Estudio","ourVision":"Nuestra Perspectiva","visionText":"Dise\xf1ar es honrar la nobleza de la materia. Nuestro prop\xf3sito es proyectar ambientes que respiren atemporalidad, priorizando la armon\xeda visual y la profundidad arquitect\xf3nica sobre las tendencias pasajeras.","ourMission":"Nuestra Intenci\xf3n","missionText":"Crear una narrativa visual donde cada objeto y textura cumpla un prop\xf3sito. Buscamos que cada santuario que dise\xf1amos sea una pieza de colecci\xf3n \xfanica, definida por su car\xe1cter y su presencia serena y elegante.","materialBadge":"Naturaleza y Materia","materialTitle":"Poes\xeda Material","materialDesc":"Nos apasiona la verdad t\xe1ctil de las cosas: la veta del roble, el peso fr\xedo de la piedra, la ca\xedda suave del lino. En el di\xe1logo entre estas texturas, el espacio comienza a narrar su propia historia.","coreValuesBadge":"Valores Fundamentales","coreValuesTitle":"La Esencia de Iara","natureHarmony":"Armon\xeda y Legado","natureHarmonyDesc":"Dise\xf1os que respetan el paso del tiempo y la esencia arquitect\xf3nica del lugar.","soulfulStorytelling":"Narrativa Sensorial","soulfulStorytellingDesc":"Espacios dise\xf1ados para ser experimentados a trav\xe9s del tacto, el aroma y los materiales nobles.","timelessBeauty":"Elegancia Ancestral","timelessBeautyDesc":"Una est\xe9tica con sello propio que ignora las modas pasajeras para centrarse en lo eterno y lo aut\xe9ntico.","materialityCraft":"Arte y Curadur\xeda","materialityCraftDesc":"La integraci\xf3n de piezas selectas y arte a medida como el coraz\xf3n de cada espacio.","wellbeingEmotion":"Calma Natural","wellbeingEmotionDesc":"Ambientes que evocan la serenidad del mundo natural en el interior.","intentionDetail":"Intencionalidad en el Detalle","intentionDetailDesc":"Desde el juego de sombras hasta el acabado final, cada elecci\xf3n es un acto consciente de dise\xf1o.","ctaTitle1":"\xbfListo para crear un espacio","ctaTitle2":"que refleje tu esencia?","ctaDesc":"Colaboremos para dar vida a un entorno que merezca ser habitado.","materialWood":"Texturas naturales - Madera","materialStone":"Piedra y m\xe1rmol","materialLinen":"Detalle de lino org\xe1nico"}}'),g=JSON.parse('{"commercialPage":{"seoTitle":"Dise\xf1o de Espacios Comerciales","seoDesc":"Dise\xf1amos ambientes comerciales y de hospitalidad de alta gama donde la identidad de marca, la fluidez espacial y la atm\xf3sfera emocional convergen en perfecta armon\xeda.","heroBadge":"Dise\xf1o Comercial","heroTitle1":"Espacios Funcionales","heroTitle2":"que Cuentan tu Historia","heroDesc":"Dise\xf1amos experiencias memorables para tus hu\xe9spedes a trav\xe9s de un branding con alma y atm\xf3sferas intencionadas.","viewPortfolio":"Ver Portafolio Comercial","introBadge":"La Visi\xf3n Comercial","introTitle":"Espacios que funcionan con fluidez y se transforman en historias dignas de compartir.","introDesc1":"Dise\xf1amos ambientes comerciales y de hospital
1idad de alta gama donde la identidad de marca, la fluidez espacial y la atm\xf3sfera emocional convergen en perfecta armon\xeda.","introDesc2":"M\xe1s all\xe1 de crear interiores hermosos, dise\xf1amos espacios concebidos para la experiencia del hu\xe9sped, la fluidez operativa de tu equipo y momentos memorables que invitan a ser compartidos y recordados.","clearFlow":"Circulaci\xf3n fluida","clearFlowDesc":"Zonificaci\xf3n y distribuci\xf3n espacial dise\xf1adas para optimizar la experiencia del visitante y la eficiencia del equipo.","strongIdentity":"Identidad con car\xe1cter","strongIdentityDesc":"Traducimos los c\xf3digos de tu marca en una narrativa espacial cohesiva y memorable.","operationalEase":"Eficiencia operativa","operationalEaseDesc":"Un dise\xf1o concebido para potenciar el rendimiento, reducir la fricci\xf3n y elevar la calidad del servicio.","quoteText":"El lujo no es decoraci\xf3n: es dise\xf1o inteligente que eleva la percepci\xf3n y optimiza el rendimiento.","whatWeDesign":"Lo Que Dise\xf1amos","restaurants":"Restaurantes y Bares","workspaces":"Espacios de Trabajo Creativos y Oficinas","cafes":"Cafeter\xedas de Especialidad y Bistr\xf3s","boutiques":"Boutiques y Concept Stores","wellness":"Espacios de Bienestar y Estudios","hotels":"Hoteles Boutique y Casas de Hu\xe9spedes","purposeBadge":"Dise\xf1o con prop\xf3sito","purposeTitle":"El lujo no es decoraci\xf3n: es dise\xf1o inteligente que eleva la percepci\xf3n y optimiza el rendimiento","purposeDesc":"Un espacio comercial dise\xf1ado estrat\xe9gicamente influye positivamente en el comportamiento del cliente, potencia a tu equipo y eleva el valor de tu marca. Traducimos tu concepto en una narrativa espacial cohesiva: desde la primera impresi\xf3n hasta el \xfaltimo detalle, cada rinc\xf3n posee un prop\xf3sito claro.","whyMatters":"\xbfPor qu\xe9 es fundamental?","whyMattersDesc":"En un mundo donde cada marca compite por captar la atenci\xf3n, el espacio f\xedsico es tu herramienta de comunicaci\xf3n m\xe1s poderosa. Las personas pueden olvidar las palabras, pero siempre recordar\xe1n c\xf3mo las hizo sentir un lugar.","shapeExperience":"Esculpe la Experiencia","shapeExperienceDesc":"Genera una conexi\xf3n emocional profunda con tus visitantes.","supportOperations":"Optimiza la Operaci\xf3n","supportOperationsDesc":"Mejora la eficiencia de tu equipo a trav\xe9s de un flujo espacial inteligente y una circulaci\xf3n clara.","elevatePerception":"Eleva la Percepci\xf3n","elevatePerceptionDesc":"Garantiza que tu marca se perciba como exclusiva, premium y memorable.","shareMoments":"Momentos que Inspiran a Compartir","shareMomentsDesc":"Detalles estrat\xe9gicos que invitan a tus visitantes a capturar y compartir su experiencia de forma natural.","signatureBadge":"El Sello IARA","signatureTitle":"Nuestro Enfoque Distintivo","senseOfPlace":"Sentido del lugar","senseOfPlaceDesc":"Un dise\xf1o en sinton\xeda con el entorno natural, la cultura local y la atm\xf3sfera del espacio.","identityFirst":"La Identidad como Punto de Partida","identityFirstDesc":"Definimos los c\xf3digos de tu marca y los traducimos con maestr\xeda al espacio f\xedsico.","flowFunc":"Fluidez y funcionalidad","flowFuncDesc":"Planificaci\xf3n de la zonificaci\xf3n, el flujo de tr\xe1nsito y la l\xf3gica operativa.","materialPoetry":"Poes\xeda material","materialPoetryDesc":"Texturas de origen natural, calidez t\xe1ctil y contrastes altamente refinados.","lighting":"La iluminaci\xf3n como atm\xf3sfera","lightingDesc":"Un juego deliberado de luces y sombras que aporta calidez, drama y claridad donde es esencial.","craft":"Artesan\xeda y curadur\xeda","craftDesc":"Piezas de autor cuidadosamente seleccionadas y detalles artesanales que confieren un car\xe1cter \xfanico.","wowDetail":"El Detalle Firma","wowDetailDesc":"Un elemento inolvidable concebido para convertirse en la firma visual de tu espacio.","performance":"Dise\xf1o de alto rendimiento","performanceDesc":"Distribuciones espaciales estrat\xe9gicas dise\xf1adas para resistir el alto tr\xe1fico y asegurar el \xe9xito comercial a largo plazo.","deliverablesBadge":"El Proceso de Dise\xf1o","deliverablesTitle":"Incluido en tu Proyecto","deliverable1":"Narrativa conceptual, moodboard y paleta de materiales.","deliverable2":"Planificaci\xf3n de la distribuci\xf3n espacial, zonificaci\xf3n y flujos de circulaci\xf3n.","deliverable3":"Desarrollo detallado del dise\xf1o: acabados, iluminaci\xf3n y mobiliario personalizado.","deliverable4":"Selecci\xf3n de mobiliario, iluminaci\xf3n y accesorios (FF&E) y gesti\xf3n de adquisiciones (local e internacional).","deliverable5":"Asesor\xeda en estilismo para el lanzamiento y la sesi\xf3n fotogr\xe1fica de marca.","footerLeft":"Dise\xf1ado para el Rendimiento","footerRight":"Eficiencia Operativa","ctaTitle1":"Dise\xf1emos un espacio memorable,","ctaTitle2":"al que todos quieran regresar","ctaDesc":"Cu\xe9ntanos sobre tu proyecto y desarrollaremos una direcci\xf3n de dise\xf1o alineada con tu identidad de marca, presupuesto y plazos de entrega."}}'),v=JSON.parse('{"nav":{"about":"Nosotros","services":"Servicios","gallery":"Galer\xeda","contact":"Contacto","getStarted":"Comenzar","menu":"Men\xfa"},"seo":{"home":{"title":"Iara Interiors | Armon\xeda, Bienestar, Equilibrio","description":"Transforma tu espacio con Iara Interiors. Creamos ambientes armoniosos que promueven el bienestar y el equilibrio a trav\xe9s del dise\xf1o de interiores hol\xedstico."}},"hero":{"badge":"Santuarios","title1":"Espacios con","title2":"car\xe1cter","title3":"que cuentan una historia","description":"M\xe1s all\xe1 de la est\xe9tica, creamos ambientes definidos por la nobleza de los materiales y una profundidad cinematogr\xe1fica. No solo dise\xf1amos; revelamos la historia que habita en tu espacio.","exploreServices":"Explorar Servicios","bookConsultation":"Reservar 
1Consulta","discoverMore":"Descubre M\xe1s"},"about":{"title":"Donde la materialidad cobra prop\xf3sito","description":"Iara Interiors es un estudio de dise\xf1o que crea espacios c\xe1lidos y refinados, inspirados en la naturaleza, la inteligencia emocional y la poes\xeda de los materiales. Creamos interiores que se sienten profundamente personales, concebidos para ser funcionales, bellos y memorables.","feature1Title":"Atm\xf3sfera y bienestar","feature1Desc":"Espacios equilibrados que fluyen con naturalidad y se sienten aut\xe9nticos.","feature2Title":"Flujo y funcionalidad","feature2Desc":"Ambientes dise\xf1ados para promover el bienestar f\xedsico y mental.","feature3Title":"Materiales atemporales y curados","feature3Desc":"El equilibrio perfecto entre la est\xe9tica y la funcionalidad atemporal."},"cta":{"badge":"Crea tu santuario","titlePart1":"\xbfListo para crear un","titleHighlight":"espacio","titlePart2":"que se sienta verdaderamente tuyo?","description":"Dise\xf1emos un ambiente que refleje tu esencia, apoye tu bienestar y aporte belleza, calidez e intenci\xf3n a tu vida diaria.","scheduleConsultation":"Agendar una consulta","beginJourney":"Comienza tu viaje","exploreServices":"Explora nuestros servicios"},"footer":{"tagline":"Dise\xf1amos espacios con calidez, profundidad y lujo — donde los materiales naturales, la atm\xf3sfera envolvente y el flujo intencional se unen para crear ambientes profundamente inspiradores y llenos de vida.","services":"Servicios","contact":"Contacto","location":"Ubicaci\xf3n","basedIn":"Con sede en el","atacama":"Desierto de Atacama,","global":"con presencia global.","rights":"\xa9 2026 Iara Interiors. Todos los derechos reservados.","privacy":"Pol\xedtica de privacidad","terms":"T\xe9rminos de servicio","instagram":"Instagram","pinterest":"Pinterest","newsletter":{"title":"Bolet\xedn","description":"Suscr\xedbete para recibir inspiraci\xf3n de dise\xf1o, novedades del estudio e historias exclusivas.","placeholder":"[email protected]","button":"Suscribirse","submitting":"Enviando...","successTitle":"Gracias por suscribirte","successDesc":"Te has registrado con \xe9xito en nuestro bolet\xedn.","invalidEmail":"Por favor, introduce un correo v\xe1lido."}},"contact":{"badge":"Comienza tu viaje","title1":"Dise\xf1emos","title2":"algo","title3":"hermoso","heroDesc":"Todo espacio extraordinario comienza con una conversaci\xf3n. Comparte tu visi\xf3n con nosotros y juntos crearemos un ambiente que resuene con tu alma.","getInTouch":"Ponte en contacto","hereToListen":"Estamos aqu\xed para escucharte","listenDesc":"Creemos que cada proyecto comienza con la comprensi\xf3n. Comparte tus ideas, tus sue\xf1os y tus desaf\xedos. Nuestro equipo responder\xe1 en menos de 24 horas para comenzar a dar forma a tu visi\xf3n.","emailUs":"Escr\xedbenos","callUs":"Ll\xe1manos","officeHours":"Horario de Atenci\xf3n","monFri":"Lun - Vie: 9:00 AM - 6:00 PM","saturday":"S\xe1bado: 10:00 AM - 4:00 PM","locationTitle":"Ubicaci\xf3n","basedIn":"Con sede en el Desierto de Atacama","operatingGlobally":"Operando Globalmente","followJourney":"Sigue nuestro viaje","startTransformation":"Comienza tu transformaci\xf3n","shareVision":"Comparte tu visi\xf3n con nosotros","firstName":"Nombre","lastName":"Apellido","email":"Correo Electr\xf3nico","phone":"Tel\xe9fono","coupon":"C\xf3digo de Cup\xf3n","helpWith":"\xbfEn qu\xe9 podemos ayudarte?","residential":"Residencial","commercial":"Comercial","edesign":"E-Design","consultancy":"Consultor\xeda","tellUs":"Cu\xe9ntanos sobre tu proyecto","sharePlaceholder":"Comparte tu visi\xf3n, objetivos y cualquier requisito espec\xedfico...","sendMessage":"Enviar Mensaje","bookCalendly":"Agendar llamada en Calendly","firstNamePlaceholder":"Tu nombre","lastNamePlaceholder":"Tu apellido","emailPlaceholder":"[email protected]","phonePlaceholder":"+56 9 1234 5678","couponPlaceholder":"ej. ARMONIA15","quote":"Cada espacio tiene una historia que aguarda ser revelada. Perm\xedtenos ayudarte a escribir la tuya.","team":"— El Equipo de Iara Interiors"},"promo":{"badge":"Invitaci\xf3n Exclusiva","title":"15% OFF en tu Proyecto","subtitle":"Ingresa tu correo para recibir tu c\xf3digo de 15% OFF y comenzar tu transformaci\xf3n de E-Design o Consultor\xeda en l\xednea.","emailPlaceholder":"[email protected]","submitBtn":"Obtener mi 15% OFF","submitting":"Enviando...","invali
1dEmail":"Por favor, introduce un correo v\xe1lido.","successTitle":"\xa1C\xf3digo Desbloqueado!","successSubtitle":"Usa tu c\xf3digo al contactarnos o al solicitar tu proyecto:","discountCode":"ARMONIA15","copyCode":"Copiar c\xf3digo","codeCopied":"\xa1C\xf3digo copiado!","exploreTiers":"Comienza tu viaje de dise\xf1o","btnEDesign":"E-Design","btnConsultancy":"Consultor\xeda en l\xednea","close":"Cerrar"},"galleryPage":{"seoTitle":"Archivos Est\xe9ticos | Galer\xeda Curada","seoDesc":"Explora nuestra colecci\xf3n curada de materiales nobles, luz, sombra y santuarios arquitect\xf3nicos dise\xf1ados por Iara Interiors.","heroBadge":"Poes\xeda Visual","heroTitle":"Galer\xeda de Proyectos","heroDesc":"Un di\xe1logo silencioso entre texturas naturales, piedra y luz c\xe1lida. Cada rinc\xf3n relata una historia de lujo silencioso y armon\xeda estructural.","filterAll":"Todos","filterResidential":"Residencial","filterCommercial":"Comercial","filterProjects":"Colecciones","filterDetails":"Detalles"}}'),y=JSON.parse('{"consultancyPage":{"seoTitle":"Consultor\xeda de Dise\xf1o","seoDesc":"Una sesi\xf3n de dise\xf1o de alta gama para aportar claridad, direcci\xf3n y calma al proceso de dise\xf1o de tu hogar.","heroBadge":"Consultor\xeda de Dise\xf1o","heroTitle1":"Claridad en el Dise\xf1o y","heroTitle2":"Direcci\xf3n Material.","heroDesc":"Una sesi\xf3n inmersiva 1:1 de alto impacto dise\xf1ada para revelar el car\xe1cter de tu espacio y definir una narrativa arraigada en la autenticidad.","howItWorks":"Ver portafolio","introBadge":"El enfoque","introTitle1":"Dise\xf1ar con intenci\xf3n debe ser un arte,","introTitle2":"no una carga.","quoteText":"Ll\xe9vate claridad absoluta—y un espacio que se sienta profundamente tuyo.","thisIsForYou":"Esto es para ti si…","forYou1":"Buscas una est\xe9tica cohesiva y elevada sin la complejidad de un proyecto completo","forYou2":"Te sientes indeciso al elegir el mobiliario, los acabados o la distribuci\xf3n","forYou3":"Deseas un dise\xf1o que se sienta sofisticado y profundamente tuyo","forYou4":"Est\xe1s definiendo acabados y deseas el respaldo de un criterio profesional","coverTitle":"Lo Que Revelamos","cover1":"Paleta de Materiales: Definiendo el di\xe1logo entre piedra, madera y textiles.","cover2":"Iluminaci\xf3n Atmosf\xe9rica: Dominando el juego entre las sombras y los resplandores c\xe1lidos.","cover3":"Narrativa del Espacio: Estableciendo una historia y un car\xe1cter cohesivos para cada ambiente.","cover4":"Direcci\xf3n Art\xedstica: Curando piezas y texturas que sostienen el peso visual.","cover5":"Flujo y Distribuci\xf3n: Optimizando el movimiento arquitect\xf3nico y la experiencia sensorial.","cover6":"Gu\xeda de Adquisici\xf3n: Curando una selecci\xf3n de materiales nobles y objetos atemporales.","scopeBadge":"El Alcance de la Sesi\xf3n","scopeTitle":"Perspectiva profesional para dar armon\xeda y coherencia a tu espacio.","scopeDesc":"Te guiaremos en el proceso de dise\xf1o, desde la definici\xf3n de tu estilo y la selecci\xf3n de paletas de color, hasta la distribuci\xf3n del mobiliario y la curaci\xf3n de objetos que reflejen tu personalidad.","processBadge":"El Proceso","processTitle":"C\xf3mo funciona","processDesc":"Un viaje enfocado en aportar claridad y direcci\xf3n a tu espacio.","step1":"La Conexi\xf3n","step1Desc":"Asegura tu sesi\xf3n y comparte el estado actual de tu espacio a trav\xe9s de nuestro formulario de preparaci\xf3n.","step2":"La Inmersi\xf3n","step2Desc":"Una sesi\xf3n intensiva de 60 minutos donde analizamos a fondo el espacio, estudiamos su luz y definimos su identidad material.","step3":"El Plan de Acci\xf3n","step3Desc":"Te brindo orientaci\xf3n experta e inmediata sobre colores, texturas y selecci\xf3n de mobiliario.","coachQuote":"Piensa en nosotras como tus mentoras de dise\xf1o—aqu\xed para inspirar, guiar y acompa\xf1arte en la transformaci\xf3n de tu espacio en algo verdaderamente \xfanico y significativo.","outputBadge":"Entregables","outputTitle":"Lo que recibir\xe1s","output1":"Resumen Ejecutivo: Una s\xedntesis refinada de nuestra direcci\xf3n est\xe9tica y material.","output2":"Mapa de Color y Textura: Una selecci\xf3n curada de tonos y acabados.","output3":"Gu\xeda de Mobiliario y Distribuci\xf3n: Una propuesta estrat\xe9gica para mejorar el flujo y la intimidad del espacio.","output4":"Lista de Selecci\xf3n \\"IARA\\": Recomendaciones personalizadas de piezas y objetos clave.","output5":"Grabaci\xf3n de la Sesi\xf3n: Para que puedas repasar cada detalle de nuestro di\xe1logo creativo cuando lo necesites.","footerLeft":"Claridad y Enfoque","footerRight":"Hoja de Ruta Accionable","enhancementsBadge":"Eleva Tu Sesi\xf3n","enhancementsTitle":"Complementos Opcionales","enhancement1":"Plan de Iluminaci\xf3n Atmosf\xe9rica","enhancement1Desc":"Una gu\xeda t\xe9cnica para dise\xf1ar la iluminaci\xf3n y esculpir una atm\xf3sfera \xedntima y acogedora.","enhancement2":"Boceto Cinematogr\xe1fico 3D","enhancement2Desc":"Una vista tridimensional fotorrealista de un rinc\xf3n clave para visualizar la propuesta.","enhancement3":"Curadur\xeda Art\xedstica","enhancement3Desc":"B\xfasqueda y selecci\xf3n personalizada de 2 a 3 obras de arte independientes espec\xedficas para tu espacio.","notIdeal":"Esta sesi\xf3n no es adecuada si buscas:","notIdealDesc":"El dise\xf1o integral de un espacio completo, gesti\xf3n de compras o renders en 3D — te sugerimos explorar","edesignLink":"E-Design","forComplete":"para un servicio integral.","ctaTitle1":"Refina Tu Hogar","ctaTitle2":"Con Intenci\xf3n","ctaDesc":"Deja atr\xe1s la indecisi\xf3n y comienza a dise\xf1ar un espacio con un car\xe1cter y una esencia que valga la pena habitar.","ctaButton":"Reserva Tu Sesi\xf3n"}}'),b=JSON.parse('{"edesignPage":{"seoTitle":"E-Design","seoDesc":"Dise\xf1o de interiores de alta gama — disponible de forma online en cualquier parte del mundo. Espacios con alma y refinados, definidos por materiales naturales y una distribuci\xf3n fluida e intencional.","heroBadge":"E-Design","heroTitle1":"Santuarios con Alma,","heroTitle2":"Dise\xf1ados desde Cualquier Lugar.","heroDesc":"No nos limitamos a distribuir el mobiliario; creamos atm\xf3sferas que respiran tu historia. Experimenta un viaje de dise\xf1o profundamente personal que transforma tu casa en un refugio lleno de alma, enriquecido con una curadur\xeda art\xedstica y profundidad po\xe9tica.","introBadge":"Online e Intencional","introTitle":"Dise\xf1o de interiores de alta gama, disponible online en cualquier rinc\xf3n del mundo","introDesc":"Una experiencia online guiada con direcci\xf3n clara, piezas seleccionad
1as con esmero y un resultado excepcional. Dise\xf1a el espacio de tus sue\xf1os, sin importar d\xf3nde est\xe9s.","identity":"Dise\xf1o con identidad","identityDesc":"Un concepto cohesivo que se siente inconfundiblemente tuyo.","purpose":"Belleza con prop\xf3sito","purposeDesc":"Una distribuci\xf3n y circulaci\xf3n que facilitan y embellecen tu d\xeda a d\xeda.","curated":"Curado y elevado","curatedDesc":"Opciones refinadas para evitar imprevistos y lograr un resultado impecable.","tiersBadge":"Niveles de Servicio","tiersTitle":"Elige Tu Experiencia","silver":"La Esencia","silverTagline":"Lo Esencial","silverDesc":"Dise\xf1a un espacio que se sienta elevado y profundamente tuyo.","silverFeature1":"Descubrimiento con Alma: Una sesi\xf3n de inmersi\xf3n profunda de 45 minutos en la energ\xeda de tu hogar.","silverFeature2":"Moodboard Narrativo: Una gu\xeda visual de texturas, luz y evocaciones de la naturaleza.","silverFeature3":"Paleta de Colores Tierra: Tonos seleccionados con esmero y propuestas de materiales.","silverFeature4":"Curadur\xeda de Arte con Alma: Una selecci\xf3n de 3 obras de arte seleccionadas (l\xe1minas o fotograf\xedas) que resuenan con la nueva energ\xeda de tu espacio.","silverCta":"Elegir La Esencia","gold":"El Alma","goldTagline":"Nuestra Experiencia Signature","goldDesc":"M\xe1s profundidad, m\xe1s personalizaci\xf3n — una transformaci\xf3n total.","goldFeature1":"Todo en \\"La Esencia\\" m\xe1s:","goldFeature2":"Renderizados 3D Cinem\xe1ticos: 2-3 vistas fotorrealistas para sentir la calidez de tu espacio.","goldFeature3":"Plan de Iluminaci\xf3n Atmosf\xe9rica: Una gu\xeda para crear diferentes capas de luz, conjugando sombras suaves y destellos c\xe1lidos.","goldFeature4":"Gu\xeda de Artistas Independientes: Una recomendaci\xf3n personalizada de 2-3 artistas independientes cuyo estilo est\xe1 en sinton\xeda con la identidad de tu santuario.","goldFeature5":"Sesi\xf3n de Evoluci\xf3n: Un segundo encuentro de dise\xf1o para refinar tu visi\xf3n y garantizar una sinton\xeda absoluta.","goldCta":"Elegir El Alma","platinum":"El Santuario","platinumTagline":"Un Hogar Integral Lleno de Alma","platinumDesc":"Tu hogar completo, dise\xf1ado con intenci\xf3n y alma.","platinumFeature1":"Todo en \\"El Alma\\" m\xe1s:","platinumFeature2":"Encargo de Arte a Medida: Actuamos como tu nexo con el arte, facilitando la creaci\xf3n de una pintura o escultura exclusiva por un artista seleccionado, concebida para dar arraigo a tu santuario.","platinumFeature3":"Armon\xeda Multi-Habitaci\xf3n: Un dise\xf1o cohesivo en m\xe1s de 3 espacios para una sensaci\xf3n de santuario continua.","platinumFeature4":"Detalles a Medida: Bocetos de mobiliario personalizado (bibliotecas y tocadores) dise\xf1ados en sinton\xeda con tu identidad.","platinumFeature5":"Acompa\xf1amiento VIP: 30 d\xedas de soporte prioritario y el ritual final de estilismo \\"Home Blessing\\".","platinumCta":"Solicitar El Santuario","enhancementsBadge":"Profundiza M\xe1s","enhancementsTitle":"Mejoras Opcionales","enhancementsDesc":"Para clientes que quieren agregar capas o expandir el alcance.","enhancement1":"Habitaciones adicionales","enhancement2":"Asesoramiento en el plan de iluminaci\xf3n","enhancement3":"Concepto de mobiliario a medida","enhancement4":"Visuales 3D","enhancement5":"Ronda de revisi\xf3n adicional","enhancement6":"Conceptos adicionales","processBadge":"Un Proceso Simple y Guiado","processTitle":"C\xf3mo Funciona","step1":"Onboarding","step1Desc":"Comenzamos con una conversaci\xf3n profunda para explorar recuerdos y sensaciones, definiendo la base emocional de tu santuario.","step2":"Concepto","step2Desc":"Traduzco nuestro di\xe1logo en una propuesta de texturas, materiales nobles y tonos tierra que definen el alma del proyecto.","step3":"Desarrollo del Dise\xf1o","step3Desc":"Damos vida al concepto mediante renders 3D fotorrealistas y una cuidada selecci\xf3n art\xedstica, definiendo cada detalle de tu dise\xf1o.","step4":"Entrega","step4Desc":"Recibes tu Paquete Santuario digital junto con gu\xedas de implementaci\xf3n, una playlist curada y un ritual arom\xe1tico.","outputBadge":"Entregables","re
1ceiveTitle":"Lo Que Recibes","receive1":"Carta de Intenci\xf3n Personalizada: donde se explica el \\"porqu\xe9\\" y la historia detr\xe1s de cada elemento.","receive2":"Renders 3D Fotorrealistas: Para experimentar la profundidad y la calidez de tu dise\xf1o.","receive3":"Portfolio de Arte con Alma: Piezas de arte seleccionadas o creadas por encargo exclusivamente para ti.","receive4":"Ritual de Atm\xf3sfera: Recomendaciones de aroma y m\xfasica para dar la bienvenida a tu nueva vida.","receive5":"Gu\xedas de Implementaci\xf3n Claras: Instrucciones paso a paso para materializar tu santuario con total facilidad.","rightForYou":"\xbfEs E-Design para Ti?","rightForYouDesc":"Perfecto si quieres un resultado de alta gama con un plan claro — y est\xe1s listo para realizar las adquisiciones y la implementaci\xf3n bajo nuestra gu\xeda experta.","nextSteps":"Pr\xf3ximos Pasos","nextStepsDesc":"Agenda una sesi\xf3n de descubrimiento y definiremos la propuesta ideal para tu espacio y objetivos.","ctaTitle1":"\xbfListo para dise\xf1ar tu santuario?","ctaTitle2":"","ctaDesc":"Creemos un espacio que refleje tu esencia y aporte intenci\xf3n e inspiraci\xf3n a tu d\xeda a d\xeda."}}
1'),x=JSON.parse('{"ouressence":{"badge":"Nuestra Esencia","title":"Espacios con Car\xe1cter, Arraigados en la Identidad.","p1":"Creemos que un hogar debe ser una narrativa viva—un santuario donde la materialidad dialoga con la identidad personal. Nuestro proceso se nutre del arte de entrelazar texturas y matices, combinando el peso fr\xedo de la piedra con la calidez del roble oscuro para crear una experiencia que late con historia.","p2":"Cada espacio est\xe1 meticulosamente compuesto para poseer su propia gravedad visual. Inspirados por la cruda complejidad de la naturaleza, concebimos entornos que no solo son bellos, sino profundamente evocadores e inolvidables. No solo dise\xf1amos interiores; revelamos el alma singular de tu entorno.","clientSatisfaction":"Satisfacci\xf3n del Cliente","spacesTransformed":"Espacios Transformados","imageAlt":"Dise\xf1o de Interiores Consciente"},"services":{"badge":"Excelencia en Dise\xf1o","title":"Nuestros Servicios","knowMore":"Explorar","residential":{"title":"Residencial","description":"Donde la est\xe9tica dialoga con el alma. Espacios personalizados dise\xf1ados para ser vividos y amados con plenitud."},"commercial":{"title":"Comercial","description":"Un servicio integral. Interiores de alta gama para el sector comercial, hotelero y gastron\xf3mico, dise\xf1ados para potenciar la identidad de marca, con una circulaci\xf3n fluida y una atm\xf3sfera inolvidable."},"edesign":{"title":"E-Design","description":"Servicios integrales de dise\xf1o online que transforman tu espacio sin importar d\xf3nde te encuentres.","startingFrom":"Desde"},"consultancy":{"title":"Consultor\xeda","description":"Claridad en una sola sesi\xf3n. Te acompa\xf1amos a dar forma a tu espacio ideal con la seguridad que brinda la gu\xeda experta de nuestro equipo."}},"process":{"badge":"Nuestro Proceso","title":"La Historia de Tu Espacio","description":"Un viaje reflexivo para crear un hogar que refleje qui\xe9n eres y c\xf3mo quieres vivir.","step1Title":"Identidad del Espacio","step1Desc":"Descubrir la personalidad y el potencial \xfanico de cada entorno.","step2Title":"Selecci\xf3n de Materiales","step2Desc":"Seleccionar materiales nobles y dise\xf1ar un juego de luces que aporte profundidad.","step3Title":"Composici\xf3n Atmosf\xe9rica","step3Desc":"Superponer texturas y patrones inspirados en la naturaleza para crear una atm\xf3sfera envolvente.","step4Title":"Entrega del Proyecto","step4Desc":"Materializar un espacio terminado, coherente y dotado de su propio car\xe1cter distintivo."},"projects":{"title":"Proyectos","description":"Descubre nuestras creaciones m\xe1s recientes, donde la est\xe9tica refinada se fusiona con la artesan\xeda excepcional en cada espacio concebido con dedicaci\xf3n.","viewAll":"Ver Todos los Proyectos","viewProject":"Ver Proyecto","exploreAll":"Explorar Todos los Proyectos","seeEntireGallery":"Ver la Galer\xeda Completa","project1":{"title":"Vida Minimalista Moderna","category":"Residencial","description":"Un enfoque contempor\xe1neo bajo los principios esenciales del dise\xf1o minimalista."},"project2":{"title":"Oasis Urbano","category":"Apartamento","description":"La naturaleza integrada al interior a trav\xe9s de la sutileza del dise\xf1o biof\xedlico."},"project3":{"title":"Oficina Lujosa","category":"Comercial","description":"Un espacio de trabajo refinado, dise\xf1ado para inspirar productividad y confort."},"project4":{"title":"Refugio Costero","category":"Residencial","description":"Interiores serenos inspirados en el comp\xe1s y la calma del mar."},"project5":{"title":"Cocina Escandinava","category":"Detalle","description":"L\xedneas puras que dialogan con una funcionalidad c\xe1lida."},"project6":{"title":"Master Suite Zen","category":"Dormitorio","description":"Un santuario de calma absoluta dise\xf1ado para el descanso y el bienestar."}},"reviews":{"badge":"Testimonios","title":"Testimonios de Clientes","review1":{"name":"Sarah Johnson","role":"Propietaria","text":"Trabajar con Iara Interiors transform\xf3 nuestra casa en un hogar. Su atenci\xf3n al detalle y su sensibilidad para comprender nuestros deseos fueron excepcionales."},"review2":{"name":"Michael Chen","role":"Cliente","text":"La capacidad del equipo para combinar est\xe9tica con funcionalidad cre\xf3 un equilibrio perfecto en nuestro espacio. Altamente recomendados."},"review3":{"name":"Emma Davis","role":"Amante del Dise\xf1o","text":"Un servicio impecable con resultados extraordinarios. Tienen un don innato para concebir espacios que reflejan la esencia personal sin perder la funcionalidad."},"review4":{"name":"David Wilson","role":"Administrador de Propiedades","text":"Un proceso fluido desde el concepto hasta la ejecuci\xf3n. Su perspectiva de la vida contempor\xe1nea es una verdadera fuente de inspiraci\xf3n."}},"faq":{"badge":"Soporte y Orientaci\xf3n","title":"\xbfComenzamos la historia de tu santuario?","description":"Colaboremos para dise\xf1ar un entorno con un car\xe1cter que valga la pena vivir.","stillQuestions":"\xbfA\xfan tienes preguntas?","cantFind":"\xbfNo encuentras lo que buscas? Escr\xedbenos y ser\xe1 un placer asesorarte.","contactUs":"Cont\xe1ctanos","q1":"\xbfC\xf3mo es trabajar con IARA Interiors?","a1":"Cada proyecto es profundamente personal y cuidadosamente adaptado. Nos tomamos el tiempo para entender tu estilo de vida, historia y visi\xf3n, para luego guiarte a trav\xe9s de un proceso refinado que se siente colaborativo, fluido e inspirador.","q2":"\xbfOfrecen servicios de dise\xf1o de interiores online?","a2":"S\xed. Ofrecemos servicios de dise\xf1o de interiores online en todo el mund
1o, lo que nos permite crear espacios bellamente adaptados dondequiera que est\xe9s. Nuestro proceso de e-design es fluido, detallado y altamente personalizado.","q3":"\xbfPueden incorporar mis muebles o piezas con valor sentimental?","a3":"Absolutamente. Nos encanta entrelazar piezas significativas, mobiliario existente y objetos con historia en nuestras propuestas, creando un hogar que respire textura, profundidad y una personalidad \xfanicamente tuya.","q4":"\xbfCu\xe1nto tiempo suele durar un proyecto?","a4":"Los plazos var\xedan seg\xfan el alcance del proyecto, pero la mayor\xeda de los proyectos de dise\xf1o de interiores requieren de 4 a 12 semanas desde el concepto hasta el dise\xf1o final.","q5":"\xbfQu\xe9 hace que IARA Interiors sea diferente?","a5":"IARA Interiors crea espacios con alma, atemporales, elegantes y profundamente personales. Inspirados en la naturaleza, el bienestar y el lujo silencioso, cada hogar est\xe1 dise\xf1ado para sentirse bello, significativo y completamente \xfanico.","q6":"\xbfQu\xe9 nivel de inversi\xf3n debo anticipar?","a6":"La inversi\xf3n depende de la escala y el alcance de tu proyecto. Ofrecemos diferentes opciones seg\xfan tus necesidades, ya sea que busques un dise\xf1o de interiores completo, una sola habitaci\xf3n o una actualizaci\xf3n m\xe1s sutil con una intervenci\xf3n m\xednima. Tras nuestra sesi\xf3n de valoraci\xf3n inicial, dise\xf1aremos una propuesta a la medida con un plan de dise\xf1o que refleje tu visi\xf3n, necesidades y presupuesto."}}'),w=JSON.parse('{"residentialPage":{"seoTitle":"Dise\xf1o Residencial","seoDesc":"Iara Interiors crea residencias refinadas y con alma, enraizadas en materiales naturales, texturas superpuestas y una circulaci\xf3n fluida.","heroBadge":"Dise\xf1o Residencial","heroTitle1":"Donde el Estilo","heroTitle2":"Encuentra su Alma","heroDesc":"Creando espacios personalizados que amar\xe1s habitar","viewPortfolio":"Ver Portafolio","introBadge":"La Esencia de Iara","introTitle":"Un hogar de alta gama concebido desde la calma, la calidez y la intenci\xf3n.","introDesc":"Iara Interiors dise\xf1a residencias refinadas y con alma, enraizadas en la belleza de los materiales naturales, la superposici\xf3n de texturas y una circulaci\xf3n fluida. Traducimos tu estilo de vida en un hogar que se percibe sofisticado, profundamente personal y sutilmente inolvidable.","atmosphere":"Atm\xf3sfera y Calma","atmosphereDesc":"Espacios de luz suave, gran riqueza t\xe1ctil y atm\xf3sferas envolventes que invitan a la calma.","flow":"Fluidez y Funci\xf3n","flowDesc":"Distribuciones espaciales que se adaptan a la vida cotidiana con elegancia y naturalidad.","curated":"Refinamiento Curado","curatedDesc":"Materiales atemporales, elecciones precisas y resultados excepcionales.","quoteText":"C\xe1lido, refinado e inconfundiblemente tuyo.","quoteAuthor":"Nuestro Sello","processBadge":"La Experiencia Guiada","processTitle":"Nuestro Proceso","processDesc":"Un recorrido fluido y guiado desde el concepto hasta la entrega, con direcci\xf3n clara, propuestas curadas y un resultado cohesivo.","step1":"Descubrimiento","step1Desc":"Cuestionario y sesi\xf3n inicial para comprender tu estilo de vida, necesidades y visi\xf3n.","step2":"Concepto","step2Desc":"Moodboard, paleta crom\xe1tica y direcci\xf3n de dise\xf1o que definen el alma del espacio.","step3":"Desarrollo del Dise\xf1o","step3Desc":"Propuesta de distribuci\xf3n espacial, curadur\xeda de piezas y ajustes finos para una est\xe9tica cohesiva.","step4":"Entrega","step4Desc":"Una detallada hoja de ruta en PDF con gu\xeda de compras y los pasos a seguir para dar vida al proyecto.","whatWeDesign":"Lo Que Dise\xf1amos","fullHome":"Dise\xf1o Integral del Hogar","livingRooms":"Salas de Estar y Espacios Abiertos","bedrooms":"Dormitorios y Santuarios Privados","kitchens":"Cocinas y Comedores","bathrooms":"Cuartos de Ba\xf1o","styling":"Estilismo y Toques Finales","whyMatters":"Por Qu\xe9 Importa","homeShapes":"Tu hogar moldea c\xf3mo te sientes cada d\xeda.","homeShapesDesc":"Cuando la atm\xf3sfera, la materialida
1d y la fluidez espacial se alinean, tu espacio se convierte en un refugio donde respirar, favoreciendo el descanso, la concentraci\xf3n, la conexi\xf3n y el bienestar.","designForFeeling":"Dise\xf1ar Desde el Sentir","signatureBadge":"Identidad \xdanica","signatureTitle":"El Sello Iara","senseOfPlace":"Sentido del Lugar","senseOfPlaceDesc":"Enraizado en la naturaleza, impregnado de calidez y lujo silencioso.","materialPoetry":"Poes\xeda Material","materialPoetryDesc":"Texturas de origen natural, la belleza de la p\xe1tina y contrastes sutiles.","lighting":"La Iluminaci\xf3n como Atm\xf3sfera","lightingDesc":"Suavidad, profundidad y una calma profunda.","intentionalFlow":"Fluidez Intencional","intentionalFlowDesc":"Zonificaci\xf3n y flujos de circulaci\xf3n que simplifican el d\xeda a d\xeda.","signatureWow":"Un Toque Inolvidable","signatureWowDesc":"Un detalle \xfanico que se convierte en el sello de identidad de tu hogar.","outputBadge":"El Resultado","receiveTitle":"Lo Que Recibes","receive1":"Narrativa de concepto, moodboard y paleta de materiales.","receive2":"Propuesta de distribuci\xf3n espacial y recomendaciones de circulaci\xf3n.","receive3":"Direcci\xf3n curada de mobiliario, iluminaci\xf3n y elementos decorativos.","receive4":"Selecci\xf3n de acabados (pintura, textiles, tonalidades de madera y propuesta de piedras).","receive5":"Gu\xeda de compras y abastecimiento con opciones alternativas.","receive6":"Direcci\xf3n de estilismo para lograr un resultado cohesivo y elevado.","formatTitle":"Formato del Servicio","formatDesc":"Los proyectos residenciales se desarrollan en modalidad online, h\xedbrida o presencial, seg\xfan tu ubicaci\xf3n y el alcance del dise\xf1o. Nos trasladamos para proyectos afines e hitos clave de la obra siempre que aporte valor, garantizando una experiencia sumamente personalizada desde el concepto hasta la entrega final.","ctaTitle1":"\xbfListo para Elevar","ctaTitle2":"Tu Experiencia de Vida?","ctaDesc":"Dise\xf1emos juntos un espacio que equilibre a la perfecci\xf3n el lujo silencioso, la calidez y tu historia personal."}}'),E=JSON.parse('{"servicesPage":{"seoTitle":"Servicios de Interiorismo","seoDesc":"Explora nuestros servicios de interiorismo. Desde dise\xf1o residencial y comercial hasta e-design y consultor\xeda, esculpimos espacios con alma que inspiran bienestar, calma y equilibrio.","heroBadge":"Nuestros Servicios","heroTitle1":"Dise\xf1o que","heroTitle2":"Toca el Alma","heroDesc":"Te acompa\xf1amos en el proceso de dar vida a espacios que nutren tu bienestar y reflejan tu historia \xfanica.","residential":{"title":"Dise\xf1o Residencial","subtitle":"Santuarios de Bienestar","description":"Transforma tu hogar en un santuario armonioso donde la arquitectura y el alma se entrelazan. Dise\xf1amos espacios personalizados que reflejan tu estilo de vida y promueven un bienestar profundo mediante materiales naturales y una circulaci\xf3n fluida e intencional.","feature1":"Narrativas personalizadas de materiales y atm\xf3sferas","feature2":"Distribuci\xf3n espacial orientada al bienestar","feature3":"Dise\xf1o y selecci\xf3n de mobiliario a medida","feature4":"Asesor\xeda hol\xedstica de color e iluminaci\xf3n"},"commercial":{"title":"Dise\xf1o Comercial","subtitle":"Identidad Espacial de Marca","description":"Crea espacios de trabajo inspiradores y experiencias de hospitalidad que optimizan la productividad y encarnan tu identidad de marca. Dise\xf1amos entornos comerciales que conectan emocionalmente con las personas.","feature1":"Interiorismo alineado a la identidad de marca","feature2":"Optimizaci\xf3n de flujos y productividad","feature3":"Dise\xf1o ergon\xf3mico y experiencia sensorial","feature4":"Materiales sostenibles de alta gama"},"edesign":{"title":"E-Design","subtitle":"Sin fronteras, profundamente personal","description":"Interiorismo de alta gama dise\xf1ado de manera virtual. La opci\xf3n ideal para clientes de todo el mund
1o que buscan nuestra direcci\xf3n creativa y curadur\xeda, mientras gestionan la ejecuci\xf3n de su proyecto a su propio ritmo.","feature1":"Asesor\xedas creativas online","feature2":"Moodboards y conceptos visuales detallados","feature3":"Gu\xedas de compra y abastecimiento curadas","feature4":"Hojas de ruta claras para la ejecuci\xf3n"},"consultancy":{"title":"Consultor\xeda de Dise\xf1o","subtitle":"Claridad y direcci\xf3n en una sesi\xf3n","description":"Asesor\xeda experta para tu proceso de dise\xf1o. Obt\xe9n una perspectiva profesional para tomar decisiones acertadas sobre tu espacio, la selecci\xf3n de materiales o la distribuci\xf3n, en una sola sesi\xf3n enfocada.","feature1":"Resoluci\xf3n de desaf\xedos de dise\xf1o","feature2":"Validaci\xf3n de materiales y acabados","feature3":"Optimizaci\xf3n de la distribuci\xf3n y flujos","feature4":"Direcci\xf3n de estilismo y curadur\xeda"},"knowMore":"Saber m\xe1s","rhythmText":"Cada espacio tiene un ritmo. Te ayudamos a encontrar el tuyo.","ctaTitle":"\xbfListo para transformar tu espacio?","ctaDesc":"Dise\xf1emos juntos un espacio que nutra tu bienestar y refleje tu equilibrio \xfanico."}}');let D={en:m,es:{...f,...g,...v,...y,...b,...x,...w,...E}},T=(0,i.createContext)(void 0);function S(e){let{children:t,initialLang:r}=e,o=(0,a.useRouter)(),s=e=>{if(!e)return"en";let t=e.split("?")[0].split("#")[0];return"/es"===t||t.startsWith("/es/")?"es":"en"},[l,c]=(0,i.useState)(()=>r&&("en"===r||"es"===r)?r:(null==o?void 0:o.asPath)?s(o.asPath):"en");return(0,i.useEffect)(()=>{r&&("en"===r||"es"===r)?c(r):(null==o?void 0:o.asPath)&&c(s(o.asPath))},[r,null==o?void 0:o.asPath]),(0,n.jsx)(T.Provider,{value:{language:l,setLanguage:e=>{if(c(e),localStorage.setItem("language",e),!o)return;let{asPath:t}=o,r=t.split("?")[0].split("#")[0],n="/es"===r||r.startsWith("/es/");if("es"!==e||n){if("en"===e&&n){let e=t.replace(/^\/es(?:\/|(?=[?#])|$)/,"");(""===e||e.startsWith("?")||e.startsWith("#"))&&(e="/"+e),o.push(e)}}else o.push("/"===t?"/es":"/es".concat(t))},t:e=>{let t=e.split("."),r=D[l];for(let n of t)if(r&&"object"==typeof r&&n in r)r=r[n];else{for(let n of(r=D.en,t)){if(!r||"object"!=typeof r||!(n in r))return e;r=r[n]}break}return"string"==typeof r?r:e},localizePath:e=>!e.startsWith("/")||e.startsWith("/assets")||e.startsWith("/api")||e.startsWith("/_next")?e:"en"===l?e:"/"===e?"/es":"/es".concat(e)},children:t})}function C(){let e=(0,i.useContext)(T);if(void 0===e)throw Error("useLanguage must be used within a LanguageProvider");return e}},7596:function(e,t,r){"use strict";r.d(t,{cn:function(){return X}});var n=r(512);let i=e=>{let t=l(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),a(r,t)||s(e)},getConflictingClassGroupIds:(e,t)=>{let i=r[e]||[];return t&&n[e]?[...i,...n[e]]:i}}},a=(e,t)=>{if(0===e.length)return t.classGroupId;let r=e[0],n=t.nextPart.get(r),i=n?a(e.slice(1),n):void 0;if(i)return i;if(0===t.validators.length)return;let o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},o=/^\[(.+)\]$/,s=e=>{if(o.test(e)){let t=o.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},l=e=>{let{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return p(Object.entries(e.classGroups),r).forEach(([e,r])=>{c(r,n,e,t)}),n},c=(e,t,r,n)=>{e.forEach(e=>{if("string"==typeof e){(""===e?t:u(t,e)).classGroupId=r;return}if("function"==typeof e){if(d(e)){c(e(n),t,r,n);return}t.validators.push({validator:e,classGroupId:r});return}Object.entries(e).forEach(([e,i])=>{c(i,u(t,e),r,n)})})},u=(e,t)=>{let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r},d=e=>e.isThemeGetter,p=(e,t)=>t?e.map(([e,r])=>[e,r.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,r])=>[t+e,r])):e)]):e,h=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=new Map,n=new Map,i=(i,a)=>{r.set(i,a),++t>e&&(t=0,n=r,r=new Map)};return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=n.get(e))?(i(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):i(e,t)}}},m=e=>{let{separator:t,experimentalParseClassName:r}=e,n=1===t.length,i=t[0],a=t.length,o=e=>{let r;let o=[],s=0,l=0;for(let c=0;c<e.length;c++){let u=e[c];
1if(0===s){if(u===i&&(n||e.slice(c,c+a)===t)){o.push(e.slice(l,c)),l=c+a;continue}if("/"===u){r=c;continue}}"["===u?s++:"]"===u&&s--}let c=0===o.length?e:e.substring(l),u=c.startsWith("!"),d=u?c.substring(1):c;return{modifiers:o,hasImportantModifier:u,baseClassName:d,maybePostfixModifierPosition:r&&r>l?r-l:void 0}};return r?e=>r({className:e,parseClassName:o}):o},f=e=>{if(e.length<=1)return e;let t=[],r=[];return e.forEach(e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t},g=e=>({cache:h(e.cacheSize),parseClassName:m(e),...i(e)}),v=/\s+/,y=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i}=t,a=[],o=e.trim().split(v),s="";for(let e=o.length-1;e>=0;e-=1){let t=o[e],{modifiers:l,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:d}=r(t),p=!!d,h=n(p?u.substring(0,d):u);if(!h){if(!p||!(h=n(u))){s=t+(s.length>0?" "+s:s);continue}p=!1}let m=f(l).join(":"),g=c?m+"!":m,v=g+h;if(a.includes(v))continue;a.push(v);let y=i(h,p);for(let e=0;e<y.length;++e){let t=y[e];a.push(g+t)}s=t+(s.length>0?" "+s:s)}return s};function b(){let e,t,r=0,n="";for(;r<arguments.length;)(e=arguments[r++])&&(t=x(e))&&(n&&(n+=" "),n+=t);return n}let x=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=x(e[n]))&&(r&&(r+=" "),r+=t);return r},w=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},E=/^\[(?:([a-z-]+):)?(.+)\]$/i,D=/^\d+\/\d+$/,T=new Set(["px","full","screen"]),S=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,C=/\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$/,P=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,j=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,A=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,k=e=>N(e)||T.has(e)||D.test(e),M=e=>$(e,"length",Y),N=e=>!!e&&!Number.isNaN(Number(e)),R=e=>$(e,"number",N),I=e=>!!e&&Number.isInteger(Number(e)),F=e=>e.endsWith("%")&&N(e.slice(0,-1)),L=e=>E.test(e),O=e=>S.test(e),B=new Set(["length","size","percentage"]),z=e=>$(e,B,H),V=e=>$(e,"position",H),W=new Set(["image","url"]),q=e=>$(e,W,G),_=e=>$(e,"",K),U=()=>!0,$=(e,t,r)=>{let n=E.exec(e);return!!n&&(n[1]?"string"==typeof t?n[1]===t:t.has(n[1]):r(n[2]))},Y=e=>C.test(e)&&!P.test(e),H=()=>!1,K=e=>j.test(e),G=e=>A.test(e),Z=function(e,...t){let r,n,i;let a=function(s){return n=(r=g(t.reduce((e,t)=>t(e),e()))).cache.get,i=r.cache.set,a=o,o(s)};function o(e){let t=n(e);if(t)return t;let a=y(e,r);return i(e,a),a}return function(){return a(b.apply(null,arguments))}}(()=>{let e=w("colors"),t=w("spacing"),r=w("blur"),n=w("brightness"),i=w("borderColor"),a=w("borderRadius"),o=w("borderSpacing"),s=w("borderWidth"),l=w("contrast"),c=w("grayscale"),u=w("hueRotate"),d=w("invert"),p=w("gap"),h=w("gradientColorStops"),m=w("gradientColorStopPositions"),f=w("inset"),g=w("margin"),v=w("opacity"),y=w("padding"),b=w("saturate"),x=w("scale"),E=w("sepia"),D=w("skew"),T=w("space"),S=w("translate"),C=()=>["auto","contain","none"],P=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto",L,t],A=()=>[L,t],B=()=>["",k,M],W=()=>["auto",N,L],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],G=()=>["","0",L],Z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>[N,L];return{cacheSize:500,separator:":",theme:{colors:[U],spacing:[k,M],blur:["none","",O,L],brightness:X(),borderColor:[e],borderRadius:["none","","full",O,L],borderSpacing:A(),borderWidth:B(),contrast:X(),grayscale:G(),hueRotate:X(),invert:G(),gap:A(),gradientColorStops:[e],gradientColorStopPositions:[F,M],inset:j(),margin:j(),opacity:X(),padding:A(),saturate:X(),scale:X(),sepia:G(),skew:X(),space:A(),translate:A()},classGroups:{aspect:[{aspect:["auto","square","video",L]}
vendor: 11,115 bytes, line 1
1],container:["container"],columns:[{columns:[O]}],"break-after":[{"break-after":Z()}],"break-before":[{"break-before":Z()}],"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"],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:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",I,L]}],basis:[{basis:j()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",L]}],grow:[{grow:G()}],shrink:[{shrink:G()}],order:[{order:["first","last","none",I,L]}],"grid-cols":[{"grid-cols":[U]}],"col-start-end":[{col:["auto",{span:["full",I,L]},L]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[U]}],"row-start-end":[{row:["auto",{span:[I,L]},L]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",L]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",L]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",L,t]}],"min-w":[{"min-w":[L,t,"min","max","fit"]}],"max-w":[{"max-w":[L,t,"none","full","min","max","fit","prose",{screen:[O]},O]}],h:[{h:[L,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[L,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[L,t,"auto","min","max","fit"]}],"font-size":[{text:["base",O,M]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",R]}],"font-family":[{font:[U]}],"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:["tighter","tight","normal","wide","wider","widest",L]}],"line-clamp":[{"line-clamp":["none",N,R]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",k,L]}],"list-image":[{"list-image":["none",L]}],"list-style-type":[{list:["none","disc","decimal",L]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",k,M]}],"underline-offset":[{"underline-offset":["auto",k,L]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",L]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",L]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$(),V]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",z]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},q]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[a]}],"rounded-s":[{"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],"rounded-bl":[{"rounded-bl":[a]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:Y()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[k,L]}],"outline-w":[{outline:[k,M]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[k,M]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",O,_]}],"shadow-color":[{shadow:[U]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...H(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",O,L]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[b]}],sepia:[{sepia:[E]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",L]}],duration:[{duration:X()}],ease:[{ease:["linear","in","out","in-out",L]}],delay:[{delay:X()}],animate:[{animate:["none","spin","ping","pulse","bounce",L]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[I,L]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"skew-x":[{"skew-x":[D]}],"skew-y":[{"skew-y":[D]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",L]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",L]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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"]}
1],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",L]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[k,M,R]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"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-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-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"],"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"]}}});function X(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Z((0,n.W)(t))}},3187:function(e,t,r){"use strict";let n;r.r(t),r.d(t,{default:function(){return rM}});var i,a,o,s,l,c,u,d,p=r(5893),h=r(1664),m=r.n(h),f=r(5675),g=r.n(f),v=r(8384),y=r(7294),b=r(2417),x=r(3935),w=r(5360),E=r(6206),D=r(9602),T=r(7342),S=r(8771),C=r(8990),P=r(9115),j=r(1276),A=r(5936),k=r(9698),M="dismissableLayer.update",N=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),R=y.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:o,onDismiss:s,...l}=e,c=y.useContext(N),[d,h]=y.useState(null),m=d?.ownerDocument??globalThis?.document,[,f]=y.useState({}),g=(0,S.e)(t,e=>h(e)),v=Array.from(c.layers),[b]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),x=v.indexOf(b),w=d?v.indexOf(d):-1,T=c.layersWithOutsidePointerEventsDisabled.size>0,C=w>=x,P=function(e,t=globalThis?.document){let r=(0,k.W)(e),n=y.useRef(!1),i=y.useRef(()=>{});return y.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){F("dismissableLayer.pointerDownOutside",r,a,{discrete:!0})},a={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=n,t.addEventListener("click",i.current,{once:!0})):n()}else t.removeEventListener("click",i.current);n.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...c.branches].some(e=>e.contains(t));!C||r||(i?.(e),o?.(e),e.defaultPrevented||s?.())},m),j=function(e,t=globalThis?.document){let r=(0,k.W)(e),n=y.useRef(!1);return y.useEffect(()=>{let e=e=>{e.target&&!n.current&&F("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;[...c.branches].some(e=>e.contains(t))||(a?.(e),o?.(e),e.defaultPrevented||s?.())},m);return!function(e,t=globalThis?.document){let r=(0,k.W)(e);y.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{w!==c.layers.size-1||(n?.(e),!e.defaultPrevented&&s&&(e.preventDefault(),s()))},m),y.useEffect(()=>{if(d)return r&&(0===c.layersWithOutsidePointerEventsDisabled.size&&(u=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(d)),c.layers.add(d),I(),()=>{r&&1===c.layersWithOutsidePointerEventsDisabled.size&&(m.body.style.pointerEvents=u)}},[d,m,r,c]),y.useEffect(()=>()=>
1{d&&(c.layers.delete(d),c.layersWithOutsidePointerEventsDisabled.delete(d),I())},[d,c]),y.useEffect(()=>{let e=()=>f({});return document.addEventListener(M,e),()=>document.removeEventListener(M,e)},[]),(0,p.jsx)(D.WV.div,{...l,ref:g,style:{pointerEvents:T?C?"auto":"none":void 0,...e.style},onFocusCapture:(0,E.M)(e.onFocusCapture,j.onFocusCapture),onBlurCapture:(0,E.M)(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:(0,E.M)(e.onPointerDownCapture,P.onPointerDownCapture)})});function I(){let e=new CustomEvent(M);document.dispatchEvent(e)}function F(e,t,r,{discrete:n}){let i=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?(0,D.jH)(i,a):i.dispatchEvent(a)}R.displayName="DismissableLayer",y.forwardRef((e,t)=>{let r=y.useContext(N),n=y.useRef(null),i=(0,S.e)(t,n);return y.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,p.jsx)(D.WV.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var L=r(7898),O=r(9981),B=y.forwardRef((e,t)=>(0,p.jsx)(D.WV.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));B.displayName="VisuallyHidden";var z="NavigationMenu",[V,W,q]=(0,A.B)(z),[_,U,$]=(0,A.B)(z),[Y,H]=(0,w.b)(z,[q,$]),[K,G]=Y(z),[Z,X]=Y(z),J=y.forwardRef((e,t)=>{let{__scopeNavigationMenu:r,value:n,onValueChange:i,defaultValue:a,delayDuration:o=200,skipDelayDuration:s=300,orientation:l="horizontal",dir:c,...u}=e,[d,h]=y.useState(null),m=(0,S.e)(t,e=>h(e)),f=(0,C.gm)(c),g=y.useRef(0),v=y.useRef(0),b=y.useRef(0),[x,w]=y.useState(!0),[E="",P]=(0,T.T)({prop:n,onChange:e=>{let t=s>0;""!==e?(window.clearTimeout(b.current),t&&w(!1)):(window.clearTimeout(b.current),b.current=window.setTimeout(()=>w(!0),s)),i?.(e)},defaultProp:a}),j=y.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>P(""),150)},[P]),A=y.useCallback(e=>{window.clearTimeout(v.current),P(e)},[P]),k=y.useCallback(e=>{E===e?window.clearTimeout(v.current):g.current=window.setTimeout(()=>{window.clearTimeout(v.current),P(e)},o)},[E,P,o]);return y.useEffect(()=>()=>{window.clearTimeout(g.current),window.clearTimeout(v.current),window.clearTimeout(b.current)},[]),(0,p.jsx)(ee,{scope:r,isRootMenu:!0,value:E,dir:f,orientation:l,rootNavigationMenu:d,onTriggerEnter:e=>{window.clearTimeout(g.current),x?k(e):A(e)},onTriggerLeave:()=>{window.clearTimeout(g.current),j()},onContentEnter:()=>window.clearTimeout(v.current),onContentLeave:j,onItemSelect:e=>{P(t=>t===e?"":e)},onItemDismiss:()=>P(""),children:(0,p.jsx)(D.WV.nav,{"aria-label":"Main","data-orientation":l,dir:f,...u,ref:m})})});J.displayName=z;var Q="NavigationMenuSub";y.forwardRef((e,t)=>{let{__scopeNavigationMenu:r,value:n,onValueChange:i,defaultValue:a,orientation:o="horizontal",...s}=e,l=G(Q,r),[c="",u]=(0,T.T)({prop:n,onChange:i,defaultProp:a});return(0,p.jsx)(ee,{scope:r,isRootMenu:!1,value:c,dir:l.dir,orientation:o,rootNavigationMenu:l.rootNavigationMenu,onTriggerEnter:e=>u(e),onItemSelect:e=>u(e),onItemDismiss:()=>u(""),children:(0,p.jsx)(D.WV.div,{"data-orientation":o,...s,ref:t})})}).displayName=Q;var ee=e=>{let{scope:t,isRootMenu:r,rootNavigationMenu:n,dir:i,orientation:a,children:o,value:s,onItemSelect:l,onItemDismiss:c,onTriggerEnter:u,onTriggerLeave:d,onContentEnter:h,onContentLeave:m}=e,[f,g]=y.useState(null),[v,b]=y.useState(new Map),[x,w]=y.useState(null);return(0,p.jsx)(K,{scope:t,isRootMenu:r,rootNavigationMenu:n,value:s,previousValue:(0,L.D)(s),baseId:(0,j.M)(),dir:i,orientation:a,viewport:f,onViewportChange:g,indicatorTrack:x,onIndicatorTrackChange:w,onTriggerEnter:(0,k.W)(u),onTriggerLeave:(0,k.W)(d),onContentEnter:(0,k.W)(h),onContentLeave:(0,k.W)(m),onItemSelect:(0,k.W)(l),onItemDismiss:(0,k.W)(c),onViewportContentChange:y.useCallback((e,t)=>{b(r=>(r.set(e,t),new Map(r)))},[]),onViewportContentRemove:y.useCallback(e=>{b(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,p.jsx)(V.Provider,{scope:t,children:(0,p.jsx)(Z,{scope:t,items:v,children:o})})})},et="NavigationMenuList",er=y.forwardRef((e,t)=>
1{let{__scopeNavigationMenu:r,...n}=e,i=G(et,r),a=(0,p.jsx)(D.WV.ul,{"data-orientation":i.orientation,...n,ref:t});return(0,p.jsx)(D.WV.div,{style:{position:"relative"},ref:i.onIndicatorTrackChange,children:(0,p.jsx)(V.Slot,{scope:r,children:i.isRootMenu?(0,p.jsx)(ew,{asChild:!0,children:a}):a})})});er.displayName=et;var en="NavigationMenuItem",[ei,ea]=Y(en),eo=y.forwardRef((e,t)=>{let{__scopeNavigationMenu:r,value:n,...i}=e,a=(0,j.M)(),o=y.useRef(null),s=y.useRef(null),l=y.useRef(null),c=y.useRef(()=>{}),u=y.useRef(!1),d=y.useCallback((e="start")=>{if(o.current){c.current();let t=eT(o.current);t.length&&eS("start"===e?t:t.reverse())}},[]),h=y.useCallback(()=>{if(o.current){let e=eT(o.current);e.length&&(c.current=(e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}))}},[]);return(0,p.jsx)(ei,{scope:r,value:n||a||"LEGACY_REACT_AUTO_VALUE",triggerRef:s,contentRef:o,focusProxyRef:l,wasEscapeCloseRef:u,onEntryKeyDown:d,onFocusProxyEnter:d,onRootContentClose:h,onContentFocusOutside:h,children:(0,p.jsx)(D.WV.li,{...i,ref:t})})});eo.displayName=en;var es="NavigationMenuTrigger",el=y.forwardRef((e,t)=>{let{__scopeNavigationMenu:r,disabled:n,...i}=e,a=G(es,e.__scopeNavigationMenu),o=ea(es,e.__scopeNavigationMenu),s=y.useRef(null),l=(0,S.e)(s,o.triggerRef,t),c=ej(a.baseId,o.value),u=eA(a.baseId,o.value),d=y.useRef(!1),h=y.useRef(!1),m=o.value===a.value;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(V.ItemSlot,{scope:r,value:o.value,children:(0,p.jsx)(eD,{asChild:!0,children:(0,p.jsx)(D.WV.button,{id:c,disabled:n,"data-disabled":n?"":void 0,"data-state":eP(m),"aria-expanded":m,"aria-controls":u,...i,ref:l,onPointerEnter:(0,E.M)(e.onPointerEnter,()=>{h.current=!1,o.wasEscapeCloseRef.current=!1}),onPointerMove:(0,E.M)(e.onPointerMove,ek(()=>
1{n||h.current||o.wasEscapeCloseRef.current||d.current||(a.onTriggerEnter(o.value),d.current=!0)})),onPointerLeave:(0,E.M)(e.onPointerLeave,ek(()=>{n||(a.onTriggerLeave(),d.current=!1)})),onClick:(0,E.M)(e.onClick,()=>{a.onItemSelect(o.value),h.current=m}),onKeyDown:(0,E.M)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===a.dir?"ArrowLeft":"ArrowRight"}[a.orientation];m&&e.key===t&&(o.onEntryKeyDown(),e.preventDefault())})})})}),m&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(B,{"aria-hidden":!0,tabIndex:0,ref:o.focusProxyRef,onFocus:e=>{let t=o.contentRef.current,r=e.relatedTarget,n=r===s.current,i=t?.contains(r);(n||!i)&&o.onFocusProxyEnter(n?"start":"end")}}),a.viewport&&(0,p.jsx)("span",{"aria-owns":u})]})]})});el.displayName=es;var ec="navigationMenu.linkSelect";y.forwardRef((e,t)=>{let{__scopeNavigationMenu:r,active:n,onSelect:i,...a}=e;return(0,p.jsx)(eD,{asChild:!0,children:(0,p.jsx)(D.WV.a,{"data-active":n?"":void 0,"aria-current":n?"page":void 0,...a,ref:t,onClick:(0,E.M)(e.onClick,e=>{let t=e.target,r=new CustomEvent(ec,{bubbles:!0,cancelable:!0});if(t.addEventListener(ec,e=>i?.(e),{once:!0}),(0,D.jH)(t,r),!r.defaultPrevented&&!e.metaKey){let e=new CustomEvent(eg,{bubbles:!0,cancelable:!0});(0,D.jH)(t,e)}},{checkForDefaultPrevented:!1})})})}).displayName="NavigationMenuLink";var eu="NavigationMenuIndicator",ed=y.forwardRef((e,t)=>{let{forceMount:r,...n}=e,i=G(eu,e.__scopeNavigationMenu),a=!!i.value;return i.indicatorTrack?x.createPortal((0,p.jsx)(P.z,{present:r||a,children:(0,p.jsx)(ep,{...n,ref:t})}),i.indicatorTrack):null});ed.displayName=eu;var ep=y.forwardRef((e,t)=>{let{__scopeNavigationMenu:r,...n}=e,i=G(eu,r),a=W(r),[o,s]=y.useState(null),[l,c]=y.useState(null),u="horizontal"===i.orientation,d=!!i.value;y.useEffect(()=>{let e=a(),t=e.find(e=>e.value===i.value)?.ref.current;t&&s(t)},[a,i.value]);let h=()=>{o&&c({size:u?o.offsetWidth:o.offsetHeight,offset:u?o.offsetLeft:o.offsetTop})};return eC(o,h),eC(i.indicatorTrack,h),l?(0,p.jsx)(D.WV.div,{"aria-hidden":!0,"data-state":d?"visible":"hidden","data-orientation":i.orientation,...n,ref:t,style:{position:"absolute",...u?{left:0,width:l.size+"px",transform:`translateX(${l.offset}px)`}:{top:0,height:l.size+"px",transform:`translateY(${l.offset}px)`},...n.style}}):null}),eh="NavigationMenuContent",em=y.forwardRef((e,t)=>{let{forceMount:r,...n}=e,i=G(eh,e.__scopeNavigationMenu),a=ea(eh,e.__scopeNavigationMenu),o=(0,S.e)(a.contentRef,t),s=a.value===i.value,l={value:a.value,triggerRef:a.triggerRef,focusProxyRef:a.focusProxyRef,wasEscapeCloseRef:a.wasEscapeCloseRef,onContentFocusOutside:a.onContentFocusOutside,onRootContentClose:a.onRootContentClose,...n};return i.viewport?(0,p.jsx)(ef,{forceMount:r,...l,ref:o}):(0,p.jsx)(P.z,{present:r||s,children:(0,p.jsx)(ev,{"data-state":eP(s),...l,ref:o,onPointerEnter:(0,E.M)(e.onPointerEnter,i.onContentEnter),onPointerLeave:(0,E.M)(e.onPointerLeave,ek(i.onContentLeave)),style:{pointerEvents:!s&&i.isRootMenu?"none":void 0,...l.style}})})});em.displayName=eh;var ef=y.forwardRef((e,t)=>{let{onViewportContentChange:r,onViewportContentRemove:n}=G(eh,e.__scopeNavigationMenu);return(0,O.b)(()=>{r(e.value,{ref:t,...e})},[e,t,r]),(0,O.b)(()=>()=>n(e.value),[e.value,n]),null}),eg="navigationMenu.rootContentDismiss",ev=y.forwardRef((e,t)=>{let{__scopeNavigationMenu:r,value:n,triggerRef:i,focusProxyRef:a,wasEscapeCloseRef:o,onRootContentClose:s,onContentFocusOutside:l,...c}=e,u=G(eh,r),d=y.useRef(null),h=(0,S.e)(d,t),m=ej(u.baseId,n),f=eA(u.baseId,n),g=W(r),v=y.useRef(null),{onItemDismiss:b}=u;y.useEffect(()=>{let e=d.current;if(u.isRootMenu&&e){let t=()=>{b(),s(),e.contains(document.activeElement)&&i.current?.focus()};return e.addEventListener(eg,t),()=>e.removeEventListener(eg,t)}},[u.isRootMenu,e.value,i,b,s]);let x=y.useMemo(()=>{let e=g().map(e=>e.value);"rtl"===u.dir&&e.reverse();let t=e.indexOf(u.value),r=e.indexOf(u.previousValue),i=n===u.value,a=r===e.indexOf(n);if(!i&&!a)return v.current;let o=(()=>{if(t!==r){if(i&&-1!==r)return t>r?"from-end":"from-start";if(a&&-1!==t)return t>r?"to-start":"to-end"}return null})();return v.current=o,o},[u.previousValue,u.value,u.dir,g,n]);return(0,p.jsx)(ew,{asChild:!0,children:(0,p.jsx)(R,{id:f,"aria-labelledby":m,"data-motion":x,"data-orientation":u.orientation,...c,ref:h,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(eg,{bubbles:!0,cancelable:!0});d.current?.dispatchEvent(e)},onFocusOutside:(0,E.M)(e.onFocusOutside,e=>{l();let t=e.target;u.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,E.M)(e.onPointerDownOutside,e=>{let t=e.target,r=g().some(e=>e.ref.current?.contains(t)),n=u.isRootMenu&&u.viewport?.contains(t);(r||n||!u.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,E.M)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=eT(e.currentTarget),r=document.activeElement,n=t.findIndex(e=>e===r);eS(e.shiftKey?t.slice(0,n).reverse():t.slice(n+1,t.length))?e.preventDefault():a.current?.focus()}}),onEscapeKeyDown:(0,E.M)(e.onEscapeKeyDown,e=>{o.current=!0})})})}),ey="NavigationMenuViewport",eb=y.forwardRef((e,t)=>
1{let{forceMount:r,...n}=e,i=!!G(ey,e.__scopeNavigationMenu).value;return(0,p.jsx)(P.z,{present:r||i,children:(0,p.jsx)(ex,{...n,ref:t})})});eb.displayName=ey;var ex=y.forwardRef((e,t)=>{let{__scopeNavigationMenu:r,children:n,...i}=e,a=G(ey,r),o=(0,S.e)(t,a.onViewportChange),s=X(eh,e.__scopeNavigationMenu),[l,c]=y.useState(null),[u,d]=y.useState(null),h=l?l?.width+"px":void 0,m=l?l?.height+"px":void 0,f=!!a.value,g=f?a.value:a.previousValue;return eC(u,()=>{u&&c({width:u.offsetWidth,height:u.offsetHeight})}),(0,p.jsx)(D.WV.div,{"data-state":eP(f),"data-orientation":a.orientation,...i,ref:o,style:{pointerEvents:!f&&a.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":h,"--radix-navigation-menu-viewport-height":m,...i.style},onPointerEnter:(0,E.M)(e.onPointerEnter,a.onContentEnter),onPointerLeave:(0,E.M)(e.onPointerLeave,ek(a.onContentLeave)),children:Array.from(s.items).map(([e,{ref:t,forceMount:r,...n}])=>{let i=g===e;return(0,p.jsx)(P.z,{present:r||i,children:(0,p.jsx)(ev,{...n,ref:(0,S.F)(t,e=>{i&&e&&d(e)})})},e)})})}),ew=y.forwardRef((e,t)=>{let{__scopeNavigationMenu:r,...n}=e,i=G("FocusGroup",r);return(0,p.jsx)(_.Provider,{scope:r,children:(0,p.jsx)(_.Slot,{scope:r,children:(0,p.jsx)(D.WV.div,{dir:i.dir,...n,ref:t})})})}),eE=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],eD=y.forwardRef((e,t)=>{let{__scopeNavigationMenu:r,...n}=e,i=U(r),a=G("FocusGroupItem",r);return(0,p.jsx)(_.ItemSlot,{scope:r,children:(0,p.jsx)(D.WV.button,{...n,ref:t,onKeyDown:(0,E.M)(e.onKeyDown,e=>{if(["Home","End",...eE].includes(e.key)){let t=i().map(e=>e.ref.current);if(["rtl"===a.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),eE.includes(e.key)){let r=t.indexOf(e.currentTarget);t=t.slice(r+1)}setTimeout(()=>eS(t)),e.preventDefault()}})})})});function eT(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function eS(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function eC(e,t){let r=(0,k.W)(t);(0,O.b)(()=>{let t=0;if(e){let n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}function eP(e){return e?"open":"closed"}function ej(e,t){return`${e}-trigger-${t}`}function eA(e,t){return`${e}-content-${t}`}function ek(e){return t=>"mouse"===t.pointerType?e(t):void 0}var eM=r(2003),eN=r(1932),eR=r(7596);let eI=y.forwardRef((e,t)=>{let{className:r,children:n,...i}=e;return(0,p.jsxs)(J,{ref:t,className:(0,eR.cn)("relative z-10 flex max-w-max flex-1 items-center justify-center",r),...i,children:[n,(0,p.jsx)(eO,{})]})});eI.displayName=J.displayName;let eF=y.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,p.jsx)(er,{ref:t,className:(0,eR.cn)("group flex flex-1 list-none items-center justify-center space-x-1",r),...n})});eF.displayName=er.displayName;let eL=(0,eM.j)("group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50");y.forwardRef((e,t)=>{let{className:r,children:n,...i}=e;return(0,p.jsxs)(el,{ref:t,className:(0,eR.cn)(eL(),"group",r),...i,children:[n," ",(0,p.jsx)(eN.Z,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})}).displayName=el.displayName,y.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,p.jsx)(em,{ref:t,className:(0,eR.cn)("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",r),...n})}).displayName=em.displayName;let eO=y.forwardRef((e,t)=>
1{let{className:r,...n}=e;return(0,p.jsx)("div",{className:(0,eR.cn)("absolute left-0 top-full flex justify-center"),children:(0,p.jsx)(eb,{className:(0,eR.cn)("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",r),ref:t,...n})})});eO.displayName=eb.displayName,y.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,p.jsx)(ed,{ref:t,className:(0,eR.cn)("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",r),...n,children:(0,p.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})}).displayName=ed.displayName;var eB="focusScope.autoFocusOnMount",ez="focusScope.autoFocusOnUnmount",eV={bubbles:!1,cancelable:!0},eW=y.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...o}=e,[s,l]=y.useState(null),c=(0,k.W)(i),u=(0,k.W)(a),d=y.useRef(null),h=(0,S.e)(t,e=>l(e)),m=y.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;y.useEffect(()=>{if(n){let e=function(e){if(m.paused||!s)return;let t=e.target;s.contains(t)?d.current=t:eU(d.current,{select:!0})},t=function(e){if(m.paused||!s)return;let t=e.relatedTarget;null===t||s.contains(t)||eU(d.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&eU(s)});return s&&r.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,s,m.paused]),y.useEffect(()=>{if(s){e$.add(m);let e=document.activeElement;if(!s.contains(e)){let t=new CustomEvent(eB,eV);s.addEventListener(eB,c),s.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(eU(n,{select:t}),document.activeElement!==r)return}(eq(s).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&eU(s))}return()=>{s.removeEventListener(eB,c),setTimeout(()=>{let t=new CustomEvent(ez,eV);s.addEventListener(ez,u),s.dispatchEvent(t),t.defaultPrevented||eU(e??document.body,{select:!0}),s.removeEventListener(ez,u),e$.remove(m)},0)}}},[s,c,u,m]);let f=y.useCallback(e=>{if(!r&&!n||m.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[n,a]=function(e){let t=eq(e);return[e_(t,e),e_(t.reverse(),e)]}(t);n&&a?e.shiftKey||i!==a?e.shiftKey&&i===n&&(e.preventDefault(),r&&eU(a,{select:!0})):(e.preventDefault(),r&&eU(n,{select:!0})):i===t&&e.preventDefault()}},[r,n,m.paused]);return(0,p.jsx)(D.WV.div,{tabIndex:-1,...o,ref:h,onKeyDown:f})});function eq(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function e_(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function eU(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}eW.displayName="FocusScope";var e$=(n=[],{add(e){let t=n[0];e!==t&&t?.pause(),(n=eY(n,e)).unshift(e)},remove(e){n=eY(n,e),n[0]?.resume()}});function eY(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var eH=y.forwardRef((e,t)=>{let{container:r,...n}=e,[i,a]=y.useState(!1);(0,O.b)(()=>a(!0),[]);let o=r||i&&globalThis?.document?.body;return o?x.createPortal((0,p.jsx)(D.WV.div,{...n,ref:t}),o):null});eH.displayName="Portal";var eK=0;function eG(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
1style.position="fixed",e.style.pointerEvents="none",e}var eZ=r(7582),eX="right-scroll-bar-position",eJ="width-before-scroll-bar";function eQ(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var e0="undefined"!=typeof window?y.useLayoutEffect:y.useEffect,e1=new WeakMap,e2=(void 0===i&&(i={}),(void 0===a&&(a=function(e){return e}),o=[],s=!1,l={read:function(){if(s)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=a(e,s);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(s=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){s=!0;var t=[];if(o.length){var r=o;o=[],r.forEach(e),t=o}var n=function(){var r=t;t=[],r.forEach(e)},i=function(){return Promise.resolve().then(n)};i(),o={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),o}}}}).options=(0,eZ.pi)({async:!0,ssr:!1},i),l),e5=function(){},e3=y.forwardRef(function(e,t){var r,n,i,a,o=y.useRef(null),s=y.useState({onScrollCapture:e5,onWheelCapture:e5,onTouchMoveCapture:e5}),l=s[0],c=s[1],u=e.forwardProps,d=e.children,p=e.className,h=e.removeScrollBar,m=e.enabled,f=e.shards,g=e.sideCar,v=e.noIsolation,b=e.inert,x=e.allowPinchZoom,w=e.as,E=e.gapMode,D=(0,eZ._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),T=(r=[o,t],n=function(e){return r.forEach(function(t){return eQ(t,e)})},(i=(0,y.useState)(function(){return{value:null,callback:n,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=n,a=i.facade,e0(function(){var e=e1.get(a);if(e){var t=new Set(e),n=new Set(r),i=a.current;t.forEach(function(e){n.has(e)||eQ(e,null)}),n.forEach(function(e){t.has(e)||eQ(e,i)})}e1.set(a,r)},[r]),a),S=(0,eZ.pi)((0,eZ.pi)({},D),l);return y.createElement(y.Fragment,null,m&&y.createElement(g,{sideCar:e2,removeScrollBar:h,shards:f,noIsolation:v,inert:b,setCallbacks:c,allowPinchZoom:!!x,lockRef:o,gapMode:E}),u?y.cloneElement(y.Children.only(d),(0,eZ.pi)((0,eZ.pi)({},S),{ref:T})):y.createElement(void 0===w?"div":w,(0,eZ.pi)({},S,{className:p,ref:T}),d))});e3.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},e3.classNames={fullWidth:eJ,zeroRight:eX};var e4=function(e){var t=e.sideCar,r=(0,eZ._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return y.createElement(n,(0,eZ.pi)({},r))};e4.isSideCarExport=!0;var e9=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=d||r.nc;return t&&e.setAttribute("nonce",t),e}())){var i,a;(i=t).styleSheet?i.styleSheet.cssText=n:i.appendChild(document.createTextNode(n)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},e6=function(){var e=e9();return function(t,r){y.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},e7=function(){var e=e6();return function(t){return e(t.styles,t.dynamic),null}},e8={left:0,top:0,right:0,gap:0},te=function(e){return parseInt(e||"",10)||0},tt=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[te(r),te(n),te(i)]},tr=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return e8;var t=tt(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},tn=e7(),ti="data-scroll-locked",ta=function(e,t,r,n){var i=e.left,a=e.top,o=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(s,"px ").concat(n,";\n  }\n  body[").concat(ti,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(o,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";
1")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(eX," {\n    right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(eJ," {\n    margin-right: ").concat(s,"px ").concat(n,";\n  }\n  \n  .").concat(eX," .").concat(eX," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(eJ," .").concat(eJ," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(ti,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},to=function(){var e=parseInt(document.body.getAttribute(ti)||"0",10);return isFinite(e)?e:0},ts=function(){y.useEffect(function(){return document.body.setAttribute(ti,(to()+1).toString()),function(){var e=to()-1;e<=0?document.body.removeAttribute(ti):document.body.setAttribute(ti,e.toString())}},[])},tl=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=void 0===n?"margin":n;ts();var a=y.useMemo(function(){return tr(i)},[i]);return y.createElement(tn,{styles:ta(a,!t,i,r?"":"!important")})},tc=!1;if("undefined"!=typeof window)try{var tu=Object.defineProperty({},"passive",{get:function(){return tc=!0,!0}});window.addEventListener("test",tu,tu),window.removeEventListener("test",tu,tu)}catch(e){tc=!1}var td=!!tc&&{passive:!1},tp=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===r[t])},th=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),tm(e,n)){var i=tf(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},tm=function(e,t){return"v"===e?tp(t,"overflowY"):tp(t,"overflowX")},tf=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},tg=function(e,t,r,n,i){var a,o=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),s=o*n,l=r.target,c=t.contains(l),u=!1,d=s>0,p=0,h=0;do{var m=tf(e,l),f=m[0],g=m[1]-m[2]-o*f;(f||g)&&tm(e,l)&&(p+=g,h+=f),l instanceof ShadowRoot?l=l.host:l=l.parentNode}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(p)||!i&&s>p)?u=!0:!d&&(i&&1>Math.abs(h)||!i&&-s>h)&&(u=!0),u},tv=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ty=function(e){return[e.deltaX,e.deltaY]},tb=function(e){return e&&"current"in e?e.current:e},tx=0,tw=[],tE=(c=function(e){var t=y.useRef([]),r=y.useRef([0,0]),n=y.useRef(),i=y.useState(tx++)[0],a=y.useState(e7)[0],o=y.useRef(e);y.useEffect(function(){o.current=e},[e]),y.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,eZ.ev)([e.lockRef.current],(e.shards||[]).map(tb),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=y.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!o.current.allowPinchZoom;var i,a=tv(e),s=r.current,l="deltaX"in e?e.deltaX:s[0]-a[0],c="deltaY"in e?e.deltaY:s[1]-a[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=th(d,u);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=th(d,u)),!p)return!1;if(!n.current&&"changedTouches"in e&&(l||c)&&(n.current=i),!i)return!0;var h=n.current||i;return tg(h,t,e,"h"===h?l:c,!0)},[]),l=y.useCallback(function(e){if(tw.length&&tw[tw.length-1]===a){var r="deltaY"in e?ty(e):tv(e),n=t.current.filter(function(t){var n;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(n=t.delta)[0]===r[0]&&n[1]===r[1]})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var i=(o.current.shards||[]).map(tb).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!o.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=y.useCallback(function(e,r,n,i){var a={name:e,delta:r,target:n,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(n)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),u=y.useCallback(function(e){r.current=tv(e),n.current=void 0},[]),d=y.useCallback(function(t){c(t.type,ty(t),t.target,s(t,e.lockRef.current))},[]),p=y.useCallback(function(t){c(t.type,tv(t),t.target,s(t,e.lockRef.current))},[]);y.useEffect(function(){return tw.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",l,td),document.addEventListener("touchmove",l,td),document.addEventListener("touchstart",u,td),function(){tw=tw.filter(function(e){return e!==a}),document.removeEventListener("wheel",l,td),document.removeEventListener("touchmove",l,td),document.removeEventListener("touchstart",u,td)}},[]);var h=e.removeScrollBar,m=e.inert;return y.createElement(y.Fragment,null,m?y.createElement(a,{styles:"\n  .block-interactivity-".concat(i," {pointer-events: none;}\n  .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,h?y.createElement(tl,{gapMode:e.gapMode}):null)},e2.useMedium(c),e4),tD=y.forwardRef(function(e,t){return y.createElement(e3,(0,eZ.pi)({},e,{ref:t,sideCar:tE}))});tD.classNames=e3.classNames;var tT=new WeakMap,tS=new WeakMap,tC={},tP=0,tj=function(e){return e&&(e.host||tj(e.parentNode))},tA=function(e,t,r,n){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var r=tj(e);return r&&t.contains(r)?r:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});tC[r]||(tC[r]=new WeakMap);var a=tC[r],o=[],s=new Set,l=new Set(i),c=function(e){!e||s.has(e)||(s.add(e),c(e.parentNode))};
1i.forEach(c);var u=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(n),i=null!==t&&"false"!==t,l=(tT.get(e)||0)+1,c=(a.get(e)||0)+1;tT.set(e,l),a.set(e,c),o.push(e),1===l&&i&&tS.set(e,!0),1===c&&e.setAttribute(r,"true"),i||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),tP++,function(){o.forEach(function(e){var t=tT.get(e)-1,i=a.get(e)-1;tT.set(e,t),a.set(e,i),t||(tS.has(e)||e.removeAttribute(n),tS.delete(e)),i||e.removeAttribute(r)}),--tP||(tT=new WeakMap,tT=new WeakMap,tS=new WeakMap,tC={})}},tk=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),tA(n,i,r,"aria-hidden")):function(){return null}},tM=r(8426),tN="Dialog",[tR,tI]=(0,w.b)(tN),[tF,tL]=tR(tN),tO=e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:i,onOpenChange:a,modal:o=!0}=e,s=y.useRef(null),l=y.useRef(null),[c=!1,u]=(0,T.T)({prop:n,defaultProp:i,onChange:a});return(0,p.jsx)(tF,{scope:t,triggerRef:s,contentRef:l,contentId:(0,j.M)(),titleId:(0,j.M)(),descriptionId:(0,j.M)(),open:c,onOpenChange:u,onOpenToggle:y.useCallback(()=>u(e=>!e),[u]),modal:o,children:r})};tO.displayName=tN;var tB="DialogTrigger",tz=y.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=tL(tB,r),a=(0,S.e)(t,i.triggerRef);return(0,p.jsx)(D.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":t3(i.open),...n,ref:a,onClick:(0,E.M)(e.onClick,i.onOpenToggle)})});tz.displayName=tB;var tV="DialogPortal",[tW,tq]=tR(tV,{forceMount:void 0}),t_=e=>{let{__scopeDialog:t,forceMount:r,children:n,container:i}=e,a=tL(tV,t);return(0,p.jsx)(tW,{scope:t,forceMount:r,children:y.Children.map(n,e=>(0,p.jsx)(P.z,{present:r||a.open,children:(0,p.jsx)(eH,{asChild:!0,container:i,children:e})}))})};t_.displayName=tV;var tU="DialogOverlay",t$=y.forwardRef((e,t)=>{let r=tq(tU,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,a=tL(tU,e.__scopeDialog);return a.modal?(0,p.jsx)(P.z,{present:n||a.open,children:(0,p.jsx)(tY,{...i,ref:t})}):null});t$.displayName=tU;var tY=y.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=tL(tU,r);return(0,p.jsx)(tD,{as:tM.g7,allowPinchZoom:!0,shards:[i.contentRef],children:(0,p.jsx)(D.WV.div,{"data-state":t3(i.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),tH="DialogContent",tK=y.forwardRef((e,t)=>{let r=tq(tH,e.__scopeDialog),{forceMount:n=r.forceMount,...i}=e,a=tL(tH,e.__scopeDialog);return(0,p.jsx)(P.z,{present:n||a.open,children:a.modal?(0,p.jsx)(tG,{...i,ref:t}):(0,p.jsx)(tZ,{...i,ref:t})})});tK.displayName=tH;var tG=y.forwardRef((e,t)=>{let r=tL(tH,e.__scopeDialog),n=y.useRef(null),i=(0,S.e)(t,r.contentRef,n);return y.useEffect(()=>{let e=n.current;if(e)return tk(e)},[]),(0,p.jsx)(tX,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,E.M)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,E.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,E.M)(e.onFocusOutside,e=>e.preventDefault())})}),tZ=y.forwardRef((e,t)=>{let r=tL(tH,e.__scopeDialog),n=y.useRef(!1),i=y.useRef(!1);return(0,p.jsx)(tX,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"!==t.detail.originalEvent.type||(i.current=!0));let a=t.target;r.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),tX=y.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:a,...o}=e,s=tL(tH,r),l=y.useRef(null),c=(0,S.e)(t,l);return y.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??eG()),document.body.insertAdjacentElement("beforeend",e[1]??eG()),eK++,()=>{1===eK&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e
1=>e.remove()),eK--}},[]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(eW,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,p.jsx)(R,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":t3(s.open),...o,ref:c,onDismiss:()=>s.onOpenChange(!1)})}),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(t7,{titleId:s.titleId}),(0,p.jsx)(t8,{contentRef:l,descriptionId:s.descriptionId})]})]})}),tJ="DialogTitle",tQ=y.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=tL(tJ,r);return(0,p.jsx)(D.WV.h2,{id:i.titleId,...n,ref:t})});tQ.displayName=tJ;var t0="DialogDescription",t1=y.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=tL(t0,r);return(0,p.jsx)(D.WV.p,{id:i.descriptionId,...n,ref:t})});t1.displayName=t0;var t2="DialogClose",t5=y.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,i=tL(t2,r);return(0,p.jsx)(D.WV.button,{type:"button",...n,ref:t,onClick:(0,E.M)(e.onClick,()=>i.onOpenChange(!1))})});function t3(e){return e?"open":"closed"}t5.displayName=t2;var t4="DialogTitleWarning",[t9,t6]=(0,w.k)(t4,{contentName:tH,titleName:tJ,docsSlug:"dialog"}),t7=({titleId:e})=>{let t=t6(t4),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
2
3If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
4
5For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return y.useEffect(()=>{e&&!document.getElementById(e)&&console.error(r)},[r,e]),null},t8=({contentRef:e,descriptionId:t})=>{let r=t6("DialogDescriptionWarning"),n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return y.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&!document.getElementById(t)&&console.warn(n)},[n,e,t]),null},re=r(5297);let rt=y.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,p.jsx)(t$,{className:(0,eR.cn)("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",r),...n,ref:t})});rt.displayName=t$.displayName;let rr=(0,eM.j)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),rn=y.forwardRef((e,t)=>{let{side:r="right",className:n,children:i,...a}=e;return(0,p.jsxs)(t_,{children:[(0,p.jsx)(rt,{}),(0,p.jsxs)(tK,{ref:t,className:(0,eR.cn)(rr({side:r}),n),...a,children:[(0,p.jsxs)(t5,{className:"absolute right-4 top-4 roun
5ded-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-secondary",children:[(0,p.jsx)(re.Z,{className:"h-4 w-4"}),(0,p.jsx)("span",{className:"sr-only",children:"Close"})]}),i]})]})});rn.displayName=tK.displayName;let ri=y.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,p.jsx)(tQ,{ref:t,className:(0,eR.cn)("text-lg font-semibold text-foreground",r),...n})});ri.displayName=tQ.displayName,y.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,p.jsx)(t1,{ref:t,className:(0,eR.cn)("text-sm text-muted-foreground",r),...n})}).displayName=t1.displayName;var ra=r(483);let ro=(0,ra.Z)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);var rs=r(6204);let rl=(0,ra.Z)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);var rc=r(3114),ru=r(1163);function rd(){let{language:e,setLanguage:t}=(0,rs.Z)(),[r,n]=(0,y.useState)(!1),i=(0,y.useRef)(null),a=(0,ru.useRouter)();(0,y.useEffect)(()=>{function e(e){i.current&&!i.current.contains(e.target)&&n(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let o=[{code:"en",label:"EN",fullName:"English"},{code:"es",label:"ES",fullName:"Espa\xf1ol"}],s=o.find(t=>t.code===e),l=e=>{if(!a)return"/";let{asPath:t}=a,r=t.split("?")[0].split("#")[0],n="/es"===r||r.startsWith("/es/");if("es"===e)return n?t:"/"===t?"/es":"/es".concat(t);{let e=t.replace(/^\/es(?:\/|(?=[?#])|$)/,"");return(""===e||e.startsWith("?")||e.startsWith("#"))&&(e="/"+e),e}};return(0,p.jsxs)("div",{className:"relative",ref:i,children:[(0,p.jsxs)("button",{onClick:()=>n(!r),className:"flex items-center gap-2 px-3 py-2 rounded-full border border-[#EEE7DF]/20 hover:border-[#EEE7DF]/40 hover:bg-white/10 transition-all duration-300 group","aria-label":"Change language",children:[(0,p.jsx)(rl,{className:"w-4 h-4 text-[#EEE7DF]/70 group-hover:text-[#EEE7DF] transition-colors"}),(0,p.jsx)("span",{className:"text-sm font-medium text-[#EEE7DF]/90 group-hover:text-[#EEE7DF] transition-colors",children:null==s?void 0:s.label}),(0,p.jsx)(v.E.svg,{animate:{rotate:r?180:0},transition:{duration:.2},className:"w-3 h-3 text-[#EEE7DF]/60",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,p.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),(0,p.jsx)(rc.M,{children:r&&(0,p.jsx)(v.E.div,{initial:{opacity:0,y:-10,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.95},transition:{duration:.2,ease:"easeOut"},className:"absolute top-full right-0 mt-2 bg-[#231811]/95 backdrop-blur-xl border border-[#EEE7DF]/10 rounded-xl shadow-xl overflow-hidden z-50 min-w-[140px]",children:o.map(r=>(0,p.jsxs)(m(),{href:l(r.code),onClick:e=>{e.preventDefault(),t(r.code),n(!1)},className:"w-full flex items-center gap-3 px-4 py-3 text-left transition-all duration-200 ".concat(e===r.code?"bg-white/10 text-white":"hover:bg-white/5 text-[#EEE7DF]/80 hover:text-white"),children:[(0,p.jsx)("span",{className:"text-sm font-semibold",children:r.label}),(0,p.jsx)("span",{className:"text-xs text-white/50",children:r.fullName}),e===r.code&&(0,p.jsx)(v.E.div,{layoutId:"activeLang",className:"ml-auto w-1.5 h-1.5 rounded-full bg-[#EEE7DF]"})]},r.code))})})]})}function rp(){let{language:e,setLanguage:t}=(0,rs.Z)(),r=(0,ru.useRouter)(),n=e=>{if(!r)return"/";let{asPath:t}=r,n=t.split("?")[0].split("#")[0],i="/es"===n||n.startsWith("/es/");if("es"===e)return i?t:"/"===t?"/es":"/es".concat(t);{let e=t.replace(/^\/es(?:\/|(?=[?#])|$)/,"");return(""===e||e.startsWith("?")||e.startsWith("#"))&&(e="/"+e),e}};return(0,p.jsxs)("div",{className:"flex gap-2 w-full",children:[(0,p.jsx)(m(),{href:n("en"),onClick:e=>{e.preventDefault(),t("en")},className:"flex-1 py-3 px-4 rounded-xl text-center font-medium transition-all duration-300 block ".concat("en"===e?"bg-[#6F724E] text-white":"bg-secondary/30 text-muted-foreground hover:bg-secondary/50"),children:"English"}),(0,p.jsx)(m(),{href:n("es"),onClick:e=>{e.preventDefault(),t("es")}
5,className:"flex-1 py-3 px-4 rounded-xl text-center font-medium transition-all duration-300 block ".concat("es"===e?"bg-[#6F724E] text-white":"bg-secondary/30 text-muted-foreground hover:bg-secondary/50"),children:"Espa\xf1ol"})]})}function rh(){let{t:e,localizePath:t}=(0,rs.Z)(),[r,n]=(0,y.useState)(!1),[i,a]=(0,y.useState)(!1);(0,y.useEffect)(()=>{let e=()=>{a(window.scrollY>20)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);let o=[{href:"/about",labelKey:"nav.about"},{href:"/services",labelKey:"nav.services"},{href:"/gallery",labelKey:"nav.gallery"},{href:"/contact",labelKey:"nav.contact"}];return(0,p.jsx)("header",{className:"fixed top-0 w-full z-50 transition-all duration-300 backdrop-blur-md ".concat(i?"shadow-md":"shadow-sm"),style:{backgroundImage:"linear-gradient(rgba(43, 31, 24, 0.42), rgba(43, 31, 24, 0.52)), url('/assets/textures/chocolate5.webp')",backgroundSize:"cover",backgroundPosition:"top",backgroundRepeat:"no-repeat",borderBottom:"1px solid rgba(238, 231, 223, 0.12)"},children:(0,p.jsxs)("div",{className:"container mx-auto px-4 lg:px-6 h-16 flex items-center justify-between",children:[(0,p.jsx)(v.E.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{duration:.6,ease:"easeOut"},children:(0,p.jsxs)(m(),{href:t("/"),className:"flex items-center",children:[(0,p.jsx)(g(),{src:"/assets/iaraLogoAndText.svg",alt:"iara interiors",width:188,height:30,className:"h-9 w-auto hidden sm:block invert brightness-[200%] opacity-90 hover:opacity-100 transition-opacity duration-300"}),(0,p.jsx)(g(),{src:"/assets/iaraLogo.svg",alt:"iara interiors",width:57,height:36,className:"h-9 w-auto block sm:hidden invert brightness-[200%] opacity-90 hover:opacity-100 transition-opacity duration-300"})]})}),(0,p.jsxs)("div",{className:"flex items-center gap-4",children:[(0,p.jsx)(eI,{className:"mr-4",children:(0,p.jsx)(eF,{className:"hidden md:flex gap-8",children:o.map((r,n)=>(0,p.jsx)(eo,{children:(0,p.jsx)(v.E.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},transition:{duration:.5,delay:.1+.05*n,ease:"easeOut"},children:(0,p.jsxs)(m(),{href:t(r.href),className:"relative text-sm font-medium text-[#EEE7DF]/80 hover:text-[#EEE7DF] transition-colors tracking-wide group/navlink py-1",children:[e(r.labelKey),(0,p.jsx)("span",{className:"absolute left-0 bottom-0 w-full h-[1px] bg-[#EEE7DF] scale-x-0 group-hover/navlink:scale-x-100 transition-transform origin-left duration-300"})]})})},r.href))})}),(0,p.jsx)(v.E.div,{className:"hidden md:block",initial:{opacity:0,y:-8},animate:{opacity:1,y:0},transition:{duration:.5,delay:.35,ease:"easeOut"},children:(0,p.jsx)(rd,{})}),(0,p.jsx)(v.E.div,{className:"hidden sm:block",initial:{opacity:0}
5,animate:{opacity:1},transition:{duration:.6,delay:.45,ease:"easeOut"},children:(0,p.jsx)(m(),{href:t("/contact"),className:"inline-flex h-10 items-center justify-center rounded-full px-6 backdrop-blur-md border transition-all duration-500 overflow-hidden relative group bg-white/10 text-[#EEE7DF] border-white/20 hover:bg-white hover:text-[#2B1F18] text-sm font-medium shadow-[0_0_15px_rgba(255,255,255,0.1)] hover:shadow-[0_0_20px_rgba(255,255,255,0.25)]",children:(0,p.jsxs)("span",{className:"relative z-10 flex items-center",children:[e("nav.getStarted"),(0,p.jsx)("span",{className:"absolute -bottom-0.5 left-0 w-0 h-px bg-current transition-all duration-500 group-hover:w-full"})]})})}),(0,p.jsx)(v.E.div,{className:"md:hidden",initial:{opacity:0,y:-8},animate:{opacity:1,y:0},transition:{duration:.5,delay:.15,ease:"easeOut"},children:(0,p.jsxs)(tO,{open:r,onOpenChange:n,children:[(0,p.jsx)(tz,{asChild:!0,children:(0,p.jsxs)(b.z,{variant:"ghost",size:"icon",className:"text-[#EEE7DF] hover:text-white hover:bg-white/10 transition-colors",children:[(0,p.jsx)(ro,{className:"h-6 w-6"}),(0,p.jsx)("span",{className:"sr-only",children:"Toggle menu"})]})}),(0,p.jsx)(rn,{side:"right",className:"w-[300px] sm:w-[400px]",children:(0,p.jsxs)("div",{className:"flex flex-col h-full py-6",children:[(0,p.jsx)(ri,{className:"text-2xl font-mirage mb-10 px-4",children:e("nav.menu")}),(0,p.jsxs)("nav",{className:"flex flex-col gap-6 px-4",children:[o.map(r=>(0,p.jsx)(m(),{href:t(r.href),className:"text-xl font-mirage text-muted-foreground hover:text-primary transition-colors",onClick:()=>n(!1),children:e(r.labelKey)},r.href)),(0,p.jsx)("div",{className:"pt-6",children:(0,p.jsx)(rp,{})}),(0,p.jsx)("div",{className:"pt-8 border-t border-primary/10",children:(0,p.jsx)(b.z,{asChild:!0,className:"w-full h-14 text-lg rounded-full bg-[#6F724E] hover:bg-[#5C5F40] text-white",children:(0,p.jsx)(m(),{href:t("/contact"),onClick:()=>n(!1),children:e("nav.getStarted")})})})]})]})})]})})]})]})})}let rm=0,rf=new Map,rg=e=>{if(rf.has(e))return;let t=setTimeout(()=>{rf.delete(e),rx({type:"REMOVE_TOAST",toastId:e})},1e6);rf.set(e,t)},rv=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:r}=t;return r?rg(r):e.toasts.forEach(e=>{rg(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===r||void 0===r?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},ry=[],rb={toasts:[]};function rx(e){rb=rv(rb,e),ry.forEach(e=>{e(rb)})}function rw(e){let{...t}=e,r=(rm=(rm+1)%Number.MAX_SAFE_INTEGER).toString(),n=()=>rx({type:"DISMISS_TOAST",toastId:r});return rx({type:"ADD_TOAST",toast:{...t,id:r,open:!0,onOpenChange:e=>{e||n()}}}),{id:r,dismiss:n,update:e=>rx({type:"UPDATE_TOAST",toast:{...e,id:r}})}}var rE=r(6509);function rD(){let{t:e,localizePath:t}=(0,rs.Z)(),{toast:r}=function(){let[e,t]=y.useState(rb);return y.useEffect(()=>(ry.push(t),()=>{let e=ry.indexOf(t);e>-1&&ry.splice(e,1)}),[e]),{...e,toast:rw,dismiss:e=>rx({type:"DISMISS_TOAST",toastId:e})}}(),[n,i]=(0,y.useState)(""),[a,o]=(0,y.useState)(!1),s=async t=>{if(t.preventDefault(),!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)){r({title:"Error",description:e("footer.newsletter.invalidEmail"),variant:"destructive"});return}o(!0);try{let t=await fetch("https://api.web3forms.com/submit",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({access_key:"5ef47dba-cbc3-4907-b165-18ba8d37184f",subject:"New Newsletter Subscription - Iara Interiors",from_name:"Iara Interiors website",email:n,message:"A visitor has subscribed to the newsletter with the email: ".concat(n)})});if((await t.json()).success)r({title:e("footer.newsletter.successTitle"),description:e("footer.newsletter.successDesc")}),i("");else throw Error("Web3Forms submission failed")}catch(e){console.error(e),r({title:"Error",description:"Something went wrong. Please try again later.",variant:"destructive"})}finally{o(!1)}};return(0,p.jsx)("footer",{className:"relative border-t border-[#
5EEE7DF]/10 pt-20 pb-10 overflow-hidden",style:{backgroundImage:"linear-gradient(rgba(43, 31, 24, 0.42), rgba(43, 31, 24, 0.52)), url('/assets/textures/chocolate5.webp')",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"},children:(0,p.jsxs)("div",{className:"container mx-auto px-6",children:[(0,p.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-12 gap-12 lg:gap-20",children:[(0,p.jsxs)("div",{className:"md:col-span-4 space-y-8",children:[(0,p.jsx)(m(),{href:t("/"),className:"block",children:(0,p.jsx)(g(),{src:"/iara-logo.svg",alt:"Iara Interiors Logo",width:120,height:40,className:"opacity-90 hover:opacity-100 transition-opacity invert brightness-200"})}),(0,p.jsx)("p",{className:"text-[#EEE7DF]/80 text-lg max-w-sm leading-relaxed font-light",children:e("footer.tagline")}),(0,p.jsxs)("div",{className:"pt-4 flex gap-6",children:[(0,p.jsx)(m(),{href:"https://www.instagram.com/iarainteriors",target:"_blank",rel:"noopener noreferrer",className:"text-[#EEE7DF]/70 hover:text-[#EEE7DF] transition-colors text-xs uppercase tracking-[0.2em] font-light",children:e("footer.instagram")}),(0,p.jsx)(m(),{href:"https://cl.pinterest.com/iarainteriors/",target:"_blank",rel:"noopener noreferrer",className:"text-[#EEE7DF]/70 hover:text-[#EEE7DF] transition-colors text-xs uppercase tracking-[0.2em] font-light",children:e("footer.pinterest")})]})]}),(0,p.jsxs)("div",{className:"md:col-span-8 grid grid-cols-1 sm:grid-cols-3 gap-12",children:[(0,p.jsxs)("div",{className:"space-y-6",children:[(0,p.jsx)("h4",{className:"text-[#EEE7DF]/50 text-[10px] uppercase tracking-[0.4em] font-light",children:e("footer.services")}),(0,p.jsx)("nav",{className:"flex flex-col gap-4",children:[{nameKey:"services.residential.title",href:"/services/residential"},{nameKey:"services.commercial.title",href:"/services/commercial"},{nameKey:"services.edesign.title",href:"/services/e-design"},{nameKey:"services.consultancy.title",href:"/services/consultancy"}].map(r=>(0,p.jsxs)(m(),{href:t(r.href),className:"text-[#EEE7DF]/80 hover:text-[#EEE7DF] transition-all duration-300 font-light group flex items-center gap-2",children:[(0,p.jsx)("span",{className:"h-px w-0 group-hover:w-3 bg-[#EEE7DF]/60 transition-all duration-300"}),e(r.nameKey)]},r.href))})]}),(0,p.jsxs)("div",{className:"space-y-8",children:[(0,p.jsxs)("div",{className:"space-y-4",children:[(0,p.jsx)("h4",{className:"text-[#EEE7DF]/50 text-[10px] uppercase tracking-[0.4em] font-light",children:e("footer.location")}),(0,p.jsxs)("p",{className:"text-[#EEE7DF]/80 font-light leading-relaxed italic text-sm",children:[e("footer.basedIn")," ",(0,p.jsx)("br",{}),e("footer.atacama")," ",(0,p.jsx)("br",{}),e("footer.global")]})]}),(0,p.jsxs)("div",{className:"space-y-4",children:[(0,p.jsx)("h4",{className:"text-[#EEE7DF]/50 text-[10px] uppercase tracking-[0.4em] font-light",children:e("footer.contact")}),(0,p.jsxs)("div",{className:"flex flex-col gap-3 text-[#EEE7DF]/80 font-light text-sm",children:[(0,p.jsx)("a",{href:"mailto:[email protected]",className:"hover:text-[#EEE7DF] transition-colors break-all",children:"[email protected]"}),(0,p.jsx)("a",{href:"tel:+56951596053",className:"hover:text-[#EEE7DF] transition-colors",children:"+56 9 5159 6053"})]})]})]}),(0,p.jsxs)("div",{className:"space-y-6",children:[(0,p.jsx)("h4",{className:"text-[#EEE7DF]/50 text-[10px] uppercase tracking-[0.4em] font-light",children:e("footer.newsletter.title")}),(0,p.jsx)("p",{className:"text-[#EEE7DF]/70 text-sm font-light leading-relaxed",children:e("footer.newsletter.description")}),(0,p.jsxs)("form",{onSubmit:s,className:"relative flex items-center border-b border-[#EEE7DF]/20 focus-within:border-[#EEE7DF]/60 transition-colors py-2",children:[(0,p.jsx)("input",{type:"email",value:n,onChange:e=>i(e.target.value),placeholder:e("footer.newsletter.placeholder"),className:"bg-transparent text-sm text-[#EEE7DF] placeholder-[#EEE7DF]/40 focus:outline-none w-full pr-10 font-light",required:!0,disabled:a}),(0,p.jsx)("button",{type:"submit",disabled:a,className:"absolute right-0 text-[#EEE7DF]/60 hover:text-[#EEE7DF] transition-colors p-1","aria-label":e("footer.newsletter.button"),children:a?(0,p.jsx)("span",{className:"animate-spin block h-4 w-4 border border-[#
5EEE7DF]/60 border-t-transparent rounded-full"}):(0,p.jsx)(rE.Z,{className:"h-4 w-4"})})]})]})]})]}),(0,p.jsxs)("div",{className:"mt-20 pt-10 border-t border-[#EEE7DF]/10 flex flex-col md:flex-row justify-between items-center gap-6",children:[(0,p.jsx)("p",{className:"text-[10px] uppercase tracking-[0.3em] text-[#EEE7DF]/50 font-light",children:e("footer.rights")}),(0,p.jsxs)("div",{className:"flex gap-8",children:[(0,p.jsx)(m(),{href:t("/privacy"),className:"text-[10px] uppercase tracking-[0.3em] text-[#EEE7DF]/50 hover:text-[#EEE7DF]/70 transition-colors",children:e("footer.privacy")}),(0,p.jsx)(m(),{href:t("/terms"),className:"text-[10px] uppercase tracking-[0.3em] text-[#EEE7DF]/50 hover:text-[#EEE7DF]/70 transition-colors",children:e("footer.terms")})]})]})]})})}var rT=r(6667),rS=r(9424),rC=r(2438);let rP=(0,ra.Z)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);function rj(){let e=(0,ru.useRouter)(),{t,localizePath:r}=(0,rs.Z)(),[n,i]=(0,y.useState)(!1),[a,o]=(0,y.useState)(""),[s,l]=(0,y.useState)(!1),[c,u]=(0,y.useState)(!1),[d,h]=(0,y.useState)(!1),[f,g]=(0,y.useState)(null),b=t("promo.discountCode");(0,y.useEffect)(()=>{if(e.pathname.startsWith("/admin"))return;let t=sessionStorage.getItem("iara_promo_dismissed_session");if("true"===sessionStorage.getItem("iara_promo_submitted_session")&&l(!0),"true"===t)return;let r=()=>{let e=window.scrollY,t=document.documentElement.scrollHeight-window.innerHeight;!(t<=0)&&e/t*100>=50&&(i(!0),window.removeEventListener("scroll",r))};return window.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r)}},[e.pathname]);let x=()=>{i(!1),sessionStorage.setItem("iara_promo_dismissed_session","true")},w=async e=>{if(e.preventDefault(),g(null),!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(a)){g(t("promo.invalidEmail"));return}u(!0);try{let e=await fetch("https://api.web3forms.com/submit",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({access_key:"5ef47dba-cbc3-4907-b165-18ba8d37184f",subject:"New Lead Magnet Captured (15% OFF Popup) - Iara Interiors",from_name:"Iara Interiors website",email:a,message:"A lead captured the 15% OFF discount code using email: ".concat(a)})});if((await e.json()).success)l(!0),sessionStorage.setItem("iara_promo_submitted_session","true");else throw Error("Web3Forms submission failed")}catch(e){console.error("Lead submission error:",e),l(!0),sessionStorage.setItem("iara_promo_submitted_session","true")}finally{u(!1)}},E=async()=>{try{await navigator.clipboard.writeText(b),h(!0),setTimeout(()=>{h(!1)},2e3)}catch(e){console.error("Failed to copy discount code: ",e)}};return e.pathname.startsWith("/admin")?null:(0,p.jsx)(rc.M,{children:n&&(0,p.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:[(0,p.jsx)(v.E.div,{initial:{opacity:0}
5,animate:{opacity:1},exit:{opacity:0},onClick:x,className:"absolute inset-0 bg-[#2B221B]/40 backdrop-blur-sm cursor-pointer"}),(0,p.jsxs)(v.E.div,{initial:{opacity:0,scale:.95,y:20},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:20},transition:{type:"spring",duration:.6},className:"relative w-full max-w-lg bg-[#F2EDE4] rounded-3xl border border-[#2B221B]/10 overflow-hidden shadow-2xl p-8 md:p-10 text-center flex flex-col items-center",children:[(0,p.jsx)("button",{onClick:x,className:"absolute top-5 right-5 text-[#2B221B]/60 hover:text-[#2B221B] transition-colors p-1","aria-label":t("promo.close"),children:(0,p.jsx)(re.Z,{className:"h-5 w-5 font-light"})}),(0,p.jsxs)("div",{className:"space-y-6 flex flex-col items-center w-full",children:[(0,p.jsxs)("span",{className:"flex items-center gap-2 px-3.5 py-1 text-[10px] font-medium tracking-[0.25em] uppercase bg-[#C79F5A]/10 text-[#C79F5A] rounded-full",children:[(0,p.jsx)(rT.Z,{className:"w-3 h-3 animate-pulse"}),t("promo.badge")]}),s?(0,p.jsxs)(v.E.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},className:"space-y-6 flex flex-col items-center w-full",children:[(0,p.jsx)("h3",{className:"font-mirage text-3xl md:text-4xl text-[#1A1A1A] leading-tight",children:t("promo.successTitle")}),(0,p.jsx)("p",{className:"text-[#1A1A1A]/70 text-sm font-light leading-relaxed max-w-sm",children:t("promo.successSubtitle")}),(0,p.jsxs)("div",{className:"w-full flex items-center justify-between gap-4 border border-[#C79F5A]/40 bg-white/80 backdrop-blur-sm rounded-2xl p-2 pl-5 max-w-sm shadow-inner",children:[(0,p.jsx)("span",{className:"text-base font-bold tracking-widest text-[#2B221B]",children:b}),(0,p.jsx)("button",{onClick:E,className:"flex items-center gap-2 px-4 py-2.5 rounded-xl text-xs font-semibold uppercase tracking-wider transition-all duration-300 shrink-0 ".concat(d?"bg-[#6F724E] text-white":"bg-[#C79F5A] hover:bg-[#b08b4c] text-white"),children:d?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(rC.Z,{className:"w-3.5 h-3.5"}),t("promo.codeCopied")]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(rP,{className:"w-3.5 h-3.5"}),t("promo.copyCode")]})})]}),(0,p.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 w-full max-w-md mt-2",children:[(0,p.jsxs)(m(),{href:r("/services/e-design"),onClick:x,className:"group flex-1 h-12 rounded-full border border-[#2B221B] hover:bg-[#2B221B] hover:text-[#EEE7DF] transition-all duration-300 text-xs font-semibold tracking-wider uppercase text-[#2B221B] flex items-center justify-center gap-2 hover:shadow-md px-4",children:[(0,p.jsx)("span",{children:t("promo.btnEDesign")}),(0,p.jsx)(rE.Z,{className:"w-3.5 h-3.5 transition-transform duration-300 group-hover:translate-x-1"})]}),(0,p.jsxs)(m(),{href:r("/services/consultancy"),onClick:x,className:"group flex-1 h-12 rounded-full border border-[#2B221B] hover:bg-[#2B221B] hover:text-[#EEE7DF] transition-all duration-300 text-xs font-semibold tracking-wider uppercase text-[#2B221B] flex items-center justify-center gap-2 hover:shadow-md px-4",children:[(0,p.jsx)("span",{children:t("promo.btnConsultancy")}),(0,p.jsx)(rE.Z,{className:"w-3.5 h-3.5 transition-transform duration-300 group-hover:translate-x-1"})]})]})]},"code-unlocked"):(0,p.jsxs)(v.E.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},className:"space-y-6 flex flex-col items-center w-full",children:[(0,p.jsx)("h3",{className:"font-mirage text-3xl md:text-4xl text-[#1A1A1A] leading-tight",children:t("promo.title")}),(0,p.jsxs)("div",{className:"relative py-1 flex flex-col items-center",children:[(0,p.jsx)("span",{className:"font-mirage text-5xl md:text-6xl text-[#C79F5A] font-light italic tracking-tight",children:"15% OFF"}),(0,p.jsx)("span",{className:"text-[10px] uppercase tracking-[0.3em] text-[#1A1A1A]/40 mt-1 font-medium",children:"E-Design & Consultancy"})]}),(0,p.jsx)("p",{className:"text-[#1A1A1A]/70 text-sm md:text-base font-light leading-relaxed max-w-sm",children:t("promo.subtitle")}),(0,p.jsxs)("form",{onSubmit:w,className:"w-full max-w-sm space-y-3",children:[(0,p.jsxs)("div",{className:"relative flex items-center",children:[(0,p.jsx)(rS.Z,{className:"absolute left-4 w-4 h-4 text-[#2B221B]/40"}),(0,p.jsx)("input",{type:"email",value:a,onChange:e=>o(e.target.value),placeholder:t("promo.emailPlaceholder"),className:"w-full h-12 pl-11 pr-4 bg-white/60 backdrop-blur-sm border border-[#2B221B]/15 rounded-2xl text-sm text-[#2B221B] placeholder-[#2B221B]/40 focu
5s:outline-none focus:border-[#C79F5A] transition-colors",required:!0,disabled:c})]}),f&&(0,p.jsx)("p",{className:"text-xs text-red-600 font-light text-left pl-2",children:f}),(0,p.jsx)("button",{type:"submit",disabled:c,className:"w-full h-12 rounded-2xl bg-[#2B221B] hover:bg-[#403329] text-[#EEE7DF] text-xs font-semibold uppercase tracking-wider transition-all duration-300 flex items-center justify-center gap-2 shadow-md hover:shadow-lg disabled:opacity-70",children:c?(0,p.jsx)("span",{className:"animate-spin block h-4 w-4 border-2 border-white/60 border-t-transparent rounded-full"}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("span",{children:t("promo.submitBtn")}),(0,p.jsx)(rE.Z,{className:"w-4 h-4"})]})})]})]},"lead-capture")]})]})]})})}function rA(e){let{children:t}=e;return(0,p.jsxs)("div",{className:"flex flex-col relative bg-transparent overflow-x-hidden bg-background",children:[(0,p.jsxs)("div",{className:"flex-1 flex flex-col min-h-screen bg-background relative z-10 w-full shadow-2xl",children:[(0,p.jsx)(rh,{}),(0,p.jsx)("main",{className:"flex-1 pt-16",children:t})]}),(0,p.jsx)(rD,{}),(0,p.jsx)(rj,{})]})}var rk=r(4712);function rM(e){let{Component:t,pageProps:r}=e;return(0,p.jsx)(rs.i,{initialLang:null==r?void 0:r.lang,children:(0,p.jsxs)(rA,{children:[(0,p.jsx)(t,{...r}),(0,p.jsx)(rk.x7,{position:"top-right",richColors:!0})]})})}r(1784)},1784:function(){},5675:function(e,t,r){e.exports=r(5666)},1664:function(e,t,r){e.exports=r(9577)},1163:function(e,t,r){e.exports=r(9090)},6206:function(e,t,r){"use strict";function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}r.d(t,{M:function(){return n}})},5936:function(e,t,r){"use strict";r.d(t,{B:function(){return l}});var n=r(7294),i=r(5360),a=r(8771),o=r(8426),s=r(5893);function l(e){let t=e+"CollectionProvider",[r,l]=(0,i.b)(t),[c,u]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:t,children:r}=e,i=n.useRef(null),a=n.useRef(new Map).current;return(0,s.jsx)(c,{scope:t,itemMap:a,collectionRef:i,children:r})};d.displayName=t;let p=e+"CollectionSlot",h=n.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=u(p,r),l=(0,a.e)(t,i.collectionRef);return(0,s.jsx)(o.g7,{ref:l,children:n})});h.displayName=p;let m=e+"CollectionItemSlot",f="data-radix-collection-item",g=n.forwardRef((e,t)=>{let{scope:r,children:i,...l}=e,c=n.useRef(null),d=(0,a.e)(t,c),p=u(m,r);return n.useEffect(()=>(p.itemMap.set(c,{ref:c,...l}),()=>void p.itemMap.delete(c))),(0,s.jsx)(o.g7,{[f]:"",ref:d,children:i})});return g.displayName=m,[{Provider:d,Slot:h,ItemSlot:g},function(t){let r=u(e+"CollectionConsumer",t);return n.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${f}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},l]}},8771:function(e,t,r){"use strict";r.d(t,{F:function(){return a},e:function(){return o}});var n=r(7294);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():i(e[t],null)}}}}function o(...e){return n.useCallback(a(...e),e)}},5360:function(e,t,r){"use strict";r.d(t,{b:function(){return o},k:function(){return a}});var n=r(7294),i=r(5893);function a(e,t){let r=n.createContext(t),a=e=>{let{children:t,...a}=e,o=n.useMemo(()=>a,Object.values(a));return(0,i.jsx)(r.Provider,{value:o,children:t})};return a.displayName=e+"Provider",[a,function(i){let a=n.useContext(r);if(a)return a;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function o(e,t=[]){let r=[],a=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return a.scopeName=e,[function(t,a){let o=n.createContext(a),s=r.length;r=[...r,a];let l=t=>{let{scope:r,children:a,...l}=t,c=r?.[e]?.[s]||o,u=n.useMemo(()=>l,Object.values(l));return(0,i.jsx)(c.Provider,{value:u,children:a})};return l.displayName=t+"Provider",[l,function(r,i){let l=i?.[e]?.[s]||o,c=n.useContext(l);if(c)return c;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(a,...t)]}},8990:function(e,t,r){"use strict";r.d(t,{gm:function(){return a}});var n=r(7294);r(5893);var i=n.createContext(void 0);function a(e){let t=n.useContext(i);return e||t||"ltr"}},1276:function(e,t,r){"use strict";r.d(t,{M:function(){return l}});var n,i=r(7294),a=r(9981),o=(n||(n=r.t(i,2)))["useId".toString()]||(()=>void 0),s=0;function l(e){let[t,r]=i.useState(o());return(0,a.b)(()=>{e||r(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},9115:function(e,t,r){"use strict";r.d(t,{z:function(){return o}});var n=r(7294),i=r(8771),a=r(9981),o=e=>{let t,r;let{present:o,children:l}=e,c=function(e){var t,r;let[i,o]=n.useState(),l=n.useRef({}),c=n.useRef(e),u=n.useRef("none"),[d,p]=(t=e?"mounted":"unmounted",r={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},n.useReducer((e,t)=>
5r[e][t]??e,t));return n.useEffect(()=>{let e=s(l.current);u.current="mounted"===d?e:"none"},[d]),(0,a.b)(()=>{let t=l.current,r=c.current;if(r!==e){let n=u.current,i=s(t);e?p("MOUNT"):"none"===i||t?.display==="none"?p("UNMOUNT"):r&&n!==i?p("ANIMATION_OUT"):p("UNMOUNT"),c.current=e}},[e,p]),(0,a.b)(()=>{if(i){let e;let t=i.ownerDocument.defaultView??window,r=r=>{let n=s(l.current).includes(r.animationName);if(r.target===i&&n&&(p("ANIMATION_END"),!c.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(u.current=s(l.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}p("ANIMATION_END")},[i,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:n.useCallback(e=>{e&&(l.current=getComputedStyle(e)),o(e)},[])}}(o),u="function"==typeof l?l({present:c.isPresent}):n.Children.only(l),d=(0,i.e)(c.ref,(t=Object.getOwnPropertyDescriptor(u.props,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?u.ref:(t=Object.getOwnPropertyDescriptor(u,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning?u.props.ref:u.props.ref||u.ref);return"function"==typeof l||c.isPresent?n.cloneElement(u,{ref:d}):null};function s(e){return e?.animationName||"none"}o.displayName="Presence"},9602:function(e,t,r){"use strict";r.d(t,{WV:function(){return s},jH:function(){return l}});var n=r(7294),i=r(3935),a=r(8426),o=r(5893),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=n.forwardRef((e,r)=>{let{asChild:n,...i}=e,s=n?a.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(s,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function l(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},8426:function(e,t,r){"use strict";r.d(t,{g7:function(){return o}});var n=r(7294),i=r(8771),a=r(5893),o=n.forwardRef((e,t)=>{let{children:r,...i}=e,o=n.Children.toArray(r),l=o.find(c);if(l){let e=l.props.children,r=o.map(t=>t!==l?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,a.jsx)(s,{...i,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,a.jsx)(s,{...i,ref:t,children:r})});o.displayName="Slot";var s=n.forwardRef((e,t)=>{let{children:r,...a}=e;if(n.isValidElement(r)){let e,o;let s=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref;return n.cloneElement(r,{...function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{a(...e),i(...e)}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(a,r.props),ref:t?(0,i.F)(t,s):s})}return n.Children.count(r)>1?n.Children.only(null):null});s.displayName="SlotClone";var l=({children:e})=>(0,a.jsx)(a.Fragment,{children:e});function c(e){return n.isValidElement(e)&&e.type===l}},9698:function(e,t,r){"use strict";r.d(t,{W:function(){return i}});var n=r(7294);function i(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},7342:function(e,t,r){"use strict";r.d(t,{T:function(){return a}});var n=r(7294),i=r(9698);function a({prop:e,defaultProp:t,onChange:r=()=>{}}){let[a,o]=function({defaultProp:e,onChange:t}){let r=n.useState(e),[a]=r,o=n.useRef(a),s=(0,i.W)(t);return n.useEffect(()=>{o.current!==a&&(s(a),o.current=a)},[a,o,s]),r}({defaultProp:t,onChange:r}),s=void 0!==e,l=s?e:a,c=(0,i.W)(r);return[l,n.useCallback(t=>{if(s){let r="function"==typeof t?t(e):t;r!==e&&c(r)}else o(t)},[s,e,o,c])]}},9981:function(e,t,r){"use strict";r.d(t,{b:function(){return i}});var n=r(7294),i=globalThis?.document?n.useLayoutEffect:()=>{}},7898:function(e,t,r){"use strict";r.d(t,{D:function(){return i}});var n=r(7294);function i(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},2003:function(e,t,r){"use strict";r.d(t,{j:function(){return o}});var n=r(512);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=n.W,o=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return a(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:o,defaultVariants:s}=t,l=Object.keys(o).map(e=>{let t=null==r?void 0:r[e],n=null==s?void 0:s[e];if(null===t)return null;let a=i(t)||i(n);return o[e][a]}),c=r&&Object.entries(r).reduce((e,t)=>
5{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return a(e,l,null==t?void 0:null===(n=t.compoundVariants)||void 0===n?void 0:n.reduce((e,t)=>{let{class:r,className:n,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...s,...c}[t]):({...s,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}},512:function(e,t,r){"use strict";function n(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var a=t.length;for(r=0;r<a;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(n&&(n+=" "),n+=t);return n}r.d(t,{W:function(){return n}})},3114:function(e,t,r){"use strict";r.d(t,{M:function(){return v}});var n=r(5893),i=r(7294),a=r(5364),o=r(6681),s=r(240),l=r(6014);class c extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,r=e instanceof HTMLElement&&e.offsetWidth||0,n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft,n.right=r-n.width-n.left}return null}componentDidUpdate(){}render(){return this.props.children}}function u({children:e,isPresent:t,anchorX:r}){let a=(0,i.useId)(),o=(0,i.useRef)(null),s=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:u}=(0,i.useContext)(l._);return(0,i.useInsertionEffect)(()=>{let{width:e,height:n,top:i,left:l,right:c}=s.current;if(t||!o.current||!e||!n)return;let d="left"===r?`left: ${l}`:`right: ${c}`;o.current.dataset.motionPopId=a;let p=document.createElement("style");return u&&(p.nonce=u),document.head.appendChild(p),p.sheet&&p.sheet.insertRule(`
6          [data-motion-pop-id="${a}"] {
7            position: absolute !important;
8            width: ${e}px !important;
9            height: ${n}px !important;
10            ${d}px !important;
11            top: ${i}px !important;
12          }
13        `),()=>{document.head.removeChild(p)}},[t]),(0,n.jsx)(c,{isPresent:t,childRef:o,sizeRef:s,children:i.cloneElement(e,{ref:o})})}let d=({children:e,initial:t,isPresent:r,onExitComplete:a,custom:l,presenceAffectsLayout:c,mode:d,anchorX:h})=>{let m=(0,o.h)(p),f=(0,i.useId)(),g=(0,i.useCallback)(e=>
13{for(let t of(m.set(e,!0),m.values()))if(!t)return;a&&a()},[m,a]),v=(0,i.useMemo)(()=>({id:f,initial:t,isPresent:r,custom:l,onExitComplete:g,register:e=>(m.set(e,!1),()=>m.delete(e))}),c?[Math.random(),g]:[r,g]);return(0,i.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[r]),i.useEffect(()=>{r||m.size||!a||a()},[r]),"popLayout"===d&&(e=(0,n.jsx)(u,{isPresent:r,anchorX:h,children:e})),(0,n.jsx)(s.O.Provider,{value:v,children:e})};function p(){return new Map}var h=r(5947);let m=e=>e.key||"";function f(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}var g=r(8868);let v=({children:e,custom:t,initial:r=!0,onExitComplete:s,presenceAffectsLayout:l=!0,mode:c="sync",propagate:u=!1,anchorX:p="left"})=>{let[v,y]=(0,h.oO)(u),b=(0,i.useMemo)(()=>f(e),[e]),x=u&&!v?[]:b.map(m),w=(0,i.useRef)(!0),E=(0,i.useRef)(b),D=(0,o.h)(()=>new Map),[T,S]=(0,i.useState)(b),[C,P]=(0,i.useState)(b);(0,g.L)(()=>{w.current=!1,E.current=b;for(let e=0;e<C.length;e++){let t=m(C[e]);x.includes(t)?D.delete(t):!0!==D.get(t)&&D.set(t,!1)}},[C,x.length,x.join("-")]);let j=[];if(b!==T){let e=[...b];for(let t=0;t<C.length;t++){let r=C[t],n=m(r);x.includes(n)||(e.splice(t,0,r),j.push(r))}"wait"===c&&j.length&&(e=j),P(f(e)),S(b);return}let{forceRender:A}=(0,i.useContext)(a.p);return(0,n.jsx)(n.Fragment,{children:C.map(e=>{let i=m(e),a=(!u||!!v)&&(b===C||x.includes(i));return(0,n.jsx)(d,{isPresent:a,initial:(!w.current||!!r)&&void 0,custom:a?void 0:t,presenceAffectsLayout:l,mode:c,onExitComplete:a?void 0:()=>{if(!D.has(i))return;D.set(i,!0);let e=!0;D.forEach(t=>{t||(e=!1)}),e&&(null==A||A(),P(E.current),u&&(null==y||y()),s&&s())},anchorX:p,children:e},i)})})}},5947:function(e,t,r){"use strict";r.d(t,{oO:function(){return a}});var n=r(7294),i=r(240);function a(e=!0){let t=(0,n.useContext)(i.O);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:a,register:o}=t,s=(0,n.useId)();(0,n.useEffect)(()=>{e&&o(s)},[e]);let l=(0,n.useCallback)(()=>e&&a&&a(s),[s,a,e]);return!r&&a?[!1,l]:[!0]}},5364:function(e,t,r){"use strict";r.d(t,{p:function(){return n}});let n=(0,r(7294).createContext)({})},6014:function(e,t,r){"use strict";r.d(t,{_:function(){return n}});let n=(0,r(7294).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},240:function(e,t,r){"use strict";r.d(t,{O:function(){return n}});let n=(0,r(7294).createContext)(null)},9727:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(2081);let i=["read","resolveKeyframes","update","preRender","render","postRender"];function a(e,t){let r=!1,a=!0,o={delta:0,timestamp:0,isProcessing:!1},s=()=>r=!0,l=i.reduce((e,t)=>(e[t]=function(e){let t=new Set,r=new Set,n=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(l.schedule(t),e()),t(o)}let l={schedule:(e,i=!1,o=!1)=>{let s=o&&n?t:r;return i&&a.add(e),s.has(e)||s.add(e),e},cancel:e=>{r.delete(e),a.delete(e)},process:e=>{if(o=e,n){i=!0;return}n=!0,[t,r]=[r,t],t.forEach(s),t.clear(),n=!1,i&&(i=!1,l.process(e))}};return l}(s),e),{}),{read:c,resolveKeyframes:u,update:d,preRender:p,render:h,postRender:m}=l,f=()=>{let i=n.c.useManualTiming?o.timestamp:performance.now();r=!1,o.delta=a?1e3/60:Math.max(Math.min(i-o.timestamp,40),1),o.timestamp=i,o.isProcessing=!0,c.process(o),u.process(o),d.process(o),p.process(o),h.process(o),m.process(o),o.isProcessing=!1,r&&t&&(a=!1,e(f))},g=()=>{r=!0,a=!0,o.isProcessing||e(f)};return{schedule:i.reduce((e,t)=>{let n=l[t];return e[t]=(e,t=!1,i=!1)=>(r||g(),n.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<i.length;t++)l[i[t]].cancel(e)},state:o,steps:l}}},6166:function(e,t,r){"use strict";r.d(t,{Pn:function(){return a},Wi:function(){return i},frameData:function(){return o},yL:function(){return s}});var n=r(7726);let{schedule:i,cancel:a,state:o,steps:s}=(0,r(9727).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},1117:function(e,t,r){"use strict";let n;r.d(t,{X:function(){return s}});var i=r(2081),a=r(6166);function o(){n=void 0}let s={now:()=>(void 0===n&&s.set(a.frameData.isProcessing||i.c.useManualTiming?a.frameData.timestamp:performance.now()),n),set
13:e=>{n=e,queueMicrotask(o)}}},8384:function(e,t,r){"use strict";function n(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}r.d(t,{E:function(){return io}});let i=e=>Array.isArray(e);function a(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function o(e){return"string"==typeof e||Array.isArray(e)}function s(e){let t=[{},{}];return null==e||e.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function l(e,t,r,n){if("function"==typeof t){let[i,a]=s(n);t=t(void 0!==r?r:e.custom,i,a)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,a]=s(n);t=t(void 0!==r?r:e.custom,i,a)}return t}function c(e,t,r){let n=e.getProps();return l(n,t,void 0!==r?r:n.custom,e)}let u=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],d=["initial",...u];var p,h,m,f=r(2777);let g=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],v=new Set(g),y=new Set(["width","height","top","left","right","bottom",...g]),b=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),x=e=>i(e)?e[e.length-1]||0:e;var w=r(3234);let E=e=>!!(e&&e.getVelocity);function D(e,t){let r=e.getValue("willChange");if(E(r)&&r.add)return r.add(t)}let T=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),S="data-"+T("framerAppearId");var C=r(4400),P=r(6166),j=r(2081);let A={current:!1};var k=r(7726);let M=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function N(e,t,r,n){if(e===t&&r===n)return k.Z;let i=t=>(function(e,t,r,n,i){let a,o;let s=0;do(a=M(o=t+(r-t)/2,n,i)-e)>0?r=o:t=o;while(Math.abs(a)>1e-7&&++s<12);return o})(t,0,1,e,r);return e=>0===e||1===e?e:M(i(e),t,n)}let R=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,I=e=>t=>1-e(1-t),F=N(.33,1.53,.69,.99),L=I(F),O=R(L),B=e=>(e*=2)<1?.5*L(e):.5*(2-Math.pow(2,-10*(e-1))),z=e=>1-Math.sin(Math.acos(e)),V=I(z),W=R(z),q=e=>/^0[^.\s]+$/u.test(e);var _=r(6737),U=r(8054);let $=new Set(["brightness","contrast","saturate","opacity"]);function Y(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(U.K)||[];if(!n)return e;let i=r.replace(n,""),a=$.has(t)?1:0;return n!==r&&(a*=100),t+"("+a+i+")"}let H=/\b([a-z-]*)\(.*?\)/gu,K={..._.P,getAnimatableNone:e=>{let t=e.match(H);return t?t.map(Y).join(" "):e}};var G=r(5385),Z=r(1649),X=r(6190);let J={borderWidth:X.px,borderTopWidth:X.px,borderRightWidth:X.px,borderBottomWidth:X.px,borderLeftWidth:X.px,borderRadius:X.px,radius:X.px,borderTopLeftRadius:X.px,borderTopRightRadius:X.px,borderBottomRightRadius:X.px,borderBottomLeftRadius:X.px,width:X.px,maxWidth:X.px,height:X.px,maxHeight:X.px,top:X.px,right:X.px,bottom:X.px,left:X.px,padding:X.px,paddingTop:X.px,paddingRight:X.px,paddingBottom:X.px,paddingLeft:X.px,margin:X.px,marginTop:X.px,marginRight:X.px,marginBottom:X.px,marginLeft:X.px,backgroundPositionX:X.px,backgroundPositionY:X.px},Q={rotate:X.RW,rotateX:X.RW,rotateY:X.RW,rotateZ:X.RW,scale:Z.bA,scaleX:Z.bA,scaleY:Z.bA,scaleZ:Z.bA,skew:X.RW,skewX:X.RW,skewY:X.RW,distance:X.px,translateX:X.px,translateY:X.px,translateZ:X.px,x:X.px,y:X.px,z:X.px,perspective:X.px,transformPerspective:X.px,opacity:Z.Fq,originX:X.$C,originY:X.$C,originZ:X.px},ee={...Z.Rx,transform:Math.round},et={...J,...Q,zIndex:ee,size:X.px,fillOpacity:Z.Fq,strokeOpacity:Z.Fq,numOctaves:ee},er={...et,color:G.$,backgroundColor:G.$,outlineColor:G.$,fill:G.$,stroke:G.$,borderColor:G.$,borderTopColor:G.$,borderRightColor:G.$,borderBottomColor:G.$,borderLeftColor:G.$,filter:K,WebkitFilter:K},en=e=>er[e];function ei(e,t){let r=en(e);return r!==K&&(r=_.P),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let ea=new Set(["auto","none","0"]),eo=e=>e===Z.Rx||e===X.px,es=(e,t)=>parseFloat(e.split(", ")[t]),el=(e,t)=>(r,{transform:n})=>{if("none"===n||!n)return 0;let i=n.match(/^matrix3d\((.+)\)$/u);if(i)return es(i[1],t);{let t=n.match(/^matrix\((.+)\)$/u);return t?es(t[1],e):0}},ec=new Set(["x","y","z"]),eu=g.filter(e=>!ec.has(e)),ed={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:el(4,13),y:el(5,14)};ed.translateX=ed.x,ed.translateY=ed.y;let ep=new Set,eh=!1,em=!1;function ef(){if(em){let e=Array.from(ep).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;
13t.forEach(e=>{let t=function(e){let t=[];return eu.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t}(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{var n;null===(n=e.getValue(t))||void 0===n||n.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}em=!1,eh=!1,ep.forEach(e=>e.complete()),ep.clear()}function eg(){ep.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(em=!0)})}class ev{constructor(e,t,r,n,i,a=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=i,this.isAsync=a}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ep.add(this),eh||(eh=!0,P.Wi.read(eg),P.Wi.resolveKeyframes(ef))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;for(let i=0;i<e.length;i++)if(null===e[i]){if(0===i){let i=null==n?void 0:n.get(),a=e[e.length-1];if(void 0!==i)e[0]=i;else if(r&&t){let n=r.readValue(t,a);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=a),n&&void 0===i&&n.set(e[0])}else e[i]=e[i-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ep.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ep.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}var ey=r(5386);let eb=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);var ex=r(7630);let ew=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,eE=e=>t=>t.test(e),eD=[Z.Rx,X.px,X.aQ,X.RW,X.vw,X.vh,{test:e=>"auto"===e,parse:e=>e}],eT=e=>eD.find(eE(e));class eS extends ev{constructor(e,t,r,n,i){super(e,t,r,n,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&(n=n.trim(),(0,ex.t)(n))){let i=function e(t,r,n=1){(0,ey.k)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,a]=function(e){let t=ew.exec(e);if(!t)return[,];let[,r,n,i]=t;return[`--${null!=r?r:n}`,i]}(t);if(!i)return;let o=window.getComputedStyle(r).getPropertyValue(i);if(o){let e=o.trim();return eb(e)?parseFloat(e):e}return(0,ex.t)(a)?e(a,r,n+1):a}(n,t.current);void 0!==i&&(e[r]=i),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!y.has(r)||2!==e.length)return;let[n,i]=e,a=eT(n),o=eT(i);if(a!==o){if(eo(a)&&eo(o))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++){var n;("number"==typeof(n=e[t])?0===n:null===n||"none"===n||"0"===n||q(n))&&r.push(t)}r.length&&function(e,t,r){let n,i=0;for(;i<e.length&&!n;){let t=e[i];"string"==typeof t&&!ea.has(t)&&(0,_.V)(t).values.length&&(n=e[i]),i++}if(n&&r)for(let i of t)e[i]=ei(r,n)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ed[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){var e;let{element:t,name:r,unresolvedKeyframes:n}=this;if(!t||!t.current)return;let i=t.getValue(r);i&&i.jump(this.measuredOrigin,!1);let a=n.length-1,o=n[a];n[a]=ed[r](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEac
13h(([e,r])=>{t.getValue(e).set(r)}),this.resolveNoneKeyframes()}}var eC=r(1117);let eP=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(_.P.test(e)||"0"===e)&&!e.startsWith("url(")),ej=e=>null!==e;function eA(e,{repeat:t,repeatType:r="loop"},n){let i=e.filter(ej),a=t&&"loop"!==r&&t%2==1?0:i.length-1;return a&&void 0!==n?n:i[a]}class ek{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:a="loop",...o}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=eC.X.now(),this.options={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:i,repeatType:a,...o},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(eg(),ef()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=eC.X.now(),this.hasAttemptedResolve=!0;let{name:r,type:n,velocity:i,delay:a,onComplete:o,onUpdate:s,isGenerator:l}=this.options;if(!l&&!function(e,t,r,n){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let a=e[e.length-1],o=eP(i,t),s=eP(a,t);return(0,ey.K)(o===s,`You are trying to animate ${t} from "${i}" to "${a}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${a} via the \`style\` property.`),!!o&&!!s&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||("spring"===r||(0,f.xD)(r))&&n)}(e,r,n,i)){if(A.current||!a){s&&s(eA(e,this.options,t)),o&&o(),this.resolveFinishedPromise();return}this.options.duration=0}let c=this.initPlayback(e,t);!1!==c&&(this._resolved={keyframes:e,finalKeyframe:t,...c},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}var eM=r(4169),eN=r(9976),eR=r(3624),eI=r(3038);function eF(e,t,r){let n=Math.max(t-5,0);return(0,eI.R)(r-e(n),t-n)}let eL={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};function eO(e,t){return e*Math.sqrt(1-t*t)}let eB=["duration","bounce"],ez=["stiffness","damping","mass"];function eV(e,t){return t.some(t=>void 0!==e[t])}function eW(e=eL.visualDuration,t=eL.bounce){let r;let n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:i,restDelta:a}=n,o=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],l={done:!1,value:o},{stiffness:c,damping:u,mass:d,duration:p,velocity:h,isResolvedFromDuration:m}=function(e){let t={velocity:eL.velocity,stiffness:eL.stiffness,damping:eL.damping,mass:eL.mass,isResolvedFromDuration:!1,...e};if(!eV(e,ez)&&eV(e,eB)){if(e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),n=r*r,i=2*(0,eM.u)(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:eL.mass,stiffness:n,damping:i}}else{let r=function({duration:e=eL.duration,bounce:t=eL.bounce,velocity:r=eL.velocity,mass:n=eL.mass}){let i,a;(0,ey.K)(e<=(0,C.w)(eL.maxDuration),"Spring duration must be 10 seconds or less");let o=1-t;o=(0,eM.u)(eL.minDamping,eL.maxDamping,o),e=(0,eM.u)(eL.minDuration,eL.maxDuration,(0,C.X)(e)),o<1?(i=t=>{let n=t*o,i=n*e;return .001-(n-r)/eO(t,o)*Math.exp(-i)},a=t=>{let n=t*o*e,a=Math.pow(o,2)*Math.pow(t,2)*e,s=eO(Math.pow(t,2),o);return(n*r+r-a)*Math.exp(-n)*(-i(t)+.001>0?-1:1)/s}):(i=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),a=t=>e*e*(r-t)*Math.exp(-t*e));let s=function(e,t,r){let n=r;for(let r=1;r<12;r++)n-=e(n)/t(n);return n}(i,a,5/e);if(e=(0,C.w)(e),isNaN(s))return{stiffness:eL.stiffness,damping:eL.damping,duration:e};{let t=Math.pow(s,2)*n;return{stiffness:t,damping:2*o*Math.sqrt(n*t),duration:e}}}(e);(t={...t,...r,mass:eL.mass}).isResolvedFromDuration=!0}}return t}({...n,velocity:-(0,C.X)(n.velocity||0)}),g=h||0,v=u/(2*Math.sqrt(c*d)),y=s-o,b=(0,C.X)(Math.sqrt(c/d)),x=5>Math.abs(y);if(i||(i=x?eL.restSpeed.granular:eL.restSpeed.default),a||(a=x?eL.restDelta.granular:eL.restDelta.default),v<1){let e=eO(b,v);r=t=>s-Math.exp(-v*b*t)*((g+v*b*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}else if(1===v)r=e=>s-Math.exp(-b*e)*(y+(g+b*y)*e);else{let e=b*Math.sqrt(v*v-1);r=t=>{let r=Math.exp(-v*b*t),n=Math.min(e*t,300);return s-r*((g+v*b*y)*Math.sinh(n)+e*y*Math.cosh(n))/e}}
13let w={calculatedDuration:m&&p||null,next:e=>{let t=r(e);if(m)l.done=e>=p;else{let n=0;v<1&&(n=0===e?(0,C.w)(g):eF(r,e,t));let o=Math.abs(n)<=i,c=Math.abs(s-t)<=a;l.done=o&&c}return l.value=l.done?s:t,l},toString:()=>{let e=Math.min((0,f.iI)(w),f.EO),t=(0,f.wk)(t=>w.next(e*t).value,e,30);return e+"ms "+t}};return w}function eq({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:l,restDelta:c=.5,restSpeed:u}){let d,p;let h=e[0],m={done:!1,value:h},f=e=>void 0!==s&&e<s||void 0!==l&&e>l,g=e=>void 0===s?l:void 0===l?s:Math.abs(s-e)<Math.abs(l-e)?s:l,v=r*t,y=h+v,b=void 0===o?y:o(y);b!==y&&(v=b-h);let x=e=>-v*Math.exp(-e/n),w=e=>b+x(e),E=e=>{let t=x(e),r=w(e);m.done=Math.abs(t)<=c,m.value=m.done?b:r},D=e=>{f(m.value)&&(d=e,p=eW({keyframes:[m.value,g(m.value)],velocity:eF(w,e,m.value),damping:i,stiffness:a,restDelta:c,restSpeed:u}))};return D(0),{calculatedDuration:null,next:e=>{let t=!1;return(p||void 0!==d||(t=!0,E(e),D(e)),void 0!==d&&e>=d)?p.next(e-d):(t||E(e),m)}}}let e_=N(.42,0,1,1),eU=N(0,0,.58,1),e$=N(.42,0,.58,1),eY=e=>Array.isArray(e)&&"number"!=typeof e[0],eH={linear:k.Z,easeIn:e_,easeInOut:e$,easeOut:eU,circIn:z,circInOut:W,circOut:V,backIn:L,backInOut:O,backOut:F,anticipate:B},eK=e=>{if((0,f.qE)(e)){(0,ey.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,r,n,i]=e;return N(t,r,n,i)}return"string"==typeof e?((0,ey.k)(void 0!==eH[e],`Invalid easing type '${e}'`),eH[e]):e};var eG=r(1884),eZ=r(533);function eX({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let i=eY(n)?n.map(eK):eK(n),a={done:!1,value:t[0]},o=(r&&r.length===t.length?r:(0,eZ.Y)(t)).map(t=>t*e),s=(0,eG.s)(o,t,{ease:Array.isArray(i)?i:t.map(()=>i||e$).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(a.value=s(t),a.done=t>=e,a)}}let eJ=e=>{let t=({timestamp:t})=>e(t);return{start:()=>P.Wi.update(t,!0),stop:()=>(0,P.Pn)(t),now:()=>P.frameData.isProcessing?P.frameData.timestamp:eC.X.now()}},eQ={decay:eq,inertia:eq,tween:eX,keyframes:eX,spring:eW},e0=e=>e/100;class e1 extends ek{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:t,motionValue:r,element:n,keyframes:i}=this.options,a=(null==n?void 0:n.KeyframeResolver)||ev;this.resolver=new a(i,(e,t)=>this.onKeyframesResolved(e,t),t,r,n),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let t,r;let{type:n="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:o,velocity:s=0}=this.options,l=(0,f.xD)(n)?n:eQ[n]||eX;l!==eX&&"number"!=typeof e[0]&&(t=(0,eR.z)(e0,(0,eN.C)(e[0],e[1])),e=[0,100]);let c=l({...this.options,keyframes:e});"mirror"===o&&(r=l({...this.options,keyframes:[...e].reverse(),velocity:-s})),null===c.calculatedDuration&&(c.calculatedDuration=(0,f.iI)(c));let{calculatedDuration:u}=c,d=u+a;return{generator:c,mirroredGenerator:r,mapPercentToKeyframes:t,calculatedDuration:u,resolvedDuration:d,totalDuration:d*(i+1)-a}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:r}=this;if(!r){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:n,generator:i,mirroredGenerator:a,mapPercentToKeyframes:o,keyframes:s,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=r;if(null===this.startTime)return i.next(0);let{delay:d,repeat:p,repeatType:h,repeatDelay:m,onUpdate:f}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let g=this.currentTime-d*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=c);let y=this.currentTime,b=i;if(p){let e=Math.min(this.currentTime,c)/u,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,p+1))%2&&("reverse"===h?(r=1-r,m&&(r-=m/u)):"mirror"===h&&(b=a)),y=(0,eM.u)(0,1,r)*u}let x=v?{done:!1,value:s[0]}:b.next(y);o&&(x.value=o(x.value));let{done:w}=x;v||null===l||(w=this.speed>=0?this.currentTime>=c:this.currentTime<=0);let E=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return E&&void 0!==n&&(x.value=eA(s,this.options,n)),f&&f(x.value),E&&this.finish(),x}
13get duration(){let{resolved:e}=this;return e?(0,C.X)(e.calculatedDuration):0}get time(){return(0,C.X)(this.currentTime)}set time(e){e=(0,C.w)(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=(0,C.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=eJ,onPlay:t,startTime:r}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=n):this.startTime=null!=r?r:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}let e2=new Set(["opacity","clipPath","filter","transform"]),e5=(0,r(942).X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),e3={anticipate:B,backInOut:O,circInOut:W};class e4 extends ek{constructor(e){super(e);let{name:t,motionValue:r,element:n,keyframes:i}=this.options;this.resolver=new eS(i,(e,t)=>this.onKeyframesResolved(e,t),t,r,n),this.resolver.scheduleResolve()}initPlayback(e,t){var r;let{duration:n=300,times:i,ease:a,type:o,motionValue:s,name:l,startTime:c}=this.options;if(!s.owner||!s.owner.current)return!1;if("string"==typeof a&&(0,f.Vc)()&&a in e3&&(a=e3[a]),r=this.options,(0,f.xD)(r.type)||"spring"===r.type||!(0,f.hR)(r.ease)){let{onComplete:t,onUpdate:r,motionValue:s,element:l,...c}=this.options,u=function(e,t){let r=new e1({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),n={done:!1,value:e[0]},i=[],a=0;for(;!n.done&&a<2e4;)i.push((n=r.sample(a)).value),a+=10;return{times:void 0,keyframes:i,duration:a-10,ease:"linear"}}(e,c);1===(e=u.keyframes).length&&(e[1]=e[0]),n=u.duration,i=u.times,a=u.ease,o="keyframes"}let u=function(e,t,r,{delay:n=0,duration:i=300,repeat:a=0,repeatType:o="loop",ease:s="easeInOut",times:l}={}){let c={[t]:r};l&&(c.offset=l);let u=(0,f.eB)(s,i);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:n,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:a+1,direction:"reverse"===o?"alternate":"normal"})}(s.owner.current,l,e,{...this.options,duration:n,times:i,ease:a});return u.startTime=null!=c?c:this.calcStartTime(),this.pendingTimeline?((0,f._F)(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{let{onComplete:r}=this.options;s.set(eA(e,this.options,t)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:n,times:i,type:o,ease:a,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return(0,C.X)(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return(0,C.X)(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.currentTime=(0,C.w)(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return k.Z;let{animation:r}=t;(0,f._F)(r,e)}else this.pendingTimeline=e;return k.Z}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;
13"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:r,duration:n,type:i,ease:a,times:o}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:s,element:l,...c}=this.options,u=new e1({...c,keyframes:r,duration:n,type:i,ease:a,times:o,isGenerator:!0}),d=(0,C.w)(this.time);e.setWithVelocity(u.sample(d-10).value,u.sample(d).value,10)}let{onStop:s}=this.options;s&&s(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:i,damping:a,type:o}=e;if(!t||!t.owner||!(t.owner.current instanceof HTMLElement))return!1;let{onUpdate:s,transformTemplate:l}=t.owner.getProps();return e5()&&r&&e2.has(r)&&!s&&!l&&!n&&"mirror"!==i&&0!==a&&"inertia"!==o}}let e9={type:"spring",stiffness:500,damping:25,restSpeed:10},e6=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),e7={type:"keyframes",duration:.8},e8={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},te=(e,{keyframes:t})=>t.length>2?e7:v.has(e)?e.startsWith("scale")?e6(t[1]):e9:e8,tt=(e,t,r,n={},i,a)=>o=>{let s=(0,f.ev)(n,e)||{},l=s.delay||n.delay||0,{elapsed:c=0}=n;c-=(0,C.w)(l);let u={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};!function({when:e,delay:t,delayChildren:r,staggerChildren:n,staggerDirection:i,repeat:a,repeatType:o,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(s)&&(u={...u,...te(e,u)}),u.duration&&(u.duration=(0,C.w)(u.duration)),u.repeatDelay&&(u.repeatDelay=(0,C.w)(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if(!1!==u.type&&(0!==u.duration||u.repeatDelay)||(u.duration=0,0!==u.delay||(d=!0)),(A.current||j.c.skipAnimations)&&(d=!0,u.duration=0,u.delay=0),d&&!a&&void 0!==t.get()){let e=eA(u.keyframes,s);if(void 0!==e)return P.Wi.update(()=>{u.onUpdate(e),u.onComplete()}),new f.sP([])}return!a&&e4.supports(u)?new e4(u):new e1(u)};function tr(e,t,{delay:r=0,transitionOverride:n,type:i}={}){var a;let{transition:o=e.getDefaultTransition(),transitionEnd:s,...l}=t;n&&(o=n);let u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in l){let n=e.getValue(t,null!==(a=e.latestValues[t])&&void 0!==a?a:null),i=l[t];if(void 0===i||d&&function({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}(d,t))continue;let s={delay:r,...(0,f.ev)(o||{},t)},c=!1;if(window.MotionHandoffAnimation){let r=e.props[S];if(r){let e=window.MotionHandoffAnimation(r,t,P.Wi);null!==e&&(s.startTime=e,c=!0)}}D(e,t),n.start(tt(t,n,i,e.shouldReduceMotion&&y.has(t)?{type:!1}:s,e,c));let p=n.animation;p&&u.push(p)}return s&&Promise.all(u).then(()=>{P.Wi.update(()=>{s&&function(e,t){let{transitionEnd:r={},transition:n={},...i}=c(e,t)||{};for(let t in i={...i,...r}){let r=x(i[t]);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,(0,w.BX)(r))}}(e,s)})}),u}function tn(e,t,r={}){var n;let i=c(e,t,"exit"===r.type?null===(n=e.presenceContext)||void 0===n?void 0:n.custom:void 0),{transition:a=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(a=r.transitionOverride);let o=i?()=>Promise.all(tr(e,i,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:i=0,staggerChildren:o,staggerDirection:s}=a;return function(e,t,r=0,n=0,i=1,a){let o=[],s=(e.variantChildren.size-1)*n,l=1===i?(e=0)=>e*n:(e=0)=>s-e*n;return Array.from(e.variantChildren).sort(ti).forEach((e,n)=>{e.notify("AnimationStart",t),o.push(tn(e,t,{...a,delay:r+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(o)}(e,t,i+n,o,s,r)}:()=>Promise.resolve(),{when:l}=a;if(!l)return Promise.all([o(),s(r.delay)]);{let[e,t]="beforeChildren"===l?[o,s]:[s,o];return e().then(()=>t())}}function ti(e,t){return e.sortNodePosition(t)}let ta=d.length,to=[...u].reverse(),ts=u.length;function tl(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tc(){return{animate:tl(!0),whileInView:tl(),whileHover:tl(),whileTap:tl(),whileDrag:tl(),whileFocus:tl(),exit:tl()}}class tu{constructor(e){this.isMounted=!1,this.node=e}update(){}}class td extends tu{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>tn(e,t,r)));else if("string"==typeof t)n=tn(e,t,r);else{let i="function"==typeof t?c(e,t,r.custom):t;n=Promise.all(tr(e,i,r))}return n.then(()=>
13{e.notify("AnimationComplete",t)})})(e,t,r))),r=tc(),s=!0,l=t=>(r,n)=>{var i;let a=c(e,n,"exit"===t?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0);if(a){let{transition:e,transitionEnd:t,...n}=a;r={...r,...n,...t}}return r};function u(c){let{props:u}=e,p=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;e<ta;e++){let n=d[e],i=t.props[n];(o(i)||!1===i)&&(r[n]=i)}return r}(e.parent)||{},h=[],m=new Set,f={},g=1/0;for(let t=0;t<ts;t++){var v;let d=to[t],y=r[d],b=void 0!==u[d]?u[d]:p[d],x=o(b),w=d===c?y.isActive:null;!1===w&&(g=t);let E=b===p[d]&&b!==u[d]&&x;if(E&&s&&e.manuallyAnimateOnMount&&(E=!1),y.protectedKeys={...f},!y.isActive&&null===w||!b&&!y.prevProp||n(b)||"boolean"==typeof b)continue;let D=(v=y.prevProp,"string"==typeof b?b!==v:!!Array.isArray(b)&&!a(b,v)),T=D||d===c&&y.isActive&&!E&&x||t>g&&x,S=!1,C=Array.isArray(b)?b:[b],P=C.reduce(l(d),{});!1===w&&(P={});let{prevResolvedValues:j={}}=y,A={...j,...P},k=t=>{T=!0,m.has(t)&&(S=!0,m.delete(t)),y.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in A){let t=P[e],r=j[e];if(!f.hasOwnProperty(e))(i(t)&&i(r)?a(t,r):t===r)?void 0!==t&&m.has(e)?k(e):y.protectedKeys[e]=!0:null!=t?k(e):m.add(e)}y.prevProp=b,y.prevResolvedValues=P,y.isActive&&(f={...f,...P}),s&&e.blockInitialAnimation&&(T=!1);let M=!(E&&D)||S;T&&M&&h.push(...C.map(e=>({animation:e,options:{type:d}})))}if(m.size){let t={};m.forEach(r=>{let n=e.getBaseTarget(r),i=e.getValue(r);i&&(i.liveStyle=!0),t[r]=null!=n?n:null}),h.push({animation:t})}let y=!!h.length;return s&&(!1===u.initial||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(y=!1),s=!1,y?t(h):Promise.resolve()}return{animateChanges:u,setActive:function(t,n){var i;if(r[t].isActive===n)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,n)}),r[t].isActive=n;let a=u(t);for(let e in r)r[e].protectedKeys={};return a},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=tc(),s=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();n(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}let tp=0;class th extends tu{constructor(){super(...arguments),this.id=tp++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}function tm(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}function tf(e){return{point:{x:e.pageX,y:e.pageY}}}let tg=e=>t=>(0,f.DJ)(t)&&e(t,tf(t));function tv(e,t,r,n){return tm(e,t,tg(r),n)}
13let ty=(e,t)=>Math.abs(e-t);class tb{constructor(e,t,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=tE(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,i=(e=r.offset,t={x:0,y:0},Math.sqrt(ty(e.x,t.x)**2+ty(e.y,t.y)**2)>=3);if(!n&&!i)return;let{point:a}=r,{timestamp:o}=P.frameData;this.history.push({...a,timestamp:o});let{onStart:s,onMove:l}=this.handlers;n||(s&&s(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=tx(t,this.transformPagePoint),P.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=tE("pointercancel"===e.type?this.lastMoveEventInfo:tx(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,a),n&&n(e,a)},!(0,f.DJ)(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=r,this.contextWindow=n||window;let a=tx(tf(e),this.transformPagePoint),{point:o}=a,{timestamp:s}=P.frameData;this.history=[{...o,timestamp:s}];let{onSessionStart:l}=t;l&&l(e,tE(a,this.history)),this.removeListeners=(0,eR.z)(tv(this.contextWindow,"pointermove",this.handlePointerMove),tv(this.contextWindow,"pointerup",this.handlePointerUp),tv(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,P.Pn)(this.updatePoint)}}function tx(e,t){return t?{point:t(e.point)}:e}function tw(e,t){return{x:e.x-t.x,y:e.y-t.y}}function tE({point:e},t){return{point:e,delta:tw(e,tD(t)),offset:tw(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,i=tD(e);for(;r>=0&&(n=e[r],!(i.timestamp-n.timestamp>(0,C.w)(.1)));)r--;if(!n)return{x:0,y:0};let a=(0,C.X)(i.timestamp-n.timestamp);if(0===a)return{x:0,y:0};let o={x:(i.x-n.x)/a,y:(i.y-n.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t,0)}}function tD(e){return e[e.length-1]}function tT(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}var tS=r(8946),tC=r(179);function tP(e){return e.max-e.min}function tj(e,t,r,n=.5){e.origin=n,e.originPoint=(0,tC.t)(t.min,t.max,e.origin),e.scale=tP(r)/tP(t),e.translate=(0,tC.t)(r.min,r.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function tA(e,t,r,n){tj(e.x,t.x,r.x,n?n.originX:void 0),tj(e.y,t.y,r.y,n?n.originY:void 0)}function tk(e,t,r){e.min=r.min+t.min,e.max=e.min+tP(t)}function tM(e,t,r){e.min=t.min-r.min,e.max=e.min+tP(t)}function tN(e,t,r){tM(e.x,t.x,r.x),tM(e.y,t.y,r.y)}function tR(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function tI(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function tF(e,t,r){return{min:tL(e,t),max:tL(e,r)}}function tL(e,t){return"number"==typeof e?e:e[t]||0}let tO=()=>({translate:0,scale:1,origin:0,originPoint:0}),tB=()=>({x:tO(),y:tO()}),tz=()=>({min:0,max:0}),tV=()=>({x:tz(),y:tz()});function tW(e){return[e("x"),e("y")]}function tq({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function t_(e){return void 0===e||1===e}function tU({scale:e,scaleX:t,scaleY:r}){return!t_(e)||!t_(t)||!t_(r)}function t$(e){return tU(e)||tY(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function tY(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function tH(e,t,r,n,i){return void 0!==i&&(e=n+i*(e-n)),n+r*(e-n)+t}function tK(e,t=0,r=1,n,i){e.min=tH(e.min,t,r,n,i),e.max=tH(e.max,t,r,n,i)}function tG(e,{x:t,y:r}){tK(e.x,t.translate,t.scale,t.originPoint),tK(e.y,r.translate,r.scale,r.originPoint)}function tZ(e,t){e.min=e.min+t,e.max=e.max+t}function tX(e,t,r,n,i=.5){let a=(0,tC.t)(e.min,e.max,i);tK(e,t,r,a,n)}
13function tJ(e,t){tX(e.x,t.x,t.scaleX,t.scale,t.originX),tX(e.y,t.y,t.scaleY,t.scale,t.originY)}function tQ(e,t){return tq(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}let t0=({current:e})=>e?e.ownerDocument.defaultView:null,t1=new WeakMap;class t2{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=tV(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new tb(e,{onSessionStart:e=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(tf(e).point)},onStart:(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,f.KV)(r),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tW(e=>{let t=this.getAxisMotionValue(e).get()||0;if(X.aQ.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];if(n){let e=tP(n);t=parseFloat(t)/100*e}}}this.originPoint[e]=t}),i&&P.Wi.postRender(()=>i(e,t)),D(this.visualElement,"transform");let{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:a}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:o}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(o),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),a&&a(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>tW(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:t0(this.visualElement)})}stop(e,t){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=t;this.startAnimation(n);let{onDragEnd:i}=this.getProps();i&&P.Wi.postRender(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!t5(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(a=function(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?(0,tC.t)(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?(0,tC.t)(r,e,n.max):Math.min(e,r)),e}(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,i=this.constraints;t&&tT(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=function(e,{top:t,left:r,bottom:n,right:i}){return{x:tR(e.x,r,i),y:tR(e.y,t,n)}}(n.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:tF(e,"left","right"),y:tF(e,"top","bottom")}}(r),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&tW(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!tT(t))return!1;let n=t.current;(0,ey.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let a=function(e,t,r){let n=tQ(e,r),{scroll:i}=t;return i&&(tZ(n.x,i.offset.x),tZ(n.y,i.offset.y)),n}(n,i.root,this.visualElement.getTransformPagePoint()),o={x:tI((e=i.layout.layoutBox).x,a.x),y:tI(e.y,a.y)};if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=tq(e))}return o}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{};return Promise.all(tW(o=>{if(!t5(o,t,this.currentDirection))return;let l=s&&s[o]||{};a&&(l={min:0,max:0});
13let c={type:"inertia",velocity:r?e[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(o,c)})).then(o)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return D(this.visualElement,e),r.start(tt(e,r,0,t,this.visualElement,!1))}stopAnimation(){tW(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){tW(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){tW(t=>{let{drag:r}=this.getProps();if(!t5(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:a}=n.layout.layoutBox[t];i.set(e[t]-(0,tC.t)(r,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!tT(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};tW(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let r=t.get();n[e]=function(e,t){let r=.5,n=tP(e),i=tP(t);return i>n?r=(0,tS.Y)(t.min,t.max-n,e.min):n>i&&(r=(0,tS.Y)(e.min,e.max-i,t.min)),(0,eM.u)(0,1,r)}({min:r,max:r},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),tW(t=>{if(!t5(t,e,null))return;let r=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];r.set((0,tC.t)(i,a,n[t]))})}addListeners(){if(!this.visualElement.current)return;t1.set(this.visualElement,this);let e=tv(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();tT(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,n=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),P.Wi.read(t);let i=tm(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(tW(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),n(),a&&a()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:a=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:a,dragMomentum:o}}}function t5(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class t3 extends tu{constructor(e){super(e),this.removeGroupControls=k.Z,this.removeListeners=k.Z,this.controls=new t2(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||k.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let t4=e=>(t,r)=>{e&&P.Wi.postRender(()=>e(t,r))};class t9 extends tu{constructor(){super(...arguments),this.removePointerDownListener=k.Z}onPointerDown(e){this.session=new tb(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:t0(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:t4(e),onStart:t4(t),onMove:r,onEnd:(e,t)=>{delete this.session,n&&P.Wi.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=tv(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var t6=r(5893),t7=r(7294),t8=r(5947),re=r(5364);let rt=(0,t7.createContext)({}),rr={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function rn(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let ri={correct:(e,t)=>
13{if(!t.target)return e;if("string"==typeof e){if(!X.px.test(e))return e;e=parseFloat(e)}let r=rn(e,t.target.x),n=rn(e,t.target.y);return`${r}% ${n}%`}},ra={},{schedule:ro,cancel:rs}=(0,r(9727).Z)(queueMicrotask,!1);class rl extends t7.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;!function(e){for(let t in e)ra[t]=e[t],(0,ex.f)(t)&&(ra[t].isCSSVariable=!0)}(ru),i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),rr.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,a=r.projection;return a&&(a.isPresent=i,n||e.layoutDependency!==t||void 0===t?a.willUpdate():this.safeToRemove(),e.isPresent===i||(i?a.promote():a.relegate()||P.Wi.postRender(()=>{let e=a.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),ro.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function rc(e){let[t,r]=(0,t8.oO)(),n=(0,t7.useContext)(re.p);return(0,t6.jsx)(rl,{...e,layoutGroup:n,switchLayoutGroup:(0,t7.useContext)(rt),isPresent:t,safeToRemove:r})}let ru={borderRadius:{...ri,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ri,borderTopRightRadius:ri,borderBottomLeftRadius:ri,borderBottomRightRadius:ri,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let n=_.P.parse(e);if(n.length>5)return e;let i=_.P.createTransformer(e),a="number"!=typeof n[0]?1:0,o=r.x.scale*t.x,s=r.y.scale*t.y;n[0+a]/=o,n[1+a]/=s;let l=(0,tC.t)(o,s,.5);return"number"==typeof n[2+a]&&(n[2+a]/=l),"number"==typeof n[3+a]&&(n[3+a]/=l),i(n)}}};var rd=r(10);let rp=(e,t)=>e.depth-t.depth;class rh{constructor(){this.children=[],this.isDirty=!1}add(e){(0,rd.y4)(this.children,e),this.isDirty=!0}remove(e){(0,rd.cl)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rp),this.isDirty=!1,this.children.forEach(e)}}var rm=r(1560);function rf(e){let t=E(e)?e.get():e;return b(t)?t.toValue():t}let rg=["TopLeft","TopRight","BottomLeft","BottomRight"],rv=rg.length,ry=e=>"string"==typeof e?parseFloat(e):e,rb=e=>"number"==typeof e||X.px.test(e);function rx(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let rw=rD(0,.5,V),rE=rD(.5,.95,k.Z);function rD(e,t,r){return n=>n<e?0:n>t?1:r((0,tS.Y)(e,t,n))}function rT(e,t){e.min=t.min,e.max=t.max}function rS(e,t){rT(e.x,t.x),rT(e.y,t.y)}function rC(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function rP(e,t,r,n,i){return e-=t,e=n+1/r*(e-n),void 0!==i&&(e=n+1/i*(e-n)),e}function rj(e,t,[r,n,i],a,o){!function(e,t=0,r=1,n=.5,i,a=e,o=e){if(X.aQ.test(t)&&(t=parseFloat(t),t=(0,tC.t)(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let s=(0,tC.t)(a.min,a.max,n);e===a&&(s-=t),e.min=rP(e.min,t,r,s,i),e.max=rP(e.max,t,r,s,i)}(e,t[r],t[n],t[i],t.scale,a,o)}let rA=["x","scaleX","originX"],rk=["y","scaleY","originY"];function rM(e,t,r,n){rj(e.x,t,rA,r?r.x:void 0,n?n.x:void 0),rj(e.y,t,rk,r?r.y:void 0,n?n.y:void 0)}function rN(e){return 0===e.translate&&1===e.scale}function rR(e){return rN(e.x)&&rN(e.y)}function rI(e,t){return e.min===t.min&&e.max===t.max}function rF(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function rL(e,t){return rF(e.x,t.x)&&rF(e.y,t.y)}function rO(e){return tP(e.x)/tP(e.y)}function rB(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class rz{constructor(){this.members=[]}add(e){(0,rd.y4)(this.members,e),e.scheduleRender()}remove(e){if((0,rd.cl)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let r=this.members.findIndex(t=>e===t);if(0===r)return!1;for(let e=r;e>=0;e--){let r=this.members[e];if(!1!==r.isPresent){t=r;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;!1===n&&r.hide()}}
13exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rV={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},rW="undefined"!=typeof window&&void 0!==window.MotionDebug,rq=["","X","Y","Z"],r_={visibility:"hidden"},rU=0;function r$(e,t,r,n){let{latestValues:i}=t;i[e]&&(r[e]=i[e],t.setStaticValue(e,0),n&&(n[e]=0))}function rY({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(e={},r=null==t?void 0:t()){this.id=rU++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,rW&&(rV.totalNodes=rV.resolvedTargetDeltas=rV.recalculatedProjection=0),this.nodes.forEach(rG),this.nodes.forEach(r2),this.nodes.forEach(r5),this.nodes.forEach(rZ),rW&&window.MotionDebug.record(rV)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new rh)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new rm.L),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:n,layout:i,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(i||n)&&(this.isLayoutDirty=!0),e){let r;let n=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){let r=eC.X.now(),n=({timestamp:t})=>{let i=t-r;i>=250&&((0,P.Pn)(n),e(i-250))};return P.Wi.read(n,!0),()=>(0,P.Pn)(n)}(n,0),rr.hasAnimatedSinceResize&&(rr.hasAnimatedSinceResize=!1,this.nodes.forEach(r1))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&a&&(n||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||a.getDefaultTransition()||r8,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!rL(this.targetLayout,n),c=!t&&r;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);let t={...(0,f.ev)(i,"layout"),onPlay:o,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||r1(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,P.Pn)(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.forEac
13h(r3),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:r}=t.options;if(!r)return;let n=r.props[S];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",P.Wi,!(e||r))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rJ);return}this.isUpdating||this.nodes.forEach(rQ),this.isUpdating=!1,this.nodes.forEach(r0),this.nodes.forEach(rH),this.nodes.forEach(rK),this.clearAllSnapshots();let e=eC.X.now();P.frameData.delta=(0,eM.u)(0,1e3/60,e-P.frameData.timestamp),P.frameData.timestamp=e,P.frameData.isProcessing=!0,P.yL.update.process(P.frameData),P.yL.preRender.process(P.frameData),P.yL.render.process(P.frameData),P.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ro.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rX),this.sharedNodes.forEach(r4)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,P.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){P.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),!this.snapshot||tP(this.snapshot.measuredBox.x)||tP(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 e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=tV(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!rR(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,a=n!==this.prevTransformTemplateValue;e&&(t||t$(this.latestValues)||a)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),n=this.removeElementScroll(r);return e&&(n=this.removeTransform(n)),nr((t=n).x),nr(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;let{visualElement:t}=this.options;if(!t)return tV();let r=t.measureViewportBox();if(!((null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)||this.path.some(ni))){let{scroll:e}=this.root;e&&(tZ(r.x,e.offset.x),tZ(r.y,e.offset.y))}return r}removeElementScroll(e){var t;let r=tV();if(rS(r,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return r;for(let t=0;t<this.path.length;t++){let n=this.path[t],{scroll:i,options:a}=n;n!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&rS(r,e),tZ(r.x,i.offset.x),tZ(r.y,i.offset.y))}return r}applyTransform(e,t=!1){let r=tV();rS(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&tJ(r,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),t$(n.latestValues)&&tJ(r,n.latestValues)}return t$(this.latestValues)&&tJ(r,this.latestValues),r}removeTransform(e){let t=tV();rS(t,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];if(!r.instance||!t$(r.latestValues))continue;tU(r.latestValues)&&r.updateSnapshot();let n=tV();rS(n,r.measurePageBox()),rM(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,n)}return t$(this.latestValues)&&rM(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==P.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,r,n,i;let a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);let o=!!this.resumingFrom||this!==a;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:l}=this.options;if(this.layout&&(s||l)){if(this.resolvedRelativeTargetAt=P.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tV(),this.relativeTargetOrigin=tV(),tN(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),rS(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=tV(),this.targetWithTransforms=tV()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),r=this.target,n=this.relativeTarget,i=this.relativeParent.target,tk(r.x,n.x,i.x),tk(r.y,n.y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rS(this.target,this.layout.layoutBox),tG(this.target,this.targetDelta)):rS(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tV(),this.relativeTargetOrigin=tV(),tN(this.relativeTargetOrigin,this.target,e.target),rS(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rW&&rV.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||tU(this.parent.latestValues)||tY(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),r=!!this.resumingFrom||this!==t,n=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(n=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===P.frameData.timestamp&&(n=!1),n)return;let{layout:i,layoutId:a}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||a))return;rS(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,s=this.treeScale.y;!function(e,t,r,n=!1){let i,a;let o=r.length;if(o){t.x=t.y=1;for(let s=0;s<o;s++){a=(i=r[s]).projectionDelta;let{visualElement:o}=i.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&tJ(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,tG(e,a)),n&&t$(i.latestValues)&&tJ(e,i.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,r),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=tV());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rC(this.prevProjectionDelta.x,this.projectionDelta.x),rC(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),tA(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===s&&rB(this.projectionDelta.x,this.prevProjectionDelta.x)&&rB(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),rW&&rV.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=tB(),this.projectionDelta=tB(),this.projectionDeltaWithTransform=tB()}setAnimationOrigin(e,t=!1){let r;let n=this.snapshot,i=n?n.latestValues:{},a={...this.latestValues},o=tB();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=tV(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),u=!c||c.members.length<=1,d=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(r7));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(r9(o.x,e.x,n),r9(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var c,p,h,m;tN(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),h=this.relativeTarget,m=this.relativeTargetOrigin,r6(h.x,m.x,s.x,n),r6(h.y,m.y,s.y,n),r&&(c=this.relativeTarget,p=r,rI(c.x,p.x)&&rI(c.y,p.y))&&(this.isProjectionDirty=!1),r||(r=t
13V()),rS(r,this.relativeTarget)}l&&(this.animationValues=a,function(e,t,r,n,i,a){i?(e.opacity=(0,tC.t)(0,void 0!==r.opacity?r.opacity:1,rw(n)),e.opacityExit=(0,tC.t)(void 0!==t.opacity?t.opacity:1,0,rE(n))):a&&(e.opacity=(0,tC.t)(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,n));for(let i=0;i<rv;i++){let a=`border${rg[i]}Radius`,o=rx(t,a),s=rx(r,a);(void 0!==o||void 0!==s)&&(o||(o=0),s||(s=0),0===o||0===s||rb(o)===rb(s)?(e[a]=Math.max((0,tC.t)(ry(o),ry(s),n),0),(X.aQ.test(s)||X.aQ.test(o))&&(e[a]+="%")):e[a]=s)}(t.rotate||r.rotate)&&(e.rotate=(0,tC.t)(t.rotate||0,r.rotate||0,n))}(a,i,this.latestValues,n,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,P.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=P.Wi.update(()=>{rr.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r){let n=E(0)?0:(0,w.BX)(0);return n.start(tt("",n,1e3,r)),n.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:i}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&nn(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||tV();let t=tP(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=tP(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}rS(t,r),tJ(t,i),tA(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new rz),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let n={};r.z&&r$("z",e,n,this.animationValues);for(let t=0;t<rq.length;t++)r$(`rotate${rq[t]}`,e,n,this.animationValues),r$(`skew${rq[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}getProjectionStyles(e){var t,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return r_;let n={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=rf(null==e?void 0:e.pointerEvents)||"",n.transform=i?i(this.latestValues,""):"none",n;let a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=rf(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!t$(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}let o=a.animationValues||a.latestValues;this.applyTransformsToTarget(),n.transform=function(e,t,r){let n="",i=e.x.translate/t.x,a=e.y.translate/t.y,o=(null==r?void 0:r.z)||0;if((i||a||o)&&(n=`translate3d(${i}px, ${a}px, ${o}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:a,skewX:o,skewY:s}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),i&&(n+=`rotateX(${i}deg) `),a&&(n+=`rotateY(${a}deg) `),o&&(n+=`skewX(${o}deg) `),s&&(n+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(n+=`scale(${s}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),i&&(n.transform=i(o,n.transform));let{x:s,y:l}=this.projectionDelta;for(let e in n.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,a.animationValues?n.opacity=a===this?null!==(r=null!==(t=o.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:n.opacity=a===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,ra){if(void 0===o[e])continue;let{correct:t,applyTo:r,isCSSVariable:i}=ra[e],s="none"===n.transform?o[e]:t(o[e],a);if(r){let e=r.length;for(let t=0;t<e;t++)n[r[t]]=s}
13else i?this.options.visualElement.renderState.vars[e]=s:n[e]=s}return this.options.layoutId&&(n.pointerEvents=a===this?rf(null==e?void 0:e.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(rJ),this.root.sharedNodes.clear()}}}function rH(e){e.updateLayout()}function rK(e){var t;let r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:n}=e.layout,{animationType:i}=e.options,a=r.source!==e.layout.source;"size"===i?tW(e=>{let n=a?r.measuredBox[e]:r.layoutBox[e],i=tP(n);n.min=t[e].min,n.max=n.min+i}):nn(i,r.layoutBox,t)&&tW(n=>{let i=a?r.measuredBox[n]:r.layoutBox[n],o=tP(t[n]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+o)});let o=tB();tA(o,t,r.layoutBox);let s=tB();a?tA(s,e.a
13pplyTransform(n,!0),r.measuredBox):tA(s,t,r.layoutBox);let l=!rR(o),c=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:a}=n;if(i&&a){let o=tV();tN(o,r.layoutBox,i.layoutBox);let s=tV();tN(s,t,a.layoutBox),rL(o,s)||(c=!0),n.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=o,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:s,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function rG(e){rW&&rV.totalNodes++,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 rZ(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function rX(e){e.clearSnapshot()}function rJ(e){e.clearMeasurements()}function rQ(e){e.isLayoutDirty=!1}function r0(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function r1(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function r2(e){e.resolveTargetDelta()}function r5(e){e.calcProjection()}function r3(e){e.resetSkewAndRotation()}function r4(e){e.removeLeadSnapshot()}function r9(e,t,r){e.translate=(0,tC.t)(t.translate,0,r),e.scale=(0,tC.t)(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function r6(e,t,r,n){e.min=(0,tC.t)(t.min,r.min,n),e.max=(0,tC.t)(t.max,r.max,n)}function r7(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let r8={duration:.45,ease:[.4,0,.1,1]},ne=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),nt=ne("applewebkit/")&&!ne("chrome/")?Math.round:k.Z;function nr(e){e.min=nt(e.min),e.max=nt(e.max)}function nn(e,t,r){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(rO(t)-rO(r)))}function ni(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}let na=rY({attachResizeListener:(e,t)=>tm(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),no={current:void 0},ns=rY({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!no.current){let e=new na({});e.mount(window),e.setOptions({layoutScroll:!0}),no.current=e}return no.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function nl(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===r);let i=n["onHover"+r];i&&P.Wi.postRender(()=>i(t,tf(t)))}class nc extends tu{mount(){let{current:e}=this.node;e&&(this.unmount=(0,f.Mr)(e,(e,t)=>(nl(this.node,t,"Start"),e=>nl(this.node,e,"End"))))}unmount(){}}class nu extends tu{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,eR.z)(tm(this.node.current,"focus",()=>this.onFocus()),tm(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function nd(e,t,r){let{props:n}=e;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===r);let i=n["onTap"+("End"===r?"":r)];i&&P.Wi.postRender(()=>i(t,tf(t)))}class np extends tu{mount(){let{current:e}=this.node;e&&(this.unmount=(0,f.OD)(e,(e,t)=>(nd(this.node,t,"Start"),(e,{success:t})=>nd(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let nh=new WeakMap,nm=new WeakMap,nf=e=>{let t=nh.get(e.target);t&&t(e)},ng=e=>{e.forEach(nf)},nv={some:0,all:1};
13class ny extends tu{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:i}=e,a={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:nv[n]};return function(e,t,r){let n=function({root:e,...t}){let r=e||document;nm.has(r)||nm.set(r,{});let n=nm.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(ng,{root:e,...t})),n[i]}(t);return nh.set(e,r),n.observe(e),()=>{nh.delete(e),n.unobserve(e)}}(this.node.current,a,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),a=t?r:n;a&&a(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}let nb=(0,t7.createContext)({strict:!1});var nx=r(6014);let nw=(0,t7.createContext)({});function nE(e){return n(e.animate)||d.some(t=>o(e[t]))}function nD(e){return!!(nE(e)||e.variants)}function nT(e){return Array.isArray(e)?e.join(" "):e}var nS=r(1741);let nC={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"]},nP={};for(let e in nC)nP[e]={isEnabled:t=>nC[e].some(e=>!!t[e])};let nj=Symbol.for("motionComponentSymbol");var nA=r(240),nk=r(8868);let nM=["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 nN(e){if("string"!=typeof e||e.includes("-"));else if(nM.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var nR=r(6681);let nI=e=>(t,r)=>{let i=(0,t7.useContext)(nw),a=(0,t7.useContext)(nA.O),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:r},i,a,o){let s={latestValues:function(e,t,r,i){let a={},o=i(e,{});for(let e in o)a[e]=rf(o[e]);let{initial:s,animate:c}=e,u=nE(e),d=nD(e);t&&d&&!u&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===c&&(c=t.animate));let p=!!r&&!1===r.initial,h=(p=p||!1===s)?c:s;if(h&&"boolean"!=typeof h&&!n(h)){let t=Array.isArray(h)?h:[h];for(let r=0;r<t.length;r++){let n=l(e,t[r]);if(n){let{transitionEnd:e,transition:t,...r}=n;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=p?t.length-1:0;t=t[e]}null!==t&&(a[e]=t)}for(let t in e)a[t]=e[t]}}}return a}(i,a,o,e),renderState:t()};return r&&(s.onMount=e=>r({props:i,current:e,...s}),s.onUpdate=e=>r(e)),s})(e,t,i,a);return r?o():(0,nR.h)(o)},nF=(e,t)=>t&&"number"==typeof e?t.transform(e):e,nL={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nO=g.length;function nB(e,t,r){let{style:n,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let r=t[e];if(v.has(e)){o=!0;continue}if((0,ex.f)(e)){i[e]=r;continue}{let t=nF(r,et[e]);e.startsWith("origin")?(s=!0,a[e]=t):n[e]=t}}if(!t.transform&&(o||r?n.transform=function(e,t,r){let n="",i=!0;for(let a=0;a<nO;a++){let o=g[a],s=e[o];if(void 0===s)continue;let l=!0;if(!(l="number"==typeof s?s===(o.startsWith("scale")?1:0):0===parseFloat(s))||r){let e=nF(s,et[o]);if(!l){i=!1;let t=nL[o]||o;n+=`${t}(${e}) `}r&&(t[o]=e)}}return n=n.trim(),r?n=r(t,i?"":n):i&&(n="none"),n}(t,e.transform,r):n.transform&&(n.transform="none")),s){let{originX:e="50%",originY:t="50%",originZ:r=0}=a;n.transformOrigin=`${e} ${t} ${r}`}}let nz={offset:"stroke-dashoffset",array:"stroke-dasharray"},nV={offset:"strokeDashoffset",array:"strokeDasharray"};function nW(e,t,r){return"string"==typeof e?e:X.px.transform(t+r*e)}function nq(e,{attrX:t,attrY:r,attrScale:n,originX:i,originY:a,pathLength:o,pathSpacing:s=1,pathOffset:l=0,...c}
13,u,d){if(nB(e,c,d),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:p,style:h,dimensions:m}=e;p.transform&&(m&&(h.transform=p.transform),delete p.transform),m&&(void 0!==i||void 0!==a||h.transform)&&(h.transformOrigin=function(e,t,r){let n=nW(t,e.x,e.width),i=nW(r,e.y,e.height);return`${n} ${i}`}(m,void 0!==i?i:.5,void 0!==a?a:.5)),void 0!==t&&(p.x=t),void 0!==r&&(p.y=r),void 0!==n&&(p.scale=n),void 0!==o&&function(e,t,r=1,n=0,i=!0){e.pathLength=1;let a=i?nz:nV;e[a.offset]=X.px.transform(-n);let o=X.px.transform(t),s=X.px.transform(r);e[a.array]=`${o} ${s}`}(p,o,s,l,!1)}let n_=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),nU=()=>({...n_(),attrs:{}}),n$=e=>"string"==typeof e&&"svg"===e.toLowerCase();function nY(e,{style:t,vars:r},n,i){for(let a in Object.assign(e.style,t,i&&i.getProjectionStyles(n)),r)e.style.setProperty(a,r[a])}let nH=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function nK(e,t,r,n){for(let r in nY(e,t,void 0,n),t.attrs)e.setAttribute(nH.has(r)?r:T(r),t.attrs[r])}function nG(e,{layout:t,layoutId:r}){return v.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!ra[e]||"opacity"===e)}function nZ(e,t,r){var n;let{style:i}=e,a={};for(let o in i)(E(i[o])||t.style&&E(t.style[o])||nG(o,e)||(null===(n=null==r?void 0:r.getValue(o))||void 0===n?void 0:n.liveStyle)!==void 0)&&(a[o]=i[o]);return a}function nX(e,t,r){let n=nZ(e,t,r);for(let r in e)(E(e[r])||E(t[r]))&&(n[-1!==g.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}let nJ=["x","y","width","height","cx","cy","r"],nQ={useVisualState:nI({scrapeMotionValuesFromProps:nX,createRenderState:nU,onUpdate:({props:e,prevProps:t,current:r,renderState:n,latestValues:i})=>{if(!r)return;let a=!!e.drag;if(!a){for(let e in i)if(v.has(e)){a=!0;break}}if(!a)return;let o=!t;if(t)for(let r=0;r<nJ.length;r++){let n=nJ[r];e[n]!==t[n]&&(o=!0)}o&&P.Wi.read(()=>{!function(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}}(r,n),P.Wi.render(()=>{nq(n,i,n$(r.tagName),e.transformTemplate),nK(r,n)})})}})},n0={useVisualState:nI({scrapeMotionValuesFromProps:nZ,createRenderState:n_})};function n1(e,t,r){for(let n in t)E(t[n])||nG(n,r)||(e[n]=t[n])}let n2=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 n5(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||n2.has(e)}let n3=e=>!n5(e);try{(p=require("@emotion/is-prop-valid").default)&&(n3=e=>e.startsWith("on")?!n5(e):p(e))}catch(e){}let n4={current:null},n9={current:!1},n6=[...eD,G.$,_.P],n7=e=>n6.find(eE(e)),n8=new WeakMap,ie=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class it{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,blockInitialAnimation:i,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ev,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=()=>{let e=eC.X.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,P.Wi.render(this.render,!1,!0))};let{latestValues:s,renderState:l,onUpdate:c}=a;this.onUpdate=c,this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.blockInitialAnimation=!!i,this.isControllingVariants=nE(t),this.isVariantNode=nD(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];void 0!==s[e]&&E(t)&&t.set(s[e],!1)}}mount(e){this.current=e,n8.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
13h((e,t)=>this.bindToMotionValue(t,e)),n9.current||function(){if(n9.current=!0,nS.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>n4.current=e.matches;e.addListener(t),t()}else n4.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||n4.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in n8.delete(this.current),this.projection&&this.projection.unmount(),(0,P.Pn)(this.notifyUpdate),(0,P.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let r;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let n=v.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&P.Wi.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),a=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),a(),r&&r(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in nP){let t=nP[e];if(!t)continue;let{isEnabled:r,Feature:n}=t;if(!this.features[e]&&n&&r(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tV()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<ie.length;t++){let r=ie[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=function(e,t,r){for(let n in t){let i=t[n],a=r[n];if(E(i))e.addValue(n,i);else if(E(a))e.addValue(n,(0,w.BX)(i,{owner:e}));else if(a!==i){if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(n);e.addValue(n,(0,w.BX)(void 0!==t?t:i,{owner:e}))}}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=(0,w.BX)(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){var r;let n=void 0===this.latestValues[e]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,e))&&void 0!==r?r:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=n&&("string"==typeof n&&(eb(n)||q(n))?n=parseFloat(n):!n7(n)&&_.P.test(t)&&(n=ei(e,t)),this.setBaseTarget(e,E(n)?n.get():n)),E(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let r;let{initial:n}=this.props;if("string"==typeof n||"object"==typeof n){let i=l(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);i&&(r=i[e])}if(n&&void 0!==r)return r;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||E(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new rm.L),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class ir extends it{constructor(){super(...arguments),this.KeyframeResolver=eS}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;E(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}class ii extends ir{constructor(){super(...arguments),this.type="html",this.renderInstance=nY}readValueFromInstance(e,t){if(v.has(t)){let e=en(t);return e&&e.default||0}{let r=window.getComputedStyle(e),n=((0,ex.f)(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return tQ(e,t)}build(e,t,r){nB(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return nZ(e,t,r)}}class ia extends ir{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tV}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(v.has(t)){let e=en(t);return e&&e.default||0}return t=nH.has(t)?t:T(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return nX(e,t,r)}build(e,t,r){nq(e,t,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,r,n){nK(e,t,r,n)}mount(e){this.isSVGTag=n$(e.tagName),super.mount(e)}}let io=function(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(r,n)=>"create"===n?e:(t.has(n)||t.set(n,e(n)),t.get(n))})}((h={animation:{Feature:td},exit:{Feature:th},inView:{Feature:ny},tap:{Feature:np},focus:{Feature:nu},hover:{Feature:nc},pan:{Feature:t9},drag:{Feature:t3,ProjectionNode:ns,MeasureLayout:rc},layout:{ProjectionNode:ns,MeasureLayout:rc}},m=(e,t)=>
13nN(e)?new ia(t):new ii(t,{allowProjection:e!==t7.Fragment}),function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:n,Component:i}){var a,s;function l(e,a){var s;let l;let c={...(0,t7.useContext)(nx._),...e,layoutId:function({layoutId:e}){let t=(0,t7.useContext)(re.p).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:u}=c,d=function(e){let{initial:t,animate:r}=function(e,t){if(nE(e)){let{initial:t,animate:r}=e;return{initial:!1===t||o(t)?t:void 0,animate:o(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,t7.useContext)(nw));return(0,t7.useMemo)(()=>({initial:t,animate:r}),[nT(t),nT(r)])}(e),p=n(e,u);if(!u&&nS.j){(0,t7.useContext)(nb).strict;let e=function(e){let{drag:t,layout:r}=nP;if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==r?void 0:r.isEnabled(e))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(c);l=e.MeasureLayout,d.visualElement=function(e,t,r,n,i){var a,o;let{visualElement:s}=(0,t7.useContext)(nw),l=(0,t7.useContext)(nb),c=(0,t7.useContext)(nA.O),u=(0,t7.useContext)(nx._).reducedMotion,d=(0,t7.useRef)(null);n=n||l.renderer,!d.current&&n&&(d.current=n(e,{visualState:t,parent:s,props:r,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:u}));let p=d.current,h=(0,t7.useContext)(rt);p&&!p.projection&&i&&("html"===p.type||"svg"===p.type)&&function(e,t,r,n){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:l,layoutRoot:c}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&tT(s),visualElement:e,animationType:"string"==typeof a?a:"both",initialPromotionConfig:n,layoutScroll:l,layoutRoot:c})}(d.current,r,i,h);let m=(0,t7.useRef)(!1);(0,t7.useInsertionEffect)(()=>{p&&m.current&&p.update(r,c)});let f=r[S],g=(0,t7.useRef)(!!f&&!(null===(a=window.MotionHandoffIsComplete)||void 0===a?void 0:a.call(window,f))&&(null===(o=window.MotionHasOptimisedAnimation)||void 0===o?void 0:o.call(window,f)));return(0,nk.L)(()=>{p&&(m.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),ro.render(p.render),g.current&&p.animationState&&p.animationState.animateChanges())}),(0,t7.useEffect)(()=>{p&&(!g.current&&p.animationState&&p.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,f)}),g.current=!1))}),p}(i,p,c,t,e.ProjectionNode)}return(0,t6.jsxs)(nw.Provider,{value:d,children:[l&&d.visualElement?(0,t6.jsx)(l,{visualElement:d.visualElement,...c}):null,r(i,e,(s=d.visualElement,(0,t7.useCallback)(e=>{e&&p.onMount&&p.onMount(e),s&&(e?s.mount(e):s.unmount()),a&&("function"==typeof a?a(e):tT(a)&&(a.current=e))},[s])),p,u,d.visualElement)]})}e&&function(e){for(let t in e)nP[t]={...nP[t],...e[t]}}(e),l.displayName=`motion.${"string"==typeof i?i:`create(${null!==(s=null!==(a=i.displayName)&&void 0!==a?a:i.name)&&void 0!==s?s:""})`}`;let c=(0,t7.forwardRef)(l);return c[nj]=i,c}({...nN(e)?nQ:n0,preloadedFeatures:h,useRender:function(e=!1){return(t,r,n,{latestValues:i},a)=>{let o=(nN(t)?function(e,t,r,n){let i=(0,t7.useMemo)(()=>{let r=nU();return nq(r,t,n$(n),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};n1(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let r={},n=function(e,t){let r=e.style||{},n={};return n1(n,r,e),Object.assign(n,function({transformTemplate:e},t){return(0,t7.useMemo)(()=>{let r=n_();return nB(r,t,e),Object.assign({},r.vars,r.style)},[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r})(r,i,a,t),s=function(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(n3(i)||!0===r&&n5(i)||!t&&!n5(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}(r,"string"==typeof t,e),l=t!==t7.Fragment?{...s,...o,ref:n}:{},{children:c}=r,u=(0,t7.useMemo)(()=>E(c)?c.get():c,[c]);return(0,t7.createElement)(t,{...l,children:u})}}(t),createVisualElement:m,Component:e})}))},7630:function(e,t,r){"use strict";r.d(t,{f:function(){return i},t:function(){return o}});let n=e=>t=>"string"==typeof t&&t.startsWith(e),i=n("--"),a=n("var(--"),o=e=>!!a(e)&&s.test(e.split("/*")[0].trim()),s=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},2081:function(e,t,r){"use strict";r.d(t,{c:function(){return n}});let n={skipAnimations:!1,useManualTiming:!1}},10:function(e,t,r){"use strict";function n(e,t){-1===e.indexOf(t)&&e.push(t)}function i(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}r.d(t,{cl:function(){return i},y4:function(){return n}})},4169:function(e,t,r){"use strict";r.d(t,{u:function(){return n}});let n=(e,t,r)=>r>t?t:r<e?e:r},1884:function(e,t,r){"use strict";r.d(t,{s:function(){return c}});var n=r(7726),i=r(5386),a=r(8946),o=r(4169),s=r(9976),l=r(3624);function c(e,t,{clamp:r=!0,ease:c,mixer:u}={}){let d=e.length;if((0,i.k)(d===t.length,"Both input and output ranges must be the same length"),1===d)return()=>t[0];if(2===d&&t[0]===t[1])return()=>t[1];let p=e[0]===e[1];e[0]>e[d-1]&&(e=[...e].reverse(),t=[...t].reverse());let h=function(e,t,r){let i=[],a=r||s.C,o=e.length-1;for(let r=0;r<o;r++){let o=a(e[r],e[r+1]);if(t){let e=Array.isArray(t)?t[r]||n.Z:t;o=(0,l.z)(e,o)}i.push(o)}return i}(t,c,u),m=h.length,f=r=>{if(p&&r<e[0])return t[0];let n=0;if(m>1)for(;n<e.length-2&&!(r<e[n+1]);n++);let i=(0,a.Y)(e[n],e[n+1],r);return h[n](i)};return r?t=>f((0,o.u)(e[0],e[d-1],t)):f}},1741:function(e,t,r){"use strict";r.d(t,{j:function(){return n}});let n="undefined"!=typeof window},9976:function(e,t,r){"use strict";r.d(t,{C:function(){return S}});var n=r(179),i=r(5386);function a(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}var o=r(6382),s=r(819),l=r(3184);function c(e,t){return r=>r>0?t:e}let u=(e,t,r)=>{let n=e*e,i=r*(t*t-n)+n;return i<0?0:Math.sqrt(i)},d=[o.$,s.m,l.J],p=e=>d.find(t=>t.test(e));function h(e){let t=p(e);if((0,i.K)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let r=t.parse(e);return t===l.J&&(r=function({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,o=0,s=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,l=2*r-n;i=a(l,n,e+1/3),o=a(l,n,e),s=a(l,n,e-1/3)}else i=o=s=r;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(r)),r}let m=(e,t)=>
13{let r=h(e),i=h(t);if(!r||!i)return c(e,t);let a={...r};return e=>(a.red=u(r.red,i.red,e),a.green=u(r.green,i.green,e),a.blue=u(r.blue,i.blue,e),a.alpha=(0,n.t)(r.alpha,i.alpha,e),s.m.transform(a))};var f=r(3624),g=r(5385),v=r(6737),y=r(7630);let b=new Set(["none","hidden"]);function x(e,t){return r=>(0,n.t)(e,t,r)}function w(e){return"number"==typeof e?x:"string"==typeof e?(0,y.t)(e)?c:g.$.test(e)?m:T:Array.isArray(e)?E:"object"==typeof e?g.$.test(e)?m:D:c}function E(e,t){let r=[...e],n=r.length,i=e.map((e,r)=>w(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}}function D(e,t){let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=w(e[i])(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}}let T=(e,t)=>{let r=v.P.createTransformer(t),n=(0,v.V)(e),a=(0,v.V)(t);return n.indexes.var.length===a.indexes.var.length&&n.indexes.color.length===a.indexes.color.length&&n.indexes.number.length>=a.indexes.number.length?b.has(e)&&!a.values.length||b.has(t)&&!n.values.length?b.has(e)?r=>r<=0?e:t:r=>r>=1?t:e:(0,f.z)(E(function(e,t){var r;let n=[],i={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){let o=t.types[a],s=e.indexes[o][i[o]],l=null!==(r=e.values[s])&&void 0!==r?r:0;n[a]=l,i[o]++}return n}(n,a),a.values),r):((0,i.K)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),c(e,t))};function S(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?(0,n.t)(e,t,r):w(e)(e,t)}},179:function(e,t,r){"use strict";r.d(t,{t:function(){return n}});let n=(e,t,r)=>e+(t-e)*r},533:function(e,t,r){"use strict";r.d(t,{Y:function(){return a}});var n=r(8946),i=r(179);function a(e){let t=[0];return!function(e,t){let r=e[e.length-1];for(let a=1;a<=t;a++){let o=(0,n.Y)(0,t,a);e.push((0,i.t)(r,1,o))}}(t,e.length-1),t}},3624:function(e,t,r){"use strict";r.d(t,{z:function(){return i}});let n=(e,t)=>r=>t(e(r)),i=(...e)=>e.reduce(n)},1560:function(e,t,r){"use strict";r.d(t,{L:function(){return i}});var n=r(10);class i{constructor(){this.subscriptions=[]}add(e){return(0,n.y4)(this.subscriptions,e),()=>(0,n.cl)(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](e,t,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(e,t,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},6681:function(e,t,r){"use strict";r.d(t,{h:function(){return i}});var n=r(7294);function i(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},8868:function(e,t,r){"use strict";r.d(t,{L:function(){return i}});var n=r(7294);let i=r(1741).j?n.useLayoutEffect:n.useEffect},3038:function(e,t,r){"use strict";function n(e,t){return t?1e3/t*e:0}r.d(t,{R:function(){return n}})},3234:function(e,t,r){"use strict";r.d(t,{BX:function(){return u},S1:function(){return l}});var n=r(1117),i=r(1560),a=r(3038),o=r(6166);let s=e=>!isNaN(parseFloat(e)),l={current:void 0};class c{constructor(e,t={}){this.version="12.0.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let r=n.X.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=n.X.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=s(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new i.L);let r=this.events[e].add(t);return"change"===e?()=>{r(),o.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=n.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,a.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(e,t){return new c(e,t)}},6382:function(e,t,r){"use strict";r.d(t,{$:function(){return i}});var n=r(819);let i={test:(0,r(9940).i)("#"),parse:function(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alph
13a:i?parseInt(i,16)/255:1}},transform:n.m.transform}},3184:function(e,t,r){"use strict";r.d(t,{J:function(){return s}});var n=r(1649),i=r(6190),a=r(3609),o=r(9940);let s={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:o=1})=>"hsla("+Math.round(e)+", "+i.aQ.transform((0,a.N)(t))+", "+i.aQ.transform((0,a.N)(r))+", "+(0,a.N)(n.Fq.transform(o))+")"}},5385:function(e,t,r){"use strict";r.d(t,{$:function(){return o}});var n=r(6382),i=r(3184),a=r(819);let o={test:e=>a.m.test(e)||n.$.test(e)||i.J.test(e),parse:e=>a.m.test(e)?a.m.parse(e):i.J.test(e)?i.J.parse(e):n.$.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?a.m.transform(e):i.J.transform(e)}},819:function(e,t,r){"use strict";r.d(t,{m:function(){return c}});var n=r(4169),i=r(1649),a=r(3609),o=r(9940);let s=e=>(0,n.u)(0,255,e),l={...i.Rx,transform:e=>Math.round(s(e))},c={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+l.transform(e)+", "+l.transform(t)+", "+l.transform(r)+", "+(0,a.N)(i.Fq.transform(n))+")"}},9940:function(e,t,r){"use strict";r.d(t,{i:function(){return a},d:function(){return o}});var n=r(8054);let i=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,a=(e,t)=>r=>!!("string"==typeof r&&i.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),o=(e,t,r)=>i=>{if("string"!=typeof i)return i;let[a,o,s,l]=i.match(n.K);return{[e]:parseFloat(a),[t]:parseFloat(o),[r]:parseFloat(s),alpha:void 0!==l?parseFloat(l):1}}},6737:function(e,t,r){"use strict";r.d(t,{V:function(){return u},P:function(){return m}});var n=r(5385);let i=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var a=r(8054),o=r(3609);let s="number",l="color",c=/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 u(e){let t=e.toString(),r=[],i={color:[],number:[],var:[]},a=[],o=0,u=t.replace(c,e=>(n.$.test(e)?(i.color.push(o),a.push(l),r.push(n.$.parse(e))):e.startsWith("var(")?(i.var.push(o),a.push("var"),r.push(e)):(i.number.push(o),a.push(s),r.push(parseFloat(e))),++o,"${}")).split("${}");return{values:r,split:u,indexes:i,types:a}}function d(e){return u(e).values}function p(e){let{split:t,types:r}=u(e),i=t.length;return e=>{let a="";for(let c=0;c<i;c++)if(a+=t[c],void 0!==e[c]){let t=r[c];t===s?a+=(0,o.N)(e[c]):t===l?a+=n.$.transform(e[c]):a+=e[c]}return a}}let h=e=>"number"==typeof e?0:e,m={test:function(e){var t,r;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(a.K))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(i))||void 0===r?void 0:r.length)||0)>0},parse:d,createTransformer:p,getAnimatableNone:function(e){let t=d(e);return p(e)(t.map(h))}}},1649:function(e,t,r){"use strict";r.d(t,{Fq:function(){return a},Rx:function(){return i},bA:function(){return o}});var n=r(4169);let i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},a={...i,transform:e=>(0,n.u)(0,1,e)},o={...i,default:1}},6190:function(e,t,r){"use strict";r.d(t,{$C:function(){return c},RW:function(){return i},aQ:function(){return a},px:function(){return o},vh:function(){return s},vw:function(){return l}});let n=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),i=n("deg"),a=n("%"),o=n("px"),s=n("vh"),l=n("vw"),c={...a,parse:e=>a.parse(e)/100,transform:e=>a.transform(100*e)}},8054:function(e,t,r){"use strict";r.d(t,{K:function(){return n}});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},3609:function(e,t,r){"use strict";r.d(t,{N:function(){return n}});let n=e=>Math.round(1e5*e)/1e5},2777:function(e,t,r){"use strict";r.d(t,{sP:function(){return o},_F:function(){return d},iI:function(){return c},wk:function(){return g},ev:function(){return s},Mr:function(){return T},qE:function(){return p},xD:function(){return u},DJ:function(){return C},hR:function(){return v},eB:function(){return function e(t,r){if(t)return"function"==typeof t&&m()?g(t,r):p(t)?y(t):Array.isArray(t)?t.map(t=>e(t,r)||b.easeOut):b[t]}},EO:function(){return l},OD:function(){return R},IG:function(){return w},KV:function(){return I},Vc:function(){return m},tn:function(){return i}});var n=r(942);let i=(0,n.X)(()=>void 0!==window.ScrollTimeline);class a{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let r=0;r<this.animations.length;r++)this.animations[r][e]=t}attachTimeline(e,t){let r=this.animations.map(r=>i()&&r.attachTimeline?r.attachTimeline(e):"function"==typeof t?t(r):void 0);return()=>{r.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class o extends a{then(e,t){return Promise.all(this.animations).then(e).catch(t)}}function s(e,t){return e?e[t]||e.default||e:void 0}let l=2e4;function c(e){let t=0,r=e.next(t);for(;!r.done&&t<l;)t+=50,r=e.next(t);return t>=l?1/0:t}function u(e){return"function"==typeof e}function d(e,t){e.timeline=t,e.onfinish=null}let p=e=>Array.isArray(e)&&"number"==typeof e[0],h={linearEasing:void 0},m=function(e,t){let r=(0,n.X)(e);return()=>{var e;return null!==(e=h[t])&&void 0!==e?e:r()}}(()=>{try{document.createElement("div").animate({opacity:0}
13,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing");var f=r(8946);let g=(e,t,r=10)=>{let n="",i=Math.max(Math.round(t/r),2);for(let t=0;t<i;t++)n+=e((0,f.Y)(0,i-1,t))+", ";return`linear(${n.substring(0,n.length-2)})`};function v(e){return!!("function"==typeof e&&m()||!e||"string"==typeof e&&(e in b||m())||p(e)||Array.isArray(e)&&e.every(v))}let y=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,b={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:y([0,.65,.55,1]),circOut:y([.55,0,1,.45]),backIn:y([.31,.01,.66,-.59]),backOut:y([.33,1.53,.69,.99])},x={x:!1,y:!1};function w(e,t,r){var n;if(e instanceof Element)return[e];if("string"==typeof e){let i=document;t&&(i=t.current);let a=null!==(n=null==r?void 0:r[e])&&void 0!==n?n:i.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}function E(e,t){let r=w(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function D(e){return!("touch"===e.pointerType||x.x||x.y)}function T(e,t,r={}){let[n,i,a]=E(e,r),o=e=>{if(!D(e))return;let{target:r}=e,n=t(r,e);if("function"!=typeof n||!r)return;let a=e=>{D(e)&&(n(e),r.removeEventListener("pointerleave",a))};r.addEventListener("pointerleave",a,i)};return n.forEach(e=>{e.addEventListener("pointerenter",o,i)}),a}let S=(e,t)=>!!t&&(e===t||S(e,t.parentElement)),C=e=>
13"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,P=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),j=new WeakSet;function A(e){return t=>{"Enter"===t.key&&e(t)}}function k(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let M=(e,t)=>{let r=e.currentTarget;if(!r)return;let n=A(()=>{if(j.has(r))return;k(r,"down");let e=A(()=>{k(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>k(r,"cancel"),t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)};function N(e){return C(e)&&!(x.x||x.y)}function R(e,t,r={}){let[n,i,a]=E(e,r),o=e=>{let n=e.currentTarget;if(!N(e)||j.has(n))return;j.add(n);let a=t(n,e),o=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),N(e)&&j.has(n)&&(j.delete(n),"function"==typeof a&&a(e,{success:t}))},s=e=>{o(e,r.useGlobalTarget||S(n,e.target))},l=e=>{o(e,!1)};window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",l,i)};return n.forEach(e=>{P.has(e.tagName)||-1!==e.tabIndex||null!==e.getAttribute("tabindex")||(e.tabIndex=0),(r.useGlobalTarget?window:e).addEventListener("pointerdown",o,i),e.addEventListener("focus",e=>M(e,i),i)}),a}function I(e){return"x"===e||"y"===e?x[e]?null:(x[e]=!0,()=>{x[e]=!1}):x.x||x.y?null:(x.x=x.y=!0,()=>{x.x=x.y=!1})}r(4400),r(7726)},5386:function(e,t,r){"use strict";r.d(t,{K:function(){return i},k:function(){return a}});var n=r(7726);let i=n.Z,a=n.Z},942:function(e,t,r){"use strict";function n(e){let t;return()=>(void 0===t&&(t=e()),t)}r.d(t,{X:function(){return n}})},7726:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=e=>e},8946:function(e,t,r){"use strict";r.d(t,{Y:function(){return n}});let n=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n}},4400:function(e,t,r){"use strict";r.d(t,{X:function(){return i},w:function(){return n}});let n=e=>1e3*e,i=e=>e/1e3},483:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(7294);let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var o={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"};let s=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:i=24,strokeWidth:s=2,absoluteStrokeWidth:l,className:c="",children:u,iconNode:d,...p}=e;return(0,n.createElement)("svg",{ref:t,...o,width:i,height:i,stroke:r,strokeWidth:l?24*Number(s)/Number(i):s,className:a("lucide",c),...p},[...d.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(u)?u:[u]])}),l=(e,t)=>{let r=(0,n.forwardRef)((r,o)=>{let{className:l,...c}=r;return(0,n.createElement)(s,{ref:o,iconNode:t,className:a("lucide-".concat(i(e)),l),...c})});return r.displayName="".concat(e),r}},6509:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(483).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},2438:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(483).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},1932:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(483).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},9424:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(483).Z)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},6667:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(483).Z)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},5297:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});let n=(0,r(483).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
13],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},4712:function(e,t,r){"use strict";r.d(t,{Am:function(){return v},x7:function(){return E}});var n=r(7294),i=r(3935),a=e=>{switch(e){case"success":return l;case"info":return u;case"warning":return c;case"error":return d;default:return null}},o=Array(12).fill(0),s=({visible:e,className:t})=>n.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},n.createElement("div",{className:"sonner-spinner"},o.map((e,t)=>n.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),l=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),c=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),u=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),d=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},n.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),p=n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},n.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),n.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),h=()=>{let[e,t]=n.useState(document.hidden);return n.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e},m=1,f=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:r,...n}=e,i="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:m++,a=this.toasts.find(e=>e.id===i),o=void 0===e.dismissible||e.dismissible;return a?this.toasts=this.toasts.map(t=>t.id===i?(this.publish({...t,...e,id:i,title:r}),{...t,...e,id:i,dismissible:o,title:r}):t):this.addToast({title:r,...n,dismissible:o,id:i}),i},this.dismiss=e=>(e||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
13this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{let r;if(!t)return;void 0!==t.loading&&(r=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let i=e instanceof Promise?e:e(),a=void 0!==r,o,s=i.then(async e=>{if(o=["resolve",e],n.isValidElement(e))a=!1,this.create({id:r,type:"default",message:e});else if(g(e)&&!e.ok){a=!1;let n="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,i="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:r,type:"error",message:n,description:i})}else if(void 0!==t.success){a=!1;let n="function"==typeof t.success?await t.success(e):t.success,i="function"==typeof t.description?await t.description(e):t.description;this.create({id:r,type:"success",message:n,description:i})}}).catch(async e=>{if(o=["reject",e],void 0!==t.error){a=!1;let n="function"==typeof t.error?await t.error(e):t.error,i="function"==typeof t.description?await t.description(e):t.description;this.create({id:r,type:"error",message:n,description:i})}}).finally(()=>{var e;a&&(this.dismiss(r),r=void 0),null==(e=t.finally)||e.call(t)}),l=()=>new Promise((e,t)=>s.then(()=>"reject"===o[0]?t(o[1]):e(o[1])).catch(t));return"string"!=typeof r&&"number"!=typeof r?{unwrap:l}:Object.assign(r,{unwrap:l})},this.custom=(e,t)=>{let r=(null==t?void 0:t.id)||m++;return this.create({jsx:e(r),id:r,...t}),r},this.subscribers=[],this.toasts=[]}},g=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,v=Object.assign((e,t)=>{let r=(null==t?void 0:t.id)||m++;return f.addToast({title:e,...t,id:r}),r},{success:f.success,info:f.info,warning:f.warning,error:f.error,custom:f.custom,message:f.message,promise:f.promise,dismiss:f.dismiss,loading:f.loading},{getHistory:()=>f.toasts});function y(e){return void 0!==e.label}function b(...e){return e.filter(Boolean).join(" ")}!function(e,{insertAt:t}={}){if(!e||"undefined"==typeof document)return;let r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===t&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
13left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
13:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
13--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
14`);var x=e=>{var t,r,i,o,l,c,u,d,m,f,g,v,x,w;let{invert:E,toast:D,unstyled:T,interacting:S,setHeights:C,visibleToasts:P,heights:j,index:A,toasts:k,expanded:M,removeToast:N,defaultRichColors:R,closeButton:I,style:F,cancelButtonStyle:L,actionButtonStyle:O,className:B="",descriptionClassName:z="",duration:V,position:W,gap:q,loadingIcon:_,expandByDefault:U,classNames:$,icons:Y,closeButtonAriaLabel:H="Close toast",pauseWhenPageIsHidden:K}=e,[G,Z]=n.useState(null),[X,J]=n.useState(null),[Q,ee]=n.useState(!1),[et,er]=n.useState(!1),[en,ei]=n.useState(!1),[ea,eo]=n.useState(!1),[es,el]=n.useState(!1),[ec,eu]=n.useState(0),[ed,ep]=n.useState(0),eh=n.useRef(D.duration||V||4e3),em=n.useRef(null),ef=n.useRef(null),eg=0===A,ev=A+1<=P,ey=D.type,eb=!1!==D.dismissible,ex=D.className||"",ew=D.descriptionClassName||"",eE=n.useMemo(()=>j.findIndex(e=>e.toastId===D.id)||0,[j,D.id]),eD=n.useMemo(()=>{var e;return null!=(e=D.closeButton)?e:I},[D.closeButton,I]),eT=n.useMemo(()=>D.duration||V||4e3,[D.duration,V]),eS=n.useRef(0),eC=n.useRef(0),eP=n.useRef(0),ej=n.useRef(null),[eA,ek]=W.split("-"),eM=n.useMemo(()=>j.reduce((e,t,r)=>r>=eE?e:e+t.height,0),[j,eE]),eN=h(),eR=D.invert||E,eI="loading"===ey;eC.current=n.useMemo(()=>eE*q+eM,[eE,eM]),n.useEffect(()=>{eh.current=eT},[eT]),n.useEffect(()=>{ee(!0)},[]),n.useEffect(()=>{let e=ef.current;if(e){let t=e.getBoundingClientRect().height;return ep(t),C(e=>[{toastId:D.id,height:t,position:D.position},...e]),()=>C(e=>e.filter(e=>e.toastId!==D.id))}},[C,D.id]),n.useLayoutEffect(()=>{if(!Q)return;let e=ef.current,t=e.style.height;e.style.height="auto";let r=e.getBoundingClientRect().height;e.style.height=t,ep(r),C(e=>e.find(e=>e.toastId===D.id)?e.map(e=>e.toastId===D.id?{...e,height:r}:e):[{toastId:D.id,height:r,position:D.position},...e])},[Q,D.title,D.description,C,D.id]);let eF=n.useCallback(()=>{er(!0),eu(eC.current),C(e=>e.filter(e=>e.toastId!==D.id)),setTimeout(()=>{N(D)},200)},[D,N,C,eC]);return n.useEffect(()=>{let e;if((!D.promise||"loading"!==ey)&&D.duration!==1/0&&"loading"!==D.type)return M||S||K&&eN?(()=>{if(eP.current<eS.current){let e=new Date().getTime()-eS.current;eh.current=eh.current-e}
14eP.current=new Date().getTime()})():eh.current!==1/0&&(eS.current=new Date().getTime(),e=setTimeout(()=>{var e;null==(e=D.onAutoClose)||e.call(D,D),eF()},eh.current)),()=>clearTimeout(e)},[M,S,D,ey,K,eN,eF]),n.useEffect(()=>{D.delete&&eF()},[eF,D.delete]),n.createElement("li",{tabIndex:0,ref:ef,className:b(B,ex,null==$?void 0:$.toast,null==(t=null==D?void 0:D.classNames)?void 0:t.toast,null==$?void 0:$.default,null==$?void 0:$[ey],null==(r=null==D?void 0:D.classNames)?void 0:r[ey]),"data-sonner-toast":"","data-rich-colors":null!=(i=D.richColors)?i:R,"data-styled":!(D.jsx||D.unstyled||T),"data-mounted":Q,"data-promise":!!D.promise,"data-swiped":es,"data-removed":et,"data-visible":ev,"data-y-position":eA,"data-x-position":ek,"data-index":A,"data-front":eg,"data-swiping":en,"data-dismissible":eb,"data-type":ey,"data-invert":eR,"data-swipe-out":ea,"data-swipe-direction":X,"data-expanded":!!(M||U&&Q),style:{"--index":A,"--toasts-before":A,"--z-index":k.length-A,"--offset":`${et?ec:eC.current}px`,"--initial-height":U?"auto":`${ed}px`,...F,...D.style},onPointerDown:e=>{eI||!eb||(em.current=new Date,eu(eC.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(ei(!0),ej.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,r,n;if(ea||!eb)return;ej.current=null;let i=Number((null==(e=ef.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),a=Number((null==(t=ef.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),o=new Date().getTime()-(null==(r=em.current)?void 0:r.getTime()),s="x"===G?i:a;if(Math.abs(s)>=20||Math.abs(s)/o>.11){eu(eC.current),null==(n=D.onDismiss)||n.call(D,D),J("x"===G?i>0?"right":"left":a>0?"down":"up"),eF(),eo(!0),el(!1);return}ei(!1),Z(null)},onPointerMove:t=>{var r,n,i,a;if(!ej.current||!eb||(null==(r=window.getSelection())?void 0:r.toString().length)>0)return;let o=t.clientY-ej.current.y,s=t.clientX-ej.current.x,l=null!=(n=e.swipeDirections)?n:function(e){let[t,r]=e.split("-"),n=[];return t&&n.push(t),r&&n.push(r),n}(W);!G&&(Math.abs(s)>1||Math.abs(o)>1)&&Z(Math.abs(s)>Math.abs(o)?"x":"y");let c={x:0,y:0};"y"===G?(l.includes("top")||l.includes("bottom"))&&(l.includes("top")&&o<0||l.includes("bottom")&&o>0)&&(c.y=o):"x"===G&&(l.includes("left")||l.includes("right"))&&(l.includes("left")&&s<0||l.includes("right")&&s>0)&&(c.x=s),(Math.abs(c.x)>0||Math.abs(c.y)>0)&&el(!0),null==(i=ef.current)||i.style.setProperty("--swipe-amount-x",`${c.x}px`),null==(a=ef.current)||a.style.setProperty("--swipe-amount-y",`${c.y}px`)}},eD&&!D.jsx?n.createElement("button",{"aria-label":H,"data-disabled":eI,"data-close-button":!0,onClick:eI||!eb?()=>{}:()=>{var e;eF(),null==(e=D.onDismiss)||e.call(D,D)},className:b(null==$?void 0:$.closeButton,null==(o=null==D?void 0:D.classNames)?void 0:o.closeButton)},null!=(l=null==Y?void 0:Y.close)?l:p):null,D.jsx||(0,n.isValidElement)(D.title)?D.jsx?D.jsx:"function"==typeof D.title?D.title():D.title:n.createElement(n.Fragment,null,ey||D.icon||D.promise?n.createElement("div",{"data-icon":"",className:b(null==$?void 0:$.icon,null==(c=null==D?void 0:D.classNames)?void 0:c.icon)},D.promise||"loading"===D.type&&!D.icon?D.icon||(null!=Y&&Y.loading?n.createElement("div",{className:b(null==$?void 0:$.loader,null==(v=null==D?void 0:D.classNames)?void 0:v.loader,"sonner-loader"),"data-visible":"loading"===ey},Y.loading):_?n.createElement("div",{className:b(null==$?void 0:$.loader,null==(x=null==D?void 0:D.classNames)?void 0:x.loader,"sonner-loader"),"data-visible":"loading"===ey},_):n.createElement(s,{className:b(null==$?void 0:$.loader,null==(w=null==D?void 0:D.classNames)?void 0:w.loader),visible:"loading"===ey})):null,"loading"!==D.type?D.icon||(null==Y?void 0:Y[ey])||a(ey):null):null,n.createElement("div",{"data-content":"",className:b(null==$?void 0:$.content,null==(u=null==D?void 0:D.classNames)?void 0:u.content)},n.createElement("div",{"data-title":"",className:b(null==$?void 0:$.title,null==(d=null==D?void 0:D.classNames)?void 0:d.title)},"function"==typeof D.title?D.title():D.title),D.description?n.createElement("div",{"data-description":"",className:b(z,ew,null==$?void 0:$.description,null==(m
14=null==D?void 0:D.classNames)?void 0:m.description)},"function"==typeof D.description?D.description():D.description):null),(0,n.isValidElement)(D.cancel)?D.cancel:D.cancel&&y(D.cancel)?n.createElement("button",{"data-button":!0,"data-cancel":!0,style:D.cancelButtonStyle||L,onClick:e=>{var t,r;y(D.cancel)&&eb&&(null==(r=(t=D.cancel).onClick)||r.call(t,e),eF())},className:b(null==$?void 0:$.cancelButton,null==(f=null==D?void 0:D.classNames)?void 0:f.cancelButton)},D.cancel.label):null,(0,n.isValidElement)(D.action)?D.action:D.action&&y(D.action)?n.createElement("button",{"data-button":!0,"data-action":!0,style:D.actionButtonStyle||O,onClick:e=>{var t,r;y(D.action)&&(null==(r=(t=D.action).onClick)||r.call(t,e),e.defaultPrevented||eF())},className:b(null==$?void 0:$.actionButton,null==(g=null==D?void 0:D.classNames)?void 0:g.actionButton)},D.action.label):null))};function w(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}var E=(0,n.forwardRef)(function(e,t){let{invert:r,position:a="bottom-right",hotkey:o=["altKey","KeyT"],expand:s,closeButton:l,className:c,offset:u,mobileOffset:d,theme:p="light",richColors:h,duration:m,style:g,visibleToasts:v=3,toastOptions:y,dir:b=w(),gap:E=14,loadingIcon:D,icons:T,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:C}=e,[P,j]=n.useState([]),A=n.useMemo(()=>Array.from(new Set([a].concat(P.filter(e=>e.position).map(e=>e.position)))),[P,a]),[k,M]=n.useState([]),[N,R]=n.useState(!1),[I,F]=n.useState(!1),[L,O]=n.useState("system"!==p?p:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),B=n.useRef(null),z=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),V=n.useRef(null),W=n.useRef(!1),q=n.useCallback(e=>{j(t=>{var r;return null!=(r=t.find(t=>t.id===e.id))&&r.delete||f.dismiss(e.id),t.filter(({id:t})=>t!==e.id)})},[]);return n.useEffect(()=>f.subscribe(e=>{if(e.dismiss){j(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t));return}setTimeout(()=>{i.flushSync(()=>{j(t=>{let r=t.findIndex(t=>t.id===e.id);return -1!==r?[...t.slice(0,r),{...t[r],...e},...t.slice(r+1)]:[e,...t]})})})}),[]),n.useEffect(()=>{if("system"!==p){O(p);return}if("system"===p&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?O("dark"):O("light")),"undefined"==typeof window)return;let e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",({matches:e})=>{O(e?"dark":"light")})}catch(t){e.addListener(({matches:e})=>{try{O(e?"dark":"light")}catch(e){console.error(e)}})}},[p]),n.useEffect(()=>{P.length<=1&&R(!1)},[P]),n.useEffect(()=>{let e=e=>{var t,r;o.every(t=>e[t]||e.code===t)&&(R(!0),null==(t=B.current)||t.focus()),"Escape"===e.code&&(document.activeElement===B.current||null!=(r=B.current)&&r.contains(document.activeElement))&&R(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[o]),n.useEffect(()=>{if(B.current)return()=>{V.current&&(V.current.focus({preventScroll:!0}),V.current=null,W.current=!1)}},[B.current]),n.createElement("section",{ref:t,"aria-label":`${S} ${z}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},A.map((t,i)=>{var a;let o;let[p,f]=t.split("-");return P.length?n.createElement("ol",{key:t,dir:"auto"===b?w():b,tabIndex:-1,ref:B,className:c,"data-sonner-toaster":!0,"data-theme":L,"data-y-position":p,"data-lifted":N&&P.length>1&&!s,"data-x-position":f,style:{"--front-toast-height":`${(null==(a=k[0])?void 0:a.height)||0}px`,"--width":"356px","--gap":`${E}px`,...g,...(o={},[u,d].forEach((e,t)=>{let r=1===t,n=r?"--mobile-offset":"--offset",i=r?"16px":"32px";function a(e){["top","right","bottom","left"].forEach(t=>{o[`${n}-${t}`]="number"==typeof e?`${e}px`:e})}"number"==typeof e||"string"==typeof e?a(e):"object"==typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?o[`${n}-${t}`]=i:o[`${n}-${t}`]="number"==typeof e[t]?`${e[t]}px`:e[t]}):a(i)}),o)},onBlur:e=>{W.current&&!e.currentTarget.contains(e.relatedTarget)&&(W.current=!1,V.current&&(V.current.focus({preventScroll:!0}),V.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||W.current||(W.current=!0,V.current=e.relatedTarget)},onMouseEnter:()=>R(!0),onMouseMove:()=>R(!0),onMouseLeave:()=>{I||R(!1)},onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||F(!0)},onPointerUp:()=>F(!1)},P.filter(e=>!e.position&&0===i||e.position===t).map((i,a)=>{var o,c;return n.createElement(x,{key:i.id,icons:T,index:a,toast:i,defaultRichColors:h,duration:null!=(o=null==y?void 0:y.duration)?o:m,className:null==y?void 0:y.className,descriptionClassName:null==y?void 0:y.descriptionClassName,invert:r,visibleToasts:v,closeButton:null!=(c=null==y?void 0:y.closeButton)?c:l,interacting:I,position:t,style:null==y?void 0:y.style,unstyled:null==y?void 0:y.unstyled,classNames:null==y?void 0:y.classNames,cancelButtonStyle:null==y?void 0:y.cancelButtonStyle,actionButtonStyle:null==y?void 0:y.actionButtonStyle,removeToast:q,toasts:P.filter(e=>e.position==i.position),heights:k.filter(e=>e.position==i.position),setHeights:M,expandByDefault:s,gap:E,loadingIcon:D,expanded:N,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))})},7582:function(e,t,r){"use strict";r.d(t,{_T:function(){return i},ev:function(){return a},pi:function(){return n}});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function a(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return t(6840),t(9090)}),_N_E=e.O()}]);

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.