var Purs_EntryPoints_Landing_Main=(()=>{var yA=Object.create;var zo=Object.defineProperty;var zA=Object.getOwnPropertyDescriptor;var LA=Object.getOwnPropertyNames;var BA=Object.getPrototypeOf,CA=Object.prototype.hasOwnProperty;var Wv=e=>zo(e,"__esModule",{value:!0});var FA=(e,t)=>()=>(e&&(t=e(e=0)),t);var qt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ev=(e,t)=>{Wv(e);for(var r in t)zo(e,r,{get:t[r],enumerable:!0})},TA=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of LA(t))!CA.call(e,n)&&n!=="default"&&zo(e,n,{get:()=>t[n],enumerable:!(r=zA(t,n))||r.enumerable});return e},Vf=e=>TA(Wv(zo(e!=null?yA(BA(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Uf={};Ev(Uf,{Children:()=>n9,Component:()=>o9,Fragment:()=>v9,Suspense:()=>d9,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>r9,cloneElement:()=>a9,createContext:()=>u9,createElement:()=>f9,createRef:()=>i9,default:()=>br,forwardRef:()=>l9,isValidElement:()=>s9,lazy:()=>c9,useCallback:()=>A9,useContext:()=>g9,useEffect:()=>P9,useImperativeHandle:()=>w9,useLayoutEffect:()=>p9,useMemo:()=>D9,useReducer:()=>h9,useRef:()=>m9,useState:()=>b9,version:()=>X9});var br,r9,n9,a9,o9,u9,f9,i9,l9,v9,s9,c9,d9,A9,g9,P9,w9,p9,D9,h9,m9,b9,X9,Tn=FA(()=>{br=window.React,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:r9,Children:n9,cloneElement:a9,Component:o9,createContext:u9,createElement:f9,createRef:i9,forwardRef:l9,Fragment:v9,isValidElement:s9,lazy:c9,Suspense:d9,useCallback:A9,useContext:g9,useEffect:P9,useImperativeHandle:w9,useLayoutEffect:p9,useMemo:D9,useReducer:h9,useRef:m9,useState:b9,version:X9}=window.React});var Zi=qt((fk,vd)=>{"use strict";var ld=Object.getOwnPropertySymbols,LP=Object.prototype.hasOwnProperty,BP=Object.prototype.propertyIsEnumerable;function CP(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function FP(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(n.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(o){a[o]=o}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}vd.exports=FP()?Object.assign:function(e,t){for(var r,n=CP(e),a,o=1;o{"use strict";var Ui=Zi(),Sn=60103,sd=60106;Me.Fragment=60107;Me.StrictMode=60108;Me.Profiler=60114;var cd=60109,dd=60110,Ad=60112;Me.Suspense=60113;var gd=60115,Pd=60116;typeof Symbol=="function"&&Symbol.for&&(Ut=Symbol.for,Sn=Ut("react.element"),sd=Ut("react.portal"),Me.Fragment=Ut("react.fragment"),Me.StrictMode=Ut("react.strict_mode"),Me.Profiler=Ut("react.profiler"),cd=Ut("react.provider"),dd=Ut("react.context"),Ad=Ut("react.forward_ref"),Me.Suspense=Ut("react.suspense"),gd=Ut("react.memo"),Pd=Ut("react.lazy"));var Ut,wd=typeof Symbol=="function"&&Symbol.iterator;function TP(e){return e===null||typeof e!="object"?null:(e=wd&&e[wd]||e["@@iterator"],typeof e=="function"?e:null)}function Ja(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r{"use strict";zd.exports=yd()});var Jd=qt(Jn=>{"use strict";var er=Zi(),Tr=Ld();function nt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;reo;eo++)ht[eo]=eo+1;var ht,eo;ht[15]=0;var WP=/^[: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]*$/,Md=Object.prototype.hasOwnProperty,Nd={},Vd={};function qd(e){return Md.call(Vd,e)?!0:Md.call(Nd,e)?!1:WP.test(e)?Vd[e]=!0:(Nd[e]=!0,!1)}function EP(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function RP(e,t,r,n){if(t===null||typeof t=="undefined"||EP(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ct(e,t,r,n,a,o,u){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=u}var mt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){mt[e]=new Ct(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];mt[t]=new Ct(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){mt[e]=new Ct(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){mt[e]=new Ct(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){mt[e]=new Ct(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){mt[e]=new Ct(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){mt[e]=new Ct(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){mt[e]=new Ct(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){mt[e]=new Ct(e,5,!1,e.toLowerCase(),null,!1,!1)});var fl=/[\-:]([a-z])/g;function il(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(fl,il);mt[t]=new Ct(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(fl,il);mt[t]=new Ct(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(fl,il);mt[t]=new Ct(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){mt[e]=new Ct(e,1,!1,e.toLowerCase(),null,!1,!1)});mt.xlinkHref=new Ct("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){mt[e]=new Ct(e,1,!1,e.toLowerCase(),null,!0,!0)});var YP=/["'&<>]/;function hn(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=YP.exec(e);if(t){var r="",n,a=0;for(n=t.index;nmu))throw Error(nt(301));if(e===Ar)if(hu=!0,e={action:r,next:null},_r===null&&(_r=new Map),r=_r.get(t),r===void 0)_r.set(t,e);else{for(t=r;t.next!==null;)t=t.next;t.next=e}}function vl(){}var bn=null,UP={readContext:function(e){var t=bn.threadID;return $a(e,t),e[t]},useContext:function(e){mn();var t=bn.threadID;return $a(e,t),e[t]},useMemo:Qd,useReducer:Gd,useRef:function(e){Ar=mn(),Ke=ll();var t=Ke.memoizedState;return t===null?(e={current:e},Ke.memoizedState=e):t},useState:function(e){return Gd(Yd,e)},useLayoutEffect:function(){},useCallback:function(e,t){return Qd(function(){return e},t)},useImperativeHandle:vl,useEffect:vl,useDebugValue:vl,useDeferredValue:function(e){return mn(),e},useTransition:function(){return mn(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(bn.identifierPrefix||"")+"R:"+(bn.uniqueID++).toString(36)},useMutableSource:function(e,t){return mn(),t(e._source)}},Id={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Zd(e){switch(e){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 Ud={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},KP=er({menuitem:!0},Ud),ro={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},SP=["Webkit","ms","Moz","O"];Object.keys(ro).forEach(function(e){SP.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ro[t]=ro[e]})});var kP=/([A-Z])/g,JP=/^ms-/,$r=Tr.Children.toArray,sl=VP.ReactCurrentDispatcher,_P={listing:!0,pre:!0,textarea:!0},$P=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Kd={},cl={};function ew(e){if(e==null)return e;var t="";return Tr.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}var tw=Object.prototype.hasOwnProperty,rw={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Sd(e,t){if(e===void 0)throw Error(nt(152,_a(t)||"Component"))}function nw(e,t,r){function n(u,f){var i=f.prototype&&f.prototype.isReactComponent,l=qP(f,t,r,i),v=[],D=!1,s={isMounted:function(){return!1},enqueueForceUpdate:function(){if(v===null)return null},enqueueReplaceState:function(A,p){D=!0,v=[p]},enqueueSetState:function(A,p){if(v===null)return null;v.push(p)}};if(i){if(i=new f(u.props,l,s),typeof f.getDerivedStateFromProps=="function"){var c=f.getDerivedStateFromProps.call(null,u.props,i.state);c!=null&&(i.state=er({},i.state,c))}}else if(Ar={},i=f(u.props,l,s),i=Ed(f,u.props,i,l),i==null||i.render==null){e=i,Sd(e,f);return}if(i.props=u.props,i.context=l,i.updater=s,s=i.state,s===void 0&&(i.state=s=null),typeof i.UNSAFE_componentWillMount=="function"||typeof i.componentWillMount=="function")if(typeof i.componentWillMount=="function"&&typeof f.getDerivedStateFromProps!="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&typeof f.getDerivedStateFromProps!="function"&&i.UNSAFE_componentWillMount(),v.length){s=v;var w=D;if(v=null,D=!1,w&&s.length===1)i.state=s[0];else{c=w?s[0]:i.state;var P=!0;for(w=w?1:0;w=f))throw Error(nt(304));var i=new Uint16Array(f);for(i.set(u),ht=i,ht[0]=o+1,u=o;u=i.children.length){var l=i.footer;if(l!==""&&(this.previousWasTextNode=!1),this.stack.pop(),i.type==="select")this.currentSelectValue=null;else if(i.type!=null&&i.type.type!=null&&i.type.type.$$typeof===wu)this.popProvider(i.type);else if(i.type===pu){this.suspenseDepth--;var v=o.pop();if(u){u=!1;var D=i.fallbackFrame;if(!D)throw Error(nt(303));this.stack.push(D),o[this.suspenseDepth]+="";continue}else o[this.suspenseDepth]+=v}o[this.suspenseDepth]+=l}else{var s=i.children[i.childIndex++],c="";try{c+=this.render(s,i.context,i.domNamespace)}catch(w){throw w!=null&&typeof w.then=="function"?Error(nt(294)):w}finally{}o.length<=this.suspenseDepth&&o.push(""),o[this.suspenseDepth]+=c}}return o[0]}finally{sl.current=a,bn=n,Rd()}},t.render=function(r,n,a){if(typeof r=="string"||typeof r=="number")return a=""+r,a===""?"":this.makeStaticMarkup?hn(a):this.previousWasTextNode?""+hn(a):(this.previousWasTextNode=!0,hn(a));if(n=nw(r,n,this.threadID),r=n.child,n=n.context,r===null||r===!1)return"";if(!Tr.isValidElement(r)){if(r!=null&&r.$$typeof!=null)throw a=r.$$typeof,Error(a===$i?nt(257):nt(258,a.toString()));return r=$r(r),this.stack.push({type:null,domNamespace:a,children:r,childIndex:0,context:n,footer:""}),""}var o=r.type;if(typeof o=="string")return this.renderDOM(r,n,a);switch(o){case jd:case Td:case el:case tl:case al:case Pu:return r=$r(r.props.children),this.stack.push({type:null,domNamespace:a,children:r,childIndex:0,context:n,footer:""}),"";case pu:throw Error(nt(294));case Fd:throw Error(nt(343))}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case nl:Ar={};var u=o.render(r.props,r.ref);return u=Ed(o.render,r.props,u,r.ref),u=$r(u),this.stack.push({type:null,domNamespace:a,children:u,childIndex:0,context:n,footer:""}),"";case ol:return r=[Tr.createElement(o.type,er({ref:r.ref},r.props))],this.stack.push({type:null,domNamespace:a,children:r,childIndex:0,context:n,footer:""}),"";case wu:return o=$r(r.props.children),a={type:r,domNamespace:a,children:o,childIndex:0,context:n,footer:""},this.pushProvider(r),this.stack.push(a),"";case rl:o=r.type,u=r.props;var f=this.threadID;return $a(o,f),o=$r(u.children(o[f])),this.stack.push({type:r,domNamespace:a,children:o,childIndex:0,context:n,footer:""}),"";case Cd:throw Error(nt(338));case ul:return o=r.type,u=o._init,o=u(o._payload),r=[Tr.createElement(o,er({ref:r.ref},r.props))],this.stack.push({type:null,domNamespace:a,children:r,childIndex:0,context:n,footer:""}),""}throw Error(nt(130,o==null?o:typeof o,""))},t.renderDOM=function(r,n,a){var o=r.type.toLowerCase();if(a===Id.html&&Zd(o),!Kd.hasOwnProperty(o)){if(!$P.test(o))throw Error(nt(65,o));Kd[o]=!0}var u=r.props;if(o==="input")u=er({type:void 0},u,{defaultChecked:void 0,defaultValue:void 0,value:u.value!=null?u.value:u.defaultValue,checked:u.checked!=null?u.checked:u.defaultChecked});else if(o==="textarea"){var f=u.value;if(f==null){f=u.defaultValue;var i=u.children;if(i!=null){if(f!=null)throw Error(nt(92));if(Array.isArray(i)){if(!(1>=i.length))throw Error(nt(93));i=i[0]}f=""+i}f==null&&(f="")}u=er({},u,{value:void 0,children:""+f})}else if(o==="select")this.currentSelectValue=u.value!=null?u.value:u.defaultValue,u=er({},u,{value:void 0});else if(o==="option"){i=this.currentSelectValue;var l=ew(u.children);if(i!=null){var v=u.value!=null?u.value+"":l;if(f=!1,Array.isArray(i)){for(var D=0;D":(p+=">",f="");e:{if(i=u.dangerouslySetInnerHTML,i!=null){if(i.__html!=null){i=i.__html;break e}}else if(i=u.children,typeof i=="string"||typeof i=="number"){i=hn(i);break e}i=null}return i!=null?(u=[],_P.hasOwnProperty(o)&&i.charAt(0)===` `&&(p+=` `),p+=i):u=$r(u.children),r=r.type,a=a==null||a==="http://www.w3.org/1999/xhtml"?Zd(r):a==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":a,this.stack.push({domNamespace:a,type:o,children:u,childIndex:0,context:n,footer:f}),this.previousWasTextNode=!1,p},e}();Jn.renderToNodeStream=function(){throw Error(nt(207))};Jn.renderToStaticMarkup=function(e,t){e=new kd(e,!0,t);try{return e.read(1/0)}finally{e.destroy()}};Jn.renderToStaticNodeStream=function(){throw Error(nt(208))};Jn.renderToString=function(e,t){e=new kd(e,!1,t);try{return e.read(1/0)}finally{e.destroy()}};Jn.version="17.0.2"});var $d=qt((sk,_d)=>{"use strict";_d.exports=Jd()});var L7=qt((AJ,z7)=>{"use strict";var hw="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";z7.exports=hw});var T7=qt((gJ,F7)=>{"use strict";var mw=L7();function B7(){}function C7(){}C7.resetWarningCache=B7;F7.exports=function(){function e(n,a,o,u,f,i){if(i!==mw){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}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:C7,resetWarningCache:B7};return r.PropTypes=r,r}});var O7=qt((pJ,j7)=>{j7.exports=T7()();var PJ,wJ});var ml=qt($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});var M7=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],Hu=M7.join(","),N7=typeof Element=="undefined",Hn=N7?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Dl=!N7&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},V7=function(t,r,n){var a=Array.prototype.slice.apply(t.querySelectorAll(Hu));return r&&Hn.call(t,Hu)&&a.unshift(t),a=a.filter(n),a},q7=function e(t,r,n){for(var a=[],o=Array.from(t);o.length;){var u=o.shift();if(u.tagName==="SLOT"){var f=u.assignedElements(),i=f.length?f:u.children,l=e(i,!0,n);n.flatten?a.push.apply(a,l):a.push({scope:u,candidates:l})}else{var v=Hn.call(u,Hu);v&&n.filter(u)&&(r||!t.includes(u))&&a.push(u);var D=u.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(u),s=!n.shadowRootFilter||n.shadowRootFilter(u);if(D&&s){var c=e(D===!0?u.children:D.children,!0,n);n.flatten?a.push.apply(a,c):a.push({scope:u,candidates:c})}else o.unshift.apply(o,u.children)}}return a},W7=function(t,r){return t.tabIndex<0&&(r||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||t.isContentEditable)&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},bw=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},E7=function(t){return t.tagName==="INPUT"},Xw=function(t){return E7(t)&&t.type==="hidden"},Hw=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return r},xw=function(t,r){for(var n=0;nsummary:first-of-type"),u=o?t.parentElement:t;if(Hn.call(u,"details:not([open]) *"))return!0;var f=Dl(t).host,i=(f==null?void 0:f.ownerDocument.contains(f))||t.ownerDocument.contains(t);if(!n||n==="full"){if(typeof a=="function"){for(var l=t;t;){var v=t.parentElement,D=Dl(t);if(v&&!v.shadowRoot&&a(v)===!0)return R7(t);t.assignedSlot?t=t.assignedSlot:!v&&D!==t.ownerDocument?t=D.host:t=v}t=l}if(i)return!t.getClientRects().length}else if(n==="non-zero-area")return R7(t);return!1},Cw=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n=0)},Tw=function e(t){var r=[],n=[];return t.forEach(function(a,o){var u=!!a.scope,f=u?a.scope:a,i=W7(f,u),l=u?e(a.candidates):f;i===0?u?r.push.apply(r,l):r.push(f):n.push({documentOrder:o,tabIndex:i,item:a,isScope:u,content:l})}),n.sort(bw).reduce(function(a,o){return o.isScope?a.push.apply(a,o.content):a.push(o.content),a},[]).concat(r)},jw=function(t,r){r=r||{};var n;return r.getShadowRoot?n=q7([t],r.includeContainer,{filter:hl.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:Fw}):n=V7(t,r.includeContainer,hl.bind(null,r)),Tw(n)},Ow=function(t,r){r=r||{};var n;return r.getShadowRoot?n=q7([t],r.includeContainer,{filter:xu.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):n=V7(t,r.includeContainer,xu.bind(null,r)),n},Mw=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return Hn.call(t,Hu)===!1?!1:hl(r,t)},Nw=M7.concat("iframe").join(","),Vw=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return Hn.call(t,Nw)===!1?!1:xu(r,t)};$n.focusable=Ow;$n.isFocusable=Vw;$n.isTabbable=Mw;$n.tabbable=jw});var U7=qt(bl=>{"use strict";Object.defineProperty(bl,"__esModule",{value:!0});var jr=ml();function Y7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function G7(e){for(var t=1;t0){var n=e[e.length-1];n!==r&&n.pause()}var a=e.indexOf(r);a===-1||e.splice(a,1),e.push(r)},deactivateTrap:function(r){var n=e.indexOf(r);n!==-1&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}}}(),Ww=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},Ew=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},Rw=function(t){return t.key==="Tab"||t.keyCode===9},I7=function(t){return setTimeout(t,0)},Z7=function(t,r){var n=-1;return t.every(function(a,o){return r(a)?(n=o,!1):!0}),n},fo=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a1?L-1:0),Z=1;Z=0)X=n.activeElement;else{var y=o.tabbableGroups[0],L=y&&y.firstTabbableNode;X=L||l("fallbackFocus")}if(!X)throw new Error("Your focus-trap needs to have at least one focusable element");return X},D=function(){if(o.containerGroups=o.containers.map(function(X){var y=jr.tabbable(X,a.tabbableOptions),L=jr.focusable(X,a.tabbableOptions);return{container:X,tabbableNodes:y,focusableNodes:L,firstTabbableNode:y.length>0?y[0]:null,lastTabbableNode:y.length>0?y[y.length-1]:null,nextTabbableNode:function(Z){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,C=L.findIndex(function(N){return N===Z});if(!(C<0))return T?L.slice(C+1).find(function(N){return jr.isTabbable(N,a.tabbableOptions)}):L.slice(0,C).reverse().find(function(N){return jr.isTabbable(N,a.tabbableOptions)})}}}),o.tabbableGroups=o.containerGroups.filter(function(X){return X.tabbableNodes.length>0}),o.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")},s=function m(X){if(X!==!1&&X!==n.activeElement){if(!X||!X.focus){m(v());return}X.focus({preventScroll:!!a.preventScroll}),o.mostRecentlyFocusedNode=X,Ww(X)&&X.select()}},c=function(X){var y=l("setReturnFocus",X);return y||(y===!1?!1:X)},w=function(X){var y=yu(X);if(!(i(y)>=0)){if(fo(a.clickOutsideDeactivates,X)){u.deactivate({returnFocus:a.returnFocusOnDeactivate&&!jr.isFocusable(y,a.tabbableOptions)});return}fo(a.allowOutsideClick,X)||X.preventDefault()}},P=function(X){var y=yu(X),L=i(y)>=0;L||y instanceof Document?L&&(o.mostRecentlyFocusedNode=y):(X.stopImmediatePropagation(),s(o.mostRecentlyFocusedNode||v()))},H=function(X){var y=yu(X);D();var L=null;if(o.tabbableGroups.length>0){var O=i(y),Z=O>=0?o.containerGroups[O]:void 0;if(O<0)X.shiftKey?L=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:L=o.tabbableGroups[0].firstTabbableNode;else if(X.shiftKey){var T=Z7(o.tabbableGroups,function(z){var h=z.firstTabbableNode;return y===h});if(T<0&&(Z.container===y||jr.isFocusable(y,a.tabbableOptions)&&!jr.isTabbable(y,a.tabbableOptions)&&!Z.nextTabbableNode(y,!1))&&(T=O),T>=0){var C=T===0?o.tabbableGroups.length-1:T-1,N=o.tabbableGroups[C];L=N.lastTabbableNode}}else{var j=Z7(o.tabbableGroups,function(z){var h=z.lastTabbableNode;return y===h});if(j<0&&(Z.container===y||jr.isFocusable(y,a.tabbableOptions)&&!jr.isTabbable(y,a.tabbableOptions)&&!Z.nextTabbableNode(y))&&(j=O),j>=0){var M=j===o.tabbableGroups.length-1?0:j+1,x=o.tabbableGroups[M];L=x.firstTabbableNode}}}else L=l("fallbackFocus");L&&(X.preventDefault(),s(L))},d=function(X){if(Ew(X)&&fo(a.escapeDeactivates,X)!==!1){X.preventDefault(),u.deactivate();return}if(Rw(X)){H(X);return}},g=function(X){var y=yu(X);i(y)>=0||fo(a.clickOutsideDeactivates,X)||fo(a.allowOutsideClick,X)||(X.preventDefault(),X.stopImmediatePropagation())},A=function(){if(!!o.active)return Q7.activateTrap(u),o.delayInitialFocusTimer=a.delayInitialFocus?I7(function(){s(v())}):s(v()),n.addEventListener("focusin",P,!0),n.addEventListener("mousedown",w,{capture:!0,passive:!1}),n.addEventListener("touchstart",w,{capture:!0,passive:!1}),n.addEventListener("click",g,{capture:!0,passive:!1}),n.addEventListener("keydown",d,{capture:!0,passive:!1}),u},p=function(){if(!!o.active)return n.removeEventListener("focusin",P,!0),n.removeEventListener("mousedown",w,!0),n.removeEventListener("touchstart",w,!0),n.removeEventListener("click",g,!0),n.removeEventListener("keydown",d,!0),u};return u={get active(){return o.active},get paused(){return o.paused},activate:function(X){if(o.active)return this;var y=f(X,"onActivate"),L=f(X,"onPostActivate"),O=f(X,"checkCanFocusTrap");O||D(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=n.activeElement,y&&y();var Z=function(){O&&D(),A(),L&&L()};return O?(O(o.containers.concat()).then(Z,Z),this):(Z(),this)},deactivate:function(X){if(!o.active)return this;var y=G7({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},X);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,p(),o.active=!1,o.paused=!1,Q7.deactivateTrap(u);var L=f(y,"onDeactivate"),O=f(y,"onPostDeactivate"),Z=f(y,"checkCanReturnFocus"),T=f(y,"returnFocus","returnFocusOnDeactivate");L&&L();var C=function(){I7(function(){T&&s(c(o.nodeFocusedBeforeActivation)),O&&O()})};return T&&Z?(Z(c(o.nodeFocusedBeforeActivation)).then(C,C),this):(C(),this)},pause:function(){return o.paused||!o.active?this:(o.paused=!0,p(),this)},unpause:function(){return!o.paused||!o.active?this:(o.paused=!1,D(),A(),this)},updateContainerElements:function(X){var y=[].concat(X).filter(Boolean);return o.containers=y.map(function(L){return typeof L=="string"?n.querySelector(L):L}),o.active&&D(),this}},u.updateContainerElements(t),u};bl.createFocusTrap=Yw});var k7=qt((mJ,S7)=>{"use strict";function Xl(e){return Xl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xl(e)}function Gw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K7(e,t){for(var r=0;r1?v-1:0),s=1;s element.");var u=function(l){var v=a.props.containerElements;o&&(typeof o.ref=="function"?o.ref(l):o.ref&&(o.ref.current=l)),a.focusTrapElements=v||[l]},f=Lu.cloneElement(o,{ref:u});return f}return null}}]),r}(Lu.Component),lo=typeof Element=="undefined"?Function:Element;xl.propTypes={active:we.bool,paused:we.bool,focusTrapOptions:we.shape({document:we.object,onActivate:we.func,onPostActivate:we.func,checkCanFocusTrap:we.func,onDeactivate:we.func,onPostDeactivate:we.func,checkCanReturnFocus:we.func,initialFocus:we.oneOfType([we.instanceOf(lo),we.string,we.bool,we.func]),fallbackFocus:we.oneOfType([we.instanceOf(lo),we.string,we.func]),escapeDeactivates:we.oneOfType([we.bool,we.func]),clickOutsideDeactivates:we.oneOfType([we.bool,we.func]),returnFocusOnDeactivate:we.bool,setReturnFocus:we.oneOfType([we.instanceOf(lo),we.string,we.bool,we.func]),allowOutsideClick:we.oneOfType([we.bool,we.func]),preventScroll:we.bool,tabbableOptions:we.shape({displayCheck:we.oneOf(["full","non-zero-area","none"]),getShadowRoot:we.oneOfType([we.bool,we.func])})}),containerElements:we.arrayOf(we.instanceOf(lo)),children:we.oneOfType([we.element,we.instanceOf(lo)])};xl.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:Jw};S7.exports=xl});var z1=qt((exports,module)=>{typeof navigator!="undefined"&&function(e,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.lottie=t())}(exports,function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var r,n=e.length,a;for(r=0;r1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e=[],t,r;for(t=0;t<256;t+=1)r=t.toString(16),e[t]=r.length===1?"0"+r:r;return function(n,a,o){return n<0&&(n=0),a<0&&(a=0),o<0&&(o=0),"#"+e[n]+e[a]+e[o]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t},getIdPrefix=function(){return idPrefix$1};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){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(e)}var dataManager=function(){var e=1,t=[],r,n,a={onmessage:function(){},postMessage:function(c){r({data:c})}},o={postMessage:function(c){a.onmessage({data:c})}};function u(s){if(window.Worker&&window.Blob&&getWebWorker()){var c=new Blob(["var _workerSelf = self; self.onmessage = ",s.toString()],{type:"text/javascript"}),w=URL.createObjectURL(c);return new Worker(w)}return r=s,a}function f(){n||(n=u(function(c){function w(){function H(M,x){var z,h,b=M.length,F,B,k,q;for(h=0;h=0;x-=1)if(M[x].ty==="sh")if(M[x].ks.k.i)m(M[x].ks.k);else for(b=M[x].ks.k.length,h=0;hz[0]?!0:z[0]>M[0]?!1:M[1]>z[1]?!0:z[1]>M[1]?!1:M[2]>z[2]?!0:z[2]>M[2]?!1:null}var y=function(){var M=[4,4,14];function x(h){var b=h.t.d;h.t.d={k:[{s:b,t:0}]}}function z(h){var b,F=h.length;for(b=0;b=0;b-=1)if(h[b].ty==="sh")if(h[b].ks.k.i)h[b].ks.k.c=h[b].closed;else for(k=h[b].ks.k.length,B=0;B500)&&(this._imageLoaded(),clearInterval(A)),g+=1}.bind(this),50)}function o(d){var g=n(d,this.assetsPath,this.path),A=createNS("image");isSafari?this.testImageLoaded(A):A.addEventListener("load",this._imageLoaded,!1),A.addEventListener("error",function(){p.img=e,this._imageLoaded()}.bind(this),!1),A.setAttributeNS("http://www.w3.org/1999/xlink","href",g),this._elementHelper.append?this._elementHelper.append(A):this._elementHelper.appendChild(A);var p={img:A,assetData:d};return p}function u(d){var g=n(d,this.assetsPath,this.path),A=createTag("img");A.crossOrigin="anonymous",A.addEventListener("load",this._imageLoaded,!1),A.addEventListener("error",function(){p.img=e,this._imageLoaded()}.bind(this),!1),A.src=g;var p={img:A,assetData:d};return p}function f(d){var g={assetData:d},A=n(d,this.assetsPath,this.path);return dataManager.loadData(A,function(p){g.img=p,this._footageLoaded()}.bind(this),function(){g.img={},this._footageLoaded()}.bind(this)),g}function i(d,g){this.imagesLoadedCb=g;var A,p=d.length;for(A=0;Athis.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t=this.animationData.layers,r,n=t.length,a=e.layers,o,u=a.length;for(o=0;othis.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(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(r=!0,t=this.totalFrames-1):t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):t<0?this.checkSegments(t%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,t=0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFramet&&(r=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),_typeof$4(e[0])==="object"){var r,n=e.length;for(r=0;r=0;z-=1)t[z].animation.destroy(x)}function L(x,z,h){var b=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),F,B=b.length;for(F=0;F0?p=L:A=L;while(Math.abs(y)>o&&++O=a?H(A,T,p,m):C===0?T:P(A,y,y+i,p,m)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,r){var n=0,a=e,o=createSizedArray(a),u={newElement:f,release:i};function f(){var l;return n?(n-=1,l=o[n]):l=t(),l}function i(l){n===a&&(o=pooling.double(o),a*=2),r&&r(l),o[n]=l,n+=1}return u}}(),bezierLengthPool=function(){function e(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,e)}(),segmentsLengthPool=function(){function e(){return{lengths:[],totalLength:0}}function t(r){var n,a=r.lengths.length;for(n=0;n-.001&&g<.001}function r(s,c,w,P,H,d,g,A,p){if(w===0&&d===0&&p===0)return t(s,c,P,H,g,A);var m=e.sqrt(e.pow(P-s,2)+e.pow(H-c,2)+e.pow(d-w,2)),X=e.sqrt(e.pow(g-s,2)+e.pow(A-c,2)+e.pow(p-w,2)),y=e.sqrt(e.pow(g-P,2)+e.pow(A-H,2)+e.pow(p-d,2)),L;return m>X?m>y?L=m-X-y:L=y-X-m:y>X?L=y-X-m:L=X-m-y,L>-1e-4&&L<1e-4}var n=function(){return function(s,c,w,P){var H=getDefaultCurveSegments(),d,g,A,p,m,X=0,y,L=[],O=[],Z=bezierLengthPool.newElement();for(A=w.length,d=0;dg?-1:1,m=!0;m;)if(P[d]<=g&&P[d+1]>g?(A=(g-P[d])/(P[d+1]-P[d]),m=!1):d+=p,d<0||d>=H-1){if(d===H-1)return w[d];m=!1}return w[d]+(w[d+1]-w[d])*A}function l(s,c,w,P,H,d){var g=i(H,d),A=1-g,p=e.round((A*A*A*s[0]+(g*A*A+A*g*A+A*A*g)*w[0]+(g*g*A+A*g*g+g*A*g)*P[0]+g*g*g*c[0])*1e3)/1e3,m=e.round((A*A*A*s[1]+(g*A*A+A*g*A+A*A*g)*w[1]+(g*g*A+A*g*g+g*A*g)*P[1]+g*g*g*c[1])*1e3)/1e3;return[p,m]}var v=createTypedArray("float32",8);function D(s,c,w,P,H,d,g){H<0?H=0:H>1&&(H=1);var A=i(H,g);d=d>1?1:d;var p=i(d,g),m,X=s.length,y=1-A,L=1-p,O=y*y*y,Z=A*y*y*3,T=A*A*y*3,C=A*A*A,N=y*y*L,j=A*y*L+y*A*L+y*y*p,M=A*A*L+y*A*p+A*y*p,x=A*A*p,z=y*L*L,h=A*L*L+y*p*L+y*L*p,b=A*p*L+y*p*p+A*L*p,F=A*p*p,B=L*L*L,k=p*L*L+L*p*L+L*L*p,q=p*p*L+L*p*p+p*L*p,Q=p*p*p;for(m=0;m=l.t-r){i.h&&(i=l),a=0;break}if(l.t-r>e){a=o;break}o=d||e=d?p.points.length-1:0;for(s=p.points[m].point.length,D=0;D=L&&X=d)n[0]=A[0],n[1]=A[1],n[2]=A[2];else if(e<=g)n[0]=i.s[0],n[1]=i.s[1],n[2]=i.s[2];else{var j=createQuaternion(i.s),M=createQuaternion(A),x=(e-g)/(d-g);quaternionToEuler(n,slerp(j,M,x))}else for(o=0;o=d?c=1:e1e-6?(s=Math.acos(c),w=Math.sin(s),P=Math.sin((1-r)*s)/w,H=Math.sin(r*s)/w):(P=1-r,H=r),n[0]=P*a+H*i,n[1]=P*o+H*l,n[2]=P*u+H*v,n[3]=P*f+H*D,n}function quaternionToEuler(e,t){var r=t[0],n=t[1],a=t[2],o=t[3],u=Math.atan2(2*n*o-2*r*a,1-2*n*n-2*a*a),f=Math.asin(2*r*n+2*a*o),i=Math.atan2(2*r*o-2*n*a,1-2*r*r-2*a*a);e[0]=u/degToRads,e[1]=f/degToRads,e[2]=i/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,n=e[2]*degToRads,a=Math.cos(t/2),o=Math.cos(r/2),u=Math.cos(n/2),f=Math.sin(t/2),i=Math.sin(r/2),l=Math.sin(n/2),v=a*o*u-f*i*l,D=f*i*u+a*o*l,s=f*o*u+a*i*l,c=a*i*u-f*o*l;return[D,s,c,v]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&e>=r||this._caching.lastFrame=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(e,this._caching);this.pv=n}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if(this.propType==="unidimensional")t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var r=0,n=this.v.length;r1e-5&&(this.v[r]=t,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 e,t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e=this._maxLength&&this.doubleArrayLength(),r){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[];break}(!o[n]||o[n]&&!a)&&(o[n]=pointPool.newElement()),o[n][0]=e,o[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,n,a,o,u,f){this.setXYAt(e,t,"v",u,f),this.setXYAt(r,n,"o",u,f),this.setXYAt(a,o,"i",u,f)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,n=this.i,a=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),a=1);var o=this._length-1,u=this._length,f;for(f=a;f=j[j.length-1].t-this.offsetTime)m=j[j.length-1].s?j[j.length-1].s[0]:j[j.length-2].e[0],y=!0;else{for(var M=p,x=j.length-1,z=!0,h,b,F;z&&(h=j[M],b=j[M+1],!(b.t-this.offsetTime>d));)M=b.t-this.offsetTime)C=1;else if(dA&&d>A)||(this._caching.lastIndex=p0||h>-1e-6&&h<0?n(h*b)/b:h}function z(){var h=this.props,b=x(h[0]),F=x(h[1]),B=x(h[4]),k=x(h[5]),q=x(h[12]),Q=x(h[13]);return"matrix("+b+","+F+","+B+","+k+","+q+","+Q+")"}return function(){this.reset=a,this.rotate=o,this.rotateX=u,this.rotateY=f,this.rotateZ=i,this.skew=v,this.skewFromAxis=D,this.shear=l,this.scale=s,this.setTransform=c,this.translate=w,this.transform=P,this.multiply=H,this.applyToPoint=m,this.applyToX=X,this.applyToY=y,this.applyToZ=L,this.applyToPointArray=N,this.applyToTriplePoints=C,this.applyToPointStringified=j,this.toCSS=M,this.to2dCSS=z,this.clone=A,this.cloneFromProps=p,this.equals=g,this.inversePoints=T,this.inversePoint=Z,this.getInverseMatrix=O,this._t=this.transform,this.isIdentity=d,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){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(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){standalone===!0?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return standalone===!0&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if(typeof e=="string")switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return typeof navigator!="undefined"}function installPlugin(e,t){e==="expressions"&&setExpressionsPlugin(t)}function getFactory(e){switch(e){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(e){for(var t=queryString.split("&"),r=0;r=1?o.push({s:e-1,e:t-1}):(o.push({s:e,e:1}),o.push({s:0,e:t-1}));var u=[],f,i=o.length,l;for(f=0;fn+r)){var v,D;l.s*a<=n?v=0:v=(l.s*a-n)/r,l.e*a>=n+r?D=1:D=(l.e*a-n)/r,u.push([v,D])}return u.length||u.push([0,0]),u},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t1?t=1+n:this.s.v<0?t=0+n:t=this.s.v+n,this.e.v>1?r=1+n:this.e.v<0?r=0+n:r=this.e.v+n,t>r){var a=t;t=r,r=a}t=Math.round(t*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var o,u,f=this.shapes.length,i,l,v,D,s,c=0;if(r===t)for(u=0;u=0;u-=1)if(P=this.shapes[u],P.shape._mdf){for(H=P.localShapeCollection,H.releaseShapes(),this.m===2&&f>1?(p=this.calculateShapeEdges(t,r,P.totalShapeLength,A,c),A+=P.totalShapeLength):p=[[d,g]],l=p.length,i=0;i=1?w.push({s:P.totalShapeLength*(d-1),e:P.totalShapeLength*(g-1)}):(w.push({s:P.totalShapeLength*d,e:P.totalShapeLength}),w.push({s:0,e:P.totalShapeLength*(g-1)}));var m=this.addShapes(P,w[0]);if(w[0].s!==w[0].e){if(w.length>1){var X=P.shape.paths.shapes[P.shape.paths._length-1];if(X.c){var y=m.pop();this.addPaths(m,H),m=this.addShapes(P,w[1],y)}else this.addPaths(m,H),m=this.addShapes(P,w[1])}this.addPaths(m,H)}}P.shape.paths=H}}},TrimModifier.prototype.addPaths=function(e,t){var r,n=e.length;for(r=0;rt.e){r.c=!1;break}else t.s<=l&&t.e>=l+v.addedLength?(this.addSegment(a[o].v[f-1],a[o].o[f-1],a[o].i[f],a[o].v[f],r,D,H),H=!1):(c=bez.getNewSegment(a[o].v[f-1],a[o].v[f],a[o].o[f-1],a[o].i[f],(t.s-l)/v.addedLength,(t.e-l)/v.addedLength,s[f-1]),this.addSegmentFromArray(c,r,D,H),H=!1,r.c=!1),l+=v.addedLength,D+=1;if(a[o].c&&s.length){if(v=s[f-1],l<=t.e){var d=s[f-1].addedLength;t.s<=l&&t.e>=l+d?(this.addSegment(a[o].v[f-1],a[o].o[f-1],a[o].i[0],a[o].v[0],r,D,H),H=!1):(c=bez.getNewSegment(a[o].v[f-1],a[o].v[0],a[o].o[f-1],a[o].i[0],(t.s-l)/d,(t.e-l)/d,s[f-1]),this.addSegmentFromArray(c,r,D,H),H=!1,r.c=!1)}else r.c=!1;l+=v.addedLength,D+=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>t.e)break;o=this.p.keyframes[this.p.keyframes.length-1].t?(v=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/l,0),D=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/l,0)):(v=this.p.pv,D=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){v=[],D=[];var s=this.px,c=this.py;s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(v[0]=s.getValueAtTime((s.keyframes[0].t+.01)/l,0),v[1]=c.getValueAtTime((c.keyframes[0].t+.01)/l,0),D[0]=s.getValueAtTime(s.keyframes[0].t/l,0),D[1]=c.getValueAtTime(c.keyframes[0].t/l,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(v[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/l,0),v[1]=c.getValueAtTime(c.keyframes[c.keyframes.length-1].t/l,0),D[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/l,0),D[1]=c.getValueAtTime((c.keyframes[c.keyframes.length-1].t-.01)/l,0)):(v=[s.pv,c.pv],D[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/l,s.offsetTime),D[1]=c.getValueAtTime((c._caching.lastFrame+c.offsetTime-.01)/l,c.offsetTime))}else D=e,v=D;this.v.rotate(-Math.atan2(v[1]-D[1],v[0]-D[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 n(){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 a(){}function o(i){this._addDynamicProperty(i),this.elem.addDynamicProperty(i),this._isDirty=!0}function u(i,l,v){if(this.elem=i,this.frameId=-1,this.propType="transform",this.data=l,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(v||i),l.p&&l.p.s?(this.px=PropertyFactory.getProp(i,l.p.x,0,0,this),this.py=PropertyFactory.getProp(i,l.p.y,0,0,this),l.p.z&&(this.pz=PropertyFactory.getProp(i,l.p.z,0,0,this))):this.p=PropertyFactory.getProp(i,l.p||{k:[0,0,0]},1,0,this),l.rx){if(this.rx=PropertyFactory.getProp(i,l.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(i,l.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(i,l.rz,0,degToRads,this),l.or.k[0].ti){var D,s=l.or.k.length;for(D=0;D0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t0?Math.floor(s):Math.ceil(s),P=this.pMatrix.props,H=this.rMatrix.props,d=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var g=0;if(s>0){for(;gw;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),g-=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-c,!0),g-=c)}n=this.data.m===1?0:this._currentCopies-1,a=this.data.m===1?1:-1,o=this._currentCopies;for(var A,p;o;){if(t=this.elemsData[n].it,r=t[t.length-1].transform.mProps.v.props,p=r.length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),g!==0){for((n!==0&&a===1||n!==this._currentCopies-1&&a===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(H[0],H[1],H[2],H[3],H[4],H[5],H[6],H[7],H[8],H[9],H[10],H[11],H[12],H[13],H[14],H[15]),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[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]),A=0;A0&&n<1?[t]:[]:[t-n,t+n].filter(function(a){return a>0&&a<1})},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),r=lerpPoint(this.points[1],this.points[2],e),n=lerpPoint(this.points[2],this.points[3],e),a=lerpPoint(t,r,e),o=lerpPoint(r,n,e),u=lerpPoint(a,o,e);return[new PolynomialBezier(this.points[0],t,a,u,!0),new PolynomialBezier(u,o,n,this.points[3],!0)]};function extrema(e,t){var r=e.points[0][t],n=e.points[e.points.length-1][t];if(r>n){var a=n;n=r,r=a}for(var o=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),u=0;u0&&o[u]<1){var f=e.point(o[u])[t];fn&&(n=f)}return{min:r,max:n}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function intersectData(e,t,r){var n=e.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.height,bez:e,t:(t+r)/2,t1:t,t2:r}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return Math.abs(e.cx-t.cx)*2=o||e.width<=n&&e.height<=n&&t.width<=n&&t.height<=n){a.push([e.t,t.t]);return}var u=splitData(e),f=splitData(t);intersectsImpl(u[0],f[0],r+1,n,a,o),intersectsImpl(u[0],f[1],r+1,n,a,o),intersectsImpl(u[1],f[0],r+1,n,a,o),intersectsImpl(u[1],f[1],r+1,n,a,o)}}PolynomialBezier.prototype.intersections=function(e,t,r){t===void 0&&(t=2),r===void 0&&(r=7);var n=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,n,r),n},PolynomialBezier.shapeSegment=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[r],e.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[r],e.i[r],e.o[t],e.v[t],!0)};function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,r,n){var a=[e[0],e[1],1],o=[t[0],t[1],1],u=[r[0],r[1],1],f=[n[0],n[1],1],i=crossProduct(crossProduct(a,o),crossProduct(u,f));return floatZero(i[2])?null:[i[0]/i[2],i[1]/i[2]]}function polarOffset(e,t,r){return[e[0]+Math.cos(t)*r,e[1]-Math.sin(t)*r]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(e,t,r,n,a,o,u){var f=r-Math.PI/2,i=r+Math.PI/2,l=t[0]+Math.cos(r)*n*a,v=t[1]-Math.sin(r)*n*a;e.setTripleAt(l,v,l+Math.cos(f)*o,v-Math.sin(f)*o,l+Math.cos(i)*u,v-Math.sin(i)*u,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],n=-Math.PI*.5,a=[Math.cos(n)*r[0]-Math.sin(n)*r[1],Math.sin(n)*r[0]+Math.cos(n)*r[1]];return a}function getProjectingAngle(e,t){var r=t===0?e.length()-1:t-1,n=(t+1)%e.length(),a=e.v[r],o=e.v[n],u=getPerpendicularVector(a,o);return Math.atan2(0,1)-Math.atan2(u[1],u[0])}function zigZagCorner(e,t,r,n,a,o,u){var f=getProjectingAngle(t,r),i=t.v[r%t._length],l=t.v[r===0?t._length-1:r-1],v=t.v[(r+1)%t._length],D=o===2?Math.sqrt(Math.pow(i[0]-l[0],2)+Math.pow(i[1]-l[1],2)):0,s=o===2?Math.sqrt(Math.pow(i[0]-v[0],2)+Math.pow(i[1]-v[1],2)):0;setPoint(e,t.v[r%t._length],f,u,n,s/((a+1)*2),D/((a+1)*2),o)}function zigZagSegment(e,t,r,n,a,o){for(var u=0;u1&&t.length>1&&(a=getIntersection(e[0],t[t.length-1]),a)?[[e[0].split(a[0])[0]],[t[t.length-1].split(a[1])[1]]]:[r,n]}function pruneIntersections(e){for(var t,r=1;r1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var r=e.inflectionPoints(),n,a,o,u;if(r.length===0)return[offsetSegment(e,t)];if(r.length===1||floatEqual(r[1],1))return o=e.split(r[0]),n=o[0],a=o[1],[offsetSegment(n,t),offsetSegment(a,t)];o=e.split(r[0]),n=o[0];var f=(r[1]-r[0])/(1-r[0]);return o=o[1].split(f),u=o[0],a=o[1],[offsetSegment(n,t),offsetSegment(u,t),offsetSegment(a,t)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(e,t,r,n){var a=shapePool.newElement();a.c=e.c;var o=e.length();e.c||(o-=1);var u,f,i,l=[];for(u=0;u=0;u-=1)i=PolynomialBezier.shapeSegmentInverted(e,u),l.push(offsetSegmentSplit(i,t));l=pruneIntersections(l);var v=null,D=null;for(u=0;u0&&(k=!1),k){var S=createTag("style");S.setAttribute("f-forigin",h[b].fOrigin),S.setAttribute("f-origin",h[b].origin),S.setAttribute("f-family",h[b].fFamily),S.type="text/css",S.innerText="@font-face {font-family: "+h[b].fFamily+"; font-style: normal; src: url('"+h[b].fPath+"');}",z.appendChild(S)}}else if(h[b].fOrigin==="g"||h[b].origin===1){for(q=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Q=0;Q=55296&&h<=56319){var b=x.charCodeAt(1);b>=56320&&b<=57343&&(z=(h-55296)*1024+b-56320+65536)}return z}function X(x,z){var h=x.toString(16)+z.toString(16);return D.indexOf(h)!==-1}function y(x){return x===i}function L(x){return x===f}function O(x){var z=m(x);return z>=l&&z<=v}function Z(x){return O(x.substr(0,2))&&O(x.substr(2,2))}function T(x){return r.indexOf(x)!==-1}function C(x,z){var h=m(x.substr(z,2));if(h!==n)return!1;var b=0;for(z+=2;b<5;){if(h=m(x.substr(z,2)),hu)return!1;b+=1,z+=2}return m(x.substr(z,2))===a}function N(){this.isLoaded=!0}var j=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)};j.isModifier=X,j.isZeroWidthJoiner=y,j.isFlagEmoji=Z,j.isRegionalCode=O,j.isCombinedCharacter=T,j.isRegionalFlag=C,j.isVariationSelector=L,j.BLACK_FLAG_CODE_POINT=n;var M={addChars:d,addFonts:H,getCharData:g,getFontByName:p,measureText:A,checkLoadedFonts:w,setIsLoaded:N};return j.prototype=M,j}();function SlotManager(e){this.animationData=e}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},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(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?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 t,r=this.renderableComponents.length;for(t=0;t.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(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*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(e){var t,r=this.layers.length,n;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(n=this.layers[t],n.ip-n.st<=e-this.layers[t].st&&n.op-n.st>e-this.layers[t].st&&this.buildItem(t)),this.completeLayers=this.elements[t]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e0&&(this.maskElement.setAttribute("id",s),this.element.maskedElement.setAttribute(g,"url("+getLocationHref()+"#"+s+")"),n.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t=this.element.finalTransform.mat,r,n=this.masksProperties.length;for(r=0;r1&&(n+=" C"+t.o[a-1][0]+","+t.o[a-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==n){var u="";r.elem&&(t.c&&(u=e.inv?this.solidPath+n:n),r.elem.setAttribute("d",u)),r.lastPath=n}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={};e.createFilter=t,e.createAlphaToLuminanceFilter=r;function t(n,a){var o=createNS("filter");return o.setAttribute("id",n),a!==!0&&(o.setAttribute("filterUnits","objectBoundingBox"),o.setAttribute("x","0%"),o.setAttribute("y","0%"),o.setAttribute("width","100%"),o.setAttribute("height","100%")),o}function r(){var n=createNS("feColorMatrix");return n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),n}return e}(),featureSupport=function(){var e={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))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,r="SourceGraphic",n=e.data.ef?e.data.ef.length:0,a=createElementID(),o=filtersFactory.createFilter(a,!0),u=0;this.filters=[];var f;for(t=0;t=0&&(n=this.shapeModifiers[t].processShapes(this._isFirstFrame),!n);t-=1);}},searchProcessedElement:function(t){for(var r=this.processedElements,n=0,a=r.length;n.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 e=0,t=this.data.k.k.length;e0;)d=s.transformers[O].mProps._mdf||d,L-=1,O-=1;if(d)for(L=m-s.styles[A].lvl,O=s.transformers.length-1;L>0;)y.multiply(s.transformers[O].mProps.v),L-=1,O-=1}else y=e;if(X=s.sh.paths,P=X._length,d){for(H="",w=0;w=1?N=.99:N<=-1&&(N=-.99);var j=T*N,M=Math.cos(C+s.a.v)*j+H[0],x=Math.sin(C+s.a.v)*j+H[1];w.setAttribute("fx",M),w.setAttribute("fy",x),P&&!s.g._collapsable&&(s.of.setAttribute("fx",M),s.of.setAttribute("fy",x))}}}function v(D,s,c){var w=s.style,P=s.d;P&&(P._mdf||c)&&P.dashStr&&(w.pElem.setAttribute("stroke-dasharray",P.dashStr),w.pElem.setAttribute("stroke-dashoffset",P.dashoffset[0])),s.c&&(s.c._mdf||c)&&w.pElem.setAttribute("stroke","rgb("+bmFloor(s.c.v[0])+","+bmFloor(s.c.v[1])+","+bmFloor(s.c.v[2])+")"),(s.o._mdf||c)&&w.pElem.setAttribute("stroke-opacity",s.o.v),(s.w._mdf||c)&&(w.pElem.setAttribute("stroke-width",s.w.v),w.msElem&&w.msElem.setAttribute("stroke-width",s.w.v))}return r}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,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 e,t=this.shapes.length,r,n,a=this.stylesList.length,o,u=[],f=!1;for(n=0;n1&&f&&this.setShapesAsAnimated(u)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t=0;i-=1){if(H=this.searchProcessedElement(e[i]),H?t[i]=r[H-1]:e[i]._render=u,e[i].ty==="fl"||e[i].ty==="st"||e[i].ty==="gf"||e[i].ty==="gs"||e[i].ty==="no")H?t[i].style.closed=!1:t[i]=this.createStyleElement(e[i],a),e[i]._render&&t[i].style.pElem.parentNode!==n&&n.appendChild(t[i].style.pElem),s.push(t[i].style);else if(e[i].ty==="gr"){if(!H)t[i]=this.createGroupElement(e[i]);else for(D=t[i].it.length,v=0;v1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,r=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var n,a=this.effectsSequence.length,o=e||this.data.d.k[this.keysIndex].s;for(n=0;nt);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t=[],r=0,n=e.length,a,o,u=!1,f=!1,i="";r=55296&&a<=56319?FontManager.isRegionalFlag(e,r)?i=e.substr(r,14):(o=e.charCodeAt(r+1),o>=56320&&o<=57343&&(FontManager.isModifier(a,o)?(i=e.substr(r,2),u=!0):FontManager.isFlagEmoji(e.substr(r,4))?i=e.substr(r,4):i=e.substr(r,2))):a>56319?(o=e.charCodeAt(r+1),FontManager.isVariationSelector(a)&&(u=!0)):FontManager.isZeroWidthJoiner(a)&&(u=!0,f=!0),u?(t[t.length-1]+=i,u=!1):t.push(i),r+=i.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,r=this.data,n=[],a,o,u,f=0,i,l=r.m.g,v=0,D=0,s=0,c=[],w=0,P=0,H,d,g=t.getFontByName(e.f),A,p=0,m=getFontProperties(g);e.fWeight=m.weight,e.fStyle=m.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),o=e.finalText.length,e.finalLineHeight=e.lh;var X=e.tr/1e3*e.finalSize,y;if(e.sz)for(var L=!0,O=e.sz[0],Z=e.sz[1],T,C;L;){C=this.buildFinalText(e.t),T=0,w=0,o=C.length,X=e.tr/1e3*e.finalSize;var N=-1;for(a=0;aO&&C[a]!==" "?(N===-1?o+=1:a=N,T+=e.finalLineHeight||e.finalSize*1.2,C.splice(a,N===a?1:0,"\r"),N=-1,w=0):(w+=p,w+=X);T+=g.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&ZP?w:P,w=-2*X,i="",u=!0,s+=1):i=M,t.chars?(A=t.getCharData(M,g.fStyle,t.getFontByName(e.f).fFamily),p=u?0:A.w*e.finalSize/100):p=t.measureText(i,e.f,e.finalSize),M===" "?j+=p+X:(w+=p+X+j,j=0),n.push({l:p,an:p,add:v,n:u,anIndexes:[],val:i,line:s,animatorJustifyOffset:0}),l==2){if(v+=p,i===""||i===" "||a===o-1){for((i===""||i===" ")&&(v-=p);D<=a;)n[D].an=v,n[D].ind=f,n[D].extra=p,D+=1;f+=1,v=0}}else if(l==3){if(v+=p,i===""||a===o-1){for(i===""&&(v-=p);D<=a;)n[D].an=v,n[D].ind=f,n[D].extra=p,D+=1;v=0,f+=1}}else n[f].ind=f,n[f].extra=0,f+=1;if(e.l=n,P=w>P?w:P,c.push(w),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=P,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=c;var x=r.a,z,h;d=x.length;var b,F,B=[];for(H=0;H0?f=this.ne.v/100:i=-this.ne.v/100,this.xe.v>0?l=1-this.xe.v/100:v=1+this.xe.v/100;var D=BezierFactory.getBezierEasing(f,i,l,v).get,s=0,c=this.finalS,w=this.finalE,P=this.data.sh;if(P===2)w===c?s=u>=w?1:0:s=e(0,t(.5/(w-c)+(u-c)/(w-c),1)),s=D(s);else if(P===3)w===c?s=u>=w?0:1:s=1-e(0,t(.5/(w-c)+(u-c)/(w-c),1)),s=D(s);else if(P===4)w===c?s=0:(s=e(0,t(.5/(w-c)+(u-c)/(w-c),1)),s<.5?s*=2:s=1-2*(s-.5)),s=D(s);else if(P===5){if(w===c)s=0;else{var H=w-c;u=t(e(0,u+.5-c),w-c);var d=-H/2+u,g=H/2;s=Math.sqrt(1-d*d/(g*g))}s=D(s)}else P===6?(w===c?s=0:(u=t(e(0,u+.5-c),w-c),s=(1+Math.cos(Math.PI+Math.PI*2*u/(w-c)))/2),s=D(s)):(u>=r(c)&&(u-c<0?s=e(0,t(t(w,1)-(c-u),1)):s=e(0,t(w-u,1))),s=D(s));if(this.sm.v!==100){var A=this.sm.v*.01;A===0&&(A=1e-8);var p=.5-A*.5;s1&&(s=1))}return s*this.a.v},getValue:function(u){this.iterateDynamicProperties(),this._mdf=u||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,u&&this.data.r===2&&(this.e.v=this._currentTextLength);var f=this.data.r===2?1:100/this.data.totalChars,i=this.o.v/f,l=this.s.v/f+i,v=this.e.v/f+i;if(l>v){var D=l;l=v,v=D}this.finalS=l,this.finalE=v}},extendPrototype([DynamicPropertyContainer],n);function a(o,u,f){return new n(o,u,f)}return{getTextSelectorProp:a}}();function TextAnimatorDataProperty(e,t,r){var n={propType:!1},a=PropertyFactory.getProp,o=t.a;this.a={r:o.r?a(e,o.r,0,degToRads,r):n,rx:o.rx?a(e,o.rx,0,degToRads,r):n,ry:o.ry?a(e,o.ry,0,degToRads,r):n,sk:o.sk?a(e,o.sk,0,degToRads,r):n,sa:o.sa?a(e,o.sa,0,degToRads,r):n,s:o.s?a(e,o.s,1,.01,r):n,a:o.a?a(e,o.a,1,0,r):n,o:o.o?a(e,o.o,0,.01,r):n,p:o.p?a(e,o.p,1,0,r):n,sw:o.sw?a(e,o.sw,0,0,r):n,sc:o.sc?a(e,o.sc,1,0,r):n,fc:o.fc?a(e,o.fc,1,0,r):n,fh:o.fh?a(e,o.fh,0,0,r):n,fs:o.fs?a(e,o.fs,0,.01,r):n,fb:o.fb?a(e,o.fb,0,.01,r):n,t:o.t?a(e,o.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,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 e,t=this._textData.a.length,r,n=PropertyFactory.getProp;for(e=0;e=w+He||!m?(O=(w+He-H)/P.partialLength,Q=p.point[0]+(P.point[0]-p.point[0])*O,S=p.point[1]+(P.point[1]-p.point[1])*O,o.translate(-r[0]*s[v].an*.005,-(r[1]*j)*.01),d=!1):m&&(H+=P.partialLength,g+=1,g>=m.length&&(g=0,A+=1,X[A]?m=X[A].points:T.v.c?(g=0,A=0,m=X[A].points):(H-=P.partialLength,m=null)),m&&(p=P,P=m[g],y=P.partialLength));q=s[v].an/2-s[v].add,o.translate(-q,0,0)}else q=s[v].an/2-s[v].add,o.translate(-q,0,0),o.translate(-r[0]*s[v].an*.005,-r[1]*j*.01,0);for(h=0;he?this.textSpans[e].span:createNS(f?"g":"text"),A<=e){if(i.setAttribute("stroke-linecap","butt"),i.setAttribute("stroke-linejoin","round"),i.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=i,f){var m=createNS("g");i.appendChild(m),this.textSpans[e].childSpan=m}this.textSpans[e].span=i,this.layerElement.appendChild(i)}i.style.display="inherit"}if(l.reset(),D&&(u[e].n&&(s=-P,c+=r.yOffset,c+=w?1:0,w=!1),this.applyTextPropertiesToMatrix(r,l,u[e].line,s,c),s+=u[e].l||0,s+=P),f){p=this.globalData.fontManager.getCharData(r.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var X;if(p.t===1)X=new SVGCompElement(p.data,this.globalData,this);else{var y=emptyShapeData;p.data&&p.data.shapes&&(y=this.buildShapeData(p.data,r.finalSize)),X=new SVGShapeElement(y,this.globalData,this)}if(this.textSpans[e].glyph){var L=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(L.layerElement),L.destroy()}this.textSpans[e].glyph=X,X._debug=!0,X.prepareFrame(0),X.renderFrame(),this.textSpans[e].childSpan.appendChild(X.layerElement),p.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else D&&i.setAttribute("transform","translate("+l.props[12]+","+l.props[13]+")"),i.textContent=u[e].val,i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}D&&i&&i.setAttribute("d",v)}for(;e=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t=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 e,t=this.layers.length;for(e=0;e=0;n-=1)t.finalTransform.multiply(t.transforms[n].transform.mProps.v);t._mdf=o},processSequences:function(t){var r,n=this.sequenceList.length;for(r=0;r=1){this.buffers=[];var t=this.globalData.canvasContext,r=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(r);var n=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(n),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 t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var r=getBlendMode(this.data.bm);t.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(t){t.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 t=this.buffers[0],r=t.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 t=this.buffers[1],r=t.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 n=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(n.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var a=assetLoader.getLumaCanvas(this.canvasContext.canvas),o=a.getContext("2d");o.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(a,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,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(t){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!t)){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(e,t,r,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var a=4;t.ty==="rc"?a=5:t.ty==="el"?a=6:t.ty==="sr"&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,a,e);var o,u=r.length,f;for(o=0;o=0;o-=1){if(D=this.searchProcessedElement(e[o]),D?t[o]=r[D-1]:e[o]._shouldRender=n,e[o].ty==="fl"||e[o].ty==="st"||e[o].ty==="gf"||e[o].ty==="gs")D?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],w),l.push(t[o].style);else if(e[o].ty==="gr"){if(!D)t[o]=this.createGroupElement(e[o]);else for(i=t[o].it.length,f=0;f=0;a-=1)t[a].ty==="tr"?(u=r[a].transform,this.renderShapeTransform(e,u)):t[a].ty==="sh"||t[a].ty==="el"||t[a].ty==="rc"||t[a].ty==="sr"?this.renderPath(t[a],r[a]):t[a].ty==="fl"?this.renderFill(t[a],r[a],u):t[a].ty==="st"?this.renderStroke(t[a],r[a],u):t[a].ty==="gf"||t[a].ty==="gs"?this.renderGradientFill(t[a],r[a],u):t[a].ty==="gr"?this.renderShape(u,t[a].it,r[a].it):t[a].ty==="tm";n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r=e.trNodes,n=t.paths,a,o,u,f=n._length;r.length=0;var i=e.transforms.finalTransform;for(u=0;u=1?v=.99:v<=-1&&(v=-.99);var D=i*v,s=Math.cos(l+t.a.v)*D+u[0],c=Math.sin(l+t.a.v)*D+u[1];a=o.createRadialGradient(s,c,0,u[0],u[1],i)}var w,P=e.g.p,H=t.g.c,d=1;for(w=0;wo&&i==="xMidYMid slice"||aa&&f==="meet"||oa&&f==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(n/this.transformCanvas.h))/2*this.renderConfig.dpr:l==="xMax"&&(oa&&f==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(n/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,v==="YMid"&&(o>a&&f==="meet"||oa&&f==="meet"||o=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if(!(this.renderedFrame===e&&this.renderConfig.clearCanvas===!0&&!t||this.destroyed||e===-1)){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var r,n=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-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=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.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 e,t=15;for(e=0;e=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var e,t=this.layers.length;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:t&&t.clearCanvas!==void 0?t.clearCanvas:!0,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.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(e){return new CVCompElement(e,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 t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var r=this.finalTransform.mat.toCSS();t.transform=r,t.webkitTransform=r}this.finalTransform._opMdf&&(t.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(e,t,r){this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?(e=createNS("rect"),e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(e=createTag("div"),e.style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)};function HShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,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 e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var r,n=e.length;for(r=0;r0&&i<1&&a[s].push(this.calculateF(i,e,t,r,n,s))):(l=u*u-4*f*o,l>=0&&(v=(-u+bmSqrt(l))/(2*o),v>0&&v<1&&a[s].push(this.calculateF(v,e,t,r,n,s)),D=(-u-bmSqrt(l))/(2*o),D>0&&D<1&&a[s].push(this.calculateF(D,e,t,r,n,s)))));this.shapeBoundingBox.left=bmMin.apply(null,a[0]),this.shapeBoundingBox.top=bmMin.apply(null,a[1]),this.shapeBoundingBox.right=bmMax.apply(null,a[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,a[1])},HShapeElement.prototype.calculateF=function(e,t,r,n,a,o){return bmPow(1-e,3)*t[o]+3*bmPow(1-e,2)*e*r[o]+3*(1-e)*bmPow(e,2)*n[o]+bmPow(e,3)*a[o]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,n=e.length;for(r=0;rr&&(r=a)}r*=e.mult}else r=e.v*e.mult;t.x-=r,t.xMax+=r,t.y-=r,t.yMax+=r},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax=0;t-=1){var n=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.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 a;this.p?a=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:a=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var o=Math.sqrt(Math.pow(a[0],2)+Math.pow(a[1],2)+Math.pow(a[2],2)),u=[a[0]/o,a[1]/o,a[2]/o],f=Math.sqrt(u[2]*u[2]+u[0]*u[0]),i=Math.atan2(u[1],f),l=Math.atan2(u[0],-u[2]);this.mat.rotateY(l).rotateX(-i)}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 v=!this._prevMat.equals(this.mat);if((v||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var D,s,c;for(t=0;t=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r=createTag("div"),n,a;styleDiv(r);var o=createTag("div");if(styleDiv(o),t==="3d"){n=r.style,n.width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px";var u="50% 50%";n.webkitTransformOrigin=u,n.mozTransformOrigin=u,n.transformOrigin=u,a=o.style;var f="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";a.transform=f,a.webkitTransform=f}r.appendChild(o);var i={container:o,perspectiveElem:r,startPos:e,endPos:e,type:t};return this.threeDElements.push(i),i},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,r,n="";for(e=0;e=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,n=this.threeDElements.length;rr?(a=e/this.globalData.compSize.w,o=e/this.globalData.compSize.w,u=0,f=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(a=t/this.globalData.compSize.h,o=t/this.globalData.compSize.h,u=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,f=0);var i=this.resizerElem.style;i.webkitTransform="matrix3d("+a+",0,0,0,0,"+o+",0,0,0,0,1,0,"+u+","+f+",0,1)",i.transform=i.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 e=this.globalData.compSize.w,t=this.globalData.compSize.h,r,n=this.threeDElements.length;for(r=0;r=l;)T/=2,C/=2,N>>>=1;return(T+N)/C};return O.int32=function(){return L.g(4)|0},O.quick=function(){return L.g(4)/4294967296},O.double=O,H(g(L.S),e),(p.pass||m||function(Z,T,C,N){return N&&(N.S&&w(N,L),Z.state=function(){return w(L,{})}),C?(t[u]=Z,T):Z})(O,y,"global"in p?p.global:this==t,p.state)}t["seed"+u]=s;function c(A){var p,m=A.length,X=this,y=0,L=X.i=X.j=0,O=X.S=[];for(m||(A=[m++]);yr){var n=r;r=t,t=n}return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if(typeof e=="number"||e instanceof Number)return t=t||0,Math.abs(e-t);t||(t=helperLengthArray);var r,n=Math.min(e.length,t.length),a=0;for(r=0;r.5?l/(2-a-o):l/(a+o),a){case t:u=(r-n)/l+(r1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t=e[0],r=e[1],n=e[2],a,o,u;if(r===0)a=n,u=n,o=n;else{var f=n<.5?n*(1+r):n+r-n*r,i=2*n-f;a=hue2rgb(i,f,t+1/3),o=hue2rgb(i,f,t),u=hue2rgb(i,f,t-1/3)}return[a,o,u,e[3]]}function linear(e,t,r,n,a){if((n===void 0||a===void 0)&&(n=t,a=r,t=0,r=1),r=r)return a;var u=r===t?0:(e-t)/(r-t);if(!n.length)return n+(a-n)*u;var f,i=n.length,l=createTypedArray("float32",i);for(f=0;f1){for(a=0;a1?t=1:t<0&&(t=0);var u=e(t);if($bm_isInstanceOfArray(a)){var f,i=a.length,l=createTypedArray("float32",i);for(f=0;fdata.k[t].t&&edata.k[t+1].t-e?(n=t+2,a=data.k[t+1].t):(n=t+1,a=data.k[t].t);break}n===-1&&(n=t+1,a=data.k[t].t)}var o={};return o.index=n,o.time=a/elem.comp.globalData.frameRate,o}function key(e){var t,r,n;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var a=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(n=a.length,r=0;rH.length-1)&&(c=H.length-1),A=H[H.length-1-c].t,g=d-A);var p,m,X;if(s==="pingpong"){var y=Math.floor((P-A)/g);if(y%2!=0)return this.getValueAtTime((g-(P-A)%g+A)/this.comp.globalData.frameRate,0)}else if(s==="offset"){var L=this.getValueAtTime(A/this.comp.globalData.frameRate,0),O=this.getValueAtTime(d/this.comp.globalData.frameRate,0),Z=this.getValueAtTime(((P-A)%g+A)/this.comp.globalData.frameRate,0),T=Math.floor((P-A)/g);if(this.pv.length){for(X=new Array(L.length),m=X.length,p=0;p=d)return this.pv;var g,A;w?(c?g=Math.abs(this.elem.comp.globalData.frameRate*c):g=Math.max(0,this.elem.data.op-d),A=d+g):((!c||c>H.length-1)&&(c=H.length-1),A=H[c].t,g=A-d);var p,m,X;if(s==="pingpong"){var y=Math.floor((d-P)/g);if(y%2==0)return this.getValueAtTime(((d-P)%g+d)/this.comp.globalData.frameRate,0)}else if(s==="offset"){var L=this.getValueAtTime(d/this.comp.globalData.frameRate,0),O=this.getValueAtTime(A/this.comp.globalData.frameRate,0),Z=this.getValueAtTime((g-(d-P)%g+d)/this.comp.globalData.frameRate,0),T=Math.floor((d-P)/g)+1;if(this.pv.length){for(X=new Array(L.length),m=X.length,p=0;p1?(H-P)/(c-1):1,g=0,A=0,p;this.pv.length?p=createTypedArray("float32",this.pv.length):p=0;for(var m;gg){var y=A,L=P.c&&A===p-1?0:A+1,O=(g-m)/d[A].addedLength;X=bez.getPointInSegment(P.v[y],P.v[L],P.o[y],P.i[L],O,d[A]);break}else m+=d[A].addedLength;A+=1}return X||(X=P.c?[P.v[0][0],P.v[0][1]]:[P.v[P._length-1][0],P.v[P._length-1][1]]),X},vectorOnPath:function(c,w,P){c==1?c=this.v.c:c==0&&(c=.999);var H=this.pointOnPath(c,w),d=this.pointOnPath(c+.001,w),g=d[0]-H[0],A=d[1]-H[1],p=Math.sqrt(Math.pow(g,2)+Math.pow(A,2));if(p===0)return[0,0];var m=P==="tangent"?[g/p,A/p]:[-A/p,g/p];return m},tangentOnPath:function(c,w){return this.vectorOnPath(c,w,"tangent")},normalOnPath:function(c,w){return this.vectorOnPath(c,w,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([v],i),extendPrototype([v],l),l.prototype.getValueAtTime=f,l.prototype.initiateExpression=ExpressionManager.initiateExpression;var D=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(s,c,w,P,H){var d=D(s,c,w,P,H);return d.propertyIndex=c.ix,d.lock=!1,w===3?expressionHelpers.searchExpressions(s,c.pt,d):w===4&&expressionHelpers.searchExpressions(s,c.ks,d),d.k&&s.addDynamicProperty(d),d}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function e(){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(t,r){var n=this.calculateExpression(r);if(t.t!==n){var a={};return this.copyData(a,t),a.t=n.toString(),a.__complete=!1,a}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),r=this.searchExpressions();return this.kf=t||r,this.kf},TextProperty.prototype.searchExpressions=e}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function e(t,r){var n=createNS("feMerge");n.setAttribute("result",t);var a,o;for(o=0;o=l?D=w<0?n:a:D=n+c*Math.pow((f-e)/w,1/r),v[s]=D,s+=1,o+=256/(u-1);return v.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=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",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=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",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=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",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=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",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=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",t))}};function SVGDropShadowEffect(e,t,r,n,a){var o=t.container.globalData.renderConfig.filterSize,u=t.data.fs||o;e.setAttribute("x",u.x||o.x),e.setAttribute("y",u.y||o.y),e.setAttribute("width",u.width||o.width),e.setAttribute("height",u.height||o.height),this.filterManager=t;var f=createNS("feGaussianBlur");f.setAttribute("in","SourceAlpha"),f.setAttribute("result",n+"_drop_shadow_1"),f.setAttribute("stdDeviation","0"),this.feGaussianBlur=f,e.appendChild(f);var i=createNS("feOffset");i.setAttribute("dx","25"),i.setAttribute("dy","0"),i.setAttribute("in",n+"_drop_shadow_1"),i.setAttribute("result",n+"_drop_shadow_2"),this.feOffset=i,e.appendChild(i);var l=createNS("feFlood");l.setAttribute("flood-color","#00ff00"),l.setAttribute("flood-opacity","1"),l.setAttribute("result",n+"_drop_shadow_3"),this.feFlood=l,e.appendChild(l);var v=createNS("feComposite");v.setAttribute("in",n+"_drop_shadow_3"),v.setAttribute("in2",n+"_drop_shadow_2"),v.setAttribute("operator","in"),v.setAttribute("result",n+"_drop_shadow_4"),e.appendChild(v);var D=this.createMergeNode(n,[n+"_drop_shadow_4",a]);e.appendChild(D)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(t[0]*255),Math.round(t[1]*255),Math.round(t[2]*255)))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,a=r*Math.cos(n),o=r*Math.sin(n);this.feOffset.setAttribute("dx",a),this.feOffset.setAttribute("dy",o)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,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(e){for(var t=0,r=_svgMatteSymbols.length;t{(function(e,t){typeof bf=="object"&&typeof L1!="undefined"?t(bf,z1(),(Tn(),Uf)):typeof define=="function"&&define.amd?define(["exports","lottie-web","react"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(e["lottie-react"]={},e.Lottie,e.React))})(bf,function(e,t,r){"use strict";function n(T){return T&&typeof T=="object"&&"default"in T?T:{default:T}}var a=n(t),o=n(r);function u(T,C){var N=T==null?null:typeof Symbol!="undefined"&&T[Symbol.iterator]||T["@@iterator"];if(N!=null){var j,M,x,z,h=[],b=!0,F=!1;try{if(x=(N=N.call(T)).next,C===0){if(Object(N)!==N)return;b=!1}else for(;!(b=(j=x.call(N)).done)&&(h.push(j.value),h.length!==C);b=!0);}catch(B){F=!0,M=B}finally{try{if(!b&&N.return!=null&&(z=N.return(),Object(z)!==z))return}finally{if(F)throw M}}return h}}function f(T,C){var N=Object.keys(T);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(T);C&&(j=j.filter(function(M){return Object.getOwnPropertyDescriptor(T,M).enumerable})),N.push.apply(N,j)}return N}function i(T){for(var C=1;C=0)&&(N[M]=T[M]);return N}function D(T,C){if(T==null)return{};var N=v(T,C),j,M;if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(T);for(M=0;M=0)&&(!Object.prototype.propertyIsEnumerable.call(T,j)||(N[j]=T[j]))}return N}function s(T,C){return c(T)||u(T,C)||w(T,C)||H()}function c(T){if(Array.isArray(T))return T}function w(T,C){if(!!T){if(typeof T=="string")return P(T,C);var N=Object.prototype.toString.call(T).slice(8,-1);if(N==="Object"&&T.constructor&&(N=T.constructor.name),N==="Map"||N==="Set")return Array.from(T);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return P(T,C)}}function P(T,C){(C==null||C>T.length)&&(C=T.length);for(var N=0,j=new Array(C);N0&&arguments[0]!==void 0?arguments[0]:{},Ne;if(!!Y.current){(Ne=I.current)===null||Ne===void 0||Ne.destroy();var at=i(i(i({},C),me),{},{container:Y.current});return I.current=a.default.loadAnimation(at),be(!!I.current),function(){var on;(on=I.current)===null||on===void 0||on.destroy(),I.current=void 0}}};r.useEffect(function(){var Ge=He();return function(){return Ge==null?void 0:Ge()}},[j,M]),r.useEffect(function(){!I.current||(I.current.autoplay=!!x)},[x]),r.useEffect(function(){if(!!I.current){if(!z){I.current.resetSegments(!0);return}!Array.isArray(z)||!z.length||((I.current.currentRawFramez[1])&&(I.current.currentRawFrame=z[0]),I.current.setSegment(z[0],z[1]))}},[z]),r.useEffect(function(){var Ge=[{name:"complete",handler:h},{name:"loopComplete",handler:b},{name:"enterFrame",handler:F},{name:"segmentStart",handler:B},{name:"config_ready",handler:k},{name:"data_ready",handler:q},{name:"data_failed",handler:Q},{name:"loaded_images",handler:S},{name:"DOMLoaded",handler:$},{name:"destroy",handler:U}],me=Ge.filter(function(at){return at.handler!=null});if(!!me.length){var Ne=me.map(function(at){var on;return(on=I.current)===null||on===void 0||on.addEventListener(at.name,at.handler),function(){var Nf;(Nf=I.current)===null||Nf===void 0||Nf.removeEventListener(at.name,at.handler)}});return function(){Ne.forEach(function(at){return at()})}}},[h,b,F,B,k,q,Q,S,$,U]);var Ie=o.default.createElement("div",i({style:N,ref:Y},R));return{View:Ie,play:vt,stop:_e,pause:ft,setSpeed:ot,goToAndStop:oe,goToAndPlay:Be,setDirection:le,playSegments:re,setSubframe:ae,getDuration:de,destroy:Pe,animationContainerRef:Y,animationLoaded:ge,animationItem:I.current}};function m(T){var C=T.getBoundingClientRect(),N=C.top,j=C.height,M=window.innerHeight-N,x=window.innerHeight+j;return M/x}function X(T,C,N){var j=T.getBoundingClientRect(),M=j.top,x=j.left,z=j.width,h=j.height,b=(C-x)/z,F=(N-M)/h;return{x:b,y:F}}var y=function(C){var N=C.wrapperRef,j=C.animationItem,M=C.mode,x=C.actions;r.useEffect(function(){var z=N.current;if(!(!z||!j||!x.length)){j.stop();var h=function(){var B=null,k=function(){var Q=m(z),S=x.find(function(U){var R=U.visibility;return R&&Q>=R[0]&&Q<=R[1]});if(!!S){if(S.type==="seek"&&S.visibility&&S.frames.length===2){var $=S.frames[0]+Math.ceil((Q-S.visibility[0])/(S.visibility[1]-S.visibility[0])*S.frames[1]);j.goToAndStop($-j.firstFrame-1,!0)}S.type==="loop"&&(B===null||B!==S.frames||j.isPaused)&&(j.playSegments(S.frames,!0),B=S.frames),S.type==="play"&&j.isPaused&&(j.resetSegments(!0),j.play()),S.type==="stop"&&j.goToAndStop(S.frames[0]-j.firstFrame-1,!0)}};return document.addEventListener("scroll",k),function(){document.removeEventListener("scroll",k)}},b=function(){var B=function(S,$){var U=S,R=$;if(U!==-1&&R!==-1){var ce=X(z,U,R);U=ce.x,R=ce.y}var J=x.find(function(I){var Y=I.position;return Y&&Array.isArray(Y.x)&&Array.isArray(Y.y)?U>=Y.x[0]&&U<=Y.x[1]&&R>=Y.y[0]&&R<=Y.y[1]:Y&&!Number.isNaN(Y.x)&&!Number.isNaN(Y.y)?U===Y.x&&R===Y.y:!1});if(!!J){if(J.type==="seek"&&J.position&&Array.isArray(J.position.x)&&Array.isArray(J.position.y)&&J.frames.length===2){var ge=(U-J.position.x[0])/(J.position.x[1]-J.position.x[0]),be=(R-J.position.y[0])/(J.position.y[1]-J.position.y[0]);j.playSegments(J.frames,!0),j.goToAndStop(Math.ceil((ge+be)/2*(J.frames[1]-J.frames[0])),!0)}J.type==="loop"&&j.playSegments(J.frames,!0),J.type==="play"&&(j.isPaused&&j.resetSegments(!1),j.playSegments(J.frames)),J.type==="stop"&&j.goToAndStop(J.frames[0],!0)}},k=function(S){B(S.clientX,S.clientY)},q=function(){B(-1,-1)};return z.addEventListener("mousemove",k),z.addEventListener("mouseout",q),function(){z.removeEventListener("mousemove",k),z.removeEventListener("mouseout",q)}};switch(M){case"scroll":return h();case"cursor":return b()}}},[M,j])},L=function(C){var N=C.actions,j=C.mode,M=C.lottieObj,x=M.animationItem,z=M.View,h=M.animationContainerRef;return y({actions:N,animationItem:x,mode:j,wrapperRef:h}),z},O=["style","interactivity"],Z=function(C){var N,j,M,x=C.style,z=C.interactivity,h=D(C,O),b=p(h,x),F=b.View,B=b.play,k=b.stop,q=b.pause,Q=b.setSpeed,S=b.goToAndStop,$=b.goToAndPlay,U=b.setDirection,R=b.playSegments,ce=b.setSubframe,J=b.getDuration,ge=b.destroy,be=b.animationContainerRef,I=b.animationLoaded,Y=b.animationItem;return r.useEffect(function(){C.lottieRef&&(C.lottieRef.current={play:B,stop:k,pause:q,setSpeed:Q,goToAndPlay:$,goToAndStop:S,setDirection:U,playSegments:R,setSubframe:ce,getDuration:J,destroy:ge,animationContainerRef:be,animationLoaded:I,animationItem:Y})},[(N=C.lottieRef)===null||N===void 0?void 0:N.current]),L({lottieObj:{View:F,play:B,stop:k,pause:q,setSpeed:Q,goToAndStop:S,goToAndPlay:$,setDirection:U,playSegments:R,setSubframe:ce,getDuration:J,destroy:ge,animationContainerRef:be,animationLoaded:I,animationItem:Y},actions:(j=z==null?void 0:z.actions)!==null&&j!==void 0?j:[],mode:(M=z==null?void 0:z.mode)!==null&&M!==void 0?M:"scroll"})};Object.defineProperty(e,"LottiePlayer",{enumerable:!0,get:function(){return a.default}}),e.default=Z,e.useLottie=p,e.useLottieInteractivity=L,Object.defineProperty(e,"__esModule",{value:!0})})});var a5={};Ev(a5,{boot:()=>n5});var Lo={compose:function(e){return function(t){return function(r){return e(t(r))}}}};var ue=function(e){return e.identity},fe={identity:function(e){return e},Semigroupoid0:function(){return Lo}};var Ye=!0;var Wf=function(e){return function(t){return function(r){return function(n){return e(t(r))(t(n))}}}},$e=function(e){return function(t){return function(r){return e(r)(t)}}},ve=function(e){return function(t){return e}};var Rv=function(e){return function(t){for(var r=t.length,n=new Array(r),a=0;a="0"&&e[a]<="9"?"\\&":"";return"\\"+r.charCodeAt(0).toString(10)+o})+'"'};var It={show:ts};var Qf={show:es},fr={show:$v};var se=function(e){return e.show};var $A=ue(fe),W=function(){function e(){}return e.value=new e,e}(),V=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}();var qe=function(e){return function(t){return function(r){if(r instanceof W)return e;if(r instanceof V)return t(r.value0);throw new Error("Failed pattern match at Data.Maybe (line 237, column 1 - line 237, column 51): "+[e.constructor.name,t.constructor.name,r.constructor.name])}}};var vn=qe(!1)(ve(!0));var Ce={map:function(e){return function(t){return t instanceof V?new V(e(t.value0)):W.value}}},e9=E(Ce);var Ee=function(e){return qe(e)($A)},ir=function(){return function(e){if(e instanceof V)return e.value0;throw new Error("Failed pattern match at Data.Maybe (line 288, column 1 - line 288, column 46): "+[e.constructor.name])}};var Er=function(e){var t=De(e);return{eq:function(r){return function(n){return r instanceof W&&n instanceof W?!0:r instanceof V&&n instanceof V?t(r.value0)(n.value0):!1}}}};var mr={apply:function(e){return function(t){if(e instanceof V)return e9(e.value0)(t);if(e instanceof W)return W.value;throw new Error("Failed pattern match at Data.Maybe (line 67, column 1 - line 69, column 30): "+[e.constructor.name,t.constructor.name])}},Functor0:function(){return Ce}};var Zt={bind:function(e){return function(t){if(e instanceof V)return t(e.value0);if(e instanceof W)return W.value;throw new Error("Failed pattern match at Data.Maybe (line 125, column 1 - line 127, column 28): "+[e.constructor.name,t.constructor.name])}},Apply0:function(){return mr}};var lr=function(){return{pure:V.create,Apply0:function(){return mr}}}();var rs={alt:function(e){return function(t){return e instanceof W?t:e}},Functor0:function(){return Ce}},t9=function(){return{empty:W.value,Alt0:function(){return rs}}}(),Zf={Applicative0:function(){return lr},Plus1:function(){return t9}};Tn();var ns=function(){let e={};return function(t,r){let n=e[t]||(e[t]=us(t));return r(n)}}();function as(e){return e(us())}var os=br.createElement,Da=e=>()=>e.props.def;function us(e){class t extends br.Component{constructor(n){super(n);n.init&&n.init(this)()}render(){return this.props.render(this)()}componentDidMount(){this.props.componentDidMount(this)()}componentWillUnmount(){this.props.componentWillUnmount(this)()}}return t.displayName=e?"Elmish_"+e:"ElmishRoot",t}var H9=typeof Array.prototype.flatMap=="function"?function(e){return function(t){return e.flatMap(t)}}:function(e){return function(t){for(var r=[],n=e.length,a=0;a>1),f-o>1&&e(t,r,a,n,o,f),u-f>1&&e(t,r,a,n,f,u),i=o,l=f,v=o;i0?(n[v++]=s,++l):(n[v++]=D,++i);for(;i>1),f-o>1&&e(t,r,a,n,o,f),u-f>1&&e(t,r,a,n,f,u),i=o,l=f,v=o;i0?(n[v++]=s,++l):(n[v++]=D,++i);for(;i=0;o--)n=e(r[o])(n);return n}}},Vs=function(e){return function(t){return function(r){for(var n=t,a=r.length,o=0;o0)&&(U=j,R=Pe._3(de)));break;case P:I=new m(c,new m(d,R,ce),I,J),U=j,J&&J!==ae&&Y===0?R=Pe._1.killed(q.fromLeft(J))(Pe._2):ce?R=Pe._1.failed(q.fromLeft(ce))(Pe._2):R=Pe._1.completed(q.fromRight(R))(Pe._2),ce=null,Y++;break;case H:Y++,I=new m(c,new m(d,R,ce),I,J),U=j,R=Pe._1;break;case d:Y--,U=h,R=Pe._1,ce=Pe._2;break}break;case b:for(var He in _e)_e.hasOwnProperty(He)&&(ft=ft&&_e[He].rethrow,L(_e[He].handler(R)));_e=null,J&&ce?setTimeout(function(){throw q.fromLeft(ce)},0):q.isLeft(R)&&ft&&setTimeout(function(){if(ft)throw q.fromLeft(R)},0);return;case N:U=j;break;case z:return}}function Be(re){return function(){if(U===b)return ft=ft&&re.rethrow,re.handler(R)(),function(){};var ae=vt++;return _e=_e||{},_e[ae]=re,function(){_e!==null&&delete _e[ae]}}}function oe(re,ae){return function(){if(U===b)return ae(q.right(void 0))(),function(){};var de=Be({rethrow:!1,handler:function(){return ae(q.right(void 0))}})();switch(U){case N:J=q.left(re),U=b,R=J,ot($);break;case z:J===null&&(J=q.left(re)),Y===0&&(U===z&&(I=new m(c,new m(H,R(re)),I,J)),U=h,R=null,ce=null,ot(++$));break;default:J===null&&(J=q.left(re)),Y===0&&(U=h,R=null,ce=null)}return de}}function le(re){return function(){var ae=Be({rethrow:!1,handler:re})();return U===N&&ot($),ae}}return{kill:oe,join:le,onComplete:Be,isSuspended:function(){return U===N},run:function(){U===N&&(T.isDraining()?ot($):T.enqueue(function(){ot($)}))}}}function B(q,Q,S,$){var U=0,R={},ce=0,J={},ge=new Error("[ParAff] Early exit"),be=null,I=e;function Y(Be,oe,le){var re=oe,ae=null,de=null,Pe=0,He={},Ie,Ge;e:for(;;)switch(Ie=null,re.tag){case g:if(re._3===e&&(Ie=R[re._1],He[Pe++]=Ie.kill(Be,function(me){return function(){Pe--,Pe===0&&le(me)()}})),ae===null)break e;re=ae._2,de===null?ae=null:(ae=de._1,de=de._2);break;case v:re=re._2;break;case D:case s:ae&&(de=new m(c,ae,de)),ae=re,re=re._1;break}if(Pe===0)le(q.right(void 0))();else for(Ge=0,Ie=Pe;Ge":e===void 0?"":e instanceof Date?e.toString():typeof Blob!="undefined"&&e instanceof Blob?"file["+e.name+"]":JSON.stringify(e)}var h4=zt(Je),Cc=Rn(Ta),m4=Lt(Je);var Ci=function(e){return e.foldrWithIndex};var Fi=function(e){return e.foldlWithIndex};var b4=function(e){var t=Ci(e);return function(r){var n=Ae(r.Semigroup0()),a=Qe(r);return function(o){return t(function(u){return function(f){return function(i){return n(o(u)(f))(i)}}})(a)}}},Ra={foldrWithIndex:function(e){return function(t){var r=h4(function(a){return function(o){return e(a.value0)(a.value1)(o)}})(t),n=Cc(Oe.create);return function(a){return r(n(a))}}},foldlWithIndex:function(e){return function(t){var r=m4(function(a){return function(o){return e(o.value0)(a)(o.value1)}})(t),n=Cc(Oe.create);return function(a){return r(n(a))}}},foldMapWithIndex:function(e){return b4(Ra)(e)},Foldable0:function(){return Je}};var Fc=function(e){var t=Fi(e);return function(r){var n=function(a){return function(o){return function(u){return o instanceof W?r(a)(u):o}}};return t(n)(W.value)}};function eu(e){return Object.prototype.toString.call(e).slice(8,-1)}function Ya(e){return e===void 0}var tu=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};var Kn=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}();var Ti=function(e){var t=Wt(e);return function(r){return new Kn(r,t)}};var Nt=function(){function e(){}return e.value=new e,e}(),Ue=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}(),ji=function(e){return e},j4=function(e){return new Ue(e.value0,e.value1)};var O4=function(e){var t=function(r){return function(n){var a=r,o=!1,u;function f(i,l){if(l instanceof Ue&&l.value1 instanceof Ue&&l.value1.value1 instanceof Ue){a=new Ue(l,i),n=l.value1.value1.value1;return}var v=function(s){return s instanceof Ue&&s.value1 instanceof Ue&&s.value1.value1 instanceof Nt?new Ue(e(s.value0),new Ue(e(s.value1.value0),Nt.value)):s instanceof Ue&&s.value1 instanceof Nt?new Ue(e(s.value0),Nt.value):Nt.value},D=function(s){return function(c){var w=s,P=!1,H;function d(g,A){if(g instanceof Ue&&g.value0 instanceof Ue&&g.value0.value1 instanceof Ue&&g.value0.value1.value1 instanceof Ue){w=g.value1,c=new Ue(e(g.value0.value0),new Ue(e(g.value0.value1.value0),new Ue(e(g.value0.value1.value1.value0),A)));return}return P=!0,A}for(;!P;)H=d(w,c);return H}};return o=!0,D(i)(v(l))}for(;!o;)u=f(a,n);return u}};return t(Nt.value)},M4={map:O4};var ru={foldr:function(e){return function(t){var r=function(){var a=function(o){return function(u){var f=o,i=!1,l;function v(D,s){if(s instanceof Nt)return i=!0,D;if(s instanceof Ue){f=new Ue(s.value0,D),u=s.value1;return}throw new Error("Failed pattern match at Data.List.Types (line 107, column 7 - line 107, column 23): "+[D.constructor.name,s.constructor.name])}for(;!i;)l=v(f,u);return l}};return a(Nt.value)}(),n=Lt(ru)($e(e))(t);return function(a){return n(r(a))}}},foldl:function(e){var t=function(r){return function(n){var a=r,o=!1,u;function f(i,l){if(l instanceof Nt)return o=!0,i;if(l instanceof Ue){a=e(i)(l.value0),n=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(;!o;)u=f(a,n);return u}};return t},foldMap:function(e){var t=Ae(e.Semigroup0()),r=Qe(e);return function(n){return Lt(ru)(function(a){var o=t(a);return function(u){return o(n(u))}})(r)}}};var N4=zt(ru);var Oi={append:function(e){return function(t){return N4(Ue.create)(t)(e)}}},Mc=Ae(Oi);var Nc={append:function(e){return function(t){return new Kn(e.value0,Mc(e.value1)(j4(t)))}}};var V4={alt:Mc,Functor0:function(){return M4}},Vc=function(){return{empty:Nt.value,Alt0:function(){return V4}}}();var qc=function(){var e=Ti(Vc);return function(t){return ji(e(t))}}();var Wc=function(e){return e.value0};var nu=function(e){return e.length};var Ec=function(e){return function(t){return function(r){return function(n){var a=n.indexOf(r);return a===-1?t:e(a)}}}};var Mi=function(e){return function(t){return{before:t.substring(0,e),after:t.substring(e)}}};var Ga=function(e){return function(t){var r=Mi(nu(e))(t),n=r.before===e;return n?new V(r.after):W.value}};var Qc=function(){return Ec(V.create)(W.value)}();var au=function(e){var t=Qc(e);return function(r){return vn(t(r))}};var Z4=se(It),U4=se(fr);var Ni=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Zc=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}(),K4=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}(),S4=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}(),Ht=G,Qa=G;var Ia=function(e){if(e instanceof Ni)return e.value0;if(e instanceof K4)return"Error at array index "+(U4(e.value0)+(": "+Ia(e.value1)));if(e instanceof S4)return"Error at property "+(Z4(e.value0)+(": "+Ia(e.value1)));if(e instanceof Zc)return"Type mismatch: expected "+(e.value0+(", found "+e.value1));throw new Error("Failed pattern match at Foreign (line 78, column 1 - line 78, column 45): "+[e.constructor.name])};var Vi=function(e){var t=Bt(gc(e));return function(r){return t(qc(r))}};var Uc=function(e){var t=K(Wa(e)),r=Vi(e);return function(n){return function(a){if(eu(a)===n)return t(Qa(a));if(Ye)return r(new Zc(n,eu(a)));throw new Error("Failed pattern match at Foreign (line 123, column 1 - line 123, column 104): "+[n.constructor.name,a.constructor.name])}}};function Kc(e){return function(){var t={};for(var r in e)hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}}var ou={};function uu(e){return e()}function Sc(e,t,r,n){return r in n?t(n[r]):e}function qi(e){return function(t){var r=[];for(var n in t)hasOwnProperty.call(t,n)&&r.push(e(n)(t[n]));return r}}var k4=Object.keys||qi(function(e){return function(){return e}});var Wi=function(){return{}};function fu(e){return function(t){return function(r){return function(){return r[e]=t,r}}}}var oP=ct(Mo);var uP=Kc,Ri=function(e){return function(t){return uu(oP(fu(e)(t))(Wi))}};var fP=function(e){return function(t){return uu(function(){var n=uP(t)();return e(n)(),n})}};var iu=function(){return Yo(Sc)(W.value)(V.create)}();var _c=function(e){return function(t){return fP(fu(e)(t))}};var iP=Vn(Xt),lP=xr(iP),vP=Fc(Ra),sP=se(fr),cP=rc(ti),wn=function(){function e(){}return e.value=new e,e}(),Cr=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),lu={validateJsRecord:function(e){return wn.value}};var Yi=function(e){return function(t){return function(r){var n=t(r);return n?wn.value:new Cr({path:"",got:r,expected:e})}}};var Za={validateForeignType:Yi("Boolean")(zc)},$c={validateForeignType:Yi("Function")(Bc)};var ed={validateForeignType:Yi("String")(yc)},td=function(e){return e.validateJsRecord},vu=function(){return function(e){var t=td(e);return{validateForeignType:function(r){if(Lc(r))return t(r);if(Ye)return new Cr({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])}}}},su=function(e){return e.validateForeignType},rd=function(e){var t=su(e);return{validateForeignType:function(r){if(lP(tu)(r))return new Cr({path:"",expected:"Array",got:r});if(Ye){var n=function(o){return function(u){var f=t(u);if(f instanceof wn)return W.value;if(f instanceof Cr)return new V({idx:o,invalid:f.value0});throw new Error("Failed pattern match at Elmish.Foreign (line 186, column 29 - line 188, column 51): "+[f.constructor.name])}},a=vP(n)(Qa(r));if(a instanceof W)return wn.value;if(a instanceof V)return new Cr({expected:a.value0.invalid.expected,got:a.value0.invalid.got,path:"["+(sP(a.value0.idx)+("]"+a.value0.invalid.path))});throw new Error("Failed pattern match at Elmish.Foreign (line 182, column 21 - line 184, column 101): "+[a.constructor.name])}throw new Error("Failed pattern match at Elmish.Foreign (line 179, column 6 - line 188, column 51): "+[r.constructor.name])}}};var cu=function(e){var t=gt(e);return function(r){var n=su(r);return function(a){var o=td(a);return{validateJsRecord:function(u){var f=t(et.value),i=St(f)(Qa(u)),l=n(i);if(l instanceof Cr)return new Cr({expected:l.value0.expected,got:l.value0.got,path:"."+(f+l.value0.path)});if(l instanceof wn)return o(u);throw new Error("Failed pattern match at Elmish.Foreign (line 235, column 9 - line 237, column 43): "+[l.constructor.name])}}}}},Ua=function(e){var t=su(e);return function(r){var n=t(r);if(n instanceof wn)return new te(Qa(r));if(n instanceof Cr)return new ee(cP([n.value0.path,function(){var a=n.value0.path==="";return a?"Expected ":": expected "}(),n.value0.expected," but got: ",$o(n.value0.got)]));throw new Error("Failed pattern match at Elmish.Foreign (line 255, column 18 - line 263, column 6): "+[n.constructor.name])}},Ka=function(e){var t=Ua(e);return function(r){return _f(t(r))}};var nd=(e,t)=>t[e],ad=(e,t,r)=>r[e]=t;var pn=function(t){return function(r){return t(r)()}};var kr=function(t){return function(r){return function(){return t(r)}}},Jr=function(t){return function(r){return function(n){return function(){return t(r,n)}}}},Dn=function(t){return function(r){return function(n){return function(a){return function(){return t(r,n,a)}}}}};var zP=tt(pe),Sa=function(){function e(){}return e.value=new e,e}(),fd=function(){return function(e){var t=gt(e);return function(r){return Dn(ad)(t(et.value))}}},Gi=function(e){var t=Ka(e);return function(r){var n=gt(r);return function(a){return function(o){return zP(function(){return nd(n(et.value),o)})(t)}}}};var ka=null;function id(e,t,r){return e==null?t:r(e)}function Qi(e){return e}var dr=qe(ka)(Qi),Re=function(e){return id(e,W.value,V.create)};Tn();var du=window.ReactDOM,{createPortal:Ii,findDOMNode:ak,flushSync:ok}=window.ReactDOM;var dl=Vf($d());function e7(e){return e.state&&e.state.s}function t7(e,t,r){return e.setState({s:t},r)}function r7(e,t){return e.state={s:t}}var n7=du.render,a7=du.hydrate,Al=dl.default&&dl.default.renderToString||(e=>""),aw=du.unmountComponentAtNode,o7=br.Fragment;function u7(e,t,r){return br.createElement.apply(null,[e,ow(e,t)].concat(r))}function ow(e,t){if(typeof e!="string"||t._data==null)return t;var r={_data:void 0};for(var n in t._data){var a=t._data[n];r["data-"+n]=a}return Object.assign({},t,r)}var he={asReactChildren:function(e){return[e]}},xe={asReactChildren:function(e){return[e]}},ye={asReactChildren:ue(fe)};var ke=G,gl=Dn(t7),f7=Jr(n7),i7=Jr(a7),l7=kr(e7),lt=!1;var v7=Jr(r7),s7=function(e){return e.asReactChildren},Xn=function(){return function(e){var t=s7(e);return function(r){return function(n){return function(a){return u7(r,n,t(a))}}}}},c7=Xn()(ye),bu=function(){return function(e){return function(t){return c7(e)(t)([])}}},bt=c7(o7)({});var Pl=E(pe),uw=K(Pt),d7=function(e){return{initialize:function(t){return v7(t)(e.initialState)},getState:function(t){return function(){var n=Pl(Re)(l7(t))();return Ee(e.initialState)(n)}},setState:gl}},A7=function(){var e=function(t){return function(r){return{initialize:function(n){return dn(new V(r.initialState))(t)},getState:function(n){return Pl(Ee(r.initialState))(cn(t))},setState:function(n){return function(a){return function(o){return function(){return dn(new V(a))(t)(),gl(n)(a)(uw(_))(),o()}}}}}}};return Pl(e)(On(W.value))}();var g7=Ae(Tt);var P7=fd(),w7={reflectSymbol:function(){return"__unmounted"}},fw=P7(w7),p7={reflectSymbol:function(){return"__subscriptions"}},iw=P7(p7),Xu=tt(pe),lw=Gi(Za)(w7),D7=E(pe),vw=Gi(rd($c))(p7),sw=st(rt),cw=ct(Ot),dw=Pi(Pt)(Je),Aw=sw($t),h7=We(Uo),gw=ls(Gr),Pw=Ae(Rf(ai(Ef))),m7=function(e){return e},no=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}(),ww={map:function(e){return function(t){return new no(e(t.value0),t.value1)}}};var b7={apply:function(e){return function(t){return new no(e.value0(t.value0),g7(e.value1)(t.value1))}},Functor0:function(){return ww}},_n={bind:function(e){return function(t){var r=t(e.value0);return new no(r.value0,g7(e.value1)(r.value1))}},Apply0:function(){return b7}},Vt={pure:function(e){return new no(e,[])},Apply0:function(){return b7}};var ao=function(e){return new no(_,[e])},oo=function(e){return ao(ve(e))};var X7=function(e){return function(t){var r=fw(Sa.value),n=iw(Sa.value),a=function(c){return function(w){return function(P){return function(){var d=Xu(Da(c))(function(g){return g.init})();return t({initialState:d.value0}).setState(c)(w)(P)()}}}},o=function(){var c=D7(Ee(!1)),w=lw(Sa.value);return function(P){return c(w(P))}}(),u=function(){var c=D7(Ee([])),w=vw(Sa.value);return function(P){return c(w(P))}}(),f=function(c){return function(){return cw(dw)(u(c))(),n([])(c)()}},i=function(c){return function(){var P=Xu(Da(c))(function(H){return H.init})();return t({initialState:P.value0}).getState(c)()}},l=function(c){return function(w){return function(){var H=u(c)();return n(hi(Kr(w))(H))(c)()}}},v=function(c){return function(w){var P=function(H){return Kr(Aw(Un(0))(function(){return H({dispatch:function(){var d=D(w);return function(g){return h7(d(g))}}(),onStop:l(w)})}))};return ri(c)(P)}},D=function(c){return function(w){return gw(o(c))(function(){var H=i(c)(),d=Xu(Da(c))(function(A){return A.update})(),g=d(H)(w);return a(c)(g.value0)(v(g.value1)(c))()})}},s=function(c){return function(){var P=i(c)(),H=Xu(Da(c))(function(d){return d.view})();return H(P)(D(c))}};return function(c){return os(e,{def:c,init:t({initialState:c.init.value0}).initialize,render:s,componentDidMount:v(c.init.value1),componentWillUnmount:Pw(r(!0))(f)})}}},H7=function(e){return function(){var r=h7(A7)();return as(function(n){return X7(n)(r)(e)})}},uo=function(e){return function(t){return ns(e,function(r){var n=X7(r)(d7);return function(a){return n(t(a))}})}};var x7=e=>{let t=document.createElement("script");t.src="https://js.hsforms.net/forms/embed/v2.js",t.async=!0,t.onload=()=>{window.hbspt&&window.hbspt.forms.create({portalId:e.portalId,formId:e.formId,target:`#${e.targetId}`})},document.body.appendChild(t)};var pw=function(){function e(){}return e.value=new e,e}(),wl=function(){function e(){}return e.value=new e,e}(),Dw=function(){function e(){}return e.value=new e,e}(),pl=function(){function e(){}return e.value=new e,e}(),y7=function(e){if(e instanceof pw)return"modal-sm";if(e instanceof wl)return"";if(e instanceof Dw)return"modal-lg";if(e instanceof pl)return"modal-xl";throw new Error("Failed pattern match at Bootstrap.Modal.Size (line 14, column 13 - line 18, column 27): "+[e.constructor.name])};var J7=Vf(k7()),_7=J7.default;var ep=Xn(),$7=function(e){var t=ep(e);return function(){return function(){return t(_7)}}};var vo=function(e){return function(t){return t.split(e)}};var en=function(e){return function(t){return t.join(e)}};var ap=G;var t8=function(e){return Ya(e)};var Or=function(e){var t=t8(e);return t?W.value:new V(ap(e))};var Te=function(e){return function(t){var r=t8(e);return r?t:e}};var gr=function(){return G};var op=K(Pt),up=za(),r8=function(e){return{handleMaybe:function(t){return function(r){return pn(function(){var n=qe(op(_))(t);return function(a){return n(up(r(a)))}}())}}}};var n8={handle:function(e){return function(t){return function(r){return e(t(r))()}}}},Bu={handleEffect:function(e){return pn(e)}},xn={handleEffect:function(e){return pn(ve(e))}};var a8=function(e){return e.handleMaybe},tr=function(e){return e.handleEffect},o8=function(e){return e.handle};function Cu(e,t){var r={};for(var n in t)({}).hasOwnProperty.call(t,n)&&(r[n]=t[n]);for(var a in e)({}).hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r}var Fu=function(){return function(){return function(e){return function(t){return Cu(e,t)}}}};var fp=bu(),yl=Xn(),u8=Fu()();var Tu=G;var zl=function(e){var t=yl(e);return function(r){return function(n){return t(Tu(r))(n)}}},so=function(e){var t=yl(e);return function(r){return function(n){return function(a){return t(Tu(r))(u8(a)({className:n}))}}}},Ll=function(e){return function(t){return function(r){return fp(Tu(e))(u8(r)({className:t}))}}};var Rt=function(e){return function(t){var r=yl(t);return function(n){return function(a){return r(Tu(e))({className:n})(a)}}}};var ze=G;var ju=function(e){return Rt("strong")(e)};var Ft=function(e){return Rt("span")(e)};var Pr=function(e){return Rt("section")(e)};var ea=function(e){var t=so(e);return function(){return function(){return t("p")}}},tn=function(e){return Rt("p")(e)};var Ou=function(e){return Rt("label")(e)};var ta=function(){return function(){return Ll("input")}};var Mu=function(){return function(){return Ll("img")}};var Nu=function(e){return Rt("i")(e)};var Vu=function(e){return Rt("h4")(e)};var rn=function(e){return Rt("h3")(e)};var nn=function(e){return Rt("h2")(e)};var qu=function(e){return Rt("h1")(e)},Wu=function(e){var t=so(e);return function(){return function(){return t("form")}}};var Eu=function(e){return Rt("em")(e)};var Se=function(e){var t=so(e);return function(){return function(){return t("div")}}},Le=function(e){return Rt("div")(e)};var Bl=function(e){var t=so(e);return function(){return function(){return t("button")}}};var co="";function f8(e){var t=e.split(` `);return t.reduce(function(r,n){var a=vp(n)||cp(n)||gp(n)||Dp(n)||wp(n);return a&&r.push(a),r},[])}var ip=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,lp=/\((\S*)(?::(\d+))(?::(\d+))\)/;function vp(e){var t=ip.exec(e);if(!t)return null;var r=t[2]&&t[2].indexOf("native")===0,n=t[2]&&t[2].indexOf("eval")===0,a=lp.exec(t[2]);return n&&a!=null&&(t[2]=a[1],t[3]=a[2],t[4]=a[3]),{file:r?null:t[2],methodName:t[1]||co,arguments:r?[t[2]]:[],lineNumber:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}var sp=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function cp(e){var t=sp.exec(e);return t?{file:t[2],methodName:t[1]||co,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}var dp=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,Ap=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function gp(e){var t=dp.exec(e);if(!t)return null;var r=t[3]&&t[3].indexOf(" > eval")>-1,n=Ap.exec(t[3]);return r&&n!=null&&(t[3]=n[1],t[4]=n[2],t[5]=null),{file:t[3],methodName:t[1]||co,arguments:t[2]?t[2].split(","):[],lineNumber:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}var Pp=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function wp(e){var t=Pp.exec(e);return t?{file:t[3],methodName:t[1]||co,arguments:[],lineNumber:+t[4],column:t[5]?+t[5]:null}:null}var pp=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function Dp(e){var t=pp.exec(e);return t?{file:t[2],methodName:t[1]||co,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}function i8({skipFrames:e,prefix:t}){let r=new Error().stack,a=f8(r)[e],o=l8(a.file.replace(/^(http(s?):\/\/)?[^\/]+/,"")),u=l8(a.methodName);return`${t}_${o}_${u}_${a.lineNumber}_${a.column}`}var l8=e=>e.replace(/[^\d\w]+/g,"_").replace(/(^_|_$)/g,"");var hp=K(Vt),mp=ue(fe),Ru=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),bp={map:function(e){return function(t){return new Ru(function(r){return t.value0(function(n){return r(e(n))})})}}},v8=E(bp);var Cl=function(e){return m7(i8(e))},ra=function(e){return new Ru(function(t){return t(e)})},na=function(e){return function(t){return new Ru(function(r){return uo(e)(t)(r)})}},Fl=function(e){return function(t){return uo(e)(function(r){return{init:hp(_),update:ve(fn),view:ve(ve(t.value0(mp)))}})(_)}},s8=function(e){var t=Cl({skipFrames:3,prefix:"WithHook"});return function(r){return Fl(t)(v8(r)(e))}},c8=function(e){var t=Cl({skipFrames:3,prefix:"WithHookCurried"});return function(r){return Fl(t)(v8(Xa(r))(e))}},aa=function(e){var t=Cl({skipFrames:3,prefix:"HooksComponent"});return Fl(t)(e)},Ao=function(){return function(e){return function(t){return new Ru(function(r){return e.value0(function(n){var a=t(n);return a.value0(r)})})}}},Xp=Ao(),Yu=function(e){return function(){return Xp}};var d8=yi(xi);var Hp={map:function(e){return function(t){return d8(d8(e))(t)}}},xp=tt(Hp),yp=function(e){var t=ie(e.Monad0().Bind1()),r=We(e);return function(n){return ao(function(a){return t(n(a.dispatch))(function(o){return r(a.onStop(o))})})}},A8=function(e){var t=yp(e);return function(r){return function(n){return t(xp(n)(r))}}};var g8=st(rt)(_n),zp=A8(At),Lp=ue(fe),P8=K(Vt),w8=function(e){return function(t){return na("UseSubscription")(function(r){return{init:g8(zp(Lp)(e))(function(){return P8(_)}),update:function(n){return function(a){return g8(oo(t(a)))(function(){return P8(_)})}},view:function(n){return function(a){return r(_)}}}})}};function Tl(e){return function(){return function(t){return e(t)()}}}function jl(e){return function(t){return function(r){return function(n){return function(){return n.addEventListener(e,t,r)}}}}}function Ol(e){return function(t){return function(r){return function(n){return function(){return n.removeEventListener(e,t,r)}}}}}var wr=function(){return window};function p8(e){return e.body}var Bp=E(pe);var Gu=G;var D8=G,h8=G;var m8=function(e){return Bp(Re)(function(){return p8(e)})};var b8=G;var Qu=function(e){var t=K(e.Applicative0()),r=Wt(e.Plus1());return function(n){if(n)return t(_);if(!n)return r;throw new Error("Failed pattern match at Control.Alternative (line 48, column 1 - line 48, column 54): "+[n.constructor.name])}};function Mr(e){return function(){return e.document}}var X8=G;var H8="message";var x8="hashchange";var y8="popstate";var z8="keyup",L8="keydown";var B8="mouseup";var C8="mousemove";var F8=We(At),T8=E(pe),Vp=ct(Ot),j8=function(){var e=function(n){return function(a){return function(o){return F8(function(){var f=a(),i=Tl(function(l){return o(l)})();return jl(n)(i)(!1)(f)(),F8(Ol(n)(i)(!1)(f))})}}},t=function(n){return e(n)(T8(X8)(wr))},r=function(n){return e(n)(T8(D8)(Vp(Mr)(wr)))};return{hashchange:t(x8),mousemove:t(C8),mouseup:t(B8),popstate:t(y8),resize:t("resize"),message:t(H8),keydown:r(L8),keyup:r(z8),selectionchange:r("selectionchange"),visibilitychange:r("visibilitychange")}}();var O8=function(e){var t=zl(e);return function(){return function(){return t("button")}}};var M8=function(e){var t=zl(e);return function(){return function(){return t("a")}}};var N8=Fu()(),q0=function(e){return e},Yt=Ht(ka),rr=function(e){var t=O8(e)()();return function(){return function(){return function(r){return function(n){return function(a){return function(o){return t(N8(a)({className:r,"aria-label":n}))(o)}}}}}}};var Uu=function(e){return q0(Ht(e))},oa=function(e){var t=M8(e)()();return function(){return function(){return function(r){return function(n){return function(a){return function(o){return t(N8(a)({className:r,"aria-label":n}))(o)}}}}}}};var spe=typeof Array.from=="function",cpe=typeof Symbol!="undefined"&&Symbol!=null&&typeof Symbol.iterator!="undefined"&&typeof String.prototype[Symbol.iterator]=="function",dpe=typeof String.prototype.fromCodePoint=="function",Ape=typeof String.prototype.codePointAt=="function";function q8(e){return function(t){return function(){return t.getElementById(e)}}}var U0=E(pe),Su=function(e){var t=U0(Re),r=q8(e);return function(n){return t(r(n))}};var ku=function(e){return function(t){return function(){return t[e]}}},K0=ku("children"),S0=ku("firstElementChild"),k0=ku("lastElementChild"),J0=ku("childElementCount");var nm=An(Je)(jn),W8=E(it);var E8=ie(Ot),am=tt(pe);var Po=ke("\xA0"),R8=Ee(lt),Nr=$e(qe(lt)),om=function(e){var t=nm([e]),r=W8(Di);return function(n){return bt(t(r(n)))}},Ju=function(){var e=om(Po),t=W8(ke),r=vo(" ");return function(n){return e(t(r(n)))}}();var Y8=function(e){return E8(am(E8(wr)(Mr))(Gu))(Su(e))};var G8=function(){return G};var ua=Le(xe),Nl=gr(),um=$7(xe)()(),fm=Se(xe)()(),im=Se(ye)()(),lm=Le(ye),vm=rr(he)()(),sm=tr(xn),cm=un(Sr),dm=We(At),Q8=G8(),Vl=function(){return function(e){var t=ua("modal-backdrop fade show")(lt),r=Nl(e),n=Or(r.footer),a=Or(r.header),o=Te(r.size)(wl.value),u=en(" ")([function(){var i=Te(r.scrollable)(!0);return i?"modal-dialog-scrollable":""}(),function(){var i=Te(r.centered)(!0);return i?"modal-dialog-centered":""}(),y7(o),Te(r.dialogClass)("")]),f=um({focusTrapOptions:{escapeDeactivates:!1,fallbackFocus:".modal-content",allowOutsideClick:!0}})(ua("modal fade show d-block")(fm("modal-dialog "+u)({style:Te(r.dialogStyle)(ze({}))})(im("modal-content "+Te(r.contentClass)(""))({style:Te(r.contentStyle)(ze({}))})([Nr(a)(ua("modal-header "+Te(r.headerClass)(""))),ua("modal-body "+Te(r.bodyClass)(""))(r.body),Nr(n)(ua("modal-footer "+Te(r.footerClass)("")))]))));return bt([f,t])}},I8=Vl(),Z8=function(){return function(e){var t=Nl(e),r=lm("d-flex w-100 justify-content-between align-items-center")([ua("mr-4")(Te(t.title)(lt)),vm("btn btn-link large mr-n3 py-0 fe fe-x t--close "+Te(t.dismissButtonClass)("text-body"))(Uu("Close"))({type:"button",onClick:sm(t.onDismiss)})("")]),n=function(a){return cm(a.key==="Escape")(dm(t.onDismiss))};return s8(w8(j8.keyup)(n))(function(a){var o=Te(t.bodyScrollable)(!1);return I8(o?function(){var u=Nl(Q8(t));return{body:u.body,bodyClass:u.bodyClass,centered:u.centered,contentClass:u.contentClass,contentStyle:u.contentStyle,dialogClass:u.dialogClass,dialogStyle:u.dialogStyle,footer:u.footer,footerClass:u.footerClass,headerClass:u.headerClass,scrollable:u.scrollable,size:u.size,header:r}}():Q8({bodyClass:t.bodyClass,bodyScrollable:t.bodyScrollable,centered:t.centered,contentClass:t.contentClass,contentStyle:t.contentStyle,dialogClass:t.dialogClass,dialogStyle:t.dialogStyle,dismissButtonClass:t.dismissButtonClass,footer:t.footer,footerClass:t.footerClass,headerClass:t.headerClass,onDismiss:t.onDismiss,scrollable:t.scrollable,size:t.size,title:t.title,body:bt([r,t.body])}))})}};Tn();var U8=class extends br.Component{componentDidUpdate(t){this.props.componentDidUpdate(t.deps)}render(){return this.props.children}},K8=U8;var Am=ir();var S8=function(e){return"ref:"+gt(e)(et.value)},k8=function(e){var t=S8(e);return function(r){return Am(iu(t)(r))}},J8=function(e){var t=S8(e);return function(r){return Ri(t)(r)}};var Pm=Xn(),_8=st(rt)(_n),$8=K(Vt),wm=a8(r8(wc)),e3={reflectSymbol:function(){return"deps"}},pm=k8(e3),Dm=J8(e3),t3=ue(fe);var hm=function(e){var t=Pm(e);return function(){return function(){return t(K8)}}},mm=hm(xe)()(),r3=function(e){var t=wa(e);return function(r){return function(n){return function(a){return function(o){return na(r)(function(u){return n({init:_8(oo(o(a)))(function(){return $8(a)}),update:function(f){return function(i){return _8(oo(o(i)))(function(){return $8(i)})}},view:function(f){return function(i){return mm({componentDidUpdate:wm(i)(function(l){var v=t(pm(l))(a);return v?new V(a):W.value}),deps:Dm(a)})(u(_))}}})})}}}}},bm=r3(Yf),n3=function(e){var t=r3(e);return function(r){return function(n){return t("UseEffectPrime")(t3)(r)(n)}}},a3=function(e){return bm("UseEffect")(t3)(_)(ve(e))};var Xm=Yu(rt)(),Hm=We(At),xm=Le(xe),ym=Z8(),zm=Se(xe)()(),Lm=kr(x7),o3=function(e){return aa(Xm(a3(Hm(Lm(e))))(function(){return ra(xm(function(){return e.visible?"":"d-none"}())(ym({body:zm("")({id:e.targetId})(lt),onDismiss:e.onDismiss,size:pl.value})))}))};var u3=e=>()=>e.preventDefault&&e.preventDefault();var wo=function(){return u3};var f3=K(Vt),Bm=ue(fe);var Cm=function(e){return function(t){return function(r){return na(e)(function(n){return t({init:f3(r),update:function(a){return function(o){return f3(o)}},view:Ha(n)})})}}},pr=function(e){return Cm("UseState")(Bm)(e)};var ql=typeof CV!="undefined"&&CV.assetsRoot||typeof global!="undefined"&&global.CV&&global.CV.assetsRoot||"/";var Wl=yr(Vn(Xt)),Fm=ue(fe),Tm=Mu()(),_u=function(e){var t=Ga(e);return function(r){return vn(t(r))}},yn=function(e){if(Wl(_u("http://"))(Wl(_u("https://"))(Wl(_u("//"))(_u("blob:"))))(e))return e;if(Ye)return ql+Ee(e)(Ga("/")(e));throw new Error("Failed pattern match at Utils.AppAssets (line 47, column 1 - line 47, column 30): "+[e.constructor.name])},po=function(){return function(){return function(e){return function(t){var r=function(a){return Fm},n=r(t)(_c("src")(yn(t.src))(t));return Tm(e)(n)}}}},jm=po()(),xt=function(e){return function(t){return jm(e)({src:t})}};var Om=Se(xe)()(),Mm=Pr(ye),Nm=Le(ye),Vm=nn(he),i3=function(e){var t=function(r){return Om("w-100 "+function(){return r.mobile?"d-md-none":"d-none d-md-block"}())({style:ze({backgroundImage:"url("+(yn("/img/landing/agents/footer-gradient.svg")+")"),backgroundSize:"cover",backgroundPosition:"top center",height:function(){return r.mobile?"100px":"200px"}()})})(lt)};return Mm("")([Nm("container pt-8 pt-md-10 text-center")([Vm("h1 font-serif mb-4")("Build a more cohesive institution with AI"),e.demoRequestButton]),t({mobile:!0}),t({mobile:!1})])};var l3="/agents/recruiter",v3="/agents/ambassador",s3="/agents/advisor";var Wm=function(){function e(u){this.fn=u}var t={},r=function(u,f){this.head=u,this.tail=f};function n(u){return new r(u,t)}function a(u){return function(f){return new r(u,f)}}function o(u){for(var f=[],i=u;i!==t;)f.push(i.head),i=i.tail;return f}return function(u,f,i){var l=function(D,s){return u(f(a)(i(D)))(s)},v=function(D,s,c){if(s===0)return D;var w=c[s-1];return new e(function(){var P=v(l(w,D),s-1,c);return P})};return function(D){for(var s=f(n)(i(D[D.length-1])),c=v(s,D.length-1,D);c instanceof e;)c=c.fn();return f(o)(c)}}}();var Qm={info:"info",warning:"warn",error:"error"},El=e=>t=>r=>n=>{let a=Qm[e];if(typeof console!="undefined"&&console[a]&&console[a](t,r),typeof window!="undefined"){let o=new Error(t);typeof window.Sentry!="undefined"&&window.Sentry.captureException(o,{extra:r})}return n()},c3=(e,t)=>(t.__sentryFingerprint=e,t);var d3=function(e){return Br(c3)(e)};var A3="error";var g3={parseOrPanic:function(e){return function(t){var r=e.parse(t);if(r instanceof te)return r.value0;if(r instanceof ee)return El(A3)("Failed to parse "+e.diagnosticName)({error:r.value0,value:t})(function(n){return e.default});throw new Error("Failed pattern match at Utils.Parse (line 49, column 5 - line 57, column 24): "+[r.constructor.name])}}},Rl=function(e){return e.parseOrPanic};var nr=function(){function e(){}return e.value=new e,e}(),ar=function(){function e(){}return e.value=new e,e}(),Gt=function(){function e(){}return e.value=new e,e}();var P3=function(e){if(e instanceof nr)return"advisor-demo";if(e instanceof ar)return"ambassador-demo";if(e instanceof Gt)return"landing-page-demo";throw new Error("Failed pattern match at Trellis.Types.Agent (line 34, column 12 - line 37, column 35): "+[e.constructor.name])};var $u=function(e){if(e instanceof nr)return"Maple";if(e instanceof ar)return"Noa";if(e instanceof Gt)return"Sarah";throw new Error("Failed pattern match at Trellis.Types.Agent (line 22, column 8 - line 25, column 23): "+[e.constructor.name])},Do=function(e){if(e instanceof nr)return"AI Advisor";if(e instanceof ar)return"AI Ambassador";if(e instanceof Gt)return"AI Recruiter";throw new Error("Failed pattern match at Trellis.Types.Agent (line 28, column 8 - line 31, column 30): "+[e.constructor.name])};var ef=Le(ye),w3=Le(xe),p3=Le(he),D3=rn(he),h3=tn(he),Im=oa(ye)()(),m3=Ft(he),b3=function(){var e=function(f){if(f instanceof nr)return s3;if(f instanceof ar)return v3;if(f instanceof Gt)return l3;throw new Error("Failed pattern match at Landing.Main.Features (line 107, column 16 - line 110, column 53): "+[f.constructor.name])},t=function(f){if(f instanceof nr)return"Give every student on campus a best friend";if(f instanceof ar)return"Build your alumni community by using AI to drive connections";if(f instanceof Gt)return"Increase enrollment by connecting students with your unique brand";throw new Error("Failed pattern match at Landing.Main.Features (line 81, column 18 - line 84, column 93): "+[f.constructor.name])},r=function(f){if(f instanceof nr)return` Your AI Advisor guides your students through their entire university lives, helping them choose classes, responding to their questions, finding new opportunities for them, and checking in on them to keep them on track. `;if(f instanceof ar)return` Your AI Ambassador works with all of your living alumni to help them connect with each other, tap into job opportunities, and expand their personal networks. `;if(f instanceof Gt)return` Your AI Recruiter manages your entire funnel, hyper-personalizing marketing, recruiting prospective students, and collaborating with your admissions team to process applications. `;throw new Error("Failed pattern match at Landing.Main.Features (line 86, column 21 - line 105, column 12): "+[f.constructor.name])},n=function(f){if(f instanceof nr)return"For current students";if(f instanceof ar)return"For alumni";if(f instanceof Gt)return"For prospective students";throw new Error("Failed pattern match at Landing.Main.Features (line 76, column 21 - line 79, column 52): "+[f.constructor.name])},a=function(f){if(f instanceof nr)return"Explore AI advising";if(f instanceof ar)return"Explore AI ambassadorship";if(f instanceof Gt)return"Explore AI recruiting";throw new Error("Failed pattern match at Landing.Main.Features (line 112, column 21 - line 115, column 49): "+[f.constructor.name])},o=function(f){if(f instanceof nr)return"/img/landing/main/students.png";if(f instanceof ar)return"/img/landing/main/alumni.png";if(f instanceof Gt)return"/img/landing/main/prospects.png";throw new Error("Failed pattern match at Landing.Main.Features (line 71, column 18 - line 74, column 59): "+[f.constructor.name])},u=function(f){return ef("row mt-8 mt-md-12 align-items-center")([w3("col-12 col-md-6 py-3 "+function(){return f.reversed?"order-md-2 pl-md-6":"pr-md-6"}())(xt("img-fluid")(o(f.agent))),ef("col-12 col-md-6 py-3 "+function(){return f.reversed?"order-md-1 pr-md-6":"pl-md-6"}())([p3("small font-weight-bold fw-bold text-lilac")(n(f.agent)),D3("h1 mt-3 font-serif")(t(f.agent)),h3("mt-3")(r(f.agent)),w3("mt-7")(Im("text-body text-decoration-none d-inline-flex align-items-center")(Yt)({href:e(f.agent)})([m3("hover-underline")(a(f.agent)),m3("material-symbol ml-2")("arrow_right_alt")]))])])};return ef("container py-8 py-md-10")([u({agent:Gt.value,reversed:!0}),u({agent:nr.value,reversed:!1}),u({agent:ar.value,reversed:!0}),Se(xe)()()("card rounded-xl mt-8 mt-md-11 mb-6")({style:ze({backgroundColor:"#f2efe8",backgroundImage:"url("+(yn("/img/landing/main/coming-soon-gradient.svg")+")"),backgroundSize:"cover"})})(ef("card-body")([p3("small font-weight-bold fw-bold text-lilac")("Coming soon"),D3("h1 mt-3 font-serif")(` Help your staff and faculty work smarter with enterprise search and autonomous agents `),h3("mt-3")(` Agency goes both ways. Supercharge your internal operations by using AI agents that can search for information and action upon it alongside your faculty and staff. `)]))])}();var X3=typeof CV!="undefined"&&CV.pathInfo||typeof global!="undefined"&&global.CV&&global.CV.pathInfo||(e=>null);function H3(e,t){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(e,t)}function x3(e,t,r,n,a){return function(o,u){var f=e.newXHR(),i=e.fixupUrl(a.url,f);if(f.open(a.method||"GET",i,!0,a.username,a.password),a.headers)try{for(var l=0,v;(v=a.headers[l])!=null;l++)f.setRequestHeader(v.field,v.value)}catch(s){o(s)}var D=function(s){return function(){o(new Error(s))}};return f.onerror=D(r),f.ontimeout=D(t),f.onload=function(){u({status:f.status,statusText:f.statusText,headers:f.getAllResponseHeaders().split(`\r `).filter(function(s){return s.length>0}).map(function(s){var c=s.indexOf(":");return n(s.substring(0,c))(s.substring(c+2))}),body:f.response})},f.responseType=a.responseType,f.withCredentials=a.withCredentials,f.timeout=a.timeout,f.send(a.content),function(s,c,w){try{f.abort()}catch(P){return c(P)}return w()}}}var tf="application/json",y3="application/x-www-form-urlencoded";var z3=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),L3=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),B3=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),C3=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),F3=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Yl=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),rf=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),T3=function(e){return e instanceof Yl?new V(y3):e instanceof rf?new V(tf):W.value};var j3=function(){return rf.create}();var O3=Et();var nf=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),af=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),fa=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}(),M3=function(e){if(e instanceof nf||e instanceof af)return O3(e.value0);if(e instanceof fa)return e.value1;throw new Error("Failed pattern match at Affjax.RequestHeader (line 26, column 1 - line 26, column 33): "+[e.constructor.name])};var Gl=function(e){if(e instanceof nf)return"Accept";if(e instanceof af)return"Content-Type";if(e instanceof fa)return e.value0;throw new Error("Failed pattern match at Affjax.RequestHeader (line 21, column 1 - line 21, column 32): "+[e.constructor.name])};var N3=ue(fe),Ql=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Il=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Zl=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),of=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),uf=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),ff=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),V3=function(e){if(e instanceof Ql)return"arraybuffer";if(e instanceof Il)return"blob";if(e instanceof Zl)return"document";if(e instanceof of||e instanceof uf)return"text";if(e instanceof ff)return"";throw new Error("Failed pattern match at Affjax.ResponseFormat (line 44, column 3 - line 50, column 19): "+[e.constructor.name])},q3=function(e){return e instanceof of?new V(tf):W.value},W3=function(){return new uf(N3)}();var E3=function(){return new ff(N3)}();var R3=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}();var Um=Et();var Y3=function(e){return Um(bi(e))};function or(e){return e}function Ul(e){return JSON.stringify(e)}var G3=or(ou);function Q3(e,t,r){try{return t(JSON.parse(r))}catch(n){return e(n.message)}}var lf=function(e){return Q3(ee.create,te.create,e)};function I3(e){return e.replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16)})}function Z3(e,t,r){try{return t(I3(encodeURIComponent(r)))}catch(n){return e(n)}}function U3(e,t,r){try{return t(I3(encodeURIComponent(r)).replace(/%20/g,"+"))}catch(n){return e(n)}}var Kl=function(){return Fa(Z3)(ve(W.value))(V.create)}();var vf=function(){return Fa(U3)(ve(W.value))(V.create)}();var Km=Ve(mr),K3=E(Ce),Sm=sr(gn)(lr);var km=function(e){return e};var S3=function(){var e=function(n){if(n.value1 instanceof W)return vf(n.value0);if(n.value1 instanceof V)return Km(K3(function(a){return function(o){return a+("="+o)}})(vf(n.value0)))(vf(n.value1.value0));throw new Error("Failed pattern match at Data.FormURLEncoded (line 37, column 16 - line 39, column 114): "+[n.constructor.name])},t=K3(en("&")),r=Sm(e);return function(n){return t(r(km(n)))}}();var Sl=function(){function e(){}return e.value=new e,e}(),zn=function(){function e(){}return e.value=new e,e}(),kl=function(){function e(){}return e.value=new e,e}(),ia=function(){function e(){}return e.value=new e,e}(),sf=function(){function e(){}return e.value=new e,e}(),ho=function(){function e(){}return e.value=new e,e}(),Jl=function(){function e(){}return e.value=new e,e}(),_l=function(){function e(){}return e.value=new e,e}(),$l=function(){function e(){}return e.value=new e,e}(),ev=function(){function e(){}return e.value=new e,e}(),tv=function(){function e(){}return e.value=new e,e}(),rv=function(){function e(){}return e.value=new e,e}(),nv=function(){function e(){}return e.value=new e,e}(),av=function(){function e(){}return e.value=new e,e}(),ov=function(){function e(){}return e.value=new e,e}(),cf=function(){function e(){}return e.value=new e,e}();var Jm=function(e){return e},_m={show:function(e){if(e instanceof Sl)return"OPTIONS";if(e instanceof zn)return"GET";if(e instanceof kl)return"HEAD";if(e instanceof ia)return"POST";if(e instanceof sf)return"PUT";if(e instanceof ho)return"DELETE";if(e instanceof Jl)return"TRACE";if(e instanceof _l)return"CONNECT";if(e instanceof $l)return"PROPFIND";if(e instanceof ev)return"PROPPATCH";if(e instanceof tv)return"MKCOL";if(e instanceof rv)return"COPY";if(e instanceof nv)return"MOVE";if(e instanceof av)return"LOCK";if(e instanceof ov)return"UNLOCK";if(e instanceof cf)return"PATCH";throw new Error("Failed pattern match at Data.HTTP.Method (line 43, column 1 - line 59, column 23): "+[e.constructor.name])}};var k3=ut(se(_m))(Jm);var J3={eq:function(e){return function(t){return e instanceof Sl&&t instanceof Sl||e instanceof zn&&t instanceof zn||e instanceof kl&&t instanceof kl||e instanceof ia&&t instanceof ia||e instanceof sf&&t instanceof sf||e instanceof ho&&t instanceof ho||e instanceof Jl&&t instanceof Jl||e instanceof _l&&t instanceof _l||e instanceof $l&&t instanceof $l||e instanceof ev&&t instanceof ev||e instanceof tv&&t instanceof tv||e instanceof rv&&t instanceof rv||e instanceof nv&&t instanceof nv||e instanceof av&&t instanceof av||e instanceof ov&&t instanceof ov||e instanceof cf&&t instanceof cf}}};var _3=function(e){return Yn(function(t){return function(){var n=e(function(a){return t(ee.create(a))()},function(a){return t(te.create(a))()});return function(a){return Yn(function(o){return function(){return n(a,function(f){return o(ee.create(f))()},function(f){return o(te.create(f))()}),xc}})}}})};var uv=K(Wa(Yr)),$m=Vi(Yr),Ln=Uc(Yr),$3=pt(Pc(Nc)(Yr)),eb=Kf(Xi(Yr)),df=E(Ce),tb=Qr(Je)(Xt),rb=De(kt),nb=ct(Zt),ab=E(it),ub=tt(Li),fb=Ma(Bi),ib=K(Sr);var Af=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),gf=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}(),Pf=function(){function e(){}return e.value=new e,e}(),wf=function(){function e(){}return e.value=new e,e}(),pf=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),e1=function(e){return function(t){var r=function(v){return v===""?uv(G3):ut(function(D){return $m(Ni.create(D))})(uv)(lf(v))},n=function(){if(t.responseFormat instanceof Ql)return Ln("ArrayBuffer");if(t.responseFormat instanceof Il)return Ln("Blob");if(t.responseFormat instanceof Zl)return function(v){return $3(Ln("Document")(v))($3(Ln("XMLDocument")(v))(Ln("HTMLDocument")(v)))};if(t.responseFormat instanceof of)return eb(function(v){return t.responseFormat.value0(r(v))})(Ln("String"));if(t.responseFormat instanceof uf)return Ln("String");if(t.responseFormat instanceof ff)return ve(t.responseFormat.value0(uv(_)));throw new Error("Failed pattern match at Affjax (line 274, column 18 - line 283, column 57): "+[t.responseFormat.constructor.name])}(),a=function(v){if(v instanceof z3)return new te(v.value0(Ht));if(v instanceof L3)return new te(Ht(v.value0));if(v instanceof B3)return new te(Ht(v.value0));if(v instanceof C3)return new te(Ht(v.value0));if(v instanceof F3)return new te(Ht(v.value0));if(v instanceof Yl)return Jf("Body contains values that cannot be encoded as application/x-www-form-urlencoded")(df(Ht)(S3(v.value0)));if(v instanceof rf)return new te(Ht(Ul(v.value0)));throw new Error("Failed pattern match at Affjax (line 235, column 20 - line 250, column 69): "+[v.constructor.name])},o=function(v){return function(D){return v instanceof V&&!tb(Wf(rb)(Gl)(v.value0))(D)?Io(D)(v.value0):D}},u=function(v){return o(df(af.create)(nb(T3)(v)))(o(df(nf.create)(q3(t.responseFormat)))(t.headers))},f=function(v){return{method:k3(t.method),url:t.url,headers:ab(function(D){return{field:Gl(D),value:M3(D)}})(u(t.content)),content:v,responseType:V3(t.responseFormat),username:dr(t.username),password:dr(t.password),withCredentials:t.withCredentials,timeout:Ee(0)(df(function(D){return D})(t.timeout))}},i=function(v){return ub(fb(_3(x3(e,"AffjaxTimeoutErrorMessageIdent","AffjaxRequestFailedMessageIdent",R3.create,f(v)))))(function(D){if(D instanceof te){var s=Y3(n(D.value0.body));if(s instanceof ee)return new ee(new gf(Wc(s.value0),D.value0));if(s instanceof te)return new te({headers:D.value0.headers,status:D.value0.status,statusText:D.value0.statusText,body:s.value0});throw new Error("Failed pattern match at Affjax (line 209, column 9 - line 211, column 52): "+[s.constructor.name])}if(D instanceof ee)return new ee(function(){var c=Gn(D.value0),w=c==="AffjaxTimeoutErrorMessageIdent";if(w)return Pf.value;var P=c==="AffjaxRequestFailedMessageIdent";return P?wf.value:new pf(D.value0)}());throw new Error("Failed pattern match at Affjax (line 207, column 144 - line 219, column 28): "+[D.constructor.name])})};if(t.content instanceof W)return i(dr(W.value));if(t.content instanceof V){var l=a(t.content.value0);if(l instanceof te)return i(dr(new V(l.value0)));if(l instanceof ee)return ib(new ee(new Af(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): "+[t.content.constructor.name])}};var la=function(){return{method:new ee(zn.value),url:"/",headers:[],content:W.value,username:W.value,password:W.value,withCredentials:!1,responseFormat:E3,timeout:W.value}}();var t1={eq:function(e){return function(t){return e===t}}};var fv={newXHR:function(){return new XMLHttpRequest},fixupUrl:function(e){return e||"/"}};var r1=e1(fv);function n1(e){return Buffer.from(e).toString("base64")}function a1(e,t,r){let n;try{n=t(btoa(r))}catch(a){n=e(a)}return n}var iv=typeof btoa=="function";function o1(e){let t=32768,r=[];for(let n=0;n