PageSourceSearch

https://www.thestampquest.com/_next/static/chunks/0kukjcv4crc5c.js

js thestampquest.com collected 2026-10-02 00:34:14 UTC 217,947 bytes, 115 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,19978,t=>{"use strict";var e,i,r=t.i(55118);function s(t,e){let i=e&&e.cache?e.cache:h,r=e&&e.serializer?e.serializer:a;return(e&&e.strategy?e.strategy:function(t,e){var i,r;let s=1===t.length?n:o;return i=e.cache.create(),r=e.serializer,s.bind(this,t,i,r)})(t,{cache:i,serializer:r})}function n(t,e,i,r){let s=null==r||"number"==typeof r||"boolean"==typeof r?r:i(r),n=e.get(s);return void 0===n&&(n=t.call(this,r),e.set(s,n)),n}function o(t,e,i){let r=Array.prototype.slice.call(arguments,3),s=i(r),n=e.get(s);return void 0===n&&(n=t.apply(this,r),e.set(s,n)),n}let a=function(){return JSON.stringify(arguments)};var l=class{constructor(){this.cache=Object.create(null)}get(t){return this.cache[t]}set(t,e){this.cache[t]=e}};let h={create:function(){return new l}},u={variadic:function(t,e){var i,r;return i=e.cache.create(),r=e.serializer,o.bind(this,t,i,r)},monadic:function(t,e){var i,r;return i=e.cache.create(),r=e.serializer,n.bind(this,t,i,r)}};class c extends Error{constructor(t,e){let i=t;e&&(i+=": "+e),super(i),this.code=t,e&&(this.originalMessage=e)}}var d=((e=d||{}).MISSING_MESSAGE="MISSING_MESSAGE",e.MISSING_FORMAT="MISSING_FORMAT",e.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",e.INSUFFICIENT_PATH="INSUFFICIENT_PATH",e.INVALID_MESSAGE="INVALID_MESSAGE",e.INVALID_KEY="INVALID_KEY",e.FORMATTING_ERROR="FORMATTING_ERROR",e);function m(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function p(t,e){return s(t,{cache:{create:()=>({get:t=>e[t],set(t,i){e[t]=i}})},strategy:u.variadic})}function f(t,e){return p((...e)=>new t(...e),e)}function g(t){return{getDateTimeFormat:f(Intl.DateTimeFormat,t.dateTime),getNumberFormat:f(Intl.NumberFormat,t.number),getPluralRules:f(Intl.PluralRules,t.pluralRules),getRelativeTimeFormat:f(Intl.RelativeTimeFormat,t.relativeTime),getListFormat:f(Intl.ListFormat,t.list),getDisplayNames:f(Intl.DisplayNames,t.displayNames)}}let y=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,v=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,E=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,T=/^(@+)?(\+|#+)?[rs]?$/g,S=/(\*)(0+)|(#+)(0+)|(0+)/g,b=/^(0+)$/;function A(t){let e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(T,function(t,i,r){return"string"!=typeof r?(e.minimumSignificantDigits=i.length,e.maximumSignificantDigits=i.length):"+"===r?e.minimumSignificantDigits=i.length:"#"===i[0]?e.maximumSignificantDigits=i.length:(e.minimumSignificantDigits=i.length,e.maximumSignificantDigits=i.length+("string"==typeof r?r.length:0)),""}),e}function C(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function x(t){let e=C(t);return e||{}}let _=((i={})[i.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",i[i.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",i[i.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",i[i.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",i[i.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",i[i.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",i[i.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",i[i.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",i[i.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",i[i.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",i[i.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",i[i.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",i[i.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",i[i.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",i[i.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",i[i.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",i[i.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",i[i.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",i[i.INVALID_TAG=23]="INVALID_TAG",i[i.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",i[i.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",i[i.UNCLOSED_TAG=27]="UNCLOSED_TAG",i);function M(t){return!!(t&&"object"==typeof t&&0===t.type)}function P(t){return!!(t&&"object"==typeof t&&1===t.type)}let R=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,w={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
1:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},B=RegExp(`^${R.source}*`),L=RegExp(`${R.source}*$`);function I(t,e){return{start:t,end:e}}let V=!!Object.fromEntries,N=!!String.prototype.trimStart,O=!!String.prototype.trimEnd,D=V?Object.fromEntries:function(t){let e={};for(let[i,r]of t)e[i]=r;return e},H=N?function(t){return t.trimStart()}:function(t){return t.replace(B,"")},k=O?function(t){return t.trimEnd()}:function(t){return t.replace(L,"")},F=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var U=class{constructor(t,e={}){this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let t=this.message.charCodeAt(0);if(35!==t&&39!==t&&60!==t&&123!==t&&125!==t){let t=function(t){if(0===t.length)return null;let e=1,i=1;for(let r=0;r<t.length;){let s=t.charCodeAt(r);switch(s){case 35:case 39:case 60:case 123:case 125:return null}if(10===s)e++,i=1,r++;else if(i++,s>=55296&&s<=56319&&r+1<t.length){let e=t.charCodeAt(r+1);r+=e>=56320&&e<=57343?2:1}else r++}return{offset:t.length,line:e,column:i}}(this.message);if(t){let e=this.clonePosition();return this.position=t,{val:[{type:0,value:this.message,location:I(e,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(t,e,i){let r=[];for(;!this.isEOF();){let s=this.char();if(123===s){let e=this.parseArgument(t,i);if(e.err)return e;r.push(e.val)}else if(125===s&&t>0)break;else if(35===s&&("plural"===e||"selectordinal"===e)){let t=this.clonePosition();this.bump(),r.push({type:7,location:I(t,this.clonePosition())})}else if(60!==s||this.ignoreTag||47!==this.peek())if(60===s&&!this.ignoreTag&&G(this.peek()||0)){let i=this.parseTag(t,e);if(i.err)return i;r.push(i.val)}else{let i=this.parseLiteral(t,e);if(i.err)return i;r.push(i.val)}else if(!i)return this.error(26,I(this.clonePosition(),this.clonePosition()));else break}return{val:r,err:null}}parseTag(t,e){let i=this.clonePosition();this.bump();let r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${r}/>`,location:I(i,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,I(i,this.clonePosition()));{let s=this.parseMessage(t+1,e,!0);if(s.err)return s;let n=s.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,I(i,this.clonePosition()));{if(this.isEOF()||!G(this.char()))return this.error(23,I(o,this.clonePosition()));let t=this.clonePosition();return r!==this.parseTagName()?this.error(26,I(t,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:r,children:n,location:I(i,this.clonePosition())},err:null}:this.error(23,I(o,this.clonePosition()))}}}parseTagName(){var t;let e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();return this.message.slice(e,this.offset())}parseLiteral(t,e){let i=this.clonePosition(),r="";for(;;){let i=this.tryParseQuote(e);if(i){r+=i;continue}let s=this.tryParseUnquoted(t,e);if(s){r+=s;continue}let n=this.tryParseLeftAngleBracket();if(n){r+=n;continue}break}return{val:{type:0,value:r,location:I(i,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){var t;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(G(t=this.peek()||0)||47===t)?null:(this.bump(),"<")}tryParseQuote(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";
1case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();let e=[this.char()];for(this.bump();!this.isEOF();){let t=this.char();if(39===t)if(39===this.peek())e.push(39),this.bump();else{this.bump();break}else e.push(t);this.bump()}return String.fromCodePoint(...e)}tryParseUnquoted(t,e){if(this.isEOF())return null;let i=this.char();return 60===i||123===i||35===i&&("plural"===e||"selectordinal"===e)||125===i&&t>0?null:(this.bump(),String.fromCodePoint(i))}parseArgument(t,e){let i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,I(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,I(i,this.clonePosition()));let r=this.parseIdentifierIfPossible().value;if(!r)return this.error(3,I(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,I(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:r,location:I(i,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,I(i,this.clonePosition()));return this.parseArgumentOptions(t,e,r,i);default:return this.error(3,I(i,this.clonePosition()))}}parseIdentifierIfPossible(){var t;let e=this.clonePosition(),i=this.offset(),r=(t=this.message,F.lastIndex=i,F.exec(t)[1]??""),s=i+r.length;return this.bumpTo(s),{value:r,location:I(e,this.clonePosition())}}parseArgumentOptions(t,e,i,r){let s=this.clonePosition(),n=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(n){case"":return this.error(4,I(s,o));case"number":case"date":case"time":{this.bumpSpace();let t=null;if(this.bumpIf(",")){this.bumpSpace();let e=this.clonePosition(),i=this.parseSimpleArgStyleIfPossible();if(i.err)return i;let r=k(i.val);if(0===r.length)return this.error(6,I(this.clonePosition(),this.clonePosition()));t={style:r,styleLocation:I(e,this.clonePosition())}}let e=this.tryParseArgumentClose(r);if(e.err)return e;let s=I(r,this.clonePosition());if(t&&t.style.startsWith("::")){let e=H(t.style.slice(2));if("number"===n){let r=this.parseNumberSkeletonFromString(e,t.styleLocation);if(r.err)return r;return{val:{type:2,value:i,location:s,style:r.val},err:null}}{let r;if(0===e.length)return this.error(10,s);let o=e;return this.locale&&(o=function(t,e){let i="";for(let r=0;r<t.length;r++){let s=t.charAt(r);if("j"===s){let n=0;for(;r+1<t.length&&t.charAt(r+1)===s;)n++,r++;let o=1+(1&n),a=n<2?1:3+(n>>1),l=function(t){let e,i=t.hourCycle;if(void 0===i&&t.hourCycles&&t.hourCycles.length&&(i=t.hourCycles[0]),i)switch(i){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let r=t.language;return"root"!==r&&(e=t.maximize().region),(w[e||""]||w[r||""]||w[`${r}-001`]||w["001"])[0]}(e);for(("H"==l||"k"==l)&&(a=0);a-- >0;)i+="a";for(;o-- >0;)i=l+i}else"J"===s?i+="H":i+=s}return i}(e,this.locale)),{val:{type:"date"===n?3:4,value:i,location:s,style:{type:1,pattern:o,location:t.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},o.replace(y,t=>{let e=t.length;switch(t[0]){case"G":r.era=4===e?"long":5===e?"narrow":"short";break;case"y":r.year=2===e?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][e-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][e-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4===e?"long":5===e?"narrow":"short";break;case"e":if(e<4)throw RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][e-3];break;case"c":if(e<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][e-3];break;case"a":r.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][e-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][e-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][e-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][e-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][e-1];break;case"s":r.second=["numeric","2-digit"][e-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=e<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),r):{}}},err:null}}}return{val:{type:"number"===n?2:"date"===n?3:4,value:i,location:s,style:t?.style??null},err:null}}
1case"plural":case"selectordinal":case"select":{let s=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,I(s,{...s}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),a=0;if("select"!==n&&"offset"===o.value){if(!this.bumpIf(":"))return this.error(13,I(this.clonePosition(),this.clonePosition()));this.bumpSpace();let t=this.tryParseDecimalInteger(13,14);if(t.err)return t;this.bumpSpace(),o=this.parseIdentifierIfPossible(),a=t.val}let l=this.tryParsePluralOrSelectOptions(t,n,e,o);if(l.err)return l;let h=this.tryParseArgumentClose(r);if(h.err)return h;let u=I(r,this.clonePosition());if("select"===n)return{val:{type:5,value:i,options:D(l.val),location:u},err:null};return{val:{type:6,value:i,options:D(l.val),offset:a,pluralType:"plural"===n?"cardinal":"ordinal",location:u},err:null}}default:return this.error(5,I(s,o))}}tryParseArgumentClose(t){return this.isEOF()||125!==this.char()?this.error(1,I(t,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let t=0,e=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let t=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,I(t,this.clonePosition()));this.bump();break}case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}}parseNumberSkeletonFromString(t,e){let i=[];try{i=function(t){if(0===t.length)throw Error("Number skeleton cannot be empty");let e=t.split(v).filter(t=>t.length>0),i=[];for(let t of e){let e=t.split("/");if(0===e.length)throw Error("Invalid number skeleton");let[r,...s]=e;for(let t of s)if(0===t.length)throw Error("Invalid number skeleton");i.push({stem:r,options:s})}return i}(t)}catch{return this.error(7,e)}return{val:{type:0,tokens:i,location:e,parsedOptions:this.shouldParseSkeletons?function(t){let e={};for(let i of t){switch(i.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=i.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e={...e,notation:"scientific",...i.options.reduce((t,e)=>({...t,...x(e)}),{})};continue;case"engineering":e={...e,notation:"engineering",...i.options.reduce((t,e)=>({...t,...x(e)}),{})};continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw RangeError("integer-width stems only accept a single optional option");i.options[0].replace(S,function(t,i,r,s,n,o){if(i)e.minimumIntegerDigits=r.length;else if(s&&n)throw Error("We currently do not support maximum integer digits");else if(o)throw Error("We currently do not support exact integer digits");return""});continue}if(b.test(i.stem)){e.minimumIntegerDigits=i.stem.length;continue}if(E.test(i.stem)){if(i.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(E,function(t,i,r,s,n,o){return"*"===r?e.minimumFractionDigits=i.length:s&&"#"===s[0]?e.maximumFractionDigits=s.length:n&&o?(e.minimumFractionDigits=n.length,e.maximumFractionDigits=n.length+o.length):(e.minimumFractionDigits=i.length,e.maximumFractionDigits=i.length),""});let t=i.options[0];
1"w"===t?e={...e,trailingZeroDisplay:"stripIfInteger"}:t&&(e={...e,...A(t)});continue}if(T.test(i.stem)){e={...e,...A(i.stem)};continue}let t=C(i.stem);t&&(e={...e,...t});let r=function(t){let e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){let i=t.slice(0,2);if("+!"===i?(e.signDisplay="always",t=t.slice(2)):"+?"===i&&(e.signDisplay="exceptZero",t=t.slice(2)),!b.test(t))throw Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}(i.stem);r&&(e={...e,...r})}return e}(i):{}},err:null}}tryParsePluralOrSelectOptions(t,e,i,r){let s=!1,n=[],o=new Set,{value:a,location:l}=r;for(;;){if(0===a.length){let t=this.clonePosition();if("select"!==e&&this.bumpIf("=")){let e=this.tryParseDecimalInteger(16,19);if(e.err)return e;l=I(t,this.clonePosition()),a=this.message.slice(t.offset,this.offset())}else break}if(o.has(a))return this.error("select"===e?21:20,l);"other"===a&&(s=!0),this.bumpSpace();let r=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?17:18,I(this.clonePosition(),this.clonePosition()));let h=this.parseMessage(t+1,e,i);if(h.err)return h;let u=this.tryParseArgumentClose(r);if(u.err)return u;n.push([a,{value:h.val,location:I(r,this.clonePosition())}]),o.add(a),this.bumpSpace(),{value:a,location:l}=this.parseIdentifierIfPossible()}return 0===n.length?this.error("select"===e?15:16,I(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(22,I(this.clonePosition(),this.clonePosition())):{val:n,err:null}}tryParseDecimalInteger(t,e){let i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);let s=!1,n=0;for(;!this.isEOF();){let t=this.char();if(t>=48&&t<=57)s=!0,n=10*n+(t-48),this.bump();else break}let o=I(r,this.clonePosition());return s?Number.isSafeInteger(n*=i)?{val:n,err:null}:this.error(e,o):this.error(t,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");let e=this.message.codePointAt(t);if(void 0===e)throw Error(`Offset ${t} is at invalid UTF-16 code unit boundary`);return e}error(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}}bump(){if(this.isEOF())return;let t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}bumpIf(t){if(this.message.startsWith(t,this.offset())){for(let e=0;e<t.length;e++)this.bump();return!0}return!1}bumpUntil(t){let e=this.offset(),i=this.message.indexOf(t,e);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)}bumpTo(t){if(this.offset()>t)throw Error(`targetOffset ${t} must be greater than or equal to the current offset ${this.offset()}`);for(t=Math.min(t,this.message.length);;){let e=this.offset();if(e===t)break;if(e>t)throw Error(`targetOffset ${t} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var t;!this.isEOF()&&((t=this.char())>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t);)this.bump()}peek(){if(this.isEOF())return null;let t=this.char(),e=this.offset();return this.message.charCodeAt(e+(t>=65536?2:1))??null}};function G(t){return t>=97&&t<=122||t>=65&&t<=90}function $(t,e={}){let i=new U(t,e={shouldParseSkeletons:!0,requiresOtherClause:!0,...e}).parse();if(i.err){let t=SyntaxError(_[i.err.kind]);throw t.location=i.err.location,t.originalMessage=i.err.message,t}return e?.captureLocation||function t(e){e.forEach(e=>{if(delete e.location,5===e.type||6===e.type)for(let i in e.options)delete e.options[i].location,t(e.options[i].value);else 2===e.type&&M(e.style)||(3===e.type||4===e.type)&&P(e.style)?delete e.style.location:8===e.type&&t(e.children)})}(i.val),i.val}var j=class extends Error{constructor(t,e,i){super(t),this.code=e,this.originalMessage=i}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},W=class extends j{constructor(t,e,i,r){super(`Invalid values for "${t}": "${e}". Options are "${Object.keys(i).join('", "')}"`,"INVALID_VALUE",r)}},K=class extends j{constructor(t,e,i){super(`Value for "${t}" must be of type ${e}`,"INVALID_VALUE",i)}}
1,z=class extends j{constructor(t,e){super(`The intl string context variable "${t}" was not provided to the string "${e}"`,"MISSING_VALUE",e)}};function Y(t){return{create:()=>({get:e=>t[e],set(e,i){t[e]=i}})}}var X=class t{constructor(e,i=t.defaultLocale,r,n){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=t=>{let e=this.formatToParts(t);if(1===e.length)return e[0].value;let i=e.reduce((t,e)=>(t.length&&0===e.type&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t),[]);return i.length<=1?i[0]||"":i},this.formatToParts=t=>(function t(e,i,r,s,n,o,a){if(1===e.length&&0===e[0].type)return[{type:0,value:e[0].value}];let l=[];for(let h of e){if(0===h.type){l.push({type:0,value:h.value});continue}if(7===h.type){"number"==typeof o&&l.push({type:0,value:r.getNumberFormat(i).format(o)});continue}let{value:e}=h;if(!(n&&e in n))throw new z(e,a);let u=n[e];if(1===h.type){u&&"string"!=typeof u&&"number"!=typeof u&&"bigint"!=typeof u||(u="string"==typeof u||"number"==typeof u||"bigint"==typeof u?String(u):""),l.push({type:+("string"!=typeof u),value:u});continue}if(3===h.type){let t="string"==typeof h.style?s.date[h.style]:P(h.style)?h.style.parsedOptions:void 0;l.push({type:0,value:r.getDateTimeFormat(i,t).format(u)});continue}if(4===h.type){let t="string"==typeof h.style?s.time[h.style]:P(h.style)?h.style.parsedOptions:s.time.medium;l.push({type:0,value:r.getDateTimeFormat(i,t).format(u)});continue}if(2===h.type){let t="string"==typeof h.style?s.number[h.style]:M(h.style)?h.style.parsedOptions:void 0;if(t&&t.scale){let e=t.scale||1;if("bigint"==typeof u){if(!Number.isInteger(e))throw TypeError(`Cannot apply fractional scale ${e} to bigint value. Scale must be an integer when formatting bigint.`);u*=BigInt(e)}else u*=e}l.push({type:0,value:r.getNumberFormat(i,t).format(u)});continue}if(8===h.type){let{children:e,value:u}=h,c=n[u];if("function"!=typeof c)throw new K(u,"function",a);let d=c(t(e,i,r,s,n,o).map(t=>t.value));Array.isArray(d)||(d=[d]),l.push(...d.map(t=>({type:+("string"!=typeof t),value:t})))}if(5===h.type){let e=u,o=(Object.prototype.hasOwnProperty.call(h.options,e)?h.options[e]:void 0)||h.options.other;if(!o)throw new W(h.value,u,Object.keys(h.options),a);l.push(...t(o.value,i,r,s,n));continue}if(6===h.type){let e=`=${u}`,o=Object.prototype.hasOwnProperty.call(h.options,e)?h.options[e]:void 0;if(!o){if(!Intl.PluralRules)throw new j(`Intl.PluralRules is not available in this environment.
2Try polyfilling it using "@formatjs/intl-pluralrules"
3`,"MISSING_INTL_API",a);let t="bigint"==typeof u?Number(u):u,e=r.getPluralRules(i,{type:h.pluralType}).select(t-(h.offset||0));o=(Object.prototype.hasOwnProperty.call(h.options,e)?h.options[e]:void 0)||h.options.other}if(!o)throw new W(h.value,u,Object.keys(h.options),a);let c="bigint"==typeof u?Number(u):u;l.push(...t(o.value,i,r,s,n,c-(h.offset||0)));continue}}return l.length<2?l:l.reduce((t,e)=>{let i=t[t.length-1];return i&&0===i.type&&0===e.type?i.value+=e.value:t.push(e),t},[])})(this.ast,this.locales,this.formatters,this.formats,t,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=i,this.resolvedLocale=t.resolveLocale(i),"string"==typeof e){if(this.message=e,!t.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{...i}=n||{};this.ast=t.__parse(e,{...i,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=function(t,e){return e?Object.keys(t).reduce((i,r)=>{var s,n;return i[r]=(s=t[r],(n=e[r])?{...s,...n,...Object.keys(s).reduce((t,e)=>(t[e]={...s[e],...n[e]},t),{})}:s),i},{...t}):t}(t.formats,r),this.formatters=n&&n.formatters||function(t={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:s((...t)=>new Intl.NumberFormat(...t),{cache:Y(t.number),strategy:u.variadic}),getDateTimeFormat:s((...t)=>new Intl.DateTimeFormat(...t),{cache:Y(t.dateTime),strategy:u.variadic}),getPluralRules:s((...t)=>new Intl.PluralRules(...t),{cache:Y(t.pluralRules),strategy:u.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),t.memoizedDefaultLocale}static{this.resolveLocale=t=>{if(void 0===Intl.Locale)return;let e=Intl.NumberFormat.supportedLocalesOf(t);return new Intl.Locale(e.length>0?e[0]:"string"==typeof t?t:t[0])}}static{this.__parse=$}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}};function Z(...[t,e,i,s]){let n;if(Array.isArray(e))throw new c(d.INVALID_MESSAGE,void 0);if("object"==typeof e)throw new c(d.INSUFFICIENT_PATH,void 0);if("string"==typeof e){let t=i||/'[{}<#|']/.test(e)?void 0:e;if(t)return t}let{cache:o,formats:a,formatters:l,globalFormats:h,locale:u,timeZone:m}=s;l.getMessageFormat||(l.getMessageFormat=p((...t)=>new X(t[0],t[1],t[2],{formatters:l,...t[3]}),o.message));try{let t,i,r,s;n=l.getMessageFormat(e,u,(t=X.formats.date,i=X.formats.time,r={...h?.dateTime,...a?.dateTime},s={date:{...t,...r},time:{...i,...r},number:{...h?.number,...a?.number}},m&&["date","time"].forEach(t=>{let e=s[t];for(let[t,i]of Object.entries(e))e[t]={timeZone:m,...i}}),s),{formatters:{...l,getDateTimeFormat:(t,e)=>l.getDateTimeFormat(t,{...e,timeZone:e?.timeZone??m})}})}catch(t){throw new c(d.INVALID_MESSAGE,void 0)}let f=n.format(i);return(0,r.isValidElement)(f)||Array.isArray(f)||"string"==typeof f?f:String(f)}function q(...t){return t.filter(Boolean).join(".")}function J(t){return q(t.namespace,t.key)}function Q(t){console.error(t)}function tt(t,e,i,r){let s=q(r,i);if(!e)throw Error(s);let n=e;
3return i.split(".").forEach(e=>{let i=n[e];if(null==e||null==i)throw Error(s+` (${t})`);n=i}),n}Z.raw=!0;let te={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:2628e3,months:2628e3,quarter:7884e3,quarters:7884e3,year:31536e3,years:31536e3};var ti=t.i(46882);let tr=(0,r.createContext)(void 0);function ts(){let t=(0,r.useContext)(tr);if(!t)throw Error(void 0);return t}let tn=!1,to="u"<typeof window;t.s(["IntlProvider",0,function({children:t,formats:e,getMessageFallback:i,locale:s,messages:n,now:o,onError:a,timeZone:l}){let h=(0,r.useContext)(tr),u=(0,r.useMemo)(()=>h?.cache||m(),[s,h?.cache]),c=(0,r.useMemo)(()=>h?.formatters||g(u),[u,h?.formatters]),d=(0,r.useMemo)(()=>({...function({formats:t,getMessageFallback:e,messages:i,onError:r,...s}){return{...s,formats:t||void 0,messages:i||void 0,onError:r||Q,getMessageFallback:e||J}}({locale:s,formats:void 0===e?h?.formats:e,getMessageFallback:i||h?.getMessageFallback,messages:void 0===n?h?.messages:n,now:o||h?.now,onError:a||h?.onError,timeZone:l||h?.timeZone}),formatters:c,cache:u}),[u,e,c,i,s,n,o,a,h,l]);return(0,ti.jsx)(tr.Provider,{value:d,children:t})},"useFormatter",0,function(){let{formats:t,formatters:e,locale:i,now:s,onError:n,timeZone:o}=ts();return(0,r.useMemo)(()=>(function(t){let{_cache:e=m(),_formatters:i=g(e),formats:r,locale:s,onError:n=Q,timeZone:o}=t;function a(t){return t?.timeZone||(o?t={...t,timeZone:o}:n(new c(d.ENVIRONMENT_FALLBACK,void 0))),t}function l(t,e,i,r,s){let o;try{o=function(t,e,i){let r;if("string"==typeof e){if(!(r=t?.[e])){let t=new c(d.MISSING_FORMAT,void 0);throw n(t),t}}else r=e;return i&&(r={...r,...i}),r}(i,t,e)}catch{return s()}try{return r(o)}catch(t){return n(new c(d.FORMATTING_ERROR,t.message)),s()}}function h(t,e,n){return l(e,n,r?.dateTime,e=>(e=a(e),i.getDateTimeFormat(s,e).format(t)),()=>String(t))}function u(){return t.now?t.now:(n(new c(d.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:h,number:function(t,e,n){return l(e,n,r?.number,e=>i.getNumberFormat(s,e).format(t),()=>String(t))},relativeTime:function(t,e){try{var r;let n,o,a,l={};e instanceof Date||"number"==typeof e?n=new Date(e):e&&(n=null!=e.now?new Date(e.now):u(),o=e.unit,l.style=e.style,l.numberingSystem=e.numberingSystem),n||(n=u());let h=(new Date(t).getTime()-n.getTime())/1e3;o||(o=(a=Math.abs(h))<60?"second":a<3600?"minute":a<86400?"hour":a<604800?"day":a<2628e3?"week":a<31536e3?"month":"year"),l.numeric="second"===o?"auto":"always";let c=(r=o,Math.round(h/te[r]));return i.getRelativeTimeFormat(s,l).format(c,o)}catch(e){return n(new c(d.FORMATTING_ERROR,e.message)),String(t)}},list:function(t,e,n){let o=[],a=new Map,h=0;for(let e of t){let t;"object"==typeof e?(t=String(h),a.set(t,e)):t=String(e),o.push(t),h++}return l(e,n,r?.list,t=>{let e=i.getListFormat(s,t).formatToParts(o).map(t=>"literal"===t.type?t.value:a.get(t.value)||t.value);return a.size>0?e:e.join("")},()=>String(t))},dateTimeRange:function(t,e,n,o){return l(n,o,r?.dateTime,r=>(r=a(r),i.getDateTimeFormat(s,r).formatRange(t,e)),()=>[h(t),h(e)].join(" – "))},displayName:function(t,e,n){return l(e,n,r?.displayName,e=>i.getDisplayNames(s,e).of(t),()=>t)}}})({formats:t,locale:i,now:s,onError:n,timeZone:o,_formatters:e}),[t,e,s,i,n,o])},"useLocale",0,function(){return ts().locale},"useTranslations",0,function(t){return function(t,e){let{cache:i,formats:s,formatters:n,getMessageFallback:o,locale:a,onError:l,timeZone:h}=ts(),u=t["!"],m="!"===e?void 0:e.slice(2);return h||tn||!to||(tn=!0,l(new c(d.ENVIRONMENT_FALLBACK,void 0))),(0,r.useMemo)(()=>{var t;let e;return e=function(t,e,i){try{if(!e)throw Error(void 0);let r=i?tt(t,e,i):e;if(!r)throw Error(i);return r}catch(t){return new c(d.MISSING_MESSAGE,t.message)}}((t={cache:i,formatters:n,getMessageFallback:o,messages:u,namespace:m,onError:l,formats:s,locale:a,timeZone:h}).locale,t.messages,t.namespace),function({cache:t,formats:e,formatters:i,getMessageFallback:s=J,locale:n,messagesOrError:o,namespace:a,onError:l,timeZone:h}){let u=o instanceof c;function m(t,e,i,r){let n=new c(e,i);return l(n),r??s({error:n,key:t,namespace:a})}function p(p,f,g,y){let v;if(u){if(!y)return l(o),s({error:o,key:p,namespace:a});v=y}else try{v=tt(n,o,p,a)}catch(t){if(!y)return m(p,d.MISSING_MESSAGE,t.message,y);v=y}try{let s,o=q(a,p);return Z(o,v,f?(s={},Object.keys(f).forEach(t=>{let e,i=0,n=f[t];e="function"==typeof n?e=>{let s=n(e);return(0,r.isValidElement)(s)?(0,r.cloneElement)(s,{key:t+i++}):s}:n,s[t]=e}),s):f,{cache:t,formatters:i,globalFormats:e,formats:g,locale:n,timeZone:h})}catch(i){let t,e;return i instanceof c?(t=i.code,e=i.originalMessage):(t=d.FORMATTING_ERROR,e=i.message),m(p,t,e,y)}}function f(t,e,i,r){let s=p(t,e,i,r);return"string"!=typeof s?m(t,d.INVALID_MESSAGE,void 0):s}return f.rich=p,f.markup=(t,e,i,r)=>p(t,e,i,r),f.raw=t=>{if(u)return l(o),s({error:o,key:t,namespace:a});try{return tt(n,o,t,a)}catch(e){return m(t,d.MISSING_MESSAGE,e.message)}},f.has=t=>{if(u)return!1;try{return tt(n,o,t,a),!0}catch{return!1}},f}({...t,messagesOrError:e})},[i,n,o,u,m,l,s,a,h])}({"!":ts().messages},t?`!.${t}`:"!")}],19978)},97583,(t,e,i)=>{e.exports=t.r(30451)},23988,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={formatUrl:function(){return a},formatWithValidation:function(){return h},urlObjectKeys:function(){return l}};for(var s in r)Object.defineProperty(i,s,{enumerable:!0,get:r[s]});
3let n=t.r(24930)._(t.r(17516)),o=/https?|ftp|gopher|file/;function a(t){let{auth:e,hostname:i}=t,r=t.protocol||"",s=t.pathname||"",a=t.hash||"",l=t.query||"",h=!1;e=e?encodeURIComponent(e).replace(/%3A/i,":")+"@":"",t.host?h=e+t.host:i&&(h=e+(~i.indexOf(":")?`[${i}]`:i),t.port&&(h+=":"+t.port)),l&&"object"==typeof l&&(l=String(n.urlQueryToSearchParams(l)));let u=t.search||l&&`?${l}`||"";return r&&!r.endsWith(":")&&(r+=":"),t.slashes||(!r||o.test(r))&&!1!==h?(h="//"+(h||""),s&&"/"!==s[0]&&(s="/"+s)):h||(h=""),a&&"#"!==a[0]&&(a="#"+a),u&&"?"!==u[0]&&(u="?"+u),s=s.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${r}${h}${s}${u}${a}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function h(t){return a(t)}},40716,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return s}});let r=t.r(55118);function s(t,e){let i=(0,r.useRef)(null),s=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let t=i.current;t&&(i.current=null,t());let e=s.current;e&&(s.current=null,e())}else t&&(i.current=n(t,r)),e&&(s.current=n(e,r))},[t,e])}function n(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let i=t(e);return"function"==typeof i?i:()=>t(null)}}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},67973,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isLocalURL",{enumerable:!0,get:function(){return n}});let r=t.r(23869),s=t.r(80097);function n(t){if(!(0,r.isAbsoluteUrl)(t))return!0;try{let e=(0,r.getLocationOrigin)(),i=new URL(t,e);return i.origin===e&&(0,s.hasBasePath)(i.pathname)}catch(t){return!1}}},48766,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"errorOnce",{enumerable:!0,get:function(){return r}});let r=t=>{}},54249,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return y},useLinkStatus:function(){return E}};for(var s in r)Object.defineProperty(i,s,{enumerable:!0,get:r[s]});let n=t.r(24930),o=t.r(46882),a=n._(t.r(55118)),l=t.r(23988),h=t.r(35547),u=t.r(40716),c=t.r(23869),d=t.r(22955);t.r(7507);let m=t.r(97637),p=t.r(58922),f=t.r(67973),g=t.r(31546);function y(e){var i,r;let s,n,y,[E,T]=(0,a.useOptimistic)(p.IDLE_LINK_STATUS),S=(0,a.useRef)(null),{href:b,as:A,children:C,prefetch:x=null,passHref:_,replace:M,shallow:P,scroll:R,onClick:w,onMouseEnter:B,onTouchStart:L,legacyBehavior:I=!1,onNavigate:V,transitionTypes:N,ref:O,unstable_dynamicOnHover:D,...H}=e;s=C,I&&("string"==typeof s||"number"==typeof s)&&(s=(0,o.jsx)("a",{children:s}));let k=a.default.useContext(h.AppRouterContext),F=!1!==x,U=!1!==x?null===(r=x)||"auto"===r?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,G="string"==typeof(i=A||b)?i:(0,l.formatUrl)(i);if(I){if(s?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=a.default.Children.only(s)}let $=I?n&&"object"==typeof n&&n.ref:O,j=a.default.useCallback(t=>(null!==k&&(S.current=(0,p.mountLinkInstance)(t,G,k,U,F,T)),()=>{S.current&&((0,p.unmountLinkForCurrentNavigation)(S.current),S.current=null),(0,p.unmountPrefetchableInstance)(t)}),[F,G,k,U,T]),W={ref:(0,u.useMergedRef)(j,$),onClick(e){I||"function"!=typeof w||w(e),I&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),!k||e.defaultPrevented||function(e,i,r,s,n,o,l){if("u">typeof window){let h,{nodeName:u}=e.currentTarget;if("A"===u.toUpperCase()&&((h=e.currentTarget.getAttribute("target"))&&"_self"!==h||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,f.isLocalURL)(i)){s&&(e.preventDefault(),location.replace(i));return}if(e.preventDefault(),o){let t=!1;if(o({preventDefault:()=>{t=!0}}),t)return}let{dispatchNavigateAction:c}=t.r(9697);a.default.startTransition(()=>{c(i,s?"replace":"push",!1===n?m.ScrollBehavior.NoScroll:m.ScrollBehavior.Default,r.current,l)})}}(e,G,S,M,R,V,N)},onMouseEnter(t){I||"function"!=typeof B||B(t),I&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(t),k&&F&&(0,p.onNavigationIntent)(t.currentTarget,!0===D)},onTouchStart:function(t){I||"function"!=typeof L||L(t),I&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(t),k&&F&&(0,p.onNavigationIntent)(t.currentTarget,!0===D)}};return(0,c.isAbsoluteUrl)(G)?W.href=G:I&&!_&&("a"!==n.type||"href"in n.props)||(W.href=(0,d.addBasePath)(G)),y=I?a.default.cloneElement(n,W):(0,o.jsx)("a",{...H,...W,children:s}),(0,o.jsx)(v.Provider,{value:E,children:y})}t.r(48766);let v=(0,a.createContext)(p.IDLE_LINK_STATUS),E=()=>(0,a.useContext)(v);("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
3dule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},17978,26668,t=>{"use strict";var e,i=t.i(19940),r=["bottom","height","left","right","top","width"],s=new Map,n=function t(){var i=[];s.forEach(function(t,e){var s,n,o=e.getBoundingClientRect();s=o,n=t.rect,void 0===s&&(s={}),void 0===n&&(n={}),r.some(function(t){return s[t]!==n[t]})&&(t.rect=o,i.push(t))}),i.forEach(function(t){t.callbacks.forEach(function(e){return e(t.rect)})}),e=window.requestAnimationFrame(t)},o=class t{static CSS_VAR_Z_INDEX="--directus-visual-editing--overlay--z-index";static CSS_VAR_BORDER_SPACING="--directus-visual-editing--rect--border-spacing";static CSS_VAR_BORDER_WIDTH="--directus-visual-editing--rect--border-width";static CSS_VAR_BORDER_COLOR="--directus-visual-editing--rect--border-color";static CSS_VAR_BORDER_RADIUS="--directus-visual-editing--rect--border-radius";static CSS_VAR_HOVER_OPACITY="--directus-visual-editing--rect-hover--opacity";static CSS_VAR_HIGHLIGHT_OPACITY="--directus-visual-editing--rect-highlight--opacity";static CSS_VAR_ACTIONS_GAP="--directus-visual-editing--actions--gap";static CSS_VAR_ACTIONS_OFFSET="--directus-visual-editing--actions--offset";static CSS_VAR_FOCUS_RING_COLOR="--directus-visual-editing--actions--focus-ring-color";static CSS_VAR_FOCUS_RING_WIDTH="--directus-visual-editing--actions--focus-ring-width";static CSS_VAR_FOCUS_RING_OFFSET="--directus-visual-editing--actions--focus-ring-offset";static CSS_VAR_BUTTON_WIDTH="--directus-visual-editing--edit-btn--width";static CSS_VAR_BUTTON_HEIGHT="--directus-visual-editing--edit-btn--height";static CSS_VAR_BUTTON_RADIUS="--directus-visual-editing--edit-btn--radius";static CSS_VAR_EDIT_BUTTON_BG_COLOR="--directus-visual-editing--edit-btn--bg-color";static CSS_VAR_EDIT_BUTTON_HOVER_BG_COLOR="--directus-visual-editing--edit-btn-hover--bg-color";static CSS_VAR_EDIT_BUTTON_ICON_BG_IMAGE="--directus-visual-editing--edit-btn--icon-bg-image";static CSS_VAR_EDIT_BUTTON_ICON_BG_SIZE="--directus-visual-editing--edit-btn--icon-bg-size";static CSS_VAR_AI_BUTTON_BG_COLOR="--directus-visual-editing--ai-btn--bg-color";static CSS_VAR_AI_BUTTON_HOVER_BG_COLOR="--directus-visual-editing--ai-btn-hover--bg-color";static CSS_VAR_AI_BUTTON_ICON_BG_IMAGE="--directus-visual-editing--ai-btn--icon-bg-image";static CSS_VAR_AI_BUTTON_ICON_BG_SIZE="--directus-visual-editing--ai-btn--icon-bg-size";static ICON_EDIT='url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="%23ffffff"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M14.06 9.02l.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z"/></svg>\')';static ICON_AI='url(\'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"><path fill="%23ffffff" d="M10 14.175L11 12l2.175-1L11 10l-1-2.175L9 10l-2.175 1L9 12l1 2.175ZM10 19l-2.5-5.5L2 11l5.5-2.5L10 3l2.5 5.5L18 11l-5.5 2.5L10 19Zm8 2l-1.25-2.75L14 17l2.75-1.25L18 13l1.25 2.75L22 17l-2.75 1.25L18 21Zm-8-10Z"/></svg>\')';static OVERLAY_ID="directus-visual-editing";static STYLE_ID="directus-visual-editing-style";static CONTAINER_RECT_CLASS_NAME="directus-visual-editing-overlay";static RECT_CLASS_NAME="directus-visual-editing-rect";static RECT_HIGHLIGHT_CLASS_NAME="directus-visual-editing-rect-highlight";static RECT_HIGHLIGHT_ACTIVE_CLASS_NAME="directus-visual-editing-rect-highlight-active";static RECT_PARENT_HOVER_CLASS_NAME="directus-visual-editing-rect-parent-hover";static RECT_HOVER_CLASS_NAME="directus-visual-editing-rect-hover";static RECT_INNER_CLASS_NAME="directus-visual-editing-rect-inner";static RECT_BUTTON_CLASS_NAME="directus-visual-editing-button";static RECT_EDIT_BUTTON_CLASS_NAME="directus-visual-editing-edit-button";static RECT_AI_BUTTON_CLASS_NAME="directus-visual-editing-ai-button";static RECT_ACTIONS_FLIPPED_CLASS_NAME="directus-visual-editing-actions-flipped";static getGlobalOverlay(){let e=document.getElementById(t.OVERLAY_ID);if(e)return e;let i=document.createElement("div");return i.id=t.OVERLAY_ID,document.body.insertAdjacentElement("afterend",i),i}static addStyles(){if(document.getElementById(t.STYLE_ID))return;let e=document.createElement("style");e.id=t.STYLE_ID;let i=new u().getTheme(),r={primaryColor:i?.primaryColor?.trim()||"#6644ff",primaryAccentColor:i?.primaryAccentColor?.trim()||"color-mix(in srgb, #6644ff, #2e3C43 25%)",borderRadius:i?.borderRadius?.trim()||"6px",buttonSize:i?.buttonSize?.trim()||"24px",focusRingWidth:i?.focusRingWidth?.trim()||"2px",focusRingOffset:i?.focusRingOffset?.trim()||"2px"},s=`var(${t.CSS_VAR_ACTIONS_GAP}, 4px)`,n=`var(${t.CSS_VAR_ACTIONS_OFFSET}, 4px)`,o=`var(${t.CSS_VAR_EDIT_BUTTON_BG_COLOR}, ${r.primaryColor})`,a=`var(${t.CSS_VAR_AI_BUTTON_BG_COLOR}, ${r.primaryColor})`,l=`var(${t.CSS_VAR_EDIT_BUTTON_HOVER_BG_COLOR}, ${r.primaryAccentColor})`,h=`var(${t.CSS_VAR_AI_BUTTON_HOVER_BG_COLOR}, ${r.primaryAccentColor})`,c=`var(${t.CSS_VAR_BUTTON_WIDTH}, ${r.buttonSize})`,d=`var(${t.CSS_VAR_BUTTON_HEIGHT}, ${r.buttonSize})`,m=`var(${t.CSS_VAR_BUTTON_RADIUS}, ${r.borderRadius})`,p=`var(${t.CSS_VAR_BORDER_SPACING}, 8px)`,f=`var(${t.CSS_VAR_BORDER_WIDTH}, ${r.focusRingWidth})`,g=`var(${t.CSS_VAR_BORDER_COLOR}, ${r.primaryColor})`,y=`var(${t.CSS_VAR_BORDER_RADIUS}, ${r.borderRadius})`,v=`var(${t.CSS_VAR_FOCUS_RING_COLOR}, ${r.primaryColor})`,E=`var(${t.CSS_VAR_FOCUS_RING_WIDTH}, ${r.focusRingWidth})`,T=`var(${t.CSS_VAR_FOCUS_RING_OFFSET}, ${r.focusRingOffset})`;e.appendChild(document.createTextNode(`
4				#${t.OVERLAY_ID} {
5					display: contents;
6				}
7				.${t.CONTAINER_RECT_CLASS_NAME} {
8					pointer-events: none;
9					position: fixed;
10					inset: 0;
11					z-index: var(${t.CSS_VAR_Z_INDEX}, 999999999);
12				}
13				.${t.RECT_CLASS_NAME} {
14					position: absolute;
15					/* Use non-logical properties to correctly position the rect with transform translate in RTL mode */
16					top: 0;
17					left: 0;
18				}
19				.${t.RECT_INNER_CLASS_NAME} {
20					position: absolute;
21					box-sizing: border-box;
22					inset-block-start: calc(-1 * ${p});
23					inset-inline-start: calc(-1 * ${p});
24					inset-inline-end: calc(-1 * ${p});
25					inset-block-end: calc(-1 * ${p});
26					border: ${f} solid ${g};
27					border-radius: ${y};
28					opacity: 0;
29				}
30				.${t.RECT_CLASS_NAME}.${t.RECT_HOVER_CLASS_NAME} .${t.RECT_INNER_CLASS_NAME} {
31					--hover-opacity: var(${t.CSS_VAR_HOVER_OPACITY}, 0.333);
32					opacity: var(--hover-opacity);
33				}
34				.${t.RECT_CLASS_NAME}.${t.RECT_PARENT_HOVER_CLASS_NAME} .${t.RECT_INNER_CLASS_NAME} {
35					opacity: calc(var(--hover-opacity) / 3);
36				}
37				.${t.RECT_HIGHLIGHT_CLASS_NAME} {
38					pointer-events: all;
39					cursor: pointer;
40				}
41				.${t.RECT_HIGHLIGHT_CLASS_NAME} .${t.RECT_INNER_CLASS_NAME}  {
42					opacity: var(${t.CSS_VAR_HIGHLIGHT_OPACITY}, 0.333);
43				}
44				.${t.RECT_BUTTON_CLASS_NAME}:visited,
45				.${t.RECT_BUTTON_CLASS_NAME}:active,
46				.${t.RECT_BUTTON_CLASS_NAME}:hover,
47				.${t.RECT_BUTTON_CLASS_NAME}:focus,
48				.${t.RECT_BUTTON_CLASS_NAME} {
49					all: initial;
50					pointer-events: all;
51					cursor: pointer;
52					position: absolute;
53					z-index: 1;
54					inset-block-end: 100%;
55					margin-block-end: calc((${p} + ${n}));
56					inline-size: ${c};
57					block-size: ${d};
58					border-radius: ${m};
59					background-position: center;
60					background-repeat: no-repeat;
61					opacity: 0;
62				}
63				.${t.RECT_BUTTON_CLASS_NAME}::after {
64					content: '';
65					position: absolute;
66					inset-inline: calc(-1 * ${s} / 2);
67					inset-block-start: 0;
68					inset-block-end: calc(-1 * ${n});
69				}
70				.${t.RECT_BUTTON_CLASS_NAME}.${t.RECT_EDIT_BUTTON_CLASS_NAME} {
71					inset-inline-start: calc(-1 * ${p});
72					background-color: ${o};
73					background-image: var(${t.CSS_VAR_EDIT_BUTTON_ICON_BG_IMAGE}, ${t.ICON_EDIT});
74					background-size: var(${t.CSS_VAR_EDIT_BUTTON_ICON_BG_SIZE}, 66.6%);
75				}
76				.${t.RECT_BUTTON_CLASS_NAME}.${t.RECT_AI_BUTTON_CLASS_NAME} {
77					inset-inline-start: calc(-1 * ${p} + ${c} + ${s});
78					background-color: ${a};
79					background-image: var(${t.CSS_VAR_AI_BUTTON_ICON_BG_IMAGE}, ${t.ICON_AI});
80					background-size: var(${t.CSS_VAR_AI_BUTTON_ICON_BG_SIZE}, 66.6%);
81				}
82				.${t.RECT_CLASS_NAME}.${t.RECT_HOVER_CLASS_NAME}:not(.${t.RECT_PARENT_HOVER_CLASS_NAME}) .${t.RECT_BUTTON_CLASS_NAME},
83				.${t.RECT_HIGHLIGHT_ACTIVE_CLASS_NAME} .${t.RECT_INNER_CLASS_NAME},
84				.${t.RECT_HIGHLIGHT_CLASS_NAME}:hover .${t.RECT_BUTTON_CLASS_NAME},
85				.${t.RECT_BUTTON_CLASS_NAME}:hover,
86				.${t.RECT_BUTTON_CLASS_NAME}:hover ~ .${t.RECT_INNER_CLASS_NAME},
87				.${t.RECT_HIGHLIGHT_CLASS_NAME}:hover .${t.RECT_INNER_CLASS_NAME},
88				.${t.RECT_CLASS_NAME}:has(.${t.RECT_BUTTON_CLASS_NAME}:hover) .${t.RECT_BUTTON_CLASS_NAME},
89				.${t.RECT_HIGHLIGHT_CLASS_NAME}:focus-within .${t.RECT_BUTTON_CLASS_NAME},
90				.${t.RECT_BUTTON_CLASS_NAME}:focus-visible,
91				.${t.RECT_BUTTON_CLASS_NAME}:focus-visible ~ .${t.RECT_INNER_CLASS_NAME},
92				.${t.RECT_HIGHLIGHT_CLASS_NAME}:focus-within .${t.RECT_INNER_CLASS_NAME},
93				.${t.RECT_CLASS_NAME}:has(.${t.RECT_BUTTON_CLASS_NAME}:focus-within) .${t.RECT_BUTTON_CLASS_NAME}  {
94					opacity: 1;
95				}
96				.${t.RECT_BUTTON_CLASS_NAME}.${t.RECT_EDIT_BUTTON_CLASS_NAME}:hover {
97					background-color: ${l};
98				}
99				.${t.RECT_BUTTON_CLASS_NAME}.${t.RECT_AI_BUTTON_CLASS_NAME}:hover {
100					background-color: ${h};
101				}
102				.${t.RECT_CLASS_NAME}.${t.RECT_ACTIONS_FLIPPED_CLASS_NAME} .${t.RECT_BUTTON_CLASS_NAME} {
103					inset-block-end: auto;
104					inset-block-start: 100%;
105					margin-block-start: calc(${p} + ${n});
106				}
107				.${t.RECT_CLASS_NAME}.${t.RECT_ACTIONS_FLIPPED_CLASS_NAME} .${t.RECT_BUTTON_CLASS_NAME}::after {
108					inset-block-start: calc(-1 * ${n});
109					inset-block-end: 0;
110				}
111				.${t.RECT_BUTTON_CLASS_NAME}:focus-visible {
112					outline: ${E} solid ${v};
113					outline-offset: ${T};
114				}
115			`)),document.head.appendChild(e)}},a=class t{static NEAR_TOP_THRESHOLD=54;hasNoDimensions=!1;element;container;editButton;aiButton;constructor(){this.container=this.createContainer(),this.element=this.createElement(),this.editButton=this.createEditButton();let t=new u;this.aiButton=t.isAiEnabled()?this.createAiButton():null,this.setMessages(t.getMe
115ssages()),this.createRectElement(),o.getGlobalOverlay().appendChild(this.container),h.highlightOverlayElements&&this.toggleHighlight(!0),this.element.addEventListener("click",t=>{let e=t.target;e&&(this.editButton.contains(e)||this.aiButton?.contains(e))||this.editButton.click()})}createContainer(){let t=document.createElement("div");return t.classList.add(o.CONTAINER_RECT_CLASS_NAME),t}createElement(){let t=document.createElement("div");return t.classList.add(o.RECT_CLASS_NAME),this.container.appendChild(t),t}createRectElement(){let t=document.createElement("div");t.classList.add(o.RECT_INNER_CLASS_NAME),this.element.appendChild(t)}createEditButton(){let t=document.createElement("button");return t.type="button",t.classList.add(o.RECT_BUTTON_CLASS_NAME),t.classList.add(o.RECT_EDIT_BUTTON_CLASS_NAME),this.element.appendChild(t),t}createAiButton(){let t=document.createElement("button");return t.type="button",t.classList.add(o.RECT_BUTTON_CLASS_NAME),t.classList.add(o.RECT_AI_BUTTON_CLASS_NAME),this.element.appendChild(t),t}setMessages(t){t&&(this.editButton.title=t.edit,this.editButton.setAttribute("aria-label",t.edit),this.aiButton&&(this.aiButton.title=t.addToContext,this.aiButton.setAttribute("aria-label",t.addToContext)))}updateRect(e){let i=0!==e.width&&0!==e.height;if(!this.hasNoDimensions&&!i){this.hasNoDimensions=!0,this.disable();return}this.hasNoDimensions&&i&&(this.hasNoDimensions=!1,this.enable()),this.element.style.width=`${e.width}px`,this.element.style.height=`${e.height}px`,this.element.style.transform=`translate(${e.left}px,${e.top}px)`,this.element.classList.toggle(o.RECT_ACTIONS_FLIPPED_CLASS_NAME,e.top<t.NEAR_TOP_THRESHOLD)}setCustomClass(t){void 0!==t&&/^[a-zA-Z_][\w-]*$/.test(t)&&this.container.classList.add(t)}toggleHover(t){this.element.classList.toggle(o.RECT_HOVER_CLASS_NAME,t)}toggleParentHover(t){this.element.classList.toggle(o.RECT_PARENT_HOVER_CLASS_NAME,t)}toggleHighlight(t){this.element.classList.toggle(o.RECT_HIGHLIGHT_CLASS_NAME,t)}toggleHighlightActive(t){this.element.classList.toggle(o.RECT_HIGHLIGHT_ACTIVE_CLASS_NAME,t)}disable(){this.element.style.display="none"}enable(){this.element.style.removeProperty("display")}remove(){this.container.remove()}},l=class t{static DATASET="directus";static DATA_ATTRIBUTE_VALID_KEYS=["collection","item","fields","mode"];activated=!1;optionsWritable=!0;customClass=void 0;element;key;editConfig;rectObserver;overlayElement;rect;hover=!1;disabled=!1;onSaved=void 0;boundMouseenter;boundMouseleave;constructor(e){this.element=e,this.key=crypto.randomUUID(),this.editConfig=t.editAttrToObject(this.element.dataset[t.DATASET])}activate(){var t,i;this.activated||(this.activated=!0,this.boundMouseenter=this.onMouseenter.bind(this),this.boundMouseleave=this.onMouseleave.bind(this),this.element.addEventListener("mouseenter",this.boundMouseenter),this.element.addEventListener("mouseleave",this.boundMouseleave),this.rect=this.element.getBoundingClientRect(),this.overlayElement=new a,this.overlayElement.setCustomClass(this.customClass),this.overlayElement.updateRect(this.rect),this.overlayElement.editButton.addEventListener("click",this.onClickEdit.bind(this)),this.overlayElement.aiButton?.addEventListener("click",this.onClickAddToContext.bind(this)),this.rectObserver=(t=this.element,i=this.onObserveRect.bind(this),{observe:function(){var e=0===s.size;s.has(t)?s.get(t).callbacks.push(i):s.set(t,{rect:void 0,hasRectChanged:!1,callbacks:[i]}),e&&n()},unobserve:function(){var r=s.get(t);if(r){var n=r.callbacks.indexOf(i);n>=0&&r.callbacks.splice(n,1),r.callbacks.length||s.delete(t),s.size||cancelAnimationFrame(e)}}}),this.rectObserver.observe())}static query(e){return e?(Array.isArray(e)?e:[e]).filter(t=>t instanceof HTMLElement).flatMap(e=>void 0===e.dataset[t.DATASET]?Array.from(e.querySelectorAll(`[data-${t.DATASET}]`)):e).filter(t=>null!==t):Array.from(document.querySelectorAll(`[data-${t.DATASET}]`))}static objectToEditAttr(e){let i=[];for(let[r,s]of Object.entries(e))t.validEditConfigKey(r)&&("fields"===r&&Array.isArray(s)?i.push(`${r}:${s.join(",")}`):i.push(`${r}:${s}`));return i.join(";")}static editAttrToObject(e){let i=e.split(";"),r={};
115return i.forEach(e=>{let i=e.split(":");if(void 0===i[0]||i?.[1]===void 0)return;let s=i[0].trim();if(!t.validEditConfigKey(s))return;let n=i[1];if("fields"===s){r.fields=n.split(",").map(t=>t.trim());return}r[s]=n.trim()}),r}static validEditConfigKey(e){return t.DATA_ATTRIBUTE_VALID_KEYS.includes(e)}applyOptions({customClass:t,onSaved:e},i=!1){this.optionsWritable&&(i&&(this.optionsWritable=!1),void 0!==e&&(this.onSaved=e),this.overlayElement?this.overlayElement.setCustomClass(t):this.customClass=t)}removeHoverListener(){this.boundMouseenter&&(this.element.removeEventListener("mouseenter",this.boundMouseenter),this.element.removeEventListener("mouseleave",this.boundMouseleave))}onClickEdit(){new u().send("edit",{key:this.key,editConfig:this.editConfig,rect:this.rect})}onClickAddToContext(t){t.stopPropagation(),new u().send("addToContext",{key:this.key,editConfig:this.editConfig,rect:this.rect})}onMouseenter(t){this.toggleItemHover(!0,t)}onMouseleave(t){this.toggleItemHover(!1,t)}toggleItemHover(t,e){this.element!==e.currentTarget||this.hover===t||(this.hover=t,this.setParentsHover(),this.overlayElement.toggleHover(t))}setParentsHover(){let t=h.getHoveredItems();t.forEach(e=>{let i=t.filter(t=>t.element!==e.element).some(t=>e.element.contains(t.element));e.overlayElement.toggleParentHover(i)})}onObserveRect(t){this.disabled||(this.rect=t,this.overlayElement?.updateRect(t))}},h=class t{static items=[];static highlightOverlayElements=!1;static highlightedKey=null;static getItem(e){return t.items.find(t=>t.element===e)}static getItemByKey(e){return t.items.find(t=>t.key===e)}static getItemByEditConfig(e,i,r){return t.items.find(t=>{if(t.editConfig.collection!==e||String(t.editConfig.item)!==String(i))return!1;let s=t.editConfig.fields??[],n=r??[];return s.length===n.length&&s.every(t=>n.includes(t))})}static getHoveredItems(){return t.items.filter(t=>t.hover)}static addItem(e){t.items.push(e)}static activateItems(e){t.items.forEach(t=>{e.includes(t.key)&&t.activate()})}static enableItems(e){(e??t.items).forEach(t=>{t.disabled=!1,t.rectObserver?.observe(),t.overlayElement?.enable()})}static disableItems(e){let i=e??t.items.filter(t=>!t.disabled);return i.forEach(t=>{t.disabled=!0,t.hover=!1,t.rectObserver?.unobserve(),t.overlayElement?.disable()}),[...i]}static removeItems(e){let i=e??t.items;i.forEach(t=>{t.rectObserver?.unobserve(),t.overlayElement?.remove(),t.removeHoverListener()}),t.items=t.items.filter(t=>!i.includes(t))}static highlightItems(e){this.highlightOverlayElements!==e&&(this.highlightOverlayElements=e,t.items.forEach(t=>{t.overlayElement?.toggleHighlight(e)}))}static highlightElement(e){let i;if(null!==this.highlightedKey&&t.getItemByKey(this.highlightedKey)?.overlayElement?.toggleHighlightActive(!1),null===e){this.highlightedKey=null;return}(i="key"in e?t.getItemByKey(e.key):t.getItemByEditConfig(e.collection,e.item,e.fields))?(this.highlightedKey=i.key,i.overlayElement?.toggleHighlightActive(!0)):this.highlightedKey=null}},u=class t{static SINGLETON;static ERROR_PARENT_NOT_FOUND="Error sending message to Directus in parent frame:";origin=null;confirmed=!1;aiEnabled=!1;theme=null;messages=null;constructor(){if(t.SINGLETON)return t.SINGLETON;t.SINGLETON=this,window?.addEventListener("message",this.receive.bind(this))}isAiEnabled(){return this.aiEnabled}getTheme(){return this.theme}getMessages(){return this.messages}send(e,i){try{if(!this.origin)throw Error();return window.parent.postMessage({action:e,data:i},this.origin),!0}catch(e){return console.error(t.ERROR_PARENT_NOT_FOUND,e),!1}}connect(t){return this.origin=t,this.send("connect")}receive(t){if(!this.origin||!function(t,e){try{return new URL(t).origin===new URL(e).origin}catch{return!1}}(t.origin,this.origin))return;let{action:e,data:i}=t.data;"confirm"===e&&this.receiveConfirmAction(i),"activateElements"===e&&this.receiveActivateElements(i),"showEditableElements"===e&&this.receiveShowEditableElements(i),"saved"===e&&this.receiveSaved(i),"highlightElement"===e&&this.receiveHighlightElement(i)}receiveConfirm(){let t=0;return new Promise(e=>{let i=()=>
115{if(t>=10)return e(!1);t++,this.confirmed?e(!0):setTimeout(i,100)};i()})}receiveConfirmAction(t){this.confirmed=!0,this.aiEnabled=!!t?.aiEnabled,this.theme=t?.theme??null,this.messages=t?.messages??null}receiveActivateElements(t){let e=Array.isArray(t)?t:[];h.activateItems(e)}receiveShowEditableElements(t){h.highlightItems(!!t)}receiveSaved(t){let{key:e="",collection:i="",item:r=null,payload:s={}}=t,n=h.getItemByKey(e);n&&i&&"function"==typeof n.onSaved?n.onSaved({collection:i,item:r,payload:s}):window.location.reload()}receiveHighlightElement(t){if(!t||"object"!=typeof t)return void h.highlightElement(null);let{key:e,collection:i,item:r,fields:s}=t;null===e?h.highlightElement(null):i&&void 0!==r?h.highlightElement(s?{collection:i,item:r,fields:s}:{collection:i,item:r}):"string"==typeof e&&h.highlightElement({key:e})}},c=class t{static navigationInitialized=!1;static onNavigation(e){if(t.navigationInitialized)return;let i="",r="",s,n=()=>{let t=window.location.href,o=document.title,a=i!==t||r!==o;a&&(clearTimeout(s),s=setTimeout(()=>e({url:t,title:o}),100),i=t,r=o),setTimeout(n,a?50:200)};n(),t.navigationInitialized=!0}};async function d({directusUrl:t,elements:e,customClass:i,onSaved:r}){let s=new u;if(!s.connect(t)||!await s.receiveConfirm())return;c.onNavigation(t=>s.send("navigation",t)),o.addStyles();let n=l.query(e),a=[],m=[];return n.forEach(t=>{let s=h.getItem(t),n=s??new l(t);n.applyOptions({customClass:i,onSaved:r},!!e),a.push(n),s||(h.addItem(n),m.push({key:n.key,collection:n.editConfig.collection,item:n.editConfig.item,fields:n.editConfig.fields??[]}))}),m.length&&s.send("checkFieldAccess",m),{remove(){h.removeItems(a)},enable(){h.enableItems(a)},disable(){h.disableItems(a)}}}function m(t){return l.objectToEditAttr(t)}t.s(["apply",0,d,"remove",0,function(){h.removeItems()},"setAttr",0,m],26668),t.s(["getPublicDirectusUrl",0,function(){return"https://directus-production-1f2e.up.railway.app".replace(/\/$/,"")||i.default.env.DIRECTUS_URL?.replace(/\/$/,"")||"https://directus-production-1f2e.up.railway.app"},"visualAttr",0,function(t){return m({collection:t.collection,item:t.item,fields:t.fields,mode:t.mode??"popover"})}],17978)},55748,t=>{"use strict";t.s(["cn",0,function(...t){return function(){for(var t,e,i=0,r="",s=arguments.length;i<s;i++)(t=arguments[i])&&(e=function t(e){var i,r,s="";if("string"==typeof e||"number"==typeof e)s+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(i=0;i<n;i++)e[i]&&(r=t(e[i]))&&(s&&(s+=" "),s+=r)}else for(r in e)e[r]&&(s&&(s+=" "),s+=r);return s}(t))&&(r&&(r+=" "),r+=e);return r}(t)}],55748)},30358,t=>{"use strict";var e=t.i(46882),i=t.i(55748);let r={default:"text-[var(--color-icon-default)]",secondary:"text-[var(--color-icon-secondary)]",tertiary:"text-[var(--color-icon-tertiary)]",brand:"text-[var(--color-icon-brand)]",danger:"text-[var(--color-icon-danger)]","on-brand":"text-[var(--color-icon-on-brand)]",black:"text-black"},s={apple:{width:20,height:24},playstore:{width:21,height:24}},n=new Set(["playstore"]);t.s(["Icon",0,function({name:t,size:o=24,tone:a="default",className:l,alt:h=""}){let u=s[t]??{width:o,height:o},c=t in s?u.width:o,d=t in s?u.height:o,m=`/icons/${t}.svg`;return n.has(t)?(0,e.jsx)("img",{src:m,alt:h,width:c,height:d,"aria-hidden":""===h||void 0,className:(0,i.cn)("inline-block shrink-0 object-contain",l),draggable:!1}):(0,e.jsx)("span",{role:h?"img":void 0,"aria-label":h||void 0,"aria-hidden":""===h||void 0,className:(0,i.cn)("inline-block shrink-0 bg-current",r[a],l),style:{width:c,height:d,maskImage:`url(${m})`,maskSize:"contain",maskRepeat:"no-repeat",maskPosition:"center",WebkitMaskImage:`url(${m})`,WebkitMaskSize:"contain",WebkitMaskRepeat:"no-repeat",WebkitMaskPosition:"center"}})}])},50119,t=>{"use strict";let e=[.4,0,.2,1],i={fast:.2,enter:.26,panel:.34,backdrop:.24,exitDelay:.18},r={duration:i.fast,ease:e},s={duration:i.enter,ease:e};i.panel;let n={duration:i.panel,ease:e},o={duration:i.backdrop,ease:e},a={initial:{opacity:0,y:10},animate:{opacity:1,y:0,transition:{duration:i.enter,ease:e,when:"beforeChildren",staggerChildren:.06,delayChildren:.04}},exit:{opacity:0,y:-8,transition:{duration:i.fast,ease:e,when:"afterChildren",staggerChildren:.045,staggerDirection:-1}}},l={left:-8,right:8},h={left:{opacity:0,x:-28,scale:.86,rotate:l.left-6},right:{opacity:0,x:28,scale:.86,rotate:l.right+6}};l.left,l.right;let u={left:{opacity:0,x:-18,scale:.9,rotate:l.left-4},right:{opacity:0,x:18,scale:.9,rotate:l.right+4}},c={mockupEnter:0,pinEnter:.38,stampEnter:.14,captionEnter:.28,captionExit:0,stampExit:.06,mockupExit:.12},d={delay:c.pinEnter,duration:.9,ease:[.22,1,.36,1],opacity:{duration:.28,ease:e,delay:c.pinEnter},scale:{duration:.7,ease:[.22,1,.36,1],delay:c.pinEnter},rotate:{duration:.9,ease:[.33,1,.68,1],delay:c.pinEnter}},m={opacity:{duration:1.05,ease:e,delay:c.mockupEnter},y:{duration:1.05,ease:e,delay:c.mockupEnter},rotate:{duration:.65,ease:[.33,1,.68,1],delay:c.mockupEnter}},p={opacity:{duration:.95,ease:e,delay:c.mockupExit},y:{duration:.95,ease:e,delay:c.mockupExit},rotate:{duration:.55,ease:[.33,1,.68,1],delay:c.mockupExit}};c.stampEnter,c.stampEnter,c.stampEnter,c.stampEnter,c.stampExit,c.stampExit,c.stampExit,c.stampExit;let f={hidden:{opacity:0,y:10,transition:{duration:.28,ease:e,delay:c.captionExit}},visible:{opacity:1,y:0,transition:{duration:.4,ease:[.22,1,.36,1],delay:c.captionEnter}}},g={nav:0,heroBg:.38,heroCopy:.62,heroCta:.92,heroVisual:1.18},y={nav:.42,heroBg:.55,copyItem:.36,cta:.38,visual:.5},v={hidden:{opacity:0,y:14},visible:{opacity:1,y:0,transition:{duration:y.copyItem,ease:e}}},E={hidden:{},visible:{transition:{delayChildren:g.heroCopy,staggerChildren:.08}}},T={hidden:{opacity:0,y:18},visible:{opacity:1,y:0,transition:{duration:.5,ease:e,delay:g.heroVisual}}};t.s(["HERO_AUTOPLAY_MS",0,1e4,"downloadFlightEase",0,[.22,.15,.28,1],"downloadIconIdleFirstDelaySec",0,2.8,"downloadIconIdleIntervalSec",0,6.5,"downloadIconIdleWiggle",0,{rotate:[0,-1.8,1.4,-.8,.35,0],scale:[1,1.018,.994,1.006,1]},"downloadIconPress",0,{scale:.94,rotate:0},"downloadIconWiggle",0,{scale:1,rotate:0},"downloadRevealItemVariants",0,{hidden:{opacity:0,y:14},visible:{opacity:1,y:0,transition:{duration:.4,ease:e}}},"downloadRevealVariants",0,{hidden:{},visible:{transition:{staggerChildren:.1,delayChildren:.06}}},"downloadStampFlightSec",0,3.4,"downloadStampScaleEnd",0,.8333333333333334,"downloadStampSizeStart",0,96,"downloadStampStagger",0,1,"easeInOut",0,e,"fadeSlideItemVariants",0,{hidden:{opacity:0,y:-8,transition:r},visible:{opacity:1,y:0,transition:s}},"faqPillsVariants",0,{initial:{opacity:0,y:-6}
115,animate:{opacity:1,y:0,transition:s},exit:{opacity:0,y:-6,transition:r}},"faqRevealItemVariants",0,{hidden:{opacity:0,y:14},visible:{opacity:1,y:0,transition:{duration:.4,ease:e}}},"faqRevealVariants",0,{hidden:{},visible:{transition:{staggerChildren:.1,delayChildren:.06}}},"faqSwapItemVariants",0,{initial:{opacity:0,y:8,transition:r},animate:{opacity:1,y:0,transition:s},exit:{opacity:0,y:-6,transition:r}},"faqSwapVariants",0,a,"featureDesktopItemDelay",0,function(t,e,i){let r=3*t;return e?"media"===i?.14*r:"title"===i?(r+1)*.14:(r+2)*.14:"title"===i?.14*r:"description"===i?(r+1)*.14:(r+2)*.14},"featureDesktopItemDuration",0,.38,"heroCaptionVariants",0,f,"heroCascadeDelay",0,c,"heroPinEnterKeyframes",0,{opacity:[0,1,1],scale:[0,1.06,1],rotate:[0,-7,5.5,-3.2,1.4,0]},"heroSideStampEnter",0,h,"heroSideStampExit",0,u,"heroSideStampTilt",0,l,"heroSideWiggle",0,function(t){let e="left"===t?-1:1;return{rotate:[0,-1.1*e,.8*e,-.7*e,.45*e,0],y:[0,-1.6,.6,-1,.3,0],x:[0,-.7*e,.5*e,-.4*e,0]}},"marqueeInViewVariants",0,{hidden:{opacity:0,y:18},visible:{opacity:1,y:0,transition:{duration:.5,ease:e}}},"marqueePageEnterVariants",0,T,"marqueeStampWiggle",0,function(t){let e=t%2==0?-1:1;return{rotate:[0,-.9*e,.7*e,-.55*e,.35*e,0],y:[0,-1.2,.5,-.8,.25,0]}},"motionDuration",0,i,"pageEnterCopyStagger",0,.08,"pageEnterCopyVariants",0,E,"pageEnterDelay",0,g,"pageEnterDuration",0,y,"pageEnterItemVariants",0,v,"pageTransitionLayerDuration",0,.55,"pageTransitionLayerStagger",0,.09,"pageTransitionLogoPulse",0,{scale:[1,1.06,1],opacity:[1,.88,1]},"pageTransitionMarkDelayMs",0,320,"pageTransitionMaxBootMs",0,2200,"pageTransitionMinLoadMs",0,{boot:900},"staggerListVariants",0,{hidden:{opacity:0,transition:{when:"afterChildren",staggerChildren:.045,staggerDirection:-1}},visible:{opacity:1,transition:{when:"beforeChildren",staggerChildren:.06,delayChildren:.04}}},"statsCountDuration",0,1.6,"transitionAccordion",0,n,"transitionBackdrop",0,o,"transitionDownloadIconIdleWiggle",0,{duration:1.05,ease:[.4,.05,.2,1]},"transitionDownloadIconPress",0,{duration:.12,ease:[.33,.1,.25,1]},"transitionDownloadIconWiggle",0,{type:"spring",stiffness:460,damping:14,mass:.55},"transitionEnter",0,s,"transitionFast",0,r,"transitionHeroMockupEnter",0,m,"transitionHeroMockupExit",0,p,"transitionHeroPinEnter",0,d,"transitionHeroWiggle",0,{duration:4.2,ease:"easeInOut",repeat:1/0,repeatType:"loop",delay:.6},"transitionMarqueeWiggle",0,{duration:5.2,ease:"easeInOut",repeat:1/0,repeatType:"loop"},"transitionPageTransitionLayer",0,{duration:.55,ease:[.76,0,.24,1]},"transitionPageTransitionMark",0,{duration:.32,ease:[.4,0,.2,1]},"transitionPageTransitionPulse",0,{duration:1.65,ease:e,repeat:1/0},"viewportReveal",0,{once:!0,amount:.35}])},10360,95676,t=>{"use strict";function e(t,e){-1===t.indexOf(e)&&t.push(e)}function i(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}t.s(["addUniqueItem",0,e,"removeItem",0,i],95676),t.s(["SubscriptionManager",0,class{constructor(){this.subscriptions=[]}add(t){return e(this.subscriptions,t),()=>i(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let s=0;s<r;s++){let r=this.subscriptions[s];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}],10360)},48111,t=>{"use strict";t.s(["velocityPerSecond",0,(t,e)=>e?1e3/e*t:0])},82764,t=>{"use strict";t.s(["MotionGlobalConfig",0,{}])},22865,t=>{"use strict";t.s(["noop",0,t=>t])},30998,78069,t=>{"use strict";var e=t.i(22865),i=t.i(82764);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function s(t,e){let s=!1,n=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>s=!0,l=r.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,r=!1,s=!1,n=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){n.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,s=!1,o=!1)=>{let a=o&&r?e:i;return s&&n.add(t),a.add(t),t},cancel:t=>{i.delete(t),n.delete(t)},process:t=>{if(o=t,r){s=!0;return}r=!0;let n=e;e=i,i=n,e.forEach(a),e.clear(),r=!1,s&&(s=!1,l.process(t))}};return l}(a),t),{}),{setup:h,read:u,resolveKeyframes:c,preUpdate:d,update:m,preRender:p,render:f,postRender:g}=l,y=()=>{let r=i.MotionGlobalConfig.useManualTiming,a=r?o.timestamp:performance.now();s=!1,r||(o.delta=n?1e3/60:Math.max(Math.min(a-o.timestamp,40),1)),o.timestamp=a,o.isProcessing=!0,h.process(o),u.process(o),c.process(o),d.process(o),m.process(o),p.process(o),f.process(o),g.process(o),o.isProcessing=!1,s&&e&&(n=!1,t(y))};return{schedule:r.reduce((e,i)=>{let r=l[i];return e[i]=(e,i=!1,a=!1)=>(!s&&(s=!0,n=!0,o.isProcessing||t(y)),r.schedule(e,i,a)),e},{}),cancel:t=>{for(let e=0;e<r.length;e++)l[r[e]].cancel(t)},state:o,steps:l}}t.s(["createRenderBatcher",0,s],78069);let{schedule:n,cancel:o,state:a,steps:l}=s("u">typeof requestAnimationFrame?requestAnimationFrame:e.noop,!0);t.s(["cancelFrame",0,o,"frame",0,n,"frameData",0,a,"frameSteps",0,l],30998)},93742,t=>{"use strict";let e;var i=t.i(82764),r=t.i(30998);function s(){e=void 0}let n={now:()=>(void 0===e&&n.set(r.frameData.isProcessing||i.MotionGlobalConfig.useManualTiming?r.frameData.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(s)}};t.s(["time",0,n])},73680,t=>{"use strict";var e=t.i(10360),i=t.i(48111),r=t.i(93742),s=t.i(30998);let n={current:void 0};class o{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=r.time.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=r.time.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,i){this.events[t]||(this.events[t]=new e.SubscriptionManager);let r=this.events[t].add(i);return"change"===t?()=>{r(),s.frame.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,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return n.current&&n.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=r.time.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,i.velocityPerSecond)(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()}}t.s(["collectMotionValues",0,n,"motionValue",0,function(t,e){return new o(t,e)}])},64913,t=>{"use strict";t.s(["millisecondsToSeconds",0,t=>t/1e3,"secondsToMilliseconds",0,t=>1e3*t])},472,t=>{"use strict";t.s(["clamp",0,(t,e,i)=>i>e?e:i<t?t:i])},61603,t=>{"use strict";t.i(19940).default,t.s(["invariant",0,()=>{},"warning",0,()=>{}],61603)},88193,t=>{"use strict";t.s(["generateLinearEasing",0,(t,e,i=10)=>{let r="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)r+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`}])},70097,35497,95488,t=>{"use strict";var e=t.i(64913),i=t.i(472),r=t.i(61603),s=t.i(88193);function n(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function o(t,i=100,r){let s=r({...t,keyframes:[0,i]}),a=Math.min(n(s),2e4);return{type:"keyframes",ease:t=>s.next(a*t).value/i,duration:(0,e.millisecondsToSeconds)(a)}}
115t.s(["calcGeneratorDuration",0,n,"maxGeneratorDuration",0,2e4],35497),t.s(["createGeneratorEasing",0,o],95488);let a=.01,l=2,h=.005,u=.5;function c(t,e){return t*Math.sqrt(1-e*e)}let d=["duration","bounce"],m=["stiffness","damping","mass"];function p(t,e){return e.some(e=>void 0!==t[e])}function f(t=.3,o=.3){let g,y,v,E,T,S,b="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:o}:t,{restSpeed:A,restDelta:C}=b,x=b.keyframes[0],_=b.keyframes[b.keyframes.length-1],M={done:!1,value:x},{stiffness:P,damping:R,mass:w,duration:B,velocity:L,isResolvedFromDuration:I}=function(t){let s={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!p(t,m)&&p(t,d))if(s.velocity=0,t.visualDuration){let e=2*Math.PI/(1.2*t.visualDuration),r=e*e,n=2*(0,i.clamp)(.05,1,1-(t.bounce||0))*Math.sqrt(r);s={...s,mass:1,stiffness:r,damping:n}}else{let n=function({duration:t=800,bounce:s=.3,velocity:n=0,mass:o=1}){let a,l;(0,r.warning)(t<=(0,e.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let h=1-s;h=(0,i.clamp)(.05,1,h),t=(0,i.clamp)(.01,10,(0,e.millisecondsToSeconds)(t)),h<1?(a=e=>{let i=e*h,r=i*t;return .001-(i-n)/c(e,h)*Math.exp(-r)},l=e=>{let i=e*h*t,r=Math.pow(h,2)*Math.pow(e,2)*t,s=Math.exp(-i),o=c(Math.pow(e,2),h);return(i*n+n-r)*s*(-a(e)+.001>0?-1:1)/o}):(a=e=>-.001+Math.exp(-e*t)*((e-n)*t+1),l=e=>t*t*(n-e)*Math.exp(-e*t));let u=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(a,l,5/t);if(t=(0,e.secondsToMilliseconds)(t),isNaN(u))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(u,2)*o;return{stiffness:e,damping:2*h*Math.sqrt(o*e),duration:t}}}({...t,velocity:0});(s={...s,...n,mass:1}).isResolvedFromDuration=!0}return s}({...b,velocity:-(0,e.millisecondsToSeconds)(b.velocity||0)}),V=L||0,N=R/(2*Math.sqrt(P*w)),O=_-x,D=(0,e.millisecondsToSeconds)(Math.sqrt(P/w)),H=5>Math.abs(O);if(A||(A=H?a:l),C||(C=H?h:u),N<1)v=c(D,N),E=(V+N*D*O)/v,g=t=>_-Math.exp(-N*D*t)*(E*Math.sin(v*t)+O*Math.cos(v*t)),T=N*D*E+O*v,S=N*D*O-E*v,y=t=>Math.exp(-N*D*t)*(T*Math.sin(v*t)+S*Math.cos(v*t));else if(1===N){g=t=>_-Math.exp(-D*t)*(O+(V+D*O)*t);let t=V+D*O;y=e=>Math.exp(-D*e)*(D*t*e-V)}else{let t=D*Math.sqrt(N*N-1);g=e=>{let i=Math.exp(-N*D*e),r=Math.min(t*e,300);return _-i*((V+N*D*O)*Math.sinh(r)+t*O*Math.cosh(r))/t};let e=(V+N*D*O)/t,i=N*D*e-O*t,r=N*D*O-e*t;y=e=>{let s=Math.exp(-N*D*e),n=Math.min(t*e,300);return s*(i*Math.sinh(n)+r*Math.cosh(n))}}let k={calculatedDuration:I&&B||null,velocity:t=>(0,e.secondsToMilliseconds)(y(t)),next:t=>{if(!I&&N<1){let i=Math.exp(-N*D*t),r=Math.sin(v*t),s=Math.cos(v*t),n=_-i*(E*r+O*s);return M.done=Math.abs((0,e.secondsToMilliseconds)(i*(T*r+S*s)))<=A&&Math.abs(_-n)<=C,M.value=M.done?_:n,M}let i=g(t);return I?M.done=t>=B:M.done=Math.abs((0,e.secondsToMilliseconds)(y(t)))<=A&&Math.abs(_-i)<=C,M.value=M.done?_:i,M},toString:()=>{let t=Math.min(n(k),2e4),e=(0,s.generateLinearEasing)(e=>k.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return k}f.applyToOptions=t=>{let i=o(t,100,f);return t.ease=i.ease,t.duration=(0,e.secondsToMilliseconds)(i.duration),t.type="keyframes",t},t.s(["spring",0,f],70097)},23448,t=>{"use strict";t.s(["isMotionValue",0,t=>!!(t&&t.getVelocity)])},63188,t=>{"use strict";t.s(["progress",0,(t,e,i)=>{let r=e-t;return r?(i-t)/r:1}])},32069,t=>{"use strict";t.s(["mixNumber",0,(t,e,i)=>t+(e-t)*i])},90192,56693,t=>{"use strict";var e=t.i(63188),i=t.i(32069);function r(t,r){let s=t[t.length-1];for(let n=1;n<=r;n++){let o=(0,e.progress)(0,r,n);t.push((0,i.mixNumber)(s,1,o))}}t.s(["fillOffset",0,r],56693),t.s(["defaultOffset",0,function(t){let e=[0];return r(e,t.length-1),e}],90192)},74439,t=>{"use strict";t.s(["isGenerator",0,function(t){return"function"==typeof t&&"applyToOptions"in t}])},51649,t=>{"use strict";t.s(["reverseEasing",0,t=>e=>1-t(1-e)])},22969,t=>{"use strict";t.s(["isEasingArray",0,t=>Array.isArray(t)&&"number"!=typeof t[0]])},65440,t=>{"use strict";t.s(["resolveElements",0,function(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let s=i?.[t]??r.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t).filter(t=>null!=t)}])},45250,t=>{"use strict";t.s(["pipe",0,(...t)=>t.reduce((t,e)=>i=>e(t(i)))])},95178,t=>{"use strict";let e=t=>e=>"string"==typeof e&&e.startsWith(t),i=e("--"),r=e("var(--"),s=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;t.s(["containsCSSVariable",0,function(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")},"isCSSVariableName",0,i,"isCSSVariableToken",0,t=>!!r(t)&&s.test(t.split("/*")[0].trim())])},58764,90225,40435,80487,1121,56839,60499,77024,t=>{"use strict";var e=t.i(472);let i={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},r={...i,transform:t=>(0,e.clamp)(0,1,t)},s={...i,default:1};t.s(["alpha",0,r,"number",0,i,"scale",0,s],90225);let n=t=>Math.round(1e5*t)/1e5,o=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;t.s(["floatRegex",0,o],40435);let a=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,l=(t,e)=>i=>!!("string"==typeof i&&a.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),h=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,n,a,l]=r.match(o);return{[t]:parseFloat(s),[e]:parseFloat(n),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}},u={...i,transform:t=>Math.round((0,e.clamp)(0,255,t))},c={test:l("rgb","red"),parse:h("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:s=1})=>"rgba("+u.transform(t)+", "+u.transform(e)+", "+u.transform(i)+", "+n(r.transform(s))+")"};t.s(["rgba",0,c],80487);let d={test:l("#"),parse:function(t){let e="",i="",r="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,r+=r,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alph
115a:s?parseInt(s,16)/255:1}},transform:c.transform};t.s(["hex",0,d],1121);let m=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),p=m("deg"),f=m("%"),g=m("px"),y=m("vh"),v=m("vw"),E={...f,parse:t=>f.parse(t)/100,transform:t=>f.transform(100*t)};t.s(["degrees",0,p,"percent",0,f,"progressPercentage",0,E,"px",0,g,"vh",0,y,"vw",0,v],56839);let T={test:l("hsl","hue"),parse:h("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+f.transform(n(e))+", "+f.transform(n(i))+", "+n(r.transform(s))+")"};t.s(["hsla",0,T],60499);let S={test:t=>c.test(t)||d.test(t)||T.test(t),parse:t=>c.test(t)?c.parse(t):T.test(t)?T.parse(t):d.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?c.transform(t):T.transform(t),getAnimatableNone:t=>{let e=S.parse(t);return e.alpha=0,S.transform(e)}};t.s(["color",0,S],58764);let b=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,A="number",C="color",x=/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 _(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],n=0,o=e.replace(x,t=>(S.test(t)?(r.color.push(n),s.push(C),i.push(S.parse(t))):t.startsWith("var(")?(r.var.push(n),s.push("var"),i.push(t)):(r.number.push(n),s.push(A),i.push(parseFloat(t))),++n,"${}")).split("${}");return{values:i,split:o,indexes:r,types:s}}function M({split:t,types:e}){let i=t.length;return r=>{let s="";for(let o=0;o<i;o++)if(s+=t[o],void 0!==r[o]){let t=e[o];t===A?s+=n(r[o]):t===C?s+=S.transform(r[o]):s+=r[o]}return s}}t.s(["analyseComplexValue",0,_,"complex",0,{test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(o)?.length||0)+(t.match(b)?.length||0)>0},parse:function(t){return _(t).values},createTransformer:function(t){return M(_(t))},getAnimatableNone:function(t){let e=_(t);return M(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:S.test(t)?S.getAnimatableNone(t):t)(t,e.split[i])))}}],77024)},67955,41973,t=>{"use strict";var e=t.i(45250),i=t.i(61603),r=t.i(95178),s=t.i(58764),n=t.i(77024),o=t.i(1121),a=t.i(60499);function l(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var h=t.i(80487);function u(t,e){return i=>i>0?e:t}var c=t.i(32069);let d=(t,e,i)=>{let r=t*t,s=i*(e*e-r)+r;return s<0?0:Math.sqrt(s)},m=[o.hex,h.rgba,a.hsla];function p(t){let e=m.find(e=>e.test(t));if((0,i.warning)(!!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===a.hsla&&(r=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let s=0,n=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;s=l(a,r,t+1/3),n=l(a,r,t),o=l(a,r,t-1/3)}else s=n=o=i;return{red:Math.round(255*s),green:Math.round(255*n),blue:Math.round(255*o),alpha:r}}(r)),r}let f=(t,e)=>{let i=p(t),r=p(e);if(!i||!r)return u(t,e);let s={...i};return t=>(s.red=d(i.red,r.red,t),s.green=d(i.green,r.green,t),s.blue=d(i.blue,r.blue,t),s.alpha=(0,c.mixNumber)(i.alpha,r.alpha,t),h.rgba.transform(s))},g=new Set(["none","hidden"]);function y(t,e){return i=>(0,c.mixNumber)(t,e,i)}function v(t){return"number"==typeof t?y:"string"==typeof t?(0,r.isCSSVariableToken)(t)?u:s.color.test(t)?f:S:Array.isArray(t)?E:"object"==typeof t?s.color.test(t)?f:T:u}function E(t,e){let i=[...t],r=i.length,s=t.map((t,i)=>v(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=s[e](t);return i}}function T(t,e){let i={...t,...e},r={};for(let s in i)void 0!==t[s]&&void 0!==e[s]&&(r[s]=v(t[s])(t[s],e[s]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let S=(t,r)=>{let s=n.complex.createTransformer(r),o=(0,n.analyseComplexValue)(t),a=(0,n.analyseComplexValue)(r);if(!(o.indexes.var.length===a.indexes.var.length&&o.indexes.color.length===a.indexes.color.length&&o.indexes.number.length>=a.indexes.number.length))return(0,i.warning)(!0,`Complex values '${t}' and '${r}
115' 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"),u(t,r);if(g.has(t)&&!a.values.length||g.has(r)&&!o.values.length)return g.has(t)?e=>e<=0?t:r:e=>e>=1?r:t;return(0,e.pipe)(E(function(t,e){let i=[],r={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let n=e.types[s],o=t.indexes[n][r[n]],a=t.values[o]??0;i[s]=a,r[n]++}return i}(o,a),a.values),s)};t.s(["mix",0,function(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,c.mixNumber)(t,e,i):v(t)(t,e)}],67955);var b=t.i(93742),A=t.i(30998);t.s(["frameloopDriver",0,t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>A.frame.update(e,t),stop:()=>(0,A.cancelFrame)(e),now:()=>A.frameData.isProcessing?A.frameData.timestamp:b.time.now()}}],41973)},40332,89320,33130,55245,t=>{"use strict";var e=t.i(70097),i=t.i(48111);function r(t,e,r){let s=Math.max(e-5,0);return(0,i.velocityPerSecond)(r-t(s),e-s)}t.s(["getGeneratorVelocity",0,r],89320),t.s(["inertia",0,function({keyframes:t,velocity:i=0,power:s=.8,timeConstant:n=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:l,min:h,max:u,restDelta:c=.5,restSpeed:d}){let m,p,f=t[0],g={done:!1,value:f},y=s*i,v=f+y,E=void 0===l?v:l(v);E!==v&&(y=E-f);let T=t=>-y*Math.exp(-t/n),S=t=>E+T(t),b=t=>{let e=T(t),i=S(t);g.done=Math.abs(e)<=c,g.value=g.done?E:i},A=t=>{let i;if(i=g.value,void 0!==h&&i<h||void 0!==u&&i>u){var s;m=t,p=(0,e.spring)({keyframes:[g.value,(s=g.value,void 0===h?u:void 0===u||Math.abs(h-s)<Math.abs(u-s)?h:u)],velocity:r(S,t,g.value),damping:o,stiffness:a,restDelta:c,restSpeed:d})}};return A(0),{calculatedDuration:null,next:t=>{let e=!1;return(p||void 0!==m||(e=!0,b(t),A(t)),void 0!==m&&t>=m)?p.next(t-m):(e||b(t),g)}}}],40332);var s=t.i(22865);let n=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function o(t,e,i,r){return t===e&&i===r?s.noop:s=>0===s||1===s?s:n(function(t,e,i,r,s){let o,a,l=0;do(o=n(a=e+(i-e)/2,r,s)-t)>0?i=a:e=a;while(Math.abs(o)>1e-7&&++l<12)return a}(s,0,1,t,i),e,r)}t.s(["cubicBezier",0,o],33130);let a=o(.42,0,1,1),l=o(0,0,.58,1),h=o(.42,0,.58,1);t.s(["easeIn",0,a,"easeInOut",0,h,"easeOut",0,l],55245)},59925,t=>{"use strict";t.s(["mirrorEasing",0,t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2])},62025,25184,32091,t=>{"use strict";var e=t.i(33130),i=t.i(59925),r=t.i(51649);let s=(0,e.cubicBezier)(.33,1.53,.69,.99),n=(0,r.reverseEasing)(s),o=(0,i.mirrorEasing)(n);t.s(["backIn",0,n,"backInOut",0,o,"backOut",0,s],25184),t.s(["anticipate",0,t=>t>=1?1:(t*=2)<1?.5*n(t):.5*(2-Math.pow(2,-10*(t-1)))],62025);let a=t=>1-Math.sin(Math.acos(t)),l=(0,r.reverseEasing)(a),h=(0,i.mirrorEasing)(a);t.s(["circIn",0,a,"circInOut",0,h,"circOut",0,l],32091)},27316,t=>{"use strict";t.s(["isBezierDefinition",0,t=>Array.isArray(t)&&"number"==typeof t[0]])},33778,t=>{"use strict";var e=t.i(61603),i=t.i(22865),r=t.i(62025),s=t.i(25184),n=t.i(32091),o=t.i(33130),a=t.i(55245),l=t.i(27316);let h={linear:i.noop,easeIn:a.easeIn,easeInOut:a.easeInOut,easeOut:a.easeOut,circIn:n.circIn,circInOut:n.circInOut,circOut:n.circOut,backIn:s.backIn,backInOut:s.backInOut,backOut:s.backOut,anticipate:r.anticipate};t.s(["easingDefinitionToFunction",0,t=>{if((0,l.isBezierDefinition)(t)){(0,e.invariant)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[i,r,s,n]=t;return(0,o.cubicBezier)(i,r,s,n)}return"string"==typeof t?((0,e.invariant)(void 0!==h[t],`Invalid easing type '${t}'`,"invalid-easing-type"),h[t]):t}])},81364,t=>{"use strict";var e=t.i(61603),i=t.i(472),r=t.i(82764),s=t.i(22865),n=t.i(45250),o=t.i(63188),a=t.i(67955);t.s(["interpolate",0,function(t,l,{clamp:h=!0,ease:u,mixer:c}={}){let d=t.length;if((0,e.invariant)(d===l.length,"Both input and output ranges must be the same length","range-length"),1===d)return()=>l[0];if(2===d&&l[0]===l[1])return()=>l[1];let m=t[0]===t[1];t[0]>t[d-1]&&(t=[...t].reverse(),l=[...l].reverse());let p=function(t,e,i){let o=[],l=i||r.MotionGlobalConfig.mix||a.mix,h=t.length-1;for(let i=0;i<h;i++){let r=l(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||s.noop:e;r=(0,n.pipe)(t,r)}o.push(r)}return o}(l,u,c),f=p.length,g=e=>{if(m&&e<t[0])return l[0];let i=0;if(f>1)for(;i<t.length-2&&!(e<t[i+1]);i++);let r=(0,o.progress)(t[i],t[i+1],e);return p[i](r)};return h?e=>g((0,i.clamp)(t[0],t[d-1],e)):g}])},269,t=>{"use strict";var e=t.i(55245),i=t.i(22969),r=t.i(33778),s=t.i(81364),n=t.i(90192);t.s(["keyframes",0,function({duration:t=300,keyframes:o,times:a,ease:l="easeInOut"}){var h;let u=(0,i.isEasingArray)(l)?l.map(r.easingDefinitionToFunction):(0,r.easingDefinitionToFunction)(l),c={done:!1,value:o[0]},d=(h=a&&a.length===o.length?a:(0,n.defaultOffset)(o),h.map(e=>e*t)),m=(0,s.interpolate)(d,o,{ease:Array.isArray(u)?u:o.map(()=>u||e.easeInOut).splice(0,o.length-1)});return{calculatedDuration:t,next:e=>(c.value=m(e),c.done=e>=t,c)}}],269)},60865,t=>{"use strict";let e=t=>null!==t;t.s(["getFinalKeyframe",0,function(t,{repeat:i,repeatType:r="loop"},s,n=1){let o=t.filter(e),a=n<0||i&&"loop"!==r&&i%2==1?0:o.length-1;return a&&void 0!==s?s:o[a]}])},23195,t=>{"use strict";var e=t.i(40332),i=t.i(269),r=t.i(70097);let s={decay:e.inertia,inertia:e.inertia,tween:i.keyframes,keyframes:i.keyframes,spring:r.spring};t.s(["replaceTransitionType",0,function(t){"string"==typeof t.type&&(t.type=s[t.type])}])},90051,t=>{"use strict";t.s(["WithPromise",0,class{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)}}])},50372,t=>{"use strict";var e=t.i(45250),i=t.i(472),r=t.i(64913),s=t.i(93742),n=t.i(67955),o=t.i(41973),a=t.i(40332),l=t.i(269),h=t.i(35497),u=t.i(89320),c=t.i(60865),d=t.i(23195),m=t.i(90051);let p=t=>t/100;class f extends m.WithPromise{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==s.time.now()&&this.tick(s.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;(0,d.replaceTransitionType)(t);
115let{type:i=l.keyframes,repeat:r=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=t,{keyframes:u}=t,c=i||l.keyframes;c!==l.keyframes&&"number"!=typeof u[0]&&(this.mixKeyframes=(0,e.pipe)(p,(0,n.mix)(u[0],u[1])),u=[0,100]);let m=c({...t,keyframes:u});"mirror"===o&&(this.mirroredGenerator=c({...t,keyframes:[...u].reverse(),velocity:-a})),null===m.calculatedDuration&&(m.calculatedDuration=(0,h.calcGeneratorDuration)(m));let{calculatedDuration:f}=m;this.calculatedDuration=f,this.resolvedDuration=f+s,this.totalDuration=this.resolvedDuration*(r+1)-s,this.generator=m}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 r,{generator:s,totalDuration:n,mixKeyframes:o,mirroredGenerator:l,resolvedDuration:h,calculatedDuration:u}=this;if(null===this.startTime)return s.next(0);let{delay:d=0,keyframes:m,repeat:p,repeatType:f,repeatDelay:g,type:y,onUpdate:v,finalKeyframe:E}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let T=this.currentTime-d*(this.playbackSpeed>=0?1:-1),S=this.playbackSpeed>=0?T<0:T>n;this.currentTime=Math.max(T,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let b=this.currentTime,A=s;if(p){let t=Math.min(this.currentTime,n)/h,e=Math.floor(t),r=t%1;!r&&t>=1&&(r=1),1===r&&e--,(e=Math.min(e,p+1))%2&&("reverse"===f?(r=1-r,g&&(r-=g/h)):"mirror"===f&&(A=l)),b=(0,i.clamp)(0,1,r)*h}S?(this.delayState.value=m[0],r=this.delayState):r=A.next(b),o&&!S&&(r.value=o(r.value));let{done:C}=r;S||null===u||(C=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let x=null===this.holdTime&&("finished"===this.state||"running"===this.state&&C);return x&&y!==a.inertia&&(r.value=(0,c.getFinalKeyframe)(m,this.options,E,this.speed)),v&&v(r.value),x&&this.finish(),r}then(t,e){return this.finished.then(t,e)}get duration(){return(0,r.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,r.millisecondsToSeconds)(t)}get time(){return(0,r.millisecondsToSeconds)(this.currentTime)}set time(t){t=(0,r.secondsToMilliseconds)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return(0,u.getGeneratorVelocity)(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(s.time.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,r.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=o.frameloopDriver,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(s.time.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}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)}}t.s(["JSAnimation",0,f])},41886,24811,t=>{"use strict";t.s(["fillWildcards",0,function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}],41886);let e=t=>180*t/Math.PI,i=t=>
115s(e(Math.atan2(t[1],t[0]))),r={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:i,rotateZ:i,skewX:t=>e(Math.atan(t[1])),skewY:t=>e(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},s=t=>((t%=360)<0&&(t+=360),t),n=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),o=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),a={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:n,scaleY:o,scale:t=>(n(t)+o(t))/2,rotateX:t=>s(e(Math.atan2(t[6],t[5]))),rotateY:t=>s(e(Math.atan2(-t[2],t[0]))),rotateZ:i,rotate:i,skewX:t=>e(Math.atan(t[4])),skewY:t=>e(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function l(t){return+!!t.includes("scale")}function h(t,e){let i,s;if(!t||"none"===t)return l(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=a,s=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=r,s=e}if(!s)return l(e);let o=i[e],h=s[1].split(",").map(u);return"function"==typeof o?o(h):h[o]}function u(t){return parseFloat(t.trim())}t.s(["defaultTransformValue",0,l,"parseValueFromTransform",0,h,"readTransformValue",0,(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return h(i,e)}],24811)},25062,t=>{"use strict";let e=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set([...e,"pathRotation"]);t.s(["transformPropOrder",0,e,"transformProps",0,i])},83623,t=>{"use strict";var e=t.i(24811),i=t.i(25062),r=t.i(90225),s=t.i(56839);let n=new Set(["x","y","z"]),o=i.transformPropOrder.filter(t=>!n.has(t)),a={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:r})=>{let s=t.max-t.min;return"border-box"===r?s:s-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:r})=>{let s=t.max-t.min;return"border-box"===r?s:s-parseFloat(e)-parseFloat(i)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:i})=>(0,e.parseValueFromTransform)(i,"x"),y:(t,{transform:i})=>(0,e.parseValueFromTransform)(i,"y")};a.translateX=a.x,a.translateY=a.y,t.s(["isNumOrPxType",0,t=>t===r.number||t===s.px,"positionalValues",0,a,"removeNonTranslationalTransform",0,function(t){let e=[];return o.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e}])},30131,t=>{"use strict";var e=t.i(41886),i=t.i(83623),r=t.i(30998);let s=new Set,n=!1,o=!1,a=!1;function l(){if(o){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.removeNonTranslationalTransform)(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,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}o=!1,n=!1,s.forEach(t=>t.complete(a)),s.clear()}function h(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(o=!0)})}t.s(["KeyframeResolver",0,class{constructor(t,e,i,r,s,n=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=s,this.isAsync=n}scheduleResolve(){this.state="scheduled",this.isAsync?(s.add(this),n||(n=!0,r.frame.read(h),r.frame.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:i,element:r,motionValue:s}=this;if(null===t[0]){let e=s?.get(),n=t[t.length-1];if(void 0!==e)t[0]=e;else if(r&&i){let e=r.readValue(i,n);null!=e&&(t[0]=e)}void 0===t[0]&&(t[0]=n),s&&void 0===e&&s.set(t[0])}(0,e.fillWildcards)(t)}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()}},"flushKeyframeResolvers",0,function(){a=!0,h(),l(),a=!1}])},28194,5115,91855,34141,t=>{"use strict";function e(t){let e;return()=>(void 0===e&&(e=t()),e)}
115t.s(["setStyle",0,function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}],28194),t.s(["memo",0,e],5115);let i={};function r(t,r){let s=e(t);return()=>i[r]??s()}t.s(["memoSupports",0,r],91855);let s=r(()=>void 0!==window.ScrollTimeline,"scrollTimeline");t.s(["supportsScrollTimeline",0,s],34141)},32888,t=>{"use strict";let e=(0,t.i(91855).memoSupports)(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");t.s(["supportsLinearEasing",0,e])},93340,t=>{"use strict";var e=t.i(27316),i=t.i(32888),r=t.i(88193);let s=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,n={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:s([0,.65,.55,1]),circOut:s([.55,0,1,.45]),backIn:s([.31,.01,.66,-.59]),backOut:s([.33,1.53,.69,.99])};t.s(["startWaapiAnimation",0,function(t,o,a,{delay:l=0,duration:h=300,repeat:u=0,repeatType:c="loop",ease:d="easeOut",times:m}={},p){let f={[o]:a};m&&(f.offset=m);let g=function t(o,a){if(o)return"function"==typeof o?(0,i.supportsLinearEasing)()?(0,r.generateLinearEasing)(o,a):"ease-out":(0,e.isBezierDefinition)(o)?s(o):Array.isArray(o)?o.map(e=>t(e,a)||n.easeOut):n[o]}(d,h);Array.isArray(g)&&(f.easing=g);let y={delay:l,duration:h,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:u+1,direction:"reverse"===c?"alternate":"normal"};return p&&(y.pseudoElement=p),t.animate(f,y)}],93340)},16091,t=>{"use strict";var e=t.i(61603),i=t.i(64913),r=t.i(22865),s=t.i(28194),n=t.i(34141),o=t.i(60865),a=t.i(90051),l=t.i(93340),h=t.i(32888),u=t.i(74439);class c extends a.WithPromise{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:i,name:r,keyframes:n,pseudoElement:a,allowFlatten:c=!1,finalKeyframe:d,onComplete:m}=t;this.isPseudoElement=!!a,this.allowFlatten=c,this.options=t,(0,e.invariant)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const p=function({type:t,...e}){return(0,u.isGenerator)(t)&&(0,h.supportsLinearEasing)()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=(0,l.startWaapiAnimation)(i,r,n,p,a),!1===p.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!a){let t=(0,o.getFinalKeyframe)(n,this.options,d,this.speed);this.updateMotionValue&&this.updateMotionValue(t),(0,s.setStyle)(i,r,t),this.animation.cancel()}m?.(),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,i.millisecondsToSeconds)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,i.millisecondsToSeconds)(t)}get time(){return(0,i.millisecondsToSeconds)(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,i.secondsToMilliseconds)(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:s}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,n.supportsScrollTimeline)())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),r.noop):s(this)}}t.s(["NativeAnimation",0,c],16091)},13e3,69745,33023,t=>{"use strict";var e=t.i(472),i=t.i(93742),r=t.i(28194),s=t.i(50372),n=t.i(16091),o=t.i(23195),a=t.i(32091),l=t.i(25184);let h={anticipate:t.i(62025).anticipate,backInOut:l.backInOut,circInOut:a.circInOut};class u extends n.NativeAnimation{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in h&&(t.ease=h[t.ease])}(t),(0,o.replaceTransitionType)(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:n,onUpdate:o,onComplete:a,element:l,...h}=this.options;if(!n)return;if(void 0!==t)return void n.set(t);let u=new s.JSAnimation({...h,autoplay:!1}),c=Math.max(10,i.time.now()-this.startTime),d=(0,e.clamp)(0,10,c-10),m=u.sample(c).value,{name:p}=this.options;l&&p&&(0,r.setStyle)(l,p,m),n.setWithVelocity(u.sample(Math.max(0,c-d)).value,m,d),u.stop()}}t.s(["NativeAnimationExtended",0,u],13e3);
115var c=t.i(61603),d=t.i(74439),m=t.i(77024);let p=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(m.complex.test(t)||"0"===t)&&!t.startsWith("url("));t.s(["canAnimate",0,function(t,e,i,r){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let n=t[t.length-1],o=p(s,e),a=p(n,e);return(0,c.warning)(o===a,`You are trying to animate ${e} from "${s}" to "${n}". "${o?n:s}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,d.isGenerator)(i))&&r)}],69745),t.s(["makeAnimationInstant",0,function(t){t.duration=0,t.type="keyframes"}],33023)},36983,t=>{"use strict";let e=new Set(["opacity","clipPath","filter","transform"]);t.s(["acceleratedValues",0,e])},4607,t=>{"use strict";var e=t.i(82764),i=t.i(22865),r=t.i(93742),s=t.i(50372),n=t.i(60865),o=t.i(30131),a=t.i(13e3),l=t.i(69745),h=t.i(33023),u=t.i(90051),c=t.i(5115),d=t.i(36983);let m=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,p=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),f=(0,c.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class g extends u.WithPromise{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:n=0,repeatType:a="loop",keyframes:l,name:h,motionValue:u,element:c,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=r.time.now();const m={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:n,repeatType:a,name:h,motionValue:u,element:c,...d},p=c?.KeyframeResolver||o.KeyframeResolver;this.keyframeResolver=new p(l,(t,e,i)=>this.onKeyframesResolved(t,e,m,!i),h,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,o,u,c){let g;this.keyframeResolver=void 0;let{name:y,type:v,velocity:E,delay:T,isHandoff:S,onUpdate:b}=u;this.resolvedAt=r.time.now();let A=!0;(0,l.canAnimate)(t,y,v,E)||(A=!1,(e.MotionGlobalConfig.instantAnimations||!T)&&b?.((0,n.getFinalKeyframe)(t,u,o)),t[0]=t[t.length-1],(0,h.makeAnimationInstant)(u),u.repeat=0);let C={startTime:c?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:o,...u,keyframes:t},x=A&&!S&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:s,damping:n,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:h}=e.owner.getProps();return f()&&i&&(d.acceleratedValues.has(i)||p.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&m.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!h)&&!l&&!r&&"mirror"!==s&&0!==n&&"inertia"!==o}(C),_=C.motionValue?.owner?.current;if(x)try{g=new a.NativeAnimationExtended({...C,element:_})}catch{g=new s.JSAnimation(C)}else g=new s.JSAnimation(C);g.finished.then(()=>{this.notifyFinished()}).catch(i.noop),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}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,o.flushKeyframeResolvers)()),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()}}t.s(["AsyncMotionValueAnimation",0,g],4607)},51891,24138,t=>{"use strict";function e(t,e){if(t?.inherit&&e){let{inherit:i,...r}=t;return{...e,...r}}return t}t.s(["resolveTransition",0,e],24138),t.s(["getValueTransition",0,function(t,i){let r=t?.[i]??t?.default??t;return r!==t?e(r,t):r}],51891)},97043,t=>{"use strict";var e=t.i(64913),i=t.i(82764),r=t.i(4607),s=t.i(50372),n=t.i(51891),o=t.i(33023),a=t.i(25062);let l={type:"spring",stiffness:500,damping:25,restSpeed:10},h={type:"keyframes",duration:.8},u={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};var c=t.i(60865);let d=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);var m=t.i(30998);t.s(["animateMotionValue",0,(t,p,f,g={},y,v)=>E=>{let T=(0,n.getValueTransition)(g,t)||{},S=T.delay||g.delay||0,{elapsed:b=0}=g;b-=(0,e.secondsToMilliseconds)(S);let A={keyframes:Array.isArray(f)?f:[null,f],ease:"easeOut",velocity:p.getVelocity(),...T,delay:-b,onUpdate:t=>{p.set(t),T.onUpdate&&T.onUpdate(t)},onComplete:()=>{E(),T.onComplete&&T.onComplete()},name:t,motionValue:p,element:v?void 0:y};!function(t){for(let e in t)if(!d.has(e))return!0;return!1}(T)&&Object.assign(A,((t,{keyframes:e})=>e.length>2?h:a.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:l:u)(t,A)),A.duration&&(A.duration=(0,e.secondsToMilliseconds)(A.duration)),A.repeatDelay&&(A.repeatDelay=(0,e.secondsToMilliseconds)(A.repeatDelay)),void 0!==A.from&&(A.keyframes[0]=A.from);let C=!1;if(!1!==A.type&&(0!==A.duration||A.repeatDelay)||((0,o.makeAnimationInstant)(A),0===A.delay&&(C=!0)),(i.MotionGlobalConfig.instantAnimations||i.MotionGlobalConfig.skipAnimations||y?.shouldSkipAnimations||T.skipAnimations)&&(C=!0,(0,o.makeAnimationInstant)(A),A.delay=0),A.allowFlatten=!T.type&&!T.ease,C&&!v&&void 0!==p.get()){let t=(0,c.getFinalKeyframe)(A.keyframes,T);if(void 0!==t)return void m.frame.update(()=>{A.onUpdate(t),A.onComplete()})}return T.isSync?new s.JSAnimation(A):new r.AsyncMotionValueAnimation(A)}],97043)},52164,t=>{"use strict";
115var e=t.i(97043),i=t.i(73680),r=t.i(23448);t.s(["animateSingleValue",0,function(t,s,n){let o=(0,r.isMotionValue)(t)?t:(0,i.motionValue)(t);return o.start((0,e.animateMotionValue)("",o,s,n)),o.animation}])},7228,t=>{"use strict";let e=new WeakMap;t.s(["visualElementStore",0,e])},83532,t=>{"use strict";let e=new Set(["width","height","top","left","right","bottom",...t.i(25062).transformPropOrder]);t.s(["positionalKeys",0,e])},17088,t=>{"use strict";function e(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}t.s(["resolveVariantFromProps",0,function(t,i,r,s){if("function"==typeof i){let[n,o]=e(s);i=i(void 0!==r?r:t.custom,n,o)}if("string"==typeof i&&(i=t.variants&&t.variants[i]),"function"==typeof i){let[n,o]=e(s);i=i(void 0!==r?r:t.custom,n,o)}return i}])},14627,t=>{"use strict";var e=t.i(17088);t.s(["resolveVariant",0,function(t,i,r){let s=t.getProps();return(0,e.resolveVariantFromProps)(s,i,void 0!==r?r:s.custom,t)}])},8834,68875,3760,t=>{"use strict";var e=t.i(73680),i=t.i(14627);let r=t=>Array.isArray(t);t.s(["isKeyframesTarget",0,r],68875),t.s(["setTarget",0,function(t,s){let{transitionEnd:n={},transition:o={},...a}=(0,i.resolveVariant)(t,s)||{};for(let i in a={...a,...n}){var l;let s=r(l=a[i])?l[l.length-1]||0:l;t.hasValue(i)?t.getValue(i).set(s):t.addValue(i,(0,e.motionValue)(s))}}],8834);var s=t.i(82764),n=t.i(23448);t.s(["addValueToWillChange",0,function(t,e){let i=t.getValue("willChange");if((0,n.isMotionValue)(i)&&i.add)return i.add(e);if(!i&&s.MotionGlobalConfig.WillChange){let i=new s.MotionGlobalConfig.WillChange("auto");t.addValue("willChange",i),i.add(e)}}],3760)},34482,t=>{"use strict";t.s(["camelToDash",0,function(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}])},28969,t=>{"use strict";let e="data-"+(0,t.i(34482).camelToDash)("framerAppearId");t.s(["optimizedAppearDataAttribute",0,e])},96063,t=>{"use strict";var e=t.i(28969);t.s(["getOptimisedAppearId",0,function(t){return t.props[e.optimizedAppearDataAttribute]}])},8548,t=>{"use strict";var e=t.i(51891),i=t.i(24138),r=t.i(83532),s=t.i(8834),n=t.i(3760),o=t.i(96063),a=t.i(97043),l=t.i(30998);t.s(["animateTarget",0,function(t,h,{delay:u=0,transitionOverride:c,type:d}={}){let{transition:m,transitionEnd:p,...f}=h,g=t.getDefaultTransition();m=m?(0,i.resolveTransition)(m,g):g;let y=m?.reduceMotion,v=m?.skipAnimations;c&&(m=c);let E=[],T=d&&t.animationState&&t.animationState.getState()[d],S=m?.path;for(let i in S&&S.animateVisualElement(t,f,m,u,E),f){let s=t.getValue(i,t.latestValues[i]??null),h=f[i];if(void 0===h||T&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(T,i))continue;let c={delay:u,...(0,e.getValueTransition)(m||{},i)};v&&(c.skipAnimations=!0);let d=s.get();if(void 0!==d&&!s.isAnimating()&&!Array.isArray(h)&&h===d&&!c.velocity){l.frame.update(()=>s.set(h));continue}let p=!1;if(window.MotionHandoffAnimation){let e=(0,o.getOptimisedAppearId)(t);if(e){let t=window.MotionHandoffAnimation(e,i,l.frame);null!==t&&(c.startTime=t,p=!0)}}(0,n.addValueToWillChange)(t,i);let g=y??t.shouldReduceMotion;s.start((0,a.animateMotionValue)(i,s,h,g&&r.positionalKeys.has(i)?{type:!1}:c,t,p));let S=s.animation;S&&E.push(S)}if(p){let e=()=>l.frame.update(()=>{p&&(0,s.setTarget)(t,p)});E.length?Promise.all(E).then(e):e()}return E}])},39361,t=>{"use strict";t.s(["isObject",0,t=>"object"==typeof t&&null!==t])},40618,t=>{"use strict";var e=t.i(39361);t.s(["isSVGElement",0,function(t){return(0,e.isObject)(t)&&"ownerSVGElement"in t}])},22040,t=>{"use strict";var e=t.i(40618);t.s(["isSVGSVGElement",0,function(t){return(0,e.isSVGElement)(t)&&"svg"===t.tagName}])},35750,32906,95515,51197,91570,t=>{"use strict";var e=t.i(58764),i=t.i(77024),r=t.i(40435);let s=new Set(["brightness","contrast","saturate","opacity"]);function n(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(r.floatRegex)||[];if(!n)return t;let o=i.replace(n,""),a=+!!s.has(e);return n!==i&&(a*=100),e+"("+a+o+")"}let o=/\b([a-z-]*)\(.*?\)/gu,a={...i.complex,getAnimatableNone:t=>{let e=t.match(o);return e?e.map(n).join(" "):t}};t.s(["filter",0,a],32906);let l={...i.complex,getAnimatableNone:t=>{let e=i.complex.parse(t);return i.complex.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}};t.s(["mask",0,l],95515);var h=t.i(90225);let u={...h.number,transform:Math.round};var c=t.i(56839);let d={rotate:c.degrees,pathRotation:c.degrees,rotateX:c.degrees,rotateY:c.degrees,rotateZ:c.degrees,scale:h.scale,scaleX:h.scale,scaleY:h.scale,scaleZ:h.scale,skew:c.degrees,skewX:c.degrees,skewY:c.degrees,distance:c.px,translateX:c.px,translateY:c.px,translateZ:c.px,x:c.px,y:c.px,z:c.px,perspective:c.px,transformPerspective:c.px,opacity:h.alph
115a,originX:c.progressPercentage,originY:c.progressPercentage,originZ:c.px},m={borderWidth:c.px,borderTopWidth:c.px,borderRightWidth:c.px,borderBottomWidth:c.px,borderLeftWidth:c.px,borderRadius:c.px,borderTopLeftRadius:c.px,borderTopRightRadius:c.px,borderBottomRightRadius:c.px,borderBottomLeftRadius:c.px,width:c.px,maxWidth:c.px,height:c.px,maxHeight:c.px,top:c.px,right:c.px,bottom:c.px,left:c.px,inset:c.px,insetBlock:c.px,insetBlockStart:c.px,insetBlockEnd:c.px,insetInline:c.px,insetInlineStart:c.px,insetInlineEnd:c.px,padding:c.px,paddingTop:c.px,paddingRight:c.px,paddingBottom:c.px,paddingLeft:c.px,paddingBlock:c.px,paddingBlockStart:c.px,paddingBlockEnd:c.px,paddingInline:c.px,paddingInlineStart:c.px,paddingInlineEnd:c.px,margin:c.px,marginTop:c.px,marginRight:c.px,marginBottom:c.px,marginLeft:c.px,marginBlock:c.px,marginBlockStart:c.px,marginBlockEnd:c.px,marginInline:c.px,marginInlineStart:c.px,marginInlineEnd:c.px,fontSize:c.px,backgroundPositionX:c.px,backgroundPositionY:c.px,...d,zIndex:u,fillOpacity:h.alpha,strokeOpacity:h.alpha,numOctaves:u};t.s(["numberValueTypes",0,m],51197);let p={...m,color:e.color,backgroundColor:e.color,outlineColor:e.color,fill:e.color,stroke:e.color,borderColor:e.color,borderTopColor:e.color,borderRightColor:e.color,borderBottomColor:e.color,borderLeftColor:e.color,filter:a,WebkitFilter:a,mask:l,WebkitMask:l};t.s(["getDefaultValueType",0,t=>p[t]],35750);let f=()=>({translate:0,scale:1,origin:0,originPoint:0}),g=()=>({min:0,max:0});t.s(["createBox",0,()=>({x:g(),y:g()}),"createDelta",0,()=>({x:f(),y:f()})],91570)},49253,75656,t=>{"use strict";var e=t.i(90225),i=t.i(56839);let r=t=>e=>e.test(t);t.s(["testValueType",0,r],75656);let s=[e.number,i.px,i.percent,i.degrees,i.vw,i.vh,{test:t=>"auto"===t,parse:t=>t}];t.s(["dimensionValueTypes",0,s,"findDimensionValueType",0,t=>s.find(r(t))],49253)},42233,t=>{"use strict";t.s(["isNumericalString",0,t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)])},64978,t=>{"use strict";var e=t.i(61603),i=t.i(42233),r=t.i(95178);let s=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;t.s(["getVariableValue",0,function t(n,o,a=1){(0,e.invariant)(a<=4,`Max CSS variable fallback depth detected in property "${n}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[l,h]=function(t){let e=s.exec(t);if(!e)return[,];let[,i,r,n]=e;return[`--${i??r}`,n]}(n);if(!l)return;let u=window.getComputedStyle(o).getPropertyValue(l);if(u){let t=u.trim();return(0,i.isNumericalString)(t)?parseFloat(t):t}return(0,r.isCSSVariableToken)(h)?t(h,o,a+1):h}])},22092,29853,48876,t=>{"use strict";var e=t.i(83532),i=t.i(49253),r=t.i(64978),s=t.i(95178),n=t.i(30131);let o=t=>/^0[^.\s]+$/u.test(t);t.s(["isZeroValueString",0,o],29853);var a=t.i(77024),l=t.i(32906),h=t.i(95515),u=t.i(35750);let c=new Set([l.filter,h.mask]);function d(t,e){let i=(0,u.getDefaultValueType)(t);return c.has(i)||(i=a.complex),i.getAnimatableNone?i.getAnimatableNone(e):void 0}t.s(["getAnimatableNone",0,d],48876);let m=new Set(["auto","none","0"]);var p=t.i(83623);class f extends n.KeyframeResolver{constructor(t,e,i,r,s){super(t,e,i,r,s,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:n,name:o}=this;if(!n||!n.current)return;super.readKeyframes();for(let e=0;e<t.length;e++){let i=t[e];if("string"==typeof i&&(i=i.trim(),(0,s.isCSSVariableToken)(i))){let s=(0,r.getVariableValue)(i,n.current);void 0!==s&&(t[e]=s),e===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!e.positionalKeys.has(o)||2!==t.length)return;let[a,l]=t,h=(0,i.findDimensionValueType)(a),u=(0,i.findDimensionValueType)(l);if((0,s.containsCSSVariable)(a)!==(0,s.containsCSSVariable)(l)&&p.positionalValues[o]){this.needsMeasurement=!0;return}if(h!==u)if((0,p.isNumOrPxType)(h)&&(0,p.isNumOrPxType)(u))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else p.positionalValues[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var r;(null===t[e]||("number"==typeof(r=t[e])?0===r:null===r||"none"===r||"0"===r||o(r)))&&i.push(e)}
115i.length&&function(t,e,i){let r,s=0;for(;s<t.length&&!r;){let e=t[s];"string"==typeof e&&!m.has(e)&&(0,a.analyseComplexValue)(e).values.length&&(r=t[s]),s++}if(r&&i)for(let s of e)t[s]=d(i,r)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=p.positionalValues[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let s=i.length-1,n=i[s];i[s]=p.positionalValues[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==n&&void 0===this.finalKeyframe&&(this.finalKeyframe=n),this.removedTransforms?.length&&this.removedTransforms.forEach(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}t.s(["DOMKeyframesResolver",0,f],22092)},61576,t=>{"use strict";let{schedule:e}=(0,t.i(78069).createRenderBatcher)(queueMicrotask,!1);t.s(["microtask",0,e])},33154,t=>{"use strict";var e=t.i(58764),i=t.i(77024),r=t.i(49253),s=t.i(75656);let n=[...r.dimensionValueTypes,e.color,i.complex];t.s(["findValueType",0,t=>n.find((0,s.testValueType)(t))])},56614,70302,11004,11903,60096,26117,51797,t=>{"use strict";function e(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function i(t){return"string"==typeof t||Array.isArray(t)}t.s(["isAnimationControls",0,e],70302),t.s(["isVariantLabel",0,i],11004);let r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],s=["initial",...r];function n(t){return e(t.animate)||s.some(e=>i(t[e]))}t.s(["variantPriorityOrder",0,r,"variantProps",0,s],11903),t.s(["isControllingVariants",0,n,"isVariantNode",0,function(t){return!!(n(t)||t.variants)}],56614);var o=t.i(73680),a=t.i(23448);t.s(["updateMotionValuesFromProps",0,function(t,e,i){for(let r in e){let s=e[r],n=i[r];if((0,a.isMotionValue)(s))t.addValue(r,s);else if((0,a.isMotionValue)(n))t.addValue(r,(0,o.motionValue)(s,{owner:t}));else if(n!==s)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(r);t.addValue(r,(0,o.motionValue)(void 0!==e?e:s,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}],60096);let l={current:null},h={current:!1};t.s(["hasReducedMotionListener",0,h,"prefersReducedMotion",0,l],26117);let u="u">typeof window;t.s(["initPrefersReducedMotion",0,function(){if(h.current=!0,u)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>l.current=t.matches;t.addEventListener("change",e),e()}else l.current=!1}],51797)},71613,54912,t=>{"use strict";var e=t.i(23448),i=t.i(22092);t.i(19940);var r=t.i(64913),s=t.i(42233),n=t.i(29853),o=t.i(10360),a=t.i(30131),l=t.i(16091),h=t.i(36983),u=t.i(61576),c=t.i(93742),d=t.i(91570),m=t.i(73680),p=t.i(77024),f=t.i(48876),g=t.i(33154),y=t.i(7228),v=t.i(56614),E=t.i(25062),T=t.i(60096),S=t.i(51797),b=t.i(17088),A=t.i(26117),C=t.i(30998);let x=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],_={};class M{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:i,presenceContext:r,reducedMotionConfig:s,skipAnimations:n,blockInitialAnimation:o,visualState:l},h={}){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=a.KeyframeResolver,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=c.time.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,C.frame.render(this.render,!1,!0))};const{latestValues:u,renderState:d}=l;this.latestValues=u,this.baseTarget={...u},this.initialValues=i.initial?{...u}:{},this.renderState=d,this.parent=t,this.props=i,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=n,this.options=h,this.blockInitialAnimation=!!o,this.isControllingVariants=(0,v.isControllingVariants)(i),this.isVariantNode=(0,v.isVariantNode)(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:m,...p}=this.scrapeMotionValuesFromProps(i,{},this);for(const t in p){const i=p[t];void 0!==u[t]&&(0,e.isMotionValue)(i)&&i.set(u[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,y.visualElementStore.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.forEac
115h((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(A.hasReducedMotionListener.current||(0,S.initPrefersReducedMotion)(),this.shouldReduceMotion=A.prefersReducedMotion.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,C.cancelFrame)(this.notifyUpdate),(0,C.cancelFrame)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&h.acceleratedValues.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:s,times:n,ease:o,duration:a}=e.accelerate,h=new l.NativeAnimation({element:this.current,name:t,keyframes:s,times:n,ease:o,duration:(0,r.secondsToMilliseconds)(a)}),u=i(h);this.valueSubscriptions.set(t,()=>{u(),h.cancel()});return}let s=E.transformProps.has(t);s&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&C.frame.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),i&&i()})}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 _){let e=_[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];e.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):(0,d.createBox)()}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<x.length;e++){let i=x[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=(0,T.updateMotionValuesFromProps)(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,m.motionValue)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,i){let r=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];return null!=r&&("string"==typeof r&&((0,s.isNumericalString)(r)||(0,n.isZeroValueString)(r))?r=parseFloat(r):!(0,g.findValueType)(r)&&p.complex.test(i)&&(r=(0,f.getAnimatableNone)(t,i)),this.setBaseTarget(t,(0,e.isMotionValue)(r)?r.get():r)),(0,e.isMotionValue)(r)?r.get():r}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let i,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let e=(0,b.resolveVariantFromProps)(this.props,r,this.presenceContext?.custom);e&&(i=e[t])}if(r&&void 0!==i)return i;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||(0,e.isMotionValue)(s)?void 0!==this.initialValues[t]&&void 0===i?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new o.SubscriptionManager),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){u.microtask.render(this.render)}}t.s(["VisualElement",0,M,"getFeatureDefinitions",0,function(){return _},"setFeatureDefinitions",0,function(t){_=t}],54912),t.s(["DOMVisualElement",0,class extends M{constructor(){super(...arguments),this.KeyframeResolver=i.DOMKeyframesResolver}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,e.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}],71613)},2934,58708,49821,90277,85893,72295,63640,61024,t=>{"use strict";let e=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var i=t.i(51197),r=t.i(25062),s=t.i(95178);let n={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},o=r.transformPropOrder.length;function a(t,a,l){let{style:h,vars:u,transformOrigin:c}=t,d=!1,m=!1;for(let t in a){let n=a[t];if(r.transformProps.has(t)){d=!0;continue}if((0,s.isCSSVariableName)(t)){u[t]=n;continue}{let r=e(n,i.numberValueTypes[t]);t.startsWith("origin")?(m=!0,c[t]=r):h[t]=r}}if(!a.transform&&(d||l?h.transform=function(t,s,a){let l="",h=!0;for(let u=0;u<o;u++){let o=r.transformPropOrder[u],c=t[o];if(void 0===c)continue;let d=!0;if("number"==typeof c)d=c===+!!o.startsWith("scale");else{let t=parseFloat(c);d=o.startsWith("scale")?1===t:0===t}if(!d||a){let t=e(c,i.numberValueTypes[o]);if(!d){h=!1;let e=n[o]||o;l+=`${e}(${t}) `}a&&(s[o]=t)}}let u=t.pathRotation;return u&&(h=!1,l+=`rotate(${e(u,i.numberValueTypes.pathRotation)}
115) `),l=l.trim(),a?l=a(s,h?"":l):h&&(l="none"),l}(a,t.transform,l):h.transform&&(h.transform="none")),m){let{originX:t="50%",originY:e="50%",originZ:i=0}=c;h.transformOrigin=`${t} ${e} ${i}`}}t.s(["buildHTMLStyles",0,a],58708);let l={offset:"stroke-dashoffset",array:"stroke-dasharray"},h={offset:"strokeDashoffset",array:"strokeDasharray"},u=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];t.s(["buildSVGAttrs",0,function(t,{attrX:e,attrY:i,attrScale:r,pathLength:s,pathSpacing:n=1,pathOffset:o=0,...c},d,m,p){if(a(t,c,m),d){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:f,style:g}=t;for(let t of(f.transform&&(g.transform=f.transform,delete f.transform),(g.transform||f.transformOrigin)&&(g.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),g.transform&&(g.transformBox=p?.transformBox??"fill-box",delete f.transformBox),u))void 0!==f[t]&&(g[t]=f[t],delete f[t]);void 0!==e&&(f.x=e),void 0!==i&&(f.y=i),void 0!==r&&(f.scale=r),void 0!==s&&function(t,e,i=1,r=0,s=!0){t.pathLength=1;let n=s?l:h;t[n.offset]=`${-r}`,t[n.array]=`${e} ${i}`}(f,s,n,o,!1)}],2934);let c=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"]);t.s(["camelCaseAttributes",0,c],49821),t.s(["isSVGTag",0,t=>"string"==typeof t&&"svg"===t.toLowerCase()],90277);var d=t.i(34482);function m(t,{style:e,vars:i},r,s){let n,o=t.style;for(n in e)o[n]=e[n];for(n in s?.applyProjectionStyles(o,r),i)o.setProperty(n,i[n])}t.s(["renderHTML",0,m],85893),t.s(["renderSVG",0,function(t,e,i,r){for(let i in m(t,e,void 0,r),e.attrs)t.setAttribute(c.has(i)?i:(0,d.camelToDash)(i),e.attrs[i])}],72295),t.s(["cornerRadiusProps",0,["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"]],63640);var p=t.i(56839);function f(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let g={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!p.px.test(t))return t;else t=parseFloat(t);let i=f(t,e.target.x),r=f(t,e.target.y);return`${i}% ${r}%`}};t.s(["correctBorderRadius",0,g],61024)},23908,69315,79243,26160,13262,35781,84052,39637,56455,51184,77150,46868,t
115=>{"use strict";var e=t.i(25062),i=t.i(35750),r=t.i(91570),s=t.i(71613),n=t.i(34482),o=t.i(2934),a=t.i(49821),l=t.i(90277),h=t.i(72295),u=t.i(23448),c=t.i(95178),d=t.i(63640),m=t.i(61024),p=t.i(77024),f=t.i(32069);let g={borderRadius:{...m.correctBorderRadius,applyTo:[...d.cornerRadiusProps]},borderTopLeftRadius:m.correctBorderRadius,borderTopRightRadius:m.correctBorderRadius,borderBottomLeftRadius:m.correctBorderRadius,borderBottomRightRadius:m.correctBorderRadius,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=p.complex.parse(t);if(r.length>5)return t;let s=p.complex.createTransformer(t),n=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+n]/=o,r[1+n]/=a;let l=(0,f.mixNumber)(o,a,.5);return"number"==typeof r[2+n]&&(r[2+n]/=l),"number"==typeof r[3+n]&&(r[3+n]/=l),s(r)}}};function y(t,{layout:i,layoutId:r}){return e.transformProps.has(t)||t.startsWith("origin")||(i||void 0!==r)&&(!!g[t]||"opacity"===t)}function v(t,e,i){let r=t.style,s=e?.style,n={};if(!r)return n;for(let e in r)((0,u.isMotionValue)(r[e])||s&&(0,u.isMotionValue)(s[e])||y(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(n[e]=r[e]);return n}function E(t,i,r){let s=v(t,i,r);for(let r in t)((0,u.isMotionValue)(t[r])||(0,u.isMotionValue)(i[r]))&&(s[-1!==e.transformPropOrder.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]);return s}t.s(["scaleCorrectors",0,g],69315),t.s(["isForcedMotionValue",0,y],79243),t.s(["scrapeMotionValuesFromProps",0,v],26160),t.s(["scrapeMotionValuesFromProps",0,E],13262);class T extends s.DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=r.createBox}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,r){if(e.transformProps.has(r)){let t=(0,i.getDefaultValueType)(r);return t&&t.default||0}return r=a.camelCaseAttributes.has(r)?r:(0,n.camelToDash)(r),t.getAttribute(r)}scrapeMotionValuesFromProps(t,e,i){return E(t,e,i)}build(t,e,i){(0,o.buildSVGAttrs)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){(0,h.renderSVG)(t,e,i,r)}mount(t){this.isSVGTag=(0,l.isSVGTag)(t.tagName),super.mount(t)}}t.s(["SVGVisualElement",0,T],35781);var S=t.i(24811);function b({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function A(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}function C(t){return void 0===t||1===t}function x({scale:t,scaleX:e,scaleY:i}){return!C(t)||!C(e)||!C(i)}function _(t){return x(t)||M(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function M(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}t.s(["convertBoundingBoxToBox",0,b,"convertBoxToBoundingBox",0,function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}},"transformBoxPoints",0,A],84052);function P(t,e,i){return i+e*(t-i)}function R(t,e,i,r,s){return void 0!==s&&(t=P(t,s,r)),P(t,i,r)+e}function w(t,e=0,i=1,r,s){t.min=R(t.min,e,i,r,s),t.max=R(t.max,e,i,r,s)}function B(t,{x:e,y:i}){w(t.x,e.translate,e.scale,e.originPoint),w(t.y,i.translate,i.scale,i.originPoint)}function L(t,e){t.min+=e,t.max+=e}function I(t,e,i,r,s=.5){let n=(0,f.mixNumber)(t.min,t.max,s);w(t,e,i,n,r)}function V(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function N(t,e,i){let r=i??t;I(t.x,V(e.x,r.x),e.scaleX,e.scale,e.originX),I(t.y,V(e.y,r.y),e.scaleY,e.scale,e.originY)}function O(t,e){return b(A(t.getBoundingClientRect(),e))}t.s(["has2DTranslate",0,M,"hasScale",0,x,"hasTransform",0,_],39637),t.s(["applyBoxDelta",0,B,"applyTreeDeltas",0,function(t,e,i,r=!1){let s,n,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){n=(s=i[a]).projectionDelta;let{visualElement:o}=s.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(L(t.x,-s.scroll.offset.x),L(t.y,-s.scroll.offset.y)),n&&(e.x*=n.x.scale,e.y*=n.y.scale,B(t,n)),r&&_(s.latestValues)&&N(t,s.latestValues,s.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}},"scalePoint",0,P,"transformBox",0,N,"translateAxis",0,L],56455),t.s(["measurePageBox",0,function(t,e,
115i){let r=O(t,i),{scroll:s}=e;return s&&(L(r.x,s.offset.x),L(r.y,s.offset.y)),r},"measureViewportBox",0,O],51184);var D=s,H=t.i(58708),k=t.i(85893);class F extends D.DOMVisualElement{constructor(){super(...arguments),this.type="html",this.renderInstance=k.renderHTML}readValueFromInstance(t,i){if(e.transformProps.has(i))return this.projection?.isProjecting?(0,S.defaultTransformValue)(i):(0,S.readTransformValue)(t,i);{let e=window.getComputedStyle(t),r=((0,c.isCSSVariableName)(i)?e.getPropertyValue(i):e[i])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return O(t,e)}build(t,e,i){(0,H.buildHTMLStyles)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return v(t,e,i)}}t.s(["HTMLVisualElement",0,F],77150);var U=t.i(55118);let G=["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 $(t){if("string"!=typeof t||t.includes("-"));else if(G.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}t.s(["isSVGComponent",0,$],46868),t.s(["createDomVisualElement",0,(t,e)=>e.isSVG??$(t)?new T(e):new F(e,{allowProjection:t!==U.Fragment})],23908)},66958,t=>{"use strict";let e=(0,t.i(55118).createContext)({});t.s(["LayoutGroupContext",0,e])},8837,t=>{"use strict";let e=(0,t.i(55118).createContext)({strict:!1});t.s(["LazyContext",0,e])},1945,t=>{"use strict";let e=(0,t.i(55118).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,e])},72100,50694,5423,95554,18954,79969,50934,t=>{"use strict";var e,i=t.i(55118);let r=(0,i.createContext)({});t.s(["MotionContext",0,r],72100);var s=t.i(56614),n=t.i(11004);function o(t){return Array.isArray(t)?t.join(" "):t}t.s(["useCreateMotionContext",0,function(t){let{initial:e,animate:a}=function(t,e){if((0,s.isControllingVariants)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,n.isVariantLabel)(e)?e:void 0,animate:(0,n.isVariantLabel)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,i.useContext)(r));return(0,i.useMemo)(()=>({initial:e,animate:a}),[o(e),o(a)])}],50694);var a=t.i(23448),l=t.i(79243),h=t.i(58708);let u=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function c(t,e,i){for(let r in e)(0,a.isMotionValue)(e[r])||(0,l.isForcedMotionValue)(r,i)||(t[r]=e[r])}t.s(["createHtmlRenderState",0,u],5423);var d=t.i(2934),m=t.i(90277);let p=()=>({...u(),attrs:{}});t.s(["createSvgRenderState",0,p],95554);let f=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 g(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||f.has(t)}let y=t=>!g(t);try{e=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof e&&(y=t=>t.startsWith("on")?!g(t):e(t))}catch{}var v=t.i(46868);t.s(["useRender",0,function(t,e,r,{latestValues:s},n,o=!1,l){let f=(l??(0,v.isSVGComponent)(t)?function(t,e,r,s){let n=(0,i.useMemo)(()=>{let i=p();return(0,d.buildSVGAttrs)(i,e,(0,m.isSVGTag)(s),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};c(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let r,s,n={},o=(r=t.style||{},c(s={},r,t),Object.assign(s,function({transformTemplate:t},e){return(0,i.useMemo)(()=>{let i=u();return(0,h.buildHTMLStyles)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),s);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=o,n}
115)(e,s,n,t),E=function(t,e,i){let r={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&!(0,a.isMotionValue)(t[s])&&(y(s)||!0===i&&g(s)||!e&&!g(s)||t.draggable&&s.startsWith("onDrag"))&&(r[s]=t[s]);return r}(e,"string"==typeof t,o),T=t!==i.Fragment?{...E,...f,ref:r}:{},{children:S}=e,b=(0,i.useMemo)(()=>(0,a.isMotionValue)(S)?S.get():S,[S]);return(0,i.createElement)(t,{...T,children:b})}],18954);var E=t.i(26160);t.s(["scrapeHTMLMotionValuesFromProps",()=>E.scrapeMotionValuesFromProps],79969),t.s(["resolveMotionValue",0,function(t){return(0,a.isMotionValue)(t)?t.get():t}],50934)},10372,t=>{"use strict";let e=(0,t.i(55118).createContext)(null);t.s(["PresenceContext",0,e])},61017,t=>{"use strict";var e=t.i(55118);t.s(["useConstant",0,function(t){let i=(0,e.useRef)(null);return null===i.current&&(i.current=t()),i.current}])},15746,64084,18790,74730,71126,840,t=>{"use strict";var e=t.i(79969),i=t.i(50934),r=t.i(56614),s=t.i(70302),n=t.i(17088),o=t.i(55118),a=t.i(72100),l=t.i(10372),h=t.i(61017);let u=t=>(e,u)=>{let c=(0,o.useContext)(a.MotionContext),d=(0,o.useContext)(l.PresenceContext),m=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},o,a,l){return{latestValues:function(t,e,o,a){let l={},h=a(t,{});for(let t in h)l[t]=(0,i.resolveMotionValue)(h[t]);let{initial:u,animate:c}=t,d=(0,r.isControllingVariants)(t),m=(0,r.isVariantNode)(t);e&&m&&!d&&!1!==t.inherit&&(void 0===u&&(u=e.initial),void 0===c&&(c=e.animate));let p=!!o&&!1===o.initial,f=(p=p||!1===u)?c:u;if(f&&"boolean"!=typeof f&&!(0,s.isAnimationControls)(f)){let e=Array.isArray(f)?f:[f];for(let i=0;i<e.length;i++){let r=(0,n.resolveVariantFromProps)(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=p?e.length-1:0;e=e[t]}null!==e&&(l[t]=e)}for(let e in t)l[e]=t[e]}}}return l}(o,a,l,t),renderState:e()}})(t,e,c,d);return u?m():(0,h.useConstant)(m)};var c=t.i(5423);let d=u({scrapeMotionValuesFromProps:e.scrapeHTMLMotionValuesFromProps,createRenderState:c.createHtmlRenderState});t.s(["useHTMLVisualState",0,d],15746);var m=t.i(13262),m=m,p=t.i(95554);let f=u({scrapeMotionValuesFromProps:m.scrapeMotionValuesFromProps,createRenderState:p.createSvgRenderState});t.s(["useSVGVisualState",0,f],64084);var g=t.i(54912);let y={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"]},v=!1;function E(){return!function(){if(v)return;let t={};for(let e in y)t[e]={isEnabled:t=>y[e].some(e=>!!t[e])};(0,g.setFeatureDefinitions)(t),v=!0}(),(0,g.getFeatureDefinitions)()}t.s(["getInitializedFeatureDefinitions",0,E],18790),t.s(["loadFeatures",0,function(t){let e=E();for(let i in t)e[i]={...e[i],...t[i]};(0,g.setFeatureDefinitions)(e)}],74730);let T=Symbol.for("motionComponentSymbol");t.s(["motionComponentSymbol",0,T],71126),t.s(["useMotionRef",0,function(t,e,i){let r=(0,o.useRef)(i);(0,o.useInsertionEffect)(()=>{r.current=i});let s=(0,o.useRef)(null);return(0,o.useCallback)(i=>{i&&t.onMount?.(i),e&&(i?e.mount(i):e.unmount());let n=r.current;if("function"==typeof n)if(i){let t=n(i);"function"==typeof t&&(s.current=t)}else s.current?(s.current(),s.current=null):n(i);else n&&(n.current=i)},[e])}],840)},68078,48664,t=>{"use strict";let e=(0,t.i(55118).createContext)({});t.s(["SwitchLayoutGroupContext",0,e],68078),t.s(["isRefObject",0,function(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}],48664)},47182,t=>{"use strict";var e=t.i(55118);let i="u">typeof window?e.useLayoutEffect:e.useEffect;t.s(["useIsomorphicLayoutEffect",0,i],47182)},84456,36994,t=>{"use strict";t.i(19940);var e=t.i(46882),i=t.i(55118),r=t.i(66958),s=t.i(8837),n=t.i(1945),o=t.i(72100),a=t.i(50694),l=t.i(18954),h=t.i(46868),u=t.i(15746),c=t.i(64084),d=t.i(18790),m=t.i(74730),p=t.i(71126),f=t.i(840),g=t.i(28969),y=t.i(10372),v=t.i(68078),E=t.i(48664),T=t.i(47182);function S(t,{forwardMotionProps:b=!1,type:A}={},C,x){C&&(0,m.loadFeatures)(C);let _=A?"svg"===A:(0,h.isSVGComponent)(t),M=_?c.useSVGVisualState:u.useHTMLVisualState;function P(h,u){let c,m={...(0,i.useContext)(n.MotionConfigContext),...h,layoutId:function({layoutId:t}){let e=(0,i.useContext)(r.LayoutGroupContext).id;return e&&void 0!==t?e+"-"+t:t}(h)},{isStatic:p}=m,S=(0,a.useCreateMotionContext)(h),A=M(h,p);if(!p&&"u">typeof window){(0,i.useContext)(s.LazyContext).strict;let e=function(t){let{drag:e,layout:i}=(0,d.getInitializedFeatureDefinitions)();if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
115(m);c=e.MeasureLayout,S.visualElement=function(t,e,r,a,l,h){let{visualElement:u}=(0,i.useContext)(o.MotionContext),c=(0,i.useContext)(s.LazyContext),d=(0,i.useContext)(y.PresenceContext),m=(0,i.useContext)(n.MotionConfigContext),p=m.reducedMotion,f=m.skipAnimations,S=(0,i.useRef)(null),b=(0,i.useRef)(!1);a=a||c.renderer,!S.current&&a&&(S.current=a(t,{visualState:e,parent:u,props:r,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:p,skipAnimations:f,isSVG:h}),b.current&&S.current&&(S.current.manuallyAnimateOnMount=!0));let A=S.current,C=(0,i.useContext)(v.SwitchLayoutGroupContext);A&&!A.projection&&l&&("html"===A.type||"svg"===A.type)&&function(t,e,i,r){let{layoutId:s,layout:n,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:h,layoutAnchor:u,layoutCrossfade:c}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:s,layout:n,alwaysMeasureLayout:!!o||a&&(0,E.isRefObject)(a),visualElement:t,animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:h,layoutAnchor:u})}(S.current,r,l,C);let x=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{A&&x.current&&A.update(r,d)});let _=r[g.optimizedAppearDataAttribute],M=(0,i.useRef)(!!_&&"u">typeof window&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return(0,T.useIsomorphicLayoutEffect)(()=>{b.current=!0,A&&(x.current=!0,window.MotionIsMounted=!0,A.updateFeatures(),A.scheduleRenderMicrotask(),M.current&&A.animationState&&A.animationState.animateChanges())}),(0,i.useEffect)(()=>{A&&(!M.current&&A.animationState&&A.animationState.animateChanges(),M.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),M.current=!1),A.enteringChildren=void 0)}),A}(t,A,m,x,e.ProjectionNode,_)}return(0,e.jsxs)(o.MotionContext.Provider,{value:S,children:[c&&S.visualElement?(0,e.jsx)(c,{visualElement:S.visualElement,...m}):null,(0,l.useRender)(t,h,(0,f.useMotionRef)(A,S.visualElement,u),A,p,b,_)]})}P.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let R=(0,i.forwardRef)(P);return R[p.motionComponentSymbol]=t,R}t.s(["createMotionProxy",0,function(t,e){if("u"<typeof Proxy)return S;let i=new Map,r=(i,r)=>S(i,r,t,e);return new Proxy((t,e)=>r(t,e),{get:(s,n)=>"create"===n?r:(i.has(n)||i.set(n,S(n,void 0,t,e)),i.get(n))})}],84456),t.s(["Feature",0,class{constructor(t){this.isMounted=!1,this.node=t}update(){}}],36994)},21035,98289,64214,9507,52426,68028,16575,t=>{"use strict";var e=t.i(36994),i=t.i(14627),r=t.i(8548);function s(t,e,i,r=0,n=1){let o=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,l=(a-1)*r;return"function"==typeof i?i(o,a):1===n?o*r:l-o*r}function n(t,e,o={}){let a=(0,i.resolveVariant)(t,e,"exit"===o.type?t.presenceContext?.custom:void 0),{transition:l=t.getDefaultTransition()||{}}=a||{};o.transitionOverride&&(l=o.transitionOverride);let h=a?()=>Promise.all((0,r.animateTarget)(t,a,o)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:h}=l;return function(t,e,i=0,r=0,o=0,a=1,l){let h=[];for(let u of t.variantChildren)u.notify("AnimationStart",e),h.push(n(u,e,{...l,delay:i+("function"==typeof r?0:r)+s(t.variantChildren,u,r,o,a)}).then(()=>u.notify("AnimationComplete",e)));return Promise.all(h)}(t,e,i,r,a,h,o)}:()=>Promise.resolve(),{when:c}=l;if(!c)return Promise.all([h(),u(o.delay)]);{let[t,e]="beforeChildren"===c?[h,u]:[u,h];return t().then(()=>e())}}function o(t,e,s={}){let a;if(t.notify("AnimationStart",e),Array.isArray(e))a=Promise.all(e.map(e=>n(t,e,s)));else if("string"==typeof e)a=n(t,e,s);else{let n="function"==typeof e?(0,i.resolveVariant)(t,e,s.custom):e;a=Promise.all((0,r.animateTarget)(t,n,s))}return a.then(()=>{t.notify("AnimationComplete",e)})}t.s(["animateVisualElement",0,o],98289);var a=t.i(11004),l=t.i(11903);let h=l.variantProps.length;var u=t.i(70302),c=t.i(68875);function d(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}let m=[...l.variantPriorityOrder].reverse(),p=l.variantPriorityOrder.length;function f(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function g(){return{animate:f(!0),whileInView:f(),whileHover:f(),whileTap:f(),whileDrag:f(),whileFocus:f(),exit:f()}}class y extends e.Feature{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>o(t,e,i))),r=g(),n=!0,f=!1,y=e=>(r,s)=>{let n=(0,i.resolveVariant)(t,s,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...i}=n;r={...r,...i,...e}}return r};function v(o){let{props:g}=t,v=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<h;t++){let r=l.variantProps[t],s=e.props[r];((0,a.isVariantLabel)(s)||!1===s)&&(i[r]=s)}return i}(t.parent)||{},E=[],T=new Set,S={},b=1/0;for(let e=0;e<p;e++){var A,C;let l=m[e],h=r[l],p=void 0!==g[l]?g[l]:v[l],x=(0,a.isVariantLabel)(p),_=l===o?h.isActive:null;!1===_&&(b=e);let M=p===v[l]&&p!==g[l]&&x;if(M&&(n||f)&&t.manuallyAnimateOnMount&&(M=!1),h.protectedKeys={...S},!h.isActive&&null===_||!p&&!h.prevProp||(0,u.isAnimationControls)(p)||"boolean"==typeof p)continue;if("exit"===l&&h.isActive&&!0!==_){h.prevResolvedValues&&(S={...S,...h.prevResolvedValues});continue}let P=(A=h.prevProp,"string"==typeof(C=p)?C!==A:!!Array.isArray(C)&&!d(C,A)),R=P||l===o&&h.isActive&&!M&&x||e>b&&x,w=!1,B=Array.isArray(p)?p:[p],L=B.reduce(y(l),{});!1===_&&(L={});let{prevResolvedValues:I={}}=h,V={...I,...L},N=e=>{R=!0,T.has(e)&&(w=!0,T.delete(e)),h.needsAnimating[e]=!0;let i=t.getValue(e);
115i&&(i.liveStyle=!1)};for(let t in V){let e=L[t],i=I[t];if(!S.hasOwnProperty(t))((0,c.isKeyframesTarget)(e)&&(0,c.isKeyframesTarget)(i)?!d(e,i)||P:e!==i)?null!=e?N(t):T.add(t):void 0!==e&&T.has(t)?N(t):h.protectedKeys[t]=!0}h.prevProp=p,h.prevResolvedValues=L,h.isActive&&(S={...S,...L}),(n||f)&&t.blockInitialAnimation&&(R=!1);let O=M&&P,D=!O||w;R&&D&&E.push(...B.map(e=>{let r={type:l};if("string"==typeof e&&(n||f)&&!O&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,o=(0,i.resolveVariant)(n,e);if(n.enteringChildren&&o){let{delayChildren:e}=o.transition||{};r.delay=s(n.enteringChildren,t,e)}}return{animation:e,options:r}}))}if(T.size){let e={};if("boolean"!=typeof g.initial){let r=(0,i.resolveVariant)(t,Array.isArray(g.initial)?g.initial[0]:g.initial);r&&r.transition&&(e.transition=r.transition)}T.forEach(i=>{let r=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=r??null}),E.push({animation:e})}let x=!!E.length;return n&&(!1===g.initial||g.initial===g.animate)&&!t.manuallyAnimateOnMount&&(x=!1),n=!1,f=!1,x?e(E):Promise.resolve()}return{animateChanges:v,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 s=v(e);for(let t in r)r[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>r,reset:()=>{r=g(),f=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,u.isAnimationControls)(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?.()}}var v=e;let E=0;class T extends v.Feature{constructor(){super(...arguments),this.id=E++,this.isExitComplete=!1}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;if(t&&!1===r){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let r=(0,i.resolveVariant)(this.node,t,e);if(r){let{transition:t,transitionEnd:e,...i}=r;for(let t in i)this.node.getValue(t)?.jump(i[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
115e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}t.s(["animations",0,{animation:{Feature:y},exit:{Feature:T}}],21035),t.s(["eachAxis",0,function(t){return[t("x"),t("y")]}],64214),t.s(["addDomEvent",0,function(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)}],9507);let S={x:!1,y:!1};t.s(["isDragActive",0,function(){return S.x||S.y},"isDragging",0,S],52426),t.s(["setDragLock",0,function(t){if("x"===t||"y"===t)if(S[t])return null;else return S[t]=!0,()=>{S[t]=!1};return S.x||S.y?null:(S.x=S.y=!0,()=>{S.x=S.y=!1})}],68028);var b=t.i(32069);function A(t){return t.max-t.min}function C(t,e,i,r=.5){t.origin=r,t.originPoint=(0,b.mixNumber)(e.min,e.max,t.origin),t.scale=A(i)/A(e),t.translate=(0,b.mixNumber)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function x(t,e,i,r=0){t.min=(r?(0,b.mixNumber)(i.min,i.max,r):i.min)+e.min,t.max=t.min+A(e)}function _(t,e,i,r=0){let s=r?(0,b.mixNumber)(i.min,i.max,r):i.min;t.min=e.min-s,t.max=t.min+A(e)}t.s(["calcBoxDelta",0,function(t,e,i,r){C(t.x,e.x,i.x,r?r.originX:void 0),C(t.y,e.y,i.y,r?r.originY:void 0)},"calcLength",0,A,"calcRelativeBox",0,function(t,e,i,r){x(t.x,e.x,i.x,r?.x),x(t.y,e.y,i.y,r?.y)},"calcRelativePosition",0,function(t,e,i,r){_(t.x,e.x,i.x,r?.x),_(t.y,e.y,i.y,r?.y)},"isNear",0,function(t,e,i){return Math.abs(t-e)<=i}],16575)},11382,16587,48975,94049,89730,37664,t=>{"use strict";let e,i;var r=t.i(36994),s=t.i(22865),n=t.i(91570),o=t.i(30998),a=t.i(64214),l=t.i(51184),h=t.i(84052),u=t.i(3760),c=t.i(97043),d=t.i(32069),m=t.i(9507),p=t.i(68028),f=t.i(56839),g=t.i(16575),y=t.i(40618),v=t.i(65440);let E=new WeakMap,T=(t,e,i)=>(r,s)=>s&&s[0]?s[0][t+"Size"]:(0,y.isSVGElement)(r)&&"getBBox"in r?r.getBBox()[e]:r[i],S=T("inline","width","offsetWidth"),b=T("block","height","offsetHeight");function A({target:t,borderBoxSize:e}){E.get(t)?.forEach(i=>{i(t,{get width(){return S(t,e)},get height(){return b(t,e)}})})}function C(t){t.forEach(A)}let x=new Set;function _(t,r){let s;return"function"==typeof t?(x.add(t),i||(i=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};x.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{x.delete(t),x.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):(!e&&"u">typeof ResizeObserver&&(e=new ResizeObserver(C)),(s=(0,v.resolveElements)(t)).forEach(t=>{let i=E.get(t);i||(i=new Set,E.set(t,i)),i.add(r),e?.observe(t)}),()=>{s.forEach(t=>{let i=E.get(t);i?.delete(r),i?.size||e?.unobserve(t)})})}let M=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),P=new Set(["INPUT","SELECT","TEXTAREA"]);function R(t){return P.has(t.tagName)||!0===t.isContentEditable}t.s(["isElementKeyboardAccessible",0,function(t){return M.has(t.tagName)||!0===t.isContentEditable},"isElementTextInput",0,R],16587);var w=t.i(61603);let B=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function L(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",0,B],48975);let I=t=>e=>B(e)&&t(e,L(e));function V(t,e,i,r){return(0,m.addDomEvent)(t,e,I(i),r)}t.s(["addPointerInfo",0,I,"extractEventInfo",0,L],94049);let N=({current:t})=>t?t.ownerDocument.defaultView:null;var O=t.i(48664),D=t.i(45250),H=t.i(64913);let k=(t,e)=>Math.abs(t-e),F=new Set(["auto","scroll"]);class U{constructor(t,e,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:s=!1,distanceThreshold:n=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=G(this.lastRawMoveEventInfo,this.transformPagePoint));let i=j(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(k(t.x,e.x)**2+k(t.y,e.y)**2)>=this.distanceThreshold);if(!r&&!s)return;let{point:n}=i,{timestamp:a}=o.frameData;this.history.push({...n,timestamp:a});let{onStart:l,onMove:h}=this.handlers;r||(l&&l(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),h&&h(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=G(e,this.transformPagePoint),o.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:s}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=j("pointercancel"===t.type?this.lastMoveEventInfo:G(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),r&&r(t,n)},!B(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=n,this.contextWindow=r||window;const l=G(L(t),this.transformPagePoint),{point:h}=l,{timestamp:u}=o.frameData;this.history=[{...h,timestamp:u}];const{onSessionStart:c}=e;c&&c(t,j(l,this.history));const d={passive:!0,capture:!0};this.removeListeners=(0,D.pipe)(V(this.contextWindow,"pointermove",this.handlePointerMove,d),V(this.contextWindow,"pointerup",this.handlePointerUp,d),V(this.contextWindow,"pointercancel",this.handlePointerUp,d)),a&&this.startScrollTracking(a)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(F.has(t.overflowX)||F.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,r=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:r.x-e.x,y:r.y-e.y};(0!==s.x||0!==s.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,r),o.frame.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,o.cancelFrame)(this.updatePoint)}}function G(t,e){return e?{point:e(t.point)}:t}function $(t,e){return{x:t.x-e.x,y:t.y-e.y}}function j({point:t},e){return{point:t,delta:$(t,W(e)),offset:$(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,r=W(t);for(;e>=0&&(i=t[e],!(r.timestamp-i.timestamp>(0,H.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&r.timestamp-i.timestamp>
1152*(0,H.secondsToMilliseconds)(.1)&&(i=t[1]);let s=(0,H.millisecondsToSeconds)(r.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let n={x:(r.x-i.x)/s,y:(r.y-i.y)/s};return n.x===1/0&&(n.x=0),n.y===1/0&&(n.y=0),n}(e)}}function W(t){return t[t.length-1]}var K=t.i(63188),z=t.i(472);function Y(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function X(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function Z(t,e,i){return{min:q(t,e),max:q(t,i)}}function q(t,e){return"number"==typeof t?t:t[e]||0}let J=new WeakMap;class Q{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=(0,n.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let s=t=>{e&&this.snapToCursor(L(t).point),this.stopAnimation()},n=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:s}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,p.setDragLock)(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,a.eachAxis)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(f.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=(0,g.calcLength)(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&o.frame.update(()=>s(t,e),!1,!0),(0,u.addValueToWillChange)(this.visualElement,"transform");let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},l=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:s,onDrag:n}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),n&&o.frame.update(()=>n(t,e),!1,!0)},h=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new U(t,{onSessionStart:s,onStart:n,onMove:l,onSessionEnd:h,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:i,contextWindow:N(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,r=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!r||!i)return;let{velocity:n}=r;this.startAnimation(n);let{onDragEnd:a}=this.getProps();a&&o.frame.postRender(()=>a(i,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!te(t,r,this.currentDirection))return;let s=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?(0,d.mixNumber)(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?(0,d.mixNumber)(i,t,r.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),s.set(n)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&(0,O.isRefObject)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:s}){return{x:Y(t.x,i,s),y:Y(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:Z(t,"left","right"),y:Z(t,"top","bottom")}}(e),r!==this.constraints&&!(0,O.isRefObject)(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,a.eachAxis)(t=>{var e,r;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],r=this.constraints[t],s={},void 0!==r.min&&(s.min=r.min-e.min),void 0!==r.max&&(s.max=r.max-e.min),s))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,O.isRefObject)(e))return!1;let r=e.current;(0,w.invariant)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;s.root&&(s.root.scroll=void 0,s.root.updateScroll());let n=(0,l.measurePageBox)(r,s.root,this.visualElement.getTransformPagePoint()),o=(t=s.layout.layoutBox,{x:X(t.x,n.x),y:X(t.y,n.y)});if(i){let t=i((0,h.convertBoxToBoundingBox)(o));this.hasMutatedConstraints=!!t,t&&(o=(0,h.convertBoundingBoxToBox)(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:s,dragSnapToOrigin:n,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{};return Promise.all((0,a.eachAxis)(o=>{if(!te(o,e,this.currentDirection))return;let a=l&&l[o]||{};(!0===n||n===o)&&(a={min:0,max:0});let h={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...a};return this.startAxisValueAnimation(o,h)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,u.addValueToWillChange)(this.visualElement,t),i.start((0,c.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,a.eachAxis)(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){(0,a.eachAxis)(e=>{let{drag:i}=this.getProps();if(!te(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,s=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:n}=r.layout.layoutBox[e],o=s.get()||0;s.set(t[e]-(0,d.mixNumber)(i,n,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,O.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};(0,a.eachAxis)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,s;let n,o,a,l=e.get();r[t]=(i={min:l,max:l},s=this.constraints[t],n=.5,o=(0,g.calcLength)(i),(a=(0,g.calcLength)(s))>o?n=(0,K.progress)(s.min,s.max-o,i.min):o>a&&(n=(0,K.progress)(i.min,i.max-a,s.min)),(0,z.clamp)(0,1,n))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,a.eachAxis)(e=>{if(!te(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:n}=this.constraints[e];i.set((0,d.mixNumber)(s,n,r[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;J.set(this.visualElement,this);let e=this.visualElement.current,i=V(e,"pointerdown",t=>{let{drag:i,dragListener:r=!0}=this.getProps(),s=t.target,n=s!==e&&R(s);i&&r&&!n&&this.start(t)}),r=()=>{var i,r,s;let n,o,{dragConstraints:a}=this.getProps();(0,O.isRefObject)(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,r=a.current,n=_(i,tt(s=()=>this.scalePositionWithinConstraints())),o=_(r,tt(s)),t=()=>{n(),o()}))},{projection:s}=this.visualElement,n=s.addEventListener("measure",r);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),o.frame.read(r);let l=(0,m.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),h=s.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&((0,a.eachAxis)(e=>{let i=this.getAxisMotionValue(e);
115i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{l(),i(),n(),h&&h(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:n=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:s,dragElastic:n,dragMomentum:o}}}function tt(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function te(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class ti extends r.Feature{constructor(t){super(t),this.removeGroupControls=s.noop,this.removeListeners=s.noop,this.controls=new Q(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s.noop}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()}}t.s(["DragGesture",0,ti],11382);var tr=r;let ts=t=>(e,i)=>{t&&o.frame.update(()=>t(e,i),!1,!0)};class tn extends tr.Feature{constructor(){super(...arguments),this.removePointerDownListener=s.noop}onPointerDown(t){this.session=new U(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:N(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:ts(t),onStart:ts(e),onMove:ts(i),onEnd:(t,e)=>{delete this.session,r&&o.frame.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=V(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}t.s(["PanGesture",0,tn],89730),t.s(["globalProjectionState",0,{hasAnimatedSinceResize:!0,hasEverUpdated:!1}],37664)},35726,t=>{"use strict";var e=t.i(55118),i=t.i(10372);t.s(["usePresence",0,function(t=!0){let r=(0,e.useContext)(i.PresenceContext);if(null===r)return[!0,null];let{isPresent:s,onExitComplete:n,register:o}=r,a=(0,e.useId)();(0,e.useEffect)(()=>{if(t)return o(a)},[t]);let l=(0,e.useCallback)(()=>t&&n&&n(a),[a,n,t]);return!s&&n?[!1,l]:[!0]}])},32326,t=>{"use strict";var e=t.i(46882),i=t.i(37664),r=t.i(30998),s=t.i(61576),n=t.i(55118),o=t.i(35726),a=t.i(66958),l=t.i(68078);let h=!1;class u extends n.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:r,layoutId:s}=this.props,{projection:n}=t;n&&(e.group&&e.group.add(n),r&&r.register&&s&&r.register(n),h&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),i.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:n}=this.props,{projection:o}=i;return o&&(o.isPresent=n,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),h=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==n?o.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?o.promote():o.relegate()||r.frame.postRender(()=>{let t=o.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),s.microtask.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;h=!0,r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}t.s(["MeasureLayout",0,function(t){let[i,r]=(0,o.usePresence)(),s=(0,n.useContext)(a.LayoutGroupContext);return(0,e.jsx)(u,{...t,layoutGroup:s,switchLayoutGroup:(0,n.useContext)(l.SwitchLayoutGroupContext),isPresent:i,safeToRemove:r})}])}
115,9439,27463,t=>{"use strict";t.s(["statsBuffer",0,{value:null,addProjectionMetrics:null}],9439);var e=t.i(93742);t.i(64913);var i=t.i(30998);t.s(["delay",0,function(t,r){let s=e.time.now(),n=({timestamp:e})=>{let o=e-s;o>=r&&((0,i.cancelFrame)(n),t(o-r))};return i.frame.setup(n,!0),()=>(0,i.cancelFrame)(n)}],27463)},36951,10103,11917,37085,72455,t=>{"use strict";var e=t.i(11382),i=t.i(89730),r=t.i(32326),s=t.i(10360),n=t.i(472),o=t.i(22865),a=t.i(52164),l=t.i(96063),h=t.i(51891),u=t.i(61576),c=t.i(93742),d=t.i(69315),m=t.i(9439),p=t.i(27463),f=t.i(40618),g=t.i(22040),y=t.i(32069),v=t.i(73680),E=t.i(50934),T=t.i(56839),S=t.i(63188),b=t.i(32091),A=t.i(63640);let C=A.cornerRadiusProps.length,x=t=>"string"==typeof t?parseFloat(t):t,_=t=>"number"==typeof t||T.px.test(t);function M(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let P=w(0,.5,b.circOut),R=w(.5,.95,o.noop);function w(t,e,i){return r=>r<t?0:r>e?1:i((0,S.progress)(t,e,r))}function B(t,e){t.min=e.min,t.max=e.max}function L(t,e){B(t.x,e.x),B(t.y,e.y)}function I(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var V=t.i(56455),N=t.i(16575);function O(t,e,i,r,s){return t-=e,t=(0,V.scalePoint)(t,1/i,r),void 0!==s&&(t=(0,V.scalePoint)(t,1/s,r)),t}function D(t,e,[i,r,s],n,o){!function(t,e=0,i=1,r=.5,s,n=t,o=t){if(T.percent.test(e)&&(e=parseFloat(e),e=(0,y.mixNumber)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,y.mixNumber)(n.min,n.max,r);t===n&&(a-=e),t.min=O(t.min,e,i,a,s),t.max=O(t.max,e,i,a,s)}(t,e[i],e[r],e[s],e.scale,n,o)}let H=["x","scaleX","originX"],k=["y","scaleY","originY"];function F(t,e,i,r){D(t.x,e,H,i?i.x:void 0,r?r.x:void 0),D(t.y,e,k,i?i.y:void 0,r?r.y:void 0)}var U=t.i(91570);function G(t){return 0===t.translate&&1===t.scale}function $(t){return G(t.x)&&G(t.y)}function j(t,e){return t.min===e.min&&t.max===e.max}function W(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function K(t,e){return W(t.x,e.x)&&W(t.y,e.y)}function z(t){return(0,N.calcLength)(t.x)/(0,N.calcLength)(t.y)}function Y(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var X=t.i(95676);class Z{constructor(){this.members=[]}add(t){(0,X.addUniqueItem)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let r=i.instance;r&&!1!==r.isConnected||i.snapshot||((0,X.removeItem)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,X.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:r}=i.options,{layoutDependency:s}=t.options;(void 0===r||r!==s)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}var q=t.i(64214);let J=(t,e)=>t.depth-e.depth;class Q{constructor(){this.children=[],this.isDirty=!1}add(t){(0,X.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,X.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(J),this.isDirty=!1,this.children.forEach(t)}}var tt=t.i(39637),te=t.i(37664),ti=t.i(30998);let tr={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},ts=["","X","Y","Z"],tn=0;function to(t,e,i,r){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),r&&(r[t]=0))}function ta({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(t={},i=e?.()){this.id=tn++,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,m.statsBuffer.value&&(tr.nodes=tr.calculatedTargetDeltas=tr.calculatedProjections=0),this.nodes.forEac
115h(tu),this.nodes.forEach(tE),this.nodes.forEach(tT),this.nodes.forEach(tc),m.statsBuffer.addProjectionMetrics&&m.statsBuffer.addProjectionMetrics(tr)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new Q)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new s.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,f.isSVGElement)(e)&&!(0,g.isSVGSVGElement)(e),this.instance=e;let{layoutId:i,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let i,r=0,s=()=>this.root.updateBlockedByResize=!1;ti.frame.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==r&&(r=t,this.root.updateBlockedByResize=!0,i&&i(),i=(0,p.delay)(s,250),te.globalProjectionState.hasAnimatedSinceResize&&(te.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(tv)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||t_,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!K(this.targetLayout,r),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,h.getValueTransition)(n,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u,e.path)}else e||tv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}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,ti.cancelFrame)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(tS),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let r=(0,l.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",ti.frame,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEac
115h(tp),this.nodes.forEach(tm);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tf);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tg),this.nodes.forEach(ty),this.nodes.forEach(tl),this.nodes.forEach(th)):this.nodes.forEach(tf),this.clearAllSnapshots();let t=c.time.now();ti.frameData.delta=(0,n.clamp)(0,1e3/60,t-ti.frameData.timestamp),ti.frameData.timestamp=t,ti.frameData.isProcessing=!0,ti.frameSteps.update.process(ti.frameData),ti.frameSteps.preRender.process(ti.frameData),ti.frameSteps.render.process(ti.frameData),ti.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,u.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(td),this.sharedNodes.forEach(tb)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ti.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ti.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,N.calcLength)(this.snapshot.measuredBox.x)||(0,N.calcLength)(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,U.createBox)()),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=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!o)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!$(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,tt.hasTransform)(this.latestValues)||s)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),tR((e=r).x),tR(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,U.createBox)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tB))){let{scroll:t}=this.root;t&&((0,V.translateAxis)(e.x,t.offset.x),(0,V.translateAxis)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,U.createBox)();if(L(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:s,options:n}=r;r!==this.root&&s&&n.layoutScroll&&(s.wasRoot&&L(e,t),(0,V.translateAxis)(e.x,s.offset.x),(0,V.translateAxis)(e.y,s.offset.y))}return e}applyTransform(t,e=!1,i){let r=i||(0,U.createBox)();L(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&&((0,V.translateAxis)(r.x,-i.scroll.offset.x),(0,V.translateAxis)(r.y,-i.scroll.offset.y)),(0,tt.hasTransform)(i.latestValues)&&(0,V.transformBox)(r,i.latestValues,i.layout?.layoutBox)}return(0,tt.hasTransform)(this.latestValues)&&(0,V.transformBox)(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(t){let e=(0,U.createBox)();L(e,t);for(let t=0;t<this.path.length;t++){let i,r=this.path[t];(0,tt.hasTransform)(r.latestValues)&&(r.instance&&((0,tt.hasScale)(r.latestValues)&&r.updateSnapshot(),L(i=(0,U.createBox)(),r.measurePageBox())),F(e,r.latestValues,r.snapshot?.layoutBox,i))}return(0,tt.hasTransform)(this.latestValues)&&F(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!==ti.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:s}=this.options;if(!this.layout||!(r||s))return;this.resolvedRelativeTargetAt=ti.frameData.timestamp;let n=this.getClosestProjectingParent();n&&this.linkedParentVersion!==n.layoutVersion&&!n.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&n&&n.layout?this.createRelativeTarget(n,this.layout.layoutBox,n.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,U.createBox)(),this.targetWithTransforms=(0,U.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,N.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):L(this.target,this.layout.layoutBox),(0,V.applyBoxDelta)(this.target,this.targetDelta)):L(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&n&&!!n.resumingFrom==!!this.resumingFrom&&!n.options.layoutScroll&&n.target&&1!==this.animationProgress?this.createRelativeTarget(n,this.target,n.target):this.relativeParent=this.relativeTarget=void 0),m.statsBuffer.value&&tr.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,tt.hasScale)(this.parent.latestValues)||(0,tt.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,U.createBox)(),this.relativeTargetOrigin=(0,U.createBox)(),(0,N.calcRelativePosition)(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),L(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
115if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===ti.frameData.timestamp&&(i=!1),i)return;let{layout:r,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||s))return;L(this.layoutCorrected,this.layout.layoutBox);let n=this.treeScale.x,o=this.treeScale.y;(0,V.applyTreeDeltas)(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=(0,U.createBox)());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(I(this.prevProjectionDelta.x,this.projectionDelta.x),I(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,N.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===n&&this.treeScale.y===o&&Y(this.projectionDelta.x,this.prevProjectionDelta.x)&&Y(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),m.statsBuffer.value&&tr.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=(0,U.createDelta)(),this.projectionDelta=(0,U.createDelta)(),this.projectionDeltaWithTransform=(0,U.createDelta)()}setAnimationOrigin(t,e=!1,i){let r,s=this.snapshot,n=s?s.latestValues:{},o={...this.latestValues},a=(0,U.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=(0,U.createBox)(),h=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(h&&!c&&!0===this.options.crossfade&&!this.path.some(tx));this.animationProgress=0;let m=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,s=m?.(i);if(s?(a.x.translate=s.x,a.x.scale=(0,y.mixNumber)(t.x.scale,1,i),a.x.origin=t.x.origin,a.x.originPoint=t.x.originPoint,a.y.translate=s.y,a.y.scale=(0,y.mixNumber)(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(tA(a.x,t.x,i),tA(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,p,f,g,v,E;(0,N.calcRelativePosition)(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,g=this.relativeTargetOrigin,v=l,E=i,tC(f.x,g.x,v.x,E),tC(f.y,g.y,v.y,E),r&&(u=this.relativeTarget,p=r,j(u.x,p.x)&&j(u.y,p.y))&&(this.isProjectionDirty=!1),r||(r=(0,U.createBox)()),L(r,this.relativeTarget)}h&&(this.animationValues=o,function(t,e,i,r,s,n){s?(t.opacity=(0,y.mixNumber)(0,i.opacity??1,P(r)),t.opacityExit=(0,y.mixNumber)(e.opacity??1,0,R(r))):n&&(t.opacity=(0,y.mixNumber)(e.opacity??1,i.opacity??1,r));for(let s=0;s<C;s++){let n=A.cornerRadiusProps[s],o=M(e,n),a=M(i,n);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||_(o)===_(a)?(t[n]=Math.max((0,y.mixNumber)(x(o),x(a),r),0),(T.percent.test(a)||T.percent.test(o))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,y.mixNumber)(e.rotate||0,i.rotate||0,r))}(o,n,this.latestValues,i,d,c)),s&&void 0!==s.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=s.rotate),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,ti.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ti.frame.update(()=>{te.globalProjectionState.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,v.motionValue)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(0,a.animateSingleValue)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:s}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&tw(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||(0,U.createBox)();let e=(0,N.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=(0,N.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}
115L(e,i),(0,V.transformBox)(e,s),(0,N.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Z),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let r={};i.z&&to("z",t,r,this.animationValues);for(let e=0;e<ts.length;e++)to(`rotate${ts[e]}`,t,r,this.animationValues),to(`skew${ts[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,E.resolveMotionValue)(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,E.resolveMotionValue)(e?.pointerEvents)||""),this.hasProjected&&!(0,tt.hasTransform)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=r.animationValues||r.latestValues;this.applyTransformsToTarget();let n=function(t,e,i){let r="",s=t.x.translate/e.x,n=t.y.translate/e.y,o=i?.z||0;if((s||n||o)&&(r=`translate3d(${s}px, ${n}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:s,rotateX:n,rotateY:o,skewX:a,skewY:l}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),s&&(r+=`rotate(${s}deg) `),n&&(r+=`rotateX(${n}deg) `),o&&(r+=`rotateY(${o}deg) `),a&&(r+=`skewX(${a}deg) `),l&&(r+=`skewY(${l}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(n=i(s,n)),t.transform=n;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?t.opacity=r===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=r===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,d.scaleCorrectors){if
115(void 0===s[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=d.scaleCorrectors[e],l="none"===n?s[e]:i(s[e],r);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=r===this?(0,E.resolveMotionValue)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(tm),this.root.sharedNodes.clear()}}}function tl(t){t.updateLayout()}function th(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=t.layout,{animationType:s}=t.options,n=e.source!==t.layout.source;if("size"===s)(0,q.eachAxis)(t=>{let r=n?e.measuredBox[t]:e.layoutBox[t],s=(0,N.calcLength)(r);r.min=i[t].min,r.max=r.min+s});else if("x"===s||"y"===s){let t="x"===s?"y":"x";B(n?e.measuredBox[t]:e.layoutBox[t],i[t])}else tw(s,e.layoutBox,i)&&(0,q.eachAxis)(r=>{let s=n?e.measuredBox[r]:e.layoutBox[r],o=(0,N.calcLength)(i[r]);s.max=s.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=(0,U.createDelta)();(0,N.calcBoxDelta)(o,i,e.layoutBox);let a=(0,U.createDelta)();n?(0,N.calcBoxDelta)(a,t.applyTransform(r,!0),e.measuredBox):(0,N.calcBoxDelta)(a,i,e.layoutBox);let l=!$(o),h=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:s,layout:n}=r;if(s&&n){let o=t.options.layoutAnchor||void 0,a=(0,U.createBox)();(0,N.calcRelativePosition)(a,e.layoutBox,s.layoutBox,o);let l=(0,U.createBox)();(0,N.calcRelativePosition)(l,i,n.layoutBox,o),K(a,l)||(h=!0),r.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function tu(t){m.statsBuffer.value&&tr.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function tc(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function td(t){t.clearSnapshot()}function tm(t){t.clearMeasurements()}function tp(t){t.isLayoutDirty=!0,t.updateLayout()}function tf(t){t.isLayoutDirty=!1}function tg(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function ty(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tv(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tE(t){t.resolveTargetDelta()}function tT(t){t.calcProjection()}function tS(t){t.resetSkewAndRotation()}function tb(t){t.removeLeadSnapshot()}function tA(t,e,i){t.translate=(0,y.mixNumber)(e.translate,0,i),t.scale=(0,y.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tC(t,e,i,r){t.min=(0,y.mixNumber)(e.min,i.min,r),t.max=(0,y.mixNumber)(e.max,i.max,r)}function tx(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let t_={duration:.45,ease:[.4,0,.1,1]},tM=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tP=tM("applewebkit/")&&!tM("chrome/")?Math.round:o.noop;function tR(t){t.min=tP(t.min),t.max=tP(t.max)}function tw(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,N.isNear)(z(e),z(i),.2)}function tB(t){return t!==t.root&&t.scroll?.wasRoot}var tL=t.i(9507);let tI=ta({attachResizeListener:(t,e)=>(0,tL.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),tV={current:void 0},tN=ta({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tV.current){let t=new tI({});t.mount(window),t.setOptions({layoutScroll:!0}),tV.current=t}return tV.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});t.s(["HTMLProjectionNode",0,tN],10103);let tO={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tN,MeasureLayout:r.MeasureLayout}};t.s(["drag",0,tO],36951);var tD=t.i(36994),tH=t.i(52426),tk=t.i(65440);function tF(t,e){let i=(0,tk.resolveElements)(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}t.s(["setupGesture",0,tF],11917);
115var tU=t.i(94049);function tG(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=r["onHover"+i];s&&ti.frame.postRender(()=>s(e,(0,tU.extractEventInfo)(e)))}class t$ extends tD.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,s,n]=tF(t,i);return r.forEach(t=>{let i,r=!1,n=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{r=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),n&&(n=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(r){n=!0;return}o(t)}};t.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||(0,tH.isDragActive)())return;n=!1;let o=e(t,r);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,s))},s),t.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",a,s)},s)}),n}(t,(t,e)=>(tG(this.node,e,"Start"),t=>tG(this.node,t,"End"))))}unmount(){}}t.s(["HoverGesture",0,t$],37085);var tj=tD,tW=t.i(45250);class tK extends tj.Feature{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,tW.pipe)((0,tL.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,tL.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}t.s(["FocusGesture",0,tK],72455)},75028,t=>{"use strict";var e=t.i(39361);t.s(["isHTMLElement",0,function(t){return(0,e.isObject)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}])},25158,25623,t=>{"use strict";var e=t.i(23908),i=t.i(84456),r=t.i(21035),s=t.i(36951),n=t.i(37085),o=t.i(72455),a=t.i(36994),l=t.i(75028),h=t.i(52426);let u=(t,e)=>!!e&&(t===e||u(t,e.parentElement));var c=t.i(48975),d=t.i(11917),m=t.i(16587);let p=new WeakSet;function f(t){return e=>{"Enter"===e.key&&t(e)}}function g(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function y(t){return(0,c.isPrimaryPointer)(t)&&!(0,h.isDragActive)()}let v=new WeakSet;var E=t.i(30998),T=t.i(94049);function S(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=r["onTap"+("End"===i?"":i)];s&&E.frame.postRender(()=>s(e,(0,T.extractEventInfo)(e)))}class b extends a.Feature{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[r,s,n]=(0,d.setupGesture)(t,i),o=t=>{let r=t.currentTarget;if(!y(t)||v.has(t))return;p.add(r),i.stopPropagation&&v.add(t);let n=e(r,t),o={...s,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,o),window.removeEventListener("pointercancel",h,o),p.has(r)&&p.delete(r),y(t)&&"function"==typeof n&&n(t,{success:e})},l=t=>{a(t,r===window||r===document||i.useGlobalTarget||u(r,t.target))},h=t=>{a(t,!1)};window.addEventListener("pointerup",l,o),window.addEventListener("pointercancel",h,o)};return r.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,s),(0,l.isHTMLElement)(t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=f(()=>{if(p.has(i))return;g(i,"down");let t=f(()=>{g(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>g(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,s)),(0,m.isElementKeyboardAccessible)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),n}(t,(t,e)=>(S(this.node,e,"Start"),(t,{success:e})=>S(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}var A=a;let C=new WeakMap,x=new WeakMap,_=t=>{let e=C.get(t.target);e&&e(t)},M=t=>{t.forEach(_)},P={some:0,all:1};class R extends A.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:r,margin:s,amount:n="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:s,threshold:"number"==typeof n?n:P[n]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),s=e?i:r;s&&s(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;x.has(i)||x.set(i,{});let r=x.get(i),s=JSON.stringify(e);return r[s]||(r[s]=new IntersectionObserver(M,{root:t,...e})),r[s]}(a),C.set(t,l),e.observe(t),()=>{C.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let w={inView:{Feature:R},tap:{Feature:b},focus:{Feature:o.FocusGesture},hover:{Feature:n.HoverGesture}};var B=t.i(10103),L=t.i(32326);let I={layout:{ProjectionNode:B.HTMLProjectionNode,MeasureLayout:L.MeasureLayout}},V={...r.animations,...w,...s.drag,...I},N=(0,i.createMotionProxy)(V,e.createDomVisualElement);t.s(["motion",0,N],25158),t.i(19940);var O=t.i(26117),D=t.i(51797),H=t.i(55118);t.s(["useReducedMotion",0,function(){O.hasReducedMotionListener.current||(0,D.initPrefersReducedMotion)();let[t]=(0,H.useState)(O.prefersReducedMotion.current);return t}],25623)}]);

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.