@schematichq/schematic-components 2.36.1 → 2.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1936,6 +1936,7 @@ var initialContext = {
1936
1936
  getUpcomingInvoice: stub,
1937
1937
  getCustomerBalance: stub,
1938
1938
  listInvoices: stub,
1939
+ getInvoiceLink: stub,
1939
1940
  getCreditUsageByUser: stub,
1940
1941
  getFeatureUsageByUser: stub,
1941
1942
  createSetupIntent: stub,
@@ -1962,7 +1963,7 @@ var initialContext = {
1962
1963
  };
1963
1964
  var EmbedContext = createContext(initialContext);
1964
1965
 
1965
- // node_modules/.pnpm/@schematichq+schematic-icons@0.8.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@schematichq/schematic-icons/dist/components/Icon/Icon.js
1966
+ // node_modules/.pnpm/@schematichq+schematic-icons@0.8.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@schematichq/schematic-icons/dist/components/Icon/Icon.js
1966
1967
  import { jsx as _jsx } from "react/jsx-runtime";
1967
1968
 
1968
1969
  // node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
@@ -1983,7 +1984,7 @@ var isPropValid = /* @__PURE__ */ memoize(
1983
1984
  /* Z+1 */
1984
1985
  );
1985
1986
 
1986
- // node_modules/.pnpm/styled-components@6.5.3_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/styled-components/dist/styled-components.browser.esm.js
1987
+ // node_modules/.pnpm/styled-components@6.6.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js
1987
1988
  import t, { createElement as n } from "react";
1988
1989
 
1989
1990
  // node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js
@@ -2605,26 +2606,9 @@ function prefixer(element, index, children, callback) {
2605
2606
  }
2606
2607
  }
2607
2608
 
2608
- // node_modules/.pnpm/styled-components@6.5.3_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/styled-components/dist/styled-components.browser.esm.js
2609
- var r;
2610
- var i;
2611
- var c = "undefined" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled";
2612
- var a = "active";
2613
- var l = "data-styled-version";
2614
- var u = "6.5.3";
2615
- var h = "/*!sc*/\n";
2616
- var d = "undefined" != typeof window && "undefined" != typeof document;
2617
- function p(e) {
2618
- if ("undefined" != typeof process && void 0 !== process.env) {
2619
- const t3 = process.env[e];
2620
- if (void 0 !== t3 && "" !== t3) return "false" !== t3;
2621
- }
2622
- }
2623
- var f = Boolean("boolean" == typeof SC_DISABLE_SPEEDY ? SC_DISABLE_SPEEDY : null !== (i = null !== (r = p("REACT_APP_SC_DISABLE_SPEEDY")) && void 0 !== r ? r : p("SC_DISABLE_SPEEDY")) && void 0 !== i ? i : "undefined" != typeof process && void 0 !== process.env && true);
2624
- var m = "sc-keyframes-";
2625
- var y = {};
2626
- var g = true ? { 1: "Cannot create styled-component for component: %s.\n\n", 2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n", 3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n", 4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n", 5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n", 6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n", 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n', 8: 'ThemeProvider: Please make your "theme" prop an object.\n\n', 9: "Missing document `<head>`\n\n", 10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n", 11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n", 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://styled-components.com/docs/api#css\n\n", 13: "%s is not a styled component and cannot be referred to via component selector. See https://styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n", 14: 'ThemeProvider: "theme" prop is required.\n\n', 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n", 16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n", 17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n\n", 18: "Accessing `useTheme` hook outside of a `<ThemeProvider>` element.\n\n```jsx\nimport { useTheme } from 'styled-components';\nexport function StyledCompoent({ children }) {\n const theme = useTheme();\n return <div style={{ width: theme.sizes.full }}>{children}</div>;\n}\n\nimport { StyledComponent } from './StyledComponent';\nimport { theme } from './theme';\nexport function App() {\n return (\n <ThemeProvider theme={theme}>\n <StyledComponent />\n </ThemeProvider>\n );\n}\n```\n\nIf you need access to the theme in an uncertain composition scenario, `React.useContext(ThemeContext)` will not emit an error if there is no `ThemeProvider` ancestor.\n" } : {};
2627
- function v(e, ...t3) {
2609
+ // node_modules/.pnpm/styled-components@6.6.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js
2610
+ var r = true ? { 1: "Cannot create styled-component for component: %s.\n\n", 2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n", 3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n", 4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n", 5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n", 6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n", 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n', 8: 'ThemeProvider: Please make your "theme" prop an object.\n\n', 9: "Missing document `<head>`\n\n", 10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n", 11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n", 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://styled-components.com/docs/api#css\n\n", 13: "%s is not a styled component and cannot be referred to via component selector. See https://styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n", 14: 'ThemeProvider: "theme" prop is required.\n\n', 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n", 16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n", 17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n\n", 18: "Accessing `useTheme` hook outside of a `<ThemeProvider>` element.\n\n```jsx\nimport { useTheme } from 'styled-components';\nexport function StyledComponent({ children }) {\n const theme = useTheme();\n return <div style={{ width: theme.sizes.full }}>{children}</div>;\n}\n\nimport { StyledComponent } from './StyledComponent';\nimport { theme } from './theme';\nexport function App() {\n return (\n <ThemeProvider theme={theme}>\n <StyledComponent />\n </ThemeProvider>\n );\n}\n```\n\nIf you need access to the theme in an uncertain composition scenario, `React.useContext(ThemeContext)` will not emit an error if there is no `ThemeProvider` ancestor.\n\n", 19: "styled-components loaded its browser build in a React Server Components environment. This usually happens when a route renders on the server with the edge runtime, or when a server bundle resolves the package's browser build. Remove `export const runtime = 'edge'`, or set it to `'nodejs'`, on every route that renders styled-components on the server, and make sure server code resolves the package's server build.\n\n", 20: "styled-components tried to create a `<style>` element on the server, where no `document` exists. This usually happens when a route renders on the server with the edge runtime, or when a server bundle resolves the package's browser build. Remove `export const runtime = 'edge'`, or set it to `'nodejs'`, on every route that renders styled-components on the server, and make sure server code resolves the package's server build.\n" } : {};
2611
+ function i(e, ...t3) {
2628
2612
  return false ? new Error(`An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#${e} for more information.${t3.length > 0 ? ` Args: ${t3.join(", ")}` : ""}`) : new Error((function(...e2) {
2629
2613
  let t4 = e2[0];
2630
2614
  const n2 = [];
@@ -2632,8 +2616,26 @@ function v(e, ...t3) {
2632
2616
  return n2.forEach((e3) => {
2633
2617
  t4 = t4.replace(/%[a-z]/, e3);
2634
2618
  }), t4;
2635
- })(g[e], ...t3).trim());
2619
+ })(r[e], ...t3).trim());
2620
+ }
2621
+ var a;
2622
+ var c;
2623
+ var l = "undefined" != typeof process && void 0 !== process.env && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled";
2624
+ var u = "active";
2625
+ var d = "data-styled-version";
2626
+ var h = "6.6.0";
2627
+ var p = "/*!sc*/\n";
2628
+ var f = "undefined" != typeof window && "undefined" != typeof document;
2629
+ if (!t.createContext) throw i(19);
2630
+ function m(e) {
2631
+ if ("undefined" != typeof process && void 0 !== process.env) {
2632
+ const t3 = process.env[e];
2633
+ if (void 0 !== t3 && "" !== t3) return "false" !== t3;
2634
+ }
2636
2635
  }
2636
+ var y = Boolean("boolean" == typeof SC_DISABLE_SPEEDY ? SC_DISABLE_SPEEDY : null !== (c = null !== (a = m("REACT_APP_SC_DISABLE_SPEEDY")) && void 0 !== a ? a : m("SC_DISABLE_SPEEDY")) && void 0 !== c ? c : "undefined" != typeof process && void 0 !== process.env && true);
2637
+ var g = "sc-keyframes-";
2638
+ var v = {};
2637
2639
  var S = 1 << 30;
2638
2640
  var b = /* @__PURE__ */ new Map();
2639
2641
  var w = /* @__PURE__ */ new Map();
@@ -2642,7 +2644,7 @@ var C = (e) => {
2642
2644
  if (b.has(e)) return b.get(e);
2643
2645
  for (; w.has(N); ) N++;
2644
2646
  const t3 = N++;
2645
- if ((0 | t3) < 0 || t3 > S) throw v(16, `${t3}`);
2647
+ if ((0 | t3) < 0 || t3 > S) throw i(16, `${t3}`);
2646
2648
  return b.set(e, t3), w.set(t3, e), t3;
2647
2649
  };
2648
2650
  var O = (e) => w.get(e);
@@ -2670,22 +2672,22 @@ See https://styled-components.com/docs/basics#define-styled-components-outside-o
2670
2672
  }
2671
2673
  }
2672
2674
  };
