vendor: 5,421 bytes, lines 1-173
1import { c as e, l as t, o as n, s as r } from "./index-3f35facaBX8as_Jd.js"; 2import { zi as i } from "./templates-managerBkYu4lmL.js"; 3import { n as a } from "./search-hub-actions-loaderClqgRPoE.js"; 4import { i as o, n as s } from "./result-templates-managerBgn3QZxU.js"; 5import "./esmDc86wdRn.js"; 6import { r as c } from "./init-queue-fbe942c3Btr3Uba3.js"; 7import { t as l } from "./dayjs.min-d04628c6BaI9rIuW.js"; 8import { t as u } from "./purify-c7ebd240DkaZp2jN.js"; 9import "./utils-6400ebdeCTjtEpHS.js"; 10import { t as d } from "./props-utils-6040b5d2DTtSRiAN.js"; 11import { a as f, i as p, n as m } from "./store-7d2c2a8cDxfeW9JK.js"; 12import { i as h, t as g } from "./recommendation.indexBxMtnd56.js"; 13//#region node_modules/@coveo/atomic/dist/esm/atomic-recs-interface.entry.js 14var _ = (e) => typeof e == "string", v = () => { 15 let e, t, n = new Promise((n, r) => { 16 e = n, t = r; 17 }); 18 return n.resolve = e, n.reject = t, n; 19}, y = (e) => e == null ? "" : "" + e, b = (e, t, n) => { 20 e.forEach((e) => { 21 t[e] && (n[e] = t[e]); 22 }); 23}, x = /###/g, S = (e) => e && e.indexOf("###") > -1 ? e.replace(x, ".") : e, C = (e) => !e || _(e), w = (e, t, n) => { 24 let r = _(t) ? t.split(".") : t, i = 0; 25 for (; i < r.length - 1;) { 26 if (C(e)) return {}; 27 let t = S(r[i]); 28 !e[t] && n && (e[t] = new n()), e = Object.prototype.hasOwnProperty.call(e, t) ? e[t] : {}, ++i; 29 } 30 return C(e) ? {} : { 31 obj: e, 32 k: S(r[i]) 33 }; 34}, T = (e, t, n) => { 35 let { obj: r, k: i } = w(e, t, Object); 36 if (r !== void 0 || t.length === 1) { 37 r[i] = n; 38 return; 39 } 40 let a = t[t.length - 1], o = t.slice(0, t.length - 1), s = w(e, o, Object); 41 for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s = w(e, o, Object), s?.obj && s.obj[`${s.k}.${a}`] !== void 0 && (s.obj = void 0); 42 s.obj[`${s.k}.${a}`] = n; 43}, E = (e, t, n, r) => { 44 let { obj: i, k: a } = w(e, t, Object); 45 i[a] = i[a] || [], i[a].push(n); 46}, D = (e, t) => { 47 let { obj: n, k: r } = w(e, t); 48 if (n && Object.prototype.hasOwnProperty.call(n, r)) return n[r]; 49}, ee = (e, t, n) => { 50 let r = D(e, n); 51 return r === void 0 ? D(t, n) : r; 52}, O = (e, t, n) => { 53 for (let r in t) r !== "__proto__" && r !== "constructor" && (r in e ? _(e[r]) || e[r] instanceof String || _(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : O(e[r], t[r], n) : e[r] = t[r]); 54 return e; 55}, k = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), te = { 56 "&": "&", 57 "<": "<", 58 ">": ">", 59 "\"": """, 60 "'": "'", 61 "/": "/" 62}, ne = (e) => _(e) ? e.replace(/[&<>"'\/]/g, (e) => te[e]) : e, re = class { 63 constructor(e) { 64 this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = []; 65 } 66 getRegExp(e) { 67 let t = this.regExpMap.get(e); 68 if (t !== void 0) return t; 69 let n = new RegExp(e); 70 return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n; 71 } 72}, ie = [ 73 " ", 74 ",", 75 "?", 76 "!", 77 ";" 78], ae = new re(20), oe = (e, t, n) => { 79 t ||= "", n ||= ""; 80 let r = ie.filter((e) => t.indexOf(e) < 0 && n.indexOf(e) < 0); 81 if (r.length === 0) return !0; 82 let i = ae.getRegExp(`(${r.map((e) => e === "?" ? "\\?" : e).join("|")})`), a = !i.test(e); 83 if (!a) { 84 let t = e.indexOf(n); 85 t > 0 && !i.test(e.substring(0, t)) && (a = !0); 86 } 87 return a; 88}, A = (e, t, n = ".") => { 89 if (!e) return; 90 if (e[t]) return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0; 91 let r = t.split(n), i = e; 92 for (let e = 0; e < r.length;) { 93 if (!i || typeof i != "object") return; 94 let t, a = ""; 95 for (let o = e; o < r.length; ++o) if (o !== e && (a += n), a += r[o], t = i[a], t !== void 0) { 96 if ([ 97 "string", 98 "number", 99 "boolean" 100 ].indexOf(typeof t) > -1 && o < r.length - 1) continue; 101 e += o - e + 1; 102 break; 103 } 104 i = t; 105 } 106 return i; 107}, j = (e) => e?.replace("_", "-"), se = { 108 type: "logger", 109 log(e) { 110 this.output("log", e); 111 }, 112 warn(e) { 113 this.output("warn", e); 114 }, 115 error(e) { 116 this.output("error", e); 117 }, 118 output(e, t) { 119 console?.[e]?.apply?.(console, t); 120 } 121}, M = new class e { 122 constructor(e, t = {}) { 123 this.init(e, t); 124 } 125 init(e, t = {}) { 126 this.prefix = t.prefix || "i18next:", this.logger = e || se, this.options = t, this.debug = t.debug; 127 } 128 log(...e) { 129 return this.forward(e, "log", "", !0); 130 } 131 warn(...e) { 132 return this.forward(e, "warn", "", !0); 133 } 134 error(...e) { 135 return this.forward(e, "error", ""); 136 } 137 deprecate(...e) { 138 return this.forward(e, "warn", "WARNING DEPRECATED: ", !0); 139 } 140 forward(e, t, n, r) { 141 return r && !this.debug ? null : (_(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e)); 142 } 143 create(t) { 144 return new e(this.logger, { 145 prefix: `${this.prefix}:${t}:`, 146 ...this.options 147 }); 148 } 149 clone(t) { 150 return t ||= this.options, t.prefix = t.prefix || this.prefix, new e(this.logger, t); 151 } 152}(), N = class { 153 constructor() { 154 this.observers = {}; 155 } 156 on(e, t) { 157 return e.split(" ").forEach((e) => { 158 this.observers[e] || (this.observers[e] = /* @__PURE__ */ new Map()); 159 let n = this.observers[e].get(t) || 0; 160 this.observers[e].set(t, n + 1); 161 }), this; 162 } 163 off(e, t) { 164 if (this.observers[e]) { 165 if (!t) { 166 delete this.observers[e]; 167 return; 168 } 169 this.observers[e].delete(t); 170 } 171 } 172 emit(e, ...t) { 173 this.observers[e] && Array.from(this.observers[e].entries()).forEac
173h(([e, n]) => { 174 for (let r = 0; r < n; r++) e(...t); 175 }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach(([n, r]) => { 176 for (let i = 0; i < r; i++) n.apply(n, [e, ...t]); 177 }); 178 } 179}, ce = class extends N { 180 constructor(e, t = { 181 ns: ["translation"], 182 defaultNS: "translation" 183 }) { 184 super(), this.data = e || {}, this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.options.ignoreJSONStructure === void 0 && (this.options.ignoreJSONStructure = !0); 185 } 186 addNamespaces(e) { 187 this.options.ns.indexOf(e) < 0 && this.options.ns.push(e); 188 } 189 removeNamespaces(e) { 190 let t = this.options.ns.indexOf(e); 191 t > -1 && this.options.ns.splice(t, 1); 192 } 193 getResource(e, t, n, r = {}) { 194 let i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = r.ignoreJSONStructure === void 0 ? this.options.ignoreJSONStructure : r.ignoreJSONStructure, o; 195 e.indexOf(".") > -1 ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : _(n) && i ? o.push(...n.split(i)) : o.push(n))); 196 let s = D(this.data, o); 197 return !s && !t && !n && e.indexOf(".") > -1 && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !_(n) ? s : A(this.data?.[e]?.[t], n, i); 198 } 199 addResource(e, t, n, r, i = { silent: !1 }) { 200 let a = i.keySeparator === void 0 ? this.options.keySeparator : i.keySeparator, o = [e, t]; 201 n && (o = o.concat(a ? n.split(a) : n)), e.indexOf(".") > -1 && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), T(this.data, o, r), i.silent || this.emit("added", e, t, n, r); 202 } 203 addResources(e, t, n, r = { silent: !1 }) { 204 for (let r in n) (_(n[r]) || Array.isArray(n[r])) && this.addResource(e, t, r, n[r], { silent: !0 }); 205 r.silent || this.emit("added", e, t, n); 206 } 207 addResourceBundle(e, t, n, r, i, a = { 208 silent: !1, 209 skipCopy: !1 210 }) { 211 let o = [e, t]; 212 e.indexOf(".") > -1 && (o = e.split("."), r = n, n = t, t = o[1]), this.addNamespaces(t); 213 let s = D(this.data, o) || {}; 214 a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ? O(s, n, i) : s = { 215 ...s, 216 ...n 217 }, T(this.data, o, s), a.silent || this.emit("added", e, t, n); 218 } 219 removeResourceBundle(e, t) { 220 this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t); 221 } 222 hasResourceBundle(e, t) { 223 return this.getResource(e, t) !== void 0; 224 } 225 getResourceBundle(e, t) { 226 return t ||= this.options.defaultNS, this.getResource(e, t); 227 } 228 getDataByLanguage(e) { 229 return this.data[e]; 230 } 231 hasLanguageSomeTranslations(e) { 232 let t = this.getDataByLanguage(e); 233 return !!(t && Object.keys(t) || []).find((e) => t[e] && Object.keys(t[e]).length > 0); 234 } 235 toJSON() { 236 return this.data; 237 } 238}, le = { 239 processors: {}, 240 addPostProcessor(e) { 241 this.processors[e.name] = e; 242 }, 243 handle(e, t, n, r, i) { 244 return e.forEach((e) => { 245 t = this.processors[e]?.process(t, n, r, i) ?? t; 246 }), t; 247 } 248}, ue = {}, de = (e) => !_(e) && typeof e != "boolean" && typeof e != "number", fe = class e extends N { 249 constructor(e, t = {}) { 250 super(), b([ 251 "resourceStore", 252 "languageUtils", 253 "pluralResolver", 254 "interpolator", 255 "backendConnector", 256 "i18nFormat", 257 "utils" 258 ], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = M.create("translator"); 259 } 260 changeLanguage(e) { 261 e && (this.language = e); 262 } 263 exists(e, t = { interpolation: {} }) { 264 let n = { ...t }; 265 return e == null ? !1 : this.resolve(e, n)?.res !== void 0; 266 } 267 extractFromKey(e, t) { 268 let n = t.nsSeparator === void 0 ? this.options.nsSeparator : t.nsSeparator; 269 n === void 0 && (n = ":"); 270 let r = t.keySeparator === void 0 ? this.options.keySeparator : t.keySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.indexOf(n) > -1, o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !oe(e, n, r); 271 if (a && !o) { 272 let t = e.match(this.interpolator.nestingRegexp); 273 if (t && t.length > 0) return { 274 key: e, 275 namespaces: _(i) ? [i] : i 276 }; 277 let a = e.split(n); 278 (n !== r || n === r && this.options.ns.indexOf(a[0]) > -1) && (i = a.shift()), e = a.join(r); 279 } 280 return { 281 key: e, 282 namespaces: _(i) ? [i] : i 283 }; 284 } 285 translate(t, n, r) { 286 let i = typeof n == "object" ? { ...n } : n; 287 if (typeof i != "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), typeof options == "object" && (i = { ...i }), i ||= {}, t == null) return ""; 288 Array.isArray(t) || (t = [String(t)]); 289 let a = i.returnDetails === void 0 ? this.options.returnDetails : i.returnDetails, o = i.keySeparator === void 0 ? this.options.keySeparator : i.keySeparator, { key: s, namespaces: c } = this.extractFromKey(t[t.length - 1], i), l = c[c.length - 1], u = i.nsSeparator === void 0 ? this.options.nsSeparator : i.nsSeparator; 290 u === void 0 && (u = ":"); 291 let d = i.lng || this.language, f = i.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode; 292 if (d?.toLowerCase() === "cimode") return f ? a ? { 293 res: `${l}${u}${s}`, 294 usedKey: s, 295 exactUsedKey: s, 296 usedLng: d, 297 usedNS: l, 298 usedParams: this.getUsedParamsDetails(i) 299 } : `${l}${u}${s}` : a ? {
vendor: 4,546 bytes, lines 300-383
300 res: s, 301 usedKey: s, 302 exactUsedKey: s, 303 usedLng: d, 304 usedNS: l, 305 usedParams: this.getUsedParamsDetails(i) 306 } : s; 307 let p = this.resolve(t, i), m = p?.res, h = p?.usedKey || s, g = p?.exactUsedKey || s, v = [ 308 "[object Number]", 309 "[object Function]", 310 "[object RegExp]" 311 ], y = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, x = i.count !== void 0 && !_(i.count), S = e.hasDefaultValue(i), C = x ? this.pluralResolver.getSuffix(d, i.count, i) : "", w = i.ordinal && x ? this.pluralResolver.getSuffix(d, i.count, { ordinal: !1 }) : "", T = x && !i.ordinal && i.count === 0, E = T && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${C}`] || i[`defaultValue${w}`] || i.defaultValue, D = m; 312 b && !m && S && (D = E); 313 let ee = de(D), O = Object.prototype.toString.apply(D); 314 if (b && D && ee && v.indexOf(O) < 0 && !(_(y) && Array.isArray(D))) { 315 if (!i.returnObjects && !this.options.returnObjects) { 316 this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!"); 317 let e = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, D, { 318 ...i, 319 ns: c 320 }) : `key '${s} (${this.language})' returned an object instead of string.`; 321 return a ? (p.res = e, p.usedParams = this.getUsedParamsDetails(i), p) : e; 322 } 323 if (o) { 324 let e = Array.isArray(D), t = e ? [] : {}, n = e ? g : h; 325 for (let e in D) if (Object.prototype.hasOwnProperty.call(D, e)) { 326 let r = `${n}${o}${e}`; 327 S && !m ? t[e] = this.translate(r, { 328 ...i, 329 defaultValue: de(E) ? E[e] : void 0, 330 joinArrays: !1, 331 ns: c 332 }) : t[e] = this.translate(r, { 333 ...i, 334 joinArrays: !1, 335 ns: c 336 }), t[e] === r && (t[e] = D[e]); 337 } 338 m = t; 339 } 340 } else if (b && _(y) && Array.isArray(m)) m = m.join(y), m &&= this.extendTranslation(m, t, i, r); 341 else { 342 let e = !1, n = !1; 343 !this.isValidLookup(m) && S && (e = !0, m = E), this.isValidLookup(m) || (n = !0, m = s); 344 let a = (i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && n ? void 0 : m, c = S && E !== m && this.options.updateMissing; 345 if (n || e || c) { 346 if (this.logger.log(c ? "updateKey" : "missingKey", d, l, s, c ? E : m), o) { 347 let e = this.resolve(s, { 348 ...i, 349 keySeparator: !1 350 }); 351 e && e.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format."); 352 } 353 let e = [], t = this.languageUtils.getFallbackCodes(this.options.fallbackLng, i.lng || this.language); 354 if (this.options.saveMissingTo === "fallback" && t && t[0]) for (let n = 0; n < t.length; n++) e.push(t[n]); 355 else this.options.saveMissingTo === "all" ? e = this.languageUtils.toResolveHierarchy(i.lng || this.language) : e.push(i.lng || this.language); 356 let n = (e, t, n) => { 357 let r = S && n !== m ? n : a; 358 this.options.missingKeyHandler ? this.options.missingKeyHandler(e, l, t, r, c, i) : this.backendConnector?.saveMissing && this.backendConnector.saveMissing(e, l, t, r, c, i), this.emit("missingKey", e, l, t, m); 359 }; 360 this.options.saveMissing && (this.options.saveMissingPlurals && x ? e.forEach((e) => { 361 let t = this.pluralResolver.getSuffixes(e, i); 362 T && i[`defaultValue${this.options.pluralSeparator}zero`] && t.indexOf(`${this.options.pluralSeparator}zero`) < 0 && t.push(`${this.options.pluralSeparator}zero`), t.forEach((t) => { 363 n([e], s + t, i[`defaultValue${t}`] || E); 364 }); 365 }) : n(e, s, E)); 366 } 367 m = this.extendTranslation(m, t, i, p, r), n && m === s && this.options.appendNamespaceToMissingKey && (m = `${l}${u}${s}`), (n || e) && this.options.parseMissingKeyHandler && (m = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${l}${u}${s}` : s, e ? m : void 0, i)); 368 } 369 return a ? (p.res = m, p.usedParams = this.getUsedParamsDetails(i), p) : m; 370 } 371 extendTranslation(e, t, n, r, i) { 372 if (this.i18nFormat?.parse) e = this.i18nFormat.parse(e, { 373 ...this.options.interpolation.defaultVariables, 374 ...n 375 }, n.lng || this.language || r.usedLng, r.usedNS, r.usedKey, { resolved: r }); 376 else if (!n.skipInterpolation) { 377 n.interpolation && this.interpolator.init({ 378 ...n, 379 interpolation: { 380 ...this.options.interpolation, 381 ...n.interpolation 382 } 383 });
384 let a = _(e) && (n?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : n.interpolation.skipOnVariables), o; 385 if (a) { 386 let t = e.match(this.interpolator.nestingRegexp); 387 o = t && t.length; 388 } 389 let s = n.replace && !_(n.replace) ? n.replace : n; 390 if (this.options.interpolation.defaultVariables && (s = { 391 ...this.options.interpolation.defaultVariables, 392 ...s 393 }), e = this.interpolator.interpolate(e, s, n.lng || this.language || r.usedLng, n), a) { 394 let t = e.match(this.interpolator.nestingRegexp), r = t && t.length; 395 o < r && (n.nest = !1); 396 } 397 !n.lng && r && r.res && (n.lng = this.language || r.usedLng), n.nest !== !1 && (e = this.interpolator.nest(e, (...e) => i?.[0] === e[0] && !n.context ? (this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`), null) : this.translate(...e, t), n)), n.interpolation && this.interpolator.reset(); 398 } 399 let a = n.postProcess || this.options.postProcess, o = _(a) ? [a] : a; 400 return e != null && o?.length && n.applyPostProcessor !== !1 && (e = le.handle(o, e, t, this.options && this.options.postProcessPassResolved ? { 401 i18nResolved: { 402 ...r, 403 usedParams: this.getUsedParamsDetails(n) 404 }, 405 ...n 406 } : n, this)), e; 407 } 408 resolve(e, t = {}) { 409 let n, r, i, a, o; 410 return _(e) && (e = [e]), e.forEach((e) => { 411 if (this.isValidLookup(n)) return; 412 let s = this.extractFromKey(e, t), c = s.key; 413 r = c; 414 let l = s.namespaces; 415 this.options.fallbackNS && (l = l.concat(this.options.fallbackNS)); 416 let u = t.count !== void 0 && !_(t.count), d = u && !t.ordinal && t.count === 0, f = t.context !== void 0 && (_(t.context) || typeof t.context == "number") && t.context !== "", p = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng); 417 l.forEach((e) => { 418 this.isValidLookup(n) || (o = e, !ue[`${p[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (ue[`${p[0]}-${e}`] = !0, this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), p.forEach((r) => { 419 if (this.isValidLookup(n)) return; 420 a = r; 421 let o = [c]; 422 if (this.i18nFormat?.addLookupKeys) this.i18nFormat.addLookupKeys(o, c, r, e, t); 423 else { 424 let e; 425 u && (e = this.pluralResolver.getSuffix(r, t.count, t)); 426 let n = `${this.options.pluralSeparator}zero`, i = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`; 427 if (u && (o.push(c + e), t.ordinal && e.indexOf(i) === 0 && o.push(c + e.replace(i, this.options.pluralSeparator)), d && o.push(c + n)), f) { 428 let r = `${c}${this.options.contextSeparator}${t.context}`; 429 o.push(r), u && (o.push(r + e), t.ordinal && e.indexOf(i) === 0 && o.push(r + e.replace(i, this.options.pluralSeparator)), d && o.push(r + n)); 430 } 431 } 432 let s; 433 for (; s = o.pop();) this.isValidLookup(n) || (i = s, n = this.getResource(r, e, s, t)); 434 })); 435 }); 436 }), { 437 res: n, 438 usedKey: r, 439 exactUsedKey: i, 440 usedLng: a, 441 usedNS: o 442 }; 443 } 444 isValidLookup(e) { 445 return e !== void 0 && !(!this.options.returnNull && e === null) && !(!this.options.returnEmptyString && e === ""); 446 } 447 getResource(e, t, n, r = {}) { 448 return this.i18nFormat?.getResource ? this.i18nFormat.getResource(e, t, n, r) : this.resourceStore.getResource(e, t, n, r); 449 } 450 getUsedParamsDetails(e = {}) { 451 let t = [ 452 "defaultValue", 453 "ordinal", 454 "context", 455 "replace", 456 "lng", 457 "lngs", 458 "fallbackLng", 459 "ns", 460 "keySeparator", 461 "nsSeparator", 462 "returnObjects", 463 "returnDetails", 464 "joinArrays", 465 "postProcess", 466 "interpolation" 467 ], n = e.replace && !_(e.replace), r = n ? e.replace : e; 468 if (n && e.count !== void 0 && (r.count = e.count), this.options.interpolation.defaultVariables && (r = { 469 ...this.options.interpolation.defaultVariables, 470 ...r 471 }), !n) { 472 r = { ...r }; 473 for (let e of t) delete r[e]; 474 } 475 return r; 476 } 477 static hasDefaultValue(e) { 478 for (let t in e) if (Object.prototype.hasOwnProperty.call(e, t) && t.substring(0, 12) === "defaultValue" && e[t] !== void 0) return !0; 479 return !1; 480 } 481}, pe = class { 482 constructor(e) { 483 this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = M.create("languageUtils"); 484 } 485 getScriptPartFromCode(e) { 486 if (e = j(e), !e || e.indexOf("-") < 0) return null; 487 let t = e.split("-"); 488 return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-")); 489 } 490 getLanguagePartFromCode(e) { 491 if (e = j(e), !e || e.indexOf("-") < 0) return e; 492 let t = e.split("-"); 493 return this.formatLanguageCode(t[0]); 494 } 495 formatLanguageCode(e) { 496 if (_(e) && e.indexOf("-") > -1) { 497 let t; 498 try { 499 t = Intl.getCanonicalLocales(e)[0]; 500 } catch {} 501 return t && this.options.lowerCaseLng && (t = t.toLowerCase()), t || (this.options.lowerCaseLng ? e.toLowerCase() : e); 502 } 503 return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e; 504 } 505 isSupportedCode(e) { 506 return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (e = this.getLanguagePartFromCode(e)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.indexOf(e) > -1; 507 } 508 getBestMatchFromCodes(e) { 509 if (!e) return null; 510 let t; 511 return e.forEach((e) => { 512 if (t) return; 513 let n = this.formatLanguageCode(e); 514 (!this.options.supportedLngs || this.isSupportedCode(n)) && (t = n); 515 }), !t && this.options.supportedLngs && e.forEach((e) => { 516 if (t) return;
517 let n = this.getScriptPartFromCode(e); 518 if (this.isSupportedCode(n)) return t = n; 519 let r = this.getLanguagePartFromCode(e); 520 if (this.isSupportedCode(r)) return t = r; 521 t = this.options.supportedLngs.find((e) => { 522 if (e === r || !(e.indexOf("-") < 0 && r.indexOf("-") < 0) && (e.indexOf("-") > 0 && r.indexOf("-") < 0 && e.substring(0, e.indexOf("-")) === r || e.indexOf(r) === 0 && r.length > 1)) return e; 523 }); 524 }), t ||= this.getFallbackCodes(this.options.fallbackLng)[0], t; 525 } 526 getFallbackCodes(e, t) { 527 if (!e) return []; 528 if (typeof e == "function" && (e = e(t)), _(e) && (e = [e]), Array.isArray(e)) return e; 529 if (!t) return e.default || []; 530 let n = e[t]; 531 return n ||= e[this.getScriptPartFromCode(t)], n ||= e[this.formatLanguageCode(t)], n ||= e[this.getLanguagePartFromCode(t)], n ||= e.default, n || []; 532 } 533 toResolveHierarchy(e, t) { 534 let n = this.getFallbackCodes((t === !1 ? [] : t) || this.options.fallbackLng || [], e), r = [], i = (e) => { 535 e && (this.isSupportedCode(e) ? r.push(e) : this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`)); 536 }; 537 return _(e) && (e.indexOf("-") > -1 || e.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && i(this.formatLanguageCode(e)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && i(this.getScriptPartFromCode(e)), this.options.load !== "currentOnly" && i(this.getLanguagePartFromCode(e))) : _(e) && i(this.formatLanguageCode(e)), n.forEach((e) => { 538 r.indexOf(e) < 0 && i(this.formatLanguageCode(e)); 539 }), r; 540 } 541}, P = { 542 zero: 0, 543 one: 1, 544 two: 2, 545 few: 3, 546 many: 4, 547 other: 5 548}, me = { 549 select: (e) => e === 1 ? "one" : "other", 550 resolvedOptions: () => ({ pluralCategories: ["one", "other"] }) 551}, he = class { 552 constructor(e, t = {}) { 553 this.languageUtils = e, this.options = t, this.logger = M.create("pluralResolver"), this.pluralRulesCache = {}; 554 } 555 addRule(e, t) { 556 this.rules[e] = t; 557 } 558 clearCache() { 559 this.pluralRulesCache = {}; 560 } 561 getRule(e, t = {}) { 562 let n = j(e === "dev" ? "en" : e), r = t.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({ 563 cleanedCode: n, 564 type: r 565 }); 566 if (i in this.pluralRulesCache) return this.pluralRulesCache[i]; 567 let a; 568 try { 569 a = new Intl.PluralRules(n, { type: r }); 570 } catch { 571 if (!Intl) return this.logger.error("No Intl support, please use an Intl polyfill!"), me; 572 if (!e.match(/-|_/)) return me; 573 let n = this.languageUtils.getLanguagePartFromCode(e); 574 a = this.getRule(n, t); 575 } 576 return this.pluralRulesCache[i] = a, a; 577 } 578 needsPlural(e, t = {}) { 579 let n = this.getRule(e, t); 580 return n ||= this.getRule("dev", t), n?.resolvedOptions().pluralCategories.length > 1; 581 } 582 getPluralFormsOfKey(e, t, n = {}) { 583 return this.getSuffixes(e, n).map((e) => `${t}${e}`); 584 } 585 getSuffixes(e, t = {}) { 586 let n = this.getRule(e, t); 587 return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => P[e] - P[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : []; 588 } 589 getSuffix(e, t, n = {}) { 590 let r = this.getRule(e, n); 591 return r ? `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${r.select(t)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", t, n)); 592 } 593}, F = (e, t, n, r = ".", i = !0) => { 594 let a = ee(e, t, n); 595 return !a && i && _(n) && (a = A(e, n, r), a === void 0 && (a = A(t, n, r))), a; 596}, I = (e) => e.replace(/\$/g, "$$$$"), ge = class { 597 constructor(e = {}) { 598 this.logger = M.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((e) => e), this.init(e); 599 } 600 init(e = {}) { 601 e.interpolation ||= { escapeValue: !0 }; 602 let { escape: t, escapeValue: n, useRawValueToEscape: r, prefix: i, prefixEscaped: a, suffix: o, suffixEscaped: s, formatSeparator: c, unescapeSuffix: l, unescapePrefix: u, nestingPrefix: d, nestingPrefixEscaped: f, nestingSuffix: p, nestingSuffixEscaped: m, nestingOptionsSeparator: h, maxReplaces: g, alwaysFormat: _ } = e.interpolation; 603 this.escape = t === void 0 ? ne : t, this.escapeValue = n === void 0 ? !0 : n, this.useRawValueToEscape = r === void 0 ? !1 : r, this.prefix = i ? k(i) : a || "{{", this.suffix = o ? k(o) : s || "}}", this.formatSeparator = c || ",", this.unescapePrefix = l ? "" : u || "-", this.unescapeSuffix = this.unescapePrefix ? "" : l || "", this.nestingPrefix = d ? k(d) : f || k("$t("), this.nestingSuffix = p ? k(p) : m || k(")"), this.nestingOptionsSeparator = h || ",", this.maxReplaces = g || 1e3, this.alwaysFormat = _ === void 0 ? !1 : _, this.resetRegExp(); 604 } 605 reset() { 606 this.options && this.init(this.options); 607 } 608 resetRegExp() { 609 let e = (e, t) => e?.source === t ? (e.lastIndex = 0, e) : new RegExp(t, "g"); 610 this.regexp = e(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = e(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = e(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`); 611 } 612 interpolate(e, t, n, r) { 613 let i, a, o, s = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (e) => { 614 if (e.indexOf(this.formatSeparator) < 0) { 615 let i = F(t, s, e, this.options.keySeparator, this.options.ignoreJSONStructure); 616 return this.alwaysFormat ? this.format(i, void 0, n, { 617 ...r, 618 ...t, 619 interpolationkey: e 620 }) : i; 621 } 622 let i = e.split(this.formatSeparator), a = i.shift().trim(), o = i.join(this.formatSeparator).trim(); 623 return this.format(F(t, s, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, { 624 ...r, 625 ...t, 626 interpolationkey: a 627 }); 628 }; 629 this.resetRegExp(); 630 let l = r?.missingInterpolationHandler || this.options.missingInterpolationHandler, u = r?.interpolation?.ski
630pOnVariables === void 0 ? this.options.interpolation.skipOnVariables : r.interpolation.skipOnVariables; 631 return [{ 632 regex: this.regexpUnescape, 633 safeValue: (e) => I(e) 634 }, { 635 regex: this.regexp, 636 safeValue: (e) => this.escapeValue ? I(this.escape(e)) : I(e) 637 }].forEach((t) => { 638 for (o = 0; i = t.regex.exec(e);) { 639 let n = i[1].trim(); 640 if (a = c(n), a === void 0) if (typeof l == "function") { 641 let t = l(e, i, r); 642 a = _(t) ? t : ""; 643 } else if (r && Object.prototype.hasOwnProperty.call(r, n)) a = ""; 644 else if (u) { 645 a = i[0]; 646 continue; 647 } else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`), a = ""; 648 else !_(a) && !this.useRawValueToEscape && (a = y(a)); 649 let s = t.safeValue(a); 650 if (e = e.replace(i[0], s), u ? (t.regex.lastIndex += a.length, t.regex.lastIndex -= i[0].length) : t.regex.lastIndex = 0, o++, o >= this.maxReplaces) break; 651 } 652 }), e; 653 } 654 nest(e, t, n = {}) { 655 let r, i, a, o = (e, t) => { 656 let n = this.nestingOptionsSeparator; 657 if (e.indexOf(n) < 0) return e; 658 let r = e.split(RegExp(`${n}[ ]*{`)), i = `{${r[1]}`; 659 e = r[0], i = this.interpolate(i, a); 660 let o = i.match(/'/g), s = i.match(/"/g); 661 ((o?.length ?? 0) % 2 == 0 && !s || s.length % 2 != 0) && (i = i.replace(/'/g, "\"")); 662 try { 663 a = JSON.parse(i), t && (a = { 664 ...t, 665 ...a 666 }); 667 } catch (t) { 668 return this.logger.warn(`failed parsing options string in nesting for key ${e}`, t), `${e}${n}${i}`; 669 } 670 return a.defaultValue && a.defaultValue.indexOf(this.prefix) > -1 && delete a.defaultValue, e; 671 }; 672 for (; r = this.nestingRegexp.exec(e);) { 673 let s = []; 674 a = { ...n }, a = a.replace && !_(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue; 675 let c = /{.*}/.test(r[1]) ? r[1].lastIndexOf("}") + 1 : r[1].indexOf(this.formatSeparator); 676 if (c !== -1 && (s = r[1].slice(c).split(this.formatSeparator).map((e) => e.trim()).filter(Boolean), r[1] = r[1].slice(0, c)), i = t(o.call(this, r[1].trim(), a), a), i && r[0] === e && !_(i)) return i; 677 _(i) || (i = y(i)), i ||= (this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`), ""), s.length && (i = s.reduce((e, t) => this.format(e, t, n.lng, { 678 ...n, 679 interpolationkey: r[1].trim() 680 }), i.trim())), e = e.replace(r[0], i), this.regexp.lastIndex = 0; 681 } 682 return e; 683 } 684}, _e = (e) => { 685 let t = e.toLowerCase().trim(), n = {}; 686 if (e.indexOf("(") > -1) { 687 let r = e.split("("); 688 t = r[0].toLowerCase().trim(); 689 let i = r[1].substring(0, r[1].length - 1); 690 t === "currency" && i.indexOf(":") < 0 ? n.currency ||= i.trim() : t === "relativetime" && i.indexOf(":") < 0 ? n.range ||= i.trim() : i.split(";").forEach((e) => { 691 if (e) { 692 let [t, ...r] = e.split(":"), i = r.join(":").trim().replace(/^'+|'+$/g, ""), a = t.trim(); 693 n[a] || (n[a] = i), i === "false" && (n[a] = !1), i === "true" && (n[a] = !0), isNaN(i) || (n[a] = parseInt(i, 10)); 694 } 695 }); 696 } 697 return { 698 formatName: t, 699 formatOptions: n 700 }; 701}, L = (e) => { 702 let t = {}; 703 return (n, r, i) => { 704 let a = i; 705 i && i.interpolationkey && i.formatParams && i.formatParams[i.interpolationkey] && i[i.interpolationkey] && (a = { 706 ...a, 707 [i.interpolationkey]: void 0 708 }); 709 let o = r + JSON.stringify(a), s = t[o]; 710 return s || (s = e(j(r), i), t[o] = s), s(n); 711 }; 712}, ve = (e) => (t, n, r) => e(j(n), r)(t), ye = class { 713 constructor(e = {}) { 714 this.logger = M.create("formatter"), this.options = e, this.init(e); 715 } 716 init(e, t = { interpolation: {} }) { 717 this.formatSeparator = t.interpolation.formatSeparator || ","; 718 let n = t.cacheInBuiltFormats ? L : ve; 719 this.formats = { 720 number: n((e, t) => { 721 let n = new Intl.NumberFormat(e, { ...t }); 722 return (e) => n.format(e); 723 }), 724 currency: n((e, t) => { 725 let n = new Intl.NumberFormat(e, { 726 ...t, 727 style: "currency" 728 }); 729 return (e) => n.format(e); 730 }), 731 datetime: n((e, t) => { 732 let n = new Intl.DateTimeFormat(e, { ...t }); 733 return (e) => n.format(e); 734 }), 735 relativetime: n((e, t) => { 736 let n = new Intl.RelativeTimeFormat(e, { ...t }); 737 return (e) => n.format(e, t.range || "day"); 738 }), 739 list: n((e, t) => { 740 let n = new Intl.ListFormat(e, { ...t }); 741 return (e) => n.format(e); 742 }) 743 }; 744 } 745 add(e, t) { 746 this.formats[e.toLowerCase().trim()] = t; 747 } 748 addCached(e, t) { 749 this.formats[e.toLowerCase().trim()] = L(t); 750 } 751 format(e, t, n, r = {}) { 752 let i = t.split(this.formatSeparator); 753 if (i.length > 1 && i[0].indexOf("(") > 1 && i[0].indexOf(")") < 0 && i.find((e) => e.indexOf(")") > -1)) { 754 let e = i.findIndex((e) => e.indexOf(")") > -1); 755 i[0] = [i[0], ...i.splice(1, e)].join(this.formatSeparator); 756 } 757 return i.reduce((e, t) => { 758 let { formatName: i, formatOptions: a } = _e(t); 759 if (this.formats[i]) { 760 let t = e; 761 try { 762 let o = r?.formatParams?.[r.interpolationkey] || {}, s = o.locale || o.lng || r.locale || r.lng || n; 763 t = this.formats[i](e, s, { 764 ...a, 765 ...r, 766 ...o 767 }); 768 } catch (e) { 769 this.logger.warn(e); 770 } 771 return t; 772 } else this.logger.warn(`there was no format function for ${i}`); 773 return e; 774 }, e); 775 } 776}, be = (e, t) => { 777 e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--); 778}, xe = class extends N { 779 constructor(e, t, n, r = {}) { 780 super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger = M.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = r.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r.maxRetries >= 0 ? r.maxRetries : 5, this.retryTimeout = r.retryTimeout >= 1 ? r.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n, r.backend, r); 781 } 782 queueLoad(e, t, n, r) { 783 let i = {}, a = {}, o = {}, s = {}; 784 return e.forEach((e) => { 785 let r = !0; 786 t.forEach((t) => { 787 let o = `${e}|${t}`; 788 !n.reload && this.store.hasResourceBundle(e, t) ? this.state[o] = 2 : this.state[o] < 0 || (this.state[o] === 1 ? a[o] === void 0 && (a[o] = !0) : (this.state[o] = 1, r = !1, a[o] === void 0 && (a[o] = !0), i[o] === void 0 && (i[o] = !0), s[t] === void 0 && (s[t] = !0))); 789 }), r || (o[e] = !0); 790 }), (Object.keys(i).length || Object.keys(a).length) && this.queue.push({ 791 pending: a, 792 pendingCount: Object.keys(a).length, 793 loaded: {}, 794 errors: [], 795 callback: r 796 }), { 797 toLoad: Object.keys(i), 798 pending: Object.keys(a), 799 toLoadLanguages: Object.keys(o), 800 toLoadNamespaces: Object.keys(s) 801 }; 802 } 803 loaded(e, t, n) { 804 let r = e.split("|"), i = r[0], a = r[1];
vendor: 4,345 bytes, lines 805-934
805 t && this.emit("failedLoading", i, a, t), !t && n && this.store.addResourceBundle(i, a, n, void 0, void 0, { skipCopy: !0 }), this.state[e] = t ? -1 : 2, t && n && (this.state[e] = 0); 806 let o = {}; 807 this.queue.forEach((n) => { 808 E(n.loaded, [i], a), be(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => { 809 o[e] || (o[e] = {}); 810 let t = n.loaded[e]; 811 t.length && t.forEach((t) => { 812 o[e][t] === void 0 && (o[e][t] = !0); 813 }); 814 }), n.done = !0, n.errors.length ? n.callback(n.errors) : n.callback()); 815 }), this.emit("loaded", o), this.queue = this.queue.filter((e) => !e.done); 816 } 817 read(e, t, n, r = 0, i = this.retryTimeout, a) { 818 if (!e.length) return a(null, {}); 819 if (this.readingCalls >= this.maxParallelReads) { 820 this.waitingReads.push({ 821 lng: e, 822 ns: t, 823 fcName: n, 824 tried: r, 825 wait: i, 826 callback: a 827 }); 828 return; 829 } 830 this.readingCalls++; 831 let o = (o, s) => { 832 if (this.readingCalls--, this.waitingReads.length > 0) { 833 let e = this.waitingReads.shift(); 834 this.read(e.lng, e.ns, e.fcName, e.tried, e.wait, e.callback); 835 } 836 if (o && s && r < this.maxRetries) { 837 setTimeout(() => { 838 this.read.call(this, e, t, n, r + 1, i * 2, a); 839 }, i); 840 return; 841 } 842 a(o, s); 843 }, s = this.backend[n].bind(this.backend); 844 if (s.length === 2) { 845 try { 846 let n = s(e, t); 847 n && typeof n.then == "function" ? n.then((e) => o(null, e)).catch(o) : o(null, n); 848 } catch (e) { 849 o(e); 850 } 851 return; 852 } 853 return s(e, t, o); 854 } 855 prepareLoading(e, t, n = {}, r) { 856 if (!this.backend) return this.logger.warn("No backend was added via i18next.use. Will not load resources."), r && r(); 857 _(e) && (e = this.languageUtils.toResolveHierarchy(e)), _(t) && (t = [t]); 858 let i = this.queueLoad(e, t, n, r); 859 if (!i.toLoad.length) return i.pending.length || r(), null; 860 i.toLoad.forEach((e) => { 861 this.loadOne(e); 862 }); 863 } 864 load(e, t, n) { 865 this.prepareLoading(e, t, {}, n); 866 } 867 reload(e, t, n) { 868 this.prepareLoading(e, t, { reload: !0 }, n); 869 } 870 loadOne(e, t = "") { 871 let n = e.split("|"), r = n[0], i = n[1]; 872 this.read(r, i, "read", void 0, void 0, (n, a) => { 873 n && this.logger.warn(`${t}loading namespace ${i} for language ${r} failed`, n), !n && a && this.logger.log(`${t}loaded namespace ${i} for language ${r}`, a), this.loaded(e, n, a); 874 }); 875 } 876 saveMissing(e, t, n, r, i, a = {}, o = () => {}) { 877 if (this.services?.utils?.hasLoadedNamespace && !this.services?.utils?.hasLoadedNamespace(t)) { 878 this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"); 879 return; 880 } 881 if (!(n == null || n === "")) { 882 if (this.backend?.create) { 883 let s = { 884 ...a, 885 isUpdate: i 886 }, c = this.backend.create.bind(this.backend); 887 if (c.length < 6) try { 888 let i; 889 i = c.length === 5 ? c(e, t, n, r, s) : c(e, t, n, r), i && typeof i.then == "function" ? i.then((e) => o(null, e)).catch(o) : o(null, i); 890 } catch (e) { 891 o(e); 892 } 893 else c(e, t, n, r, o, s); 894 } 895 !e || !e[0] || this.store.addResource(e[0], t, n, r); 896 } 897 } 898}, R = () => ({ 899 debug: !1, 900 initAsync: !0, 901 ns: ["translation"], 902 defaultNS: ["translation"], 903 fallbackLng: ["dev"], 904 fallbackNS: !1, 905 supportedLngs: !1, 906 nonExplicitSupportedLngs: !1, 907 load: "all", 908 preload: !1, 909 simplifyPluralSuffix: !0, 910 keySeparator: ".", 911 nsSeparator: ":", 912 pluralSeparator: "_", 913 contextSeparator: "_", 914 partialBundledLanguages: !1, 915 saveMissing: !1, 916 updateMissing: !1, 917 saveMissingTo: "fallback", 918 saveMissingPlurals: !0, 919 missingKeyHandler: !1, 920 missingInterpolationHandler: !1, 921 postProcess: !1, 922 postProcessPassResolved: !1, 923 returnNull: !1, 924 returnEmptyString: !0, 925 returnObjects: !1, 926 joinArrays: !1, 927 returnedObjectHandler: !1, 928 parseMissingKeyHandler: !1, 929 appendNamespaceToMissingKey: !1, 930 appendNamespaceToCIMode: !1, 931 overloadTranslationOptionHandler: (e) => { 932 let t = {}; 933 if (typeof e[1] == "object" && (t = e[1]), _(e[1]) && (t.defaultValue = e[1]), _(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") { 934 let n = e[3] || e[2];
935 Object.keys(n).forEach((e) => { 936 t[e] = n[e]; 937 }); 938 } 939 return t; 940 }, 941 interpolation: { 942 escapeValue: !0, 943 format: (e) => e, 944 prefix: "{{", 945 suffix: "}}", 946 formatSeparator: ",", 947 unescapePrefix: "-", 948 nestingPrefix: "$t(", 949 nestingSuffix: ")", 950 nestingOptionsSeparator: ",", 951 maxReplaces: 1e3, 952 skipOnVariables: !0 953 }, 954 cacheInBuiltFormats: !0 955}), z = (e) => (_(e.ns) && (e.ns = [e.ns]), _(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), _(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), B = () => {}, Se = (e) => { 956 Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((t) => { 957 typeof e[t] == "function" && (e[t] = e[t].bind(e)); 958 }); 959}, V = class e extends N { 960 constructor(e = {}, t) { 961 if (super(), this.options = z(e), this.services = {}, this.logger = M, this.modules = { external: [] }, Se(this), t && !this.isInitialized && !e.isClone) { 962 if (!this.options.initAsync) return this.init(e, t), this; 963 setTimeout(() => { 964 this.init(e, t); 965 }, 0); 966 } 967 } 968 init(e = {}, t) { 969 this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (_(e.ns) ? e.defaultNS = e.ns : e.ns.indexOf("translation") < 0 && (e.defaultNS = e.ns[0])); 970 let n = R(); 971 this.options = { 972 ...n, 973 ...this.options, 974 ...z(e) 975 }, this.options.interpolation = { 976 ...n.interpolation, 977 ...this.options.interpolation 978 }, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator); 979 let r = (e) => e ? typeof e == "function" ? new e() : e : null; 980 if (!this.options.isClone) { 981 this.modules.logger ? M.init(r(this.modules.logger), this.options) : M.init(null, this.options); 982 let e; 983 e = this.modules.formatter ? this.modules.formatter : ye; 984 let t = new pe(this.options); 985 this.store = new ce(this.options.resources, this.options); 986 let i = this.services; 987 i.logger = M, i.resourceStore = this.store, i.languageUtils = t, i.pluralResolver = new he(t, { 988 prepend: this.options.pluralSeparator, 989 simplifyPluralSuffix: this.options.simplifyPluralSuffix 990 }), this.options.interpolation.format && this.options.interpolation.format !== n.interpolation.format && this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), e && (!this.options.interpolation.format || this.options.interpolation.format === n.interpolation.format) && (i.formatter = r(e), i.formatter.init && i.formatter.init(i, this.options), this.options.interpolation.format = i.formatter.format.bind(i.formatter)), i.interpolator = new ge(this.options), i.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, i.backendConnector = new xe(r(this.modules.backend), i.resourceStore, i, this.options), i.backendConnector.on("*", (e, ...t) => { 991 this.emit(e, ...t); 992 }), this.modules.languageDetector && (i.languageDetector = r(this.modules.languageDetector), i.languageDetector.init && i.languageDetector.init(i, this.options.detection, this.options)), this.modules.i18nFormat && (i.i18nFormat = r(this.modules.i18nFormat), i.i18nFormat.init && i.i18nFormat.init(this)), this.translator = new fe(this.services, this.options), this.translator.on("*", (e, ...t) => { 993 this.emit(e, ...t); 994 }), this.modules.external.forEach((e) => { 995 e.init && e.init(this); 996 }); 997 } 998 if (this.format = this.options.interpolation.format, t ||= B, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) { 999 let e = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng); 1000 e.length > 0 && e[0] !== "dev" && (this.options.lng = e[0]); 1001 } 1002 !this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), [ 1003 "getResource", 1004 "hasResourceBundle", 1005 "getResourceBundle", 1006 "getDataByLanguage" 1007 ].forEach((e) => { 1008 this[e] = (...t) => this.store[e](...t); 1009 }), [ 1010 "addResource", 1011 "addResources", 1012 "addResourceBundle", 1013 "removeResourceBundle" 1014 ].forEach((e) => { 1015 this[e] = (...t) => (this.store[e](...t), this); 1016 }); 1017 let i = v(), a = () => { 1018 let e = (e, n) => { 1019 this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit
vendor: 6,429 bytes, lines 1019-1130
1019("initialized", this.options), i.resolve(n), t(e, n); 1020 }; 1021 if (this.languages && !this.isInitialized) return e(null, this.t.bind(this)); 1022 this.changeLanguage(this.options.lng, e); 1023 }; 1024 return this.options.resources || !this.options.initAsync ? a() : setTimeout(a, 0), i; 1025 } 1026 loadResources(e, t = B) { 1027 let n = t, r = _(e) ? e : this.language; 1028 if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) { 1029 if (r?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return n(); 1030 let e = [], t = (t) => { 1031 t && t !== "cimode" && this.services.languageUtils.toResolveHierarchy(t).forEach((t) => { 1032 t !== "cimode" && e.indexOf(t) < 0 && e.push(t); 1033 }); 1034 }; 1035 r ? t(r) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e) => t(e)), this.options.preload?.forEach?.((e) => t(e)), this.services.backendConnector.load(e, this.options.ns, (e) => { 1036 !e && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), n(e); 1037 }); 1038 } else n(null); 1039 } 1040 reloadResources(e, t, n) { 1041 let r = v(); 1042 return typeof e == "function" && (n = e, e = void 0), typeof t == "function" && (n = t, t = void 0), e ||= this.languages, t ||= this.options.ns, n ||= B, this.services.backendConnector.reload(e, t, (e) => { 1043 r.resolve(), n(e); 1044 }), r; 1045 } 1046 use(e) { 1047 if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()"); 1048 if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()"); 1049 return e.type === "backend" && (this.modules.backend = e), (e.type === "logger" || e.log && e.warn && e.error) && (this.modules.logger = e), e.type === "languageDetector" && (this.modules.languageDetector = e), e.type === "i18nFormat" && (this.modules.i18nFormat = e), e.type === "postProcessor" && le.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this; 1050 } 1051 setResolvedLanguage(e) { 1052 if (!(!e || !this.languages) && !(["cimode", "dev"].indexOf(e) > -1)) { 1053 for (let e = 0; e < this.languages.length; e++) { 1054 let t = this.languages[e]; 1055 if (!(["cimode", "dev"].indexOf(t) > -1) && this.store.hasLanguageSomeTranslations(t)) { 1056 this.resolvedLanguage = t; 1057 break; 1058 } 1059 } 1060 !this.resolvedLanguage && this.languages.indexOf(e) < 0 && this.store.hasLanguageSomeTranslations(e) && (this.resolvedLanguage = e, this.languages.unshift(e)); 1061 } 1062 } 1063 changeLanguage(e, t) { 1064 this.isLanguageChangingTo = e; 1065 let n = v(); 1066 this.emit("languageChanging", e); 1067 let r = (e) => { 1068 this.language = e, this.languages = this.services.languageUtils.toResolveHierarchy(e), this.resolvedLanguage = void 0, this.setResolvedLanguage(e); 1069 }, i = (i, a) => { 1070 a ? this.isLanguageChangingTo === e && (r(a), this.translator.changeLanguage(a), this.isLanguageChangingTo = void 0, this.emit("languageChanged", a), this.logger.log("languageChanged", a)) : this.isLanguageChangingTo = void 0, n.resolve((...e) => this.t(...e)), t && t(i, (...e) => this.t(...e)); 1071 }, a = (t) => { 1072 !e && !t && this.services.languageDetector && (t = []); 1073 let n = _(t) ? t : t && t[0], a = this.store.hasLanguageSomeTranslations(n) ? n : this.services.languageUtils.getBestMatchFromCodes(_(t) ? [t] : t); 1074 a && (this.language || r(a), this.translator.language || this.translator.changeLanguage(a), this.services.languageDetector?.cacheUserLanguage?.(a)), this.loadResources(a, (e) => { 1075 i(e, a); 1076 }); 1077 }; 1078 return !e && this.services.languageDetector && !this.services.languageDetector.async ? a(this.services.languageDetector.detect()) : !e && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(a) : this.services.languageDetector.detect(a) : a(e), n; 1079 } 1080 getFixedT(e, t, n) { 1081 let r = (e, t, ...i) => { 1082 let a; 1083 a = typeof t == "object" ? { ...t } : this.options.overloadTranslationOptionHandler([e, t].concat(i)), a.lng = a.lng || r.lng, a.lngs = a.lngs || r.lngs, a.ns = a.ns || r.ns, a.keyPrefix !== "" && (a.keyPrefix = a.keyPrefix || n || r.keyPrefix); 1084 let o = this.options.keySeparator || ".", s; 1085 return s = a.keyPrefix && Array.isArray(e) ? e.map((e) => `${a.keyPrefix}${o}${e}`) : a.keyPrefix ? `${a.keyPrefix}${o}${e}` : e, this.t(s, a); 1086 }; 1087 return _(e) ? r.lng = e : r.lngs = e, r.ns = t, r.keyPrefix = n, r; 1088 } 1089 t(...e) { 1090 return this.translator?.translate(...e); 1091 } 1092 exists(...e) { 1093 return this.translator?.exists(...e); 1094 } 1095 setDefaultNamespace(e) { 1096 this.options.defaultNS = e; 1097 } 1098 hasLoadedNamespace(e, t = {}) { 1099 if (!this.isInitialized) return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1; 1100 if (!this.languages || !this.languages.length) return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1; 1101 let n = t.lng || this.resolvedLanguage || this.languages[0], r = this.options ? this.options.fallbackLng : !1, i = this.languages[this.languages.length - 1]; 1102 if (n.toLowerCase() === "cimode") return !0; 1103 let a = (e, t) => { 1104 let n = this.services.backendConnector.state[`${e}|${t}`]; 1105 return n === -1 || n === 0 || n === 2; 1106 }; 1107 if (t.precheck) { 1108 let e = t.precheck(this, a); 1109 if (e !== void 0) return e; 1110 } 1111 return !!(this.hasResourceBundle(n, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || a(n, e) && (!r || a(i, e))); 1112 } 1113 loadNamespaces(e, t) { 1114 let n = v(); 1115 return this.options.ns ? (_(e) && (e = [e]), e.forEach((e) => { 1116 this.options.ns.indexOf(e) < 0 && this.options.ns.push(e); 1117 }), this.loadResources((e) => { 1118 n.resolve(), t && t(e); 1119 }), n) : (t && t(), Promise.resolve()); 1120 } 1121 loadLanguages(e, t) { 1122 let n = v(); 1123 _(e) && (e = [e]); 1124 let r = this.options.preload || [], i = e.filter((e) => r.indexOf(e) < 0 && this.services.languageUtils.isSupportedCode(e)); 1125 return i.length ? (this.options.preload = r.concat(i), this.loadResources((e) => { 1126 n.resolve(), t && t(e); 1127 }), n) : (t && t(), Promise.resolve()); 1128 } 1129 dir(e) { 1130 if (e ||= this.resolvedLanguage || (this.languages?.length > 0 ? this.languages[0] : this.language), !e) return "rtl";
1131 try { 1132 let t = new Intl.Locale(e); 1133 if (t && t.getTextInfo) { 1134 let e = t.getTextInfo(); 1135 if (e && e.direction) return e.direction; 1136 } 1137 } catch {} 1138 let t = /* @__PURE__ */ "ar.shu.sqr.ssh.xaa.yhd.yud.aao.abh.abv.acm.acq.acw.acx.acy.adf.ads.aeb.aec.afb.ajp.apc.apd.arb.arq.ars.ary.arz.auz.avl.ayh.ayl.ayn.ayp.bbz.pga.he.iw.ps.pbt.pbu.pst.prp.prd.ug.ur.ydd.yds.yih.ji.yi.hbo.men.xmn.fa.jpr.peo.pes.prs.dv.sam.ckb".split("."), n = this.services?.languageUtils || new pe(R()); 1139 return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr"; 1140 } 1141 static createInstance(t = {}, n) { 1142 return new e(t, n); 1143 } 1144 cloneInstance(t = {}, n = B) { 1145 let r = t.forkResourceStore; 1146 r && delete t.forkResourceStore; 1147 let i = { 1148 ...this.options, 1149 ...t, 1150 isClone: !0 1151 }, a = new e(i); 1152 return (t.debug !== void 0 || t.prefix !== void 0) && (a.logger = a.logger.clone(t)), [ 1153 "store", 1154 "services", 1155 "language" 1156 ].forEach((e) => { 1157 a[e] = this[e]; 1158 }), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new ce(Object.keys(this.store.data).reduce((e, t) => (e[t] = { ...this.store.data[t] }, e[t] = Object.keys(e[t]).reduce((n, r) => (n[r] = { ...e[t][r] }, n), e[t]), e), {}), i), a.services.resourceStore = a.store), a.translator = new fe(a.services, i), a.translator.on("*", (e, ...t) => { 1159 a.emit(e, ...t); 1160 }), a.init(i, n), a.translator.options = i, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a; 1161 } 1162 toJSON() { 1163 return { 1164 options: this.options, 1165 store: this.store, 1166 language: this.language, 1167 languages: this.languages, 1168 resolvedLanguage: this.resolvedLanguage 1169 }; 1170 } 1171}, Ce = V.createInstance(); 1172Ce.createInstance = V.createInstance; 1173function we() { 1174 return window; 1175} 1176function Te(e) { 1177 return { 1178 version: "3.36.0", 1179 headlessVersion: e 1180 }; 1181} 1182function Ee() { 1183 return Te("").version; 1184} 1185function De(e, t) { 1186 we()[e] || (we()[e] = Te(t)); 1187} 1188var H = { 1189 af: () => import("./af-b3faf91eCGb2XSWK.js").then(function(e) { 1190 return e.a; 1191 }), 1192 am: () => import("./am-e9cb6364CKsJr6vA.js").then(function(e) { 1193 return e.a; 1194 }), 1195 "ar-DZ": () => import("./ar-dz-5ba0c69an7C3vMeK.js").then(function(e) { 1196 return e.a; 1197 }), 1198 "ar-IQ": () => import("./ar-iq-3d2e5b8aCFgdxvLR.js").then(function(e) { 1199 return e.a; 1200 }), 1201 "ar-KW": () => import("./ar-kw-e126035djS1CYbw4.js").then(function(e) { 1202 return e.a; 1203 }), 1204 "ar-LY": () => import("./ar-ly-2924eb0cCFZrI2SV.js").then(function(e) { 1205 return e.a; 1206 }), 1207 "ar-MA": () => import("./ar-ma-afb201beB8vOxlE6.js").then(function(e) { 1208 return e.a; 1209 }), 1210 "ar-SA": () => import("./ar-sa-10527551CXlJ_mxn.js").then(function(e) { 1211 return e.a; 1212 }), 1213 "ar-TN": () => import("./ar-tn-fc69128dB39Jsti-.js").then(function(e) { 1214 return e.a; 1215 }), 1216 ar: () => import("./ar-cb6d7ed9CTkvpH5t.js").then(function(e) { 1217 return e.a; 1218 }), 1219 az: () => import("./az-199a5a03DTxKWAD6.js").then(function(e) { 1220 return e.a; 1221 }), 1222 be: () => import("./be-794487faCNZo2Q1i.js").then(function(e) { 1223 return e.b; 1224 }), 1225 bg: () => import("./bg-c99d9a270Z6Yc0hK.js").then(function(e) { 1226 return e.b; 1227 }), 1228 bi: () => import("./bi-124c11c0bLMUyrm4.js").then(function(e) { 1229 return e.b; 1230 }), 1231 bm: () => import("./bm-252381bbDPKOGeLs.js").then(function(e) { 1232 return e.b; 1233 }), 1234 "bn-BD": () => import("./bn-bd-3970b0f8AvKsPSPn.js").then(function(e) { 1235 return e.b; 1236 }), 1237 bn: () => import("./bn-b080ba5bDKupRWN0.js").then(function(e) { 1238 return e.b; 1239 }), 1240 bo: () => import("./bo-e303874cBAO40ORT.js").then(function(e) { 1241 return e.b; 1242 }), 1243 br: () => import("./br-6f4c4f3cDa5rkmeC.js").then(function(e) { 1244 return e.b; 1245 }), 1246 bs: () => import("./bs-b0d64727Du20SRse.js").then(function(e) { 1247 return e.b; 1248 }), 1249 ca: () => import("./ca-92df40c1ycqrKyWq.js").then(function(e) { 1250 return e.c; 1251 }), 1252 cs: () => import("./cs-24a0d8dfBUWaLs6K.js").then(function(e) { 1253 return e.c; 1254 }), 1255 cv: () => import("./cv-5c3bf49drFlEkqI6.js").then(function(e) { 1256 return e.c; 1257 }), 1258 cy: () => import("./cy-f6001872DszHF9UW.js").then(function(e) { 1259 return e.c; 1260 }), 1261 "de-AT": () => import("./de-at-a40f7f74BnMNr-zl.js").then(function(e) { 1262 return e.d; 1263 }), 1264 da: () => import("./da-15f86fbefpEIsyO-.js").then(function(e) { 1265 return e.d; 1266 }), 1267 "de-CH": () => import("./de-ch-a30a335bDzWW0H86.js").then(function(e) { 1268 return e.d; 1269 }), 1270 de: () => import("./de-4ce42d40DYvbFtNZ.js").then(function(e) { 1271 return e.d; 1272 }), 1273 dv: () => import("./dv-9f6bc9bfDOs0KD5r.js").then(function(e) { 1274 return e.d; 1275 }), 1276 el: () => import("./el-148a8b976ovwEmmK.js").then(function(e) { 1277 return e.e; 1278 }), 1279 "en-AU": () => import("./en-au-71a08338BsrfMx12.js").then(function(e) { 1280 return e.e; 1281 }), 1282 "en-CA": () => import("./en-ca-64578981B3dzINBA.js").then(function(e) { 1283 return e.e; 1284 }), 1285 "en-GB": () => import("./en-gb-05fb760epA4v3UYT.js").then(function(e) { 1286 return e.e; 1287 }), 1288 "en-IE": () => import("./en-ie-9f15184eBdXP074u.js").then(function(e) { 1289 return e.e; 1290 }), 1291 "en-IL": () => import("./en-il-dc1c6c06DVluamCn.js").then(function(e) { 1292 return e.e; 1293 }), 1294 "en-IN": () => import("./en-in-d7952971B1FyuEm3.js").then(function(e) { 1295 return e.e; 1296 }), 1297 "en-NZ": () => import("./en-nz-a0ca8c2cLZkwTXib.js").then(function(e) { 1298 return e.e; 1299 }), 1300 "en-SG": () => import("./en-sg-572efd00CkIgKbOP.js").then(function(e) { 1301 return e.e; 1302 }), 1303 "en-TT": () => import("./en-tt-7b213249rODky8Yq.js").then(function(e) { 1304 return e.e; 1305 }), 1306 eo: () => import("./eo-08ef2039BXr8odsb.js").then(function(e) { 1307 return e.e; 1308 }), 1309 en: () => import("./en-9ec8ae09Dv3VEwEy.js").then(function(e) { 1310 return e.e; 1311 }), 1312 "es-DO": () => import("./es-do-2eea52e8B_clV3tc.js").then(function(e) { 1313 return e.e; 1314 }), 1315 "es-MX": () => import("./es-mx-3ec49afaCS-9fsEW.js").then(function(e) { 1316 return e.e; 1317 }), 1318 "es-PR": () => import("./es-pr-f87fb1b9BQEpOMFh.js").then(function(e) { 1319 return e.e; 1320 }), 1321 "es-US": () => import("./es-us-d9081646CoqdIoma.js").then(function(e) { 1322 return e.e; 1323 }), 1324 et: () => import("./et-8c682b5aC-o5vyhT.js").then(function(e) { 1325 return e.e; 1326 }), 1327 es: () => import("./es-d6e72728BMwmEj2G.js").then(function(e) { 1328 return e.e; 1329 }), 1330 eu: () => import("./eu-63210626CYPGr8s6.js").then(function(e) { 1331 return e.e; 1332 }), 1333 fa: () => import("./fa-1f4a0a77Bo-l4rg1.js").then(function(e) { 1334 return e.f; 1335 }), 1336 fo: () => import("./fo-72be1810JxczDH8G.js").then(function(e) { 1337 return e.f; 1338 }), 1339 fi: () => import("./fi-cb158514DETCmD1L.js").then(function(e) { 1340 return e.f; 1341 }), 1342 "fr-CA": () => import("./fr-ca-7fb4ed5cDAXbn8y1.js").then(function(e) { 1343 return e.f; 1344 }), 1345 "fr-CH": () => import("./fr-ch-36bbe813D9hpkPGC.js").then(function(e) { 1346 return e.f; 1347 }), 1348 fr: () => import("./fr-4da8b2acOysLW_1I.js").then(function(e) { 1349 return e.f; 1350 }), 1351 fy: () => import("./fy-b1eb2831icED2dIu.js").then(function(e) { 1352 return e.f; 1353 }), 1354 ga: () => import("./ga-85f2952bByma-eQI.js").then(function(e) { 1355 return e.g; 1356 }), 1357 gd: () => import("./gd-3408acafC45LTRqh.js").then(function(e) { 1358 return e.g; 1359 }), 1360 "gom-LATN": () => import("./gom-latn-e22fddc8BeLAE3zH.js").then(function(e) { 1361 return e.g; 1362 }), 1363 gl: () => import("./gl-cd87ea7fBCfrJkQQ.js").then(function(e) { 1364 return e.g; 1365 }), 1366 gu: () => import("./gu-8cdbd4f7DRsctU0T.js").then(function(e) { 1367 return e.g; 1368 }), 1369 he: () =>
1369 import("./he-6d85be54CMW7Ow_M.js").then(function(e) { 1370 return e.h; 1371 }), 1372 hi: () => import("./hi-f41b5a66lnWJWAh-.js").then(function(e) { 1373 return e.h; 1374 }), 1375 hr: () => import("./hr-cacc6068aeJyjtvy.js").then(function(e) { 1376 return e.h; 1377 }), 1378 hu: () => import("./hu-de350c06LKEBPKeW.js").then(function(e) { 1379 return e.h; 1380 }), 1381 ht: () => import("./ht-22455dccBFEOpY2H.js").then(function(e) { 1382 return e.h; 1383 }), 1384 "hy-AM": () => import("./hy-am-81d1c652D-Z9b91K.js").then(function(e) { 1385 return e.h; 1386 }), 1387 id: () => import("./id-81fd66c1BBLSy0ul.js").then(function(e) { 1388 return e.i; 1389 }), 1390 is: () => import("./is-5856cbb7CUXS1uux.js").then(function(e) { 1391 return e.i; 1392 }), 1393 "it-CH": () => import("./it-ch-dfcf6a22BQ3bDRsc.js").then(function(e) { 1394 return e.i; 1395 }), 1396 it: () => import("./it-18c0d3e6BvOAPT8N.js").then(function(e) { 1397 return e.i; 1398 }), 1399 ja: () => import("./ja-c46d4b1eDDAEm7Cv.js").then(function(e) { 1400 return e.j; 1401 }), 1402 jv: () => import("./jv-fbdffaf2BrMFEHI1.js").then(function(e) { 1403 return e.j; 1404 }), 1405 ka: () => import("./ka-75d2a2b0B-60_DF3.js").then(function(e) { 1406 return e.k; 1407 }), 1408 kk: () => import("./kk-1a51a974xbEMtwLZ.js").then(function(e) { 1409 return e.k; 1410 }), 1411 km: () => import("./km-8d0b4152DipsU5oM.js").then(function(e) { 1412 return e.k; 1413 }), 1414 kn: () => import("./kn-00c6b4a1BwlNrj8p.js").then(function(e) { 1415 return e.k; 1416 }), 1417 ko: () => import("./ko-448cf08fiGB6u_ZA.js").then(function(e) { 1418 return e.k; 1419 }), 1420 ku: () => import("./ku-e8f3148dDFuCCOis.js").then(function(e) { 1421 return e.k; 1422 }), 1423 ky: () => import("./ky-4f94fb6dD3VgrDrc.js").then(function(e) { 1424 return e.k; 1425 }), 1426 lb: () => import("./lb-445912d6DOWn4vIq.js").then(function(e) { 1427 return e.l; 1428 }), 1429 lo: () => import("./lo-e8aa3f1eOmnOEnAo.js").then(function(e) { 1430 return e.l; 1431 }), 1432 lt: () => import("./lt-3b6cf273CnV8-0BD.js").then(function(e) { 1433 return e.l; 1434 }), 1435 lv: () => import("./lv-b0d8652aBm3ZmIWL.js").then(function(e) { 1436 return e.l; 1437 }), 1438 me: () => import("./me-8a1db3aeCqGe-t8e.js").then(function(e) { 1439 return e.m; 1440 }), 1441 mi: () => import("./mi-4da080b1Cu99gPtQ.js").then(function(e) { 1442 return e.m; 1443 }), 1444 mk: () => import("./mk-4c62fc73BeCfggd_.js").then(function(e) { 1445 return e.m; 1446 }), 1447 ml: () => import("./ml-d2903289LbWxxnO3.js").then(function(e) { 1448 return e.m; 1449 }), 1450 mn: () => import("./mn-8fbea63eDjlq4_mz.js").then(function(e) { 1451 return e.m; 1452 }), 1453 mr: () => import("./mr-8d5ec43fD2l6oOoL.js").then(function(e) { 1454 return e.m; 1455 }), 1456 "ms-MY": () => import("./ms-my-64085af40qSvfpr5.js").then(function(e) { 1457 return e.m; 1458 }), 1459 ms: () => import("./ms-af7e8df7D1k6210G.js").then(function(e) { 1460 return e.m; 1461 }), 1462 mt: () => import("./mt-d2f5e061D1fRpoNw.js").then(function(e) { 1463 return e.m; 1464 }), 1465 my: () => import("./my-ef5caabaDc8metVU.js").then(function(e) { 1466 return e.m; 1467 }), 1468 nb: () => import("./nb-a678fab7L3f-XLBd.js").then(function(e) { 1469 return e.n; 1470 }), 1471 ne: () => import("./ne-d1d187ceB8S5CYwk.js").then(function(e) { 1472 return e.n; 1473 }), 1474 "nl-BE": () => import("./nl-be-4928ae6eHVKkyvjx.js").then(function(e) { 1475 return e.n; 1476 }), 1477 nl: () => import("./nl-ad49428aDwmJiT-4.js").then(function(e) { 1478 return e.n; 1479 }), 1480 pl: () => import("./pl-132051d9D8czkTFq.js").then(function(e) { 1481 return e.p; 1482 }), 1483 "pt-BR": () => import("./pt-br-f49d9112CtpqKak_.js").then(function(e) { 1484 return e.p; 1485 }), 1486 pt: () => import("./pt-3074e2a4BHlbwNxN.js").then(function(e) { 1487 return e.p; 1488 }), 1489 rn: () => import("./rn-e771a818CG-5VJp5.js").then(function(e) { 1490 return e.r; 1491 }), 1492 ro: () => import("./ro-3332d691BFnez2Gz.js").then(function(e) { 1493 return e.r; 1494 }), 1495 ru: () => import("./ru-255491faCRT4DjVv.js").then(function(e) { 1496 return e.r; 1497 }), 1498 rw: () => import("./rw-72e60f36C61h5pXk.js").then(function(e) { 1499 return e.r; 1500 }), 1501 sd: () => import("./sd-b761056eBrX3kCaK.js").then(function(e) { 1502 return e.s; 1503 }), 1504 se: () => import("./se-3273560bC4tY6x5O.js").then(function(e) { 1505 return e.s; 1506 }), 1507 si: () => import("./si-537468444X5w5sld.js").then(function(e) { 1508 return e.s; 1509 }), 1510 sk: () => import("./sk-ef08302cBA3Nb4xI.js").then(function(e) { 1511 return e.s; 1512 }), 1513 sl: () => import("./sl-dd5e34e6C7Coh0QX.js").then(function(e) { 1514 return e.s; 1515 }), 1516 sq: () => import("./sq-6b3a6a22Dd6Pw5bh.js").then(function(e) { 1517 return e.s; 1518 }), 1519 "sr-CYRL": () => import("./sr-cyrl-6db8de73BT90aE2V.js").then(function(e) { 1520 return e.s; 1521 }), 1522 ss: () => import("./ss-db1ce75dBQAidkml.js").then(function(e) { 1523 return e.s; 1524 }), 1525 "sv-FI": () => import("./sv-fi-25e32c59DYBTQtzB.js").then(function(e) { 1526 return e.s; 1527 }), 1528 sr: () => import("./sr-810dc87cXnionmon.js").then(function(e) { 1529 return e.s; 1530 }), 1531 sv: () => import("./sv-e70709e9CK9ZMGqE.js").then(function(e) { 1532 return e.s; 1533 }), 1534 sw: () => import("./sw-964eb461B9hdNCjN.js").then(function(e) { 1535 return e.s; 1536 }), 1537 ta: () => import("./ta-5c6c5b31DFuUaJBA.js").then(function(e) { 1538 return e.t; 1539 }), 1540 te: () => import("./te-aabe177aD5T3R1qR.js").then(function(e) { 1541 return e.t; 1542 }), 1543 tet: () => import("./tet-b6ee9a63CyKYTugn.js").then(function(e) { 1544 return e.t; 1545 }), 1546 tg: () => import("./tg-e80d07baBaMjU7DD.js").then(function(e) { 1547 return e.t; 1548 }), 1549 th: () => import("./th-67e4d461CTnWy0tw.js").then(function(e) { 1550 return e.t; 1551 }), 1552 tk: () => import("./tk-7c2e6c39CITq2OBQ.js").then(function(e) { 1553 return e.t; 1554 }), 1555 "tl-PH": () => import("./tl-ph-02e6de6a_n-y_89W.js").then(function(e) { 1556 return e.t; 1557 }), 1558 tlh: () => import("./tlh-c12b792dCPKTOF07.js").then(function(e) { 1559 return e.t; 1560 }), 1561 tr: () => import("./tr-d44675c4B5yaH-jk.js").then(function(e) { 1562 return e.t; 1563 }), 1564 tzl: () => import("./tzl-daeb1470CV_TwWOD.js").then(function(e) { 1565 return e.t; 1566 }), 1567 "tzm-LATN": () => import("./tzm-latn-00c31214D7ZFniZx.js").then(function(e) { 1568 return e.t; 1569 }), 1570 tzm: () => import("./tzm-e5f35f92TTCnyU2D.js").then(function(e) { 1571 return e.t; 1572 }), 1573 "ug-CN": () => import("./ug-cn-1626e72bB9Zq76ob.js").then(function(e) { 1574 return e.u; 1575 }), 1576 uk: () => import("./uk-f519c388BRBRz9n1.js").then(function(e) { 1577 return e.u; 1578 }), 1579 ur: () => import("./ur-bc876bdcBCX5zGG1.js").then(function(e) { 1580 return e.u; 1581 }), 1582 "uz-LATN": () => import("./uz-latn-3dc9ee1bLTXJwC-D.js").then(function(e) { 1583 return e.u; 1584 }), 1585 uz: () => import("./uz-1cde51d4uqPegSef.js").then(function(e) { 1586 return e.u; 1587 }), 1588 vi: () => import("./vi-3defe54aXCEHZ20T.js").then(function(e) { 1589 return e.v; 1590 }), 1591 "x-PSEUDO": () => import("./x-pseudo-f9b053ffIRbagAqN.js").then(function(e) { 1592 return e.x; 1593 }), 1594 yo: () => import("./yo-5985943fBVU4-lFr.js").then(function(e) { 1595 return e.y; 1596 }), 1597 "zh-CN": () => import("./zh-cn-24aeb427CbX5Gzx9.js").then(function(e) { 1598 return e.z; 1599 }), 1600 "zh-HK": () => import("./zh-hk-3c82e78cCyNc4CeS.js").then(function(e) { 1601 return e.z; 1602 }), 1603 "zh-TW": () => import("./zh-tw-5bd132cd0Y9hYsPg.js").then(function(e) { 1604 return e.z; 1605 }), 1606 zh: () => import("./zh-979f158aDp5lyi-b.js").then(function(e) { 1607 return e.z; 1608 }), 1609 "oc-LNC": () => import("./oc-lnc-46c2e869uW1GS6ZB.js").then(function(e) { 1610 return e.o; 1611 }), 1612 nn: () => import("./nn-f793df24KY60reSs.js").then(function(e) { 1613 return e.n; 1614 }), 1615 "pa-IN": () => import("./pa-in-4738108dCiFHEP-m.js").then(function(e) { 1616 return e.p; 1617 }) 1618}, Oe = (e) => console.warn(`Cannot load dayjs locale file for "${e}"`), ke = (e) => { 1619 if (H[e]) return e; 1620 if (e.includes("-")) { 1621 let t = e.split("-")[0]; 1622 if (H[t]) return t; 1623 } 1624 return e; 1625}; 1626function Ae(e) { 1627 let t = ke(e); 1628 if (!H[t]) { 1629 Oe(t); 1630 return; 1631 } 1632 try { 1633 H[t]().then(() => l.locale(t)); 1634 } catch { 1635 Oe(t); 1636 } 1637} 1638function U(e) { 1639 "@babel/helpers - typeof"; 1640 return U = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) { 1641 return typeof e; 1642 } : function(e) { 1643 return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; 1644 }, U(e); 1645} 1646function je() { 1647 return typeof XMLHttpRequest == "function" || (typeof XMLHttpRequest > "u" ? "undefined" : U(XMLHttpRequest)) === "object"; 1648} 1649function Me(e) { 1650 return !!e && typeof e.then == "function"; 1651} 1652function Ne(e) { 1653 return Me(e) ? e : Promise.resolve(e); 1654} 1655function Pe(e, t) { 1656 var n = Object.keys(e); 1657 if (Object.getOwnPropertySymbols) { 1658 var r = Object.getOwnPropertySymbols(e); 1659 t && (r = r.filter(function(t) { 1660 return Object.getOwnPropertyDescriptor(e, t).enumerable; 1661 })), n.push.apply(n, r); 1662 } 1663 return n; 1664} 1665function Fe(e) { 1666 for (var t = 1; t < arguments.length; t++) { 1667 var n = arguments[t] == null ? {} : arguments[t];
1668 t % 2 ? Pe(Object(n), !0).forEach(function(t) { 1669 Ie(e, t, n[t]); 1670 }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Pe(Object(n)).forEach(function(t) { 1671 Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); 1672 }); 1673 } 1674 return e; 1675} 1676function Ie(e, t, n) { 1677 return (t = Le(t)) in e ? Object.defineProperty(e, t, { 1678 value: n, 1679 enumerable: !0, 1680 configurable: !0, 1681 writable: !0 1682 }) : e[t] = n, e; 1683} 1684function Le(e) { 1685 var t = Re(e, "string"); 1686 return W(t) == "symbol" ? t : t + ""; 1687} 1688function Re(e, t) { 1689 if (W(e) != "object" || !e) return e; 1690 var n = e[Symbol.toPrimitive]; 1691 if (n !== void 0) { 1692 var r = n.call(e, t || "default"); 1693 if (W(r) != "object") return r; 1694 throw TypeError("@@toPrimitive must return a primitive value."); 1695 } 1696 return (t === "string" ? String : Number)(e); 1697} 1698function W(e) { 1699 "@babel/helpers - typeof"; 1700 return W = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) { 1701 return typeof e; 1702 } : function(e) { 1703 return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; 1704 }, W(e); 1705} 1706var G = typeof fetch == "function" ? fetch : void 0; 1707typeof global < "u" && global.fetch ? G = global.fetch : typeof window < "u" && window.fetch && (G = window.fetch); 1708var K; 1709je() && (typeof global < "u" && global.XMLHttpRequest ? K = global.XMLHttpRequest : typeof window < "u" && window.XMLHttpRequest && (K = window.XMLHttpRequest)); 1710var q; 1711if (typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObject ? q = global.ActiveXObject : typeof window < "u" && window.ActiveXObject && (q = window.ActiveXObject)), typeof G != "function" && (G = void 0), !G && !K && !q) try { 1712 import("./browser-ponyfill-3a04ef55Bpg0CmPJ.js").then(function(e) { 1713 return e.b; 1714 }).then(function(e) { 1715 G = e.default; 1716 }).catch(function() {}); 1717} catch {} 1718var J = function(e, t) { 1719 if (t && W(t) === "object") { 1720 var n = ""; 1721 for (var r in t) n += "&" + encodeURIComponent(r) + "=" + encodeURIComponent(t[r]); 1722 if (!n) return e; 1723 e = e + (e.indexOf("?") === -1 ? "?" : "&") + n.slice(1); 1724 } 1725 return e; 1726}, ze = function(e, t, n, r) { 1727 var i = function(e) { 1728 if (!e.ok) return n(e.statusText || "Error", { status: e.status }); 1729 e.text().then(function(t) { 1730 n(null, { 1731 status: e.status, 1732 data: t 1733 }); 1734 }).catch(n); 1735 }; 1736 if (r) { 1737 var a = r(e, t); 1738 if (a instanceof Promise) { 1739 a.then(i).catch(n); 1740 return; 1741 } 1742 } 1743 typeof fetch == "function" ? fetch(e, t).then(i).catch(n) : G(e, t).then(i).catch(n); 1744}, Be = !1, Ve = function(e, t, n, r) { 1745 e.queryStringParams && (t = J(t, e.queryStringParams)); 1746 var i = Fe({}, typeof e.customHeaders == "function" ? e.customHeaders() : e.customHeaders); 1747 typeof window > "u" && typeof global < "u" && global.process !== void 0 && global.process.versions && global.process.versions.node && (i["User-Agent"] = `i18next-http-backend (node/${global.process.version}; ${global.process.platform} ${global.process.arch})`), n && (i["Content-Type"] = "application/json"); 1748 var a = typeof e.requestOptions == "function" ? e.requestOptions(n) : e.requestOptions, o = Fe({ 1749 method: n ? "POST" : "GET", 1750 body: n ? e.stringify(n) : void 0, 1751 headers: i 1752 }, Be ? {} : a), s = typeof e.alternateFetch == "function" && e.alternateFetch.length >= 1 ? e.alternateFetch : void 0; 1753 try { 1754 ze(t, o, r, s); 1755 } catch (e) { 1756 if (!a || Object.keys(a).length === 0 || !e.message || e.message.indexOf("not implemented") < 0) return r(e); 1757 try { 1758 Object.keys(a).forEach(function(e) { 1759 delete o[e]; 1760 }), ze(t, o, r, s), Be = !0; 1761 } catch (e) { 1762 r(e); 1763 } 1764 } 1765}, He = function(e, t, n, r) { 1766 n && W(n) === "object" && (n = J("", n).slice(1)), e.queryStringParams && (t = J(t, e.queryStringParams)); 1767 try { 1768 var i = K ? new K() : new q("MSXML2.XMLHTTP.3.0"); 1769 i.open(n ? "POST" : "GET", t, 1), e.crossDomain || i.setRequestHeader("X-Requested-With", "XMLHttpRequest"), i.withCredentials = !!e.withCredentials, n && i.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), i.overrideMimeType && i.overrideMimeType("application/json"); 1770 var a = e.customHeaders; 1771 if (a = typeof a == "function" ? a() : a, a) for (var o in a) i.setRequestHeader(o, a[o]); 1772 i.onreadystatechange = function() { 1773 i.readyState > 3 && r(i.status >= 400 ? i.statusText : null, { 1774 status: i.status, 1775 data: i.responseText 1776 }); 1777 }, i.send(n); 1778 } catch (e) { 1779 console && console.log(e); 1780 } 1781}, Ue = function(e, t, n, r) { 1782 if (typeof n == "function" && (r = n, n = void 0), r ||= function() {}, G && t.indexOf("file:") !== 0) return Ve(e, t, n, r); 1783 if (je() || typeof ActiveXObject == "function") return He(e, t, n, r); 1784 r(/* @__PURE__ */ Error("No fetch and no xhr implementation found!")); 1785}; 1786function Y(e) { 1787 "@babel/helpers - typeof"; 1788 return Y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) { 1789 return typeof e; 1790 } : function(e) { 1791 return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e; 1792 }, Y(e); 1793} 1794function We(e, t) { 1795 var n = Object.keys(e); 1796 if (Object.getOwnPropertySymbols) { 1797 var r = Object.getOwnPropertySymbols(e); 1798 t && (r = r.filter(function(t) { 1799 return Object.getOwnPropertyDescriptor(e, t).enumerable; 1800 })), n.push.apply(n, r); 1801 } 1802 return n; 1803} 1804function X(e) { 1805 for (var t = 1; t < arguments.length; t++) { 1806 var n = arguments[t] == null ? {} : arguments[t];
1807 t % 2 ? We(Object(n), !0).forEach(function(t) { 1808 Je(e, t, n[t]); 1809 }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : We(Object(n)).forEach(function(t) { 1810 Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t)); 1811 }); 1812 } 1813 return e; 1814} 1815function Ge(e, t) { 1816 if (!(e instanceof t)) throw TypeError("Cannot call a class as a function"); 1817} 1818function Ke(e, t) { 1819 for (var n = 0; n < t.length; n++) { 1820 var r = t[n]; 1821 r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Ye(r.key), r); 1822 } 1823} 1824function qe(e, t, n) { 1825 return t && Ke(e.prototype, t), n && Ke(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e; 1826} 1827function Je(e, t, n) { 1828 return (t = Ye(t)) in e ? Object.defineProperty(e, t, { 1829 value: n, 1830 enumerable: !0, 1831 configurable: !0, 1832 writable: !0 1833 }) : e[t] = n, e; 1834} 1835function Ye(e) { 1836 var t = Xe(e, "string"); 1837 return Y(t) == "symbol" ? t : t + ""; 1838} 1839function Xe(e, t) { 1840 if (Y(e) != "object" || !e) return e; 1841 var n = e[Symbol.toPrimitive]; 1842 if (n !== void 0) { 1843 var r = n.call(e, t || "default"); 1844 if (Y(r) != "object") return r; 1845 throw TypeError("@@toPrimitive must return a primitive value."); 1846 } 1847 return (t === "string" ? String : Number)(e); 1848} 1849var Ze = function() { 1850 return { 1851 loadPath: "/locales/{{lng}}/{{ns}}.json", 1852 addPath: "/locales/add/{{lng}}/{{ns}}", 1853 parse: function(e) { 1854 return JSON.parse(e); 1855 }, 1856 stringify: JSON.stringify, 1857 parsePayload: function(e, t, n) { 1858 return Je({}, t, n || ""); 1859 }, 1860 parseLoadPayload: function(e, t) {}, 1861 request: Ue, 1862 reloadInterval: typeof window < "u" ? !1 : 3600 * 1e3, 1863 customHeaders: {}, 1864 queryStringParams: {}, 1865 crossDomain: !1, 1866 withCredentials: !1, 1867 overrideMimeType: !1, 1868 requestOptions: { 1869 mode: "cors", 1870 credentials: "same-origin", 1871 cache: "default" 1872 } 1873 }; 1874}, Z = function() { 1875 function e(t) { 1876 var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; 1877 Ge(this, e), this.services = t, this.options = n, this.allOptions = r, this.type = "backend", this.init(t, n, r); 1878 } 1879 return qe(e, [ 1880 { 1881 key: "init", 1882 value: function(e) { 1883 var t = this, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; 1884 if (this.services = e, this.options = X(X(X({}, Ze()), this.options || {}), n), this.allOptions = r, this.services && this.options.reloadInterval) { 1885 var i = setInterval(function() { 1886 return t.reload(); 1887 }, this.options.reloadInterval); 1888 Y(i) === "object" && typeof i.unref == "function" && i.unref(); 1889 } 1890 } 1891 }, 1892 { 1893 key: "readMulti", 1894 value: function(e, t, n) { 1895 this._readAny(e, e, t, t, n); 1896 } 1897 }, 1898 { 1899 key: "read", 1900 value: function(e, t, n) { 1901 this._readAny([e], e, [t], t, n); 1902 } 1903 }, 1904 { 1905 key: "_readAny", 1906 value: function(e, t, n, r, i) { 1907 var a = this, o = this.options.loadPath; 1908 typeof this.options.loadPath == "function" && (o = this.options.loadPath(e, n)), o = Ne(o), o.then(function(o) { 1909 if (!o) return i(null, {}); 1910 var s = a.services.interpolator.interpolate(o, { 1911 lng: e.join("+"), 1912 ns: n.join("+") 1913 }); 1914 a.loadUrl(s, i, t, r); 1915 }); 1916 } 1917 }, 1918 { 1919 key: "loadUrl", 1920 value: function(e, t, n, r) { 1921 var i = this, a = typeof n == "string" ? [n] : n, o = typeof r == "string" ? [r] : r, s = this.options.parseLoadPayload(a, o); 1922 this.options.request(this.options, e, s, function(a, o) { 1923 if (o && (o.status >= 500 && o.status < 600 || !o.status)) return t("failed loading " + e + "; status code: " + o.status, !0); 1924 if (o && o.status >= 400 && o.status < 500) return t("failed loading " + e + "; status code: " + o.status, !1); 1925 if (!o && a && a.message) { 1926 var s = a.message.toLowerCase(); 1927 if ([ 1928 "failed", 1929 "fetch", 1930 "network", 1931 "load" 1932 ].find(function(e) { 1933 return s.indexOf(e) > -1; 1934 })) return t("failed loading " + e + ": " + a.message, !0); 1935 } 1936 if (a) return t(a, !1); 1937 var c, l; 1938 try { 1939 c = typeof o.data == "string" ? i.options.parse(o.data, n, r) : o.data; 1940 } catch { 1941 l = "failed parsing " + e + " to json"; 1942 } 1943 if (l) return t(l, !1); 1944 t(null, c); 1945 }); 1946 } 1947 }, 1948 { 1949 key: "create", 1950 value: function(e, t, n, r, i) { 1951 var a = this; 1952 if (this.options.addPath) { 1953 typeof e == "string" && (e = [e]); 1954 var o = this.options.parsePayload(t, n, r), s = 0, c = [], l = []; 1955 e.forEach(function(n) { 1956 var r = a.options.addPath; 1957 typeof a.options.addPath == "function" && (r = a.options.addPath(n, t)); 1958 var u = a.services.interpolator.interpolate(r, { 1959 lng: n, 1960 ns: t 1961 }); 1962 a.options.request(a.options, u, o, function(t, n) { 1963 s += 1, c.push(t), l.push(n), s === e.length && typeof i == "function" && i(c, l); 1964 }); 1965 }); 1966 } 1967 } 1968 }, 1969 { 1970 key: "reload", 1971 value: function() { 1972 var e = this, t = this.services, n = t.backendConnector, r = t.languageUtils, i = t.logger, a = n.language; 1973 if (!(a && a.toLowerCase() === "cimode")) { 1974 var o = [], s = function(e) { 1975 r.toResolveHierarchy(e).forEach(function(e) { 1976 o.indexOf(e) < 0 && o.push(e); 1977 }); 1978 }; 1979 s(a), this.allOptions.preload && this.allOptions.preload.forEac
1979h(function(e) { 1980 return s(e); 1981 }), o.forEach(function(t) { 1982 e.allOptions.ns.forEach(function(e) { 1983 n.read(t, e, "read", null, null, function(r, a) { 1984 r && i.warn(`loading namespace ${e} for language ${t} failed`, r), !r && a && i.log(`loaded namespace ${e} for language ${t}`, a), n.loaded(`${t}|${e}`, r, a); 1985 }); 1986 }); 1987 }); 1988 } 1989 } 1990 } 1991 ]); 1992}(); 1993Z.type = "backend"; 1994function Qe(e) { 1995 let t = new URL("./", window.document.baseURI).href, n = new URL(e, t); 1996 return n.origin === window.location.origin ? n.pathname : n.href; 1997} 1998var $e = /* @__PURE__ */ "dev.en.fr.cs.da.de.el.es.fi.hu.id.it.ja.ko.nl.no.pl.pt.pt-br.ru.sv.th.tr.zh.zh-cn.zh-tw.zn.es-es".split("."), Q = "translation"; 1999function et(e) { 2000 return $e.includes(e.toLowerCase()); 2001} 2002function tt(e) { 2003 return { 2004 loadPath: `${Qe(e.languageAssetsPath)}/{{lng}}.json?lng={{lng}}&ns={{ns}}`, 2005 request: async (e, t, n, r) => { 2006 try { 2007 let [e, n] = t.split("?"), i = new URLSearchParams(n), a = i.get("lng"), o = i.get("ns"); 2008 if (!et(a)) throw Error(`Unsupported locale "${a}"`); 2009 if (o !== Q) throw Error(`Unsupported namespace "${o}"`); 2010 let s = await fetch(e); 2011 if (s.status !== 200 && s.status !== 304) throw Error(`Unsuccessful request returned status "${s.status}"`); 2012 r(null, { 2013 status: s.status, 2014 data: await s.json() 2015 }); 2016 } catch (e) { 2017 r(e, { 2018 status: 404, 2019 data: "" 2020 }); 2021 } 2022 } 2023 }; 2024} 2025function nt(e) { 2026 return e.i18n.use(Z).init({ 2027 debug: e.logLevel === "debug", 2028 lng: e.language, 2029 nsSeparator: "___", 2030 fallbackLng: "en", 2031 backend: tt(e), 2032 interpolation: { escape: (e) => u.sanitize(e) }, 2033 compatibilityJSON: "v4" 2034 }); 2035} 2036var rt = (e, t) => `A ${t} is configured on the ${e} interface element, but the ${e} interface was initialized with an engine. You should only configure the ${t} in the target engine.`, it = class { 2037 constructor(e, t) { 2038 this.atomicInterface = e, this.hangingComponentsInitialization = [], De(i, t); 2039 let { connectedCallback: n, render: a } = e; 2040 e.connectedCallback = () => (this.i18nPromise = nt(e), n && n.call(e)), e.render = () => e.error ? r("atomic-component-error", { 2041 element: e.host, 2042 error: e.error 2043 }) : a && a.call(e); 2044 } 2045 onComponentInitializing(e) { 2046 if (e.preventDefault(), e.stopPropagation(), this.atomicInterface.engine) { 2047 e.detail(this.atomicInterface.bindings); 2048 return; 2049 } 2050 this.hangingComponentsInitialization.push(e); 2051 } 2052 async onInitialization(e) { 2053 if (this.atomicInterface.engine) { 2054 this.atomicInterface.engine.logger.warn(`The ${this.interfaceTagname} component "initialize" has already been called.`, this.atomicInterface.host); 2055 return; 2056 }
2057 this.atomicInterface.updateIconAssetsPath(), e(), this.atomicInterface.registerFieldsToInclude && this.atomicInterface.registerFieldsToInclude(), Ae(this.language), await this.i18nPromise, this.initComponents(); 2058 } 2059 onAnalyticsChange() { 2060 let { engine: e, analytics: t } = this.atomicInterface; 2061 if (this.engineIsCreated(e)) { 2062 if (!t) { 2063 e.disableAnalytics(); 2064 return; 2065 } 2066 e.enableAnalytics(); 2067 } 2068 } 2069 onLanguageChange() { 2070 let { i18n: e, language: t } = this.atomicInterface; 2071 Ae(this.language); 2072 let { resolve: n, promise: r } = Promise.withResolvers(); 2073 return new Z(e.services, tt(this.atomicInterface)).read(this.language, Q, async (r, i) => { 2074 e.addResourceBundle(this.language, Q, i, !0, !1), await e.changeLanguage(t), n(); 2075 }), r; 2076 } 2077 engineIsCreated(e) { 2078 return e ? !0 : (console.error(`You have to call "initialize" on the ${this.interfaceTagname} component before modifying the props or calling other public methods.`, this.atomicInterface.host), !1); 2079 } 2080 get interfaceTagname() { 2081 return this.atomicInterface.host.tagName.toLowerCase(); 2082 } 2083 initComponents() { 2084 this.hangingComponentsInitialization.forEach((e) => e.detail(this.atomicInterface.bindings)); 2085 } 2086 get language() { 2087 return this.atomicInterface.language || "en"; 2088 } 2089}; 2090function at(e, t, n) { 2091 return n.analytics?.analyticsClientMiddleware ? n.analytics.analyticsClientMiddleware(e, t) : t; 2092} 2093function ot(e) { 2094 return e.customData && (e.customData.coveoAtomicVersion = Ee()), e; 2095} 2096function st() { 2097 return { 2098 documentLocation: document.location.href, 2099 ...document.referrer && { originLevel3: document.referrer } 2100 }; 2101} 2102var ct = /^(\d+\.\d+\.\d+)/; 2103function lt() { 2104 return { source: { "@coveo/atomic": ct.exec(Ee())?.[0] || "0.0.0" } }; 2105} 2106function ut(e, t) { 2107 let n = { 2108 enabled: t, 2109 documentLocation: document.location.href, 2110 ...document.referrer && { originLevel3: document.referrer } 2111 }, r = e.analytics ?? {}; 2112 return Object.assign(r, lt()), Object.assign(n, r), n; 2113} 2114function dt(e, t) { 2115 switch (e.analytics?.analyticsMode) { 2116 case "next": return ut(e, t); 2117 default: return ft(e, t); 2118 } 2119} 2120function ft(e, t) { 2121 let n = (t, n) => pt(t, n, e), r = { 2122 analyticsClientMiddleware: n, 2123 enabled: t, 2124 ...st(), 2125 ...lt() 2126 }; 2127 return e.analytics ? { 2128 ...r, 2129 ...e.analytics, 2130 analyticsClientMiddleware: n 2131 } : r; 2132} 2133function pt(e, t, n) { 2134 let r = at(e, t, n); 2135 return r = ot(r), r; 2136} 2137function mt() { 2138 let e = m({ 2139 loadingFlags: [], 2140 iconAssetsPath: "", 2141 resultList: void 0 2142 }); 2143 return { 2144 ...e, 2145 unsetLoadingFlag(t) { 2146 f(e, t); 2147 }, 2148 setLoadingFlag(t) { 2149 p(e, t); 2150 }, 2151 getUniqueIDFromEngine(e) { 2152 return e.state.recommendation.searchUid; 2153 } 2154 }; 2155} 2156var ht = "/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer properties {\n *, :before, :after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-scale-z: 1;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-x-reverse: 0;\n --tw-divide-y-reverse: 0;\n --tw-border-style: solid;\n --tw-gradient-position: initial;\n --tw-gradient-from: #0000;\n --tw-gradient-via: #0000;\n --tw-gradient-to: #0000;\n --tw-gradient-stops: initial;\n --tw-gradient-via-stops: initial;\n --tw-gradient-from-position: 0%;\n --tw-gradient-via-position: 50%;\n --tw-gradient-to-position: 100%;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n --tw-content: \"\";\n }\n}\n@layer theme, base, components, utilities;\n@layer theme;\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, var(--atomic-font-family, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"));\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }
2156\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\n \"Courier New\", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentcolor;\n }\n @supports (color: color-mix(in lab, red, red)) {\n ::placeholder {\n color: color-mix(in oklab, currentcolor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n ::-webkit-calendar-picker-indicator {\n line-height: 1;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type=\"button\"], [type=\"reset\"], [type=\"submit\"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=\"until-found\"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .\\@container {\n container-type: inline-size;\n }\n .pointer-events-auto {\n pointer-events: auto;\n }\n .pointer-events-none {\n pointer-events: none;\n }\n .collapse {\n visibility: collapse;\n }\n .invisible {\n visibility: hidden;\n }\n .visible {\n visibility: visible;\n }\n .sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: nowrap;\n border-width: 0;\n }\n .absolute {\n position: absolute;\n }\n .fixed {\n position: fixed;\n }\n .relative {\n position: relative;\n }\n .static {\n position: static;\n }\n .sticky {\n position: sticky;\n }\n .inset-0 {\n inset: calc(0.25rem * 0);\n }\n .-top-2 {\n top: calc(0.25rem * -2);\n }\n .-top-4 {\n top: calc(0.25rem * -4);\n }\n .top-0 {\n top: calc(0.25rem * 0);\n }\n .top-1\\/2 {\n top: calc(1/2 * 100%);\n }\n .top-6 {\n top: calc(0.25rem * 6);\n }\n .top-\\[4px\\] {\n top: 4px;\n }\n .top-full {\n top: 100%;\n }\n .top-px {\n top: 1px;\n }\n .-right-2 {\n right: calc(0.25rem * -2);\n }\n .right-0 {\n right: calc(0.25rem * 0);\n }\n .right-2 {\n right: calc(0.25rem * 2);\n }\n .right-6 {\n right: calc(0.25rem * 6);\n }\n .right-12 {\n right: calc(0.25rem * 12);\n }\n .right-20 {\n right: calc(0.25rem * 20);\n }\n .right-px {\n right: 1px;\n }\n .bottom-0 {\n bottom: calc(0.25rem * 0);\n }\n .bottom-1 {\n bottom: calc(0.25rem * 1);\n }\n .bottom-2 {\n bottom: calc(0.25rem * 2);\n }\n .bottom-px {\n bottom: 1px;\n }\n .left-0 {\n left: calc(0.25rem * 0);\n }\n .left-1 {\n left: calc(0.25rem * 1);\n }\n .left-2 {\n left: calc(0.25rem * 2);\n }\n .left-\\[15px\\] {\n left: 15px;\n }\n .isolate {\n isolation: isolate;\n }\n .z-0 {\n z-index: 0;\n }\n .z-1 {\n z-index: 1;\n }\n .z-10 {\n z-index: 10;\n }\n .z-9998 {\n z-index: 9998;\n }\n .z-9999 {\n z-index: 9999;\n }\n .order-last {\n order: 9999;\n }\n .col-span-2 {\n grid-column: span 2 / span 2;\n }\n .container {\n width: 100%;\n }\n @media (width >= 1024px) {\n .container {\n max-width: 1024px;\n }\n }\n @media (width >= 40rem) {\n .container {\n max-width: 40rem;\n }\n }\n @media (width >= 48rem) {\n .container {\n max-width: 48rem;\n }\n }\n @media (width >= 64rem) {\n .container {\n max-width: 64rem;\n }\n }\n @media (width >= 80rem) {\n .container {\n max-width: 80rem;\n }\n }\n @media (width >= 96rem) {\n .container {\n max-width: 96rem;\n }\n }\n .m-0 {\n margin: calc(0.25rem * 0);\n }\n .m-2 {\n margin: calc(0.25rem * 2);\n }\n .mx-0 {\n margin-inline: calc(0.25rem * 0);\n }\n .mx-0\\.5 {\n margin-inline: calc(0.25rem * 0.5);\n }\n .mx-1 {\n margin-inline: calc(0.25rem * 1);\n }\n .mx-6 {\n margin-inline: calc(0.25rem * 6);\n }\n .mx-16 {\n margin-inline: calc(0.25rem * 16);\n }\n .mx-auto {\n margin-inline: auto;\n }\n .my-2 {\n margin-block: calc(0.25rem * 2);\n }\n .my-3 {\n margin-block: calc(0.25rem * 3);\n }\n .my-4 {\n margin-block: calc(0.25rem * 4);\n }\n .my-6 {\n margin-block: calc(0.25rem * 6);\n }\n .my-auto {\n margin-block: auto;\n }\n .mt-0 {\n margin-top: calc(0.25rem * 0);\n }\n .mt-1 {\n margin-top: calc(0.25rem * 1);\n }\n .mt-1\\.5 {\n margin-top: calc(0.25rem * 1.5);\n }\n .mt-2 {\n margin-top: calc(0.25rem * 2);\n }\n .mt-2\\.5 {\n margin-top: calc(0.25rem * 2.5);\n }\n .mt-3 {\n margin-top: calc(0.25rem * 3);\n }\n .mt-4 {\n margin-top: calc(0.25rem * 4);\n }\n .mt-6 {\n margin-top: calc(0.25rem * 6);\n }\n .mt-7 {\n margin-top: calc(0.25rem * 7);\n }\n .mt-8 {\n margin-top: calc(0.25rem * 8);\n }\n .mt-10 {\n margin-top: calc(0.25rem * 10);\n }
2156\n .mt-px {\n margin-top: 1px;\n }\n .mr-0 {\n margin-right: calc(0.25rem * 0);\n }\n .mr-0\\.5 {\n margin-right: calc(0.25rem * 0.5);\n }\n .mr-1 {\n margin-right: calc(0.25rem * 1);\n }\n .mr-1\\.5 {\n margin-right: calc(0.25rem * 1.5);\n }\n .mr-2 {\n margin-right: calc(0.25rem * 2);\n }\n .mr-3 {\n margin-right: calc(0.25rem * 3);\n }\n .mr-6 {\n margin-right: calc(0.25rem * 6);\n }\n .mb-0 {\n margin-bottom: calc(0.25rem * 0);\n }\n .mb-1 {\n margin-bottom: calc(0.25rem * 1);\n }\n .mb-2 {\n margin-bottom: calc(0.25rem * 2);\n }\n .mb-3 {\n margin-bottom: calc(0.25rem * 3);\n }\n .mb-4 {\n margin-bottom: calc(0.25rem * 4);\n }\n .mb-6 {\n margin-bottom: calc(0.25rem * 6);\n }\n .ml-0\\.5 {\n margin-left: calc(0.25rem * 0.5);\n }\n .ml-1 {\n margin-left: calc(0.25rem * 1);\n }\n .ml-2 {\n margin-left: calc(0.25rem * 2);\n }\n .ml-4 {\n margin-left: calc(0.25rem * 4);\n }\n .ml-6 {\n margin-left: calc(0.25rem * 6);\n }\n .ml-auto {\n margin-left: auto;\n }\n .box-border {\n box-sizing: border-box;\n }\n .box-content {\n box-sizing: content-box;\n }\n .line-clamp-1 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n }\n .line-clamp-2 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n }\n .line-clamp-3 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 3;\n }\n .line-clamp-4 {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 4;\n }\n .line-clamp-none {\n overflow: visible;\n display: block;\n -webkit-box-orient: horizontal;\n -webkit-line-clamp: unset;\n }\n .block {\n display: block;\n }\n .contents {\n display: contents;\n }\n .flex {\n display: flex;\n }\n .grid {\n display: grid;\n }\n .hidden {\n display: none;\n }\n .inline {\n display: inline;\n }\n .inline-block {\n display: inline-block;\n }\n .inline-flex {\n display: inline-flex;\n }\n .table {\n display: table;\n }\n .table-column {\n display: table-column;\n }\n .aspect-square-\\[auto\\] {\n aspect-ratio: 1 / 1;\n height: auto;\n }\n @supports not (aspect-ratio: 1 / 1) {\n .aspect-square-\\[auto\\] {\n height: auto;\n }\n }\n .aspect-square-\\[auto\\] {\n aspect-ratio: 1 / 1;\n height: auto;\n }\n @supports not (aspect-ratio: 1 / 1) {\n .aspect-square-\\[auto\\] {\n height: auto;\n }\n }\n .aspect-square {\n aspect-ratio: 1 / 1;\n }\n .size-\\[27px\\] {\n width: 27px;\n height: 27px;\n }\n .h-1 {\n height: calc(0.25rem * 1);\n }\n .h-2 {\n height: calc(0.25rem * 2);\n }\n .h-2\\.5 {\n height: calc(0.25rem * 2.5);\n }\n .h-3 {\n height: calc(0.25rem * 3);\n }\n .h-4 {\n height: calc(0.25rem * 4);\n }\n .h-5 {\n height: calc(0.25rem * 5);\n }\n .h-5\\/6 {\n height: calc(5/6 * 100%);\n }\n .h-6 {\n height: calc(0.25rem * 6);\n }\n .h-7 {\n height: calc(0.25rem * 7);\n }\n .h-8 {\n height: calc(0.25rem * 8);\n }\n .h-9 {\n height: calc(0.25rem * 9);\n }\n .h-10 {\n height: calc(0.25rem * 10);\n }\n .h-12 {\n height: calc(0.25rem * 12);\n }\n .h-\\[2\\.6rem\\] {\n height: 2.6rem;\n }\n .h-\\[9px\\] {\n height: 9px;\n }\n .h-auto {\n height: auto;\n }\n .h-full {\n height: 100%;\n }\n .max-h-96 {\n max-height: calc(0.25rem * 96);\n }\n .min-h-10 {\n min-height: calc(0.25rem * 10);\n }\n .min-lines-2 {\n min-height: calc(var(--line-height) * 2);\n }\n .min-lines-2 {\n min-height: calc(var(--line-height) * 2);\n }\n .min-lines-3 {\n min-height: calc(var(--line-height) * 3);\n }\n .min-lines-3 {\n min-height: calc(var(--line-height) * 3);\n }\n .w-0\\.5 {\n width: calc(0.25rem * 0.5);\n }\n .w-1 {\n width: calc(0.25rem * 1);\n }\n .w-1\\/2 {\n width: calc(1/2 * 100%);\n }\n .w-2 {\n width: calc(0.25rem * 2);\n }\n .w-2\\.5 {\n width: calc(0.25rem * 2.5);\n }\n .w-3 {\n width: calc(0.25rem * 3);\n }\n .w-3\\.5 {\n width: calc(0.25rem * 3.5);\n }\n .w-3\\/5 {\n width: calc(3/5 * 100%);\n }\n .w-4 {\n width: calc(0.25rem * 4);\n }\n .w-5 {\n width: calc(0.25rem * 5);\n }\n .w-5\\/6 {\n width: calc(5/6 * 100%);\n }\n .w-6 {\n width: calc(0.25rem * 6);\n }\n .w-7 {\n width: calc(0.25rem * 7);\n }\n .w-8 {\n width: calc(0.25rem * 8);\n }\n .w-9 {\n width: calc(0.25rem * 9);\n }\n .w-10 {\n width: calc(0.25rem * 10);\n }\n .w-12 {\n width: calc(0.25rem * 12);\n }\n .w-20 {\n width: calc(0.25rem * 20);\n }\n .w-26 {\n width: calc(0.25rem * 26);\n }\n .w-28 {\n width: calc(0.25rem * 28);\n }\n .w-32 {\n width: calc(0.25rem * 32);\n }\n .w-36 {\n width: calc(0.25rem * 36);\n }\n .w-44 {\n width: calc(0.25rem * 44);\n }\n .w-48 {\n width: calc(0.25rem * 48);\n }\n .w-60 {\n width: calc(0.25rem * 60);\n }\n .w-64 {\n width: calc(0.25rem * 64);\n }\n .w-72 {\n width: calc(0.25rem * 72);\n }\n .w-100 {\n width: calc(0.25rem * 100);\n }\n .w-\\[2\\.6rem\\] {\n width: 2.6rem;\n }\n .w-auto {\n width: auto;\n }\n .w-fit {\n width: fit-content;\n }\n .w-full {\n width: 100%;\n }\n .w-max {\n width: max-content;\n }\n .max-w-4\\/5 {\n max-width: calc(4/5 * 100%);\n }\n .max-w-60 {\n max-width: calc(0.25rem * 60);\n }\n .max-w-\\[30ch\\] {\n max-width: 30ch;\n }\n .max-w-full {\n max-width: 100%;\n }\n .max-w-lg {\n max-width: 32rem;\n }\n .max-w-max {\n max-width: max-content;\n }\n .min-w-0 {\n min-width: calc(0.25rem * 0);\n }\n .min-w-10 {\n min-width: calc(0.25rem * 10);\n }\n .min-w-20 {\n min-width: calc(0.25rem * 20);\n }\n .min-w-24 {\n min-width: calc(0.25rem * 24);\n }\n .min-w-full {\n min-width: 100%;\n }\n .flex-1 {\n flex: 1;\n }\n .flex-none {\n flex: none;\n }\n .flex-shrink {\n flex-shrink: 1;\n }\n .shrink-0 {\n flex-shrink: 0;\n }\n .flex-grow {\n flex-grow: 1;\n }\n .grow {\n flex-grow: 1;\n }\n .basis-1\\/2 {\n flex-basis: calc(1/2 * 100%);\n }\n .basis-8 {\n flex-basis: calc(0.25rem * 8);\n }\n .border-collapse {\n border-collapse: collapse;\n }\n .-translate-x-1\\/2 {\n --tw-translate-x: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .translate-x-1\\/2 {\n --tw-translate-x: calc(1/2 * 100%);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .-translate-y-1\\/2 {\n --tw-translate-y: calc(calc(1/2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n }\n .scale-75 {\n --tw-scale-x: 75%;\n --tw-scale-y: 75%;\n --tw-scale-z: 75%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .scale-100 {\n --tw-scale-x: 100%;\n --tw-scale-y: 100%;\n --tw-scale-z: 100%;\n scale: var(--tw-scale-x) var(--tw-scale-y);\n }\n .rotate-180 {\n rotate: 180deg;\n }\n .transform {\n transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);\n }\n .animate-pulse {\n animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;\n }\n .animate-spin {\n animation: spin 1s linear infinite;\n }\n .cursor-\\[inherit\\] {\n cursor: inherit;\n }\n .cursor-pointer {\n cursor: pointer;\n }\n .resize {\n resize: both;\n }\n .resize-none {\n resize: none;\n }\n .list-outside {\n list-style-position: outside;\n }\n .list-decimal {\n list-style-type: decimal;\n }\n .list-disc {\n list-style-type: disc;\n }\n .list-none {\n list-style-type: none;\n }\n .appearance-none {\n appearance: none;\n }\n .grid-cols-\\[min-content_1fr\\] {\n grid-template-columns: min-content 1fr;\n }\n .grid-cols-\\[min-content_auto\\] {\n grid-template-columns: min-content auto;\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .flex-nowrap {\n flex-wrap: nowrap;\n }\n .flex-wrap {\n flex-wrap: wrap;\n }\n .place-items-center {\n place-items: center;\n }
2156\n .content-center {\n align-content: center;\n }\n .items-baseline {\n align-items: baseline;\n }\n .items-center {\n align-items: center;\n }\n .items-start {\n align-items: flex-start;\n }\n .justify-between {\n justify-content: space-between;\n }\n .justify-center {\n justify-content: center;\n }\n .justify-end {\n justify-content: flex-end;\n }\n .gap-0\\.5 {\n gap: calc(0.25rem * 0.5);\n }\n .gap-1 {\n gap: calc(0.25rem * 1);\n }\n .gap-2 {\n gap: calc(0.25rem * 2);\n }\n .gap-3 {\n gap: calc(0.25rem * 3);\n }\n .gap-4 {\n gap: calc(0.25rem * 4);\n }\n .gap-8 {\n gap: calc(0.25rem * 8);\n }\n :where(.space-y-1 > :not(:last-child)) {\n --tw-space-y-reverse: 0;\n margin-block-start: calc(calc(0.25rem * 1) * var(--tw-space-y-reverse));\n margin-block-end: calc(calc(0.25rem * 1) * calc(1 - var(--tw-space-y-reverse)));\n }\n .gap-x-1\\.5 {\n column-gap: calc(0.25rem * 1.5);\n }\n .gap-x-2 {\n column-gap: calc(0.25rem * 2);\n }\n .gap-x-4 {\n column-gap: calc(0.25rem * 4);\n }\n :where(.space-x-1\\.5 > :not(:last-child)) {\n --tw-space-x-reverse: 0;\n margin-inline-start: calc(calc(0.25rem * 1.5) * var(--tw-space-x-reverse));\n margin-inline-end: calc(calc(0.25rem * 1.5) * calc(1 - var(--tw-space-x-reverse)));\n }\n .gap-y-0\\.5 {\n row-gap: calc(0.25rem * 0.5);\n }\n :where(.divide-y > :not(:last-child)) {\n --tw-divide-y-reverse: 0;\n border-bottom-style: var(--tw-border-style);\n border-top-style: var(--tw-border-style);\n border-top-width: calc(1px * var(--tw-divide-y-reverse));\n border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));\n }\n :where(.divide-neutral > :not(:last-child)) {\n border-color: var(--atomic-neutral);\n }
2156\n .self-center {\n align-self: center;\n }\n .self-start {\n align-self: flex-start;\n }\n .truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n .overflow-auto {\n overflow: auto;\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .overflow-x-auto {\n overflow-x: auto;\n }\n .overflow-x-clip {\n overflow-x: clip;\n }\n .overflow-x-scroll {\n overflow-x: scroll;\n }\n .overflow-y-auto {\n overflow-y: auto;\n }\n .overflow-y-visible {\n overflow-y: visible;\n }\n .scroll-smooth {\n scroll-behavior: smooth;\n }\n .rounded {\n border-radius: var(--atomic-border-radius);\n }\n .rounded-3xl {\n border-radius: 1.5rem;\n }\n .rounded-full {\n border-radius: calc(infinity * 1px);\n }\n .rounded-lg {\n border-radius: var(--atomic-border-radius-lg);\n }\n .rounded-md {\n border-radius: var(--atomic-border-radius-md);\n }\n .rounded-none {\n border-radius: 0;\n }\n .rounded-sm {\n border-radius: var(--atomic-border-radius);\n }\n .rounded-xl {\n border-radius: var(--atomic-border-radius-xl);\n }\n .rounded-tl-none {\n border-top-left-radius: 0;\n }\n .rounded-r-none {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-0 {\n border-style: var(--tw-border-style);\n border-width: 0px;\n }\n .border-t {\n border-top-style: var(--tw-border-style);\n border-top-width: 1px;\n }\n .border-r {\n border-right-style: var(--tw-border-style);\n border-right-width: 1px;\n }\n .border-b {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 1px;\n }\n .border-l {\n border-left-style: var(--tw-border-style);\n border-left-width: 1px;\n }\n .border-solid {\n --tw-border-style: solid;\n border-style: solid;\n }\n .border-gray-200 {\n border-color: oklch(0.928 0.006 264.531);\n }\n .border-neutral {\n border-color: var(--atomic-neutral);\n }\n .border-neutral-dark {\n border-color: var(--atomic-neutral-dark);\n }\n .border-neutral-dim {\n border-color: var(--atomic-neutral-dim);\n }\n .border-primary {\n border-color: var(--atomic-primary);\n }\n .border-primary-light {\n border-color: var(--atomic-primary-light);\n }\n .border-t-neutral {\n border-top-color: var(--atomic-neutral);\n }\n .border-b-neutral {\n border-bottom-color: var(--atomic-neutral);\n }\n .border-b-neutral-dim {\n border-bottom-color: var(--atomic-neutral-dim);\n }\n .border-l-neutral {\n border-left-color: var(--atomic-neutral);\n }\n .border-l-neutral-dim {\n border-left-color: var(--atomic-neutral-dim);\n }\n .bg-\\[\\#F1F2FF\\] {\n background-color: #F1F2FF;\n }\n .bg-\\[rgba\\(40\\,40\\,40\\,0\\.8\\)\\] {\n background-color: rgba(40,40,40,0.8);\n }\n .bg-background {\n background-color: var(--atomic-background);\n }\n .bg-error {\n background-color: var(--atomic-error);\n }\n .bg-gray-50 {\n background-color: oklch(0.985 0.002 247.839);\n }\n .bg-neutral {\n background-color: var(--atomic-neutral);\n }\n .bg-neutral-dark {\n background-color: var(--atomic-neutral-dark);\n }\n .bg-neutral-light {\n background-color: var(--atomic-neutral-light);\n }\n .bg-primary {\n background-color: var(--atomic-primary);\n }\n .bg-primary-background {\n background-color: var(--atomic-primary-background);\n }\n .bg-transparent {\n background-color: transparent;\n }\n .bg-white {\n background-color: #fff;\n }\n .bg-linear-to-l {\n --tw-gradient-position: to left;\n }\n @supports (background-image: linear-gradient(in lab, red, red)) {\n .bg-linear-to-l {\n --tw-gradient-position: to left in oklab;\n }\n }\n .bg-linear-to-l {\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .bg-linear-to-r {\n --tw-gradient-position: to right;\n }\n @supports (background-image: linear-gradient(in lab, red, red)) {\n .bg-linear-to-r {\n --tw-gradient-position: to right in oklab;\n }\n }\n .bg-linear-to-r {\n background-image: linear-gradient(var(--tw-gradient-stops));\n }\n .from-background\\/60 {\n --tw-gradient-from: color-mix(in srgb, #ffffff 60%, transparent);\n }\n @supports (color: color-mix(in lab, red, red)) {\n .from-background\\/60 {\n --tw-gradient-from: color-mix(in oklab, var(--atomic-background) 60%, transparent);\n }\n }\n .from-background\\/60 {\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .from-more-results-progress-bar-color-from {\n --tw-gradient-from: var(\n --atomic-more-results-progress-bar-color-from,\n var(--atomic-primary-dark)\n );\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .to-more-results-progress-bar-color-to {\n --tw-gradient-to: var(\n --atomic-more-results-progress-bar-color-to,\n var(--atomic-primary-light)\n );\n --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));\n }\n .fill-current {\n fill: currentcolor;\n }\n .stroke-\\[1\\.25\\] {\n stroke-width: 1.25;\n }\n .object-contain {\n object-fit: contain;\n }\n .p-0 {\n padding: calc(0.25rem * 0);\n }\n .p-1 {\n padding: calc(0.25rem * 1);\n }\n .p-2 {\n padding: calc(0.25rem * 2);\n }\n .p-2\\.5 {\n padding: calc(0.25rem * 2.5);\n }\n .p-3 {\n padding: calc(0.25rem * 3);\n }\n .p-3\\.5 {\n padding: calc(0.25rem * 3.5);\n }\n .p-4 {\n padding: calc(0.25rem * 4);\n }\n .p-6 {\n padding: calc(0.25rem * 6);\n }\n .p-7 {\n padding: calc(0.25rem * 7);\n }\n .p-8 {\n padding: calc(0.25rem * 8);\n }\n .px-1 {\n padding-inline: calc(0.25rem * 1);\n }\n .px-2 {\n padding-inline: calc(0.25rem * 2);\n }\n .px-2\\.5 {\n padding-inline: calc(0.25rem * 2.5);\n }\n .px-3 {\n padding-inline: calc(0.25rem * 3);\n }\n .px-4 {\n padding-inline: calc(0.25rem * 4);\n }\n .px-6 {\n padding-inline: calc(0.25rem * 6);\n }\n .px-9 {\n padding-inline: calc(0.25rem * 9);\n }\n .py-0\\.5 {\n padding-block: calc(0.25rem * 0.5);\n }\n .py-1 {\n padding-block: calc(0.25rem * 1);\n }\n .py-1\\.5 {\n padding-block: calc(0.25rem * 1.5);\n }\n .py-2 {\n padding-block: calc(0.25rem * 2);\n }\n .py-2\\.5 {\n padding-block: calc(0.25rem * 2.5);\n }\n .py-3 {\n padding-block: calc(0.25rem * 3);\n }\n .py-3\\.5 {\n padding-block: calc(0.25rem * 3.5);\n }\n .py-4 {\n padding-block: calc(0.25rem * 4);\n }\n .py-4\\.5 {\n padding-block: calc(0.25rem * 4.5);\n }\n .py-5 {\n padding-block: calc(0.25rem * 5);\n }\n .py-6 {\n padding-block: calc(0.25rem * 6);\n }\n .pt-0\\.5 {\n padding-top: calc(0.25rem * 0.5);\n }\n .pt-8 {\n padding-top: calc(0.25rem * 8);\n }\n .pr-2 {\n padding-right: calc(0.25rem * 2);\n }\n .pr-6 {\n padding-right: calc(0.25rem * 6);\n }\n .pr-24 {\n padding-right: calc(0.25rem * 24);\n }\n .pb-1 {\n padding-bottom: calc(0.25rem * 1);\n }\n .pb-3 {\n padding-bottom: calc(0.25rem * 3);\n }\n .pb-4 {\n padding-bottom: calc(0.25rem * 4);\n }\n .pb-5 {\n padding-bottom: calc(0.25rem * 5);\n }\n .pb-6 {\n padding-bottom: calc(0.25rem * 6);\n }\n .pl-0 {\n padding-left: calc(0.25rem * 0);\n }\n .pl-1 {\n padding-left: calc(0.25rem * 1);\n }\n .pl-3 {\n padding-left: calc(0.25rem * 3);\n }\n .pl-7 {\n padding-left: calc(0.25rem * 7);\n }\n .pl-9 {\n padding-left: calc(0.25rem * 9);\n }\n .pl-10 {\n padding-left: calc(0.25rem * 10);\n }\n .text-center {\n text-align: center;\n }\n .text-left {\n text-align: left;\n }\n .align-baseline {\n vertical-align: baseline;\n }\n .align-bottom {\n vertical-align: bottom;\n }\n .align-middle {\n vertical-align: middle;\n }\n .font-sans {\n font-family: var(--atomic-font-family);\n }\n .set-font-size-sm {\n --font-size: var(--atomic-text-sm);\n font-size: var(--font-size);\n --line-height: calc(var(--font-size) * var(--atomic-line-height-ratio));\n line-height: var(--line-height);\n }\n .set-font-size-sm {\n --font-size: var(--atomic-text-sm);\n font-size: var(--font-size);\n --line-height: calc(var(--font-size) * var(--atomic-line-height-ratio));\n line-height: var(--line-height);\n }\n .text-2xl {\n font-size: var(--atomic-text-2xl);\n line-height: var(--tw-leading, calc(2 / 1.5));\n }\n .text-base {\n font-size: var(--atomic-text-base);\n line-height: var(--tw-leading, calc(1.5 / 1));\n }\n .text-lg {\n font-size: var(--atomic-text-lg);\n line-height: var(--tw-leading, calc(1.75 / 1.125));\n }\n .text-sm {\n font-size: var(--atomic-text-sm);\n line-height: var(--tw-leading, calc(1.25 / 0.875));\n }\n .text-xl {\n font-size: var(--atomic-text-xl);\n line-height: var(--tw-leading, calc(1.75 / 1.25));\n }\n .text-xs {\n font-size: 0.75rem;
2156\n line-height: var(--tw-leading, calc(1 / 0.75));\n }\n .text-xs\\/\\[1rem\\] {\n font-size: 0.75rem;\n line-height: 1rem;\n }\n .leading-4 {\n --tw-leading: calc(0.25rem * 4);\n line-height: calc(0.25rem * 4);\n }\n .leading-5 {\n --tw-leading: calc(0.25rem * 5);\n line-height: calc(0.25rem * 5);\n }\n .leading-6 {\n --tw-leading: calc(0.25rem * 6);\n line-height: calc(0.25rem * 6);\n }\n .leading-8 {\n --tw-leading: calc(0.25rem * 8);\n line-height: calc(0.25rem * 8);\n }\n .leading-10 {\n --tw-leading: calc(0.25rem * 10);\n line-height: calc(0.25rem * 10);\n }\n .leading-\\[1\\.5\\] {\n --tw-leading: 1.5;\n line-height: 1.5;\n }\n .leading-\\[calc\\(1\\/\\.75\\)\\] {\n --tw-leading: calc(1 / .75);\n line-height: calc(1 / .75);\n }\n .leading-\\[var\\(--line-height\\)\\] {\n --tw-leading: var(--line-height);\n line-height: var(--line-height);\n }\n .leading-none {\n --tw-leading: 1;\n line-height: 1;\n }\n .font-bold {\n --tw-font-weight: var(--atomic-font-bold);\n font-weight: var(--atomic-font-bold);\n }\n .font-light {\n --tw-font-weight: 300;\n font-weight: 300;\n }\n .font-medium {\n --tw-font-weight: 500;\n font-weight: 500;\n }\n .font-normal {\n --tw-font-weight: var(--atomic-font-normal);\n font-weight: var(--atomic-font-normal);\n }\n .font-semibold {\n --tw-font-weight: 600;\n font-weight: 600;\n }\n .break-words {\n overflow-wrap: break-word;\n }\n .break-all {\n word-break: break-all;\n }\n .break-keep {\n word-break: keep-all;\n }\n .text-ellipsis {\n text-overflow: ellipsis;\n }\n .whitespace-normal {\n white-space: normal;\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .whitespace-pre-wrap {\n white-space: pre-wrap;\n }\n .text-\\[\\#54698D\\] {\n color: #54698D;\n }\n .text-\\[inherit\\] {\n color: inherit;\n }\n .text-black {\n color: #000;\n }\n .text-error {\n color: var(--atomic-error);\n }\n .text-gray-500 {\n color: oklch(0.551 0.027 264.364);\n }\n .text-gray-600 {\n color: oklch(0.446 0.03 256.802);\n }\n .text-gray-700 {\n color: oklch(0.373 0.034 259.733);\n }\n .text-gray-900 {\n color: oklch(0.21 0.034 264.665);\n }\n .text-green-600 {\n color: oklch(0.627 0.194 149.214);\n }\n .text-inline-code {\n color: var(--atomic-inline-code);\n }\n .text-neutral {\n color: var(--atomic-neutral);\n }\n .text-neutral-dark {\n color: var(--atomic-neutral-dark);\n }\n .text-on-background {\n color: var(--atomic-on-background);\n }\n .text-on-primary {\n color: var(--atomic-on-primary);\n }\n .text-primary {\n color: var(--atomic-primary);\n }\n .text-primary-light {\n color: var(--atomic-primary-light);\n }\n .text-rating-icon-active {\n color: var(--atomic-rating-icon-active-color, #f6ce3c);\n }\n .text-rating-icon-inactive {\n color: var(\n --atomic-rating-icon-inactive-color,\n var(--atomic-neutral)\n );\n }\n .text-red-600 {\n color: oklch(0.577 0.245 27.325);\n }\n .text-success {\n color: var(--atomic-success);\n }\n .text-transparent {\n color: transparent;\n }\n .capitalize {\n text-transform: capitalize;\n }\n .lowercase {\n text-transform: lowercase;\n }\n .italic {\n font-style: italic;\n }\n .line-through {\n text-decoration-line: line-through;\n }\n .placeholder-neutral-dark::placeholder {\n color: var(--atomic-neutral-dark);\n }\n .opacity-0 {\n opacity: 0%;\n }\n .opacity-50 {\n opacity: 50%;\n }\n .opacity-60 {\n opacity: 60%;\n }\n .opacity-80 {\n opacity: 80%;\n }
2156\n .shadow {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-inner-primary {\n --tw-shadow: inset 0 0 0 1px var(--tw-shadow-color, var(--atomic-primary));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-lg {\n --tw-shadow: 0px 2px 8px var(--tw-shadow-color, rgba(229, 232, 232, 0.75));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .shadow-sm {\n --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
2156dow);\n }\n .shadow-t-lg {\n --tw-shadow: 0px -2px 8px var(--tw-shadow-color, rgba(229, 232, 232, 0.75));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring-1 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .ring-3 {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
2156dow);\n }\n .ring-primary {\n --tw-ring-color: var(--atomic-primary);\n }\n .ring-primary-light {\n --tw-ring-color: var(--atomic-primary-light);\n }\n .ring-ring-primary {\n --tw-ring-color: var(--atomic-ring-primary);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .outline-error {\n outline-color: var(--atomic-error);\n }\n .outline-neutral {\n outline-color: var(--atomic-neutral);\n }\n .outline-primary {\n outline-color: var(--atomic-primary);\n }\n .blur {\n --tw-blur: blur(8px);\n 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,);\n }\n .grayscale {\n --tw-grayscale: grayscale(100%);\n 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,);\n }\n .invert {\n --tw-invert: invert(100%);\n 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,);\n }\n .filter {\n 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,);\n }\n .transition {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));\n transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));\n }\n .transition-\\[visibility\\] {\n transition-property: visibility;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));\n transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));\n }\n .transition-all {\n transition-property: all;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));\n transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));\n }\n .transition-colors {\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));\n transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));\n }\n .transition-opacity {\n transition-property: opacity;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));\n transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));\n }\n .duration-200 {\n --tw-duration: 200ms;\n transition-duration: 200ms;\n }\n .duration-300 {\n --tw-duration: 300ms;\n transition-duration: 300ms;\n }\n .duration-500 {\n --tw-duration: 500ms;\n transition-duration: 500ms;\n }\n .ease-in-out {\n --tw-ease: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n }\n .\\[grid-area\\:modal\\] {\n grid-area: modal;\n }\n .\\[scrollbar-gutter\\:stable_both-edges\\] {\n scrollbar-gutter: stable both-edges;\n }\n @media (hover: hover) {\n .group-hover\\:visible:is(:where(.group):hover *) {\n visibility: visible;\n }\n }\n @media (hover: hover) {\n .group-hover\\:text-error:is(:where(.group):hover *) {\n color: var(--atomic-error);\n }\n }\n @media (hover: hover) {\n .group-hover\\:text-primary:is(:where(.group):hover *) {\n color: var(--atomic-primary);\n }\n }\n @media (hover: hover) {\n .group-hover\\:text-primary-light:is(:where(.group):hover *) {\n color: var(--atomic-primary-light);\n }\n }\n .group-focus\\:text-primary:is(:where(.group):focus *) {\n color: var(--atomic-primary);\n }\n .group-focus\\:text-primary-light:is(:where(.group):focus *) {\n color: var(--atomic-primary-light);\n }\n .group-focus-visible\\:text-error:is(:where(.group):focus-visible *) {\n color: var(--atomic-error);\n }\n .group-focus-visible\\:text-primary:is(:where(.group):focus-visible *) {\n color: var(--atomic-primary);\n }\n .peer-focus-within\\:border-primary-light:is(:where(.peer):focus-within ~ *) {\n border-color: var(--atomic-primary-light);\n }\n .peer-focus-within\\:text-primary-light:is(:where(.peer):focus-within ~ *) {\n color: var(--atomic-primary-light);\n }\n @media (hover: hover) {\n .peer-hover\\:border-primary-light:is(:where(.peer):hover ~ *) {\n border-color: var(--atomic-primary-light);\n }\n }\n @media (hover: hover) {\n .peer-hover\\:text-error:is(:where(.peer):hover ~ *) {\n color: var(--atomic-error);\n }\n }\n @media (hover: hover) {\n .peer-hover\\:text-primary-light:is(:where(.peer):hover ~ *) {\n color: var(--atomic-primary-light);\n }\n }\n .before\\:inline::before {\n content: var(--tw-content);\n display: inline;\n }\n .before\\:content-\\[\\'\\,\\\\00a0\\'\\]::before {\n --tw-content: ',\\00a0';\n content: var(--tw-content);\n }\n .after\\:absolute::after {\n content: var(--tw-content);\n position: absolute;\n }\n .after\\:-bottom-0\\.5::after {\n content: var(--tw-content);\n bottom: calc(0.25rem * -0.5);\n }\n .after\\:block::after {\n content: var(--tw-content);\n display: block;\n }\n .after\\:h-1::after {\n content: var(--tw-content);\n height: calc(0.25rem * 1);\n }\n .after\\:w-full::after {\n content: var(--tw-content);\n width: 100%;\n }\n .after\\:rounded::after {\n content: var(--tw-content);\n border-radius: var(--atomic-border-radius);\n }\n .after\\:bg-primary::after {\n content: var(--tw-content);\n background-color: var(--atomic-primary);\n }\n .focus-within\\:border-disabled:focus-within {\n border-color: var(--atomic-disabled);\n }\n .focus-within\\:border-primary:focus-within {\n border-color: var(--atomic-primary);\n }\n .focus-within\\:ring-3:focus-within {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
2156dow);\n }\n .focus-within\\:ring-neutral:focus-within {\n --tw-ring-color: var(--atomic-neutral);\n }\n .focus-within\\:ring-ring-primary:focus-within {\n --tw-ring-color: var(--atomic-ring-primary);\n }\n @media (hover: hover) {\n .hover\\:border:hover {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n }\n @media (hover: hover) {\n .hover\\:border-error:hover {\n border-color: var(--atomic-error);\n }\n }\n @media (hover: hover) {\n .hover\\:border-primary-light:hover {\n border-color: var(--atomic-primary-light);\n }\n }\n @media (hover: hover) {\n .hover\\:bg-error:hover {\n background-color: var(--atomic-error);\n }\n }\n @media (hover: hover) {\n .hover\\:bg-neutral-light:hover {\n background-color: var(--atomic-neutral-light);\n }\n }\n @media (hover: hover) {\n .hover\\:bg-primary-light:hover {\n background-color: var(--atomic-primary-light);\n }\n }\n @media (hover: hover) {\n .hover\\:bg-transparent:hover {\n background-color: transparent;\n }\n }\n @media (hover: hover) {\n .hover\\:fill-white:hover {\n fill: #fff;\n }\n }\n @media (hover: hover) {\n .hover\\:text-primary-light:hover {\n color: var(--atomic-primary-light);\n }\n }\n @media (hover: hover) {\n .hover\\:underline:hover {\n text-decoration-line: underline;\n }\n }\n @media (hover: hover) {\n .hover\\:opacity-100:hover {\n opacity: 100%;\n }\n }\n @media (hover: hover) {\n .hover\\:shadow-sm:hover {\n --tw-shadow: 0 1px 3px 0 var(--tw-sha
2156dow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n }\n .focus\\:opacity-100:focus {\n opacity: 100%;\n }\n .focus\\:outline-hidden:focus {\n --tw-outline-style: none;\n outline-style: none;\n }\n @media (forced-colors: active) {\n .focus\\:outline-hidden:focus {\n outline: 2px solid transparent;\n outline-offset: 2px;\n }\n }\n .focus-visible\\:border:focus-visible {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .focus-visible\\:border-error:focus-visible {\n border-color: var(--atomic-error);\n }\n .focus-visible\\:border-primary:focus-visible {\n border-color: var(--atomic-primary);\n }\n .focus-visible\\:border-primary-light:focus-visible {\n border-color: var(--atomic-primary-light);\n }\n .focus-visible\\:bg-error:focus-visible {\n background-color: var(--atomic-error);\n }\n .focus-visible\\:bg-neutral-light:focus-visible {\n background-color: var(--atomic-neutral-light);\n }\n .focus-visible\\:bg-primary-light:focus-visible {\n background-color: var(--atomic-primary-light);\n }\n .focus-visible\\:text-primary-light:focus-visible {\n color: var(--atomic-primary-light);\n }\n .focus-visible\\:underline:focus-visible {\n text-decoration-line: underline;\n }\n .focus-visible\\:ring-2:focus-visible {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
2156dow);\n }\n .focus-visible\\:outline-none:focus-visible {\n --tw-outline-style: none;\n outline-style: none;\n }\n @media (width >= 40rem) {\n .sm\\:px-6 {\n padding-inline: calc(0.25rem * 6);\n }\n }\n .\\[part\\=\\\"breadcrumb-button\\\"\\]\\:visible:is(part=\"breadcrumb-button\") {\n visibility: visible;\n }\n}\n@layer theme, base, components, utilities;\n@layer components {\n .input-primary {\n border-radius: var(--atomic-border-radius);\n border-style: var(--tw-border-style);\n border-width: 1px;\n border-color: var(--atomic-neutral);\n background-color: var(--atomic-background);\n }\n @media (hover: hover) {\n .input-primary:hover {\n border-color: var(--atomic-primary-light);\n }\n }\n .input-primary:focus-visible {\n border-color: var(--atomic-primary);\n }\n .input-primary:focus-visible {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
2156dow);\n }\n .input-primary:focus-visible {\n --tw-ring-color: var(--atomic-ring-primary);\n }\n .input-primary:focus-visible {\n --tw-outline-style: none;\n outline-style: none;\n }\n .btn-radio {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n }\n .btn-radio::before {\n --tw-content: attr(value);\n content: var(--tw-content);\n }\n .btn-primary {\n border-radius: var(--atomic-border-radius);\n background-color: var(--atomic-primary);\n color: var(--atomic-on-primary);\n }\n @media (hover: hover) {\n .btn-primary:hover {\n background-color: var(--atomic-primary-light);\n }\n }\n .btn-primary:focus-visible {\n background-color: var(--atomic-primary-light);\n }\n .btn-primary:focus-visible {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
2156dow);\n }\n .btn-primary:focus-visible {\n --tw-ring-color: var(--atomic-ring-primary);\n }\n .btn-primary:focus-visible {\n --tw-outline-style: none;\n outline-style: none;\n }\n .btn-primary:disabled {\n cursor: not-allowed;\n }\n .btn-primary:disabled {\n background-color: var(--atomic-disabled);\n }\n .btn-outline-primary {\n border-radius: var(--atomic-border-radius);\n border-style: var(--tw-border-style);\n border-width: 1px;\n border-color: var(--atomic-neutral);\n background-color: var(--atomic-background);\n color: var(--atomic-primary);\n }\n @media (hover: hover) {\n .btn-outline-primary:hover {\n border-color: var(--atomic-primary-light);\n }\n }\n @media (hover: hover) {\n .btn-outline-primary:hover {\n color: var(--atomic-primary-light);\n }\n }\n .btn-outline-primary:focus-visible {\n border-color: var(--atomic-primary);\n }\n .btn-outline-primary:focus-visible {\n color: var(--atomic-primary);\n }\n .btn-outline-primary:focus-visible {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
2156dow);\n }\n .btn-outline-primary:focus-visible {\n --tw-ring-color: var(--atomic-ring-primary);\n }\n .btn-outline-primary:focus-visible {\n --tw-outline-style: none;\n outline-style: none;\n }\n .btn-outline-primary:disabled {\n cursor: not-allowed;\n }\n .btn-outline-primary:disabled {\n border-color: var(--atomic-neutral);\n }\n .btn-outline-primary:disabled {\n color: var(--atomic-neutral);\n }\n .btn-text-primary {\n border-radius: var(--atomic-border-radius);\n background-color: var(--atomic-background);\n color: var(--atomic-primary);\n }\n @media (hover: hover) {\n .btn-text-primary:hover {\n background-color: var(--atomic-neutral-light);\n }\n }\n .btn-text-primary:focus-visible {\n background-color: var(--atomic-neutral-light);\n }\n .btn-text-primary:focus-visible {\n --tw-outline-style: none;\n outline-style: none;\n }\n .btn-outline-neutral {\n border-radius: var(--atomic-border-radius);\n border-style: var(--tw-border-style);\n border-width: 1px;\n border-color: var(--atomic-neutral);\n background-color: var(--atomic-background);\n color: var(--atomic-on-background);\n }\n @media (hover: hover) {\n .btn-outline-neutral:hover {\n border-color: var(--atomic-primary);\n }\n }\n @media (hover: hover) {\n .btn-outline-neutral:hover {\n color: var(--atomic-primary);\n }\n }\n .btn-outline-neutral:focus-visible {\n border-color: var(--atomic-primary);\n }\n .btn-outline-neutral:focus-visible {\n color: var(--atomic-primary);\n }\n .btn-outline-neutral:focus-visible {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
2156dow);\n }\n .btn-outline-neutral:focus-visible {\n --tw-ring-color: var(--atomic-ring-primary);\n }\n .btn-outline-neutral:focus-visible {\n --tw-outline-style: none;\n outline-style: none;\n }\n .btn-outline-neutral:disabled {\n cursor: not-allowed;\n }\n .btn-outline-neutral:disabled {\n border-color: var(--atomic-neutral);\n }\n .btn-outline-neutral:disabled {\n color: var(--atomic-on-background);\n }\n .btn-outline-neutral:disabled {\n opacity: 50%;\n }\n .btn-outline-bg-neutral {\n border-radius: var(--atomic-border-radius);\n border-style: var(--tw-border-style);\n border-width: 1px;\n border-color: var(--atomic-neutral);\n background-color: var(--atomic-background);\n color: var(--atomic-on-background);\n }\n @media (hover: hover) {\n .btn-outline-bg-neutral:hover {\n border-color: var(--atomic-primary);\n }\n }\n @media (hover: hover) {\n .btn-outline-bg-neutral:hover {\n background-color: var(--atomic-neutral-light);\n }\n }\n @media (hover: hover) {\n .btn-outline-bg-neutral:hover {\n color: var(--atomic-primary);\n }\n }\n .btn-outline-bg-neutral:focus-visible {\n border-color: var(--atomic-primary);\n }\n .btn-outline-bg-neutral:focus-visible {\n background-color: var(--atomic-neutral-light);\n }\n .btn-outline-bg-neutral:focus-visible {\n color: var(--atomic-primary);\n }\n .btn-outline-bg-neutral:focus-visible {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
2156dow);\n }\n .btn-outline-bg-neutral:focus-visible {\n --tw-ring-color: var(--atomic-ring-primary);\n }\n .btn-outline-bg-neutral:focus-visible {\n --tw-outline-style: none;\n outline-style: none;\n }\n .btn-outline-bg-neutral:disabled {\n cursor: not-allowed;\n }\n .btn-outline-bg-neutral:disabled {\n border-color: var(--atomic-neutral);\n }\n .btn-outline-bg-neutral:disabled {\n color: var(--atomic-on-background);\n }\n .btn-outline-bg-neutral:disabled {\n opacity: 50%;\n }\n .btn-outline-bg-error {\n border-radius: var(--atomic-border-radius);\n border-style: var(--tw-border-style);\n border-width: 1px;\n border-color: var(--atomic-neutral);\n background-color: var(--atomic-background);\n color: var(--atomic-on-background);\n }\n @media (hover: hover) {\n .btn-outline-bg-error:hover {\n border-color: var(--atomic-primary);\n }\n }\n @media (hover: hover) {\n .btn-outline-bg-error:hover {\n background-color: var(--atomic-neutral-light);\n }\n }\n @media (hover: hover) {\n .btn-outline-bg-error:hover {\n color: var(--atomic-primary);\n }\n }\n .btn-outline-bg-error:focus-visible {\n border-color: var(--atomic-primary);\n }\n .btn-outline-bg-error:focus-visible {\n background-color: var(--atomic-neutral-light);\n }\n .btn-outline-bg-error:focus-visible {\n color: var(--atomic-primary);\n }\n .btn-outline-bg-error:focus-visible {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
2156dow);\n }\n .btn-outline-bg-error:focus-visible {\n --tw-ring-color: var(--atomic-ring-primary);\n }\n .btn-outline-bg-error:focus-visible {\n --tw-outline-style: none;\n outline-style: none;\n }\n .btn-outline-bg-error:disabled {\n cursor: not-allowed;\n }\n .btn-outline-bg-error:disabled {\n border-color: var(--atomic-neutral);\n }\n .btn-outline-bg-error:disabled {\n color: var(--atomic-on-background);\n }\n .btn-outline-bg-error:disabled {\n opacity: 50%;\n }\n .btn-outline-error {\n border-radius: var(--atomic-border-radius);\n border-style: var(--tw-border-style);\n border-width: 1px;\n border-color: var(--atomic-neutral);\n background-color: var(--atomic-background);\n color: var(--atomic-on-background);\n }\n @media (hover: hover) {\n .btn-outline-error:hover {\n border-color: var(--atomic-error);\n }\n }\n @media (hover: hover) {\n .btn-outline-error:hover {\n color: var(--atomic-error);\n }\n }\n .btn-outline-error:focus-visible {\n border-color: var(--atomic-error);\n }\n .btn-outline-error:focus-visible {\n color: var(--atomic-error);\n }\n .btn-outline-error:focus-visible {\n --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);\n box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-sha
2156dow);\n }\n .btn-outline-error:focus-visible {\n --tw-ring-color: var(--atomic-ring-primary);\n }\n .btn-outline-error:focus-visible {\n --tw-outline-style: none;\n outline-style: none;\n }\n .btn-outline-error:disabled {\n cursor: not-allowed;\n }\n .btn-outline-error:disabled {\n border-color: var(--atomic-neutral);\n }\n .btn-outline-error:disabled {\n color: var(--atomic-on-background);\n }\n .btn-outline-error:disabled {\n opacity: 50%;\n }\n .btn-text-neutral {\n border-radius: var(--atomic-border-radius);\n background-color: var(--atomic-background);\n color: var(--atomic-on-background);\n }\n @media (hover: hover) {\n .btn-text-neutral:hover {\n background-color: var(--atomic-neutral-light);\n }\n }\n @media (hover: hover) {\n .btn-text-neutral:hover {\n color: var(--atomic-primary);\n }\n }\n .btn-text-neutral:focus-visible {\n background-color: var(--atomic-neutral-light);\n }\n .btn-text-neutral:focus-visible {\n color: var(--atomic-primary);\n }\n .btn-text-neutral:focus-visible {\n --tw-outline-style: none;\n outline-style: none;\n }\n .btn-text-transparent {\n color: var(--atomic-on-background);\n }\n @media (hover: hover) {\n .btn-text-transparent:hover {\n color: var(--atomic-primary-light);\n }\n }\n .btn-text-transparent:focus-visible {\n color: var(--atomic-primary-light);\n }\n .btn-square-neutral {\n border-style: var(--tw-border-style);\n border-width: 1px;\n border-color: var(--atomic-neutral);\n background-color: var(--atomic-background);\n color: var(--atomic-on-background);\n }\n @media (hover: hover) {\n .btn-square-neutral:hover {\n background-color: var(--atomic-neutral-light);\n }\n }\n .btn-square-neutral:focus-visible {\n background-color: var(--atomic-neutral-light);\n }\n .btn-square-neutral:focus-visible {\n --tw-outline-style: none;\n outline-style: none;\n }\n .btn-page {\n display: grid;\n height: calc(0.25rem * 10);\n width: calc(0.25rem * 10);\n place-items: center;\n border-style: var(--tw-border-style);\n border-width: 0px;\n font-size: var(--atomic-text-lg);\n line-height: var(--tw-leading, calc(1.75 / 1.125));\n }\n @media (hover: hover) {\n .btn-page:hover {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n }\n .btn-page:focus-visible {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .btn-page.selected {\n border-style: var(--tw-border-style);\n border-width: 2px;\n border-color: var(--atomic-primary);\n --tw-font-weight: var(--atomic-font-bold);\n font-weight: var(--atomic-font-bold);\n }\n}\n@layer base {\n :host {\n display: block;\n }\n :host, button, input, select {\n font-family: var(--atomic-font-family);\n font-size: var(--atomic-text-base);\n line-height: var(--tw-leading, calc(1.5 / 1));\n --tw-font-weight: var(--atomic-font-normal);\n font-weight: var(--atomic-font-normal);\n }\n button {\n cursor: pointer;\n }\n :host(.atomic-hidden) {\n display: none;\n }\n .ripple {\n position: absolute;\n pointer-events: none;\n transform: scale(0);\n border-radius: 50%;\n animation: ripple var(--animation-duration) linear;\n }\n .ripple-relative {\n position: relative;\n }\n .ripple-parent {\n overflow: hidden;\n }\n @keyframes ripple {\n to {\n transform: scale(4);\n opacity: 0;\n }\n }\n}\n:host {\n display: block;\n}\n@property --tw-translate-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-translate-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-scale-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-scale-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-scale-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 1;\n}\n@property --tw-rotate-x {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-rotate-y {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-rotate-z {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-skew-x {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-skew-y {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-space-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-space-x-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-divide-y-reverse {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-gradient-position {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-from {\n syntax: \"<color>\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-via {\n syntax: \"<color>\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-to {\n syntax: \"<color>\";\n inherits: false;\n initial-value: #0000;\n}\n@property --tw-gradient-stops {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-via-stops {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-gradient-from-position {\n syntax: \"<length-percentage>\";\n inherits: false;\n initial-value: 0%;\n}
2156\n@property --tw-gradient-via-position {\n syntax: \"<length-percentage>\";\n inherits: false;\n initial-value: 50%;\n}\n@property --tw-gradient-to-position {\n syntax: \"<length-percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-leading {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-font-weight {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-inset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-inset-ring-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-inset-ring-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-ring-inset {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ring-offset-width {\n syntax: \"<length>\";\n inherits: false;\n initial-value: 0px;\n}\n@property --tw-ring-offset-color {\n syntax: \"*\";\n inherits: false;\n initial-value: #fff;\n}\n@property --tw-ring-offset-shadow {\n syntax: \"*\";\n inherits: false;\n initial-value: 0 0 #0000;\n}\n@property --tw-outline-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-blur {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-brightness {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-contrast {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-grayscale {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-hue-rotate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-invert {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-opacity {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-saturate {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-sepia {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-color {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-drop-shadow-alpha {\n syntax: \"<percentage>\";\n inherits: false;\n initial-value: 100%;\n}\n@property --tw-drop-shadow-size {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-duration {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-ease {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-content {\n syntax: \"*\";\n initial-value: \"\";\n inherits: false;\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@keyframes pulse {\n 50% {\n opacity: 0.5;\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-scale-z: 1;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-space-y-reverse: 0;\n --tw-space-x-reverse: 0;\n --tw-divide-y-reverse: 0;\n --tw-border-style: solid;\n --tw-gradient-position: initial;\n --tw-gradient-from: #0000;\n --tw-gradient-via: #0000;\n --tw-gradient-to: #0000;\n --tw-gradient-stops: initial;\n --tw-gradient-via-stops: initial;\n --tw-gradient-from-position: 0%;
2156\n --tw-gradient-via-position: 50%;\n --tw-gradient-to-position: 100%;\n --tw-leading: initial;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-outline-style: solid;\n --tw-blur: initial;\n --tw-brightness: initial;\n --tw-contrast: initial;\n --tw-grayscale: initial;\n --tw-hue-rotate: initial;\n --tw-invert: initial;\n --tw-opacity: initial;\n --tw-saturate: initial;\n --tw-sepia: initial;\n --tw-drop-shadow: initial;\n --tw-drop-shadow-color: initial;\n --tw-drop-shadow-alpha: 100%;\n --tw-drop-shadow-size: initial;\n --tw-duration: initial;\n --tw-ease: initial;\n --tw-content: \"\";\n }\n }\n}\n", gt = function(e, t, n, r) { 2157 var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o; 2158 if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r); 2159 else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a); 2160 return i > 3 && a && Object.defineProperty(t, n, a), a; 2161}, _t = "firstRecommendationExecuted", $ = class { 2162 constructor(t) { 2163 e(this, t), this.store = mt(), this.initialized = !1, this.analytics = !0, this.language = "en", this.fieldsToInclude = "[]", this.languageAssetsPath = "./lang", this.iconAssetsPath = "./assets", this.error = void 0, this.pipeline = void 0, this.searchHub = void 0, this.timezone = void 0, this.engine = void 0, this.analytics = !0, this.i18n = void 0, this.logLevel = void 0, this.language = "en", this.fieldsToInclude = "[]", this.languageAssetsPath = "./lang", this.iconAssetsPath = "./assets", this.CspNonce = void 0, this.commonInterfaceHelper = new it(this, "CoveoAtomicRecs"), {promise: this.componentWillLoadCalledPromise, resolve: this.componentWillLoadResolver} = Promise.withResolvers(); 2164 let { promise: n, resolve: r } = Promise.withResolvers(); 2165 this.i18Initialized = n, this.i18n = Ce.createInstance(void 0, r); 2166 } 2167 get bindings() { 2168 return { 2169 engine: this.engine, 2170 i18n: this.i18n, 2171 store: this.store, 2172 interfaceElement: this.host 2173 }; 2174 } 2175 connectedCallback() { 2176 this.store.setLoadingFlag(_t); 2177 } 2178 componentWillLoad() { 2179 this.CspNonce && t(this.CspNonce), this.componentWillLoadResolver(); 2180 } 2181 initialize(e) { 2182 return this.internalInitialization(() => this.initEngine(e)); 2183 } 2184 initializeWithRecommendationEngine(e) { 2185 return this.pipeline && this.pipeline !== e.state.pipeline && console.warn(rt("recommendation", "query pipeline")), this.searchHub && this.searchHub !== e.state.searchHub && console.warn(rt("recommendation", "search hub")), this.internalInitialization(() => this.engine = e); 2186 } 2187 async getRecommendations() { 2188 if (this.commonInterfaceHelper.engineIsCreated(this.engine)) { 2189 if (!this.initialized) { 2190 console.error("You have to wait until the \"initialize\" promise is fulfilled before executing a search.", this.host); 2191 return; 2192 } 2193 this.engine.dispatch(g(this.engine).getRecommendations()); 2194 } 2195 }
2196 updateIconAssetsPath() { 2197 this.store.state.iconAssetsPath = this.iconAssetsPath; 2198 } 2199 handleInitialization(e) { 2200 this.commonInterfaceHelper.onComponentInitializing(e); 2201 } 2202 updateLanguage() { 2203 if (!this.commonInterfaceHelper.engineIsCreated(this.engine)) return; 2204 let { updateSearchConfiguration: e } = a(this.engine); 2205 return this.engine.dispatch(e({ locale: this.language })), this.commonInterfaceHelper.onLanguageChange(); 2206 } 2207 toggleAnalytics() { 2208 this.commonInterfaceHelper.engineIsCreated(this.engine) && this.commonInterfaceHelper.onAnalyticsChange(); 2209 } 2210 registerFieldsToInclude() { 2211 let e = o.concat([...this.fieldsToInclude].filter((e) => !!e)); 2212 this.engine.dispatch(s(this.engine).registerFieldsToInclude(e)); 2213 } 2214 async internalInitialization(e) { 2215 await this.componentWillLoadCalledPromise, await Promise.all([this.commonInterfaceHelper.onInitialization(e), this.i18Initialized]), await this.updateLanguage(), c(this.host), this.pipeline = this.engine.state.pipeline, this.searchHub = this.engine.state.searchHub, this.store.unsetLoadingFlag(_t), this.initialized = !0; 2216 } 2217 initEngine(e) { 2218 let t = dt(e, this.analytics); 2219 try { 2220 this.engine = h({ 2221 configuration: { 2222 pipeline: this.pipeline, 2223 searchHub: this.searchHub ?? "default", 2224 locale: this.language, 2225 timezone: this.timezone, 2226 ...e, 2227 analytics: t 2228 }, 2229 loggerOptions: { level: this.logLevel } 2230 }); 2231 } catch (e) { 2232 throw this.error = e, e; 2233 } 2234 } 2235 render() { 2236 return this.engine && r("slot", { key: "be34a0736aec2334bc13b2d75623adc7c9bc6604" }); 2237 } 2238 get host() { 2239 return n(this); 2240 } 2241 static get watchers() { 2242 return {
2243 iconAssetsPath: ["updateIconAssetsPath"], 2244 language: ["updateLanguage"], 2245 analytics: ["toggleAnalytics"] 2246 }; 2247 } 2248}; 2249gt([d()], $.prototype, "fieldsToInclude", void 0), $.style = ht; 2250//#endregion 2251export { $ as atomic_recs_interface };
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.