@polyglot-sql/sdk 0.3.6 → 0.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  (()=>{if(typeof globalThis.process<"u"&&globalThis.process.versions?.node){const _f=globalThis.fetch;globalThis.fetch=async function(u,...a){if(typeof u==="string"&&u.startsWith("file:")||u instanceof URL&&u.protocol==="file:"){const{readFileSync:r}=await import("node:fs");const{fileURLToPath:p}=await import("node:url");const b=r(p(typeof u==="string"?u:u.href));return new Response(b,{headers:{"Content-Type":"application/wasm"}})}return _f(u,...a)}}})();
2
- const kI = new URL("../polyglot_sql_wasm_bg.wasm",import.meta.url).href, NI = async (g = {}, A) => {
2
+ const MI = new URL("../polyglot_sql_wasm_bg.wasm",import.meta.url).href, NI = async (g = {}, A) => {
3
3
  let C;
4
4
  if (A.startsWith("data:")) {
5
5
  const Q = A.replace(/^data:.*?base64,/, "");
@@ -54,15 +54,15 @@ class CA {
54
54
  * @param {WasmExpr} value
55
55
  */
56
56
  push(A, C) {
57
- const Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
57
+ const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), B = k;
58
58
  h(C, y), I.wasmassignmentarray_push(this.__wbg_ptr, Q, B, C.__wbg_ptr);
59
59
  }
60
60
  }
61
61
  Symbol.dispose && (CA.prototype[Symbol.dispose] = CA.prototype.free);
62
- class l {
62
+ class u {
63
63
  static __wrap(A) {
64
64
  A = A >>> 0;
65
- const C = Object.create(l.prototype);
65
+ const C = Object.create(u.prototype);
66
66
  return C.__wbg_ptr = A, SA.register(C, C.__wbg_ptr, C), C;
67
67
  }
68
68
  __destroy_into_raw() {
@@ -83,7 +83,7 @@ class l {
83
83
  I.wasmcasebuilder_build_expr(B, this.__wbg_ptr);
84
84
  var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
85
85
  if (Q)
86
- throw U(C);
86
+ throw H(C);
87
87
  return y.__wrap(A);
88
88
  } finally {
89
89
  I.__wbindgen_add_to_stack_pointer(16);
@@ -114,7 +114,7 @@ class l {
114
114
  I.wasmcasebuilder_to_sql(K, this.__wbg_ptr);
115
115
  var Q = i().getInt32(K + 0, !0), B = i().getInt32(K + 4, !0), E = i().getInt32(K + 8, !0), D = i().getInt32(K + 12, !0), o = Q, N = B;
116
116
  if (D)
117
- throw o = 0, N = 0, U(E);
117
+ throw o = 0, N = 0, H(E);
118
118
  return A = o, C = N, F(o, N);
119
119
  } finally {
120
120
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
@@ -129,7 +129,7 @@ class l {
129
129
  h(A, y), h(C, y), I.wasmcasebuilder_when(this.__wbg_ptr, A.__wbg_ptr, C.__wbg_ptr);
130
130
  }
131
131
  }
132
- Symbol.dispose && (l.prototype[Symbol.dispose] = l.prototype.free);
132
+ Symbol.dispose && (u.prototype[Symbol.dispose] = u.prototype.free);
133
133
  class iA {
134
134
  __destroy_into_raw() {
135
135
  const A = this.__wbg_ptr;
@@ -149,8 +149,8 @@ class iA {
149
149
  I.wasmdeletebuilder_build(B, this.__wbg_ptr);
150
150
  var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
151
151
  if (Q)
152
- throw U(C);
153
- return U(A);
152
+ throw H(C);
153
+ return H(A);
154
154
  } finally {
155
155
  I.__wbindgen_add_to_stack_pointer(16);
156
156
  }
@@ -160,7 +160,7 @@ class iA {
160
160
  * @param {string} table_name
161
161
  */
162
162
  constructor(A) {
163
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasmdeletebuilder_new(C, Q);
163
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k, B = I.wasmdeletebuilder_new(C, Q);
164
164
  return this.__wbg_ptr = B >>> 0, zA.register(this, this.__wbg_ptr, this), this;
165
165
  }
166
166
  /**
@@ -171,11 +171,11 @@ class iA {
171
171
  to_sql(A) {
172
172
  let C, Q;
173
173
  try {
174
- const G = I.__wbindgen_add_to_stack_pointer(-16), S = k(A, I.__wbindgen_export, I.__wbindgen_export2), R = M;
174
+ const G = I.__wbindgen_add_to_stack_pointer(-16), S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k;
175
175
  I.wasmdeletebuilder_to_sql(G, this.__wbg_ptr, S, R);
176
176
  var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, K = E;
177
177
  if (o)
178
- throw N = 0, K = 0, U(D);
178
+ throw N = 0, K = 0, H(D);
179
179
  return C = N, Q = K, F(N, K);
180
180
  } finally {
181
181
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
@@ -220,7 +220,7 @@ class y {
220
220
  * @returns {WasmExpr}
221
221
  */
222
222
  alias(A) {
223
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasmexpr_alias(this.__wbg_ptr, C, Q);
223
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k, B = I.wasmexpr_alias(this.__wbg_ptr, C, Q);
224
224
  return y.__wrap(B);
225
225
  }
226
226
  /**
@@ -258,7 +258,7 @@ class y {
258
258
  * @returns {WasmExpr}
259
259
  */
260
260
  cast(A) {
261
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasmexpr_cast(this.__wbg_ptr, C, Q);
261
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k, B = I.wasmexpr_cast(this.__wbg_ptr, C, Q);
262
262
  return y.__wrap(B);
263
263
  }
264
264
  /**
@@ -453,8 +453,8 @@ class y {
453
453
  I.wasmexpr_to_json(B, this.__wbg_ptr);
454
454
  var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
455
455
  if (Q)
456
- throw U(C);
457
- return U(A);
456
+ throw H(C);
457
+ return H(A);
458
458
  } finally {
459
459
  I.__wbindgen_add_to_stack_pointer(16);
460
460
  }
@@ -470,7 +470,7 @@ class y {
470
470
  I.wasmexpr_to_sql(K, this.__wbg_ptr);
471
471
  var Q = i().getInt32(K + 0, !0), B = i().getInt32(K + 4, !0), E = i().getInt32(K + 8, !0), D = i().getInt32(K + 12, !0), o = Q, N = B;
472
472
  if (D)
473
- throw o = 0, N = 0, U(E);
473
+ throw o = 0, N = 0, H(E);
474
474
  return A = o, C = N, F(o, N);
475
475
  } finally {
476
476
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(A, C, 1);
@@ -523,7 +523,7 @@ class O {
523
523
  * @param {string} name
524
524
  */
525
525
  push_col(A) {
526
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
526
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k;
527
527
  I.wasmexprarray_push_col(this.__wbg_ptr, C, Q);
528
528
  }
529
529
  /**
@@ -551,7 +551,7 @@ class O {
551
551
  * @param {string} value
552
552
  */
553
553
  push_str(A) {
554
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
554
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k;
555
555
  I.wasmexprarray_push_str(this.__wbg_ptr, C, Q);
556
556
  }
557
557
  }
@@ -559,7 +559,7 @@ Symbol.dispose && (O.prototype[Symbol.dispose] = O.prototype.free);
559
559
  class oA {
560
560
  __destroy_into_raw() {
561
561
  const A = this.__wbg_ptr;
562
- return this.__wbg_ptr = 0, fA.unregister(this), A;
562
+ return this.__wbg_ptr = 0, WA.unregister(this), A;
563
563
  }
564
564
  free() {
565
565
  const A = this.__destroy_into_raw();
@@ -575,8 +575,8 @@ class oA {
575
575
  I.wasminsertbuilder_build(B, this.__wbg_ptr);
576
576
  var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
577
577
  if (Q)
578
- throw U(C);
579
- return U(A);
578
+ throw H(C);
579
+ return H(A);
580
580
  } finally {
581
581
  I.__wbindgen_add_to_stack_pointer(16);
582
582
  }
@@ -586,7 +586,7 @@ class oA {
586
586
  * @param {string[]} cols
587
587
  */
588
588
  columns(A) {
589
- const C = FA(A, I.__wbindgen_export), Q = M;
589
+ const C = FA(A, I.__wbindgen_export), Q = k;
590
590
  I.wasminsertbuilder_columns(this.__wbg_ptr, C, Q);
591
591
  }
592
592
  /**
@@ -594,8 +594,8 @@ class oA {
594
594
  * @param {string} table_name
595
595
  */
596
596
  constructor(A) {
597
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasminsertbuilder_new(C, Q);
598
- return this.__wbg_ptr = B >>> 0, fA.register(this, this.__wbg_ptr, this), this;
597
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k, B = I.wasminsertbuilder_new(C, Q);
598
+ return this.__wbg_ptr = B >>> 0, WA.register(this, this.__wbg_ptr, this), this;
599
599
  }
600
600
  /**
601
601
  * Set the source query for INSERT ... SELECT.
@@ -607,7 +607,7 @@ class oA {
607
607
  h(A, j), I.wasminsertbuilder_query(B, this.__wbg_ptr, A.__wbg_ptr);
608
608
  var C = i().getInt32(B + 0, !0), Q = i().getInt32(B + 4, !0);
609
609
  if (Q)
610
- throw U(C);
610
+ throw H(C);
611
611
  } finally {
612
612
  I.__wbindgen_add_to_stack_pointer(16);
613
613
  }
@@ -620,11 +620,11 @@ class oA {
620
620
  to_sql(A) {
621
621
  let C, Q;
622
622
  try {
623
- const G = I.__wbindgen_add_to_stack_pointer(-16), S = k(A, I.__wbindgen_export, I.__wbindgen_export2), R = M;
623
+ const G = I.__wbindgen_add_to_stack_pointer(-16), S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k;
624
624
  I.wasminsertbuilder_to_sql(G, this.__wbg_ptr, S, R);
625
625
  var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, K = E;
626
626
  if (o)
627
- throw N = 0, K = 0, U(D);
627
+ throw N = 0, K = 0, H(D);
628
628
  return C = N, Q = K, F(N, K);
629
629
  } finally {
630
630
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
@@ -639,10 +639,10 @@ class oA {
639
639
  }
640
640
  }
641
641
  Symbol.dispose && (oA.prototype[Symbol.dispose] = oA.prototype.free);
642
- class MA {
642
+ class kA {
643
643
  __destroy_into_raw() {
644
644
  const A = this.__wbg_ptr;
645
- return this.__wbg_ptr = 0, WA.unregister(this), A;
645
+ return this.__wbg_ptr = 0, fA.unregister(this), A;
646
646
  }
647
647
  free() {
648
648
  const A = this.__destroy_into_raw();
@@ -658,8 +658,8 @@ class MA {
658
658
  I.wasmmergebuilder_build(B, this.__wbg_ptr);
659
659
  var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
660
660
  if (Q)
661
- throw U(C);
662
- return U(A);
661
+ throw H(C);
662
+ return H(A);
663
663
  } finally {
664
664
  I.__wbindgen_add_to_stack_pointer(16);
665
665
  }
@@ -669,8 +669,8 @@ class MA {
669
669
  * @param {string} target
670
670
  */
671
671
  constructor(A) {
672
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasmmergebuilder_new(C, Q);
673
- return this.__wbg_ptr = B >>> 0, WA.register(this, this.__wbg_ptr, this), this;
672
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k, B = I.wasmmergebuilder_new(C, Q);
673
+ return this.__wbg_ptr = B >>> 0, fA.register(this, this.__wbg_ptr, this), this;
674
674
  }
675
675
  /**
676
676
  * Generate SQL string for the given dialect.
@@ -680,11 +680,11 @@ class MA {
680
680
  to_sql(A) {
681
681
  let C, Q;
682
682
  try {
683
- const G = I.__wbindgen_add_to_stack_pointer(-16), S = k(A, I.__wbindgen_export, I.__wbindgen_export2), R = M;
683
+ const G = I.__wbindgen_add_to_stack_pointer(-16), S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k;
684
684
  I.wasmmergebuilder_to_sql(G, this.__wbg_ptr, S, R);
685
685
  var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, K = E;
686
686
  if (o)
687
- throw N = 0, K = 0, U(D);
687
+ throw N = 0, K = 0, H(D);
688
688
  return C = N, Q = K, F(N, K);
689
689
  } finally {
690
690
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
@@ -696,7 +696,7 @@ class MA {
696
696
  * @param {WasmExpr} on
697
697
  */
698
698
  using(A, C) {
699
- const Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
699
+ const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), B = k;
700
700
  h(C, y), I.wasmmergebuilder_using(this.__wbg_ptr, Q, B, C.__wbg_ptr);
701
701
  }
702
702
  /**
@@ -718,15 +718,15 @@ class MA {
718
718
  * @param {WasmExprArray} values
719
719
  */
720
720
  when_not_matched_insert(A, C) {
721
- const Q = FA(A, I.__wbindgen_export), B = M;
721
+ const Q = FA(A, I.__wbindgen_export), B = k;
722
722
  h(C, O), I.wasmmergebuilder_when_not_matched_insert(this.__wbg_ptr, Q, B, C.__wbg_ptr);
723
723
  }
724
724
  }
725
- Symbol.dispose && (MA.prototype[Symbol.dispose] = MA.prototype.free);
725
+ Symbol.dispose && (kA.prototype[Symbol.dispose] = kA.prototype.free);
726
726
  class j {
727
727
  __destroy_into_raw() {
728
728
  const A = this.__wbg_ptr;
729
- return this.__wbg_ptr = 0, eA.unregister(this), A;
729
+ return this.__wbg_ptr = 0, lA.unregister(this), A;
730
730
  }
731
731
  free() {
732
732
  const A = this.__destroy_into_raw();
@@ -742,8 +742,8 @@ class j {
742
742
  I.wasmselectbuilder_build(B, this.__wbg_ptr);
743
743
  var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
744
744
  if (Q)
745
- throw U(C);
746
- return U(A);
745
+ throw H(C);
746
+ return H(A);
747
747
  } finally {
748
748
  I.__wbindgen_add_to_stack_pointer(16);
749
749
  }
@@ -753,7 +753,7 @@ class j {
753
753
  * @param {string} table
754
754
  */
755
755
  cross_join(A) {
756
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
756
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k;
757
757
  I.wasmselectbuilder_cross_join(this.__wbg_ptr, C, Q);
758
758
  }
759
759
  /**
@@ -763,12 +763,12 @@ class j {
763
763
  */
764
764
  ctas(A) {
765
765
  try {
766
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(A, I.__wbindgen_export, I.__wbindgen_export2), o = M;
766
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(A, I.__wbindgen_export, I.__wbindgen_export2), o = k;
767
767
  I.wasmselectbuilder_ctas(E, this.__wbg_ptr, D, o);
768
768
  var C = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
769
769
  if (B)
770
- throw U(Q);
771
- return U(C);
770
+ throw H(Q);
771
+ return H(C);
772
772
  } finally {
773
773
  I.__wbindgen_add_to_stack_pointer(16);
774
774
  }
@@ -782,11 +782,11 @@ class j {
782
782
  ctas_sql(A, C) {
783
783
  let Q, B;
784
784
  try {
785
- const S = I.__wbindgen_add_to_stack_pointer(-16), R = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = M, T = k(C, I.__wbindgen_export, I.__wbindgen_export2), e = M;
786
- I.wasmselectbuilder_ctas_sql(S, this.__wbg_ptr, R, q, T, e);
785
+ const S = I.__wbindgen_add_to_stack_pointer(-16), R = M(A, I.__wbindgen_export, I.__wbindgen_export2), q = k, P = M(C, I.__wbindgen_export, I.__wbindgen_export2), l = k;
786
+ I.wasmselectbuilder_ctas_sql(S, this.__wbg_ptr, R, q, P, l);
787
787
  var E = i().getInt32(S + 0, !0), D = i().getInt32(S + 4, !0), o = i().getInt32(S + 8, !0), N = i().getInt32(S + 12, !0), K = E, G = D;
788
788
  if (N)
789
- throw K = 0, G = 0, U(o);
789
+ throw K = 0, G = 0, H(o);
790
790
  return Q = K, B = G, F(K, G);
791
791
  } finally {
792
792
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(Q, B, 1);
@@ -809,7 +809,7 @@ class j {
809
809
  h(A, j), I.wasmselectbuilder_except_(E, this.__wbg_ptr, A.__wbg_ptr);
810
810
  var C = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
811
811
  if (B)
812
- throw U(Q);
812
+ throw H(Q);
813
813
  return z.__wrap(C);
814
814
  } finally {
815
815
  I.__wbindgen_add_to_stack_pointer(16);
@@ -826,7 +826,7 @@ class j {
826
826
  * @param {string} table
827
827
  */
828
828
  from(A) {
829
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
829
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k;
830
830
  I.wasmselectbuilder_from(this.__wbg_ptr, C, Q);
831
831
  }
832
832
  /**
@@ -855,7 +855,7 @@ class j {
855
855
  * @param {string} hint_text
856
856
  */
857
857
  hint(A) {
858
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
858
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k;
859
859
  I.wasmselectbuilder_hint(this.__wbg_ptr, C, Q);
860
860
  }
861
861
  /**
@@ -869,7 +869,7 @@ class j {
869
869
  h(A, j), I.wasmselectbuilder_intersect(E, this.__wbg_ptr, A.__wbg_ptr);
870
870
  var C = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
871
871
  if (B)
872
- throw U(Q);
872
+ throw H(Q);
873
873
  return z.__wrap(C);
874
874
  } finally {
875
875
  I.__wbindgen_add_to_stack_pointer(16);
@@ -881,7 +881,7 @@ class j {
881
881
  * @param {WasmExpr} on
882
882
  */
883
883
  join(A, C) {
884
- const Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
884
+ const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), B = k;
885
885
  h(C, y), I.wasmselectbuilder_join(this.__wbg_ptr, Q, B, C.__wbg_ptr);
886
886
  }
887
887
  /**
@@ -892,7 +892,7 @@ class j {
892
892
  */
893
893
  lateral_view(A, C, Q) {
894
894
  h(A, y);
895
- const B = k(C, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = FA(Q, I.__wbindgen_export), o = M;
895
+ const B = M(C, I.__wbindgen_export, I.__wbindgen_export2), E = k, D = FA(Q, I.__wbindgen_export), o = k;
896
896
  I.wasmselectbuilder_lateral_view(this.__wbg_ptr, A.__wbg_ptr, B, E, D, o);
897
897
  }
898
898
  /**
@@ -901,7 +901,7 @@ class j {
901
901
  * @param {WasmExpr} on
902
902
  */
903
903
  left_join(A, C) {
904
- const Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
904
+ const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), B = k;
905
905
  h(C, y), I.wasmselectbuilder_left_join(this.__wbg_ptr, Q, B, C.__wbg_ptr);
906
906
  }
907
907
  /**
@@ -916,7 +916,7 @@ class j {
916
916
  */
917
917
  constructor() {
918
918
  const A = I.wasmselectbuilder_new();
919
- return this.__wbg_ptr = A >>> 0, eA.register(this, this.__wbg_ptr, this), this;
919
+ return this.__wbg_ptr = A >>> 0, lA.register(this, this.__wbg_ptr, this), this;
920
920
  }
921
921
  /**
922
922
  * Set the OFFSET clause.
@@ -945,7 +945,7 @@ class j {
945
945
  * @param {WasmExpr} on
946
946
  */
947
947
  right_join(A, C) {
948
- const Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
948
+ const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), B = k;
949
949
  h(C, y), I.wasmselectbuilder_right_join(this.__wbg_ptr, Q, B, C.__wbg_ptr);
950
950
  }
951
951
  /**
@@ -953,7 +953,7 @@ class j {
953
953
  * @param {string} name
954
954
  */
955
955
  select_col(A) {
956
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
956
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k;
957
957
  I.wasmselectbuilder_select_col(this.__wbg_ptr, C, Q);
958
958
  }
959
959
  /**
@@ -991,11 +991,11 @@ class j {
991
991
  to_sql(A) {
992
992
  let C, Q;
993
993
  try {
994
- const G = I.__wbindgen_add_to_stack_pointer(-16), S = k(A, I.__wbindgen_export, I.__wbindgen_export2), R = M;
994
+ const G = I.__wbindgen_add_to_stack_pointer(-16), S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k;
995
995
  I.wasmselectbuilder_to_sql(G, this.__wbg_ptr, S, R);
996
996
  var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, K = E;
997
997
  if (o)
998
- throw N = 0, K = 0, U(D);
998
+ throw N = 0, K = 0, H(D);
999
999
  return C = N, Q = K, F(N, K);
1000
1000
  } finally {
1001
1001
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
@@ -1012,7 +1012,7 @@ class j {
1012
1012
  h(A, j), I.wasmselectbuilder_union(E, this.__wbg_ptr, A.__wbg_ptr);
1013
1013
  var C = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
1014
1014
  if (B)
1015
- throw U(Q);
1015
+ throw H(Q);
1016
1016
  return z.__wrap(C);
1017
1017
  } finally {
1018
1018
  I.__wbindgen_add_to_stack_pointer(16);
@@ -1029,7 +1029,7 @@ class j {
1029
1029
  h(A, j), I.wasmselectbuilder_union_all(E, this.__wbg_ptr, A.__wbg_ptr);
1030
1030
  var C = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
1031
1031
  if (B)
1032
- throw U(Q);
1032
+ throw H(Q);
1033
1033
  return z.__wrap(C);
1034
1034
  } finally {
1035
1035
  I.__wbindgen_add_to_stack_pointer(16);
@@ -1047,7 +1047,7 @@ class j {
1047
1047
  * @param {string} sql
1048
1048
  */
1049
1049
  where_sql(A) {
1050
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
1050
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k;
1051
1051
  I.wasmselectbuilder_where_sql(this.__wbg_ptr, C, Q);
1052
1052
  }
1053
1053
  /**
@@ -1057,11 +1057,11 @@ class j {
1057
1057
  */
1058
1058
  window(A, C) {
1059
1059
  try {
1060
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(A, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1060
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(A, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1061
1061
  h(C, QA), I.wasmselectbuilder_window(E, this.__wbg_ptr, D, o, C.__wbg_ptr);
1062
1062
  var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1063
1063
  if (B)
1064
- throw U(Q);
1064
+ throw H(Q);
1065
1065
  } finally {
1066
1066
  I.__wbindgen_add_to_stack_pointer(16);
1067
1067
  }
@@ -1072,11 +1072,11 @@ class z {
1072
1072
  static __wrap(A) {
1073
1073
  A = A >>> 0;
1074
1074
  const C = Object.create(z.prototype);
1075
- return C.__wbg_ptr = A, uA.register(C, C.__wbg_ptr, C), C;
1075
+ return C.__wbg_ptr = A, eA.register(C, C.__wbg_ptr, C), C;
1076
1076
  }
1077
1077
  __destroy_into_raw() {
1078
1078
  const A = this.__wbg_ptr;
1079
- return this.__wbg_ptr = 0, uA.unregister(this), A;
1079
+ return this.__wbg_ptr = 0, eA.unregister(this), A;
1080
1080
  }
1081
1081
  free() {
1082
1082
  const A = this.__destroy_into_raw();
@@ -1092,8 +1092,8 @@ class z {
1092
1092
  I.wasmsetopbuilder_build(B, this.__wbg_ptr);
1093
1093
  var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
1094
1094
  if (Q)
1095
- throw U(C);
1096
- return U(A);
1095
+ throw H(C);
1096
+ return H(A);
1097
1097
  } finally {
1098
1098
  I.__wbindgen_add_to_stack_pointer(16);
1099
1099
  }
@@ -1127,11 +1127,11 @@ class z {
1127
1127
  to_sql(A) {
1128
1128
  let C, Q;
1129
1129
  try {
1130
- const G = I.__wbindgen_add_to_stack_pointer(-16), S = k(A, I.__wbindgen_export, I.__wbindgen_export2), R = M;
1130
+ const G = I.__wbindgen_add_to_stack_pointer(-16), S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k;
1131
1131
  I.wasmsetopbuilder_to_sql(G, this.__wbg_ptr, S, R);
1132
1132
  var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, K = E;
1133
1133
  if (o)
1134
- throw N = 0, K = 0, U(D);
1134
+ throw N = 0, K = 0, H(D);
1135
1135
  return C = N, Q = K, F(N, K);
1136
1136
  } finally {
1137
1137
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
@@ -1139,10 +1139,10 @@ class z {
1139
1139
  }
1140
1140
  }
1141
1141
  Symbol.dispose && (z.prototype[Symbol.dispose] = z.prototype.free);
1142
- class kA {
1142
+ class MA {
1143
1143
  __destroy_into_raw() {
1144
1144
  const A = this.__wbg_ptr;
1145
- return this.__wbg_ptr = 0, lA.unregister(this), A;
1145
+ return this.__wbg_ptr = 0, uA.unregister(this), A;
1146
1146
  }
1147
1147
  free() {
1148
1148
  const A = this.__destroy_into_raw();
@@ -1158,8 +1158,8 @@ class kA {
1158
1158
  I.wasmupdatebuilder_build(B, this.__wbg_ptr);
1159
1159
  var A = i().getInt32(B + 0, !0), C = i().getInt32(B + 4, !0), Q = i().getInt32(B + 8, !0);
1160
1160
  if (Q)
1161
- throw U(C);
1162
- return U(A);
1161
+ throw H(C);
1162
+ return H(A);
1163
1163
  } finally {
1164
1164
  I.__wbindgen_add_to_stack_pointer(16);
1165
1165
  }
@@ -1169,7 +1169,7 @@ class kA {
1169
1169
  * @param {string} table
1170
1170
  */
1171
1171
  from(A) {
1172
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
1172
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k;
1173
1173
  I.wasmupdatebuilder_from(this.__wbg_ptr, C, Q);
1174
1174
  }
1175
1175
  /**
@@ -1177,8 +1177,8 @@ class kA {
1177
1177
  * @param {string} table_name
1178
1178
  */
1179
1179
  constructor(A) {
1180
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasmupdatebuilder_new(C, Q);
1181
- return this.__wbg_ptr = B >>> 0, lA.register(this, this.__wbg_ptr, this), this;
1180
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k, B = I.wasmupdatebuilder_new(C, Q);
1181
+ return this.__wbg_ptr = B >>> 0, uA.register(this, this.__wbg_ptr, this), this;
1182
1182
  }
1183
1183
  /**
1184
1184
  * Add a SET column = value assignment.
@@ -1186,7 +1186,7 @@ class kA {
1186
1186
  * @param {WasmExpr} value
1187
1187
  */
1188
1188
  set(A, C) {
1189
- const Q = k(A, I.__wbindgen_export, I.__wbindgen_export2), B = M;
1189
+ const Q = M(A, I.__wbindgen_export, I.__wbindgen_export2), B = k;
1190
1190
  h(C, y), I.wasmupdatebuilder_set(this.__wbg_ptr, Q, B, C.__wbg_ptr);
1191
1191
  }
1192
1192
  /**
@@ -1197,11 +1197,11 @@ class kA {
1197
1197
  to_sql(A) {
1198
1198
  let C, Q;
1199
1199
  try {
1200
- const G = I.__wbindgen_add_to_stack_pointer(-16), S = k(A, I.__wbindgen_export, I.__wbindgen_export2), R = M;
1200
+ const G = I.__wbindgen_add_to_stack_pointer(-16), S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k;
1201
1201
  I.wasmupdatebuilder_to_sql(G, this.__wbg_ptr, S, R);
1202
1202
  var B = i().getInt32(G + 0, !0), E = i().getInt32(G + 4, !0), D = i().getInt32(G + 8, !0), o = i().getInt32(G + 12, !0), N = B, K = E;
1203
1203
  if (o)
1204
- throw N = 0, K = 0, U(D);
1204
+ throw N = 0, K = 0, H(D);
1205
1205
  return C = N, Q = K, F(N, K);
1206
1206
  } finally {
1207
1207
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(C, Q, 1);
@@ -1215,7 +1215,7 @@ class kA {
1215
1215
  h(A, y), I.wasmupdatebuilder_where_expr(this.__wbg_ptr, A.__wbg_ptr);
1216
1216
  }
1217
1217
  }
1218
- Symbol.dispose && (kA.prototype[Symbol.dispose] = kA.prototype.free);
1218
+ Symbol.dispose && (MA.prototype[Symbol.dispose] = MA.prototype.free);
1219
1219
  class QA {
1220
1220
  __destroy_into_raw() {
1221
1221
  const A = this.__wbg_ptr;
@@ -1251,7 +1251,7 @@ Symbol.dispose && (QA.prototype[Symbol.dispose] = QA.prototype.free);
1251
1251
  function KI(g, A, C) {
1252
1252
  let Q, B;
1253
1253
  try {
1254
- const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, G = k(A, I.__wbindgen_export, I.__wbindgen_export2), S = M, R = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
1254
+ const o = I.__wbindgen_add_to_stack_pointer(-16), N = M(g, I.__wbindgen_export, I.__wbindgen_export2), K = k, G = M(A, I.__wbindgen_export, I.__wbindgen_export2), S = k, R = M(C, I.__wbindgen_export, I.__wbindgen_export2), q = k;
1255
1255
  I.annotate_types(o, N, K, G, S, R, q);
1256
1256
  var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
1257
1257
  return Q = E, B = D, F(E, D);
@@ -1260,13 +1260,13 @@ function KI(g, A, C) {
1260
1260
  }
1261
1261
  }
1262
1262
  function yI(g, A, C) {
1263
- const Q = k(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, E = k(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = k(C, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = I.annotate_types_value(Q, B, E, D, o, N);
1264
- return U(K);
1263
+ const Q = M(g, I.__wbindgen_export, I.__wbindgen_export2), B = k, E = M(A, I.__wbindgen_export, I.__wbindgen_export2), D = k, o = M(C, I.__wbindgen_export, I.__wbindgen_export2), N = k, K = I.annotate_types_value(Q, B, E, D, o, N);
1264
+ return H(K);
1265
1265
  }
1266
1266
  function bA(g, A, C) {
1267
1267
  let Q, B;
1268
1268
  try {
1269
- const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, G = k(A, I.__wbindgen_export, I.__wbindgen_export2), S = M;
1269
+ const o = I.__wbindgen_add_to_stack_pointer(-16), N = M(g, I.__wbindgen_export, I.__wbindgen_export2), K = k, G = M(A, I.__wbindgen_export, I.__wbindgen_export2), S = k;
1270
1270
  I.ast_add_where(o, N, K, G, S, C);
1271
1271
  var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
1272
1272
  return Q = E, B = D, F(E, D);
@@ -1277,7 +1277,7 @@ function bA(g, A, C) {
1277
1277
  function vA(g) {
1278
1278
  let A, C;
1279
1279
  try {
1280
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1280
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1281
1281
  I.ast_get_aggregate_functions(E, D, o);
1282
1282
  var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1283
1283
  return A = Q, C = B, F(Q, B);
@@ -1288,7 +1288,7 @@ function vA(g) {
1288
1288
  function XA(g) {
1289
1289
  let A, C;
1290
1290
  try {
1291
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1291
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1292
1292
  I.ast_get_column_names(E, D, o);
1293
1293
  var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1294
1294
  return A = Q, C = B, F(Q, B);
@@ -1299,7 +1299,7 @@ function XA(g) {
1299
1299
  function _A(g) {
1300
1300
  let A, C;
1301
1301
  try {
1302
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1302
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1303
1303
  I.ast_get_functions(E, D, o);
1304
1304
  var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1305
1305
  return A = Q, C = B, F(Q, B);
@@ -1310,7 +1310,7 @@ function _A(g) {
1310
1310
  function $A(g) {
1311
1311
  let A, C;
1312
1312
  try {
1313
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1313
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1314
1314
  I.ast_get_literals(E, D, o);
1315
1315
  var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1316
1316
  return A = Q, C = B, F(Q, B);
@@ -1321,7 +1321,7 @@ function $A(g) {
1321
1321
  function Ag(g) {
1322
1322
  let A, C;
1323
1323
  try {
1324
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1324
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1325
1325
  I.ast_get_subqueries(E, D, o);
1326
1326
  var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1327
1327
  return A = Q, C = B, F(Q, B);
@@ -1332,7 +1332,7 @@ function Ag(g) {
1332
1332
  function gg(g) {
1333
1333
  let A, C;
1334
1334
  try {
1335
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1335
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1336
1336
  I.ast_get_table_names(E, D, o);
1337
1337
  var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1338
1338
  return A = Q, C = B, F(Q, B);
@@ -1343,7 +1343,7 @@ function gg(g) {
1343
1343
  function Ig(g) {
1344
1344
  let A, C;
1345
1345
  try {
1346
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1346
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1347
1347
  I.ast_get_window_functions(E, D, o);
1348
1348
  var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1349
1349
  return A = Q, C = B, F(Q, B);
@@ -1354,7 +1354,7 @@ function Ig(g) {
1354
1354
  function Cg(g) {
1355
1355
  let A, C;
1356
1356
  try {
1357
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1357
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1358
1358
  I.ast_node_count(E, D, o);
1359
1359
  var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1360
1360
  return A = Q, C = B, F(Q, B);
@@ -1365,7 +1365,7 @@ function Cg(g) {
1365
1365
  function Qg(g, A) {
1366
1366
  let C, Q;
1367
1367
  try {
1368
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1368
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, K = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1369
1369
  I.ast_qualify_columns(D, o, N, K, G);
1370
1370
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1371
1371
  return C = B, Q = E, F(B, E);
@@ -1376,7 +1376,7 @@ function Qg(g, A) {
1376
1376
  function Bg(g) {
1377
1377
  let A, C;
1378
1378
  try {
1379
- const E = I.__wbindgen_add_to_stack_pointer(-16), D = k(g, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1379
+ const E = I.__wbindgen_add_to_stack_pointer(-16), D = M(g, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1380
1380
  I.ast_remove_where(E, D, o);
1381
1381
  var Q = i().getInt32(E + 0, !0), B = i().getInt32(E + 4, !0);
1382
1382
  return A = Q, C = B, F(Q, B);
@@ -1387,7 +1387,7 @@ function Bg(g) {
1387
1387
  function Eg(g, A) {
1388
1388
  let C, Q;
1389
1389
  try {
1390
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1390
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, K = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1391
1391
  I.ast_rename_columns(D, o, N, K, G);
1392
1392
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1393
1393
  return C = B, Q = E, F(B, E);
@@ -1398,7 +1398,7 @@ function Eg(g, A) {
1398
1398
  function Dg(g, A) {
1399
1399
  let C, Q;
1400
1400
  try {
1401
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1401
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, K = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1402
1402
  I.ast_rename_tables(D, o, N, K, G);
1403
1403
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1404
1404
  return C = B, Q = E, F(B, E);
@@ -1409,7 +1409,7 @@ function Dg(g, A) {
1409
1409
  function wg(g, A) {
1410
1410
  let C, Q;
1411
1411
  try {
1412
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M;
1412
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k;
1413
1413
  I.ast_set_distinct(D, o, N, A);
1414
1414
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1415
1415
  return C = B, Q = E, F(B, E);
@@ -1420,7 +1420,7 @@ function wg(g, A) {
1420
1420
  function ig(g, A) {
1421
1421
  let C, Q;
1422
1422
  try {
1423
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M;
1423
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k;
1424
1424
  I.ast_set_limit(D, o, N, A);
1425
1425
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1426
1426
  return C = B, Q = E, F(B, E);
@@ -1431,8 +1431,8 @@ function ig(g, A) {
1431
1431
  function og(g, A, C, Q, B, E) {
1432
1432
  let D, o;
1433
1433
  try {
1434
- const G = I.__wbindgen_add_to_stack_pointer(-16), S = k(g, I.__wbindgen_export, I.__wbindgen_export2), R = M, q = k(A, I.__wbindgen_export, I.__wbindgen_export2), T = M, e = k(C, I.__wbindgen_export, I.__wbindgen_export2), v = M;
1435
- I.diff_sql(G, S, R, q, T, e, v, Q, B, E);
1434
+ const G = I.__wbindgen_add_to_stack_pointer(-16), S = M(g, I.__wbindgen_export, I.__wbindgen_export2), R = k, q = M(A, I.__wbindgen_export, I.__wbindgen_export2), P = k, l = M(C, I.__wbindgen_export, I.__wbindgen_export2), v = k;
1435
+ I.diff_sql(G, S, R, q, P, l, v, Q, B, E);
1436
1436
  var N = i().getInt32(G + 0, !0), K = i().getInt32(G + 4, !0);
1437
1437
  return D = N, o = K, F(N, K);
1438
1438
  } finally {
@@ -1442,7 +1442,7 @@ function og(g, A, C, Q, B, E) {
1442
1442
  function GI(g, A) {
1443
1443
  let C, Q;
1444
1444
  try {
1445
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1445
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, K = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1446
1446
  I.format_sql(D, o, N, K, G);
1447
1447
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1448
1448
  return C = B, Q = E, F(B, E);
@@ -1451,13 +1451,13 @@ function GI(g, A) {
1451
1451
  }
1452
1452
  }
1453
1453
  function YI(g, A) {
1454
- const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = k(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.format_sql_value(C, Q, B, E);
1455
- return U(D);
1454
+ const C = M(g, I.__wbindgen_export, I.__wbindgen_export2), Q = k, B = M(A, I.__wbindgen_export, I.__wbindgen_export2), E = k, D = I.format_sql_value(C, Q, B, E);
1455
+ return H(D);
1456
1456
  }
1457
1457
  function hI(g, A, C) {
1458
1458
  let Q, B;
1459
1459
  try {
1460
- const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, G = k(A, I.__wbindgen_export, I.__wbindgen_export2), S = M, R = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
1460
+ const o = I.__wbindgen_add_to_stack_pointer(-16), N = M(g, I.__wbindgen_export, I.__wbindgen_export2), K = k, G = M(A, I.__wbindgen_export, I.__wbindgen_export2), S = k, R = M(C, I.__wbindgen_export, I.__wbindgen_export2), q = k;
1461
1461
  I.format_sql_with_options(o, N, K, G, S, R, q);
1462
1462
  var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
1463
1463
  return Q = E, B = D, F(E, D);
@@ -1466,13 +1466,13 @@ function hI(g, A, C) {
1466
1466
  }
1467
1467
  }
1468
1468
  function SI(g, A, C) {
1469
- const Q = k(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, E = k(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = I.format_sql_with_options_value(Q, B, E, D, s(C));
1470
- return U(o);
1469
+ const Q = M(g, I.__wbindgen_export, I.__wbindgen_export2), B = k, E = M(A, I.__wbindgen_export, I.__wbindgen_export2), D = k, o = I.format_sql_with_options_value(Q, B, E, D, s(C));
1470
+ return H(o);
1471
1471
  }
1472
1472
  function JI(g, A) {
1473
1473
  let C, Q;
1474
1474
  try {
1475
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1475
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, K = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1476
1476
  I.generate(D, o, N, K, G);
1477
1477
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1478
1478
  return C = B, Q = E, F(B, E);
@@ -1481,10 +1481,10 @@ function JI(g, A) {
1481
1481
  }
1482
1482
  }
1483
1483
  function cI(g, A) {
1484
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.generate_value(s(g), C, Q);
1485
- return U(B);
1484
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k, B = I.generate_value(s(g), C, Q);
1485
+ return H(B);
1486
1486
  }
1487
- function HI() {
1487
+ function UI() {
1488
1488
  let g, A;
1489
1489
  try {
1490
1490
  const B = I.__wbindgen_add_to_stack_pointer(-16);
@@ -1495,26 +1495,26 @@ function HI() {
1495
1495
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(g, A, 1);
1496
1496
  }
1497
1497
  }
1498
- function UI() {
1498
+ function HI() {
1499
1499
  const g = I.get_dialects_value();
1500
- return U(g);
1500
+ return H(g);
1501
1501
  }
1502
- function Mg(g, A, C, Q) {
1502
+ function kg(g, A, C, Q) {
1503
1503
  let B, E;
1504
1504
  try {
1505
- const N = I.__wbindgen_add_to_stack_pointer(-16), K = k(g, I.__wbindgen_export, I.__wbindgen_export2), G = M, S = k(A, I.__wbindgen_export, I.__wbindgen_export2), R = M, q = k(C, I.__wbindgen_export, I.__wbindgen_export2), T = M;
1506
- I.lineage_sql(N, K, G, S, R, q, T, Q);
1505
+ const N = I.__wbindgen_add_to_stack_pointer(-16), K = M(g, I.__wbindgen_export, I.__wbindgen_export2), G = k, S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k, q = M(C, I.__wbindgen_export, I.__wbindgen_export2), P = k;
1506
+ I.lineage_sql(N, K, G, S, R, q, P, Q);
1507
1507
  var D = i().getInt32(N + 0, !0), o = i().getInt32(N + 4, !0);
1508
1508
  return B = D, E = o, F(D, o);
1509
1509
  } finally {
1510
1510
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, E, 1);
1511
1511
  }
1512
1512
  }
1513
- function kg(g, A, C, Q, B) {
1513
+ function Mg(g, A, C, Q, B) {
1514
1514
  let E, D;
1515
1515
  try {
1516
- const K = I.__wbindgen_add_to_stack_pointer(-16), G = k(g, I.__wbindgen_export, I.__wbindgen_export2), S = M, R = k(A, I.__wbindgen_export, I.__wbindgen_export2), q = M, T = k(C, I.__wbindgen_export, I.__wbindgen_export2), e = M, v = k(Q, I.__wbindgen_export, I.__wbindgen_export2), MI = M;
1517
- I.lineage_sql_with_schema(K, G, S, R, q, T, e, v, MI, B);
1516
+ const K = I.__wbindgen_add_to_stack_pointer(-16), G = M(g, I.__wbindgen_export, I.__wbindgen_export2), S = k, R = M(A, I.__wbindgen_export, I.__wbindgen_export2), q = k, P = M(C, I.__wbindgen_export, I.__wbindgen_export2), l = k, v = M(Q, I.__wbindgen_export, I.__wbindgen_export2), kI = k;
1517
+ I.lineage_sql_with_schema(K, G, S, R, q, P, l, v, kI, B);
1518
1518
  var o = i().getInt32(K + 0, !0), N = i().getInt32(K + 4, !0);
1519
1519
  return E = o, D = N, F(o, N);
1520
1520
  } finally {
@@ -1524,7 +1524,7 @@ function kg(g, A, C, Q, B) {
1524
1524
  function FI(g, A) {
1525
1525
  let C, Q;
1526
1526
  try {
1527
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1527
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, K = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1528
1528
  I.parse(D, o, N, K, G);
1529
1529
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1530
1530
  return C = B, Q = E, F(B, E);
@@ -1533,13 +1533,13 @@ function FI(g, A) {
1533
1533
  }
1534
1534
  }
1535
1535
  function LI(g, A) {
1536
- const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = k(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.parse_value(C, Q, B, E);
1537
- return U(D);
1536
+ const C = M(g, I.__wbindgen_export, I.__wbindgen_export2), Q = k, B = M(A, I.__wbindgen_export, I.__wbindgen_export2), E = k, D = I.parse_value(C, Q, B, E);
1537
+ return H(D);
1538
1538
  }
1539
1539
  function Ng(g, A) {
1540
1540
  let C, Q;
1541
1541
  try {
1542
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1542
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, K = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1543
1543
  I.plan(D, o, N, K, G);
1544
1544
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1545
1545
  return C = B, Q = E, F(B, E);
@@ -1550,7 +1550,7 @@ function Ng(g, A) {
1550
1550
  function Kg(g, A, C) {
1551
1551
  let Q, B;
1552
1552
  try {
1553
- const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, G = k(A, I.__wbindgen_export, I.__wbindgen_export2), S = M, R = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
1553
+ const o = I.__wbindgen_add_to_stack_pointer(-16), N = M(g, I.__wbindgen_export, I.__wbindgen_export2), K = k, G = M(A, I.__wbindgen_export, I.__wbindgen_export2), S = k, R = M(C, I.__wbindgen_export, I.__wbindgen_export2), q = k;
1554
1554
  I.source_tables(o, N, K, G, S, R, q);
1555
1555
  var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
1556
1556
  return Q = E, B = D, F(E, D);
@@ -1561,7 +1561,7 @@ function Kg(g, A, C) {
1561
1561
  function RI(g, A) {
1562
1562
  let C, Q;
1563
1563
  try {
1564
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1564
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, K = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1565
1565
  I.tokenize(D, o, N, K, G);
1566
1566
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1567
1567
  return C = B, Q = E, F(B, E);
@@ -1570,13 +1570,13 @@ function RI(g, A) {
1570
1570
  }
1571
1571
  }
1572
1572
  function sI(g, A) {
1573
- const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = k(A, I.__wbindgen_export, I.__wbindgen_export2), E = M, D = I.tokenize_value(C, Q, B, E);
1574
- return U(D);
1573
+ const C = M(g, I.__wbindgen_export, I.__wbindgen_export2), Q = k, B = M(A, I.__wbindgen_export, I.__wbindgen_export2), E = k, D = I.tokenize_value(C, Q, B, E);
1574
+ return H(D);
1575
1575
  }
1576
1576
  function aI(g, A, C) {
1577
1577
  let Q, B;
1578
1578
  try {
1579
- const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, G = k(A, I.__wbindgen_export, I.__wbindgen_export2), S = M, R = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
1579
+ const o = I.__wbindgen_add_to_stack_pointer(-16), N = M(g, I.__wbindgen_export, I.__wbindgen_export2), K = k, G = M(A, I.__wbindgen_export, I.__wbindgen_export2), S = k, R = M(C, I.__wbindgen_export, I.__wbindgen_export2), q = k;
1580
1580
  I.transpile(o, N, K, G, S, R, q);
1581
1581
  var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
1582
1582
  return Q = E, B = D, F(E, D);
@@ -1585,13 +1585,13 @@ function aI(g, A, C) {
1585
1585
  }
1586
1586
  }
1587
1587
  function qI(g, A, C) {
1588
- const Q = k(g, I.__wbindgen_export, I.__wbindgen_export2), B = M, E = k(A, I.__wbindgen_export, I.__wbindgen_export2), D = M, o = k(C, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = I.transpile_value(Q, B, E, D, o, N);
1589
- return U(K);
1588
+ const Q = M(g, I.__wbindgen_export, I.__wbindgen_export2), B = k, E = M(A, I.__wbindgen_export, I.__wbindgen_export2), D = k, o = M(C, I.__wbindgen_export, I.__wbindgen_export2), N = k, K = I.transpile_value(Q, B, E, D, o, N);
1589
+ return H(K);
1590
1590
  }
1591
1591
  function pI(g, A) {
1592
1592
  let C, Q;
1593
1593
  try {
1594
- const D = I.__wbindgen_add_to_stack_pointer(-16), o = k(g, I.__wbindgen_export, I.__wbindgen_export2), N = M, K = k(A, I.__wbindgen_export, I.__wbindgen_export2), G = M;
1594
+ const D = I.__wbindgen_add_to_stack_pointer(-16), o = M(g, I.__wbindgen_export, I.__wbindgen_export2), N = k, K = M(A, I.__wbindgen_export, I.__wbindgen_export2), G = k;
1595
1595
  I.validate(D, o, N, K, G);
1596
1596
  var B = i().getInt32(D + 0, !0), E = i().getInt32(D + 4, !0);
1597
1597
  return C = B, Q = E, F(B, E);
@@ -1602,7 +1602,7 @@ function pI(g, A) {
1602
1602
  function OI(g, A, C) {
1603
1603
  let Q, B;
1604
1604
  try {
1605
- const o = I.__wbindgen_add_to_stack_pointer(-16), N = k(g, I.__wbindgen_export, I.__wbindgen_export2), K = M, G = k(A, I.__wbindgen_export, I.__wbindgen_export2), S = M, R = k(C, I.__wbindgen_export, I.__wbindgen_export2), q = M;
1605
+ const o = I.__wbindgen_add_to_stack_pointer(-16), N = M(g, I.__wbindgen_export, I.__wbindgen_export2), K = k, G = M(A, I.__wbindgen_export, I.__wbindgen_export2), S = k, R = M(C, I.__wbindgen_export, I.__wbindgen_export2), q = k;
1606
1606
  I.validate_with_options(o, N, K, G, S, R, q);
1607
1607
  var E = i().getInt32(o + 0, !0), D = i().getInt32(o + 4, !0);
1608
1608
  return Q = E, B = D, F(E, D);
@@ -1613,15 +1613,15 @@ function OI(g, A, C) {
1613
1613
  function yg(g, A, C, Q) {
1614
1614
  let B, E;
1615
1615
  try {
1616
- const N = I.__wbindgen_add_to_stack_pointer(-16), K = k(g, I.__wbindgen_export, I.__wbindgen_export2), G = M, S = k(A, I.__wbindgen_export, I.__wbindgen_export2), R = M, q = k(C, I.__wbindgen_export, I.__wbindgen_export2), T = M, e = k(Q, I.__wbindgen_export, I.__wbindgen_export2), v = M;
1617
- I.validate_with_schema(N, K, G, S, R, q, T, e, v);
1616
+ const N = I.__wbindgen_add_to_stack_pointer(-16), K = M(g, I.__wbindgen_export, I.__wbindgen_export2), G = k, S = M(A, I.__wbindgen_export, I.__wbindgen_export2), R = k, q = M(C, I.__wbindgen_export, I.__wbindgen_export2), P = k, l = M(Q, I.__wbindgen_export, I.__wbindgen_export2), v = k;
1617
+ I.validate_with_schema(N, K, G, S, R, q, P, l, v);
1618
1618
  var D = i().getInt32(N + 0, !0), o = i().getInt32(N + 4, !0);
1619
1619
  return B = D, E = o, F(D, o);
1620
1620
  } finally {
1621
1621
  I.__wbindgen_add_to_stack_pointer(16), I.__wbindgen_export4(B, E, 1);
1622
1622
  }
1623
1623
  }
1624
- function PI() {
1624
+ function TI() {
1625
1625
  let g, A;
1626
1626
  try {
1627
1627
  const B = I.__wbindgen_add_to_stack_pointer(-16);
@@ -1634,7 +1634,7 @@ function PI() {
1634
1634
  }
1635
1635
  function Gg(g, A) {
1636
1636
  h(g, y);
1637
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasm_alias(g.__wbg_ptr, C, Q);
1637
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k, B = I.wasm_alias(g.__wbg_ptr, C, Q);
1638
1638
  return y.__wrap(B);
1639
1639
  }
1640
1640
  function Yg(g, A) {
@@ -1649,15 +1649,15 @@ function hg(g) {
1649
1649
  function Sg(g) {
1650
1650
  h(g, y);
1651
1651
  const A = I.wasm_case_of(g.__wbg_ptr);
1652
- return l.__wrap(A);
1652
+ return u.__wrap(A);
1653
1653
  }
1654
1654
  function Jg(g, A) {
1655
1655
  h(g, y);
1656
- const C = k(A, I.__wbindgen_export, I.__wbindgen_export2), Q = M, B = I.wasm_cast(g.__wbg_ptr, C, Q);
1656
+ const C = M(A, I.__wbindgen_export, I.__wbindgen_export2), Q = k, B = I.wasm_cast(g.__wbg_ptr, C, Q);
1657
1657
  return y.__wrap(B);
1658
1658
  }
1659
- function UA(g) {
1660
- const A = k(g, I.__wbindgen_export, I.__wbindgen_export2), C = M, Q = I.wasm_col(A, C);
1659
+ function HA(g) {
1660
+ const A = M(g, I.__wbindgen_export, I.__wbindgen_export2), C = k, Q = I.wasm_col(A, C);
1661
1661
  return y.__wrap(Q);
1662
1662
  }
1663
1663
  function cg(g) {
@@ -1665,14 +1665,14 @@ function cg(g) {
1665
1665
  const A = I.wasm_count_distinct(g.__wbg_ptr);
1666
1666
  return y.__wrap(A);
1667
1667
  }
1668
- function Hg(g, A) {
1669
- const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
1668
+ function Ug(g, A) {
1669
+ const C = M(g, I.__wbindgen_export, I.__wbindgen_export2), Q = k;
1670
1670
  h(A, y);
1671
1671
  const B = I.wasm_extract(C, Q, A.__wbg_ptr);
1672
1672
  return y.__wrap(B);
1673
1673
  }
1674
- function Ug(g, A) {
1675
- const C = k(g, I.__wbindgen_export, I.__wbindgen_export2), Q = M;
1674
+ function Hg(g, A) {
1675
+ const C = M(g, I.__wbindgen_export, I.__wbindgen_export2), Q = k;
1676
1676
  h(A, O);
1677
1677
  const B = I.wasm_func(C, Q, A.__wbg_ptr);
1678
1678
  return y.__wrap(B);
@@ -1696,7 +1696,7 @@ function Lg(g, A) {
1696
1696
  return y.__wrap(C);
1697
1697
  }
1698
1698
  function Rg(g) {
1699
- const A = k(g, I.__wbindgen_export, I.__wbindgen_export2), C = M, Q = I.wasm_sql_expr(A, C);
1699
+ const A = M(g, I.__wbindgen_export, I.__wbindgen_export2), C = k, Q = I.wasm_sql_expr(A, C);
1700
1700
  return y.__wrap(Q);
1701
1701
  }
1702
1702
  function sg() {
@@ -1707,21 +1707,21 @@ function ag(g, A) {
1707
1707
  try {
1708
1708
  const E = I.__wbindgen_add_to_stack_pointer(-16);
1709
1709
  h(g, j);
1710
- const D = k(A, I.__wbindgen_export, I.__wbindgen_export2), o = M;
1710
+ const D = M(A, I.__wbindgen_export, I.__wbindgen_export2), o = k;
1711
1711
  I.wasm_subquery(E, g.__wbg_ptr, D, o);
1712
1712
  var C = i().getInt32(E + 0, !0), Q = i().getInt32(E + 4, !0), B = i().getInt32(E + 8, !0);
1713
1713
  if (B)
1714
- throw U(Q);
1714
+ throw H(Q);
1715
1715
  return y.__wrap(C);
1716
1716
  } finally {
1717
1717
  I.__wbindgen_add_to_stack_pointer(16);
1718
1718
  }
1719
1719
  }
1720
1720
  function qg(g) {
1721
- const A = k(g, I.__wbindgen_export, I.__wbindgen_export2), C = M, Q = I.wasm_table(A, C);
1721
+ const A = M(g, I.__wbindgen_export, I.__wbindgen_export2), C = k, Q = I.wasm_table(A, C);
1722
1722
  return y.__wrap(Q);
1723
1723
  }
1724
- function TI(g, A) {
1724
+ function PI(g, A) {
1725
1725
  const C = Error(F(g, A));
1726
1726
  return s(C);
1727
1727
  }
@@ -1729,7 +1729,7 @@ function jI(g) {
1729
1729
  return Number(c(g));
1730
1730
  }
1731
1731
  function dI(g, A) {
1732
- const C = String(c(A)), Q = k(C, I.__wbindgen_export, I.__wbindgen_export2), B = M;
1732
+ const C = String(c(A)), Q = M(C, I.__wbindgen_export, I.__wbindgen_export2), B = k;
1733
1733
  i().setInt32(g + 4, B, !0), i().setInt32(g + 0, Q, !0);
1734
1734
  }
1735
1735
  function VI(g, A) {
@@ -1741,7 +1741,7 @@ function tI(g) {
1741
1741
  return b(C) ? 16777215 : C ? 1 : 0;
1742
1742
  }
1743
1743
  function ZI(g, A) {
1744
- const C = cA(c(A)), Q = k(C, I.__wbindgen_export, I.__wbindgen_export2), B = M;
1744
+ const C = cA(c(A)), Q = M(C, I.__wbindgen_export, I.__wbindgen_export2), B = k;
1745
1745
  i().setInt32(g + 4, B, !0), i().setInt32(g + 0, Q, !0);
1746
1746
  }
1747
1747
  function zI(g, A) {
@@ -1753,20 +1753,20 @@ function xI(g) {
1753
1753
  function nI(g) {
1754
1754
  return typeof c(g) == "function";
1755
1755
  }
1756
- function fI(g) {
1756
+ function WI(g) {
1757
1757
  return c(g) === null;
1758
1758
  }
1759
- function WI(g) {
1759
+ function fI(g) {
1760
1760
  const A = c(g);
1761
1761
  return typeof A == "object" && A !== null;
1762
1762
  }
1763
- function eI(g) {
1763
+ function lI(g) {
1764
1764
  return typeof c(g) == "string";
1765
1765
  }
1766
- function uI(g) {
1766
+ function eI(g) {
1767
1767
  return c(g) === void 0;
1768
1768
  }
1769
- function lI(g, A) {
1769
+ function uI(g, A) {
1770
1770
  return c(g) === c(A);
1771
1771
  }
1772
1772
  function rI(g, A) {
@@ -1778,7 +1778,7 @@ function mI(g, A) {
1778
1778
  }
1779
1779
  function bI(g, A) {
1780
1780
  const C = c(A), Q = typeof C == "string" ? C : void 0;
1781
- var B = b(Q) ? 0 : k(Q, I.__wbindgen_export, I.__wbindgen_export2), E = M;
1781
+ var B = b(Q) ? 0 : M(Q, I.__wbindgen_export, I.__wbindgen_export2), E = k;
1782
1782
  i().setInt32(g + 4, E, !0), i().setInt32(g + 0, B, !0);
1783
1783
  }
1784
1784
  function vI(g, A) {
@@ -1862,10 +1862,10 @@ function iC(g) {
1862
1862
  function oC(g) {
1863
1863
  return Number.isSafeInteger(c(g));
1864
1864
  }
1865
- function MC() {
1865
+ function kC() {
1866
1866
  return s(Symbol.iterator);
1867
1867
  }
1868
- function kC(g) {
1868
+ function MC(g) {
1869
1869
  return c(g).length;
1870
1870
  }
1871
1871
  function NC(g) {
@@ -1903,21 +1903,21 @@ function cC(g) {
1903
1903
  const A = c(g).next;
1904
1904
  return s(A);
1905
1905
  }
1906
- function HC(g, A, C) {
1906
+ function UC(g, A, C) {
1907
1907
  Uint8Array.prototype.set.call(dC(g, A), c(C));
1908
1908
  }
1909
- function UC(g, A, C) {
1909
+ function HC(g, A, C) {
1910
1910
  const Q = c(g).set(c(A), c(C));
1911
1911
  return s(Q);
1912
1912
  }
1913
1913
  function FC(g, A, C) {
1914
- c(g)[U(A)] = U(C);
1914
+ c(g)[H(A)] = H(C);
1915
1915
  }
1916
1916
  function LC(g, A, C) {
1917
- c(g)[A >>> 0] = U(C);
1917
+ c(g)[A >>> 0] = H(C);
1918
1918
  }
1919
1919
  function RC(g, A) {
1920
- const C = c(A).stack, Q = k(C, I.__wbindgen_export, I.__wbindgen_export2), B = M;
1920
+ const C = c(A).stack, Q = M(C, I.__wbindgen_export, I.__wbindgen_export2), B = k;
1921
1921
  i().setInt32(g + 4, B, !0), i().setInt32(g + 0, Q, !0);
1922
1922
  }
1923
1923
  function sC(g) {
@@ -1938,12 +1938,12 @@ function OC(g) {
1938
1938
  const A = BigInt.asUintN(64, g);
1939
1939
  return s(A);
1940
1940
  }
1941
- function PC(g) {
1941
+ function TC(g) {
1942
1942
  const A = c(g);
1943
1943
  return s(A);
1944
1944
  }
1945
- function TC(g) {
1946
- U(g);
1945
+ function PC(g) {
1946
+ H(g);
1947
1947
  }
1948
1948
  const ZA = typeof FinalizationRegistry > "u" ? { register: () => {
1949
1949
  }, unregister: () => {
@@ -1955,15 +1955,15 @@ const ZA = typeof FinalizationRegistry > "u" ? { register: () => {
1955
1955
  }, unregister: () => {
1956
1956
  } } : new FinalizationRegistry((g) => I.__wbg_wasmexpr_free(g >>> 0, 1)), nA = typeof FinalizationRegistry > "u" ? { register: () => {
1957
1957
  }, unregister: () => {
1958
- } } : new FinalizationRegistry((g) => I.__wbg_wasmexprarray_free(g >>> 0, 1)), fA = typeof FinalizationRegistry > "u" ? { register: () => {
1958
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmexprarray_free(g >>> 0, 1)), WA = typeof FinalizationRegistry > "u" ? { register: () => {
1959
1959
  }, unregister: () => {
1960
- } } : new FinalizationRegistry((g) => I.__wbg_wasminsertbuilder_free(g >>> 0, 1)), WA = typeof FinalizationRegistry > "u" ? { register: () => {
1960
+ } } : new FinalizationRegistry((g) => I.__wbg_wasminsertbuilder_free(g >>> 0, 1)), fA = typeof FinalizationRegistry > "u" ? { register: () => {
1961
1961
  }, unregister: () => {
1962
- } } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)), eA = typeof FinalizationRegistry > "u" ? { register: () => {
1962
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmmergebuilder_free(g >>> 0, 1)), lA = typeof FinalizationRegistry > "u" ? { register: () => {
1963
1963
  }, unregister: () => {
1964
- } } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)), uA = typeof FinalizationRegistry > "u" ? { register: () => {
1964
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmselectbuilder_free(g >>> 0, 1)), eA = typeof FinalizationRegistry > "u" ? { register: () => {
1965
1965
  }, unregister: () => {
1966
- } } : new FinalizationRegistry((g) => I.__wbg_wasmsetopbuilder_free(g >>> 0, 1)), lA = typeof FinalizationRegistry > "u" ? { register: () => {
1966
+ } } : new FinalizationRegistry((g) => I.__wbg_wasmsetopbuilder_free(g >>> 0, 1)), uA = typeof FinalizationRegistry > "u" ? { register: () => {
1967
1967
  }, unregister: () => {
1968
1968
  } } : new FinalizationRegistry((g) => I.__wbg_wasmupdatebuilder_free(g >>> 0, 1)), rA = typeof FinalizationRegistry > "u" ? { register: () => {
1969
1969
  }, unregister: () => {
@@ -2051,12 +2051,12 @@ function FA(g, A) {
2051
2051
  const C = A(g.length * 4, 4) >>> 0, Q = i();
2052
2052
  for (let B = 0; B < g.length; B++)
2053
2053
  Q.setUint32(C + 4 * B, s(g[B]), !0);
2054
- return M = g.length, C;
2054
+ return k = g.length, C;
2055
2055
  }
2056
- function k(g, A, C) {
2056
+ function M(g, A, C) {
2057
2057
  if (C === void 0) {
2058
2058
  const o = gA.encode(g), N = A(o.length, 1) >>> 0;
2059
- return $().subarray(N, N + o.length).set(o), M = o.length, N;
2059
+ return $().subarray(N, N + o.length).set(o), k = o.length, N;
2060
2060
  }
2061
2061
  let Q = g.length, B = A(Q, 1) >>> 0;
2062
2062
  const E = $();
@@ -2071,9 +2071,9 @@ function k(g, A, C) {
2071
2071
  const o = $().subarray(B + D, B + Q), N = gA.encodeInto(g, o);
2072
2072
  D += N.written, B = C(B, Q, D, 1) >>> 0;
2073
2073
  }
2074
- return M = D, B;
2074
+ return k = D, B;
2075
2075
  }
2076
- function U(g) {
2076
+ function H(g) {
2077
2077
  const A = c(g);
2078
2078
  return jC(g), A;
2079
2079
  }
@@ -2092,14 +2092,14 @@ const gA = new TextEncoder();
2092
2092
  written: C.length
2093
2093
  };
2094
2094
  });
2095
- let M = 0, I;
2095
+ let k = 0, I;
2096
2096
  function ZC(g) {
2097
2097
  I = g;
2098
2098
  }
2099
2099
  URL = globalThis.URL;
2100
2100
  const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2101
- __wbindgen_object_drop_ref: TC,
2102
- __wbindgen_object_clone_ref: PC,
2101
+ __wbindgen_object_drop_ref: PC,
2102
+ __wbindgen_object_clone_ref: TC,
2103
2103
  __wbg_new_8a6f238a6ece86ea: YC,
2104
2104
  __wbg_stack_0ed75d68575b0f3c: RC,
2105
2105
  __wbg_error_7534b8e9a36f1ab4: gC,
@@ -2107,15 +2107,15 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2107
2107
  __wbg_set_3f1d0b984ed272ed: FC,
2108
2108
  __wbg_String_8f0eb39a4a4c2f66: dI,
2109
2109
  __wbg_new_dd2b680c8bf6ae29: SC,
2110
- __wbg_length_32ed9a279acd054c: kC,
2111
- __wbg_prototypesetcall_bdcdcc5842e4d77d: HC,
2110
+ __wbg_length_32ed9a279acd054c: MC,
2111
+ __wbg_prototypesetcall_bdcdcc5842e4d77d: UC,
2112
2112
  __wbg_done_57b39ecd9addfe81: $I,
2113
2113
  __wbg_value_0546255b415e96c1: sC,
2114
2114
  __wbg_instanceof_Map_53af74335dec57f4: DC,
2115
2115
  __wbg_instanceof_Uint8Array_9b9075935c74707c: wC,
2116
2116
  __wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: EC,
2117
2117
  __wbg_new_dca287b076112a51: hC,
2118
- __wbg_set_1eb0999cf5d27fc8: UC,
2118
+ __wbg_set_1eb0999cf5d27fc8: HC,
2119
2119
  __wbg_get_9b94d73e6221f75c: CC,
2120
2120
  __wbg_new_3eb36ae241fe6f44: GC,
2121
2121
  __wbg_set_f43e577aea94465b: LC,
@@ -2124,7 +2124,7 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2124
2124
  __wbg_isSafeInteger_bfbc7332a9768d2a: oC,
2125
2125
  __wbg_new_361308b2356cecd0: yC,
2126
2126
  __wbg_entries_58c7934c745daac7: AC,
2127
- __wbg_iterator_6ff6560ca1568e55: MC,
2127
+ __wbg_iterator_6ff6560ca1568e55: kC,
2128
2128
  __wbg_get_b3ed3ad4be2bc8ac: QC,
2129
2129
  __wbg_call_389efe28435a9388: XI,
2130
2130
  __wbg_next_418f80d8f5303233: cC,
@@ -2134,18 +2134,18 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2134
2134
  __wbg_length_68dc7c5cf1b6d349: KC,
2135
2135
  __wbg___wbindgen_in_47fa6863be6f2f25: zI,
2136
2136
  __wbg___wbindgen_throw_be289d5034ed271b: vI,
2137
- __wbg___wbindgen_is_null_ac34f5003991759a: fI,
2138
- __wbg___wbindgen_jsval_eq_11888390b0186270: lI,
2137
+ __wbg___wbindgen_is_null_ac34f5003991759a: WI,
2138
+ __wbg___wbindgen_jsval_eq_11888390b0186270: uI,
2139
2139
  __wbg_Number_04624de7d0e8332d: jI,
2140
- __wbg_Error_8c4e43fe74559d73: TI,
2140
+ __wbg_Error_8c4e43fe74559d73: PI,
2141
2141
  __wbg___wbindgen_is_bigint_31b12575b56f32fc: xI,
2142
- __wbg___wbindgen_is_object_5ae8e5880f2c1fbd: WI,
2143
- __wbg___wbindgen_is_string_cd444516edc5b180: eI,
2142
+ __wbg___wbindgen_is_object_5ae8e5880f2c1fbd: fI,
2143
+ __wbg___wbindgen_is_string_cd444516edc5b180: lI,
2144
2144
  __wbg___wbindgen_number_get_8ff4255516ccad3e: mI,
2145
2145
  __wbg___wbindgen_string_get_72fb696202c56729: bI,
2146
2146
  __wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: tI,
2147
2147
  __wbg___wbindgen_is_function_0095a73b8b156f76: nI,
2148
- __wbg___wbindgen_is_undefined_9e4d92534c42d778: uI,
2148
+ __wbg___wbindgen_is_undefined_9e4d92534c42d778: eI,
2149
2149
  __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: rI,
2150
2150
  __wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: VI,
2151
2151
  __wbg___wbindgen_debug_string_0bc8482c6e3508ae: ZI,
@@ -2153,15 +2153,15 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2153
2153
  __wbindgen_cast_0000000000000002: qC,
2154
2154
  __wbindgen_cast_0000000000000003: pC,
2155
2155
  __wbindgen_cast_0000000000000004: OC
2156
- } }, kI), zC = w.memory, xC = w.__wbg_wasmassignmentarray_free, nC = w.__wbg_wasmcasebuilder_free, fC = w.__wbg_wasmdeletebuilder_free, WC = w.__wbg_wasmexpr_free, eC = w.__wbg_wasmexprarray_free, uC = w.__wbg_wasminsertbuilder_free, lC = w.__wbg_wasmmergebuilder_free, rC = w.__wbg_wasmselectbuilder_free, mC = w.__wbg_wasmsetopbuilder_free, bC = w.__wbg_wasmupdatebuilder_free, vC = w.__wbg_wasmwindowdefbuilder_free, XC = w.annotate_types, _C = w.annotate_types_value, $C = w.ast_add_where, AQ = w.ast_get_aggregate_functions, gQ = w.ast_get_column_names, IQ = w.ast_get_functions, CQ = w.ast_get_literals, QQ = w.ast_get_subqueries, BQ = w.ast_get_table_names, EQ = w.ast_get_window_functions, DQ = w.ast_node_count, wQ = w.ast_qualify_columns, iQ = w.ast_remove_where, oQ = w.ast_rename_columns, MQ = w.ast_rename_tables, kQ = w.ast_set_distinct, NQ = w.ast_set_limit, KQ = w.diff_sql, yQ = w.format_sql, GQ = w.format_sql_value, YQ = w.format_sql_with_options, hQ = w.format_sql_with_options_value, SQ = w.generate, JQ = w.generate_value, cQ = w.get_dialects, HQ = w.get_dialects_value, UQ = w.lineage_sql, FQ = w.lineage_sql_with_schema, LQ = w.parse, RQ = w.parse_value, sQ = w.plan, aQ = w.source_tables, qQ = w.tokenize, pQ = w.tokenize_value, OQ = w.transpile, PQ = w.transpile_value, TQ = w.validate, jQ = w.validate_with_options, dQ = w.validate_with_schema, VQ = w.version, tQ = w.wasm_alias, ZQ = w.wasm_and, zQ = w.wasm_boolean, xQ = w.wasm_case_of, nQ = w.wasm_cast, fQ = w.wasm_col, WQ = w.wasm_count_distinct, eQ = w.wasm_extract, uQ = w.wasm_func, lQ = w.wasm_lit, rQ = w.wasm_not, mQ = w.wasm_null, bQ = w.wasm_or, vQ = w.wasm_sql_expr, XQ = w.wasm_star, _Q = w.wasm_subquery, $Q = w.wasm_table, AB = w.wasmassignmentarray_len, gB = w.wasmassignmentarray_new, IB = w.wasmassignmentarray_push, CB = w.wasmcasebuilder_build_expr, QB = w.wasmcasebuilder_else_, BB = w.wasmcasebuilder_new, EB = w.wasmcasebuilder_to_sql, DB = w.wasmcasebuilder_when, wB = w.wasmdeletebuilder_build, iB = w.wasmdeletebuilder_new, oB = w.wasmdeletebuilder_to_sql, MB = w.wasmdeletebuilder_where_expr, kB = w.wasmexpr_add, NB = w.wasmexpr_alias, KB = w.wasmexpr_and, yB = w.wasmexpr_asc, GB = w.wasmexpr_between, YB = w.wasmexpr_cast, hB = w.wasmexpr_desc, SB = w.wasmexpr_div, JB = w.wasmexpr_eq, cB = w.wasmexpr_gt, HB = w.wasmexpr_gte, UB = w.wasmexpr_ilike, FB = w.wasmexpr_in_list, LB = w.wasmexpr_is_not_null, RB = w.wasmexpr_is_null, sB = w.wasmexpr_like, aB = w.wasmexpr_lt, qB = w.wasmexpr_lte, pB = w.wasmexpr_mul, OB = w.wasmexpr_neq, PB = w.wasmexpr_not, TB = w.wasmexpr_not_in, jB = w.wasmexpr_or, dB = w.wasmexpr_rlike, VB = w.wasmexpr_sub, tB = w.wasmexpr_to_json, ZB = w.wasmexpr_to_sql, zB = w.wasmexpr_xor, xB = w.wasmexprarray_len, nB = w.wasmexprarray_push, fB = w.wasmexprarray_push_col, WB = w.wasmexprarray_push_float, eB = w.wasmexprarray_push_int, uB = w.wasmexprarray_push_star, lB = w.wasmexprarray_push_str, rB = w.wasminsertbuilder_build, mB = w.wasminsertbuilder_columns, bB = w.wasminsertbuilder_new, vB = w.wasminsertbuilder_query, XB = w.wasminsertbuilder_to_sql, _B = w.wasminsertbuilder_values, $B = w.wasmmergebuilder_build, AE = w.wasmmergebuilder_new, gE = w.wasmmergebuilder_to_sql, IE = w.wasmmergebuilder_using, CE = w.wasmmergebuilder_when_matched_delete, QE = w.wasmmergebuilder_when_matched_update, BE = w.wasmmergebuilder_when_not_matched_insert, EE = w.wasmselectbuilder_build, DE = w.wasmselectbuilder_cross_join, wE = w.wasmselectbuilder_ctas, iE = w.wasmselectbuilder_ctas_sql, oE = w.wasmselectbuilder_distinct, ME = w.wasmselectbuilder_except_, kE = w.wasmselectbuilder_for_update, NE = w.wasmselectbuilder_from, KE = w.wasmselectbuilder_from_expr, yE = w.wasmselectbuilder_group_by_cols, GE = w.wasmselectbuilder_having, YE = w.wasmselectbuilder_hint, hE = w.wasmselectbuilder_intersect, SE = w.wasmselectbuilder_join, JE = w.wasmselectbuilder_lateral_view, cE = w.wasmselectbuilder_left_join, HE = w.wasmselectbuilder_limit, UE = w.wasmselectbuilder_new, FE = w.wasmselectbuilder_offset, LE = w.wasmselectbuilder_order_by_exprs, RE = w.wasmselectbuilder_qualify, sE = w.wasmselectbuilder_right_join, aE = w.wasmselectbuilder_select_col, qE = w.wasmselectbuilder_select_expr, pE = w.wasmselectbuilder_select_exprs, OE = w.wasmselectbuilder_select_star, PE = w.wasmselectbuilder_sort_by_exprs, TE = w.wasmselectbuilder_to_sql, jE = w.wasmselectbuilder_union, dE = w.wasmselectbuilder_union_all, VE = w.wasmselectbuilder_where_expr, tE = w.wasmselectbuilder_where_sql, ZE = w.wasmselectbuilder_window, zE = w.wasmsetopbuilder_build, xE = w.wasmsetopbuilder_limit, nE = w.wasmsetopbuilder_offset, fE = w.wasmsetopbuilder_order_by_exprs, WE = w.wasmsetopbuilder_to_sql, eE = w.wasmupdatebuilder_build, uE = w.wasmupdatebuilder_from, lE = w.wasmupdatebuilder_new, rE = w.wasmupdatebuilder_set, mE = w.wasmupdatebuilder_to_sql, bE = w.wasmupdatebuilder_where_expr, vE = w.wasmwindowdefbuilder_new, XE = w.wasmwindowdefbuilder_order_by, _E = w.wasmwindowdefbuilder_partition_by, $E = w.wasmexprarray_new, AD = w.__wbindgen_export, gD = w.__wbindgen_export2, ID = w.__wbindgen_export3, CD = w.__wbindgen_export4, QD = w.__wbindgen_add_to_stack_pointer, BD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2156
+ } }, MI), zC = w.memory, xC = w.__wbg_wasmassignmentarray_free, nC = w.__wbg_wasmcasebuilder_free, WC = w.__wbg_wasmdeletebuilder_free, fC = w.__wbg_wasmexpr_free, lC = w.__wbg_wasmexprarray_free, eC = w.__wbg_wasminsertbuilder_free, uC = w.__wbg_wasmmergebuilder_free, rC = w.__wbg_wasmselectbuilder_free, mC = w.__wbg_wasmsetopbuilder_free, bC = w.__wbg_wasmupdatebuilder_free, vC = w.__wbg_wasmwindowdefbuilder_free, XC = w.annotate_types, _C = w.annotate_types_value, $C = w.ast_add_where, AQ = w.ast_get_aggregate_functions, gQ = w.ast_get_column_names, IQ = w.ast_get_functions, CQ = w.ast_get_literals, QQ = w.ast_get_subqueries, BQ = w.ast_get_table_names, EQ = w.ast_get_window_functions, DQ = w.ast_node_count, wQ = w.ast_qualify_columns, iQ = w.ast_remove_where, oQ = w.ast_rename_columns, kQ = w.ast_rename_tables, MQ = w.ast_set_distinct, NQ = w.ast_set_limit, KQ = w.diff_sql, yQ = w.format_sql, GQ = w.format_sql_value, YQ = w.format_sql_with_options, hQ = w.format_sql_with_options_value, SQ = w.generate, JQ = w.generate_value, cQ = w.get_dialects, UQ = w.get_dialects_value, HQ = w.lineage_sql, FQ = w.lineage_sql_with_schema, LQ = w.parse, RQ = w.parse_value, sQ = w.plan, aQ = w.source_tables, qQ = w.tokenize, pQ = w.tokenize_value, OQ = w.transpile, TQ = w.transpile_value, PQ = w.validate, jQ = w.validate_with_options, dQ = w.validate_with_schema, VQ = w.version, tQ = w.wasm_alias, ZQ = w.wasm_and, zQ = w.wasm_boolean, xQ = w.wasm_case_of, nQ = w.wasm_cast, WQ = w.wasm_col, fQ = w.wasm_count_distinct, lQ = w.wasm_extract, eQ = w.wasm_func, uQ = w.wasm_lit, rQ = w.wasm_not, mQ = w.wasm_null, bQ = w.wasm_or, vQ = w.wasm_sql_expr, XQ = w.wasm_star, _Q = w.wasm_subquery, $Q = w.wasm_table, AB = w.wasmassignmentarray_len, gB = w.wasmassignmentarray_new, IB = w.wasmassignmentarray_push, CB = w.wasmcasebuilder_build_expr, QB = w.wasmcasebuilder_else_, BB = w.wasmcasebuilder_new, EB = w.wasmcasebuilder_to_sql, DB = w.wasmcasebuilder_when, wB = w.wasmdeletebuilder_build, iB = w.wasmdeletebuilder_new, oB = w.wasmdeletebuilder_to_sql, kB = w.wasmdeletebuilder_where_expr, MB = w.wasmexpr_add, NB = w.wasmexpr_alias, KB = w.wasmexpr_and, yB = w.wasmexpr_asc, GB = w.wasmexpr_between, YB = w.wasmexpr_cast, hB = w.wasmexpr_desc, SB = w.wasmexpr_div, JB = w.wasmexpr_eq, cB = w.wasmexpr_gt, UB = w.wasmexpr_gte, HB = w.wasmexpr_ilike, FB = w.wasmexpr_in_list, LB = w.wasmexpr_is_not_null, RB = w.wasmexpr_is_null, sB = w.wasmexpr_like, aB = w.wasmexpr_lt, qB = w.wasmexpr_lte, pB = w.wasmexpr_mul, OB = w.wasmexpr_neq, TB = w.wasmexpr_not, PB = w.wasmexpr_not_in, jB = w.wasmexpr_or, dB = w.wasmexpr_rlike, VB = w.wasmexpr_sub, tB = w.wasmexpr_to_json, ZB = w.wasmexpr_to_sql, zB = w.wasmexpr_xor, xB = w.wasmexprarray_len, nB = w.wasmexprarray_push, WB = w.wasmexprarray_push_col, fB = w.wasmexprarray_push_float, lB = w.wasmexprarray_push_int, eB = w.wasmexprarray_push_star, uB = w.wasmexprarray_push_str, rB = w.wasminsertbuilder_build, mB = w.wasminsertbuilder_columns, bB = w.wasminsertbuilder_new, vB = w.wasminsertbuilder_query, XB = w.wasminsertbuilder_to_sql, _B = w.wasminsertbuilder_values, $B = w.wasmmergebuilder_build, AE = w.wasmmergebuilder_new, gE = w.wasmmergebuilder_to_sql, IE = w.wasmmergebuilder_using, CE = w.wasmmergebuilder_when_matched_delete, QE = w.wasmmergebuilder_when_matched_update, BE = w.wasmmergebuilder_when_not_matched_insert, EE = w.wasmselectbuilder_build, DE = w.wasmselectbuilder_cross_join, wE = w.wasmselectbuilder_ctas, iE = w.wasmselectbuilder_ctas_sql, oE = w.wasmselectbuilder_distinct, kE = w.wasmselectbuilder_except_, ME = w.wasmselectbuilder_for_update, NE = w.wasmselectbuilder_from, KE = w.wasmselectbuilder_from_expr, yE = w.wasmselectbuilder_group_by_cols, GE = w.wasmselectbuilder_having, YE = w.wasmselectbuilder_hint, hE = w.wasmselectbuilder_intersect, SE = w.wasmselectbuilder_join, JE = w.wasmselectbuilder_lateral_view, cE = w.wasmselectbuilder_left_join, UE = w.wasmselectbuilder_limit, HE = w.wasmselectbuilder_new, FE = w.wasmselectbuilder_offset, LE = w.wasmselectbuilder_order_by_exprs, RE = w.wasmselectbuilder_qualify, sE = w.wasmselectbuilder_right_join, aE = w.wasmselectbuilder_select_col, qE = w.wasmselectbuilder_select_expr, pE = w.wasmselectbuilder_select_exprs, OE = w.wasmselectbuilder_select_star, TE = w.wasmselectbuilder_sort_by_exprs, PE = w.wasmselectbuilder_to_sql, jE = w.wasmselectbuilder_union, dE = w.wasmselectbuilder_union_all, VE = w.wasmselectbuilder_where_expr, tE = w.wasmselectbuilder_where_sql, ZE = w.wasmselectbuilder_window, zE = w.wasmsetopbuilder_build, xE = w.wasmsetopbuilder_limit, nE = w.wasmsetopbuilder_offset, WE = w.wasmsetopbuilder_order_by_exprs, fE = w.wasmsetopbuilder_to_sql, lE = w.wasmupdatebuilder_build, eE = w.wasmupdatebuilder_from, uE = w.wasmupdatebuilder_new, rE = w.wasmupdatebuilder_set, mE = w.wasmupdatebuilder_to_sql, bE = w.wasmupdatebuilder_where_expr, vE = w.wasmwindowdefbuilder_new, XE = w.wasmwindowdefbuilder_order_by, _E = w.wasmwindowdefbuilder_partition_by, $E = w.wasmexprarray_new, AD = w.__wbindgen_export, gD = w.__wbindgen_export2, ID = w.__wbindgen_export3, CD = w.__wbindgen_export4, QD = w.__wbindgen_add_to_stack_pointer, BD = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2157
2157
  __proto__: null,
2158
2158
  __wbg_wasmassignmentarray_free: xC,
2159
2159
  __wbg_wasmcasebuilder_free: nC,
2160
- __wbg_wasmdeletebuilder_free: fC,
2161
- __wbg_wasmexpr_free: WC,
2162
- __wbg_wasmexprarray_free: eC,
2163
- __wbg_wasminsertbuilder_free: uC,
2164
- __wbg_wasmmergebuilder_free: lC,
2160
+ __wbg_wasmdeletebuilder_free: WC,
2161
+ __wbg_wasmexpr_free: fC,
2162
+ __wbg_wasmexprarray_free: lC,
2163
+ __wbg_wasminsertbuilder_free: eC,
2164
+ __wbg_wasmmergebuilder_free: uC,
2165
2165
  __wbg_wasmselectbuilder_free: rC,
2166
2166
  __wbg_wasmsetopbuilder_free: mC,
2167
2167
  __wbg_wasmupdatebuilder_free: bC,
@@ -2185,8 +2185,8 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2185
2185
  ast_qualify_columns: wQ,
2186
2186
  ast_remove_where: iQ,
2187
2187
  ast_rename_columns: oQ,
2188
- ast_rename_tables: MQ,
2189
- ast_set_distinct: kQ,
2188
+ ast_rename_tables: kQ,
2189
+ ast_set_distinct: MQ,
2190
2190
  ast_set_limit: NQ,
2191
2191
  diff_sql: KQ,
2192
2192
  format_sql: yQ,
@@ -2196,8 +2196,8 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2196
2196
  generate: SQ,
2197
2197
  generate_value: JQ,
2198
2198
  get_dialects: cQ,
2199
- get_dialects_value: HQ,
2200
- lineage_sql: UQ,
2199
+ get_dialects_value: UQ,
2200
+ lineage_sql: HQ,
2201
2201
  lineage_sql_with_schema: FQ,
2202
2202
  memory: zC,
2203
2203
  parse: LQ,
@@ -2207,8 +2207,8 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2207
2207
  tokenize: qQ,
2208
2208
  tokenize_value: pQ,
2209
2209
  transpile: OQ,
2210
- transpile_value: PQ,
2211
- validate: TQ,
2210
+ transpile_value: TQ,
2211
+ validate: PQ,
2212
2212
  validate_with_options: jQ,
2213
2213
  validate_with_schema: dQ,
2214
2214
  version: VQ,
@@ -2217,11 +2217,11 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2217
2217
  wasm_boolean: zQ,
2218
2218
  wasm_case_of: xQ,
2219
2219
  wasm_cast: nQ,
2220
- wasm_col: fQ,
2221
- wasm_count_distinct: WQ,
2222
- wasm_extract: eQ,
2223
- wasm_func: uQ,
2224
- wasm_lit: lQ,
2220
+ wasm_col: WQ,
2221
+ wasm_count_distinct: fQ,
2222
+ wasm_extract: lQ,
2223
+ wasm_func: eQ,
2224
+ wasm_lit: uQ,
2225
2225
  wasm_not: rQ,
2226
2226
  wasm_null: mQ,
2227
2227
  wasm_or: bQ,
@@ -2240,8 +2240,8 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2240
2240
  wasmdeletebuilder_build: wB,
2241
2241
  wasmdeletebuilder_new: iB,
2242
2242
  wasmdeletebuilder_to_sql: oB,
2243
- wasmdeletebuilder_where_expr: MB,
2244
- wasmexpr_add: kB,
2243
+ wasmdeletebuilder_where_expr: kB,
2244
+ wasmexpr_add: MB,
2245
2245
  wasmexpr_alias: NB,
2246
2246
  wasmexpr_and: KB,
2247
2247
  wasmexpr_asc: yB,
@@ -2251,8 +2251,8 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2251
2251
  wasmexpr_div: SB,
2252
2252
  wasmexpr_eq: JB,
2253
2253
  wasmexpr_gt: cB,
2254
- wasmexpr_gte: HB,
2255
- wasmexpr_ilike: UB,
2254
+ wasmexpr_gte: UB,
2255
+ wasmexpr_ilike: HB,
2256
2256
  wasmexpr_in_list: FB,
2257
2257
  wasmexpr_is_not_null: LB,
2258
2258
  wasmexpr_is_null: RB,
@@ -2261,8 +2261,8 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2261
2261
  wasmexpr_lte: qB,
2262
2262
  wasmexpr_mul: pB,
2263
2263
  wasmexpr_neq: OB,
2264
- wasmexpr_not: PB,
2265
- wasmexpr_not_in: TB,
2264
+ wasmexpr_not: TB,
2265
+ wasmexpr_not_in: PB,
2266
2266
  wasmexpr_or: jB,
2267
2267
  wasmexpr_rlike: dB,
2268
2268
  wasmexpr_sub: VB,
@@ -2272,11 +2272,11 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2272
2272
  wasmexprarray_len: xB,
2273
2273
  wasmexprarray_new: $E,
2274
2274
  wasmexprarray_push: nB,
2275
- wasmexprarray_push_col: fB,
2276
- wasmexprarray_push_float: WB,
2277
- wasmexprarray_push_int: eB,
2278
- wasmexprarray_push_star: uB,
2279
- wasmexprarray_push_str: lB,
2275
+ wasmexprarray_push_col: WB,
2276
+ wasmexprarray_push_float: fB,
2277
+ wasmexprarray_push_int: lB,
2278
+ wasmexprarray_push_star: eB,
2279
+ wasmexprarray_push_str: uB,
2280
2280
  wasminsertbuilder_build: rB,
2281
2281
  wasminsertbuilder_columns: mB,
2282
2282
  wasminsertbuilder_new: bB,
@@ -2295,8 +2295,8 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2295
2295
  wasmselectbuilder_ctas: wE,
2296
2296
  wasmselectbuilder_ctas_sql: iE,
2297
2297
  wasmselectbuilder_distinct: oE,
2298
- wasmselectbuilder_except_: ME,
2299
- wasmselectbuilder_for_update: kE,
2298
+ wasmselectbuilder_except_: kE,
2299
+ wasmselectbuilder_for_update: ME,
2300
2300
  wasmselectbuilder_from: NE,
2301
2301
  wasmselectbuilder_from_expr: KE,
2302
2302
  wasmselectbuilder_group_by_cols: yE,
@@ -2306,8 +2306,8 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2306
2306
  wasmselectbuilder_join: SE,
2307
2307
  wasmselectbuilder_lateral_view: JE,
2308
2308
  wasmselectbuilder_left_join: cE,
2309
- wasmselectbuilder_limit: HE,
2310
- wasmselectbuilder_new: UE,
2309
+ wasmselectbuilder_limit: UE,
2310
+ wasmselectbuilder_new: HE,
2311
2311
  wasmselectbuilder_offset: FE,
2312
2312
  wasmselectbuilder_order_by_exprs: LE,
2313
2313
  wasmselectbuilder_qualify: RE,
@@ -2316,8 +2316,8 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2316
2316
  wasmselectbuilder_select_expr: qE,
2317
2317
  wasmselectbuilder_select_exprs: pE,
2318
2318
  wasmselectbuilder_select_star: OE,
2319
- wasmselectbuilder_sort_by_exprs: PE,
2320
- wasmselectbuilder_to_sql: TE,
2319
+ wasmselectbuilder_sort_by_exprs: TE,
2320
+ wasmselectbuilder_to_sql: PE,
2321
2321
  wasmselectbuilder_union: jE,
2322
2322
  wasmselectbuilder_union_all: dE,
2323
2323
  wasmselectbuilder_where_expr: VE,
@@ -2326,11 +2326,11 @@ const w = await NI({ "./polyglot_sql_wasm_bg.js": {
2326
2326
  wasmsetopbuilder_build: zE,
2327
2327
  wasmsetopbuilder_limit: xE,
2328
2328
  wasmsetopbuilder_offset: nE,
2329
- wasmsetopbuilder_order_by_exprs: fE,
2330
- wasmsetopbuilder_to_sql: WE,
2331
- wasmupdatebuilder_build: eE,
2332
- wasmupdatebuilder_from: uE,
2333
- wasmupdatebuilder_new: lE,
2329
+ wasmsetopbuilder_order_by_exprs: WE,
2330
+ wasmsetopbuilder_to_sql: fE,
2331
+ wasmupdatebuilder_build: lE,
2332
+ wasmupdatebuilder_from: eE,
2333
+ wasmupdatebuilder_new: uE,
2334
2334
  wasmupdatebuilder_set: rE,
2335
2335
  wasmupdatebuilder_to_sql: mE,
2336
2336
  wasmupdatebuilder_where_expr: bE,
@@ -2342,15 +2342,15 @@ ZC(BD);
2342
2342
  const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2343
2343
  __proto__: null,
2344
2344
  WasmAssignmentArray: CA,
2345
- WasmCaseBuilder: l,
2345
+ WasmCaseBuilder: u,
2346
2346
  WasmDeleteBuilder: iA,
2347
2347
  WasmExpr: y,
2348
2348
  WasmExprArray: O,
2349
2349
  WasmInsertBuilder: oA,
2350
- WasmMergeBuilder: MA,
2350
+ WasmMergeBuilder: kA,
2351
2351
  WasmSelectBuilder: j,
2352
2352
  WasmSetOpBuilder: z,
2353
- WasmUpdateBuilder: kA,
2353
+ WasmUpdateBuilder: MA,
2354
2354
  WasmWindowDefBuilder: QA,
2355
2355
  annotate_types: KI,
2356
2356
  annotate_types_value: yI,
@@ -2376,10 +2376,10 @@ const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2376
2376
  format_sql_with_options_value: SI,
2377
2377
  generate: JI,
2378
2378
  generate_value: cI,
2379
- get_dialects: HI,
2380
- get_dialects_value: UI,
2381
- lineage_sql: Mg,
2382
- lineage_sql_with_schema: kg,
2379
+ get_dialects: UI,
2380
+ get_dialects_value: HI,
2381
+ lineage_sql: kg,
2382
+ lineage_sql_with_schema: Mg,
2383
2383
  parse: FI,
2384
2384
  parse_value: LI,
2385
2385
  plan: Ng,
@@ -2391,16 +2391,16 @@ const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2391
2391
  validate: pI,
2392
2392
  validate_with_options: OI,
2393
2393
  validate_with_schema: yg,
2394
- version: PI,
2394
+ version: TI,
2395
2395
  wasm_alias: Gg,
2396
2396
  wasm_and: Yg,
2397
2397
  wasm_boolean: hg,
2398
2398
  wasm_case_of: Sg,
2399
2399
  wasm_cast: Jg,
2400
- wasm_col: UA,
2400
+ wasm_col: HA,
2401
2401
  wasm_count_distinct: cg,
2402
- wasm_extract: Hg,
2403
- wasm_func: Ug,
2402
+ wasm_extract: Ug,
2403
+ wasm_func: Hg,
2404
2404
  wasm_lit: NA,
2405
2405
  wasm_not: Fg,
2406
2406
  wasm_null: KA,
@@ -2413,7 +2413,7 @@ const pg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2413
2413
  function p(g) {
2414
2414
  return Object.keys(g)[0];
2415
2415
  }
2416
- function P(g) {
2416
+ function T(g) {
2417
2417
  const A = Object.keys(g)[0];
2418
2418
  return g[A];
2419
2419
  }
@@ -2429,7 +2429,7 @@ function t(g, A) {
2429
2429
  return { [g]: A };
2430
2430
  }
2431
2431
  function Og(g) {
2432
- const A = P(g);
2432
+ const A = T(g);
2433
2433
  if (A && typeof A == "object" && "inferred_type" in A) {
2434
2434
  const C = A.inferred_type;
2435
2435
  if (C != null)
@@ -2439,7 +2439,7 @@ function Og(g) {
2439
2439
  function Y(g) {
2440
2440
  return (A) => g in A;
2441
2441
  }
2442
- const Pg = Y("select"), ED = Y("insert"), DD = Y("update"), wD = Y("delete"), iD = Y("union"), oD = Y("intersect"), MD = Y("except"), kD = Y("subquery"), ND = Y("identifier"), Tg = Y("column"), KD = Y("table"), yD = Y("star"), jg = Y("literal"), GD = Y("boolean"), YD = Y("null"), hD = Y("and"), SD = Y("or"), JD = Y("not"), cD = Y("eq"), HD = Y("neq"), UD = Y("lt"), FD = Y("lte"), LD = Y("gt"), RD = Y("gte"), sD = Y("like"), aD = Y("i_like"), qD = Y("add"), pD = Y("sub"), OD = Y("mul"), PD = Y("div"), TD = Y("mod"), jD = Y("concat"), dD = Y("in"), VD = Y("between"), tD = Y("is_null"), ZD = Y("exists"), dg = Y("function"), zD = Y("aggregate_function"), xD = Y("window_function"), nD = Y("count"), fD = Y("sum"), WD = Y("avg"), eD = Y("min"), uD = Y("max"), lD = Y("coalesce"), rD = Y("null_if"), mD = Y("cast"), bD = Y("try_cast"), vD = Y("safe_cast"), XD = Y("case"), _D = Y("from"), $D = Y("join"), Aw = Y("where"), gw = Y("group_by"), Iw = Y("having"), Cw = Y("order_by"), Qw = Y("limit"), Bw = Y("offset"), Ew = Y("with"), Dw = Y("cte"), ww = Y("alias"), iw = Y("paren"), ow = Y("ordered"), Mw = Y("create_table"), kw = Y("drop_table"), Nw = Y("alter_table"), Kw = Y("create_index"), yw = Y("drop_index"), Gw = Y("create_view"), Yw = Y("drop_view");
2442
+ const Tg = Y("select"), ED = Y("insert"), DD = Y("update"), wD = Y("delete"), iD = Y("union"), oD = Y("intersect"), kD = Y("except"), MD = Y("subquery"), ND = Y("identifier"), Pg = Y("column"), KD = Y("table"), yD = Y("star"), jg = Y("literal"), GD = Y("boolean"), YD = Y("null"), hD = Y("and"), SD = Y("or"), JD = Y("not"), cD = Y("eq"), UD = Y("neq"), HD = Y("lt"), FD = Y("lte"), LD = Y("gt"), RD = Y("gte"), sD = Y("like"), aD = Y("i_like"), qD = Y("add"), pD = Y("sub"), OD = Y("mul"), TD = Y("div"), PD = Y("mod"), jD = Y("concat"), dD = Y("in"), VD = Y("between"), tD = Y("is_null"), ZD = Y("exists"), dg = Y("function"), zD = Y("aggregate_function"), xD = Y("window_function"), nD = Y("count"), WD = Y("sum"), fD = Y("avg"), lD = Y("min"), eD = Y("max"), uD = Y("coalesce"), rD = Y("null_if"), mD = Y("cast"), bD = Y("try_cast"), vD = Y("safe_cast"), XD = Y("case"), _D = Y("from"), $D = Y("join"), Aw = Y("where"), gw = Y("group_by"), Iw = Y("having"), Cw = Y("order_by"), Qw = Y("limit"), Bw = Y("offset"), Ew = Y("with"), Dw = Y("cte"), ww = Y("alias"), iw = Y("paren"), ow = Y("ordered"), kw = Y("create_table"), Mw = Y("drop_table"), Nw = Y("alter_table"), Kw = Y("create_index"), yw = Y("drop_index"), Gw = Y("create_view"), Yw = Y("drop_view");
2443
2443
  function hw(g) {
2444
2444
  const A = p(g);
2445
2445
  return A === "select" || A === "insert" || A === "update" || A === "delete";
@@ -2456,11 +2456,11 @@ function cw(g) {
2456
2456
  const A = p(g);
2457
2457
  return A === "add" || A === "sub" || A === "mul" || A === "div" || A === "mod";
2458
2458
  }
2459
- function Hw(g) {
2459
+ function Uw(g) {
2460
2460
  const A = p(g);
2461
2461
  return A === "and" || A === "or" || A === "not";
2462
2462
  }
2463
- function Uw(g) {
2463
+ function Hw(g) {
2464
2464
  const A = p(g);
2465
2465
  return A === "create_table" || A === "drop_table" || A === "alter_table" || A === "create_index" || A === "drop_index" || A === "create_view" || A === "drop_view" || A === "create_schema" || A === "drop_schema" || A === "create_database" || A === "drop_database" || A === "create_function" || A === "drop_function" || A === "create_procedure" || A === "drop_procedure" || A === "create_sequence" || A === "drop_sequence" || A === "alter_sequence" || A === "create_trigger" || A === "drop_trigger" || A === "create_type" || A === "drop_type";
2466
2466
  }
@@ -2505,15 +2505,15 @@ function wA(g, A, C, Q, B) {
2505
2505
  return E;
2506
2506
  S !== void 0 && (E = S);
2507
2507
  }
2508
- const N = p(E), K = P(E);
2508
+ const N = p(E), K = T(E);
2509
2509
  let G;
2510
2510
  if (K == null)
2511
2511
  G = t(N, K);
2512
2512
  else {
2513
2513
  const S = { ...K };
2514
2514
  for (const [R, q] of Object.entries(S)) {
2515
- const T = Vg(q, A, E);
2516
- T !== q && (S[R] = T);
2515
+ const P = Vg(q, A, E);
2516
+ P !== q && (S[R] = P);
2517
2517
  }
2518
2518
  G = t(N, S);
2519
2519
  }
@@ -2568,7 +2568,7 @@ function aw(g) {
2568
2568
  function qw(g, ...A) {
2569
2569
  if (p(g) !== "select")
2570
2570
  return g;
2571
- const C = P(g);
2571
+ const C = T(g);
2572
2572
  return t("select", {
2573
2573
  ...C,
2574
2574
  expressions: [...C.expressions, ...A]
@@ -2577,7 +2577,7 @@ function qw(g, ...A) {
2577
2577
  function pw(g, A) {
2578
2578
  if (p(g) !== "select")
2579
2579
  return g;
2580
- const C = P(g);
2580
+ const C = T(g);
2581
2581
  return t("select", {
2582
2582
  ...C,
2583
2583
  expressions: C.expressions.filter((Q) => !A(Q))
@@ -2588,25 +2588,25 @@ function Ow(g, A) {
2588
2588
  return r(ig(n(g), A)) ?? g;
2589
2589
  if (p(g) !== "select")
2590
2590
  return g;
2591
- const C = P(g);
2591
+ const C = T(g);
2592
2592
  return t("select", {
2593
2593
  ...C,
2594
2594
  limit: { this: A }
2595
2595
  });
2596
2596
  }
2597
- function Pw(g, A) {
2597
+ function Tw(g, A) {
2598
2598
  if (p(g) !== "select")
2599
2599
  return g;
2600
- const C = P(g), Q = typeof A == "number" ? t("literal", { literal_type: "number", value: String(A) }) : A;
2600
+ const C = T(g), Q = typeof A == "number" ? t("literal", { literal_type: "number", value: String(A) }) : A;
2601
2601
  return t("select", {
2602
2602
  ...C,
2603
2603
  offset: { this: Q }
2604
2604
  });
2605
2605
  }
2606
- function Tw(g) {
2606
+ function Pw(g) {
2607
2607
  if (p(g) !== "select")
2608
2608
  return g;
2609
- const A = P(g);
2609
+ const A = T(g);
2610
2610
  return t("select", {
2611
2611
  ...A,
2612
2612
  limit: null,
@@ -2622,9 +2622,9 @@ function dw(g) {
2622
2622
  function zg(g, A, C) {
2623
2623
  if (g == null) return g;
2624
2624
  if (Array.isArray(g))
2625
- return g.length > 0 && x(g[0]) ? g.filter((Q) => !A(Q, C)).map((Q) => HA(Q, A)) : g;
2625
+ return g.length > 0 && x(g[0]) ? g.filter((Q) => !A(Q, C)).map((Q) => UA(Q, A)) : g;
2626
2626
  if (x(g))
2627
- return HA(g, A);
2627
+ return UA(g, A);
2628
2628
  if (typeof g == "object") {
2629
2629
  const B = { ...g };
2630
2630
  let E = !1;
@@ -2636,15 +2636,15 @@ function zg(g, A, C) {
2636
2636
  }
2637
2637
  return g;
2638
2638
  }
2639
- function HA(g, A) {
2640
- const C = p(g), B = { ...P(g) };
2639
+ function UA(g, A) {
2640
+ const C = p(g), B = { ...T(g) };
2641
2641
  for (const [E, D] of Object.entries(B)) {
2642
2642
  const o = zg(D, A, g);
2643
2643
  o !== D && (B[E] = o);
2644
2644
  }
2645
2645
  return t(C, B);
2646
2646
  }
2647
- function W(g) {
2647
+ function f(g) {
2648
2648
  return JSON.stringify(g);
2649
2649
  }
2650
2650
  function xg(g, A, C) {
@@ -2668,7 +2668,7 @@ function xg(g, A, C) {
2668
2668
  }
2669
2669
  }
2670
2670
  function ng(g) {
2671
- const A = [], C = P(g);
2671
+ const A = [], C = T(g);
2672
2672
  if (!C || typeof C != "object") return A;
2673
2673
  for (const [Q, B] of Object.entries(C))
2674
2674
  xg(B, Q, A);
@@ -2696,7 +2696,7 @@ function YA(g, A) {
2696
2696
  function BA(g, A) {
2697
2697
  return YA(g, (C) => p(C) === A);
2698
2698
  }
2699
- function fg(g, A) {
2699
+ function Wg(g, A) {
2700
2700
  let C, Q = !1;
2701
2701
  return V(g, {
2702
2702
  enter: (B, E) => {
@@ -2705,7 +2705,7 @@ function fg(g, A) {
2705
2705
  }), C;
2706
2706
  }
2707
2707
  function Vw(g, A) {
2708
- return fg(g, A) !== void 0;
2708
+ return Wg(g, A) !== void 0;
2709
2709
  }
2710
2710
  function tw(g, A) {
2711
2711
  let C = !0;
@@ -2718,7 +2718,7 @@ function tw(g, A) {
2718
2718
  function Zw(g, A) {
2719
2719
  return YA(g, A).length;
2720
2720
  }
2721
- function Wg(g) {
2721
+ function fg(g) {
2722
2722
  return BA(g, "column");
2723
2723
  }
2724
2724
  function zw(g) {
@@ -2728,42 +2728,42 @@ function xw(g) {
2728
2728
  return BA(g, "identifier");
2729
2729
  }
2730
2730
  function nw(g) {
2731
- const A = JSON.parse(_A(W(g)));
2731
+ const A = JSON.parse(_A(f(g)));
2732
2732
  return A.success ? JSON.parse(A.ast) : [];
2733
2733
  }
2734
2734
  function IA(g) {
2735
- const A = JSON.parse(vA(W(g)));
2735
+ const A = JSON.parse(vA(f(g)));
2736
2736
  return A.success ? JSON.parse(A.ast) : [];
2737
2737
  }
2738
- function eg(g) {
2739
- const A = JSON.parse(Ig(W(g)));
2738
+ function lg(g) {
2739
+ const A = JSON.parse(Ig(f(g)));
2740
2740
  return A.success ? JSON.parse(A.ast) : [];
2741
2741
  }
2742
- function ug(g) {
2743
- const A = JSON.parse(Ag(W(g)));
2742
+ function eg(g) {
2743
+ const A = JSON.parse(Ag(f(g)));
2744
2744
  return A.success ? JSON.parse(A.ast) : [];
2745
2745
  }
2746
- function fw(g) {
2747
- const A = JSON.parse($A(W(g)));
2746
+ function Ww(g) {
2747
+ const A = JSON.parse($A(f(g)));
2748
2748
  return A.success ? JSON.parse(A.ast) : [];
2749
2749
  }
2750
- function Ww(g) {
2751
- const A = JSON.parse(XA(W(g)));
2750
+ function fw(g) {
2751
+ const A = JSON.parse(XA(f(g)));
2752
2752
  return A.success ? A.result : [];
2753
2753
  }
2754
- function ew(g) {
2755
- const A = JSON.parse(gg(W(g)));
2754
+ function lw(g) {
2755
+ const A = JSON.parse(gg(f(g)));
2756
2756
  return A.success ? A.result : [];
2757
2757
  }
2758
- function lg(g) {
2758
+ function ug(g) {
2759
2759
  return IA(g).length > 0;
2760
2760
  }
2761
+ function ew(g) {
2762
+ return lg(g).length > 0;
2763
+ }
2761
2764
  function uw(g) {
2762
2765
  return eg(g).length > 0;
2763
2766
  }
2764
- function lw(g) {
2765
- return ug(g).length > 0;
2766
- }
2767
2767
  function rw(g) {
2768
2768
  let A = 0, C = 0;
2769
2769
  return V(g, {
@@ -2776,7 +2776,7 @@ function rw(g) {
2776
2776
  }), A;
2777
2777
  }
2778
2778
  function mw(g) {
2779
- const A = JSON.parse(Cg(W(g)));
2779
+ const A = JSON.parse(Cg(f(g)));
2780
2780
  return A.success ? A.result : 0;
2781
2781
  }
2782
2782
  function bw(g, A) {
@@ -2830,55 +2830,55 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2830
2830
  findAll: YA,
2831
2831
  findAncestor: vw,
2832
2832
  findByType: BA,
2833
- findFirst: fg,
2833
+ findFirst: Wg,
2834
2834
  getAggregateFunctions: IA,
2835
2835
  getChildren: ng,
2836
- getColumnNames: Ww,
2837
- getColumns: Wg,
2836
+ getColumnNames: fw,
2837
+ getColumns: fg,
2838
2838
  getDepth: rw,
2839
- getExprData: P,
2839
+ getExprData: T,
2840
2840
  getExprType: p,
2841
2841
  getFunctions: nw,
2842
2842
  getIdentifiers: xw,
2843
2843
  getInferredType: Og,
2844
- getLiterals: fw,
2844
+ getLiterals: Ww,
2845
2845
  getNodeDepth: Xw,
2846
2846
  getParent: bw,
2847
- getSubqueries: ug,
2848
- getTableNames: ew,
2847
+ getSubqueries: eg,
2848
+ getTableNames: lw,
2849
2849
  getTables: zw,
2850
- getWindowFunctions: eg,
2851
- hasAggregates: lg,
2852
- hasSubqueries: lw,
2853
- hasWindowFunctions: uw,
2850
+ getWindowFunctions: lg,
2851
+ hasAggregates: ug,
2852
+ hasSubqueries: uw,
2853
+ hasWindowFunctions: ew,
2854
2854
  isAdd: qD,
2855
2855
  isAggregateFunction: zD,
2856
2856
  isAlias: ww,
2857
2857
  isAlterTable: Nw,
2858
2858
  isAnd: hD,
2859
2859
  isArithmetic: cw,
2860
- isAvg: WD,
2860
+ isAvg: fD,
2861
2861
  isBetween: VD,
2862
2862
  isBoolean: GD,
2863
2863
  isCase: XD,
2864
2864
  isCast: mD,
2865
- isCoalesce: lD,
2866
- isColumn: Tg,
2865
+ isCoalesce: uD,
2866
+ isColumn: Pg,
2867
2867
  isComparison: Jw,
2868
2868
  isConcat: jD,
2869
2869
  isCount: nD,
2870
2870
  isCreateIndex: Kw,
2871
- isCreateTable: Mw,
2871
+ isCreateTable: kw,
2872
2872
  isCreateView: Gw,
2873
2873
  isCte: Dw,
2874
- isDDL: Uw,
2874
+ isDDL: Hw,
2875
2875
  isDelete: wD,
2876
- isDiv: PD,
2876
+ isDiv: TD,
2877
2877
  isDropIndex: yw,
2878
- isDropTable: kw,
2878
+ isDropTable: Mw,
2879
2879
  isDropView: Yw,
2880
2880
  isEq: cD,
2881
- isExcept: MD,
2881
+ isExcept: kD,
2882
2882
  isExists: ZD,
2883
2883
  isExpressionValue: x,
2884
2884
  isFrom: _D,
@@ -2897,14 +2897,14 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2897
2897
  isLike: sD,
2898
2898
  isLimit: Qw,
2899
2899
  isLiteral: jg,
2900
- isLogical: Hw,
2901
- isLt: UD,
2900
+ isLogical: Uw,
2901
+ isLt: HD,
2902
2902
  isLte: FD,
2903
- isMax: uD,
2904
- isMin: eD,
2905
- isMod: TD,
2903
+ isMax: eD,
2904
+ isMin: lD,
2905
+ isMod: PD,
2906
2906
  isMul: OD,
2907
- isNeq: HD,
2907
+ isNeq: UD,
2908
2908
  isNot: JD,
2909
2909
  isNullIf: rD,
2910
2910
  isNullLiteral: YD,
@@ -2915,12 +2915,12 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2915
2915
  isParen: iw,
2916
2916
  isQuery: hw,
2917
2917
  isSafeCast: vD,
2918
- isSelect: Pg,
2918
+ isSelect: Tg,
2919
2919
  isSetOperation: Sw,
2920
2920
  isStar: yD,
2921
2921
  isSub: pD,
2922
- isSubquery: kD,
2923
- isSum: fD,
2922
+ isSubquery: MD,
2923
+ isSum: WD,
2924
2924
  isTable: KD,
2925
2925
  isTryCast: bD,
2926
2926
  isUnion: iD,
@@ -2931,8 +2931,8 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2931
2931
  makeExpr: t,
2932
2932
  nodeCount: mw,
2933
2933
  qualifyColumns: Rw,
2934
- remove: HA,
2935
- removeLimitOffset: Tw,
2934
+ remove: UA,
2935
+ removeLimitOffset: Pw,
2936
2936
  removeSelectColumns: pw,
2937
2937
  removeWhere: aw,
2938
2938
  renameColumns: Zg,
@@ -2941,13 +2941,13 @@ const _w = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2941
2941
  replaceNodes: tg,
2942
2942
  setDistinct: jw,
2943
2943
  setLimit: Ow,
2944
- setOffset: Pw,
2944
+ setOffset: Tw,
2945
2945
  some: Vw,
2946
2946
  transform: GA,
2947
2947
  walk: V
2948
2948
  }, Symbol.toStringTag, { value: "Module" }));
2949
- function H(g) {
2950
- return g instanceof J ? g._w : typeof g == "string" ? UA(g) : typeof g == "number" || typeof g == "boolean" || g === null ? NA(g) : KA();
2949
+ function U(g) {
2950
+ return g instanceof J ? g._w : typeof g == "string" ? HA(g) : typeof g == "number" || typeof g == "boolean" || g === null ? NA(g) : KA();
2951
2951
  }
2952
2952
  function d(g) {
2953
2953
  const A = new O();
@@ -2964,58 +2964,58 @@ class J {
2964
2964
  }
2965
2965
  // -- Comparison --
2966
2966
  eq(A) {
2967
- return new J(this._w.eq(H(A)));
2967
+ return new J(this._w.eq(U(A)));
2968
2968
  }
2969
2969
  neq(A) {
2970
- return new J(this._w.neq(H(A)));
2970
+ return new J(this._w.neq(U(A)));
2971
2971
  }
2972
2972
  lt(A) {
2973
- return new J(this._w.lt(H(A)));
2973
+ return new J(this._w.lt(U(A)));
2974
2974
  }
2975
2975
  lte(A) {
2976
- return new J(this._w.lte(H(A)));
2976
+ return new J(this._w.lte(U(A)));
2977
2977
  }
2978
2978
  gt(A) {
2979
- return new J(this._w.gt(H(A)));
2979
+ return new J(this._w.gt(U(A)));
2980
2980
  }
2981
2981
  gte(A) {
2982
- return new J(this._w.gte(H(A)));
2982
+ return new J(this._w.gte(U(A)));
2983
2983
  }
2984
2984
  // -- Logical --
2985
2985
  and(A) {
2986
- return new J(this._w.and(H(A)));
2986
+ return new J(this._w.and(U(A)));
2987
2987
  }
2988
2988
  or(A) {
2989
- return new J(this._w.or(H(A)));
2989
+ return new J(this._w.or(U(A)));
2990
2990
  }
2991
2991
  not() {
2992
2992
  return new J(this._w.not());
2993
2993
  }
2994
2994
  xor(A) {
2995
- return new J(this._w.xor(H(A)));
2995
+ return new J(this._w.xor(U(A)));
2996
2996
  }
2997
2997
  // -- Arithmetic --
2998
2998
  add(A) {
2999
- return new J(this._w.add(H(A)));
2999
+ return new J(this._w.add(U(A)));
3000
3000
  }
3001
3001
  sub(A) {
3002
- return new J(this._w.sub(H(A)));
3002
+ return new J(this._w.sub(U(A)));
3003
3003
  }
3004
3004
  mul(A) {
3005
- return new J(this._w.mul(H(A)));
3005
+ return new J(this._w.mul(U(A)));
3006
3006
  }
3007
3007
  div(A) {
3008
- return new J(this._w.div(H(A)));
3008
+ return new J(this._w.div(U(A)));
3009
3009
  }
3010
3010
  // -- Pattern matching --
3011
3011
  like(A) {
3012
- return new J(this._w.like(H(A)));
3012
+ return new J(this._w.like(U(A)));
3013
3013
  }
3014
3014
  ilike(A) {
3015
- return new J(this._w.ilike(H(A)));
3015
+ return new J(this._w.ilike(U(A)));
3016
3016
  }
3017
3017
  rlike(A) {
3018
- return new J(this._w.rlike(H(A)));
3018
+ return new J(this._w.rlike(U(A)));
3019
3019
  }
3020
3020
  // -- Predicates --
3021
3021
  isNull() {
@@ -3025,7 +3025,7 @@ class J {
3025
3025
  return new J(this._w.is_not_null());
3026
3026
  }
3027
3027
  between(A, C) {
3028
- return new J(this._w.between(H(A), H(C)));
3028
+ return new J(this._w.between(U(A), U(C)));
3029
3029
  }
3030
3030
  inList(...A) {
3031
3031
  return new J(this._w.in_list(d(A)));
@@ -3083,7 +3083,7 @@ class $w {
3083
3083
  }
3084
3084
  }
3085
3085
  function Ai(g) {
3086
- return new J(UA(g));
3086
+ return new J(HA(g));
3087
3087
  }
3088
3088
  function gi(g) {
3089
3089
  return new J(NA(g));
@@ -3107,16 +3107,16 @@ function Qi(g) {
3107
3107
  return mg(g);
3108
3108
  }
3109
3109
  function L(g, ...A) {
3110
- return new J(Ug(g, d(A)));
3110
+ return new J(Hg(g, d(A)));
3111
3111
  }
3112
3112
  function Bi(g) {
3113
- return new J(Fg(H(g)));
3113
+ return new J(Fg(U(g)));
3114
3114
  }
3115
3115
  function Ei(g, A) {
3116
- return new J(Jg(H(g), A));
3116
+ return new J(Jg(U(g), A));
3117
3117
  }
3118
3118
  function Di(g, A) {
3119
- return new J(Gg(H(g), A));
3119
+ return new J(Gg(U(g), A));
3120
3120
  }
3121
3121
  function wi(g, A) {
3122
3122
  return new J(ag(g._w, A));
@@ -3124,26 +3124,26 @@ function wi(g, A) {
3124
3124
  function ii(...g) {
3125
3125
  if (g.length === 0) return LA(!0);
3126
3126
  if (g.length === 1)
3127
- return g[0] instanceof J ? g[0] : new J(H(g[0]));
3128
- let A = H(g[0]);
3127
+ return g[0] instanceof J ? g[0] : new J(U(g[0]));
3128
+ let A = U(g[0]);
3129
3129
  for (let C = 1; C < g.length; C++)
3130
- A = Yg(A, H(g[C]));
3130
+ A = Yg(A, U(g[C]));
3131
3131
  return new J(A);
3132
3132
  }
3133
3133
  function oi(...g) {
3134
3134
  if (g.length === 0) return LA(!1);
3135
3135
  if (g.length === 1)
3136
- return g[0] instanceof J ? g[0] : new J(H(g[0]));
3137
- let A = H(g[0]);
3136
+ return g[0] instanceof J ? g[0] : new J(U(g[0]));
3137
+ let A = U(g[0]);
3138
3138
  for (let C = 1; C < g.length; C++)
3139
- A = Lg(A, H(g[C]));
3139
+ A = Lg(A, U(g[C]));
3140
3140
  return new J(A);
3141
3141
  }
3142
- function Mi(g) {
3142
+ function ki(g) {
3143
3143
  return g !== void 0 ? L("COUNT", g) : L("COUNT", rg());
3144
3144
  }
3145
- function ki(g) {
3146
- return new J(cg(H(g)));
3145
+ function Mi(g) {
3146
+ return new J(cg(U(g)));
3147
3147
  }
3148
3148
  function Ni(g) {
3149
3149
  return L("SUM", g);
@@ -3172,10 +3172,10 @@ function Ji(g) {
3172
3172
  function ci(g) {
3173
3173
  return L("LTRIM", g);
3174
3174
  }
3175
- function Hi(g) {
3175
+ function Ui(g) {
3176
3176
  return L("RTRIM", g);
3177
3177
  }
3178
- function Ui(g) {
3178
+ function Hi(g) {
3179
3179
  return L("REVERSE", g);
3180
3180
  }
3181
3181
  function Fi(g) {
@@ -3202,10 +3202,10 @@ function pi(g, A) {
3202
3202
  function Oi(g) {
3203
3203
  return L("ABS", g);
3204
3204
  }
3205
- function Pi(g, A) {
3205
+ function Ti(g, A) {
3206
3206
  return A !== void 0 ? L("ROUND", g, A) : L("ROUND", g);
3207
3207
  }
3208
- function Ti(g) {
3208
+ function Pi(g) {
3209
3209
  return L("FLOOR", g);
3210
3210
  }
3211
3211
  function ji(g) {
@@ -3232,19 +3232,19 @@ function xi(...g) {
3232
3232
  function ni(...g) {
3233
3233
  return L("LEAST", ...g);
3234
3234
  }
3235
- function fi() {
3235
+ function Wi() {
3236
3236
  return L("CURRENT_DATE");
3237
3237
  }
3238
- function Wi() {
3238
+ function fi() {
3239
3239
  return L("CURRENT_TIME");
3240
3240
  }
3241
- function ei() {
3241
+ function li() {
3242
3242
  return L("CURRENT_TIMESTAMP");
3243
3243
  }
3244
- function ui(g, A) {
3245
- return new J(Hg(g, H(A)));
3244
+ function ei(g, A) {
3245
+ return new J(Ug(g, U(A)));
3246
3246
  }
3247
- function li() {
3247
+ function ui() {
3248
3248
  return L("ROW_NUMBER");
3249
3249
  }
3250
3250
  function ri() {
@@ -3262,7 +3262,7 @@ class bg {
3262
3262
  /** Add columns to the SELECT list. Accepts Expr, strings (→ col), or '*'. */
3263
3263
  select(...A) {
3264
3264
  for (const C of A)
3265
- C === "*" ? this._w.select_star() : C instanceof J ? this._w.select_expr(C._w) : typeof C == "string" ? this._w.select_col(C) : this._w.select_expr(H(C));
3265
+ C === "*" ? this._w.select_star() : C instanceof J ? this._w.select_expr(C._w) : typeof C == "string" ? this._w.select_col(C) : this._w.select_expr(U(C));
3266
3266
  return this;
3267
3267
  }
3268
3268
  /** Set the FROM clause. */
@@ -3271,15 +3271,15 @@ class bg {
3271
3271
  }
3272
3272
  /** Add an INNER JOIN. */
3273
3273
  join(A, C) {
3274
- return this._w.join(A, H(C)), this;
3274
+ return this._w.join(A, U(C)), this;
3275
3275
  }
3276
3276
  /** Add a LEFT JOIN. */
3277
3277
  leftJoin(A, C) {
3278
- return this._w.left_join(A, H(C)), this;
3278
+ return this._w.left_join(A, U(C)), this;
3279
3279
  }
3280
3280
  /** Add a RIGHT JOIN. */
3281
3281
  rightJoin(A, C) {
3282
- return this._w.right_join(A, H(C)), this;
3282
+ return this._w.right_join(A, U(C)), this;
3283
3283
  }
3284
3284
  /** Add a CROSS JOIN. */
3285
3285
  crossJoin(A) {
@@ -3287,7 +3287,7 @@ class bg {
3287
3287
  }
3288
3288
  /** Set the WHERE clause. Accepts an Expr or a raw SQL string. */
3289
3289
  where(A) {
3290
- return typeof A == "string" ? this._w.where_sql(A) : A instanceof J ? this._w.where_expr(A._w) : this._w.where_expr(H(A)), this;
3290
+ return typeof A == "string" ? this._w.where_sql(A) : A instanceof J ? this._w.where_expr(A._w) : this._w.where_expr(U(A)), this;
3291
3291
  }
3292
3292
  /** Set the GROUP BY clause. */
3293
3293
  groupBy(...A) {
@@ -3295,7 +3295,7 @@ class bg {
3295
3295
  }
3296
3296
  /** Set the HAVING clause. */
3297
3297
  having(A) {
3298
- return this._w.having(H(A)), this;
3298
+ return this._w.having(U(A)), this;
3299
3299
  }
3300
3300
  /** Set the ORDER BY clause. */
3301
3301
  orderBy(...A) {
@@ -3315,7 +3315,7 @@ class bg {
3315
3315
  }
3316
3316
  /** Set the QUALIFY clause (Snowflake/BigQuery/DuckDB). */
3317
3317
  qualify(A) {
3318
- return this._w.qualify(H(A)), this;
3318
+ return this._w.qualify(U(A)), this;
3319
3319
  }
3320
3320
  /** Set the SORT BY clause (Hive/Spark — sorts within each partition). */
3321
3321
  sortBy(...A) {
@@ -3425,15 +3425,15 @@ class _g {
3425
3425
  /** @internal */
3426
3426
  _w;
3427
3427
  constructor(A) {
3428
- this._w = new kA(A);
3428
+ this._w = new MA(A);
3429
3429
  }
3430
3430
  /** Add a SET column = value assignment. */
3431
3431
  set(A, C) {
3432
- return this._w.set(A, H(C)), this;
3432
+ return this._w.set(A, U(C)), this;
3433
3433
  }
3434
3434
  /** Set the WHERE clause. */
3435
3435
  where(A) {
3436
- return this._w.where_expr(H(A)), this;
3436
+ return this._w.where_expr(U(A)), this;
3437
3437
  }
3438
3438
  /** Set the FROM clause (PostgreSQL/Snowflake UPDATE ... FROM). */
3439
3439
  from(A) {
@@ -3463,7 +3463,7 @@ class $g {
3463
3463
  }
3464
3464
  /** Set the WHERE clause. */
3465
3465
  where(A) {
3466
- return this._w.where_expr(H(A)), this;
3466
+ return this._w.where_expr(U(A)), this;
3467
3467
  }
3468
3468
  /** Generate SQL string. Defaults to generic dialect. */
3469
3469
  toSql(A = "generic") {
@@ -3488,17 +3488,17 @@ class gI {
3488
3488
  /** @internal */
3489
3489
  _w;
3490
3490
  constructor(A) {
3491
- this._w = new MA(A);
3491
+ this._w = new kA(A);
3492
3492
  }
3493
3493
  /** Set the source table and ON condition. */
3494
3494
  using(A, C) {
3495
- return this._w.using(A, H(C)), this;
3495
+ return this._w.using(A, U(C)), this;
3496
3496
  }
3497
3497
  /** Add a WHEN MATCHED THEN UPDATE SET clause. */
3498
3498
  whenMatchedUpdate(A) {
3499
3499
  const C = new CA();
3500
3500
  for (const [Q, B] of Object.entries(A))
3501
- C.push(Q, H(B));
3501
+ C.push(Q, U(B));
3502
3502
  return this._w.when_matched_update(C), this;
3503
3503
  }
3504
3504
  /** Add a WHEN MATCHED THEN DELETE clause. */
@@ -3534,11 +3534,11 @@ class RA {
3534
3534
  }
3535
3535
  /** Add a WHEN condition THEN result branch. */
3536
3536
  when(A, C) {
3537
- return this._w.when(H(A), H(C)), this;
3537
+ return this._w.when(U(A), U(C)), this;
3538
3538
  }
3539
3539
  /** Set the ELSE result. */
3540
3540
  else_(A) {
3541
- return this._w.else_(H(A)), this;
3541
+ return this._w.else_(U(A)), this;
3542
3542
  }
3543
3543
  /** Build the CASE expression as an Expr. */
3544
3544
  build() {
@@ -3550,10 +3550,10 @@ class RA {
3550
3550
  }
3551
3551
  }
3552
3552
  function Ao() {
3553
- return new RA(new l());
3553
+ return new RA(new u());
3554
3554
  }
3555
3555
  function go(g) {
3556
- return new RA(Sg(H(g)));
3556
+ return new RA(Sg(U(g)));
3557
3557
  }
3558
3558
  class _ {
3559
3559
  /** @internal */
@@ -3606,7 +3606,7 @@ function Eo(g, A) {
3606
3606
  function Do(g, A) {
3607
3607
  const C = [], Q = BA(g, "star");
3608
3608
  if (Q.length > 0) {
3609
- const D = P(Q[0])?.span;
3609
+ const D = T(Q[0])?.span;
3610
3610
  C.push({
3611
3611
  message: "SELECT * is discouraged; specify columns explicitly for better performance and maintainability",
3612
3612
  severity: "warning",
@@ -3617,8 +3617,8 @@ function Do(g, A) {
3617
3617
  end: D?.end
3618
3618
  });
3619
3619
  }
3620
- const B = P(g);
3621
- if (lg(g) && !B.group_by) {
3620
+ const B = T(g);
3621
+ if (ug(g) && !B.group_by) {
3622
3622
  const E = IA(g), D = B.expressions || [];
3623
3623
  if (D.some((N) => {
3624
3624
  const K = p(N);
@@ -3627,7 +3627,7 @@ function Do(g, A) {
3627
3627
  const N = D.find((G) => {
3628
3628
  const S = p(G);
3629
3629
  return S === "column" || S === "identifier" ? IA(G).length === 0 : !1;
3630
- }), K = N ? P(N)?.span : void 0;
3630
+ }), K = N ? T(N)?.span : void 0;
3631
3631
  C.push({
3632
3632
  message: "Mixing aggregate functions with non-aggregated columns without GROUP BY may cause errors in strict SQL mode",
3633
3633
  severity: "warning",
@@ -3644,7 +3644,7 @@ function Do(g, A) {
3644
3644
  severity: "warning",
3645
3645
  code: "W003"
3646
3646
  }), B.limit && !B.order_by) {
3647
- const E = B.limit, D = E ? P(E)?.span : void 0;
3647
+ const E = B.limit, D = E ? T(E)?.span : void 0;
3648
3648
  C.push({
3649
3649
  message: "LIMIT without ORDER BY produces non-deterministic results",
3650
3650
  severity: "warning",
@@ -3695,7 +3695,7 @@ const oo = {
3695
3695
  function mA(g) {
3696
3696
  return typeof g == "string" ? JSON.parse(g) : g;
3697
3697
  }
3698
- function Mo(g, A = "generic", C = {}) {
3698
+ function ko(g, A = "generic", C = {}) {
3699
3699
  const Q = C.strictSyntax ? X.validate_with_options(
3700
3700
  g,
3701
3701
  A,
@@ -3721,11 +3721,11 @@ function Mo(g, A = "generic", C = {}) {
3721
3721
  };
3722
3722
  }
3723
3723
  function II(g, A, C = "generic", Q = !1) {
3724
- const B = Mg(A, g, C, Q);
3724
+ const B = kg(A, g, C, Q);
3725
3725
  return JSON.parse(B);
3726
3726
  }
3727
3727
  function CI(g, A, C, Q = "generic", B = !1) {
3728
- const E = kg(
3728
+ const E = Mg(
3729
3729
  A,
3730
3730
  g,
3731
3731
  JSON.stringify(C),
@@ -3766,7 +3766,7 @@ function aA(g, A) {
3766
3766
  errorColumn: void 0
3767
3767
  };
3768
3768
  }
3769
- function ko(g, A) {
3769
+ function Mo(g, A) {
3770
3770
  return {
3771
3771
  success: !1,
3772
3772
  ast: void 0,
@@ -3775,7 +3775,7 @@ function ko(g, A) {
3775
3775
  errorColumn: void 0
3776
3776
  };
3777
3777
  }
3778
- function f(g) {
3778
+ function W(g) {
3779
3779
  return typeof g == "string" ? JSON.parse(g) : g;
3780
3780
  }
3781
3781
  async function iI() {
@@ -3786,7 +3786,7 @@ function oI() {
3786
3786
  }
3787
3787
  function qA(g, A, C) {
3788
3788
  try {
3789
- return typeof a.transpile_value == "function" ? f(
3789
+ return typeof a.transpile_value == "function" ? W(
3790
3790
  a.transpile_value(g, A, C)
3791
3791
  ) : JSON.parse(a.transpile(g, A, C));
3792
3792
  } catch (Q) {
@@ -3796,16 +3796,16 @@ function qA(g, A, C) {
3796
3796
  function pA(g, A = "generic") {
3797
3797
  try {
3798
3798
  if (typeof a.parse_value == "function")
3799
- return f(a.parse_value(g, A));
3799
+ return W(a.parse_value(g, A));
3800
3800
  const C = JSON.parse(a.parse(g, A));
3801
3801
  return C.success && typeof C.ast == "string" && (C.ast = JSON.parse(C.ast)), C;
3802
3802
  } catch (C) {
3803
- return ko("parse", C);
3803
+ return Mo("parse", C);
3804
3804
  }
3805
3805
  }
3806
3806
  function OA(g, A = "generic") {
3807
3807
  try {
3808
- return typeof a.tokenize_value == "function" ? f(
3808
+ return typeof a.tokenize_value == "function" ? W(
3809
3809
  a.tokenize_value(g, A)
3810
3810
  ) : JSON.parse(a.tokenize(g, A));
3811
3811
  } catch (C) {
@@ -3816,10 +3816,10 @@ function OA(g, A = "generic") {
3816
3816
  };
3817
3817
  }
3818
3818
  }
3819
- function PA(g, A = "generic") {
3819
+ function TA(g, A = "generic") {
3820
3820
  try {
3821
3821
  if (typeof a.generate_value == "function" && Array.isArray(g))
3822
- return f(
3822
+ return W(
3823
3823
  a.generate_value(g, A)
3824
3824
  );
3825
3825
  const C = JSON.stringify(g);
@@ -3828,16 +3828,16 @@ function PA(g, A = "generic") {
3828
3828
  return aA("generate", C);
3829
3829
  }
3830
3830
  }
3831
- function TA(g, A = "generic") {
3831
+ function PA(g, A = "generic") {
3832
3832
  return jA(g, A, {});
3833
3833
  }
3834
3834
  function jA(g, A = "generic", C = {}) {
3835
3835
  try {
3836
- return typeof a.format_sql_with_options_value == "function" ? f(
3836
+ return typeof a.format_sql_with_options_value == "function" ? W(
3837
3837
  a.format_sql_with_options_value(g, A, C)
3838
3838
  ) : typeof a.format_sql_with_options == "function" ? JSON.parse(
3839
3839
  a.format_sql_with_options(g, A, JSON.stringify(C))
3840
- ) : typeof a.format_sql_value == "function" ? f(
3840
+ ) : typeof a.format_sql_value == "function" ? W(
3841
3841
  a.format_sql_value(g, A)
3842
3842
  ) : JSON.parse(a.format_sql(g, A));
3843
3843
  } catch (Q) {
@@ -3845,7 +3845,7 @@ function jA(g, A = "generic", C = {}) {
3845
3845
  }
3846
3846
  }
3847
3847
  function dA() {
3848
- return typeof a.get_dialects_value == "function" ? f(a.get_dialects_value()) : JSON.parse(a.get_dialects());
3848
+ return typeof a.get_dialects_value == "function" ? W(a.get_dialects_value()) : JSON.parse(a.get_dialects());
3849
3849
  }
3850
3850
  function VA() {
3851
3851
  return a.version();
@@ -3853,7 +3853,7 @@ function VA() {
3853
3853
  function tA(g, A = "generic", C) {
3854
3854
  try {
3855
3855
  const Q = C ? JSON.stringify(C) : "";
3856
- return typeof a.annotate_types_value == "function" ? f(
3856
+ return typeof a.annotate_types_value == "function" ? W(
3857
3857
  a.annotate_types_value(g, A, Q)
3858
3858
  ) : typeof a.annotate_types == "function" ? JSON.parse(
3859
3859
  a.annotate_types(g, A, Q)
@@ -3868,7 +3868,7 @@ function tA(g, A = "generic", C) {
3868
3868
  };
3869
3869
  }
3870
3870
  }
3871
- class u {
3871
+ class e {
3872
3872
  static instance = null;
3873
3873
  constructor() {
3874
3874
  }
@@ -3877,7 +3877,7 @@ class u {
3877
3877
  * The WASM module is automatically initialized on import.
3878
3878
  */
3879
3879
  static getInstance() {
3880
- return u.instance || (u.instance = new u()), u.instance;
3880
+ return e.instance || (e.instance = new e()), e.instance;
3881
3881
  }
3882
3882
  /**
3883
3883
  * Transpile SQL from one dialect to another.
@@ -3905,13 +3905,13 @@ class u {
3905
3905
  * Generate SQL from an AST.
3906
3906
  */
3907
3907
  generate(A, C = "generic") {
3908
- return PA(A, C);
3908
+ return TA(A, C);
3909
3909
  }
3910
3910
  /**
3911
3911
  * Format SQL.
3912
3912
  */
3913
3913
  format(A, C = "generic") {
3914
- return TA(A, C);
3914
+ return PA(A, C);
3915
3915
  }
3916
3916
  /**
3917
3917
  * Format SQL with explicit guard limits.
@@ -3945,8 +3945,8 @@ const No = {
3945
3945
  transpile: qA,
3946
3946
  parse: pA,
3947
3947
  tokenize: OA,
3948
- generate: PA,
3949
- format: TA,
3948
+ generate: TA,
3949
+ format: PA,
3950
3950
  annotateTypes: tA,
3951
3951
  getDialects: dA,
3952
3952
  getVersion: VA,
@@ -3958,7 +3958,7 @@ const No = {
3958
3958
  changesOnly: DI,
3959
3959
  plan: wI,
3960
3960
  Dialect: sA,
3961
- Polyglot: u
3961
+ Polyglot: e
3962
3962
  }, Ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3963
3963
  __proto__: null,
3964
3964
  CaseBuilder: RA,
@@ -3967,7 +3967,7 @@ const No = {
3967
3967
  Expr: J,
3968
3968
  InsertBuilder: vg,
3969
3969
  MergeBuilder: gI,
3970
- Polyglot: u,
3970
+ Polyglot: e,
3971
3971
  SelectBuilder: bg,
3972
3972
  SetOpBuilder: _,
3973
3973
  UpdateBuilder: _g,
@@ -3989,11 +3989,11 @@ const No = {
3989
3989
  col: Ai,
3990
3990
  concatWs: si,
3991
3991
  condition: Qi,
3992
- count: Mi,
3993
- countDistinct: ki,
3994
- currentDate: fi,
3995
- currentTime: Wi,
3996
- currentTimestamp: ei,
3992
+ count: ki,
3993
+ countDistinct: Mi,
3994
+ currentDate: Wi,
3995
+ currentTime: fi,
3996
+ currentTimestamp: li,
3997
3997
  default: No,
3998
3998
  del: _i,
3999
3999
  deleteFrom: AI,
@@ -4001,14 +4001,14 @@ const No = {
4001
4001
  diff: BI,
4002
4002
  except: Bo,
4003
4003
  exp: Zi,
4004
- extract: ui,
4004
+ extract: ei,
4005
4005
  findAll: YA,
4006
- floor: Ti,
4007
- format: TA,
4006
+ floor: Pi,
4007
+ format: PA,
4008
4008
  formatWithOptions: jA,
4009
4009
  func: L,
4010
- generate: PA,
4011
- getColumns: Wg,
4010
+ generate: TA,
4011
+ getColumns: fg,
4012
4012
  getDialects: dA,
4013
4013
  getInferredType: Og,
4014
4014
  getSourceTables: QI,
@@ -4021,11 +4021,11 @@ const No = {
4021
4021
  insert: vi,
4022
4022
  insertInto: Xg,
4023
4023
  intersect: Qo,
4024
- isColumn: Tg,
4024
+ isColumn: Pg,
4025
4025
  isFunction: dg,
4026
4026
  isInitialized: oI,
4027
4027
  isLiteral: jg,
4028
- isSelect: Pg,
4028
+ isSelect: Tg,
4029
4029
  least: ni,
4030
4030
  length: Si,
4031
4031
  lineage: II,
@@ -4046,10 +4046,10 @@ const No = {
4046
4046
  rank: ri,
4047
4047
  renameColumns: Zg,
4048
4048
  replace: Ri,
4049
- reverse: Ui,
4050
- round: Pi,
4051
- rowNumber: li,
4052
- rtrim: Hi,
4049
+ reverse: Hi,
4050
+ round: Ti,
4051
+ rowNumber: ui,
4052
+ rtrim: Ui,
4053
4053
  select: bi,
4054
4054
  sign: zi,
4055
4055
  sqlExpr: mg,
@@ -4068,7 +4068,7 @@ const No = {
4068
4068
  unionAll: Co,
4069
4069
  update: Xi,
4070
4070
  upper: Yi,
4071
- validate: Mo,
4071
+ validate: ko,
4072
4072
  validateWithSchema: io,
4073
4073
  walk: V
4074
4074
  }, Symbol.toStringTag, { value: "Module" }));
@@ -4079,7 +4079,7 @@ export {
4079
4079
  J as Expr,
4080
4080
  vg as InsertBuilder,
4081
4081
  gI as MergeBuilder,
4082
- u as Polyglot,
4082
+ e as Polyglot,
4083
4083
  bg as SelectBuilder,
4084
4084
  _ as SetOpBuilder,
4085
4085
  _g as UpdateBuilder,
@@ -4099,25 +4099,25 @@ export {
4099
4099
  Ai as col,
4100
4100
  si as concatWs,
4101
4101
  Qi as condition,
4102
- Mi as count,
4103
- ki as countDistinct,
4104
- fi as currentDate,
4105
- Wi as currentTime,
4106
- ei as currentTimestamp,
4102
+ ki as count,
4103
+ Mi as countDistinct,
4104
+ Wi as currentDate,
4105
+ fi as currentTime,
4106
+ li as currentTimestamp,
4107
4107
  Ko as default,
4108
4108
  _i as del,
4109
4109
  AI as deleteFrom,
4110
4110
  mi as denseRank,
4111
4111
  Bo as except,
4112
4112
  Zi as exp,
4113
- ui as extract,
4113
+ ei as extract,
4114
4114
  YA as findAll,
4115
- Ti as floor,
4116
- TA as format,
4115
+ Pi as floor,
4116
+ PA as format,
4117
4117
  jA as formatWithOptions,
4118
4118
  L as func,
4119
- PA as generate,
4120
- Wg as getColumns,
4119
+ TA as generate,
4120
+ fg as getColumns,
4121
4121
  dA as getDialects,
4122
4122
  Og as getInferredType,
4123
4123
  VA as getVersion,
@@ -4128,11 +4128,11 @@ export {
4128
4128
  vi as insert,
4129
4129
  Xg as insertInto,
4130
4130
  Qo as intersect,
4131
- Tg as isColumn,
4131
+ Pg as isColumn,
4132
4132
  dg as isFunction,
4133
4133
  oI as isInitialized,
4134
4134
  jg as isLiteral,
4135
- Pg as isSelect,
4135
+ Tg as isSelect,
4136
4136
  ni as least,
4137
4137
  Si as length,
4138
4138
  gi as lit,
@@ -4150,10 +4150,10 @@ export {
4150
4150
  ri as rank,
4151
4151
  Zg as renameColumns,
4152
4152
  Ri as replace,
4153
- Ui as reverse,
4154
- Pi as round,
4155
- li as rowNumber,
4156
- Hi as rtrim,
4153
+ Hi as reverse,
4154
+ Ti as round,
4155
+ ui as rowNumber,
4156
+ Ui as rtrim,
4157
4157
  bi as select,
4158
4158
  zi as sign,
4159
4159
  mg as sqlExpr,
@@ -4170,7 +4170,7 @@ export {
4170
4170
  Co as unionAll,
4171
4171
  Xi as update,
4172
4172
  Yi as upper,
4173
- Mo as validate,
4173
+ ko as validate,
4174
4174
  io as validateWithSchema,
4175
4175
  V as walk
4176
4176
  };