1import { f as e, n as t, r as n } from "./pdscoveo-breadbox.9Y03e-5b.js"; 2import { n as r } from "./headless.D8NBuANw.js"; 3import { _ as i, a, d as o, f as s, g as c, h as l, i as u, l as d, m as f, o as p, p as m, s as h, u as g } from "./lit.BIXSeZ-E.js"; 4//#region packages/pdscoveo/src/components/pdscoveo-notifications/pds-notifications.css?inline 5var _ = ".notification-container{height:fit-content}.notification-container>pds-alert{margin-bottom:calc(1 * var(--pds-base-unit,8px))}", v = c` 6 :host { 7 -webkit-tap-highlight-color: transparent; 8 } 9`; 10function y(e, t) { 11 t === "deprecated" && (typeof window < "u" && window.navigator && window.navigator.userAgent && window.navigator.userAgent.includes("jsdom") || console.warn(`${e} is a deprecated component and will be removed in the next major version of PDS.`)); 12} 13function b(e, { category: t, type: n, state: r = "stable", styles: a }) { 14 return function(o) { 15 let c = i(a); 16 o.prototype.componentName = e.replace(/^pds-/, ""), o.prototype.componentCategory = t, o.prototype.componentType = n, o.prototype.componentState = r, y(e, o.prototype.componentState); 17 let l = [v, c]; 18 o.styles = l, o.elementStyles = o.finalizeStyles(l), customElements.get(e) === void 0 && s(e)(o); 19 }; 20} 21var x = 768, ee = 1366, S = (e) => typeof e == "string", C = () => { 22 let e, t, n = new Promise((n, r) => { 23 e = n, t = r; 24 }); 25 return n.resolve = e, n.reject = t, n; 26}, w = (e) => e == null ? "" : String(e), T = (e, t, n) => { 27 e.forEach((e) => { 28 t[e] && (n[e] = t[e]); 29 }); 30}, E = /###/g, D = (e) => e && e.includes("###") ? e.replace(E, ".") : e, te = (e) => !e || S(e), O = (e, t, n) => { 31 let r = S(t) ? t.split(".") : t, i = 0; 32 for (; i < r.length - 1;) { 33 if (te(e)) return {}; 34 let t = D(r[i]); 35 !e[t] && n && (e[t] = new n()), e = Object.prototype.hasOwnProperty.call(e, t) ? e[t] : {}, ++i; 36 } 37 return te(e) ? {} : { 38 obj: e, 39 k: D(r[i]) 40 }; 41}, ne = (e, t, n) => { 42 let { obj: r, k: i } = O(e, t, Object); 43 if (r !== void 0 || t.length === 1) { 44 r[i] = n; 45 return; 46 } 47 let a = t[t.length - 1], o = t.slice(0, t.length - 1), s = O(e, o, Object); 48 for (; s.obj === void 0 && o.length;) a = `${o[o.length - 1]}.${a}`, o = o.slice(0, o.length - 1), s = O(e, o, Object), s?.obj && typeof s.obj[`${s.k}.${a}`] < "u" && (s.obj = void 0); 49 s.obj[`${s.k}.${a}`] = n; 50}, re = (e, t, n, r) => { 51 let { obj: i, k: a } = O(e, t, Object); 52 i[a] = i[a] || [], i[a].push(n); 53}, ie = (e, t) => { 54 let { obj: n, k: r } = O(e, t); 55 if (n && Object.prototype.hasOwnProperty.call(n, r)) return n[r]; 56}, ae = (e, t, n) => { 57 let r = ie(e, n); 58 return r === void 0 ? ie(t, n) : r; 59}, oe = (e, t, n) => { 60 for (let r in t) r !== "__proto__" && r !== "constructor" && (r in e ? S(e[r]) || e[r] instanceof String || S(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : oe(e[r], t[r], n) : e[r] = t[r]); 61 return e; 62}, k = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), se = { 63 "&": "&", 64 "<": "<", 65 ">": ">", 66 "\"": """, 67 "'": "'", 68 "/": "/" 69}, ce = (e) => S(e) ? e.replace(/[&<>"'\/]/g, (e) => se[e]) : e, le = class { 70 constructor(e) { 71 this.capacity = e, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = []; 72 } 73 getRegExp(e) { 74 let t = this.regExpMap.get(e); 75 if (t !== void 0) return t; 76 let n = new RegExp(e); 77 return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(e, n), this.regExpQueue.push(e), n; 78 } 79}, ue = [ 80 " ", 81 ",", 82 "?", 83 "!", 84 ";" 85], de = new le(20), fe = (e, t, n) => { 86 t ||= "", n ||= ""; 87 let r = ue.filter((e) => !t.includes(e) && !n.includes(e)); 88 if (r.length === 0) return !0; 89 let i = de.getRegExp(`(${r.map((e) => e === "?" ? "\\?" : e).join("|")})`), a = !i.test(e); 90 if (!a) { 91 let t = e.indexOf(n); 92 t > 0 && !i.test(e.substring(0, t)) && (a = !0); 93 } 94 return a; 95}, pe = (e, t, n = ".") => { 96 if (!e) return; 97 if (e[t]) return Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0; 98 let r = t.split(n), i = e; 99 for (let e = 0; e < r.length;) { 100 if (!i || typeof i != "object") return; 101 let t, a = ""; 102 for (let o = e; o < r.length; ++o) if (o !== e && (a += n), a += r[o], t = i[a], t !== void 0) { 103 if ([ 104 "string", 105 "number", 106 "boolean" 107 ].includes(typeof t) && o < r.length - 1) continue; 108 e += o - e + 1; 109 break; 110 } 111 i = t; 112 } 113 return i; 114}, me = (e) => e?.replace(/_/g, "-"), he = { 115 type: "logger", 116 log(e) { 117 this.output("log", e); 118 }, 119 warn(e) { 120 this.output("warn", e); 121 }, 122 error(e) { 123 this.output("error", e); 124 }, 125 output(e, t) { 126 console?.[e]?.apply?.(console, t); 127 } 128}, A = new class e { 129 constructor(e, t = {}) { 130 this.init(e, t); 131 } 132 init(e, t = {}) { 133 this.prefix = t.prefix || "i18next:", this.logger = e || he, this.options = t, this.debug = t.debug; 134 } 135 log(...e) { 136 return this.forward(e, "log", "", !0); 137 } 138 warn(...e) { 139 return this.forward(e, "warn", "", !0); 140 } 141 error(...e) { 142 return this.forward(e, "error", ""); 143 } 144 deprecate(...e) { 145 return this.forward(e, "warn", "WARNING DEPRECATED: ", !0); 146 } 147 forward(e, t, n, r) { 148 return r && !this.debug ? null : (S(e[0]) && (e[0] = `${n}${this.prefix} ${e[0]}`), this.logger[t](e)); 149 } 150 create(t) { 151 return new e(this.logger, { 152 prefix: `${this.prefix}:${t}:`, 153 ...this.options 154 }); 155 } 156 clone(t) { 157 return t ||= this.options, t.prefix = t.prefix || this.prefix, new e(this.logger, t); 158 } 159}(), ge = class { 160 constructor() { 161 this.observers = {}; 162 } 163 on(e, t) { 164 return e.split(" ").forEach((e) => { 165 this.observers[e] || (this.observers[e] = /* @__PURE__ */ new Map()); 166 let n = this.observers[e].get(t) || 0; 167 this.observers[e].set(t, n + 1); 168 }), this; 169 } 170 off(e, t) { 171 if (this.observers[e]) { 172 if (!t) { 173 delete this.observers[e]; 174 return; 175 } 176 this.observers[e].delete(t); 177 } 178 } 179 once(e, t) { 180 let n = (...r) => { 181 t(...r), this.off(e, n); 182 }; 183 return this.on(e, n), this; 184 } 185 emit(e, ...t) { 186 this.observers[e] && Array.from(this.observers[e].entries()).forEac
186h(([e, n]) => { 187 for (let r = 0; r < n; r++) e(...t); 188 }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach(([n, r]) => { 189 for (let i = 0; i < r; i++) n(e, ...t); 190 }); 191 } 192}, _e = class extends ge { 193 constructor(e, t = { 194 ns: ["translation"], 195 defaultNS: "translation" 196 }) { 197 super(), this.data = e || {}, this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.options.ignoreJSONStructure === void 0 && (this.options.ignoreJSONStructure = !0); 198 } 199 addNamespaces(e) { 200 this.options.ns.includes(e) || this.options.ns.push(e); 201 } 202 removeNamespaces(e) { 203 let t = this.options.ns.indexOf(e); 204 t > -1 && this.options.ns.splice(t, 1); 205 } 206 getResource(e, t, n, r = {}) { 207 let i = r.keySeparator === void 0 ? this.options.keySeparator : r.keySeparator, a = r.ignoreJSONStructure === void 0 ? this.options.ignoreJSONStructure : r.ignoreJSONStructure, o; 208 e.includes(".") ? o = e.split(".") : (o = [e, t], n && (Array.isArray(n) ? o.push(...n) : S(n) && i ? o.push(...n.split(i)) : o.push(n))); 209 let s = ie(this.data, o); 210 return !s && !t && !n && e.includes(".") && (e = o[0], t = o[1], n = o.slice(2).join(".")), s || !a || !S(n) ? s : pe(this.data?.[e]?.[t], n, i); 211 } 212 addResource(e, t, n, r, i = { silent: !1 }) { 213 let a = i.keySeparator === void 0 ? this.options.keySeparator : i.keySeparator, o = [e, t]; 214 n && (o = o.concat(a ? n.split(a) : n)), e.includes(".") && (o = e.split("."), r = t, t = o[1]), this.addNamespaces(t), ne(this.data, o, r), i.silent || this.emit("added", e, t, n, r); 215 } 216 addResources(e, t, n, r = { silent: !1 }) { 217 for (let r in n) (S(n[r]) || Array.isArray(n[r])) && this.addResource(e, t, r, n[r], { silent: !0 }); 218 r.silent || this.emit("added", e, t, n); 219 } 220 addResourceBundle(e, t, n, r, i, a = { 221 silent: !1, 222 skipCopy: !1 223 }) { 224 let o = [e, t]; 225 e.includes(".") && (o = e.split("."), r = n, n = t, t = o[1]), this.addNamespaces(t); 226 let s = ie(this.data, o) || {}; 227 a.skipCopy || (n = JSON.parse(JSON.stringify(n))), r ? oe(s, n, i) : s = { 228 ...s, 229 ...n 230 }, ne(this.data, o, s), a.silent || this.emit("added", e, t, n); 231 } 232 removeResourceBundle(e, t) { 233 this.hasResourceBundle(e, t) && delete this.data[e][t], this.removeNamespaces(t), this.emit("removed", e, t); 234 } 235 hasResourceBundle(e, t) { 236 return this.getResource(e, t) !== void 0; 237 } 238 getResourceBundle(e, t) { 239 return t ||= this.options.defaultNS, this.getResource(e, t); 240 } 241 getDataByLanguage(e) { 242 return this.data[e]; 243 } 244 hasLanguageSomeTranslations(e) { 245 let t = this.getDataByLanguage(e); 246 return !!(t && Object.keys(t) || []).find((e) => t[e] && Object.keys(t[e]).length > 0); 247 } 248 toJSON() { 249 return this.data; 250 } 251}, ve = { 252 processors: {}, 253 addPostProcessor(e) { 254 this.processors[e.name] = e; 255 }, 256 handle(e, t, n, r, i) { 257 return e.forEach((e) => { 258 t = this.processors[e]?.process(t, n, r, i) ?? t; 259 }), t; 260 } 261}, ye = /* @__PURE__ */ Symbol("i18next/PATH_KEY"); 262function be() { 263 let e = [], t = /* @__PURE__ */ Object.create(null), n; 264 return t.get = (r, i) => (n?.revoke?.(), i === ye ? e : (e.push(i), n = Proxy.revocable(r, t), n.proxy)), Proxy.revocable(/* @__PURE__ */ Object.create(null), t).proxy; 265} 266function j(e, t) { 267 let { [ye]: n } = e(be()), r = t?.keySeparator ?? ".", i = t?.nsSeparator ?? ":"; 268 if (n.length > 1 && i) { 269 let e = t?.ns, a = Array.isArray(e) ? e : null; 270 if (a && a.length > 1 && a.slice(1).includes(n[0])) return `${n[0]}${i}${n.slice(1).join(r)}`; 271 } 272 return n.join(r); 273} 274var xe = (e) => !S(e) && typeof e != "boolean" && typeof e != "number", Se = class e extends ge { 275 constructor(e, t = {}) { 276 super(), T([ 277 "resourceStore", 278 "languageUtils", 279 "pluralResolver", 280 "interpolator", 281 "backendConnector", 282 "i18nFormat", 283 "utils" 284 ], e, this), this.options = t, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = A.create("translator"), this.checkedLoadedFor = {}; 285 } 286 changeLanguage(e) { 287 e && (this.language = e); 288 } 289 exists(e, t = { interpolation: {} }) { 290 let n = { ...t }; 291 if (e == null) return !1; 292 let r = this.resolve(e, n); 293 if (r?.res === void 0) return !1; 294 let i = xe(r.res); 295 return !(n.returnObjects === !1 && i); 296 } 297 extractFromKey(e, t) { 298 let n = t.nsSeparator === void 0 ? this.options.nsSeparator : t.nsSeparator; 299 n === void 0 && (n = ":"); 300 let r = t.keySeparator === void 0 ? this.options.keySeparator : t.ke
300ySeparator, i = t.ns || this.options.defaultNS || [], a = n && e.includes(n), o = !this.options.userDefinedKeySeparator && !t.keySeparator && !this.options.userDefinedNsSeparator && !t.nsSeparator && !fe(e, n, r); 301 if (a && !o) { 302 let t = e.match(this.interpolator.nestingRegexp); 303 if (t && t.length > 0) return { 304 key: e, 305 namespaces: S(i) ? [i] : i 306 }; 307 let a = e.split(n); 308 (n !== r || n === r && this.options.ns.includes(a[0])) && (i = a.shift()), e = a.join(r); 309 } 310 return { 311 key: e, 312 namespaces: S(i) ? [i] : i 313 }; 314 } 315 translate(t, n, r) { 316 let i = typeof n == "object" ? { ...n } : n; 317 if (typeof i != "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), typeof i == "object" && (i = { ...i }), i ||= {}, t == null) return ""; 318 typeof t == "function" && (t = j(t, { 319 ...this.options, 320 ...i 321 })), Array.isArray(t) || (t = [String(t)]), t = t.map((e) => typeof e == "function" ? j(e, { 322 ...this.options, 323 ...i 324 }) : String(e)); 325 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; 326 u === void 0 && (u = ":"); 327 let d = i.lng || this.language, f = i.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode; 328 if (d?.toLowerCase() === "cimode") return f ? a ? { 329 res: `${l}${u}${s}`, 330 usedKey: s, 331 exactUsedKey: s, 332 usedLng: d, 333 usedNS: l, 334 usedParams: this.getUsedParamsDetails(i) 335 } : `${l}${u}${s}` : a ? { 336 res: s, 337 usedKey: s, 338 exactUsedKey: s, 339 usedLng: d, 340 usedNS: l, 341 usedParams: this.getUsedParamsDetails(i) 342 } : s; 343 let p = this.resolve(t, i), m = p?.res, h = p?.usedKey || s, g = p?.exactUsedKey || s, _ = [ 344 "[object Number]", 345 "[object Function]", 346 "[object RegExp]" 347 ], v = i.joinArrays === void 0 ? this.options.joinArrays : i.joinArrays, y = !this.i18nFormat || this.i18nFormat.handleAsObject, b = i.count !== void 0 && !S(i.count), x = e.hasDefaultValue(i), ee = b ? this.pluralResolver.getSuffix(d, i.count, i) : "", C = i.ordinal && b ? this.pluralResolver.getSuffix(d, i.count, { ordinal: !1 }) : "", w = b && !i.ordinal && i.count === 0, T = w && i[`defaultValue${this.options.pluralSeparator}zero`] || i[`defaultValue${ee}`] || i[`defaultValue${C}`] || i.defaultValue, E = m; 348 y && !m && x && (E = T); 349 let D = xe(E), te = Object.prototype.toString.apply(E); 350 if (y && E && D && !_.includes(te) && !(S(v) && Array.isArray(E))) { 351 if (!i.returnObjects && !this.options.returnObjects) { 352 this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!"); 353 let e = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, E, { 354 ...i, 355 ns: c 356 }) : `key '${s} (${this.language})' returned an object instead of string.`; 357 return a ? (p.res = e, p.usedParams = this.getUsedParamsDetails(i), p) : e; 358 } 359 if (o) { 360 let e = Array.isArray(E), t = e ? [] : {}, n = e ? g : h; 361 for (let e in E) if (Object.prototype.hasOwnProperty.call(E, e)) { 362 let r = `${n}${o}${e}`; 363 x && !m ? t[e] = this.translate(r, { 364 ...i, 365 defaultValue: xe(T) ? T[e] : void 0, 366 joinArrays: !1, 367 ns: c 368 }) : t[e] = this.translate(r, { 369 ...i, 370 joinArrays: !1, 371 ns: c 372 }), t[e] === r && (t[e] = E[e]); 373 } 374 m = t; 375 } 376 } else if (y && S(v) && Array.isArray(m)) m = m.join(v), m &&= this.extendTranslation(m, t, i, r); 377 else { 378 let e = !1, n = !1; 379 !this.isValidLookup(m) && x && (e = !0, m = T), this.isValidLookup(m) || (n = !0, m = s); 380 let a = (i.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && n ? void 0 : m, c = x && T !== m && this.options.updateMissing; 381 if (n || e || c) { 382 if (this.logger.log(c ? "updateKey" : "missingKey", d, l, s, c ? T : m), o) { 383 let e = this.resolve(s, { 384 ...i, 385 keySeparator: !1 386 }); 387 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."); 388 } 389 let e = [], t = this.languageUtils.getFallbackCodes(this.options.fallbackLng, i.lng || this.language); 390 if (this.options.saveMissingTo === "fallback" && t && t[0]) for (let n = 0; n < t.length; n++) e.push(t[n]); 391 else this.options.saveMissingTo === "all" ? e = this.languageUtils.toResolveHierarchy(i.lng || this.language) : e.push(i.lng || this.language); 392 let n = (e, t, n) => { 393 let r = x && n !== m ? n : a; 394 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
394("missingKey", e, l, t, m); 395 }; 396 this.options.saveMissing && (this.options.saveMissingPlurals && b ? e.forEach((e) => { 397 let t = this.pluralResolver.getSuffixes(e, i); 398 w && i[`defaultValue${this.options.pluralSeparator}zero`] && !t.includes(`${this.options.pluralSeparator}zero`) && t.push(`${this.options.pluralSeparator}zero`), t.forEach((t) => { 399 n([e], s + t, i[`defaultValue${t}`] || T); 400 }); 401 }) : n(e, s, T)); 402 } 403 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)); 404 } 405 return a ? (p.res = m, p.usedParams = this.getUsedParamsDetails(i), p) : m; 406 } 407 extendTranslation(e, t, n, r, i) { 408 if (this.i18nFormat?.parse) e = this.i18nFormat.parse(e, { 409 ...this.options.interpolation.defaultVariables, 410 ...n 411 }, n.lng || this.language || r.usedLng, r.usedNS, r.usedKey, { resolved: r }); 412 else if (!n.skipInterpolation) { 413 n.interpolation && this.interpolator.init({ 414 ...n, 415 interpolation: { 416 ...this.options.interpolation, 417 ...n.interpolation 418 } 419 }); 420 let a = S(e) && (n?.interpolation?.skipOnVariables === void 0 ? this.options.interpolation.skipOnVariables : n.interpolation.skipOnVariables), o; 421 if (a) { 422 let t = e.match(this.interpolator.nestingRegexp); 423 o = t && t.length; 424 } 425 let s = n.replace && !S(n.replace) ? n.replace : n; 426 if (this.options.interpolation.defaultVariables && (s = { 427 ...this.options.interpolation.defaultVariables, 428 ...s 429 }), e = this.interpolator.interpolate(e, s, n.lng || this.language || r.usedLng, n), a) { 430 let t = e.match(this.interpolator.nestingRegexp), r = t && t.length; 431 o < r && (n.nest = !1); 432 } 433 !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(); 434 } 435 let a = n.postProcess || this.options.postProcess, o = S(a) ? [a] : a; 436 return e != null && o?.length && n.applyPostProcessor !== !1 && (e = ve.handle(o, e, t, this.options && this.options.postProcessPassResolved ? { 437 i18nResolved: { 438 ...r, 439 usedParams: this.getUsedParamsDetails(n) 440 }, 441 ...n 442 } : n, this)), e; 443 } 444 resolve(e, t = {}) { 445 let n, r, i, a, o; 446 return S(e) && (e = [e]), Array.isArray(e) && (e = e.map((e) => typeof e == "function" ? j(e, { 447 ...this.options, 448 ...t 449 }) : e)), e.forEach((e) => { 450 if (this.isValidLookup(n)) return; 451 let s = this.extractFromKey(e, t), c = s.key; 452 r = c; 453 let l = s.namespaces; 454 this.options.fallbackNS && (l = l.concat(this.options.fallbackNS)); 455 let u = t.count !== void 0 && !S(t.count), d = u && !t.ordinal && t.count === 0, f = t.context !== void 0 && (S(t.context) || typeof t.context == "number") && t.context !== "", p = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng); 456 l.forEach((e) => { 457 this.isValidLookup(n) || (o = e, !this.checkedLoadedFor[`${p[0]}-${e}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(o) && (this.checkedLoadedFor[`${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) => { 458 if (this.isValidLookup(n)) return; 459 a = r; 460 let o = [c]; 461 if (this.i18nFormat?.addLookupKeys) this.i18nFormat.addLookupKeys(o, c, r, e, t); 462 else { 463 let e; 464 u && (e = this.pluralResolver.getSuffix(r, t.count, t)); 465 let n = `${this.options.pluralSeparator}zero`, i = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`; 466 if (u && (t.ordinal && e.startsWith(i) && o.push(c + e.replace(i, this.options.pluralSeparator)), o.push(c + e), d && o.push(c + n)), f) { 467 let r = `${c}${this.options.contextSeparator || "_"}${t.context}`; 468 o.push(r), u && (t.ordinal && e.startsWith(i) && o.push(r + e.replace(i, this.options.pluralSeparator)), o.push(r + e), d && o.push(r + n)); 469 } 470 } 471 let s; 472 for (; s = o.pop();) this.isValidLookup(n) || (i = s, n = this.getResource(r, e, s, t)); 473 })); 474 }); 475 }), { 476 res: n, 477 usedKey: r, 478 exactUsedKey: i, 479 usedLng: a, 480 usedNS: o 481 }; 482 } 483 isValidLookup(e) { 484 return e !== void 0 && !(!this.options.returnNull && e === null) && !(!this.options.returnEmptyString && e === ""); 485 } 486 getResource(e, t, n, r = {}) { 487 return this.i18nFormat?.getResource ? this.i18nFormat.getResource(e, t, n, r) : this.resourceStore.getResource(e, t, n, r); 488 } 489 getUsedParamsDetails(e = {}) { 490 let t = [ 491 "defaultValue", 492 "ordinal", 493 "context", 494 "replace", 495 "lng", 496 "lngs", 497 "fallbackLng", 498 "ns", 499 "keySeparator", 500 "nsSeparator", 501 "returnObjects", 502 "returnDetails", 503 "joinArrays", 504 "postProcess", 505 "interpolation" 506 ], n = e.replace && !S(e.replace), r = n ? e.replace : e; 507 if (n && typeof e.count < "u" && (r.count = e.count), this.options.interpolation.defaultVariables && (r = { 508 ...this.options.interpolation.defaultVariables, 509 ...r 510 }), !n) { 511 r = { ...r }; 512 for (let e of t) delete r[e]; 513 } 514 return r; 515 } 516 static hasDefaultValue(e) { 517 for (let t in e) if (Object.prototype.hasOwnProperty.call(e, t) && t.startsWith("defaultValue") && e[t] !== void 0) return !0; 518 return !1; 519 } 520}, Ce = class { 521 constructor(e) { 522 this.options = e, this.supportedLngs = this.options.supportedLngs || !1, this.logger = A.create("languageUtils"); 523 } 524 getScriptPartFromCode(e) { 525 if (e = me(e), !e || !e.includes("-")) return null; 526 let t = e.split("-"); 527 return t.length === 2 || (t.pop(), t[t.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(t.join("-")); 528 } 529 getLanguagePartFromCode(e) { 530 if (e = me(e), !e || !e.includes("-")) return e; 531 let t = e.split("-"); 532 return this.formatLanguageCode(t[0]); 533 } 534 formatLanguageCode(e) { 535 if (S(e) && e.includes("-")) { 536 let t; 537 try { 538 t = Intl.getCanonicalLocales(e)[0]; 539 } catch {} 540 return t && this.options.lowerCaseLng && (t = t.toLowerCase()), t || (this.options.lowerCaseLng ? e.toLowerCase() : e); 541 } 542 return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e; 543 } 544 isSupportedCode(e) { 545 return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (e = this.getLanguagePartFromCode(e)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.includes(e); 546 } 547 getBestMatchFromCodes(e) { 548 if (!e) return null; 549 let t; 550 return e.forEach((e) => { 551 if (t) return; 552 let n = this.formatLanguageCode(e); 553 (!this.options.supportedLngs || this.isSupportedCode(n)) && (t = n); 554 }), !t && this.options.supportedLngs && e.forEach((e) => { 555 if (t) return;
556 let n = this.getScriptPartFromCode(e); 557 if (this.isSupportedCode(n)) return t = n; 558 let r = this.getLanguagePartFromCode(e); 559 if (this.isSupportedCode(r)) return t = r; 560 t = this.options.supportedLngs.find((e) => e === r ? !0 : !e.includes("-") && !r.includes("-") ? !1 : !!(e.includes("-") && !r.includes("-") && e.slice(0, e.indexOf("-")) === r || e.startsWith(r) && r.length > 1)); 561 }), t ||= this.getFallbackCodes(this.options.fallbackLng)[0], t; 562 } 563 getFallbackCodes(e, t) { 564 if (!e) return []; 565 if (typeof e == "function" && (e = e(t)), S(e) && (e = [e]), Array.isArray(e)) return e; 566 if (!t) return e.default || []; 567 let n = e[t]; 568 return n ||= e[this.getScriptPartFromCode(t)], n ||= e[this.formatLanguageCode(t)], n ||= e[this.getLanguagePartFromCode(t)], n ||= e.default, n || []; 569 } 570 toResolveHierarchy(e, t) { 571 let n = this.getFallbackCodes((t === !1 ? [] : t) || this.options.fallbackLng || [], e), r = [], i = (e) => { 572 e && (this.isSupportedCode(e) ? r.push(e) : this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`)); 573 }; 574 return S(e) && (e.includes("-") || e.includes("_")) ? (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))) : S(e) && i(this.formatLanguageCode(e)), n.forEach((e) => { 575 r.includes(e) || i(this.formatLanguageCode(e)); 576 }), r; 577 } 578}, we = { 579 zero: 0, 580 one: 1, 581 two: 2, 582 few: 3, 583 many: 4, 584 other: 5 585}, Te = { 586 select: (e) => e === 1 ? "one" : "other", 587 resolvedOptions: () => ({ pluralCategories: ["one", "other"] }) 588}, Ee = class { 589 constructor(e, t = {}) { 590 this.languageUtils = e, this.options = t, this.logger = A.create("pluralResolver"), this.pluralRulesCache = {}; 591 } 592 clearCache() { 593 this.pluralRulesCache = {}; 594 } 595 getRule(e, t = {}) { 596 let n = me(e === "dev" ? "en" : e), r = t.ordinal ? "ordinal" : "cardinal", i = JSON.stringify({ 597 cleanedCode: n, 598 type: r 599 }); 600 if (i in this.pluralRulesCache) return this.pluralRulesCache[i]; 601 let a; 602 try { 603 a = new Intl.PluralRules(n, { type: r }); 604 } catch { 605 if (typeof Intl > "u") return this.logger.error("No Intl support, please use an Intl polyfill!"), Te; 606 if (!e.match(/-|_/)) return Te; 607 let n = this.languageUtils.getLanguagePartFromCode(e); 608 a = this.getRule(n, t); 609 } 610 return this.pluralRulesCache[i] = a, a; 611 } 612 needsPlural(e, t = {}) { 613 let n = this.getRule(e, t); 614 return n ||= this.getRule("dev", t), n?.resolvedOptions().pluralCategories.length > 1; 615 } 616 getPluralFormsOfKey(e, t, n = {}) { 617 return this.getSuffixes(e, n).map((e) => `${t}${e}`); 618 } 619 getSuffixes(e, t = {}) { 620 let n = this.getRule(e, t); 621 return n ||= this.getRule("dev", t), n ? n.resolvedOptions().pluralCategories.sort((e, t) => we[e] - we[t]).map((e) => `${this.options.prepend}${t.ordinal ? `ordinal${this.options.prepend}` : ""}${e}`) : []; 622 } 623 getSuffix(e, t, n = {}) { 624 let r = this.getRule(e, n); 625 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)); 626 } 627}, De = (e, t, n, r = ".", i = !0) => { 628 let a = ae(e, t, n); 629 return !a && i && S(n) && (a = pe(e, n, r), a === void 0 && (a = pe(t, n, r))), a; 630}, Oe = (e) => e.replace(/\$/g, "$$$$"), ke = class { 631 constructor(e = {}) { 632 this.logger = A.create("interpolator"), this.options = e, this.format = e?.interpolation?.format || ((e) => e), this.init(e); 633 } 634 init(e = {}) { 635 e.interpolation ||= { escapeValue: !0 }; 636 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; 637 this.escape = t === void 0 ? ce : t, this.escapeValue = n === void 0 || n, this.useRawValueToEscape = r !== void 0 && 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 && _, this.resetRegExp(); 638 } 639 reset() { 640 this.options && this.init(this.options); 641 } 642 resetRegExp() { 643 let e = (e, t) => e?.source === t ? (e.lastIndex = 0, e) : new RegExp(t, "g"); 644 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}`); 645 } 646 interpolate(e, t, n, r) { 647 let i, a, o, s = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (e) => { 648 if (!e.includes(this.formatSeparator)) { 649 let i = De(t, s, e, this.options.keySeparator, this.options.ignoreJSONStructure); 650 return this.alwaysFormat ? this.format(i, void 0, n, { 651 ...r, 652 ...t, 653 interpolationkey: e 654 }) : i; 655 } 656 let i = e.split(this.formatSeparator), a = i.shift().trim(), o = i.join(this.formatSeparator).trim(); 657 return this.format(De(t, s, a, this.options.keySeparator, this.options.ignoreJSONStructure), o, n, { 658 ...r, 659 ...t, 660 interpolationkey: a 661 }); 662 }; 663 this.resetRegExp(); 664 let l = r?.missingInterpolationHandler || this.options.missingInterpolationHandler, u = r?.interpolation?.ski
664pOnVariables === void 0 ? this.options.interpolation.skipOnVariables : r.interpolation.skipOnVariables; 665 return [{ 666 regex: this.regexpUnescape, 667 safeValue: (e) => Oe(e) 668 }, { 669 regex: this.regexp, 670 safeValue: (e) => this.escapeValue ? Oe(this.escape(e)) : Oe(e) 671 }].forEach((t) => { 672 for (o = 0; i = t.regex.exec(e);) { 673 let n = i[1].trim(); 674 if (a = c(n), a === void 0) if (typeof l == "function") { 675 let t = l(e, i, r); 676 a = S(t) ? t : ""; 677 } else if (r && Object.prototype.hasOwnProperty.call(r, n)) a = ""; 678 else if (u) { 679 a = i[0]; 680 continue; 681 } else this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`), a = ""; 682 else !S(a) && !this.useRawValueToEscape && (a = w(a)); 683 let s = t.safeValue(a); 684 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; 685 } 686 }), e; 687 } 688 nest(e, t, n = {}) { 689 let r, i, a, o = (e, t) => { 690 let n = this.nestingOptionsSeparator; 691 if (!e.includes(n)) return e; 692 let r = e.split(RegExp(`${k(n)}[ ]*{`)), i = `{${r[1]}`; 693 e = r[0], i = this.interpolate(i, a); 694 let o = i.match(/'/g), s = i.match(/"/g); 695 ((o?.length ?? 0) % 2 == 0 && !s || (s?.length ?? 0) % 2 != 0) && (i = i.replace(/'/g, "\"")); 696 try { 697 a = JSON.parse(i), t && (a = { 698 ...t, 699 ...a 700 }); 701 } catch (t) { 702 return this.logger.warn(`failed parsing options string in nesting for key ${e}`, t), `${e}${n}${i}`; 703 } 704 return a.defaultValue && a.defaultValue.includes(this.prefix) && delete a.defaultValue, e; 705 }; 706 for (; r = this.nestingRegexp.exec(e);) { 707 let s = []; 708 a = { ...n }, a = a.replace && !S(a.replace) ? a.replace : a, a.applyPostProcessor = !1, delete a.defaultValue; 709 let c = /{.*}/.test(r[1]) ? r[1].lastIndexOf("}") + 1 : r[1].indexOf(this.formatSeparator); 710 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 && !S(i)) return i; 711 S(i) || (i = w(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, { 712 ...n, 713 interpolationkey: r[1].trim() 714 }), i.trim())), e = e.replace(r[0], i), this.regexp.lastIndex = 0; 715 } 716 return e; 717 } 718}, Ae = (e) => { 719 let t = e.toLowerCase().trim(), n = {}; 720 if (e.includes("(")) { 721 let r = e.split("("); 722 t = r[0].toLowerCase().trim(); 723 let i = r[1].slice(0, -1); 724 t === "currency" && !i.includes(":") ? n.currency ||= i.trim() : t === "relativetime" && !i.includes(":") ? n.range ||= i.trim() : i.split(";").forEach((e) => { 725 if (e) { 726 let [t, ...r] = e.split(":"), i = r.join(":").trim().replace(/^'+|'+$/g, ""), a = t.trim(); 727 n[a] || (n[a] = i), i === "false" && (n[a] = !1), i === "true" && (n[a] = !0), isNaN(i) || (n[a] = parseInt(i, 10)); 728 } 729 }); 730 } 731 return { 732 formatName: t, 733 formatOptions: n 734 }; 735}, je = (e) => { 736 let t = {}; 737 return (n, r, i) => { 738 let a = i; 739 i && i.interpolationkey && i.formatParams && i.formatParams[i.interpolationkey] && i[i.interpolationkey] && (a = { 740 ...a, 741 [i.interpolationkey]: void 0 742 }); 743 let o = r + JSON.stringify(a), s = t[o]; 744 return s || (s = e(me(r), i), t[o] = s), s(n); 745 }; 746}, Me = (e) => (t, n, r) => e(me(n), r)(t), Ne = class { 747 constructor(e = {}) { 748 this.logger = A.create("formatter"), this.options = e, this.init(e); 749 } 750 init(e, t = { interpolation: {} }) { 751 this.formatSeparator = t.interpolation.formatSeparator || ","; 752 let n = t.cacheInBuiltFormats ? je : Me; 753 this.formats = { 754 number: n((e, t) => { 755 let n = new Intl.NumberFormat(e, { ...t }); 756 return (e) => n.format(e); 757 }), 758 currency: n((e, t) => { 759 let n = new Intl.NumberFormat(e, { 760 ...t, 761 style: "currency" 762 }); 763 return (e) => n.format(e); 764 }), 765 datetime: n((e, t) => { 766 let n = new Intl.DateTimeFormat(e, { ...t }); 767 return (e) => n.format(e); 768 }), 769 relativetime: n((e, t) => { 770 let n = new Intl.RelativeTimeFormat(e, { ...t }); 771 return (e) => n.format(e, t.range || "day"); 772 }), 773 list: n((e, t) => { 774 let n = new Intl.ListFormat(e, { ...t }); 775 return (e) => n.format(e); 776 }) 777 }; 778 } 779 add(e, t) { 780 this.formats[e.toLowerCase().trim()] = t; 781 } 782 addCached(e, t) { 783 this.formats[e.toLowerCase().trim()] = je(t); 784 } 785 format(e, t, n, r = {}) { 786 if (!t || e == null) return e; 787 let i = t.split(this.formatSeparator); 788 if (i.length > 1 && i[0].indexOf("(") > 1 && !i[0].includes(")") && i.find((e) => e.includes(")"))) { 789 let e = i.findIndex((e) => e.includes(")")); 790 i[0] = [i[0], ...i.splice(1, e)].join(this.formatSeparator); 791 } 792 return i.reduce((e, t) => { 793 let { formatName: i, formatOptions: a } = Ae(t); 794 if (this.formats[i]) { 795 let t = e; 796 try { 797 let o = r?.formatParams?.[r.interpolationkey] || {}, s = o.locale || o.lng || r.locale || r.lng || n; 798 t = this.formats[i](e, s, { 799 ...a, 800 ...r, 801 ...o 802 }); 803 } catch (e) { 804 this.logger.warn(e); 805 } 806 return t; 807 } else this.logger.warn(`there was no format function for ${i}`); 808 return e; 809 }, e); 810 } 811}, Pe = (e, t) => { 812 e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--); 813}, Fe = class extends ge {
814 constructor(e, t, n, r = {}) { 815 super(), this.backend = e, this.store = t, this.services = n, this.languageUtils = n.languageUtils, this.options = r, this.logger = A.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); 816 } 817 queueLoad(e, t, n, r) { 818 let i = {}, a = {}, o = {}, s = {}; 819 return e.forEach((e) => { 820 let r = !0; 821 t.forEach((t) => { 822 let o = `${e}|${t}`; 823 !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))); 824 }), r || (o[e] = !0); 825 }), (Object.keys(i).length || Object.keys(a).length) && this.queue.push({ 826 pending: a, 827 pendingCount: Object.keys(a).length, 828 loaded: {}, 829 errors: [], 830 callback: r 831 }), { 832 toLoad: Object.keys(i), 833 pending: Object.keys(a), 834 toLoadLanguages: Object.keys(o), 835 toLoadNamespaces: Object.keys(s) 836 }; 837 } 838 loaded(e, t, n) { 839 let r = e.split("|"), i = r[0], a = r[1]; 840 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); 841 let o = {}; 842 this.queue.forEach((n) => { 843 re(n.loaded, [i], a), Pe(n, e), t && n.errors.push(t), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((e) => { 844 o[e] || (o[e] = {}); 845 let t = n.loaded[e]; 846 t.length && t.forEach((t) => { 847 o[e][t] === void 0 && (o[e][t] = !0); 848 }); 849 }), n.done = !0, n.errors.length ? n.callback(n.errors) : n.callback()); 850 }), this.emit("loaded", o), this.queue = this.queue.filter((e) => !e.done); 851 } 852 read(e, t, n, r = 0, i = this.retryTimeout, a) { 853 if (!e.length) return a(null, {}); 854 if (this.readingCalls >= this.maxParallelReads) { 855 this.waitingReads.push({ 856 lng: e, 857 ns: t, 858 fcName: n, 859 tried: r, 860 wait: i, 861 callback: a 862 }); 863 return; 864 } 865 this.readingCalls++; 866 let o = (o, s) => { 867 if (this.readingCalls--, this.waitingReads.length > 0) { 868 let e = this.waitingReads.shift(); 869 this.read(e.lng, e.ns, e.fcName, e.tried, e.wait, e.callback); 870 } 871 if (o && s && r < this.maxRetries) { 872 setTimeout(() => { 873 this.read(e, t, n, r + 1, i * 2, a); 874 }, i); 875 return; 876 } 877 a(o, s); 878 }, s = this.backend[n].bind(this.backend); 879 if (s.length === 2) { 880 try { 881 let n = s(e, t); 882 n && typeof n.then == "function" ? n.then((e) => o(null, e)).catch(o) : o(null, n); 883 } catch (e) { 884 o(e); 885 } 886 return; 887 } 888 return s(e, t, o); 889 } 890 prepareLoading(e, t, n = {}, r) { 891 if (!this.backend) return this.logger.warn("No backend was added via i18next.use. Will not load resources."), r && r(); 892 S(e) && (e = this.languageUtils.toResolveHierarchy(e)), S(t) && (t = [t]); 893 let i = this.queueLoad(e, t, n, r); 894 if (!i.toLoad.length) return i.pending.length || r(), null; 895 i.toLoad.forEach((e) => { 896 this.loadOne(e); 897 }); 898 } 899 load(e, t, n) { 900 this.prepareLoading(e, t, {}, n); 901 } 902 reload(e, t, n) { 903 this.prepareLoading(e, t, { reload: !0 }, n); 904 } 905 loadOne(e, t = "") { 906 let n = e.split("|"), r = n[0], i = n[1]; 907 this.read(r, i, "read", void 0, void 0, (n, a) => { 908 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); 909 }); 910 } 911 saveMissing(e, t, n, r, i, a = {}, o = () => {}) { 912 if (this.services?.utils?.hasLoadedNamespace && !this.services?.utils?.hasLoadedNamespace(t)) { 913 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!!!"); 914 return; 915 } 916 if (!(n == null || n === "")) { 917 if (this.backend?.create) { 918 let s = { 919 ...a, 920 isUpdate: i 921 }, c = this.backend.create.bind(this.backend); 922 if (c.length < 6) try { 923 let i; 924 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); 925 } catch (e) { 926 o(e); 927 } 928 else c(e, t, n, r, o, s); 929 } 930 !e || !e[0] || this.store.addResource(e[0], t, n, r); 931 } 932 } 933}, Ie = () => ({ 934 debug: !1, 935 initAsync: !0, 936 ns: ["translation"], 937 defaultNS: ["translation"], 938 fallbackLng: ["dev"], 939 fallbackNS: !1, 940 supportedLngs: !1, 941 nonExplicitSupportedLngs: !1, 942 load: "all", 943 preload: !1, 944 keySeparator: ".", 945 nsSeparator: ":", 946 pluralSeparator: "_", 947 contextSeparator: "_", 948 partialBundledLanguages: !1, 949 saveMissing: !1, 950 updateMissing: !1, 951 saveMissingTo: "fallback", 952 saveMissingPlurals: !0, 953 missingKeyHandler: !1, 954 missingInterpolationHandler: !1, 955 postProcess: !1, 956 postProcessPassResolved: !1, 957 returnNull: !1, 958 returnEmptyString: !0, 959 returnObjects: !1, 960 joinArrays: !1, 961 returnedObjectHandler: !1, 962 parseMissingKeyHandler: !1, 963 appendNamespaceToMissingKey: !1, 964 appendNamespaceToCIMode: !1, 965 overloadTranslationOptionHandler: (e) => { 966 let t = {}; 967 if (typeof e[1] == "object" && (t = e[1]), S(e[1]) && (t.defaultValue = e[1]), S(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") { 968 let n = e[3] || e[2];
969 Object.keys(n).forEach((e) => { 970 t[e] = n[e]; 971 }); 972 } 973 return t; 974 }, 975 interpolation: { 976 escapeValue: !0, 977 prefix: "{{", 978 suffix: "}}", 979 formatSeparator: ",", 980 unescapePrefix: "-", 981 nestingPrefix: "$t(", 982 nestingSuffix: ")", 983 nestingOptionsSeparator: ",", 984 maxReplaces: 1e3, 985 skipOnVariables: !0 986 }, 987 cacheInBuiltFormats: !0 988}), Le = (e) => (S(e.ns) && (e.ns = [e.ns]), S(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), S(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs && !e.supportedLngs.includes("cimode") && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), e), Re = () => {}, ze = (e) => { 989 Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((t) => { 990 typeof e[t] == "function" && (e[t] = e[t].bind(e)); 991 }); 992}, M = class e extends ge { 993 constructor(e = {}, t) { 994 if (super(), this.options = Le(e), this.services = {}, this.logger = A, this.modules = { external: [] }, ze(this), t && !this.isInitialized && !e.isClone) { 995 if (!this.options.initAsync) return this.init(e, t), this; 996 setTimeout(() => { 997 this.init(e, t); 998 }, 0); 999 } 1000 } 1001 init(e = {}, t) { 1002 this.isInitializing = !0, typeof e == "function" && (t = e, e = {}), e.defaultNS == null && e.ns && (S(e.ns) ? e.defaultNS = e.ns : e.ns.includes("translation") || (e.defaultNS = e.ns[0])); 1003 let n = Ie(); 1004 this.options = { 1005 ...n, 1006 ...this.options, 1007 ...Le(e) 1008 }, this.options.interpolation = { 1009 ...n.interpolation, 1010 ...this.options.interpolation 1011 }, e.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = e.keySeparator), e.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = e.nsSeparator), typeof this.options.overloadTranslationOptionHandler != "function" && (this.options.overloadTranslationOptionHandler = n.overloadTranslationOptionHandler); 1012 let r = (e) => e ? typeof e == "function" ? new e() : e : null; 1013 if (!this.options.isClone) { 1014 this.modules.logger ? A.init(r(this.modules.logger), this.options) : A.init(null, this.options); 1015 let e; 1016 e = this.modules.formatter ? this.modules.formatter : Ne; 1017 let t = new Ce(this.options); 1018 this.store = new _e(this.options.resources, this.options); 1019 let n = this.services; 1020 n.logger = A, n.resourceStore = this.store, n.languageUtils = t, n.pluralResolver = new Ee(t, { prepend: this.options.pluralSeparator }), e && (n.formatter = r(e), n.formatter.init && n.formatter.init(n, this.options), this.options.interpolation.format = n.formatter.format.bind(n.formatter)), n.interpolator = new ke(this.options), n.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) }, n.backendConnector = new Fe(r(this.modules.backend), n.resourceStore, n, this.options), n.backendConnector.on("*", (e, ...t) => { 1021 this.emit(e, ...t); 1022 }), this.modules.languageDetector && (n.languageDetector = r(this.modules.languageDetector), n.languageDetector.init && n.languageDetector.init(n, this.options.detection, this.options)), this.modules.i18nFormat && (n.i18nFormat = r(this.modules.i18nFormat), n.i18nFormat.init && n.i18nFormat.init(this)), this.translator = new Se(this.services, this.options), this.translator.on("*", (e, ...t) => { 1023 this.emit(e, ...t); 1024 }), this.modules.external.forEach((e) => { 1025 e.init && e.init(this); 1026 }); 1027 } 1028 if (this.format = this.options.interpolation.format, t ||= Re, this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) { 1029 let e = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng); 1030 e.length > 0 && e[0] !== "dev" && (this.options.lng = e[0]); 1031 } 1032 !this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), [ 1033 "getResource", 1034 "hasResourceBundle", 1035 "getResourceBundle", 1036 "getDataByLanguage" 1037 ].forEach((e) => { 1038 this[e] = (...t) => this.store[e](...t); 1039 }), [ 1040 "addResource", 1041 "addResources", 1042 "addResourceBundle", 1043 "removeResourceBundle" 1044 ].forEach((e) => { 1045 this[e] = (...t) => (this.store[e](...t), this); 1046 }); 1047 let i = C(), a = () => { 1048 let e = (e, n) => { 1049 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
1049("initialized", this.options), i.resolve(n), t(e, n); 1050 }; 1051 if (this.languages && !this.isInitialized) return e(null, this.t.bind(this)); 1052 this.changeLanguage(this.options.lng, e); 1053 }; 1054 return this.options.resources || !this.options.initAsync ? a() : setTimeout(a, 0), i; 1055 } 1056 loadResources(e, t = Re) { 1057 let n = t, r = S(e) ? e : this.language; 1058 if (typeof e == "function" && (n = e), !this.options.resources || this.options.partialBundledLanguages) { 1059 if (r?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return n(); 1060 let e = [], t = (t) => { 1061 !t || t === "cimode" || this.services.languageUtils.toResolveHierarchy(t).forEach((t) => { 1062 t !== "cimode" && (e.includes(t) || e.push(t)); 1063 }); 1064 }; 1065 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) => { 1066 !e && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), n(e); 1067 }); 1068 } else n(null); 1069 } 1070 reloadResources(e, t, n) { 1071 let r = C(); 1072 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 ||= Re, this.services.backendConnector.reload(e, t, (e) => { 1073 r.resolve(), n(e); 1074 }), r; 1075 } 1076 use(e) { 1077 if (!e) throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()"); 1078 if (!e.type) throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()"); 1079 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" && ve.addPostProcessor(e), e.type === "formatter" && (this.modules.formatter = e), e.type === "3rdParty" && this.modules.external.push(e), this; 1080 } 1081 setResolvedLanguage(e) { 1082 if (!(!e || !this.languages) && !["cimode", "dev"].includes(e)) { 1083 for (let e = 0; e < this.languages.length; e++) { 1084 let t = this.languages[e]; 1085 if (!["cimode", "dev"].includes(t) && this.store.hasLanguageSomeTranslations(t)) { 1086 this.resolvedLanguage = t; 1087 break; 1088 } 1089 } 1090 !this.resolvedLanguage && !this.languages.includes(e) && this.store.hasLanguageSomeTranslations(e) && (this.resolvedLanguage = e, this.languages.unshift(e)); 1091 } 1092 } 1093 changeLanguage(e, t) { 1094 this.isLanguageChangingTo = e; 1095 let n = C(); 1096 this.emit("languageChanging", e); 1097 let r = (e) => { 1098 this.language = e, this.languages = this.services.languageUtils.toResolveHierarchy(e), this.resolvedLanguage = void 0, this.setResolvedLanguage(e); 1099 }, i = (i, a) => { 1100 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)); 1101 }, a = (t) => { 1102 !e && !t && this.services.languageDetector && (t = []); 1103 let n = S(t) ? t : t && t[0], a = this.store.hasLanguageSomeTranslations(n) ? n : this.services.languageUtils.getBestMatchFromCodes(S(t) ? [t] : t); 1104 a && (this.language || r(a), this.translator.language || this.translator.changeLanguage(a), this.services.languageDetector?.cacheUserLanguage?.(a)), this.loadResources(a, (e) => { 1105 i(e, a); 1106 }); 1107 }; 1108 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; 1109 } 1110 getFixedT(e, t, n) { 1111 let r = (e, t, ...i) => { 1112 let a; 1113 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); 1114 let o = { 1115 ...this.options, 1116 ...a 1117 }; 1118 typeof a.keyPrefix == "function" && (a.keyPrefix = j(a.keyPrefix, o)); 1119 let s = this.options.keySeparator || ".", c; 1120 return a.keyPrefix && Array.isArray(e) ? c = e.map((e) => (typeof e == "function" && (e = j(e, o)), `${a.keyPrefix}${s}${e}`)) : (typeof e == "function" && (e = j(e, o)), c = a.keyPrefix ? `${a.keyPrefix}${s}${e}` : e), this.t(c, a); 1121 }; 1122 return S(e) ? r.lng = e : r.lngs = e, r.ns = t, r.keyPrefix = n, r; 1123 } 1124 t(...e) { 1125 return this.translator?.translate(...e); 1126 } 1127 exists(...e) { 1128 return this.translator?.exists(...e); 1129 } 1130 setDefaultNamespace(e) { 1131 this.options.defaultNS = e; 1132 } 1133 hasLoadedNamespace(e, t = {}) { 1134 if (!this.isInitialized) return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1; 1135 if (!this.languages || !this.languages.length) return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1; 1136 let n = t.lng || this.resolvedLanguage || this.languages[0], r = this.options ? this.options.fallbackLng : !1, i = this.languages[this.languages.length - 1]; 1137 if (n.toLowerCase() === "cimode") return !0; 1138 let a = (e, t) => { 1139 let n = this.services.backendConnector.state[`${e}|${t}`]; 1140 return n === -1 || n === 0 || n === 2; 1141 }; 1142 if (t.precheck) { 1143 let e = t.precheck(this, a); 1144 if (e !== void 0) return e; 1145 } 1146 return !!(this.hasResourceBundle(n, e) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || a(n, e) && (!r || a(i, e))); 1147 } 1148 loadNamespaces(e, t) { 1149 let n = C(); 1150 return this.options.ns ? (S(e) && (e = [e]), e.forEach((e) => { 1151 this.options.ns.includes(e) || this.options.ns.push(e); 1152 }), this.loadResources((e) => { 1153 n.resolve(), t && t(e); 1154 }), n) : (t && t(), Promise.resolve()); 1155 } 1156 loadLanguages(e, t) { 1157 let n = C(); 1158 S(e) && (e = [e]); 1159 let r = this.options.preload || [], i = e.filter((e) => !r.includes(e) && this.services.languageUtils.isSupportedCode(e)); 1160 return i.length ? (this.options.preload = r.concat(i), this.loadResources((e) => { 1161 n.resolve(), t && t(e); 1162 }), n) : (t && t(), Promise.resolve()); 1163 } 1164 dir(e) { 1165 if (e ||= this.resolvedLanguage || (this.languages?.length > 0 ? this.languages[0] : this.language), !e) return "rtl";
1166 try { 1167 let t = new Intl.Locale(e); 1168 if (t && t.getTextInfo) { 1169 let e = t.getTextInfo(); 1170 if (e && e.direction) return e.direction; 1171 } 1172 } catch {} 1173 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 Ce(Ie()); 1174 return e.toLowerCase().indexOf("-latn") > 1 ? "ltr" : t.includes(n.getLanguagePartFromCode(e)) || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr"; 1175 } 1176 static createInstance(t = {}, n) { 1177 let r = new e(t, n); 1178 return r.createInstance = e.createInstance, r; 1179 } 1180 cloneInstance(t = {}, n = Re) { 1181 let r = t.forkResourceStore; 1182 r && delete t.forkResourceStore; 1183 let i = { 1184 ...this.options, 1185 ...t, 1186 isClone: !0 1187 }, a = new e(i); 1188 if ((t.debug !== void 0 || t.prefix !== void 0) && (a.logger = a.logger.clone(t)), [ 1189 "store", 1190 "services", 1191 "language" 1192 ].forEach((e) => { 1193 a[e] = this[e]; 1194 }), a.services = { ...this.services }, a.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, r && (a.store = new _e(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), t.interpolation) { 1195 let e = { 1196 ...Ie().interpolation, 1197 ...this.options.interpolation, 1198 ...t.interpolation 1199 }, n = { 1200 ...i, 1201 interpolation: e 1202 }; 1203 a.services.interpolator = new ke(n); 1204 } 1205 return a.translator = new Se(a.services, i), a.translator.on("*", (e, ...t) => { 1206 a.emit(e, ...t); 1207 }), a.init(i, n), a.translator.options = i, a.translator.backendConnector.services.utils = { hasLoadedNamespace: a.hasLoadedNamespace.bind(a) }, a; 1208 } 1209 toJSON() { 1210 return { 1211 options: this.options, 1212 store: this.store, 1213 language: this.language, 1214 languages: this.languages, 1215 resolvedLanguage: this.resolvedLanguage 1216 }; 1217 } 1218}.createInstance(); 1219M.createInstance, M.dir, M.init, M.loadResources, M.reloadResources, M.use, M.changeLanguage, M.getFixedT, M.t, M.exists, M.setDefaultNamespace, M.hasLoadedNamespace, M.loadNamespaces, M.loadLanguages; 1220var { slice: Be, forEach: Ve } = []; 1221function He(e) { 1222 return Ve.call(Be.call(arguments, 1), (t) => { 1223 if (t) for (let n in t) e[n] === void 0 && (e[n] = t[n]); 1224 }), e; 1225} 1226function Ue(e) { 1227 return typeof e == "string" && [ 1228 /<\s*script.*?>/i, 1229 /<\s*\/\s*script\s*>/i, 1230 /<\s*img.*?on\w+\s*=/i, 1231 /<\s*\w+\s*on\w+\s*=.*?>/i, 1232 /javascript\s*:/i, 1233 /vbscript\s*:/i, 1234 /expression\s*\(/i, 1235 /eval\s*\(/i, 1236 /alert\s*\(/i, 1237 /document\.cookie/i, 1238 /document\.write\s*\(/i, 1239 /window\.location/i, 1240 /innerHTML/i 1241 ].some((t) => t.test(e)); 1242} 1243var We = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, Ge = function(e, t) { 1244 let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : { path: "/" }, r = `${e}=${encodeURIComponent(t)}`; 1245 if (n.maxAge > 0) { 1246 let e = n.maxAge - 0; 1247 if (Number.isNaN(e)) throw Error("maxAge should be a Number"); 1248 r += `; Max-Age=${Math.floor(e)}`; 1249 } 1250 if (n.domain) { 1251 if (!We.test(n.domain)) throw TypeError("option domain is invalid"); 1252 r += `; Domain=${n.domain}`; 1253 } 1254 if (n.path) { 1255 if (!We.test(n.path)) throw TypeError("option path is invalid"); 1256 r += `; Path=${n.path}`; 1257 } 1258 if (n.expires) { 1259 if (typeof n.expires.toUTCString != "function") throw TypeError("option expires is invali
1259d"); 1260 r += `; Expires=${n.expires.toUTCString()}`; 1261 } 1262 if (n.httpOnly && (r += "; HttpOnly"), n.secure && (r += "; Secure"), n.sameSite) switch (typeof n.sameSite == "string" ? n.sameSite.toLowerCase() : n.sameSite) { 1263 case !0: 1264 r += "; SameSite=Strict"; 1265 break; 1266 case "lax": 1267 r += "; SameSite=Lax"; 1268 break; 1269 case "strict": 1270 r += "; SameSite=Strict"; 1271 break; 1272 case "none": 1273 r += "; SameSite=None"; 1274 break; 1275 default: throw TypeError("option sameSite is invalid"); 1276 } 1277 return n.partitioned && (r += "; Partitioned"), r; 1278}, Ke = { 1279 create(e, t, n, r) { 1280 let i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : { 1281 path: "/", 1282 sameSite: "strict" 1283 }; 1284 n && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + n * 60 * 1e3)), r && (i.domain = r), document.cookie = Ge(e, t, i); 1285 }, 1286 read(e) { 1287 let t = `${e}=`, n = document.cookie.split(";"); 1288 for (let e = 0; e < n.length; e++) { 1289 let r = n[e]; 1290 for (; r.charAt(0) === " ";) r = r.substring(1, r.length); 1291 if (r.indexOf(t) === 0) return r.substring(t.length, r.length); 1292 } 1293 return null; 1294 }, 1295 remove(e, t) { 1296 this.create(e, "", -1, t); 1297 } 1298}, qe = { 1299 name: "cookie", 1300 lookup(e) { 1301 let { lookupCookie: t } = e; 1302 if (t && typeof document < "u") return Ke.read(t) || void 0; 1303 }, 1304 cacheUserLanguage(e, t) { 1305 let { lookupCookie: n, cookieMinutes: r, cookieDomain: i, cookieOptions: a } = t; 1306 n && typeof document < "u" && Ke.create(n, e, r, i, a); 1307 } 1308}, Je = { 1309 name: "querystring", 1310 lookup(e) { 1311 let { lookupQuerystring: t } = e, n; 1312 if (typeof window < "u") { 1313 let { search: e } = window.location; 1314 !window.location.search && window.location.hash?.indexOf("?") > -1 && (e = window.location.hash.substring(window.location.hash.indexOf("?"))); 1315 let r = e.substring(1).split("&"); 1316 for (let e = 0; e < r.length; e++) { 1317 let i = r[e].indexOf("="); 1318 i > 0 && r[e].substring(0, i) === t && (n = r[e].substring(i + 1)); 1319 } 1320 } 1321 return n; 1322 } 1323}, Ye = { 1324 name: "hash", 1325 lookup(e) { 1326 let { lookupHash: t, lookupFromHashIndex: n } = e, r; 1327 if (typeof window < "u") { 1328 let { hash: e } = window.location; 1329 if (e && e.length > 2) { 1330 let i = e.substring(1); 1331 if (t) { 1332 let e = i.split("&"); 1333 for (let n = 0; n < e.length; n++) { 1334 let i = e[n].indexOf("="); 1335 i > 0 && e[n].substring(0, i) === t && (r = e[n].substring(i + 1)); 1336 } 1337 } 1338 if (r) return r; 1339 if (!r && n > -1) { 1340 let t = e.match(/\/([a-zA-Z-]*)/g); 1341 return Array.isArray(t) ? t[typeof n == "number" ? n : 0]?.replace("/", "") : void 0; 1342 } 1343 } 1344 } 1345 return r; 1346 } 1347}, N = null, Xe = () => { 1348 if (N !== null) return N; 1349 try { 1350 if (N = typeof window < "u" && window.localStorage !== null, !N) return !1; 1351 let e = "i18next.translate.boo"; 1352 window.localStorage.setItem(e, "foo"), window.localStorage.removeItem(e); 1353 } catch { 1354 N = !1; 1355 } 1356 return N; 1357}, Ze = { 1358 name: "localStorage", 1359 lookup(e) { 1360 let { lookupLocalStorage: t } = e; 1361 if (t && Xe()) return window.localStorage.getItem(t) || void 0; 1362 }, 1363 cacheUserLanguage(e, t) { 1364 let { lookupLocalStorage: n } = t; 1365 n && Xe() && window.localStorage.setItem(n, e); 1366 } 1367}, P = null, Qe = () => { 1368 if (P !== null) return P; 1369 try { 1370 if (P = typeof window < "u" && window.sessionStorage !== null, !P) return !1; 1371 let e = "i18next.translate.boo"; 1372 window.sessionStorage.setItem(e, "foo"), window.sessionStorage.removeItem(e); 1373 } catch { 1374 P = !1; 1375 } 1376 return P; 1377}, $e = { 1378 name: "sessionStorage", 1379 lookup(e) { 1380 let { lookupSessionStorage: t } = e; 1381 if (t && Qe()) return window.sessionStorage.getItem(t) || void 0; 1382 }, 1383 cacheUserLanguage(e, t) { 1384 let { lookupSessionStorage: n } = t; 1385 n && Qe() && window.sessionStorage.setItem(n, e); 1386 } 1387}, et = { 1388 name: "navigator", 1389 lookup(e) { 1390 let t = []; 1391 if (typeof navigator < "u") { 1392 let { languages: e, userLanguage: n, language: r } = navigator; 1393 if (e) for (let n = 0; n < e.length; n++) t.push(e[n]); 1394 n && t.push(n), r && t.push(r); 1395 } 1396 return t.length > 0 ? t : void 0; 1397 } 1398}, tt = { 1399 name: "htmlTag", 1400 lookup(e) { 1401 let { htmlTag: t } = e, n, r = t || (typeof document < "u" ? document.documentElement : null); 1402 return r && typeof r.getAttribute == "function" && (n = r.getAttribute("lang")), n; 1403 } 1404}, nt = { 1405 name: "path", 1406 lookup(e) { 1407 let { lookupFromPathIndex: t } = e; 1408 if (typeof window > "u") return; 1409 let n = window.location.pathname.match(/\/([a-zA-Z-]*)/g); 1410 return Array.isArray(n) ? n[typeof t == "number" ? t : 0]?.replace("/", "") : void 0; 1411 } 1412}, rt = { 1413 name: "subdomain", 1414 lookup(e) { 1415 let { lookupFromSubdomainIndex: t } = e, n = typeof t == "number" ? t + 1 : 1, r = typeof window < "u" && window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i); 1416 if (r) return r[n]; 1417 } 1418}, it = !1; 1419try { 1420 document.cookie, it = !0; 1421} catch {} 1422var at = [ 1423 "querystring", 1424 "cookie", 1425 "localStorage", 1426 "sessionStorage", 1427 "navigator", 1428 "htmlTag" 1429]; 1430it || at.splice(1, 1); 1431var ot = () => ({ 1432 order: at, 1433 lookupQuerystring: "lng", 1434 lookupCookie: "i18next",
1435 lookupLocalStorage: "i18nextLng", 1436 lookupSessionStorage: "i18nextLng", 1437 caches: ["localStorage"], 1438 excludeCacheFor: ["cimode"], 1439 convertDetectedLanguage: (e) => e 1440}), st = class { 1441 constructor(e) { 1442 let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}; 1443 this.type = "languageDetector", this.detectors = {}, this.init(e, t); 1444 } 1445 init() { 1446 let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : { languageUtils: {} }, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; 1447 this.services = e, this.options = He(t, this.options || {}, ot()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (e) => e.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(qe), this.addDetector(Je), this.addDetector(Ze), this.addDetector($e), this.addDetector(et), this.addDetector(tt), this.addDetector(nt), this.addDetector(rt), this.addDetector(Ye); 1448 } 1449 addDetector(e) { 1450 return this.detectors[e.name] = e, this; 1451 } 1452 detect() { 1453 let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.options.order, t = []; 1454 return e.forEach((e) => { 1455 if (this.detectors[e]) { 1456 let n = this.detectors[e].lookup(this.options); 1457 n && typeof n == "string" && (n = [n]), n && (t = t.concat(n)); 1458 } 1459 }), t = t.filter((e) => e != null && !Ue(e)).map((e) => this.options.convertDetectedLanguage(e)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? t : t.length > 0 ? t[0] : null; 1460 } 1461 cacheUserLanguage(e) { 1462 let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches; 1463 t && (this.options.excludeCacheFor && this.options.excludeCacheFor.indexOf(e) > -1 || t.forEach((t) => { 1464 this.detectors[t] && this.detectors[t].cacheUserLanguage(e, this.options); 1465 })); 1466 } 1467}; 1468st.type = "languageDetector"; 1469var ct = { 1470 en: { translation: { 1471 "characters-remaining": "{{charactersRemaining}} characters remaining", 1472 ascending: "ascending", 1473 descending: "descending", 1474 "data-table-sorted": "{{caption}} table, column {{headerName}} is now sorted by {{sortDirection}} values", 1475 date: "date", 1476 "column-headers-buttons-sortable": "column headers with buttons are sortable", 1477 "table-sort-removed": "Table sort removed", 1478 "sort-by-ascending-values": "Sort by ascending values", 1479 "sort-by-descending-values": "Sort by descending values", 1480 "reset-sort": "Reset sort", 1481 "table-now-displaying-page": "Table now displaying page {{pageNumber}} of {{totalPages}}", 1482 "table-now-displaying-rows": "Table now displaying {{pageSize}} rows per page which results in {{totalPages}} total pages for {{totalRows}} rows of data", 1483 "no-matching-results-found": "No matching results found, try another filter term", 1484 "table-filtered": "Table filtered, {{numberOfRows}} rows of data available", 1485 "table-filter-removed": "Filter removed, {{numberOfRows}} rows of data are available", 1486 "filter-cannot-be-used-no-available-data": "Filter cannot be used because there is no available data to display", 1487 "video-duration-is": "Video duration is", 1488 "minutes-and": "minutes and", 1489 "seconds-long": "seconds long", 1490 "view-video-transcript": "View video transcript", 1491 close: "Close", 1492 disabled: "disabled", 1493 breadcrumbs: "breadcrumbs", 1494 calendar: "calendar", 1495 "escape-exit-calendar": "Press escape to exit the calendar.", 1496 "previous-year": "Previous year", 1497 "next-year": "Next year", 1498 "previous-month": "Previous month", 1499 "next-month": "Next month", 1500 "show-today": "Show today", 1501 "clear-value": "Clear value", 1502 "choose-date": "Choose date", 1503 "please-follow-format": "Please follow the {{format}} format.", 1504 "please-enter-valid-date": "Please enter a valid date.", 1505 "press-down-for-calendar": "Press the down arrow key to access the calendar.", 1506 error: "ERROR", 1507 "please-refresh-browser": "Please refresh your browser or try again in a few minutes.", 1508 "sorry-no-permission": "Sorry! It looks like you don’t have permission to access this page.", 1509 "sorry-broken-link": "We’re sorry. It looks like the link you followed may be broken or the page may have been moved.", 1510 "sorry-site-unavailable": "Sorry! This part of our site is currently unavailable, we’re working on resolving the issue as quickly as possible.", 1511 "well-thats-puzzling": "Well, that’s <span class=\"{{spanClass}}\">puzzling.</span>", 1512 "well-shoot": "<span class=\"{{spanClass}}\">Well, shoot.</span> Our system doesn’t recognize you.", 1513 "uh-oh-small-glitch": "<span class=\"{{spanClass}}\">Uh-oh.</span> We’re experiencing a small glitch.", 1514 "bump-in-the-road": "Looks like there’s a <span class=\"{{spanClass}}\">bump</span> in the road.", 1515 "attach-files": "Attach files", 1516 "attach-file": "Attach file", 1517 "drop-file-click": "Drop a file to attach, or <span class={{spanClass}}>click to browse.</span>", 1518 "drop-files-click": "Drop files to attach, or <span class={{spanClass}}>click to browse.</span>", 1519 "drop-file-tap": "Drop a file to attach, or <span class={{spanClass}}>tap to browse.</span>", 1520 "drop-files-tap": "Drop files to attach, or <span class={{spanClass}}>tap to browse.</span>", 1521 cancel: "Cancel", 1522 "replace-file-confirmation": "Are you sure you want to replace this file:", 1523 with: "With", 1524 replace: "Replace", 1525 "no-files-attached": "No files have been attached.", 1526 "please-ensure-file-formats": "Please make sure your files are in one of the following formats", 1527 "please-ensure-file-size": "Please make sure your files are below", 1528 "file-could-not-be-uploaded": "The following file could not be uploaded", 1529 "try-again": "Try again", 1530 "remove-attachment": "Remove attachment", 1531 "file-added-live-region": "1 file has been attached.", 1532 "files-added-live-region": "{{count}} files have been attached.", 1533 "removed-file-live-region": "Your {{fileToRemove}} file was removed", 1534 "show-more": "Show more", 1535 "show-less": "Show less", 1536 loading: "loading...", 1537 "expand-collapse-row": "Expand/collapse row", 1538 "expand-collapse-column": "Expand/collapse column", 1539 "expand-row": "Expand row", 1540 "collapse-row": "Collapse row", 1541 "trouble-logging-in": "Trouble logging in?", 1542 "get-help": "Get help", 1543 "link-to-principal-homepage": "Link to Principal homepage", 1544 contact: "Contact", 1545 footer: "Footer", 1546 "terms-of-use": "Terms of use", 1547 disclosures: "Disclosures", 1548 privacy: "Privacy", 1549 security: "Security", 1550 "report-fraud": "Report fraud", 1551 accessibility: "Accessibility", 1552 "securities-offered": "Securities offered through Principal Securities, Inc.,", 1553 "member-sipc": "member SIPC", 1554 "principal-on-X": "Principal on X", 1555 "principal-on-youtube": "Principal on YouTube", 1556 "principal-on-facebook": "Principal on Facebook", 1557 "principal-on-linkedin": "Principal on LinkedIn", 1558 "principal-on-AppStore": "Principal on AppStore", 1559 "principal-on-GooglePlay": "Principal on GooglePlay", 1560 "back-to-footnote": "Back to footnote {{footnoteNumber}}", 1561 "mobile-navigation-menu": "Mobile navigation menu", 1562 "few-more-seconds": "Just a few more seconds!", 1563 "session-expired": "Your session has expired.", 1564 "logged-out": "You've logged out.", 1565 "we-logged-you-out": "To keep your account secure, we've logged you out.", 1566 "not-what-you-wanted": "Not what you wanted to do?", 1567 "log-back-in": "Log back in", 1568 "go-to-first-page": "Go to first page", 1569 "go-to-previous-page": "Go to previous page",
1570 "go-to-next-page": "Go to next page", 1571 "go-to-last-page": "Go to last page", 1572 "no-more-additional-pages": "There are no more additional pages.", 1573 "no-more-previous-pages": "There are no more previous pages.", 1574 pagination: "pagination", 1575 "data-table-pagination": "data table pagination", 1576 "primary-navigation": "primary navigation", 1577 "go-to-page": "go to page", 1578 "log-out": "Log out", 1579 "log-in": "Log in", 1580 "skip-to-content": "Skip to content", 1581 search: "Search", 1582 notifications: "Notifications", 1583 messages: "Messages", 1584 "other-alerts": "Other alerts", 1585 "error-displaying-table-data": "Error displaying table data", 1586 "no-available-table-data": "No available table data", 1587 menu: "Menu", 1588 "secondary-navigation": "secondary navigation", 1589 "logout-alert": "Logout alert!", 1590 minutes: "minutes", 1591 "stay-logged-in": "Stay logged in", 1592 seconds: "seconds", 1593 "one-moment": "One moment", 1594 "on-before-a-date": "on", 1595 "close-the-timer": "close the timer", 1596 "to-save-your-work": "to save your work before you get logged out.", 1597 "sorry-something-wrong-session": "Sorry! Something went wrong on our end when trying to extend your session. Give it another try, or ", 1598 "still-there": "Still there? You're about to be logged out.",
1599 "auto-log-you-out-warning": "To keep your account secure, we'll automatically log you out in ", 1600 dismiss: "Dismiss", 1601 minute: "minute", 1602 "time-remaining": "{{time}} remaining", 1603 progress: "progress", 1604 completed: "completed", 1605 incomplete: "incomplete", 1606 "filter-table": "Filter table", 1607 show: "Show", 1608 hide: "Hide", 1609 "value-hidden-show-available": "Value hidden. Show button available.", 1610 "value-visible-hide-available": "Value visible. Hide button available.", 1611 "no-entries": "No entries", 1612 "number-rows-displayed": "Number of rows to display in table", 1613 "rows-per-page": "rows per page", 1614 of: "of", 1615 entries: "entries", 1616 entry: "entry", 1617 "contact-us": "Contact us", 1618 "help-topics": "Help topics", 1619 "call-us-at": "Call us at", 1620 "principal-legal-links": "Principal legal links", 1621 "social-media": "Social media", 1622 "utility-menu": "utility menu", 1623 "user-menu": "user menu", 1624 "dropdown-button": "dropdown-button", 1625 "additional-information": "Additional information", 1626 "required-group": "At least one option within the group must be checked.", 1627 "numeric-characters-allowed": "Only numeric characters are allowed", 1628 "success-alert": "Success alert", 1629 "information-alert": "Information alert", 1630 "warning-alert": "Warning alert", 1631 "error-alert": "Error alert", 1632 "banner-alert": "Banner alert", 1633 "alert-not-dismissible": "This alert is not dismissible", 1634 "not-found": "Not found", 1635 forbidden: "Forbidden", 1636 "internal-server-error": "Internal server error", 1637 "service-unavailable": "Service unavailable", 1638 "this-link-opens-in-a-new-tab": "This link opens in a new tab", 1639 "opens-in-a-new-tab": "opens in a new tab", 1640 "pfg-logo": "Principal Financial Group logo", 1641 "info-toast": "Information toast", 1642 "loading-toast": "Loading toast", 1643 "success-toast": "Success toast", 1644 "error-toast": "Error toast", 1645 "error-loading-chart": "Error loading chart", 1646 retry: "Retry", 1647 label: "Label", 1648 category: "Category", 1649 value: "Value", 1650 total: "Total", 1651 "value-amount": "value", 1652 "bar-chart-aria-label": "Bar chart, {{position}} of {{total}} bars", 1653 description: "Description", 1654 "search-combo-box": "Search combo box", 1655 "your-account-has-notifications": "Your account has notifications", 1656 chart: "Chart", 1657 table: "Table", 1658 "this-triggers-a-tooltip": "This triggers a tooltip", 1659 "no-chart-data": "No chart data available", 1660 expanded: "expanded", 1661 "donut-chart-accompanying-table": "Donut chart has an accompanying table with the following information", 1662 "line-chart-accompanying-table": "Line chart has an accompanying table with the following information", 1663 "line-chart-data-points": "Line chart data points", 1664 "selected-country": "Selected country", 1665 "aria-value-text": "The current value is {{value}} out of a range from {{min}} to {{max}} and increment is {{step}}", 1666 "current-value": "Current value", 1667 "range-slider-aria-value-text": "Range slider with value {{min}} to {{max}}, adjustable in increments of {{step}}. Current slider setting (start) {{rangeStart}}, (end) {{rangeEnd}}", 1668 "range-start": "Range start {{rangeStart}}", 1669 "range-end": "Range end {{rangeEnd}}", 1670 "slider-not-multiple-of-step": "The original value ({{newValue}}) is not a multiple of {{step}}, so it has been adjusted to the closest valid value ({{clampedValue}}). Use the slider handle to confirm or update this value.", 1671 "slider-outside-valid-range": "The original value ({{newValue}}) was outside of the available range ({{min}} to {{max}}), so it has been adjusted to the closest valid value ({{clampedValue}}). Use the slider handle to confirm or update this value.", 1672 "slider-range-outside-range": "The original values ({{newRangeStart}} and {{newRangeEnd}}) were outside of the available range ({{min}} to {{max}}), so it has been adjusted to the closest valid range ({{min}} to {{max}}). Use the slider handles to confirm or update these values.", 1673 "slider-range-start-above-max": "The original start value ({{newRangeStart}}) is above the maximum range ({{max}}), so it has been adjusted to the valid value ({{min}}). Use the slider handle to confirm or update this value.", 1674 "slider-range-end-below-min": "The original end value ({{newRangeEnd}}) is below the minimum range ({{min}}), so it has been adjusted to the valid value ({{max}}). Use the slider handle to confirm or update this value.", 1675 "slider-range-start-above-range": "The original start value ({{newRangeStart}}) is above the range end value ({{newRangeEnd}}), so it has been adjusted to the valid range ({{min}} to {{max}}). Use the slider handles to confirm or update these values.", 1676 "slider-range-start-outside": "The original start value ({{newRangeStart}}) was outside of the available range ({{min}} to {{max}}
1676), so it has been adjusted to the closest valid value ({{min}}). Use the slider handle to confirm or update this value.", 1677 "slider-range-end-outside": "The original end value ({{newRangeEnd}}) was outside of the available range ({{min}} to {{max}}), so it has been adjusted to the closest valid value ({{max}}). Use the slider handle to confirm or update this value.", 1678 "slider-range-not-multiple-of-step": "The original values ({{newRangeStart}} and {{newRangeEnd}}) are not multiples of {{step}}, so it has been adjusted to the closest valid range ({{snappedStart}} to {{snappedEnd}}). Use the slider handles to confirm or update these values.", 1679 "slider-range-start-not-multiple-of-step": "The original value ({{newRangeStart}}) is not a multiple of {{step}}, so it has been adjusted to the closest valid value ({{snappedStart}}). Use the slider handle to confirm or update this value.", 1680 "slider-range-end-not-multiple-of-step": "The original value ({{newRangeEnd}}) is not a multiple of {{step}}, so it has been adjusted to the closest valid value ({{snappedEnd}}). Use the slider handle to confirm or update this value.", 1681 "slider-range-same-values": "The original start value ({{newRangeStart}}) and end value ({{newRangeEnd}}) cannot be the same, so it has been adjusted to the valid range ({{min}} to {{max}}). Use the slider handles to confirm or update these values.", 1682 "view-footnote": "View footnote {{footnoteNumber}}", 1683 link: "Link", 1684 through: "through", 1685 "collapse-options": "Collapse options", 1686 "expand-options": "Expand options", 1687 "no-results": "No results", 1688 "clear-all": "Clear all", 1689 "clear-all-items": "Clear all items", 1690 "item-selected": "item selected", 1691 "items-selected": "items selected", 1692 "no-items-selected": "No items selected", 1693 unavailable: "unavailable", 1694 selected: "selected", 1695 "not-selected": "not selected", 1696 deselected: "deselected", 1697 "press-enter-to-deselect": "Press enter to deselect {{label}}", 1698 "almost-there": "Almost there...", 1699 "country-code-dropdown": "A dropdown containing country codes, used to select the country code for the phone number" 1700 } }, 1701 es: { translation: { 1702 "characters-remaining": "restantes {{charactersRemaining}} caracteres", 1703 ascending: "ascendentes", 1704 descending: "descendentes", 1705 "data-table-sorted": "{{caption}} tabla, la columna {{headerName}} está ordenada por valores {{sortDirection}}", 1706 date: "fecha", 1707 "column-headers-buttons-sortable": "los encabezados de columna con botones se pueden ordenar", 1708 "table-sort-removed": "La clasificación de la tabla se ha eliminado", 1709 "sort-by-ascending-values": "Ordenar por valores ascendentes", 1710 "sort-by-descending-values": "Ordenar por valores descendientes", 1711 "reset-sort": "Restablecer el orden", 1712 "table-now-displaying-page": "La tabla muestra la página {{pageNumber}} de {{totalPages}}", 1713 "table-now-displaying-rows": "La tabla muestra {{pageSize}} filas por página, es decir {{totalPages}} páginas en total con {{totalRows}} filas de datos", 1714 "no-matching-results-found": "No se encontraron resultados concordantes, intenta otra palabra de filtro", 1715 "table-filtered": "La tabla ha aplicado los filtros, hay {{numberOfRows}} filas de datos disponibles", 1716 "table-filter-removed": "El filtro se ha eliminado, hay {{numberOfRows}} filas de datos disponibles", 1717 "filter-cannot-be-used-no-available-data": "No se pueden utilizar filtros porque no hay datos disponibles para mostrar", 1718 "video-duration-is": "La duración del vÃÂdeo es de", 1719 "minutes-and": "minutos y", 1720 "seconds-long": "segundos", 1721 "view-video-transcript": "Ver la transcripción del video", 1722 close: "Cerrar", 1723 disabled: "deshabilitado", 1724 breadcrumbs: "ayuda a la navegación", 1725 calendar: "calendario", 1726 "escape-exit-calendar": "Para salir del calendario pulsa la tecla escape.", 1727 "previous-year": "Año anterior", 1728 "next-year": "Año siguiente", 1729 "previous-month": "Mes anterior", 1730 "next-month": "Mes siguiente", 1731 "show-today": "Mostrar la fecha de hoy", 1732 "clear-value": "Borrar la fecha", 1733 "choose-date": "Elegir fecha", 1734 "please-follow-format": "Utiliza el formato {{format}}, por favor.", 1735 "please-enter-valid-date": "Por favor, ingresa una fecha válida.", 1736 "press-down-for-calendar": "Para acceder al calendario pulsa la flecha hacia abajo.", 1737 error: "ERROR", 1738 "please-refresh-browser": "Actualice su navegador o inténtelo de nuevo en unos minutos.", 1739 "sorry-no-permission": "¡Arrepentido! Parece que no tienes permiso para acceder a esta página.", 1740 "sorry-broken-link": "Lo sentimos. Parece que el enlace que siguió puede estar roto o la página puede haber sido movida.", 1741 "sorry-site-unavailable": "Arrepentido! Esta parte de nuestro sitio no está disponible actualmente, estamos trabajando para resolver el problema lo más rápido posible.", 1742 "well-thats-puzzling": "Bueno, eso es <span class=\"{{spanClass}}\">desconcertante.</span>", 1743 "well-shoot": "<span class=\"{{spanClass}}\">Bueno, dispara.</span> Nuestro sistema no te reconoce.", 1744 "uh-oh-small-glitch": "<span class=\"{{spanClass}}\">Uh-oh.</span> Estamos experimentando una pequeña falla.", 1745 "bump-in-the-road": "Parece que hay un <span class=\"{{spanClass}}\">chichón</span> en la carretera.", 1746 "attach-files": "Adjuntar archivos", 1747 "attach-file": "Adjuntar archivo", 1748 "drop-file-click": "Arrastra un archivo para adjuntar o <span class={{spanClass}}>haz clic para buscarlo en tu equipo.</span>", 1749 "drop-files-click": "Arrastra los archivos para adjuntar o <span class={{spanClass}}>haz clic para buscarlos en tu equipo.</span>", 1750 "drop-file-tap": "Arrastra un archivo para adjuntar o <span class={{spanClass}}>haz clic para buscarlo en tu equipo.</span>", 1751 "drop-files-tap": "Arrastra los archivos para adjuntar o <span class={{spanClass}}>pulsa para buscarlos en tu equipo.</span>", 1752 cancel: "Cancelar", 1753 "replace-file-confirmation": "¿Está seguro de que desea reemplazar el siguiente archivo?", 1754 with: "Con", 1755 replace: "Reemplazar", 1756 "no-files-attached": "No se adjuntó ningún archivo.", 1757 "please-ensure-file-formats": "Por favor, asegúrate de que tus archivos estén en alguno de los siguientes formatos", 1758 "please-ensure-file-size": "Asegúrese de que sus archivos estén debajo", 1759 "file-could-not-be-uploaded": "El siguiente archivo no se pudo cargar", 1760 "try-again": "Intenta de nuevo", 1761 "remove-attachment": "Eliminar adjunto", 1762 "file-added-live-region": "Se ha adjuntado 1 archivo.", 1763 "files-added-live-region": "Se han adjuntado {{count}} archivos.", 1764 "removed-file-live-region": "Tu {{fileToRemove}} archivo fue eliminado.", 1765 "show-more": "Mostrar más", 1766 "show-less": "Ver menos", 1767 loading: "cargando...", 1768 "expand-collapse-row": "Expandir/contraer fila", 1769 "expand-collapse-column": "Expandir/contraer columna", 1770 "expand-row": "Expanda la fila", 1771 "collapse-row": "Contraiga la fila", 1772 "trouble-logging-in": "¿Tienes problemas para iniciar sesión?", 1773 "get-help": "Consigue ayuda", 1774 "link-to-principal-homepage": "Bienvenida a la página principal", 1775 contact: "ComunÃÂcate con nosotros", 1776 footer: "Pie de página", 1777 "terms-of-use": "Términos de uso", 1778 disclosures: "Declaraciones", 1779 privacy: "Privacidad", 1780 security: "Seguridad", 1781 "report-fraud": "Reporte de fraudes", 1782 accessibility: "Accesibilidad", 1783 "securities-offered": "Los valores son ofrecidos a través de Principal Securities, Inc.,", 1784 "member-sipc": "miembro de la SIPC", 1785 "principal-on-X": "Principal en X", 1786 "principal-on-youtube": "Principal en YouTube", 1787 "principal-on-facebook": "Principal en Facebook", 1788 "principal-on-linkedin": "Principal en LinkedIn", 1789 "principal-on-AppStore": "Principal en AppStore", 1790 "principal-on-GooglePlay": "Principal en GooglePlay", 1791 "back-to-footnote": "Volver a la nota a pie de página {{footnoteNumber}}", 1792 "mobile-navigation-menu": "Menú de navegación móvil", 1793 "few-more-seconds": "¡Solo unos segundos más!", 1794 "session-expired": "Tu sesión venció.", 1795 "logged-out": "Cerraste sesión.", 1796 "we-logged-you-out": "Para mantener tu cuenta segura, hemos cerrado tu sesión.", 1797 "not-what-you-wanted": "¿No era lo que querÃÂas hacer?", 1798 "log-back-in": "Iniciar sesión de nuevo", 1799 "go-to-first-page": "Ir a la primera página", 1800 "go-to-previous-page": "Ir a la página anterior", 1801 "go-to-next-page": "Ir a la página siguiente", 1802 "go-to-last-page": "Ir a la última página", 1803 "no-more-additional-pages": "No hay más páginas adicionales", 1804 "no-more-previous-pages": "No hay más páginas anteriores.", 1805 pagination: "paginación", 1806 "data-table-pagination": "paginación de tabla de datos", 1807 "primary-navigation": "navegación primaria", 1808 "go-to-page": "ir a la página", 1809 "log-out": "Cerrar sesión", 1810 "log-in": "Ingresar", 1811 "skip-to-content": "Saltar al contenido", 1812 search: "Buscar", 1813 notifications: "Notificaciones", 1814 messages: "Mensajes", 1815 "other-alerts": "Otras alertas", 1816 "error-displaying-table-data": "Error al mostrar los datos de la tabla", 1817 "no-available-table-data": "No hay datos de tabla disponibles", 1818 menu: "Menú", 1819 "secondary-navigation": "secundario navigation", 1820 "logout-alert": "¡Aviso de cierre de sesión!", 1821 minutes: "minutos", 1822 "stay-logged-in": "Mantener la sesión", 1823 seconds: "segundos", 1824 "one-moment": "Un momento", 1825 "on-before-a-date": "el", 1826 "close-the-timer": "cerrar el temporizador", 1827 "to-save-your-work": " y guarda tu trabajo.", 1828 "sorry-something-wrong-session": "¡Disculpa! Algo salió mal al tratar de alargar tu sesión. Antes de que se te cierre la sesión, inténtalo nuevamente o ", 1829 "still-there": "¿Aún estás aquÃÂ? Pronto se te cerrará la sesión.",
1830 "auto-log-you-out-warning": "Por la seguridad de tu cuenta, cerraremos tu sesión en ", 1831 dismiss: "Ignorar", 1832 minute: "minuto", 1833 "time-remaining": "El tiempo que te queda es {{time}}", 1834 progress: "progreso", 1835 completed: "paso completo", 1836 incomplete: "paso incompleto", 1837 "filter-table": "Filtrar tabla", 1838 show: "Mostrar", 1839 hide: "Ocultar", 1840 "value-hidden-show-available": "Valor oculto. Botón Mostrar disponible.", 1841 "value-visible-hide-available": "Valor visible. Botón Ocultar disponible.", 1842 "no-entries": "No hay registros", 1843 "number-rows-displayed": "Número de filas que aparecerán en la tabla", 1844 "rows-per-page": "filas por página", 1845 of: "de", 1846 entries: "registros", 1847 entry: "registro", 1848 "contact-us": "ComunÃÂcate con nosotros", 1849 "help-topics": "Temas de ayuda", 1850 "call-us-at": "Llamenos al", 1851 "principal-legal-links": "Principales enlaces legales", 1852 "social-media": "Medios de comunicación social", 1853 "utility-menu": "menú de utilidades", 1854 "user-menu": "Menú del Usuario", 1855 "dropdown-button": "botón desplegable", 1856 "additional-information": "Información adicional", 1857 "required-group": "Se debe marcar al menos una opción dentro del grupo.", 1858 "numeric-characters-allowed": "Solo se permiten caracteres numéricos", 1859 "success-alert": "Alerta de éxito", 1860 "information-alert": "Alerta de información", 1861 "warning-alert": "Alerta de advertencia", 1862 "error-alert": "Alerta de error", 1863 "banner-alert": "Alerta de banner", 1864 "alert-not-dismissible": "Esta alerta no se puede descartar", 1865 "not-found": "No se encontró", 1866 forbidden: "No está permitido", 1867 "internal-server-error": "Error del servidor interno", 1868 "service-unavailable": "Servicio no disponible", 1869 "this-link-opens-in-a-new-tab": "Este enlace se abre en una nueva pestaña", 1870 "opens-in-a-new-tab": "abre en una nueva pestaña", 1871 "pfg-logo": "Logo de Principal Financial Group", 1872 "info-toast": "Notificación temporal (toast) informativa", 1873 "loading-toast": "Notificación temporal (toast) sobre una carga (loading)", 1874 "success-toast": "Notificación temporal (toast) sobre un paso exitoso", 1875 "error-toast": "Notificación temporal (toast) sobre un error", 1876 "error-loading-chart": "Error al cargar gráfico", 1877 retry: "Intentar otra vez", 1878 label: "Identificar", 1879 category: "CategorÃÂa", 1880 value: "Valor", 1881 total: "Total", 1882 "value-amount": "cantidad", 1883 "bar-chart-aria-label": "Gráfica de barras, {{position}} de {{total}} barras", 1884 description: "Descripción", 1885 "search-combo-box": "Buscar en cuadro combinado", 1886 "your-account-has-notifications": "Tienes notificaciones en tu cuenta", 1887 chart: "Gráfica", 1888 table: "Tabla", 1889 "this-triggers-a-tooltip": "Esto activa información en pantalla", 1890 "no-chart-data": "No hay datos de gráfica disponibles", 1891 expanded: "Vista expandida", 1892 "donut-chart-accompanying-table": "La gráfica circular está acompañada por una tabla con la siguiente información", 1893 "line-chart-accompanying-table": "El gráfico de lÃÂneas viene acompañado de una tabla con la siguiente información", 1894 "line-chart-data-points": "Datos del gráfico de lÃÂneas", 1895 "selected-country": "PaÃÂs seleccionado", 1896 "aria-value-text": "El valor actual es {{value}} dentro de un rango de {{min}} a {{max}}, en incrementos de {{step}}", 1897 "current-value": "Valor actual", 1898 "range-slider-aria-value-text": "Barra deslizable de rangos con valores del {{min}} al {{max}}, ajustable en incrementos de {{step}}. Configuración actual de la barra deslizable (inicio) {{rangeStart}}, (fin) {{rangeEnd}}", 1899 "range-start": "Inicio de rango {{rangeStart}}", 1900 "range-end": "Fin de rango {{rangeEnd}}", 1901 "slider-not-multiple-of-step": "El valor original ({{newValue}}) no es un múltiplo de {{step}}, asàque se ajustó al valor válido más cercano ({{clampedValue}}). Usa la barra deslizadora para confirmar o actualizar este valor.", 1902 "slider-outside-valid-range": "El valor original ({{newValue}}) está fuera del rango disponible (de {{min}} a {{max}}), asàque se ajustó al valor válido más cercano ({{clampedValue}}). Usa la barra deslizadora para confirmar o actualizar este valor.", 1903 "slider-range-outside-range": "Los valores originales ({{newRangeStart}} y {{newRangeEnd}}) están fuera del rango disponible (de {{min}} a {{max}}), asàque se ajustó al rango válido más cercano (de {{min}} a {{max}}). Usa las barras deslizadoras para confirmar o actualizar estos valores.", 1904 "slider-range-start-above-max": "El valor inicial original ({{newRangeStart}}) supera el rango máximo ({{max}}), asàque se ajustó al valor válido ({{min}}). Usa la barra deslizadora para confirmar o actualizar este valor.", 1905 "slider-range-end-below-min": "El valor final original ({{newRangeEnd}}) está por debajo del rango mÃÂnimo ({{min}}), asàque se ajustó al valor válido ({{max}}). Usa la barra deslizadora para confirmar o actualizar este valor.", 1906 "slider-range-start-above-range": "El valor inicial original ({{newRangeStart}}) supera el valor final del rango ({{newRangeEnd}}), asàque se ajustó al rango válido (de {{min}} a {{max}}). Usa las barras deslizadoras para confirmar o actualizar estos valores.",
1907 "slider-range-start-outside": "El valor inicial original ({{newRangeStart}}) está fuera del rango disponible (de {{min}} a {{max}}), asàque se ajustó al valor válido más cercano ({{min}}). Usa la barra deslizadora para confirmar o actualizar este valor.", 1908 "slider-range-end-outside": "El valor final original ({{newRangeEnd}}) está fuera del rango disponible (de {{min}} a {{max}}), asàque se ajustó al valor válido más cercano ({{max}}). Usa la barra deslizadora para confirmar o actualizar este valor.", 1909 "slider-range-not-multiple-of-step": "Los valores originales ({{newRangeStart}} y {{newRangeEnd}}) no son múltiplos de {{step}}, asàque se ajustó al rango válido más cercano (de {{snappedStart}} a {{snappedEnd}}). Usa las barras deslizadoras para confirmar o actualizar estos valores.", 1910 "slider-range-start-not-multiple-of-step": "El valor original ({{newRangeStart}}) no es un múltiplo de {{step}}, asàque se ajustó al valor válido más cercano ({{snappedStart}}). Usa la barra deslizadora para confirmar o actualizar este valor.", 1911 "slider-range-end-not-multiple-of-step": "El valor original ({{newRangeEnd}}) no es un múltiplo de {{step}}, asàque se ajustó al valor válido más cercano ({{snappedEnd}}). Usa la barra deslizadora para confirmar o actualizar este valor.", 1912 "slider-range-same-values": "El valor inicial original ({{newRangeStart}}) y el valor final ({{newRangeEnd}}) no pueden ser iguales, asàque se ha ajustado al rango válido de ({{min}} a {{max}}). Usa la barra deslizadora para confirmar o actualizar estos valores.", 1913 "view-footnote": "Ver nota a pie de página {{footnoteNumber}}", 1914 link: "Enlace", 1915 through: "a", 1916 "collapse-options": "Opciones de contracción", 1917 "expand-options": "Opciones de ampliación", 1918 "no-results": "No hay resultados", 1919 "clear-all": "Borrar todo", 1920 "clear-all-items": "Borrar todos los ÃÂtems", 1921 "item-selected": "ÃÂtem seleccionado", 1922 "items-selected": "ÃÂtems seleccionados", 1923 "no-items-selected": "No hay ÃÂtems seleccionados", 1924 unavailable: "indisponible", 1925 selected: "seleccionado", 1926 "not-selected": "no seleccionado", 1927 deselected: "deseleccionado", 1928 "press-enter-to-deselect": "Presione enter para deseleccionar {{label}}", 1929 "almost-there": "Casi listo...", 1930 "country-code-dropdown": "Menú desplegable para seleccionar el código del paÃÂs que corresponda al número de teléfono" 1931 } } 1932}, lt = Object.defineProperty, ut = (e, t, n, r) => { 1933 for (var i = void 0, a = e.length - 1, o; a >= 0; a--) (o = e[a]) && (i = o(t, n, i) || i); 1934 return i && lt(t, n, i), i; 1935}, F = class extends m { 1936 constructor() { 1937 super(...arguments), this.initialRenderForRequiredSlotValidation = !0, this.requiredSlotElements = {}, this.requiredSlotTimeout = null, this.requiredPropertyErrors = [], this.isSuspended = !1, this.isHydrationComplete = !1, this.hasFirstUpdatedRun = !1; 1938 } 1939 shouldUpdate() { 1940 return !this.isSuspended; 1941 } 1942 get classNames() { 1943 return {}; 1944 } 1945 get classNamespaceAndPrefix() { 1946 let e = { 1947 component: "c", 1948 layout: "l" 1949 }; 1950 return this.isComponent(this.componentType) ? `pds-${e[this.componentCategory]}-${this.componentName}` : `${e[this.componentCategory]}-${this.componentName}`; 1951 } 1952 isComponent(e) { 1953 return e === "component"; 1954 } 1955 getClassNamespace(e) { 1956 return this.isComponent(this.componentType) ? `pds-${e}` : ""; 1957 } 1958 classMod(e) { 1959 return `${this.classNamespaceAndPrefix}--${e}`; 1960 } 1961 classEl(e) { 1962 return `${this.classNamespaceAndPrefix}__${e}`; 1963 } 1964 getClass() { 1965 return u(Object.keys(this.classNames).reduce((e, t) => { 1966 let n = /^is-/.test(t) ? this.getClassNamespace(t) : this.classMod(t); 1967 return { 1968 ...e, 1969 [n]: this.classNames[t] 1970 }; 1971 }, { [this.classNamespaceAndPrefix]: !0 })); 1972 } 1973 setHydrationComplete() { 1974 this.isHydrationComplete = !0; 1975 } 1976 slotEmpty(e) { 1977 return !this.hasFirstUpdatedRun || !this.querySelector(`[slot${e ? `="${e}"` : ""}]`); 1978 } 1979 slotNotEmpty(e) { 1980 return this.slotEmpty(e) ? "" : !this.slotEmpty(e); 1981 } 1982 firstUpdated() { 1983 this.hasFirstUpdatedRun = !0, typeof window < "u" && this.isConnected && requestAnimationFrame(() => { 1984 this.isConnected && this.setHydrationComplete(); 1985 }), M.isInitialized && M.changeLanguage(); 1986 } 1987 getRandomId() { 1988 return window.crypto && window.crypto.randomUUID ? window.crypto.randomUUID() : Math.random().toString(36).substring(2, 10); 1989 } 1990 initLocalization() { 1991 M.isInitialized || (M.use(st).init({ 1992 fallbackLng: "en", 1993 resources: ct, 1994 detection: { 1995 lookupLocalStorage: "pds-language", 1996 lookupQuerystring: "lang", 1997 order: [ 1998 "htmlTag", 1999 "localStorage", 2000 "querystring", 2001 "cookie", 2002 "sessionStorage", 2003 "navigator" 2004 ] 2005 } 2006 }), M.languages = ["en", "es"]); 2007 } 2008 translateText(e, t) { 2009 return !this.hasFirstUpdatedRun || !M.isInitialized ? ct.en.translation[e] : M.t(e, t); 2010 } 2011 cloneLitElement(e) { 2012 let t = e.cloneNode(!0); 2013 try { 2014 this.processProps(e, t), this.processChildPdsElements(e, t); 2015 } catch {} 2016 return t; 2017 } 2018 processProps(e, t) { 2019 let n = Object.getOwnPropertyNames(e).filter((e) => e.startsWith("__reactFiber"))[0], r = Object.getOwnPropertyDescriptors(e)[n]; 2020 if (r?.value?.return?.pendingProps) { 2021 let n = r.value.return.pendingProps, i = Object.keys(n).filter((e) => e !== "children" && e !== "suppressHydrationWarning" && !e.startsWith("_")).reduce((e, t) => ({ 2022 ...e, 2023 [t]: n[t] 2024 }), {});
2025 Object.keys(i).forEach((n) => { 2026 let r = i[n]; 2027 if (n.startsWith("onPds") && typeof r == "function") { 2028 let r = n.substring(2), i = e; 2029 t.addEventListener(r, (e) => { 2030 let t = new CustomEvent(r, { 2031 bubbles: !0, 2032 cancelable: !0, 2033 detail: e instanceof CustomEvent ? e.detail : {} 2034 }); 2035 i.dispatchEvent(t); 2036 }); 2037 } else r !== !1 && t.setAttribute(n, i[n]); 2038 }); 2039 } 2040 } 2041 getDirectPdsChildren(e) { 2042 return Array.from(e.children).filter((e) => e.tagName.toLowerCase().startsWith("pds-")); 2043 } 2044 processChildPdsElements(e, t) { 2045 let n = this.getDirectPdsChildren(e), r = this.getDirectPdsChildren(t); 2046 for (let e = 0; e < n.length; e++) { 2047 let t = n[e], i = r[e]; 2048 t && i && this.processProps(t, i); 2049 } 2050 } 2051 setWindowResizeHandler() { 2052 if (window) { 2053 let e = () => { 2054 let e = window.innerWidth; 2055 e && (e < 540 ? this.responsiveViewportSize = "xs" : e < x ? this.responsiveViewportSize = "sm" : e < 1024 ? this.responsiveViewportSize = "md" : e < ee ? this.responsiveViewportSize = "lg" : this.responsiveViewportSize = "xl"); 2056 }; 2057 e(), window.visualViewport?.addEventListener("resize", e); 2058 } 2059 } 2060 duplicateSlotMarkup(e) { 2061 let t = e.assignedNodes(); 2062 this.dynamicSlotMarkup = t.map((e) => e); 2063 } 2064 getDynamicSlotMarkup() { 2065 if (this.dynamicSlotMarkup) return this.dynamicSlotMarkup.map((e) => { 2066 if (e instanceof HTMLElement && e.tagName && e.tagName.toLowerCase().startsWith("pds-")) { 2067 let t = this.cloneLitElement(e); 2068 return t.removeAttribute("slot"), t.removeAttribute("id"), t; 2069 } else { 2070 let t = e.cloneNode(!0); 2071 return t instanceof HTMLElement && (t.removeAttribute("slot"), t.removeAttribute("id")), t; 2072 } 2073 }); 2074 } 2075 handleSlotValidation(e) { 2076 let t; 2077 if (typeof e == "string") { 2078 if (t = this.querySelector(`slot[name="${e}"]`) || this.shadowRoot?.querySelector(`slot[name="${e}"]`), t === null) return; 2079 } else if (e) t = e.target; 2080 else if (t = this.querySelector("slot") || this.shadowRoot?.querySelector("slot"), t === null) return; 2081 let n = t.getAttribute("allowed-elements")?.split(",").map((e) => e.trim().toUpperCase()); 2082 typeof n > "u" || t.assignedElements().forEach((e) => { 2083 this.validateSlottedElements(e, n) || (console.error("Invalid slotted element:", e), e.remove()); 2084 }); 2085 } 2086 validateSlottedElements(e, t) { 2087 return !!(e instanceof Element && t.find((t) => e.tagName.toUpperCase().includes(t))); 2088 } 2089}; 2090ut([o({ 2091 type: Boolean, 2092 reflect: !0 2093})], F.prototype, "isSuspended"), ut([g()], F.prototype, "isHydrationComplete"), ut([g()], F.prototype, "hasFirstUpdatedRun"), ut([g()], F.prototype, "responsiveViewportSize"), ut([g()], F.prototype, "dynamicSlotMarkup"); 2094//#endregion 2095//#region node_modules/@principal/design-system/es/index.CV0DTJB2.js 2096var I = /* @__PURE__ */ new WeakMap(), dt = /* @__PURE__ */ new WeakMap(), L = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap(), ft = /* @__PURE__ */ new WeakMap(), pt = /* @__PURE__ */ new WeakMap(), mt = /* @__PURE__ */ new WeakMap(), z = /* @__PURE__ */ new WeakMap(), ht = /* @__PURE__ */ new WeakMap(), gt = /* @__PURE__ */ new WeakMap(), _t = /* @__PURE__ */ new WeakMap(), vt = /* @__PURE__ */ new WeakMap(), yt = /* @__PURE__ */ new WeakMap(), bt = /* @__PURE__ */ new WeakMap(), xt = /* @__PURE__ */ new WeakMap(), B = (e, t, n) => { 2097 e.getAttribute(t) !== n && e.setAttribute(t, n); 2098}, St = (e, t) => { 2099 e.toggleAttribute("internals-disabled", t), t ? B(e, "aria-disabled", "true") : e.removeAttribute("aria-disabled"), e.formDisabledCallback && e.formDisabledCallback.apply(e, [t]); 2100}, Ct = (e) => { 2101 L.get(e).forEach((e) => { 2102 e.remove(); 2103 }), L.set(e, []); 2104}, wt = (e, t) => { 2105 let n = document.createElement("input"); 2106 return n.type = "hidden", n.name = e.getAttribute("name"), e.after(n), L.get(t).push(n), n; 2107}, Tt = (e, t) => { 2108 if (t.length) { 2109 let n = Array.from(t); 2110 n.forEach((t) => t.addEventListener("click", e.click.bind(e))); 2111 let [r] = n, i = r.id; 2112 r.id ||= (i = `${r.htmlFor}_Label`, i), B(e, "aria-labelledby", i); 2113 } 2114}, Et = (e) => { 2115 let t = Array.from(e.elements).filter((e) => !e.tagName.includes("-") && e.validity).map((e) => e.validity.valid), n = z.get(e) || [], r = Array.from(n).filter((e) => e.isConnected).map((e) => R.get(e).validity.valid), i = [...t, ...r].includes(!1); 2116 e.toggleAttribute("internals-invalid", i), e.toggleAttribute("internals-valid", !i); 2117}, Dt = (e) => { 2118 Et(Mt(e.target)); 2119}, Ot = (e) => { 2120 Et(Mt(e.target)); 2121}, kt = (e) => { 2122 let t = [ 2123 "button[type=submit]", 2124 "input[type=submit]", 2125 "button:not([type])" 2126 ].map((e) => `${e}:not([disabled])`).map((t) => `${t}:not([form])${e.id ? `,${t}[form='${e.id}']` : ""}`).join(","); 2127 e.addEventListener("click", (n) => { 2128 if (n.target.closest(t)) { 2129 let t = z.get(e); 2130 if (e.noValidate) return; 2131 t.size && Array.from(t).reverse().map((e) => R.get(e).reportValidity()).includes(!1) && n.preventDefault(); 2132 } 2133 }); 2134}, At = (e) => { 2135 let t = z.get(e.target); 2136 t && t.size && t.forEach((e) => { 2137 e.constructor.formAssociated && e.formResetCallback && e.formResetCallback.apply(e); 2138 }); 2139}, jt = (e, t, n) => { 2140 if (t) { 2141 let r = z.get(t); 2142 if (r) r.add(e); 2143 else { 2144 let n = /* @__PURE__ */ new Set(); 2145 n.add(e), z.set(t, n), kt(t), t.addEventListener("reset", At), t.addEventListener("input", Dt), t.addEventListener("change", Ot); 2146 } 2147 pt.set(t, { 2148 ref: e, 2149 internals: n 2150 }), e.constructor.formAssociated && e.formAssociatedCallback && setTimeout(() => { 2151 e.formAssociatedCallback.apply(e, [t]); 2152 }, 0), Et(t); 2153 } 2154}, Mt = (e) => { 2155 let t = e.parentNode; 2156 return t && t.tagName !== "FORM" && (t = Mt(t)), t; 2157}, V = (e, t, n = DOMException) => { 2158 if (!e.constructor.formAssociated) throw new n(t); 2159}, Nt = (e, t, n) => { 2160 let r = z.get(e); 2161 return r && r.size && r.forEach((e) => { 2162 R.get(e)[n]() || (t = !1); 2163 }), t; 2164}, Pt = (e) => { 2165 let t = !1; 2166 if (e.constructor.formAssociated) { 2167 let n = R.get(e); 2168 n === void 0 && (e.attachInternals(), n = R.get(e), t = !0); 2169 let { labels: r, form: i } = n; 2170 Tt(e, r), jt(e, i, n); 2171 } 2172 return t; 2173}; 2174function Ft() { 2175 return typeof MutationObserver < "u"; 2176} 2177var It = { 2178 ariaAtomic: "aria-atomic", 2179 ariaAutoComplete: "aria-autocomplete", 2180 ariaBrailleLabel: "aria-braillelabel", 2181 ariaBrailleRoleDescription: "aria-brailleroledescription", 2182 ariaBusy: "aria-busy", 2183 ariaChecked: "aria-checked", 2184 ariaColCount: "aria-colcount", 2185 ariaColIndex: "aria-colindex", 2186 ariaColIndexText: "aria-colindextext", 2187 ariaColSpan: "aria-colspan", 2188 ariaCurrent: "aria-current", 2189 ariaDescription: "aria-description", 2190 ariaDisabled: "aria-disabled", 2191 ariaExpanded: "aria-expanded", 2192 ariaHasPopup: "aria-haspopup", 2193 ariaHidden: "aria-hidden", 2194 ariaInvalid: "aria-invalid", 2195 ariaKeyShortcuts: "aria-keyshortcuts", 2196 ariaLabel: "aria-label", 2197 ariaLevel: "aria-level", 2198 ariaLive: "aria-live", 2199 ariaModal: "aria-modal", 2200 ariaMultiLine: "aria-multiline", 2201 ariaMultiSelectable: "aria-multiselectable", 2202 ariaOrientation: "aria-orientation", 2203 ariaPlaceholder: "aria-placeholder", 2204 ariaPosInSet: "aria-posinset", 2205 ariaPressed: "aria-pressed", 2206 ariaReadOnly: "aria-readonly", 2207 ariaRelevant: "aria-relevant", 2208 ariaRequired: "aria-required", 2209 ariaRoleDescription: "aria-roledescription", 2210 ariaRowCount: "aria-rowcount", 2211 ariaRowIndex: "aria-rowindex", 2212 ariaRowIndexText: "aria-rowindextext", 2213 ariaRowSpan: "aria-rowspan", 2214 ariaSelected: "aria-selected", 2215 ariaSetSize: "aria-setsize", 2216 ariaSort: "aria-sort", 2217 ariaValueMax: "aria-valuemax", 2218 ariaValueMin: "aria-valuemin", 2219 ariaValueNow: "aria-valuenow", 2220 ariaValueText: "aria-valuetext", 2221 role: "role" 2222}, Lt = (e, t) => { 2223 for (let n in It) { 2224 t[n] = null; 2225 let r = null, i = It[n]; 2226 Object.defineProperty(t, n, { 2227 get() { 2228 return r; 2229 }, 2230 set(n) { 2231 r = n, e.isConnected ? B(e, i, n) : gt.set(e, t); 2232 } 2233 }); 2234 } 2235}, Rt = (e, t) => { 2236 L.set(t, []), Ht.observe?.(e, Vt); 2237}; 2238function zt(e) { 2239 let t = R.get(e), { form: n } = t; 2240 jt(e, n, t), Tt(e, t.labels); 2241} 2242var Bt = (e, t = !1) => { 2243 let n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode(e) { 2244 return R.has(e) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP; 2245 } }), r = n.nextNode(), i = !t || e.disabled; 2246 for (; r;) r.formDisabledCallback && i && St(r, e.disabled), r = n.nextNode(); 2247}, Vt = { 2248 attributes: !0, 2249 attributeFilter: ["disabled", "name"] 2250}
2250, Ht = Ft() ? new MutationObserver((e) => { 2251 for (let t of e) { 2252 let e = t.target; 2253 if (t.attributeName === "disabled" && (e.constructor.formAssociated ? St(e, e.hasAttribute("disabled")) : e.localName === "fieldset" && Bt(e)), t.attributeName === "name" && e.constructor.formAssociated) { 2254 let t = R.get(e), n = ht.get(e); 2255 t.setFormValue(n); 2256 } 2257 } 2258}) : {}; 2259function Ut(e) { 2260 e.forEach((e) => { 2261 let { addedNodes: t, removedNodes: n } = e, r = Array.from(t), i = Array.from(n); 2262 r.forEach((e) => { 2263 if (R.has(e) && e.constructor.formAssociated && zt(e), gt.has(e)) { 2264 let t = gt.get(e); 2265 Object.keys(It).filter((e) => t[e] !== null).forEach((n) => { 2266 B(e, It[n], t[n]); 2267 }), gt.delete(e); 2268 } 2269 if (xt.has(e)) { 2270 let t = xt.get(e); 2271 B(e, "internals-valid", t.validity.valid.toString()), B(e, "internals-invalid", (!t.validity.valid).toString()), B(e, "aria-invalid", (!t.validity.valid).toString()), xt.delete(e); 2272 } 2273 if (e.localName === "form") { 2274 let t = z.get(e), n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode(e) { 2275 return R.has(e) && e.constructor.formAssociated && !(t && t.has(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP; 2276 } }), r = n.nextNode(); 2277 for (; r;) zt(r), r = n.nextNode(); 2278 } 2279 e.localName === "fieldset" && (Ht.observe?.(e, Vt), Bt(e, !0)); 2280 }), i.forEach((e) => { 2281 let t = R.get(e); 2282 t && L.get(t) && Ct(t), mt.has(e) && mt.get(e).disconnect(); 2283 }); 2284 }); 2285} 2286function Wt(e) { 2287 e.forEach((e) => { 2288 let { removedNodes: t } = e; 2289 t.forEach((t) => { 2290 let n = yt.get(e.target); 2291 R.has(t) && Pt(t), n.disconnect(); 2292 }); 2293 }); 2294} 2295var Gt = (e) => { 2296 let t = new MutationObserver(Wt); 2297 window?.ShadyDOM?.inUse && e.mode && e.host && (e = e.host), t.observe?.(e, { childList: !0 }), yt.set(e, t); 2298}; 2299Ft() && new MutationObserver(Ut); 2300var Kt = { 2301 childList: !0, 2302 subtree: !0 2303}, qt = class { 2304 constructor() { 2305 this.badInput = !1, this.customError = !1, this.patternMismatch = !1, this.rangeOverflow = !1, this.rangeUnderflow = !1, this.stepMismatch = !1, this.tooLong = !1, this.tooShort = !1, this.typeMismatch = !1, this.valid = !0, this.valueMissing = !1, Object.seal(this); 2306 } 2307}, Jt = (e) => (e.badInput = !1, e.customError = !1, e.patternMismatch = !1, e.rangeOverflow = !1, e.rangeUnderflow = !1, e.stepMismatch = !1, e.tooLong = !1, e.tooShort = !1, e.typeMismatch = !1, e.valid = !0, e.valueMissing = !1, e), Yt = (e, t, n) => (e.valid = Xt(t), Object.keys(t).forEach((n) => e[n] = t[n]), n && Et(n), e), Xt = (e) => { 2308 let t = !0; 2309 for (let n in e) n !== "valid" && e[n] !== !1 && (t = !1); 2310 return t; 2311}, Zt = /* @__PURE__ */ new WeakMap(); 2312function Qt(e, t) { 2313 e.toggleAttribute(t, !0), e.part && e.part.add(t); 2314} 2315var $t = class extends Set { 2316 static get isPolyfilled() { 2317 return !0; 2318 } 2319 constructor(e) { 2320 if (super(), !e || !e.tagName || e.tagName.indexOf("-") === -1) throw TypeError("Illegal constructor"); 2321 Zt.set(this, e); 2322 } 2323 add(e) { 2324 if (!/^--/.test(e) || typeof e != "string") throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${e} must start with '--'.`); 2325 let t = super.add(e), n = Zt.get(this), r = `state${e}`; 2326 return n.isConnected ? Qt(n, r) : setTimeout(() => { 2327 Qt(n, r); 2328 }), t; 2329 } 2330 clear() { 2331 for (let [e] of this.entries()) this.delete(e); 2332 super.clear(); 2333 } 2334 delete(e) { 2335 let t = super.delete(e), n = Zt.get(this); 2336 return n.isConnected ? (n.toggleAttribute(`state${e}`, !1), n.part && n.part.remove(`state${e}`)) : setTimeout(() => { 2337 n.toggleAttribute(`state${e}`, !1), n.part && n.part.remove(`state${e}`); 2338 }), t; 2339 } 2340}, en = function(e, t, n, r, i) { 2341 if (r === "m") throw TypeError("Private method is not writable"); 2342 if (r === "a" && !i) throw TypeError("Private accessor was defined without a setter"); 2343 if (typeof t == "function" ? e !== t || !i : !t.has(e)) throw TypeError("Cannot write private member to an object whose class did not declare it"); 2344 return r === "a" ? i.call(e, n) : i ? i.value = n : t.set(e, n), n; 2345}, tn = function(e, t, n, r) { 2346 if (n === "a" && !r) throw TypeError("Private accessor was defined without a getter"); 2347 if (typeof t == "function" ? e !== t || !r : !t.has(e)) throw TypeError("Cannot read private member from an object whose class did not declare it"); 2348 return n === "m" ? r : n === "a" ? r.call(e) : r ? r.value : t.get(e); 2349}, nn, rn = class { 2350 constructor(e) { 2351 nn.set(this, void 0), en(this, nn, e, "f"); 2352 for (let t = 0; t < e.length; t++) { 2353 let n = e[t]; 2354 this[t] = n, n.hasAttribute("name") && (this[n.getAttribute("name")] = n); 2355 } 2356 Object.freeze(this); 2357 } 2358 get length() { 2359 return tn(this, nn, "f").length; 2360 } 2361 [(nn = /* @__PURE__ */ new WeakMap(), Symbol.iterator)]() { 2362 return tn(this, nn, "f")[Symbol.iterator](); 2363 } 2364 item(e) { 2365 return this[e] == null ? null : this[e]; 2366 } 2367 namedItem(e) { 2368 return this[e] == null ? null : this[e]; 2369 } 2370}; 2371function an() { 2372 let e = HTMLFormElement.prototype.checkValidity; 2373 HTMLFormElement.prototype.checkValidity = n; 2374 let t = HTMLFormElement.prototype.reportValidity; 2375 HTMLFormElement.prototype.reportValidity = r; 2376 function n(...t) { 2377 let n = e.apply(this, t); 2378 return Nt(this, n, "checkValidity"); 2379 } 2380 function r(...e) { 2381 let n = t.apply(this, e); 2382 return Nt(this, n, "reportValidity"); 2383 } 2384 let { get: i } = Object.getOwnPropertyDescriptor(HTMLFormElement.prototype, "elements"); 2385 Object.defineProperty(HTMLFormElement.prototype, "elements", { get(...e) { 2386 let t = i.call(this, ...e), n = Array.from(z.get(this) || []); 2387 return n.length === 0 ? t : new rn(Array.from(t).concat(n).sort((e, t) => e.compareDocumentPosition ? e.compareDocumentPosition(t) & 2 ? 1 : -1 : 0)); 2388 } }); 2389} 2390var on = class { 2391 static get isPolyfilled() { 2392 return !0; 2393 } 2394 constructor(e) { 2395 if (!e || !e.tagName || e.tagName.indexOf("-") === -1) throw TypeError("Illegal constructor"); 2396 let t = e.getRootNode(), n = new qt(); 2397 this.states = new $t(e), I.set(this, e), dt.set(this, n), R.set(e, this), Lt(e, this), Rt(e, this), Object.seal(this), t instanceof DocumentFragment && Gt(t); 2398 } 2399 checkValidity() { 2400 let e = I.get(this); 2401 if (V(e, "Failed to execute 'checkValidity' on 'ElementInternals': The target element is not a form-associated custom element."), !this.willValidate) return !0; 2402 let t = dt.get(this); 2403 if (!t.valid) { 2404 let t = new Event("invalid", { 2405 bubbles: !1, 2406 cancelable: !0, 2407 composed: !1 2408 }); 2409 e.dispatchEvent(t); 2410 } 2411 return t.valid; 2412 } 2413 get form() { 2414 let e = I.get(this); 2415 V(e, "Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element."); 2416 let t; 2417 return e.constructor.formAssociated === !0 && (t = Mt(e)), t; 2418 } 2419 get labels() { 2420 let e = I.get(this); 2421 V(e, "Failed to read the 'labels' property from 'ElementInternals': The target element is not a form-associated custom element."); 2422 let t = e.getAttribute("id"), n = e.getRootNode(); 2423 return n && t ? n.querySelectorAll(`[for="${t}"]`) : []; 2424 } 2425 reportValidity() { 2426 let e = I.get(this); 2427 if (V(e, "Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."), !this.willValidate) return !0; 2428 let t = this.checkValidity(), n = vt.get(this); 2429 if (n && !e.constructor.formAssociated) throw new DOMException("Failed to execute 'reportValidity' on 'ElementInternals': The target element is not a form-associated custom element."); 2430 return !t && n && (e.focus(), n.focus()), t; 2431 } 2432 setFormValue(e) { 2433 let t = I.get(this); 2434 if (V(t, "Failed to execute 'setFormValue' on 'ElementInternals': The target element is not a form-associated custom element."), Ct(this), e != null && !(e instanceof FormData)) { 2435 if (t.getAttribute("name")) { 2436 let n = wt(t, this); 2437 n.value = e; 2438 } 2439 } else e != null && e instanceof FormData && Array.from(e).reverse().forEac
2439h(([e, n]) => { 2440 if (typeof n == "string") { 2441 let r = wt(t, this); 2442 r.name = e, r.value = n; 2443 } 2444 }); 2445 ht.set(t, e); 2446 } 2447 setValidity(e, t, n) { 2448 let r = I.get(this); 2449 if (V(r, "Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."), !e) throw TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present."); 2450 vt.set(this, n); 2451 let i = dt.get(this), a = {}; 2452 for (let t in e) a[t] = e[t]; 2453 Object.keys(a).length === 0 && Jt(i); 2454 let o = { 2455 ...i, 2456 ...a 2457 }; 2458 delete o.valid; 2459 let { valid: s } = Yt(i, o, this.form); 2460 if (!s && !t) throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true."); 2461 ft.set(this, s ? "" : t), r.isConnected ? (r.toggleAttribute("internals-invalid", !s), r.toggleAttribute("internals-valid", s), B(r, "aria-invalid", `${!s}`)) : xt.set(r, this); 2462 } 2463 get shadowRoot() { 2464 let e = I.get(this); 2465 return _t.get(e) || null; 2466 } 2467 get validationMessage() { 2468 return V(I.get(this), "Failed to read the 'validationMessage' property from 'ElementInternals': The target element is not a form-associated custom element."), ft.get(this); 2469 } 2470 get validity() { 2471 return V(I.get(this), "Failed to read the 'validity' property from 'ElementInternals': The target element is not a form-associated custom element."), dt.get(this); 2472 } 2473 get willValidate() { 2474 let e = I.get(this); 2475 return V(e, "Failed to read the 'willValidate' property from 'ElementInternals': The target element is not a form-associated custom element."), !(e.matches(":disabled") || e.disabled || e.hasAttribute("disabled") || e.hasAttribute("readonly")); 2476 } 2477}; 2478function sn() { 2479 if (typeof window > "u" || !window.ElementInternals || !HTMLElement.prototype.attachInternals) return !1; 2480 class e extends HTMLElement { 2481 constructor() { 2482 super(), this.internals = this.attachInternals(); 2483 } 2484 } 2485 let t = `element-internals-feature-detection-${Math.random().toString(36).replace(/[^a-z]+/g, "")}`; 2486 customElements.define(t, e); 2487 let n = new e(); 2488 return [ 2489 "shadowRoot", 2490 "form", 2491 "willValidate", 2492 "validity", 2493 "validationMessage", 2494 "labels", 2495 "setFormValue", 2496 "setValidity", 2497 "checkValidity", 2498 "reportValidity" 2499 ].every((e) => e in n.internals); 2500} 2501var cn = !1, ln = !1; 2502function un(e) { 2503 ln || (ln = !0, window.CustomStateSet = $t, e && (HTMLElement.prototype.attachInternals = function(...t) { 2504 let n = e.call(this, t); 2505 return n.states = new $t(this), n; 2506 })); 2507} 2508function dn(e = !0) { 2509 let t = !1; 2510 if (!cn) { 2511 if (cn = !0, typeof window < "u" && (window.ElementInternals = on), typeof CustomElementRegistry < "u") { 2512 let e = CustomElementRegistry.prototype.define; 2513 CustomElementRegistry.prototype.define = function(n, r, i) { 2514 if (r.formAssociated) { 2515 let e = r.prototype.connectedCallback; 2516 r.prototype.connectedCallback = function() { 2517 bt.has(this) || (bt.set(this, !0), this.hasAttribute("disabled") && St(this, !0)), e?.apply(this), t = Pt(this); 2518 }; 2519 } 2520 e.call(this, n, r, i); 2521 }; 2522 } 2523 if (typeof HTMLElement < "u" && (HTMLElement.prototype.attachInternals = function() { 2524 if (this.tagName) { 2525 if (this.tagName.indexOf("-") === -1) throw Error("Failed to execute 'attachInternals' on 'HTMLElement': Unable to attach ElementInternals to non-custom elements."); 2526 } else return {}; 2527 if (R.has(this) && !t) throw new DOMException("DOMException: Failed to execute 'attachInternals' on 'HTMLElement': ElementInternals for the specified element was already attached."); 2528 return new on(this); 2529 }), typeof Element < "u") { 2530 let e = function(...e) { 2531 let n = t.apply(this, e); 2532 if (_t.set(this, n), Ft()) { 2533 let e = new MutationObserver(Ut); 2534 window.ShadyDOM ? e.observe(this, Kt) : e.observe(n, Kt), mt.set(this, e); 2535 } 2536 return n; 2537 }, t = Element.prototype.attachShadow; 2538 Element.prototype.attachShadow = e; 2539 } 2540 Ft() && typeof document < "u" && new MutationObserver(Ut).observe(document.documentElement, Kt), typeof HTMLFormElement < "u" && an(), (e || typeof window < "u" && !window.CustomStateSet) && un(); 2541 } 2542} 2543customElements.polyfillWrapFlushCallback || (sn() ? typeof window < "u" && !window.CustomStateSet && un(HTMLElement.prototype.attachInternals) : dn(!1)); 2544//#endregion 2545//#region node_modules/@principal/design-system/es/ResizeObserver.DiSiNbbT.
2545js 2546var H = [], fn = function() { 2547 return H.some(function(e) { 2548 return e.activeTargets.length > 0; 2549 }); 2550}, pn = function() { 2551 return H.some(function(e) { 2552 return e.skippedTargets.length > 0; 2553 }); 2554}, mn = "ResizeObserver loop completed with undelivered notifications.", hn = function() { 2555 var e; 2556 typeof ErrorEvent == "function" ? e = new ErrorEvent("error", { message: mn }) : (e = document.createEvent("Event"), e.initEvent("error", !1, !1), e.message = mn), window.dispatchEvent(e); 2557}, gn; 2558(function(e) { 2559 e.BORDER_BOX = "border-box", e.CONTENT_BOX = "content-box", e.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box"; 2560})(gn ||= {}); 2561var U = function(e) { 2562 return Object.freeze(e); 2563}, _n = /* @__PURE__ */ (function() { 2564 function e(e, t) { 2565 this.inlineSize = e, this.blockSize = t, U(this); 2566 } 2567 return e; 2568})(), vn = (function() { 2569 function e(e, t, n, r) { 2570 return this.x = e, this.y = t, this.width = n, this.height = r, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, U(this); 2571 } 2572 return e.prototype.toJSON = function() { 2573 var e = this; 2574 return { 2575 x: e.x, 2576 y: e.y, 2577 top: e.top, 2578 right: e.right, 2579 bottom: e.bottom, 2580 left: e.left, 2581 width: e.width, 2582 height: e.height 2583 }; 2584 }, e.fromRect = function(t) { 2585 return new e(t.x, t.y, t.width, t.height); 2586 }, e; 2587})(), yn = function(e) { 2588 return e instanceof SVGElement && "getBBox" in e; 2589}, bn = function(e) { 2590 if (yn(e)) { 2591 var t = e.getBBox(), n = t.width, r = t.height; 2592 return !n && !r; 2593 } 2594 var i = e, a = i.offsetWidth, o = i.offsetHeight; 2595 return !(a || o || e.getClientRects().length); 2596}, xn = function(e) { 2597 if (e instanceof Element) return !0; 2598 var t = e?.ownerDocument?.defaultView; 2599 return !!(t && e instanceof t.Element); 2600}, Sn = function(e) { 2601 switch (e.tagName) { 2602 case "INPUT": if (e.type !== "image") break; 2603 case "VIDEO": 2604 case "AUDIO": 2605 case "EMBED": 2606 case "OBJECT": 2607 case "CANVAS": 2608 case "IFRAME": 2609 case "IMG": return !0; 2610 } 2611 return !1; 2612}, Cn = typeof window < "u" ? window : {}, wn = /* @__PURE__ */ new WeakMap(), Tn = /auto|scroll/, En = /^tb|vertical/, Dn = /msie|trident/i.test(Cn.navigator && Cn.navigator.userAgent), W = function(e) { 2613 return parseFloat(e || "0"); 2614}, G = function(e, t, n) { 2615 return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new _n((n ? t : e) || 0, (n ? e : t) || 0); 2616}, On = U({ 2617 devicePixelContentBoxSize: G(), 2618 borderBoxSize: G(), 2619 contentBoxSize: G(), 2620 contentRect: new vn(0, 0, 0, 0) 2621}), kn = function(e, t) { 2622 if (t === void 0 && (t = !1), wn.has(e) && !t) return wn.get(e); 2623 if (bn(e)) return wn.set(e, On), On; 2624 var n = getComputedStyle(e), r = yn(e) && e.ownerSVGElement && e.getBBox(), i = !Dn && n.boxSizing === "border-box", a = En.test(n.writingMode || ""), o = !r && Tn.test(n.overflowY || ""), s = !r && Tn.test(n.overflowX || ""), c = r ? 0 : W(n.paddingTop), l = r ? 0 : W(n.paddingRight), u = r ? 0 : W(n.paddingBottom), d = r ? 0 : W(n.paddingLeft), f = r ? 0 : W(n.borderTopWidth), p = r ? 0 : W(n.borderRightWidth), m = r ? 0 : W(n.borderBottomWidth), h = r ? 0 : W(n.borderLeftWidth), g = d + l, _ = c + u, v = h + p, y = f + m, b = s ? e.offsetHeight - y - e.clientHeight : 0, x = o ? e.offsetWidth - v - e.clientWidth : 0, ee = i ? g + v : 0, S = i ? _ + y : 0, C = r ? r.width : W(n.width) - ee - x, w = r ? r.height : W(n.height) - S - b, T = C + g + x + v, E = w + _ + b + y, D = U({ 2625 devicePixelContentBoxSize: G(Math.round(C * devicePixelRatio), Math.round(w * devicePixelRatio), a), 2626 borderBoxSize: G(T, E, a), 2627 contentBoxSize: G(C, w, a), 2628 contentRect: new vn(d, c, C, w) 2629 }); 2630 return wn.set(e, D), D; 2631}, An = function(e, t, n) { 2632 var r = kn(e, n), i = r.borderBoxSize, a = r.contentBoxSize, o = r.devicePixelContentBoxSize; 2633 switch (t) { 2634 case gn.DEVICE_PIXEL_CONTENT_BOX: return o; 2635 case gn.BORDER_BOX: return i; 2636 default: return a; 2637 } 2638}, jn = /* @__PURE__ */ (function() { 2639 function e(e) { 2640 var t = kn(e); 2641 this.target = e, this.contentRect = t.contentRect, this.borderBoxSize = U([t.borderBoxSize]), this.contentBoxSize = U([t.contentBoxSize]), this.devicePixelContentBoxSize = U([t.devicePixelContentBoxSize]); 2642 } 2643 return e; 2644})(), Mn = function(e) { 2645 if (bn(e)) return Infinity; 2646 for (var t = 0, n = e.parentNode; n;) t += 1, n = n.parentNode; 2647 return t; 2648}, Nn = function() { 2649 var e = Infinity, t = []; 2650 H.forEach(function(n) { 2651 if (n.activeTargets.length !== 0) { 2652 var r = [];
2653 n.activeTargets.forEach(function(t) { 2654 var n = new jn(t.target), i = Mn(t.target); 2655 r.push(n), t.lastReportedSize = An(t.target, t.observedBox), i < e && (e = i); 2656 }), t.push(function() { 2657 n.callback.call(n.observer, r, n.observer); 2658 }), n.activeTargets.splice(0, n.activeTargets.length); 2659 } 2660 }); 2661 for (var n = 0, r = t; n < r.length; n++) { 2662 var i = r[n]; 2663 i(); 2664 } 2665 return e; 2666}, Pn = function(e) { 2667 H.forEach(function(t) { 2668 t.activeTargets.splice(0, t.activeTargets.length), t.skippedTargets.splice(0, t.skippedTargets.length), t.observationTargets.forEach(function(n) { 2669 n.isActive() && (Mn(n.target) > e ? t.activeTargets.push(n) : t.skippedTargets.push(n)); 2670 }); 2671 }); 2672}, Fn = function() { 2673 var e = 0; 2674 for (Pn(e); fn();) e = Nn(), Pn(e); 2675 return pn() && hn(), e > 0; 2676}, In, Ln = [], Rn = function() { 2677 return Ln.splice(0).forEach(function(e) { 2678 return e(); 2679 }); 2680}, zn = function(e) { 2681 if (!In) { 2682 var t = 0, n = document.createTextNode(""); 2683 new MutationObserver(function() { 2684 return Rn(); 2685 }).observe(n, { characterData: !0 }), In = function() { 2686 n.textContent = `${t ? t-- : t++}`; 2687 }; 2688 } 2689 Ln.push(e), In(); 2690}, Bn = function(e) { 2691 zn(function() { 2692 requestAnimationFrame(e); 2693 }); 2694}, Vn = 0, Hn = function() { 2695 return !!Vn; 2696}, Un = 250, Wn = { 2697 attributes: !0, 2698 characterData: !0, 2699 childList: !0, 2700 subtree: !0 2701}, Gn = [ 2702 "resize", 2703 "load", 2704 "transitionend", 2705 "animationend", 2706 "animationstart", 2707 "animationiteration", 2708 "keyup", 2709 "keydown", 2710 "mouseup", 2711 "mousedown", 2712 "mouseover", 2713 "mouseout", 2714 "blur", 2715 "focus" 2716], Kn = function(e) { 2717 return e === void 0 && (e = 0), Date.now() + e; 2718}, qn = !1, Jn = new ((function() { 2719 function e() { 2720 var e = this; 2721 this.stopped = !0, this.listener = function() { 2722 return e.schedule(); 2723 }; 2724 } 2725 return e.prototype.run = function(e) { 2726 var t = this; 2727 if (e === void 0 && (e = Un), !qn) { 2728 qn = !0; 2729 var n = Kn(e); 2730 Bn(function() { 2731 var r = !1;
2732 try { 2733 r = Fn(); 2734 } finally { 2735 if (qn = !1, e = n - Kn(), !Hn()) return; 2736 r ? t.run(1e3) : e > 0 ? t.run(e) : t.start(); 2737 } 2738 }); 2739 } 2740 }, e.prototype.schedule = function() { 2741 this.stop(), this.run(); 2742 }, e.prototype.observe = function() { 2743 var e = this, t = function() { 2744 return e.observer && e.observer.observe(document.body, Wn); 2745 }; 2746 document.body ? t() : Cn.addEventListener("DOMContentLoaded", t); 2747 }, e.prototype.start = function() { 2748 var e = this; 2749 this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), Gn.forEach(function(t) { 2750 return Cn.addEventListener(t, e.listener, !0); 2751 })); 2752 }, e.prototype.stop = function() { 2753 var e = this; 2754 this.stopped ||= (this.observer && this.observer.disconnect(), Gn.forEach(function(t) { 2755 return Cn.removeEventListener(t, e.listener, !0); 2756 }), !0); 2757 }, e; 2758})())(), Yn = function(e) { 2759 !Vn && e > 0 && Jn.start(), Vn += e, !Vn && Jn.stop(); 2760}, Xn = function(e) { 2761 return !yn(e) && !Sn(e) && getComputedStyle(e).display === "inline"; 2762}, Zn = (function() { 2763 function e(e, t) { 2764 this.target = e, this.observedBox = t || gn.CONTENT_BOX, this.lastReportedSize = { 2765 inlineSize: 0, 2766 blockSize: 0 2767 }; 2768 } 2769 return e.prototype.isActive = function() { 2770 var e = An(this.target, this.observedBox, !0); 2771 return Xn(this.target) && (this.lastReportedSize = e), this.lastReportedSize.inlineSize !== e.inlineSize || this.lastReportedSize.blockSize !== e.blockSize; 2772 }, e; 2773})(), Qn = /* @__PURE__ */ (function() { 2774 function e(e, t) { 2775 this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = e, this.callback = t; 2776 } 2777 return e; 2778})(), $n = /* @__PURE__ */ new WeakMap(), er = function(e, t) { 2779 for (var n = 0; n < e.length; n += 1) if (e[n].target === t) return n; 2780 return -1; 2781}, tr = (function() { 2782 function e() {} 2783 return e.connect = function(e, t) { 2784 var n = new Qn(e, t); 2785 $n.set(e, n); 2786 }, e.observe = function(e, t, n) { 2787 var r = $n.get(e), i = r.observationTargets.length === 0; 2788 er(r.observationTargets, t) < 0 && (i && H.push(r), r.observationTargets.push(new Zn(t, n && n.box)), Yn(1), Jn.schedule()); 2789 }, e.unobserve = function(e, t) { 2790 var n = $n.get(e), r = er(n.observationTargets, t), i = n.observationTargets.length === 1; 2791 r >= 0 && (i && H.splice(H.indexOf(n), 1), n.observationTargets.splice(r, 1), Yn(-1)); 2792 }, e.disconnect = function(e) { 2793 var t = this, n = $n.get(e); 2794 n.observationTargets.slice().forEach(function(n) { 2795 return t.unobserve(e, n.target); 2796 }), n.activeTargets.splice(0, n.activeTargets.length); 2797 }, e; 2798})(), nr = (function() { 2799 function e(e) { 2800 if (arguments.length === 0) throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present."); 2801 if (typeof e != "function") throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function."); 2802 tr.connect(this, e); 2803 } 2804 return e.prototype.observe = function(e, t) { 2805 if (arguments.length === 0) throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present."); 2806 if (!xn(e)) throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element"); 2807 tr.observe(this, e, t); 2808 }, e.prototype.unobserve = function(e) { 2809 if (arguments.length === 0) throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present."); 2810 if (!xn(e)) throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element"); 2811 tr.unobserve(this, e); 2812 }, e.prototype.disconnect = function() { 2813 tr.disconnect(this); 2814 }, e.toString = function() { 2815 return "function ResizeObserver () { [polyfill code] }"; 2816 }, e; 2817})(); 2818//#endregion 2819//#region node_modules/@principal/design-system/es/PdsIcon.CbD8EkXp.js 2820function K(e) { 2821 return function(t) { 2822 customElements.get(e) === void 0 && s(e)(t); 2823 }; 2824} 2825var rr = Object.defineProperty, ir = (e, t, n, r) => { 2826 for (var i = void 0, a = e.length - 1, o; a >= 0; a--) (o = e[a]) && (i = o(t, n, i) || i); 2827 return i && rr(t, n, i), i; 2828}, ar = [ 2829 "icon-default", 2830 "inverted-default", 2831 "disabled", 2832 "info", 2833 "inverted-info", 2834 "strong", 2835 "success", 2836 "inverted-success", 2837 "warning", 2838 "error", 2839 "inverted-error", 2840 "interactive-default", 2841 "interactive-strong",
2842 "interactive-xstrong", 2843 "interactive-inverted-strong", 2844 "interactive-inverted-xstrong" 2845], or, sr = (or = class extends m { 2846 constructor() { 2847 super(...arguments), this.size = "default", this.color = "icon-default", this.currentSafariStrokeLevel = null, this.resizeThrottleTimeout = null, this.resizeObserver = new or.ResizeObserver(() => { 2848 this.resizeThrottleTimeout === null && (this.resizeThrottleTimeout = window.setTimeout(() => { 2849 this.handleResizeCallback(), this.resizeThrottleTimeout = null; 2850 }, 50)); 2851 }); 2852 } 2853 getSize(e) { 2854 switch (e) { 2855 case "xs": return 12; 2856 case "sm": return 16; 2857 case "lg": return 24; 2858 case "xl": return 32; 2859 case "xxl": return 40; 2860 default: return 20; 2861 } 2862 } 2863 handleResizeCallback() { 2864 let e = this.getSafariStrokeWidth(), t = document.documentElement.scrollHeight, n = !1; 2865 e !== this.currentSafariStrokeLevel && (this.currentSafariStrokeLevel = e, n = !0), t !== this.lastScrollHeight && (this.lastScrollHeight = t, n = !0), n && this.setIconAttributes(); 2866 } 2867 firstUpdated() { 2868 navigator && navigator.userAgent && (this.isSafari = /safari/i.test(navigator.userAgent) && !/chrome|chromium|crios|fxios|edg|opera|opr/i.test(navigator.userAgent)), this.isSafari && (this.currentSafariStrokeLevel = this.getSafariStrokeWidth(), this.lastScrollHeight = document.documentElement.scrollHeight, this.resizeObserver.observe(document.documentElement)); 2869 } 2870 disconnectedCallback() { 2871 super.disconnectedCallback(), this.resizeThrottleTimeout !== null && (window.clearTimeout(this.resizeThrottleTimeout), this.resizeThrottleTimeout = null), this.resizeObserver && this.resizeObserver.disconnect(); 2872 } 2873 updated(e) { 2874 let t = Object.fromEntries(e); 2875 (t.size || t.color) && this.setIconAttributes(); 2876 } 2877 getSafariStrokeWidth() { 2878 let e = [ 2879 { 2880 range: [0, 50], 2881 strokeWidth: 4 2882 }, 2883 { 2884 range: [51, 75], 2885 strokeWidth: 2.5 2886 }, 2887 { 2888 range: [76, 85], 2889 strokeWidth: 2.25 2890 }, 2891 { 2892 range: [86, 100], 2893 strokeWidth: 2 2894 }, 2895 { 2896 range: [101, 115], 2897 strokeWidth: 1.6 2898 }, 2899 { 2900 range: [116, 125], 2901 strokeWidth: 1.5 2902 }, 2903 { 2904 range: [126, 150], 2905 strokeWidth: 1.3 2906 }, 2907 { 2908 range: [151, 175], 2909 strokeWidth: 1.1 2910 }, 2911 { 2912 range: [176, 200], 2913 strokeWidth: .9 2914 }, 2915 { 2916 range: [201, 250], 2917 strokeWidth: .8 2918 }, 2919 { 2920 range: [251, Infinity], 2921 strokeWidth: .7 2922 } 2923 ]; 2924 if (this.isSafari && window.outerWidth && window.innerWidth) { 2925 let t = Math.round(window.outerWidth / window.innerWidth * 100); 2926 for (let { range: n, strokeWidth: r } of e) if (t >= n[0] && t <= n[1]) return r; 2927 } 2928 return 2; 2929 } 2930 setIconAttributes() { 2931 let e = this.icon.replace(/ width="\d*"/, ` width="${this.getSize(this.size).toString()}"`).replace(/ height="\d*"/, ` height="${this.getSize(this.size).toString()}"`).replace(/>/, "display=\"block\"\naria-hidden=\"true\"\n>"); 2932 return e = ar.includes(this.color) ? e.replace(/ stroke=".*?"/g, `stroke="currentColor" style="stroke: var(--pds-icon-color-override, var(--pds-semantic-border-${this.color}))"`) : e.replace(/ stroke=".*?"/g, "stroke=\"currentColor\" style=\"stroke: var(--pds-icon-color-override, var(--pds-semantic-border-icon-default))\""), this.isSafari && typeof this.currentSafariStrokeLevel == "number" && (e = e.replace(/ stroke-width=".*?"/g, `stroke-width="${this.currentSafariStrokeLevel}"`)), e; 2933 } 2934}, or.ResizeObserver = window && window.ResizeObserver ? window.ResizeObserver : nr, or); 2935ir([o()], sr.prototype, "size"), ir([o()], sr.prototype, "color"), ir([g()], sr.prototype, "icon"), ir([g()], sr.prototype, "currentSafariStrokeLevel"); 2936var q = sr, cr = "\n<svg\n class=\"lucide lucide-loader\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n>\n <path d=\"M12 2v4\" />\n <path d=\"m16.2 7.8 2.9-2.9\" />\n <path d=\"M18 12h4\" />\n <path d=\"m16.2 16.2 2.9 2.9\" />\n <path d=\"M12 18v4\" />\n <path d=\"m4.9 19.1 2.9-2.9\" />\n <path d=\"M2 12h4\" />\n <path d=\"m4.9 4.9 2.9 2.9\" />\n</svg>\n", lr = Object.defineProperty, ur = Object.getOwnPropertyDescriptor, dr = (e, t, n, r) => { 2937 for (var i = r > 1 ? void 0 : r ? ur(t, n) : t, a = e.length - 1, o; a >= 0; a--) (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i); 2938 return r && i && lr(t, n, i), i; 2939}, fr = class extends q { 2940 constructor() { 2941 super(...arguments), this.icon = cr; 2942 } 2943 render() { 2944 return l`${p(this.setIconAttributes())}`; 2945 } 2946}; 2947dr([g()], fr.prototype, "icon", 2), fr = dr([K("pds-icon-loader")], fr); 2948//#endregion 2949//#region node_modules/@principal/design-system/es/v4.BysszJq8.js 2950var J = []; 2951for (let e = 0; e < 256; ++e) J.push((e + 256).toString(16).slice(1)); 2952function pr(e, t = 0) { 2953 return (J[e[t + 0]] + J[e[t + 1]] + J[e[t + 2]] + J[e[t + 3]] + "-" + J[e[t + 4]] + J[e[t + 5]] + "-" + J[e[t + 6]] + J[e[t + 7]] + "-" + J[e[t + 8]] + J[e[t + 9]] + "-" + J[e[t + 10]] + J[e[t + 11]] + J[e[t + 12]] + J[e[t + 13]] + J[e[t + 14]] + J[e[t + 15]]).toLowerCase(); 2954} 2955var mr, hr = /* @__PURE__ */ new Uint8Array(16); 2956function gr() { 2957 if (!mr) { 2958 if (typeof crypto > "u" || !crypto.getRandomValues) throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported"); 2959 mr = crypto.getRandomValues.bind(crypto); 2960 } 2961 return mr(hr); 2962} 2963var _r = { randomUUID: typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto) }; 2964function vr(e, t, n) { 2965 e ||= {}; 2966 let r = e.random ?? e.rng?.() ?? gr(); 2967 if (r.length < 16) throw Error("Random bytes length must be >= 16"); 2968 return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, pr(r); 2969} 2970function yr(e, t, n) { 2971 return _r.randomUUID && !e ? _r.randomUUID() : vr(e); 2972} 2973//#endregion
2974//#region node_modules/@principal/design-system/es/get-aria-described-by-element-ids.1tTKPo3w.js 2975var br = (e) => { 2976 let { ariaDescribedby: t, ariaDescribedbyIds: n } = e, r = ""; 2977 return n && (t ? t.split(/\s+/) : n.split(/\s+/)).forEach((t) => { 2978 let n = document.getElementById(t); 2979 if (n) { 2980 let i = `${t}-${yr()}`, a = n.textContent, o = document.createElement("span"); 2981 o.id = i, o.hidden = !0, o.textContent = a, e.shadowRoot.appendChild(o), r += `${i} `; 2982 } 2983 }), r.trim(); 2984}, xr = (e) => { 2985 let t = br(e); 2986 return e.target === "_blank" ? t.concat(" hyperlink-sr-label") : e.disabledContext && e.ariaDescribedbyIds ? t.concat(" disabled-context") : e.disabledContext ? "disabled-context" : t; 2987}, Sr = (e, t) => { 2988 let n = e.type.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), r = new CustomEvent(n, { 2989 bubbles: !0, 2990 composed: !0, 2991 cancelable: !0, 2992 detail: e?.detail 2993 }); 2994 t.dispatchEvent(e), t.dispatchEvent(r); 2995}, Cr = "\n<svg\n class=\"lucide lucide-circle-alert\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n>\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <line x1=\"12\" x2=\"12\" y1=\"8\" y2=\"12\" />\n <line x1=\"12\" x2=\"12.01\" y1=\"16\" y2=\"16\" />\n</svg>\n", wr = Object.defineProperty, Tr = Object.getOwnPropertyDescriptor, Er = (e, t, n, r) => { 2996 for (var i = r > 1 ? void 0 : r ? Tr(t, n) : t, a = e.length - 1, o; a >= 0; a--) (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i); 2997 return r && i && wr(t, n, i), i; 2998}, Dr = class extends q { 2999 constructor() { 3000 super(...arguments), this.icon = Cr; 3001 } 3002 render() { 3003 return l`${p(this.setIconAttributes())}`; 3004 } 3005}; 3006Er([g()], Dr.prototype, "icon", 2), Dr = Er([K("pds-icon-alert-circle")], Dr); 3007//#endregion 3008//#region node_modules/@principal/design-system/es/pds-debug-mode-error-message.Ce6plIld.js 3009var Or = c` 3010 .pds-c-debug-error-card { 3011 border: 1px solid var(--pds-semantic-border-error); 3012 border-radius: 8px; 3013 height: 100%; 3014 border-left: 8px solid var(--pds-semantic-border-error); 3015 padding: 16px; 3016 background: var(--pds-semantic-background-default); 3017 } 3018 3019 .pds-c-debug-error-body { 3020 display: flex; 3021 padding: 0; 3022 } 3023 3024 .pds-c-debug-error-icon { 3025 display: flex; 3026 align-items: center; 3027 } 3028 3029 .pds-c-debug-error-content { 3030 color: var(--pds-semantic-text-default); 3031 font-family: var(--pds-semantic-type-body-default-font-family); 3032 margin-left: 32px; 3033 } 3034 3035 .pds-c-debug-error-content strong { 3036 font-family: var(--pds-semantic-type-body-bold-default-font-family); 3037 } 3038`, kr = (e, t) => { 3039 let n = Array.isArray(t) ? t : [t], r = l` 3040 <style> 3041 ${Or} 3042 </style> 3043 <div class="pds-c-debug-error-card"> 3044 <div class="pds-c-debug-error-body"> 3045 <div class="pds-c-debug-error-icon"> 3046 <pds-icon-alert-circle size="lg"></pds-icon-alert-circle> 3047 </div> 3048 <div class="pds-c-debug-error-content"> 3049 <strong>Error:</strong> 3050 The <em>${e}</em> component is missing required attributes 3051 or has an invalid configuration. <br /><br /> 3052 <strong>Details:</strong> 3053 ${n.length > 0 ? l`<ul role="list"> 3054 ${n.map((e) => l`<li role="listitem">${e}</li>`)} 3055 </ul>` : ""} 3056 </div> 3057 </div> 3058 </div> 3059 `; 3060 return typeof process < "u" && process.env && (process.env.NODE_ENV !== "production" && process.env.NEXT_PUBLIC_PDS_DEBUG_MODE === "verbose" || process.env.PDS_DEBUG_MODE === "verbose") ? r : f; 3061}, Ar = "*,::slotted(*),*:before,*:after{box-sizing:border-box}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.pds-u-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.pds-u-focus-visible-only:focus:not(:focus-visible){outline:none!important}.pds-c-button:not(.pds-c-button--link){font-weight:var(--pds-semantic-type-label-default-font-weight);font-size:var(--pds-semantic-type-label-default-font-size);line-height:var(--pds-semantic-type-label-default-line-height);font-family:var(--pds-semantic-type-label-default-font-family);letter-spacing:var(--pds-semantic-type-label-default-letter-spacing);text-transform:var(--pds-semantic-type-label-default-text-transform);padding:calc(var(--pds-base-unit) * 1.125) calc(var(--pds-base-unit) * 4);display:inline-flex;align-items:center;white-space:normal;border-radius:calc(var(--pds-base-unit) * 3.5);cursor:pointer;-webkit-user-select:none;user-select:none;text-align:center;transition:color .1s cubic-bezier(.4,0,.2,1),background-color .1s cubic-bezier(.4,0,.2,1),border-color .1s cubic-bezier(.4,0,.2,1)}@media(hover:hover)and (pointer:fine){.pds-c-button:not(.pds-c-button--link):hover:not([aria-disabled]),.pds-c-button:not(.pds-c-button--link).pds-hover:not([aria-disabled]){text-decoration:none;cursor:pointer}}.pds-c-button:not(.pds-c-button--link):active{outline:none;cursor:pointer}.pds-c-button:not(.pds-c-button--link)[aria-disabled]{--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-disabled-background);border-color:var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text);cursor:not-allowed}.pds-c-button:not(.pds-c-button--link),.pds-c-button:not(.pds-c-button--link):active:not([aria-disabled]),.pds-c-button:not(.pds-c-button--link):focus:not([aria-disabled]){text-decoration:none;cursor:pointer}.pds-c-button--sm:not(.pds-c-button--link){font-weight:var(--pds-semantic-type-label-sm-font-we
3061ight);font-size:var(--pds-semantic-type-label-sm-font-size);line-height:var(--pds-semantic-type-label-sm-line-height);font-family:var(--pds-semantic-type-label-sm-font-family);letter-spacing:var(--pds-semantic-type-label-sm-letter-spacing);text-transform:var(--pds-semantic-type-label-sm-text-transform);padding:calc(var(--pds-base-unit) * .375) calc(var(--pds-base-unit) * 2)}.pds-c-button--primary:not(.pds-c-button--link){--pds-icon-color-override: var(--pds-component-button-primary-text);background-color:var(--pds-component-button-primary-background);color:var(--pds-component-button-primary-text);border:1px solid var(--pds-component-button-primary-border)}@media(hover:hover)and (pointer:fine){.pds-c-button--primary:not(.pds-c-button--link):hover:not([aria-disabled]),.pds-c-button--primary:not(.pds-c-button--link).pds-hover:not([aria-disabled]){--pds-icon-color-override: var(--pds-component-button-primary-hover-text);color:var(--pds-component-button-primary-hover-text);background-color:var(--pds-component-button-primary-hover-background);border-color:var(--pds-component-button-primary-hover-border)}}.pds-c-button--primary:not(.pds-c-button--link):active:not([aria-disabled]){--pds-icon-color-override: var(--pds-component-button-primary-active-text);color:var(--pds-component-button-primary-active-text);background-color:var(--pds-component-button-primary-active-background);outline:none;border-color:var(--pds-component-button-primary-active-border)}.pds-c-button--primary:not(.pds-c-button--link):focus{outline:none}.pds-c-button--primary:not(.pds-c-button--link):focus-visible{--pds-icon-color-override: var(--pds-component-button-primary-text);color:var(--pds-component-button-primary-text);outline:none;position:relative}.pds-c-button--primary:not(.pds-c-button--link):focus-visible:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-default)}.pds-c-button--primary-inverted:not(.pds-c-button--link){--pds-icon-color-override: var(--pds-component-button-primary-inverted-text);background-color:var(--pds-component-button-primary-inverted-background);color:var(--pds-component-button-primary-inverted-text);border:1px solid var(--pds-component-button-primary-inverted-border)}@media(hover:hover)and (pointer:fine){.pds-c-button--primary-inverted:not(.pds-c-button--link):hover:not([aria-disabled]),.pds-c-button--primary-inverted:not(.pds-c-button--link).pds-hover:not([aria-disabled]){--pds-icon-color-override: var( --pds-component-button-primary-inverted-hover-text );background-color:var(--pds-component-button-primary-inverted-hover-background);color:var(--pds-component-button-primary-inverted-hover-text);border-color:var(--pds-component-button-primary-inverted-hover-border)}}.pds-c-button--primary-inverted:not(.pds-c-button--link):active:not([aria-disabled]){--pds-icon-color-override: var( --pds-component-button-primary-inverted-active-text );background-color:var(--pds-component-button-primary-inverted-active-background);color:var(--pds-component-button-primary-inverted-active-text);border-color:var(--pds-component-button-primary-inverted-active-border)}.pds-c-button--primary-inverted:not(.pds-c-button--link):focus{outline:none}.pds-c-button--primary-inverted:not(.pds-c-button--link):focus-visible:not([aria-disabled]){--pds-icon-color-override: var(--pds-component-button-primary-inverted-text);color:var(--pds-component-button-primary-inverted-text);outline:none;position:relative}.pds-c-button--primary-inverted:not(.pds-c-button--link):focus-visible:not([aria-disabled]):before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-component-button-default-inverted-active-border)}.pds-c-button--primary-inverted:not(.pds-c-button--link):focus-visible[aria-disabled]{--pds-icon-color-override: var(--pds-component-button-primary-text);color:var(--pds-component-button-primary-text);outline:none;position:relative}.pds-c-button--primary-inverted:not(.pds-c-button--link):focus-visible[aria-disabled]:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-default)}.pds-c-button--primary-inverted:not(.pds-c-button--link)[aria-disabled]{--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-disabled-background);border-color:var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text);cursor:not-allowed}.pds-c-button--primary.pds-c-button--inverted:not(.pds-c-button--link){--pds-icon-color-override: var(--pds-component-button-primary-inverted-text);background-color:var(--pds-component-button-primary-inverted-background);color:var(--pds-component-button-primary-inverted-text);border:1px solid var(--pds-component-button-primary-inverted-border)}@media(hover:hover)and (pointer:fine){.pds-c-button--primary.pds-c-button--inverted:not(.pds-c-button--link):hover:not([aria-disabled]),.pds-c-button--primary.pds-c-button--inverted:not(.pds-c-button--link).pds-hover:not([aria-disabled]){--pds-icon-color-override: var( --pds-component-button-primary-inverted-hover-text );background-color:var(--pds-component-button-primary-inverted-hover-background);color:var(--pds-component-button-primary-inverted-hover-text);border-color:var(--pds-component-button-primary-inverted-hover-border)}}.pds-c-button--primary.pds-c-button--inverted:not(.pds-c-button--link):active:not([aria-disabled]){--pds-icon-color-override: var( --pds-component-button-primary-inverted-active-text );background-color:var(--pds-component-button-primary-inverted-active-background);color:var(--pds-component-button-primary-inverted-active-text);border-color:var(--pds-component-button-primary-inverted-active-border)}.pds-c-button--primary.pds-c-button--inverted:not(.pds-c-button--link):focus{outline:none}.pds-c-button--primary.pds-c-button--inverted:not(.pds-c-button--link):focus-visible:not([aria-disabled]){--pds-icon-color-override: var(--pds-component-button-primary-inverted-text);color:var(--pds-component-button-primary-inverted-text);outline:none;position:relative}.pds-c-button--primary.pds-c-button--inverted:not(.pds-c-button--link):focus-visible:not([aria-disabled]):before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-component-button-default-inverted-active-border)}.pds-c-button--primary.pds-c-button--inverted:not(.pds-c-button--link):focus-visible[aria-disabled]{--pds-icon-color-override: var(--pds-component-button-primary-text);color:var(--pds-component-button-primary-text);outline:none;position:relative}.pds-c-button--primary.pds-c-button--inverted:not(.pds-c-button--link):focus-visible[aria-disabled]:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-default)}.pds-c-button--primary.pds-c-button--inverted:not(.pds-c-button--link)[aria-disabled]{--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-disabled-background);border-color:var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text);cursor:not-allowed}.pds-c-button--default:not(.pds-c-button--link){--pds-icon-color-override: var(--pds-component-button-default-text);background-color:var(--pds-component-button-default-background);color:var(--pds-component-button-default-text);border:1px solid var(--pds-component-button-default-border)}@media(hover:hover)and (pointer:fine){.pds-c-button--default:not(.pds-c-button--link):hover:not([aria-disabled]),.pds-c-button--default:not(.pds-c-button--link).pds-hover:not([aria-disabled]){--pds-icon-color-override: var(--pds-component-button-default-hover-text);border-color:var(--pds-component-button-default-hover-border);background-color:var(--pds-component-button-default-hover-background);color:var(--pds-component-button-default-hover-text)}}.pds-c-button--default:not(.pds-c-button--link):active:not([aria-disabled]){--pds-icon-color-override: var(--pds-component-button-default-active-text);border-color:var(--pds-component-button-default-active-border);background-color:var(--pds-component-button-default-active-background);color:var(--pds-component-button-default-active-text)}.pds-c-button--default:not(.pds-c-button--link):focus{outline:none}.pds-c-button--default:not(.pds-c-button--link):focus-visible{outline:none;position:relative}.pds-c-button--default:not(.pds-c-button--link):focus-visible:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-default)}.pds-c-button--default-inverted:not(.pds-c-button--link){--pds-icon-color-override: var(--pds-component-button-default-inverted-text);background-color:var(--pds-component-button-default-inverted-background);color:var(--pds-component-button-default-inverted-text);border:1px solid var(--pds-component-button-default-inverted-border)}@media(hover:hover)and (pointer:fine){.pds-c-button--default-inverted:not(.pds-c-button--link):hover:not([aria-disabled]),.pds-c-button--default-inverted:not(.pds-c-button--link).pds-hover:not([aria-disabled]){--pds-icon-color-override: var( --pds-component-button-default-inverted-hover-text );color:var(--pds-component-button-default-inverted-hover-text);border-color:var(--pds-component-button-default-inverted-hover-border);background:var(--pds-component-button-default-inverted-hover-background)}}.pds-c-button--default-inverted:not(.pds-c-button--link):active:not([aria-disabled]){--pds-icon-color-override: var( --pds-component-button-default-inverted-active-text );color:var(--pds-component-button-default-inverted-active-text);border-color:var(--pds-component-button-default-inverted-active-border);outline:none;background:var(--pds-component-button-default-inverted-active-background)}.pds-c-button--default-inverted:not(.pds-c-button--link):focus{outline:none}.pds-c-button--default-inverted:not(.pds-c-button--link):focus-visible:not([aria-disabled]){--pds-icon-color-override: var(--pds-component-button-default-inverted-text);color:var(--pds-component-button-default-inverted-text);outline:none;position:relative}.pds-c-button--default-inverted:not(.pds-c-button--link):focus-visible:not([aria-disabled]):before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-inverted)}.pds-c-button--default-inverted:not(.pds-c-button--link):focus-visible[aria-disabled]{outline:none;position:relative}.pds-c-button--default-inverted:not(.pds-c-button--link):focus-visible[aria-disabled]:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-default)}.pds-c-button--default-inverted:not(.pds-c-button--link)[aria-disabled]{--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-disabled-background);border-color:var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text);cursor:not-allowed}.pds-c-button--default.pds-c-button--inverted:not(.pds-c-button--link){--pds-icon-color-override: var(--pds-component-button-default-inverted-text);background-color:var(--pds-component-button-default-inverted-background);color:var(--pds-component-button-default-inverted-text);border:1px solid var(--pds-component-button-default-inverted-border)}@media(hover:hover)and (pointer:fine){.pds-c-button--default.pds-c-button--inverted:not(.pds-c-button--link):hover:not([aria-disabled]),.pds-c-button--default.pds-c-button--inverted:not(.pds-c-button--link).pds-hover:not([aria-disabled]){--pds-icon-color-override: var( --pds-component-button-default-inverted-hover-text );color:var(--pds-component-button-default-inverted-hover-text);border-color:var(--pds-component-button-default-inverted-hover-border);background:var(--pds-component-button-default-inverted-hover-background)}}.pds-c-button--default.pds-c-button--inverted:not(.pds-c-button--link):active:not([aria-disabled]){--pds-icon-color-override: var( --pds-component-button-default-inverted-active-text );color:var(--pds-component-button-default-inverted-active-text);border-color:var(--pds-component-button-default-inverted-active-border);outline:none;background:var(--pds-component-button-default-inverted-active-background)}.pds-c-button--default.pds-c-button--inverted:not(.pds-c-button--link):focus{outline:none}.pds-c-button--default.pds-c-button--inverted:not(.pds-c-button--link):focus-visible:not([aria-disabled]){--pds-icon-color-override: var(--pds-component-button-default-inverted-text);color:var(--pds-component-button-default-inverted-text);outline:none;position:relative}.pds-c-button--default.pds-c-button--inverted:not(.pds-c-button--link):focus-visible:not([aria-disabled]):before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-inverted)}.pds-c-button--default.pds-c-button--inverted:not(.pds-c-button--link):focus-visible[aria-disabled]{outline:none;position:relative}.pds-c-button--default.pds-c-button--inverted:not(.pds-c-button--link):focus-visible[aria-disabled]:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-default)}.pds-c-button--default.pds-c-button--inverted:not(.pds-c-button--link)[aria-disabled]{--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-disabled-background);border-color:var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text);cursor:not-allowed}.pds-c-button--icon:not(.pds-c-button--link){--pds-icon-color-override: var(--pds-component-button-icon-icon-stroke);border-radius:50%;padding:calc(var(--pds-base-unit) * 1.5);border:var(--pds-component-button-icon-border);background:var(--pds-component-button-icon-background);color:var(--pds-component-button-icon-icon-stroke)}@media(hover:hover)and (pointer:fine){.pds-c-button--icon:not(.pds-c-button--link):hover:not([aria-disabled]),.pds-c-button--icon:not(.pds-c-button--link).pds-hover:not([aria-disabled]){--pds-icon-color-override: var( --pds-component-button-icon-hover-icon-stroke );color:var(--pds-component-button-icon-hover-icon-stroke);background-color:var(--pds-component-button-icon-hover-background);border-color:var(--pds-component-button-icon-hover-border)}}.pds-c-button--icon:not(.pds-c-button--link)[aria-disabled]{--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-icon-disabled-background);border-color:var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text);cursor:not-allowed}.pds-c-button--icon:not(.pds-c-button--link):active:not([aria-disabled]){--pds-icon-color-override: var( --pds-component-button-icon-active-icon-stroke );cursor:pointer;color:var(--pds-component-button-icon-active-icon-stroke);background-color:var(--pds-component-button-icon-active-background);border-color:var(--pds-component-button-icon-active-border);outline:none}.pds-c-button--icon:not(.pds-c-button--link):focus{outline:none}.pds-c-button--icon:not(.pds-c-button--link):focus-visible{outline:none;position:relative}.pds-c-button--icon:not(.pds-c-button--link):focus-visible:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-default)}.pds-c-button--icon:not(.pds-c-button--link).pds-c-button--sm{padding:calc(var(--pds-base-unit) * .75);position:relative}.pds-c-button--icon:not(.pds-c-button--link).pds-c-button--sm:after{content:\"\";position:absolute;
3061left:calc(var(--pds-base-unit) * -.625);width:calc(var(--pds-base-unit) * 5.5);height:calc(var(--pds-base-unit) * 5.5)}.pds-c-button--icon.pds-c-button--inverted:not(.pds-c-button--link){--pds-icon-color-override: var( --pds-component-button-icon-inverted-icon-stroke );border-radius:50%;padding:calc(var(--pds-base-unit) * 1.5);background-color:var(--pds-component-button-icon-inverted-background);color:var(--pds-component-button-icon-inverted-icon-stroke);border:var(--pds-component-button-icon-inverted-border)}@media(hover:hover)and (pointer:fine){.pds-c-button--icon.pds-c-button--inverted:not(.pds-c-button--link):hover:not([aria-disabled]),.pds-c-button--icon.pds-c-button--inverted:not(.pds-c-button--link).pds-hover:not([aria-disabled]){--pds-icon-color-override: var( --pds-component-button-icon-inverted-hover-icon-stroke );background:var(--pds-component-button-icon-inverted-hover-background);color:var(--pds-component-button-icon-inverted-hover-icon-stroke);border:var(--pds-component-button-icon-inverted-hover-border)}}.pds-c-button--icon.pds-c-button--inverted:not(.pds-c-button--link)[aria-disabled]{--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-icon-disabled-background);border-color:var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text);cursor:not-allowed}.pds-c-button--icon.pds-c-button--inverted:not(.pds-c-button--link)[aria-disabled]:active{--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-icon-disabled-background);border-color:var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text)}.pds-c-button--icon.pds-c-button--inverted:not(.pds-c-button--link):active{--pds-icon-color-override: var( --pds-component-button-icon-inverted-active-icon-stroke );outline:none;background:var(--pds-component-button-icon-inverted-active-background);color:var(--pds-component-button-icon-inverted-active-icon-stroke);border:var(--pds-component-button-icon-inverted-active-border)}.pds-c-button--icon.pds-c-button--inverted:not(.pds-c-button--link):focus{outline:none}.pds-c-button--icon.pds-c-button--inverted:not(.pds-c-button--link):focus-visible:not([aria-disabled]){--pds-icon-color-override: var(--pds-component-button-default-inverted-text);color:var(--pds-component-button-default-inverted-text);outline:none;position:relative}.pds-c-button--icon.pds-c-button--inverted:not(.pds-c-button--link):focus-visible:not([aria-disabled]):before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-inverted)}.pds-c-button--icon.pds-c-button--inverted:not(.pds-c-button--link):focus-visible[aria-disabled]{outline:none;position:relative}.pds-c-button--icon.pds-c-button--inverted:not(.pds-c-button--link):focus-visible[aria-disabled]:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-default)}.pds-c-button--icon.pds-c-button--inverted:not(.pds-c-button--link).pds-c-button--sm{padding:calc(var(--pds-base-unit) * .75)}.pds-c-button--icon-inverted:not(.pds-c-button--link){--pds-icon-color-override: var( --pds-component-button-icon-inverted-icon-stroke );border-radius:50%;padding:calc(var(--pds-base-unit) * 1.5);background-color:var(--pds-component-button-icon-inverted-background);color:var(--pds-component-button-icon-inverted-icon-stroke);border:var(--pds-component-button-icon-inverted-border)}@media(hover:hover)and (pointer:fine){.pds-c-button--icon-inverted:not(.pds-c-button--link):hover:not([aria-disabled]),.pds-c-button--icon-inverted:not(.pds-c-button--link).pds-hover:not([aria-disabled]){--pds-icon-color-override: var( --pds-component-button-icon-inverted-hover-icon-stroke );background:var(--pds-component-button-icon-inverted-hover-background);color:var(--pds-component-button-icon-inverted-hover-icon-stroke);border:var(--pds-component-button-icon-inverted-hover-border)}}.pds-c-button--icon-inverted:not(.pds-c-button--link)[aria-disabled]{--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-icon-disabled-background);border-color:var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text);cursor:not-allowed}.pds-c-button--icon-inverted:not(.pds-c-button--link)[aria-disabled]:active{--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-icon-disabled-background);border-color:var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text)}.pds-c-button--icon-inverted:not(.pds-c-button--link):active{--pds-icon-color-override: var( --pds-component-button-icon-inverted-active-icon-stroke );outline:none;background:var(--pds-component-button-icon-inverted-active-background);color:var(--pds-component-button-icon-inverted-active-icon-stroke);border:var(--pds-component-button-icon-inverted-active-border)}.pds-c-button--icon-inverted:not(.pds-c-button--link):focus{outline:none}.pds-c-button--icon-inverted:not(.pds-c-button--link):focus-visible:not([aria-disabled]){--pds-icon-color-override: var(--pds-component-button-default-inverted-text);color:var(--pds-component-button-default-inverted-text);outline:none;position:relative}.pds-c-button--icon-inverted:not(.pds-c-button--link):focus-visible:not([aria-disabled]):before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-inverted)}.pds-c-button--icon-inverted:not(.pds-c-button--link):focus-visible[aria-disabled]{outline:none;position:relative}.pds-c-button--icon-inverted:not(.pds-c-button--link):focus-visible[aria-disabled]:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-default)}.pds-c-button--icon-inverted:not(.pds-c-button--link).pds-c-button--sm{padding:calc(var(--pds-base-unit) * .75)}.pds-c-button--link-default{--pds-icon-color-override: var( --pds-link-text-alt, var(--pds-semantic-text-interactive-default) );
3061font-weight:var(--pds-semantic-type-label-default-font-weight);font-size:var(--pds-semantic-type-label-default-font-size);line-height:var(--pds-semantic-type-label-default-line-height);font-family:var(--pds-semantic-type-label-default-font-family);letter-spacing:var(--pds-semantic-type-label-default-letter-spacing);text-transform:var(--pds-semantic-type-label-default-text-transform);color:var(--pds-link-text-alt, var(--pds-semantic-text-interactive-default));text-decoration:none;border-bottom:none;display:inline-flex;align-items:center;justify-content:center}@media(hover:hover)and (pointer:fine){.pds-c-button--link-default:hover{--pds-icon-color-override: var( --pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong) );text-decoration:underline;text-underline-offset:calc(var(--pds-base-unit) * .75);color:var(--pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong))}}.pds-c-button--link-default.pds-c-link--hover,.pds-c-button--link-default:active{--pds-icon-color-override: var( --pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong) );text-decoration:underline;text-underline-offset:calc(var(--pds-base-unit) * .75);color:var(--pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong))}.pds-c-button--link-default:focus-visible{--pds-icon-color-override: var( --pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong) );outline:none;position:relative;text-decoration:underline;text-underline-offset:calc(var(--pds-base-unit) * .75);color:var(--pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong))}.pds-c-button--link-default:focus-visible:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-link-focus-indicator-override, var(--pds-semantic-focus-indicator-default))}.pds-c-button--link-default{background:none;border:none;margin:0;cursor:pointer;padding:calc(var(--pds-base-unit) * 1.125) calc(var(--pds-base-unit) * 4);outline:1px solid transparent;border-radius:calc(var(--pds-base-unit) * 3.5);color:var(--pds-component-button-link-text);border-color:var(--pds-component-button-link-border);background-color:var(--pds-component-button-link-background)}@media(hover:hover)and (pointer:fine){.pds-c-button--link-default:hover,.pds-c-button--link-default.pds-hover{color:var(--pds-component-button-link-hover-text);border-color:var(--pds-component-button-link-hover-border);text-decoration:none;text-underline-offset:auto}}.pds-c-button--link-default:focus{outline:none}.pds-c-button--link-default:focus-visible{outline:none;position:relative}.pds-c-button--link-default:focus-visible:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-default)}.pds-c-button--link-default:active{color:var(--pds-component-button-link-active-text);border-color:var(--pds-component-button-link-active-border);text-decoration:none;text-underline-offset:auto}.pds-c-button--link-default[aria-disabled]{--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-disabled-background);outline:1px solid var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text);cursor:not-allowed}@media(hover:hover)and (pointer:fine){.pds-c-button--link-default[aria-disabled]:hover,.pds-c-button--link-default[aria-disabled].pds-hover{background-color:var(--pds-component-button-disabled-background)}}.pds-c-button--link-default[aria-disabled]:active{background-color:var(--pds-component-button-disabled-background)}@media(hover:hover)and (pointer:fine){.pds-c-button--link-default:hover,.pds-c-button--link-default.pds-hover{background-color:var(--pds-component-button-link-hover-background)}}.pds-c-button--link-default:focus-visible{text-decoration:none;background-color:var(--pds-component-button-link-hover-background)}.pds-c-button--link-default:active{background-color:var(--pds-component-button-link-active-background)}.pds-c-button--link.pds-c-button--sm{font-weight:var(--pds-semantic-type-label-sm-font-we
3061ight);font-size:var(--pds-semantic-type-label-sm-font-size);line-height:var(--pds-semantic-type-label-sm-line-height);font-family:var(--pds-semantic-type-label-sm-font-family);letter-spacing:var(--pds-semantic-type-label-sm-letter-spacing);text-transform:var(--pds-semantic-type-label-sm-text-transform);padding:calc(var(--pds-base-unit) * .375) calc(var(--pds-base-unit) * 2)}.pds-c-button--link-inverted{--pds-icon-color-override: var( --pds-link-text-alt, var(--pds-semantic-text-interactive-default) );font-weight:var(--pds-semantic-type-label-default-font-weight);font-size:var(--pds-semantic-type-label-default-font-size);line-height:var(--pds-semantic-type-label-default-line-height);font-family:var(--pds-semantic-type-label-default-font-family);letter-spacing:var(--pds-semantic-type-label-default-letter-spacing);text-transform:var(--pds-semantic-type-label-default-text-transform);color:var(--pds-link-text-alt, var(--pds-semantic-text-interactive-default));text-decoration:none;border-bottom:none;display:inline-flex;align-items:center;justify-content:center}@media(hover:hover)and (pointer:fine){.pds-c-button--link-inverted:hover{--pds-icon-color-override: var( --pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong) );text-decoration:underline;text-underline-offset:calc(var(--pds-base-unit) * .75);color:var(--pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong))}}.pds-c-button--link-inverted.pds-c-link--hover,.pds-c-button--link-inverted:active{--pds-icon-color-override: var( --pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong) );text-decoration:underline;text-underline-offset:calc(var(--pds-base-unit) * .75);color:var(--pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong))}.pds-c-button--link-inverted:focus-visible{--pds-icon-color-override: var( --pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong) );outline:none;position:relative;text-decoration:underline;text-underline-offset:calc(var(--pds-base-unit) * .75);color:var(--pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong))}.pds-c-button--link-inverted:focus-visible:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-link-focus-indicator-override, var(--pds-semantic-focus-indicator-default))}.pds-c-button--link-inverted{background:none;border:none;margin:0;cursor:pointer;padding:calc(var(--pds-base-unit) * 1.125) calc(var(--pds-base-unit) * 4);outline:1px solid transparent;border-radius:calc(var(--pds-base-unit) * 3.5);color:var(--pds-component-button-link-text);border-color:var(--pds-component-button-link-border);background-color:var(--pds-component-button-link-background)}@media(hover:hover)and (pointer:fine){.pds-c-button--link-inverted:hover,.pds-c-button--link-inverted.pds-hover{color:var(--pds-component-button-link-hover-text);border-color:var(--pds-component-button-link-hover-border);text-decoration:none;text-underline-offset:auto}}.pds-c-button--link-inverted:focus-visible{outline:none;position:relative}.pds-c-button--link-inverted:focus-visible:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-default)}.pds-c-button--link-inverted:active{color:var(--pds-component-button-link-active-text);border-color:var(--pds-component-button-link-active-border);text-decoration:none;text-underline-offset:auto}.pds-c-button--link-inverted[aria-disabled]{--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-disabled-background);outline:1px solid var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text);cursor:not-allowed}.pds-c-button--link-inverted{--pds-icon-color-override: var( --pds-semantic-text-interactive-inverted-default );color:var(--pds-semantic-text-interactive-inverted-default)}@media(hover:hover)and (pointer:fine){.pds-c-button--link-inverted:hover{--pds-icon-color-override: var( --pds-semantic-text-interactive-inverted-xstrong );color:var(--pds-semantic-text-interactive-inverted-xstrong)}}.pds-c-button--link-inverted.pds-c-link--hover,.pds-c-button--link-inverted.pds-hover,.pds-c-button--link-inverted:active{--pds-icon-color-override: var( --pds-semantic-text-interactive-inverted-xstrong );color:var(--pds-semantic-text-interactive-inverted-xstrong)}.pds-c-button--link-inverted:focus{outline:none}.pds-c-button--link-inverted:focus-visible{--pds-icon-color-override: var( --pds-semantic-text-interactive-inverted-xstrong );outline:none;position:relative;color:var(--pds-link-text-inverted-focused-alt, var(--pds-semantic-text-interactive-inverted-xstrong))}.pds-c-button--link-inverted:focus-visible:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-inverted)}@media(hover:hover)and (pointer:fine){.pds-c-button--link-inverted:hover,.pds-c-button--link-inverted.pds-hover{background-color:var(--pds-component-button-link-inverted-hover-background)}}.pds-c-button--link-inverted:focus-visible{text-decoration:none;background-color:var(--pds-component-button-link-inverted-hover-background)}.pds-c-button--link-inverted:active{background-color:var(--pds-component-button-link-inverted-active-background)}.pds-c-button--link-inverted[aria-disabled]{background-color:var(--pds-component-button-disabled-background);border:1px solid var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text);cursor:not-allowed}@media(hover:hover)and (pointer:fine){.pds-c-button--link-inverted[aria-disabled]:hover,.pds-c-button--link-inverted[aria-disabled].pds-hover{background-color:var(--pds-component-button-disabled-background)}}.pds-c-button--link-inverted[aria-disabled]:active{background-color:var(--pds-component-button-disabled-background)}.pds-c-button--link.pds-c-button--inverted{--pds-icon-color-override: var( --pds-link-text-alt, var(--pds-semantic-text-interactive-default) );
3061font-weight:var(--pds-semantic-type-label-default-font-weight);font-size:var(--pds-semantic-type-label-default-font-size);line-height:var(--pds-semantic-type-label-default-line-height);font-family:var(--pds-semantic-type-label-default-font-family);letter-spacing:var(--pds-semantic-type-label-default-letter-spacing);text-transform:var(--pds-semantic-type-label-default-text-transform);color:var(--pds-link-text-alt, var(--pds-semantic-text-interactive-default));text-decoration:none;border-bottom:none;display:inline-flex;align-items:center;justify-content:center}@media(hover:hover)and (pointer:fine){.pds-c-button--link.pds-c-button--inverted:hover{--pds-icon-color-override: var( --pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong) );text-decoration:underline;text-underline-offset:calc(var(--pds-base-unit) * .75);color:var(--pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong))}}.pds-c-button--link.pds-c-button--inverted.pds-c-link--hover,.pds-c-button--link.pds-c-button--inverted:active{--pds-icon-color-override: var( --pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong) );text-decoration:underline;text-underline-offset:calc(var(--pds-base-unit) * .75);color:var(--pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong))}.pds-c-button--link.pds-c-button--inverted:focus-visible{--pds-icon-color-override: var( --pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong) );outline:none;position:relative;text-decoration:underline;text-underline-offset:calc(var(--pds-base-unit) * .75);color:var(--pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong))}.pds-c-button--link.pds-c-button--inverted:focus-visible:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-link-focus-indicator-override, var(--pds-semantic-focus-indicator-default))}.pds-c-button--link.pds-c-button--inverted{background:none;border:none;margin:0;cursor:pointer;padding:calc(var(--pds-base-unit) * 1.125) calc(var(--pds-base-unit) * 4);outline:1px solid transparent;border-radius:calc(var(--pds-base-unit) * 3.5);color:var(--pds-component-button-link-text);border-color:var(--pds-component-button-link-border);background-color:var(--pds-component-button-link-background)}@media(hover:hover)and (pointer:fine){.pds-c-button--link.pds-c-button--inverted:hover,.pds-c-button--link.pds-c-button--inverted.pds-hover{color:var(--pds-component-button-link-hover-text);border-color:var(--pds-component-button-link-hover-border);text-decoration:none;text-underline-offset:auto}}.pds-c-button--link.pds-c-button--inverted:focus-visible{outline:none;position:relative}.pds-c-button--link.pds-c-button--inverted:focus-visible:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-default)}.pds-c-button--link.pds-c-button--inverted:active{color:var(--pds-component-button-link-active-text);border-color:var(--pds-component-button-link-active-border);text-decoration:none;text-underline-offset:auto}.pds-c-button--link.pds-c-button--inverted[aria-disabled]{--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-disabled-background);outline:1px solid var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text);cursor:not-allowed}@media(hover:hover)and (pointer:fine){.pds-c-button--link.pds-c-button--inverted[aria-disabled]:hover,.pds-c-button--link.pds-c-button--inverted[aria-disabled].pds-hover{background-color:var(--pds-component-button-disabled-background)}}.pds-c-button--link.pds-c-button--inverted{--pds-icon-color-override: var( --pds-semantic-text-interactive-inverted-default );color:var(--pds-semantic-text-interactive-inverted-default)}@media(hover:hover)and (pointer:fine){.pds-c-button--link.pds-c-button--inverted:hover{--pds-icon-color-override: var( --pds-semantic-text-interactive-inverted-xstrong );color:var(--pds-semantic-text-interactive-inverted-xstrong)}}.pds-c-button--link.pds-c-button--inverted.pds-c-link--hover,.pds-c-button--link.pds-c-button--inverted.pds-hover,.pds-c-button--link.pds-c-button--inverted:active{--pds-icon-color-override: var( --pds-semantic-text-interactive-inverted-xstrong );color:var(--pds-semantic-text-interactive-inverted-xstrong)}.pds-c-button--link.pds-c-button--inverted:focus{outline:none}.pds-c-button--link.pds-c-button--inverted:focus-visible{--pds-icon-color-override: var( --pds-semantic-text-interactive-inverted-xstrong );outline:none;position:relative;color:var(--pds-link-text-inverted-focused-alt, var(--pds-semantic-text-interactive-inverted-xstrong))}.pds-c-button--link.pds-c-button--inverted:focus-visible:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-inverted)}@media(hover:hover)and (pointer:fine){.pds-c-button--link.pds-c-button--inverted:hover,.pds-c-button--link.pds-c-button--inverted.pds-hover{background-color:var(--pds-component-button-link-inverted-hover-background)}}.pds-c-button--link.pds-c-button--inverted:focus-visible{text-decoration:none;background-color:var(--pds-component-button-link-inverted-hover-background)}.pds-c-button--link.pds-c-button--inverted:active{background-color:var(--pds-component-button-link-inverted-active-background)}.pds-c-button--link.pds-c-button--inverted[aria-disabled]{background-color:var(--pds-component-button-disabled-background);border:1px solid var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text);cursor:not-allowed}@media(hover:hover)and (pointer:fine){.pds-c-button--link.pds-c-button--inverted[aria-disabled]:hover{background-color:var(--pds-component-button-disabled-background)}}.pds-c-button--link.pds-c-button--inverted[aria-disabled]:active{background-color:var(--pds-component-button-disabled-background)}.pds-c-button--link-icon-left{--pds-icon-color-override: var( --pds-link-text-alt, var(--pds-semantic-text-interactive-default) );
3061font-weight:var(--pds-semantic-type-label-default-font-weight);font-size:var(--pds-semantic-type-label-default-font-size);line-height:var(--pds-semantic-type-label-default-line-height);font-family:var(--pds-semantic-type-label-default-font-family);letter-spacing:var(--pds-semantic-type-label-default-letter-spacing);text-transform:var(--pds-semantic-type-label-default-text-transform);color:var(--pds-link-text-alt, var(--pds-semantic-text-interactive-default));text-decoration:none;border-bottom:none;display:inline-flex;align-items:center;justify-content:center}@media(hover:hover)and (pointer:fine){.pds-c-button--link-icon-left:hover{--pds-icon-color-override: var( --pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong) );text-decoration:underline;text-underline-offset:calc(var(--pds-base-unit) * .75);color:var(--pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong))}}.pds-c-button--link-icon-left.pds-c-link--hover,.pds-c-button--link-icon-left:active{--pds-icon-color-override: var( --pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong) );text-decoration:underline;text-underline-offset:calc(var(--pds-base-unit) * .75);color:var(--pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong))}.pds-c-button--link-icon-left:focus-visible{--pds-icon-color-override: var( --pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong) );outline:none;position:relative;text-decoration:underline;text-underline-offset:calc(var(--pds-base-unit) * .75);color:var(--pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong))}.pds-c-button--link-icon-left:focus-visible:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-link-focus-indicator-override, var(--pds-semantic-focus-indicator-default))}.pds-c-button--link-icon-left{background:none;border:none;margin:0;cursor:pointer;padding:calc(var(--pds-base-unit) * 1.125) calc(var(--pds-base-unit) * 4);outline:1px solid transparent;border-radius:calc(var(--pds-base-unit) * 3.5);color:var(--pds-component-button-link-text);border-color:var(--pds-component-button-link-border);background-color:var(--pds-component-button-link-background)}@media(hover:hover)and (pointer:fine){.pds-c-button--link-icon-left:hover,.pds-c-button--link-icon-left.pds-hover{color:var(--pds-component-button-link-hover-text);border-color:var(--pds-component-button-link-hover-border);text-decoration:none;text-underline-offset:auto}}.pds-c-button--link-icon-left:focus{outline:none}.pds-c-button--link-icon-left:focus-visible{outline:none;position:relative}.pds-c-button--link-icon-left:focus-visible:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-default)}.pds-c-button--link-icon-left:active{color:var(--pds-component-button-link-active-text);border-color:var(--pds-component-button-link-active-border);text-decoration:none;text-underline-offset:auto}.pds-c-button--link-icon-left[aria-disabled]{--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-disabled-background);outline:1px solid var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text);cursor:not-allowed}@media(hover:hover)and (pointer:fine){.pds-c-button--link-icon-left[aria-disabled]:hover,.pds-c-button--link-icon-left[aria-disabled].pds-hover{background-color:var(--pds-component-button-disabled-background)}}.pds-c-button--link-icon-left[aria-disabled]:active{background-color:var(--pds-component-button-disabled-background)}@media(hover:hover)and (pointer:fine){.pds-c-button--link-icon-left:hover,.pds-c-button--link-icon-left.pds-hover{background-color:var(--pds-component-button-link-hover-background)}}.pds-c-button--link-icon-left:focus-visible{text-decoration:none;background-color:var(--pds-component-button-link-hover-background)}.pds-c-button--link-icon-left:active{background-color:var(--pds-component-button-link-active-background)}.pds-c-button--link-icon-right{--pds-icon-color-override: var( --pds-link-text-alt, var(--pds-semantic-text-interactive-default) );
3061font-weight:var(--pds-semantic-type-label-default-font-weight);font-size:var(--pds-semantic-type-label-default-font-size);line-height:var(--pds-semantic-type-label-default-line-height);font-family:var(--pds-semantic-type-label-default-font-family);letter-spacing:var(--pds-semantic-type-label-default-letter-spacing);text-transform:var(--pds-semantic-type-label-default-text-transform);color:var(--pds-link-text-alt, var(--pds-semantic-text-interactive-default));text-decoration:none;border-bottom:none;display:inline-flex;align-items:center;justify-content:center}@media(hover:hover)and (pointer:fine){.pds-c-button--link-icon-right:hover{--pds-icon-color-override: var( --pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong) );text-decoration:underline;text-underline-offset:calc(var(--pds-base-unit) * .75);color:var(--pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong))}}.pds-c-button--link-icon-right.pds-c-link--hover,.pds-c-button--link-icon-right:active{--pds-icon-color-override: var( --pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong) );text-decoration:underline;text-underline-offset:calc(var(--pds-base-unit) * .75);color:var(--pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong))}.pds-c-button--link-icon-right:focus-visible{--pds-icon-color-override: var( --pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong) );outline:none;position:relative;text-decoration:underline;text-underline-offset:calc(var(--pds-base-unit) * .75);color:var(--pds-link-text-alt-hover, var(--pds-semantic-text-interactive-xstrong))}.pds-c-button--link-icon-right:focus-visible:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-link-focus-indicator-override, var(--pds-semantic-focus-indicator-default))}.pds-c-button--link-icon-right{background:none;border:none;margin:0;cursor:pointer;padding:calc(var(--pds-base-unit) * 1.125) calc(var(--pds-base-unit) * 4);outline:1px solid transparent;border-radius:calc(var(--pds-base-unit) * 3.5);color:var(--pds-component-button-link-text);border-color:var(--pds-component-button-link-border);background-color:var(--pds-component-button-link-background)}@media(hover:hover)and (pointer:fine){.pds-c-button--link-icon-right:hover,.pds-c-button--link-icon-right.pds-hover{color:var(--pds-component-button-link-hover-text);border-color:var(--pds-component-button-link-hover-border);text-decoration:none;text-underline-offset:auto}}.pds-c-button--link-icon-right:focus{outline:none}.pds-c-button--link-icon-right:focus-visible{outline:none;position:relative}.pds-c-button--link-icon-right:focus-visible:before{content:\"\";position:absolute;inset:calc(var(--pds-base-unit) * -.25);border:calc(var(--pds-base-unit) * .25) solid var(--pds-semantic-focus-indicator-default)}.pds-c-button--link-icon-right:active{color:var(--pds-component-button-link-active-text);border-color:var(--pds-component-button-link-active-border);text-decoration:none;text-underline-offset:auto}.pds-c-button--link-icon-right[aria-disabled]{--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-disabled-background);outline:1px solid var(--pds-component-button-disabled-border);color:var(--pds-component-button-disabled-text);cursor:not-allowed}@media(hover:hover)and (pointer:fine){.pds-c-button--link-icon-right[aria-disabled]:hover,.pds-c-button--link-icon-right[aria-disabled].pds-hover{background-color:var(--pds-component-button-disabled-background)}}.pds-c-button--link-icon-right[aria-disabled]:active{background-color:var(--pds-component-button-disabled-background)}@media(hover:hover)and (pointer:fine){.pds-c-button--link-icon-right:hover,.pds-c-button--link-icon-right.pds-hover{background-color:var(--pds-component-button-link-hover-background)}}.pds-c-button--link-icon-right:focus-visible{text-decoration:none;background-color:var(--pds-component-button-link-hover-background)}.pds-c-button--link-icon-right:active{background-color:var(--pds-component-button-link-active-background)}.pds-c-button--link.pds-c-button--remove-link-padding{padding:0}@media(hover:hover)and (pointer:fine){.pds-c-button--link.pds-c-button--remove-link-padding:hover,.pds-c-button--link.pds-c-button--remove-link-padding.pds-hover{background-color:transparent}}.pds-c-button--fullWidth{width:100%;justify-content:center}.pds-c-button--default:not(.pds-c-button--link).pds-is-active{--pds-icon-color-override: var(--pds-component-button-default-active-text);border-color:var(--pds-component-button-default-active-border);background-color:var(--pds-component-button-default-active-background);color:var(--pds-component-button-default-active-text)}.pds-c-button--default-inverted:not(.pds-c-button--link).pds-is-active{--pds-icon-color-override: var( --pds-component-button-default-inverted-active-text );color:var(--pds-component-button-default-inverted-active-text);border-color:var(--pds-component-button-default-inverted-active-border);outline:none;background:var(--pds-component-button-default-inverted-active-background)}.pds-c-button--default.pds-c-button--inverted:not(.pds-c-button--link).pds-is-active{--pds-icon-color-override: var( --pds-component-button-default-inverted-active-text );color:var(--pds-component-button-default-inverted-active-text);border-color:var(--pds-component-button-default-inverted-active-border);outline:none;background:var(--pds-component-button-default-inverted-active-background)}.pds-c-button--icon:not(.pds-c-button--link).pds-is-active{--pds-icon-color-override: var( --pds-component-button-icon-active-icon-stroke );cursor:pointer;color:var(--pds-component-button-icon-active-icon-stroke);background-color:var(--pds-component-button-icon-active-background);border-color:var(--pds-component-button-icon-active-border);outline:none}.pds-c-button--icon-inverted:not(.pds-c-button--link).pds-is-active{--pds-icon-color-override: var( --pds-component-button-icon-inverted-active-icon-stroke );outline:none;background:var(--pds-component-button-icon-inverted-active-background);color:var(--pds-component-button-icon-inverted-active-icon-stroke);border:var(--pds-component-button-icon-inverted-active-border)}.pds-c-button--icon.pds-c-button--inverted:not(.pds-c-button--link).pds-is-active{--pds-icon-color-override: var( --pds-component-button-icon-inverted-active-icon-stroke );outline:none;background:var(--pds-component-button-icon-inverted-active-background);color:var(--pds-component-button-icon-inverted-active-icon-stroke);border:var(--pds-component-button-icon-inverted-active-border)}.pds-c-button--loading:not(.pds-c-button--link):not(.pds-c-button--icon){--pds-icon-color-override: var(--pds-component-button-disabled-text);background-color:var(--pds-component-button-disabled-background);color:var(--pds-component-button-disabled-text);cursor:not-allowed!important;border:1px solid var(--pds-component-button-disabled-border);gap:calc(var(--pds-base-unit) * 1);padding:calc(var(--pds-base-unit) * 1.125) calc(var(--pds-base-unit) * 4) calc(var(--pds-base-unit) * 1.125) calc(var(--pds-base-unit) * 3.5);vertical-align:middle}.pds-c-button--loading:not(.pds-c-button--link):not(.pds-c-button--icon).pds-c-button--sm{padding:calc(var(--pds-base-unit) * .375) calc(var(--pds-base-unit) * 2) calc(var(--pds-base-unit) * .375) calc(var(--pds-base-unit) * 1.75
3061)}.pds-c-button--loading:not(.pds-c-button--link):not(.pds-c-button--icon) pds-icon-loader{--pds-icon-color-override: var(--pds-component-button-disabled-text);animation:spin 2.5s linear infinite}@media(prefers-reduced-motion:reduce){.pds-c-button--loading:not(.pds-c-button--link):not(.pds-c-button--icon) pds-icon-loader{animation:none}}.pds-c-button__disabled-context{font-weight:var(--pds-semantic-type-body-default-font-weight);font-size:var(--pds-semantic-type-body-default-font-size);line-height:var(--pds-semantic-type-body-default-line-height);font-family:var(--pds-semantic-type-body-default-font-family);letter-spacing:var(--pds-semantic-type-body-default-letter-spacing);text-transform:var(--pds-semantic-type-body-default-text-transform);position:absolute;display:none;width:max-content;background:var(--pds-semantic-floating-container-default-background);color:var(--pds-semantic-text-inverted-default);padding:calc(var(--pds-base-unit) * 1.5);border:1px solid var(--pds-semantic-floating-container-default-border);border-radius:calc(var(--pds-base-unit) * .5);box-shadow:var(--pds-semantic-shadow-outer-default-md);margin-top:calc(var(--pds-base-unit) * 1)}.pds-c-button--default-inverted+.pds-c-button__disabled-context,.pds-c-button--primary-inverted+.pds-c-button__disabled-context,.pds-c-button--icon-inverted+.pds-c-button__disabled-context{background:var(--pds-semantic-floating-container-subtle-background);color:var(--pds-semantic-text-default);border:1px solid var(--pds-semantic-floating-container-subtle-border);box-shadow:var(--pds-semantic-shadow-outer-inverted-md)}.pds-c-button--inverted+.pds-c-button__disabled-context{background:var(--pds-semantic-floating-container-subtle-background);color:var(--pds-semantic-text-default);border:1px solid var(--pds-semantic-floating-container-subtle-border)}button:focus-visible[aria-disabled]+.pds-c-button__disabled-context,button:hover[aria-disabled]+.pds-c-button__disabled-context,button.pds-hover[aria-disabled]+.pds-c-button__disabled-context{display:block;width:fit-content;max-width:calc(var(--pds-base-unit) * 40);z-index:var(--pds-tooltip-z-index, 1400)}.pds-c-button--link-icon-left ::slotted(*:first-child){margin-right:calc(var(--pds-base-unit) * 1)}.pds-c-button--link-icon-right ::slotted(*:last-child){margin-left:calc(var(--pds-base-unit) * 1)}.pds-c-button *{pointer-events:none}.pds-c-button slot[name=icon-left]::slotted(*){margin-right:calc(var(--pds-base-unit) * 1)}.pds-c-button slot[name=icon-right]::slotted(*){margin-left:calc(var(--pds-base-unit) * 1)}", jr = Object.defineProperty, Mr = Object.getOwnPropertyDescriptor, Y = (e, t, n, r) => { 3062 for (var i = r > 1 ? void 0 : r ? Mr(t, n) : t, a = e.length - 1, o; a >= 0; a--) (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i); 3063 return r && i && jr(t, n, i), i; 3064}, Nr = ["default", "sm"], X = class extends F { 3065 constructor() { 3066 super(), this.variant = "default", this.inverted = !1, this.size = "default", this.disabled = !1, this.fullWidth = !1, this.type = "submit", this.link = "", this.removeLinkPadding = !1, this.isActive = !1, this.isValidButton = !0, this.errorDetailsMessage = "", this.internals = this.attachInternals(); 3067 }
3068 handleSlotChange(e) { 3069 this.handleSlotValidation(e), this.verifyAria(), this.addSizeToButtonIcon(); 3070 } 3071 addSizeToButtonIcon() { 3072 let e = [ 3073 ...this.iconLeftList, 3074 ...this.iconRightList, 3075 ...this.defaultSlotElements 3076 ]; 3077 e && e.length && e.forEach((e) => { 3078 e.tagName.toLowerCase().includes("pds-icon") && (this.variant === "icon" || this.variant === "icon-inverted" ? Nr.includes(this.size) ? e.setAttribute("size", this.size === "sm" ? "default" : "lg") : e.setAttribute("size", "lg") : Nr.includes(this.size) ? e.setAttribute("size", this.size) : e.setAttribute("size", "default")); 3079 }); 3080 } 3081 handleClick(e) { 3082 let t; 3083 if (t = this.textContent?.trim() === "" ? this.ariaLabel : this.textContent, this.disabled) { 3084 e.preventDefault(); 3085 return; 3086 } 3087 let n = new CustomEvent("PdsButtonClick", { 3088 bubbles: !0, 3089 composed: !0, 3090 cancelable: !0, 3091 detail: { summary: t } 3092 }); 3093 Sr(n, this), n.defaultPrevented ? e.preventDefault() : this.submitOrResetAssociatedForm(); 3094 } 3095 handleKeydown(e) { 3096 if ((this.variant === "loading" || this.disabled) && e.key !== "Tab") { 3097 e.preventDefault(); 3098 return; 3099 } 3100 (e.key === "Enter" || e.key === " ") && this.submitOrResetAssociatedForm(); 3101 } 3102 submitOrResetAssociatedForm() { 3103 this.type === "submit" && (this.internals.form?.requestSubmit ? this.internals.form.requestSubmit() : this.internals.form?.submit()), this.type === "reset" && this.internals.form?.reset(); 3104 } 3105 verifyAria() { 3106 let e = !!this.ariaLabel || !!this.textContent?.trim(); 3107 return e || (this.errorDetailsMessage = "Button text is required as an ariaLabel property or as a slot but is undefined.", console.error("Button text is required as an ariaLabel property or as a slot in <%s /> but is undefined on: %o", this.tagName.toLowerCase(), this), this.isValidButton = !1), e; 3108 } 3109 get classNames() { 3110 return { 3111 inverted: !!this.inverted, 3112 [this.variant]: !!this.variant, 3113 sm: this.size === "sm", 3114 "is-active": this.isActive, 3115 link: !!this.link, 3116 [`link-${this.link}`]: !!this.link, 3117 "remove-link-padding": this.removeLinkPadding, 3118 fullWidth: this.fullWidth === !0 3119 }; 3120 } 3121 async firstUpdated() { 3122 super.firstUpdated(), this.handleSlotValidation("icon-left"), this.handleSlotValidation("icon-right"), this.handleSlotValidation(), await this.updateComplete, this.verifyAria(), this.addSizeToButtonIcon(); 3123 } 3124 async updated(e) { 3125 if (await this.updateComplete, this.addSizeToButtonIcon(), e.has("variant")) { 3126 let t = e.get("variant"); 3127 this.variant === "loading" && t !== "loading" ? (this.preLoadingDisabledState = this.disabled, this.preLoadingDisabledContext = this.disabledContext, this.disabled = !0, this.disabledContext = this.translateText("loading")) : t === "loading" && this.variant !== "loading" && (this.disabled = this.preLoadingDisabledState || !1, this.disabledContext = this.preLoadingDisabledContext || ""); 3128 } 3129 if (e.has("disabled") && this.disabled && (this.isActive = !1), e.has("ariaDescribedbyIds") || e.has("disabledContext")) { 3130 let e = xr(this); 3131 this.button.setAttribute("aria-describedby", e); 3132 } 3133 } 3134 render() { 3135 return this.isValidButton ? l`<button 3136 class=${this.getClass()} 3137 ?aria-disabled=${this.disabled} 3138 part="button" 3139 title=${this.variant === "icon" || this.variant === "icon-inverted" ? a(this.ariaLabel) : f} 3140 ?inverted=${this.inverted} 3141 aria-label=${a(this.ariaLabel)} 3142 aria-controls=${a(this.ariaControls)} 3143 aria-expanded=${this.ariaExpanded ? this.ariaExpanded : f} 3144 form=${this.form ? this.form : f} 3145 aria-pressed=${this.ariaPressed ? this.ariaPressed : f} 3146 type=${this.type} 3147 @click=${this.handleClick} 3148 @keydown=${this.handleKeydown} 3149 > 3150 ${this.variant === "loading" ? l`<pds-icon-loader size="${this.size}"></pds-icon-loader>` : ""} 3151 ${this.slotNotEmpty("icon-left") ? l`<slot 3152 allowed-elements="pds-icon" 3153 name="icon-left" 3154 @slotchange=${this.handleSlotChange} 3155 ></slot>` : ""} 3156 <slot @slotchange=${this.handleSlotChange}></slot>${this.disabled ? l` <span class="pds-u-sr-only" 3157 >, ${this.translateText("disabled")}</span 3158 >` : ""} 3159 ${this.slotNotEmpty("icon-right") ? l`<slot 3160 allowed-elements="pds-icon" 3161 name="icon-right"
3162 @slotchange=${this.handleSlotChange} 3163 ></slot>` : ""}</button 3164 >${this.disabledContext && l`<div 3165 id="disabled-context" 3166 class="${this.classEl("disabled-context")}" 3167 > 3168 ${this.disabledContext} 3169 </div>`}` : kr("pds-button", this.errorDetailsMessage); 3170 } 3171}; 3172X.formAssociated = !0, Y([o()], X.prototype, "variant", 2), Y([o({ 3173 type: Boolean, 3174 reflect: !0 3175})], X.prototype, "inverted", 2), Y([o()], X.prototype, "size", 2), Y([o({ type: Boolean })], X.prototype, "disabled", 2), Y([o()], X.prototype, "disabledContext", 2), Y([o({ type: Boolean })], X.prototype, "fullWidth", 2), Y([o({ reflect: !0 })], X.prototype, "type", 2), Y([o()], X.prototype, "link", 2), Y([o({ type: Boolean })], X.prototype, "removeLinkPadding", 2), Y([o({ 3176 type: String, 3177 reflect: !0 3178})], X.prototype, "ariaLabel", 2), Y([o({ type: String })], X.prototype, "ariaControls", 2), Y([o({ type: String })], X.prototype, "ariaExpanded", 2), Y([o({ type: String })], X.prototype, "ariaPressed", 2), Y([o()], X.prototype, "ariaDescribedbyIds", 2), Y([o({ 3179 type: String, 3180 reflect: !0 3181})], X.prototype, "form", 2), Y([o({ type: Boolean })], X.prototype, "isActive", 2), Y([d("button")], X.prototype, "button", 2), Y([h({ slot: "icon-left" })], X.prototype, "iconLeftList", 2), Y([h({ slot: "icon-right" })], X.prototype, "iconRightList", 2), Y([g()], X.prototype, "isValidButton", 2), Y([h({ slot: void 0 })], X.prototype, "defaultSlotElements", 2), X = Y([b("pds-button", { 3182 category: "component", 3183 type: "component", 3184 state: "stable", 3185 styles: Ar 3186})], X); 3187//#endregion 3188//#region node_modules/@principal/design-system/es/layout-container.js 3189var Pr = "*,::slotted(*),*:before,*:after{box-sizing:border-box}:host{--pds-layout-container-max-width: var( --pds-component-layout-container-max-width-default );--pds-layout-container-max-width-narrow: var( --pds-component-layout-container-max-width-narrow );display:block}.pds-l-layout-container{width:100%;max-width:var(--pds-layout-container-max-width);padding-right:calc(var(--pds-base-unit) * 3);padding-left:calc(var(--pds-base-unit) * 3);margin:0 auto}@media all and (max-width:1023px){.pds-l-layout-container{padding:0 calc(var(--pds-base-unit) * 2)}}@media all and (max-width:767px){.pds-l-layout-container{padding:0 calc(var(--pds-base-unit) * 1)}}.pds-l-layout-container--narrow{max-width:var(--pds-layout-container-max-width-narrow)}@media all and (max-width:768px){.pds-l-layout-container--remove-padding-md{padding-left:0;padding-right:0}}.pds-l-layout-container--remove-padding-all{padding-left:0;padding-right:0}", Fr = Object.defineProperty, Ir = Object.getOwnPropertyDescriptor, Lr = (e, t, n, r) => { 3190 for (var i = r > 1 ? void 0 : r ? Ir(t, n) : t, a = e.length - 1, o; a >= 0; a--) (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i); 3191 return r && i && Fr(t, n, i), i; 3192}, Rr = class extends F { 3193 constructor() { 3194 super(...arguments), this.variant = "default"; 3195 } 3196 get classNames() { 3197 return { 3198 [`${this.variant}`]: !!this.variant, 3199 [`remove-padding-${this.removePadding}`]: !!this.removePadding 3200 }; 3201 } 3202 render() { 3203 return l`<div class=${this.getClass()}><slot></slot></div>`; 3204 } 3205}; 3206Lr([o()], Rr.prototype, "variant", 2), Lr([o()], Rr.prototype, "removePadding", 2), Rr = Lr([b("pds-layout-container", { 3207 category: "layout", 3208 type: "component", 3209 state: "stable", 3210 styles: Pr 3211})], Rr); 3212//#endregion 3213//#region node_modules/@principal/design-system/es/check.ZJ4vVNdR.js 3214var zr = "\n<svg\n class=\"lucide lucide-check\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n>\n <path d=\"M20 6 9 17l-5-5\" />\n</svg>\n", Br = Object.defineProperty, Vr = Object.getOwnPropertyDescriptor, Hr = (e, t, n, r) => { 3215 for (var i = r > 1 ? void 0 : r ? Vr(t, n) : t, a = e.length - 1, o; a >= 0; a--) (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i); 3216 return r && i && Br(t, n, i), i; 3217}, Ur = class extends q { 3218 constructor() { 3219 super(...arguments), this.icon = zr;
3220 } 3221 render() { 3222 return l`${p(this.setIconAttributes())}`; 3223 } 3224}; 3225Hr([g()], Ur.prototype, "icon", 2), Ur = Hr([K("pds-icon-check")], Ur); 3226//#endregion 3227//#region node_modules/@principal/design-system/es/x.DOU-Vp8S.js 3228var Wr = "\n<svg\n class=\"lucide lucide-x\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n>\n <path d=\"M18 6 6 18\" />\n <path d=\"m6 6 12 12\" />\n</svg>\n", Gr = Object.defineProperty, Kr = Object.getOwnPropertyDescriptor, qr = (e, t, n, r) => { 3229 for (var i = r > 1 ? void 0 : r ? Kr(t, n) : t, a = e.length - 1, o; a >= 0; a--) (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i); 3230 return r && i && Gr(t, n, i), i; 3231}, Jr = class extends q { 3232 constructor() { 3233 super(...arguments), this.icon = Wr; 3234 } 3235 render() { 3236 return l`${p(this.setIconAttributes())}`; 3237 } 3238}; 3239qr([g()], Jr.prototype, "icon", 2), Jr = qr([K("pds-icon-x")], Jr); 3240//#endregion 3241//#region node_modules/@principal/design-system/es/info.SDd43awI.js 3242var Yr = "\n<svg\n class=\"lucide lucide-info\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n>\n <circle cx=\"12\" cy=\"12\" r=\"10\" />\n <path d=\"M12 16v-4\" />\n <path d=\"M12 8h.01\" />\n</svg>\n", Xr = Object.defineProperty, Zr = Object.getOwnPropertyDescriptor, Qr = (e, t, n, r) => { 3243 for (var i = r > 1 ? void 0 : r ? Zr(t, n) : t, a = e.length - 1, o; a >= 0; a--) (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i); 3244 return r && i && Xr(t, n, i), i; 3245}, $r = class extends q { 3246 constructor() { 3247 super(...arguments), this.icon = Yr; 3248 } 3249 render() { 3250 return l`${p(this.setIconAttributes())}`; 3251 } 3252}; 3253Qr([g()], $r.prototype, "icon", 2), $r = Qr([K("pds-icon-info")], $r); 3254//#endregion 3255//#region node_modules/@principal/design-system/es/requiredSlot.DbbB6KQa.js 3256function ei(e) { 3257 let t = /* @__PURE__ */ "HR.IMG.SVG.PDS-CHECKBOX.PDS-CURRENCY-INPUT.PDS-DECORATOR.PDS-DATE-PICKER.PDS-ERROR-PAGE.PDS-FILE-UPLOAD.PDS-FOOTER.PDS-FOOTNOTE-LINK.PDS-HR.PDS-LOADING-PAGE.PDS-LOGO.PDS-LOGOUT-PAGE.PDS-NOTIFICATION-BADGE.PDS-PAGINATION-ITEM.PDS-PHONE-NUMBER-INPUT.PDS-RADIO.PDS-SESSION-TIMER.PDS-SESSION-TIMER-COUNTDOWN.PDS-SKELETON-LOADER.PDS-SLIDER-RANGE.PDS-SLIDER.PDS-SWITCH.PDS-TABLE-EXPANDABLE-ROW-BUTTON.PDS-TEXT-AREA.PDS-TEXT-INPUT.PDS-TOAST-CONTAINER.PDS-VIDEO-PLAYER".split("."); 3258 function n(e) { 3259 if (!e) return !1; 3260 let n = e.toUpperCase(); 3261 return t.includes(n) || n.startsWith("PDS-ICON-"); 3262 } 3263 function r(e) { 3264 return e ? e.replace(/\s+/g, " ").trim() : ""; 3265 } 3266 return function(t, i, a) { 3267 let o = a.value, s = (e) => e; 3268 return a.value = function(...t) { 3269 let i = o.apply(this, t); 3270 return this.initialRenderForRequiredSlotValidation && (this.requiredSlotTimeout && clearTimeout(this.requiredSlotTimeout), this.requiredSlotTimeout = setTimeout(() => { 3271 let t = []; 3272 e.forEach((e) => { 3273 if (e === "default") { 3274 let t = Array.from(this.childNodes).some((e) => !!(e.nodeType === Node.TEXT_NODE && r(e.textContent) !== "" || e instanceof Element && r(e.textContent) !== "" && !e.hasAttribute("slot") || e instanceof Element && n(e.tagName))); 3275 this.requiredSlotElements[e] = t; 3276 } else this.requiredSlotElements[e] = !!this.querySelector(`[slot="${e}"]`); 3277 }), this.initialRenderForRequiredSlotValidation = !1, Object.entries(this.requiredSlotElements).forEach(([e, n]) => { 3278 n || t.push(e); 3279 }), t.length > 0 ? (this.hasRequiredSlotError = !0, this.lastSlotErrors = t, console.warn("A required slot has not been populated: ", t, this), this.requestUpdate()) : this.hasRequiredSlotError && (this.hasRequiredSlotError = !1, this.lastSlotErrors = []); 3280 }, 2e3)), this.hasRequiredSlotError ? s(i) : i; 3281 }, a; 3282 }; 3283} 3284//#endregion 3285//#region node_modules/@principal/design-system/es/alert.js 3286var ti = "\n<svg\n class=\"lucide lucide-triangle-alert\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n>\n <path d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\" />\n <path d=\"M12 9v4\" />\n <path d=\"M12 17h.01\" />\n</svg>\n", ni = "*,::slotted(*),*:before,*:after{box-sizing:border-box}.pds-u-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.pds-u-focus-visible-only:focus:not(:focus-visible){outline:none!important}:host{display:block}
3286.pds-c-alert__alert-body{display:flex;padding:0}.pds-c-alert__close-button-wrapper{position:relative;margin-left:auto}.pds-c-alert__icon{--pds-icon-color-override: var(--pds-semantic-border-icon-default)}.pds-c-alert--banner .pds-c-alert__icon{--pds-icon-color-override: var(--pds-semantic-border-inverted-default)}.pds-c-alert__alert-content{font-weight:var(--pds-semantic-type-body-default-font-weight);font-size:var(--pds-semantic-type-body-default-font-size);line-height:var(--pds-semantic-type-body-default-line-height);font-family:var(--pds-semantic-type-body-default-font-family);letter-spacing:var(--pds-semantic-type-body-default-letter-spacing);text-transform:var(--pds-semantic-type-body-default-text-transform);display:block;margin-left:calc(var(--pds-base-unit) * 4);margin-right:calc(var(--pds-base-unit) * 6)}.pds-c-alert--banner .pds-c-alert__alert-content{color:var(--pds-semantic-text-inverted-default)}.pds-c-alert--condensed .pds-c-alert__alert-content{margin-left:calc(var(--pds-base-unit) * 1)}::slotted(sup){line-height:0}.pds-c-alert__card{border:1px solid var(--pds-semantic-border-default);border-radius:calc(var(--pds-base-unit) * 1);height:100%;overflow:var(--pds-card-overflow, hidden);background-color:var(--pds-semantic-background-default);padding:calc(var(--pds-base-unit) * 3) calc(var(--pds-base-unit) * 2) calc(var(--pds-base-unit) * 3) calc(var(--pds-base-unit) * 3)}@media(max-width:640px){.pds-c-alert__card{padding:calc(var(--pds-base-unit) * 2) calc(var(--pds-base-unit) * 1)}.pds-c-alert__card .pds-c-alert__alert-content{margin-left:calc(var(--pds-base-unit) * 1)}}.pds-c-alert--information .pds-c-alert__card{border-left:calc(var(--pds-base-unit) * 1) solid var(--pds-semantic-border-info);border-color:var(--pds-semantic-border-info)}.pds-c-alert--success .pds-c-alert__card{border-left:calc(var(--pds-base-unit) * 1) solid var(--pds-semantic-border-success);border-color:var(--pds-semantic-border-success)}.pds-c-alert--error .pds-c-alert__card{border-left:calc(var(--pds-base-unit) * 1) solid var(--pds-semantic-border-error);border-color:var(--pds-semantic-border-error)}.pds-c-alert--warning .pds-c-alert__card{border-left:calc(var(--pds-base-unit) * 1) solid var(--pds-semantic-border-warning);border-color:var(--pds-semantic-border-warning)}.pds-c-alert--banner .pds-c-alert__card{border-radius:0;border:none;padding:calc(var(--pds-base-unit) * 3);background-color:transparent}@media(max-width:640px){.pds-c-alert--banner .pds-c-alert__card{padding:calc(var(--pds-base-unit) * 2) calc(var(--pds-base-unit) * 1)}}.pds-c-alert--condensed .pds-c-alert__card{padding:calc(var(--pds-base-unit) * 2) calc(var(--pds-base-unit) * 1)}.pds-c-alert--banner{background-color:var(--pds-semantic-background-brand-xstrong)}.pds-c-alert__close-button{position:absolute;right:0;top:-3px}.pds-c-alert__close-button[variant=icon] .pds-c-alert__close-button-x-icon{--pds-icon-color-override: var(--pds-semantic-border-icon-default)}.pds-c-alert__close-button[variant=icon-inverted] .pds-c-alert__close-button-x-icon{--pds-icon-color-override: var(--pds-semantic-border-inverted-default)}.pds-is-hidden{display:none}", ri = Object.defineProperty, ii = Object.getOwnPropertyDescriptor, ai = (e, t, n, r) => { 3287 for (var i = r > 1 ? void 0 : r ? ii(t, n) : t, a = e.length - 1, o; a >= 0; a--) (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i); 3288 return r && i && ri(t, n, i), i; 3289}, oi = class extends q { 3290 constructor() { 3291 super(...arguments), this.icon = ti; 3292 } 3293 render() { 3294 return l`${p(this.setIconAttributes())}`; 3295 } 3296}; 3297ai([g()], oi.prototype, "icon", 2), oi = ai([K("pds-icon-alert-triangle")], oi); 3298var si = Object.defineProperty, ci = Object.getOwnPropertyDescriptor, Z = (e, t, n, r) => { 3299 for (var i = r > 1 ? void 0 : r ? ci(t, n) : t, a = e.length - 1, o; a >= 0; a--) (o = e[a]) && (i = (r ? o(t, n, i) : o(i)) || i); 3300 return r && i && si(t, n, i), i; 3301}, Q = class extends F { 3302 constructor() { 3303 super(...arguments), this.variant = "information", this.hideDismissButton = !1, this.size = "default", this.hidden = !1, this.hiddenOnPageLoad = !1, this.isValidAlert = !0, this.errorDetailsMessage = ""; 3304 } 3305 connectedCallback() { 3306 super.connectedCallback(), this.initLocalization(); 3307 } 3308 async checkLinkVariants() { 3309 this.variant === "error" && this.hideDismissButton && console.warn("Error alert cannot be dismissible and will always render without a close button. Please remove the hideDismissButton property to remove this warning.", this.outerHTML), this.querySelectorAll("pds-link").forEach(async (e) => { 3310 let t = e; 3311 await t.updateComplete; 3312 let n = t.variant ? t.variant : e.getAttribute("variant"), r = e.hasAttribute("inverted") || t.inverted === !0; 3313 this.variant === "banner" ? n === "strong-inverted" || n === "strong" && r || (this.errorDetailsMessage = "Invalid link configuration. Links in a banner alert must use variant='strong' with the inverted property, or the deprecated variant='strong-inverted'. Please update this link with the correct variant to remove this warning.", console.error(this.errorDetailsMessage, e), this.isValidAlert = !1) : (n !== "strong" || r) && (this.errorDetailsMessage = "Invalid link configuration. Links in a non-banner alert must use variant='strong' without the inverted property. Please update this link with the correct variant to remove this warning.", console.error(this.errorDetailsMessage, e), this.isValidAlert = !1); 3314 }); 3315 } 3316 getIcon() { 3317 switch (this.variant) { 3318 case "success": return l`<pds-icon-check size="lg"></pds-icon-check>`; 3319 case "information": return l`<pds-icon-info size="lg"></pds-icon-info>`; 3320 case "warning": return l`<pds-icon-alert-triangle 3321 size="lg" 3322 ></pds-icon-alert-triangle>`; 3323 default: return l`<pds-icon-alert-circle size="lg"></pds-icon-alert-circle>`; 3324 } 3325 } 3326 showAlert() { 3327 this.hidden = !1, this.style.display = "block"; 3328 } 3329 hideAlertWithCloseButtonClick(e) { 3330 let t = new CustomEvent("PdsAlertCloseButtonClick", { 3331 bubbles: !0, 3332 cancelable: !0,
3333 composed: !0, 3334 detail: { alertContents: this.getScreenReaderLabel() } 3335 }); 3336 if (Sr(t, this), t.defaultPrevented) { 3337 e.preventDefault(); 3338 return; 3339 } 3340 this.hideAlert(); 3341 } 3342 hideAlert() { 3343 this.hidden = !0, this.style.display = "none"; 3344 } 3345 getCloseButtonMarkup() { 3346 return l` 3347 <div class=${this.classEl("close-button-wrapper")}> 3348 <pds-button 3349 class=${this.classEl("close-button")} 3350 variant="${this.variant === "banner" ? "icon-inverted" : "icon"}" 3351 size="sm" 3352 ariaLabel="${this.translateText("close")}" 3353 @click=${this.hideAlertWithCloseButtonClick} 3354 ><pds-icon-x class=${this.classEl("close-button-x-icon")}></pds-icon-x 3355 ></pds-button> 3356 </div> 3357 `; 3358 } 3359 async firstUpdated() { 3360 super.firstUpdated(), await this.checkLinkVariants(), this.hiddenOnPageLoad && this.hideAlert(), this.defaultSlotElements.forEach((e) => { 3361 this.applyLineHeightToSuperscriptElements(e); 3362 }); 3363 } 3364 applyLineHeightToSuperscriptElements(e) { 3365 e.childNodes.forEach((e) => { 3366 if (e.nodeName === "SUP") { 3367 let t = e; 3368 t.style.lineHeight = "0"; 3369 } 3370 e.hasChildNodes() && this.applyLineHeightToSuperscriptElements(e); 3371 }); 3372 } 3373 get classNames() { 3374 return { 3375 [this.variant]: !!this.variant, 3376 "is-hidden": this.hidden, 3377 condensed: this.size === "condensed" 3378 }; 3379 } 3380 getScreenReaderLabel() { 3381 let e = ""; 3382 switch (this.variant) { 3383 case "success": 3384 e += this.translateText("success-alert"); 3385 break; 3386 case "warning": 3387 e += this.translateText("warning-alert"); 3388 break; 3389 case "error": 3390 e += this.translateText("error-alert"); 3391 break; 3392 case "banner": 3393 e += this.translateText("banner-alert"); 3394 break; 3395 default: 3396 e += this.translateText("information-alert"); 3397 break; 3398 } 3399 return (this.hideDismissButton || this.variant === "error") && (e += ` ${this.translateText("alert-not-dismissible")}`), e; 3400 } 3401 getScreenReaderText() { 3402 return l`<span 3403 class="pds-u-sr-only" 3404 id="alert-sr-text" 3405 aria-hidden="true" 3406 >${this.getScreenReaderLabel()}</span 3407 >`; 3408 } 3409 render() { 3410 return this.isValidAlert ? this.layoutContainerVariant && this.variant !== "banner" ? l`<pds-layout-container 3411 variant=${this.layoutContainerVariant} 3412 removePadding=${a(this.layoutContainerRemovePadding)} 3413 ><div 3414 class=${this.getClass()} 3415 role=${this.variant === "error" ? "alert" : "status"} 3416 aria-live=${this.variant === "error" ? "assertive" : "polite"} 3417 aria-labelledby="alert-sr-text" 3418 > 3419 <div class="${this.classEl("card")}"> 3420 <div class="${this.classEl("alert-body")}"> 3421 <div class="${this.classEl("icon")}">${this.getIcon()}</div> 3422 <div class="${this.classEl("alert-content")}"> 3423 ${this.getScreenReaderText()} 3424 <slot></slot> 3425 </div> 3426 ${this.variant === "error" || this.hideDismissButton ? f : this.getCloseButtonMarkup()} 3427 </div> 3428 </div> 3429 </div></pds-layout-container 3430 >` : this.layoutContainerVariant && this.variant === "banner" ? l`<div 3431 class=${this.getClass()} 3432 role="status" 3433 aria-live="polite" 3434 > 3435 <pds-layout-container 3436 variant=${this.layoutContainerVariant} 3437 removePadding=${a(this.layoutContainerRemovePadding)} 3438 > 3439 <div class="${this.classEl("card")}"> 3440 <div class="${this.classEl("alert-body")}"> 3441 <div class="${this.classEl("icon")}">${this.getIcon()}</div> 3442 <div class="${this.classEl("alert-content")}"> 3443 ${this.getScreenReaderText()} 3444 <slot></slot> 3445 </div> 3446 ${this.hideDismissButton ? f : this.getCloseButtonMarkup()} 3447 </div> 3448 </div> 3449 </pds-layout-container> 3450 </div>` : l`<div 3451 class=${this.getClass()} 3452 role=${this.variant === "error" ? "alert" : "status"} 3453 aria-live=${this.variant === "error" ? "assertive" : "polite"} 3454 aria-labelledby="alert-sr-text" 3455 > 3456 <div class="${this.classEl("card")}"> 3457 <div class="${this.classEl("alert-body")}"> 3458 <div class="${this.classEl("icon")}">${this.getIcon()}</div> 3459 <div class="${this.classEl("alert-content")}">
3460 ${this.getScreenReaderText()} 3461 <slot></slot> 3462 </div> 3463 ${this.variant === "error" || this.hideDismissButton ? f : this.getCloseButtonMarkup()} 3464 </div> 3465 </div> 3466 </div>` : kr("pds-alert", this.errorDetailsMessage); 3467 } 3468}; 3469Z([o()], Q.prototype, "variant", 2), Z([o({ type: String })], Q.prototype, "layoutContainerVariant", 2), Z([o({ type: String })], Q.prototype, "layoutContainerRemovePadding", 2), Z([o({ type: Boolean })], Q.prototype, "hideDismissButton", 2), Z([o()], Q.prototype, "size", 2), Z([g()], Q.prototype, "hidden", 2), Z([o()], Q.prototype, "hiddenOnPageLoad", 2), Z([g()], Q.prototype, "isValidAlert", 2), Z([h({ slot: void 0 })], Q.prototype, "defaultSlotElements", 2), Z([ei(["default"])], Q.prototype, "render", 1), Q = Z([b("pds-alert", { 3470 category: "component", 3471 type: "component", 3472 state: "stable", 3473 styles: ni 3474})], Q); 3475//#endregion 3476//#region packages/pdscoveo/src/components/pdscoveo-notifications/pdscoveo-notifications.ts 3477var $ = class extends m { 3478 constructor(...e) { 3479 super(...e), this.hideDismissButton = !1, this.lineLength = "default", this.variant = "information", this.notificationUnsubscribe = () => {}; 3480 } 3481 static { 3482 this.styles = [i(_)]; 3483 } 3484 get notifications() { 3485 return this.notifyTriggerState?.notifications || []; 3486 } 3487 async connectedCallback() { 3488 super.connectedCallback(); 3489 try { 3490 this.bindings = await e(this), this.notifyTrigger = r(this.bindings.engine), this.notificationUnsubscribe = this.notifyTrigger.subscribe(() => this.notifyTriggerState = this.notifyTrigger.state); 3491 } catch (e) { 3492 console.error(e), this.error = e; 3493 } 3494 } 3495 disconnectedCallback() { 3496 this.notificationUnsubscribe(); 3497 } 3498 render() { 3499 if (this.error) return "html\n <p>\n Error when initializing notifications, please view the console for\n more information.\n </p>\n "; 3500 if (this.notifications.length) return l` 3501 <div class="notification-container"> 3502 ${this.notifications.map((e) => l` 3503 <pds-alert 3504 hideDismissButton=${this.hideDismissButton} 3505 variant=${this.variant} 3506 > 3507 <pds-text-passage 3508 lineLength=${this.lineLength} 3509 > 3510 ${p(e)} 3511 </pds-text-passage> 3512 </pds-alert> 3513 `)} 3514 </div> 3515 `; 3516 } 3517}; 3518t([g(), n("design:type", Object)], $.prototype, "notifyTriggerState", void 0), t([o({ 3519 attribute: "hide-dismiss-button", 3520 type: Boolean 3521}), n("design:type", Object)], $.prototype, "hideDismissButton", void 0), t([o({ attribute: "line-length" }), n("design:type", Object)], $.prototype, "lineLength", void 0), t([o({ attribute: "variant" }), n("design:type", Object)], $.prototype, "variant", void 0), $ = t([s("pdscoveo-notifications")], $); 3522//#endregion 3523export { q as a, F as c, Sr as i, b as l, ei as n, K as o, kr as r, nr as s, $ as t }; 3524 3525//# sourceMappingURL=pdscoveo-notifications.CdZO0xYK.js.map
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.