@thefittingroom/shop-ui 3.2.1 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.rollup.cache/Users/supagoku/projects/fit/shop-sdk-ui/dist/esm/tfr.js +6 -2
- package/.rollup.cache/Users/supagoku/projects/fit/shop-sdk-ui/dist/esm/tfr.js.map +1 -1
- package/.rollup.cache/Users/supagoku/projects/fit/shop-sdk-ui/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/index.js +7 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +2 -2
- package/dist/esm/index.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -34,6 +34,10 @@ export class FittingRoom {
|
|
|
34
34
|
var _a, _b;
|
|
35
35
|
this.tfrSizeRec.setSku(sku);
|
|
36
36
|
const style = await this.getStyle(this.sku);
|
|
37
|
+
if (!style) {
|
|
38
|
+
document.getElementById('tfr-size-recommendations').style.display = 'none';
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
37
41
|
this.style = style;
|
|
38
42
|
if (!style.is_published) {
|
|
39
43
|
document.getElementById('tfr-size-recommendations').style.display = 'none';
|
|
@@ -44,10 +48,10 @@ export class FittingRoom {
|
|
|
44
48
|
}
|
|
45
49
|
console.log(`style ${style.id} virtual try on is disabled`);
|
|
46
50
|
if (style.is_vto) {
|
|
47
|
-
(_a = document.getElementById('tfr-try-on-button')) === null || _a === void 0 ? void 0 : _a.classList.remove(
|
|
51
|
+
(_a = document.getElementById('tfr-try-on-button')) === null || _a === void 0 ? void 0 : _a.classList.remove('hide');
|
|
48
52
|
}
|
|
49
53
|
else {
|
|
50
|
-
(_b = document.getElementById('tfr-try-on-button')) === null || _b === void 0 ? void 0 : _b.classList.add(
|
|
54
|
+
(_b = document.getElementById('tfr-try-on-button')) === null || _b === void 0 ? void 0 : _b.classList.add('hide');
|
|
51
55
|
}
|
|
52
56
|
if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,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,CAAA;gBAE1E,OAAO,KAAK,CAAA;YACd,CAAC;YAAC,OAAO,EAAE,EAAE,CAAC;gBACZ,OAAO,IAAI,CAAA;YACb,CAAC;QACH,CAAC;IACH,CAAC;CACF","sourcesContent":["import { types as ShopTypes, TfrShop, initShop } from '@thefittingroom/sdk'\n\nimport { VtoComponent } from './components/Vto'\nimport { L } from './components/locale'\nimport { validateEmail, validatePassword } from './helpers/validations'\nimport { TfrModal } from './tfr-modal'\nimport { TfrCssVariables, TfrSizeRec } from './tfr-size-rec'\nimport * as types from './types'\nimport { FirestoreStyleCategory } from '@thefittingroom/sdk/dist/esm/types'\n\nexport interface TfrHooks {\n onLoading?: () => void\n onLoadingComplete?: () => void\n onError?: (error: string) => void\n onVtoReady?: (frames: types.TryOnFrames) => void\n onLogin?: () => void\n onLogout?: () => void\n}\n\nexport class FittingRoom {\n private isLoggedIn: boolean = false\n\n public style: FirestoreStyleCategory\n\n public readonly tfrModal: TfrModal\n public readonly tfrSizeRec: TfrSizeRec\n private readonly vtoComponent: VtoComponent\n private readonly tfrShop: TfrShop\n private unsub: () => void = null\n\n constructor(\n private readonly shopId: string | number,\n modalDivId: string,\n sizeRecMainDivId: string,\n vtoMainDivId: string,\n private readonly hooks: TfrHooks = {},\n cssVariables: TfrCssVariables,\n _env?: string,\n ) {\n // prettier-ignore\n const env = _env\n ? _env\n : typeof process !== 'undefined'\n ? process.env.NODE_ENV\n : 'dev'\n\n console.log('tfr-env', env)\n\n this.tfrModal = new TfrModal(\n modalDivId,\n this.signIn.bind(this),\n this.forgotPassword.bind(this),\n this.submitTel.bind(this),\n )\n this.tfrShop = initShop(Number(this.shopId), env)\n this.tfrSizeRec = new TfrSizeRec(\n sizeRecMainDivId,\n cssVariables,\n this.tfrShop,\n this.onSignInClick.bind(this),\n this.signOut.bind(this),\n this.onFitInfoClick.bind(this),\n this.onTryOnClick.bind(this),\n )\n\n if (vtoMainDivId) this.vtoComponent = new VtoComponent(vtoMainDivId)\n }\n\n get shop() {\n return this.tfrShop\n }\n\n get sku() {\n return this.tfrSizeRec.sku\n }\n\n public async setSku(sku: string) {\n this.tfrSizeRec.setSku(sku)\n\n const style = await this.getStyle(this.sku)\n\n this.style = style\n\n if (!style.is_published) {\n document.getElementById('tfr-size-recommendations').style.display = 'none';\n console.log(`style ${style.id} is not published`)\n } else {\n console.log(`style ${style.id} is published`)\n }\n\n console.log(`style ${style.id} virtual try on is disabled`)\n\n if (style.is_vto) {\n document.getElementById('tfr-try-on-button')?.classList.remove(\"hide\")\n } else {\n document.getElementById('tfr-try-on-button')?.classList.add(\"hide\")\n }\n\n if (this.isLoggedIn) this.tfrSizeRec.recommendSize()\n else this.setGarmentLocations(style)\n }\n\n public async onInit() {\n this.isLoggedIn = await this.tfrShop.onInit()\n this.tfrSizeRec.setIsLoggedIn(this.isLoggedIn)\n\n if (this.isLoggedIn) {\n if (this.hooks?.onLogin) this.hooks.onLogin()\n\n this.subscribeToProfileChanges()\n } else {\n if (this.hooks?.onLogout) this.hooks.onLogout()\n\n this.unsubscribeFromProfileChanges()\n }\n\n return this.isLoggedIn\n }\n\n public close() {\n this.tfrModal.close()\n }\n\n public async signOut() {\n await this.tfrShop.user.logout()\n\n if (this.hooks?.onLogout) this.hooks.onLogout()\n\n this.isLoggedIn = false\n this.tfrSizeRec.setIsLoggedIn(false)\n this.setGarmentLocations(this.style)\n this.unsubscribeFromProfileChanges()\n }\n\n public async signIn(username: string, password: string, validationError: (message: string) => void) {\n if (username.length == 0 || password.length == 0) return validationError(L.UsernameOrPasswordEmpty)\n if (!validateEmail(username)) return validationError(L.EmailError)\n if (!validatePassword(password)) return validationError(L.PasswordError)\n\n try {\n await this.tfrShop.user.login(username, password)\n\n if (this.hooks?.onLogin) this.hooks.onLogin()\n this.tfrModal.close()\n\n this.isLoggedIn = true\n this.tfrSizeRec.setIsLoggedIn(true)\n\n this.tfrSizeRec.recommendSize()\n this.subscribeToProfileChanges()\n } catch (e) {\n return validationError(L.UsernameOrPasswordIncorrect)\n }\n }\n\n public setBrandUserId(brandUserId: string | number) {\n this.tfrShop.user.setBrandUserId(brandUserId)\n }\n\n public async submitTel(tel: string) {\n try {\n await this.tfrShop.submitTelephoneNumber(tel)\n this.tfrModal.toSignIn()\n } catch {\n this.tfrModal.onError(L.SomethingWentWrong)\n }\n }\n\n public async forgotPassword(email: string) {\n await this.tfrShop.user.sendPasswordResetEmail(email)\n\n this.tfrModal.toSignIn()\n }\n\n public async passwordReset(code: string, newPassword: string) {\n await this.tfrShop.user.confirmPasswordReset(code, newPassword)\n\n this.tfrModal.toPasswordReset()\n }\n\n public async getMeasurementLocationsFromSku(sku: string) {\n return this.tfrShop.getMeasurementLocationsFromSku(sku)\n }\n\n public onSignInClick() {\n this.tfrModal.toScan()\n }\n\n public onFitInfoClick() {\n this.tfrModal.toFitInfo()\n }\n\n public async onTryOnClick(styleId: number, sizeId: number, shouldDisplay: boolean = true) {\n if (!this.vtoComponent)\n return console.error('VtoComponent is not initialized. Please check if the vtoMainDivId is correct.')\n\n const frames = await this.shop.tryOn(styleId, sizeId)\n\n if (shouldDisplay) {\n try {\n this.vtoComponent.init()\n this.vtoComponent.onNewFramesReady(frames)\n } catch (e) {\n console.error('Error initializing VTO:', e)\n this.tfrModal.onError(L.SomethingWentWrong)\n }\n }\n }\n\n private onUserProfileChange(userProfile: ShopTypes.FirestoreUser) {\n switch (userProfile.avatar_status as types.AvatarState) {\n case types.AvatarState.NOT_CREATED:\n if (this.hooks?.onError) this.hooks.onError(L.DontHaveAvatar)\n this.tfrModal.onNotCreated()\n break\n\n case types.AvatarState.PENDING:\n if (this.hooks?.onLoading) this.hooks.onLoading()\n break\n\n case types.AvatarState.CREATED:\n if (this.hooks?.onLoadingComplete) this.hooks.onLoadingComplete()\n break\n\n default:\n if (this.hooks?.onError) this.hooks.onError(L.SomethingWentWrong)\n this.tfrModal.onError(L.SomethingWentWrong)\n break\n }\n }\n\n private subscribeToProfileChanges() {\n if (this.unsub) return\n\n this.unsub = this.tfrShop.user.watchUserProfileForChanges((userProfile) => this.onUserProfileChange(userProfile))\n }\n\n private unsubscribeFromProfileChanges() {\n if (!this.unsub) return\n\n this.unsub()\n this.unsub = null\n }\n\n private async setGarmentLocations(style: FirestoreStyleCategory) {\n\n const filledLocations =\n style?.sizes?.[0]?.garment_measurements.map((measurement) => measurement.measurement_location) || ([] as string[])\n\n this.tfrSizeRec.setGarmentLocations(filledLocations)\n }\n\n private async getStyle(brandStyleIdOrSku: string) {\n try {\n const colorwaySizeAsset = await this.tfrShop.getColorwaySizeAssetFromSku(brandStyleIdOrSku)\n const style = await this.tfrShop.getStyle(colorwaySizeAsset.style_id)\n\n return style\n } catch (e) {\n try {\n const style = await this.tfrShop.getStyleByBrandStyleId(brandStyleIdOrSku)\n\n return style\n } catch (e2) {\n return null\n }\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"tfr.js","sourceRoot":"","sources":["../../src/tfr.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+B,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAG3E,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC/C,OAAO,EAAE,CAAC,EAAE,MAAM,qBAAqB,CAAA;AACvC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAmB,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAC5D,OAAO,KAAK,KAAK,MAAM,SAAS,CAAA;AAWhC,MAAM,OAAO,WAAW;IAWtB,YACmB,MAAuB,EACxC,UAAkB,EAClB,gBAAwB,EACxB,YAAoB,EACH,QAAkB,EAAE,EACrC,YAA6B,EAC7B,IAAa;QANI,WAAM,GAAN,MAAM,CAAiB;QAIvB,UAAK,GAAL,KAAK,CAAe;QAf/B,eAAU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KAAK,CAAC,mBAAmB,CAAC,KAA6B;;QAC7D,MAAM,eAAe,GACnB,CAAA,MAAA,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAG,CAAC,CAAC,0CAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,oBAAoB,CAAC,KAAK,EAAe,CAAA;QAEpH,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAA;IACtD,CAAC;IAEO,KAAK,CAAC,QAAQ,CAAC,iBAAyB;QAC9C,IAAI,CAAC;YACH,MAAM,iBAAiB,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,2BAA2B,CAAC,iBAAiB,CAAC,CAAA;YAC3F,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAA;YAErE,OAAO,KAAK,CAAA;QACd,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,IAAI,CAAC;gBACH,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,CAAA;gBAE1E,OAAO,KAAK,CAAA;YACd,CAAC;YAAC,OAAO,EAAE,EAAE,CAAC;gBACZ,OAAO,IAAI,CAAA;YACb,CAAC;QACH,CAAC;IACH,CAAC;CACF","sourcesContent":["import { types as ShopTypes, TfrShop, initShop } from '@thefittingroom/sdk'\nimport { FirestoreStyleCategory } from '@thefittingroom/sdk/dist/esm/types'\n\nimport { VtoComponent } from './components/Vto'\nimport { L } from './components/locale'\nimport { validateEmail, validatePassword } from './helpers/validations'\nimport { TfrModal } from './tfr-modal'\nimport { TfrCssVariables, TfrSizeRec } from './tfr-size-rec'\nimport * as types from './types'\n\nexport interface TfrHooks {\n onLoading?: () => void\n onLoadingComplete?: () => void\n onError?: (error: string) => void\n onVtoReady?: (frames: types.TryOnFrames) => void\n onLogin?: () => void\n onLogout?: () => void\n}\n\nexport class FittingRoom {\n private isLoggedIn: boolean = false\n\n public style: FirestoreStyleCategory\n\n public readonly tfrModal: TfrModal\n public readonly tfrSizeRec: TfrSizeRec\n private readonly vtoComponent: VtoComponent\n private readonly tfrShop: TfrShop\n private unsub: () => void = null\n\n constructor(\n private readonly shopId: string | number,\n modalDivId: string,\n sizeRecMainDivId: string,\n vtoMainDivId: string,\n private readonly hooks: TfrHooks = {},\n cssVariables: TfrCssVariables,\n _env?: string,\n ) {\n // prettier-ignore\n const env = _env\n ? _env\n : typeof process !== 'undefined'\n ? process.env.NODE_ENV\n : 'dev'\n\n console.log('tfr-env', env)\n\n this.tfrModal = new TfrModal(\n modalDivId,\n this.signIn.bind(this),\n this.forgotPassword.bind(this),\n this.submitTel.bind(this),\n )\n this.tfrShop = initShop(Number(this.shopId), env)\n this.tfrSizeRec = new TfrSizeRec(\n sizeRecMainDivId,\n cssVariables,\n this.tfrShop,\n this.onSignInClick.bind(this),\n this.signOut.bind(this),\n this.onFitInfoClick.bind(this),\n this.onTryOnClick.bind(this),\n )\n\n if (vtoMainDivId) this.vtoComponent = new VtoComponent(vtoMainDivId)\n }\n\n get shop() {\n return this.tfrShop\n }\n\n get sku() {\n return this.tfrSizeRec.sku\n }\n\n public async setSku(sku: string) {\n this.tfrSizeRec.setSku(sku)\n\n const style = await this.getStyle(this.sku)\n\n if (!style) {\n document.getElementById('tfr-size-recommendations').style.display = 'none'\n\n return\n }\n\n this.style = style\n\n if (!style.is_published) {\n document.getElementById('tfr-size-recommendations').style.display = 'none'\n console.log(`style ${style.id} is not published`)\n } else {\n console.log(`style ${style.id} is published`)\n }\n\n console.log(`style ${style.id} virtual try on is disabled`)\n\n if (style.is_vto) {\n document.getElementById('tfr-try-on-button')?.classList.remove('hide')\n } else {\n document.getElementById('tfr-try-on-button')?.classList.add('hide')\n }\n\n if (this.isLoggedIn) this.tfrSizeRec.recommendSize()\n else this.setGarmentLocations(style)\n }\n\n public async onInit() {\n this.isLoggedIn = await this.tfrShop.onInit()\n this.tfrSizeRec.setIsLoggedIn(this.isLoggedIn)\n\n if (this.isLoggedIn) {\n if (this.hooks?.onLogin) this.hooks.onLogin()\n\n this.subscribeToProfileChanges()\n } else {\n if (this.hooks?.onLogout) this.hooks.onLogout()\n\n this.unsubscribeFromProfileChanges()\n }\n\n return this.isLoggedIn\n }\n\n public close() {\n this.tfrModal.close()\n }\n\n public async signOut() {\n await this.tfrShop.user.logout()\n\n if (this.hooks?.onLogout) this.hooks.onLogout()\n\n this.isLoggedIn = false\n this.tfrSizeRec.setIsLoggedIn(false)\n this.setGarmentLocations(this.style)\n this.unsubscribeFromProfileChanges()\n }\n\n public async signIn(username: string, password: string, validationError: (message: string) => void) {\n if (username.length == 0 || password.length == 0) return validationError(L.UsernameOrPasswordEmpty)\n if (!validateEmail(username)) return validationError(L.EmailError)\n if (!validatePassword(password)) return validationError(L.PasswordError)\n\n try {\n await this.tfrShop.user.login(username, password)\n\n if (this.hooks?.onLogin) this.hooks.onLogin()\n this.tfrModal.close()\n\n this.isLoggedIn = true\n this.tfrSizeRec.setIsLoggedIn(true)\n\n this.tfrSizeRec.recommendSize()\n this.subscribeToProfileChanges()\n } catch (e) {\n return validationError(L.UsernameOrPasswordIncorrect)\n }\n }\n\n public setBrandUserId(brandUserId: string | number) {\n this.tfrShop.user.setBrandUserId(brandUserId)\n }\n\n public async submitTel(tel: string) {\n try {\n await this.tfrShop.submitTelephoneNumber(tel)\n this.tfrModal.toSignIn()\n } catch {\n this.tfrModal.onError(L.SomethingWentWrong)\n }\n }\n\n public async forgotPassword(email: string) {\n await this.tfrShop.user.sendPasswordResetEmail(email)\n\n this.tfrModal.toSignIn()\n }\n\n public async passwordReset(code: string, newPassword: string) {\n await this.tfrShop.user.confirmPasswordReset(code, newPassword)\n\n this.tfrModal.toPasswordReset()\n }\n\n public async getMeasurementLocationsFromSku(sku: string) {\n return this.tfrShop.getMeasurementLocationsFromSku(sku)\n }\n\n public onSignInClick() {\n this.tfrModal.toScan()\n }\n\n public onFitInfoClick() {\n this.tfrModal.toFitInfo()\n }\n\n public async onTryOnClick(styleId: number, sizeId: number, shouldDisplay: boolean = true) {\n if (!this.vtoComponent)\n return console.error('VtoComponent is not initialized. Please check if the vtoMainDivId is correct.')\n\n const frames = await this.shop.tryOn(styleId, sizeId)\n\n if (shouldDisplay) {\n try {\n this.vtoComponent.init()\n this.vtoComponent.onNewFramesReady(frames)\n } catch (e) {\n console.error('Error initializing VTO:', e)\n this.tfrModal.onError(L.SomethingWentWrong)\n }\n }\n }\n\n private onUserProfileChange(userProfile: ShopTypes.FirestoreUser) {\n switch (userProfile.avatar_status as types.AvatarState) {\n case types.AvatarState.NOT_CREATED:\n if (this.hooks?.onError) this.hooks.onError(L.DontHaveAvatar)\n this.tfrModal.onNotCreated()\n break\n\n case types.AvatarState.PENDING:\n if (this.hooks?.onLoading) this.hooks.onLoading()\n break\n\n case types.AvatarState.CREATED:\n if (this.hooks?.onLoadingComplete) this.hooks.onLoadingComplete()\n break\n\n default:\n if (this.hooks?.onError) this.hooks.onError(L.SomethingWentWrong)\n this.tfrModal.onError(L.SomethingWentWrong)\n break\n }\n }\n\n private subscribeToProfileChanges() {\n if (this.unsub) return\n\n this.unsub = this.tfrShop.user.watchUserProfileForChanges((userProfile) => this.onUserProfileChange(userProfile))\n }\n\n private unsubscribeFromProfileChanges() {\n if (!this.unsub) return\n\n this.unsub()\n this.unsub = null\n }\n\n private async setGarmentLocations(style: FirestoreStyleCategory) {\n const filledLocations =\n style?.sizes?.[0]?.garment_measurements.map((measurement) => measurement.measurement_location) || ([] as string[])\n\n this.tfrSizeRec.setGarmentLocations(filledLocations)\n }\n\n private async getStyle(brandStyleIdOrSku: string) {\n try {\n const colorwaySizeAsset = await this.tfrShop.getColorwaySizeAssetFromSku(brandStyleIdOrSku)\n const style = await this.tfrShop.getStyle(colorwaySizeAsset.style_id)\n\n return style\n } catch (e) {\n try {\n const style = await this.tfrShop.getStyleByBrandStyleId(brandStyleIdOrSku)\n\n return style\n } catch (e2) {\n return null\n }\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../node_modules/typescript/lib/lib.esnext.float16.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/tslib/tslib.d.ts","../src/components/slider.ts","../node_modules/@thefittingroom/sdk/dist/esm/api/requests.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/api/responses.d.ts","../node_modules/@firebase/component/dist/src/provider.d.ts","../node_modules/@firebase/component/dist/src/component_container.d.ts","../node_modules/@firebase/component/dist/src/types.d.ts","../node_modules/@firebase/component/dist/src/component.d.ts","../node_modules/@firebase/component/dist/index.d.ts","../node_modules/@firebase/util/dist/util-public.d.ts","../node_modules/@firebase/logger/dist/src/logger.d.ts","../node_modules/@firebase/logger/dist/index.d.ts","../node_modules/@firebase/app/dist/app-public.d.ts","../node_modules/@firebase/firestore/dist/index.d.ts","../node_modules/firebase/firestore/dist/firestore/index.d.ts","../node_modules/firebase/app/dist/app/index.d.ts","../node_modules/@firebase/auth/dist/auth-public.d.ts","../node_modules/firebase/auth/dist/auth/index.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/types/measurement.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/types/index.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/firebase/firebase-user.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/firebase/firebase.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/api/shop.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/helpers/errors.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/index.d.ts","../src/components/vto.ts","../src/components/uierror.ts","../src/components/locale.ts","../src/helpers/validations.ts","../src/styles/index.ts","../src/types/index.ts","../src/components/modals/errormodal.ts","../src/components/svgs.ts","../src/components/modals/fitmodal.ts","../src/components/modals/forgotpasswordmodal.ts","../src/components/modals/loadingavatarmodal.ts","../src/components/modals/loggedoutmodal.ts","../src/components/modals/modalmanager.ts","../src/components/modals/noavatarmodal.ts","../src/components/modals/resetlinkmodal.ts","../src/components/modals/scancodemodal.ts","../src/components/modals/signinmodal.ts","../src/components/modals/sizeerrormodal.ts","../src/components/modals/tryonmodal.ts","../src/components/index.ts","../src/tfr-modal.ts","../src/components/sizerec.ts","../src/tfr-size-rec.ts","../src/tfr.ts","../src/init.ts","../src/index.ts","../src/helpers/telephone.ts","../node_modules/@types/node/compatibility/iterators.d.ts","../node_modules/@types/node/globals.typedarray.d.ts","../node_modules/@types/node/buffer.buffer.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/web-globals/abortcontroller.d.ts","../node_modules/@types/node/web-globals/domexception.d.ts","../node_modules/@types/node/web-globals/events.d.ts","../node_modules/undici-types/utility.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client-stats.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/h2c-client.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-call-history.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/env-http-proxy-agent.d.ts","../node_modules/undici-types/retry-handler.d.ts","../node_modules/undici-types/retry-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/cache-interceptor.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/util.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/eventsource.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/web-globals/fetch.d.ts","../node_modules/@types/node/web-globals/navigator.d.ts","../node_modules/@types/node/web-globals/storage.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/sea.d.ts","../node_modules/@types/node/sqlite.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/index.d.ts"],"fileIdsList":[[57,58,60,103,154],[58,61,103,154],[53,54,55,56,103,154],[55,103,154],[53,55,56,103,154],[54,55,56,103,154],[54,103,154],[58,60,61,103,154],[59,103,154],[103,154],[52,68,70,73,103,154],[63,64,66,68,103,154],[63,69,103,154],[51,52,68,69,70,71,72,103,154],[67,103,154],[103,151,154],[103,153,154],[154],[103,154,159,188],[103,154,155,160,165,173,185,196],[103,154,155,156,165,173],[103,154,157,197],[103,154,158,159,166,174],[103,154,159,185,193],[103,154,160,162,165,173],[103,153,154,161],[103,154,162,163],[103,154,164,165],[103,153,154,165],[103,154,165,166,167,185,196],[103,154,165,166,167,180,185,188],[103,147,154,162,165,168,173,185,196],[103,154,165,166,168,169,173,185,193,196],[103,154,168,170,185,193,196],[101,102,103,104,105,106,107,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],[103,154,165,171],[103,154,172,196],[103,154,162,165,173,185],[103,154,174],[103,154,175],[103,153,154,176],[103,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],[103,154,178],[103,154,179],[103,154,165,180,181],[103,154,180,182,197,199],[103,154,165,185,186,188],[103,154,187,188],[103,154,185,186],[103,154,188],[103,154,189],[103,151,154,185,190],[103,154,165,191,192],[103,154,191,192],[103,154,159,173,185,193],[103,154,194],[103,154,173,195],[103,154,168,179,196],[103,154,159,197],[103,154,185,198],[103,154,172,199],[103,154,200],[103,147,154],[103,154,165,167,176,185,188,196,198,199,201],[103,154,185,202],[61,103,154],[65,103,154],[62,103,154],[103,114,117,120,121,154,196],[103,117,154,185,196],[103,117,121,154,196],[103,154,185],[103,111,154],[103,115,154],[103,113,114,117,154,196],[103,154,173,193],[103,154,203],[103,111,154,203],[103,113,117,154,173,196],[103,108,109,110,112,116,154,165,185,196],[103,117,125,154],[103,109,115,154],[103,117,141,142,154],[103,109,112,117,154,188,196,203],[103,117,154],[103,113,117,154,196],[103,108,154],[103,111,112,113,115,116,117,118,119,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,142,143,144,145,146,154],[103,117,134,137,154,162],[103,117,125,126,127,154],[103,115,117,126,128,154],[103,116,154],[103,109,111,117,154],[103,117,121,126,128,154],[103,121,154],[103,115,117,120,154,196],[103,109,113,117,125,154],[103,117,134,154],[103,111,117,141,154,188,201,203],[49,50,78,80,82,83,84,85,86,87,88,89,90,91,92,103,154],[49,75,103,154],[49,76,79,103,154],[49,79,81,103,154],[49,50,79,103,154],[49,81,103,154],[49,103,154],[49,50,103,154],[49,50,97,98,103,154],[49,96,97,103,154],[49,79,93,103,154],[49,73,95,103,154],[49,68,73,74,76,77,79,94,96,103,154],[49,73,75,79,93,103,154]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"4245fee526a7d1754529d19227ecbf3be066ff79ebb6a380d78e41648f2f224d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},"34052f9cb56dcffe4466aa017842749694bd482d5ea197df7ee6c1e3e054f5e6",{"version":"d2656f2108b1abcc26f7c0b2fa667d18beddd7516ce09cff30e0afdd800d499e","impliedFormat":99},{"version":"36a8b576c02becda59132d5cd8d468bd8d787024618448ef7a52284f21b3028d","impliedFormat":99},{"version":"cdbd35458f506b843f280d695d192968af4b0f27db3d5c0707934d97e96dd88d","impliedFormat":1},{"version":"0d86e751cdf42541f9b0dc579f1fad78ba02c9b57104723187d942c53bd63092","impliedFormat":1},{"version":"dae32a2a0cc5be690082fc59bd4b16ab58fc400d8802dc3073657ff4e825c48a","impliedFormat":1},{"version":"654bbcc8726e2a7a684460eda9c7d25847716587b04a72e0b88e75d828aa3db1","impliedFormat":1},{"version":"5c252941b1299551ad4f3f44ef995ee7a79585aebe2c5318271297496f2611c6","impliedFormat":1},{"version":"ca862092adc2e7df5d8244e202db4a5479bee59299ed6620773040d5e843e780","impliedFormat":1},{"version":"84ab1b8202996d370d7580cd15c85fe5981c9fd8ce4e20019de7203c8e9b594e","impliedFormat":1},{"version":"b7b58b11be801068222c596659957f4defdeec281974feb02a28d9c9ea38cd51","impliedFormat":1},{"version":"403e071e95c87cff78762cb6d0b374f28a333fd63957d542953a93cde367675f","impliedFormat":1},{"version":"973d9c7b2064204601c4361d2ea007cfd7e0f767cb7138979f79a38cf4125964","impliedFormat":1},{"version":"7656a4096d1d60bdd81b8b1909afdf0aedb36a1d97b05edf71887d023dd59ea9","impliedFormat":1},{"version":"d488bd13a9d714f30014a5f8a8df1be6b11ae3411efa63ba6643af44749bc153","impliedFormat":1},{"version":"039917782bd9cdfb0be18c3ab57d7502657e2b24fe62b3621586ab3d13dd8ae8","impliedFormat":1},{"version":"898f97b7fab287b8dd26c0f8d91fafe17bec2578645a9741ce8242f3c70ae517","impliedFormat":1},{"version":"42ce8d5949b467e6bad2c42c2e400d9d6bad0f8184daa3d68d5a36966e2de662","impliedFormat":99},{"version":"84fb1b640ed3febfe24384587e89ca28aad9c4ec055dc65dc5949ab036471ac8","impliedFormat":99},{"version":"b59823c787ddaaa379514e6203d010f1aa467bf1b65ebeb994702399ec837331","impliedFormat":99},{"version":"959c861d6d5819c9e6febcce786b8042555cc59aab201c2ade032bf7e81809dc","impliedFormat":99},{"version":"eaf8ba38e8ff427a08dac15f38ee85989367735b59f95226b397f53fc325170b","impliedFormat":99},{"version":"27d1702fa986b7cb4f1089fe2b3e6eba897c3527b8f504a349bfdd59e79d25be","impliedFormat":99},{"version":"5fee5d036fddaf5b9b729e85071491d758e5c74f4491149dab17e4637cdc679a","impliedFormat":99},"81aea26fbaf6bd613bb6d911b3ca8515b7e253ad584c35731da6efd5d7a7bf72","51beffd52b90e83f58d060f799f481d2015e0e6074f5c8e910679a664ed3ba64","4d6a2026f6d0fb98e8abc4d825603d12add1e52d77508219bd46e2ef98b70ee9","39d8e5f9bbb1a638668f86b1397e1f104119d5084761693f6d717f13755fa604","28064f281ede6530f3ace9b485142e2334612ed9797930ba8368e08c6318034e","cc86ce089e88875a30999b8bde85f208c9022de3ef20c5994f027b73a852555c","659d153ca9f12f815b882df86c324bc65133f4d06f671aa13da332ec1a5da3da","ef8b1c4cb2bb5fd81e813535f10d532e4200e7356ff4f5ec25468e8c816bc9b9","f9c8078324653e846562df3527e9c1628cb4ea1fc5730615d450c1ba46acd0fe","fe28d1c8a996936cbfeb4d25d84badae931be633cfc4fccfb41aeef6559aa933","9fd1b3c382734e4c72db4283f99d3fd7aa7c191f04980615ff7266fd3b5b5054","f99d6ef20e22b6a4a86aa79a0438f5c6a395dfd3e64e15dc07d2b7482768e67d","eb7d20ba80c695b1ae56658102096e2ccfb3ae0288e2539a94c817e636144f32","282ba73007686c1f3c7e4b9dd4122be92bb28a42a13691b01563713032a5c155","4bf2403f91dc28f0814a4a6a056f806d92bb490b0ac74162b4453ac44ae41ca8","bc1db175815cbd63b485cc00e0f5c3f1d0dabadadd407a52abc6db5cceb65dea","b69c1d90917d45c0abff0b2da0f968fea506834157397542981b4eca887f7f43","a8c98f29fb3862d3c1098866caa074596fcc661aca022752a689abe063af9ba6","0e9f25c3c1d729fa1a0f02d3c2fbe208e8d381523e16d9f82716e70efca9e17d","764a3394c169ec66650fc53ed4f132a67f36b5bd1cd92056007779a444499e1f","9288e60c4126dbd8b7de57dd9fa275d7b8080d98421667cf004aa1bf182ae311","edd204acc65e3d0ea0605c661590599e32c0d147b2793b1b5bebfe0f518a95ec","949adf7543316f3e9b349576ddf4d464bdec2c2023b1ff6e091e2531ed1b1f29","2c34ff76d266ad3e8d4e2215cde84afd685211faa2b210cf6514fe1e0edc81b7","566ca36529432f86b55010a1f8012795776590a28363087ce0c88f0daf3fd720","968bfaf256c653530b59cc9a4872f0ee9b9c5274230362f0ddea4d071f6d00c8","2a40faa2b3af39ff83d1b64399ba45473546b8fbdbe935962b1396c6ddf4cbd4",{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0671b50bb99cc7ad46e9c68fa0e7f15ba4bc898b59c31a17ea4611fab5095da","affectsGlobalScope":true,"impliedFormat":1},{"version":"d802f0e6b5188646d307f070d83512e8eb94651858de8a82d1e47f60fb6da4e2","affectsGlobalScope":true,"impliedFormat":1},{"version":"aa83e100f0c74a06c9d24f40a096c9e9cc3c02704250d01541e22c0ae9264eda","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"456fa0c0ab68731564917642b977c71c3b7682240685b118652fb9253c9a6429","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"e525f9e67f5ddba7b5548430211cae2479070b70ef1fd93550c96c10529457bd","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"4bc0794175abedf989547e628949888c1085b1efcd93fc482bccd77ee27f8b7c","impliedFormat":1},{"version":"3c8e93af4d6ce21eb4c8d005ad6dc02e7b5e6781f429d52a35290210f495a674","impliedFormat":1},{"version":"2c9875466123715464539bfd69bcaccb8ff6f3e217809428e0d7bd6323416d01","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"33e981bf6376e939f99bd7f89abec757c64897d33c005036b9a10d9587d80187","impliedFormat":1},{"version":"6c8e442ba33b07892169a14f7757321e49ab0f1032d676d321a1fdab8a67d40c","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"1cd673d367293fc5cb31cd7bf03d598eb368e4f31f39cf2b908abbaf120ab85a","impliedFormat":1},{"version":"af13e99445f37022c730bfcafcdc1761e9382ce1ea02afb678e3130b01ce5676","impliedFormat":1},{"version":"3825bf209f1662dfd039010a27747b73d0ef379f79970b1d05601ec8e8a4249f","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"da52342062e70c77213e45107921100ba9f9b3a30dd019444cf349e5fb3470c4","impliedFormat":1},{"version":"e9ace91946385d29192766bf783b8460c7dbcbfc63284aa3c9cae6de5155c8bc","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"1e30c045732e7db8f7a82cf90b516ebe693d2f499ce2250a977ec0d12e44a529","impliedFormat":1},{"version":"84b736594d8760f43400202859cda55607663090a43445a078963031d47e25e7","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"78b29846349d4dfdd88bd6650cc5d2baaa67f2e89dc8a80c8e26ef7995386583","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"e38d4fdf79e1eadd92ed7844c331dbaa40f29f21541cfee4e1acff4db09cda33","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"7c10a32ae6f3962672e6869ee2c794e8055d8225ef35c91c0228e354b4e5d2d3","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"99f569b42ea7e7c5fe404b2848c0893f3e1a56e0547c1cd0f74d5dbb9a9de27e","impliedFormat":1},{"version":"830171b27c5fdf9bcbe4cf7d428fcf3ae2c67780fb7fbdccdf70d1623d938bc4","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"bbcfd9cd76d92c3ee70475270156755346c9086391e1b9cb643d072e0cf576b8","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"72c1f5e0a28e473026074817561d1bc9647909cf253c8d56c41d1df8d95b85f7","impliedFormat":1},{"version":"003ec918ec442c3a4db2c36dc0c9c766977ea1c8bcc1ca7c2085868727c3d3f6","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6310806c6aa3154773976dd083a15659d294700d9ad8f6b8a2e10c3dc461ff1","impliedFormat":1},{"version":"c4e8e8031808b158cfb5ac5c4b38d4a26659aec4b57b6a7e2ba0a141439c208c","impliedFormat":1},{"version":"2c91d8366ff2506296191c26fd97cc1990bab3ee22576275d28b654a21261a44","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"db39d9a16e4ddcd8a8f2b7b3292b362cc5392f92ad7ccd76f00bccf6838ac7de","affectsGlobalScope":true,"impliedFormat":1},{"version":"289e9894a4668c61b5ffed09e196c1f0c2f87ca81efcaebdf6357cfb198dac14","impliedFormat":1},{"version":"25a1105595236f09f5bce42398be9f9ededc8d538c258579ab662d509aa3b98e","impliedFormat":1},{"version":"5078cd62dbdf91ae8b1dc90b1384dec71a9c0932d62bdafb1a811d2a8e26bef2","impliedFormat":1},{"version":"a2e2bbde231b65c53c764c12313897ffdfb6c49183dd31823ee2405f2f7b5378","impliedFormat":1},{"version":"ad1cc0ed328f3f708771272021be61ab146b32ecf2b78f3224959ff1e2cd2a5c","impliedFormat":1},{"version":"62f572306e0b173cc5dfc4c583471151f16ef3779cf27ab96922c92ec82a3bc8","affectsGlobalScope":true,"impliedFormat":1},{"version":"622b67a408a881e15ab38043547563b9d29ca4b46f5b7a7e4a4fc3123d25d19f","impliedFormat":1},{"version":"2617f1d06b32c7b4dfd0a5c8bc7b5de69368ec56788c90f3d7f3e3d2f39f0253","impliedFormat":1},{"version":"bd8b644c5861b94926687618ec2c9e60ad054d334d6b7eb4517f23f53cb11f91","impliedFormat":1},{"version":"bcbabfaca3f6b8a76cb2739e57710daf70ab5c9479ab70f5351c9b4932abf6bd","impliedFormat":1},{"version":"77fced47f495f4ff29bb49c52c605c5e73cd9b47d50080133783032769a9d8a6","impliedFormat":1},{"version":"966dd0793b220e22344c944e0f15afafdc9b0c9201b6444ea0197cd176b96893","impliedFormat":1},{"version":"c54f0b30a787b3df16280f4675bd3d9d17bf983ae3cd40087409476bc50b922d","affectsGlobalScope":true,"impliedFormat":1},{"version":"0f5cda0282e1d18198e2887387eb2f026372ebc4e11c4e4516fef8a19ee4d514","impliedFormat":1},{"version":"e99b0e71f07128fc32583e88ccd509a1aaa9524c290efb2f48c22f9bf8ba83b1","impliedFormat":1},{"version":"76957a6d92b94b9e2852cf527fea32ad2dc0ef50f67fe2b14bd027c9ceef2d86","impliedFormat":1},{"version":"5e9f8c1e042b0f598a9be018fc8c3cb670fe579e9f2e18e3388b63327544fe16","affectsGlobalScope":true,"impliedFormat":1},{"version":"a8a99a5e6ed33c4a951b67cc1fd5b64fd6ad719f5747845c165ca12f6c21ba16","affectsGlobalScope":true,"impliedFormat":1},{"version":"a58a15da4c5ba3df60c910a043281256fa52d36a0fcdef9b9100c646282e88dd","impliedFormat":1},{"version":"b36beffbf8acdc3ebc58c8bb4b75574b31a2169869c70fc03f82895b93950a12","impliedFormat":1},{"version":"de263f0089aefbfd73c89562fb7254a7468b1f33b61839aafc3f035d60766cb4","impliedFormat":1},{"version":"70b57b5529051497e9f6482b76d91c0dcbb103d9ead8a0549f5bab8f65e5d031","impliedFormat":1},{"version":"8c81fd4a110490c43d7c578e8c6f69b3af01717189196899a6a44f93daa57a3a","impliedFormat":1},{"version":"1013eb2e2547ad8c100aca52ef9df8c3f209edee32bb387121bb3227f7c00088","impliedFormat":1},{"version":"e07c573ac1971ea89e2c56ff5fd096f6f7bba2e6dbcd5681d39257c8d954d4a8","impliedFormat":1},{"version":"363eedb495912790e867da6ff96e81bf792c8cfe386321e8163b71823a35719a","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"dba28a419aec76ed864ef43e5f577a5c99a010c32e5949fe4e17a4d57c58dd11","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea713aa14a670b1ea0fbaaca4fd204e645f71ca7653a834a8ec07ee889c45de6","impliedFormat":1},{"version":"07199a85560f473f37363d8f1300fac361cda2e954caf8a40221f83a6bfa7ade","impliedFormat":1},{"version":"9705cd157ffbb91c5cab48bdd2de5a437a372e63f870f8a8472e72ff634d47c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ae86f30d5d10e4f75ce8dcb6e1bd3a12ecec3d071a21e8f462c5c85c678efb41","impliedFormat":1},{"version":"982efeb2573605d4e6d5df4dc7e40846bda8b9e678e058fc99522ab6165c479e","impliedFormat":1},{"version":"e03460fe72b259f6d25ad029f085e4bedc3f90477da4401d8fbc1efa9793230e","impliedFormat":1},{"version":"4286a3a6619514fca656089aee160bb6f2e77f4dd53dc5a96b26a0b4fc778055","impliedFormat":1},{"version":"c9231cf03fd7e8cfd78307eecbd24ff3f0fa55d0f6d1108c4003c124d168adc4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2d5d50cd0667d9710d4d2f6e077cc4e0f9dc75e106cccaea59999b36873c5a0d","affectsGlobalScope":true,"impliedFormat":1},{"version":"784490137935e1e38c49b9289110e74a1622baf8a8907888dcbe9e476d7c5e44","impliedFormat":1},{"version":"42180b657831d1b8fead051698618b31da623fb71ff37f002cb9d932cfa775f1","impliedFormat":1},{"version":"4f98d6fb4fe7cbeaa04635c6eaa119d966285d4d39f0eb55b2654187b0b27446","impliedFormat":1},{"version":"f8529fe0645fd9af7441191a4961497cc7638f75a777a56248eac6a079bb275d","affectsGlobalScope":true,"impliedFormat":1},{"version":"4445f6ce6289c5b2220398138da23752fd84152c5c95bb8b58dedefc1758c036","impliedFormat":1},{"version":"c39866300d394f45f82d3352ecfc1649aa1d5a47decdc5c76708cde15251c43d","impliedFormat":1}],"root":[50,[74,100]],"options":{"declaration":false,"emitDeclarationOnly":false,"esModuleInterop":true,"importHelpers":true,"inlineSourceMap":false,"inlineSources":true,"module":99,"noEmitHelpers":true,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./esm","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"target":4},"referencedMap":[[61,1],[65,2],[57,3],[56,4],[54,5],[53,6],[55,7],[62,8],[60,9],[59,10],[58,10],[51,10],[52,10],[71,11],[69,12],[70,13],[72,10],[73,14],[68,15],[67,10],[151,16],[152,16],[153,17],[103,18],[154,19],[155,20],[156,21],[101,10],[157,22],[158,23],[159,24],[160,25],[161,26],[162,27],[163,27],[164,28],[165,29],[166,30],[167,31],[104,10],[102,10],[168,32],[169,33],[170,34],[203,35],[171,36],[172,37],[173,38],[174,39],[175,40],[176,41],[177,42],[178,43],[179,44],[180,45],[181,45],[182,46],[183,10],[184,10],[185,47],[187,48],[186,49],[188,50],[189,51],[190,52],[191,53],[192,54],[193,55],[194,56],[195,57],[196,58],[197,59],[198,60],[199,61],[200,62],[105,10],[106,10],[107,10],[148,63],[149,10],[150,10],[201,64],[202,65],[64,66],[66,67],[63,68],[49,10],[47,10],[48,10],[8,10],[10,10],[9,10],[2,10],[11,10],[12,10],[13,10],[14,10],[15,10],[16,10],[17,10],[18,10],[3,10],[19,10],[20,10],[4,10],[21,10],[25,10],[22,10],[23,10],[24,10],[26,10],[27,10],[28,10],[5,10],[29,10],[30,10],[31,10],[32,10],[6,10],[36,10],[33,10],[34,10],[35,10],[37,10],[7,10],[38,10],[43,10],[44,10],[39,10],[40,10],[41,10],[42,10],[1,10],[45,10],[46,10],[125,69],[136,70],[123,71],[137,72],[146,73],[114,74],[115,75],[113,76],[145,77],[140,78],[144,79],[117,80],[133,81],[116,82],[143,83],[111,84],[112,78],[118,85],[119,10],[124,86],[122,85],[109,87],[147,88],[138,89],[128,90],[127,85],[129,91],[131,92],[126,93],[130,94],[141,77],[120,95],[121,96],[132,97],[110,72],[135,98],[134,85],[139,10],[108,10],[142,99],[93,100],[76,101],[80,102],[82,103],[83,102],[84,102],[85,102],[86,102],[87,102],[88,102],[89,102],[90,102],[91,102],[92,104],[95,105],[50,106],[81,106],[75,106],[74,107],[100,106],[77,106],[99,108],[98,109],[78,106],[94,110],[96,111],[97,112],[79,113]],"semanticDiagnosticsPerFile":[[97,[{"start":2492,"length":6,"code":2339,"category":1,"messageText":"Property 'is_vto' does not exist on type 'FirestoreStyleCategory'."}]]],"version":"5.9.2"}
|
|
1
|
+
{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../node_modules/typescript/lib/lib.esnext.float16.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/tslib/tslib.d.ts","../src/components/slider.ts","../node_modules/@thefittingroom/sdk/dist/esm/api/requests.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/api/responses.d.ts","../node_modules/@firebase/component/dist/src/provider.d.ts","../node_modules/@firebase/component/dist/src/component_container.d.ts","../node_modules/@firebase/component/dist/src/types.d.ts","../node_modules/@firebase/component/dist/src/component.d.ts","../node_modules/@firebase/component/dist/index.d.ts","../node_modules/@firebase/util/dist/util-public.d.ts","../node_modules/@firebase/logger/dist/src/logger.d.ts","../node_modules/@firebase/logger/dist/index.d.ts","../node_modules/@firebase/app/dist/app-public.d.ts","../node_modules/@firebase/firestore/dist/index.d.ts","../node_modules/firebase/firestore/dist/firestore/index.d.ts","../node_modules/firebase/app/dist/app/index.d.ts","../node_modules/@firebase/auth/dist/auth-public.d.ts","../node_modules/firebase/auth/dist/auth/index.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/types/measurement.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/types/index.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/firebase/firebase-user.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/firebase/firebase.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/api/shop.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/helpers/errors.d.ts","../node_modules/@thefittingroom/sdk/dist/esm/index.d.ts","../src/components/vto.ts","../src/components/uierror.ts","../src/components/locale.ts","../src/helpers/validations.ts","../src/styles/index.ts","../src/types/index.ts","../src/components/modals/errormodal.ts","../src/components/svgs.ts","../src/components/modals/fitmodal.ts","../src/components/modals/forgotpasswordmodal.ts","../src/components/modals/loadingavatarmodal.ts","../src/components/modals/loggedoutmodal.ts","../src/components/modals/modalmanager.ts","../src/components/modals/noavatarmodal.ts","../src/components/modals/resetlinkmodal.ts","../src/components/modals/scancodemodal.ts","../src/components/modals/signinmodal.ts","../src/components/modals/sizeerrormodal.ts","../src/components/modals/tryonmodal.ts","../src/components/index.ts","../src/tfr-modal.ts","../src/components/sizerec.ts","../src/tfr-size-rec.ts","../src/tfr.ts","../src/init.ts","../src/index.ts","../src/helpers/telephone.ts","../node_modules/@types/node/compatibility/iterators.d.ts","../node_modules/@types/node/globals.typedarray.d.ts","../node_modules/@types/node/buffer.buffer.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/web-globals/abortcontroller.d.ts","../node_modules/@types/node/web-globals/domexception.d.ts","../node_modules/@types/node/web-globals/events.d.ts","../node_modules/undici-types/utility.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client-stats.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/h2c-client.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-call-history.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/env-http-proxy-agent.d.ts","../node_modules/undici-types/retry-handler.d.ts","../node_modules/undici-types/retry-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/cache-interceptor.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/util.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/eventsource.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/web-globals/fetch.d.ts","../node_modules/@types/node/web-globals/navigator.d.ts","../node_modules/@types/node/web-globals/storage.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/sea.d.ts","../node_modules/@types/node/sqlite.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/index.d.ts"],"fileIdsList":[[57,58,60,103,154],[58,61,103,154],[53,54,55,56,103,154],[55,103,154],[53,55,56,103,154],[54,55,56,103,154],[54,103,154],[58,60,61,103,154],[59,103,154],[103,154],[52,68,70,73,103,154],[63,64,66,68,103,154],[63,69,103,154],[51,52,68,69,70,71,72,103,154],[67,103,154],[103,151,154],[103,153,154],[154],[103,154,159,188],[103,154,155,160,165,173,185,196],[103,154,155,156,165,173],[103,154,157,197],[103,154,158,159,166,174],[103,154,159,185,193],[103,154,160,162,165,173],[103,153,154,161],[103,154,162,163],[103,154,164,165],[103,153,154,165],[103,154,165,166,167,185,196],[103,154,165,166,167,180,185,188],[103,147,154,162,165,168,173,185,196],[103,154,165,166,168,169,173,185,193,196],[103,154,168,170,185,193,196],[101,102,103,104,105,106,107,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],[103,154,165,171],[103,154,172,196],[103,154,162,165,173,185],[103,154,174],[103,154,175],[103,153,154,176],[103,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],[103,154,178],[103,154,179],[103,154,165,180,181],[103,154,180,182,197,199],[103,154,165,185,186,188],[103,154,187,188],[103,154,185,186],[103,154,188],[103,154,189],[103,151,154,185,190],[103,154,165,191,192],[103,154,191,192],[103,154,159,173,185,193],[103,154,194],[103,154,173,195],[103,154,168,179,196],[103,154,159,197],[103,154,185,198],[103,154,172,199],[103,154,200],[103,147,154],[103,154,165,167,176,185,188,196,198,199,201],[103,154,185,202],[61,103,154],[65,103,154],[62,103,154],[103,114,117,120,121,154,196],[103,117,154,185,196],[103,117,121,154,196],[103,154,185],[103,111,154],[103,115,154],[103,113,114,117,154,196],[103,154,173,193],[103,154,203],[103,111,154,203],[103,113,117,154,173,196],[103,108,109,110,112,116,154,165,185,196],[103,117,125,154],[103,109,115,154],[103,117,141,142,154],[103,109,112,117,154,188,196,203],[103,117,154],[103,113,117,154,196],[103,108,154],[103,111,112,113,115,116,117,118,119,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,142,143,144,145,146,154],[103,117,134,137,154,162],[103,117,125,126,127,154],[103,115,117,126,128,154],[103,116,154],[103,109,111,117,154],[103,117,121,126,128,154],[103,121,154],[103,115,117,120,154,196],[103,109,113,117,125,154],[103,117,134,154],[103,111,117,141,154,188,201,203],[49,50,78,80,82,83,84,85,86,87,88,89,90,91,92,103,154],[49,75,103,154],[49,76,79,103,154],[49,79,81,103,154],[49,50,79,103,154],[49,81,103,154],[49,103,154],[49,50,103,154],[49,50,97,98,103,154],[49,96,97,103,154],[49,79,93,103,154],[49,73,95,103,154],[49,68,73,74,76,77,79,94,96,103,154],[49,73,75,79,93,103,154]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"4245fee526a7d1754529d19227ecbf3be066ff79ebb6a380d78e41648f2f224d","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6a5253138c5432c68a1510c70fe78a644fe2e632111ba778e1978010d6edfec","impliedFormat":1},"34052f9cb56dcffe4466aa017842749694bd482d5ea197df7ee6c1e3e054f5e6",{"version":"d2656f2108b1abcc26f7c0b2fa667d18beddd7516ce09cff30e0afdd800d499e","impliedFormat":99},{"version":"36a8b576c02becda59132d5cd8d468bd8d787024618448ef7a52284f21b3028d","impliedFormat":99},{"version":"cdbd35458f506b843f280d695d192968af4b0f27db3d5c0707934d97e96dd88d","impliedFormat":1},{"version":"0d86e751cdf42541f9b0dc579f1fad78ba02c9b57104723187d942c53bd63092","impliedFormat":1},{"version":"dae32a2a0cc5be690082fc59bd4b16ab58fc400d8802dc3073657ff4e825c48a","impliedFormat":1},{"version":"654bbcc8726e2a7a684460eda9c7d25847716587b04a72e0b88e75d828aa3db1","impliedFormat":1},{"version":"5c252941b1299551ad4f3f44ef995ee7a79585aebe2c5318271297496f2611c6","impliedFormat":1},{"version":"ca862092adc2e7df5d8244e202db4a5479bee59299ed6620773040d5e843e780","impliedFormat":1},{"version":"84ab1b8202996d370d7580cd15c85fe5981c9fd8ce4e20019de7203c8e9b594e","impliedFormat":1},{"version":"b7b58b11be801068222c596659957f4defdeec281974feb02a28d9c9ea38cd51","impliedFormat":1},{"version":"403e071e95c87cff78762cb6d0b374f28a333fd63957d542953a93cde367675f","impliedFormat":1},{"version":"973d9c7b2064204601c4361d2ea007cfd7e0f767cb7138979f79a38cf4125964","impliedFormat":1},{"version":"7656a4096d1d60bdd81b8b1909afdf0aedb36a1d97b05edf71887d023dd59ea9","impliedFormat":1},{"version":"d488bd13a9d714f30014a5f8a8df1be6b11ae3411efa63ba6643af44749bc153","impliedFormat":1},{"version":"039917782bd9cdfb0be18c3ab57d7502657e2b24fe62b3621586ab3d13dd8ae8","impliedFormat":1},{"version":"898f97b7fab287b8dd26c0f8d91fafe17bec2578645a9741ce8242f3c70ae517","impliedFormat":1},{"version":"42ce8d5949b467e6bad2c42c2e400d9d6bad0f8184daa3d68d5a36966e2de662","impliedFormat":99},{"version":"84fb1b640ed3febfe24384587e89ca28aad9c4ec055dc65dc5949ab036471ac8","impliedFormat":99},{"version":"b59823c787ddaaa379514e6203d010f1aa467bf1b65ebeb994702399ec837331","impliedFormat":99},{"version":"959c861d6d5819c9e6febcce786b8042555cc59aab201c2ade032bf7e81809dc","impliedFormat":99},{"version":"eaf8ba38e8ff427a08dac15f38ee85989367735b59f95226b397f53fc325170b","impliedFormat":99},{"version":"27d1702fa986b7cb4f1089fe2b3e6eba897c3527b8f504a349bfdd59e79d25be","impliedFormat":99},{"version":"5fee5d036fddaf5b9b729e85071491d758e5c74f4491149dab17e4637cdc679a","impliedFormat":99},"81aea26fbaf6bd613bb6d911b3ca8515b7e253ad584c35731da6efd5d7a7bf72","51beffd52b90e83f58d060f799f481d2015e0e6074f5c8e910679a664ed3ba64","4d6a2026f6d0fb98e8abc4d825603d12add1e52d77508219bd46e2ef98b70ee9","39d8e5f9bbb1a638668f86b1397e1f104119d5084761693f6d717f13755fa604","28064f281ede6530f3ace9b485142e2334612ed9797930ba8368e08c6318034e","cc86ce089e88875a30999b8bde85f208c9022de3ef20c5994f027b73a852555c","659d153ca9f12f815b882df86c324bc65133f4d06f671aa13da332ec1a5da3da","ef8b1c4cb2bb5fd81e813535f10d532e4200e7356ff4f5ec25468e8c816bc9b9","f9c8078324653e846562df3527e9c1628cb4ea1fc5730615d450c1ba46acd0fe","fe28d1c8a996936cbfeb4d25d84badae931be633cfc4fccfb41aeef6559aa933","9fd1b3c382734e4c72db4283f99d3fd7aa7c191f04980615ff7266fd3b5b5054","f99d6ef20e22b6a4a86aa79a0438f5c6a395dfd3e64e15dc07d2b7482768e67d","eb7d20ba80c695b1ae56658102096e2ccfb3ae0288e2539a94c817e636144f32","282ba73007686c1f3c7e4b9dd4122be92bb28a42a13691b01563713032a5c155","4bf2403f91dc28f0814a4a6a056f806d92bb490b0ac74162b4453ac44ae41ca8","bc1db175815cbd63b485cc00e0f5c3f1d0dabadadd407a52abc6db5cceb65dea","b69c1d90917d45c0abff0b2da0f968fea506834157397542981b4eca887f7f43","a8c98f29fb3862d3c1098866caa074596fcc661aca022752a689abe063af9ba6","0e9f25c3c1d729fa1a0f02d3c2fbe208e8d381523e16d9f82716e70efca9e17d","764a3394c169ec66650fc53ed4f132a67f36b5bd1cd92056007779a444499e1f","9288e60c4126dbd8b7de57dd9fa275d7b8080d98421667cf004aa1bf182ae311","edd204acc65e3d0ea0605c661590599e32c0d147b2793b1b5bebfe0f518a95ec","949adf7543316f3e9b349576ddf4d464bdec2c2023b1ff6e091e2531ed1b1f29","76daa983a1b9cb6303b2c4816163887693e9bd60f826f0ec7d1f0e7497de62d8","566ca36529432f86b55010a1f8012795776590a28363087ce0c88f0daf3fd720","968bfaf256c653530b59cc9a4872f0ee9b9c5274230362f0ddea4d071f6d00c8","2a40faa2b3af39ff83d1b64399ba45473546b8fbdbe935962b1396c6ddf4cbd4",{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0671b50bb99cc7ad46e9c68fa0e7f15ba4bc898b59c31a17ea4611fab5095da","affectsGlobalScope":true,"impliedFormat":1},{"version":"d802f0e6b5188646d307f070d83512e8eb94651858de8a82d1e47f60fb6da4e2","affectsGlobalScope":true,"impliedFormat":1},{"version":"aa83e100f0c74a06c9d24f40a096c9e9cc3c02704250d01541e22c0ae9264eda","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"456fa0c0ab68731564917642b977c71c3b7682240685b118652fb9253c9a6429","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"e525f9e67f5ddba7b5548430211cae2479070b70ef1fd93550c96c10529457bd","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"4bc0794175abedf989547e628949888c1085b1efcd93fc482bccd77ee27f8b7c","impliedFormat":1},{"version":"3c8e93af4d6ce21eb4c8d005ad6dc02e7b5e6781f429d52a35290210f495a674","impliedFormat":1},{"version":"2c9875466123715464539bfd69bcaccb8ff6f3e217809428e0d7bd6323416d01","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"33e981bf6376e939f99bd7f89abec757c64897d33c005036b9a10d9587d80187","impliedFormat":1},{"version":"6c8e442ba33b07892169a14f7757321e49ab0f1032d676d321a1fdab8a67d40c","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"1cd673d367293fc5cb31cd7bf03d598eb368e4f31f39cf2b908abbaf120ab85a","impliedFormat":1},{"version":"af13e99445f37022c730bfcafcdc1761e9382ce1ea02afb678e3130b01ce5676","impliedFormat":1},{"version":"3825bf209f1662dfd039010a27747b73d0ef379f79970b1d05601ec8e8a4249f","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"da52342062e70c77213e45107921100ba9f9b3a30dd019444cf349e5fb3470c4","impliedFormat":1},{"version":"e9ace91946385d29192766bf783b8460c7dbcbfc63284aa3c9cae6de5155c8bc","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"1e30c045732e7db8f7a82cf90b516ebe693d2f499ce2250a977ec0d12e44a529","impliedFormat":1},{"version":"84b736594d8760f43400202859cda55607663090a43445a078963031d47e25e7","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"78b29846349d4dfdd88bd6650cc5d2baaa67f2e89dc8a80c8e26ef7995386583","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"e38d4fdf79e1eadd92ed7844c331dbaa40f29f21541cfee4e1acff4db09cda33","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"7c10a32ae6f3962672e6869ee2c794e8055d8225ef35c91c0228e354b4e5d2d3","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"99f569b42ea7e7c5fe404b2848c0893f3e1a56e0547c1cd0f74d5dbb9a9de27e","impliedFormat":1},{"version":"830171b27c5fdf9bcbe4cf7d428fcf3ae2c67780fb7fbdccdf70d1623d938bc4","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"bbcfd9cd76d92c3ee70475270156755346c9086391e1b9cb643d072e0cf576b8","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"72c1f5e0a28e473026074817561d1bc9647909cf253c8d56c41d1df8d95b85f7","impliedFormat":1},{"version":"003ec918ec442c3a4db2c36dc0c9c766977ea1c8bcc1ca7c2085868727c3d3f6","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6310806c6aa3154773976dd083a15659d294700d9ad8f6b8a2e10c3dc461ff1","impliedFormat":1},{"version":"c4e8e8031808b158cfb5ac5c4b38d4a26659aec4b57b6a7e2ba0a141439c208c","impliedFormat":1},{"version":"2c91d8366ff2506296191c26fd97cc1990bab3ee22576275d28b654a21261a44","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"db39d9a16e4ddcd8a8f2b7b3292b362cc5392f92ad7ccd76f00bccf6838ac7de","affectsGlobalScope":true,"impliedFormat":1},{"version":"289e9894a4668c61b5ffed09e196c1f0c2f87ca81efcaebdf6357cfb198dac14","impliedFormat":1},{"version":"25a1105595236f09f5bce42398be9f9ededc8d538c258579ab662d509aa3b98e","impliedFormat":1},{"version":"5078cd62dbdf91ae8b1dc90b1384dec71a9c0932d62bdafb1a811d2a8e26bef2","impliedFormat":1},{"version":"a2e2bbde231b65c53c764c12313897ffdfb6c49183dd31823ee2405f2f7b5378","impliedFormat":1},{"version":"ad1cc0ed328f3f708771272021be61ab146b32ecf2b78f3224959ff1e2cd2a5c","impliedFormat":1},{"version":"62f572306e0b173cc5dfc4c583471151f16ef3779cf27ab96922c92ec82a3bc8","affectsGlobalScope":true,"impliedFormat":1},{"version":"622b67a408a881e15ab38043547563b9d29ca4b46f5b7a7e4a4fc3123d25d19f","impliedFormat":1},{"version":"2617f1d06b32c7b4dfd0a5c8bc7b5de69368ec56788c90f3d7f3e3d2f39f0253","impliedFormat":1},{"version":"bd8b644c5861b94926687618ec2c9e60ad054d334d6b7eb4517f23f53cb11f91","impliedFormat":1},{"version":"bcbabfaca3f6b8a76cb2739e57710daf70ab5c9479ab70f5351c9b4932abf6bd","impliedFormat":1},{"version":"77fced47f495f4ff29bb49c52c605c5e73cd9b47d50080133783032769a9d8a6","impliedFormat":1},{"version":"966dd0793b220e22344c944e0f15afafdc9b0c9201b6444ea0197cd176b96893","impliedFormat":1},{"version":"c54f0b30a787b3df16280f4675bd3d9d17bf983ae3cd40087409476bc50b922d","affectsGlobalScope":true,"impliedFormat":1},{"version":"0f5cda0282e1d18198e2887387eb2f026372ebc4e11c4e4516fef8a19ee4d514","impliedFormat":1},{"version":"e99b0e71f07128fc32583e88ccd509a1aaa9524c290efb2f48c22f9bf8ba83b1","impliedFormat":1},{"version":"76957a6d92b94b9e2852cf527fea32ad2dc0ef50f67fe2b14bd027c9ceef2d86","impliedFormat":1},{"version":"5e9f8c1e042b0f598a9be018fc8c3cb670fe579e9f2e18e3388b63327544fe16","affectsGlobalScope":true,"impliedFormat":1},{"version":"a8a99a5e6ed33c4a951b67cc1fd5b64fd6ad719f5747845c165ca12f6c21ba16","affectsGlobalScope":true,"impliedFormat":1},{"version":"a58a15da4c5ba3df60c910a043281256fa52d36a0fcdef9b9100c646282e88dd","impliedFormat":1},{"version":"b36beffbf8acdc3ebc58c8bb4b75574b31a2169869c70fc03f82895b93950a12","impliedFormat":1},{"version":"de263f0089aefbfd73c89562fb7254a7468b1f33b61839aafc3f035d60766cb4","impliedFormat":1},{"version":"70b57b5529051497e9f6482b76d91c0dcbb103d9ead8a0549f5bab8f65e5d031","impliedFormat":1},{"version":"8c81fd4a110490c43d7c578e8c6f69b3af01717189196899a6a44f93daa57a3a","impliedFormat":1},{"version":"1013eb2e2547ad8c100aca52ef9df8c3f209edee32bb387121bb3227f7c00088","impliedFormat":1},{"version":"e07c573ac1971ea89e2c56ff5fd096f6f7bba2e6dbcd5681d39257c8d954d4a8","impliedFormat":1},{"version":"363eedb495912790e867da6ff96e81bf792c8cfe386321e8163b71823a35719a","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093","impliedFormat":1},{"version":"dba28a419aec76ed864ef43e5f577a5c99a010c32e5949fe4e17a4d57c58dd11","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea713aa14a670b1ea0fbaaca4fd204e645f71ca7653a834a8ec07ee889c45de6","impliedFormat":1},{"version":"07199a85560f473f37363d8f1300fac361cda2e954caf8a40221f83a6bfa7ade","impliedFormat":1},{"version":"9705cd157ffbb91c5cab48bdd2de5a437a372e63f870f8a8472e72ff634d47c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ae86f30d5d10e4f75ce8dcb6e1bd3a12ecec3d071a21e8f462c5c85c678efb41","impliedFormat":1},{"version":"982efeb2573605d4e6d5df4dc7e40846bda8b9e678e058fc99522ab6165c479e","impliedFormat":1},{"version":"e03460fe72b259f6d25ad029f085e4bedc3f90477da4401d8fbc1efa9793230e","impliedFormat":1},{"version":"4286a3a6619514fca656089aee160bb6f2e77f4dd53dc5a96b26a0b4fc778055","impliedFormat":1},{"version":"c9231cf03fd7e8cfd78307eecbd24ff3f0fa55d0f6d1108c4003c124d168adc4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2d5d50cd0667d9710d4d2f6e077cc4e0f9dc75e106cccaea59999b36873c5a0d","affectsGlobalScope":true,"impliedFormat":1},{"version":"784490137935e1e38c49b9289110e74a1622baf8a8907888dcbe9e476d7c5e44","impliedFormat":1},{"version":"42180b657831d1b8fead051698618b31da623fb71ff37f002cb9d932cfa775f1","impliedFormat":1},{"version":"4f98d6fb4fe7cbeaa04635c6eaa119d966285d4d39f0eb55b2654187b0b27446","impliedFormat":1},{"version":"f8529fe0645fd9af7441191a4961497cc7638f75a777a56248eac6a079bb275d","affectsGlobalScope":true,"impliedFormat":1},{"version":"4445f6ce6289c5b2220398138da23752fd84152c5c95bb8b58dedefc1758c036","impliedFormat":1},{"version":"c39866300d394f45f82d3352ecfc1649aa1d5a47decdc5c76708cde15251c43d","impliedFormat":1}],"root":[50,[74,100]],"options":{"declaration":false,"emitDeclarationOnly":false,"esModuleInterop":true,"importHelpers":true,"inlineSourceMap":false,"inlineSources":true,"module":99,"noEmitHelpers":true,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./esm","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"target":4},"referencedMap":[[61,1],[65,2],[57,3],[56,4],[54,5],[53,6],[55,7],[62,8],[60,9],[59,10],[58,10],[51,10],[52,10],[71,11],[69,12],[70,13],[72,10],[73,14],[68,15],[67,10],[151,16],[152,16],[153,17],[103,18],[154,19],[155,20],[156,21],[101,10],[157,22],[158,23],[159,24],[160,25],[161,26],[162,27],[163,27],[164,28],[165,29],[166,30],[167,31],[104,10],[102,10],[168,32],[169,33],[170,34],[203,35],[171,36],[172,37],[173,38],[174,39],[175,40],[176,41],[177,42],[178,43],[179,44],[180,45],[181,45],[182,46],[183,10],[184,10],[185,47],[187,48],[186,49],[188,50],[189,51],[190,52],[191,53],[192,54],[193,55],[194,56],[195,57],[196,58],[197,59],[198,60],[199,61],[200,62],[105,10],[106,10],[107,10],[148,63],[149,10],[150,10],[201,64],[202,65],[64,66],[66,67],[63,68],[49,10],[47,10],[48,10],[8,10],[10,10],[9,10],[2,10],[11,10],[12,10],[13,10],[14,10],[15,10],[16,10],[17,10],[18,10],[3,10],[19,10],[20,10],[4,10],[21,10],[25,10],[22,10],[23,10],[24,10],[26,10],[27,10],[28,10],[5,10],[29,10],[30,10],[31,10],[32,10],[6,10],[36,10],[33,10],[34,10],[35,10],[37,10],[7,10],[38,10],[43,10],[44,10],[39,10],[40,10],[41,10],[42,10],[1,10],[45,10],[46,10],[125,69],[136,70],[123,71],[137,72],[146,73],[114,74],[115,75],[113,76],[145,77],[140,78],[144,79],[117,80],[133,81],[116,82],[143,83],[111,84],[112,78],[118,85],[119,10],[124,86],[122,85],[109,87],[147,88],[138,89],[128,90],[127,85],[129,91],[131,92],[126,93],[130,94],[141,77],[120,95],[121,96],[132,97],[110,72],[135,98],[134,85],[139,10],[108,10],[142,99],[93,100],[76,101],[80,102],[82,103],[83,102],[84,102],[85,102],[86,102],[87,102],[88,102],[89,102],[90,102],[91,102],[92,104],[95,105],[50,106],[81,106],[75,106],[74,107],[100,106],[77,106],[99,108],[98,109],[78,106],[94,110],[96,111],[97,112],[79,113]],"semanticDiagnosticsPerFile":[[97,[{"start":2611,"length":6,"code":2339,"category":1,"messageText":"Property 'is_vto' does not exist on type 'FirestoreStyleCategory'."}]]],"version":"5.9.2"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* thefittingroom v3.2.
|
|
2
|
+
* thefittingroom v3.2.2 (2025-09-09T16:44:32.203Z)
|
|
3
3
|
* Copyright 2022-present, TheFittingRoom, Inc. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
function loadImageRecursive(imageURL, imageURLs) {
|
|
@@ -27965,6 +27965,10 @@ class FittingRoom {
|
|
|
27965
27965
|
var _a, _b;
|
|
27966
27966
|
this.tfrSizeRec.setSku(sku);
|
|
27967
27967
|
const style = await this.getStyle(this.sku);
|
|
27968
|
+
if (!style) {
|
|
27969
|
+
document.getElementById('tfr-size-recommendations').style.display = 'none';
|
|
27970
|
+
return;
|
|
27971
|
+
}
|
|
27968
27972
|
this.style = style;
|
|
27969
27973
|
if (!style.is_published) {
|
|
27970
27974
|
document.getElementById('tfr-size-recommendations').style.display = 'none';
|
|
@@ -27975,10 +27979,10 @@ class FittingRoom {
|
|
|
27975
27979
|
}
|
|
27976
27980
|
console.log(`style ${style.id} virtual try on is disabled`);
|
|
27977
27981
|
if (style.is_vto) {
|
|
27978
|
-
(_a = document.getElementById('tfr-try-on-button')) === null || _a === void 0 ? void 0 : _a.classList.remove(
|
|
27982
|
+
(_a = document.getElementById('tfr-try-on-button')) === null || _a === void 0 ? void 0 : _a.classList.remove('hide');
|
|
27979
27983
|
}
|
|
27980
27984
|
else {
|
|
27981
|
-
(_b = document.getElementById('tfr-try-on-button')) === null || _b === void 0 ? void 0 : _b.classList.add(
|
|
27985
|
+
(_b = document.getElementById('tfr-try-on-button')) === null || _b === void 0 ? void 0 : _b.classList.add('hide');
|
|
27982
27986
|
}
|
|
27983
27987
|
if (this.isLoggedIn)
|
|
27984
27988
|
this.tfrSizeRec.recommendSize();
|