adp-web-components 0.0.30 → 0.0.32

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 (89) hide show
  1. package/dist/cjs/dead-stock-lookup.cjs.entry.js +16 -4
  2. package/dist/cjs/distributor-lookup.cjs.entry.js +15 -3
  3. package/dist/cjs/dynamic-claim_6.cjs.entry.js +21 -13
  4. package/dist/cjs/dynamic-redeem.cjs.entry.js +1 -1
  5. package/dist/cjs/{get-local-language-42973450.js → get-local-language-6b6b182f.js} +2 -9
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/manufacturer-lookup.cjs.entry.js +16 -4
  8. package/dist/cjs/{partInformation-2b4e0593.js → partInformation-16ea1f8e.js} +1 -1
  9. package/dist/cjs/shift-components.cjs.js +1 -1
  10. package/dist/collection/components/part-lookup/dead-stock-lookup.js +45 -6
  11. package/dist/collection/components/part-lookup/distributor-lookup.js +43 -4
  12. package/dist/collection/components/part-lookup/manufacturer-lookup.js +45 -6
  13. package/dist/collection/components/vehicle-lookup/dynamic-claim.js +3 -2
  14. package/dist/collection/components/vehicle-lookup/paint-thickness.js +4 -3
  15. package/dist/collection/components/vehicle-lookup/service-history.js +2 -1
  16. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +4 -3
  17. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +4 -1
  18. package/dist/collection/components/vehicle-lookup/warranty-details.js +2 -1
  19. package/dist/collection/global/api/partInformation.js +1 -1
  20. package/dist/collection/global/api/vehicleInformation.js +1 -1
  21. package/dist/collection/global/types/locales/error-schema.js +2 -0
  22. package/dist/collection/global/types/locales/vehicle-lookup/dynamic-redeem-schema.js +0 -9
  23. package/dist/components/dead-stock-lookup.js +1 -1
  24. package/dist/components/distributor-lookup.js +1 -1
  25. package/dist/components/dynamic-claim.js +1 -1
  26. package/dist/components/dynamic-redeem.js +1 -1
  27. package/dist/components/manufacturer-lookup.js +1 -1
  28. package/dist/components/p-166573a8.js +5 -0
  29. package/dist/components/p-27603946.js +5 -0
  30. package/dist/components/p-41d63f74.js +5 -0
  31. package/dist/components/p-5d492eec.js +5 -0
  32. package/dist/components/p-6c720036.js +5 -0
  33. package/dist/components/p-8b1d90d7.js +5 -0
  34. package/dist/components/{p-0ae60f32.js → p-9b821a7e.js} +1 -1
  35. package/dist/components/p-a83ffeb1.js +5 -0
  36. package/dist/components/p-c76ffad2.js +5 -0
  37. package/dist/components/{p-6c064413.js → p-e30d8e8f.js} +1 -1
  38. package/dist/components/p-f99c8b2f.js +5 -0
  39. package/dist/components/paint-thickness.js +1 -1
  40. package/dist/components/service-history.js +1 -1
  41. package/dist/components/vehicle-accessories.js +1 -1
  42. package/dist/components/vehicle-lookup.js +1 -1
  43. package/dist/components/vehicle-specification.js +1 -1
  44. package/dist/components/warranty-details.js +1 -1
  45. package/dist/esm/dead-stock-lookup.entry.js +16 -4
  46. package/dist/esm/distributor-lookup.entry.js +15 -3
  47. package/dist/esm/dynamic-claim_6.entry.js +21 -13
  48. package/dist/esm/dynamic-redeem.entry.js +1 -1
  49. package/dist/esm/{get-local-language-85ed0b3b.js → get-local-language-554f1f34.js} +2 -9
  50. package/dist/esm/loader.js +1 -1
  51. package/dist/esm/manufacturer-lookup.entry.js +16 -4
  52. package/dist/esm/{partInformation-f40b1fe6.js → partInformation-ba1470e1.js} +1 -1
  53. package/dist/esm/shift-components.js +1 -1
  54. package/dist/locales/ar.json +4 -12
  55. package/dist/locales/en.json +4 -12
  56. package/dist/locales/ku.json +4 -12
  57. package/dist/shift-components/p-4a5ba0d7.entry.js +5 -0
  58. package/dist/shift-components/p-60c334c8.entry.js +5 -0
  59. package/dist/shift-components/p-962897dc.js +5 -0
  60. package/dist/shift-components/p-9cf24b05.entry.js +5 -0
  61. package/dist/shift-components/p-a8e5596d.entry.js +5 -0
  62. package/dist/shift-components/{p-1de8531d.entry.js → p-d075be6d.entry.js} +1 -1
  63. package/dist/shift-components/p-f99c8b2f.js +5 -0
  64. package/dist/shift-components/shift-components.esm.js +1 -1
  65. package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +8 -3
  66. package/dist/types/components/part-lookup/distributor-lookup.d.ts +7 -2
  67. package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +7 -2
  68. package/dist/types/components.d.ts +8 -2
  69. package/dist/types/global/types/locales/error-schema.d.ts +4 -0
  70. package/dist/types/global/types/locales/index.d.ts +4 -18
  71. package/dist/types/global/types/locales/vehicle-lookup/dynamic-redeem-schema.d.ts +0 -18
  72. package/dist/types/global/types/locales/vehicle-lookup/index.d.ts +0 -18
  73. package/package.json +1 -1
  74. package/dist/components/p-1d80419b.js +0 -5
  75. package/dist/components/p-1ea3089a.js +0 -5
  76. package/dist/components/p-2e747eb3.js +0 -5
  77. package/dist/components/p-4f99745c.js +0 -5
  78. package/dist/components/p-609c2470.js +0 -5
  79. package/dist/components/p-7360f9b1.js +0 -5
  80. package/dist/components/p-79ea7639.js +0 -5
  81. package/dist/components/p-d466b65f.js +0 -5
  82. package/dist/components/p-eb89583a.js +0 -5
  83. package/dist/components/p-f691e103.js +0 -5
  84. package/dist/shift-components/p-062cd94b.entry.js +0 -5
  85. package/dist/shift-components/p-0e0b69a1.entry.js +0 -5
  86. package/dist/shift-components/p-2e747eb3.js +0 -5
  87. package/dist/shift-components/p-c4efbdc3.js +0 -5
  88. package/dist/shift-components/p-d49f73db.entry.js +0 -5
  89. package/dist/shift-components/p-e36c54d0.entry.js +0 -5
@@ -7,9 +7,11 @@
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-846c93d2.js');
10
- const partInformation = require('./partInformation-2b4e0593.js');
11
- const Loading = require('./Loading-6f4f0127.js');
10
+ const getLocalLanguage = require('./get-local-language-6b6b182f.js');
12
11
  const cn = require('./cn-f559f9e5.js');
12
+ const Loading = require('./Loading-6f4f0127.js');
13
+ const partInformation = require('./partInformation-16ea1f8e.js');
14
+ require('./index.esm-c628daeb.js');
13
15
 
14
16
  const deadStockLookupCss = "*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.block{display:block}:host{all:initial!important;display:block}*{font-family:Arial}.static{position:static}.relative{position:relative}.mx-auto{margin-left:auto;margin-right:auto}.mb-\\[10px\\]{margin-bottom:10px}.mt-\\[12px\\]{margin-top:12px}.flex{display:flex}.table{display:table}.size-\\[22px\\]{height:22px;width:22px}.h-\\[40px\\]{height:40px}.max-h-\\[70dvh\\]{max-height:70dvh}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.w-full{width:100%}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.scale-0{--tw-scale-x:0;--tw-scale-y:0}.scale-0,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[8px\\]{border-radius:8px}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-\\[\\#d6d8dc\\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.bg-\\[\\#e1e3e5\\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.px-\\[10px\\]{padding-left:10px;padding-right:10px}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.px-\\[20px\\]{padding-left:20px;padding-right:20px}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[20px\\]{padding-bottom:20px;padding-top:20px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.text-left{text-align:left}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.text-\\[\\#383c43\\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.text-slate-800{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.last\\:border-none:last-child{border-style:none}.hover\\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.z-50{z-index:50}.size-\\[40px\\]{height:40px;width:40px}.size-full{height:100%;width:100%}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin-2s{animation:spin 2s linear infinite}";
15
17
  const DeadStockLookupStyle0 = deadStockLookupCss;
@@ -22,12 +24,20 @@ const DeadStockLookup = class {
22
24
  this.baseUrl = '';
23
25
  this.isDev = false;
24
26
  this.queryString = '';
27
+ this.language = 'en';
25
28
  this.loadingStateChange = undefined;
26
29
  this.loadedResponse = undefined;
27
30
  this.state = 'idle';
28
- this.externalPartNumber = null;
29
31
  this.errorMessage = null;
30
32
  this.partInformation = undefined;
33
+ this.externalPartNumber = null;
34
+ this.locale = getLocalLanguage.localeSchema.getDefault();
35
+ }
36
+ async componentWillLoad() {
37
+ await this.changeLanguage(this.language);
38
+ }
39
+ async changeLanguage(newLanguage) {
40
+ this.locale = await getLocalLanguage.getLocaleLanguage(newLanguage);
31
41
  }
