(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))r(n);new MutationObserver(n=>{for(const i of n)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function t(n){const i={};return n.integrity&&(i.integrity=n.integrity),n.referrerPolicy&&(i.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?i.credentials="include":n.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(n){if(n.ep)return;n.ep=!0;const i=t(n);fetch(n.href,i)}})();var er=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ql(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var Rf={exports:{}},Lo={},Nf={exports:{}},P={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var bn=Symbol.for("react.element"),ap=Symbol.for("react.portal"),lp=Symbol.for("react.fragment"),up=Symbol.for("react.strict_mode"),cp=Symbol.for("react.profiler"),fp=Symbol.for("react.provider"),Bp=Symbol.for("react.context"),dp=Symbol.for("react.forward_ref"),gp=Symbol.for("react.suspense"),pp=Symbol.for("react.memo"),wp=Symbol.for("react.lazy"),Iu=Symbol.iterator;function hp(A){return A===null||typeof A!="object"?null:(A=Iu&&A[Iu]||A["@@iterator"],typeof A=="function"?A:null)}var Pf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},bf=Object.assign,Gf={};function Lr(A,e,t){this.props=A,this.context=e,this.refs=Gf,this.updater=t||Pf}Lr.prototype.isReactComponent={};Lr.prototype.setState=function(A,e){if(typeof A!="object"&&typeof A!="function"&&A!=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,A,e,"setState")};Lr.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function Vf(){}Vf.prototype=Lr.prototype;function Cl(A,e,t){this.props=A,this.context=e,this.refs=Gf,this.updater=t||Pf}var vl=Cl.prototype=new Vf;vl.constructor=Cl;bf(vl,Lr.prototype);vl.isPureReactComponent=!0;var _u=Array.isArray,Xf=Object.prototype.hasOwnProperty,Ul={current:null},Wf={key:!0,ref:!0,__self:!0,__source:!0};function Jf(A,e,t){var r,n={},i=null,s=null;if(e!=null)for(r in e.ref!==void 0&&(s=e.ref),e.key!==void 0&&(i=""+e.key),e)Xf.call(e,r)&&!Wf.hasOwnProperty(r)&&(n[r]=e[r]);var a=arguments.length-2;if(a===1)n.children=t;else if(1>>1,J=x[V];if(0>>1;Vn(_A,M))mAn(Ae,_A)?(x[V]=Ae,x[mA]=M,V=mA):(x[V]=_A,x[IA]=M,V=IA);else if(mAn(Ae,M))x[V]=Ae,x[mA]=M,V=mA;else break A}}return k}function n(x,k){var M=x.sortIndex-k.sortIndex;return M!==0?M:x.id-k.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;A.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();A.unstable_now=function(){return s.now()-a}}var l=[],c=[],B=1,o=null,u=3,f=!1,g=!1,w=!1,Q=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(x){for(var k=t(c);k!==null;){if(k.callback===null)r(c);else if(k.startTime<=x)r(c),k.sortIndex=k.expirationTime,e(l,k);else break;k=t(c)}}function v(x){if(w=!1,h(x),!g)if(t(l)!==null)g=!0,pA(U);else{var k=t(c);k!==null&&wA(v,k.startTime-x)}}function U(x,k){g=!1,w&&(w=!1,d(I),I=-1),f=!0;var M=u;try{for(h(k),o=t(l);o!==null&&(!(o.expirationTime>k)||x&&!G());){var V=o.callback;if(typeof V=="function"){o.callback=null,u=o.priorityLevel;var J=V(o.expirationTime<=k);k=A.unstable_now(),typeof J=="function"?o.callback=J:o===t(l)&&r(l),h(k)}else r(l);o=t(l)}if(o!==null)var hA=!0;else{var IA=t(c);IA!==null&&wA(v,IA.startTime-k),hA=!1}return hA}finally{o=null,u=M,f=!1}}var C=!1,m=null,I=-1,y=5,L=-1;function G(){return!(A.unstable_now()-Lx||125V?(x.sortIndex=M,e(c,x),t(l)===null&&x===t(c)&&(w?(d(I),I=-1):w=!0,wA(v,M-V))):(x.sortIndex=J,e(l,x),g||f||(g=!0,pA(U))),x},A.unstable_shouldYield=G,A.unstable_wrapCallback=function(x){var k=u;return function(){var M=u;u=k;try{return x.apply(this,arguments)}finally{u=M}}}})($f);Zf.exports=$f;var Sp=Zf.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var xp=GA,ie=Sp;function _(A){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+A,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),na=Object.prototype.hasOwnProperty,Lp=/^[: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]*$/,xu={},Lu={};function Tp(A){return na.call(Lu,A)?!0:na.call(xu,A)?!1:Lp.test(A)?Lu[A]=!0:(xu[A]=!0,!1)}function Kp(A,e,t,r){if(t!==null&&t.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(A=A.toLowerCase().slice(0,5),A!=="data-"&&A!=="aria-");default:return!1}}function Dp(A,e,t,r){if(e===null||typeof e>"u"||Kp(A,e,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function JA(A,e,t,r,n,i,s){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=n,this.mustUseProperty=t,this.propertyName=A,this.type=e,this.sanitizeURL=i,this.removeEmptyString=s}var KA={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(A){KA[A]=new JA(A,0,!1,A,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(A){var e=A[0];KA[e]=new JA(e,1,!1,A[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(A){KA[A]=new JA(A,2,!1,A.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(A){KA[A]=new JA(A,2,!1,A,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(A){KA[A]=new JA(A,3,!1,A.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(A){KA[A]=new JA(A,3,!0,A,null,!1,!1)});["capture","download"].forEach(function(A){KA[A]=new JA(A,4,!1,A,null,!1,!1)});["cols","rows","size","span"].forEach(function(A){KA[A]=new JA(A,6,!1,A,null,!1,!1)});["rowSpan","start"].forEach(function(A){KA[A]=new JA(A,5,!1,A.toLowerCase(),null,!1,!1)});var ml=/[\-:]([a-z])/g;function yl(A){return A[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(A){var e=A.replace(ml,yl);KA[e]=new JA(e,1,!1,A,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(A){var e=A.replace(ml,yl);KA[e]=new JA(e,1,!1,A,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(A){var e=A.replace(ml,yl);KA[e]=new JA(e,1,!1,A,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(A){KA[A]=new JA(A,1,!1,A.toLowerCase(),null,!1,!1)});KA.xlinkHref=new JA("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(A){KA[A]=new JA(A,1,!1,A.toLowerCase(),null,!0,!0)});function El(A,e,t,r){var n=KA.hasOwnProperty(e)?KA[e]:null;(n!==null?n.type!==0:r||!(2a||n[s]!==i[a]){var l=` `+n[s].replace(" at new "," at ");return A.displayName&&l.includes("")&&(l=l.replace("",A.displayName)),l}while(1<=s&&0<=a);break}}}finally{cs=!1,Error.prepareStackTrace=t}return(A=A?A.displayName||A.name:"")?jr(A):""}function Op(A){switch(A.tag){case 5:return jr(A.type);case 16:return jr("Lazy");case 13:return jr("Suspense");case 19:return jr("SuspenseList");case 0:case 2:case 15:return A=fs(A.type,!1),A;case 11:return A=fs(A.type.render,!1),A;case 1:return A=fs(A.type,!0),A;default:return""}}function aa(A){if(A==null)return null;if(typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case ir:return"Fragment";case nr:return"Portal";case ia:return"Profiler";case Hl:return"StrictMode";case oa:return"Suspense";case sa:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case eB:return(A.displayName||"Context")+".Consumer";case AB:return(A._context.displayName||"Context")+".Provider";case Il:var e=A.render;return A=A.displayName,A||(A=e.displayName||e.name||"",A=A!==""?"ForwardRef("+A+")":"ForwardRef"),A;case _l:return e=A.displayName||null,e!==null?e:aa(A.type)||"Memo";case rt:e=A._payload,A=A._init;try{return aa(A(e))}catch{}}return null}function kp(A){var e=A.type;switch(A.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return A=e.render,A=A.displayName||A.name||"",e.displayName||(A!==""?"ForwardRef("+A+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return aa(e);case 8:return e===Hl?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function Ft(A){switch(typeof A){case"boolean":case"number":case"string":case"undefined":return A;case"object":return A;default:return""}}function rB(A){var e=A.type;return(A=A.nodeName)&&A.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Mp(A){var e=rB(A)?"checked":"value",t=Object.getOwnPropertyDescriptor(A.constructor.prototype,e),r=""+A[e];if(!A.hasOwnProperty(e)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var n=t.get,i=t.set;return Object.defineProperty(A,e,{configurable:!0,get:function(){return n.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(A,e,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){A._valueTracker=null,delete A[e]}}}}function Zn(A){A._valueTracker||(A._valueTracker=Mp(A))}function nB(A){if(!A)return!1;var e=A._valueTracker;if(!e)return!0;var t=e.getValue(),r="";return A&&(r=rB(A)?A.checked?"true":"false":A.value),A=r,A!==t?(e.setValue(A),!0):!1}function Zi(A){if(A=A||(typeof document<"u"?document:void 0),typeof A>"u")return null;try{return A.activeElement||A.body}catch{return A.body}}function la(A,e){var t=e.checked;return uA({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??A._wrapperState.initialChecked})}function Ku(A,e){var t=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;t=Ft(e.value!=null?e.value:t),A._wrapperState={initialChecked:r,initialValue:t,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function iB(A,e){e=e.checked,e!=null&&El(A,"checked",e,!1)}function ua(A,e){iB(A,e);var t=Ft(e.value),r=e.type;if(t!=null)r==="number"?(t===0&&A.value===""||A.value!=t)&&(A.value=""+t):A.value!==""+t&&(A.value=""+t);else if(r==="submit"||r==="reset"){A.removeAttribute("value");return}e.hasOwnProperty("value")?ca(A,e.type,t):e.hasOwnProperty("defaultValue")&&ca(A,e.type,Ft(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(A.defaultChecked=!!e.defaultChecked)}function Du(A,e,t){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+A._wrapperState.initialValue,t||e===A.value||(A.value=e),A.defaultValue=e}t=A.name,t!==""&&(A.name=""),A.defaultChecked=!!A._wrapperState.initialChecked,t!==""&&(A.name=t)}function ca(A,e,t){(e!=="number"||Zi(A.ownerDocument)!==A)&&(t==null?A.defaultValue=""+A._wrapperState.initialValue:A.defaultValue!==""+t&&(A.defaultValue=""+t))}var Zr=Array.isArray;function wr(A,e,t,r){if(A=A.options,e){e={};for(var n=0;n"+e.valueOf().toString()+"",e=$n.firstChild;A.firstChild;)A.removeChild(A.firstChild);for(;e.firstChild;)A.appendChild(e.firstChild)}});function Fn(A,e){if(e){var t=A.firstChild;if(t&&t===A.lastChild&&t.nodeType===3){t.nodeValue=e;return}}A.textContent=e}var an={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},Rp=["Webkit","ms","Moz","O"];Object.keys(an).forEach(function(A){Rp.forEach(function(e){e=e+A.charAt(0).toUpperCase()+A.substring(1),an[e]=an[A]})});function lB(A,e,t){return e==null||typeof e=="boolean"||e===""?"":t||typeof e!="number"||e===0||an.hasOwnProperty(A)&&an[A]?(""+e).trim():e+"px"}function uB(A,e){A=A.style;for(var t in e)if(e.hasOwnProperty(t)){var r=t.indexOf("--")===0,n=lB(t,e[t],r);t==="float"&&(t="cssFloat"),r?A.setProperty(t,n):A[t]=n}}var Np=uA({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 da(A,e){if(e){if(Np[A]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(_(137,A));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(_(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(_(61))}if(e.style!=null&&typeof e.style!="object")throw Error(_(62))}}function ga(A,e){if(A.indexOf("-")===-1)return typeof e.is=="string";switch(A){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 pa=null;function Sl(A){return A=A.target||A.srcElement||window,A.correspondingUseElement&&(A=A.correspondingUseElement),A.nodeType===3?A.parentNode:A}var wa=null,hr=null,Qr=null;function Mu(A){if(A=Xn(A)){if(typeof wa!="function")throw Error(_(280));var e=A.stateNode;e&&(e=ko(e),wa(A.stateNode,A.type,e))}}function cB(A){hr?Qr?Qr.push(A):Qr=[A]:hr=A}function fB(){if(hr){var A=hr,e=Qr;if(Qr=hr=null,Mu(A),e)for(A=0;A>>=0,A===0?32:31-(Zp(A)/$p|0)|0}var qn=64,Ai=4194304;function $r(A){switch(A&-A){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 A&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return A&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return A}}function eo(A,e){var t=A.pendingLanes;if(t===0)return 0;var r=0,n=A.suspendedLanes,i=A.pingedLanes,s=t&268435455;if(s!==0){var a=s&~n;a!==0?r=$r(a):(i&=s,i!==0&&(r=$r(i)))}else s=t&~n,s!==0?r=$r(s):i!==0&&(r=$r(i));if(r===0)return 0;if(e!==0&&e!==r&&!(e&n)&&(n=r&-r,i=e&-e,n>=i||n===16&&(i&4194240)!==0))return e;if(r&4&&(r|=t&16),e=A.entangledLanes,e!==0)for(A=A.entanglements,e&=r;0t;t++)e.push(A);return e}function Gn(A,e,t){A.pendingLanes|=e,e!==536870912&&(A.suspendedLanes=0,A.pingedLanes=0),A=A.eventTimes,e=31-Ee(e),A[e]=t}function tw(A,e){var t=A.pendingLanes&~e;A.pendingLanes=e,A.suspendedLanes=0,A.pingedLanes=0,A.expiredLanes&=e,A.mutableReadLanes&=e,A.entangledLanes&=e,e=A.entanglements;var r=A.eventTimes;for(A=A.expirationTimes;0=un),Ju=" ",Yu=!1;function LB(A,e){switch(A){case"keyup":return Sw.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function TB(A){return A=A.detail,typeof A=="object"&&"data"in A?A.data:null}var or=!1;function Lw(A,e){switch(A){case"compositionend":return TB(e);case"keypress":return e.which!==32?null:(Yu=!0,Ju);case"textInput":return A=e.data,A===Ju&&Yu?null:A;default:return null}}function Tw(A,e){if(or)return A==="compositionend"||!Ml&&LB(A,e)?(A=SB(),Mi=Dl=at=null,or=!1,A):null;switch(A){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:t,offset:e-A};A=r}A:{for(;t;){if(t.nextSibling){t=t.nextSibling;break A}t=t.parentNode}t=void 0}t=$u(t)}}function kB(A,e){return A&&e?A===e?!0:A&&A.nodeType===3?!1:e&&e.nodeType===3?kB(A,e.parentNode):"contains"in A?A.contains(e):A.compareDocumentPosition?!!(A.compareDocumentPosition(e)&16):!1:!1}function MB(){for(var A=window,e=Zi();e instanceof A.HTMLIFrameElement;){try{var t=typeof e.contentWindow.location.href=="string"}catch{t=!1}if(t)A=e.contentWindow;else break;e=Zi(A.document)}return e}function Rl(A){var e=A&&A.nodeName&&A.nodeName.toLowerCase();return e&&(e==="input"&&(A.type==="text"||A.type==="search"||A.type==="tel"||A.type==="url"||A.type==="password")||e==="textarea"||A.contentEditable==="true")}function bw(A){var e=MB(),t=A.focusedElem,r=A.selectionRange;if(e!==t&&t&&t.ownerDocument&&kB(t.ownerDocument.documentElement,t)){if(r!==null&&Rl(t)){if(e=r.start,A=r.end,A===void 0&&(A=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(A,t.value.length);else if(A=(e=t.ownerDocument||document)&&e.defaultView||window,A.getSelection){A=A.getSelection();var n=t.textContent.length,i=Math.min(r.start,n);r=r.end===void 0?i:Math.min(r.end,n),!A.extend&&i>r&&(n=r,r=i,i=n),n=qu(t,i);var s=qu(t,r);n&&s&&(A.rangeCount!==1||A.anchorNode!==n.node||A.anchorOffset!==n.offset||A.focusNode!==s.node||A.focusOffset!==s.offset)&&(e=e.createRange(),e.setStart(n.node,n.offset),A.removeAllRanges(),i>r?(A.addRange(e),A.extend(s.node,s.offset)):(e.setEnd(s.node,s.offset),A.addRange(e)))}}for(e=[],A=t;A=A.parentNode;)A.nodeType===1&&e.push({element:A,left:A.scrollLeft,top:A.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,sr=null,Fa=null,fn=null,ma=!1;function Ac(A,e,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;ma||sr==null||sr!==Zi(r)||(r=sr,"selectionStart"in r&&Rl(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),fn&&_n(fn,r)||(fn=r,r=no(Fa,"onSelect"),0ur||(A.current=Sa[ur],Sa[ur]=null,ur--)}function q(A,e){ur++,Sa[ur]=A.current,A.current=e}var mt={},PA=Ht(mt),ZA=Ht(!1),Pt=mt;function yr(A,e){var t=A.type.contextTypes;if(!t)return mt;var r=A.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var n={},i;for(i in t)n[i]=e[i];return r&&(A=A.stateNode,A.__reactInternalMemoizedUnmaskedChildContext=e,A.__reactInternalMemoizedMaskedChildContext=n),n}function $A(A){return A=A.childContextTypes,A!=null}function oo(){rA(ZA),rA(PA)}function sc(A,e,t){if(PA.current!==mt)throw Error(_(168));q(PA,e),q(ZA,t)}function JB(A,e,t){var r=A.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var n in r)if(!(n in e))throw Error(_(108,kp(A)||"Unknown",n));return uA({},t,r)}function so(A){return A=(A=A.stateNode)&&A.__reactInternalMemoizedMergedChildContext||mt,Pt=PA.current,q(PA,A),q(ZA,ZA.current),!0}function ac(A,e,t){var r=A.stateNode;if(!r)throw Error(_(169));t?(A=JB(A,e,Pt),r.__reactInternalMemoizedMergedChildContext=A,rA(ZA),rA(PA),q(PA,A)):rA(ZA),q(ZA,t)}var Ge=null,Mo=!1,Es=!1;function YB(A){Ge===null?Ge=[A]:Ge.push(A)}function Ah(A){Mo=!0,YB(A)}function It(){if(!Es&&Ge!==null){Es=!0;var A=0,e=j;try{var t=Ge;for(j=1;A>=s,n-=s,Ve=1<<32-Ee(e)+n|t<I?(y=m,m=null):y=m.sibling;var L=u(d,m,h[I],v);if(L===null){m===null&&(m=y);break}A&&m&&L.alternate===null&&e(d,m),p=i(L,p,I),C===null?U=L:C.sibling=L,C=L,m=y}if(I===h.length)return t(d,m),oA&&St(d,I),U;if(m===null){for(;II?(y=m,m=null):y=m.sibling;var G=u(d,m,L.value,v);if(G===null){m===null&&(m=y);break}A&&m&&G.alternate===null&&e(d,m),p=i(G,p,I),C===null?U=G:C.sibling=G,C=G,m=y}if(L.done)return t(d,m),oA&&St(d,I),U;if(m===null){for(;!L.done;I++,L=h.next())L=o(d,L.value,v),L!==null&&(p=i(L,p,I),C===null?U=L:C.sibling=L,C=L);return oA&&St(d,I),U}for(m=r(d,m);!L.done;I++,L=h.next())L=f(m,d,I,L.value,v),L!==null&&(A&&L.alternate!==null&&m.delete(L.key===null?I:L.key),p=i(L,p,I),C===null?U=L:C.sibling=L,C=L);return A&&m.forEach(function(nA){return e(d,nA)}),oA&&St(d,I),U}function Q(d,p,h,v){if(typeof h=="object"&&h!==null&&h.type===ir&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case jn:A:{for(var U=h.key,C=p;C!==null;){if(C.key===U){if(U=h.type,U===ir){if(C.tag===7){t(d,C.sibling),p=n(C,h.props.children),p.return=d,d=p;break A}}else if(C.elementType===U||typeof U=="object"&&U!==null&&U.$$typeof===rt&&cc(U)===C.type){t(d,C.sibling),p=n(C,h.props),p.ref=Gr(d,C,h),p.return=d,d=p;break A}t(d,C);break}else e(d,C);C=C.sibling}h.type===ir?(p=Mt(h.props.children,d.mode,v,h.key),p.return=d,d=p):(v=Wi(h.type,h.key,h.props,null,d.mode,v),v.ref=Gr(d,p,h),v.return=d,d=v)}return s(d);case nr:A:{for(C=h.key;p!==null;){if(p.key===C)if(p.tag===4&&p.stateNode.containerInfo===h.containerInfo&&p.stateNode.implementation===h.implementation){t(d,p.sibling),p=n(p,h.children||[]),p.return=d,d=p;break A}else{t(d,p);break}else e(d,p);p=p.sibling}p=Ks(h,d.mode,v),p.return=d,d=p}return s(d);case rt:return C=h._init,Q(d,p,C(h._payload),v)}if(Zr(h))return g(d,p,h,v);if(Mr(h))return w(d,p,h,v);si(d,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,p!==null&&p.tag===6?(t(d,p.sibling),p=n(p,h),p.return=d,d=p):(t(d,p),p=Ts(h,d.mode,v),p.return=d,d=p),s(d)):t(d,p)}return Q}var Hr=$B(!0),qB=$B(!1),uo=Ht(null),co=null,Br=null,Gl=null;function Vl(){Gl=Br=co=null}function Xl(A){var e=uo.current;rA(uo),A._currentValue=e}function Ta(A,e,t){for(;A!==null;){var r=A.alternate;if((A.childLanes&e)!==e?(A.childLanes|=e,r!==null&&(r.childLanes|=e)):r!==null&&(r.childLanes&e)!==e&&(r.childLanes|=e),A===t)break;A=A.return}}function vr(A,e){co=A,Gl=Br=null,A=A.dependencies,A!==null&&A.firstContext!==null&&(A.lanes&e&&(jA=!0),A.firstContext=null)}function pe(A){var e=A._currentValue;if(Gl!==A)if(A={context:A,memoizedValue:e,next:null},Br===null){if(co===null)throw Error(_(308));Br=A,co.dependencies={lanes:0,firstContext:A}}else Br=Br.next=A;return e}var Kt=null;function Wl(A){Kt===null?Kt=[A]:Kt.push(A)}function Ad(A,e,t,r){var n=e.interleaved;return n===null?(t.next=t,Wl(e)):(t.next=n.next,n.next=t),e.interleaved=t,je(A,r)}function je(A,e){A.lanes|=e;var t=A.alternate;for(t!==null&&(t.lanes|=e),t=A,A=A.return;A!==null;)A.childLanes|=e,t=A.alternate,t!==null&&(t.childLanes|=e),t=A,A=A.return;return t.tag===3?t.stateNode:null}var nt=!1;function Jl(A){A.updateQueue={baseState:A.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ed(A,e){A=A.updateQueue,e.updateQueue===A&&(e.updateQueue={baseState:A.baseState,firstBaseUpdate:A.firstBaseUpdate,lastBaseUpdate:A.lastBaseUpdate,shared:A.shared,effects:A.effects})}function We(A,e){return{eventTime:A,lane:e,tag:0,payload:null,callback:null,next:null}}function wt(A,e,t){var r=A.updateQueue;if(r===null)return null;if(r=r.shared,X&2){var n=r.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),r.pending=e,je(A,t)}return n=r.interleaved,n===null?(e.next=e,Wl(r)):(e.next=n.next,n.next=e),r.interleaved=e,je(A,t)}function Ni(A,e,t){if(e=e.updateQueue,e!==null&&(e=e.shared,(t&4194240)!==0)){var r=e.lanes;r&=A.pendingLanes,t|=r,e.lanes=t,Ll(A,t)}}function fc(A,e){var t=A.updateQueue,r=A.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var n=null,i=null;if(t=t.firstBaseUpdate,t!==null){do{var s={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};i===null?n=i=s:i=i.next=s,t=t.next}while(t!==null);i===null?n=i=e:i=i.next=e}else n=i=e;t={baseState:r.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:r.shared,effects:r.effects},A.updateQueue=t;return}A=t.lastBaseUpdate,A===null?t.firstBaseUpdate=e:A.next=e,t.lastBaseUpdate=e}function fo(A,e,t,r){var n=A.updateQueue;nt=!1;var i=n.firstBaseUpdate,s=n.lastBaseUpdate,a=n.shared.pending;if(a!==null){n.shared.pending=null;var l=a,c=l.next;l.next=null,s===null?i=c:s.next=c,s=l;var B=A.alternate;B!==null&&(B=B.updateQueue,a=B.lastBaseUpdate,a!==s&&(a===null?B.firstBaseUpdate=c:a.next=c,B.lastBaseUpdate=l))}if(i!==null){var o=n.baseState;s=0,B=c=l=null,a=i;do{var u=a.lane,f=a.eventTime;if((r&u)===u){B!==null&&(B=B.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});A:{var g=A,w=a;switch(u=e,f=t,w.tag){case 1:if(g=w.payload,typeof g=="function"){o=g.call(f,o,u);break A}o=g;break A;case 3:g.flags=g.flags&-65537|128;case 0:if(g=w.payload,u=typeof g=="function"?g.call(f,o,u):g,u==null)break A;o=uA({},o,u);break A;case 2:nt=!0}}a.callback!==null&&a.lane!==0&&(A.flags|=64,u=n.effects,u===null?n.effects=[a]:u.push(a))}else f={eventTime:f,lane:u,tag:a.tag,payload:a.payload,callback:a.callback,next:null},B===null?(c=B=f,l=o):B=B.next=f,s|=u;if(a=a.next,a===null){if(a=n.shared.pending,a===null)break;u=a,a=u.next,u.next=null,n.lastBaseUpdate=u,n.shared.pending=null}}while(!0);if(B===null&&(l=o),n.baseState=l,n.firstBaseUpdate=c,n.lastBaseUpdate=B,e=n.shared.interleaved,e!==null){n=e;do s|=n.lane,n=n.next;while(n!==e)}else i===null&&(n.shared.lanes=0);Vt|=s,A.lanes=s,A.memoizedState=o}}function Bc(A,e,t){if(A=e.effects,e.effects=null,A!==null)for(e=0;et?t:4,A(!0);var r=Is.transition;Is.transition={};try{A(!1),e()}finally{j=t,Is.transition=r}}function hd(){return we().memoizedState}function nh(A,e,t){var r=Qt(A);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Qd(A))Cd(e,t);else if(t=Ad(A,e,t,r),t!==null){var n=XA();He(t,A,r,n),vd(t,e,r)}}function ih(A,e,t){var r=Qt(A),n={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Qd(A))Cd(e,n);else{var i=A.alternate;if(A.lanes===0&&(i===null||i.lanes===0)&&(i=e.lastRenderedReducer,i!==null))try{var s=e.lastRenderedState,a=i(s,t);if(n.hasEagerState=!0,n.eagerState=a,Ie(a,s)){var l=e.interleaved;l===null?(n.next=n,Wl(e)):(n.next=l.next,l.next=n),e.interleaved=n;return}}catch{}finally{}t=Ad(A,e,n,r),t!==null&&(n=XA(),He(t,A,r,n),vd(t,e,r))}}function Qd(A){var e=A.alternate;return A===lA||e!==null&&e===lA}function Cd(A,e){Bn=go=!0;var t=A.pending;t===null?e.next=e:(e.next=t.next,t.next=e),A.pending=e}function vd(A,e,t){if(t&4194240){var r=e.lanes;r&=A.pendingLanes,t|=r,e.lanes=t,Ll(A,t)}}var po={readContext:pe,useCallback:OA,useContext:OA,useEffect:OA,useImperativeHandle:OA,useInsertionEffect:OA,useLayoutEffect:OA,useMemo:OA,useReducer:OA,useRef:OA,useState:OA,useDebugValue:OA,useDeferredValue:OA,useTransition:OA,useMutableSource:OA,useSyncExternalStore:OA,useId:OA,unstable_isNewReconciler:!1},oh={readContext:pe,useCallback:function(A,e){return Le().memoizedState=[A,e===void 0?null:e],A},useContext:pe,useEffect:gc,useImperativeHandle:function(A,e,t){return t=t!=null?t.concat([A]):null,bi(4194308,4,Bd.bind(null,e,A),t)},useLayoutEffect:function(A,e){return bi(4194308,4,A,e)},useInsertionEffect:function(A,e){return bi(4,2,A,e)},useMemo:function(A,e){var t=Le();return e=e===void 0?null:e,A=A(),t.memoizedState=[A,e],A},useReducer:function(A,e,t){var r=Le();return e=t!==void 0?t(e):e,r.memoizedState=r.baseState=e,A={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:A,lastRenderedState:e},r.queue=A,A=A.dispatch=nh.bind(null,lA,A),[r.memoizedState,A]},useRef:function(A){var e=Le();return A={current:A},e.memoizedState=A},useState:dc,useDebugValue:eu,useDeferredValue:function(A){return Le().memoizedState=A},useTransition:function(){var A=dc(!1),e=A[0];return A=rh.bind(null,A[1]),Le().memoizedState=A,[e,A]},useMutableSource:function(){},useSyncExternalStore:function(A,e,t){var r=lA,n=Le();if(oA){if(t===void 0)throw Error(_(407));t=t()}else{if(t=e(),HA===null)throw Error(_(349));Gt&30||id(r,e,t)}n.memoizedState=t;var i={value:t,getSnapshot:e};return n.queue=i,gc(sd.bind(null,r,i,A),[A]),r.flags|=2048,kn(9,od.bind(null,r,i,t,e),void 0,null),t},useId:function(){var A=Le(),e=HA.identifierPrefix;if(oA){var t=Xe,r=Ve;t=(r&~(1<<32-Ee(r)-1)).toString(32)+t,e=":"+e+"R"+t,t=Dn++,0<\/script>",A=A.removeChild(A.firstChild)):typeof r.is=="string"?A=s.createElement(t,{is:r.is}):(A=s.createElement(t),t==="select"&&(s=A,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):A=s.createElementNS(A,t),A[Te]=e,A[Ln]=r,xd(A,e,!1,!1),e.stateNode=A;A:{switch(s=ga(t,r),t){case"dialog":tA("cancel",A),tA("close",A),n=r;break;case"iframe":case"object":case"embed":tA("load",A),n=r;break;case"video":case"audio":for(n=0;nSr&&(e.flags|=128,r=!0,Vr(i,!1),e.lanes=4194304)}else{if(!r)if(A=Bo(s),A!==null){if(e.flags|=128,r=!0,t=A.updateQueue,t!==null&&(e.updateQueue=t,e.flags|=4),Vr(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!oA)return kA(e),null}else 2*gA()-i.renderingStartTime>Sr&&t!==1073741824&&(e.flags|=128,r=!0,Vr(i,!1),e.lanes=4194304);i.isBackwards?(s.sibling=e.child,e.child=s):(t=i.last,t!==null?t.sibling=s:e.child=s,i.last=s)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=gA(),e.sibling=null,t=aA.current,q(aA,r?t&1|2:t&1),e):(kA(e),null);case 22:case 23:return su(),r=e.memoizedState!==null,A!==null&&A.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?te&1073741824&&(kA(e),e.subtreeFlags&6&&(e.flags|=8192)):kA(e),null;case 24:return null;case 25:return null}throw Error(_(156,e.tag))}function dh(A,e){switch(Pl(e),e.tag){case 1:return $A(e.type)&&oo(),A=e.flags,A&65536?(e.flags=A&-65537|128,e):null;case 3:return Ir(),rA(ZA),rA(PA),jl(),A=e.flags,A&65536&&!(A&128)?(e.flags=A&-65537|128,e):null;case 5:return zl(e),null;case 13:if(rA(aA),A=e.memoizedState,A!==null&&A.dehydrated!==null){if(e.alternate===null)throw Error(_(340));Er()}return A=e.flags,A&65536?(e.flags=A&-65537|128,e):null;case 19:return rA(aA),null;case 4:return Ir(),null;case 10:return Xl(e.type._context),null;case 22:case 23:return su(),null;case 24:return null;default:return null}}var li=!1,NA=!1,gh=typeof WeakSet=="function"?WeakSet:Set,D=null;function dr(A,e){var t=A.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){fA(A,e,r)}else t.current=null}function ba(A,e,t){try{t()}catch(r){fA(A,e,r)}}var Ec=!1;function ph(A,e){if(ya=to,A=MB(),Rl(A)){if("selectionStart"in A)var t={start:A.selectionStart,end:A.selectionEnd};else A:{t=(t=A.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var n=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break A}var s=0,a=-1,l=-1,c=0,B=0,o=A,u=null;e:for(;;){for(var f;o!==t||n!==0&&o.nodeType!==3||(a=s+n),o!==i||r!==0&&o.nodeType!==3||(l=s+r),o.nodeType===3&&(s+=o.nodeValue.length),(f=o.firstChild)!==null;)u=o,o=f;for(;;){if(o===A)break e;if(u===t&&++c===n&&(a=s),u===i&&++B===r&&(l=s),(f=o.nextSibling)!==null)break;o=u,u=o.parentNode}o=f}t=a===-1||l===-1?null:{start:a,end:l}}else t=null}t=t||{start:0,end:0}}else t=null;for(Ea={focusedElem:A,selectionRange:t},to=!1,D=e;D!==null;)if(e=D,A=e.child,(e.subtreeFlags&1028)!==0&&A!==null)A.return=e,D=A;else for(;D!==null;){e=D;try{var g=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var w=g.memoizedProps,Q=g.memoizedState,d=e.stateNode,p=d.getSnapshotBeforeUpdate(e.elementType===e.type?w:Fe(e.type,w),Q);d.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var h=e.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(v){fA(e,e.return,v)}if(A=e.sibling,A!==null){A.return=e.return,D=A;break}D=e.return}return g=Ec,Ec=!1,g}function dn(A,e,t){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do{if((n.tag&A)===A){var i=n.destroy;n.destroy=void 0,i!==void 0&&ba(e,t,i)}n=n.next}while(n!==r)}}function Po(A,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var t=e=e.next;do{if((t.tag&A)===A){var r=t.create;t.destroy=r()}t=t.next}while(t!==e)}}function Ga(A){var e=A.ref;if(e!==null){var t=A.stateNode;switch(A.tag){case 5:A=t;break;default:A=t}typeof e=="function"?e(A):e.current=A}}function Kd(A){var e=A.alternate;e!==null&&(A.alternate=null,Kd(e)),A.child=null,A.deletions=null,A.sibling=null,A.tag===5&&(e=A.stateNode,e!==null&&(delete e[Te],delete e[Ln],delete e[_a],delete e[$w],delete e[qw])),A.stateNode=null,A.return=null,A.dependencies=null,A.memoizedProps=null,A.memoizedState=null,A.pendingProps=null,A.stateNode=null,A.updateQueue=null}function Dd(A){return A.tag===5||A.tag===3||A.tag===4}function Hc(A){A:for(;;){for(;A.sibling===null;){if(A.return===null||Dd(A.return))return null;A=A.return}for(A.sibling.return=A.return,A=A.sibling;A.tag!==5&&A.tag!==6&&A.tag!==18;){if(A.flags&2||A.child===null||A.tag===4)continue A;A.child.return=A,A=A.child}if(!(A.flags&2))return A.stateNode}}function Va(A,e,t){var r=A.tag;if(r===5||r===6)A=A.stateNode,e?t.nodeType===8?t.parentNode.insertBefore(A,e):t.insertBefore(A,e):(t.nodeType===8?(e=t.parentNode,e.insertBefore(A,t)):(e=t,e.appendChild(A)),t=t._reactRootContainer,t!=null||e.onclick!==null||(e.onclick=io));else if(r!==4&&(A=A.child,A!==null))for(Va(A,e,t),A=A.sibling;A!==null;)Va(A,e,t),A=A.sibling}function Xa(A,e,t){var r=A.tag;if(r===5||r===6)A=A.stateNode,e?t.insertBefore(A,e):t.appendChild(A);else if(r!==4&&(A=A.child,A!==null))for(Xa(A,e,t),A=A.sibling;A!==null;)Xa(A,e,t),A=A.sibling}var SA=null,me=!1;function At(A,e,t){for(t=t.child;t!==null;)Od(A,e,t),t=t.sibling}function Od(A,e,t){if(Ke&&typeof Ke.onCommitFiberUnmount=="function")try{Ke.onCommitFiberUnmount(To,t)}catch{}switch(t.tag){case 5:NA||dr(t,e);case 6:var r=SA,n=me;SA=null,At(A,e,t),SA=r,me=n,SA!==null&&(me?(A=SA,t=t.stateNode,A.nodeType===8?A.parentNode.removeChild(t):A.removeChild(t)):SA.removeChild(t.stateNode));break;case 18:SA!==null&&(me?(A=SA,t=t.stateNode,A.nodeType===8?ys(A.parentNode,t):A.nodeType===1&&ys(A,t),Hn(A)):ys(SA,t.stateNode));break;case 4:r=SA,n=me,SA=t.stateNode.containerInfo,me=!0,At(A,e,t),SA=r,me=n;break;case 0:case 11:case 14:case 15:if(!NA&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){n=r=r.next;do{var i=n,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&ba(t,e,s),n=n.next}while(n!==r)}At(A,e,t);break;case 1:if(!NA&&(dr(t,e),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(a){fA(t,e,a)}At(A,e,t);break;case 21:At(A,e,t);break;case 22:t.mode&1?(NA=(r=NA)||t.memoizedState!==null,At(A,e,t),NA=r):At(A,e,t);break;default:At(A,e,t)}}function Ic(A){var e=A.updateQueue;if(e!==null){A.updateQueue=null;var t=A.stateNode;t===null&&(t=A.stateNode=new gh),e.forEach(function(r){var n=yh.bind(null,A,r);t.has(r)||(t.add(r),r.then(n,n))})}}function Ce(A,e){var t=e.deletions;if(t!==null)for(var r=0;rn&&(n=s),r&=~i}if(r=n,r=gA()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hh(r/1960))-r,10A?16:A,lt===null)var r=!1;else{if(A=lt,lt=null,Qo=0,X&6)throw Error(_(331));var n=X;for(X|=4,D=A.current;D!==null;){var i=D,s=i.child;if(D.flags&16){var a=i.deletions;if(a!==null){for(var l=0;lgA()-iu?kt(A,0):nu|=t),qA(A,e)}function Vd(A,e){e===0&&(A.mode&1?(e=Ai,Ai<<=1,!(Ai&130023424)&&(Ai=4194304)):e=1);var t=XA();A=je(A,e),A!==null&&(Gn(A,e,t),qA(A,t))}function mh(A){var e=A.memoizedState,t=0;e!==null&&(t=e.retryLane),Vd(A,t)}function yh(A,e){var t=0;switch(A.tag){case 13:var r=A.stateNode,n=A.memoizedState;n!==null&&(t=n.retryLane);break;case 19:r=A.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(e),Vd(A,t)}var Xd;Xd=function(A,e,t){if(A!==null)if(A.memoizedProps!==e.pendingProps||ZA.current)jA=!0;else{if(!(A.lanes&t)&&!(e.flags&128))return jA=!1,fh(A,e,t);jA=!!(A.flags&131072)}else jA=!1,oA&&e.flags&1048576&&zB(e,lo,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;Gi(A,e),A=e.pendingProps;var n=yr(e,PA.current);vr(e,t),n=$l(null,e,r,A,n,t);var i=ql();return e.flags|=1,typeof n=="object"&&n!==null&&typeof n.render=="function"&&n.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,$A(r)?(i=!0,so(e)):i=!1,e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,Jl(e),n.updater=No,e.stateNode=n,n._reactInternals=e,Da(e,r,A,t),e=Ma(null,e,r,!0,i,t)):(e.tag=0,oA&&i&&Nl(e),VA(null,e,n,t),e=e.child),e;case 16:r=e.elementType;A:{switch(Gi(A,e),A=e.pendingProps,n=r._init,r=n(r._payload),e.type=r,n=e.tag=Hh(r),A=Fe(r,A),n){case 0:e=ka(null,e,r,A,t);break A;case 1:e=Fc(null,e,r,A,t);break A;case 11:e=vc(null,e,r,A,t);break A;case 14:e=Uc(null,e,r,Fe(r.type,A),t);break A}throw Error(_(306,r,""))}return e;case 0:return r=e.type,n=e.pendingProps,n=e.elementType===r?n:Fe(r,n),ka(A,e,r,n,t);case 1:return r=e.type,n=e.pendingProps,n=e.elementType===r?n:Fe(r,n),Fc(A,e,r,n,t);case 3:A:{if(Id(e),A===null)throw Error(_(387));r=e.pendingProps,i=e.memoizedState,n=i.element,ed(A,e),fo(e,r,null,t);var s=e.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){n=_r(Error(_(423)),e),e=mc(A,e,r,t,n);break A}else if(r!==n){n=_r(Error(_(424)),e),e=mc(A,e,r,t,n);break A}else for(re=pt(e.stateNode.containerInfo.firstChild),ne=e,oA=!0,ye=null,t=qB(e,null,r,t),e.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Er(),r===n){e=Ze(A,e,t);break A}VA(A,e,r,t)}e=e.child}return e;case 5:return td(e),A===null&&La(e),r=e.type,n=e.pendingProps,i=A!==null?A.memoizedProps:null,s=n.children,Ha(r,n)?s=null:i!==null&&Ha(r,i)&&(e.flags|=32),Hd(A,e),VA(A,e,s,t),e.child;case 6:return A===null&&La(e),null;case 13:return _d(A,e,t);case 4:return Yl(e,e.stateNode.containerInfo),r=e.pendingProps,A===null?e.child=Hr(e,null,r,t):VA(A,e,r,t),e.child;case 11:return r=e.type,n=e.pendingProps,n=e.elementType===r?n:Fe(r,n),vc(A,e,r,n,t);case 7:return VA(A,e,e.pendingProps,t),e.child;case 8:return VA(A,e,e.pendingProps.children,t),e.child;case 12:return VA(A,e,e.pendingProps.children,t),e.child;case 10:A:{if(r=e.type._context,n=e.pendingProps,i=e.memoizedProps,s=n.value,q(uo,r._currentValue),r._currentValue=s,i!==null)if(Ie(i.value,s)){if(i.children===n.children&&!ZA.current){e=Ze(A,e,t);break A}}else for(i=e.child,i!==null&&(i.return=e);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=We(-1,t&-t),l.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var B=c.pending;B===null?l.next=l:(l.next=B.next,B.next=l),c.pending=l}}i.lanes|=t,l=i.alternate,l!==null&&(l.lanes|=t),Ta(i.return,t,e),a.lanes|=t;break}l=l.next}}else if(i.tag===10)s=i.type===e.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(_(341));s.lanes|=t,a=s.alternate,a!==null&&(a.lanes|=t),Ta(s,t,e),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===e){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}VA(A,e,n.children,t),e=e.child}return e;case 9:return n=e.type,r=e.pendingProps.children,vr(e,t),n=pe(n),r=r(n),e.flags|=1,VA(A,e,r,t),e.child;case 14:return r=e.type,n=Fe(r,e.pendingProps),n=Fe(r.type,n),Uc(A,e,r,n,t);case 15:return yd(A,e,e.type,e.pendingProps,t);case 17:return r=e.type,n=e.pendingProps,n=e.elementType===r?n:Fe(r,n),Gi(A,e),e.tag=1,$A(r)?(A=!0,so(e)):A=!1,vr(e,t),Ud(e,r,n),Da(e,r,n,t),Ma(null,e,r,!0,A,t);case 19:return Sd(A,e,t);case 22:return Ed(A,e,t)}throw Error(_(156,e.tag))};function Wd(A,e){return QB(A,e)}function Eh(A,e,t,r){this.tag=A,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function fe(A,e,t,r){return new Eh(A,e,t,r)}function lu(A){return A=A.prototype,!(!A||!A.isReactComponent)}function Hh(A){if(typeof A=="function")return lu(A)?1:0;if(A!=null){if(A=A.$$typeof,A===Il)return 11;if(A===_l)return 14}return 2}function Ct(A,e){var t=A.alternate;return t===null?(t=fe(A.tag,e,A.key,A.mode),t.elementType=A.elementType,t.type=A.type,t.stateNode=A.stateNode,t.alternate=A,A.alternate=t):(t.pendingProps=e,t.type=A.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=A.flags&14680064,t.childLanes=A.childLanes,t.lanes=A.lanes,t.child=A.child,t.memoizedProps=A.memoizedProps,t.memoizedState=A.memoizedState,t.updateQueue=A.updateQueue,e=A.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},t.sibling=A.sibling,t.index=A.index,t.ref=A.ref,t}function Wi(A,e,t,r,n,i){var s=2;if(r=A,typeof A=="function")lu(A)&&(s=1);else if(typeof A=="string")s=5;else A:switch(A){case ir:return Mt(t.children,n,i,e);case Hl:s=8,n|=8;break;case ia:return A=fe(12,t,e,n|2),A.elementType=ia,A.lanes=i,A;case oa:return A=fe(13,t,e,n),A.elementType=oa,A.lanes=i,A;case sa:return A=fe(19,t,e,n),A.elementType=sa,A.lanes=i,A;case tB:return Go(t,n,i,e);default:if(typeof A=="object"&&A!==null)switch(A.$$typeof){case AB:s=10;break A;case eB:s=9;break A;case Il:s=11;break A;case _l:s=14;break A;case rt:s=16,r=null;break A}throw Error(_(130,A==null?A:typeof A,""))}return e=fe(s,t,e,n),e.elementType=A,e.type=r,e.lanes=i,e}function Mt(A,e,t,r){return A=fe(7,A,r,e),A.lanes=t,A}function Go(A,e,t,r){return A=fe(22,A,r,e),A.elementType=tB,A.lanes=t,A.stateNode={isHidden:!1},A}function Ts(A,e,t){return A=fe(6,A,null,e),A.lanes=t,A}function Ks(A,e,t){return e=fe(4,A.children!==null?A.children:[],A.key,e),e.lanes=t,e.stateNode={containerInfo:A.containerInfo,pendingChildren:null,implementation:A.implementation},e}function Ih(A,e,t,r,n){this.tag=e,this.containerInfo=A,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ds(0),this.expirationTimes=ds(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ds(0),this.identifierPrefix=r,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function uu(A,e,t,r,n,i,s,a,l){return A=new Ih(A,e,t,a,l),e===1?(e=1,i===!0&&(e|=8)):e=0,i=fe(3,null,null,e),A.current=i,i.stateNode=A,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Jl(i),A}function _h(A,e,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(jd)}catch(A){console.error(A)}}jd(),jf.exports=oe;var Kh=jf.exports,Oc=Kh;ra.createRoot=Oc.createRoot,ra.hydrateRoot=Oc.hydrateRoot;var du={},Zd={exports:{}},Dh="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Oh=Dh,kh=Oh;function $d(){}function qd(){}qd.resetWarningCache=$d;var Mh=function(){function A(r,n,i,s,a,l){if(l!==kh){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}A.isRequired=A;function e(){return A}var t={array:A,bigint:A,bool:A,func:A,number:A,object:A,string:A,symbol:A,any:A,arrayOf:e,element:A,elementType:A,instanceOf:e,node:A,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:qd,resetWarningCache:$d};return t.PropTypes=t,t};Zd.exports=Mh();var Rh=Zd.exports,Ds={};/*! * howler.js v2.2.4 * howlerjs.com * * (c) 2013-2020, James Simpson of GoldFire Studios * goldfirestudios.com * * MIT License */var kc;function Nh(){return kc||(kc=1,function(A){(function(){var e=function(){this.init()};e.prototype={init:function(){var o=this||t;return o._counter=1e3,o._html5AudioPool=[],o.html5PoolSize=10,o._codecs={},o._howls=[],o._muted=!1,o._volume=1,o._canPlayEvent="canplaythrough",o._navigator=typeof window<"u"&&window.navigator?window.navigator:null,o.masterGain=null,o.noAudio=!1,o.usingWebAudio=!0,o.autoSuspend=!0,o.ctx=null,o.autoUnlock=!0,o._setup(),o},volume:function(o){var u=this||t;if(o=parseFloat(o),u.ctx||B(),typeof o<"u"&&o>=0&&o<=1){if(u._volume=o,u._muted)return u;u.usingWebAudio&&u.masterGain.gain.setValueAtTime(o,t.ctx.currentTime);for(var f=0;f=0;u--)o._howls[u].unload();return o.usingWebAudio&&o.ctx&&typeof o.ctx.close<"u"&&(o.ctx.close(),o.ctx=null,B()),o},codecs:function(o){return(this||t)._codecs[o.replace(/^x-/,"")]},_setup:function(){var o=this||t;if(o.state=o.ctx&&o.ctx.state||"suspended",o._autoSuspend(),!o.usingWebAudio)if(typeof Audio<"u")try{var u=new Audio;typeof u.oncanplaythrough>"u"&&(o._canPlayEvent="canplay")}catch{o.noAudio=!0}else o.noAudio=!0;try{var u=new Audio;u.muted&&(o.noAudio=!0)}catch{}return o.noAudio||o._setupCodecs(),o},_setupCodecs:function(){var o=this||t,u=null;try{u=typeof Audio<"u"?new Audio:null}catch{return o}if(!u||typeof u.canPlayType!="function")return o;var f=u.canPlayType("audio/mpeg;").replace(/^no$/,""),g=o._navigator?o._navigator.userAgent:"",w=g.match(/OPR\/(\d+)/g),Q=w&&parseInt(w[0].split("/")[1],10)<33,d=g.indexOf("Safari")!==-1&&g.indexOf("Chrome")===-1,p=g.match(/Version\/(.*?) /),h=d&&p&&parseInt(p[1],10)<15;return o._codecs={mp3:!!(!Q&&(f||u.canPlayType("audio/mp3;").replace(/^no$/,""))),mpeg:!!f,opus:!!u.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!u.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!u.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(u.canPlayType('audio/wav; codecs="1"')||u.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!u.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!u.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(u.canPlayType("audio/x-m4a;")||u.canPlayType("audio/m4a;")||u.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(u.canPlayType("audio/x-m4b;")||u.canPlayType("audio/m4b;")||u.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(u.canPlayType("audio/x-mp4;")||u.canPlayType("audio/mp4;")||u.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!(!h&&u.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!!(!h&&u.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!u.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(u.canPlayType("audio/x-flac;")||u.canPlayType("audio/flac;")).replace(/^no$/,"")},o},_unlockAudio:function(){var o=this||t;if(!(o._audioUnlocked||!o.ctx)){o._audioUnlocked=!1,o.autoUnlock=!1,!o._mobileUnloaded&&o.ctx.sampleRate!==44100&&(o._mobileUnloaded=!0,o.unload()),o._scratchBuffer=o.ctx.createBuffer(1,1,22050);var u=function(f){for(;o._html5AudioPool.length"u"?h.noteOn(0):h.start(0),typeof o.ctx.resume=="function"&&o.ctx.resume(),h.onended=function(){h.disconnect(0),o._audioUnlocked=!0,document.removeEventListener("touchstart",u,!0),document.removeEventListener("touchend",u,!0),document.removeEventListener("click",u,!0),document.removeEventListener("keydown",u,!0);for(var v=0;v"u"||!t.usingWebAudio)){for(var u=0;u"u"||!t.usingWebAudio))return o.state==="running"&&o.ctx.state!=="interrupted"&&o._suspendTimer?(clearTimeout(o._suspendTimer),o._suspendTimer=null):o.state==="suspended"||o.state==="running"&&o.ctx.state==="interrupted"?(o.ctx.resume().then(function(){o.state="running";for(var u=0;u"u"&&(o="__default",!f._playLock)){for(var w=0,Q=0;Q0?d._seek:f._sprite[o][0]/1e3),v=Math.max(0,(f._sprite[o][0]+f._sprite[o][1])/1e3-h),U=v*1e3/Math.abs(d._rate),C=f._sprite[o][0]/1e3,m=(f._sprite[o][0]+f._sprite[o][1])/1e3;d._sprite=o,d._ended=!1;var I=function(){d._paused=!1,d._seek=h,d._start=C,d._stop=m,d._loop=!!(d._loop||f._sprite[o][2])};if(h>=m){f._ended(d);return}var y=d._node;if(f._webAudio){var L=function(){f._playLock=!1,I(),f._refreshBuffer(d);var W=d._muted||f._muted?0:d._volume;y.gain.setValueAtTime(W,t.ctx.currentTime),d._playStart=t.ctx.currentTime,typeof y.bufferSource.start>"u"?d._loop?y.bufferSource.noteGrainOn(0,h,86400):y.bufferSource.noteGrainOn(0,h,v):d._loop?y.bufferSource.start(0,h,86400):y.bufferSource.start(0,h,v),U!==1/0&&(f._endTimers[d._id]=setTimeout(f._ended.bind(f,d),U)),u||setTimeout(function(){f._emit("play",d._id),f._loadQueue()},0)};t.state==="running"&&t.ctx.state!=="interrupted"?L():(f._playLock=!0,f.once("resume",L),f._clearTimer(d._id))}else{var G=function(){y.currentTime=h,y.muted=d._muted||f._muted||t._muted||y.muted,y.volume=d._volume*t.volume(),y.playbackRate=d._rate;try{var W=y.play();if(W&&typeof Promise<"u"&&(W instanceof Promise||typeof W.then=="function")?(f._playLock=!0,I(),W.then(function(){f._playLock=!1,y._unlocked=!0,u?f._loadQueue():f._emit("play",d._id)}).catch(function(){f._playLock=!1,f._emit("playerror",d._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),d._ended=!0,d._paused=!0})):u||(f._playLock=!1,I(),f._emit("play",d._id)),y.playbackRate=d._rate,y.paused){f._emit("playerror",d._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");return}o!=="__default"||d._loop?f._endTimers[d._id]=setTimeout(f._ended.bind(f,d),U):(f._endTimers[d._id]=function(){f._ended(d),y.removeEventListener("ended",f._endTimers[d._id],!1)},y.addEventListener("ended",f._endTimers[d._id],!1))}catch(DA){f._emit("playerror",d._id,DA)}};y.src==="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"&&(y.src=f._src,y.load());var nA=window&&window.ejecta||!y.readyState&&t._navigator.isCocoonJS;if(y.readyState>=3||nA)G();else{f._playLock=!0,f._state="loading";var R=function(){f._state="loaded",G(),y.removeEventListener(t._canPlayEvent,R,!1)};y.addEventListener(t._canPlayEvent,R,!1),f._clearTimer(d._id)}}return d._id},pause:function(o){var u=this;if(u._state!=="loaded"||u._playLock)return u._queue.push({event:"pause",action:function(){u.pause(o)}}),u;for(var f=u._getSoundIds(o),g=0;g"u"?w._node.bufferSource.noteOff(0):w._node.bufferSource.stop(0),u._cleanBuffer(w._node)}else(!isNaN(w._node.duration)||w._node.duration===1/0)&&w._node.pause();arguments[1]||u._emit("pause",w?w._id:null)}return u},stop:function(o,u){var f=this;if(f._state!=="loaded"||f._playLock)return f._queue.push({event:"stop",action:function(){f.stop(o)}}),f;for(var g=f._getSoundIds(o),w=0;w"u"?Q._node.bufferSource.noteOff(0):Q._node.bufferSource.stop(0),f._cleanBuffer(Q._node)):(!isNaN(Q._node.duration)||Q._node.duration===1/0)&&(Q._node.currentTime=Q._start||0,Q._node.pause(),Q._node.duration===1/0&&f._clearSound(Q._node))),u||f._emit("stop",Q._id))}return f},mute:function(o,u){var f=this;if(f._state!=="loaded"||f._playLock)return f._queue.push({event:"mute",action:function(){f.mute(o,u)}}),f;if(typeof u>"u")if(typeof o=="boolean")f._muted=o;else return f._muted;for(var g=f._getSoundIds(u),w=0;w"u"){var w=o._getSoundIds(),Q=w.indexOf(u[0]);Q>=0?g=parseInt(u[0],10):f=parseFloat(u[0])}else u.length>=2&&(f=parseFloat(u[0]),g=parseInt(u[1],10));var d;if(typeof f<"u"&&f>=0&&f<=1){if(o._state!=="loaded"||o._playLock)return o._queue.push({event:"volume",action:function(){o.volume.apply(o,u)}}),o;typeof g>"u"&&(o._volume=f),g=o._getSoundIds(g);for(var p=0;p"u")}}return w},_startFadeInterval:function(o,u,f,g,w,Q){var d=this,p=u,h=f-u,v=Math.abs(h/.01),U=Math.max(4,v>0?g/v:g),C=Date.now();o._fadeTo=f,o._interval=setInterval(function(){var m=(Date.now()-C)/g;C=Date.now(),p+=h*m,p=Math.round(p*100)/100,h<0?p=Math.max(f,p):p=Math.min(f,p),d._webAudio?o._volume=p:d.volume(p,o._id,!0),Q&&(d._volume=p),(fu&&p>=f)&&(clearInterval(o._interval),o._interval=null,o._fadeTo=null,d.volume(f,o._id),d._emit("fade",o._id))},U)},_stopFade:function(o){var u=this,f=u._soundById(o);return f&&f._interval&&(u._webAudio&&f._node.gain.cancelScheduledValues(t.ctx.currentTime),clearInterval(f._interval),f._interval=null,u.volume(f._fadeTo,o),f._fadeTo=null,u._emit("fade",o)),u},loop:function(){var o=this,u=arguments,f,g,w;if(u.length===0)return o._loop;if(u.length===1)if(typeof u[0]=="boolean")f=u[0],o._loop=f;else return w=o._soundById(parseInt(u[0],10)),w?w._loop:!1;else u.length===2&&(f=u[0],g=parseInt(u[1],10));for(var Q=o._getSoundIds(g),d=0;d=0?g=parseInt(u[0],10):f=parseFloat(u[0])}else u.length===2&&(f=parseFloat(u[0]),g=parseInt(u[1],10));var d;if(typeof f=="number"){if(o._state!=="loaded"||o._playLock)return o._queue.push({event:"rate",action:function(){o.rate.apply(o,u)}}),o;typeof g>"u"&&(o._rate=f),g=o._getSoundIds(g);for(var p=0;p=0?g=parseInt(u[0],10):o._sounds.length&&(g=o._sounds[0]._id,f=parseFloat(u[0]))}else u.length===2&&(f=parseFloat(u[0]),g=parseInt(u[1],10));if(typeof g>"u")return 0;if(typeof f=="number"&&(o._state!=="loaded"||o._playLock))return o._queue.push({event:"seek",action:function(){o.seek.apply(o,u)}}),o;var d=o._soundById(g);if(d)if(typeof f=="number"&&f>=0){var p=o.playing(g);p&&o.pause(g,!0),d._seek=f,d._ended=!1,o._clearTimer(g),!o._webAudio&&d._node&&!isNaN(d._node.duration)&&(d._node.currentTime=f);var h=function(){p&&o.play(g,!0),o._emit("seek",g)};if(p&&!o._webAudio){var v=function(){o._playLock?setTimeout(v,0):h()};setTimeout(v,0)}else h()}else if(o._webAudio){var U=o.playing(g)?t.ctx.currentTime-d._playStart:0,C=d._rateSeek?d._rateSeek-d._seek:0;return d._seek+(C+U*Math.abs(d._rate))}else return d._node.currentTime;return o},playing:function(o){var u=this;if(typeof o=="number"){var f=u._soundById(o);return f?!f._paused:!1}for(var g=0;g=0&&t._howls.splice(g,1);var w=!0;for(f=0;f=0){w=!1;break}return i&&w&&delete i[o._src],t.noAudio=!1,o._state="unloaded",o._sounds=[],o=null,null},on:function(o,u,f,g){var w=this,Q=w["_on"+o];return typeof u=="function"&&Q.push(g?{id:f,fn:u,once:g}:{id:f,fn:u}),w},off:function(o,u,f){var g=this,w=g["_on"+o],Q=0;if(typeof u=="number"&&(f=u,u=null),u||f)for(Q=0;Q=0;Q--)(!w[Q].id||w[Q].id===u||o==="load")&&(setTimeout((function(d){d.call(this,u,f)}).bind(g,w[Q].fn),0),w[Q].once&&g.off(o,w[Q].fn,w[Q].id));return g._loadQueue(o),g},_loadQueue:function(o){var u=this;if(u._queue.length>0){var f=u._queue[0];f.event===o&&(u._queue.shift(),u._loadQueue()),o||f.action()}return u},_ended:function(o){var u=this,f=o._sprite;if(!u._webAudio&&o._node&&!o._node.paused&&!o._node.ended&&o._node.currentTime=0;g--){if(f<=u)return;o._sounds[g]._ended&&(o._webAudio&&o._sounds[g]._node&&o._sounds[g]._node.disconnect(0),o._sounds.splice(g,1),f--)}}},_getSoundIds:function(o){var u=this;if(typeof o>"u"){for(var f=[],g=0;g=0;if(!o.bufferSource)return u;if(t._scratchBuffer&&o.bufferSource&&(o.bufferSource.onended=null,o.bufferSource.disconnect(0),f))try{o.bufferSource.buffer=t._scratchBuffer}catch{}return o.bufferSource=null,u},_clearSound:function(o){var u=/MSIE |Trident\//.test(t._navigator&&t._navigator.userAgent);u||(o.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var n=function(o){this._parent=o,this.init()};n.prototype={init:function(){var o=this,u=o._parent;return o._muted=u._muted,o._loop=u._loop,o._volume=u._volume,o._rate=u._rate,o._seek=0,o._paused=!0,o._ended=!0,o._sprite="__default",o._id=++t._counter,u._sounds.push(o),o.create(),o},create:function(){var o=this,u=o._parent,f=t._muted||o._muted||o._parent._muted?0:o._volume;return u._webAudio?(o._node=typeof t.ctx.createGain>"u"?t.ctx.createGainNode():t.ctx.createGain(),o._node.gain.setValueAtTime(f,t.ctx.currentTime),o._node.paused=!0,o._node.connect(t.masterGain)):t.noAudio||(o._node=t._obtainHtml5Audio(),o._errorFn=o._errorListener.bind(o),o._node.addEventListener("error",o._errorFn,!1),o._loadFn=o._loadListener.bind(o),o._node.addEventListener(t._canPlayEvent,o._loadFn,!1),o._endFn=o._endListener.bind(o),o._node.addEventListener("ended",o._endFn,!1),o._node.src=u._src,o._node.preload=u._preload===!0?"auto":u._preload,o._node.volume=f*t.volume(),o._node.load()),o},reset:function(){var o=this,u=o._parent;return o._muted=u._muted,o._loop=u._loop,o._volume=u._volume,o._rate=u._rate,o._seek=0,o._rateSeek=0,o._paused=!0,o._ended=!0,o._sprite="__default",o._id=++t._counter,o},_errorListener:function(){var o=this;o._parent._emit("loaderror",o._id,o._node.error?o._node.error.code:0),o._node.removeEventListener("error",o._errorFn,!1)},_loadListener:function(){var o=this,u=o._parent;u._duration=Math.ceil(o._node.duration*10)/10,Object.keys(u._sprite).length===0&&(u._sprite={__default:[0,u._duration*1e3]}),u._state!=="loaded"&&(u._state="loaded",u._emit("load"),u._loadQueue()),o._node.removeEventListener(t._canPlayEvent,o._loadFn,!1)},_endListener:function(){var o=this,u=o._parent;u._duration===1/0&&(u._duration=Math.ceil(o._node.duration*10)/10,u._sprite.__default[1]===1/0&&(u._sprite.__default[1]=u._duration*1e3),u._ended(o)),o._node.removeEventListener("ended",o._endFn,!1)}};var i={},s=function(o){var u=o._src;if(i[u]){o._duration=i[u].duration,c(o);return}if(/^data:[^;]+;base64,/.test(u)){for(var f=atob(u.split(",")[1]),g=new Uint8Array(f.length),w=0;w0?(i[u._src]=w,c(u,w)):f()};typeof Promise<"u"&&t.ctx.decodeAudioData.length===1?t.ctx.decodeAudioData(o).then(g).catch(f):t.ctx.decodeAudioData(o,g,f)},c=function(o,u){u&&!o._duration&&(o._duration=u.duration),Object.keys(o._sprite).length===0&&(o._sprite={__default:[0,o._duration*1e3]}),o._state!=="loaded"&&(o._state="loaded",o._emit("load"),o._loadQueue())},B=function(){if(t.usingWebAudio){try{typeof AudioContext<"u"?t.ctx=new AudioContext:typeof webkitAudioContext<"u"?t.ctx=new webkitAudioContext:t.usingWebAudio=!1}catch{t.usingWebAudio=!1}t.ctx||(t.usingWebAudio=!1);var o=/iP(hone|od|ad)/.test(t._navigator&&t._navigator.platform),u=t._navigator&&t._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),f=u?parseInt(u[1],10):null;if(o&&f&&f<9){var g=/safari/.test(t._navigator&&t._navigator.userAgent.toLowerCase());t._navigator&&!g&&(t.usingWebAudio=!1)}t.usingWebAudio&&(t.masterGain=typeof t.ctx.createGain>"u"?t.ctx.createGainNode():t.ctx.createGain(),t.masterGain.gain.setValueAtTime(t._muted?0:t._volume,t.ctx.currentTime),t.masterGain.connect(t.ctx.destination)),t._setup()}};A.Howler=t,A.Howl=r,typeof er<"u"?(er.HowlerGlobal=e,er.Howler=t,er.Howl=r,er.Sound=n):typeof window<"u"&&(window.HowlerGlobal=e,window.Howler=t,window.Howl=r,window.Sound=n)})();/*! * Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported. * * howler.js v2.2.4 * howlerjs.com * * (c) 2013-2020, James Simpson of GoldFire Studios * goldfirestudios.com * * MIT License */(function(){HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(t){var r=this;if(!r.ctx||!r.ctx.listener)return r;for(var n=r._howls.length-1;n>=0;n--)r._howls[n].stereo(t);return r},HowlerGlobal.prototype.pos=function(t,r,n){var i=this;if(!i.ctx||!i.ctx.listener)return i;if(r=typeof r!="number"?i._pos[1]:r,n=typeof n!="number"?i._pos[2]:n,typeof t=="number")i._pos=[t,r,n],typeof i.ctx.listener.positionX<"u"?(i.ctx.listener.positionX.setTargetAtTime(i._pos[0],Howler.ctx.currentTime,.1),i.ctx.listener.positionY.setTargetAtTime(i._pos[1],Howler.ctx.currentTime,.1),i.ctx.listener.positionZ.setTargetAtTime(i._pos[2],Howler.ctx.currentTime,.1)):i.ctx.listener.setPosition(i._pos[0],i._pos[1],i._pos[2]);else return i._pos;return i},HowlerGlobal.prototype.orientation=function(t,r,n,i,s,a){var l=this;if(!l.ctx||!l.ctx.listener)return l;var c=l._orientation;if(r=typeof r!="number"?c[1]:r,n=typeof n!="number"?c[2]:n,i=typeof i!="number"?c[3]:i,s=typeof s!="number"?c[4]:s,a=typeof a!="number"?c[5]:a,typeof t=="number")l._orientation=[t,r,n,i,s,a],typeof l.ctx.listener.forwardX<"u"?(l.ctx.listener.forwardX.setTargetAtTime(t,Howler.ctx.currentTime,.1),l.ctx.listener.forwardY.setTargetAtTime(r,Howler.ctx.currentTime,.1),l.ctx.listener.forwardZ.setTargetAtTime(n,Howler.ctx.currentTime,.1),l.ctx.listener.upX.setTargetAtTime(i,Howler.ctx.currentTime,.1),l.ctx.listener.upY.setTargetAtTime(s,Howler.ctx.currentTime,.1),l.ctx.listener.upZ.setTargetAtTime(a,Howler.ctx.currentTime,.1)):l.ctx.listener.setOrientation(t,r,n,i,s,a);else return c;return l},Howl.prototype.init=function(t){return function(r){var n=this;return n._orientation=r.orientation||[1,0,0],n._stereo=r.stereo||null,n._pos=r.pos||null,n._pannerAttr={coneInnerAngle:typeof r.coneInnerAngle<"u"?r.coneInnerAngle:360,coneOuterAngle:typeof r.coneOuterAngle<"u"?r.coneOuterAngle:360,coneOuterGain:typeof r.coneOuterGain<"u"?r.coneOuterGain:0,distanceModel:typeof r.distanceModel<"u"?r.distanceModel:"inverse",maxDistance:typeof r.maxDistance<"u"?r.maxDistance:1e4,panningModel:typeof r.panningModel<"u"?r.panningModel:"HRTF",refDistance:typeof r.refDistance<"u"?r.refDistance:1,rolloffFactor:typeof r.rolloffFactor<"u"?r.rolloffFactor:1},n._onstereo=r.onstereo?[{fn:r.onstereo}]:[],n._onpos=r.onpos?[{fn:r.onpos}]:[],n._onorientation=r.onorientation?[{fn:r.onorientation}]:[],t.call(this,r)}}(Howl.prototype.init),Howl.prototype.stereo=function(t,r){var n=this;if(!n._webAudio)return n;if(n._state!=="loaded")return n._queue.push({event:"stereo",action:function(){n.stereo(t,r)}}),n;var i=typeof Howler.ctx.createStereoPanner>"u"?"spatial":"stereo";if(typeof r>"u")if(typeof t=="number")n._stereo=t,n._pos=[t,0,0];else return n._stereo;for(var s=n._getSoundIds(r),a=0;a"u")if(typeof t=="number")s._pos=[t,r,n];else return s._pos;for(var a=s._getSoundIds(i),l=0;l"u")if(typeof t=="number")s._orientation=[t,r,n];else return s._orientation;for(var a=s._getSoundIds(i),l=0;l"u"&&(n.pannerAttr||(n.pannerAttr={coneInnerAngle:n.coneInnerAngle,coneOuterAngle:n.coneOuterAngle,coneOuterGain:n.coneOuterGain,distanceModel:n.distanceModel,maxDistance:n.maxDistance,refDistance:n.refDistance,rolloffFactor:n.rolloffFactor,panningModel:n.panningModel}),t._pannerAttr={coneInnerAngle:typeof n.pannerAttr.coneInnerAngle<"u"?n.pannerAttr.coneInnerAngle:t._coneInnerAngle,coneOuterAngle:typeof n.pannerAttr.coneOuterAngle<"u"?n.pannerAttr.coneOuterAngle:t._coneOuterAngle,coneOuterGain:typeof n.pannerAttr.coneOuterGain<"u"?n.pannerAttr.coneOuterGain:t._coneOuterGain,distanceModel:typeof n.pannerAttr.distanceModel<"u"?n.pannerAttr.distanceModel:t._distanceModel,maxDistance:typeof n.pannerAttr.maxDistance<"u"?n.pannerAttr.maxDistance:t._maxDistance,refDistance:typeof n.pannerAttr.refDistance<"u"?n.pannerAttr.refDistance:t._refDistance,rolloffFactor:typeof n.pannerAttr.rolloffFactor<"u"?n.pannerAttr.rolloffFactor:t._rolloffFactor,panningModel:typeof n.pannerAttr.panningModel<"u"?n.pannerAttr.panningModel:t._panningModel});else return s=t._soundById(parseInt(r[0],10)),s?s._pannerAttr:t._pannerAttr;else r.length===2&&(n=r[0],i=parseInt(r[1],10));for(var a=t._getSoundIds(i),l=0;l0&&arguments[0]!==void 0?arguments[0]:this.props;this.destroyHowler(),typeof Mc.Howl<"u"&&(this.howler=new Mc.Howl({src:r.src,xhr:r.xhr,format:r.format,mute:r.mute,loop:r.loop,preload:r.preload,volume:r.volume,rate:r.rate,onend:r.onEnd,onplay:r.onPlay,onplayerror:r.onPlayError,onpause:r.onPause,onvolume:r.onVolume,onstop:r.onStop,onload:r.onLoad,onseek:r.onSeek,onloaderror:r.onLoadError,html5:r.html5}),r.playing&&this.play())}},{key:"destroyHowler",value:function(){this.howler&&(this.howler.off(),this.howler.stop(),this.howler.unload(),this.howler=null)}},{key:"toggleHowler",value:function(r){this.props.playing?this.play():this.pause(),this.loop(this.props.loop),r.mute!==this.props.mute&&this.mute(this.props.mute),r.volume!==this.props.volume&&this.volume(this.props.volume),this.props.preload&&this.howlerState()==="unloaded"&&this.load()}},{key:"play",value:function(){var r=this.howler.playing();r||(this.howlerState()==="unloaded"&&this.load(),this.howler.play())}},{key:"pause",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;r?this.howler.pause(r):this.howler.pause()}},{key:"rate",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;typeof r=="number"&&(n?this.howler.rate(r,n):this.howler.rate(r))}},{key:"howlerState",value:function(){return this.howler.state()}},{key:"stop",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;r?this.howler.stop(r):this.howler.stop()}},{key:"mute",value:function(){var r;(r=this.howler).mute.apply(r,arguments)}},{key:"volume",value:function(){var r;return(r=this.howler).volume.apply(r,arguments)}},{key:"loop",value:function(){var r;return(r=this.howler).loop.apply(r,arguments)}},{key:"seek",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(!this.howler)return 0;if(!r&&r!==0)return this.howler.seek();if(r||r===0)return this.howler.seek(r),r}},{key:"duration",value:function(){return this.howler.duration()}},{key:"load",value:function(){this.howler.load()}},{key:"render",value:function(){return Gh.default.createElement("div",null)}},{key:"howler",set:function(r){r&&(this._howler=r)},get:function(){return this._howler}}]),e}(eg.Component);pu.propTypes={src:sA.default.oneOfType([sA.default.string,sA.default.arrayOf(sA.default.string)]).isRequired,format:sA.default.arrayOf(sA.default.string),xhr:sA.default.object,playing:sA.default.bool,mute:sA.default.bool,loop:sA.default.bool,preload:sA.default.bool,volume:sA.default.number,rate:sA.default.number,onEnd:sA.default.func,onPause:sA.default.func,onPlay:sA.default.func,onPlayError:sA.default.func,onVolume:sA.default.func,onStop:sA.default.func,onLoad:sA.default.func,onSeek:sA.default.func,onLoadError:sA.default.func,html5:sA.default.bool};pu.defaultProps={playing:!0,format:[],xhr:{},mute:!1,preload:!0,loop:!1,volume:1,rate:1,onEnd:Re.noop,onPause:Re.noop,onPlay:Re.noop,onPlayError:Re.noop,onVolume:Re.noop,onStop:Re.noop,onLoad:Re.noop,onSeek:Re.noop,onLoadError:Re.noop,html5:!1};du.default=pu;var Yh=du.default;const zh=Ql(Yh);var rg={exports:{}};(function(A,e){(function(t,r){A.exports=r(GA)})(typeof self<"u"?self:er,function(t){return function(r){var n={};function i(s){if(n[s])return n[s].exports;var a=n[s]={i:s,l:!1,exports:{}};return r[s].call(a.exports,a,a.exports,i),a.l=!0,a.exports}return i.m=r,i.c=n,i.d=function(s,a,l){i.o(s,a)||Object.defineProperty(s,a,{enumerable:!0,get:l})},i.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},i.t=function(s,a){if(1&a&&(s=i(s)),8&a||4&a&&typeof s=="object"&&s&&s.__esModule)return s;var l=Object.create(null);if(i.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:s}),2&a&&typeof s!="string")for(var c in s)i.d(l,c,(function(B){return s[B]}).bind(null,c));return l},i.n=function(s){var a=s&&s.__esModule?function(){return s.default}:function(){return s};return i.d(a,"a",a),a},i.o=function(s,a){return Object.prototype.hasOwnProperty.call(s,a)},i.p="",i(i.s=2)}([function(r,n){r.exports=t},function(r,n,i){var s={linear:function(a,l,c,B){return(c-l)*a/B+l},easeInQuad:function(a,l,c,B){return(c-l)*(a/=B)*a+l},easeOutQuad:function(a,l,c,B){return-(c-l)*(a/=B)*(a-2)+l},easeInOutQuad:function(a,l,c,B){var o=c-l;return(a/=B/2)<1?o/2*a*a+l:-o/2*(--a*(a-2)-1)+l},easeInCubic:function(a,l,c,B){return(c-l)*(a/=B)*a*a+l},easeOutCubic:function(a,l,c,B){return(c-l)*((a=a/B-1)*a*a+1)+l},easeInOutCubic:function(a,l,c,B){var o=c-l;return(a/=B/2)<1?o/2*a*a*a+l:o/2*((a-=2)*a*a+2)+l},easeInQuart:function(a,l,c,B){return(c-l)*(a/=B)*a*a*a+l},easeOutQuart:function(a,l,c,B){return-(c-l)*((a=a/B-1)*a*a*a-1)+l},easeInOutQuart:function(a,l,c,B){var o=c-l;return(a/=B/2)<1?o/2*a*a*a*a+l:-o/2*((a-=2)*a*a*a-2)+l},easeInQuint:function(a,l,c,B){return(c-l)*(a/=B)*a*a*a*a+l},easeOutQuint:function(a,l,c,B){return(c-l)*((a=a/B-1)*a*a*a*a+1)+l},easeInOutQuint:function(a,l,c,B){var o=c-l;return(a/=B/2)<1?o/2*a*a*a*a*a+l:o/2*((a-=2)*a*a*a*a+2)+l},easeInSine:function(a,l,c,B){var o=c-l;return-o*Math.cos(a/B*(Math.PI/2))+o+l},easeOutSine:function(a,l,c,B){return(c-l)*Math.sin(a/B*(Math.PI/2))+l},easeInOutSine:function(a,l,c,B){return-(c-l)/2*(Math.cos(Math.PI*a/B)-1)+l},easeInExpo:function(a,l,c,B){return a==0?l:(c-l)*Math.pow(2,10*(a/B-1))+l},easeOutExpo:function(a,l,c,B){var o=c-l;return a==B?l+o:o*(1-Math.pow(2,-10*a/B))+l},easeInOutExpo:function(a,l,c,B){var o=c-l;return a===0?l:a===B?l+o:(a/=B/2)<1?o/2*Math.pow(2,10*(a-1))+l:o/2*(2-Math.pow(2,-10*--a))+l},easeInCirc:function(a,l,c,B){return-(c-l)*(Math.sqrt(1-(a/=B)*a)-1)+l},easeOutCirc:function(a,l,c,B){return(c-l)*Math.sqrt(1-(a=a/B-1)*a)+l},easeInOutCirc:function(a,l,c,B){var o=c-l;return(a/=B/2)<1?-o/2*(Math.sqrt(1-a*a)-1)+l:o/2*(Math.sqrt(1-(a-=2)*a)+1)+l},easeInElastic:function(a,l,c,B){var o,u,f,g=c-l;return f=1.70158,a===0?l:(a/=B)==1?l+g:((u=0)||(u=.3*B),(o=g)=1&&this.rotationDirection===a.Positive?this.rotationDirection=a.Negative:this.rotateY<=-1&&this.rotationDirection===a.Negative&&(this.rotationDirection=a.Positive);var eA=.1*this.rotationDirection;if(this.rotateY+=eA,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=AA,this.context.lineCap="round",this.context.lineWidth=2,cA&&typeof cA=="function")cA.call(this,this.context);else switch(this.shape){case s.Circle:this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break;case s.Square:this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break;case s.Strip:this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h)}this.context.closePath(),this.context.restore()}}])&&f(H.prototype,S),F}();function Q(F,H,S){return H in F?Object.defineProperty(F,H,{value:S,enumerable:!0,configurable:!0,writable:!0}):F[H]=S,F}var d=function F(H,S){var E=this;(function(O,N){if(!(O instanceof N))throw new TypeError("Cannot call a class as a function")})(this,F),Q(this,"canvas",void 0),Q(this,"context",void 0),Q(this,"getOptions",void 0),Q(this,"x",0),Q(this,"y",0),Q(this,"w",0),Q(this,"h",0),Q(this,"lastNumberOfPieces",0),Q(this,"tweenInitTime",Date.now()),Q(this,"particles",[]),Q(this,"particlesGenerated",0),Q(this,"removeParticleAt",function(O){E.particles.splice(O,1)}),Q(this,"getParticle",function(){var O=u(E.x,E.w+E.x),N=u(E.y,E.h+E.y);return new w(E.context,E.getOptions,O,N)}),Q(this,"animate",function(){var O=E.canvas,N=E.context,AA=E.particlesGenerated,cA=E.lastNumberOfPieces,eA=E.getOptions(),Me=eA.run,he=eA.recycle,Qe=eA.numberOfPieces,ns=eA.debug,is=eA.tweenFunction,os=eA.tweenDuration;if(!Me)return!1;var ss=E.particles.length,Or=he?ss:AA,as=Date.now();if(Oros?os:Math.max(0,as-mu),Or,Qe,os),yu=Math.round(sp-Or),Eu=0;EuO.height||kr.y<-100||kr.x>O.width+100||kr.x<-100)&&(he&&Or<=Qe?E.particles[Hu]=E.getParticle():E.removeParticleAt(Hu))}),ss>0||Or0&&eA.call(O,O),O._options.run=!1)}),U(this,"reset",function(){O.generator&&O.generator.particlesGenerated>0&&(O.generator.particlesGenerated=0,O.generator.particles=[],O.generator.lastNumberOfPieces=0)}),U(this,"stop",function(){O.options={run:!1},O.rafId&&(cancelAnimationFrame(O.rafId),O.rafId=void 0)}),this.canvas=E;var N=this.canvas.getContext("2d");if(!N)throw new Error("Could not get canvas context");this.context=N,this.generator=new d(this.canvas,function(){return O.options}),this.options=z,this.update()}var H,S;return H=F,(S=[{key:"options",get:function(){return this._options},set:function(E){var z=this._options&&this._options.run,O=this._options&&this._options.recycle;this.setOptionsWithDefaults(E),this.generator&&(Object.assign(this.generator,this.options.confettiSource),typeof E.recycle=="boolean"&&E.recycle&&O===!1&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),typeof E.run=="boolean"&&E.run&&z===!1&&this.update()}}])&&v(H.prototype,S),F}();function I(F){return function(H){if(Array.isArray(H))return DA(H)}(F)||function(H){if(typeof Symbol<"u"&&Symbol.iterator in Object(H))return Array.from(H)}(F)||W(F)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function y(F){return(y=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H})(F)}function L(){return(L=Object.assign||function(F){for(var H=1;H"u"||!(Symbol.iterator in Object(S)))){var z=[],O=!0,N=!1,AA=void 0;try{for(var cA,eA=S[Symbol.iterator]();!(O=(cA=eA.next()).done)&&(z.push(cA.value),!E||z.length!==E);O=!0);}catch(Me){N=!0,AA=Me}finally{try{O||eA.return==null||eA.return()}finally{if(N)throw AA}}return z}}(F,H)||W(F,H)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function W(F,H){if(F){if(typeof F=="string")return DA(F,H);var S=Object.prototype.toString.call(F).slice(8,-1);return S==="Object"&&F.constructor&&(S=F.constructor.name),S==="Map"||S==="Set"?Array.from(F):S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S)?DA(F,H):void 0}}function DA(F,H){(H==null||H>F.length)&&(H=F.length);for(var S=0,E=new Array(H);S"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var S,E=J(F);if(H){var z=J(this).constructor;S=Reflect.construct(E,arguments,z)}else S=E.apply(this,arguments);return M(this,S)}}function M(F,H){return!H||y(H)!=="object"&&typeof H!="function"?V(F):H}function V(F){if(F===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return F}function J(F){return(J=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)})(F)}function hA(F,H,S){return H in F?Object.defineProperty(F,H,{value:S,enumerable:!0,configurable:!0,writable:!0}):F[H]=S,F}var IA=c.a.createRef(),_A=function(F){(function(O,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(N&&N.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),N&&x(O,N)})(z,F);var H,S,E=k(z);function z(O){var N;pA(this,z);for(var AA=arguments.length,cA=new Array(AA>1?AA-1:0),eA=1;eA * Copyright (c) 2022 Niklas von Hertzen * Released under MIT License *//*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var ja=function(A,e){return ja=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])},ja(A,e)};function _e(A,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");ja(A,e);function t(){this.constructor=A}A.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Za=function(){return Za=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]=55296&&n<=56319&&t>10)+55296,s%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},Rc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qh=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Bi=0;Bi"u"?[]:new Uint8Array(256);for(var di=0;di>4,B[n++]=(s&15)<<4|a>>2,B[n++]=(a&3)<<6|l&63;return c},eQ=function(A){for(var e=A.length,t=[],r=0;r>Rt,nQ=1<>Rt,oQ=ng+iQ,sQ=oQ,aQ=32,lQ=sQ+aQ,uQ=65536>>wu,cQ=1<=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>Rt],t=(t<>Rt)],t=(t<>wu),t=this.index[t],t+=e>>Rt&fQ,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256);for(var gi=0;giGc?(n.push(!0),a-=Gc):n.push(!1),["normal","auto","loose"].indexOf(e)!==-1&&[8208,8211,12316,12448].indexOf(i)!==-1)return r.push(s),t.push(Al);if(a===QQ||a===$a){if(s===0)return r.push(s),t.push(Lt);var l=t[s-1];return HQ.indexOf(l)===-1?(r.push(r[s-1]),t.push(l)):(r.push(s),t.push(Lt))}if(r.push(s),a===mQ)return t.push(e==="strict"?el:Rn);if(a===ag||a===FQ)return t.push(Lt);if(a===yQ)return i>=131072&&i<=196605||i>=196608&&i<=262141?t.push(Rn):t.push(Lt);t.push(a)}),[r,t,n]},Ns=function(A,e,t,r){var n=r[t];if(Array.isArray(A)?A.indexOf(n)!==-1:A===n)for(var i=t;i<=r.length;){i++;var s=r[i];if(s===e)return!0;if(s!==ut)break}if(n===ut)for(var i=t;i>0;){i--;var a=r[i];if(Array.isArray(A)?A.indexOf(a)!==-1:A===a)for(var l=t;l<=r.length;){l++;var s=r[l];if(s===e)return!0;if(s!==ut)break}if(a!==ut)break}return!1},jc=function(A,e){for(var t=A;t>=0;){var r=e[t];if(r===ut)t--;else return r}return 0},SQ=function(A,e,t,r,n){if(t[r]===0)return b;var i=r-1;if(Array.isArray(n)&&n[i]===!0)return b;var s=i-1,a=i+1,l=e[i],c=s>=0?e[s]:0,B=e[a];if(l===ig&&B===og)return b;if(sl.indexOf(l)!==-1)return lg;if(sl.indexOf(B)!==-1||ug.indexOf(B)!==-1)return b;if(jc(i,e)===sg)return Qi;if(ol.get(A[i])===$a||(l===wi||l===hi)&&ol.get(A[a])===$a||l===Vc||B===Vc||l===Xc||[ut,qa,en].indexOf(l)===-1&&B===Xc||[pi,Wr,UQ,zt,jt].indexOf(B)!==-1||jc(i,e)===Jr||Ns(Ms,Jr,i,e)||Ns([pi,Wr],el,i,e)||Ns(Wc,Wc,i,e))return b;if(l===ut)return Qi;if(l===Ms||B===Ms)return b;if(B===Al||l===Al)return Qi;if([qa,en,el].indexOf(B)!==-1||l===vQ||c===nl&&IQ.indexOf(l)!==-1||l===jt&&B===nl||B===Jc||Ne.indexOf(B)!==-1&&l===ee||Ne.indexOf(l)!==-1&&B===ee||l===rn&&[Rn,wi,hi].indexOf(B)!==-1||[Rn,wi,hi].indexOf(l)!==-1&&B===tn||Ne.indexOf(l)!==-1&&Yc.indexOf(B)!==-1||Yc.indexOf(l)!==-1&&Ne.indexOf(B)!==-1||[rn,tn].indexOf(l)!==-1&&(B===ee||[Jr,en].indexOf(B)!==-1&&e[a+1]===ee)||[Jr,en].indexOf(l)!==-1&&B===ee||l===ee&&[ee,jt,zt].indexOf(B)!==-1)return b;if([ee,jt,zt,pi,Wr].indexOf(B)!==-1)for(var o=i;o>=0;){var u=e[o];if(u===ee)return b;if([jt,zt].indexOf(u)!==-1)o--;else break}if([rn,tn].indexOf(B)!==-1)for(var o=[pi,Wr].indexOf(l)!==-1?s:i;o>=0;){var u=e[o];if(u===ee)return b;if([jt,zt].indexOf(u)!==-1)o--;else break}if(il===l&&[il,Ji,tl,rl].indexOf(B)!==-1||[Ji,tl].indexOf(l)!==-1&&[Ji,Yi].indexOf(B)!==-1||[Yi,rl].indexOf(l)!==-1&&B===Yi||zc.indexOf(l)!==-1&&[Jc,tn].indexOf(B)!==-1||zc.indexOf(B)!==-1&&l===rn||Ne.indexOf(l)!==-1&&Ne.indexOf(B)!==-1||l===zt&&Ne.indexOf(B)!==-1||Ne.concat(ee).indexOf(l)!==-1&&B===Jr&&EQ.indexOf(A[a])===-1||Ne.concat(ee).indexOf(B)!==-1&&l===Wr)return b;if(l===Rs&&B===Rs){for(var f=t[i],g=1;f>0&&(f--,e[f]===Rs);)g++;if(g%2!==0)return b}return l===wi&&B===hi?b:Qi},xQ=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=_Q(A,e.lineBreak),r=t[0],n=t[1],i=t[2];(e.wordBreak==="break-all"||e.wordBreak==="break-word")&&(n=n.map(function(a){return[ee,Lt,ag].indexOf(a)!==-1?Rn:a}));var s=e.wordBreak==="keep-all"?i.map(function(a,l){return a&&A[l]>=19968&&A[l]<=40959}):void 0;return[r,n,s]},LQ=function(){function A(e,t,r,n){this.codePoints=e,this.required=t===lg,this.start=r,this.end=n}return A.prototype.slice=function(){return dA.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),TQ=function(A,e){var t=zo(A),r=xQ(t,e),n=r[0],i=r[1],s=r[2],a=t.length,l=0,c=0;return{next:function(){if(c>=a)return{done:!0,value:null};for(var B=b;c=cg&&A<=57},B0=function(A){return A>=55296&&A<=57343},Zt=function(A){return RA(A)||A>=dg&&A<=pg||A>=fg&&A<=a0},d0=function(A){return A>=fg&&A<=u0},g0=function(A){return A>=dg&&A<=f0},p0=function(A){return d0(A)||g0(A)},w0=function(A){return A>=$Q},mi=function(A){return A===Uo||A===OQ||A===kQ},Fo=function(A){return p0(A)||w0(A)||A===PQ},ef=function(A){return Fo(A)||RA(A)||A===YA},h0=function(A){return A>=t0&&A<=r0||A===n0||A>=i0&&A<=o0||A===s0},it=function(A,e){return A!==wn?!1:e!==Uo},yi=function(A,e,t){return A===YA?Fo(e)||it(e,t):Fo(A)?!0:!!(A===wn&&it(A,e))},bs=function(A,e,t){return A===Ot||A===YA?RA(e)?!0:e===Nn&&RA(t):RA(A===Nn?e:A)},Q0=function(A){var e=0,t=1;(A[e]===Ot||A[e]===YA)&&(A[e]===YA&&(t=-1),e++);for(var r=[];RA(A[e]);)r.push(A[e++]);var n=r.length?parseInt(dA.apply(void 0,r),10):0;A[e]===Nn&&e++;for(var i=[];RA(A[e]);)i.push(A[e++]);var s=i.length,a=s?parseInt(dA.apply(void 0,i),10):0;(A[e]===gg||A[e]===Bg)&&e++;var l=1;(A[e]===Ot||A[e]===YA)&&(A[e]===YA&&(l=-1),e++);for(var c=[];RA(A[e]);)c.push(A[e++]);var B=c.length?parseInt(dA.apply(void 0,c),10):0;return t*(n+a*Math.pow(10,-s))*Math.pow(10,l*B)},C0={type:2},v0={type:3},U0={type:4},F0={type:13},m0={type:8},y0={type:21},E0={type:9},H0={type:10},I0={type:11},_0={type:12},S0={type:14},Ei={type:23},x0={type:1},L0={type:25},T0={type:24},K0={type:26},D0={type:27},O0={type:28},k0={type:29},M0={type:31},al={type:32},wg=function(){function A(){this._value=[]}return A.prototype.write=function(e){this._value=this._value.concat(zo(e))},A.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==al;)e.push(t),t=this.consumeToken();return e},A.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case Ci:return this.consumeStringToken(Ci);case MQ:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),n=this.peekCodePoint(2);if(ef(t)||it(r,n)){var i=yi(t,r,n)?DQ:KQ,s=this.consumeName();return{type:5,value:s,flags:i}}break;case RQ:if(this.peekCodePoint(0)===Yr)return this.consumeCodePoint(),F0;break;case vi:return this.consumeStringToken(vi);case Ui:return C0;case zr:return v0;case Ps:if(this.peekCodePoint(0)===Yr)return this.consumeCodePoint(),S0;break;case Ot:if(bs(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case qQ:return U0;case YA:var a=e,l=this.peekCodePoint(0),c=this.peekCodePoint(1);if(bs(a,l,c))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(yi(a,l,c))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(l===YA&&c===VQ)return this.consumeCodePoint(),this.consumeCodePoint(),T0;break;case Nn:if(bs(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case $c:if(this.peekCodePoint(0)===Ps)for(this.consumeCodePoint();;){var B=this.consumeCodePoint();if(B===Ps&&(B=this.consumeCodePoint(),B===$c))return this.consumeToken();if(B===xe)return this.consumeToken()}break;case A0:return K0;case e0:return D0;case GQ:if(this.peekCodePoint(0)===bQ&&this.peekCodePoint(1)===YA&&this.peekCodePoint(2)===YA)return this.consumeCodePoint(),this.consumeCodePoint(),L0;break;case XQ:var o=this.peekCodePoint(0),u=this.peekCodePoint(1),f=this.peekCodePoint(2);if(yi(o,u,f)){var s=this.consumeName();return{type:7,value:s}}break;case WQ:return O0;case wn:if(it(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case JQ:return k0;case YQ:if(this.peekCodePoint(0)===Yr)return this.consumeCodePoint(),m0;break;case zQ:return I0;case jQ:return _0;case l0:case c0:var g=this.peekCodePoint(0),w=this.peekCodePoint(1);return g===Ot&&(Zt(w)||w===Fi)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case qc:if(this.peekCodePoint(0)===Yr)return this.consumeCodePoint(),E0;if(this.peekCodePoint(0)===qc)return this.consumeCodePoint(),y0;break;case ZQ:if(this.peekCodePoint(0)===Yr)return this.consumeCodePoint(),H0;break;case xe:return al}return mi(e)?(this.consumeWhiteSpace(),M0):RA(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):Fo(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:dA(e)}},A.prototype.consumeCodePoint=function(){var e=this._value.shift();return typeof e>"u"?-1:e},A.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},A.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},A.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();Zt(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var r=!1;t===Fi&&e.length<6;)e.push(t),t=this.consumeCodePoint(),r=!0;if(r){var n=parseInt(dA.apply(void 0,e.map(function(l){return l===Fi?cg:l})),16),i=parseInt(dA.apply(void 0,e.map(function(l){return l===Fi?pg:l})),16);return{type:30,start:n,end:i}}var s=parseInt(dA.apply(void 0,e),16);if(this.peekCodePoint(0)===YA&&Zt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var a=[];Zt(t)&&a.length<6;)a.push(t),t=this.consumeCodePoint();var i=parseInt(dA.apply(void 0,a),16);return{type:30,start:s,end:i}}else return{type:30,start:s,end:s}},A.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return e.toLowerCase()==="url"&&this.peekCodePoint(0)===Ui?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Ui?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},A.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===xe)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===vi||t===Ci){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===xe||this.peekCodePoint(0)===zr)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Ei)}for(;;){var n=this.consumeCodePoint();if(n===xe||n===zr)return{type:22,value:dA.apply(void 0,e)};if(mi(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===xe||this.peekCodePoint(0)===zr?(this.consumeCodePoint(),{type:22,value:dA.apply(void 0,e)}):(this.consumeBadUrlRemnants(),Ei);if(n===Ci||n===vi||n===Ui||h0(n))return this.consumeBadUrlRemnants(),Ei;if(n===wn)if(it(n,this.peekCodePoint(0)))e.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Ei;else e.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;mi(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===zr||e===xe)return;it(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(e){for(var t=5e4,r="";e>0;){var n=Math.min(t,e);r+=dA.apply(void 0,this._value.splice(0,n)),e-=n}return this._value.shift(),r},A.prototype.consumeStringToken=function(e){var t="",r=0;do{var n=this._value[r];if(n===xe||n===void 0||n===e)return t+=this.consumeStringSlice(r),{type:0,value:t};if(n===Uo)return this._value.splice(0,r),x0;if(n===wn){var i=this._value[r+1];i!==xe&&i!==void 0&&(i===Uo?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):it(n,i)&&(t+=this.consumeStringSlice(r),t+=dA(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},A.prototype.consumeNumber=function(){var e=[],t=Jn,r=this.peekCodePoint(0);for((r===Ot||r===YA)&&e.push(this.consumeCodePoint());RA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(r===Nn&&RA(n))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Zc;RA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());r=this.peekCodePoint(0),n=this.peekCodePoint(1);var i=this.peekCodePoint(2);if((r===gg||r===Bg)&&((n===Ot||n===YA)&&RA(i)||RA(n)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Zc;RA(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[Q0(e),t]},A.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],r=e[1],n=this.peekCodePoint(0),i=this.peekCodePoint(1),s=this.peekCodePoint(2);if(yi(n,i,s)){var a=this.consumeName();return{type:15,number:t,flags:r,unit:a}}return n===NQ?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},A.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Zt(e)){for(var t=dA(e);Zt(this.peekCodePoint(0))&&t.length<6;)t+=dA(this.consumeCodePoint());mi(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||B0(r)||r>1114111?Af:r}return e===xe?Af:e},A.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(ef(t))e+=dA(t);else if(it(t,this.peekCodePoint(0)))e+=dA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),e}},A}(),hg=function(){function A(e){this._tokens=e}return A.create=function(e){var t=new wg;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var e=this.consumeToken();e.type===31;)e=this.consumeToken();if(e.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do e=this.consumeToken();while(e.type===31);if(e.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(t.type===32)return e;e.push(t),e.push()}},A.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},A.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},r=this.consumeToken();;){if(r.type===32||N0(r,e))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},A.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var e=this._tokens.shift();return typeof e>"u"?al:e},A.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},A}(),Yn=function(A){return A.type===15},Dr=function(A){return A.type===17},Z=function(A){return A.type===20},R0=function(A){return A.type===0},ll=function(A,e){return Z(A)&&A.value===e},Qg=function(A){return A.type!==31},xr=function(A){return A.type!==31&&A.type!==4},Oe=function(A){var e=[],t=[];return A.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");e.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&e.push(t),e},N0=function(A,e){return e===11&&A.type===12||e===28&&A.type===29?!0:e===2&&A.type===3},yt=function(A){return A.type===17||A.type===15},QA=function(A){return A.type===16||yt(A)},Cg=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},LA={type:17,number:0,flags:Jn},hu={type:16,number:50,flags:Jn},ct={type:16,number:100,flags:Jn},nn=function(A,e,t){var r=A[0],n=A[1];return[$(r,e),$(typeof n<"u"?n:r,t)]},$=function(A,e){if(A.type===16)return A.number/100*e;if(Yn(A))switch(A.unit){case"rem":case"em":return 16*A.number;case"px":default:return A.number}return A.number},vg="deg",Ug="grad",Fg="rad",mg="turn",jo={name:"angle",parse:function(A,e){if(e.type===15)switch(e.unit){case vg:return Math.PI*e.number/180;case Ug:return Math.PI/200*e.number;case Fg:return e.number;case mg:return Math.PI*2*e.number}throw new Error("Unsupported angle type")}},yg=function(A){return A.type===15&&(A.unit===vg||A.unit===Ug||A.unit===Fg||A.unit===mg)},Eg=function(A){var e=A.filter(Z).map(function(t){return t.value}).join(" ");switch(e){case"to bottom right":case"to right bottom":case"left top":case"top left":return[LA,LA];case"to top":case"bottom":return Be(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[LA,ct];case"to right":case"left":return Be(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ct,ct];case"to bottom":case"top":return Be(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ct,LA];case"to left":case"right":return Be(270)}return 0},Be=function(A){return Math.PI*A/180},vt={name:"color",parse:function(A,e){if(e.type===18){var t=P0[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(e.type===5){if(e.value.length===3){var r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3);return ft(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(e.value.length===4){var r=e.value.substring(0,1),n=e.value.substring(1,2),i=e.value.substring(2,3),s=e.value.substring(3,4);return ft(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(s+s,16)/255)}if(e.value.length===6){var r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6);return ft(parseInt(r,16),parseInt(n,16),parseInt(i,16),1)}if(e.value.length===8){var r=e.value.substring(0,2),n=e.value.substring(2,4),i=e.value.substring(4,6),s=e.value.substring(6,8);return ft(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(s,16)/255)}}if(e.type===20){var a=Je[e.value.toUpperCase()];if(typeof a<"u")return a}return Je.TRANSPARENT}},Ut=function(A){return(255&A)===0},yA=function(A){var e=255&A,t=255&A>>8,r=255&A>>16,n=255&A>>24;return e<255?"rgba("+n+","+r+","+t+","+e/255+")":"rgb("+n+","+r+","+t+")"},ft=function(A,e,t,r){return(A<<24|e<<16|t<<8|Math.round(r*255)<<0)>>>0},tf=function(A,e){if(A.type===17)return A.number;if(A.type===16){var t=e===3?1:255;return e===3?A.number/100*t:Math.round(A.number/100*t)}return 0},rf=function(A,e){var t=e.filter(xr);if(t.length===3){var r=t.map(tf),n=r[0],i=r[1],s=r[2];return ft(n,i,s,1)}if(t.length===4){var a=t.map(tf),n=a[0],i=a[1],s=a[2],l=a[3];return ft(n,i,s,l)}return 0};function Gs(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<1/2?e:t<2/3?(e-A)*6*(2/3-t)+A:A}var nf=function(A,e){var t=e.filter(xr),r=t[0],n=t[1],i=t[2],s=t[3],a=(r.type===17?Be(r.number):jo.parse(A,r))/(Math.PI*2),l=QA(n)?n.number/100:0,c=QA(i)?i.number/100:0,B=typeof s<"u"&&QA(s)?$(s,1):1;if(l===0)return ft(c*255,c*255,c*255,1);var o=c<=.5?c*(l+1):c+l-c*l,u=c*2-o,f=Gs(u,o,a+1/3),g=Gs(u,o,a),w=Gs(u,o,a-1/3);return ft(f*255,g*255,w*255,B)},P0={hsl:nf,hsla:nf,rgb:rf,rgba:rf},hn=function(A,e){return vt.parse(A,hg.create(e).parseComponentValue())},Je={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},b0={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(Z(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},G0={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Zo=function(A,e){var t=vt.parse(A,e[0]),r=e[1];return r&&QA(r)?{color:t,stop:r}:{color:t,stop:null}},of=function(A,e){var t=A[0],r=A[A.length-1];t.stop===null&&(t.stop=LA),r.stop===null&&(r.stop=ct);for(var n=[],i=0,s=0;si?n.push(l):n.push(i),i=l}else n.push(null)}for(var c=null,s=0;ss.optimumDistance)?{optimumCorner:a,optimumDistance:B}:s},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},W0=function(A,e,t,r,n){var i=0,s=0;switch(A.size){case 0:A.shape===0?i=s=Math.min(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(i=Math.min(Math.abs(e),Math.abs(e-r)),s=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(A.shape===0)i=s=Math.min(ve(e,t),ve(e,t-n),ve(e-r,t),ve(e-r,t-n));else if(A.shape===1){var a=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(e),Math.abs(e-r)),l=sf(r,n,e,t,!0),c=l[0],B=l[1];i=ve(c-e,(B-t)/a),s=a*i}break;case 1:A.shape===0?i=s=Math.max(Math.abs(e),Math.abs(e-r),Math.abs(t),Math.abs(t-n)):A.shape===1&&(i=Math.max(Math.abs(e),Math.abs(e-r)),s=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(A.shape===0)i=s=Math.max(ve(e,t),ve(e,t-n),ve(e-r,t),ve(e-r,t-n));else if(A.shape===1){var a=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(e),Math.abs(e-r)),o=sf(r,n,e,t,!1),c=o[0],B=o[1];i=ve(c-e,(B-t)/a),s=a*i}break}return Array.isArray(A.size)&&(i=$(A.size[0],r),s=A.size.length===2?$(A.size[1],n):i),[i,s]},J0=function(A,e){var t=Be(180),r=[];return Oe(e).forEach(function(n,i){if(i===0){var s=n[0];if(s.type===20&&s.value==="to"){t=Eg(n);return}else if(yg(s)){t=jo.parse(A,s);return}}var a=Zo(A,n);r.push(a)}),{angle:t,stops:r,type:1}},Hi=function(A,e){var t=Be(180),r=[];return Oe(e).forEach(function(n,i){if(i===0){var s=n[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){t=Eg(n);return}else if(yg(s)){t=(jo.parse(A,s)+Be(270))%Be(360);return}}var a=Zo(A,n);r.push(a)}),{angle:t,stops:r,type:1}},Y0=function(A,e){var t=Be(180),r=[],n=1,i=0,s=3,a=[];return Oe(e).forEach(function(l,c){var B=l[0];if(c===0){if(Z(B)&&B.value==="linear"){n=1;return}else if(Z(B)&&B.value==="radial"){n=2;return}}if(B.type===18){if(B.name==="from"){var o=vt.parse(A,B.values[0]);r.push({stop:LA,color:o})}else if(B.name==="to"){var o=vt.parse(A,B.values[0]);r.push({stop:ct,color:o})}else if(B.name==="color-stop"){var u=B.values.filter(xr);if(u.length===2){var o=vt.parse(A,u[1]),f=u[0];Dr(f)&&r.push({stop:{type:16,number:f.number*100,flags:f.flags},color:o})}}}}),n===1?{angle:(t+Be(180))%Be(360),stops:r,type:n}:{size:s,shape:i,stops:r,position:a,type:n}},Hg="closest-side",Ig="farthest-side",_g="closest-corner",Sg="farthest-corner",xg="circle",Lg="ellipse",Tg="cover",Kg="contain",z0=function(A,e){var t=0,r=3,n=[],i=[];return Oe(e).forEach(function(s,a){var l=!0;if(a===0){var c=!1;l=s.reduce(function(o,u){if(c)if(Z(u))switch(u.value){case"center":return i.push(hu),o;case"top":case"left":return i.push(LA),o;case"right":case"bottom":return i.push(ct),o}else(QA(u)||yt(u))&&i.push(u);else if(Z(u))switch(u.value){case xg:return t=0,!1;case Lg:return t=1,!1;case"at":return c=!0,!1;case Hg:return r=0,!1;case Tg:case Ig:return r=1,!1;case Kg:case _g:return r=2,!1;case Sg:return r=3,!1}else if(yt(u)||QA(u))return Array.isArray(r)||(r=[]),r.push(u),!1;return o},l)}if(l){var B=Zo(A,s);n.push(B)}}),{size:r,shape:t,stops:n,position:i,type:2}},Ii=function(A,e){var t=0,r=3,n=[],i=[];return Oe(e).forEach(function(s,a){var l=!0;if(a===0?l=s.reduce(function(B,o){if(Z(o))switch(o.value){case"center":return i.push(hu),!1;case"top":case"left":return i.push(LA),!1;case"right":case"bottom":return i.push(ct),!1}else if(QA(o)||yt(o))return i.push(o),!1;return B},l):a===1&&(l=s.reduce(function(B,o){if(Z(o))switch(o.value){case xg:return t=0,!1;case Lg:return t=1,!1;case Kg:case Hg:return r=0,!1;case Ig:return r=1,!1;case _g:return r=2,!1;case Tg:case Sg:return r=3,!1}else if(yt(o)||QA(o))return Array.isArray(r)||(r=[]),r.push(o),!1;return B},l)),l){var c=Zo(A,s);n.push(c)}}),{size:r,shape:t,stops:n,position:i,type:2}},j0=function(A){return A.type===1},Z0=function(A){return A.type===2},Qu={name:"image",parse:function(A,e){if(e.type===22){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(e.type===18){var r=Dg[e.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return r(A,e.values)}throw new Error("Unsupported image type "+e.type)}};function $0(A){return!(A.type===20&&A.value==="none")&&(A.type!==18||!!Dg[A.name])}var Dg={"linear-gradient":J0,"-moz-linear-gradient":Hi,"-ms-linear-gradient":Hi,"-o-linear-gradient":Hi,"-webkit-linear-gradient":Hi,"radial-gradient":z0,"-moz-radial-gradient":Ii,"-ms-radial-gradient":Ii,"-o-radial-gradient":Ii,"-webkit-radial-gradient":Ii,"-webkit-gradient":Y0},q0={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e.filter(function(r){return xr(r)&&$0(r)}).map(function(r){return Qu.parse(A,r)})}},AC={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map(function(t){if(Z(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},eC={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return Oe(e).map(function(t){return t.filter(QA)}).map(Cg)}},tC={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return Oe(e).map(function(t){return t.filter(Z).map(function(r){return r.value}).join(" ")}).map(rC)}},rC=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Fr;(function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"})(Fr||(Fr={}));var nC={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return Oe(e).map(function(t){return t.filter(iC)})}},iC=function(A){return Z(A)||QA(A)},$o=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},oC=$o("top"),sC=$o("right"),aC=$o("bottom"),lC=$o("left"),qo=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return Cg(t.filter(QA))}}},uC=qo("top-left"),cC=qo("top-right"),fC=qo("bottom-right"),BC=qo("bottom-left"),As=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},dC=As("top"),gC=As("right"),pC=As("bottom"),wC=As("left"),es=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Yn(t)?t.number:0}}},hC=es("top"),QC=es("right"),CC=es("bottom"),vC=es("left"),UC={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},FC={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){switch(e){case"rtl":return 1;case"ltr":default:return 0}}},mC={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(Z).reduce(function(t,r){return t|yC(r.value)},0)}},yC=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},EC={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},HC={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return e.type===20&&e.value==="normal"?0:e.type===17||e.type===15?e.number:0}},mo;(function(A){A.NORMAL="normal",A.STRICT="strict"})(mo||(mo={}));var IC={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"strict":return mo.STRICT;case"normal":default:return mo.NORMAL}}},_C={name:"line-height",initialValue:"normal",prefix:!1,type:4},af=function(A,e){return Z(A)&&A.value==="normal"?1.2*e:A.type===17?e*A.number:QA(A)?$(A,e):e},SC={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return e.type===20&&e.value==="none"?null:Qu.parse(A,e)}},xC={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){switch(e){case"inside":return 0;case"outside":default:return 1}}},ul={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},ts=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},LC=ts("top"),TC=ts("right"),KC=ts("bottom"),DC=ts("left"),OC={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(Z).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},kC={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-word":return"break-word";case"normal":default:return"normal"}}},rs=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},MC=rs("top"),RC=rs("right"),NC=rs("bottom"),PC=rs("left"),bC={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},GC={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},VC={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.length===1&&ll(e[0],"none")?[]:Oe(e).map(function(t){for(var r={color:Je.TRANSPARENT,offsetX:LA,offsetY:LA,blur:LA},n=0,i=0;i"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},JC=function(A){var e=A.filter(function(t){return t.type===17}).map(function(t){return t.number});return e.length===6?e:null},YC=function(A){var e=A.filter(function(l){return l.type===17}).map(function(l){return l.number}),t=e[0],r=e[1];e[2],e[3];var n=e[4],i=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var s=e[12],a=e[13];return e[14],e[15],e.length===16?[t,r,n,i,s,a]:null},zC={matrix:JC,matrix3d:YC},lf={type:16,number:50,flags:Jn},jC=[lf,lf],ZC={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter(QA);return t.length!==2?jC:[t[0],t[1]]}},$C={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Qn;(function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"})(Qn||(Qn={}));var qC={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return Qn.BREAK_ALL;case"keep-all":return Qn.KEEP_ALL;case"normal":default:return Qn.NORMAL}}},Av={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(e.type===20)return{auto:!0,order:0};if(Dr(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},Og={name:"time",parse:function(A,e){if(e.type===15)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},ev={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return Dr(e)?e.number:1}},tv={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},rv={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(Z).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},nv={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],r=[];return e.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},iv={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},ov={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){if(Dr(e))return e.number;if(Z(e))switch(e.value){case"bold":return 700;case"normal":default:return 400}return 400}},sv={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(Z).map(function(t){return t.value})}},av={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},UA=function(A,e){return(A&e)!==0},lv={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(e.length===0)return[];var t=e[0];return t.type===20&&t.value==="none"?[]:e}},uv={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(e.length===0)return null;var t=e[0];if(t.type===20&&t.value==="none")return null;for(var r=[],n=e.filter(Qg),i=0;i1?1:0],this.overflowWrap=K(e,kC,t.overflowWrap),this.paddingTop=K(e,MC,t.paddingTop),this.paddingRight=K(e,RC,t.paddingRight),this.paddingBottom=K(e,NC,t.paddingBottom),this.paddingLeft=K(e,PC,t.paddingLeft),this.paintOrder=K(e,gv,t.paintOrder),this.position=K(e,GC,t.position),this.textAlign=K(e,bC,t.textAlign),this.textDecorationColor=K(e,tv,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=K(e,rv,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=K(e,VC,t.textShadow),this.textTransform=K(e,XC,t.textTransform),this.transform=K(e,WC,t.transform),this.transformOrigin=K(e,ZC,t.transformOrigin),this.visibility=K(e,$C,t.visibility),this.webkitTextStrokeColor=K(e,pv,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=K(e,wv,t.webkitTextStrokeWidth),this.wordBreak=K(e,qC,t.wordBreak),this.zIndex=K(e,Av,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},A.prototype.isTransparent=function(){return Ut(this.backgroundColor)},A.prototype.isTransformed=function(){return this.transform!==null},A.prototype.isPositioned=function(){return this.position!==0},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return this.float!==0},A.prototype.isInlineLevel=function(){return UA(this.display,4)||UA(this.display,33554432)||UA(this.display,268435456)||UA(this.display,536870912)||UA(this.display,67108864)||UA(this.display,134217728)},A}(),Qv=function(){function A(e,t){this.content=K(e,lv,t.content),this.quotes=K(e,Bv,t.quotes)}return A}(),cf=function(){function A(e,t){this.counterIncrement=K(e,uv,t.counterIncrement),this.counterReset=K(e,cv,t.counterReset)}return A}(),K=function(A,e,t){var r=new wg,n=t!==null&&typeof t<"u"?t.toString():e.initialValue;r.write(n);var i=new hg(r.read());switch(e.type){case 2:var s=i.parseComponentValue();return e.parse(A,Z(s)?s.value:e.initialValue);case 0:return e.parse(A,i.parseComponentValue());case 1:return e.parse(A,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(e.format){case"angle":return jo.parse(A,i.parseComponentValue());case"color":return vt.parse(A,i.parseComponentValue());case"image":return Qu.parse(A,i.parseComponentValue());case"length":var a=i.parseComponentValue();return yt(a)?a:LA;case"length-percentage":var l=i.parseComponentValue();return QA(l)?l:LA;case"time":return Og.parse(A,i.parseComponentValue())}break}},Cv="data-html2canvas-debug",vv=function(A){var e=A.getAttribute(Cv);switch(e){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},cl=function(A,e){var t=vv(A);return t===1||e===t},ke=function(){function A(e,t){if(this.context=e,this.textNodes=[],this.elements=[],this.flags=0,cl(t,3))debugger;this.styles=new hv(e,window.getComputedStyle(t,null)),dl(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=Yo(this.context,t),cl(t,4)&&(this.flags|=16)}return A}(),Uv="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU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AgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQ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AOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",ff="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",on=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var _i=0;_i>4,B[n++]=(s&15)<<4|a>>2,B[n++]=(a&3)<<6|l&63;return c},mv=function(A){for(var e=A.length,t=[],r=0;r>Nt,Hv=1<>Nt,_v=kg+Iv,Sv=_v,xv=32,Lv=Sv+xv,Tv=65536>>Cu,Kv=1<=0){if(e<55296||e>56319&&e<=65535)return t=this.index[e>>Nt],t=(t<>Nt)],t=(t<>Cu),t=this.index[t],t+=e>>Nt&Dv,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256);for(var Si=0;Si=55296&&n<=56319&&t>10)+55296,s%1024+56320)),(n+1===t||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},Vv=kv(Uv),ae="×",Zs="÷",Xv=function(A){return Vv.get(A)},Wv=function(A,e,t){var r=t-2,n=e[r],i=e[t-1],s=e[t];if(i===Ws&&s===Js)return ae;if(i===Ws||i===Js||i===gf||s===Ws||s===Js||s===gf)return Zs;if(i===wf&&[wf,Ys,hf,Qf].indexOf(s)!==-1||(i===hf||i===Ys)&&(s===Ys||s===zs)||(i===Qf||i===zs)&&s===zs||s===Cf||s===pf||s===Pv||i===Nv)return ae;if(i===Cf&&s===vf){for(;n===pf;)n=e[--r];if(n===vf)return ae}if(i===js&&s===js){for(var a=0;n===js;)a++,n=e[--r];if(a%2===0)return ae}return Zs},Jv=function(A){var e=bv(A),t=e.length,r=0,n=0,i=e.map(Xv);return{next:function(){if(r>=t)return{done:!0,value:null};for(var s=ae;rs.x||B.y>s.y;return s=B,c===0?!0:o});return A.body.removeChild(e),a},Zv=function(){return typeof new Image().crossOrigin<"u"},$v=function(){return typeof new XMLHttpRequest().responseType=="string"},qv=function(A){var e=new Image,t=A.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;e.src="data:image/svg+xml,";try{r.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0},Uf=function(A){return A[0]===0&&A[1]===255&&A[2]===0&&A[3]===255},AU=function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var r=e.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var n=new Image,i=e.toDataURL();n.src=i;var s=fl(t,t,0,0,n);return r.fillStyle="red",r.fillRect(0,0,t,t),Ff(s).then(function(a){r.drawImage(a,0,0);var l=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var c=A.createElement("div");return c.style.backgroundImage="url("+i+")",c.style.height=t+"px",Uf(l)?Ff(fl(t,t,0,0,c)):Promise.reject(!1)}).then(function(a){return r.drawImage(a,0,0),Uf(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},fl=function(A,e,t,r,n){var i="http://www.w3.org/2000/svg",s=document.createElementNS(i,"svg"),a=document.createElementNS(i,"foreignObject");return s.setAttributeNS(null,"width",A.toString()),s.setAttributeNS(null,"height",e.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",t.toString()),a.setAttributeNS(null,"y",r.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(a),a.appendChild(n),s},Ff=function(A){return new Promise(function(e,t){var r=new Image;r.onload=function(){return e(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(A))})},xA={get SUPPORT_RANGE_BOUNDS(){var A=zv(document);return Object.defineProperty(xA,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=xA.SUPPORT_RANGE_BOUNDS&&jv(document);return Object.defineProperty(xA,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=qv(document);return Object.defineProperty(xA,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A=typeof Array.from=="function"&&typeof window.fetch=="function"?AU(document):Promise.resolve(!1);return Object.defineProperty(xA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=Zv();return Object.defineProperty(xA,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=$v();return Object.defineProperty(xA,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(xA,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(xA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Cn=function(){function A(e,t){this.text=e,this.bounds=t}return A}(),eU=function(A,e,t,r){var n=nU(e,t),i=[],s=0;return n.forEach(function(a){if(t.textDecorationLine.length||a.trim().length>0)if(xA.SUPPORT_RANGE_BOUNDS){var l=mf(r,s,a.length).getClientRects();if(l.length>1){var c=vu(a),B=0;c.forEach(function(u){i.push(new Cn(u,$e.fromDOMRectList(A,mf(r,B+s,u.length).getClientRects()))),B+=u.length})}else i.push(new Cn(a,$e.fromDOMRectList(A,l)))}else{var o=r.splitText(a.length);i.push(new Cn(a,tU(A,r))),r=o}else xA.SUPPORT_RANGE_BOUNDS||(r=r.splitText(a.length));s+=a.length}),i},tU=function(A,e){var t=e.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(e.cloneNode(!0));var n=e.parentNode;if(n){n.replaceChild(r,e);var i=Yo(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return $e.EMPTY},mf=function(A,e,t){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,e),n.setEnd(A,e+t),n},vu=function(A){if(xA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map(function(t){return t.segment})}return Yv(A)},rU=function(A,e){if(xA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map(function(r){return r.segment})}return oU(A,e)},nU=function(A,e){return e.letterSpacing!==0?vu(A):rU(A,e)},iU=[32,160,4961,65792,65793,4153,4241],oU=function(A,e){for(var t=TQ(A,{lineBreak:e.lineBreak,wordBreak:e.overflowWrap==="break-word"?"break-word":e.wordBreak}),r=[],n,i=function(){if(n.value){var s=n.value.slice(),a=zo(s),l="";a.forEach(function(c){iU.indexOf(c)===-1?l+=dA(c):(l.length&&r.push(l),r.push(dA(c)),l="")}),l.length&&r.push(l)}};!(n=t.next()).done;)i();return r},sU=function(){function A(e,t,r){this.text=aU(t.data,r.textTransform),this.textBounds=eU(e,this.text,r,t)}return A}(),aU=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(lU,uU);case 2:return A.toUpperCase();default:return A}},lU=/(^|\s|:|-|\(|\))([a-z])/g,uU=function(A,e,t){return A.length>0?e+t.toUpperCase():A},Mg=function(A){_e(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.src=r.currentSrc||r.src,n.intrinsicWidth=r.naturalWidth,n.intrinsicHeight=r.naturalHeight,n.context.cache.addImage(n.src),n}return e}(ke),Rg=function(A){_e(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.canvas=r,n.intrinsicWidth=r.width,n.intrinsicHeight=r.height,n}return e}(ke),Ng=function(A){_e(e,A);function e(t,r){var n=A.call(this,t,r)||this,i=new XMLSerializer,s=Yo(t,r);return r.setAttribute("width",s.width+"px"),r.setAttribute("height",s.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(i.serializeToString(r)),n.intrinsicWidth=r.width.baseVal.value,n.intrinsicHeight=r.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e}(ke),Pg=function(A){_e(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.value=r.value,n}return e}(ke),Bl=function(A){_e(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n.start=r.start,n.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,n}return e}(ke),cU=[{type:15,flags:0,unit:"px",number:3}],fU=[{type:16,flags:0,number:50}],BU=function(A){return A.width>A.height?new $e(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width0)t.textNodes.push(new sU(A,n,t.styles));else if(pr(n))if(Zg(n)&&n.assignedNodes)n.assignedNodes().forEach(function(a){return zi(A,a,t,r)});else{var s=Xg(A,n);s.styles.isVisible()&&(wU(n,s,r)?s.flags|=4:hU(s.styles)&&(s.flags|=2),pU.indexOf(n.tagName)!==-1&&(s.flags|=8),t.elements.push(s),n.slot,n.shadowRoot?zi(A,n.shadowRoot,s,r):!Ho(n)&&!Yg(n)&&!Io(n)&&zi(A,n,s,r))}},Xg=function(A,e){return gl(e)?new Mg(A,e):zg(e)?new Rg(A,e):Yg(e)?new Ng(A,e):QU(e)?new Pg(A,e):CU(e)?new Bl(A,e):vU(e)?new Uu(A,e):Io(e)?new bg(A,e):Ho(e)?new Gg(A,e):jg(e)?new Vg(A,e):new ke(A,e)},Wg=function(A,e){var t=Xg(A,e);return t.flags|=4,zi(A,e,t,t),t},wU=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Fu(A)&&t.styles.isTransparent()},hU=function(A){return A.isPositioned()||A.isFloating()},Jg=function(A){return A.nodeType===Node.TEXT_NODE},pr=function(A){return A.nodeType===Node.ELEMENT_NODE},dl=function(A){return pr(A)&&typeof A.style<"u"&&!ji(A)},ji=function(A){return typeof A.className=="object"},QU=function(A){return A.tagName==="LI"},CU=function(A){return A.tagName==="OL"},vU=function(A){return A.tagName==="INPUT"},UU=function(A){return A.tagName==="HTML"},Yg=function(A){return A.tagName==="svg"},Fu=function(A){return A.tagName==="BODY"},zg=function(A){return A.tagName==="CANVAS"},Ef=function(A){return A.tagName==="VIDEO"},gl=function(A){return A.tagName==="IMG"},jg=function(A){return A.tagName==="IFRAME"},Hf=function(A){return A.tagName==="STYLE"},FU=function(A){return A.tagName==="SCRIPT"},Ho=function(A){return A.tagName==="TEXTAREA"},Io=function(A){return A.tagName==="SELECT"},Zg=function(A){return A.tagName==="SLOT"},If=function(A){return A.tagName.indexOf("-")>0},mU=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},A.prototype.pop=function(e){var t=this;e.forEach(function(r){return t.counters[r].pop()})},A.prototype.parse=function(e){var t=this,r=e.counterIncrement,n=e.counterReset,i=!0;r!==null&&r.forEach(function(a){var l=t.counters[a.counter];l&&a.increment!==0&&(i=!1,l.length||l.push(1),l[Math.max(0,l.length-1)]+=a.increment)});var s=[];return i&&n.forEach(function(a){var l=t.counters[a.counter];s.push(a.counter),l||(l=t.counters[a.counter]=[]),l.push(a.reset)}),s},A}(),_f={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Sf={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Õ”","Õ“","Õ’","Õ‘","Ր","Տ","ÕŽ","Ս","ÕŒ","Õ‹","ÕŠ","Õ‰","Õˆ","Õ‡","Õ†","Õ…","Õ„","Õƒ","Õ‚","Ձ","Õ€","Ô¿","Ô¾","Ô½","Ô¼","Ô»","Ôº","Ô¹","Ô¸","Ô·","Ô¶","Ôµ","Ô´","Ô³","Ô²","Ô±"]},yU={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","×¢","ס","× ","מ","ל","×›","יט","×™×—","×™×–","טז","טו","×™","ט","×—","×–","ו","×”","ד","×’","ב","א"]},EU={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},$t=function(A,e,t,r,n,i){return At?Pn(A,n,i.length>0):r.integers.reduce(function(s,a,l){for(;A>=a;)A-=a,s+=r.values[l];return s},"")+i},$g=function(A,e,t,r){var n="";do t||A--,n=r(A)+n,A/=e;while(A*e>=e);return n},BA=function(A,e,t,r,n){var i=t-e+1;return(A<0?"-":"")+($g(Math.abs(A),i,r,function(s){return dA(Math.floor(s%i)+e)})+n)},_t=function(A,e,t){t===void 0&&(t=". ");var r=e.length;return $g(Math.abs(A),r,!1,function(n){return e[Math.floor(n%r)]})+t},tr=1,et=2,tt=4,sn=8,Pe=function(A,e,t,r,n,i){if(A<-9999||A>9999)return Pn(A,4,n.length>0);var s=Math.abs(A),a=n;if(s===0)return e[0]+a;for(var l=0;s>0&&l<=4;l++){var c=s%10;c===0&&UA(i,tr)&&a!==""?a=e[c]+a:c>1||c===1&&l===0||c===1&&l===1&&UA(i,et)||c===1&&l===1&&UA(i,tt)&&A>100||c===1&&l>1&&UA(i,sn)?a=e[c]+(l>0?t[l-1]:"")+a:c===1&&l>0&&(a=t[l-1]+a),s=Math.floor(s/10)}return(A<0?r:"")+a},xf="十百千萬",Lf="拾佰仟萬",Tf="マイナス",$s="마이너스",Pn=function(A,e,t){var r=t?". ":"",n=t?"、":"",i=t?", ":"",s=t?" ":"";switch(e){case 0:return"•"+s;case 1:return"â—¦"+s;case 2:return"â—¾"+s;case 5:var a=BA(A,48,57,!0,r);return a.length<4?"0"+a:a;case 4:return _t(A,"〇一二三四五六七八九",n);case 6:return $t(A,1,3999,_f,3,r).toLowerCase();case 7:return $t(A,1,3999,_f,3,r);case 8:return BA(A,945,969,!1,r);case 9:return BA(A,97,122,!1,r);case 10:return BA(A,65,90,!1,r);case 11:return BA(A,1632,1641,!0,r);case 12:case 49:return $t(A,1,9999,Sf,3,r);case 35:return $t(A,1,9999,Sf,3,r).toLowerCase();case 13:return BA(A,2534,2543,!0,r);case 14:case 30:return BA(A,6112,6121,!0,r);case 15:return _t(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return _t(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return Pe(A,"零一二三四五六七八九",xf,"è² ",n,et|tt|sn);case 47:return Pe(A,"零壹貳參肆伍陸柒捌玖",Lf,"è² ",n,tr|et|tt|sn);case 42:return Pe(A,"零一二三四五六七八九",xf,"è´Ÿ",n,et|tt|sn);case 41:return Pe(A,"零壹贰叁肆伍陆柒捌玖",Lf,"è´Ÿ",n,tr|et|tt|sn);case 26:return Pe(A,"〇一二三四五六七八九","十百千万",Tf,n,0);case 25:return Pe(A,"零壱弐参四伍六七八九","拾百千万",Tf,n,tr|et|tt);case 31:return Pe(A,"ì˜ì¼ì´ì‚¼ì‚¬ì˜¤ìœ¡ì¹ íŒ”êµ¬","십백천만",$s,i,tr|et|tt);case 33:return Pe(A,"零一二三四五六七八九","十百千萬",$s,i,0);case 32:return Pe(A,"零壹貳參四五六七八九","拾百千",$s,i,tr|et|tt);case 18:return BA(A,2406,2415,!0,r);case 20:return $t(A,1,19999,EU,3,r);case 21:return BA(A,2790,2799,!0,r);case 22:return BA(A,2662,2671,!0,r);case 22:return $t(A,1,10999,yU,3,r);case 23:return _t(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return _t(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return BA(A,3302,3311,!0,r);case 28:return _t(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return _t(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return BA(A,3792,3801,!0,r);case 37:return BA(A,6160,6169,!0,r);case 38:return BA(A,4160,4169,!0,r);case 39:return BA(A,2918,2927,!0,r);case 40:return BA(A,1776,1785,!0,r);case 43:return BA(A,3046,3055,!0,r);case 44:return BA(A,3174,3183,!0,r);case 45:return BA(A,3664,3673,!0,r);case 46:return BA(A,3872,3881,!0,r);case 3:default:return BA(A,48,57,!0,r)}},qg="data-html2canvas-ignore",Kf=function(){function A(e,t,r){if(this.context=e,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new mU,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(e,t){var r=this,n=HU(e,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var i=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,a=n.contentWindow,l=a.document,c=SU(n).then(function(){return bA(r,void 0,void 0,function(){var B,o;return MA(this,function(u){switch(u.label){case 0:return this.scrolledElements.forEach(KU),a&&(a.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(a.scrollY!==t.top||a.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-t.left,a.scrollY-t.top,0,0))),B=this.options.onclone,o=this.clonedReferenceElement,typeof o>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:u.sent(),u.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,_U(l)]:[3,4];case 3:u.sent(),u.label=4;case 4:return typeof B=="function"?[2,Promise.resolve().then(function(){return B(l,o)}).then(function(){return n})]:[2,n]}})})});return l.open(),l.write(LU(document.doctype)+""),TU(this.referenceElement.ownerDocument,i,s),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),c},A.prototype.createElementClone=function(e){if(cl(e,2))debugger;if(zg(e))return this.createCanvasClone(e);if(Ef(e))return this.createVideoClone(e);if(Hf(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return gl(t)&&(gl(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),If(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return qs(e.style,t),t},A.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(i,s){return s&&typeof s.cssText=="string"?i+s.cssText:i},""),n=e.cloneNode(!1);return n.textContent=r,n}}catch(i){if(this.context.logger.error("Unable to access cssRules property",i),i.name!=="SecurityError")throw i}return e.cloneNode(!1)},A.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var r=e.ownerDocument.createElement("img");try{return r.src=e.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var n=e.cloneNode(!1);try{n.width=e.width,n.height=e.height;var i=e.getContext("2d"),s=n.getContext("2d");if(s)if(!this.options.allowTaint&&i)s.putImageData(i.getImageData(0,0,e.width,e.height),0,0);else{var a=(t=e.getContext("webgl2"))!==null&&t!==void 0?t:e.getContext("webgl");if(a){var l=a.getContextAttributes();(l==null?void 0:l.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}s.drawImage(e,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",e)}return n},A.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",e)}var n=e.ownerDocument.createElement("canvas");return n.width=e.offsetWidth,n.height=e.offsetHeight,n},A.prototype.appendChildNode=function(e,t,r){(!pr(t)||!FU(t)&&!t.hasAttribute(qg)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!pr(t)||!Hf(t))&&e.appendChild(this.cloneNode(t,r))},A.prototype.cloneChildNodes=function(e,t,r){for(var n=this,i=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;i;i=i.nextSibling)if(pr(i)&&Zg(i)&&typeof i.assignedNodes=="function"){var s=i.assignedNodes();s.length&&s.forEach(function(a){return n.appendChildNode(t,a,r)})}else this.appendChildNode(t,i,r)},A.prototype.cloneNode=function(e,t){if(Jg(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var r=e.ownerDocument.defaultView;if(r&&pr(e)&&(dl(e)||ji(e))){var n=this.createElementClone(e);n.style.transitionProperty="none";var i=r.getComputedStyle(e),s=r.getComputedStyle(e,":before"),a=r.getComputedStyle(e,":after");this.referenceElement===e&&dl(n)&&(this.clonedReferenceElement=n),Fu(n)&&kU(n);var l=this.counters.parse(new cf(this.context,i)),c=this.resolvePseudoContent(e,n,s,vn.BEFORE);If(e)&&(t=!0),Ef(e)||this.cloneChildNodes(e,n,t),c&&n.insertBefore(c,n.firstChild);var B=this.resolvePseudoContent(e,n,a,vn.AFTER);return B&&n.appendChild(B),this.counters.pop(l),(i&&(this.options.copyStyles||ji(e))&&!jg(e)||t)&&qs(i,n),(e.scrollTop!==0||e.scrollLeft!==0)&&this.scrolledElements.push([n,e.scrollLeft,e.scrollTop]),(Ho(e)||Io(e))&&(Ho(n)||Io(n))&&(n.value=e.value),n}return e.cloneNode(!1)},A.prototype.resolvePseudoContent=function(e,t,r,n){var i=this;if(r){var s=r.content,a=t.ownerDocument;if(!(!a||!s||s==="none"||s==="-moz-alt-content"||r.display==="none")){this.counters.parse(new cf(this.context,r));var l=new Qv(this.context,r),c=a.createElement("html2canvaspseudoelement");qs(r,c),l.content.forEach(function(o){if(o.type===0)c.appendChild(a.createTextNode(o.value));else if(o.type===22){var u=a.createElement("img");u.src=o.value,u.style.opacity="1",c.appendChild(u)}else if(o.type===18){if(o.name==="attr"){var f=o.values.filter(Z);f.length&&c.appendChild(a.createTextNode(e.getAttribute(f[0].value)||""))}else if(o.name==="counter"){var g=o.values.filter(xr),w=g[0],Q=g[1];if(w&&Z(w)){var d=i.counters.getCounterValue(w.value),p=Q&&Z(Q)?ul.parse(i.context,Q.value):3;c.appendChild(a.createTextNode(Pn(d,p,!1)))}}else if(o.name==="counters"){var h=o.values.filter(xr),w=h[0],v=h[1],Q=h[2];if(w&&Z(w)){var U=i.counters.getCounterValues(w.value),C=Q&&Z(Q)?ul.parse(i.context,Q.value):3,m=v&&v.type===0?v.value:"",I=U.map(function(G){return Pn(G,C,!1)}).join(m);c.appendChild(a.createTextNode(I))}}}else if(o.type===20)switch(o.value){case"open-quote":c.appendChild(a.createTextNode(uf(l.quotes,i.quoteDepth++,!0)));break;case"close-quote":c.appendChild(a.createTextNode(uf(l.quotes,--i.quoteDepth,!1)));break;default:c.appendChild(a.createTextNode(o.value))}}),c.className=pl+" "+wl;var B=n===vn.BEFORE?" "+pl:" "+wl;return ji(t)?t.className.baseValue+=B:t.className+=B,c}}},A.destroy=function(e){return e.parentNode?(e.parentNode.removeChild(e),!0):!1},A}(),vn;(function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"})(vn||(vn={}));var HU=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(qg,"true"),A.body.appendChild(t),t},IU=function(A){return new Promise(function(e){if(A.complete){e();return}if(!A.src){e();return}A.onload=e,A.onerror=e})},_U=function(A){return Promise.all([].slice.call(A.images,0).map(IU))},SU=function(A){return new Promise(function(e,t){var r=A.contentWindow;if(!r)return t("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var i=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(i),e(A))},50)}})},xU=["all","d","content"],qs=function(A,e){for(var t=A.length-1;t>=0;t--){var r=A.item(t);xU.indexOf(r)===-1&&e.style.setProperty(r,A.getPropertyValue(r))}return e},LU=function(A){var e="";return A&&(e+=""),e},TU=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},KU=function(A){var e=A[0],t=A[1],r=A[2];e.scrollLeft=t,e.scrollTop=r},DU=":before",OU=":after",pl="___html2canvas___pseudoelement_before",wl="___html2canvas___pseudoelement_after",Df=`{ content: "" !important; display: none !important; }`,kU=function(A){MU(A,"."+pl+DU+Df+` .`+wl+OU+Df)},MU=function(A,e){var t=A.ownerDocument;if(t){var r=t.createElement("style");r.textContent=e,A.appendChild(r)}},Ap=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),RU=function(){function A(e,t){this.context=e,this._options=t,this._cache={}}return A.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)||(ea(e)||GU(e))&&(this._cache[e]=this.loadImage(e)).catch(function(){}),t},A.prototype.match=function(e){return this._cache[e]},A.prototype.loadImage=function(e){return bA(this,void 0,void 0,function(){var t,r,n,i,s=this;return MA(this,function(a){switch(a.label){case 0:return t=Ap.isSameOrigin(e),r=!Aa(e)&&this._options.useCORS===!0&&xA.SUPPORT_CORS_IMAGES&&!t,n=!Aa(e)&&!t&&!ea(e)&&typeof this._options.proxy=="string"&&xA.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!Aa(e)&&!ea(e)&&!n&&!r?[2]:(i=e,n?[4,this.proxy(i)]:[3,2]);case 1:i=a.sent(),a.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise(function(l,c){var B=new Image;B.onload=function(){return l(B)},B.onerror=c,(VU(i)||r)&&(B.crossOrigin="anonymous"),B.src=i,B.complete===!0&&setTimeout(function(){return l(B)},500),s._options.imageTimeout>0&&setTimeout(function(){return c("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,a.sent()]}})})},A.prototype.has=function(e){return typeof this._cache[e]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(e){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var n=e.substring(0,256);return new Promise(function(i,s){var a=xA.SUPPORT_RESPONSE_TYPE?"blob":"text",l=new XMLHttpRequest;l.onload=function(){if(l.status===200)if(a==="text")i(l.response);else{var o=new FileReader;o.addEventListener("load",function(){return i(o.result)},!1),o.addEventListener("error",function(u){return s(u)},!1),o.readAsDataURL(l.response)}else s("Failed to proxy resource "+n+" with status code "+l.status)},l.onerror=s;var c=r.indexOf("?")>-1?"&":"?";if(l.open("GET",""+r+c+"url="+encodeURIComponent(e)+"&responseType="+a),a!=="text"&&l instanceof XMLHttpRequest&&(l.responseType=a),t._options.imageTimeout){var B=t._options.imageTimeout;l.timeout=B,l.ontimeout=function(){return s("Timed out ("+B+"ms) proxying "+n)}}l.send()})},A}(),NU=/^data:image\/svg\+xml/i,PU=/^data:image\/.*;base64,/i,bU=/^data:image\/.*/i,GU=function(A){return xA.SUPPORT_SVG_DRAWING||!XU(A)},Aa=function(A){return bU.test(A)},VU=function(A){return PU.test(A)},ea=function(A){return A.substr(0,4)==="blob"},XU=function(A){return A.substr(-3).toLowerCase()==="svg"||NU.test(A)},T=function(){function A(e,t){this.type=0,this.x=e,this.y=t}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),qt=function(A,e,t){return new T(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},xi=function(){function A(e,t,r,n){this.type=1,this.start=e,this.startControl=t,this.endControl=r,this.end=n}return A.prototype.subdivide=function(e,t){var r=qt(this.start,this.startControl,e),n=qt(this.startControl,this.endControl,e),i=qt(this.endControl,this.end,e),s=qt(r,n,e),a=qt(n,i,e),l=qt(s,a,e);return t?new A(this.start,r,s,l):new A(l,a,i,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),ce=function(A){return A.type===1},WU=function(){function A(e){var t=e.styles,r=e.bounds,n=nn(t.borderTopLeftRadius,r.width,r.height),i=n[0],s=n[1],a=nn(t.borderTopRightRadius,r.width,r.height),l=a[0],c=a[1],B=nn(t.borderBottomRightRadius,r.width,r.height),o=B[0],u=B[1],f=nn(t.borderBottomLeftRadius,r.width,r.height),g=f[0],w=f[1],Q=[];Q.push((i+l)/r.width),Q.push((g+o)/r.width),Q.push((s+w)/r.height),Q.push((c+u)/r.height);var d=Math.max.apply(Math,Q);d>1&&(i/=d,s/=d,l/=d,c/=d,o/=d,u/=d,g/=d,w/=d);var p=r.width-l,h=r.height-u,v=r.width-o,U=r.height-w,C=t.borderTopWidth,m=t.borderRightWidth,I=t.borderBottomWidth,y=t.borderLeftWidth,L=$(t.paddingTop,e.bounds.width),G=$(t.paddingRight,e.bounds.width),nA=$(t.paddingBottom,e.bounds.width),R=$(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=i>0||s>0?iA(r.left+y/3,r.top+C/3,i-y/3,s-C/3,Y.TOP_LEFT):new T(r.left+y/3,r.top+C/3),this.topRightBorderDoubleOuterBox=i>0||s>0?iA(r.left+p,r.top+C/3,l-m/3,c-C/3,Y.TOP_RIGHT):new T(r.left+r.width-m/3,r.top+C/3),this.bottomRightBorderDoubleOuterBox=o>0||u>0?iA(r.left+v,r.top+h,o-m/3,u-I/3,Y.BOTTOM_RIGHT):new T(r.left+r.width-m/3,r.top+r.height-I/3),this.bottomLeftBorderDoubleOuterBox=g>0||w>0?iA(r.left+y/3,r.top+U,g-y/3,w-I/3,Y.BOTTOM_LEFT):new T(r.left+y/3,r.top+r.height-I/3),this.topLeftBorderDoubleInnerBox=i>0||s>0?iA(r.left+y*2/3,r.top+C*2/3,i-y*2/3,s-C*2/3,Y.TOP_LEFT):new T(r.left+y*2/3,r.top+C*2/3),this.topRightBorderDoubleInnerBox=i>0||s>0?iA(r.left+p,r.top+C*2/3,l-m*2/3,c-C*2/3,Y.TOP_RIGHT):new T(r.left+r.width-m*2/3,r.top+C*2/3),this.bottomRightBorderDoubleInnerBox=o>0||u>0?iA(r.left+v,r.top+h,o-m*2/3,u-I*2/3,Y.BOTTOM_RIGHT):new T(r.left+r.width-m*2/3,r.top+r.height-I*2/3),this.bottomLeftBorderDoubleInnerBox=g>0||w>0?iA(r.left+y*2/3,r.top+U,g-y*2/3,w-I*2/3,Y.BOTTOM_LEFT):new T(r.left+y*2/3,r.top+r.height-I*2/3),this.topLeftBorderStroke=i>0||s>0?iA(r.left+y/2,r.top+C/2,i-y/2,s-C/2,Y.TOP_LEFT):new T(r.left+y/2,r.top+C/2),this.topRightBorderStroke=i>0||s>0?iA(r.left+p,r.top+C/2,l-m/2,c-C/2,Y.TOP_RIGHT):new T(r.left+r.width-m/2,r.top+C/2),this.bottomRightBorderStroke=o>0||u>0?iA(r.left+v,r.top+h,o-m/2,u-I/2,Y.BOTTOM_RIGHT):new T(r.left+r.width-m/2,r.top+r.height-I/2),this.bottomLeftBorderStroke=g>0||w>0?iA(r.left+y/2,r.top+U,g-y/2,w-I/2,Y.BOTTOM_LEFT):new T(r.left+y/2,r.top+r.height-I/2),this.topLeftBorderBox=i>0||s>0?iA(r.left,r.top,i,s,Y.TOP_LEFT):new T(r.left,r.top),this.topRightBorderBox=l>0||c>0?iA(r.left+p,r.top,l,c,Y.TOP_RIGHT):new T(r.left+r.width,r.top),this.bottomRightBorderBox=o>0||u>0?iA(r.left+v,r.top+h,o,u,Y.BOTTOM_RIGHT):new T(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=g>0||w>0?iA(r.left,r.top+U,g,w,Y.BOTTOM_LEFT):new T(r.left,r.top+r.height),this.topLeftPaddingBox=i>0||s>0?iA(r.left+y,r.top+C,Math.max(0,i-y),Math.max(0,s-C),Y.TOP_LEFT):new T(r.left+y,r.top+C),this.topRightPaddingBox=l>0||c>0?iA(r.left+Math.min(p,r.width-m),r.top+C,p>r.width+m?0:Math.max(0,l-m),Math.max(0,c-C),Y.TOP_RIGHT):new T(r.left+r.width-m,r.top+C),this.bottomRightPaddingBox=o>0||u>0?iA(r.left+Math.min(v,r.width-y),r.top+Math.min(h,r.height-I),Math.max(0,o-m),Math.max(0,u-I),Y.BOTTOM_RIGHT):new T(r.left+r.width-m,r.top+r.height-I),this.bottomLeftPaddingBox=g>0||w>0?iA(r.left+y,r.top+Math.min(U,r.height-I),Math.max(0,g-y),Math.max(0,w-I),Y.BOTTOM_LEFT):new T(r.left+y,r.top+r.height-I),this.topLeftContentBox=i>0||s>0?iA(r.left+y+R,r.top+C+L,Math.max(0,i-(y+R)),Math.max(0,s-(C+L)),Y.TOP_LEFT):new T(r.left+y+R,r.top+C+L),this.topRightContentBox=l>0||c>0?iA(r.left+Math.min(p,r.width+y+R),r.top+C+L,p>r.width+y+R?0:l-y+R,c-(C+L),Y.TOP_RIGHT):new T(r.left+r.width-(m+G),r.top+C+L),this.bottomRightContentBox=o>0||u>0?iA(r.left+Math.min(v,r.width-(y+R)),r.top+Math.min(h,r.height+C+L),Math.max(0,o-(m+G)),u-(I+nA),Y.BOTTOM_RIGHT):new T(r.left+r.width-(m+G),r.top+r.height-(I+nA)),this.bottomLeftContentBox=g>0||w>0?iA(r.left+y+R,r.top+U,Math.max(0,g-(y+R)),w-(I+nA),Y.BOTTOM_LEFT):new T(r.left+y+R,r.top+r.height-(I+nA))}return A}(),Y;(function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Y||(Y={}));var iA=function(A,e,t,r,n){var i=4*((Math.sqrt(2)-1)/3),s=t*i,a=r*i,l=A+t,c=e+r;switch(n){case Y.TOP_LEFT:return new xi(new T(A,c),new T(A,c-a),new T(l-s,e),new T(l,e));case Y.TOP_RIGHT:return new xi(new T(A,e),new T(A+s,e),new T(l,c-a),new T(l,c));case Y.BOTTOM_RIGHT:return new xi(new T(l,e),new T(l,e+a),new T(A+s,c),new T(A,c));case Y.BOTTOM_LEFT:default:return new xi(new T(l,c),new T(l-s,c),new T(A,e+a),new T(A,e))}},_o=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},JU=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},So=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},YU=function(){function A(e,t,r){this.offsetX=e,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return A}(),Li=function(){function A(e,t){this.path=e,this.target=t,this.type=1}return A}(),zU=function(){function A(e){this.opacity=e,this.type=2,this.target=6}return A}(),jU=function(A){return A.type===0},ep=function(A){return A.type===1},ZU=function(A){return A.type===2},Of=function(A,e){return A.length===e.length?A.some(function(t,r){return t===e[r]}):!1},$U=function(A,e,t,r,n){return A.map(function(i,s){switch(s){case 0:return i.add(e,t);case 1:return i.add(e+r,t);case 2:return i.add(e+r,t+n);case 3:return i.add(e,t+n)}return i})},tp=function(){function A(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),rp=function(){function A(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new WU(this.container),this.container.styles.opacity<1&&this.effects.push(new zU(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,i=this.container.styles.transform;this.effects.push(new YU(r,n,i))}if(this.container.styles.overflowX!==0){var s=_o(this.curves),a=So(this.curves);Of(s,a)?this.effects.push(new Li(s,6)):(this.effects.push(new Li(s,2)),this.effects.push(new Li(a,4)))}}return A.prototype.getEffects=function(e){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,n=this.effects.slice(0);r;){var i=r.effects.filter(function(l){return!ep(l)});if(t||r.container.styles.position!==0||!r.parent){if(n.unshift.apply(n,i),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var s=_o(r.curves),a=So(r.curves);Of(s,a)||n.unshift(new Li(a,6))}}else n.unshift.apply(n,i);r=r.parent}return n.filter(function(l){return UA(l.target,e)})},A}(),hl=function(A,e,t,r){A.container.elements.forEach(function(n){var i=UA(n.flags,4),s=UA(n.flags,2),a=new rp(n,A);UA(n.styles.display,2048)&&r.push(a);var l=UA(n.flags,8)?[]:r;if(i||s){var c=i||n.styles.isPositioned()?t:e,B=new tp(a);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var o=n.styles.zIndex.order;if(o<0){var u=0;c.negativeZIndex.some(function(g,w){return o>g.element.container.styles.zIndex.order?(u=w,!1):u>0}),c.negativeZIndex.splice(u,0,B)}else if(o>0){var f=0;c.positiveZIndex.some(function(g,w){return o>=g.element.container.styles.zIndex.order?(f=w+1,!1):f>0}),c.positiveZIndex.splice(f,0,B)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(B)}else n.styles.isFloating()?c.nonPositionedFloats.push(B):c.nonPositionedInlineLevel.push(B);hl(a,B,i?B:t,l)}else n.styles.isInlineLevel()?e.inlineLevel.push(a):e.nonInlineLevel.push(a),hl(a,e,t,l);UA(n.flags,8)&&np(n,l)})},np=function(A,e){for(var t=A instanceof Bl?A.start:1,r=A instanceof Bl?A.reversed:!1,n=0;n"u"?A[0]:t},oF=function(A,e,t,r,n){var i=e[0],s=e[1],a=t[0],l=t[1];switch(A){case 2:return[new T(Math.round(r.left),Math.round(r.top+s)),new T(Math.round(r.left+r.width),Math.round(r.top+s)),new T(Math.round(r.left+r.width),Math.round(l+r.top+s)),new T(Math.round(r.left),Math.round(l+r.top+s))];case 3:return[new T(Math.round(r.left+i),Math.round(r.top)),new T(Math.round(r.left+i+a),Math.round(r.top)),new T(Math.round(r.left+i+a),Math.round(r.height+r.top)),new T(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new T(Math.round(r.left+i),Math.round(r.top+s)),new T(Math.round(r.left+i+a),Math.round(r.top+s)),new T(Math.round(r.left+i+a),Math.round(r.top+s+l)),new T(Math.round(r.left+i),Math.round(r.top+s+l))];default:return[new T(Math.round(n.left),Math.round(n.top)),new T(Math.round(n.left+n.width),Math.round(n.top)),new T(Math.round(n.left+n.width),Math.round(n.height+n.top)),new T(Math.round(n.left),Math.round(n.height+n.top))]}},sF="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Mf="Hidden Text",aF=function(){function A(e){this._data={},this._document=e}return A.prototype.parseMetrics=function(e,t){var r=this._document.createElement("div"),n=this._document.createElement("img"),i=this._document.createElement("span"),s=this._document.body;r.style.visibility="hidden",r.style.fontFamily=e,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",s.appendChild(r),n.src=sF,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",i.style.fontFamily=e,i.style.fontSize=t,i.style.margin="0",i.style.padding="0",i.appendChild(this._document.createTextNode(Mf)),r.appendChild(i),r.appendChild(n);var a=n.offsetTop-i.offsetTop+2;r.removeChild(i),r.appendChild(this._document.createTextNode(Mf)),r.style.lineHeight="normal",n.style.verticalAlign="super";var l=n.offsetTop-r.offsetTop+2;return s.removeChild(r),{baseline:a,middle:l}},A.prototype.getMetrics=function(e,t){var r=e+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(e,t)),this._data[r]},A}(),op=function(){function A(e,t){this.context=e,this.options=t}return A}(),lF=1e4,uF=function(A){_e(e,A);function e(t,r){var n=A.call(this,t,r)||this;return n._activeEffects=[],n.canvas=r.canvas?r.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),r.canvas||(n.canvas.width=Math.floor(r.width*r.scale),n.canvas.height=Math.floor(r.height*r.scale),n.canvas.style.width=r.width+"px",n.canvas.style.height=r.height+"px"),n.fontMetrics=new aF(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-r.x,-r.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),n}return e.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return r.applyEffect(n)})},e.prototype.applyEffect=function(t){this.ctx.save(),ZU(t)&&(this.ctx.globalAlpha=t.opacity),jU(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),ep(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(t){return bA(this,void 0,void 0,function(){var r;return MA(this,function(n){switch(n.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},e.prototype.renderNode=function(t){return bA(this,void 0,void 0,function(){return MA(this,function(r){switch(r.label){case 0:if(UA(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},e.prototype.renderTextWithLetterSpacing=function(t,r,n){var i=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var s=vu(t.text);s.reduce(function(a,l){return i.ctx.fillText(l,a,t.bounds.top+n),a+i.ctx.measureText(l).width},t.bounds.left)}},e.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),n=gF(t.fontFamily).join(", "),i=Yn(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,i,n].join(" "),n,i]},e.prototype.renderTextNode=function(t,r){return bA(this,void 0,void 0,function(){var n,i,s,a,l,c,B,o,u=this;return MA(this,function(f){return n=this.createFontStyle(r),i=n[0],s=n[1],a=n[2],this.ctx.font=i,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",l=this.fontMetrics.getMetrics(s,a),c=l.baseline,B=l.middle,o=r.paintOrder,t.textBounds.forEach(function(g){o.forEach(function(w){switch(w){case 0:u.ctx.fillStyle=yA(r.color),u.renderTextWithLetterSpacing(g,r.letterSpacing,c);var Q=r.textShadow;Q.length&&g.text.trim().length&&(Q.slice(0).reverse().forEach(function(d){u.ctx.shadowColor=yA(d.color),u.ctx.shadowOffsetX=d.offsetX.number*u.options.scale,u.ctx.shadowOffsetY=d.offsetY.number*u.options.scale,u.ctx.shadowBlur=d.blur.number,u.renderTextWithLetterSpacing(g,r.letterSpacing,c)}),u.ctx.shadowColor="",u.ctx.shadowOffsetX=0,u.ctx.shadowOffsetY=0,u.ctx.shadowBlur=0),r.textDecorationLine.length&&(u.ctx.fillStyle=yA(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(d){switch(d){case 1:u.ctx.fillRect(g.bounds.left,Math.round(g.bounds.top+c),g.bounds.width,1);break;case 2:u.ctx.fillRect(g.bounds.left,Math.round(g.bounds.top),g.bounds.width,1);break;case 3:u.ctx.fillRect(g.bounds.left,Math.ceil(g.bounds.top+B),g.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&g.text.trim().length&&(u.ctx.strokeStyle=yA(r.webkitTextStrokeColor),u.ctx.lineWidth=r.webkitTextStrokeWidth,u.ctx.lineJoin=window.chrome?"miter":"round",u.ctx.strokeText(g.text,g.bounds.left,g.bounds.top+c)),u.ctx.strokeStyle="",u.ctx.lineWidth=0,u.ctx.lineJoin="miter";break}})}),[2]})})},e.prototype.renderReplacedElement=function(t,r,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var i=xo(t),s=So(r);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(t){return bA(this,void 0,void 0,function(){var r,n,i,s,a,l,p,p,c,B,o,u,v,f,g,U,w,Q,d,p,h,v,U;return MA(this,function(C){switch(C.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,n=t.curves,i=r.styles,s=0,a=r.textNodes,C.label=1;case 1:return s0&&W>0&&(I=i.ctx.createPattern(U,"repeat"),i.renderRepeat(L,I,pA,wA))):Z0(B)&&(y=ta(t,r,[null,null,null]),L=y[0],G=y[1],nA=y[2],R=y[3],W=y[4],DA=B.position.length===0?[hu]:B.position,pA=$(DA[0],R),wA=$(DA[DA.length-1],W),x=W0(B,pA,wA,R,W),k=x[0],M=x[1],k>0&&M>0&&(V=i.ctx.createRadialGradient(G+pA,nA+wA,0,G+pA,nA+wA,k),of(B.stops,k*2).forEach(function(Ae){return V.addColorStop(Ae.stop,yA(Ae.color))}),i.path(L),i.ctx.fillStyle=V,k!==M?(J=t.bounds.left+.5*t.bounds.width,hA=t.bounds.top+.5*t.bounds.height,IA=M/k,_A=1/IA,i.ctx.save(),i.ctx.translate(J,hA),i.ctx.transform(1,0,0,IA,0,0),i.ctx.translate(-J,-hA),i.ctx.fillRect(G,_A*(nA-hA)+hA,R,W*_A),i.ctx.restore()):i.ctx.fill())),mA.label=6;case 6:return r--,[2]}})},i=this,s=0,a=t.styles.backgroundImage.slice(0).reverse(),c.label=1;case 1:return s0?B.style!==2?[3,5]:[4,this.renderDashedDottedBorder(B.color,B.width,a,t.curves,2)]:[3,11]):[3,13];case 4:return u.sent(),[3,11];case 5:return B.style!==3?[3,7]:[4,this.renderDashedDottedBorder(B.color,B.width,a,t.curves,3)];case 6:return u.sent(),[3,11];case 7:return B.style!==4?[3,9]:[4,this.renderDoubleBorder(B.color,B.width,a,t.curves)];case 8:return u.sent(),[3,11];case 9:return[4,this.renderSolidBorder(B.color,a,t.curves)];case 10:u.sent(),u.label=11;case 11:a++,u.label=12;case 12:return l++,[3,3];case 13:return[2]}})})},e.prototype.renderDashedDottedBorder=function(t,r,n,i,s){return bA(this,void 0,void 0,function(){var a,l,c,B,o,u,f,g,w,Q,d,p,h,v,U,C,U,C;return MA(this,function(m){return this.ctx.save(),a=tF(i,n),l=kf(i,n),s===2&&(this.path(l),this.ctx.clip()),ce(l[0])?(c=l[0].start.x,B=l[0].start.y):(c=l[0].x,B=l[0].y),ce(l[1])?(o=l[1].end.x,u=l[1].end.y):(o=l[1].x,u=l[1].y),n===0||n===2?f=Math.abs(c-o):f=Math.abs(B-u),this.ctx.beginPath(),s===3?this.formatPath(a):this.formatPath(l.slice(0,2)),g=r<3?r*3:r*2,w=r<3?r*2:r,s===3&&(g=r,w=r),Q=!0,f<=g*2?Q=!1:f<=g*2+w?(d=f/(2*g+w),g*=d,w*=d):(p=Math.floor((f+w)/(g+w)),h=(f-p*g)/(p-1),v=(f-(p+1)*g)/p,w=v<=0||Math.abs(w-h){const U="0123456789ABCDEF";let C="#";for(let m=0;m<6;m++)C+=U[Math.floor(Math.random()*16)];return C},d=()=>{const m=window.innerWidth/2-50,I=10;let y,L;do y=Math.floor(Math.random()*(window.innerWidth-g))+g/2,L=Math.floor(Math.random()*(window.innerHeight-w-60)+60)+w/2;while(y>m-100/2&&yI-50/2&&L{const U=(y,L)=>Math.random()*(L-y)+y,C=(y,L)=>Math.floor(Math.random()*(L-y)+y),m=()=>{const y=C(0,255),L=C(0,255),G=C(0,255);return`rgb(${y}, ${L}, ${G})`},I=[`blur(${U(1,10).toFixed(2)}px)`,`grayscale(${C(0,100)}%)`,`sepia(${C(0,100)}%)`,`hue-rotate(${C(0,360)}deg)`,`invert(${C(0,100)}%)`,`contrast(${C(50,200)}%)`,`brightness(${C(50,200)}%)`,`saturate(${C(50,200)}%)`,`opacity(${C(0,100)}%)`,`drop-shadow(${C(1,20)}px ${C(1,20)}px ${C(1,30)}px ${m()})`];return I[Math.floor(Math.random()*I.length)]},h=()=>{var C,m;e(!0),(C=u.current)==null||C.play(),(m=u.current)==null||m.stop();const U=t+9999999;r(U),a([...s,{position:d(),filter:p()}]),U%100===0&&(c(!0),v())},v=async()=>{if(f.current){const C=(await CF(f.current)).toDataURL();o([...B,C]),a([])}};return GA.useEffect(()=>{if(l){const U=setTimeout(()=>{c(!1)},5e3);return()=>clearTimeout(U)}},[l]),GA.useEffect(()=>{i(Q())},[t]),Ue.jsxs("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:[l&&Ue.jsx(Zh,{width:window.innerWidth,height:window.innerHeight}),Ue.jsx("img",{src:"/sanayi.png",alt:"",className:"sanayipng",onClick:h,style:{position:"relative",zIndex:1}}),Ue.jsx("div",{className:"countWrapper",style:{position:"absolute",top:10,left:"50%",transform:"translateX(-50%)",zIndex:2},children:Ue.jsx("h1",{style:{color:n},children:t})}),A&&Ue.jsx(zh,{src:"uwu.wav",ref:u,preload:!0}),Ue.jsx("div",{ref:f,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:0},children:s.map((U,C)=>Ue.jsx("img",{src:"/sanayi.png",alt:"",className:"sanayipng",style:{position:"absolute",left:`${U.position.x-g/2}px`,top:`${U.position.y-w/2}px`,transform:"translate(-50%,-50%)",filter:U.filter}},C))}),B.map((U,C)=>Ue.jsx("img",{src:U,alt:`Screenshot ${C+1}`,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:-1}},C))]})}ra.createRoot(document.getElementById("root")).render(Ue.jsx(Fp.StrictMode,{children:Ue.jsx(FF,{})}));