proto-autos-wc 0.1.117 → 0.1.119

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.
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-DWVetjJM.js';
2
- export { s as setNonce } from './index-DWVetjJM.js';
1
+ import { b as bootstrapLazy } from './index-CUeCNkv1.js';
2
+ export { s as setNonce } from './index-CUeCNkv1.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,19 +1,46 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-DWVetjJM.js';
2
- export { s as setNonce } from './index-DWVetjJM.js';
1
+ import { p as promiseResolve, B as BUILD, c as consoleDevInfo, w as win, N as NAMESPACE, H, b as bootstrapLazy } from './index-CUeCNkv1.js';
2
+ export { s as setNonce } from './index-CUeCNkv1.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.38.3 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.39.0 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {
10
+ if (BUILD.isDev && !BUILD.isTesting) {
11
+ consoleDevInfo("Running in development mode.");
12
+ }
13
+ if (BUILD.cloneNodeFix) {
14
+ patchCloneNodeFix(H.prototype);
15
+ }
16
+ const scriptElm = BUILD.scriptDataOpts ? win.document && Array.from(win.document.querySelectorAll("script")).find(
17
+ (s) => new RegExp(`/${NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) || s.getAttribute("data-stencil-namespace") === NAMESPACE
18
+ ) : null;
10
19
  const importMeta = import.meta.url;
11
- const opts = {};
20
+ const opts = BUILD.scriptDataOpts ? (scriptElm || {})["data-opts"] || {} : {};
12
21
  if (importMeta !== "") {
13
22
  opts.resourcesUrl = new URL(".", importMeta).href;
14
23
  }
15
24
  return promiseResolve(opts);
16
25
  };
26
+ var patchCloneNodeFix = (HTMLElementPrototype) => {
27
+ const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;
28
+ HTMLElementPrototype.cloneNode = function(deep) {
29
+ if (this.nodeName === "TEMPLATE") {
30
+ return nativeCloneNodeFn.call(this, deep);
31
+ }
32
+ const clonedNode = nativeCloneNodeFn.call(this, false);
33
+ const srcChildNodes = this.childNodes;
34
+ if (deep) {
35
+ for (let i = 0; i < srcChildNodes.length; i++) {
36
+ if (srcChildNodes[i].nodeType !== 2) {
37
+ clonedNode.appendChild(srcChildNodes[i].cloneNode(true));
38
+ }
39
+ }
40
+ }
41
+ return clonedNode;
42
+ };
43
+ };
17
44
 
18
45
  patchBrowser().then(async (options) => {
19
46
  await globalScripts();
@@ -1,4 +1,4 @@
1
- import { g as getRenderingRef, f as forceUpdate, h, r as registerInstance } from './index-DWVetjJM.js';
1
+ import { S as StencilCore, h, r as registerInstance } from './index-CUeCNkv1.js';
2
2
 
3
3
  const KEY = 'proto-autos';
4
4
  const DATA = 'data';
@@ -21,12 +21,13 @@ const bag = {
21
21
  };
22
22
 
23
23
  const appendToMap = (map, propName, value) => {
24
- const items = map.get(propName);
25
- if (!items) {
26
- map.set(propName, [value]);
24
+ let refs = map.get(propName);
25
+ if (!refs) {
26
+ refs = [];
27
+ map.set(propName, refs);
27
28
  }
28
- else if (!items.includes(value)) {
29
- items.push(value);
29
+ if (!refs.some((ref) => ref.deref() === value)) {
30
+ refs.push(new WeakRef(value));
30
31
  }
31
32
  };
32
33
  const debounce = (fn, ms) => {
@@ -54,33 +55,54 @@ const debounce = (fn, ms) => {
54
55
  const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
55
56
  const cleanupElements = debounce((map) => {
56
57
  for (let key of map.keys()) {
57
- map.set(key, map.get(key).filter(isConnected));
58
+ const refs = map.get(key).filter((ref) => {
59
+ const elm = ref.deref();
60
+ return elm && isConnected(elm);
61
+ });
62
+ map.set(key, refs);
58
63
  }
59
64
  }, 2_000);
65
+ const core = StencilCore;
66
+ const forceUpdate = core.forceUpdate;
67
+ const getRenderingRef = core.getRenderingRef;
60
68
  const stencilSubscription = () => {
61
- if (typeof getRenderingRef !== 'function') {
69
+ if (typeof getRenderingRef !== 'function' || typeof forceUpdate !== 'function') {
62
70
  // If we are not in a stencil project, we do nothing.
63
71
  // This function is not really exported by @stencil/core.
64
72
  return {};
65
73
  }
74
+ const ensureForceUpdate = forceUpdate;
75
+ const ensureGetRenderingRef = getRenderingRef;
66
76
  const elmsToUpdate = new Map();
67
77
  return {
68
78
  dispose: () => elmsToUpdate.clear(),
69
79
  get: (propName) => {
70
- const elm = getRenderingRef();
80
+ const elm = ensureGetRenderingRef();
71
81
  if (elm) {
72
82
  appendToMap(elmsToUpdate, propName, elm);
73
83
  }
74
84
  },
75
85
  set: (propName) => {
76
- const elements = elmsToUpdate.get(propName);
77
- if (elements) {
78
- elmsToUpdate.set(propName, elements.filter(forceUpdate));
86
+ const refs = elmsToUpdate.get(propName);
87
+ if (refs) {
88
+ const nextRefs = refs.filter((ref) => {
89
+ const elm = ref.deref();
90
+ if (!elm)
91
+ return false;
92
+ return ensureForceUpdate(elm);
93
+ });
94
+ elmsToUpdate.set(propName, nextRefs);
79
95
  }
80
96
  cleanupElements(elmsToUpdate);
81
97
  },
82
98
  reset: () => {
83
- elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));
99
+ elmsToUpdate.forEach((refs) => {
100
+ refs.forEach((ref) => {
101
+ const elm = ref.deref();
102
+ if (elm)
103
+ ensureForceUpdate(elm);
104
+ });
105
+ });
84
106
  cleanupElements(elmsToUpdate);
85
107
  },
86
108
  };
@@ -88,8 +110,11 @@ const stencilSubscription = () => {
88
110
 
89
111
  const unwrap = (val) => (typeof val === 'function' ? val() : val);
90
112
  const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
91
- const unwrappedState = unwrap(defaultState);
92
- let states = new Map(Object.entries(unwrappedState ?? {}));
113
+ const resolveDefaultState = () => (unwrap(defaultState) ?? {});
114
+ const initialState = resolveDefaultState();
115
+ let states = new Map(Object.entries(initialState));
116
+ const proxyAvailable = typeof Proxy !== 'undefined';
117
+ const plainState = proxyAvailable ? null : {};
93
118
  const handlers = {
94
119
  dispose: [],
95
120
  get: [],
@@ -101,7 +126,10 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
101
126
  const reset = () => {
102
127
  // When resetting the state, the default state may be a function - unwrap it to invoke it.
103
128
  // otherwise, the state won't be properly reset
104
- states = new Map(Object.entries(unwrap(defaultState) ?? {}));
129
+ states = new Map(Object.entries(resolveDefaultState()));
130
+ if (!proxyAvailable) {
131
+ syncPlainStateKeys();
132
+ }
105
133
  handlers.reset.forEach((cb) => cb());
106
134
  };
107
135
  const dispose = () => {
@@ -118,12 +146,14 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
118
146
  const oldValue = states.get(propName);
119
147
  if (shouldUpdate(value, oldValue, propName)) {
120
148
  states.set(propName, value);
149
+ if (!proxyAvailable) {
150
+ ensurePlainProperty(propName);
151
+ }
121
152
  handlers.set.forEach((cb) => cb(propName, value, oldValue));
122
153
  }
123
154
  };
124
- const state = (typeof Proxy === 'undefined'
125
- ? {}
126
- : new Proxy(unwrappedState, {
155
+ const state = (proxyAvailable
156
+ ? new Proxy(initialState, {
127
157
  get(_, propName) {
128
158
  return get(propName);
129
159
  },
@@ -143,7 +173,11 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
143
173
  set(propName, value);
144
174
  return true;
145
175
  },
146
- }));
176
+ })
177
+ : (() => {
178
+ syncPlainStateKeys();
179
+ return plainState;
180
+ })());
147
181
  const on = (eventName, callback) => {
148
182
  handlers[eventName].push(callback);
149
183
  return () => {
@@ -156,7 +190,10 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
156
190
  cb(newValue);
157
191
  }
158
192
  };
159
- const resetHandler = () => cb(unwrap(defaultState)[propName]);
193
+ const resetHandler = () => {
194
+ const snapshot = resolveDefaultState();
195
+ cb(snapshot[propName]);
196
+ };
160
197
  // Register the handlers
161
198
  const unSet = on('set', setHandler);
162
199
  const unReset = on('reset', resetHandler);
@@ -199,6 +236,38 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
199
236
  changeListeners.delete(listener);
200
237
  }
201
238
  };
239
+ function ensurePlainProperty(key) {
240
+ if (proxyAvailable || !plainState) {
241
+ return;
242
+ }
243
+ if (Object.prototype.hasOwnProperty.call(plainState, key)) {
244
+ return;
245
+ }
246
+ Object.defineProperty(plainState, key, {
247
+ configurable: true,
248
+ enumerable: true,
249
+ get() {
250
+ return get(key);
251
+ },
252
+ set(value) {
253
+ set(key, value);
254
+ },
255
+ });
256
+ }
257
+ function syncPlainStateKeys() {
258
+ if (proxyAvailable || !plainState) {
259
+ return;
260
+ }
261
+ const knownKeys = new Set(states.keys());
262
+ for (const key of Object.keys(plainState)) {
263
+ if (!knownKeys.has(key)) {
264
+ delete plainState[key];
265
+ }
266
+ }
267
+ for (const key of knownKeys) {
268
+ ensurePlainProperty(key);
269
+ }
270
+ }
202
271
  return {
203
272
  state,
204
273
  get,
@@ -901,7 +970,386 @@ const ToolBar = _props => {
901
970
  : 'bg-clrs-yellow text-clrs-navy'), onClick: () => actions.updatePick(indx), title: `${dealer.name} (${dealer.vehicles.length})` }, indx + 1))))));
902
971
  };
903
972
 
904
- const shadowCss = "/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root,\n :host {\n --font-sans:\n ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',\n 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n --color-yellow-300: oklch(90.5% 0.182 98.111);\n --color-yellow-600: oklch(68.1% 0.162 75.834);\n --color-green-200: oklch(92.5% 0.084 155.995);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-200: oklch(88.2% 0.059 254.128);\n --color-blue-400: oklch(70.7% 0.165 254.624);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-white: #fff;\n --spacing: 0.25rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-6xl: 3.75rem;\n --text-6xl--line-height: 1;\n --font-weight-thin: 100;\n --font-weight-bold: 700;\n --radius-md: 0.375rem;\n --radius-lg: 0.5rem;\n --animate-spin: spin 1s linear infinite;\n }\n}\n@layer utilities {\n .absolute {\n position: absolute;\n }\n .relative {\n position: relative;\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .right-0 {\n right: calc(var(--spacing) * 0);\n }\n .m-6 {\n margin: calc(var(--spacing) * 6);\n }\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mt-11 {\n margin-top: calc(var(--spacing) * 11);\n }\n .mr-0 {\n margin-right: calc(var(--spacing) * 0);\n }\n .mr-1\\.5 {\n margin-right: calc(var(--spacing) * 1.5);\n }\n .mr-2 {\n margin-right: calc(var(--spacing) * 2);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-11 {\n margin-bottom: calc(var(--spacing) * 11);\n }\n .ml-0 {\n margin-left: calc(var(--spacing) * 0);\n }\n .ml-auto {\n margin-left: auto;\n }\n .flex {\n display: flex;\n }\n .inline-flex {\n display: inline-flex;\n }\n .h-8 {\n height: calc(var(--spacing) * 8);\n }\n .w-8 {\n width: calc(var(--spacing) * 8);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .flex-wrap {\n flex-wrap: wrap;\n }\n .content-center {\n align-content: center;\n }\n .justify-end {\n justify-content: flex-end;\n }\n .self-center {\n align-self: center;\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .rounded-none {\n border-radius: 0;\n }\n .rounded-tl-md {\n border-top-left-radius: var(--radius-md);\n }\n .rounded-tl-none {\n border-top-left-radius: 0;\n }\n .rounded-tr-md {\n border-top-right-radius: var(--radius-md);\n }\n .rounded-tr-none {\n border-top-right-radius: 0;\n }\n .rounded-br-md {\n border-bottom-right-radius: var(--radius-md);\n }\n .rounded-br-none {\n border-bottom-right-radius: 0;\n }\n .rounded-bl-md {\n border-bottom-left-radius: var(--radius-md);\n }\n .rounded-bl-none {\n border-bottom-left-radius: 0;\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-r-0 {\n border-right-style: var(--tw-border-style);\n border-right-width: 0px;\n }\n .border-b-0 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 0px;\n }\n .border-l-0 {\n border-left-style: var(--tw-border-style);\n border-left-width: 0px;\n }\n .border-none {\n --tw-border-style: none;\n border-style: none;\n }\n .border-solid {\n --tw-border-style: solid;\n border-style: solid;\n }\n .border-blue-400 {\n border-color: var(--color-blue-400);\n }\n .border-clrs-navy {\n border-color: var(--clrs-navy, #001f3f);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-gray-600 {\n border-color: var(--color-gray-600);\n }\n .border-green-600 {\n border-color: var(--color-green-600);\n }\n .border-yellow-600 {\n border-color: var(--color-yellow-600);\n }\n .bg-blue-200 {\n background-color: var(--color-blue-200);\n }\n .bg-clrs-navy {\n background-color: var(--clrs-navy, #001f3f);\n }\n .bg-clrs-red {\n background-color: var(--clrs-red, #ff4136);\n }\n .bg-clrs-yellow {\n background-color: var(--clrs-yellow, #ffdc00);\n }\n .bg-gray-300 {\n background-color: var(--color-gray-300);\n }\n .bg-green-200 {\n background-color: var(--color-green-200);\n }\n .bg-yellow-300 {\n background-color: var(--color-yellow-300);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .text-center {\n text-align: center;\n }\n .text-right {\n text-align: right;\n }\n .align-middle {\n vertical-align: middle;\n }\n .align-top {\n vertical-align: top;\n }\n .font-sans {\n font-family: var(--font-sans);\n }\n .text-6xl {\n font-size: var(--text-6xl);\n line-height: var(--tw-leading, var(--text-6xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-thin {\n --tw-font-weight: var(--font-weight-thin);\n font-weight: var(--font-weight-thin);\n }\n .text-clrs-gray {\n color: var(--clrs-gray, #aaaaaa);\n }\n .text-clrs-navy {\n color: var(--clrs-navy, #001f3f);\n }\n .text-clrs-red {\n color: var(--clrs-red, #ff4136);\n }\n .text-clrs-slate4 {\n color: var(--clrs-slate4, #4e5964);\n }\n .text-clrs-white {\n color: var(--clrs-white, #ffffff);\n }\n .text-white {\n color: var(--color-white);\n }\n .uppercase {\n text-transform: uppercase;\n }\n .italic {\n font-style: italic;\n }\n .opacity-25 {\n opacity: 25%;\n }\n .opacity-75 {\n opacity: 75%;\n }\n .shadow {\n --tw-shadow:\n 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)),\n 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow:\n var(--tw-inset-shadow), var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .hover\\:text-clrs-navy {\n &:hover {\n @media (hover: hover) {\n color: var(--clrs-navy, #001f3f);\n }\n }\n }\n .hover\\:text-clrs-red {\n &:hover {\n @media (hover: hover) {\n color: var(--clrs-red, #ff4136);\n }\n }\n }\n .md\\:w-auto {\n @media (width >= 48rem) {\n width: auto;\n }\n }\n}\n@layer components {\n .ds1-main {\n margin: calc(var(--spacing) * 6);\n display: flex;\n flex-direction: column;\n font-family: var(--font-sans);\n color: var(--clrs-navy, #001f3f);\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n}\n.ikon {\n height: 96px;\n width: 96px;\n}\n@media (min-width: 500px) {\n .ikon {\n height: 144px;\n width: 144px;\n }\n}\n@media (min-width: 700px) {\n .ikon {\n height: 192px;\n width: 192px;\n }\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or\n ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {\n *,\n ::before,\n ::after,\n ::backdrop {\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n }\n }\n}\n";
973
+ const shadowCss = () => `/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
974
+ @layer properties;
975
+ @layer theme, base, components, utilities;
976
+ @layer theme {
977
+ :root,
978
+ :host {
979
+ --font-sans:
980
+ ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
981
+ 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
982
+ --color-yellow-300: oklch(90.5% 0.182 98.111);
983
+ --color-yellow-600: oklch(68.1% 0.162 75.834);
984
+ --color-green-200: oklch(92.5% 0.084 155.995);
985
+ --color-green-600: oklch(62.7% 0.194 149.214);
986
+ --color-blue-200: oklch(88.2% 0.059 254.128);
987
+ --color-blue-400: oklch(70.7% 0.165 254.624);
988
+ --color-gray-300: oklch(87.2% 0.01 258.338);
989
+ --color-gray-600: oklch(44.6% 0.03 256.802);
990
+ --color-white: #fff;
991
+ --spacing: 0.25rem;
992
+ --text-xs: 0.75rem;
993
+ --text-xs--line-height: calc(1 / 0.75);
994
+ --text-sm: 0.875rem;
995
+ --text-sm--line-height: calc(1.25 / 0.875);
996
+ --text-lg: 1.125rem;
997
+ --text-lg--line-height: calc(1.75 / 1.125);
998
+ --text-xl: 1.25rem;
999
+ --text-xl--line-height: calc(1.75 / 1.25);
1000
+ --text-6xl: 3.75rem;
1001
+ --text-6xl--line-height: 1;
1002
+ --font-weight-thin: 100;
1003
+ --font-weight-bold: 700;
1004
+ --radius-md: 0.375rem;
1005
+ --radius-lg: 0.5rem;
1006
+ --animate-spin: spin 1s linear infinite;
1007
+ }
1008
+ }
1009
+ @layer utilities {
1010
+ .absolute {
1011
+ position: absolute;
1012
+ }
1013
+ .relative {
1014
+ position: relative;
1015
+ }
1016
+ .top-0 {
1017
+ top: calc(var(--spacing) * 0);
1018
+ }
1019
+ .right-0 {
1020
+ right: calc(var(--spacing) * 0);
1021
+ }
1022
+ .m-6 {
1023
+ margin: calc(var(--spacing) * 6);
1024
+ }
1025
+ .mt-2 {
1026
+ margin-top: calc(var(--spacing) * 2);
1027
+ }
1028
+ .mt-4 {
1029
+ margin-top: calc(var(--spacing) * 4);
1030
+ }
1031
+ .mt-11 {
1032
+ margin-top: calc(var(--spacing) * 11);
1033
+ }
1034
+ .mr-0 {
1035
+ margin-right: calc(var(--spacing) * 0);
1036
+ }
1037
+ .mr-1\.5 {
1038
+ margin-right: calc(var(--spacing) * 1.5);
1039
+ }
1040
+ .mr-2 {
1041
+ margin-right: calc(var(--spacing) * 2);
1042
+ }
1043
+ .mb-1 {
1044
+ margin-bottom: calc(var(--spacing) * 1);
1045
+ }
1046
+ .mb-2 {
1047
+ margin-bottom: calc(var(--spacing) * 2);
1048
+ }
1049
+ .mb-4 {
1050
+ margin-bottom: calc(var(--spacing) * 4);
1051
+ }
1052
+ .mb-11 {
1053
+ margin-bottom: calc(var(--spacing) * 11);
1054
+ }
1055
+ .ml-0 {
1056
+ margin-left: calc(var(--spacing) * 0);
1057
+ }
1058
+ .ml-auto {
1059
+ margin-left: auto;
1060
+ }
1061
+ .flex {
1062
+ display: flex;
1063
+ }
1064
+ .inline-flex {
1065
+ display: inline-flex;
1066
+ }
1067
+ .h-8 {
1068
+ height: calc(var(--spacing) * 8);
1069
+ }
1070
+ .w-8 {
1071
+ width: calc(var(--spacing) * 8);
1072
+ }
1073
+ .animate-spin {
1074
+ animation: var(--animate-spin);
1075
+ }
1076
+ .flex-col {
1077
+ flex-direction: column;
1078
+ }
1079
+ .flex-row {
1080
+ flex-direction: row;
1081
+ }
1082
+ .flex-wrap {
1083
+ flex-wrap: wrap;
1084
+ }
1085
+ .content-center {
1086
+ align-content: center;
1087
+ }
1088
+ .justify-end {
1089
+ justify-content: flex-end;
1090
+ }
1091
+ .self-center {
1092
+ align-self: center;
1093
+ }
1094
+ .rounded-lg {
1095
+ border-radius: var(--radius-lg);
1096
+ }
1097
+ .rounded-md {
1098
+ border-radius: var(--radius-md);
1099
+ }
1100
+ .rounded-none {
1101
+ border-radius: 0;
1102
+ }
1103
+ .rounded-tl-md {
1104
+ border-top-left-radius: var(--radius-md);
1105
+ }
1106
+ .rounded-tl-none {
1107
+ border-top-left-radius: 0;
1108
+ }
1109
+ .rounded-tr-md {
1110
+ border-top-right-radius: var(--radius-md);
1111
+ }
1112
+ .rounded-tr-none {
1113
+ border-top-right-radius: 0;
1114
+ }
1115
+ .rounded-br-md {
1116
+ border-bottom-right-radius: var(--radius-md);
1117
+ }
1118
+ .rounded-br-none {
1119
+ border-bottom-right-radius: 0;
1120
+ }
1121
+ .rounded-bl-md {
1122
+ border-bottom-left-radius: var(--radius-md);
1123
+ }
1124
+ .rounded-bl-none {
1125
+ border-bottom-left-radius: 0;
1126
+ }
1127
+ .border {
1128
+ border-style: var(--tw-border-style);
1129
+ border-width: 1px;
1130
+ }
1131
+ .border-r-0 {
1132
+ border-right-style: var(--tw-border-style);
1133
+ border-right-width: 0px;
1134
+ }
1135
+ .border-b-0 {
1136
+ border-bottom-style: var(--tw-border-style);
1137
+ border-bottom-width: 0px;
1138
+ }
1139
+ .border-l-0 {
1140
+ border-left-style: var(--tw-border-style);
1141
+ border-left-width: 0px;
1142
+ }
1143
+ .border-none {
1144
+ --tw-border-style: none;
1145
+ border-style: none;
1146
+ }
1147
+ .border-solid {
1148
+ --tw-border-style: solid;
1149
+ border-style: solid;
1150
+ }
1151
+ .border-blue-400 {
1152
+ border-color: var(--color-blue-400);
1153
+ }
1154
+ .border-clrs-navy {
1155
+ border-color: var(--clrs-navy, #001f3f);
1156
+ }
1157
+ .border-gray-300 {
1158
+ border-color: var(--color-gray-300);
1159
+ }
1160
+ .border-gray-600 {
1161
+ border-color: var(--color-gray-600);
1162
+ }
1163
+ .border-green-600 {
1164
+ border-color: var(--color-green-600);
1165
+ }
1166
+ .border-yellow-600 {
1167
+ border-color: var(--color-yellow-600);
1168
+ }
1169
+ .bg-blue-200 {
1170
+ background-color: var(--color-blue-200);
1171
+ }
1172
+ .bg-clrs-navy {
1173
+ background-color: var(--clrs-navy, #001f3f);
1174
+ }
1175
+ .bg-clrs-red {
1176
+ background-color: var(--clrs-red, #ff4136);
1177
+ }
1178
+ .bg-clrs-yellow {
1179
+ background-color: var(--clrs-yellow, #ffdc00);
1180
+ }
1181
+ .bg-gray-300 {
1182
+ background-color: var(--color-gray-300);
1183
+ }
1184
+ .bg-green-200 {
1185
+ background-color: var(--color-green-200);
1186
+ }
1187
+ .bg-yellow-300 {
1188
+ background-color: var(--color-yellow-300);
1189
+ }
1190
+ .p-4 {
1191
+ padding: calc(var(--spacing) * 4);
1192
+ }
1193
+ .text-center {
1194
+ text-align: center;
1195
+ }
1196
+ .text-right {
1197
+ text-align: right;
1198
+ }
1199
+ .align-middle {
1200
+ vertical-align: middle;
1201
+ }
1202
+ .align-top {
1203
+ vertical-align: top;
1204
+ }
1205
+ .font-sans {
1206
+ font-family: var(--font-sans);
1207
+ }
1208
+ .text-6xl {
1209
+ font-size: var(--text-6xl);
1210
+ line-height: var(--tw-leading, var(--text-6xl--line-height));
1211
+ }
1212
+ .text-lg {
1213
+ font-size: var(--text-lg);
1214
+ line-height: var(--tw-leading, var(--text-lg--line-height));
1215
+ }
1216
+ .text-sm {
1217
+ font-size: var(--text-sm);
1218
+ line-height: var(--tw-leading, var(--text-sm--line-height));
1219
+ }
1220
+ .text-xl {
1221
+ font-size: var(--text-xl);
1222
+ line-height: var(--tw-leading, var(--text-xl--line-height));
1223
+ }
1224
+ .text-xs {
1225
+ font-size: var(--text-xs);
1226
+ line-height: var(--tw-leading, var(--text-xs--line-height));
1227
+ }
1228
+ .font-bold {
1229
+ --tw-font-weight: var(--font-weight-bold);
1230
+ font-weight: var(--font-weight-bold);
1231
+ }
1232
+ .font-thin {
1233
+ --tw-font-weight: var(--font-weight-thin);
1234
+ font-weight: var(--font-weight-thin);
1235
+ }
1236
+ .text-clrs-gray {
1237
+ color: var(--clrs-gray, #aaaaaa);
1238
+ }
1239
+ .text-clrs-navy {
1240
+ color: var(--clrs-navy, #001f3f);
1241
+ }
1242
+ .text-clrs-red {
1243
+ color: var(--clrs-red, #ff4136);
1244
+ }
1245
+ .text-clrs-slate4 {
1246
+ color: var(--clrs-slate4, #4e5964);
1247
+ }
1248
+ .text-clrs-white {
1249
+ color: var(--clrs-white, #ffffff);
1250
+ }
1251
+ .text-white {
1252
+ color: var(--color-white);
1253
+ }
1254
+ .uppercase {
1255
+ text-transform: uppercase;
1256
+ }
1257
+ .italic {
1258
+ font-style: italic;
1259
+ }
1260
+ .opacity-25 {
1261
+ opacity: 25%;
1262
+ }
1263
+ .opacity-75 {
1264
+ opacity: 75%;
1265
+ }
1266
+ .shadow {
1267
+ --tw-shadow:
1268
+ 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)),
1269
+ 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
1270
+ box-shadow:
1271
+ var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
1272
+ var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1273
+ }
1274
+ .hover\:text-clrs-navy {
1275
+ &:hover {
1276
+ @media (hover: hover) {
1277
+ color: var(--clrs-navy, #001f3f);
1278
+ }
1279
+ }
1280
+ }
1281
+ .hover\:text-clrs-red {
1282
+ &:hover {
1283
+ @media (hover: hover) {
1284
+ color: var(--clrs-red, #ff4136);
1285
+ }
1286
+ }
1287
+ }
1288
+ .md\:w-auto {
1289
+ @media (width >= 48rem) {
1290
+ width: auto;
1291
+ }
1292
+ }
1293
+ }
1294
+ @layer components {
1295
+ .ds1-main {
1296
+ margin: calc(var(--spacing) * 6);
1297
+ display: flex;
1298
+ flex-direction: column;
1299
+ font-family: var(--font-sans);
1300
+ color: var(--clrs-navy, #001f3f);
1301
+ -webkit-font-smoothing: antialiased;
1302
+ -moz-osx-font-smoothing: grayscale;
1303
+ }
1304
+ }
1305
+ .ikon {
1306
+ height: 96px;
1307
+ width: 96px;
1308
+ }
1309
+ @media (min-width: 500px) {
1310
+ .ikon {
1311
+ height: 144px;
1312
+ width: 144px;
1313
+ }
1314
+ }
1315
+ @media (min-width: 700px) {
1316
+ .ikon {
1317
+ height: 192px;
1318
+ width: 192px;
1319
+ }
1320
+ }
1321
+ @keyframes spin {
1322
+ to {
1323
+ transform: rotate(360deg);
1324
+ }
1325
+ }
1326
+ @layer properties {
1327
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or
1328
+ ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
1329
+ *,
1330
+ ::before,
1331
+ ::after,
1332
+ ::backdrop {
1333
+ --tw-border-style: solid;
1334
+ --tw-font-weight: initial;
1335
+ --tw-shadow: 0 0 #0000;
1336
+ --tw-shadow-color: initial;
1337
+ --tw-shadow-alpha: 100%;
1338
+ --tw-inset-shadow: 0 0 #0000;
1339
+ --tw-inset-shadow-color: initial;
1340
+ --tw-inset-shadow-alpha: 100%;
1341
+ --tw-ring-color: initial;
1342
+ --tw-ring-shadow: 0 0 #0000;
1343
+ --tw-inset-ring-color: initial;
1344
+ --tw-inset-ring-shadow: 0 0 #0000;
1345
+ --tw-ring-inset: initial;
1346
+ --tw-ring-offset-width: 0px;
1347
+ --tw-ring-offset-color: #fff;
1348
+ --tw-ring-offset-shadow: 0 0 #0000;
1349
+ }
1350
+ }
1351
+ }
1352
+ `;
905
1353
 
906
1354
  const ProtoAutos = class {
907
1355
  constructor(hostRef) {
@@ -916,6 +1364,6 @@ const ProtoAutos = class {
916
1364
  return (h("main", { key: 'eb918bee95389cd4c78c6a7b3134ada507c5a042', id: "app", class: "ds1-main relative" }, h(Eswat2Io, { key: 'efa617ee04ddd6c58650d1cf4d00f899c3520efa' }), h(Header, { key: '6762516c1c9fc2d4490e9343d75f4f09f657fae6', label: "Auto Dealers" }), h(ToolBar, { key: 'ce1aeeb560729f66726b859d6f9d5a4a410703b1' }), loading ? (h(Spinner, null)) : (h("hr", { class: tw('mb-4 ml-0 mr-0 mt-4', 'border-solid border-gray-300', 'border-b-0 border-l-0 border-r-0') })), h(DealerView, { key: '63ef8ba16a60533a147c06e126442e9f2481f8fe', dealer: dealer }), h(Footer, { key: '00d32c34fcf933386a5e5f920e09f02f95dbfbf1' })));
917
1365
  }
918
1366
  };
919
- ProtoAutos.style = shadowCss;
1367
+ ProtoAutos.style = shadowCss();
920
1368
 
921
1369
  export { ProtoAutos as proto_autos };