PageSourceSearch

https://cdn-prod-www-01.trainerroad.com/app/assets/generated/react/use-service-du0qnyad.js

js trainerroad.com collected 2026-10-02 02:55:33 UTC 124,171 bytes, 50 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.__assetsPath("initialize-app-el41x4ja.js"),window.__assetsPath("container.provider-gjhjirfa.js"),window.__assetsPath("decorate-enfn96bc.js"),window.__assetsPath("calendar-mutation-manager-pce3tekv.js"),window.__assetsPath("decorate-param-hlx7gcuv.js"),window.__assetsPath("external-workout-provider-type-dg9puggf.js"),window.__assetsPath("utils-iy375pv8.js"),window.__assetsPath("url-utils-hrx6lzl6.js"),window.__assetsPath("axios-lod6h7d2.js"),window.__assetsPath("rolldown-runtime-d7iuo4nk.js"),window.__assetsPath("datetime-hs2rtlqs.js"),window.__assetsPath("common-f5hqgq8n.js"),window.__assetsPath("intensity-rating-lxanp3ir.js"),window.__assetsPath("localization-e0yedzfc.js"),window.__assetsPath("use-t-j7erhf80.js"),window.__assetsPath("global-i7hkuitp.js"),window.__assetsPath("esm-doitckdw.js"),window.__assetsPath("vendor-react-g7dyc9sh.js"),window.__assetsPath("mobx.esm-f0vwoq6j.js"),window.__assetsPath("tr-enums-mkpjjyqc.js"),window.__assetsPath("utils-abizfegz.js"),window.__assetsPath("utils-wdzjab4x.js"),window.__assetsPath("use-member-roles-n25t7jex.js"),window.__assetsPath("types-h917iux8.js"),window.__assetsPath("known-workout-ids-ew5otc3j.js"),window.__assetsPath("array-nopqwx42.js"),window.__assetsPath("math-m6aq0gyl.js"),window.__assetsPath("race-priority-iy8zkzeu.js"),window.__assetsPath("athlete-data-gkwl66jd.js"),window.__assetsPath("preload-helper-nq9ya8gj.js"),window.__assetsPath("calendar-entity-collection-dyog0se6.js"),window.__assetsPath("calendar.api-gbjkiw11.js"),window.__assetsPath("health-summary.api-joytml7g.js"),window.__assetsPath("parse-iso-h709tymn.js"),window.__assetsPath("registry-dk1379p6.js"),window.__assetsPath("format-duration-kfe23uy3.js"),window.__assetsPath("weight-bn89u6xi.js"),window.__assetsPath("service-nnvfru1g.js"),window.__assetsPath("week-day-hejrvytq.js"),window.__assetsPath("week-day-kr26j8ds.js"),window.__assetsPath("to-finite-jy4ui09m.js"),window.__assetsPath("member-it15ycm9.js"),window.__assetsPath("consent-jyhz8trv.js"),window.__assetsPath("memberinfo.api-elihyac4.js"),window.__assetsPath("membersettings.api-jun41fnn.js"),window.__assetsPath("_define-property-gko8tqyo.js"),window.__assetsPath("async-mh6fav7f.js"),window.__assetsPath("noop-ek2zzu4b.js"),window.__assetsPath("message-bus-message-type-ocn4whfn.js"),window.__assetsPath("aiftpdetection.api-dwmfwafb.js"),window.__assetsPath("throw-error-co84y1se.js"),window.__assetsPath("plan-builder-amn1r6ku.js"),window.__assetsPath("flush-forward-state-manager-d189gube.js"),window.__assetsPath("shared-worker-messages-n5t3o8d2.js"),window.__assetsPath("service-hf25t4r2.js"),window.__assetsPath("v4-b10qahse.js"),window.__assetsPath("admincalendar.api-ms5n69n0.js"),window.__assetsPath("activitiesapi.api-03zdgza0.js"),window.__assetsPath("aiftp.api-ece0h64j.js"),window.__assetsPath("recurring-activity.viewmodel-fomxefax.js"),window.__assetsPath("athlete-data-facade-wuoo3qod.js"),window.__assetsPath("location-service-m1uv4y1m.js"),window.__assetsPath("username-path-normalizer-ilyl92qz.js"),window.__assetsPath("dist-24hutsxa.js"),window.__assetsPath("uniq-kqk7dcob.js"),window.__assetsPath("registration-fn6cjp5t.js"),window.__assetsPath("accessibility-announcement.service-ja5spgho.js"),window.__assetsPath("ai-ftp-detection.service-c91qxy48.js"),window.__assetsPath("ai-simulation-onboarding-index-owgtppu6.js"),window.__assetsPath("activity-association-bjvkyy4o.js"),window.__assetsPath("service-hdvu6lax.js"),window.__assetsPath("survey.api-cgqobfoq.js"),window.__assetsPath("banner.service-jnfjlod8.js"),window.__assetsPath("legacy-ios-version-orrui6c3.js"),window.__assetsPath("main-menu-state-b2prpvbg.js"),window.__assetsPath("ui-service-oq4qavgc.js"),window.__assetsPath("theme-init-script-ls3p1kq6.js"),window.__assetsPath("observable-m8laumcd.js"),window.__assetsPath("notify-electron-modal-state-kox6qy9j.js"),window.__assetsPath("system-info-provider-bhyzh2oo.js"),window.__assetsPath("health-slots-view-model-ipi0p4qm.js"),window.__assetsPath("health-connections-view-model-jzecm941.js"),window.__assetsPath("connections-api-br3kl2pr.js"),window.__assetsPath("types-zyz4kmzr.js"),window.__assetsPath("health-import-status-view-model-gfxajudu.js"),window.__assetsPath("localization.service-on7zpu6u.js"),window.__assetsPath("live-chat-service-h13tpeyl.js"),window.__assetsPath("season-personal-records.cache-ofaay1o3.js"),window.__assetsPath("season-personal-records.api-jk7u1ae8.js"),window.__assetsPath("registration-bdip9ebx.js"),window.__assetsPath("ride-reconciliation-view-model.viewmodel-kdyli3rw.js"),window.__assetsPath("to-integer-fjh61c2k.js")])))=>i.map(i=>d[i]);
2import{o as e,t}from"./rolldown-runtime-d7iuo4nk.js";import{t as n}from"./noop-ek2zzu4b.js";import{t as r}from"./realtimelogging.api-ix6mwkbk.js";import{_ as i,b as a,g as o,l as s,r as c}from"./mobx.esm-f0vwoq6j.js";import{a as l,r as u}from"./vendor-react-g7dyc9sh.js";import{t as d}from"./theme-init-script-ls3p1kq6.js";import{Wt as f,gt as ee,mt as te,on as p}from"./esm-doitckdw.js";import{n as m,t as h}from"./decorate-enfn96bc.js";import{t as g}from"./preload-helper-nq9ya8gj.js";var ne=t((()=>{var e;(function(e){(function(t){var n=typeof globalThis==`object`?globalThis:typeof global==`object`?global:typeof self==`object`?self:typeof this==`object`?this:a(),r=i(e);n.Reflect!==void 0&&(r=i(n.Reflect,r)),t(r,n),n.Reflect===void 0&&(n.Reflect=e);function i(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}function a(){throw ReferenceError(`globalThis could not be found. Please polyfill globalThis before loading this module.`)}})(function(e,t){var n=typeof Symbol==`function`,r=n&&Symbol.toPrimitive!==void 0?Symbol.toPrimitive:D(`Symbol.toPrimitive not found.`),i=n&&Symbol.iterator!==void 0?Symbol.iterator:D(`Symbol.iterator not found.`),a=Object.getPrototypeOf(Function),o=typeof Map==`function`&&typeof Map.prototype.entries==`function`?Map:D(`A val
2id Map constructor could not be found.`),s=typeof Set==`function`&&typeof Set.prototype.entries==`function`?Set:D(`A valid Set constructor could not be found.`),c=typeof WeakMap==`function`?WeakMap:D(`A valid WeakMap constructor could not be found.`),l=n?Symbol.for(`@reflect-metadata:registry`):void 0,u=k(),d=we(u);function f(e,t,n,r){if(v(n)){if(!w(e)||!E(t))throw TypeError();return ie(e,t)}else{if(!w(e)||!x(t)||!x(r)&&!v(r)&&!y(r))throw TypeError();return y(r)&&(r=void 0),n=C(n),ae(e,t,n,r)}}e(`decorate`,f);function ee(e,t){function n(n,r){if(!x(n)||!v(r)&&!_e(r))throw TypeError();ue(e,t,n,r)}return n}e(`metadata`,ee);function te(e,t,n,r){if(!x(n))throw TypeError();return v(r)||(r=C(r)),ue(e,t,n,r)}e(`defineMetadata`,te);function p(e,t,n){if(!x(t))throw TypeError();return v(n)||(n=C(n)),oe(e,t,n)}e(`hasMetadata`,p);function m(e,t,n){if(!x(t))throw TypeError();return v(n)||(n=C(n)),se(e,t,n)}e(`hasOwnMetadata`,m);function h(e,t,n){if(!x(t))throw TypeError();return v(n)||(n=C(n)),ce(e,t,n)}e(`getMetadata`,h);function g(e,t,n){if(!x(t))throw TypeError();return v(n)||(n=C(n)),le(e,t,n)}e(`getOwnMetadata`,g);function ne(e,t){if(!x(e))throw TypeError();return v(t)||(t=C(t)),de(e,t)}e(`getMetadataKeys`,ne);function _(e,t){if(!x(e))throw TypeError();return v(t)||(t=C(t)),fe(e,t)}e(`getOwnMetadataKeys`,_);function re(e,t,n){if(!x(t))throw TypeError();v(n)||(n=C(n));var r=Te(t,n,!1);return v(r)?!1:r.OrdinaryDeleteMetadata(e,t,n)}e(`deleteMetadata`,re);function ie(e,t){for(var n=e.length-1;n>=0;--n){var r=e[n],i=r(t);if(!v(i)&&!y(i)){if(!E(i))throw TypeError();t=i}}return t}function ae(e,t,n,r){for(var i=e.length-1;i>=0;--i){var a=e[i],o=a(t,n,r);if(!v(o)&&!y(o)){if(!x(o))throw TypeError();r=o}}return r}function oe(e,t,n){if(se(e,t,n))return!0;var r=Ce(t);return y(r)?!1:oe(e,r,n)}function se(e,t,n){var r=Te(t,n,!1);return v(r)?!1:S(r.OrdinaryHasOwnMetadata(e,t,n))}function ce(e,t,n){if(se(e,t,n))return le(e,t,n);var r=Ce(t);if(!y(r))return ce(e,r,n)}function le(e,t,n){var r=Te(t,n,!1);if(!v(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function ue(e,t,n,r){Te(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function de(e,t){var n=fe(e,t),r=Ce(e);if(r===null)return n;var i=de(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var a=new s,o=[],c=0,l=n;c<l.length;c++){var u=l[c],d=a.has(u);d||(a.add(u),o.push(u))}for(var f=0,ee=i;f<ee.length;f++){var u=ee[f],d=a.has(u);d||(a.add(u),o.push(u))}return o}function fe(e,t){var n=Te(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function pe(e){if(e===null)return 1;switch(typeof e){case`undefined`:return 0;case`boolean`:return 2;case`string`:return 3;case`symbol`:return 4;case`number`:return 5;case`object`:return e===null?1:6;default:return 6}}function v(e){return e===void 0}function y(e){return e===null}function b(e){return typeof e==`symbol`}function x(e){return typeof e==`object`?e!==null:typeof e==`function`}function me(e,t){switch(pe(e)){case 0:return e;case 1:return e;case 2:return e;case 3:return e;case 4:return e;case 5:return e}var n=t===3?`string`:t===5?`number`:`default`,i=ve(e,r);if(i!==void 0){var a=i.call(e,n);if(x(a))throw TypeError();return a}return he(e,n===`default`?`number`:n)}function he(e,t){if(t===`string`){var n=e.toString;if(T(n)){var r=n.call(e);if(!x(r))return r}var i=e.valueOf;if(T(i)){var r=i.call(e);if(!x(r))return r}}else{var i=e.valueOf;if(T(i)){var r=i.call(e);if(!x(r))return r}var a=e.toString;if(T(a)){var r=a.call(e);if(!x(r))return r}}throw TypeError()}function S(e){return!!e}function ge(e){return``+e}function C(e){var t=me(e,3);return b(t)?t:ge(t)}function w(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:Object.prototype.toString.call(e)===`[object Array]`}function T(e){return typeof e==`function`}function E(e){return typeof e==`function`}function _e(e){switch(pe(e)){case 3:return!0;case 4:return!0;default:return!1}}function ve(e,t){var n=e[t];if(n!=null){if(!T(n))throw TypeError();return n}}function ye(e){var t=ve(e,i);if(!T(t))throw TypeError();var n=t.call(e);if(!x(n))throw TypeError();return n}function be(e){return e.value}function xe(e){var t=e.next();return t.done?!1:t}function Se(e){var t=e.return;t&&t.call(e)}function Ce(e){var t=Object.getPrototypeOf(e);if(typeof e!=`function`||e===a||t!==a)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(r==null||r===Object.prototype)return t;var i=r.constructor;return typeof i!=`function`||i===e?t:i}function D(e){throw e}function O(){var e;!v(l)&&t.Reflect!==void 0&&!(l in t.Reflect)&&typeof t.Reflect.defineMetadata==`function`&&(e=A(t.Reflect));var n,r,i,a=new c,u={registerProvider:d,getProvider:ee,setProvider:p};return u;function d(t){if(!Object.isExtensible(u))throw Error(`Cannot add provider to a frozen registry.`);switch(!0){case e===t:break;case v(n):n=t;break;case n===t:break;case v(r):r=t;break;case r===t:break;default:i===void 0&&(i=new s),i.add(t);break}}function f(t,a){if(!v(n)){if(n.isProviderFor(t,a))return n;if(!v(r)){if(r.isProviderFor(t,a))return n;if(!v(i))for(var o=ye(i);;){var s=xe(o);if(!s)return;var c=be(s);if(c.isProviderFor(t,a))return Se(o),c}}}if(!v(e)&&e.isProviderFor(t,a))return e}function ee(e,t){var n=a.get(e),r;return v(n)||(r=n.get(t)),v(r)?(r=f(e,t),v(r)||(v(n)&&(n=new o,a.set(e,n)),n.set(t,r)),r):r}function te(e){if(v(e))throw TypeError();return n===e||r===e||!v(i)&&i.has(e)}function p(e,t,n){if(!te(n))throw Error(`Metadata provider not registered.`);var r=ee(e,t);if(r!==n){if(!v(r))return!1;var i=a.get(e);v(i)&&(i=new o,a.set(e,i)),i.set(t,n)}return!0}}function k(){var e;return!v(l)&&x(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[l]),v(e)&&(e=O()),!v(l)&&x(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,l,{enumerable:!1,
2configurable:!1,writable:!1,value:e}),e}function we(e){var t=new c,n={isProviderFor:function(e,n){var r=t.get(e);return v(r)?!1:r.has(n)},OrdinaryDefineOwnMetadata:s,OrdinaryHasOwnMetadata:i,OrdinaryGetOwnMetadata:a,OrdinaryOwnMetadataKeys:l,OrdinaryDeleteMetadata:d};return u.registerProvider(n),n;function r(r,i,a){var s=t.get(r),c=!1;if(v(s)){if(!a)return;s=new o,t.set(r,s),c=!0}var l=s.get(i);if(v(l)){if(!a)return;if(l=new o,s.set(i,l),!e.setProvider(r,i,n))throw s.delete(i),c&&t.delete(r),Error(`Wrong provider for target.`)}return l}function i(e,t,n){var i=r(t,n,!1);return v(i)?!1:S(i.has(e))}function a(e,t,n){var i=r(t,n,!1);if(!v(i))return i.get(e)}function s(e,t,n,i){r(n,i,!0).set(e,t)}function l(e,t){var n=[],i=r(e,t,!1);if(v(i))return n;for(var a=ye(i.keys()),o=0;;){var s=xe(a);if(!s)return n.length=o,n;var c=be(s);try{n[o]=c}catch(e){try{Se(a)}finally{throw e}}o++}}function d(e,n,i){var a=r(n,i,!1);if(v(a)||!a.delete(e))return!1;if(a.size===0){var o=t.get(n);v(o)||(o.delete(i),o.size===0&&t.delete(o))}return!0}}function A(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,a=e.deleteMetadata,o=new c;return{isProviderFor:function(e,t){var n=o.get(e);return!v(n)&&n.has(t)?!0:i(e,t).length?(v(n)&&(n=new s,o.set(e,n)),n.add(t),!0):!1},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:a}}function Te(e,t,n){var r=u.getProvider(e,t);if(!v(r))return r;if(n){if(u.setProvider(e,t,d))return d;throw Error(`Illegal state.`)}}})})(e||(e={}))})),_=e(l()),re=e=>e*500,ie=e=>new Promise(t=>setTimeout(t,e)),ae=0;function oe(){return ae>0}async function se(e,{retries:t=2,backoffMs:n=re,delay:r=ie}={}){let i=Number.isFinite(t)&&t>0?Math.floor(t):0,a=Error(`Load-blocking import failed`);ae++;try{for(let t=0;t<=i;t++){t>0&&await r(n(t));try{return await e()}catch(e){a=e}}throw a}finally{ae--}}var ce=500;function le(e,t={}){let n=de(e),r={error:`${t.errorPrefix??``}${n}`};try{let t=e?.name;typeof t==`string`&&t.length>0&&(r.errorName=t)}catch{}t.context&&(r.context=t.context);try{let t=ue(e?.stack,n);t!==void 0&&(r.errorStack=t.length>ce?t.slice(0,ce):t)}catch{}return r}function ue(e,t){if(!(typeof e!=`string`||e.length===0)&&e!==t){if(t.length>0&&e.startsWith(`${t}\n`)){let n=e.slice(t.length+1);return n.length>0?n:void 0}return e}}function de(e){try{return String(e)}catch{return`Unstringifiable initialization error`}}var fe=()=>window.trainerRoad?.locale||navigator.languages?.[0]||navigator.language;function pe(e){if(!e||typeof e!=`string`)return p.English;if(Object.values(p).includes(e))return e;let t=e.split(`-`)[0].toLowerCase();return Object.values(p).find(e=>e.toLowerCase().startsWith(t))||p.English}var v=(e,t,n)=>{let r=t.lastIndexOf(`?`),i=e[r===-1||r<t.lastIndexOf(`/`)?t:t.slice(0,r)];return i?typeof i==`function`?i():Promise.resolve(i):new Promise((e,r)=>{(typeof queueMicrotask==`function`?queueMicrotask:setTimeout)(r.bind(null,Error(`Unknown variable dynamic import: `+t+(t.split(`/`).length===n?``:`. Note that variables only represent file names one level deep.`))))})};function y(e){return(typeof e==`object`&&!!e||typeof e==`function`)&&typeof e.then==`function`}function b(e){switch(typeof e){case`string`:case`symbol`:return e.toString();case`function`:return e.name;default:throw Error(`Unexpected ${typeof e} service id type`)}}function x(e){"@babel/helpers - typeof";return x=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},x(e)}function me(e,t){if(x(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(x(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function he(e){var t=me(e,`string`);return x(t)==`symbol`?t:t+``}function S(e,t,n){return(t=he(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ge(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}
2function C(e,t,n){ge(e,t),t.set(e,n)}function w(e,t,n){if(typeof e==`function`?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError(`Private element is not present on this object`)}function T(e,t,n){return e.set(w(e,t),n),n}function E(e,t){return e.get(w(e,t))}var _e=Symbol.for(`@inversifyjs/common/islazyServiceIdentifier`),ve=new WeakMap,ye=class{constructor(e){S(this,_e,void 0),C(this,ve,void 0),T(ve,this,e),this[_e]=!0}static is(e){return typeof e==`object`&&!!e&&e[_e]===!0}unwrap(){return E(ve,this).call(this)}};function be(e,t,n){return Reflect.getOwnMetadata(t,e,n)}function xe(e,t,n,r){Reflect.defineMetadata(t,n,e,r)}function Se(e,t,n,r,i){let a=r(be(e,t,i)??n());Reflect.defineMetadata(t,a,e,i)}ne();var Ce=`@inversifyjs/container/bindingId`;function D(){let e=be(Object,Ce)??0;return e===2**53-1?xe(Object,Ce,-(2**53-1)):Se(Object,Ce,()=>e,e=>e+1),e}var O={Request:`Request`,Singleton:`Singleton`,Transient:`Transient`},k={ConstantValue:`ConstantValue`,DynamicValue:`DynamicValue`,Factory:`Factory`,Instance:`Instance`,ResolvedValue:`ResolvedValue`,ServiceRedirection:`ServiceRedirection`};function*we(...e){for(let t of e)yield*t}function A(e,t){ge(e,t),t.add(e)}var Te=-1,j=new WeakMap,M=new WeakMap,Ee=new WeakMap,N=new WeakSet,De=class e{constructor(e){A(this,N),C(this,j,void 0),C(this,M,void 0),C(this,Ee,void 0),T(j,this,new Map),T(M,this,{});for(let t of Reflect.ownKeys(e))E(M,this)[t]=new Map;T(Ee,this,e)}add(e,t){w(N,this,Ae).call(this,e).push(t);for(let n of Reflect.ownKeys(t))w(N,this,je).call(this,n,t[n]).push(e)}clone(){let e=w(N,this,Oe).call(this),t=w(N,this,ke).call(this),n=Reflect.ownKeys(E(Ee,this)),r=this._buildNewInstance(E(Ee,this));w(N,this,Fe).call(this,E(j,this),E(j,r),e,t);for(let t of n)w(N,this,Pe).call(this,E(M,this)[t],E(M,r)[t],e);return r}get(e,t){return E(M,this)[e].get(t)}getAllKeys(e){return E(M,this)[e].keys()}removeByRelation(e,t){let n=this.get(e,t);if(n===void 0)return;let r=new Set(n);for(let n of r){let r=E(j,this).get(n);if(r===void 0)throw Error(`Expecting model relation, none found`);for(let i of r)i[e]===t&&w(N,this,Ie).call(this,n,i);E(j,this).delete(n)}}_buildNewInstance(t){return new e(t)}_cloneModel(e){return e}_cloneRelation(e){return e}};function Oe(){let e=new Map;for(let t of E(j,this).keys()){let n=this._cloneModel(t);e.set(t,n)}return e}function ke(){let e=new Map;for(let t of E(j,this).values())for(let n of t){let t=this._cloneRelation(n);e.set(n,t)}return e}function Ae(e){let t=E(j,this).get(e);return t===void 0&&(t=[],E(j,this).set(e,t)),t}function je(e,t){let n=E(M,this)[e].get(t);return n===void 0&&(n=[],E(M,this)[e].set(t,n)),n}function Me(e,t){let n=t.get(e);if(n===void 0)throw Error(`Expecting model to be cloned, none found`);return n}function Ne(e,t){let n=t.get(e);if(n===void 0)throw Error(`Expecting relation to be cloned, none found`);return n}function Pe(e,t,n){for(let[r,i]of e){let e=[];for(let t of i)e.push(w(N,this,Me).call(this,t,n));t.set(r,e)}}function Fe(e,t,n,r){for(let[i,a]of e){let e=[];for(let t of a)e.push(w(N,this,Ne).call(this,t,r));t.set(w(N,this,Me).call(this,i,n),e)}}function Ie(e,t){for(let n of Reflect.ownKeys(t))w(N,this,Le).call(this,e,n,t[n])}function Le(e,t,n){let r=E(M,this)[t].get(n);if(r!==void 0){let i=r.indexOf(e);i!==Te&&r.splice(i,1),r.length===0&&E(M,this)[t].delete(n)}}var Re;(function(e){e.moduleId=`moduleId`,e.serviceId=`serviceId`})(Re||(Re={}));var ze=new WeakMap,Be=new WeakMap,Ve=class e{constructor(e,t){C(this,ze,void 0),C(this,Be,void 0),T(ze,this,t??new De({moduleId:{isOptional:!0},serviceId:{isOptional:!1}})),T(Be,this,e)}static build(t){return new e(t)}add(e,t){E(ze,this).add(e,t)}clone(){return new e(E(Be,this),E(ze,this).clone())}get(e){let t=[],n=E(ze,this).get(Re.serviceId,e);n!==void 0&&t.push(n);let r=E(Be,this).call(this)?.get(e);if(r!==void 0&&t.push(r),t.length!==0)return we(...t)}removeAllByModuleId(e){E(ze,this).removeByRelation(Re.moduleId,e)}removeAllByServiceId(e){E(ze,this).removeByRelation(Re.serviceId,e)}},He=`@inversifyjs/core/classMetadataReflectKey`;function Ue(){return{constructorArguments:[],lifecycle:{postConstructMethodNames:new Set,preDestroyMethodNames:new Set},properties:new Map,scope:void 0}}var We=`@inversifyjs/core/pendingClassMetadataCountReflectKey`;function Ge(e){let t=be(e,We);return t!==void 0&&t!==0}var Ke=Symbol.for(`@inversifyjs/core/InversifyCoreError`),P=class e extends 
2Error{constructor(e,t,n){super(t,n),S(this,Ke,void 0),S(this,`kind`,void 0),this[Ke]=!0,this.kind=e}static is(e){return typeof e==`object`&&!!e&&e[Ke]===!0}static isErrorOfKind(t,n){return e.is(t)&&t.kind===n}},F;(function(e){e[e.injectionDecoratorConflict=0]=`injectionDecoratorConflict`,e[e.missingInjectionDecorator=1]=`missingInjectionDecorator`,e[e.planning=2]=`planning`,e[e.planningMaxDepthExceeded=3]=`planningMaxDepthExceeded`,e[e.resolution=4]=`resolution`,e[e.unknown=5]=`unknown`})(F||(F={}));var qe;(function(e){e[e.unknown=32]=`unknown`})(qe||(qe={}));function Je(e,t){let n=[];for(let r=0;r<t.constructorArguments.length;++r){let i=t.constructorArguments[r];(i===void 0||i.kind===qe.unknown)&&n.push(`  - Missing or incomplete metadata for type "${e.name}" at constructor argument with index ${r.toString()}.
3Every constructor parameter must be decorated either with @inject, @multiInject or @unmanaged decorator.`)}for(let[r,i]of t.properties)i.kind===qe.unknown&&n.push(`  - Missing or incomplete metadata for type "${e.name}" at property "${r.toString()}".
4This property must be decorated either with @inject or @multiInject decorator.`);throw n.length===0?new P(F.unknown,`Unexpected class metadata for type "${e.name}" with uncompletion traces.
5This might be caused by one of the following reasons:
6
71. A third party library is targeting inversify reflection metadata.
82. A bug is causing the issue. Consider submiting an issue to fix it.`):new P(F.missingInjectionDecorator,`Invalid class metadata at type ${e.name}:
9
10${n.join(`
11
12`)}`)}function Ye(e,t){let n=[];if(t.length<e.length)throw new P(F.missingInjectionDecorator,`Found unexpected missing metadata on type "${e.name}". "${e.name}" constructor requires at least ${e.length.toString()} arguments, found ${t.length.toString()} instead.
13Are you using @inject, @multiInject or @unmanaged decorators in every non optional constructor argument?
14
15If you're using typescript and want to rely on auto injection, set "emitDecoratorMetadata" compiler option to true`);for(let e=0;e<t.length;++e)t[e]===void 0&&n.push(e);if(n.length>0)throw new P(F.missingInjectionDecorator,`Found unexpected missing metadata on type "${e.name}" at constructor indexes "${n.join(`", "`)}".
16
17Are you using @inject, @multiInject or @unmanaged decorators at those indexes?
18
19If you're using typescript and want to rely on auto injection, set "emitDecoratorMetadata" compiler option to true`)}function Xe(e){let t=be(e,`@inversifyjs/core/classMetadataReflectKey`)??Ue();if(Ge(e))Je(e,t);else return Ye(e,t.constructorArguments),t}function Ze(e,t){let n=Xe(t).scope??e.scope;return{cache:{isRight:!1,value:void 0},id:D(),implementationType:t,isSatisfiedBy:()=>!0,moduleId:void 0,onActivation:void 0,onDeactivation:void 0,scope:n,serviceIdentifier:t,type:k.Instance}}function Qe(e){return e.isRight?{isRight:!0,value:e.value}:e}function $e(e){return{cache:Qe(e.cache),id:e.id,isSatisfiedBy:e.isSatisfiedBy,moduleId:e.moduleId,onActivation:e.onActivation,onDeactivation:e.onDeactivation,scope:e.scope,serviceIdentifier:e.serviceIdentifier,type:e.type,value:e.value}}function et(e){return{cache:Qe(e.cache),id:e.id,isSatisfiedBy:e.isSatisfiedBy,moduleId:e.moduleId,onActivation:e.onActivation,onDeactivation:e.onDeactivation,scope:e.scope,serviceIdentifier:e.serviceIdentifier,type:e.type,value:e.value}}function tt(e){return{cache:Qe(e.cache),factory:e.factory,id:e.id,isSatisfiedBy:e.isSatisfiedBy,moduleId:e.moduleId,onActivation:e.onActivation,onDeactivation:e.onDeactivation,scope:e.scope,serviceIdentifier:e.serviceIdentifier,type:e.type}}function nt(e){return{cache:Qe(e.cache),id:e.id,implementationType:e.implementationType,isSatisfiedBy:e.isSatisfiedBy,moduleId:e.moduleId,onActivation:e.onActivation,onDeactivation:e.onDeactivation,scope:e.scope,serviceIdentifier:e.serviceIdentifier,type:e.type}}function rt(e){return{cache:Qe(e.cache),factory:e.factory,id:e.id,isSatisfiedBy:e.isSatisfiedBy,metadata:e.metadata,moduleId:e.moduleId,onActivation:e.onActivation,onDeactivation:e.onDeactivation,scope:e.scope,serviceIdentifier:e.serviceIdentifier,type:e.type}}function it(e){return{id:e.id,isSatisfiedBy:e.isSatisfiedBy,moduleId:e.moduleId,serviceIdentifier:e.serviceIdentifier,targetServiceIdentifier:e.targetServiceIdentifier,type:e.type}}function at(e){switch(e.type){case k.ConstantValue:return $e(e);case k.DynamicValue:return et(e);case k.Factory:return tt(e);case k.Instance:return nt(e);case k.ResolvedValue:return rt(e);case k.ServiceRedirection:return it(e)}}var I;(function(e){e.id=`id`,e.moduleId=`moduleId`,e.serviceId=`serviceId`})(I||(I={}));var ot=class e extends De{_buildNewInstance(t){return new e(t)}_cloneModel(e){return at(e)}},st=new WeakMap,L=new WeakMap,ct=new WeakMap,lt=new WeakSet,ut=class e{constructor(e,t,n){A(this,lt),C(this,st,void 0),C(this,L,void 0),C(this,ct,void 0),T(L,this,n??new ot({id:{isOptional:!1},moduleId:{isOptional:!0},serviceId:{isOptional:!1}})),T(ct,this,e),T(st,this,t)}static build(t,n){return new e(t,n)}clone(){return new e(E(ct,this),E(st,this),E(L,this).clone())}get(e){let t=this.getNonParentBindings(e)??E(ct,this).call(this)?.get(e);if(t!==void 0)return t;let n=w(lt,this,dt).call(this,e);return n===void 0?n:[n]}*getChained(e){let t=this.getNonParentBindings(e);t!==void 0&&(yield*t);let n=E(ct,this).call(this);if(n===void 0){if(t===void 0){let t=w(lt,this,dt).call(this,e);t!==void 0&&(yield t)}}else yield*n.getChained(e)}getBoundServices(){let e=new Set(E(L,this).getAllKeys(I.serviceId)),t=E(ct,this).call(this);if(t!==void 0)for(let n of t.getBoundServices())e.add(n);return e}getById(e){return E(L,this).get(I.id,e)??E(ct,this).call(this)?.getById(e)}getByModuleId(e){return E(L,this).get(I.moduleId,e)??E(ct,this).call(this)?.getByModuleId(e)}getNonParentBindings(e){return E(L,this).get(I.serviceId,e)}getNonParentBoundServices(){return E(L,this).getAllKeys(I.serviceId)}removeById(e){E(L,this).removeByRelation(I.id,e)}removeAllByModuleId(e){E(L,this).removeByRelation(I.moduleId,e)}removeAllByServiceId(e){E(L,this).removeByRelation(I.serviceId,e)}set(e){let t={[I.id]:e.id,[I.serviceId]:e.serviceIdentifier};e.moduleId!==void 0&&(t[I.moduleId]=e.moduleId),E(L,this).add(e,t)}};function dt(e){if(E(st,this)===void 0||typeof e!=`function`)return;let t=Ze(E(st,this),e);return this.set(t),t}var ft;(function(e){e.moduleId=`moduleId`,e.serviceId=`serviceId`})(ft||(ft={}));var pt=new WeakMap,mt=new WeakMap,ht=class e{constructor(e,t){C(this,pt,void 0),C(this,mt,void 0),T(pt,this,t??new De({moduleId:{isOptional:!0},serviceId:{isOptional:!1}})),T(mt,this,e)}static build(t){return new e(t)}add(e,t){E(pt,this).add(e,t)}clone(){return new e(E(mt,this),E(pt,this).clone())}get(e){let t=[],n=E(pt,this).get(ft.serviceId,e);n!==void 0&&t.push(n);let r=E(mt,this).call(this)?.get(e);if(r!==void 0&&t.push(r),t.length!==0)return we(...t)}removeAllByModuleId(e){E(pt,this).removeByRelation(ft.moduleId,e)}removeAllByServiceId(e){E(pt,this).removeByRelation(ft.serviceId,e)}};function gt(){return 0}function _t(e){return t=>{t!==void 0&&t.kind===qe.unknown&&Se(e,We,gt,e=>e-1)}}var R;(function(e){e[e.multipleInjection=0]=`multipleInjection`,e[e.singleInjection=1]=`singleInjection`,e[e.unmanaged=2]=`unmanaged`})(R||(R={}));function vt(e,t){return(...n)=>r=>{if(r===void 0)return e(...n);if(r.kind===R.unmanaged)throw new P(F.injectionDecoratorConflict,`Unexpected injection found. Multiple @inject, @multiInject or @unmanaged decorators found`);return t(r,...n)}}function yt(e,t,n){return e===R.multipleInjection?{chained:n?.chained??!1,kind:e,name:void 0,optional:!1,tags:new Map,value:t}:{kind:e,name:void 0,optional:!1,tags:new Map,value:t}}function bt(e){if(e.kind!==qe.unknown&&e.isFromTypescriptParamType!==!0)throw new P(F.injectionDecoratorConflict,`Unexpected injection found. Multiple @inject, @multiInject or @unmanaged decorators found`)}function xt(e,t,n,r){return bt(e),t===R.multipleInjection?{...e,chained:r?.chained??!1,kind:t,value:n}:{...e,kind:t,value:n}}var St=vt(yt,xt);function Ct(e,t){return n=>{let r=n.constructorArguments[t];return n.constructorArguments[t]=e(r),n}}function wt(e,t){return n=>{let r=n.properties.get(t);return n.properties.set(t,e(r)),n}}var Tt;(function(e){e[e.method=0]=`method`,e[e.parameter=1]=`parameter`,e[e.property=2]=`property`})(Tt||(Tt={}));function Et(e,t,n){if(n===void 0){if(t===void 0)throw new P(F.unknown,`Unexpected undefined property and index values`);return{kind:Tt.property,property:t,targetClass:e.constructor}}
19return typeof n==`number`?{index:n,kind:Tt.parameter,targetClass:e}:{kind:Tt.method,method:t,targetClass:e}}function Dt(e){switch(e.kind){case Tt.method:return`[class: "${e.targetClass.name}", method: "${e.method.toString()}"]`;case Tt.parameter:return`[class: "${e.targetClass.name}", index: "${e.index.toString()}"]`;case Tt.property:return`[class: "${e.targetClass.name}", property: "${e.property.toString()}"]`}}function Ot(e,t,n,r){if(P.isErrorOfKind(r,F.injectionDecoratorConflict)){let i=Et(e,t,n);throw new P(F.injectionDecoratorConflict,`Unexpected injection error.
20
21Cause:
22
23${r.message}
24
25Details
26
27${Dt(i)}`,{cause:r})}throw r}function kt(e,t){return(n,r,i)=>{try{i===void 0?Nt(e,t)(n,r):typeof i==`number`?Mt(e,t)(n,r,i):jt(e,t)(n,r,i)}catch(e){Ot(n,r,i,e)}}}function At(e,t){return n=>{let r=t(n);return t=>(r(t),e(t))}}function jt(e,t){let n=At(e,t);return(e,t,r)=>{if(Ft(r))Se(e.constructor,He,Ue,wt(n(e),t));else throw new P(F.injectionDecoratorConflict,`Found an @inject decorator in a non setter property method.
28Found @inject decorator at method "${t.toString()}" at class "${e.constructor.name}"`)}}function Mt(e,t){let n=At(e,t);return(e,t,r)=>{if(Pt(e,t))Se(e,He,Ue,Ct(n(e),r));else throw new P(F.injectionDecoratorConflict,`Found an @inject decorator in a non constructor parameter.
29Found @inject decorator at method "${t?.toString()??``}" at class "${e.constructor.name}"`)}}function Nt(e,t){let n=At(e,t);return(e,t)=>{Se(e.constructor,He,Ue,wt(n(e),t))}}function Pt(e,t){return typeof e==`function`&&t===void 0}function Ft(e){return e.set!==void 0}function It(e){return kt(St(R.singleInjection,e),_t)}var Lt=`@inversifyjs/core/classIsInjectableFlagReflectKey`;function Rt(e){if(be(e,`@inversifyjs/core/classIsInjectableFlagReflectKey`)!==void 0)throw new P(F.injectionDecoratorConflict,`Cannot apply @injectable decorator multiple times at class "${e.name}"`);xe(e,Lt,!0)}var zt=`design:paramtypes`;function Bt(e){return{isFromTypescriptParamType:!0,kind:R.singleInjection,name:void 0,optional:!1,tags:new Map,value:e}}var Vt=[Array,BigInt,Boolean,Function,Number,Object,String];function Ht(e){return!Vt.includes(e)}function Ut(e){let t=be(e,zt);t!==void 0&&Se(e,He,Ue,Wt(t))}function Wt(e){return t=>(e.forEach((e,n)=>{t.constructorArguments[n]===void 0&&Ht(e)&&(t.constructorArguments[n]=Bt(e))}),t)}function Gt(e){return t=>{Rt(t),Ut(t),e!==void 0&&Se(t,He,Ue,t=>({...t,scope:e}))}}function Kt(e){return Object.getPrototypeOf(e.prototype)?.constructor}function qt(e,t,n){let r=e.extendConstructorArguments??!0,i;return r?(i=[...t.constructorArguments],n.constructorArguments.map((e,t)=>{i[t]=e})):i=n.constructorArguments,i}function Jt(e,t,n){return e?new Set([...t,...n]):n}function Yt(e,t,n){let r=e.lifecycle?.extendPostConstructMethods??!0,i=Jt(e.lifecycle?.extendPreDestroyMethods??!0,t.lifecycle.preDestroyMethodNames,n.lifecycle.preDestroyMethodNames);return{postConstructMethodNames:Jt(r,t.lifecycle.postConstructMethodNames,n.lifecycle.postConstructMethodNames),preDestroyMethodNames:i}}function Xt(e,t,n){let r=e.extendProperties??!0,i;return i=r?new Map(we(t.properties,n.properties)):n.properties,i}function Zt(e){return t=>{Se(t,He,Ue,Qt(e,Xe(e.type)))}}function Qt(e,t){return n=>({constructorArguments:qt(e,t,n),lifecycle:Yt(e,t,n),properties:Xt(e,t,n),scope:n.scope})}function $t(e){return t=>{let n=Kt(t);if(n===void 0)throw new P(F.injectionDecoratorConflict,`Expected base type for type "${t.name}", none found.`);Zt({...e,type:n})(t)}}function en(){return{kind:R.unmanaged}}function tn(e){if(bt(e),nn(e))throw new P(F.injectionDecoratorConflict,`Unexpected injection found. Found @unmanaged injection with additional @named, @optional, @tagged or @targetName injections`);return en()}function nn(e){return e.name!==void 0||e.optional||e.tags.size>0}var rn=vt(en,tn);function an(){return kt(rn(),_t)}var on;(function(e){e[e.multipleInjection=0]=`multipleInjection`,e[e.singleInjection=1]=`singleInjection`})(on||(on={}));function sn(e){return e.rootConstraints.isMultiple?{chained:e.rootConstraints.chained,isMultiple:!0,name:e.rootConstraints.name,optional:e.rootConstraints.isOptional??!1,serviceIdentifier:e.rootConstraints.serviceIdentifier,tag:e.rootConstraints.tag}:{isMultiple:!1,name:e.rootConstraints.name,optional:e.rootConstraints.isOptional??!1,serviceIdentifier:e.rootConstraints.serviceIdentifier,tag:e.rootConstraints.tag}}var cn=/stack space|call stack|too much recursion/i,ln=/too much recursion/;function un(e){try{return e instanceof Error?e instanceof RangeError&&cn.test(e.message)||e.name===`InternalError`&&ln.test(e.message):!1}catch(e){return e instanceof SyntaxError&&e.message.includes(`Stack overflow`)}}function dn(e){let t=new Set;for(let n of e.servicesBranch){if(t.has(n))return[...t,n];t.add(n)}return[...t]}function fn(e,t){if(un(t)||P.isErrorOfKind(t,F.planningMaxDepthExceeded)){let n=pn(dn(e));
29throw new P(F.planning,`Circular dependency found: ${n}`,{cause:t})}throw t}function pn(e){let t=[...e];return t.length===0?`(No dependency trace)`:t.map(b).join(` -> `)}var mn=Symbol.for(`@inversifyjs/core/LazyPlanServiceNode`),z=class{constructor(e,t){S(this,mn,void 0),S(this,`_serviceIdentifier`,void 0),S(this,`_serviceNode`,void 0),this[mn]=!0,this._serviceNode=e,this._serviceIdentifier=t}get bindings(){return this._getNode().bindings}get isContextFree(){return this._getNode().isContextFree}get serviceIdentifier(){return this._serviceIdentifier}set bindings(e){this._getNode().bindings=e}set isContextFree(e){this._getNode().isContextFree=e}static is(e){return typeof e==`object`&&!!e&&e[mn]===!0}invalidate(){this._serviceNode=void 0}isExpanded(){return this._serviceNode!==void 0}_getNode(){return this._serviceNode===void 0&&(this._serviceNode=this._buildPlanServiceNode()),this._serviceNode}},hn=new WeakMap,gn=class e{constructor(e){C(this,hn,void 0),T(hn,this,e)}get name(){return E(hn,this).elem.name}get serviceIdentifier(){return E(hn,this).elem.serviceIdentifier}get tags(){return E(hn,this).elem.tags}getAncestor(){if(E(hn,this).elem.getAncestorsCalled=!0,E(hn,this).previous!==void 0)return new e(E(hn,this).previous)}};function _n(e,t,n){let r=n?.customServiceIdentifier??t.serviceIdentifier,i=(n?.chained===!0?[...e.operations.getBindingsChained(r)]:[...e.operations.getBindings(r)??[]]).filter(e=>e.isSatisfiedBy(t));if(i.length===0&&e.autobindOptions!==void 0&&typeof r==`function`){let n=Ze(e.autobindOptions,r);e.operations.setBinding(n),n.isSatisfiedBy(t)&&i.push(n)}return i}var vn=Symbol.iterator,yn=class e{constructor(e,t){S(this,`last`,void 0),S(this,`length`,void 0),this.last=e,this.length=t}concat(t){return new e({elem:t,previous:this.last},this.length+1)}[vn](){let e=this.last;return{next:()=>{if(e===void 0)return{done:!0,value:void 0};let t=e.elem;return e=e.previous,{done:!1,value:t}}}}};function bn(e){let t=new Map;return e.rootConstraints.tag!==void 0&&t.set(e.rootConstraints.tag.key,e.rootConstraints.tag.value),new yn({elem:{getAncestorsCalled:!1,name:e.rootConstraints.name,serviceIdentifier:e.rootConstraints.serviceIdentifier,tags:t},previous:void 0},1)}function xn(e){return e.redirections!==void 0}function Sn(e){switch(e.type){case k.Instance:return`[ type: "${e.type}", serviceIdentifier: "${b(e.serviceIdentifier)}", scope: "${e.scope}", implementationType: "${e.implementationType.name}" ]`;case k.ServiceRedirection:return`[ type: "${e.type}", serviceIdentifier: "${b(e.serviceIdentifier)}", redirection: "${b(e.targetServiceIdentifier)}" ]`;default:return`[ type: "${e.type}", serviceIdentifier: "${b(e.serviceIdentifier)}", scope: "${e.scope}" ]`}}function Cn(e,t,n,r){let i=n.elem.serviceIdentifier,a=n.previous?.elem.serviceIdentifier;Array.isArray(e)?Tn(e,t,i,a,n.elem,r):En(e,t,i,a,n.elem,r)}function wn(e,t,n,r){let i=`No bindings found for service: "${b(r[r.length-1]??e)}".
30
31Trying to resolve bindings for "${Dn(e,t)}".${kn(r)}${On(n)}`;throw new P(F.planning,i)}function Tn(e,t,n,r,i,a){if(e.length===0)t||wn(n,r,i,a);else{let t=`Ambiguous bindings found for service: "${b(a[a.length-1]??n)}".${kn(a)}
32
33Registered bindings:
34
35${e.map(e=>Sn(e.binding)).join(`
36`)}
37
38Trying to resolve bindings for "${Dn(n,r)}".${On(i)}`;throw new P(F.planning,t)}}function En(e,t,n,r,i,a){e===void 0&&!t&&wn(n,r,i,a)}function Dn(e,t){return t===void 0?`${b(e)} (Root service)`:b(t)}function On(e){let t=e.tags.size===0?``:`
39- tags:
40  - ${[...e.tags.keys()].map(e=>e.toString()).join(`
41  - `)}`;return`
42
43Binding constraints:
44- service identifier: ${b(e.serviceIdentifier)}
45- name: ${e.name?.toString()??`-`}${t}`}function kn(e){return e.length===0?``:`
46
47- service redirections:
48  - ${e.map(e=>b(e)).join(`
49  - `)}`}var An=1;function jn(e,t,n,r){if(e.redirections.length===An){let[i]=e.redirections;xn(i)&&jn(i,t,n,[...r,i.binding.targetServiceIdentifier]);return}Cn(e.redirections,t,n,r)}var Mn=1;function Nn(e,t,n){if(Array.isArray(e.bindings)&&e.bindings.length===Mn){let[r]=e.bindings;xn(r)&&jn(r,t,n,[r.binding.targetServiceIdentifier]);return}Cn(e.bindings,t,n,[])}function Pn(e){return t=>{let n=bn(t),r=new gn(n.last),i=t.rootConstraints.isMultiple&&t.rootConstraints.chained,a=_n(t,r,{chained:i}),o=[],s={bindings:o,isContextFree:!0,serviceIdentifier:t.rootConstraints.serviceIdentifier};if(o.push(...e(t,n,a,s,i)),s.isContextFree=!n.last.elem.getAncestorsCalled,!t.rootConstraints.isMultiple){Nn(s,t.rootConstraints.isOptional??!1,n.last);let[e]=o;s.bindings=e}return s}}function Fn(e){return ye.is(e)?e.unwrap():e}function In(e){return(t,n,r)=>{let i=Fn(r.value),a=n.concat({getAncestorsCalled:!1,name:r.name,serviceIdentifier:i,tags:r.tags}),o=new gn(a.last),s=r.kind===R.multipleInjection&&r.chained,c=_n(t,o,{chained:s}),l=[],u={bindings:l,isContextFree:!0,serviceIdentifier:i};if(l.push(...e(t,a,c,u,s)),u.isContextFree=!a.last.elem.getAncestorsCalled,r.kind===R.singleInjection){Nn(u,r.optional,a.last);let[e]=l;u.bindings=e}return u}}function Ln(e){return(t,n,r)=>{let i=Fn(r.value),a=n.concat({getAncestorsCalled:!1,name:r.name,serviceIdentifier:i,tags:r.tags}),o=new gn(a.last),s=r.kind===on.multipleInjection&&r.chained,c=_n(t,o,{chained:s}),l=[],u={bindings:l,isContextFree:!0,serviceIdentifier:i};if(l.push(...e(t,a,c,u,s)),u.isContextFree=!a.last.elem.getAncestorsCalled,r.kind===on.singleInjection){Nn(u,r.optional,a.last);let[e]=l;u.bindings=e}return u}}function Rn(e){let t=zn(e),n=Bn(e),r=(e,r,a,o,s)=>{let c=xn(o)?o.binding.targetServiceIdentifier:o.serviceIdentifier;e.servicesBranch.push(c);let l=[];for(let o of a)switch(o.type){case k.Instance:l.push(t(e,o,r));break;case k.ResolvedValue:l.push(n(e,o,r));break;case k.ServiceRedirection:{let t=i(e,r,o,s);l.push(t);break}default:l.push({binding:o})}return e.servicesBranch.pop(),l},i=Vn(r);return r}function zn(e){return(t,n,r)=>{let i={binding:n,classMetadata:t.operations.getClassMetadata(n.implementationType),constructorParams:[],propertyParams:new Map};return e({autobindOptions:t.autobindOptions,node:i,operations:t.operations,servicesBranch:t.servicesBranch},r)}}function Bn(e){return(t,n,r)=>{let i={binding:n,params:[]};return e({autobindOptions:t.autobindOptions,node:i,operations:t.operations,servicesBranch:t.servicesBranch},r)}}function Vn(e){return(t,n,r,i)=>{let a={binding:r,redirections:[]},o=_n(t,new gn(n.last),{chained:i,customServiceIdentifier:r.targetServiceIdentifier});return a.redirections.push(...e(t,n,o,a,i)),a}}function Hn(e){return e.binding.type===k.Instance}function Un(e){let t;if(e.tags.size===0)t=void 0;else if(e.tags.size===1){let[n,r]=e.tags.entries().next().value;t={key:n,value:r}}else return;let n=ye.is(e.value)?e.value.unwrap():e.value;return e.kind===R.multipleInjection?{chained:e.chained,isMultiple:!0,name:e.name,optional:e.optional,serviceIdentifier:n,tag:t}:{isMultiple:!1,name:e.name,optional:e.optional,serviceIdentifier:n,tag:t}}function Wn(e){let t;if(e.tags.size===0)t=void 0;else if(e.tags.size===1){let[n,r]=e.tags.entries().next().value;t={key:n,value:r}}else return;let n=ye.is(e.value)?e.value.unwrap():e.value;return e.kind===on.multipleInjection?{chained:e.chained,isMultiple:!0,name:e.name,optional:e.optional,serviceIdentifier:n,tag:t}:{isMultiple:!1,name:e.name,optional:e.optional,serviceIdentifier:n,tag:t}}function Gn(e,t,n,r){if(e!==void 0&&(z.is(n)&&!n.isExpanded()||n.isContextFree)){let r={tree:{root:n}};t.setPlan(e,r)}
49else t.setNonCachedServiceNode(n,r)}var Kn=500,qn=new WeakMap,Jn=new WeakMap,Yn=new WeakMap,Xn=new WeakMap,Zn=class extends z{constructor(e,t,n,r,i){super(i,Fn(r.value)),C(this,qn,void 0),C(this,Jn,void 0),C(this,Yn,void 0),C(this,Xn,void 0),T(Jn,this,t),T(qn,this,e),T(Yn,this,n),T(Xn,this,r)}_buildPlanServiceNode(){return E(Jn,this).call(this,E(qn,this),E(Yn,this),E(Xn,this))}},Qn=new WeakMap,$n=new WeakMap,er=new WeakMap,tr=new WeakMap,nr=class extends z{constructor(e,t,n,r,i){super(i,Fn(r.value)),C(this,Qn,void 0),C(this,$n,void 0),C(this,er,void 0),C(this,tr,void 0),T(Qn,this,e),T($n,this,t),T(er,this,n),T(tr,this,r)}_buildPlanServiceNode(){return E($n,this).call(this,E(Qn,this),E(er,this),E(tr,this))}};function rr(e,t,n,r){let i=ir(e,n),a=ar(t,r);return(e,t)=>Hn(e.node)?i(e,e.node,t):a(e,e.node,t)}function ir(e,t){let n=or(e,t);return(e,t,r)=>{let i=t.classMetadata;for(let[a,o]of i.constructorArguments.entries())t.constructorParams[a]=n(e,r,o);for(let[a,o]of i.properties){let i=n(e,r,o);i!==void 0&&t.propertyParams.set(a,i)}return e.node}}function ar(e,t){let n=sr(e,t);return(e,t,r)=>{let i=t.binding.metadata;for(let[a,o]of i.arguments.entries())t.params[a]=n(e,r,o);return e.node}}function or(e,t){return(n,r,i)=>{if(i.kind===R.unmanaged)return;if(r.length>Kn)throw new P(F.planningMaxDepthExceeded,`Maximum plan depth exceeded. This is likely caused by a circular dependency.`);let a=Un(i);if(a!==void 0){let e=n.operations.getPlan(a);if(e!==void 0&&e.tree.root.isContextFree)return e.tree.root}let o=new Zn(n,e,r,i,t(n,r,i));return Gn(a,n.operations,o,{bindingConstraintsList:r,chainedBindings:i.kind===R.multipleInjection&&i.chained,optionalBindings:i.optional}),o}}function sr(e,t){return(n,r,i)=>{let a=Wn(i);if(a!==void 0){let e=n.operations.getPlan(a);if(e!==void 0&&e.tree.root.isContextFree)return e.tree.root}let o=new nr(n,e,r,i,t(n,r,i));return Gn(a,n.operations,o,{bindingConstraintsList:r,chainedBindings:i.kind===on.multipleInjection&&i.chained,optionalBindings:i.optional}),o}}var cr=new WeakMap,lr=class extends z{constructor(e,t){super(t,t.serviceIdentifier),C(this,cr,void 0),T(cr,this,e)}_buildPlanServiceNode(){return mr(E(cr,this))}},ur=In(pr),dr=Ln(pr),fr=Rn(rr(ur,dr,ur,dr));function pr(e,t,n,r,i){return fr(e,t,n,r,i)}var mr=Pn(fr);function hr(e){try{let t=sn(e),n=e.operations.getPlan(t);if(n!==void 0)return n;let r={tree:{root:new lr(e,mr(e))}};return e.operations.setPlan(t,r),r}catch(t){fn(e,t)}}var B;(function(e){e.bindingAdded=`bindingAdded`,e.bindingRemoved=`bindingRemoved`})(B||(B={}));var gr,_r=8,vr=1024,yr=.5,V=new WeakMap,br=new WeakMap,xr=new WeakMap,Sr=new WeakSet;gr=Symbol.iterator;var Cr=class{constructor(){A(this,Sr),C(this,V,void 0),C(this,br,void 0),C(this,xr,void 0),T(V,this,[]),T(br,this,_r),T(xr,this,vr)}*[gr](){let e=0;for(let t of E(V,this)){let n=t.deref();n===void 0?++e:yield n}E(V,this).length>=E(br,this)&&w(Sr,this,Tr).call(this,e)&&w(Sr,this,wr).call(this,e)}push(e){let t=new WeakRef(e);if(E(V,this).push(t),E(V,this).length>=E(br,this)&&E(V,this).length%E(xr,this)===0){let e=0;for(let t of E(V,this))t.deref()===void 0&&++e;w(Sr,this,Tr).call(this,e)&&w(Sr,this,wr).call(this,e)}}};function wr(e){let t=Array(E(V,this).length-e),n=0;for(let e of E(V,this))e.deref()&&(t[n++]=e);T(V,this,t)}function Tr(e){return e>=E(V,this).length*yr}function Er(e){let t=In(e);return(e,n,r)=>{try{return t(e,n,r)}catch(e){if(P.isErrorOfKind(e,F.planning))return;throw e}}}function Dr(e){let t=Ln(e);return(e,n,r)=>{try{return t(e,n,r)}catch(e){if(P.isErrorOfKind(e,F.planning))return;throw e}}}var Or=Rn(rr(ur,dr,jr,Mr)),kr=Er(Or),Ar=Dr(Or);function jr(e,t,n){return kr(e,t,n)}function Mr(e,t,n){return Ar(e,t,n)}function Nr(e,t,n,r,i){if(z.is(t)&&!t.isExpanded())return{isContextFreeBinding:!0,shouldInvalidateServiceNode:!1};let a=new gn(r.last);return!n.isSatisfiedBy(a)||r.last.elem.getAncestorsCalled?{isContextFreeBinding:!r.last.elem.getAncestorsCalled,shouldInvalidateServiceNode:!1}:Pr(e,t,n,r,i)}function Pr(e,t,n,r,i){let a;try{[a]=Or(e,r,[n],t,i)}catch(e){if(un(e)||P.isErrorOfKind(e,F.planningMaxDepthExceeded))return{isContextFreeBinding:!1,shouldInvalidateServiceNode:!0};throw e}return Fr(t,a)}function Fr(e,t){if(Array.isArray(e.bindings))e.bindings.push(t);else if(e.bindings===void 0)e.bindings=t;else{if(!z.is(e))throw new P(F.planning,`Unexpected non-lazy plan service node. This is likely a bug in the planning logic. Please, report this issue`);return{isContextFreeBinding:!0,shouldInvalidateServiceNode:!0}}return{isContextFreeBinding:!0,shouldInvalidateServiceNode:!1}}function Ir(e,t,n){return z.is(t)&&!t.isExpanded()?{isContextFreeBinding:!0,shouldInvalidateServiceNode:!1}:Nr(e,t,n,bn(e),e.rootConstraints.isMultiple&&e.rootConstraints.chained)}function Lr(e,t,n,r){if(z.is(e)&&!e.isExpanded())return{bindingNodeRemoved:void 0,isContextFreeBinding:!0};let i=new gn(n.last);if(!t.isSatisfiedBy(i)||n.last.elem.getAncestorsCalled)return{bindingNodeRemoved:void 0,isContextFreeBinding:!n.last.elem.getAncestorsCalled};let a;if(Array.isArray(e.bindings))e.bindings=e.bindings.filter(e=>e.binding===t?(a=e,!1):!0);else if(e.bindings?.binding===t)if(a=e.bindings,r)e.bindings=void 0;else{if(!z.is(e))throw new P(F.planning,`Unexpected non-lazy plan service node. This is likely a bug in the planning logic. Please, report this issue`);
49e.invalidate()}return{bindingNodeRemoved:a,isContextFreeBinding:!0}}function Rr(e,t,n){return z.is(t)&&!t.isExpanded()?{bindingNodeRemoved:void 0,isContextFreeBinding:!0}:Lr(t,n,bn(e),e.rootConstraints.isOptional??!1)}var zr=4,Br=2,Vr=1,Hr=8,Ur=new WeakMap,Wr=new WeakMap,Gr=new WeakMap,Kr=new WeakMap,qr=new WeakMap,Jr=new WeakMap,H=new WeakSet,Yr=class{constructor(){A(this,H),C(this,Ur,void 0),C(this,Wr,void 0),C(this,Gr,void 0),C(this,Kr,void 0),C(this,qr,void 0),C(this,Jr,void 0),T(Ur,this,new Map),T(Wr,this,w(H,this,Xr).call(this)),T(Gr,this,w(H,this,Xr).call(this)),T(Kr,this,w(H,this,Xr).call(this)),T(qr,this,w(H,this,Xr).call(this)),T(Jr,this,new Cr)}clearCache(){for(let e of w(H,this,ei).call(this))e.clear();for(let e of E(Jr,this))e.clearCache()}get(e){return e.name===void 0?e.tag===void 0?w(H,this,$r).call(this,E(Wr,this),e).get(e.serviceIdentifier):w(H,this,$r).call(this,E(qr,this),e).get(e.serviceIdentifier)?.get(e.tag.key)?.get(e.tag.value):e.tag===void 0?w(H,this,$r).call(this,E(Gr,this),e).get(e.serviceIdentifier)?.get(e.name):w(H,this,$r).call(this,E(Kr,this),e).get(e.serviceIdentifier)?.get(e.name)?.get(e.tag.key)?.get(e.tag.value)}invalidateServiceBinding(e){w(H,this,ci).call(this,e),w(H,this,ni).call(this,e),w(H,this,ri).call(this,e),w(H,this,li).call(this,e),w(H,this,si).call(this,e);for(let t of E(Jr,this))t.invalidateServiceBinding(e)}set(e,t){e.name===void 0?e.tag===void 0?w(H,this,$r).call(this,E(Wr,this),e).set(e.serviceIdentifier,t):w(H,this,Qr).call(this,w(H,this,Qr).call(this,w(H,this,$r).call(this,E(qr,this),e),e.serviceIdentifier),e.tag.key).set(e.tag.value,t):e.tag===void 0?w(H,this,Qr).call(this,w(H,this,$r).call(this,E(Gr,this),e),e.serviceIdentifier).set(e.name,t):w(H,this,Qr).call(this,w(H,this,Qr).call(this,w(H,this,Qr).call(this,w(H,this,$r).call(this,E(Kr,this),e),e.serviceIdentifier),e.name),e.tag.key).set(e.tag.value,t)}setNonCachedServiceNode(e,t){let n=E(Ur,this).get(e.serviceIdentifier);n===void 0&&(n=new Map,E(Ur,this).set(e.serviceIdentifier,n)),n.set(e,t)}subscribe(e){E(Jr,this).push(e)}};function Xr(){let e=Array(Hr);for(let t=0;t<e.length;++t)e[t]=new Map;return e}function Zr(e,t,n,r){let i=(t&Br)!==0,a;return a=i?{chained:(t&0)!=0,isMultiple:i,serviceIdentifier:e.binding.serviceIdentifier}:{isMultiple:i,serviceIdentifier:e.binding.serviceIdentifier},(t&Vr)!==0&&(a.isOptional=!0),n!==void 0&&(a.name=n),r!==void 0&&(a.tag=r),{autobindOptions:void 0,operations:e.operations,rootConstraints:a,servicesBranch:[]}}function Qr(e,t){let n=e.get(t);return n===void 0&&(n=new Map,e.set(t,n)),n}function $r(e,t){return e[w(H,this,ti).call(this,t)]}function ei(){return[E(Ur,this),...E(Wr,this),...E(Gr,this),...E(Kr,this),...E(qr,this)]}function ti(e){return e.isMultiple?(e.chained?zr:0)|(e.optional?Vr:0)|Br:e.optional?Vr:0}function ni(e){for(let[t,n]of E(Gr,this).entries()){let r=n.get(e.binding.serviceIdentifier);if(r!==void 0)for(let[n,i]of r.entries())w(H,this,ui).call(this,e,i,t,n,void 0)}}function ri(e){for(let[t,n]of E(Kr,this).entries()){let r=n.get(e.binding.serviceIdentifier);if(r!==void 0)for(let[n,i]of r.entries())for(let[r,a]of i.entries())for(let[i,o]of a.entries())w(H,this,ui).call(this,e,o,t,n,{key:r,value:i})}}function ii(e){switch(e.binding.type){case k.ServiceRedirection:for(let t of e.redirections)w(H,this,ii).call(this,t);break;case k.Instance:for(let t of e.constructorParams)t!==void 0&&w(H,this,ai).call(this,t);for(let t of e.propertyParams.values())w(H,this,ai).call(this,t);break;case k.ResolvedValue:for(let t of e.params)w(H,this,ai).call(this,t);break;default:}}function ai(e){let t=E(Ur,this).get(e.serviceIdentifier);t===void 0||!t.has(e)||(t.delete(e),w(H,this,oi).call(this,e))}function oi(e){if(!(z.is(e)&&!e.isExpanded())&&e.bindings!==void 0)if(Array.isArray(e.bindings))for(let t of e.bindings)w(H,this,ii).call(this,t);else w(H,this,ii).call(this,e.bindings)}function si(e){let t=E(Ur,this).get(e.binding.serviceIdentifier);if(t!==void 0)switch(e.kind){case B.bindingAdded:for(let[n,r]of t){let t=Nr({autobindOptions:void 0,operations:e.operations,servicesBranch:[]},n,e.binding,r.bindingConstraintsList,r.chainedBindings);t.isContextFreeBinding?t.shouldInvalidateServiceNode&&z.is(n)&&(w(H,this,oi).call(this,n),n.invalidate()):this.clearCache()}break;case B.bindingRemoved:for(let[n,r]of t){let t=Lr(n,e.binding,r.bindingConstraintsList,r.optionalBindings);
49t.isContextFreeBinding?t.bindingNodeRemoved!==void 0&&w(H,this,ii).call(this,t.bindingNodeRemoved):this.clearCache()}break}}function ci(e){for(let[t,n]of E(Wr,this).entries()){let r=n.get(e.binding.serviceIdentifier);w(H,this,ui).call(this,e,r,t,void 0,void 0)}}function li(e){for(let[t,n]of E(qr,this).entries()){let r=n.get(e.binding.serviceIdentifier);if(r!==void 0)for(let[n,i]of r.entries())for(let[r,a]of i.entries())w(H,this,ui).call(this,e,a,t,void 0,{key:n,value:r})}}function ui(e,t,n,r,i){if(t!==void 0&&z.is(t.tree.root)){let a=w(H,this,Zr).call(this,e,n,r,i);switch(e.kind){case B.bindingAdded:{let n=Ir(a,t.tree.root,e.binding);n.isContextFreeBinding?n.shouldInvalidateServiceNode&&(w(H,this,oi).call(this,t.tree.root),t.tree.root.invalidate()):this.clearCache()}break;case B.bindingRemoved:{let n=Rr(a,t.tree.root,e.binding);n.isContextFreeBinding?n.bindingNodeRemoved!==void 0&&w(H,this,ii).call(this,n.bindingNodeRemoved):this.clearCache()}break}}}var di=-1;function fi(e,t){if(un(t)||P.isErrorOfKind(t,F.planningMaxDepthExceeded)){let n=hi(pi(e));throw new P(F.planning,`Circular dependency found: ${n}`,{cause:t})}throw t}function pi(e){let t=e.planResult.tree.root,n=[];function r(e){let t=n.indexOf(e);if(t!==di)return[...n.slice(t),e].map(e=>e.serviceIdentifier);n.push(e);try{for(let t of mi(e)){let e=r(t);if(e!==void 0)return e}}finally{n.pop()}}return r(t)??[]}function mi(e){let t=[],n=e.bindings;if(n===void 0)return t;let r=e=>{if(xn(e)){for(let t of e.redirections)r(t);return}switch(e.binding.type){case k.Instance:{let n=e;for(let e of n.constructorParams)e!==void 0&&t.push(e);for(let e of n.propertyParams.values())t.push(e);break}case k.ResolvedValue:{let n=e;for(let e of n.params)t.push(e);break}default:break}};if(Array.isArray(n))for(let e of n)r(e);else r(n);return t}function hi(e){let t=[...e];return t.length===0?`(No dependency trace)`:t.map(b).join(` -> `)}function gi(e,t){return t.value}function _i(e,t){return y(t)?(e.cache={isRight:!0,value:t},t.then(t=>vi(e,t))):vi(e,t)}function vi(e,t){return e.cache={isRight:!0,value:t},t}function yi(e,t,n){let r=e.getActivations(t);return r===void 0?n:y(n)?xi(e,n,r[Symbol.iterator]()):bi(e,n,r[Symbol.iterator]())}function bi(e,t,n){let r=t,i=n.next();for(;i.done!==!0;){let t=i.value(e.context,r);if(y(t))return xi(e,t,n);r=t,i=n.next()}return r}async function xi(e,t,n){let r=await t,i=n.next();for(;i.done!==!0;)r=await i.value(e.context,r),i=n.next();return r}function Si(e,t,n){let r=n;if(t.onActivation!==void 0){let n=t.onActivation;r=y(r)?r.then(t=>n(e.context,t)):n(e.context,r)}return yi(e,t.serviceIdentifier,r)}function Ci(e){return(t,n)=>n.cache.isRight?n.cache.value:_i(n,Si(t,n,e(t,n)))}var wi=Ci(gi);function Ti(e,t){return t.value(e.context)}function Ei(e){return e}function Di(e,t){return(n,r)=>{let i=e(r);switch(i.scope){case O.Singleton:return i.cache.isRight?i.cache.value:_i(i,Si(n,i,t(n,r)));case O.Request:{if(n.requestScopeCache.has(i.id))return n.requestScopeCache.get(i.id);let e=Si(n,i,t(n,r));return n.requestScopeCache.set(i.id,e),e}case O.Transient:return Si(n,i,t(n,r))}}}var Oi=(e=>Di(Ei,e))(Ti);function ki(e,t){return t.factory(e.context)}var Ai=Ci(ki);function ji(e){return(t,n)=>{let r=[];for(let i of n.constructorParams)i===void 0?r.push(void 0):r.push(e(t,i));return r.some(y)?Promise.all(r):r}}function Mi(e,t,n){return(r,i)=>{let a=e(r,i);return y(a)?t(a,r,i):n(a,r,i)}}function Ni(e){return async(t,n,r)=>e(await t,n,r)}function Pi(e,t,n){let r=Fi(e,t,n);return y(r)?r.then(()=>e):e}function Fi(e,t,n){if(n in e)if(typeof e[n]==`function`){let r;try{r=e[n]()}catch(e){throw new P(F.resolution,`Unexpected error found when calling "${n.toString()}" @postConstruct decorated method on class "${t.implementationType.name}"`,{cause:e})}if(y(r))return Ii(t,n,r)}else throw new P(F.resolution,`Expecting a "${n.toString()}" method when resolving "${t.implementationType.name}" class @postConstruct decorated method, a non function property was found instead.`);else throw new P(F.resolution,`Expecting a "${n.toString()}
49" property when resolving "${t.implementationType.name}" class @postConstruct decorated method, none found.`)}async function Ii(e,t,n){try{await n}catch(n){throw new P(F.resolution,`Unexpected error found when calling "${t.toString()}" @postConstruct decorated method on class "${e.implementationType.name}"`,{cause:n})}}function Li(e,t,n){if(n.size===0)return e;let r=e;for(let e of n)r=y(r)?r.then(n=>Pi(n,t,e)):Pi(r,t,e);return r}function Ri(e){return(t,n,r)=>{let i=new r.binding.implementationType(...t),a=e(n,i,r);return y(a)?a.then(()=>Li(i,r.binding,r.classMetadata.lifecycle.postConstructMethodNames)):Li(i,r.binding,r.classMetadata.lifecycle.postConstructMethodNames)}}function zi(e){return(t,n)=>{let r=e(t,n);return y(r)?r.then(e=>n.binding.factory(...e)):n.binding.factory(...r)}}function Bi(e){return(t,n)=>{let r=[];for(let i of n.params)r.push(e(t,i));return r.some(y)?Promise.all(r):r}}function Vi(e){return e.binding}var Hi=e=>Di(Vi,e);function Ui(e){return e.binding}var Wi=e=>Di(Ui,e);function Gi(e){function t(n,r){let i=[];for(let a of r.redirections)xn(a)?i.push(...t(n,a)):i.push(e(n,a));return i}return t}function Ki(e){return(t,n,r)=>{let i=[];for(let[a,o]of r.propertyParams){let s=r.classMetadata.properties.get(a);if(s===void 0)throw new P(F.resolution,`Expecting metadata at property "${a.toString()}", none found`);s.kind!==R.unmanaged&&o.bindings!==void 0&&(n[a]=e(t,o),y(n[a])&&i.push((async()=>{n[a]=await n[a]})()))}if(i.length>0)return Promise.all(i).then(()=>void 0)}}var qi=Ki(ta),Ji=Gi(ea),Yi=Mi(ji(ta),Ni(Ri(qi)),Ri(qi)),Xi=zi(Bi(ta)),Zi=Hi(Yi),Qi=Wi(Xi);function $i(e){try{let t=e.planResult.tree.root;return ta(e,t)}catch(t){fi(e,t)}}function ea(e,t){switch(t.binding.type){case k.ConstantValue:return wi(e,t.binding);case k.DynamicValue:return Oi(e,t.binding);case k.Factory:return Ai(e,t.binding);case k.Instance:return Zi(e,t);case k.ResolvedValue:return Qi(e,t)}}function ta(e,t){if(t.bindings!==void 0)return Array.isArray(t.bindings)?na(e,t.bindings):ra(e,t.bindings)}function na(e,t){let n=[];for(let r of t)xn(r)?n.push(...Ji(e,r)):n.push(ea(e,r));return n.some(y)?Promise.all(n):n}function ra(e,t){if(xn(t)){let n=Ji(e,t);if(n.length===1)return n[0];throw new P(F.resolution,`Unexpected multiple resolved values on single injection`)}else return ea(e,t)}function ia(e){return e.scope!==void 0}function aa(e,t){if(t.type===k.Instance){let n=e.getClassMetadata(t.implementationType),r=t.cache.value;return y(r)?r.then(e=>sa(n,e)):sa(n,r)}}function oa(e,t){if(typeof e[t]==`function`)return e[t]()}function sa(e,t){let n=e.lifecycle.preDestroyMethodNames;if(n.size===0)return;let r;for(let e of n)r=r===void 0?oa(t,e):r.then(()=>oa(t,e));return r}function ca(e,t,n){let r=e.getDeactivations(t);if(r!==void 0)return y(n)?ua(n,r[Symbol.iterator]()):la(n,r[Symbol.iterator]())}function la(e,t){let n=t.next();for(;n.done!==!0;){if(y(n.value(e)))return ua(e,t);n=t.next()}}async function ua(e,t){let n=await e,r=t.next();for(;r.done!==!0;)await r.value(n),r=t.next()}function da(e,t){let n=aa(e,t);return n===void 0?fa(e,t):n.then(()=>fa(e,t))}function fa(e,t){let n=t.cache;return y(n.value)?n.value.then(n=>pa(e,t,n)):pa(e,t,n.value)}function pa(e,t,n){let r;if(t.onDeactivation!==void 0){let e=t.onDeactivation;r=e(n)}return r===void 0?ca(e,t.serviceIdentifier,n):r.then(()=>ca(e,t.serviceIdentifier,n))}function ma(e,t){if(t===void 0)return;let n=ha(t),r=[];for(let t of n){let n=da(e,t);n!==void 0&&r.push(n)}if(r.length>0)return Promise.all(r).then(()=>void 0)}function ha(e){let t=[];for(let n of e)ia(n)&&n.scope===O.Singleton&&n.cache.isRight&&t.push(n);return t}function ga(e,t){return ma(e,e.getBindingsFromModule(t))}function _a(e,t){return ma(e,e.getBindings(t))}var va=Symbol.for(`@inversifyjs/container/bindingIdentifier`);function ya(e){return typeof e==`object`&&!!e&&e[va]===!0}var ba=class{};S(ba,`always`,e=>!0);var xa=Symbol.for(`@inversifyjs/container/InversifyContainerError`),U=class e extends Error{constructor(e,t,n){super(t,n),S(this,xa,void 0),S(this,`kind`,void 0),this[xa]=!0,this.kind=e}static is(e){return typeof e==`object`&&!!e&&e[xa]===!0}
49static isErrorOfKind(t,n){return e.is(t)&&t.kind===n}},W;(function(e){e[e.invalidOperation=0]=`invalidOperation`})(W||(W={}));function Sa(e){return{[va]:!0,id:e.id}}function Ca(e){return t=>{for(let n=t.getAncestor();n!==void 0;n=n.getAncestor())if(e(n))return!0;return!1}}function wa(e){return t=>t.name===e}function Ta(e){return Ca(wa(e))}function Ea(e){return t=>t.serviceIdentifier===e}function Da(e){return Ca(Ea(e))}function Oa(e,t){return n=>n.tags.has(e)&&n.tags.get(e)===t}function ka(e,t){return Ca(Oa(e,t))}function Aa(e){return e.name===void 0&&e.tags.size===0}function ja(e){return e.isMultiple===!0}function Ma(e){let t=Ca(e);return e=>!t(e)}function Na(e){return Ma(wa(e))}function Pa(e){return Ma(Ea(e))}function Fa(e,t){return Ma(Oa(e,t))}function Ia(e){return t=>{let n=t.getAncestor();return n===void 0||!e(n)}}function La(e){return Ia(wa(e))}function Ra(e){return Ia(Ea(e))}function za(e,t){return Ia(Oa(e,t))}function Ba(e){return t=>{let n=t.getAncestor();return n!==void 0&&e(n)}}function Va(e){return Ba(wa(e))}function Ha(e){return Ba(Ea(e))}function Ua(e,t){return Ba(Oa(e,t))}function Wa(e){return typeof e==`object`&&!ye.is(e)}var Ga=new WeakMap,Ka=class{constructor(e){C(this,Ga,void 0),T(Ga,this,e)}getIdentifier(){return Sa(E(Ga,this))}inRequestScope(){return E(Ga,this).scope=O.Request,new io(E(Ga,this))}inSingletonScope(){return E(Ga,this).scope=O.Singleton,new io(E(Ga,this))}inTransientScope(){return E(Ga,this).scope=O.Transient,new io(E(Ga,this))}},qa=new WeakMap,Ja=new WeakMap,Ya=new WeakMap,G=new WeakMap,Xa=new WeakSet,Za=class{constructor(e,t,n,r){A(this,Xa),C(this,qa,void 0),C(this,Ja,void 0),C(this,Ya,void 0),C(this,G,void 0),T(qa,this,e),T(Ja,this,t),T(Ya,this,n),T(G,this,r)}to(e){let t=Xe(e),n={cache:{isRight:!1,value:void 0},id:D(),implementationType:e,isSatisfiedBy:ba.always,moduleId:E(Ja,this),onActivation:void 0,onDeactivation:void 0,scope:t.scope??E(Ya,this),serviceIdentifier:E(G,this),type:k.Instance};return E(qa,this).call(this,n),new oo(n)}toSelf(){if(typeof E(G,this)!=`function`)throw Error(`"toSelf" function can only be applied when a newable function is used as service identifier`);return this.to(E(G,this))}toConstantValue(e){let t={cache:{isRight:!1,value:void 0},id:D(),isSatisfiedBy:ba.always,moduleId:E(Ja,this),onActivation:void 0,onDeactivation:void 0,scope:O.Singleton,serviceIdentifier:E(G,this),type:k.ConstantValue,value:e};return E(qa,this).call(this,t),new io(t)}toDynamicValue(e){let t={cache:{isRight:!1,value:void 0},id:D(),isSatisfiedBy:ba.always,moduleId:E(Ja,this),onActivation:void 0,onDeactivation:void 0,scope:E(Ya,this),serviceIdentifier:E(G,this),type:k.DynamicValue,value:e};return E(qa,this).call(this,t),new oo(t)}toResolvedValue(e,t){let n={cache:{isRight:!1,value:void 0},factory:e,id:D(),isSatisfiedBy:ba.always,metadata:w(Xa,this,Qa).call(this,t),moduleId:E(Ja,this),onActivation:void 0,onDeactivation:void 0,scope:E(Ya,this),serviceIdentifier:E(G,this),type:k.ResolvedValue};return E(qa,this).call(this,n),new oo(n)}toFactory(e){let t={cache:{isRight:!1,value:void 0},factory:e,id:D(),isSatisfiedBy:ba.always,moduleId:E(Ja,this),onActivation:void 0,onDeactivation:void 0,scope:O.Singleton,serviceIdentifier:E(G,this),type:k.Factory};return E(qa,this).call(this,t),new io(t)}toService(e){let t={id:D(),isSatisfiedBy:ba.always,moduleId:E(Ja,this),serviceIdentifier:E(G,this),targetServiceIdentifier:e,type:k.ServiceRedirection};E(qa,this).call(this,t)}};function Qa(e){return{arguments:(e??[]).map(e=>Wa(e)?ja(e)?{chained:e.chained??!1,kind:on.multipleInjection,name:e.name,optional:e.optional??!1,tags:new Map((e.tags??[]).map(e=>[e.key,e.value])),value:e.serviceIdentifier}:{kind:on.singleInjection,name:e.name,optional:e.optional??!1,tags:new Map((e.tags??[]).map(e=>[e.key,e.value])),value:e.serviceIdentifier}:{kind:on.singleInjection,name:void 0,optional:!1,tags:new Map,value:e})}}var $a=new WeakMap,eo=class{constructor(e){C(this,$a,void 0),T($a,this,e)}getIdentifier(){return Sa(E($a,this))}onActivation(e){return E($a,this).onActivation=e,new no(E($a,this))}onDeactivation(e){if(E($a,this).onDeactivation=e,E($a,this).scope!==O.Singleton)throw new U(W.invali
49dOperation,`Binding for service "${b(E($a,this).serviceIdentifier)}" has a deactivation function, but its scope is not singleton. Deactivation functions can only be used with singleton bindings.`);return new no(E($a,this))}},to=new WeakMap,no=class{constructor(e){C(this,to,void 0),T(to,this,e)}getIdentifier(){return Sa(E(to,this))}when(e){return E(to,this).isSatisfiedBy=e,new eo(E(to,this))}whenAnyAncestor(e){return this.when(Ca(e))}whenAnyAncestorIs(e){return this.when(Da(e))}whenAnyAncestorNamed(e){return this.when(Ta(e))}whenAnyAncestorTagged(e,t){return this.when(ka(e,t))}whenDefault(){return this.when(Aa)}whenNamed(e){return this.when(wa(e))}whenNoParent(e){return this.when(Ia(e))}whenNoParentIs(e){return this.when(Ra(e))}whenNoParentNamed(e){return this.when(La(e))}whenNoParentTagged(e,t){return this.when(za(e,t))}whenParent(e){return this.when(Ba(e))}whenParentIs(e){return this.when(Ha(e))}whenParentNamed(e){return this.when(Va(e))}whenParentTagged(e,t){return this.when(Ua(e,t))}whenTagged(e,t){return this.when(Oa(e,t))}whenNoAncestor(e){return this.when(Ma(e))}whenNoAncestorIs(e){return this.when(Pa(e))}whenNoAncestorNamed(e){return this.when(Na(e))}whenNoAncestorTagged(e,t){return this.when(Fa(e,t))}},ro=new WeakMap,io=class extends no{constructor(e){super(e),C(this,ro,void 0),T(ro,this,new eo(e))}onActivation(e){return E(ro,this).onActivation(e)}onDeactivation(e){return E(ro,this).onDeactivation(e)}},ao=new WeakMap,oo=class extends io{constructor(e){super(e),C(this,ao,void 0),T(ao,this,new Ka(e))}inRequestScope(){return E(ao,this).inRequestScope()}inSingletonScope(){return E(ao,this).inSingletonScope()}inTransientScope(){return E(ao,this).inTransientScope()}};function so(e){if(e===void 0)return;let t=e.next();if(t.done!==!0)return t.value}function co(e){return so(e?.[Symbol.iterator]())}var lo=new WeakMap,uo=new WeakMap,fo=new WeakMap,K=new WeakMap,q=new WeakSet,po=class{constructor(e,t,n,r){A(this,q),C(this,lo,void 0),C(this,uo,void 0),C(this,fo,void 0),C(this,K,void 0),T(lo,this,e),T(uo,this,t),T(fo,this,n),T(K,this,r)}bind(e){return new Za(e=>{w(q,this,mo).call(this,e)},void 0,E(uo,this),e)}isBound(e,t){let n=E(K,this).bindingService.get(e);return w(q,this,Co).call(this,e,n,t)}isCurrentBound(e,t){let n=E(K,this).bindingService.getNonParentBindings(e);return w(q,this,Co).call(this,e,n,t)}async rebindAsync(e){return await this.unbindAsync(e),this.bind(e)}rebind(e){return this.unbind(e),this.bind(e)}async unbindAsync(e){await w(q,this,go).call(this,e)}async unbindAllAsync(){await w(q,this,yo).call(this)}unbindAll(){if(w(q,this,yo).call(this)!==void 0)throw new U(W.invalidOperation,`Unexpected asynchronous deactivation when unbinding all services. Consider using Container.unbindAllAsync() instead.`)}unbind(e){w(q,this,go).call(this,e)!==void 0&&w(q,this,ho).call(this,e)}};function mo(e){E(K,this).bindingService.set(e),E(fo,this).invalidateService({binding:e,kind:B.bindingAdded})}function ho(e){let t;if(ya(e)){let n=co(E(K,this).bindingService.getById(e.id))?.serviceIdentifier;t=n===void 0?`Unexpected asynchronous deactivation when unbinding binding identifier. Consider using Container.unbindAsync() instead.`:`Unexpected asynchronous deactivation when unbinding "${b(n)}" binding. Consider using Container.unbindAsync() instead.`}else t=`Unexpected asynchronous deactivation when unbinding "${b(e)}" service. Consider using Container.unbindAsync() instead.`;throw new U(W.invalidOperation,t)}function go(e){return ya(e)?w(q,this,_o).call(this,e):w(q,this,xo).call(this,e)}function _o(e){let t=E(K,this).bindingService.getById(e.id),n=t===void 0?void 0:[...t],r=ma(E(lo,this),t);if(r===void 0)w(q,this,vo).call(this,n,e);else return r.then(()=>{w(q,this,vo).call(this,n,e)})}function vo(e,t){if(E(K,this).bindingService.removeById(t.id),e!==void 0)for(let t of e)E(fo,this).invalidateService({binding:t,kind:B.bindingRemoved})}function yo(){let e=[...E(K,this).bindingService.getNonParentBoundServices()],t=e.map(e=>_a(E(lo,this),e));if(t.some(e=>y(e)))return Promise.all(t).then(()=>{w(q,this,bo).call(this,e)});w(q,this,bo).call(this,e)}function bo(e){for(let t of e)E(K,this).activationService.removeAllByServiceId(t),E(K,this).bindingService.removeAllByServiceId(t),E(K,this).deactivationService.removeAllByServiceId(t);E(K,this).planResultCacheService.clearCache()}function xo(e){let t=E(K,this).bindingService.get(e),n=t===void 0?void 0:[...t],r=ma(E(lo,this),t);
49if(r===void 0)w(q,this,So).call(this,e,n);else return r.then(()=>{w(q,this,So).call(this,e,n)})}function So(e,t){if(E(K,this).activationService.removeAllByServiceId(e),E(K,this).bindingService.removeAllByServiceId(e),E(K,this).deactivationService.removeAllByServiceId(e),t!==void 0)for(let e of t)E(fo,this).invalidateService({binding:e,kind:B.bindingRemoved})}function Co(e,t,n){if(t===void 0)return!1;let r={getAncestor:()=>void 0,name:n?.name,serviceIdentifier:e,tags:new Map};n?.tag!==void 0&&r.tags.set(n.tag.key,n.tag.value);for(let e of t)if(e.isSatisfiedBy(r))return!0;return!1}var J=new WeakMap,wo=new WeakMap,To=new WeakMap,Eo=new WeakMap,Do=new WeakMap,Oo=new WeakSet,ko=class{constructor(e,t,n,r,i){A(this,Oo),C(this,J,void 0),C(this,wo,void 0),C(this,To,void 0),C(this,Eo,void 0),C(this,Do,void 0),T(J,this,e),T(wo,this,t),T(To,this,n),T(Eo,this,r),T(Do,this,i)}async loadAsync(...e){await Promise.all(w(Oo,this,Mo).call(this,...e))}load(...e){let t=w(Oo,this,Mo).call(this,...e);for(let e of t)if(e!==void 0)throw new U(W.invalidOperation,`Unexpected asynchronous module load. Consider using container.loadAsync() instead.`)}async unloadAsync(...e){await Promise.all(w(Oo,this,Po).call(this,...e)),w(Oo,this,jo).call(this,e)}unload(...e){let t=w(Oo,this,Po).call(this,...e);for(let e of t)if(e!==void 0)throw new U(W.invalidOperation,`Unexpected asynchronous module unload. Consider using container.unloadAsync() instead.`);w(Oo,this,jo).call(this,e)}};function Ao(e){return{bind:t=>new Za(e=>{w(Oo,this,No).call(this,e)},e,E(To,this),t),isBound:E(J,this).isBound.bind(E(J,this)),onActivation:(t,n)=>{E(Do,this).activationService.add(n,{moduleId:e,serviceId:t})},onDeactivation:(t,n)=>{E(Do,this).deactivationService.add(n,{moduleId:e,serviceId:t})},rebind:E(J,this).rebind.bind(E(J,this)),rebindAsync:E(J,this).rebindAsync.bind(E(J,this)),unbind:E(J,this).unbind.bind(E(J,this)),unbindAsync:E(J,this).unbindAsync.bind(E(J,this))}}function jo(e){for(let t of e)E(Do,this).activationService.removeAllByModuleId(t.id),E(Do,this).bindingService.removeAllByModuleId(t.id),E(Do,this).deactivationService.removeAllByModuleId(t.id);E(Do,this).planResultCacheService.clearCache()}function Mo(...e){return e.map(e=>e.load(w(Oo,this,Ao).call(this,e.id)))}function No(e){E(Do,this).bindingService.set(e),E(Eo,this).invalidateService({binding:e,kind:B.bindingAdded})}function Po(...e){return e.map(e=>ga(E(wo,this),e.id))}function Fo(e,t){t.getBindings=e.bindingService.get.bind(e.bindingService),t.getBindingsFromModule=e.bindingService.getByModuleId.bind(e.bindingService),t.getDeactivations=e.deactivationService.get.bind(e.deactivationService)}function Io(e){return{getBindings:e.bindingService.get.bind(e.bindingService),getBindingsFromModule:e.bindingService.getByModuleId.bind(e.bindingService),getClassMetadata:Xe,getDeactivations:e.deactivationService.get.bind(e.deactivationService)}}var Lo=class{constructor(e){S(this,`deactivationParams`,void 0),this.deactivationParams=Io(e),e.onReset(()=>{Fo(e,this.deactivationParams)})}},Y=new WeakMap,Ro=new WeakSet,zo=class{constructor(e){A(this,Ro),S(this,`planParamsOperations`,void 0),C(this,Y,void 0),T(Y,this,e),this.planParamsOperations={getBindings:E(Y,this).bindingService.get.bind(E(Y,this).bindingService),getBindingsChained:E(Y,this).bindingService.getChained.bind(E(Y,this).bindingService),getClassMetadata:Xe,getPlan:E(Y,this).planResultCacheService.get.bind(E(Y,this).planResultCacheService),setBinding:w(Ro,this,Vo).bind(this),setNonCachedServiceNode:E(Y,this).planResultCacheService.setNonCachedServiceNode.bind(E(Y,this).planResultCacheService),setPlan:E(Y,this).planResultCacheService.set.bind(E(Y,this).planResultCacheService)},E(Y,this).onReset(()=>{w(Ro,this,Bo).call(this)})}};function Bo(){this.planParamsOperations.getBindings=E(Y,this).bindingService.get.bind(E(Y,this).bindingService),this.planParamsOperations.getBindingsChained=E(Y,this).bindingService.getChained.bind(E(Y,this).bindingService),this.planParamsOperations.setBinding=w(Ro,this,Vo).bind(this)}function Vo(e){E(Y,this).bindingService.set(e),E(Y,this).planResultCacheService.invalidateServiceBinding({binding:e,kind:B.bindingAdded,operations:this.planParamsOperations})}var Ho=new WeakMap,Uo=new WeakMap,Wo=class{constructor(e,t){C(this,Ho,void 0),C(this,Uo,void 0),T(Ho,this,e),T(Uo,this,t)}invalidateService(e){E(Uo,this).planResultCacheService.invalidateServiceBinding({...e,operations:E(Ho,this).planParamsOperations})}},Go=Symbol.for(`@inversifyjs/plugin/isPlugin`),Ko=new WeakMap,qo=new WeakMap,Jo=new WeakMap,Yo=new WeakMap,Xo=new WeakSet,Zo=class{constructor(e,t,n){A(this,Xo),
49C(this,Ko,void 0),C(this,qo,void 0),C(this,Jo,void 0),C(this,Yo,void 0),T(Yo,this,t),T(Jo,this,n),T(Ko,this,w(Xo,this,$o).call(this,e)),T(qo,this,w(Xo,this,es).call(this))}register(e,t){let n=new t(e,E(qo,this));w(Xo,this,Qo).call(this,n),n.load(E(Ko,this))}};function Qo(e){if(e[Go]!==!0)throw new U(W.invalidOperation,`Invalid plugin. The plugin must extend the Plugin class`)}function $o(e){return{define:(t,n)=>{if(Object.prototype.hasOwnProperty.call(e,t))throw new U(W.invalidOperation,`Container already has a method named "${String(t)}"`);e[t]=n},onPlan:E(Jo,this).onPlan.bind(E(Jo,this))}}function es(){let e=E(Yo,this);return{get activationService(){return e.activationService},get bindingService(){return e.bindingService},get deactivationService(){return e.deactivationService},get planResultCacheService(){return e.planResultCacheService}}}var ts=new WeakMap,ns=class{constructor(e,t,n,r){S(this,`activationService`,void 0),S(this,`bindingService`,void 0),S(this,`deactivationService`,void 0),S(this,`planResultCacheService`,void 0),C(this,ts,void 0),this.activationService=e,this.bindingService=t,this.deactivationService=n,this.planResultCacheService=r,T(ts,this,[])}reset(e,t,n){this.activationService=e,this.bindingService=t,this.deactivationService=n,this.planResultCacheService.clearCache();for(let e of E(ts,this))e()}onReset(e){E(ts,this).push(e)}},rs=new WeakMap,is=new WeakMap,as=new WeakMap,os=new WeakMap,ss=new WeakMap,cs=new WeakMap,ls=new WeakMap,X=new WeakSet,us=class{constructor(e,t,n,r){A(this,X),C(this,rs,void 0),C(this,is,void 0),C(this,as,void 0),C(this,os,void 0),C(this,ss,void 0),C(this,cs,void 0),C(this,ls,void 0),T(cs,this,e),T(ls,this,t),T(os,this,w(X,this,gs).call(this)),T(rs,this,n),T(is,this,r),T(as,this,e=>E(ls,this).activationService.get(e)),T(ss,this,[]),E(ls,this).onReset(()=>{w(X,this,ds).call(this)})}get(e,t){let n=w(X,this,hs).call(this,!1,e,t),r=w(X,this,_s).call(this,n);if(y(r))throw new U(W.invalidOperation,`Unexpected asynchronous service when resolving service "${b(e)}"`);return r}getAll(e,t){let n=w(X,this,hs).call(this,!0,e,t),r=w(X,this,_s).call(this,n);if(y(r))throw new U(W.invalidOperation,`Unexpected asynchronous service when resolving service "${b(e)}"`);return r}async getAllAsync(e,t){let n=w(X,this,hs).call(this,!0,e,t);return w(X,this,_s).call(this,n)}async getAsync(e,t){let n=w(X,this,hs).call(this,!1,e,t);return w(X,this,_s).call(this,n)}onPlan(e){E(ss,this).push(e)}};function ds(){T(os,this,w(X,this,gs).call(this))}function fs(e,t,n){let r=n?.name,i=n?.optional??!1,a=n?.tag;return e?{chained:n?.chained??!1,isMultiple:e,name:r,optional:i,serviceIdentifier:t,tag:a}:{isMultiple:e,name:r,optional:i,serviceIdentifier:t,tag:a}}function ps(e,t,n){let r={autobindOptions:n?.autobind??E(rs,this)?{scope:E(is,this)}:void 0,operations:E(cs,this).planParamsOperations,rootConstraints:w(X,this,ms).call(this,e,t,n),servicesBranch:[]};return w(X,this,vs).call(this,r,n),r}function ms(e,t,n){return t?{chained:n?.chained??!1,isMultiple:t,serviceIdentifier:e}:{isMultiple:t,serviceIdentifier:e}}function hs(e,t,n){let r=w(X,this,fs).call(this,e,t,n),i=E(ls,this).planResultCacheService.get(r);if(i!==void 0)return i;let a=hr(w(X,this,ps).call(this,t,e,n));for(let e of E(ss,this))e(r,a);return a}function gs(){return{get:this.get.bind(this),getAll:this.getAll.bind(this),getAllAsync:this.getAllAsync.bind(this),getAsync:this.getAsync.bind(this)}}function _s(e){return $i({context:E(os,this),getActivations:E(as,this),planResult:e,requestScopeCache:new Map})}function vs(e,t){t!==void 0&&(t.name!==void 0&&(e.rootConstraints.name=t.name),t.optional===!0&&(e.rootConstraints.isOptional=!0),t.tag!==void 0&&(e.rootConstraints.tag={key:t.tag.key,value:t.tag.value}),e.rootConstraints.isMultiple&&(e.rootConstraints.chained=t?.chained??!1))}var ys=new WeakMap,bs=new WeakMap,xs=class{constructor(e){C(this,ys,void 0),C(this,bs,void 0),T(ys,this,e),T(bs,this,[])}restore(){let e=E(bs,this).pop();if(e===void 0)throw new U(W.invalidOperation,`No snapshot available to restore`);E(ys,this).reset(e.activationService,e.bindingService,e.deactivationService)}snapshot(){E(bs,this).push({activationService:E(ys,this).activationService.clone(),bindingService:E(ys,this).bindingService.clone(),deactivationService:E(ys,this).deactivationService.clone()})}},Ss=O.Transient,Z=new WeakMap,Cs=new WeakMap,ws=new WeakMap,Q=new WeakMap,Ts=new WeakMap,Es=new WeakMap,Ds=new WeakSet,Os=class{constructor(e){A
49(this,Ds),C(this,Z,void 0),C(this,Cs,void 0),C(this,ws,void 0),C(this,Q,void 0),C(this,Ts,void 0),C(this,Es,void 0);let t=e?.autobind??!1,n=e?.defaultScope??Ss;T(Q,this,w(Ds,this,As).call(this,e,t,n));let r=new zo(E(Q,this)),i=new Wo(r,E(Q,this)),a=new Lo(E(Q,this));T(Z,this,new po(a.deactivationParams,n,i,E(Q,this))),T(Cs,this,new ko(E(Z,this),a.deactivationParams,n,i,E(Q,this))),T(Ts,this,new us(r,E(Q,this),t,n)),T(ws,this,new Zo(this,E(Q,this),E(Ts,this))),T(Es,this,new xs(E(Q,this)))}bind(e){return E(Z,this).bind(e)}get(e,t){return E(Ts,this).get(e,t)}getAll(e,t){return E(Ts,this).getAll(e,t)}async getAllAsync(e,t){return E(Ts,this).getAllAsync(e,t)}async getAsync(e,t){return E(Ts,this).getAsync(e,t)}isBound(e,t){return E(Z,this).isBound(e,t)}isCurrentBound(e,t){return E(Z,this).isCurrentBound(e,t)}async loadAsync(...e){return E(Cs,this).loadAsync(...e)}load(...e){E(Cs,this).load(...e)}onActivation(e,t){E(Q,this).activationService.add(t,{serviceId:e})}onDeactivation(e,t){E(Q,this).deactivationService.add(t,{serviceId:e})}register(e){E(ws,this).register(this,e)}restore(){E(Es,this).restore()}async rebindAsync(e){return E(Z,this).rebindAsync(e)}rebind(e){return E(Z,this).rebind(e)}snapshot(){E(Es,this).snapshot()}async unbindAsync(e){await E(Z,this).unbindAsync(e)}async unbindAllAsync(){await E(Z,this).unbindAllAsync()}unbindAll(){E(Z,this).unbindAll()}unbind(e){E(Z,this).unbind(e)}async unloadAsync(...e){return E(Cs,this).unloadAsync(...e)}unload(...e){E(Cs,this).unload(...e)}};function ks(e,t){if(e)return{scope:t}}function As(e,t,n){let r=w(Ds,this,ks).call(this,t,n);if(e?.parent===void 0)return new ns(Ve.build(()=>void 0),ut.build(()=>void 0,r),ht.build(()=>void 0),new Yr);let i=new Yr,a=e.parent;return E(Q,a).planResultCacheService.subscribe(i),new ns(Ve.build(()=>E(Q,a).activationService),ut.build(()=>E(Q,a).bindingService,r),ht.build(()=>E(Q,a).deactivationService),i)}var js,Ms,Ns,Ps,Fs,Is,Ls,Rs=p.English,zs=`§`,$=(js=class{get locale(){return this._locale}get loadedSlices(){return[...this._loadedSlices]}get loadedSliceNames(){let e=new Set;for(let t of this._loadedSlices){let n=t.split(zs)[1];n&&e.add(n)}return[...e]}constructor(){this._translations={},this._loadedSlices=new Set,this._inFlight=new Map,this._failedSlices=new Set,this.translate=(e,t)=>
49{let n=this.getTranslationKey(e,t);if(!this._translations[this.locale])return this.formatString(e,t);for(let e in this._translations[this.locale]){let r=this._translations[this.locale][e];if(r&&r[n])return this.formatString(r[n],t)}return this.formatString(e,t)},this._locale=p.English,o(this)}static getInstance(){return Ls.instance||(Ls.instance=new Ls),Ls.instance}setLocale(e){this._locale!==e&&(this._locale=e,this._loadedSlices.clear(),this._failedSlices.clear(),this._inFlight.clear())}sliceKey(e,t=this._locale){return`${t}${zs}${e}`}isSliceLoaded(e){return this._loadedSlices.has(this.sliceKey(e))}isSliceSettled(e){return this.isSliceLoaded(e)||this._failedSlices.has(this.sliceKey(e))}async loadTranslations(e,t){let n=t??this._locale;if(n===Rs){console.debug(`Skipping loading translations for source locale: ${n}`);return}let r=this.sliceKey(e,n);if(this._loadedSlices.has(r)||this._failedSlices.has(r))return;let i=this._inFlight.get(r);if(i)return i;let o=(async()=>{try{let t=await this.fetchTranslations(e,n);a(()=>{this._translations[n]||(this._translations[n]={}),this._translations[n][e]=t,this._loadedSlices.add(r)})}catch(t){a(()=>this._failedSlices.add(r)),console.error(`Failed to load translations for ${e} in ${n}:`,t)}})();return this._inFlight.set(r,o),o.finally(()=>{this._inFlight.get(r)===o&&this._inFlight.delete(r)}),o}async fetchTranslations(e,t){let n=(await v(Object.assign({
49"./translations/account/de.json":()=>g(()=>import(`./de-jad2mjm8.js`),[],import.meta.url),
49"./translations/account/es-419.json":()=>g(()=>import(`./es-419-cq5uwg9j.js`),[],import.meta.url),
49"./translations/account/es-ES.json":()=>g(()=>import(`./es-es-f8um0ur4.js`),[],import.meta.url),
49"./translations/account/fr-FR.json":()=>g(()=>import(`./fr-fr-jozjrido.js`),[],import.meta.url),
49"./translations/account/it-IT.json":()=>g(()=>import(`./it-it-ivuj0cqs.js`),[],import.meta.url),
49"./translations/account/ja-JP.json":()=>g(()=>import(`./ja-jp-kwuj9hgs.js`),[],import.meta.url),
49"./translations/account/ko.json":()=>g(()=>import(`./ko-gcvxhghd.js`),[],import.meta.url),
49"./translations/account/nl.json":()=>g(()=>import(`./nl-pvgnznwi.js`),[],import.meta.url),
49"./translations/account/pt-BR.json":()=>g(()=>import(`./pt-br-car408jy.js`),[],import.meta.url),
49"./translations/account/pt-PT.json":()=>g(()=>import(`./pt-pt-bold1nyg.js`),[],import.meta.url),
49"./translations/account/ru.json":()=>g(()=>import(`./ru-lfeqh0pb.js`),[],import.meta.url),
49"./translations/account/sources.json":()=>g(()=>import(`./sources-oroy5lxq.js`),[],import.meta.url),
49"./translations/account/zh-CN.json":()=>g(()=>import(`./zh-cn-bz2pkj65.js`),[],import.meta.url),
49"./translations/account/zh-TW.json":()=>g(()=>import(`./zh-tw-cioqnmi9.js`),[],import.meta.url),
49"./translations/activity-feed/de.json":()=>g(()=>import(`./de-lqu2dv0u.js`),[],import.meta.url),
49"./translations/activity-feed/es-419.json":()=>g(()=>import(`./es-419-o56e5oiu.js`),[],import.meta.url),
49"./translations/activity-feed/es-ES.json":()=>g(()=>import(`./es-es-o6wubug4.js`),[],import.meta.url),
49"./translations/activity-feed/fr-FR.json":()=>g(()=>import(`./fr-fr-e22r3qj4.js`),[],import.meta.url),
49"./translations/activity-feed/it-IT.json":()=>g(()=>import(`./it-it-ljyb52zk.js`),[],import.meta.url),
49"./translations/activity-feed/ja-JP.json":()=>g(()=>import(`./ja-jp-ckmwjzbs.js`),[],import.meta.url),
49"./translations/activity-feed/ko.json":()=>g(()=>import(`./ko-m6138xtn.js`),[],import.meta.url),
49"./translations/activity-feed/nl.json":()=>g(()=>import(`./nl-dvdroron.js`),[],import.meta.url),
49"./translations/activity-feed/pt-BR.json":()=>g(()=>import(`./pt-br-h3w3mhvb.js`),[],import.meta.url),
49"./translations/activity-feed/pt-PT.json":()=>g(()=>import(`./pt-pt-e9c29wqm.js`),[],import.meta.url),
49"./translations/activity-feed/ru.json":()=>g(()=>import(`./ru-nbgy995a.js`),[],import.meta.url),
49"./translations/activity-feed/sources.json":()=>g(()=>import(`./sources-emw8su78.js`),[],import.meta.url),
49"./translations/activity-feed/zh-CN.json":()=>g(()=>import(`./zh-cn-bqyytbig.js`),[],import.meta.url),
49"./translations/activity-feed/zh-TW.json":()=>g(()=>import(`./zh-tw-fjw1v4c7.js`),[],import.meta.url),
49"./translations/activity-page/de.json":()=>g(()=>import(`./de-c3ewxiyn.js`),[],import.meta.url),
49"./translations/activity-page/es-419.json":()=>g(()=>import(`./es-419-op9aorpu.js`),[],import.meta.url),
49"./translations/activity-page/es-ES.json":()=>g(()=>import(`./es-es-gied4hxu.js`),[],import.meta.url),
49"./translations/activity-page/fr-FR.json":()=>g(()=>import(`./fr-fr-9ohwownf.js`),[],import.meta.url),
49"./translations/activity-page/it-IT.json":()=>g(()=>import(`./it-it-drp1derx.js`),[],import.meta.url),
49"./translations/activity-page/ja-JP.json":()=>g(()=>import(`./ja-jp-fprgwrdh.js`),[],import.meta.url),
49"./translations/activity-page/ko.json":()=>g(()=>import(`./ko-ffckh6uy.js`),[],import.meta.url),
49"./translations/activity-page/nl.json":()=>g(()=>import(`./nl-05mpaa9q.js`),[],import.meta.url),
49"./translations/activity-page/pt-BR.json":()=>g(()=>import(`./pt-br-la611c3i.js`),[],import.meta.url),
49"./translations/activity-page/pt-PT.json":()=>g(()=>import(`./pt-pt-hamq8v5g.js`),[],import.meta.url),
49"./translations/activity-page/ru.json":()=>g(()=>import(`./ru-nngdzeqd.js`),[],import.meta.url),
49"./translations/activity-page/sources.json":()=>g(()=>import(`./sources-jehdfjqz.js`),[],import.meta.url),
49"./translations/activity-page/zh-CN.json":()=>g(()=>import(`./zh-cn-elu920ju.js`),[],import.meta.url),
49"./translations/activity-page/zh-TW.json":()=>g(()=>import(`./zh-tw-ov4mq7d3.js`),[],import.meta.url),
49"./translations/activity-shared/de.json":()=>g(()=>import(`./de-dl3k0wic.js`),[],import.meta.url),
49"./translations/activity-shared/es-419.json":()=>g(()=>import(`./es-419-hlhmpwns.js`),[],import.meta.url),
49"./translations/activity-shared/es-ES.json":()=>g(()=>import(`./es-es-e26jbbo0.js`),[],import.meta.url),
49"./translations/activity-shared/fr-FR.json":()=>g(()=>import(`./fr-fr-ghjp9o1y.js`),[],import.meta.url),
49"./translations/activity-shared/it-IT.json":()=>g(()=>import(`./it-it-knvoqxm3.js`),[],import.meta.url),
49"./translations/activity-shared/ja-JP.json":()=>g(()=>import(`./ja-jp-au0oql67.js`),[],import.meta.url),
49"./translations/activity-shared/ko.json":()=>g(()=>import(`./ko-msnleeiy.js`),[],import.meta.url),
49"./translations/activity-shared/nl.json":()=>g(()=>import(`./nl-c5lg1dex.js`),[],import.meta.url),
49"./translations/activity-shared/pt-BR.json":()=>g(()=>import(`./pt-br-dd5v21ig.js`),[],import.meta.url),
49"./translations/activity-shared/pt-PT.json":()=>g(()=>import(`./pt-pt-javtbg5r.js`),[],import.meta.url),
49"./translations/activity-shared/ru.json":()=>g(()=>import(`./ru-gih84c36.js`),[],import.meta.url),
49"./translations/activity-shared/sources.json":()=>g(()=>import(`./sources-lx4junfx.js`),[],import.meta.url),
49"./translations/activity-shared/zh-CN.json":()=>g(()=>import(`./zh-cn-kikqvzux.js`),[],import.meta.url),
49"./translations/activity-shared/zh-TW.json":()=>g(()=>import(`./zh-tw-fxj9pbsz.js`),[],import.meta.url),
49"./translations/activity-sync/de.json":()=>g(()=>import(`./de-f11tlbnq.js`),[],import.meta.url),
49"./translations/activity-sync/es-419.json":()=>g(()=>import(`./es-419-b8pep1h1.js`),[],import.meta.url),
49"./translations/activity-sync/es-ES.json":()=>g(()=>import(`./es-es-b9uup74e.js`),[],import.meta.url),
49"./translations/activity-sync/fr-FR.json":()=>g(()=>import(`./fr-fr-i4xxw13e.js`),[],import.meta.url),
49"./translations/activity-sync/it-IT.json":()=>g(()=>import(`./it-it-c6tegbdv.js`),[],import.meta.url),
49"./translations/activity-sync/ja-JP.json":()=>g(()=>import(`./ja-jp-g6ejkfar.js`),[],import.meta.url),
49"./translations/activity-sync/ko.json":()=>g(()=>import(`./ko-gqqxf9e2.js`),[],import.meta.url),
49"./translations/activity-sync/nl.json":()=>g(()=>import(`./nl-vaaiyify.js`),[],import.meta.url),
49"./translations/activity-sync/pt-BR.json":()=>g(()=>import(`./pt-br-ii8rgizk.js`),[],import.meta.url),
49"./translations/activity-sync/pt-PT.json":()=>g(()=>import(`./pt-pt-ntw08pxq.js`),[],import.meta.url),
49"./translations/activity-sync/ru.json":()=>g(()=>import(`./ru-f2wxlxf6.js`),[],import.meta.url),
49"./translations/activity-sync/sources.json":()=>g(()=>import(`./sources-egv6lxqj.js`),[],import.meta.url),
49"./translations/activity-sync/zh-CN.json":()=>g(()=>import(`./zh-cn-iqeplg1b.js`),[],import.meta.url),
49"./translations/activity-sync/zh-TW.json":()=>g(()=>import(`./zh-tw-lq8fqq8a.js`),[],import.meta.url),
49"./translations/calendar/de.json":()=>g(()=>import(`./de-ifbpe2yc.js`),[],import.meta.url),
49"./translations/calendar/es-419.json":()=>g(()=>import(`./es-419-mcto4b68.js`),[],import.meta.url),
49"./translations/calendar/es-ES.json":()=>g(()=>import(`./es-es-gqkcbw3j.js`),[],import.meta.url),
49"./translations/calendar/fr-FR.json":()=>g(()=>import(`./fr-fr-jt5trer3.js`),[],import.meta.url),
49"./translations/calendar/it-IT.json":()=>g(()=>import(`./it-it-ky13m0ls.js`),[],import.meta.url),
49"./translations/calendar/ja-JP.json":()=>g(()=>import(`./ja-jp-gxolm2yz.js`),[],import.meta.url),
49"./translations/calendar/ko.json":()=>g(()=>import(`./ko-dk64tyl7.js`),[],import.meta.url),
49"./translations/calendar/nl.json":()=>g(()=>import(`./nl-e2knfvru.js`),[],import.meta.url),
49"./translations/calendar/pt-BR.json":()=>g(()=>import(`./pt-br-gy7dhd0l.js`),[],import.meta.url),
49"./translations/calendar/pt-PT.json":()=>g(()=>import(`./pt-pt-ejn37fag.js`),[],import.meta.url),
49"./translations/calendar/ru.json":()=>g(()=>import(`./ru-lnrq2zxb.js`),[],import.meta.url),
49"./translations/calendar/sources.json":()=>g(()=>import(`./sources-n414r1u9.js`),[],import.meta.url),
49"./translations/calendar/zh-CN.json":()=>g(()=>import(`./zh-cn-lnaxs6yf.js`),[],import.meta.url),
49"./translations/calendar/zh-TW.json":()=>g(()=>import(`./zh-tw-jwqz9675.js`),[],import.meta.url),
49"./translations/career/de.json":()=>g(()=>import(`./de-hb9c71ln.js`),[],import.meta.url),
49"./translations/career/es-419.json":()=>g(()=>import(`./es-419-f92fq7p7.js`),[],import.meta.url),
49"./translations/career/es-ES.json":()=>g(()=>import(`./es-es-ohs8voj8.js`),[],import.meta.url),
49"./translations/career/fr-FR.json":()=>g(()=>import(`./fr-fr-cpupf6pc.js`),[],import.meta.url),
49"./translations/career/it-IT.json":()=>g(()=>import(`./it-it-b48txlr1.js`),[],import.meta.url),
49"./translations/career/ja-JP.json":()=>g(()=>import(`./ja-jp-npudm1fh.js`),[],import.meta.url),
49"./translations/career/ko.json":()=>g(()=>import(`./ko-ll2vofpg.js`),[],import.meta.url),
49"./translations/career/nl.json":()=>g(()=>import(`./nl-eu0idmxa.js`),[],import.meta.url),
49"./translations/career/pt-BR.json":()=>g(()=>import(`./pt-br-kmw5uyby.js`),[],import.meta.url),
49"./translations/career/pt-PT.json":()=>g(()=>import(`./pt-pt-ilrzpl56.js`),[],import.meta.url),
49"./translations/career/ru.json":()=>g(()=>import(`./ru-n95l4lhz.js`),[],import.meta.url),
49"./translations/career/sources.json":()=>g(()=>import(`./sources-nhy435rl.js`),[],import.meta.url),
49"./translations/career/zh-CN.json":()=>g(()=>import(`./zh-cn-iihey6im.js`),[],import.meta.url),
49"./translations/career/zh-TW.json":()=>g(()=>import(`./zh-tw-e6vx4nf8.js`),[],import.meta.url),
49"./translations/core/de.json":()=>g(()=>import(`./de-d1vaiq2b.js`),[],import.meta.url),
49"./translations/core/es-419.json":()=>g(()=>import(`./es-419-bci2viy4.js`),[],import.meta.url),
49"./translations/core/es-ES.json":()=>g(()=>import(`./es-es-og7qla6x.js`),[],import.meta.url),
49"./translations/core/fr-FR.json":()=>g(()=>import(`./fr-fr-od7cnprg.js`),[],import.meta.url),
49"./translations/core/it-IT.json":()=>g(()=>import(`./it-it-cqadcpwt.js`),[],import.meta.url),
49"./translations/core/ja-JP.json":()=>g(()=>import(`./ja-jp-ot9xjp85.js`),[],import.meta.url),
49"./translations/core/ko.json":()=>g(()=>import(`./ko-ltdknofb.js`),[],import.meta.url),
49"./translations/core/nl.json":()=>g(()=>import(`./nl-b82qn8sb.js`),[],import.meta.url),
49"./translations/core/pt-BR.json":()=>g(()=>import(`./pt-br-lfjnu3tw.js`),[],import.meta.url),
49"./translations/core/pt-PT.json":()=>g(()=>import(`./pt-pt-tc0v8ydf.js`),[],import.meta.url),
49"./translations/core/ru.json":()=>g(()=>import(`./ru-inaz7z5x.js`),[],import.meta.url),
49"./translations/core/sources.json":()=>g(()=>import(`./sources-ie8aredf.js`),[],import.meta.url),
49"./translations/core/zh-CN.json":()=>g(()=>import(`./zh-cn-n2dnadkr.js`),[],import.meta.url),
49"./translations/core/zh-TW.json":()=>g(()=>import(`./zh-tw-f1ly7p0a.js`),[],import.meta.url),
49"./translations/early-access/de.json":()=>g(()=>import(`./de-242snb7t.js`),[],import.meta.url),
49"./translations/early-access/es-419.json":()=>g(()=>import(`./es-419-kxmndhdm.js`),[],import.meta.url),
49"./translations/early-access/es-ES.json":()=>g(()=>import(`./es-es-m5nxi5i5.js`),[],import.meta.url),
49"./translations/early-access/fr-FR.json":()=>g(()=>import(`./fr-fr-ko9b04nc.js`),[],import.meta.url),
49"./translations/early-access/it-IT.json":()=>g(()=>import(`./it-it-pgqcg84c.js`),[],import.meta.url),
49"./translations/early-access/ja-JP.json":()=>g(()=>import(`./ja-jp-bjk6374s.js`),[],import.meta.url),
49"./translations/early-access/ko.json":()=>g(()=>import(`./ko-h2756mn1.js`),[],import.meta.url),
49"./translations/early-access/nl.json":()=>g(()=>import(`./nl-go8x25wd.js`),[],import.meta.url),
49"./translations/early-access/pt-BR.json":()=>g(()=>import(`./pt-br-h71gk0vo.js`),[],import.meta.url),
49"./translations/early-access/pt-PT.json":()=>g(()=>import(`./pt-pt-eqfodef3.js`),[],import.meta.url),
49"./translations/early-access/ru.json":()=>g(()=>import(`./ru-kr2u45k9.js`),[],import.meta.url),
49"./translations/early-access/sources.json":()=>g(()=>import(`./sources-jgvc8n1w.js`),[],import.meta.url),
49"./translations/early-access/zh-CN.json":()=>g(()=>import(`./zh-cn-goj12owd.js`),[],import.meta.url),
49"./translations/early-access/zh-TW.json":()=>g(()=>import(`./zh-tw-krakx3ru.js`),[],import.meta.url),
49"./translations/external/de.json":()=>g(()=>import(`./de-l63biep0.js`),[],import.meta.url),
49"./translations/external/es-419.json":()=>g(()=>import(`./es-419-nbud9jm3.js`),[],import.meta.url),
49"./translations/external/es-ES.json":()=>g(()=>import(`./es-es-df0qvoyx.js`),[],import.meta.url),
49"./translations/external/fr-FR.json":()=>g(()=>import(`./fr-fr-na3calpk.js`),[],import.meta.url),
49"./translations/external/it-IT.json":()=>g(()=>import(`./it-it-mjgf9u1u.js`),[],import.meta.url),
49"./translations/external/ja-JP.json":()=>g(()=>import(`./ja-jp-eik30l44.js`),[],import.meta.url),
49"./translations/external/ko.json":()=>g(()=>import(`./ko-c9umem6f.js`),[],import.meta.url),
49"./translations/external/nl.json":()=>g(()=>import(`./nl-ed2tmiu0.js`),[],import.meta.url),
49"./translations/external/pt-BR.json":()=>g(()=>import(`./pt-br-lepwo4fy.js`),[],import.meta.url),
49"./translations/external/pt-PT.json":()=>g(()=>import(`./pt-pt-i7qlkcnp.js`),[],import.meta.url),
49"./translations/external/ru.json":()=>g(()=>import(`./ru-g2ojdenm.js`),[],import.meta.url),
49"./translations/external/sources.json":()=>g(()=>import(`./sources-4ctv2y6y.js`),[],import.meta.url),
49"./translations/external/zh-CN.json":()=>g(()=>import(`./zh-cn-htkosxd1.js`),[],import.meta.url),
49"./translations/external/zh-TW.json":()=>g(()=>import(`./zh-tw-hmutowy9.js`),[],import.meta.url),
49"./translations/getting-started/de.json":()=>g(()=>import(`./de-bdsg1fou.js`),[],import.meta.url),
49"./translations/getting-started/es-419.json":()=>g(()=>import(`./es-419-ghh8bmez.js`),[],import.meta.url),
49"./translations/getting-started/es-ES.json":()=>g(()=>import(`./es-es-e7ki8zkk.js`),[],import.meta.url),
49"./translations/getting-started/fr-FR.json":()=>g(()=>import(`./fr-fr-b1e5zwiq.js`),[],import.meta.url),
49"./translations/getting-started/it-IT.json":()=>g(()=>import(`./it-it-gl7o09lm.js`),[],import.meta.url),
49"./translations/getting-started/ja-JP.json":()=>g(()=>import(`./ja-jp-dlytem0a.js`),[],import.meta.url),
49"./translations/getting-started/ko.json":()=>g(()=>import(`./ko-h3ygycyv.js`),[],import.meta.url),
49"./translations/getting-started/nl.json":()=>g(()=>import(`./nl-iblq081d.js`),[],import.meta.url),
49"./translations/getting-started/pt-BR.json":()=>g(()=>import(`./pt-br-hl3lvllf.js`),[],import.meta.url),
49"./translations/getting-started/pt-PT.json":()=>g(()=>import(`./pt-pt-f80aw4bf.js`),[],import.meta.url),
49"./translations/getting-started/ru.json":()=>g(()=>import(`./ru-fu1hgwm1.js`),[],import.meta.url),
49"./translations/getting-started/sources.json":()=>g(()=>import(`./sources-jhnhkdie.js`),[],import.meta.url),
49"./translations/getting-started/zh-CN.json":()=>g(()=>import(`./zh-cn-eg26utwb.js`),[],import.meta.url),
49"./translations/getting-started/zh-TW.json":()=>g(()=>import(`./zh-tw-eh4kfz58.js`),[],import.meta.url),
49"./translations/group-workouts/de.json":()=>g(()=>import(`./de-juz00tnq.js`),[],import.meta.url),
49"./translations/group-workouts/es-419.json":()=>g(()=>import(`./es-419-kf6695iy.js`),[],import.meta.url),
49"./translations/group-workouts/es-ES.json":()=>g(()=>import(`./es-es-k2e2qfu0.js`),[],import.meta.url),
49"./translations/group-workouts/fr-FR.json":()=>g(()=>import(`./fr-fr-d2hpusqj.js`),[],import.meta.url),
49"./translations/group-workouts/it-IT.json":()=>g(()=>import(`./it-it-my070bwd.js`),[],import.meta.url),
49"./translations/group-workouts/ja-JP.json":()=>g(()=>import(`./ja-jp-fjfxh3ec.js`),[],import.meta.url),
49"./translations/group-workouts/ko.json":()=>g(()=>import(`./ko-hm9vh223.js`),[],import.meta.url),
49"./translations/group-workouts/nl.json":()=>g(()=>import(`./nl-cplsljc1.js`),[],import.meta.url),
49"./translations/group-workouts/pt-BR.json":()=>g(()=>import(`./pt-br-4iq8ykd0.js`),[],import.meta.url),
49"./translations/group-workouts/pt-PT.json":()=>g(()=>import(`./pt-pt-hku0fokf.js`),[],import.meta.url),
49"./translations/group-workouts/ru.json":()=>g(()=>import(`./ru-bzuzukjm.js`),[],import.meta.url),
49"./translations/group-workouts/sources.json":()=>g(()=>import(`./sources-o8x2qbgo.js`),[],import.meta.url),
49"./translations/group-workouts/zh-CN.json":()=>g(()=>import(`./zh-cn-hkx73wme.js`),[],import.meta.url),
49"./translations/group-workouts/zh-TW.json":()=>g(()=>import(`./zh-tw-d5bwj071.js`),[],import.meta.url),
49"./translations/health-connections/de.json":()=>g(()=>import(`./de-p0edl0is.js`),[],import.meta.url),
49"./translations/health-connections/es-419.json":()=>g(()=>import(`./es-419-liw7moul.js`),[],import.meta.url),
49"./translations/health-connections/es-ES.json":()=>g(()=>import(`./es-es-nn7lhp2m.js`),[],import.meta.url),
49"./translations/health-connections/fr-FR.json":()=>g(()=>import(`./fr-fr-hn4yxw3r.js`),[],import.meta.url),
49"./translations/health-connections/it-IT.json":()=>g(()=>import(`./it-it-ntnesdum.js`),[],import.meta.url),
49"./translations/health-connections/ja-JP.json":()=>g(()=>import(`./ja-jp-dogu1gh4.js`),[],import.meta.url),
49"./translations/health-connections/ko.json":()=>g(()=>import(`./ko-l8mzkfv7.js`),[],import.meta.url),
49"./translations/health-connections/nl.json":()=>g(()=>import(`./nl-lhk8uyfs.js`),[],import.meta.url),
49"./translations/health-connections/pt-BR.json":()=>g(()=>import(`./pt-br-j1557zr2.js`),[],import.meta.url),
49"./translations/health-connections/pt-PT.json":()=>g(()=>import(`./pt-pt-j4fnhnxu.js`),[],import.meta.url),
49"./translations/health-connections/ru.json":()=>g(()=>import(`./ru-bewqiakm.js`),[],import.meta.url),
49"./translations/health-connections/sources.json":()=>g(()=>import(`./sources-maprf2qy.js`),[],import.meta.url),
49"./translations/health-connections/zh-CN.json":()=>g(()=>import(`./zh-cn-haqoj8xh.js`),[],import.meta.url),
49"./translations/health-connections/zh-TW.json":()=>g(()=>import(`./zh-tw-jvhzmtbb.js`),[],import.meta.url),
49"./translations/onboarding/de.json":()=>g(()=>import(`./de-h7w7az32.js`),[],import.meta.url),
49"./translations/onboarding/es-419.json":()=>g(()=>import(`./es-419-ivqgdgua.js`),[],import.meta.url),
49"./translations/onboarding/es-ES.json":()=>g(()=>import(`./es-es-e6w3fyzp.js`),[],import.meta.url),
49"./translations/onboarding/fr-FR.json":()=>g(()=>import(`./fr-fr-mldvxula.js`),[],import.meta.url),
49"./translations/onboarding/it-IT.json":()=>g(()=>import(`./it-it-h2vghlr6.js`),[],import.meta.url),
49"./translations/onboarding/ja-JP.json":()=>g(()=>import(`./ja-jp-lskpx1zc.js`),[],import.meta.url),
49"./translations/onboarding/ko.json":()=>g(()=>import(`./ko-bdow2evm.js`),[],import.meta.url),
49"./translations/onboarding/nl.json":()=>g(()=>import(`./nl-k6o55ijq.js`),[],import.meta.url),
49"./translations/onboarding/pt-BR.json":()=>g(()=>import(`./pt-br-jzthtslj.js`),[],import.meta.url),
49"./translations/onboarding/pt-PT.json":()=>g(()=>import(`./pt-pt-blg767tx.js`),[],import.meta.url),
49"./translations/onboarding/ru.json":()=>g(()=>import(`./ru-j99qyh40.js`),[],import.meta.url),
49"./translations/onboarding/sources.json":()=>g(()=>import(`./sources-28jdx54r.js`),[],import.meta.url),
49"./translations/onboarding/zh-CN.json":()=>g(()=>import(`./zh-cn-e09gxt6z.js`),[],import.meta.url),
49"./translations/onboarding/zh-TW.json":()=>g(()=>import(`./zh-tw-pcmpp1sj.js`),[],import.meta.url),
49"./translations/plan-builder/de.json":()=>g(()=>import(`./de-h829e98q.js`),[],import.meta.url),
49"./translations/plan-builder/es-419.json":()=>g(()=>import(`./es-419-d7untugi.js`),[],import.meta.url),
49"./translations/plan-builder/es-ES.json":()=>g(()=>import(`./es-es-kltsgedc.js`),[],import.meta.url),
49"./translations/plan-builder/fr-FR.json":()=>g(()=>import(`./fr-fr-opri5rns.js`),[],import.meta.url),
49"./translations/plan-builder/it-IT.json":()=>g(()=>import(`./it-it-io0xnf3t.js`),[],import.meta.url),
49"./translations/plan-builder/ja-JP.json":()=>g(()=>import(`./ja-jp-n5get8kv.js`),[],import.meta.url),
49"./translations/plan-builder/ko.json":()=>g(()=>import(`./ko-gstp2toh.js`),[],import.meta.url),
49"./translations/plan-builder/nl.json":()=>g(()=>import(`./nl-laemwqb1.js`),[],import.meta.url),
49"./translations/plan-builder/pt-BR.json":()=>g(()=>import(`./pt-br-nf6meik6.js`),[],import.meta.url),
49"./translations/plan-builder/pt-PT.json":()=>g(()=>import(`./pt-pt-jt8u2kfh.js`),[],import.meta.url),
49"./translations/plan-builder/ru.json":()=>g(()=>import(`./ru-ibdy6x0i.js`),[],import.meta.url),
49"./translations/plan-builder/sources.json":()=>g(()=>import(`./sources-jcqfxsjo.js`),[],import.meta.url),
49"./translations/plan-builder/zh-CN.json":()=>g(()=>import(`./zh-cn-dva76tev.js`),[],import.meta.url),
49"./translations/plan-builder/zh-TW.json":()=>g(()=>import(`./zh-tw-h18wcpcm.js`),[],import.meta.url),
49"./translations/plans/de.json":()=>g(()=>import(`./de-fawe5ujv.js`),[],import.meta.url),
49"./translations/plans/es-419.json":()=>g(()=>import(`./es-419-o9nqsqm9.js`),[],import.meta.url),
49"./translations/plans/es-ES.json":()=>g(()=>import(`./es-es-x0jgdsjf.js`),[],import.meta.url),
49"./translations/plans/fr-FR.json":()=>g(()=>import(`./fr-fr-brdyg17c.js`),[],import.meta.url),
49"./translations/plans/it-IT.json":()=>g(()=>import(`./it-it-fsowjr5f.js`),[],import.meta.url),
49"./translations/plans/ja-JP.json":()=>g(()=>import(`./ja-jp-bar6hhdb.js`),[],import.meta.url),
49"./translations/plans/ko.json":()=>g(()=>import(`./ko-lggffqou.js`),[],import.meta.url),
49"./translations/plans/nl.json":()=>g(()=>import(`./nl-nhig0rg1.js`),[],import.meta.url),
49"./translations/plans/pt-BR.json":()=>g(()=>import(`./pt-br-dc13j7ph.js`),[],import.meta.url),
49"./translations/plans/pt-PT.json":()=>g(()=>import(`./pt-pt-e2vr66c8.js`),[],import.meta.url),
49"./translations/plans/ru.json":()=>g(()=>import(`./ru-ckerkagp.js`),[],import.meta.url),
49"./translations/plans/sources.json":()=>g(()=>import(`./sources-bgsnx086.js`),[],import.meta.url),
49"./translations/plans/zh-CN.json":()=>g(()=>import(`./zh-cn-pc40kl3n.js`),[],import.meta.url),
49"./translations/plans/zh-TW.json":()=>g(()=>import(`./zh-tw-eswyy1tg.js`),[],import.meta.url),
49"./translations/playground/de.json":()=>g(()=>import(`./de-c4ifcmf2.js`),[],import.meta.url),
49"./translations/playground/es-419.json":()=>g(()=>import(`./es-419-fd53x4mq.js`),[],import.meta.url),
49"./translations/playground/es-ES.json":()=>g(()=>import(`./es-es-hbwmqcfm.js`),[],import.meta.url),
49"./translations/playground/fr-FR.json":()=>g(()=>import(`./fr-fr-hsqs32bo.js`),[],import.meta.url),
49"./translations/playground/it-IT.json":()=>g(()=>import(`./it-it-jlo9cc1i.js`),[],import.meta.url),
49"./translations/playground/ja-JP.json":()=>g(()=>import(`./ja-jp-f9uii08p.js`),[],import.meta.url),
49"./translations/playground/ko.json":()=>g(()=>import(`./ko-gu1mdotw.js`),[],import.meta.url),
49"./translations/playground/nl.json":()=>g(()=>import(`./nl-taab3a04.js`),[],import.meta.url),
49"./translations/playground/pt-BR.json":()=>g(()=>import(`./pt-br-9ag9nygq.js`),[],import.meta.url),
49"./translations/playground/pt-PT.json":()=>g(()=>import(`./pt-pt-ab1qgwv3.js`),[],import.meta.url),
49"./translations/playground/ru.json":()=>g(()=>import(`./ru-gtk8ry58.js`),[],import.meta.url),
49"./translations/playground/sources.json":()=>g(()=>import(`./sources-gw77g5z6.js`),[],import.meta.url),
49"./translations/playground/zh-CN.json":()=>g(()=>import(`./zh-cn-l59ouqjf.js`),[],import.meta.url),
49"./translations/playground/zh-TW.json":()=>g(()=>import(`./zh-tw-k65ygfxv.js`),[],import.meta.url),
49"./translations/power-profile/de.json":()=>g(()=>import(`./de-nhbbon4q.js`),[],import.meta.url),
49"./translations/power-profile/es-419.json":()=>g(()=>import(`./es-419-kin7dy77.js`),[],import.meta.url),
49"./translations/power-profile/es-ES.json":()=>g(()=>import(`./es-es-hcc2ml6x.js`),[],import.meta.url),
49"./translations/power-profile/fr-FR.json":()=>g(()=>import(`./fr-fr-icraay3r.js`),[],import.meta.url),
49"./translations/power-profile/it-IT.json":()=>g(()=>import(`./it-it-hnqwcgkc.js`),[],import.meta.url),
49"./translations/power-profile/ja-JP.json":()=>g(()=>import(`./ja-jp-bq95b0h6.js`),[],import.meta.url),
49"./translations/power-profile/ko.json":()=>g(()=>import(`./ko-gsgrcjf0.js`),[],import.meta.url),
49"./translations/power-profile/nl.json":()=>g(()=>import(`./nl-dy2yw9zs.js`),[],import.meta.url),
49"./translations/power-profile/pt-BR.json":()=>g(()=>import(`./pt-br-crxwwmp6.js`),[],import.meta.url),
49"./translations/power-profile/pt-PT.json":()=>g(()=>import(`./pt-pt-gf5cy70l.js`),[],import.meta.url),
49"./translations/power-profile/ru.json":()=>g(()=>import(`./ru-jnn2wwwj.js`),[],import.meta.url),
49"./translations/power-profile/sources.json":()=>g(()=>import(`./sources-bax9rkx8.js`),[],import.meta.url),
49"./translations/power-profile/zh-CN.json":()=>g(()=>import(`./zh-cn-f8x40dgc.js`),[],import.meta.url),
49"./translations/power-profile/zh-TW.json":()=>g(()=>import(`./zh-tw-mwrd5rla.js`),[],import.meta.url),
49"./translations/power-ranking/de.json":()=>g(()=>import(`./de-nw468yiy.js`),[],import.meta.url),
49"./translations/power-ranking/es-419.json":()=>g(()=>import(`./es-419-i1rbamrc.js`),[],import.meta.url),
49"./translations/power-ranking/es-ES.json":()=>g(()=>import(`./es-es-ejx2rwt4.js`),[],import.meta.url),
49"./translations/power-ranking/fr-FR.json":()=>g(()=>import(`./fr-fr-mkws4rys.js`),[],import.meta.url),
49"./translations/power-ranking/it-IT.json":()=>g(()=>import(`./it-it-k1txl0ia.js`),[],import.meta.url),
49"./translations/power-ranking/ja-JP.json":()=>g(()=>import(`./ja-jp-fce11tz2.js`),[],import.meta.url),
49"./translations/power-ranking/ko.json":()=>g(()=>import(`./ko-lp2m5s28.js`),[],import.meta.url),
49"./translations/power-ranking/nl.json":()=>g(()=>import(`./nl-fhjr732g.js`),[],import.meta.url),
49"./translations/power-ranking/pt-BR.json":()=>g(()=>import(`./pt-br-bhw24p7l.js`),[],import.meta.url),
49"./translations/power-ranking/pt-PT.json":()=>g(()=>import(`./pt-pt-jwdfird6.js`),[],import.meta.url),
49"./translations/power-ranking/ru.json":()=>g(()=>import(`./ru-ntwtsnf4.js`),[],import.meta.url),
49"./translations/power-ranking/sources.json":()=>g(()=>import(`./sources-ld5m5tiq.js`),[],import.meta.url),
49"./translations/power-ranking/zh-CN.json":()=>g(()=>import(`./zh-cn-bl1wpk1r.js`),[],import.meta.url),
49"./translations/power-ranking/zh-TW.json":()=>g(()=>import(`./zh-tw-n750uhob.js`),[],import.meta.url),
49"./translations/power-records/de.json":()=>g(()=>import(`./de-mr8oc55z.js`),[],import.meta.url),
49"./translations/power-records/es-419.json":()=>g(()=>import(`./es-419-jpeu90c1.js`),[],import.meta.url),
49"./translations/power-records/es-ES.json":()=>g(()=>import(`./es-es-2a57r3d6.js`),[],import.meta.url),
49"./translations/power-records/fr-FR.json":()=>g(()=>import(`./fr-fr-k6ooasao.js`),[],import.meta.url),
49"./translations/power-records/it-IT.json":()=>g(()=>import(`./it-it-lq2rx1hl.js`),[],import.meta.url),
49"./translations/power-records/ja-JP.json":()=>g(()=>import(`./ja-jp-flzd0kwd.js`),[],import.meta.url),
49"./translations/power-records/ko.json":()=>g(()=>import(`./ko-27ojq5in.js`),[],import.meta.url),
49"./translations/power-records/nl.json":()=>g(()=>import(`./nl-mo1eb55r.js`),[],import.meta.url),
49"./translations/power-records/pt-BR.json":()=>g(()=>import(`./pt-br-lmznosjf.js`),[],import.meta.url),
49"./translations/power-records/pt-PT.json":()=>g(()=>import(`./pt-pt-kim767zv.js`),[],import.meta.url),
49"./translations/power-records/ru.json":()=>g(()=>import(`./ru-f5x9qfok.js`),[],import.meta.url),
49"./translations/power-records/sources.json":()=>g(()=>import(`./sources-bh5yzg21.js`),[],import.meta.url),
49"./translations/power-records/zh-CN.json":()=>g(()=>import(`./zh-cn-jz7xiufk.js`),[],import.meta.url),
49"./translations/power-records/zh-TW.json":()=>g(()=>import(`./zh-tw-ghfw9c8y.js`),[],import.meta.url),
49"./translations/profile/de.json":()=>g(()=>import(`./de-dqtx7npz.js`),[],import.meta.url),
49"./translations/profile/es-419.json":()=>g(()=>import(`./es-419-e1orhrj9.js`),[],import.meta.url),
49"./translations/profile/es-ES.json":()=>g(()=>import(`./es-es-jbs2zl27.js`),[],import.meta.url),
49"./translations/profile/fr-FR.json":()=>g(()=>import(`./fr-fr-ozaj1588.js`),[],import.meta.url),
49"./translations/profile/it-IT.json":()=>g(()=>import(`./it-it-mg3je22r.js`),[],import.meta.url),
49"./translations/profile/ja-JP.json":()=>g(()=>import(`./ja-jp-dqfvosbn.js`),[],import.meta.url),
49"./translations/profile/ko.json":()=>g(()=>import(`./ko-ktjwp43j.js`),[],import.meta.url),
49"./translations/profile/nl.json":()=>g(()=>import(`./nl-slkv8j9x.js`),[],import.meta.url),
49"./translations/profile/pt-BR.json":()=>g(()=>import(`./pt-br-b2zg9dyz.js`),[],import.meta.url),
49"./translations/profile/pt-PT.json":()=>g(()=>import(`./pt-pt-dw42d5hg.js`),[],import.meta.url),
49"./translations/profile/ru.json":()=>g(()=>import(`./ru-naqfaw02.js`),[],import.meta.url),
49"./translations/profile/sources.json":()=>g(()=>import(`./sources-dtxcgxay.js`),[],import.meta.url),
49"./translations/profile/zh-CN.json":()=>g(()=>import(`./zh-cn-cmwftl4q.js`),[],import.meta.url),
49"./translations/profile/zh-TW.json":()=>g(()=>import(`./zh-tw-k3pspddj.js`),[],import.meta.url),
49"./translations/ride-reconciliation/de.json":()=>g(()=>import(`./de-dqhkjvgq.js`),[],import.meta.url),
49"./translations/ride-reconciliation/es-419.json":()=>g(()=>import(`./es-419-mrxm8r4y.js`),[],import.meta.url),
49"./translations/ride-reconciliation/es-ES.json":()=>g(()=>import(`./es-es-k13dftbd.js`),[],import.meta.url),
49"./translations/ride-reconciliation/fr-FR.json":()=>g(()=>import(`./fr-fr-chq0rkqf.js`),[],import.meta.url),
49"./translations/ride-reconciliation/it-IT.json":()=>g(()=>import(`./it-it-gzo54u2o.js`),[],import.meta.url),
49"./translations/ride-reconciliation/ja-JP.json":()=>g(()=>import(`./ja-jp-bfi5zocw.js`),[],import.meta.url),
49"./translations/ride-reconciliation/ko.json":()=>g(()=>import(`./ko-gkbh5u8n.js`),[],import.meta.url),
49"./translations/ride-reconciliation/nl.json":()=>g(()=>import(`./nl-nioz5983.js`),[],import.meta.url),
49"./translations/ride-reconciliation/pt-BR.json":()=>g(()=>import(`./pt-br-fzkuri6u.js`),[],import.meta.url),
49"./translations/ride-reconciliation/pt-PT.json":()=>g(()=>import(`./pt-pt-nay9oaq4.js`),[],import.meta.url),
49"./translations/ride-reconciliation/ru.json":()=>g(()=>import(`./ru-bv4mulqt.js`),[],import.meta.url),
49"./translations/ride-reconciliation/sources.json":()=>g(()=>import(`./sources-e0eyxyex.js`),[],import.meta.url),
49"./translations/ride-reconciliation/zh-CN.json":()=>g(()=>import(`./zh-cn-j6aewn1f.js`),[],import.meta.url),
49"./translations/ride-reconciliation/zh-TW.json":()=>g(()=>import(`./zh-tw-lspjnpf0.js`),[],import.meta.url),
49"./translations/train-now/de.json":()=>g(()=>import(`./de-n6dtylxm.js`),[],import.meta.url),
49"./translations/train-now/es-419.json":()=>g(()=>import(`./es-419-mwe0ppb0.js`),[],import.meta.url),
49"./translations/train-now/es-ES.json":()=>g(()=>import(`./es-es-b9211ml4.js`),[],import.meta.url),
49"./translations/train-now/fr-FR.json":()=>g(()=>import(`./fr-fr-hzd76ojz.js`),[],import.meta.url),
49"./translations/train-now/it-IT.json":()=>g(()=>import(`./it-it-nrm39o2e.js`),[],import.meta.url),
49"./translations/train-now/ja-JP.json":()=>g(()=>import(`./ja-jp-gsbdqva0.js`),[],import.meta.url),
49"./translations/train-now/ko.json":()=>g(()=>import(`./ko-bq1jdjzg.js`),[],import.meta.url),
49"./translations/train-now/nl.json":()=>g(()=>import(`./nl-einoom2e.js`),[],import.meta.url),
49"./translations/train-now/pt-BR.json":()=>g(()=>import(`./pt-br-hm963rdz.js`),[],import.meta.url),
49"./translations/train-now/pt-PT.json":()=>g(()=>import(`./pt-pt-rr0dg6zl.js`),[],import.meta.url),
49"./translations/train-now/ru.json":()=>g(()=>import(`./ru-jgegkmsd.js`),[],import.meta.url),
49"./translations/train-now/sources.json":()=>g(()=>import(`./sources-j20rnwxy.js`),[],import.meta.url),
49"./translations/train-now/zh-CN.json":()=>g(()=>import(`./zh-cn-jkv79r9r.js`),[],import.meta.url),
49"./translations/train-now/zh-TW.json":()=>g(()=>import(`./zh-tw-hv5999yn.js`),[],import.meta.url),
49"./translations/training-stress/de.json":()=>g(()=>import(`./de-elh2lyey.js`),[],import.meta.url),
49"./translations/training-stress/es-419.json":()=>g(()=>import(`./es-419-g9o8id19.js`),[],import.meta.url),
49"./translations/training-stress/es-ES.json":()=>g(()=>import(`./es-es-jx4adzc6.js`),[],import.meta.url),
49"./translations/training-stress/fr-FR.json":()=>g(()=>import(`./fr-fr-oebci70h.js`),[],import.meta.url),
49"./translations/training-stress/it-IT.json":()=>g(()=>import(`./it-it-o9m1i69c.js`),[],import.meta.url),
49"./translations/training-stress/ja-JP.json":()=>g(()=>import(`./ja-jp-mkzsaqkc.js`),[],import.meta.url),
49"./translations/training-stress/ko.json":()=>g(()=>import(`./ko-izu5a8rp.js`),[],import.meta.url),
49"./translations/training-stress/nl.json":()=>g(()=>import(`./nl-bgvgaxmp.js`),[],import.meta.url),
49"./translations/training-stress/pt-BR.json":()=>g(()=>import(`./pt-br-bquna1v4.js`),[],import.meta.url),
49"./translations/training-stress/pt-PT.json":()=>g(()=>import(`./pt-pt-k6vnho8v.js`),[],import.meta.url),
49"./translations/training-stress/ru.json":()=>g(()=>import(`./ru-pfi64zlt.js`),[],import.meta.url),
49"./translations/training-stress/sources.json":()=>g(()=>import(`./sources-lj0nrwz3.js`),[],import.meta.url),
49"./translations/training-stress/zh-CN.json":()=>g(()=>import(`./zh-cn-nttdjms2.js`),[],import.meta.url),
49"./translations/training-stress/zh-TW.json":()=>g(()=>import(`./zh-tw-mqrwt9w3.js`),[],import.meta.url),
49"./translations/workout-details/de.json":()=>g(()=>import(`./de-hgjjn1hl.js`),[],import.meta.url),
49"./translations/workout-details/es-419.json":()=>g(()=>import(`./es-419-f9sm9yz0.js`),[],import.meta.url),
49"./translations/workout-details/es-ES.json":()=>g(()=>import(`./es-es-owy02748.js`),[],import.meta.url),
49"./translations/workout-details/fr-FR.json":()=>g(()=>import(`./fr-fr-mxqoca9l.js`),[],import.meta.url),
49"./translations/workout-details/it-IT.json":()=>g(()=>import(`./it-it-jh8j55lo.js`),[],import.meta.url),
49"./translations/workout-details/ja-JP.json":()=>g(()=>import(`./ja-jp-bb0dd10d.js`),[],import.meta.url),
49"./translations/workout-details/ko.json":()=>g(()=>import(`./ko-jovc2r5s.js`),[],import.meta.url),
49"./translations/workout-details/nl.json":()=>g(()=>import(`./nl-jfvf540n.js`),[],import.meta.url),
49"./translations/workout-details/pt-BR.json":()=>g(()=>import(`./pt-br-wmli9kjd.js`),[],import.meta.url),
49"./translations/workout-details/pt-PT.json":()=>g(()=>import(`./pt-pt-n1ak50om.js`),[],import.meta.url),
49"./translations/workout-details/ru.json":()=>g(()=>import(`./ru-bmzytruw.js`),[],import.meta.url),
49"./translations/workout-details/sources.json":()=>g(()=>import(`./sources-dvluvskp.js`),[],import.meta.url),
49"./translations/workout-details/zh-CN.json":()=>g(()=>import(`./zh-cn-jklu2ybt.js`),[],import.meta.url),
49"./translations/workout-details/zh-TW.json":()=>g(()=>import(`./zh-tw-f00gdtlc.js`),[],import.meta.url),
49"./translations/workout-player/de.json":()=>g(()=>import(`./de-bclx1nqs.js`),[],import.meta.url),
49"./translations/workout-player/es-419.json":()=>g(()=>import(`./es-419-foe743wc.js`),[],import.meta.url),
49"./translations/workout-player/es-ES.json":()=>g(()=>import(`./es-es-g2dryl03.js`),[],import.meta.url),
49"./translations/workout-player/fr-FR.json":()=>g(()=>import(`./fr-fr-ff8qph7m.js`),[],import.meta.url),
49"./translations/workout-player/it-IT.json":()=>g(()=>import(`./it-it-nb5tlp3g.js`),[],import.meta.url),
49"./translations/workout-player/ja-JP.json":()=>g(()=>import(`./ja-jp-m54z0929.js`),[],import.meta.url),
49"./translations/workout-player/ko.json":()=>g(()=>import(`./ko-fgjb6iv4.js`),[],import.meta.url),
49"./translations/workout-player/nl.json":()=>g(()=>import(`./nl-chf1cjt9.js`),[],import.meta.url),
49"./translations/workout-player/pt-BR.json":()=>g(()=>import(`./pt-br-gbzeohzf.js`),[],import.meta.url),
49"./translations/workout-player/pt-PT.json":()=>g(()=>import(`./pt-pt-e2jlje7f.js`),[],import.meta.url),
49"./translations/workout-player/ru.json":()=>g(()=>import(`./ru-pfupft6x.js`),[],import.meta.url),
49"./translations/workout-player/sources.json":()=>g(()=>import(`./sources-orr3tj97.js`),[],import.meta.url),
49"./translations/workout-player/zh-CN.json":()=>g(()=>import(`./zh-cn-n5o1mq2w.js`),[],import.meta.url),
49"./translations/workout-player/zh-TW.json":()=>g(()=>import(`./zh-tw-o71kjckf.js`),[],import.meta.url),
49"./translations/workouts/de.json":()=>g(()=>import(`./de-dx0bflgr.js`),[],import.meta.url),
49"./translations/workouts/es-419.json":()=>g(()=>import(`./es-419-jr2fatwd.js`),[],import.meta.url),
49"./translations/workouts/es-ES.json":()=>g(()=>import(`./es-es-iogkiefe.js`),[],import.meta.url),
49"./translations/workouts/fr-FR.json":()=>g(()=>import(`./fr-fr-gy7yd9dc.js`),[],import.meta.url),
49"./translations/workouts/it-IT.json":()=>g(()=>import(`./it-it-fvf73zi4.js`),[],import.meta.url),
49"./translations/workouts/ja-JP.json":()=>g(()=>import(`./ja-jp-jxq6atpm.js`),[],import.meta.url),
49"./translations/workouts/ko.json":()=>g(()=>import(`./ko-hku881d2.js`),[],import.meta.url),
49"./translations/workouts/nl.json":()=>g(()=>import(`./nl-n6z5zuel.js`),[],import.meta.url),
49"./translations/workouts/pt-BR.json":()=>g(()=>import(`./pt-br-oxa41zkx.js`),[],import.meta.url),
49"./translations/workouts/pt-PT.json":()=>g(()=>import(`./pt-pt-gesmk86v.js`),[],import.meta.url),
49"./translations/workouts/ru.json":()=>g(()=>import(`./ru-lj4gvs6q.js`),[],import.meta.url),
49"./translations/workouts/sources.json":()=>g(()=>import(`./sources-i66u0t0q.js`),[],import.meta.url),
49"./translations/workouts/zh-CN.json":()=>g(()=>import(`./zh-cn-lpbewhq7.js`),[],import.meta.url),
49"./translations/workouts/zh-TW.json":()=>g(()=>import(`./zh-tw-lskmcqff.js`),[],import.meta.url)
49}),`./translations/${e}/${t}.json`,4)).default,r={};return n.forEach(e=>{r[e.key]=e.t}),r}getTranslationKey(e,t={}){let{_context:n,_key:r}=t;return r||(n?`${e}::${n}`:e)}formatString(e,t){if(!t)return e;if(Object.entries(t).some(([e,t])=>!e.startsWith(`_`)&&(0,_.isValidElement)(t))){let n=/{([^{}]+)}/g,r=[],i=0,a;for(;(a=n.exec(e))!==null;){a.index>i&&r.push(e.substring(i,a.index));let n=a[1],o=t[n];!n.startsWith(`_`)&&o!==void 0?r.push((0,_.isValidElement)(o)?o:String(o)):r.push(a[0]),i=a.index+a[0].length}return i<e.length&&r.push(e.substring(i)),(0,_.createElement)(_.Fragment,null,r.map((t,n)=>(0,_.isValidElement)(t)?t.key==null?(0,_.cloneElement)(t,{key:`react-${n}-${e.substring(0,10)}`}):t:(0,_.createElement)(_.Fragment,{key:`str-${n}-${typeof t==`string`?t.substring(0,10):`fragment`}`},t)))}else{let n=e;return Object.entries(t).forEach(([e,t])=>{if(e.startsWith(`_`))return;let r=RegExp(`{${e}}`,`g`),i=String(t);n=n.replace(r,()=>i)}),n}}},Ls=js,js);h([i,m(`design:type`,typeof(Ms=p!==void 0&&p)==`function`?Ms:Object)],$.prototype,`_locale`,void 0),h([s,m(`design:type`,Object),m(`design:paramtypes`,[])],$.prototype,`locale`,null),h([i.shallow,m(`design:type`,typeof(Ns=typeof Record<`u`&&Record)==`function`?Ns:Object)],$.prototype,`_translations`,void 0),h([i.shallow,m(`design:type`,typeof(Ps=typeof Set<`u`&&Set)==`function`?Ps:Object)],$.prototype,`_loadedSlices`,void 0),h([s,m(`design:type`,Object),m(`design:paramtypes`,[])],$.prototype,`loadedSlices`,null),h([s,m(`design:type`,Array),m(`design:paramtypes`,[])],$.prototype,`loadedSliceNames`,null),h([i.shallow,m(`design:type`,typeof(Fs=typeof Set<`u`&&Set)==`function`?Fs:Object)],$.prototype,`_failedSlices`,void 0),h([c,m(`design:type`,Function),m(`design:paramtypes`,[typeof(Is=p!==void 0&&p)==`function`?Is:Object]),m(`design:returntype`,void 0)],$.prototype,`setLocale`,null),$=Ls=h([Gt(),m(`design:paramtypes`,[])],$);var Bs=u(),Vs=`appInitReloadCount`,Hs=2500;function Us(){return window.__embeddedFingerprintActive===!0}var Ws=/^\d{1,15}$/;function Gs(){try{let e=sessionStorage.getItem(Vs);return e===null||e===``?0:Ws.test(e)?parseInt(e,10):3}catch{return 3}}function Ks(){try{sessionStorage.removeItem(Vs)}catch{}}var qs=`core`,Js=$.getInstance(),Ys=Js.translate;function Xs(e){return Ys(e===1?`There was an error loading the page. Retrying in {countdown} second...`:`There was an error loading the page. Retrying in {countdown} seconds...`,{countdown:e})}function Zs(){let[e,t]=(0,_.useState)(()=>document.documentElement.getAttribute(d)===`dark`);return(0,_.useEffect)(()=>{let e=new MutationObserver(()=>{t(document.documentElement.getAttribute(d)===`dark`)});return e.observe(document.documentElement,{attributes:!0,attributeFilter:[d]}),()=>e.disconnect()},[]),e}function Qs(){return Js.locale===p.English?pe(fe()):Js.locale}function $s(e){let[,t]=(0,_.useState)(!1);(0,_.useEffect)(()=>{if(e===p.English||Js.isSliceLoaded(qs))return;let n=!1,r=()=>{n||t(!0)};return Js.setLocale(e),se(()=>Js.loadTranslations(qs,e),{retries:0}).then(r,r),()=>{n=!0}},[e])}var ec=()=>{let[e,t]=(0,_.useState)(3),[n]=(0,_.useState)(Qs),r=Zs(),[i]=(0,_.useState)(Gs),a=i<3,o=(0,_.useRef)(null);return $s(n),(0,_.useEffect)(()=>{a||o.current?.focus()},[a]),(0,_.useEffect)(()=>{if(!a)return;if(e===0){let e=()=>{try{sessionStorage.setItem(Vs,(i+1).toString())}catch{}window.location.reload()};if(Us()){let t=setTimeout(e,Hs);return()=>clearTimeout(t)}e();return}let n=setTimeout(()=>{t(e-1)},1e3);return()=>clearTimeout(n)},[e,a,i]),(0,Bs.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,alignItems:`center`,justifyContent:`center`,minHeight:`100vh`,padding:`20px`,textAlign:`center`,backgroundColor:r?f.grey1:f.white},children:(0,Bs.jsxs)(`div`,{ref:o,role:a?void 0:`alert`,tabIndex:a?void 0:-1,style:{backgroundColor:r?f.grey2:f.grey15,borderRadius:`8px`,padding:`40px`,boxShadow:r?`0 2px 10px rgba(0,0,0,0.3)`:`0 2px 10px rgba(0,0,0,0.1)`,maxWidth:`400px`,outline:a?void 0:`none`},children:[(0,Bs.jsx)(`p`,{style:{fontSize:`18px`,color:r?f.grey15:f.grey1,marginBottom:`30px`,lineHeight:`1.5`},children:a?Xs(e):Ys(`There was an error loading the page, and retrying did n
49ot fix it. Check your connection, then try again.`)}),(0,Bs.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`},children:a?(0,Bs.jsx)(ee,{size:36}):(0,Bs.jsx)(te,{type:`button`,level:`large`,onClick:()=>{Ks(),window.location.reload()},children:Ys(`Try Again`)})})]})})},tc=`app-initialization-error`,nc=(0,_.createContext)(null),rc=()=>(0,_.useContext)(nc),ic=({appConfig:e,children:t,fallback:i=null,isExternal:a,additionalContainerConfig:o=n})=>{console.debug(`Rendering AppProvider`);let[c,l]=(0,_.useState)(``),[u,d]=(0,_.useState)(),f=s(()=>!!u);return(0,_.useEffect)(()=>(document.body.setAttribute(`translate`,`no`),()=>{document.body.removeAttribute(`translate`)}),[]),(0,_.useEffect)(()=>{console.debug(`Initializing AppProvider`),se(()=>g(()=>import(`./initialize-app-el41x4ja.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91]),import.meta.url)).then(({initializeApp:t})=>se(()=>t(e,o,a),{retries:0}).then(([e,t])=>{if(t){console.debug(`App initialization error:`,t),l(t.toString()),r({message:tc,data:le(t)}).catch(n);return}if(!e){console.debug(`App initialization error: Container is null`),l(`Container should not be null`),r({message:tc,data:{error:`Container is null`}}).catch(n);return}Ks(),d(e)})).catch(e=>{let t=e instanceof Error?e.message:String(e);console.debug(`App initialization error:`,t),l(t||`App initialization failed`),r({message:tc,data:{error:`Load-blocking app initialization failed: ${t}`}}).catch(n)})},[]),c?(0,Bs.jsx)(ec,{}):u?(0,Bs.jsx)(nc.Provider,{value:{container:u,isReady:f},children:t}):(0,Bs.jsx)(Bs.Fragment,{children:i})},ac=e=>{let{container:t}=rc();return(0,_.useMemo)(()=>t.get(e),[t,e])};export{ne as _,rc as a,Os as c,Gt as d,It as f,oe as g,le as h,ic as i,an as l,pe as m,tc as n,Rs as o,fe as p,nc as r,$ as s,ac as t,$t as u};
50//# sourceMappingURL=use-service-du0qnyad.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.