@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.
Files changed (53) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +88 -13
  3. package/dist/gl/lottie-player.cjs.js +2 -2
  4. package/dist/gl/lottie-player.cjs.js.map +1 -1
  5. package/dist/gl/lottie-player.esm.js +2 -2
  6. package/dist/gl/lottie-player.esm.js.map +1 -1
  7. package/dist/gl/lottie-player.js +2 -2
  8. package/dist/gl/lottie-player.js.map +1 -1
  9. package/dist/gl/thorvg.wasm +0 -0
  10. package/dist/gl-lite/lottie-player.cjs.js +2 -2
  11. package/dist/gl-lite/lottie-player.cjs.js.map +1 -1
  12. package/dist/gl-lite/lottie-player.esm.js +2 -2
  13. package/dist/gl-lite/lottie-player.esm.js.map +1 -1
  14. package/dist/gl-lite/lottie-player.js +2 -2
  15. package/dist/gl-lite/lottie-player.js.map +1 -1
  16. package/dist/gl-lite/thorvg.wasm +0 -0
  17. package/dist/lottie-player.cjs.js +2 -2
  18. package/dist/lottie-player.cjs.js.map +1 -1
  19. package/dist/lottie-player.d.ts +41 -2
  20. package/dist/lottie-player.esm.js +2 -2
  21. package/dist/lottie-player.esm.js.map +1 -1
  22. package/dist/lottie-player.js +2 -2
  23. package/dist/lottie-player.js.map +1 -1
  24. package/dist/sw/lottie-player.cjs.js +2 -2
  25. package/dist/sw/lottie-player.cjs.js.map +1 -1
  26. package/dist/sw/lottie-player.esm.js +2 -2
  27. package/dist/sw/lottie-player.esm.js.map +1 -1
  28. package/dist/sw/lottie-player.js +2 -2
  29. package/dist/sw/lottie-player.js.map +1 -1
  30. package/dist/sw/thorvg.wasm +0 -0
  31. package/dist/sw-lite/lottie-player.cjs.js +2 -2
  32. package/dist/sw-lite/lottie-player.cjs.js.map +1 -1
  33. package/dist/sw-lite/lottie-player.esm.js +2 -2
  34. package/dist/sw-lite/lottie-player.esm.js.map +1 -1
  35. package/dist/sw-lite/lottie-player.js +2 -2
  36. package/dist/sw-lite/lottie-player.js.map +1 -1
  37. package/dist/sw-lite/thorvg.wasm +0 -0
  38. package/dist/thorvg.wasm +0 -0
  39. package/dist/wg/lottie-player.cjs.js +4 -0
  40. package/dist/wg/lottie-player.cjs.js.map +1 -0
  41. package/dist/wg/lottie-player.esm.js +4 -0
  42. package/dist/wg/lottie-player.esm.js.map +1 -0
  43. package/dist/wg/lottie-player.js +4 -0
  44. package/dist/wg/lottie-player.js.map +1 -0
  45. package/dist/wg/thorvg.wasm +0 -0
  46. package/dist/wg-lite/lottie-player.cjs.js +4 -0
  47. package/dist/wg-lite/lottie-player.cjs.js.map +1 -0
  48. package/dist/wg-lite/lottie-player.esm.js +4 -0
  49. package/dist/wg-lite/lottie-player.esm.js.map +1 -0
  50. package/dist/wg-lite/lottie-player.js +4 -0
  51. package/dist/wg-lite/lottie-player.js.map +1 -0
  52. package/dist/wg-lite/thorvg.wasm +0 -0
  53. package/package.json +36 -25
