drizzle-kit 0.25.0-178591 → 0.25.0-5a1c5d3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. package/api.js +434 -337
  2. package/api.mjs +433 -336
  3. package/bin.cjs +37 -37
  4. package/package.json +1 -1
package/api.js CHANGED
@@ -1056,8 +1056,8 @@ var require_minimatch = __commonJS({
1056
1056
  return new Minimatch2(pattern, options).match(p7);
1057
1057
  };
1058
1058
  module2.exports = minimatch2;
1059
- var path3 = require_path();
1060
- minimatch2.sep = path3.sep;
1059
+ var path2 = require_path();
1060
+ minimatch2.sep = path2.sep;
1061
1061
  var GLOBSTAR2 = Symbol("globstar **");
1062
1062
  minimatch2.GLOBSTAR = GLOBSTAR2;
1063
1063
  var expand2 = require_brace_expansion();
@@ -1562,8 +1562,8 @@ var require_minimatch = __commonJS({
1562
1562
  if (this.empty) return f5 === "";
1563
1563
  if (f5 === "/" && partial) return true;
1564
1564
  const options = this.options;
1565
- if (path3.sep !== "/") {
1566
- f5 = f5.split(path3.sep).join("/");
1565
+ if (path2.sep !== "/") {
1566
+ f5 = f5.split(path2.sep).join("/");
1567
1567
  }
1568
1568
  f5 = f5.split(slashSplit);
1569
1569
  this.debug(this.pattern, "split", f5);
@@ -1660,7 +1660,7 @@ var require_common = __commonJS({
1660
1660
  return Object.prototype.hasOwnProperty.call(obj, field);
1661
1661
  }
1662
1662
  var fs5 = require("fs");
1663
- var path3 = require("path");
1663
+ var path2 = require("path");
1664
1664
  var minimatch2 = require_minimatch();
1665
1665
  var isAbsolute = require("path").isAbsolute;
1666
1666
  var Minimatch2 = minimatch2.Minimatch;
@@ -1727,13 +1727,13 @@ var require_common = __commonJS({
1727
1727
  self2.changedCwd = false;
1728
1728
  var cwd = process.cwd();
1729
1729
  if (!ownProp(options, "cwd"))
1730
- self2.cwd = path3.resolve(cwd);
1730
+ self2.cwd = path2.resolve(cwd);
1731
1731
  else {
1732
- self2.cwd = path3.resolve(options.cwd);
1732
+ self2.cwd = path2.resolve(options.cwd);
1733
1733
  self2.changedCwd = self2.cwd !== cwd;
1734
1734
  }
1735
- self2.root = options.root || path3.resolve(self2.cwd, "/");
1736
- self2.root = path3.resolve(self2.root);
1735
+ self2.root = options.root || path2.resolve(self2.cwd, "/");
1736
+ self2.root = path2.resolve(self2.root);
1737
1737
  self2.cwdAbs = isAbsolute(self2.cwd) ? self2.cwd : makeAbs(self2, self2.cwd);
1738
1738
  self2.nomount = !!options.nomount;
1739
1739
  if (process.platform === "win32") {
@@ -1815,30 +1815,30 @@ var require_common = __commonJS({
1815
1815
  function makeAbs(self2, f5) {
1816
1816
  var abs = f5;
1817
1817
  if (f5.charAt(0) === "/") {
1818
- abs = path3.join(self2.root, f5);
1818
+ abs = path2.join(self2.root, f5);
1819
1819
  } else if (isAbsolute(f5) || f5 === "") {
1820
1820
  abs = f5;
1821
1821
  } else if (self2.changedCwd) {
1822
- abs = path3.resolve(self2.cwd, f5);
1822
+ abs = path2.resolve(self2.cwd, f5);
1823
1823
  } else {
1824
- abs = path3.resolve(f5);
1824
+ abs = path2.resolve(f5);
1825
1825
  }
1826
1826
  if (process.platform === "win32")
1827
1827
  abs = abs.replace(/\\/g, "/");
1828
1828
  return abs;
1829
1829
  }
1830
- function isIgnored(self2, path4) {
1830
+ function isIgnored(self2, path3) {
1831
1831
  if (!self2.ignore.length)
1832
1832
  return false;
1833
1833
  return self2.ignore.some(function(item) {
1834
- return item.matcher.match(path4) || !!(item.gmatcher && item.gmatcher.match(path4));
1834
+ return item.matcher.match(path3) || !!(item.gmatcher && item.gmatcher.match(path3));
1835
1835
  });
1836
1836
  }
1837
- function childrenIgnored(self2, path4) {
1837
+ function childrenIgnored(self2, path3) {
1838
1838
  if (!self2.ignore.length)
1839
1839
  return false;
1840
1840
  return self2.ignore.some(function(item) {
1841
- return !!(item.gmatcher && item.gmatcher.match(path4));
1841
+ return !!(item.gmatcher && item.gmatcher.match(path3));
1842
1842
  });
1843
1843
  }
1844
1844
  }
@@ -1855,7 +1855,7 @@ var require_sync = __commonJS({
1855
1855
  var Minimatch2 = minimatch2.Minimatch;
1856
1856
  var Glob = require_glob().Glob;
1857
1857
  var util2 = require("util");
1858
- var path3 = require("path");
1858
+ var path2 = require("path");
1859
1859
  var assert = require("assert");
1860
1860
  var isAbsolute = require("path").isAbsolute;
1861
1861
  var common = require_common();
@@ -1983,7 +1983,7 @@ var require_sync = __commonJS({
1983
1983
  e5 = prefix2 + e5;
1984
1984
  }
1985
1985
  if (e5.charAt(0) === "/" && !this.nomount) {
1986
- e5 = path3.join(this.root, e5);
1986
+ e5 = path2.join(this.root, e5);
1987
1987
  }
1988
1988
  this._emitMatch(index4, e5);
1989
1989
  }
@@ -2132,9 +2132,9 @@ var require_sync = __commonJS({
2132
2132
  if (prefix2 && isAbsolute(prefix2) && !this.nomount) {
2133
2133
  var trail = /[\/\\]$/.test(prefix2);
2134
2134
  if (prefix2.charAt(0) === "/") {
2135
- prefix2 = path3.join(this.root, prefix2);
2135
+ prefix2 = path2.join(this.root, prefix2);
2136
2136
  } else {
2137
- prefix2 = path3.resolve(this.root, prefix2);
2137
+ prefix2 = path2.resolve(this.root, prefix2);
2138
2138
  if (trail)
2139
2139
  prefix2 += "/";
2140
2140
  }
@@ -2330,7 +2330,7 @@ var require_glob = __commonJS({
2330
2330
  var Minimatch2 = minimatch2.Minimatch;
2331
2331
  var inherits = require_inherits();
2332
2332
  var EE = require("events").EventEmitter;
2333
- var path3 = require("path");
2333
+ var path2 = require("path");
2334
2334
  var assert = require("assert");
2335
2335
  var isAbsolute = require("path").isAbsolute;
2336
2336
  var globSync = require_sync();
@@ -2611,7 +2611,7 @@ var require_glob = __commonJS({
2611
2611
  e5 = prefix2 + e5;
2612
2612
  }
2613
2613
  if (e5.charAt(0) === "/" && !this.nomount) {
2614
- e5 = path3.join(this.root, e5);
2614
+ e5 = path2.join(this.root, e5);
2615
2615
  }
2616
2616
  this._emitMatch(index4, e5);
2617
2617
  }
@@ -2798,9 +2798,9 @@ var require_glob = __commonJS({
2798
2798
  if (prefix2 && isAbsolute(prefix2) && !this.nomount) {
2799
2799
  var trail = /[\/\\]$/.test(prefix2);
2800
2800
  if (prefix2.charAt(0) === "/") {
2801
- prefix2 = path3.join(this.root, prefix2);
2801
+ prefix2 = path2.join(this.root, prefix2);
2802
2802
  } else {
2803
- prefix2 = path3.resolve(this.root, prefix2);
2803
+ prefix2 = path2.resolve(this.root, prefix2);
2804
2804
  if (trail)
2805
2805
  prefix2 += "/";
2806
2806
  }
@@ -3952,8 +3952,8 @@ var init_lib = __esm({
3952
3952
  };
3953
3953
  overrideErrorMap = errorMap;
3954
3954
  makeIssue = (params) => {
3955
- const { data, path: path3, errorMaps, issueData } = params;
3956
- const fullPath = [...path3, ...issueData.path || []];
3955
+ const { data, path: path2, errorMaps, issueData } = params;
3956
+ const fullPath = [...path2, ...issueData.path || []];
3957
3957
  const fullIssue = {
3958
3958
  ...issueData,
3959
3959
  path: fullPath
@@ -4044,11 +4044,11 @@ var init_lib = __esm({
4044
4044
  errorUtil2.toString = (message) => typeof message === "string" ? message : message === null || message === void 0 ? void 0 : message.message;
4045
4045
  })(errorUtil || (errorUtil = {}));
4046
4046
  ParseInputLazyPath = class {
4047
- constructor(parent, value, path3, key) {
4047
+ constructor(parent, value, path2, key) {
4048
4048
  this._cachedPath = [];
4049
4049
  this.parent = parent;
4050
4050
  this.data = value;
4051
- this._path = path3;
4051
+ this._path = path2;
4052
4052
  this._key = key;
4053
4053
  }
4054
4054
  get path() {
@@ -23248,7 +23248,7 @@ var require_split2 = __commonJS({
23248
23248
  var require_helper = __commonJS({
23249
23249
  "../node_modules/.pnpm/pgpass@1.0.5/node_modules/pgpass/lib/helper.js"(exports2, module2) {
23250
23250
  "use strict";
23251
- var path3 = require("path");
23251
+ var path2 = require("path");
23252
23252
  var Stream4 = require("stream").Stream;
23253
23253
  var split = require_split2();
23254
23254
  var util2 = require("util");
@@ -23287,7 +23287,7 @@ var require_helper = __commonJS({
23287
23287
  };
23288
23288
  module2.exports.getFileName = function(rawEnv) {
23289
23289
  var env3 = rawEnv || process.env;
23290
- var file = env3.PGPASSFILE || (isWin ? path3.join(env3.APPDATA || "./", "postgresql", "pgpass.conf") : path3.join(env3.HOME || "./", ".pgpass"));
23290
+ var file = env3.PGPASSFILE || (isWin ? path2.join(env3.APPDATA || "./", "postgresql", "pgpass.conf") : path2.join(env3.HOME || "./", ".pgpass"));
23291
23291
  return file;
23292
23292
  };
23293
23293
  module2.exports.usePgPass = function(stats, fname) {
@@ -23419,7 +23419,7 @@ var require_helper = __commonJS({
23419
23419
  var require_lib2 = __commonJS({
23420
23420
  "../node_modules/.pnpm/pgpass@1.0.5/node_modules/pgpass/lib/index.js"(exports2, module2) {
23421
23421
  "use strict";
23422
- var path3 = require("path");
23422
+ var path2 = require("path");
23423
23423
  var fs5 = require("fs");
23424
23424
  var helper = require_helper();
23425
23425
  module2.exports = function(connInfo, cb) {
@@ -24808,7 +24808,7 @@ var init_query_promise = __esm({
24808
24808
  function mapResultRow(columns, row, joinsNotNullableMap) {
24809
24809
  const nullifyMap = {};
24810
24810
  const result = columns.reduce(
24811
- (result2, { path: path3, field }, columnIndex) => {
24811
+ (result2, { path: path2, field }, columnIndex) => {
24812
24812
  let decoder2;
24813
24813
  if (is(field, Column2)) {
24814
24814
  decoder2 = field;
@@ -24818,8 +24818,8 @@ function mapResultRow(columns, row, joinsNotNullableMap) {
24818
24818
  decoder2 = field.sql.decoder;
24819
24819
  }
24820
24820
  let node = result2;
24821
- for (const [pathChunkIndex, pathChunk] of path3.entries()) {
24822
- if (pathChunkIndex < path3.length - 1) {
24821
+ for (const [pathChunkIndex, pathChunk] of path2.entries()) {
24822
+ if (pathChunkIndex < path2.length - 1) {
24823
24823
  if (!(pathChunk in node)) {
24824
24824
  node[pathChunk] = {};
24825
24825
  }
@@ -24827,8 +24827,8 @@ function mapResultRow(columns, row, joinsNotNullableMap) {
24827
24827
  } else {
24828
24828
  const rawValue = row[columnIndex];
24829
24829
  const value = node[pathChunk] = rawValue === null ? null : decoder2.mapFromDriverValue(rawValue);
24830
- if (joinsNotNullableMap && is(field, Column2) && path3.length === 2) {
24831
- const objectName = path3[0];
24830
+ if (joinsNotNullableMap && is(field, Column2) && path2.length === 2) {
24831
+ const objectName = path2[0];
24832
24832
  if (!(objectName in nullifyMap)) {
24833
24833
  nullifyMap[objectName] = value === null ? getTableName(field.table) : false;
24834
24834
  } else if (typeof nullifyMap[objectName] === "string" && nullifyMap[objectName] !== getTableName(field.table)) {
@@ -29444,6 +29444,7 @@ var init_db = __esm({
29444
29444
  init_entity();
29445
29445
  init_query_builders();
29446
29446
  init_selection_proxy();
29447
+ init_sql();
29447
29448
  init_subquery();
29448
29449
  init_count();
29449
29450
  init_query();
@@ -29698,8 +29699,8 @@ var init_db = __esm({
29698
29699
  return new PgRefreshMaterializedView(view, this.session, this.dialect);
29699
29700
  }
29700
29701
  execute(query) {
29701
- const sql3 = query.getSQL();
29702
- const builtQuery = this.dialect.sqlToQuery(sql3);
29702
+ const sequel = typeof query === "string" ? sql.raw(query) : query.getSQL();
29703
+ const builtQuery = this.dialect.sqlToQuery(sequel);
29703
29704
  const prepared = this.session.prepareQuery(
29704
29705
  builtQuery,
29705
29706
  void 0,
@@ -29708,7 +29709,7 @@ var init_db = __esm({
29708
29709
  );
29709
29710
  return new PgRaw(
29710
29711
  () => prepared.execute(),
29711
- sql3,
29712
+ sequel,
29712
29713
  builtQuery,
29713
29714
  (result) => prepared.mapResult(result, true)
29714
29715
  );
@@ -30557,7 +30558,9 @@ function drizzle(client, config = {}) {
30557
30558
  }
30558
30559
  const driver2 = new NodePgDriver(client, dialect7, { logger: logger2 });
30559
30560
  const session = driver2.createSession(schema4);
30560
- return new NodePgDatabase(dialect7, session, schema4);
30561
+ const db2 = new NodePgDatabase(dialect7, session, schema4);
30562
+ db2.$client = client;
30563
+ return db2;
30561
30564
  }
30562
30565
  var import_pg2, types, _a162, NodePgDriver, _a163, _b117, NodePgDatabase;
30563
30566
  var init_driver = __esm({
@@ -31647,18 +31650,18 @@ var init_getAttrPathList = __esm({
31647
31650
  "../node_modules/.pnpm/@smithy+util-endpoints@2.0.0/node_modules/@smithy/util-endpoints/dist-es/lib/getAttrPathList.js"() {
31648
31651
  "use strict";
31649
31652
  init_types2();
31650
- getAttrPathList = (path3) => {
31651
- const parts = path3.split(".");
31653
+ getAttrPathList = (path2) => {
31654
+ const parts = path2.split(".");
31652
31655
  const pathList = [];
31653
31656
  for (const part of parts) {
31654
31657
  const squareBracketIndex = part.indexOf("[");
31655
31658
  if (squareBracketIndex !== -1) {
31656
31659
  if (part.indexOf("]") !== part.length - 1) {
31657
- throw new EndpointError(`Path: '${path3}' does not end with ']'`);
31660
+ throw new EndpointError(`Path: '${path2}' does not end with ']'`);
31658
31661
  }
31659
31662
  const arrayIndex = part.slice(squareBracketIndex + 1, -1);
31660
31663
  if (Number.isNaN(parseInt(arrayIndex))) {
31661
- throw new EndpointError(`Invalid array index: '${arrayIndex}' in path: '${path3}'`);
31664
+ throw new EndpointError(`Invalid array index: '${arrayIndex}' in path: '${path2}'`);
31662
31665
  }
31663
31666
  if (squareBracketIndex !== 0) {
31664
31667
  pathList.push(part.slice(0, squareBracketIndex));
@@ -31680,9 +31683,9 @@ var init_getAttr = __esm({
31680
31683
  "use strict";
31681
31684
  init_types2();
31682
31685
  init_getAttrPathList();
31683
- getAttr = (value, path3) => getAttrPathList(path3).reduce((acc, index4) => {
31686
+ getAttr = (value, path2) => getAttrPathList(path2).reduce((acc, index4) => {
31684
31687
  if (typeof acc !== "object") {
31685
- throw new EndpointError(`Index '${index4}' in '${path3}' not found in '${JSON.stringify(value)}'`);
31688
+ throw new EndpointError(`Index '${index4}' in '${path2}' not found in '${JSON.stringify(value)}'`);
31686
31689
  } else if (Array.isArray(acc)) {
31687
31690
  return acc[parseInt(index4)];
31688
31691
  }
@@ -31727,8 +31730,8 @@ var init_parseURL = __esm({
31727
31730
  return value;
31728
31731
  }
31729
31732
  if (typeof value === "object" && "hostname" in value) {
31730
- const { hostname: hostname2, port, protocol: protocol3 = "", path: path3 = "", query = {} } = value;
31731
- const url = new URL(`${protocol3}//${hostname2}${port ? `:${port}` : ""}${path3}`);
31733
+ const { hostname: hostname2, port, protocol: protocol3 = "", path: path2 = "", query = {} } = value;
31734
+ const url = new URL(`${protocol3}//${hostname2}${port ? `:${port}` : ""}${path2}`);
31732
31735
  url.search = Object.entries(query).map(([k6, v8]) => `${k6}=${v8}`).join("&");
31733
31736
  return url;
31734
31737
  }
@@ -33184,8 +33187,8 @@ var init_createConfigValueProvider = __esm({
33184
33187
  return endpoint.url.href;
33185
33188
  }
33186
33189
  if ("hostname" in endpoint) {
33187
- const { protocol: protocol2, hostname, port, path: path3 } = endpoint;
33188
- return `${protocol2}//${hostname}${port ? ":" + port : ""}${path3}`;
33190
+ const { protocol: protocol2, hostname, port, path: path2 } = endpoint;
33191
+ return `${protocol2}//${hostname}${port ? ":" + port : ""}${path2}`;
33189
33192
  }
33190
33193
  }
33191
33194
  return endpoint;
@@ -33557,11 +33560,11 @@ var init_slurpFile = __esm({
33557
33560
  import_fs2 = require("fs");
33558
33561
  ({ readFile: readFile2 } = import_fs2.promises);
33559
33562
  filePromisesHash = {};
33560
- slurpFile = (path3, options) => {
33561
- if (!filePromisesHash[path3] || options?.ignoreCache) {
33562
- filePromisesHash[path3] = readFile2(path3, "utf8");
33563
+ slurpFile = (path2, options) => {
33564
+ if (!filePromisesHash[path2] || options?.ignoreCache) {
33565
+ filePromisesHash[path2] = readFile2(path2, "utf8");
33563
33566
  }
33564
- return filePromisesHash[path3];
33567
+ return filePromisesHash[path2];
33565
33568
  };
33566
33569
  }
33567
33570
  });
@@ -35625,18 +35628,18 @@ var init_node_http_handler = __esm({
35625
35628
  const password = request2.password ?? "";
35626
35629
  auth = `${username}:${password}`;
35627
35630
  }
35628
- let path3 = request2.path;
35631
+ let path2 = request2.path;
35629
35632
  if (queryString) {
35630
- path3 += `?${queryString}`;
35633
+ path2 += `?${queryString}`;
35631
35634
  }
35632
35635
  if (request2.fragment) {
35633
- path3 += `#${request2.fragment}`;
35636
+ path2 += `#${request2.fragment}`;
35634
35637
  }
35635
35638
  const nodeHttpsOptions = {
35636
35639
  headers: request2.headers,
35637
35640
  host: request2.hostname,
35638
35641
  method: request2.method,
35639
- path: path3,
35642
+ path: path2,
35640
35643
  port: request2.port,
35641
35644
  agent,
35642
35645
  auth
@@ -37637,8 +37640,8 @@ var init_requestBuilder = __esm({
37637
37640
  return this;
37638
37641
  }
37639
37642
  p(memberName, labelValueProvider, uriLabel, isGreedyLabel) {
37640
- this.resolvePathStack.push((path3) => {
37641
- this.path = resolvedPath(path3, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel);
37643
+ this.resolvePathStack.push((path2) => {
37644
+ this.path = resolvedPath(path2, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel);
37642
37645
  });
37643
37646
  return this;
37644
37647
  }
@@ -37693,9 +37696,9 @@ var init_createPaginator = __esm({
37693
37696
  makePagedClientRequest = async (CommandCtor, client, input, ...args) => {
37694
37697
  return await client.send(new CommandCtor(input), ...args);
37695
37698
  };
37696
- get = (fromObject, path3) => {
37699
+ get = (fromObject, path2) => {
37697
37700
  let cursor = fromObject;
37698
- const pathComponents = path3.split(".");
37701
+ const pathComponents = path2.split(".");
37699
37702
  for (const step of pathComponents) {
37700
37703
  if (!cursor || typeof cursor !== "object") {
37701
37704
  return void 0;
@@ -38852,10 +38855,10 @@ ${longDate}
38852
38855
  ${credentialScope}
38853
38856
  ${toHex(hashedRequest)}`;
38854
38857
  }
38855
- getCanonicalPath({ path: path3 }) {
38858
+ getCanonicalPath({ path: path2 }) {
38856
38859
  if (this.uriEscapePath) {
38857
38860
  const normalizedPathSegments = [];
38858
- for (const pathSegment of path3.split("/")) {
38861
+ for (const pathSegment of path2.split("/")) {
38859
38862
  if (pathSegment?.length === 0)
38860
38863
  continue;
38861
38864
  if (pathSegment === ".")
@@ -38866,11 +38869,11 @@ ${toHex(hashedRequest)}`;
38866
38869
  normalizedPathSegments.push(pathSegment);
38867
38870
  }
38868
38871
  }
38869
- const normalizedPath = `${path3?.startsWith("/") ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && path3?.endsWith("/") ? "/" : ""}`;
38872
+ const normalizedPath = `${path2?.startsWith("/") ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && path2?.endsWith("/") ? "/" : ""}`;
38870
38873
  const doubleEncoded = escapeUri(normalizedPath);
38871
38874
  return doubleEncoded.replace(/%2F/g, "/");
38872
38875
  }
38873
- return path3;
38876
+ return path2;
38874
38877
  }
38875
38878
  async getSignature(longDate, credentialScope, keyPromise, canonicalRequest) {
38876
38879
  const stringToSign = await this.createStringToSign(longDate, credentialScope, canonicalRequest);
@@ -41909,7 +41912,7 @@ var init_constants7 = __esm({
41909
41912
  }
41910
41913
  });
41911
41914
 
41912
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthSchemeProvider.js
41915
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthSchemeProvider.js
41913
41916
  function createAwsAuthSigv4HttpAuthOption2(authParameters) {
41914
41917
  return {
41915
41918
  schemeId: "aws.auth#sigv4",
@@ -41932,7 +41935,7 @@ function createSmithyApiNoAuthHttpAuthOption(authParameters) {
41932
41935
  }
41933
41936
  var import_core2, defaultSSOOIDCHttpAuthSchemeParametersProvider, defaultSSOOIDCHttpAuthSchemeProvider, resolveHttpAuthSchemeConfig2;
41934
41937
  var init_httpAuthSchemeProvider2 = __esm({
41935
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthSchemeProvider.js"() {
41938
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthSchemeProvider.js"() {
41936
41939
  "use strict";
41937
41940
  import_core2 = __toESM(require_dist_cjs());
41938
41941
  init_dist_es10();
@@ -41974,10 +41977,10 @@ var init_httpAuthSchemeProvider2 = __esm({
41974
41977
  }
41975
41978
  });
41976
41979
 
41977
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js
41980
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js
41978
41981
  var resolveClientEndpointParameters2, commonParams2;
41979
41982
  var init_EndpointParameters2 = __esm({
41980
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js"() {
41983
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/EndpointParameters.js"() {
41981
41984
  "use strict";
41982
41985
  resolveClientEndpointParameters2 = (options) => {
41983
41986
  return {
@@ -41996,10 +41999,10 @@ var init_EndpointParameters2 = __esm({
41996
41999
  }
41997
42000
  });
41998
42001
 
41999
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/package.json
42002
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/package.json
42000
42003
  var package_default2;
42001
42004
  var init_package2 = __esm({
42002
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/package.json"() {
42005
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/package.json"() {
42003
42006
  package_default2 = {
42004
42007
  name: "@aws-sdk/client-sso-oidc",
42005
42008
  description: "AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",
@@ -42252,10 +42255,10 @@ var init_dist_es42 = __esm({
42252
42255
  }
42253
42256
  });
42254
42257
 
42255
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js
42258
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js
42256
42259
  var u, v, w, x, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, _data, ruleSet;
42257
42260
  var init_ruleset = __esm({
42258
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js"() {
42261
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/ruleset.js"() {
42259
42262
  "use strict";
42260
42263
  u = "required";
42261
42264
  v = "fn";
@@ -42286,10 +42289,10 @@ var init_ruleset = __esm({
42286
42289
  }
42287
42290
  });
42288
42291
 
42289
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js
42292
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js
42290
42293
  var defaultEndpointResolver;
42291
42294
  var init_endpointResolver = __esm({
42292
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js"() {
42295
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/endpoint/endpointResolver.js"() {
42293
42296
  "use strict";
42294
42297
  init_dist_es7();
42295
42298
  init_dist_es6();
@@ -42304,10 +42307,10 @@ var init_endpointResolver = __esm({
42304
42307
  }
42305
42308
  });
42306
42309
 
42307
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js
42310
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js
42308
42311
  var import_core3, getRuntimeConfig;
42309
42312
  var init_runtimeConfig_shared = __esm({
42310
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js"() {
42313
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.shared.js"() {
42311
42314
  "use strict";
42312
42315
  import_core3 = __toESM(require_dist_cjs());
42313
42316
  init_dist_es34();
@@ -42447,10 +42450,10 @@ var init_dist_es43 = __esm({
42447
42450
  }
42448
42451
  });
42449
42452
 
42450
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js
42453
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js
42451
42454
  var import_core5, getRuntimeConfig2;
42452
42455
  var init_runtimeConfig = __esm({
42453
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js"() {
42456
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js"() {
42454
42457
  "use strict";
42455
42458
  init_package2();
42456
42459
  import_core5 = __toESM(require_dist_cjs());
@@ -42579,10 +42582,10 @@ var init_dist_es44 = __esm({
42579
42582
  }
42580
42583
  });
42581
42584
 
42582
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthExtensionConfiguration.js
42585
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthExtensionConfiguration.js
42583
42586
  var getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig;
42584
42587
  var init_httpAuthExtensionConfiguration = __esm({
42585
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthExtensionConfiguration.js"() {
42588
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/auth/httpAuthExtensionConfiguration.js"() {
42586
42589
  "use strict";
42587
42590
  getHttpAuthExtensionConfiguration = (runtimeConfig) => {
42588
42591
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
@@ -42624,10 +42627,10 @@ var init_httpAuthExtensionConfiguration = __esm({
42624
42627
  }
42625
42628
  });
42626
42629
 
42627
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js
42630
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js
42628
42631
  var asPartial, resolveRuntimeExtensions;
42629
42632
  var init_runtimeExtensions = __esm({
42630
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js"() {
42633
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeExtensions.js"() {
42631
42634
  "use strict";
42632
42635
  init_dist_es44();
42633
42636
  init_dist_es2();
@@ -42653,10 +42656,10 @@ var init_runtimeExtensions = __esm({
42653
42656
  }
42654
42657
  });
42655
42658
 
42656
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js
42659
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js
42657
42660
  var SSOOIDCClient;
42658
42661
  var init_SSOOIDCClient = __esm({
42659
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js"() {
42662
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDCClient.js"() {
42660
42663
  "use strict";
42661
42664
  init_dist_es3();
42662
42665
  init_dist_es4();
@@ -42712,10 +42715,10 @@ var init_SSOOIDCClient = __esm({
42712
42715
  }
42713
42716
  });
42714
42717
 
42715
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js
42718
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js
42716
42719
  var SSOOIDCServiceException;
42717
42720
  var init_SSOOIDCServiceException = __esm({
42718
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js"() {
42721
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/SSOOIDCServiceException.js"() {
42719
42722
  "use strict";
42720
42723
  init_dist_es32();
42721
42724
  SSOOIDCServiceException = class _SSOOIDCServiceException extends ServiceException {
@@ -42727,10 +42730,10 @@ var init_SSOOIDCServiceException = __esm({
42727
42730
  }
42728
42731
  });
42729
42732
 
42730
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js
42733
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js
42731
42734
  var AccessDeniedException, AuthorizationPendingException, ExpiredTokenException, InternalServerException, InvalidClientException, InvalidGrantException, InvalidRequestException, InvalidScopeException, SlowDownException, UnauthorizedClientException, UnsupportedGrantTypeException, InvalidRequestRegionException, InvalidClientMetadataException, InvalidRedirectUriException, CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog, CreateTokenWithIAMRequestFilterSensitiveLog, CreateTokenWithIAMResponseFilterSensitiveLog, RegisterClientResponseFilterSensitiveLog, StartDeviceAuthorizationRequestFilterSensitiveLog;
42732
42735
  var init_models_0 = __esm({
42733
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js"() {
42736
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/models_0.js"() {
42734
42737
  "use strict";
42735
42738
  init_dist_es32();
42736
42739
  init_SSOOIDCServiceException();
@@ -42968,10 +42971,10 @@ var init_models_0 = __esm({
42968
42971
  }
42969
42972
  });
42970
42973
 
42971
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js
42974
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js
42972
42975
  var import_core7, se_CreateTokenCommand, se_CreateTokenWithIAMCommand, se_RegisterClientCommand, se_StartDeviceAuthorizationCommand, de_CreateTokenCommand, de_CreateTokenWithIAMCommand, de_RegisterClientCommand, de_StartDeviceAuthorizationCommand, de_CommandError, throwDefaultError2, de_AccessDeniedExceptionRes, de_AuthorizationPendingExceptionRes, de_ExpiredTokenExceptionRes, de_InternalServerExceptionRes, de_InvalidClientExceptionRes, de_InvalidClientMetadataExceptionRes, de_InvalidGrantExceptionRes, de_InvalidRedirectUriExceptionRes, de_InvalidRequestExceptionRes, de_InvalidRequestRegionExceptionRes, de_InvalidScopeExceptionRes, de_SlowDownExceptionRes, de_UnauthorizedClientExceptionRes, de_UnsupportedGrantTypeExceptionRes, deserializeMetadata2, _ai;
42973
42976
  var init_Aws_restJson1 = __esm({
42974
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js"() {
42977
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/protocols/Aws_restJson1.js"() {
42975
42978
  "use strict";
42976
42979
  import_core7 = __toESM(require_dist_cjs());
42977
42980
  init_dist_es34();
@@ -43402,10 +43405,10 @@ var init_Aws_restJson1 = __esm({
43402
43405
  }
43403
43406
  });
43404
43407
 
43405
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js
43408
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js
43406
43409
  var CreateTokenCommand;
43407
43410
  var init_CreateTokenCommand = __esm({
43408
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js"() {
43411
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenCommand.js"() {
43409
43412
  "use strict";
43410
43413
  init_dist_es18();
43411
43414
  init_dist_es17();
@@ -43425,10 +43428,10 @@ var init_CreateTokenCommand = __esm({
43425
43428
  }
43426
43429
  });
43427
43430
 
43428
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js
43431
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js
43429
43432
  var CreateTokenWithIAMCommand;
43430
43433
  var init_CreateTokenWithIAMCommand = __esm({
43431
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js"() {
43434
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/CreateTokenWithIAMCommand.js"() {
43432
43435
  "use strict";
43433
43436
  init_dist_es18();
43434
43437
  init_dist_es17();
@@ -43448,10 +43451,10 @@ var init_CreateTokenWithIAMCommand = __esm({
43448
43451
  }
43449
43452
  });
43450
43453
 
43451
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js
43454
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js
43452
43455
  var RegisterClientCommand;
43453
43456
  var init_RegisterClientCommand = __esm({
43454
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js"() {
43457
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/RegisterClientCommand.js"() {
43455
43458
  "use strict";
43456
43459
  init_dist_es18();
43457
43460
  init_dist_es17();
@@ -43471,10 +43474,10 @@ var init_RegisterClientCommand = __esm({
43471
43474
  }
43472
43475
  });
43473
43476
 
43474
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js
43477
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js
43475
43478
  var StartDeviceAuthorizationCommand;
43476
43479
  var init_StartDeviceAuthorizationCommand = __esm({
43477
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js"() {
43480
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/StartDeviceAuthorizationCommand.js"() {
43478
43481
  "use strict";
43479
43482
  init_dist_es18();
43480
43483
  init_dist_es17();
@@ -43494,10 +43497,10 @@ var init_StartDeviceAuthorizationCommand = __esm({
43494
43497
  }
43495
43498
  });
43496
43499
 
43497
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js
43500
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js
43498
43501
  var commands, SSOOIDC;
43499
43502
  var init_SSOOIDC = __esm({
43500
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js"() {
43503
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/SSOOIDC.js"() {
43501
43504
  "use strict";
43502
43505
  init_dist_es32();
43503
43506
  init_CreateTokenCommand();
@@ -43517,9 +43520,9 @@ var init_SSOOIDC = __esm({
43517
43520
  }
43518
43521
  });
43519
43522
 
43520
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js
43523
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js
43521
43524
  var init_commands = __esm({
43522
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js"() {
43525
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/commands/index.js"() {
43523
43526
  "use strict";
43524
43527
  init_CreateTokenCommand();
43525
43528
  init_CreateTokenWithIAMCommand();
@@ -43528,15 +43531,15 @@ var init_commands = __esm({
43528
43531
  }
43529
43532
  });
43530
43533
 
43531
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js
43534
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js
43532
43535
  var init_models = __esm({
43533
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js"() {
43536
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/models/index.js"() {
43534
43537
  "use strict";
43535
43538
  init_models_0();
43536
43539
  }
43537
43540
  });
43538
43541
 
43539
- // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js
43542
+ // ../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js
43540
43543
  var dist_es_exports8 = {};
43541
43544
  __export(dist_es_exports8, {
43542
43545
  $Command: () => Command,
@@ -43570,7 +43573,7 @@ __export(dist_es_exports8, {
43570
43573
  __Client: () => Client
43571
43574
  });
43572
43575
  var init_dist_es45 = __esm({
43573
- "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0_@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js"() {
43576
+ "../node_modules/.pnpm/@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sso-oidc/dist-es/index.js"() {
43574
43577
  "use strict";
43575
43578
  init_SSOOIDCClient();
43576
43579
  init_SSOOIDC();
@@ -44945,7 +44948,7 @@ var init_resolveCredentialSource = __esm({
44945
44948
  }
44946
44949
  });
44947
44950
 
44948
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthSchemeProvider.js
44951
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthSchemeProvider.js
44949
44952
  function createAwsAuthSigv4HttpAuthOption4(authParameters) {
44950
44953
  return {
44951
44954
  schemeId: "aws.auth#sigv4",
@@ -44968,7 +44971,7 @@ function createSmithyApiNoAuthHttpAuthOption3(authParameters) {
44968
44971
  }
44969
44972
  var import_core18, defaultSTSHttpAuthSchemeParametersProvider, defaultSTSHttpAuthSchemeProvider, resolveStsAuthConfig, resolveHttpAuthSchemeConfig4;
44970
44973
  var init_httpAuthSchemeProvider4 = __esm({
44971
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthSchemeProvider.js"() {
44974
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthSchemeProvider.js"() {
44972
44975
  "use strict";
44973
44976
  import_core18 = __toESM(require_dist_cjs());
44974
44977
  init_dist_es10();
@@ -45012,10 +45015,10 @@ var init_httpAuthSchemeProvider4 = __esm({
45012
45015
  }
45013
45016
  });
45014
45017
 
45015
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/EndpointParameters.js
45018
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/EndpointParameters.js
45016
45019
  var resolveClientEndpointParameters4, commonParams4;
45017
45020
  var init_EndpointParameters4 = __esm({
45018
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/EndpointParameters.js"() {
45021
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/EndpointParameters.js"() {
45019
45022
  "use strict";
45020
45023
  resolveClientEndpointParameters4 = (options) => {
45021
45024
  return {
@@ -45036,10 +45039,10 @@ var init_EndpointParameters4 = __esm({
45036
45039
  }
45037
45040
  });
45038
45041
 
45039
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/package.json
45042
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/package.json
45040
45043
  var package_default4;
45041
45044
  var init_package4 = __esm({
45042
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/package.json"() {
45045
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/package.json"() {
45043
45046
  package_default4 = {
45044
45047
  name: "@aws-sdk/client-sts",
45045
45048
  description: "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
@@ -45145,10 +45148,10 @@ var init_package4 = __esm({
45145
45148
  }
45146
45149
  });
45147
45150
 
45148
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js
45151
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js
45149
45152
  var F, G, H, I, J, a3, b3, c3, d3, e3, f3, g3, h3, i3, j3, k3, l3, m3, n3, o3, p3, q3, r3, s3, t3, u3, v3, w3, x3, y, z, A, B, C, D, E, _data3, ruleSet3;
45150
45153
  var init_ruleset3 = __esm({
45151
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js"() {
45154
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js"() {
45152
45155
  "use strict";
45153
45156
  F = "required";
45154
45157
  G = "type";
@@ -45191,10 +45194,10 @@ var init_ruleset3 = __esm({
45191
45194
  }
45192
45195
  });
45193
45196
 
45194
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js
45197
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js
45195
45198
  var defaultEndpointResolver3;
45196
45199
  var init_endpointResolver3 = __esm({
45197
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js"() {
45200
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/endpoint/endpointResolver.js"() {
45198
45201
  "use strict";
45199
45202
  init_dist_es7();
45200
45203
  init_dist_es6();
@@ -45209,10 +45212,10 @@ var init_endpointResolver3 = __esm({
45209
45212
  }
45210
45213
  });
45211
45214
 
45212
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js
45215
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js
45213
45216
  var import_core19, getRuntimeConfig5;
45214
45217
  var init_runtimeConfig_shared3 = __esm({
45215
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js"() {
45218
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js"() {
45216
45219
  "use strict";
45217
45220
  import_core19 = __toESM(require_dist_cjs());
45218
45221
  init_dist_es34();
@@ -45253,10 +45256,10 @@ var init_runtimeConfig_shared3 = __esm({
45253
45256
  }
45254
45257
  });
45255
45258
 
45256
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js
45259
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js
45257
45260
  var import_core21, getRuntimeConfig6;
45258
45261
  var init_runtimeConfig3 = __esm({
45259
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js"() {
45262
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js"() {
45260
45263
  "use strict";
45261
45264
  init_package4();
45262
45265
  import_core21 = __toESM(require_dist_cjs());
@@ -45316,10 +45319,10 @@ var init_runtimeConfig3 = __esm({
45316
45319
  }
45317
45320
  });
45318
45321
 
45319
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthExtensionConfiguration.js
45322
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthExtensionConfiguration.js
45320
45323
  var getHttpAuthExtensionConfiguration3, resolveHttpAuthRuntimeConfig3;
45321
45324
  var init_httpAuthExtensionConfiguration3 = __esm({
45322
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthExtensionConfiguration.js"() {
45325
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/auth/httpAuthExtensionConfiguration.js"() {
45323
45326
  "use strict";
45324
45327
  getHttpAuthExtensionConfiguration3 = (runtimeConfig) => {
45325
45328
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
@@ -45361,10 +45364,10 @@ var init_httpAuthExtensionConfiguration3 = __esm({
45361
45364
  }
45362
45365
  });
45363
45366
 
45364
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js
45367
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js
45365
45368
  var asPartial3, resolveRuntimeExtensions3;
45366
45369
  var init_runtimeExtensions3 = __esm({
45367
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js"() {
45370
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js"() {
45368
45371
  "use strict";
45369
45372
  init_dist_es44();
45370
45373
  init_dist_es2();
@@ -45390,10 +45393,10 @@ var init_runtimeExtensions3 = __esm({
45390
45393
  }
45391
45394
  });
45392
45395
 
45393
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js
45396
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js
45394
45397
  var STSClient;
45395
45398
  var init_STSClient = __esm({
45396
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js"() {
45399
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js"() {
45397
45400
  "use strict";
45398
45401
  init_dist_es3();
45399
45402
  init_dist_es4();
@@ -45449,10 +45452,10 @@ var init_STSClient = __esm({
45449
45452
  }
45450
45453
  });
45451
45454
 
45452
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js
45455
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js
45453
45456
  var STSServiceException;
45454
45457
  var init_STSServiceException = __esm({
45455
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js"() {
45458
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/STSServiceException.js"() {
45456
45459
  "use strict";
45457
45460
  init_dist_es32();
45458
45461
  STSServiceException = class _STSServiceException extends ServiceException {
@@ -45464,10 +45467,10 @@ var init_STSServiceException = __esm({
45464
45467
  }
45465
45468
  });
45466
45469
 
45467
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js
45470
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js
45468
45471
  var ExpiredTokenException2, MalformedPolicyDocumentException, PackedPolicyTooLargeException, RegionDisabledException, IDPRejectedClaimException, InvalidIdentityTokenException, IDPCommunicationErrorException, InvalidAuthorizationMessageException, CredentialsFilterSensitiveLog, AssumeRoleResponseFilterSensitiveLog, AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog, AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog, GetFederationTokenResponseFilterSensitiveLog, GetSessionTokenResponseFilterSensitiveLog;
45469
45472
  var init_models_03 = __esm({
45470
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js"() {
45473
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js"() {
45471
45474
  "use strict";
45472
45475
  init_dist_es32();
45473
45476
  init_STSServiceException();
@@ -45602,10 +45605,10 @@ var init_models_03 = __esm({
45602
45605
  }
45603
45606
  });
45604
45607
 
45605
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js
45608
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js
45606
45609
  var import_core24, se_AssumeRoleCommand, se_AssumeRoleWithSAMLCommand, se_AssumeRoleWithWebIdentityCommand, se_DecodeAuthorizationMessageCommand, se_GetAccessKeyInfoCommand, se_GetCallerIdentityCommand, se_GetFederationTokenCommand, se_GetSessionTokenCommand, de_AssumeRoleCommand, de_AssumeRoleWithSAMLCommand, de_AssumeRoleWithWebIdentityCommand, de_DecodeAuthorizationMessageCommand, de_GetAccessKeyInfoCommand, de_GetCallerIdentityCommand, de_GetFederationTokenCommand, de_GetSessionTokenCommand, de_CommandError3, de_ExpiredTokenExceptionRes2, de_IDPCommunicationErrorExceptionRes, de_IDPRejectedClaimExceptionRes, de_InvalidAuthorizationMessageExceptionRes, de_InvalidIdentityTokenExceptionRes, de_MalformedPolicyDocumentExceptionRes, de_PackedPolicyTooLargeExceptionRes, de_RegionDisabledExceptionRes, se_AssumeRoleRequest, se_AssumeRoleWithSAMLRequest, se_AssumeRoleWithWebIdentityRequest, se_DecodeAuthorizationMessageRequest, se_GetAccessKeyInfoRequest, se_GetCallerIdentityRequest, se_GetFederationTokenRequest, se_GetSessionTokenRequest, se_policyDescriptorListType, se_PolicyDescriptorType, se_ProvidedContext, se_ProvidedContextsListType, se_Tag, se_tagKeyListType, se_tagListType, de_AssumedRoleUser, de_AssumeRoleResponse, de_AssumeRoleWithSAMLResponse, de_AssumeRoleWithWebIdentityResponse, de_Credentials, de_DecodeAuthorizationMessageResponse, de_ExpiredTokenException, de_FederatedUser, de_GetAccessKeyInfoResponse, de_GetCallerIdentityResponse, de_GetFederationTokenResponse, de_GetSessionTokenResponse, de_IDPCommunicationErrorException, de_IDPRejectedClaimException, de_InvalidAuthorizationMessageException, de_InvalidIdentityTokenException, de_MalformedPolicyDocumentException, de_PackedPolicyTooLargeException, de_RegionDisabledException, deserializeMetadata4, throwDefaultError4, buildHttpRpcRequest, SHARED_HEADERS, _, _A, _AKI, _AR, _ARI, _ARU, _ARWSAML, _ARWWI, _Ac, _Ar, _Au, _C, _CA, _DAM, _DM, _DS, _E, _EI, _EM, _FU, _FUI, _GAKI, _GCI, _GFT, _GST, _I, _K, _N, _NQ, _P, _PA, _PAr, _PAro, _PC, _PI, _PPS, _Pr, _RA, _RSN, _S, _SAK, _SAMLA, _SFWIT, _SI, _SN, _ST, _STe, _T, _TC, _TTK, _UI, _V, _Va, _WIT, _a164, _m, buildFormUrlencodedString, loadQueryErrorCode;
45607
45610
  var init_Aws_query = __esm({
45608
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js"() {
45611
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js"() {
45609
45612
  "use strict";
45610
45613
  import_core24 = __toESM(require_dist_cjs());
45611
45614
  init_dist_es2();
@@ -46403,14 +46406,14 @@ var init_Aws_query = __esm({
46403
46406
  cfId: output.headers["x-amz-cf-id"]
46404
46407
  });
46405
46408
  throwDefaultError4 = withBaseException(STSServiceException);
46406
- buildHttpRpcRequest = async (context, headers, path3, resolvedHostname, body) => {
46409
+ buildHttpRpcRequest = async (context, headers, path2, resolvedHostname, body) => {
46407
46410
  const { hostname, protocol: protocol2 = "https", port, path: basePath } = await context.endpoint();
46408
46411
  const contents = {
46409
46412
  protocol: protocol2,
46410
46413
  hostname,
46411
46414
  port,
46412
46415
  method: "POST",
46413
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path3 : basePath + path3,
46416
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path2 : basePath + path2,
46414
46417
  headers
46415
46418
  };
46416
46419
  if (resolvedHostname !== void 0) {
@@ -46492,10 +46495,10 @@ var init_Aws_query = __esm({
46492
46495
  }
46493
46496
  });
46494
46497
 
46495
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js
46498
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js
46496
46499
  var AssumeRoleCommand;
46497
46500
  var init_AssumeRoleCommand = __esm({
46498
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js"() {
46501
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js"() {
46499
46502
  "use strict";
46500
46503
  init_dist_es18();
46501
46504
  init_dist_es17();
@@ -46515,10 +46518,10 @@ var init_AssumeRoleCommand = __esm({
46515
46518
  }
46516
46519
  });
46517
46520
 
46518
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js
46521
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js
46519
46522
  var AssumeRoleWithSAMLCommand;
46520
46523
  var init_AssumeRoleWithSAMLCommand = __esm({
46521
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js"() {
46524
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js"() {
46522
46525
  "use strict";
46523
46526
  init_dist_es18();
46524
46527
  init_dist_es17();
@@ -46538,10 +46541,10 @@ var init_AssumeRoleWithSAMLCommand = __esm({
46538
46541
  }
46539
46542
  });
46540
46543
 
46541
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js
46544
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js
46542
46545
  var AssumeRoleWithWebIdentityCommand;
46543
46546
  var init_AssumeRoleWithWebIdentityCommand = __esm({
46544
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js"() {
46547
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js"() {
46545
46548
  "use strict";
46546
46549
  init_dist_es18();
46547
46550
  init_dist_es17();
@@ -46561,10 +46564,10 @@ var init_AssumeRoleWithWebIdentityCommand = __esm({
46561
46564
  }
46562
46565
  });
46563
46566
 
46564
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js
46567
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js
46565
46568
  var DecodeAuthorizationMessageCommand;
46566
46569
  var init_DecodeAuthorizationMessageCommand = __esm({
46567
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js"() {
46570
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js"() {
46568
46571
  "use strict";
46569
46572
  init_dist_es18();
46570
46573
  init_dist_es17();
@@ -46583,10 +46586,10 @@ var init_DecodeAuthorizationMessageCommand = __esm({
46583
46586
  }
46584
46587
  });
46585
46588
 
46586
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js
46589
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js
46587
46590
  var GetAccessKeyInfoCommand;
46588
46591
  var init_GetAccessKeyInfoCommand = __esm({
46589
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js"() {
46592
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js"() {
46590
46593
  "use strict";
46591
46594
  init_dist_es18();
46592
46595
  init_dist_es17();
@@ -46605,10 +46608,10 @@ var init_GetAccessKeyInfoCommand = __esm({
46605
46608
  }
46606
46609
  });
46607
46610
 
46608
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js
46611
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js
46609
46612
  var GetCallerIdentityCommand;
46610
46613
  var init_GetCallerIdentityCommand = __esm({
46611
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js"() {
46614
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js"() {
46612
46615
  "use strict";
46613
46616
  init_dist_es18();
46614
46617
  init_dist_es17();
@@ -46627,10 +46630,10 @@ var init_GetCallerIdentityCommand = __esm({
46627
46630
  }
46628
46631
  });
46629
46632
 
46630
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js
46633
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js
46631
46634
  var GetFederationTokenCommand;
46632
46635
  var init_GetFederationTokenCommand = __esm({
46633
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js"() {
46636
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js"() {
46634
46637
  "use strict";
46635
46638
  init_dist_es18();
46636
46639
  init_dist_es17();
@@ -46650,10 +46653,10 @@ var init_GetFederationTokenCommand = __esm({
46650
46653
  }
46651
46654
  });
46652
46655
 
46653
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js
46656
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js
46654
46657
  var GetSessionTokenCommand;
46655
46658
  var init_GetSessionTokenCommand = __esm({
46656
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js"() {
46659
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js"() {
46657
46660
  "use strict";
46658
46661
  init_dist_es18();
46659
46662
  init_dist_es17();
@@ -46673,10 +46676,10 @@ var init_GetSessionTokenCommand = __esm({
46673
46676
  }
46674
46677
  });
46675
46678
 
46676
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/STS.js
46679
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/STS.js
46677
46680
  var commands3, STS;
46678
46681
  var init_STS = __esm({
46679
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/STS.js"() {
46682
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/STS.js"() {
46680
46683
  "use strict";
46681
46684
  init_dist_es32();
46682
46685
  init_AssumeRoleCommand();
@@ -46704,9 +46707,9 @@ var init_STS = __esm({
46704
46707
  }
46705
46708
  });
46706
46709
 
46707
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js
46710
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js
46708
46711
  var init_commands3 = __esm({
46709
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js"() {
46712
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js"() {
46710
46713
  "use strict";
46711
46714
  init_AssumeRoleCommand();
46712
46715
  init_AssumeRoleWithSAMLCommand();
@@ -46719,18 +46722,18 @@ var init_commands3 = __esm({
46719
46722
  }
46720
46723
  });
46721
46724
 
46722
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/index.js
46725
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/index.js
46723
46726
  var init_models3 = __esm({
46724
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/index.js"() {
46727
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/models/index.js"() {
46725
46728
  "use strict";
46726
46729
  init_models_03();
46727
46730
  }
46728
46731
  });
46729
46732
 
46730
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js
46733
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js
46731
46734
  var ASSUME_ROLE_DEFAULT_REGION, resolveRegion, getDefaultRoleAssumer, getDefaultRoleAssumerWithWebIdentity;
46732
46735
  var init_defaultStsRoleAssumers = __esm({
46733
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js"() {
46736
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/defaultStsRoleAssumers.js"() {
46734
46737
  "use strict";
46735
46738
  init_AssumeRoleCommand();
46736
46739
  init_AssumeRoleWithWebIdentityCommand();
@@ -46797,10 +46800,10 @@ var init_defaultStsRoleAssumers = __esm({
46797
46800
  }
46798
46801
  });
46799
46802
 
46800
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/defaultRoleAssumers.js
46803
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/defaultRoleAssumers.js
46801
46804
  var getCustomizableStsClientCtor, getDefaultRoleAssumer2, getDefaultRoleAssumerWithWebIdentity2, decorateDefaultCredentialProvider;
46802
46805
  var init_defaultRoleAssumers = __esm({
46803
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/defaultRoleAssumers.js"() {
46806
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/defaultRoleAssumers.js"() {
46804
46807
  "use strict";
46805
46808
  init_defaultStsRoleAssumers();
46806
46809
  init_STSClient();
@@ -46827,7 +46830,7 @@ var init_defaultRoleAssumers = __esm({
46827
46830
  }
46828
46831
  });
46829
46832
 
46830
- // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/index.js
46833
+ // ../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/index.js
46831
46834
  var dist_es_exports10 = {};
46832
46835
  __export(dist_es_exports10, {
46833
46836
  $Command: () => Command,
@@ -46864,7 +46867,7 @@ __export(dist_es_exports10, {
46864
46867
  getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2
46865
46868
  });
46866
46869
  var init_dist_es49 = __esm({
46867
- "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/index.js"() {
46870
+ "../node_modules/.pnpm/@aws-sdk+client-sts@3.583.0_@aws-sdk+client-sso-oidc@3.583.0/node_modules/@aws-sdk/client-sts/dist-es/index.js"() {
46868
46871
  "use strict";
46869
46872
  init_STSClient();
46870
46873
  init_STS();
@@ -49046,7 +49049,9 @@ function drizzle2(client, config) {
49046
49049
  };
49047
49050
  }
49048
49051
  const session = new AwsDataApiSession(client, dialect7, schema4, { ...config, logger: logger2 }, void 0);
49049
- return new PgDatabase(dialect7, session, schema4);
49052
+ const db2 = new AwsDataApiPgDatabase(dialect7, session, schema4);
49053
+ db2.$client = client;
49054
+ return db2;
49050
49055
  }
49051
49056
  var _a168, _b121, AwsDataApiPgDatabase, _a169, _b122, AwsPgDialect;
49052
49057
  var init_driver2 = __esm({
@@ -49169,20 +49174,20 @@ var require_file_uri_to_path = __commonJS({
49169
49174
  var rest = decodeURI(uri.substring(7));
49170
49175
  var firstSlash = rest.indexOf("/");
49171
49176
  var host = rest.substring(0, firstSlash);
49172
- var path3 = rest.substring(firstSlash + 1);
49177
+ var path2 = rest.substring(firstSlash + 1);
49173
49178
  if ("localhost" == host) host = "";
49174
49179
  if (host) {
49175
49180
  host = sep3 + sep3 + host;
49176
49181
  }
49177
- path3 = path3.replace(/^(.+)\|/, "$1:");
49182
+ path2 = path2.replace(/^(.+)\|/, "$1:");
49178
49183
  if (sep3 == "\\") {
49179
- path3 = path3.replace(/\//g, "\\");
49184
+ path2 = path2.replace(/\//g, "\\");
49180
49185
  }
49181
- if (/^.+\:/.test(path3)) {
49186
+ if (/^.+\:/.test(path2)) {
49182
49187
  } else {
49183
- path3 = sep3 + path3;
49188
+ path2 = sep3 + path2;
49184
49189
  }
49185
- return host + path3;
49190
+ return host + path2;
49186
49191
  }
49187
49192
  }
49188
49193
  });
@@ -49192,18 +49197,18 @@ var require_bindings = __commonJS({
49192
49197
  "../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js"(exports2, module2) {
49193
49198
  "use strict";
49194
49199
  var fs5 = require("fs");
49195
- var path3 = require("path");
49200
+ var path2 = require("path");
49196
49201
  var fileURLToPath = require_file_uri_to_path();
49197
- var join4 = path3.join;
49198
- var dirname = path3.dirname;
49199
- var exists2 = fs5.accessSync && function(path4) {
49202
+ var join4 = path2.join;
49203
+ var dirname = path2.dirname;
49204
+ var exists2 = fs5.accessSync && function(path3) {
49200
49205
  try {
49201
- fs5.accessSync(path4);
49206
+ fs5.accessSync(path3);
49202
49207
  } catch (e5) {
49203
49208
  return false;
49204
49209
  }
49205
49210
  return true;
49206
- } || fs5.existsSync || path3.existsSync;
49211
+ } || fs5.existsSync || path2.existsSync;
49207
49212
  var defaults2 = {
49208
49213
  arrow: process.env.NODE_BINDINGS_ARROW || " \u2192 ",
49209
49214
  compiled: process.env.NODE_BINDINGS_COMPILED_DIR || "compiled",
@@ -49248,7 +49253,7 @@ var require_bindings = __commonJS({
49248
49253
  if (!opts.module_root) {
49249
49254
  opts.module_root = exports2.getRoot(exports2.getFileName());
49250
49255
  }
49251
- if (path3.extname(opts.bindings) != ".node") {
49256
+ if (path2.extname(opts.bindings) != ".node") {
49252
49257
  opts.bindings += ".node";
49253
49258
  }
49254
49259
  var requireFunc = typeof __webpack_require__ === "function" ? __non_webpack_require__ : require;
@@ -49484,7 +49489,7 @@ var require_backup = __commonJS({
49484
49489
  "../node_modules/.pnpm/better-sqlite3@8.7.0/node_modules/better-sqlite3/lib/methods/backup.js"(exports2, module2) {
49485
49490
  "use strict";
49486
49491
  var fs5 = require("fs");
49487
- var path3 = require("path");
49492
+ var path2 = require("path");
49488
49493
  var { promisify: promisify2 } = require("util");
49489
49494
  var { cppdb } = require_util3();
49490
49495
  var fsAccess = promisify2(fs5.access);
@@ -49500,7 +49505,7 @@ var require_backup = __commonJS({
49500
49505
  if (typeof attachedName !== "string") throw new TypeError('Expected the "attached" option to be a string');
49501
49506
  if (!attachedName) throw new TypeError('The "attached" option cannot be an empty string');
49502
49507
  if (handler != null && typeof handler !== "function") throw new TypeError('Expected the "progress" option to be a function');
49503
- await fsAccess(path3.dirname(filename)).catch(() => {
49508
+ await fsAccess(path2.dirname(filename)).catch(() => {
49504
49509
  throw new TypeError("Cannot save backup because the directory does not exist");
49505
49510
  });
49506
49511
  const isNewFile = await fsAccess(filename).then(() => false, () => true);
@@ -49806,7 +49811,7 @@ var require_database = __commonJS({
49806
49811
  "../node_modules/.pnpm/better-sqlite3@8.7.0/node_modules/better-sqlite3/lib/database.js"(exports2, module2) {
49807
49812
  "use strict";
49808
49813
  var fs5 = require("fs");
49809
- var path3 = require("path");
49814
+ var path2 = require("path");
49810
49815
  var util2 = require_util3();
49811
49816
  var SqliteError = require_sqlite_error();
49812
49817
  var DEFAULT_ADDON;
@@ -49842,7 +49847,7 @@ var require_database = __commonJS({
49842
49847
  addon = DEFAULT_ADDON || (DEFAULT_ADDON = require_bindings()("better_sqlite3.node"));
49843
49848
  } else if (typeof nativeBinding === "string") {
49844
49849
  const requireFunc = typeof __non_webpack_require__ === "function" ? __non_webpack_require__ : require;
49845
- addon = requireFunc(path3.resolve(nativeBinding).replace(/(\.node)?$/, ".node"));
49850
+ addon = requireFunc(path2.resolve(nativeBinding).replace(/(\.node)?$/, ".node"));
49846
49851
  } else {
49847
49852
  addon = nativeBinding;
49848
49853
  }
@@ -49850,7 +49855,7 @@ var require_database = __commonJS({
49850
49855
  addon.setErrorConstructor(SqliteError);
49851
49856
  addon.isInitialized = true;
49852
49857
  }
49853
- if (!anonymous && !fs5.existsSync(path3.dirname(filename))) {
49858
+ if (!anonymous && !fs5.existsSync(path2.dirname(filename))) {
49854
49859
  throw new TypeError("Cannot open database because the directory does not exist");
49855
49860
  }
49856
49861
  Object.defineProperties(this, {
@@ -52454,6 +52459,7 @@ var init_db2 = __esm({
52454
52459
  "use strict";
52455
52460
  init_entity();
52456
52461
  init_selection_proxy();
52462
+ init_sql();
52457
52463
  init_query_builders2();
52458
52464
  init_subquery();
52459
52465
  init_count2();
@@ -52685,56 +52691,56 @@ var init_db2 = __esm({
52685
52691
  return new SQLiteDeleteBase(from, this.session, this.dialect);
52686
52692
  }
52687
52693
  run(query) {
52688
- const sql3 = query.getSQL();
52694
+ const sequel = typeof query === "string" ? sql.raw(query) : query.getSQL();
52689
52695
  if (this.resultKind === "async") {
52690
52696
  return new SQLiteRaw(
52691
- async () => this.session.run(sql3),
52692
- () => sql3,
52697
+ async () => this.session.run(sequel),
52698
+ () => sequel,
52693
52699
  "run",
52694
52700
  this.dialect,
52695
52701
  this.session.extractRawRunValueFromBatchResult.bind(this.session)
52696
52702
  );
52697
52703
  }
52698
- return this.session.run(sql3);
52704
+ return this.session.run(sequel);
52699
52705
  }
52700
52706
  all(query) {
52701
- const sql3 = query.getSQL();
52707
+ const sequel = typeof query === "string" ? sql.raw(query) : query.getSQL();
52702
52708
  if (this.resultKind === "async") {
52703
52709
  return new SQLiteRaw(
52704
- async () => this.session.all(sql3),
52705
- () => sql3,
52710
+ async () => this.session.all(sequel),
52711
+ () => sequel,
52706
52712
  "all",
52707
52713
  this.dialect,
52708
52714
  this.session.extractRawAllValueFromBatchResult.bind(this.session)
52709
52715
  );
52710
52716
  }
52711
- return this.session.all(sql3);
52717
+ return this.session.all(sequel);
52712
52718
  }
52713
52719
  get(query) {
52714
- const sql3 = query.getSQL();
52720
+ const sequel = typeof query === "string" ? sql.raw(query) : query.getSQL();
52715
52721
  if (this.resultKind === "async") {
52716
52722
  return new SQLiteRaw(
52717
- async () => this.session.get(sql3),
52718
- () => sql3,
52723
+ async () => this.session.get(sequel),
52724
+ () => sequel,
52719
52725
  "get",
52720
52726
  this.dialect,
52721
52727
  this.session.extractRawGetValueFromBatchResult.bind(this.session)
52722
52728
  );
52723
52729
  }
52724
- return this.session.get(sql3);
52730
+ return this.session.get(sequel);
52725
52731
  }
52726
52732
  values(query) {
52727
- const sql3 = query.getSQL();
52733
+ const sequel = typeof query === "string" ? sql.raw(query) : query.getSQL();
52728
52734
  if (this.resultKind === "async") {
52729
52735
  return new SQLiteRaw(
52730
- async () => this.session.values(sql3),
52731
- () => sql3,
52736
+ async () => this.session.values(sequel),
52737
+ () => sequel,
52732
52738
  "values",
52733
52739
  this.dialect,
52734
52740
  this.session.extractRawValuesValueFromBatchResult.bind(this.session)
52735
52741
  );
52736
52742
  }
52737
- return this.session.values(sql3);
52743
+ return this.session.values(sequel);
52738
52744
  }
52739
52745
  transaction(transaction, config) {
52740
52746
  return this.session.transaction(transaction, config);
@@ -53328,7 +53334,9 @@ function drizzle3(client, config = {}) {
53328
53334
  };
53329
53335
  }
53330
53336
  const session = new BetterSQLiteSession(client, dialect7, schema4, { logger: logger2 });
53331
- return new BetterSQLite3Database("sync", dialect7, session, schema4);
53337
+ const db2 = new BetterSQLite3Database("sync", dialect7, session, schema4);
53338
+ db2.$client = client;
53339
+ return db2;
53332
53340
  }
53333
53341
  var _a239, _b170, BetterSQLite3Database;
53334
53342
  var init_driver3 = __esm({
@@ -53504,7 +53512,9 @@ function drizzle4(client, config = {}) {
53504
53512
  };
53505
53513
  }
53506
53514
  const session = new SQLiteBunSession(client, dialect7, schema4, { logger: logger2 });
53507
- return new BunSQLiteDatabase("sync", dialect7, session, schema4);
53515
+ const db2 = new BunSQLiteDatabase("sync", dialect7, session, schema4);
53516
+ db2.$client = client;
53517
+ return db2;
53508
53518
  }
53509
53519
  var _a243, _b174, BunSQLiteDatabase;
53510
53520
  var init_driver4 = __esm({
@@ -53744,7 +53754,9 @@ function drizzle5(client, config = {}) {
53744
53754
  };
53745
53755
  }
53746
53756
  const session = new SQLiteD1Session(client, dialect7, schema4, { logger: logger2 });
53747
- return new DrizzleD1Database("async", dialect7, session, schema4);
53757
+ const db2 = new DrizzleD1Database("async", dialect7, session, schema4);
53758
+ db2.$client = client;
53759
+ return db2;
53748
53760
  }
53749
53761
  var _a247, _b178, DrizzleD1Database;
53750
53762
  var init_driver5 = __esm({
@@ -53814,10 +53826,10 @@ function parseUri(text) {
53814
53826
  const groups = match2.groups;
53815
53827
  const scheme = groups["scheme"];
53816
53828
  const authority = groups["authority"] !== void 0 ? parseAuthority(groups["authority"]) : void 0;
53817
- const path3 = percentDecode(groups["path"]);
53829
+ const path2 = percentDecode(groups["path"]);
53818
53830
  const query = groups["query"] !== void 0 ? parseQuery(groups["query"]) : void 0;
53819
53831
  const fragment2 = groups["fragment"] !== void 0 ? percentDecode(groups["fragment"]) : void 0;
53820
- return { scheme, authority, path: path3, query, fragment: fragment2 };
53832
+ return { scheme, authority, path: path2, query, fragment: fragment2 };
53821
53833
  }
53822
53834
  function parseAuthority(text) {
53823
53835
  const match2 = AUTHORITY_RE.exec(text);
@@ -53867,7 +53879,7 @@ function percentDecode(text) {
53867
53879
  throw e5;
53868
53880
  }
53869
53881
  }
53870
- function encodeBaseUrl(scheme, authority, path3) {
53882
+ function encodeBaseUrl(scheme, authority, path2) {
53871
53883
  if (authority === void 0) {
53872
53884
  throw new LibsqlError(`URL with scheme ${JSON.stringify(scheme + ":")} requires authority (the "//" part)`, "URL_INVALID");
53873
53885
  }
@@ -53876,7 +53888,7 @@ function encodeBaseUrl(scheme, authority, path3) {
53876
53888
  const portText = encodePort(authority.port);
53877
53889
  const userinfoText = encodeUserinfo(authority.userinfo);
53878
53890
  const authorityText = `//${userinfoText}${hostText}${portText}`;
53879
- let pathText = path3.split("/").map(encodeURIComponent).join("/");
53891
+ let pathText = path2.split("/").map(encodeURIComponent).join("/");
53880
53892
  if (pathText !== "" && !pathText.startsWith("/")) {
53881
53893
  pathText = "/" + pathText;
53882
53894
  }
@@ -54182,7 +54194,7 @@ function expandConfig(config, preferHttp) {
54182
54194
  }
54183
54195
  }
54184
54196
  const connectionQueryParamsString = connectionQueryParams.length === 0 ? "" : `?${connectionQueryParams.join("&")}`;
54185
- const path3 = uri.path + connectionQueryParamsString;
54197
+ const path2 = uri.path + connectionQueryParamsString;
54186
54198
  let scheme;
54187
54199
  if (originalUriScheme === "libsql") {
54188
54200
  if (tls2 === false) {
@@ -54214,7 +54226,7 @@ function expandConfig(config, preferHttp) {
54214
54226
  return {
54215
54227
  scheme: "file",
54216
54228
  tls: false,
54217
- path: path3,
54229
+ path: path2,
54218
54230
  intMode,
54219
54231
  concurrency,
54220
54232
  syncUrl: config.syncUrl,
@@ -54229,7 +54241,7 @@ function expandConfig(config, preferHttp) {
54229
54241
  scheme,
54230
54242
  tls: tls2,
54231
54243
  authority: uri.authority,
54232
- path: path3,
54244
+ path: path2,
54233
54245
  authToken,
54234
54246
  intMode,
54235
54247
  concurrency,
@@ -54283,7 +54295,7 @@ var require_dist2 = __commonJS({
54283
54295
  };
54284
54296
  Object.defineProperty(exports2, "__esModule", { value: true });
54285
54297
  exports2.load = exports2.currentTarget = void 0;
54286
- var path3 = __importStar2(require("path"));
54298
+ var path2 = __importStar2(require("path"));
54287
54299
  var fs5 = __importStar2(require("fs"));
54288
54300
  function currentTarget() {
54289
54301
  let os3 = null;
@@ -54349,7 +54361,7 @@ var require_dist2 = __commonJS({
54349
54361
  return typeof header === "object" && !!header && "glibcVersionRuntime" in header;
54350
54362
  }
54351
54363
  function load(dirname) {
54352
- const m7 = path3.join(dirname, "index.node");
54364
+ const m7 = path2.join(dirname, "index.node");
54353
54365
  return fs5.existsSync(m7) ? require(m7) : null;
54354
54366
  }
54355
54367
  exports2.load = load;
@@ -54378,9 +54390,9 @@ var require_filesystem = __commonJS({
54378
54390
  "use strict";
54379
54391
  var fs5 = require("fs");
54380
54392
  var LDD_PATH = "/usr/bin/ldd";
54381
- var readFileSync2 = (path3) => fs5.readFileSync(path3, "utf-8");
54382
- var readFile3 = (path3) => new Promise((resolve, reject) => {
54383
- fs5.readFile(path3, "utf-8", (err, data) => {
54393
+ var readFileSync2 = (path2) => fs5.readFileSync(path2, "utf-8");
54394
+ var readFile3 = (path2) => new Promise((resolve, reject) => {
54395
+ fs5.readFile(path2, "utf-8", (err, data) => {
54384
54396
  if (err) {
54385
54397
  reject(err);
54386
54398
  } else {
@@ -54690,7 +54702,7 @@ var require_libsql = __commonJS({
54690
54702
  * @constructor
54691
54703
  * @param {string} path - Path to the database file.
54692
54704
  */
54693
- constructor(path3, opts) {
54705
+ constructor(path2, opts) {
54694
54706
  const encryptionCipher = opts?.encryptionCipher ?? "aes256cbc";
54695
54707
  if (opts && opts.syncUrl) {
54696
54708
  var authToken = "";
@@ -54703,13 +54715,13 @@ var require_libsql = __commonJS({
54703
54715
  const encryptionKey = opts?.encryptionKey ?? "";
54704
54716
  const syncPeriod = opts?.syncPeriod ?? 0;
54705
54717
  const readYourWrites = opts?.readYourWrites ?? true;
54706
- this.db = databaseOpenWithRpcSync(path3, opts.syncUrl, authToken, encryptionCipher, encryptionKey, syncPeriod, readYourWrites);
54718
+ this.db = databaseOpenWithRpcSync(path2, opts.syncUrl, authToken, encryptionCipher, encryptionKey, syncPeriod, readYourWrites);
54707
54719
  } else {
54708
54720
  const authToken2 = opts?.authToken ?? "";
54709
54721
  const encryptionKey = opts?.encryptionKey ?? "";
54710
- this.db = databaseOpen(path3, authToken2, encryptionCipher, encryptionKey);
54722
+ this.db = databaseOpen(path2, authToken2, encryptionCipher, encryptionKey);
54711
54723
  }
54712
- this.memory = path3 === ":memory:";
54724
+ this.memory = path2 === ":memory:";
54713
54725
  this.readonly = false;
54714
54726
  this.name = "";
54715
54727
  this.open = true;
@@ -54987,9 +54999,9 @@ function _createClient(config) {
54987
54999
  if (isInMemory && config.syncUrl) {
54988
55000
  throw new LibsqlError(`Embedded replica must use file for local db but URI with in-memory mode were provided instead: ${config.path}`, "URL_INVALID");
54989
55001
  }
54990
- let path3 = config.path;
55002
+ let path2 = config.path;
54991
55003
  if (isInMemory) {
54992
- path3 = `${config.scheme}:${config.path}`;
55004
+ path2 = `${config.scheme}:${config.path}`;
54993
55005
  }
54994
55006
  const options = {
54995
55007
  authToken: config.authToken,
@@ -54997,9 +55009,9 @@ function _createClient(config) {
54997
55009
  syncUrl: config.syncUrl,
54998
55010
  syncPeriod: config.syncInterval
54999
55011
  };
55000
- const db2 = new import_libsql.default(path3, options);
55012
+ const db2 = new import_libsql.default(path2, options);
55001
55013
  executeStmt(db2, "SELECT 1 AS checkThatTheDatabaseCanBeOpened", config.intMode);
55002
- return new Sqlite3Client(path3, options, db2, config.intMode);
55014
+ return new Sqlite3Client(path2, options, db2, config.intMode);
55003
55015
  }
55004
55016
  function executeStmt(db2, stmt, intMode) {
55005
55017
  let sql3;
@@ -55139,7 +55151,7 @@ var init_sqlite3 = __esm({
55139
55151
  init_api();
55140
55152
  Sqlite3Client = class {
55141
55153
  /** @private */
55142
- constructor(path3, options, db2, intMode) {
55154
+ constructor(path2, options, db2, intMode) {
55143
55155
  __privateAdd(this, _Sqlite3Client_instances);
55144
55156
  __privateAdd(this, _path);
55145
55157
  __privateAdd(this, _options);
@@ -55147,7 +55159,7 @@ var init_sqlite3 = __esm({
55147
55159
  __privateAdd(this, _intMode);
55148
55160
  __publicField(this, "closed");
55149
55161
  __publicField(this, "protocol");
55150
- __privateSet(this, _path, path3);
55162
+ __privateSet(this, _path, path2);
55151
55163
  __privateSet(this, _options, options);
55152
55164
  __privateSet(this, _db, db2);
55153
55165
  __privateSet(this, _intMode, intMode);
@@ -55447,7 +55459,7 @@ var require_node_gyp_build = __commonJS({
55447
55459
  "../node_modules/.pnpm/node-gyp-build@4.8.1/node_modules/node-gyp-build/node-gyp-build.js"(exports2, module2) {
55448
55460
  "use strict";
55449
55461
  var fs5 = require("fs");
55450
- var path3 = require("path");
55462
+ var path2 = require("path");
55451
55463
  var os3 = require("os");
55452
55464
  var runtimeRequire = typeof __webpack_require__ === "function" ? __non_webpack_require__ : require;
55453
55465
  var vars = process.config && process.config.variables || {};
@@ -55464,21 +55476,21 @@ var require_node_gyp_build = __commonJS({
55464
55476
  return runtimeRequire(load.resolve(dir));
55465
55477
  }
55466
55478
  load.resolve = load.path = function(dir) {
55467
- dir = path3.resolve(dir || ".");
55479
+ dir = path2.resolve(dir || ".");
55468
55480
  try {
55469
- var name2 = runtimeRequire(path3.join(dir, "package.json")).name.toUpperCase().replace(/-/g, "_");
55481
+ var name2 = runtimeRequire(path2.join(dir, "package.json")).name.toUpperCase().replace(/-/g, "_");
55470
55482
  if (process.env[name2 + "_PREBUILD"]) dir = process.env[name2 + "_PREBUILD"];
55471
55483
  } catch (err) {
55472
55484
  }
55473
55485
  if (!prebuildsOnly) {
55474
- var release2 = getFirst(path3.join(dir, "build/Release"), matchBuild);
55486
+ var release2 = getFirst(path2.join(dir, "build/Release"), matchBuild);
55475
55487
  if (release2) return release2;
55476
- var debug = getFirst(path3.join(dir, "build/Debug"), matchBuild);
55488
+ var debug = getFirst(path2.join(dir, "build/Debug"), matchBuild);
55477
55489
  if (debug) return debug;
55478
55490
  }
55479
55491
  var prebuild = resolve(dir);
55480
55492
  if (prebuild) return prebuild;
55481
- var nearby = resolve(path3.dirname(process.execPath));
55493
+ var nearby = resolve(path2.dirname(process.execPath));
55482
55494
  if (nearby) return nearby;
55483
55495
  var target = [
55484
55496
  "platform=" + platform2,
@@ -55495,14 +55507,14 @@ var require_node_gyp_build = __commonJS({
55495
55507
  ].filter(Boolean).join(" ");
55496
55508
  throw new Error("No native build was found for " + target + "\n loaded from: " + dir + "\n");
55497
55509
  function resolve(dir2) {
55498
- var tuples2 = readdirSync(path3.join(dir2, "prebuilds")).map(parseTuple);
55510
+ var tuples2 = readdirSync(path2.join(dir2, "prebuilds")).map(parseTuple);
55499
55511
  var tuple = tuples2.filter(matchTuple(platform2, arch)).sort(compareTuples)[0];
55500
55512
  if (!tuple) return;
55501
- var prebuilds = path3.join(dir2, "prebuilds", tuple.name);
55513
+ var prebuilds = path2.join(dir2, "prebuilds", tuple.name);
55502
55514
  var parsed = readdirSync(prebuilds).map(parseTags);
55503
55515
  var candidates = parsed.filter(matchTags(runtime, abi));
55504
55516
  var winner = candidates.sort(compareTags(runtime))[0];
55505
- if (winner) return path3.join(prebuilds, winner.file);
55517
+ if (winner) return path2.join(prebuilds, winner.file);
55506
55518
  }
55507
55519
  };
55508
55520
  function readdirSync(dir) {
@@ -55514,7 +55526,7 @@ var require_node_gyp_build = __commonJS({
55514
55526
  }
55515
55527
  function getFirst(dir, filter2) {
55516
55528
  var files = readdirSync(dir).filter(filter2);
55517
- return files[0] && path3.join(dir, files[0]);
55529
+ return files[0] && path2.join(dir, files[0]);
55518
55530
  }
55519
55531
  function matchBuild(name2) {
55520
55532
  return /\.node$/.test(name2);
@@ -64176,7 +64188,9 @@ function drizzle6(client, config = {}) {
64176
64188
  };
64177
64189
  }
64178
64190
  const session = new LibSQLSession(client, dialect7, schema4, { logger: logger2 }, void 0);
64179
- return new LibSQLDatabase("async", dialect7, session, schema4);
64191
+ const db2 = new LibSQLDatabase("async", dialect7, session, schema4);
64192
+ db2.$client = client;
64193
+ return db2;
64180
64194
  }
64181
64195
  var _a251, _b182, LibSQLDatabase;
64182
64196
  var init_driver6 = __esm({
@@ -78789,12 +78803,12 @@ var require_query4 = __commonJS({
78789
78803
  this._fields.push([]);
78790
78804
  return this.readField;
78791
78805
  }
78792
- _streamLocalInfile(connection2, path3) {
78806
+ _streamLocalInfile(connection2, path2) {
78793
78807
  if (this._streamFactory) {
78794
- this._localStream = this._streamFactory(path3);
78808
+ this._localStream = this._streamFactory(path2);
78795
78809
  } else {
78796
78810
  this._localStreamError = new Error(
78797
- `As a result of LOCAL INFILE command server wants to read ${path3} file, but as of v2.0 you must provide streamFactory option returning ReadStream.`
78811
+ `As a result of LOCAL INFILE command server wants to read ${path2} file, but as of v2.0 you must provide streamFactory option returning ReadStream.`
78798
78812
  );
78799
78813
  connection2.writePacket(EmptyPacket);
78800
78814
  return this.infileOk;
@@ -85650,6 +85664,7 @@ var init_db3 = __esm({
85650
85664
  "use strict";
85651
85665
  init_entity();
85652
85666
  init_selection_proxy();
85667
+ init_sql();
85653
85668
  init_subquery();
85654
85669
  init_count3();
85655
85670
  init_query_builders3();
@@ -85860,7 +85875,7 @@ var init_db3 = __esm({
85860
85875
  return new MySqlDeleteBase(table4, this.session, this.dialect);
85861
85876
  }
85862
85877
  execute(query) {
85863
- return this.session.execute(query.getSQL());
85878
+ return this.session.execute(typeof query === "string" ? sql.raw(query) : query.getSQL());
85864
85879
  }
85865
85880
  transaction(transaction, config) {
85866
85881
  return this.session.transaction(transaction, config);
@@ -86186,9 +86201,7 @@ function drizzle7(client, config = {}) {
86186
86201
  } else if (config.logger !== false) {
86187
86202
  logger2 = config.logger;
86188
86203
  }
86189
- if (isCallbackClient(client)) {
86190
- client = client.promise();
86191
- }
86204
+ const clientForInstance = isCallbackClient(client) ? client.promise() : client;
86192
86205
  let schema4;
86193
86206
  if (config.schema) {
86194
86207
  if (config.mode === void 0) {
@@ -86207,9 +86220,11 @@ function drizzle7(client, config = {}) {
86207
86220
  };
86208
86221
  }
86209
86222
  const mode = config.mode ?? "default";
86210
- const driver2 = new MySql2Driver(client, dialect7, { logger: logger2 });
86223
+ const driver2 = new MySql2Driver(clientForInstance, dialect7, { logger: logger2 });
86211
86224
  const session = driver2.createSession(schema4, mode);
86212
- return new MySql2Database(dialect7, session, schema4, mode);
86225
+ const db2 = new MySql2Database(dialect7, session, schema4, mode);
86226
+ db2.$client = client;
86227
+ return db2;
86213
86228
  }
86214
86229
  function isCallbackClient(client) {
86215
86230
  return typeof client.promise === "function";
@@ -91778,11 +91793,13 @@ function drizzle8(client, config = {}) {
91778
91793
  }
91779
91794
  const driver2 = new NeonHttpDriver(client, dialect7, { logger: logger2 });
91780
91795
  const session = driver2.createSession(schema4);
91781
- return new NeonHttpDatabase(
91796
+ const db2 = new NeonHttpDatabase(
91782
91797
  dialect7,
91783
91798
  session,
91784
91799
  schema4
91785
91800
  );
91801
+ db2.$client = client;
91802
+ return db2;
91786
91803
  }
91787
91804
  var _a288, NeonHttpDriver, _a289, _b204, NeonHttpDatabase;
91788
91805
  var init_driver8 = __esm({
@@ -91996,7 +92013,9 @@ function drizzle9(client, config = {}) {
91996
92013
  }
91997
92014
  const driver2 = new NeonDriver(client, dialect7, { logger: logger2 });
91998
92015
  const session = driver2.createSession(schema4);
91999
- return new NeonDatabase(dialect7, session, schema4);
92016
+ const db2 = new NeonDatabase(dialect7, session, schema4);
92017
+ db2.$client = client;
92018
+ return db2;
92000
92019
  }
92001
92020
  var _a293, NeonDriver, _a294, _b208, NeonDatabase;
92002
92021
  var init_driver9 = __esm({
@@ -92626,7 +92645,9 @@ Please make the necessary changes now to prevent any runtime errors in the futur
92626
92645
  };
92627
92646
  }
92628
92647
  const session = new PlanetscaleSession(client, dialect7, void 0, schema4, { logger: logger2 });
92629
- return new PlanetScaleDatabase(dialect7, session, schema4, "planetscale");
92648
+ const db2 = new PlanetScaleDatabase(dialect7, session, schema4, "planetscale");
92649
+ db2.$client = client;
92650
+ return db2;
92630
92651
  }
92631
92652
  var _a298, _b212, PlanetScaleDatabase;
92632
92653
  var init_driver10 = __esm({
@@ -94208,13 +94229,13 @@ function Subscribe(postgres2, options) {
94208
94229
  }
94209
94230
  }
94210
94231
  function handle(a7, b8) {
94211
- const path3 = b8.relation.schema + "." + b8.relation.table;
94232
+ const path2 = b8.relation.schema + "." + b8.relation.table;
94212
94233
  call("*", a7, b8);
94213
- call("*:" + path3, a7, b8);
94214
- b8.relation.keys.length && call("*:" + path3 + "=" + b8.relation.keys.map((x6) => a7[x6.name]), a7, b8);
94234
+ call("*:" + path2, a7, b8);
94235
+ b8.relation.keys.length && call("*:" + path2 + "=" + b8.relation.keys.map((x6) => a7[x6.name]), a7, b8);
94215
94236
  call(b8.command, a7, b8);
94216
- call(b8.command + ":" + path3, a7, b8);
94217
- b8.relation.keys.length && call(b8.command + ":" + path3 + "=" + b8.relation.keys.map((x6) => a7[x6.name]), a7, b8);
94237
+ call(b8.command + ":" + path2, a7, b8);
94238
+ b8.relation.keys.length && call(b8.command + ":" + path2 + "=" + b8.relation.keys.map((x6) => a7[x6.name]), a7, b8);
94218
94239
  }
94219
94240
  function pong() {
94220
94241
  const x6 = Buffer.alloc(34);
@@ -94327,8 +94348,8 @@ function parseEvent(x5) {
94327
94348
  const xs2 = x5.match(/^(\*|insert|update|delete)?:?([^.]+?\.?[^=]+)?=?(.+)?/i) || [];
94328
94349
  if (!xs2)
94329
94350
  throw new Error("Malformed subscribe pattern: " + x5);
94330
- const [, command, path3, key] = xs2;
94331
- return (command || "*") + (path3 ? ":" + (path3.indexOf(".") === -1 ? "public." + path3 : path3) : "") + (key ? "=" + key : "");
94351
+ const [, command, path2, key] = xs2;
94352
+ return (command || "*") + (path2 ? ":" + (path2.indexOf(".") === -1 ? "public." + path2 : path2) : "") + (key ? "=" + key : "");
94332
94353
  }
94333
94354
  var noop2;
94334
94355
  var init_subscribe = __esm({
@@ -94471,10 +94492,10 @@ function Postgres(a7, b8) {
94471
94492
  });
94472
94493
  return query;
94473
94494
  }
94474
- function file(path3, args = [], options2 = {}) {
94495
+ function file(path2, args = [], options2 = {}) {
94475
94496
  arguments.length === 2 && !Array.isArray(args) && (options2 = args, args = []);
94476
94497
  const query = new Query([], args, (query2) => {
94477
- import_fs6.default.readFile(path3, "utf8", (err, string2) => {
94498
+ import_fs6.default.readFile(path2, "utf8", (err, string2) => {
94478
94499
  if (err)
94479
94500
  return query2.reject(err);
94480
94501
  query2.strings = [string2];
@@ -95000,7 +95021,9 @@ function drizzle11(client, config = {}) {
95000
95021
  };
95001
95022
  }
95002
95023
  const session = new PostgresJsSession(client, dialect7, schema4, { logger: logger2 });
95003
- return new PostgresJsDatabase(dialect7, session, schema4);
95024
+ const db2 = new PostgresJsDatabase(dialect7, session, schema4);
95025
+ db2.$client = client;
95026
+ return db2;
95004
95027
  }
95005
95028
  var _a302, _b216, PostgresJsDatabase;
95006
95029
  var init_driver11 = __esm({
@@ -95570,7 +95593,9 @@ function drizzle12(client, config = {}) {
95570
95593
  };
95571
95594
  }
95572
95595
  const session = new TiDBServerlessSession(client, dialect7, void 0, schema4, { logger: logger2 });
95573
- return new TiDBServerlessDatabase(dialect7, session, schema4, "default");
95596
+ const db2 = new TiDBServerlessDatabase(dialect7, session, schema4, "default");
95597
+ db2.$client = client;
95598
+ return db2;
95574
95599
  }
95575
95600
  var _a306, _b220, TiDBServerlessDatabase;
95576
95601
  var init_driver12 = __esm({
@@ -104762,7 +104787,9 @@ function drizzle13(client, config = {}) {
104762
104787
  }
104763
104788
  const driver2 = new VercelPgDriver(client, dialect7, { logger: logger2 });
104764
104789
  const session = driver2.createSession(schema4);
104765
- return new VercelPgDatabase(dialect7, session, schema4);
104790
+ const db2 = new VercelPgDatabase(dialect7, session, schema4);
104791
+ db2.$client = client;
104792
+ return db2;
104766
104793
  }
104767
104794
  var _a310, VercelPgDriver, _a311, _b224, VercelPgDatabase;
104768
104795
  var init_driver13 = __esm({
@@ -104822,132 +104849,219 @@ var init_vercel_postgres = __esm({
104822
104849
  function assertUnreachable2(_3) {
104823
104850
  throw new Error("Didn't expect to get here");
104824
104851
  }
104825
- async function drizzle14(client, params) {
104826
- const { connection: connection2, ws: ws3, ...drizzleConfig } = params;
104852
+ async function drizzle14(client, ...params) {
104827
104853
  switch (client) {
104828
104854
  case "node-postgres": {
104829
- const { Pool: Pool2 } = await Promise.resolve().then(() => __toESM(require_lib3(), 1)).catch(() => importError("pg"));
104855
+ const defpg = await Promise.resolve().then(() => __toESM(require_lib3(), 1)).catch(() => importError("pg"));
104830
104856
  const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_node_postgres(), node_postgres_exports));
104831
- const instance = new Pool2(connection2);
104832
- const db2 = drizzle22(instance, drizzleConfig);
104833
- db2.$client = instance;
104857
+ if (typeof params[0] === "object") {
104858
+ const { connection: connection2, ...drizzleConfig } = params[0];
104859
+ const instance2 = typeof connection2 === "string" ? new defpg.default.Pool({
104860
+ connectionString: connection2
104861
+ }) : new defpg.default.Pool(connection2);
104862
+ const db22 = drizzle22(instance2, drizzleConfig);
104863
+ return db22;
104864
+ }
104865
+ const instance = typeof params[0] === "string" ? new defpg.default.Pool({
104866
+ connectionString: params[0]
104867
+ }) : new defpg.default.Pool(params[0]);
104868
+ const db2 = drizzle22(instance);
104834
104869
  return db2;
104835
104870
  }
104836
104871
  case "aws-data-api-pg": {
104872
+ const { connection: connection2, ...drizzleConfig } = params[0];
104873
+ const { resourceArn, database, secretArn, ...rdsConfig } = connection2;
104837
104874
  const { RDSDataClient: RDSDataClient2 } = await Promise.resolve().then(() => (init_dist_es54(), dist_es_exports14)).catch(
104838
104875
  () => importError("@aws-sdk/client-rds-data")
104839
104876
  );
104840
104877
  const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_pg(), pg_exports));
104841
- const instance = new RDSDataClient2(connection2);
104842
- const db2 = drizzle22(instance, drizzleConfig);
104843
- db2.$client = instance;
104878
+ const instance = new RDSDataClient2(rdsConfig);
104879
+ const db2 = drizzle22(instance, { resourceArn, database, secretArn, ...drizzleConfig });
104844
104880
  return db2;
104845
104881
  }
104846
104882
  case "better-sqlite3": {
104847
104883
  const { default: Client4 } = await Promise.resolve().then(() => __toESM(require_lib4(), 1)).catch(() => importError("better-sqlite3"));
104848
104884
  const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_better_sqlite3(), better_sqlite3_exports));
104849
- if (typeof connection2 === "object") {
104850
- const { filename, options } = connection2;
104851
- const instance2 = new Client4(filename, options);
104885
+ if (typeof params[0] === "object") {
104886
+ const { connection: connection2, ...drizzleConfig } = params[0];
104887
+ if (typeof connection2 === "object") {
104888
+ const { source, ...options } = connection2;
104889
+ const instance3 = new Client4(source, options);
104890
+ const db3 = drizzle22(instance3, drizzleConfig);
104891
+ return db3;
104892
+ }
104893
+ const instance2 = new Client4(connection2);
104852
104894
  const db22 = drizzle22(instance2, drizzleConfig);
104853
- db22.$client = instance2;
104854
104895
  return db22;
104855
104896
  }
104856
- const instance = new Client4(connection2);
104857
- const db2 = drizzle22(instance, drizzleConfig);
104858
- db2.$client = instance;
104897
+ const instance = new Client4(params[0]);
104898
+ const db2 = drizzle22(instance);
104859
104899
  return db2;
104860
104900
  }
104861
104901
  case "bun:sqlite": {
104862
- const { Database: Client4 } = require("bun:sqlite").catch(() => importError("bun:sqlite"));
104902
+ const { Database: Client4 } = require("bun:sqlite").catch(() => {
104903
+ throw new Error(`Please use bun to use 'bun:sqlite' for Drizzle ORM to connect to database`);
104904
+ });
104863
104905
  const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_bun_sqlite(), bun_sqlite_exports));
104864
- if (typeof connection2 === "object") {
104865
- const { filename, options } = connection2;
104866
- const instance2 = new Client4(filename, options);
104906
+ if (typeof params[0] === "object") {
104907
+ const { connection: connection2, ...drizzleConfig } = params[0];
104908
+ if (typeof connection2 === "object") {
104909
+ const { source, ...opts } = connection2;
104910
+ const options = Object.values(opts).filter((v8) => v8 !== void 0).length ? opts : void 0;
104911
+ const instance3 = new Client4(source, options);
104912
+ const db3 = drizzle22(instance3, drizzleConfig);
104913
+ return db3;
104914
+ }
104915
+ const instance2 = new Client4(connection2);
104867
104916
  const db22 = drizzle22(instance2, drizzleConfig);
104868
- db22.$client = instance2;
104869
104917
  return db22;
104870
104918
  }
104871
- const instance = new Client4(connection2);
104872
- const db2 = drizzle22(instance, drizzleConfig);
104873
- db2.$client = instance;
104919
+ const instance = new Client4(params[0]);
104920
+ const db2 = drizzle22(instance);
104874
104921
  return db2;
104875
104922
  }
104876
104923
  case "d1": {
104924
+ const { connection: connection2, ...drizzleConfig } = params[0];
104877
104925
  const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_d1(), d1_exports));
104878
104926
  const db2 = drizzle22(connection2, drizzleConfig);
104879
- db2.$client = connection2;
104880
104927
  return db2;
104881
104928
  }
104882
- case "libsql": {
104929
+ case "libsql":
104930
+ case "turso": {
104883
104931
  const { createClient: createClient3 } = await Promise.resolve().then(() => (init_node3(), node_exports)).catch(() => importError("@libsql/client"));
104884
104932
  const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_libsql(), libsql_exports));
104885
- const instance = createClient3(connection2);
104933
+ if (typeof params[0] === "string") {
104934
+ const instance2 = createClient3({
104935
+ url: params[0]
104936
+ });
104937
+ const db22 = drizzle22(instance2);
104938
+ return db22;
104939
+ }
104940
+ const { connection: connection2, ...drizzleConfig } = params[0];
104941
+ const instance = typeof connection2 === "string" ? createClient3({ url: connection2 }) : createClient3(connection2);
104886
104942
  const db2 = drizzle22(instance, drizzleConfig);
104887
- db2.$client = instance;
104888
104943
  return db2;
104889
104944
  }
104890
104945
  case "mysql2": {
104891
- const { createPool: createPool2 } = await Promise.resolve().then(() => __toESM(require_promise(), 1)).catch(() => importError("mysql2/promise"));
104892
- const instance = createPool2(connection2);
104946
+ const { createPool: createPool2 } = await Promise.resolve().then(() => __toESM(require_promise(), 1)).catch(() => importError("mysql2"));
104893
104947
  const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_mysql2(), mysql2_exports));
104894
- const db2 = drizzle22(instance, drizzleConfig);
104895
- db2.$client = instance;
104948
+ if (typeof params[0] === "object") {
104949
+ const { connection: connection2, ...drizzleConfig } = params[0];
104950
+ const instance2 = createPool2(connection2);
104951
+ const db22 = drizzle22(instance2, drizzleConfig);
104952
+ return db22;
104953
+ }
104954
+ const connectionString = params[0];
104955
+ const instance = createPool2(connectionString);
104956
+ const db2 = drizzle22(instance);
104896
104957
  return db2;
104897
104958
  }
104898
104959
  case "neon-http": {
104899
104960
  const { neon } = await Promise.resolve().then(() => (init_serverless(), serverless_exports)).catch(() => importError("@neondatabase/serverless"));
104900
- const { connectionString, options } = connection2;
104901
104961
  const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_neon_http(), neon_http_exports));
104902
- const instance = neon(connectionString, options);
104903
- const db2 = drizzle22(instance, drizzleConfig);
104904
- db2.$client = instance;
104962
+ if (typeof params[0] === "object") {
104963
+ const { connection: connection2, ...drizzleConfig } = params[0];
104964
+ if (typeof connection2 === "object") {
104965
+ const { connectionString, ...options } = connection2;
104966
+ const instance3 = neon(connectionString, options);
104967
+ const db3 = drizzle22(instance3, drizzleConfig);
104968
+ return db3;
104969
+ }
104970
+ const instance2 = neon(connection2);
104971
+ const db22 = drizzle22(instance2, drizzleConfig);
104972
+ return db22;
104973
+ }
104974
+ const instance = neon(params[0]);
104975
+ const db2 = drizzle22(instance);
104905
104976
  return db2;
104906
104977
  }
104907
- case "neon-serverless": {
104978
+ case "neon-websocket": {
104908
104979
  const { Pool: Pool2, neonConfig } = await Promise.resolve().then(() => (init_serverless(), serverless_exports)).catch(
104909
104980
  () => importError("@neondatabase/serverless")
104910
104981
  );
104911
104982
  const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_neon_serverless(), neon_serverless_exports));
104912
- const instance = new Pool2(connection2);
104913
- if (ws3) {
104914
- neonConfig.webSocketConstructor = ws3;
104983
+ if (typeof params[0] === "string") {
104984
+ const instance2 = new Pool2({
104985
+ connectionString: params[0]
104986
+ });
104987
+ const db22 = drizzle22(instance2);
104988
+ return db22;
104915
104989
  }
104916
- const db2 = drizzle22(instance, drizzleConfig);
104917
- db2.$client = instance;
104990
+ if (typeof params[0] === "object") {
104991
+ const { connection: connection2, ws: ws3, ...drizzleConfig } = params[0];
104992
+ if (ws3) {
104993
+ neonConfig.webSocketConstructor = ws3;
104994
+ }
104995
+ const instance2 = typeof connection2 === "string" ? new Pool2({
104996
+ connectionString: connection2
104997
+ }) : new Pool2(connection2);
104998
+ const db22 = drizzle22(instance2, drizzleConfig);
104999
+ return db22;
105000
+ }
105001
+ const instance = new Pool2();
105002
+ const db2 = drizzle22(instance);
104918
105003
  return db2;
104919
105004
  }
104920
105005
  case "planetscale": {
104921
105006
  const { Client: Client4 } = await Promise.resolve().then(() => (init_dist(), dist_exports)).catch(() => importError("@planetscale/database"));
104922
105007
  const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_planetscale_serverless(), planetscale_serverless_exports));
104923
- const instance = new Client4(
104924
- connection2
104925
- );
104926
- const db2 = drizzle22(instance, drizzleConfig);
104927
- db2.$client = instance;
105008
+ if (typeof params[0] === "object") {
105009
+ const { connection: connection2, ...drizzleConfig } = params[0];
105010
+ const instance2 = typeof connection2 === "string" ? new Client4({
105011
+ url: connection2
105012
+ }) : new Client4(
105013
+ connection2
105014
+ );
105015
+ const db22 = drizzle22(instance2, drizzleConfig);
105016
+ return db22;
105017
+ }
105018
+ const instance = new Client4({
105019
+ url: params[0]
105020
+ });
105021
+ const db2 = drizzle22(instance);
104928
105022
  return db2;
104929
105023
  }
104930
105024
  case "postgres-js": {
104931
105025
  const { default: client2 } = await Promise.resolve().then(() => (init_src(), src_exports)).catch(() => importError("postgres"));
104932
105026
  const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_postgres_js(), postgres_js_exports));
104933
- const instance = client2(connection2);
104934
- const db2 = drizzle22(instance, drizzleConfig);
104935
- db2.$client = instance;
105027
+ if (typeof params[0] === "object") {
105028
+ const { connection: connection2, ...drizzleConfig } = params[0];
105029
+ if (typeof connection2 === "object" && connection2.url !== void 0) {
105030
+ const { url, ...config } = connection2;
105031
+ const instance3 = client2(url, config);
105032
+ const db3 = drizzle22(instance3, drizzleConfig);
105033
+ return db3;
105034
+ }
105035
+ const instance2 = client2(connection2);
105036
+ const db22 = drizzle22(instance2, drizzleConfig);
105037
+ return db22;
105038
+ }
105039
+ const instance = client2(params[0]);
105040
+ const db2 = drizzle22(instance);
104936
105041
  return db2;
104937
105042
  }
104938
105043
  case "tidb-serverless": {
104939
105044
  const { connect: connect3 } = await Promise.resolve().then(() => (init_dist2(), dist_exports2)).catch(() => importError("@tidbcloud/serverless"));
104940
105045
  const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_tidb_serverless(), tidb_serverless_exports));
104941
- const instance = connect3(connection2);
105046
+ if (typeof params[0] === "string") {
105047
+ const instance2 = connect3({
105048
+ url: params[0]
105049
+ });
105050
+ const db22 = drizzle22(instance2);
105051
+ return db22;
105052
+ }
105053
+ const { connection: connection2, ...drizzleConfig } = params[0];
105054
+ const instance = typeof connection2 === "string" ? connect3({
105055
+ url: connection2
105056
+ }) : connect3(connection2);
104942
105057
  const db2 = drizzle22(instance, drizzleConfig);
104943
- db2.$client = instance;
104944
105058
  return db2;
104945
105059
  }
104946
105060
  case "vercel-postgres": {
105061
+ const drizzleConfig = params[0];
104947
105062
  const { sql: sql3 } = await Promise.resolve().then(() => (init_index_node(), index_node_exports)).catch(() => importError("@vercel/postgres"));
104948
105063
  const { drizzle: drizzle22 } = await Promise.resolve().then(() => (init_vercel_postgres(), vercel_postgres_exports));
104949
105064
  const db2 = drizzle22(sql3, drizzleConfig);
104950
- db2.$client = sql3;
104951
105065
  return db2;
104952
105066
  }
104953
105067
  }
@@ -104967,17 +105081,7 @@ var init_monodriver = __esm({
104967
105081
 
104968
105082
  // ../drizzle-orm/dist/migrator.js
104969
105083
  function readMigrationFiles(config) {
104970
- let migrationFolderTo;
104971
- if (typeof config === "string") {
104972
- const configAsString = import_node_fs.default.readFileSync(import_node_path.default.resolve(".", config), "utf8");
104973
- const jsonConfig = JSON.parse(configAsString);
104974
- migrationFolderTo = jsonConfig.out;
104975
- } else {
104976
- migrationFolderTo = config.migrationsFolder;
104977
- }
104978
- if (!migrationFolderTo) {
104979
- throw new Error("no migration folder defined");
104980
- }
105084
+ const migrationFolderTo = config.migrationsFolder;
104981
105085
  const migrationQueries = [];
104982
105086
  const journalPath = `${migrationFolderTo}/meta/_journal.json`;
104983
105087
  if (!import_node_fs.default.existsSync(journalPath)) {
@@ -105004,13 +105108,12 @@ function readMigrationFiles(config) {
105004
105108
  }
105005
105109
  return migrationQueries;
105006
105110
  }
105007
- var import_node_crypto, import_node_fs, import_node_path;
105111
+ var import_node_crypto, import_node_fs;
105008
105112
  var init_migrator = __esm({
105009
105113
  "../drizzle-orm/dist/migrator.js"() {
105010
105114
  "use strict";
105011
105115
  import_node_crypto = __toESM(require("crypto"), 1);
105012
105116
  import_node_fs = __toESM(require("fs"), 1);
105013
- import_node_path = __toESM(require("path"), 1);
105014
105117
  }
105015
105118
  });
105016
105119
 
@@ -105069,7 +105172,7 @@ __export(migrator_exports4, {
105069
105172
  });
105070
105173
  async function migrate4(db2, config) {
105071
105174
  const migrations = readMigrationFiles(config);
105072
- const migrationsTable = config === void 0 ? "__drizzle_migrations" : typeof config === "string" ? "__drizzle_migrations" : config.migrationsTable ?? "__drizzle_migrations";
105175
+ const migrationsTable = config.migrationsTable ?? "__drizzle_migrations";
105073
105176
  const migrationTableCreate = sql`
105074
105177
  CREATE TABLE IF NOT EXISTS ${sql.identifier(migrationsTable)} (
105075
105178
  id SERIAL PRIMARY KEY,
@@ -105114,7 +105217,7 @@ __export(migrator_exports5, {
105114
105217
  });
105115
105218
  async function migrate5(db2, config) {
105116
105219
  const migrations = readMigrationFiles(config);
105117
- const migrationsTable = config === void 0 ? "__drizzle_migrations" : typeof config === "string" ? "__drizzle_migrations" : config.migrationsTable ?? "__drizzle_migrations";
105220
+ const migrationsTable = config.migrationsTable ?? "__drizzle_migrations";
105118
105221
  const migrationTableCreate = sql`
105119
105222
  CREATE TABLE IF NOT EXISTS ${sql.identifier(migrationsTable)} (
105120
105223
  id SERIAL PRIMARY KEY,
@@ -105157,10 +105260,7 @@ __export(migrator_exports6, {
105157
105260
  });
105158
105261
  async function migrate6(db2, config) {
105159
105262
  const migrations = readMigrationFiles(config);
105160
- const preparedConfig = typeof config === "string" ? {
105161
- migrationsFolder: config
105162
- } : config;
105163
- await db2.dialect.migrate(migrations, db2.session, preparedConfig);
105263
+ await db2.dialect.migrate(migrations, db2.session, config);
105164
105264
  }
105165
105265
  var init_migrator7 = __esm({
105166
105266
  "../drizzle-orm/dist/mysql2/migrator.js"() {
@@ -105176,8 +105276,8 @@ __export(migrator_exports7, {
105176
105276
  });
105177
105277
  async function migrate7(db2, config) {
105178
105278
  const migrations = readMigrationFiles(config);
105179
- const migrationsTable = typeof config === "string" ? "__drizzle_migrations" : config.migrationsTable ?? "__drizzle_migrations";
105180
- const migrationsSchema = typeof config === "string" ? "drizzle" : config.migrationsSchema ?? "drizzle";
105279
+ const migrationsTable = config.migrationsTable ?? "__drizzle_migrations";
105280
+ const migrationsSchema = config.migrationsSchema ?? "drizzle";
105181
105281
  const migrationTableCreate = sql`
105182
105282
  CREATE TABLE IF NOT EXISTS ${sql.identifier(migrationsSchema)}.${sql.identifier(migrationsTable)} (
105183
105283
  id SERIAL PRIMARY KEY,
@@ -105253,10 +105353,7 @@ __export(migrator_exports10, {
105253
105353
  });
105254
105354
  async function migrate10(db2, config) {
105255
105355
  const migrations = readMigrationFiles(config);
105256
- const preparedConfig = typeof config === "string" ? {
105257
- migrationsFolder: config
105258
- } : config;
105259
- await db2.dialect.migrate(migrations, db2.session, preparedConfig);
105356
+ await db2.dialect.migrate(migrations, db2.session, config);
105260
105357
  }
105261
105358
  var init_migrator11 = __esm({
105262
105359
  "../drizzle-orm/dist/planetscale-serverless/migrator.js"() {