PageSourceSearch

https://logiqbits.com/_next/static/chunks/8010-e968bb4c502e39ea.js

js logiqbits.com collected 2026-10-02 16:03:13 UTC 120,366 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8010],{89185:function(t,e,n){n.r(e),n.d(e,{invariant:function(){return i},warning:function(){return r}});var r=function(){},i=function(){}},68755:function(t,e,n){n.d(e,{Z:function(){return d}});var r=n(2265);let i=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter((t,e,n)=>!!t&&""!==t.trim()&&n.indexOf(t)===e).join(" ").trim()},o=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,n)=>n?n.toUpperCase():e.toLowerCase()),s=t=>{let e=a(t);return e.charAt(0).toUpperCase()+e.slice(1)};var u={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0;return!1},c=(0,r.forwardRef)((t,e)=>{let{color:n="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:c="",children:d,iconNode:f,...p}=t;return(0,r.createElement)("svg",{ref:e,...u,width:o,height:o,stroke:n,strokeWidth:s?24*Number(a)/Number(o):a,className:i("lucide",c),...!d&&!l(p)&&{"aria-hidden":"true"},...p},[...f.map(t=>{let[e,n]=t;return(0,r.createElement)(e,n)}),...Array.isArray(d)?d:[d]])}),d=(t,e)=>{let n=(0,r.forwardRef)((n,a)=>{let{className:u,...l}=n;return(0,r.createElement)(c,{ref:a,iconNode:e,className:i("lucide-".concat(o(s(t))),"lucide-".concat(t),u),...l})});return n.displayName=s(t),n}},76858:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},5005:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]])},96215:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},30401:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},40875:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},92451:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},10407:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},41671:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},64372:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("circle-play",[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},43044:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("clipboard-list",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]])},88226:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]])},42208:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},39989:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("factory",[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M16 16h.01",key:"1f9h7w"}],["path",{d:"M3 19a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8.5a.5.5 0 0 0-.769-.422l-4.462 2.844A.5.5 0 0 1 15 10.5v-2a.5.5 0 0 0-.769-.422L9.77 10.922A.5.5 0 0 1 9 10.5V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2z",key:"1iv0i2"}],["path",{d:"M8 16h.01",key:"18s6g9"}]])},87117:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("file-check",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]])},61649:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("file-spreadsheet",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]])},48736:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},43166:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("folder-check",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}
1],["path",{d:"m9 13 2 2 4-4",key:"6343dt"}]])},13781:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("git-branch",[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]])},29202:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},89573:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("hard-hat",[["path",{d:"M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5",key:"1p9q5i"}],["path",{d:"M14 6a6 6 0 0 1 6 6v3",key:"1hnv84"}],["path",{d:"M4 15v-3a6 6 0 0 1 6-6",key:"9ciidu"}],["rect",{x:"2",y:"15",width:"20",height:"4",rx:"1",key:"g3x8cw"}]])},29659:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("heart-pulse",[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}],["path",{d:"M3.22 13H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27",key:"auskq0"}]])},32062:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("landmark",[["path",{d:"M10 18v-7",key:"wt116b"}],["path",{d:"M11.12 2.198a2 2 0 0 1 1.76.006l7.866 3.847c.476.233.31.949-.22.949H3.474c-.53 0-.695-.716-.22-.949z",key:"1m329m"}],["path",{d:"M14 18v-7",key:"vav6t3"}],["path",{d:"M18 18v-7",key:"aexdmj"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M6 18v-7",key:"1ivflk"}]])},29985:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]])},42107:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("package-check",[["path",{d:"m16 16 2 2 4-4",key:"gfu2re"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]])},69879:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]])},82431:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},84502:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("scale",[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"m19 8 3 8a5 5 0 0 1-6 0zV7",key:"zcdpyk"}],["path",{d:"M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1",key:"1yorad"}],["path",{d:"m5 8 3 8a5 5 0 0 1-6 0zV7",key:"eua70x"}],["path",{d:"M7 21h10",key:"1b0cd5"}]])},83578:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("shield-alert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]])},84286:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},64413:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("store",[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]])},95805:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},32489:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},11239:function(t,e,n){n.d(e,{Z:function(){return r}});let r=(0,n(68755).Z)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},32427:function(t,e,n){n.d(e,{E:function(){return i8}});var r,i,o,a,s,u=n(5853),l=n(2265),c=n(40257),d=(void 0===c||c.env,"production"),f=function(t){return{isEnabled:function(e){return t.some(function(t){return!!e[t]})}}},p={measureLayout:f(["layout","layoutId","drag"]),animation:f(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:f(["exit"]),drag:f(["drag","dragControls"]),focus:f(["whileFocus"]),hover:f(["whileHover","onHoverStart","onHoverEnd"]),tap:f(["whileTap","onTap","onTapStart","onTapCancel"]),pan:f(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:f(["whileInView","onViewportEnter","onViewportLeave"])},h=n(89185),v=(0,l.createContext)({strict:!1}),m=Object.keys(p),y=m.length,g=(0,l.createContext)({transformPagePoint:function(t){return t},isStatic:!1,reducedMotion:"never"}),b=(0,l.createContext)({}),x=(0,l.createContext)(null),_="undefined"!=typeof document,w=_?l.useLayoutEffect:l.useEffect,k={current:null},E=!1;function A(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function P(t){return Array.isArray(t)}function S(t){return"string"==typeof t||P(t)}function M(t,e,n,r,i){var o;return void 0===r&&(r={}),void 0===i&&(i={}),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,i)),"string"==typeof e&&(e=null===(o=t.variants)||void 0===o?void 0:o[e]),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,i)),e}function T(t,e,n){var r,i,o=t.getProps();return M(o,e,null!=n?n:o.custom,(r={},t.forEachValue(function(t,e){return r[e]=t.get()}),r),(i={},t.forEachValue(function(t,e){return i[e]=t.getVelocity()}),i))}function V(t){var e;return"function"==typeof(null===(e=t.animate)||void 0===e?void 0:e.start)||S(t.initial)||S(t.animate)||S(t.whileHover)||S(t.whileDrag)||S(t.whileTap)||S(t.whileFocus)||S(t.exit)}function C(t){return!!(V(t)||t.variants)}function j(t){return Array.isArray(t)?t.join(" "):t}function R(t){var e=(0,l.useRef)(null);return null===e.current&&(e.current=t()),e.current}var O={hasAnimatedSinceResize:!0,hasEverUpdated:!1},L=1,D=(0,l.createContext)({}),I=(0,l.createContext)({}),F=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,u.__extends)(e,t),e.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},e.prototype.componentDidUpdate=function(){},e.prototype.updateProps=function(){var t=this.props,e=t.visualElement,n=t.props;e&&e.setProps(n)},e.prototype.render=function(){return this.props.children},e}(l.Component),Z=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function U(t){if("string"!=typeof t||t.includes("-"));else if(Z.indexOf(t)>-1||/[A-Z]/.test(t))return!0;return!1}var z={},B=["","X","Y","Z"],N=["transformPerspective","x","y","z"];function H(t,e){return N.indexOf(t)-N.indexOf(e)}["translate","scale","rotate","skew"].forEach(function(t){return B.forEach(function(e){return N.push(t+e)})});var W=new Set(N);function Y(t){return W.has(t)}var q=new Set(["originX","originY","originZ"]);function X(t,e){var n=e.layout,r=e.layoutId;return Y(t)||q.has(t)||(n||void 0!==r)&&(!!z[t]||"opacity"===t)}var G=function(t){return!!(null!==t&&"object"==typeof t&&t.getVelocity)},$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function K(t){return t.startsWith("--")}let J=(t,e)=>n=>Math.max(Math.min(n,e),t),Q=t=>t%1?Number(t.toFixed(5)):t,tt=/(-)?([\d]*\.?[\d])+/g,te=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,tn=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function tr(t){return"string"==typeof t}let ti=t=>({test:e=>tr(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),to=ti("deg"),ta=ti("%"),ts=ti("px"),tu=ti("vh"),tl=ti("vw"),tc=Object.assign(Object.assign({},ta),{parse:t=>ta.parse(t)/100,transform:t=>ta.transform(100*t)}),td={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},tf=Object.assign(Object.assign({},td),{transform:J(0,1)}),tp=Object.assign(Object.assign({},td),{default:1});var th=(0,u.__assign)((0,u.__assign)({},td),{transform:Math.round}),tv={borderWidth:ts,borderTopWidth:ts,borderRightWidth:ts,borderBottomWidth:ts,borderLeftWidth:ts,borderRadius:ts,radius:ts,borderTopLeftRadius:ts,borderTopRightRadius:ts,borderBottomRightRadius:ts,borderBottomLeftRadius:ts,width:ts,maxWidth:ts,height:ts,maxHeight:ts,size:ts,top:ts,right:ts,bottom:ts,left:ts,padding:ts,paddingTop:ts,paddingRight:ts,paddingBottom:ts,paddingLeft:ts,margin:ts,marginTop:ts,marginRight:ts,marginBottom:ts,marginLeft:ts,rotate:to,rotateX:to,rotateY:to,rotateZ:to,scale:tp,scaleX:tp,scaleY:tp,scaleZ:tp,skew:to,skewX:to,skewY:to,distance:ts,translateX:ts,translateY:ts,translateZ:ts,x:ts,y:ts,z:ts,perspective:ts,transformPerspective:ts,opacity:tf,originX:tc,originY:tc,originZ:ts,zIndex:th,fillOpacity:tf,strokeOpacity:tf,numOctaves:th};function tm(t,e,n,r){var i,o,a,s,u=t.style,l=t.vars,c=t.transform,d=t.transformKeys,f=t.transformOrigin;d.length=0;var p=!1,h=!1,v=!0;for(var m in e){var y=e[m];if(K(m)){l[m]=y;continue}var g=tv[m],b=g&&"number"==typeof y?g.transform(y):y;if(Y(m)){if(p=!0,c[m]=b,d.push(m),!v)continue;y!==(null!==(s=g.default)&&void 0!==s?s:0)&&(v=!1)}else q.has(m)?(f[m]=b,h=!0):u[m]=b}p?u.transform=function(t,e,n,r){var i=t.transform,o=t.transformKeys,a=e.enableHardwareAcceleration,s=e.allowTransformNone,u="";o.sort(H);for(var l=!1,c=o.length,d=0;d<c;d++){var f=o[d];u+="".concat($[f]||f,"(").concat(i[f],") "),"z"===f&&(l=!0)}return!l&&(void 0===a||a)?u+="translateZ(0)":u=u.trim(),r?u=r(i,n?"":u):(void 0===s||s)&&n&&(u="none"),u}(t,n,v,r):r?u.transform=r({},""):!e.transform&&u.transform&&(u.transform="none"),h&&(u.transformOrigin=(i=f.originX,o=f.originY,a=f.originZ,"".concat(void 0===i?"50%":i," ").concat(void 0===o?"50%":o," ").concat(void 0===a?0:a)))}var ty=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function tg(t,e,n){for(var r in e)G(e[r])||X(r,n)||(t[r]=e[r])}var tb=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function tx(t){return tb.has(t)}var t_=function(t){return!tx(t)};try{(r=require("@emotion/is-prop-valid").default)&&(t_=function(t){return t.startsWith("on")?!tx(t):r(t)})}catch(t){}function tw(t,e,n){return"string"==typeof t?t:ts.transform(e+n*t)}var tk={offset:"stroke-dashoffset",array:"stroke-dasharray"},tE={offset:"strokeDashoffset",array:"strokeDasharray"};function tA(t,e,n,r){var i,o,a,s,l,c,d,f,p,h,v=e.attrX,m=e.attrY,y=e.originX,g=e.originY,b=e.pathLength,x=e.pathSpacing,_=e.pathOffset;tm(t,(0,u.__rest)(e,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r),t.attrs=t.style,t.style={};var w=t.attrs,k=t.style,E=t.dimensions;w.transform&&(E&&(k.transform=w.transform),delete w.transform),E&&(void 0!==y||void 0!==g||k.transform)&&(k.transformOrigin=(i=void 0!==y?y:.5,o=void 0!==g?g:.5,a=tw(i,E.x,E.width),s=tw(o,E.y,E.height),"".concat(a," ").concat(s))),void 0!==v&&(w.x=v),void 0!==m&&(w.y=m),void 0!==b&&(d=!1,void 0===(l=void 0===x?1:x)&&(l=1),void 0===(c=void 0===_?0:_)&&(c=0),void 0===d&&(d=!0),w.pathLength=1,w[(f=d?tk:tE).offset]=ts.transform(-c),p=ts.transform(b),h=ts.transform(l),w[f.array]="".concat(p," ").concat(h))}var tP=function(){return(0,u.__assign)((0,u.__assign)({},ty()),{attrs:{}})},tS=/([a-z])([A-Z])/g,tM=function(t){return t.replace(tS,"$1-$2").toLowerCase()};function tT(t,e,n,r){var i=e.style,o=e.vars;for(var a in Object.assign(t.style,i,r&&r.getProjectionStyles(n)),o)t.style.setProperty(a,o[a])}var tV=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function tC(t,e,n,r){for(var i in tT(t,e,void 0,r),e.attrs)t.setAttribute(tV.has(i)?i:tM(i),e.attrs[i])}function tj(t){var e=t.style,n={};for(var r in e)(G(e[r])||X(r,t))&&(n[r]=e[r]);return n}function tR(t){var e=tj(t);for(var n in t)G(t[n])&&(e["x"===n||"y"===n?"attr"+n.toUpperCase():n]=t[n]);return e}function tO(t){return"object"==typeof t&&"function"==typeof t.start}var tL=function(t){return Array.isArray(t)},tD=function(t){return tL(t)?t[t.length-1]||0:t};
1function tI(t){var e=G(t)?t.get():t;return e&&"object"==typeof e&&e.mix&&e.toValue?e.toValue():e}function tF(t,e,n,r){var i=t.scrapeMotionValuesFromProps,o=t.createRenderState,a=t.onMount,s={latestValues:function(t,e,n,r){var i={},o=(null==n?void 0:n.initial)===!1,a=r(t);for(var s in a)i[s]=tI(a[s]);var l=t.initial,c=t.animate,d=V(t),f=C(t);e&&f&&!d&&!1!==t.inherit&&(null!=l||(l=e.initial),null!=c||(c=e.animate));var p=o||!1===l,h=p?c:l;return h&&"boolean"!=typeof h&&!tO(h)&&(Array.isArray(h)?h:[h]).forEach(function(e){var n=M(t,e);if(n){var r=n.transitionEnd;n.transition;var o=(0,u.__rest)(n,["transitionEnd","transition"]);for(var a in o){var s=o[a];if(Array.isArray(s)){var l=p?s.length-1:0;s=s[l]}null!==s&&(i[a]=s)}for(var a in r)i[a]=r[a]}}),i}(e,n,r,i),renderState:o()};return a&&(s.mount=function(t){return a(e,t,s)}),s}var tZ=function(t){return function(e,n){var r=(0,l.useContext)(b),i=(0,l.useContext)(x);return n?tF(t,e,r,i):R(function(){return tF(t,e,r,i)})}},tU={useVisualState:tZ({scrapeMotionValuesFromProps:tR,createRenderState:tP,onMount:function(t,e,n){var r=n.renderState,i=n.latestValues;try{r.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){r.dimensions={x:0,y:0,width:0,height:0}}tA(r,i,{enableHardwareAcceleration:!1},t.transformTemplate),tC(e,r)}})},tz={useVisualState:tZ({scrapeMotionValuesFromProps:tj,createRenderState:ty})};function tB(t,e,n,r){return void 0===r&&(r={passive:!0}),t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n)}}function tN(t,e,n,r){(0,l.useEffect)(function(){var i=t.current;if(n&&i)return tB(i,e,n,r)},[t,e,n,r])}function tH(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}(i=a||(a={})).Animate="animate",i.Hover="whileHover",i.Tap="whileTap",i.Drag="whileDrag",i.Focus="whileFocus",i.InView="whileInView",i.Exit="exit";var tW={pageX:0,pageY:0};function tY(t,e){var n,r,i;return void 0===e&&(e="page"),{point:t.touches?(void 0===(n=e)&&(n="page"),{x:(r=t.touches[0]||t.changedTouches[0]||tW)[n+"X"],y:r[n+"Y"]}):(void 0===(i=e)&&(i="page"),{x:t[i+"X"],y:t[i+"Y"]})}}var tq=function(t,e){void 0===e&&(e=!1);var n=function(e){return t(e,tY(e))};return e?function(t){var e=t instanceof MouseEvent;(!e||e&&0===t.button)&&n(t)}:n},tX={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},tG={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function t$(t){if(_&&null===window.onpointerdown);else if(_&&null===window.ontouchstart)return tG[t];else if(_&&null===window.onmousedown)return tX[t];return t}function tK(t,e,n,r){return tB(t,t$(e),tq(n,"pointerdown"===e),r)}function tJ(t,e,n,r){return tN(t,t$(e),n&&tq(n,"pointerdown"===e),r)}function tQ(t){var e=null;return function(){return null===e&&(e=t,function(){e=null})}}var t0=tQ("dragHorizontal"),t1=tQ("dragVertical");function t2(t){var e=!1;if("y"===t)e=t1();else if("x"===t)e=t0();else{var n=t0(),r=t1();n&&r?e=function(){n(),r()}:(n&&n(),r&&r())}return e}function t5(){var t=t2(!0);return!t||(t(),!1)}function t4(t,e,n){return function(r,i){var o;!tH(r)||t5()||(null===(o=t.animationState)||void 0===o||o.setActive(a.Hover,e),null==n||n(r,i))}}var t6=function(t,e){return!!e&&(t===e||t6(t,e.parentElement))};function t8(t){return(0,l.useEffect)(function(){return function(){return t()}},[])}let t7=(t,e)=>n=>e(t(n)),t3=(...t)=>t.reduce(t7);var t9=new Set,et=new WeakMap,ee=new WeakMap,en=function(t){var e;null===(e=et.get(t.target))||void 0===e||e(t)},er=function(t){t.forEach(en)},ei={some:0,all:1},eo=function(t){return function(e){return t(e),null}},ea={inView:eo(function(t){var e=t.visualElement,n=t.whileInView,r=t.onViewportEnter,i=t.onViewportLeave,o=t.viewport,s=void 0===o?{}:o,c=(0,l.useRef)({hasEnteredView:!1,isInView:!1}),f=!!(n||r||i);s.once&&c.current.hasEnteredView&&(f=!1),("undefined"==typeof IntersectionObserver?function(t,e,n,r){var i=r.fallback,o=void 0===i||i;(0,l.useEffect)(function(){if(t&&o){if("production"!==d){var r;r="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",t9.has(r)||(console.warn(r),t9.add(r))}requestAnimationFrame(function(){e.hasEnteredView=!0;var t,r=n.getProps().onViewportEnter;null==r||r(null),null===(t=n.animationState)||void 0===t||t.setActive(a.InView,!0)})}},[t])}:function(t,e,n,r){var i=r.root,o=r.margin,s=r.amount,c=void 0===s?"
1some":s,d=r.once;(0,l.useEffect)(function(){if(t){var r,s,l,f,p,h,v,m,y={root:null==i?void 0:i.current,rootMargin:o,threshold:"number"==typeof c?c:ei[c]};return r=n.getInstance(),s=function(t){var r,i=t.isIntersecting;if(e.isInView!==i){if(e.isInView=i,d&&!i&&e.hasEnteredView)return;i&&(e.hasEnteredView=!0),null===(r=n.animationState)||void 0===r||r.setActive(a.InView,i);var o=n.getProps(),s=i?o.onViewportEnter:o.onViewportLeave;null==s||s(t)}},l=y.root,f=(0,u.__rest)(y,["root"]),p=l||document,ee.has(p)||ee.set(p,{}),(h=ee.get(p))[v=JSON.stringify(f)]||(h[v]=new IntersectionObserver(er,(0,u.__assign)({root:l},f))),m=h[v],et.set(r,s),m.observe(r),function(){et.delete(r),m.unobserve(r)}}},[t,i,o,c])})(f,c.current,e,s)}),tap:eo(function(t){var e=t.onTap,n=t.onTapStart,r=t.onTapCancel,i=t.whileTap,o=t.visualElement,s=e||n||r||i,u=(0,l.useRef)(!1),c=(0,l.useRef)(null),d={passive:!(n||e||r||m)};function f(){var t;null===(t=c.current)||void 0===t||t.call(c),c.current=null}function p(){var t;return f(),u.current=!1,null===(t=o.animationState)||void 0===t||t.setActive(a.Tap,!1),!t5()}function h(t,n){p()&&(t6(o.getInstance(),t.target)?null==e||e(t,n):null==r||r(t,n))}function v(t,e){p()&&(null==r||r(t,e))}function m(t,e){var r;f(),u.current||(u.current=!0,c.current=t3(tK(window,"pointerup",h,d),tK(window,"pointercancel",v,d)),null===(r=o.animationState)||void 0===r||r.setActive(a.Tap,!0),null==n||n(t,e))}tJ(o,"pointerdown",s?m:void 0,d),t8(f)}),focus:eo(function(t){var e=t.whileFocus,n=t.visualElement;tN(n,"focus",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(a.Focus,!0)}:void 0),tN(n,"blur",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(a.Focus,!1)}:void 0)}),hover:eo(function(t){var e=t.onHoverStart,n=t.onHoverEnd,r=t.whileHover,i=t.visualElement;tJ(i,"pointerenter",e||r?t4(i,!0,e):void 0,{passive:!e}),tJ(i,"pointerleave",n||r?t4(i,!1,n):void 0,{passive:!n})})},es=0,eu=function(){return es++};function el(){var t=(0,l.useContext)(x);if(null===t)return[!0,null];var e=t.isPresent,n=t.onExitComplete,r=t.register,i=R(eu);return(0,l.useEffect)(function(){return r(i)},[]),!e&&n?[!1,function(){return null==n?void 0:n(i)}]:[!0]}function ec(t,e){if(!Array.isArray(e))return!1;var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}let ed=(t,e,n)=>Math.min(Math.max(n,t),e);function ef(t,e){return t*Math.sqrt(1-e*e)}let ep=["duration","bounce"],eh=["stiffness","damping","mass"];function ev(t,e){return e.some(e=>void 0!==t[e])}function em(t){var{from:e=0,to:n=1,restSpeed:r=2,restDelta:i}=t,o=(0,u.__rest)(t,["from","to","restSpeed","restDelta"]);let a={done:!1,value:e},{stiffness:s,damping:l,mass:c,velocity:d,duration:f,isResolvedFromDuration:p}=function(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!ev(t,eh)&&ev(t,ep)){let n=function({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let i,o;(0,h.warning)(t<=1e4,"Spring duration must be 10 seconds or less");let a=1-e;a=ed(.05,1,a),t=ed(.01,10,t/1e3),a<1?(i=e=>{let r=e*a,i=r*t;return .001-(r-n)/ef(e,a)*Math.exp(-i)},o=e=>{let r=e*a*t,o=Math.pow(a,2)*Math.pow(e,2)*t,s=ef(Math.pow(e,2),a);return(r*n+n-o)*Math.exp(-r)*(-i(e)+.001>0?-1:1)/s}):(i=e=>-.001+Math.exp(-e*t)*((e-n)*t+1),o=e=>t*t*(n-e)*Math.exp(-e*t));let s=function(t,e,n){let r=n;for(let n=1;n<12;n++)r-=t(r)/e(r);return r}(i,o,5/t);if(t*=1e3,isNaN(s))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(s,2)*r;return{stiffness:e,damping:2*a*Math.sqrt(r*e),duration:t}}}(t);(e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1})).isResolvedFromDuration=!0}return e}(o),v=ey,m=ey;function y(){let t=d?-(d/1e3):0,r=n-e,o=l/(2*Math.sqrt(s*c)),a=Math.sqrt(s/c)/1e3;if(void 0===i&&(i=Math.min(Math.abs(n-e)/100,.4)),o<1){let e=ef(a,o);v=i=>n-Math.exp(-o*a*i)*((t+o*a*r)/e*Math.sin(e*i)+r*Math.cos(e*i)),m=n=>{let i=Math.exp(-o*a*n);return o*a*i*(Math.sin(e*n)*(t+o*a*r)/e+r*Math.cos(e*n))-i*(Math.cos(e*n)*(t+o*a*r)-e*r*Math.sin(e*n))}}else if(1===o)v=e=>n-Math.exp(-a*e)*(r+(t+a*r)*e);else{let e=a*Math.sqrt(o*o-1);v=i=>{let s=Math.exp(-o*a*i),u=Math.min(e*i,300);return n-s*((t+o*a*r)*Math.sinh(u)+e*r*Math.cosh(u))/e}}}return y(),{next:t=>{let e=v(t);if(p)a.done=t>=f;else{let o=1e3*m(t),s=Math.abs(n-e)<=i;a.done=Math.abs(o)<=r&&s}return a.value=a.done?n:e,a},flipTarget:()=>{d=-d,[e,n]=[n,e],y()}}}em.needsInterpolation=(t,e)=>"string"==typeof t||"string"==typeof e;let ey=t=>0,eg=(t,e,n)=>{let r=e-t;return 0===r?1:(n-t)/r},eb=(t,e,n)=>-n*t+n*e+t,ex=(t,e)=>n=>!!(tr(n)&&tn.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),e_=(t,e,n)=>r=>{if(!tr(r))return r;let[i,o,a,s]=r.match(tt);return{[t]:parseFloat(i),[e]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},ew=J(0,255),ek=Object.assign(Object.assign({},td),{transform:t=>Math.round(ew(t))}),eE={test:ex("rgb","red"),parse:e_("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+ek.transform(t)+", "+ek.transform(e)+", "+ek.transform(n)+", "+Q(tf.transform(r))+")"},eA={test:ex("#"),parse:function(t){let e="",n="",r="",i="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),r=t.substr(5,2),i=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),r=t.substr(3,1),i=t.substr(4,1),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alph
1a:i?parseInt(i,16)/255:1}},transform:eE.transform},eP={test:ex("hsl","hue"),parse:e_("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+ta.transform(Q(e))+", "+ta.transform(Q(n))+", "+Q(tf.transform(r))+")"};function eS(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function eM({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let i=0,o=0,a=0;if(e/=100){let r=n<.5?n*(1+e):n+e-n*e,s=2*n-r;i=eS(s,r,t+1/3),o=eS(s,r,t),a=eS(s,r,t-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}let eT=(t,e,n)=>{let r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},eV=[eA,eE,eP],eC=t=>eV.find(e=>e.test(t)),ej=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,eR=(t,e)=>{let n=eC(t),r=eC(e);(0,h.invariant)(!!n,ej(t)),(0,h.invariant)(!!r,ej(e));let i=n.parse(t),o=r.parse(e);n===eP&&(i=eM(i),n=eE),r===eP&&(o=eM(o),r=eE);let a=Object.assign({},i);return t=>{for(let e in a)"alpha"!==e&&(a[e]=eT(i[e],o[e],t));return a.alpha=eb(i.alpha,o.alpha,t),n.transform(a)}},eO={test:t=>eE.test(t)||eA.test(t)||eP.test(t),parse:t=>eE.test(t)?eE.parse(t):eP.test(t)?eP.parse(t):eA.parse(t),transform:t=>tr(t)?t:t.hasOwnProperty("red")?eE.transform(t):eP.transform(t)},eL="${c}",eD="${n}";function eI(t){"number"==typeof t&&(t=`${t}`);let e=[],n=0,r=t.match(te);r&&(n=r.length,t=t.replace(te,eL),e.push(...r.map(eO.parse)));let i=t.match(tt);return i&&(t=t.replace(tt,eD),e.push(...i.map(td.parse))),{values:e,numColors:n,tokenised:t}}function eF(t){return eI(t).values}function eZ(t){let{values:e,numColors:n,tokenised:r}=eI(t),i=e.length;return t=>{let e=r;for(let r=0;r<i;r++)e=e.replace(r<n?eL:eD,r<n?eO.transform(t[r]):Q(t[r]));return e}}let eU=t=>"number"==typeof t?0:t,ez={test:function(t){var e,n,r,i;return isNaN(t)&&tr(t)&&(null!==(n=null===(e=t.match(tt))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(i=null===(r=t.match(te))||void 0===r?void 0:r.length)&&void 0!==i?i:0)>0},parse:eF,createTransformer:eZ,getAnimatableNone:function(t){let e=eF(t);return eZ(t)(e.map(eU))}},eB=t=>"number"==typeof t;function eN(t,e){return eB(t)?n=>eb(t,e,n):eO.test(t)?eR(t,e):eq(t,e)}let eH=(t,e)=>{let n=[...t],r=n.length,i=t.map((t,n)=>eN(t,e[n]));return t=>{for(let e=0;e<r;e++)n[e]=i[e](t);return n}},eW=(t,e)=>{let n=Object.assign(Object.assign({},t),e),r={};for(let i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=eN(t[i],e[i]));return t=>{for(let e in r)n[e]=r[e](t);return n}};function eY(t){let e=ez.parse(t),n=e.length,r=0,i=0,o=0;for(let t=0;t<n;t++)r||"number"==typeof e[t]?r++:void 0!==e[t].hue?o++:i++;return{parsed:e,numNumbers:r,numRGB:i,numHSL:o}}let eq=(t,e)=>{let n=ez.createTransformer(e),r=eY(t),i=eY(e);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?t3(eH(r.parsed,i.parsed),n):((0,h.warning)(!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.`),n=>`${n>0?e:t}`)},eX=(t,e)=>n=>eb(t,e,n);function eG(t,e,{clamp:n=!0,ease:r,mixer:i}={}){let o=t.length;(0,h.invariant)(o===e.length,"Both input and output ranges must be the same length"),(0,h.invariant)(!r||!Array.isArray(r)||r.length===o-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),t[0]>t[o-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());let a=function(t,e,n){var r;let i=[],o=n||("number"==typeof(r=t[0])?eX:"string"==typeof r?eO.test(r)?eR:eq:Array.isArray(r)?eH:"object"==typeof r?eW:void 0),a=t.length-1;for(let n=0;n<a;n++){let r=o(t[n],t[n+1]);e&&(r=t3(Array.isArray(e)?e[n]:e,r)),i.push(r)}return i}(e,r,i),s=2===o?function([t,e],[n]){return r=>n(eg(t,e,r))}(t,a):function(t,e){let n=t.length,r=n-1;return i=>{let o=0,a=!1;if(i<=t[0]?a=!0:i>=t[r]&&(o=r-1,a=!0),!a){let e=1;for(;e<n&&!(t[e]>i)&&e!==r;e++);o=e-1}let s=eg(t[o],t[o+1],i);return e[o](s)}}(t,a);return n?e=>s(ed(t[0],t[o-1],e)):s}let e$=t=>e=>1-t(1-e),eK=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,eJ=t=>e=>e*e*((t+1)*e-t),eQ=4/11,e0=8/11,e1=t=>t,e2=t=>Math.pow(t,2),e5=e$(e2),e4=eK(e2),e6=t=>1-Math.sin(Math.acos(t)),e8=e$(e6),e7=eK(e8),e3=eJ(1.525),e9=e$(e3),nt=eK(e3),ne=(t=>{let e=eJ(t);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(1.525),nn=4356/361,nr=35442/1805,ni=16061/1805,no=t=>{if(1===t||0===t)return t;let e=t*t;return t<eQ?7.5625*e:t<e0?9.075*e-9.9*t+3.4:t<.9?nn*e-nr*t+ni:10.8*t*t-20.52*t+10.72},na=e$(no);function ns({from:t=0,to:e=1,ease:n,offset:r,duration:i=300}){let o={done:!1,value:t},a=Array.isArray(e)?e:[t,e],s=(r&&r.length===a.length?r:function(t){let e=t.length;return t.map((t,n)=>0!==n?n/(e-1):0)}(a)).map(t=>t*i);function u(){return eG(s,a,{ease:Array.isArray(n)?n:a.map(()=>n||e4).splice(0,a.length-1)})}let l=u();return{next:t=>(o.value=l(t),o.done=t>=i,o),flipTarget:()=>{a.reverse(),l=u()}}}let nu={keyframes:ns,spring:em,decay:function({velocity:t=0,from:e=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:o}){let a={done:!1,value:e},s=n*t,u=e+s,l=void 0===o?u:o(u);return l!==u&&(s=l-e),{next:t=>{let e=-s*Math.exp(-t/r);return a.done=!(e>i||e<-i),a.value=a.done?l:l+e,a},flipTarget:()=>{}}}},nl=1/60*1e3,nc="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),nd="undefined"!=typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(nc()),nl),nf=!0,np=!1,nh=!1,nv={delta:0,timestamp:0},nm=["read","update","preRender","render","postRender"],ny=nm.reduce((t,e)=>(t[e]=function(t){let e=[],n=[],r=0,i=!1,o=!1,a=new WeakSet,s={schedule:(t,o=!1,s=!1)=>{let u=s&&i,l=u?e:n;return o&&a.add(t),-1===l.indexOf(t)&&(l.push(t),u&&i&&(r=e.length)),t},cancel:t=>{let e=n.indexOf(t);-1!==e&&n.splice(e,1),a.delete(t)},process:u=>{if(i){o=!0;return}if(i=!0,[e,n]=[n,e],n.length=0,r=e.length)for(let n=0;n<r;n++){let r=e[n];r(u),a.has(r)&&(s.schedule(r),t())}i=!1,o&&(o=!1,s.process(u))}};return s}(()=>np=!0),t),{}),ng=nm.reduce((t,e)=>{let n=ny[e];return t[e]=(t,e=!1,r=!1)=>(np||nk(),n.schedule(t,e,r)),t},{}),nb=nm.reduce((t,e)=>(t[e]=ny[e].cancel,t),{}),nx=nm.reduce((t,e)=>(t[e]=()=>ny[e].process(nv),t),{}),n_=t=>ny[t].process(nv),nw=t=>{np=!1,nv.delta=nf?nl:Math.max(Math.min(t-nv.timestamp,40),1),nv.timestamp=t,nh=!0,nm.forEach(n_),nh=!1,np&&(nf=!1,nd(nw))},nk=()=>{np=!0,nf=!0,nh||nd(nw)},nE=()=>nv;function nA(t,e,n=0){return t-e-n}let nP=t=>{let e=({delta:e})=>t(e);return{start:()=>ng.update(e,!0),stop:()=>nb.update(e)}};function nS(t){let e,n,r;var i,{from:o,autoplay:a=!0,driver:s=nP,elapsed:l=0,repeat:c=0,repeatType:d="loop",repeatDelay:f=0,onPlay:
1p,onStop:h,onComplete:v,onRepeat:m,onUpdate:y}=t,g=(0,u.__rest)(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:b}=g,x=0,_=g.duration,w=!1,k=!0,E=function(t){if(Array.isArray(t.to))return ns;if(nu[t.type])return nu[t.type];let e=new Set(Object.keys(t));if(e.has("ease")||e.has("duration")&&!e.has("dampingRatio"));else if(e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta"))return em;return ns}(g);(null===(i=E.needsInterpolation)||void 0===i?void 0:i.call(E,o,b))&&(r=eG([0,100],[o,b],{clamp:!1}),o=0,b=100);let A=E(Object.assign(Object.assign({},g),{from:o,to:b}));return a&&(null==p||p(),(e=s(function(t){if(k||(t=-t),l+=t,!w){let t=A.next(Math.max(0,l));n=t.value,r&&(n=r(n)),w=k?t.done:l<=0}if(null==y||y(n),w){if(0===x&&(null!=_||(_=l)),x<c){var i,o;i=l,o=_,(k?i>=o+f:i<=-f)&&(x++,"reverse"===d?l=function(t,e,n=0,r=!0){return r?nA(e+-t,e,n):e-(t-e)+n}(l,_,f,k=x%2==0):(l=nA(l,_,f),"mirror"===d&&A.flipTarget()),w=!1,m&&m())}else e.stop(),v&&v()}})).start()),{stop:()=>{null==h||h(),e.stop()}}}var nM=function(t){return 1e3*t};let nT=(t,e)=>1-3*e+3*t,nV=(t,e)=>3*e-6*t,nC=t=>3*t,nj=(t,e,n)=>((nT(e,n)*t+nV(e,n))*t+nC(e))*t,nR=(t,e,n)=>3*nT(e,n)*t*t+2*nV(e,n)*t+nC(e);var nO={linear:e1,easeIn:e2,easeInOut:e4,easeOut:e5,circIn:e6,circInOut:e7,circOut:e8,backIn:e3,backInOut:nt,backOut:e9,anticipate:ne,bounceIn:na,bounceInOut:t=>t<.5?.5*(1-no(1-2*t)):.5*no(2*t-1)+.5,bounceOut:no},nL=function(t){if(Array.isArray(t)){(0,h.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.");var e=(0,u.__read)(t,4);return function(t,e,n,r){if(t===e&&n===r)return e1;let i=new Float32Array(11);for(let e=0;e<11;++e)i[e]=nj(.1*e,t,n);return o=>0===o||1===o?o:nj(function(e){let r=0,o=1;for(;10!==o&&i[o]<=e;++o)r+=.1;let a=r+(e-i[--o])/(i[o+1]-i[o])*.1,s=nR(a,t,n);return s>=.001?function(t,e,n,r){for(let i=0;i<8;++i){let i=nR(e,n,r);if(0===i)break;let o=nj(e,n,r)-t;e-=o/i}return e}(e,a,t,n):0===s?a:function(t,e,n,r,i){let o,a;let s=0;do(o=nj(a=e+(n-e)/2,r,i)-t)>0?n=a:e=a;while(Math.abs(o)>1e-7&&++s<10);return a}(e,r,r+.1,t,n)}(o),e,r)}(e[0],e[1],e[2],e[3])}return"string"==typeof t?((0,h.invariant)(void 0!==nO[t],"Invalid easing type '".concat(t,"'")),nO[t]):t},nD=function(t,e){return"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&ez.test(e)&&!e.startsWith("url("))},nI=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},nF=function(t){return{type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}},nZ=function(){return{type:"keyframes",ease:"linear",duration:.3}},nU=function(t){return{type:"keyframes",duration:.8,values:t}},nz={x:nI,y:nI,z:nI,rotate:nI,rotateX:nI,rotateY:nI,rotateZ:nI,scaleX:nF,scaleY:nF,scale:nF,opacity:nZ,backgroundColor:nZ,color:nZ,default:nF},nB=function(t,e){var n;return n=tL(e)?nU:nz[t]||nz.default,(0,u.__assign)({to:e},n(e))};let nN=new Set(["brightness","contrast","saturate","opacity"]);function nH(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=n.match(tt)||[];if(!r)return t;let i=n.replace(r,""),o=nN.has(e)?1:0;return r!==n&&(o*=100),e+"("+o+i+")"}let nW=/([a-z-]*)\(.*?\)/g,nY=Object.assign(Object.assign({},ez),{getAnimatableNone:t=>{let e=t.match(nW);return e?e.map(nH).join(" "):t}});var nq=(0,u.__assign)((0,u.__assign)({},tv),{color:eO,backgroundColor:eO,outlineColor:eO,fill:eO,stroke:eO,borderColor:eO,borderTopColor:eO,borderRightColor:eO,borderBottomColor:eO,borderLeftColor:eO,filter:nY,WebkitFilter:nY}),nX=function(t){return nq[t]};function nG(t,e){var n,r=nX(t);return r!==nY&&(r=ez),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,e)}var n$=!1;function nK(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function nJ(t){return"number"==typeof t?0:nG("",t)}function nQ(t,e){return t[e]||t.default||t}function n0(t,e,n,r){return void 0===r&&(r={}),e.start(function(i){var o,a,s,l,c,d,f,p,v,m,y,g=(l=n,f=null!==(c=(d=nQ(r,t)).from)&&void 0!==c?c:e.get(),p=nD(t,l),"none"===f&&p&&"string"==typeof l?f=nG(t,l):nK(f)&&"string"==typeof l?f=nJ(l):!Array.isArray(l)&&nK(l)&&"string"==typeof f&&(l=nJ(f)),v=nD(t,f),(0,h.warning)(v===p,"You are trying to animate ".concat(t,' from "').concat(f,'" to "').concat(l,'". ').concat(f," is not an animatable value - to enable this animation set ").concat(f," to a value animatable to ").concat(l," via the `style` property.")),v&&p&&!1!==d.type?function(){var n,r,o,a,s,c,p,v,m,y,g,b,x,_={from:f,to:l,velocity:e.getVelocity(),onComplete:i,onUpdate:function(t){return e.set(t)}};return"inertia"===d.type||"decay"===d.type?function({from:t=0,velocity:e=0,min:n,max:r,power:i=.8,timeConstant:o=750,bounceStiffness:a=
1500,bounceDamping:s=10,restDelta:u=1,modifyTarget:l,driver:c,onUpdate:d,onComplete:f,onStop:p}){let h;function v(t){return void 0!==n&&t<n||void 0!==r&&t>r}function m(t){return void 0===n?r:void 0===r?n:Math.abs(n-t)<Math.abs(r-t)?n:r}function y(t){null==h||h.stop(),h=nS(Object.assign(Object.assign({},t),{driver:c,onUpdate:e=>{var n;null==d||d(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:f,onStop:p}))}function g(t){y(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:u},t))}if(v(t))g({from:t,velocity:e,to:m(t)});else{let r,a,s=i*e+t;void 0!==l&&(s=l(s));let c=m(s),d=c===n?-1:1;y({type:"decay",from:t,velocity:e,timeConstant:o,power:i,restDelta:u,modifyTarget:l,onUpdate:v(s)?t=>{var n,i;r=a,a=t,n=t-r,e=(i=nE().delta)?1e3/i*n:0,(1===d&&t>c||-1===d&&t<c)&&g({from:t,to:c,velocity:e})}:void 0})}return{stop:()=>null==h?void 0:h.stop()}}((0,u.__assign)((0,u.__assign)({},_),d)):nS((0,u.__assign)((0,u.__assign)({},(n=d,r=_,o=t,Array.isArray(r.to)&&(null!==(a=n.duration)&&void 0!==a||(n.duration=.8)),Array.isArray(r.to)&&null===r.to[0]&&(r.to=(0,u.__spreadArray)([],(0,u.__read)(r.to),!1),r.to[0]=r.from),(s=n).when,s.delay,s.delayChildren,s.staggerChildren,s.staggerDirection,s.repeat,s.repeatType,s.repeatDelay,s.from,Object.keys((0,u.__rest)(s,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"])).length||(n=(0,u.__assign)((0,u.__assign)({},n),nB(o,r.to))),(0,u.__assign)((0,u.__assign)({},r),(p=(c=n).ease,v=c.times,m=c.yoyo,y=c.flip,g=c.loop,b=(0,u.__rest)(c,["ease","times","yoyo","flip","loop"]),x=(0,u.__assign)({},b),v&&(x.offset=v),b.duration&&(x.duration=nM(b.duration)),b.repeatDelay&&(x.repeatDelay=nM(b.repeatDelay)),p&&(x.ease=Array.isArray(p)&&"number"!=typeof p[0]?p.map(nL):nL(p)),"tween"===b.type&&(x.type="keyframes"),(m||g||y)&&((0,h.warning)(!n$,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),n$=!0,m?x.repeatType="reverse":g?x.repeatType="loop":y&&(x.repeatType="mirror"),x.repeat=g||m||y||b.repeat),"spring"!==b.type&&(x.type="keyframes"),x)))),{onUpdate:function(t){var e;_.onUpdate(t),null===(e=d.onUpdate)||void 0===e||e.call(d,t)},onComplete:function(){var t;_.onComplete(),null===(t=d.onComplete)||void 0===t||t.call(d)}}))}:function(){var t,n,r=tD(l);return e.set(r),i(),null===(t=null==d?void 0:d.onUpdate)||void 0===t||t.call(d,r),null===(n=null==d?void 0:d.onComplete)||void 0===n||n.call(d),{stop:function(){}}}),b=null!==(s=null!==(a=(nQ(o=r,t)||{}).delay)&&void 0!==a?a:o.delay)&&void 0!==s?s:0,x=function(){return y=g()};return b?m=window.setTimeout(x,nM(b)):x(),function(){clearTimeout(m),null==y||y.stop()}})}function n1(t,e){-1===t.indexOf(e)&&t.push(e)}function n2(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var n5=function(){function t(){this.subscriptions=[]}return t.prototype.add=function(t){var e=this;return n1(this.subscriptions,t),function(){return n2(e.subscriptions,t)}},t.prototype.notify=function(t,e,n){var r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](t,e,n);else for(var i=0;i<r;i++){var o=this.subscriptions[i];o&&o(t,e,n)}}},t.prototype.getSize=function(){return this.subscriptions.length},t.prototype.clear=function(){this.subscriptions.length=0},t}(),n4=function(){function t(t){var e=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new n5,this.velocityUpdateSubscribers=new n5,this.renderSubscribers=new n5,this.canTrackVelocity=!1,this.updateAndNotify=function(t,n){void 0===n&&(n=!0),e.prev=e.current,e.current=t;var r=nE(),i=r.delta,o=r.timestamp;e.lastUpdated!==o&&(e.timeDelta=i,e.lastUpdated=o,ng.postRender(e.scheduleVelocityCheck)),e.prev!==e.current&&e.updateSubscribers.notify(e.current),e.velocityUpdateSubscribers.getSize()&&e.velocityUpdateSubscribers.notify(e.getVelocity()),n&&e.renderSubscribers.notify(e.current)},this.scheduleVelocityCheck=function(){return ng.postRender(e.velocityCheck)},this.velocityCheck=function(t){t.timestamp!==e.lastUpdated&&(e.prev=e.current,e.velocityUpdateSubscribers.notify(e.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=!isNaN(parseFloat(this.current))}return t.prototype.onChange=function(t){return this.updateSubscribers.add(t)},t.prototype.clearListeners=function(){this.updateSubscribers.clear()},t.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},t.prototype.attach=function(t){this.passiveEffect=t},t.prototype.set=function(t,e){void 0===e&&(e=!0),e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)},t.prototype.get=function(){return this.current},t.prototype.getPrevious=function(){return this.prev},t.prototype.getVelocity=function(){var t,e;return this.canTrackVelocity?(t=parseFloat(this.current)-parseFloat(this.prev),(e=this.timeDelta)?1e3/e*t:0):0},t.prototype.start=function(t){var e=this;return this.stop(),new Promise(function(n){e.hasAnimated=!0,e.stopAnimation=t(n)}).then(function(){return e.clearAnimation()})},t.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},t.prototype.isAnimating=function(){return!!this.stopAnimation},t.prototype.clearAnimation=function(){this.stopAnimation=null},t.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},t}();function n6(t){return new n4(t)}var n8=function(t){return function(e){return e.test(t)}},n7=[td,ts,ta,to,tl,tu,{test:function(t){return"auto"===t},parse:function(t){return t}}],n3=function(t){return n7.find(n8(t))},n9=(0,u.__spreadArray)((0,u.__spreadArray)([],(0,u.__read)(n7),!1),[eO,ez],!1);function rt(t,e,n){void 0===n&&(n={});var r,i=T(t,e,n.custom),o=(i||{}).transition,a=void 0===o?t.getDefaultTransition()||{}:o;n.transitionOverride&&(a=n.transitionOverride);var s=i?function(){return re(t,i,n)}:function(){return Promise.resolve()},l=(null===(r=t.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var i,o,s,l,c,d,f,p=a.delayChildren;return i=(void 0===p?0:p)+r,o=a.staggerChildren,s=a.staggerDirection,l=n,void 0===i&&(i=0),void 0===o&&(o=0),void 0===s&&(s=1),c=[],d=(t.variantChildren.size-1)*o,f=1===s?function(t){return void 0===t&&(t=0),t*o}:function(t){return void 0===t&&(t=0),d-t*o}
1,Array.from(t.variantChildren).sort(rn).forEach(function(t,n){c.push(rt(t,e,(0,u.__assign)((0,u.__assign)({},l),{delay:i+f(n)})).then(function(){return t.notifyAnimationComplete(e)}))}),Promise.all(c)}:function(){return Promise.resolve()},c=a.when;if(!c)return Promise.all([s(),l(n.delay)]);var d=(0,u.__read)("beforeChildren"===c?[s,l]:[l,s],2),f=d[0],p=d[1];return f().then(p)}function re(t,e,n){var r,i=void 0===n?{}:n,o=i.delay,a=void 0===o?0:o,s=i.transitionOverride,l=i.type,c=t.makeTargetAnimatable(e),d=c.transition,f=void 0===d?t.getDefaultTransition():d,p=c.transitionEnd,h=(0,u.__rest)(c,["transition","transitionEnd"]);s&&(f=s);var v=[],m=l&&(null===(r=t.animationState)||void 0===r?void 0:r.getState()[l]);for(var y in h){var g=t.getValue(y),b=h[y];if(!(!g||void 0===b||m&&function(t,e){var n=t.protectedKeys,r=t.needsAnimating,i=n.hasOwnProperty(e)&&!0!==r[e];return r[e]=!1,i}(m,y))){var x=(0,u.__assign)({delay:a},f);t.shouldReduceMotion&&Y(y)&&(x=(0,u.__assign)((0,u.__assign)({},x),{type:!1,delay:0}));var _=n0(y,g,b,x);v.push(_)}}return Promise.all(v).then(function(){p&&function(t,e){var n=T(t,e),r=n?t.makeTargetAnimatable(n,!1):{},i=r.transitionEnd;r.transition;var o=(0,u.__rest)(r,["transitionEnd","transition"]);for(var a in o=(0,u.__assign)((0,u.__assign)({},o),void 0===i?{}:i)){var s=tD(o[a]);t.hasValue(a)?t.getValue(a).set(s):t.addValue(a,n6(s))}}(t,p)})}function rn(t,e){return t.sortNodePosition(e)}var rr=[a.Animate,a.InView,a.Focus,a.Hover,a.Tap,a.Drag,a.Exit],ri=(0,u.__spreadArray)([],(0,u.__read)(rr),!1).reverse(),ro=rr.length;function ra(t){return void 0===t&&(t=!1),{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var rs={animation:eo(function(t){var e=t.visualElement,n=t.animate;e.animationState||(e.animationState=function(t){var e,n=function(e){return Promise.all(e.map(function(e){return function(t,e,n){if(void 0===n&&(n={}),t.notifyAnimationStart(e),Array.isArray(e)){var r;r=Promise.all(e.map(function(e){return rt(t,e,n)}))}else if("string"==typeof e)r=rt(t,e,n);else{var i="function"==typeof e?T(t,e,n.custom):e;r=re(t,i,n)}return r.then(function(){return t.notifyAnimationComplete(e)})}(t,e.animation,e.options)}))},r=((e={})[a.Animate]=ra(!0),e[a.InView]=ra(),e[a.Hover]=ra(),e[a.Tap]=ra(),e[a.Drag]=ra(),e[a.Focus]=ra(),e[a.Exit]=ra(),e),i={},o=!0,s=function(e,n){var r=T(t,n);if(r){r.transition;var i=r.transitionEnd,o=(0,u.__rest)(r,["transition","transitionEnd"]);e=(0,u.__assign)((0,u.__assign)((0,u.__assign)({},e),o),i)}return e};function l(e,a){for(var l,c=t.getProps(),d=t.getVariantContext(!0)||{},f=[],p=new Set,h={},v=1/0,m=0;m<ro;m++)!function(n){var i,m=ri[n],y=r[m],g=null!==(l=c[m])&&void 0!==l?l:d[m],b=S(g),x=m===a?y.isActive:null;!1===x&&(v=n);var _=g===d[m]&&g!==c[m]&&b;if(_&&o&&t.manuallyAnimateOnMount&&(_=!1),y.protectedKeys=(0,u.__assign)({},h),!(!y.isActive&&null===x||!g&&!y.prevProp||tO(g))&&"boolean"!=typeof g){var w=(i=y.prevProp,"string"==typeof g?g!==i:!!P(g)&&!ec(g,i)),k=w||m===a&&y.isActive&&!_&&b||n>v&&b,E=Array.isArray(g)?g:[g],A=E.reduce(s,{});!1===x&&(A={});var M=y.prevResolvedValues,T=void 0===M?{}:M,V=(0,u.__assign)((0,u.__assign)({},T),A),C=function(t){k=!0,p.delete(t),y.needsAnimating[t]=!0};for(var j in V){var R=A[j],O=T[j];h.hasOwnProperty(j)||(R!==O?tL(R)&&tL(O)?!ec(R,O)||w?C(j):y.protectedKeys[j]=!0:void 0!==R?C(j):p.add(j):void 0!==R&&p.has(j)?C(j):y.protectedKeys[j]=!0)}y.prevProp=g,y.prevResolvedValues=A,y.isActive&&(h=(0,u.__assign)((0,u.__assign)({},h),A)),o&&t.blockInitialAnimation&&(k=!1),k&&!_&&f.push.apply(f,(0,u.__spreadArray)([],(0,u.__read)(E.map(function(t){return{animation:t,options:(0,u.__assign)({type:m},e)}})),!1))}}(m);if(i=(0,u.__assign)({},h),p.size){var y={};p.forEach(function(e){var n=t.getBaseTarget(e);void 0!==n&&(y[e]=n)}),f.push({animation:y})}var g=!!f.length;return o&&!1===c.initial&&!t.manuallyAnimateOnMount&&(g=!1),o=!1,g?n(f):Promise.resolve()}return{isAnimated:function(t){return void 0!==i[t]},animateChanges:l,setActive:function(e,n,i){if(r[e].isActive===n)return Promise.resolve();null===(o=t.variantChildren)||void 0===o||o.forEach(function(t){var r;return null===(r=t.animationState)||void 0===r?void 0:r.setActive(e,n)}),r[e].isActive=n;var o,a=l(i,e);for(var s in r)r[s].protectedKeys={};return a},setAnimateFunction:function(e){n=e(t)},getState:function(){return r}}}(e)),tO(n)&&(0,l.useEffect)(function(){return n.subscribe(e)},[n])}),exit:eo(function(t){var e=t.custom,n=t.visualElement,r=(0,u.__read)(el(),2),i=r[0],o=r[1],s=(0,l.useContext)(x);(0,l.useEffect)(function(){n.isPresent=i;var t,r,u=null===(t=n.animationState)||void 0===t?void 0:t.setActive(a.Exit,!i,{custom:null!==(r=null==s?void 0:s.custom)&&void 0!==r?r:e});i||null==u||u.then(o)},[i])})};let ru=t=>t.hasOwnProperty("x")&&t.hasOwnProperty("y"),rl=t=>ru(t)&&t.hasOwnProperty("z"),rc=(t,e)=>Math.abs(t-e);function rd(t,e){return eB(t)&&eB(e)?rc(t,e):ru(t)&&ru(e)?Math.sqrt(Math.pow(rc(t.x,e.x),2)+Math.pow(rc(t.y,e.y),2)+Math.pow(rl(t)&&rl(e)?rc(t.z,e.z):0,2)):void 0}var rf=function(){function t(t,e,n){var r=this,i=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var t=rv(r.lastMoveEventInfo,r.history),e=null!==r.startEvent,n=rd(t.offset,{x:0,y:0})>=3;if(e||n){var i=t.point,o=nE().timestamp;r.history.push((0,u.__assign)((0,u.__assign)({},i),{timestamp:o}));var a=r.handlers,s=a.onStart,l=a.onMove;e||(s&&s(r.lastMoveEvent,t),r.startEvent=r.lastMoveEvent),l&&l(r.lastMoveEvent,t)}}},this.handlePointerMove=function(t,e){if(r.lastMoveEvent=t,r.lastMoveEventInfo=rp(e,r.transformPagePoint),tH(t)&&0===t.buttons){r.handlePointerUp(t,e);return}ng.update(r.updatePoint,!0)},this.handlePointerUp=function(t,e){r.end();var n=r.handlers,i=n.onEnd,o=n.onSessionEnd,a=rv(rp(e,r.transformPagePoint),r.history);r.startEvent&&i&&i(t,a),o&&o(t,a)},!t.touches||!(t.touches.length>1)){this.handlers=e,this.transformPagePoint=i;var o=rp(tY(t),this.transformPagePoint),a=o.point,s=nE().timestamp;this.history=[(0,u.__assign)((0,u.__assign)({},a),{timestamp:s})];var l=e.onSessionStart;l&&l(t,rv(o,this.history)),this.removeListeners=t3(tK(window,"pointermove",this.handlePointerMove),tK(window,"pointerup",this.handlePointerUp),tK(window,"pointercancel",this.handlePointerUp))}}return t.prototype.updateHandlers=function(t){this.handlers=t},t.prototype.end=function(){this.removeListeners&&this.removeListeners(),nb.update(this.updatePoint)},t}();function rp(t,e){return e?{point:e(t.point)}:t}function rh(t,e){return{x:t.x-e.x,y:t.y-e.y}}function rv(t,e){var n=t.point;return{point:n,delta:rh(n,rm(e)),offset:rh(n,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};for(var n=t.length-1,r=null,i=rm(t);n>=0&&(r=t[n],!(i.timestamp-r.timestamp>nM(.1)));)n--;if(!r)return{x:0,y:0};var o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};var a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,0)}}function rm(t){return t[t.length-1]}function ry(t){return t.max-t.min}function rg(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=.01),rd(t,e)<n}function rb(t,e,n,r){void 0===r&&(r=.5),t.origin=r,t.originPoint=eb(e.min,e.max,t.origin),t.scale=ry(n)/ry(e),(rg(t.
1scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=eb(n.min,n.max,t.origin)-t.originPoint,(rg(t.translate)||isNaN(t.translate))&&(t.translate=0)}function rx(t,e,n,r){rb(t.x,e.x,n.x,null==r?void 0:r.originX),rb(t.y,e.y,n.y,null==r?void 0:r.originY)}function r_(t,e,n){t.min=n.min+e.min,t.max=t.min+ry(e)}function rw(t,e,n){t.min=e.min-n.min,t.max=t.min+ry(e)}function rk(t,e,n){rw(t.x,e.x,n.x),rw(t.y,e.y,n.y)}function rE(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function rA(t,e){var n,r=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&(r=(n=(0,u.__read)([i,r],2))[0],i=n[1]),{min:r,max:i}}function rP(t,e,n){return{min:rS(t,e),max:rS(t,n)}}function rS(t,e){var n;return"number"==typeof t?t:null!==(n=t[e])&&void 0!==n?n:0}var rM=function(){return{translate:0,scale:1,origin:0,originPoint:0}},rT=function(){return{x:rM(),y:rM()}},rV=function(){return{min:0,max:0}},rC=function(){return{x:rV(),y:rV()}};function rj(t){return[t("x"),t("y")]}function rR(t){var e=t.top;return{x:{min:t.left,max:t.right},y:{min:e,max:t.bottom}}}function rO(t){return void 0===t||1===t}function rL(t){var e=t.scale,n=t.scaleX,r=t.scaleY;return!rO(e)||!rO(n)||!rO(r)}function rD(t){var e,n;return rL(t)||(e=t.x)&&"0%"!==e||(n=t.y)&&"0%"!==n||t.z||t.rotate||t.rotateX||t.rotateY}function rI(t,e,n,r,i){return void 0!==i&&(t=r+i*(t-r)),r+n*(t-r)+e}function rF(t,e,n,r,i){void 0===e&&(e=0),void 0===n&&(n=1),t.min=rI(t.min,e,n,r,i),t.max=rI(t.max,e,n,r,i)}function rZ(t,e){var n=e.x,r=e.y;rF(t.x,n.translate,n.scale,n.originPoint),rF(t.y,r.translate,r.scale,r.originPoint)}function rU(t,e){t.min=t.min+e,t.max=t.max+e}function rz(t,e,n){var r=(0,u.__read)(n,3),i=r[0],o=r[1],a=r[2],s=void 0!==e[a]?e[a]:.5,l=eb(t.min,t.max,s);rF(t,e[i],e[o],l,e.scale)}var rB=["x","scaleX","originX"],rN=["y","scaleY","originY"];function rH(t,e){rz(t.x,e,rB),rz(t.y,e,rN)}function rW(t,e){return rR(function(t,e){if(!e)return t;var n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}var rY=new WeakMap,rq=function(){function t(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rC(),this.visualElement=t}return t.prototype.start=function(t,e){var n=this,r=(void 0===e?{}:e).snapToCursor,i=void 0!==r&&r;!1!==this.visualElement.isPresent&&(this.panSession=new rf(t,{onSessionStart:function(t){n.stopAnimation(),i&&n.snapToCursor(tY(t,"page").point)},onStart:function(t,e){var r,i=n.getProps(),o=i.drag,s=i.dragPropagation,u=i.onDragStart;(!o||s||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=t2(o),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),rj(function(t){var e,r,i=n.getAxisMotionValue(t).get()||0;if(ta.test(i)){var o=null===(r=null===(e=n.visualElement.projection)||void 0===e?void 0:e.layout)||void 0===r?void 0:r.actual[t];if(o){var a=ry(o);i=parseFloat(i)/100*a}}n.originPoint[t]=i}),null==u||u(t,e),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(a.Drag,!0))},onMove:function(t,e){var r=n.getProps(),i=r.dragPropagation,o=r.dragDirectionLock,a=r.onDirectionLock,s=r.onDrag;if(i||n.openGlobalLock){var u,l,c=e.offset;if(o&&null===n.currentDirection){n.currentDirection=(void 0===u&&(u=10),l=null,Math.abs(c.y)>u?l="y":Math.abs(c.x)>u&&(l="x"),l),null!==n.currentDirection&&(null==a||a(n.currentDirection));return}n.updateAxis("x",e.point,c),n.updateAxis("y",e.point,c),n.visualElement.syncRender(),null==s||s(t,e)}},onSessionEnd:function(t,e){return n.stop(t,e)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},t.prototype.stop=function(t,e){var n=this.isDragging;if(this.cancel(),n){var r=e.velocity;this.startAnimation(r);var i=this.getProps().onDragEnd;null==i||i(t,e)}},t.prototype.cancel=function(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(a.Drag,!1)},t.prototype.updateAxis=function(t,e,n){var r=this.getProps().drag;if(n&&rX(t,r,this.currentDirection)){var i,o,a,s,u,l=this.getAxisMotionValue(t),c=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(i=c,o=this.constraints[t],a=this.elastic[t],s=o.min,u=o.max,void 0!==s&&i<s?i=a?eb(s,i,a.min):Math.max(i,s):void 0!==u&&i>u&&(i=a?eb(u,i,a.max):Math.min(i,u)),c=i),l.set(c)}}
1,t.prototype.resolveConstraints=function(){var t,e,n,r,i,o,a=this,s=this.getProps(),u=s.dragConstraints,l=s.dragElastic,c=(this.visualElement.projection||{}).layout,d=this.constraints;u&&A(u)?this.constraints||(this.constraints=this.resolveRefConstraints()):u&&c?this.constraints=(t=c.actual,e=u.top,n=u.left,r=u.bottom,i=u.right,{x:rE(t.x,n,i),y:rE(t.y,e,r)}):this.constraints=!1,this.elastic=(void 0===(o=l)&&(o=.35),!1===o?o=0:!0===o&&(o=.35),{x:rP(o,"left","right"),y:rP(o,"top","bottom")}),d!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&rj(function(t){if(a.getAxisMotionValue(t)){var e,n,r;a.constraints[t]=(e=c.actual[t],n=a.constraints[t],r={},void 0!==n.min&&(r.min=n.min-e.min),void 0!==n.max&&(r.max=n.max-e.min),r)}})},t.prototype.resolveRefConstraints=function(){var t=this.getProps(),e=t.dragConstraints,n=t.onMeasureDragConstraints;if(!e||!A(e))return!1;var r=e.current;(0,h.invariant)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var i=this.visualElement.projection;if(!i||!i.layout)return!1;var o=(s=i.root,u=rW(r,this.visualElement.getTransformPagePoint()),(l=s.scroll)&&(rU(u.x,l.x),rU(u.y,l.y)),u),a={x:rA((c=i.layout.actual).x,o.x),y:rA(c.y,o.y)};if(n){var s,u,l,c,d,f,p,v=n((f=(d=a).x,{top:(p=d.y).min,right:f.max,bottom:p.max,left:f.min}));this.hasMutatedConstraints=!!v,v&&(a=rR(v))}return a},t.prototype.startAnimation=function(t){var e=this,n=this.getProps(),r=n.drag,i=n.dragMomentum,o=n.dragElastic,a=n.dragTransition,s=n.dragSnapToOrigin,l=n.onDragTransitionEnd,c=this.constraints||{};return Promise.all(rj(function(n){if(rX(n,r,e.currentDirection)){var l,d=null!==(l=null==c?void 0:c[n])&&void 0!==l?l:{};s&&(d={min:0,max:0});var f=(0,u.__assign)((0,u.__assign)({type:"inertia",velocity:i?t[n]:0,bounceStiffness:o?200:1e6,bounceDamping:o?40:1e7,timeConstant:750,restDelta:1,restSpeed:10},a),d);return e.startAxisValueAnimation(n,f)}})).then(l)},t.prototype.startAxisValueAnimation=function(t,e){var n=this.getAxisMotionValue(t);return n0(t,n,0,e)},t.prototype.stopAnimation=function(){var t=this;rj(function(e){return t.getAxisMotionValue(e).stop()})},t.prototype.getAxisMotionValue=function(t){var e,n,r="_drag"+t.toUpperCase();return this.visualElement.getProps()[r]||this.visualElement.getValue(t,null!==(n=null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])&&void 0!==n?n:0)},t.prototype.snapToCursor=function(t){var e=this;rj(function(n){if(rX(n,e.getProps().drag,e.currentDirection)){var r=e.visualElement.projection,i=e.getAxisMotionValue(n);if(r&&r.layout){var o=r.layout.actual[n],a=o.min,s=o.max;i.set(t[n]-eb(a,s,.5))}}})},t.prototype.scalePositionWithinConstraints=function(){var t,e=this,n=this.getProps(),r=n.drag,i=n.dragConstraints,o=this.visualElement.projection;if(A(i)&&o&&this.constraints){this.stopAnimation();var a={x:0,y:0};rj(function(t){var n=e.getAxisMotionValue(t);if(n){var r,i,o,s,u,l=n.get();a[t]=(r={min:l,max:l},i=e.constraints[t],o=.5,s=ry(r),(u=ry(i))>s?o=eg(i.min,i.max-s,r.min):s>u&&(o=eg(r.min,r.max-u,i.min)),ed(0,1,o))}});var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(t=o.root)||void 0===t||t.updateScroll(),o.updateLayout(),this.resolveConstraints(),rj(function(t){if(rX(t,r,null)){var n=e.getAxisMotionValue(t),i=e.constraints[t],o=i.min,s=i.max;n.set(eb(o,s,a[t]))}})}},t.prototype.addListeners=function(){var t,e=this;rY.set(this.visualElement,this);var n=tK(this.visualElement.getInstance(),"pointerdown",function(t){var n=e.getProps(),r=n.drag,i=n.dragListener;r&&(void 0===i||i)&&e.start(t)}),r=function(){A(e.getProps().dragConstraints)&&(e.constraints=e.resolveRefConstraints())},i=this.visualElement.projection,o=i.addEventListener("measure",r);i&&!i.layout&&(null===(t=i.root)||void 0===t||t.updateScroll(),i.updateLayout()),r();var a=tB(window,"resize",function(){return e.scalePositionWithinConstraints()});return i.addEventListener("didUpdate",function(t){var n=t.delta,r=t.hasLayoutChanged;e.isDragging&&r&&(rj(function(t){var r=e.getAxisMotionValue(t);r&&(e.originPoint[t]+=n[t].translate,r.set(r.get()+n[t].translate))}),e.visualElement.syncRender())}),function(){a(),n(),o()}},t.prototype.getProps=function(){var t=this.visualElement.getProps(),e=t.drag,n=t.dragDirectionLock,r=t.dragPropagation,i=t.dragConstraints,o=t.dragElastic,a=t.dragMomentum;return(0,u.__assign)((0,u.__assign)({},t),{drag:void 0!==e&&e,dragDirectionLock:void 0!==n&&n,dragPropagation:void 0!==r&&r,dragConstraints:void 0!==i&&i,dragElastic:void 0===o?.35:o,dragMomentum:void 0===a||a})},t}();function rX(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}var rG={pan:eo(function(t){var e=t.onPan,n=t.onPanStart,r=t.onPanEnd,i=t.onPanSessionStart,o=t.visualElement,a=(0,l.useRef)(null),s=(0,l.useContext)(g).transformPagePoint,u={onSessionStart:i,onStart:n,onMove:e,onEnd:function(t,e){a.current=null,r&&r(t,e)}};(0,l.useEffect)(function(){null!==a.current&&a.current.updateHandlers(u)}
1),tJ(o,"pointerdown",(e||n||r||i)&&function(t){a.current=new rf(t,u,{transformPagePoint:s})}),t8(function(){return a.current&&a.current.end()})}),drag:eo(function(t){var e=t.dragControls,n=t.visualElement,r=R(function(){return new rq(n)});(0,l.useEffect)(function(){return e&&e.subscribe(r)},[r,e]),(0,l.useEffect)(function(){return r.addListeners()},[r])})},r$=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"],rK=function(t){var e=t.treeType,n=void 0===e?"":e,r=t.build,i=t.getBaseTarget,o=t.makeTargetAnimatable,a=t.measureViewportBox,s=t.render,l=t.readValueFromInstance,c=t.removeValueFromRenderState,d=t.sortNodePosition,f=t.scrapeMotionValuesFromProps;return function(t,e){var p,h,v,m,y,g=t.parent,b=t.props,x=t.presenceId,_=t.blockInitialAnimation,w=t.visualState,k=t.shouldReduceMotion;void 0===e&&(e={});var E=!1,A=w.latestValues,P=w.renderState,M=(p=r$.map(function(){return new n5}),h={},v={clearAllListeners:function(){return p.forEach(function(t){return t.clear()})},updatePropListeners:function(t){r$.forEach(function(e){var n,r="on"+e,i=t[r];null===(n=h[e])||void 0===n||n.call(h),i&&(h[e]=v[r](i))})}},p.forEach(function(t,e){v["on"+r$[e]]=function(e){return t.add(e)},v["notify"+r$[e]]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.notify.apply(t,(0,u.__spreadArray)([],(0,u.__read)(e),!1))}}),v),T=new Map,j=new Map,R={},O=(0,u.__assign)({},A);function L(){m&&E&&(D(),s(m,P,b.style,H.projection))}function D(){r(H,P,A,e,b)}function I(){M.notifyUpdate(A)}function F(t,e){var n=e.onChange(function(e){A[t]=e,b.onUpdate&&ng.update(I,!1,!0)}),r=e.onRenderRequest(H.scheduleRender);j.set(t,function(){n(),r()})}var Z=f(b);for(var U in Z){var z=Z[U];void 0!==A[U]&&G(z)&&z.set(A[U],!1)}var B=V(b),N=C(b),H=(0,u.__assign)((0,u.__assign)({treeType:n,current:null,depth:g?g.depth+1:0,parent:g,children:new Set,presenceId:x,shouldReduceMotion:k,variantChildren:N?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:!!(null==g?void 0:g.isMounted()),blockInitialAnimation:_,isMounted:function(){return!!m},mount:function(t){E=!0,m=H.current=t,H.projection&&H.projection.mount(t),N&&g&&!B&&(y=null==g?void 0:g.addVariantChild(H)),T.forEach(function(t,e){return F(e,t)}),null==g||g.children.add(H),H.setProps(b)},unmount:function(){var t;null===(t=H.projection)||void 0===t||t.unmount(),nb.update(I),nb.render(L),j.forEach(function(t){return t()}),null==y||y(),null==g||g.children.delete(H),M.clearAllListeners(),m=void 0,E=!1},addVariantChild:function(t){var e,n=H.getClosestVariantNode();if(n)return null===(e=n.variantChildren)||void 0===e||e.add(t),function(){return n.variantChildren.delete(t)}},sortNodePosition:function(t){return d&&n===t.treeType?d(H.getInstance(),t.getInstance()):0},getClosestVariantNode:function(){return N?H:null==g?void 0:g.getClosestVariantNode()},getLayoutId:function(){return b.layoutId},getInstance:function(){return m},getStaticValue:function(t){return A[t]},setStaticValue:function(t,e){return A[t]=e},getLatestValues:function(){return A},setVisibility:function(t){H.isVisible!==t&&(H.isVisible=t,H.scheduleRender())},makeTargetAnimatable:function(t,e){return void 0===e&&(e=!0),o(H,t,b,e)},measureViewportBox:function(){return a(m,b)},addValue:function(t,e){H.hasValue(t)&&H.removeValue(t),T.set(t,e),A[t]=e.get(),F(t,e)},removeValue:function(t){var e;T.delete(t),null===(e=j.get(t))||void 0===e||e(),j.delete(t),delete A[t],c(t,P)},hasValue:function(t){return T.has(t)},getValue:function(t,e){var n=T.get(t);return void 0===n&&void 0!==e&&(n=n6(e),H.addValue(t,n)),n},forEachValue:function(t){return T.forEach(t)},readValue:function(t){var n;return null!==(n=A[t])&&void 0!==n?n:l(m,t,e)},setBaseTarget:function(t,e){O[t]=e},getBaseTarget:function(t){if(i){var e=i(b,t);if(void 0!==e&&!G(e))return e}return O[t]}},M),{build:function(){return D(),P},scheduleRender:function(){ng.render(L,!1,!0)},syncRender:L,setProps:function(t){(t.transformTemplate||b.transformTemplate)&&H.scheduleRender(),b=t,M.updatePropListeners(t),R=function(t,e,n){var r;for(var i in e){var o=e[i],a=n[i];if(G(o))t.addValue(i,o);else if(G(a))t.addValue(i,n6(o));else if(a!==o){if(t.hasValue(i)){var s=t.getValue(i);s.hasAnimated||s.set(o)}else t.addValue(i,n6(null!==(r=t.getStaticValue(i))&&void 0!==r?r:o))}}for(var i in n)void 0===e[i]&&t.removeValue(i);return e}(H,f(b),R)},getProps:function(){return b},getVariant:function(t){var e;return null===(e=b.variants)||void 0===e?void 0:e[t]},getDefaultTransition:function(){return b.transition},getTransformPagePoint:function(){return b.transformPagePoint},getVariantContext:function(t){if(void 0===t&&(t=!1),t)return null==g?void 0:g.getVariantContext();if(!B){var e=(null==g?void 0:g.getVariantContext())||{};return void 0!==b.initial&&(e.initial=b.initial),e}for(var n={},r=0;r<rQ;r++){var i=rJ[r],o=b[i];(S(o)||!1===o)&&(n[i]=o)}return n}});return H}},rJ=(0,u.__spreadArray)(["initial"],(0,u.__read)(rr),!1),rQ=rJ.length;function r0(t){return"string"==typeof t&&t.startsWith("var(--")}var r1=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function r2(t,e,n){void 0===n&&(n=1),(0,h.invariant)(n<=4,'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.'));var r=(0,u.__read)(function(t){var e=r1.exec(t);if(!e)return[,];var n=(0,u.__read)(e,3);return[n[1],n[2]]}(t),2),i=r[0],o=r[1];if(i){var a=window.getComputedStyle(e).getPropertyValue(i);return a?a.trim():r0(o)?r2(o,e,n+1):o}}var r5=new Set(["width","height","top","left","right","bottom","x","y"]),r4=function(t){return r5.has(t)},r6=function(t,e){t.set(e,!1),t.set(e)},r8=function(t){return t===td||t===ts};(o=s||(s={})).width="width",o.height="height",o.left="left",o.right="right",o.top="top",o.bottom="bottom";var r7=function(t,e){return parseFloat(t.split(", ")[e])},r3=function(t,e){return function(n,r){var i=r.transform;if("none"===i||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return r7(o[1],e);var a=i.match(/^matrix\((.+)\)$/);return a?r7(a[1],t):0}},r9=new Set(["x","y","z"]),it=N.filter(function(t){return!r9.has(t)}),ie={width:function(t,e){var n=t.x,r=e.paddingLeft,i=e.paddingRight;return n.max-n.min-parseFloat(void 0===r?"0":r)-parseFloat(void 0===i?"0":i)},height:function(t,e){var n=t.y,r=e.paddingTop,i=e.paddingBottom;return n.max-n.min-parseFloat(void 0===r?"0":r)-parseFloat(void 0===i?"0":i)},top:function(t,e){return parseFloat(e.top)},left:function(t,e){return parseFloat(e.left)},bottom:function(t,e){var n=t.y;return parseFloat(e.top)+(n.max-n.min)},right:function(t,e){var n=t.x;return parseFloat(e.left)+(n.max-n.min)},x:r3(4,13),y:r3(5,14)},ir=function(t,e,n){var r=e.measureViewportBox(),i=getComputedStyle(e.getInstance()),o=i.display,a={};"none"===o&&e.setStaticValue("display",t.display||"block"),n.forEac
1h(function(t){a[t]=ie[t](r,i)}),e.syncRender();var s=e.measureViewportBox();return n.forEach(function(n){r6(e.getValue(n),a[n]),t[n]=ie[n](s,i)}),t},ii=function(t,e,n,r){void 0===n&&(n={}),void 0===r&&(r={}),e=(0,u.__assign)({},e),r=(0,u.__assign)({},r);var i=Object.keys(e).filter(r4),o=[],a=!1,s=[];if(i.forEach(function(i){var u,l=t.getValue(i);if(t.hasValue(i)){var c=n[i],d=n3(c),f=e[i];if(tL(f)){var p=f.length,v=null===f[0]?1:0;d=n3(c=f[v]);for(var m=v;m<p;m++)u?(0,h.invariant)(n3(f[m])===u,"All keyframes must be of the same type"):(u=n3(f[m]),(0,h.invariant)(u===d||r8(d)&&r8(u),"Keyframes must be of the same dimension as the current value"))}else u=n3(f);if(d!==u){if(r8(d)&&r8(u)){var y,g=l.get();"string"==typeof g&&l.set(parseFloat(g)),"string"==typeof f?e[i]=parseFloat(f):Array.isArray(f)&&u===ts&&(e[i]=f.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==u?void 0:u.transform)&&(0===c||0===f)?0===c?l.set(u.transform(c)):e[i]=d.transform(f):(a||(y=[],it.forEach(function(e){var n=t.getValue(e);void 0!==n&&(y.push([e,n.get()]),n.set(e.startsWith("scale")?1:0))}),y.length&&t.syncRender(),o=y,a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:e[i],r6(l,f))}}}),!s.length)return{target:e,transitionEnd:r};var l=s.indexOf("height")>=0?window.pageYOffset:null,c=ir(e,t,s);return o.length&&o.forEach(function(e){var n=(0,u.__read)(e,2),r=n[0],i=n[1];t.getValue(r).set(i)}),t.syncRender(),null!==l&&window.scrollTo({top:l}),{target:c,transitionEnd:r}},io=function(t,e,n,r){var i,o,a=function(t,e,n){var r,i=(0,u.__rest)(e,[]),o=t.getInstance();if(!(o instanceof Element))return{target:i,transitionEnd:n};for(var a in n&&(n=(0,u.__assign)({},n)),t.forEachValue(function(t){var e=t.get();if(r0(e)){var n=r2(e,o);n&&t.set(n)}}),i){var s=i[a];if(r0(s)){var l=r2(s,o);l&&(i[a]=l,n&&(null!==(r=n[a])&&void 0!==r||(n[a]=s)))}}return{target:i,transitionEnd:n}}(t,e,r);return i=e=a.target,o=r=a.transitionEnd,Object.keys(i).some(r4)?ii(t,i,n,o):{target:i,transitionEnd:o}},ia={treeType:"dom",readValueFromInstance:function(t,e){if(Y(e)){var n=nX(e);return n&&n.default||0}var r=window.getComputedStyle(t);return(K(e)?r.getPropertyValue(e):r[e])||0},sortNodePosition:function(t,e){return 2&t.compareDocumentPosition(e)?1:-1},getBaseTarget:function(t,e){var n;return null===(n=t.style)||void 0===n?void 0:n[e]},measureViewportBox:function(t,e){return rW(t,e.transformPagePoint)},resetTransform:function(t,e,n){var r=n.transformTemplate;e.style.transform=r?r({},""):"none",t.scheduleRender()},restoreTransform:function(t,e){t.style.transform=e.style.transform},removeValueFromRenderState:function(t,e){var n=e.vars,r=e.style;delete n[t],delete r[t]},makeTargetAnimatable:function(t,e,n,r){var i=n.transformValues;void 0===r&&(r=!0);var o=e.transition,a=e.transitionEnd,s=(0,u.__rest)(e,["transition","transitionEnd"]),l=function(t,e,n){var r,i,o={};for(var a in t)o[a]=null!==(r=function(t,e){if(e)return(e[t]||e.default||e).from}(a,e))&&void 0!==r?r:null===(i=n.getValue(a))||void 0===i?void 0:i.get();return o}(s,o||{},t);if(i&&(a&&(a=i(a)),s&&(s=i(s)),l&&(l=i(l))),r){!function(t,e,n){var r,i,o,a=Object.keys(e).filter(function(e){return!t.hasValue(e)}),s=a.length;if(s)for(var u=0;u<s;u++){var l,c,d,f=a[u],p=e[f],h=null;Array.isArray(p)&&(h=p[0]),null===h&&(h=null!==(i=null!==(r=n[f])&&void 0!==r?r:t.readValue(f))&&void 0!==i?i:e[f]),null!=h&&("string"==typeof h&&(l=h,/^\-?\d*\.?\d+$/.test(l)||(c=h,/^0[^.\s]+$/.test(c)))?h=parseFloat(h):(d=h,!n9.find(n8(d))&&ez.test(p)&&(h=nG(f,p))),t.addValue(f,n6(h)),null!==(o=n[f])&&void 0!==o||(n[f]=h),t.setBaseTarget(f,h))}}(t,s,l);var c=io(t,s,l,a);a=c.transitionEnd,s=c.target}return(0,u.__assign)({transition:o,transitionEnd:a},s)},scrapeMotionValuesFromProps:tj,build:function(t,e,n,r,i){void 0!==t.isVisible&&(e.style.visibility=t.isVisible?"visible":"hidden"),tm(e,n,r,i.transformTemplate)},render:tT},is=rK(ia),iu=rK((0,u.__assign)((0,u.__assign)({},ia),{getBaseTarget:function(t,e){return t[e]},readValueFromInstance:function(t,e){var n;return Y(e)?(null===(n=nX(e))||void 0===n?void 0:n.default)||0:(e=tV.has(e)?e:tM(e),t.getAttribute(e))},scrapeMotionValuesFromProps:tR,build:function(t,e,n,r,i){tA(e,n,r,i.transformTemplate)},render:tC})),il=function(t,e){return U(t)?iu(e,{enableHardwareAcceleration:!1}):is(e,{enableHardwareAcceleration:!0})};function ic(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}var id={correct:function(t,e){if(!e.target)return t;if("string"==typeof t){if(!ts.test(t))return t;t=parseFloat(t)}var n=ic(t,e.target.x),r=ic(t,e.target.y);return"".concat(n,"% ").concat(r,"%")}},ip="_$css",ih=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,u.__extends)(e,t),e.prototype.componentDidMount=function(){var t=this,e=this.props,n=e.visualElement,r=e.layoutGroup,i=e.switchLayoutGroup,o=e.layoutId,a=n.projection;Object.assign(z,iv),a&&((null==r?void 0:r.group)&&r.group.add(a),(null==i?void 0:i.register)&&o&&i.register(a),a.root.didUpdate(),a.addEventListener("animationComplete",function(){t.safeToRemove()}),a.setOptions((0,u.__assign)((0,u.__assign)({},a.options),{onExitComplete:function(){return t.safeToRemove()}}))),O.hasEverUpdated=!0},e.prototype.getSnapshotBeforeUpdate=function(t){var e=this,n=this.props,r=n.layoutDependency,i=n.visualElement,o=n.drag,a=n.isPresent,s=i.projection;return s&&(s.isPresent=a,o||t.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),t.isPresent===a||(a?s.promote():s.relegate()||ng.postRender(function(){var t;(null===(t=s.getStack())||void 0===t?void 0:t.members.length)||e.safeToRemove()}))),null},e.prototype.componentDidUpdate=function(){var t=this.props.visualElement.projection;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())},e.prototype.componentWillUnmount=function(){var t=this.props,e=t.visualElement,n=t.layoutGroup,r=t.switchLayoutGroup,i=e.projection;i&&(i.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(i),(null==r?void 0:r.deregister)&&r.deregister(i))},e.prototype.safeToRemove=function(){var t=this.props.safeToRemove;null==t||t()},e.prototype.render=function(){return null},e}(l.Component),iv={borderRadius:(0,u.__assign)((0,u.__assign)({},id),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:id,borderTopRightRadius:id,borderBottomLeftRadius:id,borderBottomRightRadius:id,boxShadow:{correct:function(t,e){var n=e.treeScale,r=e.projectionDelta,i=t,o=t.includes("var("),a=[];o&&(t=t.replace(r1,function(t){return a.push(t),ip}));var s=ez.parse(t);if(s.length>5)return i;var u=ez.createTransformer(t),l="number"!=typeof s[0]?1:0,c=r.x.scale*n.x,d=r.y.scale*n.y;s[0+l]/=c,s[1+l]/=d;var f=eb(c,d,.5);"number"==typeof s[2+l]&&(s[2+l]/=f),"number"==typeof s[3+l]&&(s[3+l]/=f);var p=u(s);if(o){var h=0;
1p=p.replace(ip,function(){var t=a[h];return h++,t})}return p}}},im=["TopLeft","TopRight","BottomLeft","BottomRight"],iy=im.length,ig=function(t){return"string"==typeof t?parseFloat(t):t},ib=function(t){return"number"==typeof t||ts.test(t)};function ix(t,e){var n;return null!==(n=t[e])&&void 0!==n?n:t.borderRadius}var i_=ik(0,.5,e8),iw=ik(.5,.95,e1);function ik(t,e,n){return function(r){return r<t?0:r>e?1:n(eg(t,e,r))}}function iE(t,e){t.min=e.min,t.max=e.max}function iA(t,e){iE(t.x,e.x),iE(t.y,e.y)}function iP(t,e,n,r,i){return t-=e,t=r+1/n*(t-r),void 0!==i&&(t=r+1/i*(t-r)),t}function iS(t,e,n,r,i){var o=(0,u.__read)(n,3),a=o[0],s=o[1],l=o[2];!function(t,e,n,r,i,o,a){if(void 0===e&&(e=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===o&&(o=t),void 0===a&&(a=t),ta.test(e)&&(e=parseFloat(e),e=eb(a.min,a.max,e/100)-a.min),"number"==typeof e){var s=eb(o.min,o.max,r);t===o&&(s-=e),t.min=iP(t.min,e,n,s,i),t.max=iP(t.max,e,n,s,i)}}(t,e[a],e[s],e[l],e.scale,r,i)}var iM=["x","scaleX","originX"],iT=["y","scaleY","originY"];function iV(t,e,n,r){iS(t.x,e,iM,null==n?void 0:n.x,null==r?void 0:r.x),iS(t.y,e,iT,null==n?void 0:n.y,null==r?void 0:r.y)}function iC(t){return 0===t.translate&&1===t.scale}function ij(t){return iC(t.x)&&iC(t.y)}function iR(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}var iO=function(){function t(){this.members=[]}return t.prototype.add=function(t){n1(this.members,t),t.scheduleRender()},t.prototype.remove=function(t){if(n2(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var e=this.members[this.members.length-1];e&&this.promote(e)}},t.prototype.relegate=function(t){var e,n=this.members.findIndex(function(e){return t===e});if(0===n)return!1;for(var r=n;r>=0;r--){var i=this.members[r];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)},t.prototype.promote=function(t,e){var n,r=this.lead;t!==r&&(this.prevLead=r,this.lead=t,t.show(),r&&(r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues,t.snapshot.isShared=!0),(null===(n=t.root)||void 0===n?void 0:n.isUpdating)&&(t.isLayoutDirty=!0),!1===t.options.crossfade&&r.hide()))},t.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var e,n,r,i,o;null===(n=(e=t.options).onExitComplete)||void 0===n||n.call(e),null===(o=null===(r=t.resumingFrom)||void 0===r?void 0:(i=r.options).onExitComplete)||void 0===o||o.call(i)})},t.prototype.scheduleRender=function(){this.members.forEach(function(t){t.instance&&t.scheduleRender(!1)})},t.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},t}();function iL(t,e,n){var r=t.x.translate/e.x,i=t.y.translate/e.y,o="translate3d(".concat(r,"px, ").concat(i,"px, 0) ");if(o+="scale(".concat(1/e.x,", ").concat(1/e.y,") "),n){var a=n.rotate,s=n.rotateX,u=n.rotateY;a&&(o+="rotate(".concat(a,"deg) ")),s&&(o+="rotateX(".concat(s,"deg) ")),u&&(o+="rotateY(".concat(u,"deg) "))}var l=t.x.scale*e.x,c=t.y.scale*e.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(o+="scale(".concat(l,", ").concat(c,")"))?"none":o}var iD=function(t,e){return t.depth-e.depth},iI=function(){function t(){this.children=[],this.isDirty=!1}return t.prototype.add=function(t){n1(this.children,t),this.isDirty=!0},t.prototype.remove=function(t){n2(this.children,t),this.isDirty=!0},t.prototype.forEach=function(t){this.isDirty&&this.children.sort(iD),this.isDirty=!1,this.children.forEach(t)},t}();function iF(t){var e=t.attachResizeListener,n=t.defaultParent,r=t.measureScroll,i=t.checkIsScrollRoot,o=t.resetTransform;return function(){function t(t,e,r){var i=this;void 0===e&&(e={}),void 0===r&&(r=null==n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){i.isUpdating&&(i.isUpdating=!1,i.clearAllSnapshots())}
1,this.updateProjection=function(){i.nodes.forEach(iW),i.nodes.forEach(iY)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=t,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?(0,u.__spreadArray)((0,u.__spreadArray)([],(0,u.__read)(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(var o=0;o<this.path.length;o++)this.path[o].shouldResetTransform=!0;this.root===this&&(this.nodes=new iI)}return t.prototype.addEventListener=function(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new n5),this.eventHandlers.get(t).add(e)},t.prototype.notifyListeners=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=this.eventHandlers.get(t);null==r||r.notify.apply(r,(0,u.__spreadArray)([],(0,u.__read)(e),!1))},t.prototype.hasListeners=function(t){return this.eventHandlers.has(t)},t.prototype.registerPotentialNode=function(t,e){this.potentialNodes.set(t,e)},t.prototype.mount=function(t,n){var r=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;var i=this.options,o=i.layoutId,a=i.layout,s=i.visualElement;if(s&&!s.getInstance()&&s.mount(t),this.root.nodes.add(this),null===(l=this.parent)||void 0===l||l.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(a||o)&&(this.isLayoutDirty=!0),e){var l,c,d=function(){return r.root.updateBlockedByResize=!1};e(t,function(){r.root.updateBlockedByResize=!0,clearTimeout(c),c=window.setTimeout(d,250),O.hasAnimatedSinceResize&&(O.hasAnimatedSinceResize=!1,r.nodes.forEach(iH))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&s&&(o||a)&&this.addEventListener("didUpdate",function(t){var e,n,i,o,a,l=t.delta,c=t.hasLayoutChanged,d=t.hasRelativeTargetChanged,f=t.layout;if(r.isTreeAnimationBlocked()){r.target=void 0,r.relativeTarget=void 0;return}var p=null!==(n=null!==(e=r.options.transition)&&void 0!==e?e:s.getDefaultTransition())&&void 0!==n?n:iJ,h=s.getProps(),v=h.onLayoutAnimationStart,m=h.onLayoutAnimationComplete,y=!r.targetLayout||!iR(r.targetLayout,f)||d,g=!c&&d;if((null===(i=r.resumeFrom)||void 0===i?void 0:i.instance)||g||c&&(y||!r.currentAnimation)){r.resumeFrom&&(r.resumingFrom=r.resumeFrom,r.resumingFrom.resumingFrom=void 0),r.setAnimationOrigin(l,g);var b=(0,u.__assign)((0,u.__assign)({},nQ(p,"layout")),{onPlay:v,onComplete:m});s.shouldReduceMotion&&(b.delay=0,b.type=!1),r.startAnimation(b)}else c||0!==r.animationProgress||r.finishAnimation(),r.isLead()&&(null===(a=(o=r.options).onExitComplete)||void 0===a||a.call(o));r.targetLayout=f})}},t.prototype.unmount=function(){var t,e;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(t=this.getStack())||void 0===t||t.remove(this),null===(e=this.parent)||void 0===e||e.children.delete(this),this.instance=void 0,nb.preRender(this.updateProjection)},t.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},t.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},t.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},t.prototype.isTreeAnimationBlocked=function(){var t;return this.isAnimationBlocked||(null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimationBlocked())||!1},t.prototype.startUpdate=function(){var t;this.isUpdateBlocked()||(this.isUpdating=!0,null===(t=this.nodes)||void 0===t||t.forEach(iq))},t.prototype.willUpdate=function(t){if(void 0===t&&(t=!0),this.root.isUpdateBlocked()){null===(n=(e=this.options).onExitComplete)||void 0===n||n.call(e);return}if(this.root.isUpdating||this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var e,n,r,i=0;i<this.path.length;i++){var o=this.path[i];o.shouldResetTransform=!0,o.updateScroll()}var a=this.options,s=a.layoutId,u=a.layout;if(void 0!==s||u){var l=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==l?void 0:l(this.latestValues,""),this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}}},t.prototype.didUpdate=function(){if(this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEac
1h(iB);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(iQ),this.potentialNodes.clear()),this.nodes.forEach(iN),this.nodes.forEach(iZ),this.nodes.forEach(iU),this.clearAllSnapshots(),nx.update(),nx.preRender(),nx.render())},t.prototype.clearAllSnapshots=function(){this.nodes.forEach(iz),this.sharedNodes.forEach(iX)},t.prototype.scheduleUpdateProjection=function(){ng.preRender(this.updateProjection,!1,!0)},t.prototype.scheduleCheckAfterUnmount=function(){var t=this;ng.postRender(function(){t.isLayoutDirty?t.root.didUpdate():t.root.checkUpdateFailed()})},t.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var t=this.measure(),e=this.removeTransform(this.removeElementScroll(t));i1(e),this.snapshot={measured:t,layout:e,latestValues:{}}}},t.prototype.updateLayout=function(){if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var t,e=0;e<this.path.length;e++)this.path[e].updateScroll();var n=this.measure();i1(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected=rC(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(t=this.options.visualElement)||void 0===t||t.notifyLayoutMeasure(this.layout.actual,null==r?void 0:r.actual)}},t.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=i(this.instance),this.scroll=r(this.instance))},t.prototype.resetTransform=function(){if(o){var t,e=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!ij(this.projectionDelta),r=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate,i=null==r?void 0:r(this.latestValues,""),a=i!==this.prevTransformTemplateValue;e&&(n||rD(this.latestValues)||a)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}},t.prototype.measure=function(){var t=this.options.visualElement;if(!t)return rC();var e=t.measureViewportBox(),n=this.root.scroll;return n&&(rU(e.x,n.x),rU(e.y,n.y)),e},t.prototype.removeElementScroll=function(t){var e=rC();iA(e,t);for(var n=0;n<this.path.length;n++){var r=this.path[n],i=r.scroll,o=r.options,a=r.isScrollRoot;if(r!==this.root&&i&&o.layoutScroll){if(a){iA(e,t);var s=this.root.scroll;s&&(rU(e.x,-s.x),rU(e.y,-s.y))}rU(e.x,i.x),rU(e.y,i.y)}}return e},t.prototype.applyTransform=function(t,e){void 0===e&&(e=!1);var n=rC();iA(n,t);for(var r=0;r<this.path.length;r++){var i=this.path[r];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&rH(n,{x:-i.scroll.x,y:-i.scroll.y}),rD(i.latestValues)&&rH(n,i.latestValues)}return rD(this.latestValues)&&rH(n,this.latestValues),n},t.prototype.removeTransform=function(t){var e,n=rC();iA(n,t);for(var r=0;r<this.path.length;r++){var i=this.path[r];if(i.instance&&rD(i.latestValues)){rL(i.latestValues)&&i.updateSnapshot();var o=rC();iA(o,i.measure()),iV(n,i.latestValues,null===(e=i.snapshot)||void 0===e?void 0:e.layout,o)}}return rD(this.latestValues)&&iV(n,this.latestValues),n},t.prototype.setTargetDelta=function(t){this.targetDelta=t,this.root.scheduleUpdateProjection()},t.prototype.setOptions=function(t){var e;this.options=(0,u.__assign)((0,u.__assign)((0,u.__assign)({},this.options),t),{crossfade:null===(e=t.crossfade)||void 0===e||e})},t.prototype.clearMeasurements=function(){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},t.prototype.resolveTargetDelta=function(){var t,e,n,r,i=this.options,o=i.layout,a=i.layoutId;this.layout&&(o||a)&&(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=rC(),this.relativeTargetOrigin=rC(),rk(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),iA(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&((this.target||(this.target=rC(),this.targetWithTransforms=rC()),this.relativeTarget&&this.relativeTargetOrigin&&(null===(r=this.relativeParent)||void 0===r?void 0:r.target))?(t=this.target,e=this.relativeTarget,n=this.relativeParent.target,r_(t.x,e.x,n.x),r_(t.y,e.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.actual):iA(this.target,this.layout.actual),rZ(this.target,this.targetDelta)):iA(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&!!this.relativeParent.resumingFrom==!!this.resumingFrom&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=rC(),this.relativeTargetOrigin=rC(),rk(this.relativeTargetOrigin,this.target,this.relativeParent.target),iA(this.relativeTarget,this.relativeTargetOrigin)))))},t.prototype.getClosestProjectingParent=function(){if(!(!this.parent||rD(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},t.prototype.calcProjection=function(){var t,e=this.options,n=e.layout,r=e.layoutId;if(this.isTreeAnimating=!!((null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var i=this.getLead();iA(this.layoutCorrected,this.layout.actual),function(t,e,n,r){void 0===r&&(r=!1);var i,o,a,s,u=n.length;if(u){e.x=e.y=1;for(var l=0;l<u;l++)s=(a=n[l]).projectionDelta,(null===(o=null===(i=a.instance)||void 0===i?void 0:i.style)||void 0===o?void 0:o.display)!=="contents"&&(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&rH(t,{x:-a.scroll.x,y:-a.scroll.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,rZ(t,s)),r&&rD(a.latestValues)&&rH(t,a.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,!!this.resumingFrom||this!==i);var o=i.target;if(o){this.projectionDelta||(this.projectionDelta=rT(),this.projectionDeltaWithTransform=rT());var a=this.treeScale.x,s=this.treeScale.y,u=this.projectionTransform;rx(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.projectionTransform=iL(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==a||this.treeScale.y!==s)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}}},t.prototype.hide=function(){this.isVisible=!1},t.prototype.show=function(){this.isVisible=!0},t.prototype.scheduleRender=function(t){var e,n,r;void 0===t&&(t=!0),null===(n=(e=this.options).scheduleRender)||void 0===n||n.call(e),t&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},t.prototype.setAnimationOrigin=function(t,e){var n,r=this;void 0===e&&(e=!1);var i=this.snapshot,o=(null==i?void 0:i.latestValues)||{},a=(0,u.__assign)({},this.latestValues),s=rT();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!e;
1var l=rC(),c=null==i?void 0:i.isShared,d=1>=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0),f=!!(c&&!d&&!0===this.options.crossfade&&!this.path.some(iK));this.animationProgress=0,this.mixTargetDelta=function(e){var n,i,u,p=e/1e3;iG(s.x,t.x,p),iG(s.y,t.y,p),r.setTargetDelta(s),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(u=r.relativeParent)||void 0===u?void 0:u.layout)&&(rk(l,r.layout.actual,r.relativeParent.layout.actual),n=r.relativeTarget,i=r.relativeTargetOrigin,i$(n.x,i.x,l.x,p),i$(n.y,i.y,l.y,p)),c&&(r.animationValues=a,function(t,e,n,r,i,o){var a,s,u,l;i?(t.opacity=eb(0,null!==(a=n.opacity)&&void 0!==a?a:1,i_(r)),t.opacityExit=eb(null!==(s=e.opacity)&&void 0!==s?s:1,0,iw(r))):o&&(t.opacity=eb(null!==(u=e.opacity)&&void 0!==u?u:1,null!==(l=n.opacity)&&void 0!==l?l:1,r));for(var c=0;c<iy;c++){var d="border".concat(im[c],"Radius"),f=ix(e,d),p=ix(n,d);(void 0!==f||void 0!==p)&&(f||(f=0),p||(p=0),0===f||0===p||ib(f)===ib(p)?(t[d]=Math.max(eb(ig(f),ig(p),r),0),(ta.test(p)||ta.test(f))&&(t[d]+="%")):t[d]=p)}(e.rotate||n.rotate)&&(t.rotate=eb(e.rotate||0,n.rotate||0,r))}(a,o,r.latestValues,p,f,d)),r.root.scheduleUpdateProjection(),r.scheduleRender(),r.animationProgress=p},this.mixTargetDelta(0)},t.prototype.startAnimation=function(t){var e,n,r=this;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(nb.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ng.update(function(){var e,n;O.hasAnimatedSinceResize=!0,r.currentAnimation=(void 0===(e=(0,u.__assign)((0,u.__assign)({},t),{onUpdate:function(e){var n;r.mixTargetDelta(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:function(){var e;null===(e=t.onComplete)||void 0===e||e.call(t),r.completeAnimation()}}))&&(e={}),n0("",n=G(0)?0:n6(0),1e3,e),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0})},t.prototype.completeAnimation=function(){var t;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(t=this.getStack())||void 0===t||t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},t.prototype.finishAnimation=function(){var t;this.currentAnimation&&(null===(t=this.mixTargetDelta)||void 0===t||t.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},t.prototype.applyTransformsToTarget=function(){var t=this.getLead(),e=t.targetWithTransforms,n=t.target,r=t.layout,i=t.latestValues;e&&n&&r&&(iA(e,n),rH(e,i),rx(this.projectionDeltaWithTransform,this.layoutCorrected,e,i))},t.prototype.registerSharedNode=function(t,e){var n,r,i;this.sharedNodes.has(t)||this.sharedNodes.set(t,new iO),this.sharedNodes.get(t).add(e),e.promote({transition:null===(n=e.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(i=null===(r=e.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(r,e)})},t.prototype.isLead=function(){var t=this.getStack();return!t||t.lead===this},t.prototype.getLead=function(){var t;return this.options.layoutId&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this},t.prototype.getPrevLead=function(){var t;return this.options.layoutId?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0},t.prototype.getStack=function(){var t=this.options.layoutId;if(t)return this.root.sharedNodes.get(t)},t.prototype.promote=function(t){var e=void 0===t?{}:t,n=e.needsReset,r=e.transition,i=e.preserveFollowOpacity,o=this.getStack();o&&o.promote(this,i),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},t.prototype.relegate=function(){var t=this.getStack();return!!t&&t.relegate(this)},t.prototype.resetRotation=function(){var t=this.options.visualElement;if(t){for(var e=!1,n={},r=0;r<B.length;r++){var i="rotate"+B[r];t.getStaticValue(i)&&(e=!0,n[i]=t.getStaticValue(i),t.setStaticValue(i,0))}if(e){for(var i in null==t||t.syncRender(),n)t.setStaticValue(i,n[i]);t.scheduleRender()}}},t.prototype.getProjectionStyles=function(t){void 0===t&&(t={});var e,n,r,i,o,a,s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";var u=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=tI(t.pointerEvents)||"",s.transform=u?u(this.latestValues,""):"none",s;var l=this.getLead();if(!this.projectionDelta||!this.layout||!l.target){var c={};return this.options.layoutId&&(c.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,c.pointerEvents=tI(t.pointerEvents)||""),this.hasProjected&&!rD(this.latestValues)&&(c.transform=u?u({},""):"none",this.hasProjected=!1),c}var d=l.animationValues||l.latestValues;this.applyTransformsToTarget(),s.transform=iL(this.projectionDeltaWithTransform,this.treeScale,d),u&&(s.transform=u(d,s.transform));var f=this.projectionDelta,p=f.x,h=f.y;for(var v in s.transformOrigin="".concat(100*p.origin,"% ").concat(100*h.origin,"% 0"),l.animationValues?s.opacity=l===this?null!==(i=null!==(r=d.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:d.opacityExit:s.opacity=l===this?null!==(o=d.opacity)&&void 0!==o?o:"":null!==(a=d.opacityExit)&&void 0!==a?a:0,z)if(void 0!==d[v]){var m=z[v],y=m.correct,g=m.applyTo,b=y(d[v],l);if(g)for(var x=g.length,_=0;_<x;_++)s[g[_]]=b;else s[v]=b}return this.options.layoutId&&(s.pointerEvents=l===this?tI(t.pointerEvents)||"":"none"),s},t.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0}
1,t.prototype.resetTree=function(){this.root.nodes.forEach(function(t){var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(iB),this.root.sharedNodes.clear()},t}()}function iZ(t){t.updateLayout()}function iU(t){var e,n,r,i,o=null!==(n=null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)&&void 0!==n?n:t.snapshot;if(t.isLead()&&t.layout&&o&&t.hasListeners("didUpdate")){var a=t.layout,s=a.actual,u=a.measured;"size"===t.options.animationType?rj(function(t){var e=o.isShared?o.measured[t]:o.layout[t],n=ry(e);e.min=s[t].min,e.max=e.min+n}):"position"===t.options.animationType&&rj(function(t){var e=o.isShared?o.measured[t]:o.layout[t],n=ry(s[t]);e.max=e.min+n});var l=rT();rx(l,s,o.layout);var c=rT();o.isShared?rx(c,t.applyTransform(u,!0),o.measured):rx(c,s,o.layout);var d=!ij(l),f=!1;if(!t.resumeFrom&&(t.relativeParent=t.getClosestProjectingParent(),t.relativeParent&&!t.relativeParent.resumeFrom)){var p=t.relativeParent,h=p.snapshot,v=p.layout;if(h&&v){var m=rC();rk(m,o.layout,h.layout);var y=rC();rk(y,s,v.actual),iR(m,y)||(f=!0)}}t.notifyListeners("didUpdate",{layout:s,snapshot:o,delta:c,layoutDelta:l,hasLayoutChanged:d,hasRelativeTargetChanged:f})}else t.isLead()&&(null===(i=(r=t.options).onExitComplete)||void 0===i||i.call(r));t.options.transition=void 0}function iz(t){t.clearSnapshot()}function iB(t){t.clearMeasurements()}function iN(t){var e=t.options.visualElement;(null==e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notifyBeforeLayoutMeasure(),t.resetTransform()}function iH(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function iW(t){t.resolveTargetDelta()}function iY(t){t.calcProjection()}function iq(t){t.resetRotation()}function iX(t){t.removeLeadSnapshot()}function iG(t,e,n){t.translate=eb(e.translate,0,n),t.scale=eb(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function i$(t,e,n,r){t.min=eb(e.min,n.min,r),t.max=eb(e.max,n.max,r)}function iK(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}var iJ={duration:.45,ease:[.4,0,.1,1]};function iQ(t,e){for(var n=t.root,r=t.path.length-1;r>=0;r--)if(t.path[r].instance){n=t.path[r];break}var i=(n&&n!==t.root?n.instance:document).querySelector('[data-projection-id="'.concat(e,'"]'));i&&t.mount(i,!0)}function i0(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function i1(t){i0(t.x),i0(t.y)}var i2=iF({attachResizeListener:function(t,e){return tB(t,"resize",e)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),i5={current:void 0},i4=iF({measureScroll:function(t){return{x:t.scrollLeft,y:t.scrollTop}},defaultParent:function(){if(!i5.current){var t=new i2(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),i5.current=t}return i5.current},resetTransform:function(t,e){t.style.transform=null!=e?e:"none"},checkIsScrollRoot:function(t){return"fixed"===window.getComputedStyle(t).position}}),i6=(0,u.__assign)((0,u.__assign)((0,u.__assign)((0,u.__assign)({},rs),ea),rG),{measureLayout:function(t){var e=(0,u.__read)(el(),2),n=e[0],r=e[1],i=(0,l.useContext)(D);return l.createElement(ih,(0,u.__assign)({},t,{layoutGroup:i,switchLayoutGroup:(0,l.useContext)(I),isPresent:n,safeToRemove:r}))}}),i8=function(t){function e(e,n){var r,i,o,a,s,c,f;return void 0===n&&(n={}),i=(r=t(e,n)).preloadedFeatures,o=r.createVisualElement,a=r.projectionNodeConstructor,s=r.useRender,c=r.useVisualState,f=r.Component,i&&function(t){for(var e in t)null!==t[e]&&("projectionNodeConstructor"===e?p.projectionNodeConstructor=t[e]:p[e].Component=t[e])}(i),(0,l.forwardRef)(function(t,e){var n,r,P,M,T,C,Z,U,z,B,N,H,W,Y,q,X,G,$,K,J,Q,tt,te,tn,tr,ti,to,ta=(H=t.layoutId,(W=null===(N=(0,l.useContext)(D))||void 0===N?void 0:N.id)&&void 0!==H?W+"-"+H:H);t=(0,u.__assign)((0,u.__assign)({},t),{layoutId:ta});var ts=(0,l.useContext)(g),tu=null,tl=(q=(Y=function(t,e){if(V(t)){var n=t.initial,r=t.animate;return{initial:!1===n||S(n)?n:void 0,animate:S(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,l.useContext)(b))).initial,X=Y.animate,(0,l.useMemo)(function(){return{initial:q,animate:X}},[j(q),j(X)])),tc=ts.isStatic?void 0:R(function(){if(O.hasEverUpdated)return L++}),td=c(t,ts.isStatic);return!ts.isStatic&&_&&(tl.visualElement=(G=(0,u.__assign)((0,u.__assign)({},ts),t),$=o,K=(0,l.useContext)(v),J=(0,l.useContext)(b).visualElement,Q=(0,l.useContext)(x),E||function(){if(E=!0,_){if(window.matchMedia){var t=window.matchMedia("(prefers-reduced-motion)"),e=function(){return k.current=t.matches};t.addListener(e),e()}else k.current=!1}}(),tt=(0,u.__read)((0,l.useState)(k.current),1)[0],tn="never"!==(te=(0,l.useContext)(g).reducedMotion)&&("always"===te||tt),tr=(0,l.useRef)(void 0),$||($=K.renderer),!tr.current&&$&&(tr.current=$(f,{visualState:td,parent:J,props:G,presenceId:null==Q?void 0:Q.id,blockInitialAnimation:(null==Q?void 0:Q.initial)===!1,shouldReduceMotion:tn})),ti=tr.current,w(function(){null==ti||ti.syncRender()}),(0,l.useEffect)(function(){var t;null===(t=null==ti?void 0:ti.animationState)||void 0===t||t.animateChanges()}),w(function(){return function(){return null==ti?void 0:ti.notifyUnmount()}},[]),ti),n=t,r=tl.visualElement,P=a||p.projectionNodeConstructor,T=n.layoutId,C=n.layout,Z=n.drag,U=n.dragConstraints,z=n.layoutScroll,B=(0,l.useContext)(I),!P||!r||(null==r?void 0:r.projection)||(r.projection=new P(tc,r.getLatestValues(),null===(M=r.parent)||void 0===M?void 0:M.projection),r.projection.setOptions({layoutId:T,layout:C,alwaysMeasureLayout:!!Z||U&&A(U),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"==typeof C?C:"both",initialPromotionConfig:B,layoutScroll:z})),tu=function(t,e,n){var r=[],i=(0,l.useContext)(v);if(!e)return null;"production"!==d&&n&&i.strict&&(0,h.invariant)(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var o=0;o<y;o++){var a=m[o],s=p[a],c=s.isEnabled,f=s.Component;c(t)&&f&&r.push(l.createElement(f,(0,u.__assign)({key:a},t,{visualElement:e})))}return r}(t,tl.visualElement,i)),l.createElement(F,{visualElement:tl.visualElement,props:(0,u.__assign)((0,u.__assign)({},ts),t)},tu,l.createElement(b.Provider,{value:tl},s(f,t,tc,(to=tl.visualElement,(0,l.useCallback)(function(t){var n;t&&(null===(n=td.mount)||void 0===n||n.call(td,t)),to&&(t?to.mount(t):to.unmount()),e&&("function"==typeof e?e(t):A(e)&&(e.current=t))},[to])),td,ts.isStatic,tl.visualElement)))})}if("undefined"==typeof Proxy)return e;var n=new Map;return new Proxy(e,{get:function(t,r){return n.has(r)||n.set(r,e(r)),n.get(r)}})}(function(t,e){var n,r,i;return n=e.forwardMotionProps,r=U(t)?tU:tz,(0,u.__assign)((0,u.__assign)({},r),{preloadedFeatures:i6,useRender:(void 0===(i=void 0!==n&&n)&&(i=!1),function(t,e,n,r,o,a){var s=o.latestValues,c=(U(t)?function(t,e){var n=(0,l.useMemo)(function(){var n=tP();return tA(n,e,{enableHardwareAcceleration:!1},t.transformTemplate),(0,u.__assign)((0,u.__assign)({},n.attrs),{style:(0,u.__assign)({},n.style)})},[e]);if(t.style){var r={};tg(r,t.style,t),n.style=(0,u.__assign)((0,u.__assign)({},r),n.style)}return n}:function(t,e,n){var r,i,o={},a=(tg(r={},t.style||{},t),Object.assign(r,(i=t.transformTemplate,(0,l.useMemo)(function(){var t=ty();tm(t,e,{enableHardwareAcceleration:!n},i);var r=t.vars,o=t.style;return(0,u.__assign)((0,u.__assign)({},r),o)},[e]))),t.transformValues&&(r=t.transformValues(r)),r);return t.drag&&!1!==t.dragListener&&(o.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),o.style=a,o})(e,s,a),d=function(t,e,n){var r={};for(var i in t)(t_(i)||!0===n&&tx(i)||!e&&!tx(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}(e,"string"==typeof t,i),f=(0,u.__assign)((0,u.__assign)((0,u.__assign)({},d),c),{ref:r});return n&&(f["data-projection-id"]=n),(0,l.createElement)(t,f)}),createVisualElement:il,projectionNodeConstructor:i4,Component:t})})},5853:function(t,e,n){n.r(e),n.d(e,{__addDisposableResource:function(){return L},__assign:function(){return o},__asyncDelegator:function(){return A},__asyncGenerator:function(){return E},__asyncValues:function(){return P},__await:function(){return k},__awaiter:function(){return h},__classPrivateFieldGet:function(){return j},__classPrivateFieldIn:function(){return O},__classPrivateFieldSet:function(){return R},__createBinding:function(){return m},__decorate:function(){return s},__disposeResources:function(){return I},__esDecorate:function(){return l},__exportStar:function(){return y},__extends:function(){return i},__generator:function(){return v},__importDefault:function(){return C},__importStar:function(){return V}
vendor: 8,949 bytes, line 1
1,__makeTemplateObject:function(){return S},__metadata:function(){return p},__param:function(){return u},__propKey:function(){return d},__read:function(){return b},__rest:function(){return a},__rewriteRelativeImportExtension:function(){return F},__runInitializers:function(){return c},__setFunctionName:function(){return f},__spread:function(){return x},__spreadArray:function(){return w},__spreadArrays:function(){return _},__values:function(){return g}});var r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&0>e.indexOf(r)&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(t);i<r.length;i++)0>e.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]]);return n}function s(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){return function(n,r){e(n,r,t)}}function l(t,e,n,r,i,o){function a(t){if(void 0!==t&&"function"!=typeof t)throw TypeError("Function expected");return t}for(var s,u=r.kind,l="getter"===u?"get":"setter"===u?"set":"value",c=!e&&t?r.static?t:t.prototype:null,d=e||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),f=!1,p=n.length-1;p>=0;p--){var h={};for(var v in r)h[v]="access"===v?{}:r[v];for(var v in r.access)h.access[v]=r.access[v];h.addInitializer=function(t){if(f)throw TypeError("Cannot add initializers after decoration has completed");o.push(a(t||null))};var m=(0,n[p])("accessor"===u?{get:d.get,set:d.set}:d[l],h);if("accessor"===u){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=a(m.get))&&(d.get=s),(s=a(m.set))&&(d.set=s),(s=a(m.init))&&i.unshift(s)}else(s=a(m))&&("field"===u?i.unshift(s):d[l]=s)}c&&Object.defineProperty(c,r.name,d),f=!0}function c(t,e,n){for(var r=arguments.length>2,i=0;i<e.length;i++)n=r?e[i].call(t,n):e[i].call(t);return r?n:void 0}function d(t){return"symbol"==typeof t?t:"".concat(t)}function f(t,e,n){return"symbol"==typeof e&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:n?"".concat(n," ",e):e})}function p(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function h(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{u(r.next(t))}catch(t){o(t)}}function s(t){try{u(r.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(a,s)}u((r=r.apply(t,e||[])).next())})}function v(t,e){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(t,o)}catch(t){s=[6,t],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}var m=Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]};function y(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||m(e,t,n)}function g(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function x(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(b(arguments[e]));return t}function _(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function w(t,e,n){if(n||2==arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}function k(t){return this instanceof k?(this.v=t,this):new k(t)}function E(t,e,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(t){return function(e){return Promise.resolve(e).then(t,l)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(t,e){i[t]&&(r[t]=function(e){return new Promise(function(n,r){o.push([t,e,n,r])>1||s(t,e)})},e&&(r[t]=e(r[t])))}function s(t,e){try{var n;(n=i[t](e)).value instanceof k?Promise.resolve(n.value.v).then(u,l):c(o[0][2],n)}catch(t){c(o[0][3],t)}}function u(t){s("next",t)}function l(t){s("throw",t)}function c(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function A(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:k(t[r](e)),done:!1}:i?i(e):e}:i}}function P(t){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=g(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){!function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,i,(e=t[n](e)).done,e.value)})}}}function S(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var M=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e},T=function(t){return(T=Object.getOwnPropertyNames||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[e.length]=n);return e})(t)};function V(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n=T(t),r=0;r<n.length;r++)"default"!==n[r]&&m(e,t,n[r]);return M(e,t),e}function C(t){return t&&t.__esModule?t:{default:t}}function j(t,e,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!r:!e.has(t))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(t):r?r.value:e.get(t)}function R(t,e,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!i:!e.has(t))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(t,n):i?i.value=n:e.set(t,n),n}function O(t,e){if(null===e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof t?e===t:t.has(e)}function L(t,e,n){if(null!=e){var r,i;if("object"!=typeof e&&"function"!=typeof e)throw TypeError("Object expected.");
1if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}var D="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function I(t){function e(e){t.error=t.hasError?new D(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function i(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,function(t){return e(t),i()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}function F(t,e){return"string"==typeof t&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(t,n,r,i,o){return n?e?".jsx":".js":!r||i&&o?r+i+"."+o.toLowerCase()+"js":t}):t}e.default={__extends:i,__assign:o,__rest:a,__decorate:s,__param:u,__esDecorate:l,__runInitializers:c,__propKey:d,__setFunctionName:f,__metadata:p,__awaiter:h,__generator:v,__createBinding:m,__exportStar:y,__values:g,__read:b,__spread:x,__spreadArrays:_,__spreadArray:w,__await:k,__asyncGenerator:E,__asyncDelegator:A,__asyncValues:P,__makeTemplateOb
1ject:S,__importStar:V,__importDefault:C,__classPrivateFieldGet:j,__classPrivateFieldSet:R,__classPrivateFieldIn:O,__addDisposableResource:L,__disposeResources:I,__rewriteRelativeImportExtension:F}}}]);

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.