favesalon-embed 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/dist/custom-elements/index.d.ts +6 -0
  2. package/dist/{cjs/_commonjsHelpers-5cfcba41.js → favesalon-embed/_commonjsHelpers-a4f66ccd.js} +14 -6
  3. package/dist/favesalon-embed/app-globals-74127f4b.js +7 -0
  4. package/dist/favesalon-embed/chat-box.entry.js +55 -0
  5. package/dist/{esm → favesalon-embed}/chat-button.entry.js +4 -4
  6. package/dist/favesalon-embed/chat-form.entry.js +39 -0
  7. package/dist/favesalon-embed/chat-messages.entry.js +71 -0
  8. package/dist/favesalon-embed/chat-rooms.entry.js +111 -0
  9. package/dist/favesalon-embed/css-shim-b7d3d95f.js +4 -0
  10. package/dist/favesalon-embed/dom-64053c71.js +73 -0
  11. package/dist/favesalon-embed/favesalon-embed.css +114 -1
  12. package/dist/favesalon-embed/favesalon-embed.esm.js +148 -1
  13. package/dist/{esm → favesalon-embed}/google-map.entry.js +1 -1
  14. package/dist/{esm/index-a1c7583c.js → favesalon-embed/index-00b83e1c.js} +425 -15
  15. package/dist/favesalon-embed/index-888e99e3.js +3371 -0
  16. package/dist/favesalon-embed/index.esm.js +1 -0
  17. package/dist/{esm/chat-box_5.entry.js → favesalon-embed/lodash-d5526b38.js} +27 -243
  18. package/dist/{cjs/chat-button.cjs.entry.js → favesalon-embed/notify-sounds.entry.js} +20 -44
  19. package/dist/favesalon-embed/relativeTime-268e64b0.js +7 -0
  20. package/dist/{esm → favesalon-embed}/salon-booking-modal.entry.js +1 -1
  21. package/dist/{esm → favesalon-embed}/salon-booking.entry.js +3 -3
  22. package/dist/{esm → favesalon-embed}/salon-gift-card-modal.entry.js +1 -1
  23. package/dist/{esm → favesalon-embed}/salon-gift-card.entry.js +3 -3
  24. package/dist/{esm → favesalon-embed}/salon-info.entry.js +3 -3
  25. package/dist/{esm → favesalon-embed}/salon-latest-reviews.entry.js +4 -4
  26. package/dist/{collection/components/salon-latest-styles/index.js → favesalon-embed/salon-latest-styles.entry.js} +14 -99
  27. package/dist/{collection/components/salon-locations/index.js → favesalon-embed/salon-locations.entry.js} +15 -95
  28. package/dist/{esm → favesalon-embed}/salon-lookbook.entry.js +3 -3
  29. package/dist/{esm → favesalon-embed}/salon-ranking.entry.js +1 -1
  30. package/dist/{esm → favesalon-embed}/salon-reviews.entry.js +3 -3
  31. package/dist/{collection/components/salon-schedules/index.js → favesalon-embed/salon-schedules.entry.js} +14 -95
  32. package/dist/{esm → favesalon-embed}/salon-services.entry.js +3 -3
  33. package/dist/{esm → favesalon-embed}/salon-stylists.entry.js +3 -3
  34. package/dist/favesalon-embed/services-122dcf73.js +23886 -0
  35. package/dist/{cjs/services-d1bdf299.js → favesalon-embed/services-23eda072.js} +2487 -104
  36. package/dist/favesalon-embed/services-243eef47.js +23880 -0
  37. package/dist/favesalon-embed/services-260ea6eb.js +23883 -0
  38. package/dist/favesalon-embed/services-27607998.js +23886 -0
  39. package/dist/{esm/services-257442e2.js → favesalon-embed/services-46b2f0aa.js} +2482 -101
  40. package/dist/favesalon-embed/services-65a8cf4a.js +23887 -0
  41. package/dist/favesalon-embed/services-8f52210f.js +23880 -0
  42. package/dist/favesalon-embed/services-de32365e.js +23880 -0
  43. package/dist/favesalon-embed/services-e9cfcd2b.js +23885 -0
  44. package/dist/favesalon-embed/services-f7278483.js +23880 -0
  45. package/dist/favesalon-embed/services-f9872bea.js +23880 -0
  46. package/dist/favesalon-embed/shadow-css-98135883.js +387 -0
  47. package/dist/{esm → favesalon-embed}/style-detail.entry.js +4 -4
  48. package/dist/favesalon-embed/user-avatar.entry.js +50 -0
  49. package/dist/{esm/utils-e97485e0.js → favesalon-embed/utils-2c19db45.js} +6 -0
  50. package/dist/{collection/utils/utils.js → favesalon-embed/utils-89c2cff2.js} +14 -5
  51. package/dist/{cjs/utils-c5a33b3c.js → favesalon-embed/utils-e226fa04.js} +14 -5
  52. package/dist/favesalon-embed/utils-fd30fb29.js +32 -0
  53. package/dist/types/components/chat-box/index.d.ts +1 -0
  54. package/dist/types/components/chat-button/notify-sounds.d.ts +5 -0
  55. package/dist/types/components/chat-rooms/index.d.ts +6 -0
  56. package/dist/types/components.d.ts +21 -0
  57. package/dist/types/services/services.d.ts +1 -0
  58. package/dist/types/types/chat.d.ts +1 -0
  59. package/dist/types/types/user.d.ts +10 -0
  60. package/dist/types/utils/utils.d.ts +1 -0
  61. package/package.json +1 -1
  62. package/dist/cjs/chat-box_5.cjs.entry.js +0 -17439
  63. package/dist/cjs/colors-38421769.js +0 -69
  64. package/dist/cjs/favesalon-embed.cjs.js +0 -23
  65. package/dist/cjs/google-map.cjs.entry.js +0 -52
  66. package/dist/cjs/index-7f190886.js +0 -4396
  67. package/dist/cjs/index-dd8176c4.js +0 -1531
  68. package/dist/cjs/index.cjs.js +0 -2
  69. package/dist/cjs/loader.cjs.js +0 -22
  70. package/dist/cjs/relativeTime-3721080d.js +0 -9
  71. package/dist/cjs/salon-booking-modal.cjs.entry.js +0 -30
  72. package/dist/cjs/salon-booking.cjs.entry.js +0 -51
  73. package/dist/cjs/salon-gift-card-modal.cjs.entry.js +0 -29
  74. package/dist/cjs/salon-gift-card.cjs.entry.js +0 -51
  75. package/dist/cjs/salon-info.cjs.entry.js +0 -33
  76. package/dist/cjs/salon-latest-reviews.cjs.entry.js +0 -97
  77. package/dist/cjs/salon-latest-styles_3.cjs.entry.js +0 -241
  78. package/dist/cjs/salon-lookbook.cjs.entry.js +0 -222
  79. package/dist/cjs/salon-ranking.cjs.entry.js +0 -60
  80. package/dist/cjs/salon-reviews.cjs.entry.js +0 -193
  81. package/dist/cjs/salon-services.cjs.entry.js +0 -81
  82. package/dist/cjs/salon-stylists.cjs.entry.js +0 -118
  83. package/dist/cjs/style-detail.cjs.entry.js +0 -312
  84. package/dist/collection/collection-manifest.json +0 -33
  85. package/dist/collection/components/chat-box/index.css +0 -105
  86. package/dist/collection/components/chat-box/index.js +0 -138
  87. package/dist/collection/components/chat-button/index.css +0 -101
  88. package/dist/collection/components/chat-button/index.js +0 -155
  89. package/dist/collection/components/chat-form/index.css +0 -40
  90. package/dist/collection/components/chat-form/index.js +0 -79
  91. package/dist/collection/components/chat-messages/index.css +0 -48
  92. package/dist/collection/components/chat-messages/index.js +0 -142
  93. package/dist/collection/components/chat-rooms/index.css +0 -102
  94. package/dist/collection/components/chat-rooms/index.js +0 -157
  95. package/dist/collection/components/google-map/assets/map--placeholder.jpeg +0 -0
  96. package/dist/collection/components/google-map/index.css +0 -5
  97. package/dist/collection/components/google-map/index.js +0 -90
  98. package/dist/collection/components/salon-booking/index.css +0 -30
  99. package/dist/collection/components/salon-booking/index.js +0 -126
  100. package/dist/collection/components/salon-booking/salon-booking-modal.js +0 -92
  101. package/dist/collection/components/salon-gift-card/index.css +0 -30
  102. package/dist/collection/components/salon-gift-card/index.js +0 -126
  103. package/dist/collection/components/salon-gift-card/salon-gift-card-modal.js +0 -73
  104. package/dist/collection/components/salon-info/index.css +0 -1
  105. package/dist/collection/components/salon-info/index.js +0 -77
  106. package/dist/collection/components/salon-latest-reviews/index.css +0 -11
  107. package/dist/collection/components/salon-latest-reviews/index.js +0 -163
  108. package/dist/collection/components/salon-latest-styles/index.css +0 -12
  109. package/dist/collection/components/salon-locations/index.css +0 -24
  110. package/dist/collection/components/salon-lookbook/index.css +0 -15
  111. package/dist/collection/components/salon-lookbook/index.js +0 -368
  112. package/dist/collection/components/salon-ranking/index.css +0 -3
  113. package/dist/collection/components/salon-ranking/index.js +0 -117
  114. package/dist/collection/components/salon-reviews/index.css +0 -18
  115. package/dist/collection/components/salon-reviews/index.js +0 -249
  116. package/dist/collection/components/salon-schedules/index.css +0 -18
  117. package/dist/collection/components/salon-services/index.css +0 -1
  118. package/dist/collection/components/salon-services/index.js +0 -146
  119. package/dist/collection/components/salon-stylists/index.css +0 -43
  120. package/dist/collection/components/salon-stylists/index.js +0 -184
  121. package/dist/collection/components/style-detail/index.css +0 -76
  122. package/dist/collection/components/style-detail/index.js +0 -386
  123. package/dist/collection/components/user-avatar/index.css +0 -0
  124. package/dist/collection/components/user-avatar/index.js +0 -159
  125. package/dist/collection/constants/colors.js +0 -65
  126. package/dist/collection/global/global.js +0 -0
  127. package/dist/collection/index.js +0 -1
  128. package/dist/collection/mocks/users.js +0 -10
  129. package/dist/collection/services/services.js +0 -295
  130. package/dist/collection/types/chat.js +0 -23
  131. package/dist/collection/types/common.js +0 -11
  132. package/dist/collection/types/review.js +0 -39
  133. package/dist/collection/types/salon.js +0 -58
  134. package/dist/collection/types/service.js +0 -24
  135. package/dist/collection/types/style.js +0 -128
  136. package/dist/collection/types/stylist.js +0 -30
  137. package/dist/collection/types/user.js +0 -10
  138. package/dist/custom-elements/index.js +0 -44974
  139. package/dist/esm/_commonjsHelpers-66ac50f5.js +0 -32
  140. package/dist/esm/favesalon-embed.js +0 -18
  141. package/dist/esm/index-0494771f.js +0 -1504
  142. package/dist/esm/index.js +0 -1
  143. package/dist/esm/loader.js +0 -18
  144. package/dist/esm/polyfills/core-js.js +0 -11
  145. package/dist/esm/polyfills/css-shim.js +0 -1
  146. package/dist/esm/polyfills/dom.js +0 -79
  147. package/dist/esm/polyfills/es5-html-element.js +0 -1
  148. package/dist/esm/polyfills/index.js +0 -34
  149. package/dist/esm/polyfills/system.js +0 -6
  150. package/dist/esm/relativeTime-baa50aa2.js +0 -7
  151. package/dist/esm/salon-latest-styles_3.entry.js +0 -235
  152. package/dist/favesalon-embed/p-05a1c88a.entry.js +0 -1
  153. package/dist/favesalon-embed/p-0acf0447.entry.js +0 -1
  154. package/dist/favesalon-embed/p-0bc4f624.js +0 -1
  155. package/dist/favesalon-embed/p-1af1515f.entry.js +0 -1
  156. package/dist/favesalon-embed/p-1cba5fc9.entry.js +0 -1
  157. package/dist/favesalon-embed/p-39a4ef15.entry.js +0 -1
  158. package/dist/favesalon-embed/p-3e2cb05b.entry.js +0 -1
  159. package/dist/favesalon-embed/p-47e646f8.js +0 -1
  160. package/dist/favesalon-embed/p-487b311f.entry.js +0 -1
  161. package/dist/favesalon-embed/p-55387c2f.entry.js +0 -1
  162. package/dist/favesalon-embed/p-566f05b4.entry.js +0 -1
  163. package/dist/favesalon-embed/p-862a0de0.entry.js +0 -1
  164. package/dist/favesalon-embed/p-9fe0cbeb.js +0 -2
  165. package/dist/favesalon-embed/p-a33331cc.js +0 -1
  166. package/dist/favesalon-embed/p-aeeb7b5f.entry.js +0 -1
  167. package/dist/favesalon-embed/p-b08e5b54.js +0 -6
  168. package/dist/favesalon-embed/p-b5cca5fc.entry.js +0 -1
  169. package/dist/favesalon-embed/p-c7fb7af5.js +0 -1580
  170. package/dist/favesalon-embed/p-ccab56d8.js +0 -1
  171. package/dist/favesalon-embed/p-d6e13053.entry.js +0 -1
  172. package/dist/favesalon-embed/p-dee42d34.entry.js +0 -1
  173. package/dist/favesalon-embed/p-e661ca1d.entry.js +0 -1
  174. package/dist/favesalon-embed/p-eeceab9c.entry.js +0 -1
  175. package/dist/index.cjs.js +0 -1
  176. package/dist/index.js +0 -1
  177. /package/dist/{esm → favesalon-embed}/colors-ea36347a.js +0 -0
