@ppg_pl/pallete 0.0.5 → 0.0.6

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 (169) hide show
  1. package/dist/cjs/index-160fcb6c.js +1661 -0
  2. package/dist/cjs/index-160fcb6c.js.map +1 -0
  3. package/dist/cjs/loader.cjs.js +3 -21
  4. package/dist/cjs/loader.cjs.js.map +1 -1
  5. package/dist/cjs/my-backdrop_8.cjs.entry.js +7985 -0
  6. package/dist/cjs/my-backdrop_8.cjs.entry.js.map +1 -0
  7. package/dist/cjs/pallete.cjs.js +5 -145
  8. package/dist/cjs/pallete.cjs.js.map +1 -1
  9. package/dist/collection/collection-manifest.json +1 -1
  10. package/dist/collection/components/my-modal/__mocks__/index.js +759 -0
  11. package/dist/collection/components/my-modal/__mocks__/index.js.map +1 -0
  12. package/dist/collection/components/my-modal/my-modal.css +74 -32
  13. package/dist/collection/components/my-modal/my-modal.js +1 -1
  14. package/dist/collection/components/my-modal/my-modal.js.map +1 -1
  15. package/dist/components/index.js +0 -4
  16. package/dist/components/index.js.map +1 -1
  17. package/dist/components/index2.js +359 -6270
  18. package/dist/components/index2.js.map +1 -1
  19. package/dist/components/my-component.js +0 -2
  20. package/dist/components/my-component.js.map +1 -1
  21. package/dist/components/my-modal2.js +3 -84
  22. package/dist/components/my-modal2.js.map +1 -1
  23. package/dist/esm/index-943c259f.js +1632 -0
  24. package/dist/esm/index-943c259f.js.map +1 -0
  25. package/dist/esm/loader.js +4 -22
  26. package/dist/esm/loader.js.map +1 -1
  27. package/dist/esm/my-backdrop_8.entry.js +7974 -0
  28. package/dist/esm/my-backdrop_8.entry.js.map +1 -0
  29. package/dist/esm/pallete.js +6 -146
  30. package/dist/esm/pallete.js.map +1 -1
  31. package/dist/pallete/index.esm.js +0 -1
  32. package/dist/pallete/index.esm.js.map +1 -1
  33. package/dist/pallete/p-9a7eff4f.entry.js +2 -0
  34. package/dist/pallete/p-9a7eff4f.entry.js.map +1 -0
  35. package/dist/pallete/p-c77aaa54.js +3 -0
  36. package/dist/pallete/p-c77aaa54.js.map +1 -0
  37. package/dist/pallete/pallete.css +1 -3
  38. package/dist/pallete/pallete.esm.js +1 -162
  39. package/dist/pallete/pallete.esm.js.map +1 -1
  40. package/dist/types/components/my-modal/__mocks__/index.d.ts +415 -0
  41. package/package.json +3 -3
  42. package/www/build/index.esm.js +0 -1
  43. package/www/build/index.esm.js.map +1 -1
  44. package/www/build/p-825a7d1d.js +163 -0
  45. package/www/build/p-9a7eff4f.entry.js +2 -0
  46. package/www/build/p-9a7eff4f.entry.js.map +1 -0
  47. package/www/build/p-c77aaa54.js +3 -0
  48. package/www/build/p-c77aaa54.js.map +1 -0
  49. package/www/build/p-fd390eef.css +3 -0
  50. package/www/build/pallete.css +1 -3
  51. package/www/build/pallete.esm.js +1 -162
  52. package/www/build/pallete.esm.js.map +1 -1
  53. package/www/index.html +2 -11
  54. package/dist/cjs/app-globals-3a1e7e63.js +0 -7
  55. package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
  56. package/dist/cjs/css-shim-5d56550a.js +0 -8
  57. package/dist/cjs/css-shim-5d56550a.js.map +0 -1
  58. package/dist/cjs/dom-52c0133a.js +0 -77
  59. package/dist/cjs/dom-52c0133a.js.map +0 -1
  60. package/dist/cjs/gtmUtils-11a00b2b.js +0 -9
  61. package/dist/cjs/gtmUtils-11a00b2b.js.map +0 -1
  62. package/dist/cjs/index-a230bf6e.js +0 -3434
  63. package/dist/cjs/index-a230bf6e.js.map +0 -1
  64. package/dist/cjs/my-backdrop.cjs.entry.js +0 -21
  65. package/dist/cjs/my-backdrop.cjs.entry.js.map +0 -1
  66. package/dist/cjs/my-colorbox.cjs.entry.js +0 -52
  67. package/dist/cjs/my-colorbox.cjs.entry.js.map +0 -1
  68. package/dist/cjs/my-colorinfo.cjs.entry.js +0 -46
  69. package/dist/cjs/my-colorinfo.cjs.entry.js.map +0 -1
  70. package/dist/cjs/my-component.cjs.entry.js +0 -171
  71. package/dist/cjs/my-component.cjs.entry.js.map +0 -1
  72. package/dist/cjs/my-loader.cjs.entry.js +0 -21
  73. package/dist/cjs/my-loader.cjs.entry.js.map +0 -1
  74. package/dist/cjs/my-modal.cjs.entry.js +0 -2479
  75. package/dist/cjs/my-modal.cjs.entry.js.map +0 -1
  76. package/dist/cjs/my-search.cjs.entry.js +0 -44
  77. package/dist/cjs/my-search.cjs.entry.js.map +0 -1
  78. package/dist/cjs/my-slider.cjs.entry.js +0 -11201
  79. package/dist/cjs/my-slider.cjs.entry.js.map +0 -1
  80. package/dist/cjs/shadow-css-388a8a25.js +0 -391
  81. package/dist/cjs/shadow-css-388a8a25.js.map +0 -1
  82. package/dist/esm/app-globals-0f993ce5.js +0 -5
  83. package/dist/esm/app-globals-0f993ce5.js.map +0 -1
  84. package/dist/esm/css-shim-5eb36939.js +0 -6
  85. package/dist/esm/css-shim-5eb36939.js.map +0 -1
  86. package/dist/esm/dom-c0f8af80.js +0 -75
  87. package/dist/esm/dom-c0f8af80.js.map +0 -1
  88. package/dist/esm/gtmUtils-dcdac4ce.js +0 -7
  89. package/dist/esm/gtmUtils-dcdac4ce.js.map +0 -1
  90. package/dist/esm/index-c3dfdbab.js +0 -3397
  91. package/dist/esm/index-c3dfdbab.js.map +0 -1
  92. package/dist/esm/my-backdrop.entry.js +0 -17
  93. package/dist/esm/my-backdrop.entry.js.map +0 -1
  94. package/dist/esm/my-colorbox.entry.js +0 -48
  95. package/dist/esm/my-colorbox.entry.js.map +0 -1
  96. package/dist/esm/my-colorinfo.entry.js +0 -42
  97. package/dist/esm/my-colorinfo.entry.js.map +0 -1
  98. package/dist/esm/my-component.entry.js +0 -167
  99. package/dist/esm/my-component.entry.js.map +0 -1
  100. package/dist/esm/my-loader.entry.js +0 -17
  101. package/dist/esm/my-loader.entry.js.map +0 -1
  102. package/dist/esm/my-modal.entry.js +0 -2475
  103. package/dist/esm/my-modal.entry.js.map +0 -1
  104. package/dist/esm/my-search.entry.js +0 -40
  105. package/dist/esm/my-search.entry.js.map +0 -1
  106. package/dist/esm/my-slider.entry.js +0 -11197
  107. package/dist/esm/my-slider.entry.js.map +0 -1
  108. package/dist/esm/shadow-css-12b9a099.js +0 -389
  109. package/dist/esm/shadow-css-12b9a099.js.map +0 -1
  110. package/dist/pallete/app-globals-0f993ce5.js +0 -5
  111. package/dist/pallete/app-globals-0f993ce5.js.map +0 -1
  112. package/dist/pallete/css-shim-5eb36939.js +0 -6
  113. package/dist/pallete/css-shim-5eb36939.js.map +0 -1
  114. package/dist/pallete/dom-c0f8af80.js +0 -75
  115. package/dist/pallete/dom-c0f8af80.js.map +0 -1
  116. package/dist/pallete/gtmUtils-dcdac4ce.js +0 -7
  117. package/dist/pallete/gtmUtils-dcdac4ce.js.map +0 -1
  118. package/dist/pallete/index-591def6b.js +0 -3397
  119. package/dist/pallete/index-591def6b.js.map +0 -1
  120. package/dist/pallete/index-c3dfdbab.js +0 -3397
  121. package/dist/pallete/index-c3dfdbab.js.map +0 -1
  122. package/dist/pallete/my-backdrop.entry.js +0 -17
  123. package/dist/pallete/my-backdrop.entry.js.map +0 -1
  124. package/dist/pallete/my-colorbox.entry.js +0 -48
  125. package/dist/pallete/my-colorbox.entry.js.map +0 -1
  126. package/dist/pallete/my-colorinfo.entry.js +0 -42
  127. package/dist/pallete/my-colorinfo.entry.js.map +0 -1
  128. package/dist/pallete/my-component.entry.js +0 -167
  129. package/dist/pallete/my-component.entry.js.map +0 -1
  130. package/dist/pallete/my-loader.entry.js +0 -17
  131. package/dist/pallete/my-loader.entry.js.map +0 -1
  132. package/dist/pallete/my-modal.entry.js +0 -2475
  133. package/dist/pallete/my-modal.entry.js.map +0 -1
  134. package/dist/pallete/my-search.entry.js +0 -40
  135. package/dist/pallete/my-search.entry.js.map +0 -1
  136. package/dist/pallete/my-slider.entry.js +0 -11197
  137. package/dist/pallete/my-slider.entry.js.map +0 -1
  138. package/dist/pallete/shadow-css-12b9a099.js +0 -389
  139. package/dist/pallete/shadow-css-12b9a099.js.map +0 -1
  140. package/www/build/app-globals-0f993ce5.js +0 -5
  141. package/www/build/app-globals-0f993ce5.js.map +0 -1
  142. package/www/build/css-shim-5eb36939.js +0 -6
  143. package/www/build/css-shim-5eb36939.js.map +0 -1
  144. package/www/build/dom-c0f8af80.js +0 -75
  145. package/www/build/dom-c0f8af80.js.map +0 -1
  146. package/www/build/gtmUtils-dcdac4ce.js +0 -7
  147. package/www/build/gtmUtils-dcdac4ce.js.map +0 -1
  148. package/www/build/index-591def6b.js +0 -3397
  149. package/www/build/index-591def6b.js.map +0 -1
  150. package/www/build/index-c3dfdbab.js +0 -3397
  151. package/www/build/index-c3dfdbab.js.map +0 -1
  152. package/www/build/my-backdrop.entry.js +0 -17
  153. package/www/build/my-backdrop.entry.js.map +0 -1
  154. package/www/build/my-colorbox.entry.js +0 -48
  155. package/www/build/my-colorbox.entry.js.map +0 -1
  156. package/www/build/my-colorinfo.entry.js +0 -42
  157. package/www/build/my-colorinfo.entry.js.map +0 -1
  158. package/www/build/my-component.entry.js +0 -167
  159. package/www/build/my-component.entry.js.map +0 -1
  160. package/www/build/my-loader.entry.js +0 -17
  161. package/www/build/my-loader.entry.js.map +0 -1
  162. package/www/build/my-modal.entry.js +0 -2475
  163. package/www/build/my-modal.entry.js.map +0 -1
  164. package/www/build/my-search.entry.js +0 -40
  165. package/www/build/my-search.entry.js.map +0 -1
  166. package/www/build/my-slider.entry.js +0 -11197
  167. package/www/build/my-slider.entry.js.map +0 -1
  168. package/www/build/shadow-css-12b9a099.js +0 -389
  169. package/www/build/shadow-css-12b9a099.js.map +0 -1