2673
- var I = Object.freeze([]);
2674
- var $ = Object.freeze({});
2675
- function R(e, t3, n2 = $) {
2675
+ var $ = Object.freeze([]);
2676
+ var I = Object.freeze({});
2677
+ function x(e, t3, n2 = I) {
2676
2678
  return e.theme !== n2.theme && e.theme || t3 || n2.theme;
2677
2679
  }
2678
- var j = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g;
2679
- var x = /(^-|-$)/g;
2680
- function T(e) {
2681
- return e.replace(j, "-").replace(x, "");
2680
+ var R = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g;
2681
+ var j = /(^-|-$)/g;
2682
+ function k(e) {
2683
+ return e.replace(R, "-").replace(j, "");
2682
2684
  }
2683
- var k = /(a)(d)/gi;
2685
+ var T = /(a)(d)/gi;
2684
2686
  var D = (e) => String.fromCharCode(e + (e > 25 ? 39 : 97));
2685
2687
  function V(e) {
2686
2688
  let t3, n2 = "";
2687
2689
  for (t3 = Math.abs(e); t3 > 52; t3 = t3 / 52 | 0) n2 = D(t3 % 52) + n2;
2688
- return (D(t3 % 52) + n2).replace(k, "$1-$2");
2690
+ return (D(t3 % 52) + n2).replace(T, "$1-$2");
2689
2691
  }
2690
2692
  var M = 5381;
2691
2693
  var G = (e, t3) => {
@@ -2728,11 +2730,11 @@ function se(e, t3, n2) {
2728
2730
  o && o !== oe && se(e, o, n2);
2729
2731
  const s = Z(t3).concat(ee(t3)), r2 = K(e), i2 = K(t3);
2730
2732
  for (let o2 = 0; o2 < s.length; ++o2) {
2731
- const c2 = s[o2];
2732
- if (!(c2 in U || n2 && n2[c2] || i2 && c2 in i2 || r2 && c2 in r2)) {
2733
- const n3 = te(t3, c2);
2733
+ const a2 = s[o2];
2734
+ if (!(a2 in U || n2 && n2[a2] || i2 && a2 in i2 || r2 && a2 in r2)) {
2735
+ const n3 = te(t3, a2);
2734
2736
  try {
2735
- Q(e, c2, n3);
2737
+ Q(e, a2, n3);
2736
2738
  } catch (e2) {
2737
2739
  }
2738
2740
  }
@@ -2744,10 +2746,10 @@ function re(e) {
2744
2746
  return "function" == typeof e;
2745
2747
  }
2746
2748
  var ie = /* @__PURE__ */ Symbol.for("react.forward_ref");
2747
- function ce(e) {
2749
+ function ae(e) {
2748
2750
  return null != e && ("object" == typeof e || "function" == typeof e) && e.$$typeof === ie && "styledComponentId" in e;
2749
2751
  }
2750
- function ae(e, t3) {
2752
+ function ce(e, t3) {
2751
2753
  return e && t3 ? e + " " + t3 : e || t3 || "";
2752
2754
  }
2753
2755
  function le(e, t3) {
@@ -2756,13 +2758,13 @@ function le(e, t3) {
2756
2758
  function ue(e) {
2757
2759
  return null !== e && "object" == typeof e && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
2758
2760
  }
2759
- function he(e, t3, n2 = false) {
2761
+ function de(e, t3, n2 = false) {
2760
2762
  if (!n2 && !ue(e) && !Array.isArray(e)) return t3;
2761
- if (Array.isArray(t3)) for (let n3 = 0; n3 < t3.length; n3++) e[n3] = he(e[n3], t3[n3]);
2762
- else if (ue(t3)) for (const n3 in t3) e[n3] = he(e[n3], t3[n3]);
2763
+ if (Array.isArray(t3)) for (let n3 = 0; n3 < t3.length; n3++) e[n3] = de(e[n3], t3[n3]);
2764
+ else if (ue(t3)) for (const n3 in t3) e[n3] = de(e[n3], t3[n3]);
2763
2765
  return e;
2764
2766
  }
2765
- function de(e, t3) {
2767
+ function he(e, t3) {
2766
2768
  Object.defineProperty(e, "toString", { value: t3 });
2767
2769
  }
2768
2770
  var pe = class {
@@ -2780,7 +2782,7 @@ var pe = class {
2780
2782
  if (e >= this.groupSizes.length) {
2781
2783
  const t4 = this.groupSizes, n3 = t4.length;
2782
2784
  let o2 = n3;
2783
- for (; e >= o2; ) if (o2 <<= 1, o2 < 0) throw v(16, `${e}`);
2785
+ for (; e >= o2; ) if (o2 <<= 1, o2 < 0) throw i(16, `${e}`);
2784
2786
  this.groupSizes = new Uint32Array(o2), this.groupSizes.set(t4), this.length = o2;
2785
2787
  for (let e2 = n3; e2 < o2; e2++) this.groupSizes[e2] = 0;
2786
2788
  }
@@ -2800,70 +2802,84 @@ var pe = class {
2800
2802
  let t3 = "";
2801
2803
  if (e >= this.length || 0 === this.groupSizes[e]) return t3;
2802
2804
  const n2 = this.groupSizes[e], o = this.indexOfGroup(e), s = o + n2;
2803
- for (let e2 = o; e2 < s; e2++) t3 += this.tag.getRule(e2) + h;
2805
+ for (let e2 = o; e2 < s; e2++) t3 += this.tag.getRule(e2) + p;
2804
2806
  return t3;
2805
2807
  }
2806
2808
  };
2807
- var fe = `style[${c}][${l}="${u}"]`;
2808
- var me = new RegExp(`^${c}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`);
2809
- var ye = (e) => "undefined" != typeof ShadowRoot && e instanceof ShadowRoot || "host" in e && 11 === e.nodeType;
2810
- var ge = (e) => {
2809
+ var fe = `style[${l}][${d}="${h}"]`;
2810
+ var me = new RegExp(`^${l}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`);
2811
+ var ye = false;
2812
+ var ge = (e) => "undefined" != typeof ShadowRoot && e instanceof ShadowRoot || "host" in e && 11 === e.nodeType;
2813
+ var ve = (e) => {
2811
2814
  if (!e) return document;
2812
- if (ye(e)) return e;
2815
+ if (ge(e)) return e;
2813
2816
  if ("getRootNode" in e) {
2814
2817
  const t3 = e.getRootNode();
2815
- if (ye(t3)) return t3;
2818
+ if (ge(t3)) return t3;
2816
2819
  }
2817
2820
  return document;
2818
2821
  };
2819
- var ve = (e, t3, n2) => {
2822
+ var Se = (e, t3, n2) => {
2820
2823
  const o = n2.split(",");
2821
2824
  let s;
2822
2825
  for (let n3 = 0, r2 = o.length; n3 < r2; n3++) (s = o[n3]) && e.registerName(t3, s);
2823
2826
  };
2824
- var Se = (e, t3) => {
2827
+ var be = (e, t3) => {
2825
2828
  var n2;
2826
- const o = (null !== (n2 = t3.textContent) && void 0 !== n2 ? n2 : "").split(h), s = [];
2829
+ const o = (null !== (n2 = t3.textContent) && void 0 !== n2 ? n2 : "").split(p), s = [];
2827
2830
  for (let t4 = 0, n3 = o.length; t4 < n3; t4++) {
2828
2831
  const n4 = o[t4].trim();
2829
2832
  if (!n4) continue;
2830
2833
  const r2 = n4.match(me);
2831
2834
  if (r2) {
2832
2835
  const t5 = 0 | parseInt(r2[1], 10), n5 = r2[2];
2833
- 0 !== t5 && (E(n5, t5), ve(e, n5, r2[3]), e.getTag().insertRules(t5, s)), s.length = 0;
2836
+ 0 !== t5 && (E(n5, t5), Se(e, n5, r2[3]), e.getTag().insertRules(t5, s)), s.length = 0;
2834
2837
  } else s.push(n4);
2835
2838
  }
2836
2839
  };
2837
- var be = (e) => {
2838
- const t3 = ge(e.options.target).querySelectorAll(fe);
2839
- for (let n2 = 0, o = t3.length; n2 < o; n2++) {
2840
- const o2 = t3[n2];
2841
- o2 && o2.getAttribute(c) !== a && (Se(e, o2), o2.parentNode && o2.parentNode.removeChild(o2));
2840
+ var we = (e) => {
2841
+ const t3 = ve(e.options.target);
2842
+ ((e2) => {
2843
+ if (true) {
2844
+ if (ye) return;
2845
+ const t4 = e2.querySelectorAll(`style[${l}]`);
2846
+ for (let e3 = 0, n3 = t4.length; e3 < n3; e3++) {
2847
+ if (t4[e3].getAttribute(l) === u) continue;
2848
+ const n4 = t4[e3].getAttribute(d);
2849
+ if (null !== n4 && n4 !== h) return ye = true, void console.warn(`Found server-rendered styles from styled-components ${n4}, but this copy is ${h}. If both come from the same app, class names will not match and hydration will fail: make sure the server and the browser load the same version (run \`npm ls styled-components\` to find duplicates). Pages that intentionally host separate apps on different versions can ignore this.`);
2850
+ }
2851
+ }
2852
+ })(t3);
2853
+ const n2 = t3.querySelectorAll(fe);
2854
+ for (let t4 = 0, o = n2.length; t4 < o; t4++) {
2855
+ const o2 = n2[t4];
2856
+ o2 && o2.getAttribute(l) !== u && (be(e, o2), o2.parentNode && o2.parentNode.removeChild(o2));
2842
2857
  }
2843
2858
  };
2844
- var we = false;
2845
- function Ne() {
2846
- if (false !== we) return we;
2859
+ var Ne = false;
2860
+ function Ce() {
2861
+ if (false !== Ne) return Ne;
2847
2862
  if ("undefined" != typeof document) {
2848
2863
  const e = document.head.querySelector('meta[property="csp-nonce"]');
2849
- if (e) return we = e.nonce || e.getAttribute("content") || void 0;
2864
+ if (e) return Ne = e.nonce || e.getAttribute("content") || void 0;
2850
2865
  const t3 = document.head.querySelector('meta[name="sc-nonce"]');
2851
- if (t3) return we = t3.getAttribute("content") || void 0;
2866
+ if (t3) return Ne = t3.getAttribute("content") || void 0;
2852
2867
  }
2853
- return we = "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : void 0;
2868
+ return Ne = "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : void 0;
2854
2869
  }
2855
- var Ce = (e, t3) => {
2870
+ var Oe = (e, t3) => {
2871
+ if ("undefined" == typeof document) throw i(20);
2856
2872
  const n2 = document.head, o = e || n2, s = document.createElement("style"), r2 = ((e2) => {
2857
- const t4 = Array.from(e2.querySelectorAll(`style[${c}]`));
2873
+ const t4 = Array.from(e2.querySelectorAll(`style[${l}]`));
2858
2874
  return t4[t4.length - 1];
2859
- })(o), i2 = void 0 !== r2 ? r2.nextSibling : null;
2860
- s.setAttribute(c, a), s.setAttribute(l, u);
2861
- const h2 = t3 || Ne();
2862
- return h2 && s.setAttribute("nonce", h2), o.insertBefore(s, i2), s;
2875
+ })(o), a2 = void 0 !== r2 ? r2.nextSibling : null;
2876
+ s.setAttribute(l, u), s.setAttribute(d, h);
2877
+ const c2 = t3 || Ce();
2878
+ return c2 && s.setAttribute("nonce", c2), o.insertBefore(s, a2), s;
2863
2879
  };
2864
- var Oe = class {
2880
+ var Ee = class {
2865
2881
  constructor(e, t3) {
2866
- this.element = Ce(e, t3), this.element.appendChild(document.createTextNode("")), this.sheet = ((e2) => {
2882
+ this.element = Oe(e, t3), this.element.appendChild(document.createTextNode("")), this.sheet = ((e2) => {
2867
2883
  var t4;
2868
2884
  if (e2.sheet) return e2.sheet;
2869
2885
  const n2 = null !== (t4 = e2.getRootNode().styleSheets) && void 0 !== t4 ? t4 : document.styleSheets;
@@ -2871,7 +2887,7 @@ var Oe = class {
2871
2887
  const o2 = n2[t5];
2872
2888
  if (o2.ownerNode === e2) return o2;
2873
2889
  }
2874
- throw v(17);
2890
+ throw i(17);
2875
2891
  })(this.element), this.length = 0;
2876
2892
  }
2877
2893
  insertRule(e, t3) {
@@ -2889,9 +2905,9 @@ var Oe = class {
2889
2905
  return t3 && t3.cssText ? t3.cssText : "";
2890
2906
  }
2891
2907
  };
2892
- var Ee = class {
2908
+ var Ae = class {
2893
2909
  constructor(e, t3) {
2894
- this.element = Ce(e, t3), this.nodes = this.element.childNodes, this.length = 0;
2910
+ this.element = Oe(e, t3), this.nodes = this.element.childNodes, this.length = 0;
2895
2911
  }
2896
2912
  insertRule(e, t3) {
2897
2913
  if (e <= this.length && e >= 0) {
@@ -2907,14 +2923,14 @@ var Ee = class {
2907
2923
  return e < this.length ? this.nodes[e].textContent : "";
2908
2924
  }
2909
2925
  };
2910
- var Ae = d;
2911
- var Pe = { isServer: !d, useCSSOMInjection: !f };
2912
- var _e = class __e {
2926
+ var Pe = f;
2927
+ var _e = { isServer: !f, useCSSOMInjection: !y };
2928
+ var $e = class _$e {
2913
2929
  static registerId(e) {
2914
2930
  return C(e);
2915
2931
  }
2916
- constructor(e = $, t3 = {}, n2) {
2917
- this.options = Object.assign(Object.assign({}, Pe), e), this.gs = t3, this.keyframeIds = /* @__PURE__ */ new Set(), this.names = new Map(n2), this.server = !!e.isServer, !this.server && d && Ae && (Ae = false, be(this)), de(this, () => ((e2) => {
2932
+ constructor(e = I, t3 = {}, n2) {
2933
+ this.options = Object.assign(Object.assign({}, _e), e), this.gs = t3, this.keyframeIds = /* @__PURE__ */ new Set(), this.names = new Map(n2), this.server = !!e.isServer, !this.server && f && Pe && (Pe = false, we(this)), he(this, () => ((e2) => {
2918
2934
  const t4 = e2.getTag(), { length: n3 } = t4;
2919
2935
  let o = "";
2920
2936
  for (let s = 0; s < n3; s++) {
@@ -2924,26 +2940,26 @@ var _e = class __e {
2924
2940
  if (void 0 === r2 || !r2.size) continue;
2925
2941
  const i2 = t4.getGroup(s);
2926
2942
  if (0 === i2.length) continue;
2927
- const a2 = c + ".g" + s + '[id="' + n4 + '"]';
2928
- let l2 = "";
2929
- for (const e3 of r2) e3.length > 0 && (l2 += e3 + ",");
2930
- o += i2 + a2 + '{content:"' + l2 + '"}' + h;
2943
+ const a2 = l + ".g" + s + '[id="' + n4 + '"]';
2944
+ let c2 = "";
2945
+ for (const e3 of r2) e3.length > 0 && (c2 += e3 + ",");
2946
+ o += i2 + a2 + '{content:"' + c2 + '"}' + p;
2931
2947
  }
2932
2948
  return o;
2933
2949
  })(this));
2934
2950
  }
2935
2951
  rehydrate() {
2936
- !this.server && d && be(this);
2952
+ !this.server && f && we(this);
2937
2953
  }
2938
2954
  reconstructWithOptions(e, t3 = true) {
2939
- const n2 = new __e(Object.assign(Object.assign({}, this.options), e), this.gs, t3 && this.names || void 0);
2940
- return n2.keyframeIds = new Set(this.keyframeIds), !this.server && d && e.target !== this.options.target && ge(this.options.target) !== ge(e.target) && be(n2), n2;
2955
+ const n2 = new _$e(Object.assign(Object.assign({}, this.options), e), this.gs, t3 && this.names || void 0);
2956
+ return n2.keyframeIds = new Set(this.keyframeIds), !this.server && f && e.target !== this.options.target && ve(this.options.target) !== ve(e.target) && we(n2), n2;
2941
2957
  }
2942
2958
  allocateGSInstance(e) {
2943
2959
  return this.gs[e] = (this.gs[e] || 0) + 1;
2944
2960
  }
2945
2961
  getTag() {
2946
- return this.tag || (this.tag = (e = (({ useCSSOMInjection: e2, target: t3, nonce: n2 }) => e2 ? new Oe(t3, n2) : new Ee(t3, n2))(this.options), new pe(e)));
2962
+ return this.tag || (this.tag = (e = (({ useCSSOMInjection: e2, target: t3, nonce: n2 }) => e2 ? new Ee(t3, n2) : new Ae(t3, n2))(this.options), new pe(e)));
2947
2963
  var e;
2948
2964
  }
2949
2965
  hasNameForId(e, t3) {
@@ -2951,7 +2967,7 @@ var _e = class __e {
2951
2967
  return null !== (o = null === (n2 = this.names.get(e)) || void 0 === n2 ? void 0 : n2.has(t3)) && void 0 !== o && o;
2952
2968
  }
2953
2969
  registerName(e, t3) {
2954
- C(e), e.startsWith(m) && this.keyframeIds.add(e);
2970
+ C(e), e.startsWith(g) && this.keyframeIds.add(e);
2955
2971
  const n2 = this.names.get(e);
2956
2972
  n2 ? n2.add(t3) : this.names.set(e, /* @__PURE__ */ new Set([t3]));
2957
2973
  }
@@ -2969,12 +2985,12 @@ var _e = class __e {
2969
2985
  }
2970
2986
  };
2971
2987
  var Ie = /* @__PURE__ */ new WeakSet();
2972
- var $e = { animationIterationCount: 1, aspectRatio: 1, borderImageOutset: 1, borderImageSlice: 1, borderImageWidth: 1, columnCount: 1, columns: 1, flex: 1, flexGrow: 1, flexShrink: 1, gridRow: 1, gridRowEnd: 1, gridRowSpan: 1, gridRowStart: 1, gridColumn: 1, gridColumnEnd: 1, gridColumnSpan: 1, gridColumnStart: 1, fontWeight: 1, lineHeight: 1, opacity: 1, order: 1, orphans: 1, scale: 1, tabSize: 1, widows: 1, zIndex: 1, zoom: 1, WebkitLineClamp: 1, fillOpacity: 1, floodOpacity: 1, stopOpacity: 1, strokeDasharray: 1, strokeDashoffset: 1, strokeMiterlimit: 1, strokeOpacity: 1, strokeWidth: 1 };
2988
+ var xe = { animationIterationCount: 1, aspectRatio: 1, borderImageOutset: 1, borderImageSlice: 1, borderImageWidth: 1, columnCount: 1, columns: 1, flex: 1, flexGrow: 1, flexShrink: 1, gridRow: 1, gridRowEnd: 1, gridRowSpan: 1, gridRowStart: 1, gridColumn: 1, gridColumnEnd: 1, gridColumnSpan: 1, gridColumnStart: 1, fontWeight: 1, lineHeight: 1, opacity: 1, order: 1, orphans: 1, scale: 1, tabSize: 1, widows: 1, zIndex: 1, zoom: 1, WebkitLineClamp: 1, fillOpacity: 1, floodOpacity: 1, stopOpacity: 1, strokeDasharray: 1, strokeDashoffset: 1, strokeMiterlimit: 1, strokeOpacity: 1, strokeWidth: 1 };
2973
2989
  function Re(e, t3) {
2974
- return null == t3 || "boolean" == typeof t3 || "" === t3 ? "" : "number" != typeof t3 || 0 === t3 || e in $e || e.startsWith("--") ? String(t3).trim() : t3 + "px";
2990
+ return null == t3 || "boolean" == typeof t3 || "" === t3 ? "" : "number" != typeof t3 || 0 === t3 || e in xe || e.startsWith("--") ? String(t3).trim() : t3 + "px";
2975
2991
  }
2976
2992
  var je = 47;
2977
- function xe(e) {
2993
+ function ke(e) {
2978
2994
  if (45 === e.charCodeAt(0) && 45 === e.charCodeAt(1)) return e;
2979
2995
  let t3 = "";
2980
2996
  for (let n2 = 0; n2 < e.length; n2++) {
@@ -2984,49 +3000,49 @@ function xe(e) {
2984
3000
  return t3.startsWith("ms-") ? "-" + t3 : t3;
2985
3001
  }
2986
3002
  var Te = /* @__PURE__ */ Symbol.for("sc-keyframes");
2987
- function ke(e) {
3003
+ function De(e) {
2988
3004
  return "object" == typeof e && null !== e && Te in e;
2989
3005
  }
2990
- function De(e) {
3006
+ function Ve(e) {
2991
3007
  return re(e) && !(e.prototype && e.prototype.isReactComponent);
2992
3008
  }
2993
- var Ve = (e) => null == e || false === e || "" === e;
2994
- var Me = /* @__PURE__ */ Symbol.for("react.client.reference");
2995
- function Ge(e) {
2996
- return e.$$typeof === Me;
2997
- }
3009
+ var Me = (e) => null == e || false === e || "" === e;
3010
+ var Ge = /* @__PURE__ */ Symbol.for("react.client.reference");
2998
3011
  function Fe(e) {
3012
+ return e.$$typeof === Ge;
3013
+ }
3014
+ function ze(e) {
2999
3015
  const t3 = e.$$id, n2 = (t3 && t3.includes("#") ? t3.split("#").pop() : t3) || e.name || "unknown";
3000
3016
  console.warn(`Interpolating a client component (${n2}) as a selector is not supported in server components. The component selector pattern requires access to the component's internal class name, which is not available across the server/client boundary. Use a plain CSS class selector instead.`);
3001
3017
  }
3002
- function ze(e, t3) {
3018
+ function We(e, t3) {
3003
3019
  for (const n2 in e) {
3004
3020
  const o = e[n2];
3005
- e.hasOwnProperty(n2) && !Ve(o) && (Array.isArray(o) && Ie.has(o) || re(o) ? t3.push(xe(n2) + ":", o, ";") : ue(o) ? (t3.push(n2 + " {"), ze(o, t3), t3.push("}")) : t3.push(xe(n2) + ": " + Re(n2, o) + ";"));
3021
+ e.hasOwnProperty(n2) && !Me(o) && (Array.isArray(o) && Ie.has(o) || re(o) ? t3.push(ke(n2) + ":", o, ";") : ue(o) ? (t3.push(n2 + " {"), We(o, t3), t3.push("}")) : t3.push(ke(n2) + ": " + Re(n2, o) + ";"));
3006
3022
  }
3007
3023
  }
3008
- function We(e, t3, n2, o, s = []) {
3009
- if (Ve(e)) return s;
3024
+ function Le(e, t3, n2, o, s = []) {
3025
+ if (Me(e)) return s;
3010
3026
  const r2 = typeof e;
3011
3027
  if ("string" === r2) return s.push(e), s;
3012
3028
  if ("function" === r2) {
3013
- if (Ge(e)) return Fe(e), s;
3014
- if (De(e) && t3) {
3029
+ if (Fe(e)) return ze(e), s;
3030
+ if (Ve(e) && t3) {
3015
3031
  const r3 = e(t3);
3016
- return "object" != typeof r3 || Array.isArray(r3) || ke(r3) || ue(r3) || null === r3 || console.error(`${W(e)} is not a styled component and cannot be referred to via component selector. See https://styled-components.com/docs/advanced#referring-to-other-components for more details.`), We(r3, t3, n2, o, s);
3032
+ return "object" != typeof r3 || Array.isArray(r3) || De(r3) || ue(r3) || null === r3 || console.error(`${W(e)} is not a styled component and cannot be referred to via component selector. See https://styled-components.com/docs/advanced#referring-to-other-components for more details.`), Le(r3, t3, n2, o, s);
3017
3033
  }
3018
3034
  return s.push(e), s;
3019
3035
  }
3020
3036
  if (Array.isArray(e)) {
3021
- for (let r3 = 0; r3 < e.length; r3++) We(e[r3], t3, n2, o, s);
3037
+ for (let r3 = 0; r3 < e.length; r3++) Le(e[r3], t3, n2, o, s);
3022
3038
  return s;
3023
3039
  }
3024
- return ce(e) ? (s.push(`.${e.styledComponentId}`), s) : ke(e) ? (n2 ? (e.inject(n2, o), s.push(e.getName(o))) : s.push(e), s) : Ge(e) ? (Fe(e), s) : ue(e) ? e.toString !== Object.prototype.toString ? (s.push(e.toString()), s) : (ze(e, s), s) : (s.push(e.toString()), s);
3040
+ return ae(e) ? (s.push(`.${e.styledComponentId}`), s) : De(e) ? (n2 ? (e.inject(n2, o), s.push(e.getName(o))) : s.push(e), s) : Fe(e) ? (ze(e), s) : ue(e) ? e.toString !== Object.prototype.toString ? (s.push(e.toString()), s) : (We(e, s), s) : (s.push(e.toString()), s);
3025
3041
  }
3026
- var Le = F(u);
3027
- var Be = class {
3042
+ var Be = F(h);
3043
+ var qe = class {
3028
3044
  constructor(e, t3, n2) {
3029
- this.rules = e, this.componentId = t3, this.baseHash = G(Le, t3), this.baseStyle = n2, _e.registerId(t3);
3045
+ this.rules = e, this.componentId = t3, this.baseHash = G(Be, t3), this.baseStyle = n2, $e.registerId(t3);
3030
3046
  }
3031
3047
  generateAndInjectStyles(e, t3, n2) {
3032
3048
  let o = this.baseStyle ? this.baseStyle.generateAndInjectStyles(e, t3, n2) : "";
@@ -3035,10 +3051,10 @@ var Be = class {
3035
3051
  for (let o2 = 0; o2 < this.rules.length; o2++) {
3036
3052
  const r2 = this.rules[o2];
3037
3053
  if ("string" == typeof r2) s += r2;
3038
- else if (r2) if (De(r2)) {
3054
+ else if (r2) if (Ve(r2)) {
3039
3055
  const o3 = r2(e);
3040
- "string" == typeof o3 ? s += o3 : null != o3 && false !== o3 && ("object" != typeof o3 || Array.isArray(o3) || ke(o3) || ue(o3) || console.error(`${W(r2)} is not a styled component and cannot be referred to via component selector. See https://styled-components.com/docs/advanced#referring-to-other-components for more details.`), s += le(We(o3, e, t3, n2)));
3041
- } else s += le(We(r2, e, t3, n2));
3056
+ "string" == typeof o3 ? s += o3 : null != o3 && false !== o3 && ("object" != typeof o3 || Array.isArray(o3) || De(o3) || ue(o3) || console.error(`${W(r2)} is not a styled component and cannot be referred to via component selector. See https://styled-components.com/docs/advanced#referring-to-other-components for more details.`), s += le(Le(o3, e, t3, n2)));
3057
+ } else s += le(Le(r2, e, t3, n2));
3042
3058
  }
3043
3059
  if (s) {
3044
3060
  this.dynamicNameCache || (this.dynamicNameCache = /* @__PURE__ */ new Map());
@@ -3055,46 +3071,46 @@ var Be = class {
3055
3071
  const e3 = n2(s, "." + r2, void 0, this.componentId);
3056
3072
  t3.insertRules(this.componentId, r2, e3);
3057
3073
  }
3058
- o = ae(o, r2);
3074
+ o = ce(o, r2);
3059
3075
  }
3060
3076
  }
3061
3077
  return o;
3062
3078
  }
3063
3079
  };
3064
- var qe = /&/g;
3065
- function He(e, t3) {
3080
+ var He = /&/g;
3081
+ function Ye(e, t3) {
3066
3082
  let n2 = 0;
3067
3083
  for (; --t3 >= 0 && 92 === e.charCodeAt(t3); ) n2++;
3068
3084
  return !(1 & ~n2);
3069
3085
  }
3070
- function Ye(e) {
3086
+ function Ue(e) {
3071
3087
  const t3 = e.length;
3072
- let n2 = "", o = 0, s = 0, r2 = 0, i2 = false, c2 = false;
3073
- for (let a2 = 0; a2 < t3; a2++) {
3074
- const l2 = e.charCodeAt(a2);
3075
- if (0 !== r2 || i2 || l2 !== je || 42 !== e.charCodeAt(a2 + 1)) if (i2) 42 === l2 && e.charCodeAt(a2 + 1) === je && (i2 = false, a2++);
3076
- else if (34 !== l2 && 39 !== l2 || He(e, a2)) {
3088
+ let n2 = "", o = 0, s = 0, r2 = 0, i2 = false, a2 = false;
3089
+ for (let c2 = 0; c2 < t3; c2++) {
3090
+ const l2 = e.charCodeAt(c2);
3091
+ if (0 !== r2 || i2 || l2 !== je || 42 !== e.charCodeAt(c2 + 1)) if (i2) 42 === l2 && e.charCodeAt(c2 + 1) === je && (i2 = false, c2++);
3092
+ else if (34 !== l2 && 39 !== l2 || Ye(e, c2)) {
3077
3093
  if (0 === r2) if (123 === l2) s++;
3078
3094
  else if (125 === l2) {
3079
3095
  if (s--, s < 0) {
3080
- c2 = true;
3081
- let n3 = a2 + 1;
3096
+ a2 = true;
3097
+ let n3 = c2 + 1;
3082
3098
  for (; n3 < t3; ) {
3083
3099
  const t4 = e.charCodeAt(n3);
3084
3100
  if (59 === t4 || 10 === t4) break;
3085
3101
  n3++;
3086
3102
  }
3087
- n3 < t3 && 59 === e.charCodeAt(n3) && n3++, s = 0, a2 = n3 - 1, o = n3;
3103
+ n3 < t3 && 59 === e.charCodeAt(n3) && n3++, s = 0, c2 = n3 - 1, o = n3;
3088
3104
  continue;
3089
3105
  }
3090
- 0 === s && (n2 += e.substring(o, a2 + 1), o = a2 + 1);
3091
- } else 59 === l2 && 0 === s && (n2 += e.substring(o, a2 + 1), o = a2 + 1);
3106
+ 0 === s && (n2 += e.substring(o, c2 + 1), o = c2 + 1);
3107
+ } else 59 === l2 && 0 === s && (n2 += e.substring(o, c2 + 1), o = c2 + 1);
3092
3108
  } else 0 === r2 ? r2 = l2 : r2 === l2 && (r2 = 0);
3093
- else i2 = true, a2++;
3109
+ else i2 = true, c2++;
3094
3110
  }
3095
- return c2 || 0 !== s || 0 !== r2 ? (o < t3 && 0 === s && 0 === r2 && (n2 += e.substring(o)), n2) : e;
3111
+ return a2 || 0 !== s || 0 !== r2 ? (o < t3 && 0 === s && 0 === r2 && (n2 += e.substring(o)), n2) : e;
3096
3112
  }
3097
- function Ue(e, t3) {
3113
+ function Je(e, t3) {
3098
3114
  const n2 = t3 + " ", o = "," + n2;
3099
3115
  for (let s = 0; s < e.length; s++) {
3100
3116
  const r2 = e[s];
@@ -3104,140 +3120,125 @@ function Ue(e, t3) {
3104
3120
  for (let o2 = 0; o2 < e2.length; o2++) t4[o2] = n2 + e2[o2];
3105
3121
  r2.props = t4;
3106
3122
  }
3107
- Array.isArray(r2.children) && "@keyframes" !== r2.type && Ue(r2.children, t3);
3123
+ Array.isArray(r2.children) && "@keyframes" !== r2.type && Je(r2.children, t3);
3108
3124
  }
3109
3125
  return e;
3110
3126
  }
3111
- function Je({ options: e = $, plugins: t3 = I } = $) {
3127
+ function Xe({ options: e = I, plugins: t3 = $ } = I) {
3112
3128
  let n2, s, r2;
3113
- const i2 = (e2, t4, o) => o.startsWith(s) && o.endsWith(s) && o.replaceAll(s, "").length > 0 ? `.${n2}` : e2, c2 = t3.slice();
3129
+ const a2 = (e2, t4, o) => o.startsWith(s) && o.endsWith(s) && o.replaceAll(s, "").length > 0 ? `.${n2}` : e2, c2 = t3.slice();
3114
3130
  c2.push((e2) => {
3115
- e2.type === RULESET && e2.value.includes("&") && (r2 || (r2 = new RegExp(`\\${s}\\b`, "g")), e2.props[0] = e2.props[0].replace(qe, s).replace(r2, i2));
3131
+ e2.type === RULESET && e2.value.includes("&") && (r2 || (r2 = new RegExp(`\\${s}\\b`, "g")), e2.props[0] = e2.props[0].replace(He, s).replace(r2, a2));
3116
3132
  }), e.prefix && c2.push(prefixer), c2.push(stringify);
3117
- let a2 = [];
3118
- const l2 = middleware(c2.concat(rulesheet((e2) => a2.push(e2)))), u2 = (t4, i3 = "", c3 = "", u3 = "&") => {
3119
- n2 = u3, s = i3, r2 = void 0;
3120
- const h3 = (function(e2) {
3133
+ let l2 = [];
3134
+ const u2 = middleware(c2.concat(rulesheet((e2) => l2.push(e2)))), d2 = (t4, i2 = "", a3 = "", c3 = "&") => {
3135
+ n2 = c3, s = i2, r2 = void 0;
3136
+ const d3 = (function(e2) {
3121
3137
  const t5 = -1 !== e2.indexOf("//"), n3 = -1 !== e2.indexOf("}");
3122
3138
  if (!t5 && !n3) return e2;
3123
- if (!t5) return Ye(e2);
3139
+ if (!t5) return Ue(e2);
3124
3140
  const o = e2.length;
3125
- let s2 = "", r3 = 0, i4 = 0, c4 = 0, a3 = 0, l3 = 0, u4 = false;
3126
- for (; i4 < o; ) {
3127
- const t6 = e2.charCodeAt(i4);
3128
- if (34 !== t6 && 39 !== t6 || He(e2, i4)) if (0 === c4) if (t6 === je && i4 + 1 < o && 42 === e2.charCodeAt(i4 + 1)) {
3129
- for (i4 += 2; i4 + 1 < o && (42 !== e2.charCodeAt(i4) || e2.charCodeAt(i4 + 1) !== je); ) i4++;
3130
- i4 += 2;
3131
- } else if (40 !== t6) if (41 !== t6) if (a3 > 0) i4++;
3132
- else if (42 === t6 && i4 + 1 < o && e2.charCodeAt(i4 + 1) === je) s2 += e2.substring(r3, i4), i4 += 2, r3 = i4, u4 = true;
3133
- else if (t6 === je && i4 + 1 < o && e2.charCodeAt(i4 + 1) === je) {
3134
- for (s2 += e2.substring(r3, i4); i4 < o && 10 !== e2.charCodeAt(i4); ) i4++;
3135
- r3 = i4, u4 = true;
3136
- } else 123 === t6 ? l3++ : 125 === t6 && l3--, i4++;
3137
- else a3 > 0 && a3--, i4++;
3138
- else a3++, i4++;
3139
- else i4++;
3140
- else 0 === c4 ? c4 = t6 : c4 === t6 && (c4 = 0), i4++;
3141
- }
3142
- return u4 ? (r3 < o && (s2 += e2.substring(r3)), 0 === l3 ? s2 : Ye(s2)) : 0 === l3 ? e2 : Ye(e2);
3141
+ let s2 = "", r3 = 0, i3 = 0, a4 = 0, c4 = 0, l3 = 0, u3 = false;
3142
+ for (; i3 < o; ) {
3143
+ const t6 = e2.charCodeAt(i3);
3144
+ if (34 !== t6 && 39 !== t6 || Ye(e2, i3)) if (0 === a4) if (t6 === je && i3 + 1 < o && 42 === e2.charCodeAt(i3 + 1)) {
3145
+ for (i3 += 2; i3 + 1 < o && (42 !== e2.charCodeAt(i3) || e2.charCodeAt(i3 + 1) !== je); ) i3++;
3146
+ i3 += 2;
3147
+ } else if (40 !== t6) if (41 !== t6) if (c4 > 0) i3++;
3148
+ else if (42 === t6 && i3 + 1 < o && e2.charCodeAt(i3 + 1) === je) s2 += e2.substring(r3, i3), i3 += 2, r3 = i3, u3 = true;
3149
+ else if (t6 === je && i3 + 1 < o && e2.charCodeAt(i3 + 1) === je) {
3150
+ for (s2 += e2.substring(r3, i3); i3 < o && 10 !== e2.charCodeAt(i3); ) i3++;
3151
+ r3 = i3, u3 = true;
3152
+ } else 123 === t6 ? l3++ : 125 === t6 && l3--, i3++;
3153
+ else c4 > 0 && c4--, i3++;
3154
+ else c4++, i3++;
3155
+ else i3++;
3156
+ else 0 === a4 ? a4 = t6 : a4 === t6 && (a4 = 0), i3++;
3157
+ }
3158
+ return u3 ? (r3 < o && (s2 += e2.substring(r3)), 0 === l3 ? s2 : Ue(s2)) : 0 === l3 ? e2 : Ue(e2);
3143
3159
  })(t4);
3144
- let d3 = compile(c3 || i3 ? c3 + " " + i3 + " { " + h3 + " }" : h3);
3145
- return e.namespace && (d3 = Ue(d3, e.namespace)), a2 = [], serialize(d3, l2), a2;
3160
+ let h3 = compile(a3 || i2 ? a3 + " " + i2 + " { " + d3 + " }" : d3);
3161
+ return e.namespace && (h3 = Je(h3, e.namespace)), l2 = [], serialize(h3, u2), l2;
3146
3162
  }, h2 = e;
3147
- let d2 = M;
3148
- for (let e2 = 0; e2 < t3.length; e2++) t3[e2].name || v(15), d2 = G(d2, t3[e2].name);
3149
- return (null == h2 ? void 0 : h2.namespace) && (d2 = G(d2, h2.namespace)), (null == h2 ? void 0 : h2.prefix) && (d2 = G(d2, "p")), u2.hash = d2 !== M ? d2.toString() : "", u2;
3150
- }
3151
- var Xe = new _e();
3152
- var Ke = Je();
3153
- var Qe = t.createContext({ shouldForwardProp: void 0, styleSheet: Xe, stylis: Ke, stylisPlugins: void 0 });
3154
- var Ze = Qe.Consumer;
3155
- function et() {
3156
- return t.useContext(Qe);
3157
- }
3158
- var nt = t.createContext(void 0);
3159
- var ot = nt.Consumer;
3160
- function rt(e) {
3161
- const n2 = t.useContext(nt), o = t.useMemo(() => (function(e2, t3) {
3162
- if (!e2) throw v(14);
3163
+ let p2 = M;
3164
+ for (let e2 = 0; e2 < t3.length; e2++) t3[e2].name || i(15), p2 = G(p2, t3[e2].name);
3165
+ return (null == h2 ? void 0 : h2.namespace) && (p2 = G(p2, h2.namespace)), (null == h2 ? void 0 : h2.prefix) && (p2 = G(p2, "p")), d2.hash = p2 !== M ? p2.toString() : "", d2;
3166
+ }
3167
+ var Ke = new $e();
3168
+ var Qe = Xe();
3169
+ var Ze = t.createContext({ shouldForwardProp: void 0, styleSheet: Ke, stylis: Qe, stylisPlugins: void 0 });
3170
+ var et = Ze.Consumer;
3171
+ function tt() {
3172
+ return t.useContext(Ze);
3173
+ }
3174
+ var ot = t.createContext(void 0);
3175
+ var st = ot.Consumer;
3176
+ function it(e) {
3177
+ const n2 = t.useContext(ot), o = t.useMemo(() => (function(e2, t3) {
3178
+ if (!e2) throw i(14);
3163
3179
  if (re(e2)) {
3164
3180
  const n3 = e2(t3);
3165
- if (null === n3 || Array.isArray(n3) || "object" != typeof n3) throw v(7);
3181
+ if (null === n3 || Array.isArray(n3) || "object" != typeof n3) throw i(7);
3166
3182
  return n3;
3167
3183
  }
3168
- if (Array.isArray(e2) || "object" != typeof e2) throw v(8);
3184
+ if (Array.isArray(e2) || "object" != typeof e2) throw i(8);
3169
3185
  return t3 ? Object.assign(Object.assign({}, t3), e2) : e2;
3170
3186
  })(e.theme, n2), [e.theme, n2]);
3171
- return e.children ? t.createElement(nt.Provider, { value: o }, e.children) : null;
3172
- }
3173
- var it = Object.prototype.hasOwnProperty;
3174
- var ct = {};
3175
- function at(e, t3) {
3176
- const n2 = "string" != typeof e ? "sc" : T(e);
3177
- ct[n2] = (ct[n2] || 0) + 1;
3178
- const o = n2 + "-" + z(u + n2 + ct[n2]);
3187
+ return e.children ? t.createElement(ot.Provider, { value: o }, e.children) : null;
3188
+ }
3189
+ var at = {};
3190
+ function ct(e, t3) {
3191
+ const n2 = "string" != typeof e ? "sc" : k(e);
3192
+ at[n2] = (at[n2] || 0) + 1;
3193
+ const o = n2 + "-" + z(h + n2 + at[n2]);
3179
3194
  return t3 ? t3 + "-" + o : o;
3180
3195
  }
3181
3196
  var lt;
3182
3197
  function ut(o, s, r2) {
3183
- const i2 = ce(o), c2 = o, a2 = !L(o), { attrs: l2 = I, componentId: u2 = at(s.displayName, s.parentComponentId), displayName: h2 = B(o) } = s, d2 = s.displayName && s.componentId ? T(s.displayName) + "-" + s.componentId : s.componentId || u2, p2 = i2 && c2.attrs ? c2.attrs.concat(l2).filter(Boolean) : l2;
3198
+ const i2 = ae(o), a2 = o, c2 = !L(o), { attrs: l2 = $, componentId: u2 = ct(s.displayName, s.parentComponentId), displayName: d2 = B(o) } = s, h2 = s.displayName && s.componentId ? k(s.displayName) + "-" + s.componentId : s.componentId || u2, p2 = i2 && a2.attrs ? a2.attrs.concat(l2).filter(Boolean) : l2;
3184
3199
  let { shouldForwardProp: f2 } = s;
3185
- if (i2 && c2.shouldForwardProp) {
3186
- const e = c2.shouldForwardProp;
3200
+ if (i2 && a2.shouldForwardProp) {
3201
+ const e = a2.shouldForwardProp;
3187
3202
  if (s.shouldForwardProp) {
3188
3203
  const t3 = s.shouldForwardProp;
3189
3204
  f2 = (n2, o2) => e(n2, o2) && t3(n2, o2);
3190
3205
  } else f2 = e;
3191
3206
  }
3192
- const m2 = new Be(r2, d2, i2 ? c2.componentStyle : void 0);
3207
+ const m2 = new qe(r2, h2, i2 ? a2.componentStyle : void 0);
3193
3208
  function y2(o2, s2) {
3194
3209
  return (function(o3, s3, r3) {
3195
- const { attrs: i3, componentStyle: c3, defaultProps: a3, foldedComponentIds: l3, styledComponentId: u3, target: h3 } = o3, d3 = t.useContext(nt), p3 = et(), f3 = o3.shouldForwardProp || p3.shouldForwardProp;
3210
+ const { attrs: i3, componentStyle: a3, defaultProps: c3, foldedComponentIds: l3, styledComponentId: u3, target: d3 } = o3, h3 = t.useContext(ot), p3 = tt(), f3 = o3.shouldForwardProp || p3.shouldForwardProp;
3196
3211
  t.useDebugValue && t.useDebugValue(u3);
3197
- const m3 = R(s3, d3, a3) || $;
3198
- let y3, g3;
3199
- {
3200
- const e = t.useRef(null), n2 = e.current;
3201
- if (null !== n2 && n2[1] === m3 && n2[2] === p3.styleSheet && n2[3] === p3.stylis && n2[7] === c3 && (function(e2, t3, n3) {
3202
- const o4 = e2, s4 = t3;
3203
- let r4 = 0;
3204
- for (const e3 in s4) if (it.call(s4, e3) && (r4++, o4[e3] !== s4[e3])) return false;
3205
- return r4 === n3;
3206
- })(n2[0], s3, n2[4])) y3 = n2[5], g3 = n2[6];
3207
- else {
3208
- y3 = (function(e2, t4, n3) {
3209
- const o4 = Object.assign(Object.assign({}, t4), { className: void 0, theme: n3 }), s4 = e2.length > 1;
3210
- for (let n4 = 0; n4 < e2.length; n4++) {
3211
- const r4 = e2[n4], i4 = re(r4) ? r4(s4 ? Object.assign({}, o4) : o4) : r4;
3212
- for (const e3 in i4) "className" === e3 ? o4.className = ae(o4.className, i4[e3]) : "style" === e3 ? o4.style = Object.assign(Object.assign({}, o4.style), i4[e3]) : e3 in t4 && void 0 === t4[e3] || (o4[e3] = i4[e3]);
3213
- }
3214
- return "className" in t4 && "string" == typeof t4.className && (o4.className = ae(o4.className, t4.className)), o4;
3215
- })(i3, s3, m3), g3 = c3.generateAndInjectStyles(y3, p3.styleSheet, p3.stylis);
3216
- let t3 = 0;
3217
- for (const e2 in s3) it.call(s3, e2) && t3++;
3218
- e.current = [s3, m3, p3.styleSheet, p3.stylis, t3, y3, g3, c3];
3212
+ const m3 = x(s3, h3, c3) || I, [y3, g3] = (function(e, t3, n2) {
3213
+ const o4 = Object.assign(Object.assign({}, t3), { className: void 0, theme: n2 });
3214
+ let s4 = null;
3215
+ const r4 = e.length > 1;
3216
+ for (let t4 = 0; t4 < e.length; t4++) {
3217
+ const n3 = e[t4], i4 = re(n3) ? n3(r4 ? Object.assign({}, o4) : o4) : n3;
3218
+ for (const e2 in i4) "className" === e2 ? o4.className = ce(o4.className, i4[e2]) : "style" === e2 ? o4.style = Object.assign(Object.assign({}, o4.style), i4[e2]) : void 0 === i4[e2] ? e2 in o4 && (void 0 !== o4[e2] && (s4 || (s4 = [])).push(e2), o4[e2] = void 0) : o4[e2] = i4[e2];
3219
3219
  }
3220
- }
3221
- t.useDebugValue && t.useDebugValue(g3), o3.warnTooManyClasses && o3.warnTooManyClasses(g3);
3222
- const v2 = y3.as || h3, S2 = (function(t3, n2, o4, s4) {
3223
- const r4 = {};
3224
- for (const i4 in t3) void 0 === t3[i4] || "$" === i4[0] || "as" === i4 || "theme" === i4 && t3.theme === o4 || ("forwardedAs" === i4 ? r4.as = t3.forwardedAs : s4 && !s4(i4, n2) || (r4[i4] = t3[i4], s4 || false || isPropValid(i4) || (lt || (lt = /* @__PURE__ */ new Set())).has(i4) || !L(n2) || n2.includes("-") || (lt.add(i4), console.warn(`styled-components: it looks like an unknown prop "${i4}" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via \`<StyleSheetManager shouldForwardProp={...}>\` (connect an API like \`@emotion/is-prop-valid\`) or consider using transient props (\`$\` prefix for automatic filtering.)`))));
3225
- return r4;
3226
- })(y3, v2, m3, f3);
3227
- let b2 = ae(l3, u3);
3228
- return g3 && (b2 += " " + g3), y3.className && (b2 += " " + y3.className), S2[L(v2) && v2.includes("-") ? "class" : "className"] = b2, r3 && (S2.ref = r3), n(v2, S2);
3220
+ return "className" in t3 && "string" == typeof t3.className && (o4.className = ce(o4.className, t3.className)), [o4, s4];
3221
+ })(i3, s3, m3), v2 = a3.generateAndInjectStyles(y3, p3.styleSheet, p3.stylis);
3222
+ t.useDebugValue && t.useDebugValue(v2), o3.warnTooManyClasses && o3.warnTooManyClasses(v2);
3223
+ const S2 = y3.as || d3, b2 = L(S2), w2 = (function(t3, n2, o4, s4, r4, i4) {
3224
+ const a4 = {};
3225
+ for (const c4 in t3) "$" === c4[0] || "as" === c4 || "theme" === c4 && t3.theme === o4 || ("forwardedAs" === c4 ? void 0 !== t3.forwardedAs && (a4.as = t3.forwardedAs) : void 0 === t3[c4] ? "className" === c4 || r4 || null !== i4 && -1 !== i4.indexOf(c4) || s4 && !s4(c4, n2) || (a4[c4] = void 0) : s4 && !s4(c4, n2) || (a4[c4] = t3[c4], s4 || false || isPropValid(c4) || (lt || (lt = /* @__PURE__ */ new Set())).has(c4) || !L(n2) || n2.includes("-") || (lt.add(c4), console.warn(`styled-components: it looks like an unknown prop "${c4}" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via \`<StyleSheetManager shouldForwardProp={...}>\` (connect an API like \`@emotion/is-prop-valid\`) or consider using transient props (\`$\` prefix for automatic filtering.)`))));
3226
+ return a4;
3227
+ })(y3, S2, m3, f3, b2, g3);
3228
+ let N2 = ce(l3, u3);
3229
+ return v2 && (N2 += " " + v2), y3.className && (N2 += " " + y3.className), w2[b2 && S2.includes("-") ? "class" : "className"] = N2, r3 && (w2.ref = r3), n(S2, w2);
3229
3230
  })(g2, o2, s2);
3230
3231
  }
3231
- y2.displayName = h2;
3232
+ y2.displayName = d2;
3232
3233
  let g2 = t.forwardRef(y2);
3233
- return g2.attrs = p2, g2.componentStyle = m2, g2.displayName = h2, g2.shouldForwardProp = f2, g2.foldedComponentIds = i2 ? ae(c2.foldedComponentIds, c2.styledComponentId) : "", g2.styledComponentId = d2, g2.target = i2 ? c2.target : o, Object.defineProperty(g2, "defaultProps", { get() {
3234
+ return g2.attrs = p2, g2.componentStyle = m2, g2.displayName = d2, g2.shouldForwardProp = f2, g2.foldedComponentIds = i2 ? ce(a2.foldedComponentIds, a2.styledComponentId) : "", g2.styledComponentId = h2, g2.target = i2 ? a2.target : o, Object.defineProperty(g2, "defaultProps", { get() {
3234
3235
  return this._foldedDefaultProps;
3235
3236
  }, set(e) {
3236
3237
  this._foldedDefaultProps = i2 ? (function(e2, ...t3) {
3237
- for (const n2 of t3) he(e2, n2, true);
3238
+ for (const n2 of t3) de(e2, n2, true);
3238
3239
  return e2;
3239
- })({}, c2.defaultProps, e) : e;
3240
- } }), _(h2, d2), g2.warnTooManyClasses = /* @__PURE__ */ ((e, t3) => {
3240
+ })({}, a2.defaultProps, e) : e;
3241
+ } }), _(d2, h2), g2.warnTooManyClasses = /* @__PURE__ */ ((e, t3) => {
3241
3242
  let n2 = {}, o2 = false;
3242
3243
  return (s2) => {
3243
3244
  !o2 && (n2[s2] = true, Object.keys(n2).length >= 200) && (console.warn(`Over 200 classes were generated for component ${e}${t3 ? ` with the id of "${t3}"` : ""}.
@@ -3251,28 +3252,28 @@ Example:
3251
3252
 
3252
3253
  <Component />`), o2 = true, n2 = {});
3253
3254
  };
3254
- })(h2, d2), de(g2, () => `.${g2.styledComponentId}`), a2 && se(g2, o, { attrs: true, componentStyle: true, displayName: true, foldedComponentIds: true, shouldForwardProp: true, styledComponentId: true, target: true }), g2;
3255
+ })(d2, h2), he(g2, () => `.${g2.styledComponentId}`), c2 && se(g2, o, { attrs: true, componentStyle: true, displayName: true, foldedComponentIds: true, shouldForwardProp: true, styledComponentId: true, target: true }), g2;
3255
3256
  }
3256
- var ht = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "blockquote", "body", "button", "br", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "menu", "meter", "nav", "object", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "slot", "small", "span", "strong", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "filter", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "switch", "symbol", "text", "textPath", "tspan", "use"]);
3257
- function dt(e, t3) {
3257
+ var dt = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "blockquote", "body", "button", "br", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "menu", "meter", "nav", "object", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "slot", "small", "span", "strong", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "filter", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "switch", "symbol", "text", "textPath", "tspan", "use"]);
3258
+ function ht(e, t3) {
3258
3259
  const n2 = [e[0]];
3259
3260
  for (let o = 0, s = t3.length; o < s; o += 1) n2.push(t3[o], e[o + 1]);
3260
3261
  return n2;
3261
3262
  }
3262
3263
  var pt = (e) => (Ie.add(e), e);
3263
3264
  function ft(e, ...t3) {
3264
- if (re(e) || ue(e)) return pt(We(dt(I, [e, ...t3])));
3265
+ if (re(e) || ue(e)) return pt(Le(ht($, [e, ...t3])));
3265
3266
  const n2 = e;
3266
- return 0 === t3.length && 1 === n2.length && "string" == typeof n2[0] ? We(n2) : pt(We(dt(n2, t3)));
3267
+ return 0 === t3.length && 1 === n2.length && "string" == typeof n2[0] ? Le(n2) : pt(Le(ht(n2, t3)));
3267
3268
  }
3268
- function mt(e, t3, n2 = $) {
3269
- if (!t3) throw v(1, t3);
3269
+ function mt(e, t3, n2 = I) {
3270
+ if (!t3) throw i(1, t3);
3270
3271
  const o = (o2, ...s) => e(t3, n2, ft(o2, ...s));
3271
3272
  return o.attrs = (o2) => mt(e, t3, Object.assign(Object.assign({}, n2), { attrs: Array.prototype.concat(n2.attrs, o2).filter(Boolean) })), o.withConfig = (o2) => mt(e, t3, Object.assign(Object.assign({}, n2), o2)), o;
3272
3273
  }
3273
3274
  var yt = (e) => mt(ut, e);
3274
3275
  var gt = yt;
3275
- ht.forEach((e) => {
3276
+ dt.forEach((e) => {
3276
3277
  gt[e] = yt(e);
3277
3278
  });
3278
3279
  var vt = class {
@@ -3280,10 +3281,10 @@ var vt = class {
3280
3281
  this.instanceRules = /* @__PURE__ */ new Map(), this.rules = e, this.componentId = t3, this.isStatic = (function(e2) {
3281
3282
  for (let t4 = 0; t4 < e2.length; t4 += 1) {
3282
3283
  const n2 = e2[t4];
3283
- if (re(n2) && !ce(n2)) return false;
3284
+ if (re(n2) && !ae(n2)) return false;
3284
3285
  }
3285
3286
  return true;
3286
- })(e), _e.registerId(this.componentId);
3287
+ })(e), $e.registerId(this.componentId);
3287
3288
  }
3288
3289
  removeStyles(e, t3) {
3289
3290
  this.instanceRules.delete(e), this.rebuildGroup(t3);
@@ -3313,7 +3314,7 @@ var vt = class {
3313
3314
  this.rebuildGroup(n2);
3314
3315
  }
3315
3316
  computeRules(e, t3, n2, o) {
3316
- const s = le(We(this.rules, t3, n2, o)), r2 = { name: this.componentId + e, rules: o(s, "") };
3317
+ const s = le(Le(this.rules, t3, n2, o)), r2 = { name: this.componentId + e, rules: o(s, "") };
3317
3318
  return this.instanceRules.set(e, r2), r2;
3318
3319
  }
3319
3320
  rebuildGroup(e) {
@@ -3326,28 +3327,28 @@ function St(e, ...n2) {
3326
3327
  const o = ft(e, ...n2), s = `sc-global-${z(JSON.stringify(o))}`, r2 = new vt(o, s);
3327
3328
  _(s);
3328
3329
  const i2 = (e2) => {
3329
- const n3 = et(), i3 = t.useContext(nt);
3330
- let a2;
3330
+ const n3 = tt(), i3 = t.useContext(ot);
3331
+ let c2;
3331
3332
  {
3332
3333
  const e3 = t.useRef(null);
3333
- null === e3.current && (e3.current = n3.styleSheet.allocateGSInstance(s)), a2 = e3.current;
3334
+ null === e3.current && (e3.current = n3.styleSheet.allocateGSInstance(s)), c2 = e3.current;
3334
3335
  }
3335
- t.Children.count(e2.children) && console.warn(`The global style component ${s} was given child JSX. createGlobalStyle does not render children.`), o.some((e3) => "string" == typeof e3 && -1 !== e3.indexOf("@import")) && console.warn("Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app."), n3.styleSheet.server && c2(a2, e2, n3.styleSheet, i3, n3.stylis);
3336
+ t.Children.count(e2.children) && console.warn(`The global style component ${s} was given child JSX. createGlobalStyle does not render children.`), o.some((e3) => "string" == typeof e3 && -1 !== e3.indexOf("@import")) && console.warn("Please do not use @import CSS syntax in createGlobalStyle at this time, as the CSSOM APIs we use in production do not handle it well. Instead, we recommend using a library such as react-helmet to inject a typical <link> meta tag to the stylesheet, or simply embedding it manually in your index.html <head> section for a simpler app."), n3.styleSheet.server && a2(c2, e2, n3.styleSheet, i3, n3.stylis);
3336
3337
  {
3337
- const o2 = r2.isStatic ? [a2, n3.styleSheet, r2] : [a2, e2, n3.styleSheet, i3, n3.stylis, r2], l2 = t.useRef(r2);
3338
+ const o2 = r2.isStatic ? [c2, n3.styleSheet, r2] : [c2, e2, n3.styleSheet, i3, n3.stylis, r2], l2 = t.useRef(r2);
3338
3339
  t.useLayoutEffect(() => {
3339
- n3.styleSheet.server || (l2.current !== r2 && (n3.styleSheet.clearRules(s), l2.current = r2), c2(a2, e2, n3.styleSheet, i3, n3.stylis));
3340
+ n3.styleSheet.server || (l2.current !== r2 && (n3.styleSheet.clearRules(s), l2.current = r2), a2(c2, e2, n3.styleSheet, i3, n3.stylis));
3340
3341
  }, o2), t.useLayoutEffect(() => () => {
3341
- n3.styleSheet.server || r2.removeStyles(a2, n3.styleSheet);
3342
- }, [a2, n3.styleSheet, r2]);
3342
+ n3.styleSheet.server || r2.removeStyles(c2, n3.styleSheet);
3343
+ }, [c2, n3.styleSheet, r2]);
3343
3344
  }
3344
- return n3.styleSheet.server && r2.instanceRules.delete(a2), null;
3345
+ return n3.styleSheet.server && r2.instanceRules.delete(c2), null;
3345
3346
  };
3346
- function c2(e2, t3, n3, o2, s2) {
3347
- if (r2.isStatic) r2.renderStyles(e2, y, n3, s2);
3347
+ function a2(e2, t3, n3, o2, s2) {
3348
+ if (r2.isStatic) r2.renderStyles(e2, v, n3, s2);
3348
3349
  else {
3349
- const c3 = Object.assign(Object.assign({}, t3), { theme: R(t3, o2, i2.defaultProps) });
3350
- r2.renderStyles(e2, c3, n3, s2);
3350
+ const a3 = Object.assign(Object.assign({}, t3), { theme: x(t3, o2, i2.defaultProps) });
3351
+ r2.renderStyles(e2, a3, n3, s2);
3351
3352
  }
3352
3353
  }
3353
3354
  return t.memo(i2);
@@ -3355,17 +3356,17 @@ function St(e, ...n2) {
3355
3356
  var Ct;
3356
3357
  var Ot = class {
3357
3358
  constructor(e, t3) {
3358
- this[Ct] = true, this.inject = (e2, t4 = Ke) => {
3359
+ this[Ct] = true, this.inject = (e2, t4 = Qe) => {
3359
3360
  const n2 = this.getName(t4);
3360
3361
  if (!e2.hasNameForId(this.id, n2)) {
3361
3362
  const o = t4(this.rules, n2, "@keyframes");
3362
3363
  e2.insertRules(this.id, n2, o);
3363
3364
  }
3364
- }, this.name = e, this.id = m + e, this.rules = t3, C(this.id), de(this, () => {
3365
- throw v(12, String(this.name));
3365
+ }, this.name = e, this.id = g + e, this.rules = t3, C(this.id), he(this, () => {
3366
+ throw i(12, String(this.name));
3366
3367
  });
3367
3368
  }
3368
- getName(e = Ke) {
3369
+ getName(e = Qe) {
3369
3370
  return e.hash ? this.name + V(+e.hash >>> 0) : this.name;
3370
3371
  }
3371
3372
  };
@@ -3376,12 +3377,12 @@ function Et(e, ...t3) {
3376
3377
  }
3377
3378
  Ct = Te;
3378
3379
  "undefined" != typeof navigator && "ReactNative" === navigator.product && console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://styled-components.com/docs/basics#react-native");
3379
- var It = `__sc-${c}__`;
3380
- "undefined" != typeof window && (window[It] || (window[It] = 0), 1 === window[It] && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://styled-components.com/docs/faqs#why-am-i-getting-a-warning-about-several-instances-of-module-on-the-page for more info."), window[It] += 1);
3381
- var Rt = `:not(style[${c}])`;
3382
- var jt = `style[${c}]`;
3380
+ var $t = `__sc-${l}__`;
3381
+ "undefined" != typeof window && (window[$t] || (window[$t] = 0), 1 === window[$t] && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://styled-components.com/docs/faqs#why-am-i-getting-a-warning-about-several-instances-of-module-on-the-page for more info."), window[$t] += 1);
3382
+ var xt = `:not(style[${l}])`;
3383
+ var Rt = `style[${l}]`;
3383
3384
 
3384
- // node_modules/.pnpm/@schematichq+schematic-icons@0.8.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@schematichq/schematic-icons/dist/types.js
3385
+ // node_modules/.pnpm/@schematichq+schematic-icons@0.8.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@schematichq/schematic-icons/dist/types.js
3385
3386
  var iconsList = {
3386
3387
  "workos": 61697,
3387
3388
  "wind": 61698,
@@ -3518,7 +3519,7 @@ var FONT_FACE_RULE = `@font-face {
3518
3519
  src: url(data:font/truetype;charset=utf-8;base64,AAEAAAALAIAAAwAwR1NVQiCLJXoAAAE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lZnQMY2hldnJvbi1kb3duBWNoZWNrDWNoZWNrLXJvdW5kZWQHY2FzaGFwcAZidXJnZXIEYnVsYgdib29sZWFuCmJvb2xlYW4tb24IYm9va21hcmsFYm9hcmQEYmVsbARiYW5rCWJhY2tzcGFjZQVhdXRoMAxhcnJvdy11cHdhcmQIYXJyb3ctdXALYXJyb3ctcmlnaHQKYXJyb3ctbGVmdAphcnJvdy1kb3duDGFycm93LWN1cnZlZA9hcnJvdy1hbmFseXRpY3MIYXBwbGVwYXkEYW1leAlhbWF6b25wYXkFYWxhcm0AAA==) format("truetype");
3519
3520
  }`;
3520
3521
 
3521
- // node_modules/.pnpm/@schematichq+schematic-icons@0.8.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@schematichq/schematic-icons/dist/components/Icon/styles.js
3522
+ // node_modules/.pnpm/@schematichq+schematic-icons@0.8.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@schematichq/schematic-icons/dist/components/Icon/styles.js
3522
3523
  var IconStyles = St`
3523
3524
  ${FONT_FACE_RULE};
3524
3525
 
@@ -3542,7 +3543,7 @@ var StyledIcon = gt.i`
3542
3543
  }
3543
3544
  `;
3544
3545
 
3545
- // node_modules/.pnpm/@schematichq+schematic-icons@0.8.0_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/@schematichq/schematic-icons/dist/components/Icon/Icon.js
3546
+ // node_modules/.pnpm/@schematichq+schematic-icons@0.8.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@schematichq/schematic-icons/dist/components/Icon/Icon.js
3546
3547
  var Icon = ({ name, className = "", ...rest }) => {
3547
3548
  return _jsx(StyledIcon, { className: `icon icon-${name} ${className}`, "$name": name, ...rest });
3548
3549
  };
@@ -4647,6 +4648,14 @@ function BillingSubscriptionDiscountViewFromJSONTyped(json, ignoreDiscriminator)
4647
4648
  };
4648
4649
  }
4649
4650
 
4651
+ // src/api/checkoutexternal/models/BillingSubscriptionPauseBehavior.ts
4652
+ function BillingSubscriptionPauseBehaviorFromJSON(json) {
4653
+ return BillingSubscriptionPauseBehaviorFromJSONTyped(json, false);
4654
+ }
4655
+ function BillingSubscriptionPauseBehaviorFromJSONTyped(json, ignoreDiscriminator) {
4656
+ return json;
4657
+ }
4658
+
4650
4659
  // src/api/checkoutexternal/models/BillingSubscriptionTrialEndSetting.ts
4651
4660
  function BillingSubscriptionTrialEndSettingFromJSON(json) {
4652
4661
  return BillingSubscriptionTrialEndSettingFromJSONTyped(json, false);
@@ -4743,6 +4752,7 @@ function BillingSubscriptionViewFromJSONTyped(json, ignoreDiscriminator) {
4743
4752
  return json;
4744
4753
  }
4745
4754
  return {
4755
+ accessRevokedAt: json["access_revoked_at"] == null ? void 0 : new Date(json["access_revoked_at"]),
4746
4756
  applicationId: json["application_id"] == null ? void 0 : json["application_id"],
4747
4757
  cancelAt: json["cancel_at"] == null ? void 0 : json["cancel_at"],
4748
4758
  cancelAtPeriodEnd: json["cancel_at_period_end"],
@@ -4759,6 +4769,9 @@ function BillingSubscriptionViewFromJSONTyped(json, ignoreDiscriminator) {
4759
4769
  interval: json["interval"],
4760
4770
  latestInvoice: json["latest_invoice"] == null ? void 0 : InvoiceResponseDataFromJSON(json["latest_invoice"]),
4761
4771
  metadata: json["metadata"] == null ? void 0 : json["metadata"],
4772
+ pauseBehavior: json["pause_behavior"] == null ? void 0 : BillingSubscriptionPauseBehaviorFromJSON(json["pause_behavior"]),
4773
+ pauseResumesAt: json["pause_resumes_at"] == null ? void 0 : json["pause_resumes_at"],
4774
+ pausedAt: json["paused_at"] == null ? void 0 : new Date(json["paused_at"]),
4762
4775
  paymentMethod: json["payment_method"] == null ? void 0 : PaymentMethodResponseDataFromJSON(json["payment_method"]),
4763
4776
  periodEnd: json["period_end"],
4764
4777
  periodStart: json["period_start"],
@@ -4979,6 +4992,21 @@ function CatalogUsageViolationResponseDataFromJSONTyped(json, ignoreDiscriminato
4979
4992
  };
4980
4993
  }
4981
4994
 
4995
+ // src/api/checkoutexternal/models/CatalogCustomPlanCTAResponseData.ts
4996
+ function CatalogCustomPlanCTAResponseDataFromJSON(json) {
4997
+ return CatalogCustomPlanCTAResponseDataFromJSONTyped(json, false);
4998
+ }
4999
+ function CatalogCustomPlanCTAResponseDataFromJSONTyped(json, ignoreDiscriminator) {
5000
+ if (json == null) {
5001
+ return json;
5002
+ }
5003
+ return {
5004
+ ctaText: json["cta_text"] == null ? void 0 : json["cta_text"],
5005
+ ctaUrl: json["cta_url"] == null ? void 0 : json["cta_url"],
5006
+ priceText: json["price_text"] == null ? void 0 : json["price_text"]
5007
+ };
5008
+ }
5009
+
4982
5010
  // src/api/checkoutexternal/models/EntitlementValueType.ts
4983
5011
  var EntitlementValueType = {
4984
5012
  Boolean: "boolean",
@@ -5162,6 +5190,8 @@ function CatalogCompanyPlanResponseDataFromJSONTyped(json, ignoreDiscriminator)
5162
5190
  CatalogCurrencyPricesResponseDataFromJSON
5163
5191
  ),
5164
5192
  current: json["current"],
5193
+ custom: json["custom"],
5194
+ customPlanCta: json["custom_plan_cta"] == null ? void 0 : CatalogCustomPlanCTAResponseDataFromJSON(json["custom_plan_cta"]),
5165
5195
  description: json["description"],
5166
5196
  entitlements: json["entitlements"].map(
5167
5197
  CatalogPlanEntitlementResponseDataFromJSON
@@ -5216,21 +5246,6 @@ function CatalogCreditBundleResponseDataFromJSONTyped(json, ignoreDiscriminator)
5216
5246
  };
5217
5247
  }
5218
5248
 
5219
- // src/api/checkoutexternal/models/CatalogCustomPlanCTAResponseData.ts
5220
- function CatalogCustomPlanCTAResponseDataFromJSON(json) {
5221
- return CatalogCustomPlanCTAResponseDataFromJSONTyped(json, false);
5222
- }
5223
- function CatalogCustomPlanCTAResponseDataFromJSONTyped(json, ignoreDiscriminator) {
5224
- if (json == null) {
5225
- return json;
5226
- }
5227
- return {
5228
- ctaText: json["cta_text"] == null ? void 0 : json["cta_text"],
5229
- ctaUrl: json["cta_url"] == null ? void 0 : json["cta_url"],
5230
- priceText: json["price_text"] == null ? void 0 : json["price_text"]
5231
- };
5232
- }
5233
-
5234
5249
  // src/api/checkoutexternal/models/UpdatePayInAdvanceRequestBody.ts
5235
5250
  function UpdatePayInAdvanceRequestBodyFromJSON(json) {
5236
5251
  return UpdatePayInAdvanceRequestBodyFromJSONTyped(json, false);
@@ -5674,6 +5689,7 @@ function CheckoutResponseDataFromJSONTyped(json, ignoreDiscriminator) {
5674
5689
  return json;
5675
5690
  }
5676
5691
  return {
5692
+ accessRevokedAt: json["access_revoked_at"] == null ? void 0 : new Date(json["access_revoked_at"]),
5677
5693
  applicationId: json["application_id"] == null ? void 0 : json["application_id"],
5678
5694
  cancelAt: json["cancel_at"] == null ? void 0 : json["cancel_at"],
5679
5695
  cancelAtPeriodEnd: json["cancel_at_period_end"],
@@ -5688,6 +5704,9 @@ function CheckoutResponseDataFromJSONTyped(json, ignoreDiscriminator) {
5688
5704
  id: json["id"],
5689
5705
  interval: json["interval"],
5690
5706
  metadata: json["metadata"] == null ? void 0 : json["metadata"],
5707
+ pauseBehavior: json["pause_behavior"] == null ? void 0 : BillingSubscriptionPauseBehaviorFromJSON(json["pause_behavior"]),
5708
+ pauseResumesAt: json["pause_resumes_at"] == null ? void 0 : json["pause_resumes_at"],
5709
+ pausedAt: json["paused_at"] == null ? void 0 : new Date(json["paused_at"]),
5691
5710
  periodEnd: json["period_end"],
5692
5711
  periodStart: json["period_start"],
5693
5712
  providerType: BillingProviderTypeFromJSON(json["provider_type"]),
@@ -6396,6 +6415,7 @@ function CustomPlanBillingResponseDataFromJSONTyped(json, ignoreDiscriminator) {
6396
6415
  json["activation_strategy"]
6397
6416
  ),
6398
6417
  billingCycleAnchor: json["billing_cycle_anchor"] == null ? void 0 : new Date(json["billing_cycle_anchor"]),
6418
+ billingEntityId: json["billing_entity_id"] == null ? void 0 : json["billing_entity_id"],
6399
6419
  billingStartDate: json["billing_start_date"] == null ? void 0 : new Date(json["billing_start_date"]),
6400
6420
  checkoutId: json["checkout_id"] == null ? void 0 : json["checkout_id"],
6401
6421
  companyId: json["company_id"],
@@ -6857,6 +6877,22 @@ function CompanyOverrideNoteResponseDataFromJSONTyped(json, ignoreDiscriminator)
6857
6877
  };
6858
6878
  }
6859
6879
 
6880
+ // src/api/checkoutexternal/models/CreditModelRate.ts
6881
+ function CreditModelRateFromJSON(json) {
6882
+ return CreditModelRateFromJSONTyped(json, false);
6883
+ }
6884
+ function CreditModelRateFromJSONTyped(json, ignoreDiscriminator) {
6885
+ if (json == null) {
6886
+ return json;
6887
+ }
6888
+ return {
6889
+ consumptionRate: json["consumption_rate"],
6890
+ model: json["model"],
6891
+ provider: json["provider"],
6892
+ quantityRates: json["quantity_rates"] == null ? void 0 : json["quantity_rates"]
6893
+ };
6894
+ }
6895
+
6860
6896
  // src/api/checkoutexternal/models/FeatureEventSource.ts
6861
6897
  function FeatureEventSourceFromJSON(json) {
6862
6898
  return FeatureEventSourceFromJSONTyped(json, false);
@@ -6921,6 +6957,7 @@ function CompanyOverrideResponseDataFromJSONTyped(json, ignoreDiscriminator) {
6921
6957
  id: json["id"],
6922
6958
  metricPeriod: json["metric_period"] == null ? void 0 : MetricPeriodFromJSON(json["metric_period"]),
6923
6959
  metricPeriodMonthReset: json["metric_period_month_reset"] == null ? void 0 : MetricPeriodMonthResetFromJSON(json["metric_period_month_reset"]),
6960
+ modelRates: json["model_rates"] == null ? void 0 : json["model_rates"].map(CreditModelRateFromJSON),
6924
6961
  notes: json["notes"].map(
6925
6962
  CompanyOverrideNoteResponseDataFromJSON
6926
6963
  ),
@@ -7091,6 +7128,7 @@ function PlanEntitlementResponseDataFromJSONTyped(json, ignoreDiscriminator) {
7091
7128
  meteredYearlyPrice: json["metered_yearly_price"] == null ? void 0 : BillingPriceViewFromJSON(json["metered_yearly_price"]),
7092
7129
  metricPeriod: json["metric_period"] == null ? void 0 : MetricPeriodFromJSON(json["metric_period"]),
7093
7130
  metricPeriodMonthReset: json["metric_period_month_reset"] == null ? void 0 : MetricPeriodMonthResetFromJSON(json["metric_period_month_reset"]),
7131
+ modelRates: json["model_rates"] == null ? void 0 : json["model_rates"].map(CreditModelRateFromJSON),
7094
7132
  overageBillingCadence: json["overage_billing_cadence"] == null ? void 0 : BillingArrearsCadenceFromJSON(json["overage_billing_cadence"]),
7095
7133
  overageInvoiceAnchor: json["overage_invoice_anchor"] == null ? void 0 : BillingArrearsAnchorFromJSON(json["overage_invoice_anchor"]),
7096
7134
  plan: json["plan"] == null ? void 0 : PlanResponseDataFromJSON(json["plan"]),
@@ -7667,7 +7705,12 @@ function CompanySubscriptionResponseDataFromJSONTyped(json, ignoreDiscriminator)
7667
7705
  interval: json["interval"],
7668
7706
  isInitial: json["is_initial"],
7669
7707
  latestInvoice: json["latest_invoice"] == null ? void 0 : InvoiceResponseDataFromJSON(json["latest_invoice"]),
7708
+ pauseBehavior: json["pause_behavior"] == null ? void 0 : BillingSubscriptionPauseBehaviorFromJSON(json["pause_behavior"]),
7709
+ pauseResumesAt: json["pause_resumes_at"] == null ? void 0 : new Date(json["pause_resumes_at"]),
7710
+ pausedAt: json["paused_at"] == null ? void 0 : new Date(json["paused_at"]),
7670
7711
  paymentMethod: json["payment_method"] == null ? void 0 : PaymentMethodResponseDataFromJSON(json["payment_method"]),
7712
+ periodEnd: json["period_end"] == null ? void 0 : new Date(json["period_end"]),
7713
+ periodStart: json["period_start"] == null ? void 0 : new Date(json["period_start"]),
7671
7714
  products: json["products"].map(
7672
7715
  BillingProductForSubscriptionResponseDataFromJSON
7673
7716
  ),
@@ -8136,6 +8179,84 @@ function CreateCheckoutResponseFromJSONTyped(json, ignoreDiscriminator) {
8136
8179
  };
8137
8180
  }
8138
8181
 
8182
+ // src/api/checkoutexternal/models/CreditSpendWindowUnit.ts
8183
+ function CreditSpendWindowUnitFromJSON(json) {
8184
+ return CreditSpendWindowUnitFromJSONTyped(json, false);
8185
+ }
8186
+ function CreditSpendWindowUnitFromJSONTyped(json, ignoreDiscriminator) {
8187
+ return json;
8188
+ }
8189
+ function CreditSpendWindowUnitToJSON(value) {
8190
+ return value;
8191
+ }
8192
+
8193
+ // src/api/checkoutexternal/models/CreateCompanySpendPolicyRequestBody.ts
8194
+ function CreateCompanySpendPolicyRequestBodyToJSON(json) {
8195
+ return CreateCompanySpendPolicyRequestBodyToJSONTyped(json, false);
8196
+ }
8197
+ function CreateCompanySpendPolicyRequestBodyToJSONTyped(value, ignoreDiscriminator = false) {
8198
+ if (value == null) {
8199
+ return value;
8200
+ }
8201
+ return {
8202
+ billing_credit_id: value["billingCreditId"],
8203
+ label: value["label"],
8204
+ max_per_draw: value["maxPerDraw"],
8205
+ user_id: value["userId"],
8206
+ window_amount: value["windowAmount"],
8207
+ window_unit: CreditSpendWindowUnitToJSON(value["windowUnit"])
8208
+ };
8209
+ }
8210
+
8211
+ // src/api/checkoutexternal/models/CreditSpendPolicyScope.ts
8212
+ function CreditSpendPolicyScopeFromJSON(json) {
8213
+ return CreditSpendPolicyScopeFromJSONTyped(json, false);
8214
+ }
8215
+ function CreditSpendPolicyScopeFromJSONTyped(json, ignoreDiscriminator) {
8216
+ return json;
8217
+ }
8218
+
8219
+ // src/api/checkoutexternal/models/CreditSpendPolicyResponseData.ts
8220
+ function CreditSpendPolicyResponseDataFromJSON(json) {
8221
+ return CreditSpendPolicyResponseDataFromJSONTyped(json, false);
8222
+ }
8223
+ function CreditSpendPolicyResponseDataFromJSONTyped(json, ignoreDiscriminator) {
8224
+ if (json == null) {
8225
+ return json;
8226
+ }
8227
+ return {
8228
+ billingCreditId: json["billing_credit_id"],
8229
+ companyId: json["company_id"] == null ? void 0 : json["company_id"],
8230
+ consumed: json["consumed"] == null ? void 0 : json["consumed"],
8231
+ createdAt: new Date(json["created_at"]),
8232
+ headroom: json["headroom"] == null ? void 0 : json["headroom"],
8233
+ id: json["id"],
8234
+ label: json["label"] == null ? void 0 : json["label"],
8235
+ maxPerDraw: json["max_per_draw"] == null ? void 0 : json["max_per_draw"],
8236
+ resetsAt: json["resets_at"] == null ? void 0 : new Date(json["resets_at"]),
8237
+ scopeType: CreditSpendPolicyScopeFromJSON(json["scope_type"]),
8238
+ updatedAt: new Date(json["updated_at"]),
8239
+ userId: json["user_id"] == null ? void 0 : json["user_id"],
8240
+ windowAmount: json["window_amount"] == null ? void 0 : json["window_amount"],
8241
+ windowCount: json["window_count"],
8242
+ windowUnit: json["window_unit"] == null ? void 0 : CreditSpendWindowUnitFromJSON(json["window_unit"])
8243
+ };
8244
+ }
8245
+
8246
+ // src/api/checkoutexternal/models/CreateCompanySpendPolicyResponse.ts
8247
+ function CreateCompanySpendPolicyResponseFromJSON(json) {
8248
+ return CreateCompanySpendPolicyResponseFromJSONTyped(json, false);
8249
+ }
8250
+ function CreateCompanySpendPolicyResponseFromJSONTyped(json, ignoreDiscriminator) {
8251
+ if (json == null) {
8252
+ return json;
8253
+ }
8254
+ return {
8255
+ data: CreditSpendPolicyResponseDataFromJSON(json["data"]),
8256
+ params: json["params"]
8257
+ };
8258
+ }
8259
+
8139
8260
  // src/api/checkoutexternal/models/SetupIntentResponseData.ts
8140
8261
  function SetupIntentResponseDataFromJSON(json) {
8141
8262
  return SetupIntentResponseDataFromJSONTyped(json, false);
@@ -8224,6 +8345,20 @@ function CreditUserUsageResponseDataFromJSONTyped(json, ignoreDiscriminator) {
8224
8345
  };
8225
8346
  }
8226
8347
 
8348
+ // src/api/checkoutexternal/models/DeleteCompanySpendPolicyResponse.ts
8349
+ function DeleteCompanySpendPolicyResponseFromJSON(json) {
8350
+ return DeleteCompanySpendPolicyResponseFromJSONTyped(json, false);
8351
+ }
8352
+ function DeleteCompanySpendPolicyResponseFromJSONTyped(json, ignoreDiscriminator) {
8353
+ if (json == null) {
8354
+ return json;
8355
+ }
8356
+ return {
8357
+ data: DeleteResponseFromJSON(json["data"]),
8358
+ params: json["params"]
8359
+ };
8360
+ }
8361
+
8227
8362
  // src/api/checkoutexternal/models/DeletePaymentMethodResponse.ts
8228
8363
  function DeletePaymentMethodResponseFromJSON(json) {
8229
8364
  return DeletePaymentMethodResponseFromJSONTyped(json, false);
@@ -8598,6 +8733,34 @@ function GetFeatureUsageByUserResponseFromJSONTyped(json, ignoreDiscriminator) {
8598
8733
  };
8599
8734
  }
8600
8735
 
8736
+ // src/api/checkoutexternal/models/InvoiceLink.ts
8737
+ function InvoiceLinkFromJSON(json) {
8738
+ return InvoiceLinkFromJSONTyped(json, false);
8739
+ }
8740
+ function InvoiceLinkFromJSONTyped(json, ignoreDiscriminator) {
8741
+ if (json == null) {
8742
+ return json;
8743
+ }
8744
+ return {
8745
+ id: json["id"],
8746
+ url: json["url"]
8747
+ };
8748
+ }
8749
+
8750
+ // src/api/checkoutexternal/models/GetInvoiceLinkResponse.ts
8751
+ function GetInvoiceLinkResponseFromJSON(json) {
8752
+ return GetInvoiceLinkResponseFromJSONTyped(json, false);
8753
+ }
8754
+ function GetInvoiceLinkResponseFromJSONTyped(json, ignoreDiscriminator) {
8755
+ if (json == null) {
8756
+ return json;
8757
+ }
8758
+ return {
8759
+ data: InvoiceLinkFromJSON(json["data"]),
8760
+ params: json["params"]
8761
+ };
8762
+ }
8763
+
8601
8764
  // src/api/checkoutexternal/models/GetSetupIntentResponse.ts
8602
8765
  function GetSetupIntentResponseFromJSON(json) {
8603
8766
  return GetSetupIntentResponseFromJSONTyped(json, false);
@@ -8711,6 +8874,35 @@ function ListCheckoutsResponseFromJSONTyped(json, ignoreDiscriminator) {
8711
8874
  };
8712
8875
  }
8713
8876
 
8877
+ // src/api/checkoutexternal/models/ListCompanySpendPoliciesParams.ts
8878
+ function ListCompanySpendPoliciesParamsFromJSON(json) {
8879
+ return ListCompanySpendPoliciesParamsFromJSONTyped(json, false);
8880
+ }
8881
+ function ListCompanySpendPoliciesParamsFromJSONTyped(json, ignoreDiscriminator) {
8882
+ if (json == null) {
8883
+ return json;
8884
+ }
8885
+ return {
8886
+ billingCreditId: json["billing_credit_id"] == null ? void 0 : json["billing_credit_id"]
8887
+ };
8888
+ }
8889
+
8890
+ // src/api/checkoutexternal/models/ListCompanySpendPoliciesResponse.ts
8891
+ function ListCompanySpendPoliciesResponseFromJSON(json) {
8892
+ return ListCompanySpendPoliciesResponseFromJSONTyped(json, false);
8893
+ }
8894
+ function ListCompanySpendPoliciesResponseFromJSONTyped(json, ignoreDiscriminator) {
8895
+ if (json == null) {
8896
+ return json;
8897
+ }
8898
+ return {
8899
+ data: json["data"].map(
8900
+ CreditSpendPolicyResponseDataFromJSON
8901
+ ),
8902
+ params: ListCompanySpendPoliciesParamsFromJSON(json["params"])
8903
+ };
8904
+ }
8905
+
8714
8906
  // src/api/checkoutexternal/models/ListInvoicesParams.ts
8715
8907
  function ListInvoicesParamsFromJSON(json) {
8716
8908
  return ListInvoicesParamsFromJSONTyped(json, false);
@@ -9041,6 +9233,36 @@ function UpdateCheckoutTaxIDResponseFromJSONTyped(json, ignoreDiscriminator) {
9041
9233
  };
9042
9234
  }
9043
9235
 
9236
+ // src/api/checkoutexternal/models/UpdateCompanySpendPolicyResponse.ts
9237
+ function UpdateCompanySpendPolicyResponseFromJSON(json) {
9238
+ return UpdateCompanySpendPolicyResponseFromJSONTyped(json, false);
9239
+ }
9240
+ function UpdateCompanySpendPolicyResponseFromJSONTyped(json, ignoreDiscriminator) {
9241
+ if (json == null) {
9242
+ return json;
9243
+ }
9244
+ return {
9245
+ data: CreditSpendPolicyResponseDataFromJSON(json["data"]),
9246
+ params: json["params"]
9247
+ };
9248
+ }
9249
+
9250
+ // src/api/checkoutexternal/models/UpdateCreditSpendPolicyRequestBody.ts
9251
+ function UpdateCreditSpendPolicyRequestBodyToJSON(json) {
9252
+ return UpdateCreditSpendPolicyRequestBodyToJSONTyped(json, false);
9253
+ }
9254
+ function UpdateCreditSpendPolicyRequestBodyToJSONTyped(value, ignoreDiscriminator = false) {
9255
+ if (value == null) {
9256
+ return value;
9257
+ }
9258
+ return {
9259
+ label: value["label"],
9260
+ max_per_draw: value["maxPerDraw"],
9261
+ window_amount: value["windowAmount"],
9262
+ window_unit: CreditSpendWindowUnitToJSON(value["windowUnit"])
9263
+ };
9264
+ }
9265
+
9044
9266
  // src/api/checkoutexternal/models/UpdatePaymentMethodRequestBody.ts
9045
9267
  function UpdatePaymentMethodRequestBodyToJSON(json) {
9046
9268
  return UpdatePaymentMethodRequestBodyToJSONTyped(json, false);
@@ -9118,7 +9340,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9118
9340
  return await response.value();
9119
9341
  }
9120
9342
  /**
9121
- * Checkout unsubscribe
9343
+ * Cancels the company\'s subscription at the end of the current period.
9344
+ * Cancel the subscription
9122
9345
  */
9123
9346
  async checkoutUnsubscribeRaw(initOverrides) {
9124
9347
  const queryParameters = {};
@@ -9143,14 +9366,16 @@ var CheckoutexternalApi = class extends BaseAPI {
9143
9366
  );
9144
9367
  }
9145
9368
  /**
9146
- * Checkout unsubscribe
9369
+ * Cancels the company\'s subscription at the end of the current period.
9370
+ * Cancel the subscription
9147
9371
  */
9148
9372
  async checkoutUnsubscribe(initOverrides) {
9149
9373
  const response = await this.checkoutUnsubscribeRaw(initOverrides);
9150
9374
  return await response.value();
9151
9375
  }
9152
9376
  /**
9153
- * Create checkout
9377
+ * Opens a checkout for the token\'s company and prices the cart when it is priceable. A cart the purchase rules reject is still created, open, with the one problem that says why; a refusal creates nothing. The response carries the `version` every later write must send, and `expires_at` says when an open checkout closes on its own.
9378
+ * Create a checkout
9154
9379
  */
9155
9380
  async createCheckoutRaw(requestParameters, initOverrides) {
9156
9381
  if (requestParameters["createCheckoutRequest"] == null) {
@@ -9185,7 +9410,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9185
9410
  );
9186
9411
  }
9187
9412
  /**
9188
- * Create checkout
9413
+ * Opens a checkout for the token\'s company and prices the cart when it is priceable. A cart the purchase rules reject is still created, open, with the one problem that says why; a refusal creates nothing. The response carries the `version` every later write must send, and `expires_at` says when an open checkout closes on its own.
9414
+ * Create a checkout
9189
9415
  */
9190
9416
  async createCheckout(requestParameters, initOverrides) {
9191
9417
  const response = await this.createCheckoutRaw(
@@ -9195,7 +9421,53 @@ var CheckoutexternalApi = class extends BaseAPI {
9195
9421
  return await response.value();
9196
9422
  }
9197
9423
  /**
9198
- * Create setup intent
9424
+ * Create company spend policy
9425
+ */
9426
+ async createCompanySpendPolicyRaw(requestParameters, initOverrides) {
9427
+ if (requestParameters["createCompanySpendPolicyRequestBody"] == null) {
9428
+ throw new RequiredError(
9429
+ "createCompanySpendPolicyRequestBody",
9430
+ 'Required parameter "createCompanySpendPolicyRequestBody" was null or undefined when calling createCompanySpendPolicy().'
9431
+ );
9432
+ }
9433
+ const queryParameters = {};
9434
+ const headerParameters = {};
9435
+ headerParameters["Content-Type"] = "application/json";
9436
+ if (this.configuration && this.configuration.apiKey) {
9437
+ headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
9438
+ "X-Schematic-Api-Key"
9439
+ );
9440
+ }
9441
+ const response = await this.request(
9442
+ {
9443
+ path: `/company/credits/spend-policies`,
9444
+ method: "POST",
9445
+ headers: headerParameters,
9446
+ query: queryParameters,
9447
+ body: CreateCompanySpendPolicyRequestBodyToJSON(
9448
+ requestParameters["createCompanySpendPolicyRequestBody"]
9449
+ )
9450
+ },
9451
+ initOverrides
9452
+ );
9453
+ return new JSONApiResponse(
9454
+ response,
9455
+ (jsonValue) => CreateCompanySpendPolicyResponseFromJSON(jsonValue)
9456
+ );
9457
+ }
9458
+ /**
9459
+ * Create company spend policy
9460
+ */
9461
+ async createCompanySpendPolicy(requestParameters, initOverrides) {
9462
+ const response = await this.createCompanySpendPolicyRaw(
9463
+ requestParameters,
9464
+ initOverrides
9465
+ );
9466
+ return await response.value();
9467
+ }
9468
+ /**
9469
+ * A Stripe SetupIntent for collecting a new payment method with Stripe\'s Payment Element. Confirm it with `stripe.confirmSetup`; the method it saves joins the company\'s methods on file.
9470
+ * Create a setup intent
9199
9471
  */
9200
9472
  async createSetupIntentRaw(initOverrides) {
9201
9473
  const queryParameters = {};
@@ -9220,14 +9492,60 @@ var CheckoutexternalApi = class extends BaseAPI {
9220
9492
  );
9221
9493
  }
9222
9494
  /**
9223
- * Create setup intent
9495
+ * A Stripe SetupIntent for collecting a new payment method with Stripe\'s Payment Element. Confirm it with `stripe.confirmSetup`; the method it saves joins the company\'s methods on file.
9496
+ * Create a setup intent
9224
9497
  */
9225
9498
  async createSetupIntent(initOverrides) {
9226
9499
  const response = await this.createSetupIntentRaw(initOverrides);
9227
9500
  return await response.value();
9228
9501
  }
9229
9502
  /**
9230
- * Delete payment method
9503
+ * Delete company spend policy
9504
+ */
9505
+ async deleteCompanySpendPolicyRaw(requestParameters, initOverrides) {
9506
+ if (requestParameters["spendPolicyId"] == null) {
9507
+ throw new RequiredError(
9508
+ "spendPolicyId",
9509
+ 'Required parameter "spendPolicyId" was null or undefined when calling deleteCompanySpendPolicy().'
9510
+ );
9511
+ }
9512
+ const queryParameters = {};
9513
+ const headerParameters = {};
9514
+ if (this.configuration && this.configuration.apiKey) {
9515
+ headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
9516
+ "X-Schematic-Api-Key"
9517
+ );
9518
+ }
9519
+ const response = await this.request(
9520
+ {
9521
+ path: `/company/credits/spend-policies/{spend_policy_id}`.replace(
9522
+ `{${"spend_policy_id"}}`,
9523
+ encodeURIComponent(String(requestParameters["spendPolicyId"]))
9524
+ ),
9525
+ method: "DELETE",
9526
+ headers: headerParameters,
9527
+ query: queryParameters
9528
+ },
9529
+ initOverrides
9530
+ );
9531
+ return new JSONApiResponse(
9532
+ response,
9533
+ (jsonValue) => DeleteCompanySpendPolicyResponseFromJSON(jsonValue)
9534
+ );
9535
+ }
9536
+ /**
9537
+ * Delete company spend policy
9538
+ */
9539
+ async deleteCompanySpendPolicy(requestParameters, initOverrides) {
9540
+ const response = await this.deleteCompanySpendPolicyRaw(
9541
+ requestParameters,
9542
+ initOverrides
9543
+ );
9544
+ return await response.value();
9545
+ }
9546
+ /**
9547
+ * Detaches a payment method from the company\'s billing customer. The path parameter is the payment method\'s `id` from the list, not a checkout\'s; `usePaymentMethods().remove` calls this and reloads the list. The list says whether each method can be removed.
9548
+ * Remove a payment method
9231
9549
  */
9232
9550
  async deletePaymentMethodRaw(requestParameters, initOverrides) {
9233
9551
  if (requestParameters["checkoutId"] == null) {
@@ -9261,7 +9579,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9261
9579
  );
9262
9580
  }
9263
9581
  /**
9264
- * Delete payment method
9582
+ * Detaches a payment method from the company\'s billing customer. The path parameter is the payment method\'s `id` from the list, not a checkout\'s; `usePaymentMethods().remove` calls this and reloads the list. The list says whether each method can be removed.
9583
+ * Remove a payment method
9265
9584
  */
9266
9585
  async deletePaymentMethod(requestParameters, initOverrides) {
9267
9586
  const response = await this.deletePaymentMethodRaw(
@@ -9303,7 +9622,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9303
9622
  return await response.value();
9304
9623
  }
9305
9624
  /**
9306
- * Finalize checkout
9625
+ * Charges the cart at `version` and applies it to the subscription. The version is claimed before the billing provider is called, so of two concurrent finalizes only one charges. The cart is priced once more first: a blocking problem refuses the purchase with 400 and the fresh `problems` list, and a checkout priced before a sibling completed is refused with 409. The claim is not released when the charge fails, so read the checkout before trying again. When the charge needs the customer, as with 3-D Secure, the response carries `confirm_payment_intent_client_secret` to confirm with Stripe.
9626
+ * Finalize a checkout
9307
9627
  */
9308
9628
  async finalizeCheckoutRaw(requestParameters, initOverrides) {
9309
9629
  if (requestParameters["checkoutId"] == null) {
@@ -9352,7 +9672,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9352
9672
  );
9353
9673
  }
9354
9674
  /**
9355
- * Finalize checkout
9675
+ * Charges the cart at `version` and applies it to the subscription. The version is claimed before the billing provider is called, so of two concurrent finalizes only one charges. The cart is priced once more first: a blocking problem refuses the purchase with 400 and the fresh `problems` list, and a checkout priced before a sibling completed is refused with 409. The claim is not released when the charge fails, so read the checkout before trying again. When the charge needs the customer, as with 3-D Secure, the response carries `confirm_payment_intent_client_secret` to confirm with Stripe.
9676
+ * Finalize a checkout
9356
9677
  */
9357
9678
  async finalizeCheckout(requestParameters, initOverrides) {
9358
9679
  const response = await this.finalizeCheckoutRaw(
@@ -9362,7 +9683,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9362
9683
  return await response.value();
9363
9684
  }
9364
9685
  /**
9365
- * Get catalog view
9686
+ * The environment\'s catalog as the company sees it: plans, add-ons and credit bundles, each with the company\'s standing against it (`current`, `valid`, `invalid_reason`, `company_can_trial`), the checkout settings, and `capabilities.checkout`. Needs the `multi-product-catalog` flag on the account.
9687
+ * Get the catalog view
9366
9688
  */
9367
9689
  async getCatalogViewRaw(initOverrides) {
9368
9690
  const queryParameters = {};
@@ -9387,14 +9709,16 @@ var CheckoutexternalApi = class extends BaseAPI {
9387
9709
  );
9388
9710
  }
9389
9711
  /**
9390
- * Get catalog view
9712
+ * The environment\'s catalog as the company sees it: plans, add-ons and credit bundles, each with the company\'s standing against it (`current`, `valid`, `invalid_reason`, `company_can_trial`), the checkout settings, and `capabilities.checkout`. Needs the `multi-product-catalog` flag on the account.
9713
+ * Get the catalog view
9391
9714
  */
9392
9715
  async getCatalogView(initOverrides) {
9393
9716
  const response = await this.getCatalogViewRaw(initOverrides);
9394
9717
  return await response.value();
9395
9718
  }
9396
9719
  /**
9397
- * Get catalog view by ID
9720
+ * The same view for the catalog `catalog_id` names rather than the environment\'s default catalog.
9721
+ * Get a catalog view by ID
9398
9722
  */
9399
9723
  async getCatalogViewByIDRaw(requestParameters, initOverrides) {
9400
9724
  if (requestParameters["catalogId"] == null) {
@@ -9428,7 +9752,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9428
9752
  );
9429
9753
  }
9430
9754
  /**
9431
- * Get catalog view by ID
9755
+ * The same view for the catalog `catalog_id` names rather than the environment\'s default catalog.
9756
+ * Get a catalog view by ID
9432
9757
  */
9433
9758
  async getCatalogViewByID(requestParameters, initOverrides) {
9434
9759
  const response = await this.getCatalogViewByIDRaw(
@@ -9438,7 +9763,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9438
9763
  return await response.value();
9439
9764
  }
9440
9765
  /**
9441
- * Get checkout
9766
+ * Reads a checkout this session opened. Resume from here before writing: the `version` it returns is the one the next update must send. A checkout another session built, or one for another company, reads as not found.
9767
+ * Get a checkout
9442
9768
  */
9443
9769
  async getCheckoutRaw(requestParameters, initOverrides) {
9444
9770
  if (requestParameters["checkoutId"] == null) {
@@ -9472,7 +9798,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9472
9798
  );
9473
9799
  }
9474
9800
  /**
9475
- * Get checkout
9801
+ * Reads a checkout this session opened. Resume from here before writing: the `version` it returns is the one the next update must send. A checkout another session built, or one for another company, reads as not found.
9802
+ * Get a checkout
9476
9803
  */
9477
9804
  async getCheckout(requestParameters, initOverrides) {
9478
9805
  const response = await this.getCheckoutRaw(
@@ -9482,7 +9809,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9482
9809
  return await response.value();
9483
9810
  }
9484
9811
  /**
9485
- * Get checkout tax ID
9812
+ * The company\'s tax IDs on file with the billing provider.
9813
+ * List tax IDs
9486
9814
  */
9487
9815
  async getCheckoutTaxIDRaw(initOverrides) {
9488
9816
  const queryParameters = {};
@@ -9507,14 +9835,16 @@ var CheckoutexternalApi = class extends BaseAPI {
9507
9835
  );
9508
9836
  }
9509
9837
  /**
9510
- * Get checkout tax ID
9838
+ * The company\'s tax IDs on file with the billing provider.
9839
+ * List tax IDs
9511
9840
  */
9512
9841
  async getCheckoutTaxID(initOverrides) {
9513
9842
  const response = await this.getCheckoutTaxIDRaw(initOverrides);
9514
9843
  return await response.value();
9515
9844
  }
9516
9845
  /**
9517
- * Get company
9846
+ * The token\'s company: its plan and add-ons, the subscription\'s period and currency, and the payment method on file. Needs the `company-context-api` flag on the account; without it every `/company` read answers 404.
9847
+ * Get the company
9518
9848
  */
9519
9849
  async getCompanyRaw(initOverrides) {
9520
9850
  const queryParameters = {};
@@ -9539,14 +9869,16 @@ var CheckoutexternalApi = class extends BaseAPI {
9539
9869
  );
9540
9870
  }
9541
9871
  /**
9542
- * Get company
9872
+ * The token\'s company: its plan and add-ons, the subscription\'s period and currency, and the payment method on file. Needs the `company-context-api` flag on the account; without it every `/company` read answers 404.
9873
+ * Get the company
9543
9874
  */
9544
9875
  async getCompany(initOverrides) {
9545
9876
  const response = await this.getCompanyRaw(initOverrides);
9546
9877
  return await response.value();
9547
9878
  }
9548
9879
  /**
9549
- * Get company credit balances
9880
+ * The company\'s credit balances, with what each grant holds and what is purchasable.
9881
+ * List credit balances
9550
9882
  */
9551
9883
  async getCompanyCreditBalancesRaw(initOverrides) {
9552
9884
  const queryParameters = {};
@@ -9571,14 +9903,16 @@ var CheckoutexternalApi = class extends BaseAPI {
9571
9903
  );
9572
9904
  }
9573
9905
  /**
9574
- * Get company credit balances
9906
+ * The company\'s credit balances, with what each grant holds and what is purchasable.
9907
+ * List credit balances
9575
9908
  */
9576
9909
  async getCompanyCreditBalances(initOverrides) {
9577
9910
  const response = await this.getCompanyCreditBalancesRaw(initOverrides);
9578
9911
  return await response.value();
9579
9912
  }
9580
9913
  /**
9581
- * Get company credit user usage
9914
+ * Who in the company consumed the credit, and how much each.
9915
+ * List credit usage by user
9582
9916
  */
9583
9917
  async getCompanyCreditUserUsageRaw(requestParameters, initOverrides) {
9584
9918
  if (requestParameters["creditId"] == null) {
@@ -9618,7 +9952,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9618
9952
  );
9619
9953
  }
9620
9954
  /**
9621
- * Get company credit user usage
9955
+ * Who in the company consumed the credit, and how much each.
9956
+ * List credit usage by user
9622
9957
  */
9623
9958
  async getCompanyCreditUserUsage(requestParameters, initOverrides) {
9624
9959
  const response = await this.getCompanyCreditUserUsageRaw(
@@ -9628,7 +9963,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9628
9963
  return await response.value();
9629
9964
  }
9630
9965
  /**
9631
- * Get company feature usage
9966
+ * The company\'s entitlements and usage against each metered feature.
9967
+ * List feature usage
9632
9968
  */
9633
9969
  async getCompanyFeatureUsageRaw(initOverrides) {
9634
9970
  const queryParameters = {};
@@ -9653,14 +9989,16 @@ var CheckoutexternalApi = class extends BaseAPI {
9653
9989
  );
9654
9990
  }
9655
9991
  /**
9656
- * Get company feature usage
9992
+ * The company\'s entitlements and usage against each metered feature.
9993
+ * List feature usage
9657
9994
  */
9658
9995
  async getCompanyFeatureUsage(initOverrides) {
9659
9996
  const response = await this.getCompanyFeatureUsageRaw(initOverrides);
9660
9997
  return await response.value();
9661
9998
  }
9662
9999
  /**
9663
- * Get company feature user usage
10000
+ * Who in the company used the feature, and how much each.
10001
+ * List feature usage by user
9664
10002
  */
9665
10003
  async getCompanyFeatureUserUsageRaw(requestParameters, initOverrides) {
9666
10004
  if (requestParameters["featureId"] == null) {
@@ -9700,7 +10038,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9700
10038
  );
9701
10039
  }
9702
10040
  /**
9703
- * Get company feature user usage
10041
+ * Who in the company used the feature, and how much each.
10042
+ * List feature usage by user
9704
10043
  */
9705
10044
  async getCompanyFeatureUserUsage(requestParameters, initOverrides) {
9706
10045
  const response = await this.getCompanyFeatureUserUsageRaw(
@@ -9710,7 +10049,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9710
10049
  return await response.value();
9711
10050
  }
9712
10051
  /**
9713
- * Get company invoices
10052
+ * The company\'s invoices, newest first. An empty list is a company with none.
10053
+ * List invoices
9714
10054
  */
9715
10055
  async getCompanyInvoicesRaw(requestParameters, initOverrides) {
9716
10056
  const queryParameters = {};
@@ -9744,7 +10084,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9744
10084
  );
9745
10085
  }
9746
10086
  /**
9747
- * Get company invoices
10087
+ * The company\'s invoices, newest first. An empty list is a company with none.
10088
+ * List invoices
9748
10089
  */
9749
10090
  async getCompanyInvoices(requestParameters = {}, initOverrides) {
9750
10091
  const response = await this.getCompanyInvoicesRaw(
@@ -9754,7 +10095,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9754
10095
  return await response.value();
9755
10096
  }
9756
10097
  /**
9757
- * Get company payment methods
10098
+ * The company\'s payment methods on file, with the default marked and whether each can be removed.
10099
+ * List payment methods
9758
10100
  */
9759
10101
  async getCompanyPaymentMethodsRaw(initOverrides) {
9760
10102
  const queryParameters = {};
@@ -9779,14 +10121,16 @@ var CheckoutexternalApi = class extends BaseAPI {
9779
10121
  );
9780
10122
  }
9781
10123
  /**
9782
- * Get company payment methods
10124
+ * The company\'s payment methods on file, with the default marked and whether each can be removed.
10125
+ * List payment methods
9783
10126
  */
9784
10127
  async getCompanyPaymentMethods(initOverrides) {
9785
10128
  const response = await this.getCompanyPaymentMethodsRaw(initOverrides);
9786
10129
  return await response.value();
9787
10130
  }
9788
10131
  /**
9789
- * Get company upcoming invoice
10132
+ * A live preview of the company\'s next invoice from the billing provider. A company with nothing to bill answers 204.
10133
+ * Get the upcoming invoice
9790
10134
  */
9791
10135
  async getCompanyUpcomingInvoiceRaw(initOverrides) {
9792
10136
  const queryParameters = {};
@@ -9811,7 +10155,8 @@ var CheckoutexternalApi = class extends BaseAPI {
9811
10155
  );
9812
10156
  }
9813
10157
  /**
9814
- * Get company upcoming invoice
10158
+ * A live preview of the company\'s next invoice from the billing provider. A company with nothing to bill answers 204.
10159
+ * Get the upcoming invoice
9815
10160
  */
9816
10161
  async getCompanyUpcomingInvoice(initOverrides) {
9817
10162
  const response = await this.getCompanyUpcomingInvoiceRaw(initOverrides);
@@ -9924,6 +10269,50 @@ var CheckoutexternalApi = class extends BaseAPI {
9924
10269
  );
9925
10270
  return await response.value();
9926
10271
  }
10272
+ /**
10273
+ * Get invoice link
10274
+ */
10275
+ async getInvoiceLinkRaw(requestParameters, initOverrides) {
10276
+ if (requestParameters["billingInvoiceId"] == null) {
10277
+ throw new RequiredError(
10278
+ "billingInvoiceId",
10279
+ 'Required parameter "billingInvoiceId" was null or undefined when calling getInvoiceLink().'
10280
+ );
10281
+ }
10282
+ const queryParameters = {};
10283
+ const headerParameters = {};
10284
+ if (this.configuration && this.configuration.apiKey) {
10285
+ headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
10286
+ "X-Schematic-Api-Key"
10287
+ );
10288
+ }
10289
+ const response = await this.request(
10290
+ {
10291
+ path: `/components/invoices/{billing_invoice_id}/link`.replace(
10292
+ `{${"billing_invoice_id"}}`,
10293
+ encodeURIComponent(String(requestParameters["billingInvoiceId"]))
10294
+ ),
10295
+ method: "GET",
10296
+ headers: headerParameters,
10297
+ query: queryParameters
10298
+ },
10299
+ initOverrides
10300
+ );
10301
+ return new JSONApiResponse(
10302
+ response,
10303
+ (jsonValue) => GetInvoiceLinkResponseFromJSON(jsonValue)
10304
+ );
10305
+ }
10306
+ /**
10307
+ * Get invoice link
10308
+ */
10309
+ async getInvoiceLink(requestParameters, initOverrides) {
10310
+ const response = await this.getInvoiceLinkRaw(
10311
+ requestParameters,
10312
+ initOverrides
10313
+ );
10314
+ return await response.value();
10315
+ }
9927
10316
  /**
9928
10317
  * Get setup intent
9929
10318
  */
@@ -10098,6 +10487,7 @@ var CheckoutexternalApi = class extends BaseAPI {
10098
10487
  return await response.value();
10099
10488
  }
10100
10489
  /**
10490
+ * The checkouts this session opened for the token\'s company. Filter by `statuses`.
10101
10491
  * List checkouts
10102
10492
  */
10103
10493
  async listCheckoutsRaw(requestParameters, initOverrides) {
@@ -10135,6 +10525,7 @@ var CheckoutexternalApi = class extends BaseAPI {
10135
10525
  );
10136
10526
  }
10137
10527
  /**
10528
+ * The checkouts this session opened for the token\'s company. Filter by `statuses`.
10138
10529
  * List checkouts
10139
10530
  */
10140
10531
  async listCheckouts(requestParameters = {}, initOverrides) {
@@ -10144,6 +10535,44 @@ var CheckoutexternalApi = class extends BaseAPI {
10144
10535
  );
10145
10536
  return await response.value();
10146
10537
  }
10538
+ /**
10539
+ * List company spend policies
10540
+ */
10541
+ async listCompanySpendPoliciesRaw(requestParameters, initOverrides) {
10542
+ const queryParameters = {};
10543
+ if (requestParameters["billingCreditId"] != null) {
10544
+ queryParameters["billing_credit_id"] = requestParameters["billingCreditId"];
10545
+ }
10546
+ const headerParameters = {};
10547
+ if (this.configuration && this.configuration.apiKey) {
10548
+ headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
10549
+ "X-Schematic-Api-Key"
10550
+ );
10551
+ }
10552
+ const response = await this.request(
10553
+ {
10554
+ path: `/company/credits/spend-policies`,
10555
+ method: "GET",
10556
+ headers: headerParameters,
10557
+ query: queryParameters
10558
+ },
10559
+ initOverrides
10560
+ );
10561
+ return new JSONApiResponse(
10562
+ response,
10563
+ (jsonValue) => ListCompanySpendPoliciesResponseFromJSON(jsonValue)
10564
+ );
10565
+ }
10566
+ /**
10567
+ * List company spend policies
10568
+ */
10569
+ async listCompanySpendPolicies(requestParameters = {}, initOverrides) {
10570
+ const response = await this.listCompanySpendPoliciesRaw(
10571
+ requestParameters,
10572
+ initOverrides
10573
+ );
10574
+ return await response.value();
10575
+ }
10147
10576
  /**
10148
10577
  * List invoices
10149
10578
  */
@@ -10231,7 +10660,8 @@ var CheckoutexternalApi = class extends BaseAPI {
10231
10660
  return await response.value();
10232
10661
  }
10233
10662
  /**
10234
- * Update checkout
10663
+ * Replaces the cart and prices it again. Send the `version` last read; a stale one answers 409 and changes nothing, so read the checkout and send the write again at its version. A cart the purchase rules reject is saved with its price cleared and one problem saying why, and the version still advances. The `X-Checkout-Session-ID` response header names the session this price belongs to; send it back on the finalize that follows.
10664
+ * Update a checkout
10235
10665
  */
10236
10666
  async updateCheckoutRaw(requestParameters, initOverrides) {
10237
10667
  if (requestParameters["checkoutId"] == null) {
@@ -10275,7 +10705,8 @@ var CheckoutexternalApi = class extends BaseAPI {
10275
10705
  );
10276
10706
  }
10277
10707
  /**
10278
- * Update checkout
10708
+ * Replaces the cart and prices it again. Send the `version` last read; a stale one answers 409 and changes nothing, so read the checkout and send the write again at its version. A cart the purchase rules reject is saved with its price cleared and one problem saying why, and the version still advances. The `X-Checkout-Session-ID` response header names the session this price belongs to; send it back on the finalize that follows.
10709
+ * Update a checkout
10279
10710
  */
10280
10711
  async updateCheckout(requestParameters, initOverrides) {
10281
10712
  const response = await this.updateCheckoutRaw(
@@ -10330,7 +10761,8 @@ var CheckoutexternalApi = class extends BaseAPI {
10330
10761
  return await response.value();
10331
10762
  }
10332
10763
  /**
10333
- * Update checkout tax ID
10764
+ * Saves a tax ID on the company\'s billing customer and answers with every tax ID now on file. The tax ID is not part of a checkout\'s cart; save it before the finalize that needs it.
10765
+ * Set the tax ID
10334
10766
  */
10335
10767
  async updateCheckoutTaxIDRaw(requestParameters, initOverrides) {
10336
10768
  if (requestParameters["updateCheckoutTaxIDRequestBody"] == null) {
@@ -10365,7 +10797,8 @@ var CheckoutexternalApi = class extends BaseAPI {
10365
10797
  );
10366
10798
  }
10367
10799
  /**
10368
- * Update checkout tax ID
10800
+ * Saves a tax ID on the company\'s billing customer and answers with every tax ID now on file. The tax ID is not part of a checkout\'s cart; save it before the finalize that needs it.
10801
+ * Set the tax ID
10369
10802
  */
10370
10803
  async updateCheckoutTaxID(requestParameters, initOverrides) {
10371
10804
  const response = await this.updateCheckoutTaxIDRaw(
@@ -10375,7 +10808,62 @@ var CheckoutexternalApi = class extends BaseAPI {
10375
10808
  return await response.value();
10376
10809
  }
10377
10810
  /**
10378
- * Update payment method
10811
+ * Update company spend policy
10812
+ */
10813
+ async updateCompanySpendPolicyRaw(requestParameters, initOverrides) {
10814
+ if (requestParameters["spendPolicyId"] == null) {
10815
+ throw new RequiredError(
10816
+ "spendPolicyId",
10817
+ 'Required parameter "spendPolicyId" was null or undefined when calling updateCompanySpendPolicy().'
10818
+ );
10819
+ }
10820
+ if (requestParameters["updateCreditSpendPolicyRequestBody"] == null) {
10821
+ throw new RequiredError(
10822
+ "updateCreditSpendPolicyRequestBody",
10823
+ 'Required parameter "updateCreditSpendPolicyRequestBody" was null or undefined when calling updateCompanySpendPolicy().'
10824
+ );
10825
+ }
10826
+ const queryParameters = {};
10827
+ const headerParameters = {};
10828
+ headerParameters["Content-Type"] = "application/json";
10829
+ if (this.configuration && this.configuration.apiKey) {
10830
+ headerParameters["X-Schematic-Api-Key"] = await this.configuration.apiKey(
10831
+ "X-Schematic-Api-Key"
10832
+ );
10833
+ }
10834
+ const response = await this.request(
10835
+ {
10836
+ path: `/company/credits/spend-policies/{spend_policy_id}`.replace(
10837
+ `{${"spend_policy_id"}}`,
10838
+ encodeURIComponent(String(requestParameters["spendPolicyId"]))
10839
+ ),
10840
+ method: "PUT",
10841
+ headers: headerParameters,
10842
+ query: queryParameters,
10843
+ body: UpdateCreditSpendPolicyRequestBodyToJSON(
10844
+ requestParameters["updateCreditSpendPolicyRequestBody"]
10845
+ )
10846
+ },
10847
+ initOverrides
10848
+ );
10849
+ return new JSONApiResponse(
10850
+ response,
10851
+ (jsonValue) => UpdateCompanySpendPolicyResponseFromJSON(jsonValue)
10852
+ );
10853
+ }
10854
+ /**
10855
+ * Update company spend policy
10856
+ */
10857
+ async updateCompanySpendPolicy(requestParameters, initOverrides) {
10858
+ const response = await this.updateCompanySpendPolicyRaw(
10859
+ requestParameters,
10860
+ initOverrides
10861
+ );
10862
+ return await response.value();
10863
+ }
10864
+ /**
10865
+ * Makes a method on file the one the company\'s charges use. The body\'s `payment_method_id` is the provider\'s id of the method, the `external_id` the list returns; `usePaymentMethods().setDefault` calls this and reloads the list. A card saved during a checkout joins the methods on file and becomes the default the same way.
10866
+ * Make a payment method the default
10379
10867
  */
10380
10868
  async updatePaymentMethodRaw(requestParameters, initOverrides) {
10381
10869
  if (requestParameters["updatePaymentMethodRequestBody"] == null) {
@@ -10410,7 +10898,8 @@ var CheckoutexternalApi = class extends BaseAPI {
10410
10898
  );
10411
10899
  }
10412
10900
  /**
10413
- * Update payment method
10901
+ * Makes a method on file the one the company\'s charges use. The body\'s `payment_method_id` is the provider\'s id of the method, the `external_id` the list returns; `usePaymentMethods().setDefault` calls this and reloads the list. A card saved during a checkout joins the methods on file and becomes the default the same way.
10902
+ * Make a payment method the default
10414
10903
  */
10415
10904
  async updatePaymentMethod(requestParameters, initOverrides) {
10416
10905
  const response = await this.updatePaymentMethodRaw(
@@ -11252,6 +11741,22 @@ function ConditionTypeFromJSONTyped5(json, ignoreDiscriminator) {
11252
11741
  return json;
11253
11742
  }
11254
11743
 
11744
+ // src/api/componentspublic/models/CreditModelRate.ts
11745
+ function CreditModelRateFromJSON2(json) {
11746
+ return CreditModelRateFromJSONTyped4(json, false);
11747
+ }
11748
+ function CreditModelRateFromJSONTyped4(json, ignoreDiscriminator) {
11749
+ if (json == null) {
11750
+ return json;
11751
+ }
11752
+ return {
11753
+ consumptionRate: json["consumption_rate"],
11754
+ model: json["model"],
11755
+ provider: json["provider"],
11756
+ quantityRates: json["quantity_rates"] == null ? void 0 : json["quantity_rates"]
11757
+ };
11758
+ }
11759
+
11255
11760
  // src/api/componentspublic/models/CustomPlanConfig.ts
11256
11761
  function CustomPlanConfigFromJSON2(json) {
11257
11762
  return CustomPlanConfigFromJSONTyped3(json, false);
@@ -11670,6 +12175,7 @@ function PlanEntitlementResponseDataFromJSONTyped6(json, ignoreDiscriminator) {
11670
12175
  meteredYearlyPrice: json["metered_yearly_price"] == null ? void 0 : BillingPriceViewFromJSON2(json["metered_yearly_price"]),
11671
12176
  metricPeriod: json["metric_period"] == null ? void 0 : MetricPeriodFromJSON2(json["metric_period"]),
11672
12177
  metricPeriodMonthReset: json["metric_period_month_reset"] == null ? void 0 : MetricPeriodMonthResetFromJSON2(json["metric_period_month_reset"]),
12178
+ modelRates: json["model_rates"] == null ? void 0 : json["model_rates"].map(CreditModelRateFromJSON2),
11673
12179
  overageBillingCadence: json["overage_billing_cadence"] == null ? void 0 : BillingArrearsCadenceFromJSON2(json["overage_billing_cadence"]),
11674
12180
  overageInvoiceAnchor: json["overage_invoice_anchor"] == null ? void 0 : BillingArrearsAnchorFromJSON2(json["overage_invoice_anchor"]),
11675
12181
  plan: json["plan"] == null ? void 0 : PlanResponseDataFromJSON2(json["plan"]),
@@ -12389,7 +12895,7 @@ function resolveLocale(locale) {
12389
12895
  return locale !== void 0 && locale !== "" && isUsableLocale(locale) ? locale : DEFAULT_LOCALE;
12390
12896
  }
12391
12897
 
12392
- // node_modules/.pnpm/i18next@26.4.2_typescript@6.0.3/node_modules/i18next/dist/esm/i18next.js
12898
+ // node_modules/.pnpm/i18next@27.0.0_typescript@6.0.3/node_modules/i18next/dist/esm/i18next.js
12393
12899
  var isString = (obj) => typeof obj === "string";
12394
12900
  var defer = () => {
12395
12901
  let res;
@@ -12406,6 +12912,8 @@ var makeString = (object) => {
12406
12912
  if (object == null) return "";
12407
12913
  return String(object);
12408
12914
  };
12915
+ var isSafeLanguageCode = (code) => isString(code) && /^[A-Za-z0-9_@.-]{1,128}$/.test(code) && !code.includes("..") && !["__proto__", "constructor", "prototype"].includes(code);
12916
+ var callbackApiOf = (plugin) => plugin?.callbackApi ?? plugin?.constructor?.callbackApi;
12409
12917
  var copy2 = (a2, s, t3) => {
12410
12918
  a2.forEach((m2) => {
12411
12919
  if (s[m2]) t3[m2] = s[m2];
@@ -12502,12 +13010,11 @@ var _entityMap = {
12502
13010
  "<": "&lt;",
12503
13011
  ">": "&gt;",
12504
13012
  '"': "&quot;",
12505
- "'": "&#39;",
12506
- "/": "&#x2F;"
13013
+ "'": "&#39;"
12507
13014
  };
12508
13015
  var escape = (data) => {
12509
13016
  if (isString(data)) {
12510
- return data.replace(/[&<>"'\/]/g, (s) => _entityMap[s]);
13017
+ return data.replace(/[&<>"']/g, (s) => _entityMap[s]);
12511
13018
  }
12512
13019
  return data;
12513
13020
  };
@@ -12554,6 +13061,9 @@ var deepFind = (obj, path, keySeparator = ".") => {
12554
13061
  if (!Object.prototype.hasOwnProperty.call(obj, path)) return void 0;
12555
13062
  return obj[path];
12556
13063
  }
13064
+ if (!keySeparator) {
13065
+ return Object.prototype.hasOwnProperty.call(obj, path) ? obj[path] : void 0;
13066
+ }
12557
13067
  const tokens = path.split(keySeparator);
12558
13068
  let current = obj;
12559
13069
  for (let i2 = 0; i2 < tokens.length; ) {
@@ -12568,6 +13078,9 @@ var deepFind = (obj, path, keySeparator = ".") => {
12568
13078
  }
12569
13079
  nextPath += tokens[j2];
12570
13080
  next2 = current[nextPath];
13081
+ if ((typeof next2 === "function" || nextPath === "__proto__") && !Object.prototype.hasOwnProperty.call(current, nextPath)) {
13082
+ next2 = void 0;
13083
+ }
12571
13084
  if (next2 !== void 0) {
12572
13085
  if (["string", "number", "boolean"].includes(typeof next2) && j2 < tokens.length - 1) {
12573
13086
  continue;
@@ -12605,6 +13118,7 @@ var Logger = class _Logger {
12605
13118
  this.logger = concreteLogger || consoleLogger;
12606
13119
  this.options = options;
12607
13120
  this.debug = options.debug;
13121
+ this.seen = /* @__PURE__ */ new Set();
12608
13122
  }
12609
13123
  log(...args) {
12610
13124
  return this.forward(args, "log", "", true);
@@ -12618,6 +13132,11 @@ var Logger = class _Logger {
12618
13132
  deprecate(...args) {
12619
13133
  return this.forward(args, "warn", "WARNING DEPRECATED: ", true);
12620
13134
  }
13135
+ once(key, lvl, ...args) {
13136
+ if (!this.debug || this.seen.has(key) || this.seen.size >= 1e3) return null;
13137
+ this.seen.add(key);
13138
+ return this[lvl](...args);
13139
+ }
12621
13140
  forward(args, lvl, prefix2, debugOnly) {
12622
13141
  if (debugOnly && !this.debug) return null;
12623
13142
  args = args.map((a2) => isString(a2) ? a2.replace(/[\r\n\x00-\x1F\x7F]/g, " ") : a2);
@@ -12651,13 +13170,15 @@ var EventEmitter = class {
12651
13170
  });
12652
13171
  return this;
12653
13172
  }
12654
- off(event, listener) {
12655
- if (!this.observers[event]) return;
12656
- if (!listener) {
12657
- delete this.observers[event];
12658
- return;
12659
- }
12660
- this.observers[event].delete(listener);
13173
+ off(events, listener) {
13174
+ (typeof events === "string" ? events.split(" ") : [events]).forEach((event) => {
13175
+ if (!this.observers[event]) return;
13176
+ if (!listener) {
13177
+ delete this.observers[event];
13178
+ return;
13179
+ }
13180
+ this.observers[event].delete(listener);
13181
+ });
12661
13182
  }
12662
13183
  once(event, listener) {
12663
13184
  const wrapper = (...args) => {
@@ -12686,14 +13207,21 @@ var EventEmitter = class {
12686
13207
  }
12687
13208
  }
12688
13209
  };
13210
+ var nonEmptyBundles = /* @__PURE__ */ new WeakSet();
13211
+ var assertSeparateArguments = (method, ...args) => {
13212
+ if (args.some((a2) => !isString(a2))) {
13213
+ throw new TypeError(`${method}: pass language, namespace${method === "addResource" ? " and key" : ""} as separate strings; the dotted form ('en.translation.key') was removed in i18next v27`);
13214
+ }
13215
+ };
12689
13216
  var ResourceStore = class extends EventEmitter {
12690
13217
  constructor(data, options = {
12691
13218
  ns: ["translation"],
12692
13219
  defaultNS: "translation"
12693
- }) {
13220
+ }, logger = baseLogger) {
12694
13221
  super();
12695
13222
  this.data = data || {};
12696
13223
  this.options = options;
13224
+ this.logger = logger.create("resourceStore");
12697
13225
  if (this.options.keySeparator === void 0) {
12698
13226
  this.options.keySeparator = ".";
12699
13227
  }
@@ -12715,41 +13243,27 @@ var ResourceStore = class extends EventEmitter {
12715
13243
  getResource(lng, ns, key, options = {}) {
12716
13244
  const keySeparator = options.keySeparator !== void 0 ? options.keySeparator : this.options.keySeparator;
12717
13245
  const ignoreJSONStructure = options.ignoreJSONStructure !== void 0 ? options.ignoreJSONStructure : this.options.ignoreJSONStructure;
12718
- let path;
12719
- if (lng.includes(".")) {
12720
- path = lng.split(".");
12721
- } else {
12722
- path = [lng, ns];
12723
- if (key) {
12724
- if (Array.isArray(key)) {
12725
- path.push(...key);
12726
- } else if (isString(key) && keySeparator) {
12727
- path.push(...key.split(keySeparator));
12728
- } else {
12729
- path.push(key);
12730
- }
13246
+ const path = [lng, ns];
13247
+ if (key) {
13248
+ if (Array.isArray(key)) {
13249
+ path.push(...key);
13250
+ } else if (isString(key) && keySeparator) {
13251
+ path.push(...key.split(keySeparator));
13252
+ } else {
13253
+ path.push(key);
12731
13254
  }
12732
13255
  }
12733
13256
  const result = getPath(this.data, path);
12734
- if (!result && !ns && !key && lng.includes(".")) {
12735
- lng = path[0];
12736
- ns = path[1];
12737
- key = path.slice(2).join(".");
12738
- }
12739
- if (result || !ignoreJSONStructure || !isString(key)) return result;
13257
+ if (result != null || !ignoreJSONStructure || !isString(key)) return result;
12740
13258
  return deepFind(this.data?.[lng]?.[ns], key, keySeparator);
12741
13259
  }
12742
13260
  addResource(lng, ns, key, value, options = {
12743
13261
  silent: false
12744
13262
  }) {
13263
+ assertSeparateArguments("addResource", lng, ns, key);
12745
13264
  const keySeparator = options.keySeparator !== void 0 ? options.keySeparator : this.options.keySeparator;
12746
13265
  let path = [lng, ns];
12747
13266
  if (key) path = path.concat(keySeparator ? key.split(keySeparator) : key);
12748
- if (lng.includes(".")) {
12749
- path = lng.split(".");
12750
- value = ns;
12751
- ns = path[1];
12752
- }
12753
13267
  this.addNamespaces(ns);
12754
13268
  setPath(this.data, path, value);
12755
13269
  if (!options.silent) this.emit("added", lng, ns, key, value);
@@ -12757,24 +13271,21 @@ var ResourceStore = class extends EventEmitter {
12757
13271
  addResources(lng, ns, resources, options = {
12758
13272
  silent: false
12759
13273
  }) {
12760
- for (const m2 in resources) {
12761
- if (isString(resources[m2]) || Array.isArray(resources[m2])) this.addResource(lng, ns, m2, resources[m2], {
13274
+ assertSeparateArguments("addResources", lng, ns);
13275
+ Object.keys(resources || {}).forEach((m2) => {
13276
+ if (m2 === "__proto__" || m2 === "constructor") return;
13277
+ this.addResource(lng, ns, m2, resources[m2], {
12762
13278
  silent: true
12763
13279
  });
12764
- }
13280
+ });
12765
13281
  if (!options.silent) this.emit("added", lng, ns, resources);
12766
13282
  }
12767
13283
  addResourceBundle(lng, ns, resources, deep, overwrite, options = {
12768
13284
  silent: false,
12769
13285
  skipCopy: false
12770
13286
  }) {
12771
- let path = [lng, ns];
12772
- if (lng.includes(".")) {
12773
- path = lng.split(".");
12774
- deep = resources;
12775
- resources = ns;
12776
- ns = path[1];
12777
- }
13287
+ assertSeparateArguments("addResourceBundle", lng, ns);
13288
+ const path = [lng, ns];
12778
13289
  this.addNamespaces(ns);
12779
13290
  let pack = getPath(this.data, path) || {};
12780
13291
  if (!options.skipCopy) resources = JSON.parse(JSON.stringify(resources));
@@ -12809,24 +13320,18 @@ var ResourceStore = class extends EventEmitter {
12809
13320
  hasLanguageSomeTranslations(lng) {
12810
13321
  const data = this.getDataByLanguage(lng);
12811
13322
  const n2 = data && Object.keys(data) || [];
12812
- return !!n2.find((v2) => data[v2] && Object.keys(data[v2]).length > 0);
13323
+ return !!n2.find((v2) => {
13324
+ const bundle = data[v2];
13325
+ if (nonEmptyBundles.has(bundle)) return true;
13326
+ if (!bundle || Object.keys(bundle).length === 0) return false;
13327
+ if (typeof bundle === "object") nonEmptyBundles.add(bundle);
13328
+ return true;
13329
+ });
12813
13330
  }
12814
13331
  toJSON() {
12815
13332
  return this.data;
12816
13333
  }
12817
13334
  };
12818
- var postProcessor = {
12819
- processors: {},
12820
- addPostProcessor(module) {
12821
- this.processors[module.name] = module;
12822
- },
12823
- handle(processors, value, key, options, translator) {
12824
- processors.forEach((processor) => {
12825
- value = this.processors[processor]?.process(value, key, options, translator) ?? value;
12826
- });
12827
- return value;
12828
- }
12829
- };
12830
13335
  var PATH_KEY = /* @__PURE__ */ Symbol("i18next/PATH_KEY");
12831
13336
  function createProxy() {
12832
13337
  const state = [];
@@ -12845,7 +13350,7 @@ function keysFromSelector(selector, opts) {
12845
13350
  const {
12846
13351
  [PATH_KEY]: path
12847
13352
  } = selector(createProxy());
12848
- const keySeparator = opts?.keySeparator ?? ".";
13353
+ const keySeparator = opts?.keySeparator || ".";
12849
13354
  const nsSeparator = opts?.nsSeparator ?? ":";
12850
13355
  const strict = opts?.enableSelector === "strict";
12851
13356
  if (path.length > 1 && nsSeparator) {
@@ -12864,12 +13369,12 @@ var shouldHandleAsObject = (res) => !isString(res) && typeof res !== "boolean" &
12864
13369
  var Translator = class _Translator extends EventEmitter {
12865
13370
  constructor(services, options = {}) {
12866
13371
  super();
12867
- copy2(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], services, this);
13372
+ copy2(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils", "postProcessors"], services, this);
12868
13373
  this.options = options;
12869
13374
  if (this.options.keySeparator === void 0) {
12870
13375
  this.options.keySeparator = ".";
12871
13376
  }
12872
- this.logger = baseLogger.create("translator");
13377
+ this.logger = (services.logger || baseLogger).create("translator");
12873
13378
  this.checkedLoadedFor = {};
12874
13379
  }
12875
13380
  changeLanguage(lng) {
@@ -12993,22 +13498,24 @@ var Translator = class _Translator extends EventEmitter {
12993
13498
  }
12994
13499
  const handleAsObject = shouldHandleAsObject(resForObjHndl);
12995
13500
  const resType = Object.prototype.toString.apply(resForObjHndl);
12996
- if (handleAsObjectInI18nFormat && resForObjHndl && handleAsObject && !noObject.includes(resType) && !(isString(joinArrays) && Array.isArray(resForObjHndl))) {
12997
- if (!opt.returnObjects && !this.options.returnObjects) {
12998
- if (!this.options.returnedObjectHandler) {
12999
- this.logger.warn("accessing an object - but returnObjects options is not enabled!");
13000
- }
13001
- const r2 = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(resUsedKey, resForObjHndl, {
13002
- ...opt,
13003
- ns: namespaces
13004
- }) : `key '${key} (${this.language})' returned an object instead of string.`;
13005
- if (returnDetails) {
13006
- resolved.res = r2;
13007
- resolved.usedParams = this.getUsedParamsDetails(opt);
13008
- return resolved;
13009
- }
13010
- return r2;
13501
+ const isObjectHit = handleAsObjectInI18nFormat && resForObjHndl && handleAsObject && !noObject.includes(resType) && !(isString(joinArrays) && Array.isArray(resForObjHndl));
13502
+ const objectNotReturned = isObjectHit && !opt.returnObjects && !this.options.returnObjects;
13503
+ if (objectNotReturned && this.options.returnedObjectHandler) {
13504
+ const r2 = this.options.returnedObjectHandler(resUsedKey, resForObjHndl, {
13505
+ ...opt,
13506
+ ns: namespaces
13507
+ });
13508
+ if (returnDetails) {
13509
+ resolved.res = r2;
13510
+ resolved.usedParams = this.getUsedParamsDetails(opt);
13511
+ return resolved;
13011
13512
  }
13513
+ return r2;
13514
+ }
13515
+ if (objectNotReturned) {
13516
+ this.logger.warn("accessing an object - but returnObjects options is not enabled!");
13517
+ }
13518
+ if (isObjectHit && !objectNotReturned) {
13012
13519
  if (keySeparator) {
13013
13520
  const resTypeIsArray = Array.isArray(resForObjHndl);
13014
13521
  const copy3 = resTypeIsArray ? [] : {};
@@ -13041,22 +13548,23 @@ var Translator = class _Translator extends EventEmitter {
13041
13548
  }
13042
13549
  } else if (handleAsObjectInI18nFormat && isString(joinArrays) && Array.isArray(res)) {
13043
13550
  res = res.join(joinArrays);
13044
- if (res) res = this.extendTranslation(res, keys, opt, lastKey);
13551
+ if (res) res = this.extendTranslation(res, keys, opt, resolved, lastKey);
13045
13552
  } else {
13046
13553
  let usedDefault = false;
13047
13554
  let usedKey = false;
13048
- if (!this.isValidLookup(res) && hasDefaultValue) {
13555
+ if (objectNotReturned) res = void 0;
13556
+ if (!this.isValidLookup(res) && hasDefaultValue && !(objectNotReturned && shouldHandleAsObject(defaultValue))) {
13049
13557
  usedDefault = true;
13050
13558
  res = defaultValue;
13051
13559
  }
13052
- if (!this.isValidLookup(res)) {
13560
+ if (!this.isValidLookup(res) && !(usedDefault && res === "")) {
13053
13561
  usedKey = true;
13054
13562
  res = key;
13055
13563
  }
13056
13564
  const missingKeyNoValueFallbackToKey = opt.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey;
13057
13565
  const resForMissing = missingKeyNoValueFallbackToKey && usedKey ? void 0 : res;
13058
13566
  const updateMissing = hasDefaultValue && defaultValue !== res && this.options.updateMissing;
13059
- if (usedKey || usedDefault || updateMissing) {
13567
+ if (!objectNotReturned && (usedKey || usedDefault || updateMissing)) {
13060
13568
  this.logger.log(updateMissing ? "updateKey" : "missingKey", lng, namespace, needsPluralHandling && !updateMissing ? `${key}${this.pluralResolver.getSuffix(lng, opt.count, opt)}` : key, updateMissing ? defaultValue : res);
13061
13569
  if (keySeparator) {
13062
13570
  const fk = this.resolve(key, {
@@ -13081,7 +13589,7 @@ var Translator = class _Translator extends EventEmitter {
13081
13589
  if (this.options.missingKeyHandler) {
13082
13590
  this.options.missingKeyHandler(l2, namespace, k2, defaultForMissing, updateMissing, opt);
13083
13591
  } else if (this.backendConnector?.saveMissing) {
13084
- this.backendConnector.saveMissing(l2, namespace, k2, defaultForMissing, updateMissing, opt);
13592
+ this.backendConnector.saveMissing(l2, namespace, k2, defaultForMissing, updateMissing, opt, void 0, this.utils?.hasLoadedNamespace);
13085
13593
  }
13086
13594
  this.emit("missingKey", l2, namespace, k2, res);
13087
13595
  };
@@ -13164,13 +13672,21 @@ var Translator = class _Translator extends EventEmitter {
13164
13672
  const postProcess = opt.postProcess || this.options.postProcess;
13165
13673
  const postProcessorNames = isString(postProcess) ? [postProcess] : postProcess;
13166
13674
  if (res != null && postProcessorNames?.length && opt.applyPostProcessor !== false) {
13167
- res = postProcessor.handle(postProcessorNames, res, key, this.options && this.options.postProcessPassResolved ? {
13675
+ const ppOptions = this.options?.postProcessPassResolved ? {
13168
13676
  i18nResolved: {
13169
13677
  ...resolved,
13170
13678
  usedParams: this.getUsedParamsDetails(opt)
13171
13679
  },
13172
13680
  ...opt
13173
- } : opt, this);
13681
+ } : opt;
13682
+ postProcessorNames.forEach((name) => {
13683
+ const processor = this.postProcessors?.[name];
13684
+ if (!processor) {
13685
+ this.logger.once(`postProcess:${name}`, "warn", `postProcess: '${name}' is not registered on this i18next instance; call use() with it on this instance`);
13686
+ return;
13687
+ }
13688
+ res = processor.process(res, key, ppOptions, this) ?? res;
13689
+ });
13174
13690
  }
13175
13691
  return res;
13176
13692
  }
@@ -13299,14 +13815,16 @@ var Translator = class _Translator extends EventEmitter {
13299
13815
  }
13300
13816
  };
13301
13817
  var LanguageUtil = class {
13302
- constructor(options) {
13818
+ constructor(options, logger = baseLogger) {
13303
13819
  this.options = options;
13304
13820
  this.supportedLngs = this.options.supportedLngs || false;
13305
- this.logger = baseLogger.create("languageUtils");
13821
+ this.logger = logger.create("languageUtils");
13306
13822
  this.resolveHierarchyCache = {};
13823
+ this.formattedCodes = /* @__PURE__ */ new Map();
13307
13824
  }
13308
13825
  clearCache() {
13309
13826
  this.resolveHierarchyCache = {};
13827
+ this.formattedCodes.clear();
13310
13828
  }
13311
13829
  getScriptPartFromCode(code) {
13312
13830
  code = getCleanedCode(code);
@@ -13324,22 +13842,28 @@ var LanguageUtil = class {
13324
13842
  return this.formatLanguageCode(p2[0]);
13325
13843
  }
13326
13844
  formatLanguageCode(code) {
13327
- if (isString(code) && code.includes("-")) {
13328
- let formattedCode;
13845
+ if (!isString(code)) return code;
13846
+ let formatted = this.formattedCodes.get(code);
13847
+ if (formatted !== void 0) return formatted;
13848
+ formatted = this.formatUncached(code);
13849
+ if (this.formattedCodes.size >= 1e3) this.formattedCodes.clear();
13850
+ this.formattedCodes.set(code, formatted);
13851
+ return formatted;
13852
+ }
13853
+ formatUncached(code) {
13854
+ const hasSubtags = code.includes("-");
13855
+ if (hasSubtags || this.options.cleanCode !== false) {
13856
+ let canonical;
13329
13857
  try {
13330
- formattedCode = Intl.getCanonicalLocales(code)[0];
13858
+ canonical = Intl.getCanonicalLocales(code)[0];
13331
13859
  } catch (e) {
13332
13860
  }
13333
- if (formattedCode && this.options.lowerCaseLng) {
13334
- formattedCode = formattedCode.toLowerCase();
13861
+ if (canonical && (hasSubtags || canonical.toLowerCase() === code.toLowerCase())) {
13862
+ return this.options.lowerCaseLng ? canonical.toLowerCase() : canonical;
13335
13863
  }
13336
- if (formattedCode) return formattedCode;
13337
- if (this.options.lowerCaseLng) {
13338
- return code.toLowerCase();
13339
- }
13340
- return code;
13864
+ if (canonical) return code.toLowerCase();
13341
13865
  }
13342
- return this.options.cleanCode || this.options.lowerCaseLng ? code.toLowerCase() : code;
13866
+ return this.options.lowerCaseLng || this.options.cleanCode && !hasSubtags ? code.toLowerCase() : code;
13343
13867
  }
13344
13868
  isSupportedCode(code) {
13345
13869
  if (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) {
@@ -13366,7 +13890,6 @@ var LanguageUtil = class {
13366
13890
  if (supportedLng === lngOnly) return true;
13367
13891
  if (!supportedLng.includes("-") && !lngOnly.includes("-")) return false;
13368
13892
  if (supportedLng.includes("-") && !lngOnly.includes("-") && supportedLng.slice(0, supportedLng.indexOf("-")) === lngOnly) return true;
13369
- if (supportedLng.startsWith(lngOnly) && lngOnly.length > 1) return true;
13370
13893
  return false;
13371
13894
  });
13372
13895
  });
@@ -13427,7 +13950,8 @@ var LanguageUtil = class {
13427
13950
  addCode(this.formatLanguageCode(code));
13428
13951
  }
13429
13952
  fallbackCodes.forEach((fc) => {
13430
- if (!codes.includes(fc)) addCode(this.formatLanguageCode(fc));
13953
+ const formattedFc = this.formatLanguageCode(fc);
13954
+ if (!codes.includes(formattedFc)) addCode(formattedFc);
13431
13955
  });
13432
13956
  if (cacheKey !== null) {
13433
13957
  this.resolveHierarchyCache[cacheKey] = codes;
@@ -13451,10 +13975,10 @@ var dummyRule = {
13451
13975
  })
13452
13976
  };
13453
13977
  var PluralResolver = class {
13454
- constructor(languageUtils, options = {}) {
13978
+ constructor(languageUtils, options = {}, logger = baseLogger) {
13455
13979
  this.languageUtils = languageUtils;
13456
13980
  this.options = options;
13457
- this.logger = baseLogger.create("pluralResolver");
13981
+ this.logger = logger.create("pluralResolver");
13458
13982
  this.pluralRulesCache = {};
13459
13983
  }
13460
13984
  clearCache() {
@@ -13512,16 +14036,15 @@ var PluralResolver = class {
13512
14036
  };
13513
14037
  var deepFindWithDefaults = (data, defaultData, key, keySeparator = ".", ignoreJSONStructure = true) => {
13514
14038
  let path = getPathWithDefaults(data, defaultData, key);
13515
- if (!path && ignoreJSONStructure && isString(key)) {
14039
+ if (path == null && ignoreJSONStructure && isString(key)) {
13516
14040
  path = deepFind(data, key, keySeparator);
13517
14041
  if (path === void 0) path = deepFind(defaultData, key, keySeparator);
13518
14042
  }
13519
14043
  return path;
13520
14044
  };
13521
- var regexSafe = (val) => val.replace(/\$/g, "$$$$");
13522
14045
  var Interpolator = class {
13523
- constructor(options = {}) {
13524
- this.logger = baseLogger.create("interpolator");
14046
+ constructor(options = {}, logger = baseLogger) {
14047
+ this.logger = logger.create("interpolator");
13525
14048
  this.options = options;
13526
14049
  this.format = options?.interpolation?.format || ((value) => value);
13527
14050
  this.init(options);
@@ -13535,16 +14058,12 @@ var Interpolator = class {
13535
14058
  escapeValue,
13536
14059
  useRawValueToEscape,
13537
14060
  prefix: prefix2,
13538
- prefixEscaped,
13539
14061
  suffix,
13540
- suffixEscaped,
13541
14062
  formatSeparator,
13542
14063
  unescapeSuffix,
13543
14064
  unescapePrefix,
13544
14065
  nestingPrefix,
13545
- nestingPrefixEscaped,
13546
14066
  nestingSuffix,
13547
- nestingSuffixEscaped,
13548
14067
  nestingOptionsSeparator,
13549
14068
  maxReplaces,
13550
14069
  alwaysFormat
@@ -13552,13 +14071,13 @@ var Interpolator = class {
13552
14071
  this.escape = escape$1 !== void 0 ? escape$1 : escape;
13553
14072
  this.escapeValue = escapeValue !== void 0 ? escapeValue : true;
13554
14073
  this.useRawValueToEscape = useRawValueToEscape !== void 0 ? useRawValueToEscape : false;
13555
- this.prefix = prefix2 ? regexEscape(prefix2) : prefixEscaped || "{{";
13556
- this.suffix = suffix ? regexEscape(suffix) : suffixEscaped || "}}";
14074
+ this.prefix = prefix2 ? regexEscape(prefix2) : "{{";
14075
+ this.suffix = suffix ? regexEscape(suffix) : "}}";
13557
14076
  this.formatSeparator = formatSeparator || ",";
13558
14077
  this.unescapePrefix = unescapeSuffix ? "" : unescapePrefix ? regexEscape(unescapePrefix) : "-";
13559
14078
  this.unescapeSuffix = this.unescapePrefix ? "" : unescapeSuffix ? regexEscape(unescapeSuffix) : "";
13560
- this.nestingPrefix = nestingPrefix ? regexEscape(nestingPrefix) : nestingPrefixEscaped || regexEscape("$t(");
13561
- this.nestingSuffix = nestingSuffix ? regexEscape(nestingSuffix) : nestingSuffixEscaped || regexEscape(")");
14079
+ this.nestingPrefix = regexEscape(nestingPrefix || "$t(");
14080
+ this.nestingSuffix = regexEscape(nestingSuffix || ")");
13562
14081
  this.nestingOptionsSeparator = nestingOptionsSeparator || ",";
13563
14082
  this.maxReplaces = maxReplaces || 1e3;
13564
14083
  this.alwaysFormat = alwaysFormat !== void 0 ? alwaysFormat : false;
@@ -13577,12 +14096,13 @@ var Interpolator = class {
13577
14096
  };
13578
14097
  this.regexp = getOrResetRegExp(this.regexp, `${this.prefix}(.+?)${this.suffix}`);
13579
14098
  this.regexpUnescape = getOrResetRegExp(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`);
13580
- this.nestingRegexp = getOrResetRegExp(this.nestingRegexp, `${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`);
14099
+ this.nestingRegexp = getOrResetRegExp(this.nestingRegexp, `${this.nestingPrefix}((?:[^()"']|"[^"]*"|'[^']*'|\\((?:[^()"']|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`);
13581
14100
  }
13582
14101
  interpolate(str, data, lng, options) {
13583
14102
  let match2;
13584
14103
  let value;
13585
14104
  let replaces;
14105
+ const original = str;
13586
14106
  const defaultData = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {};
13587
14107
  const handleFormat = (key) => {
13588
14108
  if (!key.includes(this.formatSeparator)) {
@@ -13615,9 +14135,17 @@ var Interpolator = class {
13615
14135
  regex: this.regexp,
13616
14136
  safeValue: (val) => this.escapeValue ? this.escape(val) : val
13617
14137
  }];
14138
+ const unescapedValues = [];
14139
+ let shift = 0;
13618
14140
  todos.forEach((todo) => {
13619
14141
  replaces = 0;
13620
14142
  while (match2 = todo.regex.exec(str)) {
14143
+ const at2 = match2.index - shift;
14144
+ const written = unescapedValues.find(([start, end]) => at2 >= start && at2 < end);
14145
+ if (written) {
14146
+ todo.regex.lastIndex = written[1] + shift;
14147
+ continue;
14148
+ }
13621
14149
  const matchedVar = match2[1].trim();
13622
14150
  value = handleFormat(matchedVar);
13623
14151
  if (value === void 0) {
@@ -13627,6 +14155,9 @@ var Interpolator = class {
13627
14155
  } else if (options && Object.prototype.hasOwnProperty.call(options, matchedVar)) {
13628
14156
  value = "";
13629
14157
  } else if (skipOnVariables) {
14158
+ if (this.logger.debug) {
14159
+ this.logger.once(`${original}\0${match2[0]}`, "warn", `missed to pass in variable ${matchedVar} for interpolating ${original}`);
14160
+ }
13630
14161
  value = match2[0];
13631
14162
  continue;
13632
14163
  } else {
@@ -13636,9 +14167,14 @@ var Interpolator = class {
13636
14167
  } else if (!isString(value) && !this.useRawValueToEscape) {
13637
14168
  value = makeString(value);
13638
14169
  }
13639
- const safeValue = todo.safeValue(value);
13640
- str = str.replace(match2[0], regexSafe(safeValue));
14170
+ const safeValue = makeString(todo.safeValue(value));
14171
+ str = str.slice(0, match2.index) + safeValue + str.slice(match2.index + match2[0].length);
13641
14172
  if (skipOnVariables) {
14173
+ if (todo.regex === this.regexpUnescape) {
14174
+ unescapedValues.push([match2.index, match2.index + safeValue.length]);
14175
+ } else {
14176
+ shift += safeValue.length - match2[0].length;
14177
+ }
13642
14178
  todo.regex.lastIndex += safeValue.length;
13643
14179
  todo.regex.lastIndex -= match2[0].length;
13644
14180
  } else {
@@ -13681,7 +14217,10 @@ var Interpolator = class {
13681
14217
  if (clonedOptions.defaultValue && clonedOptions.defaultValue.includes(this.prefix)) delete clonedOptions.defaultValue;
13682
14218
  return key;
13683
14219
  };
13684
- while (match2 = this.nestingRegexp.exec(str)) {
14220
+ const nestingRegexp = new RegExp(this.nestingRegexp);
14221
+ let out = "";
14222
+ let lastEnd = 0;
14223
+ while (match2 = nestingRegexp.exec(str)) {
13685
14224
  let formatters = [];
13686
14225
  clonedOptions = {
13687
14226
  ...options
@@ -13707,10 +14246,11 @@ var Interpolator = class {
13707
14246
  interpolationkey: match2[1].trim()
13708
14247
  }), value.trim());
13709
14248
  }
13710
- str = str.replace(match2[0], regexSafe(makeString(value)));
14249
+ out += str.slice(lastEnd, match2.index) + makeString(value);
14250
+ lastEnd = nestingRegexp.lastIndex;
13711
14251
  this.regexp.lastIndex = 0;
13712
14252
  }
13713
- return str;
14253
+ return lastEnd ? out + str.slice(lastEnd) : str;
13714
14254
  }
13715
14255
  };
13716
14256
  var parseFormatStr = (formatStr) => {
@@ -13754,7 +14294,12 @@ var createCachedFormatter = (fn) => {
13754
14294
  [o.interpolationkey]: void 0
13755
14295
  };
13756
14296
  }
13757
- const key = l2 + JSON.stringify(optForCache);
14297
+ let key;
14298
+ try {
14299
+ key = l2 + JSON.stringify(optForCache);
14300
+ } catch (e) {
14301
+ return fn(getCleanedCode(l2), o)(v2);
14302
+ }
13758
14303
  let frm = cache[key];
13759
14304
  if (!frm) {
13760
14305
  frm = fn(getCleanedCode(l2), o);
@@ -13773,6 +14318,7 @@ var Formatter = class {
13773
14318
  init(services, options = {
13774
14319
  interpolation: {}
13775
14320
  }) {
14321
+ if (services?.logger?.create) this.logger = services.logger.create("formatter");
13776
14322
  this.formatSeparator = options.interpolation.formatSeparator || ",";
13777
14323
  const cf = options.cacheInBuiltFormats ? createCachedFormatter : createNonCachedFormatter;
13778
14324
  this.formats = {
@@ -13868,7 +14414,7 @@ var Connector = class extends EventEmitter {
13868
14414
  this.services = services;
13869
14415
  this.languageUtils = services.languageUtils;
13870
14416
  this.options = options;
13871
- this.logger = baseLogger.create("backendConnector");
14417
+ this.logger = (services.logger || baseLogger).create("backendConnector");
13872
14418
  this.waitingReads = [];
13873
14419
  this.maxParallelReads = options.maxParallelReads || 10;
13874
14420
  this.readingCalls = 0;
@@ -13877,6 +14423,10 @@ var Connector = class extends EventEmitter {
13877
14423
  this.state = {};
13878
14424
  this.queue = [];
13879
14425
  this.backend?.init?.(services, options.backend, options);
14426
+ this.callbackApi = callbackApiOf(this.backend);
14427
+ if (this.backend && this.callbackApi === void 0 && (this.backend.read || this.backend.create)) {
14428
+ this.logger.deprecate("backend: set callbackApi to declare the calling convention (true: read(language, namespace, callback) and create(languages, namespace, key, fallbackValue, callback, options); false: both return a promise or a value); guessing it from the number of parameters is deprecated");
14429
+ }
13880
14430
  }
13881
14431
  queueLoad(languages, namespaces, options, callback) {
13882
14432
  const toLoad = {};
@@ -13889,7 +14439,7 @@ var Connector = class extends EventEmitter {
13889
14439
  const name = `${lng}|${ns}`;
13890
14440
  if (!options.reload && this.store.hasResourceBundle(lng, ns)) {
13891
14441
  this.state[name] = 2;
13892
- } else if (this.state[name] < 0) ;
14442
+ } else if (!options.reload && this.state[name] < 0) ;
13893
14443
  else if (this.state[name] === 1) {
13894
14444
  if (pending[name] === void 0) pending[name] = true;
13895
14445
  } else {
@@ -13985,7 +14535,7 @@ var Connector = class extends EventEmitter {
13985
14535
  callback(err, data);
13986
14536
  };
13987
14537
  const fc = this.backend[fcName].bind(this.backend);
13988
- if (fc.length === 2) {
14538
+ if (this.callbackApi === false || this.callbackApi === void 0 && fc.length === 2) {
13989
14539
  try {
13990
14540
  const r2 = fc(lng, ns);
13991
14541
  if (r2 && typeof r2.then === "function") {
@@ -14035,8 +14585,8 @@ var Connector = class extends EventEmitter {
14035
14585
  });
14036
14586
  }
14037
14587
  saveMissing(languages, namespace, key, fallbackValue, isUpdate, options = {}, clb = () => {
14038
- }) {
14039
- if (this.services?.utils?.hasLoadedNamespace && !this.services?.utils?.hasLoadedNamespace(namespace)) {
14588
+ }, hasLoadedNamespace2 = this.newestCloneHasLoadedNamespace || this.services?.utils?.hasLoadedNamespace) {
14589
+ if (hasLoadedNamespace2 && !hasLoadedNamespace2(namespace)) {
14040
14590
  this.logger.warn(`did not save key "${key}" as the namespace "${namespace}" 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!!!");
14041
14591
  return;
14042
14592
  }
@@ -14047,10 +14597,10 @@ var Connector = class extends EventEmitter {
14047
14597
  isUpdate
14048
14598
  };
14049
14599
  const fc = this.backend.create.bind(this.backend);
14050
- if (fc.length < 6) {
14600
+ if (this.callbackApi === false || this.callbackApi === void 0 && fc.length < 6) {
14051
14601
  try {
14052
14602
  let r2;
14053
- if (fc.length === 5) {
14603
+ if (this.callbackApi === false || fc.length === 5) {
14054
14604
  r2 = fc(languages, namespace, key, fallbackValue, opts);
14055
14605
  } else {
14056
14606
  r2 = fc(languages, namespace, key, fallbackValue);
@@ -14076,7 +14626,7 @@ var get = () => ({
14076
14626
  initAsync: true,
14077
14627
  ns: ["translation"],
14078
14628
  defaultNS: ["translation"],
14079
- fallbackLng: ["dev"],
14629
+ fallbackLng: false,
14080
14630
  fallbackNS: false,
14081
14631
  supportedLngs: false,
14082
14632
  nonExplicitSupportedLngs: false,
@@ -14097,7 +14647,7 @@ var get = () => ({
14097
14647
  postProcess: false,
14098
14648
  postProcessPassResolved: false,
14099
14649
  returnNull: false,
14100
- returnEmptyString: true,
14650
+ returnEmptyString: false,
14101
14651
  returnObjects: false,
14102
14652
  joinArrays: false,
14103
14653
  returnedObjectHandler: false,
@@ -14142,6 +14692,39 @@ var transformOptions = (options) => {
14142
14692
  };
14143
14693
  var noop = () => {
14144
14694
  };
14695
+ var withDefaults = (options) => {
14696
+ const defOpts = get();
14697
+ const merged = {
14698
+ ...defOpts,
14699
+ ...options
14700
+ };
14701
+ merged.interpolation = {
14702
+ ...defOpts.interpolation,
14703
+ ...options.interpolation
14704
+ };
14705
+ if (typeof merged.overloadTranslationOptionHandler !== "function") {
14706
+ merged.overloadTranslationOptionHandler = defOpts.overloadTranslationOptionHandler;
14707
+ }
14708
+ return merged;
14709
+ };
14710
+ var configuredLanguageCodes = (options) => {
14711
+ const codes = [].concat(options.supportedLngs || [], options.preload || []);
14712
+ codes.push(...Object.keys(options.resources || {}));
14713
+ const fallbackLng = options.fallbackLng;
14714
+ if (isString(fallbackLng) || Array.isArray(fallbackLng)) codes.push(...[].concat(fallbackLng));
14715
+ else if (fallbackLng && typeof fallbackLng === "object") {
14716
+ Object.keys(fallbackLng).forEach((code) => {
14717
+ if (code !== "default") codes.push(code);
14718
+ codes.push(...[].concat(fallbackLng[code]));
14719
+ });
14720
+ }
14721
+ return codes;
14722
+ };
14723
+ var isRefusedLanguageCode = (i18n2, code) => {
14724
+ if (!isString(code) || isSafeLanguageCode(code) || i18n2.configuredLngs?.has(code)) return false;
14725
+ i18n2.logger.once(`lng:${code}`, "warn", `refused the language code '${code.slice(0, 64)}' from lng, changeLanguage(), the language detector or loadLanguages(): it is not configured and has other characters than letters, digits, '-', '_', '@' and '.' (or '..', or more than 128). List it in supportedLngs to use it`);
14726
+ return true;
14727
+ };
14145
14728
  var bindMemberFunctions = (inst) => {
14146
14729
  const mems = Object.getOwnPropertyNames(Object.getPrototypeOf(inst));
14147
14730
  mems.forEach((mem) => {
@@ -14153,15 +14736,18 @@ var bindMemberFunctions = (inst) => {
14153
14736
  var I18n = class _I18n extends EventEmitter {
14154
14737
  constructor(options = {}, callback) {
14155
14738
  super();
14156
- this.options = transformOptions(options);
14157
- this.services = {};
14158
- this.logger = baseLogger;
14739
+ this.userOptions = transformOptions(options);
14740
+ this.options = withDefaults(this.userOptions);
14741
+ this.services = {
14742
+ postProcessors: /* @__PURE__ */ Object.create(null)
14743
+ };
14744
+ this.logger = new Logger(null, this.options);
14159
14745
  this.modules = {
14160
14746
  external: []
14161
14747
  };
14162
14748
  bindMemberFunctions(this);
14163
14749
  if (callback && !this.isInitialized && !options.isClone) {
14164
- if (!this.options.initAsync) {
14750
+ if (!this.userOptions.initAsync) {
14165
14751
  this.init(options, callback);
14166
14752
  return this;
14167
14753
  }
@@ -14183,24 +14769,23 @@ var I18n = class _I18n extends EventEmitter {
14183
14769
  options.defaultNS = options.ns[0];
14184
14770
  }
14185
14771
  }
14186
- const defOpts = get();
14187
- this.options = {
14188
- ...defOpts,
14189
- ...this.options,
14190
- ...transformOptions(options)
14191
- };
14192
- this.options.interpolation = {
14193
- ...defOpts.interpolation,
14194
- ...this.options.interpolation
14772
+ transformOptions(options);
14773
+ const userOptions = {
14774
+ ...this.userOptions,
14775
+ ...options
14195
14776
  };
14196
- if (options.keySeparator !== void 0) {
14197
- this.options.userDefinedKeySeparator = options.keySeparator;
14777
+ this.options = withDefaults({
14778
+ ...this.options,
14779
+ ...options
14780
+ });
14781
+ if (userOptions.keySeparator !== void 0) {
14782
+ this.options.userDefinedKeySeparator = userOptions.keySeparator;
14198
14783
  }
14199
- if (options.nsSeparator !== void 0) {
14200
- this.options.userDefinedNsSeparator = options.nsSeparator;
14784
+ if (userOptions.nsSeparator !== void 0) {
14785
+ this.options.userDefinedNsSeparator = userOptions.nsSeparator;
14201
14786
  }
14202
- if (typeof this.options.overloadTranslationOptionHandler !== "function") {
14203
- this.options.overloadTranslationOptionHandler = defOpts.overloadTranslationOptionHandler;
14787
+ if (!this.options.isClone) {
14788
+ this.configuredLngs = /* @__PURE__ */ new Set([...this.configuredLngs || [], ...configuredLanguageCodes(userOptions)]);
14204
14789
  }
14205
14790
  const createClassOnDemand = (ClassOrObject) => {
14206
14791
  if (!ClassOrObject) return null;
@@ -14208,34 +14793,36 @@ var I18n = class _I18n extends EventEmitter {
14208
14793
  return ClassOrObject;
14209
14794
  };
14210
14795
  if (!this.options.isClone) {
14211
- if (this.modules.logger) {
14212
- baseLogger.init(createClassOnDemand(this.modules.logger), this.options);
14213
- } else {
14214
- baseLogger.init(null, this.options);
14215
- }
14796
+ this.logger.init(createClassOnDemand(this.modules.logger), this.options);
14797
+ const {
14798
+ logger
14799
+ } = this;
14800
+ this.pendingWarnings?.forEach((msg) => this.logger.warn(msg));
14801
+ this.pendingWarnings = void 0;
14216
14802
  let formatter;
14217
14803
  if (this.modules.formatter) {
14218
14804
  formatter = this.modules.formatter;
14219
14805
  } else {
14220
14806
  formatter = Formatter;
14221
14807
  }
14222
- const lu = new LanguageUtil(this.options);
14223
- this.store = new ResourceStore(this.options.resources, this.options);
14808
+ const lu = new LanguageUtil(this.options, logger);
14809
+ this.store = new ResourceStore(this.options.resources, this.options, logger);
14224
14810
  const s = this.services;
14225
- s.logger = baseLogger;
14811
+ s.logger = logger;
14226
14812
  s.resourceStore = this.store;
14227
14813
  s.languageUtils = lu;
14228
14814
  s.pluralResolver = new PluralResolver(lu, {
14229
14815
  prepend: this.options.pluralSeparator
14230
- });
14816
+ }, logger);
14231
14817
  if (formatter) {
14232
14818
  s.formatter = createClassOnDemand(formatter);
14233
14819
  if (s.formatter.init) s.formatter.init(s, this.options);
14234
14820
  this.options.interpolation.format = s.formatter.format.bind(s.formatter);
14235
14821
  }
14236
- s.interpolator = new Interpolator(this.options);
14822
+ s.interpolator = new Interpolator(this.options, logger);
14237
14823
  s.utils = {
14238
- hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
14824
+ hasLoadedNamespace: this.hasLoadedNamespace.bind(this),
14825
+ reloadResources: this.reloadResources.bind(this)
14239
14826
  };
14240
14827
  s.backendConnector = new Connector(createClassOnDemand(this.modules.backend), s.resourceStore, s, this.options);
14241
14828
  s.backendConnector.on("*", (event, ...args) => {
@@ -14244,6 +14831,9 @@ var I18n = class _I18n extends EventEmitter {
14244
14831
  if (this.modules.languageDetector) {
14245
14832
  s.languageDetector = createClassOnDemand(this.modules.languageDetector);
14246
14833
  if (s.languageDetector.init) s.languageDetector.init(s, this.options.detection, this.options);
14834
+ if (s.languageDetector.async && callbackApiOf(s.languageDetector) === void 0) {
14835
+ this.logger.deprecate("languageDetector: set callbackApi to declare how the async detect() answers (true: detect(callback); false: detect() returns a promise); guessing it from the number of parameters is deprecated");
14836
+ }
14247
14837
  }
14248
14838
  if (this.modules.i18nFormat) {
14249
14839
  s.i18nFormat = createClassOnDemand(this.modules.i18nFormat);
@@ -14339,7 +14929,10 @@ var I18n = class _I18n extends EventEmitter {
14339
14929
  callback = ns;
14340
14930
  ns = void 0;
14341
14931
  }
14342
- if (!lngs) lngs = this.languages;
14932
+ if (!lngs) {
14933
+ const requested = Object.keys(this.services.backendConnector.state).map((name) => name.split("|")[0]);
14934
+ lngs = [.../* @__PURE__ */ new Set([...this.languages || [], ...requested])].filter((l2) => l2 !== "cimode");
14935
+ }
14343
14936
  if (!ns) ns = this.options.ns;
14344
14937
  if (!callback) callback = noop;
14345
14938
  this.services.backendConnector.reload(lngs, ns, (err) => {
@@ -14351,29 +14944,59 @@ var I18n = class _I18n extends EventEmitter {
14351
14944
  use(module) {
14352
14945
  if (!module) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
14353
14946
  if (!module.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
14947
+ const setModule = (type) => {
14948
+ if (this.modules[type] && this.modules[type] !== module) {
14949
+ const msg = `use: this ${type} replaces the ${type} passed to an earlier use() call; only one ${type} is used per instance`;
14950
+ if (this.isInitializing || this.isInitialized) this.logger.warn(msg);
14951
+ else (this.pendingWarnings = this.pendingWarnings || []).push(msg);
14952
+ }
14953
+ this.modules[type] = module;
14954
+ };
14354
14955
  if (module.type === "backend") {
14355
- this.modules.backend = module;
14956
+ setModule("backend");
14356
14957
  }
14357
14958
  if (module.type === "logger" || module.log && module.warn && module.error) {
14358
14959
  this.modules.logger = module;
14359
14960
  }
14360
14961
  if (module.type === "languageDetector") {
14361
- this.modules.languageDetector = module;
14962
+ setModule("languageDetector");
14362
14963
  }
14363
14964
  if (module.type === "i18nFormat") {
14364
- this.modules.i18nFormat = module;
14965
+ setModule("i18nFormat");
14365
14966
  }
14366
14967
  if (module.type === "postProcessor") {
14367
- postProcessor.addPostProcessor(module);
14968
+ this.services.postProcessors[module.name] = module;
14368
14969
  }
14369
14970
  if (module.type === "formatter") {
14370
- this.modules.formatter = module;
14971
+ setModule("formatter");
14371
14972
  }
14372
14973
  if (module.type === "3rdParty") {
14373
14974
  this.modules.external.push(module);
14374
14975
  }
14375
14976
  return this;
14376
14977
  }
14978
+ hydrate(resources, lng) {
14979
+ if (this.options.isClone) return this;
14980
+ if (!this.services.resourceStore) {
14981
+ this.logger.warn("hydrate: call init() first, the instance has no resource store yet");
14982
+ return this;
14983
+ }
14984
+ if (resources && !this.initializedStoreOnce) {
14985
+ this.services.resourceStore.data = resources;
14986
+ Object.values(resources).forEach((lngResources) => {
14987
+ Object.keys(lngResources).forEach((ns) => {
14988
+ if (!this.options.ns.includes(ns)) this.options.ns.push(ns);
14989
+ });
14990
+ });
14991
+ this.initializedStoreOnce = true;
14992
+ this.isInitialized = true;
14993
+ }
14994
+ if (lng && !this.initializedLanguageOnce) {
14995
+ this.changeLanguage(lng);
14996
+ this.initializedLanguageOnce = true;
14997
+ }
14998
+ return this;
14999
+ }
14377
15000
  setResolvedLanguage(l2) {
14378
15001
  if (!l2 || !this.languages) return;
14379
15002
  if (["cimode", "dev"].includes(l2)) return;
@@ -14417,8 +15040,16 @@ var I18n = class _I18n extends EventEmitter {
14417
15040
  };
14418
15041
  const setLng = (lngs) => {
14419
15042
  if (!lng && !lngs && this.services.languageDetector) lngs = [];
15043
+ const {
15044
+ supportedLngs
15045
+ } = this.options;
15046
+ if (lngs && !supportedLngs) {
15047
+ const accepted = [].concat(lngs).filter((c2) => !isRefusedLanguageCode(this, c2));
15048
+ if (accepted.length < [].concat(lngs).length) lngs = accepted;
15049
+ }
14420
15050
  const fl = isString(lngs) ? lngs : lngs && lngs[0];
14421
- const l2 = this.store.hasLanguageSomeTranslations(fl) ? fl : this.services.languageUtils.getBestMatchFromCodes(isString(lngs) ? [lngs] : lngs);
15051
+ let l2 = this.store.hasLanguageSomeTranslations(fl) ? fl : this.services.languageUtils.getBestMatchFromCodes(isString(lngs) ? [lngs] : lngs);
15052
+ if (supportedLngs && isRefusedLanguageCode(this, l2)) l2 = this.services.languageUtils.getBestMatchFromCodes([]);
14422
15053
  if (l2) {
14423
15054
  if (!this.language) {
14424
15055
  setLngProps(l2);
@@ -14433,7 +15064,8 @@ var I18n = class _I18n extends EventEmitter {
14433
15064
  if (!lng && this.services.languageDetector && !this.services.languageDetector.async) {
14434
15065
  setLng(this.services.languageDetector.detect());
14435
15066
  } else if (!lng && this.services.languageDetector && this.services.languageDetector.async) {
14436
- if (this.services.languageDetector.detect.length === 0) {
15067
+ const callbackApi = callbackApiOf(this.services.languageDetector);
15068
+ if (callbackApi === false || callbackApi === void 0 && this.services.languageDetector.detect.length === 0) {
14437
15069
  this.services.languageDetector.detect().then(setLng);
14438
15070
  } else {
14439
15071
  this.services.languageDetector.detect(setLng);
@@ -14488,7 +15120,11 @@ var I18n = class _I18n extends EventEmitter {
14488
15120
  return fixedT;
14489
15121
  }
14490
15122
  t(...args) {
14491
- return this.translator?.translate(...args);
15123
+ if (!this.translator) {
15124
+ this.logger.warn("t: called before init(); returning an empty string");
15125
+ return "";
15126
+ }
15127
+ return this.translator.translate(...args);
14492
15128
  }
14493
15129
  exists(...args) {
14494
15130
  return this.translator?.exists(...args);
@@ -14519,12 +15155,16 @@ var I18n = class _I18n extends EventEmitter {
14519
15155
  }
14520
15156
  if (this.hasResourceBundle(lng, ns)) return true;
14521
15157
  if (!this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages) return true;
14522
- if (loadNotPending(lng, ns) && (!fallbackLng || loadNotPending(lastLng, ns))) return true;
15158
+ const {
15159
+ languageUtils
15160
+ } = this.services;
15161
+ const loadLng = !options.lng ? lng : languageUtils.isSupportedCode(lng) && languageUtils.toResolveHierarchy(lng, false)[0];
15162
+ if ((!loadLng || loadNotPending(loadLng, ns)) && (!fallbackLng || loadNotPending(lastLng, ns))) return true;
14523
15163
  return false;
14524
15164
  }
14525
15165
  loadNamespaces(ns, callback) {
14526
15166
  const deferred = defer();
14527
- if (!this.options.ns) {
15167
+ if (!this.options.ns || !this.services.backendConnector) {
14528
15168
  if (callback) callback();
14529
15169
  return Promise.resolve();
14530
15170
  }
@@ -14542,7 +15182,7 @@ var I18n = class _I18n extends EventEmitter {
14542
15182
  const deferred = defer();
14543
15183
  if (isString(lngs)) lngs = [lngs];
14544
15184
  const preloaded = this.options.preload || [];
14545
- const newLngs = lngs.filter((lng) => !preloaded.includes(lng) && this.services.languageUtils.isSupportedCode(lng));
15185
+ const newLngs = lngs.filter((lng) => !preloaded.includes(lng) && !isRefusedLanguageCode(this, lng) && this.services.languageUtils.isSupportedCode(lng));
14546
15186
  if (!newLngs.length) {
14547
15187
  if (callback) callback();
14548
15188
  return Promise.resolve();
@@ -14556,7 +15196,7 @@ var I18n = class _I18n extends EventEmitter {
14556
15196
  }
14557
15197
  dir(lng) {
14558
15198
  if (!lng) lng = this.resolvedLanguage || (this.languages?.length > 0 ? this.languages[0] : this.language);
14559
- if (!lng) return "rtl";
15199
+ if (!lng) return "ltr";
14560
15200
  try {
14561
15201
  const l2 = new Intl.Locale(lng);
14562
15202
  if (l2 && l2.getTextInfo) {
@@ -14577,42 +15217,47 @@ var I18n = class _I18n extends EventEmitter {
14577
15217
  }
14578
15218
  cloneInstance(options = {}, callback = noop) {
14579
15219
  const forkResourceStore = options.forkResourceStore;
14580
- if (forkResourceStore) delete options.forkResourceStore;
15220
+ if (forkResourceStore) {
15221
+ options = {
15222
+ ...options
15223
+ };
15224
+ delete options.forkResourceStore;
15225
+ }
14581
15226
  const mergedOptions = {
14582
15227
  ...this.options,
15228
+ preload: false,
14583
15229
  ...options,
14584
15230
  ...{
14585
15231
  isClone: true
14586
15232
  }
14587
15233
  };
14588
15234
  const clone = new _I18n(mergedOptions);
14589
- if (options.debug !== void 0 || options.prefix !== void 0) {
14590
- clone.logger = clone.logger.clone(options);
14591
- }
14592
- const membersToCopy = ["store", "services", "language"];
15235
+ clone.logger = options.debug !== void 0 || options.prefix !== void 0 ? this.logger.clone(options) : this.logger;
15236
+ const membersToCopy = ["store", "language"];
14593
15237
  membersToCopy.forEach((m2) => {
14594
15238
  clone[m2] = this[m2];
14595
15239
  });
14596
15240
  clone.services = {
14597
15241
  ...this.services
14598
15242
  };
15243
+ clone.services.postProcessors = Object.create(this.services.postProcessors);
14599
15244
  clone.services.utils = {
14600
- hasLoadedNamespace: clone.hasLoadedNamespace.bind(clone)
15245
+ ...clone.services.utils,
15246
+ hasLoadedNamespace: clone.hasLoadedNamespace.bind(clone),
15247
+ reloadResources: clone.reloadResources.bind(clone)
14601
15248
  };
14602
15249
  if (forkResourceStore) {
14603
- const clonedData = Object.keys(this.store.data).reduce((prev2, l2) => {
14604
- prev2[l2] = {
14605
- ...this.store.data[l2]
15250
+ const copyData = (obj) => {
15251
+ const copied = Array.isArray(obj) ? [...obj] : {
15252
+ ...obj
14606
15253
  };
14607
- prev2[l2] = Object.keys(prev2[l2]).reduce((acc, n2) => {
14608
- acc[n2] = {
14609
- ...prev2[l2][n2]
14610
- };
14611
- return acc;
14612
- }, prev2[l2]);
14613
- return prev2;
14614
- }, {});
14615
- clone.store = new ResourceStore(clonedData, mergedOptions);
15254
+ Object.keys(copied).forEach((k2) => {
15255
+ if (copied[k2] && typeof copied[k2] === "object") copied[k2] = copyData(copied[k2]);
15256
+ });
15257
+ return copied;
15258
+ };
15259
+ const clonedData = copyData(this.store.data);
15260
+ clone.store = new ResourceStore(clonedData, mergedOptions, this.logger);
14616
15261
  clone.services.resourceStore = clone.store;
14617
15262
  }
14618
15263
  if (options.interpolation) {
@@ -14626,17 +15271,16 @@ var I18n = class _I18n extends EventEmitter {
14626
15271
  ...mergedOptions,
14627
15272
  interpolation: mergedInterpolation
14628
15273
  };
14629
- clone.services.interpolator = new Interpolator(mergedForInterpolator);
15274
+ clone.services.interpolator = new Interpolator(mergedForInterpolator, this.logger);
14630
15275
  }
15276
+ clone.configuredLngs = /* @__PURE__ */ new Set([...this.configuredLngs || [], ...configuredLanguageCodes(options)]);
14631
15277
  clone.translator = new Translator(clone.services, mergedOptions);
14632
15278
  clone.translator.on("*", (event, ...args) => {
14633
15279
  clone.emit(event, ...args);
14634
15280
  });
14635
15281
  clone.init(mergedOptions, callback);
14636
15282
  clone.translator.options = mergedOptions;
14637
- clone.translator.backendConnector.services.utils = {
14638
- hasLoadedNamespace: clone.hasLoadedNamespace.bind(clone)
14639
- };
15283
+ clone.translator.backendConnector.newestCloneHasLoadedNamespace = clone.hasLoadedNamespace.bind(clone);
14640
15284
  return clone;
14641
15285
  }
14642
15286
  toJSON() {
@@ -16657,6 +17301,25 @@ var createKeyboardExecutionHandler = (fn) => {
16657
17301
  return handler;
16658
17302
  };
16659
17303
 
17304
+ // src/utils/invoiceLink.ts
17305
+ function openInvoiceLink(event, storedUrl, fetchUrl) {
17306
+ if (event.defaultPrevented || event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey) {
17307
+ return Promise.resolve();
17308
+ }
17309
+ const tab = window.open("", "_blank");
17310
+ if (tab === null) {
17311
+ return Promise.resolve();
17312
+ }
17313
+ event.preventDefault();
17314
+ tab.opener = null;
17315
+ return fetchUrl().then(
17316
+ (url) => url || storedUrl,
17317
+ () => storedUrl
17318
+ ).then((url) => {
17319
+ tab.location.href = url;
17320
+ });
17321
+ }
17322
+
16660
17323
  // src/utils/markdown.tsx
16661
17324
  import { Fragment } from "react";
16662
17325
  import { jsx as jsx2 } from "react/jsx-runtime";
@@ -17409,7 +18072,7 @@ var reducer = (state, action) => {
17409
18072
  // src/context/EmbedProvider.tsx
17410
18073
  import { jsx as jsx3, jsxs } from "react/jsx-runtime";
17411
18074
  var getCustomHeaders = (sessionId) => ({
17412
- "X-Schematic-Components-Version": "2.36.1",
18075
+ "X-Schematic-Components-Version": "2.38.0",
17413
18076
  "X-Schematic-Session-ID": sessionId
17414
18077
  });
17415
18078
  var normalizeCurrencyFilter = (filter2) => {
@@ -17797,6 +18460,12 @@ var EmbedProvider = ({
17797
18460
  () => (0, import_debounce2.default)(listInvoices, FETCH_DEBOUNCE_TIMEOUT, LEADING_DEBOUNCE_SETTINGS),
17798
18461
  [listInvoices]
17799
18462
  );
18463
+ const getInvoiceLink = useCallback2(
18464
+ async (billingInvoiceId) => {
18465
+ return checkoutApi?.getInvoiceLink({ billingInvoiceId });
18466
+ },
18467
+ [checkoutApi]
18468
+ );
17800
18469
  const getCreditUsageByUser = useCallback2(
17801
18470
  async (billingCreditId, limit) => {
17802
18471
  return checkoutApi?.getCreditUsageByUser({ billingCreditId, limit });
@@ -17991,6 +18660,7 @@ var EmbedProvider = ({
17991
18660
  getUpcomingInvoice: debouncedGetUpcomingInvoice,
17992
18661
  getCustomerBalance: debouncedGetCustomerBalance,
17993
18662
  listInvoices: debouncedListInvoices,
18663
+ getInvoiceLink,
17994
18664
  getCreditUsageByUser: debouncedGetCreditUsageByUser,
17995
18665
  getFeatureUsageByUser: debouncedGetFeatureUsageByUser,
17996
18666
  finishCheckout,
@@ -18012,7 +18682,7 @@ var EmbedProvider = ({
18012
18682
  i18n: i18n2,
18013
18683
  translations,
18014
18684
  locale,
18015
- children: /* @__PURE__ */ jsxs(rt, { theme: state.settings.theme, children: [
18685
+ children: /* @__PURE__ */ jsxs(it, { theme: state.settings.theme, children: [
18016
18686
  /* @__PURE__ */ jsx3(IconStyles, {}),
18017
18687
  children
18018
18688
  ] })
@@ -27001,12 +27671,13 @@ function formatInvoices(invoices, locale, options) {
27001
27671
  const dateA = a2.dueDate ?? a2.createdAt;
27002
27672
  const dateB = b2.dueDate ?? b2.createdAt;
27003
27673
  return +dateB - +dateA;
27004
- }).map(({ amountDue, dueDate, createdAt, url, currency }) => {
27674
+ }).map(({ amountDue, dueDate, createdAt, id, url, currency }) => {
27005
27675
  const formatted = formatCurrency(Math.abs(amountDue), {
27006
27676
  locale,
27007
27677
  currency
27008
27678
  });
27009
27679
  return {
27680
+ id,
27010
27681
  amount: amountDue < 0 ? `(${formatted})` : formatted,
27011
27682
  amountDue,
27012
27683
  date: toPrettyDate(dueDate ?? createdAt, { locale }),
@@ -27017,7 +27688,7 @@ function formatInvoices(invoices, locale, options) {
27017
27688
  var Invoices = forwardRef11(({ className, ...rest }, ref) => {
27018
27689
  const props = resolveDesignProps3(rest);
27019
27690
  const { t: t3, locale } = useTranslation();
27020
- const { data, listInvoices, settings } = useEmbed();
27691
+ const { data, getInvoiceLink, listInvoices, settings } = useEmbed();
27021
27692
  const [isLoading, setIsLoading] = useState16(false);
27022
27693
  const [error, setError] = useState16();
27023
27694
  const [rawInvoices, setInvoices] = useState16(
@@ -27094,7 +27765,7 @@ var Invoices = forwardRef11(({ className, ...rest }, ref) => {
27094
27765
  props.header.isVisible && /* @__PURE__ */ jsx54(Flex, { $justifyContent: "space-between", $alignItems: "center", children: /* @__PURE__ */ jsx54(Text, { display: props.header.fontStyle, children: t3("Invoices") }) }),
27095
27766
  invoices.length > 0 ? /* @__PURE__ */ jsxs39(Fragment20, { children: [
27096
27767
  /* @__PURE__ */ jsx54(Flex, { $flexDirection: "column", $gap: "0.5rem", children: visibleInvoices.items.map(
27097
- ({ date, amount, amountDue, url }, index) => {
27768
+ ({ id, date, amount, amountDue, url }, index) => {
27098
27769
  return /* @__PURE__ */ jsxs39(
27099
27770
  Flex,
27100
27771
  {
@@ -27105,11 +27776,18 @@ var Invoices = forwardRef11(({ className, ...rest }, ref) => {
27105
27776
  Text,
27106
27777
  {
27107
27778
  display: props.date.fontStyle,
27108
- ...url && {
27779
+ ...id && url && {
27109
27780
  as: "a",
27110
27781
  href: url,
27111
27782
  target: "_blank",
27112
- rel: "noreferrer"
27783
+ rel: "noreferrer",
27784
+ onClick: (event) => {
27785
+ void openInvoiceLink(
27786
+ event,
27787
+ url,
27788
+ async () => (await getInvoiceLink(id))?.data.url
27789
+ );
27790
+ }
27113
27791
  },
27114
27792
  $color: url ? settings.theme.typography.link.color : settings.theme.typography.text.color,
27115
27793
  children: date
@@ -31293,8 +31971,8 @@ var UpcomingBill = forwardRef18(({ className, ...rest }, ref) => {
31293
31971
  });
31294
31972
  UpcomingBill.displayName = "UpcomingBill";
31295
31973
 
31296
- // node_modules/.pnpm/pako@3.0.2/node_modules/pako/dist/pako.mjs
31297
- var Z_FIXED = 4;
31974
+ // node_modules/.pnpm/pako@3.0.3/node_modules/pako/dist/pako.mjs
31975
+ var Z_FIXED$1 = 4;
31298
31976
  var Z_BINARY = 0;
31299
31977
  var Z_TEXT = 1;
31300
31978
  var Z_UNKNOWN = 2;
@@ -31766,10 +32444,10 @@ var _tr_flush_block = (s, buf, stored_len, last) => {
31766
32444
  max_blindex = build_bl_tree(s);
31767
32445
  opt_lenb = s.opt_len + 3 + 7 >>> 3;
31768
32446
  static_lenb = s.static_len + 3 + 7 >>> 3;
31769
- if (static_lenb <= opt_lenb || s.strategy === Z_FIXED) opt_lenb = static_lenb;
32447
+ if (static_lenb <= opt_lenb || s.strategy === Z_FIXED$1) opt_lenb = static_lenb;
31770
32448
  } else opt_lenb = static_lenb = stored_len + 5;
31771
32449
  if (stored_len + 4 <= opt_lenb && buf !== -1) _tr_stored_block(s, buf, stored_len, last);
31772
- else if (s.strategy === Z_FIXED || static_lenb === opt_lenb) {
32450
+ else if (s.strategy === Z_FIXED$1 || static_lenb === opt_lenb) {
31773
32451
  send_bits(s, (STATIC_TREES << 1) + (last ? 1 : 0), 3);
31774
32452
  compress_block(s, static_ltree, static_dtree);
31775
32453
  } else {
@@ -31808,20 +32486,33 @@ var adler32 = (adler, buf, len, pos) => {
31808
32486
  return s1 | s2 << 16 | 0;
31809
32487
  };
31810
32488
  var makeTable = () => {
31811
- let c2, table = [];
31812
- for (var n2 = 0; n2 < 256; n2++) {
32489
+ const table = new Uint32Array(256 * 8);
32490
+ let c2;
32491
+ for (let n2 = 0; n2 < 256; n2++) {
31813
32492
  c2 = n2;
31814
- for (var k2 = 0; k2 < 8; k2++) c2 = c2 & 1 ? 3988292384 ^ c2 >>> 1 : c2 >>> 1;
32493
+ for (let k2 = 0; k2 < 8; k2++) c2 = c2 & 1 ? 3988292384 ^ c2 >>> 1 : c2 >>> 1;
31815
32494
  table[n2] = c2;
31816
32495
  }
32496
+ for (let n2 = 0; n2 < 256; n2++) {
32497
+ c2 = table[n2];
32498
+ for (let k2 = 256; k2 < 256 * 8; k2 += 256) {
32499
+ c2 = table[c2 & 255] ^ c2 >>> 8;
32500
+ table[k2 + n2] = c2;
32501
+ }
32502
+ }
31817
32503
  return table;
31818
32504
  };
31819
- var crcTable = new Uint32Array(makeTable());
32505
+ var crcTable = makeTable();
31820
32506
  var crc32 = (crc, buf, len, pos) => {
31821
32507
  const t3 = crcTable;
31822
32508
  const end = pos + len;
32509
+ let i2 = pos;
31823
32510
  crc ^= -1;
31824
- for (let i2 = pos; i2 < end; i2++) crc = crc >>> 8 ^ t3[(crc ^ buf[i2]) & 255];
32511
+ for (const end8 = end - 7; i2 < end8; i2 += 8) {
32512
+ crc ^= buf[i2] | buf[i2 + 1] << 8 | buf[i2 + 2] << 16 | buf[i2 + 3] << 24;
32513
+ crc = t3[1792 + (crc & 255)] ^ t3[1536 + (crc >>> 8 & 255)] ^ t3[1280 + (crc >>> 16 & 255)] ^ t3[1024 + (crc >>> 24)] ^ t3[768 + buf[i2 + 4]] ^ t3[512 + buf[i2 + 5]] ^ t3[256 + buf[i2 + 6]] ^ t3[buf[i2 + 7]];
32514
+ }
32515
+ for (; i2 < end; i2++) crc = crc >>> 8 ^ t3[(crc ^ buf[i2]) & 255];
31825
32516
  return crc ^ -1;
31826
32517
  };
31827
32518
  var messages_default = {
@@ -33081,7 +33772,10 @@ var inflate$1 = (strm, flush) => {
33081
33772
  copy3 = 0;
33082
33773
  do {
33083
33774
  len = input[next2 + copy3++];
33084
- if (state.head && len && state.length < 65536) state.head.name += String.fromCharCode(len);
33775
+ if (state.head && len && state.length < 65536) {
33776
+ state.head.name += String.fromCharCode(len);
33777
+ state.length++;
33778
+ }
33085
33779
  } while (len && copy3 < have);
33086
33780
  if (state.flags & 512 && state.wrap & 4) state.check = crc32(state.check, input, copy3, next2);
33087
33781
  have -= copy3;
@@ -33096,7 +33790,10 @@ var inflate$1 = (strm, flush) => {
33096
33790
  copy3 = 0;
33097
33791
  do {
33098
33792
  len = input[next2 + copy3++];
33099
- if (state.head && len && state.length < 65536) state.head.comment += String.fromCharCode(len);
33793
+ if (state.head && len && state.length < 65536) {
33794
+ state.head.comment += String.fromCharCode(len);
33795
+ state.length++;
33796
+ }
33100
33797
  } while (len && copy3 < have);
33101
33798
  if (state.flags & 512 && state.wrap & 4) state.check = crc32(state.check, input, copy3, next2);
33102
33799
  have -= copy3;
@@ -34041,7 +34738,7 @@ var Error2 = ({ message }) => {
34041
34738
  );
34042
34739
  };
34043
34740
  var SchematicEmbed = ({ id, accessToken }) => {
34044
- const theme = useContext3(nt);
34741
+ const theme = useContext3(ot);
34045
34742
  const { t: t3 } = useTranslation();
34046
34743
  const {
34047
34744
  data,