@thorvg/lottie-player 1.0.0-pre28 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +88 -13
- package/dist/gl/lottie-player.cjs.js +2 -2
- package/dist/gl/lottie-player.cjs.js.map +1 -1
- package/dist/gl/lottie-player.esm.js +2 -2
- package/dist/gl/lottie-player.esm.js.map +1 -1
- package/dist/gl/lottie-player.js +2 -2
- package/dist/gl/lottie-player.js.map +1 -1
- package/dist/gl/thorvg.wasm +0 -0
- package/dist/gl-lite/lottie-player.cjs.js +2 -2
- package/dist/gl-lite/lottie-player.cjs.js.map +1 -1
- package/dist/gl-lite/lottie-player.esm.js +2 -2
- package/dist/gl-lite/lottie-player.esm.js.map +1 -1
- package/dist/gl-lite/lottie-player.js +2 -2
- package/dist/gl-lite/lottie-player.js.map +1 -1
- package/dist/gl-lite/thorvg.wasm +0 -0
- package/dist/lottie-player.cjs.js +2 -2
- package/dist/lottie-player.cjs.js.map +1 -1
- package/dist/lottie-player.d.ts +41 -2
- package/dist/lottie-player.esm.js +2 -2
- package/dist/lottie-player.esm.js.map +1 -1
- package/dist/lottie-player.js +2 -2
- package/dist/lottie-player.js.map +1 -1
- package/dist/sw/lottie-player.cjs.js +2 -2
- package/dist/sw/lottie-player.cjs.js.map +1 -1
- package/dist/sw/lottie-player.esm.js +2 -2
- package/dist/sw/lottie-player.esm.js.map +1 -1
- package/dist/sw/lottie-player.js +2 -2
- package/dist/sw/lottie-player.js.map +1 -1
- package/dist/sw/thorvg.wasm +0 -0
- package/dist/sw-lite/lottie-player.cjs.js +2 -2
- package/dist/sw-lite/lottie-player.cjs.js.map +1 -1
- package/dist/sw-lite/lottie-player.esm.js +2 -2
- package/dist/sw-lite/lottie-player.esm.js.map +1 -1
- package/dist/sw-lite/lottie-player.js +2 -2
- package/dist/sw-lite/lottie-player.js.map +1 -1
- package/dist/sw-lite/thorvg.wasm +0 -0
- package/dist/thorvg.wasm +0 -0
- package/dist/wg/lottie-player.cjs.js +4 -0
- package/dist/wg/lottie-player.cjs.js.map +1 -0
- package/dist/wg/lottie-player.esm.js +4 -0
- package/dist/wg/lottie-player.esm.js.map +1 -0
- package/dist/wg/lottie-player.js +4 -0
- package/dist/wg/lottie-player.js.map +1 -0
- package/dist/wg/thorvg.wasm +0 -0
- package/dist/wg-lite/lottie-player.cjs.js +4 -0
- package/dist/wg-lite/lottie-player.cjs.js.map +1 -0
- package/dist/wg-lite/lottie-player.esm.js +4 -0
- package/dist/wg-lite/lottie-player.esm.js.map +1 -0
- package/dist/wg-lite/lottie-player.js +4 -0
- package/dist/wg-lite/lottie-player.js.map +1 -0
- package/dist/wg-lite/thorvg.wasm +0 -0
- package/package.json +36 -25
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lottie-player.esm.js","sources":["../../node_modules/@lit/reactive-element/decorators/custom-element.js","../../node_modules/@lit/reactive-element/css-tag.js","../../node_modules/@lit/reactive-element/reactive-element.js","../../node_modules/@lit/reactive-element/decorators/property.js","../../node_modules/lit-html/lit-html.js","../../node_modules/lit-element/lit-element.js"],"sourcesContent":["/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)};export{t as customElement};\n//# sourceMappingURL=custom-element.js.map\n","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement(\"style\"),n=t.litNonce;void 0!==n&&o.setAttribute(\"nonce\",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:r,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:\"open\"},b[d(\"elementProperties\")]=new Map,b[d(\"finalized\")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push(\"2.0.4\");export{b as ReactiveElement,u as defaultConverter,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","import{defaultConverter as t,notEqual as e}from\"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),\"accessor\"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if(\"setter\"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error(\"Unsupported decorator location: \"+n)};function n(t){return(e,o)=>\"object\"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};\n//# sourceMappingURL=property.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst n=globalThis,c=n.trustedTypes,h=c?c.createPolicy(\"lit-html\",{createHTML:t=>t}):void 0,f=\"$lit$\",v=`lit$${Math.random().toFixed(9).slice(2)}$`,m=\"?\"+v,_=`<${m}>`,w=document,lt=()=>w.createComment(\"\"),st=t=>null===t||\"object\"!=typeof t&&\"function\"!=typeof t,g=Array.isArray,$=t=>g(t)||\"function\"==typeof t?.[Symbol.iterator],x=\"[ \\t\\n\\f\\r]\",T=/<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g,E=/-->/g,k=/>/g,O=RegExp(`>|${x}(?:([^\\\\s\"'>=/]+)(${x}*=${x}*(?:[^ \\t\\n\\f\\r\"'\\`<>=]|(\"|')|))|$)`,\"g\"),S=/'/g,j=/\"/g,M=/^(?:script|style|textarea|title)$/i,P=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),ke=P(1),Oe=P(2),Se=P(3),R=Symbol.for(\"lit-noChange\"),D=Symbol.for(\"lit-nothing\"),V=new WeakMap,I=w.createTreeWalker(w,129);function N(t,i){if(!g(t)||!t.hasOwnProperty(\"raw\"))throw Error(\"invalid template strings array\");return void 0!==h?h.createHTML(i):i}const U=(t,i)=>{const s=t.length-1,e=[];let h,o=2===i?\"<svg>\":3===i?\"<math>\":\"\",n=T;for(let i=0;i<s;i++){const s=t[i];let r,l,c=-1,a=0;for(;a<s.length&&(n.lastIndex=a,l=n.exec(s),null!==l);)a=n.lastIndex,n===T?\"!--\"===l[1]?n=E:void 0!==l[1]?n=k:void 0!==l[2]?(M.test(l[2])&&(h=RegExp(\"</\"+l[2],\"g\")),n=O):void 0!==l[3]&&(n=O):n===O?\">\"===l[0]?(n=h??T,c=-1):void 0===l[1]?c=-2:(c=n.lastIndex-l[2].length,r=l[1],n=void 0===l[3]?O:'\"'===l[3]?j:S):n===j||n===S?n=O:n===E||n===k?n=T:(n=O,h=void 0);const u=n===O&&t[i+1].startsWith(\"/>\")?\" \":\"\";o+=n===T?s+_:c>=0?(e.push(r),s.slice(0,c)+f+s.slice(c)+v+u):s+v+(-2===c?i:u)}return[N(t,o+(t[s]||\"<?>\")+(2===i?\"</svg>\":3===i?\"</math>\":\"\")),e]};class B{constructor({strings:t,_$litType$:i},s){let e;this.parts=[];let h=0,o=0;const n=t.length-1,r=this.parts,[l,a]=U(t,i);if(this.el=B.createElement(l,s),I.currentNode=this.el.content,2===i||3===i){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(e=I.nextNode())&&r.length<n;){if(1===e.nodeType){if(e.hasAttributes())for(const t of e.getAttributeNames())if(t.endsWith(f)){const i=a[o++],s=e.getAttribute(t).split(v),n=/([.?@])?(.*)/.exec(i);r.push({type:1,index:h,name:n[2],strings:s,ctor:\".\"===n[1]?Y:\"?\"===n[1]?Z:\"@\"===n[1]?q:G}),e.removeAttribute(t)}else t.startsWith(v)&&(r.push({type:6,index:h}),e.removeAttribute(t));if(M.test(e.tagName)){const t=e.textContent.split(v),i=t.length-1;if(i>0){e.textContent=c?c.emptyScript:\"\";for(let s=0;s<i;s++)e.append(t[s],lt()),I.nextNode(),r.push({type:2,index:++h});e.append(t[i],lt())}}}else if(8===e.nodeType)if(e.data===m)r.push({type:2,index:h});else{let t=-1;for(;-1!==(t=e.data.indexOf(v,t+1));)r.push({type:7,index:h}),t+=v.length-1}h++}}static createElement(t,i){const s=w.createElement(\"template\");return s.innerHTML=t,s}}function z(t,i,s=t,e){if(i===R)return i;let h=void 0!==e?s.o?.[e]:s.l;const o=st(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s.o??=[])[e]=h:s.l=h),void 0!==h&&(i=z(t,h._$AS(t,i.values),h,e)),i}class F{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??w).importNode(i,!0);I.currentNode=e;let h=I.nextNode(),o=0,n=0,r=s[0];for(;void 0!==r;){if(o===r.index){let i;2===r.type?i=new et(h,h.nextSibling,this,t):1===r.type?i=new r.ctor(h,r.name,r.strings,this,t):6===r.type&&(i=new K(h,this,t)),this._$AV.push(i),r=s[++n]}o!==r?.index&&(h=I.nextNode(),o++)}return I.currentNode=w,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++}}class et{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,i,s,e){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this.v=e?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=z(this,t,i),st(t)?t===D||null==t||\"\"===t?(this._$AH!==D&&this._$AR(),this._$AH=D):t!==this._$AH&&t!==R&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):$(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==D&&st(this._$AH)?this._$AA.nextSibling.data=t:this.T(w.createTextNode(t)),this._$AH=t}$(t){const{values:i,_$litType$:s}=t,e=\"number\"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=B.createElement(N(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else{const t=new F(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t}}_$AC(t){let i=V.get(t.strings);return void 0===i&&V.set(t.strings,i=new B(t)),i}k(t){g(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new et(this.O(lt()),this.O(lt()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e)}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){void 0===this._$AM&&(this.v=t,this._$AP?.(t))}}class G{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=D,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||\"\"!==s[0]||\"\"!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=D}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=z(this,t,i,0),o=!st(t)||t!==this._$AH&&t!==R,o&&(this._$AH=t);else{const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=z(this,e[s+n],i,n),r===R&&(r=this._$AH[n]),o||=!st(r)||r!==this._$AH[n],r===D?t=D:t!==D&&(t+=(r??\"\")+h[n+1]),this._$AH[n]=r}o&&!e&&this.j(t)}j(t){t===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??\"\")}}class Y extends G{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===D?void 0:t}}class Z extends G{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==D)}}class q extends G{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5}_$AI(t,i=this){if((t=z(this,t,i,0)??D)===R)return;const s=this._$AH,e=t===D&&s!==D||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==D&&(s===D||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){\"function\"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class K{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){z(this,t)}}const si={M:f,P:v,A:m,C:1,L:U,R:F,D:$,V:z,I:et,H:G,N:Z,U:q,B:Y,F:K},Re=n.litHtmlPolyfillSupport;Re?.(B,et),(n.litHtmlVersions??=[]).push(\"3.2.0\");const Q=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new et(i.insertBefore(lt(),t),t,void 0,s??{})}return h._$AI(t),h};export{si as _$LH,ke as html,Se as mathml,R as noChange,D as nothing,Q as render,Oe as svg};\n//# sourceMappingURL=lit-html.js.map\n","import{ReactiveElement as e}from\"@lit/reactive-element\";export*from\"@lit/reactive-element\";import{render as n,noChange as l}from\"lit-html\";export*from\"lit-html\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */class h extends e{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=n(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return l}}h._$litElement$=!0,h[\"finalized\"]=!0,globalThis.litElementHydrateSupport?.({LitElement:h});const f=globalThis.litElementPolyfillSupport;f?.({LitElement:h});const x={_$AK:(t,e,s)=>{t._$AK(e,s)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push(\"4.1.0\");export{h as LitElement,x as _$LE};\n//# sourceMappingURL=lit-element.js.map\n"],"names":["t","globalThis","e","ShadowRoot","ShadyCSS","nativeShadow","Document","prototype","CSSStyleSheet","s","Symbol","o","WeakMap","n$3","constructor","this","_$cssResult$","Error","cssText","styleSheet","length","get","replaceSync","set","toString","S","adoptedStyleSheets","map","document","createElement","n","litNonce","setAttribute","textContent","appendChild","c","cssRules","r","is","i","defineProperty","getOwnPropertyDescriptor","getOwnPropertyNames","h","getOwnPropertySymbols","getPrototypeOf","Object","a","trustedTypes","l","emptyScript","p","reactiveElementPolyfillSupport","d","u","toAttribute","Boolean","Array","JSON","stringify","fromAttribute","Number","parse","f","y","attribute","type","String","converter","reflect","hasChanged","metadata","litPropertyMetadata","b","HTMLElement","addInitializer","_$Ei","push","observedAttributes","finalize","_$Eh","keys","createProperty","state","elementProperties","noAccessor","getPropertyDescriptor","call","requestUpdate","configurable","enumerable","getPropertyOptions","hasOwnProperty","Map","finalized","properties","_$Eu","elementStyles","finalizeStyles","styles","isArray","Set","flat","reverse","unshift","toLowerCase","super","_$Ep","isUpdatePending","hasUpdated","_$Em","_$Ev","_$ES","Promise","enableUpdating","_$AL","_$E_","forEach","addController","_$EO","add","renderRoot","isConnected","hostConnected","removeController","delete","size","createRenderRoot","shadowRoot","attachShadow","shadowRootOptions","connectedCallback","disconnectedCallback","hostDisconnected","attributeChangedCallback","_$AK","_$EC","removeAttribute","P","_$ET","has","_$Ej","reject","scheduleUpdate","performUpdate","wrapped","shouldUpdate","willUpdate","hostUpdate","update","_$EU","_$AE","hostUpdated","firstUpdated","updated","updateComplete","getUpdateComplete","mode","ReactiveElement","reactiveElementVersions","kind","name","init","createPolicy","createHTML","v","Math","random","toFixed","slice","m","_","w","lt","createComment","st","g","x","T","E","k","O","RegExp","j","M","ke","_$litType$","strings","values","R","for","D","V","I","createTreeWalker","N","B","parts","lastIndex","exec","test","startsWith","U","el","currentNode","content","firstChild","replaceWith","childNodes","nextNode","nodeType","hasAttributes","getAttributeNames","endsWith","getAttribute","split","index","ctor","Y","Z","q","G","tagName","append","data","indexOf","innerHTML","z","_$litDirective$","_$AO","_$AT","_$AS","F","_$AV","_$AN","_$AD","_$AM","parentNode","_$AU","creationScope","importNode","et","nextSibling","K","_$AI","_$AH","_$AA","_$AB","options","startNode","endNode","_$AR","$","iterator","insertBefore","createTextNode","_$AC","_$AP","remove","setConnected","element","fill","arguments","toggleAttribute","capture","once","passive","removeEventListener","addEventListener","handleEvent","host","Re","litHtmlPolyfillSupport","litHtmlVersions","renderOptions","renderBefore","render","_$litPart$","_$litElement$","litElementHydrateSupport","LitElement","litElementPolyfillSupport","litElementVersions","customElements","define"],"mappings":"4EAKA,MCAMA,EAAEC,WAAWC,EAAEF,EAAEG,kBAAa,IAASH,EAAEI,UAAUJ,EAAEI,SAASC,eAAe,uBAAuBC,SAASC,WAAW,YAAYC,cAAcD,UAAUE,EAAEC,SAASC,EAAE,IAAIC,QAAO,IAAAC,EAAC,MAAQ,WAAAC,CAAYd,EAAEE,EAAES,GAAG,GAAGI,KAAKC,cAAa,EAAGL,IAAIF,EAAE,MAAMQ,MAAM,qEAAqEF,KAAKG,QAAQlB,EAAEe,KAAKf,EAAEE,CAAC,CAAC,cAAIiB,GAAa,IAAInB,EAAEe,KAAKJ,EAAE,MAAMF,EAAEM,KAAKf,EAAE,GAAGE,QAAG,IAASF,EAAE,CAAC,MAAME,OAAE,IAASO,GAAG,IAAIA,EAAEW,OAAOlB,IAAIF,EAAEW,EAAEU,IAAIZ,SAAI,IAAST,KAAKe,KAAKJ,EAAEX,EAAE,IAAIQ,eAAec,YAAYP,KAAKG,SAAShB,GAAGS,EAAEY,IAAId,EAAET,GAAG,CAAC,OAAOA,CAAC,CAAC,QAAAwB,GAAW,OAAOT,KAAKG,OAAO,GAAO,MAAyYO,EAA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AEyM,KAAKpP,GAAG2C,GCArmNb,CAAE5B,EAAEa,KAAK0G,WAAW1G,KAAKmQ,cAAc,CAAC,iBAAA/I,GAAoBzB,MAAMyB,oBAAoBpH,KAAKJ,GAAGwP,cAAa,EAAG,CAAC,oBAAA/H,GAAuB1B,MAAM0B,uBAAuBrH,KAAKJ,GAAGwP,cAAa,EAAG,CAAC,MAAAiB,GAAS,OAAOnO,CAAC,EAAEN,GAAE2O,eAAc,EAAG3O,GAAa,WAAE,EAAG1C,WAAWsR,2BAA2B,CAACC,WAAW7O,KAAI,MAAMoB,GAAE9D,WAAWwR,0BAA0B1N,KAAI,CAACyN,WAAW7O,MAA0D1C,WAAWyR,qBAAqB,IAAI7M,KAAK;;isCLA5wB7E,IAAG,CAACE,EAAES,cAAcA,EAAEA,EAAEgE,gBAAc,KAAOgN,eAAeC,OAAO5R,EAAEE,EAAG,IAAGyR,eAAeC,OAAO5R,EAAEE","x_google_ignoreList":[0,1,2,3,4,5]}
|
|
1
|
+
{"version":3,"file":"lottie-player.esm.js","sources":["../../../../node_modules/.pnpm/@lit+reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js","../../../../node_modules/.pnpm/@lit+reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js","../../../../node_modules/.pnpm/@lit+reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js","../../../../node_modules/.pnpm/@lit+reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js","../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js","../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js"],"sourcesContent":["/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)};export{t as customElement};\n//# sourceMappingURL=custom-element.js.map\n","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement(\"style\"),n=t.litNonce;void 0!==n&&o.setAttribute(\"nonce\",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,css,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:h,getOwnPropertyNames:r,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),b={attribute:!0,type:String,converter:u,reflect:!1,useDefault:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class y extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=b){if(s.state&&(s.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((s=Object.create(s)).wrapped=!0),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),h=this.getPropertyDescriptor(t,i,s);void 0!==h&&e(this.prototype,t,h)}}static getPropertyDescriptor(t,s,i){const{get:e,set:r}=h(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get:e,set(s){const h=e?.call(this);r?.call(this,s),this.requestUpdate(t,h,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...r(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$ET(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const h=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==h?this.removeAttribute(e):this.setAttribute(e,h),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),h=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e;const r=h.fromAttribute(s,t.type);this[e]=r??this._$Ej?.get(e)??r,this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){const e=this.constructor,h=this[t];if(i??=e.getPropertyOptions(t),!((i.hasChanged??f)(h,s)||i.useDefault&&i.reflect&&h===this._$Ej?.get(t)&&!this.hasAttribute(e._$Eu(t,i))))return;this.C(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,s,{useDefault:i,reflect:e,wrapped:h},r){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??s??this[t]),!0!==h||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||i||(s=void 0),this._$AL.set(t,s)),!0===e&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t){const{wrapped:t}=i,e=this[s];!0!==t||this._$AL.has(s)||void 0===e||this.C(s,void 0,i,e)}}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}}y.elementStyles=[],y.shadowRootOptions={mode:\"open\"},y[d(\"elementProperties\")]=new Map,y[d(\"finalized\")]=new Map,p?.({ReactiveElement:y}),(a.reactiveElementVersions??=[]).push(\"2.1.1\");export{y as ReactiveElement,s as adoptStyles,u as defaultConverter,t as getCompatibleStyle,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","import{defaultConverter as t,notEqual as e}from\"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),\"setter\"===n&&((t=Object.create(t)).wrapped=!0),s.set(r.name,t),\"accessor\"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.C(o,void 0,t,e),e}}}if(\"setter\"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error(\"Unsupported decorator location: \"+n)};function n(t){return(e,o)=>\"object\"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};\n//# sourceMappingURL=property.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,i=t.trustedTypes,s=i?i.createPolicy(\"lit-html\",{createHTML:t=>t}):void 0,e=\"$lit$\",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o=\"?\"+h,n=`<${o}>`,r=document,l=()=>r.createComment(\"\"),c=t=>null===t||\"object\"!=typeof t&&\"function\"!=typeof t,a=Array.isArray,u=t=>a(t)||\"function\"==typeof t?.[Symbol.iterator],d=\"[ \\t\\n\\f\\r]\",f=/<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\\\s\"'>=/]+)(${d}*=${d}*(?:[^ \\t\\n\\f\\r\"'\\`<>=]|(\"|')|))|$)`,\"g\"),p=/'/g,g=/\"/g,$=/^(?:script|style|textarea|title)$/i,y=t=>(i,...s)=>({_$litType$:t,strings:i,values:s}),x=y(1),b=y(2),w=y(3),T=Symbol.for(\"lit-noChange\"),E=Symbol.for(\"lit-nothing\"),A=new WeakMap,C=r.createTreeWalker(r,129);function P(t,i){if(!a(t)||!t.hasOwnProperty(\"raw\"))throw Error(\"invalid template strings array\");return void 0!==s?s.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?\"<svg>\":3===i?\"<math>\":\"\",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?\"!--\"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp(\"</\"+u[2],\"g\")),c=m):void 0!==u[3]&&(c=m):c===m?\">\"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'\"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith(\"/>\")?\" \":\"\";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h+x):s+h+(-2===d?i:x)}return[P(t,l+(t[s]||\"<?>\")+(2===i?\"</svg>\":3===i?\"</math>\":\"\")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:\".\"===e[1]?H:\"?\"===e[1]?I:\"@\"===e[1]?L:k}),r.removeAttribute(t)}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i?i.emptyScript:\"\";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l())}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else{let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1}c++}}static createElement(t,i){const s=r.createElement(\"template\");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n]}o!==l?.index&&(h=C.nextNode(),o++)}return C.currentNode=r,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||\"\"===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r.createTextNode(t)),this._$AH=t}$(t){const{values:i,_$litType$:s}=t,e=\"number\"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else{const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e)}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||\"\"!==s[0]||\"\"!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else{const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??\"\")+h[n+1]),this._$AH[n]=r}o&&!e&&this.j(t)}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??\"\")}}class H extends k{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===E?void 0:t}}class I extends k{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E)}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){\"function\"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}}const Z={M:e,P:h,A:o,C:1,L:V,R:M,D:u,V:S,I:R,H:k,N:I,U:L,B:H,F:z},j=t.litHtmlPolyfillSupport;j?.(N,R),(t.litHtmlVersions??=[]).push(\"3.3.1\");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l(),t),t,void 0,s??{})}return h._$AI(t),h};export{Z as _$LH,x as html,w as mathml,T as noChange,E as nothing,B as render,b as svg};\n//# sourceMappingURL=lit-html.js.map\n","import{ReactiveElement as t}from\"@lit/reactive-element\";export*from\"@lit/reactive-element\";import{render as e,noChange as r}from\"lit-html\";export*from\"lit-html\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const s=globalThis;class i extends t{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=e(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return r}}i._$litElement$=!0,i[\"finalized\"]=!0,s.litElementHydrateSupport?.({LitElement:i});const o=s.litElementPolyfillSupport;o?.({LitElement:i});const n={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(s.litElementVersions??=[]).push(\"4.2.1\");export{i as LitElement,n as _$LE};\n//# sourceMappingURL=lit-element.js.map\n"],"names":["t","globalThis","e","ShadowRoot","ShadyCSS","nativeShadow","Document","prototype","CSSStyleSheet","s","Symbol","o","WeakMap","n$3","constructor","this","_$cssResult$","Error","cssText","styleSheet","length","get","replaceSync","set","toString","c","cssRules","n","r","is","i","defineProperty","getOwnPropertyDescriptor","h","getOwnPropertyNames","getOwnPropertySymbols","getPrototypeOf","Object","a","trustedTypes","l","emptyScript","p","reactiveElementPolyfillSupport","d","u","toAttribute","Boolean","Array","JSON","stringify","fromAttribute","Number","parse","f","b","attribute","type","String","converter","reflect","useDefault","hasChanged","metadata","litPropertyMetadata","HTMLElement","addInitializer","_$Ei","push","observedAttributes","finalize","_$Eh","keys","createProperty","state","hasOwnProperty","create","wrapped","elementProperties","noAccessor","getPropertyDescriptor","call","requestUpdate","configurable","enumerable","getPropertyOptions","Map","finalized","properties","_$Eu","elementStyles","finalizeStyles","styles","isArray","Set","flat","reverse","unshift","toLowerCase","super","_$Ep","isUpdatePending","hasUpdated","_$Em","_$Ev","_$ES","Promise","enableUpdating","_$AL","_$E_","forEach","addController","_$EO","add","renderRoot","isConnected","hostConnected","removeController","delete","size","createRenderRoot","shadowRoot","attachShadow","shadowRootOptions","adoptedStyleSheets","map","document","createElement","litNonce","setAttribute","textContent","appendChild","connectedCallback","disconnectedCallback","hostDisconnected","attributeChangedCallback","_$AK","_$ET","removeAttribute","_$Ej","hasAttribute","C","_$EP","has","_$Eq","reject","scheduleUpdate","performUpdate","shouldUpdate","willUpdate","hostUpdate","update","_$EM","_$AE","hostUpdated","firstUpdated","updated","updateComplete","getUpdateComplete","y","mode","ReactiveElement","reactiveElementVersions","kind","name","init","createPolicy","createHTML","Math","random","toFixed","slice","createComment","v","_","m","RegExp","g","$","x","_$litType$","strings","values","T","for","E","A","createTreeWalker","P","V","lastIndex","exec","test","startsWith","N","parts","el","currentNode","content","firstChild","replaceWith","childNodes","nextNode","nodeType","hasAttributes","getAttributeNames","endsWith","getAttribute","split","index","ctor","H","I","L","k","tagName","append","data","indexOf","innerHTML","S","_$Co","_$Cl","_$litDirective$","_$AO","_$AT","_$AS","M","_$AV","_$AN","_$AD","_$AM","parentNode","_$AU","creationScope","importNode","R","nextSibling","z","_$AI","_$Cv","_$AH","_$AA","_$AB","options","startNode","endNode","_$AR","iterator","O","insertBefore","createTextNode","_$AC","_$AP","remove","setConnected","element","fill","j","arguments","toggleAttribute","capture","once","passive","removeEventListener","addEventListener","handleEvent","host","litHtmlPolyfillSupport","litHtmlVersions","renderOptions","_$Do","renderBefore","render","_$litPart$","_$litElement$","litElementHydrateSupport","LitElement","litElementPolyfillSupport","litElementVersions","customElements","define"],"mappings":"AAKA,MCAMA,EAAEC,WAAWC,EAAEF,EAAEG,kBAAa,IAASH,EAAEI,UAAUJ,EAAEI,SAAS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c,CAAC,iBAAA1I,GAAoBjC,MAAMiC,oBAAoBrH,KAAKgQ,MAAMhB,cAAa,EAAG,CAAC,oBAAA1H,GAAuBlC,MAAMkC,uBAAuBtH,KAAKgQ,MAAMhB,cAAa,EAAG,CAAC,MAAAkB,GAAS,OAAOrP,CAAC,EAAEE,GAAEqP,eAAc,EAAGrP,GAAa,WAAE,EAAGrB,GAAE2Q,2BAA2B,CAACC,WAAWvP,KAAI,MAAMnB,GAAEF,GAAE6Q,gWAA0B3Q,KAAI,CAAC0Q,WAAWvP,MAA0DrB,GAAE8Q,qBAAqB,IAAInN,KAAK;;8vCLAhxBpE,IAAG,CAACE,EAAES,cAAcA,EAAEA,EAAEuD,eAAc,KAAOsN,eAAeC,OAAOzR,EAAEE,EAAG,GAAGsR,eAAeC,OAAOzR,EAAEE","x_google_ignoreList":[0,1,2,3,4,5]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["lottie-player"]={})}(this,(function(e){"use strict";var t="undefined"!=typeof document?document.currentScript:null;const r=globalThis,n=r.ShadowRoot&&(void 0===r.ShadyCSS||r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),o=new WeakMap;let a=class{constructor(e,t,r){if(this._$cssResult$=!0,r!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(n&&void 0===e){const r=void 0!==t&&1===t.length;r&&(e=o.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&o.set(t,e))}return e}toString(){return this.cssText}};const s=(e,t)=>{if(n)e.adoptedStyleSheets=t.map((e=>e instanceof CSSStyleSheet?e:e.styleSheet));else for(const n of t){const t=document.createElement("style"),i=r.litNonce;void 0!==i&&t.setAttribute("nonce",i),t.textContent=n.cssText,e.appendChild(t)}},h=n?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const r of e.cssRules)t+=r.cssText;return(e=>new a("string"==typeof e?e:e+"",void 0,i))(t)})(e):e,{is:l,defineProperty:u,getOwnPropertyDescriptor:c,getOwnPropertyNames:d,getOwnPropertySymbols:f,getPrototypeOf:p}=Object,m=globalThis,w=m.trustedTypes,y=w?w.emptyScript:"",v=m.reactiveElementPolyfillSupport,g=(e,t)=>e,b={toAttribute(e,t){switch(t){case Boolean:e=e?y:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=null!==e;break;case Number:r=null===e?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch(e){r=null}}return r}},$=(e,t)=>!l(e,t),_={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:$};Symbol.metadata??=Symbol("metadata"),m.litPropertyMetadata??=new WeakMap;class A extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=_){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){const r=Symbol(),n=this.getPropertyDescriptor(e,r,t);void 0!==n&&u(this.prototype,e,n)}}static getPropertyDescriptor(e,t,r){const{get:n,set:i}=c(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get(){return n?.call(this)},set(t){const o=n?.call(this);i.call(this,t),this.requestUpdate(e,o,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??_}static _$Ei(){if(this.hasOwnProperty(g("elementProperties")))return;const e=p(this);e.finalize(),void 0!==e.l&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(g("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(g("properties"))){const e=this.properties,t=[...d(e),...f(e)];for(const r of t)this.createProperty(r,e[r])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,r]of t)this.elementProperties.set(e,r)}this._$Eh=new Map;for(const[e,t]of this.elementProperties){const r=this._$Eu(e,t);void 0!==r&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const e of r)t.unshift(h(e))}else void 0!==e&&t.push(h(e));return t}static _$Eu(e,t){const r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const r of t.keys())this.hasOwnProperty(r)&&(e.set(r,this[r]),delete this[r]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,t,r){this._$AK(e,r)}_$EC(e,t){const r=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,r);if(void 0!==n&&!0===r.reflect){const i=(void 0!==r.converter?.toAttribute?r.converter:b).toAttribute(t,r.type);this._$Em=e,null==i?this.removeAttribute(n):this.setAttribute(n,i),this._$Em=null}}_$AK(e,t){const r=this.constructor,n=r._$Eh.get(e);if(void 0!==n&&this._$Em!==n){const e=r.getPropertyOptions(n),i="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:b;this._$Em=n,this[n]=i.fromAttribute(t,e.type),this._$Em=null}}requestUpdate(e,t,r){if(void 0!==e){if(r??=this.constructor.getPropertyOptions(e),!(r.hasChanged??$)(this[e],t))return;this.P(e,t,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(e,t,r){this._$AL.has(e)||this._$AL.set(e,t),!0===r.reflect&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,r]of e)!0!==r.wrapped||this._$AL.has(t)||void 0===this[t]||this.P(t,this[t],r)}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach((e=>e.hostUpdate?.())),this.update(t)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach((e=>this._$EC(e,this[e]))),this._$EU()}updated(e){}firstUpdated(e){}}A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[g("elementProperties")]=new Map,A[g("finalized")]=new Map,v?.({ReactiveElement:A}),(m.reactiveElementVersions??=[]).push("2.0.4");const S={attribute:!0,type:String,converter:b,reflect:!1,hasChanged:$},E=(e=S,t,r)=>{const{kind:n,metadata:i}=r;let o=globalThis.litPropertyMetadata.get(i);if(void 0===o&&globalThis.litPropertyMetadata.set(i,o=new Map),o.set(r.name,e),"accessor"===n){const{name:n}=r;return{set(r){const i=t.get.call(this);t.set.call(this,r),this.requestUpdate(n,i,e)},init(t){return void 0!==t&&this.P(n,void 0,e),t}}}if("setter"===n){const{name:n}=r;return function(r){const i=this[n];t.call(this,r),this.requestUpdate(n,i,e)}}throw Error("Unsupported decorator location: "+n)};function T(e){return(t,r)=>"object"==typeof r?E(e,t,r):((e,t,r)=>{const n=t.hasOwnProperty(r);return t.constructor.createProperty(r,n?{...e,wrapped:!0}:e),n?Object.getOwnPropertyDescriptor(t,r):void 0})(e,t,r)}const F=globalThis,D=F.trustedTypes,P=D?D.createPolicy("lit-html",{createHTML:e=>e}):void 0,k="$lit$",C=`lit$${Math.random().toFixed(9).slice(2)}$`,R="?"+C,U=`<${R}>`,O=document,H=()=>O.createComment(""),I=e=>null===e||"object"!=typeof e&&"function"!=typeof e,x=Array.isArray,N="[ \t\n\f\r]",L=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,M=/>/g,j=RegExp(`>|${N}(?:([^\\s"'>=/]+)(${N}*=${N}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),W=/'/g,z=/"/g,V=/^(?:script|style|textarea|title)$/i,B=(e,...t)=>({_$litType$:1,strings:e,values:t}),J=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),K=new WeakMap,X=O.createTreeWalker(O,129);function Z(e,t){if(!x(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==P?P.createHTML(t):t}class Y{constructor({strings:e,_$litType$:t},r){let n;this.parts=[];let i=0,o=0;const a=e.length-1,s=this.parts,[h,l]=((e,t)=>{const r=e.length-1,n=[];let i,o=2===t?"<svg>":3===t?"<math>":"",a=L;for(let t=0;t<r;t++){const r=e[t];let s,h,l=-1,u=0;for(;u<r.length&&(a.lastIndex=u,h=a.exec(r),null!==h);)u=a.lastIndex,a===L?"!--"===h[1]?a=G:void 0!==h[1]?a=M:void 0!==h[2]?(V.test(h[2])&&(i=RegExp("</"+h[2],"g")),a=j):void 0!==h[3]&&(a=j):a===j?">"===h[0]?(a=i??L,l=-1):void 0===h[1]?l=-2:(l=a.lastIndex-h[2].length,s=h[1],a=void 0===h[3]?j:'"'===h[3]?z:W):a===z||a===W?a=j:a===G||a===M?a=L:(a=j,i=void 0);const c=a===j&&e[t+1].startsWith("/>")?" ":"";o+=a===L?r+U:l>=0?(n.push(s),r.slice(0,l)+k+r.slice(l)+C+c):r+C+(-2===l?t:c)}return[Z(e,o+(e[r]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),n]})(e,t);if(this.el=Y.createElement(h,r),X.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(n=X.nextNode())&&s.length<a;){if(1===n.nodeType){if(n.hasAttributes())for(const e of n.getAttributeNames())if(e.endsWith(k)){const t=l[o++],r=n.getAttribute(e).split(C),a=/([.?@])?(.*)/.exec(t);s.push({type:1,index:i,name:a[2],strings:r,ctor:"."===a[1]?ne:"?"===a[1]?ie:"@"===a[1]?oe:re}),n.removeAttribute(e)}else e.startsWith(C)&&(s.push({type:6,index:i}),n.removeAttribute(e));if(V.test(n.tagName)){const e=n.textContent.split(C),t=e.length-1;if(t>0){n.textContent=D?D.emptyScript:"";for(let r=0;r<t;r++)n.append(e[r],H()),X.nextNode(),s.push({type:2,index:++i});n.append(e[t],H())}}}else if(8===n.nodeType)if(n.data===R)s.push({type:2,index:i});else{let e=-1;for(;-1!==(e=n.data.indexOf(C,e+1));)s.push({type:7,index:i}),e+=C.length-1}i++}}static createElement(e,t){const r=O.createElement("template");return r.innerHTML=e,r}}function Q(e,t,r=e,n){if(t===J)return t;let i=void 0!==n?r.o?.[n]:r.l;const o=I(t)?void 0:t._$litDirective$;return i?.constructor!==o&&(i?._$AO?.(!1),void 0===o?i=void 0:(i=new o(e),i._$AT(e,r,n)),void 0!==n?(r.o??=[])[n]=i:r.l=i),void 0!==i&&(t=Q(e,i._$AS(e,t.values),i,n)),t}class ee{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:r}=this._$AD,n=(e?.creationScope??O).importNode(t,!0);X.currentNode=n;let i=X.nextNode(),o=0,a=0,s=r[0];for(;void 0!==s;){if(o===s.index){let t;2===s.type?t=new te(i,i.nextSibling,this,e):1===s.type?t=new s.ctor(i,s.name,s.strings,this,e):6===s.type&&(t=new ae(i,this,e)),this._$AV.push(t),s=r[++a]}o!==s?.index&&(i=X.nextNode(),o++)}return X.currentNode=O,n}p(e){let t=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(e,r,t),t+=r.strings.length-2):r._$AI(e[t])),t++}}class te{get _$AU(){return this._$AM?._$AU??this.v}constructor(e,t,r,n){this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=r,this.options=n,this.v=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Q(this,e,t),I(e)?e===q||null==e||""===e?(this._$AH!==q&&this._$AR(),this._$AH=q):e!==this._$AH&&e!==J&&this._(e):void 0!==e._$litType$?this.$(e):void 0!==e.nodeType?this.T(e):(e=>x(e)||"function"==typeof e?.[Symbol.iterator])(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==q&&I(this._$AH)?this._$AA.nextSibling.data=e:this.T(O.createTextNode(e)),this._$AH=e}$(e){const{values:t,_$litType$:r}=e,n="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=Y.createElement(Z(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===n)this._$AH.p(t);else{const e=new ee(n,this),r=e.u(this.options);e.p(t),this.T(r),this._$AH=e}}_$AC(e){let t=K.get(e.strings);return void 0===t&&K.set(e.strings,t=new Y(e)),t}k(e){x(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let r,n=0;for(const i of e)n===t.length?t.push(r=new te(this.O(H()),this.O(H()),this,this.options)):r=t[n],r._$AI(i),n++;n<t.length&&(this._$AR(r&&r._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){void 0===this._$AM&&(this.v=e,this._$AP?.(e))}}class re{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,r,n,i){this.type=1,this._$AH=q,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=i,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=q}_$AI(e,t=this,r,n){const i=this.strings;let o=!1;if(void 0===i)e=Q(this,e,t,0),o=!I(e)||e!==this._$AH&&e!==J,o&&(this._$AH=e);else{const n=e;let a,s;for(e=i[0],a=0;a<i.length-1;a++)s=Q(this,n[r+a],t,a),s===J&&(s=this._$AH[a]),o||=!I(s)||s!==this._$AH[a],s===q?e=q:e!==q&&(e+=(s??"")+i[a+1]),this._$AH[a]=s}o&&!n&&this.j(e)}j(e){e===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class ne extends re{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===q?void 0:e}}class ie extends re{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==q)}}class oe extends re{constructor(e,t,r,n,i){super(e,t,r,n,i),this.type=5}_$AI(e,t=this){if((e=Q(this,e,t,0)??q)===J)return;const r=this._$AH,n=e===q&&r!==q||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,i=e!==q&&(r===q||n);n&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}}class ae{constructor(e,t,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){Q(this,e)}}const se=F.litHtmlPolyfillSupport;se?.(Y,te),(F.litHtmlVersions??=[]).push("3.2.0");class he extends A{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this.o=((e,t,r)=>{const n=r?.renderBefore??t;let i=n._$litPart$;if(void 0===i){const e=r?.renderBefore??null;n._$litPart$=i=new te(t.insertBefore(H(),e),e,void 0,r??{})}return i._$AI(e),i})(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return J}}he._$litElement$=!0,he.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:he});const le=globalThis.litElementPolyfillSupport;le?.({LitElement:he}),(globalThis.litElementVersions??=[]).push("4.1.0");var ue,ce=(ue="undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:t&&"SCRIPT"===t.tagName.toUpperCase()&&t.src||new URL("lottie-player.js",document.baseURI).href,async function(e={}){var r,n,i=e,o=new Promise(((e,t)=>{r=e,n=t})),a="object"==typeof window,s="undefined"!=typeof WorkerGlobalScope,h="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&"renderer"!=process.type;if(h){const{createRequire:e}=await Promise.resolve().then((function(){return Ee}));var l=e("undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:t&&"SCRIPT"===t.tagName.toUpperCase()&&t.src||new URL("lottie-player.js",document.baseURI).href)}var u,c,d={...i},f=(e,t)=>{throw t},p="";if(h){var m=l("fs"),w=l("path");("undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:t&&"SCRIPT"===t.tagName.toUpperCase()&&t.src||new URL("lottie-player.js",document.baseURI).href).startsWith("data:")||(p=w.dirname(l("url").fileURLToPath("undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:t&&"SCRIPT"===t.tagName.toUpperCase()&&t.src||new URL("lottie-player.js",document.baseURI).href))+"/"),c=e=>(e=U(e)?new URL(e):e,m.readFileSync(e)),u=async e=>(e=U(e)?new URL(e):e,m.readFileSync(e,void 0)),process.argv.slice(2),f=(e,t)=>{throw process.exitCode=e,t}}else(a||s)&&(s?p=self.location.href:"undefined"!=typeof document&&document.currentScript&&(p=document.currentScript.src),ue&&(p=ue),p=p.startsWith("blob:")?"":p.slice(0,p.replace(/[?#].*/,"").lastIndexOf("/")+1),s&&(c=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),u=async e=>{if(U(e))return new Promise(((t,r)=>{var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?t(n.response):r(n.status)},n.onerror=r,n.send(null)}));var t=await fetch(e,{credentials:"same-origin"});if(t.ok)return t.arrayBuffer();throw Error(t.status+" : "+t.url)});var y=i.print||void 0,v=i.printErr||void 0;Object.assign(i,d),d=null;var g,b,$,_,A,S,E,T,F,D,P,k,C=i.wasmBinary,R=!1,U=e=>e.startsWith("file://");function O(){var e=g.buffer;i.HEAP8=$=new Int8Array(e),i.HEAP16=A=new Int16Array(e),i.HEAPU8=_=new Uint8Array(e),i.HEAPU16=S=new Uint16Array(e),i.HEAP32=E=new Int32Array(e),i.HEAPU32=T=new Uint32Array(e),i.HEAPF32=F=new Float32Array(e),i.HEAPF64=k=new Float64Array(e),i.HEAP64=D=new BigInt64Array(e),i.HEAPU64=P=new BigUint64Array(e)}var H,I=0,x=null;function N(){I++,i.monitorRunDependencies?.(I)}function L(){if(I--,i.monitorRunDependencies?.(I),0==I&&x){var e=x;x=null,e()}}function G(e){throw i.onAbort?.(e),v(e="Aborted("+e+")"),R=!0,e=new WebAssembly.RuntimeError(e+". Build with -sASSERTIONS for more info."),n(e),e}class M{name="ExitStatus";constructor(e){this.message=`Program terminated with exit(${e})`,this.status=e}}var j,W=e=>{for(;0<e.length;)e.shift()(i)},z=[],V=[],B=()=>{var e=i.preRun.shift();V.unshift(e)},J=i.noExitRuntime||!0,q=e=>{if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e},K=e=>{for(var t="";_[e];)t+=j[_[e++]];return t},X={},Z={},Y={},Q=i.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},ee=e=>{throw new Q(e)};function te(e,t,r={}){return function(e,t,r={}){var n=t.name;if(!e)throw new Q(`type "${n}" must have a positive integer typeid pointer`);if(Z.hasOwnProperty(e)){if(r.qb)return;throw new Q(`Cannot register type '${n}' twice`)}Z[e]=t,delete Y[e],X.hasOwnProperty(e)&&(t=X[e],delete X[e],t.forEach((e=>e())))}(e,t,r)}var re=(e,t,r)=>{switch(t){case 1:return r?e=>$[e]:e=>_[e];case 2:return r?e=>A[e>>1]:e=>S[e>>1];case 4:return r?e=>E[e>>2]:e=>T[e>>2];case 8:return r?e=>D[e>>3]:e=>P[e>>3];default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},ne=e=>{throw new Q(e.F.M.J.name+" instance already deleted")},ie=!1,oe=()=>{},ae=e=>"undefined"==typeof FinalizationRegistry?(ae=e=>e,e):(ie=new FinalizationRegistry((e=>{--(e=e.F).count.value,0===e.count.value&&(e.P?e.T.fa(e.P):e.M.J.fa(e.K))})),ae=e=>{var t=e.F;return t.P&&ie.register(e,{F:t},e),e},oe=e=>{ie.unregister(e)},ae(e));function se(){}var he=(e,t)=>Object.defineProperty(t,"name",{value:e}),le={},ce=(e,t,r)=>{if(void 0===e[t].O){var n=e[t];e[t]=function(...n){if(!e[t].O.hasOwnProperty(n.length))throw new Q(`Function '${r}' called with an invalid number of arguments (${n.length}) - expects one of (${e[t].O})!`);return e[t].O[n.length].apply(this,n)},e[t].O=[],e[t].O[n.ma]=n}},de=(e,t,r)=>{if(i.hasOwnProperty(e)){if(void 0===r||void 0!==i[e].O&&void 0!==i[e].O[r])throw new Q(`Cannot register public name '${e}' twice`);if(ce(i,e,e),i[e].O.hasOwnProperty(r))throw new Q(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`);i[e].O[r]=t}else i[e]=t,i[e].ma=r};function fe(e,t,r,n,i,o,a,s){this.name=e,this.constructor=t,this.ja=r,this.fa=n,this.R=i,this.lb=o,this.ra=a,this.ib=s,this.wb=[]}var pe=(e,t,r)=>{for(;t!==r;){if(!t.ra)throw new Q(`Expected null or instance of ${r.name}, got an instance of ${t.name}`);e=t.ra(e),t=t.R}return e};function me(e,t){if(null===t){if(this.Ba)throw new Q(`null is not a valid ${this.name}`);return 0}if(!t.F)throw new Q(`Cannot pass "${q(t)}" as a ${this.name}`);if(!t.F.K)throw new Q(`Cannot pass deleted object as a pointer of type ${this.name}`);return pe(t.F.K,t.F.M.J,this.J)}function we(e,t){if(null===t){if(this.Ba)throw new Q(`null is not a valid ${this.name}`);if(this.va){var r=this.xb();return null!==e&&e.push(this.fa,r),r}return 0}if(!t||!t.F)throw new Q(`Cannot pass "${q(t)}" as a ${this.name}`);if(!t.F.K)throw new Q(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.ua&&t.F.M.ua)throw new Q(`Cannot convert argument of type ${t.F.T?t.F.T.name:t.F.M.name} to parameter type ${this.name}`);if(r=pe(t.F.K,t.F.M.J,this.J),this.va){if(void 0===t.F.P)throw new Q("Passing raw pointer to smart pointer is illegal");switch(this.zb){case 0:if(t.F.T!==this)throw new Q(`Cannot convert argument of type ${t.F.T?t.F.T.name:t.F.M.name} to parameter type ${this.name}`);r=t.F.P;break;case 1:r=t.F.P;break;case 2:if(t.F.T===this)r=t.F.P;else{var n=t.clone();r=this.yb(r,Ge((()=>n.delete()))),null!==e&&e.push(this.fa,r)}break;default:throw new Q("Unsupporting sharing policy")}}return r}function ye(e,t){if(null===t){if(this.Ba)throw new Q(`null is not a valid ${this.name}`);return 0}if(!t.F)throw new Q(`Cannot pass "${q(t)}" as a ${this.name}`);if(!t.F.K)throw new Q(`Cannot pass deleted object as a pointer of type ${this.name}`);if(t.F.M.ua)throw new Q(`Cannot convert argument of type ${t.F.M.name} to parameter type ${this.name}`);return pe(t.F.K,t.F.M.J,this.J)}function ve(e){return this.fromWireType(T[e>>2])}var ge=(e,t,r)=>t===r?e:void 0===r.R||null===(e=ge(e,t,r.R))?null:r.ib(e),be={},$e=i.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},_e=(e,t)=>{if(!t.M||!t.K)throw new $e("makeClassHandle requires ptr and ptrType");if(!!t.T!=!!t.P)throw new $e("Both smartPtrType and smartPtr must be specified");return t.count={value:1},ae(Object.create(e,{F:{value:t,writable:!0}}))};function Ae(e,t,r,n,i,o,a,s,h,l,u){this.name=e,this.J=t,this.Ba=r,this.ua=n,this.va=i,this.vb=o,this.zb=a,this.Wa=s,this.xb=h,this.yb=l,this.fa=u,i||void 0!==t.R?this.toWireType=we:(this.toWireType=n?me:ye,this.U=null)}var Se,Te=(e,t,r)=>{if(!i.hasOwnProperty(e))throw new $e("Replacing nonexistent public symbol");void 0!==i[e].O&&void 0!==r?i[e].O[r]=t:(i[e]=t,i[e].ma=r)},Fe=(e,t)=>{e=K(e);var r=Se.get(t);if("function"!=typeof r)throw new Q(`unknown function pointer with signature ${e}: ${t}`);return r};class De extends Error{}var Pe=e=>{e=er(e);var t=K(e);return Yt(e),t},ke=(e,t)=>{var r=[],n={};throw t.forEach((function e(t){n[t]||Z[t]||(Y[t]?Y[t].forEach(e):(r.push(t),n[t]=!0))})),new De(`${e}: `+r.map(Pe).join([", "]))},Ce=(e,t,r)=>{function n(t){if((t=r(t)).length!==e.length)throw new $e("Mismatched type converter count");for(var n=0;n<e.length;++n)te(e[n],t[n])}e.forEach((e=>Y[e]=t));var i=Array(t.length),o=[],a=0;t.forEach(((e,t)=>{Z.hasOwnProperty(e)?i[t]=Z[e]:(o.push(e),X.hasOwnProperty(e)||(X[e]=[]),X[e].push((()=>{i[t]=Z[e],++a===o.length&&n(i)})))})),0===o.length&&n(i)},Re=(e,t)=>{for(var r=[],n=0;n<e;n++)r.push(T[t+4*n>>2]);return r},Ue=e=>{for(;e.length;){var t=e.pop();e.pop()(t)}};function Oe(e){for(var t=1;t<e.length;++t)if(null!==e[t]&&void 0===e[t].U)return!0;return!1}function He(e,t,r,n,i,o){var a=t.length;if(2>a)throw new Q("argTypes array size mismatch! Must at least get return value and 'this' types!");var s=null!==t[1]&&null!==r,h=Oe(t);for(r="void"!==t[0].name,n=[e,ee,n,i,Ue,t[0],t[1]],i=0;i<a-2;++i)n.push(t[i+2]);if(!h)for(i=s?1:2;i<t.length;++i)null!==t[i].U&&n.push(t[i].U);h=Oe(t),i=t.length-2;var l=[],u=["fn"];for(s&&u.push("thisWired"),a=0;a<i;++a)l.push(`arg${a}`),u.push(`arg${a}Wired`);l=l.join(","),u=u.join(","),l=`return function (${l}) {\n`,h&&(l+="var destructors = [];\n");var c=h?"destructors":"null",d="humanName throwBindingError invoker fn runDestructors retType classParam".split(" ");for(s&&(l+=`var thisWired = classParam['toWireType'](${c}, this);\n`),a=0;a<i;++a)l+=`var arg${a}Wired = argType${a}['toWireType'](${c}, arg${a});\n`,d.push(`argType${a}`);if(l+=(r||o?"var rv = ":"")+`invoker(${u});\n`,h)l+="runDestructors(destructors);\n";else for(a=s?1:2;a<t.length;++a)o=1===a?"thisWired":"arg"+(a-2)+"Wired",null!==t[a].U&&(l+=`${o}_dtor(${o});\n`,d.push(`${o}_dtor`));r&&(l+="var ret = retType['fromWireType'](rv);\nreturn ret;\n");let[f,p]=[d,l+"}\n"];return t=new Function(...f,p)(...n),he(e,t)}var Ie=e=>{const t=(e=e.trim()).indexOf("(");return-1===t?e:e.slice(0,t)},xe=[],Ne=[],Le=e=>{9<e&&0==--Ne[e+1]&&(Ne[e]=void 0,xe.push(e))},Ge=e=>{switch(e){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:const t=xe.pop()||Ne.length;return Ne[t]=e,Ne[t+1]=1,t}},Me={name:"emscripten::val",fromWireType:e=>{if(!e)throw new Q(`Cannot use deleted val. handle = ${e}`);var t=Ne[e];return Le(e),t},toWireType:(e,t)=>Ge(t),ba:8,readValueFromPointer:ve,U:null},je=(e,t)=>{switch(t){case 4:return function(e){return this.fromWireType(F[e>>2])};case 8:return function(e){return this.fromWireType(k[e>>3])};default:throw new TypeError(`invalid float width (${t}): ${e}`)}},We=(e,t,r,n)=>{if(!(0<n))return 0;var i=r;n=r+n-1;for(var o=0;o<e.length;++o){var a=e.charCodeAt(o);if(55296<=a&&57343>=a&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++o)),127>=a){if(r>=n)break;t[r++]=a}else{if(2047>=a){if(r+1>=n)break;t[r++]=192|a>>6}else{if(65535>=a){if(r+2>=n)break;t[r++]=224|a>>12}else{if(r+3>=n)break;t[r++]=240|a>>18,t[r++]=128|a>>12&63}t[r++]=128|a>>6&63}t[r++]=128|63&a}}return t[r]=0,r-i},ze=e=>{for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);127>=n?t++:2047>=n?t+=2:55296<=n&&57343>=n?(t+=4,++r):t+=3}return t},Ve="undefined"!=typeof TextDecoder?new TextDecoder:void 0,Be=(e,t=0,r=NaN)=>{var n=t+r;for(r=t;e[r]&&!(r>=n);)++r;if(16<r-t&&e.buffer&&Ve)return Ve.decode(e.subarray(t,r));for(n="";t<r;){var i=e[t++];if(128&i){var o=63&e[t++];if(192==(224&i))n+=String.fromCharCode((31&i)<<6|o);else{var a=63&e[t++];65536>(i=224==(240&i)?(15&i)<<12|o<<6|a:(7&i)<<18|o<<12|a<<6|63&e[t++])?n+=String.fromCharCode(i):(i-=65536,n+=String.fromCharCode(55296|i>>10,56320|1023&i))}}else n+=String.fromCharCode(i)}return n},Je="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,qe=(e,t)=>{for(var r=e>>1,n=r+t/2;!(r>=n)&&S[r];)++r;if(32<(r<<=1)-e&&Je)return Je.decode(_.subarray(e,r));for(r="",n=0;!(n>=t/2);++n){var i=A[e+2*n>>1];if(0==i)break;r+=String.fromCharCode(i)}return r},Ke=(e,t,r)=>{if(r??=2147483647,2>r)return 0;var n=t;r=(r-=2)<2*e.length?r/2:e.length;for(var i=0;i<r;++i)A[t>>1]=e.charCodeAt(i),t+=2;return A[t>>1]=0,t-n},Xe=e=>2*e.length,Ze=(e,t)=>{for(var r=0,n="";!(r>=t/4);){var i=E[e+4*r>>2];if(0==i)break;++r,65536<=i?(i-=65536,n+=String.fromCharCode(55296|i>>10,56320|1023&i)):n+=String.fromCharCode(i)}return n},Ye=(e,t,r)=>{if(r??=2147483647,4>r)return 0;var n=t;r=n+r-4;for(var i=0;i<e.length;++i){var o=e.charCodeAt(i);if(55296<=o&&57343>=o&&(o=65536+((1023&o)<<10)|1023&e.charCodeAt(++i)),E[t>>2]=o,(t+=4)+4>r)break}return E[t>>2]=0,t-n},Qe=e=>{for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);55296<=n&&57343>=n&&++r,t+=4}return t},et=0,tt={},rt=e=>{b=e,J||0<et||(i.onExit?.(e),R=!0),f(e,new M(e))},nt=e=>{(nt=(()=>{if(h){var e=l("crypto");return t=>e.randomFillSync(t)}return e=>crypto.getRandomValues(e)})())(e)},it=(e,t)=>{for(var r=0,n=e.length-1;0<=n;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r;r--)e.unshift("..");return e},ot=e=>{var t="/"===e.charAt(0),r="/"===e.slice(-1);return(e=it(e.split("/").filter((e=>!!e)),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e},at=e=>{var t=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1);return e=t[0],t=t[1],e||t?(t&&=t.slice(0,-1),e+t):"."},st=e=>e&&e.match(/([^\/]+|\/)\/*$/)[1],ht=(...e)=>{for(var t="",r=!1,n=e.length-1;-1<=n&&!r;n--){if("string"!=typeof(r=0<=n?e[n]:zt.cwd()))throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";t=r+"/"+t,r="/"===r.charAt(0)}return t=it(t.split("/").filter((e=>!!e)),!r).join("/"),(r?"/":"")+t||"."},lt=(e,t)=>{function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;0<=r&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=ht(e).slice(1),t=ht(t).slice(1),e=r(e.split("/")),t=r(t.split("/"));for(var n=Math.min(e.length,t.length),i=n,o=0;o<n;o++)if(e[o]!==t[o]){i=o;break}for(n=[],o=i;o<e.length;o++)n.push("..");return(n=n.concat(t.slice(i))).join("/")},ut=[],ct=e=>{var t=Array(ze(e)+1);return e=We(e,t,0,t.length),t.length=e,t},dt=[];function ft(e,t){dt[e]={input:[],output:[],la:t},_t(e,pt)}var pt={open(e){var t=dt[e.node.rdev];if(!t)throw new zt.D(43);e.tty=t,e.seekable=!1},close(e){e.tty.la.fsync(e.tty)},fsync(e){e.tty.la.fsync(e.tty)},read(e,t,r,n){if(!e.tty||!e.tty.la.Ra)throw new zt.D(60);for(var i=0,o=0;o<n;o++){try{var a=e.tty.la.Ra(e.tty)}catch(e){throw new zt.D(29)}if(void 0===a&&0===i)throw new zt.D(6);if(null==a)break;i++,t[r+o]=a}return i&&(e.node.atime=Date.now()),i},write(e,t,r,n){if(!e.tty||!e.tty.la.Ea)throw new zt.D(60);try{for(var i=0;i<n;i++)e.tty.la.Ea(e.tty,t[r+i])}catch(e){throw new zt.D(29)}return n&&(e.node.mtime=e.node.ctime=Date.now()),i}},mt={Ra(){e:{if(!ut.length){var e=null;if(h){var t=Buffer.alloc(256),r=0,n=process.stdin.fd;try{r=m.readSync(n,t,0,256)}catch(e){if(!e.toString().includes("EOF"))throw e;r=0}0<r&&(e=t.slice(0,r).toString("utf-8"))}else"undefined"!=typeof window&&"function"==typeof window.prompt&&null!==(e=window.prompt("Input: "))&&(e+="\n");if(!e){e=null;break e}ut=ct(e)}e=ut.shift()}return e},Ea(e,t){null===t||10===t?(y(Be(e.output)),e.output=[]):0!=t&&e.output.push(t)},fsync(e){0<e.output?.length&&(y(Be(e.output)),e.output=[])},Sb:()=>({Hb:25856,Jb:5,Gb:191,Ib:35387,Fb:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),Tb:()=>0,Ub:()=>[24,80]},wt={Ea(e,t){null===t||10===t?(v(Be(e.output)),e.output=[]):0!=t&&e.output.push(t)},fsync(e){0<e.output?.length&&(v(Be(e.output)),e.output=[])}},yt={$:null,L:()=>yt.createNode(null,"/",16895,0),createNode(e,t,r,n){if(24576==(61440&r)||zt.isFIFO(r))throw new zt.D(63);return yt.$||(yt.$={dir:{node:{W:yt.G.W,Y:yt.G.Y,lookup:yt.G.lookup,ea:yt.G.ea,rename:yt.G.rename,unlink:yt.G.unlink,rmdir:yt.G.rmdir,readdir:yt.G.readdir,symlink:yt.G.symlink},stream:{S:yt.H.S}},file:{node:{W:yt.G.W,Y:yt.G.Y},stream:{S:yt.H.S,read:yt.H.read,write:yt.H.write,ka:yt.H.ka,pa:yt.H.pa}},link:{node:{W:yt.G.W,Y:yt.G.Y,readlink:yt.G.readlink},stream:{}},Ja:{node:{W:yt.G.W,Y:yt.G.Y},stream:zt.fb}}),At((r=zt.createNode(e,t,r,n)).mode)?(r.G=yt.$.dir.node,r.H=yt.$.dir.stream,r.I={}):zt.isFile(r.mode)?(r.G=yt.$.file.node,r.H=yt.$.file.stream,r.N=0,r.I=null):40960==(61440&r.mode)?(r.G=yt.$.link.node,r.H=yt.$.link.stream):8192==(61440&r.mode)&&(r.G=yt.$.Ja.node,r.H=yt.$.Ja.stream),r.atime=r.mtime=r.ctime=Date.now(),e&&(e.I[t]=r,e.atime=e.mtime=e.ctime=r.atime),r},Rb:e=>e.I?e.I.subarray?e.I.subarray(0,e.N):new Uint8Array(e.I):new Uint8Array(0),G:{W(e){var t={};return t.dev=8192==(61440&e.mode)?e.id:1,t.ino=e.id,t.mode=e.mode,t.nlink=1,t.uid=0,t.gid=0,t.rdev=e.rdev,t.size=At(e.mode)?4096:zt.isFile(e.mode)?e.N:40960==(61440&e.mode)?e.link.length:0,t.atime=new Date(e.atime),t.mtime=new Date(e.mtime),t.ctime=new Date(e.ctime),t.blksize=4096,t.blocks=Math.ceil(t.size/t.blksize),t},Y(e,t){for(var r of["mode","atime","mtime","ctime"])null!=t[r]&&(e[r]=t[r]);void 0!==t.size&&e.N!=(t=t.size)&&(0==t?(e.I=null,e.N=0):(r=e.I,e.I=new Uint8Array(t),r&&e.I.set(r.subarray(0,Math.min(t,e.N))),e.N=t))},lookup(){throw yt.Pa},ea:(e,t,r,n)=>yt.createNode(e,t,r,n),rename(e,t,r){try{var n=St(t,r)}catch(e){}if(n){if(At(e.mode))for(var i in n.I)throw new zt.D(55);Et(n)}delete e.parent.I[e.name],t.I[r]=e,e.name=r,t.ctime=t.mtime=e.parent.ctime=e.parent.mtime=Date.now()},unlink(e,t){delete e.I[t],e.ctime=e.mtime=Date.now()},rmdir(e,t){var r,n=St(e,t);for(r in n.I)throw new zt.D(55);delete e.I[t],e.ctime=e.mtime=Date.now()},readdir:e=>[".","..",...Object.keys(e.I)],symlink:(e,t,r)=>((e=yt.createNode(e,t,41471,0)).link=r,e),readlink(e){if(40960!=(61440&e.mode))throw new zt.D(28);return e.link}},H:{read(e,t,r,n,i){var o=e.node.I;if(i>=e.node.N)return 0;if(8<(e=Math.min(e.node.N-i,n))&&o.subarray)t.set(o.subarray(i,i+e),r);else for(n=0;n<e;n++)t[r+n]=o[i+n];return e},write(e,t,r,n,i,o){if(t.buffer===$.buffer&&(o=!1),!n)return 0;if((e=e.node).mtime=e.ctime=Date.now(),t.subarray&&(!e.I||e.I.subarray)){if(o)return e.I=t.subarray(r,r+n),e.N=n;if(0===e.N&&0===i)return e.I=t.slice(r,r+n),e.N=n;if(i+n<=e.N)return e.I.set(t.subarray(r,r+n),i),n}var a=e.I?e.I.length:0;if(a>=(o=i+n)||(o=Math.max(o,a*(1048576>a?2:1.125)>>>0),0!=a&&(o=Math.max(o,256)),a=e.I,e.I=new Uint8Array(o),0<e.N&&e.I.set(a.subarray(0,e.N),0)),e.I.subarray&&t.subarray)e.I.set(t.subarray(r,r+n),i);else for(o=0;o<n;o++)e.I[i+o]=t[r+o];return e.N=Math.max(e.N,i+n),n},S(e,t,r){if(1===r?t+=e.position:2===r&&zt.isFile(e.node.mode)&&(t+=e.node.N),0>t)throw new zt.D(28);return t},ka(e,t,r,n,i){if(!zt.isFile(e.node.mode))throw new zt.D(43);if(e=e.node.I,2&i||!e||e.buffer!==$.buffer){if(n=!0,G(),!(i=void 0))throw new zt.D(48);e&&((0<r||r+t<e.length)&&(e=e.subarray?e.subarray(r,r+t):Array.prototype.slice.call(e,r,r+t)),$.set(e,i))}else n=!1,i=e.byteOffset;return{K:i,Bb:n}},pa:(e,t,r,n)=>(yt.H.write(e,t,0,n,r,!1),0)}},vt=i.preloadPlugins||[],gt=(e,t,r,n,i,o,a,s,h,l)=>{function c(r){function u(r){l?.(),s||zt.za(e,t,r,n,i,h),o?.(),L()}((e,t,r,n)=>{"undefined"!=typeof Browser&&$t();var i=!1;return vt.forEach((o=>{!i&&o.canHandle(t)&&(o.handle(e,t,r,n),i=!0)})),i})(r,d,u,(()=>{a?.(),L()}))||u(r)}var d=t?ht(ot(e+"/"+t)):e;N(),"string"==typeof r?(async e=>(e=await u(e),new Uint8Array(e)))(r).then(c,a):c(r)},bt=(e,t)=>{var r=0;return e&&(r|=365),t&&(r|=146),r};function $t(){var e,t,r;zt.Aa=!0,e??=i.stdin,t??=i.stdout,r??=i.stderr,e?zt.da("/dev","stdin",e):zt.symlink("/dev/tty","/dev/stdin"),t?zt.da("/dev","stdout",null,t):zt.symlink("/dev/tty","/dev/stdout"),r?zt.da("/dev","stderr",null,r):zt.symlink("/dev/tty1","/dev/stderr"),zt.open("/dev/stdin",0),zt.open("/dev/stdout",1),zt.open("/dev/stderr",1)}function _t(e,t){zt.Oa[e]={H:t}}function At(e){return 16384==(61440&e)}function St(e,t){var r=At(e.mode)?(r=Ct(e,"x"))?r:e.G.lookup?0:2:54;if(r)throw new zt.D(r);for(r=zt.Z[Dt(e.id,t)];r;r=r.ia)if(r.parent.id===e.id&&r.name===t)return r;return zt.lookup(e,t)}function Et(e){var t=Dt(e.parent.id,e.name);if(zt.Z[t]===e)zt.Z[t]=e.ia;else for(t=zt.Z[t];t;){if(t.ia===e){t.ia=e.ia;break}t=t.ia}}function Tt(e,t={}){if(!e)throw new zt.D(44);t.ta??(t.ta=!0),"/"===e.charAt(0)||(e=zt.cwd()+"/"+e);var r=0;e:for(;40>r;r++){e=e.split("/").filter((e=>!!e));for(var n=zt.root,i="/",o=0;o<e.length;o++){var a=o===e.length-1;if(a&&t.parent)break;if("."!==e[o])if(".."===e[o])i=at(i),n=n.parent;else{i=ot(i+"/"+e[o]);try{n=St(n,e[o])}catch(e){if(44===e?.sa&&a&&t.tb)return{path:i};throw e}if(!n.X||a&&!t.ta||(n=n.X.root),40960==(61440&n.mode)&&(!a||t.V)){if(!n.G.readlink)throw new zt.D(52);"/"===(n=n.G.readlink(n)).charAt(0)||(n=at(i)+"/"+n),e=n+"/"+e.slice(o+1).join("/");continue e}}}return{path:i,node:n}}throw new zt.D(32)}function Ft(e){for(var t;;){if(zt.Ua(e))return e=e.L.Va,t?"/"!==e[e.length-1]?`${e}/${t}`:e+t:e;t=t?`${e.name}/${t}`:e.name,e=e.parent}}function Dt(e,t){for(var r=0,n=0;n<t.length;n++)r=(r<<5)-r+t.charCodeAt(n)|0;return(e+r>>>0)%zt.Z.length}function Pt(e){var t=Dt(e.parent.id,e.name);e.ia=zt.Z[t],zt.Z[t]=e}function kt(e){var t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t}function Ct(e,t){return zt.Sa?0:!t.includes("r")||292&e.mode?t.includes("w")&&!(146&e.mode)||t.includes("x")&&!(73&e.mode)?2:0:2}function Rt(e,t){if(!At(e.mode))return 54;try{return St(e,t),20}catch(e){}return Ct(e,"wx")}function Ut(e,t,r){try{var n=St(e,t)}catch(e){return e.sa}if(e=Ct(e,"wx"))return e;if(r){if(!At(n.mode))return 54;if(zt.Ua(n)||Ft(n)===zt.cwd())return 10}else if(At(n.mode))return 31;return 0}function Ot(e,t){if(!e)throw new zt.D(t);return e}function Ht(e){if(!(e=zt.ob(e)))throw new zt.D(8);return e}function It(e,t=-1){if(e=Object.assign(new zt.ab,e),-1==t)e:{for(t=0;t<=zt.cb;t++)if(!zt.streams[t])break e;throw new zt.D(33)}return e.fd=t,zt.streams[t]=e}function xt(e,t,r){var n=e?.H.Y;e=n?e:t,n??=t.G.Y,Ot(n,63),n(e,r)}function Nt(e){var t=[];for(e=[e];e.length;){var r=e.pop();t.push(r),e.push(...r.oa)}return t}function Lt(e){var t={Eb:4096,Ob:4096,blocks:1e6,Db:5e5,Cb:5e5,files:zt.Da,Mb:zt.Da-1,Pb:42,flags:2,Yb:255};return e.G.Ya&&Object.assign(t,e.G.Ya(e.L.ub.root)),t}function Gt(e,t,r){return void 0===r&&(r=t,t=438),zt.ea(e,8192|t,r)}function Mt(e,t,r,n){xt(e,t,{mode:4095&r|-4096&t.mode,ctime:Date.now(),Qa:n})}function jt(e,t,r){if(At(t.mode))throw new zt.D(31);if(!zt.isFile(t.mode))throw new zt.D(28);var n=Ct(t,"w");if(n)throw new zt.D(n);xt(e,t,{size:r,timestamp:Date.now()})}function Wt(e){if(!(e.rb||e.sb||e.link||e.I)){if("undefined"!=typeof XMLHttpRequest)throw Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");try{e.I=c(e.url),e.N=e.I.length}catch(e){throw new zt.D(29)}}}for(var zt={root:null,oa:[],Oa:{},streams:[],Da:1,Z:null,Ma:"/",Aa:!1,Sa:!0,kb:null,wa:0,Xa:{},D:class{name="ErrnoError";constructor(e){this.sa=e}},ab:class{aa={};node=null;get object(){return this.node}set object(e){this.node=e}get flags(){return this.aa.flags}set flags(e){this.aa.flags=e}get position(){return this.aa.position}set position(e){this.aa.position=e}},$a:class{G={};H={};X=null;constructor(e,t,r,n){e||=this,this.parent=e,this.L=e.L,this.id=zt.Da++,this.name=t,this.mode=r,this.rdev=n,this.atime=this.mtime=this.ctime=Date.now()}get read(){return!(365&~this.mode)}set read(e){e?this.mode|=365:this.mode&=-366}get write(){return!(146&~this.mode)}set write(e){e?this.mode|=146:this.mode&=-147}get sb(){return At(this.mode)}get rb(){return 8192==(61440&this.mode)}},createNode:(e,t,r,n)=>(Pt(e=new zt.$a(e,t,r,n)),e),Ua:e=>e===e.parent,isFile:e=>32768==(61440&e),isFIFO:e=>4096==(61440&e),isSocket:e=>!(49152&~e),cb:4096,ob:e=>zt.streams[e],Lb:(e,t=-1)=>(e=It(e,t),e.H?.Kb?.(e),e),fb:{open(e){e.H=zt.mb(e.node.rdev).H,e.H.open?.(e)},S(){throw new zt.D(70)}},Ca:e=>e>>8,Wb:e=>255&e,ha:(e,t)=>e<<8|t,mb:e=>zt.Oa[e],Za(e,t){function r(e){return zt.wa--,t(e)}function n(e){if(e){if(!n.jb)return n.jb=!0,r(e)}else++o>=i.length&&r(null)}"function"==typeof e&&(t=e,e=!1),zt.wa++,1<zt.wa&&v(`warning: ${zt.wa} FS.syncfs operations in flight at once, probably just doing extra work`);var i=Nt(zt.root.L),o=0;i.forEach((t=>{if(!t.type.Za)return n(null);t.type.Za(t,e,n)}))},L(e,t,r){var n="/"===r;if(n&&zt.root)throw new zt.D(10);if(!n&&r){var i=Tt(r,{ta:!1});if(r=i.path,(i=i.node).X)throw new zt.D(10);if(!At(i.mode))throw new zt.D(54)}return(e=e.L(t={type:e,ub:t,Va:r,oa:[]})).L=t,t.root=e,n?zt.root=e:i&&(i.X=t,i.L&&i.L.oa.push(t)),e},bc(e){if(!(e=Tt(e,{ta:!1})).node.X)throw new zt.D(28);var t=(e=e.node).X,r=Nt(t);Object.keys(zt.Z).forEach((e=>{for(e=zt.Z[e];e;){var t=e.ia;r.includes(e.L)&&Et(e),e=t}})),e.X=null,e.L.oa.splice(e.L.oa.indexOf(t),1)},lookup:(e,t)=>e.G.lookup(e,t),ea(e,t,r){var n=Tt(e,{parent:!0}).node;if(!(e=st(e)))throw new zt.D(28);if("."===e||".."===e)throw new zt.D(20);var i=Rt(n,e);if(i)throw new zt.D(i);if(!n.G.ea)throw new zt.D(63);return n.G.ea(n,e,t,r)},Ya:e=>Lt(Tt(e,{V:!0}).node),$b:e=>Lt(e.node),create:(e,t=438)=>zt.ea(e,4095&t|32768,0),mkdir:(e,t=511)=>zt.ea(e,1023&t|16384,0),Xb(e,t){var r,n=e.split("/"),i="";for(r of n)if(r){(i||"/"===e.charAt(0))&&(i+="/"),i+=r;try{zt.mkdir(i,t)}catch(e){if(20!=e.sa)throw e}}},symlink(e,t){if(!ht(e))throw new zt.D(44);var r=Tt(t,{parent:!0}).node;if(!r)throw new zt.D(44);var n=Rt(r,t=st(t));if(n)throw new zt.D(n);if(!r.G.symlink)throw new zt.D(63);return r.G.symlink(r,t,e)},rename(e,t){var r=at(e),n=at(t),i=st(e),o=st(t),a=Tt(e,{parent:!0}),s=a.node;if(a=(a=Tt(t,{parent:!0})).node,!s||!a)throw new zt.D(44);if(s.L!==a.L)throw new zt.D(75);var h=St(s,i);if("."!==(e=lt(e,n)).charAt(0))throw new zt.D(28);if("."!==(e=lt(t,r)).charAt(0))throw new zt.D(55);try{var l=St(a,o)}catch(e){}if(h!==l){if(i=Ut(s,i,t=At(h.mode)))throw new zt.D(i);if(i=l?Ut(a,o,t):Rt(a,o))throw new zt.D(i);if(!s.G.rename)throw new zt.D(63);if(h.X||l&&l.X)throw new zt.D(10);if(a!==s&&(i=Ct(s,"w")))throw new zt.D(i);Et(h);try{s.G.rename(h,a,o),h.parent=a}catch(e){throw e}finally{Pt(h)}}},rmdir(e){var t=Tt(e,{parent:!0}).node,r=St(t,e=st(e)),n=Ut(t,e,!0);if(n)throw new zt.D(n);if(!t.G.rmdir)throw new zt.D(63);if(r.X)throw new zt.D(10);t.G.rmdir(t,e),Et(r)},readdir:e=>Ot((e=Tt(e,{V:!0}).node).G.readdir,54)(e),unlink(e){var t=Tt(e,{parent:!0}).node;if(!t)throw new zt.D(44);var r=St(t,e=st(e)),n=Ut(t,e,!1);if(n)throw new zt.D(n);if(!t.G.unlink)throw new zt.D(63);if(r.X)throw new zt.D(10);t.G.unlink(t,e),Et(r)},readlink(e){if(!(e=Tt(e).node))throw new zt.D(44);if(!e.G.readlink)throw new zt.D(28);return e.G.readlink(e)},stat:(e,t)=>Ot((e=Tt(e,{V:!t}).node).G.W,63)(e),fstat(e){var t=Ht(e);e=t.node;var r=t.H.W;return t=r?t:e,r??=e.G.W,Ot(r,63),r(t)},lstat:e=>zt.stat(e,!0),chmod(e,t,r){Mt(null,e="string"==typeof e?Tt(e,{V:!r}).node:e,t,r)},lchmod(e,t){zt.chmod(e,t,!0)},fchmod(e,t){Mt(e=Ht(e),e.node,t,!1)},chown(e,t,r,n){xt(null,e="string"==typeof e?Tt(e,{V:!n}).node:e,{timestamp:Date.now(),Qa:n})},lchown(e,t,r){zt.chown(e,t,r,!0)},fchown(e){xt(e=Ht(e),e.node,{timestamp:Date.now(),Qa:!1})},truncate(e,t){if(0>t)throw new zt.D(28);jt(null,e="string"==typeof e?Tt(e,{V:!0}).node:e,t)},Qb(e,t){if(e=Ht(e),0>t||!(2097155&e.flags))throw new zt.D(28);jt(e,e.node,t)},cc(e,t,r){Ot((e=Tt(e,{V:!0}).node).G.Y,63)(e,{atime:t,mtime:r})},open(e,t,r=438){if(""===e)throw new zt.D(44);if("string"==typeof t){var n={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[t];if(void 0===n)throw Error(`Unknown file open mode: ${t}`);t=n}if(r=64&t?4095&r|32768:0,"object"==typeof e)n=e;else{var o=e.endsWith("/");n=(e=Tt(e,{V:!(131072&t),tb:!0})).node,e=e.path}var a=!1;if(64&t)if(n){if(128&t)throw new zt.D(20)}else{if(o)throw new zt.D(31);n=zt.ea(e,511|r,0),a=!0}if(!n)throw new zt.D(44);if(8192==(61440&n.mode)&&(t&=-513),65536&t&&!At(n.mode))throw new zt.D(54);if(!a&&(o=n?40960==(61440&n.mode)?32:At(n.mode)&&("r"!==kt(t)||576&t)?31:Ct(n,kt(t)):44))throw new zt.D(o);return 512&t&&!a&&zt.truncate(n,0),t&=-131713,(o=It({node:n,path:Ft(n),flags:t,seekable:!0,position:0,H:n.H,Ab:[],error:!1})).H.open&&o.H.open(o),a&&zt.chmod(n,511&r),!i.logReadFiles||1&t||e in zt.Xa||(zt.Xa[e]=1),o},close(e){if(null===e.fd)throw new zt.D(8);e.pb&&(e.pb=null);try{e.H.close&&e.H.close(e)}catch(e){throw e}finally{zt.streams[e.fd]=null}e.fd=null},S(e,t,r){if(null===e.fd)throw new zt.D(8);if(!e.seekable||!e.H.S)throw new zt.D(70);if(0!=r&&1!=r&&2!=r)throw new zt.D(28);return e.position=e.H.S(e,t,r),e.Ab=[],e.position},read(e,t,r,n,i){if(0>n||0>i)throw new zt.D(28);if(null===e.fd)throw new zt.D(8);if(1==(2097155&e.flags))throw new zt.D(8);if(At(e.node.mode))throw new zt.D(31);if(!e.H.read)throw new zt.D(28);var o=void 0!==i;if(o){if(!e.seekable)throw new zt.D(70)}else i=e.position;return t=e.H.read(e,t,r,n,i),o||(e.position+=t),t},write(e,t,r,n,i,o){if(0>n||0>i)throw new zt.D(28);if(null===e.fd)throw new zt.D(8);if(!(2097155&e.flags))throw new zt.D(8);if(At(e.node.mode))throw new zt.D(31);if(!e.H.write)throw new zt.D(28);e.seekable&&1024&e.flags&&zt.S(e,0,2);var a=void 0!==i;if(a){if(!e.seekable)throw new zt.D(70)}else i=e.position;return t=e.H.write(e,t,r,n,i,o),a||(e.position+=t),t},ka(e,t,r,n,i){if(2&n&&!(2&i)&&2!=(2097155&e.flags))throw new zt.D(2);if(1==(2097155&e.flags))throw new zt.D(2);if(!e.H.ka)throw new zt.D(43);if(!t)throw new zt.D(28);return e.H.ka(e,t,r,n,i)},pa:(e,t,r,n,i)=>e.H.pa?e.H.pa(e,t,r,n,i):0,Ta(e,t,r){if(!e.H.Ta)throw new zt.D(59);return e.H.Ta(e,t,r)},readFile(e,t={}){if(t.flags=t.flags||0,t.encoding=t.encoding||"binary","utf8"!==t.encoding&&"binary"!==t.encoding)throw Error(`Invalid encoding type "${t.encoding}"`);var r,n=zt.open(e,t.flags);e=zt.stat(e).size;var i=new Uint8Array(e);return zt.read(n,i,0,e,0),"utf8"===t.encoding?r=Be(i):"binary"===t.encoding&&(r=i),zt.close(n),r},writeFile(e,t,r={}){if(r.flags=r.flags||577,e=zt.open(e,r.flags,r.mode),"string"==typeof t){var n=new Uint8Array(ze(t)+1);t=We(t,n,0,n.length),zt.write(e,n,0,t,void 0,r.eb)}else{if(!ArrayBuffer.isView(t))throw Error("Unsupported data type");zt.write(e,t,0,t.byteLength,void 0,r.eb)}zt.close(e)},cwd:()=>zt.Ma,chdir(e){if(null===(e=Tt(e,{V:!0})).node)throw new zt.D(44);if(!At(e.node.mode))throw new zt.D(54);var t=Ct(e.node,"x");if(t)throw new zt.D(t);zt.Ma=e.path},Zb(){for(var e of(zt.Aa=!1,zt.streams))e&&zt.close(e)},Nb(e,t){try{var r=Tt(e,{V:!t});e=r.path}catch(e){}var n=!1,i=null;try{r=Tt(e,{parent:!0}),st(e),r=Tt(e,{V:!t}),n=!0,i=r.node}catch(e){}return n?i:null},La(e,t){for(e="string"==typeof e?e:Ft(e),t=t.split("/").reverse();t.length;){var r=t.pop();if(r){var n=ot(e+"/"+r);try{zt.mkdir(n)}catch(e){if(20!=e.sa)throw e}e=n}}return n},za(e,t,r,n,i,o){var a=t;if(e&&(e="string"==typeof e?e:Ft(e),a=t?ot(e+"/"+t):e),e=bt(n,i),a=zt.create(a,e),r){if("string"==typeof r){for(t=Array(r.length),n=0,i=r.length;n<i;++n)t[n]=r.charCodeAt(n);r=t}zt.chmod(a,146|e),t=zt.open(a,577),zt.write(t,r,0,r.length,0,o),zt.close(t),zt.chmod(a,e)}},da(e,t,r,n){var i;return e=((e,t)=>ot(e+"/"+t))("string"==typeof e?e:Ft(e),t),t=bt(!!r,!!n),(i=zt.da).Ca??(i.Ca=64),_t(i=zt.ha(zt.da.Ca++,0),{open(e){e.seekable=!1},close(){n?.buffer?.length&&n(10)},read(e,t,n,i){for(var o=0,a=0;a<i;a++){try{var s=r()}catch(e){throw new zt.D(29)}if(void 0===s&&0===o)throw new zt.D(6);if(null==s)break;o++,t[n+a]=s}return o&&(e.node.atime=Date.now()),o},write(e,t,r,i){for(var o=0;o<i;o++)try{n(t[r+o])}catch(e){throw new zt.D(29)}return i&&(e.node.mtime=e.node.ctime=Date.now()),o}}),Gt(e,t,i)},Ka(e,t,r,n,i){class o{ya=!1;aa=[];xa=void 0;Ga=0;Fa=0;get(e){if(!(e>this.length-1||0>e)){var t=e%this.chunkSize;return this.xa(e/this.chunkSize|0)[t]}}bb(e){this.xa=e}Ha(){var e=new XMLHttpRequest;if(e.open("HEAD",r,!1),e.send(null),!(200<=e.status&&300>e.status||304===e.status))throw Error("Couldn't load "+r+". Status: "+e.status);var t,n=Number(e.getResponseHeader("Content-length")),i=(t=e.getResponseHeader("Accept-Ranges"))&&"bytes"===t;e=(t=e.getResponseHeader("Content-Encoding"))&&"gzip"===t;var o=1048576;i||(o=n);var a=this;a.bb((e=>{var t=e*o,i=(e+1)*o-1;if(i=Math.min(i,n-1),void 0===a.aa[e]){var s=a.aa;if(t>i)throw Error("invalid range ("+t+", "+i+") or no bytes requested!");if(i>n-1)throw Error("only "+n+" bytes available! programmer error!");var h=new XMLHttpRequest;if(h.open("GET",r,!1),n!==o&&h.setRequestHeader("Range","bytes="+t+"-"+i),h.responseType="arraybuffer",h.overrideMimeType&&h.overrideMimeType("text/plain; charset=x-user-defined"),h.send(null),!(200<=h.status&&300>h.status||304===h.status))throw Error("Couldn't load "+r+". Status: "+h.status);t=void 0!==h.response?new Uint8Array(h.response||[]):ct(h.responseText||""),s[e]=t}if(void 0===a.aa[e])throw Error("doXHR failed!");return a.aa[e]})),!e&&n||(o=n=1,o=n=this.xa(0).length,y("LazyFiles on gzip forces download of the whole file when length is accessed")),this.Ga=n,this.Fa=o,this.ya=!0}get length(){return this.ya||this.Ha(),this.Ga}get chunkSize(){return this.ya||this.Ha(),this.Fa}}if("undefined"!=typeof XMLHttpRequest){if(!s)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a=new o,h=void 0}else h=r,a=void 0;var l=function(e,t,r,n){return e="string"==typeof e?e:Ft(e),t=ot(e+"/"+t),zt.create(t,bt(r,n))}(e,t,n,i);a?l.I=a:h&&(l.I=null,l.url=h),Object.defineProperties(l,{N:{get:function(){return this.I.length}}});var u={};return Object.keys(l.H).forEach((e=>{var t=l.H[e];u[e]=(...e)=>(Wt(l),t(...e))})),u.read=(e,t,r,n,i)=>{if(Wt(l),i>=(e=e.node.I).length)t=0;else{if(n=Math.min(e.length-i,n),e.slice)for(var o=0;o<n;o++)t[r+o]=e[i+o];else for(o=0;o<n;o++)t[r+o]=e.get(i+o);t=n}return t},u.ka=()=>{throw Wt(l),G(),new zt.D(48)},l.H=u,l}},Vt=zt.La,Bt=zt.Ka,Jt=zt.da,qt=Array(256),Kt=0;256>Kt;++Kt)qt[Kt]=String.fromCharCode(Kt);j=qt,(()=>{let e=se.prototype;Object.assign(e,{isAliasOf:function(e){if(!(this instanceof se&&e instanceof se))return!1;var t=this.F.M.J,r=this.F.K;e.F=e.F;var n=e.F.M.J;for(e=e.F.K;t.R;)r=t.ra(r),t=t.R;for(;n.R;)e=n.ra(e),n=n.R;return t===n&&r===e},clone:function(){if(this.F.K||ne(this),this.F.qa)return this.F.count.value+=1,this;var e=ae,t=Object,r=t.create,n=Object.getPrototypeOf(this),i=this.F;return(e=e(r.call(t,n,{F:{value:{count:i.count,na:i.na,qa:i.qa,K:i.K,M:i.M,P:i.P,T:i.T}}}))).F.count.value+=1,e.F.na=!1,e},delete(){if(this.F.K||ne(this),this.F.na&&!this.F.qa)throw new Q("Object already scheduled for deletion");oe(this);var e=this.F;--e.count.value,0===e.count.value&&(e.P?e.T.fa(e.P):e.M.J.fa(e.K)),this.F.qa||(this.F.P=void 0,this.F.K=void 0)},isDeleted:function(){return!this.F.K},deleteLater:function(){if(this.F.K||ne(this),this.F.na&&!this.F.qa)throw new Q("Object already scheduled for deletion");return this.F.na=!0,this}});const t=Symbol.dispose;t&&(e[t]=e.delete)})(),Object.assign(Ae.prototype,{nb(e){return this.Wa&&(e=this.Wa(e)),e},Na(e){this.fa?.(e)},ba:8,readValueFromPointer:ve,fromWireType:function(e){function t(){return _e(this.J.ja,this.va?{M:this.vb,K:r,T:this,P:e}:{M:this,K:e})}var r=this.nb(e);if(!r)return this.Na(e),null;var n=((e,t)=>{if(void 0===t)throw new Q("ptr should not be undefined");for(;e.R;)t=e.ra(t),e=e.R;return be[t]})(this.J,r);if(void 0!==n)return 0===n.F.count.value?(n.F.K=r,n.F.P=e,n.clone()):(n=n.clone(),this.Na(e),n);if(n=this.J.lb(r),!(n=le[n]))return t.call(this);var i=ge(r,this.J,(n=this.ua?n.gb:n.pointerType).J);return null===i?t.call(this):_e(n.J.ja,this.va?{M:n,K:i,T:this,P:e}:{M:n,K:i})}}),Ne.push(0,1,void 0,1,null,1,!0,1,!1,1),i.count_emval_handles=()=>Ne.length/2-5-xe.length,zt.hb=gt,zt.Z=Array(4096),zt.L(yt,{},"/"),zt.mkdir("/tmp"),zt.mkdir("/home"),zt.mkdir("/home/web_user"),function(){zt.mkdir("/dev"),_t(zt.ha(1,3),{read:()=>0,write:(e,t,r,n)=>n,S:()=>0}),Gt("/dev/null",zt.ha(1,3)),ft(zt.ha(5,0),mt),ft(zt.ha(6,0),wt),Gt("/dev/tty",zt.ha(5,0)),Gt("/dev/tty1",zt.ha(6,0));var e=new Uint8Array(1024),t=0,r=()=>(0===t&&(nt(e),t=e.byteLength),e[--t]);zt.da("/dev","random",r),zt.da("/dev","urandom",r),zt.mkdir("/dev/shm"),zt.mkdir("/dev/shm/tmp")}(),function(){zt.mkdir("/proc");var e=zt.mkdir("/proc/self");zt.mkdir("/proc/self/fd"),zt.L({L(){var t=zt.createNode(e,"fd",16895,73);return t.H={S:yt.H.S},t.G={lookup(e,t){var r=Ht(e=+t);return(e={parent:null,L:{Va:"fake"},G:{readlink:()=>r.path},id:e+1}).parent=e},readdir:()=>Array.from(zt.streams.entries()).filter((([,e])=>e)).map((([e])=>e.toString()))},t}},{},"/proc/self/fd")}(),zt.kb={MEMFS:yt},i.FS_createPath=zt.La,i.FS_createDataFile=zt.za,i.FS_createPreloadedFile=zt.hb,i.FS_unlink=zt.unlink,i.FS_createLazyFile=zt.Ka,i.FS_createDevice=zt.da,yt.Pa=new zt.D(44),yt.Pa.stack="<generic error, no stack>";var Xt={t:()=>G(""),g:(e,t,r)=>{te(e,{name:t=K(t),fromWireType:e=>e,toWireType:function(e,t){if("bigint"!=typeof t&&"number"!=typeof t)throw new TypeError(`Cannot convert "${q(t)}" to ${this.name}`);return"number"==typeof t&&(t=BigInt(t)),t},ba:8,readValueFromPointer:re(t,r,-1==t.indexOf("u")),U:null})},j:(e,t,r,n)=>{te(e,{name:t=K(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?r:n},ba:8,readValueFromPointer:function(e){return this.fromWireType(_[e])},U:null})},q:(e,t,r,n,i,o,a,s,h,l,u,c,d)=>{u=K(u),o=Fe(i,o),s&&=Fe(a,s),l&&=Fe(h,l),d=Fe(c,d);var f=(e=>{var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=t&&57>=t?`_${e}`:e})(u);de(f,(function(){ke(`Cannot construct ${u} due to unbound types`,[n])})),Ce([e,t,r],n?[n]:[],(t=>{if(t=t[0],n)var r=t.J,i=r.ja;else i=se.prototype;t=he(u,(function(...e){if(Object.getPrototypeOf(this)!==a)throw new Q(`Use 'new' to construct ${u}`);if(void 0===c.ga)throw new Q(`${u} has no accessible constructor`);var t=c.ga[e.length];if(void 0===t)throw new Q(`Tried to invoke ctor of ${u} with invalid number of parameters (${e.length}) - expected (${Object.keys(c.ga).toString()}) parameters instead!`);return t.apply(this,e)}));var a=Object.create(i,{constructor:{value:t}});t.prototype=a;var h,c=new fe(u,t,a,d,r,o,s,l);return c.R&&((h=c.R).Ia??(h.Ia=[]),c.R.Ia.push(c)),r=new Ae(u,c,!0,!1,!1),h=new Ae(u+"*",c,!1,!1,!1),i=new Ae(u+" const*",c,!1,!0,!1),le[e]={pointerType:h,gb:i},Te(f,t),[r,h,i]}))},n:(e,t,r,n,i,o)=>{var a=Re(t,r);i=Fe(n,i),Ce([],[e],(e=>{var r=`constructor ${(e=e[0]).name}`;if(void 0===e.J.ga&&(e.J.ga=[]),void 0!==e.J.ga[t-1])throw new Q(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.J.ga[t-1]=()=>{ke(`Cannot construct ${e.name} due to unbound types`,a)},Ce([],a,(n=>(n.splice(1,0,null),e.J.ga[t-1]=He(r,n,null,i,o),[]))),[]}))},b:(e,t,r,n,i,o,a,s,h)=>{var l=Re(r,n);t=K(t),t=Ie(t),o=Fe(i,o),Ce([],[e],(e=>{function n(){ke(`Cannot call ${i} due to unbound types`,l)}var i=`${(e=e[0]).name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.J.wb.push(t);var u=e.J.ja,c=u[t];return void 0===c||void 0===c.O&&c.className!==e.name&&c.ma===r-2?(n.ma=r-2,n.className=e.name,u[t]=n):(ce(u,t,i),u[t].O[r-2]=n),Ce([],l,(n=>(n=He(i,n,e,o,a,h),void 0===u[t].O?(n.ma=r-2,u[t]=n):u[t].O[r-2]=n,[]))),[]}))},u:e=>te(e,Me),f:(e,t,r)=>{te(e,{name:t=K(t),fromWireType:e=>e,toWireType:(e,t)=>t,ba:8,readValueFromPointer:je(t,r),U:null})},h:(e,t,r,n,i,o,a)=>{var s=Re(t,r);e=K(e),e=Ie(e),i=Fe(n,i),de(e,(function(){ke(`Cannot call ${e} due to unbound types`,s)}),t-1),Ce([],s,(r=>(r=[r[0],null].concat(r.slice(1)),Te(e,He(e,r,null,i,o,a),t-1),[])))},c:(e,t,r,n,i)=>{if(t=K(t),-1===i&&(i=4294967295),i=e=>e,0===n){var o=32-8*r;i=e=>e<<o>>>o}var a=t.includes("unsigned")?function(e,t){return t>>>0}:function(e,t){return t};te(e,{name:t,fromWireType:i,toWireType:a,ba:8,readValueFromPointer:re(t,r,0!==n),U:null})},a:(e,t,r)=>{function n(e){return new i($.buffer,T[e+4>>2],T[e>>2])}var i=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][t];te(e,{name:r=K(r),fromWireType:n,ba:8,readValueFromPointer:n},{qb:!0})},v:(e,t)=>{te(e,{name:t=K(t),fromWireType:function(e){for(var t,r=T[e>>2],n=e+4,i=n,o=0;o<=r;++o){var a=n+o;o!=r&&0!=_[a]||(i=i?Be(_,i,a-i):"",void 0===t?t=i:(t+=String.fromCharCode(0),t+=i),i=a+1)}return Yt(e),t},toWireType:function(e,t){t instanceof ArrayBuffer&&(t=new Uint8Array(t));var r="string"==typeof t;if(!(r||ArrayBuffer.isView(t)&&1==t.BYTES_PER_ELEMENT))throw new Q("Cannot pass non-string to std::string");var n=r?ze(t):t.length,i=Qt(4+n+1),o=i+4;return T[i>>2]=n,r?We(t,_,o,n+1):_.set(t,o),null!==e&&e.push(Yt,i),i},ba:8,readValueFromPointer:ve,U(e){Yt(e)}})},d:(e,t,r)=>{if(r=K(r),2===t)var n=qe,i=Ke,o=Xe,a=e=>S[e>>1];else 4===t&&(n=Ze,i=Ye,o=Qe,a=e=>T[e>>2]);te(e,{name:r,fromWireType:e=>{for(var r,i=T[e>>2],o=e+4,s=0;s<=i;++s){var h=e+4+s*t;s!=i&&0!=a(h)||(o=n(o,h-o),void 0===r?r=o:(r+=String.fromCharCode(0),r+=o),o=h+t)}return Yt(e),r},toWireType:(e,n)=>{if("string"!=typeof n)throw new Q(`Cannot pass non-string to C++ string type ${r}`);var a=o(n),s=Qt(4+a+t);return T[s>>2]=a/t,i(n,s+4,a+t),null!==e&&e.push(Yt,s),s},ba:8,readValueFromPointer:ve,U(e){Yt(e)}})},i:e=>{te(e,Me)},k:(e,t)=>{te(e,{Vb:!0,name:t=K(t),ba:0,fromWireType:()=>{},toWireType:()=>{}})},p:()=>{J=!1,et=0},l:Le,m:e=>{9<e&&(Ne[e+1]+=1)},e:(e,t)=>{var r=Z[e];if(void 0===r)throw e=`_emval_take_value has unknown type ${Pe(e)}`,new Q(e);return e=(e=r).readValueFromPointer(t),Ge(e)},r:(e,t)=>{if(tt[e]&&(clearTimeout(tt[e].id),delete tt[e]),!t)return 0;var r=setTimeout((()=>{delete tt[e],(e=>{if(!R)try{if(e(),!(J||0<et))try{b=e=b,rt(e)}catch(e){e instanceof M||"unwind"==e||f(1,e)}}catch(e){e instanceof M||"unwind"==e||f(1,e)}})((()=>tr(e,performance.now())))}),t);return tt[e]={id:r,ac:t},0},s:e=>{var t=_.length;if(2147483648<(e>>>=0))return!1;for(var r=1;4>=r;r*=2){var n=t*(1+.2/r);n=Math.min(n,e+100663296);e:{n=(Math.min(2147483648,65536*Math.ceil(Math.max(e,n)/65536))-g.buffer.byteLength+65535)/65536|0;try{g.grow(n),O();var i=1;break e}catch(e){}i=void 0}if(i)return!0}return!1},o:rt},Zt=await async function(){function e(e){return g=(Zt=e.exports).w,O(),Se=Zt.C,L(),Zt}N();var r={a:Xt};if(i.instantiateWasm)return new Promise((t=>{i.instantiateWasm(r,((r,n)=>{e(r),t(r.exports)}))}));H??=i.locateFile?i.locateFile?i.locateFile("thorvg.wasm",p):p+"thorvg.wasm":new URL("thorvg.wasm","undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:t&&"SCRIPT"===t.tagName.toUpperCase()&&t.src||new URL("lottie-player.js",document.baseURI).href).href;try{var o=await async function(e){var t=H;if(!C&&"function"==typeof WebAssembly.instantiateStreaming&&!U(t)&&!h)try{var r=fetch(t,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(r,e)}catch(e){v(`wasm streaming compile failed: ${e}`),v("falling back to ArrayBuffer instantiation")}return async function(e,t){try{var r=await async function(e){if(!C)try{var t=await u(e);return new Uint8Array(t)}catch{}if(e==H&&C)e=new Uint8Array(C);else{if(!c)throw"both async and sync fetching of the wasm failed";e=c(e)}return e}(e);return await WebAssembly.instantiate(r,t)}catch(e){v(`failed to asynchronously prepare wasm: ${e}`),G(e)}}(t,e)}(r);return e(o.instance)}catch(e){return n(e),Promise.reject(e)}}(),Yt=Zt.y,Qt=Zt.z,er=Zt.A,tr=Zt.B;if(i.addRunDependency=N,i.removeRunDependency=L,i.FS_createPreloadedFile=gt,i.FS_unlink=e=>zt.unlink(e),i.FS_createPath=Vt,i.FS_createDevice=Jt,i.FS=zt,i.FS_createDataFile=(e,t,r,n,i,o)=>{zt.za(e,t,r,n,i,o)},i.FS_createLazyFile=Bt,i.preInit)for("function"==typeof i.preInit&&(i.preInit=[i.preInit]);0<i.preInit.length;)i.preInit.pop()();return function e(){function t(){if(i.calledRun=!0,!R){if(i.noFSInit||zt.Aa||$t(),Zt.x(),zt.Sa=!1,r(i),i.onRuntimeInitialized?.(),i.postRun)for("function"==typeof i.postRun&&(i.postRun=[i.postRun]);i.postRun.length;){var e=i.postRun.shift();z.unshift(e)}W(z)}}if(0<I)x=e;else{if(i.preRun)for("function"==typeof i.preRun&&(i.preRun=[i.preRun]);i.preRun.length;)B();W(V),0<I?x=e:i.setStatus?(i.setStatus("Running..."),setTimeout((()=>{setTimeout((()=>i.setStatus("")),1),t()}),1)):t()}}(),o});function de(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}let fe,pe=!1;var me,we,ye,ve,ge,be;!function(e){e.SW="sw",e.WG="wg",e.GL="gl"}(me||(me={})),function(e){e.IDLE="idle",e.FAILED="failed",e.REQUESTED="requested",e.INITIALIZED="initialized"}(we||(we={})),function(e){e.JSON="json",e.LOT="lot",e.JPG="jpg",e.PNG="png",e.SVG="svg"}(ye||(ye={})),function(e){e.Destroyed="destroyed",e.Error="error",e.Loading="loading",e.Paused="paused",e.Playing="playing",e.Stopped="stopped",e.Frozen="frozen"}(ve||(ve={})),function(e){e.Bounce="bounce",e.Normal="normal"}(ge||(ge={})),function(e){e.Complete="complete",e.Destroyed="destroyed",e.Error="error",e.Frame="frame",e.Freeze="freeze",e.Load="load",e.Loop="loop",e.Pause="pause",e.Play="play",e.Ready="ready",e.Stop="stop"}(be||(be={}));const $e=e=>new Promise((t=>setTimeout(t,e)));let _e="idle";class Ae extends he{src;wasmUrl;fileType="json";speed=1;autoPlay=!1;count;loop=!1;direction=1;mode="normal";intermission=1;totalFrame=0;currentFrame=0;currentState="loading";get size(){return Float32Array.from(this.TVG?.size()||[0,0])}TVG;canvas;config;_imageData;_beginTime=Date.now();_counter=1;_timer;_observer;_observable=!1;async _init(){if(pe)for(;!fe;)await $e(100);if(fe||(pe=!0,fe=await ce({locateFile:(e,t)=>e.endsWith(".wasm")?this.wasmUrl||"https://unpkg.com/@thorvg/lottie-player@latest/dist/sw-lite/thorvg.wasm":t+e})),!this._timer)return;clearInterval(this._timer),this._timer=void 0;const e=this.config?.renderer||"sw";if(await(async e=>{if("wg"===e){for(;"requested"===_e;)await $e(100);if("initialized"!==_e)for(_e="requested";;)switch(fe.init()){case 0:return void(_e="initialized");case 1:return void(_e="failed");case 2:await $e(100)}}})(e),"failed"===_e)return this.currentState="error",void this.dispatchEvent(new CustomEvent("error"));this.TVG=new fe.TvgLottieAnimation(e,`#${this.canvas.id}`),this.src&&this.load(this.src,this.fileType)}_viewport(){const{left:e,right:t,top:r,bottom:n}=this.getBoundingClientRect(),i=window.innerWidth,o=window.innerHeight;let a=0,s=0,h=this.canvas.width,l=this.canvas.height;e<0&&(a=Math.abs(e),h-=a),r<0&&(s=Math.abs(r),l-=s),t>i&&(h-=t-i),n>o&&(l-=n-o),this.TVG.viewport(a,s,h,l)}_observerCallback(e){const t=e[0],r=t.target;r._observable=t.isIntersecting,t.isIntersecting?"frozen"===r.currentState&&r.play():"playing"===r.currentState&&(r.freeze(),r.dispatchEvent(new CustomEvent("freeze")))}firstUpdated(e){this.canvas=this.querySelector(".thorvg"),this.canvas.id=`thorvg-${Date.now().toString(36)+Math.random().toString(36).substring(2)}`,this.canvas.width=this.canvas.offsetWidth,this.canvas.height=this.canvas.offsetHeight,this._observer=new IntersectionObserver(this._observerCallback),this._observer.observe(this),this.TVG?this.src&&this.load(this.src,this.fileType):this._timer=setInterval(this._init.bind(this),100)}createRenderRoot(){return this.style.display="block",this}async _animLoop(){this.TVG&&await this._update()&&(this._render(),window.requestAnimationFrame(this._animLoop.bind(this)))}_loadBytes(e){if(!this.TVG.load(e,this.fileType,this.canvas.width,this.canvas.height,""))throw new Error(`Unable to load an image. Error: ${this.TVG.error()}`);this._render(),this.dispatchEvent(new CustomEvent("load")),this.autoPlay&&this.play()}_flush(){this.canvas.getContext("2d").putImageData(this._imageData,0,0)}_render(){if(this.config?.enableDevicePixelRatio){const e=1+.75*(window.devicePixelRatio-1),{width:t,height:r}=this.canvas.getBoundingClientRect();this.canvas.width=t*e,this.canvas.height=r*e}if(this.TVG.resize(this.canvas.width,this.canvas.height),this._viewport(),!this.TVG.update())return;if("wg"===this.config?.renderer||"gl"===this.config?.renderer)return void this.TVG.render();const e=this.TVG.render(),t=new Uint8ClampedArray(e.buffer,e.byteOffset,e.byteLength);t.length<1||(this._imageData=new ImageData(t,this.canvas.width,this.canvas.height),this._flush())}async _update(){if("playing"!==this.currentState)return!1;const e=this.TVG.duration(),t=Date.now()/1e3;if(this.currentFrame=(t-this._beginTime)/e*this.totalFrame*this.speed,-1===this.direction&&(this.currentFrame=this.totalFrame-this.currentFrame),1===this.direction&&this.currentFrame>=this.totalFrame||-1===this.direction&&this.currentFrame<=0){const e=this.count?"bounce"===this.mode?2*this.count:this.count:0;if(this.loop||e&&this._counter<e)return"bounce"===this.mode&&(this.direction=1===this.direction?-1:1,this.currentFrame=1===this.direction?0:this.totalFrame),this.count&&(this._counter+=1),await $e(this.intermission),this.play(),!0;this.dispatchEvent(new CustomEvent("complete")),this.currentState="stopped"}return this.dispatchEvent(new CustomEvent("frame",{detail:{frame:this.currentFrame}})),this.TVG.frame(this.currentFrame)}_frame(e){this.pause(),this.currentFrame=e,this.TVG.frame(e)}async load(e,t="json"){try{await this._init();const r=await(async(e,t)=>{const r=new TextEncoder;let n=e;switch(typeof n){case"object":return n instanceof ArrayBuffer?new Uint8Array(n):(n=JSON.stringify(n),r.encode(n));case"string":if("json"===t||"lot"===t)return n=await(async e=>{try{e=JSON.parse(e)}catch(t){const r=await(async e=>{if("string"!=typeof e)throw new Error("The url value must be a string");try{const t=new URL(e),r=await fetch(t.toString());return await r.json()}catch(e){throw new Error("An error occurred while trying to load the Lottie file from URL")}})(e);e=JSON.stringify(r)}return e})(n),r.encode(n);const e=await(async e=>(await fetch(e)).arrayBuffer())(n);return new Uint8Array(e);default:throw new Error("Invalid src type")}})(e,t);this.dispatchEvent(new CustomEvent("ready")),this.fileType=t,await this._loadBytes(r)}catch(e){this.currentState="error",this.dispatchEvent(new CustomEvent("error"))}}play(){if(!("json"!==this.fileType&&"lot"!==this.fileType||(this.totalFrame=this.TVG.totalFrame(),this.totalFrame<1||(this._beginTime=Date.now()/1e3,"playing"===this.currentState))))return this._observable?(this.currentState="playing",void window.requestAnimationFrame(this._animLoop.bind(this))):void(this.currentState="frozen")}pause(){this.currentState="paused",this.dispatchEvent(new CustomEvent("pause"))}stop(){this.currentState="stopped",this.currentFrame=0,this._counter=1,this.seek(0),this.dispatchEvent(new CustomEvent("stop"))}freeze(){this.currentState="frozen",this.dispatchEvent(new CustomEvent("freeze"))}async seek(e){this._frame(e),await this._update(),this._render()}resize(e,t){this.canvas.width=e,this.canvas.height=t,"playing"!==this.currentState&&this._render()}destroy(){this.TVG&&(this.TVG.delete(),this.TVG=null,this.currentState="destroyed",this._observer&&(this._observer.disconnect(),this._observer=void 0),this.dispatchEvent(new CustomEvent("destroyed")),this.remove())}term(){fe.term(),fe=null}setLooping(e){this.TVG&&(this.loop=e)}setDirection(e){this.TVG&&(this.direction=e)}setSpeed(e){this.TVG&&(this.speed=e)}setBgColor(e){this.TVG&&(this.canvas.style.backgroundColor=e)}getVersion(){return{THORVG_VERSION:"1.0.0"}}render(){return B`
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self)["lottie-player"]={})}(this,function(t){"use strict";var e="undefined"!=typeof document?document.currentScript:null;const r=globalThis,n=r.ShadowRoot&&(void 0===r.ShadyCSS||r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),a=new WeakMap;let s=class{constructor(t,e,r){if(this._$cssResult$=!0,r!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(n&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=a.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&a.set(e,t))}return t}toString(){return this.cssText}};const o=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new s("string"==typeof t?t:t+"",void 0,i))(e)})(t):t,{is:h,defineProperty:l,getOwnPropertyDescriptor:u,getOwnPropertyNames:c,getOwnPropertySymbols:d,getPrototypeOf:f}=Object,p=globalThis,w=p.trustedTypes,m=w?w.emptyScript:"",v=p.reactiveElementPolyfillSupport,y=(t,e)=>t,g={toAttribute(t,e){switch(e){case Boolean:t=t?m:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},b=(t,e)=>!h(t,e),$={attribute:!0,type:String,converter:g,reflect:!1,useDefault:!1,hasChanged:b};Symbol.metadata??=Symbol("metadata"),p.litPropertyMetadata??=new WeakMap;let _=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=$){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),n=this.getPropertyDescriptor(t,r,e);void 0!==n&&l(this.prototype,t,n)}}static getPropertyDescriptor(t,e,r){const{get:n,set:i}=u(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:n,set(e){const a=n?.call(this);i?.call(this,e),this.requestUpdate(t,a,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$}static _$Ei(){if(this.hasOwnProperty(y("elementProperties")))return;const t=f(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(y("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(y("properties"))){const t=this.properties,e=[...c(t),...d(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const r=this._$Eu(t,e);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(o(t))}else void 0!==t&&e.push(o(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(n)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const n of e){const e=document.createElement("style"),i=r.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=n.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$ET(t,e){const r=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,r);if(void 0!==n&&!0===r.reflect){const i=(void 0!==r.converter?.toAttribute?r.converter:g).toAttribute(e,r.type);this._$Em=t,null==i?this.removeAttribute(n):this.setAttribute(n,i),this._$Em=null}}_$AK(t,e){const r=this.constructor,n=r._$Eh.get(t);if(void 0!==n&&this._$Em!==n){const t=r.getPropertyOptions(n),i="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:g;this._$Em=n;const a=i.fromAttribute(e,t.type);this[n]=a??this._$Ej?.get(n)??a,this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){const n=this.constructor,i=this[t];if(r??=n.getPropertyOptions(t),!((r.hasChanged??b)(i,e)||r.useDefault&&r.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(n._$Eu(t,r))))return;this.C(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:r,reflect:n,wrapped:i},a){r&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,a??e??this[t]),!0!==i||void 0!==a)||(this._$AL.has(t)||(this.hasUpdated||r||(e=void 0),this._$AL.set(t,e)),!0===n&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t){const{wrapped:t}=r,n=this[e];!0!==t||this._$AL.has(e)||void 0===n||this.C(e,void 0,r,n)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}};_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[y("elementProperties")]=new Map,_[y("finalized")]=new Map,v?.({ReactiveElement:_}),(p.reactiveElementVersions??=[]).push("2.1.1");const A={attribute:!0,type:String,converter:g,reflect:!1,hasChanged:b},S=(t=A,e,r)=>{const{kind:n,metadata:i}=r;let a=globalThis.litPropertyMetadata.get(i);if(void 0===a&&globalThis.litPropertyMetadata.set(i,a=new Map),"setter"===n&&((t=Object.create(t)).wrapped=!0),a.set(r.name,t),"accessor"===n){const{name:n}=r;return{set(r){const i=e.get.call(this);e.set.call(this,r),this.requestUpdate(n,i,t)},init(e){return void 0!==e&&this.C(n,void 0,t,e),e}}}if("setter"===n){const{name:n}=r;return function(r){const i=this[n];e.call(this,r),this.requestUpdate(n,i,t)}}throw Error("Unsupported decorator location: "+n)};function E(t){return(e,r)=>"object"==typeof r?S(t,e,r):((t,e,r)=>{const n=e.hasOwnProperty(r);return e.constructor.createProperty(r,t),n?Object.getOwnPropertyDescriptor(e,r):void 0})(t,e,r)}const k=globalThis,T=k.trustedTypes,R=T?T.createPolicy("lit-html",{createHTML:t=>t}):void 0,L="$lit$",P=`lit$${Math.random().toFixed(9).slice(2)}$`,O="?"+P,C=`<${O}>`,M=document,U=()=>M.createComment(""),N=t=>null===t||"object"!=typeof t&&"function"!=typeof t,x=Array.isArray,j="[ \t\n\f\r]",F=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,V=/-->/g,D=/>/g,z=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),H=/'/g,I=/"/g,W=/^(?:script|style|textarea|title)$/i,B=(t,...e)=>({_$litType$:1,strings:t,values:e}),G=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),X=new WeakMap,Z=M.createTreeWalker(M,129);function Y(t,e){if(!x(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==R?R.createHTML(e):e}const J=(t,e)=>{const r=t.length-1,n=[];let i,a=2===e?"<svg>":3===e?"<math>":"",s=F;for(let e=0;e<r;e++){const r=t[e];let o,h,l=-1,u=0;for(;u<r.length&&(s.lastIndex=u,h=s.exec(r),null!==h);)u=s.lastIndex,s===F?"!--"===h[1]?s=V:void 0!==h[1]?s=D:void 0!==h[2]?(W.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=z):void 0!==h[3]&&(s=z):s===z?">"===h[0]?(s=i??F,l=-1):void 0===h[1]?l=-2:(l=s.lastIndex-h[2].length,o=h[1],s=void 0===h[3]?z:'"'===h[3]?I:H):s===I||s===H?s=z:s===V||s===D?s=F:(s=z,i=void 0);const c=s===z&&t[e+1].startsWith("/>")?" ":"";a+=s===F?r+C:l>=0?(n.push(o),r.slice(0,l)+L+r.slice(l)+P+c):r+P+(-2===l?e:c)}return[Y(t,a+(t[r]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),n]};class K{constructor({strings:t,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const s=t.length-1,o=this.parts,[h,l]=J(t,e);if(this.el=K.createElement(h,r),Z.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=Z.nextNode())&&o.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(L)){const e=l[a++],r=n.getAttribute(t).split(P),s=/([.?@])?(.*)/.exec(e);o.push({type:1,index:i,name:s[2],strings:r,ctor:"."===s[1]?nt:"?"===s[1]?it:"@"===s[1]?at:rt}),n.removeAttribute(t)}else t.startsWith(P)&&(o.push({type:6,index:i}),n.removeAttribute(t));if(W.test(n.tagName)){const t=n.textContent.split(P),e=t.length-1;if(e>0){n.textContent=T?T.emptyScript:"";for(let r=0;r<e;r++)n.append(t[r],U()),Z.nextNode(),o.push({type:2,index:++i});n.append(t[e],U())}}}else if(8===n.nodeType)if(n.data===O)o.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(P,t+1));)o.push({type:7,index:i}),t+=P.length-1}i++}}static createElement(t,e){const r=M.createElement("template");return r.innerHTML=t,r}}function Q(t,e,r=t,n){if(e===G)return e;let i=void 0!==n?r._$Co?.[n]:r._$Cl;const a=N(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),void 0===a?i=void 0:(i=new a(t),i._$AT(t,r,n)),void 0!==n?(r._$Co??=[])[n]=i:r._$Cl=i),void 0!==i&&(e=Q(t,i._$AS(t,e.values),i,n)),e}class tt{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:r}=this._$AD,n=(t?.creationScope??M).importNode(e,!0);Z.currentNode=n;let i=Z.nextNode(),a=0,s=0,o=r[0];for(;void 0!==o;){if(a===o.index){let e;2===o.type?e=new et(i,i.nextSibling,this,t):1===o.type?e=new o.ctor(i,o.name,o.strings,this,t):6===o.type&&(e=new st(i,this,t)),this._$AV.push(e),o=r[++s]}a!==o?.index&&(i=Z.nextNode(),a++)}return Z.currentNode=M,n}p(t){let e=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class et{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,n){this.type=2,this._$AH=q,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=Q(this,t,e),N(t)?t===q||null==t||""===t?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==G&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>x(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==q&&N(this._$AH)?this._$AA.nextSibling.data=t:this.T(M.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,n="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=K.createElement(Y(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===n)this._$AH.p(e);else{const t=new tt(n,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=X.get(t.strings);return void 0===e&&X.set(t.strings,e=new K(t)),e}k(t){x(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,n=0;for(const i of t)n===e.length?e.push(r=new et(this.O(U()),this.O(U()),this,this.options)):r=e[n],r._$AI(i),n++;n<e.length&&(this._$AR(r&&r._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class rt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,n,i){this.type=1,this._$AH=q,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=i,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=q}_$AI(t,e=this,r,n){const i=this.strings;let a=!1;if(void 0===i)t=Q(this,t,e,0),a=!N(t)||t!==this._$AH&&t!==G,a&&(this._$AH=t);else{const n=t;let s,o;for(t=i[0],s=0;s<i.length-1;s++)o=Q(this,n[r+s],e,s),o===G&&(o=this._$AH[s]),a||=!N(o)||o!==this._$AH[s],o===q?t=q:t!==q&&(t+=(o??"")+i[s+1]),this._$AH[s]=o}a&&!n&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class nt extends rt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}class it extends rt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==q)}}class at extends rt{constructor(t,e,r,n,i){super(t,e,r,n,i),this.type=5}_$AI(t,e=this){if((t=Q(this,t,e,0)??q)===G)return;const r=this._$AH,n=t===q&&r!==q||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,i=t!==q&&(r===q||n);n&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class st{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){Q(this,t)}}const ot=k.litHtmlPolyfillSupport;ot?.(K,et),(k.litHtmlVersions??=[]).push("3.3.1");const ht=globalThis;class lt extends _{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,r)=>{const n=r?.renderBefore??e;let i=n._$litPart$;if(void 0===i){const t=r?.renderBefore??null;n._$litPart$=i=new et(e.insertBefore(U(),t),t,void 0,r??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return G}}lt._$litElement$=!0,lt.finalized=!0,ht.litElementHydrateSupport?.({LitElement:lt});const ut=ht.litElementPolyfillSupport;function ct(t,e,r,n){var i,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var o=t.length-1;o>=0;o--)(i=t[o])&&(s=(a<3?i(s):a>3?i(e,r,s):i(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s}ut?.({LitElement:lt}),(ht.litElementVersions??=[]).push("4.2.1");let dt=null,ft=!1;var pt=function(t){return t.JSON="json",t.LOT="lot",t.JPG="jpg",t.PNG="png",t.SVG="svg",t}({});const wt=t=>new Promise(e=>setTimeout(e,t));let mt="idle";class vt extends lt{src;wasmUrl;fileType="json";speed=1;autoPlay=!1;count;loop=!1;direction=1;mode="normal";intermission=1;totalFrame=0;currentFrame=0;currentState="loading";get size(){return Float32Array.from(this.TVG?.size()||[0,0])}TVG=null;canvas;config;_imageData;_beginTime=Date.now();_counter=1;_timer;_observer;_observable=!1;_assetResolverCallback;_assetResolverData;async _init(){if(ft)for(;!dt;)await wt(100);if(dt||(ft=!0,dt=await async function(t={}){var r,n=t,i=!!globalThis.window,a=!!globalThis.WorkerGlobalScope,s=globalThis.process?.versions?.node&&"renderer"!=globalThis.process?.type;if(s){const{createRequire:t}=await Promise.resolve().then(function(){return bt});var o=t("undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:e&&"SCRIPT"===e.tagName.toUpperCase()&&e.src||new URL("lottie-player.js",document.baseURI).href)}var h,l,u=(t,e)=>{throw e},c="undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:e&&"SCRIPT"===e.tagName.toUpperCase()&&e.src||new URL("lottie-player.js",document.baseURI).href,d="";if(s){var f=o("fs");c.startsWith("file:")&&(d=o("path").dirname(o("url").fileURLToPath(c))+"/"),l=t=>(t=C(t)?new URL(t):t,f.readFileSync(t)),h=async t=>(t=C(t)?new URL(t):t,f.readFileSync(t,void 0)),process.argv.slice(2),u=(t,e)=>{throw process.exitCode=t,e}}else if(i||a){try{d=new URL(".",c).href}catch{}a&&(l=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),h=async t=>{if(C(t))return new Promise((e,r)=>{var n=new XMLHttpRequest;n.open("GET",t,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?e(n.response):r(n.status)},n.onerror=r,n.send(null)});var e=await fetch(t,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw Error(e.status+" : "+e.url)}}var p,w,m,v,y,g,b,$,_,A,S,E,k,T,R,L=function(){}.bind(),P=function(){}.bind(),O=!1,C=t=>t.startsWith("file://"),M=!1;function U(){var t=Ke.buffer;y=new Int8Array(t),b=new Int16Array(t),g=new Uint8Array(t),$=new Uint16Array(t),_=new Int32Array(t),A=new Uint32Array(t),S=new Float32Array(t),E=new Float64Array(t),k=new BigInt64Array(t),T=new BigUint64Array(t)}function N(t){throw n.onAbort?.(t),P(t="Aborted("+t+")"),O=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),v?.(t),t}class x{name="ExitStatus";constructor(t){this.message=`Program terminated with exit(${t})`,this.status=t}}var j=t=>{for(;0<t.length;)t.shift()(n)},F=[],V=[],D=()=>{var t=n.preRun.shift();V.push(t)},z=!0,H=t=>{for(var e="";;){var r=g[t++];if(!r)return e;e+=String.fromCharCode(r)}},I={},W={},B={},G=class extends Error{constructor(t){super(t),this.name="BindingError"}},q=t=>{throw new G(t)};function X(t,e,r={}){return function(t,e,r={}){var n=e.name;if(!t)throw new G(`type "${n}" must have a positive integer typeid pointer`);if(W.hasOwnProperty(t)){if(r.vb)return;throw new G(`Cannot register type '${n}' twice`)}W[t]=e,delete B[t],I.hasOwnProperty(t)&&(e=I[t],delete I[t],e.forEach(t=>t()))}(t,e,r)}var Z=(t,e,r)=>{switch(e){case 1:return r?t=>y[t]:t=>g[t];case 2:return r?t=>b[t>>1]:t=>$[t>>1];case 4:return r?t=>_[t>>2]:t=>A[t>>2];case 8:return r?t=>k[t>>3]:t=>T[t>>3];default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},Y=t=>{throw new G(t.M.U.R.name+" instance already deleted")},J=!1,K=()=>{},Q=t=>globalThis.FinalizationRegistry?(J=new FinalizationRegistry(t=>{--(t=t.M).count.value,0===t.count.value&&(t.X?t.aa.oa(t.X):t.U.R.oa(t.S))}),Q=t=>{var e=t.M;return e.X&&J.register(t,{M:e},t),t},K=t=>{J.unregister(t)},Q(t)):(Q=t=>t,t);function tt(){}var et=(t,e)=>Object.defineProperty(e,"name",{value:t}),rt={},nt=(t,e,r)=>{if(void 0===t[e].W){var n=t[e];t[e]=function(...n){if(!t[e].W.hasOwnProperty(n.length))throw new G(`Function '${r}' called with an invalid number of arguments (${n.length}) - expects one of (${t[e].W})!`);return t[e].W[n.length].apply(this,n)},t[e].W=[],t[e].W[n.wa]=n}},it=(t,e,r)=>{if(n.hasOwnProperty(t)){if(void 0===r||void 0!==n[t].W&&void 0!==n[t].W[r])throw new G(`Cannot register public name '${t}' twice`);if(nt(n,t,t),n[t].W.hasOwnProperty(r))throw new G(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`);n[t].W[r]=e}else n[t]=e,n[t].wa=r};function at(t,e,r,n,i,a,s,o){this.name=t,this.constructor=e,this.ta=r,this.oa=n,this.Z=i,this.rb=a,this.Ba=s,this.ob=o,this.Bb=[]}var st=(t,e,r)=>{for(;e!==r;){if(!e.Ba)throw new G(`Expected null or instance of ${r.name}, got an instance of ${e.name}`);t=e.Ba(t),e=e.Z}return t},ot=t=>{if(null===t)return"null";var e=typeof t;return"object"===e||"array"===e||"function"===e?t.toString():""+t};function ht(t,e){if(null===e){if(this.La)throw new G(`null is not a valid ${this.name}`);return 0}if(!e.M)throw new G(`Cannot pass "${ot(e)}" as a ${this.name}`);if(!e.M.S)throw new G(`Cannot pass deleted object as a pointer of type ${this.name}`);return st(e.M.S,e.M.U.R,this.R)}function lt(t,e){if(null===e){if(this.La)throw new G(`null is not a valid ${this.name}`);if(this.Ea){var r=this.Cb();return null!==t&&t.push(this.oa,r),r}return 0}if(!e||!e.M)throw new G(`Cannot pass "${ot(e)}" as a ${this.name}`);if(!e.M.S)throw new G(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.Da&&e.M.U.Da)throw new G(`Cannot convert argument of type ${e.M.aa?e.M.aa.name:e.M.U.name} to parameter type ${this.name}`);if(r=st(e.M.S,e.M.U.R,this.R),this.Ea){if(void 0===e.M.X)throw new G("Passing raw pointer to smart pointer is illegal");switch(this.Eb){case 0:if(e.M.aa!==this)throw new G(`Cannot convert argument of type ${e.M.aa?e.M.aa.name:e.M.U.name} to parameter type ${this.name}`);r=e.M.X;break;case 1:r=e.M.X;break;case 2:if(e.M.aa===this)r=e.M.X;else{var n=e.clone();r=this.Db(r,Mt(()=>n.delete())),null!==t&&t.push(this.oa,r)}break;default:throw new G("Unsupporting sharing policy")}}return r}function ut(t,e){if(null===e){if(this.La)throw new G(`null is not a valid ${this.name}`);return 0}if(!e.M)throw new G(`Cannot pass "${ot(e)}" as a ${this.name}`);if(!e.M.S)throw new G(`Cannot pass deleted object as a pointer of type ${this.name}`);if(e.M.U.Da)throw new G(`Cannot convert argument of type ${e.M.U.name} to parameter type ${this.name}`);return st(e.M.S,e.M.U.R,this.R)}function ct(t){return this.Y(A[t>>2])}var dt=(t,e,r)=>e===r?t:void 0===r.Z||null===(t=dt(t,e,r.Z))?null:r.ob(t),ft={},pt=class extends Error{constructor(t){super(t),this.name="InternalError"}},wt=(t,e)=>{if(!e.U||!e.S)throw new pt("makeClassHandle requires ptr and ptrType");if(!!e.aa!=!!e.X)throw new pt("Both smartPtrType and smartPtr must be specified");return e.count={value:1},Q(Object.create(t,{M:{value:e,writable:!0}}))};function mt(t,e,r,n,i,a,s,o,h,l,u){this.name=t,this.R=e,this.La=r,this.Da=n,this.Ea=i,this.Ab=a,this.Eb=s,this.eb=o,this.Cb=h,this.Db=l,this.oa=u,i||void 0!==e.Z?this.ba=lt:(this.ba=n?ht:ut,this.da=null)}var vt=(t,e,r)=>{if(!n.hasOwnProperty(t))throw new pt("Replacing nonexistent public symbol");void 0!==n[t].W&&void 0!==r?n[t].W[r]=e:(n[t]=e,n[t].wa=r)},yt=(t,e)=>{t=H(t);var r=Qe.get(e);if("function"!=typeof r)throw new G(`unknown function pointer with signature ${t}: ${e}`);return r};class gt extends Error{}var $t=t=>{t=Ye(t);var e=H(t);return Xe(t),e},_t=(t,e)=>{var r=[],n={};throw e.forEach(function t(e){n[e]||W[e]||(B[e]?B[e].forEach(t):(r.push(e),n[e]=!0))}),new gt(`${t}: `+r.map($t).join([", "]))},At=(t,e,r)=>{function n(e){if((e=r(e)).length!==t.length)throw new pt("Mismatched type converter count");for(var n=0;n<t.length;++n)X(t[n],e[n])}t.forEach(t=>B[t]=e);var i=Array(e.length),a=[],s=0;for(let[t,r]of e.entries())W.hasOwnProperty(r)?i[t]=W[r]:(a.push(r),I.hasOwnProperty(r)||(I[r]=[]),I[r].push(()=>{i[t]=W[r],++s===a.length&&n(i)}));0===a.length&&n(i)},St=(t,e)=>{for(var r=[],n=0;n<t;n++)r.push(A[e+4*n>>2]);return r},Et=t=>{for(;t.length;){var e=t.pop();t.pop()(e)}};function kt(t){for(var e=1;e<t.length;++e)if(null!==t[e]&&void 0===t[e].da)return!0;return!1}function Tt(t,e,r,n,i,a){var s=e.length;if(2>s)throw new G("argTypes array size mismatch! Must at least get return value and 'this' types!");var o=null!==e[1]&&null!==r,h=kt(e);r=!e[0].bb;var l=e[0],u=e[1];for(n=[t,q,n,i,Et,l.Y.bind(l),u?.ba.bind(u)],i=2;i<s;++i)n.push((l=e[i]).ba.bind(l));if(!h)for(i=o?1:2;i<e.length;++i)null!==e[i].da&&n.push(e[i].da);for(h=kt(e),i=e.length-2,u=[],l=["fn"],o&&l.push("thisWired"),s=0;s<i;++s)u.push(`arg${s}`),l.push(`arg${s}Wired`);u=u.join(","),l=l.join(","),u=`return function (${u}) {\n`,h&&(u+="var destructors = [];\n");var c=h?"destructors":"null",d="humanName throwBindingError invoker fn runDestructors fromRetWire toClassParamWire".split(" ");for(o&&(u+=`var thisWired = toClassParamWire(${c}, this);\n`),s=0;s<i;++s){var f=`toArg${s}Wire`;u+=`var arg${s}Wired = ${f}(${c}, arg${s});\n`,d.push(f)}if(u+=(r||a?"var rv = ":"")+`invoker(${l});\n`,h)u+="runDestructors(destructors);\n";else for(s=o?1:2;s<e.length;++s)a=1===s?"thisWired":"arg"+(s-2)+"Wired",null!==e[s].da&&(u+=`${a}_dtor(${a});\n`,d.push(`${a}_dtor`));return r&&(u+="var ret = fromRetWire(rv);\nreturn ret;\n"),e=new Function(d,u+"}\n")(...n),et(t,e)}var Rt=t=>{const e=(t=t.trim()).indexOf("(");return-1===e?t:t.slice(0,e)},Lt=[],Pt=[0,1,,1,null,1,!0,1,!1,1],Ot=t=>{9<t&&0===--Pt[t+1]&&(Pt[t]=void 0,Lt.push(t))},Ct=t=>{if(!t)throw new G(`Cannot use deleted val. handle = ${t}`);return Pt[t]},Mt=t=>{switch(t){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:const e=Lt.pop()||Pt.length;return Pt[e]=t,Pt[e+1]=1,e}},Ut={name:"emscripten::val",Y:t=>{var e=Ct(t);return Ot(t),e},ba:(t,e)=>Mt(e),ma:ct,da:null},Nt=(t,e)=>{switch(e){case 4:return function(t){return this.Y(S[t>>2])};case 8:return function(t){return this.Y(E[t>>3])};default:throw new TypeError(`invalid float width (${e}): ${t}`)}},xt=(t,e,r,n)=>{if(!(0<n))return 0;var i=r;n=r+n-1;for(var a=0;a<t.length;++a){var s=t.codePointAt(a);if(127>=s){if(r>=n)break;e[r++]=s}else if(2047>=s){if(r+1>=n)break;e[r++]=192|s>>6,e[r++]=128|63&s}else if(65535>=s){if(r+2>=n)break;e[r++]=224|s>>12,e[r++]=128|s>>6&63,e[r++]=128|63&s}else{if(r+3>=n)break;e[r++]=240|s>>18,e[r++]=128|s>>12&63,e[r++]=128|s>>6&63,e[r++]=128|63&s,a++}}return e[r]=0,r-i},jt=t=>{for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);127>=n?e++:2047>=n?e+=2:55296<=n&&57343>=n?(e+=4,++r):e+=3}return e},Ft=new TextDecoder,Vt=(t,e,r,n)=>{if(r=e+r,n)return r;for(;t[e]&&!(e>=r);)++e;return e},Dt=new TextDecoder("utf-16le"),zt=(t,e,r)=>Dt.decode($.subarray(t>>=1,Vt($,t,e/2,r))),Ht=(t,e,r)=>{if(r??=2147483647,2>r)return 0;var n=e;r=(r-=2)<2*t.length?r/2:t.length;for(var i=0;i<r;++i)b[e>>1]=t.charCodeAt(i),e+=2;return b[e>>1]=0,e-n},It=t=>2*t.length,Wt=(t,e,r)=>{var n="";t>>=2;for(var i=0;!(i>=e/4);i++){var a=A[t+i];if(!a&&!r)break;n+=String.fromCodePoint(a)}return n},Bt=(t,e,r)=>{if(r??=2147483647,4>r)return 0;var n=e;r=n+r-4;for(var i=0;i<t.length;++i){var a=t.codePointAt(i);if(65535<a&&i++,_[e>>2]=a,(e+=4)+4>r)break}return _[e>>2]=0,e-n},Gt=t=>{for(var e=0,r=0;r<t.length;++r)65535<t.codePointAt(r)&&r++,e+=4;return e},qt=0,Xt=[],Zt=(t,e,r)=>{var n=[];return t=t(n,r),n.length&&(A[e>>2]=Mt(n)),t},Yt={},Jt=t=>{var e=Yt[t];return void 0===e?H(t):e},Kt={},Qt=t=>{w=t,z||0<qt||(n.onExit?.(t),O=!0),u(t,new x(t))},te=(t,e)=>{for(var r=0,n=t.length-1;0<=n;n--){var i=t[n];"."===i?t.splice(n,1):".."===i?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r;r--)t.unshift("..");return t},ee=t=>{var e="/"===t.charAt(0),r="/"===t.slice(-1);return(t=te(t.split("/").filter(t=>!!t),!e).join("/"))||e||(t="."),t&&r&&(t+="/"),(e?"/":"")+t},re=t=>{var e=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(t).slice(1);return t=e[0],e=e[1],t||e?(e&&=e.slice(0,-1),t+e):"."},ne=t=>t&&t.match(/([^\/]+|\/)\/*$/)[1],ie=t=>{(ie=(()=>{if(s){var t=o("crypto");return e=>t.randomFillSync(e)}return t=>crypto.getRandomValues(t)})())(t)},ae=(...t)=>{for(var e="",r=!1,n=t.length-1;-1<=n&&!r;n--){if("string"!=typeof(r=0<=n?t[n]:qe.cwd()))throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";e=r+"/"+e,r="/"===r.charAt(0)}return e=te(e.split("/").filter(t=>!!t),!r).join("/"),(r?"/":"")+e||"."},se=(t,e)=>{function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var r=t.length-1;0<=r&&""===t[r];r--);return e>r?[]:t.slice(e,r-e+1)}t=ae(t).slice(1),e=ae(e).slice(1),t=r(t.split("/")),e=r(e.split("/"));for(var n=Math.min(t.length,e.length),i=n,a=0;a<n;a++)if(t[a]!==e[a]){i=a;break}for(n=[],a=i;a<t.length;a++)n.push("..");return(n=n.concat(e.slice(i))).join("/")},oe=t=>{var e=Vt(t,0);return Ft.decode(t.buffer?t.subarray(0,e):new Uint8Array(t.slice(0,e)))},he=[],le=t=>{var e=Array(jt(t)+1);return t=xt(t,e,0,e.length),e.length=t,e},ue=[];function ce(t,e){ue[t]={input:[],output:[],va:e},Se(t,de)}var de={open(t){var e=ue[t.node.rdev];if(!e)throw new qe.L(43);t.tty=e,t.seekable=!1},close(t){t.tty.va.fsync(t.tty)},fsync(t){t.tty.va.fsync(t.tty)},read(t,e,r,n){if(!t.tty||!t.tty.va.Za)throw new qe.L(60);for(var i=0,a=0;a<n;a++){try{var s=t.tty.va.Za(t.tty)}catch(t){throw new qe.L(29)}if(void 0===s&&0===i)throw new qe.L(6);if(null==s)break;i++,e[r+a]=s}return i&&(t.node.atime=Date.now()),i},write(t,e,r,n){if(!t.tty||!t.tty.va.Pa)throw new qe.L(60);try{for(var i=0;i<n;i++)t.tty.va.Pa(t.tty,e[r+i])}catch(t){throw new qe.L(29)}return n&&(t.node.mtime=t.node.ctime=Date.now()),i}},fe={Za(){t:{if(!he.length){var t=null;if(s){var e=Buffer.alloc(256),r=0,n=process.stdin.fd;try{r=f.readSync(n,e,0,256)}catch(t){if(!t.toString().includes("EOF"))throw t;r=0}0<r&&(t=e.slice(0,r).toString("utf-8"))}else globalThis.window?.prompt&&null!==(t=window.prompt("Input: "))&&(t+="\n");if(!t){t=null;break t}he=le(t)}t=he.shift()}return t},Pa(t,e){null===e||10===e?(L(oe(t.output)),t.output=[]):0!=e&&t.output.push(e)},fsync(t){0<t.output?.length&&(L(oe(t.output)),t.output=[])},Zb:()=>({Mb:25856,Ob:5,Lb:191,Nb:35387,Kb:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),$b:()=>0,ac:()=>[24,80]},pe={Pa(t,e){null===e||10===e?(P(oe(t.output)),t.output=[]):0!=e&&t.output.push(e)},fsync(t){0<t.output?.length&&(P(oe(t.output)),t.output=[])}},we={ia:null,T:()=>we.createNode(null,"/",16895,0),createNode(t,e,r,n){if(24576==(61440&r)||qe.isFIFO(r))throw new qe.L(63);return we.ia||(we.ia={dir:{node:{fa:we.N.fa,ha:we.N.ha,lookup:we.N.lookup,ka:we.N.ka,rename:we.N.rename,unlink:we.N.unlink,rmdir:we.N.rmdir,readdir:we.N.readdir,symlink:we.N.symlink},stream:{$:we.O.$}},file:{node:{fa:we.N.fa,ha:we.N.ha},stream:{$:we.O.$,read:we.O.read,write:we.O.write,ua:we.O.ua,za:we.O.za}},link:{node:{fa:we.N.fa,ha:we.N.ha,readlink:we.N.readlink},stream:{}},Ua:{node:{fa:we.N.fa,ha:we.N.ha},stream:qe.mb}}),Ee((r=qe.createNode(t,e,r,n)).mode)?(r.N=we.ia.dir.node,r.O=we.ia.dir.stream,r.P={}):qe.isFile(r.mode)?(r.N=we.ia.file.node,r.O=we.ia.file.stream,r.V=0,r.P=null):40960==(61440&r.mode)?(r.N=we.ia.link.node,r.O=we.ia.link.stream):8192==(61440&r.mode)&&(r.N=we.ia.Ua.node,r.O=we.ia.Ua.stream),r.atime=r.mtime=r.ctime=Date.now(),t&&(t.P[e]=r,t.atime=t.mtime=t.ctime=r.atime),r},Yb:t=>t.P?t.P.subarray?t.P.subarray(0,t.V):new Uint8Array(t.P):new Uint8Array(0),N:{fa(t){var e={};return e.dev=8192==(61440&t.mode)?t.id:1,e.ino=t.id,e.mode=t.mode,e.nlink=1,e.uid=0,e.gid=0,e.rdev=t.rdev,e.size=Ee(t.mode)?4096:qe.isFile(t.mode)?t.V:40960==(61440&t.mode)?t.link.length:0,e.atime=new Date(t.atime),e.mtime=new Date(t.mtime),e.ctime=new Date(t.ctime),e.blksize=4096,e.blocks=Math.ceil(e.size/e.blksize),e},ha(t,e){for(var r of["mode","atime","mtime","ctime"])null!=e[r]&&(t[r]=e[r]);void 0!==e.size&&t.V!=(e=e.size)&&(0==e?(t.P=null,t.V=0):(r=t.P,t.P=new Uint8Array(e),r&&t.P.set(r.subarray(0,Math.min(e,t.V))),t.V=e))},lookup(){throw we.Ia||(we.Ia=new qe.L(44),we.Ia.stack="<generic error, no stack>"),we.Ia},ka:(t,e,r,n)=>we.createNode(t,e,r,n),rename(t,e,r){try{var n=ke(e,r)}catch(t){}if(n){if(Ee(t.mode))for(var i in n.P)throw new qe.L(55);Te(n)}delete t.parent.P[t.name],e.P[r]=t,t.name=r,e.ctime=e.mtime=t.parent.ctime=t.parent.mtime=Date.now()},unlink(t,e){delete t.P[e],t.ctime=t.mtime=Date.now()},rmdir(t,e){var r,n=ke(t,e);for(r in n.P)throw new qe.L(55);delete t.P[e],t.ctime=t.mtime=Date.now()},readdir:t=>[".","..",...Object.keys(t.P)],symlink:(t,e,r)=>((t=we.createNode(t,e,41471,0)).link=r,t),readlink(t){if(40960!=(61440&t.mode))throw new qe.L(28);return t.link}},O:{read(t,e,r,n,i){var a=t.node.P;if(i>=t.node.V)return 0;if(8<(t=Math.min(t.node.V-i,n))&&a.subarray)e.set(a.subarray(i,i+t),r);else for(n=0;n<t;n++)e[r+n]=a[i+n];return t},write(t,e,r,n,i,a){if(e.buffer===y.buffer&&(a=!1),!n)return 0;if((t=t.node).mtime=t.ctime=Date.now(),e.subarray&&(!t.P||t.P.subarray)){if(a)return t.P=e.subarray(r,r+n),t.V=n;if(0===t.V&&0===i)return t.P=e.slice(r,r+n),t.V=n;if(i+n<=t.V)return t.P.set(e.subarray(r,r+n),i),n}var s=t.P?t.P.length:0;if(s>=(a=i+n)||(a=Math.max(a,s*(1048576>s?2:1.125)>>>0),0!=s&&(a=Math.max(a,256)),s=t.P,t.P=new Uint8Array(a),0<t.V&&t.P.set(s.subarray(0,t.V),0)),t.P.subarray&&e.subarray)t.P.set(e.subarray(r,r+n),i);else for(a=0;a<n;a++)t.P[i+a]=e[r+a];return t.V=Math.max(t.V,i+n),n},$(t,e,r){if(1===r?e+=t.position:2===r&&qe.isFile(t.node.mode)&&(e+=t.node.V),0>e)throw new qe.L(28);return e},ua(t,e,r,n,i){if(!qe.isFile(t.node.mode))throw new qe.L(43);if(t=t.node.P,2&i||!t||t.buffer!==y.buffer){if(n=!0,N(),!(i=void 0))throw new qe.L(48);t&&((0<r||r+e<t.length)&&(t=t.subarray?t.subarray(r,r+e):Array.prototype.slice.call(t,r,r+e)),y.set(t,i))}else n=!1,i=t.byteOffset;return{S:i,Gb:n}},za:(t,e,r,n)=>(we.O.write(t,e,0,n,r,!1),0)}},me=(t,e)=>{var r=0;return t&&(r|=365),e&&(r|=146),r},ve=0,ye=null,ge=()=>{if(ve--,n.monitorRunDependencies?.(ve),0==ve&&ye){var t=ye;ye=null,t()}},be=()=>{ve++,n.monitorRunDependencies?.(ve)},$e=[],_e=async(t,e,r,n,i,a,s,o)=>{var l=e?ae(ee(t+"/"+e)):t;be();try{var u=r;"string"==typeof r&&(u=await(async t=>(t=await h(t),new Uint8Array(t)))(r)),u=await(async(t,e)=>{for(var r of("undefined"!=typeof Browser&&Ae(),$e))if(r.canHandle(e))return r.handle(t,e);return t})(u,l),o?.(),a||Re(t,e,u,n,i,s)}finally{ge()}};function Ae(){var t,e,r;qe.Ka=!0,t??=n.stdin,e??=n.stdout,r??=n.stderr,t?qe.na("/dev","stdin",t):qe.symlink("/dev/tty","/dev/stdin"),e?qe.na("/dev","stdout",null,e):qe.symlink("/dev/tty","/dev/stdout"),r?qe.na("/dev","stderr",null,r):qe.symlink("/dev/tty1","/dev/stderr"),qe.open("/dev/stdin",0),qe.open("/dev/stdout",1),qe.open("/dev/stderr",1)}function Se(t,e){qe.Xa[t]={O:e}}function Ee(t){return 16384==(61440&t)}function ke(t,e){var r=Ee(t.mode)?(r=Ue(t,"x"))?r:t.N.lookup?0:2:54;if(r)throw new qe.L(r);for(r=qe.la[Oe(t.id,e)];r;r=r.sa)if(r.parent.id===t.id&&r.name===e)return r;return qe.lookup(t,e)}function Te(t){var e=Oe(t.parent.id,t.name);if(qe.la[e]===t)qe.la[e]=t.sa;else for(e=qe.la[e];e;){if(e.sa===t){e.sa=t.sa;break}e=e.sa}}function Re(t,e,r,n,i,a){var s=e;if(t&&(t="string"==typeof t?t:Pe(t),s=e?ee(t+"/"+e):t),t=me(n,i),s=qe.create(s,t),r){if("string"==typeof r){for(e=Array(r.length),n=0,i=r.length;n<i;++n)e[n]=r.charCodeAt(n);r=e}qe.chmod(s,146|t),e=qe.open(s,577),qe.write(e,r,0,r.length,0,a),qe.close(e),qe.chmod(s,t)}}function Le(t,e={}){if(!t)throw new qe.L(44);e.Ca??(e.Ca=!0),"/"===t.charAt(0)||(t=qe.cwd()+"/"+t);var r=0;t:for(;40>r;r++){t=t.split("/").filter(t=>!!t);for(var n=qe.root,i="/",a=0;a<t.length;a++){var s=a===t.length-1;if(s&&e.parent)break;if("."!==t[a])if(".."===t[a]){if(i=re(i),qe.Ma(n)){t=i+"/"+t.slice(a+1).join("/"),r--;continue t}n=n.parent}else{i=ee(i+"/"+t[a]);try{n=ke(n,t[a])}catch(t){if(44===t?.qa&&s&&e.yb)return{path:i};throw t}if(!n.ga||s&&!e.Ca||(n=n.ga.root),40960==(61440&n.mode)&&(!s||e.ea)){if(!n.N.readlink)throw new qe.L(52);"/"===(n=n.N.readlink(n)).charAt(0)||(n=re(i)+"/"+n),t=n+"/"+t.slice(a+1).join("/");continue t}}}return{path:i,node:n}}throw new qe.L(32)}function Pe(t){for(var e;;){if(qe.Ma(t))return t=t.T.cb,e?"/"!==t[t.length-1]?`${t}/${e}`:t+e:t;e=e?`${t.name}/${e}`:t.name,t=t.parent}}function Oe(t,e){for(var r=0,n=0;n<e.length;n++)r=(r<<5)-r+e.charCodeAt(n)|0;return(t+r>>>0)%qe.la.length}function Ce(t){var e=Oe(t.parent.id,t.name);t.sa=qe.la[e],qe.la[e]=t}function Me(t){var e=["r","w","rw"][3&t];return 512&t&&(e+="w"),e}function Ue(t,e){return qe.$a?0:!e.includes("r")||292&t.mode?e.includes("w")&&!(146&t.mode)||e.includes("x")&&!(73&t.mode)?2:0:2}function Ne(t,e){if(!Ee(t.mode))return 54;try{return ke(t,e),20}catch(t){}return Ue(t,"wx")}function xe(t,e,r){try{var n=ke(t,e)}catch(t){return t.qa}if(t=Ue(t,"wx"))return t;if(r){if(!Ee(n.mode))return 54;if(qe.Ma(n)||Pe(n)===qe.cwd())return 10}else if(Ee(n.mode))return 31;return 0}function je(t,e){if(!t)throw new qe.L(e);return t}function Fe(t){if(!(t=qe.ub(t)))throw new qe.L(8);return t}function Ve(t,e=-1){if(t=Object.assign(new qe.jb,t),-1==e)t:{for(e=0;e<=qe.kb;e++)if(!qe.streams[e])break t;throw new qe.L(33)}return t.fd=e,qe.streams[e]=t}function De(t,e,r){var n=t?.O.ha;t=n?t:e,n??=e.N.ha,je(n,63),n(t,r)}function ze(t){var e=[];for(t=[t];t.length;){var r=t.pop();e.push(r),t.push(...r.ya)}return e}function He(t){var e={Jb:4096,Vb:4096,blocks:1e6,Ib:5e5,Hb:5e5,files:qe.Oa,Tb:qe.Oa-1,Wb:42,flags:2,dc:255};return t.N.gb&&Object.assign(e,t.N.gb(t.T.zb.root)),e}function Ie(t,e,r){return void 0===r&&(r=e,e=438),qe.ka(t,8192|e,r)}function We(t,e,r,n){De(t,e,{mode:4095&r|-4096&e.mode,ctime:Date.now(),Ya:n})}function Be(t,e,r){if(Ee(e.mode))throw new qe.L(31);if(!qe.isFile(e.mode))throw new qe.L(28);var n=Ue(e,"w");if(n)throw new qe.L(n);De(t,e,{size:r,timestamp:Date.now()})}function Ge(t){if(!(t.wb||t.xb||t.link||t.P))if(globalThis.XMLHttpRequest)N("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");else try{t.P=l(t.url)}catch(t){throw new qe.L(29)}}var qe={root:null,ya:[],Xa:{},streams:[],Oa:1,la:null,Va:"/",Ka:!1,$a:!0,qb:null,Fa:0,fb:{},L:class{name="ErrnoError";constructor(t){this.qa=t}},jb:class{ja={};node=null;get object(){return this.node}set object(t){this.node=t}get flags(){return this.ja.flags}set flags(t){this.ja.flags=t}get position(){return this.ja.position}set position(t){this.ja.position=t}},ib:class{N={};O={};ga=null;constructor(t,e,r,n){t||=this,this.parent=t,this.T=t.T,this.id=qe.Oa++,this.name=e,this.mode=r,this.rdev=n,this.atime=this.mtime=this.ctime=Date.now()}get read(){return!(365&~this.mode)}set read(t){t?this.mode|=365:this.mode&=-366}get write(){return!(146&~this.mode)}set write(t){t?this.mode|=146:this.mode&=-147}get xb(){return Ee(this.mode)}get wb(){return 8192==(61440&this.mode)}},createNode:(t,e,r,n)=>(Ce(t=new qe.ib(t,e,r,n)),t),Ma:t=>t===t.parent,isFile:t=>32768==(61440&t),isFIFO:t=>4096==(61440&t),isSocket:t=>!(49152&~t),kb:4096,ub:t=>qe.streams[t],Sb:(t,e=-1)=>(t=Ve(t,e),t.O?.Rb?.(t),t),mb:{open(t){t.O=qe.sb(t.node.rdev).O,t.O.open?.(t)},$(){throw new qe.L(70)}},Na:t=>t>>8,bc:t=>255&t,ra:(t,e)=>t<<8|e,sb:t=>qe.Xa[t],hb(t,e){function r(t){return qe.Fa--,e(t)}function n(t){if(t){if(!n.pb)return n.pb=!0,r(t)}else++s>=a.length&&r(null)}"function"==typeof t&&(e=t,t=!1),qe.Fa++,1<qe.Fa&&P(`warning: ${qe.Fa} FS.syncfs operations in flight at once, probably just doing extra work`);var i,a=ze(qe.root.T),s=0;for(i of a)i.type.hb?i.type.hb(i,t,n):n(null)},T(t,e,r){var n="/"===r;if(n&&qe.root)throw new qe.L(10);if(!n&&r){var i=Le(r,{Ca:!1});if(r=i.path,(i=i.node).ga)throw new qe.L(10);if(!Ee(i.mode))throw new qe.L(54)}return(t=t.T(e={type:t,zb:e,cb:r,ya:[]})).T=e,e.root=t,n?qe.root=t:i&&(i.ga=e,i.T&&i.T.ya.push(e)),t},jc(t){if(!(t=Le(t,{Ca:!1})).node.ga)throw new qe.L(28);var e=(t=t.node).ga,r=ze(e);for([,i]of Object.entries(qe.la))for(;i;){var n=i.sa;r.includes(i.T)&&Te(i);var i=n}t.ga=null,t.T.ya.splice(t.T.ya.indexOf(e),1)},lookup:(t,e)=>t.N.lookup(t,e),ka(t,e,r){var n=Le(t,{parent:!0}).node;if(!(t=ne(t)))throw new qe.L(28);if("."===t||".."===t)throw new qe.L(20);var i=Ne(n,t);if(i)throw new qe.L(i);if(!n.N.ka)throw new qe.L(63);return n.N.ka(n,t,e,r)},gb:t=>He(Le(t,{ea:!0}).node),hc:t=>He(t.node),create:(t,e=438)=>qe.ka(t,4095&e|32768,0),mkdir:(t,e=511)=>qe.ka(t,1023&e|16384,0),cc(t,e){var r,n=t.split("/"),i="";for(r of n)if(r){(i||"/"===t.charAt(0))&&(i+="/"),i+=r;try{qe.mkdir(i,e)}catch(t){if(20!=t.qa)throw t}}},symlink(t,e){if(!ae(t))throw new qe.L(44);var r=Le(e,{parent:!0}).node;if(!r)throw new qe.L(44);var n=Ne(r,e=ne(e));if(n)throw new qe.L(n);if(!r.N.symlink)throw new qe.L(63);return r.N.symlink(r,e,t)},rename(t,e){var r=re(t),n=re(e),i=ne(t),a=ne(e),s=Le(t,{parent:!0}),o=s.node;if(s=(s=Le(e,{parent:!0})).node,!o||!s)throw new qe.L(44);if(o.T!==s.T)throw new qe.L(75);var h=ke(o,i);if("."!==(t=se(t,n)).charAt(0))throw new qe.L(28);if("."!==(t=se(e,r)).charAt(0))throw new qe.L(55);try{var l=ke(s,a)}catch(t){}if(h!==l){if(i=xe(o,i,e=Ee(h.mode)))throw new qe.L(i);if(i=l?xe(s,a,e):Ne(s,a))throw new qe.L(i);if(!o.N.rename)throw new qe.L(63);if(h.ga||l&&l.ga)throw new qe.L(10);if(s!==o&&(i=Ue(o,"w")))throw new qe.L(i);Te(h);try{o.N.rename(h,s,a),h.parent=s}catch(t){throw t}finally{Ce(h)}}},rmdir(t){var e=Le(t,{parent:!0}).node,r=ke(e,t=ne(t)),n=xe(e,t,!0);if(n)throw new qe.L(n);if(!e.N.rmdir)throw new qe.L(63);if(r.ga)throw new qe.L(10);e.N.rmdir(e,t),Te(r)},readdir:t=>je((t=Le(t,{ea:!0}).node).N.readdir,54)(t),unlink(t){var e=Le(t,{parent:!0}).node;if(!e)throw new qe.L(44);var r=ke(e,t=ne(t)),n=xe(e,t,!1);if(n)throw new qe.L(n);if(!e.N.unlink)throw new qe.L(63);if(r.ga)throw new qe.L(10);e.N.unlink(e,t),Te(r)},readlink(t){if(!(t=Le(t).node))throw new qe.L(44);if(!t.N.readlink)throw new qe.L(28);return t.N.readlink(t)},stat:(t,e)=>je((t=Le(t,{ea:!e}).node).N.fa,63)(t),fstat(t){var e=Fe(t);t=e.node;var r=e.O.fa;return e=r?e:t,r??=t.N.fa,je(r,63),r(e)},lstat:t=>qe.stat(t,!0),chmod(t,e,r){We(null,t="string"==typeof t?Le(t,{ea:!r}).node:t,e,r)},lchmod(t,e){qe.chmod(t,e,!0)},fchmod(t,e){We(t=Fe(t),t.node,e,!1)},chown(t,e,r,n){De(null,t="string"==typeof t?Le(t,{ea:!n}).node:t,{timestamp:Date.now(),Ya:n})},lchown(t,e,r){qe.chown(t,e,r,!0)},fchown(t){De(t=Fe(t),t.node,{timestamp:Date.now(),Ya:!1})},truncate(t,e){if(0>e)throw new qe.L(28);Be(null,t="string"==typeof t?Le(t,{ea:!0}).node:t,e)},Xb(t,e){if(t=Fe(t),0>e||!(2097155&t.flags))throw new qe.L(28);Be(t,t.node,e)},kc(t,e,r){je((t=Le(t,{ea:!0}).node).N.ha,63)(t,{atime:e,mtime:r})},open(t,e,r=438){if(""===t)throw new qe.L(44);if("string"==typeof e){var i={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[e];if(void 0===i)throw Error(`Unknown file open mode: ${e}`);e=i}if(r=64&e?4095&r|32768:0,"object"==typeof t)i=t;else{var a=t.endsWith("/");i=(t=Le(t,{ea:!(131072&e),yb:!0})).node,t=t.path}var s=!1;if(64&e)if(i){if(128&e)throw new qe.L(20)}else{if(a)throw new qe.L(31);i=qe.ka(t,511|r,0),s=!0}if(!i)throw new qe.L(44);if(8192==(61440&i.mode)&&(e&=-513),65536&e&&!Ee(i.mode))throw new qe.L(54);if(!s&&(a=i?40960==(61440&i.mode)?32:Ee(i.mode)&&("r"!==Me(e)||576&e)?31:Ue(i,Me(e)):44))throw new qe.L(a);return 512&e&&!s&&qe.truncate(i,0),e&=-131713,(a=Ve({node:i,path:Pe(i),flags:e,seekable:!0,position:0,O:i.O,Fb:[],error:!1})).O.open&&a.O.open(a),s&&qe.chmod(i,511&r),!n.logReadFiles||1&e||t in qe.fb||(qe.fb[t]=1),a},close(t){if(null===t.fd)throw new qe.L(8);t.Ja&&(t.Ja=null);try{t.O.close&&t.O.close(t)}catch(t){throw t}finally{qe.streams[t.fd]=null}t.fd=null},$(t,e,r){if(null===t.fd)throw new qe.L(8);if(!t.seekable||!t.O.$)throw new qe.L(70);if(0!=r&&1!=r&&2!=r)throw new qe.L(28);return t.position=t.O.$(t,e,r),t.Fb=[],t.position},read(t,e,r,n,i){if(0>n||0>i)throw new qe.L(28);if(null===t.fd)throw new qe.L(8);if(1==(2097155&t.flags))throw new qe.L(8);if(Ee(t.node.mode))throw new qe.L(31);if(!t.O.read)throw new qe.L(28);var a=void 0!==i;if(a){if(!t.seekable)throw new qe.L(70)}else i=t.position;return e=t.O.read(t,e,r,n,i),a||(t.position+=e),e},write(t,e,r,n,i,a){if(0>n||0>i)throw new qe.L(28);if(null===t.fd)throw new qe.L(8);if(!(2097155&t.flags))throw new qe.L(8);if(Ee(t.node.mode))throw new qe.L(31);if(!t.O.write)throw new qe.L(28);t.seekable&&1024&t.flags&&qe.$(t,0,2);var s=void 0!==i;if(s){if(!t.seekable)throw new qe.L(70)}else i=t.position;return e=t.O.write(t,e,r,n,i,a),s||(t.position+=e),e},ua(t,e,r,n,i){if(2&n&&!(2&i)&&2!=(2097155&t.flags))throw new qe.L(2);if(1==(2097155&t.flags))throw new qe.L(2);if(!t.O.ua)throw new qe.L(43);if(!e)throw new qe.L(28);return t.O.ua(t,e,r,n,i)},za:(t,e,r,n,i)=>t.O.za?t.O.za(t,e,r,n,i):0,ab(t,e,r){if(!t.O.ab)throw new qe.L(59);return t.O.ab(t,e,r)},readFile(t,e={}){e.flags=e.flags||0,e.encoding=e.encoding||"binary","utf8"!==e.encoding&&"binary"!==e.encoding&&N(`Invalid encoding type "${e.encoding}"`);var r=qe.open(t,e.flags);t=qe.stat(t).size;var n=new Uint8Array(t);return qe.read(r,n,0,t,0),"utf8"===e.encoding&&(n=oe(n)),qe.close(r),n},writeFile(t,e,r={}){r.flags=r.flags||577,t=qe.open(t,r.flags,r.mode),"string"==typeof e&&(e=new Uint8Array(le(e))),ArrayBuffer.isView(e)?qe.write(t,e,0,e.byteLength,void 0,r.Pb):N("Unsupported data type"),qe.close(t)},cwd:()=>qe.Va,chdir(t){if(null===(t=Le(t,{ea:!0})).node)throw new qe.L(44);if(!Ee(t.node.mode))throw new qe.L(54);var e=Ue(t.node,"x");if(e)throw new qe.L(e);qe.Va=t.path},fc(){for(var t of(qe.Ka=!1,qe.streams))t&&qe.close(t)},Ub(t,e){try{var r=Le(t,{ea:!e});t=r.path}catch(t){}var n=!1,i=null;try{r=Le(t,{parent:!0}),ne(t),r=Le(t,{ea:!e}),n=!0,i=r.node}catch(t){}return n?i:null},na(t,e,r,n){var i;return t=((t,e)=>ee(t+"/"+e))("string"==typeof t?t:Pe(t),e),e=me(!!r,!!n),(i=qe.na).Na??(i.Na=64),Se(i=qe.ra(qe.na.Na++,0),{open(t){t.seekable=!1},close(){n?.buffer?.length&&n(10)},read(t,e,n,i){for(var a=0,s=0;s<i;s++){try{var o=r()}catch(t){throw new qe.L(29)}if(void 0===o&&0===a)throw new qe.L(6);if(null==o)break;a++,e[n+s]=o}return a&&(t.node.atime=Date.now()),a},write(t,e,r,i){for(var a=0;a<i;a++)try{n(e[r+a])}catch(t){throw new qe.L(29)}return i&&(t.node.mtime=t.node.ctime=Date.now()),a}}),Ie(t,e,i)}};if((()=>{let t=tt.prototype;Object.assign(t,{isAliasOf:function(t){if(!(this instanceof tt&&t instanceof tt))return!1;var e=this.M.U.R,r=this.M.S;t.M=t.M;var n=t.M.U.R;for(t=t.M.S;e.Z;)r=e.Ba(r),e=e.Z;for(;n.Z;)t=n.Ba(t),n=n.Z;return e===n&&r===t},clone:function(){if(this.M.S||Y(this),this.M.Aa)return this.M.count.value+=1,this;var t=Q,e=Object,r=e.create,n=Object.getPrototypeOf(this),i=this.M;return(t=t(r.call(e,n,{M:{value:{count:i.count,xa:i.xa,Aa:i.Aa,S:i.S,U:i.U,X:i.X,aa:i.aa}}}))).M.count.value+=1,t.M.xa=!1,t},delete(){if(this.M.S||Y(this),this.M.xa&&!this.M.Aa)throw new G("Object already scheduled for deletion");K(this);var t=this.M;--t.count.value,0===t.count.value&&(t.X?t.aa.oa(t.X):t.U.R.oa(t.S)),this.M.Aa||(this.M.X=void 0,this.M.S=void 0)},isDeleted:function(){return!this.M.S},deleteLater:function(){if(this.M.S||Y(this),this.M.xa&&!this.M.Aa)throw new G("Object already scheduled for deletion");return this.M.xa=!0,this}});const e=Symbol.dispose;e&&(t[e]=t.delete)})(),Object.assign(mt.prototype,{tb(t){return this.eb&&(t=this.eb(t)),t},Wa(t){this.oa?.(t)},ma:ct,Y:function(t){function e(){return wt(this.R.ta,this.Ea?{U:this.Ab,S:r,aa:this,X:t}:{U:this,S:t})}var r=this.tb(t);if(!r)return this.Wa(t),null;var n=((t,e)=>{if(void 0===e)throw new G("ptr should not be undefined");for(;t.Z;)e=t.Ba(e),t=t.Z;return ft[e]})(this.R,r);if(void 0!==n)return 0===n.M.count.value?(n.M.S=r,n.M.X=t,n.clone()):(n=n.clone(),this.Wa(t),n);if(n=this.R.rb(r),!(n=rt[n]))return e.call(this);var i=dt(r,this.R,(n=this.Da?n.nb:n.pointerType).R);return null===i?e.call(this):wt(n.R.ta,this.Ea?{U:n,S:i,aa:this,X:t}:{U:n,S:i})}}),qe.Qb=(t,e,r,n,i,a,s,o,h,l)=>{_e(t,e,r,n,i,o,h,l).then(a).catch(s)},qe.ec=_e,qe.la=Array(4096),qe.T(we,{},"/"),qe.mkdir("/tmp"),qe.mkdir("/home"),qe.mkdir("/home/web_user"),function(){qe.mkdir("/dev"),Se(qe.ra(1,3),{read:()=>0,write:(t,e,r,n)=>n,$:()=>0}),Ie("/dev/null",qe.ra(1,3)),ce(qe.ra(5,0),fe),ce(qe.ra(6,0),pe),Ie("/dev/tty",qe.ra(5,0)),Ie("/dev/tty1",qe.ra(6,0));var t=new Uint8Array(1024),e=0,r=()=>(0===e&&(ie(t),e=t.byteLength),t[--e]);qe.na("/dev","random",r),qe.na("/dev","urandom",r),qe.mkdir("/dev/shm"),qe.mkdir("/dev/shm/tmp")}(),function(){qe.mkdir("/proc");var t=qe.mkdir("/proc/self");qe.mkdir("/proc/self/fd"),qe.T({T(){var e=qe.createNode(t,"fd",16895,73);return e.O={$:we.O.$},e.N={lookup(t,e){var r=Fe(t=+e);return(t={parent:null,T:{cb:"fake"},N:{readlink:()=>r.path},id:t+1}).parent=t},readdir:()=>Array.from(qe.streams.entries()).filter(([,t])=>t).map(([t])=>t.toString())},e}},{},"/proc/self/fd")}(),qe.qb={MEMFS:we},n.noExitRuntime&&(z=n.noExitRuntime),n.preloadPlugins&&($e=n.preloadPlugins),n.print&&(L=n.print),n.printErr&&(P=n.printErr),n.wasmBinary&&(p=n.wasmBinary),n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);0<n.preInit.length;)n.preInit.shift()();n.addRunDependency=be,n.removeRunDependency=ge,n.FS_preloadFile=_e,n.FS_unlink=(...t)=>qe.unlink(...t),n.FS_createPath=(...t)=>function(t,e){for(t="string"==typeof t?t:Pe(t),e=e.split("/").reverse();e.length;){var r=e.pop();if(r){var n=ee(t+"/"+r);try{qe.mkdir(n)}catch(t){if(20!=t.qa)throw t}t=n}}return n}(...t),n.FS_createDevice=(...t)=>qe.na(...t),n.FS=qe,n.FS_createDataFile=(...t)=>Re(...t),n.FS_createLazyFile=(...t)=>function(t,e,r,n,i){class s{Ha=!1;ja=[];Ga=void 0;Ra=0;Qa=0;get(t){if(!(t>this.length-1||0>t)){var e=t%this.chunkSize;return this.Ga(t/this.chunkSize|0)[e]}}lb(t){this.Ga=t}Sa(){var t=new XMLHttpRequest;t.open("HEAD",r,!1),t.send(null),200<=t.status&&300>t.status||304===t.status||N("Couldn't load "+r+". Status: "+t.status);var e,n=Number(t.getResponseHeader("Content-length")),i=(e=t.getResponseHeader("Accept-Ranges"))&&"bytes"===e;t=(e=t.getResponseHeader("Content-Encoding"))&&"gzip"===e;var a=1048576;i||(a=n);var s=this;s.lb(t=>{var e=t*a,i=(t+1)*a-1;if(i=Math.min(i,n-1),void 0===s.ja[t]){var o=s.ja;e>i&&N("invalid range ("+e+", "+i+") or no bytes requested!"),i>n-1&&N("only "+n+" bytes available! programmer error!");var h=new XMLHttpRequest;h.open("GET",r,!1),n!==a&&h.setRequestHeader("Range","bytes="+e+"-"+i),h.responseType="arraybuffer",h.overrideMimeType&&h.overrideMimeType("text/plain; charset=x-user-defined"),h.send(null),200<=h.status&&300>h.status||304===h.status||N("Couldn't load "+r+". Status: "+h.status),e=void 0!==h.response?new Uint8Array(h.response||[]):le(h.responseText||""),o[t]=e}return void 0===s.ja[t]&&N("doXHR failed!"),s.ja[t]}),!t&&n||(a=n=1,a=n=this.Ga(0).length,L("LazyFiles on gzip forces download of the whole file when length is accessed")),this.Ra=n,this.Qa=a,this.Ha=!0}get length(){return this.Ha||this.Sa(),this.Ra}get chunkSize(){return this.Ha||this.Sa(),this.Qa}}if(globalThis.XMLHttpRequest){a||N("Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc");var o=new s,h=void 0}else h=r,o=void 0;var l=function(t,e,r,n){return t="string"==typeof t?t:Pe(t),e=ee(t+"/"+e),qe.create(e,me(r,n))}(t,e,n,i);o?l.P=o:h&&(l.P=null,l.url=h),Object.defineProperties(l,{V:{get:function(){return this.P.length}}}),t={};for(const[e,r]of Object.entries(l.O))t[e]=(...t)=>(Ge(l),r(...t));return t.read=(t,e,r,n,i)=>{if(Ge(l),i>=(t=t.node.P).length)e=0;else{if(n=Math.min(t.length-i,n),t.slice)for(var a=0;a<n;a++)e[r+a]=t[i+a];else for(a=0;a<n;a++)e[r+a]=t.get(i+a);e=n}return e},t.ua=()=>{throw Ge(l),N(),new qe.L(48)},l.O=t,l}(...t);var Xe,Ze,Ye,Je,Ke,Qe,tr,er={v:()=>N(""),k:(t,e,r,n,i)=>{e=H(e);let a=t=>t;if(n=0n===n){const t=8*r;a=e=>BigInt.asUintN(t,e),i=a(i)}X(t,{name:e,Y:a,ba:(t,e)=>("number"==typeof e&&(e=BigInt(e)),e),ma:Z(e,r,!n),da:null})},A:(t,e,r,n)=>{X(t,{name:e=H(e),Y:function(t){return!!t},ba:function(t,e){return e?r:n},ma:function(t){return this.Y(g[t])},da:null})},x:(t,e,r,n,i,a,s,o,h,l,u,c,d)=>{u=H(u),a=yt(i,a),o&&=yt(s,o),l&&=yt(h,l),d=yt(c,d);var f=(t=>{var e=(t=t.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=e&&57>=e?`_${t}`:t})(u);it(f,function(){_t(`Cannot construct ${u} due to unbound types`,[n])}),At([t,e,r],n?[n]:[],e=>{if(e=e[0],n)var r=e.R,i=r.ta;else i=tt.prototype;e=et(u,function(...t){if(Object.getPrototypeOf(this)!==s)throw new G(`Use 'new' to construct ${u}`);if(void 0===c.pa)throw new G(`${u} has no accessible constructor`);var e=c.pa[t.length];if(void 0===e)throw new G(`Tried to invoke ctor of ${u} with invalid number of parameters (${t.length}) - expected (${Object.keys(c.pa).toString()}) parameters instead!`);return e.apply(this,t)});var s=Object.create(i,{constructor:{value:e}});e.prototype=s;var h,c=new at(u,e,s,d,r,a,o,l);return c.Z&&((h=c.Z).Ta??(h.Ta=[]),c.Z.Ta.push(c)),r=new mt(u,c,!0,!1,!1),h=new mt(u+"*",c,!1,!1,!1),i=new mt(u+" const*",c,!1,!0,!1),rt[t]={pointerType:h,nb:i},vt(f,e),[r,h,i]})},n:(t,e,r,n,i,a)=>{var s=St(e,r);i=yt(n,i),At([],[t],t=>{var r=`constructor ${(t=t[0]).name}`;if(void 0===t.R.pa&&(t.R.pa=[]),void 0!==t.R.pa[e-1])throw new G(`Cannot register multiple constructors with identical number of parameters (${e-1}) for class '${t.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return t.R.pa[e-1]=()=>{_t(`Cannot construct ${t.name} due to unbound types`,s)},At([],s,n=>(n.splice(1,0,null),t.R.pa[e-1]=Tt(r,n,null,i,a),[])),[]})},b:(t,e,r,n,i,a,s,o,h)=>{var l=St(r,n);e=H(e),e=Rt(e),a=yt(i,a),At([],[t],t=>{function n(){_t(`Cannot call ${i} due to unbound types`,l)}var i=`${(t=t[0]).name}.${e}`;e.startsWith("@@")&&(e=Symbol[e.substring(2)]),o&&t.R.Bb.push(e);var u=t.R.ta,c=u[e];return void 0===c||void 0===c.W&&c.className!==t.name&&c.wa===r-2?(n.wa=r-2,n.className=t.name,u[e]=n):(nt(u,e,i),u[e].W[r-2]=n),At([],l,n=>(n=Tt(i,n,t,a,s,h),void 0===u[e].W?(n.wa=r-2,u[e]=n):u[e].W[r-2]=n,[])),[]})},y:t=>X(t,Ut),j:(t,e,r)=>{X(t,{name:e=H(e),Y:t=>t,ba:(t,e)=>e,ma:Nt(e,r),da:null})},l:(t,e,r,n,i,a,s)=>{var o=St(e,r);t=H(t),t=Rt(t),i=yt(n,i),it(t,function(){_t(`Cannot call ${t} due to unbound types`,o)},e-1),At([],o,r=>(r=[r[0],null].concat(r.slice(1)),vt(t,Tt(t,r,null,i,a,s),e-1),[]))},c:(t,e,r,n,i)=>{e=H(e);let a=t=>t;if(0===n){var s=32-8*r;a=t=>t<<s>>>s,i=a(i)}X(t,{name:e,Y:a,ba:(t,e)=>e,ma:Z(e,r,0!==n),da:null})},a:(t,e,r)=>{function n(t){return new i(y.buffer,A[t+4>>2],A[t>>2])}var i=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][e];X(t,{name:r=H(r),Y:n,ma:n},{vb:!0})},z:(t,e)=>{X(t,{name:e=H(e),Y(t){var e=(e=t+4)?Ft.decode(g.subarray(e,Vt(g,e,A[t>>2],!0))):"";return Xe(t),e},ba(t,e){e instanceof ArrayBuffer&&(e=new Uint8Array(e));var r="string"==typeof e;if(!(r||ArrayBuffer.isView(e)&&1==e.BYTES_PER_ELEMENT))throw new G("Cannot pass non-string to std::string");var n=r?jt(e):e.length,i=Ze(4+n+1),a=i+4;return A[i>>2]=n,r?xt(e,g,a,n+1):g.set(e,a),null!==t&&t.push(Xe,i),i},ma:ct,da(t){Xe(t)}})},g:(t,e,r)=>{if(r=H(r),2===e)var n=zt,i=Ht,a=It;else n=Wt,i=Bt,a=Gt;X(t,{name:r,Y:t=>{var r=n(t+4,A[t>>2]*e,!0);return Xe(t),r},ba:(t,n)=>{if("string"!=typeof n)throw new G(`Cannot pass non-string to C++ string type ${r}`);var s=a(n),o=Ze(4+s+e);return A[o>>2]=s/e,i(n,o+4,s+e),null!==t&&t.push(Xe,o),o},ma:ct,da(t){Xe(t)}})},h:t=>{X(t,Ut)},B:(t,e)=>{X(t,{bb:!0,name:e=H(e),Y:()=>{},ba:()=>{}})},q:()=>{z=!1,qt=0},e:(t,e,r)=>{var[n,...i]=((t,e)=>{for(var r=Array(t),n=0;n<t;++n){var i=n,a=A[e+4*n>>2],s=W[a];if(void 0===s)throw t=`parameter ${n} has unknown type ${$t(a)}`,new G(t);r[i]=s}return r})(t,e);e=n.ba.bind(n);var a=i.map(t=>t.ma.bind(t));t--;var s={toValue:Ct};switch(t=a.map((t,e)=>{var r=`argFromPtr${e}`;return s[r]=t,`${r}(args${e?"+"+8*e:""})`}),r){case 0:var o="toValue(handle)";break;case 2:o="new (toValue(handle))";break;case 3:o="";break;case 1:s.getStringOrSymbol=Jt,o="toValue(handle)[getStringOrSymbol(methodName)]"}return o+=`(${t})`,n.bb||(s.toReturnWire=e,s.emval_returnValue=Zt,o=`return emval_returnValue(toReturnWire, destructorsRef, ${o})`),o=`return function (handle, methodName, destructorsRef, args) {\n ${o}\n }`,r=new Function(Object.keys(s),o)(...Object.values(s)),o=`methodCaller<(${i.map(t=>t.name)}) => ${n.name}>`,(t=>{var e=Xt.length;return Xt.push(t),e})(et(o,r))},o:Ot,C:t=>t?(t=Jt(t),Mt(globalThis[t])):Mt(globalThis),f:(t,e)=>(t=Ct(t),e=Ct(e),Mt(t[e])),i:t=>{9<t&&(Pt[t+1]+=1)},d:(t,e,r,n,i)=>Xt[t](e,r,n,i),D:t=>Mt(Jt(t)),m:t=>{var e=Ct(t);Et(e),Ot(t)},r:(t,e)=>{if(Kt[t]&&(clearTimeout(Kt[t].id),delete Kt[t]),!e)return 0;var r=setTimeout(()=>{delete Kt[t],(t=>{if(!O)try{if(t(),!(z||0<qt))try{w=t=w,Qt(t)}catch(t){t instanceof x||"unwind"==t||u(1,t)}}catch(t){t instanceof x||"unwind"==t||u(1,t)}})(()=>Je(t,performance.now()))},e);return Kt[t]={id:r,ic:e},0},w:t=>{var e=g.length;if(2147483648<(t>>>=0))return!1;for(var r=1;4>=r;r*=2){var n=e*(1+.2/r);n=Math.min(n,t+100663296);t:{n=(Math.min(2147483648,65536*Math.ceil(Math.max(t,n)/65536))-Ke.buffer.byteLength+65535)/65536|0;try{Ke.grow(n),U();var i=1;break t}catch(t){}i=void 0}if(i)return!0}return!1},u:function(t){try{var e=Fe(t);return qe.close(e),0}catch(t){if(void 0===qe||"ErrnoError"!==t.name)throw t;return t.qa}},s:function(t,e,r,n){e=-9007199254740992>e||9007199254740992<e?NaN:Number(e);try{if(isNaN(e))return 61;var i=Fe(t);return qe.$(i,e,r),k[n>>3]=BigInt(i.position),i.Ja&&0===e&&0===r&&(i.Ja=null),0}catch(t){if(void 0===qe||"ErrnoError"!==t.name)throw t;return t.qa}},t:function(t,e,r,n){try{t:{var i=Fe(t);t=e;for(var a,s=e=0;s<r;s++){var o=A[t>>2],h=A[t+4>>2];t+=8;var l=qe.write(i,y,o,h,a);if(0>l){var u=-1;break t}if(e+=l,l<h)break;void 0!==a&&(a+=l)}u=e}return A[n>>2]=u,0}catch(t){if(void 0===qe||"ErrnoError"!==t.name)throw t;return t.qa}},p:Qt};return tr=await async function(){function t(t){return t=tr=t.exports,Xe=t.G,Ze=t.H,Ye=t.I,Je=t.J,Ke=t.E,Qe=t.K,U(),tr}var r={a:er};return n.instantiateWasm?new Promise(e=>{n.instantiateWasm(r,(r,n)=>{e(t(r))})}):(R??=n.locateFile?n.locateFile?n.locateFile("thorvg.wasm",d):d+"thorvg.wasm":new URL("thorvg.wasm","undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:e&&"SCRIPT"===e.tagName.toUpperCase()&&e.src||new URL("lottie-player.js",document.baseURI).href).href,t((await async function(t){var e=R;if(!p&&!C(e)&&!s)try{var r=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(r,t)}catch(t){P(`wasm streaming compile failed: ${t}`),P("falling back to ArrayBuffer instantiation")}return async function(t,e){try{var r=await async function(t){if(!p)try{var e=await h(t);return new Uint8Array(e)}catch{}if(t==R&&p)t=new Uint8Array(p);else{if(!l)throw"both async and sync fetching of the wasm failed";t=l(t)}return t}(t);return await WebAssembly.instantiate(r,e)}catch(t){P(`failed to asynchronously prepare wasm: ${t}`),N(t)}}(e,t)}(r)).instance))}(),function t(){function e(){if(n.calledRun=!0,!O){if(M=!0,n.noFSInit||qe.Ka||Ae(),tr.F(),qe.$a=!1,m?.(n),n.onRuntimeInitialized?.(),n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;){var t=n.postRun.shift();F.push(t)}j(F)}}if(0<ve)ye=t;else{if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)D();j(V),0<ve?ye=t:n.setStatus?(n.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>n.setStatus(""),1),e()},1)):e()}}(),r=M?n:new Promise((t,e)=>{m=t,v=e}),r}({locateFile:(t,e)=>t.endsWith(".wasm")?this.wasmUrl||"https://unpkg.com/@thorvg/lottie-player@latest/dist/thorvg.wasm":e+t})),!this._timer)return;clearInterval(this._timer),this._timer=void 0;const t=this.config?.renderer||"sw";if(await(async t=>{if("wg"===t){for(;"requested"===mt;)await wt(100);if("initialized"!==mt&&(mt="requested",dt))for(;;)switch(dt.init()){case 0:return void(mt="initialized");case 1:return void(mt="failed");case 2:await wt(100)}}})(t),"failed"===mt)return this.currentState="error",void this.dispatchEvent(new CustomEvent("error"));this.TVG=new dt.TvgLottieAnimation(t,`#${this.canvas.id}`),this.src&&this.load(this.src,this.fileType)}_viewport(){const{left:t,right:e,top:r,bottom:n}=this.getBoundingClientRect(),i=window.innerWidth,a=window.innerHeight;let s=0,o=0,h=this.canvas.width,l=this.canvas.height;t<0&&(s=Math.abs(t),h-=s),r<0&&(o=Math.abs(r),l-=o),e>i&&(h-=e-i),n>a&&(l-=n-a),this.TVG.viewport(s,o,h,l)}_observerCallback(t){const e=t[0],r=e.target;r._observable=e.isIntersecting,e.isIntersecting?"frozen"===r.currentState&&r.play():"playing"===r.currentState&&(r.freeze(),r.dispatchEvent(new CustomEvent("freeze")))}firstUpdated(t){this.canvas=this.querySelector(".thorvg"),this.canvas.id=`thorvg-${Date.now().toString(36)+Math.random().toString(36).substring(2)}`,this.canvas.width=this.canvas.offsetWidth,this.canvas.height=this.canvas.offsetHeight,this._observer=new IntersectionObserver(this._observerCallback),this._observer.observe(this),this.TVG?this.src&&this.load(this.src,this.fileType):this._timer=setInterval(this._init.bind(this),100)}createRenderRoot(){return this.style.display="block",this}async _animLoop(){this.TVG&&await this._update()&&(this._render(),window.requestAnimationFrame(this._animLoop.bind(this)))}_loadBytes(t){if(!this.TVG)throw new Error("TVG is not initialized");if(this._assetResolverCallback&&this.TVG.setAssetResolver(this._assetResolverCallback,this._assetResolverData),!this.TVG.load(t,this.fileType,this.canvas.width,this.canvas.height))throw new Error(`Unable to load an image. Error: ${this.TVG.error()}`);this._render(),this.dispatchEvent(new CustomEvent("load")),this.autoPlay&&this.play()}_flush(){this.canvas.getContext("2d").putImageData(this._imageData,0,0)}_render(){if(!this.TVG)return;if(!1!==this.config?.enableDevicePixelRatio){const t=1+.75*(window.devicePixelRatio-1),{width:e,height:r}=this.canvas.getBoundingClientRect();this.canvas.width=e*t,this.canvas.height=r*t}if(this.TVG.resize(this.canvas.width,this.canvas.height),this._viewport(),!this.TVG.update())return;if("wg"===this.config?.renderer||"gl"===this.config?.renderer)return void this.TVG.render();const t=this.TVG.render(),e=new Uint8ClampedArray(t,0,t.byteLength);e.length<1||(this._imageData=new ImageData(e,this.canvas.width,this.canvas.height),this._flush())}async _update(){if(!this.TVG)return!1;if("playing"!==this.currentState)return!1;const t=this.TVG.duration(),e=Date.now()/1e3;if(this.currentFrame=(e-this._beginTime)/t*this.totalFrame*this.speed,-1===this.direction&&(this.currentFrame=this.totalFrame-this.currentFrame),1===this.direction&&this.currentFrame>=this.totalFrame||-1===this.direction&&this.currentFrame<=0){const t=this.count?"bounce"===this.mode?2*this.count:this.count:0;if(this.loop||t&&this._counter<t)return"bounce"===this.mode&&(this.direction=1===this.direction?-1:1,this.currentFrame=1===this.direction?0:this.totalFrame),this.count&&(this._counter+=1),await wt(this.intermission),this.play(),!0;this.dispatchEvent(new CustomEvent("complete")),this.currentState="stopped"}return this.dispatchEvent(new CustomEvent("frame",{detail:{frame:this.currentFrame}})),this.TVG.frame(this.currentFrame)}_frame(t){this.TVG&&(this.pause(),this.currentFrame=t,this.TVG.frame(t))}async load(t,e="json"){try{await this._init();const r=await(async(t,e)=>{const r=new TextEncoder;let n=t;switch(typeof n){case"object":return n instanceof ArrayBuffer?new Uint8Array(n):(n=JSON.stringify(n),r.encode(n));case"string":if("json"===e||"lot"===e)return n=await(async t=>{try{t=JSON.parse(t)}catch(e){const r=await(async t=>{if("string"!=typeof t)throw new Error("The url value must be a string");try{const e=new URL(t),r=await fetch(e.toString());return await r.json()}catch(t){throw new Error("An error occurred while trying to load the Lottie file from URL")}})(t);t=JSON.stringify(r)}return t})(n),r.encode(n);const t=await(async t=>(await fetch(t)).arrayBuffer())(n);return new Uint8Array(t);default:throw new Error("Invalid src type")}})(t,e);this.dispatchEvent(new CustomEvent("ready")),this.fileType=e,await this._loadBytes(r)}catch(t){this.currentState="error",this.dispatchEvent(new CustomEvent("error"))}}play(){if(this.TVG&&!("json"!==this.fileType&&"lot"!==this.fileType||(this.totalFrame=this.TVG.totalFrame(),this.totalFrame<1||(this._beginTime=Date.now()/1e3,"playing"===this.currentState))))return this._observable?(this.currentState="playing",void window.requestAnimationFrame(this._animLoop.bind(this))):void(this.currentState="frozen")}pause(){this.currentState="paused",this.dispatchEvent(new CustomEvent("pause"))}stop(){this.currentState="stopped",this.currentFrame=0,this._counter=1,this.seek(0),this.dispatchEvent(new CustomEvent("stop"))}freeze(){this.currentState="frozen",this.dispatchEvent(new CustomEvent("freeze"))}async seek(t){this._frame(t),await this._update(),this._render()}resize(t,e){this.canvas.width=t,this.canvas.height=e,"playing"!==this.currentState&&this._render()}destroy(){this.TVG&&(this.TVG.delete(),this.TVG=null,this.currentState="destroyed",this._observer&&(this._observer.disconnect(),this._observer=void 0),this.dispatchEvent(new CustomEvent("destroyed")),this.remove())}term(){dt&&(dt.term(),dt=null)}setLooping(t){this.TVG&&(this.loop=t)}setDirection(t){this.TVG&&(this.direction=t)}setSpeed(t){this.TVG&&(this.speed=t)}setBgColor(t){this.TVG&&(this.canvas.style.backgroundColor=t)}setQuality(t){this.TVG&&this.TVG.quality(t)&&"playing"!==this.currentState&&this._render()}setAssetResolver(t,e){this._assetResolverCallback=t,this._assetResolverData=e,this.TVG&&this.TVG.setAssetResolver(t,e)}getVersion(){return{THORVG_VERSION:"1.0.2"}}render(){return B`
|
|
2
2
|
<canvas class="thorvg" style="width: 100%; height: 100%;" />
|
|
3
|
-
`}}
|
|
3
|
+
`}}function yt(t,e,r,n){var i,a=arguments.length,s=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,n);else for(var o=t.length-1;o>=0;o--)(i=t[o])&&(s=(a<3?i(s):a>3?i(e,r,s):i(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s}ct([E({type:String})],vt.prototype,"src",void 0),ct([E({type:String})],vt.prototype,"wasmUrl",void 0),ct([E({type:pt})],vt.prototype,"fileType",void 0),ct([E({type:Number})],vt.prototype,"speed",void 0),ct([E({type:Boolean})],vt.prototype,"autoPlay",void 0),ct([E({type:Number})],vt.prototype,"count",void 0),ct([E({type:Boolean})],vt.prototype,"loop",void 0),ct([E({type:Number})],vt.prototype,"direction",void 0),ct([E()],vt.prototype,"mode",void 0),ct([E()],vt.prototype,"intermission",void 0),ct([E({type:Number})],vt.prototype,"totalFrame",void 0),ct([E({type:Number})],vt.prototype,"currentFrame",void 0),ct([E({type:Number})],vt.prototype,"currentState",void 0),ct([E({type:Float32Array})],vt.prototype,"size",null);class gt extends vt{set renderConfig(t){this.config={renderer:"sw",enableDevicePixelRatio:t.enableDevicePixelRatio}}get renderConfig(){return this.config||{}}}yt([E({type:Object})],gt.prototype,"renderConfig",null),gt=yt([(t=>(e,r)=>{void 0!==r?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)})("lottie-player")],gt);var bt=Object.freeze({__proto__:null});t.LottiePresetPlayer=gt});
|
|
4
4
|
//# sourceMappingURL=lottie-player.js.map
|