PageSourceSearch

https://www.ravenscarhouse.com/_next/static/chunks/986-0140bd82600fa230.js

js ravenscarhouse.com collected 2026-10-02 06:43:33 UTC 182,810 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[986],{136:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.scripts=t.default=void 0;var n=i(1037);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(n).default}}),Object.defineProperty(t,"scripts",{enumerable:!0,get:function(){return n.scripts}})},789:(e,t)=>{"use strict";var i="function"==typeof Symbol&&Symbol.for,r=i?Symbol.for("react.element"):60103,n=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,o=i?Symbol.for("react.strict_mode"):60108,a=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,u=i?Symbol.for("react.context"):60110,c=i?Symbol.for("react.async_mode"):60111,h=i?Symbol.for("react.concurrent_mode"):60111,d=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,f=i?Symbol.for("react.suspense_list"):60120,m=i?Symbol.for("react.memo"):60115,y=i?Symbol.for("react.lazy"):60116,g=i?Symbol.for("react.block"):60121,v=i?Symbol.for("react.fundamental"):60117,b=i?Symbol.for("react.responder"):60118,x=i?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case h:case s:case a:case o:case p:return e;default:switch(e=e&&e.$$typeof){case u:case d:case y:case m:case l:return e;default:return t}}case n:return t}}}function T(e){return w(e)===h}t.AsyncMode=c,t.ConcurrentMode=h,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=d,t.Fragment=s,t.Lazy=y,t.Memo=m,t.Portal=n,t.Profiler=a,t.StrictMode=o,t.Suspense=p,t.isAsyncMode=function(e){return T(e)||w(e)===c},t.isConcurrentMode=T,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===d},t.isFragment=function(e){return w(e)===s},t.isLazy=function(e){return w(e)===y},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===n},t.isProfiler=function(e){return w(e)===a},t.isStrictMode=function(e){return w(e)===o},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===h||e===a||e===o||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===v||e.$$typeof===b||e.$$typeof===x||e.$$typeof===g)},t.typeOf=w},926:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=function(e,t){return e.includes("-")?!o.has(e):!!(t&&"string"==typeof t.is)},t.setStyleProp=function(e,t){if("string"==typeof e){if(!e.trim()){t.style={};return}try{t.style=(0,s.default)(e,a)}catch(e){t.style={}}}};var n=i(4232),s=r(i(3833)),o=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),a={reactCompat:!0};t.PRESERVE_CUSTOM_ATTRIBUTES=Number(n.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},1037:function(e,t,i){"use strict";var r=this&&this.__rest||function(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(i[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]]);return i};Object.defineProperty(t,"__esModule",{value:!0}),t.scripts=void 0;var n=i(4232);t.scripts={};var s=function(e){var i=document.querySelector('script[src="'+e+'"]');if(i)return t.scripts[e]={loading:!1,error:null,scriptEl:i}};t.default=function(e){var i=e.src,a=e.checkForExisting,l=void 0!==a&&a,u=r(e,["src","checkForExisting"]),c=i?t.scripts[i]:void 0;!c&&l&&i&&o&&(c=s(i));
1var h=(0,n.useState)(c?c.loading:!!i),d=h[0],p=h[1],f=(0,n.useState)(c?c.error:null),m=f[0],y=f[1],g=(0,n.useState)(!1),v=g[0],b=g[1];return(0,n.useEffect)(function(){if(o&&i&&!v&&!m){(c=t.scripts[i])||!l||(c=s(i)),c?e=c.scriptEl:((e=document.createElement("script")).src=i,Object.keys(u).forEach(function(t){void 0===e[t]?e.setAttribute(t,u[t]):e[t]=u[t]}),c=t.scripts[i]={loading:!0,error:null,scriptEl:e});var e,r=function(){c&&(c.loading=!1),p(!1),b(!0)},n=function(e){c&&(c.error=e),y(e)};return e.addEventListener("load",r),e.addEventListener("error",n),document.body.appendChild(e),function(){e.removeEventListener("load",r),e.removeEventListener("error",n)}}},[i]),[d,m]};var o="undefined"!=typeof window&&void 0!==window.document},2357:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];var t=e.match(o),i=t?t[1]:void 0;return(0,s.formatDOM)((0,n.default)(e),null,i)};var n=r(i(9038)),s=i(7121),o=/<(![a-zA-Z\s]+)>/},3219:function(e,t,i){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,i,r){void 0===r&&(r=i);var n=Object.getOwnPropertyDescriptor(t,i);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,r,n)}:function(e,t,i,r){void 0===r&&(r=i),e[r]=t[i]}),n=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||r(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var s=i(5883),o=i(4093);n(i(4093),t);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,i){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(i=t,t=a),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:a,this.elementCB=null!=i?i:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new o.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var i=this.options.xmlMode?s.ElementType.Tag:void 0,r=new o.Element(e,t,void 0,i);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===s.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var i=new o.Text(e);this.addNode(i),this.lastNode=i}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===s.ElementType.Comment){this.lastNode.data+=e;return}var t=new o.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new o.Text(""),t=new o.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var i=new o.ProcessingInstruction(e,t);this.addNode(i)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],i=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),i&&(e.prev=i,i.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},3520:(e,t,i)=>{"use strict";var r=i(7225),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return r.isMemo(e)?o:a[e.$$typeof]||n}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,i,r){if("string"!=typeof i){if(f){var n=p(i);n&&n!==f&&e(t,n,r)}var o=c(i);
1h&&(o=o.concat(h(i)));for(var a=l(t),m=l(i),y=0;y<o.length;++y){var g=o[y];if(!s[g]&&!(r&&r[g])&&!(m&&m[g])&&!(a&&a[g])){var v=d(i,g);try{u(t,g,v)}catch(e){}}}}return t}},3717:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3833:function(e,t,i){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(i(8945)),n=i(4181);function s(e,t){var i={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(i[(0,n.camelCase)(e,t)]=r)}),i}s.default=s,e.exports=s},3920:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e={});var i={},u=!!(e.type&&a[e.type]);for(var c in e){var h=e[c];if((0,r.isCustomAttribute)(c)){i[c]=h;continue}var d=c.toLowerCase(),p=l(d);if(p){var f=(0,r.getPropertyInfo)(p);switch(s.includes(p)&&o.includes(t)&&!u&&(p=l("default"+d)),i[p]=h,f&&f.type){case r.BOOLEAN:i[p]=!0;break;case r.OVERLOADED_BOOLEAN:""===h&&(i[p]=!0)}continue}n.PRESERVE_CUSTOM_ATTRIBUTES&&(i[c]=h)}return(0,n.setStyleProp)(e.style,i),i};var r=i(7100),n=i(926),s=["checked","value"],o=["input","select","textarea"],a={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}},4093:function(e,t,i){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),s=this&&this.__assign||function(){return(s=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var o=i(5883),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),T(this,e)},e}();t.Node=a;var l=function(e){function t(t){var i=e.call(this)||this;return i.data=t,i}return n(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);t.DataNode=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.Text,t}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=u;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.Comment,t}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=c;var h=function(e){function t(t,i){var r=e.call(this,i)||this;return r.name=t,r.type=o.ElementType.Directive,r}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=h;var d=function(e){function t(t){var i=e.call(this)||this;return i.children=t,i}return n(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!=(e=this.children[0])?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null}
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=d;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.CDATA,t}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=p;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=o.ElementType.Root,t}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=f;var m=function(e){function t(t,i,r,n){void 0===r&&(r=[]),void 0===n&&(n="script"===t?o.ElementType.Script:"style"===t?o.ElementType.Style:o.ElementType.Tag);var s=e.call(this,r)||this;return s.name=t,s.attribs=i,s.type=n,s}return n(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var i,r;return{name:t,value:e.attribs[t],namespace:null==(i=e["x-attribsNamespace"])?void 0:i[t],prefix:null==(r=e["x-attribsPrefix"])?void 0:r[t]}})},enumerable:!1,configurable:!0}),t}(d);function y(e){return(0,o.isTag)(e)}function g(e){return e.type===o.ElementType.CDATA}function v(e){return e.type===o.ElementType.Text}function b(e){return e.type===o.ElementType.Comment}function x(e){return e.type===o.ElementType.Directive}function w(e){return e.type===o.ElementType.Root}function T(e,t){if(void 0===t&&(t=!1),v(e))i=new u(e.data);else if(b(e))i=new c(e.data);else if(y(e)){var i,r=t?E(e.children):[],n=new m(e.name,s({},e.attribs),r);r.forEach(function(e){return e.parent=n}),null!=e.namespace&&(n.namespace=e.namespace),e["x-attribsNamespace"]&&(n["x-attribsNamespace"]=s({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(n["x-attribsPrefix"]=s({},e["x-attribsPrefix"])),i=n}else if(g(e)){var r=t?E(e.children):[],o=new p(r);r.forEach(function(e){return e.parent=o}),i=o}else if(w(e)){var r=t?E(e.children):[],a=new f(r);r.forEach(function(e){return e.parent=a}),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),i=a}else if(x(e)){var l=new h(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),i=l}else throw Error("Not implemented yet: ".concat(e.type));return i.startIndex=e.startIndex,i.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(i.sourceCodeLocation=e.sourceCodeLocation),i}function E(e){for(var t=e.map(function(e){return T(e,!0)}),i=1;i<t.length;i++)t[i].prev=t[i-1],t[i-1].next=t[i];return t}t.Element=m,t.isTag=y,t.isCDATA=g,t.isText=v,t.isComment=b,t.isDirective=x,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=T},4181:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var i=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,n=/^[^-]+$/,s=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var u;return(void 0===t&&(t={}),!(u=e)||n.test(u)||i.test(u))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,l):e.replace(s,l)).replace(r,a))}},4739:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInl
1ine:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode
1-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},5042:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,i){void 0===i&&(i={});for(var r=[],n="function"==typeof i.replace,l=i.transform||o.returnFirstArg,u=i.library||a,c=u.cloneElement,h=u.createElement,d=u.isValidElement,p=t.length,f=0;f<p;f++){var m,y=t[f];if(n){var g=i.replace(y,f);if(d(g)){p>1&&(g=c(g,{key:g.key||f})),r.push(l(g,y,f));continue}}if("text"===y.type){var v=!y.data.trim().length;if(v&&y.parent&&!(0,o.canTextBeChildOfNode)(y.parent)||i.trim&&v)continue;r.push(l(y.data,y,f));continue}var b={};(m=y,o.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===m.type&&(0,o.isCustomComponent)(m.name,m.attribs))?((0,o.setStyleProp)(y.attribs.style,y.attribs),b=y.attribs):y.attribs&&(b=(0,s.default)(y.attribs,y.name));var x=void 0;switch(y.type){case"script":case"style":y.children[0]&&(b.dangerouslySetInnerHTML={__html:y.children[0].data});break;case"tag":"textarea"===y.name&&y.children[0]?b.defaultValue=y.children[0].data:y.children&&y.children.length&&(x=e(y.children,i));break;default:continue}p>1&&(b.key=f),r.push(l(h(y.name,b,x),y,f))}return 1===r.length?r[0]:r};var n=i(4232),s=r(i(3920)),o=i(926),a={cloneElement:n.cloneElement,createElement:n.createElement,isValidElement:n.isValidElement}},5062:(e,t,i)=>{e.exports=i(9706)()},5883:(e,t)=>{"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(i=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===i.Tag||e.type===i.Script||e.type===i.Style},t.Root=i.Root,t.Text=i.Text,t.Directive=i.Directive,t.Comment=i.Comment,t.Script=i.Script,t.Style=i.Style,t.Tag=i.Tag,t.CDATA=i.CDATA,t.Doctype=i.Doctype},6092:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=t.CARRIAGE_RETURN_PLACEHOLDER=t.CARRIAGE_RETURN_REGEX=t.CARRIAGE_RETURN=t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{}),t.CARRIAGE_RETURN="\r",t.CARRIAGE_RETURN_REGEX=RegExp(t.CARRIAGE_RETURN,"g"),t.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=RegExp(t.CARRIAGE_RETURN_PLACEHOLDER,"g")},6649:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>n});var r=i(9006);let n=r.default||r},6720:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;
1\s]*/,l=/^\s+|\s+$/g;function u(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var c=1,h=1;function d(e){var t=e.match(i);t&&(c+=t.length);var r=e.lastIndexOf("\n");h=~r?e.length-r:h+e.length}function p(){var e={line:c,column:h};return function(t){return t.position=new f(e),g(r),t}}function f(e){this.start=e,this.end={line:c,column:h},this.source=l.source}f.prototype.content=e;var m=[];function y(t){var i=Error(l.source+":"+c+":"+h+": "+t);if(i.reason=t,i.filename=l.source,i.line=c,i.column=h,i.source=e,l.silent)m.push(i);else throw i}function g(t){var i=t.exec(e);if(i){var r=i[0];return d(r),e=e.slice(r.length),i}}function v(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var i=2;""!=e.charAt(i)&&("*"!=e.charAt(i)||"/"!=e.charAt(i+1));)++i;if(i+=2,""===e.charAt(i-1))return y("End of comment missing");var r=e.slice(2,i-2);return h+=2,d(r),e=e.slice(i),h+=2,t({type:"comment",comment:r})}}g(r);var x,w=[];for(v(w);x=function(){var e=p(),i=g(n);if(i){if(b(),!g(s))return y("property missing ':'");var r=g(o),l=e({type:"declaration",property:u(i[0].replace(t,"")),value:r?u(r[0].replace(t,"")):""});return g(a),l}}();)!1!==x&&(w.push(x),v(w));return w}},6725:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var r=i(4232);function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){var t=document.createElement("script");t.async=!0,t.defer=!0,t.src=e,document.head&&document.head.appendChild(t)},o=/(http|https):\/\/(www)?.+\/recaptcha/,a=["sitekey","theme","size","badge","tabindex","hl","isolated"],l=function(e){function t(){for(var t,i=arguments.length,n=Array(i),a=0;a<i;a++)n[a]=arguments[a];return(t=e.call.apply(e,[this].concat(n))||this).container=void 0,t.timer=void 0,t.state={instanceKey:Date.now(),ready:!1,rendered:!1,invisible:"invisible"===t.props.size},t._isAvailable=function(){var e;return!!(null==(e=window.grecaptcha)?void 0:e.ready)},t._inject=function(){t.props.inject&&!Array.from(document.scripts).reduce(function(e,t){return e||o.test(t.src)},!1)&&s("https://recaptcha.net/recaptcha/api.js?render=explicit"+(t.props.hl?"&hl="+t.props.hl:""))},t._prepare=function(){var e=t.props,i=e.explicit,r=e.onLoad;window.grecaptcha.ready(function(){t.setState({ready:!0},function(){i||t.renderExplicitly(),r&&r()})})},t._renderRecaptcha=function(e,t){return window.grecaptcha.render(e,t)},t._resetRecaptcha=function(){return window.grecaptcha.reset(t.state.instanceId)},t._executeRecaptcha=function(){return window.grecaptcha.execute(t.state.instanceId)},t._getResponseRecaptcha=function(){return window.grecaptcha.getResponse(t.state.instanceId)},t._onVerify=function(e){return t.props.onVerify(e)},t._onExpire=function(){return t.props.onExpire&&t.props.onExpire()},t._onError=function(){return t.props.onError&&t.props.onError()},t._stopTimer=function(){t.timer&&clearInterval(t.timer)},t.componentDidMount=function(){t._inject(),t._isAvailable()?t._prepare():t.timer=window.setInterval(function(){t._isAvailable()&&(t._prepare(),t._stopTimer())},500)},t.componentWillUnmount=function(){t._stopTimer()},t.renderExplicitly=function(){return new Promise(function(e,i){if(t.state.rendered)return i(Error("This recaptcha instance has been already rendered."));if(!t.state.ready||!t.container)return i(Error("Recaptcha is not ready for rendering yet."));var r=t._renderRecaptcha(t.container,{sitekey:t.props.sitekey,theme:t.props.theme,size:t.props.size,badge:t.state.invisible?t.props.badge:void 0,tabindex:t.props.tabindex,callback:t._onVerify,"expired-callback":t._onExpire,"error-callback":t._onError,isolated:t.state.invisible?t.props.isolated:void 0,hl:t.state.invisible?void 0:t.props.hl});t.setState({instanceId:r,rendered:!0},function(){t.props.onRender&&t.props.onRender(),e()})})},t.reset=function(){return new Promise(function(e,i){if(t.state.rendered)return t._resetRecaptcha(),e();i(Error("This recaptcha instance did not render yet."))})},t.execute=function(){return new Promise(function(e,i){return t.state.invisible?(t.state.rendered&&(t._executeRecaptcha(),e()),i(Error("This recaptcha instance did not render yet."))):i(Error("Manual execution is only available for invisible size."))})},t.getResponse=function(){return new Promise(function(e,i){if(t.state.rendered)return e(t._getResponseRecaptcha());i(Error("This recaptcha instance did not render yet."))})},t.render=function(){var e=r.createElement("div",{key:t.state.instanceKey,id:t.props.id,className:t.props.className,ref:function(e){return t.container=e}});return t.props.children?t.props.children({renderExplicitly:t.renderExplicitly,reset:t.reset,execute:t.execute,getResponse:t.getResponse,recaptchaComponent:e}):e},t}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,n(t,e),t.getDerivedStateFromProps=function(e,t){var i="invisible"===e.size;return i!==t.invisible?{invisible:i}:null},t.prototype.componentDidUpdate=function(e){var t=this;a.reduce(function(i,r){return t.props[r]!==e[r]?[].concat(i,[r]):i},[]).length>0&&this.setState({instanceKey:Date.now(),rendered:!1},function(){t.props.explicit||t.renderExplicitly()})},t}(r.Component);
1l.defaultProps={id:"",className:"g-recaptcha",theme:"light",size:"normal",badge:"bottomright",tabindex:0,explicit:!1,inject:!0,isolated:!1,hl:""}},7100:(e,t,i)=>{"use strict";function r(e,t,i,r,n,s,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=n,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}let n={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{n[e]=new r(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{n[e]=new r(e,1,!1,t,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{n[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{n[e]=new r(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{n[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{n[e]=new r(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{n[e]=new r(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{n[e]=new r(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{n[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)});let s=/[\-\:]([a-z])/g,o=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{let t=e.replace(s,o);n[t]=new r(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{let t=e.replace(s,o);n[t]=new r(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(e=>{let t=e.replace(s,o);n[t]=new r(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{n[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)}),n.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{n[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)});let{CAMELCASE:a,SAME:l,possibleStandardNames:u}=i(4739),c=RegExp.prototype.test.bind(RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),h=Object.keys(u).reduce((e,t)=>{let i=u[t];return i===l?e[t]=t:i===a?e[t.toLowerCase()]=t:e[t]=i,e},{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return n.hasOwnProperty(e)?n[e]:null},t.isCustomAttribute=c,t.possibleStandardNames=h},7121:(e,t,i)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=s,t.escapeSpecialCharacters=function(e){return e.replace(n.CARRIAGE_RETURN_REGEX,n.CARRIAGE_RETURN_PLACEHOLDER)},t.revertEscapedCharacters=o,t.formatDOM=function e(t,i,a){void 0===i&&(i=null);for(var l,u=[],c=0,h=t.length;c<h;c++){var d=t[c];switch(d.nodeType){case 1:var p=function(e){var t,i=(t=e=e.toLowerCase(),n.CASE_SENSITIVE_TAG_NAMES_MAP[t]);return i||e}(d.nodeName);(l=new r.Element(p,s(d.attributes))).children=e("template"===p?d.content.childNodes:d.childNodes,l);break;case 3:l=new r.Text(o(d.nodeValue));break;case 8:l=new r.Comment(d.nodeValue);break;default:continue}var f=u[c-1]||null;f&&(f.next=l),l.parent=i,l.prev=f,l.next=null,u.push(l)}return a&&((l=new r.ProcessingInstruction(a.substring(0,a.indexOf(" ")).toLowerCase(),a)).next=u[0]||null,l.parent=i,u.unshift(l),u[1]&&(u[1].prev=u[0])),u};var r=i(3219),n=i(6092);function s(e){for(var t={},i=0,r=e.length;i<r;i++){var n=e[i];t[n.name]=n.value}return t}function o(e){return e.replace(n.CARRIAGE_RETURN_PLACEHOLDER_REGEX,n.CARRIAGE_RETURN)}},7225:(e,t,i)=>{"use strict";e.exports=i(789)},7546:(e,t,i)=>{"use strict";let r;i.d(t,{P:()=>sh});var n=i(4232);let s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],o=new Set(s),a=e=>180*e/Math.PI,l=e=>c(a(Math.atan2(e[1],e[0]))),u={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:l,rotateZ:l,skewX:e=>a(Math.atan(e[1])),skewY:e=>a(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},c=e=>((e%=360)<0&&(e+=360),e),h=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),d=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),p={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:h,scaleY:d,scale:e=>(h(e)+d(e))/2,rotateX:e=>c(a(Math.atan2(e[6],e[5]))),rotateY:e=>c(a(Math.atan2(-e[2],e[0]))),rotateZ:l,rotate:l,skewX:e=>a(Math.atan(e[4])),skewY:e=>a(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function f(e){return+!!e.includes("scale")}function m(e,t){let i,r;if(!e||"none"===e)return f(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=p,r=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=u,r=t}if(!r)return f(t);let s=i[t],o=r[1].split(",").map(y);return"function"==typeof s?s(o):o[s]}function y(e){return parseFloat(e.trim())}let g=e=>t=>"string"==typeof t&&t.startsWith(e),v=g("--"),b=g("var(--"),x=e=>!!b(e)&&w.test(e.split("/*")[0].trim()),w=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function T({top:e,left:t,right:i,bottom:r}){return{x:{min:t,max:i},y:{min:e,max:r}}}let E=(e,t,i)=>e+(t-e)*i;function S(e){return void 0===e||1===e}function A({scale:e,scaleX:t,scaleY:i}){return!S(e)||!S(t)||!S(i)}function P(e){return A(e)||k(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function k(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function C(e,t,i,r,n){return void 0!==n&&(e=r+n*(e-r)),r+i*(e-r)+t}function R(e,t=0,i=1,r,n){e.min=C(e.min,t,i,r,n),e.max=C(e.max,t,i,r,n)}function D(e,{x:t,y:i}){R(e.x,t.translate,t.scale,t.originPoint),R(e.y,i.translate,i.scale,i.originPoint)}function _(e,t){e.min=e.min+t,e.max=e.max+t}function M(e,t,i,r,n=.5){let s=E(e.min,e.max,n);R(e,t,i,s,r)}function V(e,t){M(e.x,t.x,t.scaleX,t.scale,t.originX),M(e.y,t.y,t.scaleY,t.scale,t.originY)}function O(e,t){return T(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}let L=new Set(["width","height","top","left","right","bottom",...s]),F=(e,t,i)=>i>t?t:i<e?e:i,j={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},I={...j,transform:e=>F(0,1,e)},N={...j,default:1},B=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),U=B("deg"),$=B("%"),H=B("px"),z=B("vh"),W=B("vw"),G={...$,parse:e=>$.parse(e)/100,transform:e=>$.transform(100*e)},X=e=>t=>t.test(e),q=[j,H,$,U,W,z,{test:e=>"auto"===e,parse:e=>e}],Y=e=>q.find(X(e)),K=()=>{},Z=()=>{},J=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Q=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,ee=e=>e===j||e===H,et=new Set(["x","y","z"]),ei=s.filter(e=>!et.has(e)),er={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>m(t,"x"),y:(e,{transform:t})=>m(t,"y")};er.translateX=er.x,er.translateY=er.y;let en=e=>e,es={},eo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],ea={value:null,addProjectionMetrics:null};function el(e,t){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=eo.reduce((e,i)=>(e[i]=function(e,t){let i=new Set,r=new Set,n=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){o.has(t)&&(c.schedule(t),e()),l++,t(a)}let c={schedule:(e,t=!1,s=!1)=>{let a=s&&n?i:r;return t&&o.add(e),a.has(e)||a.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(a=e,n){s=!0;return}
1n=!0,[i,r]=[r,i],i.forEach(u),t&&ea.value&&ea.value.frameloop[t].push(l),l=0,i.clear(),n=!1,s&&(s=!1,c.process(e))}};return c}(s,t?i:void 0),e),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:h,preRender:d,render:p,postRender:f}=o,m=()=>{let s=es.useManualTiming?n.timestamp:performance.now();i=!1,es.useManualTiming||(n.delta=r?1e3/60:Math.max(Math.min(s-n.timestamp,40),1)),n.timestamp=s,n.isProcessing=!0,a.process(n),l.process(n),u.process(n),c.process(n),h.process(n),d.process(n),p.process(n),f.process(n),n.isProcessing=!1,i&&t&&(r=!1,e(m))};return{schedule:eo.reduce((t,s)=>{let a=o[s];return t[s]=(t,s=!1,o=!1)=>(!i&&(i=!0,r=!0,n.isProcessing||e(m)),a.schedule(t,s,o)),t},{}),cancel:e=>{for(let t=0;t<eo.length;t++)o[eo[t]].cancel(e)},state:n,steps:o}}let{schedule:eu,cancel:ec,state:eh,steps:ed}=el("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:en,!0),ep=new Set,ef=!1,em=!1,ey=!1;function eg(){if(em){let e=Array.from(ep).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),i=new Map;t.forEach(e=>{let t=function(e){let t=[];return ei.forEach(i=>{let r=e.getValue(i);void 0!==r&&(t.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),t}(e);t.length&&(i.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=i.get(e);t&&t.forEach(([t,i])=>{e.getValue(t)?.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}em=!1,ef=!1,ep.forEach(e=>e.complete(ey)),ep.clear()}function ev(){ep.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(em=!0)})}class eb{constructor(e,t,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(ep.add(this),ef||(ef=!0,eu.read(ev),eu.resolveKeyframes(eg))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:i,motionValue:r}=this;if(null===e[0]){let n=r?.get(),s=e[e.length-1];if(void 0!==n)e[0]=n;else if(i&&t){let r=i.readValue(t,s);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=s),r&&void 0===n&&r.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),ep.delete(this)}cancel(){"scheduled"===this.state&&(ep.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let ex=e=>/^0[^.\s]+$/u.test(e),ew=e=>Math.round(1e5*e)/1e5,eT=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,eE=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,eS=(e,t)=>i=>!!("string"==typeof i&&eE.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),eA=(e,t,i)=>r=>{if("string"!=typeof r)return r;let[n,s,o,a]=r.match(eT);return{[e]:parseFloat(n),[t]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},eP={...j,transform:e=>Math.round(F(0,255,e))},ek={test:eS("rgb","red"),parse:eA("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:r=1})=>"rgba("+eP.transform(e)+", "+eP.transform(t)+", "+eP.transform(i)+", "+ew(I.transform(r))+")"},eC={test:eS("#"),parse:function(e){let t="",i="",r="",n="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),r=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),r=e.substring(3,4),n=e.substring(4,5),t+=t,i+=i,r+=r,n+=n),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:ek.transform},eR={test:eS("hsl","hue"),parse:eA("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:r=1})=>"hsla("+Math.round(e)+", "+$.transform(ew(t))+", "+$.transform(ew(i))+", "+ew(I.transform(r))+")"},eD={test:e=>ek.test(e)||eC.test(e)||eR.test(e),parse:e=>ek.test(e)?ek.parse(e):eR.test(e)?eR.parse(e):eC.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?ek.transform(e):eR.transform(e),getAnimatableNone:e=>{let t=eD.parse(e);return t.alpha=0,eD.transform(t)}},e_=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,eM="number",eV="c
1olor",eO=/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 eL(e){let t=e.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,o=t.replace(eO,e=>(eD.test(e)?(r.color.push(s),n.push(eV),i.push(eD.parse(e))):e.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(e)):(r.number.push(s),n.push(eM),i.push(parseFloat(e))),++s,"${}")).split("${}");return{values:i,split:o,indexes:r,types:n}}function eF(e){return eL(e).values}function ej(e){let{split:t,types:i}=eL(e),r=t.length;return e=>{let n="";for(let s=0;s<r;s++)if(n+=t[s],void 0!==e[s]){let t=i[s];t===eM?n+=ew(e[s]):t===eV?n+=eD.transform(e[s]):n+=e[s]}return n}}let eI=e=>"number"==typeof e?0:eD.test(e)?eD.getAnimatableNone(e):e,eN={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(eT)?.length||0)+(e.match(e_)?.length||0)>0},parse:eF,createTransformer:ej,getAnimatableNone:function(e){let t=eF(e);return ej(e)(t.map(eI))}},eB=new Set(["brightness","contrast","saturate","opacity"]);function eU(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=i.match(eT)||[];if(!r)return e;let n=i.replace(r,""),s=+!!eB.has(t);return r!==i&&(s*=100),t+"("+s+n+")"}let e$=/\b([a-z-]*)\(.*?\)/gu,eH={...eN,getAnimatableNone:e=>{let t=e.match(e$);return t?t.map(eU).join(" "):e}},ez={...j,transform:Math.round},eW={borderWidth:H,borderTopWidth:H,borderRightWidth:H,borderBottomWidth:H,borderLeftWidth:H,borderRadius:H,radius:H,borderTopLeftRadius:H,borderTopRightRadius:H,borderBottomRightRadius:H,borderBottomLeftRadius:H,width:H,maxWidth:H,height:H,maxHeight:H,top:H,right:H,bottom:H,left:H,padding:H,paddingTop:H,paddingRight:H,paddingBottom:H,paddingLeft:H,margin:H,marginTop:H,marginRight:H,marginBottom:H,marginLeft:H,backgroundPositionX:H,backgroundPositionY:H,rotate:U,rotateX:U,rotateY:U,rotateZ:U,scale:N,scaleX:N,scaleY:N,scaleZ:N,skew:U,skewX:U,skewY:U,distance:H,translateX:H,translateY:H,translateZ:H,x:H,y:H,z:H,perspective:H,transformPerspective:H,opacity:I,originX:G,originY:G,originZ:H,zIndex:ez,fillOpacity:I,strokeOpacity:I,numOctaves:ez},eG={...eW,color:eD,backgroundColor:eD,outlineColor:eD,fill:eD,stroke:eD,borderColor:eD,borderTopColor:eD,borderRightColor:eD,borderBottomColor:eD,borderLeftColor:eD,filter:eH,WebkitFilter:eH},eX=e=>eG[e];function eq(e,t){let i=eX(e);return i!==eH&&(i=eN),i.getAnimatableNone?i.getAnimatableNone(t):void 0}let eY=new Set(["auto","none","0"]);class eK extends eb{constructor(e,t,i,r,n){super(e,t,i,r,n,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:i}=this;if(!t||!t.current)return;super.readKeyframes();for(let i=0;i<e.length;i++){let r=e[i];if("string"==typeof r&&x(r=r.trim())){let n=function e(t,i,r=1){Z(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,s]=function(e){let t=Q.exec(e);if(!t)return[,];let[,i,r,n]=t;return[`--${i??r}`,n]}(t);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);if(o){let e=o.trim();return J(e)?parseFloat(e):e}return x(s)?e(s,i,r+1):s}(r,t.current);void 0!==n&&(e[i]=n),i===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!L.has(i)||2!==e.length)return;let[r,n]=e,s=Y(r),o=Y(n);if(s!==o)if(ee(s)&&ee(o))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else er[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,i=[];for(let t=0;t<e.length;t++){var r;(null===e[t]||("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||ex(r)))&&i.push(t)}i.length&&function(e,t,i){let r,n=0;for(;n<e.length&&!r;){let t=e[n];"string"==typeof t&&!eY.has(t)&&eL(t).values.length&&(r=e[n]),n++}if(r&&i)for(let n of t)e[n]=eq(i,r)}(e,i,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=er[i](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(i,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let n=i.length-1,s=i[n];i[n]=er[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}let eZ=e=>!!(e&&e.getVelocity);function eJ(){r=void 0}let eQ={now:()=>(void 0===r&&eQ.set(eh.isProcessing||es.useManualTiming?eh.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(eJ)}};function e0(e,t){-1===e.indexOf(t)&&e.push(t)}function e1(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}class e2{constructor(){this.subscriptions=[]}add(e){return e0(this.subscriptions,e),()=>e1(this.subscriptions,e)}notify(e,t,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let e3={current:void 0};class e5{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=eQ.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=eQ.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new e2);let i=this.events[e].add(t);return"change"===e?()=>{i(),eu.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return e3.current&&e3.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=eQ.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function e9(e,t){return new e5(e,t)}let e6=[...q,eD,eN],{schedule:e4}=el(queueMicrotask,!1),e7={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"]},e8={};for(let e in e7)e8[e]={isEnabled:t=>e7[e].some(e=>!!t[e])};let te=()=>({translate:0,scale:1,origin:0,originPoint:0}),tt=()=>({x:te(),y:te()}),ti=()=>({min:0,max:0}),tr=()=>({x:ti(),y:ti()}),tn="undefined"!=typeof window,ts={current:null},to={current:!1},ta=new WeakMap;function tl(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tu(e){return"string"==typeof e||Array.isArray(e)}let tc=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],th=["initial",...tc];function td(e){return tl(e.animate)||th.some(t=>tu(e[t]))}function tp(e){return!!(td(e)||e.variants)}function tf(e){let t=[{},{}];
1return e?.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function tm(e,t,i,r){if("function"==typeof t){let[n,s]=tf(r);t=t(void 0!==i?i:e.custom,n,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[n,s]=tf(r);t=t(void 0!==i?i:e.custom,n,s)}return t}let ty=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class tg{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:r,blockInitialAnimation:n,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=eb,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=eQ.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eu.render(this.render,!1,!0))};let{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=td(t),this.isVariantNode=tp(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in c){let t=c[e];void 0!==a[e]&&eZ(t)&&t.set(a[e])}}mount(e){this.current=e,ta.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),to.current||function(){if(to.current=!0,tn)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ts.current=e.matches;e.addEventListener("change",t),t()}else ts.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ts.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in this.projection&&this.projection.unmount(),ec(this.notifyUpdate),ec(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let i;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=o.has(e);r&&this.onBindTransform&&this.onBindTransform();let n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eu.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{n(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in e8){let t=e8[e];if(!t)continue;let{isEnabled:i,Feature:r}=t;if(!this.features[e]&&r&&i(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tr()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<ty.length;t++){let i=ty[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=e["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(e,t,i){for(let r in t){let n=t[r],s=i[r];if(eZ(n))e.addValue(r,n);else if(eZ(s))e.addValue(r,e9(n,{owner:e}));else if(s!==n)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(n):t.hasAnimated||t.set(n)}else{let t=e.getStaticValue(r);e.addValue(r,e9(void 0!==t?t:n,{owner:e}))}}for(let r in i)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}
1addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let i=this.values.get(e);t!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=e9(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){let i=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=i){if("string"==typeof i&&(J(i)||ex(i)))i=parseFloat(i);else{let r;r=i,!e6.find(X(r))&&eN.test(t)&&(i=eq(e,t))}this.setBaseTarget(e,eZ(i)?i.get():i)}return eZ(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=tm(this.props,i,this.presenceContext?.custom);r&&(t=r[e])}if(i&&void 0!==t)return t;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||eZ(r)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new e2),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){e4.render(this.render)}}class tv extends tg{constructor(){super(...arguments),this.KeyframeResolver=eK}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;eZ(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}let tb=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tx={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tw=s.length;function tT(e,t,i){let{style:r,vars:n,transformOrigin:a}=e,l=!1,u=!1;for(let e in t){let i=t[e];if(o.has(e)){l=!0;continue}if(v(e)){n[e]=i;continue}{let t=tb(i,eW[e]);e.startsWith("origin")?(u=!0,a[e]=t):r[e]=t}}if(!t.transform&&(l||i?r.transform=function(e,t,i){let r="",n=!0;for(let o=0;o<tw;o++){let a=s[o],l=e[a];if(void 0===l)continue;let u=!0;if(!(u="number"==typeof l?l===+!!a.startsWith("scale"):0===parseFloat(l))||i){let e=tb(l,eW[a]);if(!u){n=!1;let t=tx[a]||a;r+=`${t}(${e}) `}i&&(t[a]=e)}}return r=r.trim(),i?r=i(t,n?"":r):n&&(r="none"),r}(t,e.transform,i):r.transform&&(r.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:i=0}=a;r.transformOrigin=`${e} ${t} ${i}`}}function tE(e,{style:t,vars:i},r,n){let s,o=e.style;for(s in t)o[s]=t[s];for(s in n?.applyProjectionStyles(o,r),i)o.setProperty(s,i[s])}let tS={};function tA(e,{layout:t,layoutId:i}){return o.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!tS[e]||"opacity"===e)}function tP(e,t,i){let{style:r}=e,n={};for(let s in r)(eZ(r[s])||t.style&&eZ(t.style[s])||tA(s,e)||i?.getValue(s)?.liveStyle!==void 0)&&(n[s]=r[s]);return n}class tk extends tv{constructor(){super(...arguments),this.type="html",this.renderInstance=tE}readValueFromInstance(e,t){if(o.has(t))return this.projection?.isProjecting?f(t):((e,t)=>{let{transform:i="none"}=getComputedStyle(e);return m(i,t)})(e,t);{let i=window.getComputedStyle(e),r=(v(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return O(e,t)}build(e,t,i){tT(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return tP(e,t,i)}}let tC=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),tR={offset:"stroke-dashoffset",array:"stroke-dasharray"},tD={offset:"strokeDashoffset",array:"strokeDasharray"};function t_(e,{attrX:t,attrY:i,attrScale:r,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a}
1,l,u,c){if(tT(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:d}=e;h.transform&&(d.transform=h.transform,delete h.transform),(d.transform||h.transformOrigin)&&(d.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),d.transform&&(d.transformBox=c?.transformBox??"fill-box",delete h.transformBox),void 0!==t&&(h.x=t),void 0!==i&&(h.y=i),void 0!==r&&(h.scale=r),void 0!==n&&function(e,t,i=1,r=0,n=!0){e.pathLength=1;let s=n?tR:tD;e[s.offset]=H.transform(-r);let o=H.transform(t),a=H.transform(i);e[s.array]=`${o} ${a}`}(h,n,s,o,!1)}let tM=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"]),tV=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tO(e,t,i){let r=tP(e,t,i);for(let i in e)(eZ(e[i])||eZ(t[i]))&&(r[-1!==s.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return r}class tL extends tv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tr}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(o.has(t)){let e=eX(t);return e&&e.default||0}return t=tM.has(t)?t:tC(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return tO(e,t,i)}build(e,t,i){t_(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,r){for(let i in tE(e,t,void 0,r),t.attrs)e.setAttribute(tM.has(i)?i:tC(i),t.attrs[i])}mount(e){this.isSVGTag=tV(e.tagName),super.mount(e)}}let tF=["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 tj(e){if("string"!=typeof e||e.includes("-"));else if(tF.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}var tI=i(7876);let tN=(0,n.createContext)({}),tB=(0,n.createContext)({strict:!1}),tU=(0,n.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),t$=(0,n.createContext)({});function tH(e){return Array.isArray(e)?e.join(" "):e}let tz=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function tW(e,t,i){for(let r in t)eZ(t[r])||tA(r,i)||(e[r]=t[r])}let tG=()=>({...tz(),attrs:{}}),tX=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function tq(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||tX.has(e)}let tY=e=>!tq(e);try{!function(e){"function"==typeof e&&(tY=t=>t.startsWith("on")?!tq(t):e(t))}(require("@emotion/is-prop-valid").default)}catch{}let tK=(0,n.createContext)(null);function tZ(e){return eZ(e)?e.get():e}let tJ=e=>(t,i)=>{let r=(0,n.useContext)(t$),s=(0,n.useContext)(tK),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},i,r,n){return{latestValues:function(e,t,i,r){let n={},s=r(e,{});for(let e in s)n[e]=tZ(s[e]);let{initial:o,animate:a}=e,l=td(e),u=tp(e);t&&u&&!l&&!1!==e.inherit&&(void 0===o&&(o=t.initial),void 0===a&&(a=t.animate));let c=!!i&&!1===i.initial,h=(c=c||!1===o)?a:o;if(h&&"boolean"!=typeof h&&!tl(h)){let t=Array.isArray(h)?h:[h];for(let i=0;i<t.length;i++){let r=tm(e,t[i]);if(r){let{transitionEnd:e,transition:t,...i}=r;for(let e in i){let t=i[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(n[e]=t)}for(let t in e)n[t]=e[t]}}}return n}(i,r,n,e),renderState:t()}})(e,t,r,s);return i?o():function(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}(o)},tQ=tJ({scrapeMotionValuesFromProps:tP,createRenderState:tz}),t0=tJ({scrapeMotionValuesFromProps:tO,createRenderState:tG}),t1=Symbol.for("motionComponentSymbol");function t2(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}let t3="data-"+tC("framerAppearId"),t5=(0,n.createContext)({}),t9=tn?n.useLayoutEffect:n.useEffect;function t6(e,{forwardMotionProps:t=!1}={},i,r){i&&function(e){for(let t in e)e8[t]={...e8[t],...e[t]}}(i);let s=tj(e)?t0:tQ;function o(i,o){var a;let l,u={...(0,n.useContext)(tU),...i,layoutId:function({layoutId:e}){let t=(0,n.useContext)(tN).id;return t&&void 0!==e?t+"-"+e:e}(i)},{isStatic:c}=u,h=function(e){let{initial:t,animate:i}=function(e,t){if(td(e)){let{initial:t,animate:i}=e;return{initial:!1===t||tu(t)?t:void 0,animate:tu(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,n.useContext)(t$));return(0,n.useMemo)(()=>({initial:t,animate:i}),[tH(t),tH(i)])}(i),d=s(i,c);if(!c&&tn){(0,n.useContext)(tB).strict;let t=function(e){let{drag:t,layout:i}=e8;if(!t&&!i)return{};let r={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
1(u);l=t.MeasureLayout,h.visualElement=function(e,t,i,r,s){let{visualElement:o}=(0,n.useContext)(t$),a=(0,n.useContext)(tB),l=(0,n.useContext)(tK),u=(0,n.useContext)(tU).reducedMotion,c=(0,n.useRef)(null);r=r||a.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u}));let h=c.current,d=(0,n.useContext)(t5);h&&!h.projection&&s&&("html"===h.type||"svg"===h.type)&&function(e,t,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&t2(a),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}(c.current,i,s,d);let p=(0,n.useRef)(!1);(0,n.useInsertionEffect)(()=>{h&&p.current&&h.update(i,l)});let f=i[t3],m=(0,n.useRef)(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return t9(()=>{h&&(p.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),h.scheduleRenderMicrotask(),m.current&&h.animationState&&h.animationState.animateChanges())}),(0,n.useEffect)(()=>{h&&(!m.current&&h.animationState&&h.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f)}),m.current=!1),h.enteringChildren=void 0)}),h}(e,d,u,r,t.ProjectionNode)}return(0,tI.jsxs)(t$.Provider,{value:h,children:[l&&h.visualElement?(0,tI.jsx)(l,{visualElement:h.visualElement,...u}):null,function(e,t,i,{latestValues:r},s,o=!1){let a=(tj(e)?function(e,t,i,r){let s=(0,n.useMemo)(()=>{let i=tG();return t_(i,t,tV(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};tW(t,e.style,e),s.style={...t,...s.style}}return s}:function(e,t){let i={},r=function(e,t){let i=e.style||{},r={};return tW(r,i,e),Object.assign(r,function({transformTemplate:e},t){return(0,n.useMemo)(()=>{let i=tz();return tT(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),r}(e,t);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=r,i})(t,r,s,e),l=function(e,t,i){let r={};for(let n in e)("values"!==n||"object"!=typeof e.values)&&(tY(n)||!0===i&&tq(n)||!t&&!tq(n)||e.draggable&&n.startsWith("onDrag"))&&(r[n]=e[n]);return r}(t,"string"==typeof e,o),u=e!==n.Fragment?{...l,...a,ref:i}
1:{},{children:c}=t,h=(0,n.useMemo)(()=>eZ(c)?c.get():c,[c]);return(0,n.createElement)(e,{...u,children:h})}(e,i,(a=h.visualElement,(0,n.useCallback)(e=>{e&&d.onMount&&d.onMount(e),a&&(e?a.mount(e):a.unmount()),o&&("function"==typeof o?o(e):t2(o)&&(o.current=e))},[a])),d,c,t)]})}o.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let a=(0,n.forwardRef)(o);return a[t1]=e,a}function t4(e,t,i){let r=e.getProps();return tm(r,t,void 0!==i?i:r.custom,e)}function t7(e,t){return e?.[t]??e?.default??e}let t8=e=>Array.isArray(e);function ie(e,t){let i=e.getValue("willChange");if(eZ(i)&&i.add)return i.add(t);if(!i&&es.WillChange){let i=new es.WillChange("auto");e.addValue("willChange",i),i.add(t)}}function it(e){e.duration=0,e.type="keyframes"}let ii=(e,t)=>i=>t(e(i)),ir=(...e)=>e.reduce(ii),is=e=>1e3*e,io={layout:0,mainThread:0,waapi:0};function ia(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function il(e,t){return i=>i>0?t:e}let iu=(e,t,i)=>{let r=e*e,n=i*(t*t-r)+r;return n<0?0:Math.sqrt(n)},ic=[eC,ek,eR];function ih(e){let t=ic.find(t=>t.test(e));if(K(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let i=t.parse(e);return t===eR&&(i=function({hue:e,saturation:t,lightness:i,alpha:r}){e/=360,i/=100;let n=0,s=0,o=0;if(t/=100){let r=i<.5?i*(1+t):i+t-i*t,a=2*i-r;n=ia(a,r,e+1/3),s=ia(a,r,e),o=ia(a,r,e-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let id=(e,t)=>{let i=ih(e),r=ih(t);if(!i||!r)return il(e,t);let n={...i};return e=>(n.red=iu(i.red,r.red,e),n.green=iu(i.green,r.green,e),n.blue=iu(i.blue,r.blue,e),n.alpha=E(i.alpha,r.alpha,e),ek.transform(n))},ip=new Set(["none","hidden"]);function im(e,t){return i=>E(e,t,i)}function iy(e){return"number"==typeof e?im:"string"==typeof e?x(e)?il:eD.test(e)?id:ib:Array.isArray(e)?ig:"object"==typeof e?eD.test(e)?id:iv:il}function ig(e,t){let i=[...e],r=i.length,n=e.map((e,i)=>iy(e)(e,t[i]));return e=>{for(let t=0;t<r;t++)i[t]=n[t](e);return i}}function iv(e,t){let i={...e,...t},r={};for(let n in i)void 0!==e[n]&&void 0!==t[n]&&(r[n]=iy(e[n])(e[n],t[n]));return e=>{for(let t in r)i[t]=r[t](e);return i}}let ib=(e,t)=>{let i=eN.createTransformer(t),r=eL(e),n=eL(t);return r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length?ip.has(e)&&!n.values.length||ip.has(t)&&!r.values.length?function(e,t){return ip.has(e)?i=>i<=0?e:t:i=>i>=1?t:e}(e,t):ir(ig(function(e,t){let i=[],r={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let s=t.types[n],o=e.indexes[s][r[s]],a=e.values[o]??0;i[n]=a,r[s]++}return i}(r,n),n.values),i):(K(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),il(e,t))};function ix(e,t,i){return"number"==typeof e&&"number"==typeof t&&"number"==typeof i?E(e,t,i):iy(e)(e,t)}let iw=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eu.update(t,e),stop:()=>ec(t),now:()=>eh.isProcessing?eh.timestamp:eQ.now()}},iT=(e,t,i=10)=>{let r="",n=Math.max(Math.round(t/i),2);for(let t=0;t<n;t++)r+=Math.round(1e4*e(t/(n-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`};function iE(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}function iS(e,t,i){var r,n;let s=Math.max(t-5,0);return r=i-e(s),(n=t-s)?1e3/n*r:0}let iA={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function iP(e,t){return e*Math.sqrt(1-t*t)}let ik=["duration","bounce"],iC=["stiffness","damping","mass"];function iR(e,t){return t.some(t=>void 0!==e[t])}function iD(e=iA.visualDuration,t=iA.bounce){let i,r="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:n,restDelta:s}=r,o=r.keyframes[0],a=r.keyframes[r.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:c,mass:h,duration:d,velocity:p,isResolvedFromDuration:f}=function(e){let t={velocity:iA.velocity,stiffness:iA.stiffness,damping:iA.damping,mass:iA.mass,isResolvedFromDuration:!1,...e};if(!iR(e,iC)&&iR(e,ik))if(e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),r=i*i,n=2*F(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:iA.mass,stiffness:r,damping:n}}else{let i=function({duration:e=iA.duration,bounce:t=iA.bounce,velocity:i=iA.velocity,mass:r=iA.mass}){let n,s;K(e<=is(iA.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=F(iA.minDamping,iA.maxDamping,o),e=F(iA.minDuration,iA.maxDuration,e/1e3),o<1?(n=t=>{let r=t*o,n=r*e;return .001-(r-i)/iP(t,o)*Math.exp(-n)},s=t=>{let r=t*o*e,s=Math.pow(o,2)*Math.pow(t,2)*e,a=Math.exp(-r),l=iP(Math.pow(t,2),o);return(r*i+i-s)*a*(-n(t)+.001>0?-1:1)/l}):(n=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),s=t=>e*e*(i-t)*Math.exp(-t*e));let a=function(e,t,i){let r=i;for(let i=1;i<12;i++)r-=e(r)/t(r);return r}(n,s,5/e);if(e=is(e),isNaN(a))return{stiffness:iA.stiffness,damping:iA.damping,duration:e};{let t=Math.pow(a,2)*r;return{stiffness:t,damping:2*o*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...i,mass:iA.mass}).isResolvedFromDuration=!0}return t}({...r,velocity:-((r.velocity||0)/1e3)}),m=p||0,y=c/(2*Math.sqrt(u*h)),g=a-o,v=Math.sqrt(u/h)/1e3,b=5>Math.abs(g);if(n||(n=b?iA.restSpeed.granular:iA.restSpeed.default),s||(s=b?iA.restDelta.granular:iA.restDelta.default),y<1){let e=iP(v,y);i=t=>a-Math.exp(-y*v*t)*((m+y*v*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(1===y)i=e=>a-Math.exp(-v*e)*(g+(m+v*g)*e);else{let e=v*Math.sqrt(y*y-1);i=t=>{let i=Math.exp(-y*v*t),r=Math.min(e*t,300);return a-i*((m+y*v*g)*Math.sinh(r)+e*g*Math.cosh(r))/e}}
1let x={calculatedDuration:f&&d||null,next:e=>{let t=i(e);if(f)l.done=e>=d;else{let r=0===e?m:0;y<1&&(r=0===e?is(m):iS(i,e,t));let o=Math.abs(a-t)<=s;l.done=Math.abs(r)<=n&&o}return l.value=l.done?a:t,l},toString:()=>{let e=Math.min(iE(x),2e4),t=iT(t=>x.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return x}function i_({keyframes:e,velocity:t=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){let h,d,p=e[0],f={done:!1,value:p},m=i*t,y=p+m,g=void 0===o?y:o(y);g!==y&&(m=g-p);let v=e=>-m*Math.exp(-e/r),b=e=>g+v(e),x=e=>{let t=v(e),i=b(e);f.done=Math.abs(t)<=u,f.value=f.done?g:i},w=e=>{let t;if(t=f.value,void 0!==a&&t<a||void 0!==l&&t>l){var i;h=e,d=iD({keyframes:[f.value,(i=f.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:iS(b,e,f.value),damping:n,stiffness:s,restDelta:u,restSpeed:c})}};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return(d||void 0!==h||(t=!0,x(e),w(e)),void 0!==h&&e>=h)?d.next(e-h):(t||x(e),f)}}}iD.applyToOptions=e=>{let t=function(e,t=100,i){let r=i({...e,keyframes:[0,t]}),n=Math.min(iE(r),2e4);return{type:"keyframes",ease:e=>r.next(n*e).value/t,duration:n/1e3}}(e,100,iD);return e.ease=t.ease,e.duration=is(t.duration),e.type="keyframes",e};let iM=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function iV(e,t,i,r){return e===t&&i===r?en:n=>0===n||1===n?n:iM(function(e,t,i,r,n){let s,o,a=0;do(s=iM(o=t+(i-t)/2,r,n)-e)>0?i=o:t=o;while(Math.abs(s)>1e-7&&++a<12);return o}(n,0,1,e,i),t,r)}let iO=iV(.42,0,1,1),iL=iV(0,0,.58,1),iF=iV(.42,0,.58,1),ij=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,iI=e=>t=>1-e(1-t),iN=iV(.33,1.53,.69,.99),iB=iI(iN),iU=ij(iB),i$=e=>(e*=2)<1?.5*iB(e):.5*(2-Math.pow(2,-10*(e-1))),iH=e=>1-Math.sin(Math.acos(e)),iz=iI(iH),iW=ij(iH),iG=e=>Array.isArray(e)&&"number"==typeof e[0],iX={linear:en,easeIn:iO,easeInOut:iF,easeOut:iL,circIn:iH,circInOut:iW,circOut:iz,backIn:iB,backInOut:iU,backOut:iN,anticipate:i$},iq=e=>{if(iG(e)){Z(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,i,r,n]=e;return iV(t,i,r,n)}return"string"==typeof e?(Z(void 0!==iX[e],`Invalid easing type '${e}'`,"invalid-easing-type"),iX[e]):e},iY=(e,t,i)=>{let r=t-e;return 0===r?1:(i-e)/r};function iK({duration:e=300,keyframes:t,times:i,ease:r="easeInOut"}){var n;let s=Array.isArray(r)&&"number"!=typeof r[0]?r.map(iq):iq(r),o={done:!1,value:t[0]},a=function(e,t,{clamp:i=!0,ease:r,mixer:n}={}){let s=e.length;if(Z(s===t.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,i){let r=[],n=i||es.mix||ix,s=e.length-1;for(let i=0;i<s;i++){let s=n(e[i],e[i+1]);t&&(s=ir(Array.isArray(t)?t[i]||en:t,s)),r.push(s)}return r}(t,r,n),l=a.length,u=i=>{if(o&&i<e[0])return t[0];let r=0;if(l>1)for(;r<e.length-2&&!(i<e[r+1]);r++);let n=iY(e[r],e[r+1],i);return a[r](n)};return i?t=>u(F(e[0],e[s-1],t)):u}((n=i&&i.length===t.length?i:function(e){let t=[0];return!function(e,t){let i=e[e.length-1];for(let r=1;r<=t;r++){let n=iY(0,t,r);e.push(E(i,1,n))}}(t,e.length-1),t}(t),n.map(t=>t*e)),t,{ease:Array.isArray(s)?s:t.map(()=>s||iF).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}let iZ=e=>null!==e;function iJ(e,{repeat:t,repeatType:i="loop"},r,n=1){let s=e.filter(iZ),o=n<0||t&&"loop"!==i&&t%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}let iQ={decay:i_,inertia:i_,tween:iK,keyframes:iK,spring:iD};function i0(e){"string"==typeof e.type&&(e.type=iQ[e.type])}class i1{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let i2=e=>e/100;class i3 extends i1{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==eQ.now()&&this.tick(eQ.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},io.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;i0(e);let{type:t=iK,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:s=0}=e,{keyframes:o}=e,a=t||iK;a!==iK&&"number"!=typeof o[0]&&(this.mixKeyframes=ir(i2,ix(o[0],o[1])),o=[0,100]);let l=a({...e,keyframes:o});"mirror"===n&&(this.mirroredGenerator=a({...e,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=iE(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let{generator:i,totalDuration:r,mixKeyframes:n,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:a}=this;if(null===this.startTime)return i.next(0);let{delay:l=0,keyframes:u,repeat:c,repeatType:h,repeatDelay:d,type:p,onUpdate:f,finalKeyframe:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let y=this.currentTime-l*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?y<0:y>r;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let v=this.currentTime,b=i;if(c){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,c+1))%2&&("reverse"===h?(i=1-i,d&&(i-=d/
1o)):"mirror"===h&&(b=s)),v=F(0,1,i)*o}let x=g?{done:!1,value:u[0]}:b.next(v);n&&(x.value=n(x.value));let{done:w}=x;g||null===a||(w=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return T&&p!==i_&&(x.value=iJ(u,this.options,m,this.speed)),f&&f(x.value),T&&this.finish(),x}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=is(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(eQ.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=iw,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),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=t??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(eQ.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,io.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function i5(e){let t;return()=>(void 0===t&&(t=e()),t)}let i9=i5(()=>void 0!==window.ScrollTimeline),i6={},i4=function(e,t){let i=i5(e);return()=>i6[t]??i()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),i7=([e,t,i,r])=>`cubic-bezier(${e}, ${t}, ${i}, ${r})`,i8={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:i7([0,.65,.55,1]),circOut:i7([.55,0,1,.45]),backIn:i7([.31,.01,.66,-.59]),backOut:i7([.33,1.53,.69,.99])};function re(e){return"function"==typeof e&&"applyToOptions"in e}class rt extends i1{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;let{element:t,name:i,keyframes:r,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=e;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=e,Z("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:e,...t}){return re(e)&&i4()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let c={[t]:i};l&&(c.offset=l);let h=function e(t,i){if(t)return"function"==typeof t?i4()?iT(t,i):"ease-out":iG(t)?i7(t):Array.isArray(t)?t.map(t=>e(t,i)||i8.easeOut):i8[t]}(a,n);Array.isArray(h)&&(c.easing=h),ea.value&&io.waapi++;let d={delay:r,duration:n,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(d.pseudoElement=u);let p=e.animate(c,d);return ea.value&&p.finished.finally(()=>{io.waapi--}),p}(t,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let e=iJ(r,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(e):function(e,t,i){t.startsWith("--")?e.style.setProperty(t,i):e.style[t]=i}(t,i,e),this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){this.finishedTime=null,this.animation.currentTime=is(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&i9())?(this.animation.timeline=e,en):t(this)}}let ri={anticipate:i$,backInOut:iU,circInOut:iW};class rr extends rt{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in ri&&(e.ease=ri[e.ease])}(e),i0(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:i,onComplete:r,element:n,...s}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let o=new i3({...s,autoplay:!1}),a=is(this.finishedTime??this.time);t.setWithVelocity(o.sample(a-10).value,o.sample(a).value,10),o.stop()}}let rn=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eN.test(e)||"0"===e)&&!e.startsWith("url(")),rs=new Set(["opacity","clipPath","filter","transform"]),ro=i5(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class ra extends i1{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=eQ.now();let h={autoplay:e,delay:t,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:u,...c},d=u?.KeyframeResolver||eb;this.keyframeResolver=new d(o,(e,t,i)=>this.onKeyframesResolved(e,t,h,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,i,r){this.keyframeResolver=void 0;let{name:n,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:u}=i;this.resolvedAt=eQ.now(),!function(e,t,i,r){let n=e[0];if(null===n)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],o=rn(n,t),a=rn(s,t);return K(o===a,`You are trying to animate ${t} from "${n}" to "${s}". "${o?s:n}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(e)||("spring"===i||re(i))&&r)}(e,n,s,o)&&((es.instantAnimations||!a)&&u?.(iJ(e,i,t)),e[0]=e[e.length-1],it(i),i.repeat=0);let c={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...i,keyframes:e},h=!l&&function(e){let{motionValue:t,name:i,repeatDelay:r,repeatType:n,damping:s,type:o}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;
1let{onUpdate:a,transformTemplate:l}=t.owner.getProps();return ro()&&i&&rs.has(i)&&("transform"!==i||!l)&&!a&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(c)?new rr({...c,element:c.motionValue.owner.current}):new i3(c);h.finished.then(()=>this.notifyFinished()).catch(en),this.pendingTimeline&&(this.stopTimeline=h.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=h}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),ey=!0,ev(),eg(),ey=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let rl=e=>null!==e,ru={type:"spring",stiffness:500,damping:25,restSpeed:10},rc={type:"keyframes",duration:.8},rh={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rd=(e,t,i,r={},n,s)=>a=>{let l=t7(r,e)||{},u=l.delay||r.delay||0,{elapsed:c=0}=r;c-=is(u);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-c,onUpdate:e=>{t.set(e),l.onUpdate&&l.onUpdate(e)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:s?void 0:n};!function({when:e,delay:t,delayChildren:i,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(l)&&Object.assign(h,((e,{keyframes:t})=>t.length>2?rc:o.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:ru:rh)(e,h)),h.duration&&(h.duration=is(h.duration)),h.repeatDelay&&(h.repeatDelay=is(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let d=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(it(h),0===h.delay&&(d=!0)),(es.instantAnimations||es.skipAnimations)&&(d=!0,it(h),h.delay=0),h.allowFlatten=!l.type&&!l.ease,d&&!s&&void 0!==t.get()){let e=function(e,{repeat:t,repeatType:i="loop"},r){let n=e.filter(rl),s=t&&"loop"!==i&&t%2==1?0:n.length-1;return n[s]}(h.keyframes,l);if(void 0!==e)return void eu.update(()=>{h.onUpdate(e),h.onComplete()})}return l.isSync?new i3(h):new ra(h)};function rp(e,t,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:o,...a}=t;r&&(s=r);let l=[],u=n&&e.animationState&&e.animationState.getState()[n];for(let t in a){let r=e.getValue(t,e.latestValues[t]??null),n=a[t];if(void 0===n||u&&function({protectedKeys:e,needsAnimating:t},i){let r=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,r}(u,t))continue;let o={delay:i,...t7(s||{},t)},c=r.get();if(void 0!==c&&!r.isAnimating&&!Array.isArray(n)&&n===c&&!o.velocity)continue;let h=!1;if(window.MotionHandoffAnimation){let i=e.props[t3];if(i){let e=window.MotionHandoffAnimation(i,t,eu);null!==e&&(o.startTime=e,h=!0)}}ie(e,t),r.start(rd(t,r,n,e.shouldReduceMotion&&L.has(t)?{type:!1}:o,e,h));let d=r.animation;d&&l.push(d)}return o&&Promise.all(l).then(()=>{eu.update(()=>{o&&function(e,t){let{transitionEnd:i={},transition:r={},...n}=t4(e,t)||{};for(let t in n={...n,...i}){var s;let i=t8(s=n[t])?s[s.length-1]||0:s;e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,e9(i))}}(e,o)})}),l}function rf(e,t,i,r=0,n=1){let s=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,a=(o-1)*r;return"function"==typeof i?i(s,o):1===n?s*r:a-s*r}function rm(e,t,i={}){let r=t4(e,t,"exit"===i.type?e.presenceContext?.custom:void 0),{transition:n=e.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all(rp(e,r,i)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;return function(e,t,i=0,r=0,n=0,s=1,o){let a=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),a.push(rm(l,t,{...o,delay:i+("function"==typeof r?0:r)+rf(e.variantChildren,l,r,n,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,r,s,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(i.delay)]);{let[e,t]="beforeChildren"===a?[s,o]:[o,s];return e().then(()=>t())}}function ry(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let r=0;r<i;r++)if(t[r]!==e[r])return!1;return!0}let rg=th.length,rv=[...tc].reverse(),rb=tc.length;function rx(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rw(){return{animate:rx(!0),whileInView:rx(),whileHover:rx(),whileTap:rx(),whileDrag:rx(),whileFocus:rx(),exit:rx()}}class rT{constructor(e){this.isMounted=!1,this.node=e}update(){}}class rE extends rT{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:i})=>(function(e,t,i={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>rm(e,t,i)));else if("string"==typeof t)r=rm(e,t,i);else{let n="function"==typeof t?t4(e,t,i.custom):t;r=Promise.all(rp(e,n,i))}return r.then(()=>
1{e.notify("AnimationComplete",t)})})(e,t,i))),i=rw(),r=!0,n=t=>(i,r)=>{let n=t4(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(n){let{transition:e,transitionEnd:t,...r}=n;i={...i,...r,...t}}return i};function s(s){let{props:o}=e,a=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;e<rg;e++){let r=th[e],n=t.props[r];(tu(n)||!1===n)&&(i[r]=n)}return i}(e.parent)||{},l=[],u=new Set,c={},h=1/0;for(let t=0;t<rb;t++){var d,p;let f=rv[t],m=i[f],y=void 0!==o[f]?o[f]:a[f],g=tu(y),v=f===s?m.isActive:null;!1===v&&(h=t);let b=y===a[f]&&y!==o[f]&&g;if(b&&r&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...c},!m.isActive&&null===v||!y&&!m.prevProp||tl(y)||"boolean"==typeof y)continue;let x=(d=m.prevProp,"string"==typeof(p=y)?p!==d:!!Array.isArray(p)&&!ry(p,d)),w=x||f===s&&m.isActive&&!b&&g||t>h&&g,T=!1,E=Array.isArray(y)?y:[y],S=E.reduce(n(f),{});!1===v&&(S={});let{prevResolvedValues:A={}}=m,P={...A,...S},k=t=>{w=!0,u.has(t)&&(T=!0,u.delete(t)),m.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in P){let t=S[e],i=A[e];if(!c.hasOwnProperty(e))(t8(t)&&t8(i)?ry(t,i):t===i)?void 0!==t&&u.has(e)?k(e):m.protectedKeys[e]=!0:null!=t?k(e):u.add(e)}m.prevProp=y,m.prevResolvedValues=S,m.isActive&&(c={...c,...S}),r&&e.blockInitialAnimation&&(w=!1);let C=b&&x,R=!C||T;w&&R&&l.push(...E.map(t=>{let i={type:f};if("string"==typeof t&&r&&!C&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,n=t4(r,t);if(r.enteringChildren&&n){let{delayChildren:t}=n.transition||{};i.delay=rf(r.enteringChildren,e,t)}}return{animation:t,options:i}}))}if(u.size){let t={};if("boolean"!=typeof o.initial){let i=t4(e,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(t.transition=i.transition)}u.forEach(i=>{let r=e.getBaseTarget(i),n=e.getValue(i);n&&(n.liveStyle=!0),t[i]=r??null}),l.push({animation:t})}let f=!!l.length;return r&&(!1===o.initial||o.initial===o.animate)&&!e.manuallyAnimateOnMount&&(f=!1),r=!1,f?t(l):Promise.resolve()}return{animateChanges:s,setActive:function(t,r){if(i[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),i[t].isActive=r;let n=s(t);for(let e in i)i[e].protectedKeys={};return n},setAnimateFunction:function(i){t=i(e)},getState:()=>i,reset:()=>{i=rw(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();tl(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let rS=0;class rA extends rT{constructor(){super(...arguments),this.id=rS++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>{t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}let rP={x:!1,y:!1};function rk(e,t,i,r={passive:!0}){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i)}let rC=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function rR(e){return{point:{x:e.pageX,y:e.pageY}}}function rD(e,t,i,r){return rk(e,t,e=>rC(e)&&i(e,rR(e)),r)}function r_(e){return e.max-e.min}function rM(e,t,i,r=.5){e.origin=r,e.originPoint=E(t.min,t.max,e.origin),e.scale=r_(i)/r_(t),e.translate=E(i.min,i.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function rV(e,t,i,r){rM(e.x,t.x,i.x,r?r.originX:void 0),rM(e.y,t.y,i.y,r?r.originY:void 0)}function rO(e,t,i){e.min=i.min+t.min,e.max=e.min+r_(t)}function rL(e,t,i){e.min=t.min-i.min,e.max=e.min+r_(t)}function rF(e,t,i){rL(e.x,t.x,i.x),rL(e.y,t.y,i.y)}function rj(e){return[e("x"),e("y")]}let rI=({current:e})=>e?e.ownerDocument.defaultView:null,rN=(e,t)=>Math.abs(e-t);class rB{constructor(e,t,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=rH(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,i=function(e,t){return Math.sqrt(rN(e.x,t.x)**2+rN(e.y,t.y)**2)}(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!i)return;let{point:r}=e,{timestamp:n}=eh;this.history.push({...r,timestamp:n});let{onStart:s,onMove:o}=this.handlers;t||(s&&s(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>
1{this.lastMoveEvent=e,this.lastMoveEventInfo=rU(t,this.transformPagePoint),eu.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=rH("pointercancel"===e.type?this.lastMoveEventInfo:rU(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,s),r&&r(e,s)},!rC(e))return;this.dragSnapToOrigin=n,this.handlers=t,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;let o=rU(rR(e),this.transformPagePoint),{point:a}=o,{timestamp:l}=eh;this.history=[{...a,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,rH(o,this.history)),this.removeListeners=ir(rD(this.contextWindow,"pointermove",this.handlePointerMove),rD(this.contextWindow,"pointerup",this.handlePointerUp),rD(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),ec(this.updatePoint)}}function rU(e,t){return t?{point:t(e.point)}:e}function r$(e,t){return{x:e.x-t.x,y:e.y-t.y}}function rH({point:e},t){return{point:e,delta:r$(e,rz(t)),offset:r$(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,r=null,n=rz(e);for(;i>=0&&(r=e[i],!(n.timestamp-r.timestamp>is(.1)));)i--;if(!r)return{x:0,y:0};let s=(n.timestamp-r.timestamp)/1e3;if(0===s)return{x:0,y:0};let o={x:(n.x-r.x)/s,y:(n.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t,.1)}}function rz(e){return e[e.length-1]}function rW(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function rG(e,t){let i=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,r]=[r,i]),{min:i,max:r}}function rX(e,t,i){return{min:rq(e,t),max:rq(e,i)}}function rq(e,t){return"number"==typeof e?e:e[t]||0}let rY=new WeakMap;class rK{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=tr(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=e=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(rR(e).point)},s=(e,t)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(rP[e])return null;else return rP[e]=!0,()=>{rP[e]=!1};return rP.x||rP.y?null:(rP.x=rP.y=!0,()=>{rP.x=rP.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rj(e=>{let t=this.getAxisMotionValue(e).get()||0;if($.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[e];r&&(t=r_(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),n&&eu.postRender(()=>n(e,t)),ie(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),s&&s(e,t)},a=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>rj(e=>"paused"===this.getAnimationState(e)&&this.getAxisMotionValue(e).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new rB(e,{onSessionStart:n,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:rI(this.visualElement)})}stop(e,t){let i=e||this.latestPointerEvent,r=t||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!r||!i)return;let{velocity:s}=r;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&eu.postRender(()=>o(i,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,i){let{drag:r}=this.getProps();if(!i||!rZ(e,r,this.currentDirection))return;let n=this.getAxisMotionValue(e),s=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:i},r){return void 0!==t&&e<t?e=r?E(t,e,r.min):Math.max(e,t):void 0!==i&&e>i&&(e=r?E(i,e,r.max):Math.min(e,i)),e}(s,this.constraints[e],this.elastic[e])),n.set(s)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&t2(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:r,right:n}){return{x:rW(e.x,i,n),y:rW(e.y,t,r)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:rX(e,"left","right"),y:rX(e,"top","bottom")}}(t),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&rj(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let i={};return void 0!==t.min&&(i.min=t.min-e.min),void 0!==t.max&&(i.max=t.max-e.min),i}(i.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!t2(t))return!1;let r=t.current;Z(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:n}=this.visualElement;if(!n||!n.layout)return!1;let s=function(e,t,i){let r=O(e,i),{scroll:n}=t;return n&&(_(r.x,n.offset.x),_(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o=(e=n.layout.layoutBox,{x:rG(e.x,s.x),y:rG(e.y,s.y)});if(i){let e=i(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=T(e))}return o}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(rj(o=>{if(!rZ(o,t,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?e[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return ie(this.visualElement,e),i.start(rd(e,i,0,t,this.visualElement,!1))}stopAnimation(){rj(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){rj(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,i=this.visualElement.getProps();return i[t]||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){rj(t=>{let{drag:i}=this.getProps();if(!rZ(t,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(t);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[t];n.set(e[t]-E(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!t2(t)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};rj(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let i=t.get();r[e]=function(e,t){let i=.5,r=r_(e),n=r_(t);return n>r?i=iY(t.min,t.max-r,e.min):r>n&&(i=iY(e.min,e.max-n,t.min)),F(0,1,i)}({min:i,max:i},this.constraints[e])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),rj(t=>{if(!rZ(t,e,null))return;let i=this.getAxisMotionValue(t),{min:n,max:s}=this.constraints[t];i.set(E(n,s,r[t]))})}addListeners(){if(!this.visualElement.current)return;rY.set(this.visualElement,this);let e=rD(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:i=!0}=this.getProps();t&&i&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();t2(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",t);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),eu.read(t);let n=rk(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(rj(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{n(),e(),r(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function rZ(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}class rJ extends rT{constructor(e){super(e),this.removeGroupControls=en,this.removeListeners=en,this.controls=new rK(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||en}unmount(){this.removeGroupControls(),this.removeListeners()}}let rQ=e=>(t,i)=>{e&&eu.postRender(()=>e(t,i))};class r0 extends rT{constructor(){super(...arguments),this.removePointerDownListener=en}onPointerDown(e){this.session=new rB(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rI(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:rQ(e),onStart:rQ(t),onMove:i,onEnd:(e,t)=>{delete this.session,r&&eu.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=rD(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let r1={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function r2(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let r3={correct:(e,t)=>
1{if(!t.target)return e;if("string"==typeof e)if(!H.test(e))return e;else e=parseFloat(e);let i=r2(e,t.target.x),r=r2(e,t.target.y);return`${i}% ${r}%`}},r5=!1;class r9 extends n.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=e;for(let e in r4)tS[e]=r4[e],v(e)&&(tS[e].isCSSVariable=!0);n&&(t.group&&t.group.add(n),i&&i.register&&r&&i.register(n),r5&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),r1.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:r,isPresent:n}=this.props,{projection:s}=i;return s&&(s.isPresent=n,r5=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==n?s.willUpdate():this.safeToRemove(),e.isPresent!==n&&(n?s.promote():s.relegate()||eu.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),e4.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:r}=e;r5=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function r6(e){let[t,i]=function(e=!0){let t=(0,n.useContext)(tK);if(null===t)return[!0,null];let{isPresent:i,onExitComplete:r,register:s}=t,o=(0,n.useId)();(0,n.useEffect)(()=>{if(e)return s(o)},[e]);let a=(0,n.useCallback)(()=>e&&r&&r(o),[o,r,e]);return!i&&r?[!1,a]:[!0]}(),r=(0,n.useContext)(tN);return(0,tI.jsx)(r9,{...e,layoutGroup:r,switchLayoutGroup:(0,n.useContext)(t5),isPresent:t,safeToRemove:i})}let r4={borderRadius:{...r3,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:r3,borderTopRightRadius:r3,borderBottomLeftRadius:r3,borderBottomRightRadius:r3,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let r=eN.parse(e);if(r.length>5)return e;let n=eN.createTransformer(e),s=+("number"!=typeof r[0]),o=i.x.scale*t.x,a=i.y.scale*t.y;r[0+s]/=o,r[1+s]/=a;let l=E(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};function r7(e){return"object"==typeof e&&null!==e}function r8(e){return r7(e)&&"ownerSVGElement"in e}let ne=(e,t)=>e.depth-t.depth;class nt{constructor(){this.children=[],this.isDirty=!1}add(e){e0(this.children,e),this.isDirty=!0}remove(e){e1(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(ne),this.isDirty=!1,this.children.forEach(e)}}let ni=["TopLeft","TopRight","BottomLeft","BottomRight"],nr=ni.length,nn=e=>"string"==typeof e?parseFloat(e):e,ns=e=>"number"==typeof e||H.test(e);function no(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let na=nu(0,.5,iz),nl=nu(.5,.95,en);function nu(e,t,i){return r=>r<e?0:r>t?1:i(iY(e,t,r))}function nc(e,t){e.min=t.min,e.max=t.max}function nh(e,t){nc(e.x,t.x),nc(e.y,t.y)}function nd(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function np(e,t,i,r,n){return e-=t,e=r+1/i*(e-r),void 0!==n&&(e=r+1/n*(e-r)),e}function nf(e,t,[i,r,n],s,o){!function(e,t=0,i=1,r=.5,n,s=e,o=e){if($.test(t)&&(t=parseFloat(t),t=E(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let a=E(s.min,s.max,r);e===s&&(a-=t),e.min=np(e.min,t,i,a,n),e.max=np(e.max,t,i,a,n)}(e,t[i],t[r],t[n],t.scale,s,o)}let nm=["x","scaleX","originX"],ny=["y","scaleY","originY"];function ng(e,t,i,r){nf(e.x,t,nm,i?i.x:void 0,r?r.x:void 0),nf(e.y,t,ny,i?i.y:void 0,r?r.y:void 0)}function nv(e){return 0===e.translate&&1===e.scale}function nb(e){return nv(e.x)&&nv(e.y)}function nx(e,t){return e.min===t.min&&e.max===t.max}function nw(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function nT(e,t){return nw(e.x,t.x)&&nw(e.y,t.y)}function nE(e){return r_(e.x)/r_(e.y)}function nS(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class nA{constructor(){this.members=[]}add(e){e0(this.members,e),e.scheduleRender()}remove(e){if(e1(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t,i=this.members.findIndex(t=>e===t);if(0===i)return!1;for(let e=i;e>=0;e--){let i=this.members[e];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,t&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;!1===r&&i.hide()}}
1exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:i}=e;t.onExitComplete&&t.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let nP={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},nk=["","X","Y","Z"],nC=0;function nR(e,t,i,r){let{latestValues:n}=t;n[e]&&(i[e]=n[e],t.setStaticValue(e,0),r&&(r[e]=0))}function nD({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(e={},i=t?.()){this.id=nC++,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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ea.value&&(nP.nodes=nP.calculatedTargetDeltas=nP.calculatedProjections=0),this.nodes.forEach(nV),this.nodes.forEach(nB),this.nodes.forEach(nU),this.nodes.forEach(nO),ea.addProjectionMetrics&&ea.addProjectionMetrics(nP)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,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 e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new nt)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new e2),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let i=this.eventHandlers.get(e);i&&i.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=r8(t)&&!(r8(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:i,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),e){let i,r=0,n=()=>this.root.updateBlockedByResize=!1;eu.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,i&&i(),i=function(e,t){let i=eQ.now(),r=({timestamp:t})=>{let n=t-i;n>=250&&(ec(r),e(n-250))};return eu.setup(r,!0),()=>ec(r)}(n,250),r1.hasAnimatedSinceResize&&(r1.hasAnimatedSinceResize=!1,this.nodes.forEach(nN)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||nX,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!nT(this.targetLayout,r),u=!t&&i;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...t7(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else t||nN(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ec(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(n$),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:i}=t.options;if(!i)return;let r=i.props[t3];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",eu,!(e||i))}let{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&e(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:i}=this.options;if(void 0===t&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nF);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(nj);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nI),this.nodes.forEach(n_),this.nodes.forEach(nM)):this.nodes.forEach(nj),this.clearAllSnapshots();let e=eQ.now();eh.delta=F(0,1e3/60,e-eh.timestamp),eh.timestamp=e,eh.isProcessing=!0,ed.update.process(eh),ed.preRender.process(eh),ed.render.process(eh),eh.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,e4.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nL),this.sharedNodes.forEach(nH)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eu.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eu.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||r_(this.snapshot.measuredBox.x)||r_(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=tr(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!n)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!nb(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||P(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let i=this.measurePageBox(),r=this.removeElementScroll(i);return e&&(r=this.removeTransform(r)),nK((t=r).x),nK(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return tr();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(nJ))){let{scroll:e}=this.root;e&&(_(t.x,e.offset.x),_(t.y,e.offset.y))}return t}removeElementScroll(e){let t=tr();if(nh(t,e),this.scroll?.wasRoot)return t;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&nh(t,e),_(t.x,n.offset.x),_(t.y,n.offset.y))}return t}applyTransform(e,t=!1){let i=tr();nh(i,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&V(i,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),P(r.latestValues)&&V(i,r.latestValues)}return P(this.latestValues)&&V(i,this.latestValues),i}removeTransform(e){let t=tr();nh(t,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];if(!i.instance||!P(i.latestValues))continue;A(i.latestValues)&&i.updateSnapshot();let r=tr();nh(r,i.measurePageBox()),ng(t,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,r)}return P(this.latestValues)&&ng(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eh.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
1isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==t;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;if(this.layout&&(r||n)){if(this.resolvedRelativeTargetAt=eh.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tr(),this.relativeTargetOrigin=tr(),rF(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),nh(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=tr(),this.targetWithTransforms=tr()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,o,a;this.forceRelativeParentToResolveTarget(),s=this.target,o=this.relativeTarget,a=this.relativeParent.target,rO(s.x,o.x,a.x),rO(s.y,o.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):nh(this.target,this.layout.layoutBox),D(this.target,this.targetDelta)):nh(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tr(),this.relativeTargetOrigin=tr(),rF(this.relativeTargetOrigin,this.target,e.target),nh(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ea.value&&nP.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||A(this.parent.latestValues)||k(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)}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===eh.timestamp&&(i=!1),i)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;nh(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(e,t,i,r=!1){let n,s,o=i.length;if(o){t.x=t.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&V(e,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,D(e,s)),r&&P(n.latestValues)&&V(e,n.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=tr());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nd(this.prevProjectionDelta.x,this.projectionDelta.x),nd(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),rV(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&nS(this.projectionDelta.x,this.prevProjectionDelta.x)&&nS(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),ea.value&&nP.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=tt(),this.projectionDelta=tt(),this.projectionDeltaWithTransform=tt()}setAnimationOrigin(e,t=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=tt();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=tr(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(nG));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(nz(o.x,e.x,r),nz(o.y,e.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f,m,y;rF(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,m=a,y=r,nW
1(p.x,f.x,m.x,y),nW(p.y,f.y,m.y,y),i&&(u=this.relativeTarget,d=i,nx(u.x,d.x)&&nx(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=tr()),nh(i,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,i,r,n,s){n?(e.opacity=E(0,i.opacity??1,na(r)),e.opacityExit=E(t.opacity??1,0,nl(r))):s&&(e.opacity=E(t.opacity??1,i.opacity??1,r));for(let n=0;n<nr;n++){let s=`border${ni[n]}Radius`,o=no(t,s),a=no(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||ns(o)===ns(a)?(e[s]=Math.max(E(nn(o),nn(a),r),0),($.test(a)||$.test(o))&&(e[s]+="%")):e[s]=a)}(t.rotate||i.rotate)&&(e.rotate=E(t.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ec(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eu.update(()=>{r1.hasAnimatedSinceResize=!0,io.layout++,this.motionValue||(this.motionValue=e9(0)),this.currentAnimation=function(e,t,i){let r=eZ(e)?e:e9(e);return r.start(rd("",r,t,i)),r.animation}(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{io.layout--},onComplete:()=>{io.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:r,latestValues:n}=e;if(t&&i&&r){if(this!==e&&this.layout&&r&&nZ(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||tr();let t=r_(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let r=r_(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+r}nh(t,i),V(t,n),rV(this.projectionDeltaWithTransform,this.layoutCorrected,t,n)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new nA),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let r={};i.z&&nR("z",e,r,this.animationValues);for(let t=0;t<nk.length;t++)nR(`rotate${nk[t]}`,e,r,this.animationValues),nR(`skew${nk[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=tZ(t?.pointerEvents)||"",e.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=tZ(t?.pointerEvents)||""),this.hasProjected&&!P(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1);return}e.visibility="";let n=r.animationValues||r.latestValues;this.applyTransformsToTarget();let s=function(e,t,i){let r="",n=e.x.translate/t.x,s=e.y.translate/t.y,o=i?.z||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),i){let{transformPerspective:e,rotate:t,rotateX:n,rotateY:s,skewX:o,skewY:a}=i;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),n&&(r+=`rotateX(${n}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l}
1)`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(s=i(n,s)),e.transform=s;let{x:o,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?e.opacity=r===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:e.opacity=r===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,tS){if(void 0===n[t])continue;let{correct:i,applyTo:o,isCSSVariable:a}=tS[t],l="none"===s?n[t]:i(n[t],r);if(o){let t=o.length;for(let i=0;i<t;i++)e[o[i]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=r===this?tZ(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(nF),this.root.sharedNodes.clear()}}}function n_(e){e.updateLayout()}function nM(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=e.layout,{animationType:n}=e.options,s=t.source!==e.layout.source;"size"===n?rj(e=>{let r=s?t.measuredBox[e]:t.layoutBox[e],n=r_(r);r.min=i[e].min,r.max=r.min+n}):nZ(n,t.layoutBox,i)&&rj(r=>{let n=s?t.measuredBox[r]:t.layoutBox[r],o=r_(i[r]);n.max=n.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=tt();rV(o,i,t.layoutBox);let a=tt();s?rV(a,e.applyTransform(r,!0),t.measuredBox):rV(a,i,t.layoutBox);let l=!nb(o),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=tr();rF(o,t.layoutBox,n.layoutBox);let a=tr();rF(a,i,s.layoutBox),nT(o,a)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=o,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function nV(e){ea.value&&nP.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function nO(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function nL(e){e.clearSnapshot()}function nF(e){e.clearMeasurements()}function nj(e){e.isLayoutDirty=!1}function nI(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function nN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function nB(e){e.resolveTargetDelta()}function nU(e){e.calcProjection()}function n$(e){e.resetSkewAndRotation()}function nH(e){e.removeLeadSnapshot()}function nz(e,t,i){e.translate=E(t.translate,0,i),e.scale=E(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function nW(e,t,i,r){e.min=E(t.min,i.min,r),e.max=E(t.max,i.max,r)}function nG(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let nX={duration:.45,ease:[.4,0,.1,1]},nq=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),nY=nq("applewebkit/")&&!nq("chrome/")?Math.round:en;function nK(e){e.min=nY(e.min),e.max=nY(e.max)}function nZ(e,t,i){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(nE(t)-nE(i)))}function nJ(e){return e!==e.root&&e.scroll?.wasRoot}let nQ=nD({attachResizeListener:(e,t)=>rk(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),n0={current:void 0},n1=nD({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!n0.current){let e=new nQ({});e.mount(window),e.setOptions({layoutScroll:!0}),n0.current=e}return n0.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function n2(e,t){let i=function(e,t,i){if(e instanceof EventTarget)return[e];if("string"==typeof e){let t=document,i=(void 0)??t.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}(e),r=new AbortController;return[i,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function n3(e){return!("touch"===e.pointerType||rP.x||rP.y)}function n5(e,t,i){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&eu.postRender(()=>n(t,rR(t)))}class n9 extends rT{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[r,n,s]=n2(e,i),o=e=>{if(!n3(e))return;let{target:i}=e,r=t(i,e);if("function"!=typeof r||!i)return;let s=e=>{n3(e)&&(r(e),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,n)};
1return r.forEach(e=>{e.addEventListener("pointerenter",o,n)}),s}(e,(e,t)=>(n5(this.node,t,"Start"),e=>n5(this.node,e,"End"))))}unmount(){}}class n6 extends rT{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ir(rk(this.node.current,"focus",()=>this.onFocus()),rk(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let n4=(e,t)=>!!t&&(e===t||n4(e,t.parentElement)),n7=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),n8=new WeakSet;function se(e){return t=>{"Enter"===t.key&&e(t)}}function st(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function si(e){return rC(e)&&!(rP.x||rP.y)}function sr(e,t,i){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&eu.postRender(()=>n(t,rR(t)))}class sn extends rT{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[r,n,s]=n2(e,i),o=e=>{let r=e.currentTarget;if(!si(e))return;n8.add(r);let s=t(r,e),o=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),n8.has(r)&&n8.delete(r),si(e)&&"function"==typeof s&&s(e,{success:t})},a=e=>{o(e,r===window||r===document||i.useGlobalTarget||n4(r,e.target))},l=e=>{o(e,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return r.forEach(e=>{(i.useGlobalTarget?window:e).addEventListener("pointerdown",o,n),r7(e)&&"offsetHeight"in e&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let r=se(()=>{if(n8.has(i))return;st(i,"down");let e=se(()=>{st(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>st(i,"cancel"),t)});i.addEventListener("keydown",r,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),t)})(e,n)),n7.has(e.tagName)||-1!==e.tabIndex||e.hasAttribute("tabindex")||(e.tabIndex=0))}),s}(e,(e,t)=>(sr(this.node,t,"Start"),(e,{success:t})=>sr(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let ss=new WeakMap,so=new WeakMap,sa=e=>{let t=ss.get(e.target);t&&t(e)},sl=e=>{e.forEach(sa)},su={some:0,all:1};class sc extends rT{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:i,amount:r="some",once:n}=e,s={root:t?t.current:void 0,rootMargin:i,threshold:"number"==typeof r?r:su[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,n&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),s=t?i:r;s&&s(e)};var a=this.node.current;let l=function({root:e,...t}){let i=e||document;so.has(i)||so.set(i,{});let r=so.get(i),n=JSON.stringify(t);return r[n]||(r[n]=new IntersectionObserver(sl,{root:e,...t})),r[n]}(s);return ss.set(a,o),l.observe(a),()=>{ss.delete(a),l.unobserve(a)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){}}let sh=function(e,t){if("undefined"==typeof Proxy)return t6;let i=new Map,r=(i,r)=>t6(i,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(n,s)=>"create"===s?r:(i.has(s)||i.set(s,t6(s,void 0,e,t)),i.get(s))})}({animation:{Feature:rE},exit:{Feature:rA},inView:{Feature:sc},tap:{Feature:sn},focus:{Feature:n6},hover:{Feature:n9},pan:{Feature:r0},drag:{Feature:rJ,ProjectionNode:n1,MeasureLayout:r6},layout:{ProjectionNode:n1,MeasureLayout:r6}},(e,t)=>tj(e)?new tL(t):new tk(t,{allowProjection:e!==n.Fragment}))},8229:(e,t,i)=>{"use strict";i.d(t,{A:()=>v});var r=i(4232),n=i(5062),s=i.n(n),o=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e}).apply(this,arguments)}function l(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e,t){return(u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var c=function(e){function t(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(l(t)),t.handleErrored=t.handleErrored.bind(l(t)),t.handleChange=t.handleChange.bind(l(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(l(t)),t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,u(t,e);var i=t.prototype;return i.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},i.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},i.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},i.execute=function(){var e=this.getCaptchaFunction("execute");
1if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},i.executeAsync=function(){var e=this;return new Promise(function(t,i){e.executionResolve=t,e.executionReject=i,e.execute()})},i.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},i.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},i.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},i.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},i.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},i.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},i.componentDidMount=function(){this.explicitRender()},i.componentDidUpdate=function(){this.explicitRender()},i.handleRecaptchaRef=function(e){this.captcha=e},i.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated,function(e,t){if(null==e)return{};var i,r,n={},s=Object.keys(e);for(r=0;r<s.length;r++)i=s[r],t.indexOf(i)>=0||(n[i]=e[i]);return n}(e,o));return r.createElement("div",a({},t,{ref:this.handleRecaptchaRef}))},t}(r.Component);c.displayName="ReCAPTCHA",c.propTypes={sitekey:s().string.isRequired,onChange:s().func,grecaptcha:s().object,theme:s().oneOf(["dark","light"]),type:s().oneOf(["image","audio"]),tabindex:s().number,onExpired:s().func,onErrored:s().func,size:s().oneOf(["compact","normal","invisible"]),stoken:s().string,hl:s().string,badge:s().oneOf(["bottomright","bottomleft","inline"]),isolated:s().bool},c.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var h=i(3520),d=i.n(h);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e}).apply(this,arguments)}var f={},m=0,y="onloadcallback";function g(){return"undefined"!=typeof window&&window.recaptchaOptions||{}}let v=(function(e,t){return t=t||{},function(i){var n=i.displayName||i.name||"Component",o=function(n){function s(e,t){var i;return(i=n.call(this,e,t)||this).state={},i.__scriptURL="",i}s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.__proto__=n;var o=s.prototype;return o.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+m++),this.__scriptLoaderID},o.setupScriptURL=function(){return this.__scriptURL="function"==typeof e?e():e,this.__scriptURL},o.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},o.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=f[this.__scriptURL];if(!e||!e.loaded)throw Error("Script is not loaded.");for(var i in e.observers)e.observers[i](e);delete window[t.callbackName]},o.componentDidMount=function(){var e=this,i=this.setupScriptURL(),r=this.asyncScriptLoaderGetScriptLoaderID(),n=t,s=n.globalName,o=n.callbackName,a=n.scriptId;if(s&&void 0!==window[s]&&(f[i]={loaded:!0,observers:{}}),f[i]){var l=f[i];return l&&(l.loaded||l.errored)?void this.asyncScriptLoaderHandleLoad(l):void(l.observers[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var u={};u[r]=function(t){return e.asyncScriptLoaderHandleLoad(t)},f[i]={loaded:!1,observers:u};var c=document.createElement("script");for(var h in c.src=i,c.async=!0,t.attributes)c.setAttribute(h,t.attributes[h]);a&&(c.id=a);var d=function(e){if(f[i]){var t=f[i].observers;for(var r in t)e(t[r])&&delete t[r]}};o&&"undefined"!=typeof window&&(window[o]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),c.onload=function(){var e=f[i];e&&(e.loaded=!0,d(function(t){return!o&&(t(e),!0)}))},c.onerror=function(){var e=f[i];e&&(e.errored=!0,d(function(t){return t(e),!0}))},document.body.appendChild(c)},o.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===t.removeOnUnmount)for(var i=document.getElementsByTagName("script"),r=0;r<i.length;r+=1)i[r].src.indexOf(e)>-1&&i[r].parentNode&&i[r].parentNode.removeChild(i[r]);var n=f[e];n&&(delete n.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===t.removeOnUnmount&&delete f[e])},o.render=function(){var e=t.globalName,n=this.props,s=(n.asyncScriptOnLoad,n.forwardedRef),o=function(e,t){if(null==e)return{};var i,r,n={},s=Object.keys(e);for(r=0;r<s.length;r++)t.indexOf(i=s[r])>=0||(n[i]=e[i]);return n}(n,["asyncScriptOnLoad","forwardedRef"]);return e&&"undefined"!=typeof window&&(o[e]=void 0!==window[e]?window[e]:void 0),o.ref=s,(0,r.createElement)(i,o)},s}(r.Component),a=(0,r.forwardRef)(function(e,t){return(0,r.createElement)(o,p({},e,{forwardedRef:t}))});return a.displayName="AsyncScriptLoader("+n+")",a.propTypes={asyncScriptOnLoad:s().func},d()(a,i)}})(function(){var e=g(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+y+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+y+"&render=explicit"},{callbackName:y,globalName:"grecaptcha",attributes:g().nonce?{nonce:g().nonce}:{}})(c)},8333:(e,t,i)=>{"use strict";var r=i(7876).jsx,n=/(\r\n|\r|\n)/g;e.exports=function(e){return"string"!=typeof e?e:e.split(n).map(function(e,t){return e.match(n)?r("br",{key:t}):e})}},8945:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
1dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var i=null;if(!e||"string"!=typeof e)return i;var r=(0,n.default)(e),s="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,n=e.value;s?t(r,n,e):n&&((i=i||{})[r]=n)}}),i};var n=r(i(6720))},8992:(e,t,i)=>{"use strict";i.d(t,{mN:()=>J});var r=i(4232),n=e=>e instanceof Date,s=e=>null==e,o=e=>!s(e)&&!Array.isArray(e)&&"object"==typeof e&&!n(e),a="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function l(e){let t,i=Array.isArray(e),r="undefined"!=typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else if(!(!(a&&(e instanceof Blob||r))&&(i||o(e))))return e;else if(t=i?[]:Object.create(Object.getPrototypeOf(e)),i||(e=>{let t=e.constructor&&e.constructor.prototype;return o(t)&&t.hasOwnProperty("isPrototypeOf")})(e))for(let i in e)e.hasOwnProperty(i)&&(t[i]=l(e[i]));else t=e;return t}var u=e=>/^\w*$/.test(e),c=e=>void 0===e,h=e=>Array.isArray(e)?e.filter(Boolean):[],d=e=>h(e.replace(/["|']|\]/g,"").split(/\.|\[/)),p=(e,t,i)=>{if(!t||!o(e))return i;let r=(u(t)?[t]:d(t)).reduce((e,t)=>s(e)?e:e[t],e);return c(r)||r===e?c(e[t])?i:e[t]:r},f=(e,t,i)=>{let r=-1,n=u(t)?[t]:d(t),s=n.length,a=s-1;for(;++r<s;){let t=n[r],s=i;if(r!==a){let i=e[t];s=o(i)||Array.isArray(i)?i:isNaN(+n[r+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=s,e=e[t]}};let m={BLUR:"blur",FOCUS_OUT:"focusout"},y={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},g={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};r.createContext(null).displayName="HookFormContext";let v="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;var b=e=>"string"==typeof e,x=e=>s(e)||"object"!=typeof e;function w(e,t,i=new WeakSet){if(x(e)||x(t))return e===t;if(n(e)&&n(t))return e.getTime()===t.getTime();let r=Object.keys(e),s=Object.keys(t);if(r.length!==s.length)return!1;if(i.has(e)||i.has(t))return!0;for(let a of(i.add(e),i.add(t),r)){let r=e[a];if(!s.includes(a))return!1;if("ref"!==a){let e=t[a];if(n(r)&&n(e)||o(r)&&o(e)||Array.isArray(r)&&Array.isArray(e)?!w(r,e,i):r!==e)return!1}}return!0}var T=(e,t,i,r,n)=>t?{...i[e],types:{...i[e]&&i[e].types?i[e].types:{},[r]:n||!0}}:{},E=e=>Array.isArray(e)?e:[e],S=()=>{let e=[];return{get observers(){return e},next:t=>{for(let i of e)i.next&&i.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},A=e=>o(e)&&!Object.keys(e).length,P=e=>"function"==typeof e,k=e=>{if(!a)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},C=e=>k(e)&&e.isConnected;function R(e,t){let i=Array.isArray(t)?t:u(t)?[t]:d(t),r=1===i.length?e:function(e,t){let i=t.slice(0,-1).length,r=0;for(;r<i;)e=c(e)?r++:e[t[r++]];return e}(e,i),n=i.length-1,s=i[n];return r&&delete r[s],0!==n&&(o(r)&&A(r)||Array.isArray(r)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!c(e[t]))return!1;return!0}(r))&&R(e,i.slice(0,-1)),e}function D(e){return Array.isArray(e)||o(e)&&!(e=>{for(let t in e)if(P(e[t]))return!0;return!1})(e)}function _(e,t={}){for(let i in e)D(e[i])?(t[i]=Array.isArray(e[i])?[]:{},_(e[i],t[i])):s(e[i])||(t[i]=!0);return t}function M(e,t,i){for(let r in i||(i=_(t)),e)D(e[r])?c(t)||x(i[r])?i[r]=_(e[r],Array.isArray(e[r])?[]:{}):M(e[r],s(t)?{}:t[r],i[r]):i[r]=!w(e[r],t[r]);return i}let V={value:!1,isValid:!1},O={value:!0,isValid:!0};var L=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!c(e[0].attributes.value)?c(e[0].value)||""===e[0].value?O:{value:e[0].value,isValid:!0}:O:V}return V},F=(e,{valueAsNumber:t,valueAsDate:i,setValueAs:r})=>c(e)?e:t?""===e?NaN:e?+e:e:i&&b(e)?new Date(e):r?r(e):e;let j={isValid:!1,value:null};var I=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,j):j;function N(e){let t=e.ref;return"file"===t.type?t.files:"radio"===t.type?I(e.refs).value:"select-multiple"===t.type?[...t.selectedOptions].map(({value:e})=>e):"checkbox"===t.type?L(e.refs).value:F(c(t.value)?e.ref.value:t.value,e)}var B=e=>c(e)?e:e instanceof RegExp?e.source:o(e)?e.value instanceof RegExp?e.value.source:e.value:e,U=e=>({isOnSubmit:!e||e===y.onSubmit,isOnBlur:e===y.onBlur,isOnChange:e===y.onChange,isOnAll:e===y.all,isOnTouch:e===y.onTouched});let $="AsyncFunction";var H=e=>!!e&&!!e.validate&&!!(P(e.validate)&&e.validate.constructor.name===$||o(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===$)),z=(e,t,i)=>!i&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let W=(e,t,i,r)=>{for(let n of i||Object.keys(e)){let i=p(e,n);if(i){let{_f:e,...s}=i;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],n)&&!r)return!0;else if(e.ref&&t(e.ref,e.name)&&!r)return!0;
1else if(W(s,t))break}else if(o(s)&&W(s,t))break}}};function G(e,t,i){let r=p(e,i);if(r||u(i))return{error:r,name:i};let n=i.split(".");for(;n.length;){let r=n.join("."),s=p(t,r),o=p(e,r);if(s&&!Array.isArray(s)&&i!==r)break;if(o&&o.type)return{name:r,error:o};if(o&&o.root&&o.root.type)return{name:`${r}.root`,error:o.root};n.pop()}return{name:i}}var X=(e,t,i)=>{let r=E(p(e,i));return f(r,"root",t[i]),f(e,i,r),e};function q(e,t,i="validate"){if(b(e)||Array.isArray(e)&&e.every(b)||"boolean"==typeof e&&!e)return{type:i,message:b(e)?e:"",ref:t}}var Y=e=>!o(e)||e instanceof RegExp?{value:e,message:""}:e,K=async(e,t,i,r,n,a)=>{let{ref:l,refs:u,required:h,maxLength:d,minLength:f,min:m,max:y,pattern:v,validate:x,name:w,valueAsNumber:E,mount:S}=e._f,C=p(i,w);if(!S||t.has(w))return{};let R=u?u[0]:l,D=e=>{n&&R.reportValidity&&(R.setCustomValidity("boolean"==typeof e?"":e||""),R.reportValidity())},_={},M="radio"===l.type,V="checkbox"===l.type,O=(E||"file"===l.type)&&c(l.value)&&c(C)||k(l)&&""===l.value||""===C||Array.isArray(C)&&!C.length,F=T.bind(null,w,r,_),j=(e,t,i,r=g.maxLength,n=g.minLength)=>{let s=e?t:i;_[w]={type:e?r:n,message:s,ref:l,...F(e?r:n,s)}};if(a?!Array.isArray(C)||!C.length:h&&(!(M||V)&&(O||s(C))||"boolean"==typeof C&&!C||V&&!L(u).isValid||M&&!I(u).isValid)){let{value:e,message:t}=b(h)?{value:!!h,message:h}:Y(h);if(e&&(_[w]={type:g.required,message:t,ref:R,...F(g.required,t)},!r))return D(t),_}if(!O&&(!s(m)||!s(y))){let e,t,i=Y(y),n=Y(m);
1if(s(C)||isNaN(C)){let r=l.valueAsDate||new Date(C),s=e=>new Date(new Date().toDateString()+" "+e),o="time"==l.type,a="week"==l.type;b(i.value)&&C&&(e=o?s(C)>s(i.value):a?C>i.value:r>new Date(i.value)),b(n.value)&&C&&(t=o?s(C)<s(n.value):a?C<n.value:r<new Date(n.value))}else{let r=l.valueAsNumber||(C?+C:C);s(i.value)||(e=r>i.value),s(n.value)||(t=r<n.value)}if((e||t)&&(j(!!e,i.message,n.message,g.max,g.min),!r))return D(_[w].message),_}if((d||f)&&!O&&(b(C)||a&&Array.isArray(C))){let e=Y(d),t=Y(f),i=!s(e.value)&&C.length>+e.value,n=!s(t.value)&&C.length<+t.value;if((i||n)&&(j(i,e.message,t.message),!r))return D(_[w].message),_}if(v&&!O&&b(C)){let{value:e,message:t}=Y(v);if(e instanceof RegExp&&!C.match(e)&&(_[w]={type:g.pattern,message:t,ref:l,...F(g.pattern,t)},!r))return D(t),_}if(x){if(P(x)){let e=q(await x(C,i),R);if(e&&(_[w]={...e,...F(g.validate,e.message)},!r))return D(e.message),_}else if(o(x)){let e={};for(let t in x){if(!A(e)&&!r)break;let n=q(await x[t](C,i),R,t);n&&(e={...n,...F(t,n.message)},D(n.message),r&&(_[w]=e))}if(!A(e)&&(_[w]={ref:R,...e},!r))return _}}return D(!0),_};let Z={mode:y.onSubmit,reValidateMode:y.onChange,shouldFocusError:!0};function J(e={}){let t=r.useRef(void 0),i=r.useRef(void 0),[u,d]=r.useState({isDirty:!1,isValidating:!1,isLoading:P(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:P(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:u},e.defaultValues&&!P(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:i,...r}=function(e={}){let t,i={...Z,...e},r={submitCount:0,isDirty:!1,isReady:!1,isLoading:P(i.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:i.errors||{},disabled:i.disabled||!1},u={},d=(o(i.defaultValues)||o(i.values))&&l(i.defaultValues||i.values)||{},g=i.shouldUnregister?{}:l(d),v={action:!1,mount:!1,watch:!1},x={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},T=0,D={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},_={...D},V={array:S(),state:S()},O=i.criteriaMode===y.all,L=async e=>{if(!i.disabled&&(D.isValid||_.isValid||e)){let e=i.resolver?A((await q()).errors):await J(u,!0);e!==r.isValid&&V.state.next({isValid:e})}},j=(e,t)=>{!i.disabled&&(D.isValidating||D.validatingFields||_.isValidating||_.validatingFields)&&((e||Array.from(x.mount)).forEach(e=>{e&&(t?f(r.validatingFields,e,t):R(r.validatingFields,e))}),V.state.next({validatingFields:r.validatingFields,isValidating:!A(r.validatingFields)}))},I=(e,t,i,r)=>{let n=p(u,e);if(n){let s=p(g,e,c(i)?p(d,e):i);c(s)||r&&r.defaultChecked||t?f(g,e,t?s:N(n._f)):et(e,s),v.mount&&L()}},$=(e,t,n,s,o)=>{let a=!1,l=!1,u={name:e};if(!i.disabled){if(!n||s){(D.isDirty||_.isDirty)&&(l=r.isDirty,r.isDirty=u.isDirty=Q(),a=l!==u.isDirty);let i=w(p(d,e),t);l=!!p(r.dirtyFields,e),i?R(r.dirtyFields,e):f(r.dirtyFields,e,!0),u.dirtyFields=r.dirtyFields,a=a||(D.dirtyFields||_.dirtyFields)&&!i!==l}if(n){let t=p(r.touchedFields,e);t||(f(r.touchedFields,e,n),u.touchedFields=r.touchedFields,a=a||(D.touchedFields||_.touchedFields)&&t!==n)}a&&o&&V.state.next(u)}return a?u:{}},q=async e=>{j(e,!0);let t=await i.resolver(g,i.context,((e,t,i,r)=>{let n={};for(let i of e){let e=p(t,i);e&&f(n,i,e._f)}return{criteriaMode:i,names:[...e],fields:n,shouldUseNativeValidation:r}})(e||x.mount,u,i.criteriaMode,i.shouldUseNativeValidation));return j(e),t},Y=async e=>{let{errors:t}=await q(e);if(e)for(let i of e){let e=p(t,i);e?f(r.errors,i,e):R(r.errors,i)}else r.errors=t;return t},J=async(e,t,n={valid:!0})=>{for(let s in e){let o=e[s];if(o){let{_f:e,...s}=o;if(e){let s=x.array.has(e.name),a=o._f&&H(o._f);a&&D.validatingFields&&j([e.name],!0);let l=await K(o,x.disabled,g,O,i.shouldUseNativeValidation&&!t,s);if(a&&D.validatingFields&&j([e.name]),l[e.name]&&(n.valid=!1,t))break;t||(p(l,e.name)?s?X(r.errors,l,e.name):f(r.errors,e.name,l[e.name]):R(r.errors,e.name))}A(s)||await J(s,t,n)}}return n.valid},Q=(e,t)=>!i.disabled&&(e&&t&&f(g,e,t),!w(ea(),d)),ee=(e,t,i)=>{var r,n;return r=x,n={...v.mount?g:c(t)?d:b(e)?{[e]:t}:t},b(e)?(i&&r.watch.add(e),p(n,e,t)):Array.isArray(e)?e.map(e=>(i&&r.watch.add(e),p(n,e))):(i&&(r.watchAll=!0),n)},et=(e,t,i={})=>{let r=p(u,e),n=t;if(r){let i=r._f;i&&(i.disabled||f(g,e,F(t,i)),n=k(i.ref)&&s(t)?"":t,"select-multiple"===i.ref.type?[...i.ref.options].forEac
1h(e=>e.selected=n.includes(e.value)):i.refs?"checkbox"===i.ref.type?i.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(n)?e.checked=!!n.find(t=>t===e.value):e.checked=n===e.value||!!n)}):i.refs.forEach(e=>e.checked=e.value===n):"file"===i.ref.type?i.ref.value="":(i.ref.value=n,i.ref.type||V.state.next({name:e,values:l(g)})))}(i.shouldDirty||i.shouldTouch)&&$(e,n,i.shouldTouch,i.shouldDirty,!0),i.shouldValidate&&eo(e)},ei=(e,t,i)=>{for(let r in t){if(!t.hasOwnProperty(r))return;let s=t[r],a=e+"."+r,l=p(u,a);(x.array.has(e)||o(s)||l&&!l._f)&&!n(s)?ei(a,s,i):et(a,s,i)}},er=(e,t,i={})=>{let n=p(u,e),o=x.array.has(e),a=l(t);f(g,e,a),o?(V.array.next({name:e,values:l(g)}),(D.isDirty||D.dirtyFields||_.isDirty||_.dirtyFields)&&i.shouldDirty&&V.state.next({name:e,dirtyFields:M(d,g),isDirty:Q(e,a)})):!n||n._f||s(a)?et(e,a,i):ei(e,a,i),z(e,x)&&V.state.next({...r,name:e}),V.state.next({name:v.mount?e:void 0,values:l(g)})},en=async e=>{v.mount=!0;let s=e.target,a=s.name,c=!0,h=p(u,a),d=e=>{c=Number.isNaN(e)||n(e)&&isNaN(e.getTime())||w(e,p(g,a,e))},y=U(i.mode),b=U(i.reValidateMode);if(h){let n,v,B,U,H=s.type?N(h._f):o(U=e)&&U.target?"checkbox"===U.target.type?U.target.checked:U.target.value:U,W=e.type===m.BLUR||e.type===m.FOCUS_OUT,X=!((B=h._f).mount&&(B.required||B.min||B.max||B.maxLength||B.minLength||B.pattern||B.validate))&&!i.resolver&&!p(r.errors,a)&&!h._f.deps||(E=W,S=p(r.touchedFields,a),P=r.isSubmitted,k=b,!(C=y).isOnAll&&(!P&&C.isOnTouch?!(S||E):(P?k.isOnBlur:C.isOnBlur)?!E:(P?!k.isOnChange:!C.isOnChange)||E)),Y=z(a,x,W);f(g,a,H),W?s&&s.readOnly||(h._f.onBlur&&h._f.onBlur(e),t&&t(0)):h._f.onChange&&h._f.onChange(e);let Z=$(a,H,W),Q=!A(Z)||Y;if(W||V.state.next({name:a,type:e.type,values:l(g)}),X)return(D.isValid||_.isValid)&&("onBlur"===i.mode?W&&L():W||L()),Q&&V.state.next({name:a,...Y?{}:Z});if(!W&&Y&&V.state.next({...r}),i.resolver){let{errors:e}=await q([a]);if(d(H),c){let t=G(r.errors,u,a),i=G(e,u,t.name||a);n=i.error,a=i.name,v=A(e)}}else j([a],!0),n=(await K(h,x.disabled,g,O,i.shouldUseNativeValidation))[a],j([a]),d(H),c&&(n?v=!1:(D.isValid||_.isValid)&&(v=await J(u,!0)));if(c){h._f.deps&&(!Array.isArray(h._f.deps)||h._f.deps.length>0)&&eo(h._f.deps);var E,S,P,k,C,M=a,F=v,I=n;let e=p(r.errors,M),s=(D.isValid||_.isValid)&&"boolean"==typeof F&&r.isValid!==F;if(i.delayError&&I){let e;e=()=>{f(r.errors,M,I),V.state.next({errors:r.errors})},(t=t=>{clearTimeout(T),T=setTimeout(e,t)})(i.delayError)}else clearTimeout(T),t=null,I?f(r.errors,M,I):R(r.errors,M);if((I?!w(e,I):e)||!A(Z)||s){let e={...Z,...s&&"boolean"==typeof F?{isValid:F}:{},errors:r.errors,name:M};r={...r,...e},V.state.next(e)}}}},es=(e,t)=>{if(p(r.errors,t)&&e.focus)return e.focus(),1},eo=async(e,t={})=>{let n,s,o=E(e);if(i.resolver){let t=await Y(c(e)?e:o);n=A(t),s=e?!o.some(e=>p(t,e)):n}else e?((s=(await Promise.all(o.map(async e=>{let t=p(u,e);return await J(t&&t._f?{[e]:t}:t)}))).every(Boolean))||r.isValid)&&L():s=n=await J(u);return V.state.next({...!b(e)||(D.isValid||_.isValid)&&n!==r.isValid?{}:{name:e},...i.resolver||!e?{isValid:n}:{},errors:r.errors}),t.shouldFocus&&!s&&W(u,es,e?o:x.mount),s},ea=(e,t)=>{let i={...v.mount?g:d};return t&&(i=function e(t,i){let r={};for(let n in t)if(t.hasOwnProperty(n)){let s=t[n],a=i[n];if(s&&o(s)&&a){let t=e(s,a);o(t)&&(r[n]=t)}else t[n]&&(r[n]=a)}return r}(t.dirtyFields?r.dirtyFields:r.touchedFields,i)),c(e)?i:b(e)?p(i,e):e.map(e=>p(i,e))},el=(e,t)=>({invalid:!!p((t||r).errors,e),isDirty:!!p((t||r).dirtyFields,e),error:p((t||r).errors,e),isValidating:!!p(r.validatingFields,e),isTouched:!!p((t||r).touchedFields,e)}),eu=(e,t,i)=>{let n=(p(u,e,{_f:{}})._f||{}).ref,{ref:s,message:o,type:a,...l}=p(r.errors,e)||{};f(r.errors,e,{...l,...t,ref:n}),V.state.next({name:e,errors:r.errors,isValid:!1}),i&&i.shouldFocus&&n&&n.focus&&n.focus()},ec=e=>V.state.subscribe({next:t=>{let i,n,s;i=e.name,n=t.name,s=e.exact,(!i||!n||i===n||E(i).some(e=>e&&(s?e===n:e.startsWith(n)||n.startsWith(e))))&&((e,t,i,r)=>{i(e);let{name:n,...s}=e;return A(s)||Object.keys(s).length>=Object.keys(t).length||Object.keys(s).find(e=>t[e]===(!r||y.all))})(t,e.formState||D,ev,e.reRenderRoot)&&e.callback({values:{...g},...r,...t,defaultValues:d})}}).unsubscribe,eh=(e,t={})=>
1{for(let n of e?E(e):x.mount)x.mount.delete(n),x.array.delete(n),t.keepValue||(R(u,n),R(g,n)),t.keepError||R(r.errors,n),t.keepDirty||R(r.dirtyFields,n),t.keepTouched||R(r.touchedFields,n),t.keepIsValidating||R(r.validatingFields,n),i.shouldUnregister||t.keepDefaultValue||R(d,n);V.state.next({values:l(g)}),V.state.next({...r,...!t.keepDirty?{}:{isDirty:Q()}}),t.keepIsValid||L()},ed=({disabled:e,name:t})=>{("boolean"==typeof e&&v.mount||e||x.disabled.has(t))&&(e?x.disabled.add(t):x.disabled.delete(t))},ep=(e,t={})=>{let r=p(u,e),n="boolean"==typeof t.disabled||"boolean"==typeof i.disabled;return(f(u,e,{...r||{},_f:{...r&&r._f?r._f:{ref:{name:e}},name:e,mount:!0,...t}}),x.mount.add(e),r)?ed({disabled:"boolean"==typeof t.disabled?t.disabled:i.disabled,name:e}):I(e,!0,t.value),{...n?{disabled:t.disabled||i.disabled}:{},...i.progressive?{required:!!t.required,min:B(t.min),max:B(t.max),minLength:B(t.minLength),maxLength:B(t.maxLength),pattern:B(t.pattern)}:{},name:e,onChange:en,onBlur:en,ref:n=>{if(n){let i;ep(e,t),r=p(u,e);let s=c(n.value)&&n.querySelectorAll&&n.querySelectorAll("input,select,textarea")[0]||n,o="radio"===(i=s).type||"checkbox"===i.type,a=r._f.refs||[];(o?a.find(e=>e===s):s===r._f.ref)||(f(u,e,{_f:{...r._f,...o?{refs:[...a.filter(C),s,...Array.isArray(p(d,e))?[{}]:[]],ref:{type:s.type,name:e}}:{ref:s}}}),I(e,!1,void 0,s))}else{let n;(r=p(u,e,{}))._f&&(r._f.mount=!1),(i.shouldUnregister||t.shouldUnregister)&&(n=x.array,!n.has(e.substring(0,e.search(/\.\d+(\.|$)/))||e)||!v.action)&&x.unMount.add(e)}}}},ef=()=>i.shouldFocusError&&W(u,es,x.mount),em=(e,t)=>async n=>{let s;n&&(n.preventDefault&&n.preventDefault(),n.persist&&n.persist());let o=l(g);if(V.state.next({isSubmitting:!0}),i.resolver){let{errors:e,values:t}=await q();r.errors=e,o=l(t)}else await J(u);if(x.disabled.size)for(let e of x.disabled)R(o,e);if(R(r.errors,"root"),A(r.errors)){V.state.next({errors:{}});try{await e(o,n)}catch(e){s=e}}else t&&await t({...r.errors},n),ef(),setTimeout(ef);if(V.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:A(r.errors)&&!s,submitCount:r.submitCount+1,errors:r.errors}),s)throw s},ey=(e,t={})=>{let n=e?l(e):d,s=l(n),o=A(e),h=o?d:s;if(t.keepDefaultValues||(d=n),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([...x.mount,...Object.keys(M(d,g))])))p(r.dirtyFields,e)?f(h,e,p(g,e)):er(e,p(h,e));else{if(a&&c(e))for(let e of x.mount){let t=p(u,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(k(e)){let t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(let e of x.mount)er(e,p(h,e));else u={}}g=i.shouldUnregister?t.keepDefaultValues?l(d):{}:l(h),V.array.next({values:{...h}}),V.state.next({values:{...h}})}x={mount:t.keepDirtyValues?x.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},v.mount=!D.isValid||!!t.keepIsValid||!!t.keepDirtyValues,v.watch=!!i.shouldUnregister,V.state.next({submitCount:t.keepSubmitCount?r.submitCount:0,isDirty:!o&&(t.keepDirty?r.isDirty:!!(t.keepDefaultValues&&!w(e,d))),isSubmitted:!!t.keepIsSubmitted&&r.isSubmitted,dirtyFields:o?{}:t.keepDirtyValues?t.keepDefaultValues&&g?M(d,g):r.dirtyFields:t.keepDefaultValues&&e?M(d,e):t.keepDirty?r.dirtyFields:{},touchedFields:t.keepTouched?r.touchedFields:{},errors:t.keepErrors?r.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&r.isSubmitSuccessful,isSubmitting:!1,defaultValues:d})},eg=(e,t)=>ey(P(e)?e(g):e,t),ev=e=>{r={...r,...e}},eb={control:{register:ep,unregister:eh,getFieldState:el,handleSubmit:em,setError:eu,_subscribe:ec,_runSchema:q,_focusError:ef,_getWatch:ee,_getDirty:Q,_setValid:L,_setFieldArray:(e,t=[],n,s,o=!0,a=!0)=>{if(s&&n&&!i.disabled){if(v.action=!0,a&&Array.isArray(p(u,e))){let t=n(p(u,e),s.argA,s.argB);o&&f(u,e,t)}if(a&&Array.isArray(p(r.errors,e))){let t,i=n(p(r.errors,e),s.argA,s.argB);o&&f(r.errors,e,i),h(p(t=r.errors,e)).length||R(t,e)}if((D.touchedFields||_.touchedFields)&&a&&Array.isArray(p(r.touchedFields,e))){let t=n(p(r.touchedFields,e),s.argA,s.argB);o&&f(r.touchedFields,e,t)}(D.dirtyFields||_.dirtyFields)&&(r.dirtyFields=M(d,g)),V.state.next({name:e,isDirty:Q(e,t),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else f(g,e,t)},_setDisabledField:ed,_setErrors:e=>{r.errors=e,V.state.next({errors:r.errors,isValid:!1})},_getFieldArray:e=>h(p(v.mount?g:d,e,i.shouldUnregister?p(d,e,[]):[])),_reset:ey,_resetDefaultValues:()=>P(i.defaultValues)&&i.defaultValues().then(e=>{eg(e,i.resetOptions),V.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of x.unMount){let t=p(u,e);t&&(t._f.refs?t._f.refs.every(e=>!C(e)):!C(t._f.ref))&&eh(e)}x.unMount=new Set},_disableForm:e=>{"boolean"==typeof e&&(V.state.next({disabled:e}),W(u,(t,i)=>{let r=p(u,i);r&&(t.disabled=r._f.disabled||e,Array.isArray(r._f.refs)&&r._f.refs.forEac
1h(t=>{t.disabled=r._f.disabled||e}))},0,!1))},_subjects:V,_proxyFormState:D,get _fields(){return u},get _formValues(){return g},get _state(){return v},set _state(value){v=value},get _defaultValues(){return d},get _names(){return x},set _names(value){x=value},get _formState(){return r},get _options(){return i},set _options(value){i={...i,...value}}},subscribe:e=>(v.mount=!0,_={..._,...e.formState},ec({...e,formState:_})),trigger:eo,register:ep,handleSubmit:em,watch:(e,t)=>P(e)?V.state.subscribe({next:i=>"values"in i&&e(ee(void 0,t),i)}):ee(e,t,!0),setValue:er,getValues:ea,reset:eg,resetField:(e,t={})=>{p(u,e)&&(c(t.defaultValue)?er(e,l(p(d,e))):(er(e,t.defaultValue),f(d,e,l(t.defaultValue))),t.keepTouched||R(r.touchedFields,e),t.keepDirty||(R(r.dirtyFields,e),r.isDirty=t.defaultValue?Q(e,l(p(d,e))):Q()),!t.keepError&&(R(r.errors,e),D.isValid&&L()),V.state.next({...r}))},clearErrors:e=>{e&&E(e).forEach(e=>R(r.errors,e)),V.state.next({errors:e?r.errors:{}})},unregister:eh,setError:eu,setFocus:(e,t={})=>{let i=p(u,e),r=i&&i._f;if(r){let e=r.refs?r.refs[0]:r.ref;e.focus&&(e.focus(),t.shouldSelect&&P(e.select)&&e.select())}},getFieldState:el};return{...eb,formControl:eb}}(e);t.current={...r,formState:u}}let g=t.current.control;return g._options=e,v(()=>{let e=g._subscribe({formState:g._proxyFormState,callback:()=>d({...g._formState}),reRenderRoot:!0});return d(e=>({...e,isReady:!0})),g._formState.isReady=!0,e},[g]),r.useEffect(()=>g._disableForm(e.disabled),[g,e.disabled]),r.useEffect(()=>{e.mode&&(g._options.mode=e.mode),e.reValidateMode&&(g._options.reValidateMode=e.reValidateMode)},[g,e.mode,e.reValidateMode]),r.useEffect(()=>{e.errors&&(g._setErrors(e.errors),g._focusError())},[g,e.errors]),r.useEffect(()=>{e.shouldUnregister&&g._subjects.state.next({values:g._getWatch()})},[g,e.shouldUnregister]),r.useEffect(()=>{if(g._proxyFormState.isDirty){let e=g._getDirty();e!==u.isDirty&&g._subjects.state.next({isDirty:e})}},[g,u.isDirty]),r.useEffect(()=>{e.values&&!w(e.values,i.current)?(g._reset(e.values,{keepFieldsRef:!0,...g._options.resetOptions}),i.current=e.values,d(e=>({...e}))):g._resetDefaultValues()},[g,e.values]),r.useEffect(()=>{g._state.mount||(g._setValid(),g._state.mount=!0),g._state.watch&&(g._state.watch=!1,g._subjects.state.next({...g._formState})),g._removeUnmounted()}),t.current.formState=((e,t,i,r=!0)=>{let n={defaultValues:t._defaultValues};for(let s in e)Object.defineProperty(n,s,{get:()=>(t._proxyFormState[s]!==y.all&&(t._proxyFormState[s]=!r||y.all),i&&(i[s]=!0),e[s])});return n})(u,g),t.current}},9006:function(e,t,i){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");return e?(0,s.default)((0,n.default)(e,(null==t?void 0:t.htmlparser2)||a),t):[]};var n=r(i(2357));t.htmlToDOM=n.default,t.attributesToProps=r(i(3920)).default;var s=r(i(5042));t.domToReact=s.default;var o=i(3219);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return o.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return o.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return o.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return o.Text}});var a={lowerCaseAttributeNames:!1}},9038:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,i,p=(e=(0,n.escapeSpecialCharacters)(e)).match(l),f=p&&p[1]?p[1].toLowerCase():"";switch(f){case s:var m=d(e);if(!u.test(e)){var y=m.querySelector(o);null==(t=null==y?void 0:y.parentNode)||t.removeChild(y)}if(!c.test(e)){var y=m.querySelector(a);null==(i=null==y?void 0:y.parentNode)||i.removeChild(y)}return m.querySelectorAll(s);case o:case a:var g=h(e).querySelectorAll(f);if(c.test(e)&&u.test(e))return g[0].parentNode.childNodes;return g;default:if(r)return r(e);var y=h(e,a).querySelector(a);return y.childNodes}};var r,n=i(7121),s="html",o="head",a="body",l=/<([a-zA-Z]+[0-9]?)/,u=/<head[^]*>/i,c=/<body[^]*>/i,h=function(e,t){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},d=function(e,t){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},p="object"==typeof window&&window.DOMParser;if("function"==typeof p){var f=new p;h=d=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),f.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var m=document.implementation.createHTMLDocument();h=function(e,t){if(t){var i=m.documentElement.querySelector(t);return i&&(i.innerHTML=e),m}return m.documentElement.innerHTML=e,m}}var y="object"==typeof document&&document.createElement("template");y&&y.content&&(r=function(e){return y.innerHTML=e,y.content.childNodes})},9706:(e,t,i)=>{"use strict";var r=i(3717);function n(){}function s(){}s.resetWarningCache=n,e.exports=function(){function e(e,t,i,n,s,o){if(o!==r){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
1:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:n};return i.PropTypes=i,i}}}]);

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.