@@ -1 +1 @@
1
- {"version":3,"file":"lottie-player.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":"uTAKA,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,S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AEmR,WAAW1O,EAAE,IAAIsM,GAAG1M,EAAEuN,aAAajF,IAAK7K,GAAGA,OAAE,EAAOS,GAAG,CAAA,EAAG,CAAC,OAAOkC,EAAEyM,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;;y0DLA5wB7E,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.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","litElementVers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EAAG,CAAC,OAAOwB,EAAE8M,KAAK/O,GAAGiC,GCAtkN/B,CAAE0B,EAAEb,KAAKmG,WAAWnG,KAAK+P,cAAc,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;;y8DLAhxBpE,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
- const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;let i=class{constructor(t,e,n){if(this._$cssResult$=!0,n!==r)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const r=this.t;if(e&&void 0===t){const e=void 0!==r&&1===r.length;e&&(t=n.get(r)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&n.set(r,t))}return t}toString(){return this.cssText}};const a=(r,n)=>{if(e)r.adoptedStyleSheets=n.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of n){const n=document.createElement("style"),i=t.litNonce;void 0!==i&&n.setAttribute("nonce",i),n.textContent=e.cssText,r.appendChild(n)}},o=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new i("string"==typeof t?t:t+"",void 0,r))(e)})(t):t,{is:s,defineProperty:h,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getOwnPropertySymbols:u,getPrototypeOf:d}=Object,f=globalThis,p=f.trustedTypes,w=p?p.emptyScript:"",m=f.reactiveElementPolyfillSupport,v=(t,e)=>t,y={toAttribute(t,e){switch(e){case Boolean:t=t?w: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}},g=(t,e)=>!s(t,e),b={attribute:!0,type:String,converter:y,reflect:!1,hasChanged:g};Symbol.metadata??=Symbol("metadata"),f.litPropertyMetadata??=new WeakMap;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=b){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),n=this.getPropertyDescriptor(t,r,e);void 0!==n&&h(this.prototype,t,n)}}static getPropertyDescriptor(t,e,r){const{get:n,set:i}=l(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return n?.call(this)},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)??b}static _$Ei(){if(this.hasOwnProperty(v("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(v("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(v("properties"))){const t=this.properties,e=[...c(t),...u(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 a(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)}_$EC(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:y).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:y;this._$Em=n,this[n]=i.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??g)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.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,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)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],r)}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._$EU()}catch(e){throw t=!1,this._$EU(),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)}_$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){}}$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[v("elementProperties")]=new Map,$[v("finalized")]=new Map,m?.({ReactiveElement:$}),(f.reactiveElementVersions??=[]).push("2.0.4");const A={attribute:!0,type:String,converter:y,reflect:!1,hasChanged:g},_=(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),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.P(n,void 0,t),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 S(t){return(e,r)=>"object"==typeof r?_(t,e,r):((t,e,r)=>{const n=e.hasOwnProperty(r);return e.constructor.createProperty(r,n?{...t,wrapped:!0}:t),n?Object.getOwnPropertyDescriptor(e,r):void 0})(t,e,r)}const R=globalThis,T=R.trustedTypes,E=T?T.createPolicy("lit-html",{createHTML:t=>t}):void 0,k="$lit$",U=`lit$${Math.random().toFixed(9).slice(2)}$`,C="?"+U,P=`<${C}>`,F=document,O=()=>F.createComment(""),x=t=>null===t||"object"!=typeof t&&"function"!=typeof t,V=Array.isArray,W="[ \t\n\f\r]",j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,H=/>/g,z=RegExp(`>|${W}(?:([^\\s"'>=/]+)(${W}*=${W}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),M=/'/g,N=/"/g,I=/^(?:script|style|textarea|title)$/i,L=(t,...e)=>({_$litType$:1,strings:t,values:e}),B=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),X=new WeakMap,q=F.createTreeWalker(F,129);function Z(t,e){if(!V(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==E?E.createHTML(e):e}class Y{constructor({strings:t,_$litType$:e},r){let n;this.parts=[];let i=0,a=0;const o=t.length-1,s=this.parts,[h,l]=((t,e)=>{const r=t.length-1,n=[];let i,a=2===e?"<svg>":3===e?"<math>":"",o=j;for(let e=0;e<r;e++){const r=t[e];let s,h,l=-1,c=0;for(;c<r.length&&(o.lastIndex=c,h=o.exec(r),null!==h);)c=o.lastIndex,o===j?"!--"===h[1]?o=D:void 0!==h[1]?o=H:void 0!==h[2]?(I.test(h[2])&&(i=RegExp("</"+h[2],"g")),o=z):void 0!==h[3]&&(o=z):o===z?">"===h[0]?(o=i??j,l=-1):void 0===h[1]?l=-2:(l=o.lastIndex-h[2].length,s=h[1],o=void 0===h[3]?z:'"'===h[3]?N:M):o===N||o===M?o=z:o===D||o===H?o=j:(o=z,i=void 0);const u=o===z&&t[e+1].startsWith("/>")?" ":"";a+=o===j?r+P:l>=0?(n.push(s),r.slice(0,l)+k+r.slice(l)+U+u):r+U+(-2===l?e:u)}return[Z(t,a+(t[r]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),n]})(t,e);if(this.el=Y.createElement(h,r),q.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=q.nextNode())&&s.length<o;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(k)){const e=l[a++],r=n.getAttribute(t).split(U),o=/([.?@])?(.*)/.exec(e);s.push({type:1,index:i,name:o[2],strings:r,ctor:"."===o[1]?et:"?"===o[1]?rt:"@"===o[1]?nt:tt}),n.removeAttribute(t)}else t.startsWith(U)&&(s.push({type:6,index:i}),n.removeAttribute(t));if(I.test(n.tagName)){const t=n.textContent.split(U),e=t.length-1;if(e>0){n.textContent=T?T.emptyScript:"";for(let r=0;r<e;r++)n.append(t[r],O()),q.nextNode(),s.push({type:2,index:++i});n.append(t[e],O())}}}else if(8===n.nodeType)if(n.data===C)s.push({type:2,index:i});else{let t=-1;for(;-1!==(t=n.data.indexOf(U,t+1));)s.push({type:7,index:i}),t+=U.length-1}i++}}static createElement(t,e){const r=F.createElement("template");return r.innerHTML=t,r}}function J(t,e,r=t,n){if(e===B)return e;let i=void 0!==n?r.o?.[n]:r.l;const a=x(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.o??=[])[n]=i:r.l=i),void 0!==i&&(e=J(t,i._$AS(t,e.values),i,n)),e}class K{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??F).importNode(e,!0);q.currentNode=n;let i=q.nextNode(),a=0,o=0,s=r[0];for(;void 0!==s;){if(a===s.index){let e;2===s.type?e=new Q(i,i.nextSibling,this,t):1===s.type?e=new s.ctor(i,s.name,s.strings,this,t):6===s.type&&(e=new it(i,this,t)),this._$AV.push(e),s=r[++o]}a!==s?.index&&(i=q.nextNode(),a++)}return q.currentNode=F,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 Q{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,e,r,n){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=n,this.v=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=J(this,t,e),x(t)?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==B&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>V(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!==G&&x(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.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=Y.createElement(Z(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===n)this._$AH.p(e);else{const t=new K(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 Y(t)),e}k(t){V(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 Q(this.O(O()),this.O(O()),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&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this.v=t,this._$AP?.(t))}}class tt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,n,i){this.type=1,this._$AH=G,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=G}_$AI(t,e=this,r,n){const i=this.strings;let a=!1;if(void 0===i)t=J(this,t,e,0),a=!x(t)||t!==this._$AH&&t!==B,a&&(this._$AH=t);else{const n=t;let o,s;for(t=i[0],o=0;o<i.length-1;o++)s=J(this,n[r+o],e,o),s===B&&(s=this._$AH[o]),a||=!x(s)||s!==this._$AH[o],s===G?t=G:t!==G&&(t+=(s??"")+i[o+1]),this._$AH[o]=s}a&&!n&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class et extends tt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}}class rt extends tt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==G)}}class nt extends tt{constructor(t,e,r,n,i){super(t,e,r,n,i),this.type=5}_$AI(t,e=this){if((t=J(this,t,e,0)??G)===B)return;const r=this._$AH,n=t===G&&r!==G||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,i=t!==G&&(r===G||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 it{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){J(this,t)}}const at=R.litHtmlPolyfillSupport;at?.(Y,Q),(R.litHtmlVersions??=[]).push("3.2.0");class ot extends ${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=((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 Q(e.insertBefore(O(),t),t,void 0,r??{})}return i._$AI(t),i})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return B}}ot._$litElement$=!0,ot.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ot});const st=globalThis.litElementPolyfillSupport;st?.({LitElement:ot}),(globalThis.litElementVersions??=[]).push("4.1.0");var ht,lt=(ht=import.meta.url,async function(t={}){var e,r,n=t,i=new Promise(((t,n)=>{e=t,r=n})),a="object"==typeof window,o="undefined"!=typeof WorkerGlobalScope,s="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&"renderer"!=process.type;if(s){const{createRequire:t}=await Promise.resolve().then((function(){return _t}));var h=t(import.meta.url)}var l,c,u={...n},d=(t,e)=>{throw e},f="";if(s){var p=h("fs"),w=h("path");import.meta.url.startsWith("data:")||(f=w.dirname(h("url").fileURLToPath(import.meta.url))+"/"),c=t=>(t=F(t)?new URL(t):t,p.readFileSync(t)),l=async t=>(t=F(t)?new URL(t):t,p.readFileSync(t,void 0)),process.argv.slice(2),d=(t,e)=>{throw process.exitCode=t,e}}else(a||o)&&(o?f=self.location.href:"undefined"!=typeof document&&document.currentScript&&(f=document.currentScript.src),ht&&(f=ht),f=f.startsWith("blob:")?"":f.slice(0,f.replace(/[?#].*/,"").lastIndexOf("/")+1),o&&(c=t=>{var e=new XMLHttpRequest;return e.open("GET",t,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}),l=async t=>{if(F(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 m=n.print||void 0,v=n.printErr||void 0;Object.assign(n,u),u=null;var y,g,b,$,A,_,S,R,T,E,k,U,C=n.wasmBinary,P=!1,F=t=>t.startsWith("file://");function O(){var t=y.buffer;n.HEAP8=b=new Int8Array(t),n.HEAP16=A=new Int16Array(t),n.HEAPU8=$=new Uint8Array(t),n.HEAPU16=_=new Uint16Array(t),n.HEAP32=S=new Int32Array(t),n.HEAPU32=R=new Uint32Array(t),n.HEAPF32=T=new Float32Array(t),n.HEAPF64=U=new Float64Array(t),n.HEAP64=E=new BigInt64Array(t),n.HEAPU64=k=new BigUint64Array(t)}var x,V=0,W=null;function j(){V++,n.monitorRunDependencies?.(V)}function D(){if(V--,n.monitorRunDependencies?.(V),0==V&&W){var t=W;W=null,t()}}function H(t){throw n.onAbort?.(t),v(t="Aborted("+t+")"),P=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),r(t),t}class z{name="ExitStatus";constructor(t){this.message=`Program terminated with exit(${t})`,this.status=t}}var M,N=t=>{for(;0<t.length;)t.shift()(n)},I=[],L=[],B=()=>{var t=n.preRun.shift();L.unshift(t)},G=n.noExitRuntime||!0,X="undefined"!=typeof TextDecoder?new TextDecoder:void 0,q=(t,e=0,r=NaN)=>{var n=e+r;for(r=e;t[r]&&!(r>=n);)++r;if(16<r-e&&t.buffer&&X)return X.decode(t.subarray(e,r));for(n="";e<r;){var i=t[e++];if(128&i){var a=63&t[e++];if(192==(224&i))n+=String.fromCharCode((31&i)<<6|a);else{var o=63&t[e++];65536>(i=224==(240&i)?(15&i)<<12|a<<6|o:(7&i)<<18|a<<12|o<<6|63&t[e++])?n+=String.fromCharCode(i):(i-=65536,n+=String.fromCharCode(55296|i>>10,56320|1023&i))}}else n+=String.fromCharCode(i)}return n},Z=t=>{if(null===t)return"null";var e=typeof t;return"object"===e||"array"===e||"function"===e?t.toString():""+t},Y=t=>{for(var e="";$[t];)e+=M[$[t++]];return e},J={},K={},Q={},tt=n.BindingError=class extends Error{constructor(t){super(t),this.name="BindingError"}},et=t=>{throw new tt(t)};function rt(t,e,r={}){return function(t,e,r={}){var n=e.name;if(!t)throw new tt(`type "${n}" must have a positive integer typeid pointer`);if(K.hasOwnProperty(t)){if(r.Cb)return;throw new tt(`Cannot register type '${n}' twice`)}K[t]=e,delete Q[t],J.hasOwnProperty(t)&&(e=J[t],delete J[t],e.forEach((t=>t())))}(t,e,r)}var nt=(t,e,r)=>{switch(e){case 1:return r?t=>b[t]:t=>$[t];case 2:return r?t=>A[t>>1]:t=>_[t>>1];case 4:return r?t=>S[t>>2]:t=>R[t>>2];case 8:return r?t=>E[t>>3]:t=>k[t>>3];default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},it=t=>{throw new tt(t.S.Z.W.name+" instance already deleted")},at=!1,ot=()=>{},st=t=>"undefined"==typeof FinalizationRegistry?(st=t=>t,t):(at=new FinalizationRegistry((t=>{--(t=t.S).count.value,0===t.count.value&&(t.ba?t.fa.ra(t.ba):t.Z.W.ra(t.X))})),st=t=>{var e=t.S;return e.ba&&at.register(t,{S:e},t),t},ot=t=>{at.unregister(t)},st(t));function lt(){}var ct=(t,e)=>Object.defineProperty(e,"name",{value:t}),ut={},dt=(t,e,r)=>{if(void 0===t[e].aa){var n=t[e];t[e]=function(...n){if(!t[e].aa.hasOwnProperty(n.length))throw new tt(`Function '${r}' called with an invalid number of arguments (${n.length}) - expects one of (${t[e].aa})!`);return t[e].aa[n.length].apply(this,n)},t[e].aa=[],t[e].aa[n.ya]=n}},ft=(t,e,r)=>{if(n.hasOwnProperty(t)){if(void 0===r||void 0!==n[t].aa&&void 0!==n[t].aa[r])throw new tt(`Cannot register public name '${t}' twice`);if(dt(n,t,t),n[t].aa.hasOwnProperty(r))throw new tt(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`);n[t].aa[r]=e}else n[t]=e,n[t].ya=r};function pt(t,e,r,n,i,a,o,s){this.name=t,this.constructor=e,this.va=r,this.ra=n,this.da=i,this.xb=a,this.Da=o,this.ub=s,this.Ib=[]}var wt=(t,e,r)=>{for(;e!==r;){if(!e.Da)throw new tt(`Expected null or instance of ${r.name}, got an instance of ${e.name}`);t=e.Da(t),e=e.da}return t};function mt(t,e){if(null===e){if(this.Na)throw new tt(`null is not a valid ${this.name}`);return 0}if(!e.S)throw new tt(`Cannot pass "${Z(e)}" as a ${this.name}`);if(!e.S.X)throw new tt(`Cannot pass deleted object as a pointer of type ${this.name}`);return wt(e.S.X,e.S.Z.W,this.W)}function vt(t,e){if(null===e){if(this.Na)throw new tt(`null is not a valid ${this.name}`);if(this.Ha){var r=this.Jb();return null!==t&&t.push(this.ra,r),r}return 0}if(!e||!e.S)throw new tt(`Cannot pass "${Z(e)}" as a ${this.name}`);if(!e.S.X)throw new tt(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.Ga&&e.S.Z.Ga)throw new tt(`Cannot convert argument of type ${e.S.fa?e.S.fa.name:e.S.Z.name} to parameter type ${this.name}`);if(r=wt(e.S.X,e.S.Z.W,this.W),this.Ha){if(void 0===e.S.ba)throw new tt("Passing raw pointer to smart pointer is illegal");switch(this.Lb){case 0:if(e.S.fa!==this)throw new tt(`Cannot convert argument of type ${e.S.fa?e.S.fa.name:e.S.Z.name} to parameter type ${this.name}`);r=e.S.ba;break;case 1:r=e.S.ba;break;case 2:if(e.S.fa===this)r=e.S.ba;else{var n=e.clone();r=this.Kb(r,Mt((()=>n.delete()))),null!==t&&t.push(this.ra,r)}break;default:throw new tt("Unsupporting sharing policy")}}return r}function yt(t,e){if(null===e){if(this.Na)throw new tt(`null is not a valid ${this.name}`);return 0}if(!e.S)throw new tt(`Cannot pass "${Z(e)}" as a ${this.name}`);if(!e.S.X)throw new tt(`Cannot pass deleted object as a pointer of type ${this.name}`);if(e.S.Z.Ga)throw new tt(`Cannot convert argument of type ${e.S.Z.name} to parameter type ${this.name}`);return wt(e.S.X,e.S.Z.W,this.W)}function gt(t){return this.fromWireType(R[t>>2])}var bt=(t,e,r)=>e===r?t:void 0===r.da||null===(t=bt(t,e,r.da))?null:r.ub(t),$t={},At=n.InternalError=class extends Error{constructor(t){super(t),this.name="InternalError"}},St=(t,e)=>{if(!e.Z||!e.X)throw new At("makeClassHandle requires ptr and ptrType");if(!!e.fa!=!!e.ba)throw new At("Both smartPtrType and smartPtr must be specified");return e.count={value:1},st(Object.create(t,{S:{value:e,writable:!0}}))};function Rt(t,e,r,n,i,a,o,s,h,l,c){this.name=t,this.W=e,this.Na=r,this.Ga=n,this.Ha=i,this.Hb=a,this.Lb=o,this.ib=s,this.Jb=h,this.Kb=l,this.ra=c,i||void 0!==e.da?this.toWireType=vt:(this.toWireType=n?mt:yt,this.ga=null)}var Tt,Et=(t,e,r)=>{if(!n.hasOwnProperty(t))throw new At("Replacing nonexistent public symbol");void 0!==n[t].aa&&void 0!==r?n[t].aa[r]=e:(n[t]=e,n[t].ya=r)},kt=(t,e)=>{t=Y(t);var r=Tt.get(e);if("function"!=typeof r)throw new tt(`unknown function pointer with signature ${t}: ${e}`);return r};class Ut extends Error{}var Ct=t=>{t=Qe(t);var e=Y(t);return Je(t),e},Pt=(t,e)=>{var r=[],n={};throw e.forEach((function t(e){n[e]||K[e]||(Q[e]?Q[e].forEach(t):(r.push(e),n[e]=!0))})),new Ut(`${t}: `+r.map(Ct).join([", "]))},Ft=(t,e,r)=>{function n(e){if((e=r(e)).length!==t.length)throw new At("Mismatched type converter count");for(var n=0;n<t.length;++n)rt(t[n],e[n])}t.forEach((t=>Q[t]=e));var i=Array(e.length),a=[],o=0;e.forEach(((t,e)=>{K.hasOwnProperty(t)?i[e]=K[t]:(a.push(t),J.hasOwnProperty(t)||(J[t]=[]),J[t].push((()=>{i[e]=K[t],++o===a.length&&n(i)})))})),0===a.length&&n(i)},Ot=(t,e)=>{for(var r=[],n=0;n<t;n++)r.push(R[e+4*n>>2]);return r},xt=t=>{for(;t.length;){var e=t.pop();t.pop()(e)}};function Vt(t){for(var e=1;e<t.length;++e)if(null!==t[e]&&void 0===t[e].ga)return!0;return!1}function Wt(t,e,r,n,i,a){var o=e.length;if(2>o)throw new tt("argTypes array size mismatch! Must at least get return value and 'this' types!");var s=null!==e[1]&&null!==r,h=Vt(e);for(r="void"!==e[0].name,n=[t,et,n,i,xt,e[0],e[1]],i=0;i<o-2;++i)n.push(e[i+2]);if(!h)for(i=s?1:2;i<e.length;++i)null!==e[i].ga&&n.push(e[i].ga);h=Vt(e),i=e.length-2;var l=[],c=["fn"];for(s&&c.push("thisWired"),o=0;o<i;++o)l.push(`arg${o}`),c.push(`arg${o}Wired`);l=l.join(","),c=c.join(","),l=`return function (${l}) {\n`,h&&(l+="var destructors = [];\n");var u=h?"destructors":"null",d="humanName throwBindingError invoker fn runDestructors retType classParam".split(" ");for(s&&(l+=`var thisWired = classParam['toWireType'](${u}, this);\n`),o=0;o<i;++o)l+=`var arg${o}Wired = argType${o}['toWireType'](${u}, arg${o});\n`,d.push(`argType${o}`);if(l+=(r||a?"var rv = ":"")+`invoker(${c});\n`,h)l+="runDestructors(destructors);\n";else for(o=s?1:2;o<e.length;++o)a=1===o?"thisWired":"arg"+(o-2)+"Wired",null!==e[o].ga&&(l+=`${a}_dtor(${a});\n`,d.push(`${a}_dtor`));r&&(l+="var ret = retType['fromWireType'](rv);\nreturn ret;\n");let[f,p]=[d,l+"}\n"];return e=new Function(...f,p)(...n),ct(t,e)}var jt=t=>{const e=(t=t.trim()).indexOf("(");return-1===e?t:t.slice(0,e)},Dt=[],Ht=[],zt=t=>{9<t&&0==--Ht[t+1]&&(Ht[t]=void 0,Dt.push(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=Dt.pop()||Ht.length;return Ht[e]=t,Ht[e+1]=1,e}},Nt={name:"emscripten::val",fromWireType:t=>{if(!t)throw new tt(`Cannot use deleted val. handle = ${t}`);var e=Ht[t];return zt(t),e},toWireType:(t,e)=>Mt(e),oa:8,readValueFromPointer:gt,ga:null},It=(t,e)=>{switch(e){case 4:return function(t){return this.fromWireType(T[t>>2])};case 8:return function(t){return this.fromWireType(U[t>>3])};default:throw new TypeError(`invalid float width (${e}): ${t}`)}},Lt=(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 o=t.charCodeAt(a);if(55296<=o&&57343>=o&&(o=65536+((1023&o)<<10)|1023&t.charCodeAt(++a)),127>=o){if(r>=n)break;e[r++]=o}else{if(2047>=o){if(r+1>=n)break;e[r++]=192|o>>6}else{if(65535>=o){if(r+2>=n)break;e[r++]=224|o>>12}else{if(r+3>=n)break;e[r++]=240|o>>18,e[r++]=128|o>>12&63}e[r++]=128|o>>6&63}e[r++]=128|63&o}}return e[r]=0,r-i},Bt=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},Gt="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,Xt=(t,e)=>{for(var r=t>>1,n=r+e/2;!(r>=n)&&_[r];)++r;if(32<(r<<=1)-t&&Gt)return Gt.decode($.subarray(t,r));for(r="",n=0;!(n>=e/2);++n){var i=A[t+2*n>>1];if(0==i)break;r+=String.fromCharCode(i)}return r},qt=(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)A[e>>1]=t.charCodeAt(i),e+=2;return A[e>>1]=0,e-n},Zt=t=>2*t.length,Yt=(t,e)=>{for(var r=0,n="";!(r>=e/4);){var i=S[t+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},Jt=(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.charCodeAt(i);if(55296<=a&&57343>=a&&(a=65536+((1023&a)<<10)|1023&t.charCodeAt(++i)),S[e>>2]=a,(e+=4)+4>r)break}return S[e>>2]=0,e-n},Kt=t=>{for(var e=0,r=0;r<t.length;++r){var n=t.charCodeAt(r);55296<=n&&57343>=n&&++r,e+=4}return e},Qt=0,te={},ee=t=>{g=t,G||0<Qt||(n.onExit?.(t),P=!0),d(t,new z(t))},re=t=>{(re=(()=>{if(s){var t=h("crypto");return e=>t.randomFillSync(e)}return t=>crypto.getRandomValues(t)})())(t)},ne=(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},ie=t=>{var e="/"===t.charAt(0),r="/"===t.slice(-1);return(t=ne(t.split("/").filter((t=>!!t)),!e).join("/"))||e||(t="."),t&&r&&(t+="/"),(e?"/":"")+t},ae=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):"."},oe=t=>t&&t.match(/([^\/]+|\/)\/*$/)[1],se=(...t)=>{for(var e="",r=!1,n=t.length-1;-1<=n&&!r;n--){if("string"!=typeof(r=0<=n?t[n]:Ie.cwd()))throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";e=r+"/"+e,r="/"===r.charAt(0)}return e=ne(e.split("/").filter((t=>!!t)),!r).join("/"),(r?"/":"")+e||"."},he=(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=se(t).slice(1),e=se(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("/")},le=[],ce=t=>{var e=Array(Bt(t)+1);return t=Lt(t,e,0,e.length),e.length=t,e},ue=[];function de(t,e){ue[t]={input:[],output:[],xa:e},$e(t,fe)}var fe={open(t){var e=ue[t.node.rdev];if(!e)throw new Ie.R(43);t.tty=e,t.seekable=!1},close(t){t.tty.xa.fsync(t.tty)},fsync(t){t.tty.xa.fsync(t.tty)},read(t,e,r,n){if(!t.tty||!t.tty.xa.cb)throw new Ie.R(60);for(var i=0,a=0;a<n;a++){try{var o=t.tty.xa.cb(t.tty)}catch(t){throw new Ie.R(29)}if(void 0===o&&0===i)throw new Ie.R(6);if(null==o)break;i++,e[r+a]=o}return i&&(t.node.atime=Date.now()),i},write(t,e,r,n){if(!t.tty||!t.tty.xa.Qa)throw new Ie.R(60);try{for(var i=0;i<n;i++)t.tty.xa.Qa(t.tty,e[r+i])}catch(t){throw new Ie.R(29)}return n&&(t.node.mtime=t.node.ctime=Date.now()),i}},pe={cb(){t:{if(!le.length){var t=null;if(s){var e=Buffer.alloc(256),r=0,n=process.stdin.fd;try{r=p.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"undefined"!=typeof window&&"function"==typeof window.prompt&&null!==(t=window.prompt("Input: "))&&(t+="\n");if(!t){t=null;break t}le=ce(t)}t=le.shift()}return t},Qa(t,e){null===e||10===e?(m(q(t.output)),t.output=[]):0!=e&&t.output.push(e)},fsync(t){0<t.output?.length&&(m(q(t.output)),t.output=[])},dc:()=>({Tb:25856,Vb:5,Sb:191,Ub:35387,Rb:[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]}),ec:()=>0,fc:()=>[24,80]},we={Qa(t,e){null===e||10===e?(v(q(t.output)),t.output=[]):0!=e&&t.output.push(e)},fsync(t){0<t.output?.length&&(v(q(t.output)),t.output=[])}},me={ma:null,Y:()=>me.createNode(null,"/",16895,0),createNode(t,e,r,n){if(24576==(61440&r)||Ie.isFIFO(r))throw new Ie.R(63);return me.ma||(me.ma={dir:{node:{ia:me.T.ia,ka:me.T.ka,lookup:me.T.lookup,qa:me.T.qa,rename:me.T.rename,unlink:me.T.unlink,rmdir:me.T.rmdir,readdir:me.T.readdir,symlink:me.T.symlink},stream:{ea:me.U.ea}},file:{node:{ia:me.T.ia,ka:me.T.ka},stream:{ea:me.U.ea,read:me.U.read,write:me.U.write,wa:me.U.wa,Ba:me.U.Ba}},link:{node:{ia:me.T.ia,ka:me.T.ka,readlink:me.T.readlink},stream:{}},Va:{node:{ia:me.T.ia,ka:me.T.ka},stream:Ie.rb}}),Ae((r=Ie.createNode(t,e,r,n)).mode)?(r.T=me.ma.dir.node,r.U=me.ma.dir.stream,r.V={}):Ie.isFile(r.mode)?(r.T=me.ma.file.node,r.U=me.ma.file.stream,r.$=0,r.V=null):40960==(61440&r.mode)?(r.T=me.ma.link.node,r.U=me.ma.link.stream):8192==(61440&r.mode)&&(r.T=me.ma.Va.node,r.U=me.ma.Va.stream),r.atime=r.mtime=r.ctime=Date.now(),t&&(t.V[e]=r,t.atime=t.mtime=t.ctime=r.atime),r},cc:t=>t.V?t.V.subarray?t.V.subarray(0,t.$):new Uint8Array(t.V):new Uint8Array(0),T:{ia(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=Ae(t.mode)?4096:Ie.isFile(t.mode)?t.$: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},ka(t,e){for(var r of["mode","atime","mtime","ctime"])null!=e[r]&&(t[r]=e[r]);void 0!==e.size&&t.$!=(e=e.size)&&(0==e?(t.V=null,t.$=0):(r=t.V,t.V=new Uint8Array(e),r&&t.V.set(r.subarray(0,Math.min(e,t.$))),t.$=e))},lookup(){throw me.ab},qa:(t,e,r,n)=>me.createNode(t,e,r,n),rename(t,e,r){try{var n=_e(e,r)}catch(t){}if(n){if(Ae(t.mode))for(var i in n.V)throw new Ie.R(55);Se(n)}delete t.parent.V[t.name],e.V[r]=t,t.name=r,e.ctime=e.mtime=t.parent.ctime=t.parent.mtime=Date.now()},unlink(t,e){delete t.V[e],t.ctime=t.mtime=Date.now()},rmdir(t,e){var r,n=_e(t,e);for(r in n.V)throw new Ie.R(55);delete t.V[e],t.ctime=t.mtime=Date.now()},readdir:t=>[".","..",...Object.keys(t.V)],symlink:(t,e,r)=>((t=me.createNode(t,e,41471,0)).link=r,t),readlink(t){if(40960!=(61440&t.mode))throw new Ie.R(28);return t.link}},U:{read(t,e,r,n,i){var a=t.node.V;if(i>=t.node.$)return 0;if(8<(t=Math.min(t.node.$-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===b.buffer&&(a=!1),!n)return 0;if((t=t.node).mtime=t.ctime=Date.now(),e.subarray&&(!t.V||t.V.subarray)){if(a)return t.V=e.subarray(r,r+n),t.$=n;if(0===t.$&&0===i)return t.V=e.slice(r,r+n),t.$=n;if(i+n<=t.$)return t.V.set(e.subarray(r,r+n),i),n}var o=t.V?t.V.length:0;if(o>=(a=i+n)||(a=Math.max(a,o*(1048576>o?2:1.125)>>>0),0!=o&&(a=Math.max(a,256)),o=t.V,t.V=new Uint8Array(a),0<t.$&&t.V.set(o.subarray(0,t.$),0)),t.V.subarray&&e.subarray)t.V.set(e.subarray(r,r+n),i);else for(a=0;a<n;a++)t.V[i+a]=e[r+a];return t.$=Math.max(t.$,i+n),n},ea(t,e,r){if(1===r?e+=t.position:2===r&&Ie.isFile(t.node.mode)&&(e+=t.node.$),0>e)throw new Ie.R(28);return e},wa(t,e,r,n,i){if(!Ie.isFile(t.node.mode))throw new Ie.R(43);if(t=t.node.V,2&i||!t||t.buffer!==b.buffer){if(n=!0,H(),!(i=void 0))throw new Ie.R(48);t&&((0<r||r+e<t.length)&&(t=t.subarray?t.subarray(r,r+e):Array.prototype.slice.call(t,r,r+e)),b.set(t,i))}else n=!1,i=t.byteOffset;return{X:i,Nb:n}},Ba:(t,e,r,n)=>(me.U.write(t,e,0,n,r,!1),0)}},ve=n.preloadPlugins||[],ye=(t,e,r,n,i,a,o,s,h,c)=>{function u(r){function l(r){c?.(),s||Ie.La(t,e,r,n,i,h),a?.(),D()}((t,e,r,n)=>{"undefined"!=typeof Browser&&be();var i=!1;return ve.forEach((a=>{!i&&a.canHandle(e)&&(a.handle(t,e,r,n),i=!0)})),i})(r,d,l,(()=>{o?.(),D()}))||l(r)}var d=e?se(ie(t+"/"+e)):t;j(),"string"==typeof r?(async t=>(t=await l(t),new Uint8Array(t)))(r).then(u,o):u(r)},ge=(t,e)=>{var r=0;return t&&(r|=365),e&&(r|=146),r};function be(){var t,e,r;Ie.Ma=!0,t??=n.stdin,e??=n.stdout,r??=n.stderr,t?Ie.pa("/dev","stdin",t):Ie.symlink("/dev/tty","/dev/stdin"),e?Ie.pa("/dev","stdout",null,e):Ie.symlink("/dev/tty","/dev/stdout"),r?Ie.pa("/dev","stderr",null,r):Ie.symlink("/dev/tty1","/dev/stderr"),Ie.open("/dev/stdin",0),Ie.open("/dev/stdout",1),Ie.open("/dev/stderr",1)}function $e(t,e){Ie.$a[t]={U:e}}function Ae(t){return 16384==(61440&t)}function _e(t,e){var r=Ae(t.mode)?(r=Ce(t,"x"))?r:t.T.lookup?0:2:54;if(r)throw new Ie.R(r);for(r=Ie.la[Ee(t.id,e)];r;r=r.ua)if(r.parent.id===t.id&&r.name===e)return r;return Ie.lookup(t,e)}function Se(t){var e=Ee(t.parent.id,t.name);if(Ie.la[e]===t)Ie.la[e]=t.ua;else for(e=Ie.la[e];e;){if(e.ua===t){e.ua=t.ua;break}e=e.ua}}function Re(t,e={}){if(!t)throw new Ie.R(44);e.Fa??(e.Fa=!0),"/"===t.charAt(0)||(t=Ie.cwd()+"/"+t);var r=0;t:for(;40>r;r++){t=t.split("/").filter((t=>!!t));for(var n=Ie.root,i="/",a=0;a<t.length;a++){var o=a===t.length-1;if(o&&e.parent)break;if("."!==t[a])if(".."===t[a])i=ae(i),n=n.parent;else{i=ie(i+"/"+t[a]);try{n=_e(n,t[a])}catch(t){if(44===t?.Ea&&o&&e.Fb)return{path:i};throw t}if(!n.ja||o&&!e.Fa||(n=n.ja.root),40960==(61440&n.mode)&&(!o||e.ha)){if(!n.T.readlink)throw new Ie.R(52);"/"===(n=n.T.readlink(n)).charAt(0)||(n=ae(i)+"/"+n),t=n+"/"+t.slice(a+1).join("/");continue t}}}return{path:i,node:n}}throw new Ie.R(32)}function Te(t){for(var e;;){if(Ie.gb(t))return t=t.Y.hb,e?"/"!==t[t.length-1]?`${t}/${e}`:t+e:t;e=e?`${t.name}/${e}`:t.name,t=t.parent}}function Ee(t,e){for(var r=0,n=0;n<e.length;n++)r=(r<<5)-r+e.charCodeAt(n)|0;return(t+r>>>0)%Ie.la.length}function ke(t){var e=Ee(t.parent.id,t.name);t.ua=Ie.la[e],Ie.la[e]=t}function Ue(t){var e=["r","w","rw"][3&t];return 512&t&&(e+="w"),e}function Ce(t,e){return Ie.eb?0:!e.includes("r")||292&t.mode?e.includes("w")&&!(146&t.mode)||e.includes("x")&&!(73&t.mode)?2:0:2}function Pe(t,e){if(!Ae(t.mode))return 54;try{return _e(t,e),20}catch(t){}return Ce(t,"wx")}function Fe(t,e,r){try{var n=_e(t,e)}catch(t){return t.Ea}if(t=Ce(t,"wx"))return t;if(r){if(!Ae(n.mode))return 54;if(Ie.gb(n)||Te(n)===Ie.cwd())return 10}else if(Ae(n.mode))return 31;return 0}function Oe(t,e){if(!t)throw new Ie.R(e);return t}function xe(t){if(!(t=Ie.Ab(t)))throw new Ie.R(8);return t}function Ve(t,e=-1){if(t=Object.assign(new Ie.nb,t),-1==e)t:{for(e=0;e<=Ie.ob;e++)if(!Ie.streams[e])break t;throw new Ie.R(33)}return t.fd=e,Ie.streams[e]=t}function We(t,e,r){var n=t?.U.ka;t=n?t:e,n??=e.T.ka,Oe(n,63),n(t,r)}function je(t){var e=[];for(t=[t];t.length;){var r=t.pop();e.push(r),t.push(...r.Aa)}return e}function De(t){var e={Qb:4096,$b:4096,blocks:1e6,Pb:5e5,Ob:5e5,files:Ie.Pa,Yb:Ie.Pa-1,ac:42,flags:2,kc:255};return t.T.kb&&Object.assign(e,t.T.kb(t.Y.Gb.root)),e}function He(t,e,r){return void 0===r&&(r=e,e=438),Ie.qa(t,8192|e,r)}function ze(t,e,r,n){We(t,e,{mode:4095&r|-4096&e.mode,ctime:Date.now(),bb:n})}function Me(t,e,r){if(Ae(e.mode))throw new Ie.R(31);if(!Ie.isFile(e.mode))throw new Ie.R(28);var n=Ce(e,"w");if(n)throw new Ie.R(n);We(t,e,{size:r,timestamp:Date.now()})}function Ne(t){if(!(t.Db||t.Eb||t.link||t.V)){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{t.V=c(t.url),t.$=t.V.length}catch(t){throw new Ie.R(29)}}}for(var Ie={root:null,Aa:[],$a:{},streams:[],Pa:1,la:null,Ya:"/",Ma:!1,eb:!0,wb:null,Ia:0,jb:{},R:class{name="ErrnoError";constructor(t){this.Ea=t}},nb:class{na={};node=null;get object(){return this.node}set object(t){this.node=t}get flags(){return this.na.flags}set flags(t){this.na.flags=t}get position(){return this.na.position}set position(t){this.na.position=t}},mb:class{T={};U={};ja=null;constructor(t,e,r,n){t||=this,this.parent=t,this.Y=t.Y,this.id=Ie.Pa++,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 Eb(){return Ae(this.mode)}get Db(){return 8192==(61440&this.mode)}},createNode:(t,e,r,n)=>(ke(t=new Ie.mb(t,e,r,n)),t),gb:t=>t===t.parent,isFile:t=>32768==(61440&t),isFIFO:t=>4096==(61440&t),isSocket:t=>!(49152&~t),ob:4096,Ab:t=>Ie.streams[t],Xb:(t,e=-1)=>(t=Ve(t,e),t.U?.Wb?.(t),t),rb:{open(t){t.U=Ie.yb(t.node.rdev).U,t.U.open?.(t)},ea(){throw new Ie.R(70)}},Oa:t=>t>>8,ic:t=>255&t,ta:(t,e)=>t<<8|e,yb:t=>Ie.$a[t],lb(t,e){function r(t){return Ie.Ia--,e(t)}function n(t){if(t){if(!n.vb)return n.vb=!0,r(t)}else++a>=i.length&&r(null)}"function"==typeof t&&(e=t,t=!1),Ie.Ia++,1<Ie.Ia&&v(`warning: ${Ie.Ia} FS.syncfs operations in flight at once, probably just doing extra work`);var i=je(Ie.root.Y),a=0;i.forEach((e=>{if(!e.type.lb)return n(null);e.type.lb(e,t,n)}))},Y(t,e,r){var n="/"===r;if(n&&Ie.root)throw new Ie.R(10);if(!n&&r){var i=Re(r,{Fa:!1});if(r=i.path,(i=i.node).ja)throw new Ie.R(10);if(!Ae(i.mode))throw new Ie.R(54)}return(t=t.Y(e={type:t,Gb:e,hb:r,Aa:[]})).Y=e,e.root=t,n?Ie.root=t:i&&(i.ja=e,i.Y&&i.Y.Aa.push(e)),t},oc(t){if(!(t=Re(t,{Fa:!1})).node.ja)throw new Ie.R(28);var e=(t=t.node).ja,r=je(e);Object.keys(Ie.la).forEach((t=>{for(t=Ie.la[t];t;){var e=t.ua;r.includes(t.Y)&&Se(t),t=e}})),t.ja=null,t.Y.Aa.splice(t.Y.Aa.indexOf(e),1)},lookup:(t,e)=>t.T.lookup(t,e),qa(t,e,r){var n=Re(t,{parent:!0}).node;if(!(t=oe(t)))throw new Ie.R(28);if("."===t||".."===t)throw new Ie.R(20);var i=Pe(n,t);if(i)throw new Ie.R(i);if(!n.T.qa)throw new Ie.R(63);return n.T.qa(n,t,e,r)},kb:t=>De(Re(t,{ha:!0}).node),mc:t=>De(t.node),create:(t,e=438)=>Ie.qa(t,4095&e|32768,0),mkdir:(t,e=511)=>Ie.qa(t,1023&e|16384,0),jc(t,e){var r,n=t.split("/"),i="";for(r of n)if(r){(i||"/"===t.charAt(0))&&(i+="/"),i+=r;try{Ie.mkdir(i,e)}catch(t){if(20!=t.Ea)throw t}}},symlink(t,e){if(!se(t))throw new Ie.R(44);var r=Re(e,{parent:!0}).node;if(!r)throw new Ie.R(44);var n=Pe(r,e=oe(e));if(n)throw new Ie.R(n);if(!r.T.symlink)throw new Ie.R(63);return r.T.symlink(r,e,t)},rename(t,e){var r=ae(t),n=ae(e),i=oe(t),a=oe(e),o=Re(t,{parent:!0}),s=o.node;if(o=(o=Re(e,{parent:!0})).node,!s||!o)throw new Ie.R(44);if(s.Y!==o.Y)throw new Ie.R(75);var h=_e(s,i);if("."!==(t=he(t,n)).charAt(0))throw new Ie.R(28);if("."!==(t=he(e,r)).charAt(0))throw new Ie.R(55);try{var l=_e(o,a)}catch(t){}if(h!==l){if(i=Fe(s,i,e=Ae(h.mode)))throw new Ie.R(i);if(i=l?Fe(o,a,e):Pe(o,a))throw new Ie.R(i);if(!s.T.rename)throw new Ie.R(63);if(h.ja||l&&l.ja)throw new Ie.R(10);if(o!==s&&(i=Ce(s,"w")))throw new Ie.R(i);Se(h);try{s.T.rename(h,o,a),h.parent=o}catch(t){throw t}finally{ke(h)}}},rmdir(t){var e=Re(t,{parent:!0}).node,r=_e(e,t=oe(t)),n=Fe(e,t,!0);if(n)throw new Ie.R(n);if(!e.T.rmdir)throw new Ie.R(63);if(r.ja)throw new Ie.R(10);e.T.rmdir(e,t),Se(r)},readdir:t=>Oe((t=Re(t,{ha:!0}).node).T.readdir,54)(t),unlink(t){var e=Re(t,{parent:!0}).node;if(!e)throw new Ie.R(44);var r=_e(e,t=oe(t)),n=Fe(e,t,!1);if(n)throw new Ie.R(n);if(!e.T.unlink)throw new Ie.R(63);if(r.ja)throw new Ie.R(10);e.T.unlink(e,t),Se(r)},readlink(t){if(!(t=Re(t).node))throw new Ie.R(44);if(!t.T.readlink)throw new Ie.R(28);return t.T.readlink(t)},stat:(t,e)=>Oe((t=Re(t,{ha:!e}).node).T.ia,63)(t),fstat(t){var e=xe(t);t=e.node;var r=e.U.ia;return e=r?e:t,r??=t.T.ia,Oe(r,63),r(e)},lstat:t=>Ie.stat(t,!0),chmod(t,e,r){ze(null,t="string"==typeof t?Re(t,{ha:!r}).node:t,e,r)},lchmod(t,e){Ie.chmod(t,e,!0)},fchmod(t,e){ze(t=xe(t),t.node,e,!1)},chown(t,e,r,n){We(null,t="string"==typeof t?Re(t,{ha:!n}).node:t,{timestamp:Date.now(),bb:n})},lchown(t,e,r){Ie.chown(t,e,r,!0)},fchown(t){We(t=xe(t),t.node,{timestamp:Date.now(),bb:!1})},truncate(t,e){if(0>e)throw new Ie.R(28);Me(null,t="string"==typeof t?Re(t,{ha:!0}).node:t,e)},bc(t,e){if(t=xe(t),0>e||!(2097155&t.flags))throw new Ie.R(28);Me(t,t.node,e)},pc(t,e,r){Oe((t=Re(t,{ha:!0}).node).T.ka,63)(t,{atime:e,mtime:r})},open(t,e,r=438){if(""===t)throw new Ie.R(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=Re(t,{ha:!(131072&e),Fb:!0})).node,t=t.path}var o=!1;if(64&e)if(i){if(128&e)throw new Ie.R(20)}else{if(a)throw new Ie.R(31);i=Ie.qa(t,511|r,0),o=!0}if(!i)throw new Ie.R(44);if(8192==(61440&i.mode)&&(e&=-513),65536&e&&!Ae(i.mode))throw new Ie.R(54);if(!o&&(a=i?40960==(61440&i.mode)?32:Ae(i.mode)&&("r"!==Ue(e)||576&e)?31:Ce(i,Ue(e)):44))throw new Ie.R(a);return 512&e&&!o&&Ie.truncate(i,0),e&=-131713,(a=Ve({node:i,path:Te(i),flags:e,seekable:!0,position:0,U:i.U,Mb:[],error:!1})).U.open&&a.U.open(a),o&&Ie.chmod(i,511&r),!n.logReadFiles||1&e||t in Ie.jb||(Ie.jb[t]=1),a},close(t){if(null===t.fd)throw new Ie.R(8);t.Bb&&(t.Bb=null);try{t.U.close&&t.U.close(t)}catch(t){throw t}finally{Ie.streams[t.fd]=null}t.fd=null},ea(t,e,r){if(null===t.fd)throw new Ie.R(8);if(!t.seekable||!t.U.ea)throw new Ie.R(70);if(0!=r&&1!=r&&2!=r)throw new Ie.R(28);return t.position=t.U.ea(t,e,r),t.Mb=[],t.position},read(t,e,r,n,i){if(0>n||0>i)throw new Ie.R(28);if(null===t.fd)throw new Ie.R(8);if(1==(2097155&t.flags))throw new Ie.R(8);if(Ae(t.node.mode))throw new Ie.R(31);if(!t.U.read)throw new Ie.R(28);var a=void 0!==i;if(a){if(!t.seekable)throw new Ie.R(70)}else i=t.position;return e=t.U.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 Ie.R(28);if(null===t.fd)throw new Ie.R(8);if(!(2097155&t.flags))throw new Ie.R(8);if(Ae(t.node.mode))throw new Ie.R(31);if(!t.U.write)throw new Ie.R(28);t.seekable&&1024&t.flags&&Ie.ea(t,0,2);var o=void 0!==i;if(o){if(!t.seekable)throw new Ie.R(70)}else i=t.position;return e=t.U.write(t,e,r,n,i,a),o||(t.position+=e),e},wa(t,e,r,n,i){if(2&n&&!(2&i)&&2!=(2097155&t.flags))throw new Ie.R(2);if(1==(2097155&t.flags))throw new Ie.R(2);if(!t.U.wa)throw new Ie.R(43);if(!e)throw new Ie.R(28);return t.U.wa(t,e,r,n,i)},Ba:(t,e,r,n,i)=>t.U.Ba?t.U.Ba(t,e,r,n,i):0,fb(t,e,r){if(!t.U.fb)throw new Ie.R(59);return t.U.fb(t,e,r)},readFile(t,e={}){if(e.flags=e.flags||0,e.encoding=e.encoding||"binary","utf8"!==e.encoding&&"binary"!==e.encoding)throw Error(`Invalid encoding type "${e.encoding}"`);var r,n=Ie.open(t,e.flags);t=Ie.stat(t).size;var i=new Uint8Array(t);return Ie.read(n,i,0,t,0),"utf8"===e.encoding?r=q(i):"binary"===e.encoding&&(r=i),Ie.close(n),r},writeFile(t,e,r={}){if(r.flags=r.flags||577,t=Ie.open(t,r.flags,r.mode),"string"==typeof e){var n=new Uint8Array(Bt(e)+1);e=Lt(e,n,0,n.length),Ie.write(t,n,0,e,void 0,r.qb)}else{if(!ArrayBuffer.isView(e))throw Error("Unsupported data type");Ie.write(t,e,0,e.byteLength,void 0,r.qb)}Ie.close(t)},cwd:()=>Ie.Ya,chdir(t){if(null===(t=Re(t,{ha:!0})).node)throw new Ie.R(44);if(!Ae(t.node.mode))throw new Ie.R(54);var e=Ce(t.node,"x");if(e)throw new Ie.R(e);Ie.Ya=t.path},lc(){for(var t of(Ie.Ma=!1,Ie.streams))t&&Ie.close(t)},Zb(t,e){try{var r=Re(t,{ha:!e});t=r.path}catch(t){}var n=!1,i=null;try{r=Re(t,{parent:!0}),oe(t),r=Re(t,{ha:!e}),n=!0,i=r.node}catch(t){}return n?i:null},Xa(t,e){for(t="string"==typeof t?t:Te(t),e=e.split("/").reverse();e.length;){var r=e.pop();if(r){var n=ie(t+"/"+r);try{Ie.mkdir(n)}catch(t){if(20!=t.Ea)throw t}t=n}}return n},La(t,e,r,n,i,a){var o=e;if(t&&(t="string"==typeof t?t:Te(t),o=e?ie(t+"/"+e):t),t=ge(n,i),o=Ie.create(o,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}Ie.chmod(o,146|t),e=Ie.open(o,577),Ie.write(e,r,0,r.length,0,a),Ie.close(e),Ie.chmod(o,t)}},pa(t,e,r,n){var i;return t=((t,e)=>ie(t+"/"+e))("string"==typeof t?t:Te(t),e),e=ge(!!r,!!n),(i=Ie.pa).Oa??(i.Oa=64),$e(i=Ie.ta(Ie.pa.Oa++,0),{open(t){t.seekable=!1},close(){n?.buffer?.length&&n(10)},read(t,e,n,i){for(var a=0,o=0;o<i;o++){try{var s=r()}catch(t){throw new Ie.R(29)}if(void 0===s&&0===a)throw new Ie.R(6);if(null==s)break;a++,e[n+o]=s}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 Ie.R(29)}return i&&(t.node.mtime=t.node.ctime=Date.now()),a}}),He(t,e,i)},Wa(t,e,r,n,i){class a{Ka=!1;na=[];Ja=void 0;Sa=0;Ra=0;get(t){if(!(t>this.length-1||0>t)){var e=t%this.chunkSize;return this.Ja(t/this.chunkSize|0)[e]}}pb(t){this.Ja=t}Ta(){var t=new XMLHttpRequest;if(t.open("HEAD",r,!1),t.send(null),!(200<=t.status&&300>t.status||304===t.status))throw Error("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 o=this;o.pb((t=>{var e=t*a,i=(t+1)*a-1;if(i=Math.min(i,n-1),void 0===o.na[t]){var s=o.na;if(e>i)throw Error("invalid range ("+e+", "+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!==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))throw Error("Couldn't load "+r+". Status: "+h.status);e=void 0!==h.response?new Uint8Array(h.response||[]):ce(h.responseText||""),s[t]=e}if(void 0===o.na[t])throw Error("doXHR failed!");return o.na[t]})),!t&&n||(a=n=1,a=n=this.Ja(0).length,m("LazyFiles on gzip forces download of the whole file when length is accessed")),this.Sa=n,this.Ra=a,this.Ka=!0}get length(){return this.Ka||this.Ta(),this.Sa}get chunkSize(){return this.Ka||this.Ta(),this.Ra}}if("undefined"!=typeof XMLHttpRequest){if(!o)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var s=new a,h=void 0}else h=r,s=void 0;var l=function(t,e,r,n){return t="string"==typeof t?t:Te(t),e=ie(t+"/"+e),Ie.create(e,ge(r,n))}(t,e,n,i);s?l.V=s:h&&(l.V=null,l.url=h),Object.defineProperties(l,{$:{get:function(){return this.V.length}}});var c={};return Object.keys(l.U).forEach((t=>{var e=l.U[t];c[t]=(...t)=>(Ne(l),e(...t))})),c.read=(t,e,r,n,i)=>{if(Ne(l),i>=(t=t.node.V).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},c.wa=()=>{throw Ne(l),H(),new Ie.R(48)},l.U=c,l}},Le=Ie.Xa,Be=Ie.Wa,Ge=Ie.pa,Xe=Array(256),qe=0;256>qe;++qe)Xe[qe]=String.fromCharCode(qe);M=Xe,(()=>{let t=lt.prototype;Object.assign(t,{isAliasOf:function(t){if(!(this instanceof lt&&t instanceof lt))return!1;var e=this.S.Z.W,r=this.S.X;t.S=t.S;var n=t.S.Z.W;for(t=t.S.X;e.da;)r=e.Da(r),e=e.da;for(;n.da;)t=n.Da(t),n=n.da;return e===n&&r===t},clone:function(){if(this.S.X||it(this),this.S.Ca)return this.S.count.value+=1,this;var t=st,e=Object,r=e.create,n=Object.getPrototypeOf(this),i=this.S;return(t=t(r.call(e,n,{S:{value:{count:i.count,za:i.za,Ca:i.Ca,X:i.X,Z:i.Z,ba:i.ba,fa:i.fa}}}))).S.count.value+=1,t.S.za=!1,t},delete(){if(this.S.X||it(this),this.S.za&&!this.S.Ca)throw new tt("Object already scheduled for deletion");ot(this);var t=this.S;--t.count.value,0===t.count.value&&(t.ba?t.fa.ra(t.ba):t.Z.W.ra(t.X)),this.S.Ca||(this.S.ba=void 0,this.S.X=void 0)},isDeleted:function(){return!this.S.X},deleteLater:function(){if(this.S.X||it(this),this.S.za&&!this.S.Ca)throw new tt("Object already scheduled for deletion");return this.S.za=!0,this}});const e=Symbol.dispose;e&&(t[e]=t.delete)})(),Object.assign(Rt.prototype,{zb(t){return this.ib&&(t=this.ib(t)),t},Za(t){this.ra?.(t)},oa:8,readValueFromPointer:gt,fromWireType:function(t){function e(){return St(this.W.va,this.Ha?{Z:this.Hb,X:r,fa:this,ba:t}:{Z:this,X:t})}var r=this.zb(t);if(!r)return this.Za(t),null;var n=((t,e)=>{if(void 0===e)throw new tt("ptr should not be undefined");for(;t.da;)e=t.Da(e),t=t.da;return $t[e]})(this.W,r);if(void 0!==n)return 0===n.S.count.value?(n.S.X=r,n.S.ba=t,n.clone()):(n=n.clone(),this.Za(t),n);if(n=this.W.xb(r),!(n=ut[n]))return e.call(this);var i=bt(r,this.W,(n=this.Ga?n.sb:n.pointerType).W);return null===i?e.call(this):St(n.W.va,this.Ha?{Z:n,X:i,fa:this,ba:t}:{Z:n,X:i})}}),Ht.push(0,1,void 0,1,null,1,!0,1,!1,1),n.count_emval_handles=()=>Ht.length/2-5-Dt.length,Ie.tb=ye,Ie.la=Array(4096),Ie.Y(me,{},"/"),Ie.mkdir("/tmp"),Ie.mkdir("/home"),Ie.mkdir("/home/web_user"),function(){Ie.mkdir("/dev"),$e(Ie.ta(1,3),{read:()=>0,write:(t,e,r,n)=>n,ea:()=>0}),He("/dev/null",Ie.ta(1,3)),de(Ie.ta(5,0),pe),de(Ie.ta(6,0),we),He("/dev/tty",Ie.ta(5,0)),He("/dev/tty1",Ie.ta(6,0));var t=new Uint8Array(1024),e=0,r=()=>(0===e&&(re(t),e=t.byteLength),t[--e]);Ie.pa("/dev","random",r),Ie.pa("/dev","urandom",r),Ie.mkdir("/dev/shm"),Ie.mkdir("/dev/shm/tmp")}(),function(){Ie.mkdir("/proc");var t=Ie.mkdir("/proc/self");Ie.mkdir("/proc/self/fd"),Ie.Y({Y(){var e=Ie.createNode(t,"fd",16895,73);return e.U={ea:me.U.ea},e.T={lookup(t,e){var r=xe(t=+e);return(t={parent:null,Y:{hb:"fake"},T:{readlink:()=>r.path},id:t+1}).parent=t},readdir:()=>Array.from(Ie.streams.entries()).filter((([,t])=>t)).map((([t])=>t.toString()))},e}},{},"/proc/self/fd")}(),Ie.wb={MEMFS:me},n.FS_createPath=Ie.Xa,n.FS_createDataFile=Ie.La,n.FS_createPreloadedFile=Ie.tb,n.FS_unlink=Ie.unlink,n.FS_createLazyFile=Ie.Wa,n.FS_createDevice=Ie.pa,me.ab=new Ie.R(44),me.ab.stack="<generic error, no stack>";var Ze={c:(t,e,r,n)=>H(`Assertion failed: ${t?q($,t):""}, at: `+[e?e?q($,e):"":"unknown filename",r,n?n?q($,n):"":"unknown function"]),D:()=>H(""),r:(t,e,r)=>{rt(t,{name:e=Y(e),fromWireType:t=>t,toWireType:function(t,e){if("bigint"!=typeof e&&"number"!=typeof e)throw new TypeError(`Cannot convert "${Z(e)}" to ${this.name}`);return"number"==typeof e&&(e=BigInt(e)),e},oa:8,readValueFromPointer:nt(e,r,-1==e.indexOf("u")),ga:null})},G:(t,e,r,n)=>{rt(t,{name:e=Y(e),fromWireType:function(t){return!!t},toWireType:function(t,e){return e?r:n},oa:8,readValueFromPointer:function(t){return this.fromWireType($[t])},ga:null})},x:(t,e,r,n,i,a,o,s,h,l,c,u,d)=>{c=Y(c),a=kt(i,a),s&&=kt(o,s),l&&=kt(h,l),d=kt(u,d);var f=(t=>{var e=(t=t.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=e&&57>=e?`_${t}`:t})(c);ft(f,(function(){Pt(`Cannot construct ${c} due to unbound types`,[n])})),Ft([t,e,r],n?[n]:[],(e=>{if(e=e[0],n)var r=e.W,i=r.va;else i=lt.prototype;e=ct(c,(function(...t){if(Object.getPrototypeOf(this)!==o)throw new tt(`Use 'new' to construct ${c}`);if(void 0===u.sa)throw new tt(`${c} has no accessible constructor`);var e=u.sa[t.length];if(void 0===e)throw new tt(`Tried to invoke ctor of ${c} with invalid number of parameters (${t.length}) - expected (${Object.keys(u.sa).toString()}) parameters instead!`);return e.apply(this,t)}));var o=Object.create(i,{constructor:{value:e}});e.prototype=o;var h,u=new pt(c,e,o,d,r,a,s,l);return u.da&&((h=u.da).Ua??(h.Ua=[]),u.da.Ua.push(u)),r=new Rt(c,u,!0,!1,!1),h=new Rt(c+"*",u,!1,!1,!1),i=new Rt(c+" const*",u,!1,!0,!1),ut[t]={pointerType:h,sb:i},Et(f,e),[r,h,i]}))},w:(t,e,r,n,i,a)=>{var o=Ot(e,r);i=kt(n,i),Ft([],[t],(t=>{var r=`constructor ${(t=t[0]).name}`;if(void 0===t.W.sa&&(t.W.sa=[]),void 0!==t.W.sa[e-1])throw new tt(`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.W.sa[e-1]=()=>{Pt(`Cannot construct ${t.name} due to unbound types`,o)},Ft([],o,(n=>(n.splice(1,0,null),t.W.sa[e-1]=Wt(r,n,null,i,a),[]))),[]}))},i:(t,e,r,n,i,a,o,s,h)=>{var l=Ot(r,n);e=Y(e),e=jt(e),a=kt(i,a),Ft([],[t],(t=>{function n(){Pt(`Cannot call ${i} due to unbound types`,l)}var i=`${(t=t[0]).name}.${e}`;e.startsWith("@@")&&(e=Symbol[e.substring(2)]),s&&t.W.Ib.push(e);var c=t.W.va,u=c[e];return void 0===u||void 0===u.aa&&u.className!==t.name&&u.ya===r-2?(n.ya=r-2,n.className=t.name,c[e]=n):(dt(c,e,i),c[e].aa[r-2]=n),Ft([],l,(n=>(n=Wt(i,n,t,a,o,h),void 0===c[e].aa?(n.ya=r-2,c[e]=n):c[e].aa[r-2]=n,[]))),[]}))},E:t=>rt(t,Nt),q:(t,e,r)=>{rt(t,{name:e=Y(e),fromWireType:t=>t,toWireType:(t,e)=>e,oa:8,readValueFromPointer:It(e,r),ga:null})},p:(t,e,r,n,i,a,o)=>{var s=Ot(e,r);t=Y(t),t=jt(t),i=kt(n,i),ft(t,(function(){Pt(`Cannot call ${t} due to unbound types`,s)}),e-1),Ft([],s,(r=>(r=[r[0],null].concat(r.slice(1)),Et(t,Wt(t,r,null,i,a,o),e-1),[])))},j:(t,e,r,n,i)=>{if(e=Y(e),-1===i&&(i=4294967295),i=t=>t,0===n){var a=32-8*r;i=t=>t<<a>>>a}var o=e.includes("unsigned")?function(t,e){return e>>>0}:function(t,e){return e};rt(t,{name:e,fromWireType:i,toWireType:o,oa:8,readValueFromPointer:nt(e,r,0!==n),ga:null})},g:(t,e,r)=>{function n(t){return new i(b.buffer,R[t+4>>2],R[t>>2])}var i=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][e];rt(t,{name:r=Y(r),fromWireType:n,oa:8,readValueFromPointer:n},{Cb:!0})},F:(t,e)=>{rt(t,{name:e=Y(e),fromWireType:function(t){for(var e,r=R[t>>2],n=t+4,i=n,a=0;a<=r;++a){var o=n+a;a!=r&&0!=$[o]||(i=i?q($,i,o-i):"",void 0===e?e=i:(e+=String.fromCharCode(0),e+=i),i=o+1)}return Je(t),e},toWireType:function(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 tt("Cannot pass non-string to std::string");var n=r?Bt(e):e.length,i=Ke(4+n+1),a=i+4;return R[i>>2]=n,r?Lt(e,$,a,n+1):$.set(e,a),null!==t&&t.push(Je,i),i},oa:8,readValueFromPointer:gt,ga(t){Je(t)}})},l:(t,e,r)=>{if(r=Y(r),2===e)var n=Xt,i=qt,a=Zt,o=t=>_[t>>1];else 4===e&&(n=Yt,i=Jt,a=Kt,o=t=>R[t>>2]);rt(t,{name:r,fromWireType:t=>{for(var r,i=R[t>>2],a=t+4,s=0;s<=i;++s){var h=t+4+s*e;s!=i&&0!=o(h)||(a=n(a,h-a),void 0===r?r=a:(r+=String.fromCharCode(0),r+=a),a=h+e)}return Je(t),r},toWireType:(t,n)=>{if("string"!=typeof n)throw new tt(`Cannot pass non-string to C++ string type ${r}`);var o=a(n),s=Ke(4+o+e);return R[s>>2]=o/e,i(n,s+4,o+e),null!==t&&t.push(Je,s),s},oa:8,readValueFromPointer:gt,ga(t){Je(t)}})},s:t=>{rt(t,Nt)},t:(t,e)=>{rt(t,{hc:!0,name:e=Y(e),oa:0,fromWireType:()=>{},toWireType:()=>{}})},A:()=>{G=!1,Qt=0},y:()=>{throw 1/0},u:zt,v:t=>{9<t&&(Ht[t+1]+=1)},m:(t,e)=>{var r=K[t];if(void 0===r)throw t=`_emval_take_value has unknown type ${Ct(t)}`,new tt(t);return t=(t=r).readValueFromPointer(e),Mt(t)},B:(t,e)=>{if(te[t]&&(clearTimeout(te[t].id),delete te[t]),!e)return 0;var r=setTimeout((()=>{delete te[t],(t=>{if(!P)try{if(t(),!(G||0<Qt))try{g=t=g,ee(t)}catch(t){t instanceof z||"unwind"==t||d(1,t)}}catch(t){t instanceof z||"unwind"==t||d(1,t)}})((()=>tr(t,performance.now())))}),e);return te[t]={id:r,nc:e},0},C:t=>{var e=$.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))-y.buffer.byteLength+65535)/65536|0;try{y.grow(n),O();var i=1;break t}catch(t){}i=void 0}if(i)return!0}return!1},h:function(t,e){var r=nr();try{return Tt.get(t)(e)}catch(t){if(rr(r),t!==t+0)throw t;er(1,0)}},e:function(t,e,r){var n=nr();try{return Tt.get(t)(e,r)}catch(t){if(rr(n),t!==t+0)throw t;er(1,0)}},d:function(t,e,r,n){var i=nr();try{return Tt.get(t)(e,r,n)}catch(t){if(rr(i),t!==t+0)throw t;er(1,0)}},o:function(t,e,r,n,i,a){var o=nr();try{return Tt.get(t)(e,r,n,i,a)}catch(t){if(rr(o),t!==t+0)throw t;er(1,0)}},n:function(t){var e=nr();try{Tt.get(t)()}catch(t){if(rr(e),t!==t+0)throw t;er(1,0)}},a:function(t,e){var r=nr();try{Tt.get(t)(e)}catch(t){if(rr(r),t!==t+0)throw t;er(1,0)}},b:function(t,e,r){var n=nr();try{Tt.get(t)(e,r)}catch(t){if(rr(n),t!==t+0)throw t;er(1,0)}},f:function(t,e,r,n){var i=nr();try{Tt.get(t)(e,r,n)}catch(t){if(rr(i),t!==t+0)throw t;er(1,0)}},k:function(t,e,r,n,i){var a=nr();try{Tt.get(t)(e,r,n,i)}catch(t){if(rr(a),t!==t+0)throw t;er(1,0)}},z:ee},Ye=await async function(){function t(t){return y=(Ye=t.exports).H,O(),Tt=Ye.M,D(),Ye}j();var e={a:Ze};if(n.instantiateWasm)return new Promise((r=>{n.instantiateWasm(e,((e,n)=>{t(e),r(e.exports)}))}));x??=n.locateFile?n.locateFile?n.locateFile("thorvg.wasm",f):f+"thorvg.wasm":new URL("thorvg.wasm",import.meta.url).href;try{var i=await async function(t){var e=x;if(!C&&"function"==typeof WebAssembly.instantiateStreaming&&!F(e)&&!s)try{var r=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(r,t)}catch(t){v(`wasm streaming compile failed: ${t}`),v("falling back to ArrayBuffer instantiation")}return async function(t,e){try{var r=await async function(t){if(!C)try{var e=await l(t);return new Uint8Array(e)}catch{}if(t==x&&C)t=new Uint8Array(C);else{if(!c)throw"both async and sync fetching of the wasm failed";t=c(t)}return t}(t);return await WebAssembly.instantiate(r,e)}catch(t){v(`failed to asynchronously prepare wasm: ${t}`),H(t)}}(e,t)}(e);return t(i.instance)}catch(t){return r(t),Promise.reject(t)}}(),Je=Ye.J,Ke=Ye.K,Qe=Ye.L,tr=Ye.N,er=Ye.O,rr=Ye.P,nr=Ye.Q;if(n.addRunDependency=j,n.removeRunDependency=D,n.FS_createPreloadedFile=ye,n.FS_unlink=t=>Ie.unlink(t),n.FS_createPath=Le,n.FS_createDevice=Ge,n.FS=Ie,n.FS_createDataFile=(t,e,r,n,i,a)=>{Ie.La(t,e,r,n,i,a)},n.FS_createLazyFile=Be,n.preInit)for("function"==typeof n.preInit&&(n.preInit=[n.preInit]);0<n.preInit.length;)n.preInit.pop()();return function t(){function r(){if(n.calledRun=!0,!P){if(n.noFSInit||Ie.Ma||be(),Ye.I(),Ie.eb=!1,e(n),n.onRuntimeInitialized?.(),n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;){var t=n.postRun.shift();I.unshift(t)}N(I)}}if(0<V)W=t;else{if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)B();N(L),0<V?W=t:n.setStatus?(n.setStatus("Running..."),setTimeout((()=>{setTimeout((()=>n.setStatus("")),1),r()}),1)):r()}}(),i});function ct(t,e,r,n){var i,a=arguments.length,o=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(o=(a<3?i(o):a>3?i(e,r,o):i(e,r))||o);return a>3&&o&&Object.defineProperty(e,r,o),o}let ut,dt=!1;var ft,pt,wt,mt,vt,yt;!function(t){t.SW="sw",t.WG="wg",t.GL="gl"}(ft||(ft={})),function(t){t.IDLE="idle",t.FAILED="failed",t.REQUESTED="requested",t.INITIALIZED="initialized"}(pt||(pt={})),function(t){t.JSON="json",t.LOT="lot",t.JPG="jpg",t.PNG="png",t.SVG="svg"}(wt||(wt={})),function(t){t.Destroyed="destroyed",t.Error="error",t.Loading="loading",t.Paused="paused",t.Playing="playing",t.Stopped="stopped",t.Frozen="frozen"}(mt||(mt={})),function(t){t.Bounce="bounce",t.Normal="normal"}(vt||(vt={})),function(t){t.Complete="complete",t.Destroyed="destroyed",t.Error="error",t.Frame="frame",t.Freeze="freeze",t.Load="load",t.Loop="loop",t.Pause="pause",t.Play="play",t.Ready="ready",t.Stop="stop"}(yt||(yt={}));const gt=t=>new Promise((e=>setTimeout(e,t)));let bt="idle";class $t extends ot{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(dt)for(;!ut;)await gt(100);if(ut||(dt=!0,ut=await lt({locateFile:(t,e)=>t.endsWith(".wasm")?this.wasmUrl||"https://unpkg.com/@thorvg/lottie-player@latest/dist/sw/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"===bt;)await gt(100);if("initialized"!==bt)for(bt="requested";;)switch(ut.init()){case 0:return void(bt="initialized");case 1:return void(bt="failed");case 2:await gt(100)}}})(t),"failed"===bt)return this.currentState="error",void this.dispatchEvent(new CustomEvent("error"));this.TVG=new ut.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 o=0,s=0,h=this.canvas.width,l=this.canvas.height;t<0&&(o=Math.abs(t),h-=o),r<0&&(s=Math.abs(r),l-=s),e>i&&(h-=e-i),n>a&&(l-=n-a),this.TVG.viewport(o,s,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.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.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.buffer,t.byteOffset,t.byteLength);e.length<1||(this._imageData=new ImageData(e,this.canvas.width,this.canvas.height),this._flush())}async _update(){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 gt(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.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(!("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(){ut.term(),ut=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)}getVersion(){return{THORVG_VERSION:"1.0.0"}}render(){return L`
1
+ "use strict";var t="undefined"!=typeof document?document.currentScript:null;const e=globalThis,r=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,n=Symbol(),a=new WeakMap;let i=class{constructor(t,e,r){if(this._$cssResult$=!0,r!==n)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(r&&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 s=r?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new i("string"==typeof t?t:t+"",void 0,n))(e)})(t):t,{is:o,defineProperty:h,getOwnPropertyDescriptor:l,getOwnPropertyNames:c,getOwnPropertySymbols:u,getPrototypeOf:d}=Object,f=globalThis,p=f.trustedTypes,w=p?p.emptyScript:"",m=f.reactiveElementPolyfillSupport,v=(t,e)=>t,y={toAttribute(t,e){switch(e){case Boolean:t=t?w: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}},g=(t,e)=>!o(t,e),b={attribute:!0,type:String,converter:y,reflect:!1,useDefault:!1,hasChanged:g};Symbol.metadata??=Symbol("metadata"),f.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=b){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&&h(this.prototype,t,n)}}static getPropertyDescriptor(t,e,r){const{get:n,set:a}=l(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:n,set(e){const i=n?.call(this);a?.call(this,e),this.requestUpdate(t,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty(v("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(v("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(v("properties"))){const t=this.properties,e=[...c(t),...u(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(s(t))}else void 0!==t&&e.push(s(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,n)=>{if(r)t.adoptedStyleSheets=n.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const r of n){const n=document.createElement("style"),a=e.litNonce;void 0!==a&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}})(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 a=(void 0!==r.converter?.toAttribute?r.converter:y).toAttribute(e,r.type);this._$Em=t,null==a?this.removeAttribute(n):this.setAttribute(n,a),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),a="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:y;this._$Em=n;const i=a.fromAttribute(e,t.type);this[n]=i??this._$Ej?.get(n)??i,this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){const n=this.constructor,a=this[t];if(r??=n.getPropertyOptions(t),!((r.hasChanged??g)(a,e)||r.useDefault&&r.reflect&&a===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:a},i){r&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),!0!==a||void 0!==i)||(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"},$[v("elementProperties")]=new Map,$[v("finalized")]=new Map,m?.({ReactiveElement:$}),(f.reactiveElementVersions??=[]).push("2.1.1");const _={attribute:!0,type:String,converter:y,reflect:!1,hasChanged:g},A=(t=_,e,r)=>{const{kind:n,metadata:a}=r;let i=globalThis.litPropertyMetadata.get(a);if(void 0===i&&globalThis.litPropertyMetadata.set(a,i=new Map),"setter"===n&&((t=Object.create(t)).wrapped=!0),i.set(r.name,t),"accessor"===n){const{name:n}=r;return{set(r){const a=e.get.call(this);e.set.call(this,r),this.requestUpdate(n,a,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 a=this[n];e.call(this,r),this.requestUpdate(n,a,t)}}throw Error("Unsupported decorator location: "+n)};function E(t){return(e,r)=>"object"==typeof r?A(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,S=k.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,T="$lit$",R=`lit$${Math.random().toFixed(9).slice(2)}$`,P="?"+R,O=`<${P}>`,U=document,Z=()=>U.createComment(""),j=t=>null===t||"object"!=typeof t&&"function"!=typeof t,x=Array.isArray,F="[ \t\n\f\r]",N=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,D=/-->/g,M=/>/g,z=RegExp(`>|${F}(?:([^\\s"'>=/]+)(${F}*=${F}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),H=/'/g,I=/"/g,L=/^(?:script|style|textarea|title)$/i,V=(t,...e)=>({_$litType$:1,strings:t,values:e}),B=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),q=new WeakMap,W=U.createTreeWalker(U,129);function J(t,e){if(!x(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(e):e}const X=(t,e)=>{const r=t.length-1,n=[];let a,i=2===e?"<svg>":3===e?"<math>":"",s=N;for(let e=0;e<r;e++){const r=t[e];let o,h,l=-1,c=0;for(;c<r.length&&(s.lastIndex=c,h=s.exec(r),null!==h);)c=s.lastIndex,s===N?"!--"===h[1]?s=D:void 0!==h[1]?s=M:void 0!==h[2]?(L.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=z):void 0!==h[3]&&(s=z):s===z?">"===h[0]?(s=a??N,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===D||s===M?s=N:(s=z,a=void 0);const u=s===z&&t[e+1].startsWith("/>")?" ":"";i+=s===N?r+O:l>=0?(n.push(o),r.slice(0,l)+T+r.slice(l)+R+u):r+R+(-2===l?e:u)}return[J(t,i+(t[r]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),n]};class K{constructor({strings:t,_$litType$:e},r){let n;this.parts=[];let a=0,i=0;const s=t.length-1,o=this.parts,[h,l]=X(t,e);if(this.el=K.createElement(h,r),W.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(n=W.nextNode())&&o.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const t of n.getAttributeNames())if(t.endsWith(T)){const e=l[i++],r=n.getAttribute(t).split(R),s=/([.?@])?(.*)/.exec(e);o.push({type:1,index:a,name:s[2],strings:r,ctor:"."===s[1]?rt:"?"===s[1]?nt:"@"===s[1]?at:et}),n.removeAttribute(t)}else t.startsWith(R)&&(o.push({type:6,index:a}),n.removeAttribute(t));if(L.test(n.tagName)){const t=n.textContent.split(R),e=t.length-1;if(e>0){n.textContent=S?S.emptyScript:"";for(let r=0;r<e;r++)n.append(t[r],Z()),W.nextNode(),o.push({type:2,index:++a});n.append(t[e],Z())}}}else if(8===n.nodeType)if(n.data===P)o.push({type:2,index:a});else{let t=-1;for(;-1!==(t=n.data.indexOf(R,t+1));)o.push({type:7,index:a}),t+=R.length-1}a++}}static createElement(t,e){const r=U.createElement("template");return r.innerHTML=t,r}}function Q(t,e,r=t,n){if(e===B)return e;let a=void 0!==n?r._$Co?.[n]:r._$Cl;const i=j(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),void 0===i?a=void 0:(a=new i(t),a._$AT(t,r,n)),void 0!==n?(r._$Co??=[])[n]=a:r._$Cl=a),void 0!==a&&(e=Q(t,a._$AS(t,e.values),a,n)),e}class Y{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??U).importNode(e,!0);W.currentNode=n;let a=W.nextNode(),i=0,s=0,o=r[0];for(;void 0!==o;){if(i===o.index){let e;2===o.type?e=new tt(a,a.nextSibling,this,t):1===o.type?e=new o.ctor(a,o.name,o.strings,this,t):6===o.type&&(e=new it(a,this,t)),this._$AV.push(e),o=r[++s]}i!==o?.index&&(a=W.nextNode(),i++)}return W.currentNode=U,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 tt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,r,n){this.type=2,this._$AH=G,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),j(t)?t===G||null==t||""===t?(this._$AH!==G&&this._$AR(),this._$AH=G):t!==this._$AH&&t!==B&&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!==G&&j(this._$AH)?this._$AA.nextSibling.data=t:this.T(U.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(J(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===n)this._$AH.p(e);else{const t=new Y(n,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=q.get(t.strings);return void 0===e&&q.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 a of t)n===e.length?e.push(r=new tt(this.O(Z()),this.O(Z()),this,this.options)):r=e[n],r._$AI(a),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 et{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,r,n,a){this.type=1,this._$AH=G,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=a,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=G}_$AI(t,e=this,r,n){const a=this.strings;let i=!1;if(void 0===a)t=Q(this,t,e,0),i=!j(t)||t!==this._$AH&&t!==B,i&&(this._$AH=t);else{const n=t;let s,o;for(t=a[0],s=0;s<a.length-1;s++)o=Q(this,n[r+s],e,s),o===B&&(o=this._$AH[s]),i||=!j(o)||o!==this._$AH[s],o===G?t=G:t!==G&&(t+=(o??"")+a[s+1]),this._$AH[s]=o}i&&!n&&this.j(t)}j(t){t===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class rt extends et{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===G?void 0:t}}class nt extends et{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==G)}}class at extends et{constructor(t,e,r,n,a){super(t,e,r,n,a),this.type=5}_$AI(t,e=this){if((t=Q(this,t,e,0)??G)===B)return;const r=this._$AH,n=t===G&&r!==G||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,a=t!==G&&(r===G||n);n&&this.element.removeEventListener(this.name,this,r),a&&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 it{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 st=k.litHtmlPolyfillSupport;st?.(K,tt),(k.litHtmlVersions??=[]).push("3.3.1");const ot=globalThis;class ht 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 a=n._$litPart$;if(void 0===a){const t=r?.renderBefore??null;n._$litPart$=a=new tt(e.insertBefore(Z(),t),t,void 0,r??{})}return a._$AI(t),a})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return B}}ht._$litElement$=!0,ht.finalized=!0,ot.litElementHydrateSupport?.({LitElement:ht});const lt=ot.litElementPolyfillSupport;function ct(t,e,r,n){var a,i=arguments.length,s=i<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--)(a=t[o])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}lt?.({LitElement:ht}),(ot.litElementVersions??=[]).push("4.2.1");let ut=null,dt=!1;var ft=function(t){return t.JSON="json",t.LOT="lot",t.JPG="jpg",t.PNG="png",t.SVG="svg",t}({});const pt=t=>new Promise(e=>setTimeout(e,t));let wt="idle";class mt extends ht{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(dt)for(;!ut;)await pt(100);if(ut||(dt=!0,ut=await async function(e={}){var r,n=e,a=!!globalThis.window,i=!!globalThis.WorkerGlobalScope,s=globalThis.process?.versions?.node&&"renderer"!=globalThis.process?.type;if(s){const{createRequire:e}=await Promise.resolve().then(function(){return gt});var o=e("undefined"==typeof document?require("url").pathToFileURL(__filename).href:t&&"SCRIPT"===t.tagName.toUpperCase()&&t.src||new URL("lottie-player.cjs.js",document.baseURI).href)}var h,l,c=(t,e)=>{throw e},u="undefined"==typeof document?require("url").pathToFileURL(__filename).href:t&&"SCRIPT"===t.tagName.toUpperCase()&&t.src||new URL("lottie-player.cjs.js",document.baseURI).href,d="";if(s){var f=o("fs");u.startsWith("file:")&&(d=o("path").dirname(o("url").fileURLToPath(u))+"/"),l=t=>(t=U(t)?new URL(t):t,f.readFileSync(t)),h=async t=>(t=U(t)?new URL(t):t,f.readFileSync(t,void 0)),process.argv.slice(2),c=(t,e)=>{throw process.exitCode=t,e}}else if(a||i){try{d=new URL(".",u).href}catch{}i&&(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(U(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,E,k,S,C,T,R=function(){}.bind(),P=function(){}.bind(),O=!1,U=t=>t.startsWith("file://"),Z=!1;function j(){var t=rr.buffer;y=new Int8Array(t),b=new Int16Array(t),g=new Uint8Array(t),$=new Uint16Array(t),_=new Int32Array(t),A=new Uint32Array(t),E=new Float32Array(t),k=new Float64Array(t),S=new BigInt64Array(t),C=new BigUint64Array(t)}function x(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 F{name="ExitStatus";constructor(t){this.message=`Program terminated with exit(${t})`,this.status=t}}var N=t=>{for(;0<t.length;)t.shift()(n)},D=[],M=[],z=()=>{var t=n.preRun.shift();M.push(t)},H=!0,I=new TextDecoder,L=(t,e,r,n)=>{if(r=e+r,n)return r;for(;t[e]&&!(e>=r);)++e;return e},V=(t,e,r)=>t?I.decode(g.subarray(t,L(g,t,e,r))):"",B=t=>{for(var e="";;){var r=g[t++];if(!r)return e;e+=String.fromCharCode(r)}},G={},q={},W={},J=class extends Error{constructor(t){super(t),this.name="BindingError"}},X=t=>{throw new J(t)};function K(t,e,r={}){return function(t,e,r={}){var n=e.name;if(!t)throw new J(`type "${n}" must have a positive integer typeid pointer`);if(q.hasOwnProperty(t)){if(r.Ib)return;throw new J(`Cannot register type '${n}' twice`)}q[t]=e,delete W[t],G.hasOwnProperty(t)&&(e=G[t],delete G[t],e.forEach(t=>t()))}(t,e,r)}var Q=(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=>S[t>>3]:t=>C[t>>3];default:throw new TypeError(`invalid integer width (${e}): ${t}`)}},Y=t=>{throw new J(t.$.ha.ea.name+" instance already deleted")},tt=!1,et=()=>{},rt=t=>globalThis.FinalizationRegistry?(tt=new FinalizationRegistry(t=>{--(t=t.$).count.value,0===t.count.value&&(t.ka?t.oa.Ba(t.ka):t.ha.ea.Ba(t.fa))}),rt=t=>{var e=t.$;return e.ka&&tt.register(t,{$:e},t),t},et=t=>{tt.unregister(t)},rt(t)):(rt=t=>t,t);function nt(){}var at=(t,e)=>Object.defineProperty(e,"name",{value:t}),it={},st=(t,e,r)=>{if(void 0===t[e].ja){var n=t[e];t[e]=function(...n){if(!t[e].ja.hasOwnProperty(n.length))throw new J(`Function '${r}' called with an invalid number of arguments (${n.length}) - expects one of (${t[e].ja})!`);return t[e].ja[n.length].apply(this,n)},t[e].ja=[],t[e].ja[n.Ja]=n}},ot=(t,e,r)=>{if(n.hasOwnProperty(t)){if(void 0===r||void 0!==n[t].ja&&void 0!==n[t].ja[r])throw new J(`Cannot register public name '${t}' twice`);if(st(n,t,t),n[t].ja.hasOwnProperty(r))throw new J(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`);n[t].ja[r]=e}else n[t]=e,n[t].Ja=r};function ht(t,e,r,n,a,i,s,o){this.name=t,this.constructor=e,this.Ga=r,this.Ba=n,this.ma=a,this.Eb=i,this.Oa=s,this.Ab=o,this.Ob=[]}var lt=(t,e,r)=>{for(;e!==r;){if(!e.Oa)throw new J(`Expected null or instance of ${r.name}, got an instance of ${e.name}`);t=e.Oa(t),e=e.ma}return t},ct=t=>{if(null===t)return"null";var e=typeof t;return"object"===e||"array"===e||"function"===e?t.toString():""+t};function ut(t,e){if(null===e){if(this.Ya)throw new J(`null is not a valid ${this.name}`);return 0}if(!e.$)throw new J(`Cannot pass "${ct(e)}" as a ${this.name}`);if(!e.$.fa)throw new J(`Cannot pass deleted object as a pointer of type ${this.name}`);return lt(e.$.fa,e.$.ha.ea,this.ea)}function dt(t,e){if(null===e){if(this.Ya)throw new J(`null is not a valid ${this.name}`);if(this.Ra){var r=this.Pb();return null!==t&&t.push(this.Ba,r),r}return 0}if(!e||!e.$)throw new J(`Cannot pass "${ct(e)}" as a ${this.name}`);if(!e.$.fa)throw new J(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.Qa&&e.$.ha.Qa)throw new J(`Cannot convert argument of type ${e.$.oa?e.$.oa.name:e.$.ha.name} to parameter type ${this.name}`);if(r=lt(e.$.fa,e.$.ha.ea,this.ea),this.Ra){if(void 0===e.$.ka)throw new J("Passing raw pointer to smart pointer is illegal");switch(this.Rb){case 0:if(e.$.oa!==this)throw new J(`Cannot convert argument of type ${e.$.oa?e.$.oa.name:e.$.ha.name} to parameter type ${this.name}`);r=e.$.ka;break;case 1:r=e.$.ka;break;case 2:if(e.$.oa===this)r=e.$.ka;else{var n=e.clone();r=this.Qb(r,Ft(()=>n.delete())),null!==t&&t.push(this.Ba,r)}break;default:throw new J("Unsupporting sharing policy")}}return r}function ft(t,e){if(null===e){if(this.Ya)throw new J(`null is not a valid ${this.name}`);return 0}if(!e.$)throw new J(`Cannot pass "${ct(e)}" as a ${this.name}`);if(!e.$.fa)throw new J(`Cannot pass deleted object as a pointer of type ${this.name}`);if(e.$.ha.Qa)throw new J(`Cannot convert argument of type ${e.$.ha.name} to parameter type ${this.name}`);return lt(e.$.fa,e.$.ha.ea,this.ea)}function pt(t){return this.la(A[t>>2])}var wt=(t,e,r)=>e===r?t:void 0===r.ma||null===(t=wt(t,e,r.ma))?null:r.Ab(t),mt={},vt=class extends Error{constructor(t){super(t),this.name="InternalError"}},yt=(t,e)=>{if(!e.ha||!e.fa)throw new vt("makeClassHandle requires ptr and ptrType");if(!!e.oa!=!!e.ka)throw new vt("Both smartPtrType and smartPtr must be specified");return e.count={value:1},rt(Object.create(t,{$:{value:e,writable:!0}}))};function bt(t,e,r,n,a,i,s,o,h,l,c){this.name=t,this.ea=e,this.Ya=r,this.Qa=n,this.Ra=a,this.Nb=i,this.Rb=s,this.rb=o,this.Pb=h,this.Qb=l,this.Ba=c,a||void 0!==e.ma?this.pa=dt:(this.pa=n?ut:ft,this.qa=null)}var $t=(t,e,r)=>{if(!n.hasOwnProperty(t))throw new vt("Replacing nonexistent public symbol");void 0!==n[t].ja&&void 0!==r?n[t].ja[r]=e:(n[t]=e,n[t].Ja=r)},_t=(t,e)=>{t=B(t);var r=nr.get(e);if("function"!=typeof r)throw new J(`unknown function pointer with signature ${t}: ${e}`);return r};class At extends Error{}var Et=t=>{t=Ke(t);var e=B(t);return Je(t),e},kt=(t,e)=>{var r=[],n={};throw e.forEach(function t(e){n[e]||q[e]||(W[e]?W[e].forEach(t):(r.push(e),n[e]=!0))}),new At(`${t}: `+r.map(Et).join([", "]))},St=(t,e,r)=>{function n(e){if((e=r(e)).length!==t.length)throw new vt("Mismatched type converter count");for(var n=0;n<t.length;++n)K(t[n],e[n])}t.forEach(t=>W[t]=e);var a=Array(e.length),i=[],s=0;for(let[t,r]of e.entries())q.hasOwnProperty(r)?a[t]=q[r]:(i.push(r),G.hasOwnProperty(r)||(G[r]=[]),G[r].push(()=>{a[t]=q[r],++s===i.length&&n(a)}));0===i.length&&n(a)},Ct=(t,e)=>{for(var r=[],n=0;n<t;n++)r.push(A[e+4*n>>2]);return r},Tt=t=>{for(;t.length;){var e=t.pop();t.pop()(e)}};function Rt(t){for(var e=1;e<t.length;++e)if(null!==t[e]&&void 0===t[e].qa)return!0;return!1}function Pt(t,e,r,n,a,i){var s=e.length;if(2>s)throw new J("argTypes array size mismatch! Must at least get return value and 'this' types!");var o=null!==e[1]&&null!==r,h=Rt(e);r=!e[0].pb;var l=e[0],c=e[1];for(n=[t,X,n,a,Tt,l.la.bind(l),c?.pa.bind(c)],a=2;a<s;++a)n.push((l=e[a]).pa.bind(l));if(!h)for(a=o?1:2;a<e.length;++a)null!==e[a].qa&&n.push(e[a].qa);for(h=Rt(e),a=e.length-2,c=[],l=["fn"],o&&l.push("thisWired"),s=0;s<a;++s)c.push(`arg${s}`),l.push(`arg${s}Wired`);c=c.join(","),l=l.join(","),c=`return function (${c}) {\n`,h&&(c+="var destructors = [];\n");var u=h?"destructors":"null",d="humanName throwBindingError invoker fn runDestructors fromRetWire toClassParamWire".split(" ");for(o&&(c+=`var thisWired = toClassParamWire(${u}, this);\n`),s=0;s<a;++s){var f=`toArg${s}Wire`;c+=`var arg${s}Wired = ${f}(${u}, arg${s});\n`,d.push(f)}if(c+=(r||i?"var rv = ":"")+`invoker(${l});\n`,h)c+="runDestructors(destructors);\n";else for(s=o?1:2;s<e.length;++s)i=1===s?"thisWired":"arg"+(s-2)+"Wired",null!==e[s].qa&&(c+=`${i}_dtor(${i});\n`,d.push(`${i}_dtor`));return r&&(c+="var ret = fromRetWire(rv);\nreturn ret;\n"),e=new Function(d,c+"}\n")(...n),at(t,e)}var Ot=t=>{const e=(t=t.trim()).indexOf("(");return-1===e?t:t.slice(0,e)},Ut=[],Zt=[0,1,,1,null,1,!0,1,!1,1],jt=t=>{9<t&&0===--Zt[t+1]&&(Zt[t]=void 0,Ut.push(t))},xt=t=>{if(!t)throw new J(`Cannot use deleted val. handle = ${t}`);return Zt[t]},Ft=t=>{switch(t){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:const e=Ut.pop()||Zt.length;return Zt[e]=t,Zt[e+1]=1,e}},Nt={name:"emscripten::val",la:t=>{var e=xt(t);return jt(t),e},pa:(t,e)=>Ft(e),za:pt,qa:null},Dt=(t,e)=>{switch(e){case 4:return function(t){return this.la(E[t>>2])};case 8:return function(t){return this.la(k[t>>3])};default:throw new TypeError(`invalid float width (${e}): ${t}`)}},Mt=(t,e,r,n)=>{if(!(0<n))return 0;var a=r;n=r+n-1;for(var i=0;i<t.length;++i){var s=t.codePointAt(i);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,i++}}return e[r]=0,r-a},zt=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},Ht=new TextDecoder("utf-16le"),It=(t,e,r)=>Ht.decode($.subarray(t>>=1,L($,t,e/2,r))),Lt=(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 a=0;a<r;++a)b[e>>1]=t.charCodeAt(a),e+=2;return b[e>>1]=0,e-n},Vt=t=>2*t.length,Bt=(t,e,r)=>{var n="";t>>=2;for(var a=0;!(a>=e/4);a++){var i=A[t+a];if(!i&&!r)break;n+=String.fromCodePoint(i)}return n},Gt=(t,e,r)=>{if(r??=2147483647,4>r)return 0;var n=e;r=n+r-4;for(var a=0;a<t.length;++a){var i=t.codePointAt(a);if(65535<i&&a++,_[e>>2]=i,(e+=4)+4>r)break}return _[e>>2]=0,e-n},qt=t=>{for(var e=0,r=0;r<t.length;++r)65535<t.codePointAt(r)&&r++,e+=4;return e},Wt=0,Jt=[],Xt=(t,e,r)=>{var n=[];return t=t(n,r),n.length&&(A[e>>2]=Ft(n)),t},Kt={},Qt=t=>{var e=Kt[t];return void 0===e?B(t):e},Yt={},te=t=>{w=t,H||0<Wt||(n.onExit?.(t),O=!0),c(t,new F(t))},ee=(t,e)=>{for(var r=0,n=t.length-1;0<=n;n--){var a=t[n];"."===a?t.splice(n,1):".."===a?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r;r--)t.unshift("..");return t},re=t=>{var e="/"===t.charAt(0),r="/"===t.slice(-1);return(t=ee(t.split("/").filter(t=>!!t),!e).join("/"))||e||(t="."),t&&r&&(t+="/"),(e?"/":"")+t},ne=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):"."},ae=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)},se=(...t)=>{for(var e="",r=!1,n=t.length-1;-1<=n&&!r;n--){if("string"!=typeof(r=0<=n?t[n]:We.cwd()))throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";e=r+"/"+e,r="/"===r.charAt(0)}return e=ee(e.split("/").filter(t=>!!t),!r).join("/"),(r?"/":"")+e||"."},oe=(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=se(t).slice(1),e=se(e).slice(1),t=r(t.split("/")),e=r(e.split("/"));for(var n=Math.min(t.length,e.length),a=n,i=0;i<n;i++)if(t[i]!==e[i]){a=i;break}for(n=[],i=a;i<t.length;i++)n.push("..");return(n=n.concat(e.slice(a))).join("/")},he=t=>{var e=L(t,0);return I.decode(t.buffer?t.subarray(0,e):new Uint8Array(t.slice(0,e)))},le=[],ce=t=>{var e=Array(zt(t)+1);return t=Mt(t,e,0,e.length),e.length=t,e},ue=[];function de(t,e){ue[t]={input:[],output:[],Ia:e},ke(t,fe)}var fe={open(t){var e=ue[t.node.rdev];if(!e)throw new We.Z(43);t.tty=e,t.seekable=!1},close(t){t.tty.Ia.fsync(t.tty)},fsync(t){t.tty.Ia.fsync(t.tty)},read(t,e,r,n){if(!t.tty||!t.tty.Ia.mb)throw new We.Z(60);for(var a=0,i=0;i<n;i++){try{var s=t.tty.Ia.mb(t.tty)}catch(t){throw new We.Z(29)}if(void 0===s&&0===a)throw new We.Z(6);if(null==s)break;a++,e[r+i]=s}return a&&(t.node.atime=Date.now()),a},write(t,e,r,n){if(!t.tty||!t.tty.Ia.bb)throw new We.Z(60);try{for(var a=0;a<n;a++)t.tty.Ia.bb(t.tty,e[r+a])}catch(t){throw new We.Z(29)}return n&&(t.node.mtime=t.node.ctime=Date.now()),a}},pe={mb(){t:{if(!le.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}le=ce(t)}t=le.shift()}return t},bb(t,e){null===e||10===e?(R(he(t.output)),t.output=[]):0!=e&&t.output.push(e)},fsync(t){0<t.output?.length&&(R(he(t.output)),t.output=[])},mc:()=>({Zb:25856,ac:5,Yb:191,$b:35387,Xb:[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]}),nc:()=>0,oc:()=>[24,80]},we={bb(t,e){null===e||10===e?(P(he(t.output)),t.output=[]):0!=e&&t.output.push(e)},fsync(t){0<t.output?.length&&(P(he(t.output)),t.output=[])}},me={va:null,ga:()=>me.createNode(null,"/",16895,0),createNode(t,e,r,n){if(24576==(61440&r)||We.isFIFO(r))throw new We.Z(63);return me.va||(me.va={dir:{node:{sa:me.aa.sa,ua:me.aa.ua,lookup:me.aa.lookup,xa:me.aa.xa,rename:me.aa.rename,unlink:me.aa.unlink,rmdir:me.aa.rmdir,readdir:me.aa.readdir,symlink:me.aa.symlink},stream:{na:me.ba.na}},file:{node:{sa:me.aa.sa,ua:me.aa.ua},stream:{na:me.ba.na,read:me.ba.read,write:me.ba.write,Ha:me.ba.Ha,Ma:me.ba.Ma}},link:{node:{sa:me.aa.sa,ua:me.aa.ua,readlink:me.aa.readlink},stream:{}},fb:{node:{sa:me.aa.sa,ua:me.aa.ua},stream:We.yb}}),Se((r=We.createNode(t,e,r,n)).mode)?(r.aa=me.va.dir.node,r.ba=me.va.dir.stream,r.da={}):We.isFile(r.mode)?(r.aa=me.va.file.node,r.ba=me.va.file.stream,r.ia=0,r.da=null):40960==(61440&r.mode)?(r.aa=me.va.link.node,r.ba=me.va.link.stream):8192==(61440&r.mode)&&(r.aa=me.va.fb.node,r.ba=me.va.fb.stream),r.atime=r.mtime=r.ctime=Date.now(),t&&(t.da[e]=r,t.atime=t.mtime=t.ctime=r.atime),r},lc:t=>t.da?t.da.subarray?t.da.subarray(0,t.ia):new Uint8Array(t.da):new Uint8Array(0),aa:{sa(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=Se(t.mode)?4096:We.isFile(t.mode)?t.ia: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},ua(t,e){for(var r of["mode","atime","mtime","ctime"])null!=e[r]&&(t[r]=e[r]);void 0!==e.size&&t.ia!=(e=e.size)&&(0==e?(t.da=null,t.ia=0):(r=t.da,t.da=new Uint8Array(e),r&&t.da.set(r.subarray(0,Math.min(e,t.ia))),t.ia=e))},lookup(){throw me.Va||(me.Va=new We.Z(44),me.Va.stack="<generic error, no stack>"),me.Va},xa:(t,e,r,n)=>me.createNode(t,e,r,n),rename(t,e,r){try{var n=Ce(e,r)}catch(t){}if(n){if(Se(t.mode))for(var a in n.da)throw new We.Z(55);Te(n)}delete t.parent.da[t.name],e.da[r]=t,t.name=r,e.ctime=e.mtime=t.parent.ctime=t.parent.mtime=Date.now()},unlink(t,e){delete t.da[e],t.ctime=t.mtime=Date.now()},rmdir(t,e){var r,n=Ce(t,e);for(r in n.da)throw new We.Z(55);delete t.da[e],t.ctime=t.mtime=Date.now()},readdir:t=>[".","..",...Object.keys(t.da)],symlink:(t,e,r)=>((t=me.createNode(t,e,41471,0)).link=r,t),readlink(t){if(40960!=(61440&t.mode))throw new We.Z(28);return t.link}},ba:{read(t,e,r,n,a){var i=t.node.da;if(a>=t.node.ia)return 0;if(8<(t=Math.min(t.node.ia-a,n))&&i.subarray)e.set(i.subarray(a,a+t),r);else for(n=0;n<t;n++)e[r+n]=i[a+n];return t},write(t,e,r,n,a,i){if(e.buffer===y.buffer&&(i=!1),!n)return 0;if((t=t.node).mtime=t.ctime=Date.now(),e.subarray&&(!t.da||t.da.subarray)){if(i)return t.da=e.subarray(r,r+n),t.ia=n;if(0===t.ia&&0===a)return t.da=e.slice(r,r+n),t.ia=n;if(a+n<=t.ia)return t.da.set(e.subarray(r,r+n),a),n}var s=t.da?t.da.length:0;if(s>=(i=a+n)||(i=Math.max(i,s*(1048576>s?2:1.125)>>>0),0!=s&&(i=Math.max(i,256)),s=t.da,t.da=new Uint8Array(i),0<t.ia&&t.da.set(s.subarray(0,t.ia),0)),t.da.subarray&&e.subarray)t.da.set(e.subarray(r,r+n),a);else for(i=0;i<n;i++)t.da[a+i]=e[r+i];return t.ia=Math.max(t.ia,a+n),n},na(t,e,r){if(1===r?e+=t.position:2===r&&We.isFile(t.node.mode)&&(e+=t.node.ia),0>e)throw new We.Z(28);return e},Ha(t,e,r,n,a){if(!We.isFile(t.node.mode))throw new We.Z(43);if(t=t.node.da,2&a||!t||t.buffer!==y.buffer){if(n=!0,x(),!(a=void 0))throw new We.Z(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,a))}else n=!1,a=t.byteOffset;return{fa:a,Tb:n}},Ma:(t,e,r,n)=>(me.ba.write(t,e,0,n,r,!1),0)}},ve=(t,e)=>{var r=0;return t&&(r|=365),e&&(r|=146),r},ye=0,ge=null,be=()=>{if(ye--,n.monitorRunDependencies?.(ye),0==ye&&ge){var t=ge;ge=null,t()}},$e=()=>{ye++,n.monitorRunDependencies?.(ye)},_e=[],Ae=async(t,e,r,n,a,i,s,o)=>{var l=e?se(re(t+"/"+e)):t;$e();try{var c=r;"string"==typeof r&&(c=await(async t=>(t=await h(t),new Uint8Array(t)))(r)),c=await(async(t,e)=>{for(var r of("undefined"!=typeof Browser&&Ee(),_e))if(r.canHandle(e))return r.handle(t,e);return t})(c,l),o?.(),i||Re(t,e,c,n,a,s)}finally{be()}};function Ee(){var t,e,r;We.Xa=!0,t??=n.stdin,e??=n.stdout,r??=n.stderr,t?We.Aa("/dev","stdin",t):We.symlink("/dev/tty","/dev/stdin"),e?We.Aa("/dev","stdout",null,e):We.symlink("/dev/tty","/dev/stdout"),r?We.Aa("/dev","stderr",null,r):We.symlink("/dev/tty1","/dev/stderr"),We.open("/dev/stdin",0),We.open("/dev/stdout",1),We.open("/dev/stderr",1)}function ke(t,e){We.jb[t]={ba:e}}function Se(t){return 16384==(61440&t)}function Ce(t,e){var r=Se(t.mode)?(r=xe(t,"x"))?r:t.aa.lookup?0:2:54;if(r)throw new We.Z(r);for(r=We.ya[Ue(t.id,e)];r;r=r.Fa)if(r.parent.id===t.id&&r.name===e)return r;return We.lookup(t,e)}function Te(t){var e=Ue(t.parent.id,t.name);if(We.ya[e]===t)We.ya[e]=t.Fa;else for(e=We.ya[e];e;){if(e.Fa===t){e.Fa=t.Fa;break}e=e.Fa}}function Re(t,e,r,n,a,i){var s=e;if(t&&(t="string"==typeof t?t:Oe(t),s=e?re(t+"/"+e):t),t=ve(n,a),s=We.create(s,t),r){if("string"==typeof r){for(e=Array(r.length),n=0,a=r.length;n<a;++n)e[n]=r.charCodeAt(n);r=e}We.chmod(s,146|t),e=We.open(s,577),We.write(e,r,0,r.length,0,i),We.close(e),We.chmod(s,t)}}function Pe(t,e={}){if(!t)throw new We.Z(44);e.Pa??(e.Pa=!0),"/"===t.charAt(0)||(t=We.cwd()+"/"+t);var r=0;t:for(;40>r;r++){t=t.split("/").filter(t=>!!t);for(var n=We.root,a="/",i=0;i<t.length;i++){var s=i===t.length-1;if(s&&e.parent)break;if("."!==t[i])if(".."===t[i]){if(a=ne(a),We.Za(n)){t=a+"/"+t.slice(i+1).join("/"),r--;continue t}n=n.parent}else{a=re(a+"/"+t[i]);try{n=Ce(n,t[i])}catch(t){if(44===t?.Da&&s&&e.Lb)return{path:a};throw t}if(!n.ta||s&&!e.Pa||(n=n.ta.root),40960==(61440&n.mode)&&(!s||e.ra)){if(!n.aa.readlink)throw new We.Z(52);"/"===(n=n.aa.readlink(n)).charAt(0)||(n=ne(a)+"/"+n),t=n+"/"+t.slice(i+1).join("/");continue t}}}return{path:a,node:n}}throw new We.Z(32)}function Oe(t){for(var e;;){if(We.Za(t))return t=t.ga.qb,e?"/"!==t[t.length-1]?`${t}/${e}`:t+e:t;e=e?`${t.name}/${e}`:t.name,t=t.parent}}function Ue(t,e){for(var r=0,n=0;n<e.length;n++)r=(r<<5)-r+e.charCodeAt(n)|0;return(t+r>>>0)%We.ya.length}function Ze(t){var e=Ue(t.parent.id,t.name);t.Fa=We.ya[e],We.ya[e]=t}function je(t){var e=["r","w","rw"][3&t];return 512&t&&(e+="w"),e}function xe(t,e){return We.nb?0:!e.includes("r")||292&t.mode?e.includes("w")&&!(146&t.mode)||e.includes("x")&&!(73&t.mode)?2:0:2}function Fe(t,e){if(!Se(t.mode))return 54;try{return Ce(t,e),20}catch(t){}return xe(t,"wx")}function Ne(t,e,r){try{var n=Ce(t,e)}catch(t){return t.Da}if(t=xe(t,"wx"))return t;if(r){if(!Se(n.mode))return 54;if(We.Za(n)||Oe(n)===We.cwd())return 10}else if(Se(n.mode))return 31;return 0}function De(t,e){if(!t)throw new We.Z(e);return t}function Me(t){if(!(t=We.Hb(t)))throw new We.Z(8);return t}function ze(t,e=-1){if(t=Object.assign(new We.wb,t),-1==e)t:{for(e=0;e<=We.xb;e++)if(!We.streams[e])break t;throw new We.Z(33)}return t.fd=e,We.streams[e]=t}function He(t,e,r){var n=t?.ba.ua;t=n?t:e,n??=e.aa.ua,De(n,63),n(t,r)}function Ie(t){var e=[];for(t=[t];t.length;){var r=t.pop();e.push(r),t.push(...r.La)}return e}function Le(t){var e={Wb:4096,ic:4096,blocks:1e6,Vb:5e5,Ub:5e5,files:We.ab,fc:We.ab-1,jc:42,flags:2,rc:255};return t.aa.tb&&Object.assign(e,t.aa.tb(t.ga.Mb.root)),e}function Ve(t,e,r){return void 0===r&&(r=e,e=438),We.xa(t,8192|e,r)}function Be(t,e,r,n){He(t,e,{mode:4095&r|-4096&e.mode,ctime:Date.now(),kb:n})}function Ge(t,e,r){if(Se(e.mode))throw new We.Z(31);if(!We.isFile(e.mode))throw new We.Z(28);var n=xe(e,"w");if(n)throw new We.Z(n);He(t,e,{size:r,timestamp:Date.now()})}function qe(t){if(!(t.Jb||t.Kb||t.link||t.da))if(globalThis.XMLHttpRequest)x("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.da=l(t.url)}catch(t){throw new We.Z(29)}}var We={root:null,La:[],jb:{},streams:[],ab:1,ya:null,gb:"/",Xa:!1,nb:!0,Db:null,Sa:0,sb:{},Z:class{name="ErrnoError";constructor(t){this.Da=t}},wb:class{wa={};node=null;get object(){return this.node}set object(t){this.node=t}get flags(){return this.wa.flags}set flags(t){this.wa.flags=t}get position(){return this.wa.position}set position(t){this.wa.position=t}},vb:class{aa={};ba={};ta=null;constructor(t,e,r,n){t||=this,this.parent=t,this.ga=t.ga,this.id=We.ab++,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 Kb(){return Se(this.mode)}get Jb(){return 8192==(61440&this.mode)}},createNode:(t,e,r,n)=>(Ze(t=new We.vb(t,e,r,n)),t),Za:t=>t===t.parent,isFile:t=>32768==(61440&t),isFIFO:t=>4096==(61440&t),isSocket:t=>!(49152&~t),xb:4096,Hb:t=>We.streams[t],ec:(t,e=-1)=>(t=ze(t,e),t.ba?.dc?.(t),t),yb:{open(t){t.ba=We.Fb(t.node.rdev).ba,t.ba.open?.(t)},na(){throw new We.Z(70)}},$a:t=>t>>8,pc:t=>255&t,Ea:(t,e)=>t<<8|e,Fb:t=>We.jb[t],ub(t,e){function r(t){return We.Sa--,e(t)}function n(t){if(t){if(!n.Bb)return n.Bb=!0,r(t)}else++s>=i.length&&r(null)}"function"==typeof t&&(e=t,t=!1),We.Sa++,1<We.Sa&&P(`warning: ${We.Sa} FS.syncfs operations in flight at once, probably just doing extra work`);var a,i=Ie(We.root.ga),s=0;for(a of i)a.type.ub?a.type.ub(a,t,n):n(null)},ga(t,e,r){var n="/"===r;if(n&&We.root)throw new We.Z(10);if(!n&&r){var a=Pe(r,{Pa:!1});if(r=a.path,(a=a.node).ta)throw new We.Z(10);if(!Se(a.mode))throw new We.Z(54)}return(t=t.ga(e={type:t,Mb:e,qb:r,La:[]})).ga=e,e.root=t,n?We.root=t:a&&(a.ta=e,a.ga&&a.ga.La.push(e)),t},wc(t){if(!(t=Pe(t,{Pa:!1})).node.ta)throw new We.Z(28);var e=(t=t.node).ta,r=Ie(e);for([,a]of Object.entries(We.ya))for(;a;){var n=a.Fa;r.includes(a.ga)&&Te(a);var a=n}t.ta=null,t.ga.La.splice(t.ga.La.indexOf(e),1)},lookup:(t,e)=>t.aa.lookup(t,e),xa(t,e,r){var n=Pe(t,{parent:!0}).node;if(!(t=ae(t)))throw new We.Z(28);if("."===t||".."===t)throw new We.Z(20);var a=Fe(n,t);if(a)throw new We.Z(a);if(!n.aa.xa)throw new We.Z(63);return n.aa.xa(n,t,e,r)},tb:t=>Le(Pe(t,{ra:!0}).node),uc:t=>Le(t.node),create:(t,e=438)=>We.xa(t,4095&e|32768,0),mkdir:(t,e=511)=>We.xa(t,1023&e|16384,0),qc(t,e){var r,n=t.split("/"),a="";for(r of n)if(r){(a||"/"===t.charAt(0))&&(a+="/"),a+=r;try{We.mkdir(a,e)}catch(t){if(20!=t.Da)throw t}}},symlink(t,e){if(!se(t))throw new We.Z(44);var r=Pe(e,{parent:!0}).node;if(!r)throw new We.Z(44);var n=Fe(r,e=ae(e));if(n)throw new We.Z(n);if(!r.aa.symlink)throw new We.Z(63);return r.aa.symlink(r,e,t)},rename(t,e){var r=ne(t),n=ne(e),a=ae(t),i=ae(e),s=Pe(t,{parent:!0}),o=s.node;if(s=(s=Pe(e,{parent:!0})).node,!o||!s)throw new We.Z(44);if(o.ga!==s.ga)throw new We.Z(75);var h=Ce(o,a);if("."!==(t=oe(t,n)).charAt(0))throw new We.Z(28);if("."!==(t=oe(e,r)).charAt(0))throw new We.Z(55);try{var l=Ce(s,i)}catch(t){}if(h!==l){if(a=Ne(o,a,e=Se(h.mode)))throw new We.Z(a);if(a=l?Ne(s,i,e):Fe(s,i))throw new We.Z(a);if(!o.aa.rename)throw new We.Z(63);if(h.ta||l&&l.ta)throw new We.Z(10);if(s!==o&&(a=xe(o,"w")))throw new We.Z(a);Te(h);try{o.aa.rename(h,s,i),h.parent=s}catch(t){throw t}finally{Ze(h)}}},rmdir(t){var e=Pe(t,{parent:!0}).node,r=Ce(e,t=ae(t)),n=Ne(e,t,!0);if(n)throw new We.Z(n);if(!e.aa.rmdir)throw new We.Z(63);if(r.ta)throw new We.Z(10);e.aa.rmdir(e,t),Te(r)},readdir:t=>De((t=Pe(t,{ra:!0}).node).aa.readdir,54)(t),unlink(t){var e=Pe(t,{parent:!0}).node;if(!e)throw new We.Z(44);var r=Ce(e,t=ae(t)),n=Ne(e,t,!1);if(n)throw new We.Z(n);if(!e.aa.unlink)throw new We.Z(63);if(r.ta)throw new We.Z(10);e.aa.unlink(e,t),Te(r)},readlink(t){if(!(t=Pe(t).node))throw new We.Z(44);if(!t.aa.readlink)throw new We.Z(28);return t.aa.readlink(t)},stat:(t,e)=>De((t=Pe(t,{ra:!e}).node).aa.sa,63)(t),fstat(t){var e=Me(t);t=e.node;var r=e.ba.sa;return e=r?e:t,r??=t.aa.sa,De(r,63),r(e)},lstat:t=>We.stat(t,!0),chmod(t,e,r){Be(null,t="string"==typeof t?Pe(t,{ra:!r}).node:t,e,r)},lchmod(t,e){We.chmod(t,e,!0)},fchmod(t,e){Be(t=Me(t),t.node,e,!1)},chown(t,e,r,n){He(null,t="string"==typeof t?Pe(t,{ra:!n}).node:t,{timestamp:Date.now(),kb:n})},lchown(t,e,r){We.chown(t,e,r,!0)},fchown(t){He(t=Me(t),t.node,{timestamp:Date.now(),kb:!1})},truncate(t,e){if(0>e)throw new We.Z(28);Ge(null,t="string"==typeof t?Pe(t,{ra:!0}).node:t,e)},kc(t,e){if(t=Me(t),0>e||!(2097155&t.flags))throw new We.Z(28);Ge(t,t.node,e)},xc(t,e,r){De((t=Pe(t,{ra:!0}).node).aa.ua,63)(t,{atime:e,mtime:r})},open(t,e,r=438){if(""===t)throw new We.Z(44);if("string"==typeof e){var a={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[e];if(void 0===a)throw Error(`Unknown file open mode: ${e}`);e=a}if(r=64&e?4095&r|32768:0,"object"==typeof t)a=t;else{var i=t.endsWith("/");a=(t=Pe(t,{ra:!(131072&e),Lb:!0})).node,t=t.path}var s=!1;if(64&e)if(a){if(128&e)throw new We.Z(20)}else{if(i)throw new We.Z(31);a=We.xa(t,511|r,0),s=!0}if(!a)throw new We.Z(44);if(8192==(61440&a.mode)&&(e&=-513),65536&e&&!Se(a.mode))throw new We.Z(54);if(!s&&(i=a?40960==(61440&a.mode)?32:Se(a.mode)&&("r"!==je(e)||576&e)?31:xe(a,je(e)):44))throw new We.Z(i);return 512&e&&!s&&We.truncate(a,0),e&=-131713,(i=ze({node:a,path:Oe(a),flags:e,seekable:!0,position:0,ba:a.ba,Sb:[],error:!1})).ba.open&&i.ba.open(i),s&&We.chmod(a,511&r),!n.logReadFiles||1&e||t in We.sb||(We.sb[t]=1),i},close(t){if(null===t.fd)throw new We.Z(8);t.Wa&&(t.Wa=null);try{t.ba.close&&t.ba.close(t)}catch(t){throw t}finally{We.streams[t.fd]=null}t.fd=null},na(t,e,r){if(null===t.fd)throw new We.Z(8);if(!t.seekable||!t.ba.na)throw new We.Z(70);if(0!=r&&1!=r&&2!=r)throw new We.Z(28);return t.position=t.ba.na(t,e,r),t.Sb=[],t.position},read(t,e,r,n,a){if(0>n||0>a)throw new We.Z(28);if(null===t.fd)throw new We.Z(8);if(1==(2097155&t.flags))throw new We.Z(8);if(Se(t.node.mode))throw new We.Z(31);if(!t.ba.read)throw new We.Z(28);var i=void 0!==a;if(i){if(!t.seekable)throw new We.Z(70)}else a=t.position;return e=t.ba.read(t,e,r,n,a),i||(t.position+=e),e},write(t,e,r,n,a,i){if(0>n||0>a)throw new We.Z(28);if(null===t.fd)throw new We.Z(8);if(!(2097155&t.flags))throw new We.Z(8);if(Se(t.node.mode))throw new We.Z(31);if(!t.ba.write)throw new We.Z(28);t.seekable&&1024&t.flags&&We.na(t,0,2);var s=void 0!==a;if(s){if(!t.seekable)throw new We.Z(70)}else a=t.position;return e=t.ba.write(t,e,r,n,a,i),s||(t.position+=e),e},Ha(t,e,r,n,a){if(2&n&&!(2&a)&&2!=(2097155&t.flags))throw new We.Z(2);if(1==(2097155&t.flags))throw new We.Z(2);if(!t.ba.Ha)throw new We.Z(43);if(!e)throw new We.Z(28);return t.ba.Ha(t,e,r,n,a)},Ma:(t,e,r,n,a)=>t.ba.Ma?t.ba.Ma(t,e,r,n,a):0,ob(t,e,r){if(!t.ba.ob)throw new We.Z(59);return t.ba.ob(t,e,r)},readFile(t,e={}){e.flags=e.flags||0,e.encoding=e.encoding||"binary","utf8"!==e.encoding&&"binary"!==e.encoding&&x(`Invalid encoding type "${e.encoding}"`);var r=We.open(t,e.flags);t=We.stat(t).size;var n=new Uint8Array(t);return We.read(r,n,0,t,0),"utf8"===e.encoding&&(n=he(n)),We.close(r),n},writeFile(t,e,r={}){r.flags=r.flags||577,t=We.open(t,r.flags,r.mode),"string"==typeof e&&(e=new Uint8Array(ce(e))),ArrayBuffer.isView(e)?We.write(t,e,0,e.byteLength,void 0,r.bc):x("Unsupported data type"),We.close(t)},cwd:()=>We.gb,chdir(t){if(null===(t=Pe(t,{ra:!0})).node)throw new We.Z(44);if(!Se(t.node.mode))throw new We.Z(54);var e=xe(t.node,"x");if(e)throw new We.Z(e);We.gb=t.path},tc(){for(var t of(We.Xa=!1,We.streams))t&&We.close(t)},hc(t,e){try{var r=Pe(t,{ra:!e});t=r.path}catch(t){}var n=!1,a=null;try{r=Pe(t,{parent:!0}),ae(t),r=Pe(t,{ra:!e}),n=!0,a=r.node}catch(t){}return n?a:null},Aa(t,e,r,n){var a;return t=((t,e)=>re(t+"/"+e))("string"==typeof t?t:Oe(t),e),e=ve(!!r,!!n),(a=We.Aa).$a??(a.$a=64),ke(a=We.Ea(We.Aa.$a++,0),{open(t){t.seekable=!1},close(){n?.buffer?.length&&n(10)},read(t,e,n,a){for(var i=0,s=0;s<a;s++){try{var o=r()}catch(t){throw new We.Z(29)}if(void 0===o&&0===i)throw new We.Z(6);if(null==o)break;i++,e[n+s]=o}return i&&(t.node.atime=Date.now()),i},write(t,e,r,a){for(var i=0;i<a;i++)try{n(e[r+i])}catch(t){throw new We.Z(29)}return a&&(t.node.mtime=t.node.ctime=Date.now()),i}}),Ve(t,e,a)}};if((()=>{let t=nt.prototype;Object.assign(t,{isAliasOf:function(t){if(!(this instanceof nt&&t instanceof nt))return!1;var e=this.$.ha.ea,r=this.$.fa;t.$=t.$;var n=t.$.ha.ea;for(t=t.$.fa;e.ma;)r=e.Oa(r),e=e.ma;for(;n.ma;)t=n.Oa(t),n=n.ma;return e===n&&r===t},clone:function(){if(this.$.fa||Y(this),this.$.Na)return this.$.count.value+=1,this;var t=rt,e=Object,r=e.create,n=Object.getPrototypeOf(this),a=this.$;return(t=t(r.call(e,n,{$:{value:{count:a.count,Ka:a.Ka,Na:a.Na,fa:a.fa,ha:a.ha,ka:a.ka,oa:a.oa}}}))).$.count.value+=1,t.$.Ka=!1,t},delete(){if(this.$.fa||Y(this),this.$.Ka&&!this.$.Na)throw new J("Object already scheduled for deletion");et(this);var t=this.$;--t.count.value,0===t.count.value&&(t.ka?t.oa.Ba(t.ka):t.ha.ea.Ba(t.fa)),this.$.Na||(this.$.ka=void 0,this.$.fa=void 0)},isDeleted:function(){return!this.$.fa},deleteLater:function(){if(this.$.fa||Y(this),this.$.Ka&&!this.$.Na)throw new J("Object already scheduled for deletion");return this.$.Ka=!0,this}});const e=Symbol.dispose;e&&(t[e]=t.delete)})(),Object.assign(bt.prototype,{Gb(t){return this.rb&&(t=this.rb(t)),t},ib(t){this.Ba?.(t)},za:pt,la:function(t){function e(){return yt(this.ea.Ga,this.Ra?{ha:this.Nb,fa:r,oa:this,ka:t}:{ha:this,fa:t})}var r=this.Gb(t);if(!r)return this.ib(t),null;var n=((t,e)=>{if(void 0===e)throw new J("ptr should not be undefined");for(;t.ma;)e=t.Oa(e),t=t.ma;return mt[e]})(this.ea,r);if(void 0!==n)return 0===n.$.count.value?(n.$.fa=r,n.$.ka=t,n.clone()):(n=n.clone(),this.ib(t),n);if(n=this.ea.Eb(r),!(n=it[n]))return e.call(this);var a=wt(r,this.ea,(n=this.Qa?n.zb:n.pointerType).ea);return null===a?e.call(this):yt(n.ea.Ga,this.Ra?{ha:n,fa:a,oa:this,ka:t}:{ha:n,fa:a})}}),We.cc=(t,e,r,n,a,i,s,o,h,l)=>{Ae(t,e,r,n,a,o,h,l).then(i).catch(s)},We.sc=Ae,We.ya=Array(4096),We.ga(me,{},"/"),We.mkdir("/tmp"),We.mkdir("/home"),We.mkdir("/home/web_user"),function(){We.mkdir("/dev"),ke(We.Ea(1,3),{read:()=>0,write:(t,e,r,n)=>n,na:()=>0}),Ve("/dev/null",We.Ea(1,3)),de(We.Ea(5,0),pe),de(We.Ea(6,0),we),Ve("/dev/tty",We.Ea(5,0)),Ve("/dev/tty1",We.Ea(6,0));var t=new Uint8Array(1024),e=0,r=()=>(0===e&&(ie(t),e=t.byteLength),t[--e]);We.Aa("/dev","random",r),We.Aa("/dev","urandom",r),We.mkdir("/dev/shm"),We.mkdir("/dev/shm/tmp")}(),function(){We.mkdir("/proc");var t=We.mkdir("/proc/self");We.mkdir("/proc/self/fd"),We.ga({ga(){var e=We.createNode(t,"fd",16895,73);return e.ba={na:me.ba.na},e.aa={lookup(t,e){var r=Me(t=+e);return(t={parent:null,ga:{qb:"fake"},aa:{readlink:()=>r.path},id:t+1}).parent=t},readdir:()=>Array.from(We.streams.entries()).filter(([,t])=>t).map(([t])=>t.toString())},e}},{},"/proc/self/fd")}(),We.Db={MEMFS:me},n.noExitRuntime&&(H=n.noExitRuntime),n.preloadPlugins&&(_e=n.preloadPlugins),n.print&&(R=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=$e,n.removeRunDependency=be,n.FS_preloadFile=Ae,n.FS_unlink=(...t)=>We.unlink(...t),n.FS_createPath=(...t)=>function(t,e){for(t="string"==typeof t?t:Oe(t),e=e.split("/").reverse();e.length;){var r=e.pop();if(r){var n=re(t+"/"+r);try{We.mkdir(n)}catch(t){if(20!=t.Da)throw t}t=n}}return n}(...t),n.FS_createDevice=(...t)=>We.Aa(...t),n.FS=We,n.FS_createDataFile=(...t)=>Re(...t),n.FS_createLazyFile=(...t)=>function(t,e,r,n,a){class s{Ua=!1;wa=[];Ta=void 0;hb=0;eb=0;get(t){if(!(t>this.length-1||0>t)){var e=t%this.chunkSize;return this.Ta(t/this.chunkSize|0)[e]}}Cb(t){this.Ta=t}lb(){var t=new XMLHttpRequest;t.open("HEAD",r,!1),t.send(null),200<=t.status&&300>t.status||304===t.status||x("Couldn't load "+r+". Status: "+t.status);var e,n=Number(t.getResponseHeader("Content-length")),a=(e=t.getResponseHeader("Accept-Ranges"))&&"bytes"===e;t=(e=t.getResponseHeader("Content-Encoding"))&&"gzip"===e;var i=1048576;a||(i=n);var s=this;s.Cb(t=>{var e=t*i,a=(t+1)*i-1;if(a=Math.min(a,n-1),void 0===s.wa[t]){var o=s.wa;e>a&&x("invalid range ("+e+", "+a+") or no bytes requested!"),a>n-1&&x("only "+n+" bytes available! programmer error!");var h=new XMLHttpRequest;h.open("GET",r,!1),n!==i&&h.setRequestHeader("Range","bytes="+e+"-"+a),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||x("Couldn't load "+r+". Status: "+h.status),e=void 0!==h.response?new Uint8Array(h.response||[]):ce(h.responseText||""),o[t]=e}return void 0===s.wa[t]&&x("doXHR failed!"),s.wa[t]}),!t&&n||(i=n=1,i=n=this.Ta(0).length,R("LazyFiles on gzip forces download of the whole file when length is accessed")),this.hb=n,this.eb=i,this.Ua=!0}get length(){return this.Ua||this.lb(),this.hb}get chunkSize(){return this.Ua||this.lb(),this.eb}}if(globalThis.XMLHttpRequest){i||x("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:Oe(t),e=re(t+"/"+e),We.create(e,ve(r,n))}(t,e,n,a);o?l.da=o:h&&(l.da=null,l.url=h),Object.defineProperties(l,{ia:{get:function(){return this.da.length}}}),t={};for(const[e,r]of Object.entries(l.ba))t[e]=(...t)=>(qe(l),r(...t));return t.read=(t,e,r,n,a)=>{if(qe(l),a>=(t=t.node.da).length)e=0;else{if(n=Math.min(t.length-a,n),t.slice)for(var i=0;i<n;i++)e[r+i]=t[a+i];else for(i=0;i<n;i++)e[r+i]=t.get(a+i);e=n}return e},t.Ha=()=>{throw qe(l),x(),new We.Z(48)},l.ba=t,l}(...t);var Je,Xe,Ke,Qe,Ye,tr,er,rr,nr,ar,ir={c:(t,e,r,n)=>x(`Assertion failed: ${V(t)}, at: `+[e?V(e):"unknown filename",r,n?V(n):"unknown function"]),D:()=>x(""),u:(t,e,r,n,a)=>{e=B(e);let i=t=>t;if(n=0n===n){const t=8*r;i=e=>BigInt.asUintN(t,e),a=i(a)}K(t,{name:e,la:i,pa:(t,e)=>("number"==typeof e&&(e=BigInt(e)),e),za:Q(e,r,!n),qa:null})},L:(t,e,r,n)=>{K(t,{name:e=B(e),la:function(t){return!!t},pa:function(t,e){return e?r:n},za:function(t){return this.la(g[t])},qa:null})},I:(t,e,r,n,a,i,s,o,h,l,c,u,d)=>{c=B(c),i=_t(a,i),o&&=_t(s,o),l&&=_t(h,l),d=_t(u,d);var f=(t=>{var e=(t=t.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=e&&57>=e?`_${t}`:t})(c);ot(f,function(){kt(`Cannot construct ${c} due to unbound types`,[n])}),St([t,e,r],n?[n]:[],e=>{if(e=e[0],n)var r=e.ea,a=r.Ga;else a=nt.prototype;e=at(c,function(...t){if(Object.getPrototypeOf(this)!==s)throw new J(`Use 'new' to construct ${c}`);if(void 0===u.Ca)throw new J(`${c} has no accessible constructor`);var e=u.Ca[t.length];if(void 0===e)throw new J(`Tried to invoke ctor of ${c} with invalid number of parameters (${t.length}) - expected (${Object.keys(u.Ca).toString()}) parameters instead!`);return e.apply(this,t)});var s=Object.create(a,{constructor:{value:e}});e.prototype=s;var h,u=new ht(c,e,s,d,r,i,o,l);return u.ma&&((h=u.ma).cb??(h.cb=[]),u.ma.cb.push(u)),r=new bt(c,u,!0,!1,!1),h=new bt(c+"*",u,!1,!1,!1),a=new bt(c+" const*",u,!1,!0,!1),it[t]={pointerType:h,zb:a},$t(f,e),[r,h,a]})},x:(t,e,r,n,a,i)=>{var s=Ct(e,r);a=_t(n,a),St([],[t],t=>{var r=`constructor ${(t=t[0]).name}`;if(void 0===t.ea.Ca&&(t.ea.Ca=[]),void 0!==t.ea.Ca[e-1])throw new J(`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.ea.Ca[e-1]=()=>{kt(`Cannot construct ${t.name} due to unbound types`,s)},St([],s,n=>(n.splice(1,0,null),t.ea.Ca[e-1]=Pt(r,n,null,a,i),[])),[]})},h:(t,e,r,n,a,i,s,o,h)=>{var l=Ct(r,n);e=B(e),e=Ot(e),i=_t(a,i),St([],[t],t=>{function n(){kt(`Cannot call ${a} due to unbound types`,l)}var a=`${(t=t[0]).name}.${e}`;e.startsWith("@@")&&(e=Symbol[e.substring(2)]),o&&t.ea.Ob.push(e);var c=t.ea.Ga,u=c[e];return void 0===u||void 0===u.ja&&u.className!==t.name&&u.Ja===r-2?(n.Ja=r-2,n.className=t.name,c[e]=n):(st(c,e,a),c[e].ja[r-2]=n),St([],l,n=>(n=Pt(a,n,t,i,s,h),void 0===c[e].ja?(n.Ja=r-2,c[e]=n):c[e].ja[r-2]=n,[])),[]})},J:t=>K(t,Nt),t:(t,e,r)=>{K(t,{name:e=B(e),la:t=>t,pa:(t,e)=>e,za:Dt(e,r),qa:null})},v:(t,e,r,n,a,i,s)=>{var o=Ct(e,r);t=B(t),t=Ot(t),a=_t(n,a),ot(t,function(){kt(`Cannot call ${t} due to unbound types`,o)},e-1),St([],o,r=>(r=[r[0],null].concat(r.slice(1)),$t(t,Pt(t,r,null,a,i,s),e-1),[]))},j:(t,e,r,n,a)=>{e=B(e);let i=t=>t;if(0===n){var s=32-8*r;i=t=>t<<s>>>s,a=i(a)}K(t,{name:e,la:i,pa:(t,e)=>e,za:Q(e,r,0!==n),qa:null})},g:(t,e,r)=>{function n(t){return new a(y.buffer,A[t+4>>2],A[t>>2])}var a=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array][e];K(t,{name:r=B(r),la:n,za:n},{Ib:!0})},K:(t,e)=>{K(t,{name:e=B(e),la(t){var e=V(t+4,A[t>>2],!0);return Je(t),e},pa(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 J("Cannot pass non-string to std::string");var n=r?zt(e):e.length,a=Xe(4+n+1),i=a+4;return A[a>>2]=n,r?Mt(e,g,i,n+1):g.set(e,i),null!==t&&t.push(Je,a),a},za:pt,qa(t){Je(t)}})},o:(t,e,r)=>{if(r=B(r),2===e)var n=It,a=Lt,i=Vt;else n=Bt,a=Gt,i=qt;K(t,{name:r,la:t=>{var r=n(t+4,A[t>>2]*e,!0);return Je(t),r},pa:(t,n)=>{if("string"!=typeof n)throw new J(`Cannot pass non-string to C++ string type ${r}`);var s=i(n),o=Xe(4+s+e);return A[o>>2]=s/e,a(n,o+4,s+e),null!==t&&t.push(Je,o),o},za:pt,qa(t){Je(t)}})},p:t=>{K(t,Nt)},M:(t,e)=>{K(t,{pb:!0,name:e=B(e),la:()=>{},pa:()=>{}})},B:()=>{H=!1,Wt=0},y:()=>{throw 1/0},l:(t,e,r)=>{var[n,...a]=((t,e)=>{for(var r=Array(t),n=0;n<t;++n){var a=n,i=A[e+4*n>>2],s=q[i];if(void 0===s)throw t=`parameter ${n} has unknown type ${Et(i)}`,new J(t);r[a]=s}return r})(t,e);e=n.pa.bind(n);var i=a.map(t=>t.za.bind(t));t--;var s={toValue:xt};switch(t=i.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=Qt,o="toValue(handle)[getStringOrSymbol(methodName)]"}return o+=`(${t})`,n.pb||(s.toReturnWire=e,s.emval_returnValue=Xt,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<(${a.map(t=>t.name)}) => ${n.name}>`,(t=>{var e=Jt.length;return Jt.push(t),e})(at(o,r))},A:jt,N:t=>t?(t=Qt(t),Ft(globalThis[t])):Ft(globalThis),n:(t,e)=>(t=xt(t),e=xt(e),Ft(t[e])),q:t=>{9<t&&(Zt[t+1]+=1)},k:(t,e,r,n,a)=>Jt[t](e,r,n,a),O:t=>Ft(Qt(t)),w:t=>{var e=xt(t);Tt(e),jt(t)},C:(t,e)=>{if(Yt[t]&&(clearTimeout(Yt[t].id),delete Yt[t]),!e)return 0;var r=setTimeout(()=>{delete Yt[t],(t=>{if(!O)try{if(t(),!(H||0<Wt))try{w=t=w,te(t)}catch(t){t instanceof F||"unwind"==t||c(1,t)}}catch(t){t instanceof F||"unwind"==t||c(1,t)}})(()=>Qe(t,performance.now()))},e);return Yt[t]={id:r,vc:e},0},E: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))-rr.buffer.byteLength+65535)/65536|0;try{rr.grow(n),j();var a=1;break t}catch(t){}a=void 0}if(a)return!0}return!1},G:function(t){try{var e=Me(t);return We.close(e),0}catch(t){if(void 0===We||"ErrnoError"!==t.name)throw t;return t.Da}},F:function(t,e,r,n){e=-9007199254740992>e||9007199254740992<e?NaN:Number(e);try{if(isNaN(e))return 61;var a=Me(t);return We.na(a,e,r),S[n>>3]=BigInt(a.position),a.Wa&&0===e&&0===r&&(a.Wa=null),0}catch(t){if(void 0===We||"ErrnoError"!==t.name)throw t;return t.Da}},H:function(t,e,r,n){try{t:{var a=Me(t);t=e;for(var i,s=e=0;s<r;s++){var o=A[t>>2],h=A[t+4>>2];t+=8;var l=We.write(a,y,o,h,i);if(0>l){var c=-1;break t}if(e+=l,l<h)break;void 0!==i&&(i+=l)}c=e}return A[n>>2]=c,0}catch(t){if(void 0===We||"ErrnoError"!==t.name)throw t;return t.Da}},i:function(t,e){var r=er();try{return nr.get(t)(e)}catch(t){if(tr(r),t!==t+0)throw t;Ye(1,0)}},e:function(t,e,r){var n=er();try{return nr.get(t)(e,r)}catch(t){if(tr(n),t!==t+0)throw t;Ye(1,0)}},d:function(t,e,r,n){var a=er();try{return nr.get(t)(e,r,n)}catch(t){if(tr(a),t!==t+0)throw t;Ye(1,0)}},s:function(t,e,r,n,a,i){var s=er();try{return nr.get(t)(e,r,n,a,i)}catch(t){if(tr(s),t!==t+0)throw t;Ye(1,0)}},r:function(t){var e=er();try{nr.get(t)()}catch(t){if(tr(e),t!==t+0)throw t;Ye(1,0)}},a:function(t,e){var r=er();try{nr.get(t)(e)}catch(t){if(tr(r),t!==t+0)throw t;Ye(1,0)}},b:function(t,e,r){var n=er();try{nr.get(t)(e,r)}catch(t){if(tr(n),t!==t+0)throw t;Ye(1,0)}},f:function(t,e,r,n){var a=er();try{nr.get(t)(e,r,n)}catch(t){if(tr(a),t!==t+0)throw t;Ye(1,0)}},m:function(t,e,r,n,a){var i=er();try{nr.get(t)(e,r,n,a)}catch(t){if(tr(i),t!==t+0)throw t;Ye(1,0)}},z:te};return ar=await async function(){function e(t){return t=ar=t.exports,Je=t.R,Xe=t.S,Ke=t.T,Qe=t.V,Ye=t.W,tr=t.X,er=t.Y,rr=t.P,nr=t.U,j(),ar}var r={a:ir};return n.instantiateWasm?new Promise(t=>{n.instantiateWasm(r,(r,n)=>{t(e(r))})}):(T??=n.locateFile?n.locateFile?n.locateFile("thorvg.wasm",d):d+"thorvg.wasm":new URL("thorvg.wasm","undefined"==typeof document?require("url").pathToFileURL(__filename).href:t&&"SCRIPT"===t.tagName.toUpperCase()&&t.src||new URL("lottie-player.cjs.js",document.baseURI).href).href,e((await async function(t){var e=T;if(!p&&!U(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==T&&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}`),x(t)}}(e,t)}(r)).instance))}(),function t(){function e(){if(n.calledRun=!0,!O){if(Z=!0,n.noFSInit||We.Xa||Ee(),ar.Q(),We.nb=!1,m?.(n),n.onRuntimeInitialized?.(),n.postRun)for("function"==typeof n.postRun&&(n.postRun=[n.postRun]);n.postRun.length;){var t=n.postRun.shift();D.push(t)}N(D)}}if(0<ye)ge=t;else{if(n.preRun)for("function"==typeof n.preRun&&(n.preRun=[n.preRun]);n.preRun.length;)z();N(M),0<ye?ge=t:n.setStatus?(n.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>n.setStatus(""),1),e()},1)):e()}}(),r=Z?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 e=this.config?.renderer||"sw";if(await(async t=>{if("wg"===t){for(;"requested"===wt;)await pt(100);if("initialized"!==wt&&(wt="requested",ut))for(;;)switch(ut.init()){case 0:return void(wt="initialized");case 1:return void(wt="failed");case 2:await pt(100)}}})(e),"failed"===wt)return this.currentState="error",void this.dispatchEvent(new CustomEvent("error"));this.TVG=new ut.TvgLottieAnimation(e,`#${this.canvas.id}`),this.src&&this.load(this.src,this.fileType)}_viewport(){const{left:t,right:e,top:r,bottom:n}=this.getBoundingClientRect(),a=window.innerWidth,i=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>a&&(h-=e-a),n>i&&(l-=n-i),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 pt(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(){ut&&(ut.term(),ut=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 V`
2
2
  <canvas class="thorvg" style="width: 100%; height: 100%;" />
3
- `}}ct([S({type:String})],$t.prototype,"src",void 0),ct([S({type:String})],$t.prototype,"wasmUrl",void 0),ct([S({type:wt})],$t.prototype,"fileType",void 0),ct([S({type:Number})],$t.prototype,"speed",void 0),ct([S({type:Boolean})],$t.prototype,"autoPlay",void 0),ct([S({type:Number})],$t.prototype,"count",void 0),ct([S({type:Boolean})],$t.prototype,"loop",void 0),ct([S({type:Number})],$t.prototype,"direction",void 0),ct([S()],$t.prototype,"mode",void 0),ct([S()],$t.prototype,"intermission",void 0),ct([S({type:Number})],$t.prototype,"totalFrame",void 0),ct([S({type:Number})],$t.prototype,"currentFrame",void 0),ct([S({type:Number})],$t.prototype,"currentState",void 0),ct([S({type:Float32Array})],$t.prototype,"size",null);class At extends $t{set renderConfig(t){this.config={renderer:"sw",enableDevicePixelRatio:t.enableDevicePixelRatio}}get renderConfig(){return this.config||{}}}At=function(t,e,r,n){var i,a=arguments.length,o=a<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(o=(a<3?i(o):a>3?i(e,r,o):i(e,r))||o);return a>3&&o&&Object.defineProperty(e,r,o),o}([(t=>(e,r)=>{void 0!==r?r.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)})("lottie-player")],At);var _t=Object.freeze({__proto__:null});export{At as LottiePresetPlayer};
3
+ `}}function vt(t,e,r,n){var a,i=arguments.length,s=i<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--)(a=t[o])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}ct([E({type:String})],mt.prototype,"src",void 0),ct([E({type:String})],mt.prototype,"wasmUrl",void 0),ct([E({type:ft})],mt.prototype,"fileType",void 0),ct([E({type:Number})],mt.prototype,"speed",void 0),ct([E({type:Boolean})],mt.prototype,"autoPlay",void 0),ct([E({type:Number})],mt.prototype,"count",void 0),ct([E({type:Boolean})],mt.prototype,"loop",void 0),ct([E({type:Number})],mt.prototype,"direction",void 0),ct([E()],mt.prototype,"mode",void 0),ct([E()],mt.prototype,"intermission",void 0),ct([E({type:Number})],mt.prototype,"totalFrame",void 0),ct([E({type:Number})],mt.prototype,"currentFrame",void 0),ct([E({type:Number})],mt.prototype,"currentState",void 0),ct([E({type:Float32Array})],mt.prototype,"size",null);class yt extends mt{set renderConfig(t){this.config={renderer:"sw",enableDevicePixelRatio:t.enableDevicePixelRatio}}get renderConfig(){return this.config||{}}}vt([E({type:Object})],yt.prototype,"renderConfig",null),yt=vt([(t=>(e,r)=>{void 0!==r?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)})("lottie-player")],yt);var gt=Object.freeze({__proto__:null});exports.LottiePresetPlayer=yt;
4
4
  //# sourceMappingURL=lottie-player.cjs.js.map