1(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[403],{99960:function(t,e){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0,function(t){t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"}(n=e.ElementType||(e.ElementType={})),e.isTag=function(t){return t.type===n.Tag||t.type===n.Script||t.type===n.Style},e.Root=n.Root,e.Text=n.Text,e.Directive=n.Directive,e.Comment=n.Comment,e.Script=n.Script,e.Style=n.Style,e.Tag=n.Tag,e.CDATA=n.CDATA,e.Doctype=n.Doctype},60885:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES=void 0,e.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"],e.CASE_SENSITIVE_TAG_NAMES_MAP=e.CASE_SENSITIVE_TAG_NAMES.reduce((function(t,e){return t[e.toLowerCase()]=e,t}),{})},38276:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n="html",i="head",o="body",r=/<([a-zA-Z]+[0-9]?)/,s=/<head[^]*>/i,a=/<body[^]*>/i,l=function(t,e){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},c=function(t,e){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},u="object"==typeof window&&window.DOMParser;if("function"==typeof u){var h=new u;l=c=function(t,e){return e&&(t="<".concat(e,">").concat(t,"</").concat(e,">")),h.parseFromString(t,"text/html")}}if("object"==typeof document&&document.implementation){var d=document.implementation.createHTMLDocument();l=function(t,e){if(e){var n=d.documentElement.querySelector(e);return n&&(n.innerHTML=t),d}return d.documentElement.innerHTML=t,d}}var p,m="object"==typeof document&&document.createElement("template");m&&m.content&&(p=function(t){return m.innerHTML=t,m.content.childNodes}),e.default=function(t){var e,u,h=t.match(r),d=h&&h[1]?h[1].toLowerCase():"";switch(d){case n:var m=c(t);if(!s.test(t))null===(e=null==(g=m.querySelector(i))?void 0:g.parentNode)||void 0===e||e.removeChild(g);if(!a.test(t))null===(u=null==(g=m.querySelector(o))?void 0:g.parentNode)||void 0===u||u.removeChild(g);return m.querySelectorAll(n);case i:case o:var f=l(t).querySelectorAll(d);return a.test(t)&&s.test(t)?f[0].parentNode.childNodes:f;default:return p?p(t):(g=l(t,o).querySelector(o)).childNodes;var g}}},14152:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=i(n(38276)),r=n(1507),s=/<(![a-zA-Z\s]+)>/;e.default=function(t){if("string"!=typeof t)throw new TypeError("First argument must be a string");if(!t)return[];var e=t.match(s),n=e?e[1]:void 0;return(0,r.formatDOM)((0,o.default)(t),null,n)}},1507:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatDOM=e.formatAttributes=void 0;var i=n(44584),o=n(60885);function r(t){for(var e={},n=0,i=t.length;n<i;n++){var o=t[n];e[o.name]=o.value}return e}function s(t){var e=function(t){return o.CASE_SENSITIVE_TAG_NAMES_MAP[t]}(t=t.toLowerCase());return e||t}e.formatAttributes=r,e.formatDOM=function t(e,n,o){void 0===n&&(n=null);for(var a,l=[],c=0,u=e.length;c<u;c++){var h=e[c];switch(h.nodeType){case 1:var d=s(h.nodeName);(a=new i.Element(d,r(h.attributes))).children=t("template"===d?h.content.childNodes:h.childNodes,a);break;case 3:a=new i.Text(h.nodeValue);break;case 8:a=new i.Comment(h.nodeValue);break;default:continue}var p=l[c-1]||null;p&&(p.next=a),a.parent=n,a.prev=p,a.next=null,l.push(a)}return o&&((a=new i.ProcessingInstruction(o.substring(0,o.indexOf(" ")).toLowerCase(),o)).next=l[0]||null,a.parent=n,l.unshift(a),l[1]&&(l[1].prev=l[0])),l}},44584:function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(e,n);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,i,o)}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),o=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n
vendor: 4,226 bytes, line 1
1)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var r=n(99960),s=n(21642);o(n(21642),e);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function t(t,e,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof e&&(n=e,e=a),"object"==typeof t&&(e=t,t=void 0),this.callback=null!=t?t:null,this.options=null!=e?e:a,this.elementCB=null!=n?n:null}return t.prototype.onparserinit=function(t){this.parser=t},t.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},t.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},t.prototype.onerror=function(t){this.handleCallback(t)},t.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)},t.prototype.onopentag=function(t,e){var n=this.options.xmlMode?r.ElementType.Tag:void 0,i=new s.Element(t,e,void 0,n);this.addNode(i),this.tagStack.push(i)},t.prototype.ontext=function(t){var e=this.lastNode;if(e&&e.type===r.ElementType.Text)e.data+=t,this.options.withEndIndices&&(e.endIndex=this.parser.endIndex);else{var n=new s.Text(t);this.addNode(n),this.lastNode=n}},t.prototype.oncomment=function(t){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment)this.lastNode.data+=t;else{var e=new s.Comment(t);this.addNode(e),this.lastNode=e}},t.prototype.oncommentend=function(){this.lastNode=null},t.prototype.oncdatastart=function(){var t=new s.Text(""),e=new s.CDATA([t]);this.addNode(e),t.parent=e,this.lastNode=t},t.prototype.oncdataend=function(){this.lastNode=null},t.prototype.onprocessinginstruction=function(t,e){var n=new s.ProcessingInstruction(t,e);this.addNode(n)},t.prototype.handleCallback=function(t){if("function"==typeof this.callback)this.callback(t,this.dom);else if(t)throw t},t.prototype.addNode=function(t){var e=this.tagStack[this.tagStack.length-1],n=e.children[e.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),e.children.push(t),n&&(t.prev=n,n.next=t),t.parent=e,this.lastNode=null},t}();e.DomHandler=l,e.default=l},21642:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.cloneNode=e.hasChildren=e.isDocument=e.isDirective=e.isComment=e.isText=e.isCDATA=e.isTag=e.Element=e.Document=e.CDATA=e.NodeWithChildren=e.ProcessingInstruction=e.Comment=e.Text=e.DataNode=e.Node=void 0;var s=n(99960),a=function(){function t(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),t.prototype.cloneNode=function(t){return void 0===t&&(t=!1),P(this,t)},t}();e.Node=a;var l=function(t){function e(e){var n=t.call(this)||this;return n.data=e,n}return o(e,t),Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.data},set:function(t){this.data=t}
vendor: 4,336 bytes, line 1
1,enumerable:!1,configurable:!0}),e}(a);e.DataNode=l;var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=s.ElementType.Text,e}return o(e,t),Object.defineProperty(e.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),e}(l);e.Text=c;var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=s.ElementType.Comment,e}return o(e,t),Object.defineProperty(e.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),e}(l);e.Comment=u;var h=function(t){function e(e,n){var i=t.call(this,n)||this;return i.name=e,i.type=s.ElementType.Directive,i}return o(e,t),Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),e}(l);e.ProcessingInstruction=h;var d=function(t){function e(e){var n=t.call(this)||this;return n.children=e,n}return o(e,t),Object.defineProperty(e.prototype,"firstChild",{get:function(){var t;return null!==(t=this.children[0])&&void 0!==t?t:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.children},set:function(t){this.children=t},enumerable:!1,configurable:!0}),e}(a);e.NodeWithChildren=d;var p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=s.ElementType.CDATA,e}return o(e,t),Object.defineProperty(e.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),e}(d);e.CDATA=p;var m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=s.ElementType.Root,e}return o(e,t),Object.defineProperty(e.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),e}(d);e.Document=m;var f=function(t){function e(e,n,i,o){void 0===i&&(i=[]),void 0===o&&(o="script"===e?s.ElementType.Script:"style"===e?s.ElementType.Style:s.ElementType.Tag);var r=t.call(this,i)||this;return r.name=e,r.attribs=n,r.type=o,r}return o(e,t),Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name},set:function(t){this.name=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var t=this;return Object.keys(this.attribs).map((function(e){var n,i;return{name:e,value:t.attribs[e],namespace:null===(n=t["x-attribsNamespace"])||void 0===n?void 0:n[e],prefix:null===(i=t["x-attribsPrefix"])||void 0===i?void 0:i[e]}}))},enumerable:!1,configurable:!0}),e}(d);function g(t){return(0,s.isTag)(t)}function y(t){return t.type===s.ElementType.CDATA}function v(t){return t.type===s.ElementType.Text}function x(t){return t.type===s.ElementType.Comment}function b(t){return t.type===s.ElementType.Directive}function T(t){return t.type===s.ElementType.Root}function P(t,e){var n;if(void 0===e&&(e=!1),v(t))n=new c(t.data);else if(x(t))n=new u(t.data);else if(g(t)){var i=e?E(t.children):[],o=new f(t.name,r({},t.attribs),i);i.forEach((function(t){return t.parent=o})),null!=t.namespace&&(o.namespace=t.namespace),t["x-attribsNamespace"]&&(o["x-attribsNamespace"]=r({},t["x-attribsNamespace"])),t["x-attribsPrefix"]&&(o["x-attribsPrefix"]=r({},t["x-attribsPrefix"])),n=o}else if(y(t)){i=e?E(t.children):[];var s=new p(i);i.forEach((function(t){return t.parent=s})),n=s}else if(T(t)){i=e?E(t.children):[];var a=new m(i);i.forEach((function(t){return t.parent=a})),t["x-mode"]&&(a["x-mode"]=t["x-mode"]),n=a}else{if(!b(t))throw new Error("Not implemented yet: ".concat(t.type));var l=new h(t.name,t.data);null!=t["x-name"]&&(l["x-name"]=t["x-name"],l["x-publicId"]=t["x-publicId"],l["x-systemId"]=t["x-systemId"]),n=l}return n.startIndex=t.startIndex,n.endIndex=t.endIndex,null!=t.sourceCodeLocation&&(n.sourceCodeLocation=t.sourceCodeLocation),n}function E(t){for(var e=t.map((function(t){return P(t,!0)})),n=1;n<e.length;n++)e[n].prev=e[n-1],e[n-1].next=e[n];return e}e.Element=f,e.isTag=g,e.isCDATA=y,e.isText=v,e.isComment=x,e.isDirective=b,e.isDocument=T,e.hasChildren=function(t){return Object.prototype.hasOwnProperty.call(t,"children")},e.cloneNode=P},50484:function(t,e,n){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0});var i=n(25726),o=n(74606),r=["checked","value"],s=["input","select","textarea"],a={reset:!0,submit:!0};function l(t){return i.possibleStandardNames[t]}e.default=function(t,e){void 0===t&&(t={});var n={},c=Boolean(t.type&&a[t.type]);for(var u in t){var h=t[u];if((0,i.isCustomAttribute)(u))n[u]=h;else{var d=u.toLowerCase(),p=l(d);if(p){var m=(0,i.getPropertyInfo)(p);switch(r.includes(p)&&s.includes(e)&&!c&&(p=l("default"+d)),n[p]=h,m&&m.type){case i.BOOLEAN:n[p]=!0;break;case i.OVERLOADED_BOOLEAN:""===h&&(n[p]=!0)}}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(n[u]=h)}}return(0,o.setStyleProp)(t.style,n),n}},53670:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(67294),r=i(n(50484)),s=n(74606),a={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement};function l(t){return s.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===t.type&&(0,s.isCustomComponent)(t.name,t.attribs)}e.default=function t(e,n){void 0===n&&(n={});for(var i=[],o="function"==typeof n.replace,c=n.transform||s.returnFirstArg,u=n.library||a,h=u.cloneElement,d=u.createElement,p=u.isValidElement,m=e.length,f=0;f<m;f++){var g=e[f];if(o){var y=n.replace(g,f);if(p(y)){m>1&&(y=h(y,{key:y.key||f})),i.push(c(y,g,f));continue}}if("text"!==g.type){var v=g,x={};l(v)?((0,s.setStyleProp)(v.attribs.style,v.attribs),x=v.attribs):v.attribs&&(x=(0,r.default)(v.attribs,v.name));var b=void 0;switch(g.type){case"script":case"style":g.children[0]&&(x.dangerouslySetInnerHTML={__html:g.children[0].data});break;case"tag":"textarea"===g.name&&g.children[0]?x.defaultValue=g.children[0].data:g.children&&g.children.length&&(b=t(g.children,n));break;default:continue}m>1&&(x.key=f),i.push(c(d(g.name,x,b),g,f))}else{var T=!g.data.trim().length;if(T&&g.parent&&!(0,s.canTextBeChildOfNode)(g.parent))continue;if(n.trim&&T)continue;i.push(c(g.data,g,f))}}return 1===i.length?i[0]:i}},83426:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.htmlToDOM=e.domToReact=e.attributesToProps=e.Text=e.ProcessingInstruction=e.Element=e.Comment=void 0;var o=i(n(14152));e.htmlToDOM=o.default;var r=i(n(50484));e.attributesToProps=r.default;var s=i(n(53670));e.domToReact=s.default;var a=n(87384);Object.defineProperty(e,"Comment",{enumerable:!0,get:function(){return a.Comment}}),Object.defineProperty(e,"Element",{enumerable:!0,get:function(){return a.Element}}),Object.defineProperty(e,"ProcessingInstruction",{enumerable:!0,get:function(){return a.ProcessingInstruction}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return a.Text}});var l={lowerCaseAttributeNames:!1};e.default=function(t,e){if("string"!=typeof t)throw new TypeError("First argument must be a string");return t?(0,s.default)((0,o.default)(t,(null==e?void 0:e.htmlparser2)||l),e):[]}},74606:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.returnFirstArg=e.canTextBeChildOfNode=e.ELEMENTS_WITH_NO_TEXT_CHILDREN=e.PRESERVE_CUSTOM_ATTRIBUTES=e.setStyleProp=e.isCustomComponent=void 0;var o=n(67294),r=i(n(41476)),s=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);e.isCustomComponent=function(t,e){return t.includes("-")?!s.has(t):Boolean(e&&"string"==typeof e.is)};var a={reactCompat:!0};e.setStyleProp=function(t,e){if("string"==typeof t)if(t.trim())try{e.style=(0,r.default)(t,a)}catch(n){e.style={}}else e.style={}},e.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,e.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.canTextBeChildOfNode=function(t){return!e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(t.name)};e.returnFirstArg=function(t){return t}},87384:function(t,e,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(t,e,n,i){void 0===i&&(i=n);var o=Object.getOwnPropertyDescriptor(e,n);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,i,o)}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]}),o=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||i(e,t,n
vendor: 4,223 bytes, line 1
1)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var r=n(99960),s=n(5079);o(n(5079),e);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function t(t,e,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof e&&(n=e,e=a),"object"==typeof t&&(e=t,t=void 0),this.callback=null!=t?t:null,this.options=null!=e?e:a,this.elementCB=null!=n?n:null}return t.prototype.onparserinit=function(t){this.parser=t},t.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},t.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},t.prototype.onerror=function(t){this.handleCallback(t)},t.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)},t.prototype.onopentag=function(t,e){var n=this.options.xmlMode?r.ElementType.Tag:void 0,i=new s.Element(t,e,void 0,n);this.addNode(i),this.tagStack.push(i)},t.prototype.ontext=function(t){var e=this.lastNode;if(e&&e.type===r.ElementType.Text)e.data+=t,this.options.withEndIndices&&(e.endIndex=this.parser.endIndex);else{var n=new s.Text(t);this.addNode(n),this.lastNode=n}},t.prototype.oncomment=function(t){if(this.lastNode&&this.lastNode.type===r.ElementType.Comment)this.lastNode.data+=t;else{var e=new s.Comment(t);this.addNode(e),this.lastNode=e}},t.prototype.oncommentend=function(){this.lastNode=null},t.prototype.oncdatastart=function(){var t=new s.Text(""),e=new s.CDATA([t]);this.addNode(e),t.parent=e,this.lastNode=t},t.prototype.oncdataend=function(){this.lastNode=null},t.prototype.onprocessinginstruction=function(t,e){var n=new s.ProcessingInstruction(t,e);this.addNode(n)},t.prototype.handleCallback=function(t){if("function"==typeof this.callback)this.callback(t,this.dom);else if(t)throw t},t.prototype.addNode=function(t){var e=this.tagStack[this.tagStack.length-1],n=e.children[e.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),e.children.push(t),n&&(t.prev=n,n.next=t),t.parent=e,this.lastNode=null},t}();e.DomHandler=l,e.default=l},5079:function(t,e,n){"use strict";var i,o=this&&this.__extends||(i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.cloneNode=e.hasChildren=e.isDocument=e.isDirective=e.isComment=e.isText=e.isCDATA=e.isTag=e.Element=e.Document=e.CDATA=e.NodeWithChildren=e.ProcessingInstruction=e.Comment=e.Text=e.DataNode=e.Node=void 0;var s=n(99960),a=function(){function t(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),t.prototype.cloneNode=function(t){return void 0===t&&(t=!1),P(this,t)},t}();e.Node=a;var l=function(t){function e(e){var n=t.call(this)||this;return n.data=e,n}return o(e,t),Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.data},set:function(t){this.data=t}
vendor: 4,869 bytes, line 1
1,enumerable:!1,configurable:!0}),e}(a);e.DataNode=l;var c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=s.ElementType.Text,e}return o(e,t),Object.defineProperty(e.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),e}(l);e.Text=c;var u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=s.ElementType.Comment,e}return o(e,t),Object.defineProperty(e.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),e}(l);e.Comment=u;var h=function(t){function e(e,n){var i=t.call(this,n)||this;return i.name=e,i.type=s.ElementType.Directive,i}return o(e,t),Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),e}(l);e.ProcessingInstruction=h;var d=function(t){function e(e){var n=t.call(this)||this;return n.children=e,n}return o(e,t),Object.defineProperty(e.prototype,"firstChild",{get:function(){var t;return null!==(t=this.children[0])&&void 0!==t?t:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.children},set:function(t){this.children=t},enumerable:!1,configurable:!0}),e}(a);e.NodeWithChildren=d;var p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=s.ElementType.CDATA,e}return o(e,t),Object.defineProperty(e.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),e}(d);e.CDATA=p;var m=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=s.ElementType.Root,e}return o(e,t),Object.defineProperty(e.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),e}(d);e.Document=m;var f=function(t){function e(e,n,i,o){void 0===i&&(i=[]),void 0===o&&(o="script"===e?s.ElementType.Script:"style"===e?s.ElementType.Style:s.ElementType.Tag);var r=t.call(this,i)||this;return r.name=e,r.attribs=n,r.type=o,r}return o(e,t),Object.defineProperty(e.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name},set:function(t){this.name=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var t=this;return Object.keys(this.attribs).map((function(e){var n,i;return{name:e,value:t.attribs[e],namespace:null===(n=t["x-attribsNamespace"])||void 0===n?void 0:n[e],prefix:null===(i=t["x-attribsPrefix"])||void 0===i?void 0:i[e]}}))},enumerable:!1,configurable:!0}),e}(d);function g(t){return(0,s.isTag)(t)}function y(t){return t.type===s.ElementType.CDATA}function v(t){return t.type===s.ElementType.Text}function x(t){return t.type===s.ElementType.Comment}function b(t){return t.type===s.ElementType.Directive}function T(t){return t.type===s.ElementType.Root}function P(t,e){var n;if(void 0===e&&(e=!1),v(t))n=new c(t.data);else if(x(t))n=new u(t.data);else if(g(t)){var i=e?E(t.children):[],o=new f(t.name,r({},t.attribs),i);i.forEach((function(t){return t.parent=o})),null!=t.namespace&&(o.namespace=t.namespace),t["x-attribsNamespace"]&&(o["x-attribsNamespace"]=r({},t["x-attribsNamespace"])),t["x-attribsPrefix"]&&(o["x-attribsPrefix"]=r({},t["x-attribsPrefix"])),n=o}else if(y(t)){i=e?E(t.children):[];var s=new p(i);i.forEach((function(t){return t.parent=s})),n=s}else if(T(t)){i=e?E(t.children):[];var a=new m(i);i.forEach((function(t){return t.parent=a})),t["x-mode"]&&(a["x-mode"]=t["x-mode"]),n=a}else{if(!b(t))throw new Error("Not implemented yet: ".concat(t.type));var l=new h(t.name,t.data);null!=t["x-name"]&&(l["x-name"]=t["x-name"],l["x-publicId"]=t["x-publicId"],l["x-systemId"]=t["x-systemId"]),n=l}return n.startIndex=t.startIndex,n.endIndex=t.endIndex,null!=t.sourceCodeLocation&&(n.sourceCodeLocation=t.sourceCodeLocation),n}function E(t){for(var e=t.map((function(t){return P(t,!0)})),n=1;n<e.length;n++)e[n].prev=e[n-1],e[n-1].next=e[n];return e}e.Element=f,e.isTag=g,e.isCDATA=y,e.isText=v,e.isComment=x,e.isDirective=b,e.isDocument=T,e.hasChildren=function(t){return Object.prototype.hasOwnProperty.call(t,"children")},e.cloneNode=P},25726:function(t,e,n){"use strict";function i(t,e,n,i,o,r,s){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=r,this.removeEmptyString=s}const o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((t=>{o[t]=new i(t,0,!1,t,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEac
1h((([t,e])=>{o[t]=new i(t,1,!1,e,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((t=>{o[t]=new i(t,2,!1,t.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((t=>{o[t]=new i(t,2,!1,t,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((t=>{o[t]=new i(t,3,!1,t.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((t=>{o[t]=new i(t,3,!0,t,null,!1,!1)})),["capture","download"].forEach((t=>{o[t]=new i(t,4,!1,t,null,!1,!1)})),["cols","rows","size","span"].forEach((t=>{o[t]=new i(t,6,!1,t,null,!1,!1)})),["rowSpan","start"].forEach((t=>{o[t]=new i(t,5,!1,t.toLowerCase(),null,!1,!1)}));const r=/[\-\:]([a-z])/g,s=t=>t[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((t=>{const e=t.replace(r,s);o[e]=new i(e,1,!1,t,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((t=>{const e=t.replace(r,s);o[e]=new i(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((t=>{const e=t.replace(r,s);o[e]=new i(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((t=>{o[t]=new i(t,1,!1,t.toLowerCase(),null,!1,!1)}));o.xlinkHref=new i("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((t=>{o[t]=new i(t,1,!1,t.toLowerCase(),null,!0,!0)}));const{CAMELCASE:a,SAME:l,possibleStandardNames:c}=n(78229),u=RegExp.prototype.test.bind(new 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(c).reduce(((t,e)=>{const n=c[e];return n===l?t[e]=e:n===a?t[e.toLowerCase()]=e:t[e]=n,t}),{});e.BOOLEAN=3,e.BOOLEANISH_STRING=2,e.NUMERIC=5,e.OVERLOADED_BOOLEAN=4,e.POSITIVE_NUMERIC=6,e.RESERVED=0,e.STRING=1,e.getPropertyInfo=function(t){return o.hasOwnProperty(t)?o[t]:null},e.isCustomAttribute=u,e.possibleStandardNames=h},78229:function(t,e){e.SAME=0;e.CAMELCASE=1,e.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}},41476:function(t,e,n){"use strict";var i=(this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}})(n(17214)),o=n(26678);function r(t,e){var n={};return t&&"string"==typeof t?((0,i.default)(t,(function(t,i){t&&i&&(n[(0,o.camelCase)(t,e)]=i)})),n):n}r.default=r,t.exports=r},26678:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,i=/-([a-z])/g,o=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,a=function(t,e){return e.toUpperCase()},l=function(t,e){return"".concat(e,"-")};e.camelCase=function(t,e){return void 0===e&&(e={}),function(t){return!t||o.test(t)||n.test(t)}(t)?t:(t=t.toLowerCase(),(t=e.reactCompat?t.replace(s,l):t.replace(r,l)).replace(i,a))}},89515:function(t){var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,i=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,r=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(t){return t?t.replace(l,c):c}t.exports=function(t,l){if("string"!=typeof t)throw new TypeError("First argument must be a string");if(!t)return[];l=l||{};var h=1,d=1;function p(t){var e=t.match(n);e&&(h+=e.length);var i=t.lastIndexOf("\n");d=~i?t.length-i:d+t.length}function m(){var t={line:h,column:d};return function(e){return e.position=new f(t),x(),e}}function f(t){this.start=t,this.end={line:h,column:d},this.source=l.source}f.prototype.content=t;var g=[];function y(e){var n=new Error(l.source+":"+h+":"+d+": "+e);if(n.reason=e,n.filename=l.source,n.line=h,n.column=d,n.source=t,!l.silent)throw n;g.push(n)}function v(e){var n=e.exec(t);if(n){var i=n[0];return p(i),t=t.slice(i.length),n}}function x(){v(i)}function b(t){var e;for(t=t||[];e=T();)!1!==e&&t.push(e);return t}function T(){var e=m();if("/"==t.charAt(0)&&"*"==t.charAt(1)){for(var n=2;c!=t.charAt(n)&&("*"!=t.charAt(n)||"/"!=t.charAt(n+1));)++n;if(n+=2,c===t.charAt(n-1))return y("End of comment missing");var i=t.slice(2,n-2);return d+=2,p(i),t=t.slice(n),d+=2,e({type:"comment",comment:i})}}function P(){var t=m(),n=v(o);if(n){if(T(),!v(r))return y("property missing ':'");var i=v(s),l=t({type:"declaration",property:u(n[0].replace(e,c)),value:i?u(i[0].replace(e,c)):c});return v(a),l}}return x(),function(){var t,e=[];for(b(e);t=P();)!1!==t&&(e.push(t),b(e));return e}()}},17214:function(t,e,n){"use strict";var i=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=i(n(89515));e.default=function(t,e){var n=null;if(!t||"string"!=typeof t)return n;var i=(0,o.default)(t),r="function"==typeof e;return i.forEach((function(t){if("declaration"===t.type){var i=t.property,o=t.value;r?e(i,o,t):o&&((n=n||{})[i]=o)}})),n}},6266:function(t,e,n){"use strict";n.d(e,{E:function(){return Xn}});var i=n(85893),o=n(67294);const r=(0,o.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),s=(0,o.createContext)({}),a=(0,o.createContext)(null);var l=n(11741);const c=l.j?o.useLayoutEffect:o.useEffect,u=(0,o.createContext)({strict:!1});var h=n(68588),d=n(14675);const{schedule:p,cancel:m}=(0,d.Z)(queueMicrotask,!1);var f=n(51804);function g(t,e,n){return(0,o.useCallback)((i=>{i&&t.mount&&t.mount(i),e&&(i?e.mount(i):e.unmount()),n&&("function"==typeof n?n(i):(0,f.I)(n)&&(n.current=i))}),[e])}var y=n(97732),v=n(7504);function x(t){const{initial:e,animate:n}=function(t,e){if((0,v.G)(t)){const{initial:e,animate:n}=t;return{initial:!1===e||(0,y.$)(e)?e:void 0,animate:(0,y.$)(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(s));return(0,o.useMemo)((()=>({initial:e,animate:n})),[b(e),b(n)])}function b(t){return Array.isArray(t)?t.join(" "):t}var T=n(9442);const P=(0,o.createContext)({}),E=(0,o.createContext)({}),S=Symbol.for("motionComponentSymbol");function w({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:d,Component:m}){t&&function(t){for(const e in t)T.A[e]={...T.A[e],...t[e]}}(t);const f=(0,o.forwardRef)((function(f,y){let v;const b={...(0,o.useContext)(r),...f,layoutId:C(f)},{isStatic:T}=b,P=x(f),S=d(f,T);if(!T&&l.j){P.visualElement=function(t,e,n,i){const{visualElement:l}=(0,o.useContext)(s),d=(0,o.useContext)(u),m=(0,o.useContext)(a),f=(0,o.useContext)(r).reducedMotion,g=(0,o.useRef)();i=i||d.renderer,!g.current&&i&&(g.current=i(t,{visualState:e,parent:l,props:n,presenceContext:m,blockInitialAnimation:!!m&&!1===m.initial,reducedMotionConfig:f}));const y=g.current;(0,o.useInsertionEffect)((()=>{y&&y.update(n,m)}));const v=(0,o.useRef)(Boolean(n[h.M]&&!window.HandoffComplete));return c((()=>{y&&(p.render(y.render),v.current&&y.animationState&&y.animationState.animateChanges())})),(0,o.useEffect)((()=>{y&&(y.updateFeatures(),!v.current&&y.animationState&&y.animationState.animateChanges(),v.current&&(v.current=!1,window.HandoffComplete=!0))})),y}(m,S,b,e);const n=(0,o.useContext)(E),i=(0,o.useContext)(u).strict;P.visualElement&&(v=P.visualElement.loadFeatures(b,i,t,n))}return(0,i.jsxs)(s.Provider,{value:P,children:[v&&P.visualElement?(0,i.jsx)(v,{visualElement:P.visualElement,...b}):null,n(m,f,g(S,P.visualElement,y),S,T,P.visualElement)]})}));return f[S]=m,f}function C({layoutId:t}){const e=(0,o.useContext)(P).id;return e&&void 0!==t?e+"-"+t:t}function A(t){function e(e,n={}){return w(t(e,n))}if("undefined"==typeof Proxy)return e;const n=new Map;return new Proxy(e,{get:(t,i)=>(n.has(i)||n.set(i,e(i)),n.get(i))})}const D=["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 k(t){return"string"==typeof t&&!t.includes("-")&&!!(D.indexOf(t)>-1||/[A-Z]/u.test(t))}var O=n(56816),j=n(40406),M=n(80889);const R=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function L(t,e,n){for(const i in e)(0,j.i)(e[i])||(0,O.j)(i,n)||(t[i]=e[i])}function I(t,e,n){const i={};return L(i,t.style||{},t),Object.assign(i,function({transformTemplate:t},e,n){return(0,o.useMemo)((()=>{const i=R();return(0,M.r)(i,e,{enableHardwareAcceleration:!n},t),Object.assign({},i.vars,i.style)}),[e])}(t,e,n)),i}function N(t,e,n){const i={},o=I(t,e,n);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=o,i}const _=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 V(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||_.has(t)}let B=t=>!V(t);try{(F=require("@emotion/is-prop-valid").default)&&(B=t=>t.startsWith("on")?!V(t):F(t))}catch(Yn){}var F;var U=n(33271);const H=()=>({...R(),attrs:{}});var W=n(79854);function z(t,e,n,i){const r=(0,o.useMemo)((()=>{const n=H();return(0,U.i)(n,e,{enableHardwareAcceleration:!1},(0,W.a)(i),t.transformTemplate),{...n.attrs,style:{...n.style}}}),[e]);if(t.style){const e={};L(e,t.style,t),r.style={...e,...r.style}}return r}function G(t=!1){return(e,n,i,{latestValues:r},s)=>{const a=(k(e)?z:N)(n,r,s,e),l=function(t,e,n){const i={};for(const o in t)"values"===o&&"object"==typeof t.values||(B(o)||!0===n&&V(o)||!e&&!V(o)||t.draggable&&o.startsWith("onDrag"))&&(i[o]=t[o
1]);return i}(n,"string"==typeof e,t),c=e!==o.Fragment?{...l,...a,ref:i}:{},{children:u}=n,h=(0,o.useMemo)((()=>(0,j.i)(u)?u.get():u),[u]);return(0,o.createElement)(e,{...c,children:h})}}var $=n(68504),X=n(16832),Y=n(2445),q=n(79432),Z=n(96681),K=n(8715);function Q(t){const e=(0,j.i)(t)?t.get():t;return(0,K.p)(e)?e.toValue():e}const J=t=>(e,n)=>{const i=(0,o.useContext)(s),r=(0,o.useContext)(a),l=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},i,o,r){const s={latestValues:tt(i,o,r,t),renderState:e()};return n&&(s.mount=t=>n(i,t,s)),s}(t,e,i,r);return n?l():(0,Z.h)(l)};function tt(t,e,n,i){const o={},r=i(t,{});for(const d in r)o[d]=Q(r[d]);let{initial:s,animate:a}=t;const l=(0,v.G)(t),c=(0,v.M)(t);e&&c&&!l&&!1!==t.inherit&&(void 0===s&&(s=e.initial),void 0===a&&(a=e.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const h=u?a:s;if(h&&"boolean"!=typeof h&&!(0,Y.H)(h)){(Array.isArray(h)?h:[h]).forEach((e=>{const n=(0,q.o)(t,e);if(!n)return;const{transitionEnd:i,transition:r,...s}=n;for(const t in s){let e=s[t];if(Array.isArray(e)){e=e[u?e.length-1:0]}null!==e&&(o[t]=e)}for(const t in i)o[t]=i[t]}))}return o}var et=n(26166);const nt={useVisualState:J({scrapeMotionValuesFromProps:X.U,createRenderState:H,onMount:(t,e,{renderState:n,latestValues:i})=>{et.Wi.read((()=>{try{n.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){n.dimensions={x:0,y:0,width:0,height:0}}})),et.Wi.render((()=>{(0,U.i)(n,i,{enableHardwareAcceleration:!1},(0,W.a)(e.tagName),t.transformTemplate),(0,$.K)(e,n)}))}})};const it={useVisualState:J({scrapeMotionValuesFromProps:n(50189).U,createRenderState:R})};function ot(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}const rt=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function st(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}const at=t=>e=>rt(e)&&t(e,st(e));function lt(t,e,n,i){return ot(t,e,at(n),i)}var ct=n(83624);function ut(t){let e=null;return()=>{const n=()=>{e=null};return null===e&&(e=t,n)}}const ht=ut("dragHorizontal"),dt=ut("dragVertical");function pt(t){let e=!1;if("y"===t)e=dt();else if("x"===t)e=ht();else{const t=ht(),n=dt();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function mt(){const t=pt(!0);return!t||(t(),!1)}class ft{constructor(t){this.isMounted=!1,this.node=t}update(){}}function gt(t,e){const n=e?"pointerenter":"pointerleave",i=e?"onHoverStart":"onHoverEnd";return lt(t.current,n,((n,o)=>
1{if("touch"===n.pointerType||mt())return;const r=t.getProps();t.animationState&&r.whileHover&&t.animationState.setActive("whileHover",e);const s=r[i];s&&et.Wi.postRender((()=>s(n,o)))}),{passive:!t.getProps()[i]})}const yt=(t,e)=>!!e&&(t===e||yt(t,e.parentElement));var vt=n(81662);function xt(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,st(n))}const bt=new WeakMap,Tt=new WeakMap,Pt=t=>{const e=bt.get(t.target);e&&e(t)},Et=t=>{t.forEach(Pt)};function St(t,e,n){const i=function({root:t,...e}){const n=t||document;Tt.has(n)||Tt.set(n,{});const i=Tt.get(n),o=JSON.stringify(e);return i[o]||(i[o]=new IntersectionObserver(Et,{root:t,...e})),i[o]}(e);return bt.set(t,n),i.observe(t),()=>{bt.delete(t),i.unobserve(t)}}const wt={some:0,all:1};const Ct={inView:{Feature:class extends ft{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:o}=t,r={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:wt[i]};return St(this.node.current,r,(t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,o&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),r=e?n:i;r&&r(t)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends ft{constructor(){super(...arguments),this.removeStartListeners=vt.Z,this.removeEndListeners=vt.Z,this.removeAccessibleListeners=vt.Z,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();const n=this.node.getProps(),i=lt(window,"pointerup",((t,e)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:i,globalTapTarget:o}=this.node.getProps(),r=o||yt(this.node.current,t.target)?n:i;r&&et.Wi.update((()=>r(t,e)))}),{passive:!(n.onTap||n.onPointerUp)}),o=lt(window,"pointercancel",((t,e)=>this.cancelPress(t,e)),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=(0,ct.z)(i,o),this.startPress(t,e)},this.startAccessiblePress=()=>{const t=ot(this.node.current,"keydown",(t=>{if("Enter"!==t.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=ot(this.node.current,"keyup",(t=>{"Enter"===t.key&&this.checkPressEnd()&&xt("up",((t,e)=>{const{onTap:n}=this.node.getProps();n&&et.Wi.postRender((()=>n(t,e)))}))})),xt("down",((t,e)=>{this.startPress(t,e)}))})),e=ot(this.node.current,"blur",(()=>{this.isPressing&&xt("cancel",((t,e)=>this.cancelPress(t,e)))}));this.removeAccessibleListeners=(0,ct.z)(t,e)}}startPress(t,e){this.isPressing=!0;const{onTapStart:n,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&et.Wi.postRender((()=>n(t,e)))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!mt()}cancelPress(t,e){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&et.Wi.postRender((()=>n(t,e)))}mount(){const t=this.node.getProps(),e=lt(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=ot(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,ct.z)(e,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends ft{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}
1mount(){this.unmount=(0,ct.z)(ot(this.node.current,"focus",(()=>this.onFocus())),ot(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends ft{mount(){this.unmount=(0,ct.z)(gt(this.node,!0),gt(this.node,!1))}unmount(){}}}};var At=n(48488);function Dt(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}var kt=n(52248),Ot=n(22963),jt=n(928);function Mt(t,e,n={}){var i;const o=(0,kt.x)(t,e,"exit"===n.type?null===(i=t.presenceContext)||void 0===i?void 0:i.custom:void 0);let{transition:r=t.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(r=n.transitionOverride);const s=o?()=>Promise.all((0,jt.w)(t,o,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(i=0)=>{const{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=r;return function(t,e,n=0,i=0,o=1,r){const s=[],a=(t.variantChildren.size-1)*i,l=1===o?(t=0)=>t*i:(t=0)=>a-t*i;return Array.from(t.variantChildren).sort(Rt).forEach(((t,i)=>{t.notify("AnimationStart",e),s.push(Mt(t,e,{...r,delay:n+l(i)}).then((()=>t.notify("AnimationComplete",e))))})),Promise.all(s)}(t,e,o+i,s,a,n)}:()=>Promise.resolve(),{when:l}=r;if(l){const[t,e]="beforeChildren"===l?[s,a]:[a,s];return t().then((()=>e()))}return Promise.all([s(),a(n.delay)])}function Rt(t,e){return t.sortNodePosition(e)}const Lt=[...Ot.e].reverse(),It=Ot.e.length;function Nt(t){return e=>Promise.all(e.map((({animation:e,options:n})=>function(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e)){const o=e.map((e=>Mt(t,e,n)));i=Promise.all(o)}else if("string"==typeof e)i=Mt(t,e,n);else{const o="function"==typeof e?(0,kt.x)(t,e,n.custom):e;i=Promise.all((0,jt.w)(t,o,n))}return i.then((()=>{et.Wi.postRender((()=>{t.notify("AnimationComplete",e)}))}))}(t,e,n))))}function _t(t){let e=Nt(t);const n={animate:Bt(!0),whileInView:Bt(),whileHover:Bt(),whileTap:Bt(),whileDrag:Bt(),whileFocus:Bt(),exit:Bt()};let i=!0;const o=e=>(n,i)=>{var o;const r=(0,kt.x)(t,i,"exit"===e?null===(o=t.presenceContext)||void 0===o?void 0:o.custom:void 0);if(r){const{transition:t,transitionEnd:e,...i}=r;n={...n,...i,...e}}return n};function r(r){const s=t.getProps(),a=t.getVariantContext(!0)||{},l=[],c=new Set;let u={},h=1/0;for(let e=0;e<It;e++){const d=Lt[e],p=n[d],m=void 0!==s[d]?s[d]:a[d],f=(0,y.$)(m),g=d===r?p.isActive:null;!1===g&&(h=e);let v=m===a[d]&&m!==s[d]&&f;if(v&&i&&t.manuallyAnimateOnMount&&(v=!1),p.protectedKeys={...u},!p.isActive&&null===g||!m&&!p.prevProp||(0,Y.H)(m)||"boolean"==typeof m)continue;let x=Vt(p.prevProp,m)||d===r&&p.isActive&&!v&&f||e>h&&f,b=!1;const T=Array.isArray(m)?m:[m];let P=T.reduce(o(d),{});!1===g&&(P={});const{prevResolvedValues:E={}}=p,S={...E,...P},w=e=>{x=!0,c.has(e)&&(b=!0,c.delete(e)),p.needsAnimating[e]=!0;const n=t.getValue(e);n&&(n.liveStyle=!1)};for(const t in S){const e=P[t],n=E[t];if(u.hasOwnProperty(t))continue;let i=!1;i=(0,At.C)(e)&&(0,At.C)(n)?!Dt(e,n):e!==n,i?null!=e?w(t):c.add(t):void 0!==e&&c.has(t)?w(t):p.protectedKeys[t]=!0}p.prevProp=m,p.prevResolvedValues=P,p.isActive&&(u={...u,...P}),i&&t.blockInitialAnimation&&(x=!1),!x||v&&!b||l.push(...T.map((t=>({animation:t,options:{type:d}}))))}if(c.size){const e={};
1c.forEach((n=>{const i=t.getBaseTarget(n),o=t.getValue(n);o&&(o.liveStyle=!0),e[n]=null!=i?i:null})),l.push({animation:e})}let d=Boolean(l.length);return!i||!1!==s.initial&&s.initial!==s.animate||t.manuallyAnimateOnMount||(d=!1),i=!1,d?e(l):Promise.resolve()}return{animateChanges:r,setActive:function(e,i){var o;if(n[e].isActive===i)return Promise.resolve();null===(o=t.variantChildren)||void 0===o||o.forEach((t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,i)})),n[e].isActive=i;const s=r(e);for(const t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n}}function Vt(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!Dt(e,t)}function Bt(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Ft=0;const Ut={animation:{Feature:class extends ft{constructor(t){super(t),t.animationState||(t.animationState=_t(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),(0,Y.H)(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends ft{constructor(){super(...arguments),this.id=Ft++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;const i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then((()=>e(this.id)))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}}};var Ht=n(45487),Wt=n(86917);const zt=(t,e)=>Math.abs(t-e);class Gt{constructor(t,e,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=Yt(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=zt(t.x,e.x),i=zt(t.y,e.y);return Math.sqrt(n**2+i**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;const{point:i}=t,{timestamp:o}=et.frameData;this.history.push({...i,timestamp:o});const{onStart:r,onMove:s}=this.handlers;e||(r&&r(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=$t(e,this.transformPagePoint),et.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:i,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const r=Yt("pointercancel"===t.type?this.lastMoveEventInfo:$t(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,r),i&&i(t,r)},!rt(t))return;this.dragSnapToOrigin=o,this.handlers=e,this.transformPagePoint=n,this.contextWindow=i||window;const r=$t(st(t),this.transformPagePoint),{point:s}=r,{timestamp:a}=et.frameData;this.history=[{...s,timestamp:a}];const{onSessionStart:l}=e;l&&l(t,Yt(r,this.history)),this.removeListeners=(0,ct.z)(lt(this.contextWindow,"pointermove",this.handlePointerMove),lt(this.contextWindow,"pointerup",this.handlePointerUp),lt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,et.Pn)(this.updatePoint)}}function $t(t,e){return e?{point:e(t.point)}:t}function Xt(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Yt({point:t},e){return{point:t,delta:Xt(t,Zt(e)),offset:Xt(t,qt(e)),velocity:Kt(e,.1)}}function qt(t){return t[0]}function Zt(t){return t[t.length-1]}function Kt(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const o=Zt(t);for(;n>=0&&(i=t[n],!(o.timestamp-i.timestamp>(0,Wt.w)(e)));)n--;if(!i)return{x:0,y:0};const r=(0,Wt.X)(o.timestamp-i.timestamp);if(0===r)return{x:0,y:0};const s={x:(o.x-i.x)/r,y:(o.y-i.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}var Qt=n(23967),Jt=n(40179);function te(t){return t.max-t.min}function ee(t,e=0,n=.01){return Math.abs(t-e)<=n}function ne(t,e,n,i=.5){t.origin=i,t.originPoint=(0,Jt.t)(e.min,e.max,t.origin),t.scale=te(n)/te(e),(ee(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,Jt.t)(n.min,n.max,t.origin)-t.originPoint,(ee(t.translate)||isNaN(t.translate))&&(t.translate=0)}function ie(t,e,n,i){ne(t.x,e.x,n.x,i?i.originX:void 0),ne(t.y,e.y,n.y,i?i.originY:void 0)}function oe(t,e,n){t.min=n.min+e.min,t.max=t.min+te(e)}function re(t,e,n){t.min=e.min-n.min,t.max=t.min+te(e)}function se(t,e,n){re(t.x,e.x,n.x),re(t.y,e.y,n.y)}var ae=n(24169);function le(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function ce(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}const ue=.35;function he(t,e,n){return{min:de(t,e),max:de(t,n)}}function de(t,e){return"number"==typeof t?t:t[e]||0}var pe=n(61512);function me(t){return[t("x"),t("y")]}var fe=n(56460),ge=n(76117),ye=n(96190),ve=n(35947);const xe=({current:t})=>t?t.ownerDocument.defaultView:null,be=new WeakMap;class Te{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,pe.dO)(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:i}=this.getProps();this.panSession=new Gt(t,{onSessionStart:t=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(st(t,"page").point)},onStart:(t,e)=>{const{drag:n,dragPropagation:i,onDragStart:o}=this.getProps();if(n&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=pt(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),me((t=>{let e=this.getAxisMotionValue(t).get()||0;if(ye.aQ.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[t];if(i){e=te(i)*(parseFloat(e)/100)}}}this.originPoint[t]=e})),o&&et.Wi.postRender((()=>o(t,e)));const{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},onMove:(t,e)=>{const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:o,onDrag:r}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:s}=e;if(i&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(s),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",e.point,s),this.updateAxis("y",e.point,s),this.visualElement.render(),r&&r(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>me((t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:xe(this.visualElement)})}stop(t,e){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=e;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&et.Wi.postRender((()=>o(t,e)))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){const{drag:i}=this.getProps();if(!n||!Pe(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let r=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:n},i){return void 0!==e&&t<e?t=i?(0,Jt.t)(e,t,i.min):Math.max(t,e):void 0!==n&&t>n&&(t=i?(0,Jt.t)(n,t,i.max):Math.min(t,n)),t}(r,this.constraints[t],this.elastic[t])),o.set(r)}resolveConstraints(){var t;const{dragConstraints:e,dragElastic:n}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,o=this.constraints;e&&(0,f.I)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!i)&&function(t,{top:e,left:n,bottom:i,right:o}){return{x:le(t.x,n,o),y:le(t.y,e,i)}}(i.layoutBox,e),this.elastic=function(t=ue){return!1===t?t=0:!0===t&&(t=ue),{x:he(t,"left","right"),y:he(t,"top","bottom")}}(n),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&me((t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(i.layoutBox[t],this.constraints[t]))}))}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!(0,f.I)(t))return!1;const n=t.current;(0,Ht.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=(0,fe.z)(n,i.root,this.visualElement.getTransformPagePoint());let r=function(t,e){return{x:ce(t.x,e.x),y:ce(t.y,e.y)}}(i.layout.layoutBox,o);if(e){const t=e((0,ge.z2)(r));this.hasMutatedConstraints=!!t,t&&(r=(0,ge.i8)(t))}return r}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=me((s=>{if(!Pe(s,e,this.currentDirection))return;let l=a&&a[s]||{};r&&(l={min:0,max:0});const c=i?200:1e6,u=i?40:1e7,h={type:"inertia",velocity:n?t[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(s,h)}));return Promise.all(l).then(s)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return n.start((0,ve.v)(t,n,0,e,this.visualElement))}stopAnimation(){me((t=>this.getAxisMotionValue(t).stop()))}pauseAnimation(){me((t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()}))}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),i=n[e];return i||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){me((e=>{const{drag:n}=this.getProps();if(!Pe(e,n,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(e);if(i&&i.layout){const{min:n,max:r}=i.layout.layoutBox[e];o.set(t[e]-(0,Jt.t)(n,r,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!(0,f.I)(e)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};me((t=>{const e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){const n=e.get();i[t]=function(t,e){let n=.5;const i=te(t),o=te(e);return o>i?n=(0,Qt.Y)(e.min,e.max-i,t.min):i>
1o&&(n=(0,Qt.Y)(t.min,t.max-o,e.min)),(0,ae.u)(0,1,n)}({min:n,max:n},this.constraints[t])}}));const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),me((e=>{if(!Pe(e,t,null))return;const n=this.getAxisMotionValue(e),{min:o,max:r}=this.constraints[e];n.set((0,Jt.t)(o,r,i[e]))}))}addListeners(){if(!this.visualElement.current)return;be.set(this.visualElement,this);const t=lt(this.visualElement.current,"pointerdown",(t=>{const{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)})),e=()=>{const{dragConstraints:t}=this.getProps();(0,f.I)(t)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),e();const o=ot(window,"resize",(()=>this.scalePositionWithinConstraints())),r=n.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(me((e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))})),this.visualElement.render())}));return()=>{o(),t(),i(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:r=ue,dragMomentum:s=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:s}}}function Pe(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}const Ee=t=>(e,n)=>{t&&et.Wi.postRender((()=>t(e,n)))};const Se={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function we(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Ce={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!ye.px.test(t))return t;t=parseFloat(t)}return`${we(t,e.target.x)}% ${we(t,e.target.y)}%`}};var Ae=n(51550);const De={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,o=Ae.P.parse(t);if(o.length>5)return i;const r=Ae.P.createTransformer(t),s="number"!=typeof o[0]?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;o[0+s]/=a,o[1+s]/=l;const c=(0,Jt.t)(a,l,.5);return"number"==typeof o[2+s]&&(o[2+s]/=c),"number"==typeof o[3+s]&&(o[3+s]/=c),r(o)}};var ke=n(64561);class Oe extends o.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:o}=t;(0,ke.B)(Me),o&&(e.group&&e.group.add(o),n&&n.register&&i&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Se.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:i,isPresent:o}=this.props,r=n.projection;return r?(r.isPresent=o,i||t.layoutDependency!==e||void 0===e?r.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?r.promote():r.relegate()||et.Wi.postRender((()=>{const t=r.getStack();t&&t.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),p.postRender((()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function je(t){const[e,n]=function(){const t=(0,o.useContext)(a);if(null===t)return[!0,null];const{isPresent:e,onExitComplete:n,register:i}=t,r=(0,o.useId)();return(0,o.useEffect)((()=>i(r)),[]),!e&&n?[!1,()=>n&&n(r)]:[!0]}(),r=(0,o.useContext)(P);return(0,i.jsx)(Oe,{...t,layoutGroup:r,switchLayoutGroup:(0,o.useContext)(E),isPresent:e,safeToRemove:n})}const Me={borderRadius:{...Ce,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ce,borderTopRightRadius:Ce,borderBottomLeftRadius:Ce,borderBottomRightRadius:Ce,boxShadow:De};var Re=n(21560),Le=n(27255);const Ie=["TopLeft","TopRight","BottomLeft","BottomRight"],Ne=Ie.length,_e=t=>"string"==typeof t?parseFloat(t):t,Ve=t=>"number"==typeof t||ye.px.test(t);function Be(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const Fe=He(0,.5,Le.Bn),Ue=He(.5,.95,vt.Z);function He(t,e,n){return i=>i<t?0:i>e?1:n((0,Qt.Y)(t,e,i))}function We(t,e){t.min=e.min,t.max=e.max}function ze(t,e){We(t.x,e.x),We(t.y,e.y)}var Ge=n(16e3);function $e(t,e,n,i,o){return t-=e,t=(0,Ge.q2)(t,1/n,i),void 0!==o&&(t=(0,Ge.q2)(t,1/o,i)),t}
1function Xe(t,e,[n,i,o],r,s){!function(t,e=0,n=1,i=.5,o,r=t,s=t){ye.aQ.test(e)&&(e=parseFloat(e),e=(0,Jt.t)(s.min,s.max,e/100)-s.min);if("number"!=typeof e)return;let a=(0,Jt.t)(r.min,r.max,i);t===r&&(a-=e),t.min=$e(t.min,e,n,a,o),t.max=$e(t.max,e,n,a,o)}(t,e[n],e[i],e[o],e.scale,r,s)}const Ye=["x","scaleX","originX"],qe=["y","scaleY","originY"];function Ze(t,e,n,i){Xe(t.x,e,Ye,n?n.x:void 0,i?i.x:void 0),Xe(t.y,e,qe,n?n.y:void 0,i?i.y:void 0)}var Ke=n(31056);function Qe(t){return 0===t.translate&&1===t.scale}function Je(t){return Qe(t.x)&&Qe(t.y)}function tn(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function en(t){return te(t.x)/te(t.y)}var nn=n(10010);class on{constructor(){this.members=[]}add(t){(0,nn.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,nn.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex((e=>t===e));if(0===e)return!1;let n;for(let i=e;i>=0;i--){const t=this.members[i];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach((t=>{const{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((t=>{t.instance&&t.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function rn(t,e,n){let i="";const o=t.x.translate/e.x,r=t.y.translate/e.y,s=(null==n?void 0:n.z)||0;if((o||r||s)&&(i=`translate3d(${o}px, ${r}px, ${s}px) `),1===e.x&&1===e.y||(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:t,rotate:e,rotateX:o,rotateY:r,skewX:s,skewY:a}=n;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),o&&(i+=`rotateX(${o}deg) `),r&&(i+=`rotateY(${r}deg) `),s&&(i+=`skewX(${s}deg) `),a&&(i+=`skewY(${a}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return 1===a&&1===l||(i+=`scale(${a}, ${l})`),i||"none"}var sn=n(99527);const an=(t,e)=>t.depth-e.depth;class ln{constructor(){this.children=[],this.isDirty=!1}add(t){(0,nn.y4)(this.children,t),this.isDirty=!0}remove(t){(0,nn.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(an),this.isDirty=!1,this.children.forEach(t)}}var cn=n(1117);var un=n(75194),hn=n(61059);const dn=["","X","Y","Z"],pn={visibility:"hidden"};let mn=0;const fn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function gn(t,e,n,i){const{latestValues:o}=e;o[t]&&(n[t]=o[t],e.setStaticValue(t,0),i&&(i[t]=0))}function yn({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(t={},n=(null==e?void 0:e())){this.id=mn++,this.animationId=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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var t;this.projectionUpdateScheduled=!1,fn.totalNodes=fn.resolvedTargetDeltas=fn.recalculatedProjection=0,this.nodes.forEach(bn),this.nodes.forEach(An),this.nodes.forEach(Dn),this.nodes.forEach(Tn),t=fn,window.MotionDebug&&window.MotionDebug.record(t)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new ln)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new Re.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=(0,un.v)(e),this.instance=e;const{layoutId:i,layout:o,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||i)&&(this.isLayoutDirty=!0),t){let n;const i=()=>this.root.updateBlockedByResize=!1;t(e,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){const n=cn.X.now(),i=({timestamp:o})=>{const r=o-n;r>=e&&((0,et.Pn)(i),t(r-e))};return et.Wi.read(i,!0),()=>(0,et.Pn)(i)}(i,250),Se.hasAnimatedSinceResize&&(Se.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(Cn))}))}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||o)&&this.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||r.getDefaultTransition()||Ln,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!tn(this.targetLayout,i)||n,c=!e&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,c);const e={...(0,Ke.e)(o,"layout"),onPlay:s,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||Cn(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,et.Pn)(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,window.HandoffCancelAllAnimations&&window.HandoffCancelAllAnimations(),this.nodes&&this.nodes.forEach(kn),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let o=0;o<this.path.length;o++){const t=this.path[o];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(En);this.isUpdating||this.nodes.forEach(Sn),this.isUpdating=!1,this.nodes.forEach(wn),this.nodes.forEach(vn),this.nodes.forEach(xn),this.clearAllSnapshots();const t=cn.X.now();et.frameData.delta=(0,ae.u)(0,1e3/60,t-et.frameData.timestamp),et.frameData.timestamp=t,et.frameData.isProcessing=!0,et.S6.update.process(et.frameData),et.S6.preRender.process(et.frameData),et.S6.render.process(et.frameData),et.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,p.read((()=>this.update())))}clearAllSnapshots(){this.nodes.forEach(Pn),this.sharedNodes.forEach(On)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,et.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){et.Wi.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++){this.path[n].updateScroll()}const t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,pe.dO)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:i(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!Je(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,r=i!==this.prevTransformTemplateValue;t&&(e||(0,sn.ud)(this.latestValues)||r)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let n=this.removeElementScroll(e);var i;return t&&(n=this.removeTransform(n)),_n((i=n).x),_n(i.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:t}=this.options;if(!t)return(0,pe.dO)();const e=t.measureViewportBox(),{scroll:n}=this.root;return n&&((0,Ge.am)(e.x,n.offset.x),(0,Ge.am)(e.y,n.offset.y)),e}removeElementScroll(t){const e=(0,pe.dO)();ze(e,t);for(let n=0;n<this.path.length;n++){const i=this.path[n],{scroll:o,options:r}=i;if(i!==this.root&&o&&r.layoutScroll){if(o.isRoot){ze(e,t);const{scroll:n}=this.root;n&&((0,Ge.am)(e.x,-n.offset.x),(0,Ge.am)(e.y,-n.offset.y))}(0,Ge.am)(e.x,o.offset.x),(0,Ge.am)(e.y,o.offset.y)}}return e}applyTransform(t,e=!1){const n=(0,pe.dO)();ze(n,t);for(let i=0;i<this.path.length;i++){const t=this.path[i];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&(0,Ge.D2)(n,{x:-t.scroll.offset.x,y:-t.scroll.offset.y}),(0,sn.ud)(t.latestValues)&&(0,Ge.D2)(n,t.latestValues)}return(0,sn.ud)(this.latestValues)&&(0,Ge.D2)(n,this.latestValues),n}removeTransform(t){const e=(0,pe.dO)();ze(e,t);for(let n=0;n<this.path.length;n++){const t=this.path[n];if(!t.instance)continue;if(!(0,sn.ud)(t.latestValues))continue;(0,sn.Lj)(t.latestValues)&&t.updateSnapshot();const i=(0,pe.dO)();ze(i,t.measurePageBox()),Ze(e,t.latestValues,t.snapshot?t.snapshot.layoutBox:void 0,i)}return(0,sn.ud)(this.latestValues)&&Ze(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==et.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isS
1haredProjectionDirty);const i=Boolean(this.resumingFrom)||this!==n;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:r}=this.options;if(this.layout&&(o||r)){if(this.resolvedRelativeTargetAt=et.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){const t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,pe.dO)(),this.relativeTargetOrigin=(0,pe.dO)(),se(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),ze(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target=(0,pe.dO)(),this.targetWithTransforms=(0,pe.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,oe(s.x,a.x,l.x),oe(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):ze(this.target,this.layout.layoutBox),(0,Ge.o2)(this.target,this.targetDelta)):ze(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const t=this.getClosestProjectingParent();t&&Boolean(t.resumingFrom)===Boolean(this.resumingFrom)&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,pe.dO)(),this.relativeTargetOrigin=(0,pe.dO)(),se(this.relativeTargetOrigin,this.target,t.target),ze(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}fn.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!(0,sn.Lj)(this.parent.latestValues)&&!(0,sn.D_)(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;const e=this.getLead(),n=Boolean(this.resumingFrom)||this!==e;let i=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===et.frameData.timestamp&&(i=!1),i)return;const{layout:o,layoutId:r}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!r)return;ze(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;(0,Ge.YY)(this.layoutCorrected,this.treeScale,this.path,n),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,pe.dO)());const{target:l}=e;if(!l)return void(this.projectionTransform&&(this.projectionDelta=(0,pe.wc)(),this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta=(0,pe.wc)(),this.projectionDeltaWithTransform=(0,pe.wc)());const c=this.projectionTransform;ie(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=rn(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),fn.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){const n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},r=(0,pe.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const s=(0,pe.dO)(),a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Rn));let h;this.animationProgress=0,this.mixTargetDelta=e=>{const n=e/1e3;var l,d,p,m,f,g;jn(r.x,t.x,n),jn(r.y,t.y,n),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(se(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=s,g=n,Mn(p.x,m.x,f.x,g),Mn(p.y,m.y,f.y,g),h&&(l=this.relativeTarget,d=h,l.x.min===d.x.min&&l.x.max===d.x.max&&l.y.min===d.y.min&&l.y.max===d.y.max)&&(this.isProjectionDirty=!1),h||(h=(0,pe.dO)()),ze(h,this.relativeTarget)),a&&(this.animationValues=o,function(t,e,n,i,o,r){o?(t.opacity=(0,Jt.t)(0,void 0!==n.opacity?n.opacity:1,Fe(i)),t.opacityExit=(0,Jt.t)(void 0!==e.opacity?e.opacity:1,0,Ue(i))):r&&(t.opacity=(0,Jt.t)(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let s=0;s<Ne;s++){const o=`border${Ie[s]}
1Radius`;let r=Be(e,o),a=Be(n,o);void 0===r&&void 0===a||(r||(r=0),a||(a=0),0===r||0===a||Ve(r)===Ve(a)?(t[o]=Math.max((0,Jt.t)(_e(r),_e(a),i),0),(ye.aQ.test(a)||ye.aQ.test(r))&&(t[o]+="%")):t[o]=a)}(e.rotate||n.rotate)&&(t.rotate=(0,Jt.t)(e.rotate||0,n.rotate||0,i))}(o,i,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,et.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=et.Wi.update((()=>{Se.hasAnimatedSinceResize=!0,this.currentAnimation=(0,hn.D)(0,1e3,{...t,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:i,latestValues:o}=t;if(e&&n&&i){if(this!==t&&this.layout&&i&&Vn(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||(0,pe.dO)();const e=te(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const i=te(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}ze(e,n),(0,Ge.D2)(e,o),ie(this.projectionDeltaWithTransform,this.layoutCorrected,e,o)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new on);this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;const i={};n.z&&gn("z",t,i,this.animationValues);for(let o=0;o<dn.length;o++)gn(`rotate${dn[o]}`,t,i,this.animationValues),gn(`skew${dn[o]}`,t,i,this.animationValues);t.render();for(const o in i)t.setStaticValue(o,i[o]),this.animationValues&&(this.animationValues[o]=i[o]);t.scheduleRender()}getProjectionStyles(t){var e,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return pn;const i={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=Q(null==t?void 0:t.pointerEvents)||"",i.transform=o?o(this.latestValues,""):"none",i;const r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){const e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=Q(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,sn.ud)(this.latestValues)&&(e.transform=o?o({},""):"none",this.hasProjected=!1),e}const s=r.animationValues||r.latestValues;this.applyTransformsToTarget(),i.transform=rn(this.projectionDeltaWithTransform,this.treeScale,s),o&&(i.transform=o(s,i.transform));const{x:a,y:l}=this.projectionDelta;i.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,r.animationValues?i.opacity=r===this?null!==(n=null!==(e=s.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:i.opacity=r===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const c in ke.P){if(void 0===s[c])continue;const{correct:t,applyTo:e}=ke.P[c],n="none"===i.transform?s[c]:t(s[c],r);if(e){const t=e.length;for(let o=0;o<t;o++)i[e[o]]=n}else i[c]=n}return this.options.layoutId&&(i.pointerEvents=r===this?Q(null==t?void 0:t.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
1resetTree(){this.root.nodes.forEach((t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(En),this.root.sharedNodes.clear()}}}function vn(t){t.updateLayout()}function xn(t){var e;const n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:i}=t.layout,{animationType:o}=t.options,r=n.source!==t.layout.source;"size"===o?me((t=>{const i=r?n.measuredBox[t]:n.layoutBox[t],o=te(i);i.min=e[t].min,i.max=i.min+o})):Vn(o,n.layoutBox,e)&&me((i=>{const o=r?n.measuredBox[i]:n.layoutBox[i],s=te(e[i]);o.max=o.min+s,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+s)}));const s=(0,pe.wc)();ie(s,e,n.layoutBox);const a=(0,pe.wc)();r?ie(a,t.applyTransform(i,!0),n.measuredBox):ie(a,e,n.layoutBox);const l=!Je(s);let c=!1;if(!t.resumeFrom){const i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:o,layout:r}=i;if(o&&r){const s=(0,pe.dO)();se(s,n.layoutBox,o.layoutBox);const a=(0,pe.dO)();se(a,e,r.layoutBox),tn(s,a)||(c=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=s,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function bn(t){fn.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Tn(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Pn(t){t.clearSnapshot()}function En(t){t.clearMeasurements()}function Sn(t){t.isLayoutDirty=!1}function wn(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Cn(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function An(t){t.resolveTargetDelta()}function Dn(t){t.calcProjection()}function kn(t){t.resetSkewAndRotation()}function On(t){t.removeLeadSnapshot()}function jn(t,e,n){t.translate=(0,Jt.t)(e.translate,0,n),t.scale=(0,Jt.t)(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Mn(t,e,n,i){t.min=(0,Jt.t)(e.min,n.min,i),t.max=(0,Jt.t)(e.max,n.max,i)}function Rn(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const Ln={duration:.45,ease:[.4,0,.1,1]},In=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Nn=In("applewebkit/")&&!In("chrome/")?Math.round:vt.Z;function _n(t){t.min=Nn(t.min),t.max=Nn(t.max)}function Vn(t,e,n){return"position"===t||"preserve-aspect"===t&&!ee(en(e),en(n),.2)}const Bn=yn({attachResizeListener:(t,e)=>ot(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Fn={current:void 0},Un=yn({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Fn.current){const t=new Bn({});t.mount(window),t.setOptions({layoutScroll:!0}),Fn.current=t}return Fn.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),Hn={pan:{Feature:class extends ft{constructor(){super(...arguments),this.removePointerDownListener=vt.Z}onPointerDown(t){this.session=new Gt(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:xe(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:Ee(t),onStart:Ee(e),onMove:n,onEnd:(t,e)=>{delete this.session,i&&et.Wi.postRender((()=>i(t,e)))}}}mount(){this.removePointerDownListener=lt(this.node.current,"pointerdown",(t=>this.onPointerDown(t)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends ft{constructor(t){super(t),this.removeGroupControls=vt.Z,this.removeListeners=vt.Z,this.controls=new Te(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||vt.Z}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Un,MeasureLayout:je}};var Wn=n(34547),zn=n(25794);const Gn=(t,e)=>k(t)?new zn.e(e,{enableHardwareAcceleration:!1}):new Wn.W(e,{allowProjection:t!==o.Fragment,enableHardwareAcceleration:!0}
1),$n={...Ut,...Ct,...Hn,...{layout:{ProjectionNode:Un,MeasureLayout:je}}},Xn=A(((t,e)=>function(t,{forwardMotionProps:e=!1},n,i){return{...k(t)?nt:it,preloadedFeatures:n,useRender:G(e),createVisualElement:i,Component:t}}(t,e,$n,Gn)))},10425:function(t,e,n){"use strict";n.d(e,{Y:function(){return s}});var i=n(67294),o=n(37301);const r={some:0,all:1};function s(t,{root:e,margin:n,amount:s,once:a=!1}={}){const[l,c]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{if(!t.current||a&&l)return;const i={root:e&&e.current||void 0,margin:n,amount:s};return function(t,e,{root:n,margin:i,amount:s="some"}={}){const a=(0,o.I)(t),l=new WeakMap,c=new IntersectionObserver((t=>{t.forEach((t=>{const n=l.get(t.target);if(t.isIntersecting!==Boolean(n))if(t.isIntersecting){const n=e(t);"function"==typeof n?l.set(t.target,n):c.unobserve(t.target)}else n&&(n(t),l.delete(t.target))}))}),{root:n,rootMargin:i,threshold:"number"==typeof s?s:r[s]});return a.forEach((t=>c.observe(t))),()=>c.disconnect()}(t.current,(()=>(c(!0),a?void 0:()=>c(!1))),i)}),[e,t,n,a,s]),l}},47311:function(t,e,n){"use strict";var i=n(83426);e.ZP=i.default||i}}]); 2//# sourceMappingURL=d272215234f2707269b89b70a87a44dca64a8aed-286288c83ac3bbc03653.js.map
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.