@@ -1 +1,148 @@
1
- import{p as o,b as a}from"./p-9fe0cbeb.js";export{s as setNonce}from"./p-9fe0cbeb.js";(()=>{const a=import.meta.url,s={};return""!==a&&(s.resourcesUrl=new URL(".",a).href),o(s)})().then((o=>a([["p-dee42d34",[[0,"salon-info",{salonId:[2,"salon-id"],salonInfo:[32],fetchData:[64]}]]],["p-39a4ef15",[[0,"chat-box",{primaryColor:[1,"primary-color"],accessToken:[1,"access-token"],senderId:[1,"sender-id"],chatRooms:[32],activeRoom:[32],fetchData:[64]}],[0,"chat-rooms",{senderId:[2,"sender-id"],chatRooms:[16],activeRoom:[16],onClickRoom:[16],keyword:[32]}],[0,"chat-messages",{sender:[16],receiver:[16],messages:[16],chatRoomId:[1,"chat-room-id"]}],[0,"chat-form",{senderId:[2,"sender-id"],chatRoomId:[1,"chat-room-id"]}],[0,"user-avatar",{size:[2],name:[1],description:[1],nameStyle:[16],shortName:[1,"short-name"],avatar:[1]}]]],["p-1af1515f",[[0,"chat-button",{primaryColor:[1,"primary-color"],accessToken:[1,"access-token"],senderId:[1,"sender-id"],receiverId:[1,"receiver-id"],senderInfo:[32],receiverInfo:[32],chatRoom:[32],chatMessages:[32],isChatExpanded:[32],fetchData:[64]}]]],["p-eeceab9c",[[0,"salon-latest-reviews",{salonId:[2,"salon-id"],primaryColor:[1,"primary-color"],salonReviews:[32],isLoading:[32],fetchData:[64]}]]],["p-862a0de0",[[0,"salon-lookbook",{salonId:[2,"salon-id"],isLoading:[32],isLoadingMore:[32],hideLoadMore:[32],currentPage:[32],totalLookbooks:[32],salonCategories:[32],salonLookbooks:[32],sortBy:[32],filterBy:[32],isLayoutSetup:[32],fetchData:[64],fetchLookbooks:[64],onChangeFiltering:[64],onChangeSorting:[64],onLoadMore:[64],fetchCategories:[64]}]]],["p-3e2cb05b",[[0,"salon-reviews",{salonId:[2,"salon-id"],primaryColor:[1,"primary-color"],salonInfo:[32],stats:[32],totalReviews:[32],allReviews:[32],isLoading:[32],isSorting:[32],isFiltering:[32],isLoadingMore:[32],canLoadMore:[32],page:[32],filterBy:[32],sortBy:[32]}]]],["p-0acf0447",[[0,"style-detail",{salonId:[2,"salon-id"],salonLookbook:[1,"salon-lookbook"],lookbookInfo:[32],isModalOpen:[32],currentMediaIdx:[32],currentMedia:[32],albumMedias:[32],similarStyles:[32],totalComments:[32],lookbookComments:[32],isLayoutSetup:[32],fetchData:[64]}]]],["p-487b311f",[[0,"salon-booking",{salonId:[2,"salon-id"],buttonClass:[1,"button-class"],buttonText:[1,"button-text"],primaryColor:[1,"primary-color"]}]]],["p-55387c2f",[[0,"salon-booking-modal",{salonId:[2,"salon-id"],primaryColor:[1,"primary-color"],redirectUrl:[1,"redirect-url"],isModalOpen:[32]}]]],["p-b5cca5fc",[[0,"salon-gift-card",{salonId:[2,"salon-id"],buttonClass:[1,"button-class"],buttonText:[1,"button-text"],primaryColor:[1,"primary-color"]}]]],["p-aeeb7b5f",[[0,"salon-gift-card-modal",{salonId:[2,"salon-id"],primaryColor:[1,"primary-color"],isModalOpen:[32]}]]],["p-566f05b4",[[0,"salon-ranking",{ranking:[2],height:[2],width:[2]}]]],["p-05a1c88a",[[0,"salon-services",{salonId:[2,"salon-id"],buttonClass:[1,"button-class"],salonServices:[32],isLoading:[32],fetchData:[64]}]]],["p-1cba5fc9",[[0,"salon-stylists",{salonId:[2,"salon-id"],salonStylists:[32],totalStylists:[32],page:[32],isLoading:[32],isLoadingMore:[32],canLoadMore:[32],fetchData:[64],onLoadMore:[64]}]]],["p-e661ca1d",[[0,"google-map",{locationName:[1,"location-name"],locationAddress:[1,"location-address"]}]]],["p-d6e13053",[[0,"salon-locations",{salonId:[2,"salon-id"],salonInfo:[1,"salon-info"],isLoading:[4,"is-loading"],withBorder:[4,"with-border"],salonInfoState:[32]}],[0,"salon-latest-styles",{salonId:[2,"salon-id"],isLoading:[4,"is-loading"],withBorder:[4,"with-border"],isLoadingState:[32],latestStyles:[32],fetchData:[64]}],[0,"salon-schedules",{salonId:[2,"salon-id"],salonInfo:[1,"salon-info"],isLoading:[4,"is-loading"],withBorder:[4,"with-border"],salonInfoState:[32]}]]]],o)));
1
+ import { B as BUILD, c as consoleDevInfo, p as plt, w as win, H, d as doc, N as NAMESPACE, a as promiseResolve, b as bootstrapLazy } from './index-888e99e3.js';
2
+ export { s as setNonce } from './index-888e99e3.js';
3
+ import { g as globalScripts } from './app-globals-74127f4b.js';
4
+
5
+ /*
6
+ Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
7
+ */
8
+ /**
9
+ * Helper method for querying a `meta` tag that contains a nonce value
10
+ * out of a DOM's head.
11
+ *
12
+ * @param doc The DOM containing the `head` to query against
13
+ * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
14
+ * exists or the tag has no content.
15
+ */
16
+ function queryNonceMetaTagContent(doc) {
17
+ var _a, _b, _c;
18
+ return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
19
+ }
20
+ const getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\s|-/g, '_')}`;
21
+ const patchBrowser = () => {
22
+ // NOTE!! This fn cannot use async/await!
23
+ if (BUILD.isDev && !BUILD.isTesting) {
24
+ consoleDevInfo('Running in development mode.');
25
+ }
26
+ if (BUILD.cssVarShim) {
27
+ // shim css vars
28
+ plt.$cssShim$ = win.__cssshim;
29
+ }
30
+ if (BUILD.cloneNodeFix) {
31
+ // opted-in to polyfill cloneNode() for slot polyfilled components
32
+ patchCloneNodeFix(H.prototype);
33
+ }
34
+ if (BUILD.profile && !performance.mark) {
35
+ // not all browsers support performance.mark/measure (Safari 10)
36
+ // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,
37
+ // simply stub the implementations out.
38
+ // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)
39
+ // @ts-ignore
40
+ performance.mark = performance.measure = () => {
41
+ /*noop*/
42
+ };
43
+ performance.getEntriesByName = () => [];
44
+ }
45
+ // @ts-ignore
46
+ const scriptElm = BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim
47
+ ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\/${NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) ||
48
+ s.getAttribute('data-stencil-namespace') === NAMESPACE)
49
+ : null;
50
+ const importMeta = import.meta.url;
51
+ const opts = BUILD.scriptDataOpts ? scriptElm['data-opts'] || {} : {};
52
+ if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {
53
+ // Safari < v11 support: This IF is true if it's Safari below v11.
54
+ // This fn cannot use async/await since Safari didn't support it until v11,
55
+ // however, Safari 10 did support modules. Safari 10 also didn't support "nomodule",
56
+ // so both the ESM file and nomodule file would get downloaded. Only Safari
57
+ // has 'onbeforeload' in the script, and "history.scrollRestoration" was added
58
+ // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.
59
+ // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.
60
+ return {
61
+ then() {
62
+ /* promise noop */
63
+ },
64
+ };
65
+ }
66
+ if (!BUILD.safari10 && importMeta !== '') {
67
+ opts.resourcesUrl = new URL('.', importMeta).href;
68
+ }
69
+ else if (BUILD.dynamicImportShim || BUILD.safari10) {
70
+ opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;
71
+ if (BUILD.dynamicImportShim) {
72
+ patchDynamicImport(opts.resourcesUrl, scriptElm);
73
+ }
74
+ if (BUILD.dynamicImportShim && !win.customElements) {
75
+ // module support, but no custom elements support (Old Edge)
76
+ // @ts-ignore
77
+ return import(/* webpackChunkName: "polyfills-dom" */ './dom-64053c71.js').then(() => opts);
78
+ }
79
+ }
80
+ return promiseResolve(opts);
81
+ };
82
+ const patchDynamicImport = (base, orgScriptElm) => {
83
+ const importFunctionName = getDynamicImportFunction(NAMESPACE);
84
+ try {
85
+ // test if this browser supports dynamic imports
86
+ // There is a caching issue in V8, that breaks using import() in Function
87
+ // By generating a random string, we can workaround it
88
+ // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info
89
+ win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);
90
+ }
91
+ catch (e) {
92
+ // this shim is specifically for browsers that do support "esm" imports
93
+ // however, they do NOT support "dynamic" imports
94
+ // basically this code is for old Edge, v18 and below
95
+ const moduleMap = new Map();
96
+ win[importFunctionName] = (src) => {
97
+ var _a;
98
+ const url = new URL(src, base).href;
99
+ let mod = moduleMap.get(url);
100
+ if (!mod) {
101
+ const script = doc.createElement('script');
102
+ script.type = 'module';
103
+ script.crossOrigin = orgScriptElm.crossOrigin;
104
+ script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {
105
+ type: 'application/javascript',
106
+ }));
107
+ // Apply CSP nonce to the script tag if it exists
108
+ const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
109
+ if (nonce != null) {
110
+ script.setAttribute('nonce', nonce);
111
+ }
112
+ mod = new Promise((resolve) => {
113
+ script.onload = () => {
114
+ resolve(win[importFunctionName].m);
115
+ script.remove();
116
+ };
117
+ });
118
+ moduleMap.set(url, mod);
119
+ doc.head.appendChild(script);
120
+ }
121
+ return mod;
122
+ };
123
+ }
124
+ };
125
+ const patchCloneNodeFix = (HTMLElementPrototype) => {
126
+ const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;
127
+ HTMLElementPrototype.cloneNode = function (deep) {
128
+ if (this.nodeName === 'TEMPLATE') {
129
+ return nativeCloneNodeFn.call(this, deep);
130
+ }
131
+ const clonedNode = nativeCloneNodeFn.call(this, false);
132
+ const srcChildNodes = this.childNodes;
133
+ if (deep) {
134
+ for (let i = 0; i < srcChildNodes.length; i++) {
135
+ // Node.ATTRIBUTE_NODE === 2, and checking because IE11
136
+ if (srcChildNodes[i].nodeType !== 2) {
137
+ clonedNode.appendChild(srcChildNodes[i].cloneNode(true));
138
+ }
139
+ }
140
+ }
141
+ return clonedNode;
142
+ };
143
+ };
144
+
145
+ patchBrowser().then(options => {
146
+ globalScripts();
147
+ return bootstrapLazy([["chat-box",[[0,"chat-box",{"primaryColor":[1,"primary-color"],"accessToken":[1,"access-token"],"senderId":[1,"sender-id"],"salonId":[1,"salon-id"],"chatRooms":[32],"activeRoom":[32],"fetchData":[64]}]]],["chat-button",[[0,"chat-button",{"primaryColor":[1,"primary-color"],"accessToken":[1,"access-token"],"senderId":[1,"sender-id"],"receiverId":[1,"receiver-id"],"senderInfo":[32],"receiverInfo":[32],"chatRoom":[32],"chatMessages":[32],"isChatExpanded":[32],"fetchData":[64]}]]],["salon-info",[[0,"salon-info",{"salonId":[2,"salon-id"],"salonInfo":[32],"fetchData":[64]}]]],["salon-latest-reviews",[[0,"salon-latest-reviews",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"salonReviews":[32],"isLoading":[32],"fetchData":[64]}]]],["salon-lookbook",[[0,"salon-lookbook",{"salonId":[2,"salon-id"],"isLoading":[32],"isLoadingMore":[32],"hideLoadMore":[32],"currentPage":[32],"totalLookbooks":[32],"salonCategories":[32],"salonLookbooks":[32],"sortBy":[32],"filterBy":[32],"isLayoutSetup":[32],"fetchData":[64],"fetchLookbooks":[64],"onChangeFiltering":[64],"onChangeSorting":[64],"onLoadMore":[64],"fetchCategories":[64]}]]],["salon-reviews",[[0,"salon-reviews",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"salonInfo":[32],"stats":[32],"totalReviews":[32],"allReviews":[32],"isLoading":[32],"isSorting":[32],"isFiltering":[32],"isLoadingMore":[32],"canLoadMore":[32],"page":[32],"filterBy":[32],"sortBy":[32]}]]],["style-detail",[[0,"style-detail",{"salonId":[2,"salon-id"],"salonLookbook":[1,"salon-lookbook"],"lookbookInfo":[32],"isModalOpen":[32],"currentMediaIdx":[32],"currentMedia":[32],"albumMedias":[32],"similarStyles":[32],"totalComments":[32],"lookbookComments":[32],"isLayoutSetup":[32],"fetchData":[64]}]]],["salon-booking",[[0,"salon-booking",{"salonId":[2,"salon-id"],"buttonClass":[1,"button-class"],"buttonText":[1,"button-text"],"primaryColor":[1,"primary-color"]}]]],["salon-booking-modal",[[0,"salon-booking-modal",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"redirectUrl":[1,"redirect-url"],"isModalOpen":[32]}]]],["salon-gift-card",[[0,"salon-gift-card",{"salonId":[2,"salon-id"],"buttonClass":[1,"button-class"],"buttonText":[1,"button-text"],"primaryColor":[1,"primary-color"]}]]],["salon-gift-card-modal",[[0,"salon-gift-card-modal",{"salonId":[2,"salon-id"],"primaryColor":[1,"primary-color"],"isModalOpen":[32]}]]],["salon-ranking",[[0,"salon-ranking",{"ranking":[2],"height":[2],"width":[2]}]]],["salon-services",[[0,"salon-services",{"salonId":[2,"salon-id"],"buttonClass":[1,"button-class"],"salonServices":[32],"isLoading":[32],"fetchData":[64]}]]],["salon-stylists",[[0,"salon-stylists",{"salonId":[2,"salon-id"],"salonStylists":[32],"totalStylists":[32],"page":[32],"isLoading":[32],"isLoadingMore":[32],"canLoadMore":[32],"fetchData":[64],"onLoadMore":[64]}]]],["chat-rooms",[[0,"chat-rooms",{"senderId":[2,"sender-id"],"salonId":[2,"salon-id"],"chatRooms":[16],"clients":[16],"activeRoom":[16],"accessToken":[1,"access-token"],"onClickRoom":[16],"keyword":[32]}]]],["salon-locations",[[0,"salon-locations",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"isLoading":[4,"is-loading"],"withBorder":[4,"with-border"],"salonInfoState":[32]}]]],["notify-sounds",[[0,"notify-sounds"]]],["salon-latest-styles",[[0,"salon-latest-styles",{"salonId":[2,"salon-id"],"isLoading":[4,"is-loading"],"withBorder":[4,"with-border"],"isLoadingState":[32],"latestStyles":[32],"fetchData":[64]}]]],["salon-schedules",[[0,"salon-schedules",{"salonId":[2,"salon-id"],"salonInfo":[1,"salon-info"],"isLoading":[4,"is-loading"],"withBorder":[4,"with-border"],"salonInfoState":[32]}]]],["chat-messages",[[0,"chat-messages",{"sender":[16],"receiver":[16],"messages":[16],"chatRoomId":[1,"chat-room-id"]}]]],["chat-form",[[0,"chat-form",{"senderId":[2,"sender-id"],"chatRoomId":[1,"chat-room-id"]}]]],["google-map",[[0,"google-map",{"locationName":[1,"location-name"],"locationAddress":[1,"location-address"]}]]],["user-avatar",[[0,"user-avatar",{"size":[2],"name":[1],"description":[1],"nameStyle":[16],"shortName":[1,"short-name"],"avatar":[1]}]]]], options);
148
+ });
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, g as getAssetPath, h } from './index-0494771f.js';
1
+ import { r as registerInstance, g as getAssetPath, h } from './index-888e99e3.js';
2
2
  import { C as Colors } from './colors-ea36347a.js';
3
3
 
4
4
  const indexCss = "google-map{display:block;width:100%;height:100%}";