1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[315],{1976:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{bindSnapshot:function(){return o},createAsyncLocalStorage:function(){return s},createSnapshot:function(){return a}});let r=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class i{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}static bind(t){return t}}let n="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function s(){return n?new n:new i}function o(t){return n?n.bind(t):i.bind(t)}function a(){return n?n.snapshot():function(t,...e){return t(...e)}}},2784:(t,e,r)=>{"use strict";r.d(e,{h:()=>f,q:()=>c});var i=r(27578),n=r(86993);let s=new Set,o=!1,a=!1,l=!1;function u(){if(a){let t=Array.from(s).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),r=new Map;e.forEach(t=>{let e=(0,i.W9)(t);e.length&&(r.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=r.get(t);e&&e.forEach(([e,r])=>{t.getValue(e)?.set(r)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}a=!1,o=!1,s.forEach(t=>t.complete(l)),s.clear()}function h(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(a=!0)})}function c(){l=!0,h(),u(),l=!1}class f{constructor(t,e,r,i,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=r,this.motionValue=i,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(s.add(this),o||(o=!0,n.Gt.read(h),n.Gt.resolveKeyframes(u))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:r,motionValue:i}=this;if(null===t[0]){let n=i?.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(r&&e){let i=r.readValue(e,s);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=s),i&&void 0===n&&i.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),s.delete(this)}cancel(){"scheduled"===this.state&&(s.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},3363:(t,e,r)=>{"use strict";r.d(e,{V:()=>h,f:()=>p});var i=r(7050);let n=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=r(59064),o=r(38167);let a="number",l="color",u=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function h(t){let e=t.toString(),r=[],n={color:[],number:[],var:[]},s=[],o=0,h=e.replace(u,t=>(i.y.test(t)?(n.color.push(o),s.push(l),r.push(i.y.parse(t))):t.startsWith("var(")?(n.var.push(o),s.push("var"),r.push(t)):(n.number.push(o),s.push(a),r.push(parseFloat(t))),++o,"${}")).split("${}");return{values:r,split:h,indexes:n,types:s}}function c(t){return h(t).values}function f(t){let{split:e,types:r}=h(t),n=e.length;return t=>{let s="";for(let u=0;u<n;u++)if(s+=e[u],void 0!==t[u]){let e=r[u];e===a?s+=(0,o.a)(t[u]):e===l?s+=i.y.transform(t[u]):s+=t[u]}return s}}let d=t=>"number"==typeof t?0:i.y.test(t)?i.y.getAnimatableNone(t):t,p={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.S)?.length||0)+(t.match(n)?.length||0)>0},parse:c,createTransformer:f,getAnimatableNone:function(t){let e=c(t);return f(t)(e.map(d))}}},4121:(t,e,r)=>{"use strict";r.d(e,{n:()=>i});let i="data-"+(0,r(49399).I)("framerAppearId")},6005:(t,e,r)=>{"use strict";r.d(e,{u:()=>n});var i=r(40974);let n={test:(0,r(44663).$)("#"),parse:function(t){let e="",r="",i="",n="";return t.length>5?(e=t.substring(1,3),r=t.substring(3,5),i=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),r=t.substring(2,3),i=t.substring(3,4),n=t.substring(4,5),e+=e,r+=r,i+=i,n+=n),{red:parseInt(e,16),green:parseInt(r,16),blue:parseInt(i,16),alph
1a:n?parseInt(n,16)/255:1}},transform:i.B.transform}},7050:(t,e,r)=>{"use strict";r.d(e,{y:()=>o});var i=r(6005),n=r(91154),s=r(40974);let o={test:t=>s.B.test(t)||i.u.test(t)||n.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):n.V.test(t)?n.V.parse(t):i.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):n.V.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},8320:(t,e,r)=>{"use strict";r.d(e,{q:()=>i});class i{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}},8915:(t,e,r)=>{"use strict";r.d(e,{U:()=>o});var i=r(61624),n=r(60600),s=r(10489);function o(t,e){let{transitionEnd:r={},transition:o={},...a}=(0,n.K)(t,e)||{};for(let e in a={...a,...r}){var l;let r=(l=a[e],(0,s.p)(l)?l[l.length-1]||0:l);t.hasValue(e)?t.getValue(e).set(r):t.addValue(e,(0,i.OQ)(r))}}},8919:t=>{!function(){var e={675:function(t,e){"use strict";e.byteLength=function(t){var e=l(t),r=e[0],i=e[1];return(r+i)*3/4-i},e.toByteArray=function(t){var e,r,s=l(t),o=s[0],a=s[1],u=new n((o+a)*3/4-a),h=0,c=a>0?o-4:o;for(r=0;r<c;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],u[h++]=e>>16&255,u[h++]=e>>8&255,u[h++]=255&e;return 2===a&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,u[h++]=255&e),1===a&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,u[h++]=e>>8&255,u[h++]=255&e),u},e.fromByteArray=function(t){for(var e,i=t.length,n=i%3,s=[],o=0,a=i-n;o<a;o+=16383)s.push(function(t,e,i){for(var n,s=[],o=e;o<i;o+=3)n=(t[o]<<16&0xff0000)+(t[o+1]<<8&65280)+(255&t[o+2]),s.push(r[n>>18&63]+r[n>>12&63]+r[n>>6&63]+r[63&n]);return s.join("")}(t,o,o+16383>a?a:o+16383));return 1===n?s.push(r[(e=t[i-1])>>2]+r[e<<4&63]+"=="):2===n&&s.push(r[(e=(t[i-2]<<8)+t[i-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),s.join("")};for(var r=[],i=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=s.length;o<a;++o)r[o]=s[o],i[s.charCodeAt(o)]=o;function l(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var i=r===e?0:4-r%4;return[r,i]}i[45]=62,i[95]=63},72:function(t,e,r){"use strict";var i=r(675),n=r(783),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,a.prototype),e}function a(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return h(t)}return l(t,e,r)}function l(t,e,r){if("string"==typeof t){var i=t,n=e;if(("string"!=typeof n||""===n)&&(n="utf8"),!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);var s=0|d(i,n),l=o(s),u=l.write(i,n);return u!==s&&(l=l.slice(0,u)),l}if(ArrayBuffer.isView(t))return c(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(k(t,ArrayBuffer)||t&&k(t.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(k(t,SharedArrayBuffer)||t&&k(t.buffer,SharedArrayBuffer)))return function(t,e,r){var i;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(i=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),a.prototype),i}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var h=t.valueOf&&t.valueOf();if(null!=h&&h!==t)return a.from(h,e,r);var p=function(t){if(a.isBuffer(t)){var e=0|f(t.length),r=o(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?o(0):c(t):"Buffer"===t.type&&Array.isArray(t.data)?c(t.data):void 0}(t);if(p)return p;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return a.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');
vendor: 16,517 bytes, line 1
1if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function h(t){return u(t),o(t<0?0:0|f(t))}function c(t){for(var e=t.length<0?0:0|f(t.length),r=o(e),i=0;i<e;i+=1)r[i]=255&t[i];return r}e.Buffer=a,e.SlowBuffer=function(t){return+t!=t&&(t=0),a.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(t,e,r){return l(t,e,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(t,e,r){return(u(t),t<=0)?o(t):void 0!==e?"string"==typeof r?o(t).fill(e,r):o(t).fill(e):o(t)},a.allocUnsafe=function(t){return h(t)},a.allocUnsafeSlow=function(t){return h(t)};function f(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function d(t,e){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||k(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return T(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return M(t).length;default:if(n)return i?-1:T(t).length;e=(""+e).toLowerCase(),n=!0}}function p(t,e,r){var n,s,o,a=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var i=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>i)&&(r=i);for(var n="",s=e;s<r;++s)n+=O[t[s]];return n}(this,e,r);case"utf8":case"utf-8":return y(this,e,r);case"ascii":return function(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(127&t[n]);return i}(this,e,r);case"latin1":case"binary":return function(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(t[n]);return i}(this,e,r);case"base64":return n=this,s=e,o=r,0===s&&o===n.length?i.fromByteArray(n):i.fromByteArray(n.slice(s,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var i=t.slice(e,r),n="",s=0;s<i.length;s+=2)n+=String.fromCharCode(i[s]+256*i[s+1]);return n}(this,e,r);default:if(a)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}function m(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function g(t,e,r,i,n){var s;if(0===t.length)return -1;if("string"==typeof r?(i=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(s=r*=1)!=s&&(r=n?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(n)return -1;else r=t.length-1;else if(r<0)if(!n)return -1;else r=0;if("string"==typeof e&&(e=a.from(e,i)),a.isBuffer(e))return 0===e.length?-1:v(t,e,r,i,n);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(n)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return v(t,[e],r,i,n)}throw TypeError("val must be string, number or Buffer")}function v(t,e,r,i,n){var s,o=1,a=t.length,l=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return -1;o=2,a/=2,l/=2,r/=2}function u(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(n){var h=-1;for(s=r;s<a;s++)if(u(t,s)===u(e,-1===h?0:s-h)){if(-1===h&&(h=s),s-h+1===l)return h*o}else -1!==h&&(s-=s-h),h=-1}else for(r+l>a&&(r=a-l),s=r;s>=0;s--){for(var c=!0,f=0;f<l;f++)if(u(t,s+f)!==u(e,f)){c=!1;break}if(c)return s}return -1}a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,e){if(k(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),k(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(t)||!a.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,i=e.length,n=0,s=Math.min(r,i);n<s;++n)if(t[n]!==e[n]){r=t[n],i=e[n];break}return r<i?-1:+(i<r)},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,i=a.allocUnsafe(e),n=0;for(r=0;r<t.length;++r){var s=t[r];if(k(s,Uint8Array)&&(s=a.from(s)),!a.isBuffer(s))throw TypeError('"list" argument must be an Array of Buffers');s.copy(i,n),n+=s.length}return i},a.byteLength=d,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},a.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?y(this,0,t):p.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(t){if(!a.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},s&&(a.prototype[s]=a.prototype.inspect),a.prototype.compare=function(t,e,r,i,n){if(k(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===i&&(i=0),void 0===n&&(n=this.length),e<0||r>t.length||i<0||n>this.length)throw RangeError("out of range index");if(i>=n&&e>=r)return 0;if(i>=n)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,i>>>=0,n>>>=0,this===t)return 0;for(var s=n-i,o=r-e,l=Math.min(s,o),u=this.slice(i,n),h=t.slice(e,r),c=0;c<l;++c)if(u[c]!==h[c]){s=u[c],o=h[c];break}return s<o?-1:+(o<s)},a.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},a.prototype.indexOf=function(t,e,r){return g(this,t,e,r,!0)},a.prototype.lastIndexOf=function(t,e,r){return g(this,t,e,r,!1)};function y(t,e,r){r=Math.min(t.length,r);for(var i=[],n=e;n<r;){var s,o,a,l,u=t[n],h=null,c=u>239?4:u>223?3:u>191?2:1;if(n+c<=r)switch(c){case 1:u<128&&(h=u);break;case 2:(192&(s=t[n+1]))==128&&(l=(31&u)<<6|63&s)>127&&(h=l);break;case 3:s=t[n+1],o=t[n+2],(192&s)==128&&(192&o)==128&&(l=(15&u)<<12|(63&s)<<6|63&o)>2047&&(l<55296||l>57343)&&(h=l);break;case 4:s=t[n+1],o=t[n+2],a=t[n+3],(192&s)==128&&(192&o)==128&&(192&a)==128&&(l=(15&u)<<18|(63&s)<<12|(63&o)<<6|63&a)>65535&&l<1114112&&(h=l)}null===h?(h=65533,c=1):h>65535&&(h-=65536,i.push(h>>>10&1023|55296),h=56320|1023&h),i.push(h),n+=c}var f=i,d=f.length;if(d<=4096)return String.fromCharCode.apply(String,f);for(var p="",m=0;m<d;)p+=String.fromCharCode.apply(String,f.slice(m,m+=4096));return p}function x(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function b(t,e,r,i,n,s){if(!a.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<s)throw RangeError('"value" argument is out of bounds');if(r+i>t.length)throw RangeError("Index out of range")}function w(t,e,r,i,n,s){if(r+i>t.length||r<0)throw RangeError("Index out of range")}function P(t,e,r,i,s){return e*=1,r>>>=0,s||w(t,e,r,4,34028234663852886e22,-34028234663852886e22),n.write(t,e,r,i,23,4),r+4}function S(t,e,r,i,s){return e*=1,r>>>=0,s||w(t,e,r,8,17976931348623157e292,-17976931348623157e292),n.write(t,e,r,i,52,8),r+8}a.prototype.write=function(t,e,r,i){if(void 0===e)i="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)i=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===i&&(i="utf8")):(i=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var n,s,o,a,l,u,h,c,f=this.length-e;if((void 0===r||r>f)&&(r=f),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var d=!1;;)switch(i){case"hex":return function(t,e,r,i){r=Number(r)||0;var n=t.length-r;i?(i=Number(i))>n&&(i=n):i=n;var s=e.length;i>s/2&&(i=s/2);for(var o=0;o<i;++o){var a,l=parseInt(e.substr(2*o,2),16);if((a=l)!=a)break;t[r+o]=l}return o}(this,t,e,r);case"utf8":case"utf-8":return n=e,s=r,C(T(t,this.length-n),this,n,s);case"ascii":return o=e,a=r,C(A(t),this,o,a);case"latin1":case"binary":return function(t,e,r,i){return C(A(e),t,r,i)}(this,t,e,r);case"base64":return l=e,u=r,C(M(t),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h=e,c=r,C(function(t,e){for(var r,i,n=[],s=0;s<t.length&&!((e-=2)<0);++s)i=(r=t.charCodeAt(s))>>8,n.push(r%256),n.push(i);return n}(t,this.length-h),this,h,c);default:if(d)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),d=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var i=this.subarray(t,e);return Object.setPrototypeOf(i,a.prototype),i},a.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||x(t,e,this.length);for(var i=this[t],n=1,s=0;++s<e&&(n*=256);)i+=this[t+s]*n;return i},a.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||x(t,e,this.length);for(var i=this[t+--e],n=1;e>0&&(n*=256);)i+=this[t+--e]*n;return i},a.prototype.readUInt8=function(t,e){return t>>>=0,e||x(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return t>>>=0,e||x(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return t>>>=0,e||x(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return t>>>=0,e||x(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},a.prototype.readUInt32BE=function(t,e){return t>>>=0,e||x(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||x(t,e,this.length);for(var i=this[t],n=1,s=0;++s<e&&(n*=256);)i+=this[t+s]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*e)),i},a.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||x(t,e,this.length);for(var i=e,n=1,s=this[t+--i];i>0&&(n*=256);)s+=this[t+--i]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*e)),s},a.prototype.readInt8=function(t,e){return(t>>>=0,e||x(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},a.prototype.readInt16LE=function(t,e){t>>>=0,e||x(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt16BE=function(t,e){t>>>=0,e||x(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt32LE=function(t,e){return t>>>=0,e||x(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return t>>>=0,e||x(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return t>>>=0,e||x(t,4,this.length),n.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return t>>>=0,e||x(t,4,this.length),n.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return t>>>=0,e||x(t,8,this.length),n.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return t>>>=0,e||x(t,8,this.length),n.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,r,i){if(t*=1,e>>>=0,r>>>=0,!i){var n=Math.pow(2,8*r)-1;b(this,t,e,r,n,0)}var s=1,o=0;for(this[e]=255&t;++o<r&&(s*=256);)this[e+o]=t/s&255;return e+r},a.prototype.writeUIntBE=function(t,e,r,i){if(t*=1,e>>>=0,r>>>=0,!i){var n=Math.pow(2,8*r)-1;b(this,t,e,r,n,0)}var s=r-1,o=1;for(this[e+s]=255&t;--s>=0&&(o*=256);)this[e+s]=t/o&255;return e+r},a.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,1,255,0),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},a.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeIntLE=function(t,e,r,i){if(t*=1,e>>>=0,!i){var n=Math.pow(2,8*r-1);b(this,t,e,r,n-1,-n)}var s=0,o=1,a=0;for(this[e]=255&t;++s<r&&(o*=256);)t<0&&0===a&&0!==this[e+s-1]&&(a=1),this[e+s]=(t/o|0)-a&255;return e+r},a.prototype.writeIntBE=function(t,e,r,i){if(t*=1,e>>>=0,!i){var n=Math.pow(2,8*r-1);b(this,t,e,r,n-1,-n)}var s=r-1,o=1,a=0;for(this[e+s]=255&t;--s>=0&&(o*=256);)t<0&&0===a&&0!==this[e+s+1]&&(a=1),this[e+s]=(t/o|0)-a&255;return e+r},a.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},a.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeFloatLE=function(t,e,r){return P(this,t,e,!0,r)},a.prototype.writeFloatBE=function(t,e,r){return P(this,t,e,!1,r)},a.prototype.writeDoubleLE=function(t,e,r){return S(this,t,e,!0,r)},a.prototype.writeDoubleBE=function(t,e,r){return S(this,t,e,!1,r)},a.prototype.copy=function(t,e,r,i){if(!a.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<r&&(i=r),i===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(i<0)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-r&&(i=t.length-e+r);var n=i-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,i);else if(this===t&&r<e&&e<i)for(var s=n-1;s>=0;--s)t[s+e]=this[s+r];else Uint8Array.prototype.set.call(t,this.subarray(r,i),e);return n},a.prototype.fill=function(t,e,r,i){if("string"==typeof t){if("string"==typeof e?(i=e,e=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),void 0!==i&&"string"!=typeof i)throw TypeError("encoding must be a string");if("string"==typeof i&&!a.isEncoding(i))throw TypeError("Unknown encoding: "+i);if(1===t.length){var n,s=t.charCodeAt(0);("utf8"===i&&s<128||"latin1"===i)&&(t=s)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(n=e;n<r;++n)this[n]=t;else{var o=a.isBuffer(t)?t:a.from(t,i),l=o.length;
1if(0===l)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(n=0;n<r-e;++n)this[n+e]=o[n%l]}return this};var E=/[^+/0-9A-Za-z-_]/g;function T(t,e){e=e||1/0;for(var r,i=t.length,n=null,s=[],o=0;o<i;++o){if((r=t.charCodeAt(o))>55295&&r<57344){if(!n){if(r>56319||o+1===i){(e-=3)>-1&&s.push(239,191,189);continue}n=r;continue}if(r<56320){(e-=3)>-1&&s.push(239,191,189),n=r;continue}r=(n-55296<<10|r-56320)+65536}else n&&(e-=3)>-1&&s.push(239,191,189);if(n=null,r<128){if((e-=1)<0)break;s.push(r)}else if(r<2048){if((e-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return s}function A(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function M(t){return i.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(E,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function C(t,e,r,i){for(var n=0;n<i&&!(n+r>=e.length)&&!(n>=t.length);++n)e[n+r]=t[n];return n}function k(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var O=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var i=16*r,n=0;n<16;++n)e[i+n]=t[r]+t[n];return e}()},783:function(t,e){e.read=function(t,e,r,i,n){var s,o,a=8*n-i-1,l=(1<<a)-1,u=l>>1,h=-7,c=r?n-1:0,f=r?-1:1,d=t[e+c];for(c+=f,s=d&(1<<-h)-1,d>>=-h,h+=a;h>0;s=256*s+t[e+c],c+=f,h-=8);for(o=s&(1<<-h)-1,s>>=-h,h+=i;h>0;o=256*o+t[e+c],c+=f,h-=8);if(0===s)s=1-u;else{if(s===l)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,i),s-=u}return(d?-1:1)*o*Math.pow(2,s-i)},e.write=function(t,e,r,i,n,s){var o,a,l,u=8*s-n-1,h=(1<<u)-1,c=h>>1,f=5960464477539062e-23*(23===n),d=i?0:s-1,p=i?1:-1,m=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(a=+!!isNaN(e),o=h):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+c>=1?e+=f/l:e+=f*Math.pow(2,1-c),e*l>=2&&(o++,l/=2),o+c>=h?(a=0,o=h):o+c>=1?(a=(e*l-1)*Math.pow(2,n),o+=c):(a=e*Math.pow(2,c-1)*Math.pow(2,n),o=0));n>=8;t[r+d]=255&a,d+=p,a/=256,n-=8);for(o=o<<n|a,u+=n;u>0;t[r+d]=255&o,d+=p,o/=256,u-=8);t[r+d-p]|=128*m}}},r={};function i(t){var n=r[t];if(void 0!==n)return n.exports;var s=r[t]={exports:{}},o=!0;try{e[t](s,s.exports,i),o=!1}finally{o&&delete r[t]}return s.exports}i.ab="//",t.exports=i(72)}()},9943:(t,e,r)=>{"use strict";r.d(e,{M:()=>n});var i=r(1521);function n(t){let e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}},10489:(t,e,r)=>{"use strict";r.d(e,{p:()=>i});let i=t=>Array.isArray(t)},11424:(t,e,r)=>{"use strict";r.d(e,{v:()=>n});var i=r(96062);class n{constructor(){this.subscriptions=[]}add(t){return(0,i.Kq)(this.subscriptions,t),()=>(0,i.Ai)(this.subscriptions,t)}notify(t,e,r){let i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,r);else for(let n=0;n<i;n++){let i=this.subscriptions[n];i&&i(t,e,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},16357:(t,e,r)=>{"use strict";r.d(e,{W:()=>i});let i={}},20381:(t,e,r)=>{"use strict";r.d(e,{l:()=>i});let i=t=>t},21954:(t,e,r)=>{"use strict";r.d(e,{g:()=>s});var i=r(16357),n=r(81425);function s(t,e){let r=t.getValue("willChange");if((0,n.S)(r)&&r.add)return r.add(e);if(!r&&i.W.WillChange){let r=new i.W.WillChange("auto");t.addValue("willChange",r),r.add(e)}}},23395:(t,e,r)=>{"use strict";r.d(e,{$:()=>i});let i=new Set(["width","height","top","left","right","bottom",...r(53716).U])},24700:(t,e,r)=>{"use strict";function i(t){let e=[{},{}];return t?.values.forEach((t,r)=>{e[0][r]=t.get(),e[1][r]=t.getVelocity()}),e}function n(t,e,r,n){if("function"==typeof e){let[s,o]=i(n);e=e(void 0!==r?r:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,o]=i(n);e=e(void 0!==r?r:t.custom,s,o)}return e}r.d(e,{a:()=>n})},26599:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});let i=r(12563)._(r(51343));function n(t,e){var r;let n={};"function"==typeof t&&(n.loader=t);let s={...n,...e};
1return(0,i.default)({...s,modules:null==(r=s.loadableGenerated)?void 0:r.modules})}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},27578:(t,e,r)=>{"use strict";r.d(e,{E4:()=>a,Hr:()=>c,W9:()=>h});var i=r(95214),n=r(53716),s=r(87113),o=r(43868);let a=t=>t===s.ai||t===o.px,l=new Set(["x","y","z"]),u=n.U.filter(t=>!l.has(t));function h(t){let e=[];return u.forEach(r=>{let i=t.getValue(r);void 0!==i&&(e.push([r,i.get()]),i.set(+!!r.startsWith("scale")))}),e}let c={width:({x:t},{paddingLeft:e="0",paddingRight:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),height:({y:t},{paddingTop:e="0",paddingBottom:r="0"})=>t.max-t.min-parseFloat(e)-parseFloat(r),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>(0,i.ry)(e,"x"),y:(t,{transform:e})=>(0,i.ry)(e,"y")};c.translateX=c.x,c.translateY=c.y},29717:(t,e,r)=>{"use strict";var i=r(21505);r.o(i,"usePathname")&&r.d(e,{usePathname:function(){return i.usePathname}}),r.o(i,"useRouter")&&r.d(e,{useRouter:function(){return i.useRouter}})},30396:(t,e,r)=>{"use strict";r.d(e,{X:()=>n});let i=t=>null!==t;function n(t,{repeat:e,repeatType:r="loop"},s,o=1){let a=t.filter(i),l=o<0||e&&"loop"!==r&&e%2==1?0:a.length-1;return l&&void 0!==s?s:a[l]}},31958:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{VALID_LOADERS:function(){return r},imageConfigDefault:function(){return i}});let r=["default","imgix","cloudinary","akamai","custom"],i={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumResponseBody:5e7,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},32796:(t,e,r)=>{"use strict";r.d(e,{q:()=>i});let i=(t,e,r)=>r>e?e:r<t?t:r},33507:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RouterContext",{enumerable:!0,get:function(){return i}});let i=r(12563)._(r(1521)).default.createContext(null)},33591:(t,e,r)=>{"use strict";r.d(e,{I:()=>o});var i=r(16357);let n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var s=r(78754);function o(t,e){let r=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>r=!0,u=n.reduce((t,r)=>(t[r]=function(t,e){let r=new Set,i=new Set,n=!1,o=!1,a=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(e){a.has(e)&&(c.schedule(e),t()),u++,e(l)}let c={schedule:(t,e=!1,s=!1)=>{let o=s&&n?r:i;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{i.delete(t),a.delete(t)},process:t=>{if(l=t,n){o=!0;return}n=!0,[r,i]=[i,r],r.forEach(h),e&&s.Q.value&&s.Q.value.frameloop[e].push(u),u=0,r.clear(),n=!1,o&&(o=!1,c.process(t))}};return c}(l,e?r:void 0),t),{}),{setup:h,read:c,resolveKeyframes:f,preUpdate:d,update:p,preRender:m,render:g,postRender:v}=u,y=()=>{let n=i.W.useManualTiming?a.timestamp:performance.now();r=!1,i.W.useManualTiming||(a.delta=o?1e3/60:Math.max(Math.min(n-a.timestamp,40),1)),a.timestamp=n,a.isProcessing=!0,h.process(a),c.process(a),f.process(a),d.process(a),p.process(a),m.process(a),g.process(a),v.process(a),a.isProcessing=!1,r&&e&&(o=!1,t(y))};return{schedule:n.reduce((e,i)=>{let n=u[i];return e[i]=(e,i=!1,s=!1)=>(!r&&(r=!0,o=!0,a.isProcessing||t(y)),n.schedule(e,i,s)),e},{}),cancel:t=>{for(let e=0;e<n.length;e++)u[n[e]].cancel(t)},state:a,steps:u}}},33950:(t,e,r)=>{"use strict";r.d(e,{po:()=>s,tn:()=>a,yT:()=>o});var i=r(45779),n=r(55638);let s=t=>1-Math.sin(Math.acos(t)),o=(0,n.G)(s),a=(0,i.V)(s)},38058:(t,e)=>{"use strict";function r(t){let{widthInt:e,heightInt:r,blurWidth:i,blurHeight:n,blurDataURL:s,objectFit:o}=t,a=i?40*i:e,l=n?40*n:r,u=a&&l?"viewBox='0 0 "+a+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3Cfe
1ColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+s+"'/%3E%3C/svg%3E"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},38137:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Image",{enumerable:!0,get:function(){return b}});let i=r(12563),n=r(21512),s=r(73365),o=n._(r(1521)),a=i._(r(98196)),l=i._(r(98178)),u=r(53441),h=r(31958),c=r(92642);r(30208);let f=r(33507),d=i._(r(93635)),p=r(80160),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!1};function g(t,e,r,i,n,s,o){let a=null==t?void 0:t.src;t&&t["data-loaded-src"]!==a&&(t["data-loaded-src"]=a,("decode"in t?t.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(t.parentElement&&t.isConnected){if("empty"!==e&&n(!0),null==r?void 0:r.current){let e=new Event("load");Object.defineProperty(e,"target",{writable:!1,value:t});let i=!1,n=!1;r.current({...e,nativeEvent:e,currentTarget:t,target:t,isDefaultPrevented:()=>i,isPropagationStopped:()=>n,persist:()=>{},preventDefault:()=>{i=!0,e.preventDefault()},stopPropagation:()=>{n=!0,e.stopPropagation()}})}(null==i?void 0:i.current)&&i.current(t)}}))}function v(t){return o.use?{fetchPriority:t}:{fetchpriority:t}}let y=(0,o.forwardRef)((t,e)=>{let{src:r,srcSet:i,sizes:n,height:a,width:l,decoding:u,className:h,style:c,fetchPriority:f,placeholder:d,loading:m,unoptimized:y,fill:x,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:P,setShowAltText:S,sizesInput:E,onLoad:T,onError:A,...M}=t,C=(0,o.useCallback)(t=>{t&&(A&&(t.src=t.src),t.complete&&g(t,d,b,w,P,y,E))},[r,d,b,w,P,A,y,E]),k=(0,p.useMergedRef)(e,C);return(0,s.jsx)("img",{...M,...v(f),loading:m,width:l,height:a,decoding:u,"data-nimg":x?"fill":"1",className:h,style:c,sizes:n,srcSet:i,src:r,ref:k,onLoad:t=>{g(t.currentTarget,d,b,w,P,y,E)},onError:t=>{S(!0),"empty"!==d&&P(!0),A&&A(t)}})});function x(t){let{isAppRouter:e,imgAttributes:r}=t,i={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...v(r.fetchPriority)};return e&&a.default.preload?(a.default.preload(r.src,i),null):(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...i},"__nimg-"+r.src+r.srcSet+r.sizes)})}let b=(0,o.forwardRef)((t,e)=>{let r=(0,o.useContext)(f.RouterContext),i=(0,o.useContext)(c.ImageConfigContext),n=(0,o.useMemo)(()=>{var t;let e=m||i||h.imageConfigDefault,r=[...e.deviceSizes,...e.imageSizes].sort((t,e)=>t-e),n=e.deviceSizes.sort((t,e)=>t-e),s=null==(t=e.qualities)?void 0:t.sort((t,e)=>t-e);return{...e,allSizes:r,deviceSizes:n,qualities:s}},[i]),{onLoad:a,onLoadingComplete:l}=t,p=(0,o.useRef)(a);(0,o.useEffect)(()=>{p.current=a},[a]);let g=(0,o.useRef)(l);(0,o.useEffect)(()=>{g.current=l},[l]);let[v,b]=(0,o.useState)(!1),[w,P]=(0,o.useState)(!1),{props:S,meta:E}=(0,u.getImgProps)(t,{defaultLoader:d.default,imgConf:n,blurComplete:v,showAltText:w});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(y,{...S,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:p,onLoadingCompleteRef:g,setBlurComplete:b,setShowAltText:P,sizesInput:t.sizes,ref:e}),E.priority?(0,s.jsx)(x,{isAppRouter:!r,imgAttributes:S}):null]})});("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},38167:(t,e,r)=>{"use strict";r.d(e,{a:()=>i});let i=t=>Math.round(1e5*t)/1e5},38372:(t,e,r)=>{"use strict";function i(t){let{reason:e,children:r}=t;return r}
1Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BailoutToCSR",{enumerable:!0,get:function(){return i}}),r(24104)},40303:(t,e,r)=>{"use strict";let i;r.d(e,{k:()=>a});var n=r(16357),s=r(86993);function o(){i=void 0}let a={now:()=>(void 0===i&&a.set(s.uv.isProcessing||n.W.useManualTiming?s.uv.timestamp:performance.now()),i),set:t=>{i=t,queueMicrotask(o)}}},40974:(t,e,r)=>{"use strict";r.d(e,{B:()=>l});var i=r(32796),n=r(87113),s=r(38167),o=r(44663);let a={...n.ai,transform:t=>Math.round((0,i.q)(0,255,t))},l={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:r,alpha:i=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(r)+", "+(0,s.a)(n.X4.transform(i))+")"}},41983:(t,e,r)=>{"use strict";r.d(e,{D:()=>i});let i=t=>Array.isArray(t)&&"number"==typeof t[0]},43868:(t,e,r)=>{"use strict";r.d(e,{KN:()=>s,gQ:()=>u,px:()=>o,uj:()=>n,vh:()=>a,vw:()=>l});let i=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),n=i("deg"),s=i("%"),o=i("px"),a=i("vh"),l=i("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},44663:(t,e,r)=>{"use strict";r.d(e,{$:()=>s,q:()=>o});var i=r(59064);let n=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>r=>!!("string"==typeof r&&n.test(r)&&r.startsWith(t)||e&&null!=r&&Object.prototype.hasOwnProperty.call(r,e)),o=(t,e,r)=>n=>{if("string"!=typeof n)return n;let[s,o,a,l]=n.match(i.S);return{[t]:parseFloat(s),[e]:parseFloat(o),[r]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},45779:(t,e,r)=>{"use strict";r.d(e,{V:()=>i});let i=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},47795:(t,e,r)=>{"use strict";r.d(e,{r:()=>n});var i=r(81999);function n(t,e){let r=t?.[e]??t?.default??t;return r!==t?(0,i.K)(r,t):r}},48495:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{default:function(){return l},getImageProps:function(){return a}});let i=r(12563),n=r(53441),s=r(38137),o=i._(r(93635));function a(t){let{props:e}=(0,n.getImgProps)(t,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!0,unoptimized:!1}});for(let[t,r]of Object.entries(e))void 0===r&&delete e[t];return{props:e}}let l=s.Image},48592:(t,e,r)=>{"use strict";r.d(e,{k:()=>i});let i=(t,e,r)=>t+(e-t)*r},48738:(t,e,r)=>{"use strict";r.d(e,{B:()=>i});let i="undefined"!=typeof window},48846:(t,e,r)=>{"use strict";r.d(e,{q:()=>i});let i={layout:0,mainThread:0,waapi:0}},49399:(t,e,r)=>{"use strict";function i(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}r.d(e,{I:()=>i})},51343:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return l}});let i=r(73365),n=r(1521),s=r(38372);function o(t){return{default:t&&"default"in t?t.default:t}}r(52393);let a={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},l=function(t){let e={...a,...t},r=(0,n.lazy)(()=>e.loader().then(o)),l=e.loading;function u(t){let o=l?(0,i.jsx)(l,{isLoading:!0,pastDelay:!0,error:null}):null,a=!e.ssr||!!e.loading,u=a?n.Suspense:n.Fragment,h=e.ssr?(0,i.jsxs)(i.Fragment,{children:[null,(0,i.jsx)(r,{...t})]}):(0,i.jsx)(s.BailoutToCSR,{reason:"next/dynamic",children:(0,i.jsx)(r,{...t})});return(0,i.jsx)(u,{...a?{fallback:o}:{},children:h})}return u.displayName="LoadableComponent",u}},52393:(t,e,r)=>{"use strict";function i(t){let{moduleIds:e}=t;return null}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"PreloadChunks",{enumerable:!0,get:function(){return i}}),r(73365),r(98196),r(89442),r(91319)},53441:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImgProps",{enumerable:!0,get:function(){return l}}),r(30208);let i=r(38058),n=r(31958),s=["-moz-initial","fill","none","scale-down",void 0];function o(t){return void 0!==t.default}function a(t){return void 0===t?t:"number"==typeof t?Number.isFinite(t)?t:NaN:"string"==typeof t&&/^[0-9]+$/.test(t)?parseInt(t,10):NaN}function l(t,e){var r,l;let u,h,c,{src:f,sizes:d,unoptimized:p=!1,priority:m=!1,loading:g,className:v,quality:y,width:x,height:b,fill:w=!1,style:P,overrideSrc:S,onLoad:E,onLoadingComplete:T,placeholder:A="empty",blurDataURL:M,fetchPriority:C,decoding:k="async",layout:O,objectFit:_,objectPosition:R,lazyBoundary:D,lazyRoot:V,...B}=t,{imgConf:j,showAltText:L,blurComplete:I,defaultLoader:F}=e,U=j||n.imageConfigDefault;if("allSizes"in U)u=U;else{let t=[...U.deviceSizes,...U.imageSizes].sort((t,e)=>t-e),e=U.deviceSizes.sort((t,e)=>t-e),i=null==(r=U.qualities)?void 0:r.sort((t,e)=>t-e);u={...U,allSizes:t,deviceSizes:e,qualities:i}}if(void 0===F)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,
1configurable:!0});let z=B.loader||F;delete B.loader,delete B.srcSet;let N="__next_img_default"in z;if(N){if("custom"===u.loader)throw Object.defineProperty(Error('Image with src "'+f+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let t=z;z=e=>{let{config:r,...i}=e;return t(i)}}if(O){"fill"===O&&(w=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[O];t&&(P={...P,...t});let e={responsive:"100vw",fill:"100vw"}[O];e&&!d&&(d=e)}let W="",X=a(x),Y=a(b);if((l=f)&&"object"==typeof l&&(o(l)||void 0!==l.src)){let t=o(f)?f.default:f;if(!t.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(t)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(t)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(h=t.blurWidth,c=t.blurHeight,M=M||t.blurDataURL,W=t.src,!w)if(X||Y){if(X&&!Y){let e=X/t.width;Y=Math.round(t.height*e)}else if(!X&&Y){let e=Y/t.height;X=Math.round(t.width*e)}}else X=t.width,Y=t.height}let q=!m&&("lazy"===g||void 0===g);(!(f="string"==typeof f?f:W)||f.startsWith("data:")||f.startsWith("blob:"))&&(p=!0,q=!1),u.unoptimized&&(p=!0),N&&!u.dangerouslyAllowSVG&&f.split("?",1)[0].endsWith(".svg")&&(p=!0);let G=a(y),$=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:_,objectPosition:R}:{},L?{}:{color:"transparent"},P),H=I||"empty"===A?null:"blur"===A?'url("data:image/svg+xml;charset=utf-8,'+(0,i.getImageBlurSvg)({widthInt:X,heightInt:Y,blurWidth:h,blurHeight:c,blurDataURL:M||"",objectFit:$.objectFit})+'")':'url("'+A+'")',K=s.includes($.objectFit)?"fill"===$.objectFit?"100% 100%":"cover":$.objectFit,Q=H?{backgroundSize:K,backgroundPosition:$.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:H}:{},Z=function(t){let{config:e,src:r,unoptimized:i,width:n,quality:s,sizes:o,loader:a}=t;if(i)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(t,e,r){let{deviceSizes:i,allSizes:n}=t;if(r){let t=/(^|\s)(1?\d?\d)vw/g,e=[];for(let i;i=t.exec(r);)e.push(parseInt(i[2]));if(e.length){let t=.01*Math.min(...e);return{widths:n.filter(e=>e>=i[0]*t),kind:"w"}}return{widths:n,kind:"w"}}return"number"!=typeof e?{widths:i,kind:"w"}:{widths:[...new Set([e,2*e].map(t=>n.find(e=>e>=t)||n[n.length-1]))],kind:"x"}}(e,n,o),h=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((t,i)=>a({config:e,src:r,quality:s,width:t})+" "+("w"===u?t:i+1)+u).join(", "),src:a({config:e,src:r,quality:s,width:l[h]})}}({config:u,src:f,unoptimized:p,width:X,quality:G,sizes:d,loader:z});return{props:{...B,loading:q?"lazy":g,fetchPriority:C,width:X,height:Y,decoding:k,className:v,style:{...$,...Q},sizes:Z.sizes,srcSet:Z.srcSet,src:S||Z.src},meta:{unoptimized:p,priority:m,placeholder:A,fill:w}}}},53716:(t,e,r)=>{"use strict";r.d(e,{U:()=>i,f:()=>n});let i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],n=new Set(i)},54655:(t,e,r)=>{"use strict";r.d(e,{K:()=>i});let i=(t,e,r=10)=>{let i="",n=Math.max(Math.round(e/r),2);for(let e=0;e<n;e++)i+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${i.substring(0,i.length-2)})`}},55638:(t,e,r)=>{"use strict";r.d(e,{G:()=>i});let i=t=>e=>1-t(1-e)},58872:(t,e,r)=>{"use strict";r.d(e,{default:()=>n.a});var i=r(48495),n=r.n(i)},59064:(t,e,r)=>{"use strict";r.d(e,{S:()=>i});let i=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},60456:(t,e,r)=>{"use strict";r.d(e,{E:()=>n});var i=r(1521);let n=r(48738).B?i.useLayoutEffect:i.useEffect},60600:(t,e,r)=>{"use strict";r.d(e,{K:()=>n});var i=r(24700);function n(t,e,r){let n=t.getProps();return(0,i.a)(n,e,void 0!==r?r:n.custom,t)}},61624:(t,e,r)=>{"use strict";r.d(e,{OQ:()=>u});var i=r(11424),n=r(91461),s=r(40303),o=r(86993);let a={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.k.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new i.v);let r=this.events[t].add(e);return"change"===t?()=>{r(),o.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,r){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,n.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new l(t,e)}},62036:(t,e,r)=>{"use strict";r.d(e,{m:()=>x});var i=r(99296),n=r(69377),s=r(20381),o=r(99007);let a=(0,o.p)(()=>void 0!==window.ScrollTimeline);var l=r(30396),u=r(8320),h=r(48846),c=r(78754),f=r(41983);let d={},p=function(t,e){let r=(0,o.p)(t);return()=>d[e]??r()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var m=r(54655);let g=([t,e,r,i])=>`cubic-bezier(${t}, ${e}, ${r}, ${i})`,v={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:g([0,.65,.55,1]),circOut:g([.55,0,1,.45]),backIn:g([.31,.01,.66,-.59]),backOut:g([.33,1.53,.69,.99])};var y=r(64590);class x extends u.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:e,name:r,keyframes:n,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:a,onComplete:u}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,(0,i.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let d=function({type:t,...e}){return(0,y.W)(t)&&p()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,r,{delay:i=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let d={[e]:r};l&&(d.offset=l);let y=function t(e,r){if(e)return"function"==typeof e?p()?(0,m.K)(e,r):"ease-out":(0,f.D)(e)?g(e):Array.isArray(e)?e.map(e=>t(e,r)||v.easeOut):v[e]}(a,n);Array.isArray(y)&&(d.easing=y),c.Q.value&&h.q.waapi++;let x={delay:i,duration:n,easing:Array.isArray(y)?"linear":y,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(x.pseudoElement=u);let b=t.animate(d,x);return c.Q.value&&b.finished.finally(()=>{h.q.waapi--}),b}(e,r,n,d,s),!1===d.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=(0,l.X)(n,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,r){e.startsWith("--")?t.style.setProperty(e,r):t.style[e]=r}(e,r,t),this.animation.cancel()}u?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,n.X)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,n.X)(t)}get time(){return(0,n.X)(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,n.f)(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&a())?(this.animation.timeline=t,s.l):e(this)}}},63775:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});let i=r(1521),n=i.useLayoutEffect,s=i.useEffect;function o(t){let{headManager:e,reduceComponentsToState:r}=t;function o(){if(e&&e.mountedInstances){let n=i.Children.toArray(Array.from(e.mountedInstances).filter(Boolean));e.updateHead(r(n,t))}}return n(()=>{var r;return null==e||null==(r=e.mountedInstances)||r.add(t.children),()=>{var r;null==e||null==(r=e.mountedInstances)||r.delete(t.children)}}),n(()=>(e&&(e._pendingUpdate=o),()=>{e&&(e._pendingUpdate=o)})),s(()=>(e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null),()=>{e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null)})),null}},64590:(t,e,r)=>{"use strict";function i(t){return"function"==typeof t&&"applyToOptions"in t}r.d(e,{W:()=>i})},68662:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let i=function(){for(var t,e,r=0,i="",n=arguments.length;r<n;r++)(t=arguments[r])&&(e=function t(e){var r,i,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(r=0;r<s;r++)e[r]&&(i=t(e[r]))&&(n&&(n+=" "),n+=i)}else for(i in e)e[i]&&(n&&(n+=" "),n+=i);return n}(t))&&(i&&(i+=" "),i+=e);return i}},69377:(t,e,r)=>{"use strict";r.d(e,{X:()=>n,f:()=>i});let i=t=>1e3*t,n=t=>t/1e3},69413:(t,e,r)=>{"use strict";r.d(e,{F:()=>n});let i=(t,e)=>r=>e(t(r)),n=(...t)=>t.reduce(i)},69418:(t,e,r)=>{"use strict";r.d(e,{_:()=>m});
1var i=r(60600),n=r(47795),s=r(81999),o=r(23395),a=r(8915),l=r(21954),u=r(78675),h=r(73101),c=r(86993);function f(t,e,{delay:r=0,transitionOverride:i,type:d}={}){let{transition:p,transitionEnd:m,...g}=e,v=t.getDefaultTransition();p=p?(0,s.K)(p,v):v;let y=p?.reduceMotion;i&&(p=i);let x=[],b=d&&t.animationState&&t.animationState.getState()[d];for(let e in g){let i=t.getValue(e,t.latestValues[e]??null),s=g[e];if(void 0===s||b&&function({protectedKeys:t,needsAnimating:e},r){let i=t.hasOwnProperty(r)&&!0!==e[r];return e[r]=!1,i}(b,e))continue;let a={delay:r,...(0,n.r)(p||{},e)},f=i.get();if(void 0!==f&&!i.isAnimating&&!Array.isArray(s)&&s===f&&!a.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let r=(0,u.P)(t);if(r){let t=window.MotionHandoffAnimation(r,e,c.Gt);null!==t&&(a.startTime=t,d=!0)}}(0,l.g)(t,e);let m=y??t.shouldReduceMotion;i.start((0,h.f)(e,i,s,m&&o.$.has(e)?{type:!1}:a,t,d));let v=i.animation;v&&x.push(v)}if(m){let e=()=>c.Gt.update(()=>{m&&(0,a.U)(t,m)});x.length?Promise.all(x).then(e):e()}return x}var d=r(77819);function p(t,e,r={}){let n=(0,i.K)(t,e,"exit"===r.type?t.presenceContext?.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(s=r.transitionOverride);let o=n?()=>Promise.all(f(t,n,r)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:n=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,r=0,i=0,n=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(p(l,e,{...o,delay:r+("function"==typeof i?0:i)+(0,d.L)(t.variantChildren,l,i,n,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,i,n,o,a,r)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(r.delay)]);{let[t,e]="beforeChildren"===l?[o,a]:[a,o];return t().then(()=>e())}}function m(t,e,r={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>p(t,e,r)));else if("string"==typeof e)n=p(t,e,r);else{let s="function"==typeof e?(0,i.K)(t,e,r.custom):e;n=Promise.all(f(t,s,r))}return n.then(()=>{t.notify("AnimationComplete",e)})}},7e4:(t,e,r)=>{"use strict";r.d(e,{q:()=>i});let i=(t,e,r)=>{let i=e-t;return 0===i?1:(r-t)/i}},70218:(t,e)=>{"use strict";function r(t){let{ampFirst:e=!1,hybrid:r=!1,hasQuery:i=!1}=void 0===t?{}:t;return e||r&&i}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isInAmpMode",{enumerable:!0,get:function(){return r}})},73101:(t,e,r)=>{"use strict";r.d(e,{f:()=>tO});var i=r(69377),n=r(16357),s=r(20381),o=r(40303),a=r(69413),l=r(32796),u=r(48846),h=r(99296),c=r(96900),f=r(7050),d=r(3363),p=r(6005),m=r(91154);function g(t,e,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}var v=r(40974);function y(t,e){return r=>r>0?e:t}var x=r(48592);let b=(t,e,r)=>{let i=t*t,n=r*(e*e-i)+i;return n<0?0:Math.sqrt(n)},w=[p.u,v.B,m.V];function P(t){let e=w.find(e=>e.test(t));if((0,h.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let r=e.parse(t);return e===m.V&&(r=function({hue:t,saturation:e,lightness:r,alpha:i}){t/=360,r/=100;let n=0,s=0,o=0;if(e/=100){let i=r<.5?r*(1+e):r+e-r*e,a=2*r-i;n=g(a,i,t+1/3),s=g(a,i,t),o=g(a,i,t-1/3)}else n=s=o=r;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:i}}(r)),r}let S=(t,e)=>{let r=P(t),i=P(e);if(!r||!i)return y(t,e);let n={...r};return t=>(n.red=b(r.red,i.red,t),n.green=b(r.green,i.green,t),n.blue=b(r.blue,i.blue,t),n.alpha=(0,x.k)(r.alpha,i.alpha,t),v.B.transform(n))},E=new Set(["none","hidden"]);function T(t,e){return r=>(0,x.k)(t,e,r)}function A(t){return"number"==typeof t?T:"string"==typeof t?(0,c.pG)(t)?y:f.y.test(t)?S:k:Array.isArray(t)?M:"object"==typeof t?f.y.test(t)?S:C:y}function M(t,e){let r=[...t],i=r.length,n=t.map((t,r)=>A(t)(t,e[r]));return t=>{for(let e=0;e<i;e++)r[e]=n[e](t);return r}}function C(t,e){let r={...t,...e},i={};for(let n in r)void 0!==t[n]&&void 0!==e[n]&&(i[n]=A(t[n])(t[n],e[n]));return t=>{for(let e in i)r[e]=i[e](t);return r}}let k=(t,e)=>{let r=d.f.createTransformer(e),i=(0,d.V)(t),n=(0,d.V)(e);return i.indexes.var.length===n.indexes.var.length&&i.indexes.color.length===n.indexes.color.length&&i.indexes.number.length>=n.indexes.number.length?E.has(t)&&!n.values.length||E.has(e)&&!i.values.length?function(t,e){return E.has(t)?r=>r<=0?t:e:r=>r>=1?e:t}(t,e):(0,a.F)(M(function(t,e){let r=[],i={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let s=e.types[n],o=t.indexes[s][i[s]],a=t.values[o]??0;r[n]=a,i[s]++}return r}(i,n),n.values),r):((0,h.$)(!0,`Complex values '${t}' and '${e}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),y(t,e))};function O(t,e,r){return"number"==typeof t&&"number"==typeof e&&"number"==typeof r?(0,x.k)(t,e,r):A(t)(t,e)}var _=r(86993);let R=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>_.Gt.update(e,t),stop:()=>(0,_.WG)(e),now:()=>_.uv.isProcessing?_.uv.timestamp:o.k.now()}};var D=r(54655);function V(t){let e=0,r=t.next(e);for(;!r.done&&e<2e4;)e+=50,r=t.next(e);return e>=2e4?1/0:e}var B=r(91461);function j(t,e,r){let i=Math.max(e-5,0);return(0,B.f)(r-t(i),e-i)}let L={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function I(t,e){return t*Math.sqrt(1-e*e)}let F=["duration","bounce"],U=["stiffness","damping","mass"];function z(t,e){return e.some(e=>void 0!==t[e])}function N(t=L.visualDuration,e=L.bounce){let r,n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:s,restDelta:o}=n,a=n.keyframes[0],u=n.keyframes[n.keyframes.length-1],c={done:!1,value:a},{stiffness:f,damping:d,mass:p,duration:m,velocity:g,isResolvedFromDuration:v}=function(t){let e={velocity:L.velocity,stiffness:L.stiffness,damping:L.damping,mass:L.mass,isResolvedFromDuration:!1,...t};if(!z(t,U)&&z(t,F))if(t.visualDuration){let r=2*Math.PI/(1.2*t.visualDuration),i=r*r,n=2*(0,l.q)(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:L.mass,stiffness:i,damping:n}}else{let r=function({duration:t=L.duration,bounce:e=L.bounce,velocity:r=L.velocity,mass:n=L.mass}){let s,o;(0,h.$)(t<=(0,i.f)(L.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=(0,l.q)(L.minDamping,L.maxDamping,a),t=(0,l.q)(L.minDuration,L.maxDuration,(0,i.X)(t)),a<1?(s=e=>{let i=e*a,n=i*t;return .001-(i-r)/I(e,a)*Math.exp(-n)},o=e=>{let i=e*a*t,n=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-i),l=I(Math.pow(e,2),a);return(i*r+r-n)*o*(-s(e)+.001>0?-1:1)/l}):(s=e=>-.001+Math.exp(-e*t)*((e-r)*t+1),o=e=>t*t*(r-e)*Math.exp(-e*t));let u=function(t,e,r){let i=r;for(let r=1;r<12;r++)i-=t(i)/e(i);return i}(s,o,5/t);if(t=(0,i.f)(t),isNaN(u))return{stiffness:L.stiffness,damping:L.damping,duration:t};{let e=Math.pow(u,2)*n;return{stiffness:e,damping:2*a*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...r,mass:L.mass}).isResolvedFromDuration=!0}return e}({...n,velocity:-(0,i.X)(n.velocity||0)}),y=g||0,x=d/(2*Math.sqrt(f*p)),b=u-a,w=(0,i.X)(Math.sqrt(f/p)),P=5>Math.abs(b);if(s||(s=P?L.restSpeed.granular:L.restSpeed.default),o||(o=P?L.restDelta.granular:L.restDelta.default),x<1){let t=I(w,x);r=e=>u-Math.exp(-x*w*e)*((y+x*w*b)/t*Math.sin(t*e)+b*Math.cos(t*e))}else if(1===x)r=t=>u-Math.exp(-w*t)*(b+(y+w*b)*t);else{let t=w*Math.sqrt(x*x-1);r=e=>{let r=Math.exp(-x*w*e),i=Math.min(t*e,300);return u-r*((y+x*w*b)*Math.sinh(i)+t*b*Math.cosh(i))/t}}let S={calculatedDuration:v&&m||null,next:t=>{let e=r(t);if(v)c.done=t>=m;else{let n=0===t?y:0;x<1&&(n=0===t?(0,i.f)(y):j(r,t,e));let a=Math.abs(u-e)<=o;c.done=Math.abs(n)<=s&&a}return c.value=c.done?u:e,c},toString:()=>{let t=Math.min(V(S),2e4),e=(0,D.K)(e=>S.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return S}function W({keyframes:t,velocity:e=0,power:r=.8,timeConstant:i=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,f,d=t[0],p={done:!1,value:d},m=r*e,g=d+m,v=void 0===o?g:o(g);v!==g&&(m=v-d);let y=t=>-m*Math.exp(-t/i),x=t=>v+y(t),b=t=>{let e=y(t),r=x(t);p.done=Math.abs(e)<=u,p.value=p.done?v:r},w=t=>{let e;if(e=p.value,void 0!==a&&e<a||void 0!==l&&e>l){var r;c=t,f=N({keyframes:[p.value,(r=p.value,void 0===a?l:void 0===l||Math.abs(a-r)<Math.abs(l-r)?a:l)],velocity:j(x,t,p.value),damping:n,stiffness:s,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(f||void 0!==c||(e=!0,b(t),w(t)),void 0!==c&&t>=c)?f.next(t-c):(e||b(t),p)}}}N.applyToOptions=t=>{let e=function(t,e=100,r){let n=r({...t,keyframes:[0,e]}),s=Math.min(V(n),2e4);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:(0,i.X)(s)}}(t,100,N);return t.ease=e.ease,t.duration=(0,i.f)(e.duration),t.type="keyframes",t};let X=(t,e,r)=>(((1-3*r+3*e)*t+(3*r-6*e))*t+3*e)*t;function Y(t,e,r,i){return t===e&&r===i?s.l:n=>0===n||1===n?n:X(function(t,e,r,i,n){let s,o,a=0;do(s=X(o=e+(r-e)/2,i,n)-t)>0?r=o:e=o;while(Math.abs(s)>1e-7&&++a<12);return o}(n,0,1,t,r),e,i)}let q=Y(.42,0,1,1),G=Y(0,0,.58,1),$=Y(.42,0,.58,1);var H=r(45779),K=r(55638);let Q=Y(.33,1.53,.69,.99),Z=(0,K.G)(Q),J=(0,H.V)(Z),tt=t=>(t*=2)<1?.5*Z(t):.5*(2-Math.pow(2,-10*(t-1)));var te=r(33950),tr=r(41983);let ti={linear:s.l,easeIn:q,easeInOut:$,easeOut:G,circIn:te.po,circInOut:te.tn,circOut:te.yT,backIn:Z,backInOut:J,backOut:Q,anticipate:tt},tn=t=>{if((0,tr.D)(t)){(0,h.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,r,i,n]=t;return Y(e,r,i,n)}return"string"==typeof t?((0,h.V)(void 0!==ti[t],`Invalid easing type '${t}
1'`,"invalid-easing-type"),ti[t]):t};var ts=r(7e4);function to({duration:t=300,keyframes:e,times:r,ease:i="easeInOut"}){var o;let u=Array.isArray(i)&&"number"!=typeof i[0]?i.map(tn):tn(i),c={done:!1,value:e[0]},f=function(t,e,{clamp:r=!0,ease:i,mixer:o}={}){let u=t.length;if((0,h.V)(u===e.length,"Both input and output ranges must be the same length","range-length"),1===u)return()=>e[0];if(2===u&&e[0]===e[1])return()=>e[1];let c=t[0]===t[1];t[0]>t[u-1]&&(t=[...t].reverse(),e=[...e].reverse());let f=function(t,e,r){let i=[],o=r||n.W.mix||O,l=t.length-1;for(let r=0;r<l;r++){let n=o(t[r],t[r+1]);if(e){let t=Array.isArray(e)?e[r]||s.l:e;n=(0,a.F)(t,n)}i.push(n)}return i}(e,i,o),d=f.length,p=r=>{if(c&&r<t[0])return e[0];let i=0;if(d>1)for(;i<t.length-2&&!(r<t[i+1]);i++);let n=(0,ts.q)(t[i],t[i+1],r);return f[i](n)};return r?e=>p((0,l.q)(t[0],t[u-1],e)):p}((o=r&&r.length===e.length?r:function(t){let e=[0];return!function(t,e){let r=t[t.length-1];for(let i=1;i<=e;i++){let n=(0,ts.q)(0,e,i);t.push((0,x.k)(r,1,n))}}(e,t.length-1),e}(e),o.map(e=>e*t)),e,{ease:Array.isArray(u)?u:e.map(()=>u||$).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(c.value=f(e),c.done=e>=t,c)}}var ta=r(30396);let tl={decay:W,inertia:W,tween:to,keyframes:to,spring:N};function tu(t){"string"==typeof t.type&&(t.type=tl[t.type])}var th=r(8320);let tc=t=>t/100;class tf extends th.q{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==o.k.now()&&this.tick(o.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},u.q.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;tu(t);let{type:e=to,repeat:r=0,repeatDelay:i=0,repeatType:n,velocity:s=0}=t,{keyframes:o}=t,l=e||to;l!==to&&"number"!=typeof o[0]&&(this.mixKeyframes=(0,a.F)(tc,O(o[0],o[1])),o=[0,100]);let u=l({...t,keyframes:o});"mirror"===n&&(this.mirroredGenerator=l({...t,keyframes:[...o].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=V(u));let{calculatedDuration:h}=u;this.calculatedDuration=h,this.resolvedDuration=h+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=u}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:r,totalDuration:i,mixKeyframes:n,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return r.next(0);let{delay:u=0,keyframes:h,repeat:c,repeatType:f,repeatDelay:d,type:p,onUpdate:m,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>i;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let x=this.currentTime,b=r;if(c){let t=Math.min(this.currentTime,i)/o,e=Math.floor(t),r=t%1;!r&&t>=1&&(r=1),1===r&&e--,(e=Math.min(e,c+1))%2&&("reverse"===f?(r=1-r,d&&(r-=d/o)):"mirror"===f&&(b=s)),x=(0,l.q)(0,1,r)*o}let w=y?{done:!1,value:h[0]}:b.next(x);n&&(w.value=n(w.value));let{done:P}=w;y||null===a||(P=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return S&&p!==W&&(w.value=(0,ta.X)(h,this.options,g,this.speed)),m&&m(w.value),S&&this.finish(),w}then(t,e){return this.finished.then(t,e)}get duration(){return(0,i.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,i.X)(t)}get time(){return(0,i.X)(this.currentTime)}set time(t){t=(0,i.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(o.k.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,i.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=R,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=e??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(o.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,u.q.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var td=r(2784),tp=r(62036);let tm={anticipate:tt,backInOut:J,circInOut:te.tn};class tg extends tp.m{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in tm&&(t.ease=tm[t.ease])}(t),tu(t),super(t),void 0!==t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:r,onComplete:i,element:n,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new tf({...s,autoplay:!1}),u=Math.max(10,o.k.now()-this.startTime),h=(0,l.q)(0,10,u-10);e.setWithVelocity(a.sample(Math.max(0,u-h)).value,a.sample(u).value,h),a.stop()}}var tv=r(64590);let ty=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(d.f.test(t)||"0"===t)&&!t.startsWith("url("));function tx(t){t.duration=0,t.type="keyframes"}var tb=r(99007);let tw=new Set(["opacity","clipPath","filter","transform"]),tP=(0,tb.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tS extends th.q{constructor({autoplay:t=!0,delay:e=0,type:r="keyframes",repeat:i=0,repeatDelay:n=0,repeatType:s="loop",keyframes:a,name:l,motionValue:u,element:h,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=o.k.now();
1let f={autoplay:t,delay:e,type:r,repeat:i,repeatDelay:n,repeatType:s,name:l,motionValue:u,element:h,...c},d=h?.KeyframeResolver||td.h;this.keyframeResolver=new d(a,(t,e,r)=>this.onKeyframesResolved(t,e,f,!r),l,u,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,r,i){this.keyframeResolver=void 0;let{name:a,type:l,velocity:u,delay:c,isHandoff:f,onUpdate:d}=r;this.resolvedAt=o.k.now(),!function(t,e,r,i){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=ty(n,e),a=ty(s,e);return(0,h.$)(o===a,`You are trying to animate ${e} from "${n}" to "${s}". "${o?s:n}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let r=0;r<t.length;r++)if(t[r]!==e)return!0}(t)||("spring"===r||(0,tv.W)(r))&&i)}(t,a,l,u)&&((n.W.instantAnimations||!c)&&d?.((0,ta.X)(t,r,e)),t[0]=t[t.length-1],tx(r),r.repeat=0);let p={startTime:i?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...r,keyframes:t},m=!f&&function(t){let{motionValue:e,name:r,repeatDelay:i,repeatType:n,damping:s,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return tP()&&r&&tw.has(r)&&("transform"!==r||!l)&&!a&&!i&&"mirror"!==n&&0!==s&&"inertia"!==o}(p),g=p.motionValue?.owner?.current,v=m?new tg({...p,element:g}):new tf(p);v.finished.then(()=>{this.notifyFinished()}).catch(s.l),this.pendingTimeline&&(this.stopTimeline=v.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=v}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,td.q)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}var tE=r(47795),tT=r(53716);let tA={type:"spring",stiffness:500,damping:25,restSpeed:10},tM={type:"keyframes",duration:.8},tC={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tk=t=>null!==t,tO=(t,e,r,s={},o,a)=>l=>{let u=(0,tE.r)(s,t)||{},h=u.delay||s.delay||0,{elapsed:c=0}=s;c-=(0,i.f)(h);let f={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:e.getVelocity(),...u,delay:-c,onUpdate:t=>{e.set(t),u.onUpdate&&u.onUpdate(t)},onComplete:()=>{l(),u.onComplete&&u.onComplete()},name:t,motionValue:e,element:a?void 0:o};!function({when:t,delay:e,delayChildren:r,staggerChildren:i,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(u)&&Object.assign(f,((t,{keyframes:e})=>e.length>2?tM:tT.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:tA:tC)(t,f)),f.duration&&(f.duration=(0,i.f)(f.duration)),f.repeatDelay&&(f.repeatDelay=(0,i.f)(f.repeatDelay)),void 0!==f.from&&(f.keyframes[0]=f.from);let d=!1;if(!1!==f.type&&(0!==f.duration||f.repeatDelay)||(tx(f),0===f.delay&&(d=!0)),(n.W.instantAnimations||n.W.skipAnimations||o?.shouldSkipAnimations)&&(d=!0,tx(f),f.delay=0),f.allowFlatten=!u.type&&!u.ease,d&&!a&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:r="loop"},i){let n=t.filter(tk),s=e&&"loop"!==r&&e%2==1?0:n.length-1;return n[s]}(f.keyframes,u);if(void 0!==t)return void _.Gt.update(()=>{f.onUpdate(t),f.onComplete()})}return u.isSync?new tf(f):new tS(f)}},77819:(t,e,r)=>{"use strict";function i(t,e,r,n=0,s=1){let o=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,l=(a-1)*n;return"function"==typeof r?r(o,a):1===s?o*n:l-o*n}r.d(e,{L:()=>i})},78675:(t,e,r)=>{"use strict";r.d(e,{P:()=>n});var i=r(4121);function n(t){return t.props[i.n]}},78678:(t,e,r)=>{"use strict";r.d(e,{u:()=>e2});var i,n,s,o,a,l,u,h,c,f,d,p,m,g=function(){return i||"undefined"!=typeof window&&(i=window.gsap)&&i.registerPlugin&&i},v=1,y=[],x=[],b=[],w=Date.now,P=function(t,e){return e},S=function(){var t=c.core,e=t.bridge||{},r=t._scrollers,i=t._proxies;r.push.apply(r,x),i.push.apply(i,b),x=r,b=i,P=function(t,r){return e[t](r)}},E=function(t,e){return~b.indexOf(t)&&b[b.indexOf(t)+1][e]},T=function(t){return!!~f.indexOf(t)},A=function(t,e,r,i,n){return t.addEventListener(e,r,{passive:!1!==i,capture:!!n}
1)},M=function(t,e,r,i){return t.removeEventListener(e,r,!!i)},C="scrollLeft",k="scrollTop",O=function(){return d&&d.isPressed||x.cache++},_=function(t,e){var r=function r(i){if(i||0===i){v&&(s.history.scrollRestoration="manual");var n=d&&d.isPressed;t(i=r.v=Math.round(i)||(d&&d.iOS?1:0)),r.cacheID=x.cache,n&&P("ss",i)}else(e||x.cache!==r.cacheID||P("ref"))&&(r.cacheID=x.cache,r.v=t());return r.v+r.offset};return r.offset=0,t&&r},R={s:C,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:_(function(t){return arguments.length?s.scrollTo(t,D.sc()):s.pageXOffset||o[C]||a[C]||l[C]||0})},D={s:k,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:R,sc:_(function(t){return arguments.length?s.scrollTo(R.sc(),t):s.pageYOffset||o[k]||a[k]||l[k]||0})},V=function(t,e){return(e&&e._ctx&&e._ctx.selector||i.utils.toArray)(t)[0]||("string"==typeof t&&!1!==i.config().nullTargetWarn?console.warn("Element not found:",t):null)},B=function(t,e){for(var r=e.length;r--;)if(e[r]===t||e[r].contains(t))return!0;return!1},j=function(t,e){var r=e.s,n=e.sc;T(t)&&(t=o.scrollingElement||a);var s=x.indexOf(t),l=n===D.sc?1:2;~s||(s=x.push(t)-1),x[s+l]||A(t,"scroll",O);var u=x[s+l],h=u||(x[s+l]=_(E(t,r),!0)||(T(t)?n:_(function(e){return arguments.length?t[r]=e:t[r]})));return h.target=t,u||(h.smooth="smooth"===i.getProperty(t,"scrollBehavior")),h},L=function(t,e,r){var i=t,n=t,s=w(),o=s,a=e||50,l=Math.max(500,3*a),u=function(t,e){var l=w();e||l-s>a?(n=i,i=t,o=s,s=l):r?i+=t:i=n+(t-n)/(l-o)*(s-o)};return{update:u,reset:function(){n=i=r?0:i,o=s=0},getVelocity:function(t){var e=o,a=n,h=w();return(t||0===t)&&t!==i&&u(t),s===o||h-o>l?0:(i+(r?a:-a))/((r?h:s)-e)*1e3}}},I=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},F=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},U=function(){(c=i.core.globals().ScrollTrigger)&&c.core&&S()},z=function(t){return i=t||g(),!n&&i&&"undefined"!=typeof document&&document.body&&(s=window,a=(o=document).documentElement,l=o.body,f=[s,o,a,l],i.utils.clamp,m=i.core.context||function(){},h="onpointerenter"in l?"pointer":"mouse",u=N.isTouch=s.matchMedia&&s.matchMedia("(hover: none), (pointer: coarse)").matches?1:2*("ontouchstart"in s||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),p=N.eventTypes=("ontouchstart"in a?"touchstart,touchmove,touchcancel,touchend":!("onpointerdown"in a)?"mousedown,mousemove,mouseup,mouseup":"pointerdown,pointermove,pointercancel,pointerup").split(","),setTimeout(function(){return v=0},500),U(),n=1),n};R.op=D,x.cache=0;var N=function(){var t;function e(t){this.init(t)}return e.prototype.init=function(t){n||z(i)||console.warn("Please gsap.registerPlugin(Observer)"),c||U();var e=t.tolerance,r=t.dragMinimum,f=t.type,g=t.target,v=t.lineHeight,x=t.debounce,b=t.preventDefault,P=t.onStop,S=t.onStopDelay,E=t.ignore,C=t.wheelSpeed,k=t.event,_=t.onDragStart,N=t.onDragEnd,W=t.onDrag,X=t.onPress,Y=t.onRelease,q=t.onRight,G=t.onLeft,$=t.onUp,H=t.onDown,K=t.onChangeX,Q=t.onChangeY,Z=t.onChange,J=t.onToggleX,tt=t.onToggleY,te=t.onHover,tr=t.onHoverEnd,ti=t.onMove,tn=t.ignoreCheck,ts=t.isNormalizer,to=t.onGestureStart,ta=t.onGestureEnd,tl=t.onWheel,tu=t.onEnable,th=t.onDisable,tc=t.onClick,tf=t.scrollSpeed,td=t.capture,tp=t.allowClicks,tm=t.lockAxis,tg=t.onLockAxis;this.target=g=V(g)||a,this.vars=t,E&&(E=i.utils.toArray(E)),e=e||1e-9,r=r||0,C=C||1,tf=tf||1,f=f||"wheel,touch,pointer",x=!1!==x,v||(v=parseFloat(s.getComputedStyle(l).lineHeight)||22);var tv,ty,tx,tb,tw,tP,tS,tE=this,tT=0,tA=0,tM=t.passive||!b&&!1!==t.passive,tC=j(g,R),tk=j(g,D),tO=tC(),t_=tk(),tR=~f.indexOf("touch")&&!~f.indexOf("pointer")&&"pointerdown"===p[0],tD=T(g),tV=g.ownerDocument||o,tB=[0,0,0],tj=[0,0,0],tL=0,tI=function(){return tL=w()},tF=function(t,e){return(tE.event=t)&&E&&B(t.target,E)||e&&tR&&"touch"!==t.pointerType||tn&&tn(t,e)},tU=function(){var t=tE.deltaX=F(tB),r=tE.deltaY=F(tj),i=Math.abs(t)>=e,n=Math.abs(r)>=e;Z&&(i||n)&&Z(tE,t,r,tB,tj),i&&(q&&tE.deltaX>0&&q(tE),G&&tE.deltaX<0&&G(tE),K&&K(tE),J&&tE.deltaX<0!=tT<0&&J(tE),tT=tE.deltaX,tB[0]=tB[1]=tB[2]=0),n&&(H&&tE.deltaY>0&&H(tE),$&&tE.deltaY<0&&$(tE),Q&&Q(tE),tt&&tE.deltaY<0!=tA<0&&tt(tE),tA=tE.deltaY,tj[0]=tj[1]=tj[2]=0),(tb||tx)&&(ti&&ti(tE),tx&&(_&&1===tx&&_(tE),W&&W(tE),tx=0),tb=!1),tP&&(tP=!1,
11)&&tg&&tg(tE),tw&&(tl(tE),tw=!1),tv=0},tz=function(t,e,r){tB[r]+=t,tj[r]+=e,tE._vx.update(t),tE._vy.update(e),x?tv||(tv=requestAnimationFrame(tU)):tU()},tN=function(t,e){tm&&!tS&&(tE.axis=tS=Math.abs(t)>Math.abs(e)?"x":"y",tP=!0),"y"!==tS&&(tB[2]+=t,tE._vx.update(t,!0)),"x"!==tS&&(tj[2]+=e,tE._vy.update(e,!0)),x?tv||(tv=requestAnimationFrame(tU)):tU()},tW=function(t){if(!tF(t,1)){var e=(t=I(t,b)).clientX,i=t.clientY,n=e-tE.x,s=i-tE.y,o=tE.isDragging;tE.x=e,tE.y=i,(o||(n||s)&&(Math.abs(tE.startX-e)>=r||Math.abs(tE.startY-i)>=r))&&(tx||(tx=o?2:1),o||(tE.isDragging=!0),tN(n,s))}},tX=tE.onPress=function(t){tF(t,1)||t&&t.button||(tE.axis=tS=null,ty.pause(),tE.isPressed=!0,t=I(t),tT=tA=0,tE.startX=tE.x=t.clientX,tE.startY=tE.y=t.clientY,tE._vx.reset(),tE._vy.reset(),A(ts?g:tV,p[1],tW,tM,!0),tE.deltaX=tE.deltaY=0,X&&X(tE))},tY=tE.onRelease=function(t){if(!tF(t,1)){M(ts?g:tV,p[1],tW,!0);var e=!isNaN(tE.y-tE.startY),r=tE.isDragging,n=r&&(Math.abs(tE.x-tE.startX)>3||Math.abs(tE.y-tE.startY)>3),o=I(t);!n&&e&&(tE._vx.reset(),tE._vy.reset(),b&&tp&&i.delayedCall(.08,function(){if(w()-tL>300&&!t.defaultPrevented){if(t.target.click)t.target.click();else if(tV.createEvent){var e=tV.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,s,1,o.screenX,o.screenY,o.clientX,o.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}})),tE.isDragging=tE.isGesturing=tE.isPressed=!1,P&&r&&!ts&&ty.restart(!0),tx&&tU(),N&&r&&N(tE),Y&&Y(tE,n)}},tq=function(t){return t.touches&&t.touches.length>1&&(tE.isGesturing=!0)&&to(t,tE.isDragging)},tG=function(){return tE.isGesturing=!1,ta(tE)},t$=function(t){if(!tF(t)){var e=tC(),r=tk();tz((e-tO)*tf,(r-t_)*tf,1),tO=e,t_=r,P&&ty.restart(!0)}},tH=function(t){if(!tF(t)){t=I(t,b),tl&&(tw=!0);var e=(1===t.deltaMode?v:2===t.deltaMode?s.innerHeight:1)*C;tz(t.deltaX*e,t.deltaY*e,0),P&&!ts&&ty.restart(!0)}},tK=function(t){if(!tF(t)){var e=t.clientX,r=t.clientY,i=e-tE.x,n=r-tE.y;tE.x=e,tE.y=r,tb=!0,P&&ty.restart(!0),(i||n)&&tN(i,n)}},tQ=function(t){tE.event=t,te(tE)},tZ=function(t){tE.event=t,tr(tE)},tJ=function(t){return tF(t)||I(t,b)&&tc(tE)};ty=tE._dc=i.delayedCall(S||.25,function(){tE._vx.reset(),tE._vy.reset(),ty.pause(),P&&P(tE)}).pause(),tE.deltaX=tE.deltaY=0,tE._vx=L(0,50,!0),tE._vy=L(0,50,!0),tE.scrollX=tC,tE.scrollY=tk,tE.isDragging=tE.isGesturing=tE.isPressed=!1,m(this),tE.enable=function(t){return!tE.isEnabled&&(A(tD?tV:g,"scroll",O),f.indexOf("scroll")>=0&&A(tD?tV:g,"scroll",t$,tM,td),f.indexOf("wheel")>=0&&A(g,"wheel",tH,tM,td),(f.indexOf("touch")>=0&&u||f.indexOf("pointer")>=0)&&(A(g,p[0],tX,tM,td),A(tV,p[2],tY),A(tV,p[3],tY),tp&&A(g,"click",tI,!0,!0),tc&&A(g,"click",tJ),to&&A(tV,"gesturestart",tq),ta&&A(tV,"gestureend",tG),te&&A(g,h+"enter",tQ),tr&&A(g,h+"leave",tZ),ti&&A(g,h+"move",tK)),tE.isEnabled=!0,tE.isDragging=tE.isGesturing=tE.isPressed=tb=tx=!1,tE._vx.reset(),tE._vy.reset(),tO=tC(),t_=tk(),t&&t.type&&tX(t),tu&&tu(tE)),tE},tE.disable=function(){tE.isEnabled&&(y.filter(function(t){return t!==tE&&T(t.target)}).length||M(tD?tV:g,"scroll",O),tE.isPressed&&(tE._vx.reset(),tE._vy.reset(),M(ts?g:tV,p[1],tW,!0)),M(tD?tV:g,"scroll",t$,td),M(g,"wheel",tH,td),M(g,p[0],tX,td),M(tV,p[2],tY),M(tV,p[3],tY),M(g,"click",tI,!0),M(g,"click",tJ),M(tV,"gesturestart",tq),M(tV,"gestureend",tG),M(g,h+"enter",tQ),M(g,h+"leave",tZ),M(g,h+"move",tK),tE.isEnabled=tE.isPressed=tE.isDragging=!1,th&&th(tE))},tE.kill=tE.revert=function(){tE.disable();var t=y.indexOf(tE);t>=0&&y.splice(t,1),d===tE&&(d=0)},y.push(tE),ts&&T(g)&&(d=tE),tE.enable(k)},t=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}],function(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(e.prototype,t),e}();N.version="3.14.2",N.create=function(t){return new N(t)},N.register=z,N.getAll=function(){return y.slice()},N.getById=function(t){return y.filter(function(e){return e.vars.id===t})[0]},g()&&i.registerPlugin(N);var W,X,Y,q,G,$,H,K,Q,Z,J,tt,te,tr,ti,tn,ts,to,ta,tl,tu,th,tc,tf,td,tp,tm,tg,tv,ty,tx,tb,tw,tP,tS,tE,tT,tA,tM=1,tC=Date.now,tk=tC(),tO=0,t_=0,tR=function(t,e,r){var i=tq(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=i,i?t.substr(6,t.length-7):t},tD=function(t,e){return e&&(!tq(t)||"clamp("!==t.substr(0,6))?"clamp("+t+")":t},tV=function(){return tr=1},tB=function(){return tr=0},tj=function(t){return t},tL=function(t){return Math.round(1e5*t)/1e5||0},tI=function(){return"undefined"!=typeof window},tF=function(){return W||tI()&&(W=window.gsap)&&W.registerPlugin&&W},tU=function(t){return!!~H.indexOf(t)},tz=function(t){return("Height"===t?tx:Y["inner"+t])||G["client"+t]||$["client"+t]},tN=function(t){return E(t,"getBoundingClientRect")||(tU(t)?function(){return eH.width=Y.innerWidth,eH.height=tx,eH}:function(){return en(t)})},tW=function(t,e,r){var i=r.d,n=r.d2,s=r.a;return(s=E(t,"getBoundingClientRect"))?function(){return s()[i]}:function(){return(e?tz(n):t["client"+n])||0}},tX=function(t,e){var r=e.s,i=e.d2,n=e.d,s=e.a;return Math.max(0,(s=E(t,r="scroll"+i))?s()-tN(t)()[n]:tU(t)?(G[r]||$[r])-tz(i):t[r]-t["offset"+i])},tY=function(t,e){for(var r=0;r<ta.length;r+=3)(!e||~e.indexOf(ta[r+1]))&&t(ta[r],ta[r+1],ta[r+2])},tq=function(t){return"string"==typeof t},tG=function(t){return"function"==typeof t},t$=function(t){return"number"==typeof t},tH=function(t){return"object"==typeof t},tK=function(t,e,r){return t&&t.progress(+!e)&&r&&t.pause()},tQ=function(t,e){if(t.enabled){var r=t._ctx?t._ctx.add(function(){return e(t)}):e(t);
1r&&r.totalTime&&(t.callbackAnimation=r)}},tZ=Math.abs,tJ="left",t0="right",t1="bottom",t2="width",t3="height",t5="Right",t6="Left",t8="Bottom",t4="padding",t9="margin",t7="Width",et="Height",ee=function(t){return Y.getComputedStyle(t)},er=function(t){var e=ee(t).position;t.style.position="absolute"===e||"fixed"===e?e:"relative"},ei=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},en=function(t,e){var r=e&&"matrix(1, 0, 0, 1, 0, 0)"!==ee(t)[ti]&&W.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=t.getBoundingClientRect();return r&&r.progress(0).kill(),i},es=function(t,e){var r=e.d2;return t["offset"+r]||t["client"+r]||0},eo=function(t){var e,r=[],i=t.labels,n=t.duration();for(e in i)r.push(i[e]/n);return r},ea=function(t){var e=W.utils.snap(t),r=Array.isArray(t)&&t.slice(0).sort(function(t,e){return t-e});return r?function(t,i,n){var s;if(void 0===n&&(n=.001),!i)return e(t);if(i>0){for(t-=n,s=0;s<r.length;s++)if(r[s]>=t)return r[s];return r[s-1]}for(s=r.length,t+=n;s--;)if(r[s]<=t)return r[s];return r[0]}:function(r,i,n){void 0===n&&(n=.001);var s=e(r);return!i||Math.abs(s-r)<n||s-r<0==i<0?s:e(i<0?r-t:r+t)}},el=function(t,e,r,i){return r.split(",").forEach(function(r){return t(e,r,i)})},eu=function(t,e,r,i,n){return t.addEventListener(e,r,{passive:!i,capture:!!n})},eh=function(t,e,r,i){return t.removeEventListener(e,r,!!i)},ec=function(t,e,r){(r=r&&r.wheelHandler)&&(t(e,"wheel",r),t(e,"touchmove",r))},ef={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},ed={toggleActions:"play",anticipatePin:0},ep={top:0,left:0,center:.5,bottom:1,right:1},em=function(t,e){if(tq(t)){var r=t.indexOf("="),i=~r?(t.charAt(r-1)+1)*parseFloat(t.substr(r+1)):0;~r&&(t.indexOf("%")>r&&(i*=e/100),t=t.substr(0,r-1)),t=i+(t in ep?ep[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},eg=function(t,e,r,i,n,s,o,a){var l=n.startColor,u=n.endColor,h=n.fontSize,c=n.indent,f=n.fontWeight,d=q.createElement("div"),p=tU(r)||"fixed"===E(r,"pinType"),m=-1!==t.indexOf("scroller"),g=p?$:r,v=-1!==t.indexOf("start"),y=v?l:u,x="border-color:"+y+";font-size:"+h+";color:"+y+";font-weight:"+f+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return x+="position:"+((m||a)&&p?"fixed;":"absolute;"),(m||a||!p)&&(x+=(i===D?t0:t1)+":"+(s+parseFloat(c))+"px;"),o&&(x+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),d._isStart=v,d.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),d.style.cssText=x,d.innerText=e||0===e?t+"-"+e:t,g.children[0]?g.insertBefore(d,g.children[0]):g.appendChild(d),d._offset=d["offset"+i.op.d2],ev(d,0,i,v),d},ev=function(t,e,r,i){var n={display:"block"},s=r[i?"os2":"p2"],o=r[i?"p2":"os2"];t._isFlipped=i,n[r.a+"Percent"]=i?-100:0,n[r.a]=i?"1px":0,n["border"+s+t7]=1,n["border"+o+t7]=0,n[r.p]=e+"px",W.set(t,n)},ey=[],ex={},eb=function(){return tC()-tO>34&&(tS||(tS=requestAnimationFrame(eU)))},ew=function(){tc&&tc.isPressed&&!(tc.startX>$.clientWidth)||(x.cache++,tc?tS||(tS=requestAnimationFrame(eU)):eU(),tO||eM("scrollStart"),tO=tC())},eP=function(){tp=Y.innerWidth,td=Y.innerHeight},eS=function(t){x.cache++,(!0===t||!te&&!th&&!q.fullscreenElement&&!q.webkitFullscreenElement&&(!tf||tp!==Y.innerWidth||Math.abs(Y.innerHeight-td)>.25*Y.innerHeight))&&K.restart(!0)},eE={},eT=[],eA=function t(){return eh(e2,"scrollEnd",t)||eL(!0)},eM=function(t){return eE[t]&&eE[t].map(function(t){return t()})||eT},eC=[],ek=function(t){for(var e=0;e<eC.length;e+=5)(!t||eC[e+4]&&eC[e+4].query===t)&&(eC[e].style.cssText=eC[e+1],eC[e].getBBox&&eC[e].setAttribute("transform",eC[e+2]||""),eC[e+3].uncache=1)},eO=function(){return x.forEach(function(t){return tG(t)&&++t.cacheID&&(t.rec=t())})},e_=function(t,e){var r;for(tn=0;tn<ey.length;tn++)(r=ey[tn])&&(!e||r._ctx===e)&&(t?r.kill(1):r.revert(!0,!0));
1tb=!0,e&&ek(e),e||eM("revert")},eR=function(t,e){x.cache++,(e||!tE)&&x.forEach(function(t){return tG(t)&&t.cacheID++&&(t.rec=0)}),tq(t)&&(Y.history.scrollRestoration=tv=t)},eD=0,eV=function(){if(tT!==eD){var t=tT=eD;requestAnimationFrame(function(){return t===eD&&eL(!0)})}},eB=function(){$.appendChild(ty),tx=!tc&&ty.offsetHeight||Y.innerHeight,$.removeChild(ty)},ej=function(t){return Q(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(e){return e.style.display=t?"none":"block"})},eL=function(t,e){if(G=q.documentElement,$=q.body,H=[Y,q,G,$],tO&&!t&&!tb)return void eu(e2,"scrollEnd",eA);eB(),tE=e2.isRefreshing=!0,tb||eO();var r=eM("refreshInit");tl&&e2.sort(),e||e_(),x.forEach(function(t){tG(t)&&(t.smooth&&(t.target.style.scrollBehavior="auto"),t(0))}),ey.slice(0).forEach(function(t){return t.refresh()}),tb=!1,ey.forEach(function(t){if(t._subPinOffset&&t.pin){var e=t.vars.horizontal?"offsetWidth":"offsetHeight",r=t.pin[e];t.revert(!0,1),t.adjustPinSpacing(t.pin[e]-r),t.refresh()}}),tw=1,ej(!0),ey.forEach(function(t){var e=tX(t.scroller,t._dir),r="max"===t.vars.end||t._endClamp&&t.end>e,i=t._startClamp&&t.start>=e;(r||i)&&t.setPositions(i?e-1:t.start,r?Math.max(i?e:t.start+1,e):t.end,!0)}),ej(!1),tw=0,r.forEach(function(t){return t&&t.render&&t.render(-1)}),x.forEach(function(t){tG(t)&&(t.smooth&&requestAnimationFrame(function(){return t.target.style.scrollBehavior="smooth"}),t.rec&&t(t.rec))}),eR(tv,1),K.pause(),eD++,tE=2,eU(2),ey.forEach(function(t){return tG(t.vars.onRefresh)&&t.vars.onRefresh(t)}),tE=e2.isRefreshing=!1,eM("refresh")},eI=0,eF=1,eU=function(t){if(2===t||!tE&&!tb){e2.isUpdating=!0,tA&&tA.update(0);var e=ey.length,r=tC(),i=r-tk>=50,n=e&&ey[0].scroll();if(eF=eI>n?-1:1,tE||(eI=n),i&&(tO&&!tr&&r-tO>200&&(tO=0,eM("scrollEnd")),J=tk,tk=r),eF<0){for(tn=e;tn-- >0;)ey[tn]&&ey[tn].update(0,i);eF=1}else for(tn=0;tn<e;tn++)ey[tn]&&ey[tn].update(0,i);e2.isUpdating=!1}tS=0},ez=[tJ,"top",t1,t0,t9+t8,t9+t5,t9+"Top",t9+t6,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],eN=ez.concat([t2,t3,"boxSizing","max"+t7,"max"+et,"position",t9,t4,t4+"Top",t4+t5,t4+t8,t4+t6]),eW=function(t,e,r){eq(r);var i=t._gsap;if(i.spacerIsNative)eq(i.spacerState);else if(t._gsap.swappedIn){var n=e.parentNode;n&&(n.insertBefore(t,e),n.removeChild(e))}t._gsap.swappedIn=!1},eX=function(t,e,r,i){if(!t._gsap.swappedIn){for(var n,s=ez.length,o=e.style,a=t.style;s--;)o[n=ez[s]]=r[n];o.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(o.display="inline-block"),a[t1]=a[t0]="auto",o.flexBasis=r.flexBasis||"auto",o.overflow="visible",o.boxSizing="border-box",o[t2]=es(t,R)+"px",o[t3]=es(t,D)+"px",o[t4]=a[t9]=a.top=a[tJ]="0",eq(i),a[t2]=a["max"+t7]=r[t2],a[t3]=a["max"+et]=r[t3],a[t4]=r[t4],t.parentNode!==e&&(t.parentNode.insertBefore(e,t),e.appendChild(t)),t._gsap.swappedIn=!0}},eY=/([A-Z])/g,eq=function(t){if(t){var e,r,i=t.t.style,n=t.length,s=0;for((t.t._gsap||W.core.getCache(t.t)).uncache=1;s<n;s+=2)r=t[s+1],e=t[s],r?i[e]=r:i[e]&&i.removeProperty(e.replace(eY,"-$1").toLowerCase())}},eG=function(t){for(var e=eN.length,r=t.style,i=[],n=0;n<e;n++)i.push(eN[n],r[eN[n]]);return i.t=t,i},e$=function(t,e,r){for(var i,n=[],s=t.length,o=8*!!r;o<s;o+=2)i=t[o],n.push(i,i in e?e[i]:t[o+1]);return n.t=t.t,n},eH={left:0,top:0},eK=function(t,e,r,i,n,s,o,a,l,u,h,c,f,d){tG(t)&&(t=t(a)),tq(t)&&"max"===t.substr(0,3)&&(t=c+("="===t.charAt(4)?em("0"+t.substr(3),r):0));var p,m,g,v=f?f.time():0;if(f&&f.seek(0),isNaN(t)||(t*=1),t$(t))f&&(t=W.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,c,t)),o&&ev(o,r,i,!0);else{tG(e)&&(e=e(a));var y,x,b,w,P=(t||"0").split(" ");(y=en(g=V(e,a)||$)||{}).left||y.top||"none"!==ee(g).display||(w=g.style.display,g.style.display="block",y=en(g),w?g.style.display=w:g.style.removeProperty("display")),x=em(P[0],y[i.d]),b=em(P[1]||"0",r),t=y[i.p]-l[i.p]-u+x+n-b,o&&ev(o,b,i,r-b<20||o._isStart&&b>20),r-=r-b}
1if(d&&(a[d]=t||-.001,t<0&&(t=0)),s){var S=t+r,E=s._isStart;p="scroll"+i.d2,ev(s,S,i,E&&S>20||!E&&(h?Math.max($[p],G[p]):s.parentNode[p])<=S+1),h&&(l=en(o),h&&(s.style[i.op.p]=l[i.op.p]-i.op.m-s._offset+"px"))}return f&&g&&(p=en(g),f.seek(c),m=en(g),f._caScrollDist=p[i.p]-m[i.p],t=t/f._caScrollDist*c),f&&f.seek(v),f?t:Math.round(t)},eQ=/(webkit|moz|length|cssText|inset)/i,eZ=function(t,e,r,i){if(t.parentNode!==e){var n,s,o=t.style;if(e===$){for(n in t._stOrig=o.cssText,s=ee(t))+n||eQ.test(n)||!s[n]||"string"!=typeof o[n]||"0"===n||(o[n]=s[n]);o.top=r,o.left=i}else o.cssText=t._stOrig;W.core.getCache(t).uncache=1,e.appendChild(t)}},eJ=function(t,e,r){var i=e,n=i;return function(e){var s=Math.round(t());return s!==i&&s!==n&&Math.abs(s-i)>3&&Math.abs(s-n)>3&&(e=s,r&&r()),n=i,i=Math.round(e)}},e0=function(t,e,r){var i={};i[e.p]="+="+r,W.set(t,i)},e1=function(t,e){var r=j(t,e),i="_scroll"+e.p2,n=function e(n,s,o,a,l){var u=e.tween,h=s.onComplete,c={};o=o||r();var f=eJ(r,o,function(){u.kill(),e.tween=0});return l=a&&l||0,a=a||n-o,u&&u.kill(),s[i]=n,s.inherit=!1,s.modifiers=c,c[i]=function(){return f(o+a*u.ratio+l*u.ratio*u.ratio)},s.onUpdate=function(){x.cache++,e.tween&&eU()},s.onComplete=function(){e.tween=0,h&&h.call(u)},u=e.tween=W.to(t,s)};return t[i]=r,r.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},eu(t,"wheel",r.wheelHandler),e2.isTouch&&eu(t,"touchmove",r.wheelHandler),n},e2=function(){function t(e,r){X||t.register(W)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),tg(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!t_){this.update=this.refresh=this.kill=tj;return}var i,n,s,o,a,l,u,h,c,f,d,p,m,g,v,y,w,P,S,T,A,M,C,k,O,_,B,L,I,F,U,z,N,X,H,K,tt,ti,ts,to,ta,th=e=ei(tq(e)||t$(e)||e.nodeType?{trigger:e}:e,ed),tc=th.onUpdate,tf=th.toggleClass,td=th.id,tp=th.onToggle,tm=th.onRefresh,tg=th.scrub,tv=th.trigger,ty=th.pin,tx=th.pinSpacing,tb=th.invalidateOnRefresh,tS=th.anticipatePin,tT=th.onScrubComplete,tk=th.onSnapComplete,tV=th.once,tB=th.snap,tI=th.pinReparent,tF=th.pinSpacer,tz=th.containerAnimation,tY=th.fastScrollEnd,tJ=th.preventOverlaps,t0=e.horizontal||e.containerAnimation&&!1!==e.horizontal?R:D,t1=!tg&&0!==tg,el=V(e.scroller||Y),ec=W.core.getCache(el),ep=tU(el),ev=("pinType"in e?e.pinType:E(el,"pinType")||ep&&"fixed")==="fixed",eb=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],eP=t1&&e.toggleActions.split(" "),eE="markers"in e?e.markers:ed.markers,eT=ep?0:parseFloat(ee(el)["border"+t0.p2+t7])||0,eM=this,eC=e.onRefreshInit&&function(){return e.onRefreshInit(eM)},ek=tW(el,ep,t0),eO=!ep||~b.indexOf(el)?tN(el):function(){return eH},e_=0,eR=0,eD=0,eB=j(el,t0);if(eM._startClamp=eM._endClamp=!1,eM._dir=t0,tS*=45,eM.scroller=el,eM.scroll=tz?tz.time.bind(tz):eB,l=eB(),eM.vars=e,r=r||e.animation,"refreshPriority"in e&&(tl=1,-9999===e.refreshPriority&&(tA=eM)),ec.tweenScroll=ec.tweenScroll||{top:e1(el,D),left:e1(el,R)},eM.tweenTo=s=ec.tweenScroll[t0.p],eM.scrubDuration=function(t){(H=t$(t)&&t)?X?X.duration(t):X=W.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:H,paused:!0,onComplete:function(){return tT&&tT(eM)}}):(X&&X.progress(1).kill(),X=0)},r&&(r.vars.lazy=!1,r._initted&&!eM.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),eM.animation=r.pause(),r.scrollTrigger=eM,eM.scrubDuration(tg),z=0,td||(td=r.vars.id)),tB&&((!tH(tB)||tB.push)&&(tB={snapTo:tB}),"scrollBehavior"in $.style&&W.set(ep?[$,G]:el,{scrollBehavior:"auto"}),x.forEach(function(t){return tG(t)&&t.target===(ep?q.scrollingElement||G:el)&&(t.smooth=!1)}),a=tG(tB.snapTo)?tB.snapTo:"labels"===tB.snapTo?(i=r,function(t){return W.utils.snap(eo(i),t)}):"labelsDirectional"===tB.snapTo?(n=r,function(t,e){return ea(eo(n))(t,e.direction)}):!1!==tB.directional?function(t,e){return ea(tB.snapTo)(t,tC()-eR<500?0:e.direction)}:W.utils.snap(tB.snapTo),K=tH(K=tB.duration||{min:.1,max:2})?Z(K.min,K.max):Z(K,K),tt=W.delayedCall(tB.delay||H/2||.1,function(){var t=eB(),e=tC()-eR<500,i=s.tween;if((e||10>Math.abs(eM.getVelocity()))&&!i&&!tr&&e_!==t){var n,o,l=(t-h)/y,u=r&&!t1?r.totalProgress():l,f=e?0:(u-N)/(tC()-J)*1e3||0,d=W.utils.clamp(-l,1-l,tZ(f/2)*f/.185),p=l+(!1===tB.inertia?0:d),m=tB,g=m.onStart,v=m.onInterrupt,x=m.onComplete;
1if(t$(n=a(p,eM))||(n=p),o=Math.max(0,Math.round(h+n*y)),t<=c&&t>=h&&o!==t){if(i&&!i._initted&&i.data<=tZ(o-t))return;!1===tB.inertia&&(d=n-l),s(o,{duration:K(tZ(.185*Math.max(tZ(p-u),tZ(n-u))/f/.05||0)),ease:tB.ease||"power3",data:tZ(o-t),onInterrupt:function(){return tt.restart(!0)&&v&&v(eM)},onComplete:function(){eM.update(),e_=eB(),r&&!t1&&(X?X.resetTo("totalProgress",n,r._tTime/r._tDur):r.progress(n)),z=N=r&&!t1?r.totalProgress():eM.progress,tk&&tk(eM),x&&x(eM)}},t,d*y,o-t-d*y),g&&g(eM,s.tween)}}else eM.isActive&&e_!==t&&tt.restart(!0)}).pause()),td&&(ex[td]=eM),(ta=(tv=eM.trigger=V(tv||!0!==ty&&ty))&&tv._gsap&&tv._gsap.stRevert)&&(ta=ta(eM)),ty=!0===ty?tv:V(ty),tq(tf)&&(tf={targets:tv,className:tf}),ty&&(!1===tx||tx===t9||(tx=(!!tx||!ty.parentNode||!ty.parentNode.style||"flex"!==ee(ty.parentNode).display)&&t4),eM.pin=ty,(o=W.core.getCache(ty)).spacer?w=o.pinState:(tF&&((tF=V(tF))&&!tF.nodeType&&(tF=tF.current||tF.nativeElement),o.spacerIsNative=!!tF,tF&&(o.spacerState=eG(tF))),o.spacer=T=tF||q.createElement("div"),T.classList.add("pin-spacer"),td&&T.classList.add("pin-spacer-"+td),o.pinState=w=eG(ty)),!1!==e.force3D&&W.set(ty,{force3D:!0}),eM.spacer=T=o.spacer,_=(U=ee(ty))[tx+t0.os2],M=W.getProperty(ty),C=W.quickSetter(ty,t0.a,"px"),eX(ty,T,U),S=eG(ty)),eE){g=tH(eE)?ei(eE,ef):ef,p=eg("scroller-start",td,el,t0,g,0),m=eg("scroller-end",td,el,t0,g,0,p),A=p["offset"+t0.op.d2];var ej=V(E(el,"content")||el);f=this.markerStart=eg("start",td,ej,t0,g,A,0,tz),d=this.markerEnd=eg("end",td,ej,t0,g,A,0,tz),tz&&(to=W.quickSetter([f,d],t0.a,"px")),ev||b.length&&!0===E(el,"fixedMarkers")||(er(ep?$:el),W.set([p,m],{force3D:!0}),L=W.quickSetter(p,t0.a,"px"),F=W.quickSetter(m,t0.a,"px"))}if(tz){var eL=tz.vars.onUpdate,eI=tz.vars.onUpdateParams;tz.eventCallback("onUpdate",function(){eM.update(0,0,1),eL&&eL.apply(tz,eI||[])})}if(eM.previous=function(){return ey[ey.indexOf(eM)-1]},eM.next=function(){return ey[ey.indexOf(eM)+1]},eM.revert=function(t,e){if(!e)return eM.kill(!0);var i=!1!==t||!eM.enabled,n=te;i!==eM.isReverted&&(i&&(ti=Math.max(eB(),eM.scroll.rec||0),eD=eM.progress,ts=r&&r.progress()),f&&[f,d,p,m].forEach(function(t){return t.style.display=i?"none":"block"}),i&&(te=eM,eM.update(i)),!ty||tI&&eM.isActive||(i?eW(ty,T,w):eX(ty,T,ee(ty),B)),i||eM.update(i),te=n,eM.isReverted=i)},eM.refresh=function(i,n,o,a){if(!te&&eM.enabled||n){if(ty&&i&&tO)return void eu(t,"scrollEnd",eA);!tE&&eC&&eC(eM),te=eM,s.tween&&!o&&(s.tween.kill(),s.tween=0),X&&X.pause(),tb&&r&&(r.revert({kill:!1}).invalidate(),r.getChildren?r.getChildren(!0,!0,!1).forEach(function(t){return t.vars.immediateRender&&t.render(0,!0,!0)}):r.vars.immediateRender&&r.render(0,!0,!0)),eM.isReverted||eM.revert(!0,!0),eM._subPinOffset=!1;var g,x,b,E,A,C,_,L,F,U,z,N,Y,H=ek(),K=eO(),Q=tz?tz.duration():tX(el,t0),Z=y<=.01||!y,J=0,tr=a||0,tn=tH(o)?o.end:e.end,to=e.endTrigger||tv,ta=tH(o)?o.start:e.start||(0!==e.start&&tv?ty?"0 0":"0 100%":0),tl=eM.pinnedContainer=e.pinnedContainer&&V(e.pinnedContainer,eM),th=tv&&Math.max(0,ey.indexOf(eM))||0,tc=th;for(eE&&tH(o)&&(N=W.getProperty(p,t0.p),Y=W.getProperty(m,t0.p));tc-- >0;)(C=ey[tc]).end||C.refresh(0,1)||(te=eM),(_=C.pin)&&(_===tv||_===ty||_===tl)&&!C.isReverted&&(U||(U=[]),U.unshift(C),C.revert(!0,!0)),C!==ey[tc]&&(th--,tc--);for(tG(ta)&&(ta=ta(eM)),h=eK(ta=tR(ta,"start",eM),tv,H,t0,eB(),f,p,eM,K,eT,ev,Q,tz,eM._startClamp&&"_startClamp")||(ty?-.001:0),tG(tn)&&(tn=tn(eM)),tq(tn)&&!tn.indexOf("+=")&&(~tn.indexOf(" ")?tn=(tq(ta)?ta.split(" ")[0]:"")+tn:(J=em(tn.substr(2),H),tn=tq(ta)?ta:(tz?W.utils.mapRange(0,tz.duration(),tz.scrollTrigger.start,tz.scrollTrigger.end,h):h)+J,to=tv)),tn=tR(tn,"end",eM),c=Math.max(h,eK(tn||(to?"100% 0":Q),to,H,t0,eB()+J,d,m,eM,K,eT,ev,Q,tz,eM._endClamp&&"_endClamp"))||-.001,J=0,tc=th;tc--;)(_=(C=ey[tc]||{}).pin)&&C.start-C._pinPush<=h&&!tz&&C.end>0&&(g=C.end-(eM._startClamp?Math.max(0,C.start):C.start),(_===tv&&C.start-C._pinPush<h||_===tl)&&isNaN(ta)&&(J+=g*(1-C.progress)),_===ty&&(tr+=g));if(h+=J,c+=J,eM._startClamp&&(eM._startClamp+=J),eM._endClamp&&!tE&&(eM._endClamp=c||-.001,c=Math.min(c,tX(el,t0))),y=c-h||(h-=.01)&&.001,Z&&(eD=W.utils.clamp(0,1,W.utils.normalize(h,c,ti))),eM._pinPush=tr,f&&J&&((g={})[t0.a]="+="+J,tl&&(g[t0.p]="-="+eB()),W.set([f,d],g)),ty&&!(tw&&eM.end>=tX(el,t0)))g=ee(ty),E=t0===D,b=eB(),k=parseFloat(M(t0.a))+tr,!Q&&c>1&&(z={style:z=(ep?q.scrollingElement||G:el).style,value:z["overflow"+t0.a.toUpperCase()]},ep&&"scroll"!==ee($)["overflow"+t0.a.toUpperCase()]&&(z.style["overflow"+t0.a.toUpperCase()]="scroll")),eX(ty,T,g),S=eG(ty),x=en(ty,!0),L=ev&&j(el,E?R:D)(),tx?((B=[tx+t0.os2,y+tr+"px"]).t=T,(tc=tx===t4?es(ty,t0)+y+tr:0)&&(B.push(t0.d,tc+"px"),"auto"!==T.style.flexBasis&&(T.style.flexBasis=tc+"px")),eq(B),tl&&ey.forEac
1h(function(t){t.pin===tl&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)}),ev&&eB(ti)):(tc=es(ty,t0))&&"auto"!==T.style.flexBasis&&(T.style.flexBasis=tc+"px"),ev&&((A={top:x.top+(E?b-h:L)+"px",left:x.left+(E?L:b-h)+"px",boxSizing:"border-box",position:"fixed"})[t2]=A["max"+t7]=Math.ceil(x.width)+"px",A[t3]=A["max"+et]=Math.ceil(x.height)+"px",A[t9]=A[t9+"Top"]=A[t9+t5]=A[t9+t8]=A[t9+t6]="0",A[t4]=g[t4],A[t4+"Top"]=g[t4+"Top"],A[t4+t5]=g[t4+t5],A[t4+t8]=g[t4+t8],A[t4+t6]=g[t4+t6],P=e$(w,A,tI),tE&&eB(0)),r?(F=r._initted,tu(1),r.render(r.duration(),!0,!0),O=M(t0.a)-k+y+tr,I=Math.abs(y-O)>1,ev&&I&&P.splice(P.length-2,2),r.render(0,!0,!0),F||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),tu(0)):O=y,z&&(z.value?z.style["overflow"+t0.a.toUpperCase()]=z.value:z.style.removeProperty("overflow-"+t0.a));else if(tv&&eB()&&!tz)for(x=tv.parentNode;x&&x!==$;)x._pinOffset&&(h-=x._pinOffset,c-=x._pinOffset),x=x.parentNode;U&&U.forEach(function(t){return t.revert(!1,!0)}),eM.start=h,eM.end=c,l=u=tE?ti:eB(),tz||tE||(l<ti&&eB(ti),eM.scroll.rec=0),eM.revert(!1,!0),eR=tC(),tt&&(e_=-1,tt.restart(!0)),te=0,r&&t1&&(r._initted||ts)&&r.progress()!==ts&&r.progress(ts||0,!0).render(r.time(),!0,!0),(Z||eD!==eM.progress||tz||tb||r&&!r._initted)&&(r&&!t1&&(r._initted||eD||!1!==r.vars.immediateRender)&&r.totalProgress(tz&&h<-.001&&!eD?W.utils.normalize(h,c,0):eD,!0),eM.progress=Z||(l-h)/y===eD?0:eD),ty&&tx&&(T._pinOffset=Math.round(eM.progress*O)),X&&X.invalidate(),isNaN(N)||(N-=W.getProperty(p,t0.p),Y-=W.getProperty(m,t0.p),e0(p,t0,N),e0(f,t0,N-(a||0)),e0(m,t0,Y),e0(d,t0,Y-(a||0))),Z&&!tE&&eM.update(),!tm||tE||v||(v=!0,tm(eM),v=!1)}},eM.getVelocity=function(){return(eB()-u)/(tC()-J)*1e3||0},eM.endAnimation=function(){tK(eM.callbackAnimation),r&&(X?X.progress(1):r.paused()?t1||tK(r,eM.direction<0,1):tK(r,r.reversed()))},eM.labelToScroll=function(t){return r&&r.labels&&(h||eM.refresh()||h)+r.labels[t]/r.duration()*y||0},eM.getTrailing=function(t){var e=ey.indexOf(eM),r=eM.direction>0?ey.slice(0,e).reverse():ey.slice(e+1);return(tq(t)?r.filter(function(e){return e.vars.preventOverlaps===t}):r).filter(function(t){return eM.direction>0?t.end<=h:t.start>=c})},eM.update=function(t,e,i){if(!tz||i||t){var n,o,a,f,d,m,g,v=!0===tE?ti:eM.scroll(),x=t?0:(v-h)/y,b=x<0?0:x>1?1:x||0,w=eM.progress;if(e&&(u=l,l=tz?eB():v,tB&&(N=z,z=r&&!t1?r.totalProgress():b)),tS&&ty&&!te&&!tM&&tO&&(!b&&h<v+(v-u)/(tC()-J)*tS?b=1e-4:1===b&&c>v+(v-u)/(tC()-J)*tS&&(b=.9999)),b!==w&&eM.enabled){if(f=(d=(n=eM.isActive=!!b&&b<1)!=(!!w&&w<1))||!!b!=!!w,eM.direction=b>w?1:-1,eM.progress=b,f&&!te&&(o=b&&!w?0:1===b?1:1===w?2:3,t1&&(a=!d&&"none"!==eP[o+1]&&eP[o+1]||eP[o],g=r&&("complete"===a||"reset"===a||a in r))),tJ&&(d||g)&&(g||tg||!r)&&(tG(tJ)?tJ(eM):eM.getTrailing(tJ).forEach(function(t){return t.endAnimation()})),!t1&&(!X||te||tM?r&&r.totalProgress(b,!!(te&&(eR||t))):(X._dp._time-X._start!==X._time&&X.render(X._dp._time-X._start),X.resetTo?X.resetTo("totalProgress",b,r._tTime/r._tDur):(X.vars.totalProgress=b,X.invalidate().restart()))),ty)if(t&&tx&&(T.style[tx+t0.os2]=_),ev){if(f){if(m=!t&&b>w&&c+1>v&&v+1>=tX(el,t0),tI)if(!t&&(n||m)){var E=en(ty,!0),A=v-h;eZ(ty,$,E.top+(t0===D?A:0)+"px",E.left+(t0===D?0:A)+"px")}else eZ(ty,T);eq(n||m?P:S),I&&b<1&&n||C(k+(1!==b||m?0:O))}}else C(tL(k+O*b));!tB||s.tween||te||tM||tt.restart(!0),tf&&(d||tV&&b&&(b<1||!tP))&&Q(tf.targets).forEach(function(t){return t.classList[n||tV?"add":"remove"](tf.className)}),!tc||t1||t||tc(eM),f&&!te?(t1&&(g&&("complete"===a?r.pause().totalProgress(1):"reset"===a?r.restart(!0).pause():"restart"===a?r.restart(!0):r[a]()),tc&&tc(eM)),(d||!tP)&&(tp&&d&&tQ(eM,tp),eb[o]&&tQ(eM,eb[o]),tV&&(1===b?eM.kill(!1,1):eb[o]=0),!d&&eb[o=1===b?1:3]&&tQ(eM,eb[o])),tY&&!n&&Math.abs(eM.getVelocity())>(t$(tY)?tY:2500)&&(tK(eM.callbackAnimation),X?X.progress(1):tK(r,"reverse"===a?1:!b,1))):t1&&tc&&!te&&tc(eM)}if(F){var M=tz?v/tz.duration()*(tz._caScrollDist||0):v;L(M+ +!!p._isFlipped),F(M)}to&&to(-v/tz.duration()*(tz._caScrollDist||0))}},eM.enable=function(e,r){eM.enabled||(eM.enabled=!0,eu(el,"resize",eS),ep||eu(el,"scroll",ew),eC&&eu(t,"refreshInit",eC),!1!==e&&(eM.progress=eD=0,l=u=e_=eB()),!1!==r&&eM.refresh())},eM.getTween=function(t){return t&&s?s.tween:X},eM.setPositions=function(t,e,r,i){if(tz){var n=tz.scrollTrigger,s=tz.duration(),o=n.end-n.start;t=n.start+o*t/s,e=n.start+o*e/s}eM.refresh(!1,!1,{start:tD(t,r&&!!eM._startClamp),end:tD(e,r&&!!eM._endClamp)},i),eM.update()},eM.adjustPinSpacing=function(t){if(B&&t){var e=B.indexOf(t0.d)+1;B[e]=parseFloat(B[e])+t+"px",B[1]=parseFloat(B[1])+t+"px",eq(B)}},eM.disable=function(e,r){if(!1!==e&&eM.revert(!0,!0),eM.enabled&&(eM.enabled=eM.isActive=!1,r||X&&X.pause(),ti=0,o&&(o.uncache=1),eC&&eh(t,"refreshInit",eC),tt&&(tt.pause(),s.tween&&s.tween.kill()&&(s.tween=0)),!ep)){for(var i=ey.length;i--;)if(ey[i].scroller===el&&ey[i]!==eM)return;eh(el,"resize",eS),ep||eh(el,"scroll",ew)}},eM.kill=function(t,i){eM.disable(t,i),X&&!i&&X.kill(),td&&delete ex[td];var n=ey.indexOf(eM);n>=0&&ey.splice(n,1),n===tn&&eF>
10&&tn--,n=0,ey.forEach(function(t){return t.scroller===eM.scroller&&(n=1)}),n||tE||(eM.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),i||r.kill()),f&&[f,d,p,m].forEach(function(t){return t.parentNode&&t.parentNode.removeChild(t)}),tA===eM&&(tA=0),ty&&(o&&(o.uncache=1),n=0,ey.forEach(function(t){return t.pin===ty&&n++}),n||(o.spacer=0)),e.onKill&&e.onKill(eM)},ey.push(eM),eM.enable(!1,!1),ta&&ta(eM),r&&r.add&&!y){var eU=eM.update;eM.update=function(){eM.update=eU,x.cache++,h||c||eM.refresh()},W.delayedCall(.01,eM.update),y=.01,h=c=0}else eM.refresh();ty&&eV()},t.register=function(e){return X||(W=e||tF(),tI()&&window.document&&t.enable(),X=t_),X},t.defaults=function(t){if(t)for(var e in t)ed[e]=t[e];return ed},t.disable=function(t,e){t_=0,ey.forEach(function(r){return r[e?"kill":"disable"](t)}),eh(Y,"wheel",ew),eh(q,"scroll",ew),clearInterval(tt),eh(q,"touchcancel",tj),eh($,"touchstart",tj),el(eh,q,"pointerdown,touchstart,mousedown",tV),el(eh,q,"pointerup,touchend,mouseup",tB),K.kill(),tY(eh);for(var r=0;r<x.length;r+=3)ec(eh,x[r],x[r+1]),ec(eh,x[r],x[r+2])},t.enable=function(){if(Y=window,G=(q=document).documentElement,$=q.body,W&&(Q=W.utils.toArray,Z=W.utils.clamp,tg=W.core.context||tj,tu=W.core.suppressOverwrites||tj,tv=Y.history.scrollRestoration||"auto",eI=Y.pageYOffset||0,W.core.globals("ScrollTrigger",t),$)){t_=1,(ty=document.createElement("div")).style.height="100vh",ty.style.position="absolute",eB(),function t(){return t_&&requestAnimationFrame(t)}(),N.register(W),t.isTouch=N.isTouch,tm=N.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),tf=1===N.isTouch,eu(Y,"wheel",ew),H=[Y,q,G,$],W.matchMedia?(t.matchMedia=function(t){var e,r=W.matchMedia();for(e in t)r.add(e,t[e]);return r},W.addEventListener("matchMediaInit",function(){eO(),e_()}),W.addEventListener("matchMediaRevert",function(){return ek()}),W.addEventListener("matchMedia",function(){eL(0,1),eM("matchMedia")}),W.matchMedia().add("(orientation: portrait)",function(){return eP(),eP})):console.warn("Requires GSAP 3.11.0 or later"),eP(),eu(q,"scroll",ew);var e,r,i=$.hasAttribute("style"),n=$.style,s=n.borderTopStyle,o=W.core.Animation.prototype;for(o.revert||Object.defineProperty(o,"revert",{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle="solid",D.m=Math.round((e=en($)).top+D.sc())||0,R.m=Math.round(e.left+R.sc())||0,s?n.borderTopStyle=s:n.removeProperty("border-top-style"),i||($.setAttribute("style",""),$.removeAttribute("style")),tt=setInterval(eb,250),W.delayedCall(.5,function(){return tM=0}),eu(q,"touchcancel",tj),eu($,"touchstart",tj),el(eu,q,"pointerdown,touchstart,mousedown",tV),el(eu,q,"pointerup,touchend,mouseup",tB),ti=W.utils.checkPrefix("transform"),eN.push(ti),X=tC(),K=W.delayedCall(.2,eL).pause(),ta=[q,"visibilitychange",function(){var t=Y.innerWidth,e=Y.innerHeight;q.hidden?(ts=t,to=e):(ts!==t||to!==e)&&eS()},q,"DOMContentLoaded",eL,Y,"load",eL,Y,"resize",eS],tY(eu),ey.forEach(function(t){return t.enable(0,1)}),r=0;r<x.length;r+=3)ec(eh,x[r],x[r+1]),ec(eh,x[r],x[r+2])}},t.config=function(e){"limitCallbacks"in e&&(tP=!!e.limitCallbacks);var r=e.syncInterval;r&&clearInterval(tt)||(tt=r)&&setInterval(eb,r),"ignoreMobileResize"in e&&(tf=1===t.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(tY(eh)||tY(eu,e.autoRefreshEvents||"none"),th=-1===(e.autoRefreshEvents+"").indexOf("resize"))},t.scrollerProxy=function(t,e){var r=V(t),i=x.indexOf(r),n=tU(r);~i&&x.splice(i,n?6:2),e&&(n?b.unshift(Y,e,$,e,G,e):b.unshift(r,e))}
1,t.clearMatchMedia=function(t){ey.forEach(function(e){return e._ctx&&e._ctx.query===t&&e._ctx.kill(!0,!0)})},t.isInViewport=function(t,e,r){var i=(tq(t)?V(t):t).getBoundingClientRect(),n=i[r?t2:t3]*e||0;return r?i.right-n>0&&i.left+n<Y.innerWidth:i.bottom-n>0&&i.top+n<Y.innerHeight},t.positionInViewport=function(t,e,r){tq(t)&&(t=V(t));var i=t.getBoundingClientRect(),n=i[r?t2:t3],s=null==e?n/2:e in ep?ep[e]*n:~e.indexOf("%")?parseFloat(e)*n/100:parseFloat(e)||0;return r?(i.left+s)/Y.innerWidth:(i.top+s)/Y.innerHeight},t.killAll=function(t){if(ey.slice(0).forEach(function(t){return"ScrollSmoother"!==t.vars.id&&t.kill()}),!0!==t){var e=eE.killAll||[];eE={},e.forEach(function(t){return t()})}},t}();e2.version="3.14.2",e2.saveStyles=function(t){return t?Q(t).forEach(function(t){if(t&&t.style){var e=eC.indexOf(t);e>=0&&eC.splice(e,5),eC.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),W.core.getCache(t),tg())}}):eC},e2.revert=function(t,e){return e_(!t,e)},e2.create=function(t,e){return new e2(t,e)},e2.refresh=function(t){return t?eS(!0):(X||e2.register())&&eL(!0)},e2.update=function(t){return++x.cache&&eU(2*(!0===t))},e2.clearScrollMemory=eR,e2.maxScroll=function(t,e){return tX(t,e?R:D)},e2.getScrollFunc=function(t,e){return j(V(t),e?R:D)},e2.getById=function(t){return ex[t]},e2.getAll=function(){return ey.filter(function(t){return"ScrollSmoother"!==t.vars.id})},e2.isScrolling=function(){return!!tO},e2.snapDirectional=ea,e2.addEventListener=function(t,e){var r=eE[t]||(eE[t]=[]);~r.indexOf(e)||r.push(e)},e2.removeEventListener=function(t,e){var r=eE[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},e2.batch=function(t,e){var r,i=[],n={},s=e.interval||.016,o=e.batchMax||1e9,a=function(t,e){var r=[],i=[],n=W.delayedCall(s,function(){e(r,i),r=[],i=[]}).pause();return function(t){r.length||n.restart(!0),r.push(t.trigger),i.push(t),o<=r.length&&n.progress(1)}};for(r in e)n[r]="on"===r.substr(0,2)&&tG(e[r])&&"onRefreshInit"!==r?a(r,e[r]):e[r];return tG(o)&&(o=o(),eu(e2,"refresh",function(){return o=e.batchMax()})),Q(t).forEach(function(t){var e={};for(r in n)e[r]=n[r];e.trigger=t,i.push(e2.create(e))}),i};var e3,e5=function(t,e,r,i){return e>i?t(i):e<0&&t(0),r>i?(i-e)/(r-e):r<0?e/(e-r):1},e6=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(N.isTouch?" pinch-zoom":""):"none",e===G&&t($,r)},e8={auto:1,scroll:1},e4=function(t){var e,r=t.event,i=t.target,n=t.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,o=s._gsap||W.core.getCache(s),a=tC();if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==$&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(e8[(e=ee(s)).overflowY]||e8[e.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==i&&!tU(s)&&(e8[(e=ee(s)).overflowY]||e8[e.overflowX]),o._isScrollT=a}(o._isScroll||"x"===n)&&(r.stopPropagation(),r._gsapAllow=!0)},e9=function(t,e,r,i){return N.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:i=i&&e4,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&eu(q,N.eventTypes[0],rt,!1,!0)},onDisable:function(){return eh(q,N.eventTypes[0],rt,!0)}})},e7=/(input|label|select|textarea)/i,rt=function(t){var e=e7.test(t.target.tagName);(e||e3)&&(t._gsapAllow=!0,e3=e)},re=function(t){tH(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,r,i,n,s,o,a,l,u=t,h=u.normalizeScrollX,c=u.momentum,f=u.allowNestedScroll,d=u.onRelease,p=V(t.target)||G,m=W.core.globals().ScrollSmoother,g=m&&m.get(),v=tm&&(t.content&&V(t.content)||g&&!1!==t.content&&!g.smooth()&&g.content()),y=j(p,D),b=j(p,R),w=1,P=(N.isTouch&&Y.visualViewport?Y.visualViewport.scale*Y.visualViewport.width:Y.outerWidth)/Y.innerWidth,S=0,E=tG(c)?function(){return c(e)}:function(){return c||2.8},T=e9(p,t.type,!0,f),A=function(){return n=!1},M=tj,C=tj,k=function(){r=tX(p,D),C=Z(+!!tm,r),h&&(M=Z(0,tX(p,R))),i=eD},O=function(){v._gsap.y=tL(parseFloat(v._gsap.y)+y.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",y.offset=y.cacheID=0},_=function(){if(n){requestAnimationFrame(A);var t=tL(e.deltaY/2),r=C(y.v-t);if(v&&r!==y.v+y.offset){y.offset=r-y.v;var i=tL((parseFloat(v&&v._gsap.y)||0)-y.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+i+", 0, 1)",v._gsap.y=i+"px",y.cacheID=x.cache,eU()}return!0}y.offset&&O(),n=!0},B=function(){k(),s.isActive()&&s.vars.scrollY>r&&(y()>r?s.progress(1)&&y(r):s.resetTo("scrollY",r))};return v&&W.set(v,{y:"+=0"}),t.ignoreCheck=function(t){return tm&&"touchmove"===t.type&&_(t)||w>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){n=!1;var t=w;
1w=tL((Y.visualViewport&&Y.visualViewport.scale||1)/P),s.pause(),t!==w&&e6(p,w>1.01||!h&&"x"),o=b(),a=y(),k(),i=eD},t.onRelease=t.onGestureStart=function(t,e){if(y.offset&&O(),e){x.cache++;var i,n,o=E();h&&(n=(i=b())+-(.05*o*t.velocityX)/.227,o*=e5(b,i,n,tX(p,R)),s.vars.scrollX=M(n)),n=(i=y())+-(.05*o*t.velocityY)/.227,o*=e5(y,i,n,tX(p,D)),s.vars.scrollY=C(n),s.invalidate().duration(o).play(.01),(tm&&s.vars.scrollY>=r||i>=r-1)&&W.to({},{onUpdate:B,duration:o})}else l.restart(!0);d&&d(t)},t.onWheel=function(){s._ts&&s.pause(),tC()-S>1e3&&(i=0,S=tC())},t.onChange=function(t,e,r,n,s){if(eD!==i&&k(),e&&h&&b(M(n[2]===e?o+(t.startX-t.x):b()+e-n[1])),r){y.offset&&O();var l=s[2]===r,u=l?a+t.startY-t.y:y()+r-s[1],c=C(u);l&&u!==c&&(a+=c-u),y(c)}(r||e)&&eU()},t.onEnable=function(){e6(p,!h&&"x"),e2.addEventListener("refresh",B),eu(Y,"resize",B),y.smooth&&(y.target.style.scrollBehavior="auto",y.smooth=b.smooth=!1),T.enable()},t.onDisable=function(){e6(p,!0),eh(Y,"resize",B),e2.removeEventListener("refresh",B),T.kill()},t.lockAxis=!1!==t.lockAxis,(e=new N(t)).iOS=tm,tm&&!y()&&y(1),tm&&W.ticker.add(tj),l=e._dc,s=W.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:h?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:eJ(y,y(),function(){return s.pause()})},onUpdate:eU,onComplete:l.vars.onComplete}),e};e2.sort=function(t){if(tG(t))return ey.sort(t);var e=Y.pageYOffset||0;return e2.getAll().forEach(function(t){return t._sortY=t.trigger?e+t.trigger.getBoundingClientRect().top:t.start+Y.innerHeight}),ey.sort(t||function(t,e){return -1e6*(t.vars.refreshPriority||0)+(t.vars.containerAnimation?1e6:t._sortY)-((e.vars.containerAnimation?1e6:e._sortY)+-1e6*(e.vars.refreshPriority||0))})},e2.observe=function(t){return new N(t)},e2.normalizeScroll=function(t){if(void 0===t)return tc;if(!0===t&&tc)return tc.enable();if(!1===t){tc&&tc.kill(),tc=t;return}var e=t instanceof N?t:re(t);return tc&&tc.target===e.target&&tc.kill(),tU(e.target)&&(tc=e),e},e2.core={_getVelocityProp:L,_inputObserver:e9,_scrollers:x,_proxies:b,bridge:{ss:function(){tO||eM("scrollStart"),tO=tC()},ref:function(){return te}}},tF()&&W.registerPlugin(e2)},78754:(t,e,r)=>{"use strict";r.d(e,{Q:()=>i});let i={value:null,addProjectionMetrics:null}},80160:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useMergedRef",{enumerable:!0,get:function(){return n}});let i=r(1521);function n(t,e){let r=(0,i.useRef)(null),n=(0,i.useRef)(null);return(0,i.useCallback)(i=>{if(null===i){let t=r.current;t&&(r.current=null,t());let e=n.current;e&&(n.current=null,e())}else t&&(r.current=s(t,i)),e&&(n.current=s(e,i))},[t,e])}function s(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let r=t(e);return"function"==typeof r?r:()=>t(null)}}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},81425:(t,e,r)=>{"use strict";r.d(e,{S:()=>i});let i=t=>!!(t&&t.getVelocity)},81999:(t,e,r)=>{"use strict";function i(t,e){if(t?.inherit&&e){let{inherit:r,...i}=t;return{...e,...i}}return t}r.d(e,{K:()=>i})},82579:(t,e,r)=>{"use strict";r.d(e,{Ay:()=>tw});var i,n,s,o,a,l,u,h=r(73356),c={},f=180/Math.PI,d=Math.PI/180,p=Math.atan2,m=/([A-Z])/g,g=/(left|right|width|margin|padding|x)/i,v=/[\s,\(]\S/,y={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},x=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},b=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},w=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},P=function(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},S=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},E=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},T=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},A=function(t,e,r){return t.style[e]=r},M=function(t,e,r){return t.style.setProperty(e,r)},C=function(t,e,r){return t._gsap[e]=r},k=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},O=function(t,e,r,i,n){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(n,s)},_=function(t,e,r,i,n){var s=t._gsap;s[e]=r,s.renderTransform(n,s)},R="transform",D=R+"Origin",V=function t(e,r){var i=this,n=this.target,s=n.style,o=n._gsap;if(e in c&&s){if(this.tfm=this.tfm||{},"transform"===e)return y.transform.split(",").forEach(function(e){return t.call(i,e,r)});if(~(e=y[e]||e).indexOf(",")?e.split(",").forEach(function(t){return i.tfm[t]=Z(n,t)}
1):this.tfm[e]=o.x?o[e]:Z(n,e),e===D&&(this.tfm.zOrigin=o.zOrigin),this.props.indexOf(R)>=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(D,r,"")),e=R}(s||r)&&this.props.push(e,r,s[e])},B=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},j=function(){var t,e,r=this.props,i=this.target,n=i.style,s=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?2===r[t+1]?i[r[t]](r[t+2]):i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty("--"===r[t].substr(0,2)?r[t]:r[t].replace(m,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)s[e]=this.tfm[e];s.svg&&(s.renderTransform(),i.setAttribute("data-svg-origin",this.svgo||"")),(t=l())&&t.isStart||n[R]||(B(n),s.zOrigin&&n[D]&&(n[D]+=" "+s.zOrigin+"px",s.zOrigin=0,s.renderTransform()),s.uncache=1)}},L=function(t,e){var r={target:t,props:[],revert:j,save:V};return t._gsap||h.os.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(t){return r.save(t)}),r},I=function(t,e){var r=i.createElementNS?i.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):i.createElement(t);return r&&r.style?r:i.createElement(t)},F=function t(e,r,i){var n=getComputedStyle(e);return n[r]||n.getPropertyValue(r.replace(m,"-$1").toLowerCase())||n.getPropertyValue(r)||!i&&t(e,z(r)||r,1)||""},U="O,Moz,ms,Ms,Webkit".split(","),z=function(t,e,r){var i=(e||o).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(U[n]+t in i););return n<0?null:(3===n?"ms":n>=0?U[n]:"")+t},N=function(){"undefined"!=typeof window&&window.document&&(n=(i=window.document).documentElement,o=I("div")||{style:{}},I("div"),D=(R=z(R))+"Origin",o.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",u=!!z("perspective"),l=h.os.core.reverting,s=1)},W=function(t){var e,r=t.ownerSVGElement,i=I("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),s=t.cloneNode(!0);s.style.display="block",i.appendChild(s),n.appendChild(i);try{e=s.getBBox()}catch(t){}return i.removeChild(s),n.removeChild(i),e},X=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Y=function(t){var e,r;try{e=t.getBBox()}catch(i){e=W(t),r=1}return e&&(e.width||e.height)||r||(e=W(t)),!e||e.width||e.x||e.y?e:{x:+X(t,["x","cx","x1"])||0,y:+X(t,["y","cy","y1"])||0,width:0,height:0}},q=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Y(t))},G=function(t,e){if(e){var r,i=t.style;e in c&&e!==D&&(e=R),i.removeProperty?(("ms"===(r=e.substr(0,2))||"webkit"===e.substr(0,6))&&(e="-"+e),i.removeProperty("--"===r?e:e.replace(m,"-$1").toLowerCase())):i.removeAttribute(e)}},$=function(t,e,r,i,n,s){var o=new h.J7(t._pt,e,r,0,1,s?T:E);return t._pt=o,o.b=i,o.e=n,t._props.push(r),o},H={deg:1,rad:1,turn:1},K={grid:1,flex:1},Q=function t(e,r,n,s){var a,l,u,f,d=parseFloat(n)||0,p=(n+"").trim().substr((d+"").length)||"px",m=o.style,v=g.test(r),y="svg"===e.tagName.toLowerCase(),x=(y?"client":"offset")+(v?"Width":"Height"),b="px"===s,w="%"===s;if(s===p||!d||H[s]||H[p])return d;if("px"===p||b||(d=t(e,r,n,"px")),f=e.getCTM&&q(e),(w||"%"===p)&&(c[r]||~r.indexOf("adius")))return a=f?e.getBBox()[v?"width":"height"]:e[x],(0,h.E_)(w?d/a*100:d/100*a);if(m[v?"width":"height"]=100+(b?p:s),l="rem"!==s&&~r.indexOf("adius")||"em"===s&&e.appendChild&&!y?e:e.parentNode,f&&(l=(e.ownerSVGElement||{}).parentNode),l&&l!==i&&l.appendChild||(l=i.body),(u=l._gsap)&&w&&u.width&&v&&u.time===h.au.time&&!u.uncache)return(0,h.E_)(d/u.width*100);if(w&&("height"===r||"width"===r)){var P=e.style[r];e.style[r]=100+s,a=e[x],P?e.style[r]=P:G(e,r)}else(w||"%"===p)&&!K[F(l,"display")]&&(m.position=F(e,"position")),l===e&&(m.position="static"),l.appendChild(o),a=o[x],l.removeChild(o),m.position="absolute";return v&&w&&((u=(0,h.a0)(l)).time=h.au.time,u.width=l[x]),(0,h.E_)(b?a*d/100:a&&d?100/a*d:0)},Z=function(t,e,r,i){var n;return s||N(),e in y&&"transform"!==e&&~(e=y[e]).indexOf(",")&&(e=e.split(",")[0]),c[e]&&"transform"!==e?(n=th(t,i),n="transformOrigin"!==e?n[e]:n.svg?n.origin:tc(F(t,D))+" "+n.zOrigin+"px"):(!(n=t.style[e])||"auto"===n||i||~(n+"").indexOf("calc("))&&(n=ti[e]&&ti[e](t,e,r)||F(t,e)||(0,h.n)(t,e)||+("opacity"===e)),r&&!~(n+"").trim().indexOf(" ")?Q(t,e,n,r)+r:n},J=function(t,e,r,i){if(!r||"none"===r){var n=z(e,t,1),s=n&&F(t,n,1);s&&s!==r?(e=n,r=s):"borderColor"===e&&(r=F(t,"borderTopColor"))}var o,a,l,u,c,f,d,p,m,g,v,y=new h.J7(this._pt,t.style,e,0,1,h.l1),x=0,b=0;
1if(y.b=r,y.e=i,r+="","var(--"===(i+="").substring(0,6)&&(i=F(t,i.substring(4,i.indexOf(")")))),"auto"===i&&(f=t.style[e],t.style[e]=i,i=F(t,e)||i,f?t.style[e]=f:G(t,e)),o=[r,i],(0,h.Uc)(o),r=o[0],i=o[1],l=r.match(h.vM)||[],(i.match(h.vM)||[]).length){for(;a=h.vM.exec(i);)d=a[0],m=i.substring(x,a.index),c?c=(c+1)%5:("rgba("===m.substr(-5)||"hsla("===m.substr(-5))&&(c=1),d!==(f=l[b++]||"")&&(u=parseFloat(f)||0,v=f.substr((u+"").length),"="===d.charAt(1)&&(d=(0,h.B0)(u,d)+v),p=parseFloat(d),g=d.substr((p+"").length),x=h.vM.lastIndex-g.length,g||(g=g||h.Yz.units[e]||v,x===i.length&&(i+=g,y.e+=g)),v!==g&&(u=Q(t,e,f,g)||0),y._pt={_next:y._pt,p:m||1===b?m:",",s:u,c:p-u,m:c&&c<4||"zIndex"===e?Math.round:0});y.c=x<i.length?i.substring(x,i.length):""}else y.r="display"===e&&"none"===i?T:E;return h.Ks.test(i)&&(y.e=0),this._pt=y,y},tt={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},te=function(t){var e=t.split(" "),r=e[0],i=e[1]||"50%";return("top"===r||"bottom"===r||"left"===i||"right"===i)&&(t=r,r=i,i=t),e[0]=tt[r]||r,e[1]=tt[i]||i,e.join(" ")},tr=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,s=e.t,o=s.style,a=e.u,l=s._gsap;if("all"===a||!0===a)o.cssText="",i=1;else for(n=(a=a.split(",")).length;--n>-1;)c[r=a[n]]&&(i=1,r="transformOrigin"===r?D:R),G(s,r);i&&(G(s,R),l&&(l.svg&&s.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",th(s,1),l.uncache=1,B(o)))}},ti={clearProps:function(t,e,r,i,n){if("isFromStart"!==n.data){var s=t._pt=new h.J7(t._pt,e,r,0,0,tr);return s.u=i,s.pr=-10,s.tween=n,t._props.push(r),1}}},tn=[1,0,0,1,0,0],ts={},to=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},ta=function(t){var e=F(t,R);return to(e)?tn:e.substr(7).match(h.vX).map(h.E_)},tl=function(t,e){var r,i,s,o,a=t._gsap||(0,h.a0)(t),l=t.style,u=ta(t);return a.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(s=t.transform.baseVal.consolidate().matrix).a,s.b,s.c,s.d,s.e,s.f]).join(",")?tn:u:(u!==tn||t.offsetParent||t===n||a.svg||(s=l.display,l.display="block",(r=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(o=1,i=t.nextElementSibling,n.appendChild(t)),u=ta(t),s?l.display=s:G(t,"display"),o&&(i?r.insertBefore(t,i):r?r.appendChild(t):n.removeChild(t))),e&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},tu=function(t,e,r,i,n,s){var o,a,l,u,h=t._gsap,c=n||tl(t,!0),f=h.xOrigin||0,d=h.yOrigin||0,p=h.xOffset||0,m=h.yOffset||0,g=c[0],v=c[1],y=c[2],x=c[3],b=c[4],w=c[5],P=e.split(" "),S=parseFloat(P[0])||0,E=parseFloat(P[1])||0;r?c!==tn&&(a=g*x-v*y)&&(l=x/a*S+-y/a*E+(y*w-x*b)/a,u=-v/a*S+g/a*E-(g*w-v*b)/a,S=l,E=u):(S=(o=Y(t)).x+(~P[0].indexOf("%")?S/100*o.width:S),E=o.y+(~(P[1]||P[0]).indexOf("%")?E/100*o.height:E)),i||!1!==i&&h.smooth?(h.xOffset=p+((b=S-f)*g+(w=E-d)*y)-b,h.yOffset=m+(b*v+w*x)-w):h.xOffset=h.yOffset=0,h.xOrigin=S,h.yOrigin=E,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[D]="0px 0px",s&&($(s,h,"xOrigin",f,S),$(s,h,"yOrigin",d,E),$(s,h,"xOffset",p,h.xOffset),$(s,h,"yOffset",m,h.yOffset)),t.setAttribute("data-svg-origin",S+" "+E)},th=function(t,e){var r=t._gsap||new h.n6(t);if("x"in r&&!e&&!r.uncache)return r;var i,n,s,o,a,l,c,m,g,v,y,x,b,w,P,S,E,T,A,M,C,k,O,_,V,B,j,L,I,U,z,N,W=t.style,X=r.scaleX<0,Y=getComputedStyle(t),G=F(t,D)||"0";return i=n=s=l=c=m=g=v=y=0,o=a=1,r.svg=!!(t.getCTM&&q(t)),Y.translate&&(("none"!==Y.translate||"none"!==Y.scale||"none"!==Y.rotate)&&(W[R]=("none"!==Y.translate?"translate3d("+(Y.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==Y.rotate?"rotate("+Y.rotate+") ":"")+("none"!==Y.scale?"scale("+Y.scale.split(" ").join(",")+") ":"")+("none"!==Y[R]?Y[R]:"")),W.scale=W.rotate=W.translate="none"),w=tl(t,r.svg),r.svg&&(r.uncache?(V=t.getBBox(),G=r.xOrigin-V.x+"px "+(r.yOrigin-V.y)+"px",_=""):_=!e&&t.getAttribute("data-svg-origin"),tu(t,_||G,!!_||r.originIsAbsolute,!1!==r.smooth,w)),x=r.xOrigin||0,b=r.yOrigin||0,w!==tn&&(T=w[0],A=w[1],M=w[2],C=w[3],i=k=w[4],n=O=w[5],6===w.length?(o=Math.sqrt(T*T+A*A),a=Math.sqrt(C*C+M*M),l=T||A?p(A,T)*f:0,(g=M||C?p(M,C)*f+l:0)&&(a*=Math.abs(Math.cos(g*d))),r.svg&&(i-=x-(x*T+b*M),n-=b-(x*A+b*C))):(N=w[6],U=w[7],j=w[8],L=w[9],I=w[10],z=w[11],i=w[12],n=w[13],s=w[14],c=(P=p(N,I))*f,P&&(_=k*(S=Math.cos(-P))+j*(E=Math.sin(-P)),V=O*S+L*E,B=N*S+I*E,j=-(k*E)+j*S,L=-(O*E)+L*S,I=-(N*E)+I*S,z=-(U*E)+z*S,k=_,O=V,N=B),m=(P=p(-M,I))*f,P&&(_=T*(S=Math.cos(-P))-j*(E=Math.sin(-P)),V=A*S-L*E,B=M*S-I*E,z=C*E+z*S,T=_,A=V,M=B),l=(P=p(A,T))*f,P&&(_=T*(S=Math.cos(P))+A*(E=Math.sin(P)),V=k*S+O*E,A=A*S-T*E,O=O*S-k*E,T=_,k=V),c&&Math.abs(c)+Math.abs(l)>359.9&&(c=l=0,m=180-m),o=(0,h.E_)(Math.sqrt(T*T+A*A+M*M)),a=(0,h.E_)(Math.sqrt(O*O+N*N)),g=Math.abs(P=p(k,O))>2e-4?P*f:0,y=z?1/(z<0?-z:z):0),r.svg&&(_=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!to(F(t,R)),_&&t.setAttribute("transform",_))),Math.abs(g)>90&&270>Math.abs(g)&&(X?(o*=-1,g+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,g+=g<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+"px",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+"px",r.z=s+"px",r.scaleX=(0,h.E_)(o),r.scaleY=(0,h.E_)(a),r.rotation=(0,h.E_)(l)+"deg",r.rotationX=(0,h.E_)(c)+"deg",r.rotationY=(0,h.E_)(m)+"deg",r.skewX=g+"deg",r.skewY=v+"deg",r.transformPerspective=y+"px",(r.zOrigin=parseFloat(G.split(" ")[2])||!e&&r.zOrigin||0)&&(W[D]=tc(G)),r.xOffset=r.yOffset=0,r.force3D=h.Yz.force3D,r.renderTransform=r.svg?tg:u?tm:td,r.uncache=0,r},tc=function(t){return(t=t.split(" "))[0]+" "+t[1]},tf=function(t,e,r){var i=(0,h.l_)(e);return(0,h.E_)(parseFloat(e)+parseFloat(Q(t,"x",r+"px",i)))+i},td=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,tm(t,e)},tp="0deg",tm=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,o=r.y,a=r.z,l=r.rotation,u=r.rotationY,h=r.rotationX,c=r.skewX,f=r.skewY,p=r.scaleX,m=r.scaleY,g=r.transformPerspective,v=r.force3D,y=r.target,x=r.zOrigin,b="",w="auto"===v&&t&&1!==t||!0===v;if(x&&(h!==tp||u!==tp)){var P,S=parseFloat(u)*d,E=Math.sin(S),T=Math.cos(S);s=tf(y,s,-(E*(P=Math.cos(S=parseFloat(h)*d))*x)),o=tf(y,o,-(-Math.sin(S)*x)),a=tf(y,a,-(T*P*x)+x)}"0px"!==g&&(b+="perspective("+g+") "),(i||n)&&(b+="translate("+i+"%, "+n+"%) "),(w||"0px"!==s||"0px"!==o||"0px"!==a)&&(b+="0px"!==a||w?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+") "),l!==tp&&(b+="rotate("+l+") "),u!==tp&&(b+="rotateY("+u+") "),h!==tp&&(b+="rotateX("+h+") "),(c!==tp||f!==tp)&&(b+="skew("+c+", "+f+") "),(1!==p||1!==m)&&(b+="scale("+p+", "+m+") "),y.style[R]=b||"translate(0, 0)"},tg=function(t,e){var r,i,n,s,o,a=e||this,l=a.xPercent,u=a.yPercent,c=a.x,f=
1a.y,p=a.rotation,m=a.skewX,g=a.skewY,v=a.scaleX,y=a.scaleY,x=a.target,b=a.xOrigin,w=a.yOrigin,P=a.xOffset,S=a.yOffset,E=a.forceCSS,T=parseFloat(c),A=parseFloat(f);p=parseFloat(p),m=parseFloat(m),(g=parseFloat(g))&&(m+=g=parseFloat(g),p+=g),p||m?(p*=d,m*=d,r=Math.cos(p)*v,i=Math.sin(p)*v,n=-(Math.sin(p-m)*y),s=Math.cos(p-m)*y,m&&(g*=d,n*=o=Math.sqrt(1+(o=Math.tan(m-g))*o),s*=o,g&&(r*=o=Math.sqrt(1+(o=Math.tan(g))*o),i*=o)),r=(0,h.E_)(r),i=(0,h.E_)(i),n=(0,h.E_)(n),s=(0,h.E_)(s)):(r=v,s=y,i=n=0),(T&&!~(c+"").indexOf("px")||A&&!~(f+"").indexOf("px"))&&(T=Q(x,"x",c,"px"),A=Q(x,"y",f,"px")),(b||w||P||S)&&(T=(0,h.E_)(T+b-(b*r+w*n)+P),A=(0,h.E_)(A+w-(b*i+w*s)+S)),(l||u)&&(o=x.getBBox(),T=(0,h.E_)(T+l/100*o.width),A=(0,h.E_)(A+u/100*o.height)),o="matrix("+r+","+i+","+n+","+s+","+T+","+A+")",x.setAttribute("transform",o),E&&(x.style[R]=o)},tv=function(t,e,r,i,n){var s,o,a=(0,h.vQ)(n),l=parseFloat(n)*(a&&~n.indexOf("rad")?f:1)-i,u=i+l+"deg";return a&&("short"===(s=n.split("_")[1])&&(l%=360)!=l%180&&(l+=l<0?360:-360),"cw"===s&&l<0?l=(l+36e9)%360-360*~~(l/360):"ccw"===s&&l>0&&(l=(l-36e9)%360-360*~~(l/360))),t._pt=o=new h.J7(t._pt,e,r,i,l,b),o.e=u,o.u="deg",t._props.push(r),o},ty=function(t,e){for(var r in e)t[r]=e[r];return t},tx=function(t,e,r){var i,n,s,o,a,l,u,f=ty({},r._gsap),d=r.style;for(n in f.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),d[R]=e,i=th(r,1),G(r,R),r.setAttribute("transform",s)):(s=getComputedStyle(r)[R],d[R]=e,i=th(r,1),d[R]=s),c)(s=f[n])!==(o=i[n])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)&&(a=(0,h.l_)(s)!==(u=(0,h.l_)(o))?Q(r,n,s,u):parseFloat(s),l=parseFloat(o),t._pt=new h.J7(t._pt,i,n,a,l-a,x),t._pt.u=u||0,t._props.push(n));ty(i,f)};(0,h.fA)("padding,margin,Width,Radius",function(t,e){var r="Right",i="Bottom",n="Left",s=(e<3?["Top",r,i,n]:["Top"+n,"Top"+r,i+r,i+n]).map(function(r){return e<2?t+r:"border"+r+t});ti[e>1?"border"+t:t]=function(t,e,r,i,n){var o,a;if(arguments.length<4)return 5===(a=(o=s.map(function(e){return Z(t,e,r)})).join(" ")).split(o[0]).length?o[0]:a;o=(i+"").split(" "),a={},s.forEach(function(t,e){return a[t]=o[e]=o[e]||o[(e-1)/2|0]}),t.init(e,a,n)}});var tb={name:"css",register:N,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var o,a,l,u,f,d,p,m,g,b,E,T,A,M,C,k,O,_=this._props,V=t.style,B=r.vars.startAt;for(p in s||N(),this.styles=this.styles||L(t),k=this.styles.props,this.tween=r,e)if("autoRound"!==p&&(a=e[p],!(h.wU[p]&&(0,h.Zm)(p,e,r,i,t,n)))){if(f=typeof a,d=ti[p],"function"===f&&(f=typeof(a=a.call(r,i,t,n))),"string"===f&&~a.indexOf("random(")&&(a=(0,h.Vy)(a)),d)d(this,t,p,a,r)&&(C=1);else if("--"===p.substr(0,2))o=(getComputedStyle(t).getPropertyValue(p)+"").trim(),a+="",h.qA.lastIndex=0,!h.qA.test(o)&&(m=(0,h.l_)(o),(g=(0,h.l_)(a))?m!==g&&(o=Q(t,p,o,g)+g):m&&(a+=m)),this.add(V,"setProperty",o,a,i,n,0,0,p),_.push(p),k.push(p,0,V[p]);else if("undefined"!==f){if(B&&p in B?(o="function"==typeof B[p]?B[p].call(r,i,t,n):B[p],(0,h.vQ)(o)&&~o.indexOf("random(")&&(o=(0,h.Vy)(o)),(0,h.l_)(o+"")||"auto"===o||(o+=h.Yz.units[p]||(0,h.l_)(Z(t,p))||""),"="===(o+"").charAt(1)&&(o=Z(t,p))):o=Z(t,p),u=parseFloat(o),(b="string"===f&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),l=parseFloat(a),p in y&&("autoAlpha"===p&&(1===u&&"hidden"===Z(t,"visibility")&&l&&(u=0),k.push("visibility",0,V.visibility),$(this,V,"visibility",u?"inherit":"hidden",l?"inherit":"hidden",!l)),"scale"!==p&&"transform"!==p&&~(p=y[p]).indexOf(",")&&(p=p.split(",")[0])),E=p in c){if(this.styles.save(p),O=a,"string"===f&&"var(--"===a.substring(0,6)){if("calc("===(a=F(t,a.substring(4,a.indexOf(")")))).substring(0,5)){var j=t.style.perspective;t.style.perspective=a,a=F(t,"perspective"),j?t.style.perspective=j:G(t,"perspective")}l=parseFloat(a)}if(T||((A=t._gsap).renderTransform&&!e.parseTransform||th(t,e.parseTransform),M=!1!==e.smoothOrigin&&A.smooth,(T=this._pt=new h.J7(this._pt,V,R,0,1,A.renderTransform,A,0,-1)).dep=1),"scale"===p)this._pt=new h.J7(this._pt,A,"scaleY",A.scaleY,(b?(0,h.B0)(A.scaleY,b+l):l)-A.scaleY||0,x),this._pt.u=0,_.push("scaleY",p),p+="X";else if("transformOrigin"===p){k.push(D,0,V[D]),a=te(a),A.svg?tu(t,a,0,M,0,this):((g=parseFloat(a.split(" ")[2])||0)!==A.zOrigin&&$(this,A,"zOrigin",A.zOrigin,g),$(this,V,p,tc(o),tc(a)));continue}else if("svgOrigin"===p){tu(t,a,1,M,0,this);continue}
1else if(p in ts){tv(this,A,p,u,b?(0,h.B0)(u,b+a):a);continue}else if("smoothOrigin"===p){$(this,A,"smooth",A.smooth,a);continue}else if("force3D"===p){A[p]=a;continue}else if("transform"===p){tx(this,a,t);continue}}else p in V||(p=z(p)||p);if(E||(l||0===l)&&(u||0===u)&&!v.test(a)&&p in V)m=(o+"").substr((u+"").length),l||(l=0),g=(0,h.l_)(a)||(p in h.Yz.units?h.Yz.units[p]:m),m!==g&&(u=Q(t,p,o,g)),this._pt=new h.J7(this._pt,E?A:V,p,u,(b?(0,h.B0)(u,b+l):l)-u,!E&&("px"===g||"zIndex"===p)&&!1!==e.autoRound?S:x),this._pt.u=g||0,E&&O!==a?(this._pt.b=o,this._pt.e=O,this._pt.r=P):m!==g&&"%"!==g&&(this._pt.b=o,this._pt.r=w);else if(p in V)J.call(this,t,p,o,b?b+a:a);else if(p in t)this.add(t,p,o||t[p],b?b+a:a,i,n);else if("parseTransform"!==p){(0,h.dg)(p,a);continue}E||(p in V?k.push(p,0,V[p]):"function"==typeof t[p]?k.push(p,2,t[p]()):k.push(p,1,o||t[p])),_.push(p)}}C&&(0,h.St)(this)},render:function(t,e){if(e.tween._time||!l())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Z,aliases:y,getSetter:function(t,e,r){var i=y[e];return i&&0>i.indexOf(",")&&(e=i),e in c&&e!==D&&(t._gsap.x||Z(t,"x"))?r&&a===r?"scale"===e?k:C:(a=r||{},"scale"===e?O:_):t.style&&!(0,h.OF)(t.style[e])?A:~e.indexOf("-")?M:(0,h.Dx)(t,e)},core:{_removeProperty:G,_getMatrix:tl}};h.os.utils.checkPrefix=z,h.os.core.getStyleSaver=L,function(t,e,r,i){var n=(0,h.fA)(t+","+e+","+r,function(t){c[t]=1});(0,h.fA)(e,function(t){h.Yz.units[t]="deg",ts[t]=1}),y[n[13]]=t+","+e,(0,h.fA)(i,function(t){var e=t.split(":");y[e[1]]=n[e[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),(0,h.fA)("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){h.Yz.units[t]="px"}),h.os.registerPlugin(tb);var tw=h.os.registerPlugin(tb)||h.os;tw.core.Tween},85262:(t,e,r)=>{"use strict";let i,n;r.d(e,{P:()=>iR});var s=r(53716),o=r(7050),a=r(3363),l=r(59064);let u=new Set(["brightness","contrast","saturate","opacity"]);function h(t){let[e,r]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[i]=r.match(l.S)||[];if(!i)return t;let n=r.replace(i,""),s=+!!u.has(e);return i!==r&&(s*=100),e+"("+s+n+")"}let c=/\b([a-z-]*)\(.*?\)/gu,f={...a.f,getAnimatableNone:t=>{let e=t.match(c);return e?e.map(h).join(" "):t}};var d=r(87113);let p={...d.ai,transform:Math.round};var m=r(43868);let g={rotate:m.uj,rotateX:m.uj,rotateY:m.uj,rotateZ:m.uj,scale:d.hs,scaleX:d.hs,scaleY:d.hs,scaleZ:d.hs,skew:m.uj,skewX:m.uj,skewY:m.uj,distance:m.px,translateX:m.px,translateY:m.px,translateZ:m.px,x:m.px,y:m.px,z:m.px,perspective:m.px,transformPerspective:m.px,opacity:d.X4,originX:m.gQ,originY:m.gQ,originZ:m.px},v={borderWidth:m.px,borderTopWidth:m.px,borderRightWidth:m.px,borderBottomWidth:m.px,borderLeftWidth:m.px,borderRadius:m.px,borderTopLeftRadius:m.px,borderTopRightRadius:m.px,borderBottomRightRadius:m.px,borderBottomLeftRadius:m.px,width:m.px,maxWidth:m.px,height:m.px,maxHeight:m.px,top:m.px,right:m.px,bottom:m.px,left:m.px,inset:m.px,insetBlock:m.px,insetBlockStart:m.px,insetBlockEnd:m.px,insetInline:m.px,insetInlineStart:m.px,insetInlineEnd:m.px,padding:m.px,paddingTop:m.px,paddingRight:m.px,paddingBottom:m.px,paddingLeft:m.px,paddingBlock:m.px,paddingBlockStart:m.px,paddingBlockEnd:m.px,paddingInline:m.px,paddingInlineStart:m.px,paddingInlineEnd:m.px,margin:m.px,marginTop:m.px,marginRight:m.px,marginBottom:m.px,marginLeft:m.px,marginBlock:m.px,marginBlockStart:m.px,marginBlockEnd:m.px,marginInline:m.px,marginInlineStart:m.px,marginInlineEnd:m.px,fontSize:m.px,backgroundPositionX:m.px,backgroundPositionY:m.px,...g,zIndex:p,fillOpacity:d.X4,strokeOpacity:d.X4,numOctaves:p},y={...v,color:o.y,backgroundColor:o.y,outlineColor:o.y,fill:o.y,stroke:o.y,borderColor:o.y,borderTopColor:o.y,borderRightColor:o.y,borderBottomColor:o.y,borderLeftColor:o.y,filter:f,WebkitFilter:f},x=t=>y[t],b=()=>({translate:0,scale:1,origin:0,originPoint:0}),w=()=>({x:b(),y:b()}),P=()=>({min:0,max:0}),S=()=>({x:P(),y:P()});var E=r(81425),T=r(23395);let A=t=>e=>e.test(t),M=[d.ai,m.px,m.KN,m.uj,m.vw,m.vh,{test:t=>"auto"===t,parse:t=>t}],C=t=>M.find(A(t));var k=r(99296);let O=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);var _=r(96900);let R=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var D=r(2784);let V=t=>/^0[^.\s]+$/u.test(t);function B(t,e){let r=x(t);return r!==f&&(r=a.f),r.getAnimatableNone?r.getAnimatableNone(e):void 0}
1let j=new Set(["auto","none","0"]);var L=r(27578);class I extends D.h{constructor(t,e,r,i,n){super(t,e,r,i,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:r}=this;if(!e||!e.current)return;super.readKeyframes();for(let r=0;r<t.length;r++){let i=t[r];if("string"==typeof i&&(i=i.trim(),(0,_.pG)(i))){let n=function t(e,r,i=1){(0,k.V)(i<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,s]=function(t){let e=R.exec(t);if(!e)return[,];let[,r,i,n]=e;return[`--${r??i}`,n]}(e);if(!n)return;let o=window.getComputedStyle(r).getPropertyValue(n);if(o){let t=o.trim();return O(t)?parseFloat(t):t}return(0,_.pG)(s)?t(s,r,i+1):s}(i,e.current);void 0!==n&&(t[r]=n),r===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!T.$.has(r)||2!==t.length)return;let[i,n]=t,s=C(i),o=C(n);if((0,_.rm)(i)!==(0,_.rm)(n)&&L.Hr[r]){this.needsMeasurement=!0;return}if(s!==o)if((0,L.E4)(s)&&(0,L.E4)(o))for(let e=0;e<t.length;e++){let r=t[e];"string"==typeof r&&(t[e]=parseFloat(r))}else L.Hr[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,r=[];for(let e=0;e<t.length;e++){var i;(null===t[e]||("number"==typeof(i=t[e])?0===i:null===i||"none"===i||"0"===i||V(i)))&&r.push(e)}r.length&&function(t,e,r){let i,n=0;for(;n<t.length&&!i;){let e=t[n];"string"==typeof e&&!j.has(e)&&(0,a.V)(e).values.length&&(i=t[n]),n++}if(i&&r)for(let n of e)t[n]=B(r,i)}(t,r,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:r}=this;if(!t||!t.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=L.Hr[r](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let i=e[e.length-1];void 0!==i&&t.getValue(r,i).jump(i,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let i=t.getValue(e);i&&i.jump(this.measuredOrigin,!1);let n=r.length-1,s=r[n];r[n]=L.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,r])=>{t.getValue(e).set(r)}),this.resolveNoneKeyframes()}}var F=r(69377),U=r(11424),z=r(62036);let N=new Set(["opacity","clipPath","filter","transform"]),{schedule:W}=(0,r(33591).I)(queueMicrotask,!1);var X=r(40303),Y=r(61624);let q=[...M,o.y,a.f],G=new WeakMap;function $(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function H(t){return"string"==typeof t||Array.isArray(t)}let K=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Q=["initial",...K];function Z(t){return $(t.animate)||Q.some(e=>H(t[e]))}function J(t){return!!(Z(t)||t.variants)}let tt={current:null},te={current:!1},tr="undefined"!=typeof window;var ti=r(24700),tn=r(86993);let ts=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],to={};class ta{scrapeMotionValuesFromProps(t,e,r){return{}}constructor({parent:t,props:e,presenceContext:r,reducedMotionConfig:i,skipAnimations:n,blockInitialAnimation:s,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=D.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=X.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tn.Gt.render(this.render,!1,!0))};let{latestValues:l,renderState:u}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=n,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=Z(e),this.isVariantNode=J(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in c){let e=c[t];void 0!==l[t]&&(0,E.S)(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,G.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(te.current||function(){if(te.current=!0,tr)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>tt.current=t.matches;t.addEventListener("change",e),e()}else tt.current=!1}(),this.shouldReduceMotion=tt.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,tn.WG)(this.notifyUpdate),(0,tn.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let r;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&N.has(t)&&this.current instanceof HTMLElement){let{factory:r,keyframes:i,times:n,ease:s,duration:o}=e.accelerate,a=new z.m({element:this.current,name:t,keyframes:i,times:n,ease:s,duration:(0,F.f)(o)}),l=r(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let i=s.f.has(t);i&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tn.Gt.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),r&&r(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in to){let e=to[t];if(!e)continue;let{isEnabled:r,Feature:i}=e;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):S()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<ts.length;e++){let r=ts[e];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let i=t["on"+r];i&&(this.propEventSubscriptions[r]=this.on(r,i))}this.prevMotionValues=function(t,e,r){for(let i in e){let n=e[i],s=r[i];if((0,E.S)(n))t.addValue(i,n);else if((0,E.S)(s))t.addValue(i,(0,Y.OQ)(n,{owner:t}));else if(s!==n)if(t.hasValue(i)){let e=t.getValue(i);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(i);t.addValue(i,(0,Y.OQ)(void 0!==e?e:n,{owner:t}))}}for(let i in r)void 0===e[i]&&t.removeValue(i);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let r=this.values.get(t);e!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return void 0===r&&void 0!==e&&(r=(0,Y.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,r)),r}readValue(t,e){let r=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=r){if("string"==typeof r&&(O(r)||V(r)))r=parseFloat(r);else{let i;i=r,!q.find(A(i))&&a.f.test(e)&&(r=B(t,e))}this.setBaseTarget(t,(0,E.S)(r)?r.get():r)}return(0,E.S)(r)?r.get():r}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let i=(0,ti.a)(this.props,r,this.presenceContext?.custom);i&&(e=i[t])}if(r&&void 0!==e)return e;let i=this.getBaseTargetFromProps(this.props,t);return void 0===i||(0,E.S)(i)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new U.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){W.render(this.render)}}class tl extends ta{constructor(){super(...arguments),this.KeyframeResolver=I}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let r=t.style;return r?r[e]:void 0}removeValueFromRenderState(t,{vars:e,style:r}){delete e[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,E.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var tu=r(49399);let th=(t,e)=>e&&"number"==typeof t?e.transform(t):t,tc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tf=s.U.length;function td(t,e,r){let{style:i,vars:n,transformOrigin:o}=t,a=!1,l=!1;for(let t in e){let r=e[t];if(s.f.has(t)){a=!0;continue}if((0,_.j4)(t)){n[t]=r;continue}{let e=th(r,v[t]);t.startsWith("origin")?(l=!0,o[t]=e):i[t]=e}}if(!e.transform&&(a||r?i.transform=function(t,e,r){let i="",n=!0;for(let o=0;o<tf;o++){let a=s.U[o],l=t[a];if(void 0===l)continue;let u=!0;
1if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let t=parseFloat(l);u=a.startsWith("scale")?1===t:0===t}if(!u||r){let t=th(l,v[a]);if(!u){n=!1;let e=tc[a]||a;i+=`${e}(${t}) `}r&&(e[a]=t)}}return i=i.trim(),r?i=r(e,n?"":i):n&&(i="none"),i}(e,t.transform,r):i.transform&&(i.transform="none")),l){let{originX:t="50%",originY:e="50%",originZ:r=0}=o;i.transformOrigin=`${t} ${e} ${r}`}}let tp={offset:"stroke-dashoffset",array:"stroke-dasharray"},tm={offset:"strokeDashoffset",array:"strokeDasharray"},tg=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tv(t,{attrX:e,attrY:r,attrScale:i,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a},l,u,h){if(td(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:f}=t;for(let t of(c.transform&&(f.transform=c.transform,delete c.transform),(f.transform||c.transformOrigin)&&(f.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),f.transform&&(f.transformBox=h?.transformBox??"fill-box",delete c.transformBox),tg))void 0!==c[t]&&(f[t]=c[t],delete c[t]);void 0!==e&&(c.x=e),void 0!==r&&(c.y=r),void 0!==i&&(c.scale=i),void 0!==n&&function(t,e,r=1,i=0,n=!0){t.pathLength=1;let s=n?tp:tm;t[s.offset]=`${-i}`,t[s.array]=`${e} ${r}`}(c,n,s,o,!1)}let ty=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),tx=t=>"string"==typeof t&&"svg"===t.toLowerCase();function tb(t,{style:e,vars:r},i,n){let s,o=t.style;for(s in e)o[s]=e[s];for(s in n?.applyProjectionStyles(o,i),r)o.setProperty(s,r[s])}function tw(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tP={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!m.px.test(t))return t;else t=parseFloat(t);let r=tw(t,e.target.x),i=tw(t,e.target.y);return`${r}% ${i}%`}};var tS=r(48592);let tE={borderRadius:{...tP,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tP,borderTopRightRadius:tP,borderBottomLeftRadius:tP,borderBottomRightRadius:tP,boxShadow:{correct:(t,{treeScale:e,projectionDelta:r})=>{let i=a.f.parse(t);if(i.length>5)return t;let n=a.f.createTransformer(t),s=+("number"!=typeof i[0]),o=r.x.scale*e.x,l=r.y.scale*e.y;i[0+s]/=o,i[1+s]/=l;let u=(0,tS.k)(o,l,.5);return"number"==typeof i[2+s]&&(i[2+s]/=u),"number"==typeof i[3+s]&&(i[3+s]/=u),n(i)}}};function tT(t,{layout:e,layoutId:r}){return s.f.has(t)||t.startsWith("origin")||(e||void 0!==r)&&(!!tE[t]||"opacity"===t)}function tA(t,e,r){let i=t.style,n=e?.style,s={};if(!i)return s;for(let e in i)((0,E.S)(i[e])||n&&(0,E.S)(n[e])||tT(e,t)||r?.getValue(e)?.liveStyle!==void 0)&&(s[e]=i[e]);return s}function tM(t,e,r){let i=tA(t,e,r);for(let r in t)((0,E.S)(t[r])||(0,E.S)(e[r]))&&(i[-1!==s.U.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return i}class tC extends tl{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=S}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(s.f.has(e)){let t=x(e);return t&&t.default||0}return e=ty.has(e)?e:(0,tu.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,r){return tM(t,e,r)}build(t,e,r){tv(t,e,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(t,e,r,i){for(let r in tb(t,e,void 0,i),e.attrs)t.setAttribute(ty.has(r)?r:(0,tu.I)(r),e.attrs[r])}mount(t){this.isSVGTag=tx(t.tagName),super.mount(t)}}var tk=r(95214);function tO({top:t,left:e,right:r,bottom:i}){return{x:{min:e,max:r},y:{min:t,max:i}}}function t_(t){return void 0===t||1===t}function tR({scale:t,scaleX:e,scaleY:r}){return!t_(t)||!t_(e)||!t_(r)}function tD(t){return tR(t)||tV(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function tV(t){var e,r;return(e=t.x)&&"0%"!==e||(r=t.y)&&"0%"!==r}function tB(t,e,r,i,n){return void 0!==n&&(t=i+n*(t-i)),i+r*(t-i)+e}function tj(t,e=0,r=1,i,n){t.min=tB(t.min,e,r,i,n),t.max=tB(t.max,e,r,i,n)}function tL(t,{x:e,y:r}){tj(t.x,e.translate,e.scale,e.originPoint),tj(t.y,r.translate,r.scale,r.originPoint)}function tI(t,e){t.min=t.min+e,t.max=t.max+e}function tF(t,e,r,i,n=.5){let s=(0,tS.k)(t.min,t.max,n);tj(t,e,r,s,i)}function tU(t,e){tF(t.x,e.x,e.scaleX,e.scale,e.originX),tF(t.y,e.y,e.scaleY,e.scale,e.originY)}function tz(t,e){return tO(function(t,e){if(!e)return t;let r=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}class tN extends tl{constructor(){super(...arguments),this.type="html",this.renderInstance=tb}readValueFromInstance(t,e){if(s.f.has(e))return this.projection?.isProjecting?(0,tk.zs)(e):(0,tk.Ib)(t,e);{let r=window.getComputedStyle(t),i=((0,_.j4)(e)?r.getPropertyValue(e):r[e])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:e}){return tz(t,e)}build(t,e,r){td(t,e,r.transformTemplate)}scrapeMotionValuesFromProps(t,e,r){return tA(t,e,r)}}var tW=r(1521);let tX=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function tY(t){if("string"!=typeof t||t.includes("-"));else if(tX.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var tq=r(73365);let tG=(0,tW.createContext)({}),t$=(0,tW.createContext)({strict:!1}),tH=(0,tW.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),tK=(0,tW.createContext)({});function tQ(t){return Array.isArray(t)?t.join(" "):t}let tZ=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function tJ(t,e,r){for(let i in e)(0,E.S)(e[i])||tT(i,r)||(t[i]=e[i])}let t0=()=>({...tZ(),attrs:{}}),t1=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function t2(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||t1.has(t)}let t3=t=>!t2(t);try{!function(t){"function"==typeof t&&(t3=e=>e.startsWith("on")?!t2(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}function t5(t){return(0,E.S)(t)?t.get():t}let t6=(0,tW.createContext)(null);var t8=r(9943);let t4=t=>(e,r)=>{let i=(0,tW.useContext)(tK),n=(0,tW.useContext)(t6),s=()=>(function(t,e,r,i){let{scrapeMotionValuesFromProps:n,createRenderState:s}=t;return{latestValues:function(t,e,r,i){let n={},s=i(t,{});for(let t in s)n[t]=t5(s[t]);let{initial:o,animate:a}=t,l=Z(t),u=J(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!r&&!1===r.initial,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!$(c)){let e=Array.isArray(c)?c:[c];for(let r=0;r<e.length;r++){let i=(0,ti.a)(t,e[r]);if(i){let{transitionEnd:t,transition:e,...r}=i;for(let t in r){let e=r[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(n[t]=e)}for(let e in t)n[e]=t[e]}}}return n}(e,r,i,n),renderState:s()}})(t,e,i,n);return r?s():(0,t8.M)(s)},t9=t4({scrapeMotionValuesFromProps:tA,createRenderState:tZ}),t7=t4({scrapeMotionValuesFromProps:tM,createRenderState:t0});var et=r(48738);let ee={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},er=!1;function ei(){return!function(){if(er)return;let t={};for(let e in ee)t[e]={isEnabled:t=>ee[e].some(e=>!!t[e])};to=t,er=!0}(),to}let en=Symbol.for("motionComponentSymbol");var es=r(4121);let eo=(0,tW.createContext)({});function ea(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var el=r(60456);function eu(t){var e,r;let{forwardMotionProps:i=!1,type:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;s&&function(t){let e=ei();for(let r in t)e[r]={...e[r],...t[r]};to=e}(s);
1let a=n?"svg"===n:tY(t),l=a?t7:t9;function u(e,r){let n,s={...(0,tW.useContext)(tH),...e,layoutId:function(t){let{layoutId:e}=t,r=(0,tW.useContext)(tG).id;return r&&void 0!==e?r+"-"+e:e}(e)},{isStatic:u}=s,h=function(t){let{initial:e,animate:r}=function(t,e){if(Z(t)){let{initial:e,animate:r}=t;return{initial:!1===e||H(e)?e:void 0,animate:H(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,tW.useContext)(tK));return(0,tW.useMemo)(()=>({initial:e,animate:r}),[tQ(e),tQ(r)])}(e),c=l(e,u);if(!u&&et.B){(0,tW.useContext)(t$).strict;let e=function(t){let{drag:e,layout:r}=ei();if(!e&&!r)return{};let i={...e,...r};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==r?void 0:r.isEnabled(t))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(s);n=e.MeasureLayout,h.visualElement=function(t,e,r,i,n,s){var o,a,l,u;let{visualElement:h}=(0,tW.useContext)(tK),c=(0,tW.useContext)(t$),f=(0,tW.useContext)(t6),d=(0,tW.useContext)(tH),p=d.reducedMotion,m=d.skipAnimations,g=(0,tW.useRef)(null),v=(0,tW.useRef)(!1);i=i||c.renderer,!g.current&&i&&(g.current=i(t,{visualState:e,parent:h,props:r,presenceContext:f,blockInitialAnimation:!!f&&!1===f.initial,reducedMotionConfig:p,skipAnimations:m,isSVG:s}),v.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));let y=g.current,x=(0,tW.useContext)(eo);y&&!y.projection&&n&&("html"===y.type||"svg"===y.type)&&function(t,e,r,i){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new r(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&ea(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:i,crossfade:h,layoutScroll:l,layoutRoot:u})}(g.current,r,n,x);let b=(0,tW.useRef)(!1);(0,tW.useInsertionEffect)(()=>{y&&b.current&&y.update(r,f)});let w=r[es.n],P=(0,tW.useRef)(!!w&&!(null==(o=(a=window).MotionHandoffIsComplete)?void 0:o.call(a,w))&&(null==(l=(u=window).MotionHasOptimisedAnimation)?void 0:l.call(u,w)));return(0,el.E)(()=>{v.current=!0,y&&(b.current=!0,window.MotionIsMounted=!0,y.updateFeatures(),y.scheduleRenderMicrotask(),P.current&&y.animationState&&y.animationState.animateChanges())}),(0,tW.useEffect)(()=>{y&&(!P.current&&y.animationState&&y.animationState.animateChanges(),P.current&&(queueMicrotask(()=>{var t,e;null==(t=(e=window).MotionHandoffMarkAsComplete)||t.call(e,w)}),P.current=!1),y.enteringChildren=void 0)}),y}(t,c,s,o,e.ProjectionNode,a)}return(0,tq.jsxs)(tK.Provider,{value:h,children:[n&&h.visualElement?(0,tq.jsx)(n,{visualElement:h.visualElement,...s}):null,function(t,e,r,i,n){let{latestValues:s}=i,o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=arguments.length>6?arguments[6]:void 0,l=((null!=a?a:tY(t))?function(t,e,r,i){let n=(0,tW.useMemo)(()=>{let r=t0();return tv(r,e,tx(i),t.transformTemplate,t.style),{...r.attrs,style:{...r.style}}},[e]);if(t.style){let e={};tJ(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let r={},i=function(t,e){let r=t.style||{},i={};return tJ(i,r,t),Object.assign(i,function(t,e){let{transformTemplate:r}=t;return(0,tW.useMemo)(()=>{let t=tZ();return td(t,e,r),Object.assign({},t.vars,t.style)},[e])}(t,e)),i}(t,e);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=i,r})(e,s,n,t),u=function(t,e,r){let i={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&(t3(n)||!0===r&&t2(n)||!e&&!t2(n)||t.draggable&&n.startsWith("onDrag"))&&(i[n]=t[n]);return i}(e,"string"==typeof t,o),h=t!==tW.Fragment?{...u,...l,ref:r}:{},{children:c}=e,f=(0,tW.useMemo)(()=>(0,E.S)(c)?c.get():c,[c]);return(0,tW.createElement)(t,{...h,children:f})}(t,e,function(t,e,r){let i=(0,tW.useRef)(r);(0,tW.useInsertionEffect)(()=>{i.current=r});let n=(0,tW.useRef)(null);return(0,tW.useCallback)(r=>{if(r){var s;null==(s=t.onMount)||s.call(t,r)}e&&(r?e.mount(r):e.unmount());let o=i.current;if("function"==typeof o)if(r){let t=o(r);"function"==typeof t&&(n.current=t)}else n.current?(n.current(),n.current=null):o(r);else o&&(o.current=r)},[e])}(c,h.visualElement,r),c,u,i,a)]})}u.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(r=null!=(e=t.displayName)?e:t.name)?r:"",")"));let h=(0,tW.forwardRef)(u);return h[en]=t,h}class eh{constructor(t){this.isMounted=!1,this.node=t}update(){}}var ec=r(69418),ef=r(77819);let ed=Q.length;var ep=r(10489),em=r(60600);function eg(t,e){if(!Array.isArray(e))return!1;let r=e.length;if(r!==t.length)return!1;for(let i=0;i<r;i++)if(e[i]!==t[i])return!1;return!0}let ev=[...K].reverse(),ey=K.length;function ex(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function eb(){return{animate:ex(!0),whileInView:ex(),whileHover:ex(),whileTap:ex(),whileDrag:ex(),whileFocus:ex(),exit:ex()}}class ew extends eh{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:r})=>(0,ec._)(t,e,r))),r=eb(),i=!0,n=e=>(r,i)=>{let n=(0,em.K)(t,i,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...i}=n;r={...r,...i,...e}}return r};function s(s){let{props:o}=t,a=function t(e){if(!e)return;if(!e.isControllingVariants){let r=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(r.initial=e.props.initial),r}let r={};for(let t=0;t<ed;t++){let i=Q[t],n=e.props[i];(H(n)||!1===n)&&(r[i]=n)}return r}(t.parent)||{},l=[],u=new Set,h={},c=1/0;for(let e=0;e<ey;e++){var f,d;let p=ev[e],m=r[p],g=void 0!==o[p]?o[p]:a[p],v=H(g),y=p===s?m.isActive:null;!1===y&&(c=e);let x=g===a[p]&&g!==o[p]&&v;if(x&&i&&t.manuallyAnimateOnMount&&(x=!1),m.protectedKeys={...h},!m.isActive&&null===y||!g&&!m.prevProp||$(g)||"boolean"==typeof g)continue;if("exit"===p&&m.isActive&&!0!==y){m.prevResolvedValues&&(h={...h,...m.prevResolvedValues});continue}let b=(f=m.prevProp,"string"==typeof(d=g)?d!==f:!!Array.isArray(d)&&!eg(d,f)),w=b||p===s&&m.
1isActive&&!x&&v||e>c&&v,P=!1,S=Array.isArray(g)?g:[g],E=S.reduce(n(p),{});!1===y&&(E={});let{prevResolvedValues:T={}}=m,A={...T,...E},M=e=>{w=!0,u.has(e)&&(P=!0,u.delete(e)),m.needsAnimating[e]=!0;let r=t.getValue(e);r&&(r.liveStyle=!1)};for(let t in A){let e=E[t],r=T[t];if(!h.hasOwnProperty(t))((0,ep.p)(e)&&(0,ep.p)(r)?eg(e,r):e===r)?void 0!==e&&u.has(t)?M(t):m.protectedKeys[t]=!0:null!=e?M(t):u.add(t)}m.prevProp=g,m.prevResolvedValues=E,m.isActive&&(h={...h,...E}),i&&t.blockInitialAnimation&&(w=!1);let C=x&&b,k=!C||P;w&&k&&l.push(...S.map(e=>{let r={type:p};if("string"==typeof e&&i&&!C&&t.manuallyAnimateOnMount&&t.parent){let{parent:i}=t,n=(0,em.K)(i,e);if(i.enteringChildren&&n){let{delayChildren:e}=n.transition||{};r.delay=(0,ef.L)(i.enteringChildren,t,e)}}return{animation:e,options:r}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let r=(0,em.K)(t,Array.isArray(o.initial)?o.initial[0]:o.initial);r&&r.transition&&(e.transition=r.transition)}u.forEach(r=>{let i=t.getBaseTarget(r),n=t.getValue(r);n&&(n.liveStyle=!0),e[r]=i??null}),l.push({animation:e})}let p=!!l.length;return i&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(p=!1),i=!1,p?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,i){if(r[e].isActive===i)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,i)),r[e].isActive=i;let n=s(e);for(let t in r)r[t].protectedKeys={};return n},setAnimateFunction:function(r){e=r(t)},getState:()=>r,reset:()=>{r=eb()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();$(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let eP=0;class eS extends eh{constructor(){super(...arguments),this.id=eP++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;let i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}var eE=r(20381);let eT={x:!1,y:!1};function eA(t){return[t("x"),t("y")]}function eM(t){return t.max-t.min}function eC(t,e,r,i=.5){t.origin=i,t.originPoint=(0,tS.k)(e.min,e.max,t.origin),t.scale=eM(r)/eM(e),t.translate=(0,tS.k)(r.min,r.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function ek(t,e,r,i){eC(t.x,e.x,r.x,i?i.originX:void 0),eC(t.y,e.y,r.y,i?i.originY:void 0)}function eO(t,e,r){t.min=r.min+e.min,t.max=t.min+eM(e)}function e_(t,e,r){t.min=e.min-r.min,t.max=t.min+eM(e)}function eR(t,e,r){e_(t.x,e.x,r.x),e_(t.y,e.y,r.y)}var eD=r(21954),eV=r(73101);let eB=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),ej=new Set(["INPUT","SELECT","TEXTAREA"]);function eL(t,e,r,i={passive:!0}){return t.addEventListener(e,r,i),()=>t.removeEventListener(e,r)}function eI(t){return"object"==typeof t&&null!==t}function eF(t){return eI(t)&&"ownerSVGElement"in t}function eU(t,e,r){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let i=document;e&&(i=e.current);let n=r?.[t]??i.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t).filter(t=>null!=t)}let ez=new WeakMap,eN=(t,e,r)=>(i,n)=>n&&n[0]?n[0][t+"Size"]:eF(i)&&"getBBox"in i?i.getBBox()[e]:i[r],eW=eN("inline","width","offsetWidth"),eX=eN("block","height","offsetHeight");function eY({target:t,borderBoxSize:e}){ez.get(t)?.forEach(r=>{r(t,{get width(){return eW(t,e)},get height(){return eX(t,e)}})})}function eq(t){t.forEach(eY)}let eG=new Set;function e$(t,e){return"function"==typeof t?(eG.add(t),n||(n=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};eG.forEach(e=>e(t))},window.addEventListener("resize",n)),()=>{eG.delete(t),eG.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):function(t,e){i||"undefined"!=typeof ResizeObserver&&(i=new ResizeObserver(eq));let r=eU(t);return r.forEach(t=>{let r=ez.get(t);r||(r=new Set,ez.set(t,r)),r.add(e),i?.observe(t)}),()=>{r.forEach(t=>{let r=ez.get(t);r?.delete(e),r?.size||i?.unobserve(t)})}}(t,e)}let eH=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function eK(t){return{point:{x:t.pageX,y:t.pageY}}}function eQ(t,e,r,i){return eL(t,e,t=>eH(t)&&r(t,eK(t)),i)}let eZ=({current:t})=>t?t.ownerDocument.defaultView:null;var eJ=r(69413);let e0=(t,e)=>Math.abs(t-e),e1=new Set(["auto","scroll"]);class e2{constructor(t,e,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=e6(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,r=function(t,e){return Math.sqrt(e0(t.x,e.x)**2+e0(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!r)return;let{point:i}=t,{timestamp:n}=tn.uv;this.history.push({...i,timestamp:n});let{onStart:s,onMove:o}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=e3(e,this.transformPagePoint),tn.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:r,onSessionEnd:i,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=e6("pointercancel"===t.type?this.lastMoveEventInfo:e3(e,this.transformPagePoint),this.history);this.startEvent&&r&&r(t,s),i&&i(t,s)},!eH(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=i||window;let a=e3(eK(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=tn.uv;this.history=[{...l,timestamp:u}];let{onSessionStart:h}=e;h&&h(t,e6(a,this.history)),this.removeListeners=(0,eJ.F)(eQ(this.contextWindow,"pointermove",this.handlePointerMove),eQ(this.contextWindow,"pointerup",this.handlePointerUp),eQ(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(e1.has(t.overflowX)||e1.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let r=t===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},n={x:i.x-e.x,y:i.y-e.y};(0!==n.x||0!==n.y)&&(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(t,i),tn.Gt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,tn.WG)(this.updatePoint)}}function e3(t,e){return e?{point:e(t.point)}:t}function e5(t,e){return{x:t.x-e.x,y:t.y-e.y}}function e6({point:t},e){return{point:t,delta:e5(t,e8(e)),offset:e5(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let r=t.length-1,i=null,n=e8(t);for(;r>=0&&(i=t[r],!(n.timestamp-i.timestamp>(0,F.f)(.1)));)r--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&n.timestamp-i.timestamp>2*(0,F.f)(e)&&(i=t[1]);let s=(0,F.X)(n.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-i.x)/s,y:(n.y-i.y)/s}
1;return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function e8(t){return t[t.length-1]}var e4=r(7e4),e9=r(32796);function e7(t,e,r){return{min:void 0!==e?t.min+e:void 0,max:void 0!==r?t.max+r-(t.max-t.min):void 0}}function rt(t,e){let r=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([r,i]=[i,r]),{min:r,max:i}}function re(t,e,r){return{min:rr(t,e),max:rr(t,r)}}function rr(t,e){return"number"==typeof t?t:t[e]||0}let ri=new WeakMap;class rn{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=S(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:r}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let n=t=>{e&&this.snapToCursor(eK(t).point),this.stopAnimation()},s=(t,e)=>{let{drag:r,dragPropagation:i,onDragStart:n}=this.getProps();if(r&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(eT[t])return null;else return eT[t]=!0,()=>{eT[t]=!1};return eT.x||eT.y?null:(eT.x=eT.y=!0,()=>{eT.x=eT.y=!1})}(r),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),eA(t=>{let e=this.getAxisMotionValue(t).get()||0;if(m.KN.test(e)){let{projection:r}=this.visualElement;if(r&&r.layout){let i=r.layout.layoutBox[t];i&&(e=eM(i)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&tn.Gt.update(()=>n(t,e),!1,!0),(0,eD.g)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:r,dragDirectionLock:i,onDirectionLock:n,onDrag:s}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:o}=e;if(i&&null===this.currentDirection){this.currentDirection=function(t,e=10){let r=null;return Math.abs(t.y)>e?r="y":Math.abs(t.x)>e&&(r="x"),r}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&tn.Gt.update(()=>s(t,e),!1,!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new e2(t,{onSessionStart:n,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:eZ(this.visualElement),element:this.visualElement.current})}stop(t,e){let r=t||this.latestPointerEvent,i=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!i||!r)return;let{velocity:s}=i;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&tn.Gt.postRender(()=>o(r,i))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,r){let{drag:i}=this.getProps();if(!r||!ro(t,i,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:r},i){return void 0!==e&&t<e?t=i?(0,tS.k)(e,t,i.min):Math.max(t,e):void 0!==r&&t>r&&(t=i?(0,tS.k)(r,t,i.max):Math.min(t,r)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&ea(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=function(t,{top:e,left:r,bottom:i,right:n}){return{x:e7(t.x,r,n),y:e7(t.y,e,i)}}(r.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:re(t,"left","right"),y:re(t,"top","bottom")}}(e),i!==this.constraints&&!ea(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&eA(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let r={};return void 0!==e.min&&(r.min=e.min-t.min),void 0!==e.max&&(r.max=e.max-t.min),r}(r.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:r}=this.getProps();if(!e||!ea(e))return!1;let i=e.current;(0,k.V)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=function(t,e,r){let i=tz(t,r),{scroll:n}=e;return n&&(tI(i.x,n.offset.x),tI(i.y,n.offset.y)),i}(i,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:rt(t.x,s.x),y:rt(t.y,s.y)});if(r){let t=r(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=tO(t))}return o}startAnimation(t){let{drag:e,dragMomentum:r,dragElastic:i,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(eA(o=>{if(!ro(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:r?t[o]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let r=this.getAxisMotionValue(t);return(0,eD.g)(this.visualElement,t),r.start((0,eV.f)(t,r,0,e,this.visualElement,!1))}stopAnimation(){eA(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps();return r[e]||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){eA(e=>{let{drag:r}=this.getProps();if(!ro(e,r,this.currentDirection))return;let{projection:i}=this.visualElement,n=this.getAxisMotionValue(e);if(i&&i.layout){let{min:r,max:s}=i.layout.layoutBox[e],o=n.get()||0;n.set(t[e]-(0,tS.k)(r,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:r}=this.visualElement;if(!ea(e)||!r||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};eA(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let r=e.get();i[t]=function(t,e){let r=.5,i=eM(t),n=eM(e);return n>i?r=(0,e4.q)(e.min,e.max-i,t.min):i>n&&(r=(0,e4.q)(t.min,t.max-n,e.min)),(0,e9.q)(0,1,r)}({min:r,max:r},this.constraints[t])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),eA(e=>{if(!ro(e,t,null))return;let r=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];r.set((0,tS.k)(n,s,i[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;ri.set(this.visualElement,this);let e=this.visualElement.current,r=eQ(e,"pointerdown",t=>{let{drag:r,dragListener:i=!0}=this.getProps(),n=t.target,s=n!==e&&(ej.has(n.tagName)||!0===n.isContentEditable);r&&i&&!s&&this.start(t)}),i=()=>{let{dragConstraints:r}=this.getProps();ea(r)&&r.current&&(this.constraints=this.resolveRefConstraints(),t||(t=function(t,e,r){let i=e$(t,rs(r)),n=e$(e,rs(r));return()=>{i(),n()}}(e,r.current,()=>this.scalePositionWithinConstraints())))},{projection:n}=this.visualElement,s=n.addEventListener("measure",i);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),tn.Gt.read(i);let o=eL(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(eA(e=>{let r=this.getAxisMotionValue(e);r&&(this.originPoint[e]+=t[e].translate,r.set(r.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),r(),s(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:r,dragPropagation:i,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function rs(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function ro(t,e,r){return(!0===e||e===t)&&(null===r||r===t)}class ra extends eh{constructor(t){super(t),this.removeGroupControls=e
1E.l,this.removeListeners=eE.l,this.controls=new rn(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eE.l}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let rl=t=>(e,r)=>{t&&tn.Gt.update(()=>t(e,r),!1,!0)};class ru extends eh{constructor(){super(...arguments),this.removePointerDownListener=eE.l}onPointerDown(t){this.session=new e2(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:eZ(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:rl(t),onStart:rl(e),onMove:rl(r),onEnd:(t,e)=>{delete this.session,i&&tn.Gt.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=eQ(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let rh={hasAnimatedSinceResize:!0,hasEverUpdated:!1},rc=!1;class rf extends tW.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r,layoutId:i}=this.props,{projection:n}=t;n&&(e.group&&e.group.add(n),r&&r.register&&i&&r.register(n),rc&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),rh.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:r,drag:i,isPresent:n}=this.props,{projection:s}=r;return s&&(s.isPresent=n,t.layoutDependency!==e&&s.setOptions({...s.options,layoutDependency:e}),rc=!0,i||t.layoutDependency!==e||void 0===e||t.isPresent!==n?s.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?s.promote():s.relegate()||tn.Gt.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),W.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r}=this.props,{projection:i}=t;rc=!0,i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function rd(t){let[e,r]=function(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,tW.useContext)(t6);if(null===e)return[!0,null];let{isPresent:r,onExitComplete:i,register:n}=e,s=(0,tW.useId)();(0,tW.useEffect)(()=>{if(t)return n(s)},[t]);let o=(0,tW.useCallback)(()=>t&&i&&i(s),[s,i,t]);return!r&&i?[!1,o]:[!0]}(),i=(0,tW.useContext)(tG);return(0,tq.jsx)(rf,{...t,layoutGroup:i,switchLayoutGroup:(0,tW.useContext)(eo),isPresent:e,safeToRemove:r})}var rp=r(78675),rm=r(47795),rg=r(48846),rv=r(78754),ry=r(33950);let rx=["TopLeft","TopRight","BottomLeft","BottomRight"],rb=rx.length,rw=t=>"string"==typeof t?parseFloat(t):t,rP=t=>"number"==typeof t||m.px.test(t);function rS(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rE=rA(0,.5,ry.yT),rT=rA(.5,.95,eE.l);function rA(t,e,r){return i=>i<t?0:i>e?1:r((0,e4.q)(t,e,i))}function rM(t,e){t.min=e.min,t.max=e.max}function rC(t,e){rM(t.x,e.x),rM(t.y,e.y)}function rk(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function rO(t,e,r,i,n){return t-=e,t=i+1/r*(t-i),void 0!==n&&(t=i+1/n*(t-i)),t}function r_(t,e,[r,i,n],s,o){!function(t,e=0,r=1,i=.5,n,s=t,o=t){if(m.KN.test(e)&&(e=parseFloat(e),e=(0,tS.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,tS.k)(s.min,s.max,i);t===s&&(a-=e),t.min=rO(t.min,e,r,a,n),t.max=rO(t.max,e,r,a,n)}(t,e[r],e[i],e[n],e.scale,s,o)}let rR=["x","scaleX","originX"],rD=["y","scaleY","originY"];function rV(t,e,r,i){r_(t.x,e,rR,r?r.x:void 0,i?i.x:void 0),r_(t.y,e,rD,r?r.y:void 0,i?i.y:void 0)}function rB(t){return 0===t.translate&&1===t.scale}function rj(t){return rB(t.x)&&rB(t.y)}function rL(t,e){return t.min===e.min&&t.max===e.max}function rI(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function rF(t,e){return rI(t.x,e.x)&&rI(t.y,e.y)}function rU(t){return eM(t.x)/eM(t.y)}function rz(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var rN=r(96062);class rW{constructor(){this.members=[]}add(t){(0,rN.Kq)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let r=this.members[e];if(r===t||r===this.lead||r===this.prevLead)continue;let i=r.instance;i&&!1===i.isConnected&&!1!==r.isPresent&&!r.snapshot&&(0,rN.Ai)(this.members,r)}t.scheduleRender()}remove(t){if((0,rN.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
1}relegate(t){let e,r=this.members.findIndex(e=>t===e);if(0===r)return!1;for(let t=r;t>=0;t--){let r=this.members[t],i=r.instance;if(!1!==r.isPresent&&(!i||!1!==i.isConnected)){e=r;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender();let i=r.options.layoutDependency,n=t.options.layoutDependency;if(void 0===i||void 0===n||i!==n){let i=r.instance;!(i&&!1===i.isConnected&&!r.snapshot)&&(t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0))}let{crossfade:s}=t.options;!1===s&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:r}=t;e.onExitComplete&&e.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rX=(t,e)=>t.depth-e.depth;class rY{constructor(){this.children=[],this.isDirty=!1}add(t){(0,rN.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,rN.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rX),this.isDirty=!1,this.children.forEach(t)}}let rq={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},rG=["","X","Y","Z"],r$=0;function rH(t,e,r,i){let{latestValues:n}=e;n[t]&&(r[t]=n[t],e.setStaticValue(t,0),i&&(i[t]=0))}function rK({attachResizeListener:t,defaultParent:e,measureScroll:r,checkIsScrollRoot:i,resetTransform:n}){return class{constructor(t={},r=e?.()){this.id=r$++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,rv.Q.value&&(rq.nodes=rq.calculatedTargetDeltas=rq.calculatedProjections=0),this.nodes.forEach(rJ),this.nodes.forEach(r8),this.nodes.forEach(r4),this.nodes.forEach(r0),rv.Q.addProjectionMetrics&&rv.Q.addProjectionMetrics(rq)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rY)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new U.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let r=this.eventHandlers.get(t);r&&r.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=eF(e)&&!(eF(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:r,layout:i,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(i||r)&&(this.isLayoutDirty=!0),t){let r,i=0,n=()=>this.root.updateBlockedByResize=!1;tn.Gt.read(()=>{i=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==i&&(i=t,this.root.updateBlockedByResize=!0,r&&r(),r=function(t,e){let r=X.k.now(),i=({timestamp:e})=>{let n=e-r;n>=250&&((0,tn.WG)(i),t(n-250))};return tn.Gt.setup(i,!0),()=>(0,tn.WG)(i)}(n,250),rh.hasAnimatedSinceResize&&(rh.hasAnimatedSinceResize=!1,this.nodes.forEach(r6)))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&n&&(r||i)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:r,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||ii,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!rF(this.targetLayout,i),u=!e&&r;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,rm.r)(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||r6(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,tn.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(r9),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:r}=e.options;if(!r)return;let i=(0,rp.P)(r);if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(i,"transform",tn.Gt,!(t||r))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:r}=this.options;if(void 0===e&&!r)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(r2);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(r3);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(r5),this.nodes.forEach(rQ),this.nodes.forEach(rZ)):this.nodes.forEach(r3),this.clearAllSnapshots();let t=X.k.now();tn.uv.delta=(0,e9.q)(0,1e3/60,t-tn.uv.timestamp),tn.uv.timestamp=t,tn.uv.isProcessing=!0,tn.PP.update.process(tn.uv),tn.PP.preRender.process(tn.uv),tn.PP.render.process(tn.uv),tn.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,W.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(r1),this.sharedNodes.forEach(r7)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tn.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tn.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||eM(this.snapshot.measuredBox.x)||eM(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=S(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!rj(this.projectionDelta),r=this.getTransformTemplate(),i=r?r(this.latestValues,""):void 0,s=i!==this.prevTransformTemplateValue;t&&this.instance&&(e||tD(this.latestValues)||s)&&(n(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let r=this.measurePageBox(),i=this.removeElementScroll(r);return t&&(i=this.removeTransform(i)),ia((e=i).x),ia(e.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return S();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(iu))){let{scroll:t}=this.root;t&&(tI(e.x,t.offset.x),tI(e.y,t.offset.y))}return e}removeElementScroll(t){let e=S();if(rC(e,t),this.scroll?.wasRoot)return e;for(let r=0;r<this.path.length;r++){let i=this.path[r],{scroll:n,options:s}=i;i!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&rC(e,t),tI(e.x,n.offset.x),tI(e.y,n.offset.y))}return e}applyTransform(t,e=!1){let r=S();rC(r,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&tU(r,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),tD(i.latestValues)&&tU(r,i.latestValues)}return tD(this.latestValues)&&tU(r,this.latestValues),r}removeTransform(t){let e=S();rC(e,t);for(let t=0;t<this.path.length;t++){let r=this.path[t];if(!r.instance||!tD(r.latestValues))continue;tR(r.latestValues)&&r.updateSnapshot();let i=S();rC(i,r.measurePageBox()),rV(e,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,i)}return tD(this.latestValues)&&rV(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tn.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==e;if(!(t||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:i,layoutId:n}=this.options;if(!this.layout||!(i||n))return;this.resolvedRelativeTargetAt=tn.uv.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=S(),this.targetWithTransforms=S()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,eO(o.x,a.x,l.x),eO(o.y,a.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rC(this.target,this.layout.layoutBox),tL(this.target,this.targetDelta)):rC(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0),rv.Q.value&&rq.calculatedTargetDeltas++}}getClosestProjectingParent(){if(!(!this.parent||tR(this.parent.latestValues)||tV(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,r){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=S(),this.relativeTargetOrigin=S(),eR(this.relativeTargetOrigin,e,r),rC(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,r=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===tn.uv.timestamp&&(r=!1),r)return;let{layout:i,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||n))return;rC(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,r,i=!1){let n,s,o=r.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=r[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(i&&n.options.layoutScroll&&n.scroll&&n!==n.root&&tU(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,tL(t,s)),i&&tD(n.latestValues)&&tU(t,n.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=S());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rk(this.prevProjectionDelta.x,this.projectionDelta.x),rk(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),ek(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&rz(this.projectionDelta.x,this.prevProjectionDelta.x)&&rz(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),rv.Q.value&&rq.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=w(),this.projectionDelta=w(),this.projectionDeltaWithTransform=w()}setAnimationOrigin(t,e=!1){let r,i=this.snapshot,n=i?i.latestValues:{},s={...this.latestValues},o=w();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=S(),l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(ir));this.animationProgress=0,this.mixTargetDelta=e=>{let i=e/1e3;if(it(o.x,t.x,i),it(o.y,t.y,i),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,f,d,p,g,v;eR(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),d=this.relativeTarget,p=this.relativeTargetOrigin,g=a,v=i,ie(d.x,p.x,g.x,v),ie(d.y,p.y,g.y,v),r&&(u=this.relativeTarget,f=r,rL(u.x,f.x)&&rL(u.y,f.y))&&(this.isProjectionDirty=!1),r||(r=S()),rC(r,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,r,i,n,s){n?(t.opacity=(0,tS.k)(0,r.opacity??1,rE(i)),t.opacityExit=(0,tS.k)(e.opacity??1,0,rT(i))):s&&(t.opacity=(0,tS.k)(e.opacity??1,r.opacity??1,i));for(let n=0;n<rb;n++){let s=`border${rx[n]}Radius`,o=rS(e,s),a=rS(r,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||rP(o)===rP(a)?(t[s]=Math.max((0,tS.k)(rw(o),rw(a),i),0),(m.KN.test(a)||m.KN.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||r.rotate)&&(t.rotate=(0,tS.k)(e.rotate||0,r.rotate||0,i))}(s,n,this.latestValues,i,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,tn.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tn.Gt.update(()=>{rh.hasAnimatedSinceResize=!0,rg.q.layout++,this.motionValue||(this.motionValue=(0,Y.OQ)(0)),this.currentAnimation=function(t,e,r){let i=(0,E.S)(t)?t:(0,Y.OQ)(t);return i.start((0,eV.f)("",i,e,r)),i.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{rg.q.layout--},onComplete:()=>{rg.q.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:r,layout:i,latestValues:n}=t;if(e&&r&&i){if(this!==t&&this.layout&&i&&il(this.options.animationType,this.layout.layoutBox,i.layoutBox)){r=this.target||S();let e=eM(this.layout.layoutBox.x);r.x.min=t.target.x.min,r.x.max=r.x.min+e;let i=eM(this.layout.layoutBox.y);r.y.min=t.target.y.min,r.y.max=r.y.min+i}rC(e,r),tU(e,n),ek(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rW),this.sharedNodes.get(t).add(e);let r=e.options.initialPromotionConfig;e.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:r}={}){let i=this.getStack();i&&i.promote(this,r),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:r}=t;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(e=!0),!e)return;let i={};r.z&&rH("z",t,i,this.animationValues);for(let e=0;e<rG.length;e++)rH(`rotate${rG[e]}`,t,i,this.animationValues),rH(`skew${rG[e]}`,t,i,this.animationValues);for(let e in t.render(),i)t.setStaticValue(e,i[e]),this.animationValues&&(this.animationValues[e]=i[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=t5(e?.pointerEvents)||"",t.transform=r?r(this.latestValues,""):"none";return}let i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=t5(e?.pointerEvents)||""),this.hasProjected&&!tD(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=i.animationValues||i.latestValues;this.applyTransformsToTarget();let s=function(t,e,r){let i="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=r?.z||0;if((n||s||o)&&(i=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(i+=`scale(${1/e.x}, ${1/e.y}) `),r){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:s,skewX:o,skewY:a}=r;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),n&&(i+=`rotateX(${n}deg) `),s&&(i+=`rotateY(${s}deg) `),o&&(i+=`skewX(${o}deg) `),a&&(i+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);r&&(s=r(n,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,i.animationValues?t.opacity=i===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=i===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,tE){if(void 0===n[e])continue;let{correct:r,applyTo:o,isCSSVariable:a}=tE[e],l="none"===s?n[e]:r(n[e],i);if(o){let e=o.length;for(let r=0;r<e;r++)t[o[r]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=i===this?t5(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(r2),this.root.sharedNodes.clear()}}}function rQ(t){t.updateLayout()}function rZ(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:i}=t.layout,{animationType:n}=t.options,s=e.source!==t.layout.source;"size"===n?eA(t=>{let i=s?e.measuredBox[t]:e.layoutBox[t],n=eM(i);i.min=r[t].min,i.max=i.min+n}):il(n,e.layoutBox,r)&&eA(i=>{let n=s?e.measuredBox[i]:e.layoutBox[i],o=eM(r[i]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+o)});let o=w();ek(o,r,e.layoutBox);let a=w();s?ek(a,t.applyTransform(i,!0),e.measuredBox):ek(a,r,e.layoutBox);let l=!rj(o),u=!1;if(!t.resumeFrom){let i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:n,layout:s}=i;if(n&&s){let o=S();eR(o,e.layoutBox,n.layoutBox);let a=S();eR(a,r,s.layoutBox),rF(o,a)||(u=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function rJ(t){rv.Q.value&&rq.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function r0(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function r1(t){t.clearSnapshot()}function r2(t){t.clearMeasurements()}function r3(t){t.isLayoutDirty=!1}function r5(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function r6(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function r8(t){t.resolveTargetDelta()}function r4(t){t.calcProjection()}function r9(t){t.resetSkewAndRotation()}function r7(t){t.removeLeadSnapshot()}function it(t,e,r){t.translate=(0,tS.k)(e.translate,0,r),t.scale=(0,tS.k)(e.scale,1,r),t.origin=e.origin,t.originPoint=e.originPoint}function ie(t,e,r,i){t.min=(0,tS.k)(e.min,r.min,i),t.max=(0,tS.k)(e.max,r.max,i)}function ir(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let ii={duration:.45,ease:[.4,0,.1,1]},is=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),io=is("applewebkit/")&&!is("chrome/")?Math.round:eE.l;function ia(t){t.min=io(t.min),t.max=io(t.max)}function il(t,e,r){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(rU(e)-rU(r)))}function iu(t){return t!==t.root&&t.scroll?.wasRoot}let ih=rK({attachResizeListener:(t,e)=>eL(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ic={current:void 0},id=rK({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ic.current){let t=new ih({});t.mount(window),t.setOptions({layoutScroll:!0}),ic.current=t}return ic.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function ip(t,e){let r=eU(t),i=new AbortController;return[r,{passive:!0,...e,signal:i.signal},()=>i.abort()]}function im(t,e,r){let{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===r);let n=i["onHover"+r];n&&tn.Gt.postRender(()=>n(e,eK(e)))}class ig extends eh{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,r={}){let[i,n,s]=ip(t,r);return i.forEach(t=>{let r,i=!1,s=!1,o=e=>{r&&(r(e),r=void 0),t.removeEventListener("pointerleave",l)},a=t=>{i=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(i){s=!0;return}o(t)}};t.addEventListener("pointerenter",i=>{if("touch"===i.pointerType||eT.x||eT.y)return;s=!1;let o=e(t,i);"function"==typeof o&&(r=o,t.addEventListener("pointerleave",l,n))},n),t.addEventListener("pointerdown",()=>{i=!0,window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",a,n)},n)}),s}(t,(t,e)=>(im(this.node,e,"Start"),t=>im(this.node,t,"End"))))}unmount(){}}class iv extends eh{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,eJ.F)(eL(this.node.current,"focus",()=>this.onFocus()),eL(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let iy=(t,e)=>!!e&&(t===e||iy(t,e.parentElement)),ix=new WeakSet;function ib(t){return e=>{"Enter"===e.key&&t(e)}}function iw(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function iP(t){return eH(t)&&!(eT.x||eT.y)}let iS=new WeakSet;function iE(t,e,r){let{props:i}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===r);let n=i["onTap"+("End"===r?"":r)];n&&tn.Gt.postRender(()=>n(e,eK(e)))}class iT extends eh{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:r}=this.node.props;this.unmount=function(t,e,r={}){let[i,n,s]=ip(t,r),o=t=>{let i=t.currentTarget;if(!iP(t)||iS.has(t))return;ix.add(i),r.stopPropagation&&iS.add(t);let s=e(i,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),ix.has(i)&&ix.delete(i),iP(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,i===window||i===document||r.useGlobalTarget||iy(i,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};
1return i.forEach(t=>{(r.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),eI(t)&&"offsetHeight"in t&&(t.addEventListener("focus",t=>((t,e)=>{let r=t.currentTarget;if(!r)return;let i=ib(()=>{if(ix.has(r))return;iw(r,"down");let t=ib(()=>{iw(r,"up")});r.addEventListener("keyup",t,e),r.addEventListener("blur",()=>iw(r,"cancel"),e)});r.addEventListener("keydown",i,e),r.addEventListener("blur",()=>r.removeEventListener("keydown",i),e)})(t,n)),eB.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(iE(this.node,e,"Start"),(t,{success:e})=>iE(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:r?.tap===!1})}unmount(){}}let iA=new WeakMap,iM=new WeakMap,iC=t=>{let e=iA.get(t.target);e&&e(t)},ik=t=>{t.forEach(iC)},iO={some:0,all:1};class i_ extends eh{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:r,amount:i="some",once:n}=t,s={root:e?e.current:void 0,rootMargin:r,threshold:"number"==typeof i?i:iO[i]},o=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,n&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:r,onViewportLeave:i}=this.node.getProps(),s=e?r:i;s&&s(t)};var a=this.node.current;let l=function({root:t,...e}){let r=t||document;iM.has(r)||iM.set(r,{});let i=iM.get(r),n=JSON.stringify(e);return i[n]||(i[n]=new IntersectionObserver(ik,{root:t,...e})),i[n]}(s);return iA.set(a,o),l.observe(a),()=>{iA.delete(a),l.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return r=>t[r]!==e[r]}(t,e))&&this.startObserver()}unmount(){}}let iR=function(t,e){if("undefined"==typeof Proxy)return eu;let r=new Map,i=(r,i)=>eu(r,i,t,e);return new Proxy((t,e)=>i(t,e),{get:(n,s)=>"create"===s?i:(r.has(s)||r.set(s,eu(s,void 0,t,e)),r.get(s))})}({animation:{Feature:ew},exit:{Feature:eS},inView:{Feature:i_},tap:{Feature:iT},focus:{Feature:iv},hover:{Feature:ig},pan:{Feature:ru},drag:{Feature:ra,ProjectionNode:id,MeasureLayout:rd},layout:{ProjectionNode:id,MeasureLayout:rd}},(t,e)=>e.isSVG??tY(t)?new tC(e):new tN(e,{allowProjection:t!==tW.Fragment}))},86714:(t,e,r)=>{"use strict";r.d(e,{default:()=>n.a});var i=r(26599),n=r.n(i)},86993:(t,e,r)=>{"use strict";r.d(e,{Gt:()=>n,PP:()=>a,WG:()=>s,uv:()=>o});var i=r(20381);let{schedule:n,cancel:s,state:o,steps:a}=(0,r(33591).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:i.l,!0)},87113:(t,e,r)=>{"use strict";r.d(e,{X4:()=>s,ai:()=>n,hs:()=>o});var i=r(32796);let n={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...n,transform:t=>(0,i.q)(0,1,t)},o={...n,default:1}},89442:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"workAsyncStorage",{enumerable:!0,get:function(){return i.workAsyncStorageInstance}});let i=r(99238)},91154:(t,e,r)=>{"use strict";r.d(e,{V:()=>a});var i=r(87113),n=r(43868),s=r(38167),o=r(44663);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:r,alpha:o=1})=>"hsla("+Math.round(t)+", "+n.KN.transform((0,s.a)(e))+", "+n.KN.transform((0,s.a)(r))+", "+(0,s.a)(i.X4.transform(o))+")"}},91461:(t,e,r)=>{"use strict";function i(t,e){return e?1e3/e*t:0}r.d(e,{f:()=>i})},92642:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let i=r(12563)._(r(1521)),n=r(31958),s=i.default.createContext(n.imageConfigDefault)},93635:(t,e)=>{"use strict";function r(t){var e;let{config:r,src:i,width:n,quality:s}=t,o=s||(null==(e=r.qualities)?void 0:e.reduce((t,e)=>Math.abs(e-75)<Math.abs(t-75)?e:t))||75;return r.path+"?url="+encodeURIComponent(i)+"&w="+n+"&q="+o+(i.startsWith("/_next/static/media/")&&1?"&dpl=dpl_CF5f2ZEagvaC1RdwjKJE6Jr8Cbhd":"")}
1Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}}),r.__next_img_default=!0;let i=r},95214:(t,e,r)=>{"use strict";r.d(e,{Ib:()=>f,ry:()=>c,zs:()=>h});let i=t=>180*t/Math.PI,n=t=>o(i(Math.atan2(t[1],t[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:n,rotateZ:n,skewX:t=>i(Math.atan(t[1])),skewY:t=>i(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},o=t=>((t%=360)<0&&(t+=360),t),a=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),u={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:a,scaleY:l,scale:t=>(a(t)+l(t))/2,rotateX:t=>o(i(Math.atan2(t[6],t[5]))),rotateY:t=>o(i(Math.atan2(-t[2],t[0]))),rotateZ:n,rotate:n,skewX:t=>i(Math.atan(t[4])),skewY:t=>i(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function h(t){return+!!t.includes("scale")}function c(t,e){let r,i;if(!t||"none"===t)return h(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)r=u,i=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=s,i=e}if(!i)return h(e);let o=r[e],a=i[1].split(",").map(d);return"function"==typeof o?o(a):a[o]}let f=(t,e)=>{let{transform:r="none"}=getComputedStyle(t);return c(r,e)};function d(t){return parseFloat(t.trim())}},95578:(t,e,r)=>{"use strict";r.d(e,{E:()=>h});var i=r(9943),n=r(60456),s=r(8915),o=r(69418),a=r(99296);function l(t,e){[...e].reverse().forEach(r=>{let i=t.getVariant(r);i&&(0,s.U)(t,i),t.variantChildren&&t.variantChildren.forEach(t=>{l(t,e)})})}function u(){let t=!1,e=new Set,r={subscribe:t=>(e.add(t),()=>void e.delete(t)),start(r,i){(0,a.V)(t,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let n=[];return e.forEach(t=>{n.push((0,o._)(t,r,{transitionOverride:i}))}),Promise.all(n)},set:r=>((0,a.V)(t,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),e.forEach(t=>{var e,i;e=t,Array.isArray(i=r)?l(e,i):"string"==typeof i?l(e,[i]):(0,s.U)(e,i)})),stop(){e.forEach(t=>{t.values.forEach(t=>t.stop())})},mount:()=>(t=!0,()=>{t=!1,r.stop()})};return r}function h(){let t=(0,i.M)(u);return(0,n.E)(t.mount,[]),t}},96062:(t,e,r)=>{"use strict";function i(t,e){-1===t.indexOf(e)&&t.push(e)}function n(t,e){let r=t.indexOf(e);r>-1&&t.splice(r,1)}r.d(e,{Ai:()=>n,Kq:()=>i})},96900:(t,e,r)=>{"use strict";r.d(e,{j4:()=>n,pG:()=>o,rm:()=>l});let i=t=>e=>"string"==typeof e&&e.startsWith(t),n=i("--"),s=i("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function l(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}},98178:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),!function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}(e,{default:function(){return m},defaultHead:function(){return c}});let i=r(12563),n=r(21512),s=r(73365),o=n._(r(1521)),a=i._(r(63775)),l=r(98422),u=r(12260),h=r(70218);function c(t){void 0===t&&(t=!1);let e=[(0,s.jsx)("meta",{charSet:"utf-8"},"charset")];return t||e.push((0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),e}function f(t,e){return"string"==typeof e||"number"==typeof e?t:e.type===o.default.Fragment?t.concat(o.default.Children.toArray(e.props.children).reduce((t,e)=>"string"==typeof e||"number"==typeof e?t:t.concat(e),[])):t.concat(e)}r(30208);let d=["name","httpEquiv","charSet","itemProp"];function p(t,e){let{inAmpMode:r}=e;return t.reduce(f,[]).reverse().concat(c(r).reverse()).filter(function(){let t=new Set,e=new Set,r=new Set,i={};return n=>{let s=!0,o=!1;if(n.key&&"number"!=typeof n.key&&n.key.indexOf("$")>0){o=!0;let e=n.key.slice(n.key.indexOf("$")+1);t.has(e)?s=!1:t.add(e)}switch(n.type){case"title":case"base":e.has(n.type)?s=!1:e.add(n.type);break;case"meta":for(let t=0,e=d.length;t<e;t++){let e=d[t];if(n.props.hasOwnProperty(e))if("charSet"===e)r.has(e)?s=!1:r.add(e);else{let t=n.props[e],r=i[e]||new Set;("name"!==e||!o)&&r.has(t)?s=!1:(r.add(t),i[e]=r)}}}return s}}()).reverse().map((t,e)=>{let r=t.key||e;return o.default.cloneElement(t,{key:r})})}let m=function(t){let{children:e}=t,r=(0,o.useContext)(l.AmpStateContext),i=(0,o.useContext)(u.HeadManagerContext);return(0,s.jsx)(a.default,{reduceComponentsToState:p,headManager:i,inAmpMode:(0,h.isInAmpMode)(r),children:e})};("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
1dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},98422:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AmpStateContext",{enumerable:!0,get:function(){return i}});let i=r(12563)._(r(1521)).default.createContext({})},99007:(t,e,r)=>{"use strict";function i(t){let e;return()=>(void 0===e&&(e=t()),e)}r.d(e,{p:()=>i})},99238:(t,e,r)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"workAsyncStorageInstance",{enumerable:!0,get:function(){return i}});let i=(0,r(1976).createAsyncLocalStorage)()},99296:(t,e,r)=>{"use strict";r.d(e,{$:()=>i,V:()=>n}),r(89651);let i=()=>{},n=()=>{}}}]);
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.