@@ -1,163 +1,23 @@
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-c3dfdbab.js';
2
- export { s as setNonce } from './index-c3dfdbab.js';
3
- import { g as globalScripts } from './app-globals-0f993ce5.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-943c259f.js';
2
+ export { s as setNonce } from './index-943c259f.js';
4
3
 
5
4
  /*
6
- Stencil Client Patch Browser v3.2.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Patch Browser v3.1.0 | MIT Licensed | https://stenciljs.com
7
6
  */
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
- // TODO(STENCIL-661): Remove code related to the dynamic import shim
21
- const getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\s|-/g, '_')}`;
22
7
  const patchBrowser = () => {
23
- // NOTE!! This fn cannot use async/await!
24
- if (BUILD.isDev && !BUILD.isTesting) {
25
- consoleDevInfo('Running in development mode.');
26
- }
27
- // TODO(STENCIL-659): Remove code implementing the CSS variable shim
28
- if (BUILD.cssVarShim) {
29
- // shim css vars
30
- // TODO(STENCIL-659): Remove code implementing the CSS variable shim
31
- plt.$cssShim$ = win.__cssshim;
32
- }
33
- if (BUILD.cloneNodeFix) {
34
- // opted-in to polyfill cloneNode() for slot polyfilled components
35
- patchCloneNodeFix(H.prototype);
36
- }
37
- if (BUILD.profile && !performance.mark) {
38
- // not all browsers support performance.mark/measure (Safari 10)
39
- // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,
40
- // simply stub the implementations out.
41
- // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)
42
- // @ts-ignore
43
- performance.mark = performance.measure = () => {
44
- /*noop*/
45
- };
46
- performance.getEntriesByName = () => [];
47
- }
48
- // @ts-ignore
49
- const scriptElm =
50
- // TODO(STENCIL-661): Remove code related to the dynamic import shim
51
- // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
52
- BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim
53
- ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\/${NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) ||
54
- s.getAttribute('data-stencil-namespace') === NAMESPACE)
55
- : null;
56
8
  const importMeta = import.meta.url;
57
- const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};
58
- // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
59
- if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {
60
- // Safari < v11 support: This IF is true if it's Safari below v11.
61
- // This fn cannot use async/await since Safari didn't support it until v11,
62
- // however, Safari 10 did support modules. Safari 10 also didn't support "nomodule",
63
- // so both the ESM file and nomodule file would get downloaded. Only Safari
64
- // has 'onbeforeload' in the script, and "history.scrollRestoration" was added
65
- // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.
66
- // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.
67
- return {
68
- then() {
69
- /* promise noop */
70
- },
71
- };
72
- }
9
+ const opts = {};
73
10
  // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
74
- if (!BUILD.safari10 && importMeta !== '') {
11
+ if (importMeta !== '') {
75
12
  opts.resourcesUrl = new URL('.', importMeta).href;
76
13
  // TODO(STENCIL-661): Remove code related to the dynamic import shim
77
14
  // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
78
15
  }
79
- else if (BUILD.dynamicImportShim || BUILD.safari10) {
80
- opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;
81
- // TODO(STENCIL-661): Remove code related to the dynamic import shim
82
- if (BUILD.dynamicImportShim) {
83
- patchDynamicImport(opts.resourcesUrl, scriptElm);
84
- }
85
- // TODO(STENCIL-661): Remove code related to the dynamic import shim
86
- if (BUILD.dynamicImportShim && !win.customElements) {
87
- // module support, but no custom elements support (Old Edge)
88
- // @ts-ignore
89
- return import(/* webpackChunkName: "polyfills-dom" */ './dom-c0f8af80.js').then(() => opts);
90
- }
91
- }
92
16
  return promiseResolve(opts);
93
17
  };
94
- // TODO(STENCIL-661): Remove code related to the dynamic import shim
95
- const patchDynamicImport = (base, orgScriptElm) => {
96
- const importFunctionName = getDynamicImportFunction(NAMESPACE);
97
- try {
98
- // test if this browser supports dynamic imports
99
- // There is a caching issue in V8, that breaks using import() in Function
100
- // By generating a random string, we can workaround it
101
- // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info
102
- win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);
103
- }
104
- catch (e) {
105
- // this shim is specifically for browsers that do support "esm" imports
106
- // however, they do NOT support "dynamic" imports
107
- // basically this code is for old Edge, v18 and below
108
- const moduleMap = new Map();
109
- win[importFunctionName] = (src) => {
110
- var _a;
111
- const url = new URL(src, base).href;
112
- let mod = moduleMap.get(url);
113
- if (!mod) {
114
- const script = doc.createElement('script');
115
- script.type = 'module';
116
- script.crossOrigin = orgScriptElm.crossOrigin;
117
- script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {
118
- type: 'application/javascript',
119
- }));
120
- // Apply CSP nonce to the script tag if it exists
121
- const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
122
- if (nonce != null) {
123
- script.setAttribute('nonce', nonce);
124
- }
125
- mod = new Promise((resolve) => {
126
- script.onload = () => {
127
- resolve(win[importFunctionName].m);
128
- script.remove();
129
- };
130
- });
131
- moduleMap.set(url, mod);
132
- doc.head.appendChild(script);
133
- }
134
- return mod;
135
- };
136
- }
137
- };
138
- const patchCloneNodeFix = (HTMLElementPrototype) => {
139
- const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;
140
- HTMLElementPrototype.cloneNode = function (deep) {
141
- if (this.nodeName === 'TEMPLATE') {
142
- return nativeCloneNodeFn.call(this, deep);
143
- }
144
- const clonedNode = nativeCloneNodeFn.call(this, false);
145
- const srcChildNodes = this.childNodes;
146
- if (deep) {
147
- for (let i = 0; i < srcChildNodes.length; i++) {
148
- // Node.ATTRIBUTE_NODE === 2, and checking because IE11
149
- if (srcChildNodes[i].nodeType !== 2) {
150
- clonedNode.appendChild(srcChildNodes[i].cloneNode(true));
151
- }
152
- }
153
- }
154
- return clonedNode;
155
- };
156
- };
157
18
 
158
19
  patchBrowser().then(options => {
159
- globalScripts();
160
- return bootstrapLazy([["my-colorinfo",[[0,"my-colorinfo",{"currentColor":[16],"shop":[1],"product":[1],"data":[16],"isMobile":[4,"is-mobile"],"infoBoxWidth":[2,"info-box-width"],"closeImage":[1,"close-image"]}]]],["my-colorbox",[[0,"my-colorbox",{"color":[1],"name":[1],"shop":[1],"product":[1],"isActive":[4,"is-active"],"isCategoryActive":[4,"is-category-active"]}]]],["my-loader",[[2,"my-loader"]]],["my-search",[[2,"my-search",{"productId":[2,"product-id"],"isMobile":[4,"is-mobile"],"searchIcon":[1,"search-icon"],"searchText":[32]}]]],["my-modal",[[0,"my-modal",{"shop":[1],"product":[1],"closeImage":[1,"close-image"],"arrowDown":[1,"arrow-down"],"chunksNum":[32],"data":[32],"preloader":[32],"loading":[32],"colors":[32],"currentColor":[32],"currentIndex":[32],"infoBoxWidth":[32],"boxWidth":[32],"padding":[32],"isMobile":[32],"showRange":[32],"colorCategories":[32],"selectedCategory":[32],"page":[32],"open":[64]},[[0,"closeInfoBox","closeInfoBoxHandler"],[9,"resize","handleResize"],[0,"searchColors","searchColorsHandler"]]]]],["my-backdrop",[[0,"my-backdrop"]]],["my-slider",[[0,"my-slider",{"slides":[16],"shop":[1],"product":[1],"color":[1]}]]],["my-component",[[2,"my-component",{"shop":[1],"product":[1],"show":[32],"readyToClose":[32],"open":[64]},[[0,"readyToCLose","setReadyToCloseHandler"],[0,"close","closeModalHandler"]]]]]], options);
20
+ return bootstrapLazy([["my-backdrop_8",[[2,"my-component",{"shop":[1],"product":[1],"show":[32],"readyToClose":[32],"open":[64]},[[0,"readyToCLose","setReadyToCloseHandler"],[0,"close","closeModalHandler"]]],[0,"my-modal",{"shop":[1],"product":[1],"closeImage":[1,"close-image"],"arrowDown":[1,"arrow-down"],"chunksNum":[32],"data":[32],"preloader":[32],"loading":[32],"colors":[32],"currentColor":[32],"currentIndex":[32],"infoBoxWidth":[32],"boxWidth":[32],"padding":[32],"isMobile":[32],"showRange":[32],"colorCategories":[32],"selectedCategory":[32],"page":[32],"open":[64]},[[0,"closeInfoBox","closeInfoBoxHandler"],[9,"resize","handleResize"],[0,"searchColors","searchColorsHandler"]]],[0,"my-backdrop"],[0,"my-colorinfo",{"currentColor":[16],"shop":[1],"product":[1],"data":[16],"isMobile":[4,"is-mobile"],"infoBoxWidth":[2,"info-box-width"],"closeImage":[1,"close-image"]}],[0,"my-colorbox",{"color":[1],"name":[1],"shop":[1],"product":[1],"isActive":[4,"is-active"],"isCategoryActive":[4,"is-category-active"]}],[2,"my-loader"],[2,"my-search",{"productId":[2,"product-id"],"isMobile":[4,"is-mobile"],"searchIcon":[1,"search-icon"],"searchText":[32]}],[0,"my-slider",{"slides":[16],"shop":[1],"product":[1],"color":[1]}]]]], options);
161
21
  });
162
22
 
163
23
  //# sourceMappingURL=pallete.js.map
@@ -1 +1 @@
1
- {"file":"pallete.js","mappings":";;;;AAAA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,wBAAwB,CAAC,GAAG,EAAE;AACvC,IAAI,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;AACnB,IAAI,OAAO,CAAC,EAAE,GAAG,CAAC,EAAE,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,IAAI,MAAM,IAAI,IAAI,EAAE,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,aAAa,CAAC,wBAAwB,C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,IAAI,EAAE,IAAI,CAAC,CAAC;AACtD,SAAS;AACT,QAAQ,MAAM,UAAU,GAAG,iBAAiB,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,QAAQ,MAAM,aAAa,GAAG,IAAI,CAAC,UAAU,CAAC;AAC9C,QAAQ,IAAI,IAAI,EAAE;AAClB,YAAY,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC3D;AACA,gBAAgB,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,EAAE;AACrD,oBAAoB,UAAU,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;AAC7E,iBAAiB;AACjB,aAAa;AACb,SAAS;AACT,QAAQ,OAAO,UAAU,CAAC;AAC1B,KAAK,CAAC;AACN,CAAC;;ACrJD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAC/B,EAAE,aAAa,EAAE,CAAC;AAClB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.2.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n 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;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
1
+ {"file":"pallete.js","mappings":";;;AAAA;AACA;AACA;AAiBA,MAAM,YAAY,GAAG,MAAM;AAkC3B,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAgBlF;AACA,IAAI,IAAuB,UAAU,KAAK,EAAE,EAAE;AAC9C,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D;AACA;AACA,KAaK;AACL,IAAI,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;ACtFD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["./node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v3.1.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, plt, win, doc, promiseResolve, H } from '@stencil/core';\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n 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;\n}\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst getDynamicImportFunction = (namespace) => `__sc_import_${namespace.replace(/\\s|-/g, '_')}`;\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim) {\n // shim css vars\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$ = win.__cssshim;\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = \n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n BUILD.scriptDataOpts || BUILD.safari10 || BUILD.dynamicImportShim\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (BUILD.safari10 && 'onbeforeload' in scriptElm && !history.scrollRestoration /* IS_ESM_BUILD */) {\n // Safari < v11 support: This IF is true if it's Safari below v11.\n // This fn cannot use async/await since Safari didn't support it until v11,\n // however, Safari 10 did support modules. Safari 10 also didn't support \"nomodule\",\n // so both the ESM file and nomodule file would get downloaded. Only Safari\n // has 'onbeforeload' in the script, and \"history.scrollRestoration\" was added\n // to Safari in v11. Return a noop then() so the async/await ESM code doesn't continue.\n // IS_ESM_BUILD is replaced at build time so this check doesn't happen in systemjs builds.\n return {\n then() {\n /* promise noop */\n },\n };\n }\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n if (!BUILD.safari10 && importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n }\n else if (BUILD.dynamicImportShim || BUILD.safari10) {\n opts.resourcesUrl = new URL('.', new URL(scriptElm.getAttribute('data-resources-url') || scriptElm.src, win.location.href)).href;\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim) {\n patchDynamicImport(opts.resourcesUrl, scriptElm);\n }\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n if (BUILD.dynamicImportShim && !win.customElements) {\n // module support, but no custom elements support (Old Edge)\n // @ts-ignore\n return import(/* webpackChunkName: \"polyfills-dom\" */ './dom.js').then(() => opts);\n }\n }\n return promiseResolve(opts);\n};\n// TODO(STENCIL-661): Remove code related to the dynamic import shim\nconst patchDynamicImport = (base, orgScriptElm) => {\n const importFunctionName = getDynamicImportFunction(NAMESPACE);\n try {\n // test if this browser supports dynamic imports\n // There is a caching issue in V8, that breaks using import() in Function\n // By generating a random string, we can workaround it\n // Check https://bugs.chromium.org/p/chromium/issues/detail?id=990810 for more info\n win[importFunctionName] = new Function('w', `return import(w);//${Math.random()}`);\n }\n catch (e) {\n // this shim is specifically for browsers that do support \"esm\" imports\n // however, they do NOT support \"dynamic\" imports\n // basically this code is for old Edge, v18 and below\n const moduleMap = new Map();\n win[importFunctionName] = (src) => {\n var _a;\n const url = new URL(src, base).href;\n let mod = moduleMap.get(url);\n if (!mod) {\n const script = doc.createElement('script');\n script.type = 'module';\n script.crossOrigin = orgScriptElm.crossOrigin;\n script.src = URL.createObjectURL(new Blob([`import * as m from '${url}'; window.${importFunctionName}.m = m;`], {\n type: 'application/javascript',\n }));\n // Apply CSP nonce to the script tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n script.setAttribute('nonce', nonce);\n }\n mod = new Promise((resolve) => {\n script.onload = () => {\n resolve(win[importFunctionName].m);\n script.remove();\n };\n });\n moduleMap.set(url, mod);\n doc.head.appendChild(script);\n }\n return mod;\n };\n }\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
@@ -1,3 +1,2 @@
1
1
 
2
-
3
2
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"file":"index.esm.js","mappings":"","names":[],"sources":[],"sourcesContent":[],"version":3}
1
+ {"version":3,"names":[],"sources":[],"mappings":""}