vendor: 9,334 bytes, lines 1-17
1(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const c of o)if(c.type==="childList")for(const h of c.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&a(h)}).observe(document,{childList:!0,subtree:!0});function s(o){const c={};return o.integrity&&(c.integrity=o.integrity),o.referrerPolicy&&(c.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?c.credentials="include":o.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function a(o){if(o.ep)return;o.ep=!0;const c=s(o);fetch(o.href,c)}})();var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jsxRuntime={exports:{}},reactJsxRuntime_production_min={},react={exports:{}},react_production_min={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var l$1=Symbol.for("react.element"),n$1=Symbol.for("react.portal"),p$2=Symbol.for("react.fragment"),q$1=Symbol.for("react.strict_mode"),r=Symbol.for("react.profiler"),t=Symbol.for("react.provider"),u=Symbol.for("react.context"),v$1=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),x=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),z$1=Symbol.iterator;function A$1(e){return e===null||typeof e!="object"?null:(e=z$1&&e[z$1]||e["@@iterator"],typeof e=="function"?e:null)}var B$1={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C$1=Object.assign,D$1={};function E$1(e,i,s){this.props=e,this.context=i,this.refs=D$1,this.updater=s||B$1}E$1.prototype.isReactComponent={};E$1.prototype.setState=function(e,i){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,i,"setState")};E$1.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function F(){}F.prototype=E$1.prototype;function G$1(e,i,s){this.props=e,this.context=i,this.refs=D$1,this.updater=s||B$1}var H$1=G$1.prototype=new F;H$1.constructor=G$1;C$1(H$1,E$1.prototype);H$1.isPureReactComponent=!0;var I$1=Array.isArray,J=Object.prototype.hasOwnProperty,K$1={current:null},L$1={key:!0,ref:!0,__self:!0,__source:!0};function M$1(e,i,s){var a,o={},c=null,h=null;if(i!=null)for(a in i.ref!==void 0&&(h=i.ref),i.key!==void 0&&(c=""+i.key),i)J.call(i,a)&&!L$1.hasOwnProperty(a)&&(o[a]=i[a]);var d=arguments.length-2;if(d===1)o.children=s;else if(1<d){for(var g=Array(d),b=0;b<d;b++)g[b]=arguments[b+2];o.children=g}if(e&&e.defaultProps)for(a in d=e.defaultProps,d)o[a]===void 0&&(o[a]=d[a]);return{$$typeof:l$1,type:e,key:c,ref:h,props:o,_owner:K$1.current}}function N$1(e,i){return{$$typeof:l$1,type:e.type,key:i,ref:e.ref,props:e.props,_owner:e._owner}}function O$1(e){return typeof e=="object"&&e!==null&&e.$$typeof===l$1}function escape(e){var i={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(s){return i[s]})}var P$1=/\/+/g;function Q$1(e,i){return typeof e=="object"&&e!==null&&e.key!=null?escape(""+e.key):i.toString(36)}function R$1(e,i,s,a,o){var c=typeof e;(c==="undefined"||c==="boolean")&&(e=null);var h=!1;if(e===null)h=!0;else switch(c){case"string":case"number":h=!0;break;case"object":switch(e.$$typeof){case l$1:case n$1:h=!0}}if(h)return h=e,o=o(h),e=a===""?"."+Q$1(h,0):a,I$1(o)?(s="",e!=null&&(s=e.replace(P$1,"$&/")+"/"),R$1(o,i,s,"",function(b){return b})):o!=null&&(O$1(o)&&(o=N$1(o,s+(!o.key||h&&h.key===o.key?"":(""+o.key).replace(P$1,"$&/")+"/")+e)),i.push(o)),1;if(h=0,a=a===""?".":a+":",I$1(e))for(var d=0;d<e.length;d++){c=e[d];var g=a+Q$1(c,d);h+=R$1(c,i,s,g,o)}else if(g=A$1(e),typeof g=="function")for(e=g.call(e),d=0;!(c=e.next()).done;)c=c.value,g=a+Q$1(c,d++),h+=R$1(c,i,s,g,o);else if(c==="object")throw i=String(e),Error("Objects are not valid as a React child (found: "+(i==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.");return h}function S$1(e,i,s){if(e==null)return e;var a=[],o=0;return R$1(e,a,"","",function(c){return i.call(s,c,o++)}),a}function T$1(e){if(e._status===-1){var i=e._result;i=i(),i.then(function(s){(e._status===0||e._status===-1)&&(e._status=1,e._result=s)},function(s){(e._status===0||e._status===-1)&&(e._status=2,e._result=s)}),e._status===-1&&(e._status=0,e._result=i)}if(e._status===1)return e._result.default;throw e._result}var U$1={current:null},V$1={transition:null},W$1={ReactCurrentDispatcher:U$1,ReactCurrentBatchConfig:V$1,ReactCurrentOwner:K$1};function X$1(){throw Error("act(...) is not supported in production builds of React.")}react_production_min.Children={map:S$1,forEach:function(e,i,s){S$1(e,function(){i.apply(this,arguments)},s)},count:function(e){var i=0;return S$1(e,function(){i++}),i},toArray:function(e){return S$1(e,function(i){return i})||[]},only:function(e){if(!O$1(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};react_production_min.Component=E$1;react_production_min.Fragment=p$2;react_production_min.Profiler=r;react_production_min.PureComponent=G$1;react_production_min.StrictMode=q$1;react_production_min.Suspense=w;react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W$1;react_production_min.act=X$1;react_production_min.cloneElement=function(e,i,s){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=C$1({},e.props),o=e.key,c=e.ref,h=e._owner;if(i!=null){if(i.ref!==void 0&&(c=i.ref,h=K$1.current),i.key!==void 0&&(o=""+i.key),e.type&&e.type.defaultProps)var d=e.type.defaultProps;for(g in i)J.call(i,g)&&!L$1.hasOwnProperty(g)&&(a[g]=i[g]===void 0&&d!==void 0?d[g]:i[g])}var g=arguments.length-2;if(g===1)a.children=s;else if(1<g){d=Array(g);for(var b=0;b<g;b++)d[b]=arguments[b+2];a.children=d}return{$$typeof:l$1,type:e.type,key:o,ref:c,props:a,_owner:h}};react_production_min.createContext=function(e){return e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:t,_context:e},e.Consumer=e};react_production_min.createElement=M$1;react_production_min.createFactory=function(e){var i=M$1.bind(null,e);return i.type=e,i};react_production_min.createRef=function(){return{current:null}};react_production_min.forwardRef=function(e){return{$$typeof:v$1,render:e}};react_production_min.isValidElement=O$1;react_production_min.lazy=function(e){return{$$typeof:y,_payload:{_status:-1,_result:e},_init:T$1}};react_production_min.memo=function(e,i){return{$$typeof:x,type:e,compare:i===void 0?null:i}};react_production_min.startTransition=function(e){var i=V$1.transition;V$1.transition={};try{e()}finally{V$1.transition=i}};react_production_min.unstable_act=X$1;react_production_min.useCallback=function(e,i){return U$1.current.useCallback(e,i)};react_production_min.useContext=function(e){return U$1.current.useContext(e)};react_production_min.useDebugValue=function(){};react_production_min.useDeferredValue=function(e){return U$1.current.useDeferredValue(e)};react_production_min.useEffect=function(e,i){return U$1.current.useEffect(e,i)};react_production_min.useId=function(){return U$1.current.useId()};react_production_min.useImperativeHandle=function(e,i,s){return U$1.current.useImperativeHandle(e,i,s)};react_production_min.useInsertionEffect=function(e,i){return U$1.current.useInsertionEffect(e,i)};react_production_min.useLayoutEffect=function(e,i){return U$1.current.useLayoutEffect(e,i)};react_production_min.useMemo=function(e,i){return U$1.current.useMemo(e,i)};react_production_min.useReducer=function(e,i,s){return U$1.current.useReducer(e,i,s)};react_production_min.useRef=function(e){return U$1.current.useRef(e)};react_production_min.useState=function(e){return U$1.current.useState(e)};react_production_min.useSyncExternalStore=function(e,i,s){return U$1.current.useSyncExternalStore(e,i,s)};react_production_min.useTransition=function(){return U$1.current.useTransition()};react_production_min.version="18.3.1";react.exports=react_production_min;var reactExports=react.exports;const React=getDefaultExportFromCjs(reactExports);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var f=reactExports,k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m$1=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p$1={key:!0,ref:!0,__self:!0,__source:!0};function q(e,i,s){var a,o={},c=null,h=null;s!==void 0&&(c=""+s),i.key!==void 0&&(c=""+i.key),i.ref!==void 0&&(h=i.ref);
vendor: 4,812 bytes, lines 17-25
17for(a in i)m$1.call(i,a)&&!p$1.hasOwnProperty(a)&&(o[a]=i[a]);if(e&&e.defaultProps)for(a in i=e.defaultProps,i)o[a]===void 0&&(o[a]=i[a]);return{$$typeof:k,type:e,key:c,ref:h,props:o,_owner:n.current}}reactJsxRuntime_production_min.Fragment=l;reactJsxRuntime_production_min.jsx=q;reactJsxRuntime_production_min.jsxs=q;jsxRuntime.exports=reactJsxRuntime_production_min;var jsxRuntimeExports=jsxRuntime.exports,client={},reactDom={exports:{}},reactDom_production_min={},scheduler={exports:{}},scheduler_production_min={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(e){function i(at,ct){var gt=at.length;at.push(ct);e:for(;0<gt;){var mt=gt-1>>>1,Et=at[mt];if(0<o(Et,ct))at[mt]=ct,at[gt]=Et,gt=mt;else break e}}function s(at){return at.length===0?null:at[0]}function a(at){if(at.length===0)return null;var ct=at[0],gt=at.pop();if(gt!==ct){at[0]=gt;e:for(var mt=0,Et=at.length,Pt=Et>>>1;mt<Pt;){var Ct=2*(mt+1)-1,jt=at[Ct],At=Ct+1,Mt=at[At];if(0>o(jt,gt))At<Et&&0>o(Mt,jt)?(at[mt]=Mt,at[At]=gt,mt=At):(at[mt]=jt,at[Ct]=gt,mt=Ct);else if(At<Et&&0>o(Mt,gt))at[mt]=Mt,at[At]=gt,mt=At;else break e}}return ct}function o(at,ct){var gt=at.sortIndex-ct.sortIndex;return gt!==0?gt:at.id-ct.id}if(typeof performance=="object"&&typeof performance.now=="function"){var c=performance;e.unstable_now=function(){return c.now()}}else{var h=Date,d=h.now();e.unstable_now=function(){return h.now()-d}}var g=[],b=[],j=1,tt=null,_=3,nt=!1,rt=!1,it=!1,ut=typeof setTimeout=="function"?setTimeout:null,_e=typeof clearTimeout=="function"?clearTimeout:null,et=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function $(at){for(var ct=s(b);ct!==null;){if(ct.callback===null)a(b);else if(ct.startTime<=at)a(b),ct.sortIndex=ct.expirationTime,i(g,ct);else break;ct=s(b)}}function st(at){if(it=!1,$(at),!rt)if(s(g)!==null)rt=!0,ft(ot);else{var ct=s(b);ct!==null&&dt(st,ct.startTime-at)}}function ot(at,ct){rt=!1,it&&(it=!1,_e(pt),pt=-1),nt=!0;var gt=_;try{for($(ct),tt=s(g);tt!==null&&(!(tt.expirationTime>ct)||at&&!xt());){var mt=tt.callback;if(typeof mt=="function"){tt.callback=null,_=tt.priorityLevel;var Et=mt(tt.expirationTime<=ct);ct=e.unstable_now(),typeof Et=="function"?tt.callback=Et:tt===s(g)&&a(g),$(ct)}else a(g);tt=s(g)}if(tt!==null)var Pt=!0;else{var Ct=s(b);Ct!==null&&dt(st,Ct.startTime-ct),Pt=!1}return Pt}finally{tt=null,_=gt,nt=!1}}var lt=!1,ht=null,pt=-1,vt=5,St=-1;function xt(){return!(e.unstable_now()-St<vt)}function yt(){if(ht!==null){var at=e.unstable_now();St=at;var ct=!0;try{ct=ht(!0,at)}finally{ct?kt():(lt=!1,ht=null)}}else lt=!1}var kt;if(typeof et=="function")kt=function(){et(yt)};else if(typeof MessageChannel<"u"){var wt=new MessageChannel,bt=wt.port2;wt.port1.onmessage=yt,kt=function(){bt.postMessage(null)}}else kt=function(){ut(yt,0)};function ft(at){ht=at,lt||(lt=!0,kt())}function dt(at,ct){pt=ut(function(){at(e.unstable_now())},ct)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(at){at.callback=null},e.unstable_continueExecution=function(){rt||nt||(rt=!0,ft(ot))},e.unstable_forceFrameRate=function(at){0>at||125<at?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):vt=0<at?Math.floor(1e3/at):5},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_getFirstCallbackNode=function(){return s(g)},e.unstable_next=function(at){switch(_){case 1:case 2:case 3:var ct=3;break;default:ct=_}var gt=_;_=ct;try{return at()}finally{_=gt}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(at,ct){switch(at){case 1:case 2:case 3:case 4:case 5:break;default:at=3}var gt=_;_=at;try{return ct()}finally{_=gt}},e.unstable_scheduleCallback=function(at,ct,gt){var mt=e.unstable_now();switch(typeof gt=="object"&>!==null?(gt=gt.delay,gt=typeof gt=="number"&&0<gt?mt+gt:mt):gt=mt,at){case 1:var Et=-1;break;case 2:Et=250;break;case 5:Et=1073741823;break;case 4:Et=1e4;break;default:Et=5e3}return Et=gt+Et,at={id:j++,callback:ct,priorityLevel:at,startTime:gt,expirationTime:Et,sortIndex:-1},gt>mt?(at.sortIndex=gt,i(b,at),s(g)===null&&at===s(b)&&(it?(_e(pt),pt=-1):it=!0,dt(st,gt-mt))):(at.sortIndex=Et,i(g,at),rt||nt||(rt=!0,ft(ot))),at},e.unstable_shouldYield=xt,e.unstable_wrapCallback=function(at){var ct=_;return function(){var gt=_;_=ct;
vendor: 4,377 bytes, lines 25-33
25try{return at.apply(this,arguments)}finally{_=gt}}}})(scheduler_production_min);scheduler.exports=scheduler_production_min;var schedulerExports=scheduler.exports;/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var aa=reactExports,ca=schedulerExports;function p(e){for(var i="https://reactjs.org/docs/error-decoder.html?invariant="+e,s=1;s<arguments.length;s++)i+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+e+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var da=new Set,ea={};function fa(e,i){ha(e,i),ha(e+"Capture",i)}function ha(e,i){for(ea[e]=i,e=0;e<i.length;e++)da.add(i[e])}var ia=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ja=Object.prototype.hasOwnProperty,ka=/^[: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]*$/,la={},ma={};function oa(e){return ja.call(ma,e)?!0:ja.call(la,e)?!1:ka.test(e)?ma[e]=!0:(la[e]=!0,!1)}function pa(e,i,s,a){if(s!==null&&s.type===0)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":return a?!1:s!==null?!s.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function qa(e,i,s,a){if(i===null||typeof i>"u"||pa(e,i,s,a))return!0;if(a)return!1;if(s!==null)switch(s.type){case 3:return!i;case 4:return i===!1;case 5:return isNaN(i);case 6:return isNaN(i)||1>i}return!1}function v(e,i,s,a,o,c,h){this.acceptsBooleans=i===2||i===3||i===4,this.attributeName=a,this.attributeNamespace=o,this.mustUseProperty=s,this.propertyName=e,this.type=i,this.sanitizeURL=c,this.removeEmptyString=h}var z={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){z[e]=new v(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var i=e[0];z[i]=new v(i,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){z[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){z[e]=new v(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){z[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){z[e]=new v(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){z[e]=new v(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){z[e]=new v(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){z[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)});var ra=/[\-:]([a-z])/g;function sa(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
33-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 i=e.replace(ra,sa);z[i]=new v(i,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var i=e.replace(ra,sa);z[i]=new v(i,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var i=e.replace(ra,sa);z[i]=new v(i,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){z[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)});z.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){z[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)});function ta(e,i,s,a){var o=z.hasOwnProperty(i)?z[i]:null;(o!==null?o.type!==0:a||!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(qa(i,s,o,a)&&(s=null),a||o===null?oa(i)&&(s===null?e.removeAttribute(i):e.setAttribute(i,""+s)):o.mustUseProperty?e[o.propertyName]=s===null?o.type===3?!1:"":s:(i=o.attributeName,a=o.attributeNamespace,s===null?e.removeAttribute(i):(o=o.type,s=o===3||o===4&&s===!0?"":""+s,a?e.setAttributeNS(a,i,s):e.setAttribute(i,s))))}var ua=aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,va=Symbol.for("react.element"),wa=Symbol.for("react.portal"),ya=Symbol.for("react.fragment"),za=Symbol.for("react.strict_mode"),Aa=Symbol.for("react.profiler"),Ba=Symbol.for("react.provider"),Ca=Symbol.for("react.context"),Da=Symbol.for("react.forward_ref"),Ea=Symbol.for("react.suspense"),Fa=Symbol.for("react.suspense_list"),Ga=Symbol.for("react.memo"),Ha=Symbol.for("react.lazy"),Ia=Symbol.for("react.offscreen"),Ja=Symbol.iterator;function Ka(e){return e===null||typeof e!="object"?null:(e=Ja&&e[Ja]||e["@@iterator"],typeof e=="function"?e:null)}var A=Object.assign,La;function Ma(e){if(La===void 0)try{throw Error()}catch(s){var i=s.stack.trim().match(/\n( *(at )?)/);La=i&&i[1]||""}return` 34`+La+e}var Na=!1;function Oa(e,i){if(!e||Na)return"";Na=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(i)if(i=function(){throw Error()},Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(b){var a=b}Reflect.construct(e,[],i)}else{try{i.call()}catch(b){a=b}e.call(i.prototype)}else{try{throw Error()}catch(b){a=b}e()}}catch(b){if(b&&a&&typeof b.stack=="string"){for(var o=b.stack.split(` 35`),c=a.stack.split(` 36`),h=o.length-1,d=c.length-1;1<=h&&0<=d&&o[h]!==c[d];)d--;for(;1<=h&&0<=d;h--,d--)if(o[h]!==c[d]){if(h!==1||d!==1)do if(h--,d--,0>d||o[h]!==c[d]){var g=` 37`+o[h].replace(" at new "," at ");return e.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",e.displayName)),g}while(1<=h&&0<=d);break}}}finally{Na=!1,Error.prepareStackTrace=s}return(e=e?e.displayName||e.name:"")?Ma(e):""}function Pa(e){switch(e.tag){case 5:return Ma(e.type);case 16:return Ma("Lazy");case 13:return Ma("Suspense");case 19:return Ma("SuspenseList");case 0:case 2:case 15:return e=Oa(e.type,!1),e;case 11:return e=Oa(e.type.render,!1),e;case 1:return e=Oa(e.type,!0),e;default:return""}}function Qa(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ya:return"Fragment";case wa:return"Portal";case Aa:return"Profiler";case za:return"StrictMode";case Ea:return"Suspense";case Fa:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ca:return(e.displayName||"Context")+".Consumer";case Ba:return(e._context.displayName||"Context")+".Provider";case Da:var i=e.render;return e=e.displayName,e||(e=i.displayName||i.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ga:return i=e.displayName||null,i!==null?i:Qa(e.type)||"Memo";case Ha:i=e._payload,e=e._init;try{return Qa(e(i))}catch{}}return null}function Ra(e){var i=e.type;switch(e.tag){case 24:return"Cache";case 9:return(i.displayName||"Context")+".Consumer";case 10:return(i._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=i.render,e=e.displayName||e.name||"",i.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Qa(i);case 8:return i===za?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i}return null}function Sa(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ta(e){var i=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Ua(e){var i=Ta(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,i
vendor: 14,117 bytes, line 37
37),a=""+e[i];if(!e.hasOwnProperty(i)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var o=s.get,c=s.set;return Object.defineProperty(e,i,{configurable:!0,get:function(){return o.call(this)},set:function(h){a=""+h,c.call(this,h)}}),Object.defineProperty(e,i,{enumerable:s.enumerable}),{getValue:function(){return a},setValue:function(h){a=""+h},stopTracking:function(){e._valueTracker=null,delete e[i]}}}}function Va(e){e._valueTracker||(e._valueTracker=Ua(e))}function Wa(e){if(!e)return!1;var i=e._valueTracker;if(!i)return!0;var s=i.getValue(),a="";return e&&(a=Ta(e)?e.checked?"true":"false":e.value),e=a,e!==s?(i.setValue(e),!0):!1}function Xa(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ya(e,i){var s=i.checked;return A({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??e._wrapperState.initialChecked})}function Za(e,i){var s=i.defaultValue==null?"":i.defaultValue,a=i.checked!=null?i.checked:i.defaultChecked;s=Sa(i.value!=null?i.value:s),e._wrapperState={initialChecked:a,initialValue:s,controlled:i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null}}function ab(e,i){i=i.checked,i!=null&&ta(e,"checked",i,!1)}function bb(e,i){ab(e,i);var s=Sa(i.value),a=i.type;if(s!=null)a==="number"?(s===0&&e.value===""||e.value!=s)&&(e.value=""+s):e.value!==""+s&&(e.value=""+s);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}i.hasOwnProperty("value")?cb(e,i.type,s):i.hasOwnProperty("defaultValue")&&cb(e,i.type,Sa(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(e.defaultChecked=!!i.defaultChecked)}function db(e,i,s){if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var a=i.type;if(!(a!=="submit"&&a!=="reset"||i.value!==void 0&&i.value!==null))return;i=""+e._wrapperState.initialValue,s||i===e.value||(e.value=i),e.defaultValue=i}s=e.name,s!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,s!==""&&(e.name=s)}function cb(e,i,s){(i!=="number"||Xa(e.ownerDocument)!==e)&&(s==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+s&&(e.defaultValue=""+s))}var eb=Array.isArray;function fb(e,i,s,a){if(e=e.options,i){i={};for(var o=0;o<s.length;o++)i["$"+s[o]]=!0;for(s=0;s<e.length;s++)o=i.hasOwnProperty("$"+e[s].value),e[s].selected!==o&&(e[s].selected=o),o&&a&&(e[s].defaultSelected=!0)}else{for(s=""+Sa(s),i=null,o=0;o<e.length;o++){if(e[o].value===s){e[o].selected=!0,a&&(e[o].defaultSelected=!0);return}i!==null||e[o].disabled||(i=e[o])}i!==null&&(i.selected=!0)}}function gb(e,i){if(i.dangerouslySetInnerHTML!=null)throw Error(p(91));return A({},i,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function hb(e,i){var s=i.value;if(s==null){if(s=i.children,i=i.defaultValue,s!=null){if(i!=null)throw Error(p(92));if(eb(s)){if(1<s.length)throw Error(p(93));s=s[0]}i=s}i==null&&(i=""),s=i}e._wrapperState={initialValue:Sa(s)}}function ib(e,i){var s=Sa(i.value),a=Sa(i.defaultValue);s!=null&&(s=""+s,s!==e.value&&(e.value=s),i.defaultValue==null&&e.defaultValue!==s&&(e.defaultValue=s)),a!=null&&(e.defaultValue=""+a)}function jb(e){var i=e.textContent;i===e._wrapperState.initialValue&&i!==""&&i!==null&&(e.value=i)}function kb(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"}}function lb(e,i){return e==null||e==="http://www.w3.org/1999/xhtml"?kb(i):e==="http://www.w3.org/2000/svg"&&i==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var mb,nb=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,s,a,o){MSApp.execUnsafeLocalFunction(function(){return e(i,s,a,o)})}:e}(function(e,i){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=i;else{for(mb=mb||document.createElement("div"),mb.innerHTML="<svg>"+i.valueOf().toString()+"</svg>",i=mb.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;i.firstChild;)e.appendChild(i.firstChild)}});function ob(e,i){if(i){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===3){s.nodeValue=i;return}}e.textContent=i}var pb={animationIterationCount:!0,aspectRatio:!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},qb=["Webkit","ms","Moz","O"];Object.keys(pb).forEach(function(e){qb.forEach(function(i){i=i+e.charAt(0).toUpperCase()+e.substring(1),pb[i]=pb[e]})});function rb(e,i,s){return i==null||typeof i=="boolean"||i===""?"":s||typeof i!="number"||i===0||pb.hasOwnProperty(e)&&pb[e]?(""+i).trim():i+"px"}function sb(e,i){e=e.style;for(var s in i)if(i.hasOwnProperty(s)){var a=s.indexOf("--")===0,o=rb(s,i[s],a);s==="float"&&(s="cssFloat"),a?e.setProperty(s,o):e[s]=o}}var tb=A({menuitem:!0},{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});function ub(e,i){if(i){if(tb[e]&&(i.children!=null||i.dangerouslySetInnerHTML!=null))throw Error(p(137,e));if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error(p(60));if(typeof i.dangerouslySetInnerHTML!="object"||!("__html"in i.dangerouslySetInnerHTML))throw Error(p(61))}if(i.style!=null&&typeof i.style!="object")throw Error(p(62))}}function vb(e,i){if(e.indexOf("-")===-1)return typeof i.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var wb=null;function xb(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var yb=null,zb=null,Ab=null;function Bb(e){if(e=Cb(e)){if(typeof yb!="function")throw Error(p(280));var i=e.stateNode;i&&(i=Db(i),yb(e.stateNode,e.type,i))}}function Eb(e){zb?Ab?Ab.push(e):Ab=[e]:zb=e}function Fb(){if(zb){var e=zb,i=Ab;if(Ab=zb=null,Bb(e),i)for(e=0;e<i.length;e++)Bb(i[e])}}function Gb(e,i){return e(i)}function Hb(){}var Ib=!1;function Jb(e,i,s){if(Ib)return e(i,s);Ib=!0;try{return Gb(e,i,s)}finally{Ib=!1,(zb!==null||Ab!==null)&&(Hb(),Fb())}}function Kb(e,i){var s=e.stateNode;if(s===null)return null;var a=Db(s);if(a===null)return null;s=a[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(s&&typeof s!="function")throw Error(p(231,i,typeof s));return s}var Lb=!1;if(ia)try{var Mb={};Object.defineProperty(Mb,"passive",{get:function(){Lb=!0}}),window.addEventListener("test",Mb,Mb),window.removeEventListener("test",Mb,Mb)}catch{Lb=!1}function Nb(e,i,s,a,o,c,h,d,g){var b=Array.prototype.slice.call(arguments,3);try{i.apply(s,b)}catch(j){this.onError(j)}}var Ob=!1,Pb=null,Qb=!1,Rb=null,Sb={onError:function(e){Ob=!0,Pb=e}};function Tb(e,i,s,a,o,c,h,d,g){Ob=!1,Pb=null,Nb.apply(Sb,arguments)}function Ub(e,i,s,a,o,c,h,d,g){if(Tb.apply(this,arguments),Ob){if(Ob){var b=Pb;Ob=!1,Pb=null}else throw Error(p(198));Qb||(Qb=!0,Rb=b)}}function Vb(e){var i=e,s=e;if(e.alternate)for(;i.return;)i=i.return;else{e=i;do i=e,i.flags&4098&&(s=i.return),e=i.return;while(e)}return i.tag===3?s:null}function Wb(e){if(e.tag===13){var i=e.memoizedState;if(i===null&&(e=e.alternate,e!==null&&(i=e.memoizedState)),i!==null)return i.dehydrated}return null}function Xb(e){if(Vb(e)!==e)throw Error(p(188))}function Yb(e){var i=e.alternate;if(!i){if(i=Vb(e),i===null)throw Error(p(188));return i!==e?null:e}for(var s=e,a=i;;){var o=s.return;if(o===null)break;var c=o.alternate;if(c===null){if(a=o.return,a!==null){s=a;continue}break}if(o.child===c.child){for(c=o.child;c;){if(c===s)return Xb(o),e;if(c===a)return Xb(o),i;c=c.sibling}throw Error(p(188))}if(s.return!==a.return)s=o,a=c;else{for(var h=!1,d=o.child;d;){if(d===s){h=!0,s=o,a=c;break}if(d===a){h=!0,a=o,s=c;break}d=d.sibling}if(!h){for(d=c.child;d;){if(d===s){h=!0,s=c,a=o;break}if(d===a){h=!0,a=c,s=o;break}d=d.sibling}if(!h)throw Error(p(189))}}if(s.alternate!==a)throw Error(p(190))}if(s.tag!==3)throw Error(p(188));return s.stateNode.current===s?e:i}function Zb(e){return e=Yb(e),e!==null?$b(e):null}function $b(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var i=$b(e);if(i!==null)return i;e=e.sibling}return null}var ac=ca.unstable_scheduleCallback,bc=ca.unstable_cancelCallback,cc=ca.unstable_shouldYield,dc=ca.unstable_requestPaint,B=ca.unstable_now,ec=ca.unstable_getCurrentPriorityLevel,fc=ca.unstable_ImmediatePriority,gc=ca.unstable_UserBlockingPriority,hc=ca.unstable_NormalPriority,ic=ca.unstable_LowPriority,jc=ca.unstable_IdlePriority,kc=null,lc=null;function mc(e){if(lc&&typeof lc.onCommitFiberRoot=="function")try{lc.onCommitFiberRoot(kc,e,void 0,(e.current.flags&128)===128)}catch{}}var oc=Math.clz32?Math.clz32:nc,pc=Math.log,qc=Math.LN2;function nc(e){return e>>>=0,e===0?32:31-(pc(e)/qc|0)|0}var rc=64,sc=4194304;function tc(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function uc(e,i){var s=e.pendingLanes;if(s===0)return 0;var a=0,o=e.suspendedLanes,c=e.pingedLanes,h=s&268435455;if(h!==0){var d=h&~o;d!==0?a=tc(d):(c&=h,c!==0&&(a=tc(c)))}else h=s&~o,h!==0?a=tc(h):c!==0&&(a=tc(c));if(a===0)return 0;if(i!==0&&i!==a&&!(i&o)&&(o=a&-a,c=i&-i,o>=c||o===16&&(c&4194240)!==0))return i;if(a&4&&(a|=s&16),i=e.entangledLanes,i!==0)for(e=e.entanglements,i&=a;0<i;)s=31-oc(i),o=1<<s,a|=e[s],i&=~o;return a}function vc(e,i){switch(e){case 1:case 2:case 4:return i+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function wc(e,i){for(var s=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,c=e.pendingLanes;0<c;){var h=31-oc(c),d=1<<h,g=o[h];g===-1?(!(d&s)||d&a)&&(o[h]=vc(d,i)):g<=i&&(e.expiredLanes|=d),c&=~d}}function xc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function yc(){var e=rc;return rc<<=1,!(rc&4194240)&&(rc=64),e}function zc(e){for(var i=[],s=0;31>s;s++)i.push(e);return i}function Ac(e,i,s){e.pendingLanes|=i,i!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,i=31-oc(i),e[i]=s}function Bc(e,i){var s=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0<s;){var o=31-oc(s),c=1<<o;i[o]=0,a[o]=-1,e[o]=-1,s&=~c}}function Cc(e,i){var s=e.entangledLanes|=i;for(e=e.entanglements;s;){var a=31-oc(s),o=1<<a;o&i|e[a]&i&&(e[a]|=i),s&=~o}}var C=0;function Dc(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Ec,Fc,Gc,Hc,Ic,Jc=!1,Kc=[],Lc=null,Mc=null,Nc=null,Oc=new Map,Pc=new Map,Qc=[],Rc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Sc(e,i){switch(e){case"focusin":case"focusout":Lc=null;break;case"dragenter":case"dragleave":Mc=null;break;case"mouseover":case"mouseout":Nc=null;break;case"pointerover":case"pointerout":Oc.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pc.delete(i.pointerId)}}function Tc(e,i,s,a,o,c){return e===null||e.nativeEvent!==c?(e={blockedOn:i,domEventName:s,eventSystemFlags:a,nativeEvent:c,targetContainers:[o]},i!==null&&(i=Cb(i),i!==null&&Fc(i)),e):(e.eventSystemFlags|=a,i=e.targetContainers,o!==null&&i.indexOf(o)===-1&&i.push(o),e)}function Uc(e,i,s,a,o){switch(i){case"focusin":return Lc=Tc(Lc,e,i,s,a,o),!0;case"dragenter":return Mc=Tc(Mc,e,i,s,a,o),!0;case"mouseover":return Nc=Tc(Nc,e,i,s,a,o),!0;case"pointerover":var c=o.pointerId;return Oc.set(c,Tc(Oc.get(c)||null,e,i,s,a,o)),!0;case"gotpointercapture":return c=o.pointerId,Pc.set(c,Tc(Pc.get(c)||null,e,i,s,a,o)),!0}return!1}function Vc(e){var i=Wc(e.target);if(i!==null){var s=Vb(i);if(s!==null){if(i=s.tag,i===13){if(i=Wb(s),i!==null){e.blockedOn=i,Ic(e.priority,function(){Gc(s)});return}}else if(i===3&&s.stateNode.current.memoizedState.isDehydrated){e.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Xc(e){if(e.blockedOn!==null)return!1;for(var i=e.targetContainers;0<i.length;){var s=Yc(e.domEventName,e.eventSystemFlags,i[0],e.nativeEvent);if(s===null){s=e.nativeEvent;var a=new s.constructor(s.type,s);wb=a,s.target.dispatchEvent(a),wb=null}else return i=Cb(s),i!==null&&Fc(i),e.blockedOn=s,!1;i.shift()}return!0}function Zc(e,i,s){Xc(e)&&s.delete(i)}function $c(){Jc=!1,Lc!==null&&Xc(Lc)&&(Lc=null),Mc!==null&&Xc(Mc)&&(Mc=null),Nc!==null&&Xc(Nc)&&(Nc=null),Oc.forEac
vendor: 2,741 bytes, line 37
37h(Zc),Pc.forEach(Zc)}function ad(e,i){e.blockedOn===i&&(e.blockedOn=null,Jc||(Jc=!0,ca.unstable_scheduleCallback(ca.unstable_NormalPriority,$c)))}function bd(e){function i(o){return ad(o,e)}if(0<Kc.length){ad(Kc[0],e);for(var s=1;s<Kc.length;s++){var a=Kc[s];a.blockedOn===e&&(a.blockedOn=null)}}for(Lc!==null&&ad(Lc,e),Mc!==null&&ad(Mc,e),Nc!==null&&ad(Nc,e),Oc.forEach(i),Pc.forEach(i),s=0;s<Qc.length;s++)a=Qc[s],a.blockedOn===e&&(a.blockedOn=null);for(;0<Qc.length&&(s=Qc[0],s.blockedOn===null);)Vc(s),s.blockedOn===null&&Qc.shift()}var cd=ua.ReactCurrentBatchConfig,dd=!0;function ed(e,i,s,a){var o=C,c=cd.transition;cd.transition=null;try{C=1,fd(e,i,s,a)}finally{C=o,cd.transition=c}}function gd(e,i,s,a){var o=C,c=cd.transition;cd.transition=null;try{C=4,fd(e,i,s,a)}finally{C=o,cd.transition=c}}function fd(e,i,s,a){if(dd){var o=Yc(e,i,s,a);if(o===null)hd(e,i,a,id$2,s),Sc(e,a);else if(Uc(o,e,i,s,a))a.stopPropagation();else if(Sc(e,a),i&4&&-1<Rc.indexOf(e)){for(;o!==null;){var c=Cb(o);if(c!==null&&Ec(c),c=Yc(e,i,s,a),c===null&&hd(e,i,a,id$2,s),c===o)break;o=c}o!==null&&a.stopPropagation()}else hd(e,i,a,null,s)}}var id$2=null;function Yc(e,i,s,a){if(id$2=null,e=xb(a),e=Wc(e),e!==null)if(i=Vb(e),i===null)e=null;else if(s=i.tag,s===13){if(e=Wb(i),e!==null)return e;e=null}else if(s===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;e=null}else i!==e&&(e=null);return id$2=e,null}function jd(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ec()){case fc:return 1;case gc:return 4;case hc:case ic:return 16;case jc:return 536870912;default:return 16}default:return 16}}var kd=null,ld=null,md=null;
vendor: 9,091 bytes, line 37
37function nd(){if(md)return md;var e,i=ld,s=i.length,a,o="value"in kd?kd.value:kd.textContent,c=o.length;for(e=0;e<s&&i[e]===o[e];e++);var h=s-e;for(a=1;a<=h&&i[s-a]===o[c-a];a++);return md=o.slice(e,1<a?1-a:void 0)}function od(e){var i=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&i===13&&(e=13)):e=i,e===10&&(e=13),32<=e||e===13?e:0}function pd(){return!0}function qd(){return!1}function rd(e){function i(s,a,o,c,h){this._reactName=s,this._targetInst=o,this.type=a,this.nativeEvent=c,this.target=h,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(s=e[d],this[d]=s?s(c):c[d]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?pd:qd,this.isPropagationStopped=qd,this}return A(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=pd)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=pd)},persist:function(){},isPersistent:pd}),i}var sd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},td=rd(sd),ud=A({},sd,{view:0,detail:0}),vd=rd(ud),wd,xd,yd,Ad=A({},ud,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==yd&&(yd&&e.type==="mousemove"?(wd=e.screenX-yd.screenX,xd=e.screenY-yd.screenY):xd=wd=0,yd=e),wd)},movementY:function(e){return"movementY"in e?e.movementY:xd}}),Bd=rd(Ad),Cd=A({},Ad,{dataTransfer:0}),Dd=rd(Cd),Ed=A({},ud,{relatedTarget:0}),Fd=rd(Ed),Gd=A({},sd,{animationName:0,elapsedTime:0,pseudoElement:0}),Hd=rd(Gd),Id=A({},sd,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Jd=rd(Id),Kd=A({},sd,{data:0}),Ld=rd(Kd),Md={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nd={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Od={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pd(e){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(e):(e=Od[e])?!!i[e]:!1}function zd(){return Pd}var Qd=A({},ud,{key:function(e){if(e.key){var i=Md[e.key]||e.key;if(i!=="Unidentified")return i}return e.type==="keypress"?(e=od(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Nd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zd,charCode:function(e){return e.type==="keypress"?od(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?od(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Rd=rd(Qd),Sd=A({},Ad,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Td=rd(Sd),Ud=A({},ud,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zd}),Vd=rd(Ud),Wd=A({},sd,{propertyName:0,elapsedTime:0,pseudoElement:0}),Xd=rd(Wd),Yd=A({},Ad,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Zd=rd(Yd),$d=[9,13,27,32],ae=ia&&"CompositionEvent"in window,be=null;ia&&"documentMode"in document&&(be=document.documentMode);var ce=ia&&"TextEvent"in window&&!be,de=ia&&(!ae||be&&8<be&&11>=be),ee=" ",fe=!1;function ge(e,i){switch(e){case"keyup":return $d.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function he(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ie=!1;function je(e,i){switch(e){case"compositionend":return he(i);case"keypress":return i.which!==32?null:(fe=!0,ee);case"textInput":return e=i.data,e===ee&&fe?null:e;default:return null}}function ke(e,i){if(ie)return e==="compositionend"||!ae&&ge(e,i)?(e=nd(),md=ld=kd=null,ie=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return de&&i.locale!=="ko"?null:i.data;default:return null}}var le={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function me(e){var i=e&&e.nodeName&&e.nodeName.toLowerCase();return i==="input"?!!le[e.type]:i==="textarea"}function ne(e,i,s,a){Eb(a),i=oe(i,"onChange"),0<i.length&&(s=new td("onChange","change",null,s,a),e.push({event:s,listeners:i}))}var pe=null,qe=null;function re(e){se(e,0)}function te(e){var i=ue(e);if(Wa(i))return e}function ve(e,i){if(e==="change")return i}var we=!1;if(ia){var xe;if(ia){var ye="oninput"in document;if(!ye){var ze=document.createElement("div");ze.setAttribute("oninput","return;"),ye=typeof ze.oninput=="function"}xe=ye}else xe=!1;we=xe&&(!document.documentMode||9<document.documentMode)}function Ae(){pe&&(pe.detachEvent("onpropertychange",Be),qe=pe=null)}function Be(e){if(e.propertyName==="value"&&te(qe)){var i=[];ne(i,qe,e,xb(e)),Jb(re,i)}}function Ce(e,i,s){e==="focusin"?(Ae(),pe=i,qe=s,pe.attachEvent("onpropertychange",Be)):e==="focusout"&&Ae()}function De(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return te(qe)}function Ee(e,i){if(e==="click")return te(i)}function Fe(e,i){if(e==="input"||e==="change")return te(i)}function Ge(e,i){return e===i&&(e!==0||1/e===1/i)||e!==e&&i!==i}var He=typeof Object.is=="function"?Object.is:Ge;function Ie(e,i){if(He(e,i))return!0;if(typeof e!="object"||e===null||typeof i!="object"||i===null)return!1;var s=Object.keys(e),a=Object.keys(i);if(s.length!==a.length)return!1;for(a=0;a<s.length;a++){var o=s[a];if(!ja.call(i,o)||!He(e[o],i[o]))return!1}return!0}function Je(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ke(e,i){var s=Je(e);e=0;for(var a;s;){if(s.nodeType===3){if(a=e+s.textContent.length,e<=i&&a>=i)return{node:s,offset:i-e};e=a}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=Je(s)}}function Le(e,i){return e&&i?e===i?!0:e&&e.nodeType===3?!1:i&&i.nodeType===3?Le(e,i.parentNode):"contains"in e?e.contains(i):e.compareDocumentPosition?!!(e.compareDocumentPosition(i)&16):!1:!1}function Me(){for(var e=window,i=Xa();i instanceof e.HTMLIFrameElement;){try{var s=typeof i.contentWindow.location.href=="string"}catch{s=!1}if(s)e=i.contentWindow;else break;i=Xa(e.document)}return i}function Ne(e){var i=e&&e.nodeName&&e.nodeName.toLowerCase();return i&&(i==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||i==="textarea"||e.contentEditable==="true")}function Oe(e){var i=Me(),s=e.focusedElem,a=e.selectionRange;if(i!==s&&s&&s.ownerDocument&&Le(s.ownerDocument.documentElement,s)){if(a!==null&&Ne(s)){if(i=a.start,e=a.end,e===void 0&&(e=i),"selectionStart"in s)s.selectionStart=i,s.selectionEnd=Math.min(e,s.value.length);else if(e=(i=s.ownerDocument||document)&&i.defaultView||window,e.getSelection){e=e.getSelection();var o=s.textContent.length,c=Math.min(a.start,o);a=a.end===void 0?c:Math.min(a.end,o),!e.extend&&c>a&&(o=a,a=c,c=o),o=Ke(s,c);var h=Ke(s,a);o&&h&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==h.node||e.focusOffset!==h.offset)&&(i=i.createRange(),i.setStart(o.node,o.offset),e.removeAllRanges(),c>a?(e.addRange(i),e.extend(h.node,h.offset)):(i.setEnd(h.node,h.offset),e.addRange(i)))}}for(i=[],e=s;e=e.parentNode;)e.nodeType===1&&i.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<i.length;s++)e=i[s],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Pe=ia&&"documentMode"in document&&11>=document.documentMode,Qe=null,Re=null,Se=null,Te=!1;function Ue(e,i,s){var a=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Te||Qe==null||Qe!==Xa(a)||(a=Qe,"selectionStart"in a&&Ne(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focu
vendor: 14,106 bytes, lines 37-38
37sNode:a.focusNode,focusOffset:a.focusOffset}),Se&&Ie(Se,a)||(Se=a,a=oe(Re,"onSelect"),0<a.length&&(i=new td("onSelect","select",null,i,s),e.push({event:i,listeners:a}),i.target=Qe)))}function Ve(e,i){var s={};return s[e.toLowerCase()]=i.toLowerCase(),s["Webkit"+e]="webkit"+i,s["Moz"+e]="moz"+i,s}var We={animationend:Ve("Animation","AnimationEnd"),animationiteration:Ve("Animation","AnimationIteration"),animationstart:Ve("Animation","AnimationStart"),transitionend:Ve("Transition","TransitionEnd")},Xe={},Ye={};ia&&(Ye=document.createElement("div").style,"AnimationEvent"in window||(delete We.animationend.animation,delete We.animationiteration.animation,delete We.animationstart.animation),"TransitionEvent"in window||delete We.transitionend.transition);function Ze(e){if(Xe[e])return Xe[e];if(!We[e])return e;var i=We[e],s;for(s in i)if(i.hasOwnProperty(s)&&s in Ye)return Xe[e]=i[s];return e}var $e=Ze("animationend"),af=Ze("animationiteration"),bf=Ze("animationstart"),cf=Ze("transitionend"),df=new Map,ef="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function ff(e,i){df.set(e,i),fa(i,[e])}for(var gf=0;gf<ef.length;gf++){var hf=ef[gf],jf=hf.toLowerCase(),kf=hf[0].toUpperCase()+hf.slice(1);ff(jf,"on"+kf)}ff($e,"onAnimationEnd");ff(af,"onAnimationIteration");ff(bf,"onAnimationStart");ff("dblclick","onDoubleClick");ff("focusin","onFocus");ff("focusout","onBlur");ff(cf,"onTransitionEnd");ha("onMouseEnter",["mouseout","mouseover"]);ha("onMouseLeave",["mouseout","mouseover"]);ha("onPointerEnter",["pointerout","pointerover"]);ha("onPointerLeave",["pointerout","pointerover"]);fa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));fa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));fa("onBeforeInput",["compositionend","keypress","textInput","paste"]);fa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));fa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));fa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var lf="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),mf=new Set("cancel close invalid load scroll toggle".split(" ").concat(lf));function nf(e,i,s){var a=e.type||"unknown-event";e.currentTarget=s,Ub(a,i,void 0,e),e.currentTarget=null}function se(e,i){i=(i&4)!==0;for(var s=0;s<e.length;s++){var a=e[s],o=a.event;a=a.listeners;e:{var c=void 0;if(i)for(var h=a.length-1;0<=h;h--){var d=a[h],g=d.instance,b=d.currentTarget;if(d=d.listener,g!==c&&o.isPropagationStopped())break e;nf(o,d,b),c=g}else for(h=0;h<a.length;h++){if(d=a[h],g=d.instance,b=d.currentTarget,d=d.listener,g!==c&&o.isPropagationStopped())break e;nf(o,d,b),c=g}}}if(Qb)throw e=Rb,Qb=!1,Rb=null,e}function D(e,i){var s=i[of];s===void 0&&(s=i[of]=new Set);var a=e+"__bubble";s.has(a)||(pf(i,e,2,!1),s.add(a))}function qf(e,i,s){var a=0;i&&(a|=4),pf(s,e,a,i)}var rf="_reactListening"+Math.random().toString(36).slice(2);function sf(e){if(!e[rf]){e[rf]=!0,da.forEach(function(s){s!=="selectionchange"&&(mf.has(s)||qf(s,!1,e),qf(s,!0,e))});var i=e.nodeType===9?e:e.ownerDocument;i===null||i[rf]||(i[rf]=!0,qf("selectionchange",!1,i))}}function pf(e,i,s,a){switch(jd(i)){case 1:var o=ed;break;case 4:o=gd;break;default:o=fd}s=o.bind(null,i,s,e),o=void 0,!Lb||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(o=!0),a?o!==void 0?e.addEventListener(i,s,{capture:!0,passive:o}):e.addEventListener(i,s,!0):o!==void 0?e.addEventListener(i,s,{passive:o}):e.addEventListener(i,s,!1)}function hd(e,i,s,a,o){var c=a;if(!(i&1)&&!(i&2)&&a!==null)e:for(;;){if(a===null)return;var h=a.tag;if(h===3||h===4){var d=a.stateNode.containerInfo;if(d===o||d.nodeType===8&&d.parentNode===o)break;if(h===4)for(h=a.return;h!==null;){var g=h.tag;if((g===3||g===4)&&(g=h.stateNode.containerInfo,g===o||g.nodeType===8&&g.parentNode===o))return;h=h.return}for(;d!==null;){if(h=Wc(d),h===null)return;if(g=h.tag,g===5||g===6){a=c=h;continue e}d=d.parentNode}}a=a.return}Jb(function(){var b=c,j=xb(s),tt=[];e:{var _=df.get(e);if(_!==void 0){var nt=td,rt=e;switch(e){case"keypress":if(od(s)===0)break e;case"keydown":case"keyup":nt=Rd;break;case"focusin":rt="focus",nt=Fd;break;case"focusout":rt="blur",nt=Fd;break;case"beforeblur":case"afterblur":nt=Fd;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":nt=Bd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":nt=Dd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":nt=Vd;break;case $e:case af:case bf:nt=Hd;break;case cf:nt=Xd;break;case"scroll":nt=vd;break;case"wheel":nt=Zd;break;case"copy":case"cut":case"paste":nt=Jd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":nt=Td}var it=(i&4)!==0,ut=!it&&e==="scroll",_e=it?_!==null?_+"Capture":null:_;it=[];for(var et=b,$;et!==null;){$=et;var st=$.stateNode;if($.tag===5&&st!==null&&($=st,_e!==null&&(st=Kb(et,_e),st!=null&&it.push(tf(et,st,$)))),ut)break;et=et.return}0<it.length&&(_=new nt(_,rt,null,s,j),tt.push({event:_,listeners:it}))}}if(!(i&7)){e:{if(_=e==="mouseover"||e==="pointerover",nt=e==="mouseout"||e==="pointerout",_&&s!==wb&&(rt=s.relatedTarget||s.fromElement)&&(Wc(rt)||rt[uf]))break e;if((nt||_)&&(_=j.window===j?j:(_=j.ownerDocument)?_.defaultView||_.parentWindow:window,nt?(rt=s.relatedTarget||s.toElement,nt=b,rt=rt?Wc(rt):null,rt!==null&&(ut=Vb(rt),rt!==ut||rt.tag!==5&&rt.tag!==6)&&(rt=null)):(nt=null,rt=b),nt!==rt)){if(it=Bd,st="onMouseLeave",_e="onMouseEnter",et="mouse",(e==="pointerout"||e==="pointerover")&&(it=Td,st="onPointerLeave",_e="onPointerEnter",et="pointer"),ut=nt==null?_:ue(nt),$=rt==null?_:ue(rt),_=new it(st,et+"leave",nt,s,j),_.target=ut,_.relatedTarget=$,st=null,Wc(j)===b&&(it=new it(_e,et+"enter",rt,s,j),it.target=$,it.relatedTarget=ut,st=it),ut=st,nt&&rt)t:{for(it=nt,_e=rt,et=0,$=it;$;$=vf($))et++;for($=0,st=_e;st;st=vf(st))$++;for(;0<et-$;)it=vf(it),et--;for(;0<$-et;)_e=vf(_e),$--;for(;et--;){if(it===_e||_e!==null&&it===_e.alternate)break t;it=vf(it),_e=vf(_e)}it=null}else it=null;nt!==null&&wf(tt,_,nt,it,!1),rt!==null&&ut!==null&&wf(tt,ut,rt,it,!0)}}e:{if(_=b?ue(b):window,nt=_.nodeName&&_.nodeName.toLowerCase(),nt==="select"||nt==="input"&&_.type==="file")var ot=ve;else if(me(_))if(we)ot=Fe;else{ot=De;var lt=Ce}else(nt=_.nodeName)&&nt.toLowerCase()==="input"&&(_.type==="checkbox"||_.type==="radio")&&(ot=Ee);if(ot&&(ot=ot(e,b))){ne(tt,ot,s,j);break e}lt&<(e,_,b),e==="focusout"&&(lt=_._wrapperState)&<.controlled&&_.type==="number"&&cb(_,"number",_.value)}switch(lt=b?ue(b):window,e){case"focusin":(me(lt)||lt.contentEditable==="true")&&(Qe=lt,Re=b,Se=null);break;case"focusout":Se=Re=Qe=null;break;case"mousedown":Te=!0;break;case"contextmenu":case"mouseup":case"dragend":Te=!1,Ue(tt,s,j);break;case"selectionchange":if(Pe)break;case"keydown":case"keyup":Ue(tt,s,j)}var ht;if(ae)e:{switch(e){case"compositionstart":var pt="onCompositionStart";break e;case"compositionend":pt="onCompositionEnd";break e;case"compositionupdate":pt="onCompositionUpdate";break e}pt=void 0}else ie?ge(e,s)&&(pt="onCompositionEnd"):e==="keydown"&&s.keyCode===229&&(pt="onCompositionStart");pt&&(de&&s.locale!=="ko"&&(ie||pt!=="onCompositionStart"?pt==="onCompositionEnd"&&ie&&(ht=nd()):(kd=j,ld="value"in kd?kd.value:kd.textContent,ie=!0)),lt=oe(b,pt),0<lt.length&&(pt=new Ld(pt,e,null,s,j),tt.push({event:pt,listeners:lt}),ht?pt.data=ht:(ht=he(s),ht!==null&&(pt.data=ht)))),(ht=ce?je(e,s):ke(e,s))&&(b=oe(b,"onBeforeInput"),0<b.length&&(j=new Ld("onBeforeInput","beforeinput",null,s,j),tt.push({event:j,listeners:b}),j.data=ht))}se(tt,i)})}function tf(e,i,s){return{instance:e,listener:i,currentTarget:s}}function oe(e,i){for(var s=i+"Capture",a=[];e!==null;){var o=e,c=o.stateNode;o.tag===5&&c!==null&&(o=c,c=Kb(e,s),c!=null&&a.unshift(tf(e,c,o)),c=Kb(e,i),c!=null&&a.push(tf(e,c,o))),e=e.return}return a}function vf(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function wf(e,i,s,a,o){for(var c=i._reactName,h=[];s!==null&&s!==a;){var d=s,g=d.alternate,b=d.stateNode;if(g!==null&&g===a)break;d.tag===5&&b!==null&&(d=b,o?(g=Kb(s,c),g!=null&&h.unshift(tf(s,g,d))):o||(g=Kb(s,c),g!=null&&h.push(tf(s,g,d)))),s=s.return}h.length!==0&&e.push({event:i,listeners:h})}var xf=/\r\n?/g,yf=/\u0000|\uFFFD/g;function zf(e){return(typeof e=="string"?e:""+e).replace(xf,` 38`).replace(yf,"")}function Af(e,i,s){if(i=zf(i),zf(e)!==i&&s)throw Error(p(425))}function Bf(){}var Cf=null,Df=null;function Ef(e,i){return e==="textarea"||e==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var Ff=typeof setTimeout=="function"?setTimeout:void 0,Gf=typeof clearTimeout=="function"?clearTimeout:void 0,Hf=typeof Promise=="function"?Promise:void 0,Jf=typeof queueMicrotask=="function"?queueMicrotask:typeof Hf<"u"?function(e){return Hf.resolve(null).then(e).catch(If)}:Ff;function If(e){setTimeout(function(){throw e})}function Kf(e,i){var s=i,a=0;do{var o=s.nextSibling;if(e.removeChild(s),o&&o.nodeType===8)if(s=o.data,s==="/$"){if(a===0){e.removeChild(o),bd(i);return}a--}else s!=="$"&&s!=="$?"&&s!=="$!"||a++;s=o}while(s);bd(i)}function Lf(e){for(;e!=null;e=e.nextSibling){var i=e.nodeType;if(i===1||i===3)break;if(i===8){if(i=e.data,i==="$"||i==="$!"||i==="$?")break;if(i==="/$")return null}}return e}function Mf(e){e=e.previousSibling;for(var i=0;e;){if(e.nodeType===8){var s=e.data;if(s==="$"||s==="$!"||s==="$?"){if(i===0)return e;i--}else s==="/$"&&i++}e=e.previousSibling}return null}var Nf=Math.random().toString(36).slice(2),Of="__reactFiber$"+Nf,Pf="__reactProps$"+Nf,uf="__reactContainer$"+Nf,of="__reactEvents$"+Nf,Qf="__reactListeners$"+Nf,Rf="__reactHandles$"+Nf;function Wc(e){var i=e[Of];if(i)return i;for(var s=e.parentNode;s;){if(i=s[uf]||s[Of]){if(s=i.alternate,i.child!==null||s!==null&&s.child!==null)for(e=Mf(e);e!==null;){if(s=e[Of])return s;e=Mf(e)}return i}e=s,s=e.parentNode}return null}function Cb(e){return e=e[Of]||e[uf],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ue(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(p(33))}function Db(e){return e[Pf]||null}var Sf=[],Tf=-1;function Uf(e){return{current:e}}function E(e){0>Tf||(e.current=Sf[Tf],Sf[Tf]=null,Tf--)}function G(e,i){Tf++,Sf[Tf]=e.current,e.current=i}var Vf={},H=Uf(Vf),Wf=Uf(!1),Xf=Vf;function Yf(e,i){var s=e.type.contextTypes;if(!s)return Vf;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===i)return a.__reactInternalMemoizedMaskedChildContext;var o={},c;for(c in s)o[c]=i[c];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),o}function Zf(e){return e=e.childContextTypes,e!=null}function $f(){E(Wf),E(H)}function ag(e,i,s){if(H.current!==Vf)throw Error(p(168));G(H,i),G(Wf,s)}function bg(e,i,s){var a=e.stateNode;if(i=i.childContextTypes,typeof a.getChildContext!="function")return s;a=a.getChildContext();for(var o in a)if(!(o in i))throw Error(p(108,Ra(e)||"Unknown",o));return A({},s,a)}function cg(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Vf,Xf=H.current,G(H,e),G(Wf,Wf.current),!0}function dg(e,i,s){var a=e.stateNode;if(!a)throw Error(p(169));s?(e=bg(e,i,Xf),a.__reactInternalMemoizedMergedChildContext=e,E(Wf),E(H),G(H,e)):E(Wf),G(Wf,s)}var eg=null,fg=!1,gg=!1;function hg(e){eg===null?eg=[e]:eg.push(e)}function ig(e){fg=!0,hg(e)}function jg(){if(!gg&&eg!==null){gg=!0;var e=0,i=C;try{var s=eg;for(C=1;e<s.length;e++){var a=s[e];do a=a(!0);while(a!==null)}eg=null,fg=!1}catch(o){throw eg!==null&&(eg=eg.slice(e+1)),ac(fc,jg),o}finally{C=i,gg=!1}}return null}var kg=[],lg=0,mg=null,ng=0,og=[],pg=0,qg=null,rg=1,sg="";function tg(e,i){kg[lg++]=ng,kg[lg++]=mg,mg=e,ng=i}function ug(e,i,s){og[pg++]=rg,og[pg++]=sg,og[pg++]=qg,qg=e;var a=rg;e=sg;var o=32-oc(a)-1;a&=~(1<<o),s+=1;var c=32-oc(i)+o;if(30<c){var h=o-o%5;c=(a&(1<<h)-1).toString(32),a>>=h,o-=h,rg=1<<32-oc(i)+o|s<<o|a,sg=c+e}else rg=1<<c|s<<o|a,sg=e}function vg(e){e.return!==null&&(tg(e,1),ug(e,1,0))}function wg(e){for(;e===mg;)mg=kg[--lg],kg[lg]=null,ng=kg[--lg],kg[lg]=null;for(;e===qg;)qg=og[--pg],og[pg]=null,sg=og[--pg],og[pg]=null,rg=og[--pg],og[pg]=null}var xg=null,yg=null,I=!1,zg=null;function Ag(e,i){var s=Bg(5,null,null,0);s.elementType="DELETED",s.stateNode=i,s.return=e,i=e.deletions,i===null?(e.deletions=[s],e.flags|=16):i.push(s)}function Cg(e,i){switch(e.tag){case 5:var s=e.type;return i=i.nodeType!==1||s.toLowerCase()!==i.nodeName.toLowerCase()?null:i,i!==null?(e.stateNode=i,xg=e,yg=Lf(i.firstChild),!0):!1;case 6:return i=e.pendingProps===""||i.nodeType!==3?null:i,i!==null?(e.stateNode=i,xg=e,yg=null,!0):!1;case 13:return i=i.nodeType!==8?null:i,i!==null?(s=qg!==null?{id:rg,overflow:sg}:null,e.memoizedState={dehydrated:i,treeContext:s,retryLane:1073741824},s=Bg(18,null,null,0),s.stateNode=i,s.return=e,e.child=s,xg=e,yg=null,!0):!1;default:return!1}}function Dg(e){return(e.mode&1)!==0&&(e.flags&128)===0}
vendor: 26,845 bytes, lines 38-40
38function Eg(e){if(I){var i=yg;if(i){var s=i;if(!Cg(e,i)){if(Dg(e))throw Error(p(418));i=Lf(s.nextSibling);var a=xg;i&&Cg(e,i)?Ag(a,s):(e.flags=e.flags&-4097|2,I=!1,xg=e)}}else{if(Dg(e))throw Error(p(418));e.flags=e.flags&-4097|2,I=!1,xg=e}}}function Fg(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;xg=e}function Gg(e){if(e!==xg)return!1;if(!I)return Fg(e),I=!0,!1;var i;if((i=e.tag!==3)&&!(i=e.tag!==5)&&(i=e.type,i=i!=="head"&&i!=="body"&&!Ef(e.type,e.memoizedProps)),i&&(i=yg)){if(Dg(e))throw Hg(),Error(p(418));for(;i;)Ag(e,i),i=Lf(i.nextSibling)}if(Fg(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(p(317));e:{for(e=e.nextSibling,i=0;e;){if(e.nodeType===8){var s=e.data;if(s==="/$"){if(i===0){yg=Lf(e.nextSibling);break e}i--}else s!=="$"&&s!=="$!"&&s!=="$?"||i++}e=e.nextSibling}yg=null}}else yg=xg?Lf(e.stateNode.nextSibling):null;return!0}function Hg(){for(var e=yg;e;)e=Lf(e.nextSibling)}function Ig(){yg=xg=null,I=!1}function Jg(e){zg===null?zg=[e]:zg.push(e)}var Kg=ua.ReactCurrentBatchConfig;function Lg(e,i,s){if(e=s.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(p(309));var a=s.stateNode}if(!a)throw Error(p(147,e));var o=a,c=""+e;return i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===c?i.ref:(i=function(h){var d=o.refs;h===null?delete d[c]:d[c]=h},i._stringRef=c,i)}if(typeof e!="string")throw Error(p(284));if(!s._owner)throw Error(p(290,e))}return e}function Mg(e,i){throw e=Object.prototype.toString.call(i),Error(p(31,e==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":e))}function Ng(e){var i=e._init;return i(e._payload)}function Og(e){function i(_e,et){if(e){var $=_e.deletions;$===null?(_e.deletions=[et],_e.flags|=16):$.push(et)}}function s(_e,et){if(!e)return null;for(;et!==null;)i(_e,et),et=et.sibling;return null}function a(_e,et){for(_e=new Map;et!==null;)et.key!==null?_e.set(et.key,et):_e.set(et.index,et),et=et.sibling;return _e}function o(_e,et){return _e=Pg(_e,et),_e.index=0,_e.sibling=null,_e}function c(_e,et,$){return _e.index=$,e?($=_e.alternate,$!==null?($=$.index,$<et?(_e.flags|=2,et):$):(_e.flags|=2,et)):(_e.flags|=1048576,et)}function h(_e){return e&&_e.alternate===null&&(_e.flags|=2),_e}function d(_e,et,$,st){return et===null||et.tag!==6?(et=Qg($,_e.mode,st),et.return=_e,et):(et=o(et,$),et.return=_e,et)}function g(_e,et,$,st){var ot=$.type;return ot===ya?j(_e,et,$.props.children,st,$.key):et!==null&&(et.elementType===ot||typeof ot=="object"&&ot!==null&&ot.$$typeof===Ha&&Ng(ot)===et.type)?(st=o(et,$.props),st.ref=Lg(_e,et,$),st.return=_e,st):(st=Rg($.type,$.key,$.props,null,_e.mode,st),st.ref=Lg(_e,et,$),st.return=_e,st)}function b(_e,et,$,st){return et===null||et.tag!==4||et.stateNode.containerInfo!==$.containerInfo||et.stateNode.implementation!==$.implementation?(et=Sg($,_e.mode,st),et.return=_e,et):(et=o(et,$.children||[]),et.return=_e,et)}function j(_e,et,$,st,ot){return et===null||et.tag!==7?(et=Tg($,_e.mode,st,ot),et.return=_e,et):(et=o(et,$),et.return=_e,et)}function tt(_e,et,$){if(typeof et=="string"&&et!==""||typeof et=="number")return et=Qg(""+et,_e.mode,$),et.return=_e,et;if(typeof et=="object"&&et!==null){switch(et.$$typeof){case va:return $=Rg(et.type,et.key,et.props,null,_e.mode,$),$.ref=Lg(_e,null,et),$.return=_e,$;case wa:return et=Sg(et,_e.mode,$),et.return=_e,et;case Ha:var st=et._init;return tt(_e,st(et._payload),$)}if(eb(et)||Ka(et))return et=Tg(et,_e.mode,$,null),et.return=_e,et;Mg(_e,et)}return null}function _(_e,et,$,st){var ot=et!==null?et.key:null;if(typeof $=="string"&&$!==""||typeof $=="number")return ot!==null?null:d(_e,et,""+$,st);if(typeof $=="object"&&$!==null){switch($.$$typeof){case va:return $.key===ot?g(_e,et,$,st):null;case wa:return $.key===ot?b(_e,et,$,st):null;case Ha:return ot=$._init,_(_e,et,ot($._payload),st)}if(eb($)||Ka($))return ot!==null?null:j(_e,et,$,st,null);Mg(_e,$)}return null}function nt(_e,et,$,st,ot){if(typeof st=="string"&&st!==""||typeof st=="number")return _e=_e.get($)||null,d(et,_e,""+st,ot);if(typeof st=="object"&&st!==null){switch(st.$$typeof){case va:return _e=_e.get(st.key===null?$:st.key)||null,g(et,_e,st,ot);case wa:return _e=_e.get(st.key===null?$:st.key)||null,b(et,_e,st,ot);case Ha:var lt=st._init;return nt(_e,et,$,lt(st._payload),ot)}if(eb(st)||Ka(st))return _e=_e.get($)||null,j(et,_e,st,ot,null);Mg(et,st)}return null}function rt(_e,et,$,st){for(var ot=null,lt=null,ht=et,pt=et=0,vt=null;ht!==null&&pt<$.length;pt++){ht.index>pt?(vt=ht,ht=null):vt=ht.sibling;var St=_(_e,ht,$[pt],st);if(St===null){ht===null&&(ht=vt);break}e&&ht&&St.alternate===null&&i(_e,ht),et=c(St,et,pt),lt===null?ot=St:lt.sibling=St,lt=St,ht=vt}if(pt===$.length)return s(_e,ht),I&&tg(_e,pt),ot;if(ht===null){for(;pt<$.length;pt++)ht=tt(_e,$[pt],st),ht!==null&&(et=c(ht,et,pt),lt===null?ot=ht:lt.sibling=ht,lt=ht);return I&&tg(_e,pt),ot}for(ht=a(_e,ht);pt<$.length;pt++)vt=nt(ht,_e,pt,$[pt],st),vt!==null&&(e&&vt.alternate!==null&&ht.delete(vt.key===null?pt:vt.key),et=c(vt,et,pt),lt===null?ot=vt:lt.sibling=vt,lt=vt);return e&&ht.forEach(function(xt){return i(_e,xt)}),I&&tg(_e,pt),ot}function it(_e,et,$,st){var ot=Ka($);if(typeof ot!="function")throw Error(p(150));if($=ot.call($),$==null)throw Error(p(151));for(var lt=ot=null,ht=et,pt=et=0,vt=null,St=$.next();ht!==null&&!St.done;pt++,St=$.next()){ht.index>pt?(vt=ht,ht=null):vt=ht.sibling;var xt=_(_e,ht,St.value,st);if(xt===null){ht===null&&(ht=vt);break}e&&ht&&xt.alternate===null&&i(_e,ht),et=c(xt,et,pt),lt===null?ot=xt:lt.sibling=xt,lt=xt,ht=vt}if(St.done)return s(_e,ht),I&&tg(_e,pt),ot;if(ht===null){for(;!St.done;pt++,St=$.next())St=tt(_e,St.value,st),St!==null&&(et=c(St,et,pt),lt===null?ot=St:lt.sibling=St,lt=St);return I&&tg(_e,pt),ot}for(ht=a(_e,ht);!St.done;pt++,St=$.next())St=nt(ht,_e,pt,St.value,st),St!==null&&(e&&St.alternate!==null&&ht.delete(St.key===null?pt:St.key),et=c(St,et,pt),lt===null?ot=St:lt.sibling=St,lt=St);return e&&ht.forEach(function(yt){return i(_e,yt)}),I&&tg(_e,pt),ot}function ut(_e,et,$,st){if(typeof $=="object"&&$!==null&&$.type===ya&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case va:e:{for(var ot=$.key,lt=et;lt!==null;){if(lt.key===ot){if(ot=$.type,ot===ya){if(lt.tag===7){s(_e,lt.sibling),et=o(lt,$.props.children),et.return=_e,_e=et;break e}}else if(lt.elementType===ot||typeof ot=="object"&&ot!==null&&ot.$$typeof===Ha&&Ng(ot)===lt.type){s(_e,lt.sibling),et=o(lt,$.props),et.ref=Lg(_e,lt,$),et.return=_e,_e=et;break e}s(_e,lt);break}else i(_e,lt);lt=lt.sibling}$.type===ya?(et=Tg($.props.children,_e.mode,st,$.key),et.return=_e,_e=et):(st=Rg($.type,$.key,$.props,null,_e.mode,st),st.ref=Lg(_e,et,$),st.return=_e,_e=st)}return h(_e);case wa:e:{for(lt=$.key;et!==null;){if(et.key===lt)if(et.tag===4&&et.stateNode.containerInfo===$.containerInfo&&et.stateNode.implementation===$.implementation){s(_e,et.sibling),et=o(et,$.children||[]),et.return=_e,_e=et;break e}else{s(_e,et);break}else i(_e,et);et=et.sibling}et=Sg($,_e.mode,st),et.return=_e,_e=et}return h(_e);case Ha:return lt=$._init,ut(_e,et,lt($._payload),st)}if(eb($))return rt(_e,et,$,st);if(Ka($))return it(_e,et,$,st);Mg(_e,$)}return typeof $=="string"&&$!==""||typeof $=="number"?($=""+$,et!==null&&et.tag===6?(s(_e,et.sibling),et=o(et,$),et.return=_e,_e=et):(s(_e,et),et=Qg($,_e.mode,st),et.return=_e,_e=et),h(_e)):s(_e,et)}return ut}var Ug=Og(!0),Vg=Og(!1),Wg=Uf(null),Xg=null,Yg=null,Zg=null;function $g(){Zg=Yg=Xg=null}function ah(e){var i=Wg.current;E(Wg),e._currentValue=i}function bh(e,i,s){for(;e!==null;){var a=e.alternate;if((e.childLanes&i)!==i?(e.childLanes|=i,a!==null&&(a.childLanes|=i)):a!==null&&(a.childLanes&i)!==i&&(a.childLanes|=i),e===s)break;e=e.return}}function ch(e,i){Xg=e,Zg=Yg=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&i&&(dh=!0),e.firstContext=null)}function eh(e){var i=e._currentValue;if(Zg!==e)if(e={context:e,memoizedValue:i,next:null},Yg===null){if(Xg===null)throw Error(p(308));Yg=e,Xg.dependencies={lanes:0,firstContext:e}}else Yg=Yg.next=e;return i}var fh=null;function gh(e){fh===null?fh=[e]:fh.push(e)}function hh(e,i,s,a){var o=i.interleaved;return o===null?(s.next=s,gh(i)):(s.next=o.next,o.next=s),i.interleaved=s,ih(e,a)}function ih(e,i){e.lanes|=i;var s=e.alternate;for(s!==null&&(s.lanes|=i),s=e,e=e.return;e!==null;)e.childLanes|=i,s=e.alternate,s!==null&&(s.childLanes|=i),s=e,e=e.return;return s.tag===3?s.stateNode:null}var jh=!1;function kh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function lh(e,i){e=e.updateQueue,i.updateQueue===e&&(i.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function mh(e,i){return{eventTime:e,lane:i,tag:0,payload:null,callback:null,next:null}}function nh(e,i,s){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,K&2){var o=a.pending;return o===null?i.next=i:(i.next=o.next,o.next=i),a.pending=i,ih(e,s)}return o=a.interleaved,o===null?(i.next=i,gh(a)):(i.next=o.next,o.next=i),a.interleaved=i,ih(e,s)}function oh(e,i,s){if(i=i.updateQueue,i!==null&&(i=i.shared,(s&4194240)!==0)){var a=i.lanes;a&=e.pendingLanes,s|=a,i.lanes=s,Cc(e,s)}}function ph(e,i){var s=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,s===a)){var o=null,c=null;if(s=s.firstBaseUpdate,s!==null){do{var h={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};c===null?o=c=h:c=c.next=h,s=s.next}while(s!==null);c===null?o=c=i:c=c.next=i}else o=c=i;s={baseState:a.baseState,firstBaseUpdate:o,lastBaseUpdate:c,shared:a.shared,effects:a.effects},e.updateQueue=s;return}e=s.lastBaseUpdate,e===null?s.firstBaseUpdate=i:e.next=i,s.lastBaseUpdate=i}function qh(e,i,s,a){var o=e.updateQueue;jh=!1;var c=o.firstBaseUpdate,h=o.lastBaseUpdate,d=o.shared.pending;if(d!==null){o.shared.pending=null;var g=d,b=g.next;g.next=null,h===null?c=b:h.next=b,h=g;var j=e.alternate;j!==null&&(j=j.updateQueue,d=j.lastBaseUpdate,d!==h&&(d===null?j.firstBaseUpdate=b:d.next=b,j.lastBaseUpdate=g))}if(c!==null){var tt=o.baseState;h=0,j=b=g=null,d=c;do{var _=d.lane,nt=d.eventTime;if((a&_)===_){j!==null&&(j=j.next={eventTime:nt,lane:0,tag:d.tag,payload:d.payload,callback:d.callback,next:null});e:{var rt=e,it=d;switch(_=i,nt=s,it.tag){case 1:if(rt=it.payload,typeof rt=="function"){tt=rt.call(nt,tt,_);break e}tt=rt;break e;case 3:rt.flags=rt.flags&-65537|128;case 0:if(rt=it.payload,_=typeof rt=="function"?rt.call(nt,tt,_):rt,_==null)break e;tt=A({},tt,_);break e;case 2:jh=!0}}d.callback!==null&&d.lane!==0&&(e.flags|=64,_=o.effects,_===null?o.effects=[d]:_.push(d))}else nt={eventTime:nt,lane:_,tag:d.tag,payload:d.payload,callback:d.callback,next:null},j===null?(b=j=nt,g=tt):j=j.next=nt,h|=_;if(d=d.next,d===null){if(d=o.shared.pending,d===null)break;_=d,d=_.next,_.next=null,o.lastBaseUpdate=_,o.shared.pending=null}}while(!0);if(j===null&&(g=tt),o.baseState=g,o.firstBaseUpdate=b,o.lastBaseUpdate=j,i=o.shared.interleaved,i!==null){o=i;do h|=o.lane,o=o.next;while(o!==i)}else c===null&&(o.shared.lanes=0);rh|=h,e.lanes=h,e.memoizedState=tt}}function sh(e,i,s){if(e=i.effects,i.effects=null,e!==null)for(i=0;i<e.length;i++){var a=e[i],o=a.callback;if(o!==null){if(a.callback=null,a=s,typeof o!="function")throw Error(p(191,o));o.call(a)}}}var th={},uh=Uf(th),vh$1=Uf(th),wh=Uf(th);function xh(e){if(e===th)throw Error(p(174));return e}function yh(e,i){switch(G(wh,i),G(vh$1,e),G(uh,th),e=i.nodeType,e){case 9:case 11:i=(i=i.documentElement)?i.namespaceURI:lb(null,"");break;default:e=e===8?i.parentNode:i,i=e.namespaceURI||null,e=e.tagName,i=lb(i,e)}E(uh),G(uh,i)}function zh(){E(uh),E(vh$1),E(wh)}function Ah(e){xh(wh.current);var i=xh(uh.current),s=lb(i,e.type);i!==s&&(G(vh$1,e),G(uh,s))}function Bh(e){vh$1.current===e&&(E(uh),E(vh$1))}var L=Uf(0);function Ch(e){for(var i=e;i!==null;){if(i.tag===13){var s=i.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if(i.flags&128)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break;for(;i.sibling===null;){if(i.return===null||i.return===e)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var Dh=[];function Eh(){for(var e=0;e<Dh.length;e++)Dh[e]._workInProgressVersionPrimary=null;Dh.length=0}var Fh=ua.ReactCurrentDispatcher,Gh=ua.ReactCurrentBatchConfig,Hh=0,M=null,N=null,O=null,Ih=!1,Jh=!1,Kh=0,Lh=0;function P(){throw Error(p(321))}function Mh(e,i){if(i===null)return!1;for(var s=0;s<i.length&&s<e.length;s++)if(!He(e[s],i[s]))return!1;return!0}function Nh(e,i,s,a,o,c){if(Hh=c,M=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,Fh.current=e===null||e.memoizedState===null?Oh:Ph,e=s(a,o),Jh){c=0;do{if(Jh=!1,Kh=0,25<=c)throw Error(p(301));c+=1,O=N=null,i.updateQueue=null,Fh.current=Qh,e=s(a,o)}while(Jh)}if(Fh.current=Rh,i=N!==null&&N.next!==null,Hh=0,O=N=M=null,Ih=!1,i)throw Error(p(300));return e}function Sh(){var e=Kh!==0;return Kh=0,e}function Th(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return O===null?M.memoizedState=O=e:O=O.next=e,O}function Uh(){if(N===null){var e=M.alternate;e=e!==null?e.memoizedState:null}else e=N.next;var i=O===null?M.memoizedState:O.next;if(i!==null)O=i,N=e;else{if(e===null)throw Error(p(310));N=e,e={memoizedState:N.memoizedState,baseState:N.baseState,baseQueue:N.baseQueue,queue:N.queue,next:null},O===null?M.memoizedState=O=e:O=O.next=e}return O}function Vh(e,i){return typeof i=="function"?i(e):i}function Wh(e){var i=Uh(),s=i.queue;if(s===null)throw Error(p(311));s.lastRenderedReducer=e;var a=N,o=a.baseQueue,c=s.pending;if(c!==null){if(o!==null){var h=o.next;o.next=c.next,c.next=h}a.baseQueue=o=c,s.pending=null}if(o!==null){c=o.next,a=a.baseState;var d=h=null,g=null,b=c;do{var j=b.lane;if((Hh&j)===j)g!==null&&(g=g.next={lane:0,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null}),a=b.hasEagerState?b.eagerState:e(a,b.action);else{var tt={lane:j,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null};g===null?(d=g=tt,h=a):g=g.next=tt,M.lanes|=j,rh|=j}b=b.next}while(b!==null&&b!==c);g===null?h=a:g.next=d,He(a,i.memoizedState)||(dh=!0),i.memoizedState=a,i.baseState=h,i.baseQueue=g,s.lastRenderedState=a}if(e=s.interleaved,e!==null){o=e;do c=o.lane,M.lanes|=c,rh|=c,o=o.next;while(o!==e)}else o===null&&(s.lanes=0);return[i.memoizedState,s.dispatch]}function Xh(e){var i=Uh(),s=i.queue;if(s===null)throw Error(p(311));s.lastRenderedReducer=e;var a=s.dispatch,o=s.pending,c=i.memoizedState;if(o!==null){s.pending=null;var h=o=o.next;do c=e(c,h.action),h=h.next;while(h!==o);He(c,i.memoizedState)||(dh=!0),i.memoizedState=c,i.baseQueue===null&&(i.baseState=c),s.lastRenderedState=c}return[c,a]}function Yh(){}function Zh(e,i){var s=M,a=Uh(),o=i(),c=!He(a.memoizedState,o);if(c&&(a.memoizedState=o,dh=!0),a=a.queue,$h(ai.bind(null,s,a,e),[e]),a.getSnapshot!==i||c||O!==null&&O.memoizedState.tag&1){if(s.flags|=2048,bi(9,ci.bind(null,s,a,o,i),void 0,null),Q===null)throw Error(p(349));Hh&30||di(s,i,o)}return o}function di(e,i,s){e.flags|=16384,e={getSnapshot:i,value:s},i=M.updateQueue,i===null?(i={lastEffect:null,stores:null},M.updateQueue=i,i.stores=[e]):(s=i.stores,s===null?i.stores=[e]:s.push(e))}function ci(e,i,s,a){i.value=s,i.getSnapshot=a,ei(i)&&fi(e)}function ai(e,i,s){return s(function(){ei(i)&&fi(e)})}function ei(e){var i=e.getSnapshot;e=e.value;try{var s=i();return!He(e,s)}catch{return!0}}function fi(e){var i=ih(e,1);i!==null&&gi(i,e,1,-1)}function hi(e){var i=Th();return typeof e=="function"&&(e=e()),i.memoizedState=i.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Vh,lastRenderedState:e},i.queue=e,e=e.dispatch=ii.bind(null,M,e),[i.memoizedState,e]}function bi(e,i,s,a){return e={tag:e,create:i,destroy:s,deps:a,next:null},i=M.updateQueue,i===null?(i={lastEffect:null,stores:null},M.updateQueue=i,i.lastEffect=e.next=e):(s=i.lastEffect,s===null?i.lastEffect=e.next=e:(a=s.next,s.next=e,e.next=a,i.lastEffect=e)),e}function ji(){return Uh().memoizedState}function ki(e,i,s,a){var o=Th();M.flags|=e,o.memoizedState=bi(1|i,s,void 0,a===void 0?null:a)}function li(e,i,s,a){var o=Uh();a=a===void 0?null:a;var c=void 0;if(N!==null){var h=N.memoizedState;if(c=h.destroy,a!==null&&Mh(a,h.deps)){o.memoizedState=bi(i,s,c,a);return}}M.flags|=e,o.memoizedState=bi(1|i,s,c,a)}function mi(e,i){return ki(8390656,8,e,i)}function $h(e,i){return li(2048,8,e,i)}function ni(e,i){return li(4,2,e,i)}function oi(e,i){return li(4,4,e,i)}function pi(e,i){if(typeof i=="function")return e=e(),i(e),function(){i(null)};if(i!=null)return e=e(),i.current=e,function(){i.current=null}}function qi(e,i,s){return s=s!=null?s.concat([e]):null,li(4,4,pi.bind(null,i,e),s)}function ri(){}function si(e,i){var s=Uh();i=i===void 0?null:i;var a=s.memoizedState;return a!==null&&i!==null&&Mh(i,a[1])?a[0]:(s.memoizedState=[e,i],e)}function ti(e,i){var s=Uh();i=i===void 0?null:i;var a=s.memoizedState;return a!==null&&i!==null&&Mh(i,a[1])?a[0]:(e=e(),s.memoizedState=[e,i],e)}function ui(e,i,s){return Hh&21?(He(s,i)||(s=yc(),M.lanes|=s,rh|=s,e.baseState=!0),i):(e.baseState&&(e.baseState=!1,dh=!0),e.memoizedState=s)}function vi(e,i){var s=C;C=s!==0&&4>s?s:4,e(!0);var a=Gh.transition;Gh.transition={};try{e(!1),i()}finally{C=s,Gh.transition=a}}function wi(){return Uh().memoizedState}function xi(e,i,s){var a=yi(e);if(s={lane:a,action:s,hasEagerState:!1,eagerState:null,next:null},zi(e))Ai(i,s);else if(s=hh(e,i,s,a),s!==null){var o=R();gi(s,e,a,o),Bi(s,i,a)}}function ii(e,i,s){var a=yi(e),o={lane:a,action:s,hasEagerState:!1,eagerState:null,next:null};if(zi(e))Ai(i,o);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=i.lastRenderedReducer,c!==null))try{var h=i.lastRenderedState,d=c(h,s);if(o.hasEagerState=!0,o.eagerState=d,He(d,h)){var g=i.interleaved;g===null?(o.next=o,gh(i)):(o.next=g.next,g.next=o),i.interleaved=o;return}}catch{}finally{}s=hh(e,i,o,a),s!==null&&(o=R(),gi(s,e,a,o),Bi(s,i,a))}}function zi(e){var i=e.alternate;return e===M||i!==null&&i===M}function Ai(e,i){Jh=Ih=!0;var s=e.pending;s===null?i.next=i:(i.next=s.next,s.next=i),e.pending=i}function Bi(e,i,s){if(s&4194240){var a=i.lanes;a&=e.pendingLanes,s|=a,i.lanes=s,Cc(e,s)}}var Rh={readContext:eh,useCallback:P,useContext:P,useEffect:P,useImperativeHandle:P,useInsertionEffect:P,useLayoutEffect:P,useMemo:P,useReducer:P,useRef:P,useState:P,useDebugValue:P,useDeferredValue:P,useTransition:P,useMutableSource:P,useSyncExternalStore:P,useId:P,unstable_isNewReconciler:!1},Oh={readContext:eh,useCallback:function(e,i){return Th().memoizedState=[e,i===void 0?null:i],e},useContext:eh,useEffect:mi,useImperativeHandle:function(e,i,s){return s=s!=null?s.concat([e]):null,ki(4194308,4,pi.bind(null,i,e),s)},useLayoutEffect:function(e,i){return ki(4194308,4,e,i)},useInsertionEffect:function(e,i){return ki(4,2,e,i)},useMemo:function(e,i){var s=Th();return i=i===void 0?null:i,e=e(),s.memoizedState=[e,i],e},useReducer:function(e,i,s){var a=Th();return i=s!==void 0?s(i):i,a.memoizedState=a.baseState=i,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},a.queue=e,e=e.dispatch=xi.bind(null,M,e),[a.memoizedState,e]},useRef:function(e){var i=Th();return e={current:e},i.memoizedState=e},useState:hi,useDebugValue:ri,useDeferredValue:function(e){return Th().memoizedState=e},useTransition:function(){var e=hi(!1),i=e[0];return e=vi.bind(null,e[1]),Th().memoizedState=e,[i,e]},useMutableSource:function(){},useSyncExternalStore:function(e,i,s){var a=M,o=Th();if(I){if(s===void 0)throw Error(p(407));s=s()}else{if(s=i(),Q===null)throw Error(p(349));Hh&30||di(a,i,s)}o.memoizedState=s;var c={value:s,getSnapshot:i};return o.queue=c,mi(ai.bind(null,a,c,e),[e]),a.flags|=2048,bi(9,ci.bind(null,a,c,s,i),void 0,null),s},useId:function(){var e=Th(),i=Q.identifierPrefix;if(I){var s=sg,a=rg;s=(a&~(1<<32-oc(a)-1)).toString(32)+s,i=":"+i+"R"+s,s=Kh++,0<s&&(i+="H"+s.toString(32)),i+=":"}else s=Lh++,i=":"+i+"r"+s.toString(32)+":";return e.memoizedState=i},unstable_isNewReconciler:!1},Ph={readContext:eh,useCallback:si,useContext:eh,useEffect:$h,useImperativeHandle:qi,useInsertionEffect:ni,useLayoutEffect:oi,useMemo:ti,useReducer:Wh,useRef:ji,useState:function(){return Wh(Vh)},useDebugValue:ri,useDeferredValue:function(e){var i=Uh();return ui(i,N.memoizedState,e)},useTransition:function(){var e=Wh(Vh)[0],i=Uh().memoizedState;return[e,i]},useMutableSource:Yh,useSyncExternalStore:Zh,useId:wi,unstable_isNewReconciler:!1},Qh={readContext:eh,useCallback:si,useContext:eh,useEffect:$h,useImperativeHandle:qi,useInsertionEffect:ni,useLayoutEffect:oi,useMemo:ti,useReducer:Xh,useRef:ji,useState:function(){return Xh(Vh)},useDebugValue:ri,useDeferredValue:function(e){var i=Uh();return N===null?i.memoizedState=e:ui(i,N.memoizedState,e)},useTransition:function(){var e=Xh(Vh)[0],i=Uh().memoizedState;return[e,i]},useMutableSource:Yh,useSyncExternalStore:Zh,useId:wi,unstable_isNewReconciler:!1};function Ci(e,i){if(e&&e.defaultProps){i=A({},i),e=e.defaultProps;for(var s in e)i[s]===void 0&&(i[s]=e[s]);return i}return i}function Di(e,i,s,a){i=e.memoizedState,s=s(a,i),s=s==null?i:A({},i,s),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}var Ei={isMounted:function(e){return(e=e._reactInternals)?Vb(e)===e:!1},enqueueSetState:function(e,i,s){e=e._reactInternals;var a=R(),o=yi(e),c=mh(a,o);c.payload=i,s!=null&&(c.callback=s),i=nh(e,c,o),i!==null&&(gi(i,e,o,a),oh(i,e,o))},enqueueReplaceState:function(e,i,s){e=e._reactInternals;var a=R(),o=yi(e),c=mh(a,o);c.tag=1,c.payload=i,s!=null&&(c.callback=s),i=nh(e,c,o),i!==null&&(gi(i,e,o,a),oh(i,e,o))},enqueueForceUpdate:function(e,i){e=e._reactInternals;var s=R(),a=yi(e),o=mh(s,a);o.tag=2,i!=null&&(o.callback=i),i=nh(e,o,a),i!==null&&(gi(i,e,a,s),oh(i,e,a))}};function Fi(e,i,s,a,o,c,h){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,c,h):i.prototype&&i.prototype.isPureReactComponent?!Ie(s,a)||!Ie(o,c):!0}function Gi(e,i,s){var a=!1,o=Vf,c=i.contextType;return typeof c=="object"&&c!==null?c=eh(c):(o=Zf(i)?Xf:H.current,a=i.contextTypes,c=(a=a!=null)?Yf(e,o):Vf),i=new i(s,c),e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=Ei,e.stateNode=i,i._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=c),i}function Hi(e,i,s,a){e=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(s,a),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(s,a),i.state!==e&&Ei.enqueueReplaceState(i,i.state,null)}function Ii(e,i,s,a){var o=e.stateNode;o.props=s,o.state=e.memoizedState,o.refs={},kh(e);var c=i.contextType;typeof c=="object"&&c!==null?o.context=eh(c):(c=Zf(i)?Xf:H.current,o.context=Yf(e,c)),o.state=e.memoizedState,c=i.getDerivedStateFromProps,typeof c=="function"&&(Di(e,i,c,s),o.state=e.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(i=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),i!==o.state&&Ei.enqueueReplaceState(o,o.state,null),qh(e,s,o,a),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Ji(e,i){try{var s="",a=i;do s+=Pa(a),a=a.return;while(a);var o=s}catch(c){o=` 39Error generating stack: `+c.message+` 40`+c.stack}return{value:e,source:i,stack:o,digest:null}}function Ki(e,i,s){return{value:e,source:null,stack:s??null,digest:i??null}}function Li(e,i){try{console.error(i.value)}catch(s){setTimeout(function(){throw s})}}var Mi=typeof WeakMap=="function"?WeakMap:Map;function Ni(e,i,s){s=mh(-1,s),s.tag=3,s.payload={element:null};var a=i.value;return s.callback=function(){Oi||(Oi=!0,Pi=a),Li(e,i)},s}function Qi(e,i,s){s=mh(-1,s),s.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var o=i.value;s.payload=function(){return a(o)},s.callback=function(){Li(e,i)}}var c=e.stateNode;return c!==null&&typeof c.componentDidCatch=="function"&&(s.callback=function(){Li(e,i),typeof a!="function"&&(Ri===null?Ri=new Set([this]):Ri.add(this));var h=i.stack;this.componentDidCatch(i.value,{componentStack:h!==null?h:""})}),s}function Si(e,i,s){var a=e.pingCache;if(a===null){a=e.pingCache=new Mi;var o=new Set;a.set(i,o)}else o=a.get(i),o===void 0&&(o=new Set,a.set(i,o));o.has(s)||(o.add(s),e=Ti.bind(null,e,i,s),i.then(e,e))}function Ui(e){do{var i;if((i=e.tag===13)&&(i=e.memoizedState,i=i!==null?i.dehydrated!==null:!0),i)return e;e=e.return}while(e!==null);return null}function Vi(e,i,s,a,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===i?e.flags|=65536:(e.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(i=mh(-1,1),i.tag=2,nh(s,i,1))),s.lanes|=1),e)}var Wi=ua.ReactCurrentOwner,dh=!1;function Xi(e,i,s,a){i.child=e===null?Vg(i,null,s,a):Ug(i,e.child,s,a)}function Yi(e,i,s,a,o){s=s.render;var c=i.ref;return ch(i,o),a=Nh(e,i,s,a,c,o),s=Sh(),e!==null&&!dh?(i.updateQueue=e.updateQueue,i.flags&=-2053,e.lanes&=~o,Zi(e,i,o)):(I&&s&&vg(i),i.flags|=1,Xi(e,i,a,o),i.child)}function $i(e,i,s,a,o){if(e===null){var c=s.type;return typeof c=="function"&&!aj(c)&&c.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(i.tag=15,i.type=c,bj(e,i,c,a,o)):(e=Rg(s.type,null,a,i,i.mode,o),e.ref=i.ref,e.return=i,i.child=e)}if(c=e.child,!(e.lanes&o)){var h=c.memoizedProps;if(s=s.compare,s=s!==null?s:Ie,s(h,a)&&e.ref===i.ref)return Zi(e,i,o)}return i.flags|=1,e=Pg(c,a),e.ref=i.ref,e.return=i,i.child=e}function bj(e,i,s,a,o){if(e!==null){var c=e.memoizedProps;if(Ie(c,a)&&e.ref===i.ref)if(dh=!1,i.pendingProps=a=c,(e.lanes&o)!==0)e.flags&131072&&(dh=!0);else return i.lanes=e.lanes,Zi(e,i,o)}return cj(e,i,s,a,o)}function dj(e,i,s){var a=i.pendingProps,o=a.children,c=e!==null?e.memoizedState:null;if(a.mode==="hidden")if(!(i.mode&1))i.memoizedState={baseLanes:0,cachePool:null,transitions:null},G(ej,fj),fj|=s;else{if(!(s&1073741824))return e=c!==null?c.baseLanes|s:s,i.lanes=i.childLanes=1073741824,i.memoizedState={baseLanes:e,cachePool:null,transitions:null},i.updateQueue=null,G(ej,fj),fj|=e,null;i.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=c!==null?c.baseLanes:s,G(ej,fj),fj|=a}else c!==null?(a=c.baseLanes|s,i.memoizedState=null):a=s,G(ej,fj),fj|=a;return Xi(e,i,o,s),i.child}function gj(e,i){var s=i.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(i.flags|=512,i.flags|=2097152)}
vendor: 4,508 bytes, line 40
40function cj(e,i,s,a,o){var c=Zf(s)?Xf:H.current;return c=Yf(i,c),ch(i,o),s=Nh(e,i,s,a,c,o),a=Sh(),e!==null&&!dh?(i.updateQueue=e.updateQueue,i.flags&=-2053,e.lanes&=~o,Zi(e,i,o)):(I&&a&&vg(i),i.flags|=1,Xi(e,i,s,o),i.child)}function hj(e,i,s,a,o){if(Zf(s)){var c=!0;cg(i)}else c=!1;if(ch(i,o),i.stateNode===null)ij(e,i),Gi(i,s,a),Ii(i,s,a,o),a=!0;else if(e===null){var h=i.stateNode,d=i.memoizedProps;h.props=d;var g=h.context,b=s.contextType;typeof b=="object"&&b!==null?b=eh(b):(b=Zf(s)?Xf:H.current,b=Yf(i,b));var j=s.getDerivedStateFromProps,tt=typeof j=="function"||typeof h.getSnapshotBeforeUpdate=="function";tt||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(d!==a||g!==b)&&Hi(i,h,a,b),jh=!1;var _=i.memoizedState;h.state=_,qh(i,a,h,o),g=i.memoizedState,d!==a||_!==g||Wf.current||jh?(typeof j=="function"&&(Di(i,s,j,a),g=i.memoizedState),(d=jh||Fi(i,s,d,a,_,g,b))?(tt||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"&&(i.flags|=4194308)):(typeof h.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=a,i.memoizedState=g),h.props=a,h.state=g,h.context=b,a=d):(typeof h.componentDidMount=="function"&&(i.flags|=4194308),a=!1)}else{h=i.stateNode,lh(e,i),d=i.memoizedProps,b=i.type===i.elementType?d:Ci(i.type,d),h.props=b,tt=i.pendingProps,_=h.context,g=s.contextType,typeof g=="object"&&g!==null?g=eh(g):(g=Zf(s)?Xf:H.current,g=Yf(i,g));var nt=s.getDerivedStateFromProps;(j=typeof nt=="function"||typeof h.getSnapshotBeforeUpdate=="function")||typeof h.UNSAFE_componentWillReceiveProps!="function"&&typeof h.componentWillReceiveProps!="function"||(d!==tt||_!==g)&&Hi(i,h,a,g),jh=!1,_=i.memoizedState,h.state=_,qh(i,a,h,o);var rt=i.memoizedState;d!==tt||_!==rt||Wf.current||jh?(typeof nt=="function"&&(Di(i,s,nt,a),rt=i.memoizedState),(b=jh||Fi(i,s,b,a,_,rt,g)||!1)?(j||typeof h.UNSAFE_componentWillUpdate!="function"&&typeof h.componentWillUpdate!="function"||(typeof h.componentWillUpdate=="function"&&h.componentWillUpdate(a,rt,g),typeof h.UNSAFE_componentWillUpdate=="function"&&h.UNSAFE_componentWillUpdate(a,rt,g)),typeof h.componentDidUpdate=="function"&&(i.flags|=4),typeof h.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof h.componentDidUpdate!="function"||d===e.memoizedProps&&_===e.memoizedState||(i.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&_===e.memoizedState||(i.flags|=1024),i.memoizedProps=a,i.memoizedState=rt),h.props=a,h.state=rt,h.context=g,a=b):(typeof h.componentDidUpdate!="function"||d===e.memoizedProps&&_===e.memoizedState||(i.flags|=4),typeof h.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&_===e.memoizedState||(i.flags|=1024),a=!1)}return jj(e,i,s,a,c,o)}function jj(e,i,s,a,o,c){gj(e,i);var h=(i.flags&128)!==0;if(!a&&!h)return o&&dg(i,s,!1),Zi(e,i,c);a=i.stateNode,Wi.current=i;var d=h&&typeof s.getDerivedStateFromError!="function"?null:a.render();return i.flags|=1,e!==null&&h?(i.child=Ug(i,e.child,null,c),i.child=Ug(i,null,d,c)):Xi(e,i,d,c),i.memoizedState=a.state,o&&dg(i,s,!0),i.child}function kj(e){var i=e.stateNode;i.pendingContext?ag(e,i.pendingContext,i.pendingContext!==i.context):i.context&&ag(e,i.context,!1),yh(e,i.containerInfo)}function lj(e,i,s,a,o){return Ig(),Jg(o),i.flags|=256,Xi(e,i,s,a),i.child}var mj={dehydrated:null,treeContext:null,retryLane:0};function nj(e){return{baseLanes:e,cachePool:null,transitions:null}}function oj(e,i,s){var a=i.pendingProps,o=L.current,c=!1,h=(i.flags&128)!==0,d;if((d=h)||(d=e!==null&&e.memoizedState===null?!1:(o&2)!==0),d?(c=!0,i.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),G(L,o&1),e===null)return Eg(i),e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(i.mode&1?e.data==="$!"?i.lanes=8:i.lanes=1073741824:i.lanes=1,null):(h=a.children,e=a.fallback,c?(a=i.mode,c=i.child,h={mode:"hidden",children:h},!(a&1)&&c!==null?(c.childLanes=0,c.pendingProps=h):c=pj(h,a,0,null),e=Tg(e,a,s,null),c.return=i,e.return=i,c.sibling=e,i.child=c,i.child.memoizedState=nj(s),i.memoizedState=mj,e):qj(i,h));if(o=e.memoizedState,o!==null&&(d=o.dehydrated,d!==null))return rj(e,i,h,a,d,o,s);if(c){c=a.fallback,h=i.mode,o=e.child,d=o.sibling;var g={mode:"hidden",children:a.children};return!(h&1)&&i.child!==o?(a=i.child,a.childLanes=0,a.pendingProps=g,i.deleti
vendor: 6,829 bytes, line 40
40ons=null):(a=Pg(o,g),a.subtreeFlags=o.subtreeFlags&14680064),d!==null?c=Pg(d,c):(c=Tg(c,h,s,null),c.flags|=2),c.return=i,a.return=i,a.sibling=c,i.child=a,a=c,c=i.child,h=e.child.memoizedState,h=h===null?nj(s):{baseLanes:h.baseLanes|s,cachePool:null,transitions:h.transitions},c.memoizedState=h,c.childLanes=e.childLanes&~s,i.memoizedState=mj,a}return c=e.child,e=c.sibling,a=Pg(c,{mode:"visible",children:a.children}),!(i.mode&1)&&(a.lanes=s),a.return=i,a.sibling=null,e!==null&&(s=i.deletions,s===null?(i.deletions=[e],i.flags|=16):s.push(e)),i.child=a,i.memoizedState=null,a}function qj(e,i){return i=pj({mode:"visible",children:i},e.mode,0,null),i.return=e,e.child=i}function sj(e,i,s,a){return a!==null&&Jg(a),Ug(i,e.child,null,s),e=qj(i,i.pendingProps.children),e.flags|=2,i.memoizedState=null,e}function rj(e,i,s,a,o,c,h){if(s)return i.flags&256?(i.flags&=-257,a=Ki(Error(p(422))),sj(e,i,h,a)):i.memoizedState!==null?(i.child=e.child,i.flags|=128,null):(c=a.fallback,o=i.mode,a=pj({mode:"visible",children:a.children},o,0,null),c=Tg(c,o,h,null),c.flags|=2,a.return=i,c.return=i,a.sibling=c,i.child=a,i.mode&1&&Ug(i,e.child,null,h),i.child.memoizedState=nj(h),i.memoizedState=mj,c);if(!(i.mode&1))return sj(e,i,h,null);if(o.data==="$!"){if(a=o.nextSibling&&o.nextSibling.dataset,a)var d=a.dgst;return a=d,c=Error(p(419)),a=Ki(c,a,void 0),sj(e,i,h,a)}if(d=(h&e.childLanes)!==0,dh||d){if(a=Q,a!==null){switch(h&-h){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(a.suspendedLanes|h)?0:o,o!==0&&o!==c.retryLane&&(c.retryLane=o,ih(e,o),gi(a,e,o,-1))}return tj(),a=Ki(Error(p(421))),sj(e,i,h,a)}return o.data==="$?"?(i.flags|=128,i.child=e.child,i=uj.bind(null,e),o._reactRetry=i,null):(e=c.treeContext,yg=Lf(o.nextSibling),xg=i,I=!0,zg=null,e!==null&&(og[pg++]=rg,og[pg++]=sg,og[pg++]=qg,rg=e.id,sg=e.overflow,qg=i),i=qj(i,a.children),i.flags|=4096,i)}function vj(e,i,s){e.lanes|=i;var a=e.alternate;a!==null&&(a.lanes|=i),bh(e.return,i,s)}function wj(e,i,s,a,o){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:a,tail:s,tailMode:o}:(c.isBackwards=i,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=s,c.tailMode=o)}function xj(e,i,s){var a=i.pendingProps,o=a.revealOrder,c=a.tail;if(Xi(e,i,a.children,s),a=L.current,a&2)a=a&1|2,i.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=i.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&vj(e,s,i);else if(e.tag===19)vj(e,s,i);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===i)break e;for(;e.sibling===null;){if(e.return===null||e.return===i)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(G(L,a),!(i.mode&1))i.memoizedState=null;else switch(o){case"forwards":for(s=i.child,o=null;s!==null;)e=s.alternate,e!==null&&Ch(e)===null&&(o=s),s=s.sibling;s=o,s===null?(o=i.child,i.child=null):(o=s.sibling,s.sibling=null),wj(i,!1,o,s,c);break;case"backwards":for(s=null,o=i.child,i.child=null;o!==null;){if(e=o.alternate,e!==null&&Ch(e)===null){i.child=o;break}e=o.sibling,o.sibling=s,s=o,o=e}wj(i,!0,s,null,c);break;case"together":wj(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function ij(e,i){!(i.mode&1)&&e!==null&&(e.alternate=null,i.alternate=null,i.flags|=2)}function Zi(e,i,s){if(e!==null&&(i.dependencies=e.dependencies),rh|=i.lanes,!(s&i.childLanes))return null;if(e!==null&&i.child!==e.child)throw Error(p(153));if(i.child!==null){for(e=i.child,s=Pg(e,e.pendingProps),i.child=s,s.return=i;e.sibling!==null;)e=e.sibling,s=s.sibling=Pg(e,e.pendingProps),s.return=i;s.sibling=null}return i.child}function yj(e,i,s){switch(i.tag){case 3:kj(i),Ig();break;case 5:Ah(i);break;case 1:Zf(i.type)&&cg(i);break;case 4:yh(i,i.stateNode.containerInfo);break;case 10:var a=i.type._context,o=i.memoizedProps.value;G(Wg,a._currentValue),a._currentValue=o;break;case 13:if(a=i.memoizedState,a!==null)return a.dehydrated!==null?(G(L,L.current&1),i.flags|=128,null):s&i.child.childLanes?oj(e,i,s):(G(L,L.current&1),e=Zi(e,i,s),e!==null?e.sibling:null);G(L,L.current&1);break;case 19:if(a=(s&i.childLanes)!==0,e.flags&128){if(a)return xj(e,i,s);i.flags|=128}if(o=i.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),G(L,L.current),a)break;return null;case 22:case 23:return i.lanes=0,dj(e,i,s)}return Zi(e,i,s)}var zj,Aj,Bj,Cj;zj=function(e,i){for(var s=i.child;s!==null;){if(s.tag===5||s.tag===6)e.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===i)break;for(;s.sibling===null;){if(s.return===null||s.return===i)return;s=s.return}s.sibling.return=s.return,s=s.sibling}};Aj=function(){};Bj=function(e,i,s,a){var o=e.memoizedProps;if(o!==a){e=i.stateNode,xh(uh.current);var c=null;switch(s){case"input":o=Ya(e,o),a=Ya(e,a),c=[];break;case"select":o=A({},o,{value:void 0}),a=A({},a,{value:void 0}),c=[];break;case"textarea":o=gb(e,o),a=gb(e,a),c=[];break;default:typeof o.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=Bf)}ub(s,a);var h;s=null;for(b in o)if(!a.hasOwnProperty(b)&&o.hasOwnProperty(b)&&o[b]!=null)if(b==="style"){var d=o[b];for(h in d)d.hasOwnProperty(h)&&(s||(s={}),s[h]="")}else b!=="dangerouslySetInnerHTML"&&b!=="children"&&b!=="suppressContentEditableWarning"&&b!=="suppressHydrationWarning"&&b!=="autoFocus"&&(ea.hasOwnProperty(b)?c||(c=[]):(c=c||[]).push(b,null));for(b in a){var g=a[b];if(d=o!=null?o[b]:void 0,a.hasOwnProperty(b)&&g!==d&&(g!=null||d!=null))if(b==="style")if(d){for(h in d)!d.hasOwnProperty(h)||g&&g.hasOwnProperty(h)||(s||(s={}),s[h]="");for(h in g)g.hasOwnProperty(h)&&d[h]!==g[h]&&(s||(s={}),s[h]=g[h])}else s||(c||(c=[]),c.push(b,s)),s=g;else b==="dangerouslySetInnerHTML"?(g=g?g.__html:void 0,d=d?d.__html:void 0,g!=null&&d!==g&&(c=c||[]).push(b,g)):b==="children"?typeof g!="string"&&typeof g!="number"||(c=c||[]).push(b,""+g):b!=="suppressContentEditableWarning"&&b!=="suppressHydrationWarning"&&(ea.hasOwnProperty(b)?(g!=null&&b==="onScroll"&&D("scroll",e),c||d===g||(c=[])):(c=c||[]).push(b,g))}s&&(c=c||[]).push("style",s);var b=c;(i.updateQueue=b)&&(i.flags|=4)}};Cj=function(e,i,s,a){s!==a&&(i.flags|=4)};function Dj(e,i){if(!I)switch(e.tailMode){case"hidden":i=e.tail;for(var s=null;i!==null;)i.alternate!==null&&(s=i),i=i.sibling;s===null?e.tail=null:s.sibling=null;break;case"collapsed":s=e.tail;for(var a=null;s!==null;)s.alternate!==null&&(a=s),s=s.sibling;a===null?i||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function S(e){var i=e.alternate!==null&&e.alternate.child===e.child,s=0,a=0;if(i)for(var o=e.child;o!==null;
vendor: 8,290 bytes, line 40
40)s|=o.lanes|o.childLanes,a|=o.subtreeFlags&14680064,a|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)s|=o.lanes|o.childLanes,a|=o.subtreeFlags,a|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=a,e.childLanes=s,i}function Ej(e,i,s){var a=i.pendingProps;switch(wg(i),i.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return S(i),null;case 1:return Zf(i.type)&&$f(),S(i),null;case 3:return a=i.stateNode,zh(),E(Wf),E(H),Eh(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Gg(i)?i.flags|=4:e===null||e.memoizedState.isDehydrated&&!(i.flags&256)||(i.flags|=1024,zg!==null&&(Fj(zg),zg=null))),Aj(e,i),S(i),null;case 5:Bh(i);var o=xh(wh.current);if(s=i.type,e!==null&&i.stateNode!=null)Bj(e,i,s,a,o),e.ref!==i.ref&&(i.flags|=512,i.flags|=2097152);else{if(!a){if(i.stateNode===null)throw Error(p(166));return S(i),null}if(e=xh(uh.current),Gg(i)){a=i.stateNode,s=i.type;var c=i.memoizedProps;switch(a[Of]=i,a[Pf]=c,e=(i.mode&1)!==0,s){case"dialog":D("cancel",a),D("close",a);break;case"iframe":case"object":case"embed":D("load",a);break;case"video":case"audio":for(o=0;o<lf.length;o++)D(lf[o],a);break;case"source":D("error",a);break;case"img":case"image":case"link":D("error",a),D("load",a);break;case"details":D("toggle",a);break;case"input":Za(a,c),D("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!c.multiple},D("invalid",a);break;case"textarea":hb(a,c),D("invalid",a)}ub(s,c),o=null;for(var h in c)if(c.hasOwnProperty(h)){var d=c[h];h==="children"?typeof d=="string"?a.textContent!==d&&(c.suppressHydrationWarning!==!0&&Af(a.textContent,d,e),o=["children",d]):typeof d=="number"&&a.textContent!==""+d&&(c.suppressHydrationWarning!==!0&&Af(a.textContent,d,e),o=["children",""+d]):ea.hasOwnProperty(h)&&d!=null&&h==="onScroll"&&D("scroll",a)}switch(s){case"input":Va(a),db(a,c,!0);break;case"textarea":Va(a),jb(a);break;case"select":case"option":break;default:typeof c.onClick=="function"&&(a.onclick=Bf)}a=o,i.updateQueue=a,a!==null&&(i.flags|=4)}else{h=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=kb(s)),e==="http://www.w3.org/1999/xhtml"?s==="script"?(e=h.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=h.createElement(s,{is:a.is}):(e=h.createElement(s),s==="select"&&(h=e,a.multiple?h.multiple=!0:a.size&&(h.size=a.size))):e=h.createElementNS(e,s),e[Of]=i,e[Pf]=a,zj(e,i,!1,!1),i.stateNode=e;e:{switch(h=vb(s,a),s){case"dialog":D("cancel",e),D("close",e),o=a;break;case"iframe":case"object":case"embed":D("load",e),o=a;break;case"video":case"audio":for(o=0;o<lf.length;o++)D(lf[o],e);o=a;break;case"source":D("error",e),o=a;break;case"img":case"image":case"link":D("error",e),D("load",e),o=a;break;case"details":D("toggle",e),o=a;break;case"input":Za(e,a),o=Ya(e,a),D("invalid",e);break;case"option":o=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},o=A({},a,{value:void 0}),D("invalid",e);break;case"textarea":hb(e,a),o=gb(e,a),D("invalid",e);break;default:o=a}ub(s,o),d=o;for(c in d)if(d.hasOwnProperty(c)){var g=d[c];c==="style"?sb(e,g):c==="dangerouslySetInnerHTML"?(g=g?g.__html:void 0,g!=null&&nb(e,g)):c==="children"?typeof g=="string"?(s!=="textarea"||g!=="")&&ob(e,g):typeof g=="number"&&ob(e,""+g):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(ea.hasOwnProperty(c)?g!=null&&c==="onScroll"&&D("scroll",e):g!=null&&ta(e,c,g,h))}switch(s){case"input":Va(e),db(e,a,!1);break;case"textarea":Va(e),jb(e);break;case"option":a.value!=null&&e.setAttribute("value",""+Sa(a.value));break;case"select":e.multiple=!!a.multiple,c=a.value,c!=null?fb(e,!!a.multiple,c,!1):a.defaultValue!=null&&fb(e,!!a.multiple,a.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Bf)}switch(s){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(i.flags|=4)}i.ref!==null&&(i.flags|=512,i.flags|=2097152)}return S(i),null;case 6:if(e&&i.stateNode!=null)Cj(e,i,e.memoizedProps,a);else{if(typeof a!="string"&&i.stateNode===null)throw Error(p(166));if(s=xh(wh.current),xh(uh.current),Gg(i)){if(a=i.stateNode,s=i.memoizedProps,a[Of]=i,(c=a.nodeValue!==s)&&(e=xg,e!==null))switch(e.tag){case 3:Af(a.nodeValue,s,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Af(a.nodeValue,s,(e.mode&1)!==0)}c&&(i.flags|=4)}else a=(s.nodeType===9?s:s.ownerDocument).createTextNode(a),a[Of]=i,i.stateNode=a}return S(i),null;case 13:if(E(L),a=i.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(I&&yg!==null&&i.mode&1&&!(i.flags&128))Hg(),Ig(),i.flags|=98560,c=!1;else if(c=Gg(i),a!==null&&a.dehydrated!==null){if(e===null){if(!c)throw Error(p(318));if(c=i.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error(p(317));c[Of]=i}else Ig(),!(i.flags&128)&&(i.memoizedState=null),i.flags|=4;S(i),c=!1}else zg!==null&&(Fj(zg),zg=null),c=!0;if(!c)return i.flags&65536?i:null}return i.flags&128?(i.lanes=s,i):(a=a!==null,a!==(e!==null&&e.memoizedState!==null)&&a&&(i.child.flags|=8192,i.mode&1&&(e===null||L.current&1?T===0&&(T=3):tj())),i.updateQueue!==null&&(i.flags|=4),S(i),null);case 4:return zh(),Aj(e,i),e===null&&sf(i.stateNode.containerInfo),S(i),null;case 10:return ah(i.type._context),S(i),null;case 17:return Zf(i.type)&&$f(),S(i),null;case 19:if(E(L),c=i.memoizedState,c===null)return S(i),null;if(a=(i.flags&128)!==0,h=c.rendering,h===null)if(a)Dj(c,!1);else{if(T!==0||e!==null&&e.flags&128)for(e=i.child;e!==null;){if(h=Ch(e),h!==null){for(i.flags|=128,Dj(c,!1),a=h.updateQueue,a!==null&&(i.updateQueue=a,i.flags|=4),i.subtreeFlags=0,a=s,s=i.child;s!==null;)c=s,e=a,c.flags&=14680066,h=c.alternate,h===null?(c.childLanes=0,c.lanes=e,c.child=null,c.subtreeFlags=0,c.memoizedProps=null,c.memoizedState=null,c.updateQueue=null,c.dependencies=null,c.stateNode=null):(c.childLanes=h.childLanes,c.lanes=h.lanes,c.child=h.child,c.subtreeFlags=0,c.deletions=null,c.memoizedProps=h.memoizedProps,c.memoizedState=h.memoizedState,c.updateQueue=h.updateQueue,c.type=h.type,e=h.dependencies,c.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),s=s.sibling;return G(L,L.current&1|2),i.child}e=e.sibling}c.tail!==null&&B()>Gj&&(i.flags|=128,a=!0,Dj(c,!1),i.lanes=4194304)}else{if(!a)if(e=Ch(h),e!==null){if(i.flags|=128,a=!0,s=e.updateQueue,s!==null&&(i.updateQueue=s,i.flags|=4),Dj(c,!0),c.tail===null&&c.tailMode==="hidden"&&!h.alternate&&!I)return S(i),null}else 2*B()-c.renderingStartTime>Gj&&s!==1073741824&&(i.flags|=128,a=!0,Dj(c,!1),i.lanes=4194304);c.isBackwards?(h.sibling=i.child,i.child=h):(s=c.last,s!==null?s.sibling=h:i.child=h,c.last=h)}return c.tail!==null?(i=c.tail,c.rendering=i,c.tail=i.sibling,c.renderingStartTime=B(),i.sibling=null,s=L.current,G(L,a?s&1|2:s&1),i):(S(i),null);case 22:case 23:return Hj(),a=i.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(i.flags|=8192),a&&i.mode&1?fj&1073741824&&(S(i),i.subtreeFlags&6&&(i.flags|=8192)):S(i),null;case 24:return null;case 25:return null}throw Error(p(156,i.tag))}function Ij(e,i){switch(wg(i),i.tag){case 1:return Zf(i.type)&&$f(),e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 3:return zh(),E(Wf),E(H),Eh(),e=i.flags,e&65536&&!(e&128)?(i.flags=e&-65537|128,i):null;case 5:return Bh(i),null;case 13:if(E(L),e=i.memoizedState,e!==null&&e.dehydrated!==null){if(i.alternate===null)throw Error(p(340));Ig()}return e=i.flags,e&65536?(i.flags=e&-65537|128,i):null;case 19:return E(L),null;case 4:return zh(),null;case 10:return ah(i.type._context),null;case 22:case 23:return Hj(),null;case 24:return null;default:return null}}var Jj=!1,U=!1,Kj=typeof WeakSet=="function"?WeakSet:Set,V=null;function Lj(e,i){var s=e.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(a){W(e,i,a)}else s.current=null}function Mj(e,i,s){try{s()}catch(a){W(e,i,a)}}var Nj=!1;function Oj(e,i){if(Cf=dd,e=Me(),Ne(e)){if("selectionStart"in e)var s={start:e.selectionStart,end:e.selectionEnd};else e:{s=(s=e.ownerDocument)&&s.defaultView||window;var a=s.getSelection&&s.getSelection();if(a&&a.rangeCount!==0){s=a.anchorNode;var o=a.anchorOffset,c=a.focusNode;a=a.focusOffset;try{s.nodeType,c.nodeType}catch{s=null;break e}
vendor: 4,179 bytes, line 40
40var h=0,d=-1,g=-1,b=0,j=0,tt=e,_=null;t:for(;;){for(var nt;tt!==s||o!==0&&tt.nodeType!==3||(d=h+o),tt!==c||a!==0&&tt.nodeType!==3||(g=h+a),tt.nodeType===3&&(h+=tt.nodeValue.length),(nt=tt.firstChild)!==null;)_=tt,tt=nt;for(;;){if(tt===e)break t;if(_===s&&++b===o&&(d=h),_===c&&++j===a&&(g=h),(nt=tt.nextSibling)!==null)break;tt=_,_=tt.parentNode}tt=nt}s=d===-1||g===-1?null:{start:d,end:g}}else s=null}s=s||{start:0,end:0}}else s=null;for(Df={focusedElem:e,selectionRange:s},dd=!1,V=i;V!==null;)if(i=V,e=i.child,(i.subtreeFlags&1028)!==0&&e!==null)e.return=i,V=e;else for(;V!==null;){i=V;try{var rt=i.alternate;if(i.flags&1024)switch(i.tag){case 0:case 11:case 15:break;case 1:if(rt!==null){var it=rt.memoizedProps,ut=rt.memoizedState,_e=i.stateNode,et=_e.getSnapshotBeforeUpdate(i.elementType===i.type?it:Ci(i.type,it),ut);_e.__reactInternalSnapshotBeforeUpdate=et}break;case 3:var $=i.stateNode.containerInfo;$.nodeType===1?$.textContent="":$.nodeType===9&&$.documentElement&&$.removeChild($.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(p(163))}}catch(st){W(i,i.return,st)}if(e=i.sibling,e!==null){e.return=i.return,V=e;break}V=i.return}return rt=Nj,Nj=!1,rt}function Pj(e,i,s){var a=i.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var o=a=a.next;do{if((o.tag&e)===e){var c=o.destroy;o.destroy=void 0,c!==void 0&&Mj(i,s,c)}o=o.next}while(o!==a)}}function Qj(e,i){if(i=i.updateQueue,i=i!==null?i.lastEffect:null,i!==null){var s=i=i.next;do{if((s.tag&e)===e){var a=s.create;s.destroy=a()}s=s.next}while(s!==i)}}function Rj(e){var i=e.ref;if(i!==null){var s=e.stateNode;switch(e.tag){case 5:e=s;break;default:e=s}typeof i=="function"?i(e):i.current=e}}function Sj(e){var i=e.alternate;i!==null&&(e.alternate=null,Sj(i)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(i=e.stateNode,i!==null&&(delete i[Of],delete i[Pf],delete i[of],delete i[Qf],delete i[Rf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Tj(e){return e.tag===5||e.tag===3||e.tag===4}function Uj(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Tj(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Vj(e,i,s){var a=e.tag;if(a===5||a===6)e=e.stateNode,i?s.nodeType===8?s.parentNode.insertBefore(e,i):s.insertBefore(e,i):(s.nodeType===8?(i=s.parentNode,i.insertBefore(e,s)):(i=s,i.appendChild(e)),s=s._reactRootContainer,s!=null||i.onclick!==null||(i.onclick=Bf));else if(a!==4&&(e=e.child,e!==null))for(Vj(e,i,s),e=e.sibling;e!==null;)Vj(e,i,s),e=e.sibling}function Wj(e,i,s){var a=e.tag;if(a===5||a===6)e=e.stateNode,i?s.insertBefore(e,i):s.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(Wj(e,i,s),e=e.sibling;e!==null;)Wj(e,i,s),e=e.sibling}var X=null,Xj=!1;function Yj(e,i,s){for(s=s.child;s!==null;)Zj(e,i,s),s=s.sibling}function Zj(e,i,s){if(lc&&typeof lc.onCommitFiberUnmount=="function")try{lc.onCommitFiberUnmount(kc,s)}catch{}switch(s.tag){case 5:U||Lj(s,i);case 6:var a=X,o=Xj;X=null,Yj(e,i,s),X=a,Xj=o,X!==null&&(Xj?(e=X,s=s.stateNode,e.nodeType===8?e.parentNode.removeChild(s):e.removeChild(s)):X.removeChild(s.stateNode));break;case 18:X!==null&&(Xj?(e=X,s=s.stateNode,e.nodeType===8?Kf(e.parentNode,s):e.nodeType===1&&Kf(e,s),bd(e)):Kf(X,s.stateNode));break;case 4:a=X,o=Xj,X=s.stateNode.containerInfo,Xj=!0,Yj(e,i,s),X=a,Xj=o;break;case 0:case 11:case 14:case 15:if(!U&&(a=s.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){o=a=a.next;do{var c=o,h=c.destroy;c=c.tag,h!==void 0&&(c&2||c&4)&&Mj(s,i,h),o=o.next}while(o!==a)}Yj(e,i,s);break;case 1:if(!U&&(Lj(s,i),a=s.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=s.memoizedProps,a.state=s.memoizedState,a.componentWillUnmount()}catch(d){W(s,i,d)}Yj(e,i,s);break;case 21:Yj(e,i,s);break;case 22:s.mode&1?(U=(a=U)||s.memoizedState!==null,Yj(e,i,s),U=a):Yj(e,i,s);break;default:Yj(e,i,s)}}function ak(e){var i=e.updateQueue;if(i!==null){e.updateQueue=null;var s=e.stateNode;
vendor: 19,260 bytes, line 40
40s===null&&(s=e.stateNode=new Kj),i.forEach(function(a){var o=bk.bind(null,e,a);s.has(a)||(s.add(a),a.then(o,o))})}}function ck(e,i){var s=i.deletions;if(s!==null)for(var a=0;a<s.length;a++){var o=s[a];try{var c=e,h=i,d=h;e:for(;d!==null;){switch(d.tag){case 5:X=d.stateNode,Xj=!1;break e;case 3:X=d.stateNode.containerInfo,Xj=!0;break e;case 4:X=d.stateNode.containerInfo,Xj=!0;break e}d=d.return}if(X===null)throw Error(p(160));Zj(c,h,o),X=null,Xj=!1;var g=o.alternate;g!==null&&(g.return=null),o.return=null}catch(b){W(o,i,b)}}if(i.subtreeFlags&12854)for(i=i.child;i!==null;)dk(i,e),i=i.sibling}function dk(e,i){var s=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ck(i,e),ek(e),a&4){try{Pj(3,e,e.return),Qj(3,e)}catch(it){W(e,e.return,it)}try{Pj(5,e,e.return)}catch(it){W(e,e.return,it)}}break;case 1:ck(i,e),ek(e),a&512&&s!==null&&Lj(s,s.return);break;case 5:if(ck(i,e),ek(e),a&512&&s!==null&&Lj(s,s.return),e.flags&32){var o=e.stateNode;try{ob(o,"")}catch(it){W(e,e.return,it)}}if(a&4&&(o=e.stateNode,o!=null)){var c=e.memoizedProps,h=s!==null?s.memoizedProps:c,d=e.type,g=e.updateQueue;if(e.updateQueue=null,g!==null)try{d==="input"&&c.type==="radio"&&c.name!=null&&ab(o,c),vb(d,h);var b=vb(d,c);for(h=0;h<g.length;h+=2){var j=g[h],tt=g[h+1];j==="style"?sb(o,tt):j==="dangerouslySetInnerHTML"?nb(o,tt):j==="children"?ob(o,tt):ta(o,j,tt,b)}switch(d){case"input":bb(o,c);break;case"textarea":ib(o,c);break;case"select":var _=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!c.multiple;var nt=c.value;nt!=null?fb(o,!!c.multiple,nt,!1):_!==!!c.multiple&&(c.defaultValue!=null?fb(o,!!c.multiple,c.defaultValue,!0):fb(o,!!c.multiple,c.multiple?[]:"",!1))}o[Pf]=c}catch(it){W(e,e.return,it)}}break;case 6:if(ck(i,e),ek(e),a&4){if(e.stateNode===null)throw Error(p(162));o=e.stateNode,c=e.memoizedProps;try{o.nodeValue=c}catch(it){W(e,e.return,it)}}break;case 3:if(ck(i,e),ek(e),a&4&&s!==null&&s.memoizedState.isDehydrated)try{bd(i.containerInfo)}catch(it){W(e,e.return,it)}break;case 4:ck(i,e),ek(e);break;case 13:ck(i,e),ek(e),o=e.child,o.flags&8192&&(c=o.memoizedState!==null,o.stateNode.isHidden=c,!c||o.alternate!==null&&o.alternate.memoizedState!==null||(fk=B())),a&4&&ak(e);break;case 22:if(j=s!==null&&s.memoizedState!==null,e.mode&1?(U=(b=U)||j,ck(i,e),U=b):ck(i,e),ek(e),a&8192){if(b=e.memoizedState!==null,(e.stateNode.isHidden=b)&&!j&&e.mode&1)for(V=e,j=e.child;j!==null;){for(tt=V=j;V!==null;){switch(_=V,nt=_.child,_.tag){case 0:case 11:case 14:case 15:Pj(4,_,_.return);break;case 1:Lj(_,_.return);var rt=_.stateNode;if(typeof rt.componentWillUnmount=="function"){a=_,s=_.return;try{i=a,rt.props=i.memoizedProps,rt.state=i.memoizedState,rt.componentWillUnmount()}catch(it){W(a,s,it)}}break;case 5:Lj(_,_.return);break;case 22:if(_.memoizedState!==null){gk(tt);continue}}nt!==null?(nt.return=_,V=nt):gk(tt)}j=j.sibling}e:for(j=null,tt=e;;){if(tt.tag===5){if(j===null){j=tt;try{o=tt.stateNode,b?(c=o.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none"):(d=tt.stateNode,g=tt.memoizedProps.style,h=g!=null&&g.hasOwnProperty("display")?g.display:null,d.style.display=rb("display",h))}catch(it){W(e,e.return,it)}}}else if(tt.tag===6){if(j===null)try{tt.stateNode.nodeValue=b?"":tt.memoizedProps}catch(it){W(e,e.return,it)}}else if((tt.tag!==22&&tt.tag!==23||tt.memoizedState===null||tt===e)&&tt.child!==null){tt.child.return=tt,tt=tt.child;continue}if(tt===e)break e;for(;tt.sibling===null;){if(tt.return===null||tt.return===e)break e;j===tt&&(j=null),tt=tt.return}j===tt&&(j=null),tt.sibling.return=tt.return,tt=tt.sibling}}break;case 19:ck(i,e),ek(e),a&4&&ak(e);break;case 21:break;default:ck(i,e),ek(e)}}function ek(e){var i=e.flags;if(i&2){try{e:{for(var s=e.return;s!==null;){if(Tj(s)){var a=s;break e}s=s.return}throw Error(p(160))}switch(a.tag){case 5:var o=a.stateNode;a.flags&32&&(ob(o,""),a.flags&=-33);var c=Uj(e);Wj(e,c,o);break;case 3:case 4:var h=a.stateNode.containerInfo,d=Uj(e);Vj(e,d,h);break;default:throw Error(p(161))}}catch(g){W(e,e.return,g)}e.flags&=-3}i&4096&&(e.flags&=-4097)}function hk(e,i,s){V=e,ik(e)}function ik(e,i,s){for(var a=(e.mode&1)!==0;V!==null;){var o=V,c=o.child;if(o.tag===22&&a){var h=o.memoizedState!==null||Jj;if(!h){var d=o.alternate,g=d!==null&&d.memoizedState!==null||U;d=Jj;var b=U;if(Jj=h,(U=g)&&!b)for(V=o;V!==null;)h=V,g=h.child,h.tag===22&&h.memoizedState!==null?jk(o):g!==null?(g.return=h,V=g):jk(o);for(;c!==null;)V=c,ik(c),c=c.sibling;V=o,Jj=d,U=b}kk(e)}else o.subtreeFlags&8772&&c!==null?(c.return=o,V=c):kk(e)}}function kk(e){for(;V!==null;){var i=V;if(i.flags&8772){var s=i.alternate;try{if(i.flags&8772)switch(i.tag){case 0:case 11:case 15:U||Qj(5,i);break;case 1:var a=i.stateNode;if(i.flags&4&&!U)if(s===null)a.componentDidMount();else{var o=i.elementType===i.type?s.memoizedProps:Ci(i.type,s.memoizedProps);a.componentDidUpdate(o,s.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var c=i.updateQueue;c!==null&&sh(i,c,a);break;case 3:var h=i.updateQueue;if(h!==null){if(s=null,i.child!==null)switch(i.child.tag){case 5:s=i.child.stateNode;break;case 1:s=i.child.stateNode}sh(i,h,s)}break;case 5:var d=i.stateNode;if(s===null&&i.flags&4){s=d;var g=i.memoizedProps;switch(i.type){case"button":case"input":case"select":case"textarea":g.autoFocus&&s.focus();break;case"img":g.src&&(s.src=g.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(i.memoizedState===null){var b=i.alternate;if(b!==null){var j=b.memoizedState;if(j!==null){var tt=j.dehydrated;tt!==null&&bd(tt)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(p(163))}U||i.flags&512&&Rj(i)}catch(_){W(i,i.return,_)}}if(i===e){V=null;break}if(s=i.sibling,s!==null){s.return=i.return,V=s;break}V=i.return}}function gk(e){for(;V!==null;){var i=V;if(i===e){V=null;break}var s=i.sibling;if(s!==null){s.return=i.return,V=s;break}V=i.return}}function jk(e){for(;V!==null;){var i=V;try{switch(i.tag){case 0:case 11:case 15:var s=i.return;try{Qj(4,i)}catch(g){W(i,s,g)}break;case 1:var a=i.stateNode;if(typeof a.componentDidMount=="function"){var o=i.return;try{a.componentDidMount()}catch(g){W(i,o,g)}}var c=i.return;try{Rj(i)}catch(g){W(i,c,g)}break;case 5:var h=i.return;try{Rj(i)}catch(g){W(i,h,g)}}}catch(g){W(i,i.return,g)}if(i===e){V=null;break}var d=i.sibling;if(d!==null){d.return=i.return,V=d;break}V=i.return}}var lk=Math.ceil,mk=ua.ReactCurrentDispatcher,nk=ua.ReactCurrentOwner,ok=ua.ReactCurrentBatchConfig,K=0,Q=null,Y=null,Z=0,fj=0,ej=Uf(0),T=0,pk=null,rh=0,qk=0,rk=0,sk=null,tk=null,fk=0,Gj=1/0,uk=null,Oi=!1,Pi=null,Ri=null,vk=!1,wk=null,xk=0,yk=0,zk=null,Ak=-1,Bk=0;function R(){return K&6?B():Ak!==-1?Ak:Ak=B()}function yi(e){return e.mode&1?K&2&&Z!==0?Z&-Z:Kg.transition!==null?(Bk===0&&(Bk=yc()),Bk):(e=C,e!==0||(e=window.event,e=e===void 0?16:jd(e.type)),e):1}function gi(e,i,s,a){if(50<yk)throw yk=0,zk=null,Error(p(185));Ac(e,s,a),(!(K&2)||e!==Q)&&(e===Q&&(!(K&2)&&(qk|=s),T===4&&Ck(e,Z)),Dk(e,a),s===1&&K===0&&!(i.mode&1)&&(Gj=B()+500,fg&&jg()))}function Dk(e,i){var s=e.callbackNode;wc(e,i);var a=uc(e,e===Q?Z:0);if(a===0)s!==null&&bc(s),e.callbackNode=null,e.callbackPriority=0;else if(i=a&-a,e.callbackPriority!==i){if(s!=null&&bc(s),i===1)e.tag===0?ig(Ek.bind(null,e)):hg(Ek.bind(null,e)),Jf(function(){!(K&6)&&jg()}),s=null;else{switch(Dc(a)){case 1:s=fc;break;case 4:s=gc;break;case 16:s=hc;break;case 536870912:s=jc;break;default:s=hc}s=Fk(s,Gk.bind(null,e))}e.callbackPriority=i,e.callbackNode=s}}function Gk(e,i){if(Ak=-1,Bk=0,K&6)throw Error(p(327));var s=e.callbackNode;if(Hk()&&e.callbackNode!==s)return null;var a=uc(e,e===Q?Z:0);if(a===0)return null;if(a&30||a&e.expiredLanes||i)i=Ik(e,a);else{i=a;var o=K;K|=2;var c=Jk();(Q!==e||Z!==i)&&(uk=null,Gj=B()+500,Kk(e,i));do try{Lk();break}catch(d){Mk(e,d)}while(!0);$g(),mk.current=c,K=o,Y!==null?i=0:(Q=null,Z=0,i=T)}if(i!==0){if(i===2&&(o=xc(e),o!==0&&(a=o,i=Nk(e,o))),i===1)throw s=pk,Kk(e,0),Ck(e,a),Dk(e,B()),s;if(i===6)Ck(e,a);else{if(o=e.current.alternate,!(a&30)&&!Ok(o)&&(i=Ik(e,a),i===2&&(c=xc(e),c!==0&&(a=c,i=Nk(e,c))),i===1))throw s=pk,Kk(e,0),Ck(e,a),Dk(e,B()),s;switch(e.finishedWork=o,e.finishedLanes=a,i){case 0:case 1:throw Error(p(345));case 2:Pk(e,tk,uk);break;case 3:if(Ck(e,a),(a&130023424)===a&&(i=fk+500-B(),10<i)){if(uc(e,0)!==0)break;if(o=e.suspendedLanes,(o&a)!==a){R(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Ff(Pk.bind(null,e,tk,uk),i);break}Pk(e,tk,uk);break;case 4:if(Ck(e,a),(a&4194240)===a)break;for(i=e.eventTimes,o=-1;0<a;){var h=31-oc(a);c=1<<h,h=i[h],h>o&&(o=h),a&=~c}if(a=o,a=B()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*lk(a/1960))-a,10<a){e.timeoutHandle=Ff(Pk.bind(null,e,tk,uk),a);break}Pk(e,tk,uk);break;case 5:Pk(e,tk,uk);break;default:throw Error(p(329))}}}return Dk(e,B()),e.callbackNode===s?Gk.bind(null,e):null}function Nk(e,i){var s=sk;return e.current.memoizedState.isDehydrated&&(Kk(e,i).flags|=256),e=Ik(e,i),e!==2&&(i=tk,tk=s,i!==null&&Fj(i)),e}function Fj(e){tk===null?tk=e:tk.push.apply(tk,e)}function Ok(e){for(var i=e;;){if(i.flags&16384){var s=i.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var a=0;a<s.length;a++){var o=s[a],c=o.getSnapshot;o=o.value;try{if(!He(c(),o))return!1}catch{return!1}}}if(s=i.child,i.subtreeFlags&16384&&s!==null)s.return=i,i=s;else{if(i===e)break;for(;i.sibling===null;){if(i.return===null||i.return===e)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Ck(e,i){for(i&=~rk,i&=~qk,e.suspendedLanes|=i,e.pingedLanes&=~i,e=e.expirationTimes;0<i;){var s=31-oc(i),a=1<<s;e[s]=-1,i&=~a}}function Ek(e){if(K&6)throw Error(p(327));Hk();var i=uc(e,0);if(!(i&1))return Dk(e,B()),null;var s=Ik(e,i);if(e.tag!==0&&s===2){var a=xc(e);a!==0&&(i=a,s=Nk(e,a))}if(s===1)throw s=pk,Kk(e,0),Ck(e,i),Dk(e,B()),s;if(s===6)throw Error(p(345));return e.finishedWork=e.current.alternate,e.finishedLanes=i,Pk(e,tk,uk),Dk(e,B()),null}function Qk(e,i){var s=K;K|=1;try{return e(i)}finally{K=s,K===0&&(Gj=B()+500,fg&&jg())}}function Rk(e){wk!==null&&wk.tag===0&&!(K&6)&&Hk();var i=K;K|=1;var s=ok.transition,a=C;try{if(ok.transition=null,C=1,e)return e()}finally{C=a,ok.transition=s,K=i,!(K&6)&&jg()}}function Hj(){fj=ej.current,E(ej)}function Kk(e,i){e.finishedWork=null,e.finishedLanes=0;var s=e.timeoutHandle;if(s!==-1&&(e.timeoutHandle=-1,Gf(s)),Y!==null)for(s=Y.return;s!==null;){var a=s;switch(wg(a),a.tag){case 1:a=a.type.childContextTypes,a!=null&&$f();break;case 3:zh(),E(Wf),E(H),Eh();break;case 5:Bh(a);break;case 4:zh();break;case 13:E(L);break;case 19:E(L);break;case 10:ah(a.type._context);break;case 22:case 23:Hj()}s=s.return}if(Q=e,Y=e=Pg(e.current,null),Z=fj=i,T=0,pk=null,rk=qk=rh=0,tk=sk=null,fh!==null){for(i=0;i<fh.length;i++)if(s=fh[i],a=s.interleaved,a!==null){s.interleaved=null;var o=a.next,c=s.pending;if(c!==null){var h=c.next;c.next=o,a.next=h}s.pending=a}fh=null}return e}function Mk(e,i){do{var s=Y;try{if($g(),Fh.current=Rh,Ih){for(var a=M.memoizedState;a!==null;){var o=a.queue;o!==null&&(o.pending=null),a=a.next}Ih=!1}if(Hh=0,O=N=M=null,Jh=!1,Kh=0,nk.current=null,s===null||s.return===null){T=1,pk=i,Y=null;break}e:{var c=e,h=s.return,d=s,g=i;if(i=Z,d.flags|=32768,g!==null&&typeof g=="object"&&typeof g.then=="function"){var b=g,j=d,tt=j.tag;if(!(j.mode&1)&&(tt===0||tt===11||tt===15)){var _=j.alternate;_?(j.updateQueue=_.updateQueue,j.memoizedState=_.memoizedState,j.lanes=_.lanes):(j.updateQueue=null,j.memoizedState=null)}var nt=Ui(h);if(nt!==null){nt.flags&=-257,Vi(nt,h,d,c,i),nt.mode&1&&Si(c,b,i),i=nt,g=b;var rt=i.updateQueue;if(rt===null){var it=new Set;it.add(g),i.updateQueue=it}else rt.add(g);break e}else{if(!(i&1)){Si(c,b,i),tj();break e}g=Error(p(426))}}else if(I&&d.mode&1){var ut=Ui(h);if(ut!==null){!(ut.flags&65536)&&(ut.flags|=256),Vi(ut,h,d,c,i),Jg(Ji(g,d));break e}}c=g=Ji(g,d),T!==4&&(T=2),sk===null?sk=[c]:sk.push(c),c=h;do{switch(c.tag){case 3:c.flags|=65536,i&=-i,c.lanes|=i;var _e=Ni(c,g,i);ph(c,_e);break e;case 1:d=g;var et=c.type,$=c.stateNode;if(!(c.flags&128)&&(typeof et.getDerivedStateFromError=="function"||$!==null&&typeof $.componentDidCatch=="function"&&(Ri===null||!Ri.has($)))){c.flags|=65536,i&=-i,c.lanes|=i;var st=Qi(c,d,i);ph(c,st);break e}}c=c.return}while(c!==null)}Sk(s)}catch(ot){i=ot,Y===s&&s!==null&&(Y=s=s.return);continue}break}while(!0)}function Jk(){var e=mk.current;return mk.current=Rh,e===null?Rh:e}function tj(){(T===0||T===3||T===2)&&(T=4),Q===null||!(rh&268435455)&&!(qk&268435455)||Ck(Q,Z)}function Ik(e,i){var s=K;K|=2;var a=Jk();(Q!==e||Z!==i)&&(uk=null,Kk(e,i));do try{Tk();break}catch(o){Mk(e,o)}while(!0);if($g(),K=s,mk.current=a,Y!==null)throw Error(p(261));return Q=null,Z=0,T}function Tk(){for(;Y!==null;)Uk(Y)}function Lk(){for(;Y!==null&&!cc();)Uk(Y)}function Uk(e){var i=Vk(e.alternate,e,fj);e.memoizedProps=e.pendingProps,i===null?Sk(e):Y=i,nk.current=null}function Sk(e){var i=e;do{var s=i.alternate;if(e=i.return,i.flags&32768){if(s=Ij(s,i),s!==null){s.flags&=32767,Y=s;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{T=6,Y=null;return}}else if(s=Ej(s,i,fj),s!==null){Y=s;return}if(i=i.sibling,i!==null){Y=i;return}Y=i=e}while(i!==null);T===0&&(T=5)}function Pk(e,i,s){var a=C,o=ok.transition;try{ok.transition=null,C=1,Wk(e,i,s,a)}finally{ok.transition=o,C=a}return null}function Wk(e,i,s,a){do Hk();while(wk!==null);if(K&6)throw Error(p(327));s=e.finishedWork;var o=e.finishedLanes;if(s===null)return null;if(e.finishedWork=null,e.finishedLanes=0,s===e.current)throw Error(p(177));e.callbackNode=null,e.callbackPriority=0;var c=s.lanes|s.childLanes;if(Bc(e,c),e===Q&&(Y=Q=null,Z=0),!(s.subtreeFlags&2064)&&!(s.flags&2064)||vk||(vk=!0,Fk(hc,function(){return Hk(),null})),c=(s.flags&15990)!==0,s.subtreeFlags&15990||c){c=ok.transition,ok.transition=null;var h=C;C=1;var d=K;K|=4,nk.current=null,Oj(e,s),dk(s,e),Oe(Df),dd=!!Cf,Df=Cf=null,e.current=s,hk(s),dc(),K=d,C=h,ok.transition=c}else e.current=s;if(vk&&(vk=!1,wk=e,xk=o),c=e.pendingLanes,c===0&&(Ri=null),mc(s.stateNode),Dk(e,B()),i!==null)for(a=e.onRecoverableError,s=0;s<i.length;s++)o=i[s],a(o.value,{componentStack:o.stack,digest:o.digest});if(Oi)throw Oi=!1,e=Pi,Pi=null,e;return xk&1&&e.tag!==0&&Hk(),c=e.pendingLanes,c&1?e===zk?yk++:(yk=0,zk=e):yk=0,jg(),null}function Hk(){if(wk!==null){var e=Dc(xk),i=ok.transition,s=C;try{if(ok.transition=null,C=16>e?16:e,wk===null)var a=!1;else{if(e=wk,wk=null,xk=0,K&6)throw Error(p(331));var o=K;for(K|=4,V=e.current;V!==null;){var c=V,h=c.child;if(V.flags&16){var d=c.deletions;if(d!==null){for(var g=0;g<d.length;g++){var b=d[g];for(V=b;V!==null;){var j=V;switch(j.tag){case 0:case 11:case 15:Pj(8,j,c)}var tt=j.child;if(tt!==null)tt.return=j,V=tt;else for(;V!==null;){j=V;var _=j.sibling,nt=j.return;if(Sj(j),j===b){V=null;break}if(_!==null){_.return=nt,V=_;break}V=nt}}}var rt=c.alternate;if(rt!==null){var it=rt.child;if(it!==null){rt.child=null;do{var ut=it.sibling;it.sibling=null,it=ut}while(it!==null)}}V=c}}if(c.subtreeFlags&2064&&h!==null)h.return=c,V=h;else e:for(;V!==null;){if(c=V,c.flags&2048)switch(c.tag){case 0:case 11:case 15:Pj(9,c,c.return)}var _e=c.sibling;if(_e!==null){_e.return=c.return,V=_e;break e}V=c.return}}var et=e.current;for(V=et;V!==null;){h=V;var $=h.child;if(h.subtreeFlags&2064&&$!==null)$.return=h,V=$;else e:for(h=et;V!==null;){if(d=V,d.flags&2048)try{switch(d.tag){case 0:case 11:case 15:Qj(9,d)}}catch(ot){W(d,d.return,ot)}if(d===h){V=null;break e}var st=d.sibling;if(st!==null){st.return=d.return,V=st;break e}V=d.return}}if(K=o,jg(),lc&&typeof lc.onPostCommitFiberRoot=="function")try{lc.onPostCommitFiberRoot(kc,e)}catch{}a=!0}return a}finally{C=s,ok.transition=i}}return!1}function Xk(e,i,s){i=Ji(s,i),i=Ni(e,i,1),e=nh(e,i,1),i=R(),e!==null&&(Ac(e,1,i),Dk(e,i))}function W(e,i,s){if(e.tag===3)Xk(e,e,s);else for(;i!==null;){if(i.tag===3){Xk(i,e,s);break}else if(i.tag===1){var a=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Ri===null||!Ri.has(a))){e=Ji(s,e),e=Qi(i,e,1),i=nh(i,e,1),e=R(),i!==null&&(Ac(i,1,e),Dk(i,e));break}}i=i.return}}function Ti(e,i,s){var a=e.pingCache;a!==null&&a.delete(i),i=R(),e.pingedLanes|=e.suspendedLanes&s,Q===e&&(Z&s)===s&&(T===4||T===3&&(Z&130023424)===Z&&500>B()-fk?Kk(e,0):rk|=s),Dk(e,i)}function Yk(e,i){i===0&&(e.mode&1?(i=sc,sc<<=1,!(sc&130023424)&&(sc=4194304)):i=1);var s=R();e=ih(e,i),e!==null&&(Ac(e,i,s),Dk(e,s))}function uj(e){var i=e.memoizedState,s=0;i!==null&&(s=i.retryLane),Yk(e,s)}function bk(e,i){var s=0;switch(e.tag){case 13:var a=e.stateNode,o=e.memoizedState;o!==null&&(s=o.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(p(314))}a!==null&&a.delete(i),Yk(e,s)}var Vk;Vk=function(e,i,s){if(e!==null)if(e.memoizedProps!==i.pendingProps||Wf.current)dh=!0;else{if(!(e.lanes&s)&&!(i.flags&128))return dh=!1,yj(e,i,s);dh=!!(e.flags&131072)}else dh=!1,I&&i.flags&1048576&&ug(i,ng,i.index);switch(i.lanes=0,i.tag){case 2:var a=i.type;ij(e,i),e=i.pendingProps;var o=Yf(i,H.current);ch(i,s),o=Nh(null,i,a,e,o,s);var c=Sh();return i.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(i.tag=1,i.memoizedState=null,i.updateQueue=null,Zf(a)?(c=!0,cg(i)):c=!1,i.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,kh(i),o.updater=Ei,i.stateNode=o,o._reactInternals=i,Ii(i,a,e,s),i=jj(null,i,a,!0,c,s)):(i.tag=0,I&&c&&vg(i),Xi(null,i,o,s),i=i.child),i;case 16:a=i.elementType;e:{switch(ij(e,i),e=i.pendingProps,o=a._init,a=o(a._payload),i.type=a,o=i.tag=Zk(a),e=Ci(a,e),o){case 0:i=cj(null,i,a,e,s);break e;case 1:i=hj(null,i,a,e,s);break e;case 11:i=Yi(null,i,a,e,s);break e;case 14:i=$i(null,i,a,Ci(a.type,e),s);break e}throw Error(p(306,a,""))}return i;case 0:return a=i.type,o=i.pendingProps,o=i.elementType===a?o:Ci(a,o),cj(e,i,a,o,s);case 1:return a=i.type,o=i.pendingProps,o=i.elementType===a?o:Ci(a,o),hj(e,i,a,o,s);case 3:e:{if(kj(i),e===null)throw Error(p(387));a=i.pendingProps,c=i.memoizedState,o=c.element,lh(e,i),qh(i,a,null,s);var h=i.memoizedState;if(a=h.element,c.isDehydrated)if(c={element:a,isDehydrated:!1,cache:h.cache,pendingSuspenseBoundaries:h.pendingSuspenseBoundaries,transitions:h.transitions},i.updateQueue.baseState=c,i.memoizedState=c,i.flags&256){o=Ji(Error(p(423)),i),i=lj(e,i,a,s,o);break e}else if(a!==o){o=Ji(Error(p(424)),i),i=lj(e,i,a,s,o);break e}else for(yg=Lf(i.stateNode.containerInfo.firstChild),xg=i,I=!0,zg=null,s=Vg(i,null,a,s),i.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(Ig(),a===o){i=Zi(e,i,s);break e}Xi(e,i,a,s)}i=i.child}return i;case 5:return Ah(i),e===null&&Eg(i),a=i.type,o=i.pendingProps,c=e!==null?e.memoizedProps:null,h=o.children,Ef(a,o)?h=null:c!==null&&Ef(a,c)&&(i.flags|=32),gj(e,i),Xi(e,i,h,s),i.child;case 6:return e===null&&Eg(i),null;case 13:return oj(e,i,s);case 4:return yh(i,i.stateNode.containerInfo),a=i.pendingProps,e===null?i.child=Ug(i,null,a,s):Xi(e,i,a,s),i.child;case 11:return a=i.type,o=i.pendingProps,o=i.elementType===a?o:Ci(a,o),Yi(e,i,a,o,s);case 7:return Xi(e,i,i.pendingProps,s),i.child;case 8:return Xi(e,i,i.pendingProps.children,s),i.child;case 12:return Xi(e,i,i.pendingProps.children,s),i.child;case 10:e:{if(a=i.type._context,o=i.pendingProps,c=i.memoizedProps,h=o.value,G(Wg,a._currentValue),a._currentValue=h,c!==null)if(He(c.value,h)){if
vendor: 4,141 bytes, line 40
40(c.children===o.children&&!Wf.current){i=Zi(e,i,s);break e}}else for(c=i.child,c!==null&&(c.return=i);c!==null;){var d=c.dependencies;if(d!==null){h=c.child;for(var g=d.firstContext;g!==null;){if(g.context===a){if(c.tag===1){g=mh(-1,s&-s),g.tag=2;var b=c.updateQueue;if(b!==null){b=b.shared;var j=b.pending;j===null?g.next=g:(g.next=j.next,j.next=g),b.pending=g}}c.lanes|=s,g=c.alternate,g!==null&&(g.lanes|=s),bh(c.return,s,i),d.lanes|=s;break}g=g.next}}else if(c.tag===10)h=c.type===i.type?null:c.child;else if(c.tag===18){if(h=c.return,h===null)throw Error(p(341));h.lanes|=s,d=h.alternate,d!==null&&(d.lanes|=s),bh(h,s,i),h=c.sibling}else h=c.child;if(h!==null)h.return=c;else for(h=c;h!==null;){if(h===i){h=null;break}if(c=h.sibling,c!==null){c.return=h.return,h=c;break}h=h.return}c=h}Xi(e,i,o.children,s),i=i.child}return i;case 9:return o=i.type,a=i.pendingProps.children,ch(i,s),o=eh(o),a=a(o),i.flags|=1,Xi(e,i,a,s),i.child;case 14:return a=i.type,o=Ci(a,i.pendingProps),o=Ci(a.type,o),$i(e,i,a,o,s);case 15:return bj(e,i,i.type,i.pendingProps,s);case 17:return a=i.type,o=i.pendingProps,o=i.elementType===a?o:Ci(a,o),ij(e,i),i.tag=1,Zf(a)?(e=!0,cg(i)):e=!1,ch(i,s),Gi(i,a,o),Ii(i,a,o,s),jj(null,i,a,!0,e,s);case 19:return xj(e,i,s);case 22:return dj(e,i,s)}throw Error(p(156,i.tag))};function Fk(e,i){return ac(e,i)}function $k(e,i,s,a){this.tag=e,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bg(e,i,s,a){return new $k(e,i,s,a)}function aj(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Zk(e){if(typeof e=="function")return aj(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Da)return 11;if(e===Ga)return 14}return 2}function Pg(e,i){var s=e.alternate;return s===null?(s=Bg(e.tag,i,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s.alternate=e,e.alternate=s):(s.pendingProps=i,s.type=e.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=e.flags&14680064,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue,i=e.dependencies,s.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s}function Rg(e,i,s,a,o,c){var h=2;if(a=e,typeof e=="function")aj(e)&&(h=1);else if(typeof e=="string")h=5;else e:switch(e){case ya:return Tg(s.children,o,c,i);case za:h=8,o|=8;break;case Aa:return e=Bg(12,s,i,o|2),e.elementType=Aa,e.lanes=c,e;case Ea:return e=Bg(13,s,i,o),e.elementType=Ea,e.lanes=c,e;case Fa:return e=Bg(19,s,i,o),e.elementType=Fa,e.lanes=c,e;case Ia:return pj(s,o,c,i);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ba:h=10;break e;case Ca:h=9;break e;case Da:h=11;break e;case Ga:h=14;break e;case Ha:h=16,a=null;break e}throw Error(p(130,e==null?e:typeof e,""))}return i=Bg(h,s,i,o),i.elementType=e,i.type=a,i.lanes=c,i}function Tg(e,i,s,a){return e=Bg(7,e,a,i),e.lanes=s,e}function pj(e,i,s,a){return e=Bg(22,e,a,i),e.elementType=Ia,e.lanes=s,e.stateNode={isHidden:!1},e}function Qg(e,i,s){return e=Bg(6,e,null,i),e.lanes=s,e}function Sg(e,i,s){return i=Bg(4,e.children!==null?e.children:[],e.key,i),i.lanes=s,i.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},i}function al(e,i,s,a,o){this.tag=i,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zc(0),this.expirationTimes=zc(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zc(0),this.identifierPrefix=a,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function bl(e,i,s,a,o,c,h,d,g){return e=new al(e,i,s,d,g),i===1?(i=1,
vendor: 4,840 bytes, line 40
40c===!0&&(i|=8)):i=0,c=Bg(3,null,null,i),e.current=c,c.stateNode=e,c.memoizedState={element:a,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},kh(c),e}function cl(e,i,s){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:wa,key:a==null?null:""+a,children:e,containerInfo:i,implementation:s}}function dl(e){if(!e)return Vf;e=e._reactInternals;e:{if(Vb(e)!==e||e.tag!==1)throw Error(p(170));var i=e;do{switch(i.tag){case 3:i=i.stateNode.context;break e;case 1:if(Zf(i.type)){i=i.stateNode.__reactInternalMemoizedMergedChildContext;break e}}i=i.return}while(i!==null);throw Error(p(171))}if(e.tag===1){var s=e.type;if(Zf(s))return bg(e,s,i)}return i}function el(e,i,s,a,o,c,h,d,g){return e=bl(s,a,!0,e,o,c,h,d,g),e.context=dl(null),s=e.current,a=R(),o=yi(s),c=mh(a,o),c.callback=i??null,nh(s,c,o),e.current.lanes=o,Ac(e,o,a),Dk(e,a),e}function fl(e,i,s,a){var o=i.current,c=R(),h=yi(o);return s=dl(s),i.context===null?i.context=s:i.pendingContext=s,i=mh(c,h),i.payload={element:e},a=a===void 0?null:a,a!==null&&(i.callback=a),e=nh(o,i,h),e!==null&&(gi(e,o,h,c),oh(e,o,h)),h}function gl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function hl(e,i){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var s=e.retryLane;e.retryLane=s!==0&&s<i?s:i}}function il(e,i){hl(e,i),(e=e.alternate)&&hl(e,i)}function jl(){return null}var kl=typeof reportError=="function"?reportError:function(e){console.error(e)};function ll(e){this._internalRoot=e}ml.prototype.render=ll.prototype.render=function(e){var i=this._internalRoot;if(i===null)throw Error(p(409));fl(e,i,null,null)};ml.prototype.unmount=ll.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var i=e.containerInfo;Rk(function(){fl(null,e,null,null)}),i[uf]=null}};function ml(e){this._internalRoot=e}ml.prototype.unstable_scheduleHydration=function(e){if(e){var i=Hc();e={blockedOn:null,target:e,priority:i};for(var s=0;s<Qc.length&&i!==0&&i<Qc[s].priority;s++);Qc.splice(s,0,e),s===0&&Vc(e)}};function nl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ol(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function pl(){}function ql(e,i,s,a,o){if(o){if(typeof a=="function"){var c=a;a=function(){var b=gl(h);c.call(b)}}var h=el(i,a,e,0,null,!1,!1,"",pl);return e._reactRootContainer=h,e[uf]=h.current,sf(e.nodeType===8?e.parentNode:e),Rk(),h}for(;o=e.lastChild;)e.removeChild(o);if(typeof a=="function"){var d=a;a=function(){var b=gl(g);d.call(b)}}var g=bl(e,0,!1,null,null,!1,!1,"",pl);return e._reactRootContainer=g,e[uf]=g.current,sf(e.nodeType===8?e.parentNode:e),Rk(function(){fl(i,g,s,a)}),g}function rl(e,i,s,a,o){var c=s._reactRootContainer;if(c){var h=c;if(typeof o=="function"){var d=o;o=function(){var g=gl(h);d.call(g)}}fl(i,h,e,o)}else h=ql(s,i,e,o,a);return gl(h)}Ec=function(e){switch(e.tag){case 3:var i=e.stateNode;if(i.current.memoizedState.isDehydrated){var s=tc(i.pendingLanes);s!==0&&(Cc(i,s|1),Dk(i,B()),!(K&6)&&(Gj=B()+500,jg()))}break;case 13:Rk(function(){var a=ih(e,1);if(a!==null){var o=R();gi(a,e,1,o)}}),il(e,1)}};Fc=function(e){if(e.tag===13){var i=ih(e,134217728);if(i!==null){var s=R();gi(i,e,134217728,s)}il(e,134217728)}};Gc=function(e){if(e.tag===13){var i=yi(e),s=ih(e,i);if(s!==null){var a=R();gi(s,e,i,a)}il(e,i)}};Hc=function(){return C};Ic=function(e,i){var s=C;try{return C=e,i()}finally{C=s}};yb=function(e,i,s){switch(i){case"input":if(bb(e,s),i=s.name,s.type==="radio"&&i!=null){for(s=e;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),i=0;i<s.length;i++){var a=s[i];if(a!==e&&a.form===e.form){var o=Db(a);if(!o)throw Error(p(90));Wa(a),bb(a,o)}}}break;case"textarea":ib(e,s);break;case"select":i=s.value,i!=null&&fb(e,!!s.multiple,i,!1)}};Gb=Qk;Hb=Rk;var sl={usingClientEntryPoint:!1,Events:[Cb,ue,Db,Eb,Fb,Qk]},tl={findFiberByHostInstance:Wc,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ul={bundleType:tl.bundleType,version:tl.version,rendererPackageName:tl.rendererPackageName,rendererConfig:tl.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:ua.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Zb(e),e===null?null:e.stateNode},findFiberByHostInstance:tl.findFiberByHostInstance||jl,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
vendor: 44,608 bytes, lines 40-48
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var vl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vl.isDisabled&&vl.supportsFiber)try{kc=vl.inject(ul),lc=vl}catch{}}reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sl;reactDom_production_min.createPortal=function(e,i){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!nl(i))throw Error(p(200));return cl(e,i,null,s)};reactDom_production_min.createRoot=function(e,i){if(!nl(e))throw Error(p(299));var s=!1,a="",o=kl;return i!=null&&(i.unstable_strictMode===!0&&(s=!0),i.identifierPrefix!==void 0&&(a=i.identifierPrefix),i.onRecoverableError!==void 0&&(o=i.onRecoverableError)),i=bl(e,1,!1,null,null,s,!1,a,o),e[uf]=i.current,sf(e.nodeType===8?e.parentNode:e),new ll(i)};reactDom_production_min.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var i=e._reactInternals;if(i===void 0)throw typeof e.render=="function"?Error(p(188)):(e=Object.keys(e).join(","),Error(p(268,e)));return e=Zb(i),e=e===null?null:e.stateNode,e};reactDom_production_min.flushSync=function(e){return Rk(e)};reactDom_production_min.hydrate=function(e,i,s){if(!ol(i))throw Error(p(200));return rl(null,e,i,!0,s)};reactDom_production_min.hydrateRoot=function(e,i,s){if(!nl(e))throw Error(p(405));var a=s!=null&&s.hydratedSources||null,o=!1,c="",h=kl;if(s!=null&&(s.unstable_strictMode===!0&&(o=!0),s.identifierPrefix!==void 0&&(c=s.identifierPrefix),s.onRecoverableError!==void 0&&(h=s.onRecoverableError)),i=el(i,null,e,1,s??null,o,!1,c,h),e[uf]=i.current,sf(e),a)for(e=0;e<a.length;e++)s=a[e],o=s._getVersion,o=o(s._source),i.mutableSourceEagerHydrationData==null?i.mutableSourceEagerHydrationData=[s,o]:i.mutableSourceEagerHydrationData.push(s,o);return new ml(i)};reactDom_production_min.render=function(e,i,s){if(!ol(i))throw Error(p(200));return rl(null,e,i,!1,s)};reactDom_production_min.unmountComponentAtNode=function(e){if(!ol(e))throw Error(p(40));return e._reactRootContainer?(Rk(function(){rl(null,null,e,!1,function(){e._reactRootContainer=null,e[uf]=null})}),!0):!1};reactDom_production_min.unstable_batchedUpdates=Qk;reactDom_production_min.unstable_renderSubtreeIntoContainer=function(e,i,s,a){if(!ol(s))throw Error(p(200));if(e==null||e._reactInternals===void 0)throw Error(p(38));return rl(e,i,s,!1,a)};reactDom_production_min.version="18.3.1-next-f1338f8080-20240426";function checkDCE(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE)}catch(e){console.error(e)}}checkDCE(),reactDom.exports=reactDom_production_min;var reactDomExports=reactDom.exports,m=reactDomExports;client.createRoot=m.createRoot,client.hydrateRoot=m.hydrateRoot;function Header(){return jsxRuntimeExports.jsx("header",{className:"fixed top-1 left-0 right-0 bg-white h-[74px] z-40 shadow-sm",children:jsxRuntimeExports.jsxs("div",{className:"w-full max-w-[1080px] mx-auto px-4 h-full flex items-center justify-between",children:[jsxRuntimeExports.jsx("div",{className:"relative w-[96px] h-[28px]",children:jsxRuntimeExports.jsx("img",{src:"/images/hubspot-logo.svg",alt:"HubSpot Logo",className:"object-contain w-full h-full"})}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-4",children:[jsxRuntimeExports.jsx("p",{className:"paragraph-small text-hubspot-neutral hidden md:block",children:"The State of Marketing 2026"}),jsxRuntimeExports.jsx("a",{href:"https://offers.hubspot.com/crm-platform-demo",target:"_blank",rel:"noopener noreferrer",className:"button-regular bg-hubspot-orange text-[#f8f2ec] px-4 py-2 rounded-[5px] hover:bg-opacity-90 transition-all",children:"Get a demo"})]})]})})}const LayoutGroupContext=reactExports.createContext({});function useConstant(e){const i=reactExports.useRef(null);return i.current===null&&(i.current=e()),i.current}const PresenceContext=reactExports.createContext(null),MotionConfigContext=reactExports.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class PopChildMeasure extends reactExports.Component{getSnapshotBeforeUpdate(i){const s=this.props.childRef.current;if(s&&i.isPresent&&!this.props.isPresent){const a=this.props.sizeRef.current;a.height=s.offsetHeight||0,a.width=s.offsetWidth||0,a.top=s.offsetTop,a.left=s.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function PopChild({children:e,isPresent:i}){const s=reactExports.useId(),a=reactExports.useRef(null),o=reactExports.useRef({width:0,height:0,top:0,left:0}),{nonce:c}=reactExports.useContext(MotionConfigContext);return reactExports.useInsertionEffect(()=>{const{width:h,height:d,top:g,left:b}=o.current;if(i||!a.current||!h||!d)return;a.current.dataset.motionPopId=s;const j=document.createElement("style");return c&&(j.nonce=c),document.head.appendChild(j),j.sheet&&j.sheet.insertRule(` 41 [data-motion-pop-id="${s}"] { 42 position: absolute !important; 43 width: ${h}px !important; 44 height: ${d}px !important; 45 top: ${g}px !important; 46 left: ${b}px !important; 47 } 48 `),()=>{document.head.removeChild(j)}},[i]),jsxRuntimeExports.jsx(PopChildMeasure,{isPresent:i,childRef:a,sizeRef:o,children:reactExports.cloneElement(e,{ref:a})})}const PresenceChild=({children:e,initial:i,isPresent:s,onExitComplete:a,custom:o,presenceAffectsLayout:c,mode:h})=>{const d=useConstant(newChildrenMap),g=reactExports.useId(),b=reactExports.useCallback(tt=>{d.set(tt,!0);for(const _ of d.values())if(!_)return;a&&a()},[d,a]),j=reactExports.useMemo(()=>({id:g,initial:i,isPresent:s,custom:o,onExitComplete:b,register:tt=>(d.set(tt,!1),()=>d.delete(tt))}),c?[Math.random(),b]:[s,b]);return reactExports.useMemo(()=>{d.forEach((tt,_)=>d.set(_,!1))},[s]),reactExports.useEffect(()=>{!s&&!d.size&&a&&a()},[s]),h==="popLayout"&&(e=jsxRuntimeExports.jsx(PopChild,{isPresent:s,children:e})),jsxRuntimeExports.jsx(PresenceContext.Provider,{value:j,children:e})};function newChildrenMap(){return new Map}function usePresence(e=!0){const i=reactExports.useContext(PresenceContext);if(i===null)return[!0,null];const{isPresent:s,onExitComplete:a,register:o}=i,c=reactExports.useId();reactExports.useEffect(()=>{e&&o(c)},[e]);const h=reactExports.useCallback(()=>e&&a&&a(c),[c,a,e]);return!s&&a?[!1,h]:[!0]}const getChildKey=e=>e.key||"";function onlyElements(e){const i=[];return reactExports.Children.forEach(e,s=>{reactExports.isValidElement(s)&&i.push(s)}),i}const isBrowser=typeof window<"u",useIsomorphicLayoutEffect=isBrowser?reactExports.useLayoutEffect:reactExports.useEffect,AnimatePresence=({children:e,custom:i,initial:s=!0,onExitComplete:a,presenceAffectsLayout:o=!0,mode:c="sync",propagate:h=!1})=>{const[d,g]=usePresence(h),b=reactExports.useMemo(()=>onlyElements(e),[e]),j=h&&!d?[]:b.map(getChildKey),tt=reactExports.useRef(!0),_=reactExports.useRef(b),nt=useConstant(()=>new Map),[rt,it]=reactExports.useState(b),[ut,_e]=reactExports.useState(b);useIsomorphicLayoutEffect(()=>{tt.current=!1,_.current=b;for(let st=0;st<ut.length;st++){const ot=getChildKey(ut[st]);j.includes(ot)?nt.delete(ot):nt.get(ot)!==!0&&nt.set(ot,!1)}},[ut,j.length,j.join("-")]);const et=[];if(b!==rt){let st=[...b];for(let ot=0;ot<ut.length;ot++){const lt=ut[ot],ht=getChildKey(lt);j.includes(ht)||(st.splice(ot,0,lt),et.push(lt))}c==="wait"&&et.length&&(st=et),_e(onlyElements(st)),it(b);return}const{forceRender:$}=reactExports.useContext(LayoutGroupContext);return jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:ut.map(st=>{const ot=getChildKey(st),lt=h&&!d?!1:b===ut||j.includes(ot),ht=()=>{if(nt.has(ot))nt.set(ot,!0);else return;let pt=!0;nt.forEach(vt=>{vt||(pt=!1)}),pt&&($==null||$(),_e(_.current),h&&(g==null||g()),a&&a())};return jsxRuntimeExports.jsx(PresenceChild,{isPresent:lt,initial:!tt.current||s?void 0:!1,custom:lt?void 0:i,presenceAffectsLayout:o,mode:c,onExitComplete:lt?void 0:ht,children:st},ot)})})},noop=e=>e;let invariant=noop;function memo(e){let i;return()=>(i===void 0&&(i=e()),i)}const progress=(e,i,s)=>{const a=i-e;return a===0?1:(s-e)/a},secondsToMilliseconds=e=>e*1e3,millisecondsToSeconds=e=>e/1e3,MotionGlobalConfig={useManualTiming:!1};function createRenderStep(e){let i=new Set,s=new Set,a=!1,o=!1;const c=new WeakSet;let h={delta:0,timestamp:0,isProcessing:!1};function d(b){c.has(b)&&(g.schedule(b),e()),b(h)}const g={schedule:(b,j=!1,tt=!1)=>{const nt=tt&&a?i:s;return j&&c.add(b),nt.has(b)||nt.add(b),b},cancel:b=>{s.delete(b),c.delete(b)},process:b=>{if(h=b,a){o=!0;return}a=!0,[i,s]=[s,i],i.forEach(d),i.clear(),a=!1,o&&(o=!1,g.process(b))}};return g}const stepsOrder=["read","resolveKeyframes","update","preRender","render","postRender"],maxElapsed=40;function createRenderBatcher(e,i){let s=!1,a=!0;const o={delta:0,timestamp:0,isProcessing:!1},c=()=>s=!0,h=stepsOrder.reduce((_e,et)=>(_e[et]=createRenderStep(c),_e),{}),{read:d,resolveKeyframes:g,update:b,preRender:j,render:tt,postRender:_}=h,nt=()=>{const _e=performance.now();s=!1,o.delta=a?1e3/60:Math.max(Math.min(_e-o.timestamp,maxElapsed),1),o.timestamp=_e,o.isProcessing=!0,d.process(o),g.process(o),b.process(o),j.process(o),tt.process(o),_.process(o),o.isProcessing=!1,s&&i&&(a=!1,e(nt))},rt=()=>{s=!0,a=!0,o.isProcessing||e(nt)};return{schedule:stepsOrder.reduce((_e,et)=>{const $=h[et];return _e[et]=(st,ot=!1,lt=!1)=>(s||rt(),$.schedule(st,ot,lt)),_e},{}),cancel:_e=>{for(let et=0;et<stepsOrder.length;et++)h[stepsOrder[et]].cancel(_e)},state:o,steps:h}}const{schedule:frame,cancel:cancelFrame,state:frameData,steps:frameSteps}=createRenderBatcher(typeof requestAnimationFrame<"u"?requestAnimationFrame:noop,!0),LazyContext=reactExports.createContext({strict:!1}),featureProps={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},featureDefinitions={};for(const e in featureProps)featureDefinitions[e]={isEnabled:i=>featureProps[e].some(s=>!!i[s])};function loadFeatures(e){for(const i in e)featureDefinitions[i]={...featureDefinitions[i],...e[i]}}const validMotionProps=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function isValidMotionProp(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||validMotionProps.has(e)}let shouldForward=e=>!isValidMotionProp(e);function loadExternalIsValidProp(e){e&&(shouldForward=i=>i.startsWith("on")?!isValidMotionProp(i):e(i))}try{loadExternalIsValidProp(require("@emotion/is-prop-valid").default)}catch{}function filterProps(e,i,s){const a={};for(const o in e)o==="values"&&typeof e.values=="object"||(shouldForward(o)||s===!0&&isValidMotionProp(o)||!i&&!isValidMotionProp(o)||e.draggable&&o.startsWith("onDrag"))&&(a[o]=e[o]);return a}function createDOMMotionComponentProxy(e){if(typeof Proxy>"u")return e;const i=new Map,s=(...a)=>e(...a);return new Proxy(s,{get:(a,o)=>o==="create"?e:(i.has(o)||i.set(o,e(o)),i.get(o))})}const MotionContext=reactExports.createContext({});function isVariantLabel(e){return typeof e=="string"||Array.isArray(e)}function isAnimationControls(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const variantPriorityOrder=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],variantProps=["initial",...variantPriorityOrder];function isControllingVariants(e){return isAnimationControls(e.animate)||variantProps.some(i=>isVariantLabel(e[i]))}function isVariantNode(e){return!!(isControllingVariants(e)||e.variants)}function getCurrentTreeVariants(e,i){if(isControllingVariants(e)){const{initial:s,animate:a}=e;return{initial:s===!1||isVariantLabel(s)?s:void 0,animate:isVariantLabel(a)?a:void 0}}return e.inherit!==!1?i:{}}function useCreateMotionContext(e){const{initial:i,animate:s}=getCurrentTreeVariants(e,reactExports.useContext(MotionContext));return reactExports.useMemo(()=>({initial:i,animate:s}),[variantLabelsAsDependency(i),variantLabelsAsDependency(s)])}function variantLabelsAsDependency(e){return Array.isArray(e)?e.join(" "):e}const motionComponentSymbol=Symbol.for("motionComponentSymbol");function isRefObject(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function useMotionRef(e,i,s){return reactExports.useCallback(a=>{a&&e.onMount&&e.onMount(a),i&&(a?i.mount(a):i.unmount()),s&&(typeof s=="function"?s(a):isRefObject(s)&&(s.current=a))},[i])}const camelToDash=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),optimizedAppearDataId="framerAppearId",optimizedAppearDataAttribute="data-"+camelToDash(optimizedAppearDataId),{schedule:microtask}=createRenderBatcher(queueMicrotask,!1),SwitchLayoutGroupContext=reactExports.createContext({});function useVisualElement(e,i,s,a,o){var c,h;const{visualElement:d}=reactExports.useContext(MotionContext),g=reactExports.useContext(LazyContext),b=reactExports.useContext(PresenceContext),j=reactExports.useContext(MotionConfigContext).reducedMotion,tt=reactExports.useRef(null);a=a||g.renderer,!tt.current&&a&&(tt.current=a(e,{visualState:i,parent:d,props:s,presenceContext:b,blockInitialAnimation:b?b.initial===!1:!1,reducedMotionConfig:j}));const _=tt.current,nt=reactExports.useContext(SwitchLayoutGroupContext);_&&!_.projection&&o&&(_.type==="html"||_.type==="svg")&&createProjectionNode$1(tt.current,s,o,nt);const rt=reactExports.useRef(!1);reactExports.useInsertionEffect(()=>{_&&rt.current&&_.update(s,b)});const it=s[optimizedAppearDataAttribute],ut=reactExports.useRef(!!it&&!(!((c=window.MotionHandoffIsComplete)===null||c===void 0)&&c.call(window,it))&&((h=window.MotionHasOptimisedAnimation)===null||h===void 0?void 0:h.call(window,it)));return useIsomorphicLayoutEffect(()=>{_&&(rt.current=!0,window.MotionIsMounted=!0,_.updateFeatures(),microtask.render(_.render),ut.current&&_.animationState&&_.animationState.animateChanges())}),reactExports.useEffect(()=>{_&&(!ut.current&&_.animationState&&_.animationState.animateChanges(),ut.current&&(queueMicrotask(()=>{var _e;(_e=window.MotionHandoffMarkAsComplete)===null||_e===void 0||_e.call(window,it)}),ut.current=!1))}),_}function createProjectionNode$1(e,i,s,a){const{layoutId:o,layout:c,drag:h,dragConstraints:d,layoutScroll:g,layoutRoot:b}=i;e.projection=new s(e.latestValues,i["data-framer-portal-id"]?void 0:getClosestProjectingNode(e.parent)),e.projection.setOptions({layoutId:o,layout:c,alwaysMeasureLayout:!!h||d&&isRefObject(d),visualElement:e,animationType:typeof c=="string"?c:"both",initialPromotionConfig:a,layoutScroll:g,layoutRoot:b})}function getClosestProjectingNode(e){if(e)return e.options.allowProjection!==!1?e.projection:getClosestProjectingNode(e.parent)}function createRendererMotionComponent({preloadedFeatures:e,createVisualElement:i,useRender:s,useVisualState:a,Component:o}){var c,h;e&&loadFeatures(e);function d(b,j){let tt;const _={...reactExports.useContext(MotionConfigContext),...b,layoutId:useLayoutId(b)},{isStatic:nt}=_,rt=useCreateMotionContext(b),it=a(b,nt);if(!nt&&isBrowser){useStrictMode();const ut=getProjectionFunctionality(_);tt=ut.MeasureLayout,rt.visualElement=useVisualElement(o,it,_,i,ut.ProjectionNode)}return jsxRuntimeExports.jsxs(MotionContext.Provider,{value:rt,children:[tt&&rt.visualElement?jsxRuntimeExports.jsx(tt,{visualElement:rt.visualElement,..._}):null,s(o,b,useMotionRef(it,rt.visualElement,j),it,nt,rt.visualElement)]})}d.displayName=`motion.${typeof o=="string"?o:`create(${(h=(c=o.displayName)!==null&&c!==void 0?c:o.name)!==null&&h!==void 0?h:""})`}`;const g=reactExports.forwardRef(d);return g[motionComponentSymbol]=o,g}function useLayoutId({layoutId:e}){const i=reactExports.useContext(LayoutGroupContext).id;return i&&e!==void 0?i+"-"+e:e}function useStrictMode(e,i){reactExports.useContext(LazyContext).strict}function getProjectionFunctionality(e){const{drag:i,layout:s}=featureDefinitions;if(!i&&!s)return{};const a={...i,...s};return{MeasureLayout:i!=null&&i.isEnabled(e)||s!=null&&s.isEnabled(e)?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}const lowercaseSVGElements=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function isSVGComponent(e){return typeof e!="string"||e.includes("-")?!1:!!(lowercaseSVGElements.indexOf(e)>-1||/[A-Z]/u.test(e))}function getValueState(e){const i=[{},{}];return e==null||e.values.forEach((s,a)=>{i[0][a]=s.get(),i[1][a]=s.getVelocity()}),i}function resolveVariantFromProps(e,i,s,a){if(typeof i=="function"){const[o,c]=getValueState(a);i=i(s!==void 0?s:e.custom,o,c)}if(typeof i=="string"&&(i=e.variants&&e.variants[i]),typeof i=="function"){const[o,c]=getValueState(a);i=i(s!==void 0?s:e.custom,o,c)}return i}const isKeyframesTarget=e=>Array.isArray(e),isCustomValue=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),resolveFinalValueInKeyframes=e=>isKeyframesTarget(e)?e[e.length-1]||0:e,isMotionValue=e=>!!(e&&e.getVelocity);function resolveMotionValue(e){const i=isMotionValue(e)?e.get():e;return isCustomValue(i)?i.toValue():i}function makeState({scrapeMotionValuesFromProps:e,createRenderState:i,onUpdate:s},a,o,c){const h={latestValues:makeLatestValues(a,o,c,e),renderState:i()};return s&&(h.onMount=d=>s({props:a,current:d,...h}),h.onUpdate=d=>s(d)),h}const makeUseVisualState=e=>(i,s)=>{const a=reactExports.useContext(MotionContext),o=reactExports.useContext(PresenceContext),c=()=>makeState(e,i,a,o);return s?c():useConstant(c)};function makeLatestValues(e,i,s,a){const o={},c=a(e,{});for(const _ in c)o[_]=resolveMotionValue(c[_]);let{initial:h,animate:d}=e;const g=isControllingVariants(e),b=isVariantNode(e);i&&b&&!g&&e.inherit!==!1&&(h===void 0&&(h=i.initial),d===void 0&&(d=i.animate));let j=s?s.initial===!1:!1;j=j||h===!1;const tt=j?d:h;if(tt&&typeof tt!="boolean"&&!isAnimationControls(tt)){const _=Array.isArray(tt)?tt:[tt];for(let nt=0;nt<_.length;nt++){const rt=resolveVariantFromProps(e,_[nt]);if(rt){const{transitionEnd:it,transition:ut,..._e}=rt;for(const et in _e){let $=_e[et];if(Array.isArray($)){const st=j?$.length-1:0;$=$[st]}$!==null&&(o[et]=$)}for(const et in it)o[et]=it[et]}}}return o}const transformPropOrder=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],transformProps=new Set(transformPropOrder),checkStringStartsWith=e=>i=>typeof i=="string"&&i.startsWith(e),isCSSVariableName=checkStringStartsWith("--"),startsAsVariableToken=checkStringStartsWith("var(--"),isCSSVariableToken=e=>startsAsVariableToken(e)?singleCssVariableRegex.test(e.split("/*")[0].trim()):!1,singleCssVariableRegex=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,getValueAsType=(e,i)=>i&&typeof e=="number"?i.transform(e):e,clamp=(e,i,s)=>s>i?i:s<e?e:s,number={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},alpha={...number,transform:e=>clamp(0,1,e)},scale={...number,default:1},createUnitType=e=>({test:i=>typeof i=="string"&&i.endsWith(e)&&i.split(" ").length===1,parse:parseFloat,transform:i=>`${i}${e}`}),degrees=createUnitType("deg"),percent=createUnitType("%"),px=createUnitType("px"),vh=createUnitType("vh"),vw=createUnitType("vw"),progressPercentage={...percent,parse:e=>percent.parse(e)/100,transform:e=>percent.transform(e*100)},browserNumberValueTypes={borderWidth:px,borderTopWidth:px,borderRightWidth:px,borderBottomWidth:px,borderLeftWidth:px,borderRadius:px,radius:px,borderTopLeftRadius:px,borderTopRightRadius:px,borderBottomRightRadius:px,borderBottomLeftRadius:px,width:px,maxWidth:px,height:px,maxHeight:px,top:px,right:px,bottom:px,left:px,padding:px,paddingTop:px,paddingRight:px,paddingBottom:px,paddingLeft:px,margin:px,marginTop:px,marginRight:px,marginBottom:px,marginLeft:px,backgroundPositionX:px,backgroundPositionY:px},transformValueTypes={rotate:degrees,rotateX:degrees,rotateY:degrees,rotateZ:degrees,scale,scaleX:scale,scaleY:scale,scaleZ:scale,skew:degrees,skewX:degrees,skewY:degrees,distance:px,translateX:px,translateY:px,translateZ:px,x:px,y:px,z:px,perspective:px,transformPerspective:px,opacity:alpha,originX:progressPercentage,originY:progressPercentage,originZ:px},int={...number,transform:Math.round},numberValueTypes={...browserNumberValueTypes,...transformValueTypes,zIndex:int,size:px,fillOpacity:alpha,strokeOpacity:alpha,numOctaves:int},translateAlias={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},numTransforms=transformPropOrder.length;function buildTransform(e,i,s){let a="",o=!0;for(let c=0;c<numTransforms;c++){const h=transformPropOrder[c],d=e[h];if(d===void 0)continue;let g=!0;if(typeof d=="number"?g=d===(h.startsWith("scale")?1:0):g=parseFloat(d)===0,!g||s){const b=getValueAsType(d,numberValueTypes[h]);if(!g){o=!1;const j=translateAlias[h]||h;a+=`${j}(${b}) `}s&&(i[h]=b)}}return a=a.trim(),s?a=s(i,o?"":a):o&&(a="none"),a}function buildHTMLStyles(e,i,s){const{style:a,vars:o,transformOrigin:c}=e;let h=!1,d=!1;for(const g in i){const b=i[g];if(transformProps.has(g)){h=!0;continue}else if(isCSSVariableName(g)){o[g]=b;continue}else{const j=getValueAsType(b,numberValueTypes[g]);g.startsWith("origin")?(d=!0,c[g]=j):a[g]=j}}if(i.transform||(h||s?a.transform=buildTransform(i,e.transform,s):a.transform&&(a.transform="none")),d){const{originX:g="50%",originY:b="50%",originZ:j=0}=c;a.transformOrigin=`${g} ${b} ${j}`}}const dashKeys={offset:"stroke-dashoffset",array:"stroke-dasharray"},camelKeys={offset:"strokeDashoffset",array:"strokeDasharray"};function buildSVGPath(e,i,s=1,a=0,o=!0){e.pathLength=1;const c=o?dashKeys:camelKeys;e[c.offset]=px.transform(-a);const h=px.transform(i),d=px.transform(s);e[c.array]=`${h} ${d}`}function calcOrigin$1(e,i,s){return typeof e=="string"?e:px.transform(i+s*e)}function calcSVGTransformOrigin(e,i,s){const a=calcOrigin$1(i,e.x,e.width),o=calcOrigin$1(s,e.y,e.height);return`${a} ${o}`}function buildSVGAttrs(e,{attrX:i,attrY:s,attrScale:a,originX:o,originY:c,pathLength:h,pathSpacing:d=1,pathOffset:g=0,...b},j,tt){if(buildHTMLStyles(e,b,tt),j){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:_,style:nt,dimensions:rt}=e;_.transform&&(rt&&(nt.transform=_.transform),delete _.transform),rt&&(o!==void 0||c!==void 0||nt.transform)&&(nt.transformOrigin=calcSVGTransformOrigin(rt,o!==void 0?o:.5,c!==void 0?c:.5)),i!==void 0&&(_.x=i),s!==void 0&&(_.y=s),a!==void 0&&(_.scale=a),h!==void 0&&buildSVGPath(_,h,d,g,!1)}const createHtmlRenderState=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),createSvgRenderState=()=>({...createHtmlRenderState(),attrs:{}}),isSVGTag=e=>typeof e=="string"&&e.toLowerCase()==="svg";function renderHTML(e,{style:i,vars:s},a,o){Object.assign(e.style,i,o&&o.getProjectionStyles(a));for(const c in s)e.style.setProperty(c,s[c])}const camelCaseAttributes=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function renderSVG(e,i,s,a){renderHTML(e,i,void 0,a);for(const o in i.attrs)e.setAttribute(camelCaseAttributes.has(o)?o:camelToDash(o),i.attrs[o])}const scaleCorrectors={};function addScaleCorrector(e){Object.assign(scaleCorrectors,e)}function isForcedMotionValue(e,{layout:i,layoutId:s}){return transformProps.has(e)||e.startsWith("origin")||(i||s!==void 0)&&(!!scaleCorrectors[e]||e==="opacity")}function scrapeMotionValuesFromProps$1(e,i,s){var a;const{style:o}=e,c={};for(const h in o)(isMotionValue(o[h])||i.style&&isMotionValue(i.style[h])||isForcedMotionValue(h,e)||((a=s==null?void 0:s.getValue(h))===null||a===void 0?void 0:a.liveStyle)!==void 0)&&(c[h]=o[h]);return c}function scrapeMotionValuesFromProps(e,i,s){const a=scrapeMotionValuesFromProps$1(e,i,s);for(const o in e)if(isMotionValue(e[o])||isMotionValue(i[o])){const c=transformPropOrder.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;a[c]=e[o]}return a}function updateSVGDimensions(e,i){try{i.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{i.dimensions={x:0,y:0,width:0,height:0}}}const layoutProps=["x","y","width","height","cx","cy","r"],svgMotionConfig={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps,createRenderState:createSvgRenderState,onUpdate:({props:e,prevProps:i,current:s,renderState:a,latestValues:o})=>{if(!s)return;let c=!!e.drag;if(!c){for(const d in o)if(transformProps.has(d)){c=!0;break}}if(!c)return;let h=!i;if(i)for(let d=0;d<layoutProps.length;d++){const g=layoutProps[d];e[g]!==i[g]&&(h=!0)}h&&frame.read(()=>{updateSVGDimensions(s,a),frame.render(()=>{buildSVGAttrs(a,o,isSVGTag(s.tagName),e.transformTemplate),renderSVG(s,a)})})}})},htmlMotionConfig={useVisualState:makeUseVisualState({scrapeMotionValuesFromProps:scrapeMotionValuesFromProps$1,createRenderState:createHtmlRenderState})};function copyRawValuesOnly(e,i,s){for(const a in i)!isMotionValue(i[a])&&!isForcedMotionValue(a,s)&&(e[a]=i[a])}function useInitialMotionValues({transformTemplate:e},i){return reactExports.useMemo(()=>{const s=createHtmlRenderState();return buildHTMLStyles(s,i,e),Object.assign({},s.vars,s.style)},[i])}function useStyle(e,i){const s=e.style||{},a={};return copyRawValuesOnly(a,s,e),Object.assign(a,useInitialMotionValues(e,i)),a}function useHTMLProps(e,i){const s={},a=useStyle(e,i);return e.drag&&e.dragListener!==!1&&(s.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(s.tabIndex=0),s.style=a,s}function useSVGProps(e,i,s,a){const o=reactExports.useMemo(()=>{const c=createSvgRenderState();return buildSVGAttrs(c,i,isSVGTag(a),e.transformTemplate),{...c.attrs,style:{...c.style}}},[i]);if(e.style){const c={};copyRawValuesOnly(c,e.style,e),o.style={...c,...o.style}}return o}function createUseRender(e=!1){return(s,a,o,{latestValues:c},h)=>{const g=(isSVGComponent(s)?useSVGProps:useHTMLProps)(a,c,h,s),b=filterProps(a,typeof s=="string",e),j=s!==reactExports.Fragment?{...b,...g,ref:o}:{},{children:tt}=a,_=reactExports.useMemo(()=>isMotionValue(tt)?tt.get():tt,[tt]);return reactExports.createElement(s,{...j,children:_})}}function createMotionComponentFactory(e,i){return function(a,{forwardMotionProps:o}={forwardMotionProps:!1}){const h={...isSVGComponent(a)?svgMotionConfig:htmlMotionConfig,preloadedFeatures:e,useRender:createUseRender(o),createVisualElement:i,Component:a};return createRendererMotionComponent(h)}}function shallowCompare(e,i){if(!Array.isArray(i))return!1;const s=i.length;if(s!==e.length)return!1;for(let a=0;a<s;a++)if(i[a]!==e[a])return!1;return!0}function resolveVariant(e,i,s){const a=e.getProps();return resolveVariantFromProps(a,i,s!==void 0?s:a.custom,e)}const supportsScrollTimeline=memo(()=>window.ScrollTimeline!==void 0);class BaseGroupPlaybackControls{constructor(i){this.stop=()=>this.runAll("stop"),this.animations=i.filter(Boolean)}get finished(){return Promise.all(this.animations.map(i=>"finished"in i?i.finished:i))}getAll(i){return this.animations[0][i]}setAll(i,s){for(let a=0;a<this.animations.length;a++)this.animations[a][i]=s}attachTimeline(i,s){const a=this.animations.map(o=>{if(supportsScrollTimeline()&&o.attachTimeline)return o.attachTimeline(i);if(typeof s=="function")return s(o)});return()=>{a.forEach((o,c)=>{o&&o(),this.animations[c].stop()})}}get time(){return this.getAll("time")}set time(i){this.setAll("time",i)}get speed(){return this.getAll("speed")}set speed(i){this.setAll("speed",i)}get startTime(){return this.getAll("startTime")}get duration(){let i=0;for(let s=0;s<this.animations.length;s++)i=Math.max(i,this.animations[s].duration);return i}runAll(i){this.animations.forEach(s=>s[i]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class GroupPlaybackControls extends BaseGroupPlaybackControls{then(i,s){return Promise.all(this.animations).then(i).catch(s)}}function getValueTransition(e,i){return e?e[i]||e.default||e:void 0}const maxGeneratorDuration=2e4;function calcGeneratorDuration(e){let i=0;const s=50;let a=e.next(i);for(;!a.done&&i<maxGeneratorDuration;)i+=s,a=e.next(i);return i>=maxGeneratorDuration?1/0:i}function isGenerator(e){return typeof e=="function"}function attachTimeline(e,i){e.timeline=i,e.onfinish=null}const isBezierDefinition=e=>Array.isArray(e)&&typeof e[0]=="number",supportsFlags={linearEasing:void 0};function memoSupports(e,i){const s=memo(e);return()=>{var a;return(a=supportsFlags[i])!==null&&a!==void 0?a:s()}}const supportsLinearEasing=memoSupports(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),generateLinearEasing=(e,i,s=10)=>{let a="";const o=Math.max(Math.round(i/s),2);for(let c=0;c<o;c++)a+=e(progress(0,o-1,c))+", ";return`linear(${a.substring(0,a.length-2)})`};function isWaapiSupportedEasing(e){return!!(typeof e=="function"&&supportsLinearEasing()||!e||typeof e=="string"&&(e in supportedWaapiEasing||supportsLinearEasing())||isBezierDefinition(e)||Array.isArray(e)&&e.every(isWaapiSupportedEasing))}const cubicBezierAsString=([e,i,s,a])=>`cubic-bezier(${e}, ${i}, ${s}, ${a})`,supportedWaapiEasing={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:cubicBezierAsString([0,.65,.55,1]),circOut:cubicBezierAsString([.55,0,1,.45]),backIn:cubicBezierAsString([.31,.01,.66,-.59]),backOut:cubicBezierAsString([.33,1.53,.69,.99])};function mapEasingToNativeEasing(e,i){if(e)return typeof e=="function"&&supportsLinearEasing()?generateLinearEasing(e,i):isBezierDefinition(e)?cubicBezierAsString(e):Array.isArray(e)?e.map(s=>mapEasingToNativeEasing(s,i)||supportedWaapiEasing.easeOut):supportedWaapiEasing[e]}const isDragging={x:!1,y:!1};function isDragActive(){return isDragging.x||isDragging.y}function resolveElements(e,i,s){var a;if(e instanceof Element)return[e];if(typeof e=="string"){let o=document;const c=(a=void 0)!==null&&a!==void 0?a:o.querySelectorAll(e);return c?Array.from(c):[]}return Array.from(e)}function setupGesture(e,i){const s=resolveElements(e),a=new AbortController,o={passive:!0,...i,signal:a.signal};return[s,o,()=>a.abort()]}function filterEvents$1(e){return i=>{i.pointerType==="touch"||isDragActive()||e(i)}}function hover(e,i,s={}){const[a,o,c]=setupGesture(e,s),h=filterEvents$1(d=>{const{target:g}=d,b=i(d);if(typeof b!="function"||!g)return;const j=filterEvents$1(tt=>{b(tt),g.removeEventListener("pointerleave",j)});g.addEventListener("pointerleave",j,o)});return a.forEach(d=>{d.addEventListener("pointerenter",h,o)}),c}const isNodeOrChild=(e,i)=>i?e===i?!0:isNodeOrChild(e,i.parentElement):!1,isPrimaryPointer=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,focusableElements=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function isElementKeyboardAccessible(e){return focusableElements.has(e.tagName)||e.tabIndex!==-1}const isPressing=new WeakSet;function filterEvents(e){return i=>{i.key==="Enter"&&e(i)}}function firePointerEvent(e,i){e.dispatchEvent(new PointerEvent("pointer"+i,{isPrimary:!0,bubbles:!0}))}const enableKeyboardPress=(e,i)=>{const s=e.currentTarget;if(!s)return;const a=filterEvents(()=>{if(isPressing.has(s))return;firePointerEvent(s,"down");const o=filterEvents(()=>{firePointerEvent(s,"up")}),c=()=>firePointerEvent(s,"cancel");s.addEventListener("keyup",o,i),s.addEventListener("blur",c,i)});s.addEventListener("keydown",a,i),s.addEventListener("blur",()=>s.removeEventListener("keydown",a),i)};function isValidPressEvent(e){return isPrimaryPointer(e)&&!isDragActive()}function press(e,i,s={}){const[a,o,c]=setupGesture(e,s),h=d=>{const g=d.currentTarget;if(!isValidPressEvent(d)||isPressing.has(g))return;isPressing.add(g);const b=i(d),j=(nt,rt)=>{window.removeEventListener("pointerup",tt),window.removeEventListener("pointercancel",_),!(!isValidPressEvent(nt)||!isPressing.has(g))&&(isPressing.delete(g),typeof b=="function"&&b(nt,{success:rt}))},tt=nt=>{j(nt,s.useGlobalTarget||isNodeOrChild(g,nt.target))},_=nt=>{j(nt,!1)};window.addEventListener("pointerup",tt,o),window.addEventListener("pointercancel",_,o)};return a.forEach(d=>{!isElementKeyboardAccessible(d)&&d.getAttribute("tabindex")===null&&(d.tabIndex=0),(s.useGlobalTarget?window:d).addEventListener("pointerdown",h,o),d.addEventListener("focus",b=>enableKeyboardPress(b,o),o)}),c}function setDragLock(e){return e==="x"||e==="y"?isDragging[e]?null:(isDragging[e]=!0,()=>{isDragging[e]=!1}):isDragging.x||isDragging.y?null:(isDragging.x=isDragging.y=!0,()=>{isDragging.x=isDragging.y=!1})}const positionalKeys=new Set(["width","height","top","left","right","bottom",...transformPropOrder]);let now;function clearTime(){now=void 0}const time={now:()=>(now===void 0&&time.set(frameData.isProcessing||MotionGlobalConfig.useManualTiming?frameData.timestamp:performance.now()),now),set:e=>{now=e,queueMicrotask(clearTime)}};function addUniqueItem(e,i){e.indexOf(i)===-1&&e.push(i)}function removeItem(e,i){const s=e.indexOf(i);s>-1&&e.splice(s,1)}class SubscriptionManager{constructor(){this.subscriptions=[]}add(i){return addUniqueItem(this.subscriptions,i),()=>removeItem(this.subscriptions,i)}notify(i,s,a){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](i,s,a);else for(let c=0;c<o;c++){const h=this.subscriptions[c];h&&h(i,s,a)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function velocityPerSecond(e,i){return i?e*(1e3/i):0}const MAX_VELOCITY_DELTA=30,isFloat=e=>!isNaN(parseFloat(e));class MotionValue{constructor(i,s={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(a,o=!0)=>{const c=time.now();this.updatedAt!==c&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(a),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(i),this.owner=s.owner}setCurrent(i){this.current=i,this.updatedAt=time.now(),this.canTrackVelocity===null&&i!==void 0&&(this.canTrackVelocity=isFloat(this.current))}setPrevFrameValue(i=this.current){this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt}onChange(i){return this.on("change",i)}on(i,s){this.events[i]||(this.events[i]=new SubscriptionManager);const a=this.events[i].add(s);return i==="change"?()=>{a(),frame.read(()=>{this.events.change.getSize()||this.stop()})}:a}clearListeners(){for(const i in this.events)this.events[i].clear()}attach(i,s){this.passiveEffect=i,this.stopPassiveEffect=s}set(i,s=!0){!s||!this.passiveEffect?this.updateAndNotify(i,s):this.passiveEffect(i,this.updateAndNotify)}setWithVelocity(i,s,a){this.set(s),this.prev=void 0,this.prevFrameValue=i,this.prevUpdatedAt=this.updatedAt-a}jump(i,s=!0){this.updateAndNotify(i),this.prev=i,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const i=time.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||i-this.updatedAt>MAX_VELOCITY_DELTA)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,MAX_VELOCITY_DELTA);return velocityPerSecond(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(i){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=i(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function motionValue(e,i){return new MotionValue(e,i)}function setMotionValue(e,i,s){e.hasValue(i)?e.getValue(i).set(s):e.addValue(i,motionValue(s))}function setTarget(e,i){const s=resolveVariant(e,i);let{transitionEnd:a={},transition:o={},...c}=s||{};c={...c,...a};for(const h in c){const d=resolveFinalValueInKeyframes(c[h]);setMotionValue(e,h,d)}}function isWillChangeMotionValue(e){return!!(isMotionValue(e)&&e.add)}function addValueToWillChange(e,i){const s=e.getValue("willChange");if(isWillChangeMotionValue(s))return s.add(i)}function getOptimisedAppearId(e){return e.props[optimizedAppearDataAttribute]}const calcBezier=(e,i,s)=>(((1-3*s+3*i)*e+(3*s-6*i))*e+3*i)*e,subdivisionPrecision=1e-7,subdivisionMaxIterations=12;function binarySubdivide(e,i,s,a,o){let c,h,d=0;do h=i+(s-i)/2,c=calcBezier(h,a,o)-e,c>0?s=h:i=h;while(Math.abs(c)>subdivisionPrecision&&++d<subdivisionMaxIterations);return h}function cubicBezier(e,i,s,a){if(e===i&&s===a)return noop;const o=c=>binarySubdivide(c,0,1,e,s);return c=>c===0||c===1?c:calcBezier(o(c),i,a)}const mirrorEasing=e=>i=>i<=.5?e(2*i)/2:(2-e(2*(1-i)))/2,reverseEasing=e=>i=>1-e(1-i),backOut=cubicBezier(.33,1.53,.69,.99),backIn=reverseEasing(backOut),backInOut=mirrorEasing(backIn),anticipate=e=>(e*=2)<1?.5*backIn(e):.5*(2-Math.pow(2,-10*(e-1))),circIn=e=>1-Math.sin(Math.acos(e)),circOut=reverseEasing(circIn),circInOut=mirrorEasing(circIn),isZeroValueString=e=>/^0[^.\s]+$/u.test(e);function isNone(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||isZeroValueString(e):!0}const sanitize=e=>Math.round(e*1e5)/1e5,floatRegex=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function isNullish(e){return e==null}const singleColorRegex=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,isColorString=(e,i)=>s=>!!(typeof s=="string"&&singleColorRegex.test(s)&&s.startsWith(e)||i&&!isNullish(s)&&Object.prototype.hasOwnProperty.call(s,i)),splitColor=(e,i,s)=>a=>{if(typeof a!="string")return a;const[o,c,h,d]=a.match(floatRegex);return{[e]:parseFloat(o),[i]:parseFloat(c),[s]:parseFloat(h),alpha:d!==void 0?parseFloat(d):1}},clampRgbUnit=e=>clamp(0,255,e),rgbUnit={...number,transform:e=>Math.round(clampRgbUnit(e))},rgba={test:isColorString("rgb","red"),parse:splitColor("red","green","blue"),transform:({red:e,green:i,blue:s,alpha:a=1})=>"rgba("+rgbUnit.transform(e)+", "+rgbUnit.transform(i)+", "+rgbUnit.transform(s)+", "+sanitize(alpha.transform(a))+")"};function parseHex(e){let i="",s="",a="",o="";return e.length>5?(i=e.substring(1,3),s=e.substring(3,5),a=e.substring(5,7),o=e.substring(7,9)):(i=e.substring(1,2),s=e.substring(2,3),a=e.substring(3,4),o=e.substring(4,5),i+=i,s+=s,a+=a,o+=o),{red:parseInt(i,16),green:parseInt(s,16),blue:parseInt(a,16),alpha:o?parseInt(o,16)/255:1}}const hex={test:isColorString("#"),parse:parseHex,transform:rgba.transform},hsla={test:isColorString("hsl","hue"),parse:splitColor("hue","saturation","lightness"),transform:({hue:e,saturation:i,lightness:s,alpha:a=1})=>"hsla("+Math.round(e)+", "+percent.transform(sanitize(i))+", "+percent.transform(sanitize(s))+", "+sanitize(alpha.transform(a))+")"},color={test:e=>rgba.test(e)||hex.test(e)||hsla.test(e),parse:e=>rgba.test(e)?rgba.parse(e):hsla.test(e)?hsla.parse(e):hex.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?rgba.transform(e):hsla.transform(e)},colorRegex=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function test(e){var i,s;return isNaN(e)&&typeof e=="string"&&(((i=e.match(floatRegex))===null||i===void 0?void 0:i.length)||0)+(((s=e.match(colorRegex))===null||s===void 0?void 0:s.length)||0)>0}const NUMBER_TOKEN="number",COLOR_TOKEN="color",VAR_TOKEN="var",VAR_FUNCTION_TOKEN="var(",SPLIT_TOKEN="${}",complexRegex=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function analyseComplexValue(e){const i=e.toString(),s=[],a={color:[],number:[],var:[]},o=[];let c=0;const d=i.replace(complexRegex,g=>(color.test(g)?(a.color.push(c),o.push(COLOR_TOKEN),s.push(color.parse(g))):g.startsWith(VAR_FUNCTION_TOKEN)?(a.var.push(c),o.push(VAR_TOKEN),s.push(g)):(a.number.push(c),o.push(NUMBER_TOKEN),s.push(parseFloat(g))),++c,SPLIT_TOKEN)).split(SPLIT_TOKEN);return{values:s,split:d,indexes:a,types:o}}function parseComplexValue(e){return analyseComplexValue(e).values}function createTransformer(e){const{split:i,types:s}=analyseComplexValue(e),a=i.length;return o=>{let c="";for(let h=0;h<a;h++)if(c+=i[h],o[h]!==void 0){const d=s[h];d===NUMBER_TOKEN?c+=sanitize(o[h]):d===COLOR_TOKEN?c+=color.transform(o[h]):c+=o[h]}return c}}const convertNumbersToZero=e=>typeof e=="number"?0:e;function getAnimatableNone$1(e){const i=parseComplexValue(e);return createTransformer(e)(i.map(convertNumbersToZero))}const complex={test,parse:parseComplexValue,createTransformer,getAnimatableNone:getAnimatableNone$1},maxDefaults=new Set(["brightness","contrast","saturate","opacity"]);function applyDefaultFilter(e){const[i,s]=e.slice(0,-1).split("(");if(i==="drop-shadow")return e;const[a]=s.match(floatRegex)||[];if(!a)return e;const o=s.replace(a,"");let c=maxDefaults.has(i)?1:0;return a!==s&&(c*=100),i+"("+c+o+")"}const functionRegex=/\b([a-z-]*)\(.*?\)/gu,filter={...complex,getAnimatableNone:e=>{const i=e.match(functionRegex);return i?i.map(applyDefaultFilter).join(" "):e}},defaultValueTypes={...numberValueTypes,color,backgroundColor:color,outlineColor:color,fill:color,stroke:color,borderColor:color,borderTopColor:color,borderRightColor:color,borderBottomColor:color,borderLeftColor:color,filter,WebkitFilter:filter},getDefaultValueType=e=>defaultValueTypes[e];function getAnimatableNone(e,i){let s=getDefaultValueType(e);return s!==filter&&(s=complex),s.getAnimatableNone?s.getAnimatableNone(i):void 0}const invalidTemplates=new Set(["auto","none","0"]);function makeNoneKeyframesAnimatable(e,i,s){let a=0,o;for(;a<e.length&&!o;){const c=e[a];typeof c=="string"&&!invalidTemplates.has(c)&&analyseComplexValue(c).values.length&&(o=e[a]),a++}if(o&&s)for(const c of i)e[c]=getAnimatableNone(s,o)}const isNumOrPxType=e=>e===number||e===px,getPosFromMatrix=(e,i)=>parseFloat(e.split(", ")[i]),getTranslateFromMatrix=(e,i)=>(s,{transform:a})=>{if(a==="none"||!a)return 0;const o=a.match(/^matrix3d\((.+)\)$/u);if(o)return getPosFromMatrix(o[1],i);{const c=a.match(/^matrix\((.+)\)$/u);return c?getPosFromMatrix(c[1],e):0}},transformKeys=new Set(["x","y","z"]),nonTranslationalTransformKeys=transformPropOrder.filter(e=>!transformKeys.has(e));function removeNonTranslationalTransform(e){const i=[];return nonTranslationalTransformKeys.forEach(s=>{const a=e.getValue(s);a!==void 0&&(i.push([s,a.get()]),a.set(s.startsWith("scale")?1:0))}),i}const positionalValues={width:({x:e},{paddingLeft:i="0",paddingRight:s="0"})=>e.max-e.min-parseFloat(i)-parseFloat(s),height:({y:e},{paddingTop:i="0",paddingBottom:s="0"})=>e.max-e.min-parseFloat(i)-parseFloat(s),top:(e,{top:i})=>parseFloat(i),left:(e,{left:i})=>parseFloat(i),bottom:({y:e},{top:i})=>parseFloat(i)+(e.max-e.min),right:({x:e},{left:i})=>parseFloat(i)+(e.max-e.min),x:getTranslateFromMatrix(4,13),y:getTranslateFromMatrix(5,14)};positionalValues.translateX=positionalValues.x;positionalValues.translateY=positionalValues.y;const toResolve=new Set;let isScheduled=!1,anyNeedsMeasurement=!1;function measureAllKeyframes(){if(anyNeedsMeasurement){const e=Array.from(toResolve).filter(a=>a.needsMeasurement),i=new Set(e.map(a=>a.element)),s=new Map;
vendor: 4,108 bytes, line 48
48i.forEach(a=>{const o=removeNonTranslationalTransform(a);o.length&&(s.set(a,o),a.render())}),e.forEach(a=>a.measureInitialState()),i.forEach(a=>{a.render();const o=s.get(a);o&&o.forEach(([c,h])=>{var d;(d=a.getValue(c))===null||d===void 0||d.set(h)})}),e.forEach(a=>a.measureEndState()),e.forEach(a=>{a.suspendedScrollY!==void 0&&window.scrollTo(0,a.suspendedScrollY)})}anyNeedsMeasurement=!1,isScheduled=!1,toResolve.forEach(e=>e.complete()),toResolve.clear()}function readAllKeyframes(){toResolve.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(anyNeedsMeasurement=!0)})}function flushKeyframeResolvers(){readAllKeyframes(),measureAllKeyframes()}class KeyframeResolver{constructor(i,s,a,o,c,h=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...i],this.onComplete=s,this.name=a,this.motionValue=o,this.element=c,this.isAsync=h}scheduleResolve(){this.isScheduled=!0,this.isAsync?(toResolve.add(this),isScheduled||(isScheduled=!0,frame.read(readAllKeyframes),frame.resolveKeyframes(measureAllKeyframes))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:i,name:s,element:a,motionValue:o}=this;for(let c=0;c<i.length;c++)if(i[c]===null)if(c===0){const h=o==null?void 0:o.get(),d=i[i.length-1];if(h!==void 0)i[0]=h;else if(a&&s){const g=a.readValue(s,d);g!=null&&(i[0]=g)}i[0]===void 0&&(i[0]=d),o&&h===void 0&&o.set(i[0])}else i[c]=i[c-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),toResolve.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,toResolve.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const isNumericalString=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),splitCSSVariableRegex=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function parseCSSVariable(e){const i=splitCSSVariableRegex.exec(e);if(!i)return[,];const[,s,a,o]=i;return[`--${s??a}`,o]}function getVariableValue(e,i,s=1){const[a,o]=parseCSSVariable(e);if(!a)return;const c=window.getComputedStyle(i).getPropertyValue(a);if(c){const h=c.trim();return isNumericalString(h)?parseFloat(h):h}return isCSSVariableToken(o)?getVariableValue(o,i,s+1):o}const testValueType=e=>i=>i.test(e),auto={test:e=>e==="auto",parse:e=>e},dimensionValueTypes=[number,px,percent,degrees,vw,vh,auto],findDimensionValueType=e=>dimensionValueTypes.find(testValueType(e));class DOMKeyframesResolver extends KeyframeResolver{constructor(i,s,a,o,c){super(i,s,a,o,c,!0)}readKeyframes(){const{unresolvedKeyframes:i,element:s,name:a}=this;if(!s||!s.current)return;super.readKeyframes();for(let g=0;g<i.length;g++){let b=i[g];if(typeof b=="string"&&(b=b.trim(),isCSSVariableToken(b))){const j=getVariableValue(b,s.current);j!==void 0&&(i[g]=j),g===i.length-1&&(this.finalKeyframe=b)}}if(this.resolveNoneKeyframes(),!positionalKeys.has(a)||i.length!==2)return;const[o,c]=i,h=findDimensionValueType(o),d=findDimensionValueType(c);if(h!==d)if(isNumOrPxType(h)&&isNumOrPxType(d))for(let g=0;g<i.length;g++){const b=i[g];typeof b=="string"&&(i[g]=parseFloat(b))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:i,name:s}=this,a=[];for(let o=0;o<i.length;o++)isNone(i[o])&&a.push(o);a.length&&makeNoneKeyframesAnimatable(i,a,s)}measureInitialState(){const{element:i,unresolvedKeyframes:s,name:a}=this;if(!i||!i.current)return;a==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=positionalValues[a](i.measureViewportBox(),window.getComputedStyle(i.current)),s[0]=this.measuredOrigin;const o=s[s.length-1];o!==void 0&&i.getValue(a,o).jump(o,!1)}measureEndState(){var i;const{element:s,name:a,unresolvedKeyframes:o}=this;if(!s||!s.current)return;const c=s.getValue(a);c&&c.jump(this.measuredOrigin,!1);const h=o.length-1,d=o[h];o[h]=positionalValues[a](s.measureViewportBox(),window.getComputedStyle(s.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),!((i=this.removedTransforms)===null||i===void 0)&&i.length&&this.removedTransforms.forEac
vendor: 4,318 bytes, line 48
48h(([g,b])=>{s.getValue(g).set(b)}),this.resolveNoneKeyframes()}}const isAnimatable=(e,i)=>i==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(complex.test(e)||e==="0")&&!e.startsWith("url("));function hasKeyframesChanged(e){const i=e[0];if(e.length===1)return!0;for(let s=0;s<e.length;s++)if(e[s]!==i)return!0}function canAnimate(e,i,s,a){const o=e[0];if(o===null)return!1;if(i==="display"||i==="visibility")return!0;const c=e[e.length-1],h=isAnimatable(o,i),d=isAnimatable(c,i);return!h||!d?!1:hasKeyframesChanged(e)||(s==="spring"||isGenerator(s))&&a}const isNotNull=e=>e!==null;function getFinalKeyframe(e,{repeat:i,repeatType:s="loop"},a){const o=e.filter(isNotNull),c=i&&s!=="loop"&&i%2===1?0:o.length-1;return!c||a===void 0?o[c]:a}const MAX_RESOLVE_DELAY=40;class BaseAnimation{constructor({autoplay:i=!0,delay:s=0,type:a="keyframes",repeat:o=0,repeatDelay:c=0,repeatType:h="loop",...d}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=time.now(),this.options={autoplay:i,delay:s,type:a,repeat:o,repeatDelay:c,repeatType:h,...d},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>MAX_RESOLVE_DELAY?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&flushKeyframeResolvers(),this._resolved}onKeyframesResolved(i,s){this.resolvedAt=time.now(),this.hasAttemptedResolve=!0;const{name:a,type:o,velocity:c,delay:h,onComplete:d,onUpdate:g,isGenerator:b}=this.options;if(!b&&!canAnimate(i,a,o,c))if(h)this.options.duration=0;else{g&&g(getFinalKeyframe(i,this.options,s)),d&&d(),this.resolveFinishedPromise();return}const j=this.initPlayback(i,s);j!==!1&&(this._resolved={keyframes:i,finalKeyframe:s,...j},this.onPostResolved())}onPostResolved(){}then(i,s){return this.currentFinishedPromise.then(i,s)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(i=>{this.resolveFinishedPromise=i})}}const mixNumber$1=(e,i,s)=>e+(i-e)*s;function hueToRgb(e,i,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?e+(i-e)*6*s:s<1/2?i:s<2/3?e+(i-e)*(2/3-s)*6:e}function hslaToRgba({hue:e,saturation:i,lightness:s,alpha:a}){e/=360,i/=100,s/=100;let o=0,c=0,h=0;if(!i)o=c=h=s;else{const d=s<.5?s*(1+i):s+i-s*i,g=2*s-d;o=hueToRgb(g,d,e+1/3),c=hueToRgb(g,d,e),h=hueToRgb(g,d,e-1/3)}return{red:Math.round(o*255),green:Math.round(c*255),blue:Math.round(h*255),alpha:a}}function mixImmediate(e,i){return s=>s>0?i:e}const mixLinearColor=(e,i,s)=>{const a=e*e,o=s*(i*i-a)+a;return o<0?0:Math.sqrt(o)},colorTypes=[hex,rgba,hsla],getColorType=e=>colorTypes.find(i=>i.test(e));function asRGBA(e){const i=getColorType(e);if(!i)return!1;let s=i.parse(e);return i===hsla&&(s=hslaToRgba(s)),s}const mixColor=(e,i)=>{const s=asRGBA(e),a=asRGBA(i);if(!s||!a)return mixImmediate(e,i);const o={...s};return c=>(o.red=mixLinearColor(s.red,a.red,c),o.green=mixLinearColor(s.green,a.green,c),o.blue=mixLinearColor(s.blue,a.blue,c),o.alpha=mixNumber$1(s.alpha,a.alpha,c),rgba.transform(o))},combineFunctions=(e,i)=>s=>i(e(s)),pipe=(...e)=>e.reduce(combineFunctions),invisibleValues=new Set(["none","hidden"]);function mixVisibility(e,i){return invisibleValues.has(e)?s=>s<=0?e:i:s=>s>=1?i:e}function mixNumber(e,i){return s=>mixNumber$1(e,i,s)}function getMixer(e){return typeof e=="number"?mixNumber:typeof e=="string"?isCSSVariableToken(e)?mixImmediate:color.test(e)?mixColor:mixComplex:Array.isArray(e)?mixArray:typeof e=="object"?color.test(e)?mixColor:mixObject:mixImmediate}function mixArray(e,i){const s=[...e],a=s.length,o=e.map((c,h)=>getMixer(c)(c,i[h]));return c=>{for(let h=0;h<a;h++)s[h]=o[h](c);return s}}function mixObject(e,i){const s={...e,...i},a={};for(const o in s)e[o]!==void 0&&i[o]!==void 0&&(a[o]=getMixer(e[o])(e[o],i[o]));return o=>{for(const c in a)s[c]=a[c](o);return s}}function matchOrder(e,i){var s;const a=[],o={color:0,var:0,number:0};for(let c=0;c<i.values.length;c++){const h=i.types[c],d=e.indexes[h][o[h]],g=(s=e.values[d])!==null&&s!==void 0?s:0;a[c]=g,o[h]++}return a}const mixComplex=(e,i)=>{const s=complex.createTransformer(i),a=analyseComplexValue(e),o=analyseComplexValue(i);return a.indexes.var.length===o.indexes.var.length&&a.indexes.color.length===o.indexes.color.length&&a.indexes.number.length>
vendor: 9,872 bytes, line 48
48=o.indexes.number.length?invisibleValues.has(e)&&!o.values.length||invisibleValues.has(i)&&!a.values.length?mixVisibility(e,i):pipe(mixArray(matchOrder(a,o),o.values),s):mixImmediate(e,i)};function mix(e,i,s){return typeof e=="number"&&typeof i=="number"&&typeof s=="number"?mixNumber$1(e,i,s):getMixer(e)(e,i)}const velocitySampleDuration=5;function calcGeneratorVelocity(e,i,s){const a=Math.max(i-velocitySampleDuration,0);return velocityPerSecond(s-e(a),i-a)}const springDefaults={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},safeMin=.001;function findSpring({duration:e=springDefaults.duration,bounce:i=springDefaults.bounce,velocity:s=springDefaults.velocity,mass:a=springDefaults.mass}){let o,c,h=1-i;h=clamp(springDefaults.minDamping,springDefaults.maxDamping,h),e=clamp(springDefaults.minDuration,springDefaults.maxDuration,millisecondsToSeconds(e)),h<1?(o=b=>{const j=b*h,tt=j*e,_=j-s,nt=calcAngularFreq(b,h),rt=Math.exp(-tt);return safeMin-_/nt*rt},c=b=>{const tt=b*h*e,_=tt*s+s,nt=Math.pow(h,2)*Math.pow(b,2)*e,rt=Math.exp(-tt),it=calcAngularFreq(Math.pow(b,2),h);return(-o(b)+safeMin>0?-1:1)*((_-nt)*rt)/it}):(o=b=>{const j=Math.exp(-b*e),tt=(b-s)*e+1;return-safeMin+j*tt},c=b=>{const j=Math.exp(-b*e),tt=(s-b)*(e*e);return j*tt});const d=5/e,g=approximateRoot(o,c,d);if(e=secondsToMilliseconds(e),isNaN(g))return{stiffness:springDefaults.stiffness,damping:springDefaults.damping,duration:e};{const b=Math.pow(g,2)*a;return{stiffness:b,damping:h*2*Math.sqrt(a*b),duration:e}}}const rootIterations=12;function approximateRoot(e,i,s){let a=s;for(let o=1;o<rootIterations;o++)a=a-e(a)/i(a);return a}function calcAngularFreq(e,i){return e*Math.sqrt(1-i*i)}const durationKeys=["duration","bounce"],physicsKeys=["stiffness","damping","mass"];function isSpringType(e,i){return i.some(s=>e[s]!==void 0)}function getSpringOptions(e){let i={velocity:springDefaults.velocity,stiffness:springDefaults.stiffness,damping:springDefaults.damping,mass:springDefaults.mass,isResolvedFromDuration:!1,...e};if(!isSpringType(e,physicsKeys)&&isSpringType(e,durationKeys))if(e.visualDuration){const s=e.visualDuration,a=2*Math.PI/(s*1.2),o=a*a,c=2*clamp(.05,1,1-(e.bounce||0))*Math.sqrt(o);i={...i,mass:springDefaults.mass,stiffness:o,damping:c}}else{const s=findSpring(e);i={...i,...s,mass:springDefaults.mass},i.isResolvedFromDuration=!0}return i}function spring(e=springDefaults.visualDuration,i=springDefaults.bounce){const s=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:i}:e;let{restSpeed:a,restDelta:o}=s;const c=s.keyframes[0],h=s.keyframes[s.keyframes.length-1],d={done:!1,value:c},{stiffness:g,damping:b,mass:j,duration:tt,velocity:_,isResolvedFromDuration:nt}=getSpringOptions({...s,velocity:-millisecondsToSeconds(s.velocity||0)}),rt=_||0,it=b/(2*Math.sqrt(g*j)),ut=h-c,_e=millisecondsToSeconds(Math.sqrt(g/j)),et=Math.abs(ut)<5;a||(a=et?springDefaults.restSpeed.granular:springDefaults.restSpeed.default),o||(o=et?springDefaults.restDelta.granular:springDefaults.restDelta.default);let $;if(it<1){const ot=calcAngularFreq(_e,it);$=lt=>{const ht=Math.exp(-it*_e*lt);return h-ht*((rt+it*_e*ut)/ot*Math.sin(ot*lt)+ut*Math.cos(ot*lt))}}else if(it===1)$=ot=>h-Math.exp(-_e*ot)*(ut+(rt+_e*ut)*ot);else{const ot=_e*Math.sqrt(it*it-1);$=lt=>{const ht=Math.exp(-it*_e*lt),pt=Math.min(ot*lt,300);return h-ht*((rt+it*_e*ut)*Math.sinh(pt)+ot*ut*Math.cosh(pt))/ot}}const st={calculatedDuration:nt&&tt||null,next:ot=>{const lt=$(ot);if(nt)d.done=ot>=tt;else{let ht=0;it<1&&(ht=ot===0?secondsToMilliseconds(rt):calcGeneratorVelocity($,ot,lt));const pt=Math.abs(ht)<=a,vt=Math.abs(h-lt)<=o;d.done=pt&&vt}return d.value=d.done?h:lt,d},toString:()=>{const ot=Math.min(calcGeneratorDuration(st),maxGeneratorDuration),lt=generateLinearEasing(ht=>st.next(ot*ht).value,ot,30);return ot+"ms "+lt}};return st}function inertia({keyframes:e,velocity:i=0,power:s=.8,timeConstant:a=325,bounceDamping:o=10,bounceStiffness:c=500,modifyTarget:h,min:d,max:g,restDelta:b=.5,restSpeed:j}){const tt=e[0],_={done:!1,value:tt},nt=pt=>d!==void 0&&pt<d||g!==void 0&&pt>g,rt=pt=>d===void 0?g:g===void 0||Math.abs(d-pt)<Math.abs(g-pt)?d:g;let it=s*i;const ut=tt+it,_e=h===void 0?ut:h(ut);_e!==ut&&(it=_e-tt);const et=pt=>-it*Math.exp(-pt/a),$=pt=>_e+et(pt),st=pt=>{const vt=et(pt),St=$(pt);_.done=Math.abs(vt)<=b,_.value=_.done?_e:St};let ot,lt;const ht=pt=>{nt(_.value)&&(ot=pt,lt=spring({keyframes:[_.value,rt(_.value)],velocity:calcGeneratorVelocity($,pt,_.value),damping:o,stiffness:c,restDelta:b,restSpeed:j}))};return ht(0),{calculatedDuration:null,next:pt=>{let vt=!1;return!lt&&ot===void 0&&(vt=!0,st(pt),ht(pt)),ot!==void 0&&pt>=ot?lt.next(pt-ot):(!vt&&st(pt),_)}}}const easeIn=cubicBezier(.42,0,1,1),easeOut=cubicBezier(0,0,.58,1),easeInOut=cubicBezier(.42,0,.58,1),isEasingArray=e=>Array.isArray(e)&&typeof e[0]!="number",easingLookup={linear:noop,easeIn,easeInOut,easeOut,circIn,circInOut,circOut,backIn,backInOut,backOut,anticipate},easingDefinitionToFunction=e=>{if(isBezierDefinition(e)){invariant(e.length===4);const[i,s,a,o]=e;return cubicBezier(i,s,a,o)}else if(typeof e=="string")return easingLookup[e];return e};function createMixers(e,i,s){const a=[],o=s||mix,c=e.length-1;for(let h=0;h<c;h++){let d=o(e[h],e[h+1]);if(i){const g=Array.isArray(i)?i[h]||noop:i;d=pipe(g,d)}a.push(d)}return a}function interpolate(e,i,{clamp:s=!0,ease:a,mixer:o}={}){const c=e.length;if(invariant(c===i.length),c===1)return()=>i[0];if(c===2&&i[0]===i[1])return()=>i[1];const h=e[0]===e[1];e[0]>e[c-1]&&(e=[...e].reverse(),i=[...i].reverse());const d=createMixers(i,a,o),g=d.length,b=j=>{if(h&&j<e[0])return i[0];let tt=0;if(g>1)for(;tt<e.length-2&&!(j<e[tt+1]);tt++);const _=progress(e[tt],e[tt+1],j);return d[tt](_)};return s?j=>b(clamp(e[0],e[c-1],j)):b}function fillOffset(e,i){const s=e[e.length-1];for(let a=1;a<=i;a++){const o=progress(0,i,a);e.push(mixNumber$1(s,1,o))}}function defaultOffset(e){const i=[0];return fillOffset(i,e.length-1),i}function convertOffsetToTimes(e,i){return e.map(s=>s*i)}function defaultEasing(e,i){return e.map(()=>i||easeInOut).splice(0,e.length-1)}function keyframes({duration:e=300,keyframes:i,times:s,ease:a="easeInOut"}){const o=isEasingArray(a)?a.map(easingDefinitionToFunction):easingDefinitionToFunction(a),c={done:!1,value:i[0]},h=convertOffsetToTimes(s&&s.length===i.length?s:defaultOffset(i),e),d=interpolate(h,i,{ease:Array.isArray(o)?o:defaultEasing(i,o)});return{calculatedDuration:e,next:g=>(c.value=d(g),c.done=g>=e,c)}}const frameloopDriver=e=>{const i=({timestamp:s})=>e(s);return{start:()=>frame.update(i,!0),stop:()=>cancelFrame(i),now:()=>frameData.isProcessing?frameData.timestamp:time.now()}},generators={decay:inertia,inertia,tween:keyframes,keyframes,spring},percentToProgress=e=>e/100;class MainThreadAnimation extends BaseAnimation{constructor(i){super(i),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:g}=this.options;g&&g()};const{name:s,motionValue:a,element:o,keyframes:c}=this.options,h=(o==null?void 0:o.KeyframeResolver)||KeyframeResolver,d=(g,b)=>this.onKeyframesResolved(g,b);this.resolver=new h(c,d,s,a,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(i){const{type:s="keyframes",repeat:a=0,repeatDelay:o=0,repeatType:c,velocity:h=0}=this.options,d=isGenerator(s)?s:generators[s]||keyframes;let g,b;d!==keyframes&&typeof i[0]!="number"&&(g=pipe(percentToProgress,mix(i[0],i[1])),i=[0,100]);const j=d({...this.options,keyframes:i});c==="mirror"&&(b=d({...this.options,keyframes:[...i].reverse(),velocity:-h})),j.calculatedDuration===null&&(j.calculatedDuration=calcGeneratorDuration(j));const{calculatedDuration:tt}=j,_=tt+o,nt=_*(a+1)-o;return{generator:j,mirroredGenerator:b,mapPercentToKeyframes:g,calculatedDuration:tt,resolvedDuration:_,totalDuration:nt}}onPostResolved(){const{autoplay:i=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!i?this.pause():this.state=this.pendingPlayState}tick(i,s=!1){const{resolved:a}=this;if(!a){const{keyframes:pt}=this.options;return{done:!0,value:pt[pt.length-1]}}const{finalKeyframe:o,generator:c,mirroredGenerator:h,mapPercentToKeyframes:d,keyframes:g,calculatedDuration:b,totalDuration:j,resolvedDuration:tt}=a;if(this.startTime===null)return c.next(0);const{delay:_,repeat:nt,repeatType:rt,repeatDelay:it,onUpdate:ut}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,i):this.speed<0&&(this.startTime=Math.min(i-j/this.speed,this.startTime)),s?this.currentTime=i:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(i-this.startTime)*this.speed;const _e=this.currentTime-_*(this.speed>=0?1:-1),et=this.speed>=0?_e<0:_e>j;this.currentTime=Math.max(_e,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=j);let $=this.currentTime,st=c;if(nt){const pt=Math.min(this.currentTime,j)/tt;let vt=Math.floor(pt),St=pt%1;!St&&pt>=1&&(St=1),St===1&&vt--,vt=Math.min(vt,nt+1),!!(vt%2)&&(rt==="reverse"?(St=1-St,it&&(St-=it/tt)):rt==="mirror"&&(st=h)),$=clamp(0,1,St)*tt}const ot=et?{done:!1,value:g[0]}:st.next($);d&&(ot.value=d(ot.value));let{done:lt}=ot;!et&&b!==null&&(lt=this.speed>=0?this.currentTime>=j:this.currentTime<=0);const ht=this.holdTime===null&&(this.state==="finished"||this.state==="running"&<);return ht&&o!==void 0&&(ot.value=getFinalKeyframe(g,this.options,o)),ut&&ut(ot.value),ht&&this.finish(),ot}get duration(){const{resolved:i}=this;return i?millisecondsToSeconds(i.calculatedDuration):0}
vendor: 19,971 bytes, line 48
48get time(){return millisecondsToSeconds(this.currentTime)}set time(i){i=secondsToMilliseconds(i),this.currentTime=i,this.holdTime!==null||this.speed===0?this.holdTime=i:this.driver&&(this.startTime=this.driver.now()-i/this.speed)}get speed(){return this.playbackSpeed}set speed(i){const s=this.playbackSpeed!==i;this.playbackSpeed=i,s&&(this.time=millisecondsToSeconds(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:i=frameloopDriver,onPlay:s,startTime:a}=this.options;this.driver||(this.driver=i(c=>this.tick(c))),s&&s();const o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=a??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var i;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(i=this.currentTime)!==null&&i!==void 0?i:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:i}=this.options;i&&i()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(i){return this.startTime=0,this.tick(i,!0)}}const acceleratedValues=new Set(["opacity","clipPath","filter","transform"]);function startWaapiAnimation(e,i,s,{delay:a=0,duration:o=300,repeat:c=0,repeatType:h="loop",ease:d="easeInOut",times:g}={}){const b={[i]:s};g&&(b.offset=g);const j=mapEasingToNativeEasing(d,o);return Array.isArray(j)&&(b.easing=j),e.animate(b,{delay:a,duration:o,easing:Array.isArray(j)?"linear":j,fill:"both",iterations:c+1,direction:h==="reverse"?"alternate":"normal"})}const supportsWaapi=memo(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),sampleDelta=10,maxDuration=2e4;function requiresPregeneratedKeyframes(e){return isGenerator(e.type)||e.type==="spring"||!isWaapiSupportedEasing(e.ease)}function pregenerateKeyframes(e,i){const s=new MainThreadAnimation({...i,keyframes:e,repeat:0,delay:0,isGenerator:!0});let a={done:!1,value:e[0]};const o=[];let c=0;for(;!a.done&&c<maxDuration;)a=s.sample(c),o.push(a.value),c+=sampleDelta;return{times:void 0,keyframes:o,duration:c-sampleDelta,ease:"linear"}}const unsupportedEasingFunctions={anticipate,backInOut,circInOut};function isUnsupportedEase(e){return e in unsupportedEasingFunctions}class AcceleratedAnimation extends BaseAnimation{constructor(i){super(i);const{name:s,motionValue:a,element:o,keyframes:c}=this.options;this.resolver=new DOMKeyframesResolver(c,(h,d)=>this.onKeyframesResolved(h,d),s,a,o),this.resolver.scheduleResolve()}initPlayback(i,s){let{duration:a=300,times:o,ease:c,type:h,motionValue:d,name:g,startTime:b}=this.options;if(!d.owner||!d.owner.current)return!1;if(typeof c=="string"&&supportsLinearEasing()&&isUnsupportedEase(c)&&(c=unsupportedEasingFunctions[c]),requiresPregeneratedKeyframes(this.options)){const{onComplete:tt,onUpdate:_,motionValue:nt,element:rt,...it}=this.options,ut=pregenerateKeyframes(i,it);i=ut.keyframes,i.length===1&&(i[1]=i[0]),a=ut.duration,o=ut.times,c=ut.ease,h="keyframes"}const j=startWaapiAnimation(d.owner.current,g,i,{...this.options,duration:a,times:o,ease:c});return j.startTime=b??this.calcStartTime(),this.pendingTimeline?(attachTimeline(j,this.pendingTimeline),this.pendingTimeline=void 0):j.onfinish=()=>{const{onComplete:tt}=this.options;d.set(getFinalKeyframe(i,this.options,s)),tt&&tt(),this.cancel(),this.resolveFinishedPromise()},{animation:j,duration:a,times:o,type:h,ease:c,keyframes:i}}get duration(){const{resolved:i}=this;if(!i)return 0;const{duration:s}=i;return millisecondsToSeconds(s)}get time(){const{resolved:i}=this;if(!i)return 0;const{animation:s}=i;return millisecondsToSeconds(s.currentTime||0)}set time(i){const{resolved:s}=this;if(!s)return;const{animation:a}=s;a.currentTime=secondsToMilliseconds(i)}get speed(){const{resolved:i}=this;if(!i)return 1;const{animation:s}=i;return s.playbackRate}set speed(i){const{resolved:s}=this;if(!s)return;const{animation:a}=s;a.playbackRate=i}get state(){const{resolved:i}=this;if(!i)return"idle";const{animation:s}=i;return s.playState}get startTime(){const{resolved:i}=this;if(!i)return null;const{animation:s}=i;return s.startTime}attachTimeline(i){if(!this._resolved)this.pendingTimeline=i;else{const{resolved:s}=this;if(!s)return noop;const{animation:a}=s;attachTimeline(a,i)}return noop}play(){if(this.isStopped)return;const{resolved:i}=this;if(!i)return;const{animation:s}=i;s.playState==="finished"&&this.updateFinishedPromise(),s.play()}pause(){const{resolved:i}=this;if(!i)return;const{animation:s}=i;s.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:i}=this;if(!i)return;const{animation:s,keyframes:a,duration:o,type:c,ease:h,times:d}=i;if(s.playState==="idle"||s.playState==="finished")return;if(this.time){const{motionValue:b,onUpdate:j,onComplete:tt,element:_,...nt}=this.options,rt=new MainThreadAnimation({...nt,keyframes:a,duration:o,type:c,ease:h,times:d,isGenerator:!0}),it=secondsToMilliseconds(this.time);b.setWithVelocity(rt.sample(it-sampleDelta).value,rt.sample(it).value,sampleDelta)}const{onStop:g}=this.options;g&&g(),this.cancel()}complete(){const{resolved:i}=this;i&&i.animation.finish()}cancel(){const{resolved:i}=this;i&&i.animation.cancel()}static supports(i){const{motionValue:s,name:a,repeatDelay:o,repeatType:c,damping:h,type:d}=i;if(!s||!s.owner||!(s.owner.current instanceof HTMLElement))return!1;const{onUpdate:g,transformTemplate:b}=s.owner.getProps();return supportsWaapi()&&a&&acceleratedValues.has(a)&&!g&&!b&&!o&&c!=="mirror"&&h!==0&&d!=="inertia"}}const underDampedSpring={type:"spring",stiffness:500,damping:25,restSpeed:10},criticallyDampedSpring=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),keyframesTransition={type:"keyframes",duration:.8},ease={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},getDefaultTransition=(e,{keyframes:i})=>i.length>2?keyframesTransition:transformProps.has(e)?e.startsWith("scale")?criticallyDampedSpring(i[1]):underDampedSpring:ease;function isTransitionDefined({when:e,delay:i,delayChildren:s,staggerChildren:a,staggerDirection:o,repeat:c,repeatType:h,repeatDelay:d,from:g,elapsed:b,...j}){return!!Object.keys(j).length}const animateMotionValue=(e,i,s,a={},o,c)=>h=>{const d=getValueTransition(a,e)||{},g=d.delay||a.delay||0;let{elapsed:b=0}=a;b=b-secondsToMilliseconds(g);let j={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:i.getVelocity(),...d,delay:-b,onUpdate:_=>{i.set(_),d.onUpdate&&d.onUpdate(_)},onComplete:()=>{h(),d.onComplete&&d.onComplete()},name:e,motionValue:i,element:c?void 0:o};isTransitionDefined(d)||(j={...j,...getDefaultTransition(e,j)}),j.duration&&(j.duration=secondsToMilliseconds(j.duration)),j.repeatDelay&&(j.repeatDelay=secondsToMilliseconds(j.repeatDelay)),j.from!==void 0&&(j.keyframes[0]=j.from);let tt=!1;if((j.type===!1||j.duration===0&&!j.repeatDelay)&&(j.duration=0,j.delay===0&&(tt=!0)),tt&&!c&&i.get()!==void 0){const _=getFinalKeyframe(j.keyframes,d);if(_!==void 0)return frame.update(()=>{j.onUpdate(_),j.onComplete()}),new GroupPlaybackControls([])}return!c&&AcceleratedAnimation.supports(j)?new AcceleratedAnimation(j):new MainThreadAnimation(j)};function shouldBlockAnimation({protectedKeys:e,needsAnimating:i},s){const a=e.hasOwnProperty(s)&&i[s]!==!0;return i[s]=!1,a}function animateTarget(e,i,{delay:s=0,transitionOverride:a,type:o}={}){var c;let{transition:h=e.getDefaultTransition(),transitionEnd:d,...g}=i;a&&(h=a);const b=[],j=o&&e.animationState&&e.animationState.getState()[o];for(const tt in g){const _=e.getValue(tt,(c=e.latestValues[tt])!==null&&c!==void 0?c:null),nt=g[tt];if(nt===void 0||j&&shouldBlockAnimation(j,tt))continue;const rt={delay:s,...getValueTransition(h||{},tt)};let it=!1;if(window.MotionHandoffAnimation){const _e=getOptimisedAppearId(e);if(_e){const et=window.MotionHandoffAnimation(_e,tt,frame);et!==null&&(rt.startTime=et,it=!0)}}addValueToWillChange(e,tt),_.start(animateMotionValue(tt,_,nt,e.shouldReduceMotion&&positionalKeys.has(tt)?{type:!1}:rt,e,it));const ut=_.animation;ut&&b.push(ut)}return d&&Promise.all(b).then(()=>{frame.update(()=>{d&&setTarget(e,d)})}),b}function animateVariant(e,i,s={}){var a;const o=resolveVariant(e,i,s.type==="exit"?(a=e.presenceContext)===null||a===void 0?void 0:a.custom:void 0);let{transition:c=e.getDefaultTransition()||{}}=o||{};s.transitionOverride&&(c=s.transitionOverride);const h=o?()=>Promise.all(animateTarget(e,o,s)):()=>Promise.resolve(),d=e.variantChildren&&e.variantChildren.size?(b=0)=>{const{delayChildren:j=0,staggerChildren:tt,staggerDirection:_}=c;return animateChildren(e,i,j+b,tt,_,s)}:()=>Promise.resolve(),{when:g}=c;if(g){const[b,j]=g==="beforeChildren"?[h,d]:[d,h];return b().then(()=>j())}else return Promise.all([h(),d(s.delay)])}function animateChildren(e,i,s=0,a=0,o=1,c){const h=[],d=(e.variantChildren.size-1)*a,g=o===1?(b=0)=>b*a:(b=0)=>d-b*a;return Array.from(e.variantChildren).sort(sortByTreeOrder).forEach((b,j)=>{b.notify("AnimationStart",i),h.push(animateVariant(b,i,{...c,delay:s+g(j)}).then(()=>b.notify("AnimationComplete",i)))}),Promise.all(h)}function sortByTreeOrder(e,i){return e.sortNodePosition(i)}function animateVisualElement(e,i,s={}){e.notify("AnimationStart",i);let a;if(Array.isArray(i)){const o=i.map(c=>animateVariant(e,c,s));a=Promise.all(o)}else if(typeof i=="string")a=animateVariant(e,i,s);else{const o=typeof i=="function"?resolveVariant(e,i,s.custom):i;a=Promise.all(animateTarget(e,o,s))}return a.then(()=>{e.notify("AnimationComplete",i)})}const numVariantProps=variantProps.length;function getVariantContext(e){if(!e)return;if(!e.isControllingVariants){const s=e.parent?getVariantContext(e.parent)||{}:{};return e.props.initial!==void 0&&(s.initial=e.props.initial),s}const i={};for(let s=0;s<numVariantProps;s++){const a=variantProps[s],o=e.props[a];(isVariantLabel(o)||o===!1)&&(i[a]=o)}return i}const reversePriorityOrder=[...variantPriorityOrder].reverse(),numAnimationTypes=variantPriorityOrder.length;function animateList(e){return i=>Promise.all(i.map(({animation:s,options:a})=>animateVisualElement(e,s,a)))}function createAnimationState(e){let i=animateList(e),s=createState(),a=!0;const o=g=>(b,j)=>{var tt;const _=resolveVariant(e,j,g==="exit"?(tt=e.presenceContext)===null||tt===void 0?void 0:tt.custom:void 0);if(_){const{transition:nt,transitionEnd:rt,...it}=_;b={...b,...it,...rt}}return b};function c(g){i=g(e)}function h(g){const{props:b}=e,j=getVariantContext(e.parent)||{},tt=[],_=new Set;let nt={},rt=1/0;for(let ut=0;ut<numAnimationTypes;ut++){const _e=reversePriorityOrder[ut],et=s[_e],$=b[_e]!==void 0?b[_e]:j[_e],st=isVariantLabel($),ot=_e===g?et.isActive:null;ot===!1&&(rt=ut);let lt=$===j[_e]&&$!==b[_e]&&st;if(lt&&a&&e.manuallyAnimateOnMount&&(lt=!1),et.protectedKeys={...nt},!et.isActive&&ot===null||!$&&!et.prevProp||isAnimationControls($)||typeof $=="boolean")continue;const ht=checkVariantsDidChange(et.prevProp,$);let pt=ht||_e===g&&et.isActive&&!lt&&st||ut>rt&&st,vt=!1;const St=Array.isArray($)?$:[$];let xt=St.reduce(o(_e),{});ot===!1&&(xt={});const{prevResolvedValues:yt={}}=et,kt={...yt,...xt},wt=dt=>{pt=!0,_.has(dt)&&(vt=!0,_.delete(dt)),et.needsAnimating[dt]=!0;const at=e.getValue(dt);at&&(at.liveStyle=!1)};for(const dt in kt){const at=xt[dt],ct=yt[dt];if(nt.hasOwnProperty(dt))continue;let gt=!1;isKeyframesTarget(at)&&isKeyframesTarget(ct)?gt=!shallowCompare(at,ct):gt=at!==ct,gt?at!=null?wt(dt):_.add(dt):at!==void 0&&_.has(dt)?wt(dt):et.protectedKeys[dt]=!0}et.prevProp=$,et.prevResolvedValues=xt,et.isActive&&(nt={...nt,...xt}),a&&e.blockInitialAnimation&&(pt=!1),pt&&(!(lt&&ht)||vt)&&tt.push(...St.map(dt=>({animation:dt,options:{type:_e}})))}if(_.size){const ut={};_.forEach(_e=>{const et=e.getBaseTarget(_e),$=e.getValue(_e);$&&($.liveStyle=!0),ut[_e]=et??null}),tt.push({animation:ut})}let it=!!tt.length;return a&&(b.initial===!1||b.initial===b.animate)&&!e.manuallyAnimateOnMount&&(it=!1),a=!1,it?i(tt):Promise.resolve()}function d(g,b){var j;if(s[g].isActive===b)return Promise.resolve();(j=e.variantChildren)===null||j===void 0||j.forEach(_=>{var nt;return(nt=_.animationState)===null||nt===void 0?void 0:nt.setActive(g,b)}),s[g].isActive=b;const tt=h(g);for(const _ in s)s[_].protectedKeys={};return tt}return{animateChanges:h,setActive:d,setAnimateFunction:c,getState:()=>s,reset:()=>{s=createState(),a=!0}}}function checkVariantsDidChange(e,i){return typeof i=="string"?i!==e:Array.isArray(i)?!shallowCompare(i,e):!1}function createTypeState(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function createState(){return{animate:createTypeState(!0),whileInView:createTypeState(),whileHover:createTypeState(),whileTap:createTypeState(),whileDrag:createTypeState(),whileFocus:createTypeState(),exit:createTypeState()}}class Feature{constructor(i){this.isMounted=!1,this.node=i}update(){}}class AnimationFeature extends Feature{constructor(i){super(i),i.animationState||(i.animationState=createAnimationState(i))}updateAnimationControlsSubscription(){const{animate:i}=this.node.getProps();isAnimationControls(i)&&(this.unmountControls=i.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:i}=this.node.getProps(),{animate:s}=this.node.prevProps||{};i!==s&&this.updateAnimationControlsSubscription()}unmount(){var i;this.node.animationState.reset(),(i=this.unmountControls)===null||i===void 0||i.call(this)}}let id$1=0;class ExitAnimationFeature extends Feature{constructor(){super(...arguments),this.id=id$1++}update(){if(!this.node.presenceContext)return;const{isPresent:i,onExitComplete:s}=this.node.presenceContext,{isPresent:a}=this.node.prevPresenceContext||{};if(!this.node.animationState||i===a)return;const o=this.node.animationState.setActive("exit",!i);s&&!i&&o.then(()=>s(this.id))}mount(){const{register:i}=this.node.presenceContext||{};i&&(this.unmount=i(this.id))}unmount(){}}const animations={animation:{Feature:AnimationFeature},exit:{Feature:ExitAnimationFeature}};function addDomEvent(e,i,s,a={passive:!0}){return e.addEventListener(i,s,a),()=>e.removeEventListener(i,s)}function extractEventInfo(e){return{point:{x:e.pageX,y:e.pageY}}}const addPointerInfo=e=>i=>isPrimaryPointer(i)&&e(i,extractEventInfo(i));function addPointerEvent(e,i,s,a){return addDomEvent(e,i,addPointerInfo(s),a)}const distance=(e,i)=>Math.abs(e-i);function distance2D(e,i){const s=distance(e.x,i.x),a=distance(e.y,i.y);return Math.sqrt(s**2+a**2)}class PanSession{constructor(i,s,{transformPagePoint:a,contextWindow:o,dragSnapToOrigin:c=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const tt=getPanInfo(this.lastMoveEventInfo,this.history),_=this.startEvent!==null,nt=distance2D(tt.offset,{x:0,y:0})>=3;if(!_&&!nt)return;const{point:rt}=tt,{timestamp:it}=frameData;this.history.push({...rt,timestamp:it});const{onStart:ut,onMove:_e}=this.handlers;_||(ut&&ut(this.lastMoveEvent,tt),this.startEvent=this.lastMoveEvent),_e&&_e(this.lastMoveEvent,tt)},this.handlePointerMove=(tt,_)=>{this.lastMoveEvent=tt,this.lastMoveEventInfo=transformPoint(_,this.transformPagePoint),frame.update(this.updatePoint,!0)},this.handlePointerUp=(tt,_)=>{this.end();const{onEnd:nt,onSessionEnd:rt,resumeAnimation:it}=this.handlers;if(this.dragSnapToOrigin&&it&&it(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const ut=getPanInfo(tt.type==="pointercancel"?this.lastMoveEventInfo:transformPoint(_,this.transformPagePoint),this.history);this.startEvent&&nt&&nt(tt,ut),rt&&rt(tt,ut)},!isPrimaryPointer(i))return;this.dragSnapToOrigin=c,this.handlers=s,this.transformPagePoint=a,this.contextWindow=o||window;const h=extractEventInfo(i),d=transformPoint(h,this.transformPagePoint),{point:g}=d,{timestamp:b}=frameData;this.history=[{...g,timestamp:b}];const{onSessionStart:j}=s;j&&j(i,getPanInfo(d,this.history)),this.removeListeners=pipe(addPointerEvent(this.contextWindow,"pointermove",this.handlePointerMove),addPointerEvent(this.contextWindow,"pointerup",this.handlePointerUp),addPointerEvent(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(i){this.handlers=i}end(){this.removeListeners&&this.removeListeners(),cancelFrame(this.updatePoint)}}function transformPoint(e,i){return i?{point:i(e.point)}:e}function subtractPoint(e,i){return{x:e.x-i.x,y:e.y-i.y}}function getPanInfo({point:e},i){return{point:e,delta:subtractPoint(e,lastDevicePoint(i)),offset:subtractPoint(e,startDevicePoint(i)),velocity:getVelocity(i,.1)}}function startDevicePoint(e){return e[0]}function lastDevicePoint(e){return e[e.length-1]}function getVelocity(e,i){if(e.length<2)return{x:0,y:0};let s=e.length-1,a=null;const o=lastDevicePoint(e);for(;s>=0&&(a=e[s],!(o.timestamp-a.timestamp>secondsToMilliseconds(i)));)s--;if(!a)return{x:0,y:0};const c=millisecondsToSeconds(o.timestamp-a.timestamp);if(c===0)return{x:0,y:0};const h={x:(o.x-a.x)/c,y:(o.y-a.y)/c};return h.x===1/0&&(h.x=0),h.y===1/0&&(h.y=0),h}const SCALE_PRECISION=1e-4,SCALE_MIN=1-SCALE_PRECISION,SCALE_MAX=1+SCALE_PRECISION,TRANSLATE_PRECISION=.01,TRANSLATE_MIN=0-TRANSLATE_PRECISION,TRANSLATE_MAX=0+TRANSLATE_PRECISION;function calcLength(e){return e.max-e.min}function isNear(e,i,s){return Math.abs(e-i)<=s}function calcAxisDelta(e,i,s,a=.5){e.origin=a,e.originPoint=mixNumber$1(i.min,i.max,e.origin),e.scale=calcLength(s)/calcLength(i),e.translate=mixNumber$1(s.min,s.max,e.origin)-e.originPoint,(e.scale>=SCALE_MIN&&e.scale<=SCALE_MAX||isNaN(e.scale))&&(e.scale=1),(e.translate>=TRANSLATE_MIN&&e.translate<=TRANSLATE_MAX||isNaN(e.translate))&&(e.translate=0)}function calcBoxDelta(e,i,s,a){calcAxisDelta(e.x,i.x,s.x,a?a.originX:void 0),calcAxisDelta(e.y,i.y,s.y,a?a.originY:void 0)}function calcRelativeAxis(e,i,s){e.min=s.min+i.min,e.max=e.min+calcLength(i)}function calcRelativeBox(e,i,s){calcRelativeAxis(e.x,i.x,s.x),calcRelativeAxis(e.y,i.y,s.y)}function calcRelativeAxisPosition(e,i,s){e.min=i.min-s.min,e.max=e.min+calcLength(i)}function calcRelativePosition(e,i,s){calcRelativeAxisPosition(e.x,i.x,s.x),calcRelativeAxisPosition(e.y,i.y,s.y)}function applyConstraints(e,{min:i,max:s},a){return i!==void 0&&e<i?e=a?mixNumber$1(i,e,a.min):Math.max(e,i):s!==void 0&&e>s&&(e=a?mixNumber$1(s,e,a.max):Math.min(e,s)),e}function calcRelativeAxisConstraints(e,i,s){return{min:i!==void 0?e.min+i:void 0,max:s!==void 0?e.max+s-(e.max-e.min):void 0}}function calcRelativeConstraints(e,{top:i,left:s,bottom:a,right:o}){return{x:calcRelativeAxisConstraints(e.x,s,o),y:calcRelativeAxisConstraints(e.y,i,a)}}function calcViewportAxisConstraints(e,i){let s=i.min-e.min,a=i.max-e.max;return i.max-i.min<e.max-e.min&&([s,a]=[a,s]),{min:s,max:a}}function calcViewportConstraints(e,i){return{x:calcViewportAxisConstraints(e.x,i.x),y:calcViewportAxisConstraints(e.y,i.y)}}function calcOrigin(e,i){let s=.5;const a=calcLength(e),o=calcLength(i);return o>a?s=progress(i.min,i.max-a,e.min):a>o&&(s=progress(e.min,e.max-o,i.min)),clamp(0,1,s)}function rebaseAxisConstraints(e,i){const s={};return i.min!==void 0&&(s.min=i.min-e.min),i.max!==void 0&&(s.max=i.max-e.min),s}const defaultElastic=.35;function resolveDragElastic(e=defaultElastic){return e===!1?e=0:e===!0&&(e=defaultElastic),{x:resolveAxisElastic(e,"left","right"),y:resolveAxisElastic(e,"to
48p","bottom")}}function resolveAxisElastic(e,i,s){return{min:resolvePointElastic(e,i),max:resolvePointElastic(e,s)}}function resolvePointElastic(e,i){return typeof e=="number"?e:e[i]||0}const createAxisDelta=()=>({translate:0,scale:1,origin:0,originPoint:0}),createDelta=()=>({x:createAxisDelta(),y:createAxisDelta()}),createAxis=()=>({min:0,max:0}),createBox=()=>({x:createAxis(),y:createAxis()});function eachAxis(e){return[e("x"),e("y")]}function convertBoundingBoxToBox({top:e,left:i,right:s,bottom:a}){return{x:{min:i,max:s},y:{min:e,max:a}}}function convertBoxToBoundingBox({x:e,y:i}){return{top:i.min,right:e.max,bottom:i.max,left:e.min}}function transformBoxPoints(e,i){if(!i)return e;const s=i({x:e.left,y:e.top}),a=i({x:e.right,y:e.bottom});return{top:s.y,left:s.x,bottom:a.y,right:a.x}}function isIdentityScale(e){return e===void 0||e===1}function hasScale({scale:e,scaleX:i,scaleY:s}){return!isIdentityScale(e)||!isIdentityScale(i)||!isIdentityScale(s)}function hasTransform(e){return hasScale(e)||has2DTranslate(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function has2DTranslate(e){return is2DTranslate(e.x)||is2DTranslate(e.y)}function is2DTranslate(e){return e&&e!=="0%"}function scalePoint(e,i,s){const a=e-s,o=i*a;return s+o}function applyPointDelta(e,i,s,a,o){return o!==void 0&&(e=scalePoint(e,o,a)),scalePoint(e,s,a)+i}function applyAxisDelta(e,i=0,s=1,a,o){e.min=applyPointDelta(e.min,i,s,a,o),e.max=applyPointDelta(e.max,i,s,a,o)}function applyBoxDelta(e,{x:i,y:s}){applyAxisDelta(e.x,i.translate,i.scale,i.originPoint),applyAxisDelta(e.y,s.translate,s.scale,s.originPoint)}const TREE_SCALE_SNAP_MIN=.999999999999,TREE_SCALE_SNAP_MAX=1.0000000000001;function applyTreeDeltas(e,i,s,a=!1){const o=s.length;if(!o)return;i.x=i.y=1;let c,h;for(let d=0;d<o;d++){c=s[d],h=c.projectionDelta;const{visualElement:g}=c.options;g&&g.props.style&&g.props.style.display==="contents"||(a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&transformBox(e,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),h&&(i.x*=h.x.scale,i.y*=h.y.scale,applyBoxDelta(e,h)),a&&hasTransform(c.latestValues)&&transformBox(e,c.latestValues))}i.x<TREE_SCALE_SNAP_MAX&&i.x>TREE_SCALE_SNAP_MIN&&(i.x=1),i.y<TREE_SCALE_SNAP_MAX&&i.y>TREE_SCALE_SNAP_MIN&&(i.y=1)}function translateAxis(e,i){e.min=e.min+i,e.max=e.max+i}function transformAxis(e,i,s,a,o=.5){const c=mixNumber$1(e.min,e.max,o);applyAxisDelta(e,i,s,c,a)}function transformBox(e,i){transformAxis(e.x,i.x,i.scaleX,i.scale,i.originX),transformAxis(e.y,i.y,i.scaleY,i.scale,i.originY)}function measureViewportBox(e,i){return convertBoundingBoxToBox(transformBoxPoints(e.getBoundingClientRect(),i))}function measurePageBox(e,i,s){const a=measureViewportBox(e,s),{scroll:o}=i;return o&&(translateAxis(a.x,o.offset.x),translateAxis(a.y,o.offset.y)),a}const getContextWindow=({current:e})=>e?e.ownerDocument.defaultView:null,elementDragControls=new WeakMap;class VisualElementDragControls{constructor(i){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=createBox(),this.visualElement=i}start(i,{snapToCursor:s=!1}={}){const{presenceContext:a}=this.visualElement;if(a&&a.isPresent===!1)return;const o=j=>{const{dragSnapToOrigin:tt}=this.getProps();tt?this.pauseAnimation():this.stopAnimation(),s&&this.snapToCursor(extractEventInfo(j).point)},c=(j,tt)=>{const{drag:_,dragPropagation:nt,onDragStart:rt}=this.getProps();if(_&&!nt&&(this.openDragLock&&this.openDragLock(),this.openDragLock=setDragLock(_),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),eachAxis(ut=>{let _e=this.getAxisMotionValue(ut).get()||0;if(percent.test(_e)){const{projection:et}=this.visualElement;if(et&&et.layout){const $=et.layout.layoutBox[ut];$&&(_e=calcLength($)*(parseFloat(_e)/100))}}this.originPoint[ut]=_e}),rt&&frame.postRender(()=>rt(j,tt)),addValueToWillChange(this.visualElement,"transform");const{animationState:it}=this.visualElement;it&&it.setActive("whileDrag",!0)},h=(j,tt)=>{const{dragPropagation:_,dragDirectionLock:nt,onDirectionLock:rt,onDrag:it}=this.getProps();if(!_&&!this.openDragLock)return;const{offset:ut}=tt;if(nt&&this.currentDirection===null){this.currentDirection=getCurrentDirection(ut),this.currentDirection!==null&&rt&&rt(this.currentDirection);return}this.updateAxis("x",tt.point,ut),this.updateAxis("y",tt.point,ut),this.visualElement.render(),it&&it
vendor: 53,000 bytes, line 48
48(j,tt)},d=(j,tt)=>this.stop(j,tt),g=()=>eachAxis(j=>{var tt;return this.getAnimationState(j)==="paused"&&((tt=this.getAxisMotionValue(j).animation)===null||tt===void 0?void 0:tt.play())}),{dragSnapToOrigin:b}=this.getProps();this.panSession=new PanSession(i,{onSessionStart:o,onStart:c,onMove:h,onSessionEnd:d,resumeAnimation:g},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:b,contextWindow:getContextWindow(this.visualElement)})}stop(i,s){const a=this.isDragging;if(this.cancel(),!a)return;const{velocity:o}=s;this.startAnimation(o);const{onDragEnd:c}=this.getProps();c&&frame.postRender(()=>c(i,s))}cancel(){this.isDragging=!1;const{projection:i,animationState:s}=this.visualElement;i&&(i.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:a}=this.getProps();!a&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}updateAxis(i,s,a){const{drag:o}=this.getProps();if(!a||!shouldDrag(i,o,this.currentDirection))return;const c=this.getAxisMotionValue(i);let h=this.originPoint[i]+a[i];this.constraints&&this.constraints[i]&&(h=applyConstraints(h,this.constraints[i],this.elastic[i])),c.set(h)}resolveConstraints(){var i;const{dragConstraints:s,dragElastic:a}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(i=this.visualElement.projection)===null||i===void 0?void 0:i.layout,c=this.constraints;s&&isRefObject(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&o?this.constraints=calcRelativeConstraints(o.layoutBox,s):this.constraints=!1,this.elastic=resolveDragElastic(a),c!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&eachAxis(h=>{this.constraints!==!1&&this.getAxisMotionValue(h)&&(this.constraints[h]=rebaseAxisConstraints(o.layoutBox[h],this.constraints[h]))})}resolveRefConstraints(){const{dragConstraints:i,onMeasureDragConstraints:s}=this.getProps();if(!i||!isRefObject(i))return!1;const a=i.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const c=measurePageBox(a,o.root,this.visualElement.getTransformPagePoint());let h=calcViewportConstraints(o.layout.layoutBox,c);if(s){const d=s(convertBoxToBoundingBox(h));this.hasMutatedConstraints=!!d,d&&(h=convertBoundingBoxToBox(d))}return h}startAnimation(i){const{drag:s,dragMomentum:a,dragElastic:o,dragTransition:c,dragSnapToOrigin:h,onDragTransitionEnd:d}=this.getProps(),g=this.constraints||{},b=eachAxis(j=>{if(!shouldDrag(j,s,this.currentDirection))return;let tt=g&&g[j]||{};h&&(tt={min:0,max:0});const _=o?200:1e6,nt=o?40:1e7,rt={type:"inertia",velocity:a?i[j]:0,bounceStiffness:_,bounceDamping:nt,timeConstant:750,restDelta:1,restSpeed:10,...c,...tt};return this.startAxisValueAnimation(j,rt)});return Promise.all(b).then(d)}startAxisValueAnimation(i,s){const a=this.getAxisMotionValue(i);return addValueToWillChange(this.visualElement,i),a.start(animateMotionValue(i,a,0,s,this.visualElement,!1))}stopAnimation(){eachAxis(i=>this.getAxisMotionValue(i).stop())}pauseAnimation(){eachAxis(i=>{var s;return(s=this.getAxisMotionValue(i).animation)===null||s===void 0?void 0:s.pause()})}getAnimationState(i){var s;return(s=this.getAxisMotionValue(i).animation)===null||s===void 0?void 0:s.state}getAxisMotionValue(i){const s=`_drag${i.toUpperCase()}`,a=this.visualElement.getProps(),o=a[s];return o||this.visualElement.getValue(i,(a.initial?a.initial[i]:void 0)||0)}snapToCursor(i){eachAxis(s=>{const{drag:a}=this.getProps();if(!shouldDrag(s,a,this.currentDirection))return;const{projection:o}=this.visualElement,c=this.getAxisMotionValue(s);if(o&&o.layout){const{min:h,max:d}=o.layout.layoutBox[s];c.set(i[s]-mixNumber$1(h,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:i,dragConstraints:s}=this.getProps(),{projection:a}=this.visualElement;if(!isRefObject(s)||!a||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};eachAxis(h=>{const d=this.getAxisMotionValue(h);if(d&&this.constraints!==!1){const g=d.get();o[h]=calcOrigin({min:g,max:g},this.constraints[h])}});const{transformTemplate:c}=this.visualElement.getProps();this.visualElement.current.style.transform=c?c({},""):"none",a.root&&a.root.updateScroll(),a.updateLayout(),this.resolveConstraints(),eachAxis(h=>{if(!shouldDrag(h,i,null))return;const d=this.getAxisMotionValue(h),{min:g,max:b}=this.constraints[h];d.set(mixNumber$1(g,b,o[h]))})}addListeners(){if(!this.visualElement.current)return;elementDragControls.set(this.visualElement,this);const i=this.visualElement.current,s=addPointerEvent(i,"pointerdown",g=>{const{drag:b,dragListener:j=!0}=this.getProps();b&&j&&this.start(g)}),a=()=>{const{dragConstraints:g}=this.getProps();isRefObject(g)&&g.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,c=o.addEventListener("measure",a);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),frame.read(a);const h=addDomEvent(window,"resize",()=>this.scalePositionWithinConstraints()),d=o.addEventListener("didUpdate",({delta:g,hasLayoutChanged:b})=>{this.isDragging&&b&&(eachAxis(j=>{const tt=this.getAxisMotionValue(j);tt&&(this.originPoint[j]+=g[j].translate,tt.set(tt.get()+g[j].translate))}),this.visualElement.render())});return()=>{h(),s(),c(),d&&d()}}getProps(){const i=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:a=!1,dragPropagation:o=!1,dragConstraints:c=!1,dragElastic:h=defaultElastic,dragMomentum:d=!0}=i;return{...i,drag:s,dragDirectionLock:a,dragPropagation:o,dragConstraints:c,dragElastic:h,dragMomentum:d}}}function shouldDrag(e,i,s){return(i===!0||i===e)&&(s===null||s===e)}function getCurrentDirection(e,i=10){let s=null;return Math.abs(e.y)>i?s="y":Math.abs(e.x)>i&&(s="x"),s}class DragGesture extends Feature{constructor(i){super(i),this.removeGroupControls=noop,this.removeListeners=noop,this.controls=new VisualElementDragControls(i)}mount(){const{dragControls:i}=this.node.getProps();i&&(this.removeGroupControls=i.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||noop}unmount(){this.removeGroupControls(),this.removeListeners()}}const asyncHandler=e=>(i,s)=>{e&&frame.postRender(()=>e(i,s))};class PanGesture extends Feature{constructor(){super(...arguments),this.removePointerDownListener=noop}onPointerDown(i){this.session=new PanSession(i,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:getContextWindow(this.node)})}createPanHandlers(){const{onPanSessionStart:i,onPanStart:s,onPan:a,onPanEnd:o}=this.node.getProps();return{onSessionStart:asyncHandler(i),onStart:asyncHandler(s),onMove:a,onEnd:(c,h)=>{delete this.session,o&&frame.postRender(()=>o(c,h))}}}mount(){this.removePointerDownListener=addPointerEvent(this.node.current,"pointerdown",i=>this.onPointerDown(i))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const globalProjectionState={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function pixelsToPercent(e,i){return i.max===i.min?0:e/(i.max-i.min)*100}const correctBorderRadius={correct:(e,i)=>{if(!i.target)return e;if(typeof e=="string")if(px.test(e))e=parseFloat(e);else return e;const s=pixelsToPercent(e,i.target.x),a=pixelsToPercent(e,i.target.y);return`${s}% ${a}%`}},correctBoxShadow={correct:(e,{treeScale:i,projectionDelta:s})=>{const a=e,o=complex.parse(e);if(o.length>5)return a;const c=complex.createTransformer(e),h=typeof o[0]!="number"?1:0,d=s.x.scale*i.x,g=s.y.scale*i.y;o[0+h]/=d,o[1+h]/=g;const b=mixNumber$1(d,g,.5);return typeof o[2+h]=="number"&&(o[2+h]/=b),typeof o[3+h]=="number"&&(o[3+h]/=b),c(o)}};class MeasureLayoutWithContext extends reactExports.Component{componentDidMount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:a,layoutId:o}=this.props,{projection:c}=i;addScaleCorrector(defaultScaleCorrectors),c&&(s.group&&s.group.add(c),a&&a.register&&o&&a.register(c),c.root.didUpdate(),c.addEventListener("animationComplete",()=>{this.safeToRemove()}),c.setOptions({...c.options,onExitComplete:()=>this.safeToRemove()})),globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(i){const{layoutDependency:s,visualElement:a,drag:o,isPresent:c}=this.props,h=a.projection;return h&&(h.isPresent=c,o||i.layoutDependency!==s||s===void 0?h.willUpdate():this.safeToRemove(),i.isPresent!==c&&(c?h.promote():h.relegate()||frame.postRender(()=>{const d=h.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:i}=this.props.visualElement;i&&(i.root.didUpdate(),microtask.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:i,layoutGroup:s,switchLayoutGroup:a}=this.props,{projection:o}=i;o&&(o.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(o),a&&a.deregister&&a.deregister(o))}safeToRemove(){const{safeToRemove:i}=this.props;i&&i()}render(){return null}}function MeasureLayout(e){const[i,s]=usePresence(),a=reactExports.useContext(LayoutGroupContext);return jsxRuntimeExports.jsx(MeasureLayoutWithContext,{...e,layoutGroup:a,switchLayoutGroup:reactExports.useContext(SwitchLayoutGroupContext),isPresent:i,safeToRemove:s})}const defaultScaleCorrectors={borderRadius:{...correctBorderRadius,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:correctBorderRadius,borderTopRightRadius:correctBorderRadius,borderBottomLeftRadius:correctBorderRadius,borderBottomRightRadius:correctBorderRadius,boxShadow:correctBoxShadow};function animateSingleValue(e,i,s){const a=isMotionValue(e)?e:motionValue(e);return a.start(animateMotionValue("",a,i,s)),a.animation}function isSVGElement(e){return e instanceof SVGElement&&e.tagName!=="svg"}const compareByDepth=(e,i)=>e.depth-i.depth;class FlatTree{constructor(){this.children=[],this.isDirty=!1}add(i){addUniqueItem(this.children,i),this.isDirty=!0}remove(i){removeItem(this.children,i),this.isDirty=!0}forEach(i){this.isDirty&&this.children.sort(compareByDepth),this.isDirty=!1,this.children.forEach(i)}}function delay(e,i){const s=time.now(),a=({timestamp:o})=>{const c=o-s;c>=i&&(cancelFrame(a),e(c-i))};return frame.read(a,!0),()=>cancelFrame(a)}const borders=["TopLeft","TopRight","BottomLeft","BottomRight"],numBorders=borders.length,asNumber=e=>typeof e=="string"?parseFloat(e):e,isPx=e=>typeof e=="number"||px.test(e);function mixValues(e,i,s,a,o,c){o?(e.opacity=mixNumber$1(0,s.opacity!==void 0?s.opacity:1,easeCrossfadeIn(a)),e.opacityExit=mixNumber$1(i.opacity!==void 0?i.opacity:1,0,easeCrossfadeOut(a))):c&&(e.opacity=mixNumber$1(i.opacity!==void 0?i.opacity:1,s.opacity!==void 0?s.opacity:1,a));for(let h=0;h<numBorders;h++){const d=`border${borders[h]}Radius`;let g=getRadius(i,d),b=getRadius(s,d);if(g===void 0&&b===void 0)continue;g||(g=0),b||(b=0),g===0||b===0||isPx(g)===isPx(b)?(e[d]=Math.max(mixNumber$1(asNumber(g),asNumber(b),a),0),(percent.test(b)||percent.test(g))&&(e[d]+="%")):e[d]=b}(i.rotate||s.rotate)&&(e.rotate=mixNumber$1(i.rotate||0,s.rotate||0,a))}function getRadius(e,i){return e[i]!==void 0?e[i]:e.borderRadius}const easeCrossfadeIn=compress(0,.5,circOut),easeCrossfadeOut=compress(.5,.95,noop);function compress(e,i,s){return a=>a<e?0:a>i?1:s(progress(e,i,a))}function copyAxisInto(e,i){e.min=i.min,e.max=i.max}function copyBoxInto(e,i){copyAxisInto(e.x,i.x),copyAxisInto(e.y,i.y)}function copyAxisDeltaInto(e,i){e.translate=i.translate,e.scale=i.scale,e.originPoint=i.originPoint,e.origin=i.origin}function removePointDelta(e,i,s,a,o){return e-=i,e=scalePoint(e,1/s,a),o!==void 0&&(e=scalePoint(e,1/o,a)),e}function removeAxisDelta(e,i=0,s=1,a=.5,o,c=e,h=e){if(percent.test(i)&&(i=parseFloat(i),i=mixNumber$1(h.min,h.max,i/100)-h.min),typeof i!="number")return;let d=mixNumber$1(c.min,c.max,a);e===c&&(d-=i),e.min=removePointDelta(e.min,i,s,d,o),e.max=removePointDelta(e.max,i,s,d,o)}function removeAxisTransforms(e,i,[s,a,o],c,h){removeAxisDelta(e,i[s],i[a],i[o],i.scale,c,h)}const xKeys=["x","scaleX","originX"],yKeys=["y","scaleY","originY"];function removeBoxTransforms(e,i,s,a){removeAxisTransforms(e.x,i,xKeys,s?s.x:void 0,a?a.x:void 0),removeAxisTransforms(e.y,i,yKeys,s?s.y:void 0,a?a.y:void 0)}function isAxisDeltaZero(e){return e.translate===0&&e.scale===1}function isDeltaZero(e){return isAxisDeltaZero(e.x)&&isAxisDeltaZero(e.y)}function axisEquals(e,i){return e.min===i.min&&e.max===i.max}function boxEquals(e,i){return axisEquals(e.x,i.x)&&axisEquals(e.y,i.y)}function axisEqualsRounded(e,i){return Math.round(e.min)===Math.round(i.min)&&Math.round(e.max)===Math.round(i.max)}function boxEqualsRounded(e,i){return axisEqualsRounded(e.x,i.x)&&axisEqualsRounded(e.y,i.y)}function aspectRatio(e){return calcLength(e.x)/calcLength(e.y)}function axisDeltaEquals(e,i){return e.translate===i.translate&&e.scale===i.scale&&e.originPoint===i.originPoint}class NodeStack{constructor(){this.members=[]}add(i){addUniqueItem(this.members,i),i.scheduleRender()}remove(i){if(removeItem(this.members,i),i===this.prevLead&&(this.prevLead=void 0),i===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(i){const s=this.members.findIndex(o=>i===o);if(s===0)return!1;let a;for(let o=s;o>=0;o--){const c=this.members[o];if(c.isPresent!==!1){a=c;break}}return a?(this.promote(a),!0):!1}promote(i,s){const a=this.lead;if(i!==a&&(this.prevLead=a,this.lead=i,i.show(),a)){a.instance&&a.scheduleRender(),i.scheduleRender(),i.resumeFrom=a,s&&(i.resumeFrom.preserveOpacity=!0),a.snapshot&&(i.snapshot=a.snapshot,i.snapshot.latestValues=a.animationValues||a.latestValues),i.root&&i.root.isUpdating&&(i.isLayoutDirty=!0);const{crossfade:o}=i.options;o===!1&&a.hide()}}exitAnimationComplete(){this.members.forEach(i=>{const{options:s,resumingFrom:a}=i;s.onExitComplete&&s.onExitComplete(),a&&a.options.onExitComplete&&a.options.onExitComplete()})}scheduleRender(){this.members.forEach(i=>{i.instance&&i.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function buildProjectionTransform(e,i,s){let a="";const o=e.x.translate/i.x,c=e.y.translate/i.y,h=(s==null?void 0:s.z)||0;if((o||c||h)&&(a=`translate3d(${o}px, ${c}px, ${h}px) `),(i.x!==1||i.y!==1)&&(a+=`scale(${1/i.x}, ${1/i.y}) `),s){const{transformPerspective:b,rotate:j,rotateX:tt,rotateY:_,skewX:nt,skewY:rt}=s;b&&(a=`perspective(${b}px) ${a}`),j&&(a+=`rotate(${j}deg) `),tt&&(a+=`rotateX(${tt}deg) `),_&&(a+=`rotateY(${_}deg) `),nt&&(a+=`skewX(${nt}deg) `),rt&&(a+=`skewY(${rt}deg) `)}const d=e.x.scale*i.x,g=e.y.scale*i.y;return(d!==1||g!==1)&&(a+=`scale(${d}, ${g})`),a||"none"}const metrics={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},isDebug=typeof window<"u"&&window.MotionDebug!==void 0,transformAxes=["","X","Y","Z"],hiddenVisibility={visibility:"hidden"},animationTarget=1e3;let id=0;function resetDistortingTransform(e,i,s,a){const{latestValues:o}=i;o[e]&&(s[e]=o[e],i.setStaticValue(e,0),a&&(a[e]=0))}function cancelTreeOptimisedTransformAnimations(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:i}=e.options;if(!i)return;const s=getOptimisedAppearId(i);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:o,layoutId:c}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",frame,!(o||c))}const{parent:a}=e;a&&!a.hasCheckedOptimisedAppear&&cancelTreeOptimisedTransformAnimations(a)}function createProjectionNode({attachResizeListener:e,defaultParent:i,measureScroll:s,checkIsScrollRoot:a,resetTransform:o}){return class{constructor(h={},d=i==null?void 0:i()){this.id=id++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,isDebug&&(metrics.totalNodes=metrics.resolvedTargetDeltas=metrics.recalculatedProjection=0),this.nodes.forEach(propagateDirtyNodes),this.nodes.forEach(resolveTargetDelta),this.nodes.forEach(calcProjection),this.nodes.forEach(cleanDirtyNodes),isDebug&&window.MotionDebug.record(metrics)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=h,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let g=0;g<this.path.length;g++)this.path[g].shouldResetTransform=!0;this.root===this&&(this.nodes=new FlatTree)}addEventListener(h,d){return this.eventHandlers.has(h)||this.eventHandlers.set(h,new SubscriptionManager),this.eventHandlers.get(h).add(d)}notifyListeners(h,...d){const g=this.eventHandlers.get(h);g&&g.notify(...d)}hasListeners(h){return this.eventHandlers.has(h)}mount(h,d=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=isSVGElement(h),this.instance=h;const{layoutId:g,layout:b,visualElement:j}=this.options;if(j&&!j.current&&j.mount(h),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),d&&(b||g)&&(this.isLayoutDirty=!0),e){let tt;const _=()=>this.root.updateBlockedByResize=!1;e(h,()=>{this.root.updateBlockedByResize=!0,tt&&tt(),tt=delay(_,250),globalProjectionState.hasAnimatedSinceResize&&(globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(finishAnimation))})}g&&this.root.registerSharedNode(g,this),this.options.animate!==!1&&j&&(g||b)&&this.addEventListener("didUpdate",({delta:tt,hasLayoutChanged:_,hasRelativeTargetChanged:nt,layout:rt})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const it=this.options.transition||j.getDefaultTransition()||defaultLayoutTransition,{onLayoutAnimationStart:ut,onLayoutAnimationComplete:_e}=j.getProps(),et=!this.targetLayout||!boxEqualsRounded(this.targetLayout,rt)||nt,$=!_&&nt;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||$||_&&(et||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(tt,$);const st={...getValueTransition(it,"layout"),onPlay:ut,onComplete:_e};(j.shouldReduceMotion||this.options.layoutRoot)&&(st.delay=0,st.type=!1),this.startAnimation(st)}else _||finishAnimation(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=rt})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const h=this.getStack();h&&h.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,cancelFrame(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(resetSkewAndRotation),this.animationId++)}getTransformTemplate(){const{visualElement:h}=this.options;return h&&h.getProps().transformTemplate}willUpdate(h=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&cancelTreeOptimisedTransformAnimations(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let j=0;j<this.path.length;j++){const tt=this.path[j];tt.shouldResetTransform=!0,tt.updateScroll("snapshot"),tt.options.layoutRoot&&tt.willUpdate(!1)}const{layoutId:d,layout:g}=this.options;if(d===void 0&&!g)return;const b=this.getTransformTemplate();this.prevTransformTemplateValue=b?b(this.latestValues,""):void 0,this.updateSnapshot(),h&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(clearMeasurements);return}this.isUpdating||this.nodes.forEach(clearIsLayoutDirty),this.isUpdating=!1,this.nodes.forEach(resetTransformStyle),this.nodes.forEach(updateLayout),this.nodes.forEach(notifyLayoutUpdate),this.clearAllSnapshots();const d=time.now();frameData.delta=clamp(0,1e3/60,d-frameData.timestamp),frameData.timestamp=d,frameData.isProcessing=!0,frameSteps.update.process(frameData),frameSteps.preRender.process(frameData),frameSteps.render.process(frameData),frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(clearSnapshot),this.sharedNodes.forEach(removeLeadSnapshots)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let g=0;g<this.path.length;g++)this.path[g].updateScroll();const h=this.layout;this.layout=this.measure(!1),this.layoutCorrected=createBox(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,h?h.layoutBox:void 0)}updateScroll(h="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===h&&(d=!1),d){const g=a(this.instance);this.scroll={animationId:this.root.animationId,phase:h,isRoot:g,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:g}}}resetTransform(){if(!o)return;const h=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!isDeltaZero(this.projectionDelta),g=this.getTransformTemplate(),b=g?g(this.latestValues,""):void 0,j=b!==this.prevTransformTemplateValue;h&&(d||hasTransform(this.latestValues)||j)&&(o(this.instance,b),this.shouldResetTransform=!1,this.scheduleRender())}measure(h=!0){const d=this.measurePageBox();let g=this.removeElementScroll(d);return h&&(g=this.removeTransform(g)),roundBox(g),{animationId:this.root.animationId,measuredBox:d,layoutBox:g,latestValues:{},source:this.id}}measurePageBox(){var h;const{visualElement:d}=this.options;if(!d)return createBox();const g=d.measureViewportBox();if(!(((h=this.scroll)===null||h===void 0?void 0:h.wasRoot)||this.path.some(checkNodeWasScrollRoot))){const{scroll:j}=this.root;j&&(translateAxis(g.x,j.offset.x),translateAxis(g.y,j.offset.y))}return g}removeElementScroll(h){var d;const g=createBox();if(copyBoxInto(g,h),!((d=this.scroll)===null||d===void 0)&&d.wasRoot)return g;for(let b=0;b<this.path.length;b++){const j=this.path[b],{scroll:tt,options:_}=j;j!==this.root&&tt&&_.layoutScroll&&(tt.wasRoot&©BoxInto(g,h),translateAxis(g.x,tt.offset.x),translateAxis(g.y,tt.offset.y))}return g}applyTransform(h,d=!1){const g=createBox();copyBoxInto(g,h);for(let b=0;b<this.path.length;b++){const j=this.path[b];!d&&j.options.layoutScroll&&j.scroll&&j!==j.root&&transformBox(g,{x:-j.scroll.offset.x,y:-j.scroll.offset.y}),hasTransform(j.latestValues)&&transformBox(g,j.latestValues)}return hasTransform(this.latestValues)&&transformBox(g,this.latestValues),g}removeTransform(h){const d=createBox();copyBoxInto(d,h);for(let g=0;g<this.path.length;g++){const b=this.path[g];if(!b.instance||!hasTransform(b.latestValues))continue;hasScale(b.latestValues)&&b.updateSnapshot();const j=createBox(),tt=b.measurePageBox();copyBoxInto(j,tt),removeBoxTransforms(d,b.latestValues,b.snapshot?b.snapshot.layoutBox:void 0,j)}return hasTransform(this.latestValues)&&removeBoxTransforms(d,this.latestValues),d}setTargetDelta(h){this.targetDelta=h,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(h){this.options={...this.options,...h,crossfade:h.crossfade!==void 0?h.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(h=!1){var d;const g=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=g.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=g.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=g.isSharedProjectionDirty);const b=!!this.resumingFrom||this!==g;if(!(h||b&&this.isSharedProjectionDirty||this.isProjectionDirty||!((d=this.parent)===null||d===void 0)&&d.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:tt,layoutId:_}=this.options;if(!(!this.layout||!(tt||_))){if(this.resolvedRelativeTargetAt=frameData.timestamp,!this.targetDelta&&!this.relativeTarget){const nt=this.getClosestProjectingParent();nt&&nt.layout&&this.animationProgress!==1?(this.relativeParent=nt,this.forceRelativeParentToResolveTarget(),this.relativeTarget=createBox(),this.relativeTargetOrigin=createBox(),calcRelativePosition(this.relativeTargetOrigin,this.layout.layoutBox,nt.layout.layoutBox),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=createBox(),this.targetWithTransforms=createBox()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),calcRelativeBox(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):copyBoxInto(this.target,this.layout.layoutBox),applyBoxDelta(this.target,this.targetDelta)):copyBoxInto(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const nt=this.getClosestProjectingParent();nt&&!!nt.resumingFrom==!!this.resumingFrom&&!nt.options.layoutScroll&&nt.target&&this.animationProgress!==1?(this.relativeParent=nt,this.forceRelativeParentToResolveTarget(),this.relativeTarget=createBox(),this.relativeTargetOrigin=createBox(),calcRelativePosition(this.relativeTargetOrigin,this.target,nt.target),copyBoxInto(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}isDebug&&metrics.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||hasScale(this.parent.latestValues)||has2DTranslate(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var h;const d=this.getLead(),g=!!this.resumingFrom||this!==d;let b=!0;if((this.isProjectionDirty||!((h=this.parent)===null||h===void 0)&&h.isProjectionDirty)&&(b=!1),g&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(b=!1),this.resolvedRelativeTargetAt===frameData.timestamp&&(b=!1),b)return;const{layout:j,layoutId:tt}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(j||tt))return;copyBoxInto(this.layoutCorrected,this.layout.layoutBox);const _=this.treeScale.x,nt=this.treeScale.y;applyTreeDeltas(this.layoutCorrected,this.treeScale,this.path,g),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=createBox());const{target:rt}=d;if(!rt){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(copyAxisDeltaInto(this.prevProjectionDelta.x,this.projectionDelta.x),copyAxisDeltaInto(this.prevProjectionDelta.y,this.projectionDelta.y)),calcBoxDelta(this.projectionDelta,this.layoutCorrected,rt,this.latestValues),(this.treeScale.x!==_||this.treeScale.y!==nt||!axisDeltaEquals(this.projectionDelta.x,this.prevProjectionDelta.x)||!axisDeltaEquals(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",rt)),isDebug&&metrics.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(h=!0){var d;if((d=this.options.visualElement)===null||d===void 0||d.scheduleRender(),h){const g=this.getStack();g&&g.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=createDelta(),this.projectionDelta=createDelta(),this.projectionDeltaWithTransform=createDelta()}setAnimationOrigin(h,d=!1){const g=this.snapshot,b=g?g.latestValues:{},j={...this.latestValues},tt=createDelta();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const _=createBox(),nt=g?g.source:void 0,rt=this.layout?this.layout.source:void 0,it=nt!==rt,ut=this.getStack(),_e=!ut||ut.members.length<=1,et=!!(it&&!_e&&this.options.crossfade===!0&&!this.path.some(hasOpacityCrossfade));this.animationProgress=0;let $;this.mixTargetDelta=st=>{const ot=st/1e3;mixAxisDelta(tt.x,h.x,ot),mixAxisDelta(tt.y,h.y,ot),this.setTargetDelta(tt),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(calcRelativePosition(_,this.layout.layoutBox,this.relativeParent.layout.layoutBox),mixBox(this.relativeTarget,this.relativeTargetOrigin,_,ot),$&&boxEquals(this.relativeTarget,$)&&(this.isProjectionDirty=!1),$||($=createBox()),copyBoxInto($,this.relativeTarget)),it&&(this.animationValues=j,mixValues(j,b,this.latestValues,ot,et,_e)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=ot},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(h){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(cancelFrame(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=frame.update(()=>{globalProjectionState.hasAnimatedSinceResize=!0,this.currentAnimation=animateSingleValue(0,animationTarget,{...h,onUpdate:d=>{this.mixTargetDelta(d),h.onUpdate&&h.onUpdate(d)},onComplete:()=>{h.onComplete&&h.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const h=this.getStack();h&&h.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(animationTarget),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const h=this.getLead();let{targetWithTransforms:d,target:g,layout:b,latestValues:j}=h;if(!(!d||!g||!b)){if(this!==h&&this.layout&&b&&shouldAnimatePositionOnly(this.options.animationType,this.layout.layoutBox,b.layoutBox)){g=this.target||createBox();const tt=calcLength(this.layout.layoutBox.x);g.x.min=h.target.x.min,g.x.max=g.x.min+tt;const _=calcLength(this.layout.layoutBox.y);g.y.min=h.target.y.min,g.y.max=g.y.min+_}copyBoxInto(d,g),transformBox(d,j),calcBoxDelta(this.projectionDeltaWithTransform,this.layoutCorrected,d,j)}}registerSharedNode(h,d){this.sharedNodes.has(h)||this.sharedNodes.set(h,new NodeStack),this.sharedNodes.get(h).add(d);const b=d.options.initialPromotionConfig;d.promote({transition:b?b.transition:void 0,preserveFollowOpacity:b&&b.shouldPreserveFollowOpacity?b.shouldPreserveFollowOpacity(d):void 0})}isLead(){const h=this.getStack();return h?h.lead===this:!0}getLead(){var h;const{layoutId:d}=this.options;return d?((h=this.getStack())===null||h===void 0?void 0:h.lead)||this:this}getPrevLead(){var h;const{layoutId:d}=this.options;return d?(h=this.getStack())===null||h===void 0?void 0:h.prevLead:void 0}getStack(){const{layoutId:h}=this.options;if(h)return this.root.sharedNodes.get(h)}promote({needsReset:h,transition:d,preserveFollowOpacity:g}={}){const b=this.getStack();b&&b.promote(this,g),h&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const h=this.getStack();return h?h.relegate(this):!1}resetSkewAndRotation(){const{visualElement:h}=this.options;if(!h)return;let d=!1;const{latestValues:g}=h;if((g.z||g.rotate||g.rotateX||g.rotateY||g.rotateZ||g.skewX||g.skewY)&&(d=!0),!d)return;const b={};g.z&&resetDistortingTransform("z",h,b,this.animationValues);for(let j=0;j<transformAxes.length;j++)resetDistortingTransform(`rotate${transformAxes[j]}`,h,b,this.animationValues),resetDistortingTransform(`skew${transformAxes[j]}`,h,b,this.animationValues);h.render();for(const j in b)h.setStaticValue(j,b[j]),this.animationValues&&(this.animationValues[j]=b[j]);h.scheduleRender()}getProjectionStyles(h){var d,g;if(!this.instance||this.isSVG)return;if(!this.isVisible)return hiddenVisibility;const b={visibility:""},j=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,b.opacity="",b.pointerEvents=resolveMotionValue(h==null?void 0:h.pointerEvents)||"",b.transform=j?j(this.latestValues,""):"none",b;const tt=this.getLead();if(!this.projectionDelta||!this.layout||!tt.target){const it={};return this.options.layoutId&&(it.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,it.pointerEvents=resolveMotionValue(h==null?void 0:h.pointerEvents)||""),this.hasProjected&&!hasTransform(this.latestValues)&&(it.transform=j?j({},""):"none",this.hasProjected=!1),it}const _=tt.animationValues||tt.latestValues;this.applyTransformsToTarget(),b.transform=buildProjectionTransform(this.projectionDeltaWithTransform,this.treeScale,_),j&&(b.transform=j(_,b.transform));const{x:nt,y:rt}=this.projectionDelta;b.transformOrigin=`${nt.origin*100}% ${rt.origin*100}% 0`,tt.animationValues?b.opacity=tt===this?(g=(d=_.opacity)!==null&&d!==void 0?d:this.latestValues.opacity)!==null&&g!==void 0?g:1:this.preserveOpacity?this.latestValues.opacity:_.opacityExit:b.opacity=tt===this?_.opacity!==void 0?_.opacity:"":_.opacityExit!==void 0?_.opacityExit:0;for(const it in scaleCorrectors){if(_[it]===void 0)continue;const{correct:ut,applyTo:_e}=scaleCorrectors[it],et=b.transform==="none"?_[it]:ut(_[it],tt);if(_e){const $=_e.length;for(let st=0;st<$;st++)b[_e[st]]=et}else b[it]=et}return this.options.layoutId&&(b.pointerEvents=tt===this?resolveMotionValue(h==null?void 0:h.pointerEvents)||"":"none"),b}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(h=>{var d;return(d=h.currentAnimation)===null||d===void 0?void 0:d.stop()}),this.root.nodes.forEach(clearMeasurements),this.root.sharedNodes.clear()}}}function updateLayout(e){e.updateLayout()}function notifyLayoutUpdate(e){var i;const s=((i=e.resumeFrom)===null||i===void 0?void 0:i.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&s&&e.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:o}=e.layout,{animationType:c}=e.options,h=s.source!==e.layout.source;c==="size"?eachAxis(tt=>{const _=h?s.measuredBox[tt]:s.layoutBox[tt],nt=calcLength(_);_.min=a[tt].min,_.max=_.min+nt}):shouldAnimatePositionOnly(c,s.layoutBox,a)&&eachAxis(tt=>{const _=h?s.measuredBox[tt]:s.layoutBox[tt],nt=calcLength(a[tt]);_.max=_.min+nt,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[tt].max=e.relativeTarget[tt].min+nt)});const d=createDelta();calcBoxDelta(d,a,s.layoutBox);const g=createDelta();h?calcBoxDelta(g,e.applyTransform(o,!0),s.measuredBox):calcBoxDelta(g,a,s.layoutBox);const b=!isDeltaZero(d);let j=!1;if(!e.resumeFrom){const tt=e.getClosestProjectingParent();if(tt&&!tt.resumeFrom){const{snapshot:_,layout:nt}=tt;if(_&&nt){const rt=createBox();calcRelativePosition(rt,s.layoutBox,_.layoutBox);const it=createBox();calcRelativePosition(it,a,nt.layoutBox),boxEqualsRounded(rt,it)||(j=!0),tt.options.layoutRoot&&(e.relativeTarget=it,e.relativeTargetOrigin=rt,e.relativeParent=tt)}}}e.notifyListeners("didUpdate",{layout:a,snapshot:s,delta:g,layoutDelta:d,hasLayoutChanged:b,hasRelativeTargetChanged:j})}else if(e.isLead()){const{onExitComplete:a}=e.options;a&&a()}e.options.transition=void 0}function propagateDirtyNodes(e){isDebug&&metrics.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function cleanDirtyNodes(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function clearSnapshot(e){e.clearSnapshot()}function clearMeasurements(e){e.clearMeasurements()}function clearIsLayoutDirty(e){e.isLayoutDirty=!1}function resetTransformStyle(e){const{visualElement:i}=e.options;i&&i.getProps().onBeforeLayoutMeasure&&i.notify("BeforeLayoutMeasure"),e.resetTransform()}function finishAnimation(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function resolveTargetDelta(e){e.resolveTargetDelta()}function calcProjection(e){e.calcProjection()}function resetSkewAndRotation(e){e.resetSkewAndRotation()}function removeLeadSnapshots(e){e.removeLeadSnapshot()}function mixAxisDelta(e,i,s){e.translate=mixNumber$1(i.translate,0,s),e.scale=mixNumber$1(i.scale,1,s),e.origin=i.origin,e.originPoint=i.originPoint}function mixAxis(e,i,s,a){e.min=mixNumber$1(i.min,s.min,a),e.max=mixNumber$1(i.max,s.max,a)}function mixBox(e,i,s,a){mixAxis(e.x,i.x,s.x,a),mixAxis(e.y,i.y,s.y,a)}function hasOpacityCrossfade(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const defaultLayoutTransition={duration:.45,ease:[.4,0,.1,1]},userAgentContains=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),roundPoint=userAgentContains("applewebkit/")&&!userAgentContains("chrome/")?Math.round:noop;function roundAxis(e){e.min=roundPoint(e.min),e.max=roundPoint(e.max)}function roundBox(e){roundAxis(e.x),roundAxis(e.y)}function shouldAnimatePositionOnly(e,i,s){return e==="position"||e==="preserve-aspect"&&!isNear(aspectRatio(i),aspectRatio(s),.2)}function checkNodeWasScrollRoot(e){var i;return e!==e.root&&((i=e.scroll)===null||i===void 0?void 0:i.wasRoot)}const DocumentProjectionNode=createProjectionNode({attachResizeListener:(e,i)=>addDomEvent(e,"resize",i),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rootProjectionNode={current:void 0},HTMLProjectionNode=createProjectionNode({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!rootProjectionNode.current){const e=new DocumentProjectionNode({});e.mount(window),e.setOptions({layoutScroll:!0}),rootProjectionNode.current=e}return rootProjectionNode.current},resetTransform:(e,i)=>{e.style.transform=i!==void 0?i:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),drag={pan:{Feature:PanGesture},drag:{Feature:DragGesture,ProjectionNode:HTMLProjectionNode,MeasureLayout}};function handleHoverEvent(e,i,s){const{props:a}=e;e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",s==="Start");const o="onHover"+s,c=a[o];c&&frame.postRender(()=>c(i,extractEventInfo(i)))}class HoverGesture extends Feature{mount(){const{current:i}=this.node;i&&(this.unmount=hover(i,s=>(handleHoverEvent(this.node,s,"Start"),a=>handleHoverEvent(this.node,a,"End"))))}unmount(){}}class FocusGesture extends Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let i=!1;try{i=this.node.current.matches(":focus-visible")}catch{i=!0}!i||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=pipe(addDomEvent(this.node.current,"focus",()=>this.onFocus()),addDomEvent(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function handlePressEvent(e,i,s){const{props:a}=e;e.animationState&&a.whileTap&&e.animationState.setActive("whileTap",s==="Start");const o="onTap"+(s==="End"?"":s),c=a[o];c&&frame.postRender(()=>c(i,extractEventInfo(i)))}class PressGesture extends Feature{mount(){const{current:i}=this.node;i&&(this.unmount=press(i,s=>(handlePressEvent(this.node,s,"Start"),(a,{success:o})=>handlePressEvent(this.node,a,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const observerCallbacks=new WeakMap,observers=new WeakMap,fireObserverCallback=e=>{const i=observerCallbacks.get(e.target);i&&i(e)},fireAllObserverCallbacks=e=>{e.forEach(fireObserverCallback)};function initIntersectionObserver({root:e,...i}){const s=e||document;observers.has(s)||observers.set(s,{});const a=observers.get(s),o=JSON.stringify(i);return a[o]||(a[o]=new IntersectionObserver(fireAllObserverCallbacks,{root:e,...i})),a[o]}function observeIntersection(e,i,s){const a=initIntersectionObserver(i);return observerCallbacks.set(e,s),a.observe(e),()=>{observerCallbacks.delete(e),a.unobserve(e)}}const thresholdNames={some:0,all:1};class InViewFeature extends Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:i={}}=this.node.getProps(),{root:s,margin:a,amount:o="some",once:c}=i,h={root:s?s.current:void 0,rootMargin:a,threshold:typeof o=="number"?o:thresholdNames[o]},d=g=>{const{isIntersecting:b}=g;if(this.isInView===b||(this.isInView=b,c&&!b&&this.hasEnteredView))return;b&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",b);const{onViewportEnter:j,onViewportLeave:tt}=this.node.getProps(),_=b?j:tt;_&&_(g)};return observeIntersection(this.node.current,h,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:i,prevProps:s}=this.node;["amount","margin","root"].some(hasViewportOptionChanged(i,s))&&this.startObserver()}unmount(){}}function hasViewportOptionChanged({viewport:e={}},{viewport:i={}}={}){return s=>e[s]!==i[s]}const gestureAnimations={inView:{Feature:InViewFeature},tap:{Feature:PressGesture},focus:{Feature:FocusGesture},hover:{Feature:HoverGesture}},layout={layout:{ProjectionNode:HTMLProjectionNode,MeasureLayout}},prefersReducedMotion={current:null},hasReducedMotionListener={current:!1};function initPrefersReducedMotion(){if(hasReducedMotionListener.current=!0,!!isBrowser)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),i=()=>prefersReducedMotion.current=e.matches;e.addListener(i),i()}else prefersReducedMotion.current=!1}const valueTypes=[...dimensionValueTypes,color,complex],findValueType=e=>valueTypes.find(testValueType(e)),visualElementStore=new WeakMap;function updateMotionValuesFromProps(e,i,s){for(const a in i){const o=i[a],c=s[a];if(isMotionValue(o))e.addValue(a,o);else if(isMotionValue(c))e.addValue(a,motionValue(o,{owner:e}));else if(c!==o)if(e.hasValue(a)){const h=e.getValue(a);h.liveStyle===!0?h.jump(o):h.hasAnimated||h.set(o)}else{const h=e.getStaticValue(a);e.addValue(a,motionValue(h!==void 0?h:o,{owner:e}))}}for(const a in s)i[a]===void 0&&e.removeValue(a);return i}const propEventHandlers=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class VisualElement{scrapeMotionValuesFromProps(i,s,a){return{}}constructor({parent:i,props:s,presenceContext:a,reducedMotionConfig:o,blockInitialAnimation:c,visualState:h},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=KeyframeResolver,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const nt=time.now();this.renderScheduledAt<nt&&(this.renderScheduledAt=nt,frame.render(this.render,!1,!0))};const{latestValues:g,renderState:b,onUpdate:j}=h;this.onUpdate=j,this.latestValues=g,this.baseTarget={...g},this.initialValues=s.initial?{...g}:{},this.renderState=b,this.parent=i,this.props=s,this.presenceContext=a,this.depth=i?i.depth+1:0,this.reducedMotionConfig=o,this.options=d,this.blockInitialAnimation=!!c,this.isControllingVariants=isControllingVariants(s),this.isVariantNode=isVariantNode(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(i&&i.current);const{willChange:tt,..._}=this.scrapeMotionValuesFromProps(s,{},this);for(const nt in _){const rt=_[nt];g[nt]!==void 0&&isMotionValue(rt)&&rt.set(g[nt],!1)}}mount(i){this.current=i,visualElementStore.set(i,this),this.projection&&!this.projection.instance&&this.projection.mount(i),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,a)=>this.bindToMotionValue(a,s)),hasReducedMotionListener.current||initPrefersReducedMotion(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:prefersReducedMotion.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){visualElementStore.delete(this.current),this.projection&&this.projection.unmount(),cancelFrame(this.notifyUpdate),cancelFrame(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const s=this.features[i];s&&(s.unmount(),s.isMounted=!1)}this.current=null}bindToMotionValue(i,s){this.valueSubscriptions.has(i)&&this.valueSubscriptions.get(i)();const a=transformProps.has(i),o=s.on("change",d=>{this.latestValues[i]=d,this.props.onUpdate&&frame.preRender(this.notifyUpdate),a&&this.projection&&(this.projection.isTransformDirty=!0)}),c=s.on("renderRequest",this.scheduleRender);let h;window.MotionCheckAppearSync&&(h=window.MotionCheckAppearSync(this,i,s)),this.valueSubscriptions.set(i,()=>{o(),c(),h&&h(),s.owner&&s.stop()})}sortNodePosition(i){return!this.current||!this.sortInstanceNodePosition||this.type!==i.type?0:this.sortInstanceNodePosition(this.current,i.current)}updateFeatures(){let i="animation";for(i in featureDefinitions){const s=featureDefinitions[i];if(!s)continue;const{isEnabled:a,Feature:o}=s;if(!this.features[i]&&o&&a(this.props)&&(this.features[i]=new o(this)),this.features[i]){const c=this.features[i];c.isMounted?c.update():(c.mount(),c.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):createBox()}getStaticValue(i){return this.latestValues[i]}setStaticValue(i,s){this.latestValues[i]=s}update(i,s){(i.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=i,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let a=0;a<propEventHandlers.length;a++){const o=propEventHandlers[a];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const c="on"+o,h=i[c];h&&(this.propEventSubscriptions[o]=this.on(o,h))}this.prevMotionValues=updateMotionValuesFromProps(this,this.scrapeMotionValuesFromProps(i,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(i){return this.props.variants?this.props.variants[i]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(i){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(i),()=>s.variantChildren.delete(i)}addValue(i,s){const a=this.values.get(i);s!==a&&(a&&this.removeValue(i),this.bindToMotionValue(i,s),this.values.set(i,s),this.latestValues[i]=s.get())}removeValue(i){this.values.delete(i);const s=this.valueSubscriptions.get(i);s&&(s(),this.valueSubscriptions.delete(i)),delete this.latestValues[i],this.removeValueFromRenderState(i,this.renderState)}hasValue(i){return this.values.has(i)}getValue(i,s){if(this.props.values&&this.props.values[i])return this.props.values[i];let a=this.values.get(i);return a===void 0&&s!==void 0&&(a=motionValue(s===null?void 0:s,{owner:this}),this.addValue(i,a)),a}readValue(i,s){var a;let o=this.latestValues[i]!==void 0||!this.current?this.latestValues[i]:(a=this.getBaseTargetFromProps(this.props,i))!==null&&a!==void 0?a:this.readValueFromInstance(this.current,i,this.options);return o!=null&&(typeof o=="string"&&(isNumericalString(o)||isZeroValueString(o))?o=parseFloat(o):!findValueType(o)&&complex.test(s)&&(o=getAnimatableNone(i,s)),this.setBaseTarget(i,isMotionValue(o)?o.get():o)),isMotionValue(o)?o.get():o}setBaseTarget(i,s){this.baseTarget[i]=s}getBaseTarget(i){var s;const{initial:a}=this.props;let o;if(typeof a=="string"||typeof a=="object"){const h=resolveVariantFromProps(this.props,a,(s=this.presenceContext)===null||s===void 0?void 0:s.custom);h&&(o=h[i])}if(a&&o!==void 0)return o;const c=this.getBaseTargetFromProps(this.props,i);return c!==void 0&&!isMotionValue(c)?c:this.initialValues[i]!==void 0&&o===void 0?void 0:this.baseTarget[i]}on(i,s){return this.events[i]||(this.events[i]=new SubscriptionManager),this.events[i].add(s)}notify(i,...s){this.events[i]&&this.events[i].notify(...s)}}class DOMVisualElement extends VisualElement{constructor(){super(...arguments),this.KeyframeResolver=DOMKeyframesResolver}sortInstanceNodePosition(i,s){return i.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(i,s){return i.style?i.style[s]:void 0}removeValueFromRenderState(i,{vars:s,style:a}){delete s[i],delete a[i]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:i}=this.props;isMotionValue(i)&&(this.childSubscription=i.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function getComputedStyle(e){return window.getComputedStyle(e)}class HTMLVisualElement extends DOMVisualElement{constructor(){super(...arguments),this.type="html",this.renderInstance=renderHTML}readValueFromInstance(i,s){if(transformProps.has(s)){const a=getDefaultValueType(s);return a&&a.default||0}else{const a=getComputedStyle(i),o=(isCSSVariableName(s)?a.getPropertyValue(s):a[s])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(i,{transformPagePoint:s}){return measureViewportBox(i,s)}build(i,s,a){buildHTMLStyles(i,s,a.transformTemplate)}scrapeMotionValuesFromProps(i,s,a){return scrapeMotionValuesFromProps$1(i,s,a)}}class SVGVisualElement extends DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=createBox}getBaseTargetFromProps(i,s){return i[s]}readValueFromInstance(i,s){if(transformProps.has(s)){const a=getDefaultValueType(s);return a&&a.default||0}return s=camelCaseAttributes.has(s)?s:camelToDash(s),i.getAttribute(s)}scrapeMotionValuesFromProps(i,s,a){return scrapeMotionValuesFromProps(i,s,a)}build(i,s,a){buildSVGAttrs(i,s,this.isSVGTag,a.transformTemplate)}
vendor: 8,444 bytes, line 48
48renderInstance(i,s,a,o){renderSVG(i,s,a,o)}mount(i){this.isSVGTag=isSVGTag(i.tagName),super.mount(i)}}const createDomVisualElement=(e,i)=>isSVGComponent(e)?new SVGVisualElement(i):new HTMLVisualElement(i,{allowProjection:e!==reactExports.Fragment}),createMotionComponent=createMotionComponentFactory({...animations,...gestureAnimations,...drag,...layout},createDomVisualElement),motion=createDOMMotionComponentProxy(createMotionComponent);function ProgressBar(){const[e,i]=reactExports.useState(0);return reactExports.useEffect(()=>{const s=()=>{const a=document.documentElement.scrollTop,o=document.documentElement.scrollHeight-document.documentElement.clientHeight,c=a/o*100;i(c)};return window.addEventListener("scroll",s),s(),()=>window.removeEventListener("scroll",s)},[]),jsxRuntimeExports.jsx("div",{className:"fixed top-0 left-0 w-full h-1 bg-hubspot-sage z-50",children:jsxRuntimeExports.jsx(motion.div,{className:"h-full bg-hubspot-magenta",style:{width:`${e}%`},initial:{width:0},animate:{width:`${e}%`},transition:{duration:.1}})})}function AnimatedGradientBackground({children:e,className:i=""}){return jsxRuntimeExports.jsxs("div",{className:`relative overflow-hidden bg-[#FF4800] ${i}`,children:[jsxRuntimeExports.jsxs("div",{className:"gradient-container",children:[jsxRuntimeExports.jsx("div",{className:"gradient-blob dark-blob"}),jsxRuntimeExports.jsx("div",{className:"gradient-blob light-blob"}),jsxRuntimeExports.jsx("div",{className:"gradient-blob center-blob"})]}),jsxRuntimeExports.jsx("div",{className:"relative z-10",children:e})]})}var lottie$1={exports:{}};(function(module,exports$1){typeof document<"u"&&typeof navigator<"u"&&function(e,i){module.exports=i()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(i){_useWebWorker=!!i},getWebWorker=function(){return _useWebWorker},setLocationHref=function(i){locationHref=i},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,i){var s,a=e.length,o;for(s=0;s<a;s+=1){o=e[s].prototype;for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&(i.prototype[c]=o[c])}}function getDescriptor(e,i){return Object.getOwnPropertyDescriptor(e,i)}function createProxyFunction(e){function i(){}return i.prototype=e,i}var audioControllerFactory=function(){function e(i){this.audios=[],this.audioFactory=i,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(s){this.audios.push(s)},pause:function(){var s,a=this.audios.length;for(s=0;s<a;s+=1)this.audios[s].pause()},resume:function(){var s,a=this.audios.length;for(s=0;s<a;s+=1)this.audios[s].resume()},setRate:function(s){var a,o=this.audios.length;for(a=0;a<o;a+=1)this.audios[a].setRate(s)},createAudio:function(s){return this.audioFactory?this.audioFactory(s):window.Howl?new window.Howl({src:[s]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(s){this.audioFactory=s},setVolume:function(s){this._volume=s,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var s,a=this.audios.length;for(s=0;s<a;s+=1)this.audios[s].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(s,a){var o=0,c=[],h;switch(s){case"int16":case"uint8c":h=1;break;default:h=1.1;break}for(o=0;o<a;o+=1)c.push(h);return c}function i(s,a){return s==="float32"?new Float32Array(a):s==="int16"?new Int16Array(a):s==="uint8c"?new Uint8ClampedArray(a):e(s,a)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?i:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){"@babel/helpers - typeof";return _typeof$6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],i,s=e.length;for(i=0;i<s;i+=1)BMMath[e[i]]=Math[e[i]]})(),BMMath.random=Math.random,BMMath.abs=function(e){var i=_typeof$6(e);if(i==="object"&&e.length){var s=createSizedArray(e.length),a,o=e.length;for(a=0;a<o;a+=1)s[a]=Math.abs(e[a]);return s}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,i,s,a){this.type=e,this.currentTime=i,this.totalTime=s,this.direction=a<0?-1:1}function BMCompleteEvent(e,i){this.type=e,this.direction=i<0?-1:1}function BMCompleteLoopEvent(e,i,s,a){this.type=e,this.currentLoop=s,this.totalLoops=i,this.direction=a<0?-1:1}function BMSegmentStartEvent(e,i,s){this.type=e,this.firstFrame=i,this.totalFrames=s}function BMDestroyEvent(e,i){this.type=e,this.target=i}function BMRenderFrameErrorEvent(e,i){this.type="renderFrameError",this.nativeError=e,this.currentTime=i}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}var createElementID=function(){var e=0;return function(){return e+=1,idPrefix$1+"__lottie_element_"+e}}();function HSVtoRGB(e,i,s){var a,o,c,h,d,g,b,j;switch(h=Math.floor(e*6),d=e*6-h,g=s*(1-i),b=s*(1-d*i),j=s*(1-(1-d)*i),h%6){case 0:a=s,o=j,c=g;break;case 1:a=b,o=s,c=g;break;case 2:a=g,o=s,c=j;break;case 3:a=g,o=b,c=s;break;case 4:a=j,o=g,c=s;break;case 5:a=s,o=g,c=b;break}return[a,o,c]}function RGBtoHSV(e,i,s){var a=Math.max(e,i,s),o=Math.min(e,i,s),c=a-o,h,d=a===0?0:c/a,g=a/255;switch(a){case o:h=0;break;case e:h=i-s+c*(i<s?6:0),h/=6*c;break;case i:h=s-e+c*2,h/=6*c;break;case s:h=e-i+c*4,h/=6*c;break}return[h,d,g]}function addSaturationToRGB(e,i){var s=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return s[1]+=i,s[1]>1?s[1]=1:s[1]<=0&&(s[1]=0),HSVtoRGB(s[0],s[1],s[2])}function addBrightnessToRGB(e,i){var s=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return s[2]+=i,s[2]>1?s[2]=1:s[2]<0&&(s[2]=0),HSVtoRGB(s[0],s[1],s[2])}function addHueToRGB(e,i){var s=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return s[0]+=i/360,s[0]>1?s[0]-=1:s[0]<0&&(s[0]+=1),HSVtoRGB(s[0],s[1],s[2])}var rgbToHex=function(){var e=[],i,s;for(i=0;i<256;i+=1)s=i.toString(16),e[i]=s.length===1?"0"+s:s;return function(a,o,c){return a<0&&(a=0),o<0&&(o=0),c<0&&(c=0),"#"+e[a]+e[o]+e[c]}}(),setSubframeEnabled=function(i){subframeEnabled=!!i},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(i){expressionsPlugin=i},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(i){expressionsInterfaces=i},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(i){defaultCurveSegments=i},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(i){idPrefix$1=i};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){"@babel/helpers - typeof";return _typeof$5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$5(e)}var dataManager=function(){var e=1,i=[],s,a,o={onmessage:function(){},postMessage:function(nt){s({data:nt})}},c={postMessage:function(nt){o.onmessage({data:nt})}};function h(_){if(window.Worker&&window.Blob&&getWebWorker()){var nt=new Blob(["var _workerSelf = self;
48 self.onmessage = ",_.toString()],{type:"text/javascript"}),rt=URL.createObjectURL(nt);return new Worker(rt)}return s=_,o}function d(){a||(a=h(function(nt){function rt(){function ut(bt,ft){var dt,at,ct=bt.length,gt,mt,Et,Pt;for(at=0;at<ct;at+=1)if(dt=bt[at],"ks"in dt&&!dt.completed){if(dt.completed=!0,dt.hasMask){var Ct=dt.masksProperties;for(mt=Ct.length,gt=0;gt<mt;gt+=1)if(Ct[gt].pt.k.i)ot(Ct[gt].pt.k);else for(Pt=Ct[gt].pt.k.length,Et=0;Et<Pt;Et+=1)Ct[gt].pt.k[Et].s&&ot(Ct[gt].pt.k[Et].s[0]),Ct[gt].pt.k[Et].e&&ot(Ct[gt].pt.k[Et].e[0])}dt.ty===0?(dt.layers=$(dt.refId,ft),ut(dt.layers,ft)):dt.ty===4?st(dt.shapes):dt.ty===5&&kt(dt)}}function _e(bt,ft){if(bt){var dt=0,at=bt.length;for(dt=0;dt<at;dt+=1)bt[dt].t===1&&(bt[dt].data.layers=$(bt[dt].data.refId,ft),ut(bt[dt].data.layers,ft))}}function et(bt,ft){for(var dt=0,at=ft.length;dt<at;){if(ft[dt].id===bt)return ft[dt];dt+=1}return null}function $(bt,ft){var dt=et(bt,ft);return dt?dt.layers.__used?JSON.parse(JSON.stringify(dt.layers)):(dt.layers.__used=!0,dt.layers):null}function st(bt){var ft,dt=bt.length,at,ct;for(ft=dt-1;ft>=0;ft-=1)if(bt[ft].ty==="sh")if(bt[ft].ks.k.i)ot(bt[ft].ks.k);else for(ct=bt[ft].ks.k.length,at=0;at<ct;at+=1)bt[ft].ks.k[at].s&&ot(bt[ft].ks.k[at].s[0]),bt[ft].ks.k[at].e&&ot(bt[ft].ks.k[at].e[0]);else bt[ft].ty==="gr"&&st(bt[ft].it)}function ot(bt){var ft,dt=bt.i.length;for(ft=0;ft<dt;ft+=1)bt.i[ft][0]+=bt.v[ft][0],bt.i[ft][1]+=bt.v[ft][1],bt.o[ft][0]+=bt.v[ft][0],bt.o[ft][1]+=bt.v[ft][1]}function lt(bt,ft){var dt=ft?ft.split("."):[100,100,100];return bt[0]>dt[0]?!0:dt[0]>bt[0]?!1:bt[1]>dt[1]?!0:dt[1]>bt[1]?!1:bt[2]>dt[2]?!0:dt[2]>bt[2]?!1:null}var ht=function(){var bt=[4,4,14];function ft(at){var ct=at.t.d;at.t.d={k:[{s:ct,t:0}]}}function dt(at){var ct,gt=at.length;for(ct=0;ct<gt;ct+=1)at[ct].ty===5&&ft(at[ct])}return function(at){if(lt(bt,at.v)&&(dt(at.layers),at.assets)){var ct,gt=at.assets.length;for(ct=0;ct<gt;ct+=1)at.assets[ct].layers&&dt(at.assets[ct].layers)}}}(),pt=function(){var bt=[4,7,99];return function(ft){if(ft.chars&&!lt(bt,ft.v)){var dt,at=ft.chars.length;for(dt=0;dt<at;dt+=1){var ct=ft.chars[dt];ct.data&&ct.data.shapes&&(st(ct.data.shapes),ct.data.ip=0,ct.data.op=99999,ct.data.st=0,ct.data.sr=1,ct.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},ft.chars[dt].t||(ct.data.shapes.push({ty:"no"}),ct.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),vt=function(){var bt=[5,7,15];function ft(at){var ct=at.t.p;typeof ct.a=="number"&&(ct.a={a:0,k:ct.a}),typeof ct.p=="number"&&(ct.p={a:0,k:ct.p}),typeof ct.r=="number"&&(ct.r={a:0,k:ct.r})}function dt(at){var ct,gt=at.length;for(ct=0;ct<gt;ct+=1)at[ct].ty===5&&ft(at[ct])}return function(at){if(lt(bt,at.v)&&(dt(at.layers),at.assets)){var ct,gt=at.assets.length;for(ct=0;ct<gt;ct+=1)at.assets[ct].layers&&dt(at.assets[ct].layers)}}}(),St=function(){var bt=[4,1,9];function ft(at){var ct,gt=at.length,mt,Et;for(ct=0;ct<gt;ct+=1)if(at[ct].ty==="gr")ft(at[ct].it);else if(at[ct].ty==="fl"||at[ct].ty==="st")if(at[ct].c.k&&at[ct].c.k[0].i)for(Et=at[ct].c.k.length,mt=0;mt<Et;mt+=1)at[ct].c.k[mt].s&&(at[ct].c.k[mt].s[0]/=255,at[ct].c.k[mt].s[1]/=255,at[ct].c.k[mt].s[2]/=255,at[ct].c.k[mt].s[3]/=255),at[ct].c.k[mt].e&&(at[ct].c.k[mt].e[0]/=255,at[ct].c.k[mt].e[1]/=255,at[ct].c.k[mt].e[2]/=255,at[ct].c.k[mt].e[3]/=255);else at[ct].c.k[0]/=255,at[ct].c.k[1]/=255,at[ct].c.k[2]/=255,at[ct].c.k[3]/=255}function dt(at){var ct,gt=at.length;for(ct=0;ct<gt;ct+=1)at[ct].ty===4&&ft(at[ct].shapes)}return function(at){if(lt(bt,at.v)&&(dt(at.layers),at.assets)){var ct,gt=at.assets.length;for(ct=0;ct<gt;ct+=1)at.assets[ct].layers&&dt(at.assets[ct].layers)}}}(),xt=function(){var bt=[4,4,18];function ft(at){var ct,gt=at.length,mt,Et;for(ct=gt-1;ct>=0;ct-=1)if(at[ct].ty==="sh")if(at[ct].ks.k.i)at[ct].ks.k.c=at[ct].closed;else for(Et=at[ct].ks.k.length,mt=0;mt<Et;mt+=1)at[ct].ks.k[mt].s&&(at[ct].ks.k[mt].s[0].c=at[ct].closed),at[ct].ks.k[mt].e&&(at[ct].ks.k[mt].e[0].c=at[ct].closed);else at[ct].ty==="gr"&&ft(at[ct].it)}function dt(at){var ct,gt,mt=at.length,Et,Pt,Ct,jt;for(gt=0;gt<mt;gt+=1){if(ct=at[gt],ct.hasMask){var At=ct.masksProperties;for(Pt=At.length,Et=0;Et<Pt;
vendor: 121,946 bytes, lines 48-56
48Et+=1)if(At[Et].pt.k.i)At[Et].pt.k.c=At[Et].cl;else for(jt=At[Et].pt.k.length,Ct=0;Ct<jt;Ct+=1)At[Et].pt.k[Ct].s&&(At[Et].pt.k[Ct].s[0].c=At[Et].cl),At[Et].pt.k[Ct].e&&(At[Et].pt.k[Ct].e[0].c=At[Et].cl)}ct.ty===4&&ft(ct.shapes)}}return function(at){if(lt(bt,at.v)&&(dt(at.layers),at.assets)){var ct,gt=at.assets.length;for(ct=0;ct<gt;ct+=1)at.assets[ct].layers&&dt(at.assets[ct].layers)}}}();function yt(bt){bt.__complete||(St(bt),ht(bt),pt(bt),vt(bt),xt(bt),ut(bt.layers,bt.assets),_e(bt.chars,bt.assets),bt.__complete=!0)}function kt(bt){bt.t.a.length===0&&"m"in bt.t.p}var wt={};return wt.completeData=yt,wt.checkColors=St,wt.checkChars=pt,wt.checkPathProperties=vt,wt.checkShapes=xt,wt.completeLayers=ut,wt}if(c.dataManager||(c.dataManager=rt()),c.assetLoader||(c.assetLoader=function(){function ut(et){var $=et.getResponseHeader("content-type");return $&&et.responseType==="json"&&$.indexOf("json")!==-1||et.response&&_typeof$5(et.response)==="object"?et.response:et.response&&typeof et.response=="string"?JSON.parse(et.response):et.responseText?JSON.parse(et.responseText):null}function _e(et,$,st,ot){var lt,ht=new XMLHttpRequest;try{ht.responseType="json"}catch{}ht.onreadystatechange=function(){if(ht.readyState===4)if(ht.status===200)lt=ut(ht),st(lt);else try{lt=ut(ht),st(lt)}catch(pt){ot&&ot(pt)}};try{ht.open(["G","E","T"].join(""),et,!0)}catch{ht.open(["G","E","T"].join(""),$+"/"+et,!0)}ht.send()}return{load:_e}}()),nt.data.type==="loadAnimation")c.assetLoader.load(nt.data.path,nt.data.fullPath,function(ut){c.dataManager.completeData(ut),c.postMessage({id:nt.data.id,payload:ut,status:"success"})},function(){c.postMessage({id:nt.data.id,status:"error"})});else if(nt.data.type==="complete"){var it=nt.data.animation;c.dataManager.completeData(it),c.postMessage({id:nt.data.id,payload:it,status:"success"})}else nt.data.type==="loadData"&&c.assetLoader.load(nt.data.path,nt.data.fullPath,function(ut){c.postMessage({id:nt.data.id,payload:ut,status:"success"})},function(){c.postMessage({id:nt.data.id,status:"error"})})}),a.onmessage=function(_){var nt=_.data,rt=nt.id,it=i[rt];i[rt]=null,nt.status==="success"?it.onComplete(nt.payload):it.onError&&it.onError()})}function g(_,nt){e+=1;var rt="processId_"+e;return i[rt]={onComplete:_,onError:nt},rt}function b(_,nt,rt){d();var it=g(nt,rt);a.postMessage({type:"loadAnimation",path:_,fullPath:window.location.origin+window.location.pathname,id:it})}function j(_,nt,rt){d();var it=g(nt,rt);a.postMessage({type:"loadData",path:_,fullPath:window.location.origin+window.location.pathname,id:it})}function tt(_,nt,rt){d();var it=g(nt,rt);a.postMessage({type:"complete",animation:_,id:it})}return{loadAnimation:b,loadData:j,completeAnimation:tt}}(),ImagePreloader=function(){var e=function(){var _e=createTag("canvas");_e.width=1,_e.height=1;var et=_e.getContext("2d");return et.fillStyle="rgba(0,0,0,0)",et.fillRect(0,0,1,1),_e}();function i(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function s(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(_e,et,$){var st="";if(_e.e)st=_e.p;else if(et){var ot=_e.p;ot.indexOf("images/")!==-1&&(ot=ot.split("/")[1]),st=et+ot}else st=$,st+=_e.u?_e.u:"",st+=_e.p;return st}function o(_e){var et=0,$=setInterval((function(){var st=_e.getBBox();(st.width||et>500)&&(this._imageLoaded(),clearInterval($)),et+=1}).bind(this),50)}function c(_e){var et=a(_e,this.assetsPath,this.path),$=createNS("image");isSafari?this.testImageLoaded($):$.addEventListener("load",this._imageLoaded,!1),$.addEventListener("error",(function(){st.img=e,this._imageLoaded()}).bind(this),!1),$.setAttributeNS("http://www.w3.org/1999/xlink","href",et),this._elementHelper.append?this._elementHelper.append($):this._elementHelper.appendChild($);var st={img:$,assetData:_e};return st}function h(_e){var et=a(_e,this.assetsPath,this.path),$=createTag("img");$.crossOrigin="anonymous",$.addEventListener("load",this._imageLoaded,!1),$.addEventListener("error",(function(){st.img=e,this._imageLoaded()}).bind(this),!1),$.src=et;var st={img:$,assetData:_e};return st}function d(_e){var et={assetData:_e},$=a(_e,this.assetsPath,this.path);return dataManager.loadData($,(function(st){et.img=st,this._footageLoaded()}).bind(this),(function(){et.img={},this._footageLoaded()}).bind(this)),et}function g(_e,et){this.imagesLoadedCb=et;var $,st=_e.length;for($=0;$<st;$+=1)_e[$].layers||(!_e[$].t||_e[$].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(_e[$]))):_e[$].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(_e[$]))))}function b(_e){this.path=_e||""}function j(_e){this.assetsPath=_e||""}function tt(_e){for(var et=0,$=this.images.length;et<$;){if(this.images[et].assetData===_e)return this.images[et].img;et+=1}return null}function _(){this.imagesLoadedCb=null,this.images.length=0}function nt(){return this.totalImages===this.loadedAssets}function rt(){return this.totalFootages===this.loadedFootagesCount}function it(_e,et){_e==="svg"?(this._elementHelper=et,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function ut(){this._imageLoaded=i.bind(this),this._footageLoaded=s.bind(this),this.testImageLoaded=o.bind(this),this.createFootageData=d.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return ut.prototype={loadAssets:g,setAssetsPath:j,setPath:b,loadedImages:nt,loadedFootages:rt,destroy:_,getAsset:tt,createImgData:h,createImageData:c,imageLoaded:i,footageLoaded:s,setCacheType:it},ut}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(i,s){if(this._cbs[i])for(var a=this._cbs[i],o=0;o<a.length;o+=1)a[o](s)},addEventListener:function(i,s){return this._cbs[i]||(this._cbs[i]=[]),this._cbs[i].push(s),(function(){this.removeEventListener(i,s)}).bind(this)},removeEventListener:function(i,s){if(!s)this._cbs[i]=null;else if(this._cbs[i]){for(var a=0,o=this._cbs[i].length;a<o;)this._cbs[i][a]===s&&(this._cbs[i].splice(a,1),a-=1,o-=1),a+=1;this._cbs[i].length||(this._cbs[i]=null)}}};var markerParser=function(){function e(i){for(var s=i.split(`\r 49`),a={},o,c=0,h=0;h<s.length;h+=1)o=s[h].split(":"),o.length===2&&(a[o[0]]=o[1].trim(),c+=1);if(c===0)throw new Error;return a}return function(i){for(var s=[],a=0;a<i.length;a+=1){var o=i[a],c={time:o.tm,duration:o.dr};try{c.payload=JSON.parse(i[a].cm)}catch{try{c.payload=e(i[a].cm)}catch{c.payload={name:i[a].cm}}}s.push(c)}return s}}(),ProjectInterface=function(){function e(i){this.compositions.push(i)}return function(){function i(s){for(var a=0,o=this.compositions.length;a<o;){if(this.compositions[a].data&&this.compositions[a].data.nm===s)return this.compositions[a].prepareFrame&&this.compositions[a].data.xt&&this.compositions[a].prepareFrame(this.currentFrame),this.compositions[a].compInterface;a+=1}return null}return i.compositions=[],i.currentFrame=0,i.registerComposition=e,i}}(),renderers={},registerRenderer=function(i,s){renderers[i]=s};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){"@babel/helpers - typeof";return _typeof$4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var i="svg";e.animType?i=e.animType:e.renderer&&(i=e.renderer);var s=getRenderer(i);this.renderer=new s(this,e.rendererSettings),this.imagePreloader.setCacheType(i,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=i,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,i){i&&_typeof$4(i)!=="object"&&(i=JSON.parse(i));var s={wrapper:e,animationData:i},a=e.attributes;s.path=a.getNamedItem("data-animation-path")?a.getNamedItem("data-animation-path").value:a.getNamedItem("data-bm-path")?a.getNamedItem("data-bm-path").value:a.getNamedItem("bm-path")?a.getNamedItem("bm-path").value:"",s.animType=a.getNamedItem("data-anim-type")?a.getNamedItem("data-anim-type").value:a.getNamedItem("data-bm-type")?a.getNamedItem("data-bm-type").value:a.getNamedItem("bm-type")?a.getNamedItem("bm-type").value:a.getNamedItem("data-bm-renderer")?a.getNamedItem("data-bm-renderer").value:a.getNamedItem("bm-renderer")?a.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var o=a.getNamedItem("data-anim-loop")?a.getNamedItem("data-anim-loop").value:a.getNamedItem("data-bm-loop")?a.getNamedItem("data-bm-loop").value:a.getNamedItem("bm-loop")?a.getNamedItem("bm-loop").value:"";o==="false"?s.loop=!1:o==="true"?s.loop=!0:o!==""&&(s.loop=parseInt(o,10));var c=a.getNamedItem("data-anim-autoplay")?a.getNamedItem("data-anim-autoplay").value:a.getNamedItem("data-bm-autoplay")?a.getNamedItem("data-bm-autoplay").value:a.getNamedItem("bm-autoplay")?a.getNamedItem("bm-autoplay").value:!0;s.autoplay=c!=="false",s.name=a.getNamedItem("data-name")?a.getNamedItem("data-name").value:a.getNamedItem("data-bm-name")?a.getNamedItem("data-bm-name").value:a.getNamedItem("bm-name")?a.getNamedItem("bm-name").value:"";var h=a.getNamedItem("data-anim-prerender")?a.getNamedItem("data-anim-prerender").value:a.getNamedItem("data-bm-prerender")?a.getNamedItem("data-bm-prerender").value:a.getNamedItem("bm-prerender")?a.getNamedItem("bm-prerender").value:"";h==="false"&&(s.prerender=!1),s.path?this.setParams(s):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var i=this.animationData.layers,s,a=i.length,o=e.layers,c,h=o.length;for(c=0;c<h;c+=1)for(s=0;s<a;){if(i[s].id===o[c].id){i[s]=o[c];break}s+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(a=e.assets.length,s=0;s<a;s+=1)this.animationData.assets.push(e.assets[s]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var i=getExpressionsPlugin();i&&i.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var i=e.shift();this.timeCompleted=i.time*this.frameRate;var s=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(s,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(i){this.triggerConfigError(i)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,i){var s=typeof e=="number"?e:void 0,a=typeof i=="number"?i:void 0;this.renderer.updateContainerSize(s,a)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.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 i,s=0;s<this.markers.length;s+=1)if(i=this.markers[s],i.payload&&i.payload.name===e)return i;return null},AnimationItem.prototype.goToAndStop=function(e,i,s){if(!(s&&this.name!==s)){var a=Number(e);if(isNaN(a)){var o=this.getMarkerData(e);o&&this.goToAndStop(o.time,!0)}else i?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,i,s){if(!(s&&this.name!==s)){var a=Number(e);if(isNaN(a)){var o=this.getMarkerData(e);o&&(o.duration?this.playSegments([o.time,o.time+o.duration],!0):this.goToAndStop(o.time,!0))}else this.goToAndStop(a,i,s);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var i=this.currentRawFrame+e*this.frameModifier,s=!1;i>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(i>this.totalFrames?i%this.totalFrames:0)||(s=!0,i=this.totalFrames-1):i>=this.totalFrames?(this.playCount+=1,this.checkSegments(i%this.totalFrames)||(this.setCurrentRawFrameValue(i%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(i):i<0?this.checkSegments(i%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+i%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(s=!0,i=0)):this.setCurrentRawFrameValue(i),s&&(this.setCurrentRawFrameValue(i),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,i){this.playCount=0,e[1]<e[0]?(this.frameModifier>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-i)):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+i)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,i){var s=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?s=e:this.currentRawFrame+this.firstFrame>i&&(s=i-e)),this.firstFrame=e,this.totalFrames=i-e,this.timeCompleted=this.totalFrames,s!==-1&&this.goToAndStop(s,!0)},AnimationItem.prototype.playSegments=function(e,i){if(i&&(this.segments.length=0),_typeof$4(e[0])==="object"){var s,a=e.length;for(s=0;s<a;s+=1)this.segments.push(e[s])}else this.segments.push(e);this.segments.length&&i&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,i){i&&this.name!==i||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var i="";if(e.e)i=e.p;else if(this.assetsPath){var s=e.p;s.indexOf("images/")!==-1&&(s=s.split("/")[1]),i=this.assetsPath+s}else i=this.path,i+=e.u?e.u:"",i+=e.p;return i},AnimationItem.prototype.getAssetData=function(e){for(var i=0,s=this.assets.length;i<s;){if(e===this.assets[i].id)return this.assets[i];i+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,i,s){try{var a=this.renderer.getElementByPath(e);a.updateDocumentData(i,s)}catch{}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var i=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",i),this.onError&&this.onError.call(this,i)},AnimationItem.prototype.triggerConfigError=function(e){var i=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",i),this.onError&&this.onError.call(this,i)};var animationManager=function(){var e={},i=[],s=0,a=0,o=0,c=!0,h=!1;function d(ft){for(var dt=0,at=ft.target;dt<a;)i[dt].animation===at&&(i.splice(dt,1),dt-=1,a-=1,at.isPaused||tt()),dt+=1}function g(ft,dt){if(!ft)return null;for(var at=0;at<a;){if(i[at].elem===ft&&i[at].elem!==null)return i[at].animation;at+=1}var ct=new AnimationItem;return _(ct,ft),ct.setData(ft,dt),ct}function b(){var ft,dt=i.length,at=[];for(ft=0;ft<dt;ft+=1)at.push(i[ft].animation);return at}function j(){o+=1,St()}function tt(){o-=1}function _(ft,dt){ft.addEventListener("destroy",d),ft.addEventListener("_active",j),ft.addEventListener("_idle",tt),i.push({elem:dt,animation:ft}),a+=1}function nt(ft){var dt=new AnimationItem;return _(dt,null),dt.setParams(ft),dt}function rt(ft,dt){var at;for(at=0;at<a;at+=1)i[at].animation.setSpeed(ft,dt)}function it(ft,dt){var at;for(at=0;at<a;at+=1)i[at].animation.setDirection(ft,dt)}function ut(ft){var dt;for(dt=0;dt<a;dt+=1)i[dt].animation.play(ft)}function _e(ft){var dt=ft-s,at;for(at=0;at<a;at+=1)i[at].animation.advanceTime(dt);s=ft,o&&!h?window.requestAnimationFrame(_e):c=!0}function et(ft){s=ft,window.requestAnimationFrame(_e)}function $(ft){var dt;for(dt=0;dt<a;dt+=1)i[dt].animation.pause(ft)}function st(ft,dt,at){var ct;for(ct=0;ct<a;ct+=1)i[ct].animation.goToAndStop(ft,dt,at)}function ot(ft){var dt;for(dt=0;dt<a;dt+=1)i[dt].animation.stop(ft)}function lt(ft){var dt;for(dt=0;dt<a;dt+=1)i[dt].animation.togglePause(ft)}function ht(ft){var dt;for(dt=a-1;dt>=0;dt-=1)i[dt].animation.destroy(ft)}function pt(ft,dt,at){var ct=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),gt,mt=ct.length;for(gt=0;gt<mt;gt+=1)at&&ct[gt].setAttribute("data-bm-type",at),g(ct[gt],ft);if(dt&&mt===0){at||(at="svg");var Et=document.getElementsByTagName("body")[0];Et.innerText="";var Pt=createTag("div");Pt.style.width="100%",Pt.style.height="100%",Pt.setAttribute("data-bm-type",at),Et.appendChild(Pt),g(Pt,ft)}}function vt(){var ft;for(ft=0;ft<a;ft+=1)i[ft].animation.resize()}function St(){!h&&o&&c&&(window.requestAnimationFrame(et),c=!1)}function xt(){h=!0}function yt(){h=!1,St()}function kt(ft,dt){var at;for(at=0;at<a;at+=1)i[at].animation.setVolume(ft,dt)}function wt(ft){var dt;for(dt=0;dt<a;dt+=1)i[dt].animation.mute(ft)}function bt(ft){var dt;for(dt=0;dt<a;dt+=1)i[dt].animation.unmute(ft)}return e.registerAnimation=g,e.loadAnimation=nt,e.setSpeed=rt,e.setDirection=it,e.play=ut,e.pause=$,e.stop=ot,e.togglePause=lt,e.searchAnimations=pt,e.resize=vt,e.goToAndStop=st,e.destroy=ht,e.freeze=xt,e.unfreeze=yt,e.setVolume=kt,e.mute=wt,e.unmute=bt,e.getRegisteredAnimations=b,e}(),BezierFactory=function(){var e={};e.getBezierEasing=s;var i={};function s(et,$,st,ot,lt){var ht=lt||("bez_"+et+"_"+$+"_"+st+"_"+ot).replace(/\./g,"p");if(i[ht])return i[ht];var pt=new _e([et,$,st,ot]);return i[ht]=pt,pt}var a=4,o=.001,c=1e-7,h=10,d=11,g=1/(d-1),b=typeof Float32Array=="function";function j(et,$){return 1-3*$+3*et}function tt(et,$){return 3*$-6*et}function _(et){return 3*et}function nt(et,$,st){return((j($,st)*et+tt($,st))*et+_($))*et}function rt(et,$,st){return 3*j($,st)*et*et+2*tt($,st)*et+_($)}function it(et,$,st,ot,lt){var ht,pt,vt=0;do pt=$+(st-$)/2,ht=nt(pt,ot,lt)-et,ht>0?st=pt:$=pt;while(Math.abs(ht)>c&&++vt<h);return pt}function ut(et,$,st,ot){for(var lt=0;lt<a;++lt){var ht=rt($,st,ot);if(ht===0)return $;var pt=nt($,st,ot)-et;$-=pt/ht}return $}function _e(et){this._p=et,this._mSampleValues=b?new Float32Array(d):new Array(d),this._precomputed=!1,this.get=this.get.bind(this)}return _e.prototype={get:function($){var st=this._p[0],ot=this._p[1],lt=this._p[2],ht=this._p[3];return this._precomputed||this._precompute(),st===ot&<===ht?$:$===0?0:$===1?1:nt(this._getTForX($),ot,ht)},_precompute:function(){var $=this._p[0],st=this._p[1],ot=this._p[2],lt=this._p[3];this._precomputed=!0,($!==st||ot!==lt)&&this._calcSampleValues()},_calcSampleValues:function(){for(var $=this._p[0],st=this._p[2],ot=0;ot<d;++ot)this._mSampleValues[ot]=nt(ot*g,$,st)},_getTForX:function($){for(var st=this._p[0],ot=this._p[2],lt=this._mSampleValues,ht=0,pt=1,vt=d-1;pt!==vt&<[pt]<=$;++pt)ht+=g;--pt;var St=($-lt[pt])/(lt[pt+1]-lt[pt]),xt=ht+St*g,yt=rt(xt,st,ot);return yt>=o?ut($,xt,st,ot):yt===0?xt:it($,ht,ht+g,st,ot)}},e}(),pooling=function(){function e(i){return i.concat(createSizedArray(i.length))}return{double:e}}(),poolFactory=function(){return function(e,i,s){var a=0,o=e,c=createSizedArray(o),h={newElement:d,release:g};function d(){var b;return a?(a-=1,b=c[a]):b=i(),b}function g(b){a===o&&(c=pooling.double(c),o*=2),s&&s(b),c[a]=b,a+=1}return h}}(),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 i(s){var a,o=s.lengths.length;for(a=0;a<o;a+=1)bezierLengthPool.release(s.lengths[a]);s.lengths.length=0}return poolFactory(8,e,i)}();function bezFunction(){var e=Math;function i(_,nt,rt,it,ut,_e){var et=_*it+nt*ut+rt*_e-ut*it-_e*_-rt*nt;return et>-.001&&et<.001}function s(_,nt,rt,it,ut,_e,et,$,st){if(rt===0&&_e===0&&st===0)return i(_,nt,it,ut,et,$);var ot=e.sqrt(e.pow(it-_,2)+e.pow(ut-nt,2)+e.pow(_e-rt,2)),lt=e.sqrt(e.pow(et-_,2)+e.pow($-nt,2)+e.pow(st-rt,2)),ht=e.sqrt(e.pow(et-it,2)+e.pow($-ut,2)+e.pow(st-_e,2)),pt;return ot>lt?ot>ht?pt=ot-lt-ht:pt=ht-lt-ot:ht>lt?pt=ht-lt-ot:pt=lt-ot-ht,pt>-1e-4&&pt<1e-4}var a=function(){return function(_,nt,rt,it){var ut=getDefaultCurveSegments(),_e,et,$,st,ot,lt=0,ht,pt=[],vt=[],St=bezierLengthPool.newElement();for($=rt.length,_e=0;_e<ut;_e+=1){for(ot=_e/(ut-1),ht=0,et=0;et<$;et+=1)st=bmPow(1-ot,3)*_[et]+3*bmPow(1-ot,2)*ot*rt[et]+3*(1-ot)*bmPow(ot,2)*it[et]+bmPow(ot,3)*nt[et],pt[et]=st,vt[et]!==null&&(ht+=bmPow(pt[et]-vt[et],2)),vt[et]=pt[et];ht&&(ht=bmSqrt(ht),lt+=ht),St.percents[_e]=ot,St.lengths[_e]=lt}return St.addedLength=lt,St}}();function o(_){var nt=segmentsLengthPool.newElement(),rt=_.c,it=_.v,ut=_.o,_e=_.i,et,$=_._length,st=nt.lengths,ot=0;for(et=0;et<$-1;et+=1)st[et]=a(it[et],it[et+1],ut[et],_e[et+1]),ot+=st[et].addedLength;return rt&&$&&(st[et]=a(it[et],it[0],ut[et],_e[0]),ot+=st[et].addedLength),nt.totalLength=ot,nt}function c(_){this.segmentLength=0,this.points=new Array(_)}function h(_,nt){this.partialLength=_,this.point=nt}var d=function(){var _={};return function(nt,rt,it,ut){var _e=(nt[0]+"_"+nt[1]+"_"+rt[0]+"_"+rt[1]+"_"+it[0]+"_"+it[1]+"_"+ut[0]+"_"+ut[1]).replace(/\./g,"p");if(!_[_e]){var et=getDefaultCurveSegments(),$,st,ot,lt,ht,pt=0,vt,St,xt=null;nt.length===2&&(nt[0]!==rt[0]||nt[1]!==rt[1])&&i(nt[0],nt[1],rt[0],rt[1],nt[0]+it[0],nt[1]+it[1])&&i(nt[0],nt[1],rt[0],rt[1],rt[0]+ut[0],rt[1]+ut[1])&&(et=2);var yt=new c(et);for(ot=it.length,$=0;$<et;$+=1){for(St=createSizedArray(ot),ht=$/(et-1),vt=0,st=0;st<ot;st+=1)lt=bmPow(1-ht,3)*nt[st]+3*bmPow(1-ht,2)*ht*(nt[st]+it[st])+3*(1-ht)*bmPow(ht,2)*(rt[st]+ut[st])+bmPow(ht,3)*rt[st],St[st]=lt,xt!==null&&(vt+=bmPow(St[st]-xt[st],2));vt=bmSqrt(vt),pt+=vt,yt.points[$]=new h(vt,St),xt=St}yt.segmentLength=pt,_[_e]=yt}return _[_e]}}();function g(_,nt){var rt=nt.percents,it=nt.lengths,ut=rt.length,_e=bmFloor((ut-1)*_),et=_*nt.addedLength,$=0;if(_e===ut-1||_e===0||et===it[_e])return rt[_e];for(var st=it[_e]>et?-1:1,ot=!0;ot;)if(it[_e]<=et&&it[_e+1]>et?($=(et-it[_e])/(it[_e+1]-it[_e]),ot=!1):_e+=st,_e<0||_e>=ut-1){if(_e===ut-1)return rt[_e];ot=!1}return rt[_e]+(rt[_e+1]-rt[_e])*$}function b(_,nt,rt,it,ut,_e){var et=g(ut,_e),$=1-et,st=e.round(($*$*$*_[0]+(et*$*$+$*et*$+$*$*et)*rt[0]+(et*et*$+$*et*et+et*$*et)*it[0]+et*et*et*nt[0])*1e3)/1e3,ot=e.round(($*$*$*_[1]+(et*$*$+$*et*$+$*$*et)*rt[1]+(et*et*$+$*et*et+et*$*et)*it[1]+et*et*et*nt[1])*1e3)/1e3;return[st,ot]}var j=createTypedArray("float32",8);function tt(_,nt,rt,it,ut,_e,et){ut<0?ut=0:ut>1&&(ut=1);var $=g(ut,et);_e=_e>1?1:_e;var st=g(_e,et),ot,lt=_.length,ht=1-$,pt=1-st,vt=ht*ht*ht,St=$*ht*ht*3,xt=$*$*ht*3,yt=$*$*$,kt=ht*ht*pt,wt=$*ht*pt+ht*$*pt+ht*ht*st,bt=$*$*pt+ht*$*st+$*ht*st,ft=$*$*st,dt=ht*pt*pt,at=$*pt*pt+ht*st*pt+ht*pt*st,ct=$*st*pt+ht*st*st+$*pt*st,gt=$*st*st,mt=pt*pt*pt,Et=st*pt*pt+pt*st*pt+pt*pt*st,Pt=st*st*pt+pt*st*st+st*pt*st,Ct=st*st*st;for(ot=0;ot<lt;ot+=1)j[ot*4]=e.round((vt*_[ot]+St*rt[ot]+xt*it[ot]+yt*nt[ot])*1e3)/1e3,j[ot*4+1]=e.round((kt*_[ot]+wt*rt[ot]+bt*it[ot]+ft*nt[ot])*1e3)/1e3,j[ot*4+2]=e.round((dt*_[ot]+at*rt[ot]+ct*it[ot]+gt*nt[ot])*1e3)/1e3,j[ot*4+3]=e.round((mt*_[ot]+Et*rt[ot]+Pt*it[ot]+Ct*nt[ot])*1e3)/1e3;return j}return{getSegmentsLength:o,getNewSegment:tt,getPointInSegment:b,buildBezierData:d,pointOnLine2D:i,pointOnLine3D:s}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,i){var s=this.offsetTime,a;this.propType==="multidimensional"&&(a=createTypedArray("float32",this.pv.length));for(var o=i.lastIndex,c=o,h=this.keyframes.length-1,d=!0,g,b,j;d;){if(g=this.keyframes[c],b=this.keyframes[c+1],c===h-1&&e>=b.t-s){g.h&&(g=b),o=0;break}if(b.t-s>e){o=c;break}c<h-1?c+=1:(o=0,d=!1)}j=this.keyframesMetadata[c]||{};var tt,_,nt,rt,it,ut,_e=b.t-s,et=g.t-s,$;if(g.to){j.bezierData||(j.bezierData=bez.buildBezierData(g.s,b.s||g.e,g.to,g.ti));var st=j.bezierData;if(e>=_e||e<et){var ot=e>=_e?st.points.length-1:0;for(_=st.points[ot].point.length,tt=0;tt<_;tt+=1)a[tt]=st.points[ot].point[tt]}else{j.__fnct?ut=j.__fnct:(ut=BezierFactory.getBezierEasing(g.o.x,g.o.y,g.i.x,g.i.y,g.n).get,j.__fnct=ut),nt=ut((e-et)/(_e-et));var lt=st.segmentLength*nt,ht,pt=i.lastFrame<e&&i._lastKeyframeIndex===c?i._lastAddedLength:0;for(it=i.lastFrame<e&&i._lastKeyframeIndex===c?i._lastPoint:0,d=!0,rt=st.points.length;d;){if(pt+=st.points[it].partialLength,lt===0||nt===0||it===st.points.length-1){for(_=st.points[it].point.length,tt=0;tt<_;tt+=1)a[tt]=st.points[it].point[tt];break}else if(lt>=pt&<<pt+st.points[it+1].partialLength){for(ht=(lt-pt)/st.points[it+1].partialLength,_=st.points[it].point.length,tt=0;tt<_;tt+=1)a[tt]=st.points[it].point[tt]+(st.points[it+1].point[tt]-st.points[it].point[tt])*ht;break}it<rt-1?it+=1:d=!1}i._lastPoint=it,i._lastAddedLength=pt-st.points[it].partialLength,i._lastKeyframeIndex=c}}else{var vt,St,xt,yt,kt;if(h=g.s.length,$=b.s||g.e,this.sh&&g.h!==1)if(e>=_e)a[0]=$[0],a[1]=$[1],a[2]=$[2];else if(e<=et)a[0]=g.s[0],a[1]=g.s[1],a[2]=g.s[2];else{var wt=createQuaternion(g.s),bt=createQuaternion($),ft=(e-et)/(_e-et);quaternionToEuler(a,slerp(wt,bt,ft))}else for(c=0;c<h;c+=1)g.h!==1&&(e>=_e?nt=1:e<et?nt=0:(g.o.x.constructor===Array?(j.__fnct||(j.__fnct=[]),j.__fnct[c]?ut=j.__fnct[c]:(vt=g.o.x[c]===void 0?g.o.x[0]:g.o.x[c],St=g.o.y[c]===void 0?g.o.y[0]:g.o.y[c],xt=g.i.x[c]===void 0?g.i.x[0]:g.i.x[c],yt=g.i.y[c]===void 0?g.i.y[0]:g.i.y[c],ut=BezierFactory.getBezierEasing(vt,St,xt,yt).get,j.__fnct[c]=ut)):j.__fnct?ut=j.__fnct:(vt=g.o.x,St=g.o.y,xt=g.i.x,yt=g.i.y,ut=BezierFactory.getBezierEasing(vt,St,xt,yt).get,g.keyframeMetadata=ut),nt=ut((e-et)/(_e-et)))),$=b.s||g.e,kt=g.h===1?g.s[c]:g.s[c]+($[c]-g.s[c])*nt,this.propType==="multidimensional"?a[c]=kt:a=kt}return i.lastIndex=o,a}function slerp(e,i,s){var a=[],o=e[0],c=e[1],h=e[2],d=e[3],g=i[0],b=i[1],j=i[2],tt=i[3],_,nt,rt,it,ut;return nt=o*g+c*b+h*j+d*tt,nt<0&&(nt=-nt,g=-g,b=-b,j=-j,tt=-tt),1-nt>1e-6?(_=Math.acos(nt),rt=Math.sin(_),it=Math.sin((1-s)*_)/rt,ut=Math.sin(s*_)/rt):(it=1-s,ut=s),a[0]=it*o+ut*g,a[1]=it*c+ut*b,a[2]=it*h+ut*j,a[3]=it*d+ut*tt,a}function quaternionToEuler(e,i){var s=i[0],a=i[1],o=i[2],c=i[3],h=Math.atan2(2*a*c-2*s*o,1-2*a*a-2*o*o),d=Math.asin(2*s*a+2*o*c),g=Math.atan2(2*s*c-2*a*o,1-2*s*s-2*o*o);e[0]=h/degToRads,e[1]=d/degToRads,e[2]=g/degToRads}function createQuaternion(e){var i=e[0]*degToRads,s=e[1]*degToRads,a=e[2]*degToRads,o=Math.cos(i/2),c=Math.cos(s/2),h=Math.cos(a/2),d=Math.sin(i/2),g=Math.sin(s/2),b=Math.sin(a/2),j=o*c*h-d*g*b,tt=d*g*h+o*c*b,_=d*c*h+o*g*b,nt=o*g*h-d*c*b;return[tt,_,nt,j]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,i=this.keyframes[0].t-this.offsetTime,s=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=s&&e>=s||this._caching.lastFrame<i&&e<i))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var a=this.interpolateValue(e,this._caching);this.pv=a}return this._caching.lastFrame=e,this.pv}function setVValue(e){var i;if(this.propType==="unidimensional")i=e*this.mult,mathAbs(this.v-i)>1e-5&&(this.v=i,this._mdf=!0);else for(var s=0,a=this.v.length;s<a;)i=e[s]*this.mult,mathAbs(this.v[s]-i)>1e-5&&(this.v[s]=i,this._mdf=!0),s+=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,i=this.effectsSequence.length,s=this.kf?this.pv:this.data.k;for(e=0;e<i;e+=1)s=this.effectsSequence[e](s);this.setVValue(s),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,i,s,a){this.propType="unidimensional",this.mult=s||1,this.data=i,this.v=s?i.k*s:i.k,this.pv=i.k,this._mdf=!1,this.elem=e,this.container=a,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(e,i,s,a){this.propType="multidimensional",this.mult=s||1,this.data=i,this._mdf=!1,this.elem=e,this.container=a,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o,c=i.k.length;for(this.v=createTypedArray("float32",c),this.pv=createTypedArray("float32",c),this.vel=createTypedArray("float32",c),o=0;o<c;o+=1)this.v[o]=i.k[o]*this.mult,this.pv[o]=i.k[o];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,i,s,a){this.propType="unidimensional",this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=i,this.mult=s||1,this.elem=e,this.container=a,this.comp=e.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(e,i,s,a){this.propType="multidimensional";var o,c=i.k.length,h,d,g,b;for(o=0;o<c-1;o+=1)i.k[o].to&&i.k[o].s&&i.k[o+1]&&i.k[o+1].s&&(h=i.k[o].s,d=i.k[o+1].s,g=i.k[o].to,b=i.k[o].ti,(h.length===2&&!(h[0]===d[0]&&h[1]===d[1])&&bez.pointOnLine2D(h[0],h[1],d[0],d[1],h[0]+g[0],h[1]+g[1])&&bez.pointOnLine2D(h[0],h[1],d[0],d[1],d[0]+b[0],d[1]+b[1])||h.length===3&&!(h[0]===d[0]&&h[1]===d[1]&&h[2]===d[2])&&bez.pointOnLine3D(h[0],h[1],h[2],d[0],d[1],d[2],h[0]+g[0],h[1]+g[1],h[2]+g[2])&&bez.pointOnLine3D(h[0],h[1],h[2],d[0],d[1],d[2],d[0]+b[0],d[1]+b[1],d[2]+b[2]))&&(i.k[o].to=null,i.k[o].ti=null),h[0]===d[0]&&h[1]===d[1]&&g[0]===0&&g[1]===0&&b[0]===0&&b[1]===0&&(h.length===2||h[2]===d[2]&&g[2]===0&&b[2]===0)&&(i.k[o].to=null,i.k[o].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=i,this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=s||1,this.elem=e,this.container=a,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var j=i.k[0].s.length;for(this.v=createTypedArray("float32",j),this.pv=createTypedArray("float32",j),o=0;o<j;o+=1)this.v[o]=initFrame,this.pv[o]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",j)},this.addEffect=addEffect}var PropertyFactory=function(){function e(s,a,o,c,h){a.sid&&(a=s.globalData.slotManager.getProp(a));var d;if(!a.k.length)d=new ValueProperty(s,a,c,h);else if(typeof a.k[0]=="number")d=new MultiDimensionalProperty(s,a,c,h);else switch(o){case 0:d=new KeyframedValueProperty(s,a,c,h);break;case 1:d=new KeyframedMultidimensionalProperty(s,a,c,h);break}return d.effectsSequence.length&&h.addDynamicProperty(d),d}var i={getProp:e};return i}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(i){this.dynamicProperties.indexOf(i)===-1&&(this.dynamicProperties.push(i),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var i,s=this.dynamicProperties.length;for(i=0;i<s;i+=1)this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(i){this.container=i,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function e(){return createTypedArray("float32",2)}return poolFactory(8,e)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,i){this.c=e,this.setLength(i);for(var s=0;s<i;)this.v[s]=pointPool.newElement(),this.o[s]=pointPool.newElement(),this.i[s]=pointPool.newElement(),s+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,i,s,a,o){var c;switch(this._length=Math.max(this._length,a+1),this._length>=this._maxLength&&this.doubleArrayLength(),s){case"v":c=this.v;break;case"i":c=this.i;break;case"o":c=this.o;break;default:c=[];break}(!c[a]||c[a]&&!o)&&(c[a]=pointPool.newElement()),c[a][0]=e,c[a][1]=i},ShapePath.prototype.setTripleAt=function(e,i,s,a,o,c,h,d){this.setXYAt(e,i,"v",h,d),this.setXYAt(s,a,"o",h,d),this.setXYAt(o,c,"i",h,d)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var i=this.v,s=this.o,a=this.i,o=0;this.c&&(e.setTripleAt(i[0][0],i[0][1],a[0][0],a[0][1],s[0][0],s[0][1],0,!1),o=1);var c=this._length-1,h=this._length,d;for(d=o;d<h;d+=1)e.setTripleAt(i[c][0],i[c][1],a[c][0],a[c][1],s[c][0],s[c][1],d,!1),c-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function e(){return new ShapePath}function i(o){var c=o._length,h;for(h=0;h<c;h+=1)pointPool.release(o.v[h]),pointPool.release(o.i[h]),pointPool.release(o.o[h]),o.v[h]=null,o.i[h]=null,o.o[h]=null;o._length=0,o.c=!1}function s(o){var c=a.newElement(),h,d=o._length===void 0?o.v.length:o._length;for(c.setLength(d),c.c=o.c,h=0;h<d;h+=1)c.setTripleAt(o.v[h][0],o.v[h][1],o.o[h][0],o.o[h][1],o.i[h][0],o.i[h][1],h);return c}var a=poolFactory(4,e,i);return a.clone=s,a}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:o,release:c},i=0,s=4,a=createSizedArray(s);function o(){var h;return i?(i-=1,h=a[i]):h=new ShapeCollection,h}function c(h){var d,g=h._length;for(d=0;d<g;d+=1)shapePool.release(h.shapes[d]);h._length=0,i===s&&(a=pooling.double(a),s*=2),a[i]=h,i+=1}return e}(),ShapePropertyFactory=function(){var e=-999999;function i(_e,et,$){var st=$.lastIndex,ot,lt,ht,pt,vt,St,xt,yt,kt,wt=this.keyframes;if(_e<wt[0].t-this.offsetTime)ot=wt[0].s[0],ht=!0,st=0;else if(_e>=wt[wt.length-1].t-this.offsetTime)ot=wt[wt.length-1].s?wt[wt.length-1].s[0]:wt[wt.length-2].e[0],ht=!0;else{for(var bt=st,ft=wt.length-1,dt=!0,at,ct,gt;dt&&(at=wt[bt],ct=wt[bt+1],!(ct.t-this.offsetTime>_e));)bt<ft-1?bt+=1:dt=!1;if(gt=this.keyframesMetadata[bt]||{},ht=at.h===1,st=bt,!ht){if(_e>=ct.t-this.offsetTime)yt=1;else if(_e<at.t-this.offsetTime)yt=0;else{var mt;gt.__fnct?mt=gt.__fnct:(mt=BezierFactory.getBezierEasing(at.o.x,at.o.y,at.i.x,at.i.y).get,gt.__fnct=mt),yt=mt((_e-(at.t-this.offsetTime))/(ct.t-this.offsetTime-(at.t-this.offsetTime)))}lt=ct.s?ct.s[0]:at.e[0]}ot=at.s[0]}for(St=et._length,xt=ot.i[0].length,$.lastIndex=st,pt=0;pt<St;pt+=1)for(vt=0;vt<xt;vt+=1)kt=ht?ot.i[pt][vt]:ot.i[pt][vt]+(lt.i[pt][vt]-ot.i[pt][vt])*yt,et.i[pt][vt]=kt,kt=ht?ot.o[pt][vt]:ot.o[pt][vt]+(lt.o[pt][vt]-ot.o[pt][vt])*yt,et.o[pt][vt]=kt,kt=ht?ot.v[pt][vt]:ot.v[pt][vt]+(lt.v[pt][vt]-ot.v[pt][vt])*yt,et.v[pt][vt]=kt}function s(){var _e=this.comp.renderedFrame-this.offsetTime,et=this.keyframes[0].t-this.offsetTime,$=this.keyframes[this.keyframes.length-1].t-this.offsetTime,st=this._caching.lastFrame;return st!==e&&(st<et&&_e<et||st>$&&_e>$)||(this._caching.lastIndex=st<_e?this._caching.lastIndex:0,this.interpolateShape(_e,this.pv,this._caching)),this._caching.lastFrame=_e,this.pv}function a(){this.paths=this.localShapeCollection}function o(_e,et){if(_e._length!==et._length||_e.c!==et.c)return!1;var $,st=_e._length;for($=0;$<st;$+=1)if(_e.v[$][0]!==et.v[$][0]||_e.v[$][1]!==et.v[$][1]||_e.o[$][0]!==et.o[$][0]||_e.o[$][1]!==et.o[$][1]||_e.i[$][0]!==et.i[$][0]||_e.i[$][1]!==et.i[$][1])return!1;return!0}function c(_e){o(this.v,_e)||(this.v=shapePool.clone(_e),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function h(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var _e;this.kf?_e=this.pv:this.data.ks?_e=this.data.ks.k:_e=this.data.pt.k;var et,$=this.effectsSequence.length;for(et=0;et<$;et+=1)_e=this.effectsSequence[et](_e);this.setVValue(_e),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function d(_e,et,$){this.propType="shape",this.comp=_e.comp,this.container=_e,this.elem=_e,this.data=et,this.k=!1,this.kf=!1,this._mdf=!1;var st=$===3?et.pt.k:et.ks.k;this.v=shapePool.clone(st),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=a,this.effectsSequence=[]}function g(_e){this.effectsSequence.push(_e),this.container.addDynamicProperty(this)}d.prototype.interpolateShape=i,d.prototype.getValue=h,d.prototype.setVValue=c,d.prototype.addEffect=g;function b(_e,et,$){this.propType="shape",this.comp=_e.comp,this.elem=_e,this.container=_e,this.offsetTime=_e.data.st,this.keyframes=$===3?et.pt.k:et.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var st=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,st),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=a,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[s.bind(this)]}b.prototype.getValue=h,b.prototype.interpolateShape=i,b.prototype.setVValue=c,b.prototype.addEffect=g;var j=function(){var _e=roundCorner;function et($,st){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=st.d,this.elem=$,this.comp=$.comp,this.frameId=-1,this.initDynamicPropertyContainer($),this.p=PropertyFactory.getProp($,st.p,1,0,this),this.s=PropertyFactory.getProp($,st.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return et.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var st=this.p.v[0],ot=this.p.v[1],lt=this.s.v[0]/2,ht=this.s.v[1]/2,pt=this.d!==3,vt=this.v;vt.v[0][0]=st,vt.v[0][1]=ot-ht,vt.v[1][0]=pt?st+lt:st-lt,vt.v[1][1]=ot,vt.v[2][0]=st,vt.v[2][1]=ot+ht,vt.v[3][0]=pt?st-lt:st+lt,vt.v[3][1]=ot,vt.i[0][0]=pt?st-lt*_e:st+lt*_e,vt.i[0][1]=ot-ht,vt.i[1][0]=pt?st+lt:st-lt,vt.i[1][1]=ot-ht*_e,vt.i[2][0]=pt?st+lt*_e:st-lt*_e,vt.i[2][1]=ot+ht,vt.i[3][0]=pt?st-lt:st+lt,vt.i[3][1]=ot+ht*_e,vt.o[0][0]=pt?st+lt*_e:st-lt*_e,vt.o[0][1]=ot-ht,vt.o[1][0]=pt?st+lt:st-lt,vt.o[1][1]=ot+ht*_e,vt.o[2][0]=pt?st-lt*_e:st+lt*_e,vt.o[2][1]=ot+ht,vt.o[3][0]=pt?st-lt:st+lt,vt.o[3][1]=ot-ht*_e}},extendPrototype([DynamicPropertyContainer],et),et}(),tt=function(){function _e(et,$){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=et,this.comp=et.comp,this.data=$,this.frameId=-1,this.d=$.d,this.initDynamicPropertyContainer(et),$.sy===1?(this.ir=PropertyFactory.getProp(et,$.ir,0,0,this),this.is=PropertyFactory.getProp(et,$.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(et,$.pt,0,0,this),this.p=PropertyFactory.getProp(et,$.p,1,0,this),this.r=PropertyFactory.getProp(et,$.r,0,degToRads,this),this.or=PropertyFactory.getProp(et,$.or,0,0,this),this.os=PropertyFactory.getProp(et,$.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return _e.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var $=Math.floor(this.pt.v)*2,st=Math.PI*2/$,ot=!0,lt=this.or.v,ht=this.ir.v,pt=this.os.v,vt=this.is.v,St=2*Math.PI*lt/($*2),xt=2*Math.PI*ht/($*2),yt,kt,wt,bt,ft=-Math.PI/2;ft+=this.r.v;var dt=this.data.d===3?-1:1;for(this.v._length=0,yt=0;yt<$;yt+=1){kt=ot?lt:ht,wt=ot?pt:vt,bt=ot?St:xt;var at=kt*Math.cos(ft),ct=kt*Math.sin(ft),gt=at===0&&ct===0?0:ct/Math.sqrt(at*at+ct*ct),mt=at===0&&ct===0?0:-at/Math.sqrt(at*at+ct*ct);at+=+this.p.v[0],ct+=+this.p.v[1],this.v.setTripleAt(at,ct,at-gt*bt*wt*dt,ct-mt*bt*wt*dt,at+gt*bt*wt*dt,ct+mt*bt*wt*dt,yt,!0),ot=!ot,ft+=st*dt}},convertPolygonToPath:function(){var $=Math.floor(this.pt.v),st=Math.PI*2/$,ot=this.or.v,lt=this.os.v,ht=2*Math.PI*ot/($*4),pt,vt=-Math.PI*.5,St=this.data.d===3?-1:1;for(vt+=this.r.v,this.v._length=0,pt=0;pt<$;pt+=1){var xt=ot*Math.cos(vt),yt=ot*Math.sin(vt),kt=xt===0&&yt===0?0:yt/Math.sqrt(xt*xt+yt*yt),wt=xt===0&&yt===0?0:-xt/Math.sqrt(xt*xt+yt*yt);xt+=+this.p.v[0],yt+=+this.p.v[1],this.v.setTripleAt(xt,yt,xt-kt*ht*lt*St,yt-wt*ht*lt*St,xt+kt*ht*lt*St,yt+wt*ht*lt*St,pt,!0),vt+=st*St}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],_e),_e}(),_=function(){function _e(et,$){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=et,this.comp=et.comp,this.frameId=-1,this.d=$.d,this.initDynamicPropertyContainer(et),this.p=PropertyFactory.getProp(et,$.p,1,0,this),this.s=PropertyFactory.getProp(et,$.s,1,0,this),this.r=PropertyFactory.getProp(et,$.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return _e.prototype={convertRectToPath:function(){var $=this.p.v[0],st=this.p.v[1],ot=this.s.v[0]/2,lt=this.s.v[1]/2,ht=bmMin(ot,lt,this.r.v),pt=ht*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt($+ot,st-lt+ht,$+ot,st-lt+ht,$+ot,st-lt+pt,0,!0),this.v.setTripleAt($+ot,st+lt-ht,$+ot,st+lt-pt,$+ot,st+lt-ht,1,!0),ht!==0?(this.v.setTripleAt($+ot-ht,st+lt,$+ot-ht,st+lt,$+ot-pt,st+lt,2,!0),this.v.setTripleAt($-ot+ht,st+lt,$-ot+pt,st+lt,$-ot+ht,st+lt,3,!0),this.v.setTripleAt($-ot,st+lt-ht,$-ot,st+lt-ht,$-ot,st+lt-pt,4,!0),this.v.setTripleAt($-ot,st-lt+ht,$-ot,st-lt+pt,$-ot,st-lt+ht,5,!0),this.v.setTripleAt($-ot+ht,st-lt,$-ot+ht,st-lt,$-ot+pt,st-lt,6,!0),this.v.setTripleAt($+ot-ht,st-lt,$+ot-pt,st-lt,$+ot-ht,st-lt,7,!0)):(this.v.setTripleAt($-ot,st+lt,$-ot+pt,st+lt,$-ot,st+lt,2),this.v.setTripleAt($-ot,st-lt,$-ot,st-lt+pt,$-ot,st-lt,3))):(this.v.setTripleAt($+ot,st-lt+ht,$+ot,st-lt+pt,$+ot,st-lt+ht,0,!0),ht!==0?(this.v.setTripleAt($+ot-ht,st-lt,$+ot-ht,st-lt,$+ot-pt,st-lt,1,!0),this.v.setTripleAt($-ot+ht,st-lt,$-ot+pt,st-lt,$-ot+ht,st-lt,2,!0),this.v.setTripleAt($-ot,st-lt+ht,$-ot,st-lt+ht,$-ot,st-lt+pt,3,!0),this.v.setTripleAt($-ot,st+lt-ht,$-ot,st+lt-pt,$-ot,st+lt-ht,4,!0),this.v.setTripleAt($-ot+ht,st+lt,$-ot+ht,st+lt,$-ot+pt,st+lt,5,!0),this.v.setTripleAt($+ot-ht,st+lt,$+ot-pt,st+lt,$+ot-ht,st+lt,6,!0),this.v.setTripleAt($+ot,st+lt-ht,$+ot,st+lt-ht,$+ot,st+lt-pt,7,!0)):(this.v.setTripleAt($-ot,st-lt,$-ot+pt,st-lt,$-ot,st-lt,1,!0),this.v.setTripleAt($-ot,st+lt,$-ot,st+lt-pt,$-ot,st+lt,2,!0),this.v.setTripleAt($+ot,st+lt,$+ot-pt,st+lt,$+ot,st+lt,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:a},extendPrototype([DynamicPropertyContainer],_e),_e}();function nt(_e,et,$){var st;if($===3||$===4){var ot=$===3?et.pt:et.ks,lt=ot.k;lt.length?st=new b(_e,et,$):st=new d(_e,et,$)}else $===5?st=new _(_e,et):$===6?st=new j(_e,et):$===7&&(st=new tt(_e,et));return st.k&&_e.addDynamicProperty(st),st}function rt(){return d}function it(){return b}var ut={};return ut.getShapeProp=nt,ut.getConstructorFunction=rt,ut.getKeyframedConstructorFunction=it,ut}();/*! 50 Transformation Matrix v2.0 51 (c) Epistemex 2014-2015 52 www.epistemex.com 53 By Ken Fyrstenberg 54 Contributions by leeoniya. 55 License: MIT, header required. 56 */var Matrix=function(){var e=Math.cos,i=Math.sin,s=Math.tan,a=Math.round;function o(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function c(at){if(at===0)return this;var ct=e(at),gt=i(at);return this._t(ct,-gt,0,0,gt,ct,0,0,0,0,1,0,0,0,0,1)}function h(at){if(at===0)return this;var ct=e(at),gt=i(at);return this._t(1,0,0,0,0,ct,-gt,0,0,gt,ct,0,0,0,0,1)}function d(at){if(at===0)return this;var ct=e(at),gt=i(at);return this._t(ct,0,gt,0,0,1,0,0,-gt,0,ct,0,0,0,0,1)}function g(at){if(at===0)return this;var ct=e(at),gt=i(at);return this._t(ct,-gt,0,0,gt,ct,0,0,0,0,1,0,0,0,0,1)}function b(at,ct){return this._t(1,ct,at,1,0,0)}function j(at,ct){return this.shear(s(at),s(ct))}function tt(at,ct){var gt=e(ct),mt=i(ct);return this._t(gt,mt,0,0,-mt,gt,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,s(at),1,0,0,0,0,1,0,0,0,0,1)._t(gt,-mt,0,0,mt,gt,0,0,0,0,1,0,0,0,0,1)}function _(at,ct,gt){return!gt&>!==0&&(gt=1),at===1&&ct===1&>===1?this:this._t(at,0,0,0,0,ct,0,0,0,0,gt,0,0,0,0,1)}function nt(at,ct,gt,mt,Et,Pt,Ct,jt,At,Mt,It,Bt,Ft,_t,Nt,Rt){return this.props[0]=at,this.props[1]=ct,this.props[2]=gt,this.props[3]=mt,this.props[4]=Et,this.props[5]=Pt,this.props[6]=Ct,this.props[7]=jt,this.props[8]=At,this.props[9]=Mt,this.props[10]=It,this.props[11]=Bt,this.props[12]=Ft,this.props[13]=_t,this.props[14]=Nt,this.props[15]=Rt,this}function rt(at,ct,gt){return gt=gt||0,at!==0||ct!==0||gt!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,at,ct,gt,1):this}function it(at,ct,gt,mt,Et,Pt,Ct,jt,At,Mt,It,Bt,Ft,_t,Nt,Rt){var Tt=this.props;if(at===1&&ct===0&>===0&&mt===0&&Et===0&&Pt===1&&Ct===0&&jt===0&&At===0&&Mt===0&&It===1&&Bt===0)return Tt[12]=Tt[12]*at+Tt[15]*Ft,Tt[13]=Tt[13]*Pt+Tt[15]*_t,Tt[14]=Tt[14]*It+Tt[15]*Nt,Tt[15]*=Rt,this._identityCalculated=!1,this;var zt=Tt[0],Wt=Tt[1],Gt=Tt[2],Ot=Tt[3],Ht=Tt[4],$t=Tt[5],Vt=Tt[6],Ut=Tt[7],Kt=Tt[8],Dt=Tt[9],qt=Tt[10],Lt=Tt[11],Xt=Tt[12],Yt=Tt[13],Qt=Tt[14],Zt=Tt[15];return Tt[0]=zt*at+Wt*Et+Gt*At+Ot*Ft,Tt[1]=zt*ct+Wt*Pt+Gt*Mt+Ot*_t,Tt[2]=zt*gt+Wt*Ct+Gt*It+Ot*Nt,Tt[3]=zt*mt+Wt*jt+Gt*Bt+Ot*Rt,Tt[4]=Ht*at+$t*Et+Vt*At+Ut*Ft,Tt[5]=Ht*ct+$t*Pt+Vt*Mt+Ut*_t,Tt[6]=Ht*gt+$t*Ct+Vt*It+Ut*Nt,Tt[7]=Ht*mt+$t*jt+Vt*Bt+Ut*Rt,Tt[8]=Kt*at+Dt*Et+qt*At+Lt*Ft,Tt[9]=Kt*ct+Dt*Pt+qt*Mt+Lt*_t,Tt[10]=Kt*gt+Dt*Ct+qt*It+Lt*Nt,Tt[11]=Kt*mt+Dt*jt+qt*Bt+Lt*Rt,Tt[12]=Xt*at+Yt*Et+Qt*At+Zt*Ft,Tt[13]=Xt*ct+Yt*Pt+Qt*Mt+Zt*_t,Tt[14]=Xt*gt+Yt*Ct+Qt*It+Zt*Nt,Tt[15]=Xt*mt+Yt*jt+Qt*Bt+Zt*Rt,this._identityCalculated=!1,this}function ut(at){var ct=at.props;return this.transform(ct[0],ct[1],ct[2],ct[3],ct[4],ct[5],ct[6],ct[7],ct[8],ct[9],ct[10],ct[11],ct[12],ct[13],ct[14],ct[15])}function _e(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function et(at){for(var ct=0;ct<16;){if(at.props[ct]!==this.props[ct])return!1;ct+=1}return!0}function $(at){var ct;for(ct=0;ct<16;ct+=1)at.props[ct]=this.props[ct];return at}function st(at){var ct;for(ct=0;ct<16;ct+=1)this.props[ct]=at[ct]}function ot(at,ct,gt){return{x:at*this.props[0]+ct*this.props[4]+gt*this.props[8]+this.props[12],y:at*this.props[1]+ct*this.props[5]+gt*this.props[9]+this.props[13],z:at*this.props[2]+ct*this.props[6]+gt*this.props[10]+this.props[14]}}function lt(at,ct,gt){return at*this.props[0]+ct*this.props[4]+gt*this.props[8]+this.props[12]}function ht(at,ct,gt){return at*this.props[1]+ct*this.props[5]+gt*this.props[9]+this.props[13]}function pt(at,ct,gt){return at*this.props[2]+ct*this.props[6]+gt*this.props[10]+this.props[14]}function vt(){var at=this.props[0]*this.props[5]-this.props[1]*this.props[4],ct=this.props[5]/at,gt=-this.props[1]/at,mt=-this.props[4]/at,Et=this.props[0]/at,Pt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/at,Ct=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/at,jt=new Matrix;return jt.props[0]=ct,jt.props[1]=gt,jt.props[4]=mt,jt.props[5]=Et,jt.props[12]=Pt,jt.props[13]=Ct,jt}function St(at){var ct=this.getInverseMatrix();return ct.applyToPointArray(at[0],at[1],at[2]||0)}function xt(at){var ct,gt=at.length,mt=[];for(ct=0;ct<gt;ct+=1)mt[ct]=St(at[ct]);return mt}function yt(at,ct,gt){var mt=createTypedArray("float32",6);if(this.isIdentity())mt[0]=at[0],mt[1]=at[1],mt[2]=ct[0],mt[3]=ct[1],mt[4]=gt[0],mt[5]=gt[1];else{var Et=this.props[0],Pt=this.props[1],Ct=this.props[4],jt=this.props[5],At=this.props[12],Mt=this.props[13];mt[0]=at[0]*Et+at[1]*Ct+At,mt[1]=at[0]*Pt+at[1]*jt+Mt,mt[2]=ct[0]*Et+ct[1]*Ct+At,mt[3]=ct[0]*Pt+ct[1]*jt+Mt,mt[4]=gt[0]*Et+gt[1]*Ct+At,mt[5]=gt[0]*Pt+gt[1]*jt+Mt}return mt}function kt(at,ct,gt){var mt;return this.isIdentity()?mt=[at,ct,gt]:mt=[at*this.props[0]+ct*this.props[4]+gt*this.props[8]+this.props[12],at*this.props[1]+ct*this.props[5]+gt*this.props[9]+this.props[13],at*this.props[2]+ct*this.props[6]+gt*this.props[10]+this.props[14]],mt}function wt(at,ct){if(this.isIdentity())return at+","+ct;var gt=this.props;return Math.round((at*gt[0]+ct*gt[4]+gt[12])*100)/100+","+Math.round((at*gt[1]+ct*gt[5]+gt[13])*100)/100}function bt(){for(var at=0,ct=this.props,gt="matrix3d(",mt=1e4;at<16;)gt+=a(ct[at]*mt)/mt,gt+=at===15?")":",",at+=1;return gt}function ft(at){var ct=1e4;return at<1e-6&&at>0||at>-1e-6&&at<0?a(at*ct)/ct:at}function dt(){var at=this.props,ct=ft(at[0]),gt=ft(at[1]),mt=ft(at[4]),Et=ft(at[5]),Pt=ft(at[12]),Ct=ft(at[13]);return"matrix("+ct+","+gt+","+mt+","+Et+","+Pt+","+Ct+")"}return function(){this.reset=o,this.rotate=c,this.rotateX=h,this.rotateY=d,this.rotateZ=g,this.skew=j,this.skewFromAxis=tt,this.shear=b,this.scale=_,this.setTransform=nt,this.translate=rt,this.transform=it,this.multiply=ut,this.applyToPoint=ot,this.applyToX=lt,this.applyToY=ht,this.applyToZ=pt,this.applyToPointArray=kt,this.applyToTriplePoints=yt,this.applyToPointStringified=wt,this.toCSS=bt,this.to2dCSS=dt,this.clone=$,this.cloneFromProps=st,this.equals=et,this.inversePoints=xt,this.inversePoint=St,this.getInverseMatrix=vt,this._t=this.transform,this.isIdentity=_e,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){"@babel/helpers - typeof";return _typeof$3=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$3(e)}var lottie={};function setLocation(e){setLocationHref(e)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return 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)}function inBrowser(){return typeof navigator<"u"}function installPlugin(e,i){e==="expressions"&&setExpressionsPlugin(i)}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.13.0";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var i=queryString.split("&"),s=0;s<i.length;s+=1){var a=i[s].split("=");if(decodeURIComponent(a[0])==e)return decodeURIComponent(a[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports$1)!=="object"&&(window.bodymovin=lottie)}catch(e){}var ShapeModifiers=function(){var e={},i={};e.registerModifier=s,e.getModifier=a;function s(o,c){i[o]||(i[o]=c)}function a(o,c,h){return new i[o](c,h)}return e}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var i={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(i),this.addShapeToModifier(i),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,i){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,i),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,i){this.s=PropertyFactory.getProp(e,i.s,0,.01,this),this.e=PropertyFactory.getProp(e,i.e,0,.01,this),this.o=PropertyFactory.getProp(e,i.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=i.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,i,s,a,o){var c=[];i<=1?c.push({s:e,e:i}):e>=1?c.push({s:e-1,e:i-1}):(c.push({s:e,e:1}),c.push({s:0,e:i-1}));var h=[],d,g=c.length,b;for(d=0;d<g;d+=1)if(b=c[d],!(b.e*o<a||b.s*o>a+s)){var j,tt;b.s*o<=a?j=0:j=(b.s*o-a)/s,b.e*o>=a+s?tt=1:tt=(b.e*o-a)/s,h.push([j,tt])}return h.length||h.push([0,0]),h},TrimModifier.prototype.releasePathsData=function(e){var i,s=e.length;for(i=0;i<s;i+=1)segmentsLengthPool.release(e[i]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var i,s;if(this._mdf||e){var a=this.o.v%360/360;if(a<0&&(a+=1),this.s.v>1?i=1+a:this.s.v<0?i=0+a:i=this.s.v+a,this.e.v>1?s=1+a:this.e.v<0?s=0+a:s=this.e.v+a,i>s){var o=i;i=s,s=o}i=Math.round(i*1e4)*1e-4,s=Math.round(s*1e4)*1e-4,this.sValue=i,this.eValue=s}else i=this.sValue,s=this.eValue;var c,h,d=this.shapes.length,g,b,j,tt,_,nt=0;if(s===i)for(h=0;h<d;h+=1)this.shapes[h].localShapeCollection.releaseShapes(),this.shapes[h].shape._mdf=!0,this.shapes[h].shape.paths=this.shapes[h].localShapeCollection,this._mdf&&(this.shapes[h].pathsData.length=0);else if(s===1&&i===0||s===0&&i===1){if(this._mdf)for(h=0;h<d;h+=1)this.shapes[h].pathsData.length=0,this.shapes[h].shape._mdf=!0}else{var rt=[],it,ut;for(h=0;h<d;h+=1)if(it=this.shapes[h],!it.shape._mdf&&!this._mdf&&!e&&this.m!==2)it.shape.paths=it.localShapeCollection;else{if(c=it.shape.paths,b=c._length,_=0,!it.shape._mdf&&it.pathsData.length)_=it.totalShapeLength;else{for(j=this.releasePathsData(it.pathsData),g=0;g<b;g+=1)tt=bez.getSegmentsLength(c.shapes[g]),j.push(tt),_+=tt.totalLength;it.totalShapeLength=_,it.pathsData=j}nt+=_,it.shape._mdf=!0}var _e=i,et=s,$=0,st;for(h=d-1;h>=0;h-=1)if(it=this.shapes[h],it.shape._mdf){for(ut=it.localShapeCollection,ut.releaseShapes(),this.m===2&&d>1?(st=this.calculateShapeEdges(i,s,it.totalShapeLength,$,nt),$+=it.totalShapeLength):st=[[_e,et]],b=st.length,g=0;g<b;g+=1){_e=st[g][0],et=st[g][1],rt.length=0,et<=1?rt.push({s:it.totalShapeLength*_e,e:it.totalShapeLength*et}):_e>=1?rt.push({s:it.totalShapeLength*(_e-1),e:it.totalShapeLength*(et-1)}):(rt.push({s:it.totalShapeLength*_e,e:it.totalShapeLength}),rt.push({s:0,e:it.totalShapeLength*(et-1)}));var ot=this.addShapes(it,rt[0]);if(rt[0].s!==rt[0].e){if(rt.length>1){var lt=it.shape.paths.shapes[it.shape.paths._length-1];if(lt.c){var ht=ot.pop();this.addPaths(ot,ut),ot=this.addShapes(it,rt[1],ht)}else this.addPaths(ot,ut),ot=this.addShapes(it,rt[1])}this.addPaths(ot,ut)}}it.shape.paths=ut}}},TrimModifier.prototype.addPaths=function(e,i){var s,a=e.length;for(s=0;s<a;s+=1)i.addShape(e[s])},TrimModifier.prototype.addSegment=function(e,i,s,a,o,c,h){o.setXYAt(i[0],i[1],"o",c),o.setXYAt(s[0],s[1],"i",c+1),h&&o.setXYAt(e[0],e[1],"v",c),o.setXYAt(a[0],a[1],"v",c+1)},TrimModifier.prototype.addSegmentFromArray=function(e,i,s,a){i.setXYAt(e[1],e[5],"o",s),i.setXYAt(e[2],e[6],"i",s+1),a&&i.setXYAt(e[0],e[4],"v",s),i.setXYAt(e[3],e[7],"v",s+1)},TrimModifier.prototype.addShapes=function(e,i,s){var a=e.pathsData,o=e.shape.paths.shapes,c,h=e.shape.paths._length,d,g,b=0,j,tt,_,nt,rt=[],it,ut=!0;for(s?(tt=s._length,it=s._length):(s=shapePool.newElement(),tt=0,it=0),rt.push(s),c=0;c<h;c+=1){for(_=a[c].lengths,s.c=o[c].c,g=o[c].c?_.length:_.length+1,d=1;d<g;d+=1)if(j=_[d-1],b+j.addedLength<i.s)b+=j.addedLength,s.c=!1;else if(b>i.e){s.c=!1;break}else i.s<=b&&i.e>=b+j.addedLength?(this.addSegment(o[c].v[d-1],o[c].o[d-1],o[c].i[d],o[c].v[d],s,tt,ut),ut=!1):(nt=bez.getNewSegment(o[c].v[d-1],o[c].v[d],o[c].o[d-1],o[c].i[d],(i.s-b)/j.addedLength,(i.e-b)/j.addedLength,_[d-1]),this.addSegmentFromArray(nt,s,tt,ut),ut=!1,s.c=!1),b+=j.addedLength,tt+=1;if(o[c].c&&_.length){if(j=_[d-1],b<=i.e){var _e=_[d-1].addedLength;i.s<=b&&i.e>=b+_e?(this.addSegment(o[c].v[d-1],o[c].o[d-1],o[c].i[0],o[c].v[0],s,tt,ut),ut=!1):(nt=bez.getNewSegment(o[c].v[d-1],o[c].v[0],o[c].o[d-1],o[c].i[0],(i.s-b)/_e,(i.e-b)/_e,_[d-1]),this.addSegmentFromArray(nt,s,tt,ut),ut=!1,s.c=!1)}else s.c=!1;b+=j.addedLength,tt+=1}if(s._length&&(s.setXYAt(s.v[it][0],s.v[it][1],"i",it),s.setXYAt(s.v[s._length-1][0],s.v[s._length-1][1],"o",s._length-1)),b>i.e)break;c<h-1&&(s=shapePool.newElement(),ut=!0,rt.push(s),tt=0)}return rt};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,i.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,i){var s=i/100,a=[0,0],o=e._length,c=0;for(c=0;c<o;c+=1)a[0]+=e.v[c][0],a[1]+=e.v[c][1];a[0]/=o,a[1]/=o;var h=shapePool.newElement();h.c=e.c;var d,g,b,j,tt,_;for(c=0;c<o;c+=1)d=e.v[c][0]+(a[0]-e.v[c][0])*s,g=e.v[c][1]+(a[1]-e.v[c][1])*s,b=e.o[c][0]+(a[0]-e.o[c][0])*-s,j=e.o[c][1]+(a[1]-e.o[c][1])*-s,tt=e.i[c][0]+(a[0]-e.i[c][0])*-s,_=e.i[c][1]+(a[1]-e.i[c][1])*-s,h.setTripleAt(d,g,b,j,tt,_,c);return h},PuckerAndBloatModifier.prototype.processShapes=function(e){var i,s,a=this.shapes.length,o,c,h=this.amount.v;if(h!==0){var d,g;for(s=0;s<a;s+=1){if(d=this.shapes[s],g=d.localShapeCollection,!(!d.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),d.shape._mdf=!0,i=d.shape.paths.shapes,c=d.shape.paths._length,o=0;o<c;o+=1)g.addShape(this.processPath(i[o],h));d.shape.paths=d.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function i(g){var b=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||b,this.a&&g.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&g.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&g.skewFromAxis(-this.sk.v,this.sa.v),this.r?g.rotate(-this.r.v):g.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.data.p.s?this.data.p.z?g.translate(this.px.v,this.py.v,-this.pz.v):g.translate(this.px.v,this.py.v,0):g.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function s(g){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||g){var b;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.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.autoOriented){var j,tt;if(b=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(j=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/b,0),tt=this.p.getValueAtTime(this.p.keyframes[0].t/b,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(j=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/b,0),tt=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/b,0)):(j=this.p.pv,tt=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/b,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){j=[],tt=[];var _=this.px,nt=this.py;_._caching.lastFrame+_.offsetTime<=_.keyframes[0].t?(j[0]=_.getValueAtTime((_.keyframes[0].t+.01)/b,0),j[1]=nt.getValueAtTime((nt.keyframes[0].t+.01)/b,0),tt[0]=_.getValueAtTime(_.keyframes[0].t/b,0),tt[1]=nt.getValueAtTime(nt.keyframes[0].t/b,0)):_._caching.lastFrame+_.offsetTime>=_.keyframes[_.keyframes.length-1].t?(j[0]=_.getValueAtTime(_.keyframes[_.keyframes.length-1].t/b,0),j[1]=nt.getValueAtTime(nt.keyframes[nt.keyframes.length-1].t/b,0),tt[0]=_.getValueAtTime((_.keyframes[_.keyframes.length-1].t-.01)/b,0),tt[1]=nt.getValueAtTime((nt.keyframes[nt.keyframes.length-1].t-.01)/b,0)):(j=[_.pv,nt.pv],tt[0]=_.getValueAtTime((_._caching.lastFrame+_.offsetTime-.01)/b,_.offsetTime),tt[1]=nt.getValueAtTime((nt._caching.lastFrame+nt.offsetTime-.01)/b,nt.offsetTime))}else tt=e,j=tt;this.v.rotate(-Math.atan2(j[1]-tt[1],j[0]-tt[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function a(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function o(){}function c(g){this._addDynamicProperty(g),this.elem.addDynamicProperty(g),this._isDirty=!0}function h(g,b,j){if(this.elem=g,this.frameId=-1,this.propType="transform",this.data=b,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(j||g),b.p&&b.p.s?(this.px=PropertyFactory.getProp(g,b.p.x,0,0,this),this.py=PropertyFactory.getProp(g,b.p.y,0,0,this),b.p.z&&(this.pz=PropertyFactory.getProp(g,b.p.z,0,0,this))):this.p=PropertyFactory.getProp(g,b.p||{k:[0,0,0]},1,0,this),b.rx){if(this.rx=PropertyFactory.getProp(g,b.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(g,b.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(g,b.rz,0,degToRads,this),b.or.k[0].ti){var tt,_=b.or.k.length;for(tt=0;tt<_;tt+=1)b.or.k[tt].to=null,b.or.k[tt].ti=null}this.or=PropertyFactory.getProp(g,b.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(g,b.r||{k:0},0,degToRads,this);b.sk&&(this.sk=PropertyFactory.getProp(g,b.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(g,b.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(g,b.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(g,b.s||{k:[100,100,100]},1,.01,this),b.o?this.o=PropertyFactory.getProp(g,b.o,0,.01,g):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}h.prototype={applyToMatrix:i,getValue:s,precalculateMatrix:a,autoOrient:o},extendPrototype([DynamicPropertyContainer],h),h.prototype.addDynamicProperty=c,h.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function d(g,b,j){return new h(g,b,j)}return{getTransformProperty:d}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,i.c,0,null,this),this.o=PropertyFactory.getProp(e,i.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,i.tr,this),this.so=PropertyFactory.getProp(e,i.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,i.tr.eo,0,.01,this),this.data=i,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,i,s,a,o,c){var h=c?-1:1,d=a.s.v[0]+(1-a.s.v[0])*(1-o),g=a.s.v[1]+(1-a.s.v[1])*(1-o);e.translate(a.p.v[0]*h*o,a.p.v[1]*h*o,a.p.v[2]),i.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),i.rotate(-a.r.v*h*o),i.translate(a.a.v[0],a.a.v[1],a.a.v[2]),s.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),s.scale(c?1/d:d,c?1/g:g),s.translate(a.a.v[0],a.a.v[1],a.a.v[2])},RepeaterModifier.prototype.init=function(e,i,s,a){for(this.elem=e,this.arr=i,this.pos=s,this.elemsData=a,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,i[s]);s>0;)s-=1,this._elements.unshift(i[s]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var i,s=e.length;for(i=0;i<s;i+=1)e[i]._processed=!1,e[i].ty==="gr"&&this.resetElements(e[i].it)},RepeaterModifier.prototype.cloneElements=function(e){var i=JSON.parse(JSON.stringify(e));return this.resetElements(i),i},RepeaterModifier.prototype.changeGroupRender=function(e,i){var s,a=e.length;for(s=0;s<a;s+=1)e[s]._render=i,e[s].ty==="gr"&&this.changeGroupRender(e[s].it,i)},RepeaterModifier.prototype.processShapes=function(e){var i,s,a,o,c,h=!1;if(this._mdf||e){var d=Math.ceil(this.c.v);if(this._groups.length<d){for(;this._groups.length<d;){var g={it:this.cloneElements(this._elements),ty:"gr"};g.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,g),this._groups.splice(0,0,g),this._currentCopies+=1}this.elem.reloadShapes(),h=!0}c=0;var b;for(a=0;a<=this._groups.length-1;a+=1){if(b=c<d,this._groups[a]._render=b,this.changeGroupRender(this._groups[a].it,b),!b){var j=this.elemsData[a].it,tt=j[j.length-1];tt.transform.op.v!==0?(tt.transform.op._mdf=!0,tt.transform.op.v=0):tt.transform.op._mdf=!1}c+=1}this._currentCopies=d;var _=this.o.v,nt=_%1,rt=_>0?Math.floor(_):Math.ceil(_),it=this.pMatrix.props,ut=this.rMatrix.props,_e=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var et=0;if(_>0){for(;et<rt;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),et+=1;nt&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,nt,!1),et+=nt)}else if(_<0){for(;et>rt;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),et-=1;nt&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-nt,!0),et-=nt)}a=this.data.m===1?0:this._currentCopies-1,o=this.data.m===1?1:-1,c=this._currentCopies;for(var $,st;c;){if(i=this.elemsData[a].it,s=i[i.length-1].transform.mProps.v.props,st=s.length,i[i.length-1].transform.mProps._mdf=!0,i[i.length-1].transform.op._mdf=!0,i[i.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(a/(this._currentCopies-1)),et!==0){for((a!==0&&o===1||a!==this._currentCopies-1&&o===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(ut[0],ut[1],ut[2],ut[3],ut[4],ut[5],ut[6],ut[7],ut[8],ut[9],ut[10],ut[11],ut[12],ut[13],ut[14],ut[15]),this.matrix.transform(_e[0],_e[1],_e[2],_e[3],_e[4],_e[5],_e[6],_e[7],_e[8],_e[9],_e[10],_e[11],_e[12],_e[13],_e[14],_e[15]),this.matrix.transform(it[0],it[1],it[2],it[3],it[4],it[5],it[6],it[7],it[8],it[9],it[10],it[11],it[12],it[13],it[14],it[15]),$=0;$<st;$+=1)s[$]=this.matrix.props[$];this.matrix.reset()}else for(this.matrix.reset(),$=0;$<st;$+=1)s[$]=this.matrix.props[$];et+=1,c-=1,a+=o}}else for(c=this._currentCopies,a=0,o=1;c;)i=this.elemsData[a].it,s=i[i.length-1].transform.mProps.v.props,i[i.length-1].transform.mProps._mdf=!1,i[i.length-1].transform.op._mdf=!1,c-=1,a+=o;return h},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,i.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,i){var s=shapePool.newElement();s.c=e.c;var a,o=e._length,c,h,d,g,b,j,tt=0,_,nt,rt,it,ut,_e;for(a=0;a<o;a+=1)c=e.v[a],d=e.o[a],h=e.i[a],c[0]===d[0]&&c[1]===d[1]&&c[0]===h[0]&&c[1]===h[1]?(a===0||a===o-1)&&!e.c?(s.setTripleAt(c[0],c[1],d[0],d[1],h[0],h[1],tt),tt+=1):(a===0?g=e.v[o-1]:g=e.v[a-1],b=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),j=b?Math.min(b/2,i)/b:0,ut=c[0]+(g[0]-c[0])*j,_=ut,_e=c[1]-(c[1]-g[1])*j,nt=_e,rt=_-(_-c[0])*roundCorner,it=nt-(nt-c[1])*roundCorner,s.setTripleAt(_,nt,rt,it,ut,_e,tt),tt+=1,a===o-1?g=e.v[0]:g=e.v[a+1],b=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),j=b?Math.min(b/2,i)/b:0,rt=c[0]+(g[0]-c[0])*j,_=rt,it=c[1]+(g[1]-c[1])*j,nt=it,ut=_-(_-c[0])*roundCorner,_e=nt-(nt-c[1])*roundCorner,s.setTripleAt(_,nt,rt,it,ut,_e,tt),tt+=1):(s.setTripleAt(e.v[a][0],e.v[a][1],e.o[a][0],e.o[a][1],e.i[a][0],e.i[a][1],tt),tt+=1);return s},RoundCornersModifier.prototype.processShapes=function(e){var i,s,a=this.shapes.length,o,c,h=this.rd.v;if(h!==0){var d,g;for(s=0;s<a;s+=1){if(d=this.shapes[s],g=d.localShapeCollection,!(!d.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),d.shape._mdf=!0,i=d.shape.paths.shapes,c=d.shape.paths._length,o=0;o<c;o+=1)g.addShape(this.processPath(i[o],h));d.shape.paths=d.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(e,i){return Math.abs(e-i)*1e5<=Math.min(Math.abs(e),Math.abs(i))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,i,s){return e*(1-s)+i*s}function lerpPoint(e,i,s){return[lerp(e[0],i[0],s),lerp(e[1],i[1],s)]}function quadRoots(e,i,s){if(e===0)return[];var a=i*i-4*e*s;if(a<0)return[];var o=-i/(2*e);if(a===0)return[o];var c=Math.sqrt(a)/(2*e);return[o-c,o+c]}function polynomialCoefficients(e,i,s,a){return[-e+3*i-3*s+a,3*e-6*i+3*s,-3*e+3*i,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,i,s,a,o){o&&pointEqual(e,i)&&(i=lerpPoint(e,a,1/3)),o&&pointEqual(s,a)&&(s=lerpPoint(e,a,2/3));var c=polynomialCoefficients(e[0],i[0],s[0],a[0]),h=polynomialCoefficients(e[1],i[1],s[1],a[1]);this.a=[c[0],h[0]],this.b=[c[1],h[1]],this.c=[c[2],h[2]],this.d=[c[3],h[3]],this.points=[e,i,s,a]}PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var i=this.derivative(e);return Math.atan2(i[1],i[0])},PolynomialBezier.prototype.normalAngle=function(e){var i=this.derivative(e);return Math.atan2(i[0],i[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var i=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,s=i*i-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(s<0)return[];var a=Math.sqrt(s);return floatZero(a)?a>0&&a<1?[i]:[]:[i-a,i+a].filter(function(o){return o>0&&o<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 i=lerpPoint(this.points[0],this.points[1],e),s=lerpPoint(this.points[1],this.points[2],e),a=lerpPoint(this.points[2],this.points[3],e),o=lerpPoint(i,s,e),c=lerpPoint(s,a,e),h=lerpPoint(o,c,e);return[new PolynomialBezier(this.points[0],i,o,h,!0),new PolynomialBezier(h,c,a,this.points[3],!0)]};function extrema(e,i){var s=e.points[0][i],a=e.points[e.points.length-1][i];if(s>a){var o=a;a=s,s=o}for(var c=quadRoots(3*e.a[i],2*e.b[i],e.c[i]),h=0;h<c.length;h+=1)if(c[h]>0&&c[h]<1){var d=e.point(c[h])[i];d<s?s=d:d>a&&(a=d)}return{min:s,max:a}}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,i,s){var a=e.boundingBox();return{cx:a.cx,cy:a.cy,width:a.width,height:a.height,bez:e,t:(i+s)/2,t1:i,t2:s}}function splitData(e){var i=e.bez.split(.5);return[intersectData(i[0],e.t1,e.t),intersectData(i[1],e.t,e.t2)]}function boxIntersect(e,i){return Math.abs(e.cx-i.cx)*2<e.width+i.width&&Math.abs(e.cy-i.cy)*2<e.height+i.height}function intersectsImpl(e,i,s,a,o,c){if(boxIntersect(e,i)){if(s>=c||e.width<=a&&e.height<=a&&i.width<=a&&i.height<=a){o.push([e.t,i.t]);return}var h=splitData(e),d=splitData(i);intersectsImpl(h[0],d[0],s+1,a,o,c),intersectsImpl(h[0],d[1],s+1,a,o,c),intersectsImpl(h[1],d[0],s+1,a,o,c),intersectsImpl(h[1],d[1],s+1,a,o,c)}}PolynomialBezier.prototype.intersections=function(e,i,s){i===void 0&&(i=2),s===void 0&&(s=7);var a=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,i,a,s),a},PolynomialBezier.shapeSegment=function(e,i){var s=(i+1)%e.length();return new PolynomialBezier(e.v[i],e.o[i],e.i[s],e.v[s],!0)},PolynomialBezier.shapeSegmentInverted=function(e,i){var s=(i+1)%e.length();return new PolynomialBezier(e.v[s],e.i[s],e.o[i],e.v[i],!0)};function crossProduct(e,i){return[e[1]*i[2]-e[2]*i[1],e[2]*i[0]-e[0]*i[2],e[0]*i[1]-e[1]*i[0]]}function lineIntersection(e,i,s,a){var o=[e[0],e[1],1],c=[i[0],i[1],1],h=[s[0],s[1],1],d=[a[0],a[1],1],g=crossProduct(crossProduct(o,c),crossProduct(h,d));return floatZero(g[2])?null:[g[0]/g[2],g[1]/g[2]]}function polarOffset(e,i,s){return[e[0]+Math.cos(i)*s,e[1]-Math.sin(i)*s]}function pointDistance(e,i){return Math.hypot(e[0]-i[0],e[1]-i[1])}function pointEqual(e,i){return floatEqual(e[0],i[0])&&floatEqual(e[1],i[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,i.s,0,null,this),this.frequency=PropertyFactory.getProp(e,i.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,i.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(e,i,s,a,o,c,h){var d=s-Math.PI/2,g=s+Math.PI/2,b=i[0]+Math.cos(s)*a*o,j=i[1]-Math.sin(s)*a*o;e.setTripleAt(b,j,b+Math.cos(d)*c,j-Math.sin(d)*c,b+Math.cos(g)*h,j-Math.sin(g)*h,e.length())}function getPerpendicularVector(e,i){var s=[i[0]-e[0],i[1]-e[1]],a=-Math.PI*.5,o=[Math.cos(a)*s[0]-Math.sin(a)*s[1],Math.sin(a)*s[0]+Math.cos(a)*s[1]];return o}function getProjectingAngle(e,i){var s=i===0?e.length()-1:i-1,a=(i+1)%e.length(),o=e.v[s],c=e.v[a],h=getPerpendicularVector(o,c);return Math.atan2(0,1)-Math.atan2(h[1],h[0])}function zigZagCorner(e,i,s,a,o,c,h){var d=getProjectingAngle(i,s),g=i.v[s%i._length],b=i.v[s===0?i._length-1:s-1],j=i.v[(s+1)%i._length],tt=c===2?Math.sqrt(Math.pow(g[0]-b[0],2)+Math.pow(g[1]-b[1],2)):0,_=c===2?Math.sqrt(Math.pow(g[0]-j[0],2)+Math.pow(g[1]-j[1],2)):0;setPoint(e,i.v[s%i._length],d,h,a,_/((o+1)*2),tt/((o+1)*2))}function zigZagSegment(e,i,s,a,o,c){for(var h=0;h<a;h+=1){var d=(h+1)/(a+1),g=o===2?Math.sqrt(Math.pow(i.points[3][0]-i.points[0][0],2)+Math.pow(i.points[3][1]-i.points[0][1],2)):0,b=i.normalAngle(d),j=i.point(d);setPoint(e,j,b,c,s,g/((a+1)*2),g/((a+1)*2)),c=-c}return c}ZigZagModifier.prototype.processPath=function(e,i,s,a){var o=e._length,c=shapePool.newElement();if(c.c=e.c,e.c||(o-=1),o===0)return c;var h=-1,d=PolynomialBezier.shapeSegment(e,0);zigZagCorner(c,e,0,i,s,a,h);for(var g=0;g<o;g+=1)h=zigZagSegment(c,d,i,s,a,-h),g===o-1&&!e.c?d=null:d=PolynomialBezier.shapeSegment(e,(g+1)%o),zigZagCorner(c,e,g+1,i,s,a,h);return c},ZigZagModifier.prototype.processShapes=function(e){var i,s,a=this.shapes.length,o,c,h=this.amplitude.v,d=Math.max(0,Math.round(this.frequency.v)),g=this.pointsType.v;if(h!==0){var b,j;for(s=0;s<a;s+=1){if(b=this.shapes[s],j=b.localShapeCollection,!(!b.shape._mdf&&!this._mdf&&!e))for(j.releaseShapes(),b.shape._mdf=!0,i=b.shape.paths.shapes,c=b.shape.paths._length,o=0;o<c;o+=1)j.addShape(this.processPath(i[o],h,d,g));b.shape.paths=b.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(e,i,s){var a=Math.atan2(i[0]-e[0],i[1]-e[1]);return[polarOffset(e,a,s),polarOffset(i,a,s)]}function offsetSegment(e,i){var s,a,o,c,h,d,g;g=linearOffset(e.points[0],e.points[1],i),s=g[0],a=g[1],g=linearOffset(e.points[1],e.points[2],i),o=g[0],c=g[1],g=linearOffset(e.points[2],e.points[3],i),h=g[0],d=g[1];var b=lineIntersection(s,a,o,c);b===null&&(b=a);var j=lineIntersection(h,d,o,c);return j===null&&(j=h),new PolynomialBezier(s,b,j,d)}function joinLines(e,i,s,a,o){var c=i.points[3],h=s.points[0];if(a===3||pointEqual(c,h))return c;if(a===2){var d=-i.tangentAngle(1),g=-s.tangentAngle(0)+Math.PI,b=lineIntersection(c,polarOffset(c,d+Math.PI/2,100),h,polarOffset(h,d+Math.PI/2,100)),j=b?pointDistance(b,c):pointDistance(c,h)/2,tt=polarOffset(c,d,2*j*roundCorner);return e.setXYAt(tt[0],tt[1],"o",e.length()-1),tt=polarOffset(h,g,2*j*roundCorner),e.setTripleAt(h[0],h[1],h[0],h[1],tt[0],tt[1],e.length()),h}var _=pointEqual(c,i.points[2])?i.points[0]:i.points[2],nt=pointEqual(h,s.points[1])?s.points[3]:s.points[1],rt=lineIntersection(_,c,h,nt);return rt&&pointDistance(rt,c)<o?(e.setTripleAt(rt[0],rt[1],rt[0],rt[1],rt[0],rt[1],e.length()),rt):c}function getIntersection(e,i){var s=e.intersections(i);return s.length&&floatEqual(s[0][0],1)&&s.shift(),s.length?s[0]:null}function pruneSegmentIntersection(e,i){var s=e.slice(),a=i.slice(),o=getIntersection(e[e.length-1],i[0]);return o&&(s[e.length-1]=e[e.length-1].split(o[0])[0],a[0]=i[0].split(o[1])[1]),e.length>1&&i.length>1&&(o=getIntersection(e[0],i[i.length-1]),o)?[[e[0].split(o[0])[0]],[i[i.length-1].split(o[1])[1]]]:[s,a]}function pruneIntersections(e){for(var i,s=1;s<e.length;s+=1)i=pruneSegmentIntersection(e[s-1],e[s]),e[s-1]=i[0],e[s]=i[1];return e.length>1&&(i=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=i[0],e[0]=i[1]),e}function offsetSegmentSplit(e,i){var s=e.inflectionPoints(),a,o,c,h;if(s.length===0)return[offsetSegment(e,i)];if(s.length===1||floatEqual(s[1],1))return c=e.split(s[0]),a=c[0],o=c[1],[offsetSegment(a,i),offsetSegment(o,i)];c=e.split(s[0]),a=c[0];var d=(s[1]-s[0])/(1-s[0]);return c=c[1].split(d),h=c[0],o=c[1],[offsetSegment(a,i),offsetSegment(h,i),offsetSegment(o,i)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,i.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,i.ml,0,null,this),this.lineJoin=i.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(e,i,s,a){var o=shapePool.newElement();o.c=e.c;var c=e.length();e.c||(c-=1);var h,d,g,b=[];for(h=0;h<c;h+=1)g=PolynomialBezier.shapeSegment(e,h),b.push(offsetSegmentSplit(g,i));if(!e.c)for(h=c-1;h>=0;h-=1)g=PolynomialBezier.shapeSegmentInverted(e,h),b.push(offsetSegmentSplit(g,i));b=pruneIntersections(b);var j=null,tt=null;for(h=0;h<b.length;h+=1){var _=b[h];for(tt&&(j=joinLines(o,tt,_[0],s,a)),tt=_[_.length-1],d=0;d<_.length;d+=1)g=_[d],j&&pointEqual(g.points[0],j)?o.setXYAt(g.points[1][0],g.points[1][1],"o",o.length()-1):o.setTripleAt(g.points[0][0],g.points[0][1],g.points[1][0],g.points[1][1],g.points[0][0],g.points[0][1],o.length()),o.setTripleAt(g.points[3][0],g.points[3][1],g.points[3][0],g.points[3][1],g.points[2][0],g.points[2][1],o.length()),j=g.points[3]}return b.length&&joinLines(o,tt,b[0][0],s,a),o},OffsetPathModifier.prototype.processShapes=function(e){var i,s,a=this.shapes.length,o,c,h=this.amount.v,d=this.miterLimit.v,g=this.lineJoin;if(h!==0){var b,j;for(s=0;s<a;s+=1){if(b=this.shapes[s],j=b.localShapeCollection,!(!b.shape._mdf&&!this._mdf&&!e))for(j.releaseShapes(),b.shape._mdf=!0,i=b.shape.paths.shapes,c=b.shape.paths._length,o=0;o<c;o+=1)j.addShape(this.processPath(i[o],h,g,d));b.shape.paths=b.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(e){for(var i=e.fStyle?e.fStyle.split(" "):[],s="normal",a="normal",o=i.length,c,h=0;h<o;h+=1)switch(c=i[h].toLowerCase(),c){case"italic":a="italic";break;case"bold":s="700";break;case"black":s="900";break;case"medium":s="500";break;case"regular":case"normal":s="400";break;case"light":case"thin":s="200";break}return{style:a,weight:e.fWeight||s}}var FontManager=function(){var e=5e3,i={w:0,size:0,shapes:[],data:{shapes:[]}},s=[];s=s.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var a=127988,o=917631,c=917601,h=917626,d=65039,g=8205,b=127462,j=127487,tt=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function _(ft){var dt=ft.split(","),at,ct=dt.length,gt=[];for(at=0;at<ct;at+=1)dt[at]!=="sans-serif"&&dt[at]!=="monospace"&>.push(dt[at]);return gt.join(",")}function nt(ft,dt){var at=createTag("span");at.setAttribute("aria-hidden",!0),at.style.fontFamily=dt;var ct=createTag("span");ct.innerText="giItT1WQy@!-/#",at.style.position="absolute",at.style.left="-10000px",at.style.top="-10000px",at.style.fontSize="300px",at.style.fontVariant="normal",at.style.fontStyle="normal",at.style.fontWeight="normal",at.style.letterSpacing="0",at.appendChild(ct),document.body.appendChild(at);var gt=ct.offsetWidth;return ct.style.fontFamily=_(ft)+", "+dt,{node:ct,w:gt,parent:at}}function rt(){var ft,dt=this.fonts.length,at,ct,gt=dt;for(ft=0;ft<dt;ft+=1)this.fonts[ft].loaded?gt-=1:this.fonts[ft].fOrigin==="n"||this.fonts[ft].origin===0?this.fonts[ft].loaded=!0:(at=this.fonts[ft].monoCase.node,ct=this.fonts[ft].monoCase.w,at.offsetWidth!==ct?(gt-=1,this.fonts[ft].loaded=!0):(at=this.fonts[ft].sansCase.node,ct=this.fonts[ft].sansCase.w,at.offsetWidth!==ct&&(gt-=1,this.fonts[ft].loaded=!0)),this.fonts[ft].loaded&&(this.fonts[ft].sansCase.parent.parentNode.removeChild(this.fonts[ft].sansCase.parent),this.fonts[ft].monoCase.parent.parentNode.removeChild(this.fonts[ft].monoCase.parent)));gt!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function it(ft,dt){var at=document.body&&dt?"svg":"canvas",ct,gt=getFontProperties(ft);if(at==="svg"){var mt=createNS("text");mt.style.fontSize="100px",mt.setAttribute("font-family",ft.fFamily),mt.setAttribute("font-style",gt.style),mt.setAttribute("font-weight",gt.weight),mt.textContent="1",ft.fClass?(mt.style.fontFamily="inherit",mt.setAttribute("class",ft.fClass)):mt.style.fontFamily=ft.fFamily,dt.appendChild(mt),ct=mt}else{var Et=new OffscreenCanvas(500,500).getContext("2d");Et.font=gt.style+" "+gt.weight+" 100px "+ft.fFamily,ct=Et}function Pt(Ct){return at==="svg"?(ct.textContent=Ct,ct.getComputedTextLength()):ct.measureText(Ct).width}return{measureText:Pt}}function ut(ft,dt){if(!ft){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=ft.list;return}if(!document.body){this.isLoaded=!0,ft.list.forEach(function(It){It.helper=it(It),It.cache={}}),this.fonts=ft.list;return}var at=ft.list,ct,gt=at.length,mt=gt;for(ct=0;ct<gt;ct+=1){var Et=!0,Pt,Ct;if(at[ct].loaded=!1,at[ct].monoCase=nt(at[ct].fFamily,"monospace"),at[ct].sansCase=nt(at[ct].fFamily,"sans-serif"),!at[ct].fPath)at[ct].loaded=!0,mt-=1;else if(at[ct].fOrigin==="p"||at[ct].origin===3){if(Pt=document.querySelectorAll('style[f-forigin="p"][f-family="'+at[ct].fFamily+'"], style[f-origin="3"][f-family="'+at[ct].fFamily+'"]'),Pt.length>0&&(Et=!1),Et){var jt=createTag("style");jt.setAttribute("f-forigin",at[ct].fOrigin),jt.setAttribute("f-origin",at[ct].origin),jt.setAttribute("f-family",at[ct].fFamily),jt.type="text/css",jt.innerText="@font-face {font-family: "+at[ct].fFamily+"; font-style: normal; src: url('"+at[ct].fPath+"');}",dt.appendChild(jt)}}else if(at[ct].fOrigin==="g"||at[ct].origin===1){for(Pt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Ct=0;Ct<Pt.length;Ct+=1)Pt[Ct].href.indexOf(at[ct].fPath)!==-1&&(Et=!1);if(Et){var At=createTag("link");At.setAttribute("f-forigin",at[ct].fOrigin),At.setAttribute("f-origin",at[ct].origin),At.type="text/css",At.rel="stylesheet",At.href=at[ct].fPath,document.body.appendChild(At)}}else if(at[ct].fOrigin==="t"||at[ct].origin===2){for(Pt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Ct=0;Ct<Pt.length;Ct+=1)at[ct].fPath===Pt[Ct].src&&(Et=!1);if(Et){var Mt=createTag("link");Mt.setAttribute("f-forigin",at[ct].fOrigin),Mt.setAttribute("f-origin",at[ct].origin),Mt.setAttribute("rel","stylesheet"),Mt.setAttribute("href",at[ct].fPath),dt.appendChild(Mt)}}at[ct].helper=it(at[ct],dt),at[ct].cache={},this.fonts.push(at[ct])}mt===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function _e(ft){if(ft){this.chars||(this.chars=[]);var dt,at=ft.length,ct,gt=this.chars.length,mt;for(dt=0;dt<at;dt+=1){for(ct=0,mt=!1;ct<gt;)this.chars[ct].style===ft[dt].style&&this.chars[ct].fFamily===ft[dt].fFamily&&this.chars[ct].ch===ft[dt].ch&&(mt=!0),ct+=1;mt||(this.chars.push(ft[dt]),gt+=1)}}}function et(ft,dt,at){for(var ct=0,gt=this.chars.length;ct<gt;){if(this.chars[ct].ch===ft&&this.chars[ct].style===dt&&this.chars[ct].fFamily===at)return this.chars[ct];ct+=1}return(typeof ft=="string"&&ft.charCodeAt(0)!==13||!ft)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",ft,dt,at)),i}function $(ft,dt,at){var ct=this.getFontByName(dt),gt=ft;if(!ct.cache[gt]){var mt=ct.helper;if(ft===" "){var Et=mt.measureText("|"+ft+"|"),Pt=mt.measureText("||");ct.cache[gt]=(Et-Pt)/100}else ct.cache[gt]=mt.measureText(ft)/100}return ct.cache[gt]*at}function st(ft){for(var dt=0,at=this.fonts.length;dt<at;){if(this.fonts[dt].fName===ft)return this.fonts[dt];dt+=1}return this.fonts[0]}function ot(ft){var dt=0,at=ft.charCodeAt(0);if(at>=55296&&at<=56319){var ct=ft.charCodeAt(1);ct>=56320&&ct<=57343&&(dt=(at-55296)*1024+ct-56320+65536)}return dt}function lt(ft,dt){var at=ft.toString(16)+dt.toString(16);return tt.indexOf(at)!==-1}function ht(ft){return ft===g}function pt(ft){return ft===d}function vt(ft){var dt=ot(ft);return dt>=b&&dt<=j}function St(ft){return vt(ft.substr(0,2))&&vt(ft.substr(2,2))}function xt(ft){return s.indexOf(ft)!==-1}function yt(ft,dt){var at=ot(ft.substr(dt,2));if(at!==a)return!1;var ct=0;for(dt+=2;ct<5;){if(at=ot(ft.substr(dt,2)),at<c||at>h)return!1;ct+=1,dt+=2}return ot(ft.substr(dt,2))===o}function kt(){this.isLoaded=!0}var wt=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)};wt.isModifier=lt,wt.isZeroWidthJoiner=ht,wt.isFlagEmoji=St,wt.isRegionalCode=vt,wt.isCombinedCharacter=xt,wt.isRegionalFlag=yt,wt.isVariationSelector=pt,wt.BLACK_FLAG_CODE_POINT=a;var bt={addChars:_e,addFonts:ut,getCharData:et,getFontByName:st,measureText:$,checkLoadedFonts:rt,setIsLoaded:kt};return wt.prototype=bt,wt}();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(i){this.renderableComponents.indexOf(i)===-1&&this.renderableComponents.push(i)},removeRenderableComponent:function(i){this.renderableComponents.indexOf(i)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(i),1)},prepareRenderableFrame:function(i){this.checkLayerLimits(i)},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(i){this.data.ip-this.data.st<=i&&this.data.op-this.data.st>i?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 i,s=this.renderableComponents.length;for(i=0;i<s;i+=1)this.renderableComponents[i].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(i){return e[i]||""}}();function SliderEffect(e,i,s){this.p=PropertyFactory.getProp(i,e.v,0,0,s)}function AngleEffect(e,i,s){this.p=PropertyFactory.getProp(i,e.v,0,0,s)}function ColorEffect(e,i,s){this.p=PropertyFactory.getProp(i,e.v,1,0,s)}function PointEffect(e,i,s){this.p=PropertyFactory.getProp(i,e.v,1,0,s)}function LayerIndexEffect(e,i,s){this.p=PropertyFactory.getProp(i,e.v,0,0,s)}function MaskIndexEffect(e,i,s){this.p=PropertyFactory.getProp(i,e.v,0,0,s)}function CheckboxEffect(e,i,s){this.p=PropertyFactory.getProp(i,e.v,0,0,s)}function NoValueEffect(){this.p={}}function EffectsManager(e,i){var s=e.ef||[];this.effectElements=[];var a,o=s.length,c;for(a=0;a<o;a+=1)c=new GroupEffect(s[a],i),this.effectElements.push(c)}function GroupEffect(e,i){this.init(e,i)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,i){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(i);var s,a=this.data.ef.length,o,c=this.data.ef;for(s=0;s<a;s+=1){switch(o=null,c[s].ty){case 0:o=new SliderEffect(c[s],i,this);break;case 1:o=new AngleEffect(c[s],i,this);break;case 2:o=new ColorEffect(c[s],i,this);break;case 3:o=new PointEffect(c[s],i,this);break;case 4:case 7:o=new CheckboxEffect(c[s],i,this);break;case 10:o=new LayerIndexEffect(c[s],i,this);break;case 11:o=new MaskIndexEffect(c[s],i,this);break;case 5:o=new EffectsManager(c[s],i);break;default:o=new NoValueEffect(c[s]);break}o&&this.effectElements.push(o)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var i=0,s=this.data.masksProperties.length;i<s;){if(this.data.masksProperties[i].mode!=="n"&&this.data.masksProperties[i].cl!==!1)return!0;i+=1}return!1},initExpressions:function(){var i=getExpressionInterfaces();if(i){var s=i("layer"),a=i("effects"),o=i("shape"),c=i("text"),h=i("comp");this.layerInterface=s(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var d=a.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(d),this.data.ty===0||this.data.xt?this.compInterface=h(this):this.data.ty===4?(this.layerInterface.shapeInterface=o(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=c(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var i=getBlendMode(this.data.bm),s=this.baseElement||this.layerElement;s.style["mix-blend-mode"]=i},initBaseData:function(i,s,a){this.globalData=s,this.comp=a,this.data=i,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(i,s){var a,o=this.dynamicProperties.length;for(a=0;a<o;a+=1)(s||this._isParent&&this.dynamicProperties[a].propType==="transform")&&(this.dynamicProperties[a].getValue(),this.dynamicProperties[a]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(i){this.dynamicProperties.indexOf(i)===-1&&this.dynamicProperties.push(i)}};function FootageElement(e,i,s){this.initFrame(),this.initRenderable(),this.assetData=i.getAssetData(e.refId),this.footageData=i.imageLoader.getAsset(this.assetData),this.initBaseData(e,i,s)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var e=getExpressionInterfaces();if(e){var i=e("footage");this.layerInterface=i(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(e,i,s){this.initFrame(),this.initRenderable(),this.assetData=i.getAssetData(e.refId),this.initBaseData(e,i,s),this._isPlaying=!1,this._canPlay=!1;var a=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(a),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,i.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var i=this.tm.v;this._currentTime=i}this._volume=this.lv.v[0];var s=this._volume*this._volumeMultiplier;this._previousVolume!==s&&(this._previousVolume=s,this.audio.volume(s))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.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 i,s=this.layers.length,a;for(this.completeLayers=!0,i=s-1;i>=0;i-=1)this.elements[i]||(a=this.layers[i],a.ip-a.st<=e-this.layers[i].st&&a.op-a.st>e-this.layers[i].st&&this.buildItem(i)),this.completeLayers=this.elements[i]?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,i=this.layers.length;for(e=0;e<i;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){this.completeLayers=!1;var i,s=e.length,a,o=this.layers.length;for(i=0;i<s;i+=1)for(a=0;a<o;){if(this.layers[a].id===e[i].id){this.layers[a]=e[i];break}a+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,i,s){for(var a=this.elements,o=this.layers,c=0,h=o.length;c<h;)o[c].ind==i&&(!a[c]||a[c]===!0?(this.buildItem(c),this.addPendingElement(e)):(s.push(a[c]),a[c].setAsParent(),o[c].parent!==void 0?this.buildElementParenting(e,o[c].parent,s):e.setHierarchy(s))),c+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var i,s=e.length;for(i=0;i<s;i+=1)if(e[i].xt){var a=this.createComp(e[i]);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}},BaseRenderer.prototype.getElementById=function(e){var i,s=this.elements.length;for(i=0;i<s;i+=1)if(this.elements[i].data.ind===e)return this.elements[i];return null},BaseRenderer.prototype.getElementByPath=function(e){var i=e.shift(),s;if(typeof i=="number")s=this.elements[i];else{var a,o=this.elements.length;for(a=0;a<o;a+=1)if(this.elements[a].data.nm===i){s=this.elements[a];break}}return e.length===0?s:s.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,i){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,i),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var i=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:i,localMat:i,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var i,s=this.finalTransform.mat,a=0,o=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;a<o;){if(this.hierarchy[a].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}a+=1}if(this.finalTransform._matMdf)for(i=this.finalTransform.mProp.v.props,s.cloneFromProps(i),a=0;a<o;a+=1)s.multiply(this.hierarchy[a].finalTransform.mProp.v)}(!this.localTransforms||this.finalTransform._matMdf)&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var i=0,s=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;i<s;)this.localTransforms[i]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[i]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),i+=1;if(this.finalTransform._localMatMdf){var a=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(a),i=1;i<s;i+=1){var o=this.localTransforms[i].matrix;a.multiply(o)}a.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(i=0;i<s;i+=1)c*=this.localTransforms[i].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var i=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(i.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var s=0,a=i.length;for(s=0;s<a;s+=1)this.localTransforms.push(i[s])}}},globalToLocal:function(i){var s=[];s.push(this.finalTransform);for(var a=!0,o=this.comp;a;)o.finalTransform?(o.data.hasMask&&s.splice(0,0,o.finalTransform),o=o.comp):a=!1;var c,h=s.length,d;for(c=0;c<h;c+=1)d=s[c].mat.applyToPointArray(0,0,0),i=[i[0]-d[0],i[1]-d[1],0];return i},mHelper:new Matrix};function MaskElement(e,i,s){this.data=e,this.element=i,this.globalData=s,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var a=this.globalData.defs,o,c=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(c),this.solidPath="";var h,d=this.masksProperties,g=0,b=[],j,tt,_=createElementID(),nt,rt,it,ut,_e="clipPath",et="clip-path";for(o=0;o<c;o+=1)if((d[o].mode!=="a"&&d[o].mode!=="n"||d[o].inv||d[o].o.k!==100||d[o].o.x)&&(_e="mask",et="mask"),(d[o].mode==="s"||d[o].mode==="i")&&g===0?(nt=createNS("rect"),nt.setAttribute("fill","#ffffff"),nt.setAttribute("width",this.element.comp.data.w||0),nt.setAttribute("height",this.element.comp.data.h||0),b.push(nt)):nt=null,h=createNS("path"),d[o].mode==="n")this.viewData[o]={op:PropertyFactory.getProp(this.element,d[o].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[o],3),elem:h,lastPath:""},a.appendChild(h);else{g+=1,h.setAttribute("fill",d[o].mode==="s"?"#000000":"#ffffff"),h.setAttribute("clip-rule","nonzero");var $;if(d[o].x.k!==0?(_e="mask",et="mask",ut=PropertyFactory.getProp(this.element,d[o].x,0,null,this.element),$=createElementID(),rt=createNS("filter"),rt.setAttribute("id",$),it=createNS("feMorphology"),it.setAttribute("operator","erode"),it.setAttribute("in","SourceGraphic"),it.setAttribute("radius","0"),rt.appendChild(it),a.appendChild(rt),h.setAttribute("stroke",d[o].mode==="s"?"#000000":"#ffffff")):(it=null,ut=null),this.storedData[o]={elem:h,x:ut,expan:it,lastPath:"",lastOperator:"",filterId:$,lastRadius:0},d[o].mode==="i"){tt=b.length;var st=createNS("g");for(j=0;j<tt;j+=1)st.appendChild(b[j]);var ot=createNS("mask");ot.setAttribute("mask-type","alpha"),ot.setAttribute("id",_+"_"+g),ot.appendChild(h),a.appendChild(ot),st.setAttribute("mask","url("+getLocationHref()+"#"+_+"_"+g+")"),b.length=0,b.push(st)}else b.push(h);d[o].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[o]={elem:h,lastPath:"",op:PropertyFactory.getProp(this.element,d[o].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[o],3),invRect:nt},this.viewData[o].prop.k||this.drawPath(d[o],this.viewData[o].prop.v,this.viewData[o])}for(this.maskElement=createNS(_e),c=b.length,o=0;o<c;o+=1)this.maskElement.appendChild(b[o]);g>0&&(this.maskElement.setAttribute("id",_),this.element.maskedElement.setAttribute(et,"url("+getLocationHref()+"#"+_+")"),a.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 i=this.element.finalTransform.mat,s,a=this.masksProperties.length;for(s=0;s<a;s+=1)if((this.viewData[s].prop._mdf||e)&&this.drawPath(this.masksProperties[s],this.viewData[s].prop.v,this.viewData[s]),(this.viewData[s].op._mdf||e)&&this.viewData[s].elem.setAttribute("fill-opacity",this.viewData[s].op.v),this.masksProperties[s].mode!=="n"&&(this.viewData[s].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[s].invRect.setAttribute("transform",i.getInverseMatrix().to2dCSS()),this.storedData[s].x&&(this.storedData[s].x._mdf||e))){var o=this.storedData[s].expan;this.storedData[s].x.v<0?(this.storedData[s].lastOperator!=="erode"&&(this.storedData[s].lastOperator="erode",this.storedData[s].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[s].filterId+")")),o.setAttribute("radius",-this.storedData[s].x.v)):(this.storedData[s].lastOperator!=="dilate"&&(this.storedData[s].lastOperator="dilate",this.storedData[s].elem.setAttribute("filter",null)),this.storedData[s].elem.setAttribute("stroke-width",this.storedData[s].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},MaskElement.prototype.drawPath=function(e,i,s){var a=" M"+i.v[0][0]+","+i.v[0][1],o,c;for(c=i._length,o=1;o<c;o+=1)a+=" C"+i.o[o-1][0]+","+i.o[o-1][1]+" "+i.i[o][0]+","+i.i[o][1]+" "+i.v[o][0]+","+i.v[o][1];if(i.c&&c>1&&(a+=" C"+i.o[o-1][0]+","+i.o[o-1][1]+" "+i.i[0][0]+","+i.i[0][1]+" "+i.v[0][0]+","+i.v[0][1]),s.lastPath!==a){var h="";s.elem&&(i.c&&(h=e.inv?this.solidPath+a:a),s.elem.setAttribute("d",h)),s.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={};e.createFilter=i,e.createAlphaToLuminanceFilter=s;function i(a,o){var c=createNS("filter");return c.setAttribute("id",a),o!==!0&&(c.setAttribute("filterUnits","objectBoundingBox"),c.setAttribute("x","0%"),c.setAttribute("y","0%"),c.setAttribute("width","100%"),c.setAttribute("height","100%")),c}function s(){var a=createNS("feColorMatrix");return a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),a}return e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};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 i,s="SourceGraphic",a=e.data.ef?e.data.ef.length:0,o=createElementID(),c=filtersFactory.createFilter(o,!0),h=0;this.filters=[];var d;for(i=0;i<a;i+=1){d=null;var g=e.data.ef[i].ty;if(registeredEffects$1[g]){var b=registeredEffects$1[g].effect;d=new b(c,e.effectsManager.effectElements[i],e,idPrefix+h,s),s=idPrefix+h,registeredEffects$1[g].countsAsEffect&&(h+=1)}d&&this.filters.push(d)}h&&(e.globalData.defs.appendChild(c),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&e.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(e){var i,s=this.filters.length;for(i=0;i<s;i+=1)this.filters[i].renderFrame(e)},SVGEffects.prototype.getEffects=function(e){var i,s=this.filters.length,a=[];for(i=0;i<s;i+=1)this.filters[i].type===e&&a.push(this.filters[i]);return a};function registerEffect$1(e,i,s){registeredEffects$1[e]={effect:i,countsAsEffect:s}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var i=null;if(this.data.td){this.matteMasks={};var s=createNS("g");s.setAttribute("id",this.layerId),s.appendChild(this.layerElement),i=s,this.globalData.defs.appendChild(s)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),i=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var a=createNS("clipPath"),o=createNS("path");o.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var c=createElementID();if(a.setAttribute("id",c),a.appendChild(o),this.globalData.defs.appendChild(a),this.checkMasks()){var h=createNS("g");h.setAttribute("clip-path","url("+getLocationHref()+"#"+c+")"),h.appendChild(this.layerElement),this.transformedElement=h,i?i.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+c+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("op
56acity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(i){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[i]){var s=this.layerId+"_"+i,a,o,c,h;if(i===1||i===3){var d=createNS("mask");d.setAttribute("id",s),d.setAttribute("mask-type",i===3?"luminance":"alpha"),c=createNS("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),d.appendChild(c),this.globalData.defs.appendChild(d),!featureSupport.maskType&&i===1&&(d.setAttribute("mask-type","luminance"),a=createElementID(),o=filtersFactory.createFilter(a),this.globalData.defs.appendChild(o),o.appendChild(filtersFactory.createAlphaToLuminanceFilter()),h=createNS("g"),h.appendChild(c),d.appendChild(h),h.setAttribute("filter","url("+getLocationHref()+"#"+a+")"))}else if(i===2){var g=createNS("mask");g.setAttribute("id",s),g.setAttribute("mask-type","alpha");var b=createNS("g");g.appendChild(b),a=createElementID(),o=filtersFactory.createFilter(a);var j=createNS("feComponentTransfer");j.setAttribute("in","SourceGraphic"),o.appendChild(j);var tt=createNS("feFuncA");tt.setAttribute("type","table"),tt.setAttribute("tableValues","1.0 0.0"),j.appendChild(tt),this.globalData.defs.appendChild(o);var _=createNS("rect");_.setAttribute("width",this.comp.data.w),_.setAttribute("height",this.comp.data.h),_.setAttribute("x","0"),_.setAttribute("y","0"),_.setAttribute("fill","#ffffff"),_.setAttribute("opacity","0"),b.setAttribute("filter","url("+getLocationHref()+"#"+a+")"),b.appendChild(_),c=createNS("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),b.appendChild(c),featureSupport.maskType||(g.setAttribute("mask-type","luminance"),o.appendChild(filtersFactory.createAlphaToLuminanceFilter()),h=createNS("g"),b.appendChild(_),h.appendChild(this.layerElement),b.appendChild(h)),this.globalData.defs.appendChild(g)}this.matteMasks[i]=s}return this.matteMasks[i]},setMatte:function(i){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+i+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(i){this.hierarchy=i},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var e={initElement:function(s,a,o){this.initFrame(),this.initBaseData(s,a,o),this.initTransform(s,a,o),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var s=this.baseElement||this.layerElement;s.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var s=this.baseElement||this.layerElement;s.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(s){this._mdf=!1,this.prepareRenderableFrame(s),this.prepareProperties(s,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(e)],RenderableDOMElement)})();function IImageElement(e,i,s){this.assetData=i.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=i.slotManager.getProp(this.assetData)),this.initElement(e,i,s),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(e,i){this.elem=e,this.pos=i}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(i){var s,a=this.shapeModifiers.length;for(s=0;s<a;s+=1)this.shapeModifiers[s].addShape(i)},isShapeInAnimatedModifiers:function(i){for(var s=0,a=this.shapeModifiers.length;s<a;)if(this.shapeModifiers[s].isAnimatedWithShape(i))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var i,s=this.shapes.length;for(i=0;i<s;i+=1)this.shapes[i].sh.reset();s=this.shapeModifiers.length;var a;for(i=s-1;i>=0&&(a=this.shapeModifiers[i].processShapes(this._isFirstFrame),!a);i-=1);}},searchProcessedElement:function(i){for(var s=this.processedElements,a=0,o=s.length;a<o;){if(s[a].elem===i)return s[a].pos;a+=1}return 0},addProcessedElement:function(i,s){for(var a=this.processedElements,o=a.length;o;)if(o-=1,a[o].elem===i){a[o].pos=s;return}a.push(new ProcessedElement(i,s))},prepareFrame:function(i){this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,i,s){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=s,this.lvl=i,this._isAnimated=!!s.k;for(var a=0,o=e.length;a<o;){if(e[a].mProps.dynamicProperties.length){this._isAnimated=!0;break}a+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(e,i){this.data=e,this.type=e.ty,this.d="",this.lvl=i,this._mdf=!1,this.closed=e.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(e,i,s,a){this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(i.length),this.renderer=s,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",i.length?i.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(a);var o,c=i.length||0,h;for(o=0;o<c;o+=1)h=PropertyFactory.getProp(e,i[o].v,0,0,this),this.k=h.k||this.k,this.dataProps[o]={n:i[o].n,p:h};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&
vendor: 52,033 bytes, line 56
56!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var i=0,s=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),i=0;i<s;i+=1)this.dataProps[i].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[i].p.v:this.dashArray[i]=this.dataProps[i].p.v:this.dashoffset[0]=this.dataProps[i].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(e,i,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,i.o,0,.01,this),this.w=PropertyFactory.getProp(e,i.w,0,null,this),this.d=new DashProperty(e,i.d||{},"svg",this),this.c=PropertyFactory.getProp(e,i.c,1,255,this),this.style=s,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(e,i,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,i.o,0,.01,this),this.c=PropertyFactory.getProp(e,i.c,1,255,this),this.style=s}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(e,i,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=s}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(e,i,s){this.data=i,this.c=createTypedArray("uint8c",i.p*4);var a=i.k.k[0].s?i.k.k[0].s.length-i.p*4:i.k.k.length-i.p*4;this.o=createTypedArray("float32",a),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=a,this.initDynamicPropertyContainer(s),this.prop=PropertyFactory.getProp(e,i.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(e,i){for(var s=0,a=this.o.length/2,o;s<a;){if(o=Math.abs(e[s*4]-e[i*4+s*2]),o>.01)return!1;s+=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,i=this.data.k.k.length;e<i;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var i,s=this.data.p*4,a,o;for(i=0;i<s;i+=1)a=i%4===0?100:255,o=Math.round(this.prop.v[i]*a),this.c[i]!==o&&(this.c[i]=o,this._cmdf=!e);if(this.o.length)for(s=this.prop.v.length,i=this.data.p*4;i<s;i+=1)a=i%2===0?100:1,o=i%2===0?Math.round(this.prop.v[i]*100):this.prop.v[i],this.o[i-this.data.p*4]!==o&&(this.o[i-this.data.p*4]=o,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(e,i,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,i,s)}SVGGradientFillStyleData.prototype.initGradientData=function(e,i,s){this.o=PropertyFactory.getProp(e,i.o,0,.01,this),this.s=PropertyFactory.getProp(e,i.s,1,null,this),this.e=PropertyFactory.getProp(e,i.e,1,null,this),this.h=PropertyFactory.getProp(e,i.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,i.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,i.g,this),this.style=s,this.stops=[],this.setGradientData(s.pElem,i),this.setGradientOpacity(i,s),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,i){var s=createElementID(),a=createNS(i.t===1?"linearGradient":"radialGradient");a.setAttribute("id",s),a.setAttribute("spreadMethod","pad"),a.setAttribute("gradientUnits","userSpaceOnUse");var o=[],c,h,d;for(d=i.g.p*4,h=0;h<d;h+=4)c=createNS("stop"),a.appendChild(c),o.push(c);e.setAttribute(i.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),this.gf=a,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,i){if(this.g._hasOpacity&&!this.g._collapsable){var s,a,o,c=createNS("mask"),h=createNS("path");c.appendChild(h);var d=createElementID(),g=createElementID();c.setAttribute("id",g);var b=createNS(e.t===1?"linearGradient":"radialGradient");b.setAttribute("id",d),b.setAttribute("spreadMethod","pad"),b.setAttribute("gradientUnits","userSpaceOnUse"),o=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var j=this.stops;for(a=e.g.p*4;a<o;a+=2)s=createNS("stop"),s.setAttribute("stop-color","rgb(255,255,255)"),b.appendChild(s),j.push(s);h.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+d+")"),e.ty==="gs"&&(h.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),h.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),e.lj===1&&h.setAttribute("stroke-miterlimit",e.ml)),this.of=b,this.ms=c,this.ost=j,this.maskId=g,i.msElem=h}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(e,i,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,i.w,0,null,this),this.d=new DashProperty(e,i.d||{},"svg",this),this.initGradientData(e,i,s),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,i,s){this.transform={mProps:e,op:i,container:s},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(i,s,a,o){if(s===0)return"";var c=i.o,h=i.i,d=i.v,g,b=" M"+o.applyToPointStringified(d[0][0],d[0][1]);for(g=1;g<s;g+=1)b+=" C"+o.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+o.applyToPointStringified(h[g][0],h[g][1])+" "+o.applyToPointStringified(d[g][0],d[g][1]);return a&&s&&(b+=" C"+o.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+o.applyToPointStringified(h[0][0],h[0][1])+" "+o.applyToPointStringified(d[0][0],d[0][1]),b+="z"),b},SVGElementsRenderer=function(){var e=new Matrix,i=new Matrix,s={createRenderFunction:a};function a(tt){switch(tt.ty){case"fl":return d;case"gf":return b;case"gs":return g;case"st":return j;case"sh":case"el":case"rc":case"sr":return h;case"tr":return o;case"no":return c;default:return null}}function o(tt,_,nt){(nt||_.transform.op._mdf)&&_.transform.container.setAttribute("opacity",_.transform.op.v),(nt||_.transform.mProps._mdf)&&_.transform.container.setAttribute("transform",_.transform.mProps.v.to2dCSS())}function c(){}function h(tt,_,nt){var rt,it,ut,_e,et,$,st=_.styles.length,ot=_.lvl,lt,ht,pt,vt;for($=0;$<st;$+=1){if(_e=_.sh._mdf||nt,_.styles[$].lvl<ot){for(ht=i.reset(),pt=ot-_.styles[$].lvl,vt=_.transformers.length-1;!_e&&pt>0;)_e=_.transformers[vt].mProps._mdf||_e,pt-=1,vt-=1;if(_e)for(pt=ot-_.styles[$].lvl,vt=_.transformers.length-1;pt>0;)ht.multiply(_.transformers[vt].mProps.v),pt-=1,vt-=1}else ht=e;if(lt=_.sh.paths,it=lt._length,_e){for(ut="",rt=0;rt<it;rt+=1)et=lt.shapes[rt],et&&et._length&&(ut+=buildShapeString(et,et._length,et.c,ht));_.caches[$]=ut}else ut=_.caches[$];_.styles[$].d+=tt.hd===!0?"":ut,_.styles[$]._mdf=_e||_.styles[$]._mdf}}function d(tt,_,nt){var rt=_.style;(_.c._mdf||nt)&&rt.pElem.setAttribute("fill","rgb("+bmFloor(_.c.v[0])+","+bmFloor(_.c.v[1])+","+bmFloor(_.c.v[2])+")"),(_.o._mdf||nt)&&rt.pElem.setAttribute("fill-opacity",_.o.v)}function g(tt,_,nt){b(tt,_,nt),j(tt,_,nt)}function b(tt,_,nt){var rt=_.gf,it=_.g._hasOpacity,ut=_.s.v,_e=_.e.v;if(_.o._mdf||nt){var et=tt.ty==="gf"?"fill-opacity":"stroke-opacity";_.style.pElem.setAttribute(et,_.o.v)}if(_.s._mdf||nt){var $=tt.t===1?"x1":"cx",st=$==="x1"?"y1":"cy";rt.setAttribute($,ut[0]),rt.setAttribute(st,ut[1]),it&&!_.g._collapsable&&(_.of.setAttribute($,ut[0]),_.of.setAttribute(st,ut[1]))}var ot,lt,ht,pt;if(_.g._cmdf||nt){ot=_.cst;var vt=_.g.c;for(ht=ot.length,lt=0;lt<ht;lt+=1)pt=ot[lt],pt.setAttribute("offset",vt[lt*4]+"%"),pt.setAttribute("stop-color","rgb("+vt[lt*4+1]+","+vt[lt*4+2]+","+vt[lt*4+3]+")")}if(it&&(_.g._omdf||nt)){var St=_.g.o;for(_.g._collapsable?ot=_.cst:ot=_.ost,ht=ot.length,lt=0;lt<ht;lt+=1)pt=ot[lt],_.g._collapsable||pt.setAttribute("offset",St[lt*2]+"%"),pt.setAttribute("stop-opacity",St[lt*2+1])}if(tt.t===1)(_.e._mdf||nt)&&(rt.setAttribute("x2",_e[0]),rt.setAttribute("y2",_e[1]),it&&!_.g._collapsable&&(_.of.setAttribute("x2",_e[0]),_.of.setAttribute("y2",_e[1])));else{var xt;if((_.s._mdf||_.e._mdf||nt)&&(xt=Math.sqrt(Math.pow(ut[0]-_e[0],2)+Math.pow(ut[1]-_e[1],2)),rt.setAttribute("r",xt),it&&!_.g._collapsable&&_.of.setAttribute("r",xt)),_.s._mdf||_.e._mdf||_.h._mdf||_.a._mdf||nt){xt||(xt=Math.sqrt(Math.pow(ut[0]-_e[0],2)+Math.pow(ut[1]-_e[1],2)));var yt=Math.atan2(_e[1]-ut[1],_e[0]-ut[0]),kt=_.h.v;kt>=1?kt=.99:kt<=-1&&(kt=-.99);var wt=xt*kt,bt=Math.cos(yt+_.a.v)*wt+ut[0],ft=Math.sin(yt+_.a.v)*wt+ut[1];rt.setAttribute("fx",bt),rt.setAttribute("fy",ft),it&&!_.g._collapsable&&(_.of.setAttribute("fx",bt),_.of.setAttribute("fy",ft))}}}function j(tt,_,nt){var rt=_.style,it=_.d;it&&(it._mdf||nt)&&it.dashStr&&(rt.pElem.setAttribute("stroke-dasharray",it.dashStr),rt.pElem.setAttribute("stroke-dashoffset",it.dashoffset[0])),_.c&&(_.c._mdf||nt)&&rt.pElem.setAttribute("stroke","rgb("+bmFloor(_.c.v[0])+","+bmFloor(_.c.v[1])+","+bmFloor(_.c.v[2])+")"),(_.o._mdf||nt)&&rt.pElem.setAttribute("stroke-opacity",_.o.v),(_.w._mdf||nt)&&(rt.pElem.setAttribute("stroke-width",_.w.v),rt.msElem&&rt.msElem.setAttribute("stroke-width",_.w.v))}return s}();function SVGShapeElement(e,i,s){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,i,s),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,i=this.shapes.length,s,a,o=this.stylesList.length,c,h=[],d=!1;for(a=0;a<o;a+=1){for(c=this.stylesList[a],d=!1,h.length=0,e=0;e<i;e+=1)s=this.shapes[e],s.styles.indexOf(c)!==-1&&(h.push(s),d=s._isAnimated||d);h.length>1&&d&&this.setShapesAsAnimated(h)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var i,s=e.length;for(i=0;i<s;i+=1)e[i].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,i){var s,a=new SVGStyleData(e,i),o=a.pElem;if(e.ty==="st")s=new SVGStrokeStyleData(this,e,a);else if(e.ty==="fl")s=new SVGFillStyleData(this,e,a);else if(e.ty==="gf"||e.ty==="gs"){var c=e.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;s=new c(this,e,a),this.globalData.defs.appendChild(s.gf),s.maskId&&(this.globalData.defs.appendChild(s.ms),this.globalData.defs.appendChild(s.of),o.setAttribute("mask","url("+getLocationHref()+"#"+s.maskId+")"))}else e.ty==="no"&&(s=new SVGNoStyleData(this,e,a));return(e.ty==="st"||e.ty==="gs")&&(o.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),o.setAttribute("fill-opacity","0"),e.lj===1&&o.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&o.setAttribute("fill-rule","evenodd"),e.ln&&o.setAttribute("id",e.ln),e.cl&&o.setAttribute("class",e.cl),e.bm&&(o.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(a),this.addToAnimatedContents(e,s),s},SVGShapeElement.prototype.createGroupElement=function(e){var i=new ShapeGroupData;return e.ln&&i.gr.setAttribute("id",e.ln),e.cl&&i.gr.setAttribute("class",e.cl),e.bm&&(i.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),i},SVGShapeElement.prototype.createTransformElement=function(e,i){var s=TransformPropertyFactory.getTransformProperty(this,e,this),a=new SVGTransformData(s,s.o,i);return this.addToAnimatedContents(e,a),a},SVGShapeElement.prototype.createShapeElement=function(e,i,s){var a=4;e.ty==="rc"?a=5:e.ty==="el"?a=6:e.ty==="sr"&&(a=7);var o=ShapePropertyFactory.getShapeProp(this,e,a,this),c=new SVGShapeData(i,s,o);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(e,c),c},SVGShapeElement.prototype.addToAnimatedContents=function(e,i){for(var s=0,a=this.animatedContents.length;s<a;){if(this.animatedContents[s].element===i)return;s+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:i,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var i=e.styles,s,a=this.stylesList.length;for(s=0;s<a;s+=1)i.indexOf(this.stylesList[s])===-1&&!this.stylesList[s].closed&&i.push(this.stylesList[s])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,i=this.itemsData.length;for(e=0;e<i;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),i=this.dynamicProperties.length,e=0;e<i;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,i,s,a,o,c,h){var d=[].concat(c),g,b=e.length-1,j,tt,_=[],nt=[],rt,it,ut;for(g=b;g>=0;g-=1){if(ut=this.searchProcessedElement(e[g]),ut?i[g]=s[ut-1]:e[g]._render=h,e[g].ty==="fl"||e[g].ty==="st"||e[g].ty==="gf"||e[g].ty==="gs"||e[g].ty==="no")ut?i[g].style.closed=e[g].hd:i[g]=this.createStyleElement(e[g],o),e[g]._render&&i[g].style.pElem.parentNode!==a&&a.appendChild(i[g].style.pElem),_.push(i[g].style);else if(e[g].ty==="gr"){if(!ut)i[g]=this.createGroupElement(e[g]);else for(tt=i[g].it.length,j=0;j<tt;j+=1)i[g].prevViewData[j]=i[g].it[j];this.searchShapes(e[g].it,i[g].it,i[g].prevViewData,i[g].gr,o+1,d,h),e[g]._render&&i[g].gr.parentNode!==a&&a.appendChild(i[g].gr)}else e[g].ty==="tr"?(ut||(i[g]=this.createTransformElement(e[g],a)),rt=i[g].transform,d.push(rt)):e[g].ty==="sh"||e[g].ty==="rc"||e[g].ty==="el"||e[g].ty==="sr"?(ut||(i[g]=this.createShapeElement(e[g],d,o)),this.setElementStyles(i[g])):e[g].ty==="tm"||e[g].ty==="rd"||e[g].ty==="ms"||e[g].ty==="pb"||e[g].ty==="zz"||e[g].ty==="op"?(ut?(it=i[g],it.closed=!1):(it=ShapeModifiers.getModifier(e[g].ty),it.init(this,e[g]),i[g]=it,this.shapeModifiers.push(it)),nt.push(it)):e[g].ty==="rp"&&(ut?(it=i[g],it.closed=!0):(it=ShapeModifiers.getModifier(e[g].ty),i[g]=it,it.init(this,e,g,i),this.shapeModifiers.push(it),h=!1),nt.push(it));this.addProcessedElement(e[g],g+1)}for(b=_.length,g=0;g<b;g+=1)_[g].closed=!0;for(b=nt.length,g=0;g<b;g+=1)nt[g].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var e,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<i;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,i=this.animatedContents.length,s;for(e=0;e<i;e+=1)s=this.animatedContents[e],(this._isFirstFrame||s.element._isAnimated)&&s.data!==!0&&s.fn(s.data,s.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(e,i,s,a,o,c){this.o=e,this.sw=i,this.sc=s,this.fc=a,this.m=o,this.p=c,this._mdf={o:!0,sw:!!i,sc:!!s,fc:!!a,m:!0,p:!0}}LetterProps.prototype.update=function(e,i,s,a,o,c){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var h=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,h=!0),this.sw!==i&&(this.sw=i,this._mdf.sw=!0,h=!0),this.sc!==s&&(this.sc=s,this._mdf.sc=!0,h=!0),this.fc!==a&&(this.fc=a,this._mdf.fc=!0,h=!0),this.m!==o&&(this.m=o,this._mdf.m=!0,h=!0),c.length&&(this.p[0]!==c[0]||this.p[1]!==c[1]||this.p[4]!==c[4]||this.p[5]!==c[5]||this.p[12]!==c[12]||this.p[13]!==c[13])&&(this.p=c,this._mdf.p=!0,h=!0),h};function TextProperty(e,i){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,i.d&&i.d.sid&&(i.d=e.globalData.slotManager.getProp(i.d)),this.data=i,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,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 i=this.currentData,s=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var a,o=this.effectsSequence.length,c=e||this.data.d.k[this.keysIndex].s;for(a=0;a<o;a+=1)s!==this.keysIndex?c=this.effectsSequence[a](c,c.t):c=this.effectsSequence[a](this.currentData,c.t);i!==c&&this.setCurrentData(c),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,i=this.elem.comp.renderedFrame,s=0,a=e.length;s<=a-1&&!(s===a-1||e[s+1].t>i);)s+=1;return this.keysIndex!==s&&(this.keysIndex=s),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var i=[],s=0,a=e.length,o,c,h=!1,d=!1,g="";s<a;)h=d,d=!1,o=e.charCodeAt(s),g=e.charAt(s),FontManager.isCombinedCharacter(o)?h=!0:o>=55296&&o<=56319?FontManager.isRegionalFlag(e,s)?g=e.substr(s,14):(c=e.charCodeAt(s+1),c>=56320&&c<=57343&&(FontManager.isModifier(o,c)?(g=e.substr(s,2),h=!0):FontManager.isFlagEmoji(e.substr(s,4))?g=e.substr(s,4):g=e.substr(s,2))):o>56319?(c=e.charCodeAt(s+1),FontManager.isVariationSelector(o)&&(h=!0)):FontManager.isZeroWidthJoiner(o)&&(h=!0,d=!0),h?(i[i.length-1]+=g,h=!1):i.push(g),s+=g.length;return i},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var i=this.elem.globalData.fontManager,s=this.data,a=[],o,c,h,d=0,g,b=s.m.g,j=0,tt=0,_=0,nt=[],rt=0,it=0,ut,_e,et=i.getFontByName(e.f),$,st=0,ot=getFontProperties(et);e.fWeight=ot.weight,e.fStyle=ot.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),c=e.finalText.length,e.finalLineHeight=e.lh;var lt=e.tr/1e3*e.finalSize,ht;if(e.sz)for(var pt=!0,vt=e.sz[0],St=e.sz[1],xt,yt;pt;){yt=this.buildFinalText(e.t),xt=0,rt=0,c=yt.length,lt=e.tr/1e3*e.finalSize;var kt=-1;for(o=0;o<c;o+=1)ht=yt[o].charCodeAt(0),h=!1,yt[o]===" "?kt=o:(ht===13||ht===3)&&(rt=0,h=!0,xt+=e.finalLineHeight||e.finalSize*1.2),i.chars?($=i.getCharData(yt[o],et.fStyle,et.fFamily),st=h?0:$.w*e.finalSize/100):st=i.measureText(yt[o],e.f,e.finalSize),rt+st>vt&&yt[o]!==" "?(kt===-1?c+=1:o=kt,xt+=e.finalLineHeight||e.finalSize*1.2,yt.splice(o,kt===o?1:0,"\r"),kt=-1,rt=0):(rt+=st,rt+=lt);xt+=et.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&St<xt?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=yt,c=e.finalText.length,pt=!1)}rt=-lt,st=0;var wt=0,bt;for(o=0;o<c;o+=1)if(h=!1,bt=e.finalText[o],ht=bt.charCodeAt(0),ht===13||ht===3?(wt=0,nt.push(rt),it=rt>it?rt:it,rt=-2*lt,g="",h=!0,_+=1):g=bt,i.chars?($=i.getCharData(bt,et.fStyle,i.getFontByName(e.f).fFamily),st=h?0:$.w*e.finalSize/100):st=i.measureText(g,e.f,e.finalSize),bt===" "?wt+=st+lt:(rt+=st+lt+wt,wt=0),a.push({l:st,an:st,add:j,n:h,anIndexes:[],val:g,line:_,animatorJustifyOffset:0}),b==2){if(j+=st,g===""||g===" "||o===c-1){for((g===""||g===" ")&&(j-=st);tt<=o;)a[tt].an=j,a[tt].ind=d,a[tt].extra=st,tt+=1;d+=1,j=0}}else if(b==3){if(j+=st,g===""||o===c-1){for(g===""&&(j-=st);tt<=o;)a[tt].an=j,a[tt].ind=d,a[tt].extra=st,tt+=1;j=0,d+=1}}else a[d].ind=d,a[d].extra=0,d+=1;if(e.l=a,it=rt>it?rt:it,nt.push(rt),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=it,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=nt;var ft=s.a,dt,at;_e=ft.length;var ct,gt,mt=[];for(ut=0;ut<_e;ut+=1){for(dt=ft[ut],dt.a.sc&&(e.strokeColorAnim=!0),dt.a.sw&&(e.strokeWidthAnim=!0),(dt.a.fc||dt.a.fh||dt.a.fs||dt.a.fb)&&(e.fillColorAnim=!0),gt=0,ct=dt.s.b,o=0;o<c;o+=1)at=a[o],at.anIndexes[ut]=gt,(ct==1&&at.val!==""||ct==2&&at.val!==""&&at.val!==" "||ct==3&&(at.n||at.val==" "||o==c-1)||ct==4&&(at.n||o==c-1))&&(dt.s.rn===1&&mt.push(gt),gt+=1);s.a[ut].s.totalChars=gt;var Et=-1,Pt;if(dt.s.rn===1)for(o=0;o<c;o+=1)at=a[o],Et!=at.anIndexes[ut]&&(Et=at.anIndexes[ut],Pt=mt.splice(Math.floor(Math.random()*mt.length),1)[0]),at.anIndexes[ut]=Pt}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=et.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,i){i=i===void 0?this.keysIndex:i;var s=this.copyData({},this.data.d.k[i].s);s=this.copyData(s,e),this.data.d.k[i].s=s,this.recalculate(i),this.setCurrentData(s),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var i=this.data.d.k[e].s;i.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(i)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,i=Math.min,s=Math.floor;function a(c,h){this._currentTextLength=-1,this.k=!1,this.data=h,this.elem=c,this.comp=c.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(c),this.s=PropertyFactory.getProp(c,h.s||{k:0},0,0,this),"e"in h?this.e=PropertyFactory.getProp(c,h.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(c,h.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(c,h.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(c,h.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(c,h.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(c,h.a,0,.01,this),this.dynamicProperties.length||this.getValue()}a.prototype={getMult:function(h){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var d=0,g=0,b=1,j=1;this.ne.v>0?d=this.ne.v/100:g=-this.ne.v/100,this.xe.v>0?b=1-this.xe.v/100:j=1+this.xe.v/100;var tt=BezierFactory.getBezierEasing(d,g,b,j).get,_=0,nt=this.finalS,rt=this.finalE,it=this.data.sh;if(it===2)rt===nt?_=h>=rt?1:0:_=e(0,i(.5/(rt-nt)+(h-nt)/(rt-nt),1)),_=tt(_);else if(it===3)rt===nt?_=h>=rt?0:1:_=1-e(0,i(.5/(rt-nt)+(h-nt)/(rt-nt),1)),_=tt(_);else if(it===4)rt===nt?_=0:(_=e(0,i(.5/(rt-nt)+(h-nt)/(rt-nt),1)),_<.5?_*=2:_=1-2*(_-.5)),_=tt(_);else if(it===5){if(rt===nt)_=0;else{var ut=rt-nt;h=i(e(0,h+.5-nt),rt-nt);var _e=-ut/2+h,et=ut/2;_=Math.sqrt(1-_e*_e/(et*et))}_=tt(_)}else it===6?(rt===nt?_=0:(h=i(e(0,h+.5-nt),rt-nt),_=(1+Math.cos(Math.PI+Math.PI*2*h/(rt-nt)))/2),_=tt(_)):(h>=s(nt)&&(h-nt<0?_=e(0,i(i(rt,1)-(nt-h),1)):_=e(0,i(rt-h,1))),_=tt(_));if(this.sm.v!==100){var $=this.sm.v*.01;$===0&&($=1e-8);var st=.5-$*.5;_<st?_=0:(_=(_-st)/$,_>1&&(_=1))}return _*this.a.v},getValue:function(h){this.iterateDynamicProperties(),this._mdf=h||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,h&&this.data.r===2&&(this.e.v=this._currentTextLength);var d=this.data.r===2?1:100/this.data.totalChars,g=this.o.v/d,b=this.s.v/d+g,j=this.e.v/d+g;if(b>j){var tt=b;b=j,j=tt}this.finalS=b,this.finalE=j}},extendPrototype([DynamicPropertyContainer],a);function o(c,h,d){return new a(c,h)}return{getTextSelectorProp:o}}();function TextAnimatorDataProperty(e,i,s){var a={propType:!1},o=PropertyFactory.getProp,c=i.a;this.a={r:c.r?o(e,c.r,0,degToRads,s):a,rx:c.rx?o(e,c.rx,0,degToRads,s):a,ry:c.ry?o(e,c.ry,0,degToRads,s):a,sk:c.sk?o(e,c.sk,0,degToRads,s):a,sa:c.sa?o(e,c.sa,0,degToRads,s):a,s:c.s?o(e,c.s,1,.01,s):a,a:c.a?o(e,c.a,1,0,s):a,o:c.o?o(e,c.o,0,.01,s):a,p:c.p?o(e,c.p,1,0,s):a,sw:c.sw?o(e,c.sw,0,0,s):a,sc:c.sc?o(e,c.sc,1,0,s):a,fc:c.fc?o(e,c.fc,1,0,s):a,fh:c.fh?o(e,c.fh,0,0,s):a,fs:c.fs?o(e,c.fs,0,.01,s):a,fb:c.fb?o(e,c.fb,0,.01,s):a,t:c.t?o(e,c.t,0,0,s):a},this.s=TextSelectorProp.getTextSelectorProp(e,i.s,s),this.s.t=i.s.t}function TextAnimatorProperty(e,i,s){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=i,this._elem=s,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(s)}TextAnimatorProperty.prototype.searchProperties=function(){var e,i=this._textData.a.length,s,a=PropertyFactory.getProp;for(e=0;e<i;e+=1)s=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,s,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:a(this._elem,this._textData.p.a,0,0,this),f:a(this._elem,this._textData.p.f,0,0,this),l:a(this._elem,this._textData.p.l,0,0,this),r:a(this._elem,this._textData.p.r,0,0,this),p:a(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=a(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,i){if(this.lettersChangedFlag=i,!(!this._mdf&&!this._isFirstFrame&&!i&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var s=this._moreOptions.alignment.v,a=this._animatorsData,o=this._textData,c=this.mHelper,h=this._renderType,d=this.renderedLetters.length,g,b,j,tt,_=e.l,nt,rt,it,ut,_e,et,$,st,ot,lt,ht,pt,vt,St,xt;if(this._hasMaskedPath){if(xt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var yt=xt.v;this._pathData.r.v&&(yt=yt.reverse()),nt={tLength:0,segments:[]},tt=yt._length-1;var kt;for(pt=0,j=0;j<tt;j+=1)kt=bez.buildBezierData(yt.v[j],yt.v[j+1],[yt.o[j][0]-yt.v[j][0],yt.o[j][1]-yt.v[j][1]],[yt.i[j+1][0]-yt.v[j+1][0],yt.i[j+1][1]-yt.v[j+1][1]]),nt.tLength+=kt.segmentLength,nt.segments.push(kt),pt+=kt.segmentLength;j=tt,xt.v.c&&(kt=bez.buildBezierData(yt.v[j],yt.v[0],[yt.o[j][0]-yt.v[j][0],yt.o[j][1]-yt.v[j][1]],[yt.i[0][0]-yt.v[0][0],yt.i[0][1]-yt.v[0][1]]),nt.tLength+=kt.segmentLength,nt.segments.push(kt),pt+=kt.segmentLength),this._pathData.pi=nt}if(nt=this._pathData.pi,rt=this._pathData.f.v,$=0,et=1,ut=0,_e=!0,lt=nt.segments,rt<0&&xt.v.c)for(nt.tLength<Math.abs(rt)&&(rt=-Math.abs(rt)%nt.tLength),$=lt.length-1,ot=lt[$].points,et=ot.length-1;rt<0;)rt+=ot[et].partialLength,et-=1,et<0&&($-=1,ot=lt[$].points,et=ot.length-1);ot=lt[$].points,st=ot[et-1],it=ot[et],ht=it.partialLength}tt=_.length,g=0,b=0;var wt=e.finalSize*1.2*.714,bt=!0,ft,dt,at,ct,gt;ct=a.length;var mt,Et=-1,Pt,Ct,jt,At=rt,Mt=$,It=et,Bt=-1,Ft,_t,Nt,Rt,Tt,zt,Wt,Gt,Ot="",Ht=this.defaultPropsArray,$t;if(e.j===2||e.j===1){var Vt=0,Ut=0,Kt=e.j===2?-.5:-1,Dt=0,qt=!0;for(j=0;j<tt;j+=1)if(_[j].n){for(Vt&&(Vt+=Ut);Dt<j;)_[Dt].animatorJustifyOffset=Vt,Dt+=1;Vt=0,qt=!0}else{for(at=0;at<ct;at+=1)ft=a[at].a,ft.t.propType&&(qt&&e.j===2&&(Ut+=ft.t.v*Kt),dt=a[at].s,mt=dt.getMult(_[j].anIndexes[at],o.a[at].s.totalChars),mt.length?Vt+=ft.t.v*mt[0]*Kt:Vt+=ft.t.v*mt*Kt);qt=!1}for(Vt&&(Vt+=Ut);Dt<j;)_[Dt].animatorJustifyOffset=Vt,Dt+=1}for(j=0;j<tt;j+=1){if(c.reset(),Ft=1,_[j].n)g=0,b+=e.yOffset,b+=bt?1:0,rt=At,bt=!1,this._hasMaskedPath&&($=Mt,et=It,ot=lt[$].points,st=ot[et-1],it=ot[et],ht=it.partialLength,ut=0),Ot="",Gt="",zt="",$t="",Ht=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Bt!==_[j].line){switch(e.j){case 1:rt+=pt-e.lineWidths[_[j].line];break;case 2:rt+=(pt-e.lineWidths[_[j].line])/2;break}Bt=_[j].line}Et!==_[j].ind&&(_[Et]&&(rt+=_[Et].extra),rt+=_[j].an/2,Et=_[j].ind),rt+=s[0]*_[j].an*.005;var Lt=0;for(at=0;at<ct;at+=1)ft=a[at].a,ft.p.propType&&(dt=a[at].s,mt=dt.getMult(_[j].anIndexes[at],o.a[at].s.totalChars),mt.length?Lt+=ft.p.v[0]*mt[0]:Lt+=ft.p.v[0]*mt),ft.a.propType&&(dt=a[at].s,mt=dt.getMult(_[j].anIndexes[at],o.a[at].s.totalChars),mt.length?Lt+=ft.a.v[0]*mt[0]:Lt+=ft.a.v[0]*mt);for(_e=!0,this._pathData.a.v&&(rt=_[0].an*.5+(pt-this._pathData.f.v-_[0].an*.5-_[_.length-1].an*.5)*Et/(tt-1),rt+=this._pathData.f.v);_e;)ut+ht>=rt+Lt||!ot?(vt=(rt+Lt-ut)/it.partialLength,Ct=st.point[0]+(it.point[0]-st.point[0])*vt,jt=st.point[1]+(it.point[1]-st.point[1])*vt,c.translate(-s[0]*_[j].an*.005,-(s[1]*wt)*.01),_e=!1):ot&&(ut+=it.partialLength,et+=1,et>=ot.length&&(et=0,$+=1,lt[$]?ot=lt[$].points:xt.v.c?(et=0,$=0,ot=lt[$].points):(ut-=it.partialLength,ot=null)),ot&&(st=it,it=ot[et],ht=it.partialLength));Pt=_[j].an/2-_[j].add,c.translate(-Pt,0,0)}else Pt=_[j].an/2-_[j].add,c.translate(-Pt,0,0),c.translate(-s[0]*_[j].an*.005,-s[1]*wt*.01,0);for(at=0;at<ct;at+=1)ft=a[at].a,ft.t.propType&&(dt=a[at].s,mt=dt.getMult(_[j].anIndexes[at],o.a[at].s.totalChars),(g!==0||e.j!==0)&&(this._hasMaskedPath?mt.length?rt+=ft.t.v*mt[0]:rt+=ft.t.v*mt:mt.length?g+=ft.t.v*mt[0]:g+=ft.t.v*mt));for(e.strokeWidthAnim&&(Nt=e.sw||0),e.strokeColorAnim&&(e.sc?_t=[e.sc[0],e.sc[1],e.sc[2]]:_t=[0,0,0]),e.fillColorAnim&&e.fc&&(Rt=[e.fc[0],e.fc[1],e.fc[2]]),at=0;at<ct;at+=1)ft=a[at].a,ft.a.propType&&(dt=a[at].s,mt=dt.getMult(_[j].anIndexes[at],o.a[at].s.totalChars),mt.length?c.translate(-ft.a.v[0]*mt[0],-ft.a.v[1]*mt[1],ft.a.v[2]*mt[2]):c.translate(-ft.a.v[0]*mt,-ft.a.v[1]*mt,ft.a.v[2]*mt));for(at=0;at<ct;at+=1)ft=a[at].a,ft.s.propType&&(dt=a[at].s,mt=dt.getMult(_[j].anIndexes[at],o.a[at].s.totalChars),mt.length?c.scale(1+(ft.s.v[0]-1)*mt[0],1+(ft.s.v[1]-1)*mt[1],1):c.scale(1+(ft.s.v[0]-1)*mt,1+(ft.s.v[1]-1)*mt,1));for(at=0;at<ct;at+=1){if(ft=a[at].a,dt=a[at].s,mt=dt.getMult(_[j].anIndexes[at],o.a[at].s.totalChars),ft.sk.propType&&(mt.length?c.skewFromAxis(-ft.sk.v*mt[0],ft.sa.v*mt[1]):c.skewFromAxis(-ft.sk.v*mt,ft.sa.v*mt)),ft.r.propType&&(mt.length?c.rotateZ(-ft.r.v*mt[2]):c.rotateZ(-ft.r.v*mt)),ft.ry.propType&&(mt.length?c.rotateY(ft.ry.v*mt[1]):c.rotateY(ft.ry.v*mt)),ft.rx.propType&&(mt.length?c.rotateX(ft.rx.v*mt[0]):c.rotateX(ft.rx.v*mt)),ft.o.propType&&(mt.length?Ft+=(ft.o.v*mt[0]-Ft)*mt[0]:Ft+=(ft.o.v*mt-Ft)*mt),e.strokeWidthAnim&&ft.sw.propType&&(mt.length?Nt+=ft.sw.v*mt[0]:Nt+=ft.sw.v*mt),e.strokeColorAnim&&ft.sc.propType)for(Tt=0;Tt<3;Tt+=1)mt.length?_t[Tt]+=(ft.sc.v[Tt]-_t[Tt])*mt[0]:_t[Tt]+=(ft.sc.v[Tt]-_t[Tt])*mt;if(e.fillColorAnim&&e.fc){if(ft.fc.propType)for(Tt=0;Tt<3;Tt+=1)mt.length?Rt[Tt]+=(ft.fc.v[Tt]-Rt[Tt])*mt[0]:Rt[Tt]+=(ft.fc.v[Tt]-Rt[Tt])*mt;ft.fh.propType&&(mt.length?Rt=addHueToRGB(Rt,ft.fh.v*mt[0]):Rt=addHueToRGB(Rt,ft.fh.v*mt)),ft.fs.propType&&(mt.length?Rt=addSaturationToRGB(Rt,ft.fs.v*mt[0]):Rt=addSaturationToRGB(Rt,ft.fs.v*mt)),ft.fb.propType&&(mt.length?Rt=addBrightnessToRGB(Rt,ft.fb.v*mt[0]):Rt=addBrightnessToRGB(Rt,ft.fb.v*mt))}}for(at=0;at<ct;at+=1)ft=a[at].a,ft.p.propType&&(dt=a[at].s,mt=dt.getMult(_[j].anIndexes[at],o.a[at].s.totalChars),this._hasMaskedPath?mt.length?c.translate(0,ft.p.v[1]*mt[0],-ft.p.v[2]*mt[1]):c.translate(0,ft.p.v[1]*mt,-ft.p.v[2]*mt):mt.length?c.translate(ft.p.v[0]*mt[0],ft.p.v[1]*mt[1],-ft.p.v[2]*mt[2]):c.translate(ft.p.v[0]*mt,ft.p.v[1]*mt,-ft.p.v[2]*mt));if(e.strokeWidthAnim&&(zt=Nt<0?0:Nt),e.strokeColorAnim&&(Wt="rgb("+Math.round(_t[0]*255)+","+Math.round(_t[1]*255)+","+Math.round(_t[2]*255)+")"),e.fillColorAnim&&e.fc&&(Gt="rgb("+Math.round(Rt[0]*255)+","+Math.round(Rt[1]*255)+","+Math.round(Rt[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-e.ls),c.translate(0,s[1]*wt*.01+b,0),this._pathData.p.v){St=(it.point[1]-st.point[1])/(it.point[0]-st.point[0]);var Xt=Math.atan(St)*180/Math.PI;it.point[0]<st.point[0]&&(Xt+=180),c.rotate(-Xt*Math.PI/180)}c.translate(Ct,jt,0),rt-=s[0]*_[j].an*.005,_[j+1]&&Et!==_[j+1].ind&&(rt+=_[j].an/2,rt+=e.tr*.001*e.finalSize)}else{switch(c.translate(g,b,0),e.ps&&c.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:c.translate(_[j].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[_[j].line]),0,0);break;case 2:c.translate(_[j].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[_[j].line])/2,0,0);break}c.translate(0,-e.ls),c.translate(Pt,0,0),c.translate(s[0]*_[j].an*.005,s[1]*wt*.01,0),g+=_[j].l+e.tr*.001*e.finalSize}h==="html"?Ot=c.toCSS():h==="svg"?Ot=c.to2dCSS():Ht=[c.props[0],c.props[1],c.props[2],c.props[3],c.props[4],c.props[5],c.props[6],c.props[7],c.props[8],c.props[9],c.props[10],c.props[11],c.props[12],c.props[13],c.props[14],c.props[15]],$t=Ft}d<=j?(gt=new LetterProps($t,zt,Wt,Gt,Ot,Ht),this.renderedLetters.push(gt),d+=1,this.lettersChangedFlag=!0):(gt=this.renderedLetters[j],this.lettersChangedFlag=gt.update($t,zt,Wt,Gt,Ot,Ht)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(e,i,s){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,i,s),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,i,s),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},ITextElement.prototype.createPathShape=function(e,i){var s,a=i.length,o,c="";for(s=0;s<a;s+=1)i[s].ty==="sh"&&(o=i[s].ks.k,c+=buildShapeString(o,o.i.length,!0,e));return c},ITextElement.prototype.updateDocumentData=function(e,i){this.textProperty.updateDocumentData(e,i)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,i,s,a,o){switch(e.ps&&i.translate(e.ps[0],e.ps[1]+e.ascent,0),i.translate(0,-e.ls,0),e.j){case 1:i.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[s]),0,0);break;case 2:i.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[s])/2,0,0);break}i.translate(a,o,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,i,s){this.textSpans=[],this.renderType="svg",this.initElement(e,i,s)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var i=0,s=e.length,a=[],o="";i<s;)e[i]==="\r"||e[i]==="�"?(a.push(o),o=""):o+=e[i],i+=1;return a.push(o),a},SVGTextLottieElement.prototype.buildShapeData=function(e,i){if(e.shapes&&e.shapes.length){var s=e.shapes[0];if(s.it){var a=s.it[s.it.length-1];a.s&&(a.s.k[0]=i,a.s.k[1]=i)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,i,s=this.textProperty.currentData;this.renderedLetters=createSizedArray(s?s.l.length:0),s.fc?this.layerElement.setAttribute("fill",this.buildColor(s.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),s.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(s.sc)),this.layerElement.setAttribute("stroke-width",s.sw)),this.layerElement.setAttribute("font-size",s.finalSize);var a=this.globalData.fontManager.getFontByName(s.f);if(a.fClass)this.layerElement.setAttribute("class",a.fClass);else{this.layerElement.setAttribute("font-family",a.fFamily);var o=s.fWeight,c=s.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",o)}this.layerElement.setAttribute("aria-label",s.t);var h=s.l||[],d=!!this.globalData.fontManager.chars;i=h.length;var g,b=this.mHelper,j="",tt=this.data.singleShape,_=0,nt=0,rt=!0,it=s.tr*.001*s.finalSize;if(tt&&!d&&!s.sz){var ut=this.textContainer,_e="start";switch(s.j){case 1:_e="end";break;case 2:_e="middle";break;default:_e="start";break}ut.setAttribute("text-anchor",_e),ut.setAttribute("letter-spacing",it);var et=this.buildTextContents(s.finalText);for(i=et.length,nt=s.ps?s.ps[1]+s.ascent:0,e=0;e<i;e+=1)g=this.textSpans[e].span||createNS("tspan"),g.textContent=et[e],g.setAttribute("x",0),g.setAttribute("y",nt),g.style.display="inherit",ut.appendChild(g),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=g,nt+=s.finalLineHeight;this.layerElement.appendChild(ut)}else{var $=this.textSpans.length,st;for(e=0;e<i;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!d||!tt||e===0){if(g=$>e?this.textSpans[e].span:createNS(d?"g":"text"),$<=e){if(g.setAttribute("stroke-linecap","butt"),g.setAttribute("stroke-linejoin","round"),g.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=g,d){var ot=createNS("g");g.appendChild(ot),this.textSpans[e].childSpan=ot}this.textSpans[e].span=g,this.layerElement.appendChild(g)}g.style.display="inherit"}if(b.reset(),tt&&(h[e].n&&(_=-it,nt+=s.yOffset,nt+=rt?1:0,rt=!1),this.applyTextPropertiesToMatrix(s,b,h[e].line,_,nt),_+=h[e].l||0,_+=it),d){st=this.globalData.fontManager.getCharData(s.finalText[e],a.fStyle,this.globalData.fontManager.getFontByName(s.f).fFamily);var lt;if(st.t===1)lt=new SVGCompElement(st.data,this.globalData,this);else{var ht=emptyShapeData;st.data&&st.data.shapes&&(ht=this.buildShapeData(st.data,s.finalSize)),lt=new SVGShapeElement(ht,this.globalData,this)}if(this.textSpans[e].glyph){var pt=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(pt.layerElement),pt.destroy()}this.textSpans[e].glyph=lt,lt._debug=!0,lt.prepareFrame(0),lt.renderFrame(),this.textSpans[e].childSpan.appendChild(lt.layerElement),st.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+s.finalSize/100+","+s.finalSize/100+")")}else tt&&g.setAttribute("transform","translate("+b.props[12]+","+b.props[13]+")"),g.textContent=h[e].val,g.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}tt&&g&&g.setAttribute("d",j)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,i=this.textSpans.length,s;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<i;e+=1)s=this.textSpans[e].glyph,s&&(s.prepareFrame(this.comp.renderedFrame-this.data.st),s._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var e,i,s=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;i=a.length;var o,c,h;for(e=0;e<i;e+=1)a[e].n||(o=s[e],c=this.textSpans[e].span,h=this.textSpans[e].glyph,h&&h.renderFrame(),o._mdf.m&&c.setAttribute("transform",o.m),o._mdf.o&&c.setAttribute("opacity",o.o),o._mdf.sw&&c.setAttribute("stroke-width",o.sw),o._mdf.sc&&c.setAttribute("stroke",o.sc),o._mdf.fc&&c.setAttribute("fill",o.fc))}};function ISolidElement(e,i,s){this.initElement(e,i,s)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function NullElement(e,i,s){this.initFrame(),this.initBaseData(e,i,s),this.initFrame(),this.initTransform(e,i,s),this.initHierarchy()}NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var i=this.globalData.defs;this.setupGlobalData(e,i),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var s=createNS("clipPath"),a=createNS("rect");a.setAttribute("width",e.w),a.setAttribute("height",e.h),a.setAttribute("x",0),a.setAttribute("y",0);var o=createElementID();s.setAttribute("id",o),s.appendChild(a),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")"),i.appendChild(s),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,i=this.layers?this.layers.length:0;for(e=0;e<i;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var i=0,s=this.layers.length;for(i=0;i<s;i+=1)if(this.layers[i].ind===e)return i;return-1},SVGRendererBase.prototype.buildItem=function(e){var i=this.elements;if(!(i[e]||this.layers[e].ty===99)){i[e]=!0;var s=this.createItem(this.layers[e]);if(i[e]=s,getExpressionsPlugin()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(s),s.initExpressions()),this.appendElementInPos(s,e),this.layers[e].tt){var a="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(a===-1)return;if(!this.elements[a]||this.elements[a]===!0)this.buildItem(a),this.addPendingElement(s);else{var o=i[a],c=o.getMatte(this.layers[e].tt);s.setMatte(c)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var i=0,s=this.elements.length;i<s;){if(this.elements[i]===e){var a="tp"in e.data?this.findIndexByInd(e.data.tp):i-1,o=this.elements[a],c=o.getMatte(this.layers[i].tt);e.setMatte(c);break}i+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var i,s=this.layers.length;for(this.completeLayers||this.checkLayers(e),i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(e-this.layers[i].st);if(this.globalData._mdf)for(i=0;i<s;i+=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,i){var s=e.getBaseElement();if(s){for(var a=0,o;a<i;)this.elements[a]&&this.elements[a]!==!0&&this.elements[a].getBaseElement()&&(o=this.elements[a].getBaseElement()),a+=1;o?this.layerElement.insertBefore(s,o):this.layerElement.appendChild(s)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,i,s){this.initFrame(),this.initBaseData(e,i,s),this.initTransform(e,i,s),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!i.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var i=this.tm.v;i===this.data.op&&(i=this.data.op-1),this.renderedFrame=i}var s,a=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),s=a-1;s>=0;s-=1)(this.completeLayers||this.elements[s])&&(this.elements[s].prepareFrame(this.renderedFrame-this.layers[s].st),this.elements[s]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,i=this.layers.length;for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,i=this.layers.length;for(e=0;e<i;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(e,i,s){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,i,s),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,i.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function SVGRenderer(e,i){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var s="";if(i&&i.title){var a=createNS("title"),o=createElementID();a.setAttribute("id",o),a.textContent=i.title,this.svgElement.appendChild(a),s+=o}if(i&&i.description){var c=createNS("desc"),h=createElementID();c.setAttribute("id",h),c.textContent=i.description,this.svgElement.appendChild(c),s+=" "+h}s&&this.svgElement.setAttribute("aria-labelledby",s);var d=createNS("defs");this.svgElement.appendChild(d);var g=createNS("g");this.svgElement.appendChild(g),this.layerElement=g,this.renderConfig={preserveAspectRatio:i&&i.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:i&&i.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:i&&i.contentVisibility||"visible",progressiveLoad:i&&i.progressiveLoad||!1,hideOnTransparent:!(i&&i.hideOnTransparent===!1),viewBoxOnly:i&&i.viewBoxOnly||!1,viewBoxSize:i&&i.viewBoxSize||!1,className:i&&i.className||"",id:i&&i.id||"",focusable:i&&i.focusable,filterSize:{width:i&&i.filterSize&&i.filterSize.width||"100%",height:i&&i.filterSize&&i.filterSize.height||"100%",x:i&&i.filterSize&&i.filterSize.x||"0%",y:i&&i.filterSize&&i.filterSize.y||"0%"},width:i&&i.width,height:i&&i.height,runExpressions:!i||i.runExpressions===void 0||i.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:d,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(i){var s,a=i.length,o="_";for(s=0;s<a;s+=1)o+=i[s].transform.key+"_";var c=this.sequences[o];return c||(c={transforms:[].concat(i),finalTransform:new Matrix,_mdf:!1},this.sequences[o]=c,this.sequenceList.push(c)),c},processSequence:function(i,s){for(var a=0,o=i.transforms.length,c=s;a<o&&!s;){if(i.transforms[a].transform.mProps._mdf){c=!0;break}a+=1}if(c)for(i.finalTransform.reset(),a=o-1;a>=0;a-=1)i.finalTransform.multiply(i.transforms[a].transform.mProps.v);i._mdf=c},processSequences:function(i){var s,a=this.sequenceList.length;for(s=0;s<a;s+=1)this.processSequence(this.sequenceList[s],i)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var i="__lottie_element_luma_buffer",s=null,a=null,o=null;function c(){var g=createNS("svg"),b=createNS("filter"),j=createNS("feColorMatrix");return b.setAttribute("id",i),j.setAttribute("type","matrix"),j.setAttribute("color-interpolation-filters","sRGB"),j.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),b.appendChild(j),g.appendChild(b),g.setAttribute("id",i+"_svg"),featureSupport.svgLumaHidden&&(g.style.display="none"),g}function h(){s||(o=c(),document.body.appendChild(o),s=createTag("canvas"),a=s.getContext("2d"),a.filter="url
56(#"+i+")",a.fillStyle="rgba(0,0,0,0)",a.fillRect(0,0,1,1))}function d(g){return s||h(),s.width=g.width,s.height=g.height,a.filter="url(#"+i+")",s}return{load:h,get:d}};function createCanvas(e,i){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,i);var s=createTag("canvas");return s.width=e,s.height=i,s}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(e){var i,s=e.data.ef?e.data.ef.length:0;this.filters=[];var a;for(i=0;i<s;i+=1){a=null;var o=e.data.ef[i].ty;if(registeredEffects[o]){var c=registeredEffects[o].effect;a=new c(e.effectsManager.effectElements[i],e)}a&&this.filters.push(a)}this.filters.length&&e.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(e){var i,s=this.filters.length;for(i=0;i<s;i+=1)this.filters[i].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var i,s=this.filters.length,a=[];for(i=0;i<s;i+=1)this.filters[i].type===e&&a.push(this.filters[i]);return a};function registerEffect(e,i){registeredEffects[e]={effect:i}}function CVMaskElement(e,i){this.data=e,this.element=i,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var s,a=this.masksProperties.length,o=!1;for(s=0;s<a;s+=1)this.masksProperties[s].mode!=="n"&&(o=!0),this.viewData[s]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[s],3);this.hasMasks=o,o&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e=this.element.finalTransform.mat,i=this.element.canvasContext,s,a=this.masksProperties.length,o,c,h;for(i.beginPath(),s=0;s<a;s+=1)if(this.masksProperties[s].mode!=="n"){this.masksProperties[s].inv&&(i.moveTo(0,0),i.lineTo(this.element.globalData.compSize.w,0),i.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),i.lineTo(0,this.element.globalData.compSize.h),i.lineTo(0,0)),h=this.viewData[s].v,o=e.applyToPointArray(h.v[0][0],h.v[0][1],0),i.moveTo(o[0],o[1]);var d,g=h._length;for(d=1;d<g;d+=1)c=e.applyToTriplePoints(h.o[d-1],h.i[d],h.v[d]),i.bezierCurveTo(c[0],c[1],c[2],c[3],c[4],c[5]);c=e.applyToTriplePoints(h.o[d-1],h.i[0],h.v[0]),i.bezierCurveTo(c[0],c[1],c[2],c[3],c[4],c[5])}this.element.globalData.renderer.save(!0),i.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var i=this.globalData.canvasContext,s=assetLoader.createCanvas(i.canvas.width,i.canvas.height);this.buffers.push(s);var a=assetLoader.createCanvas(i.canvas.width,i.canvas.height);this.buffers.push(a),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var i=this.globalData;if(i.blendMode!==this.data.bm){i.blendMode=this.data.bm;var s=getBlendMode(this.data.bm);i.canvasContext.globalCompositeOperation=s}},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(i){i.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 i=this.buffers[0],s=i.getContext("2d");this.clearCanvas(s),s.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 i=this.buffers[1],s=i.getContext("2d");this.clearCanvas(s),s.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var a=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(a.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var o=assetLoader.getLumaCanvas(this.canvasContext.canvas),c=o.getContext("2d");c.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(o,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(i,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(i){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!i)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var s=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(s),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(s),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,i,s,a){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var o=4;i.ty==="rc"?o=5:i.ty==="el"?o=6:i.ty==="sr"&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(e,i,o,e);var c,h=s.length,d;for(c=0;c<h;c+=1)s[c].closed||(d={transforms:a.addTransformSequence(s[c].transforms),trNodes:[]},this.styledShapes.push(d),s[c].elements.push(d))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(e,i,s){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,i,s)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,i){var s={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(i),transforms:[],elements:[],closed:e.hd===!0},a={};if(e.ty==="fl"||e.ty==="st"?(a.c=PropertyFactory.getProp(this,e.c,1,255,this),a.c.k||(s.co="rgb("+bmFloor(a.c.v[0])+","+bmFloor(a.c.v[1])+","+bmFloor(a.c.v[2])+")")):(e.ty==="gf"||e.ty==="gs")&&(a.s=PropertyFactory.getProp(this,e.s,1,null,this),a.e=PropertyFactory.getProp(this,e.e,1,null,this),a.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),a.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),a.g=new GradientProperty(this,e.g,this)),a.o=PropertyFactory.getProp(this,e.o,0,.01,this),e.ty==="st"||e.ty==="gs"){if(s.lc=lineCapEnum[e.lc||2],s.lj=lineJoinEnum[e.lj||2],e.lj==1&&(s.ml=e.ml),a.w=PropertyFactory.getProp(this,e.w,0,null,this),a.w.k||(s.wi=a.w.v),e.d){var o=new DashProperty(this,e.d,"canvas",this);a.d=o,a.d.k||(s.da=a.d.dashArray,s.do=a.d.dashoffset[0])}}else s.r=e.r===2?"evenodd":"nonzero";return this.stylesList.push(s),a.style=s,a},CVShapeElement.prototype.createGroupElement=function(){var e={it:[],prevViewData:[]};return e},CVShapeElement.prototype.createTransformElement=function(e){var i={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}};return i},CVShapeElement.prototype.createShapeElement=function(e){var i=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(i),this.addShapeToModifiers(i),i},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,i=this.itemsData.length;for(e=0;e<i;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),i=this.dynamicProperties.length,e=0;e<i;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var i,s=this.stylesList.length;for(i=0;i<s;i+=1)this.stylesList[i].closed||this.stylesList[i].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var i,s=e.length;for(i=0;i<s;i+=1)e[i].closed=!0},CVShapeElement.prototype.searchShapes=function(e,i,s,a,o){var c,h=e.length-1,d,g,b=[],j=[],tt,_,nt,rt=[].concat(o);for(c=h;c>=0;c-=1){if(tt=this.searchProcessedElement(e[c]),tt?i[c]=s[tt-1]:e[c]._shouldRender=a,e[c].ty==="fl"||e[c].ty==="st"||e[c].ty==="gf"||e[c].ty==="gs")tt?i[c].style.closed=!1:i[c]=this.createStyleElement(e[c],rt),b.push(i[c].style);else if(e[c].ty==="gr"){if(!tt)i[c]=this.createGroupElement(e[c]);else for(g=i[c].it.length,d=0;d<g;d+=1)i[c].prevViewData[d]=i[c].it[d];this.searchShapes(e[c].it,i[c].it,i[c].prevViewData,a,rt)}else e[c].ty==="tr"?(tt||(nt=this.createTransformElement(e[c]),i[c]=nt),rt.push(i[c]),this.addTransformToStyleList(i[c])):e[c].ty==="sh"||e[c].ty==="rc"||e[c].ty==="el"||e[c].ty==="sr"?tt||(i[c]=this.createShapeElement(e[c])):e[c].ty==="tm"||e[c].ty==="rd"||e[c].ty==="pb"||e[c].ty==="zz"||e[c].ty==="op"?(tt?(_=i[c],_.closed=!1):(_=ShapeModifiers.getModifier(e[c].ty),_.init(this,e[c]),i[c]=_,this.shapeModifiers.push(_)),j.push(_)):e[c].ty==="rp"&&(tt?(_=i[c],_.closed=!0):(_=ShapeModifiers.getModifier(e[c].ty),i[c]=_,_.init(this,e,c,i),this.shapeModifiers.push(_),a=!1),j.push(_));this.addProcessedElement(e[c],c+1)}for(this.removeTransformFromStyleList(),this.closeStyles(b),h=j.length,c=0;c<h;c+=1)j[c].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,i){(e._opMdf||i.op._mdf||this._isFirstFrame)&&(i.opacity=e.opacity,i.opacity*=i.op.v,i._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,i=this.stylesList.length,s,a,o,c,h,d,g=this.globalData.renderer,b=this.globalData.canvasContext,j,tt;for(e=0;e<i;e+=1)if(tt=this.stylesList[e],j=tt.type,!((j==="st"||j==="gs")&&tt.wi===0||!tt.data._shouldRender||tt.coOp===0||this.globalData.currentGlobalAlpha===0)){for(g.save(),h=tt.elements,j==="st"||j==="gs"?(g.ctxStrokeStyle(j==="st"?tt.co:tt.grd),g.ctxLineWidth(tt.wi),g.ctxLineCap(tt.lc),g.ctxLineJoin(tt.lj),g.ctxMiterLimit(tt.ml||0)):g.ctxFillStyle(j==="fl"?tt.co:tt.grd),g.ctxOpacity(tt.coOp),j!=="st"&&j!=="gs"&&b.beginPath(),g.ctxTransform(tt.preTransforms.finalTransform.props),a=h.length,s=0;s<a;s+=1){for((j==="st"||j==="gs")&&(b.beginPath(),tt.da&&(b.setLineDash(tt.da),b.lineDashOffset=tt.do)),d=h[s].trNodes,c=d.length,o=0;o<c;o+=1)d[o].t==="m"?b.moveTo(d[o].p[0],d[o].p[1]):d[o].t==="c"?b.bezierCurveTo(d[o].pts[0],d[o].pts[1],d[o].pts[2],d[o].pts[3],d[o].pts[4],d[o].pts[5]):b.closePath();(j==="st"||j==="gs")&&(g.ctxStroke(),tt.da&&b.setLineDash(this.dashResetter))}j!=="st"&&j!=="gs"&&this.globalData.renderer.ctxFill(tt.r),g.restore(
vendor: 109,337 bytes, line 56
56)}},CVShapeElement.prototype.renderShape=function(e,i,s,a){var o,c=i.length-1,h;for(h=e,o=c;o>=0;o-=1)i[o].ty==="tr"?(h=s[o].transform,this.renderShapeTransform(e,h)):i[o].ty==="sh"||i[o].ty==="el"||i[o].ty==="rc"||i[o].ty==="sr"?this.renderPath(i[o],s[o]):i[o].ty==="fl"?this.renderFill(i[o],s[o],h):i[o].ty==="st"?this.renderStroke(i[o],s[o],h):i[o].ty==="gf"||i[o].ty==="gs"?this.renderGradientFill(i[o],s[o],h):i[o].ty==="gr"?this.renderShape(h,i[o].it,s[o].it):i[o].ty;a&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,i){if(this._isFirstFrame||i._mdf||e.transforms._mdf){var s=e.trNodes,a=i.paths,o,c,h,d=a._length;s.length=0;var g=e.transforms.finalTransform;for(h=0;h<d;h+=1){var b=a.shapes[h];if(b&&b.v){for(c=b._length,o=1;o<c;o+=1)o===1&&s.push({t:"m",p:g.applyToPointArray(b.v[0][0],b.v[0][1],0)}),s.push({t:"c",pts:g.applyToTriplePoints(b.o[o-1],b.i[o],b.v[o])});c===1&&s.push({t:"m",p:g.applyToPointArray(b.v[0][0],b.v[0][1],0)}),b.c&&c&&(s.push({t:"c",pts:g.applyToTriplePoints(b.o[o-1],b.i[0],b.v[0])}),s.push({t:"z"}))}}e.trNodes=s}},CVShapeElement.prototype.renderPath=function(e,i){if(e.hd!==!0&&e._shouldRender){var s,a=i.styledShapes.length;for(s=0;s<a;s+=1)this.renderStyledShape(i.styledShapes[s],i.sh)}},CVShapeElement.prototype.renderFill=function(e,i,s){var a=i.style;(i.c._mdf||this._isFirstFrame)&&(a.co="rgb("+bmFloor(i.c.v[0])+","+bmFloor(i.c.v[1])+","+bmFloor(i.c.v[2])+")"),(i.o._mdf||s._opMdf||this._isFirstFrame)&&(a.coOp=i.o.v*s.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,i,s){var a=i.style,o;if(!a.grd||i.g._mdf||i.s._mdf||i.e._mdf||e.t!==1&&(i.h._mdf||i.a._mdf)){var c=this.globalData.canvasContext,h=i.s.v,d=i.e.v;if(e.t===1)o=c.createLinearGradient(h[0],h[1],d[0],d[1]);else{var g=Math.sqrt(Math.pow(h[0]-d[0],2)+Math.pow(h[1]-d[1],2)),b=Math.atan2(d[1]-h[1],d[0]-h[0]),j=i.h.v;j>=1?j=.99:j<=-1&&(j=-.99);var tt=g*j,_=Math.cos(b+i.a.v)*tt+h[0],nt=Math.sin(b+i.a.v)*tt+h[1];o=c.createRadialGradient(_,nt,0,h[0],h[1],g)}var rt,it=e.g.p,ut=i.g.c,_e=1;for(rt=0;rt<it;rt+=1)i.g._hasOpacity&&i.g._collapsable&&(_e=i.g.o[rt*2+1]),o.addColorStop(ut[rt*4]/100,"rgba("+ut[rt*4+1]+","+ut[rt*4+2]+","+ut[rt*4+3]+","+_e+")");a.grd=o}a.coOp=i.o.v*s.opacity},CVShapeElement.prototype.renderStroke=function(e,i,s){var a=i.style,o=i.d;o&&(o._mdf||this._isFirstFrame)&&(a.da=o.dashArray,a.do=o.dashoffset[0]),(i.c._mdf||this._isFirstFrame)&&(a.co="rgb("+bmFloor(i.c.v[0])+","+bmFloor(i.c.v[1])+","+bmFloor(i.c.v[2])+")"),(i.o._mdf||s._opMdf||this._isFirstFrame)&&(a.coOp=i.o.v*s.opacity),(i.w._mdf||this._isFirstFrame)&&(a.wi=i.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(e,i,s){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,i,s)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var i=!1;e.fc?(i=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=i;var s=!1;e.sc&&(s=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var a=this.globalData.fontManager.getFontByName(e.f),o,c,h=e.l,d=this.mHelper;this.stroke=s,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,c=e.finalText.length;var g,b,j,tt,_,nt,rt,it,ut,_e,et=this.data.singleShape,$=e.tr*.001*e.finalSize,st=0,ot=0,lt=!0,ht=0;for(o=0;o<c;o+=1){g=this.globalData.fontManager.getCharData(e.finalText[o],a.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),b=g&&g.data||{},d.reset(),et&&h[o].n&&(st=-$,ot+=e.yOffset,ot+=lt?1:0,lt=!1),_=b.shapes?b.shapes[0].it:[],rt=_.length,d.scale(e.finalSize/100,e.finalSize/100),et&&this.applyTextPropertiesToMatrix(e,d,h[o].line,st,ot),ut=createSizedArray(rt-1);var pt=0;for(nt=0;nt<rt;nt+=1)if(_[nt].ty==="sh"){for(tt=_[nt].ks.k.i.length,it=_[nt].ks.k,_e=[],j=1;j<tt;j+=1)j===1&&_e.push(d.applyToX(it.v[0][0],it.v[0][1],0),d.applyToY(it.v[0][0],it.v[0][1],0)),_e.push(d.applyToX(it.o[j-1][0],it.o[j-1][1],0),d.applyToY(it.o[j-1][0],it.o[j-1][1],0),d.applyToX(it.i[j][0],it.i[j][1],0),d.applyToY(it.i[j][0],it.i[j][1],0),d.applyToX(it.v[j][0],it.v[j][1],0),d.applyToY(it.v[j][0],it.v[j][1],0));_e.push(d.applyToX(it.o[j-1][0],it.o[j-1][1],0),d.applyToY(it.o[j-1][0],it.o[j-1][1],0),d.applyToX(it.i[0][0],it.i[0][1],0),d.applyToY(it.i[0][0],it.i[0][1],0),d.applyToX(it.v[0][0],it.v[0][1],0),d.applyToY(it.v[0][0],it.v[0][1],0)),ut[pt]=_e,pt+=1}et&&(st+=h[o].l,st+=$),this.textSpans[ht]?this.textSpans[ht].elem=ut:this.textSpans[ht]={elem:ut},ht+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var e=this.canvasContext;e.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var i,s,a,o,c,h,d=this.textAnimator.renderedLetters,g=this.textProperty.currentData.l;s=g.length;var b,j=null,tt=null,_=null,nt,rt,it=this.globalData.renderer;for(i=0;i<s;i+=1)if(!g[i].n){if(b=d[i],b&&(it.save(),it.ctxTransform(b.p),it.ctxOpacity(b.o)),this.fill){for(b&&b.fc?j!==b.fc&&(it.ctxFillStyle(b.fc),j=b.fc):j!==this.values.fill&&(j=this.values.fill,it.ctxFillStyle(this.values.fill)),nt=this.textSpans[i].elem,o=nt.length,this.globalData.canvasContext.beginPath(),a=0;a<o;a+=1)for(rt=nt[a],h=rt.length,this.globalData.canvasContext.moveTo(rt[0],rt[1]),c=2;c<h;c+=6)this.globalData.canvasContext.bezierCurveTo(rt[c],rt[c+1],rt[c+2],rt[c+3],rt[c+4],rt[c+5]);this.globalData.canvasContext.closePath(),it.ctxFill()}if(this.stroke){for(b&&b.sw?_!==b.sw&&(_=b.sw,it.ctxLineWidth(b.sw)):_!==this.values.sWidth&&(_=this.values.sWidth,it.ctxLineWidth(this.values.sWidth)),b&&b.sc?tt!==b.sc&&(tt=b.sc,it.ctxStrokeStyle(b.sc)):tt!==this.values.stroke&&(tt=this.values.stroke,it.ctxStrokeStyle(this.values.stroke)),nt=this.textSpans[i].elem,o=nt.length,this.globalData.canvasContext.beginPath(),a=0;a<o;a+=1)for(rt=nt[a],h=rt.length,this.globalData.canvasContext.moveTo(rt[0],rt[1]),c=2;c<h;c+=6)this.globalData.canvasContext.bezierCurveTo(rt[c],rt[c+1],rt[c+2],rt[c+3],rt[c+4],rt[c+5]);this.globalData.canvasContext.closePath(),it.ctxStroke()}b&&this.globalData.renderer.restore()}};function CVImageElement(e,i,s){this.assetData=i.getAssetData(e.refId),this.img=i.imageLoader.getAsset(this.assetData),this.initElement(e,i,s)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var i=e.getContext("2d"),s=this.img.width,a=this.img.height,o=s/a,c=this.assetData.w/this.assetData.h,h,d,g=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;o>c&&g==="xMidYMid slice"||o<c&&g!=="xMidYMid slice"?(d=a,h=d*c):(h=s,d=h/c),i.drawImage(this.img,(s-h)/2,(a-d)/2,h,d,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(e,i,s){this.initElement(e,i,s)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){e[0]===1&&e[1]===0&&e[4]===0&&e[5]===1&&e[12]===0&&e[13]===0||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,i,s,a){this.canvasContext.fillRect(e,i,s,a)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var i=this.animationItem.container.style;i.width="100%",i.height="100%";var s="0px 0px 0px";i.transformOrigin=s,i.mozTransformOrigin=s,i.webkitTransformOrigin=s,i["-webkit-transform"]=s,i.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,i){this.reset();var s,a;e?(s=e,a=i,this.canvasContext.canvas.width=s,this.canvasContext.canvas.height=a):(this.animationItem.wrapper&&this.animationItem.container?(s=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight):(s=this.canvasContext.canvas.width,a=this.canvasContext.canvas.height),this.canvasContext.canvas.width=s*this.renderConfig.dpr,this.canvasContext.canvas.height=a*this.renderConfig.dpr);var o,c;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var h=this.renderConfig.preserveAspectRatio.split(" "),d=h[1]||"meet",g=h[0]||"xMidYMid",b=g.substr(0,4),j=g.substr(4);o=s/a,c=this.transformCanvas.w/this.transformCanvas.h,c>o&&d==="meet"||c<o&&d==="slice"?(this.transformCanvas.sx=s/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=s/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=a/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=a/(this.transformCanvas.h/this.renderConfig.dpr)),b==="xMid"&&(c<o&&d==="meet"||c>o&&d==="slice")?this.transformCanvas.tx=(s-this.transformCanvas.w*(a/this.transformCanvas.h))/2*this.renderConfig.dpr:b==="xMax"&&(c<o&&d==="meet"||c>o&&d==="slice")?this.transformCanvas.tx=(s-this.transformCanvas.w*(a/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,j==="YMid"&&(c>o&&d==="meet"||c<o&&d==="slice")?this.transformCanvas.ty=(a-this.transformCanvas.h*(s/this.transformCanvas.w))/2*this.renderConfig.dpr:j==="YMax"&&(c>o&&d==="meet"||c<o&&d==="slice")?this.transformCanvas.ty=(a-this.transformCanvas.h*(s/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=s/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=a/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var e,i=this.layers?this.layers.length:0;for(e=i-1;e>=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,i){if(!(this.renderedFrame===e&&this.renderConfig.clearCanvas===!0&&!i||this.destroyed||e===-1)){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||i,this.globalData.projectInterface.currentFrame=e;var s,a=this.layers.length;for(this.completeLayers||this.checkLayers(e),s=a-1;s>=0;s-=1)(this.completeLayers||this.elements[s])&&this.elements[s].prepareFrame(e-this.layers[s].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),s=a-1;s>=0;s-=1)(this.completeLayers||this.elements[s])&&this.elements[s].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var i=this.elements;if(!(i[e]||this.layers[e].ty===99)){var s=this.createItem(this.layers[e],this,this.globalData);i[e]=s,s.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,i=15;for(e=0;e<i;e+=1){var s=new CanvasContext;this.stack[e]=s}this._length=i,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var e=this._length*2,i=0;for(i=this._length;i<e;i+=1)this.stack[i]=new CanvasContext;this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(e){this.cArrPos-=1;var i=this.stack[this.cArrPos],s=i.transform,a,o=this.cTr.props;for(a=0;a<16;a+=1)o[a]=s[a];if(e){this.nativeContext.restore();var c=this.stack[this.cArrPos+1];this.appliedFillStyle=c.fillStyle,this.appliedStrokeStyle=c.strokeStyle,this.appliedLineWidth=c.lineWidth,this.appliedLineCap=c.lineCap,this.appliedLineJoin=c.lineJoin,this.appliedMiterLimit=c.miterLimit}this.nativeContext.setTransform(s[0],s[1],s[4],s[5],s[12],s[13]),(e||i.opacity!==-1&&this.currentOpacity!==i.opacity)&&(this.nativeContext.globalAlpha=i.opacity,this.currentOpacity=i.opacity),this.currentFillStyle=i.fillStyle,this.currentStrokeStyle=i.strokeStyle,this.currentLineWidth=i.lineWidth,this.currentLineCap=i.lineCap,this.currentLineJoin=i.lineJoin,this.currentMiterLimit=i.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var i=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var s=this.stack[this.cArrPos],a;for(a=0;a<16;a+=1)s.transform[a]=i[a];this.cArrPos+=1;var o=this.stack[this.cArrPos];o.opacity=s.opacity,o.fillStyle=s.fillStyle,o.strokeStyle=s.strokeStyle,o.lineWidth=s.lineWidth,o.lineCap=s.lineCap,o.lineJoin=s.lineJoin,o.miterLimit=s.miterLimit},CVContextData.prototype.setOpacity=function(e){this.stack[this.cArrPos].opacity=e},CVContextData.prototype.setContext=function(e){this.nativeContext=e},CVContextData.prototype.fillStyle=function(e){this.stack[this.cArrPos].fillStyle!==e&&(this.currentFillStyle=e,this.stack[this.cArrPos].fillStyle=e)},CVContextData.prototype.strokeStyle=function(e){this.stack[this.cArrPos].strokeStyle!==e&&(this.currentStrokeStyle=e,this.stack[this.cArrPos].strokeStyle=e)},CVContextData.prototype.lineWidth=function(e){this.stack[this.cArrPos].lineWidth!==e&&(this.currentLineWidth=e,this.stack[this.cArrPos].lineWidth=e)},CVContextData.prototype.lineCap=function(e){this.stack[this.cArrPos].lineCap!==e&&(this.currentLineCap=e,this.stack[this.cArrPos].lineCap=e)},CVContextData.prototype.lineJoin=function(e){this.stack[this.cArrPos].lineJoin!==e&&(this.currentLineJoin=e,this.stack[this.cArrPos].lineJoin=e)},CVContextData.prototype.miterLimit=function(e){this.stack[this.cArrPos].miterLimit!==e&&(this.currentMiterLimit=e,this.stack[this.cArrPos].miterLimit=e)},CVContextData.prototype.transform=function(e){this.transformMat.cloneFromProps(e);var i=this.cTr;this.transformMat.multiply(i),i.cloneFromProps(this.transformMat.props);var s=i.props;this.nativeContext.setTransform(s[0],s[1],s[4],s[5],s[12],s[13])},CVContextData.prototype.opacity=function(e){var i=this.stack[this.cArrPos].opacity;i*=e<0?0:e,this.stack[this.cArrPos].opacity!==i&&(this.currentOpacity!==e&&(this.nativeContext.globalAlpha=e,this.currentOpacity=e),this.stack[this.cArrPos].opacity=i)},CVContextData.prototype.fill=function(e){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(e)},CVContextData.prototype.fillRect=function(e,i,s,a){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,i,s,a)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(e,i,s){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,i,s),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,i.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip();var i,s=this.layers.length;for(i=s-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame()},CVCompElement.prototype.destroy=function(){var e,i=this.layers.length;for(e=i-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,i){this.animationItem=e,this.renderConfig={clearCanvas:i&&i.clearCanvas!==void 0?i.clearCanvas:!0,context:i&&i.context||null,progressiveLoad:i&&i.progressiveLoad||!1,preserveAspectRatio:i&&i.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:i&&i.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:i&&i.contentVisibility||"visible",className:i&&i.className||"",id:i&&i.id||"",runExpressions:!i||i.runExpressions===void 0||i.runExpressions},this.renderConfig.dpr=i&&i.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=i&&i.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 i=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var s=this.finalTransform.mat.toCSS();i.transform=s,i.webkitTransform=s}this.finalTransform._opMdf&&(i.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,i,s){this.initElement(e,i,s)}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,i,s){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,i,s),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 i=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",i.w),e.setAttribute("height",i.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,i){var s,a=e.length;for(s=0;s<a;s+=1)i=e[s].mProps.v.applyToPointArray(i[0],i[1],0);return i},HShapeElement.prototype.calculateShapeBoundingBox=function(e,i){var s=e.sh.v,a=e.transformers,o,c=s._length,h,d,g,b;if(!(c<=1)){for(o=0;o<c-1;o+=1)h=this.getTransformedPoint(a,s.v[o]),d=this.getTransformedPoint(a,s.o[o]),g=this.getTransformedPoint(a,s.i[o+1]),b=this.getTransformedPoint(a,s.v[o+1]),this.checkBounds(h,d,g,b,i);s.c&&(h=this.getTransformedPoint(a,s.v[o]),d=this.getTransformedPoint(a,s.o[o]),g=this.getTransformedPoint(a,s.i[0]),b=this.getTransformedPoint(a,s.v[0]),this.checkBounds(h,d,g,b,i))}},HShapeElement.prototype.checkBounds=function(e,i,s,a,o){this.getBoundsOfCurve(e,i,s,a);var c=this.shapeBoundingBox;o.x=bmMin(c.left,o.x),o.xMax=bmMax(c.right,o.xMax),o.y=bmMin(c.top,o.y),o.yMax=bmMax(c.bottom,o.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,i,s,a){for(var o=[[e[0],a[0]],[e[1],a[1]]],c,h,d,g,b,j,tt,_=0;_<2;++_)h=6*e[_]-12*i[_]+6*s[_],c=-3*e[_]+9*i[_]-9*s[_]+3*a[_],d=3*i[_]-3*e[_],h|=0,c|=0,d|=0,c===0&&h===0||(c===0?(g=-d/h,g>0&&g<1&&o[_].push(this.calculateF(g,e,i,s,a,_))):(b=h*h-4*d*c,b>=0&&(j=(-h+bmSqrt(b))/(2*c),j>0&&j<1&&o[_].push(this.calculateF(j,e,i,s,a,_)),tt=(-h-bmSqrt(b))/(2*c),tt>0&&tt<1&&o[_].push(this.calculateF(tt,e,i,s,a,_)))));this.shapeBoundingBox.left=bmMin.apply(null,o[0]),this.shapeBoundingBox.top=bmMin.apply(null,o[1]),this.shapeBoundingBox.right=bmMax.apply(null,o[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,o[1])},HShapeElement.prototype.calculateF=function(e,i,s,a,o,c){return bmPow(1-e,3)*i[c]+3*bmPow(1-e,2)*e*s[c]+3*(1-e)*bmPow(e,2)*a[c]+bmPow(e,3)*o[c]},HShapeElement.prototype.calculateBoundingBox=function(e,i){var s,a=e.length;for(s=0;s<a;s+=1)e[s]&&e[s].sh?this.calculateShapeBoundingBox(e[s],i):e[s]&&e[s].it?this.calculateBoundingBox(e[s].it,i):e[s]&&e[s].style&&e[s].w&&this.expandStrokeBoundingBox(e[s].w,i)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,i){var s=0;if(e.keyframes){for(var a=0;a<e.keyframes.length;a+=1){var o=e.keyframes[a].s;o>s&&(s=o)}s*=e.mult}else s=e.v*e.mult;i.x-=s,i.xMax+=s,i.y-=s,i.yMax+=s},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,i=999999;if(e.x=i,e.xMax=-i,e.y=i,e.yMax=-i,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var s=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),s=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),s=!0),s||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var a=this.shapeCont.style,o="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";a.transform=o,a.webkitTransform=o}}};function HTextElement(e,i,s){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,i,s)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var i=this.innerElem.style,s=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";i.fill=s,i.color=s,e.sc&&(i.stroke=this.buildColor(e.sc),i.strokeWidth=e.sw+"px");var a=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(i.fontSize=e.finalSize+"px",i.lineHeight=e.finalSize+"px",a.fClass)this.innerElem.className=a.fClass;else{i.fontFamily=a.fFamily;var o=e.fWeight,c=e.fStyle;i.fontStyle=c,i.fontWeight=o}var h,d,g=e.l;d=g.length;var b,j,tt,_=this.mHelper,nt,rt="",it=0;for(h=0;h<d;h+=1){if(this.globalData.fontManager.chars?(this.textPaths[it]?b=this.textPaths[it]:(b=createNS("path"),b.setAttribute("stroke-linecap",lineCapEnum[1]),b.setAttribute("stroke-linejoin",lineJoinEnum[2]),b.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[it]?(j=this.textSpans[it],tt=j.children[0]):(j=createTag("div"),j.style.lineHeight=0,tt=createNS("svg"),tt.appendChild(b),styleDiv(j)))):this.isMasked?b=this.textPaths[it]?this.textPaths[it]:createNS("text"):this.textSpans[it]?(j=this.textSpans[it],b=this.textPaths[it]):(j=createTag("span"),styleDiv(j),b=createTag("span"),styleDiv(b),j.appendChild(b)),this.globalData.fontManager.chars){var ut=this.globalData.fontManager.getCharData(e.finalText[h],a.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily),_e;if(ut?_e=ut.data:_e=null,_.reset(),_e&&_e.shapes&&_e.shapes.length&&(nt=_e.shapes[0].it,_.scale(e.finalSize/100,e.finalSize/100),rt=this.createPathShape(_,nt),b.setAttribute("d",rt)),this.isMasked)this.innerElem.appendChild(b);else{if(this.innerElem.appendChild(j),_e&&_e.shapes){document.body.appendChild(tt);var et=tt.getBBox();tt.setAttribute("width",et.width+2),tt.setAttribute("height",et.height+2),tt.setAttribute("viewBox",et.x-1+" "+(et.y-1)+" "+(et.width+2)+" "+(et.height+2));var $=tt.style,st="translate("+(et.x-1)+"px,"+(et.y-1)+"px)";$.transform=st,$.webkitTransform=st,g[h].yOffset=et.y-1}else tt.setAttribute("width",1),tt.setAttribute("height",1);j.appendChild(tt)}}else if(b.textContent=g[h].val,b.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(b);else{this.innerElem.appendChild(j);var ot=b.style,lt="translate3d(0,"+-e.finalSize/1.2+"px,0)";ot.transform=lt,ot.webkitTransform=lt}this.isMasked?this.textSpans[it]=b:this.textSpans[it]=j,this.textSpans[it].style.display="block",this.textPaths[it]=b,it+=1}for(;it<this.textSpans.length;)this.textSpans[it].style.display="none",it+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var i="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=i,e.webkitTransform=i}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var s,a,o=0,c=this.textAnimator.renderedLetters,h=this.textProperty.currentData.l;a=h.length;var d,g,b;for(s=0;s<a;s+=1)h[s].n?o+=1:(g=this.textSpans[s],b=this.textPaths[s],d=c[o],o+=1,d._mdf.m&&(this.isMasked?g.setAttribute("transform",d.m):(g.style.webkitTransform=d.m,g.style.transform=d.m)),g.style.opacity=d.o,d.sw&&d._mdf.sw&&b.setAttribute("stroke-width",d.sw),d.sc&&d._mdf.sc&&b.setAttribute("stroke",d.sc),d.fc&&d._mdf.fc&&(b.setAttribute("fill",d.fc),b.style.color=d.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var j=this.innerElem.getBBox();this.currentBBox.w!==j.width&&(this.currentBBox.w=j.width,this.svgElement.setAttribute("width",j.width)),this.currentBBox.h!==j.height&&(this.currentBBox.h=j.height,this.svgElement.setAttribute("height",j.height));var tt=1;if(this.currentBBox.w!==j.width+tt*2||this.currentBBox.h!==j.height+tt*2||this.currentBBox.x!==j.x-tt||this.currentBBox.y!==j.y-tt){this.currentBBox.w=j.width+tt*2,this.currentBBox.h=j.height+tt*2,this.currentBBox.x=j.x-tt,this.currentBBox.y=j.y-tt,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var _="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=_,e.webkitTransform=_}}}};function HCameraElement(e,i,s){this.initFrame(),this.initBaseData(e,i,s),this.initHierarchy();var a=PropertyFactory.getProp;if(this.pe=a(this,e.pe,0,0,this),e.ks.p.s?(this.px=a(this,e.ks.p.x,1,0,this),this.py=a(this,e.ks.p.y,1,0,this),this.pz=a(this,e.ks.p.z,1,0,this)):this.p=a(this,e.ks.p,1,0,this),e.ks.a&&(this.a=a(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var o,c=e.ks.or.k.length;for(o=0;o<c;o+=1)e.ks.or.k[o].to=null,e.ks.or.k[o].ti=null}this.or=a(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=a(this,e.ks.rx,0,degToRads,this),this.ry=a(this,e.ks.ry,0,degToRads,this),this.rz=a(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,i=this.comp.threeDElements.length,s,a,o;for(e=0;e<i;e+=1)if(s=this.comp.threeDElements[e],s.type==="3d"){a=s.perspectiveElem.style,o=s.container.style;var c=this.pe.v+"px",h="0px 0px 0px",d="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";a.perspective=c,a.webkitPerspective=c,o.transformOrigin=h,o.mozTransformOrigin=h,o.webkitTransformOrigin=h,a.transform=d,a.webkitTransform=d}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e=this._isFirstFrame,i,s;if(this.hierarchy)for(s=this.hierarchy.length,i=0;i<s;i+=1)e=this.hierarchy[i].finalTransform.mProp._mdf||e;if(e||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(s=this.hierarchy.length-1,i=s;i>=0;i-=1){var a=this.hierarchy[i].finalTransform.mProp;this.mat.translate(-a.p.v[0],-a.p.v[1],a.p.v[2]),this.mat.rotateX(-a.or.v[0]).rotateY(-a.or.v[1]).rotateZ(a.or.v[2]),this.mat.rotateX(-a.rx.v).rotateY(-a.ry.v).rotateZ(a.rz.v),this.mat.scale(1/a.s.v[0],1/a.s.v[1],1/a.s.v[2]),this.mat.translate(a.a.v[0],a.a.v[1],a.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var o;this.p?o=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:o=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var c=Math.sqrt(Math.pow(o[0],2)+Math.pow(o[1],2)+Math.pow(o[2],2)),h=[o[0]/c,o[1]/c,o[2]/c],d=Math.sqrt(h[2]*h[2]+h[0]*h[0]),g=Math.atan2(h[1],d),b=Math.atan2(h[0],-h[2]);this.mat.rotateY(b).rotateX(-g)}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 j=!this._prevMat.equals(this.mat);if((j||this.pe._mdf)&&this.comp.threeDElements){s=this.comp.threeDElements.length;var tt,_,nt;for(i=0;i<s;i+=1)if(tt=this.comp.threeDElements[i],tt.type==="3d"){if(j){var rt=this.mat.toCSS();nt=tt.container.style,nt.transform=rt,nt.webkitTransform=rt}this.pe._mdf&&(_=tt.perspectiveElem.style,_.perspective=this.pe.v+"px",_.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(e,i,s){this.assetData=i.getAssetData(e.refId),this.initElement(e,i,s)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),i=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(i),i.crossOrigin="anonymous",i.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(e,i){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:i&&i.className||"",imagePreserveAspectRatio:i&&i.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(i&&i.hideOnTransparent===!1),filterSize:{width:i&&i.filterSize&&i.filterSize.width||"400%",height:i&&i.filterSize&&i.filterSize.height||"400%",x:i&&i.filterSize&&i.filterSize.x||"-100%",y:i&&i.filterSize&&i.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(e,i){var s=e.getBaseElement();if(s){var a=this.layers[i];if(!a.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(s,i);else{for(var o=0,c,h,d;o<i;)this.elements[o]&&this.elements[o]!==!0&&this.elements[o].getBaseElement&&(h=this.elements[o],d=this.layers[o].ddd?this.getThreeDContainerByPos(o):h.getBaseElement(),c=d||c),o+=1;c?(!a.ddd||!this.supports3d)&&this.layerElement.insertBefore(s,c):(!a.ddd||!this.supports3d)&&this.layerElement.appendChild(s)}else this.addTo3dContainer(s,i)}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var i=0,s=this.threeDElements.length;i<s;){if(this.threeDElements[i].startPos<=e&&this.threeDElements[i].endPos>=e)return this.threeDElements[i].perspectiveElem;i+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,i){var s=createTag("div"),a,o;styleDiv(s);var c=createTag("div");if(styleDiv(c),i==="3d"){a=s.style,a.width=this.globalData.compSize.w+"px",a.height=this.globalData.compSize.h+"px";var h="50% 50%";a.webkitTransformOrigin=h,a.mozTransformOrigin=h,a.transformOrigin=h,o=c.style;var d="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";o.transform=d,o.webkitTransform=d}s.appendChild(c);var g={container:c,perspectiveElem:s,startPos:e,endPos:e,type:i};return this.threeDElements.push(g),g},HybridRendererBase.prototype.build3dContainers=function(){var e,i=this.layers.length,s,a="";for(e=0;e<i;e+=1)this.layers[e].ddd&&this.layers[e].ty!==3?(a!=="3d"&&(a="3d",s=this.createThreeDContainer(e,"3d")),s.endPos=Math.max(s.endPos,e)):(a!=="2d"&&(a="2d",s=this.createThreeDContainer(e,"2d")),s.endPos=Math.max(s.endPos,e));for(i=this.threeDElements.length,e=i-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,i){for(var s=0,a=this.threeDElements.length;s<a;){if(i<=this.threeDElements[s].endPos){for(var o=this.threeDElements[s].startPos,c;o<i;)this.elements[o]&&this.elements[o].getBaseElement&&(c=this.elements[o].getBaseElement()),o+=1;c?this.threeDElements[s].container.insertBefore(e,c):this.threeDElements[s].container.appendChild(e);break}s+=1}},HybridRendererBase.prototype.configAnimation=function(e){var i=createTag("div"),s=this.animationItem.wrapper,a=i.style;a.width=e.w+"px",a.height=e.h+"px",this.resizerElem=i,styleDiv(i),a.transformStyle="flat",a.mozTransformStyle="flat",a.webkitTransformStyle="flat",this.renderConfig.className&&i.setAttribute("class",this.renderConfig.className),s.appendChild(i),a.overflow="hidden";var o=createNS("svg");o.setAttribute("width","1"),o.setAttribute("height","1"),styleDiv(o),this.resizerElem.appendChild(o);var c=createNS("defs");o.appendChild(c),this.data=e,this.setupGlobalData(e,o),this.globalData.defs=c,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e,i=this.layers?this.layers.length:0;for(e=0;e<i;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e=this.animationItem.wrapper.offsetWidth,i=this.animationItem.wrapper.offsetHeight,s=e/i,a=this.globalData.compSize.w/this.globalData.compSize.h,o,c,h,d;a>s?(o=e/this.globalData.compSize.w,c=e/this.globalData.compSize.w,h=0,d=(i-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(o=i/this.globalData.compSize.h,c=i/this.globalData.compSize.h,h=(e-this.globalData.compSize.w*(i/this.globalData.compSize.h))/2,d=0);var g=this.resizerElem.style;g.webkitTransform="matrix3d("+o+",0,0,0,0,"+c+",0,0,0,0,1,0,"+h+","+d+",0,1)",g.transform=g.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,i=this.globalData.compSize.h,s,a=this.threeDElements.length;for(s=0;s<a;s+=1){var o=this.threeDElements[s].perspectiveElem.style;o.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(i,2))+"px",o.perspective=o.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var i,s=e.length,a=createTag("div");for(i=0;i<s;i+=1)if(e[i].xt){var o=this.createComp(e[i],a,this.globalData.comp,null);o.initExpressions(),this.globalData.projectInterface.registerComposition(o)}};function HCompElement(e,i,s){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,i,s),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,i.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,i){for(var s=0,a;s<i;)this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s].getBaseElement()),s+=1;a?this.layerElement.insertBefore(e,a):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};function HybridRenderer(e,i){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:i&&i.className||"",imagePreserveAspectRatio:i&&i.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(i&&i.hideOnTransparent===!1),filterSize:{width:i&&i.filterSize&&i.filterSize.width||"400%",height:i&&i.filterSize&&i.filterSize.height||"400%",x:i&&i.filterSize&&i.filterSize.x||"-100%",y:i&&i.filterSize&&i.filterSize.y||"-100%"},runExpressions:!i||i.runExpressions===void 0||i.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(){return function(e){function i(s){for(var a=0,o=e.layers.length;a<o;){if(e.layers[a].nm===s||e.layers[a].ind===s)return e.elements[a].layerInterface;a+=1}return null}return Object.defineProperty(i,"_name",{value:e.data.nm}),i.layer=i,i.pixelAspect=1,i.height=e.data.h||e.globalData.compSize.h,i.width=e.data.w||e.globalData.compSize.w,i.pixelAspect=1,i.frameDuration=1/e.globalData.frameRate,i.displayStartTime=0,i.numLayers=e.layers.length,i}}();function _typeof$2(e){"@babel/helpers - typeof";return _typeof$2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$2(e)}function seedRandom(e,i){var s=this,a=256,o=6,c=52,h="random",d=i.pow(a,o),g=i.pow(2,c),b=g*2,j=a-1,tt;function _($,st,ot){var lt=[];st=st===!0?{entropy:!0}:st||{};var ht=ut(it(st.entropy?[$,et(e)]:$===null?_e():$,3),lt),pt=new nt(lt),vt=function(){for(var xt=pt.g(o),yt=d,kt=0;xt<g;)xt=(xt+kt)*a,yt*=a,kt=pt.g(1);for(;xt>=b;)xt/=2,yt/=2,kt>>>=1;return(xt+kt)/yt};return vt.int32=function(){return pt.g(4)|0},vt.quick=function(){return pt.g(4)/4294967296},vt.double=vt,ut(et(pt.S),e),(st.pass||ot||function(St,xt,yt,kt){return kt&&(kt.S&&rt(kt,pt),St.state=function(){return rt(pt,{})}),yt?(i[h]=St,xt):St})(vt,ht,"global"in st?st.global:this==i,st.state)}i["seed"+h]=_;function nt($){var st,ot=$.length,lt=this,ht=0,pt=lt.i=lt.j=0,vt=lt.S=[];for(ot||($=[ot++]);ht<a;)vt[ht]=ht++;for(ht=0;ht<a;ht++)vt[ht]=vt[pt=j&pt+$[ht%ot]+(st=vt[ht])],vt[pt]=st;lt.g=function(St){for(var xt,yt=0,kt=lt.i,wt=lt.j,bt=lt.S;St--;)xt=bt[kt=j&kt+1],yt=yt*a+bt[j&(bt[kt]=bt[wt=j&wt+xt])+(bt[wt]=xt)];return lt.i=kt,lt.j=wt,yt}}function rt($,st){return st.i=$.i,st.j=$.j,st.S=$.S.slice(),st}function it($,st){var ot=[],lt=_typeof$2($),ht;if(st&<=="object")for(ht in $)try{ot.push(it($[ht],st-1))}catch{}return ot.length?ot:lt=="string"?$:$+"\0"}function ut($,st){for(var ot=$+"",lt,ht=0;ht<ot.length;)st[j&ht]=j&(lt^=st[j&ht]*19)+ot.charCodeAt(ht++);return et(st)}function _e(){try{var $=new Uint8Array(a);return(s.crypto||s.msCrypto).getRandomValues($),et($)}catch{var st=s.navigator,ot=st&&st.plugins;return[+new Date,s,ot,s.screen,et(e)]}}function et($){return String.fromCharCode.apply(0,$)}ut(i.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){"@babel/helpers - typeof";return _typeof$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof$1(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,i){return e==="number"||i instanceof Number||e==="boolean"||e==="string"}function $bm_neg(e){var i=_typeof$1(e);if(i==="number"||e instanceof Number||i==="boolean")return-e;if($bm_isInstanceOfArray(e)){var s,a=e.length,o=[];for(s=0;s<a;s+=1)o[s]=-e[s];return o}return e.propType?e.v:-e}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,i){var s=_typeof$1(e),a=_typeof$1(i);if(isNumerable(s,e)&&isNumerable(a,i)||s==="string"||a==="string")return e+i;if($bm_isInstanceOfArray(e)&&isNumerable(a,i))return e=e.slice(0),e[0]+=i,e;if(isNumerable(s,e)&&$bm_isInstanceOfArray(i))return i=i.slice(0),i[0]=e+i[0],i;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(i)){for(var o=0,c=e.length,h=i.length,d=[];o<c||o<h;)(typeof e[o]=="number"||e[o]instanceof Number)&&(typeof i[o]=="number"||i[o]instanceof Number)?d[o]=e[o]+i[o]:d[o]=i[o]===void 0?e[o]:e[o]||i[o],o+=1;return d}return 0}var add=sum;function sub(e,i){var s=_typeof$1(e),a=_typeof$1(i);if(isNumerable(s,e)&&isNumerable(a,i))return s==="string"&&(e=parseInt(e,10)),a==="string"&&(i=parseInt(i,10)),e-i;if($bm_isInstanceOfArray(e)&&isNumerable(a,i))return e=e.slice(0),e[0]-=i,e;if(isNumerable(s,e)&&$bm_isInstanceOfArray(i))return i=i.slice(0),i[0]=e-i[0],i;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(i)){for(var o=0,c=e.length,h=i.length,d=[];o<c||o<h;)(typeof e[o]=="number"||e[o]instanceof Number)&&(typeof i[o]=="number"||i[o]instanceof Number)?d[o]=e[o]-i[o]:d[o]=i[o]===void 0?e[o]:e[o]||i[o],o+=1;return d}return 0}function mul(e,i){var s=_typeof$1(e),a=_typeof$1(i),o;if(isNumerable(s,e)&&isNumerable(a,i))return e*i;var c,h;if($bm_isInstanceOfArray(e)&&isNumerable(a,i)){for(h=e.length,o=createTypedArray("float32",h),c=0;c<h;c+=1)o[c]=e[c]*i;return o}if(isNumerable(s,e)&&$bm_isInstanceOfArray(i)){for(h=i.length,o=createTypedArray("float32",h),c=0;c<h;c+=1)o[c]=e*i[c];return o}return 0}function div(e,i){var s=_typeof$1(e),a=_typeof$1(i),o;if(isNumerable(s,e)&&isNumerable(a,i))return e/i;var c,h;if($bm_isInstanceOfArray(e)&&isNumerable(a,i)){for(h=e.length,o=createTypedArray("float32",h),c=0;c<h;c+=1)o[c]=e[c]/i;return o}if(isNumerable(s,e)&&$bm_isInstanceOfArray(i)){for(h=i.length,o=createTypedArray("float32",h),c=0;c<h;c+=1)o[c]=e/i[c];return o}return 0}function mod(e,i){return typeof e=="string"&&(e=parseInt(e,10)),typeof i=="string"&&(i=parseInt(i,10)),e%i}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,i,s){if(i>s){var a=s;s=i,i=a}return Math.min(Math.max(e,i),s)}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,i){if(typeof e=="number"||e instanceof Number)return i=i||0,Math.abs(e-i);i||(i=helperLengthArray);var s,a=Math.min(e.length,i.length),o=0;for(s=0;s<a;s+=1)o+=Math.pow(i[s]-e[s],2);return Math.sqrt(o)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var i=e[0],s=e[1],a=e[2],o=Math.max(i,s,a),c=Math.min(i,s,a),h,d,g=(o+c)/2;if(o===c)h=0,d=0;else{var b=o-c;switch(d=g>.5?b/(2-o-c):b/(o+c),o){case i:h=(s-a)/b+(s<a?6:0);break;case s:h=(a-i)/b+2;break;case a:h=(i-s)/b+4;break}h/=6}return[h,d,g,e[3]]}function hue2rgb(e,i,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?e+(i-e)*6*s:s<1/2?i:s<2/3?e+(i-e)*(2/3-s)*6:e}function hslToRgb(e){var i=e[0],s=e[1],a=e[2],o,c,h;if(s===0)o=a,h=a,c=a;else{var d=a<.5?a*(1+s):a+s-a*s,g=2*a-d;o=hue2rgb(g,d,i+1/3),c=hue2rgb(g,d,i),h=hue2rgb(g,d,i-1/3)}return[o,c,h,e[3]]}function linear(e,i,s,a,o){if((a===void 0||o===void 0)&&(a=i,o=s,i=0,s=1),s<i){var c=s;s=i,i=c}if(e<=i)return a;if(e>=s)return o;var h=s===i?0:(e-i)/(s-i);if(!a.length)return a+(o-a)*h;var d,g=a.length,b=createTypedArray("float32",g);for(d=0;d<g;d+=1)b[d]=a[d]+(o[d]-a[d])*h;return b}function random(e,i){if(i===void 0&&(e===void 0?(e=0,i=1):(i=e,e=void 0)),i.length){var s,a=i.length;e||(e=createTypedArray("float32",a));var o=createTypedArray("float32",a),c=BMMath.random();for(s=0;s<a;s+=1)o[s]=e[s]+c*(i[s]-e[s]);return o}e===void 0&&(e=0);var h=BMMath.random();return e+h*(i-e)}function createPath(e,i,s,a){var o,c=e.length,h=shapePool.newElement();h.setPathData(!!a,c);var d=[0,0],g,b;for(o=0;o<c;o+=1)g=i&&i[o]?i[o]:d,b=s&&s[o]?s[o]:d,h.setTripleAt(e[o][0],e[o][1],b[0]+e[o][0],b[1]+e[o][1],g[0]+e[o][0],g[1]+e[o][1],o,!0);return h}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty._name=elem.data.nm,thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=(function e(i,s){var a,o,c=this.pv.length?this.pv.length:1,h=createTypedArray("float32",c);i=5;var d=Math.floor(time*i);for(a=0,o=0;a<d;){for(o=0;o<c;o+=1)h[o]+=-s+s*2*BMMath.random();a+=1}var g=time*i,b=g-Math.floor(g),j=createTypedArray("float32",c);if(c>1){for(o=0;o<c;o+=1)j[o]=this.pv[o]+h[o]+(-s+s*2*BMMath.random())*b;return j}return this.pv+h[0]+(-s+s*2*BMMath.random())*b}).bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(e,i){return loopIn(e,i,!0)}function loopOutDuration(e,i){return loopOut(e,i,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(e,i){var s=[i[0]-e[0],i[1]-e[1],i[2]-e[2]],a=Math.atan2(s[0],Math.sqrt(s[1]*s[1]+s[2]*s[2]))/degToRads,o=-Math.atan2(s[1],s[2])/degToRads;return[o,a,0]}function easeOut(e,i,s,a,o){return applyEase(easeOutBez,e,i,s,a,o)}function easeIn(e,i,s,a,o){return applyEase(easeInBez,e,i,s,a,o)}function ease(e,i,s,a,o){return applyEase(easeInOutBez,e,i,s,a,o)}function applyEase(e,i,s,a,o,c){o===void 0?(o=s,c=a):i=(i-s)/(a-s),i>1?i=1:i<0&&(i=0);var h=e(i);if($bm_isInstanceOfArray(o)){var d,g=o.length,b=createTypedArray("float32",g);for(d=0;d<g;d+=1)b[d]=(c[d]-o[d])*h+o[d];return b}return(c-o)*h+o}function nearestKey(e){var i,s=data.k.length,a,o;if(!data.k.length||typeof data.k[0]=="number")a=0,o=0;else if(a=-1,e*=elem.comp.globalData.frameRate,e<data.k[0].t)a=1,o=data.k[0].t;else{for(i=0;i<s-1;i+=1)if(e===data.k[i].t){a=i+1,o=data.k[i].t;break}else if(e>data.k[i].t&&e<data.k[i+1].t){e-data.k[i].t>data.k[i+1].t-e?(a=i+2,o=data.k[i+1].t):(a=i+1,o=data.k[i].t);break}a===-1&&(a=i+1,o=data.k[i].t)}var c={};return c.index=a,c.time=o/elem.comp.globalData.frameRate,c}function key(e){var i,s,a;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+e);e-=1,i={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var o=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(a=o.length,s=0;s<a;s+=1)i[s]=o[s],i.value[s]=o[s];return i}function framesToTime(e,i){return i||(i=elem.comp.globalData.frameRate),e/i}function timeToFrames(e,i){return!e&&e!==0&&(e=time),i||(i=elem.comp.globalData.frameRate),e*i}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,i){return typeof value=="string"?i===void 0?value.substring(e):value.substring(e,i):""}function substr(e,i){return typeof value=="string"?i===void 0?value.substr(e):value.substr(e,i):""}function posterizeTime(e){time=e===0?0:Math.floor(time*e)/e,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var e={};e.initExpressions=i,e.resetFrame=ExpressionManager.resetFrame;function i(s){var a=0,o=[];function c(){a+=1}function h(){a-=1,a===0&&g()}function d(b){o.indexOf(b)===-1&&o.push(b)}function g(){var b,j=o.length;for(b=0;b<j;b+=1)o[b].release();o.length=0}s.renderer.compInterface=CompExpressionInterface(s.renderer),s.renderer.globalData.projectInterface.registerComposition(s.renderer),s.renderer.globalData.pushExpression=c,s.renderer.globalData.popExpression=h,s.renderer.globalData.registerExpressionProperty=d}return e}(),MaskManagerInterface=function(){function e(s,a){this._mask=s,this._data=a}Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var i=function(a){var o=createSizedArray(a.viewData.length),c,h=a.viewData.length;for(c=0;c<h;c+=1)o[c]=new e(a.viewData[c],a.masksProperties[c]);var d=function(b){for(c=0;c<h;){if(a.masksProperties[c].nm===b)return o[c];c+=1}return null};return d};return i}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},i={pv:[0,0,0],v:[0,0,0],mult:1};function s(h,d,g){Object.defineProperty(h,"velocity",{get:function(){return d.getVelocityAtTime(d.comp.currentFrame)}}),h.numKeys=d.keyframes?d.keyframes.length:0,h.key=function(b){if(!h.numKeys)return 0;var j="";"s"in d.keyframes[b-1]?j=d.keyframes[b-1].s:"e"in d.keyframes[b-2]?j=d.keyframes[b-2].e:j=d.keyframes[b-2].s;var tt=g==="unidimensional"?new Number(j):Object.assign({},j);return tt.time=d.keyframes[b-1].t/d.elem.comp.globalData.frameRate,tt.value=g==="unidimensional"?j[0]:j,tt},h.valueAtTime=d.getValueAtTime,h.speedAtTime=d.getSpeedAtTime,h.velocityAtTime=d.getVelocityAtTime,h.propertyGroup=d.propertyGroup}function a(h){(!h||!("pv"in h))&&(h=e);var d=1/h.mult,g=h.pv*d,b=new Number(g);return b.value=g,s(b,h,"unidimensional"),function(){return h.k&&h.getValue(),g=h.v*d,b.value!==g&&(b=new Number(g),b.value=g,b[0]=g,s(b,h,"unidimensional")),b}}function o(h){(!h||!("pv"in h))&&(h=i);var d=1/h.mult,g=h.data&&h.data.l||h.pv.length,b=createTypedArray("float32",g),j=createTypedArray("float32",g);return b.value=j,s(b,h,"multidimensional"),function(){h.k&&h.getValue();for(var tt=0;tt<g;tt+=1)j[tt]=h.v[tt]*d,b[tt]=j[tt];return b}}function c(){return e}return function(h){return h?h.propType==="unidimensional"?a(h):o(h):c}}(),TransformExpressionInterface=function(){return function(e){function i(h){switch(h){case"scale":case"Scale":case"ADBE Scale":case 6:return i.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return i.rotation;case"ADBE Rotate X":return i.xRotation;case"ADBE Rotate Y":return i.yRotation;case"position":case"Position":case"ADBE Position":case 2:return i.position;case"ADBE Position_0":return i.xPosition;case"ADBE Position_1":return i.yPosition;case"ADBE Position_2":return i.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return i.anchorPoint;case"opacity":case"Opacity":case 11:return i.opacity;default:return null}}Object.defineProperty(i,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(i,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(i,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(i,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(i,"scale",{get:ExpressionPropertyInterface(e.s)});var s,a,o,c;return e.p?c=ExpressionPropertyInterface(e.p):(s=ExpressionPropertyInterface(e.px),a=ExpressionPropertyInterface(e.py),e.pz&&(o=ExpressionPropertyInterface(e.pz))),Object.defineProperty(i,"position",{get:function(){return e.p?c():[s(),a(),o?o():0]}}),Object.defineProperty(i,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(i,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(i,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(i,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(i,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(i,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(i,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(i,"orientation",{get:ExpressionPropertyInterface(e.or)}),i}}(),LayerExpressionInterface=function(){function e(b){var j=new Matrix;if(b!==void 0){var tt=this._elem.finalTransform.mProp.getValueAtTime(b);tt.clone(j)}else{var _=this._elem.finalTransform.mProp;_.applyToMatrix(j)}return j}function i(b,j){var tt=this.getMatrix(j);return tt.props[12]=0,tt.props[13]=0,tt.props[14]=0,this.applyPoint(tt,b)}function s(b,j){var tt=this.getMatrix(j);return this.applyPoint(tt,b)}function a(b,j){var tt=this.getMatrix(j);return tt.props[12]=0,tt.props[13]=0,tt.props[14]=0,this.invertPoint(tt,b)}function o(b,j){var tt=this.getMatrix(j);return this.invertPoint(tt,b)}function c(b,j){if(this._elem.hierarchy&&this._elem.hierarchy.length){var tt,_=this._elem.hierarchy.length;for(tt=0;tt<_;tt+=1)this._elem.hierarchy[tt].finalTransform.mProp.applyToMatrix(b)}return b.applyToPointArray(j[0],j[1],j[2]||0)}function h(b,j){if(this._elem.hierarchy&&this._elem.hierarchy.length){var tt,_=this._elem.hierarchy.length;for(tt=0;tt<_;tt+=1)this._elem.hierarchy[tt].finalTransform.mProp.applyToMatrix(b)}return b.inversePoint(j)}function d(b){var j=new Matrix;if(j.reset(),this._elem.finalTransform.mProp.applyToMatrix(j),this._elem.hierarchy&&this._elem.hierarchy.length){var tt,_=this._elem.hierarchy.length;for(tt=0;tt<_;tt+=1)this._elem.hierarchy[tt].finalTransform.mProp.applyToMatrix(j);return j.inversePoint(b)}return j.inversePoint(b)}function g(){return[1,1,1,1]}return function(b){var j;function tt(it){nt.mask=new MaskManagerInterface(it,b)}function _(it){nt.effect=it}function nt(it){switch(it){case"ADBE Root Vectors Group":case"Contents":case 2:return nt.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return j;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return nt.effect;case"ADBE Text Properties":return nt.textInterface;default:return null}}nt.getMatrix=e,nt.invertPoint=h,nt.applyPoint=c,nt.toWorld=s,nt.toWorldVec=i,nt.fromWorld=o,nt.fromWorldVec=a,nt.toComp=s,nt.fromComp=d,nt.sampleImage=g,nt.sourceRectAtTime=b.sourceRectAtTime.bind(b),nt._elem=b,j=TransformExpressionInterface(b.finalTransform.mProp);var rt=getDescriptor(j,"anchorPoint");return Object.defineProperties(nt,{hasParent:{get:function(){return b.hierarchy.length}},parent:{get:function(){return b.hierarchy[0].layerInterface}},rotation:getDescriptor(j,"rotation"),scale:getDescriptor(j,"scale"),position:getDescriptor(j,"position"),opacity:getDescriptor(j,"opacity"),anchorPoint:rt,anchor_point:rt,transform:{get:function(){return j}},active:{get:function(){return b.isInRange}}}),nt.startTime=b.data.st,nt.index=b.data.ind,nt.source=b.data.refId,nt.height=b.data.ty===0?b.data.h:100,nt.width=b.data.ty===0?b.data.w:100,nt.inPoint=b.data.ip/b.comp.globalData.frameRate,nt.outPoint=b.data.op/b.comp.globalData.frameRate,nt._name=b.data.nm,nt.registerMaskInterface=tt,nt.registerEffectsInterface=_,nt}}(),propertyGroupFactory=function(){return function(e,i){return function(s){return s=s===void 0?1:s,s<=0?e:i(s-1)}}}(),PropertyInterface=function(){return function(e,i){var s={_name:e};function a(o){return o=o===void 0?1:o,o<=0?s:i(o-1)}return a}}(),EffectsExpressionInterface=function(){var e={createEffectsInterface:i};function i(o,c){if(o.effectsManager){var h=[],d=o.data.ef,g,b=o.effectsManager.effectElements.length;for(g=0;g<b;g+=1)h.push(s(d[g],o.effectsManager.effectElements[g],c,o));var j=o.data.ef||[],tt=function(nt){for(g=0,b=j.length;g<b;){if(nt===j[g].nm||nt===j[g].mn||nt===j[g].ix)return h[g];g+=1}return null};return Object.defineProperty(tt,"numProperties",{get:function(){return j.length}}),tt}return null}function s(o,c,h,d){function g(nt){for(var rt=o.ef,it=0,ut=rt.length;it<ut;){if(nt===rt[it].nm||nt===rt[it].mn||nt===rt[it].ix)return rt[it].ty===5?j[it]:j[it]();it+=1}throw new Error}var b=propertyGroupFactory(g,h),j=[],tt,_=o.ef.length;for(tt=0;tt<_;tt+=1)o.ef[tt].ty===5?j.push(s(o.ef[tt],c.effectElements[tt],c.effectElements[tt].propertyGroup,d)):j.push(a(c.effectElements[tt],o.ef[tt].ty,d,b));return o.mn==="ADBE Color Control"&&Object.defineProperty(g,"color",{get:function(){return j[0]()}}),Object.defineProperties(g,{numProperties:{get:function(){return o.np}},_name:{value:o.nm},propertyGroup:{value:b}}),g.enabled=o.en!==0,g.active=g.enabled,g}function a(o,c,h,d){var g=ExpressionPropertyInterface(o.p);function b(){return c===10?h.comp.compInterface(o.p.v):g()}return o.p.setGroupProperty&&o.p.setGroupProperty(PropertyInterface("",d)),b}return e}(),ShapePathInterface=function(){return function(i,s,a){var o=s.sh;function c(d){return d==="Shape"||d==="shape"||d==="Path"||d==="path"||d==="ADBE Vector Shape"||d===2?c.path:null}var h=propertyGroupFactory(c,a);return o.setGroupProperty(PropertyInterface("Path",h)),Object.defineProperties(c,{path:{get:function(){return o.k&&o.getValue(),o}},shape:{get:function(){return o.k&&o.getValue(),o}},_name:{value:i.nm},ix:{value:i.ix},propertyIndex:{value:i.ix},mn:{value:i.mn},propertyGroup:{value:a}}),c}}(),ShapeExpressionInterface=function(){function e(rt,it,ut){var _e=[],et,$=rt?rt.length:0;for(et=0;et<$;et+=1)rt[et].ty==="gr"?_e.push(s(rt[et],it[et],ut)):rt[et].ty==="fl"?_e.push(a(rt[et],it[et],ut)):rt[et].ty==="st"?_e.push(h(rt[et],it[et],ut)):rt[et].ty==="tm"?_e.push(d(rt[et],it[et],ut)):rt[et].ty==="tr"||(rt[et].ty==="el"?_e.push(b(rt[et],it[et],ut)):rt[et].ty==="sr"?_e.push(j(rt[et],it[et],ut)):rt[et].ty==="sh"?_e.push(ShapePathInterface(rt[et],it[et],ut)):rt[et].ty==="rc"?_e.push(tt(rt[et],it[et],ut)):rt[et].ty==="rd"?_e.push(_(rt[et],it[et],ut)):rt[et].ty==="rp"?_e.push(nt(rt[et],it[et],ut)):rt[et].ty==="gf"?_e.push(o(rt[et],it[et],ut)):_e.push(c(rt[et],it[et])));return _e}function i(rt,it,ut){var _e,et=function(ot){for(var lt=0,ht=_e.length;lt<ht;){if(_e[lt]._name===ot||_e[lt].mn===ot||_e[lt].propertyIndex===ot||_e[lt].ix===ot||_e[lt].ind===ot)return _e[lt];lt+=1}return typeof ot=="number"?_e[ot-1]:null};et.propertyGroup=propertyGroupFactory(et,ut),_e=e(rt.it,it.it,et.propertyGroup),et.numProperties=_e.length;var $=g(rt.it[rt.it.length-1],it.it[it.it.length-1],et.propertyGroup);return et.transform=$,et.propertyIndex=rt.cix,et._name=rt.nm,et}function s(rt,it,ut){var _e=function(ot){switch(ot){case"ADBE Vectors Group":case"Contents":case 2:return _e.content;default:return _e.transform}};_e.propertyGroup=propertyGroupFactory(_e,ut);var et=i(rt,it,_e.propertyGroup),$=g(rt.it[rt.it.length-1],it.it[it.it.length-1],_e.propertyGroup);return _e.content=et,_e.transform=$,Object.defineProperty(_e,"_name",{get:function(){return rt.nm}}),_e.numProperties=rt.np,_e.propertyIndex=rt.ix,_e.nm=rt.nm,_e.mn=rt.mn,_e}function a(rt,it,ut){function _e(et){return et==="Color"||et==="color"?_e.color:et==="Opacity"||et==="opacity"?_e.opacity:null}return Object.defineProperties(_e,{color:{get:ExpressionPropertyInterface(it.c)},opacity:{get:ExpressionPropertyInterface(it.o)},_name:{value:rt.nm},mn:{value:rt.mn}}),it.c.setGroupProperty(PropertyInterface("Color",ut)),it.o.setGroupProperty(PropertyInterface("Opacity",ut)),_e}function o(rt,it,ut){function _e(et){return et==="Start Point"||et==="start point"?_e.startPoint:et==="End Point"||et==="end point"?_e.endPoint:et==="Opacity"||et==="opacity"?_e.opacity:null}return Object.defineProperties(_e,{startPoint:{get:ExpressionPropertyInterface(it.s)},endPoint:{get:ExpressionPropertyInterface(it.e)},opacity:{get:ExpressionPropertyInterface(it.o)},type:{get:function(){return"a"}},_name:{value:rt.nm},mn:{value:rt.mn}}),it.s.setGroupProperty(PropertyInterface("Start Point",ut)),it.e.setGroupProperty(PropertyInterface("End Point",ut)),it.o.setGroupProperty(PropertyInterface("Opacity",ut)),_e}function c(){function rt(){return null}return rt}function h(rt,it,ut){var _e=propertyGroupFactory(ht,ut),et=propertyGroupFactory(lt,_e);function $(pt){Object.defineProperty(lt,rt.d[pt].nm,{get:ExpressionPropertyInterface(it.d.dataProps[pt].p)})}var st,ot=rt.d?rt.d.length:0,lt={};for(st=0;st<ot;st+=1)$(st),it.d.dataProps[st].p.setGroupProperty(et);function ht(pt){return pt==="Color"||pt==="color"?ht.color:pt==="Opacity"||pt==="opacity"?ht.opacity:pt==="Stroke Width"||pt==="stroke width"?ht.strokeWidth:null}return Object.defineProperties(ht,{color:{get:ExpressionPropertyInterface(it.c)},opacity:{get:ExpressionPropertyInterface(it.o)},strokeWidth:{get:ExpressionPropertyInterface(it.w)},dash:{get:function(){return lt}},_name:{value:rt.nm},mn:{value:rt.mn}}),it.c.setGroupProperty(PropertyInterface("Color",_e)),it.o.setGroupProperty(PropertyInterface("Opacity",_e)),it.w.setGroupProperty(PropertyInterface("Stroke Width",_e)),ht}function d(rt,it,ut){function _e($){return $===rt.e.ix||$==="End"||$==="end"?_e.end:$===rt.s.ix?_e.start:$===rt.o.ix?_e.offset:null}var et=propertyGroupFactory(_e,ut);return _e.propertyIndex=rt.ix,it.s.setGroupProperty(PropertyInterface("Start",et)),it.e.setGroupProperty(PropertyInterface("End",et)),it.o.setGroupProperty(PropertyInterface("Offset",et)),_e.propertyIndex=rt.ix,_e.propertyGroup=ut,Object.defineProperties(_e,{start:{get:ExpressionPropertyInterface(it.s)},end:{get:ExpressionPropertyInterface(it.e)},offset:{get:ExpressionPropertyInterface(it.o)},_name:{value:rt.nm}}),_e.mn=rt.mn,_e}function g(rt,it,ut){function _e($){return rt.a.ix===$||$==="Anchor Point"?_e.anchorPoint:rt.o.ix===$||$==="Opacity"?_e.opacity:rt.p.ix===$||$==="Position"?_e.position:rt.r.ix===$||$==="Rotation"||$==="ADBE Vector Rotation"?_e.rotation:rt.s.ix===$||$==="Scale"?_e.scale:rt.sk&&rt.sk.ix===$||$==="Skew"?_e.skew:rt.sa&&rt.sa.ix===$||$==="Skew Axis"?_e.skewAxis:null}var et=propertyGroupFactory(_e,ut);return it.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",et)),it.transform.mProps.p.setGroupProperty(PropertyInterface("Position",et)),it.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",et)),it.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",et)),it.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",et)),it.transform.mProps.sk&&(it.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",et)),it.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",et))),it.transform.op.setGroupProperty(PropertyInterface("Opacity",et)),Object.defineProperties(_e,{opacity:{get:ExpressionPropertyInterface(it.transform.mProps.o)},position:{get:ExpressionPropertyInterface(it.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(it.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(it.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(it.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(it.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(it.transform.mProps.sa)},_name:{value:rt.nm}}),_e.ty="tr",_e.mn=rt.mn,_e.propertyGroup=ut,_e}function b(rt,it,ut){function _e(st){return rt.p.ix===st?_e.position:rt.s.ix===st?_e.size:null}var et=propertyGroupFactory(_e,ut);_e.propertyIndex=rt.ix;var $=it.sh.ty==="tm"?it.sh.prop:it.sh;return $.s.setGroupProperty(PropertyInterface("Size",et)),$.p.setGroupProperty(PropertyInterface("Position",et)),Object.defineProperties(_e,{size:{get:ExpressionPropertyInterface($.s)},position:{get:ExpressionPropertyInterface($.p)},_name:{value:rt.nm}}),_e.mn=rt.mn,_e}function j(rt,it,ut){function _e(st){return rt.p.ix===st?_e.position:rt.r.ix===st?_e.rotation:rt.pt.ix===st?_e.points:rt.or.ix===st||st==="ADBE Vector Star Outer Radius"?_e.outerRadius:rt.os.ix===st?_e.outerRoundness:rt.ir&&(rt.ir.ix===st||st==="ADBE Vector Star Inner Radius")?_e.innerRadius:rt.is&&rt.is.ix===st?_e.innerRoundness:null}var et=propertyGroupFactory(_e,ut),$=it.sh.ty==="tm"?it.sh.prop:it.sh;return _e.propertyIndex=rt.ix,$.or.setGroupProperty(PropertyInterface("Outer Radius",et)),$.os.setGroupProperty(PropertyInterface("Outer Roundness",et)),$.pt.setGroupProperty(PropertyInterface("Points",et)),$.p.setGroupProperty(PropertyInterface("Position",et)),$.r.setGroupProperty(PropertyInterface("Rotation",et)),rt.ir&&($.ir.setGroupProperty(PropertyInterface("Inner Radius",et)),$.is.setGroupProperty(PropertyInterface("Inner Roundness",et))),Object.defineProperties(_e,{position:{get:ExpressionPropertyInterface($.p)},rotation:{get:ExpressionPropertyInterface($.r)},points:{get:ExpressionPropertyInterface($.pt)},outerRadius:{get:ExpressionPropertyInterface($.or)},outerRoundness:{get:ExpressionPropertyInterface($.os)},innerRadius:{get:ExpressionPropertyInterface($.ir)},innerRoundness:{get:ExpressionPropertyInterface($.is)},_name:{value:rt.nm}}),_e.mn=rt.mn,_e}function tt(rt,it,ut){function _e(st){return rt.p.ix===st?_e.position:rt.r.ix===st?_e.roundness:rt.s.ix===st||st==="Size"||st==="ADBE Vector Rect Size"?_e.size:null}var et=propertyGroupFactory(_e,ut),$=it.sh.ty==="tm"?it.sh.prop:it.sh;return _e.propertyIndex=rt.ix,$.p.setGroupProperty(PropertyInterface("Position",et)),$.s.setGroupProperty(PropertyInterface("Size",et)),$.r.setGroupProperty(PropertyInterface("Rotation",et)),Object.defineProperties(_e,{position:{get:ExpressionPropertyInterface($.p)},roundness:{get:ExpressionPropertyInterface($.r)},size:{get:ExpressionPropertyInterface($.s)},_name:{value:rt.nm}}),_e.mn=rt.mn,_e}function _(rt,it,ut){function _e(st){return rt.r.ix===st||st==="Round Corners 1"?_e.radius:null}var et=propertyGroupFactory(_e,ut),$=it;return _e.propertyIndex=rt.ix,$.rd.setGroupProperty(PropertyInterface("Radius",et)),Object.defineProperties(_e,{radius:{get:ExpressionPropertyInterface($.rd)},_name:{value:rt.nm}}),_e.mn=rt.mn,_e}function nt(rt,it,ut){function _e(st){return rt.c.ix===st||st==="Copies"?_e.copies:rt.o.ix===st||st==="Offset"?_e.offset:null}var et=propertyGroupFactory(_e,ut),$=it;return _e.propertyIndex=rt.ix,$.c.setGroupProperty(PropertyInterface("Copies",et)),$.o.setGroupProperty(PropertyInterface("Offset",et)),Object.defineProperties(_e,{copies:{get:ExpressionPropertyInterface($.c)},offset:{get:ExpressionPropertyInterface($.o)},_name:{value:rt.nm}}),_e.mn=rt.mn,_e}return function(rt,it,ut){var _e;function et(st){if(typeof st=="number")return st=st===void 0?1:st,st===0?ut:_e[st-1];for(var ot=0,lt=_e.length;ot<lt;){if(_e[ot]._name===st)return _e[ot];ot+=1}return null}function $(){return ut}return et.propertyGroup=propertyGroupFactory(et,$),_e=e(rt,it,et.propertyGroup),et.numProperties=_e.length,et._name="Contents",et}}(),TextExpressionInterface=function(){return function(e){var i;function s(a){switch(a){case"ADBE Text Document":return s.sourceText;default:return null}}return Object.defineProperty(s,"sourceText",{get:function(){e.textProperty.getValue();var o=e.textProperty.currentData.t;return(!i||o!==i.value)&&(i=new String(o),i.value=o||new String(o),Object.defineProperty(i,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),i}}),s}}();function _typeof(e){"@babel/helpers - typeof";return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof(e)}var FootageInterface=function(){var e=function(a){var o="",c=a.getFootageData();function h(){return o="",c=a.getFootageData(),d}function d(g){if(c[g])return o=g,c=c[g],_typeof(c)==="object"?d:c;var b=g.indexOf(o);if(b!==-1){var j=parseInt(g.substr(b+o.length),10);return c=c[j],_typeof(c)==="object"?d:c}return""}return h},i=function(a){function o(c){return c==="Outline"?o.outlineInterface():null}return o._name="Outline",o.outlineInterface=e(a),o};return function(s){function a(o){return o==="Data"?a.dataInterface:null}return a._name="Data",a.dataInterface=i(s),a}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}var expressionHelpers=function(){function e(h,d,g){d.x&&(g.k=!0,g.x=!0,g.initiateExpression=ExpressionManager.initiateExpression,g.effectsSequence.push(g.initiateExpression(h,d,g).bind(g)))}function i(h){return h*=this.elem.globalData.frameRate,h-=this.offsetTime,h!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<h?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(h,this._cachingAtTime),this._cachingAtTime.lastFrame=h),this._cachingAtTime.value}function s(h){var d=-.01,g=this.getValueAtTime(h),b=this.getValueAtTime(h+d),j=0;if(g.length){var tt;for(tt=0;tt<g.length;tt+=1)j+=Math.pow(b[tt]-g[tt],2);j=Math.sqrt(j)*100}else j=0;return j}function a(h){if(this.vel!==void 0)return this.vel;var d=-.001,g=this.getValueAtTime(h),b=this.getValueAtTime(h+d),j;if(g.length){j=createTypedArray("float32",g.length);var tt;for(tt=0;tt<g.length;tt+=1)j[tt]=(b[tt]-g[tt])/d}else j=(b-g)/d;return j}function o(){return this.pv}function c(h){this.propertyGroup=h}return{searchExpressions:e,getSpeedAtTime:s,getVelocityAtTime:a,getValueAtTime:i,getStaticValueAtTime:o,setGroupProperty:c}}();function addPropertyDecorator(){function e(_,nt,rt){if(!this.k||!this.keyframes)return this.pv;_=_?_.toLowerCase():"";var it=this.comp.renderedFrame,ut=this.keyframes,_e=ut[ut.length-1].t;if(it<=_e)return this.pv;var et,$;rt?(nt?et=Math.abs(_e-this.elem.comp.globalData.frameRate*nt):et=Math.max(0,_e-this.elem.data.ip),$=_e-et):((!nt||nt>ut.length-1)&&(nt=ut.length-1),$=ut[ut.length-1-nt].t,et=_e-$);var st,ot,lt;if(_==="pingpong"){var ht=Math.floor((it-$)/et);if(ht%2!==0)return this.getValueAtTime((et-(it-$)%et+$)/this.comp.globalData.frameRate,0)}else if(_==="offset"){var pt=this.getValueAtTime($/this.comp.globalData.frameRate,0),vt=this.getValueAtTime(_e/this.comp.globalData.frameRate,0),St=this.getValueAtTime(((it-$)%et+$)/this.comp.globalData.frameRate,0),xt=Math.floor((it-$)/et);if(this.pv.length){for(lt=new Array(pt.length),ot=lt.length,st=0;st<ot;st+=1)lt[st]=(vt[st]-pt[st])*xt+St[st];return lt}return(vt-pt)*xt+St}else if(_==="continue"){var yt=this.getValueAtTime(_e/this.comp.globalData.frameRate,0),kt=this.getValueAtTime((_e-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(lt=new Array(yt.length),ot=lt.length,st=0;st<ot;st+=1)lt[st]=yt[st]+(yt[st]-kt[st])*((it-_e)/this.comp.globalData.frameRate)/5e-4;return lt}return yt+(yt-kt)*((it-_e)/.001)}return this.getValueAtTime(((it-$)%et+$)/this.comp.globalData.frameRate,0)}function i(_,nt,rt){if(!this.k)return this.pv;_=_?_.toLowerCase():"";var it=this.comp.renderedFrame,ut=this.keyframes,_e=ut[0].t;if(it>=_e)return this.pv;var et,$;rt?(nt?et=Math.abs(this.elem.comp.globalData.frameRate*nt):et=Math.max(0,this.elem.data.op-_e),$=_e+et):((!nt||nt>ut.length-1)&&(nt=ut.length-1),$=ut[nt].t,et=$-_e);var st,ot,lt;if(_==="pingpong"){var ht=Math.floor((_e-it)/et);if(ht%2===0)return this.getValueAtTime(((_e-it)%et+_e)/this.comp.globalData.frameRate,0)}else if(_==="offset"){var pt=this.getValueAtTime(_e/this.comp.globalData.frameRate,0),vt=this.getValueAtTime($/this.comp.globalData.frameRate,0),St=this.getValueAtTime((et-(_e-it)%et+_e)/this.comp.globalData.frameRate,0),xt=Math.floor((_e-it)/et)+1;if(this.pv.length){for(lt=new Array(pt.length),ot=lt.length,st=0;st<ot;st+=1)lt[st]=St[st]-(vt[st]-pt[st])*xt;return lt}return St-(vt-pt)*xt}else if(_==="continue"){var yt=this.getValueAtTime(_e/this.comp.globalData.frameRate,0),kt=this.getValueAtTime((_e+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(lt=new Array(yt.length),ot=lt.length,st=0;st<ot;st+=1)lt[st]=yt[st]+(yt[st]-kt[st])*(_e-it)/.001;return lt}return yt+(yt-kt)*(_e-it)/.001}return this.getValueAtTime((et-((_e-it)%et+_e))/this.comp.globalData.frameRate,0)}function s(_,nt){if(!this.k)return this.pv;if(_=(_||.4)*.5,nt=Math.floor(nt||5),nt<=1)return this.pv;var rt=this.comp.renderedFrame/this.comp.globalData.frameRate,it=rt-_,ut=rt+_,_e=nt>1?(ut-it)/(nt-1):1,et=0,$=0,st;this.pv.length?st=createTypedArray("float32",this.pv.length):st=0;for(var ot;et<nt;){if(ot=this.getValueAtTime(it+et*_e),this.pv.length)for($=0;$<this.pv.length;$+=1)st[$]+=ot[$];else st+=ot;et+=1}if(this.pv.length)for($=0;$<this.pv.length;$+=1)st[$]/=nt;else st/=nt;return st}function a(_){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var nt=this._transformCachingAtTime.v;if(nt.cloneFromProps(this.pre.props),this.appliedTransformations<1){var rt=this.a.getValueAtTime(_);nt.translate(-rt[0]*this.a.mult,-rt[1]*this.a.mult,rt[2]*this.a.mult)}if(this.appliedTransformations<2){var it=this.s.getValueAtTime(_);nt.scale(it[0]*this.s.mult,it[1]*this.s.mult,it[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var ut=this.sk.getValueAtTime(_),_e=this.sa.getValueAtTime(_);nt.skewFromAxis(-ut*this.sk.mult,_e*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var et=this.r.getValueAtTime(_);nt.rotate(-et*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var $=this.rz.getValueAtTime(_),st=this.ry.getValueAtTime(_),ot=this.rx.getValueAtTime(_),lt=this.or.getValueAtTime(_);nt.rotateZ(-$*this.rz.mult).rotateY(st*this.ry.mult).rotateX(ot*this.rx.mult).rotateZ(-lt[2]*this.or.mult).rotateY(lt[1]*this.or.mult).rotateX(lt[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var ht=this.px.getValueAtTime(_),pt=this.py.getValueAtTime(_);if(this.data.p.z){var vt=this.pz.getValueAtTime(_);nt.translate(ht*this.px.mult,pt*this.py.mult,-vt*this.pz.mult)}else nt.translate(ht*this.px.mult,pt*this.py.mult,0)}else{var St=this.p.getValueAtTime(_);nt.translate(St[0]*this.p.mult,St[1]*this.p.mult,-St[2]*this.p.mult)}return nt}function o(){return this.v.clone(new Matrix)}var c=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(_,nt,rt){var it=c(_,nt,rt);return it.dynamicProperties.length?it.getValueAtTime=a.bind(it):it.getValueAtTime=o.bind(it),it.setGroupProperty=expressionHelpers.setGroupProperty,it};var h=PropertyFactory.getProp;PropertyFactory.getProp=function(_,nt,rt,it,ut){var _e=h(_,nt,rt,it,ut);_e.kf?_e.getValueAtTime=expressionHelpers.getValueAtTime.bind(_e):_e.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(_e),_e.setGroupProperty=expressionHelpers.setGroupProperty,_e.loopOut=e,_e.loopIn=i,_e.smooth=s,_e.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(_e),_e.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(_e),_e.numKeys=nt.a===1?nt.k.length:0,_e.propertyIndex=nt.ix;var et=0;return rt!==0&&(et=createTypedArray("float32",nt.a===1?nt.k[0].s.length:nt.k.length)),_e._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:et},expressionHelpers.searchExpressions(_,nt,_e),_e.k&&ut.addDynamicProperty(_e),_e};function d(_){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),_*=this.elem.globalData.frameRate,_-=this.offsetTime,_!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<_?this._caching.lastIndex:0,this._cachingAtTime.lastTime=_,this.interpolateShape(_,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var g=ShapePropertyFactory.getConstructorFunction(),b=ShapePropertyFactory.getKeyframedConstructorFunction();function j(){}j.prototype={vertices:function(nt,rt){this.k&&this.getValue();var it=this.v;rt!==void 0&&(it=this.getValueAtTime(rt,0));var ut,_e=it._length,et=it[nt],$=it.v,st=createSizedArray(_e);for(ut=0;ut<_e;ut+=1)nt==="i"||nt==="o"?st[ut]=[et[ut][0]-$[ut][0],et[ut][1]-$[ut][1]]:st[ut]=[et[ut][0],et[ut][1]];return st},points:function(nt){return this.vertices("v",nt)},inTangents:function(nt){return this.vertices("i",nt)},outTangents:function(nt){return this.vertices("o",nt)},isClosed:function(){return this.v.c},pointOnPath:function(nt,rt){var it=this.v;rt!==void 0&&(it=this.getValueAtTime(rt,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(it));for(var ut=this._segmentsLength,_e=ut.lengths,et=ut.totalLength*nt,$=0,st=_e.length,ot=0,lt;$<st;){if(ot+_e[$].addedLength>et){var ht=$,pt=it.c&&$===st-1?0:$+1,vt=(et-ot)/_e[$].addedLength;lt=bez.getPointInSegment(it.v[ht],it.v[pt],it.o[ht],it.i[pt],vt,_e[$]);break}else ot+=_e[$].addedLength;$+=1}return lt||(lt=it.c?[it.v[0][0],it.v[0][1]]:[it.v[it._length-1][0],it.v[it._length-1][1]]),lt},vectorOnPath:function(nt,rt,it){nt==1?nt=this.v.c:nt==0&&(nt=.999);var ut=this.pointOnPath(nt,rt),_e=this.pointOnPath(nt+.001,rt),et=_e[0]-ut[0],$=_e[1]-ut[1],st=Math.sqrt(Math.pow(et,2)+Math.pow($,2));if(st===0)return[0,0];var ot=it==="tangent"?[et/st,$/st]:[-$/st,et/st];return ot},tangentOnPath:function(nt,rt){return this.vectorOnPath(nt,rt,"tangent")},normalOnPath:function(nt,rt){return this.vectorOnPath(nt,rt,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([j],g),extendPrototype([j],b),b.prototype.getValueAtTime=d,b.prototype.initiateExpression=ExpressionManager.initiateExpression;var tt=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(_,nt,rt,it,ut){var _e=tt(_,nt,rt,it,ut);return _e.propertyIndex=nt.ix,_e.lock=!1,rt===3?expressionHelpers.searchExpressions(_,nt.pt,_e):rt===4&&expressionHelpers.searchExpressions(_,nt.ks,_e),_e.k&&_.addDynamicProperty(_e),_e}}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(i,s){var a=this.calculateExpression(s);if(i.t!==a){var o={};return this.copyData(o,i),o.t=a.toString(),o.__complete=!1,o}return i},TextProperty.prototype.searchProperty=function(){var i=this.searchKeyframes(),s=this.searchExpressions();return this.kf=i||s,this.kf},TextProperty.prototype.searchExpressions=e}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function e(i,s){var a=createNS("feMerge");a.setAttribute("result",i);var o,c;for(c=0;c<s.length;c+=1)o=createNS("feMergeNode"),o.setAttribute("in",s[c]),a.appendChild(o),a.appendChild(o);return a}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,i,s,a,o){this.filterManager=i;var c=createNS("feColorMatrix");c.setAttribute("type","matrix"),c.setAttribute("color-interpolation-filters","linearRGB"),c.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=c,c.setAttribute("result",a+"_tint_1"),e.appendChild(c),c=createNS("feColorMatrix"),c.setAttribute("type","matrix"),c.setAttribute("color-interpolation-filters","sRGB"),c.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),c.setAttribute("result",a+"_tint_2"),e.appendChild(c),this.matrixFilter=c;var h=this.createMergeNode(a,[o,a+"_tint_1",a+"_tint_2"]);e.appendChild(h)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var i=this.filterManager.effectElements[0].p.v,s=this.filterManager.effectElements[1].p.v,a=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+a+" 0"),this.matrixFilter.setAttribute("values",s[0]-i[0]+" 0 0 0 "+i[0]+" "+(s[1]-i[1])+" 0 0 0 "+i[1]+" "+(s[2]-i[2])+" 0 0 0 "+i[2]+" 0 0 0 1 0")}};function SVGFillFilter(e,i,s,a){this.filterManager=i;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",a),e.appendChild(o),this.matrixFilter=o}SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var i=this.filterManager.effectElements[2].p.v,s=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+i[0]+" 0 0 0 0 "+i[1]+" 0 0 0 0 "+i[2]+" 0 0 0 "+s+" 0")}};function SVGStrokeEffect(e,i,s){this.initialized=!1,this.filterManager=i,this.elem=s,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var e=this.elem.layerElement.children||this.elem.layerElement.childNodes,i,s,a,o;for(this.filterManager.effectElements[1].p.v===1?(o=this.elem.maskManager.masksProperties.length,a=0):(a=this.filterManager.effectElements[0].p.v-1,o=a+1),s=createNS("g"),s.setAttribute("fill","none"),s.setAttribute("stroke-linecap","round"),s.setAttribute("stroke-dashoffset",1),a;a<o;a+=1)i=createNS("path"),s.appendChild(i),this.paths.push({p:i,m:a});if(this.filterManager.effectElements[10].p.v===3){var c=createNS("mask"),h=createElementID();c.setAttribute("id",h),c.setAttribute("mask-type","alpha"),c.appendChild(s),this.elem.globalData.defs.appendChild(c);var d=createNS("g");for(d.setAttribute("mask","url("+getLocationHref()+"#"+h+")");e[0];)d.appendChild(e[0]);this.elem.layerElement.appendChild(d),this.masker=c,s.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(e=this.elem.layerElement.children||this.elem.layerElement.childNodes;e.length;)this.elem.layerElement.removeChild(e[0]);this.elem.layerElement.appendChild(s),this.elem.layerElement.removeAttribute("mask"),s.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=s},SVGStrokeEffect.prototype.renderFrame=function(e){this.initialized||this.initialize();var i,s=this.paths.length,a,o;for(i=0;i<s;i+=1)if(this.paths[i].m!==-1&&(a=this.elem.maskManager.viewData[this.paths[i].m],o=this.paths[i].p,(e||this.filterManager._mdf||a.prop._mdf)&&o.setAttribute("d",a.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||a.prop._mdf)){var c;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var h=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,d=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,g=o.getTotalLength();c="0 0 0 "+g*h+" ";var b=g*(d-h),j=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,tt=Math.floor(b/j),_;for(_=0;_<tt;_+=1)c+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";c+="0 "+g*10+" 0 0"}else c="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;o.setAttribute("stroke-dasharray",c)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(e||this.filterManager.effectElements[3].p._mdf)){var nt=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(nt[0]*255)+","+bmFloor(nt[1]*255)+","+bmFloor(nt[2]*255)+")")}};function SVGTritoneFilter(e,i,s,a){this.filterManager=i;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(o);var c=createNS("feComponentTransfer");c.setAttribute("color-interpolation-filters","sRGB"),c.setAttribute("result",a),this.matrixFilter=c;var h=createNS("feFuncR");h.setAttribute("type","table"),c.appendChild(h),this.feFuncR=h;var d=createNS("feFuncG");d.setAttribute("type","table"),c.appendChild(d),this.feFuncG=d;var g=createNS("feFuncB");g.setAttribute("type","table"),c.appendChild(g),this.feFuncB=g,e.appendChild(c)}SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var i=this.filterManager.effectElements[0].p.v,s=this.filterManager.effectElements[1].p.v,a=this.filterManager.effectElements[2].p.v,o=a[0]+" "+s[0]+" "+i[0],c=a[1]+" "+s[1]+" "+i[1],h=a[2]+" "+s[2]+" "+i[2];this.feFuncR.setAttribute("tableValues",o),this.feFuncG.setAttribute("tableValues",c),this.feFuncB.setAttribute("tableValues",h)}};function SVGProLevelsFilter(e,i,s,a){this.filterManager=i;var o=this.filterManager.effectElements,c=createNS("feComponentTransfer");(o[10].p.k||o[10].p.v!==0||o[11].p.k||o[11].p.v!==1||o[12].p.k||o[12].p.v!==1||o[13].p.k||o[13].p.v!==0||o[14].p.k||o[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",c)),(o[17].p.k||o[17].p.v!==0||o[18].p.k||o[18].p.v!==1||o[19].p.k||o[19].p.v!==1||o[20].p.k||o[20].p.v!==0||o[21].p.k||o[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",c)),(o[24].p.k||o[24].p.v!==0||o[25].p.k||o[25].p.v!==1||o[26].p.k||o[26].p.v!==1||o[27].p.k||o[27].p.v!==0||o[28].p.k||o[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",c)),(o[31].p.k||o[31].p.v!==0||o[32].p.k||o[32].p.v!==1||o[33].p.k||o[33].p.v!==1||o[34].p.k||o[34].p.v!==0||o[35].p.k||o[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",c)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(c.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(c)),(o[3].p.k||o[3].p.v!==0||o[4].p.k||o[4].p.v!==1||o[5].p.k||o[5].p.v!==1||o[6].p.k||o[6].p.v!==0||o[7].p.k||o[7].p.v!==1)&&(c=createNS("feComponentTransfer"),c.setAttribute("color-interpolation-filters","sRGB"),c.setAttribute("result",a),e.appendChild(c),this.feFuncRComposed=this.createFeFunc("feFuncR",c),this.feFuncGComposed=this.createFeFunc("feFuncG",c),this.feFuncBComposed=this.createFeFunc("feFuncB",c))}SVGProLevelsFilter.prototype.createFeFunc=function(e,i){var s=createNS(e);return s.setAttribute("type","table"),i.appendChild(s),s},SVGProLevelsFilter.prototype.getTableValue=function(e,i,s,a,o){for(var c=0,h=256,d,g=Math.min(e,i),b=Math.max(e,i),j=Array.call(null,{length:h}),tt,_=0,nt=o-a,rt=i-e;c<=256;)d=c/256,d<=g?tt=rt<0?o:a:d>=b?tt=rt<0?a:o:tt=a+nt*Math.pow((d-e)/rt,1/s),j[_]=tt,_+=1,c+=256/(h-1);return j.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var i,s=this.filterManager.effectElements;this.feFuncRComposed&&(e||s[3].p._mdf||s[4].p._mdf||s[5].p._mdf||s[6].p._mdf||s[7].p._mdf)&&(i=this.getTableValue(s[3].p.v,s[4].p.v,s[5].p.v,s[6].p.v,s[7].p.v),this.feFuncRComposed.setAttribute("tableValues",i),this.feFuncGComposed.setAttribute("tableValues",i),this.feFuncBComposed.setAttribute("tableValues",i)),this.feFuncR&&(e||s[10].p._mdf||s[11].p._mdf||s[12].p._mdf||s[13].p._mdf||s[14].p._mdf)&&(i=this.getTableValue(s[10].p.v,s[11].p.v,s[12].p.v,s[13].p.v,s[14].p.v),this.feFuncR.setAttribute("tableValues",i)),this.feFuncG&&(e||s[17].p._mdf||s[18].p._mdf||s[19].p._mdf||s[20].p._mdf||s[21].p._mdf)&&(i=this.getTableValue(s[17].p.v,s[18].p.v,s[19].p.v,s[20].p.v,s[21].p.v),this.feFuncG.setAttribute("tableValues",i)),this.feFuncB&&(e||s[24].p._mdf||s[25].p._mdf||s[26].p._mdf||s[27].p._mdf||s[28].p._mdf)&&(i=this.getTableValue(s[24].p.v,s[25].p.v,s[26].p.v,s[27].p.v,s[28].p.v),this.feFuncB.setAttribute("tableValues",i)),this.feFuncA&&(e||s[31].p._mdf||s[32].p._mdf||s[33].p._mdf||s[34].p._mdf||s[35].p._mdf)&&(i=this.getTableValue(s[31].p.v,s[32].p.v,s[33].p.v,s[34].p.v,s[35].p.v),this.feFuncA.setAttribute("tableValues",i))}};function SVGDropShadowEffect(e,i,s,a,o){var c=i.container.globalData.renderConfig.filterSize,h=i.data.fs||c;e.setAttribute("x",h.x||c.x),e.setAttribute("y",h.y||c.y),e.setAttribute("width",h.width||c.width),e.setAttribute("height",h.height||c.height),this.filterManager=i;var d=createNS("feGaussianBlur");d.setAttribute("in","SourceAlpha"),d.setAttribute("result",a+"_drop_shadow_1"),d.setAttribute("stdDeviation","0"),this.feGaussianBlur=d,e.appendChild(d);var g=createNS("feOffset");g.setAttribute("dx","25"),g.setAttribute("dy","0"),g.setAttribute("in",a+"_drop_shadow_1"),g.setAttribute("result",a+"_drop_shadow_2"),this.feOffset=g,e.appendChild(g);var b=createNS("feFlood");b.setAttribute("flood-color","#00ff00"),b.setAttribute("flood-opacity","1"),b.setAttribute("result",a+"_drop_shadow_3"),this.feFlood=b,e.appendChild(b);var j=createNS("feComposite");j.setAttribute("in",a+"_drop_shadow_3"),j.setAttribute("in2",a+"_drop_shadow_2"),j.setAttribute("operator","in"),j.setAttribute("result",a+"_drop_shadow_4"),e.appendChild(j);var tt=this.createMergeNode(a,[a+"_drop_shadow_4",o]);e.appendChild(tt)}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 i=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(i[0]*255),Math.round(i[1]*255),Math.round(i[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 s=this.filterManager.effectElements[3].p.v,a=(this.filterManager.effectElements[2].p.v-90)*degToRads,o=s*Math.cos(a),c=s*Math.sin(a);this.feOffset.setAttribute("dx",o),this.feOffset.setAttribute("dy",c)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,i,s){this.initialized=!1,this.filterManager=i,this.filterElem=e,this.elem=s,s.matteElement=createNS("g"),s.matteElement.appendChild(s.layerElement),s.matteElement.appendChild(s.transformedElement),s.baseElement=s.matteElement}SVGMatte3Effect.prototype.findSymbol=function(e){for(var i=0,s=_svgMatteSymbols.length;i<s;){if(_svgMatteSymbols[i]===e)return _svgMatteSymbols[i];i+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,i){var s=e.layerElement.parentNode;if(s){for(var a=s.children,o=0,c=a.length;o<c&&a[o]!==e.layerElement;)o+=1;var h;o<=c-2&&(h=a[o+1]);var d=createNS("use");d.setAttribute("href","#"+i),h?s.insertBefore(d,h):s.appendChild(d)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,i){if(!this.findSymbol(i)){var s=createElementID(),a=createNS("mask");a.setAttribute("id",i.layerId),a.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(i);var o=e.globalData.defs;o.appendChild(a);var c=createNS("symbol");c.setAttribute("id",s),this.replaceInParent(i,s),c.appendChild(i.layerElement),o.appendChild(c);var h=createNS("use");h.setAttribute("href","#"+s),a.appendChild(h),i.data.hd=!1,i.show()}e.setMatte(i.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,i=this.elem.comp.elements,s=0,a=i.length;s<a;)i[s]&&i[s].data.ind===e&&this.setElementAsMask(this.elem,i[s]),s+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(e,i,s,a){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=i;var o=createNS("feGaussianBlur");o.setAttribute("result",a),e.appendChild(o),this.feGaussianBlur=o}SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var i=.3,s=this.filterManager.effectElements[0].p.v*i,a=this.filterManager.effectElements[1].p.v,o=a==3?0:s,c=a==2?0:s;this.feGaussianBlur.setAttribute("stdDeviation",o+" "+c);var h=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",h)}};function TransformEffect(){}TransformEffect.prototype.init=function(e){this.effectsManager=e,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(e){if(this._opMdf=!1,this._mdf=!1,e||this.effectsManager._mdf){var i=this.effectsManager.effectElements,s=i[0].p.v,a=i[1].p.v,o=i[2].p.v===1,c=i[3].p.v,h=o?c:i[4].p.v,d=i[5].p.v,g=i[6].p.v,b=i[7].p.v;this.matrix.reset(),this.matrix.translate(-s[0],-s[1],s[2]),this.matrix.scale(h*.01,c*.01,1),this.matrix.rotate(-b*degToRads),this.matrix.skewFromAxis(-d*degToRads,(g+90)*degToRads),this.matrix.translate(a[0],a[1],0),this._mdf=!0,this.opacity!==i[8].p.v&&(this.opacity=i[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(e,i){this.init(i)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(e){this.init(e)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})}
56)(lottie$1,lottie$1.exports);var lottieExports=lottie$1.exports;const lottie=getDefaultExportFromCjs(lottieExports);function _arrayLikeToArray(e,i){(i==null||i>e.length)&&(i=e.length);for(var s=0,a=Array(i);s<i;s++)a[s]=e[s];return a}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _defineProperty(e,i,s){return(i=_toPropertyKey(i))in e?Object.defineProperty(e,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[i]=s,e}function _iterableToArrayLimit(e,i){var s=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(s!=null){var a,o,c,h,d=[],g=!0,b=!1;try{if(c=(s=s.call(e)).next,i!==0)for(;!(g=(a=c.call(s)).done)&&(d.push(a.value),d.length!==i);g=!0);}catch(j){b=!0,o=j}finally{try{if(!g&&s.return!=null&&(h=s.return(),Object(h)!==h))return}finally{if(b)throw o}}return d}}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 57In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ownKeys(e,i){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);i&&(a=a.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),s.push.apply(s,a)}return s}function _objectSpread2(e){for(var i=1;i<arguments.length;i++){var s=arguments[i]!=null?arguments[i]:{};i%2?ownKeys(Object(s),!0).forEach(function(a){_defineProperty(e,a,s[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):ownKeys(Object(s)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(s,a))})}return e}function _objectWithoutProperties(e,i){if(e==null)return{};var s,a,o=_objectWithoutPropertiesLoose(e,i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(a=0;a<c.length;a++)s=c[a],i.includes(s)||{}.propertyIsEnumerable.call(e,s)&&(o[s]=e[s])}return o}function _objectWithoutPropertiesLoose(e,i){if(e==null)return{};var s={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(i.includes(a))continue;s[a]=e[a]}return s}function _slicedToArray(e,i){return _arrayWithHoles(e)||_iterableToArrayLimit(e,i)||_unsupportedIterableToArray(e,i)||_nonIterableRest()}function _toPrimitive(e,i){if(typeof e!="object"||!e)return e;var s=e[Symbol.toPrimitive];if(s!==void 0){var a=s.call(e,i);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(e)}function _toPropertyKey(e){var i=_toPrimitive(e,"string");return typeof i=="symbol"?i:i+""}function _unsupportedIterableToArray(e,i){if(e){if(typeof e=="string")return _arrayLikeToArray(e,i);var s={}.toString.call(e).slice(8,-1);return s==="Object"&&e.constructor&&(s=e.constructor.name),s==="Map"||s==="Set"?Array.from(e):s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?_arrayLikeToArray(e,i):void 0}}var _excluded$1=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],useLottie=function e(i,s){var a=i.animationData,o=i.loop,c=i.autoplay,h=i.initialSegment,d=i.onComplete,g=i.onLoopComplete,b=i.onEnterFrame,j=i.onSegmentStart,tt=i.onConfigReady,_=i.onDataReady,nt=i.onDataFailed,rt=i.onLoadedImages,it=i.onDOMLoaded,ut=i.onDestroy;i.lottieRef,i.renderer,i.name,i.assetsPath,i.rendererSettings;var _e=_objectWithoutProperties(i,_excluded$1),et=reactExports.useState(!1),$=_slicedToArray(et,2),st=$[0],ot=$[1],lt=reactExports.useRef(),ht=reactExports.useRef(null),pt=function(){var Et;(Et=lt.current)===null||Et===void 0||Et.play()},vt=function(){var Et;(Et=lt.current)===null||Et===void 0||Et.stop()},St=function(){var Et;(Et=lt.current)===null||Et===void 0||Et.pause()},xt=function(Et){var Pt;(Pt=lt.current)===null||Pt===void 0||Pt.setSpeed(Et)},yt=function(Et,Pt){var Ct;(Ct=lt.current)===null||Ct===void 0||Ct.goToAndPlay(Et,Pt)},kt=function(Et,Pt){var Ct;(Ct=lt.current)===null||Ct===void 0||Ct.goToAndStop(Et,Pt)},wt=function(Et){var Pt;
vendor: 4,627 bytes, lines 57-58
57(Pt=lt.current)===null||Pt===void 0||Pt.setDirection(Et)},bt=function(Et,Pt){var Ct;(Ct=lt.current)===null||Ct===void 0||Ct.playSegments(Et,Pt)},ft=function(Et){var Pt;(Pt=lt.current)===null||Pt===void 0||Pt.setSubframe(Et)},dt=function(Et){var Pt;return(Pt=lt.current)===null||Pt===void 0?void 0:Pt.getDuration(Et)},at=function(){var Et;(Et=lt.current)===null||Et===void 0||Et.destroy(),lt.current=void 0},ct=function(){var Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Pt;if(ht.current){(Pt=lt.current)===null||Pt===void 0||Pt.destroy();var Ct=_objectSpread2(_objectSpread2(_objectSpread2({},i),Et),{},{container:ht.current});return lt.current=lottie.loadAnimation(Ct),ot(!!lt.current),function(){var jt;(jt=lt.current)===null||jt===void 0||jt.destroy(),lt.current=void 0}}};reactExports.useEffect(function(){var mt=ct();return function(){return mt==null?void 0:mt()}},[a,o]),reactExports.useEffect(function(){lt.current&&(lt.current.autoplay=!!c)},[c]),reactExports.useEffect(function(){if(lt.current){if(!h){lt.current.resetSegments(!0);return}!Array.isArray(h)||!h.length||((lt.current.currentRawFrame<h[0]||lt.current.currentRawFrame>h[1])&&(lt.current.currentRawFrame=h[0]),lt.current.setSegment(h[0],h[1]))}},[h]),reactExports.useEffect(function(){var mt=[{name:"complete",handler:d},{name:"loopComplete",handler:g},{name:"enterFrame",handler:b},{name:"segmentStart",handler:j},{name:"config_ready",handler:tt},{name:"data_ready",handler:_},{name:"data_failed",handler:nt},{name:"loaded_images",handler:rt},{name:"DOMLoaded",handler:it},{name:"destroy",handler:ut}],Et=mt.filter(function(Ct){return Ct.handler!=null});if(Et.length){var Pt=Et.map(function(Ct){var jt;return(jt=lt.current)===null||jt===void 0||jt.addEventListener(Ct.name,Ct.handler),function(){var At;(At=lt.current)===null||At===void 0||At.removeEventListener(Ct.name,Ct.handler)}});return function(){Pt.forEach(function(Ct){return Ct()})}}},[d,g,b,j,tt,_,nt,rt,it,ut]);var gt=React.createElement("div",_objectSpread2({style:s,ref:ht},_e));return{View:gt,play:pt,stop:vt,pause:St,setSpeed:xt,goToAndStop:kt,goToAndPlay:yt,setDirection:wt,playSegments:bt,setSubframe:ft,getDuration:dt,destroy:at,animationContainerRef:ht,animationLoaded:st,animationItem:lt.current}};function getContainerVisibility(e){var i=e.getBoundingClientRect(),s=i.top,a=i.height,o=window.innerHeight-s,c=window.innerHeight+a;return o/c}function getContainerCursorPosition(e,i,s){var a=e.getBoundingClientRect(),o=a.top,c=a.left,h=a.width,d=a.height,g=(i-c)/h,b=(s-o)/d;return{x:g,y:b}}var useInitInteractivity=function e(i){var s=i.wrapperRef,a=i.animationItem,o=i.mode,c=i.actions;reactExports.useEffect(function(){var h=s.current;if(!(!h||!a||!c.length)){a.stop();var d=function(){var j=null,tt=function(){var nt=getContainerVisibility(h),rt=c.find(function(ut){var _e=ut.visibility;return _e&&nt>=_e[0]&&nt<=_e[1]});if(rt){if(rt.type==="seek"&&rt.visibility&&rt.frames.length===2){var it=rt.frames[0]+Math.ceil((nt-rt.visibility[0])/(rt.visibility[1]-rt.visibility[0])*rt.frames[1]);//! goToAndStop must be relative to the start of the current segment 58a.goToAndStop(it-a.firstFrame-1,!0)}rt.type==="loop"&&(j===null||j!==rt.frames||a.isPaused)&&(a.playSegments(rt.frames,!0),j=rt.frames),rt.type==="play"&&a.isPaused&&(a.resetSegments(!0),a.play()),rt.type==="stop"&&a.goToAndStop(rt.frames[0]-a.firstFrame-1,!0)}};return document.addEventListener("scroll",tt),function(){document.removeEventListener("scroll",tt)}},g=function(){var j=function(rt,it){var ut=rt,_e=it;if(ut!==-1&&_e!==-1){var et=getContainerCursorPosition(h,ut,_e);ut=et.x,_e=et.y}var $=c.find(function(lt){var ht=lt.position;return ht&&Array.isArray(ht.x)&&Array.isArray(ht.y)?ut>=ht.x[0]&&ut<=ht.x[1]&&_e>=ht.y[0]&&_e<=ht.y[1]:ht&&!Number.isNaN(ht.x)&&!Number.isNaN(ht.y)?ut===ht.x&&_e===ht.y:!1});if($){if($.type==="seek"&&$.position&&Array.isArray($.position.x)&&Array.isArray($.position.y)&&$.frames.length===2){var st=(ut-$.position.x[0])/($.position.x[1]-$.position.x[0]),ot=(_e-$.position.y[0])/($.position.y[1]-$.position.y[0]);a.playSegments($.frames,!0),a.goToAndStop(Math.ceil((st+ot)/2*($.frames[1]-$.frames[0])),!0)}$.type==="loop"&&a.playSegments($.frames,!0),$.type==="play"&&(a.isPaused&&a.resetSegments(!1),a.playSegments($.frames)),$.type==="stop"&&a.goToAndStop($.frames[0],!0)}},tt=function(rt){j(rt.clientX,rt.clientY)},_=function(){j(-1,-1)};return h.addEventListener("mousemove",tt),h.addEventListener("mouseout",_),function(){h.removeEventListener("mousemove",tt),h.removeEventListener("mouseout",_)}};switch(o){case"scroll":return d();case"cursor":return g()}}},[o,a])}
58,useLottieInteractivity=function e(i){var s=i.actions,a=i.mode,o=i.lottieObj,c=o.animationItem,h=o.View,d=o.animationContainerRef;return useInitInteractivity({actions:s,animationItem:c,mode:a,wrapperRef:d}),h},_excluded=["style","interactivity"],Lottie=function e(i){var s,a,o,c=i.style,h=i.interactivity,d=_objectWithoutProperties(i,_excluded),g=useLottie(d,c),b=g.View,j=g.play,tt=g.stop,_=g.pause,nt=g.setSpeed,rt=g.goToAndStop,it=g.goToAndPlay,ut=g.setDirection,_e=g.playSegments,et=g.setSubframe,$=g.getDuration,st=g.destroy,ot=g.animationContainerRef,lt=g.animationLoaded,ht=g.animationItem;return reactExports.useEffect(function(){i.lottieRef&&(i.lottieRef.current={play:j,stop:tt,pause:_,setSpeed:nt,goToAndPlay:it,goToAndStop:rt,setDirection:ut,playSegments:_e,setSubframe:et,getDuration:$,destroy:st,animationContainerRef:ot,animationLoaded:lt,animationItem:ht})},[(s=i.lottieRef)===null||s===void 0?void 0:s.current]),useLottieInteractivity({lottieObj:{View:b,play:j,stop:tt,pause:_,setSpeed:nt,goToAndStop:rt,goToAndPlay:it,setDirection:ut,playSegments:_e,setSubframe:et,getDuration:$,destroy:st,animationContainerRef:ot,animationLoaded:lt,animationItem:ht},actions:(a=h==null?void 0:h.actions)!==null&&a!==void 0?a:[],mode:(o=h==null?void 0:h.mode)!==null&&o!==void 0?o:"scroll"})};const pills=[{label:"Taste",position:"top-[18%] left-[22%]",delay:.8},{label:"Point of view",position:"top-[46%] left-[2%]",delay:1.2},{label:"Trust",position:"top-[69%] left-[22%]",delay:1.6},{label:"Intent",position:"top-[38%] right-[12%]",delay:2},{label:"Insights",position:"top-[64%] right-[9%]",delay:2.4}],pillVariants={hidden:{opacity:0,scale:.5},visible:e=>({opacity:1,scale:.8,transition:{delay:e,duration:.6,ease:[.25,.1,.25,1]}})};function HeroAnimation(){const[e,i]=reactExports.useState(null);return reactExports.useEffect(()=>{fetch("/images/orbit-final.json").then(s=>s.json()).then(s=>i(s)).catch(s=>console.error("Failed to load orbit animation:",s))},[]),jsxRuntimeExports.jsxs("div",{className:"relative w-full h-full min-h-[320px]",children:[jsxRuntimeExports.jsx("div",{className:"absolute w-[70%] md:w-[75%] aspect-square rounded-full left-[10%] md:left-[5%] top-[8%] md:top-[21%] bg-hubspot-cream/10"}),jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},transition:{duration:.8,delay:.3},className:"absolute right-[5%] md:right-[0%] top-[-7%] md:top-[2%] w-[50%] md:w-[53%] aspect-[4/5]",children:jsxRuntimeExports.jsx("img",{src:"/images/lady-thinking.png",alt:"Professional woman thinking",className:"w-full h-full object-cover rounded-2xl"})}),jsxRuntimeExports.jsxs("div",{className:"absolute w-[80%] md:w-[85%] aspect-square left-[5%] md:left-[0%] top-[3%] md:top-[15%]",children:[jsxRuntimeExports.jsx("div",{className:"absolute inset-0 pointer-events-none",children:e&&jsxRuntimeExports.jsx(Lottie,{animationData:e,loop:!0,className:"w-full h-full"})}),pills.map(s=>jsxRuntimeExports.jsx(motion.div,{custom:s.delay,variants:pillVariants,initial:"hidden",animate:"visible",className:`absolute ${s.position} px-3 py-1.5 md:px-4 md:py-2 bg-hubspot-magenta rounded-full`,children:jsxRuntimeExports.jsx("span",{className:"font-hubspot-sans font-normal text-[12px] md:text-[14px] whitespace-nowrap text-[#FCC3DC]",children:s.label})},s.label))]})]})}function Hero(){return jsxRuntimeExports.jsx(AnimatedGradientBackground,{className:"w-full h-[620px] md:h-[500px]",children:jsxRuntimeExports.jsxs("div",{className:"w-full max-w-[1080px] mx-auto px-4 h-full flex flex-col md:flex-row items-center pt-16 md:pt-12 pb-12 md:pb-16",children:[jsxRuntimeExports.jsxs(motion.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.8,ease:"easeOut"},className:"max-w-[540px] md:w-[45%] flex-shrink-0 -mt-[30px]",children:[jsxRuntimeExports.jsx(motion.p,{initial:{opacity:0}
58,animate:{opacity:1},transition:{delay:.2,duration:.6},className:"font-hubspot-sans font-medium text-hubspot-cream text-sm tracking-[0.7px] uppercase mb-2 md:mb-4",children:"2026 Report"}),jsxRuntimeExports.jsxs(motion.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4,duration:.8},className:"font-hubspot-serif font-normal text-hubspot-cream text-[3.5rem] leading-[1.2] sm:text-5xl sm:leading-tight md:text-[4rem] md:leading-[4.2rem] lg:text-[80px] lg:leading-[84px] mb-2 md:mb-6",children:[jsxRuntimeExports.jsxs("span",{className:"md:hidden",children:["The State",jsxRuntimeExports.jsx("br",{}),"of Marketing"]}),jsxRuntimeExports.jsxs("span",{className:"hidden md:block",children:[jsxRuntimeExports.jsx("span",{className:"whitespace-nowrap",children:"The State of"}),jsxRuntimeExports.jsx("br",{}),"Marketing"]})]}),jsxRuntimeExports.jsx(motion.p,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.6,duration:.8},className:"font-hubspot-sans font-normal text-hubspot-cream text-base md:text-lg leading-relaxed md:leading-[26px] max-w-[424px] mb-6 md:mb-8",children:"The secret to success in an AI-driven world is a strong brand POV and humans in the loop."}),jsxRuntimeExports.jsx(motion.a,{href:"#foreword",initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{delay:.8,duration:.6},className:"inline-block px-6 py-3 bg-hubspot-cream text-hubspot-orange button-regular rounded-md hover:bg-white transition-colors duration-200",children:"Read the report"})]}),jsxRuntimeExports.jsx("div",{className:"w-full md:w-[55%] mt-8 md:mt-0 md:ml-auto h-[300px] md:h-[400px]",children:jsxRuntimeExports.jsx(HeroAnimation,{})})]})})}const sections$1=[{id:"foreword",label:"FOREWORD",title:"When AI
58is everywhere, brands in the loop will rise to the top"},{id:"introduction",label:"INTRODUCTION + KEY FINDINGS",title:"AI has disrupted marketing to be more human"},{id:"strategy",label:"STRATEGY + BRAND TRENDS",title:"Expressing your brand's POV is a competitive advantage"},{id:"content",label:"CONTENT TRENDS",title:"Content by humans, for humans converts"},{id:"growth",label:"GROWTH TRENDS",title:"High-intent buyers from AI search are changing the web game"},{id:"plan",label:"FUTURE",title:"Where marketing is headed (at the speed of AI)"}];function TableOfContents(){const[e,i]=reactExports.useState(null),[s,a]=reactExports.useState(null),[o,c]=reactExports.useState(null),h=React.useRef(!1),d=React.useRef(null),g=React.useRef(!1);reactExports.useEffect(()=>{const j=()=>{g.current=!1};return window.addEventListener("wheel",j,{passive:!0}),window.addEventListener("touchmove",j,{passive:!0}),()=>{window.removeEventListener("wheel",j),window.removeEventListener("touchmove",j)}},[]),reactExports.useEffect(()=>{const j=()=>
58{if(h.current)return;const tt=200;if(window.scrollY<50){i(null),g.current||c(null);return}let nt=null,rt=1/0;sections$1.forEach(it=>{const ut=document.getElementById(`${it.id}-trigger`);if(!ut)return;const et=ut.getBoundingClientRect().top;if(et<=tt){const $=tt-et;$<rt&&(rt=$,nt=it.id)}}),i(nt),g.current||c(nt)};return window.addEventListener("scroll",j),j(),()=>window.removeEventListener("scroll",j)},[]);const b=j=>{const tt=document.getElementById(`${j}-trigger`);if(console.log("Clicking section:",j,"Trigger found:",!!tt),tt){i(j),h.current=!0,d.current&&clearTimeout(d.current);const nt=tt.getBoundingClientRect(),rt=window.scrollY,it=nt.top+rt,ut=it-200;console.log("Debug scroll:",{sectionId:j,rectTop:nt.top,currentScrollY:rt,triggerTopFromDocument:it,targetScrollY:ut}),window.scrollTo({top:ut,behavior:"smooth"}),d.current=setTimeout(()=>{h.current=!1},1e3)}else console.error("Trigger not found for:",j)};return jsxRuntimeExports.jsxs("div",{className:"sticky top-[100px] hidden lg:block z-20",children:[jsxRuntimeExports.jsxs("div",{className:"bg-white border border-[#e2e2e2] rounded-xl p-6 w-[280px] shadow-sm",children:[jsxRuntimeExports.jsx("div",{className:"border-b border-[rgba(20,20,20,0.2)] pb-2 mb-4",children:jsxRuntimeExports.jsx("p",{className:"paragraph-large text-hubspot-neutral",children:"Table of contents"})}),jsxRuntimeExports.jsx("nav",{className:"space-y-3 pb-6",children:sections$1.map(j=>{const tt=e===j.id,_=s===j.id,nt=o===j.id;return jsxRuntimeExports.jsx("div",{className:"relative",children:jsxRuntimeExports.jsxs("div",{className:`transition-all duration-200 px-3 rounded-lg ${tt?"bg-[#F2F2F2] py-3":""} ${_&&!tt?"bg-[#F2F2F2]":""}`,children:[jsxRuntimeExports.jsx("button",{onClick:rt=>{rt.preventDefault(),rt.stopPropagation(),g.current=!0,c(j.id),setTimeout(()=>b(j.id),0)},onMouseEnter:()=>a(j.id),onMouseLeave:()=>a(null),className:"w-full text-left cursor-pointer",children:jsxRuntimeExports.jsx("p",{className:`microheading-small tracking-wider transition-colors ${tt?"text-hubspot-orange":"text-hubspot-neutral"} ${_&&!tt?"text-hubspot-orange":""}`,children:j.label})}),jsxRuntimeExports.jsx(motion.div,{initial:!1,animate:{height:nt?"auto":0,opacity:nt?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:jsxRuntimeExports.jsx("div",{className:"mt-2",children:jsxRuntimeExports.jsx("p",{className:`paragraph-small transition-colors ${tt?"text-hubspot-neutral":"text-gray-600"}`,children:j.title})})})]})},j.id)})})]}),jsxRuntimeExports.jsxs("div",{className:"bg-[#1A3D3B] rounded-xl p-6 w-[280px] shadow-lg -mt-4 relative z-10",children:[jsxRuntimeExports.jsx("p",{className:"paragraph-small text-white text-center mb-4",children:"Growing a business is hard. HubSpot makes it easier."}),jsxRuntimeExports.jsx("a",{href:"https://offers.hubspot.com/crm-platform-demo",target:"_blank",rel:"noopener noreferrer",className:"block w-full bg-hubspot-orange hover:bg-[#E64000] text-white button-regular py-3 px-6 rounded-lg text-center transition-colors duration-200",children:"Get a Demo"})]})]})}
58const sections=[{id:"foreword",label:"Foreword",title:"When AI is everywhere, brands in the loop will rise to the top"},{id:"introduction",label:"Introduction + Key Findings",title:"AI has disrupted marketing to be more human"},{id:"strategy",label:"Strategy + Brand Trends",title:"Expressing your brand's POV is a competitive advantage"},{id:"content",label:"Content Trends",title:"Content by humans, for humans converts"},{id:"growth",label:"Growth Trends",title:"High-intent buyers from AI search are changing the web game"},{id:"plan",label:"Future",title:"Where marketing is headed (at the speed of AI)"}];function MobileMenu(){const[e,i]=reactExports.useState(!1),[s,a]=reactExports.useState("foreword"),[o,c]=reactExports.useState(null),h=React.useRef(!1),d=React.useRef(null);reactExports.useEffect(()=>{const b=()=>{if(h.current)return;const tt=74+50;if(window.scrollY<50){a("foreword"),c("foreword");return}let nt="foreword";sections.forEach(rt=>{const it=document.getElementById(`${rt.id}-trigger`);if(!it)return;it.getBoundingClientRect().top<=tt&&(nt=rt.id)}),a(nt),c(nt)};return window.addEventListener("scroll",b),b(),()=>window.removeEventListener("scroll",b)},[]);const g=b=>{const j=document.getElementById(`${b}-trigger`);if(!j)return;const rt=j.getBoundingClientRect().top+window.scrollY-74-16;a(b),c(b),h.current=!0,d.current&&clearTimeout(d.current),i(!1),window.scrollTo({top:Math.max(0,rt),behavior:"smooth"}),d.current=setTimeout(()=>{h.current=!1},1e3)};return jsxRuntimeExports.jsxs("div",{className:"lg:hidden",children:[jsxRuntimeExports.jsx("button",{onClick:()=>i(!e),className:"fixed bottom-6 right-6 z-50 bg-hubspot-orange text-white p-4 rounded-full shadow-lg","aria-label":"Toggle menu",children:jsxRuntimeExports.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e?jsxRuntimeExports.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"}):jsxRuntimeExports.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 6h16M4 12h16M4 18h16"})})}),jsxRuntimeExports.jsx(AnimatePresence,{children:e&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0}
58,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-black bg-opacity-50 z-40",onClick:()=>i(!1)}),jsxRuntimeExports.jsx(motion.div,{initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",damping:30,stiffness:300},className:"fixed right-0 top-0 bottom-0 w-80 bg-white shadow-2xl z-40 overflow-y-auto",children:jsxRuntimeExports.jsxs("div",{className:"p-6",children:[jsxRuntimeExports.jsx("h3",{className:"heading-5 mb-6 text-hubspot-neutral",children:"Table of contents"}),jsxRuntimeExports.jsx("nav",{className:"space-y-3",children:sections.map(b=>{const j=o===b.id,tt=s===b.id;return jsxRuntimeExports.jsxs("div",{className:"border-b border-gray-200 last:border-b-0",children:[jsxRuntimeExports.jsx("button",{onClick:_=>{_.preventDefault(),_.stopPropagation(),c(b.id),setTimeout(()=>g(b.id),0)},className:`w-full text-left px-3 rounded transition-colors cursor-pointer ${tt?"text-hubspot-orange py-3":"text-hubspot-neutral"}`,children:jsxRuntimeExports.jsx("span",{className:"microheading-small tracking-wider uppercase",children:b.label})}),jsxRuntimeExports.jsx(motion.div,{initial:!1,animate:{height:j?"auto":0,opacity:j?1:0},transition:{duration:.2,ease:"easeInOut"},className:"overflow-hidden",children:jsxRuntimeExports.jsx("div",{className:"px-3 pb-3 paragraph-small text-gray-600",children:b.title})})]},b.id)})})]})})]})})]})}var observerMap=new Map,RootIds=new WeakMap,rootId=0,unsupportedValue=void 0;function getRootId(e){return e?(RootIds.has(e)||(rootId+=1,RootIds.set(e,rootId.toString())),RootIds.get(e)):"0"}function optionsToId(e){return Object.keys(e).sort().filter(i=>e[i]!==void 0).map(i=>`${i}_${i==="root"?getRootId(e.root):e[i]}`).toString()}function createObserver(e){const i=optionsToId(e);let s=observerMap.get(i);if(!s){const a=new Map;let o;const c=new IntersectionObserver(h=>{h.forEach(d=>{var g;const b=d.isIntersecting&&o.some(j=>d.intersectionRatio>=j);e.trackVisibility&&typeof d.isVisible>"u"&&(d.isVisible=b),(g=a.get(d.target))==null||g.forEach(j=>{j(b,d)})})},e);o=c.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),s={id:i,observer:c,elements:a},observerMap.set(i,s)}return s}function observe(e,i,s={},a=unsupportedValue){if(typeof window.IntersectionObserver>"u"&&a!==void 0){const g=e.getBoundingClientRect();return i(a,{isIntersecting:a,target:e,intersectionRatio:typeof s.threshold=="number"?s.threshold:0,time:0,boundingClientRect:g,intersectionRect:g,rootBounds:g}),()=>{}}const{id:o,observer:c,elements:h}=createObserver(s),d=h.get(e)||[];return h.has(e)||h.set(e,d),d.push(i),c.observe(e),function(){d.splice(d.indexOf(i),1),d.length===0&&(h.delete(e),c.unobserve(e)),h.size===0&&(c.disconnect(),observerMap.delete(o))}}function useInView({threshold:e,delay:i,trackVisibility:s,rootMargin:a,root:o,triggerOnce:c,skip:h,initialInView:d,fallbackInView:g,onChange:b}={}){var j;const[tt,_]=reactExports.useState(null),nt=reactExports.useRef(b),[rt,it]=reactExports.useState({inView:!!d,entry:void 0});nt.current=b,reactExports.useEffect(()=>{if(h||!tt)return;let $;return $=observe(tt,(st,ot)=>{it({inView:st,entry:ot}),nt.current&&nt.current(st,ot),ot.isIntersecting&&c&&$&&($(),$=void 0)},{root:o,rootMargin:a,threshold:e,trackVisibility:s,delay:i},g),()=>{$&&$()}},[Array.isArray(e)?e.toString():e,tt,o,a,c,h,s,g,i]);const ut=(j=rt.entry)==null?void 0:j.target,_e=reactExports.useRef(void 0);!tt&&ut&&!c&&!h&&_e.current!==ut&&(_e.current=ut,it({inView:!!d,entry:void 0}));const et=[_,rt.inView,rt.entry];return et.ref=et[0],et.inView=et[1],et.entry=et[2],et}function Section({id:e,children:i,className:s="",delay:a=0}){const[o,c]=useInView({threshold:.02,triggerOnce:!0});return jsxRuntimeExports.jsx(motion.section,{id:e,ref:o,initial:{opacity:0,y:15},animate:c?{opacity:1,y:0}:{},transition:{duration:.2,delay:a*.5,ease:"easeOut"},className:s,children:i})}function Tagline({children:e,className:i=""}){return jsxRuntimeExports.jsx("div",{className:`inline-flex items-center justify-center px-2 py-1 bg-white border border-[rgba(20,20,20,0.1)] rounded ${i}`,children:jsxRuntimeExports.jsx("span",{className:"microheading text-hubspot-neutral tracking-wide",children:e})})}const defaultCategories$1=[{key:"overall",label:"Overall",color:"#FF4800"},{key:"smb",label:"Small to Medium Business",color:"#46062B"},{key:"midMarket",label:"Mid-Market",color:"#D6C2D9"},{key:"enterprise",label:"Enterprise",color:"#B9CDBE"}];function GroupedBarChart({data:e,title:i="How marketing activities performed against goals in the last 12 months",className:s="",categories:a=defaultCategories$1,scrollable:o=!1,visibleItems:c=5,wrapLabels:h=!1}){const[d,g]=useInView({threshold:.2,triggerOnce:!0}),[b,j]=reactExports.useState(null),[tt,_]=reactExports.useState(null),[nt,rt]=reactExports.useState(!1),[it,ut]=reactExports.useState(!1),[_e,et]=reactExports.useState(0),$=reactExports.useRef(null),st=reactExports.useRef(null),ot=b||tt,lt=xt=>()=>{if(!xt.current)return;const{scrollLeft:yt,scrollWidth:kt,clientWidth:wt}=xt.current;rt(yt>10),ut(yt<kt-wt-10);const bt=kt-wt;bt>0&&et(yt/bt)};reactExports.useEffect(()=>{if(o){const xt=yt=>{if(yt){const{scrollWidth:kt,clientWidth:wt}=yt;
58kt>wt&&(ut(!0),rt(!1),et(0))}};xt($.current),xt(st.current)}},[o,e]);const ht=xt=>{_(xt)},pt=xt=>{xt.target.closest("[data-legend-item]")||_(null)},vt=Math.max(...e.flatMap(xt=>a.map(yt=>Number(xt[yt.key])||0))),St=140;return jsxRuntimeExports.jsxs("div",{className:`bg-white border border-[#E2E2E2] rounded-lg p-4 sm:p-6 lg:p-8 w-full max-w-full overflow-hidden ${s}`,onClick:pt,children:[jsxRuntimeExports.jsx("p",{className:"paragraph-large text-hubspot-neutral mb-3",style:{fontSize:"16px"},children:i}),jsxRuntimeExports.jsx("div",{className:"flex flex-wrap gap-x-3 sm:gap-x-4 lg:gap-x-6 gap-y-2 mb-8",children:a.map(xt=>jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2 cursor-pointer transition-opacity","data-legend-item":!0,onMouseEnter:()=>j(xt.key),onMouseLeave:()=>j(null),onClick:()=>ht(xt.key),children:[jsxRuntimeExports.jsx("div",{className:"w-3 h-3 rounded-full flex-shrink-0",style:{backgroundColor:xt.color}}),jsxRuntimeExports.jsx("span",{className:"paragraph-small text-hubspot-neutral whitespace-nowrap",children:xt.label})]},xt.key))}),jsxRuntimeExports.jsxs("div",{ref:d,children:[jsxRuntimeExports.jsx("div",{className:"sm:hidden",children:o?jsxRuntimeExports.jsxs("div",{className:"relative",children:[nt&&jsxRuntimeExports.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-12 z-10 pointer-events-none",style:{background:"linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%)"}}),it&&jsxRuntimeExports.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-12 z-10 pointer-events-none",style:{background:"linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%)"}}),jsxRuntimeExports.jsx("div",{ref:st,onScroll:lt(st),className:"overflow-x-auto pb-2 pl-2 scrollbar-hide",style:{scrollBehavior:"smooth",WebkitOverflowScrolling:"touch",scrollbarWidth:"none"},children:jsxRuntimeExports.jsxs("div",{className:"relative pt-6",style:{minWidth:`${e.length*110}px`},children:[jsxRuntimeExports.jsx("div",{className:"absolute left-0 right-0 h-[1px] bg-hubspot-neutral",style:{top:"calc(24px + 180px)"}}),jsxRuntimeExports.jsx("div",{className:"flex gap-6",children:e.map((xt,yt)=>jsxRuntimeExports.jsxs("div",{className:"flex flex-col items-center",style:{flex:"0 0 auto",minWidth:"80px"},children:[jsxRuntimeExports.jsx("div",{className:"w-full flex items-end justify-center gap-2 h-[180px]",children:a.map((kt,wt)=>{const bt=Number(xt[kt.key])||0,ft=bt/vt*100;return jsxRuntimeExports.jsxs("div",{className:"flex flex-col justify-end items-center h-full relative",style:{width:"16px"},children:[jsxRuntimeExports.jsxs(motion.div,{className:"absolute font-hubspot-sans text-[11px] font-medium text-hubspot-neutral whitespace-nowrap",initial:{opacity:0}
58,animate:g?{opacity:ot&&ot!==kt.key?.2:1}:{opacity:0},transition:{opacity:{duration:ot===kt.key?.05:.2,ease:"easeInOut"},delay:ot?0:yt*.08+wt*.03+.4},style:{bottom:`calc(${ft}% + 2px)`},children:[bt,"%"]}),jsxRuntimeExports.jsx(motion.div,{className:"w-full transition-opacity duration-300",style:{backgroundColor:kt.color,opacity:ot&&ot!==kt.key?.2:1},initial:{height:0},animate:g?{height:`${ft}%`}:{height:0},transition:{duration:.5,delay:yt*.08+wt*.03,ease:[.25,.1,.25,1]}})]},kt.key)})}),jsxRuntimeExports.jsx("p",{className:`font-hubspot-sans text-[12px] leading-[16px] text-hubspot-neutral text-center mt-3 ${h?"max-w-[100px]":"whitespace-nowrap"}`,children:xt.label})]},yt))})]})}),jsxRuntimeExports.jsx("div",{className:"mt-4 px-2",children:jsxRuntimeExports.jsx("div",{className:"relative h-[4px] bg-[#E5E5E5] rounded-full",children:jsxRuntimeExports.jsx(motion.div,{className:"absolute top-0 h-full bg-hubspot-neutral rounded-full",style:{width:"20%",left:`${_e*80}%`},initial:{opacity:0},animate:{opacity:1},transition:{duration:.3}})})})]}):jsxRuntimeExports.jsx("div",{className:"space-y-[18px]",children:e.map((xt,yt)=>jsxRuntimeExports.jsxs("div",{className:"space-y-1",children:[jsxRuntimeExports.jsx("p",{className:"font-hubspot-sans text-[14px] font-medium text-hubspot-neutral",children:xt.label}),jsxRuntimeExports.jsx("div",{className:"space-y-[6px]",children:a.map((kt,wt)=>{const bt=Number(xt[kt.key])||0,ft=bt/vt*100;return jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[jsxRuntimeExports.jsx(motion.div,{className:"relative h-[18px] transition-opacity duration-300",style:{backgroundColor:kt.color,opacity:ot&&ot!==kt.key?.2:1},initial:{width:0},animate:g?{width:`${ft}%`}:{width:0},transition:{duration:.5,delay:yt*.08+wt*.03,ease:[.25,.1,.25,1]}}),jsxRuntimeExports.jsxs(motion.div,{className:"font-hubspot-sans text-[14px] font-medium text-hubspot-neutral",initial:{opacity:0}
58,animate:g?{opacity:ot&&ot!==kt.key?.2:1}:{opacity:0},transition:{opacity:{duration:ot===kt.key?.05:.2,ease:"easeInOut"},delay:ot?0:yt*.15+wt*.05+.8},children:[bt,"%"]})]},kt.key)})})]},yt))})}),jsxRuntimeExports.jsx("div",{className:"hidden sm:block relative",children:jsxRuntimeExports.jsxs("div",{className:"relative",children:[o&&nt&&jsxRuntimeExports.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-16 z-10 pointer-events-none",style:{background:"linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%)"}}),o&&it&&jsxRuntimeExports.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-16 z-10 pointer-events-none",style:{background:"linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%)"}}),jsxRuntimeExports.jsx("div",{ref:$,onScroll:lt($),className:o?"overflow-x-auto scrollbar-hide":"",style:{scrollBehavior:"smooth",WebkitOverflowScrolling:"touch",paddingBottom:o?"20px":void 0},children:jsxRuntimeExports.jsxs("div",{className:"relative pt-6",style:{width:o?`${e.length*St+(e.length-1)*30}px`:"100%"},children:[jsxRuntimeExports.jsx("div",{className:"absolute left-0 right-0 h-[1px] bg-hubspot-neutral",style:{top:"calc(24px + 280px)"}}),jsxRuntimeExports.jsx("div",{className:`flex ${o?"gap-[30px]":"justify-between gap-2 sm:gap-4 lg:gap-8"}`,children:e.map((xt,yt)=>jsxRuntimeExports.jsxs("div",{className:"flex flex-col items-center",style:{flex:o?"0 0 auto":"1",width:o?`${St}px`:void 0},children:[jsxRuntimeExports.jsx("div",{className:`w-full flex items-end justify-center h-[280px] overflow-visible ${o?"gap-2":"gap-1"}`,children:a.map((kt,wt)=>{const bt=Number(xt[kt.key])||0,ft=bt/vt*100;return jsxRuntimeExports.jsxs("div",{className:"flex flex-col justify-end items-center h-full relative",style:{flex:o?"0 0 auto":"1",width:o?"24px":void 0},children:[jsxRuntimeExports.jsxs(motion.div,{className:"absolute font-hubspot-sans text-[13px] font-medium text-hubspot-neutral mb-1 whitespace-nowrap",initial:{opacity:0,y:10},animate:g?{opacity:ot&&ot!==kt.key?.2:1,y:0}:{opacity:0,y:10},transition:{opacity:{duration:ot===kt.key?.05:.2,ease:"easeInOut"},y:{duration:.3,delay:ot?0:yt*.08+wt*.03+.4}},style:{bottom:`calc(${ft}% + 4px)`},children:[bt,"%"]}),jsxRuntimeExports.jsx(motion.div,{className:"w-full transition-opacity duration-300",style:{backgroundColor:kt.color,opacity:ot&&ot!==kt.key?.2:1},initial:{height:0},animate:g?{height:`${ft}%`}:{height:0},transition:{duration:.5,delay:yt*.08+wt*.03,ease:[.25,.1,.25,1]}})]},kt.key)})}),jsxRuntimeExports.jsx("div",{className:"text-center w-full px-1 mt-4",children:jsxRuntimeExports.jsx("p",{className:`font-hubspot-sans text-[12px] sm:text-[13px] lg:text-[14px] leading-[18px] text-hubspot-neutral ${h?"max-w-[120px] mx-auto":"whitespace-nowrap"}`,children:xt.label})})]},yt))})]})}),o&&jsxRuntimeExports.jsx("div",{className:"mt-5 px-4",children:jsxRuntimeExports.jsx("div",{className:"relative h-[4px] bg-[#E5E5E5] rounded-full",children:jsxRuntimeExports.jsx(motion.div,{className:"absolute top-0 h-full bg-hubspot-neutral rounded-full",style:{width:"20%",left:`${_e*80}%`},initial:{opacity:0}
58,animate:{opacity:1},transition:{duration:.3}})})})]})})]}),jsxRuntimeExports.jsxs("div",{className:"mt-8 sm:pt-4 flex items-center justify-between gap-4 flex-wrap sm:flex-nowrap",children:[jsxRuntimeExports.jsx("p",{className:"source-citation text-gray-500",children:"Source: HubSpot 2026 State of Marketing Report"}),jsxRuntimeExports.jsx("div",{className:"relative w-[70px] sm:w-[80px] h-[20px] sm:h-[23px] flex-shrink-0",children:jsxRuntimeExports.jsx("img",{src:"/images/hubspot-logo.svg",alt:"HubSpot",className:"object-contain w-full h-full"})})]})]})}const defaultCategories=[{key:"overall",label:"Overall",color:"#FF4800"},{key:"smb",label:"Small to Medium Business",color:"#46062B"},{key:"midMarket",label:"Mid-Market",color:"#D6C2D9"},{key:"enterprise",label:"Enterprise",color:"#B9CDBE"}];function GroupedColumnChart({data:e,title:i="How marketing activities performed against goals in the last 12 months",categories:s=defaultCategories,className:a=""}){const[o,c]=useInView({threshold:.2,triggerOnce:!0}),[h,d]=reactExports.useState(null),[g,b]=reactExports.useState(null),[j,tt]=reactExports.useState(0),[_,nt]=reactExports.useState(!1),[rt,it]=reactExports.useState(!0),ut=reactExports.useRef(null),_e=h||g,et=()=>{if(!ut.current)return;const{scrollLeft:lt,scrollWidth:ht,clientWidth:pt}=ut.current,vt=ht-pt;vt>0&&(tt(lt/vt),nt(lt>10),it(lt<vt-10))};reactExports.useEffect(()=>{const lt=ut.current;if(lt)return lt.addEventListener("scroll",et),et(),()=>lt.removeEventListener("scroll",et)},[]);const $=lt=>{b(lt)},st=lt=>{lt.target.closest("[data-legend-item]")||b(null)},ot=Math.max(...e.flatMap(lt=>s.map(ht=>Number(lt[ht.key])||0)));return jsxRuntimeExports.jsxs("div",{className:`bg-white border border-[#E2E2E2] rounded-[16px] p-4 sm:p-6 lg:p-8 w-full max-w-full ${a}`,onClick:st,children:[jsxRuntimeExports.jsx("p",{className:"paragraph-large text-hubspot-neutral mb-3",style:{fontSize:"16px"},children:i}),jsxRuntimeExports.jsx("div",{className:"flex flex-wrap gap-x-3 sm:gap-x-4 lg:gap-x-6 gap-y-2 mb-8",children:s.map(lt=>jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2 cursor-pointer transition-opacity","data-legend-item":!0,onMouseEnter:()=>d(lt.key),onMouseLeave:()=>d(null),onClick:()=>$(lt.key),children:[jsxRuntimeExports.jsx("div",{className:"w-3 h-3 rounded-full flex-shrink-0",style:{backgroundColor:lt.color}}),jsxRuntimeExports.jsx("span",{className:"paragraph-small text-hubspot-neutral whitespace-nowrap",children:lt.label})]},lt.key))}),jsxRuntimeExports.jsx("div",{ref:o,children:jsxRuntimeExports.jsxs("div",{className:"relative",children:[_&&jsxRuntimeExports.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-12 z-10 pointer-events-none sm:hidden",style:{background:"linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%)"}}),rt&&jsxRuntimeExports.jsx("div",{className:"absolute right-0 top-0 bottom-0 w-12 z-10 pointer-events-none sm:hidden",style:{background:"linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%)"}}),jsxRuntimeExports.jsx("div",{ref:ut,className:"overflow-x-auto pb-4 pl-2 scrollbar-hide",style:{scrollbarWidth:"none"},children:jsxRuntimeExports.jsxs("div",{className:"relative min-w-[600px] sm:min-w-0",children:[jsxRuntimeExports.jsx("div",{className:"flex gap-6 sm:gap-4 lg:gap-8 border-b border-hubspot-neutral pt-6 sm:pt-6",children:e.map((lt,ht)=>jsxRuntimeExports.jsx("div",{className:"flex-1 min-w-[70px] sm:min-w-0",children:jsxRuntimeExports.jsx("div",{className:"w-full flex items-end justify-center gap-[4px] sm:gap-[7px] h-[240px] sm:h-[280px] relative",children:s.map((pt,vt)=>{const St=Number(lt[pt.key])||0,xt=St/ot*100;return jsxRuntimeExports.jsxs("div",{className:"flex-1 flex flex-col justify-end items-center h-full relative",children:[jsxRuntimeExports.jsxs(motion.div,{className:"absolute font-hubspot-sans text-[11px] sm:text-[13px] font-medium text-hubspot-neutral mb-1",initial:{opacity:0,y:10},animate:c?{opacity:_e&&_e!==pt.key?.2:1,y:0}:{opacity:0,y:10},transition:{opacity:{duration:_e===pt.key?.05:.2,ease:"easeInOut"},y:{duration:.3,delay:_e?0:ht*.08+vt*.03+.4}},style:{bottom:`calc(${xt}% + 4px)`},children:[St,"%"]}),jsxRuntimeExports.jsx(motion.div,{className:"w-full transition-opacity duration-300",style:{backgroundColor:pt.color,opacity:_e&&_e!==pt.key?.2:1},initial:{height:0},animate:c?{height:`${xt}%`}:{height:0},transition:{duration:.5,delay:ht*.08+vt*.03,ease:[.25,.1,.25,1]}})]},pt.key)})})},ht))}),jsxRuntimeExports.jsx("div",{className:"flex gap-6 sm:gap-4 lg:gap-8 mt-4",children:e.map((lt,ht)=>jsxRuntimeExports.jsx("div",{className:"flex-1 min-w-[70px] sm:min-w-0 text-center px-1",children:jsxRuntimeExports.jsx("p",{className:"font-hubspot-sans text-[12px] sm:text-[13px] lg:text-[14px] leading-[18px] text-hubspot-neutral",children:lt.label})},ht))})]})}),jsxRuntimeExports.jsx("div",{className:"sm:hidden mt-4 px-2",children:jsxRuntimeExports.jsx("div",{className:"relative h-[4px] bg-[#E5E5E5] rounded-full",children:jsxRuntimeExports.jsx(motion.div,{className:"absolute top-0 h-full bg-hubspot-neutral rounded-full",style:{width:"25%",left:`${j*75}%`},initial:{opacity:0}
58,animate:{opacity:1},transition:{duration:.3}})})})]})}),jsxRuntimeExports.jsxs("div",{className:"mt-8 sm:pt-4 flex items-center justify-between gap-4 flex-wrap sm:flex-nowrap",children:[jsxRuntimeExports.jsx("p",{className:"source-citation text-gray-500",children:"Source: HubSpot 2026 State of Marketing Report"}),jsxRuntimeExports.jsx("div",{className:"relative w-[70px] sm:w-[80px] h-[20px] sm:h-[23px] flex-shrink-0",children:jsxRuntimeExports.jsx("img",{src:"/images/hubspot-logo.svg",alt:"HubSpot",className:"object-contain w-full h-full"})})]})]})}function NumberCard({item:e,index:i,mobilePaddingTop:s="pt-[1.5rem]"}){const[a,o]=reactExports.useState(0),[c,h]=useInView({threshold:.3,triggerOnce:!0}),d=reactExports.useRef(!1);return reactExports.useEffect(()=>{if(h&&!d.current){d.current=!0;const g=2e3,b=60,j=e.percentage/b;let tt=0;const _=setInterval(()=>{tt+=j,tt>=e.percentage?(o(e.percentage),clearInterval(_)):o(Math.floor(tt))},g/b);return()=>clearInterval(_)}},[h,e.percentage]),jsxRuntimeExports.jsxs(motion.div,{ref:c,initial:{opacity:0,y:20},animate:h?{opacity:1,y:0}:{},transition:{duration:.6,delay:i*.1},className:`bg-white rounded-lg p-[20px] ${s} md:pt-[20px] border border-[#E2E2E2]`,children:[e.title&&jsxRuntimeExports.jsx("p",{className:"text-[12px] leading-[18px] font-hubspot-sans font-medium text-hubspot-neutral mb-0 md:mb-6 h-[36px]",children:e.title}),jsxRuntimeExports.jsxs("p",{className:`heading-1 text-[#FF4800] leading-[3.5rem] md:leading-[60px] mb-4 ${e.title?"md:mb-4":"md:mb-3"}`,children:[a,"%"]}),jsxRuntimeExports.jsx("p",{className:"paragraph-small text-hubspot-neutral",children:e.description})]})}function KeyNumberGrid({data:e,title:i,className:s="",mobilePaddingTop:a}){return jsxRuntimeExports.jsxs("div",{className:`${s}`,children:[i&&jsxRuntimeExports.jsx("h3",{className:"heading-6 text-hubspot-neutral mb-6",children:i}),jsxRuntimeExports.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:e.map((o,c)=>jsxRuntimeExports.jsx(NumberCard,{item:o,index:c,mobilePaddingTop:a},c))})]})}const data$1={2025:{goals:[{number:"01",text:"Increasing revenue/sales"},{number:"02",text:"Driving traffic to your website"},{number:"03",text:"Increasing engagement"},{number:"04",text:"Improving the customer experience"},{number:"05",text:"Closing more deals"}],challenges:[{number:"01",text:"Generating traffic"},{number:"02",text:"Generating leads"},{number:"03",text:"Hiring top talent"},{number:"04",text:"Driving purchases"},{number:"05",text:"Securing the budget you need"}]},2026:{goals:[{number:"01",text:"Increasing brand awareness/reaching new audiences"},{number:"02",text:"Increasing revenue/sales"},{number:"03",text:"Increasing customer conversion rate"},{number:"04",text:"Building customer connection and deepening existing customer relationships"},{number:"05",text:"Closing more deals"}],challenges:[{number:"01",text:"Measuring the ROI of your marketing activities"},{number:"02",text:"Keeping up with the latest trends and new platforms/features"},{number:"03",text:"Generating leads"},{number:"04",text:"Sales-marketing alignment"},{number:"05",text:"Securing the budget you need"}]}};function ListColumn({title:e,items:i,delay:s=0}){const[a,o]=useInView({threshold:.1,triggerOnce:!0});return jsxRuntimeExports.jsxs(motion.div,{ref:a,initial:{opacity:0,y:20},animate:o?{opacity:1,y:0}:{},transition:{duration:.6,delay:s},className:"flex-1",children:[jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[jsxRuntimeExports.jsx("div",{className:"w-7 h-7 bg-hubspot-orange rounded-full flex items-center justify-center flex-shrink-0",children:e==="Marketing challenges"?jsxRuntimeExports.jsx("svg",{width:"21",height:"21",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntimeExports.jsx("path",{d:"M8 4V8M8 12H8.008",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}):jsxRuntimeExports.jsx("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntimeExports.jsx("path",{d:"M16.6667 5L7.5 14.1667L3.33334 10",stroke:"white",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),jsxRuntimeExports.jsx("p",{className:"heading-6 leading-[22px] text-hubspot-neutral",children:e})]}),jsxRuntimeExports.jsx("ul",{className:"space-y-4",children:i.map((c,h)=>jsxRuntimeExports.jsxs("li",{className:"flex gap-4",children:[jsxRuntimeExports.jsx("span",{className:"heading-6 leading-[22px] text-hubspot-neutral flex-shrink-0",children:c.number}),jsxRuntimeExports.jsx("span",{className:"paragraph-medium text-hubspot-neutral",children:c.text})]},h))})]})}function MarketingTabs({className:e=""}){const[i,s]=reactExports.useState("2025"),[a,o]=useInView({threshold:.1,triggerOnce:!0});return jsxRuntimeExports.jsxs("div",{ref:a,className:e,children:[jsxRuntimeExports.jsx(motion.h3,{initial:{opacity:0,y:20},animate:o?{opacity:1,y:0}:{},transition:{duration:.6},className:"heading-5 text-hubspot-neutral mb-6",children:"What's new in 2026"}),jsxRuntimeExports.jsxs(motion.div,{initial:{opacity:0,y:20},animate:o?{opacity:1,y:0}:{},transition:{duration:.6,delay:.1}
58,className:"flex gap-4 mb-8 border-b border-[#E5E5E5]",children:[jsxRuntimeExports.jsxs("button",{onClick:()=>s("2025"),className:`text-[14px] leading-[20px] md:text-[16px] md:leading-[22px] font-hubspot-sans font-medium pb-3 relative transition-colors ${i==="2025"?"text-hubspot-neutral":"text-[#8C8C8C]"}`,children:["2025",i==="2025"&&jsxRuntimeExports.jsx(motion.div,{layoutId:"activeTab",className:"absolute bottom-0 left-0 right-0 h-[3px] bg-hubspot-neutral",transition:{type:"spring",stiffness:380,damping:30}})]}),jsxRuntimeExports.jsxs("button",{onClick:()=>s("2026"),className:`text-[14px] leading-[20px] md:text-[16px] md:leading-[22px] font-hubspot-sans font-medium pb-3 relative transition-colors ${i==="2026"?"text-hubspot-neutral":"text-[#8C8C8C]"}`,children:["2026",i==="2026"&&jsxRuntimeExports.jsx(motion.div,{layoutId:"activeTab",className:"absolute bottom-0 left-0 right-0 h-[3px] bg-hubspot-neutral",transition:{type:"spring",stiffness:380,damping:30}})]})]}),jsxRuntimeExports.jsxs(motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.4},className:"flex flex-col md:flex-row gap-12 md:gap-16",children:[jsxRuntimeExports.jsx(ListColumn,{title:"Marketing goals",items:data$1[i].goals,delay:.1}),jsxRuntimeExports.jsx(ListColumn,{title:"Marketing challenges",items:data$1[i].challenges,delay:.2})]},i)]})}const data={overall:[{percentage:25,description:"use 3-4 channels"},{percentage:52,description:"use 5-8 channels"},{percentage:17,description:"use 8+ channels"}],smallBusiness:[{percentage:28,description:"use 3-4 channels"},{percentage:47,description:"use 5-8 channels"},{percentage:16,description:"use 8+ channels"}],midMarket:[{percentage:24,description:"use 3-4 channels"},{percentage:55,description:"use 5-8 channels"},{percentage:15,description:"use 8+ channels"}],enterprise:[{percentage:24,description:"use 3-4 channels"},{percentage:50,description:"use 5-8 channels"},{percentage:21,description:"use 8+ channels"}]};function OmnichannelTabs({className:e=""}){const[i,s]=reactExports.useState("overall"),[a,o]=useInView({threshold:.1,triggerOnce:!0}),c=[{key:"overall",label:"Overall"},{key:"smallBusiness",label:"Small Business"},{key:"midMarket",label:"Mid-Market"},{key:"enterprise",label:"Enterprise"}];return jsxRuntimeExports.jsxs("div",{ref:a,className:e,children:[jsxRuntimeExports.jsx(motion.h3,{initial:{opacity:0,y:20},animate:o?{opacity:1,y:0}:{},transition:{duration:.6},className:"heading-4 text-hubspot-neutral mb-4",children:"Omnichannel marketing"}),jsxRuntimeExports.jsx(motion.p,{initial:{opacity:0,y:20},animate:o?{opacity:1,y:0}:{},transition:{duration:.6,delay:.1},className:"paragraph-medium text-hubspot-neutral mb-6",children:"Today's marketing landscape requires a presence across multiple channels and platforms â only 6% of marketers rely on just one or two."}),jsxRuntimeExports.jsx(motion.p,{initial:{opacity:0,y:20},animate:o?{opacity:1,y:0}:{},transition:{duration:.6,delay:.2},className:"heading-6 leading-[22px] text-hubspot-neutral mb-6",children:"How many channels marketing teams are using"}),jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,y:20},animate:o?{opacity:1,y:0}:{},transition:{duration:.6,delay:.3},className:"flex gap-4 mb-8 border-b border-[#E5E5E5]",children:c.map(h=>jsxRuntimeExports.jsxs("button",{onClick:()=>s(h.key),className:`text-[14px] leading-[20px] md:text-[16px] md:leading-[22px] font-hubspot-sans font-medium pb-3 relative transition-colors ${i===h.key?"text-hubspot-neutral":"text-[#8C8C8C]"}`,children:[h.label,i===h.key&&jsxRuntimeExports.jsx(motion.div,{layoutId:"omnichannelTab",className:"absolute bottom-0 left-0 right-0 h-[3px] bg-hubspot-neutral",transition:{type:"spring",stiffness:380,damping:30}})]},h.key))}),jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.4},className:"grid grid-cols-3 gap-8",children:data[i].map((h,d)=>jsxRuntimeExports.jsxs(motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:d*.1},className:"flex flex-col",children:[jsxRuntimeExports.jsxs("p",{className:"heading-1 text-[#FF4800] mb-2",children:[h.percentage,"%"]}),jsxRuntimeExports.jsx("p",{className:"paragraph-medium text-hubspot-neutral",style:{lineHeight:"24px"},children:h.description})]},d))},i)]})}function TabComparisons({title:e,titleClassName:i="heading-4",subt
58itle:s,intro:a,tabs:o,className:c=""}){var nt;const[h,d]=reactExports.useState(((nt=o[0])==null?void 0:nt.key)||""),[g,b]=useInView({threshold:.1,triggerOnce:!0}),j=o.find(rt=>rt.key===h),tt=(j==null?void 0:j.stats.length)||1,_=()=>tt===1?"grid-cols-1":tt===2?"grid-cols-2":tt===3?"grid-cols-3":tt===4?"grid-cols-2 md:grid-cols-4":"grid-cols-2 md:grid-cols-3";return jsxRuntimeExports.jsxs("div",{ref:g,className:c,children:[jsxRuntimeExports.jsx(motion.p,{initial:{opacity:0,y:20},animate:b?{opacity:1,y:0}:{},transition:{duration:.6},className:`${i} text-hubspot-neutral mb-4`,style:{fontSize:"16px"},children:e}),a&&jsxRuntimeExports.jsx(motion.p,{initial:{opacity:0,y:20},animate:b?{opacity:1,y:0}:{},transition:{duration:.6,delay:.1},className:"paragraph-medium text-hubspot-neutral mb-6",children:a}),s&&jsxRuntimeExports.jsx(motion.h4,{initial:{opacity:0,y:20},animate:b?{opacity:1,y:0}:{},transition:{duration:.6,delay:a?.2:.1},className:"heading-6 leading-[22px] text-hubspot-neutral mb-6",children:s}),jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,y:20},animate:b?{opacity:1,y:0}:{},transition:{duration:.6,delay:a&&s?.3:a||s?.2:.1},className:"flex gap-4 mb-8 border-b border-[#E5E5E5]",children:o.map(rt=>jsxRuntimeExports.jsxs("button",{onClick:()=>d(rt.key),className:`text-[14px] leading-[20px] md:text-[16px] md:leading-[22px] font-hubspot-sans font-medium pb-3 relative transition-colors ${h===rt.key?"text-hubspot-neutral":"text-[#8C8C8C]"}`,children:[rt.label,h===rt.key&&jsxRuntimeExports.jsx(motion.div,{layoutId:`tabComparisons-${e.replace(/\s+/g,"-")}`,className:"absolute bottom-0 left-0 right-0 h-[3px] bg-hubspot-neutral",transition:{type:"spring",stiffness:380,damping:30}})]},rt.key))}),jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.4},className:`grid ${_()} gap-8`,children:j==null?void 0:j.stats.map((rt,it)=>jsxRuntimeExports.jsxs(motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:it*.1},className:"flex flex-col",children:[jsxRuntimeExports.jsxs("p",{className:"heading-1 text-[#FF4800] mb-2",children:[rt.percentage,"%"]}),jsxRuntimeExports.jsx("p",{className:"paragraph-medium text-hubspot-neutral",style:{lineHeight:"24px"},children:rt.description})]},it))},h)]})}function TabRankedBar({title:e,titleClassName:i="paragraph-large",tabs:s,labelPosition:a="inBar",barWidthMultiplier:o=2,className:c=""}){var _;const[h,d]=reactExports.useState(((_=s[0])==null?void 0:_.key)||""),[g,b]=useInView({threshold:.1,triggerOnce:!0}),j=s.find(nt=>nt.key===h),tt=(j==null?void 0:j.items.reduce((nt,rt)=>Math.max(nt,rt.percentage),0))||100;return jsxRuntimeExports.jsxs("div",{ref:g,className:`bg-white border border-[#E2E2E2] rounded-[16px] p-4 sm:p-6 lg:p-8 w-full max-w-full overflow-hidden ${c}`,children:[jsxRuntimeExports.jsx("p",{className:`${i} text-hubspot-neutral mb-6`,style:{fontSize:"16px"},children:e}),jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,y:20},animate:b?{opacity:1,y:0}:{},transition:{duration:.6,delay:.1},className:"flex gap-4 mb-8 border-b border-[#E5E5E5]",children:s.map(nt=>jsxRuntimeExports.jsxs("button",{onClick:()=>d(nt.key),className:`text-[14px] leading-[20px] md:text-[16px] md:leading-[22px] font-hubspot-sans font-medium pb-3 relative transition-colors ${h===nt.key?"text-hubspot-neutral":"text-[#8C8C8C]"}`,children:[nt.label,h===nt.key&&jsxRuntimeExports.jsx(motion.div,{layoutId:`tabRankedBar-${e.replace(/\s+/g,"-")}`,className:"absolute bottom-0 left-0 right-0 h-[3px] bg-hubspot-neutral",transition:{type:"spring",stiffness:380,damping:30}})]},nt.key))}),jsxRuntimeExports.jsx("div",{className:"space-y-4",children:j==null?void 0:j.items.map((nt,rt)=>jsxRuntimeExports.jsxs("div",{className:"relative",children:[a==="above"&&jsxRuntimeExports.jsx(motion.p,{className:"paragraph-small text-[#141414] mb-[10px]",initial:{opacity:0}
58,animate:{opacity:1},transition:{duration:.15,delay:rt*.05+.1},children:nt.label},`label-above-${h}-${rt}`),jsxRuntimeExports.jsxs("div",{className:"flex items-center",children:[jsxRuntimeExports.jsxs("div",{className:`flex-1 flex items-center gap-4 ${a==="above"?"pl-4":"pl-6"}`,children:[jsxRuntimeExports.jsx(motion.div,{className:`bg-hubspot-orange flex items-center pr-4 overflow-hidden relative ${a==="above"?"h-8":"h-12"}`,initial:{width:0},animate:{width:`${nt.percentage/tt*85}%`},transition:{duration:.5,delay:rt*.05,ease:[.25,.1,.25,1]},children:a==="inBar"&&jsxRuntimeExports.jsx(motion.span,{className:"paragraph-medium text-white whitespace-nowrap pl-[30px]",initial:{opacity:0},animate:{opacity:1},transition:{duration:.15,delay:rt*.05+.3},children:nt.label},`label-${h}-${rt}`)},`bar-${h}-${rt}`),jsxRuntimeExports.jsxs(motion.span,{className:"paragraph-medium text-hubspot-neutral",initial:{opacity:0},animate:{opacity:1},transition:{duration:.15,delay:rt*.05+.3},children:[nt.percentage,"%"]},`percent-${h}-${rt}`)]}),jsxRuntimeExports.jsx("div",{className:`absolute left-0 rounded-full bg-white border border-hubspot-orange flex items-center justify-center z-10 ${a==="above"?"w-8 h-8":"w-12 h-12"}`,children:jsxRuntimeExports.jsx("span",{className:`text-hubspot-orange ${a==="above"?"text-sm font-medium":"heading-6"}`,children:nt.rank})})]})]},`${h}-${rt}`))}),jsxRuntimeExports.jsxs("div",{className:"mt-8 sm:pt-4 flex items-center justify-between gap-4 flex-wrap sm:flex-nowrap",children:[jsxRuntimeExports.jsx("p",{className:"source-citation text-gray-500",children:"Source: HubSpot 2026 State of Marketing Report"}),jsxRuntimeExports.jsx("div",{className:"relative w-[70px] sm:w-[80px] h-[20px] sm:h-[23px] flex-shrink-0",children:jsxRuntimeExports.jsx("img",{src:"/images/hubspot-logo.svg",alt:"HubSpot",className:"object-contain w-full h-full"})})]})]})}function TabBar({title:e,titleClassName:i="paragraph-large",tabs:s,className:a=""}){var tt;const[o,c]=reactExports.useState(((tt=s[0])==null?void 0:tt.key)||""),[h,d]=useInView({threshold:.1,triggerOnce:!0}),g=s.find(_=>_.key===o),b=g!=null&&g.items?[...g.items].sort((_,nt)=>nt.percentage-_.percentage):[],j=b.length>0?Math.max(...b.map(_=>_.percentage)):100;return jsxRuntimeExports.jsxs("div",{ref:h,className:`bg-white border border-[#E2E2E2] rounded-[16px] p-4 sm:p-6 lg:p-8 w-full max-w-full overflow-hidden ${a}`,children:[jsxRuntimeExports.jsx("p",{className:`${i} text-hubspot-neutral mb-6`,style:{fontSize:"16px"},children:e}),jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,y:20},animate:d?{opacity:1,y:0}:{},transition:{duration:.6,delay:.1},className:"flex gap-4 mb-8 border-b border-[#E5E5E5]",children:s.map(_=>jsxRuntimeExports.jsxs("button",{onClick:()=>c(_.key),className:`text-[14px] leading-[20px] md:text-[16px] md:leading-[22px] font-hubspot-sans font-medium pb-3 relative transition-colors ${o===_.key?"text-hubspot-neutral":"text-[#8C8C8C]"}`,children:[_.label,o===_.key&&jsxRuntimeExports.jsx(motion.div,{layoutId:`tabBar-${e.replace(/\s+/g,"-")}`,className:"absolute bottom-0 left-0 right-0 h-[3px] bg-hubspot-neutral",transition:{type:"spring",stiffness:380,damping:30}})]},_.key))}),jsxRuntimeExports.jsx("div",{className:"space-y-[6px]",children:b.map((_,nt)=>jsxRuntimeExports.jsxs("div",{className:"relative",children:[jsxRuntimeExports.jsx(motion.p,{className:"paragraph-small text-[#141414] mb-[3px]",initial:{opacity:0}
58,animate:{opacity:1},transition:{duration:.15,delay:nt*.05+.1},children:_.label},`label-above-${o}-${nt}`),jsxRuntimeExports.jsx("div",{className:"flex items-center",children:jsxRuntimeExports.jsxs("div",{className:"flex-1 flex items-center gap-4",children:[jsxRuntimeExports.jsx(motion.div,{className:"bg-hubspot-orange h-6",initial:{width:0},animate:{width:`${_.percentage/j*85}%`},transition:{duration:.5,delay:nt*.05,ease:[.25,.1,.25,1]}},`bar-${o}-${nt}`),jsxRuntimeExports.jsxs(motion.span,{className:"paragraph-medium text-hubspot-neutral",initial:{opacity:0},animate:{opacity:1},transition:{duration:.15,delay:nt*.05+.3},children:[_.percentage,"%"]},`percent-${o}-${nt}`)]})})]},`${o}-${nt}`))}),jsxRuntimeExports.jsxs("div",{className:"mt-8 sm:pt-4 flex items-center justify-between gap-4 flex-wrap sm:flex-nowrap",children:[jsxRuntimeExports.jsx("p",{className:"source-citation text-gray-500",children:"Source: HubSpot 2026 State of Marketing Report"}),jsxRuntimeExports.jsx("div",{className:"relative w-[70px] sm:w-[80px] h-[20px] sm:h-[23px] flex-shrink-0",children:jsxRuntimeExports.jsx("img",{src:"/images/hubspot-logo.svg",alt:"HubSpot",className:"object-contain w-full h-full"})})]})]})}function RankedBar({title:e,titleClassName:i="paragraph-large",data:s,labelPosition:a="inBar",className:o=""}){const[c,h]=useInView({threshold:.3,triggerOnce:!0}),d=s.reduce((g,b)=>Math.max(g,b.percentage),0)||100;return jsxRuntimeExports.jsxs("div",{className:`bg-white border border-[#E2E2E2] rounded-[16px] p-4 sm:p-6 lg:p-8 w-full max-w-full overflow-hidden ${o}`,children:[jsxRuntimeExports.jsx("p",{className:`${i} text-hubspot-neutral mb-8`,style:{fontSize:"16px"},children:e}),jsxRuntimeExports.jsx("div",{ref:c,className:"space-y-4",children:s.map((g,b)=>jsxRuntimeExports.jsxs("div",{className:"relative",children:[a==="above"&&jsxRuntimeExports.jsx(motion.p,{className:"paragraph-small text-[#141414] mb-[10px]",initial:{opacity:0}
58,animate:{opacity:h?1:0},transition:{duration:.15,delay:b*.05+.1},children:g.label}),jsxRuntimeExports.jsxs("div",{className:"flex items-center",children:[jsxRuntimeExports.jsxs("div",{className:`flex-1 flex items-center gap-4 ${a==="above"?"pl-4":"pl-6"}`,children:[jsxRuntimeExports.jsx(motion.div,{className:`bg-hubspot-orange flex items-center pr-4 overflow-hidden relative ${a==="above"?"h-8":"h-12"}`,initial:{width:0},animate:h?{width:`${g.percentage/d*85}%`}:{width:0},transition:{duration:.5,delay:b*.05,ease:[.25,.1,.25,1]},children:a==="inBar"&&jsxRuntimeExports.jsx(motion.span,{className:"paragraph-medium text-white whitespace-nowrap pl-[30px]",initial:{opacity:0},animate:{opacity:h?1:0},transition:{duration:.15,delay:b*.05+.3},children:g.label})},`bar-${b}`),jsxRuntimeExports.jsxs(motion.span,{className:"paragraph-medium text-hubspot-neutral",initial:{opacity:0},animate:{opacity:h?1:0},transition:{duration:.15,delay:b*.05+.3},children:[g.percentage,"%"]})]}),jsxRuntimeExports.jsx("div",{className:`absolute left-0 rounded-full bg-white border border-hubspot-orange flex items-center justify-center z-10 ${a==="above"?"w-8 h-8":"w-12 h-12"}`,children:jsxRuntimeExports.jsx("span",{className:`text-hubspot-orange ${a==="above"?"text-sm font-medium":"heading-6"}`,children:g.rank})})]})]},b))}),jsxRuntimeExports.jsxs("div",{className:"mt-8 sm:pt-4 flex items-center justify-between gap-4 flex-wrap sm:flex-nowrap",children:[jsxRuntimeExports.jsx("p",{className:"source-citation text-gray-500",children:"Source: HubSpot 2026 State of Marketing Report"}),jsxRuntimeExports.jsx("div",{className:"relative w-[70px] sm:w-[80px] h-[20px] sm:h-[23px] flex-shrink-0",children:jsxRuntimeExports.jsx("img",{src:"/images/hubspot-logo.svg",alt:"HubSpot",className:"object-contain w-full h-full"})})]})]})}function CircularProgress({value:e,label:i,delay:s=0}){const[a,o]=reactExports.useState(0),[c,h]=useInView({threshold:.3,triggerOnce:!0});reactExports.useEffect(()=>{if(h){const _=setTimeout(()=>{o(e)},s);return()=>clearTimeout(_)}},[h,e,s]);const d=180,g=16,b=(d-g)/2,j=2*Math.PI*b,tt=j-a/100*j;return jsxRuntimeExports.jsxs(motion.div,{ref:c,initial:{opacity:0,y:20},animate:h?{opacity:1,y:0}:{},transition:{duration:.6,delay:s},className:"flex flex-col items-center",children:[jsxRuntimeExports.jsxs("div",{className:"relative",style:{width:d,height:d},children:[jsxRuntimeExports.jsxs("svg",{width:d,height:d,className:"transform -rotate-90",children:[jsxRuntimeExports.jsx("circle",{cx:d/2,cy:d/2,r:b,fill:"none",stroke:"#F5E6E0",strokeWidth:g}),jsxRuntimeExports.jsx("circle",{cx:d/2,cy:d/2,r:b,fill:"none",stroke:"#FF4800",strokeWidth:g,strokeDasharray:j,strokeDashoffset:tt,style:{transition:"stroke-dashoffset 1.5s ease-in-out"}})]}),jsxRuntimeExports.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:jsxRuntimeExports.jsxs("span",{className:"heading-2 text-hubspot-neutral",children:[Math.round(a),"%"]})})]}),jsxRuntimeExports.jsx("p",{className:"paragraph-medium text-hubspot-neutral mt-6 text-center max-w-[200px]",children:i})]})}function CircularProgressStats({stats:e,className:i="",layout:s="centered",description:a}){const[o,c]=useInView({threshold:.1,triggerOnce:!0});return s==="description-left-stats-right"&&a?jsxRuntimeExports.jsxs("div",{ref:o,className:`flex flex-col lg:flex-row gap-8 lg:gap-12 items-start ${i}`,children:[jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,y:20},animate:c?{opacity:1,y:0}:{},transition:{duration:.6},className:"flex-1 paragraph-medium text-hubspot-neutral space-y-4",children:a}),jsxRuntimeExports.jsx("div",{className:"flex flex-col sm:flex-row gap-8 sm:gap-12 justify-center items-center lg:items-start",children:e.map((h,d)=>jsxRuntimeExports.jsx(CircularProgress,{value:h.value,label:h.label,delay:d*.2},d))})]}):jsxRuntimeExports.jsx("div",{ref:o,className:`flex justify-center ${i}`,children:jsxRuntimeExports.jsx("div",{className:"flex flex-col sm:flex-row gap-8 sm:gap-12 justify-center items-center",children:e.map((h,d)=>jsxRuntimeExports.jsx(CircularProgress,{value:h.value,label:h.label,delay:d*.2},d))})})}function VideoPlayer({src:e}){const i=reactExports.useRef(null),[s,a]=reactExports.useState(!1),[o,c]=reactExports.useState(!0),[h,d]=reactExports.useState(0),g=()=>{i.current&&(s?i.current.pause():i.current.play(),a(!s))},b=()=>{i.current&&(i.current.muted=!o,c(!o))},j=()=>
58{if(i.current){const nt=i.current.currentTime/i.current.duration*100;d(nt)}},tt=()=>{a(!1),d(0)},_=nt=>{if(i.current){const rt=nt.currentTarget.getBoundingClientRect(),it=(nt.clientX-rt.left)/rt.width;i.current.currentTime=it*i.current.duration}};return jsxRuntimeExports.jsxs("div",{className:"relative w-full rounded-lg overflow-hidden border border-[#E2E2E2] bg-black",children:[jsxRuntimeExports.jsxs("video",{ref:i,className:"w-full",playsInline:!0,muted:o,preload:"metadata",style:{aspectRatio:"9/16",maxHeight:"500px",objectFit:"cover"},onTimeUpdate:j,onEnded:tt,onClick:g,children:[jsxRuntimeExports.jsx("source",{src:e,type:"video/mp4"}),"Your browser does not support the video tag."]}),!s&&jsxRuntimeExports.jsx("button",{onClick:g,className:"absolute inset-0 flex items-center justify-center bg-black/20 transition-opacity hover:bg-black/30",children:jsxRuntimeExports.jsx("div",{className:"w-16 h-16 rounded-full bg-white/90 flex items-center justify-center",children:jsxRuntimeExports.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"#1f1f1f",children:jsxRuntimeExports.jsx("path",{d:"M8 5v14l11-7z"})})})}),jsxRuntimeExports.jsxs("div",{className:"absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent p-3",children:[jsxRuntimeExports.jsx("div",{className:"w-full h-1 bg-white/30 rounded-full mb-2 cursor-pointer",onClick:_,children:jsxRuntimeExports.jsx("div",{className:"h-full bg-white rounded-full transition-all",style:{width:`${h}%`}})}),jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntimeExports.jsx("button",{onClick:g,className:"text-white hover:text-white/80 transition-colors",children:s?jsxRuntimeExports.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor",children:jsxRuntimeExports.jsx("path",{d:"M6 4h4v16H6V4zm8 0h4v16h-4V4z"})}):jsxRuntimeExports.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor",children:jsxRuntimeExports.jsx("path",{d:"M8 5v14l11-7z"})})}),jsxRuntimeExports.jsx("button",{onClick:b,className:"text-white hover:text-white/80 transition-colors",children:o?jsxRuntimeExports.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor",children:jsxRuntimeExports.jsx("path",{d:"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"})}):jsxRuntimeExports.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor",children:jsxRuntimeExports.jsx("path",{d:"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"})})})]})]})]})}function CaseStudy({title:e,description:i,videos:s=[],logo:a,logoAlt:o="Logo",caseStudyUrl:c,className:h=""}){const[d,g]=useInView({threshold:.1,triggerOnce:!0});return jsxRuntimeExports.jsxs("div",{ref:d,className:`bg-white border border-[#E2E2E2] rounded-[16px] p-4 pb-8 sm:p-6 lg:p-8 w-full max-w-full overflow-hidden ${h}`,children:[a&&jsxRuntimeExports.jsx(motion.img,{src:a,alt:o,initial:{opacity:0,y:20},animate:g?{opacity:1,y:0}:{},transition:{duration:.6},className:"h-8 mb-4"}),jsxRuntimeExports.jsx(motion.h3,{initial:{opacity:0,y:20},animate:g?{opacity:1,y:0}:{},transition:{duration:.6},className:"heading-4 text-hubspot-neutral mb-6",children:e}),jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,y:20},animate:g?{opacity:1,y:0}:{},transition:{duration:.6,delay:.1},className:"paragraph-medium text-hubspot-neutral mb-8",children:i}),s.length>0&&jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,y:20},animate:g?{opacity:1,y:0}:{},transition:{duration:.6,delay:.2},className:`grid gap-6 ${s.length===1?"grid-cols-1 justify-items-center max-w-md mx-auto":s.length===2?"grid-cols-1 md:grid-cols-2":"grid-cols-1 md:grid-cols-3"}`,children:s.map((b,j)=>jsxRuntimeExports.jsxs("div",{className:"flex flex-col items-center",children:[jsxRuntimeExports.jsx(VideoPlayer,{src:b.videoSrc}),jsxRuntimeExports.jsx("a",{href:b.instagramUrl,target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline paragraph-small mt-3",children:"View post"})]},j))}),c&&jsxRuntimeExports.jsx(motion.div,{initial:{opacity:0,y:20},animate:g?{opacity:1,y:0}:{},transition:{duration:.6,delay:.3},className:"mt-6",children:jsxRuntimeExports.jsx("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"text-link",children:"Read the full story"})})]})}function NumberedList({title:e,items:i,className:s=""}){return jsxRuntimeExports.jsxs("div",{className:`${s}`,children:[e&&jsxRuntimeExports.jsx("h3",{className:"heading-5 text-hubspot-neutral mb-6",children:e}),jsxRuntimeExports.jsx("div",{className:"space-y-6",children:i.map((a,o)=>jsxRuntimeExports.jsxs("div",{className:"flex items-start gap-6",children:[jsxRuntimeExports.jsx("span",{className:"heading-6 text-hubspot-orange flex-shrink-0 min-w-[10
58px]",children:String(o+1).padStart(2,"0")}),jsxRuntimeExports.jsx("p",{className:"paragraph-medium text-hubspot-neutral pt-0",children:a})]},o))})]})}function Testimonial({quote:e,name:i,title:s,imageSrc:a,linkText:o,linkUrl:c,className:h="",delay:d=0}){const[g,b]=useInView({threshold:.1,triggerOnce:!0});return jsxRuntimeExports.jsxs(motion.div,{ref:g,initial:{opacity:0,y:20},animate:b?{opacity:1,y:0}:{},transition:{duration:.6,delay:d,ease:"easeOut"},className:`relative bg-[#F8F5EE] rounded-[24px] border border-[#E5E0D5] px-6 pb-10 pt-[62px] md:px-12 md:pb-12 ${h}`,children:[jsxRuntimeExports.jsx("div",{className:"absolute top-0 left-1/2 -translate-x-1/2 -translate-y-1/2",children:jsxRuntimeExports.jsx("div",{className:"relative w-[92px] h-[92px] rounded-full overflow-hidden border-4 border-[#fcfcfa]",children:jsxRuntimeExports.jsx("img",{src:a,alt:i,className:"object-cover w-full h-full"})})}),jsxRuntimeExports.jsx("blockquote",{className:"text-center mb-8",children:jsxRuntimeExports.jsxs("p",{className:"paragraph-medium text-hubspot-neutral",children:['"',e,'"']})}),jsxRuntimeExports.jsxs("div",{className:"text-center",children:[jsxRuntimeExports.jsx("p",{className:"microheading-large text-hubspot-neutral mb-1 uppercase",children:i}),jsxRuntimeExports.jsx("p",{className:"paragraph-small text-hubspot-neutral opacity-70",children:s})]}),o&&c&&jsxRuntimeExports.jsx("div",{className:"text-center mt-6",children:jsxRuntimeExports.jsx("a",{href:c,target:"_blank",rel:"noopener noreferrer",className:"text-link",children:o})})]})}function CopyablePrompt({prompt:e,inputs:i}){const[s,a]=reactExports.useState(!1),o=async()=>{try{await navigator.clipboard.writeText(e),a(!0),setTimeout(()=>a(!1),2e3)}catch(c){console.error("Failed to copy:",c)}};return jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsxs("div",{className:"relative bg-[#F8F5EE] rounded-lg p-3 mb-3",children:[jsxRuntimeExports.jsx("button",{onClick:o,className:"absolute top-2 right-2 p-1.5 hover:bg-white/50 rounded transition-colors","aria-label":"Copy to clipboard",children:s?jsxRuntimeExports.jsx("span",{className:"text-xs text-hubspot-orange font-medium",children:"Copied!"}):jsxRuntimeExports.jsx("svg",{className:"w-4 h-4 text-hubspot-neutral",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:jsxRuntimeExports.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})})}),jsxRuntimeExports.jsx("p",{className:"paragraph-small text-hubspot-neutral pr-8",children:e})]}),jsxRuntimeExports.jsxs("p",{className:"text-xs text-hubspot-neutral opacity-70",children:[jsxRuntimeExports.jsx("span",{className:"font-medium",children:"Fill in:"})," ",i.join(", ")]})]})}const imgLoop="/images/loop.svg";function LoopTable({row1:e,row2:i,row3:s,row4:a}){const o=[{number:"01.",label:"Express who you are",content:e},{number:"02.",label:"Tailor your approach",content:i},{number:"03.",label:"Amplify your reach",content:s},{number:"04.",label:"Evolve in real-time",content:a}],c=h=>h.type==="prompt"?jsxRuntimeExports.jsx(CopyablePrompt,{prompt:h.prompt,inputs:h.inputs}):jsxRuntimeExports.jsx("p",{className:"paragraph-small text-hubspot-neutral",children:h.content});return jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsxs("div",{className:"relative border border-hubspot-magenta bg-hubspot-magenta rounded-t-[24px] pt-8 pb-20 px-6 md:px-32 mb-[-24px] flex flex-col items-center justify-center overflow-hidden",children:[jsxRuntimeExports.jsx("div",{className:"absolute -top-16 -left-16 w-[200px] h-[250px] rounded-full opacity-50 blur-[120px] pointer-events-none",style:{backgroundColor:"#cca2d3"}}),jsxRuntimeExports.jsx("div",{className:"absolute -bottom-16 -right-16 w-[200px] h-[250px] rounded-full opacity-50 blur-[120px] pointer-events-none",style:{backgroundColor:"#ff4800"}}),jsxRuntimeExports.jsx("img",{src:imgLoop,alt:"Loop",className:"h-[22px] mb-4 relative z-10"}),jsxRuntimeExports.jsx("p",{className:"heading-2 text-hubspot-orange font-light relative z-10",children:"Get in the loop"}),jsxRuntimeExports.jsx("p",{className:"paragraph-medium text-white text-center mt-4 relative z-10",children:"Here's how to apply these insights to your marketing strategy using the Loop Marketing framework."})]}),jsxRuntimeExports.jsx("div",{className:"border border-[#e2e2e2] rounded-[24px] overflow-hidden relative z-10 bg-white",children:o.map((h,d)=>jsxRuntimeExports.jsxs("div",{className:`grid grid-cols-3 ${d<o.length-1?"border-b border-[#e2e2e2]":""}`,children:[jsxRuntimeExports.jsxs("div",{className:"p-4 border-r border-[#e2e2e2] bg-[#F8F5EE]",children:[jsxRuntimeExports.jsx("p",{className:"heading-2 text-hubspot-orange mb-2",children:h.number}),jsxRuntimeExports.jsx("p",{className:"microheading-large text-hubspot-neutral",children:h.label})]}),jsxRuntimeExports.jsxs("div",{className:"col-span-2 flex flex-col",children:[jsxRuntimeExports.jsx("div",{className:"px-4 py-2",children:jsxRuntimeExports.jsx("p",{className:"microheading-large text-hubspot-magenta",children:"Strategy"})}),jsxRuntimeExports.jsx("div",{className:"px-4 pb-4",children:jsxRuntimeExports.jsx("p",{className:"paragraph-small text-hubspot-neutral",children:h.content.strategyContent})}),jsxRuntimeExports.jsx("div",{className:"mx-4 border-b border-dotted border-[#e2e2e2]"}),jsxRuntimeExports.jsx("div",{className:"px-4 py-2",children:jsxRuntimeExports.jsx("p",{className:"microheading-large text-hubspot-magenta",children:"AI prompts/agents"})}),jsxRuntimeExports.jsx("div",{className:"px-4 pb-4",children:c(h.content.aiContent)})]})]},h.number))})]})}function ContentBlock({children:e,className:i="",delay:s=0}){const[a,o]=useInView({threshold:.05,triggerOnce:!0});return jsxRuntimeExports.jsx(motion.div,{ref:a,initial:{opacity:0,y:10}
58,animate:{opacity:o?1:0,y:o?0:10},transition:{duration:.15,delay:s*.5,ease:"easeOut"},className:i,children:e})}const imgKippHeadshot="/images/kipp-headshot.png",imgKippTestimonial="/images/kipp-testimonial.png",imgKieranHeadshot="/images/KieranFlanagan-headshot.png";function App(){return jsxRuntimeExports.jsxs("main",{className:"min-h-screen bg-[#fcfcfa]",children:[jsxRuntimeExports.jsx(ProgressBar,{}),jsxRuntimeExports.jsx(Header,{}),jsxRuntimeExports.jsx(MobileMenu,{}),jsxRuntimeExports.jsxs("div",{className:"pt-[74px]",children:[jsxRuntimeExports.jsx(Hero,{}),jsxRuntimeExports.jsx("div",{className:"relative",id:"main-content",children:jsxRuntimeExports.jsx("div",{className:"w-full max-w-[1080px] mx-auto px-4 py-8",children:jsxRuntimeExports.jsxs("div",{className:"flex gap-12",children:[jsxRuntimeExports.jsx("aside",{className:"hidden lg:block w-[280px] flex-shrink-0",children:jsxRuntimeExports.jsx(TableOfContents,{})}),jsxRuntimeExports.jsxs("div",{className:"flex-1 min-w-0 relative",children:[jsxRuntimeExports.jsxs(Section,{id:"foreword",className:"mb-20 lg:max-w-[764px]",children:[jsxRuntimeExports.jsx("div",{id:"foreword-trigger"}),jsxRuntimeExports.jsx(Tagline,{className:"mb-6",children:"Foreword"}),jsxRuntimeExports.jsx("h2",{className:"heading-2 text-hubspot-neutral mb-6",children:"When AI is everywhere, brands in the loop will rise to the top"}),jsxRuntimeExports.jsx(ContentBlock,{children:jsxRuntimeExports.jsx("p",{className:"paragraph-large text-hubspot-neutral mb-6",children:"AI isn't a zero-sum competition between humans and the machine â it's a positive-sum collaboration"})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.2,children:jsxRuntimeExports.jsxs("div",{className:"paragraph-medium space-y-4 text-hubspot-neutral",children:[jsxRuntimeExports.jsx("p",{children:"AI immediately changed how companies did marketing. With time, it even began to transform how and where buyers make decisions, disrupting decades-old best practices."}),jsxRuntimeExports.jsx("p",{children:`Instead of relying only on Google, buyers now explore social media feeds, creator networks, communities, review sites, and AI answers before making a purchase. Companies tried to keep up and leaned into AI to produce content for all of these channels. But their copy sounded bland and boring, as marketers haphazardly adopted AI without protecting their distinct voice. Suddenly, brands flooded the internet with generic "we're made for everyone" messages â but buyers want brands that feel like they were made just for them.`}),jsxRuntimeExports.jsx("p",{className:"font-medium",children:"While everyone has access to powerful AI tools, the companies that will be most successful are the ones that have:"}),jsxRuntimeExports.jsxs("ul",{className:"list-disc ml-6 space-y-2",children:[jsxRuntimeExports.jsx("li",{children:"A strong brand and point of view"}),jsxRuntimeExports.jsx("li",{children:"A unified data foundation"}),jsxRuntimeExports.jsx("li",{children:"Good taste"})]}),jsxRuntimeExports.jsxs("p",{children:["We surveyed over 1,500 marketers to understand their priorities, goals, and challenges in the age of AI. 61% agree that your taste and brand POV are more important than ever when"," ",jsxRuntimeExports.jsx("a",{href:"https://www.hubspot.com/loop-marketing",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange underline hover:text-hubspot-magenta transition-colors",children:"humans and AI work together"}),". 58% say that while search traffic is down, AI referral traffic has much higher intent â so visitors who do arrive on your site are much further along in their buying journeys than they used to be. And to convert high-intent visitors once they arrive, 60% say that you need seamless purchasing experiences fueled with tools like chatbots."]}),jsxRuntimeExports.jsx("p",{children:"In this report, we'll of course break down the data. But we'll also teach you how you can take action. Plus, you'll find AI prompts and a customizable plan you can tailor to your brand."}),jsxRuntimeExports.jsx("p",{className:"font-medium",children:"Happy marketing!"})]})}),jsxRuntimeExports.jsxs(ContentBlock,{delay:.4,className:"mt-8 flex items-center gap-4",children:[jsxRuntimeExports.jsx("div",{className:"relative w-[115px] h-[77px]",children:jsxRuntimeExports.jsx("img",{src:imgKippHeadshot,alt:"Kipp Bodnar",className:"object-contain w-full h-full"})}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("p",{className:"microheading-large text-hubspot-neutral",children:"Kipp Bodnar"}),jsxRuntimeExports.jsx("p",{className:"paragraph-small text-gray-600",children:"CMO, HubSpot"})]})]})]}),jsxRuntimeExports.jsxs("div",{className:"relative mb-12 pt-12 pb-20 md:py-20",children:[jsxRuntimeExports.jsx("div",{className:"lg:hidden absolute top-0 bottom-0 bg-[#F8F5EE] z-0 pointer-events-none",style:{left:"50%",transform:"translateX(-50%)",width:"100vw"}}),jsxRuntimeExports.jsx("div",{className:"hidden lg:block absolute top-0 bottom-0 bg-[#F8F5EE] z-0 pointer-events-none",style:{left:"calc(-1 * (280px + 3rem + 1rem + max(0px, (100vw - 1080px) / 2)))",width:"100vw"}}),jsxRuntimeExports.jsxs(Section,{id:"introduction",className:"relative z-10 lg:max-w-[764px]",children:[jsxRuntimeExports.jsx("div",{id:"introduction-trigger"}),jsxRuntimeExports.jsx(Tagline,{className:"mb-6",children:"Introduction + Key Findings"}),jsxRuntimeExports.jsx("h2",{className:"heading-2 text-hubspot-neutral mb-6",children:"AI has disrupted marketing to be more human"}),jsxRuntimeExports.jsx(ContentBlock,{children:jsxRuntimeExports.jsx("p",{className:"paragraph-large text-hubspot-neutral mb-6",children:"As AI gets smarter, it allows marketers to be more human"})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.2,children:jsxRuntimeExports.jsxs("div",{className:"paragraph-medium space-y-4 text-hubspot-neutral",children:[jsxRuntimeExports.jsx("p",{children:"61% of marketers believe that marketing is experiencing its biggest disruption in 20 years due to AI, which fundamentally changed how businesses engage with customers."}),jsxRuntimeExports.jsx("p",{children:"67% of marketing teams say AI saves them 10 or more hours per week, and another 68% say it's meaningfully increased their productivity, freeing up precious time for strategic thinking on how to connect with customers."}),jsxRuntimeExports.jsx("p",{children:`Whether it's increasing brand awareness or deepening customer relationships, the tactics that move the needle are still "soft" skills that AI can't do alone, like creative problem solving or building trust via emotional intelligence. And marketers agree: 63% say they need more unique, human-centered content to stand out.`}),jsxRuntimeExports.jsx("p",{children:"Understanding how your buyers feel, how to connect with them, and how to build trust with them will always be a human's job. Savvy marketers use AI to clarify and elevate their thinking, not replace it."})]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.3,className:"mt-12",children:jsxRuntimeExports.jsx(KeyNumberGrid,{title:"Key findings",data:[{title:"Omnichannel marketing amplifies content",percentage:75,description:"of marketers use 5+ distinct marketing channels."},{title:"Brand drives demand",percentage:85,description:"of marketers revisit their brand identity quarterly or annually."},{title:"Personalization gets audiences to act",percentage:93,description:"of marketers report that personalization improves leads or purchases."},{title:"Optimization is a growth engine",percentage:59,description:"of marketers review performance on a daily or weekly basis."},{title:"AI is a core part of marketing workflows",percentage:80,description:"of marketers use AI for content creation, and 75% use it for media production."},{title:"As search changes, so does content strategy",percentage:41,description:"of marketers say the top trend they're exploring is updating SEO strategy for changes in search."}]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.4,className:"mt-16",children:jsxRuntimeExports.jsx(MarketingTabs,{})})]})]}),jsxRuntimeExports.jsxs(Section,{id:"strategy",className:"mb-20 lg:max-w-[764px]",children:[jsxRuntimeExports.jsx("div",{id:"strategy-trigger"}),jsxRuntimeExports.jsx(Tagline,{className:"mb-6",children:"Strategy + Brand Trends"}),jsxRuntimeExports.jsx("h2",{className:"heading-2 text-hubspot-neutral mb-6",children:"Expressing your brand's POV is a competitive advantage"}),jsxRuntimeExports.jsx(ContentBlock,{children:jsxRuntimeExports.jsx("p",{className:"paragraph-large text-hubspot-neutral mb-6",children:"Marketing results are strong, but there's room for growth"})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.2,children:jsxRuntimeExports.jsx("div",{className:"paragraph-medium space-y-4 text-hubspot-neutral",children:jsxRuntimeExports.jsx("p",{children:"Despite a difficult economic climate, the marketers we surveyed had a good year. 65% met or exceeded their goals in 2025, and 72% report that current economic conditions have positively impacted their organization."})})}),jsxRuntimeExports.jsxs(ContentBlock,{delay:.3,className:"mt-12",children:[jsxRuntimeExports.jsx("h3",{className:"heading-6 text-hubspot-neutral text-center mb-6",children:"Year-over-year lead performance on marketing teams"}),jsxRuntimeExports.jsx(CircularProgressStats,{stats:[{value:93,label:"higher-quality leads"},{value:74,label:"more leads"}]})]}),jsxRuntimeExports.jsx(ContentBlock,{delay:.4,className:"mt-12",children:jsxRuntimeExports.jsxs("div",{className:"paragraph-medium space-y-4 text-hubspot-neutral",children:[jsxRuntimeExports.jsx("p",{children:"Even with these results, 40% of teams haven't clearly defined or documented their brand's unique value proposition (UVP). That means there's still a significant opportunity to create content that resonates more strongly with audie
58nces. Sure, AI makes it easier than ever to generate content. But without a clear brand POV, content can feel bland and boring. It's no surprise that 61% of marketers agree that expressing your taste and brand POV is a necessary component of a successful AI strategy."}),jsxRuntimeExports.jsx("p",{children:"The most successful strategies combine an omnichannel presence, strong brand identity, and personalization."})]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.5,className:"mt-12",children:jsxRuntimeExports.jsx(NumberedList,{title:"Marketing trends teams are currently exploring:",items:["Using AI to create personalized content","Leveraging automation to make marketing processes more efficient","Creating content that reflects your brand's values (e.g. social responsibility)","Updating your SEO strategy in line with search algorithm changes","Repurposing content across various channels"]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.6,className:"mt-[100px]",children:jsxRuntimeExports.jsx(Testimonial,{quote:"Channels have multiplied while attention shrinks. Today's buyers trust people, communities, and AI results more than ads. Feedback loops â not one-and-one campaigns â create compounding advantages. The types of metrics people cared about a couple years ago are far less relevant today than they've ever been. AI is crucial to today's marketers, but more important than AI is good taste.",name:"KIPP BODNAR",title:"CMO, HubSpot",imageSrc:imgKippTestimonial})}),jsxRuntimeExports.jsxs(ContentBlock,{delay:.7,className:"mt-16",children:[jsxRuntimeExports.jsx("h3",{className:"heading-4 text-hubspot-neutral mb-8",children:"Marketing performance pulse check"}),jsxRuntimeExports.jsx(GroupedColumnChart,{data:[{label:"Significantly exceeded our goals",overall:22,smb:25,midMarket:22,enterprise:20},{label:"Somewhat exceeded our goals",overall:43,smb:36,midMarket:46,enterprise:45},{label:"Met our goals",overall:27,smb:30,midMarket:25,enterprise:27},{label:"Somewhat fell short of our goals",overall:7,smb:8,midMarket:7,enterprise:6},{label:"Significantly fell short of our goals",overall:1,smb:1,midMarket:1,enterprise:1}]})]}),jsxRuntimeExports.jsx(ContentBlock,{delay:.8,className:"mt-16",children:jsxRuntimeExports.jsx(OmnichannelTabs,{})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.9,className:"mt-16",children:jsxRuntimeExports.jsx(TabRankedBar,{title:"Most-leveraged marketing channels",labelPosition:"above",tabs:[{key:"overall",label:"Overall",items:[{rank:1,label:"Website/blog/SEO",percentage:45},{rank:2,label:"Organic social media content",percentage:40},{rank:3,label:"Email marketing",percentage:40},{rank:4,label:"Paid social media content",percentage:39},{rank:5,label:"Brand awareness",percentage:36}]},{key:"smallBusiness",label:"Small Business",items:[{rank:1,label:"Website/blog/SEO",percentage:50},{rank:2,label:"Brand awareness",percentage:45},{rank:3,label:"Paid social media content",percentage:44},{rank:4,label:"Email marketing",percentage:43},{rank:5,label:"Organic social media content",percentage:41}]},{key:"midMarket",label:"Mid-Market",items:[{rank:1,label:"Website/blog/SEO",percentage:41},{rank:2,label:"Paid social media content",percentage:40},{rank:3,label:"Organic social media content",percentage:39},{rank:4,label:"Social media shopping tools",percentage:37},{rank:5,label:"Email marketing",percentage:37}]},{key:"enterprise",label:"Enterprise",items:[{rank:1,label:"Website/blog/SEO",percentage:47},{rank:2,label:"Organic social media content",percentage:42},{rank:3,label:"Email marketing",percentage:42},{rank:4,label:"Social media shopping tools",percentage:36},{rank:5,label:"Content marketing",percentage:36}]}]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:1,className:"mt-12",children:jsxRuntimeExports.jsxs("div",{className:"paragraph-medium space-y-4 text-hubspot-neutral",children:[jsxRuntimeExports.jsx("p",{children:"73% of marketers say their budgets are more heavily scrutinized than they used to be. Still, 93% expect their budgets to stay the same or increase in 2026. Unsurprisingly, AI chatbots (38%) top the list of channels companies plan to increase investment in, followed by video marketing (37%) and paid social media content (37%)."}),jsxRuntimeExports.jsx("p",{children:"To stay competitive, marketers are experimenting: 45% of teams allocate between 10â20% of their budget to testing new channels."}),jsxRuntimeExports.jsx("p",{children:"94% of teams diversified channels last year, and 4 in 10 said the most effective change was moving from broad platforms to niche communities, demonstrating the value of casting a smaller net to make higher-quality connections. Another 29% said expanding from digital-only to traditional media was their most effective change. At the same time, traditional channels are where most organizations plan to reduce their investment next year â 23% plan to cut their budget for physical ads, 22% for direct mail, and 21% for print advertising, showing that digital channels are only growing more effective."})]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:1.1,className:"mt-16",children:jsxRuntimeExports.jsx(RankedBar,{title:"Top marketing channels by ROI",labelPosition:"above",data:[{rank:1,label:"Website/blog/SEO (search engine optimization)",percentage:27},{rank:2,label:"Paid social media content",percentage:26},{rank:3,label:"Organic social media content",percentage:24},{rank:4,label:"Social media shopping tools (e.g. Instagram Shops)",percentage:23},{rank:5,label:"Email marketing",percentage:22}]})}),jsxRuntimeExports.jsxs(ContentBlock,{delay:1.2,className:"mt-16",children:[jsxRuntimeExports.jsx("h3",{className:"heading-4 text-hubspot-neutral mb-4",children:"Brand is becoming more of a competitive advantage"}),jsxRuntimeExports.jsxs("div",{className:"paragraph-medium space-y-4 text-hubspot-neutral",children:[jsxRuntimeExports.jsx("p",{children:"Just over half (52%) of organizations have a clear, well-defined value proposition that differentiates them from competitors."}),jsxRuntimeExports.jsx("p",{children:"Marketers turn to data to define their brand, conducting competitor analyses (57%) or customer research (49%). Validating positioning is a data-backed exercise as well, with the majority of teams running brand perception surveys (61%) or monitoring changes in engagement after a positioning update (56%). Most teams refresh their brand on a quarterly (40%) or annual (45%) basis, taking an iterative approach that's becoming the norm as organizations deal with rapidly changing market conditions."})]})]}),jsxRuntimeExports.jsx(ContentBlock,{delay:1.3,className:"mt-16",children:jsxRuntimeExports.jsx(TabBar,{title:"The branding investments that deliver the highest ROI",tabs:[{key:"overall",label:"Overall",items:[{label:"Visual identity system",percentage:11},{label:"Brand messaging framework development",percentage:20},{label:"Brand awareness campaigns",percentage:29},{label:"Customer experience alignment with brand promises",percentage:23},{label:"Internal brand culture initiatives",percentage:6},{label:"Brand partnership or sponsorship opportunities",percentage:7},{label:"We don't measure ROI on brand investments",percentage:4}]},{key:"smb",label:"Small Business",items:[{label:"Visual identity system",percentage:12},{label:"Brand messaging framework development",percentage:17},{label:"Brand awareness campaigns",percentage:27},{label:"Customer experience alignment with brand promises",percentage:21},{label:"Internal brand culture initiatives",percentage:6},{label:"Brand partnership or sponsorship opportunities",percentage:9},{label:"We don't measure ROI on brand investments",percentage:8}]},{key:"midMarket",label:"Mid-Market",items:[{label:"Visual identity system",percentage:11},{label:"Brand messaging framework development",percentage:22},{label:"Brand awareness campaigns",percentage:31},{label:"Customer experience alignment with brand promises",percentage:22},{label:"Internal brand culture initiatives",percentage:6},{label:"Brand partnership or sponsorship opportunities",percentage:6},{label:"We don't measure ROI on brand investments",percentage:3}]},{key:"enterprise",label:"Enterprise",items:[{label:"Visual identity system",percentage:12},{label:"Brand messaging framework development",percentage:21},{label:"Brand awareness campaigns",percentage:26},{label:"Customer experience alignment with brand promises",percentage:26},{label:"Internal brand culture initiatives",percentage:7},{label:"Brand partnership or sponsorship opportunities",percentage:6},{label:"We don't measure ROI on brand investments",percentage:2}]}]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:1.4,className:"mt-[100px]",children:jsxRuntimeExports.jsx(Testimonial,{quote:"AI is not a critical 'marketing skill.' Positioning is a critical skill. Storytelling is a critical skill. Customer insights, creating something of value that prospects want, understanding how to educate buyers with the right content at the right time, creating a community among your audience, are critical skills. AI helps marketers with all of the above. But it will never replace marketers.",name:"KIERAN FLANAGAN",title:"SVP of Marketing, AI & GTM, HubSpot",imageSrc:imgKieranHeadshot})}),jsxRuntimeExports.jsx(ContentBlock,{delay:1.5,className:"mt-16",children:jsxRuntimeExports.jsx(LoopTable,{row1:{strategyContent:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("a",{href:"https://blog.hubspot.com/agency/develop-brand-identity",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"Define your brand POV"})," and taste as a competitive differentiator â 61% agree it's essential for effective AI collaboration."]}),aiContent:{type:"prompt",prompt:"Define my company's brand POV: The unique beliefs and strategic perspective that set it apart from competitors. Provide a structured framework that is ready for adaptation across any platform or channel.",input
58s:["Company name and URL","target audience description","primary competitor URLs","and industry/category"]}},row2:{strategyContent:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Use ",jsxRuntimeExports.jsx("a",{href:"https://blog.hubspot.com/service/customer-behavior-analysis",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"behavioral data"})," and CRM data to identify which of your channels and ",jsxRuntimeExports.jsx("a",{href:"https://blog.hubspot.com/marketing/brand-tracking-ai",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"brand touchpoints"})," resonate most with specific audience segments and customer types."]}),aiContent:{type:"text",content:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Use ",jsxRuntimeExports.jsx("a",{href:"https://app.hubspot.com/marketplace/23338865/listing/icp-assistant",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"Breeze ICP Assistant"}),", which adopts the perspective of your ideal customer, to provide feedback on personalized content strategies."]})}},row3:{strategyContent:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Strategically ",jsxRuntimeExports.jsx("a",{href:"https://blog.hubspot.com/blog/tabid/6307/bid/27256/5-creative-ways-to-recycle-content.aspx",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"repurpose content"})," across 5â8 active channels to maximize brand consistency."]}),aiContent:{type:"prompt",prompt:"Analyze this content at the provided URL and give clear direction on how to adapt it to [platforms] while preserving brand voice.",inputs:["Content URL","brand messaging guidelines","goal of content"]}},row4:{strategyContent:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Track ",jsxRuntimeExports.jsx("a",{href:"https://blog.hubspot.com/marketing/brand-awareness",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"brand awareness"})," campaigns and optimize messaging based on performance."]}),aiContent:{type:"prompt",prompt:"Analyze this campaign data and provide insights to guide creative refinement, message optimization, and cross-platform strategy, while maintaining consistency with brand positioning. Include platform-specific recommendations.",inputs:["Campaign name and objective","platforms used","campaign duration","target audience description","brand messaging framework","key performance metrics by platform (URL or file upload)"]}}})})]}),jsxRuntimeExports.jsxs("div",{className:"relative mb-12 pt-12 pb-20 md:py-20",children:[jsxRuntimeExports.jsx("div",{className:"lg:hidden absolute top-0 bottom-0 bg-[#F8F5EE] z-0 pointer-events-none",style:{left:"50%",transform:"translateX(-50%)",width:"100vw"}}),jsxRuntimeExports.jsx("div",{className:"hidden lg:block absolute top-0 bottom-0 bg-[#F8F5EE] z-0 pointer-events-none",style:{left:"calc(-1 * (280px + 3rem + 1rem + max(0px, (100vw - 1080px) / 2)))",width:"100vw"}}),jsxRuntimeExports.jsxs(Section,{id:"content",className:"relative z-10 lg:max-w-[764px]",children:[jsxRuntimeExports.jsx("div",{id:"content-trigger"}),jsxRuntimeExports.jsx(Tagline,{className:"mb-6",children:"Content Trends"}),jsxRuntimeExports.jsx("h2",{className:"heading-2 text-hubspot-neutral mb-6",children:"Content by humans, for humans converts"}),jsxRuntimeExports.jsx(ContentBlock,{children:jsxRuntimeExports.jsx("p",{className:"paragraph-large text-hubspot-neutral mb-6",children:"Differentiation is tough in a saturated content market"})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.2,children:jsxRuntimeExports.jsxs("div",{className:"paragraph-medium space-y-4 text-hubspot-neutral",children:[jsxRuntimeExports.jsx("p",{children:"Content has always been a pillar of marketing. 83% of marketers say that with the advent of AI, they're expected to produce more than ever before, and 80% of teams plan to maintain or increase their content budgets in 2026."}),jsxRuntimeExports.jsx("p",{children:"But content fatigue may be setting in."})]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.3,className:"mt-16",children:jsxRuntimeExports.jsx(TabComparisons,{title:"Marketers' feelings about AI content",titleClassName:"heading-6",tabs:[{key:"overall",label:"Overall",stats:[{percentage:52,description:"of marketers believe AI makes content so easy to create that it's less effective overall"},{percentage:53,description:"of marketers struggle to differentiate their content in an AI-saturated market"}]},{key:"smallBusiness",label:"Small Business",stats:[{percentage:47,description:"of marketers believe AI makes content so easy to create that it's less effective overall"},{percentage:43,description:"of marketers struggle to differentiate their content in an AI-saturated market"}]},{key:"midMarket",label:"Mid-Market",stats:[{percentage:54,description:"of marketers believe AI makes content so easy to create that it's less effective overall"},{percentage:57,description:"of marketers struggle to differentiate their content in an AI-saturated market"}]},{key:"enterprise",label:"Enterprise",stats:[{percentage:51,description:"of marketers believe AI makes content so easy to create that it's less effective overall"},{percentage:52,description:"of marketers struggle to differentiate their content in an AI-saturated market"}]}]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.4,className:"mt-16",children:jsxRuntimeExports.jsx(TabRankedBar,{title:"Top content marketing challenges",labelPosition:"above",tabs:[{key:"overall",label:"Overall",items:[{rank:1,label:"Creating content that receives high levels of online engagement (clicks, shares, comments, etc.)",percentage:35},{rank:2,label:"Finding ideas for new content",percentage:28},{rank:3,label:"Creating content on a consistent schedule",percentage:27},{rank:4,label:"Measuring ROI",percentage:25}
58,{rank:5,label:"Choosing the right channels for content distribution",percentage:23}]},{key:"smallBusiness",label:"Small Business",items:[{rank:1,label:"Creating content that receives high levels of online engagement (clicks, shares, comments, etc.)",percentage:45},{rank:2,label:"Finding ideas for new content",percentage:29},{rank:3,label:"Creating content on a consistent schedule",percentage:26},{rank:4,label:"Measuring ROI",percentage:23},{rank:5,label:"Reaching your target audience",percentage:20}]},{key:"midMarket",label:"Mid-Market",items:[{rank:1,label:"Creating content that receives high levels of online engagement (clicks, shares, comments, etc.)",percentage:28},{rank:2,label:"Creating content on a consistent schedule",percentage:28},{rank:3,label:"Finding ideas for new content",percentage:28},{rank:4,label:"Measuring ROI",percentage:26},{rank:5,label:"Choosing the right channels for content distribution",percentage:23}]},{key:"enterprise",label:"Enterprise",items:[{rank:1,label:"Creating content that receives high levels of online engagement (clicks, shares, comments, etc.)",percentage:36},{rank:2,label:"Finding ideas for new content",percentage:28},{rank:3,label:"Creating content on a consistent schedule",percentage:27},{rank:4,label:"Measuring ROI",percentage:25},{rank:5,label:"Choosing the right channels for content distribution",percentage:23}]}]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.5,className:"mt-12",children:jsxRuntimeExports.jsx("div",{className:"paragraph-medium space-y-4 text-hubspot-neutral",children:jsxRuntimeExports.jsxs("p",{children:["71% say AI helps them create significantly more content. But marketers are struggling to create content that ",jsxRuntimeExports.jsx("em",{children:"performs"}),". This paradox demands that marketers balance AI-powered efficiency with authentic differentiation. Whether you produce human stories, behind-the-scenes peeks at your company, community-generated content, or compelling partnerships, get creative to break through the noise."]})})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.6,className:"mt-16",children:jsxRuntimeExports.jsx(Testimonial,{quote:"Today, more content is generated by AI than by humans. But it's mostly average. Consumers seek human-created content, and will tune out brand and AI-generated content. Content will move to gated spaces that AI hasn't overrun, like newsletters, podcasts, and YouTube. Learning to craft content is a timeless skill. Don't follow the masses and outsource that to AI.",name:"KIERAN FLANAGAN",title:"SVP of Marketing, AI, & GTM, HubSpot",imageSrc:"/images/KieranFlanagan-headshot.png"})}),jsxRuntimeExports.jsxs(ContentBlock,{delay:.7,className:"mt-16",children:[jsxRuntimeExports.jsx("h3",{className:"heading-4 text-hubspot-neutral mb-6",children:"Short-form videos see the most returns â by a long shot"}),jsxRuntimeExports.jsx("div",{className:"paragraph-medium text-hubspot-neutral",children:jsxRuntimeExports.jsx("p",{children:"In a sea of AI-generated blog posts, marketers find the most value in the personal touch of video. This is especially clear for short-form videos. Not only was it the most-leveraged content format of 2025, it also generated the highest ROI: 104% more marketers named it their most valuable channel compared to 2024 (and it's where teams plan to invest the most for 2026)."})})]}),jsxRuntimeExports.jsx(ContentBlock,{delay:.75,className:"mt-12",children:jsxRuntimeExports.jsx(TabBar,{title:"Media formats companies use in their content strategy",tabs:[{key:"overall",label:"Overall",items:[{label:"Short-form video",percentage:60},{label:"Long-form video",percentage:38},{label:"Blog posts",percentage:38},{label:"Live streaming video",percentage:37},{label:"Images",percentage:36},{label:"User-generated Content",percentage:35},{label:"Infographics",percentage:28},{label:"Case studies",percentage:27},{label:"eBooks",percentage:24},{label:"Interviews",percentage:24},{label:"Interactive content (polls, games, etc.)",percentage:23},{label:"White papers",percentage:22},{label:"Checklists/templates",percentage:18},{label:"NFTs",percentage:3},{label:"Podcasts or Other audio content",percentage:1}]},{key:"smb",label:"Small Business",items:[{label:"Short-form video",percentage:66},{label:"Long-form video",percentage:34},{label:"Blog posts",percentage:44},{label:"Live streaming video",percentage:32},{label:"Images",percentage:45},{label:"User-generated Content",percentage:34},{label:"Infographics",percentage:26},{label:"Case studies",percentage:21},{label:"eBooks",percentage:18},{label:"Interviews",percentage:28},{label:"Interactive content (polls, games, etc.)",percentage:29},{label:"White papers",percentage:18},{label:"Checklists/templates",percentage:15},{label:"NFTs",percentage:4},{label:"Podcasts or Other audio content",percentage:1}]},{key:"midMarket",label:"Mid-Market",items:[{label:"Short-form video",percentage:57},{label:"Long-form video",percentage:40},{label:"Blog posts",percentage:35},{label:"Live streaming video",percentage:41},{label:"Images",percentage:30},{label:"User-generated Content",percentage:34},{label:"Infographics",percentage:29},{label:"Case studies",percentage:27},{label:"eBooks",percentage:26},{label:"Interviews",percentage:22},{label:"Interactive content (polls, games, etc.)",percentage:19},{label:"White papers",percentage:20},{label:"Checklists/templates",percentage:18},{label:"NFTs",percentage:3},{label:"Podcasts or Other audio content",percentage:1}]},{key:"enterprise",label:"Enterprise",items:[{label:"Short-form video",percentage:61},{label:"Long-form video",percentage:38},{label:"Blog posts",percentage:37},{label:"Live streaming video",percentage:34},{label:"Images",percentage:37},{label:"User-generated Content",percentage:36},{label:"Infographics",percentage:28},{label:"Case studies",percentage:33},{label:"eBooks",percentage:27},{label:"Interviews",percentage:25},{label:"Interactive content (polls, games, etc.)",percentage:22},{label:"White papers",percentage:29},{label:"Checklists/templates",percentage:21},{label:"NFTs",percentage:2},{label:"Podcasts or Other audio content",percentage:1}]}]})}),jsxRuntimeExports.jsxs(ContentBlock,{delay:.77,className:"mt-12",children:[jsxRuntimeExports.jsx("div",{className:"paragraph-medium text-hubspot-neutral",children:jsxRuntimeExports.jsxs("p",{children:["Between TikTok's estimated"," ",jsxRuntimeExports.jsx("a",{href:"https://www.statista.com/topics/6077/tiktok/",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"1.6 billion global users"}),", YouTube Shorts'"," ",jsxRuntimeExports.jsx("a",{href:"https://abc.xyz/investor/events/event-details/2025/2025-Q2-Earnings-Call/",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"200 billion daily views"}),", and Instagram's"," ",jsxRuntimeExports.jsx("a",{href:"https://www.cnbc.com/2025/09/24/instagram-now-has-3-billion-monthly-active-users.html",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"3 billion monthly active users"})," spending"," ",jsxRuntimeExports.jsx("a",{href:"https://s21.q4cdn.com/399680738/files/doc_financials/2024/q1/META-Q1-2024-Earnings-Call-Transcript.pdf",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"50% of their in-app time"})," watching Reels, short-form video dominates consumer attention. Even LinkedIn, which has prioritized text-based posting and is yet to introduce native video recording capabilities, reported a"," ",jsxRuntimeExports.jsx("a",{href:"https://www.linkedin.com/pulse/up-36-over-last-year-video-linkedin-booming-time-now-somasundaram-yqbzc/",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"36% increase in video views"}),". As brands invest more in organic and paid social media content and social media shopping, videos are here to stay."]})}),jsxRuntimeExports.jsx("a",{href:"https://offers.hubspot.com/short-form-video-guide",target:"_blank",rel:"noopener noreferrer",className:"text-link mt-6 inline-block",children:"Read the guide to short-form video"})]}),jsxRuntimeExports.jsx(ContentBlock,{delay:.78,className:"mt-16",children:jsxRuntimeExports.jsx(GroupedBarChart,{title:"Highest-ROI content formats",wrapLabels:!0,categories:[{key:"y2025",label:"2025",color:"#FF4800"},{key:"y2026",label:"2026",color:"#46062B"}],data:[{label:"Short-form video",y2025:24,y2026:49},{label:"Long-form video",y2025:14,y2026:29},{label:"Live streaming video",y2025:19,y2026:25},{label:"User-generated content",y2025:16,y2026:24},{label:"Blog posts",y2025:15,y2026:23}]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.79,className:"mt-12",children:jsxRuntimeExports.jsx("div",{className:"paragraph-medium text-hubspot-neutral",children:jsxRuntimeExports.jsx("p",{children:"But the written word isn't dead. Small businesses are 23% more likely than average to see ROI from blog posts. And they're 35% less likely to see ROI from ebooks, while enterprises are 24% more likely to. While these findings are useful benchmarks, the content formats you should invest in depend entirely on who your customers are."})})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.795,className:"mt-16",children:jsxRuntimeExports.jsx(TabComparisons,{title:"Where content teams plan to invest in 2026",titleClassName:"heading-6",tabs:[{key:"overall",label:"Overall",stats:[{percentage:30,description:"short-form video"},{percentage:13,description:"live streaming video"},{percentage:12,description:"long-form video"}]},{key:"smallBusiness",label:"Small Business",stats:[{percentage:34,description:"short-form video"},{percentage:11,description:"long-form video"},{percentage:8,description:"user-generated content"}]},{key:"midMarket",label:"Mid-Market",stats:[{percentage:27,description:"short-form video"},{percentage:16,description:"live streaming video"},{percentage:14,description:"long-form video"}]},{key:"enterprise",label:"Enterprise",stats:[{percentage:31,description:"short-form video"},{percentage:11,description:"live streaming video"},{percentage:11,description:"user-generated content"}]}]})}),jsxRuntimeExports.jsxs(ContentBlock,{delay:.797,className:"mt-16",children:[jsxRuntimeExports.jsx("h3",{className:"heading-4 text-hubspot-neutral mb-6",children:"Social media growth is centered around short-form video"}),jsxRuntimeExports.jsx("p",{className:"paragraph-medium text-hubspot-neutral",children:"Instagram, Facebook, and YouTube dominate social channels, but in keeping with short-form video's growing dominance, more marketers are flocking to TikTok. The platform's usage grew the most of any social media marketing channel â 62% more teams use TikTok this year compared to last. Other fast-growing channels are LinkedIn (53%) and Twitter/X (43%), both of which support short-form video."})]}),jsxRuntimeExports.jsx(ContentBlock,{delay:.8,className:"mt-16",children:jsxRuntimeExports.jsx(GroupedBarChart,{title:"Social media platforms companies are using for marketing",scrollable:!0,visibleItems:5,data:[{label:"Instagram",overall:70,smb:78,midMarket:66,enterprise:71},{label:"Facebook",overall:70,smb:77,midMarket:67,enterprise:66},{label:"YouTube",overall:69,smb:62,midMarket:71,enterprise:71},{label:"TikTok",overall:57,smb:58,midMarket:57,enterprise:54},{label:"Twitter/X",overall:56,smb:45,midMarket:61,enterprise:57},{label:"LinkedIn",overall:42,smb:49,midMarket:40,enterprise:42},{label:"Snapchat",overall:25,smb:22,midMarket:28,enterprise:23},{label:"Pinterest",overall:22,smb:25,midMarket:22,enterprise:20},{label:"Reddit",overall:15,smb:12,midMarket:17,enterprise:16},{label:"Threads",overall:10,smb:9,midMarket:12,enterprise:9},{label:"Discord",overall:7,smb:9,midMarket:7,enterprise:6}]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.9,className:"mt-12",children:jsxRuntimeExports.jsx("div",{className:"paragraph-medium text-hubspot-neutral",children:jsxRuntimeExports.jsx("p",{children:"Looking ahead to 202
586, the top 5 social platforms marketers plan to invest in most support short-form video: 1) TikTok (19%), 2) Instagram (19%), 3) Facebook (18%), 4) YouTube (18%), and 5) Twitter/X (11%). Small businesses are more likely to increase their Instagram and TikTok budgets compared to the average, while enterprises plan to invest more in YouTube."})})}),jsxRuntimeExports.jsx(ContentBlock,{delay:1,className:"mt-16",children:jsxRuntimeExports.jsx(GroupedBarChart,{title:"The highest-ROI social platforms",categories:[{key:"y2025",label:"2025",color:"#FF4800"},{key:"y2026",label:"2026",color:"#46062B"}],data:[{label:"Facebook",y2025:54,y2026:43},{label:"Instagram",y2025:43,y2026:48},{label:"YouTube",y2025:33,y2026:42},{label:"Twitter/X",y2025:24,y2026:31},{label:"TikTok",y2025:19,y2026:32}]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:1.1,className:"mt-12",children:jsxRuntimeExports.jsxs("div",{className:"paragraph-medium space-y-6 text-hubspot-neutral",children:[jsxRuntimeExports.jsx("p",{children:"TikTok's value as a marketing channel also leads the pack, with 62% more teams naming it a high-ROI channel compared to 2025. YouTube and Twitter/X saw notable gains as well (32% and 29%, respectively), while the proportion of teams seeing ROI from Facebook dropped 21%. Small businesses are 40% less likely to name Twitter/X and 35% less likely to name YouTube as top ROI segments, compared to the average."}),jsxRuntimeExports.jsx("p",{className:"heading-6",children:"Keeping up with social media is the biggest challenge"}),jsxRuntimeExports.jsx("p",{children:'Speed matters on every channel, but especially so on social, where trends are short-lived and algorithms get tweaked on what seems like a weekly basis. As audience attention splinters between more social platforms than ever before, "keeping up" is the biggest social media marketing challenge across all segments.'})]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:1.2,className:"mt-16",children:jsxRuntimeExports.jsx(TabRankedBar,{title:"Social media marketing challenges",labelPosition:"above",barWidthMultiplier:2.7,tabs:[{key:"overall",label:"Overall",items:[{rank:1,label:"Keeping up with
58new trends",percentage:32},{rank:2,label:"Keeping up with changing features and algorithm updates",percentage:30},{rank:3,label:"Reaching your target audience",percentage:27},{rank:4,label:"Gaining and keeping followers",percentage:24},{rank:5,label:"Determining which platform to market your brand on",percentage:23}]},{key:"smallBusiness",label:"Small Business",items:[{rank:1,label:"Keeping up with new trends",percentage:36},{rank:2,label:"Gaining and keeping followers",percentage:32},{rank:3,label:"Reaching your target audience",percentage:29},{rank:4,label:"Keeping up with changing features and algorithm updates",percentage:28},{rank:5,label:"Creating engaging content",percentage:20}]},{key:"midMarket",label:"Mid-Market",items:[{rank:1,label:"Keeping up with new trends",percentage:32},{rank:2,label:"Keeping up with changing features and algorithm updates",percentage:31},{rank:3,label:"Reaching your target audience",percentage:27},{rank:4,label:"Determining which platform to market your brand on",percentage:25},{rank:5,label:"Measuring ROI",percentage:22}]},{key:"enterprise",label:"Enterprise",items:[{rank:1,label:"Keeping up with changing features and algorithm updates",percentage:30}
58,{rank:2,label:"Keeping up with new trends",percentage:30},{rank:3,label:"Reaching your target audience",percentage:26},{rank:4,label:"Determining which platform to market your brand on",percentage:25},{rank:5,label:"Gaining and keeping followers",percentage:22}]}]})}),jsxRuntimeExports.jsxs(ContentBlock,{delay:1.3,className:"mt-16",children:[jsxRuntimeExports.jsx("h3",{className:"heading-4 text-hubspot-neutral mb-6",children:"Influencer marketing is a community game"}),jsxRuntimeExports.jsx(CircularProgressStats,{layout:"description-left-stats-right",stats:[{value:77,label:"plan to invest more in influencer marketing in 2026"}],description:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[jsxRuntimeExports.jsx("p",{children:"In a crowd of impersonal content, brands stand out by building deeper connections with customers by tapping into influencers' followings. 89% of companies worked with a content creator or influencer in 2025, up from 50% in 2024."}),jsxRuntimeExports.jsx("p",{children:"Teams saw the most success with micro influencers with 10K to 100K followers, while nano influencers with 1K to 10K followers dropped to the least effective influencer type. Niche audiences are valuable, but this drop suggests that brands will prioritize working with influencers who have better-established, larger followings in 2026."})]})})]}),jsxRuntimeExports.jsx(ContentBlock,{delay:1.5,className:"mt-16",children:jsxRuntimeExports.jsx(GroupedColumnChart,{title:"Which size influencer or content creator did you see the most success with?",categories:[{key:"y2026",label:"2026 (In 2025)",color:"#FF4800"},{key:"y2025",label:"2025 (In 2024)",color:"#46062B"}],data:[{label:"Nano (1K to 10K)",y2026:8.6,y2025:20},{label:"Micro (10K to 100K)",y2026:36,y2025:45},{label:"Macro (100K to 1M)",y2026:34,y2025:26},{label:"Mega (1M+)",y2026:15,y2025:9}]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:1.6,className:"mt-16",children:jsxRuntimeExports.jsx(CaseStudy,{logo:"/images/helsinki.svg",logoAlt:"Helsinki Partners",title:"Helsinki Partners measures influencer marketing with HubSpot",description:jsxRuntimeExports.jsxs("p",{children:[jsxRuntimeExports.jsx("a",{href:"https://www.myhelsinki.fi/business/",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"Helsinki Partners"}),` promotes the City of Helsinki's economic growth by attracting business and tourists. The company collaborates with influencers on social media, articles, and blog posts, and uses HubSpot to measure ROI. "We can calculate the value of the post or article depending on its reach," says Sirpa Salmi, senior manager of digital business.`]}),videos:[{videoSrc:"/images/ig-video-1.mp4",instagramUrl:"https://www.instagram.com/reel/DQKI0q9icN-/"},{videoSrc:"/images/ig-video-2.mp4",instagramUrl:"https://www.instagram.com/reel/DP_zQKdET5B/"},{videoSrc:"/images/ig-video-3.mp4",instagramUrl:"https://www.instagram.com/reel/DP572LCjZfc/"}],caseStudyUrl:"https://www.hubspot.com/case-studies/helsinki-partners"})}),jsxRuntimeExports.jsxs(ContentBlock,{delay:.3,className:"mt-[100px]",children:[jsxRuntimeExports.jsx(Testimonial,{quote:"At HubSpot, creator partnerships are about relationships, not just reach and impressions. As audiences turn away from obviously transactional marketing tactics, brands that build real relationships with their creators will retain them longer and achieve far better results.",name:"ALANAH JOSEPH",title:"Head of Creators, HubSpot Media",imageSrc:"/images/alanah-joseph-headshot.jpeg"}),jsxRuntimeExports.jsx("a",{href:"https://blog.hubspot.com/marketing/influencer-marketing-power",target:"_blank",rel:"noopener noreferrer",className:"text-link mt-6 inline-block",children:"Learn to build an influencer marketing strategy"})]}),jsxRuntimeExports.jsxs(ContentBlock,{delay:.3,className:"mt-[100px]",children:[jsxRuntimeExports.jsx("h3",{className:"heading-4 text-hubspot-neutral mb-6",children:"Personalization works, but it's hard to operationalize"}),jsxRuntimeExports.jsx("p",{className:"paragraph-medium text-hubspot-neutral",children:"An overwhelming 93% of marketers report that personalization improves leads or purchases. Despite these results, advanced personalization techniques remain underutilized â only 13% of teams hyper-personalize their marketing based on data or lookalike audiences. Current approaches show a wide spectrum of personalization, with basic personalization (such as including a name in an email) used by 53% of marketers and audience segmentation implemented by 47%."}),jsxRuntimeExports.jsx("p",{className:"paragraph-medium text-hubspot-neutral mt-4",children:"Marketers say the most valuable types of audience data to use in personalization are:"}),jsxRuntimeExports.jsxs("ol",{className:"list-decimal list-inside paragraph-medium text-hubspot-neutral mt-2 space-y-1",children:[jsxRuntimeExports.jsx("li",{children:"Shopping habits (42%)"}),jsxRuntimeExports.jsx("li",{children:"Interests and hobbies (36%)"}),jsxRuntimeExports.jsx("li",{children:"Basic demographic information (33%)"})]}),jsxRuntimeExports.jsx("p",{className:"paragraph-medium text-hubspot-neutral mt-4",children:"Many marketers don't have access to basic audience information to develop more personalization strategies. But even simple improvements to data collection can drive notable improvements. Investing in more advanced techniques like persona-level targeting and behavioral data creates a massive competitive advantage. In a market where only 14% of teams segment or personalize at least half of their content, personalization can push companies to the top of their audience's minds."})]}),jsxRuntimeExports.jsxs(ContentBlock,{delay:.3,className:"mt-12",children:[jsxRuntimeExports.jsx(KeyNumberGrid,{title:"Less than half of marketers have access to key personal datapoints",mobilePaddingTop:"pt-6",data:[{percentage:44,description:"of marketers know their customers' shopping habits"},{percentage:39,description:"of marketers have access to basic demographic information like name, gender, and location"},{percentage:31,description:"of marketers have access to customer purchase history with their company"},{percentage:27,description:"of marketers know what products customers are interested in buying"},{percentage:17,description:"of marketers know their customers' experience preferences and expectations"},{percentage:16,description:"of marketers know their customers' pain points and challenges"}]}),jsxRuntimeExports.jsx("p",{className:"paragraph-medium text-hubspot-neutral mt-8",children:"Perhaps this year's biggest finding? When we rank channels by ROI, we see almost the same ranking for how effective they are for personalization. This suggests that the more personalization a channel supports, the more effective it will be."})]}),jsxRuntimeExports.jsx(ContentBlock,{delay:.4,className:"mt-16",children:jsxRuntimeExports.jsx(TabBar,{title:"Top channels by ROI and personalization success",tabs:[{key:"roi",label:"Biggest ROI this year",items:[{label:"Website/blog/SEO (search engine optimization)",percentage:27},{label:"Paid social media content",percentage:26},{label:"Organic social media content",percentage:24},{label:"Social media shopping tools (e.g. Instagram Shops)",percentage:23},{label:"Email marketing",percentage:22},{label:"Brand awareness",percentage:19},{label:"Content marketing",percentage:17},{label:"Physical events and tradeshows",percentage:16},{label:"Search/Display ads",percentage:12},{label:"Mobile messaging (SMS, WhatsApp, Messenger, etc.)",percentage:11}]},{key:"personalization",label:"Segmentation/personalization is most effective",items:[{label:"Social media shopping tools (e.g. Instagram Shops)",percentage:29},{label:"Website/blog/SEO (search engine optimization)",percentage:28},{label:"Paid social media content",percentage:26},{label:"Email marketing",percentage:26},{label:"Organic social media content",percentage:25},{label:"Content marketing",percentage:19},{label:"Brand awareness",percentage:19},{label:"Physical events and tradeshows",percentage:17},{label:"Mobile messaging (SMS, WhatsApp, Messenger, etc.)",percentage:14},{label:"Search/Display ads",percentage:14}]}]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.5,className:"mt-16",children:jsxRuntimeExports.jsx(LoopTable,{row1:{strategyContent:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Define clear ",jsxRuntimeExports.jsx("a",{href:"https://blog.hubspot.com/website/quality-content",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"content quality standards"})," that differentiate your brand from generic AI-generated material, and establish editorial guidelines that maintain brand voice consistency across AI-assisted content creation."]}),aiContent:{type:"text",content:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Use the ",jsxRuntimeExports.jsx("a",{href:"https://app.hubspot.com/marketplace/23338865/listing/breeze-30109600",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"Breeze Brand Assistant Agent"})," to check whether your content aligns with your brand guidelines."]})}},row2:{strategyContent:jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:"Incorporate shopping habits, interests/hobbies, and demographic data (identified as most valuable) for targeted content."}),aiContent:{type:"text",content:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Use the ",jsxRuntimeExports.jsx("a",{href:"https://app.hubspot.com/marketplace/23338865/listing/data-agent",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"Breeze Data Agent"})," to automatically fill in gaps in your customer data and inject researched insights into your automations."]})}},row3:{strategyContent:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Diversify content formats strategically: combine ",jsxRuntimeExports.jsx("a",{href:"https://blog.hubspot.com/marketing/short-form-video-trends",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"video"}),", user-generated content, and blogs to meet audiences across channels, and ",jsxRuntimeExports.jsx("a",{href:"https://blog.hubspot.com/marketing/micro-influencer-marketing",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"work with micro-influencers"})," for authentic amplification."]}),aiContent:{type:"text",content:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Use the ",jsxRuntimeExports.jsx("a",{href:"https://app.hubspot.com/marketplace/23338865/listing/social-post-agent",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"Breeze Social Post Agent"})," to generate post suggestions optimized for Instagram, Facebook, and more."]})}},row4:{strategyContent:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Stay agile with platform changes, and build processes for quick adaptation. Then, monitor ",jsxRuntimeExports.jsx("a",{href:"https://blog.hubspot.com/website/content-performance",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"content performance"})," across channels and shift investment toward highest-performing formats."]}),aiContent:{type:"prompt",prompt:"Research and summarize recent algorithm and platform updates for [platforms]. Include both technical algorithm changes and shifts in platform behavior, policies, or engagement mechanisms that could affect visibility or performance. Provide actionable recommendations for SEO, content, and social media team
58s, and include verified source links for each finding.",inputs:["Date range or trigger (i.e. weekly, daily)","platforms to monitor","region or market focus"]}}})})]})]}),jsxRuntimeExports.jsxs(Section,{id:"growth",className:"mb-20 lg:max-w-[764px]",children:[jsxRuntimeExports.jsx("div",{id:"growth-trigger"}),jsxRuntimeExports.jsx(Tagline,{className:"mb-6",children:"Growth Trends"}),jsxRuntimeExports.jsx("h2",{className:"heading-2 text-hubspot-neutral mb-6",children:"High-intent buyers from AI search are changing the web game"}),jsxRuntimeExports.jsx(ContentBlock,{delay:.2,children:jsxRuntimeExports.jsxs("div",{className:"paragraph-medium space-y-4 text-hubspot-neutral",children:[jsxRuntimeExports.jsx("p",{className:"font-medium",children:"LLM traffic has lower volume, but higher intent"}),jsxRuntimeExports.jsx("p",{children:"Nearly half of marketers (49%) agree that web traffic from search has decreased because of AI answers. But 58% note that AI referral traffic has much higher intent than traditional search. This means that visitors who come from LLMs such as ChatGPT are much further along in their buyer's journey. (We've seen the same phenomenon at HubSpot â while our blog traffic is down, leads from LLMs are up 1850%, and convert 3 times better than XYZ.) And when visitors do arrive on your website, 60% say you need to meet them with seamless purchasing experiences, like chatbots, that are as easy to use as the LLMs that referred them to you."}),jsxRuntimeExports.jsx("p",{children:"This has accelerated the marketing optimization cycle. Ten years ago, campaigns and content only existed on a handful of platforms and distribution channels. Today, potential visitors may encounter them in AI-powered results or LLM answers. Your content may be cited as is, or it may be summarized. (Or, it may not be included in an official answer at all.) As a result, marketers need to optimize campaign content to be helpful across multiple potential scenarios and AI platforms. 62% of marketers say campaigns now operate in interactive cycles, meaning they're continuously updating content to be found online."})]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.3,className:"mt-[100px]",children:jsxRuntimeExports.jsx(Testimonial,{quote:"I see three major shifts in SEO vs. Answer Engine Optimization (AEO): AEO requires volume, so to influence tools like ChatGPT, claim as much mind share as possible. AEO also flips the funnel, prioritizing bottom-funnel and middle-funnel content. Third, AEO requires content bifurcation: One version of content optimized for machines (tables, semantic triples, JSON-LD); another for humans (story, POV, brand voice). The future of search is here, and in a world that moves at AI speed, experimentation wins above all else.",name:"AJA FROST",title:"Senior Director of Global Growth, HubSpot",imageSrc:"/images/AjaFrost-headshot.jpeg"})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.4,className:"mt-8",children:jsxRuntimeExports.jsxs("div",{className:"product-cta bg-white border border-[#E5E0D5] rounded-[16px] p-8 flex flex-col md:flex-row items-center gap-6 md:gap-10",children:[jsxRuntimeExports.jsx("img",{src:"/images/HS_Pictograms_Success_workspace_800px.png",alt:"AEO Grader",className:"w-[120px] h-[120px] object-contain flex-shrink-0"}),jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("div",{className:"heading-4 text-hubspot-neutral mb-2",children:"AEO Grader"}),jsxRuntimeExports.jsx("p",{className:"paragraph-small text-hubspot-neutral",children:"Use HubSpot's free AEO Grader to learn how leading AI engines interpret your brand."}),jsxRuntimeExports.jsx("a",{href:"https://www.hubspot.com/aeo-grader",target:"_blank",rel:"noopener noreferrer",className:"text-link mt-2",children:"Grade your brand"})]})]})}),jsxRuntimeExports.jsxs(ContentBlock,{delay:.5,className:"mt-16",children:[jsxRuntimeExports.jsx("h3",{className:"heading-4 text-hubspot-neutral mb-4",children:"Optimization benchmarks"}),jsxRuntimeExports.jsx("p",{className:"paragraph text-hubspot-neutral",children:"Speed has always mattered in marketing. But in a world where three in five (59%) marketing teams analyze campaign data at least weekly and 73% implement changes to active campaigns within days or hours, agility is a necessity."})]}),jsxRuntimeExports.jsx(ContentBlock,{delay:.6,className:"mt-8",children:jsxRuntimeExports.jsx(TabBar,{title:"How frequently marketing teams analyze campaign performance data",tabs:[{key:"overall",label:"Overall",items:[{label:"Daily",percentage:15},{label:"Weekly",percentage:44},{label:"Monthly",percentage:27},{label:"Quarterly",percentage:8},{label:"After campaign completion",percentage:3},{label:"We don't consistently analyze performance",percentage:2}]},{key:"smb",label:"Small Business",items:[{label:"Daily",percentage:17},{label:"Weekly",percentage:42},{label:"Monthly",percentage:25},{label:"Quarterly",percentage:8},{label:"After campaign completion",percentage:5},{label:"We don't consistently analyze performance",percentage:3}]},{key:"mid-market",label:"Mid-Market",items:[{label:"Daily",percentage:14},{label:"Weekly",percentage:44},{label:"Monthly",percentage:30},{label:"Quarterly",percentage:8},{label:"After campaign completion",percentage:3},{label:"We don't consistently analyze performance",percentage:1}]},{key:"enterprise",label:"Enterprise",items:[{label:"Daily",percentage:16},{label:"Weekly",percentage:46},{label:"Monthly",percentage:25},{label:"Quarterly",percentage:9},{label:"After campaign completion",percentage:3},{label:"We don't consistently analyze performance",percentage:2}]}]})}),jsxRuntimeExports.jsxs(ContentBlock,{delay:.7,className:"mt-8",children:[jsxRuntimeExports.jsx("p",{className:"paragraph text-hubspot-neutral",children:"The most-used optimization techniques are:"}),jsxRuntimeExports.jsxs("ol",{className:"list-decimal list-inside paragraph text-hubspot-neutral mt-2 space-y-1",children:[jsxRuntimeExports.jsx("li",{children:"Audience segmentation refinement (51%)"}),jsxRuntimeExports.jsx("li",{children:"Conversion rate optimization (50%)"}),jsxRuntimeExports.jsx("li",{children:"Message timing optimization (40%)"})]}),jsxRuntimeExports.jsx("p",{className:"paragraph text-hubspot-neutral mt-4",children:"When deciding where to optimize, marketing teams prioritize the areas with the largest performance gaps (32%), stages with the highest drop-off rates (24%), and potential impact analysis (18%)."})]}),jsxRuntimeExports.jsx(ContentBlock,{delay:.8,className:"mt-8",children:jsxRuntimeExports.jsx(TabRankedBar,{title:"The KPIs that matter to marketers",labelPosition:"above",tabs:[{key:"overall",label:"Overall",items:[{rank:1,label:"Lead quality and MQLs",percentage:39},{rank:2,label:"Lead-to-customer conversion rates",percentage:34},{rank:3,label:"Return on marketing investment",percentage:31},{rank:4,label:"Customer acquisition cost",percentage:30},{rank:5,label:"Lead generation volume",percentage:29}]},{key:"smb",label:"Small Business",items:[{rank:1,label:"Lead quality and MQLs",percentage:36},{rank:2,label:"Lead-to-customer conversion rates",percentage:36},{rank:3,label:"Website traffic and unique visitors",percentage:36},{rank:4,label:"Return on marketing investment",percentage:33},{rank:5,label:"Lead generation volume",percentage:31}]},{key:"mid-market",label:"Mid-Market",items:[{rank:1,label:"Lead quality and MQLs",percentage:40},{rank:2,label:"Lead-to-customer conversion rates",percentage:33},{rank:3,label:"Customer acquisition cost",percentage:32},{rank:4,label:"Return on marketing investment",percentage:30},{rank:5,label:"Lead generation volume",percentage:29}]},{key:"enterprise",label:"Enterprise",items:[{rank:1,label:"Lead quality and MQLs",percentage:40},{rank:2,label:"Lead-to-customer conversion rates",percentage:34},{rank:3,label:"Customer acquisition cost",percentage:33},{rank:4,label:"Return on marketing investment",percentage:30},{rank:5,label:"Customer lifetime value",percentage:29}]}]})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.9,className:"mt-20",children:jsxRuntimeExports.jsx(Testimonial,{quote:"The balance between execution excellence and execution agility is hitting a tipping point â and in the AI era, agility wins. With buyers evaluating AI tools and arr
58iving on your site more educated than ever and turning to content from platforms like YouTube and Reddit to inform their decision making, brands must influence before they land, and your site must deliver an experience that converts them when they do.",name:"Emmy Jonassen",title:"VP Demand Generation, HubSpot",imageSrc:"/images/emmyjonassen-headshot.jpeg"})}),jsxRuntimeExports.jsx(ContentBlock,{delay:1,className:"mt-16",children:jsxRuntimeExports.jsx(LoopTable,{row1:{strategyContent:jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment,{children:"Create authoritative, expert-informed content that earns visibility in AI-powered search results, and express clear value propositions that convert high-intent AI referral traffic."}),aiContent:{type:"text",content:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Use ",jsxRuntimeExports.jsx("a",{href:"https://app.hubspot.com/marketplace/23338865/listing/blog-research-agent",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"Breeze Blog Research Agent"})," to generate smart topic recommendations based on AI-powered research and analysis of existing blog posts."]})}},row2:{strategyContent:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Implement seamless purchase experiences like ",jsxRuntimeExports.jsx("a",{href:"https://blog.hubspot.com/marketing/best-ai-chatbot",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"chatbots"})," for high-intent visitors."]}),aiContent:{type:"text",content:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Use ",jsxRuntimeExports.jsx("a",{href:"https://app.hubspot.com/marketplace/23338865/listing/customer-agent",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"Breeze Customer Agent"})," to answer visitor questions and guide them to the right content."]})}},row3:{strategyContent:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Optimize content for ",jsxRuntimeExports.jsx("a",{href:"https://blog.hubspot.com/marketing/answer-engine-optimization-best-practices",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"AI Engine Optimization (AEO)"})," to maintain visibility as search evolves."]}),aiContent:{type:"prompt",prompt:"Analyze this content and deliver actionable recommendations that improve its visibility, accuracy, and perceived trustworthiness across AI-driven search and summary tools. Do not rewrite the content. Provide a structured checklist and guidance framework aligned with both content quality and technical readiness for AI indexing.",inputs:["Content source (URL or file upload)","target AI platforms"]}},row4:{strategyContent:jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:["Adopt daily or weekly performance analyses to quickly understand and benchmark your progress using ",jsxRuntimeExports.jsx("a",{href:"https://offers.hubspot.com/ai-data-analysis",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"AI-powered analytics"}),"."]}),aiContent:{type:"prompt",prompt:"Analyze campaign performance data, evaluate it against the defined goals and KPIs, and provide clear, actionable short-term recommendations per platform. Do not invent data; base all insights strictly on the inputs provided and verifiable contextual sources.",inputs:["Date range","campaign name","performance data (file upload)","campaign KPIs","platforms included in the campaign","preference for text-based or visual indicators for report"]}}})})]}),jsxRuntimeExports.jsxs(Section,{id:"plan",className:"mb-20 lg:max-w-[764px]",children:[jsxRuntimeExports.jsx("div",{id:"plan-trigger"}),jsxRuntimeExports.jsx(Tagline,{className:"mb-6",children:"Future"}),jsxRuntimeExports.jsx("h2",{className:"heading-2 text-hubspot-neutral mb-6",children:"Where marketing is headed (at the speed of AI)"}),jsxRuntimeExports.jsx(ContentBlock,{children:jsxRuntimeExports.jsx("p",{className:"paragraph-medium text-hubspot-neutral",children:"This year, marketing is all about blending the efficiency and speed of AI with creativity and good taste. With humans and AI in the loop, marketing has become an iterative process that gets smarter with every new campaign and launch."})}),jsxRuntimeExports.jsx(ContentBlock,{delay:.2,className:"mt-20",children:jsxRuntimeExports.jsx(Testimonial,{quote:"Marketing is evolving faster than ever. AI didn't just change how we market, it changed where buyers decide. As AI disrupts search, the answer is a compounding loop built for the AI era.",name:"KIPP BODNAR",title:"CMO, HubSpot",imageSrc:imgKippTestimonial})}),jsxRuntimeExports.jsxs(ContentBlock,{delay:.3,className:"mt-16",children:[jsxRuntimeExports.jsx("hr",{className:"border-t border-[#
58E5E0D5] mb-16"}),jsxRuntimeExports.jsx("h3",{className:"heading-5 text-hubspot-neutral mb-4",children:"Methodology"}),jsxRuntimeExports.jsx("p",{className:"paragraph-medium text-hubspot-neutral",children:"HubSpot conducted a survey in September 2025 with a total of 1,505 marketers across North America, Europe, Asia, and Australia across seniority levels and industries to gain these data points."}),jsxRuntimeExports.jsxs("p",{className:"paragraph-small text-hubspot-neutral/70 mt-4",children:["Report created in collaboration with"," ",jsxRuntimeExports.jsx("a",{href:"https://www.datalily.com/?utm_source=hubspot&utm_medium=report&utm_campaign=state-of-marketing-2026",target:"_blank",rel:"noopener noreferrer",className:"text-hubspot-orange hover:underline",children:"Datalily"}),"."]})]})]})]})]})})}),jsxRuntimeExports.jsx("section",{className:"w-full bg-[#f8f5ee] pt-16 pb-20 md:pb-28",children:jsxRuntimeExports.jsxs("div",{className:"w-full max-w-[1080px] mx-auto px-4 text-center",children:[jsxRuntimeExports.jsx("img",{src:"/images/hubspot-logo.svg",alt:"HubSpot",className:"mx-auto mb-6",style:{height:"2rem"}}),jsxRuntimeExports.jsx("h2",{className:"heading-2 text-hubspot-neutral mb-6",children:"See how HubSpot can help you grow"}),jsxRuntimeExports.jsx("p",{className:"paragraph-medium text-hubspot-neutral/80 max-w-[640px] mx-auto mb-12",children:"Use AI-powered tools to help you attract, convert, and engage high-intent visitors. Identify high-intent leads, automate personalized customer experiences, and launch cross-channel campaigns."}),jsxRuntimeExports.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-12",children:[jsxRuntimeExports.jsxs("div",{className:"bg-white border border-[#E5E0D5] rounded-2xl p-6 text-left",children:[jsxRuntimeExports.jsx("div",{className:"w-[88px] h-[88px] mb-4",children:jsxRuntimeExports.jsx("img",{src:"/images/generate-leads.svg",alt:"Generate leads",className:"w-full h-full object-contain"})}),jsxRuntimeExports.jsx("p",{className:"heading-6 text-hubspot-neutral mb-2",style:{lineHeight:"24px"},children:"Generate more qualified leads"}),jsxRuntimeExports.jsx("p",{className:"paragraph-small text-hubspot-neutral/80",children:"Turn anonymous visitors into qualified opportunities with forms and dynamic CTAs that capture leads worth talking to."})]}),jsxRuntimeExports.jsxs("div",{className:"bg-white border border-[#E5E0D5] rounded-2xl p-6 text-left",children:[jsxRuntimeExports.jsx("div",{className:"w-[88px] h-[88px] mb-4",children:jsxRuntimeExports.jsx("img",{src:"/images/growth.svg",alt:"Growth",className:"w-full h-full object-contain"})}),jsxRuntimeExports.jsx("p",{className:"heading-6 text-hubspot-neutral mb-2",style:{lineHeight:"24px"},children:"Boost campaign efficiency"}),jsxRuntimeExports.jsx("p",{className:"paragraph-small text-hubspot-neutral/80",children:"Automate your marketing to put tedious tasks on autopilot while your team focuses on strategy that actually moves the needle."})]}),jsxRuntimeExports.jsxs("div",{className:"bg-white border border-[#E5E0D5] rounded-2xl p-6 text-left",children:[jsxRuntimeExports.jsx("div",{className:"w-[88px] h-[88px] mb-4",children:jsxRuntimeExports.jsx("img",{src:"/images/reporting.svg",alt:"Reporting",className:"w-full h-full object-contain"})}),jsxRuntimeExports.jsx("p",{className:"heading-6 text-hubspot-neutral mb-2",style:{lineHeight:"24px"},children:"Showcase ROI with strategic reporting"}),jsxRuntimeExports.jsx("p",{className:"paragraph-small text-hubspot-neutral/80",children:"Prove exactly which marketing efforts drive revenue with precise attribution that shows where to invest next for maximum impact."})]})]}),jsxRuntimeExports.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[jsxRuntimeExports.jsx("a",{href:"https://offers.hubspot.com/demo",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center px-8 py-4 bg-hubspot-orange text-white font-medium rounded-lg hover:bg-hubspot-orange/90 transition-colors text-center",children:"Get a free demo"}),jsxRuntimeExports.jsx("a",{href:"https://app.hubspot.com/signup-hubspot/trial",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center px-8 py-4 bg-transparent border-2 border-hubspot-orange text-hubspot-orange font-medium rounded-lg hover:bg-hubspot-orange/5 transition-colors text-center",children:"Start a free trial"})]})]})}),jsxRuntimeExports.jsx("footer",{className:"bg-hubspot-neutral text-hubspot-cream py-12",children:jsxRuntimeExports.jsx("div",{className:"w-full max-w-[1080px] mx-auto px-4 text-center",children:jsxRuntimeExports.jsx("p",{className:"paragraph-small opacity-70",children:"© 2026 HubSpot, Inc."})})})]})]})}client.createRoot(document.getElementById("root")).render(jsxRuntimeExports.jsx(React.StrictMode,{children:jsxRuntimeExports.jsx(App,{})}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.