32
42
  handleSettingData(response) {
33
43
  this.partInformation = response;
@@ -67,6 +77,7 @@ const DeadStockLookup = class {
67
77
  catch (error) {
68
78
  if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
69
79
  return;
80
+ console.error(error);
70
81
  this.state = 'error';
71
82
  this.partInformation = null;
72
83
  this.errorMessage = error.message;
@@ -101,11 +112,12 @@ const DeadStockLookup = class {
101
112
  }
102
113
  render() {
103
114
  var _a, _b;
104
- return (index.h(index.Host, { key: '03aef07a1e5e865b5be77ac81b4163c261f223ce' }, index.h("div", { key: '4321c798cc413935ac3c265153bdaf0e3da259ee', class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: 'e00955d62aaaf6bca3b5a61cf3a0ef93fa5ff2f1' }, index.h(Loading.Loading, { key: '631fc0d4a96a45977f424952228c8f883bb33098', isLoading: this.state.includes('loading') }), index.h("div", { key: 'd74b04789c6a6b53e3a7d667997cf7128bb5fe78', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: '6902d2ef4bb02cbf05a2ced4fd6032f903245129', class: "py-[16px]" }, index.h("div", { key: 'd4b60c476c81d5420f3473239b3b66e98e41958d', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.errorMessage))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '7211f030324cf03bd01b30f24cd3822306013080' }, index.h("div", { key: '55e6f4877a8298f5d0b2f74f996c6c82c10a0977', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: 'fff37c9f8b072183cd45df22382ad10362772cbb', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, "Dead stock"), (_b = (_a = this.partInformation) === null || _a === void 0 ? void 0 : _a.deadStock) === null || _b === void 0 ? void 0 :
115
+ return (index.h(index.Host, { key: '6e4ae6ad08a5ddc15fe5146953d1d2a07038835d' }, index.h("div", { key: '85c386f5c877f71d064be8f308e4408c01155eb1', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: '71930858160fcaacfe90d18bea2c48bb413c9e9c' }, index.h(Loading.Loading, { key: '4d1f90ee35055e7046b0df380a631b8ca65aa62f', isLoading: this.state.includes('loading') }), index.h("div", { key: 'b5c3e8ec0f8560363f8268e1975c7ca039b6edbb', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: '3e928834d4562f5cbe05e451768b668fc9067e61', class: "py-[16px]" }, index.h("div", { key: '6dd21bc59f9636a706f4094364eeab7141a88c52', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '415d90744dd72e7d7f4e65ca2e83e16131f33c62' }, index.h("div", { key: 'a659d9b44da828b63f8896c45dcffff3e9e0931f', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: '1e55efab0617d36b8f3b816bc391a828fcd3089c', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, "Dead stock"), (_b = (_a = this.partInformation) === null || _a === void 0 ? void 0 : _a.deadStock) === null || _b === void 0 ? void 0 :
105
116
  _b.map(deadStock => (index.h("div", { key: deadStock.companyIntegrationID, class: "py-[10px] px-[20px]" }, index.h("div", { "aria-expanded": "false", style: { height: closedAccordionHeight }, class: "border shadow transition-all duration-500 overflow-hidden rounded-md mb-[10px] border-[#d6d8dc]" }, index.h("button", { onClick: this.toggleAccordion, style: { height: closedAccordionHeight }, class: "w-full flex px-[10px] justify-between items-center text-slate-800" }, index.h("strong", null, deadStock.companyName), index.h("span", { class: "icon text-slate-800 transition-transform duration-500" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", fill: "currentColor", class: "size-[22px]" }, index.h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M11.78 9.78a.75.75 0 0 1-1.06 0L8 7.06 5.28 9.78a.75.75 0 0 1-1.06-1.06l3.25-3.25a.75.75 0 0 1 1.06 0l3.25 3.25a.75.75 0 0 1 0 1.06Z" })))), index.h("div", { class: "content" }, index.h("table", { class: "w-full overflow-auto relative border-collapse" }, index.h("thead", null, index.h("tr", null, index.h("th", { class: "py-[20px] px-[10px] text-left whitespace-nowrap border-b border-[#d6d8dc]" }, "Branch"), index.h("th", { class: "py-[20px] px-[10px] text-left whitespace-nowrap border-b border-[#d6d8dc]" }, "Available Qty"))), index.h("tbody", null, deadStock === null || deadStock === void 0 ? void 0 : deadStock.branchDeadStock.map(branchDeadStock => (index.h("tr", { class: "transition-colors border-b border-[#d6d8dc] last:border-none duration-100 hover:bg-slate-100", key: branchDeadStock.companyBranchIntegrationID }, index.h("td", { class: cn.cn('py-[20px] px-[10px] text-left whitespace-nowrap') }, branchDeadStock.companyBranchName), index.h("td", { class: cn.cn('py-[20px] px-[10px] text-left whitespace-nowrap') }, index.h("strong", null, branchDeadStock.quantity))))))))))))))))))));
106
117
  }
107
118
  get el() { return index.getElement(this); }
108
119
  static get watchers() { return {
120
+ "language": ["changeLanguage"],
109
121
  "state": ["loadingListener"]
110
122
  }; }
111
123
  };
@@ -9,8 +9,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
9
9
  const index = require('./index-846c93d2.js');
10
10
  const cn = require('./cn-f559f9e5.js');
11
11
  const general = require('./general-a1e72036.js');
12
- const partInformation = require('./partInformation-2b4e0593.js');
12
+ const getLocalLanguage = require('./get-local-language-6b6b182f.js');
13
+ const partInformation = require('./partInformation-16ea1f8e.js');
13
14
  const Loading = require('./Loading-6f4f0127.js');
15
+ require('./index.esm-c628daeb.js');
14
16
 
15
17
  const distributorLookupCss = "*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.block{display:block}:host{all:initial!important;display:block}*{font-family:Arial}.static{position:static}.relative{position:relative}.sticky{position:sticky}.top-0{top:0}.mx-auto{margin-left:auto;margin-right:auto}.mt-\\[12px\\]{margin-top:12px}.flex{display:flex}.table{display:table}.grid{display:grid}.h-\\[40px\\]{height:40px}.max-h-\\[70dvh\\]{max-height:70dvh}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.w-full{width:100%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.scale-0{--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-\\[15px\\]{gap:15px}.gap-\\[50px\\]{gap:50px}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[8px\\]{border-radius:8px}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-\\[\\#d6d8dc\\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.border-b-\\[gray\\]{--tw-border-opacity:1;border-bottom-color:rgb(128 128 128/var(--tw-border-opacity,1))}.bg-\\[\\#e1e3e5\\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-0{padding-left:0;padding-right:0}.px-\\[10px\\]{padding-left:10px;padding-right:10px}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.px-\\[30px\\]{padding-left:30px;padding-right:30px}.py-\\[10px\\]{padding-bottom:10px;padding-top:10px}.py-\\[16px\\]{padding-bottom:16px;padding-top:16px}.py-\\[20px\\]{padding-bottom:20px;padding-top:20px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.font-bold{font-weight:700}.capitalize{text-transform:capitalize}.text-\\[\\#383c43\\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.text-\\[green\\]{--tw-text-opacity:1;color:rgb(0 128 0/var(--tw-text-opacity,1))}.text-\\[orange\\]{--tw-text-opacity:1;color:rgb(255 165 0/var(--tw-text-opacity,1))}.text-\\[red\\]{--tw-text-opacity:1;color:rgb(255 0 0/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.last\\:border-none:last-child{border-style:none}.hover\\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.z-50{z-index:50}.size-\\[40px\\]{height:40px;width:40px}.size-full{height:100%;width:100%}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin-2s{animation:spin 2s linear infinite}";
16
18
  const DistributorLookupStyle0 = distributorLookupCss;
@@ -23,13 +25,21 @@ const DistributorLookup = class {
23
25
  this.isDev = false;
24
26
  this.queryString = '';
25
27
  this.hiddenFields = '';
28
+ this.language = 'en';
26
29
  this.localizationName = '';
27
30
  this.loadingStateChange = undefined;
28
31
  this.loadedResponse = undefined;
29
32
  this.state = 'idle';
30
- this.externalPartNumber = null;
31
33
  this.errorMessage = null;
32
34
  this.partInformation = undefined;
35
+ this.externalPartNumber = null;
36
+ this.locale = getLocalLanguage.localeSchema.getDefault();
37
+ }
38
+ async componentWillLoad() {
39
+ await this.changeLanguage(this.language);
40
+ }
41
+ async changeLanguage(newLanguage) {
42
+ this.locale = await getLocalLanguage.getLocaleLanguage(newLanguage);
33
43
  }
34
44
  handleSettingData(response) {
35
45
  this.partInformation = response;
@@ -69,6 +79,7 @@ const DistributorLookup = class {
69
79
  catch (error) {
70
80
  if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
71
81
  return;
82
+ console.error(error);
72
83
  this.state = 'error';
73
84
  this.partInformation = null;
74
85
  this.errorMessage = error.message;
@@ -103,7 +114,7 @@ const DistributorLookup = class {
103
114
  const displayDistributer = this.partInformation
104
115
  ? !this.partInformation.stockParts.some(({ quantityLookUpResult }) => quantityLookUpResult === 'LookupIsSkipped' || quantityLookUpResult === 'QuantityNotWithinLookupThreshold')
105
116
  : false;
106
- return (index.h(index.Host, { key: '69a21d26bc4a0826d84de3e855b8d8f034a3481e' }, index.h("div", { key: '1c82a02d8856a94b3352fda68b2e11bf4402d4ab', class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: 'f179a9cff7e47372e0573bfb80a776048edc5ff4' }, index.h(Loading.Loading, { key: '5ea6261b7a7bbb6b8f41a5db134fcdaa3933af0f', isLoading: this.state.includes('loading') }), index.h("div", { key: '4aa13955ea82102d9962c6005cd12295c3901ad6', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: '3e1fcb750564e355e59727246d2915b8cf78d84b', class: "py-[16px]" }, index.h("div", { key: '00d8f0686a0d1bd207fab046f8c189b778d6e430', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.errorMessage))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '88fd12caae26f78a81c506d8664f5426469bd36d' }, index.h("div", { key: '7207baa25e0e4bc3033910b8ce0ebf2655810bdb', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: 'fd4468f73a67cfd59d4ea0c356e7b14e5264d16b', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, "Info"), index.h("div", { key: 'd02d632a5e0f61680fa981adfa21a6016f77858e', class: "py-[10px] px-[30px] flex flex-col gap-[15px]" }, index.h("div", { key: '447cbac2d23d49b143be25b70634524779156ee0', class: "grid grid-cols-3 gap-[50px]" }, displayedFields.map(({ label, value, key }) => (index.h("div", { key: key, class: "flex flex-col flex-1" }, index.h("strong", { class: "py-[10px] px-0 border-b-[gray] border-b" }, label), index.h("div", { class: "py-[10px] px-0" }, value))))))), displayDistributer && (index.h("div", { key: '158ee436a589c6f1b4eaed9d14537a3f7a2eda98', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: '754d4b7952e83276c77a1536d33f681cc5a9b045', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, "Distributor Stock"), index.h("div", { key: '9e3c701e1257aeb2659ccb57ba6b8cf3c1ebfe18', class: "flex flex-col gap-[15px]" }, index.h("table", { key: '262b599058b83d76bf7d7806a5d4fb9a6c9e25ad', class: "w-full overflow-auto relative border-collapse" }, index.h("thead", { key: '59ccaef15a6a6121152b65a07a028b622ccdfe74', class: "top-0 font-bold sticky bg-white" }, index.h("tr", { key: '9c258eeb2454c9938d136b05a3b40227bf082b46' }, ['Location', 'Availability'].map(title => (index.h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, title))))), index.h("tbody", { key: '1780583a6c45d260bf0fc1e3180c6debe769434c' }, (_c = this.partInformation) === null || _c === void 0 ? void 0 : _c.stockParts.map(stock => (index.h("tr", { class: "transition-colors duration-100 border-b border-[#d6d8dc] last:border-none hover:bg-slate-100", key: stock.locationID }, index.h("td", { class: cn.cn('px-[10px] py-[20px] text-center whitespace-nowrap') }, stock.locationName), index.h("td", { class: cn.cn('px-[10px] py-[20px] text-center whitespace-nowrap') }, index.h("div", { class: cn.cn('text-[red]', {
117
+ return (index.h(index.Host, { key: 'e98cdb5d363200db122ed0100f591462c5f37af2' }, index.h("div", { key: 'f4b850d2247759ed7a060064924e0c48356c1527', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: '2fbd7dabccc4949c8d8efd6891addde68a429293' }, index.h(Loading.Loading, { key: 'b1e47d98eef64a800ec9bd3a5b069d289bfeeea2', isLoading: this.state.includes('loading') }), index.h("div", { key: '9679d81255f3e0198f8755904e537de4e6afe552', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: '4c1d5123ee5b4236885ba1bf1561de631c0efd3a', class: "py-[16px]" }, index.h("div", { key: '17d40851fb8a76d4737a9d224768c9afa592ecda', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '027820e491b435e9cf8ef47357eeb77d147cd161' }, index.h("div", { key: '741d06d76a2d15ccd2b55e727c628123d16bc185', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: '03843816d41d722e92d1cbd902f387096e232185', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, "Info"), index.h("div", { key: 'f61b2d94e6acfd42f3e033d1d7534aa97f920d64', class: "py-[10px] px-[30px] flex flex-col gap-[15px]" }, index.h("div", { key: '14a2be07f2a55f438960edc2517c629fd76664d6', class: "grid grid-cols-3 gap-[50px]" }, displayedFields.map(({ label, value, key }) => (index.h("div", { key: key, class: "flex flex-col flex-1" }, index.h("strong", { class: "py-[10px] px-0 border-b-[gray] border-b" }, label), index.h("div", { class: "py-[10px] px-0" }, value))))))), displayDistributer && (index.h("div", { key: 'aadd189054ec8a4ed1136a53b5ce0fb61554370c', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: 'f8c768548a0d9cac69a36bf20b0d28e6da5d0646', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, "Distributor Stock"), index.h("div", { key: '207802621ce60285f6fa5548c52bdbbde40197fc', class: "flex flex-col gap-[15px]" }, index.h("table", { key: '8e39bc72148d479caf6d8b9c45381f0d77263d98', class: "w-full overflow-auto relative border-collapse" }, index.h("thead", { key: 'ea6575025fbe61ccbc854ac42c8ea8cadb3d0fcb', class: "top-0 font-bold sticky bg-white" }, index.h("tr", { key: '48a7230029048265e6be05832095aa6bb2614324' }, ['Location', 'Availability'].map(title => (index.h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, title))))), index.h("tbody", { key: '4c5eea82b7b51363f184e8473ab18ad4a4258494' }, (_c = this.partInformation) === null || _c === void 0 ? void 0 : _c.stockParts.map(stock => (index.h("tr", { class: "transition-colors duration-100 border-b border-[#d6d8dc] last:border-none hover:bg-slate-100", key: stock.locationID }, index.h("td", { class: cn.cn('px-[10px] py-[20px] text-center whitespace-nowrap') }, stock.locationName), index.h("td", { class: cn.cn('px-[10px] py-[20px] text-center whitespace-nowrap') }, index.h("div", { class: cn.cn('text-[red]', {
107
118
  'text-[green]': stock.quantityLookUpResult === 'Available',
108
119
  'text-[orange]': stock.quantityLookUpResult === 'PartiallyAvailable',
109
120
  }) }, index.h("strong", null, stock.quantityLookUpResult === 'Available'
@@ -114,6 +125,7 @@ const DistributorLookup = class {
114
125
  }
115
126
  get el() { return index.getElement(this); }
116
127
  static get watchers() { return {
128
+ "language": ["changeLanguage"],
117
129
  "state": ["loadingListener"]
118
130
  }; }
119
131
  };
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-846c93d2.js');
10
10
  const cn = require('./cn-f559f9e5.js');
11
- const getLocalLanguage = require('./get-local-language-42973450.js');
11
+ const getLocalLanguage = require('./get-local-language-6b6b182f.js');
12
12
  const Loading$1 = require('./Loading-6f4f0127.js');
13
13
  require('./index.esm-c628daeb.js');
14
14
 
@@ -53,7 +53,7 @@ const getVehicleInformation = async (component, generalProps, headers = {}) => {
53
53
  }
54
54
  else {
55
55
  if (!baseUrl)
56
- throw new Error('Please provide base-url');
56
+ throw new Error('noBaseUrl');
57
57
  const componentHeaders = Object.assign({}, headers);
58
58
  Object.entries(vehicleRequestHeaders).forEach(([componentHeaderKey, headerField]) => {
59
59
  if (component[componentHeaderKey])
@@ -159,6 +159,7 @@ const DynamicClaim = class {
159
159
  catch (error) {
160
160
  if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
161
161
  return;
162
+ console.error(error);
162
163
  this.isLoading = false;
163
164
  this.vehicleInformation = null;
164
165
  this.errorMessage = error.message;
@@ -340,7 +341,7 @@ const DynamicClaim = class {
340
341
  var _a, _b;
341
342
  const serviceItems = ((_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.serviceItems) || [];
342
343
  const texts = this.locale.vehicleLookup.dynamicClaim;
343
- return (index.h(index.Host, { key: '95b6378db748a5967a17d8d7b8bcd28ad8ff20e0' }, index.h("dynamic-redeem", { key: '2a832f911f729b5d9be62d77efadef65f52e6a91', language: this.language, id: "dynamic-redeem" }), index.h("div", { key: 'dde156d658a3083d3f3e7ac8cd759fcfa6c5a8d8', class: cn.cn('dynamic-claim-wrapper', { loading: this.isLoading, idle: this.isIdle }) }, index.h("div", { key: 'c01b1fc58f80e6680165fad77ce0158d1e945e7f', class: "dynamic-claim-header" }, index.h("strong", { key: 'dd2b92f4ca2ff8d1b94428e2dabd47079dd1e567', onAnimationEnd: this.removeLoadAnimationClass, class: "dynamic-claim-header-vin load-animation" }, this.errorMessage && index.h("span", { key: '25a2ab7749cbd649c62fdd0e2c3604bccc546470', style: { color: 'red' } }, this.locale.errors[this.errorMessage] || this.errorMessage), !this.errorMessage && ((_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.vin))), index.h("div", { key: '5687f36fa85b53e41df24978ffc672f3c6fc6600', class: "dynamic-claim-body" }, index.h("div", { key: '66100c3ef2426630d7bd95898888b4b38fa0335c', class: "loading-lane" }, index.h("div", { key: '414b1e8af2f5c887e1d0dccfa4a22ec08bb85e2a', class: "dynamic-claim-loading-slider" }, index.h("div", { key: 'c8054794ac146eb33eeacc32e11d3985a4704394', class: "dynamic-claim-loading-slider-line" }), index.h("div", { key: '36016931b359c6dc5126342590ee9d830745147a', class: "dynamic-claim-loading-slider-subline dynamic-claim-inc" }), index.h("div", { key: 'd2db4f89ee13dbff61f4e6476fe412f3072244b7', class: "dynamic-claim-loading-slider-subline dynamic-claim-dec" }))), index.h("div", { key: '2651e5ebd8d082b9e4d26d067f81362d80d00008', class: "dynamic-claim-progress-lane" }, serviceItems.map((item, idx) => {
344
+ return (index.h(index.Host, { key: 'eae03b35a7067f0df313d4d36c1c610a51cb59e6' }, index.h("dynamic-redeem", { key: '4dca53c053a437120a488fea07f85794dd471031', language: this.language, id: "dynamic-redeem" }), index.h("div", { key: '4293fcc2195e751d4118a9064b30a835f76b5fa7', class: cn.cn('dynamic-claim-wrapper', { loading: this.isLoading, idle: this.isIdle }) }, index.h("div", { key: '64b1e5073886f1b96ebaf6bccca921d468b81a1a', class: "dynamic-claim-header" }, index.h("strong", { key: '8d652b2ba5b658d633596b3cb67badd0adfcca4f', onAnimationEnd: this.removeLoadAnimationClass, class: "dynamic-claim-header-vin load-animation" }, this.errorMessage && (index.h("span", { key: 'd43a32b705fb761ccdc990e502aa5b614cc0c37e', dir: this.locale.direction, style: { color: 'red' } }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard)), !this.errorMessage && ((_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.vin))), index.h("div", { key: '774e18ad9e0bdce66813cca712bd152f96f3ba29', class: "dynamic-claim-body" }, index.h("div", { key: 'c8ccffc4f5fa61cb0f620530e5b25db5465b04e9', class: "loading-lane" }, index.h("div", { key: 'c8231fcb02ce2f708c2bbf60e5a812c384b42a80', class: "dynamic-claim-loading-slider" }, index.h("div", { key: 'e333b516efe3e89dcb6411b1ca3770812df4fc4f', class: "dynamic-claim-loading-slider-line" }), index.h("div", { key: '659b9698f22a73127bc3c81f18191a799f6d7303', class: "dynamic-claim-loading-slider-subline dynamic-claim-inc" }), index.h("div", { key: 'b4eb0acb6402db195ff118eb7457fa2efd3f2f6c', class: "dynamic-claim-loading-slider-subline dynamic-claim-dec" }))), index.h("div", { key: '1ddbadcb901e64352ac23f9ed272ddb066836a50', class: "dynamic-claim-progress-lane" }, serviceItems.map((item, idx) => {
344
345
  let statusClass = '';
345
346
  if (item.status === 'pending') {
346
347
  if (serviceItems.findIndex(i => i.status === 'pending') === idx)
@@ -349,7 +350,7 @@ const DynamicClaim = class {
349
350
  else
350
351
  statusClass = item.status;
351
352
  return (index.h("div", { key: item.name, class: cn.cn('dynamic-claim-item', statusClass), onMouseLeave: this.onMouseLeave }, index.h("div", { onAnimationEnd: this.removeLoadAnimationClass, class: "dynamic-claim-item-header load-animation", onMouseEnter: event => this.onMouseEnter(event.target, idx) }, index.h("img", { src: icons[item.status], alt: "status icon" }), index.h("span", null, texts[item.status]), this.activePopupIndex === idx && this.createPopup(item)), index.h("div", { onAnimationEnd: this.removeLoadAnimationClass, class: "dynamic-claim-item-circle load-animation" }), index.h("p", { onAnimationEnd: this.removeLoadAnimationClass, class: "dynamic-claim-item-footer load-animation" }, item.name)));
352
- }), index.h("div", { key: '3b794c2f795deddd1c4c9a67741838c4ac9e329c', class: "dynamic-claim-progress-bar" }))))));
353
+ }), index.h("div", { key: 'ce4a02398dcde7edb5435837e7830c0bef2266fd', class: "dynamic-claim-progress-bar" }))))));
353
354
  }
354
355
  get el() { return index.getElement(this); }
355
356
  static get watchers() { return {
@@ -508,6 +509,7 @@ const PaintThickness = class {
508
509
  catch (error) {
509
510
  if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
510
511
  return;
512
+ console.error(error);
511
513
  this.state = 'error';
512
514
  this.vehicleInformation = null;
513
515
  this.errorMessage = error.message;
@@ -527,11 +529,11 @@ const PaintThickness = class {
527
529
  var _a, _b;
528
530
  const texts = this.locale.vehicleLookup.paintThickness;
529
531
  const { imageGroups, parts } = (this === null || this === void 0 ? void 0 : this.vehicleInformation) ? (_a = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.paintThickness : { imageGroups: [], parts: [] };
530
- return (index.h(index.Host, { key: 'c016cef77b893442d0d33c4f9b986ee9d704a047' }, index.h("div", { key: 'db3b0f02c3423e0483a5000fa52fcd02e106f417', class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: '04f5488431c759be5a01e6bbe1d58a62b291e8f2' }, index.h(Loading$1.Loading, { key: '5b8a290c885e7a32f110522806f0e76545db3400', isLoading: this.state.includes('loading') }), index.h("div", { key: '3304d8d438eb74c7b1b0c3ce0ab6f42870dad451', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, index.h("div", { key: 'c7b7b7ff56602b4dc86433e351e3b398bdc49b54', class: cn.cn('text-center pt-[4px] text-[20px]', { 'text-red-600': !!this.errorMessage }) }, (_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.vin), ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: 'aa565320287a2659040766032456e53b9108fddf', class: "py-[16px]" }, index.h("div", { key: 'e99991f62d92c8c80e2622189b481e09390a4836', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.errorMessage))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '06ddc28439757b99a2e66603a08085bfebab2887', class: "flex mt-[12px] w-full max-h-[70dvh] overflow-hidden mx-auto rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: '0191a58f1fed172f13a0c1448b0e5045f2898a2e', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.paintThickness), index.h("div", { key: '4ac786cbfec1df9c3a034f329ce5baa1591b124b', class: "h-0 overflow-auto flex-1" }, !parts.length && index.h("div", { key: '46261e7f73e45ccdcfee8af1e621cd4e4f405e79', class: "h-[50px] px-[30px] flex items-center justify-center text-[18px]" }, texts.noData), !!parts.length && (index.h("table", { key: 'eb30840419f8daa59aeb72190640eaadbca7f9ad', class: "w-full overflow-auto relative border-collapse" }, index.h("thead", { key: 'e94bfe40d27f90307fbe2303d10be468515dc0a4', class: "top-0 font-bold sticky bg-white" }, index.h("tr", { key: '3c51cc746f226512120e40711a0109924b3b518a' }, ['part', 'left', 'right'].map(title => (index.h("th", { key: title, class: "px-[15px] min-w-[100px] py-[15px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), index.h("tbody", { key: '9634a5a5ded1cb2ffb8488e7f36408708ee20431' }, parts.map((part, idx) => (index.h("tr", { class: "transition-colors duration-100 hover:bg-slate-100", key: part.part }, ['part', 'left', 'right'].map(key => (index.h("td", { key: part.part + key, class: cn.cn('px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]', {
532
+ return (index.h(index.Host, { key: '63c26e93dfd02ecf3dedb8c02b90c53217ebac74' }, index.h("div", { key: '1afca3004303df017df436308db4f265f86f73c5', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: 'a13c70ca9d772e7e344db801e12c119698934dcb' }, index.h(Loading$1.Loading, { key: '8e0ec05cb31af7afd60b5d39c58474d081423c0c', isLoading: this.state.includes('loading') }), index.h("div", { key: '8e26c7228bae3709ec604aa76069023a928d5315', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, index.h("div", { key: 'fbbad92f671914f1de952cb9cf3e3a8d987d3170', class: cn.cn('text-center pt-[4px] text-[20px]', { 'text-red-600': !!this.errorMessage }) }, (_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.vin), ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: '2e86c841565522c2221084fff77787d36af5f0c9', class: "py-[16px]" }, index.h("div", { key: '73c67505be7dfe19ab2dc833ea6fde5d50a118cc', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '00ef9f81a04ce61409ef0fe2d05c5e53c54e8ec9', class: "flex mt-[12px] w-full max-h-[70dvh] overflow-hidden mx-auto rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: 'a5b578f25ed757ec44575e842b8dcccbe1c6f852', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.paintThickness), index.h("div", { key: '6312fc77ad4169509bd184f38a78fca84c826a55', class: "h-0 overflow-auto flex-1" }, !parts.length && index.h("div", { key: '6effdd6539fb90f4945352c03de92aefda585735', class: "h-[50px] px-[30px] flex items-center justify-center text-[18px]" }, texts.noData), !!parts.length && (index.h("table", { key: '7b873c31bca0834899609894e901efc871ca3bdc', class: "w-full overflow-auto relative border-collapse" }, index.h("thead", { key: 'e7525470ad10cbb85e2a648a272fb5e33dde9aee', class: "top-0 font-bold sticky bg-white" }, index.h("tr", { key: 'ae4518825cf0588211b4a8f22056404aa79aab9a' }, ['part', 'left', 'right'].map(title => (index.h("th", { key: title, class: "px-[15px] min-w-[100px] py-[15px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), index.h("tbody", { key: '68b428b4be79e61ecac8024bc763b69dbae763e2' }, parts.map((part, idx) => (index.h("tr", { class: "transition-colors duration-100 hover:bg-slate-100", key: part.part }, ['part', 'left', 'right'].map(key => (index.h("td", { key: part.part + key, class: cn.cn('px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]', {
531
533
  '!border-none': idx === parts.length - 1,
532
- }) }, part[key] || '...')))))))))))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: 'd25a655f2d5f146cb84f42afea7c8d5c83e93403' }, !imageGroups.length && index.h("div", { key: '1541923dd14aa6f454b7213e17454880ec2903f9', class: "h-[40px] px-[30px] flex text-red-500 items-center justify-center text-[18px]" }, texts.noImageGroups), !!imageGroups.length && (index.h("div", { key: 'dd8785fb8af9453816c756ee253adc3f2ed273ff', class: "py-[16px] gap-[16px] justify-center flex flex-wrap px-[24px] w-full" }, imageGroups.map(imageGroup => (index.h("div", { class: "shrink-0 rounded-lg shadow-sm border overflow-hidden flex flex-col", key: imageGroup.name }, index.h("h1", { class: "text-center border-b bg-slate-200 font-semibold p-[6px]" }, imageGroup.name), index.h("div", { class: "flex p-[12px] gap-[8px]" }, imageGroup.images.map(image => (index.h("div", { class: "flex gap-[8px]", key: image }, index.h("button", { onClick: ({ target }) => this.openImage(target, image), class: "shrink-0 relative ring-0 outline-none w-fit mx-auto [&_img]:hover:shadow-lg [&_div]:hover:!opacity-100 cursor-pointer" }, index.h("div", { class: "absolute flex-col justify-center gap-[4px] size-full flex items-center pointer-events-none hover:opacity-100 rounded-lg opacity-0 bg-black/40 transition-all duration-300" }, index.h("img", { src: eyeSvg }), index.h("span", { class: "text-white" }, texts.expand)), index.h("img", { class: "w-auto h-[150px] cursor-pointer shadow-sm rounded-lg transition-all duration-300", src: image }))))))))), index.h("div", { key: 'a6d5c4181ee71b5f8e33e45b5f0c701dbc3ea24b', onClick: () => this.closeImage(), style: { backdropFilter: this.expandedImage ? 'blur(3px)' : 'blur(0px)' }, class: cn.cn('pointer-events-none w-[100dvw] h-[100dvh] fixed top-0 z-10 left-0 opacity-0 bg-black/40 transition-all duration-400', {
534
+ }) }, part[key] || '...')))))))))))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '8960617e47afdc6db66912cca04729e05b7c0c4f' }, !imageGroups.length && index.h("div", { key: 'ff88633f24dab1ab3e1571b95a285b758d9607c9', class: "h-[40px] px-[30px] flex text-red-500 items-center justify-center text-[18px]" }, texts.noImageGroups), !!imageGroups.length && (index.h("div", { key: '838e0f573b5452a5154a92f5f97f613d610c7bf1', class: "py-[16px] gap-[16px] justify-center flex flex-wrap px-[24px] w-full" }, imageGroups.map(imageGroup => (index.h("div", { class: "shrink-0 rounded-lg shadow-sm border overflow-hidden flex flex-col", key: imageGroup.name }, index.h("h1", { class: "text-center border-b bg-slate-200 font-semibold p-[6px]" }, imageGroup.name), index.h("div", { class: "flex p-[12px] gap-[8px]" }, imageGroup.images.map(image => (index.h("div", { class: "flex gap-[8px]", key: image }, index.h("button", { onClick: ({ target }) => this.openImage(target, image), class: "shrink-0 relative ring-0 outline-none w-fit mx-auto [&_img]:hover:shadow-lg [&_div]:hover:!opacity-100 cursor-pointer" }, index.h("div", { class: "absolute flex-col justify-center gap-[4px] size-full flex items-center pointer-events-none hover:opacity-100 rounded-lg opacity-0 bg-black/40 transition-all duration-300" }, index.h("img", { src: eyeSvg }), index.h("span", { class: "text-white" }, texts.expand)), index.h("img", { class: "w-auto h-[150px] cursor-pointer shadow-sm rounded-lg transition-all duration-300", src: image }))))))))), index.h("div", { key: '788024dce16b13c1509ae49fe69b5e48e1afc8ba', onClick: () => this.closeImage(), style: { backdropFilter: this.expandedImage ? 'blur(3px)' : 'blur(0px)' }, class: cn.cn('pointer-events-none w-[100dvw] h-[100dvh] fixed top-0 z-10 left-0 opacity-0 bg-black/40 transition-all duration-400', {
533
535
  'pointer-events-auto opacity-100 delay-200': this.expandedImage,
534
- }) }, index.h("button", { key: 'e970d607cba3e4032063c3bf2b7ba69c2b21c4a4', class: "flex flex-col mt-[16px] items-center justify-center size-12 float-right mr-[16px]", onClick: () => this.closeImage() }, index.h("div", { key: 'e1ca12957a925aac35f8ce4180e155a72a3a5880', class: "h-1 w-12 rounded-full rotate-45 absolute bg-white" }), index.h("div", { key: '194f919ae1ac66550b9feb51c2d3a5bc968bb5b2', class: "h-1 w-12 rounded-full -rotate-45 absolute bg-white" }))), index.h("img", { key: '896ddba224ccf4f06ffc70ff13eb17eaa720330a', alt: "", id: "expanded-image", class: "fixed opacity-0 z-40 transition-all rounded-lg" }))))))))));
536
+ }) }, index.h("button", { key: 'f3b66783393492c980e76f875aa8e15dd34467cb', class: "flex flex-col mt-[16px] items-center justify-center size-12 float-right mr-[16px]", onClick: () => this.closeImage() }, index.h("div", { key: '96729fd9b6be1cb392e5e0e990606dc49ec2bdbc', class: "h-1 w-12 rounded-full rotate-45 absolute bg-white" }), index.h("div", { key: 'ba4e7211b3cdb19195855eb353f1e12259039bff', class: "h-1 w-12 rounded-full -rotate-45 absolute bg-white" }))), index.h("img", { key: '7ea590ea5d9783fad22238ccbe5380424dd0c685', alt: "", id: "expanded-image", class: "fixed opacity-0 z-40 transition-all rounded-lg" }))))))))));
535
537
  }
536
538
  get el() { return index.getElement(this); }
537
539
  static get watchers() { return {
@@ -606,6 +608,7 @@ const ServiceHistory = class {
606
608
  catch (error) {
607
609
  if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
608
610
  return;
611
+ console.error(error);
609
612
  this.state = 'error';
610
613
  this.vehicleInformation = null;
611
614
  this.errorMessage = error.message;
@@ -624,7 +627,7 @@ const ServiceHistory = class {
624
627
  render() {
625
628
  var _a, _b, _c, _d;
626
629
  const texts = this.locale.vehicleLookup.serviceHistory;
627
- return (index.h(index.Host, { key: 'e5eefccce115cb82190384b31dda1315bde5fc70' }, index.h("div", { key: 'ec5be235022339b210e9346035c54d32e931a1ca', class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: 'c1fe096d2176c255bd481394da51b527b45cd9d7' }, index.h(Loading$1.Loading, { key: '4ed349910b887560911ac00ecd10fc01a6567837', isLoading: this.state.includes('loading') }), index.h("div", { key: 'a0617a3631df80fb41dbcf0c962fdd2e864d3493', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, index.h("div", { key: '2215c44cf4c0a4fe5675b12a59d0f6c77ed7fe49', class: cn.cn('text-center pt-[4px] text-[20px]', { 'text-red-600': !!this.errorMessage }) }, (_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.vin), ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: 'be552c787c2c35a5c69e6a64619d75f75e1f6797', class: "py-[16px]" }, index.h("div", { key: '7edc33ca66e08ac62b7a01bab8bdf6644bbd63fa', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.errorMessage))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '29a7f3193a94147dbfe3ffa4b8ef2ad147868f1c', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: '1a94982c5578322eb257b3dceb6ff130c788d217', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.serviceHistory), index.h("div", { key: '057c1d07e82b95ea22bbc80e5dd4b56ebdda99e4', class: "h-0 overflow-auto flex-1" }, !((_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.serviceHistory.length) && index.h("div", { key: '976ad885407d9e02135f60a3334e3f1e6d118a9b', class: "h-[80px] flex items-center justify-center text-[18px]" }, texts.noData), !!((_c = this.vehicleInformation) === null || _c === void 0 ? void 0 : _c.serviceHistory.length) && (index.h("table", { key: '6042aa7f6766c6847173d6714254fb8f377c3ca6', class: "w-full overflow-auto relative border-collapse" }, index.h("thead", { key: '2ee300fe27add43c20d215653f2cbd295c08f524', class: "top-0 font-bold sticky bg-white" }, index.h("tr", { key: 'c5331792c19ed2f6cfa8a4551ad5cd31d6d62d2a' }, ['branch', 'dealer', 'invoiceNumber', 'date', 'serviceType', 'odometer'].map(title => (index.h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), index.h("tbody", { key: '0940d07d7f4abc75f219286949ed5c347f456581' }, (_d = this.vehicleInformation) === null || _d === void 0 ? void 0 : _d.serviceHistory.map((service, idx) => (index.h("tr", { class: "transition-colors duration-100 hover:bg-slate-100", key: service.invoiceNumber }, ['branchName', 'companyName', 'invoiceNumber', 'serviceDate', 'serviceType', 'mileage'].map(serviceType => {
630
+ return (index.h(index.Host, { key: 'f89ce7f17b78c775cbcee6a4db109ef3c00e6d29' }, index.h("div", { key: 'd6b942daf06542e542a04d3bb72068c5758c80e9', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: 'acf33e3e253eb114c443a7d987db2b5e5db1468e' }, index.h(Loading$1.Loading, { key: '74d21f31cf67f9b5959e6ba4af3ebaea10bb6b04', isLoading: this.state.includes('loading') }), index.h("div", { key: '803d65860d980d5bac019b749d75a5692b5dfa06', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, index.h("div", { key: '1e9672450bd13031d6079a2ed33e06a40e36a6bc', class: cn.cn('text-center pt-[4px] text-[20px]', { 'text-red-600': !!this.errorMessage }) }, (_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.vin), ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: 'b8b5edb12f6e38919945160d446e004cbc7ad6ba', class: "py-[16px]" }, index.h("div", { key: '9836f3fdca8b2b7307b95305bd26343d177ce52b', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: 'e591ba63512e82b6550aa9aee55a8fa406227b85', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: 'd0fb2a760d372b9d1bff0470bbd05541a0214d9f', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.serviceHistory), index.h("div", { key: '9d9972cb39d1921b7bb4e4c5bd264c13b62ac0c2', class: "h-0 overflow-auto flex-1" }, !((_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.serviceHistory.length) && index.h("div", { key: '5c200eb45535a3e310d6aec7eee854a527b379fd', class: "h-[80px] flex items-center justify-center text-[18px]" }, texts.noData), !!((_c = this.vehicleInformation) === null || _c === void 0 ? void 0 : _c.serviceHistory.length) && (index.h("table", { key: '5d93b0cd99ca7f38631c36259c9d019b4b5234fd', class: "w-full overflow-auto relative border-collapse" }, index.h("thead", { key: 'bdd4ccde39e53fcbd15d4ccf27f0d504e1ba9d21', class: "top-0 font-bold sticky bg-white" }, index.h("tr", { key: '83d5b447ef3f5ee92314cb9be124ae316d196c22' }, ['branch', 'dealer', 'invoiceNumber', 'date', 'serviceType', 'odometer'].map(title => (index.h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), index.h("tbody", { key: 'f32901ca2350c6fadf44972681f909c2b27b7707' }, (_d = this.vehicleInformation) === null || _d === void 0 ? void 0 : _d.serviceHistory.map((service, idx) => (index.h("tr", { class: "transition-colors duration-100 hover:bg-slate-100", key: service.invoiceNumber }, ['branchName', 'companyName', 'invoiceNumber', 'serviceDate', 'serviceType', 'mileage'].map(serviceType => {
628
631
  var _a;
629
632
  return (index.h("td", { key: service.invoiceNumber + serviceType, class: cn.cn('px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]', {
630
633
  '!border-none': idx === ((_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.serviceHistory.length) - 1,
@@ -714,6 +717,7 @@ const VehicleAccessories = class {
714
717
  catch (error) {
715
718
  if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
716
719
  return;
720
+ console.error(error);
717
721
  this.state = 'error';
718
722
  this.vehicleInformation = null;
719
723
  this.errorMessage = error.message;
@@ -733,7 +737,7 @@ const VehicleAccessories = class {
733
737
  var _a, _b;
734
738
  const texts = this.locale.vehicleLookup.accessories;
735
739
  const accessories = (this === null || this === void 0 ? void 0 : this.vehicleInformation) ? (_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.accessories : [];
736
- return (index.h(index.Host, { key: '5b676008ffd07cf3c30f6a1dbef540aeddec5650' }, index.h("div", { key: '936db932754ee0c5774bb9bbadcab9acdf0bd8f1', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: '46029b531877e9641e0797a08449c446d6acb41d' }, index.h(Loading$1.Loading, { key: 'c831c9e7b6ae7e3c7748ec20a531fc653570d7a1', isLoading: this.state.includes('loading') }), index.h("div", { key: 'eb7b7864b47ab00025c7634995a2f3d868f379df', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, index.h("div", { key: 'fdb1c1e9673a300a974e1ade26079063e5a6780e', class: cn.cn('text-center pt-[4px] text-[20px]', { 'text-red-600': !!this.errorMessage }) }, (_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.vin), ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: '5b777e9dabe4b1caac03d4ff4c77bc52eacafd0a', class: "py-[16px]" }, index.h("div", { key: 'e92c8f26bba943508ec0536f404bbf9b46b5ffef', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.errorMessage))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '7e3e5c940b3b52538c58cec0f6e9befcc8b20d85', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: 'fd6b52beb280f25ef122ca1616b3dc85ba868aac', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.vehicleAccessories), index.h("div", { key: 'df4343fae41a6118c73aadf8b2451c1ed55f0b24', class: "h-0 overflow-auto flex-1" }, !accessories.length && index.h("div", { key: 'c634537217daeb171ba9120b75baeec052727606', class: "h-[80px] flex items-center justify-center text-[18px]" }, texts.noData), !!accessories.length && (index.h("table", { key: '800b8700d5d7d96cccc3c0774b7c0c6d48411e51', class: "w-full overflow-auto relative border-collapse" }, index.h("thead", { key: '338f1360f25eeb71b0c766bc6995dc2d794694b0', class: "top-0 font-bold z-40 sticky bg-white" }, index.h("tr", { key: '4d7be4a922493d6e93b9a72a6de63932bb94f642' }, ['partNumber', 'description', 'image'].map(title => (index.h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), index.h("tbody", { key: 'eb798dcea38261093bc5fdfe5b015b79f3e6d6e9' }, accessories.map((accessory, idx) => {
740
+ return (index.h(index.Host, { key: '8387f8bf62bbb81766edf77d7ba3d574fd2e9a80' }, index.h("div", { key: '72db4edce06518b167c149244dbc4355484723cb', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: 'da38d3c66b219e5b8dfa3ac34ccbf68433f2a8b6' }, index.h(Loading$1.Loading, { key: '38d5e442c8d3874ed9ed4d6b87719529764c5475', isLoading: this.state.includes('loading') }), index.h("div", { key: 'ffd385f36cd49de490da307944d16a8e83bb0287', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, index.h("div", { key: '5692dc7da65d0508d6a863af6f9a7a0bb8460727', class: cn.cn('text-center pt-[4px] text-[20px]', { 'text-red-600': !!this.errorMessage }) }, (_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.vin), ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: 'c8b4189075e8240a9ff2059e307dc3c61de705ee', class: "py-[16px]" }, index.h("div", { key: '3c5a383bec835b3f063d958070176e213caa2c15', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '8b0b46c3a428ed30b9c1e70064ca3b5eb36cabff', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: '3905912ad4256df37fc7f7cf28b4cdf0ff2a7278', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.vehicleAccessories), index.h("div", { key: '49b423073265bf472bdb596b90a745393220584f', class: "h-0 overflow-auto flex-1" }, !accessories.length && index.h("div", { key: 'c464443ec49ae9cff52e8fed7fad1816105bc64b', class: "h-[80px] flex items-center justify-center text-[18px]" }, texts.noData), !!accessories.length && (index.h("table", { key: 'd1ccae2f834f037567d49896a4afcd87d1d3b30b', class: "w-full overflow-auto relative border-collapse" }, index.h("thead", { key: '3374f38dd5e063d4a00f7fab248f542f8274f689', class: "top-0 font-bold z-40 sticky bg-white" }, index.h("tr", { key: '01df1c074f587759cd19f9dbe3076a69f4f577b7' }, ['partNumber', 'description', 'image'].map(title => (index.h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), index.h("tbody", { key: '0d7cc7b256753295febea408f45f2ba148773796' }, accessories.map((accessory, idx) => {
737
741
  var _a;
738
742
  return (index.h("tr", { class: "transition-colors duration-100 hover:bg-slate-100", key: accessory.partNumber }, ['partNumber', 'description'].map(key => {
739
743
  var _a;
@@ -743,9 +747,9 @@ const VehicleAccessories = class {
743
747
  }), index.h("td", { class: cn.cn('px-[10px] py-[10px] text-center whitespace-nowrap border-b border-[#d6d8dc]', {
744
748
  '!border-none': idx === ((_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.serviceHistory.length) - 1,
745
749
  }) }, index.h("button", { onClick: ({ target }) => this.openImage(target, accessory.image), class: "shrink-0 relative ring-0 outline-none w-fit mx-auto [&_img]:hover:shadow-lg [&_div]:hover:!opacity-100 cursor-pointer" }, index.h("div", { class: "absolute flex-col justify-center gap-[4px] size-full flex items-center pointer-events-none hover:opacity-100 rounded-lg opacity-0 bg-black/40 transition-all duration-300" }, index.h("img", { src: eyeSvg }), index.h("span", { class: "text-white" }, texts.expand)), index.h("img", { class: "w-auto h-auto max-w-[133px] max-h-[133px] cursor-pointer shadow-sm rounded-lg transition-all duration-300", src: accessory.image })))));
746
- })), index.h("div", { key: 'bb875932b3315b24afd3589948936dd3b471bc56', onClick: () => this.closeImage(), style: { backdropFilter: this.expandedImage ? 'blur(3px)' : 'blur(0px)' }, class: cn.cn('pointer-events-none w-[100dvw] h-[100dvh] fixed top-0 z-50 left-0 opacity-0 bg-black/40 transition-all duration-400', {
750
+ })), index.h("div", { key: '6f489e2175f6421e29e476881a417849eb153efe', onClick: () => this.closeImage(), style: { backdropFilter: this.expandedImage ? 'blur(3px)' : 'blur(0px)' }, class: cn.cn('pointer-events-none w-[100dvw] h-[100dvh] fixed top-0 z-50 left-0 opacity-0 bg-black/40 transition-all duration-400', {
747
751
  'pointer-events-auto opacity-100 delay-200': this.expandedImage,
748
- }) }, index.h("button", { key: '9b6a9934ecd43a4988978772d3f9ec032fc2366d', class: "flex flex-col mt-[16px] items-center justify-center size-12 float-right mr-[16px]", onClick: () => this.closeImage() }, index.h("div", { key: 'fc59bcd946d47fab25522506e1362ab92580efa8', class: "h-1 w-12 rounded-full rotate-45 absolute bg-white" }), index.h("div", { key: 'baf4b47120f23081e6f150ee3aacb8410e964c51', class: "h-1 w-12 rounded-full -rotate-45 absolute bg-white" }))), index.h("img", { key: '8dfbdb6402ba212b864fb7e6324db06b28e6b8b2', alt: "", id: "expanded-image", class: "fixed opacity-0 z-50 transition-all rounded-lg" })))))))))));
752
+ }) }, index.h("button", { key: 'a23d0da4f403adba26d021a8b5d70f445b003652', class: "flex flex-col mt-[16px] items-center justify-center size-12 float-right mr-[16px]", onClick: () => this.closeImage() }, index.h("div", { key: '52eaf817c47086baea1b3fabbe9b7918adcb689d', class: "h-1 w-12 rounded-full rotate-45 absolute bg-white" }), index.h("div", { key: '8fb82fd07a285f22f01ba5750f12ca21ee754fec', class: "h-1 w-12 rounded-full -rotate-45 absolute bg-white" }))), index.h("img", { key: '8d5b69444d9a4243af0979b9dfdf1c4891f4ee29', alt: "", id: "expanded-image", class: "fixed opacity-0 z-50 transition-all rounded-lg" })))))))))));
749
753
  }
750
754
  get el() { return index.getElement(this); }
751
755
  static get watchers() { return {
@@ -815,6 +819,9 @@ const VehicleSpecification = class {
815
819
  catch (error) {
816
820
  if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
817
821
  return;
822
+ console.log(this.locale);
823
+ console.log(this.locale.errors.wildCard);
824
+ console.error(error);
818
825
  this.state = 'error';
819
826
  this.vehicleInformation = null;
820
827
  this.errorMessage = error.message;
@@ -833,7 +840,7 @@ const VehicleSpecification = class {
833
840
  render() {
834
841
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
835
842
  const texts = this.locale.vehicleLookup.specification;
836
- return (index.h(index.Host, { key: '610f4bab084478eb7f60133ed6498fc6b53a6844' }, index.h("div", { key: '5d25c90dd19ae1fdf84d6484881b3fceeada61c4', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: 'bd3643977e70e46e86b7516a9407679209a7d4fa' }, index.h(Loading$1.Loading, { key: '9064190a3698c0534e36e8bc018bbaec3b08709a', isLoading: this.state.includes('loading') }), index.h("div", { key: '56426c064d0a0b1273f62e78b64cca65020c72c8', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, index.h("div", { key: 'ec8f12b6d2372053c097a057ba71d072d75e4fdc', class: cn.cn('text-center pt-[4px] text-[20px]', { 'text-red-600': !!this.errorMessage }) }, (_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.vin), ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: '285ac738ecc896feeda7caf81f8a41c9a99cea19', class: "py-4" }, index.h("div", { key: 'a29855571fcc97bc19f3196427fdf67d9cadb501', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.errorMessage))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: '021f7bb6c6a1c9b44ebc112c48e4789aca7d387c', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: '43e4399b5064de1023a8e3d27fdd2632f75b3338', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.vehicleSpecification), index.h("div", { key: 'f0fa3e15cb9336be3a4061821438d82d9e73587c', class: "h-0 overflow-auto flex-1" }, !((_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.vehicleSpecification) && index.h("div", { key: '12d0257e9d94573a09fecda9c4fcc3e093c08f16', class: "h-[80px] flex items-center justify-center text-[18px]" }, texts.noData), !!((_c = this.vehicleInformation) === null || _c === void 0 ? void 0 : _c.vehicleSpecification) && (index.h("table", { key: 'ecc72141ecfb0b1ca2eeb4825eb6c90119089395', class: "w-full overflow-auto relative border-collapse" }, index.h("thead", { key: '01eeb96a4dc8c721d720f34b535cc1b917c53b3a', class: "top-0 font-bold sticky bg-white" }, index.h("tr", { key: '956677dd3a6a94a4fec8d9d784567aa3fdd62a16' }, ['model', 'variant', 'katashiki', 'modelYear', 'sfx'].map(title => (index.h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), index.h("tbody", { key: 'e62c17cb6047d082191913821426e6e1e928d9fc' }, index.h("tr", { key: '71a09174b51e10d070723c00b8db14499707bdc3' }, index.h("td", { key: '6fd71363e86b19311907a42348cee324e4137e43', class: "px-[10px] py-[20px] text-center whitespace-nowrap" }, ((_e = (_d = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _d === void 0 ? void 0 : _d.vehicleVariantInfo) === null || _e === void 0 ? void 0 : _e.modelCode) || '...', " ", index.h("br", { key: '759a2b9072f60aa917a001b39b91e38fc91e4b5a', class: "my-2" }), ((_g = (_f = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _f === void 0 ? void 0 : _f.vehicleSpecification) === null || _g === void 0 ? void 0 : _g.modelDesc) || '...'), index.h("td", { key: '3c634e53ec8955bcf1af66667a6fe004d6e46f01', class: "px-[10px] py-[20px] text-center whitespace-nowrap" }, ((_j = (_h = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _h === void 0 ? void 0 : _h.identifiers) === null || _j === void 0 ? void 0 : _j.variant) || '...', " ", index.h("br", { key: 'b81065d744067f06f60e6b34e31f219c6c58d373' }), ((_l = (_k = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _k === void 0 ? void 0 : _k.vehicleSpecification) === null || _l === void 0 ? void 0 : _l.variantDesc) || '...'), ['identifiers.katashiki', 'vehicleVariantInfo.modelYear', 'vehicleVariantInfo.sfx'].map(infoPath => {
843
+ return (index.h(index.Host, { key: '808c24a0e4426ba235ab2a56cf094c364ffa4037' }, index.h("div", { key: '86630e0af2c4ff5da706cd4a9c848e004f579bd4', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, index.h("div", { key: '708bc41fd7775de8367e08270cf903bf8859642c' }, index.h(Loading$1.Loading, { key: 'c517de944cccd11ad1d6cfd46d29b34ee12ecdd4', isLoading: this.state.includes('loading') }), index.h("div", { key: '20c88cd8d61cd81f7f74ebae0ffe0cd886a7e620', class: cn.cn('transition-all duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, index.h("div", { key: '235f7b136b0567a251a454ff9f8d91eb7e53d898', class: cn.cn('text-center pt-[4px] text-[20px]', { 'text-red-600': !!this.errorMessage }) }, (_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.vin), ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: '2b7e78d4a778261e8522d7b69240b7a21c5303ff', class: "py-4" }, index.h("div", { key: '3c68b522c530c5c4840295af772d0f9bf8a34f75', class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard, " kk"))), ['data', 'data-loading'].includes(this.state) && (index.h("div", { key: 'e695fa38bbd41e0313a0e1fe370ce115e852f30a', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, index.h("div", { key: 'e4abc126ced1d6acd36b8e126c6e97a7e65c97c9', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.vehicleSpecification), index.h("div", { key: '3c70ccd45a5d2054caf8c2c625cb8b6e8418de3d', class: "h-0 overflow-auto flex-1" }, !((_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.vehicleSpecification) && index.h("div", { key: '56193f532e238303643d652ea77dde43680ed962', class: "h-[80px] flex items-center justify-center text-[18px]" }, texts.noData), !!((_c = this.vehicleInformation) === null || _c === void 0 ? void 0 : _c.vehicleSpecification) && (index.h("table", { key: '54a114b557191c7841304392d94299026b893514', class: "w-full overflow-auto relative border-collapse" }, index.h("thead", { key: '07bac84886c74525cb74e6e52fa37a9a4534948f', class: "top-0 font-bold sticky bg-white" }, index.h("tr", { key: '01de975490eafe23c536e7bcfc5cc0ac445563ab' }, ['model', 'variant', 'katashiki', 'modelYear', 'sfx'].map(title => (index.h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), index.h("tbody", { key: '568f0e33eb323c786e7a9c7e574f1ff97c659e57' }, index.h("tr", { key: 'd4c124369cd384c28d314a1d2bbc99c64a60f370' }, index.h("td", { key: 'eb12b5f893f6a408286fa4bd74cf62393822ac4b', class: "px-[10px] py-[20px] text-center whitespace-nowrap" }, ((_e = (_d = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _d === void 0 ? void 0 : _d.vehicleVariantInfo) === null || _e === void 0 ? void 0 : _e.modelCode) || '...', " ", index.h("br", { key: '103578ebf9a841970388a5c3969218f981897e6c', class: "my-2" }), ((_g = (_f = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _f === void 0 ? void 0 : _f.vehicleSpecification) === null || _g === void 0 ? void 0 : _g.modelDesc) || '...'), index.h("td", { key: '05abca359c9faffa24242a60c22c52efcceb417d', class: "px-[10px] py-[20px] text-center whitespace-nowrap" }, ((_j = (_h = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _h === void 0 ? void 0 : _h.identifiers) === null || _j === void 0 ? void 0 : _j.variant) || '...', " ", index.h("br", { key: 'db0c344f6d5d39fc066385ee956be5a8693fc504' }), ((_l = (_k = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _k === void 0 ? void 0 : _k.vehicleSpecification) === null || _l === void 0 ? void 0 : _l.variantDesc) || '...'), ['identifiers.katashiki', 'vehicleVariantInfo.modelYear', 'vehicleVariantInfo.sfx'].map(infoPath => {
837
844
  var _a;
838
845
  const [place, field] = infoPath.split('.');
839
846
  const cellValue = (_a = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _a === void 0 ? void 0 : _a[place][field].toString();
@@ -1069,6 +1076,7 @@ const WarrantyDetails = class {
1069
1076
  catch (error) {
1070
1077
  if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
1071
1078
  return;
1079
+ console.error(error);
1072
1080
  this.state = 'error';
1073
1081
  this.vehicleInformation = null;
1074
1082
  this.errorMessage = error.message;
@@ -1096,7 +1104,7 @@ const WarrantyDetails = class {
1096
1104
  }
1097
1105
  render() {
1098
1106
  var _a, _b, _c, _d, _e;
1099
- return (index.h(index.Host, { key: '5976b28e5ddc465d0ae79b7882d40b4f7105ffdf' }, index.h("div", { key: '1c5623799b6fbfb7a343a78c6b96b027f4416d10', dir: this.locale.direction, class: "min-h-[100px] warranty" }, index.h("div", { key: '5dde3a2e0886f5ececd0e8d556abef41d167942d' }, index.h(Loading, { key: '7f8b0a8ed8b2f07fbbc2e7d5a5162ae7aca02a14', isLoading: this.state.includes('loading') }), index.h("div", { key: '240a44eefa85d905e3bf1900772524e4a660feca', class: "transition duration-700", style: { transform: this.state.includes('loading') || this.state === 'idle' ? 'scale(0)' : 'scale(1)', opacity: this.state.includes('loading') ? '0' : '1' } }, (this.showSsc || this.showWarranty) && (index.h("div", { key: '3d7488bbd306a360094636adc2732cf00aa4b877', style: { color: !!this.errorMessage ? 'red' : 'black' }, class: "warranty-vin" }, (_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.vin)), ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: '8f186a25db18cd00449ce68cf7261870b7996dc7', class: "py-4" }, index.h(StatusCard, { key: '5de5ac8872b809ef344440b6bc9fad956c744620', desc: this.locale.errors[this.errorMessage] || this.errorMessage, className: "mx-auto reject-card max-w-500" }), ' ')), this.showWarranty && ['data', 'data-loading'].includes(this.state) && (index.h(CardsContainer, { key: 'df36bf0f0e4906b662d11a3db6cf7cd40dabbae9', locale: this.locale, isAuthorized: (_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.isAuthorized, unInvoicedByBrokerName: this.unInvoicedByBrokerName, warranty: (_c = this.vehicleInformation) === null || _c === void 0 ? void 0 : _c.warranty })), index.h("div", { key: '00d93ce17bfc3868709d67a74fa80983e5e9d312', style: Object.assign({}, (this.showRecaptcha ? { height: 'auto', padding: '16px 16px 0px 16px' } : { height: '0px' })), class: "recaptcha-container" }, index.h("slot", { key: 'b3cb909a47adb872390d3afca1c6eefd167d1b01' })), ['data', 'data-loading'].includes(this.state) && this.recaptchaRes && (index.h("div", { key: '067dacd8f980da721272ffc03a15d6b5740580d9', class: cn.cn('recaptcha-response', !this.recaptchaRes.hasSSC ? 'success-card' : 'reject-card ') }, this.locale.vehicleLookup.warranty[this.recaptchaRes.message])), this.checkingUnauthorizedSSC && (index.h("div", { key: '36564f7464cea7804439f58397b84d5554e19dd1', class: "loading-spinner", style: { marginTop: '20px', flexDirection: 'column' } }, index.h("div", { key: '92d1d9d3141f719a67e47e7187e65af814b93aa9' }, index.h("strong", { key: 'd93a6f157cd67de2fe8c93cf50c84aa6ba143a87' }, this.locale.vehicleLookup.warranty.checkingTMC)), index.h("img", { key: 'bb95bb4cc9f3d9dd5d1cf0a3f68f4af86a56b6d2', class: "spin", src: Loading$1.loaderSvg }))), this.showSsc && ['data', 'data-loading'].includes(this.state) && ((_d = this.vehicleInformation) === null || _d === void 0 ? void 0 : _d.ssc) !== null && !!((_e = this.vehicleInformation) === null || _e === void 0 ? void 0 : _e.ssc.length) && (index.h(SSCTable, { key: '02190f90bcf06693545848545013353e99baad12', locale: this.locale, ssc: this.vehicleInformation.ssc })))))));
1107
+ return (index.h(index.Host, { key: 'c5ef9e5c12c299a79cc8e5ab41795f2a82cfd328' }, index.h("div", { key: 'c269f8934ec54b941bbee7a4846ff426d9da19cd', dir: this.locale.direction, class: "min-h-[100px] warranty" }, index.h("div", { key: '0bfc48e298bcbbb952bccb009c572c0d2eea84ce' }, index.h(Loading, { key: 'e8ff8312212ae2a4adc9248133f49afacbd38e48', isLoading: this.state.includes('loading') }), index.h("div", { key: '03032dc7be0b51a92b9e927d667c209e58abc4eb', class: "transition duration-700", style: { transform: this.state.includes('loading') || this.state === 'idle' ? 'scale(0)' : 'scale(1)', opacity: this.state.includes('loading') ? '0' : '1' } }, (this.showSsc || this.showWarranty) && (index.h("div", { key: 'da11c7d0aad6113e17a6caabce029f1deb8c195e', style: { color: !!this.errorMessage ? 'red' : 'black' }, class: "warranty-vin" }, (_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.vin)), ['error', 'error-loading'].includes(this.state) && (index.h("div", { key: 'fd2ce5726df86b13b495fc6f3fe48a9f5bb87486', class: "py-4" }, index.h(StatusCard, { key: 'b3fd8f89d2742bb25d12b7773e1361c8b65c9a4e', desc: this.locale.errors[this.errorMessage] || this.locale.errors.wildCard, className: "mx-auto reject-card max-w-500" }), ' ')), this.showWarranty && ['data', 'data-loading'].includes(this.state) && (index.h(CardsContainer, { key: '405411582449ff40db0aeeacffd49b90e7d6e585', locale: this.locale, isAuthorized: (_b = this.vehicleInformation) === null || _b === void 0 ? void 0 : _b.isAuthorized, unInvoicedByBrokerName: this.unInvoicedByBrokerName, warranty: (_c = this.vehicleInformation) === null || _c === void 0 ? void 0 : _c.warranty })), index.h("div", { key: '64dac3098fdab7b30439ad14f939e10d2b43ebb5', style: Object.assign({}, (this.showRecaptcha ? { height: 'auto', padding: '16px 16px 0px 16px' } : { height: '0px' })), class: "recaptcha-container" }, index.h("slot", { key: 'f0a25a1ab0ba02c661697a2b986db1f5f60fb012' })), ['data', 'data-loading'].includes(this.state) && this.recaptchaRes && (index.h("div", { key: '260ba78d40cb35bc7afe8afd246fc0ff93b919b4', class: cn.cn('recaptcha-response', !this.recaptchaRes.hasSSC ? 'success-card' : 'reject-card ') }, this.locale.vehicleLookup.warranty[this.recaptchaRes.message])), this.checkingUnauthorizedSSC && (index.h("div", { key: 'e071d2810629426872ae35665e637d5c5190fbe8', class: "loading-spinner", style: { marginTop: '20px', flexDirection: 'column' } }, index.h("div", { key: '3c49a6a0b2fcf56222071faeb372af2ea9107065' }, index.h("strong", { key: 'f699fa9760ce4485a131b57f37513446531cd563' }, this.locale.vehicleLookup.warranty.checkingTMC)), index.h("img", { key: '9466f185766ad803779bc0d1f6e0cdd3e177ee96', class: "spin", src: Loading$1.loaderSvg }))), this.showSsc && ['data', 'data-loading'].includes(this.state) && ((_d = this.vehicleInformation) === null || _d === void 0 ? void 0 : _d.ssc) !== null && !!((_e = this.vehicleInformation) === null || _e === void 0 ? void 0 : _e.ssc.length) && (index.h(SSCTable, { key: 'f42276f6576fabaa984925b023516a4049b4ec37', locale: this.locale, ssc: this.vehicleInformation.ssc })))))));
1100
1108
  }
1101
1109
  get el() { return index.getElement(this); }
1102
1110
  static get watchers() { return {
@@ -8,7 +8,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
9
  const index = require('./index-846c93d2.js');
10
10
  const cn = require('./cn-f559f9e5.js');
11
- const getLocalLanguage = require('./get-local-language-42973450.js');
11
+ const getLocalLanguage = require('./get-local-language-6b6b182f.js');
12
12
  require('./index.esm-c628daeb.js');
13
13
 
14
14
  const dynamicRedeemCss = "*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}/*! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:\"\"}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.block{display:block}.flex{display:flex}.table{display:table}.hidden{display:none}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.border{border-width:1px}.outline{outline-style:solid}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host{all:initial!important;display:block}*{box-sizing:content-box;margin:revert;padding:revert}.dynamic-claim-processor{align-items:center;background:#fff;display:flex;flex-direction:row;font-family:Arial;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transform:translateY(0) scale(110%);transition:.4s;visibility:hidden;width:100%;z-index:999999999999999}.dynamic-claim-processor.active{opacity:1;transform:translateY(0) scale(100%);visibility:visible}.dynamic-claim-processor-wrapper{align-items:center;display:flex;flex:1;flex-direction:column;height:100%;justify-content:space-between;overflow:auto;padding:50px}.dynamic-claim-processor .qr-input{background:none;border:none;border-bottom:1px solid #ddd;color:#424242;font-size:14px;outline:none;padding:7px;text-align:center;width:100%}.dynamic-claim-processor-info-box{background:#fdfdfd;border:1px solid #dcdcdc;border-radius:5px;box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 hsla(0,0%,100%,.1);color:#424242;font-size:14px;margin-top:50px;padding:0;width:100%}.dynamic-claim-processor-info-box-header{background:#f6f6f6;border:1px solid #ededed;padding:7px 0;text-align:center}.dynamic-claim-processor-info-box table{width:100%}.dynamic-claim-processor-info-box table td,.dynamic-claim-processor-info-box table th{border-bottom:1px solid #ededed;padding:5px;text-align:start}.dynamic-claim-processor-progress{align-items:center;display:flex;flex-direction:row;gap:30px;justify-content:space-evenly;margin-bottom:16px;margin-top:10px;width:100%}.dynamic-claim-processor-progress .dynamic-claim-processor-progress-step{background:#f4f4f4;border:1px solid #d4d4d4;border-bottom:5px double #3071a9;border-radius:5px;box-shadow:0 0 4px 2px #eee;color:#3071a9;flex:1;margin-top:0;padding:15px;text-align:center}.lds-ripple{display:inline-block;height:80px;left:50%;left:0;margin-left:12px;position:relative;top:55px;top:0;width:80px}.lds-ripple,.lds-ripple div{box-sizing:border-box}.lds-ripple-loading.active,.lds-ripple.active{opacity:1!important;visibility:visible!important}.lds-ripple div{animation:lds-ripple 1s cubic-bezier(0,.2,.8,1) infinite;border:4px solid #3071a9;border-radius:50%;opacity:1;position:absolute;z-index:10}.lds-ripple div:nth-child(2){animation-delay:-.5s}.loading-wrapper,.scan-invoice-wrapper{transition:.4s}.dynamic-claim-processor-progress-step.processing .scan-invoice-wrapper,.loading-wrapper{opacity:0;transform:scale(70%)}.dynamic-claim-processor-progress-step.processing .loading-wrapper{opacity:1;transform:scale(100%)}@keyframes lds-ripple{0%{height:8px;left:36px;opacity:0;top:36px;width:8px}4.9%{height:8px;left:36px;opacity:0;top:36px;width:8px}5%{height:8px;left:36px;opacity:1;top:36px;width:8px}to{height:80px;left:0;opacity:0;top:0;width:80px}}#dynamic-claim-processor-close-icon{cursor:pointer;height:20px;position:absolute;right:50px;top:20px;transition:.5s;width:20px}#dynamic-claim-processor-close-icon:hover{transform:rotate(180deg) scale(150%)}.admonition-title{background-color:#ff91001a;font-size:13px;font-weight:700;margin:0;padding:10px 5px}.admonition-title:before{background-color:#ff9100;content:\"\";display:inline-block;height:20px;margin-inline-end:5px;-webkit-mask-image:url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M13 14h-2V9h2m0 9h-2v-2h2M1 21h22L12 2z\"/></svg>');vertical-align:sub;width:20px}.admonition{background-color:var(--md-admonition-bg-color);border:.075rem solid #ff9100;border-radius:.2rem;box-shadow:0 .2rem .5rem #0000000d,0 0 .05rem #0000001a;color:var(--md-admonition-fg-color);display:flow-root;margin:15px 0 0;padding:0;page-break-inside:avoid;transition:box-shadow 125ms;width:100%}.cancel-confirmation-box{background:#f8f8f8;border:1px solid #e1e1e1;border-radius:5px;font-weight:700;margin-bottom:10px;padding:10px 25px}.dynamic-claim-processor-progress.disabled{opacity:.6}.warning-ul{padding-inline-start:2.5rem}.static{position:static}.w-full{width:100%}.sticky{position:sticky}.top-0{top:0}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-bottom:.5rem;margin-top:.5rem}.mt-\\[12px\\]{margin-top:12px}.h-0{height:0}.h-\\[40px\\]{height:40px}.h-\\[80px\\]{height:80px}.max-h-\\[70dvh\\]{max-height:70dvh}.min-h-\\[100px\\]{min-height:100px}.w-fit{width:fit-content}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.scale-0{--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[8px\\]{border-radius:8px}.border-b{border-bottom-width:1px}.border-\\[\\#d6d8dc\\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.bg-\\[\\#e1e3e5\\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-\\[10px\\]{padding-left:10px;padding-right:10px}.px-\\[16px\\]{padding-left:16px;padding-right:16px}.py-4{padding-bottom:1rem;padding-top:1rem}.py-\\[20px\\]{padding-bottom:20px;padding-top:20px}.py-\\[8px\\]{padding-bottom:8px;padding-top:8px}.pt-\\[4px\\]{padding-top:4px}.text-center{text-align:center}.text-\\[18px\\]{font-size:18px}.text-\\[20px\\]{font-size:20px}.font-bold{font-weight:700}.text-\\[\\#383c43\\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}.reject-card{background-color:#f7d7d8;border-color:#f2aeb5;color:#58151c}.success-card{background-color:#d0e7de;border-color:#a2d0bb;color:#0b3521}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.m-\\[3px\\]{margin:3px}.my-4{margin-bottom:1rem;margin-top:1rem}.ml-1{margin-left:.25rem}.border-separate{border-collapse:separate}.list-disc{list-style-type:disc}.gap-1{gap:.25rem}";
@@ -8,6 +8,8 @@ require('./index-846c93d2.js');
8
8
  const index_esm = require('./index.esm-c628daeb.js');
9
9
 
10
10
  const errorsSchema = index_esm.create$3({
11
+ wildCard: index_esm.create$6().required(),
12
+ noBaseUrl: index_esm.create$6().required(),
11
13
  noServiceAvailable: index_esm.create$6().required(),
12
14
  wrongResponseFormat: index_esm.create$6().required(),
13
15
  });
@@ -80,15 +82,6 @@ const dynamicRedeemSchema = index_esm.create$3({
80
82
  confirmSkipServices: index_esm.create$6().required(),
81
83
  notInvoiced: index_esm.create$6().required(),
82
84
  confirmNotInvoiced: index_esm.create$6().required(),
83
- claimAt: index_esm.create$6().required(),
84
- redeemingDealer: index_esm.create$6().required(),
85
- invoiceNumber: index_esm.create$6().required(),
86
- wip: index_esm.create$6().required(),
87
- claim: index_esm.create$6().required(),
88
- processed: index_esm.create$6().required(),
89
- expired: index_esm.create$6().required(),
90
- cancelled: index_esm.create$6().required(),
91
- pending: index_esm.create$6().required(),
92
85
  });
93
86
 
94
87
  const ServiceHistorySchema = index_esm.create$3({
@@ -12,7 +12,7 @@ const appGlobals = require('./app-globals-6d543be0.js');
12
12
  const defineCustomElements = async (win, options) => {
13
13
  if (typeof window === 'undefined') return undefined;
14
14
  await appGlobals.globalScripts();
15
- return index.bootstrapLazy([["vehicle-lookup.cjs",[[4,"vehicle-lookup",{"activeElement":[1,"active-element"],"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"blazorErrorStateListener":[1,"blazor-error-state-listener"],"blazorOnLoadingStateChange":[1,"blazor-on-loading-state-change"],"errorStateListener":[16],"loadingStateChanged":[16],"wrapperErrorState":[32],"blazorRef":[32],"setBlazorRef":[64],"fetchVin":[64],"getPageContext":[64]},null,{"wrapperErrorState":["errorListener"],"onLoadingStateChanged":["handleLoadingListenerPropChange"],"blazorOnLoadingStateChange":["handleBlazorLoadingRefChange"]}]]],["general-inquiry-form.cjs",[[1,"general-inquiry-form",{"isLoading":[32],"renderControl":[32]}]]],["dead-stock-lookup.cjs",[[1,"dead-stock-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"externalPartNumber":[32],"errorMessage":[32],"partInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"state":["loadingListener"]}]]],["distributor-lookup.cjs",[[1,"distributor-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"hiddenFields":[1,"hidden-fields"],"localizationName":[1,"localization-name"],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"externalPartNumber":[32],"errorMessage":[32],"partInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"state":["loadingListener"]}]]],["manufacturer-lookup.cjs",[[1,"manufacturer-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"hiddenFields":[1,"hidden-fields"],"localizationName":[1,"localization-name"],"headerTitle":[1,"header-title"],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"externalPartNumber":[32],"errorMessage":[32],"partInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"state":["loadingListener"]}]]],["form-input.cjs",[[0,"form-input",{"name":[1],"label":[1],"class":[1],"isError":[4,"is-error"],"disabled":[4],"labelClass":[1,"label-class"],"errorClass":[1,"error-class"],"errorMessage":[1,"error-message"],"containerClass":[1,"container-class"]}]]],["dynamic-redeem.cjs",[[1,"dynamic-redeem",{"vin":[1],"item":[16],"language":[1],"canceledItems":[16],"unInvoicedByBrokerName":[1,"un-invoiced-by-broker-name"],"handleScanner":[16],"handleQrChanges":[16],"loadingStateChange":[16],"locale":[32],"isLoading":[32],"internalVin":[32],"isOpened":[32],"internalItem":[32],"confirmServiceCancellation":[32],"internalCanceledItem":[32],"confirmUnInvoicedTBPVehicles":[32],"quite":[64],"getQrValue":[64]},null,{"language":["changeLanguage"],"isLoading":["onIsLoadingChange"],"canceledItems":["changeInternalCanceledItem"],"unInvoicedByBrokerName":["changeConfirmUnInvoicedTBPVehicles"],"vin":["changeInternalVin"],"item":["changeInternalItem"]}]]],["dynamic-claim_6.cjs",[[1,"dynamic-claim",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"isIdle":[32],"popupClasses":[32],"isLoading":[32],"externalVin":[32],"errorMessage":[32],"activePopupIndex":[32],"vehicleInformation":[32],"setMockData":[64],"setData":[64],"fetchData":[64],"completeClaim":[64]},null,{"language":["changeLanguage"],"isLoading":["onLoadingChange"],"vehicleInformation":["resetProgressBar"],"popupClasses":["windowScrollListener"]}],[1,"paint-thickness",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"expandedImage":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"service-history",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"vehicle-accessories",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"expandedImage":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"vehicle-specification",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"warranty-details",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"showSsc":[4,"show-ssc"],"queryString":[1,"query-string"],"recaptchaKey":[1,"recaptcha-key"],"language":[1],"showWarranty":[4,"show-warranty"],"unauthorizedSscLookupBaseUrl":[1,"unauthorized-ssc-lookup-base-url"],"unauthorizedSscLookupQueryString":[1,"unauthorized-ssc-lookup-query-string"],"cityId":[1,"city-id"],"cityIntegrationId":[1,"city-integration-id"],"companyId":[1,"company-id"],"companyIntegrationId":[1,"company-integration-id"],"companyBranchId":[1,"company-branch-id"],"companyBranchIntegrationId":[1,"company-branch-integration-id"],"userId":[1,"user-id"],"brandIntegrationId":[1,"brand-integration-id"],"customerName":[1,"customer-name"],"customerPhone":[1,"customer-phone"],"customerEmail":[1,"customer-email"],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"externalVin":[32],"showRecaptcha":[32],"errorMessage":[32],"unInvoicedByBrokerName":[32],"vehicleInformation":[32],"checkingUnauthorizedSSC":[32],"recaptchaRes":[32],"headers":[32],"locale":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}]]]], options);
15
+ return index.bootstrapLazy([["vehicle-lookup.cjs",[[4,"vehicle-lookup",{"activeElement":[1,"active-element"],"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"blazorErrorStateListener":[1,"blazor-error-state-listener"],"blazorOnLoadingStateChange":[1,"blazor-on-loading-state-change"],"errorStateListener":[16],"loadingStateChanged":[16],"wrapperErrorState":[32],"blazorRef":[32],"setBlazorRef":[64],"fetchVin":[64],"getPageContext":[64]},null,{"wrapperErrorState":["errorListener"],"onLoadingStateChanged":["handleLoadingListenerPropChange"],"blazorOnLoadingStateChange":["handleBlazorLoadingRefChange"]}]]],["general-inquiry-form.cjs",[[1,"general-inquiry-form",{"isLoading":[32],"renderControl":[32]}]]],["dead-stock-lookup.cjs",[[1,"dead-stock-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"errorMessage":[32],"partInformation":[32],"externalPartNumber":[32],"locale":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}]]],["distributor-lookup.cjs",[[1,"distributor-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"hiddenFields":[1,"hidden-fields"],"language":[1],"localizationName":[1,"localization-name"],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"errorMessage":[32],"partInformation":[32],"externalPartNumber":[32],"locale":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}]]],["manufacturer-lookup.cjs",[[1,"manufacturer-lookup",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"hiddenFields":[1,"hidden-fields"],"language":[1],"localizationName":[1,"localization-name"],"headerTitle":[1,"header-title"],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"errorMessage":[32],"partInformation":[32],"externalPartNumber":[32],"locale":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}]]],["form-input.cjs",[[0,"form-input",{"name":[1],"label":[1],"class":[1],"isError":[4,"is-error"],"disabled":[4],"labelClass":[1,"label-class"],"errorClass":[1,"error-class"],"errorMessage":[1,"error-message"],"containerClass":[1,"container-class"]}]]],["dynamic-redeem.cjs",[[1,"dynamic-redeem",{"vin":[1],"item":[16],"language":[1],"canceledItems":[16],"unInvoicedByBrokerName":[1,"un-invoiced-by-broker-name"],"handleScanner":[16],"handleQrChanges":[16],"loadingStateChange":[16],"locale":[32],"isLoading":[32],"internalVin":[32],"isOpened":[32],"internalItem":[32],"confirmServiceCancellation":[32],"internalCanceledItem":[32],"confirmUnInvoicedTBPVehicles":[32],"quite":[64],"getQrValue":[64]},null,{"language":["changeLanguage"],"isLoading":["onIsLoadingChange"],"canceledItems":["changeInternalCanceledItem"],"unInvoicedByBrokerName":["changeConfirmUnInvoicedTBPVehicles"],"vin":["changeInternalVin"],"item":["changeInternalItem"]}]]],["dynamic-claim_6.cjs",[[1,"dynamic-claim",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"isIdle":[32],"popupClasses":[32],"isLoading":[32],"externalVin":[32],"errorMessage":[32],"activePopupIndex":[32],"vehicleInformation":[32],"setMockData":[64],"setData":[64],"fetchData":[64],"completeClaim":[64]},null,{"language":["changeLanguage"],"isLoading":["onLoadingChange"],"vehicleInformation":["resetProgressBar"],"popupClasses":["windowScrollListener"]}],[1,"paint-thickness",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"expandedImage":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"service-history",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"vehicle-accessories",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"expandedImage":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"vehicle-specification",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"queryString":[1,"query-string"],"language":[1],"loadingStateChange":[16],"loadedResponse":[16],"locale":[32],"state":[32],"externalVin":[32],"errorMessage":[32],"vehicleInformation":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}],[1,"warranty-details",{"baseUrl":[1,"base-url"],"isDev":[4,"is-dev"],"showSsc":[4,"show-ssc"],"queryString":[1,"query-string"],"recaptchaKey":[1,"recaptcha-key"],"language":[1],"showWarranty":[4,"show-warranty"],"unauthorizedSscLookupBaseUrl":[1,"unauthorized-ssc-lookup-base-url"],"unauthorizedSscLookupQueryString":[1,"unauthorized-ssc-lookup-query-string"],"cityId":[1,"city-id"],"cityIntegrationId":[1,"city-integration-id"],"companyId":[1,"company-id"],"companyIntegrationId":[1,"company-integration-id"],"companyBranchId":[1,"company-branch-id"],"companyBranchIntegrationId":[1,"company-branch-integration-id"],"userId":[1,"user-id"],"brandIntegrationId":[1,"brand-integration-id"],"customerName":[1,"customer-name"],"customerPhone":[1,"customer-phone"],"customerEmail":[1,"customer-email"],"loadingStateChange":[16],"loadedResponse":[16],"state":[32],"externalVin":[32],"showRecaptcha":[32],"errorMessage":[32],"unInvoicedByBrokerName":[32],"vehicleInformation":[32],"checkingUnauthorizedSSC":[32],"recaptchaRes":[32],"headers":[32],"locale":[32],"setData":[64],"fetchData":[64],"setMockData":[64]},null,{"language":["changeLanguage"],"state":["loadingListener"]}]]]], options);
16
16
  };
17
17
 
18
18
  exports.setNonce = index.setNonce;