var Purs_EntryPoints_Landing_Agents_Subpage=(()=>{var d2=Object.create;var ua=Object.defineProperty;var p2=Object.getOwnPropertyDescriptor;var b2=Object.getOwnPropertyNames;var m2=Object.getPrototypeOf,R2=Object.prototype.hasOwnProperty;var hf=t=>ua(t,"__esModule",{value:!0});var W2=(t,e)=>()=>(t&&(e=t(t=0)),e);var Ye=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),xf=(t,e)=>{hf(t);for(var r in e)ua(t,r,{get:e[r],enumerable:!0})},z2=(t,e,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let A of b2(e))!R2.call(t,A)&&A!=="default"&&ua(t,A,{get:()=>e[A],enumerable:!(r=p2(e,A))||r.enumerable});return t},cu=t=>z2(hf(ua(t!=null?d2(m2(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var Iu={};xf(Iu,{Children:()=>K2,Component:()=>J2,Fragment:()=>$2,Suspense:()=>rb,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>w2,cloneElement:()=>U2,createContext:()=>D2,createElement:()=>Q2,createRef:()=>B2,default:()=>Wr,forwardRef:()=>_2,isValidElement:()=>tb,lazy:()=>eb,useCallback:()=>Ab,useContext:()=>nb,useEffect:()=>ab,useImperativeHandle:()=>ib,useLayoutEffect:()=>ub,useMemo:()=>lb,useReducer:()=>fb,useRef:()=>sb,useState:()=>vb,version:()=>cb});var Wr,w2,K2,U2,J2,D2,Q2,B2,_2,$2,tb,eb,rb,Ab,nb,ab,ib,ub,lb,fb,sb,vb,cb,XA=W2(()=>{Wr=window.React,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:w2,Children:K2,cloneElement:U2,Component:J2,createContext:D2,createElement:Q2,createRef:B2,forwardRef:_2,Fragment:$2,isValidElement:tb,lazy:eb,Suspense:rb,useCallback:Ab,useContext:nb,useEffect:ab,useImperativeHandle:ib,useLayoutEffect:ub,useMemo:lb,useReducer:fb,useRef:sb,useState:vb,version:cb}=window.React});var Xo=Ye((TD,Kv)=>{"use strict";var wv=Object.getOwnPropertySymbols,R9=Object.prototype.hasOwnProperty,W9=Object.prototype.propertyIsEnumerable;function z9(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function h9(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var A=Object.getOwnPropertyNames(e).map(function(a){return e[a]});if(A.join("")!=="0123456789")return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(a){n[a]=a}),Object.keys(Object.assign({},n)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}Kv.exports=h9()?Object.assign:function(t,e){for(var r,A=z9(t),n,a=1;a{"use strict";var Vo=Xo(),gA=60103,Uv=60106;Nt.Fragment=60107;Nt.StrictMode=60108;Nt.Profiler=60114;var Jv=60109,Dv=60110,Qv=60112;Nt.Suspense=60113;var Bv=60115,_v=60116;typeof Symbol=="function"&&Symbol.for&&(we=Symbol.for,gA=we("react.element"),Uv=we("react.portal"),Nt.Fragment=we("react.fragment"),Nt.StrictMode=we("react.strict_mode"),Nt.Profiler=we("react.profiler"),Jv=we("react.provider"),Dv=we("react.context"),Qv=we("react.forward_ref"),Nt.Suspense=we("react.suspense"),Bv=we("react.memo"),_v=we("react.lazy"));var we,$v=typeof Symbol=="function"&&Symbol.iterator;function x9(t){return t===null||typeof t!="object"?null:(t=$v&&t[$v]||t["@@iterator"],typeof t=="function"?t:null)}function Hn(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r{"use strict";lc.exports=oc()});var Oc=Ye(HA=>{"use strict";var Ar=Xo(),yr=fc();function _t(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;rMn;Mn++)ze[Mn]=Mn+1;var ze,Mn;ze[15]=0;var P9=/^[: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][: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]*$/,mc=Object.prototype.hasOwnProperty,Rc={},Wc={};function zc(t){return mc.call(Wc,t)?!0:mc.call(Rc,t)?!1:P9.test(t)?Wc[t]=!0:(Rc[t]=!0,!1)}function Z9(t,e,r,A){if(r!==null&&r.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return A?!1:r!==null?!r.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function N9(t,e,r,A){if(e===null||typeof e=="undefined"||Z9(t,e,r,A))return!0;if(A)return!1;if(r!==null)switch(r.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function Pe(t,e,r,A,n,a,i){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=A,this.attributeNamespace=n,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=a,this.removeEmptyString=i}var he={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){he[t]=new Pe(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];he[e]=new Pe(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){he[t]=new Pe(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){he[t]=new Pe(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".split(" ").forEach(function(t){he[t]=new Pe(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){he[t]=new Pe(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){he[t]=new Pe(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){he[t]=new Pe(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){he[t]=new Pe(t,5,!1,t.toLowerCase(),null,!1,!1)});var So=/[\-:]([a-z])/g;function Go(t){return 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".split(" ").forEach(function(t){var e=t.replace(So,Go);he[e]=new Pe(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(So,Go);he[e]=new Pe(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(So,Go);he[e]=new Pe(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){he[t]=new Pe(t,1,!1,t.toLowerCase(),null,!1,!1)});he.xlinkHref=new Pe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){he[t]=new Pe(t,1,!1,t.toLowerCase(),null,!0,!0)});var q9=/["'&<>]/;function fA(t){if(typeof t=="boolean"||typeof t=="number")return""+t;t=""+t;var e=q9.exec(t);if(e){var r="",A,n=0;for(A=e.index;Ari))throw Error(_t(301));if(t===vr)if(ei=!0,t={action:r,next:null},kr===null&&(kr=new Map),r=kr.get(e),r===void 0)kr.set(e,t);else{for(e=r;e.next!==null;)e=e.next;e.next=t}}function Co(){}var vA=null,g9={readContext:function(t){var e=vA.threadID;return Gn(t,e),t[e]},useContext:function(t){sA();var e=vA.threadID;return Gn(t,e),t[e]},useMemo:Vc,useReducer:Xc,useRef:function(t){vr=sA(),wt=Mo();var e=wt.memoizedState;return e===null?(t={current:t},wt.memoizedState=t):e},useState:function(t){return Xc(Ec,t)},useLayoutEffect:function(){},useCallback:function(t,e){return Vc(function(){return t},e)},useImperativeHandle:Co,useEffect:Co,useDebugValue:Co,useDeferredValue:function(t){return sA(),t},useTransition:function(){return sA(),[function(t){t()},!1]},useOpaqueIdentifier:function(){return(vA.identifierPrefix||"")+"R:"+(vA.uniqueID++).toString(36)},useMutableSource:function(t,e){return sA(),e(t._source)}},jc={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function yc(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var Pc={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},F9=Ar({menuitem:!0},Pc),kn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},H9=["Webkit","ms","Moz","O"];Object.keys(kn).forEach(function(t){H9.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),kn[e]=kn[t]})});var S9=/([A-Z])/g,G9=/^ms-/,wr=yr.Children.toArray,ko=j9.ReactCurrentDispatcher,M9={listing:!0,pre:!0,textarea:!0},C9=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Zc={},wo={};function k9(t){if(t==null)return t;var e="";return yr.Children.forEach(t,function(r){r!=null&&(e+=r)}),e}var w9=Object.prototype.hasOwnProperty,K9={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Nc(t,e){if(t===void 0)throw Error(_t(152,Sn(e)||"Component"))}function U9(t,e,r){function A(i,u){var o=u.prototype&&u.prototype.isReactComponent,l=y9(u,e,r,o),s=[],z=!1,f={isMounted:function(){return!1},enqueueForceUpdate:function(){if(s===null)return null},enqueueReplaceState:function(d,R){z=!0,s=[R]},enqueueSetState:function(d,R){if(s===null)return null;s.push(R)}};if(o){if(o=new u(i.props,l,f),typeof u.getDerivedStateFromProps=="function"){var v=u.getDerivedStateFromProps.call(null,i.props,o.state);v!=null&&(o.state=Ar({},o.state,v))}}else if(vr={},o=u(i.props,l,f),o=xc(u,i.props,o,l),o==null||o.render==null){t=o,Nc(t,u);return}if(o.props=i.props,o.context=l,o.updater=f,f=o.state,f===void 0&&(o.state=f=null),typeof o.UNSAFE_componentWillMount=="function"||typeof o.componentWillMount=="function")if(typeof o.componentWillMount=="function"&&typeof u.getDerivedStateFromProps!="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&typeof u.getDerivedStateFromProps!="function"&&o.UNSAFE_componentWillMount(),s.length){f=s;var m=z;if(s=null,z=!1,m&&f.length===1)o.state=f[0];else{v=m?f[0]:o.state;var p=!0;for(m=m?1:0;m=u))throw Error(_t(304));var o=new Uint16Array(u);for(o.set(i),ze=o,ze[0]=a+1,i=a;i=o.children.length){var l=o.footer;if(l!==""&&(this.previousWasTextNode=!1),this.stack.pop(),o.type==="select")this.currentSelectValue=null;else if(o.type!=null&&o.type.type!=null&&o.type.type.$$typeof===_a)this.popProvider(o.type);else if(o.type===$a){this.suspenseDepth--;var s=a.pop();if(i){i=!1;var z=o.fallbackFrame;if(!z)throw Error(_t(303));this.stack.push(z),a[this.suspenseDepth]+="";continue}else a[this.suspenseDepth]+=s}a[this.suspenseDepth]+=l}else{var f=o.children[o.childIndex++],v="";try{v+=this.render(f,o.context,o.domNamespace)}catch(m){throw m!=null&&typeof m.then=="function"?Error(_t(294)):m}finally{}a.length<=this.suspenseDepth&&a.push(""),a[this.suspenseDepth]+=v}}return a[0]}finally{ko.current=n,vA=A,Ic()}},e.render=function(r,A,n){if(typeof r=="string"||typeof r=="number")return n=""+r,n===""?"":this.makeStaticMarkup?fA(n):this.previousWasTextNode?""+fA(n):(this.previousWasTextNode=!0,fA(n));if(A=U9(r,A,this.threadID),r=A.child,A=A.context,r===null||r===!1)return"";if(!yr.isValidElement(r)){if(r!=null&&r.$$typeof!=null)throw n=r.$$typeof,Error(n===qo?_t(257):_t(258,n.toString()));return r=wr(r),this.stack.push({type:null,domNamespace:n,children:r,childIndex:0,context:A,footer:""}),""}var a=r.type;if(typeof a=="string")return this.renderDOM(r,A,n);switch(a){case pc:case dc:case Oo:case To:case go:case Ba:return r=wr(r.props.children),this.stack.push({type:null,domNamespace:n,children:r,childIndex:0,context:A,footer:""}),"";case $a:throw Error(_t(294));case cc:throw Error(_t(343))}if(typeof a=="object"&&a!==null)switch(a.$$typeof){case Yo:vr={};var i=a.render(r.props,r.ref);return i=xc(a.render,r.props,i,r.ref),i=wr(i),this.stack.push({type:null,domNamespace:n,children:i,childIndex:0,context:A,footer:""}),"";case Fo:return r=[yr.createElement(a.type,Ar({ref:r.ref},r.props))],this.stack.push({type:null,domNamespace:n,children:r,childIndex:0,context:A,footer:""}),"";case _a:return a=wr(r.props.children),n={type:r,domNamespace:n,children:a,childIndex:0,context:A,footer:""},this.pushProvider(r),this.stack.push(n),"";case Lo:a=r.type,i=r.props;var u=this.threadID;return Gn(a,u),a=wr(i.children(a[u])),this.stack.push({type:r,domNamespace:n,children:a,childIndex:0,context:A,footer:""}),"";case vc:throw Error(_t(338));case Ho:return a=r.type,i=a._init,a=i(a._payload),r=[yr.createElement(a,Ar({ref:r.ref},r.props))],this.stack.push({type:null,domNamespace:n,children:r,childIndex:0,context:A,footer:""}),""}throw Error(_t(130,a==null?a:typeof a,""))},e.renderDOM=function(r,A,n){var a=r.type.toLowerCase();if(n===jc.html&&yc(a),!Zc.hasOwnProperty(a)){if(!C9.test(a))throw Error(_t(65,a));Zc[a]=!0}var i=r.props;if(a==="input")i=Ar({type:void 0},i,{defaultChecked:void 0,defaultValue:void 0,value:i.value!=null?i.value:i.defaultValue,checked:i.checked!=null?i.checked:i.defaultChecked});else if(a==="textarea"){var u=i.value;if(u==null){u=i.defaultValue;var o=i.children;if(o!=null){if(u!=null)throw Error(_t(92));if(Array.isArray(o)){if(!(1>=o.length))throw Error(_t(93));o=o[0]}u=""+o}u==null&&(u="")}i=Ar({},i,{value:void 0,children:""+u})}else if(a==="select")this.currentSelectValue=i.value!=null?i.value:i.defaultValue,i=Ar({},i,{value:void 0});else if(a==="option"){o=this.currentSelectValue;var l=k9(i.children);if(o!=null){var s=i.value!=null?i.value+"":l;if(u=!1,Array.isArray(o)){for(var z=0;z":(R+=">",u="");t:{if(o=i.dangerouslySetInnerHTML,o!=null){if(o.__html!=null){o=o.__html;break t}}else if(o=i.children,typeof o=="string"||typeof o=="number"){o=fA(o);break t}o=null}return o!=null?(i=[],M9.hasOwnProperty(a)&&o.charAt(0)===` `&&(R+=` `),R+=o):i=wr(i.children),r=r.type,n=n==null||n==="http://www.w3.org/1999/xhtml"?yc(r):n==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:a,children:i,childIndex:0,context:A,footer:u}),this.previousWasTextNode=!1,R},t}();HA.renderToNodeStream=function(){throw Error(_t(207))};HA.renderToStaticMarkup=function(t,e){t=new qc(t,!0,e);try{return t.read(1/0)}finally{t.destroy()}};HA.renderToStaticNodeStream=function(){throw Error(_t(208))};HA.renderToString=function(t,e){t=new qc(t,!1,e);try{return t.read(1/0)}finally{t.destroy()}};HA.version="17.0.2"});var Lc=Ye((FD,Tc)=>{"use strict";Tc.exports=Oc()});var fd=Ye((GQ,ld)=>{"use strict";var fR="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";ld.exports=fR});var dd=Ye((MQ,cd)=>{"use strict";var sR=fd();function sd(){}function vd(){}vd.resetWarningCache=sd;cd.exports=function(){function t(A,n,a,i,u,o){if(o!==sR){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}t.isRequired=t;function e(){return t}var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:vd,resetWarningCache:sd};return r.PropTypes=r,r}});var bd=Ye((wQ,pd)=>{pd.exports=dd()();var CQ,kQ});var rl=Ye(SA=>{"use strict";Object.defineProperty(SA,"__esModule",{value:!0});var md=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],ii=md.join(","),Rd=typeof Element=="undefined",dA=Rd?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,tl=!Rd&&Element.prototype.getRootNode?function(t){return t.getRootNode()}:function(t){return t.ownerDocument},Wd=function(e,r,A){var n=Array.prototype.slice.apply(e.querySelectorAll(ii));return r&&dA.call(e,ii)&&n.unshift(e),n=n.filter(A),n},zd=function t(e,r,A){for(var n=[],a=Array.from(e);a.length;){var i=a.shift();if(i.tagName==="SLOT"){var u=i.assignedElements(),o=u.length?u:i.children,l=t(o,!0,A);A.flatten?n.push.apply(n,l):n.push({scope:i,candidates:l})}else{var s=dA.call(i,ii);s&&A.filter(i)&&(r||!e.includes(i))&&n.push(i);var z=i.shadowRoot||typeof A.getShadowRoot=="function"&&A.getShadowRoot(i),f=!A.shadowRootFilter||A.shadowRootFilter(i);if(z&&f){var v=t(z===!0?i.children:z.children,!0,A);A.flatten?n.push.apply(n,v):n.push({scope:i,candidates:v})}else a.unshift.apply(a,i.children)}}return n},hd=function(e,r){return e.tabIndex<0&&(r||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},vR=function(e,r){return e.tabIndex===r.tabIndex?e.documentOrder-r.documentOrder:e.tabIndex-r.tabIndex},xd=function(e){return e.tagName==="INPUT"},cR=function(e){return xd(e)&&e.type==="hidden"},dR=function(e){var r=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(A){return A.tagName==="SUMMARY"});return r},pR=function(e,r){for(var A=0;Asummary:first-of-type"),i=a?e.parentElement:e;if(dA.call(i,"details:not([open]) *"))return!0;var u=tl(e).host,o=(u==null?void 0:u.ownerDocument.contains(u))||e.ownerDocument.contains(e);if(!A||A==="full"){if(typeof n=="function"){for(var l=e;e;){var s=e.parentElement,z=tl(e);if(s&&!s.shadowRoot&&n(s)===!0)return Id(e);e.assignedSlot?e=e.assignedSlot:!s&&z!==e.ownerDocument?e=z.host:e=s}e=l}if(o)return!e.getClientRects().length}else if(A==="non-zero-area")return Id(e);return!1},zR=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var r=e.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var A=0;A=0)},xR=function t(e){var r=[],A=[];return e.forEach(function(n,a){var i=!!n.scope,u=i?n.scope:n,o=hd(u,i),l=i?t(n.candidates):u;o===0?i?r.push.apply(r,l):r.push(u):A.push({documentOrder:a,tabIndex:o,item:n,isScope:i,content:l})}),A.sort(vR).reduce(function(n,a){return a.isScope?n.push.apply(n,a.content):n.push(a.content),n},[]).concat(r)},IR=function(e,r){r=r||{};var A;return r.getShadowRoot?A=zd([e],r.includeContainer,{filter:el.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:hR}):A=Wd(e,r.includeContainer,el.bind(null,r)),xR(A)},ER=function(e,r){r=r||{};var A;return r.getShadowRoot?A=zd([e],r.includeContainer,{filter:ui.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):A=Wd(e,r.includeContainer,ui.bind(null,r)),A},XR=function(e,r){if(r=r||{},!e)throw new Error("No node provided");return dA.call(e,ii)===!1?!1:el(r,e)},VR=md.concat("iframe").join(","),jR=function(e,r){if(r=r||{},!e)throw new Error("No node provided");return dA.call(e,VR)===!1?!1:ui(r,e)};SA.focusable=ER;SA.isFocusable=jR;SA.isTabbable=XR;SA.tabbable=IR});var Pd=Ye(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});var Pr=rl();function Ed(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(t);e&&(A=A.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,A)}return r}function Xd(t){for(var e=1;e0){var A=t[t.length-1];A!==r&&A.pause()}var n=t.indexOf(r);n===-1||t.splice(n,1),t.push(r)},deactivateTrap:function(r){var A=t.indexOf(r);A!==-1&&t.splice(A,1),t.length>0&&t[t.length-1].unpause()}}}(),PR=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},ZR=function(e){return e.key==="Escape"||e.key==="Esc"||e.keyCode===27},NR=function(e){return e.key==="Tab"||e.keyCode===9},jd=function(e){return setTimeout(e,0)},yd=function(e,r){var A=-1;return e.every(function(n,a){return r(n)?(A=a,!1):!0}),A},Un=function(e){for(var r=arguments.length,A=new Array(r>1?r-1:0),n=1;n1?y-1:0),w=1;w=0)I=A.activeElement;else{var V=a.tabbableGroups[0],y=V&&V.firstTabbableNode;I=y||l("fallbackFocus")}if(!I)throw new Error("Your focus-trap needs to have at least one focusable element");return I},z=function(){if(a.containerGroups=a.containers.map(function(I){var V=Pr.tabbable(I,n.tabbableOptions),y=Pr.focusable(I,n.tabbableOptions);return{container:I,tabbableNodes:V,focusableNodes:y,firstTabbableNode:V.length>0?V[0]:null,lastTabbableNode:V.length>0?V[V.length-1]:null,nextTabbableNode:function(w){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Z=y.findIndex(function(Y){return Y===w});if(!(Z<0))return q?y.slice(Z+1).find(function(Y){return Pr.isTabbable(Y,n.tabbableOptions)}):y.slice(0,Z).reverse().find(function(Y){return Pr.isTabbable(Y,n.tabbableOptions)})}}}),a.tabbableGroups=a.containerGroups.filter(function(I){return I.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},f=function h(I){if(I!==!1&&I!==A.activeElement){if(!I||!I.focus){h(s());return}I.focus({preventScroll:!!n.preventScroll}),a.mostRecentlyFocusedNode=I,PR(I)&&I.select()}},v=function(I){var V=l("setReturnFocus",I);return V||(V===!1?!1:I)},m=function(I){var V=oi(I);if(!(o(V)>=0)){if(Un(n.clickOutsideDeactivates,I)){i.deactivate({returnFocus:n.returnFocusOnDeactivate&&!Pr.isFocusable(V,n.tabbableOptions)});return}Un(n.allowOutsideClick,I)||I.preventDefault()}},p=function(I){var V=oi(I),y=o(V)>=0;y||V instanceof Document?y&&(a.mostRecentlyFocusedNode=V):(I.stopImmediatePropagation(),f(a.mostRecentlyFocusedNode||s()))},X=function(I){var V=oi(I);z();var y=null;if(a.tabbableGroups.length>0){var T=o(V),w=T>=0?a.containerGroups[T]:void 0;if(T<0)I.shiftKey?y=a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:y=a.tabbableGroups[0].firstTabbableNode;else if(I.shiftKey){var q=yd(a.tabbableGroups,function(j){var W=j.firstTabbableNode;return V===W});if(q<0&&(w.container===V||Pr.isFocusable(V,n.tabbableOptions)&&!Pr.isTabbable(V,n.tabbableOptions)&&!w.nextTabbableNode(V,!1))&&(q=T),q>=0){var Z=q===0?a.tabbableGroups.length-1:q-1,Y=a.tabbableGroups[Z];y=Y.lastTabbableNode}}else{var O=yd(a.tabbableGroups,function(j){var W=j.lastTabbableNode;return V===W});if(O<0&&(w.container===V||Pr.isFocusable(V,n.tabbableOptions)&&!Pr.isTabbable(V,n.tabbableOptions)&&!w.nextTabbableNode(V))&&(O=T),O>=0){var L=O===a.tabbableGroups.length-1?0:O+1,E=a.tabbableGroups[L];y=E.firstTabbableNode}}}else y=l("fallbackFocus");y&&(I.preventDefault(),f(y))},c=function(I){if(ZR(I)&&Un(n.escapeDeactivates,I)!==!1){I.preventDefault(),i.deactivate();return}if(NR(I)){X(I);return}},b=function(I){var V=oi(I);o(V)>=0||Un(n.clickOutsideDeactivates,I)||Un(n.allowOutsideClick,I)||(I.preventDefault(),I.stopImmediatePropagation())},d=function(){if(!!a.active)return Vd.activateTrap(i),a.delayInitialFocusTimer=n.delayInitialFocus?jd(function(){f(s())}):f(s()),A.addEventListener("focusin",p,!0),A.addEventListener("mousedown",m,{capture:!0,passive:!1}),A.addEventListener("touchstart",m,{capture:!0,passive:!1}),A.addEventListener("click",b,{capture:!0,passive:!1}),A.addEventListener("keydown",c,{capture:!0,passive:!1}),i},R=function(){if(!!a.active)return A.removeEventListener("focusin",p,!0),A.removeEventListener("mousedown",m,!0),A.removeEventListener("touchstart",m,!0),A.removeEventListener("click",b,!0),A.removeEventListener("keydown",c,!0),i};return i={get active(){return a.active},get paused(){return a.paused},activate:function(I){if(a.active)return this;var V=u(I,"onActivate"),y=u(I,"onPostActivate"),T=u(I,"checkCanFocusTrap");T||z(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=A.activeElement,V&&V();var w=function(){T&&z(),d(),y&&y()};return T?(T(a.containers.concat()).then(w,w),this):(w(),this)},deactivate:function(I){if(!a.active)return this;var V=Xd({onDeactivate:n.onDeactivate,onPostDeactivate:n.onPostDeactivate,checkCanReturnFocus:n.checkCanReturnFocus},I);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,R(),a.active=!1,a.paused=!1,Vd.deactivateTrap(i);var y=u(V,"onDeactivate"),T=u(V,"onPostDeactivate"),w=u(V,"checkCanReturnFocus"),q=u(V,"returnFocus","returnFocusOnDeactivate");y&&y();var Z=function(){jd(function(){q&&f(v(a.nodeFocusedBeforeActivation)),T&&T()})};return q&&w?(w(v(a.nodeFocusedBeforeActivation)).then(Z,Z),this):(Z(),this)},pause:function(){return a.paused||!a.active?this:(a.paused=!0,R(),this)},unpause:function(){return!a.paused||!a.active?this:(a.paused=!1,z(),d(),this)},updateContainerElements:function(I){var V=[].concat(I).filter(Boolean);return a.containers=V.map(function(y){return typeof y=="string"?A.querySelector(y):y}),a.active&&z(),this}},i.updateContainerElements(e),i};Al.createFocusTrap=qR});var qd=Ye((JQ,Nd)=>{"use strict";function nl(t){return nl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nl(t)}function OR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zd(t,e){for(var r=0;r1?s-1:0),f=1;f element.");var i=function(l){var s=n.props.containerElements;a&&(typeof a.ref=="function"?a.ref(l):a.ref&&(a.ref.current=l)),n.focusTrapElements=s||[l]},u=fi.cloneElement(a,{ref:i});return u}return null}}]),r}(fi.Component),Dn=typeof Element=="undefined"?Function:Element;il.propTypes={active:bt.bool,paused:bt.bool,focusTrapOptions:bt.shape({document:bt.object,onActivate:bt.func,onPostActivate:bt.func,checkCanFocusTrap:bt.func,onDeactivate:bt.func,onPostDeactivate:bt.func,checkCanReturnFocus:bt.func,initialFocus:bt.oneOfType([bt.instanceOf(Dn),bt.string,bt.bool,bt.func]),fallbackFocus:bt.oneOfType([bt.instanceOf(Dn),bt.string,bt.func]),escapeDeactivates:bt.oneOfType([bt.bool,bt.func]),clickOutsideDeactivates:bt.oneOfType([bt.bool,bt.func]),returnFocusOnDeactivate:bt.bool,setReturnFocus:bt.oneOfType([bt.instanceOf(Dn),bt.string,bt.bool,bt.func]),allowOutsideClick:bt.oneOfType([bt.bool,bt.func]),preventScroll:bt.bool,tabbableOptions:bt.shape({displayCheck:bt.oneOf(["full","non-zero-area","none"]),getShadowRoot:bt.oneOfType([bt.bool,bt.func])})}),containerElements:bt.arrayOf(bt.instanceOf(Dn)),children:bt.oneOfType([bt.element,bt.instanceOf(Dn)])};il.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:GR};Nd.exports=il});var Qp=Ye((exports,module)=>{typeof navigator!="undefined"&&function(t,e){typeof exports=="object"&&typeof module!="undefined"?module.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis!="undefined"?globalThis:t||self,t.lottie=e())}(exports,function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var r,A=t.length,n;for(r=0;r1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t=[],e,r;for(e=0;e<256;e+=1)r=e.toString(16),t[e]=r.length===1?"0"+r:r;return function(A,n,a){return A<0&&(A=0),n<0&&(n=0),a<0&&(a=0),"#"+t[A]+t[n]+t[a]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e},getIdPrefix=function(){return idPrefix$1};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(r){return typeof r}:_typeof$5=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$5(t)}var dataManager=function(){var t=1,e=[],r,A,n={onmessage:function(){},postMessage:function(v){r({data:v})}},a={postMessage:function(v){n.onmessage({data:v})}};function i(f){if(window.Worker&&window.Blob&&getWebWorker()){var v=new Blob(["var _workerSelf = self; self.onmessage = ",f.toString()],{type:"text/javascript"}),m=URL.createObjectURL(v);return new Worker(m)}return r=f,n}function u(){A||(A=i(function(v){function m(){function X(L,E){var j,W,x=L.length,N,P,D,F;for(W=0;W=0;E-=1)if(L[E].ty==="sh")if(L[E].ks.k.i)h(L[E].ks.k);else for(x=L[E].ks.k.length,W=0;Wj[0]?!0:j[0]>L[0]?!1:L[1]>j[1]?!0:j[1]>L[1]?!1:L[2]>j[2]?!0:j[2]>L[2]?!1:null}var V=function(){var L=[4,4,14];function E(W){var x=W.t.d;W.t.d={k:[{s:x,t:0}]}}function j(W){var x,N=W.length;for(x=0;x=0;x-=1)if(W[x].ty==="sh")if(W[x].ks.k.i)W[x].ks.k.c=W[x].closed;else for(D=W[x].ks.k.length,P=0;P500)&&(this._imageLoaded(),clearInterval(d)),b+=1}.bind(this),50)}function a(c){var b=A(c,this.assetsPath,this.path),d=createNS("image");isSafari?this.testImageLoaded(d):d.addEventListener("load",this._imageLoaded,!1),d.addEventListener("error",function(){R.img=t,this._imageLoaded()}.bind(this),!1),d.setAttributeNS("http://www.w3.org/1999/xlink","href",b),this._elementHelper.append?this._elementHelper.append(d):this._elementHelper.appendChild(d);var R={img:d,assetData:c};return R}function i(c){var b=A(c,this.assetsPath,this.path),d=createTag("img");d.crossOrigin="anonymous",d.addEventListener("load",this._imageLoaded,!1),d.addEventListener("error",function(){R.img=t,this._imageLoaded()}.bind(this),!1),d.src=b;var R={img:d,assetData:c};return R}function u(c){var b={assetData:c},d=A(c,this.assetsPath,this.path);return dataManager.loadData(d,function(R){b.img=R,this._footageLoaded()}.bind(this),function(){b.img={},this._footageLoaded()}.bind(this)),b}function o(c,b){this.imagesLoadedCb=b;var d,R=c.length;for(d=0;dthis.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e=this.animationData.layers,r,A=e.length,n=t.layers,a,i=n.length;for(a=0;athis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,r=0;r=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):e<0?this.checkSegments(e%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,e=0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFramee&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),_typeof$4(t[0])==="object"){var r,A=t.length;for(r=0;r=0;j-=1)e[j].animation.destroy(E)}function y(E,j,W){var x=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),N,P=x.length;for(N=0;N0?R=y:d=y;while(Math.abs(V)>a&&++T=n?X(d,q,R,h):Z===0?q:p(d,V,V+o,R,h)}},t}(),pooling=function(){function t(e){return e.concat(createSizedArray(e.length))}return{double:t}}(),poolFactory=function(){return function(t,e,r){var A=0,n=t,a=createSizedArray(n),i={newElement:u,release:o};function u(){var l;return A?(A-=1,l=a[A]):l=e(),l}function o(l){A===n&&(a=pooling.double(a),n*=2),r&&r(l),a[A]=l,A+=1}return i}}(),bezierLengthPool=function(){function t(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,t)}(),segmentsLengthPool=function(){function t(){return{lengths:[],totalLength:0}}function e(r){var A,n=r.lengths.length;for(A=0;A-.001&&b<.001}function r(f,v,m,p,X,c,b,d,R){if(m===0&&c===0&&R===0)return e(f,v,p,X,b,d);var h=t.sqrt(t.pow(p-f,2)+t.pow(X-v,2)+t.pow(c-m,2)),I=t.sqrt(t.pow(b-f,2)+t.pow(d-v,2)+t.pow(R-m,2)),V=t.sqrt(t.pow(b-p,2)+t.pow(d-X,2)+t.pow(R-c,2)),y;return h>I?h>V?y=h-I-V:y=V-I-h:V>I?y=V-I-h:y=I-h-V,y>-1e-4&&y<1e-4}var A=function(){return function(f,v,m,p){var X=getDefaultCurveSegments(),c,b,d,R,h,I=0,V,y=[],T=[],w=bezierLengthPool.newElement();for(d=m.length,c=0;cb?-1:1,h=!0;h;)if(p[c]<=b&&p[c+1]>b?(d=(b-p[c])/(p[c+1]-p[c]),h=!1):c+=R,c<0||c>=X-1){if(c===X-1)return m[c];h=!1}return m[c]+(m[c+1]-m[c])*d}function l(f,v,m,p,X,c){var b=o(X,c),d=1-b,R=t.round((d*d*d*f[0]+(b*d*d+d*b*d+d*d*b)*m[0]+(b*b*d+d*b*b+b*d*b)*p[0]+b*b*b*v[0])*1e3)/1e3,h=t.round((d*d*d*f[1]+(b*d*d+d*b*d+d*d*b)*m[1]+(b*b*d+d*b*b+b*d*b)*p[1]+b*b*b*v[1])*1e3)/1e3;return[R,h]}var s=createTypedArray("float32",8);function z(f,v,m,p,X,c,b){X<0?X=0:X>1&&(X=1);var d=o(X,b);c=c>1?1:c;var R=o(c,b),h,I=f.length,V=1-d,y=1-R,T=V*V*V,w=d*V*V*3,q=d*d*V*3,Z=d*d*d,Y=V*V*y,O=d*V*y+V*d*y+V*V*R,L=d*d*y+V*d*R+d*V*R,E=d*d*R,j=V*y*y,W=d*y*y+V*R*y+V*y*R,x=d*R*y+V*R*R+d*y*R,N=d*R*R,P=y*y*y,D=R*y*y+y*R*y+y*y*R,F=R*R*y+y*R*R+R*y*R,C=R*R*R;for(h=0;h=l.t-r){o.h&&(o=l),n=0;break}if(l.t-r>t){n=a;break}a=c||t=c?R.points.length-1:0;for(f=R.points[h].point.length,z=0;z=y&&I=c)A[0]=d[0],A[1]=d[1],A[2]=d[2];else if(t<=b)A[0]=o.s[0],A[1]=o.s[1],A[2]=o.s[2];else{var O=createQuaternion(o.s),L=createQuaternion(d),E=(t-b)/(c-b);quaternionToEuler(A,slerp(O,L,E))}else for(a=0;a=c?v=1:t1e-6?(f=Math.acos(v),m=Math.sin(f),p=Math.sin((1-r)*f)/m,X=Math.sin(r*f)/m):(p=1-r,X=r),A[0]=p*n+X*o,A[1]=p*a+X*l,A[2]=p*i+X*s,A[3]=p*u+X*z,A}function quaternionToEuler(t,e){var r=e[0],A=e[1],n=e[2],a=e[3],i=Math.atan2(2*A*a-2*r*n,1-2*A*A-2*n*n),u=Math.asin(2*r*A+2*n*a),o=Math.atan2(2*r*a-2*A*n,1-2*r*r-2*n*n);t[0]=i/degToRads,t[1]=u/degToRads,t[2]=o/degToRads}function createQuaternion(t){var e=t[0]*degToRads,r=t[1]*degToRads,A=t[2]*degToRads,n=Math.cos(e/2),a=Math.cos(r/2),i=Math.cos(A/2),u=Math.sin(e/2),o=Math.sin(r/2),l=Math.sin(A/2),s=n*a*i-u*o*l,z=u*o*i+n*a*l,f=u*a*i+n*o*l,v=n*o*i-u*a*l;return[z,f,v,s]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&t>=r||this._caching.lastFrame=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var A=this.interpolateValue(t,this._caching);this.pv=A}return this._caching.lastFrame=t,this.pv}function setVValue(t){var e;if(this.propType==="unidimensional")e=t*this.mult,mathAbs(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var r=0,A=this.v.length;r1e-5&&(this.v[r]=e,this._mdf=!0),r+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var t,e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[A]||a[A]&&!n)&&(a[A]=pointPool.newElement()),a[A][0]=t,a[A][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,A,n,a,i,u){this.setXYAt(t,e,"v",i,u),this.setXYAt(r,A,"o",i,u),this.setXYAt(n,a,"i",i,u)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,A=this.i,n=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],A[0][0],A[0][1],r[0][0],r[0][1],0,!1),n=1);var a=this._length-1,i=this._length,u;for(u=n;u=O[O.length-1].t-this.offsetTime)h=O[O.length-1].s?O[O.length-1].s[0]:O[O.length-2].e[0],V=!0;else{for(var L=R,E=O.length-1,j=!0,W,x,N;j&&(W=O[L],x=O[L+1],!(x.t-this.offsetTime>c));)L=x.t-this.offsetTime)Z=1;else if(cd&&c>d)||(this._caching.lastIndex=R0||W>-1e-6&&W<0?A(W*x)/x:W}function j(){var W=this.props,x=E(W[0]),N=E(W[1]),P=E(W[4]),D=E(W[5]),F=E(W[12]),C=E(W[13]);return"matrix("+x+","+N+","+P+","+D+","+F+","+C+")"}return function(){this.reset=n,this.rotate=a,this.rotateX=i,this.rotateY=u,this.rotateZ=o,this.skew=s,this.skewFromAxis=z,this.shear=l,this.scale=f,this.setTransform=v,this.translate=m,this.transform=p,this.multiply=X,this.applyToPoint=h,this.applyToX=I,this.applyToY=V,this.applyToZ=y,this.applyToPointArray=Y,this.applyToTriplePoints=Z,this.applyToPointStringified=O,this.toCSS=L,this.to2dCSS=j,this.clone=d,this.cloneFromProps=R,this.equals=b,this.inversePoints=q,this.inversePoint=w,this.getInverseMatrix=T,this._t=this.transform,this.isIdentity=c,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(r){return typeof r}:_typeof$3=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$3(t)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(t){setLocationHref(t)}function searchAnimations(){standalone===!0?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return standalone===!0&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if(typeof t=="string")switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return typeof navigator!="undefined"}function installPlugin(t,e){t==="expressions"&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),r=0;r=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var i=[],u,o=a.length,l;for(u=0;uA+r)){var s,z;l.s*n<=A?s=0:s=(l.s*n-A)/r,l.e*n>=A+r?z=1:z=(l.e*n-A)/r,i.push([s,z])}return i.length||i.push([0,0]),i},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e1?e=1+A:this.s.v<0?e=0+A:e=this.s.v+A,this.e.v>1?r=1+A:this.e.v<0?r=0+A:r=this.e.v+A,e>r){var n=e;e=r,r=n}e=Math.round(e*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var a,i,u=this.shapes.length,o,l,s,z,f,v=0;if(r===e)for(i=0;i=0;i-=1)if(p=this.shapes[i],p.shape._mdf){for(X=p.localShapeCollection,X.releaseShapes(),this.m===2&&u>1?(R=this.calculateShapeEdges(e,r,p.totalShapeLength,d,v),d+=p.totalShapeLength):R=[[c,b]],l=R.length,o=0;o=1?m.push({s:p.totalShapeLength*(c-1),e:p.totalShapeLength*(b-1)}):(m.push({s:p.totalShapeLength*c,e:p.totalShapeLength}),m.push({s:0,e:p.totalShapeLength*(b-1)}));var h=this.addShapes(p,m[0]);if(m[0].s!==m[0].e){if(m.length>1){var I=p.shape.paths.shapes[p.shape.paths._length-1];if(I.c){var V=h.pop();this.addPaths(h,X),h=this.addShapes(p,m[1],V)}else this.addPaths(h,X),h=this.addShapes(p,m[1])}this.addPaths(h,X)}}p.shape.paths=X}}},TrimModifier.prototype.addPaths=function(t,e){var r,A=t.length;for(r=0;re.e){r.c=!1;break}else e.s<=l&&e.e>=l+s.addedLength?(this.addSegment(n[a].v[u-1],n[a].o[u-1],n[a].i[u],n[a].v[u],r,z,X),X=!1):(v=bez.getNewSegment(n[a].v[u-1],n[a].v[u],n[a].o[u-1],n[a].i[u],(e.s-l)/s.addedLength,(e.e-l)/s.addedLength,f[u-1]),this.addSegmentFromArray(v,r,z,X),X=!1,r.c=!1),l+=s.addedLength,z+=1;if(n[a].c&&f.length){if(s=f[u-1],l<=e.e){var c=f[u-1].addedLength;e.s<=l&&e.e>=l+c?(this.addSegment(n[a].v[u-1],n[a].o[u-1],n[a].i[0],n[a].v[0],r,z,X),X=!1):(v=bez.getNewSegment(n[a].v[u-1],n[a].v[0],n[a].o[u-1],n[a].i[0],(e.s-l)/c,(e.e-l)/c,f[u-1]),this.addSegmentFromArray(v,r,z,X),X=!1,r.c=!1)}else r.c=!1;l+=s.addedLength,z+=1}if(r._length&&(r.setXYAt(r.v[p][0],r.v[p][1],"i",p),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),l>e.e)break;a=this.p.keyframes[this.p.keyframes.length-1].t?(s=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/l,0),z=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/l,0)):(s=this.p.pv,z=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/l,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){s=[],z=[];var f=this.px,v=this.py;f._caching.lastFrame+f.offsetTime<=f.keyframes[0].t?(s[0]=f.getValueAtTime((f.keyframes[0].t+.01)/l,0),s[1]=v.getValueAtTime((v.keyframes[0].t+.01)/l,0),z[0]=f.getValueAtTime(f.keyframes[0].t/l,0),z[1]=v.getValueAtTime(v.keyframes[0].t/l,0)):f._caching.lastFrame+f.offsetTime>=f.keyframes[f.keyframes.length-1].t?(s[0]=f.getValueAtTime(f.keyframes[f.keyframes.length-1].t/l,0),s[1]=v.getValueAtTime(v.keyframes[v.keyframes.length-1].t/l,0),z[0]=f.getValueAtTime((f.keyframes[f.keyframes.length-1].t-.01)/l,0),z[1]=v.getValueAtTime((v.keyframes[v.keyframes.length-1].t-.01)/l,0)):(s=[f.pv,v.pv],z[0]=f.getValueAtTime((f._caching.lastFrame+f.offsetTime-.01)/l,f.offsetTime),z[1]=v.getValueAtTime((v._caching.lastFrame+v.offsetTime-.01)/l,v.offsetTime))}else z=t,s=z;this.v.rotate(-Math.atan2(s[1]-z[1],s[0]-z[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function A(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function n(){}function a(o){this._addDynamicProperty(o),this.elem.addDynamicProperty(o),this._isDirty=!0}function i(o,l,s){if(this.elem=o,this.frameId=-1,this.propType="transform",this.data=l,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(s||o),l.p&&l.p.s?(this.px=PropertyFactory.getProp(o,l.p.x,0,0,this),this.py=PropertyFactory.getProp(o,l.p.y,0,0,this),l.p.z&&(this.pz=PropertyFactory.getProp(o,l.p.z,0,0,this))):this.p=PropertyFactory.getProp(o,l.p||{k:[0,0,0]},1,0,this),l.rx){if(this.rx=PropertyFactory.getProp(o,l.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(o,l.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(o,l.rz,0,degToRads,this),l.or.k[0].ti){var z,f=l.or.k.length;for(z=0;z0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e0?Math.floor(f):Math.ceil(f),p=this.pMatrix.props,X=this.rMatrix.props,c=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var b=0;if(f>0){for(;bm;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),b-=1;v&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-v,!0),b-=v)}A=this.data.m===1?0:this._currentCopies-1,n=this.data.m===1?1:-1,a=this._currentCopies;for(var d,R;a;){if(e=this.elemsData[A].it,r=e[e.length-1].transform.mProps.v.props,R=r.length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(A/(this._currentCopies-1)),b!==0){for((A!==0&&n===1||A!==this._currentCopies-1&&n===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(X[0],X[1],X[2],X[3],X[4],X[5],X[6],X[7],X[8],X[9],X[10],X[11],X[12],X[13],X[14],X[15]),this.matrix.transform(c[0],c[1],c[2],c[3],c[4],c[5],c[6],c[7],c[8],c[9],c[10],c[11],c[12],c[13],c[14],c[15]),this.matrix.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),d=0;d0&&A<1?[e]:[]:[e-A,e+A].filter(function(n){return n>0&&n<1})},PolynomialBezier.prototype.split=function(t){if(t<=0)return[singlePoint(this.points[0]),this];if(t>=1)return[this,singlePoint(this.points[this.points.length-1])];var e=lerpPoint(this.points[0],this.points[1],t),r=lerpPoint(this.points[1],this.points[2],t),A=lerpPoint(this.points[2],this.points[3],t),n=lerpPoint(e,r,t),a=lerpPoint(r,A,t),i=lerpPoint(n,a,t);return[new PolynomialBezier(this.points[0],e,n,i,!0),new PolynomialBezier(i,a,A,this.points[3],!0)]};function extrema(t,e){var r=t.points[0][e],A=t.points[t.points.length-1][e];if(r>A){var n=A;A=r,r=n}for(var a=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),i=0;i0&&a[i]<1){var u=t.point(a[i])[e];uA&&(A=u)}return{min:r,max:A}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}};function intersectData(t,e,r){var A=t.boundingBox();return{cx:A.cx,cy:A.cy,width:A.width,height:A.height,bez:t,t:(e+r)/2,t1:e,t2:r}}function splitData(t){var e=t.bez.split(.5);return[intersectData(e[0],t.t1,t.t),intersectData(e[1],t.t,t.t2)]}function boxIntersect(t,e){return Math.abs(t.cx-e.cx)*2=a||t.width<=A&&t.height<=A&&e.width<=A&&e.height<=A){n.push([t.t,e.t]);return}var i=splitData(t),u=splitData(e);intersectsImpl(i[0],u[0],r+1,A,n,a),intersectsImpl(i[0],u[1],r+1,A,n,a),intersectsImpl(i[1],u[0],r+1,A,n,a),intersectsImpl(i[1],u[1],r+1,A,n,a)}}PolynomialBezier.prototype.intersections=function(t,e,r){e===void 0&&(e=2),r===void 0&&(r=7);var A=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,A,r),A},PolynomialBezier.shapeSegment=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[r],t.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[r],t.i[r],t.o[e],t.v[e],!0)};function crossProduct(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function lineIntersection(t,e,r,A){var n=[t[0],t[1],1],a=[e[0],e[1],1],i=[r[0],r[1],1],u=[A[0],A[1],1],o=crossProduct(crossProduct(n,a),crossProduct(i,u));return floatZero(o[2])?null:[o[0]/o[2],o[1]/o[2]]}function polarOffset(t,e,r){return[t[0]+Math.cos(e)*r,t[1]-Math.sin(e)*r]}function pointDistance(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function pointEqual(t,e){return floatEqual(t[0],e[0])&&floatEqual(t[1],e[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(t,e.s,0,null,this),this.frequency=PropertyFactory.getProp(t,e.r,0,null,this),this.pointsType=PropertyFactory.getProp(t,e.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(t,e,r,A,n,a,i){var u=r-Math.PI/2,o=r+Math.PI/2,l=e[0]+Math.cos(r)*A*n,s=e[1]-Math.sin(r)*A*n;t.setTripleAt(l,s,l+Math.cos(u)*a,s-Math.sin(u)*a,l+Math.cos(o)*i,s-Math.sin(o)*i,t.length())}function getPerpendicularVector(t,e){var r=[e[0]-t[0],e[1]-t[1]],A=-Math.PI*.5,n=[Math.cos(A)*r[0]-Math.sin(A)*r[1],Math.sin(A)*r[0]+Math.cos(A)*r[1]];return n}function getProjectingAngle(t,e){var r=e===0?t.length()-1:e-1,A=(e+1)%t.length(),n=t.v[r],a=t.v[A],i=getPerpendicularVector(n,a);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(t,e,r,A,n,a,i){var u=getProjectingAngle(e,r),o=e.v[r%e._length],l=e.v[r===0?e._length-1:r-1],s=e.v[(r+1)%e._length],z=a===2?Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)):0,f=a===2?Math.sqrt(Math.pow(o[0]-s[0],2)+Math.pow(o[1]-s[1],2)):0;setPoint(t,e.v[r%e._length],u,i,A,f/((n+1)*2),z/((n+1)*2),a)}function zigZagSegment(t,e,r,A,n,a){for(var i=0;i1&&e.length>1&&(n=getIntersection(t[0],e[e.length-1]),n)?[[t[0].split(n[0])[0]],[e[e.length-1].split(n[1])[1]]]:[r,A]}function pruneIntersections(t){for(var e,r=1;r1&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var r=t.inflectionPoints(),A,n,a,i;if(r.length===0)return[offsetSegment(t,e)];if(r.length===1||floatEqual(r[1],1))return a=t.split(r[0]),A=a[0],n=a[1],[offsetSegment(A,e),offsetSegment(n,e)];a=t.split(r[0]),A=a[0];var u=(r[1]-r[0])/(1-r[0]);return a=a[1].split(u),i=a[0],n=a[1],[offsetSegment(A,e),offsetSegment(i,e),offsetSegment(n,e)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this.miterLimit=PropertyFactory.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(t,e,r,A){var n=shapePool.newElement();n.c=t.c;var a=t.length();t.c||(a-=1);var i,u,o,l=[];for(i=0;i=0;i-=1)o=PolynomialBezier.shapeSegmentInverted(t,i),l.push(offsetSegmentSplit(o,e));l=pruneIntersections(l);var s=null,z=null;for(i=0;i0&&(D=!1),D){var J=createTag("style");J.setAttribute("f-forigin",W[x].fOrigin),J.setAttribute("f-origin",W[x].origin),J.setAttribute("f-family",W[x].fFamily),J.type="text/css",J.innerText="@font-face {font-family: "+W[x].fFamily+"; font-style: normal; src: url('"+W[x].fPath+"');}",j.appendChild(J)}}else if(W[x].fOrigin==="g"||W[x].origin===1){for(F=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),C=0;C=55296&&W<=56319){var x=E.charCodeAt(1);x>=56320&&x<=57343&&(j=(W-55296)*1024+x-56320+65536)}return j}function I(E,j){var W=E.toString(16)+j.toString(16);return z.indexOf(W)!==-1}function V(E){return E===o}function y(E){return E===u}function T(E){var j=h(E);return j>=l&&j<=s}function w(E){return T(E.substr(0,2))&&T(E.substr(2,2))}function q(E){return r.indexOf(E)!==-1}function Z(E,j){var W=h(E.substr(j,2));if(W!==A)return!1;var x=0;for(j+=2;x<5;){if(W=h(E.substr(j,2)),Wi)return!1;x+=1,j+=2}return h(E.substr(j,2))===n}function Y(){this.isLoaded=!0}var O=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};O.isModifier=I,O.isZeroWidthJoiner=V,O.isFlagEmoji=w,O.isRegionalCode=T,O.isCombinedCharacter=q,O.isRegionalFlag=Z,O.isVariationSelector=y,O.BLACK_FLAG_CODE_POINT=A;var L={addChars:c,addFonts:X,getCharData:b,getFontByName:R,measureText:d,checkLoadedFonts:m,setIsLoaded:Y};return O.prototype=L,O}();function SlotManager(t){this.animationData=t}SlotManager.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t};function slotFactory(t){return new SlotManager(t)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){this.renderableComponents.indexOf(e)===-1&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){this.renderableComponents.indexOf(e)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,r=this.renderableComponents.length;for(e=0;e.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(t){var e,r=this.layers.length,A;for(this.completeLayers=!0,e=r-1;e>=0;e-=1)this.elements[e]||(A=this.layers[e],A.ip-A.st<=t-this.layers[e].st&&A.op-A.st>t-this.layers[e].st&&this.buildItem(e)),this.completeLayers=this.elements[e]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t0&&(this.maskElement.setAttribute("id",f),this.element.maskedElement.setAttribute(b,"url("+getLocationHref()+"#"+f+")"),A.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e=this.element.finalTransform.mat,r,A=this.masksProperties.length;for(r=0;r1&&(A+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==A){var i="";r.elem&&(e.c&&(i=t.inv?this.solidPath+A:A),r.elem.setAttribute("d",i)),r.lastPath=A}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};t.createFilter=e,t.createAlphaToLuminanceFilter=r;function e(A,n){var a=createNS("filter");return a.setAttribute("id",A),n!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}function r(){var A=createNS("feColorMatrix");return A.setAttribute("type","matrix"),A.setAttribute("color-interpolation-filters","sRGB"),A.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),A}return t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas!="undefined"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(t){var e,r="SourceGraphic",A=t.data.ef?t.data.ef.length:0,n=createElementID(),a=filtersFactory.createFilter(n,!0),i=0;this.filters=[];var u;for(e=0;e=0&&(A=this.shapeModifiers[e].processShapes(this._isFirstFrame),!A);e-=1);}},searchProcessedElement:function(e){for(var r=this.processedElements,A=0,n=r.length;A.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t0;)c=f.transformers[T].mProps._mdf||c,y-=1,T-=1;if(c)for(y=h-f.styles[d].lvl,T=f.transformers.length-1;y>0;)V.multiply(f.transformers[T].mProps.v),y-=1,T-=1}else V=t;if(I=f.sh.paths,p=I._length,c){for(X="",m=0;m=1?Y=.99:Y<=-1&&(Y=-.99);var O=q*Y,L=Math.cos(Z+f.a.v)*O+X[0],E=Math.sin(Z+f.a.v)*O+X[1];m.setAttribute("fx",L),m.setAttribute("fy",E),p&&!f.g._collapsable&&(f.of.setAttribute("fx",L),f.of.setAttribute("fy",E))}}}function s(z,f,v){var m=f.style,p=f.d;p&&(p._mdf||v)&&p.dashStr&&(m.pElem.setAttribute("stroke-dasharray",p.dashStr),m.pElem.setAttribute("stroke-dashoffset",p.dashoffset[0])),f.c&&(f.c._mdf||v)&&m.pElem.setAttribute("stroke","rgb("+bmFloor(f.c.v[0])+","+bmFloor(f.c.v[1])+","+bmFloor(f.c.v[2])+")"),(f.o._mdf||v)&&m.pElem.setAttribute("stroke-opacity",f.o.v),(f.w._mdf||v)&&(m.pElem.setAttribute("stroke-width",f.w.v),m.msElem&&m.msElem.setAttribute("stroke-width",f.w.v))}return r}();function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e=this.shapes.length,r,A,n=this.stylesList.length,a,i=[],u=!1;for(A=0;A1&&u&&this.setShapesAsAnimated(i)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e=0;o-=1){if(X=this.searchProcessedElement(t[o]),X?e[o]=r[X-1]:t[o]._render=i,t[o].ty==="fl"||t[o].ty==="st"||t[o].ty==="gf"||t[o].ty==="gs"||t[o].ty==="no")X?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],n),t[o]._render&&e[o].style.pElem.parentNode!==A&&A.appendChild(e[o].style.pElem),f.push(e[o].style);else if(t[o].ty==="gr"){if(!X)e[o]=this.createGroupElement(t[o]);else for(z=e[o].it.length,s=0;s1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!t)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var A,n=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(A=0;Ae);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e=[],r=0,A=t.length,n,a,i=!1,u=!1,o="";r=55296&&n<=56319?FontManager.isRegionalFlag(t,r)?o=t.substr(r,14):(a=t.charCodeAt(r+1),a>=56320&&a<=57343&&(FontManager.isModifier(n,a)?(o=t.substr(r,2),i=!0):FontManager.isFlagEmoji(t.substr(r,4))?o=t.substr(r,4):o=t.substr(r,2))):n>56319?(a=t.charCodeAt(r+1),FontManager.isVariationSelector(n)&&(i=!0)):FontManager.isZeroWidthJoiner(n)&&(i=!0,u=!0),i?(e[e.length-1]+=o,i=!1):e.push(o),r+=o.length;return e},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,r=this.data,A=[],n,a,i,u=0,o,l=r.m.g,s=0,z=0,f=0,v=[],m=0,p=0,X,c,b=e.getFontByName(t.f),d,R=0,h=getFontProperties(b);t.fWeight=h.weight,t.fStyle=h.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),a=t.finalText.length,t.finalLineHeight=t.lh;var I=t.tr/1e3*t.finalSize,V;if(t.sz)for(var y=!0,T=t.sz[0],w=t.sz[1],q,Z;y;){Z=this.buildFinalText(t.t),q=0,m=0,a=Z.length,I=t.tr/1e3*t.finalSize;var Y=-1;for(n=0;nT&&Z[n]!==" "?(Y===-1?a+=1:n=Y,q+=t.finalLineHeight||t.finalSize*1.2,Z.splice(n,Y===n?1:0,"\r"),Y=-1,m=0):(m+=R,m+=I);q+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&wp?m:p,m=-2*I,o="",i=!0,f+=1):o=L,e.chars?(d=e.getCharData(L,b.fStyle,e.getFontByName(t.f).fFamily),R=i?0:d.w*t.finalSize/100):R=e.measureText(o,t.f,t.finalSize),L===" "?O+=R+I:(m+=R+I+O,O=0),A.push({l:R,an:R,add:s,n:i,anIndexes:[],val:o,line:f,animatorJustifyOffset:0}),l==2){if(s+=R,o===""||o===" "||n===a-1){for((o===""||o===" ")&&(s-=R);z<=n;)A[z].an=s,A[z].ind=u,A[z].extra=R,z+=1;u+=1,s=0}}else if(l==3){if(s+=R,o===""||n===a-1){for(o===""&&(s-=R);z<=n;)A[z].an=s,A[z].ind=u,A[z].extra=R,z+=1;s=0,u+=1}}else A[u].ind=u,A[u].extra=0,u+=1;if(t.l=A,p=m>p?m:p,v.push(m),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=p,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=v;var E=r.a,j,W;c=E.length;var x,N,P=[];for(X=0;X0?u=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?l=1-this.xe.v/100:s=1+this.xe.v/100;var z=BezierFactory.getBezierEasing(u,o,l,s).get,f=0,v=this.finalS,m=this.finalE,p=this.data.sh;if(p===2)m===v?f=i>=m?1:0:f=t(0,e(.5/(m-v)+(i-v)/(m-v),1)),f=z(f);else if(p===3)m===v?f=i>=m?0:1:f=1-t(0,e(.5/(m-v)+(i-v)/(m-v),1)),f=z(f);else if(p===4)m===v?f=0:(f=t(0,e(.5/(m-v)+(i-v)/(m-v),1)),f<.5?f*=2:f=1-2*(f-.5)),f=z(f);else if(p===5){if(m===v)f=0;else{var X=m-v;i=e(t(0,i+.5-v),m-v);var c=-X/2+i,b=X/2;f=Math.sqrt(1-c*c/(b*b))}f=z(f)}else p===6?(m===v?f=0:(i=e(t(0,i+.5-v),m-v),f=(1+Math.cos(Math.PI+Math.PI*2*i/(m-v)))/2),f=z(f)):(i>=r(v)&&(i-v<0?f=t(0,e(e(m,1)-(v-i),1)):f=t(0,e(m-i,1))),f=z(f));if(this.sm.v!==100){var d=this.sm.v*.01;d===0&&(d=1e-8);var R=.5-d*.5;f1&&(f=1))}return f*this.a.v},getValue:function(i){this.iterateDynamicProperties(),this._mdf=i||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,i&&this.data.r===2&&(this.e.v=this._currentTextLength);var u=this.data.r===2?1:100/this.data.totalChars,o=this.o.v/u,l=this.s.v/u+o,s=this.e.v/u+o;if(l>s){var z=l;l=s,s=z}this.finalS=l,this.finalE=s}},extendPrototype([DynamicPropertyContainer],A);function n(a,i,u){return new A(a,i,u)}return{getTextSelectorProp:n}}();function TextAnimatorDataProperty(t,e,r){var A={propType:!1},n=PropertyFactory.getProp,a=e.a;this.a={r:a.r?n(t,a.r,0,degToRads,r):A,rx:a.rx?n(t,a.rx,0,degToRads,r):A,ry:a.ry?n(t,a.ry,0,degToRads,r):A,sk:a.sk?n(t,a.sk,0,degToRads,r):A,sa:a.sa?n(t,a.sa,0,degToRads,r):A,s:a.s?n(t,a.s,1,.01,r):A,a:a.a?n(t,a.a,1,0,r):A,o:a.o?n(t,a.o,0,.01,r):A,p:a.p?n(t,a.p,1,0,r):A,sw:a.sw?n(t,a.sw,0,0,r):A,sc:a.sc?n(t,a.sc,1,0,r):A,fc:a.fc?n(t,a.fc,1,0,r):A,fh:a.fh?n(t,a.fh,0,0,r):A,fs:a.fs?n(t,a.fs,0,.01,r):A,fb:a.fb?n(t,a.fb,0,.01,r):A,t:a.t?n(t,a.t,0,0,r):A},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}TextAnimatorProperty.prototype.searchProperties=function(){var t,e=this._textData.a.length,r,A=PropertyFactory.getProp;for(t=0;t=m+Vt||!h?(T=(m+Vt-X)/p.partialLength,C=R.point[0]+(p.point[0]-R.point[0])*T,J=R.point[1]+(p.point[1]-R.point[1])*T,a.translate(-r[0]*f[s].an*.005,-(r[1]*O)*.01),c=!1):h&&(X+=p.partialLength,b+=1,b>=h.length&&(b=0,d+=1,I[d]?h=I[d].points:q.v.c?(b=0,d=0,h=I[d].points):(X-=p.partialLength,h=null)),h&&(R=p,p=h[b],V=p.partialLength));F=f[s].an/2-f[s].add,a.translate(-F,0,0)}else F=f[s].an/2-f[s].add,a.translate(-F,0,0),a.translate(-r[0]*f[s].an*.005,-r[1]*O*.01,0);for(W=0;Wt?this.textSpans[t].span:createNS(u?"g":"text"),d<=t){if(o.setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=o,u){var h=createNS("g");o.appendChild(h),this.textSpans[t].childSpan=h}this.textSpans[t].span=o,this.layerElement.appendChild(o)}o.style.display="inherit"}if(l.reset(),z&&(i[t].n&&(f=-p,v+=r.yOffset,v+=m?1:0,m=!1),this.applyTextPropertiesToMatrix(r,l,i[t].line,f,v),f+=i[t].l||0,f+=p),u){R=this.globalData.fontManager.getCharData(r.finalText[t],A.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var I;if(R.t===1)I=new SVGCompElement(R.data,this.globalData,this);else{var V=emptyShapeData;R.data&&R.data.shapes&&(V=this.buildShapeData(R.data,r.finalSize)),I=new SVGShapeElement(V,this.globalData,this)}if(this.textSpans[t].glyph){var y=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(y.layerElement),y.destroy()}this.textSpans[t].glyph=I,I._debug=!0,I.prepareFrame(0),I.renderFrame(),this.textSpans[t].childSpan.appendChild(I.layerElement),R.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else z&&o.setAttribute("transform","translate("+l.props[12]+","+l.props[13]+")"),o.textContent=i[t].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}z&&o&&o.setAttribute("d",s)}for(;t=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t=0;A-=1)e.finalTransform.multiply(e.transforms[A].transform.mProps.v);e._mdf=a},processSequences:function(e){var r,A=this.sequenceList.length;for(r=0;r=1){this.buffers=[];var e=this.globalData.canvasContext,r=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(r);var A=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(A),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var r=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=r}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(e){e.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var e=this.buffers[0],r=e.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var e=this.buffers[1],r=e.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var A=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(A.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var n=assetLoader.getLumaCanvas(this.canvasContext.canvas),a=n.getContext("2d");a.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(n,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(e){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!e)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var r=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(r),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(r),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(t,e,r,A){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var n=4;e.ty==="rc"?n=5:e.ty==="el"?n=6:e.ty==="sr"&&(n=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,n,t);var a,i=r.length,u;for(a=0;a=0;a-=1){if(z=this.searchProcessedElement(t[a]),z?e[a]=r[z-1]:t[a]._shouldRender=A,t[a].ty==="fl"||t[a].ty==="st"||t[a].ty==="gf"||t[a].ty==="gs")z?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],m),l.push(e[a].style);else if(t[a].ty==="gr"){if(!z)e[a]=this.createGroupElement(t[a]);else for(o=e[a].it.length,u=0;u=0;n-=1)e[n].ty==="tr"?(i=r[n].transform,this.renderShapeTransform(t,i)):e[n].ty==="sh"||e[n].ty==="el"||e[n].ty==="rc"||e[n].ty==="sr"?this.renderPath(e[n],r[n]):e[n].ty==="fl"?this.renderFill(e[n],r[n],i):e[n].ty==="st"?this.renderStroke(e[n],r[n],i):e[n].ty==="gf"||e[n].ty==="gs"?this.renderGradientFill(e[n],r[n],i):e[n].ty==="gr"?this.renderShape(i,e[n].it,r[n].it):e[n].ty==="tm";A&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r=t.trNodes,A=e.paths,n,a,i,u=A._length;r.length=0;var o=t.transforms.finalTransform;for(i=0;i=1?s=.99:s<=-1&&(s=-.99);var z=o*s,f=Math.cos(l+e.a.v)*z+i[0],v=Math.sin(l+e.a.v)*z+i[1];n=a.createRadialGradient(f,v,0,i[0],i[1],o)}var m,p=t.g.p,X=e.g.c,c=1;for(m=0;ma&&o==="xMidYMid slice"||nn&&u==="meet"||an&&u==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(A/this.transformCanvas.h))/2*this.renderConfig.dpr:l==="xMax"&&(an&&u==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(A/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,s==="YMid"&&(a>n&&u==="meet"||an&&u==="meet"||a=0;t-=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if(!(this.renderedFrame===t&&this.renderConfig.clearCanvas===!0&&!e||this.destroyed||t===-1)){this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var r,A=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=A-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=A-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!(e[t]||this.layers[t].ty===99)){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();t.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var t,e=15;for(t=0;t=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var t,e=this.layers.length;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)};function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:e&&e.clearCanvas!==void 0?e.clearCanvas:!0,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||"",runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var r=this.finalTransform.mat.toCSS();e.transform=r,e.webkitTransform=r}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(t,e,r){this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?(t=createNS("rect"),t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(t=createTag("div"),t.style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)};function HShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var r,A=t.length;for(r=0;r0&&o<1&&n[f].push(this.calculateF(o,t,e,r,A,f))):(l=i*i-4*u*a,l>=0&&(s=(-i+bmSqrt(l))/(2*a),s>0&&s<1&&n[f].push(this.calculateF(s,t,e,r,A,f)),z=(-i-bmSqrt(l))/(2*a),z>0&&z<1&&n[f].push(this.calculateF(z,t,e,r,A,f)))));this.shapeBoundingBox.left=bmMin.apply(null,n[0]),this.shapeBoundingBox.top=bmMin.apply(null,n[1]),this.shapeBoundingBox.right=bmMax.apply(null,n[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,n[1])},HShapeElement.prototype.calculateF=function(t,e,r,A,n,a){return bmPow(1-t,3)*e[a]+3*bmPow(1-t,2)*t*r[a]+3*(1-t)*bmPow(t,2)*A[a]+bmPow(t,3)*n[a]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,A=t.length;for(r=0;rr&&(r=n)}r*=t.mult}else r=t.v*t.mult;e.x-=r,e.xMax+=r,e.y-=r,e.yMax+=r},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax=0;e-=1){var A=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-A.p.v[0],-A.p.v[1],A.p.v[2]),this.mat.rotateX(-A.or.v[0]).rotateY(-A.or.v[1]).rotateZ(A.or.v[2]),this.mat.rotateX(-A.rx.v).rotateY(-A.ry.v).rotateZ(A.rz.v),this.mat.scale(1/A.s.v[0],1/A.s.v[1],1/A.s.v[2]),this.mat.translate(A.a.v[0],A.a.v[1],A.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var n;this.p?n=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:n=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(n[0],2)+Math.pow(n[1],2)+Math.pow(n[2],2)),i=[n[0]/a,n[1]/a,n[2]/a],u=Math.sqrt(i[2]*i[2]+i[0]*i[0]),o=Math.atan2(i[1],u),l=Math.atan2(i[0],-i[2]);this.mat.rotateY(l).rotateX(-o)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var s=!this._prevMat.equals(this.mat);if((s||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var z,f,v;for(e=0;e=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var r=createTag("div"),A,n;styleDiv(r);var a=createTag("div");if(styleDiv(a),e==="3d"){A=r.style,A.width=this.globalData.compSize.w+"px",A.height=this.globalData.compSize.h+"px";var i="50% 50%";A.webkitTransformOrigin=i,A.mozTransformOrigin=i,A.transformOrigin=i,n=a.style;var u="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.transform=u,n.webkitTransform=u}r.appendChild(a);var o={container:a,perspectiveElem:r,startPos:t,endPos:t,type:e};return this.threeDElements.push(o),o},HybridRendererBase.prototype.build3dContainers=function(){var t,e=this.layers.length,r,A="";for(t=0;t=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var r=0,A=this.threeDElements.length;rr?(n=t/this.globalData.compSize.w,a=t/this.globalData.compSize.w,i=0,u=(e-this.globalData.compSize.h*(t/this.globalData.compSize.w))/2):(n=e/this.globalData.compSize.h,a=e/this.globalData.compSize.h,i=(t-this.globalData.compSize.w*(e/this.globalData.compSize.h))/2,u=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+n+",0,0,0,0,"+a+",0,0,0,0,1,0,"+i+","+u+",0,1)",o.transform=o.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t=this.globalData.compSize.w,e=this.globalData.compSize.h,r,A=this.threeDElements.length;for(r=0;r=l;)q/=2,Z/=2,Y>>>=1;return(q+Y)/Z};return T.int32=function(){return y.g(4)|0},T.quick=function(){return y.g(4)/4294967296},T.double=T,X(b(y.S),t),(R.pass||h||function(w,q,Z,Y){return Y&&(Y.S&&m(Y,y),w.state=function(){return m(y,{})}),Z?(e[i]=w,q):w})(T,V,"global"in R?R.global:this==e,R.state)}e["seed"+i]=f;function v(d){var R,h=d.length,I=this,V=0,y=I.i=I.j=0,T=I.S=[];for(h||(d=[h++]);Vr){var A=r;r=e,e=A}return Math.min(Math.max(t,e),r)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if(typeof t=="number"||t instanceof Number)return e=e||0,Math.abs(t-e);e||(e=helperLengthArray);var r,A=Math.min(t.length,e.length),n=0;for(r=0;r.5?l/(2-n-a):l/(n+a),n){case e:i=(r-A)/l+(r1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e=t[0],r=t[1],A=t[2],n,a,i;if(r===0)n=A,i=A,a=A;else{var u=A<.5?A*(1+r):A+r-A*r,o=2*A-u;n=hue2rgb(o,u,e+1/3),a=hue2rgb(o,u,e),i=hue2rgb(o,u,e-1/3)}return[n,a,i,t[3]]}function linear(t,e,r,A,n){if((A===void 0||n===void 0)&&(A=e,n=r,e=0,r=1),r=r)return n;var i=r===e?0:(t-e)/(r-e);if(!A.length)return A+(n-A)*i;var u,o=A.length,l=createTypedArray("float32",o);for(u=0;u1){for(n=0;n1?e=1:e<0&&(e=0);var i=t(e);if($bm_isInstanceOfArray(n)){var u,o=n.length,l=createTypedArray("float32",o);for(u=0;udata.k[e].t&&tdata.k[e+1].t-t?(A=e+2,n=data.k[e+1].t):(A=e+1,n=data.k[e].t);break}A===-1&&(A=e+1,n=data.k[e].t)}var a={};return a.index=A,a.time=n/elem.comp.globalData.frameRate,a}function key(t){var e,r,A;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var n=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(A=n.length,r=0;rX.length-1)&&(v=X.length-1),d=X[X.length-1-v].t,b=c-d);var R,h,I;if(f==="pingpong"){var V=Math.floor((p-d)/b);if(V%2!=0)return this.getValueAtTime((b-(p-d)%b+d)/this.comp.globalData.frameRate,0)}else if(f==="offset"){var y=this.getValueAtTime(d/this.comp.globalData.frameRate,0),T=this.getValueAtTime(c/this.comp.globalData.frameRate,0),w=this.getValueAtTime(((p-d)%b+d)/this.comp.globalData.frameRate,0),q=Math.floor((p-d)/b);if(this.pv.length){for(I=new Array(y.length),h=I.length,R=0;R=c)return this.pv;var b,d;m?(v?b=Math.abs(this.elem.comp.globalData.frameRate*v):b=Math.max(0,this.elem.data.op-c),d=c+b):((!v||v>X.length-1)&&(v=X.length-1),d=X[v].t,b=d-c);var R,h,I;if(f==="pingpong"){var V=Math.floor((c-p)/b);if(V%2==0)return this.getValueAtTime(((c-p)%b+c)/this.comp.globalData.frameRate,0)}else if(f==="offset"){var y=this.getValueAtTime(c/this.comp.globalData.frameRate,0),T=this.getValueAtTime(d/this.comp.globalData.frameRate,0),w=this.getValueAtTime((b-(c-p)%b+c)/this.comp.globalData.frameRate,0),q=Math.floor((c-p)/b)+1;if(this.pv.length){for(I=new Array(y.length),h=I.length,R=0;R1?(X-p)/(v-1):1,b=0,d=0,R;this.pv.length?R=createTypedArray("float32",this.pv.length):R=0;for(var h;bb){var V=d,y=p.c&&d===R-1?0:d+1,T=(b-h)/c[d].addedLength;I=bez.getPointInSegment(p.v[V],p.v[y],p.o[V],p.i[y],T,c[d]);break}else h+=c[d].addedLength;d+=1}return I||(I=p.c?[p.v[0][0],p.v[0][1]]:[p.v[p._length-1][0],p.v[p._length-1][1]]),I},vectorOnPath:function(v,m,p){v==1?v=this.v.c:v==0&&(v=.999);var X=this.pointOnPath(v,m),c=this.pointOnPath(v+.001,m),b=c[0]-X[0],d=c[1]-X[1],R=Math.sqrt(Math.pow(b,2)+Math.pow(d,2));if(R===0)return[0,0];var h=p==="tangent"?[b/R,d/R]:[-d/R,b/R];return h},tangentOnPath:function(v,m){return this.vectorOnPath(v,m,"tangent")},normalOnPath:function(v,m){return this.vectorOnPath(v,m,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([s],o),extendPrototype([s],l),l.prototype.getValueAtTime=u,l.prototype.initiateExpression=ExpressionManager.initiateExpression;var z=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(f,v,m,p,X){var c=z(f,v,m,p,X);return c.propertyIndex=v.ix,c.lock=!1,m===3?expressionHelpers.searchExpressions(f,v.pt,c):m===4&&expressionHelpers.searchExpressions(f,v.ks,c),c.k&&f.addDynamicProperty(c),c}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function t(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(e,r){var A=this.calculateExpression(r);if(e.t!==A){var n={};return this.copyData(n,e),n.t=A.toString(),n.__complete=!1,n}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),r=this.searchExpressions();return this.kf=e||r,this.kf},TextProperty.prototype.searchExpressions=t}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function t(e,r){var A=createNS("feMerge");A.setAttribute("result",e);var n,a;for(a=0;a=l?z=m<0?A:n:z=A+v*Math.pow((u-t)/m,1/r),s[f]=z,f+=1,a+=256/(i-1);return s.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}};function SVGDropShadowEffect(t,e,r,A,n){var a=e.container.globalData.renderConfig.filterSize,i=e.data.fs||a;t.setAttribute("x",i.x||a.x),t.setAttribute("y",i.y||a.y),t.setAttribute("width",i.width||a.width),t.setAttribute("height",i.height||a.height),this.filterManager=e;var u=createNS("feGaussianBlur");u.setAttribute("in","SourceAlpha"),u.setAttribute("result",A+"_drop_shadow_1"),u.setAttribute("stdDeviation","0"),this.feGaussianBlur=u,t.appendChild(u);var o=createNS("feOffset");o.setAttribute("dx","25"),o.setAttribute("dy","0"),o.setAttribute("in",A+"_drop_shadow_1"),o.setAttribute("result",A+"_drop_shadow_2"),this.feOffset=o,t.appendChild(o);var l=createNS("feFlood");l.setAttribute("flood-color","#00ff00"),l.setAttribute("flood-opacity","1"),l.setAttribute("result",A+"_drop_shadow_3"),this.feFlood=l,t.appendChild(l);var s=createNS("feComposite");s.setAttribute("in",A+"_drop_shadow_3"),s.setAttribute("in2",A+"_drop_shadow_2"),s.setAttribute("operator","in"),s.setAttribute("result",A+"_drop_shadow_4"),t.appendChild(s);var z=this.createMergeNode(A,[A+"_drop_shadow_4",n]);t.appendChild(z)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(e[0]*255),Math.round(e[1]*255),Math.round(e[2]*255)))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,A=(this.filterManager.effectElements[2].p.v-90)*degToRads,n=r*Math.cos(A),a=r*Math.sin(A);this.feOffset.setAttribute("dx",n),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,r=_svgMatteSymbols.length;e{(function(t,e){typeof fu=="object"&&typeof Bp!="undefined"?e(fu,Qp(),(XA(),Iu)):typeof define=="function"&&define.amd?define(["exports","lottie-web","react"],e):(t=typeof globalThis!="undefined"?globalThis:t||self,e(t["lottie-react"]={},t.Lottie,t.React))})(fu,function(t,e,r){"use strict";function A(q){return q&&typeof q=="object"&&"default"in q?q:{default:q}}var n=A(e),a=A(r);function i(q,Z){var Y=q==null?null:typeof Symbol!="undefined"&&q[Symbol.iterator]||q["@@iterator"];if(Y!=null){var O,L,E,j,W=[],x=!0,N=!1;try{if(E=(Y=Y.call(q)).next,Z===0){if(Object(Y)!==Y)return;x=!1}else for(;!(x=(O=E.call(Y)).done)&&(W.push(O.value),W.length!==Z);x=!0);}catch(P){N=!0,L=P}finally{try{if(!x&&Y.return!=null&&(j=Y.return(),Object(j)!==j))return}finally{if(N)throw L}}return W}}function u(q,Z){var Y=Object.keys(q);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(q);Z&&(O=O.filter(function(L){return Object.getOwnPropertyDescriptor(q,L).enumerable})),Y.push.apply(Y,O)}return Y}function o(q){for(var Z=1;Z=0)&&(Y[L]=q[L]);return Y}function z(q,Z){if(q==null)return{};var Y=s(q,Z),O,L;if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(q);for(L=0;L=0)&&(!Object.prototype.propertyIsEnumerable.call(q,O)||(Y[O]=q[O]))}return Y}function f(q,Z){return v(q)||i(q,Z)||m(q,Z)||X()}function v(q){if(Array.isArray(q))return q}function m(q,Z){if(!!q){if(typeof q=="string")return p(q,Z);var Y=Object.prototype.toString.call(q).slice(8,-1);if(Y==="Object"&&q.constructor&&(Y=q.constructor.name),Y==="Map"||Y==="Set")return Array.from(q);if(Y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Y))return p(q,Z)}}function p(q,Z){(Z==null||Z>q.length)&&(Z=q.length);for(var Y=0,O=new Array(Z);Y0&&arguments[0]!==void 0?arguments[0]:{},Ot;if(!!M.current){(Ot=k.current)===null||Ot===void 0||Ot.destroy();var $t=o(o(o({},Z),ht),{},{container:M.current});return k.current=n.default.loadAnimation($t),It(!!k.current),function(){var Qr;(Qr=k.current)===null||Qr===void 0||Qr.destroy(),k.current=void 0}}};r.useEffect(function(){var Ht=Vt();return function(){return Ht==null?void 0:Ht()}},[O,L]),r.useEffect(function(){!k.current||(k.current.autoplay=!!E)},[E]),r.useEffect(function(){if(!!k.current){if(!j){k.current.resetSegments(!0);return}!Array.isArray(j)||!j.length||((k.current.currentRawFramej[1])&&(k.current.currentRawFrame=j[0]),k.current.setSegment(j[0],j[1]))}},[j]),r.useEffect(function(){var Ht=[{name:"complete",handler:W},{name:"loopComplete",handler:x},{name:"enterFrame",handler:N},{name:"segmentStart",handler:P},{name:"config_ready",handler:D},{name:"data_ready",handler:F},{name:"data_failed",handler:C},{name:"loaded_images",handler:J},{name:"DOMLoaded",handler:_},{name:"destroy",handler:U}],ht=Ht.filter(function($t){return $t.handler!=null});if(!!ht.length){var Ot=ht.map(function($t){var Qr;return(Qr=k.current)===null||Qr===void 0||Qr.addEventListener($t.name,$t.handler),function(){var vu;(vu=k.current)===null||vu===void 0||vu.removeEventListener($t.name,$t.handler)}});return function(){Ot.forEach(function($t){return $t()})}}},[W,x,N,P,D,F,C,J,_,U]);var Gt=a.default.createElement("div",o({style:Y,ref:M},G));return{View:Gt,play:le,stop:Dt,pause:ue,setSpeed:ee,goToAndStop:nt,goToAndPlay:jt,setDirection:it,playSegments:rt,setSubframe:At,getDuration:vt,destroy:pt,animationContainerRef:M,animationLoaded:dt,animationItem:k.current}};function h(q){var Z=q.getBoundingClientRect(),Y=Z.top,O=Z.height,L=window.innerHeight-Y,E=window.innerHeight+O;return L/E}function I(q,Z,Y){var O=q.getBoundingClientRect(),L=O.top,E=O.left,j=O.width,W=O.height,x=(Z-E)/j,N=(Y-L)/W;return{x,y:N}}var V=function(Z){var Y=Z.wrapperRef,O=Z.animationItem,L=Z.mode,E=Z.actions;r.useEffect(function(){var j=Y.current;if(!(!j||!O||!E.length)){O.stop();var W=function(){var P=null,D=function(){var C=h(j),J=E.find(function(U){var G=U.visibility;return G&&C>=G[0]&&C<=G[1]});if(!!J){if(J.type==="seek"&&J.visibility&&J.frames.length===2){var _=J.frames[0]+Math.ceil((C-J.visibility[0])/(J.visibility[1]-J.visibility[0])*J.frames[1]);O.goToAndStop(_-O.firstFrame-1,!0)}J.type==="loop"&&(P===null||P!==J.frames||O.isPaused)&&(O.playSegments(J.frames,!0),P=J.frames),J.type==="play"&&O.isPaused&&(O.resetSegments(!0),O.play()),J.type==="stop"&&O.goToAndStop(J.frames[0]-O.firstFrame-1,!0)}};return document.addEventListener("scroll",D),function(){document.removeEventListener("scroll",D)}},x=function(){var P=function(J,_){var U=J,G=_;if(U!==-1&&G!==-1){var st=I(j,U,G);U=st.x,G=st.y}var Q=E.find(function(k){var M=k.position;return M&&Array.isArray(M.x)&&Array.isArray(M.y)?U>=M.x[0]&&U<=M.x[1]&&G>=M.y[0]&&G<=M.y[1]:M&&!Number.isNaN(M.x)&&!Number.isNaN(M.y)?U===M.x&&G===M.y:!1});if(!!Q){if(Q.type==="seek"&&Q.position&&Array.isArray(Q.position.x)&&Array.isArray(Q.position.y)&&Q.frames.length===2){var dt=(U-Q.position.x[0])/(Q.position.x[1]-Q.position.x[0]),It=(G-Q.position.y[0])/(Q.position.y[1]-Q.position.y[0]);O.playSegments(Q.frames,!0),O.goToAndStop(Math.ceil((dt+It)/2*(Q.frames[1]-Q.frames[0])),!0)}Q.type==="loop"&&O.playSegments(Q.frames,!0),Q.type==="play"&&(O.isPaused&&O.resetSegments(!1),O.playSegments(Q.frames)),Q.type==="stop"&&O.goToAndStop(Q.frames[0],!0)}},D=function(J){P(J.clientX,J.clientY)},F=function(){P(-1,-1)};return j.addEventListener("mousemove",D),j.addEventListener("mouseout",F),function(){j.removeEventListener("mousemove",D),j.removeEventListener("mouseout",F)}};switch(L){case"scroll":return W();case"cursor":return x()}}},[L,O])},y=function(Z){var Y=Z.actions,O=Z.mode,L=Z.lottieObj,E=L.animationItem,j=L.View,W=L.animationContainerRef;return V({actions:Y,animationItem:E,mode:O,wrapperRef:W}),j},T=["style","interactivity"],w=function(Z){var Y,O,L,E=Z.style,j=Z.interactivity,W=z(Z,T),x=R(W,E),N=x.View,P=x.play,D=x.stop,F=x.pause,C=x.setSpeed,J=x.goToAndStop,_=x.goToAndPlay,U=x.setDirection,G=x.playSegments,st=x.setSubframe,Q=x.getDuration,dt=x.destroy,It=x.animationContainerRef,k=x.animationLoaded,M=x.animationItem;return r.useEffect(function(){Z.lottieRef&&(Z.lottieRef.current={play:P,stop:D,pause:F,setSpeed:C,goToAndPlay:_,goToAndStop:J,setDirection:U,playSegments:G,setSubframe:st,getDuration:Q,destroy:dt,animationContainerRef:It,animationLoaded:k,animationItem:M})},[(Y=Z.lottieRef)===null||Y===void 0?void 0:Y.current]),y({lottieObj:{View:N,play:P,stop:D,pause:F,setSpeed:C,goToAndStop:J,goToAndPlay:_,setDirection:U,playSegments:G,setSubframe:st,getDuration:Q,destroy:dt,animationContainerRef:It,animationLoaded:k,animationItem:M},actions:(O=j==null?void 0:j.actions)!==null&&O!==void 0?O:[],mode:(L=j==null?void 0:j.mode)!==null&&L!==void 0?L:"scroll"})};Object.defineProperty(t,"LottiePlayer",{enumerable:!0,get:function(){return n.default}}),t.default=w,t.useLottie=R,t.useLottieInteractivity=y,Object.defineProperty(t,"__esModule",{value:!0})})});var I8={};xf(I8,{boot:()=>x8});var oa={compose:function(t){return function(e){return function(r){return t(e(r))}}}};var ut=function(t){return t.identity},lt={identity:function(t){return t},Semigroupoid0:function(){return oa}};var gt=!0;var pu=function(t){return function(e){return function(r){return function(A){return t(e(r))(e(A))}}}},re=function(t){return function(e){return function(r){return t(r)(e)}}},ot=function(t){return function(e){return t}};var If=function(t){return function(e){for(var r=e.length,A=new Array(r),n=0;n="0"&&t[n]<="9"?"\\&":"";return"\\"+r.charCodeAt(0).toString(10)+a})+'"'};var _e={show:Lf};var hu={show:Tf},mr={show:Of};var ct=function(t){return t.show};var me=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),pe=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}();var or=function(){function t(){}return t.value=new t,t}(),sa=function(t){return t};var va=function(t){return t.to};var Yf=function(t){return t.from};var G2=ut(lt),H=function(){function t(){}return t.value=new t,t}(),g=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}();var Lt=function(t){return function(e){return function(r){if(r instanceof H)return t;if(r instanceof g)return e(r.value0);throw new Error("Failed pattern match at Data.Maybe (line 237, column 1 - line 237, column 51): "+[t.constructor.name,e.constructor.name,r.constructor.name])}}},an=Lt(!0)(ot(!1)),EA=Lt(!1)(ot(!0));var Zt={map:function(t){return function(e){return e instanceof g?new g(t(e.value0)):H.value}}},M2=S(Zt);var Ct=function(t){return Lt(t)(G2)},Or=function(){return function(t){if(t instanceof g)return t.value0;throw new Error("Failed pattern match at Data.Maybe (line 288, column 1 - line 288, column 46): "+[t.constructor.name])}};var tA=function(t){var e=zt(t);return{eq:function(r){return function(A){return r instanceof H&&A instanceof H?!0:r instanceof g&&A instanceof g?e(r.value0)(A.value0):!1}}}};var Rr={apply:function(t){return function(e){if(t instanceof g)return M2(t.value0)(e);if(t instanceof H)return H.value;throw new Error("Failed pattern match at Data.Maybe (line 67, column 1 - line 69, column 30): "+[t.constructor.name,e.constructor.name])}},Functor0:function(){return Zt}};var Fe={bind:function(t){return function(e){if(t instanceof g)return e(t.value0);if(t instanceof H)return H.value;throw new Error("Failed pattern match at Data.Maybe (line 125, column 1 - line 127, column 28): "+[t.constructor.name,e.constructor.name])}},Apply0:function(){return Rr}};var $e=function(){return{pure:g.create,Apply0:function(){return Rr}}}();var C2={alt:function(t){return function(e){return t instanceof H?e:t}},Functor0:function(){return Zt}},k2=function(){return{empty:H.value,Alt0:function(){return C2}}}(),xu={Applicative0:function(){return $e},Plus1:function(){return k2}};XA();var gf=function(){let t={};return function(e,r){let A=t[e]||(t[e]=Sf(e));return r(A)}}();function Ff(t){return t(Sf())}var Hf=Wr.createElement,un=t=>()=>t.props.def;function Sf(t){class e extends Wr.Component{constructor(A){super(A);A.init&&A.init(this)()}render(){return this.props.render(this)()}componentDidMount(){this.props.componentDidMount(this)()}componentWillUnmount(){this.props.componentWillUnmount(this)()}}return e.displayName=t?"Elmish_"+t:"ElmishRoot",e}var db=typeof Array.prototype.flatMap=="function"?function(t){return function(e){return t.flatMap(e)}}:function(t){return function(e){for(var r=[],A=t.length,n=0;n=r.length?e:t(r[A])};var Wb=function(){function t(e,r,A,n,a,i){var u,o,l,s,z,f,v;for(u=a+(i-a>>1),u-a>1&&t(e,r,n,A,a,u),i-u>1&&t(e,r,n,A,u,i),o=a,l=u,s=a;o0?(A[s++]=f,++l):(A[s++]=z,++o);for(;o>1),u-a>1&&t(e,r,n,A,a,u),i-u>1&&t(e,r,n,A,u,i),o=a,l=u,s=a;o0?(A[s++]=f,++l):(A[s++]=z,++o);for(;o=0;a--)A=t(r[a])(A);return A}}},Ws=function(t){return function(e){return function(r){for(var A=e,n=r.length,a=0;a0)&&(U=O,G=pt._3(vt)));break;case p:k=new h(v,new h(c,G,st),k,Q),U=O,Q&&Q!==At&&M===0?G=pt._1.killed(F.fromLeft(Q))(pt._2):st?G=pt._1.failed(F.fromLeft(st))(pt._2):G=pt._1.completed(F.fromRight(G))(pt._2),st=null,M++;break;case X:M++,k=new h(v,new h(c,G,st),k,Q),U=O,G=pt._1;break;case c:M--,U=W,G=pt._1,st=pt._2;break}break;case x:for(var Vt in Dt)Dt.hasOwnProperty(Vt)&&(ue=ue&&Dt[Vt].rethrow,y(Dt[Vt].handler(G)));Dt=null,Q&&st?setTimeout(function(){throw F.fromLeft(st)},0):F.isLeft(G)&&ue&&setTimeout(function(){if(ue)throw F.fromLeft(G)},0);return;case Y:U=O;break;case j:return}}function jt(rt){return function(){if(U===x)return ue=ue&&rt.rethrow,rt.handler(G)(),function(){};var At=le++;return Dt=Dt||{},Dt[At]=rt,function(){Dt!==null&&delete Dt[At]}}}function nt(rt,At){return function(){if(U===x)return At(F.right(void 0))(),function(){};var vt=jt({rethrow:!1,handler:function(){return At(F.right(void 0))}})();switch(U){case Y:Q=F.left(rt),U=x,G=Q,ee(_);break;case j:Q===null&&(Q=F.left(rt)),M===0&&(U===j&&(k=new h(v,new h(X,G(rt)),k,Q)),U=W,G=null,st=null,ee(++_));break;default:Q===null&&(Q=F.left(rt)),M===0&&(U=W,G=null,st=null)}return vt}}function it(rt){return function(){var At=jt({rethrow:!1,handler:rt})();return U===Y&&ee(_),At}}return{kill:nt,join:it,onComplete:jt,isSuspended:function(){return U===Y},run:function(){U===Y&&(q.isDraining()?ee(_):q.enqueue(function(){ee(_)}))}}}function P(F,C,J,_){var U=0,G={},st=0,Q={},dt=new Error("[ParAff] Early exit"),It=null,k=t;function M(jt,nt,it){var rt=nt,At=null,vt=null,pt=0,Vt={},Gt,Ht;t:for(;;)switch(Gt=null,rt.tag){case b:if(rt._3===t&&(Gt=G[rt._1],Vt[pt++]=Gt.kill(jt,function(ht){return function(){pt--,pt===0&&it(ht)()}})),At===null)break t;rt=At._2,vt===null?At=null:(At=vt._1,vt=vt._2);break;case s:rt=rt._2;break;case z:case f:At&&(vt=new h(v,At,vt)),At=rt,rt=rt._1;break}if(pt===0)it(F.right(void 0))();else for(Ht=0,Gt=pt;Ht":t===void 0?"":t instanceof Date?t.toString():typeof Blob!="undefined"&&t instanceof Blob?"file["+t.name+"]":JSON.stringify(t)}var sm=je(Ae),cv=gr(iA),vm=Ge(Ae);var fo=function(t){return t.foldrWithIndex};var so=function(t){return t.foldlWithIndex};var cm=function(t){var e=fo(t);return function(r){var A=mt(r.Semigroup0()),n=Jt(r);return function(a){return e(function(i){return function(u){return function(o){return A(a(i)(u))(o)}}})(n)}}},yn={foldrWithIndex:function(t){return function(e){var r=sm(function(n){return function(a){return t(n.value0)(n.value1)(a)}})(e),A=cv(Yt.create);return function(n){return r(A(n))}}},foldlWithIndex:function(t){return function(e){var r=vm(function(n){return function(a){return t(a.value0)(n)(a.value1)}})(e),A=cv(Yt.create);return function(n){return r(A(n))}}},foldMapWithIndex:function(t){return cm(yn)(t)},Foldable0:function(){return Ae}};var dv=function(t){var e=so(t);return function(r){var A=function(n){return function(a){return function(i){return a instanceof H?r(n)(i):a}}};return e(A)(H.value)}};function Ya(t){return Object.prototype.toString.call(t).slice(8,-1)}function Pn(t){return t===void 0}var ga=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};var YA=function(){function t(e,r){this.value0=e,this.value1=r}return t.create=function(e){return function(r){return new t(e,r)}},t}();var vo=function(t){var e=er(t);return function(r){return new YA(r,e)}};var Oe=function(){function t(){}return t.value=new t,t}(),kt=function(){function t(e,r){this.value0=e,this.value1=r}return t.create=function(e){return function(r){return new t(e,r)}},t}(),co=function(t){return t},Em=function(t){return new kt(t.value0,t.value1)};var Xm=function(t){var e=function(r){return function(A){var n=r,a=!1,i;function u(o,l){if(l instanceof kt&&l.value1 instanceof kt&&l.value1.value1 instanceof kt){n=new kt(l,o),A=l.value1.value1.value1;return}var s=function(f){return f instanceof kt&&f.value1 instanceof kt&&f.value1.value1 instanceof Oe?new kt(t(f.value0),new kt(t(f.value1.value0),Oe.value)):f instanceof kt&&f.value1 instanceof Oe?new kt(t(f.value0),Oe.value):Oe.value},z=function(f){return function(v){var m=f,p=!1,X;function c(b,d){if(b instanceof kt&&b.value0 instanceof kt&&b.value0.value1 instanceof kt&&b.value0.value1.value1 instanceof kt){m=b.value1,v=new kt(t(b.value0.value0),new kt(t(b.value0.value1.value0),new kt(t(b.value0.value1.value1.value0),d)));return}return p=!0,d}for(;!p;)X=c(m,v);return X}};return a=!0,z(o)(s(l))}for(;!a;)i=u(n,A);return i}};return e(Oe.value)},Vm={map:Xm};var Fa={foldr:function(t){return function(e){var r=function(){var n=function(a){return function(i){var u=a,o=!1,l;function s(z,f){if(f instanceof Oe)return o=!0,z;if(f instanceof kt){u=new kt(f.value0,z),i=f.value1;return}throw new Error("Failed pattern match at Data.List.Types (line 107, column 7 - line 107, column 23): "+[z.constructor.name,f.constructor.name])}for(;!o;)l=s(u,i);return l}};return n(Oe.value)}(),A=Ge(Fa)(re(t))(e);return function(n){return A(r(n))}}},foldl:function(t){var e=function(r){return function(A){var n=r,a=!1,i;function u(o,l){if(l instanceof Oe)return a=!0,o;if(l instanceof kt){n=t(o)(l.value0),A=l.value1;return}throw new Error("Failed pattern match at Data.List.Types (line 111, column 12 - line 113, column 30): "+[l.constructor.name])}for(;!a;)i=u(n,A);return i}};return e},foldMap:function(t){var e=mt(t.Semigroup0()),r=Jt(t);return function(A){return Ge(Fa)(function(n){var a=e(n);return function(i){return a(A(i))}})(r)}}};var jm=je(Fa);var po={append:function(t){return function(e){return jm(kt.create)(e)(t)}}},Rv=mt(po);var Wv={append:function(t){return function(e){return new YA(t.value0,Rv(t.value1)(Em(e)))}}};var ym={alt:Rv,Functor0:function(){return Vm}},zv=function(){return{empty:Oe.value,Alt0:function(){return ym}}}();var hv=function(){var t=vo(zv);return function(e){return co(t(e))}}();var xv=function(t){return t.value0};var Ha=function(t){return t.length};var bo=function(t){return function(e){return{before:e.substring(0,t),after:e.substring(t)}}};var Sa=function(t){return function(e){var r=bo(Ha(t))(e),A=r.before===t;return A?new g(r.after):H.value}};var gm=ct(_e),Fm=ct(mr);var mo=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),jv=function(){function t(e,r){this.value0=e,this.value1=r}return t.create=function(e){return function(r){return new t(e,r)}},t}(),Hm=function(){function t(e,r){this.value0=e,this.value1=r}return t.create=function(e){return function(r){return new t(e,r)}},t}(),Sm=function(){function t(e,r){this.value0=e,this.value1=r}return t.create=function(e){return function(r){return new t(e,r)}},t}(),Ie=K,Zn=K;var Nn=function(t){if(t instanceof mo)return t.value0;if(t instanceof Hm)return"Error at array index "+(Fm(t.value0)+(": "+Nn(t.value1)));if(t instanceof Sm)return"Error at property "+(gm(t.value0)+(": "+Nn(t.value1)));if(t instanceof jv)return"Type mismatch: expected "+(t.value0+(", found "+t.value1));throw new Error("Failed pattern match at Foreign (line 78, column 1 - line 78, column 45): "+[t.constructor.name])};var Ro=function(t){var e=ke(_s(t));return function(r){return e(hv(r))}};var yv=function(t){var e=B(Vn(t)),r=Ro(t);return function(A){return function(n){if(Ya(n)===A)return e(Zn(n));if(gt)return r(new jv(A,Ya(n)));throw new Error("Failed pattern match at Foreign (line 123, column 1 - line 123, column 104): "+[A.constructor.name,n.constructor.name])}}};function Pv(t){return function(){var e={};for(var r in t)hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}}var Ga={};function qn(t){return t()}function Zv(t,e,r,A){return r in A?e(A[r]):t}function Wo(t){return function(e){var r=[];for(var A in e)hasOwnProperty.call(e,A)&&r.push(t(A)(e[A]));return r}}var Gm=Object.keys||Wo(function(t){return function(){return t}});var Ma=function(){return{}};function On(t){return function(e){return function(r){return function(){return r[t]=e,r}}}}var Jm=Re(ba);var Dm=ce(sn);var Qm=Pv,zo=function(t){return function(e){return qn(Jm(On(t)(e))(Ma))}};var Bm=function(t){return function(e){return qn(function(){var A=Qm(e)();return t(A)(),A})}};var Tn=function(){return Wn(Zv)(H.value)(g.create)}();var Tv=function(t){return function(e){return Bm(On(t)(e))}};var Lv=function(t){var e=Du(t);return function(r){return qn(function(){var n=Ma();return pa(e(r))(function(a){return Dm(On(a.value0)(a.value1)(n))})(),n})}};var _m=NA(Ne),$m=hr(_m),t9=dv(yn),e9=ct(mr),r9=Hs(Zu),uA=function(){function t(){}return t.value=new t,t}(),Vr=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),Ca={validateJsRecord:function(t){return uA.value}};var ho=function(t){return function(e){return function(r){var A=e(r);return A?uA.value:new Vr({path:"",got:r,expected:t})}}};var xo={validateForeignType:ho("Boolean")(fv)},Yv={validateForeignType:ho("Function")(vv)};var ka={validateForeignType:ho("String")(lv)},gv=function(t){return t.validateJsRecord},wa=function(){return function(t){var e=gv(t);return{validateForeignType:function(r){if(sv(r))return e(r);if(gt)return new Vr({path:"",expected:"Object",got:r});throw new Error("Failed pattern match at Elmish.Foreign (line 209, column 1 - line 212, column 69): "+[r.constructor.name])}}}},Ka=function(t){return t.validateForeignType},Fv=function(t){var e=Ka(t);return{validateForeignType:function(r){if($m(ga)(r))return new Vr({path:"",expected:"Array",got:r});if(gt){var A=function(a){return function(i){var u=e(i);if(u instanceof uA)return H.value;if(u instanceof Vr)return new g({idx:a,invalid:u.value0});throw new Error("Failed pattern match at Elmish.Foreign (line 186, column 29 - line 188, column 51): "+[u.constructor.name])}},n=t9(A)(Zn(r));if(n instanceof H)return uA.value;if(n instanceof g)return new Vr({expected:n.value0.invalid.expected,got:n.value0.invalid.got,path:"["+(e9(n.value0.idx)+("]"+n.value0.invalid.path))});throw new Error("Failed pattern match at Elmish.Foreign (line 182, column 21 - line 184, column 101): "+[n.constructor.name])}throw new Error("Failed pattern match at Elmish.Foreign (line 179, column 6 - line 188, column 51): "+[r.constructor.name])}}};var Ua=function(t){var e=de(t);return function(r){var A=Ka(r);return function(n){var a=gv(n);return{validateJsRecord:function(i){var u=e(Qt.value),o=Be(u)(Zn(i)),l=A(o);if(l instanceof Vr)return new Vr({expected:l.value0.expected,got:l.value0.got,path:"."+(u+l.value0.path)});if(l instanceof uA)return a(i);throw new Error("Failed pattern match at Elmish.Foreign (line 235, column 9 - line 237, column 43): "+[l.constructor.name])}}}}},Ln=function(t){var e=Ka(t);return function(r){var A=e(r);if(A instanceof uA)return new et(Zn(r));if(A instanceof Vr)return new $(r9([A.value0.path,function(){var n=A.value0.path==="";return n?"Expected ":": expected "}(),A.value0.expected," but got: ",La(A.value0.got)]));throw new Error("Failed pattern match at Elmish.Foreign (line 255, column 18 - line 263, column 6): "+[A.constructor.name])}},Yn=function(t){var e=Ln(t);return function(r){return Kf(e(r))}};var Hv=(t,e)=>e[t],Sv=(t,e,r)=>r[t]=e;var oA=function(e){return function(r){return e(r)()}};var Gr=function(e){return function(r){return function(){return e(r)}}},Mr=function(e){return function(r){return function(A){return function(){return e(r,A)}}}},lA=function(e){return function(r){return function(A){return function(n){return function(){return e(r,A,n)}}}}};var m9=Bt(Et),gn=function(){function t(){}return t.value=new t,t}(),Cv=function(){return function(t){var e=de(t);return function(r){return lA(Sv)(e(Qt.value))}}},Io=function(t){var e=Yn(t);return function(r){var A=de(r);return function(n){return function(a){return m9(function(){return Hv(A(Qt.value),a)})(e)}}}};var Fn=null;function kv(t,e,r){return t==null?e:r(t)}function Eo(t){return t}var Cr=Lt(Fn)(Eo),Ut=function(t){return kv(t,H.value,g.create)};XA();var Ja=window.ReactDOM,{createPortal:ZD,findDOMNode:ND,flushSync:qD}=window.ReactDOM;var Ko=cu(Lc());function Yc(t){return t.state&&t.state.s}function gc(t,e,r){return t.setState({s:e},r)}function Fc(t,e){return t.state={s:e}}var Hc=Ja.render,Sc=Ja.hydrate,Uo=Ko.default&&Ko.default.renderToString||(t=>""),J9=Ja.unmountComponentAtNode,Gc=Wr.Fragment;function Mc(t,e,r){return Wr.createElement.apply(null,[t,D9(t,e)].concat(r))}function D9(t,e){if(typeof t!="string"||e._data==null)return e;var r={_data:void 0};for(var A in e._data){var n=e._data[A];r["data-"+A]=n}return Object.assign({},e,r)}var Rt={asReactChildren:function(t){return[t]}},xt={asReactChildren:function(t){return[t]}},qt={asReactChildren:ut(lt)};var Me=K,Jo=lA(gc),Cc=Mr(Hc),kc=Mr(Sc),wc=Gr(Yc),ve=!1;var Kc=Mr(Fc),Uc=function(t){return t.asReactChildren},cA=function(){return function(t){var e=Uc(t);return function(r){return function(A){return function(n){return Mc(r,A,e(n))}}}}},Jc=cA()(qt),Ai=function(){return function(t){return function(e){return Jc(t)(e)([])}}},Ce=Jc(Gc)({});var Do=S(Et),Q9=B(xe),Dc=function(t){return{initialize:function(e){return Kc(e)(t.initialState)},getState:function(e){return function(){var A=Do(Ut)(wc(e))();return Ct(t.initialState)(A)}},setState:Jo}},Qc=function(){var t=function(e){return function(r){return{initialize:function(A){return VA(new g(r.initialState))(e)},getState:function(A){return Do(Ct(r.initialState))(fn(e))},setState:function(A){return function(n){return function(a){return function(){return VA(new g(n))(e)(),Jo(A)(n)(Q9(tt))(),a()}}}}}}};return Do(t)(da(H.value))}();var Bc=mt(ar);var _c=Cv(),$c={reflectSymbol:function(){return"__unmounted"}},B9=_c($c),td={reflectSymbol:function(){return"__subscriptions"}},_9=_c(td),ni=Bt(Et),$9=Io(xo)($c),ed=S(Et),tR=Io(Fv(Yv))(td),eR=Ve(fe),rR=Re(tr),AR=ku(xe)(Ae),nR=eR(rr),rd=Kt(ya),aR=Cf(Tr),iR=mt(mu(Ou(bu))),Ad=function(t){return t},wn=function(){function t(e,r){this.value0=e,this.value1=r}return t.create=function(e){return function(r){return new t(e,r)}},t}(),uR={map:function(t){return function(e){return new wn(t(e.value0),e.value1)}}};var nd={apply:function(t){return function(e){return new wn(t.value0(e.value0),Bc(t.value1)(e.value1))}},Functor0:function(){return uR}},ai={bind:function(t){return function(e){var r=e(t.value0);return new wn(r.value0,Bc(t.value1)(r.value1))}},Apply0:function(){return nd}},Ke={pure:function(t){return new wn(t,[])},Apply0:function(){return nd}};var Qo=function(t){return new wn(tt,[t])},Kn=function(t){return Qo(ot(t))};var ad=function(t){return function(e){var r=B9(gn.value),A=_9(gn.value),n=function(v){return function(m){return function(p){return function(){var c=ni(un(v))(function(b){return b.init})();return e({initialState:c.value0}).setState(v)(m)(p)()}}}},a=function(){var v=ed(Ct(!1)),m=$9(gn.value);return function(p){return v(m(p))}}(),i=function(){var v=ed(Ct([])),m=tR(gn.value);return function(p){return v(m(p))}}(),u=function(v){return function(){return rR(AR)(i(v))(),A([])(v)()}},o=function(v){return function(){var p=ni(un(v))(function(X){return X.init})();return e({initialState:p.value0}).getState(v)()}},l=function(v){return function(m){return function(){var X=i(v)();return A(Qu(Hr(m))(X))(v)()}}},s=function(v){return function(m){var p=function(X){return Hr(nR(jn(0))(function(){return X({dispatch:function(){var c=z(m);return function(b){return rd(c(b))}}(),onStop:l(m)})}))};return Nu(v)(p)}},z=function(v){return function(m){return aR(a(v))(function(){var X=o(v)(),c=ni(un(v))(function(d){return d.update})(),b=c(X)(m);return n(v)(b.value0)(s(b.value1)(v))()})}},f=function(v){return function(){var p=o(v)(),X=ni(un(v))(function(c){return c.view})();return X(p)(z(v))}};return function(v){return Hf(t,{def:v,init:e({initialState:v.init.value0}).initialize,render:f,componentDidMount:s(v.init.value1),componentWillUnmount:iR(r(!0))(u)})}}},id=function(t){return function(){var r=rd(Qc)();return Ff(function(A){return ad(A)(r)(t)})}},Bo=function(t){return function(e){return gf(t,function(r){var A=ad(r)(Dc);return function(n){return A(e(n))}})}};var ud=t=>{let e=document.createElement("script");e.src="https://js.hsforms.net/forms/embed/v2.js",e.async=!0,e.onload=()=>{window.hbspt&&window.hbspt.forms.create({portalId:t.portalId,formId:t.formId,target:`#${t.targetId}`})},document.body.appendChild(e)};var oR=function(){function t(){}return t.value=new t,t}(),_o=function(){function t(){}return t.value=new t,t}(),lR=function(){function t(){}return t.value=new t,t}(),$o=function(){function t(){}return t.value=new t,t}(),od=function(t){if(t instanceof oR)return"modal-sm";if(t instanceof _o)return"";if(t instanceof lR)return"modal-lg";if(t instanceof $o)return"modal-xl";throw new Error("Failed pattern match at Bootstrap.Modal.Size (line 14, column 13 - line 18, column 27): "+[t.constructor.name])};var Od=cu(qd()),Td=Od.default;var kR=cA(),Ld=function(t){var e=kR(t);return function(){return function(){return e(Td)}}};var Kr=function(t){return function(e){return e.join(t)}};var JR=K;var Fd=function(t){return Pn(t)};var pA=function(t){var e=Fd(t);return e?H.value:new g(JR(t))};var Ft=function(t){return function(e){var r=Fd(t);return r?e:t}};var cr=function(){return K};var DR=B(xe),QR=bn(),Hd=function(t){return{handleMaybe:function(e){return function(r){return oA(function(){var A=Lt(DR(tt))(e);return function(n){return A(QR(r(n)))}}())}}}};var Sd={handle:function(t){return function(e){return function(r){return t(e(r))()}}}},si={handleEffect:function(t){return oA(t)}},dr={handleEffect:function(t){return oA(ot(t))}},Gd={handle:function(t){return function(e){return function(r){return t(e)()}}}},Md=function(t){return t.handleMaybe},Te=function(t){return t.handleEffect},vi=function(t){return t.handle};function ci(t,e){var r={};for(var A in e)({}).hasOwnProperty.call(e,A)&&(r[A]=e[A]);for(var n in t)({}).hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}var di=function(){return function(){return function(t){return function(e){return ci(t,e)}}}};var BR=Ai(),ul=cA(),Cd=di()();var pi=K;var ol=function(t){var e=ul(t);return function(r){return function(A){return e(pi(r))(A)}}},ll=function(t){var e=ul(t);return function(r){return function(A){return function(n){return e(pi(r))(Cd(n)({className:A}))}}}},fl=function(t){return function(e){return function(r){return BR(pi(t))(Cd(r)({className:e}))}}};var Ue=function(t){return function(e){var r=ul(e);return function(A){return function(n){return r(pi(t))({className:A})(n)}}}};var St=K;var bi=function(t){return Ue("span")(t)};var Le=function(t){return Ue("section")(t)};var mi=function(t){var e=ll(t);return function(){return function(){return e("p")}}},Ur=function(t){return Ue("p")(t)};var Ri=function(t){return Ue("label")(t)};var Wi=function(){return function(){return fl("input")}};var zi=function(){return function(){return fl("img")}};var hi=function(t){return Ue("i")(t)};var xi=function(t){return Ue("h4")(t)};var GA=function(t){return Ue("h3")(t)};var Je=function(t){return Ue("h2")(t)};var Ii=function(t){return Ue("h1")(t)};var Ei=function(t){return Ue("em")(t)};var ne=function(t){var e=ll(t);return function(){return function(){return e("div")}}},Wt=function(t){return Ue("div")(t)};var Qn="";function kd(t){var e=t.split(` `);return e.reduce(function(r,A){var n=tW(A)||rW(A)||aW(A)||lW(A)||uW(A);return n&&r.push(n),r},[])}var _R=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,$R=/\((\S*)(?::(\d+))(?::(\d+))\)/;function tW(t){var e=_R.exec(t);if(!e)return null;var r=e[2]&&e[2].indexOf("native")===0,A=e[2]&&e[2].indexOf("eval")===0,n=$R.exec(e[2]);return A&&n!=null&&(e[2]=n[1],e[3]=n[2],e[4]=n[3]),{file:r?null:e[2],methodName:e[1]||Qn,arguments:r?[e[2]]:[],lineNumber:e[3]?+e[3]:null,column:e[4]?+e[4]:null}}var eW=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function rW(t){var e=eW.exec(t);return e?{file:e[2],methodName:e[1]||Qn,arguments:[],lineNumber:+e[3],column:e[4]?+e[4]:null}:null}var AW=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,nW=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function aW(t){var e=AW.exec(t);if(!e)return null;var r=e[3]&&e[3].indexOf(" > eval")>-1,A=nW.exec(e[3]);return r&&A!=null&&(e[3]=A[1],e[4]=A[2],e[5]=null),{file:e[3],methodName:e[1]||Qn,arguments:e[2]?e[2].split(","):[],lineNumber:e[4]?+e[4]:null,column:e[5]?+e[5]:null}}var iW=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function uW(t){var e=iW.exec(t);return e?{file:e[3],methodName:e[1]||Qn,arguments:[],lineNumber:+e[4],column:e[5]?+e[5]:null}:null}var oW=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function lW(t){var e=oW.exec(t);return e?{file:e[2],methodName:e[1]||Qn,arguments:[],lineNumber:+e[3],column:e[4]?+e[4]:null}:null}function wd({skipFrames:t,prefix:e}){let r=new Error().stack,n=kd(r)[t],a=Kd(n.file.replace(/^(http(s?):\/\/)?[^\/]+/,"")),i=Kd(n.methodName);return`${e}_${a}_${i}_${n.lineNumber}_${n.column}`}var Kd=t=>t.replace(/[^\d\w]+/g,"_").replace(/(^_|_$)/g,"");var fW=B(Ke),sW=ut(lt),Xi=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),vW={map:function(t){return function(e){return new Xi(function(r){return e.value0(function(A){return r(t(A))})})}}},Ud=S(vW);var sl=function(t){return Ad(wd(t))},MA=function(t){return new Xi(function(e){return e(t)})},CA=function(t){return function(e){return new Xi(function(r){return Bo(t)(e)(r)})}},vl=function(t){return function(e){return Bo(t)(function(r){return{init:fW(tt),update:ot(_r),view:ot(ot(e.value0(sW)))}})(tt)}},Jd=function(t){var e=sl({skipFrames:3,prefix:"WithHook"});return function(r){return vl(e)(Ud(r)(t))}},Vi=function(t){var e=sl({skipFrames:3,prefix:"WithHookCurried"});return function(r){return vl(e)(Ud(Ra(r))(t))}},kA=function(t){var e=sl({skipFrames:3,prefix:"HooksComponent"});return vl(e)(t)},Bn=function(){return function(t){return function(e){return new Xi(function(r){return t.value0(function(A){var n=e(A);return n.value0(r)})})}}},cW=Bn(),ji=function(t){return function(){return cW}};var Dd=ao(no);var dW={map:function(t){return function(e){return Dd(Dd(t))(e)}}},pW=Bt(dW),bW=function(t){var e=ft(t.Monad0().Bind1()),r=Kt(t);return function(A){return Qo(function(n){return e(A(n.dispatch))(function(a){return r(n.onStop(a))})})}},Qd=function(t){var e=bW(t);return function(r){return function(A){return e(pW(A)(r))}}};var Bd=Ve(fe)(ai),mW=Qd(ye),RW=ut(lt),_d=B(Ke),$d=function(t){return function(e){return CA("UseSubscription")(function(r){return{init:Bd(mW(RW)(t))(function(){return _d(tt)}),update:function(A){return function(n){return Bd(Kn(e(n)))(function(){return _d(tt)})}},view:function(A){return function(n){return r(tt)}}}})}};function cl(t){return function(){return function(e){return t(e)()}}}function dl(t){return function(e){return function(r){return function(A){return function(){return A.addEventListener(t,e,r)}}}}}function pl(t){return function(e){return function(r){return function(A){return function(){return A.removeEventListener(t,e,r)}}}}}var bA=function(){return window};var bl=K;var t1=K;var yi=function(t){var e=B(t.Applicative0()),r=er(t.Plus1());return function(A){if(A)return e(tt);if(!A)return r;throw new Error("Failed pattern match at Control.Alternative (line 48, column 1 - line 48, column 54): "+[A.constructor.name])}};function wA(t){return function(){return t.document}}var e1=K;var r1="message";var A1="hashchange";var n1="popstate";var a1="keyup",i1="keydown";var u1="mouseup";var o1="mousemove";var l1=Kt(ye),f1=S(Et),VW=Re(tr),s1=function(){var t=function(A){return function(n){return function(a){return l1(function(){var u=n(),o=cl(function(l){return a(l)})();return dl(A)(o)(!1)(u)(),l1(pl(A)(o)(!1)(u))})}}},e=function(A){return t(A)(f1(e1)(bA))},r=function(A){return t(A)(f1(t1)(VW(wA)(bA)))};return{hashchange:e(A1),mousemove:e(o1),mouseup:e(u1),popstate:e(n1),resize:e("resize"),message:e(r1),keydown:r(i1),keyup:r(a1),selectionchange:r("selectionchange"),visibilitychange:r("visibilitychange")}}();var v1=function(t){var e=ol(t);return function(){return function(){return e("button")}}};var c1=function(t){var e=ol(t);return function(){return function(){return e("a")}}};var d1=di()(),P5=function(t){return t},Ee=Ie(Fn),be=function(t){var e=v1(t)()();return function(){return function(){return function(r){return function(A){return function(n){return function(a){return e(d1(n)({className:r,"aria-label":A}))(a)}}}}}}};var KA=function(t){return P5(Ie(t))},Zi=function(t){var e=c1(t)()();return function(){return function(){return function(r){return function(A){return function(n){return function(a){return e(d1(n)({className:r,"aria-label":A}))(a)}}}}}}};var GRt=typeof Array.from=="function",MRt=typeof Symbol!="undefined"&&Symbol!=null&&typeof Symbol.iterator!="undefined"&&typeof String.prototype[Symbol.iterator]=="function",CRt=typeof String.prototype.fromCodePoint=="function",kRt=typeof String.prototype.codePointAt=="function";function b1(t){return function(e){return function(){return e.getElementById(t)}}}var H5=S(Et),Wl=function(t){var e=H5(Ut),r=b1(t);return function(A){return e(r(A))}};var qi=function(t){return function(e){return function(){return e[t]}}},S5=qi("children"),G5=qi("firstElementChild"),M5=qi("lastElementChild"),C5=qi("childElementCount");var Oi=Ct(ve),Xe=re(Lt(ve));var Q5=function(t){return function(e){if(t)return e(tt);if(gt)return ve;throw new Error("Failed pattern match at Utils.HTML (line 98, column 1 - line 98, column 61): "+[t.constructor.name,e.constructor.name])}},m1=function(t){return function(e){return Q5(t)(ot(e))}};var R1=function(){return K};var UA=Wt(xt),zl=cr(),B5=Ld(xt)()(),_5=ne(xt)()(),$5=ne(qt)()(),tI=Wt(qt),eI=be(Rt)()(),rI=Te(dr),AI=Br(Sr),nI=Kt(ye),W1=R1(),hl=function(){return function(t){var e=UA("modal-backdrop fade show")(ve),r=zl(t),A=pA(r.footer),n=pA(r.header),a=Ft(r.size)(_o.value),i=Kr(" ")([function(){var o=Ft(r.scrollable)(!0);return o?"modal-dialog-scrollable":""}(),function(){var o=Ft(r.centered)(!0);return o?"modal-dialog-centered":""}(),od(a),Ft(r.dialogClass)("")]),u=B5({focusTrapOptions:{escapeDeactivates:!1,fallbackFocus:".modal-content",allowOutsideClick:!0}})(UA("modal fade show d-block")(_5("modal-dialog "+i)({style:Ft(r.dialogStyle)(St({}))})($5("modal-content "+Ft(r.contentClass)(""))({style:Ft(r.contentStyle)(St({}))})([Xe(n)(UA("modal-header "+Ft(r.headerClass)(""))),UA("modal-body "+Ft(r.bodyClass)(""))(r.body),Xe(A)(UA("modal-footer "+Ft(r.footerClass)("")))]))));return Ce([u,e])}},z1=hl(),h1=function(){return function(t){var e=zl(t),r=tI("d-flex w-100 justify-content-between align-items-center")([UA("mr-4")(Ft(e.title)(ve)),eI("btn btn-link large mr-n3 py-0 fe fe-x t--close "+Ft(e.dismissButtonClass)("text-body"))(KA("Close"))({type:"button",onClick:rI(e.onDismiss)})("")]),A=function(n){return AI(n.key==="Escape")(nI(e.onDismiss))};return Jd($d(s1.keyup)(A))(function(n){var a=Ft(e.bodyScrollable)(!1);return z1(a?function(){var i=zl(W1(e));return{body:i.body,bodyClass:i.bodyClass,centered:i.centered,contentClass:i.contentClass,contentStyle:i.contentStyle,dialogClass:i.dialogClass,dialogStyle:i.dialogStyle,footer:i.footer,footerClass:i.footerClass,headerClass:i.headerClass,scrollable:i.scrollable,size:i.size,header:r}}():W1({bodyClass:e.bodyClass,bodyScrollable:e.bodyScrollable,centered:e.centered,contentClass:e.contentClass,contentStyle:e.contentStyle,dialogClass:e.dialogClass,dialogStyle:e.dialogStyle,dismissButtonClass:e.dismissButtonClass,footer:e.footer,footerClass:e.footerClass,headerClass:e.headerClass,onDismiss:e.onDismiss,scrollable:e.scrollable,size:e.size,title:e.title,body:Ce([r,e.body])}))})}};XA();var x1=class extends Wr.Component{componentDidUpdate(e){this.props.componentDidUpdate(e.deps)}render(){return this.props.children}},I1=x1;var aI=Or();var E1=function(t){return"ref:"+de(t)(Qt.value)},X1=function(t){var e=E1(t);return function(r){return aI(Tn(e)(r))}},V1=function(t){var e=E1(t);return function(r){return zo(e)(r)}};var uI=cA(),j1=Ve(fe)(ai),y1=B(Ke),oI=Md(Hd(tv)),P1={reflectSymbol:function(){return"deps"}},lI=X1(P1),fI=V1(P1),Z1=ut(lt);var sI=function(t){var e=uI(t);return function(){return function(){return e(I1)}}},vI=sI(xt)()(),N1=function(t){var e=An(t);return function(r){return function(A){return function(n){return function(a){return CA(r)(function(i){return A({init:j1(Kn(a(n)))(function(){return y1(n)}),update:function(u){return function(o){return j1(Kn(a(o)))(function(){return y1(o)})}},view:function(u){return function(o){return vI({componentDidUpdate:oI(o)(function(l){var s=e(lI(l))(n);return s?new g(n):H.value}),deps:fI(n)})(i(tt))}}})})}}}}},cI=N1(Ru),q1=function(t){var e=N1(t);return function(r){return function(A){return e("UseEffectPrime")(Z1)(r)(A)}}},O1=function(t){return cI("UseEffect")(Z1)(tt)(ot(t))};var dI=ji(fe)(),pI=Kt(ye),bI=Wt(xt),mI=h1(),RI=ne(xt)()(),WI=Gr(ud),T1=function(t){return kA(dI(O1(pI(WI(t))))(function(){return MA(bI(function(){return t.visible?"":"d-none"}())(mI({body:RI("")({id:t.targetId})(ve),onDismiss:t.onDismiss,size:$o.value})))}))};var L1=B(Ke),zI=ut(lt);var hI=function(t){return function(e){return function(r){return CA(t)(function(A){return e({init:L1(r),update:function(n){return function(a){return L1(a)}},view:cn(A)})})}}},De=function(t){return hI("UseState")(zI)(t)};var Y1="/agents/recruiter",g1="/agents/ambassador",F1="/agents/advisor";var xl=typeof CV!="undefined"&&CV.assetsRoot||typeof global!="undefined"&&global.CV&&global.CV.assetsRoot||"/";var Il=xr(NA(Ne)),xI=ut(lt),II=zi()(),Ti=function(t){var e=Sa(t);return function(r){return EA(e(r))}},mA=function(t){if(Il(Ti("http://"))(Il(Ti("https://"))(Il(Ti("//"))(Ti("blob:"))))(t))return t;if(gt)return xl+Ct(t)(Sa("/")(t));throw new Error("Failed pattern match at Utils.AppAssets (line 47, column 1 - line 47, column 30): "+[t.constructor.name])},RA=function(){return function(){return function(t){return function(e){var r=function(n){return xI},A=r(e)(Tv("src")(mA(e.src))(e));return II(t)(A)}}}},EI=RA()(),JA=function(t){return function(e){return EI(t)({src:e})}};var XI=ne(xt)()(),El=Wt(xt),VI=Zi(xt)()(),Li=Wt(qt),jI=RA()(),H1=Wt(Rt),yI=GA(Rt),S1=function(){var t=function(r){return XI("w-100 "+function(){return r.mobile?"d-md-none":"d-none d-md-block"}())({style:St({backgroundImage:"url("+(mA("/img/landing/agents/footer-gradient.svg")+")"),backgroundSize:"cover",backgroundPosition:"top center",height:function(){return r.mobile?"100px":"200px"}()})})(ve)},e=function(r){return El("col-12 col-lg-4 py-3 py-lg-0")(VI("card shadow lift h-100")(KA(r.title))({href:r.link})(El("card-body p-2")(Li("row no-gutters g-0 align-items-center")([El("col-auto")(jI("")({src:r.image,alt:r.title})),Li("col pl-2")([H1("small font-weight-bold fw-bold text-lilac mb-1")(r.description),yI("font-weight-bold fw-bold mb-0 text-canopy-black")(r.title)])]))))};return Le(qt)("bg-white pt-8 pt-md-10")([Li("container")([H1("h1 font-serif line-height-1-5 mb-9 text-center")("Meet our AI agents"),Li("row")([e({image:"/img/landing/agents/recruiter/tab-icon.svg",title:"AI Recruiter",description:"For prospective students",link:Y1}),e({image:"/img/landing/agents/advisor/tab-icon.svg",title:"AI Advisor",description:"For current students",link:F1}),e({image:"/img/landing/agents/ambassador/tab-icon.svg",title:"AI Ambassador",description:"For alumni",link:g1})])]),t({mobile:!1}),t({mobile:!0})])}();var G1=t=>()=>t.preventDefault&&t.preventDefault();var _n=function(){return G1};var PI=wa();var ZI=ft(Fe),NI=Yn(PI(Ua({reflectSymbol:function(){return"value"}})(ka)(Ca))),qI=B($e);var Xl=function(t){return Ct("")(ZI(NI(Ie(t.target)))(function(e){return qI(e.value)}))};var M1=function(){return{"genericTop'":or.value}}();var Vl=function(t){return t["genericTop'"]},C1=function(t){return{"genericTop'":Vl(t)}};var k1=function(){return{"genericBottom'":or.value}}();var $n=function(t){return t["genericBottom'"]},w1=function(t){return{"genericBottom'":$n(t)}};var K1=function(t){return{"genericBottom'":new me($n(t))}},U1=function(t){var e=va(t);return function(r){return e($n(r))}};var Jr=S(Zt),Yi=Se();var jl=function(t){return t["genericToEnum'"]};var gi=function(t){return t["genericSucc'"]},J1=function(t){var e=va(t),r=Yf(t);return function(A){var n=Jr(e),a=gi(A);return function(i){return n(a(r(i)))}}},yl=function(t){return t["genericPred'"]};var Pl=function(t){return t["genericFromEnum'"]};var D1=function(t){var e=yl(t),r=gi(t);return function(A){var n=Vl(A);return function(a){var i=yl(a),u=gi(a);return function(o){var l=$n(o);return{"genericPred'":function(s){if(s instanceof me)return Jr(me.create)(e(s.value0));if(s instanceof pe){var z=i(s.value0);if(z instanceof H)return new g(new me(n));if(z instanceof g)return new g(new pe(z.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 30, column 14 - line 32, column 31): "+[z.constructor.name])}throw new Error("Failed pattern match at Data.Enum.Generic (line 28, column 18 - line 32, column 31): "+[s.constructor.name])},"genericSucc'":function(s){if(s instanceof me){var z=r(s.value0);if(z instanceof H)return new g(new pe(l));if(z instanceof g)return new g(new me(z.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 34, column 14 - line 36, column 31): "+[z.constructor.name])}if(s instanceof pe)return Jr(pe.create)(u(s.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 33, column 18 - line 37, column 36): "+[s.constructor.name])}}}}}};var Q1={"genericPred'":function(t){return H.value},"genericSucc'":function(t){return H.value}},B1=function(t){var e=yl(t),r=gi(t);return{"genericPred'":function(A){return Jr(sa)(e(A))},"genericSucc'":function(A){return Jr(sa)(r(A))}}};var Zl=function(t){return t["genericCardinality'"]};var _1=function(t){var e=Zl(t),r=jl(t),A=Pl(t);return function(n){var a=jl(n),i=Pl(n);return{"genericCardinality'":Yi(e)+Yi(Zl(n))|0,"genericToEnum'":function(u){var o=function(l){if(u>=0&&ue=>r=>A=>{let n=FI[t];if(typeof console!="undefined"&&console[n]&&console[n](e,r),typeof window!="undefined"){let a=new Error(e);typeof window.Sentry!="undefined"&&window.Sentry.captureException(a,{extra:r})}return A()},a7=(t,e)=>(e.__sentryFingerprint=t,e);var i7=function(t){return Yr(a7)(t)};var u7="error";var ql={parseOrPanic:function(t){return function(e){var r=t.parse(e);if(r instanceof et)return r.value0;if(r instanceof $)return Nl(u7)("Failed to parse "+t.diagnosticName)({error:r.value0,value:e})(function(A){return t.default});throw new Error("Failed pattern match at Utils.Parse (line 49, column 5 - line 57, column 24): "+[r.constructor.name])}}},ta=function(t){return t.parseOrPanic},HI=ta(ql);var o7={parseOrPanic:function(t){return HI({default:t.default,diagnosticName:t.diagnosticName,parse:function(){var e=Lt(new $(""))(et.create);return function(r){return e(t.parse(r))}}()})}};var l7=B1(Q1),f7=D1(l7)(C1(M1)),s7=w1(k1),v7=K1(s7),c7=t7($1),d7=_1(c7),ae=function(){function t(){}return t.value=new t,t}(),ie=function(){function t(){}return t.value=new t,t}(),te=function(){function t(){}return t.value=new t,t}(),SI={to:function(t){if(t instanceof me)return ae.value;if(t instanceof pe&&t.value0 instanceof me)return ie.value;if(t instanceof pe&&t.value0 instanceof pe)return te.value;throw new Error("Failed pattern match at Trellis.Types.Agent (line 19, column 1 - line 19, column 32): "+[t.constructor.name])},from:function(t){if(t instanceof ae)return new me(or.value);if(t instanceof ie)return new pe(new me(or.value));if(t instanceof te)return new pe(new pe(or.value));throw new Error("Failed pattern match at Trellis.Types.Agent (line 19, column 1 - line 19, column 32): "+[t.constructor.name])}};var GI=function(t){if(t instanceof ae)return"advisor";if(t instanceof ie)return"ambassador";if(t instanceof te)return"recruiter";throw new Error("Failed pattern match at Trellis.Types.Agent (line 41, column 13 - line 44, column 27): "+[t.constructor.name])},p7=function(t){if(t instanceof ae)return"advisor-demo";if(t instanceof ie)return"ambassador-demo";if(t instanceof te)return"landing-page-demo";throw new Error("Failed pattern match at Trellis.Types.Agent (line 34, column 12 - line 37, column 35): "+[t.constructor.name])},b7=function(){return ta(o7)({default:te.value,diagnosticName:"Trellis/Types/Agent",parse:A7(GI)(n7(SI)(f7(f7(l7)(s7))(v7))(d7(d7(c7)))(v7))})}(),WA=function(t){if(t instanceof ae)return"Maple";if(t instanceof ie)return"Noa";if(t instanceof te)return"Sarah";throw new Error("Failed pattern match at Trellis.Types.Agent (line 22, column 8 - line 25, column 23): "+[t.constructor.name])},Qe=function(t){if(t instanceof ae)return"AI Advisor";if(t instanceof ie)return"AI Ambassador";if(t instanceof te)return"AI Recruiter";throw new Error("Failed pattern match at Trellis.Types.Agent (line 28, column 8 - line 31, column 30): "+[t.constructor.name])};var MI=typeof CV!="undefined"&&CV.pathInfo||typeof global!="undefined"&&global.CV&&global.CV.pathInfo||(t=>null);function m7(t,e){let r=typeof CV!="undefined"&&CV.apiEndpoint||typeof global!="undefined"&&global.CV&&global.CV.apiEndpoint;return r||console.error("Missing `CV.apiEndpoint` function"),r&&r(t,e)}function R7(t,e,r,A,n){return function(a,i){var u=t.newXHR(),o=t.fixupUrl(n.url,u);if(u.open(n.method||"GET",o,!0,n.username,n.password),n.headers)try{for(var l=0,s;(s=n.headers[l])!=null;l++)u.setRequestHeader(s.field,s.value)}catch(f){a(f)}var z=function(f){return function(){a(new Error(f))}};return u.onerror=z(r),u.ontimeout=z(e),u.onload=function(){i({status:u.status,statusText:u.statusText,headers:u.getAllResponseHeaders().split(`\r `).filter(function(f){return f.length>0}).map(function(f){var v=f.indexOf(":");return A(f.substring(0,v))(f.substring(v+2))}),body:u.response})},u.responseType=n.responseType,u.withCredentials=n.withCredentials,u.timeout=n.timeout,u.send(n.content),function(f,v,m){try{u.abort()}catch(p){return v(p)}return m()}}}var Fi="application/json",W7="application/x-www-form-urlencoded";var z7=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),h7=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),x7=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),I7=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),E7=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),Ol=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),Hi=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),X7=function(t){return t instanceof Ol?new g(W7):t instanceof Hi?new g(Fi):H.value};var V7=function(){return Hi.create}();var j7=Se();var Si=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),Gi=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),DA=function(){function t(e,r){this.value0=e,this.value1=r}return t.create=function(e){return function(r){return new t(e,r)}},t}(),y7=function(t){if(t instanceof Si||t instanceof Gi)return j7(t.value0);if(t instanceof DA)return t.value1;throw new Error("Failed pattern match at Affjax.RequestHeader (line 26, column 1 - line 26, column 33): "+[t.constructor.name])};var Tl=function(t){if(t instanceof Si)return"Accept";if(t instanceof Gi)return"Content-Type";if(t instanceof DA)return t.value0;throw new Error("Failed pattern match at Affjax.RequestHeader (line 21, column 1 - line 21, column 32): "+[t.constructor.name])};var P7=ut(lt),Ll=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),Yl=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),gl=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),Mi=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),Ci=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),ki=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),Z7=function(t){if(t instanceof Ll)return"arraybuffer";if(t instanceof Yl)return"blob";if(t instanceof gl)return"document";if(t instanceof Mi||t instanceof Ci)return"text";if(t instanceof ki)return"";throw new Error("Failed pattern match at Affjax.ResponseFormat (line 44, column 3 - line 50, column 19): "+[t.constructor.name])},N7=function(t){return t instanceof Mi?new g(Fi):H.value},q7=function(){return new Ci(P7)}();var O7=function(){return new ki(P7)}();var T7=function(){function t(e,r){this.value0=e,this.value1=r}return t.create=function(e){return function(r){return new t(e,r)}},t}();var kI=Se();var L7=function(t){return kI(eo(t))};function nr(t){return t}function Fl(t){return JSON.stringify(t)}var Y7=nr(Ga);function g7(t,e,r){try{return e(JSON.parse(r))}catch(A){return t(A.message)}}var wi=function(t){return g7($.create,et.create,t)};function wI(t){return t.replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16)})}function F7(t,e,r){try{return e(wI(encodeURIComponent(r)).replace(/%20/g,"+"))}catch(A){return t(A)}}var Ki=function(){return Ea(F7)(ot(H.value))(g.create)}();var KI=Tt(Rr),H7=S(Zt),UI=fr(OA)($e);var JI=function(t){return t};var S7=function(){var t=function(A){if(A.value1 instanceof H)return Ki(A.value0);if(A.value1 instanceof g)return KI(H7(function(n){return function(a){return n+("="+a)}})(Ki(A.value0)))(Ki(A.value1.value0));throw new Error("Failed pattern match at Data.FormURLEncoded (line 37, column 16 - line 39, column 114): "+[A.constructor.name])},e=H7(Kr("&")),r=UI(t);return function(A){return e(r(JI(A)))}}();var Hl=function(){function t(){}return t.value=new t,t}(),zA=function(){function t(){}return t.value=new t,t}(),Sl=function(){function t(){}return t.value=new t,t}(),QA=function(){function t(){}return t.value=new t,t}(),Ui=function(){function t(){}return t.value=new t,t}(),ea=function(){function t(){}return t.value=new t,t}(),Gl=function(){function t(){}return t.value=new t,t}(),Ml=function(){function t(){}return t.value=new t,t}(),Cl=function(){function t(){}return t.value=new t,t}(),kl=function(){function t(){}return t.value=new t,t}(),wl=function(){function t(){}return t.value=new t,t}(),Kl=function(){function t(){}return t.value=new t,t}(),Ul=function(){function t(){}return t.value=new t,t}(),Jl=function(){function t(){}return t.value=new t,t}(),Dl=function(){function t(){}return t.value=new t,t}(),Ji=function(){function t(){}return t.value=new t,t}();var DI=function(t){return t},QI={show:function(t){if(t instanceof Hl)return"OPTIONS";if(t instanceof zA)return"GET";if(t instanceof Sl)return"HEAD";if(t instanceof QA)return"POST";if(t instanceof Ui)return"PUT";if(t instanceof ea)return"DELETE";if(t instanceof Gl)return"TRACE";if(t instanceof Ml)return"CONNECT";if(t instanceof Cl)return"PROPFIND";if(t instanceof kl)return"PROPPATCH";if(t instanceof wl)return"MKCOL";if(t instanceof Kl)return"COPY";if(t instanceof Ul)return"MOVE";if(t instanceof Jl)return"LOCK";if(t instanceof Dl)return"UNLOCK";if(t instanceof Ji)return"PATCH";throw new Error("Failed pattern match at Data.HTTP.Method (line 43, column 1 - line 59, column 23): "+[t.constructor.name])}};var G7=se(ct(QI))(DI);var M7={eq:function(t){return function(e){return t instanceof Hl&&e instanceof Hl||t instanceof zA&&e instanceof zA||t instanceof Sl&&e instanceof Sl||t instanceof QA&&e instanceof QA||t instanceof Ui&&e instanceof Ui||t instanceof ea&&e instanceof ea||t instanceof Gl&&e instanceof Gl||t instanceof Ml&&e instanceof Ml||t instanceof Cl&&e instanceof Cl||t instanceof kl&&e instanceof kl||t instanceof wl&&e instanceof wl||t instanceof Kl&&e instanceof Kl||t instanceof Ul&&e instanceof Ul||t instanceof Jl&&e instanceof Jl||t instanceof Dl&&e instanceof Dl||t instanceof Ji&&e instanceof Ji}}};var C7=function(t){return En(function(e){return function(){var A=t(function(n){return e($.create(n))()},function(n){return e(et.create(n))()});return function(n){return En(function(a){return function(){return A(n,function(u){return a($.create(u))()},function(u){return a(et.create(u))()}),ov}})}}})};var Ql=B(Vn(AA)),BI=Ro(AA),hA=yv(AA),k7=Ze($s(Wv)(AA)),_I=Eu(ro(AA)),Di=S(Zt),$I=aA(Ae)(Ne),tE=zt(ir),eE=Re(Fe),rE=S(oe),AE=Bt(uo),nE=ja(uv),aE=B(Sr);var Qi=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),Bi=function(){function t(e,r){this.value0=e,this.value1=r}return t.create=function(e){return function(r){return new t(e,r)}},t}(),_i=function(){function t(){}return t.value=new t,t}(),$i=function(){function t(){}return t.value=new t,t}(),tu=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),w7=function(t){return function(e){var r=function(s){return s===""?Ql(Y7):se(function(z){return BI(mo.create(z))})(Ql)(wi(s))},A=function(){if(e.responseFormat instanceof Ll)return hA("ArrayBuffer");if(e.responseFormat instanceof Yl)return hA("Blob");if(e.responseFormat instanceof gl)return function(s){return k7(hA("Document")(s))(k7(hA("XMLDocument")(s))(hA("HTMLDocument")(s)))};if(e.responseFormat instanceof Mi)return _I(function(s){return e.responseFormat.value0(r(s))})(hA("String"));if(e.responseFormat instanceof Ci)return hA("String");if(e.responseFormat instanceof ki)return ot(e.responseFormat.value0(Ql(tt)));throw new Error("Failed pattern match at Affjax (line 274, column 18 - line 283, column 57): "+[e.responseFormat.constructor.name])}(),n=function(s){if(s instanceof z7)return new et(s.value0(Ie));if(s instanceof h7)return new et(Ie(s.value0));if(s instanceof x7)return new et(Ie(s.value0));if(s instanceof I7)return new et(Ie(s.value0));if(s instanceof E7)return new et(Ie(s.value0));if(s instanceof Ol)return ju("Body contains values that cannot be encoded as application/x-www-form-urlencoded")(Di(Ie)(S7(s.value0)));if(s instanceof Hi)return new et(Ie(Fl(s.value0)));throw new Error("Failed pattern match at Affjax (line 235, column 20 - line 250, column 69): "+[s.constructor.name])},a=function(s){return function(z){return s instanceof g&&!$I(pu(tE)(Tl)(s.value0))(z)?Uu(z)(s.value0):z}},i=function(s){return a(Di(Gi.create)(eE(X7)(s)))(a(Di(Si.create)(N7(e.responseFormat)))(e.headers))},u=function(s){return{method:G7(e.method),url:e.url,headers:rE(function(z){return{field:Tl(z),value:y7(z)}})(i(e.content)),content:s,responseType:Z7(e.responseFormat),username:Cr(e.username),password:Cr(e.password),withCredentials:e.withCredentials,timeout:Ct(0)(Di(function(z){return z})(e.timeout))}},o=function(s){return AE(nE(C7(R7(t,"AffjaxTimeoutErrorMessageIdent","AffjaxRequestFailedMessageIdent",T7.create,u(s)))))(function(z){if(z instanceof et){var f=L7(A(z.value0.body));if(f instanceof $)return new $(new Bi(xv(f.value0),z.value0));if(f instanceof et)return new et({headers:z.value0.headers,status:z.value0.status,statusText:z.value0.statusText,body:f.value0});throw new Error("Failed pattern match at Affjax (line 209, column 9 - line 211, column 52): "+[f.constructor.name])}if(z instanceof $)return new $(function(){var v=LA(z.value0),m=v==="AffjaxTimeoutErrorMessageIdent";if(m)return _i.value;var p=v==="AffjaxRequestFailedMessageIdent";return p?$i.value:new tu(z.value0)}());throw new Error("Failed pattern match at Affjax (line 207, column 144 - line 219, column 28): "+[z.constructor.name])})};if(e.content instanceof H)return o(Cr(H.value));if(e.content instanceof g){var l=n(e.content.value0);if(l instanceof et)return o(Cr(new g(l.value0)));if(l instanceof $)return aE(new $(new Qi(l.value0)));throw new Error("Failed pattern match at Affjax (line 199, column 7 - line 203, column 48): "+[l.constructor.name])}throw new Error("Failed pattern match at Affjax (line 195, column 3 - line 203, column 48): "+[e.content.constructor.name])}};var BA=function(){return{method:new $(zA.value),url:"/",headers:[],content:H.value,username:H.value,password:H.value,withCredentials:!1,responseFormat:O7,timeout:H.value}}();var K7={eq:function(t){return function(e){return t===e}}};var Bl={newXHR:function(){return new XMLHttpRequest},fixupUrl:function(t){return t||"/"}};var U7=w7(Bl);function J7(t){return Buffer.from(t).toString("base64")}function D7(t,e,r){let A;try{A=e(btoa(r))}catch(n){A=t(n)}return A}var _l=typeof btoa=="function";function Q7(t){let e=32768,r=[];for(let A=0;A