PageSourceSearch

https://puzzlepave.com/_next/static/chunks/749-db89e7739afe4ae9.js

js puzzlepave.com collected 2026-10-04 10:08:53 UTC 184,602 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[749],{530:(t,e,i)=>{"use strict";i.d(e,{UC:()=>to,Y9:()=>tr,q7:()=>tn,bL:()=>ti,l9:()=>ts});var n=i(11180),r=i(36104),s=i(80449),o=i(50318),a=i(54435),l=i(91309),u=i(72248),h=i(45925),c=i(72882),d=i(20417),p=i(95296),f="Collapsible",[m,g]=(0,r.A)(f),[y,v]=m(f),w=n.forwardRef((t,e)=>{let{__scopeCollapsible:i,open:r,defaultOpen:s,disabled:o,onOpenChange:a,...h}=t,[c,m]=(0,l.i)({prop:r,defaultProp:null!=s&&s,onChange:a,caller:f});return(0,p.jsx)(y,{scope:i,disabled:o,contentId:(0,d.B)(),open:c,onOpenToggle:n.useCallback(()=>m(t=>!t),[m]),children:(0,p.jsx)(u.sG.div,{"data-state":T(c),"data-disabled":o?"":void 0,...h,ref:e})})});w.displayName=f;var x="CollapsibleTrigger",b=n.forwardRef((t,e)=>{let{__scopeCollapsible:i,...n}=t,r=v(x,i);return(0,p.jsx)(u.sG.button,{type:"button","aria-controls":r.contentId,"aria-expanded":r.open||!1,"data-state":T(r.open),"data-disabled":r.disabled?"":void 0,disabled:r.disabled,...n,ref:e,onClick:(0,a.mK)(t.onClick,r.onOpenToggle)})});b.displayName=x;var C="CollapsibleContent",S=n.forwardRef((t,e)=>{let{forceMount:i,...n}=t,r=v(C,t.__scopeCollapsible);return(0,p.jsx)(c.C,{present:i||r.open,children:t=>{let{present:i}=t;return(0,p.jsx)(k,{...n,ref:e,present:i})}})});S.displayName=C;var k=n.forwardRef((t,e)=>{let{__scopeCollapsible:i,present:r,children:s,...a}=t,l=v(C,i),[c,d]=n.useState(r),f=n.useRef(null),m=(0,o.s)(e,f),g=n.useRef(0),y=g.current,w=n.useRef(0),x=w.current,b=l.open||c,S=n.useRef(b),k=n.useRef(void 0);return n.useEffect(()=>{let t=requestAnimationFrame(()=>S.current=!1);return()=>cancelAnimationFrame(t)},[]),(0,h.N)(()=>{let t=f.current;if(t){k.current=k.current||{transitionDuration:t.style.transitionDuration,animationName:t.style.animationName},t.style.transitionDuration="0s",t.style.animationName="none";let e=t.getBoundingClientRect();g.current=e.height,w.current=e.width,S.current||(t.style.transitionDuration=k.current.transitionDuration,t.style.animationName=k.current.animationName),d(r)}},[l.open,r]),(0,p.jsx)(u.sG.div,{"data-state":T(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!b,...a,ref:m,style:{"--radix-collapsible-content-height":y?"".concat(y,"px"):void 0,"--radix-collapsible-content-width":x?"".concat(x,"px"):void 0,...t.style},children:b&&s})});function T(t){return t?"open":"closed"}var P=i(63225),A="Accordion",M=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[E,j,R]=(0,s.N)(A),[L,V]=(0,r.A)(A,[R,g]),D=g(),B=n.forwardRef((t,e)=>{let{type:i,...n}=t;return(0,p.jsx)(E.Provider,{scope:t.__scopeAccordion,children:"multiple"===i?(0,p.jsx)(W,{...n,ref:e}):(0,p.jsx)(U,{...n,ref:e})})});B.displayName=A;var[O,F]=L(A),[N,I]=L(A,{collapsible:!1}),U=n.forwardRef((t,e)=>{let{value:i,defaultValue:r,onValueChange:s=()=>{},collapsible:o=!1,...a}=t,[u,h]=(0,l.i)({prop:i,defaultProp:null!=r?r:"",onChange:s,caller:A});return(0,p.jsx)(O,{scope:t.__scopeAccordion,value:n.useMemo(()=>u?[u]:[],[u]),onItemOpen:h,onItemClose:n.useCallback(()=>o&&h(""),[o,h]),children:(0,p.jsx)(N,{scope:t.__scopeAccordion,collapsible:o,children:(0,p.jsx)(H,{...a,ref:e})})})}),W=n.forwardRef((t,e)=>{let{value:i,defaultValue:r,onValueChange:s=()=>{},...o}=t,[a,u]=(0,l.i)({prop:i,defaultProp:null!=r?r:[],onChange:s,caller:A}),h=n.useCallback(t=>u(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...e,t]}),[u]),c=n.useCallback(t=>u(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter(e=>e!==t)}),[u]);return(0,p.jsx)(O,{scope:t.__scopeAccordion,value:a,onItemOpen:h,onItemClose:c,children:(0,p.jsx)(N,{scope:t.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(H,{...o,ref:e})})})}),[z,_]=L(A),H=n.forwardRef((t,e)=>{let{__scopeAccordion:i,disabled:r,dir:s,orientation:l="vertical",...h}=t,c=n.useRef(null),d=(0,o.s)(c,e),f=j(i),m="ltr"===(0,P.jH)(s),g=(0,a.mK)(t.onKeyDown,t=>{var e;if(!M.includes(t.key))return;let i=t.target,n=f().filter(t=>{var e;return!(null==(e=t.ref.current)?void 0:e.disabled)}),r=n.findIndex(t=>t.ref.current===i),s=n.length;if(-1===r)return;t.preventDefault();let o=r,a=s-1,u=()=>{(o=r+1)>a&&(o=0)},h=()=>{(o=r-1)<0&&(o=a)};switch(t.key){case"Home":o=0;break;case"End":o=a;break;case"ArrowRight":"horizontal"===l&&(m?u():h());break;case"ArrowDown":"vertical"===l&&u();break;case"ArrowLeft":"horizontal"===l&&(m?h():u());break;case"ArrowUp":"vertical"===l&&h()}null==(e=n[o%s].ref.current)||e.focus()});return(0,p.jsx)(z,{scope:i,disabled:r,direction:s,orientation:l,children:(0,p.jsx)(E.Slot,{scope:i,children:(0,p.jsx)(u.sG.div,{...h,"data-orientation":l,ref:d,onKeyDown:r?void 0:g})})})}),$="AccordionItem",[K,Y]=L($),Z=n.forwardRef((t,e)=>{let{__scopeAccordion:i,value:n,...r}=t,s=_($,i),o=F($,i),a=D(i),l=(0,d.B)(),u=n&&o.value.includes(n)||!1,h=s.disabled||t.disabled;return(0,p.jsx)(K,{scope:i,open:u,disabled:h,triggerId:l,children:(0,p.jsx)(w,{"data-orientation":s.orientation,"data-state":te(u),...a,...r,ref:e,disabled:h,open:u,onOpenChange:t=>{t?o.onItemOpen(n):o.onItemClose(n)}})})});Z.displayName=$;var X="AccordionHeader",G=n.forwardRef((t,e)=>{let{__scopeAccordion:i,...n}=t,r=_(A,i),s=Y(X,i);return(0,p.jsx)(u.sG.h3,{"data-orientation":r.orientation,"data-state":te(s.open),"data-disabled":s.disabled?"":void 0,...n,ref:e})});G.displayName=X;var q="AccordionTrigger",J=n.forwardRef((t,e)=>{let{__scopeAccordion:i,...n}=t,r=_(A,i),s=Y(q,i),o=I(q,i),a=D(i);return(0,p.jsx)(E.ItemSlot,{scope:i,children:(0,p.jsx)(b,{"aria-disabled":s.open&&!o.collapsible||void 0,"data-orientation":r.orientation,id:s.triggerId,...a,...n,ref:e})})});J.displayName=q;var Q="AccordionContent",tt=n.forwardRef((t,e)=>{let{__scopeAccordion:i,...n}=t,r=_(A,i),s=Y(Q,i),o=D(i);return(0,p.jsx)(S,{role:"region","aria-labelledby":s.triggerId,"data-orientation":r.orientation,...o,...n,ref:e,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...t.style}})});function te(t){return t?"open":"closed"}
1tt.displayName=Q;var ti=B,tn=Z,tr=G,ts=J,to=tt},1514:(t,e)=>{var i;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var t="",e=0;e<arguments.length;e++){var i=arguments[e];i&&(t=s(t,function(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return r.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var i in t)n.call(t,i)&&t[i]&&(e=s(e,i));return e}(i)))}return t}function s(t,e){return e?t?t+" "+e:t+e:t}t.exports?(r.default=r,t.exports=r):void 0===(i=(function(){return r}).apply(e,[]))||(t.exports=i)}()},2786:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{default:function(){return g},useLinkStatus:function(){return v}});let n=i(62496),r=i(95296),s=n._(i(11180)),o=i(21869),a=i(52563),l=i(55782),u=i(10399),h=i(72353);i(60166);let c=i(26010),d=i(14960),p=i(87746);i(47668);let f=i(98125);function m(t){return"string"==typeof t?t:(0,o.formatUrl)(t)}function g(t){var e;let i,n,o,[g,v]=(0,s.useOptimistic)(c.IDLE_LINK_STATUS),w=(0,s.useRef)(null),{href:x,as:b,children:C,prefetch:S=null,passHref:k,replace:T,shallow:P,scroll:A,onClick:M,onMouseEnter:E,onTouchStart:j,legacyBehavior:R=!1,onNavigate:L,ref:V,unstable_dynamicOnHover:D,...B}=t;i=C,R&&("string"==typeof i||"number"==typeof i)&&(i=(0,r.jsx)("a",{children:i}));let O=s.default.useContext(a.AppRouterContext),F=!1!==S,N=!1!==S?null===(e=S)||"auto"===e?f.FetchStrategy.PPR:f.FetchStrategy.Full:f.FetchStrategy.PPR,{href:I,as:U}=s.default.useMemo(()=>{let t=m(x);return{href:t,as:b?m(b):t}},[x,b]);R&&(n=s.default.Children.only(i));let W=R?n&&"object"==typeof n&&n.ref:V,z=s.default.useCallback(t=>(null!==O&&(w.current=(0,c.mountLinkInstance)(t,I,O,N,F,v)),()=>{w.current&&((0,c.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,c.unmountPrefetchableInstance)(t)}),[F,I,O,N,v]),_={ref:(0,l.useMergedRef)(z,W),onClick(t){R||"function"!=typeof M||M(t),R&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(t),O&&(t.defaultPrevented||function(t,e,i,n,r,o,a){let{nodeName:l}=t.currentTarget;if(!("A"===l.toUpperCase()&&function(t){let e=t.currentTarget.getAttribute("target");return e&&"_self"!==e||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which}(t)||t.currentTarget.hasAttribute("download"))){if(!(0,d.isLocalURL)(e)){r&&(t.preventDefault(),location.replace(e));return}if(t.preventDefault(),a){let t=!1;if(a({preventDefault:()=>{t=!0}}),t)return}s.default.startTransition(()=>{(0,p.dispatchNavigateAction)(i||e,r?"replace":"push",null==o||o,n.current)})}}(t,I,U,w,T,A,L))},onMouseEnter(t){R||"function"!=typeof E||E(t),R&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(t),O&&F&&(0,c.onNavigationIntent)(t.currentTarget,!0===D)},onTouchStart:function(t){R||"function"!=typeof j||j(t),R&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(t),O&&F&&(0,c.onNavigationIntent)(t.currentTarget,!0===D)}};return(0,u.isAbsoluteUrl)(U)?_.href=U:R&&!k&&("a"!==n.type||"href"in n.props)||(_.href=(0,h.addBasePath)(U)),o=R?s.default.cloneElement(n,_):(0,r.jsx)("a",{...B,..._,children:i}),(0,r.jsx)(y.Provider,{value:g,children:o})}let y=(0,s.createContext)(c.IDLE_LINK_STATUS),v=()=>(0,s.useContext)(y);("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},10399:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{DecodeError:function(){return f},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return y},NormalizeError:function(){return m},PageNotFoundError:function(){return g},SP:function(){return d},ST:function(){return p},WEB_VITALS:function(){return i},execOnce:function(){return n},getDisplayName:function(){return l},getLocationOrigin:function(){return o},getURL:function(){return a},isAbsoluteUrl:function(){return s},isResSent:function(){return u},loadGetInitialProps:function(){return c}
1,normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return w}});let i=["CLS","FCP","FID","INP","LCP","TTFB"];function n(t){let e,i=!1;return function(){for(var n=arguments.length,r=Array(n),s=0;s<n;s++)r[s]=arguments[s];return i||(i=!0,e=t(...r)),e}}let r=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=t=>r.test(t);function o(){let{protocol:t,hostname:e,port:i}=window.location;return t+"//"+e+(i?":"+i:"")}function a(){let{href:t}=window.location,e=o();return t.substring(e.length)}function l(t){return"string"==typeof t?t:t.displayName||t.name||"Unknown"}function u(t){return t.finished||t.headersSent}function h(t){let e=t.split("?");return e[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(e[1]?"?"+e.slice(1).join("?"):"")}async function c(t,e){let i=e.res||e.ctx&&e.ctx.res;if(!t.getInitialProps)return e.ctx&&e.Component?{pageProps:await c(e.Component,e.ctx)}:{};let n=await t.getInitialProps(e);if(i&&u(i))return n;if(!n)throw Object.defineProperty(Error('"'+l(t)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let d="undefined"!=typeof performance,p=d&&["mark","measure","getEntriesByName"].every(t=>"function"==typeof performance[t]);class f extends Error{}class m extends Error{}class g extends Error{constructor(t){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+t}}class y extends Error{constructor(t,e){super(),this.message="Failed to load static file for page: "+t+" "+e}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(t){return JSON.stringify({message:t.message,stack:t.stack})}},11422:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(64454).A)("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},14897:(t,e,i)=>{var n;function r(t){function i(){if(i.enabled){var t=+new Date;i.diff=t-(n||t),i.prev=n,i.curr=t,n=t;for(var r=Array(arguments.length),s=0;s<r.length;s++)r[s]=arguments[s];r[0]=e.coerce(r[0]),"string"!=typeof r[0]&&r.unshift("%O");var o=0;r[0]=r[0].replace(/%([a-zA-Z%])/g,function(t,n){if("%%"===t)return t;o++;var s=e.formatters[n];if("function"==typeof s){var a=r[o];t=s.call(i,a),r.splice(o,1),o--}return t}),e.formatArgs.call(i,r),(i.log||e.log||console.log.bind(console)).apply(i,r)}}return i.namespace=t,i.enabled=e.enabled(t),i.useColors=e.useColors(),i.color=function(t){var i,n=0;for(i in t)n=(n<<5)-n+t.charCodeAt(i)|0;return e.colors[Math.abs(n)%e.colors.length]}(t),"function"==typeof e.init&&e.init(i),i}(e=t.exports=r.debug=r.default=r).coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){e.enable("")},e.enable=function(t){e.save(t),e.names=[],e.skips=[];for(var i=("string"==typeof t?t:"").split(/[\s,]+/),n=i.length,r=0;r<n;r++)i[r]&&("-"===(t=i[r].replace(/\*/g,".*?"))[0]?e.skips.push(RegExp("^"+t.substr(1)+"$")):e.names.push(RegExp("^"+t+"$")))},e.enabled=function(t){var i,n;for(i=0,n=e.skips.length;i<n;i++)if(e.skips[i].test(t))return!1;for(i=0,n=e.names.length;i<n;i++)if(e.names[i].test(t))return!0;return!1},e.humanize=i(44642),e.names=[],e.skips=[],e.formatters={}},14960:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isLocalURL",{enumerable:!0,get:function(){return s}});let n=i(10399),r=i(55974);function s(t){if(!(0,n.isAbsoluteUrl)(t))return!0;try{let e=(0,n.getLocationOrigin)(),i=new URL(t,e);return i.origin===e&&(0,r.hasBasePath)(i.pathname)}catch(t){return!1}}},21869:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{formatUrl:function(){return s},formatWithValidation:function(){return a},urlObjectKeys:function(){return o}});let n=i(62496)._(i(80083)),r=/https?|ftp|gopher|file/;function s(t){let{auth:e,hostname:i}=t,s=t.protocol||"",o=t.pathname||"",a=t.hash||"",l=t.query||"",u=!1;e=e?encodeURIComponent(e).replace(/%3A/i,":")+"@":"",t.host?u=e+t.host:i&&(u=e+(~i.indexOf(":")?"["+i+"]":i),t.port&&(u+=":"+t.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let h=t.search||l&&"?"+l||"";return s&&!s.endsWith(":")&&(s+=":"),t.slashes||(!s||r.test(s))&&!1!==u?(u="//"+(u||""),o&&"/"!==o[0]&&(o="/"+o)):u||(u=""),a&&"#"!==a[0]&&(a="#"+a),h&&"?"!==h[0]&&(h="?"+h),""+s+u+(o=o.replace(/[?#]/g,encodeURIComponent))+(h=h.replace("#","%23"))+a}let o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function a(t){return s(t)}},22082:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});let n=(0,i(64454).A)("ChevronsRight",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]])},28690:(t,e,i)=>{"use strict";i.d(e,{AC:()=>te,AI:()=>J,Ec:()=>_,G:()=>tl,Hu:()=>tT,Kz:()=>tV,Lf:()=>B,Lw:()=>F,Nl:()=>Y,Ot:()=>P,RG:()=>M,Rx:()=>N,SU:()=>tk,Tc:()=>tv,VI:()=>tf,Y4:()=>tR,_G:()=>th,_z:()=>H,aT:()=>tM,aZ:()=>k,e:()=>tC,hZ:()=>td,iZ:()=>ta,ik:()=>A,in:()=>tg,kA:()=>G,kQ:()=>tO,lw:()=>U,mJ:()=>tj,oB:()=>tr,r6:()=>tb,rx:()=>tA,s4:()=>W,sE:()=>tD,tD:()=>j,uH:()=>Q,uI:()=>L,uv:()=>tF,wY:()=>ts,wk:()=>K,xU:()=>X,yY:()=>ti});var n=i(95296),r=i(11180),s=i(1514),o=i(93959),a=Object.defineProperty,l=Object.defineProperties,u=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,p=(t,e,i)=>e in t?a(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,f=(t,e)=>{for(var i in e||(e={}))c.call(e,i)&&p(t,i,e[i]);if(h)for(var i of h(e))d.call(e,i)&&p(t,i,e[i]);return t},m=(t,e)=>l(t,u(e)),g=(t,e)=>{var i={};for(var n in t)c.call(t,n)&&0>e.indexOf(n)&&(i[n]=t[n]);if(null!=t&&h)for(var n of h(t))0>e.indexOf(n)&&d.call(t,n)&&(i[n]=t[n]);return i};function y(t){var{bgStyle:e={}
1,borderRadius:i=0,children:s,color:o,iconFillColor:a="white",round:l=!1,size:u=64}=t,h=g(t,["bgStyle","borderRadius","children","color","iconFillColor","round","size"]);let c=r.Children.map(s,t=>(0,r.isValidElement)(t)&&void 0===t.props.fill?(0,r.cloneElement)(t,{fill:a}):t);return(0,n.jsxs)("svg",m(f({viewBox:"0 0 64 64",width:u,height:u},h),{children:[l?(0,n.jsx)("circle",{cx:"32",cy:"32",r:"32",fill:o,style:e}):(0,n.jsx)("rect",{width:"64",height:"64",rx:i,ry:i,fill:o,style:e}),c]}))}class v extends Error{constructor(t){super(t),this.name="AssertionError"}}function w(t,e){if(!t)throw new v(e)}function x(t){let e=Object.entries(t).filter(([,t])=>null!=t).map(([t,e])=>`${encodeURIComponent(t)}=${encodeURIComponent(String(e))}`);return e.length>0?`?${e.join("&")}`:""}let b={bluesky:"Share on Bluesky",email:"Share by email",facebook:"Share on Facebook",facebookmessenger:"Share in Messenger",gab:"Share on Gab",hatena:"Share on Hatena",instapaper:"Save to Instapaper",line:"Share on Line",linkedin:"Share on LinkedIn",livejournal:"Share on LiveJournal",mailru:"Share on Mail.ru",ok:"Share on OK",pinterest:"Pin on Pinterest",pocket:"Save to Pocket",reddit:"Share on Reddit",telegram:"Share on Telegram",threads:"Share on Threads",tumblr:"Share on Tumblr",twitter:"Share on X",viber:"Share on Viber",vk:"Share on VK",weibo:"Share on Weibo",whatsapp:"Share on WhatsApp",workplace:"Share on Workplace"};function C(t){var{"aria-label":e,"aria-labelledby":i,beforeOnClick:o,children:a,className:l,disabled:u,disabledStyle:h={opacity:.6},forwardedRef:c,htmlTitle:d,networkLink:p,networkName:y,onClick:v,onShareWindowClose:w,openShareDialogOnClick:x=!0,opts:C,resetButtonStyle:S=!0,style:k,title:T,type:P="button",url:A,windowHeight:M=400,windowPosition:E="windowCenter",windowWidth:j=550}=t,R=g(t,["aria-label","aria-labelledby","beforeOnClick","children","className","disabled","disabledStyle","forwardedRef","htmlTitle","networkLink","networkName","onClick","onShareWindowClose","openShareDialogOnClick","opts","resetButtonStyle","style","title","type","url","windowHeight","windowPosition","windowWidth"]);let L=function(t){var e;let i=r.Children.toArray(t);if(1!==i.length)return;let[n]=i;if((0,r.isValidElement)(n))return n.props.round?"50%":null!=(e=n.props.borderRadius)?e:0}(a),V=e||i||function t(e){return r.Children.toArray(e).some(e=>"string"==typeof e?e.trim().length>0:"number"==typeof e||!!(0,r.isValidElement)(e)&&t(e.props.children))}(a)?void 0:b[y],D=async t=>{if(u)return;let e=p(A,C);if(t.preventDefault(),o){let t=o();t&&("object"==typeof t||"function"==typeof t)&&"then"in t&&"function"==typeof t.then&&await t}x&&!function(t,e,i){var{height:n,width:r}=e;let s=f({height:n,width:r,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes"},g(e,["height","width"])),o=window.open(t,"",Object.keys(s).map(t=>`${t}=${s[t]}`).join(", "));if(i){let t=window.setInterval(()=>{try{(null===o||o.closed)&&(window.clearInterval(t),i(o))}catch(t){console.error(t)}},1e3)}}(e,f({height:M,width:j},"windowCenter"===E?{left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-j/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-M/2}:{top:(window.screen.height-M)/2,left:(window.screen.width-j)/2}),w);v&&v(t,e)},B=s("react-share__ShareButton",{"react-share__ShareButton--disabled":!!u,disabled:!!u},l),O=S?f(f({backgroundColor:"transparent",border:"none",padding:0,display:"inline-flex",borderRadius:L,outlineOffset:2,font:"inherit",color:"inherit",cursor:"pointer"},k),u&&h):f(f({},k),u&&h);return(0,n.jsx)("button",m(f({},R),{"aria-label":e||V,"aria-labelledby":i,className:B,disabled:u,onClick:D,ref:c,style:O,title:d,type:P,children:a}))}function S(t,{title:e,separator:i}){return w(t,"bluesky.url"),"https://bsky.app/intent/compose"+x({text:e?e+i+t:t})}function k(t){return(0,n.jsx)(y,m(f({color:"#7f7f7f"},t),{children:(0,n.jsx)("path",{d:"M17,22v20h30V22H17z M41.1,25L32,32.1L22.9,25H41.1z M20,39V26.6l12,9.3l12-9.3V39H20z"})}))}function T(t,{subject:e,body:i,separator:n}){return"mailto:"+x({subject:e,body:i?i+n+t:t})}(0,r.forwardRef)((t,e)=>{var{separator:i,title:r}=t,s=g(t,["separator","title"]);return(0,n.jsx)(C,m(f({},s),{forwardedRef:e,networkName:"bluesky",networkLink:S,opts:{title:r,separator:i||" "},windowHeight:460,windowPosition:"windowCenter",windowWidth:660}))}).displayName="BlueskyShareButton";let P=(0,r.forwardRef)((t,e)=>{var{body:i,separator:r,subject:s}=t,o=g(t,["body","separator","subject"]);return(0,n.jsx)(C,m(f({},o),{forwardedRef:e,networkName:"email",networkLink:T,onClick:(t,e)=>{window.location.href=e},openShareDialogOnClick:!1,opts:{subject:s,body:i,separator:r||" "}}
1))});function A(t){return(0,n.jsx)(y,m(f({color:"#0866FF"},t),{children:(0,n.jsx)("path",{d:"M34.1,47V33.3h4.6l0.7-5.3h-5.3v-3.4c0-1.5,0.4-2.6,2.6-2.6l2.8,0v-4.8c-0.5-0.1-2.2-0.2-4.1-0.2 c-4.1,0-6.9,2.5-6.9,7V28H24v5.3h4.6V47H34.1z"})}))}function M(t){return(0,n.jsx)(y,m(f({color:"#0866FF"},t),{children:(0,n.jsx)("path",{d:"M 53.066406 21.871094 C 52.667969 21.339844 51.941406 21.179688 51.359375 21.496094 L 37.492188 29.058594 L 28.867188 21.660156 C 28.339844 21.207031 27.550781 21.238281 27.054688 21.730469 L 11.058594 37.726562 C 10.539062 38.25 10.542969 39.09375 11.0625 39.613281 C 11.480469 40.027344 12.121094 40.121094 12.640625 39.839844 L 26.503906 32.28125 L 35.136719 39.679688 C 35.667969 40.132812 36.457031 40.101562 36.949219 39.609375 L 52.949219 23.613281 C 53.414062 23.140625 53.464844 22.398438 53.066406 21.871094 Z M 53.066406 21.871094"})}))}function E(t,{appId:e,redirectUri:i,to:n}){return"https://www.facebook.com/dialog/send"+x({link:t,redirect_uri:i||t,app_id:e,to:n})}P.displayName="EmailShareButton";let j=(0,r.forwardRef)((t,e)=>{var{appId:i,redirectUri:r,to:s}=t,o=g(t,["appId","redirectUri","to"]);return(0,n.jsx)(C,m(f({},o),{forwardedRef:e,networkName:"facebookmessenger",networkLink:E,opts:{appId:i,redirectUri:r,to:s},windowHeight:820,windowWidth:1e3}))});function R(t,{hashtag:e}){return w(t,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+x({u:t,hashtag:e})}j.displayName="FacebookMessengerShareButton";let L=(0,r.forwardRef)((t,e)=>{var{hashtag:i}=t,r=g(t,["hashtag"]);return(0,n.jsx)(C,m(f({},r),{forwardedRef:e,networkName:"facebook",networkLink:R,opts:{hashtag:i},windowHeight:400,windowWidth:550}))});function V(t){var{children:e=t=>t,className:i,getCount:o,url:a}=t,l=g(t,["children","className","getCount","url"]);let u=function(){let t=(0,r.useRef)(!1);return(0,r.useEffect)(()=>(t.current=!0,()=>{t.current=!1}),[]),(0,r.useCallback)(()=>t.current,[])}(),[h,c]=(0,r.useState)(void 0),[d,p]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{p(!0),o(a,t=>{u()&&(c(t),p(!1))})},[a]),(0,n.jsx)("span",m(f({className:s("react-share__ShareCount",i)},l),{children:!d&&void 0!==h&&e(h)}))}function D(t){let e=e=>(0,n.jsx)(V,f({getCount:t},e));return e.displayName=`ShareCount(${t.name})`,e}function B(t){return(0,n.jsx)(y,m(f({color:"#00A4DE"},t),{children:(0,n.jsx)("path",{d:"M 36.164062 33.554688 C 34.988281 32.234375 33.347656 31.5 31.253906 31.34375 C 33.125 30.835938 34.476562 30.09375 35.335938 29.09375 C 36.191406 28.09375 36.609375 26.78125 36.609375 25.101562 C 36.628906 23.875 36.332031 22.660156 35.75 21.578125 C 35.160156 20.558594 34.292969 19.71875 33.253906 19.160156 C 32.304688 18.640625 31.175781 18.265625 29.847656 18.042969 C 28.523438 17.824219 26.195312 17.730469 22.867188 17.730469 L 14.769531 17.730469 L 14.769531 47.269531 L 23.113281 47.269531 C 26.46875 47.269531 28.886719 47.15625 30.367188 46.929688 C 31.851562 46.695312 33.085938 46.304688 34.085938 45.773438 C 35.289062 45.148438 36.28125 44.179688 36.933594 42.992188 C 37.597656 41.796875 37.933594 40.402344 37.933594 38.816406 C 37.933594 36.621094 37.347656 34.867188 36.164062 33.554688 Z M 22.257812 24.269531 L 23.984375 24.269531 C 25.988281 24.269531 27.332031 24.496094 28.015625 24.945312 C 28.703125 25.402344 29.042969 26.183594 29.042969 27.285156 C 29.042969 28.390625 28.664062 29.105469 27.9375 29.550781 C 27.210938 29.992188 25.84375 30.199219 23.855469 30.199219 L 22.257812 30.199219 Z M 29.121094 41.210938 C 28.328125 41.691406 26.976562 41.925781 25.078125 41.925781 L 22.257812 41.925781 L 22.257812 35.488281 L 25.195312 35.488281 C 27.144531 35.488281 28.496094 35.738281 29.210938 36.230469 C 29.925781 36.726562 30.304688 37.582031 30.304688 38.832031 C 30.304688 40.078125 29.914062 40.742188 29.105469 41.222656 Z M 29.121094 41.210938 M 46.488281 39.792969 C 44.421875 39.792969 42.742188 41.46875 42.742188 43.535156 C 42.742188 45.605469 44.421875 47.28125 46.488281 47.28125 C 48.554688 47.28125 50.230469 45.605469 50.230469 43.535156 C 50.230469 41.46875 48.554688 39.792969 46.488281 39.792969 Z M 46.488281 39.792969 M 43.238281 17.730469 L 49.738281 17.730469 L 49.738281 37.429688 L 43.238281 37.429688 Z M 43.238281 17.730469 "})}))}function O(t,{title:e}){return w(t,"hatena.url"),`http://b.hatena.ne.jp/add?mode=confirm&url=${t}&title=${e}`}L.displayName="FacebookShareButton",D(function(t,e){o(`https://graph.facebook.com/?id=${t}&fields=og_object{engagement}`,(t,i)=>{e(!t&&i&&i.og_object&&i.og_object.engagement?i.og_object.engagement.count:void 0)})});let F=(0,r.forwardRef)((t,e)=>{var{title:i}=t,r=g(t,["title"]);return(0,n.jsx)(C,m(f({},r),{forwardedRef:e,networkName:"hatena",networkLink:O,opts:{title:i},windowHeight:460,windowPosition:"windowCenter",windowWidth:660}))});function N(t){return(0,n.jsx)(y,m(f({color:"#1F1F1F"}
1,t),{children:(0,n.jsx)("path",{d:"M35.688 43.012c0 2.425.361 2.785 3.912 3.056V48H24.401v-1.932c3.555-.27 3.912-.63 3.912-3.056V20.944c0-2.379-.36-2.785-3.912-3.056V16H39.6v1.888c-3.55.27-3.912.675-3.912 3.056v22.068h.001z"})}))}function I(t,{title:e,description:i}){return w(t,"instapaper.url"),"http://www.instapaper.com/hello2"+x({url:t,title:e,description:i})}F.displayName="HatenaShareButton",D(function(t,e){o("https://bookmark.hatenaapis.com/count/entry"+x({url:t}),(t,i)=>{e(null!=i?i:void 0)})});let U=(0,r.forwardRef)((t,e)=>{var{description:i,title:r}=t,s=g(t,["description","title"]);return(0,n.jsx)(C,m(f({},s),{forwardedRef:e,networkName:"instapaper",networkLink:I,opts:{title:r,description:i},windowHeight:500,windowPosition:"windowCenter",windowWidth:500}))});function W(t){return(0,n.jsx)(y,m(f({color:"#06C755"},t),{children:(0,n.jsx)("path",{d:"M52.62 30.138c0 3.693-1.432 7.019-4.42 10.296h.001c-4.326 4.979-14 11.044-16.201 11.972-2.2.927-1.876-.591-1.786-1.112l.294-1.765c.069-.527.142-1.343-.066-1.865-.232-.574-1.146-.872-1.817-1.016-9.909-1.31-17.245-8.238-17.245-16.51 0-9.226 9.251-16.733 20.62-16.733 11.37 0 20.62 7.507 20.62 16.733zM27.81 25.68h-1.446a.402.402 0 0 0-.402.401v8.985c0 .221.18.4.402.4h1.446a.401.401 0 0 0 .402-.4v-8.985a.402.402 0 0 0-.402-.401zm9.956 0H36.32a.402.402 0 0 0-.402.401v5.338L31.8 25.858a.39.39 0 0 0-.031-.04l-.002-.003-.024-.025-.008-.007a.313.313 0 0 0-.032-.026.255.255 0 0 1-.021-.014l-.012-.007-.021-.012-.013-.006-.023-.01-.013-.005-.024-.008-.014-.003-.023-.005-.017-.002-.021-.003-.021-.002h-1.46a.402.402 0 0 0-.402.401v8.985c0 .221.18.4.402.4h1.446a.401.401 0 0 0 .402-.4v-5.337l4.123 5.568c.028.04.063.072.101.099l.004.003a.236.236 0 0 0 .025.015l.012.006.019.01a.154.154 0 0 1 .019.008l.012.004.028.01.005.001a.442.442 0 0 0 .104.013h1.446a.4.4 0 0 0 .401-.4v-8.985a.402.402 0 0 0-.401-.401zm-13.442 7.537h-3.93v-7.136a.401.401 0 0 0-.401-.401h-1.447a.4.4 0 0 0-.401.401v8.984a.392.392 0 0 0 .123.29c.072.068.17.111.278.111h5.778a.4.4 0 0 0 .401-.401v-1.447a.401.401 0 0 0-.401-.401zm21.429-5.287c.222 0 .401-.18.401-.402v-1.446a.401.401 0 0 0-.401-.402h-5.778a.398.398 0 0 0-.279.113l-.005.004-.006.008a.397.397 0 0 0-.111.276v8.984c0 .108.043.206.112.278l.005.006a.401.401 0 0 0 .284.117h5.778a.4.4 0 0 0 .401-.401v-1.447a.401.401 0 0 0-.401-.401h-3.93v-1.519h3.93c.222 0 .401-.18.401-.402V29.85a.401.401 0 0 0-.401-.402h-3.93V27.93h3.93z"})}))}function z(t,{title:e}){return w(t,"line.url"),"https://social-plugins.line.me/lineit/share"+x({url:t,text:e})}U.displayName="InstapaperShareButton";let _=(0,r.forwardRef)((t,e)=>{var{title:i}=t,r=g(t,["title"]);return(0,n.jsx)(C,m(f({},r),{forwardedRef:e,networkName:"line",networkLink:z,opts:{title:i},windowHeight:500,windowWidth:500}))});function H(t){return(0,n.jsx)(y,m(f({color:"#0077B5"},t),{children:(0,n.jsx)("path",{d:"M20.4,44h5.4V26.6h-5.4V44z M23.1,18c-1.7,0-3.1,1.4-3.1,3.1c0,1.7,1.4,3.1,3.1,3.1 c1.7,0,3.1-1.4,3.1-3.1C26.2,19.4,24.8,18,23.1,18z M39.5,26.2c-2.6,0-4.4,1.4-5.1,2.8h-0.1v-2.4h-5.2V44h5.4v-8.6 c0-2.3,0.4-4.5,3.2-4.5c2.8,0,2.8,2.6,2.8,4.6V44H46v-9.5C46,29.8,45,26.2,39.5,26.2z"})}))}function $(t,{title:e,summary:i,source:n}){return w(t,"linkedin.url"),"https://linkedin.com/shareArticle"+x({url:t,mini:"true",title:e,summary:i,source:n})}_.displayName="LineShareButton";let K=(0,r.forwardRef)((t,e)=>{var{source:i,summary:r,title:s}=t,o=g(t,["source","summary","title"]);return(0,n.jsx)(C,m(f({},o),{forwardedRef:e,networkName:"linkedin",networkLink:$,opts:{title:s,summary:r,source:i},windowHeight:600,windowWidth:750}))});function Y(t){return(0,n.jsx)(y,m(f({color:"#00B0EA"},t),{children:(0,n.jsx)("path",{d:"M18.3407821,28.1764706 L21.9441341,31.789916 L33.0055865,42.882353 C33.0055865,42.882353 33.0893855,42.9663866 33.0893855,42.9663866 L46.6648046,47 C46.6648046,47 46.6648046,47 46.7486034,47 C46.8324022,47 46.8324022,47 46.9162012,46.9159664 C47,46.8319327 47,46.8319327 47,46.7478991 L42.9776536,33.1344537 C42.9776536,33.1344537 42.9776536,33.1344537 42.8938548,33.0504202 L31.1620111,21.3697479 L31.1620111,21.3697479 L28.1452514,18.2605042 C27.3072626,17.4201681 26.5530726,17 25.7150838,17 C24.2905028,17 23.0335195,18.3445378 21.5251397,19.8571429 C21.273743,20.1092437 20.9385475,20.4453781 20.6871508,20.697479 C20.3519553,21.0336134 20.1005586,21.2857143 19.849162,21.5378151 C18.3407821,22.9663866 17.0837989,24.2268908 17,25.7394958 C17.0837989,26.4957983 17.5027933,27.3361345 18.3407821,28.1764706 Z M39.9012319,39.6134454 C39.7336341,39.4453781 39.4822374,37.6806724 40.2364275,36.8403362 
1C40.9906174,36.0840337 41.6610084,36 42.1638017,36 C42.3313995,36 42.4989973,36 42.5827961,36 L44.8453659,43.5630253 L43.5883828,44.8235295 L36.0464833,42.5546218 C35.9626843,42.2184874 35.8788855,41.2100841 36.8844722,40.2016807 C37.2196676,39.8655463 37.8900587,39.6134454 38.5604498,39.6134454 C39.147042,39.6134454 39.5660364,39.7815126 39.5660364,39.7815126 C39.6498353,39.8655463 39.8174331,39.8655463 39.8174331,39.7815126 C39.9850307,39.7815126 39.9850307,39.697479 39.9012319,39.6134454 Z"})}))}function Z(t,{title:e,description:i}){return w(t,"livejournal.url"),"https://www.livejournal.com/update.bml"+x({subject:e,event:i})}K.displayName="LinkedinShareButton";let X=(0,r.forwardRef)((t,e)=>{var{description:i,title:r}=t,s=g(t,["description","title"]);return(0,n.jsx)(C,m(f({},s),{forwardedRef:e,networkName:"livejournal",networkLink:Z,opts:{title:r,description:i},windowHeight:460,windowWidth:660}))});function G(t){return(0,n.jsx)(y,m(f({color:"#005FF9"},t),{children:(0,n.jsx)("path",{d:"M39.7107745,17 C41.6619755,17 43.3204965,18.732852 43.3204965,21.0072202 C43.3204965,23.2815885 41.7595357,25.0144404 39.7107745,25.0144404 C37.7595732,25.0144404 36.1010522,23.2815885 36.1010522,21.00
172202 C36.1010522,18.732852 37.7595732,17 39.7107745,17 Z M24.3938451,17 C26.3450463,17 28.0035672,18.732852 28.0035672,21.0072202 C28.0035672,23.2815885 26.4426063,25.0144404 24.3938451,25.0144404 C22.4426439,25.0144404 20.7841229,23.2815885 20.7841229,21.0072202 C20.7841229,18.732852 22.4426439,17 24.3938451,17 Z M51.9057817,43.4259928 C51.7106617,44.0758123 51.4179815,44.6173285 50.9301812,44.9422383 C50.637501,45.1588448 50.2472607,45.267148 49.8570205,45.267148 C49.07654,45.267148 48.3936197,44.833935 48.0033795,44.0758123 L46.2472985,40.7184115 L45.759498,41.2599278 C42.5400162,44.9422383 37.466893,47 32.0035297,47 C26.5401664,47 21.5646034,44.9422383 18.2475614,41.2599278 L17.7597611,40.7184115 L16.00368,44.0758123 C15.6134398,44.833935 14.9305194,45.267148 14.1500389,45.267148 C13.7597986,45.267148 13.3695584,45.1588448 13.0768782,44.9422383 C12.0037176,44.2924187 11.7110374,42.7761733 12.2963978,41.5848375 L16.7841605,33.0288807 C17.1744007,32.270758 17.8573211,31.8375453 18.6378016,31.8375453 C19.0280418,31.8375453 19.4182821,31.9458485 19.7109623,32.1624548 C20.7841229,32.8122743 21.0768031,34.3285197 20.4914427,35.5198555 L20.1012025,36.2779783 L20.2963226,36.602888 C22.4426439,39.9602888 27.0279667,42.234657 31.9059697,42.234657 C36.7839727,42.234657 41.3692955,40.068592 43.5156167,36.602888 L43.7107367,36.2779783 L43.3204965,35.6281587 C43.0278165,35.0866425 42.9302562,34.436823 43.1253765,33.7870035 C43.3204965,33.137184 43.6131767,32.5956678 44.100977,32.270758 C44.3936572,32.0541515 44.7838975,31.9458485 45.1741377,31.9458485 C45.9546182,31.9458485 46.6375385,32.3790613 47.0277787,33.137184 L51.5155415,41.6931408 C52.003342,42.234657 52.100902,42.8844765 51.9057817,43.4259928 Z"})}))}function q(t,{title:e,description:i,imageUrl:n}){return w(t,"mailru.url"),"https://connect.mail.ru/share"+x({url:t,title:e,description:i,image_url:n})}X.displayName="LivejournalShareButton";let J=(0,r.forwardRef)((t,e)=>{var{description:i,imageUrl:r,title:s}=t,o=g(t,["description","imageUrl","title"]);return(0,n.jsx)(C,m(f({},o),{forwardedRef:e,networkName:"mailru",networkLink:q,opts:{title:s,description:i,imageUrl:r},windowHeight:460,windowWidth:660}))});function Q(t){return(0,n.jsx)(y,m(f({color:"#FF7700"},t),{children:(0,n.jsx)("path",{d:"M39,30c-1,0-3,2-7,2s-6-2-7-2c-1.1,0-2,0.9-2,2c0,1,0.6,1.5,1,1.7c1.2,0.7,5,2.3,5,2.3l-4.3,5.4   c0,0-0.8,0.9-0.8,1.6c0,1.1,0.9,2,2,2c1,0,1.5-0.7,1.5-0.7S32,39,32,39c0,0,4.5,5.3,4.5,5.3S37,45,38,45c1.1,0,2-0.9,2-2   c0-0.6-0.8-1.6-0.8-1.6L35,36c0,0,3.8-1.6,5-2.3c0.4-0.3,1-0.7,1-1.7C41,30.9,40.1,30,39,30z M32,15c-3.9,0-7,3.1-7,7s3.1,7,7,7c3.9,0,7-3.1,7-7S35.9,15,32,15z M32,25.5   c-1.9,0-3.5-1.6-3.5-3.5c0-1.9,1.6-3.5,3.5-3.5c1.9,0,3.5,1.6,3.5,3.5C35.5,23.9,33.9,22.5,35,22.5z "})}))}function tt(t,{title:e,description:i,image:n}){return w(t,"ok.url"),"https://connect.ok.ru/offer"+x({url:t,title:e,description:i,imageUrl:n})}J.displayName="MailruShareButton";let te=(0,r.forwardRef)((t,e)=>{var{description:i,image:r,title:s}=t,o=g(t,["description","image","title"]);return(0,n.jsx)(C,m(f({},o),{forwardedRef:e,networkName:"ok",networkLink:tt,opts:{title:s,description:i,image:r},windowHeight:480,windowPosition:"screenCenter",windowWidth:588}))});function ti(t){return(0,n.jsx)(y,m(f({color:"#E60023"},t),{children:(0,n.jsx)("path",{d:"M32,16c-8.8,0-16,7.2-16,16c0,6.6,3.9,12.2,9.6,14.7c0-1.1,0-2.5,0.3-3.7 c0.3-1.3,2.1-8.7,2.1-8.7s-0.5-1-0.5-2.5c0-2.4,1.4-4.1,3.1-4.1c1.5,0,2.2,1.1,2.2,2.4c0,1.5-0.9,3.7-1.4,5.7 c-0.4,1.7,0.9,3.1,2.5,3.1c3,0,5.1-3.9,5.1-8.5c0-3.5-2.4-6.1-6.7-6.1c-4.9,0-7.9,3.6-7.9,7.7c0,1.4,0.4,2.4,1.1,3.1 c0.3,0.3,0.3,0.5,0.2,0.9c-0.1,0.3-0.3,1-0.3,1.3c-0.1,0.4-0.4,0.6-0.8,0.4c-2.2-0.9-3.3-3.4-3.3-6.1c0-4.5,3.8-10,11.4-10 c6.1,0,10.1,4.4,10.1,9.2c0,6.3-3.5,11-8.6,11c-1.7,0-3.4-0.9-3.9-2c0,0-0.9,3.7-1.1,4.4c-0.3,1.2-1,2.5-1.6,3.4 c1.4,0.4,3,0.7,4.5,0.7c8.8,0,16-7.2,16-16C48,23.2,40.8,16,32,16z"})}))}function tn(t,{media:e,description:i,pinId:n}){return n?`https://pinterest.com/pin/${n}/repin/x/`:(w(t,"pinterest.url"),w(e,"pinterest.media"),"https://pinterest.com/pin/create/button/"+x({url:t,media:e,description:i}))}te.displayName="OKShareButton",D(function(t,e){window.OK||(window.OK={Share:{count:function(t,e){var i,n;null==(n=(i=window.OK.callbacks)[t])||n.call(i,e)}},callbacks:[]});let i=window.OK.callbacks.length;return window.ODKL={updateCount(t,e){var i,n;
1let r=""===t?0:parseInt(t.replace("react-share-",""),10);null==(n=(i=window.OK.callbacks)[r])||n.call(i,""===e?void 0:parseInt(e,10))}},window.OK.callbacks.push(e),o("https://connect.ok.ru/dk"+x({"st.cmd":"extLike",uid:`react-share-${i}`,ref:t}))});let tr=(0,r.forwardRef)((t,e)=>{var{description:i,media:r,pinId:s}=t,o=g(t,["description","media","pinId"]);return(0,n.jsx)(C,m(f({},o),{forwardedRef:e,networkName:"pinterest",networkLink:tn,opts:{media:r,description:i,pinId:s},windowHeight:730,windowWidth:1e3}))});function ts(t){return(0,n.jsx)(y,m(f({color:"#EF3F56"},t),{children:(0,n.jsx)("path",{d:"M41.084 29.065l-7.528 7.882a2.104 2.104 0 0 1-1.521.666 2.106 2.106 0 0 1-1.522-.666l-7.528-7.882c-.876-.914-.902-2.43-.065-3.384.84-.955 2.228-.987 3.1-.072l6.015 6.286 6.022-6.286c.88-.918 2.263-.883 3.102.071.841.938.82 2.465-.06 3.383l-.015.002zm6.777-10.976C47.463 16.84 46.361 16 45.14 16H18.905c-1.2 0-2.289.82-2.716 2.044-.125.363-.189.743-.189 1.125v10.539l.112 2.096c.464 4.766 2.73 8.933 6.243 11.838.06.053.125.102.19.153l.04.033c1.882 1.499 3.986 2.514 6.259 3.014a14.662 14.662 0 0 0 6.13.052c.118-.042.235-.065.353-.087.03 0 .065-.022.098-.042a15.395 15.395 0 0 0 6.011-2.945l.039-.045.18-.153c3.502-2.902 5.765-7.072 6.248-11.852L48 29.674v-10.52c0-.366-.041-.728-.161-1.08l.022.015z"})}))}function to(t,{title:e}){return w(t,"pocket.url"),"https://getpocket.com/save"+x({url:t,title:e})}tr.displayName="PinterestShareButton",D(function(t,e){o("https://api.pinterest.com/v1/urls/count.json"+x({url:t}),(t,i)=>{e(i?i.count:void 0)})});let ta=(0,r.forwardRef)((t,e)=>{var{title:i}=t,r=g(t,["title"]);return(0,n.jsx)(C,m(f({},r),{forwardedRef:e,networkName:"pocket",networkLink:to,opts:{title:i},windowHeight:500,windowWidth:500}))});function tl(t){return(0,n.jsx)(y,m(f({color:"#FF4500"},t),{children:(0,n.jsx)("path",{d:"M 53.34375 32 C 53.277344 30.160156 52.136719 28.53125 50.429688 27.839844 C 48.722656 27.148438 46.769531 27.523438 45.441406 28.800781 C 41.800781 26.324219 37.519531 24.957031 33.121094 24.863281 L 35.199219 14.878906 L 42.046875 16.320312 C 42.214844 17.882812 43.496094 19.09375 45.066406 19.171875 C 46.636719 19.253906 48.03125 18.183594 48.359375 16.644531 C 48.6875 15.105469 47.847656 13.558594 46.382812 12.992188 C 44.914062 12.425781 43.253906 13.007812 42.464844 14.367188 L 34.625 12.800781 C 34.363281 12.742188 34.09375 12.792969 33.871094 12.9375 C 33.648438 13.082031 33.492188 13.308594 33.441406 13.566406 L 31.070312 24.671875 C 26.617188 24.738281 22.277344 26.105469 18.59375 28.609375 C 17.242188 27.339844 15.273438 26.988281 13.570312 27.707031 C 11.863281 28.429688 10.746094 30.089844 10.71875 31.941406 C 10.691406 33.789062 11.757812 35.484375 13.441406 36.257812 C 13.402344 36.726562 13.402344 37.195312 13.441406 37.664062 C 13.441406 44.832031 21.792969 50.65625 32.097656 50.65625 C 42.398438 50.65625 50.753906 44.832031 50.753906 37.664062 C 50.789062 37.195312 50.789062 36.726562 50.753906 36.257812 C 52.363281 35.453125 53.371094 33.800781 53.34375 32 Z M 21.34375 35.199219 C 21.34375 33.433594 22.777344 32 24.542969 32 C 26.3125 32 27.742188 33.433594 27.742188 35.199219 C 27.742188 36.96875 26.3125 38.398438 24.542969 38.398438 C 22.777344 38.398438 21.34375 36.96875 21.34375 35.199219 Z M 39.9375 44 C 37.664062 45.710938 34.871094 46.582031 32.03125 46.464844 C 29.191406 46.582031 26.398438 45.710938 24.128906 44 C 23.847656 43.65625 23.871094 43.15625 24.183594 42.839844 C 24.5 42.527344 25 42.503906 25.34375 42.785156 C 27.269531 44.195312 29.617188 44.90625 32 44.800781 C 34.386719 44.929688 36.746094 44.242188 38.6875 42.847656 C 39.042969 42.503906 39.605469 42.511719 39.953125 42.863281 C 40.296875 43.21875 40.289062 43.785156 39.9375 44.128906 Z M 39.359375 38.527344 C 37.59375 38.527344 36.160156 37.09375 36.160156 35.328125 C 36.160156 33.5625 37.59375 32.128906 39.359375 32.128906 C 41.128906 32.128906 42.558594 33.5625 42.558594 35.328125 C 42.59375 36.203125 42.269531 37.054688 41.65625 37.6875 C 41.046875 38.316406 40.203125 38.664062 39.328125 38.65625 Z M 39.359375 38.527344"})}))}function tu(t,{title:e}){return w(t,"reddit.url"),"https://www.reddit.com/submit"+x({url:t,title:e})}ta.displayName="PocketShareButton";let th=(0,r.forwardRef)((t,e)=>{var{title:i}=t,r=g(t,["title"]);return(0,n.jsx)(C,m(f({},r),{forwardedRef:e,networkName:"reddit",networkLink:tu,opts:{title:i},windowHeight:460,windowPosition:"windowCenter",windowWidth:660}))});function tc(t,{title:e}){return w(t,"gab.url"),"https://gab.com/compose"+x({url:t,text:e})}function td(t){return(0,n.jsx)(y,m(f({color:"#26A5E4"},t),{children:(0,n.jsx)("path",{d:"m45.90873,15.44335c-0.6901,-0.0281 -1.37668,0.14048 -1.96142,0.41265c-0.84989,0.32661 -8.63939,3.33986 -16.5237,6.39174c-3.9685,1.53296 -7.93349,3.06593 -10.98537,4.24067c-3.05012,1.1765 -5.34694,2.05098 -5.4681,2.09312c-0.80775,0.28096 -1.89996,0.63566 -2.82712,1.72788
1c-0.23354,0.27218 -0.46884,0.62161 -0.58825,1.10275c-0.11941,0.48114 -0.06673,1.09222 0.16682,1.5716c0.46533,0.96052 1.25376,1.35737 2.18443,1.71383c3.09051,0.99037 6.28638,1.93508 8.93263,2.8236c0.97632,3.44171 1.91401,6.89571 2.84116,10.34268c0.30554,0.69185 0.97105,0.94823 1.65764,0.95525l-0.00351,0.03512c0,0 0.53908,0.05268 1.06412,-0.07375c0.52679,-0.12292 1.18879,-0.42846 1.79109,-0.99212c0.662,-0.62161 2.45836,-2.38812 3.47683,-3.38552l7.6736,5.66477l0.06146,0.03512c0,0 0.84989,0.59703 2.09312,0.68132c0.62161,0.04214 1.4399,-0.07726 2.14229,-0.59176c0.70766,-0.51626 1.1765,-1.34683 1.396,-2.29506c0.65673,-2.86224 5.00979,-23.57745 5.75257,-27.00686l-0.02107,0.08077c0.51977,-1.93157 0.32837,-3.70159 -0.87096,-4.74991c-0.60054,-0.52152 -1.2924,-0.7498 -1.98425,-0.77965l0,0.00176zm-0.2072,3.29069c0.04741,0.0439 0.0439,0.0439 0.00351,0.04741c-0.01229,-0.00351 0.14048,0.2072 -0.15804,1.32576l-0.01229,0.04214l-0.00878,0.03863c-0.75858,3.50668 -5.15554,24.40802 -5.74203,26.96472c-0.08077,0.34417 -0.11414,0.31959 -0.09482,0.29852c-0.1756,-0.02634 -0.50045,-0.16506 -0.52679,-0.1756l-13.13468,-9.70175c4.4988,-4.33199 9.09945,-8.25307 13.744,-12.43229c0.8218,-0.41265 0.68483,-1.68573 -0.29852,-1.70681c-1.04305,0.24584 -1.92279,0.99564 -2.8798,1.47502c-5.49971,3.2626 -11.11882,6.13186 -16.55882,9.49279c-2.792,-0.97105 -5.57873,-1.77704 -8.15298,-2.57601c2.2336,-0.89555 4.00889,-1.55579 5.75608,-2.23009c3.05188,-1.1765 7.01687,-2.7042 10.98537,-4.24067c7.94051,-3.06944 15.92667,-6.16346 16.62028,-6.43037l0.05619,-0.02283l0.05268,-0.02283c0.19316,-0.0878 0.30378,-0.09658 0.35471,-0.10009c0,0 -0.01756,-0.05795 -0.00351,-0.04566l-0.00176,0zm-20.91715,22.0638l2.16687,1.60145c-0.93418,0.91311 -1.81743,1.77353 -2.45485,2.38812l0.28798,-3.98957"})}))}function tp(t,{title:e}){return w(t,"telegram.url"),"https://telegram.me/share/url"+x({url:t,text:e})}th.displayName="RedditShareButton",(0,r.forwardRef)((t,e)=>{var{title:i}=t,r=g(t,["title"]);return(0,n.jsx)(C,m(f({},r),{forwardedRef:e,networkName:"gab",networkLink:tc,opts:{title:i},windowHeight:640,windowPosition:"windowCenter",windowWidth:660}))}).displayName="GabShareButton",D(function(t,e){o(`https://www.reddit.com/api/info.json?limit=1&url=${t}`,{param:"jsonp"},(t,i)=>{e(!t&&i&&i.data&&i.data.children.length>0&&i.data.children[0].data.score?i.data.children[0].data.score:void 0)})});let tf=(0,r.forwardRef)((t,e)=>{var{title:i}=t,r=g(t,["title"]);return(0,n.jsx)(C,m(f({},r),{forwardedRef:e,networkName:"telegram",networkLink:tp,opts:{title:i},windowHeight:400,windowWidth:550}))});function tm(t,{title:e}){return w(t,"threads.url"),"https://threads.net/intent/post"+x({url:t,text:e})}function tg(t){return(0,n.jsx)(y,m(f({color:"#36465D"},t),{children:(0,n.jsx)("path",{d:"M39.2,41c-0.6,0.3-1.6,0.5-2.4,0.5c-2.4,0.1-2.9-1.7-2.9-3v-9.3h6v-4.5h-6V17c0,0-4.3,0-4.4,0 c-0.1,0-0.2,0.1-0.2,0.2c-0.3,2.3-1.4,6.4-5.9,8.1v3.9h3V39c0,3.4,2.5,8.1,9,8c2.2,0,4.7-1,5.2-1.8L39.2,41z"})}))}function ty(t,{title:e,caption:i,tags:n,posttype:r}){return w(t,"tumblr.url"),"https://www.tumblr.com/widgets/share/tool"+x({canonicalUrl:t,title:e,caption:i,tags:n,posttype:r})}tf.displayName="TelegramShareButton",(0,r.forwardRef)((t,e)=>{var{hashtags:i,related:r,title:s,via:o}=t,a=g(t,["hashtags","related","title","via"]);return(0,n.jsx)(C,m(f({},a),{forwardedRef:e,networkName:"threads",networkLink:tm,opts:{title:s},windowHeight:600,windowWidth:550}))}).displayName="ThreadsShareButton";let tv=(0,r.forwardRef)((t,e)=>{var{caption:i,posttype:r,tags:s,title:o}=t,a=g(t,["caption","posttype","tags","title"]);return(0,n.jsx)(C,m(f({},a),{forwardedRef:e,networkName:"tumblr",networkLink:ty,opts:{title:o,tags:(s||[]).join(","),caption:i,posttype:r||"link"},windowHeight:460,windowWidth:660}))});function tw(t,{title:e,via:i,hashtags:n=[],related:r=[]}){return w(t,"x.url"),w(Array.isArray(n),"x.hashtags is not an array"),w(Array.isArray(r),"x.related is not an array"),"https://twitter.com/intent/tweet"+x({url:t,text:e,via:i,hashtags:n.length>0?n.join(","):void 0,related:r.length>0?r.join(","):void 0})}tv.displayName="TumblrShareButton",D(function(t,e){return o("https://api.tumblr.com/v2/share/stats"+x({url:t}),(t,i)=>{e(!t&&i&&i.response?i.response.note_count:void 0)})});let tx=(0,r.forwardRef)((t,e)=>{var{hashtags:i,related:r,title:s,via:o}=t,a=g(t,["hashtags","related","title","via"]);return(0,n.jsx)(C,m(f({},a),{forwardedRef:e,networkName:"twitter",networkLink:tw,opts:{hashtags:i,title:s,via:o,related:r},windowHeight:400,windowWidth:550}))});tx.displayName="XShareButton";let tb=(0,r.forwardRef)((t,e)=>(0,n.jsx)(tx,m(f({},t),{ref:e})));function tC(t){return(0,n.jsx)(y,m(f({color:"#7360F2"},t),{children:(0,n.jsx)("path",{d:"m31.0,12.3c9.0,0.2 16.4,6.2 18.0,15.2c0.2,1.5 0.3,3.0 0.4,4.6a1.0,1.0 0 0 1 -0.8,1.2l-0.1,0a1.1,1.1 0 0 1 -1.0,-1.2l0,0c-0.0,-1.2 -0.1,-2.5 -0.3,-3.8a16.1,16.1 0 0 0 -13.0,-13.5c-1.0,-0.1 -2.0,-0.2 -3.0,-0.3c-0.6,-0.0 -1.4,-0.1 -1.6,-0.8a1.1,1.1 0 0 1 0.9,-1.2l0.6,0l0.0,-0.0zm10.6,39.2a19.9,19.9 0 0 1 -2.1,-0.6c-6.9,-2.9 -13.2,-6.6 -18.3,-12.2a47.5,47.5 0 0 1 -7.0,-10.7c-0.8,-1.8 -1.6,-3.7 -2.4,-5.6c-0.6,-1.7 0.3,-3.4 1.4,-4.7a11.3,11.3 0 0 1 3.7,-2.8a2.4,2.4 0 0 1 3.0,0.7a39.0,39.0 0 0 1 4.7,6.5a3.1,3.1 0 0 1 -0.8,4.2c-0.3,0.2 -0.6,0.5 -1.0,0.8a3.3,3.3 0 0 0 -0.7,0.7a2.1,2.1 0 0 0 -0.1,1.9c1.7,4.9 4.7,8.7 9.7,10.8a5.0,5.0 0 0 0 2.5,0.6c1.5,-0.1 2.0,-1.8 3.1,-2.7a2.9,2.9 0 0 1 3.5,-0.1c1.1,0.7 2.2,1.4 3.3,2.2a37.8,37.8 0 0 1 3.1,2.4a2.4,2.4 0 0 1 0.7,3.0a10.4,10.4 0 0 1 -4.4,4.8a10.8,10.8 0 0 1 -1.9,0.6c-0.7,-0.2 0.6,-0.2 0,0l0.0,0l0,-0.0zm3.1,-21.4a4.2,4.2 0 0 1 -0.0,0.6a1.0,1.0 0 0 1 -1.9,0.1a2.7,2.7 0 0 1 -0.1,-0.8a10.9,10.9 0 0 0 -1.4,-5.5a10.2,10.2 0 0 0 -4.2,-4.0a12.3,12.3 0 0 0 -3.4,-1.0c-0.5,-0.0 -1.0,-0.1 -1.5,-0.2a0.9,0.9 0 0 1 -0.9,-1.0l0,-0.
11a0.9,0.9 0 0 1 0.9,-0.9l0.1,0a14.1,14.1 0 0 1 5.9,1.5a11.9,11.9 0 0 1 6.5,9.3c0,0.1 0.0,0.3 0.0,0.5c0,0.4 0.0,0.9 0.0,1.5l0,0l0.0,0.0zm-5.6,-0.2a1.1,1.1 0 0 1 -1.2,-0.9l0,-0.1a11.3,11.3 0 0 0 -0.2,-1.4a4.0,4.0 0 0 0 -1.5,-2.3a3.9,3.9 0 0 0 -1.2,-0.5c-0.5,-0.1 -1.1,-0.1 -1.6,-0.2a1.0,1.0 0 0 1 -0.8,-1.1l0,0l0,0a1.0,1.0 0 0 1 1.1,-0.8c3.4,0.2 6.0,2.0 6.3,6.2a2.8,2.8 0 0 1 0,0.8a0.8,0.8 0 0 1 -0.8,0.7l0,0l0.0,-0.0z"})}))}function tS(t,{title:e,separator:i}){return w(t,"viber.url"),"viber://forward"+x({text:e?e+i+t:t})}tb.displayName="TwitterShareButton";let tk=(0,r.forwardRef)((t,e)=>{var{separator:i,title:r}=t,s=g(t,["separator","title"]);return(0,n.jsx)(C,m(f({},s),{forwardedRef:e,networkName:"viber",networkLink:tS,opts:{title:r,separator:i||" "},windowHeight:460,windowWidth:660}))});function tT(t){return(0,n.jsx)(y,m(f({color:"#0077FF"},t),{children:(0,n.jsx)("path",{d:"M44.94,44.84h-0.2c-2.17-.36-3.66-1.92-4.92-3.37C39.1,40.66,38,38.81,36.7,39c-1.85.3-.93,3.52-1.71,4.9-0.62,1.11-3.29.91-5.12,0.71-5.79-.62-8.75-3.77-11.35-7.14A64.13,64.13,0,0,1,11.6,26a10.59,10.59,0,0,1-1.51-4.49C11,20.7,12.56,21,14.11,21c1.31,0,3.36-.29,4.32.2C19,21.46,19.57,23,20,24a37.18,37.18,0,0,0,3.31,5.82c0.56,0.81,1.41,2.35,2.41,2.14s1.06-2.63,1.1-4.18c0-1.77,0-4-.5-4.9S25,22,24.15,21.47c0.73-1.49,2.72-1.63,5.12-1.63,2,0,4.84-.23,5.62,1.12s0.25,3.85.2,5.71c-0.06,2.09-.41,4.25,1,5.21,1.09-.12,1.68-1.2,2.31-2A28,28,0,0,0,41.72,24c0.44-1,.91-2.65,1.71-3,1.21-.47,3.15-0.1,4.92-0.1,1.46,0,4.05-.41,4.52.61,0.39,0.85-.75,3-1.1,3.57a61.88,61.88,0,0,1-4.12,5.61c-0.58.78-1.78,2-1.71,3.27,0.05,0.94,1,1.67,1.71,2.35a33.12,33.12,0,0,1,3.92,4.18c0.47,0.62,1.5,2,1.4,2.76C52.66,45.81,46.88,44.24,44.94,44.84Z"})}))}function tP(t,{title:e,image:i,noParse:n,noVkLinks:r}){return w(t,"vk.url"),"https://vk.com/share.php"+x({url:t,title:e,image:i,noparse:+!!n,no_vk_links:+!!r})}tk.displayName="ViberShareButton";let tA=(0,r.forwardRef)((t,e)=>{var{image:i,noParse:r,noVkLinks:s,title:o}=t,a=g(t,["image","noParse","noVkLinks","title"]);return(0,n.jsx)(C,m(f({},a),{forwardedRef:e,networkName:"vk",networkLink:tP,opts:{title:o,image:i,noParse:r,noVkLinks:s},windowHeight:460,windowWidth:660}))});function tM(t){return(0,n.jsx)(y,m(f({color:"#E6162D"},t),{children:(0,n.jsx)("path",{d:"M40.9756152,15.0217119 C40.5000732,15.0546301 39.9999314,15.1204666 39.5325878,15.2192213 C38.6634928,15.4085016 38.0977589,16.2643757 38.2863368,17.1284787 C38.4667163,18.0008129 39.3194143,18.5686519 40.1885094,18.3793715 C42.8613908,17.8115326 45.7720411,18.6427174 47.7316073,20.8153207 C49.6911735,22.996153 50.2077122,25.975254 49.3714112,28.5840234 C49.1008441,29.4316684 49.5763861,30.3533789 50.4208857,30.6249537 C51.2653852,30.8965286 52.1754769,30.4192153 52.4542425,29.5715703 C53.6349013,25.9011885 52.9133876,21.7699494 50.1585171,18.7085538 C48.0923641,16.4042776 45.2063093,15.1533848 42.3530505,15.0217119 C41.8775084,14.9970227 41.4511594,14.9887937 40.9756152,15.0217119 Z M27.9227762,19.8277737 C24.9957268,20.140498 20.863421,22.4365431 17.2312548,26.0822378 C13.2711279,30.0571148 11,34.2871065 11,37.9328012 C11,44.9032373 19.8713401,49.125 28.5786978,49.125 C39.9917329,49.125 47.600423,42.4261409 47.600423,37.1427636 C47.600423,33.9496952 44.9603397,32.1638816 42.549827,31.4149913 C41.9594976,31.2339421 41.5167516,31.1434164 41.8283133,30.3616079 C42.5006339,28.66632 42.6236176,27.1932286 41.8939054,26.1480742 C40.5328692,24.1894405 36.7203236,24.2881952 32.448635,26.0822378 C32.448635,26.0822378 31.1203949,26.6912261 31.4647526,25.6213825 C32.1206742,23.4981576 32.0304845,21.712342 31.0056075,20.6836478 C30.2840938,19.9512176 29.2510184,19.6878718 27.9227762,19.8277737 Z M42.0906819,20.6836478 C41.6233383,20.6589586 41.1723917,20.716566 40.7132466,20.8153207 C39.9671353,20.9716828 39.4997917,21.7781784 39.6637721,22.5270687 C39.8277525,23.275959 40.5574647,23.7450433 41.303576,23.5804521 C42.1972686,23.3911718 43.2057485,23.6380596 43.8616701,24.3704897 C44.5175916,25.1029198 44.6733735,26.0657797 44.3864073,26.9381118 C44.1486363,27.6705419 44.5093932,28.4770397 45.2391054,28.7156963 C45.9688176,28.9461239 46.780521,28.5922524 47.0100936,27.8598223 C47.584026,26.0740087 47.2396661,24.0248493 45.8950269,22.5270687 C44.886547,21.4078489 43.4845162,20.7494842 42.0906819,20.6836478 Z M29.496988,29.9665891 C35.3100922,30.1723275 39.9917329,33.0691319 40.3852858,37.0769272 C40.8362324,41.6607904 35.5970585,45.9319315 28.6442899,46.6232144 C21.6915214,47.3144973 15.6488446,44.154347 15.197898,39.5787128 C14.7469514,34.9948495 20.059916,30.7237084 27.004486,30.0324256 C27.8735831,29.950131 28.6688875,29.9336709 29.496988,29.9665891 Z M25.5614586,34.3776322 C23.183744,34.5916017 20.9372116,35.9577073 19.9205332,37.9328012 C18.5348994,40.6238672 19.9041362,43.6029661 23.0689567,44.582284 C26.340366,45.5945202 30.1857056,44.0638213 31.5303448,41.1587879 C32.8503864,38.3195909 31.1613894,35.3734082 27.9227762,34.5751416 C27.1438688,34.3776322 26.356763,34.3035667 25.5614586,34.3776322 Z M24.052839,38.7228388 C24.3316067,38.7310678 24.5857748,38.8215935 24.8399449,38.9203482 C25.8648218,39.3400561 26.1845841,40.4428158 25.5614586,41.4221338 C24.9219361,42.3932227 23.5690963,42.8623069 22.5442194,42.4096807 C21.5357395,41.9652856 21.2487754,40.8542948 21.8882979,39.9078951 C22.3638421,39.2001542 23.2247386,38.714
16097 24.052839,38.7228388 Z"})}))}function tE(t,{title:e,image:i}){return w(t,"weibo.url"),"http://service.weibo.com/share/share.php"+x({url:t,title:e,pic:i})}tA.displayName="VKShareButton",D(function(t,e){window.VK||(window.VK={}),window.VK.Share={count:(t,e)=>{var i,n;return null==(n=null==(i=window.VK.callbacks)?void 0:i[t])?void 0:n.call(i,e)}},window.VK.callbacks=[];let i=window.VK.callbacks.length;return window.VK.callbacks.push(e),o("https://vk.com/share.php"+x({act:"count",index:i,url:t}))});let tj=(0,r.forwardRef)((t,e)=>{var{image:i,title:r}=t,s=g(t,["image","title"]);return(0,n.jsx)(C,m(f({},s),{forwardedRef:e,networkName:"weibo",networkLink:tE,opts:{title:r,image:i},windowHeight:550,windowPosition:"screenCenter",windowWidth:660}))});function tR(t){return(0,n.jsx)(y,m(f({color:"#25D366"},t),{children:(0,n.jsx)("path",{d:"m42.32286,33.93287c-0.5178,-0.2589 -3.04726,-1.49644 -3.52105,-1.66732c-0.4712,-0.17346 -0.81554,-0.2589 -1.15987,0.2589c-0.34175,0.51004 -1.33075,1.66474 -1.63108,2.00648c-0.30032,0.33658 -0.60064,0.36247 -1.11327,
10.12945c-0.5178,-0.2589 -2.17994,-0.80259 -4.14759,-2.56312c-1.53269,-1.37217 -2.56312,-3.05503 -2.86603,-3.57283c-0.30033,-0.5178 -0.03366,-0.80259 0.22524,-1.06149c0.23301,-0.23301 0.5178,-0.59547 0.7767,-0.90616c0.25372,-0.31068 0.33657,-0.5178 0.51262,-0.85437c0.17088,-0.36246 0.08544,-0.64725 -0.04402,-0.90615c-0.12945,-0.2589 -1.15987,-2.79613 -1.58964,-3.80584c-0.41424,-1.00971 -0.84142,-0.88027 -1.15987,-0.88027c-0.29773,-0.02588 -0.64208,-0.02588 -0.98382,-0.02588c-0.34693,0 -0.90616,0.12945 -1.37736,0.62136c-0.4712,0.5178 -1.80194,1.76053 -1.80194,4.27186c0,2.51134 1.84596,4.945 2.10227,5.30747c0.2589,0.33657 3.63497,5.51458 8.80262,7.74113c1.23237,0.5178 2.1903,0.82848 2.94111,1.08738c1.23237,0.38836 2.35599,0.33657 3.24402,0.20712c0.99159,-0.15534 3.04985,-1.24272 3.47963,-2.45956c0.44013,-1.21683 0.44013,-2.22654 0.31068,-2.45955c-0.12945,-0.23301 -0.46601,-0.36247 -0.98382,-0.59548m-9.40068,12.84407l-0.02589,0c-3.05503,0 -6.08417,-0.82849 -8.72495,-2.38189l-0.62136,-0.37023l-6.47252,1.68286l1.73463,-6.29129l-0.41424,-0.64725c-1.70875,-2.71846 -2.6149,-5.85116 -2.6149,-9.07706c0,-9.39809 7.68934,-17.06155 17.15993,-17.06155c4.58253,0 8.88029,1.78642 12.11655,5.02268c3.23625,3.21036 5.02267,7.50812 5.02267,12.06476c-0.0078,9.3981 -7.69712,17.06155 -17.14699,17.06155m14.58906,-31.58846c-3.93529,-3.80584 -9.1133,-5.95471 -14.62789,-5.95471c-11.36055,0 -20.60848,9.2065 -20.61625,20.52564c0,3.61684 0.94757,7.14565 2.75211,10.26282l-2.92557,10.63564l10.93337,-2.85309c3.0136,1.63108 6.4052,2.4958 9.85634,2.49839l0.01037,0c11.36574,0 20.61884,-9.2091 20.62403,-20.53082c0,-5.48093 -2.14111,-10.64081 -6.03239,-14.51915"})}))}function tL(t,{title:e,separator:i}){return w(t,"whatsapp.url"),"https://api.whatsapp.com/send"+x({text:e?e+i+t:t})}tj.displayName="WeiboShareButton";let tV=(0,r.forwardRef)((t,e)=>{var{separator:i,title:r}=t,s=g(t,["separator","title"]);return(0,n.jsx)(C,m(f({},s),{forwardedRef:e,networkName:"whatsapp",networkLink:tL,opts:{title:r,separator:i||" "},windowHeight:400,windowWidth:550}))});function tD(t){return(0,n.jsx)(y,m(f({color:"#4526CE"},t),{children:(0,n.jsx)("path",{d:"M34.019,10.292c0.21,0.017,0.423,0.034,0.636,0.049 c3.657,0.262,6.976,1.464,9.929,3.635c3.331,2.448,5.635,5.65,6.914,9.584c0.699,2.152,0.983,4.365,0.885,6.623 c-0.136,3.171-1.008,6.13-2.619,8.867c-0.442,0.75-0.908,1.492-1.495,2.141c-0.588,0.651-1.29,1.141-2.146,1.383 c-1.496,0.426-3.247-0.283-3.961-1.642c-0.26-0.494-0.442-1.028-0.654-1.548c-1.156-2.838-2.311-5.679-3.465-8.519 c-0.017-0.042-0.037-0.082-0.065-0.145c-0.101,0.245-0.192,0.472-0.284,0.698c-1.237,3.051-2.475,6.103-3.711,9.155 c-0.466,1.153-1.351,1.815-2.538,2.045c-1.391,0.267-2.577-0.154-3.496-1.247c-0.174-0.209-0.31-0.464-0.415-0.717 c-2.128-5.22-4.248-10.442-6.37-15.665c-0.012-0.029-0.021-0.059-0.036-0.104c0.054-0.003,0.103-0.006,0.15-0.006 c1.498-0.001,2.997,0,4.495-0.004c0.12-0.001,0.176,0.03,0.222,0.146c1.557,3.846,3.117,7.691,4.679,11.536 c0.018,0.046,0.039,0.091,0.067,0.159c0.273-0.673,0.536-1.32,0.797-1.968c1.064-2.627,2.137-5.25,3.19-7.883 c0.482-1.208,1.376-1.917,2.621-2.135c1.454-0.255,2.644,0.257,3.522,1.449c0.133,0.18,0.229,0.393,0.313,0.603 c1.425,3.495,2.848,6.991,4.269,10.488c0.02,0.047,0.04,0.093,0.073,0.172c0.196-0.327,0.385-0.625,0.559-0.935 c0.783-1.397,1.323-2.886,1.614-4.461c0.242-1.312,0.304-2.634,0.187-3.962c-0.242-2.721-1.16-5.192-2.792-7.38 c-2.193-2.939-5.086-4.824-8.673-5.625c-1.553-0.346-3.124-0.405-4.705-0.257c-3.162,0.298-6.036,1.366-8.585,3.258 c-3.414,2.534-5.638,5.871-6.623,10.016c-0.417,1.76-0.546,3.547-0.384,5.348c0.417,4.601,2.359,8.444,5.804,11.517 c2.325,2.073,5.037,3.393,8.094,3.989c1.617,0.317,3.247,0.395,4.889,0.242c1-0.094,1.982-0.268,2.952-0.529 c0.04-0.01,0.081-0.018,0.128-0.028c0,1.526,0,3.047,0,4.586c-0.402,0.074-0.805,0.154-1.21,0.221 c-0.861,0.14-1.728,0.231-2.601,0.258c-0.035,0.002-0.071,0.013-0.108,0.021c-0.493,0-0.983,0-1.476,0 c-0.049-0.007-0.1-0.018-0.149-0.022c-0.315-0.019-0.629-0.033-0.945-0.058c-1.362-0.105-2.702-0.346-4.017-0.716 c-3.254-0.914-6.145-2.495-8.66-4.752c-2.195-1.971-3.926-4.29-5.176-6.963c-1.152-2.466-1.822-5.057-1.993-7.774 c-0.014-0.226-0.033-0.451-0.05-0.676c0-0.502,0-1.003,0-1.504c0.008-0.049,0.02-0.099,0.022-0.148 c0.036-1.025,0.152-2.043,0.338-3.052c0.481-2.616,1.409-5.066,2.8-7.331c2.226-3.625,5.25-6.386,9.074-8.254 c2.536-1.24,5.217-1.947,8.037-2.12
16c0.23-0.015,0.461-0.034,0.691-0.051C33.052,10.292,33.535,10.292,34.019,10.292z"})}))}function tB(t,{quote:e,hashtag:i}){return w(t,"workplace.url"),"https://work.facebook.com/sharer.php"+x({u:t,quote:e,hashtag:i})}tV.displayName="WhatsappShareButton";let tO=(0,r.forwardRef)((t,e)=>{var{hashtag:i,quote:r}=t,s=g(t,["hashtag","quote"]);return(0,n.jsx)(C,m(f({},s),{forwardedRef:e,networkName:"workplace",networkLink:tB,opts:{quote:r,hashtag:i},windowHeight:400,windowWidth:550}))});function tF(t){return(0,n.jsx)(y,m(f({color:"#000000"},t),{children:(0,n.jsx)("path",{d:"M 41.116 18.375 h 4.962 l -10.8405 12.39 l 12.753 16.86 H 38.005 l -7.821 -10.2255 L 21.235 47.625 H 16.27 l 11.595 -13.2525 L 15.631 18.375 H 25.87 l 7.0695 9.3465 z m -1.7415 26.28 h 2.7495 L 24.376 21.189 H 21.4255 z"})}))}tO.displayName="WorkplaceShareButton"},44642:t=>{function e(t,e,i){if(!(t<e))return t<1.5*e?Math.floor(t/e)+" "+i:Math.ceil(t/e)+" "+i+"s"}t.exports=function(t,i){i=i||{};var n,r,s=typeof t;if("string"===s&&t.length>0){var o=t;if(!((o=String(o)).length>100)){var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(o);if(a){var l=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*l;case"days":case"day":case"d":return 864e5*l;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*l;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*l;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*l;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:break}}}return}if("number"===s&&!1===isNaN(t)){return i.long?e(n=t,864e5,"day")||e(n,36e5,"hour")||e(n,6e4,"minute")||e(n,1e3,"second")||n+" ms":(r=t)>=864e5?Math.round(r/864e5)+"d":r>=36e5?Math.round(r/36e5)+"h":r>=6e4?Math.round(r/6e4)+"m":r>=1e3?Math.round(r/1e3)+"s":r+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},47668:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"errorOnce",{enumerable:!0,get:function(){return i}});let i=t=>{}},55210:(t,e,i)=>{var n=i(37811);function r(){var t;try{t=e.storage.debug}catch(t){}return!t&&void 0!==n&&"env"in n&&(t=n.env.DEBUG),t}(e=t.exports=i(14897)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var i=this.useColors;if(t[0]=(i?"%c":"")+this.namespace+(i?" %c":" ")+t[0]+(i?"%c ":" ")+"+"+e.humanize(this.diff),i){var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,s=0;t[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(r++,"%c"===t&&(s=r))}),t.splice(s,0,n)}},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(t){}},e.load=r,e.useColors=function(){return"undefined"!=typeof window&&!!window.process&&"renderer"===window.process.type||"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(r())},55782:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useMergedRef",{enumerable:!0,get:function(){return r}});let n=i(11180);function r(t,e){let i=(0,n.useRef)(null),r=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let t=i.current;t&&(i.current=null,t());let e=r.current;e&&(r.current=null,e())}else t&&(i.current=s(t,n)),e&&(r.current=s(e,n))},[t,e])}function s(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let i=t(e);return"function"==typeof i?i:()=>t(null)}}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
1dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},63486:(t,e,i)=>{"use strict";let n,r,s;i.d(e,{P:()=>sO});let o=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],a=new Set(o),l=(t,e,i)=>i>e?e:i<t?t:i,u={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},h={...u,transform:t=>l(0,1,t)},c={...u,default:1},d=t=>Math.round(1e5*t)/1e5,p=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,f=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,m=(t,e)=>i=>!!("string"==typeof i&&f.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),g=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[r,s,o,a]=n.match(p);return{[t]:parseFloat(r),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},y={...u,transform:t=>Math.round(l(0,255,t))},v={test:m("rgb","red"),parse:g("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+y.transform(t)+", "+y.transform(e)+", "+y.transform(i)+", "+d(h.transform(n))+")"},w={test:m("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:v.transform},x=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),b=x("deg"),C=x("%"),S=x("px"),k=x("vh"),T=x("vw"),P={...C,parse:t=>C.parse(t)/100,transform:t=>C.transform(100*t)},A={test:m("hsl","hue"),parse:g("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+C.transform(d(e))+", "+C.transform(d(i))+", "+d(h.transform(n))+")"},M={test:t=>v.test(t)||w.test(t)||A.test(t),parse:t=>v.test(t)?v.parse(t):A.test(t)?A.parse(t):w.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?v.transform(t):A.transform(t),getAnimatableNone:t=>{let e=M.parse(t);return e.alpha=0,M.transform(e)}},E=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,j="number",R="color",L=/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 V(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],s=0,o=e.replace(L,t=>(M.test(t)?(n.color.push(s),r.push(R),i.push(M.parse(t))):t.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(t)):(n.number.push(s),r.push(j),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:n,types:r}}function D({split:t,types:e}){let i=t.length;return n=>{let r="";for(let s=0;s<i;s++)if(r+=t[s],void 0!==n[s]){let t=e[s];t===j?r+=d(n[s]):t===R?r+=M.transform(n[s]):r+=n[s]}return r}}let B={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(p)?.length||0)+(t.match(E)?.length||0)>0},parse:function(t){return V(t).values},createTransformer:function(t){return D(V(t))},getAnimatableNone:function(t){let e=V(t);return D(e)(e.values.map((t,i)=>{var n;let r;return n=e.split[i],"number"==typeof t?n?.trim().endsWith("/")?t:0:"number"==typeof(r=t)?0:M.test(r)?M.getAnimatableNone(r):r}))}},O=new Set(["brightness","contrast","saturate","opacity"]);function F(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(p)||[];if(!n)return t;let r=i.replace(n,""),s=+!!O.has(e);return n!==i&&(s*=100),e+"("+s+r+")"}let N=/\b([a-z-]*)\(.*?\)/gu,I={...B,getAnimatableNone:t=>{let e=t.match(N);return e?e.map(F).join(" "):t}},U={...B,getAnimatableNone:t=>{let e=B.parse(t);return B.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},W={...u,transform:Math.round},z={borderWidth:S,borderTopWidth:S,borderRightWidth:S,borderBottomWidth:S,borderLeftWidth:S,borderRadius:S,borderTopLeftRadius:S,borderTopRightRadius:S,borderBottomRightRadius:S,borderBottomLeftRadius:S,width:S,maxWidth:S,height:S,maxHeight:S,top:S,right:S,bottom:S,left:S,inset:S,insetBlock:S,insetBlockStart:S,insetBlockEnd:S,insetInline:S,insetInlineStart:S,insetInlineEnd:S,padding:S,paddingTop:S,paddingRight:S,paddingBottom:S,paddingLeft:S,paddingBlock:S,paddingBlockStart:S,paddingBlockEnd:S,paddingInline:S,paddingInlineStart:S,paddingInlineEnd:S,margin:S,marginTop:S,marginRight:S,marginBottom:S,marginLeft:S,marginBlock:S,marginBlockStart:S,marginBlockEnd:S,marginInline:S,marginInlineStart:S,marginInlineEnd:S,fontSize:S,backgroundPositionX:S,backgroundPositionY:S,rotate:b,rotateX:b,rotateY:b,rotateZ:b,scale:c,scaleX:c,scaleY:c,scaleZ:c,skew:b,skewX:b,skewY:b,distance:S,translateX:S,translateY:S,translateZ:S,x:S,y:S,z:S,perspective:S,transformPerspective:S,opacity:h,originX:P,originY:P,originZ:S,zIndex:W,fillOpacity:h,strokeOpacity:h,numOctaves:W},_={...z,color:M,backgroundColor:M,outlineColor:M,fill:M,stroke:M,borderColor:M,borderTopColor:M,borderRightColor:M,borderBottomColor:M,borderLeftColor:M,filter:I,WebkitFilter:I,mask:U,WebkitMask:U},H=t=>_[t],$=()=>({translate:0,scale:1,origin:0,originPoint:0}),K=()=>({x:$(),y:$()}),Y=()=>({min:0,max:0}),Z=()=>({x:Y(),y:Y()}),X=t=>!!(t&&t.getVelocity),G=new Set(["width","height","top","left","right","bottom",...o]),q=t=>e=>e.test(t),J=[u,S,C,b,T,k,{test:t=>"auto"===t,parse:t=>t}],Q=t=>J.find(q(t));i(37811);let tt=()=>{},te=()=>{},ti=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),tn=t=>e=>"string"==typeof e&&e.startsWith(t),tr=tn("--"),ts=tn("var(--"),to=t=>!!ts(t)&&ta.test(t.split("/*")[0].trim()),ta=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tl(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let tu=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,th=t=>180*t/Math.PI,tc=t=>tp(th(Math.atan2(t[1],t[0]))),td={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:tc,rotateZ:tc,skewX:t=>th(Math.atan(t[1])),skewY:t=>th(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tp=t=>((t%=360)<0&&(t+=360),t),tf=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tm=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tg={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tf,scaleY:tm,scale:t=>(tf(t)+tm(t))/2,rotateX:t=>tp(th(Math.atan2(t[6],t[5]))),rotateY:t=>tp(th(Math.atan2(-t[2],t[0]))),rotateZ:tc,rotate:tc,skewX:t=>th(Math.atan(t[4])),skewY:t=>th(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function ty(t){return+!!t.includes("scale")}function tv(t,e){let i,n;if(!t||"none"===t)return ty(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=tg,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=td,n=e}if(!n)return ty(e);let s=i[e],o=n[1].split(",").map(tw);return"function"==typeof s?s(o):o[s]}function tw(t){return parseFloat(t.trim())}let tx=t=>t===u||t===S,tb=new Set(["x","y","z"]),tC=o.filter(t=>!tb.has(t)),tS={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:n})=>{let r=t.max-t.min;return"border-box"===n?r:r-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:n})=>{let r=t.max-t.min;return"border-box"===n?r:r-parseFloat(e)-parseFloat(i)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>tv(e,"x"),y:(t,{transform:e})=>tv(e,"y")};tS.translateX=tS.x,tS.translateY=tS.y;let tk=t=>t,tT={},tP=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],tA={value:null,addProjectionMetrics:null};function tM(t,e){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=tP.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(h.schedule(e),t()),l++,e(a)}let h={schedule:(t,e=!1,s=!1)=>{let a=s&&r?i:n;return e&&o.add(t),a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(a=t,r){s=!0;return}r=!0;let o=i;
1i=n,n=o,i.forEach(u),e&&tA.value&&tA.value.frameloop[e].push(l),l=0,i.clear(),r=!1,s&&(s=!1,h.process(t))}};return h}(s,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:p,postRender:f}=o,m=()=>{let s=tT.useManualTiming,o=s?r.timestamp:performance.now();i=!1,s||(r.delta=n?1e3/60:Math.max(Math.min(o-r.timestamp,40),1)),r.timestamp=o,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),h.process(r),c.process(r),d.process(r),p.process(r),f.process(r),r.isProcessing=!1,i&&e&&(n=!1,t(m))};return{schedule:tP.reduce((e,s)=>{let a=o[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,n=!0,r.isProcessing||t(m)),a.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;e<tP.length;e++)o[tP[e]].cancel(t)},state:r,steps:o}}let{schedule:tE,cancel:tj,state:tR,steps:tL}=tM("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:tk,!0),tV=new Set,tD=!1,tB=!1,tO=!1;function tF(){if(tB){let t=Array.from(tV).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];return tC.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e}(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tB=!1,tD=!1,tV.forEach(t=>t.complete(tO)),tV.clear()}function tN(){tV.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tB=!0)})}class tI{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(tV.add(this),tD||(tD=!0,tE.read(tN),tE.resolveKeyframes(tF))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tV.delete(this)}cancel(){"scheduled"===this.state&&(tV.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let tU=t=>/^0[^.\s]+$/u.test(t),tW=new Set([I,U]);function tz(t,e){let i=H(t);return tW.has(i)||(i=B),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let t_=new Set(["auto","none","0"]);class tH extends tI{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&to(n=n.trim())){let r=function t(e,i,n=1){te(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(t){let e=tu.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let t=o.trim();return ti(t)?parseFloat(t):t}return to(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!G.has(i)||2!==t.length)return;let[n,r]=t,s=Q(n),o=Q(r);if(tl(n)!==tl(r)&&tS[i]){this.needsMeasurement=!0;return}if(s!==o)if(tx(s)&&tx(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tS[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||tU(n)))&&i.push(e)}i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!t_.has(e)&&V(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=tz(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tS[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=tS[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let t$=t=>1e3*t;function tK(t,e){-1===t.indexOf(e)&&t.push(e)}function tY(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class tZ{constructor(){this.subscriptions=[]}add(t){return tK(this.subscriptions,t),()=>tY(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function tX(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}function tG(t){let e;return()=>(void 0===e&&(e=t()),e)}let tq={};function tJ(t,e){let i=tG(t);return()=>tq[e]??i()}let tQ=tJ(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),t0=t=>null!==t;function t1(t,{repeat:e,repeatType:i="loop"},n,r=1){let s=t.filter(t0),o=r<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==n?n:s[o]}class t2{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let t3={layout:0,mainThread:0,waapi:0},t4=t=>Array.isArray(t)&&"number"==typeof t[0],t5=tJ(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),t6=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},t8=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,t9={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t8([0,.65,.55,1]),circOut:t8([.55,0,1,.45]),backIn:t8([.31,.01,.66,-.59]),backOut:t8([.33,1.53,.69,.99])};function t7(t){return"function"==typeof t&&"applyToOptions"in t}class et extends t2{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,te("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return t7(t)&&t5()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?t5()?t6(e,i):"ease-out":t4(e)?t8(e):Array.isArray(e)?e.map(e=>t(e,i)||t9.easeOut):t9[e]}(a,r);Array.isArray(c)&&(h.easing=c),tA.value&&t3.waapi++;let d={delay:n,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(d.pseudoElement=u);let p=t.animate(h,d);return tA.value&&p.finished.finally(()=>{t3.waapi--}),p}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=t1(n,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(t),tX(e,i,t),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=t$(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&tQ())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),tk):n(this)}}let ee=new Set(["opacity","clipPath","filter","transform"]),{schedule:ei}=tM(queueMicrotask,!1);function en(){n=void 0}let er={now:()=>(void 0===n&&er.set(tR.isProcessing||tT.useManualTiming?tR.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(en)}},es={current:void 0};class eo{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=er.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=er.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new tZ);let i=this.events[t].add(e);return"change"===t?()=>{i(),tE.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return es.current&&es.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=er.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ea(t,e){return new eo(t,e)}let el=[...J,M,B],eu=new WeakMap;function eh(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function ec(t){return"string"==typeof t||Array.isArray(t)}let ed=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ep=["initial",...ed];function ef(t){return eh(t.animate)||ep.some(e=>ec(t[e]))}function em(t){return!!(ef(t)||t.variants)}let eg={current:null},ey={current:!1},ev="undefined"!=typeof window;function ew(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function ex(t,e,i,n){if("function"==typeof e){let[r,s]=ew(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=ew(n);e=e(void 0!==i?i:t.custom,r,s)}return e}let eb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eC={};class eS{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=tI,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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 t=er.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tE.render(this.render,!1,!0))};let{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=ef(e),this.isVariantNode=em(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in c){let e=c[t];void 0!==l[t]&&X(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,eu.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(ey.current||function(){if(ey.current=!0,ev)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>eg.current=t.matches;t.addEventListener("change",e),e()}else eg.current=!1}(),this.shouldReduceMotion=eg.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),tj(this.notifyUpdate),tj(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&ee.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:r,ease:s,duration:o}=e.accelerate,a=new et({element:this.current,name:t,keyframes:n,times:r,ease:s,duration:t$(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let n=a.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tE.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in eC){let e=eC[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Z()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<eb.length;e++){let i=eb[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if(X(r))t.addValue(n,r);else if(X(s))t.addValue(n,ea(r,{owner:t}));else if(s!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,ea(void 0!==e?e:r,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=ea(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){if("string"==typeof i&&(ti(i)||tU(i)))i=parseFloat(i);else{let n;n=i,!el.find(q(n))&&B.test(e)&&(i=tz(t,e))}this.setBaseTarget(t,X(i)?i.get():i)}return X(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=ex(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||X(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new tZ),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){ei.render(this.render)}}class ek extends eS{constructor(){super(...arguments),this.KeyframeResolver=tH}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;X(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function eT(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let eP=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eA={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eM=o.length;function eE(t,e,i){let{style:n,vars:r,transformOrigin:s}=t,l=!1,u=!1;for(let t in e){let i=e[t];if(a.has(t)){l=!0;continue}if(tr(t)){r[t]=i;continue}{let e=eP(i,z[t]);t.startsWith("origin")?(u=!0,s[t]=e):n[t]=e}}
1if(!e.transform&&(l||i?n.transform=function(t,e,i){let n="",r=!0;for(let s=0;s<eM;s++){let a=o[s],l=t[a];if(void 0===l)continue;let u=!0;if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let t=parseFloat(l);u=a.startsWith("scale")?1===t:0===t}if(!u||i){let t=eP(l,z[a]);if(!u){r=!1;let e=eA[a]||a;n+=`${e}(${t}) `}i&&(e[a]=t)}}return n=n.trim(),i?n=i(e,r?"":n):r&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=s;n.transformOrigin=`${t} ${e} ${i}`}}let ej={offset:"stroke-dashoffset",array:"stroke-dasharray"},eR={offset:"strokeDashoffset",array:"strokeDasharray"},eL=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eV(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:o=0,...a},l,u,h){if(eE(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:d}=t;for(let t of(c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=h?.transformBox??"fill-box",delete c.transformBox),eL))void 0!==c[t]&&(d[t]=c[t],delete c[t]);void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==n&&(c.scale=n),void 0!==r&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?ej:eR;t[s.offset]=`${-n}`,t[s.array]=`${e} ${i}`}(c,r,s,o,!1)}let eD=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"]),eB=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eO(t,{style:e,vars:i},n,r){let s,o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}function eF(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let eN={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!S.test(t))return t;else t=parseFloat(t);let i=eF(t,e.target.x),n=eF(t,e.target.y);return`${i}% ${n}%`}},eI=(t,e,i)=>t+(e-t)*i,eU={borderRadius:{...eN,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eN,borderTopRightRadius:eN,borderBottomLeftRadius:eN,borderBottomRightRadius:eN,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=B.parse(t);if(n.length>5)return t;let r=B.createTransformer(t),s=+("number"!=typeof n[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=eI(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};function eW(t,{layout:e,layoutId:i}){return a.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eU[t]||"opacity"===t)}function ez(t,e,i){let n=t.style,r=e?.style,s={};if(!n)return s;for(let e in n)(X(n[e])||r&&X(r[e])||eW(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(s[e]=n[e]);return s}function e_(t,e,i){let n=ez(t,e,i);for(let i in t)(X(t[i])||X(e[i]))&&(n[-1!==o.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class eH extends ek{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Z}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(a.has(e)){let t=H(e);return t&&t.default||0}return e=eD.has(e)?e:eT(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return e_(t,e,i)}build(t,e,i){eV(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in eO(t,e,void 0,n),e.attrs)t.setAttribute(eD.has(i)?i:eT(i),e.attrs[i])}mount(t){this.isSVGTag=eB(t.tagName),super.mount(t)}}function e$({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function eK(t){return void 0===t||1===t}function eY({scale:t,scaleX:e,scaleY:i}){return!eK(t)||!eK(e)||!eK(i)}function eZ(t){return eY(t)||eX(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eX(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function eG(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function eq(t,e=0,i=1,n,r){t.min=eG(t.min,e,i,n,r),t.max=eG(t.max,e,i,n,r)}function eJ(t,{x:e,y:i}){eq(t.x,e.translate,e.scale,e.originPoint),eq(t.y,i.translate,i.scale,i.originPoint)}function eQ(t,e){t.min+=e,t.max+=e}function e0(t,e,i,n,r=.5){let s=eI(t.min,t.max,r);eq(t,e,i,s,n)}function e1(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function e2(t,e,i){let n=i??t;e0(t.x,e1(e.x,n.x),e.scaleX,e.scale,e.originX),e0(t.y,e1(e.y,n.y),e.scaleY,e.scale,e.originY)}function e3(t,e){return e$(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}class e4 extends ek{constructor(){super(...arguments),this.type="html",this.renderInstance=eO}readValueFromInstance(t,e){if(a.has(e))return this.projection?.isProjecting?ty(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tv(i,e)})(t,e);{let i=window.getComputedStyle(t),n=(tr(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return e3(t,e)}build(t,e,i){eE(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return ez(t,e,i)}}var e5=i(11180);let e6=["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 e8(t){if("string"!=typeof t||t.includes("-"));else if(e6.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var e9=i(95296);let e7=(0,e5.createContext)({}),it=(0,e5.createContext)({strict:!1}),ie=(0,e5.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),ii=(0,e5.createContext)({});function ir(t){return Array.isArray(t)?t.join(" "):t}let is=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function io(t,e,i){for(let n in e)X(e[n])||eW(n,i)||(t[n]=e[n])}let ia=()=>({...is(),attrs:{}}),il=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","propagate","ignoreStrict","viewport"]);function iu(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||il.has(t)}let ih=t=>!iu(t);try{!function(t){"function"==typeof t&&(ih=e=>e.startsWith("on")?!iu(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}function ic(t){return X(t)?t.get():t}let id=(0,e5.createContext)(null),ip=t=>(e,i)=>{let n=(0,e5.useContext)(ii),r=(0,e5.useContext)(id),s=()=>(function(t,e,i,n){let{scrapeMotionValuesFromProps:r,createRenderState:s}=t;return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=ic(s[t]);let{initial:o,animate:a}=t,l=ef(t),u=em(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!eh(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let n=ex(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(e,i,n,r),renderState:s()}})(t,e,n,r);return i?s():function(t){let e=(0,e5.useRef)(null);return null===e.current&&(e.current=t()),e.current}(s)},im=ip({scrapeMotionValuesFromProps:ez,createRenderState:is}),ig=ip({scrapeMotionValuesFromProps:e_,createRenderState:ia}),iy={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"]},iv=!1;function iw(){return!function(){if(iv)return;let t={};for(let e in iy)t[e]={isEnabled:t=>iy[e].some(e=>!!t[e])};eC=t,iv=!0}(),eC}let ix=Symbol.for("motionComponentSymbol"),ib="data-"+eT("framerAppearId"),iC=(0,e5.createContext)({});function iS(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let ik="undefined"!=typeof window?e5.useLayoutEffect:e5.useEffect;function iT(t){var e,i;let{forwardMotionProps:n=!1,type:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;s&&function(t){let e=iw();for(let i in t)e[i]={...e[i],...t[i]};eC=e}(s);let a=r?"svg"===r:e8(t),l=a?ig:im;function u(e,i){let r,s={...(0,e5.useContext)(ie),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,e5.useContext)(e7).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:u}=s,h=function(t){let{initial:e,animate:i}=function(t,e){if(ef(t)){let{initial:e,animate:i}=t;return{initial:!1===e||ec(e)?e:void 0,animate:ec(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e5.useContext)(ii));return(0,e5.useMemo)(()=>({initial:e,animate:i}),[ir(e),ir(i)])}(e),c=l(e,u);if(!u&&"undefined"!=typeof window){(0,e5.useContext)(it).strict;let e=function(t){let{drag:e,layout:i}=iw();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
1(s);r=e.MeasureLayout,h.visualElement=function(t,e,i,n,r,s){var o,a,l,u;let{visualElement:h}=(0,e5.useContext)(ii),c=(0,e5.useContext)(it),d=(0,e5.useContext)(id),p=(0,e5.useContext)(ie),f=p.reducedMotion,m=p.skipAnimations,g=(0,e5.useRef)(null),y=(0,e5.useRef)(!1);n=n||c.renderer,!g.current&&n&&(g.current=n(t,{visualState:e,parent:h,props:i,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:f,skipAnimations:m,isSVG:s}),y.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));let v=g.current,w=(0,e5.useContext)(iC);v&&!v.projection&&r&&("html"===v.type||"svg"===v.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:h,layoutCrossfade:c}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!o||a&&iS(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(g.current,i,r,w);let x=(0,e5.useRef)(!1);(0,e5.useInsertionEffect)(()=>{v&&x.current&&v.update(i,d)});let b=i[ib],C=(0,e5.useRef)(!!b&&"undefined"!=typeof window&&!(null==(o=(a=window).MotionHandoffIsComplete)?void 0:o.call(a,b))&&(null==(l=(u=window).MotionHasOptimisedAnimation)?void 0:l.call(u,b)));return ik(()=>{y.current=!0,v&&(x.current=!0,window.MotionIsMounted=!0,v.updateFeatures(),v.scheduleRenderMicrotask(),C.current&&v.animationState&&v.animationState.animateChanges())}),(0,e5.useEffect)(()=>{v&&(!C.current&&v.animationState&&v.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{var t,e;null==(t=(e=window).MotionHandoffMarkAsComplete)||t.call(e,b)}),C.current=!1),v.enteringChildren=void 0)}),v}(t,c,s,o,e.ProjectionNode,a)}return(0,e9.jsxs)(ii.Provider,{value:h,children:[r&&h.visualElement?(0,e9.jsx)(r,{visualElement:h.visualElement,...s}):null,function(t,e,i,n,r){let{latestValues:s}=n,o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,l=((null!=a?a:e8(t))?function(t,e,i,n){let r=(0,e5.useMemo)(()=>{let i=ia();return eV(i,e,eB(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};io(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return io(n,i,t),Object.assign(n,function(t,e){let{transformTemplate:i}=t;return(0,e5.useMemo)(()=>{let t=is();return eE(t,e,i),Object.assign({},t.vars,t.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(e,s,r,t),u=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&!X(t[r])&&(ih(r)||!0===i&&iu(r)||!e&&!iu(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,o),h=t!==e5.Fragment?{...u,...l,ref:i}:{},{children:c}=e,d=(0,e5.useMemo)(()=>X(c)?c.get():c,[c]);return(0,e5.createElement)(t,{...h,children:d})}(t,e,function(t,e,i){let n=(0,e5.useRef)(i);(0,e5.useInsertionEffect)(()=>{n.current=i});let r=(0,e5.useRef)(null);return(0,e5.useCallback)(i=>{if(i){var s;null==(s=t.onMount)||s.call(t,i)}let o=n.current;if("function"==typeof o)if(i){let t=o(i);"function"==typeof t&&(r.current=t)}else r.current?(r.current(),r.current=null):o(i);else o&&(o.current=i);e&&(i?e.mount(i):e.unmount())},[e])}(c,h.visualElement,i),c,u,n,a)]})}u.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(i=null!=(e=t.displayName)?e:t.name)?i:"",")"));let h=(0,e5.forwardRef)(u);return h[ix]=t,h}class iP{constructor(t){this.isMounted=!1,this.node=t}update(){}}function iA(t,e,i){let n=t.getProps();return ex(n,e,void 0!==i?i:n.custom,t)}function iM(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}function iE(t,e){let i=t?.[e]??t?.default??t;return i!==t?iM(i,t):i}let ij=t=>Array.isArray(t);function iR(t,e){let i=t.getValue("willChange");if(X(i)&&i.add)return i.add(e);if(!i&&tT.WillChange){let i=new tT.WillChange("auto");
1t.addValue("willChange",i),i.add(e)}}let iL=(t,e)=>i=>e(t(i)),iV=(...t)=>t.reduce(iL);function iD(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function iB(t,e){return i=>i>0?e:t}let iO=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},iF=[w,v,A];function iN(t){let e=iF.find(e=>e.test(t));if(tt(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===A&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=iD(a,n,t+1/3),s=iD(a,n,t),o=iD(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let iI=(t,e)=>{let i=iN(t),n=iN(e);if(!i||!n)return iB(t,e);let r={...i};return t=>(r.red=iO(i.red,n.red,t),r.green=iO(i.green,n.green,t),r.blue=iO(i.blue,n.blue,t),r.alpha=eI(i.alpha,n.alpha,t),v.transform(r))},iU=new Set(["none","hidden"]);function iW(t,e){return i=>eI(t,e,i)}function iz(t){return"number"==typeof t?iW:"string"==typeof t?to(t)?iB:M.test(t)?iI:i$:Array.isArray(t)?i_:"object"==typeof t?M.test(t)?iI:iH:iB}function i_(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>iz(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function iH(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=iz(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let i$=(t,e)=>{let i=B.createTransformer(e),n=V(t),r=V(e);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?iU.has(t)&&!r.values.length||iU.has(e)&&!n.values.length?function(t,e){return iU.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):iV(i_(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],o=t.indexes[s][n[s]],a=t.values[o]??0;i[r]=a,n[s]++}return i}(n,r),r.values),i):(tt(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),iB(t,e))};function iK(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?eI(t,e,i):iz(t)(t,e)}let iY=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tE.update(e,t),stop:()=>tj(e),now:()=>tR.isProcessing?tR.timestamp:er.now()}};function iZ(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}let iX={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 iG(t,e){return t*Math.sqrt(1-e*e)}let iq=["duration","bounce"],iJ=["stiffness","damping","mass"];function iQ(t,e){return e.some(e=>void 0!==t[e])}function i0(t=iX.visualDuration,e=iX.bounce){let i,n,r,s,o,a,u="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:h,restDelta:c}=u,d=u.keyframes[0],p=u.keyframes[u.keyframes.length-1],f={done:!1,value:d},{stiffness:m,damping:g,mass:y,duration:v,velocity:w,isResolvedFromDuration:x}=function(t){let e={velocity:iX.velocity,stiffness:iX.stiffness,damping:iX.damping,mass:iX.mass,isResolvedFromDuration:!1,...t};if(!iQ(t,iJ)&&iQ(t,iq))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*l(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:iX.mass,stiffness:n,damping:r}}else{let i=function({duration:t=iX.duration,bounce:e=iX.bounce,velocity:i=iX.velocity,mass:n=iX.mass}){let r,s;tt(t<=t$(iX.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=l(iX.minDamping,iX.maxDamping,o),t=l(iX.minDuration,iX.maxDuration,t/1e3),o<1?(r=e=>{let n=e*o,r=n*t;return .001-(n-i)/iG(e,o)*Math.exp(-r)},s=e=>{let n=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-n),l=iG(Math.pow(e,2),o);return(n*i+i-s)*a*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));
1let a=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,s,5/t);if(t=t$(t),isNaN(a))return{stiffness:iX.stiffness,damping:iX.damping,duration:t};{let e=Math.pow(a,2)*n;return{stiffness:e,damping:2*o*Math.sqrt(n*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:iX.mass}).isResolvedFromDuration=!0}return e}({...u,velocity:-((u.velocity||0)/1e3)}),b=w||0,C=g/(2*Math.sqrt(m*y)),S=p-d,k=Math.sqrt(m/y)/1e3,T=5>Math.abs(S);if(h||(h=T?iX.restSpeed.granular:iX.restSpeed.default),c||(c=T?iX.restDelta.granular:iX.restDelta.default),C<1)r=iG(k,C),s=(b+C*k*S)/r,i=t=>p-Math.exp(-C*k*t)*(s*Math.sin(r*t)+S*Math.cos(r*t)),o=C*k*s+S*r,a=C*k*S-s*r,n=t=>Math.exp(-C*k*t)*(o*Math.sin(r*t)+a*Math.cos(r*t));else if(1===C){i=t=>p-Math.exp(-k*t)*(S+(b+k*S)*t);let t=b+k*S;n=e=>Math.exp(-k*e)*(k*t*e-b)}else{let t=k*Math.sqrt(C*C-1);i=e=>{let i=Math.exp(-C*k*e),n=Math.min(t*e,300);return p-i*((b+C*k*S)*Math.sinh(n)+t*S*Math.cosh(n))/t};let e=(b+C*k*S)/t,r=C*k*e-S*t,s=C*k*S-e*t;n=e=>{let i=Math.exp(-C*k*e),n=Math.min(t*e,300);return i*(r*Math.sinh(n)+s*Math.cosh(n))}}let P={calculatedDuration:x&&v||null,velocity:t=>t$(n(t)),next:t=>{if(!x&&C<1){let e=Math.exp(-C*k*t),i=Math.sin(r*t),n=Math.cos(r*t),l=p-e*(s*i+S*n);return f.done=Math.abs(t$(e*(o*i+a*n)))<=h&&Math.abs(p-l)<=c,f.value=f.done?p:l,f}let e=i(t);return x?f.done=t>=v:f.done=Math.abs(t$(n(t)))<=h&&Math.abs(p-e)<=c,f.value=f.done?p:e,f},toString:()=>{let t=Math.min(iZ(P),2e4),e=t6(e=>P.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return P}function i1(t,e,i){var n,r;let s=Math.max(e-5,0);return n=i-t(s),(r=e-s)?1e3/r*n:0}function i2({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,p=t[0],f={done:!1,value:p},m=i*e,g=p+m,y=void 0===o?g:o(g);y!==g&&(m=y-p);let v=t=>-m*Math.exp(-t/n),w=t=>y+v(t),x=t=>{let e=v(t),i=w(t);f.done=Math.abs(e)<=u,f.value=f.done?y:i},b=t=>{let e;if(e=f.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;c=t,d=i0({keyframes:[f.value,(i=f.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:i1(w,t,f.value),damping:r,stiffness:s,restDelta:u,restSpeed:h})}};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,x(t),b(t)),void 0!==c&&t>=c)?d.next(t-c):(e||x(t),f)}}}i0.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),r=Math.min(iZ(n),2e4);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:r/1e3}}(t,100,i0);return t.ease=e.ease,t.duration=t$(e.duration),t.type="keyframes",t};let i3=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function i4(t,e,i,n){return t===e&&i===n?tk:r=>0===r||1===r?r:i3(function(t,e,i,n,r){let s,o,a=0;do(s=i3(o=e+(i-e)/2,n,r)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o}(r,0,1,t,i),e,n)}let i5=i4(.42,0,1,1),i6=i4(0,0,.58,1),i8=i4(.42,0,.58,1),i9=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,i7=t=>e=>1-t(1-e),nt=i4(.33,1.53,.69,.99),ne=i7(nt),ni=i9(ne),nn=t=>t>=1?1:(t*=2)<1?.5*ne(t):.5*(2-Math.pow(2,-10*(t-1))),nr=t=>1-Math.sin(Math.acos(t)),ns=i7(nr),no=i9(nr),na={linear:tk,easeIn:i5,easeInOut:i8,easeOut:i6,circIn:nr,circInOut:no,circOut:ns,backIn:ne,backInOut:ni,backOut:nt,anticipate:nn},nl=t=>{if(t4(t)){te(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return i4(e,i,n,r)}return"string"==typeof t?(te(void 0!==na[t],`Invalid easing type '${t}'`,"invalid-easing-type"),na[t]):t},nu=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n};function nh({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(nl):nl(n),o={done:!1,value:e[0]},a=function(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let s=t.length;if(te(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let n=[],r=i||tT.mix||iK,s=t.length-1;for(let i=0;i<s;i++){let s=r(t[i],t[i+1]);e&&(s=iV(Array.isArray(e)?e[i]||tk:e,s)),n.push(s)}return n}(e,n,r),u=a.length,h=i=>{if(o&&i<t[0])return e[0];let n=0;if(u>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=nu(t[n],t[n+1],i);return a[n](r)};return i?e=>h(l(t[0],t[s-1],e)):h}
1((r=i&&i.length===e.length?i:function(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=nu(0,e,n);t.push(eI(i,1,r))}}(e,t.length-1),e}(e),r.map(e=>e*t)),e,{ease:Array.isArray(s)?s:e.map(()=>s||i8).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}let nc={decay:i2,inertia:i2,tween:nh,keyframes:nh,spring:i0};function nd(t){"string"==typeof t.type&&(t.type=nc[t.type])}let np=t=>t/100;class nf extends t2{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==er.now()&&this.tick(er.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},t3.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;nd(t);let{type:e=nh,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:o}=t,a=e||nh;a!==nh&&"number"!=typeof o[0]&&(this.mixKeyframes=iV(np,iK(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===r&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=iZ(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:n,totalDuration:r,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:u}=this;if(null===this.startTime)return n.next(0);let{delay:h=0,keyframes:c,repeat:d,repeatType:p,repeatDelay:f,type:m,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-h*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?v<0:v>r;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let x=this.currentTime,b=n;if(d){let t=Math.min(this.currentTime,r)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(i=1-i,f&&(i-=f/a)):"mirror"===p&&(b=o)),x=l(0,1,i)*a}w?(this.delayState.value=c[0],i=this.delayState):i=b.next(x),s&&!w&&(i.value=s(i.value));let{done:C}=i;w||null===u||(C=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&C);return S&&m!==i2&&(i.value=t1(c,this.options,y,this.speed)),g&&g(i.value),S&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return this.currentTime/1e3}set time(t){t=t$(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return i1(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(er.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=iY,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(er.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,t3.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}let nm={anticipate:nn,backInOut:ni,circInOut:no};
1class ng extends et{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in nm&&(t.ease=nm[t.ease])}(t),nd(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new nf({...s,autoplay:!1}),a=Math.max(10,er.now()-this.startTime),u=l(0,10,a-10),h=o.sample(a).value,{name:c}=this.options;r&&c&&tX(r,c,h),e.setWithVelocity(o.sample(Math.max(0,a-u)).value,h,u),o.stop()}}let ny=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(B.test(t)||"0"===t)&&!t.startsWith("url("));function nv(t){t.duration=0,t.type="keyframes"}let nw=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,nx=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),nb=tG(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class nC extends t2{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=er.now();let c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:a,motionValue:l,element:u,...h},d=u?.KeyframeResolver||tI;this.keyframeResolver=new d(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let r;this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:h}=i;this.resolvedAt=er.now();let c=!0;!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=ny(r,e),a=ny(s,e);return tt(o===a,`You are trying to animate ${e} from "${r}" to "${s}". "${o?s:r}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||t7(i))&&n)}(t,s,o,a)&&(c=!1,(tT.instantAnimations||!l)&&h?.(t1(t,i,e)),t[0]=t[t.length-1],nv(i),i.repeat=0);let d={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=c&&!u&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=e.owner.getProps();return nb()&&i&&(ee.has(i)||nx.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&nw.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!u)&&!l&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(d),f=d.motionValue?.owner?.current;if(p)try{r=new ng({...d,element:f})}catch{r=new nf(d)}else r=new nf(d);r.finished.then(()=>{this.notifyFinished()}).catch(tk),this.pendingTimeline&&(this.stopTimeline=r.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=r}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),tO=!0,tN(),tF(),tO=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let nS={type:"spring",stiffness:500,damping:25,restSpeed:10},nk={type:"keyframes",duration:.8},nT={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nP=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),nA=(t,e,i,n={},r,s)=>o=>{let l=iE(n,t)||{}
1,u=l.delay||n.delay||0,{elapsed:h=0}=n;h-=t$(u);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:s?void 0:r};!function(t){for(let e in t)if(!nP.has(e))return!0;return!1}(l)&&Object.assign(c,((t,{keyframes:e})=>e.length>2?nk:a.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:nS:nT)(t,c)),c.duration&&(c.duration=t$(c.duration)),c.repeatDelay&&(c.repeatDelay=t$(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(nv(c),0===c.delay&&(d=!0)),(tT.instantAnimations||tT.skipAnimations||r?.shouldSkipAnimations)&&(d=!0,nv(c),c.delay=0),c.allowFlatten=!l.type&&!l.ease,d&&!s&&void 0!==e.get()){let t=t1(c.keyframes,l);if(void 0!==t)return void tE.update(()=>{c.onUpdate(t),c.onComplete()})}return l.isSync?new nf(c):new nC(c)};function nM(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s,transitionEnd:o,...a}=e,l=t.getDefaultTransition();s=s?iM(s,l):l;let u=s?.reduceMotion;n&&(s=n);let h=[],c=r&&t.animationState&&t.animationState.getState()[r];for(let e in a){let n=t.getValue(e,t.latestValues[e]??null),r=a[e];if(void 0===r||c&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(c,e))continue;let o={delay:i,...iE(s||{},e)},l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(r)&&r===l&&!o.velocity){tE.update(()=>n.set(r));continue}let d=!1;if(window.MotionHandoffAnimation){let i=t.props[ib];if(i){let t=window.MotionHandoffAnimation(i,e,tE);null!==t&&(o.startTime=t,d=!0)}}iR(t,e);let p=u??t.shouldReduceMotion;n.start(nA(e,n,r,p&&G.has(e)?{type:!1}:o,t,d));let f=n.animation;f&&h.push(f)}if(o){let e=()=>tE.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=iA(t,e)||{};for(let e in r={...r,...i}){var s;let i=ij(s=r[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,ea(i))}}(t,o)});h.length?Promise.all(h).then(e):e()}return h}function nE(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(s,o):1===r?s*n:a-s*n}function nj(t,e,i={}){let n=iA(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>Promise.all(nM(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e,i=0,n=0,r=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(nj(l,e,{...o,delay:i+("function"==typeof n?0:n)+nE(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,s,o,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}let nR=ep.length;function nL(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let nV=[...ed].reverse(),nD=ed.length;function nB(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nO(){return{animate:nB(!0),whileInView:nB(),whileHover:nB(),whileTap:nB(),whileDrag:nB(),whileFocus:nB(),exit:nB()}}class nF extends iP{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>nj(t,e,i)));else if("string"==typeof e)n=nj(t,e,i);else{let r="function"==typeof e?iA(t,e,i.custom):e;n=Promise.all(nM(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=nO(),n=!0,r=!1,s=e=>(i,n)=>{let r=iA(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function o(o){let{props:a}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<nR;t++){let n=ep[t],r=e.props[n];(ec(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},u=[],h=new Set,c={},d=1/0;for(let e=0;e<nD;e++){var p,f;let m=nV[e],g=i[m],y=void 0!==a[m]?a[m]:l[m],v=ec(y),w=m===o?g.isActive:null;!1===w&&(d=e);let x=y===l[m]&&y!==a[m]&&v;if(x&&(n||r)&&t.manuallyAnimateOnMount&&(x=!1),g.protectedKeys={...c},!g.isActive&&null===w||!y&&!g.prevProp||eh(y)||"boolean"==typeof y)continue;if("exit"===m&&g.isActive&&!0!==w){g.prevResolvedValues&&(c={...c,...g.prevResolvedValues});continue}let b=(p=g.prevProp,"string"==typeof(f=y)?f!==p:!!Array.isArray(f)&&!nL(f,p)),C=b||m===o&&g.isActive&&!x&&v||e>d&&v,S=!1,k=Array.isArray(y)?y:[y],T=k.reduce(s(m),{});!1===w&&(T={});let{prevResolvedValues:P={}}=g,A={...P,...T},M=e=>{C=!0,h.has(e)&&(S=!0,h.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);
1i&&(i.liveStyle=!1)};for(let t in A){let e=T[t],i=P[t];if(!c.hasOwnProperty(t))(ij(e)&&ij(i)?nL(e,i):e===i)?void 0!==e&&h.has(t)?M(t):g.protectedKeys[t]=!0:null!=e?M(t):h.add(t)}g.prevProp=y,g.prevResolvedValues=T,g.isActive&&(c={...c,...T}),(n||r)&&t.blockInitialAnimation&&(C=!1);let E=x&&b,j=!E||S;C&&j&&u.push(...k.map(e=>{let i={type:m};if("string"==typeof e&&(n||r)&&!E&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=iA(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=nE(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof a.initial){let i=iA(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),u.push({animation:e})}let m=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(m=!1),n=!1,r=!1,m?e(u):Promise.resolve()}return{animateChanges:o,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=o(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=nO(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();eh(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let nN=0;class nI extends iP{constructor(){super(...arguments),this.id=nN++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t){let i=iA(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...n}=i;for(let t in n)this.node.getValue(t)?.jump(n[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let nU={x:!1,y:!1};function nW(t){return[t("x"),t("y")]}function nz(t){return t.max-t.min}function n_(t,e,i,n=.5){t.origin=n,t.originPoint=eI(e.min,e.max,t.origin),t.scale=nz(i)/nz(e),t.translate=eI(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function nH(t,e,i,n){n_(t.x,e.x,i.x,n?n.originX:void 0),n_(t.y,e.y,i.y,n?n.originY:void 0)}function n$(t,e,i,n=0){t.min=(n?eI(i.min,i.max,n):i.min)+e.min,t.max=t.min+nz(e)}function nK(t,e,i,n=0){let r=n?eI(i.min,i.max,n):i.min;t.min=e.min-r,t.max=t.min+nz(e)}function nY(t,e,i,n){nK(t.x,e.x,i.x,n?.x),nK(t.y,e.y,i.y,n?.y)}let nZ=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),nX=new Set(["INPUT","SELECT","TEXTAREA"]);function nG(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}function nq(t){return"object"==typeof t&&null!==t}function nJ(t){return nq(t)&&"ownerSVGElement"in t}function nQ(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}let n0=new WeakMap,n1=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:nJ(n)&&"getBBox"in n?n.getBBox()[e]:n[i],n2=n1("inline","width","offsetWidth"),n3=n1("block","height","offsetHeight");function n4({target:t,borderBoxSize:e}){n0.get(t)?.forEach(i=>{i(t,{get width(){return n2(t,e)},get height(){return n3(t,e)}})})}function n5(t){t.forEach(n4)}let n6=new Set;function n8(t,e){return"function"==typeof t?(n6.add(t),s||(s=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};n6.forEach(e=>e(t))},window.addEventListener("resize",s)),()=>{n6.delete(t),n6.size||"function"!=typeof s||(window.removeEventListener("resize",s),s=void 0)}):function(t,e){r||"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(n5));let i=nQ(t);return i.forEach(t=>{let i=n0.get(t);i||(i=new Set,n0.set(t,i)),i.add(e),r?.observe(t)}),()=>{i.forEach(t=>{let i=n0.get(t);i?.delete(e),i?.size||r?.unobserve(t)})}}(t,e)}let n9=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function n7(t){return{point:{x:t.pageX,y:t.pageY}}}function rt(t,e,i,n){return nG(t,e,t=>n9(t)&&i(t,n7(t)),n)}let re=({current:t})=>t?t.ownerDocument.defaultView:null,ri=(t,e)=>Math.abs(t-e),rn=new Set(["auto","scroll"]);class rr{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=rs(this.lastRawMoveEventInfo,this.transformPagePoint));let t=ra(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(ri(t.x,e.x)**2+ri(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:n}=t,{timestamp:r}=tR;this.history.push({...n,timestamp:r});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=rs(e,this.transformPagePoint),tE.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=ra("pointercancel"===t.type?this.lastMoveEventInfo:rs(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!n9(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;let a=rs(n7(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=tR;this.history=[{...l,timestamp:u}];let{onSessionStart:h}=e;h&&h(t,ra(a,this.history)),this.removeListeners=iV(rt(this.contextWindow,"pointermove",this.handlePointerMove),rt(this.contextWindow,"pointerup",this.handlePointerUp),rt(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(rn.has(t.overflowX)||rn.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:n.x-e.x,y:n.y-e.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,n),tE.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tj(this.updatePoint)}}function rs(t,e){return e?{point:e(t.point)}:t}function ro(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ra({point:t},e){return{point:t,delta:ro(t,rl(e)),offset:ro(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=rl(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>t$(.1)));)i--;if(!n)return{x:0,y:0};n===t[0]&&t.length>2&&r.timestamp-n.timestamp>2*t$(e)&&(n=t[1]);let s=(r.timestamp-n.timestamp)/1e3;if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s}
1;return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function rl(t){return t[t.length-1]}function ru(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function rh(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function rc(t,e,i){return{min:rd(t,e),max:rd(t,i)}}function rd(t,e){return"number"==typeof t?t:t[e]||0}let rp=new WeakMap;class rf{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Z(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=t=>{e&&this.snapToCursor(n7(t).point),this.stopAnimation()},s=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(nU[t])return null;else return nU[t]=!0,()=>{nU[t]=!1};return nU.x||nU.y?null:(nU.x=nU.y=!0,()=>{nU.x=nU.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nW(t=>{let e=this.getAxisMotionValue(t).get()||0;if(C.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=nz(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&tE.update(()=>r(t,e),!1,!0),iR(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&tE.update(()=>s(t,e),!1,!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new rr(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:re(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&tE.postRender(()=>o(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!rg(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?eI(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?eI(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&iS(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:ru(t.x,i,r),y:ru(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:rc(t,"left","right"),y:rc(t,"top","bottom")}}(e),n!==this.constraints&&!iS(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&nW(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!iS(e))return!1;let n=e.current;te(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;
1let s=function(t,e,i){let n=e3(t,i),{scroll:r}=e;return r&&(eQ(n.x,r.offset.x),eQ(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:rh(t.x,s.x),y:rh(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=e$(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(nW(o=>{if(!rg(o,e,this.currentDirection))return;let l=a&&a[o]||{};(!0===s||s===o)&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return iR(this.visualElement,t),i.start(nA(t,i,0,e,this.visualElement,!1))}stopAnimation(){nW(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){nW(e=>{let{drag:i}=this.getProps();if(!rg(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e],o=r.get()||0;r.set(t[e]-eI(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iS(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nW(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=nz(t),r=nz(e);return r>n?i=nu(e.min,e.max-n,t.min):n>r&&(i=nu(t.min,t.max-r,e.min)),l(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),nW(e=>{if(!rg(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set(eI(r,s,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;rp.set(this.visualElement,this);let e=this.visualElement.current,i=rt(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}=this.getProps(),r=t.target,s=r!==e&&(nX.has(r.tagName)||!0===r.isContentEditable);i&&n&&!s&&this.start(t)}),n=()=>{let{dragConstraints:i}=this.getProps();iS(i)&&i.current&&(this.constraints=this.resolveRefConstraints(),t||(t=function(t,e,i){let n=n8(t,rm(i)),r=n8(e,rm(i));return()=>{n(),r()}}(e,i.current,()=>this.scalePositionWithinConstraints())))},{projection:r}=this.visualElement,s=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),tE.read(n);let o=nG(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(nW(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),i(),s(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function rm(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function rg(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class ry extends iP{constructor(t){super(t),this.removeGroupControls=tk,this.removeListeners=tk,this.controls=new rf(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tk}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let rv=t=>(e,i)=>{t&&tE.update(()=>t(e,i),!1,!0)};class rw extends iP{constructor(){super(...arguments),this.removePointerDownListener=tk}onPointerDown(t){this.session=new rr(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:re(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:rv(t),onStart:rv(e),onMove:rv(i),onEnd:(t,e)=>{delete this.session,n&&tE.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=rt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let rx={hasAnimatedSinceResize:!0,hasEverUpdated:!1},rb=!1;class rC extends e5.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),rb&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),rx.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,t.layoutDependency!==e&&s.setOptions({...s.options,layoutDependency:e}),rb=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||tE.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),ei.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;rb=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function rS(t){let[e,i]=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,e5.useContext)(id);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:n,register:r}=e,s=(0,e5.useId)();(0,e5.useEffect)(()=>
1{if(t)return r(s)},[t]);let o=(0,e5.useCallback)(()=>t&&n&&n(s),[s,n,t]);return!i&&n?[!1,o]:[!0]}(),n=(0,e5.useContext)(e7);return(0,e9.jsx)(rC,{...t,layoutGroup:n,switchLayoutGroup:(0,e5.useContext)(iC),isPresent:e,safeToRemove:i})}let rk=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],rT=rk.length,rP=t=>"string"==typeof t?parseFloat(t):t,rA=t=>"number"==typeof t||S.test(t);function rM(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rE=rR(0,.5,ns),rj=rR(.5,.95,tk);function rR(t,e,i){return n=>n<t?0:n>e?1:i(nu(t,e,n))}function rL(t,e){t.min=e.min,t.max=e.max}function rV(t,e){rL(t.x,e.x),rL(t.y,e.y)}function rD(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function rB(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function rO(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(C.test(e)&&(e=parseFloat(e),e=eI(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=eI(s.min,s.max,n);t===s&&(a-=e),t.min=rB(t.min,e,i,a,r),t.max=rB(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let rF=["x","scaleX","originX"],rN=["y","scaleY","originY"];function rI(t,e,i,n){rO(t.x,e,rF,i?i.x:void 0,n?n.x:void 0),rO(t.y,e,rN,i?i.y:void 0,n?n.y:void 0)}function rU(t){return 0===t.translate&&1===t.scale}function rW(t){return rU(t.x)&&rU(t.y)}function rz(t,e){return t.min===e.min&&t.max===e.max}function r_(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function rH(t,e){return r_(t.x,e.x)&&r_(t.y,e.y)}function r$(t){return nz(t.x)/nz(t.y)}function rK(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class rY{constructor(){this.members=[]}add(t){tK(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1!==n.isConnected||i.snapshot||(tY(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if(tY(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:n}=i.options,{layoutDependency:r}=t.options;(void 0===n||n!==r)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let rZ=(t,e)=>t.depth-e.depth;class rX{constructor(){this.children=[],this.isDirty=!1}add(t){tK(this.children,t),this.isDirty=!0}remove(t){tY(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rZ),this.isDirty=!1,this.children.forEach(t)}}let rG={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},rq=["","X","Y","Z"],rJ=0;function rQ(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function r0({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=rJ++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,tA.value&&(rG.nodes=rG.calculatedTargetDeltas=rG.calculatedProjections=0),this.nodes.forEac
1h(r3),this.nodes.forEach(si),this.nodes.forEach(sn),this.nodes.forEach(r4),tA.addProjectionMetrics&&tA.addProjectionMetrics(rG)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rX)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tZ),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=nJ(e)&&!(nJ(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,r=()=>this.root.updateBlockedByResize=!1;tE.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==n&&(n=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=er.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&(tj(n),t(r-250))};return tE.setup(n,!0),()=>tj(n)}(r,250),rx.hasAnimatedSinceResize&&(rx.hasAnimatedSinceResize=!1,this.nodes.forEach(se)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||su,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!rH(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...iE(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||se(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tj(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(sr),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=i.props[ib];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tE,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEac
1h(r8),this.nodes.forEach(r6);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(r9);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(r7),this.nodes.forEach(st),this.nodes.forEach(r1),this.nodes.forEach(r2)):this.nodes.forEach(r9),this.clearAllSnapshots();let t=er.now();tR.delta=l(0,1e3/60,t-tR.timestamp),tR.timestamp=t,tR.isProcessing=!0,tL.update.process(tR),tL.preRender.process(tR),tL.render.process(tR),tR.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ei.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(r5),this.sharedNodes.forEach(ss)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tE.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tE.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nz(this.snapshot.measuredBox.x)||nz(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 t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=Z()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!rW(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||eZ(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),sd((e=n).x),sd(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return Z();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(sf))){let{scroll:t}=this.root;t&&(eQ(e.x,t.offset.x),eQ(e.y,t.offset.y))}return e}removeElementScroll(t){let e=Z();if(rV(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&rV(e,t),eQ(e.x,r.offset.x),eQ(e.y,r.offset.y))}return e}applyTransform(t,e=!1,i){let n=i||Z();rV(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(eQ(n.x,-i.scroll.offset.x),eQ(n.y,-i.scroll.offset.y)),eZ(i.latestValues)&&e2(n,i.latestValues,i.layout?.layoutBox)}return eZ(this.latestValues)&&e2(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){let e=Z();rV(e,t);for(let t=0;t<this.path.length;t++){let i,n=this.path[t];eZ(n.latestValues)&&(n.instance&&(eY(n.latestValues)&&n.updateSnapshot(),rV(i=Z(),n.measurePageBox())),rI(e,n.latestValues,n.snapshot?.layoutBox,i))}return eZ(this.latestValues)&&rI(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.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!==tR.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(!this.layout||!(n||r))return;this.resolvedRelativeTargetAt=tR.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=Z(),this.targetWithTransforms=Z()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l,u;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,n$(o.x,a.x,l.x,u?.x),n$(o.y,a.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):rV(this.target,this.layout.layoutBox),eJ(this.target,this.targetDelta)):rV(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0),tA.value&&rG.calculatedTargetDeltas++}}getClosestProjectingParent(){if(!(!this.parent||eY(this.parent.latestValues)||eX(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Z(),this.relativeTargetOrigin=Z(),nY(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),rV(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tR.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;rV(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,n=!1){let r,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(eQ(t.x,-r.scroll.offset.x),eQ(t.y,-r.scroll.offset.y)),s&&(e.x*=s.x.scale,e.y*=s.y.scale,eJ(t,s)),n&&eZ(r.latestValues)&&e2(t,r.latestValues,r.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=Z());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rD(this.prevProjectionDelta.x,this.projectionDelta.x),rD(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nH(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&rK(this.projectionDelta.x,this.prevProjectionDelta.x)&&rK(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),tA.value&&rG.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=K(),this.projectionDelta=K(),this.projectionDeltaWithTransform=K()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=K();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=Z(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(sl));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(so(o.x,t.x,n),so(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f,m,g;nY(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),p=this.relativeTarget,f=this.relativeTargetOrigin,m=a,g=n,sa(p.x,f.x,m.x,g),sa(p.y,f.y,m.y,g),i&&(u=this.relativeTarget,d=i,rz(u.x,d.x)&&rz(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=Z()),rV(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=eI(0,i.opacity??1,rE(n)),t.opacityExit=eI(e.opacity??1,0,rj(n))):s&&(t.opacity=eI(e.opacity??1,i.opacity??1,n));for(let r=0;r<rT;r++){let s=rk[r],o=rM(e,s),a=rM(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||rA(o)===rA(a)?(t[s]=Math.max(eI(rP(o),rP(a),n),0),(C.test(a)||C.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=eI(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tj(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tE.update(()=>{rx.hasAnimatedSinceResize=!0,t3.layout++,this.motionValue||(this.motionValue=ea(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(t,e,
1i){let n=X(t)?t:ea(t);return n.start(nA("",n,e,i)),n.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{t3.layout--},onComplete:()=>{t3.layout--,t.onComplete&&t.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 t=this.getStack();t&&t.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 t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&sp(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||Z();let e=nz(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=nz(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}rV(e,i),e2(e,r),nH(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rY),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&rQ("z",t,n,this.animationValues);for(let e=0;e<rq.length;e++)rQ(`rotate${rq[e]}`,t,n,this.animationValues),rQ(`skew${rq[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=ic(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ic(e?.pointerEvents)||""),this.hasProjected&&!eZ(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:o,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,eU){if(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=eU[e],l="none"===s?r[e]:i(r[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?ic(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(r6),this.root.sharedNodes.clear()}}}function r1(t){t.updateLayout()}function r2(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;if("size"===r)nW(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=nz(n);n.min=i[t].min,n.max=n.min+r});else if("x"===r||"y"===r){let t="x"===r?"y":"x";rL(s?e.measuredBox[t]:e.layoutBox[t],i[t])}else sp(r,e.layoutBox,i)&&nW(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=nz(i[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=K();nH(o,i,e.layoutBox);let a=K();s?nH(a,t.applyTransform(n,!0),e.measuredBox):nH(a,i,e.layoutBox);let l=!rW(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=t.options.layoutAnchor||void 0,a=Z();nY(a,e.layoutBox,r.layoutBox,o);let l=Z();nY(l,i,s.layoutBox,o),rH(a,l)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function r3(t){tA.value&&rG.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function r4(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function r5(t){t.clearSnapshot()}function r6(t){t.clearMeasurements()}function r8(t){t.isLayoutDirty=!0,t.updateLayout()}function r9(t){t.isLayoutDirty=!1}function r7(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function st(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function se(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function si(t){t.resolveTargetDelta()}function sn(t){t.calcProjection()}function sr(t){t.resetSkewAndRotation()}function ss(t){t.removeLeadSnapshot()}function so(t,e,i){t.translate=eI(e.translate,0,i),t.scale=eI(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function sa(t,e,i,n){t.min=eI(e.min,i.min,n),t.max=eI(e.max,i.max,n)}function sl(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let su={duration:.45,ease:[.4,0,.1,1]},sh=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),sc=sh("applewebkit/")&&!sh("chrome/")?Math.round:tk;function sd(t){t.min=sc(t.min),t.max=sc(t.max)}function sp(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(r$(e)-r$(i)))}function sf(t){return t!==t.root&&t.scroll?.wasRoot}let sm=r0({attachResizeListener:(t,e)=>nG(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),sg={current:void 0},sy=r0({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!sg.current){let t=new sm({});t.mount(window),t.setOptions({layoutScroll:!0}),sg.current=t}return sg.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function sv(t,e){let i=nQ(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function sw(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&tE.postRender(()=>r(e,n7(e)))}class sx extends iP{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=sv(t,i);return n.forEach(t=>{let i,n=!1,s=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(n){s=!0;return}o(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||nU.x||nU.y)return;s=!1;let o=e(t,n);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,r))},r),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",a,r)},r)}),s}(t,(t,e)=>(sw(this.node,e,"Start"),t=>sw(this.node,t,"End"))))}unmount(){}}class sb extends iP{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=iV(nG(this.node.current,"focus",()=>this.onFocus()),nG(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let sC=(t,e)=>!!e&&(t===e||sC(t,e.parentElement)),sS=new WeakSet;function sk(t){return e=>{"Enter"===e.key&&t(e)}}function sT(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function sP(t){return n9(t)&&!(nU.x||nU.y)}let sA=new WeakSet;function sM(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&tE.postRender(()=>r(e,n7(e)))}class sE extends iP{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;
1this.unmount=function(t,e,i={}){let[n,r,s]=sv(t,i),o=t=>{let n=t.currentTarget;if(!sP(t)||sA.has(t))return;sS.add(n),i.stopPropagation&&sA.add(t);let s=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),sS.has(n)&&sS.delete(n),sP(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,n===window||n===document||i.useGlobalTarget||sC(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),nq(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=sk(()=>{if(sS.has(i))return;sT(i,"down");let t=sk(()=>{sT(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>sT(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),nZ.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(sM(this.node,e,"Start"),(t,{success:e})=>sM(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}let sj=new WeakMap,sR=new WeakMap,sL=t=>{let e=sj.get(t.target);e&&e(t)},sV=t=>{t.forEach(sL)},sD={some:0,all:1};class sB extends iP{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:sD[n]},o=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)};this.stopObserver=function(t,e,i){let n=function({root:t,...e}){let i=t||document;sR.has(i)||sR.set(i,{});let n=sR.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(sV,{root:t,...e})),n[r]}(e);return sj.set(t,i),n.observe(t),()=>{sj.delete(t),n.unobserve(t)}}(this.node.current,s,o)}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let sO=function(t,e){if("undefined"==typeof Proxy)return iT;let i=new Map,n=(i,n)=>iT(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,iT(s,void 0,t,e)),i.get(s))})}({animation:{Feature:nF},exit:{Feature:nI},inView:{Feature:sB},tap:{Feature:sE},focus:{Feature:sb},hover:{Feature:sx},pan:{Feature:rw},drag:{Feature:ry,ProjectionNode:sy,MeasureLayout:rS},layout:{ProjectionNode:sy,MeasureLayout:rS}},(t,e)=>e.isSVG??e8(t)?new eH(e):new e4(e,{allowProjection:t!==e5.Fragment}))},80083:(t,e)=>{"use strict";function i(t){let e={};for(let[i,n]of t.entries()){let t=e[i];void 0===t?e[i]=n:Array.isArray(t)?t.push(n):e[i]=[t,n]}return e}function n(t){return"string"==typeof t?t:("number"!=typeof t||isNaN(t))&&"boolean"!=typeof t?"":String(t)}function r(t){let e=new URLSearchParams;for(let[i,r]of Object.entries(t))if(Array.isArray(r))for(let t of r)e.append(i,n(t));else e.set(i,n(r));return e}function s(t){for(var e=arguments.length,i=Array(e>1?e-1:0),n=1;n<e;n++)i[n-1]=arguments[n];for(let e of i){for(let i of e.keys())t.delete(i);for(let[i,n]of e.entries())t.append(i,n)}return t}Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var i in e)Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}(e,{assign:function(){return s},searchParamsToUrlQuery:function(){return i},urlQueryToSearchParams:function(){return r}})},93959:(t,e,i)=>{var n=i(55210)("jsonp");t.exports=function(t,e,i){"function"==typeof e&&(i=e,e={}),e||(e={});var o,a,l=e.prefix||"__jp",u=e.name||l+r++,h=e.param||"callback",c=null!=e.timeout?e.timeout:6e4,d=encodeURIComponent,p=document.getElementsByTagName("script")[0]||document.head;function f(){o.parentNode&&o.parentNode.removeChild(o),window[u]=s,a&&clearTimeout(a)}return c&&(a=setTimeout(function(){f(),i&&i(Error("Timeout"))},c)),window[u]=function(t){n("jsonp got",t),f(),i&&i(null,t)},t+=(~t.indexOf("?")?"&":"?")+h+"="+d(u),n('jsonp req "%s"',t=t.replace("?&","?")),(o=document.createElement("script")).src=t,p.parentNode.insertBefore(o,p),function(){window[u]&&f()}};var r=0;function s(){}}}]);

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.