@snabcentr/vue-ui-lib 4.22.5 → 4.22.6

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.
@@ -8,8 +8,8 @@ var hn = (t, e, n) => (ru(t, e, "read from private field"), n ? n.call(t) : e.ge
8
8
  import { FieldValidationResultData as zp, OrderStatusEnum as Li, useBaseConfigStateStore as _n, OrderItemBase as pt, ClientProduct as li, Identity as Dp, ConfiguratorsEnum as rn, ClientCategory as Np, Reference as Hp, useReferencesStore as Wt, PriceCoefficientEnum as Wp, CalculationTypeEnum as uo, PriceCoefficient as Vp, UnitsHelper as Vt, STANDARD_PERIOD_SECTIONS as jp, DateTimeProvider as ya, STANDARD_PERIOD_GROUPS as Ol, pluralize as qp, PreferencesStorageProvider as zr, HttpRequester as Qn, ProductCategoryDataProvider as Up, ProductDataProvider as Xp, UserTypeEnum as ho, currentOrderInjectionKey as wc, OrdersDataProvider as Dr, Order as Yp, TableDataPagination as Kp, ReferenceDataProvider as Gp, ClientDataProvider as Zp, Curator as au, CuratedDirection as Qp, ManagerDataFactory as lu, Manager as il, DataSuggestionProvider as xc } from "@snabcentr/common-lib";
9
9
  import { isEmpty as xr, isNil as ot, noop as Bt, isFunction as Ft, isString as ai, groupBy as Jp, get as Vo, some as Nn, find as cu, forOwn as em, forEach as Ms, sortBy as ba, cloneDeep as cn, reduce as Ah, every as uu, isArray as ut, keys as tm, debounce as hi, sum as du, isUndefined as br, unset as nm, isNull as Ih, times as hu, isObject as im, merge as fo, upperFirst as sm, map as Ll, assign as rm, constant as _a, isEqual as om, union as am } from "lodash-es";
10
10
  import { isTomorrow as lm, isFuture as cm, format as Ls, differenceInCalendarDays as um, endOfDay as Eh, startOfDay as Oh, addDays as Lh, subMonths as fu, isValid as Zn, addMonths as zl, startOfMonth as dm, subDays as hm, getDay as fm, isToday as gm, isSameMonth as pm, endOfMonth as mm, addYears as kc, getDate as vm, getDaysInMonth as ym, startOfToday as zh } from "date-fns";
11
- import { ref as j, onScopeDispose as bm, readonly as qr, Comment as wa, Text as Dh, Fragment as ve, defineComponent as se, createElementBlock as R, openBlock as b, createVNode as z, withCtx as I, createTextVNode as ne, toDisplayString as U, renderSlot as $e, markRaw as Ie, createElementVNode as k, inject as Ze, computed as A, normalizeClass as De, createCommentVNode as H, unref as F, Transition as zs, createBlock as ee, useTemplateRef as Xe, onMounted as at, onBeforeUnmount as Bn, onUnmounted as no, normalizeStyle as Zt, renderList as Qe, watch as we, createSlots as Ji, h as Z, withDirectives as An, nextTick as mt, toRaw as $n, withModifiers as Si, provide as Fn, createStaticVNode as _m, withKeys as jo, resolveDynamicComponent as wm, onBeforeMount as xa, getCurrentInstance as Nh, Teleport as xm, toRef as st, mergeProps as Cc, onActivated as Hh, onDeactivated as Wh, isVNode as km, shallowRef as Cm, watchEffect as es, vShow as Sc, cloneVNode as Sm, toValue as Vh, mergeModels as Dl, useModel as jh, mergeDefaults as $c } from "vue";
12
- import { NPopover as Ri, NButton as Ae, NModal as io, NTooltip as kr, NDropdown as ka, NTag as Pc, NTabs as $m, NTabPane as Pm, NScrollbar as Cr, NText as us, NCheckbox as jn, NSpin as ps, NForm as qs, NFormItem as Ue, NSelect as Vn, NInputNumber as xt, NInput as Fi, NDrawer as qh, NDrawerContent as Uh, NDataTable as Tc, NAlert as Xh, NInputGroup as Yh, NInputGroupLabel as Tm, useThemeVars as Kh, NDatePicker as Rm, NCheckboxGroup as Fm, NMenu as Mm, NUpload as Bm, NUploadDragger as Am, NList as Im, NListItem as Em, NImage as Om, NTimeline as Lm, NTimelineItem as zm, NH1 as Dm, NAutoComplete as Rc } from "naive-ui";
11
+ import { ref as j, onScopeDispose as bm, readonly as qr, Comment as wa, Text as Dh, Fragment as ve, defineComponent as se, createElementBlock as R, openBlock as b, createVNode as z, withCtx as I, createTextVNode as ne, toDisplayString as U, renderSlot as $e, markRaw as Ie, createElementVNode as k, inject as Ze, computed as A, normalizeClass as De, createCommentVNode as H, unref as F, Transition as zs, createBlock as ee, useTemplateRef as Xe, onMounted as at, onBeforeUnmount as Bn, onUnmounted as no, normalizeStyle as Zt, renderList as Qe, watch as we, createSlots as Ji, h as Z, withDirectives as An, nextTick as mt, toRaw as $n, withModifiers as $i, provide as Fn, createStaticVNode as _m, withKeys as jo, resolveDynamicComponent as wm, onBeforeMount as xa, getCurrentInstance as Nh, Teleport as xm, toRef as st, mergeProps as Cc, onActivated as Hh, onDeactivated as Wh, isVNode as km, shallowRef as Cm, watchEffect as es, vShow as Sc, cloneVNode as Sm, toValue as Vh, mergeModels as Dl, useModel as jh, mergeDefaults as $c } from "vue";
12
+ import { NPopover as Fi, NButton as Ae, NModal as io, NTooltip as kr, NDropdown as ka, NTag as Pc, NTabs as $m, NTabPane as Pm, NScrollbar as Cr, NText as us, NCheckbox as jn, NSpin as ps, NForm as qs, NFormItem as Ue, NSelect as Vn, NInputNumber as xt, NInput as Mi, NDrawer as qh, NDrawerContent as Uh, NDataTable as Tc, NAlert as Xh, NInputGroup as Yh, NInputGroupLabel as Tm, useThemeVars as Kh, NDatePicker as Rm, NCheckboxGroup as Fm, NMenu as Mm, NUpload as Bm, NUploadDragger as Am, NList as Im, NListItem as Em, NImage as Om, NTimeline as Lm, NTimelineItem as zm, NH1 as Dm, NAutoComplete as Rc } from "naive-ui";
13
13
  import { parsePhoneNumberWithError as Fc, PhoneNumber as Nm, ParseError as Hm } from "libphonenumber-js";
14
14
  import { objectToSnake as sl } from "ts-case-convert";
15
15
  import { VueTelInput as Wm } from "vue-tel-input";
@@ -226,7 +226,7 @@ class pr {
226
226
  return e ? !pr.isVnodeEmpty(e()) : !1;
227
227
  }
228
228
  }
229
- const ET = {
229
+ const BT = {
230
230
  /**
231
231
  * Читает содержимое файла и возвращает данные файла в формате, принимаемом порталом.
232
232
  *
@@ -374,7 +374,7 @@ class ln {
374
374
  );
375
375
  }
376
376
  }
377
- const OT = {
377
+ const AT = {
378
378
  required: {
379
379
  required: !0,
380
380
  type: "any",
@@ -420,7 +420,7 @@ const OT = {
420
420
  validator: (e, n) => n === null || Math.abs(n / t - Math.round(n / t)) < 1e-10 ? !0 : new Error(`Значение должно быть кратно ${t}`)
421
421
  };
422
422
  }
423
- }, LT = {
423
+ }, IT = {
424
424
  required: {
425
425
  required: !0,
426
426
  type: "date",
@@ -445,7 +445,7 @@ const OT = {
445
445
  }, nv = (t) => {
446
446
  var e, n;
447
447
  return !!((e = t.properties) != null && e.description) || !!((n = t.properties) != null && n.specification) || ef(t).length > 0;
448
- }, iv = {}, zT = /* @__PURE__ */ se({
448
+ }, iv = {}, ET = /* @__PURE__ */ se({
449
449
  ...iv,
450
450
  __name: "button-with-confirm-action",
451
451
  props: {
@@ -471,7 +471,7 @@ const OT = {
471
471
  n.disableConfirm ? r() : s.value = !0;
472
472
  };
473
473
  return (a, l) => {
474
- const c = Ae, u = Ri, d = io;
474
+ const c = Ae, u = Fi, d = io;
475
475
  return b(), R("div", null, [
476
476
  z(u, {
477
477
  disabled: t.popoverText.length === 0,
@@ -817,12 +817,12 @@ const Rv = Ie({ name: "ion-chevron-forward-outline", render: Tv }), Fv = ["data-
817
817
  ], 10, Fv);
818
818
  };
819
819
  }
820
- }), Mi = (t, e) => {
820
+ }), fi = (t, e) => {
821
821
  const n = t.__vccOpts || t;
822
822
  for (const [i, s] of e)
823
823
  n[i] = s;
824
824
  return n;
825
- }, Hv = /* @__PURE__ */ Mi(Nv, [["__scopeId", "data-v-9f4b93c4"]]), Wv = {
825
+ }, Hv = /* @__PURE__ */ fi(Nv, [["__scopeId", "data-v-9f4b93c4"]]), Wv = {
826
826
  viewBox: "0 0 512 512",
827
827
  width: "1.2em",
828
828
  height: "1.2em"
@@ -867,7 +867,7 @@ function Vv(t, e) {
867
867
  }, null, -1)
868
868
  ])]);
869
869
  }
870
- const rf = Ie({ name: "ion-cart-outline", render: Vv }), Ca = Symbol(), DT = {
870
+ const rf = Ie({ name: "ion-cart-outline", render: Vv }), Ca = Symbol(), OT = {
871
871
  Button: {
872
872
  border: "1px solid grey"
873
873
  },
@@ -2096,7 +2096,7 @@ const xy = ["href"], ky = ["src", "alt"], Cy = {}, Sy = /* @__PURE__ */ se({
2096
2096
  */
2097
2097
  show: l
2098
2098
  }), window.addEventListener("resize", a), (c, u) => {
2099
- const d = af, h = Ri;
2099
+ const d = af, h = Fi;
2100
2100
  return b(), ee(h, {
2101
2101
  trigger: "manual",
2102
2102
  show: n.value,
@@ -2154,7 +2154,7 @@ const xy = ["href"], ky = ["src", "alt"], Cy = {}, Sy = /* @__PURE__ */ se({
2154
2154
  },
2155
2155
  setup(t) {
2156
2156
  return (e, n) => {
2157
- const i = Sa, s = Ri;
2157
+ const i = Sa, s = Fi;
2158
2158
  return b(), ee(s, {
2159
2159
  trigger: "click",
2160
2160
  placement: "top-start",
@@ -2473,7 +2473,7 @@ const xy = ["href"], ky = ["src", "alt"], Cy = {}, Sy = /* @__PURE__ */ se({
2473
2473
  e.value = !1, n.value = !0, i.value = !0;
2474
2474
  };
2475
2475
  return (r, o) => {
2476
- const a = Sa, l = Ae, c = Ri;
2476
+ const a = Sa, l = Ae, c = Fi;
2477
2477
  return b(), R(ve, null, [
2478
2478
  z(c, {
2479
2479
  show: e.value,
@@ -3273,7 +3273,7 @@ const uf = Ie({ name: "ion-plus", render: w0 }), x0 = {
3273
3273
  label: "Маркировка"
3274
3274
  }, {
3275
3275
  default: I(() => [
3276
- z(F(Fi), {
3276
+ z(F(Mi), {
3277
3277
  value: a.value.marker ?? null,
3278
3278
  placeholder: "Введите маркировку",
3279
3279
  onInput: y[16] || (y[16] = (_) => F(It)(t.validation, "marker")),
@@ -3326,7 +3326,7 @@ const uf = Ie({ name: "ion-plus", render: w0 }), x0 = {
3326
3326
  ]);
3327
3327
  };
3328
3328
  }
3329
- }), D0 = /* @__PURE__ */ Mi(z0, [["__scopeId", "data-v-ac7f1192"]]);
3329
+ }), D0 = /* @__PURE__ */ fi(z0, [["__scopeId", "data-v-ac7f1192"]]);
3330
3330
  var df = Object.defineProperty, N0 = Object.defineProperties, H0 = Object.getOwnPropertyDescriptors, yu = Object.getOwnPropertySymbols, W0 = Object.prototype.hasOwnProperty, V0 = Object.prototype.propertyIsEnumerable, hf = (t) => {
3331
3331
  throw TypeError(t);
3332
3332
  }, Wl = (t, e, n) => e in t ? df(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Ur = (t, e) => {
@@ -3389,11 +3389,11 @@ ff(mf, {
3389
3389
  var vf = {};
3390
3390
  ff(vf, {
3391
3391
  HALF_PI: () => Lt,
3392
- NumArray: () => Ci,
3392
+ NumArray: () => Si,
3393
3393
  TWO_PI: () => Tt,
3394
3394
  decomposeMatrix: () => Ds,
3395
3395
  getComputedMatrix: () => Ac,
3396
- getEffectiveStrokeWidth: () => $i,
3396
+ getEffectiveStrokeWidth: () => Pi,
3397
3397
  getPoT: () => _f,
3398
3398
  lerp: () => pn,
3399
3399
  mod: () => Mt,
@@ -3454,11 +3454,11 @@ function Mt(t, e) {
3454
3454
  t += e;
3455
3455
  return t % e;
3456
3456
  }
3457
- var Ci = kt.Float32Array || Array, q0 = Math.floor;
3457
+ var Si = kt.Float32Array || Array, q0 = Math.floor;
3458
3458
  function it(t) {
3459
3459
  return q0(t * 1e6) / 1e6;
3460
3460
  }
3461
- function $i(t, e) {
3461
+ function Pi(t, e) {
3462
3462
  const n = t._linewidth;
3463
3463
  if (t.strokeAttenuation)
3464
3464
  return n;
@@ -5627,7 +5627,7 @@ function Ns(t) {
5627
5627
  }
5628
5628
  var rb = Math.cos, ob = Math.sin, Ru = Math.tan, al = [], Ff = class Ln extends ce {
5629
5629
  constructor(e, n, i, s, r, o) {
5630
- super(), $(this, "elements", new Ci(9)), $(this, "manual", !1);
5630
+ super(), $(this, "elements", new Si(9)), $(this, "manual", !1);
5631
5631
  let a = e;
5632
5632
  Array.isArray(a) || (a = Array.prototype.slice.call(arguments)), this.identity(), a.length > 0 && this.set(a);
5633
5633
  }
@@ -5648,7 +5648,7 @@ var rb = Math.cos, ob = Math.sin, Ru = Math.tan, al = [], Ff = class Ln extends
5648
5648
  return _ = T[0] * B + T[1] * E + T[2] * N, M = T[3] * B + T[4] * E + T[5] * N, C = T[6] * B + T[7] * E + T[8] * N, [_, M, C];
5649
5649
  }
5650
5650
  const s = e[0], r = e[1], o = e[2], a = e[3], l = e[4], c = e[5], u = e[6], d = e[7], h = e[8], f = n[0], g = n[1], p = n[2], v = n[3], m = n[4], y = n[5], x = n[6], w = n[7], S = n[8];
5651
- return i = i || new Ci(9), i[0] = s * f + r * v + o * x, i[1] = s * g + r * m + o * w, i[2] = s * p + r * y + o * S, i[3] = a * f + l * v + c * x, i[4] = a * g + l * m + c * w, i[5] = a * p + l * y + c * S, i[6] = u * f + d * v + h * x, i[7] = u * g + d * m + h * w, i[8] = u * p + d * y + h * S, i;
5651
+ return i = i || new Si(9), i[0] = s * f + r * v + o * x, i[1] = s * g + r * m + o * w, i[2] = s * p + r * y + o * S, i[3] = a * f + l * v + c * x, i[4] = a * g + l * m + c * w, i[5] = a * p + l * y + c * S, i[6] = u * f + d * v + h * x, i[7] = u * g + d * m + h * w, i[8] = u * p + d * y + h * S, i;
5652
5652
  }
5653
5653
  /**
5654
5654
  * @name Two.Matrix.fromObject
@@ -8701,7 +8701,7 @@ $(qc, "Properties", [
8701
8701
  "dashes",
8702
8702
  "strokeAttenuation"
8703
8703
  ]);
8704
- var xi = qc, ju = {
8704
+ var ki = qc, ju = {
8705
8705
  value: {
8706
8706
  enumerable: !0,
8707
8707
  get: function() {
@@ -9195,7 +9195,7 @@ var mo = Math.min, vo = Math.max, Db = {
9195
9195
  case "star":
9196
9196
  return jc.fromObject(s);
9197
9197
  case "text":
9198
- return xi.fromObject(s);
9198
+ return ki.fromObject(s);
9199
9199
  }
9200
9200
  return s;
9201
9201
  }
@@ -9840,7 +9840,7 @@ var Ku = {
9840
9840
  }
9841
9841
  }
9842
9842
  }
9843
- }, ki = {
9843
+ }, Ci = {
9844
9844
  path: /[+-]?(?:\d*\.\d+|\d+)(?:[eE][+-]\d+)?/g,
9845
9845
  cssBackgroundImage: /url\(['"]?#([\w\d-_]*)['"]?\)/i,
9846
9846
  unitSuffix: /[a-zA-Z%]*/i
@@ -9984,7 +9984,7 @@ function Xn(t, e, n) {
9984
9984
  e.opacity = parseFloat(c);
9985
9985
  break;
9986
9986
  case "clip-path":
9987
- if (ki.cssBackgroundImage.test(c) && (p = c.replace(ki.cssBackgroundImage, "$1"), gt.defs.current && gt.defs.current.contains(p) && (m = gt.defs.current.get(p), m && m.childNodes.length > 0)))
9987
+ if (Ci.cssBackgroundImage.test(c) && (p = c.replace(Ci.cssBackgroundImage, "$1"), gt.defs.current && gt.defs.current.contains(p) && (m = gt.defs.current.get(p), m && m.childNodes.length > 0)))
9988
9988
  switch (m = m.childNodes[0], y = Yr(m.nodeName), e.mask = gt[y].call(this, m, {}), e._renderer.type) {
9989
9989
  case "text":
9990
9990
  case "path":
@@ -9994,7 +9994,7 @@ function Xn(t, e, n) {
9994
9994
  break;
9995
9995
  case "fill":
9996
9996
  case "stroke":
9997
- u = (e instanceof Ut ? "_" : "") + l, ki.cssBackgroundImage.test(c) ? (p = c.replace(ki.cssBackgroundImage, "$1"), gt.defs.current && gt.defs.current.contains(p) ? (m = gt.defs.current.get(p), m.object || (y = Yr(m.nodeName), m.object = gt[y].call(this, m, {})), m = m.object) : (v = Kb(this), m = v.getById(p)), e[u] = m) : e[u] = c;
9997
+ u = (e instanceof Ut ? "_" : "") + l, Ci.cssBackgroundImage.test(c) ? (p = c.replace(Ci.cssBackgroundImage, "$1"), gt.defs.current && gt.defs.current.contains(p) ? (m = gt.defs.current.get(p), m.object || (y = Yr(m.nodeName), m.object = gt[y].call(this, m, {})), m = m.object) : (v = Kb(this), m = v.getById(p)), e[u] = m) : e[u] = c;
9998
9998
  break;
9999
9999
  case "id":
10000
10000
  e.id = c;
@@ -10012,24 +10012,24 @@ function Xn(t, e, n) {
10012
10012
  ), console.warn(T.name, T.message)), e.translation[l] = parseFloat(c);
10013
10013
  break;
10014
10014
  case "font-family":
10015
- e instanceof xi && (e.family = c);
10015
+ e instanceof ki && (e.family = c);
10016
10016
  break;
10017
10017
  case "font-size":
10018
- e instanceof xi && (c.match("[a-z%]$") && !c.endsWith("px") && (T = new Mn(
10018
+ e instanceof ki && (c.match("[a-z%]$") && !c.endsWith("px") && (T = new Mn(
10019
10019
  "only pixel values are supported with the " + l + " attribute."
10020
10020
  ), console.warn(T.name, T.message)), e.size = parseFloat(c));
10021
10021
  break;
10022
10022
  case "font-weight":
10023
- e instanceof xi && (e.weight = c);
10023
+ e instanceof ki && (e.weight = c);
10024
10024
  break;
10025
10025
  case "font-style":
10026
- e instanceof xi && (e.style = c);
10026
+ e instanceof ki && (e.style = c);
10027
10027
  break;
10028
10028
  case "text-decoration":
10029
- e instanceof xi && (e.decoration = c);
10029
+ e instanceof ki && (e.decoration = c);
10030
10030
  break;
10031
10031
  case "line-height":
10032
- e instanceof xi && (e.leading = c);
10032
+ e instanceof ki && (e.leading = c);
10033
10033
  break;
10034
10034
  }
10035
10035
  return Object.keys(t.dataset).length && (e.dataset = t.dataset), i;
@@ -10053,7 +10053,7 @@ var gt = {
10053
10053
  const i = gt.g.call(this, t), s = t.getAttribute("viewBox"), r = t.getAttribute("x"), o = t.getAttribute("y"), a = t.getAttribute("width"), l = t.getAttribute("height");
10054
10054
  i.defs = e;
10055
10055
  const c = s !== null, u = r !== null, d = o !== null, h = a !== null, f = l !== null;
10056
- return u && (i.x = parseFloat(r.replace(ki.unitSuffix, ""))), d && (i.y = parseFloat(o.replace(ki.unitSuffix, ""))), h && (i.width = parseFloat(a.replace(ki.unitSuffix, ""))), f && (i.height = parseFloat(l.replace(ki.unitSuffix, ""))), c && Xb(i, s), delete gt.defs.current, i;
10056
+ return u && (i.x = parseFloat(r.replace(Ci.unitSuffix, ""))), d && (i.y = parseFloat(o.replace(Ci.unitSuffix, ""))), h && (i.width = parseFloat(a.replace(Ci.unitSuffix, ""))), f && (i.height = parseFloat(l.replace(Ci.unitSuffix, ""))), c && Xb(i, s), delete gt.defs.current, i;
10057
10057
  },
10058
10058
  defs: function(t) {
10059
10059
  return null;
@@ -10116,7 +10116,7 @@ var gt = {
10116
10116
  let a = new je(), l, c, u = n.match(/[a-df-z][^a-df-z]*/gi);
10117
10117
  const d = u.length - 1;
10118
10118
  ge.each(u.slice(0), function(h, f) {
10119
- const g = h.slice(1).trim().match(ki.path), p = h[0], v = p.toLowerCase();
10119
+ const g = h.slice(1).trim().match(Ci.path), p = h[0], v = p.toLowerCase();
10120
10120
  let m, y, x, w, S;
10121
10121
  const T = [];
10122
10122
  switch (f === 0 && (u = []), v) {
@@ -10159,7 +10159,7 @@ var gt = {
10159
10159
  }), ge.each(u, function(h, f) {
10160
10160
  let g, p, v;
10161
10161
  const m = h[0], y = m.toLowerCase();
10162
- c = h.slice(1).trim().match(ki.path), r = m === y;
10162
+ c = h.slice(1).trim().match(Ci.path), r = m === y;
10163
10163
  let x, w, S, T, _, M, C, B, E, N, O, V, te, ae, re, G, X;
10164
10164
  switch (y) {
10165
10165
  case "z":
@@ -10313,7 +10313,7 @@ var gt = {
10313
10313
  const n = Wb(t.getAttribute("text-anchor")) || "left", i = Vb(t) || "baseline";
10314
10314
  let s = "";
10315
10315
  t.childNodes.length > 0 && t.childNodes[0].tagName === "TSPAN" ? s = t.childNodes[0].textContent : s = t.textContent;
10316
- const r = new xi(s);
10316
+ const r = new ki(s);
10317
10317
  return Xn.call(this, t, r, e), r.alignment = n, r.baseline = i, r;
10318
10318
  },
10319
10319
  clippath: function(t, e) {
@@ -10334,7 +10334,7 @@ function Gf(t, e) {
10334
10334
  n.readyState === 4 && n.status === 200 && e(n.responseText);
10335
10335
  }, n.send(), n;
10336
10336
  }
10337
- var Kc = class mi extends ms {
10337
+ var Kc = class vi extends ms {
10338
10338
  constructor(e, n, i, s, r, o) {
10339
10339
  super(n, i, s || 1, r || 1), $(this, "_flagTexture", !1), $(this, "_flagMode", !1), $(this, "_texture", null), $(this, "_mode", "fill"), this._renderer.type = "image";
10340
10340
  for (let a in Qu)
@@ -10350,7 +10350,7 @@ var Kc = class mi extends ms {
10350
10350
  * @nota-bene Works in conjunction with {@link Two.Image#toObject}
10351
10351
  */
10352
10352
  static fromObject(e) {
10353
- const n = new mi().copy(e);
10353
+ const n = new vi().copy(e);
10354
10354
  return "id" in e && (n.id = e.id), n;
10355
10355
  }
10356
10356
  /**
@@ -10361,8 +10361,8 @@ var Kc = class mi extends ms {
10361
10361
  */
10362
10362
  copy(e) {
10363
10363
  super.copy.call(this, e);
10364
- for (let n = 0; n < mi.Properties.length; n++) {
10365
- const i = mi.Properties[n];
10364
+ for (let n = 0; n < vi.Properties.length; n++) {
10365
+ const i = vi.Properties[n];
10366
10366
  i in e && (this[i] = e[i]);
10367
10367
  }
10368
10368
  return this;
@@ -10375,7 +10375,7 @@ var Kc = class mi extends ms {
10375
10375
  * @description Create a new instance of {@link Two.Image} with the same properties of the current image.
10376
10376
  */
10377
10377
  clone(e) {
10378
- const n = new mi(
10378
+ const n = new vi(
10379
10379
  this.texture,
10380
10380
  this.translation.x,
10381
10381
  this.translation.y,
@@ -10419,23 +10419,23 @@ var Kc = class mi extends ms {
10419
10419
  if (e && (this._flagTexture && (this.fill = e), e.loaded)) {
10420
10420
  const n = e.image.width, i = e.image.height, s = this.width, r = this.height, o = s / n, a = r / i;
10421
10421
  switch (this._mode) {
10422
- case mi.Modes.fill: {
10422
+ case vi.Modes.fill: {
10423
10423
  const l = Math.max(o, a);
10424
10424
  e.scale = l, e.offset.x = 0, e.offset.y = 0, e.repeat = "repeat";
10425
10425
  break;
10426
10426
  }
10427
- case mi.Modes.fit: {
10427
+ case vi.Modes.fit: {
10428
10428
  const l = Math.min(o, a);
10429
10429
  e.scale = l, e.offset.x = 0, e.offset.y = 0, e.repeat = "no-repeat";
10430
10430
  break;
10431
10431
  }
10432
- case mi.Modes.crop:
10432
+ case vi.Modes.crop:
10433
10433
  break;
10434
- case mi.Modes.tile: {
10434
+ case vi.Modes.tile: {
10435
10435
  e.offset.x = (n - s) / 2, e.offset.y = (i - r) / 2, e.repeat = "repeat";
10436
10436
  break;
10437
10437
  }
10438
- case mi.Modes.stretch:
10438
+ case vi.Modes.stretch:
10439
10439
  default:
10440
10440
  e.scale = new fe(o, a), e.offset.x = 0, e.offset.y = 0, e.repeat = "repeat";
10441
10441
  }
@@ -10556,7 +10556,7 @@ var Zf = Kc, Qu = {
10556
10556
  const W = Ge.getRendererType(s._renderer.type);
10557
10557
  Ge[W].render.call(s, t, this), t.strokeStyle = s._renderer.effect;
10558
10558
  }
10559
- r && (t.lineWidth = $i(this)), d && (t.miterLimit = d), u && (t.lineJoin = u), !h && c && (t.lineCap = c);
10559
+ r && (t.lineWidth = Pi(this)), d && (t.miterLimit = d), u && (t.lineJoin = u), !h && c && (t.lineCap = c);
10560
10560
  }
10561
10561
  typeof a == "number" && (t.globalAlpha = a), X && X.length > 0 && (t.lineDashOffset = X.offset || 0, t.setLineDash(X)), t.beginPath();
10562
10562
  let q, L, Q, ie, le, J, D;
@@ -10614,7 +10614,7 @@ var Zf = Kc, Qu = {
10614
10614
  const S = Ge.getRendererType(s._renderer.type);
10615
10615
  Ge[S].render.call(s, t, this), t.strokeStyle = s._renderer.effect;
10616
10616
  }
10617
- r && (t.lineWidth = $i(this));
10617
+ r && (t.lineWidth = Pi(this));
10618
10618
  }
10619
10619
  typeof a == "number" && (t.globalAlpha = a), m && m.length > 0 && (t.lineDashOffset = m.offset || 0, t.setLineDash(m)), t.beginPath();
10620
10620
  let x = c * 0.5, w;
@@ -10665,7 +10665,7 @@ var Zf = Kc, Qu = {
10665
10665
  const V = Ge.getRendererType(c._renderer.type);
10666
10666
  Ge[V].render.call(c, t, this), t.strokeStyle = c._renderer.effect;
10667
10667
  }
10668
- u && (t.lineWidth = $i(this));
10668
+ u && (t.lineWidth = Pi(this));
10669
10669
  }
10670
10670
  if (typeof s == "number" && (t.globalAlpha = s), v && v.length > 0 && (t.lineDashOffset = v.offset || 0, t.setLineDash(v)), !a && !n && (Ge.isHidden.test(d) || (d._renderer && d._renderer.offset ? (M = d._renderer.scale.x, C = d._renderer.scale.y, t.save(), t.translate(-d._renderer.offset.x, -d._renderer.offset.y), t.scale(M, C), x = this._size / d._renderer.scale.y, w = this._leading / d._renderer.scale.y, t.font = [
10671
10671
  this._style,
@@ -11016,7 +11016,7 @@ var xe = {
11016
11016
  const i = xe.getRendererType(this._stroke._renderer.type);
11017
11017
  xe[i].render.call(this._stroke, t, !0);
11018
11018
  }
11019
- if (this._flagStroke && (e.stroke = this._stroke && this._stroke.id ? "url(#" + this._stroke.id + ")" : this._stroke, this._renderer.hasStrokeEffect && typeof this._stroke.id > "u" && (t.defs._flagUpdate = !0, delete this._renderer.hasStrokeEffect)), this._flagLinewidth && (e["stroke-width"] = $i(this)), this._flagOpacity && (e["stroke-opacity"] = this._opacity, e["fill-opacity"] = this._opacity), this._flagClassName && (e.class = this.classList.join(" ")), this._flagVisible && (e.visibility = this._visible ? "visible" : "hidden"), this._flagCap && (e["stroke-linecap"] = this._cap), this._flagJoin && (e["stroke-linejoin"] = this._join), this._flagMiter && (e["stroke-miterlimit"] = this._miter), this.dashes && this.dashes.length > 0 && (e["stroke-dasharray"] = this.dashes.join(" "), e["stroke-dashoffset"] = this.dashes.offset || 0), this._renderer.elem ? xe.setAttributes(this._renderer.elem, e) : (e.id = this._id, this._renderer.elem = xe.createElement("path", e), t.appendChild(this._renderer.elem)), this._flagClip) {
11019
+ if (this._flagStroke && (e.stroke = this._stroke && this._stroke.id ? "url(#" + this._stroke.id + ")" : this._stroke, this._renderer.hasStrokeEffect && typeof this._stroke.id > "u" && (t.defs._flagUpdate = !0, delete this._renderer.hasStrokeEffect)), this._flagLinewidth && (e["stroke-width"] = Pi(this)), this._flagOpacity && (e["stroke-opacity"] = this._opacity, e["fill-opacity"] = this._opacity), this._flagClassName && (e.class = this.classList.join(" ")), this._flagVisible && (e.visibility = this._visible ? "visible" : "hidden"), this._flagCap && (e["stroke-linecap"] = this._cap), this._flagJoin && (e["stroke-linejoin"] = this._join), this._flagMiter && (e["stroke-miterlimit"] = this._miter), this.dashes && this.dashes.length > 0 && (e["stroke-dasharray"] = this.dashes.join(" "), e["stroke-dashoffset"] = this.dashes.offset || 0), this._renderer.elem ? xe.setAttributes(this._renderer.elem, e) : (e.id = this._id, this._renderer.elem = xe.createElement("path", e), t.appendChild(this._renderer.elem)), this._flagClip) {
11020
11020
  const i = xe.getClip(this, t), s = this._renderer.elem;
11021
11021
  this._clip ? (s.removeAttribute("id"), i.setAttribute("id", this.id), i.appendChild(s)) : (i.removeAttribute("id"), s.setAttribute("id", this.id), this.parent._renderer.elem.appendChild(s));
11022
11022
  }
@@ -11057,7 +11057,7 @@ var xe = {
11057
11057
  const i = xe.getRendererType(this._stroke._renderer.type);
11058
11058
  xe[i].render.call(this._stroke, t, !0);
11059
11059
  }
11060
- return this._flagStroke && (e.stroke = this._stroke && this._stroke.id ? "url(#" + this._stroke.id + ")" : this._stroke, this._renderer.hasStrokeEffect && typeof this._stroke.id > "u" && (t.defs._flagUpdate = !0, delete this._renderer.hasStrokeEffect)), this._flagLinewidth && (e["stroke-width"] = $i(this)), this._flagOpacity && (e["stroke-opacity"] = this._opacity, e["fill-opacity"] = this._opacity), this._flagClassName && (e.class = this.classList.join(" ")), this._flagVisible && (e.visibility = this._visible ? "visible" : "hidden"), this.dashes && this.dashes.length > 0 && (e["stroke-dasharray"] = this.dashes.join(" "), e["stroke-dashoffset"] = this.dashes.offset || 0), this._renderer.elem ? xe.setAttributes(this._renderer.elem, e) : (e.id = this._id, this._renderer.elem = xe.createElement("path", e), t.appendChild(this._renderer.elem)), ge.isFunction(this._renderer.onAfterRender) && this._renderer.onAfterRender(), this.flagReset();
11060
+ return this._flagStroke && (e.stroke = this._stroke && this._stroke.id ? "url(#" + this._stroke.id + ")" : this._stroke, this._renderer.hasStrokeEffect && typeof this._stroke.id > "u" && (t.defs._flagUpdate = !0, delete this._renderer.hasStrokeEffect)), this._flagLinewidth && (e["stroke-width"] = Pi(this)), this._flagOpacity && (e["stroke-opacity"] = this._opacity, e["fill-opacity"] = this._opacity), this._flagClassName && (e.class = this.classList.join(" ")), this._flagVisible && (e.visibility = this._visible ? "visible" : "hidden"), this.dashes && this.dashes.length > 0 && (e["stroke-dasharray"] = this.dashes.join(" "), e["stroke-dashoffset"] = this.dashes.offset || 0), this._renderer.elem ? xe.setAttributes(this._renderer.elem, e) : (e.id = this._id, this._renderer.elem = xe.createElement("path", e), t.appendChild(this._renderer.elem)), ge.isFunction(this._renderer.onAfterRender) && this._renderer.onAfterRender(), this.flagReset();
11061
11061
  }
11062
11062
  },
11063
11063
  text: {
@@ -11074,7 +11074,7 @@ var xe = {
11074
11074
  const i = xe.getRendererType(this._stroke._renderer.type);
11075
11075
  xe[i].render.call(this._stroke, t, !0);
11076
11076
  }
11077
- if (this._flagStroke && (e.stroke = this._stroke && this._stroke.id ? "url(#" + this._stroke.id + ")" : this._stroke, this._renderer.hasStrokeEffect && typeof this._stroke.id > "u" && (t.defs._flagUpdate = !0, delete this._renderer.hasStrokeEffect)), this._flagLinewidth && (e["stroke-width"] = $i(this)), this._flagOpacity && (e.opacity = this._opacity), this._flagClassName && (e.class = this.classList.join(" ")), this._flagVisible && (e.visibility = this._visible ? "visible" : "hidden"), this.dashes && this.dashes.length > 0 && (e["stroke-dasharray"] = this.dashes.join(" "), e["stroke-dashoffset"] = this.dashes.offset || 0), this._renderer.elem ? xe.setAttributes(this._renderer.elem, e) : (e.id = this._id, this._renderer.elem = xe.createElement("text", e), t.appendChild(this._renderer.elem)), this._flagClip) {
11077
+ if (this._flagStroke && (e.stroke = this._stroke && this._stroke.id ? "url(#" + this._stroke.id + ")" : this._stroke, this._renderer.hasStrokeEffect && typeof this._stroke.id > "u" && (t.defs._flagUpdate = !0, delete this._renderer.hasStrokeEffect)), this._flagLinewidth && (e["stroke-width"] = Pi(this)), this._flagOpacity && (e.opacity = this._opacity), this._flagClassName && (e.class = this.classList.join(" ")), this._flagVisible && (e.visibility = this._visible ? "visible" : "hidden"), this.dashes && this.dashes.length > 0 && (e["stroke-dasharray"] = this.dashes.join(" "), e["stroke-dashoffset"] = this.dashes.offset || 0), this._renderer.elem ? xe.setAttributes(this._renderer.elem, e) : (e.id = this._id, this._renderer.elem = xe.createElement("text", e), t.appendChild(this._renderer.elem)), this._flagClip) {
11078
11078
  const i = xe.getClip(this, t), s = this._renderer.elem;
11079
11079
  this._clip ? (s.removeAttribute("id"), i.setAttribute("id", this.id), i.appendChild(s)) : (i.removeAttribute("id"), s.setAttribute("id", this.id), this.parent._renderer.elem.appendChild(s));
11080
11080
  }
@@ -11261,7 +11261,7 @@ var Yn = {
11261
11261
  }
11262
11262
  `
11263
11263
  }
11264
- }, wo = Hs.Multiply, Jb = [1, 0, 0, 0, 1, 0, 0, 0, 1], ns = new Ci(9), e1 = sn.Utils, td = new fe(), Gl = new Ci([0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1]), ze = {
11264
+ }, wo = Hs.Multiply, Jb = [1, 0, 0, 0, 1, 0, 0, 0, 1], ns = new Si(9), e1 = sn.Utils, td = new fe(), Gl = new Si([0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1]), ze = {
11265
11265
  precision: 0.9,
11266
11266
  isHidden: /(undefined|none|transparent)/i,
11267
11267
  canvas: kt.document ? kt.document.createElement("canvas") : { getContext: function() {
@@ -11290,7 +11290,7 @@ var Yn = {
11290
11290
  return;
11291
11291
  ge.isFunction(this._renderer.onBeforeRender) && this._renderer.onBeforeRender(), this._update();
11292
11292
  const n = this.parent, i = n._matrix && n._matrix.manual || n._flagMatrix, s = this._matrix.manual || this._flagMatrix;
11293
- if ((i || s) && (this._renderer.matrix || (this._renderer.matrix = new Ci(9)), this._matrix.toTransformArray(!0, ns), wo(
11293
+ if ((i || s) && (this._renderer.matrix || (this._renderer.matrix = new Si(9)), this._matrix.toTransformArray(!0, ns), wo(
11294
11294
  ns,
11295
11295
  n._renderer.matrix,
11296
11296
  this._renderer.matrix
@@ -11343,7 +11343,7 @@ var Yn = {
11343
11343
  );
11344
11344
  ze[D].render.call(S, y, e), y.strokeStyle = S._renderer.effect;
11345
11345
  }
11346
- T && (y.lineWidth = $i(e)), E && (y.miterLimit = E), B && (y.lineJoin = B), !N && C && (y.lineCap = C);
11346
+ T && (y.lineWidth = Pi(e)), E && (y.miterLimit = E), B && (y.lineJoin = B), !N && C && (y.lineCap = C);
11347
11347
  }
11348
11348
  typeof M == "number" && (y.globalAlpha = M), O && O.length > 0 && (y.lineDashOffset = O.offset || 0, y.setLineDash(O));
11349
11349
  let X, Y, q, L, Q, ie, le, J;
@@ -11397,7 +11397,7 @@ var Yn = {
11397
11397
  ge.isFunction(this._renderer.onBeforeRender) && this._renderer.onBeforeRender(), this._update();
11398
11398
  const i = n || this.parent, s = sn.Utils.getRendererType(this._renderer.type), r = e[s], o = i._matrix.manual || i._flagMatrix, a = this._matrix.manual || this._flagMatrix, l = this._renderer.parent !== i, c = this._flagVertices || this._flagFill || this._fill instanceof _t && (this._fill._flagSpread || this._fill._flagStops || this._fill._flagEndPoints) || this._fill instanceof wt && (this._fill._flagSpread || this._fill._flagStops || this._fill._flagRadius || this._fill._flagCenter || this._fill._flagFocal) || this._fill instanceof rt && (this._fill._flagLoaded && this._fill.loaded || this._fill._flagImage || this._fill._flagVideo || this._fill._flagRepeat || this._fill._flagOffset || this._fill._flagScale) || this._stroke instanceof _t && (this._stroke._flagSpread || this._stroke._flagStops || this._stroke._flagEndPoints) || this._stroke instanceof wt && (this._stroke._flagSpread || this._stroke._flagStops || this._stroke._flagRadius || this._stroke._flagCenter || this._stroke._flagFocal) || this._stroke instanceof rt && (this._stroke._flagLoaded && this._stroke.loaded || this._stroke._flagImage || this._stroke._flagVideo || this._stroke._flagRepeat || this._stroke._flagOffset || this._fill._flagScale) || this._flagStroke || this._flagLinewidth || this._flagOpacity || i._flagOpacity || this._flagVisible || this._flagCap || this._flagJoin || this._flagMiter || this._flagScale || this.dashes && this.dashes.length > 0 || !this._renderer.texture;
11399
11399
  if (o || a || l) {
11400
- this._renderer.matrix || (this._renderer.matrix = new Ci(9)), this._matrix.toTransformArray(!0, ns), wo(
11400
+ this._renderer.matrix || (this._renderer.matrix = new Si(9)), this._matrix.toTransformArray(!0, ns), wo(
11401
11401
  ns,
11402
11402
  i._renderer.matrix,
11403
11403
  this._renderer.matrix
@@ -11457,7 +11457,7 @@ var Yn = {
11457
11457
  );
11458
11458
  ze[v].render.call(o, s, e), s.strokeStyle = o._renderer.effect;
11459
11459
  }
11460
- a && (s.lineWidth = $i(e) / f);
11460
+ a && (s.lineWidth = Pi(e) / f);
11461
11461
  }
11462
11462
  typeof c == "number" && (s.globalAlpha = c), u && u.length > 0 && (s.lineDashOffset = u.offset || 0, s.setLineDash(u)), s.save(), s.translate(g, p), s.scale(ze.precision, ze.precision), s.beginPath(), s.arc(0, 0, d / f * 0.5, 0, Tt), s.restore(), closed && s.closePath(), ze.isHidden.test(l) || (n = l._renderer && l._renderer.offset, n && (s.save(), s.translate(-l._renderer.offset.x, -l._renderer.offset.y), s.scale(l._renderer.scale.x, l._renderer.scale.y)), s.fill(), n && s.restore()), ze.isHidden.test(o) || (n = o._renderer && o._renderer.offset, n && (s.save(), s.translate(-o._renderer.offset.x, -o._renderer.offset.y), s.scale(o._renderer.scale.x, o._renderer.scale.y), s.lineWidth = a / o._renderer.scale.x), s.stroke(), n && s.restore());
11463
11463
  },
@@ -11468,7 +11468,7 @@ var Yn = {
11468
11468
  let i = this._size;
11469
11469
  const s = n || this.parent, r = e[this._renderer.type], o = this._sizeAttenuation, a = this._stroke, l = this._linewidth, c = s._matrix.manual || s._flagMatrix, u = this._matrix.manual || this._flagMatrix, d = this._renderer.parent !== s, h = this._renderer.vertices, f = this._renderer.collection.length, g = this._flagVertices, p = this._flagFill || this._fill instanceof _t && (this._fill._flagSpread || this._fill._flagStops || this._fill._flagEndPoints) || this._fill instanceof wt && (this._fill._flagSpread || this._fill._flagStops || this._fill._flagRadius || this._fill._flagCenter || this._fill._flagFocal) || this._fill instanceof rt && (this._fill._flagLoaded && this._fill.loaded || this._fill._flagImage || this._fill._flagVideo || this._fill._flagRepeat || this._fill._flagOffset || this._fill._flagScale) || this._stroke instanceof _t && (this._stroke._flagSpread || this._stroke._flagStops || this._stroke._flagEndPoints) || this._stroke instanceof wt && (this._stroke._flagSpread || this._stroke._flagStops || this._stroke._flagRadius || this._stroke._flagCenter || this._stroke._flagFocal) || this._stroke instanceof rt && (this._stroke._flagLoaded && this._stroke.loaded || this._stroke._flagImage || this._stroke._flagVideo || this._stroke._flagRepeat || this._stroke._flagOffset || this._fill._flagScale) || this._flagStroke || this._flagLinewidth || this._flagOpacity || s._flagOpacity || this._flagVisible || this._flagScale || this.dashes && this.dashes.length > 0 || !this._renderer.texture;
11470
11470
  if (c || u || d) {
11471
- this._renderer.matrix || (this._renderer.matrix = new Ci(9)), this._matrix.toTransformArray(!0, ns), wo(
11471
+ this._renderer.matrix || (this._renderer.matrix = new Si(9)), this._matrix.toTransformArray(!0, ns), wo(
11472
11472
  ns,
11473
11473
  s._renderer.matrix,
11474
11474
  this._renderer.matrix
@@ -11527,7 +11527,7 @@ var Yn = {
11527
11527
  );
11528
11528
  ze[N].render.call(o, i, e), i.strokeStyle = o._renderer.effect;
11529
11529
  }
11530
- a && (i.lineWidth = $i(e));
11530
+ a && (i.lineWidth = Pi(e));
11531
11531
  }
11532
11532
  if (typeof c == "number" && (i.globalAlpha = c), u && u.length > 0 && (i.lineDashOffset = u.offset || 0, i.setLineDash(u)), i.save(), i.scale(r.x, r.y), i.translate(g, p), ze.isHidden.test(l) || (l._renderer && l._renderer.offset ? (S = l._renderer.scale.x, T = l._renderer.scale.y, i.save(), i.translate(-l._renderer.offset.x, -l._renderer.offset.y), i.scale(S, T), v = e._size / l._renderer.scale.y, m = e._leading / l._renderer.scale.y, i.font = [
11533
11533
  e._style,
@@ -11598,7 +11598,7 @@ var Yn = {
11598
11598
  ge.isFunction(this._renderer.onBeforeRender) && this._renderer.onBeforeRender(), this._update();
11599
11599
  const i = n || this.parent, s = e[this._renderer.type], r = i._matrix.manual || i._flagMatrix, o = this._matrix.manual || this._flagMatrix, a = this._renderer.parent !== i, l = this._flagVertices || this._flagFill || this._fill instanceof _t && (this._fill._flagSpread || this._fill._flagStops || this._fill._flagEndPoints) || this._fill instanceof wt && (this._fill._flagSpread || this._fill._flagStops || this._fill._flagRadius || this._fill._flagCenter || this._fill._flagFocal) || this._fill instanceof rt && (this._fill._flagLoaded && this._fill.loaded || this._fill._flagImage || this._fill._flagVideo || this._fill._flagRepeat || this._fill._flagOffset || this._fill._flagScale) || this._stroke instanceof _t && (this._stroke._flagSpread || this._stroke._flagStops || this._stroke._flagEndPoints) || this._stroke instanceof wt && (this._stroke._flagSpread || this._stroke._flagStops || this._stroke._flagRadius || this._stroke._flagCenter || this._stroke._flagFocal) || this._stroke instanceof rt && (this._stroke._flagLoaded && this._stroke.loaded || this._stroke._flagImage || this._stroke._flagVideo || this._stroke._flagRepeat || this._stroke._flagOffset || this._fill._flagScale) || this._flagStroke || this._flagLinewidth || this._flagOpacity || i._flagOpacity || this._flagVisible || this._flagScale || this._flagValue || this._flagFamily || this._flagSize || this._flagLeading || this._flagAlignment || this._flagBaseline || this._flagStyle || this._flagWeight || this._flagDecoration || this.dashes && this.dashes.length > 0 || !this._renderer.texture;
11600
11600
  if (r || o || a) {
11601
- this._renderer.matrix || (this._renderer.matrix = new Ci(9)), this._matrix.toTransformArray(!0, ns), wo(
11601
+ this._renderer.matrix || (this._renderer.matrix = new Si(9)), this._matrix.toTransformArray(!0, ns), wo(
11602
11602
  ns,
11603
11603
  i._renderer.matrix,
11604
11604
  this._renderer.matrix
@@ -11735,7 +11735,7 @@ var Jf = class extends ce {
11735
11735
  let e, n, i, s;
11736
11736
  if (this.domElement = t.domElement || document.createElement("canvas"), typeof t.offscreenElement < "u" && (ze.canvas = t.offscreenElement, ze.ctx = ze.canvas.getContext("2d")), this.scene = new Ut(), this.scene.parent = this, this._renderer = {
11737
11737
  type: "renderer",
11738
- matrix: new Ci(Jb),
11738
+ matrix: new Si(Jb),
11739
11739
  scale: 1,
11740
11740
  opacity: 1
11741
11741
  }, this._flagMatrix = !0, t = ge.defaults(t || {}, {
@@ -12312,7 +12312,7 @@ var t1 = ge.extend(
12312
12312
  * @description Creates a Two.js text object and adds it to the scene.
12313
12313
  */
12314
12314
  makeText(e, n, i, s) {
12315
- const r = new xi(e, n, i, s);
12315
+ const r = new ki(e, n, i, s);
12316
12316
  return this.add(r), r;
12317
12317
  }
12318
12318
  /**
@@ -12471,7 +12471,7 @@ $(Ve, "Path", Ke);
12471
12471
  $(Ve, "Registry", Ta);
12472
12472
  $(Ve, "Element", $r);
12473
12473
  $(Ve, "Shape", Qi);
12474
- $(Ve, "Text", xi);
12474
+ $(Ve, "Text", ki);
12475
12475
  $(Ve, "Vector", fe);
12476
12476
  $(Ve, "Gradient", Nt);
12477
12477
  $(Ve, "Image", Zf);
@@ -12495,7 +12495,7 @@ $(Ve, "SVGRenderer", Qf);
12495
12495
  $(Ve, "WebGLRenderer", Jf);
12496
12496
  $(Ve, "Commands", de);
12497
12497
  $(Ve, "Utils", t1);
12498
- var _i = Ve;
12498
+ var wi = Ve;
12499
12499
  function n1() {
12500
12500
  const t = document.body.getBoundingClientRect(), e = this.width = t.width, n = this.height = t.height;
12501
12501
  this.renderer.setSize(e, n, this.ratio);
@@ -12514,18 +12514,18 @@ function s1(t, e) {
12514
12514
  }
12515
12515
  var Kr = Dn.getRequestAnimationFrame();
12516
12516
  function eg() {
12517
- for (let t = 0; t < _i.Instances.length; t++) {
12518
- const e = _i.Instances[t];
12517
+ for (let t = 0; t < wi.Instances.length; t++) {
12518
+ const e = wi.Instances[t];
12519
12519
  e.playing && e.update();
12520
12520
  }
12521
- _i.NextFrameId = Kr(eg);
12521
+ wi.NextFrameId = Kr(eg);
12522
12522
  }
12523
12523
  Kr.init = function() {
12524
12524
  eg(), Kr.init = function() {
12525
12525
  };
12526
12526
  };
12527
- let Pi;
12528
- typeof window < "u" ? Pi = window : typeof global < "u" ? Pi = global : typeof self < "u" && (Pi = self);
12527
+ let Ti;
12528
+ typeof window < "u" ? Ti = window : typeof global < "u" ? Ti = global : typeof self < "u" && (Ti = self);
12529
12529
  let tg;
12530
12530
  const Hn = Math.PI * 2, qt = Math.PI * 0.5;
12531
12531
  function r1(t, e, n, i, s, r) {
@@ -12572,8 +12572,8 @@ function Tn(t, e) {
12572
12572
  t += e;
12573
12573
  return t % e;
12574
12574
  }
12575
- const nd = Pi.Float32Array || Array, l1 = Math.floor;
12576
- function wi(t) {
12575
+ const nd = Ti.Float32Array || Array, l1 = Math.floor;
12576
+ function xi(t) {
12577
12577
  return l1(t * 1e6) / 1e6;
12578
12578
  }
12579
12579
  const ke = {
@@ -13149,7 +13149,7 @@ const id = {
13149
13149
  * @description Return a JSON compatible plain object that represents the vector.
13150
13150
  */
13151
13151
  toObject() {
13152
- return { x: wi(this.x), y: wi(this.y) };
13152
+ return { x: xi(this.x), y: xi(this.y) };
13153
13153
  }
13154
13154
  /**
13155
13155
  * @name Two.Vector#rotate
@@ -13253,19 +13253,19 @@ class tt extends Re {
13253
13253
  */
13254
13254
  toObject() {
13255
13255
  return {
13256
- x: wi(this.x),
13257
- y: wi(this.y),
13256
+ x: xi(this.x),
13257
+ y: xi(this.y),
13258
13258
  command: this.command,
13259
13259
  relative: this.relative,
13260
13260
  controls: {
13261
13261
  left: this.controls.left.toObject(),
13262
13262
  right: this.controls.right.toObject()
13263
13263
  },
13264
- rx: wi(this.rx),
13265
- ry: wi(this.ry),
13266
- xAxisRotation: wi(this.xAxisRotation),
13267
- largeArcFlag: wi(this.largeArcFlag),
13268
- sweepFlag: wi(this.sweepFlag)
13264
+ rx: xi(this.rx),
13265
+ ry: xi(this.ry),
13266
+ xAxisRotation: xi(this.xAxisRotation),
13267
+ largeArcFlag: xi(this.largeArcFlag),
13268
+ sweepFlag: xi(this.sweepFlag)
13269
13269
  };
13270
13270
  }
13271
13271
  /**
@@ -13797,7 +13797,7 @@ const od = {
13797
13797
  image: /\.(jpe?g|png|gif|tiff|webp)$/i,
13798
13798
  effect: /texture|gradient/i
13799
13799
  };
13800
- Pi.document && (zo = document.createElement("a"));
13800
+ Ti.document && (zo = document.createElement("a"));
13801
13801
  const yt = class yt extends so {
13802
13802
  constructor(n, i) {
13803
13803
  super();
@@ -13947,7 +13947,7 @@ const yt = class yt extends so {
13947
13947
  if (yt.ImageRegistry.contains(i))
13948
13948
  return yt.ImageRegistry.get(i);
13949
13949
  let s;
13950
- return Pi.document ? od.video.test(i) ? s = document.createElement("video") : s = document.createElement("img") : console.warn("Two.js: no prototypical image defined for Two.Texture"), s.crossOrigin = "anonymous", s.referrerPolicy = "no-referrer", s;
13950
+ return Ti.document ? od.video.test(i) ? s = document.createElement("video") : s = document.createElement("img") : console.warn("Two.js: no prototypical image defined for Two.Texture"), s.crossOrigin = "anonymous", s.referrerPolicy = "no-referrer", s;
13951
13951
  }
13952
13952
  /**
13953
13953
  * @name Two.Texture.load
@@ -14300,7 +14300,7 @@ const ct = {
14300
14300
  * @property {Date} - A special `Date` like object to get the current millis of the session. Used internally to calculate time between frames.
14301
14301
  * e.g: `Utils.performance.now() // milliseconds since epoch`
14302
14302
  */
14303
- performance: Pi.performance && Pi.performance.now ? Pi.performance : Date
14303
+ performance: Ti.performance && Ti.performance.now ? Ti.performance : Date
14304
14304
  }, Cn = class Cn extends so {
14305
14305
  constructor(n, i, s) {
14306
14306
  super();
@@ -14451,7 +14451,7 @@ const cd = {
14451
14451
  this._color = t, this._flagColor = !0, this.parent && (this.parent._flagStops = !0);
14452
14452
  }
14453
14453
  }
14454
- }, vi = class vi extends so {
14454
+ }, yi = class yi extends so {
14455
14455
  constructor(n) {
14456
14456
  super();
14457
14457
  P(this, "_flagStops", !1);
@@ -14474,7 +14474,7 @@ const cd = {
14474
14474
  static fromObject(n) {
14475
14475
  let i = n.stops;
14476
14476
  i && i.length > 0 && (i = i.map((r) => r instanceof Bs ? r : new Bs().copy(r)));
14477
- const s = new vi(i).copy(n);
14477
+ const s = new yi(i).copy(n);
14478
14478
  return "id" in n && (s.id = n.id), s;
14479
14479
  }
14480
14480
  /**
@@ -14485,9 +14485,9 @@ const cd = {
14485
14485
  * @description Create a new instance of {@link Two.Gradient} with the same properties of the current path.
14486
14486
  */
14487
14487
  clone(n) {
14488
- const i = this.stops.map((r) => r.clone()), s = new vi(i);
14488
+ const i = this.stops.map((r) => r.clone()), s = new yi(i);
14489
14489
  return ct.each(
14490
- vi.Properties,
14490
+ yi.Properties,
14491
14491
  (r) => {
14492
14492
  s[r] = this[r];
14493
14493
  },
@@ -14502,8 +14502,8 @@ const cd = {
14502
14502
  */
14503
14503
  copy(n) {
14504
14504
  super.copy.call(this, n);
14505
- for (let i = 0; i < vi.Properties.length; i++) {
14506
- const s = vi.Properties[i];
14505
+ for (let i = 0; i < yi.Properties.length; i++) {
14506
+ const s = yi.Properties[i];
14507
14507
  s in n && (this[s] = n[s]);
14508
14508
  }
14509
14509
  return this;
@@ -14519,7 +14519,7 @@ const cd = {
14519
14519
  stops: this.stops.map((i) => i.toObject())
14520
14520
  };
14521
14521
  return ct.each(
14522
- vi.Properties,
14522
+ yi.Properties,
14523
14523
  (i) => {
14524
14524
  n[i] = this[i];
14525
14525
  },
@@ -14563,12 +14563,12 @@ const cd = {
14563
14563
  * @name Two.Gradient.Stop
14564
14564
  * @see {@link Two.Stop}
14565
14565
  */
14566
- P(vi, "Stop", Bs), /**
14566
+ P(yi, "Stop", Bs), /**
14567
14567
  * @name Two.Gradient.Properties
14568
14568
  * @property {String[]} - A list of properties that are on every {@link Two.Gradient}.
14569
14569
  */
14570
- P(vi, "Properties", ["spread", "stops", "units"]);
14571
- let Ht = vi;
14570
+ P(yi, "Properties", ["spread", "stops", "units"]);
14571
+ let Ht = yi;
14572
14572
  const ud = {
14573
14573
  spread: {
14574
14574
  enumerable: !0,
@@ -14740,7 +14740,7 @@ const dd = {
14740
14740
  function x1() {
14741
14741
  this._flagEndPoints = !0;
14742
14742
  }
14743
- const yi = class yi extends Ht {
14743
+ const bi = class bi extends Ht {
14744
14744
  constructor(n, i, s, r, o, a) {
14745
14745
  super(r);
14746
14746
  /**
@@ -14777,7 +14777,7 @@ const yi = class yi extends Ht {
14777
14777
  * @nota-bene Works in conjunction with {@link Two.RadialGradient#toObject}
14778
14778
  */
14779
14779
  static fromObject(n) {
14780
- const i = new yi().copy(n);
14780
+ const i = new bi().copy(n);
14781
14781
  return "id" in n && (i.id = n.id), i;
14782
14782
  }
14783
14783
  /**
@@ -14788,8 +14788,8 @@ const yi = class yi extends Ht {
14788
14788
  */
14789
14789
  copy(n) {
14790
14790
  super.copy.call(this, n);
14791
- for (let i = 0; i < yi.Properties.length; i++) {
14792
- const s = yi.Properties[i];
14791
+ for (let i = 0; i < bi.Properties.length; i++) {
14792
+ const s = bi.Properties[i];
14793
14793
  s in n && (/(center|focal)i/.test(s) ? this[s] = n[s] instanceof Re ? n[s] : new Re().copy(n[s]) : typeof n[s] == "number" && (this[s] = n[MediaKeySystemAccess]));
14794
14794
  }
14795
14795
  return this;
@@ -14804,7 +14804,7 @@ const yi = class yi extends Ht {
14804
14804
  clone(n) {
14805
14805
  const i = this.stops.map(function(r) {
14806
14806
  return r.clone();
14807
- }), s = new yi(
14807
+ }), s = new bi(
14808
14808
  this.center._x,
14809
14809
  this.center._y,
14810
14810
  this._radius,
@@ -14813,7 +14813,7 @@ const yi = class yi extends Ht {
14813
14813
  this.focal._y
14814
14814
  );
14815
14815
  return ct.each(
14816
- Ht.Properties.concat(yi.Properties),
14816
+ Ht.Properties.concat(bi.Properties),
14817
14817
  function(r) {
14818
14818
  s[r] = this[r];
14819
14819
  },
@@ -14829,7 +14829,7 @@ const yi = class yi extends Ht {
14829
14829
  toObject() {
14830
14830
  const n = super.toObject.call(this);
14831
14831
  return ct.each(
14832
- yi.Properties,
14832
+ bi.Properties,
14833
14833
  function(i) {
14834
14834
  n[i] = this[i];
14835
14835
  },
@@ -14861,12 +14861,12 @@ const yi = class yi extends Ht {
14861
14861
  * @name Two.RadialGradient.Stop
14862
14862
  * @see {@link Two.Stop}
14863
14863
  */
14864
- P(yi, "Stop", Bs), /**
14864
+ P(bi, "Stop", Bs), /**
14865
14865
  * @name Two.RadialGradient.Properties
14866
14866
  * @property {String[]} - A list of properties that are on every {@link Two.RadialGradient}.
14867
14867
  */
14868
- P(yi, "Properties", ["center", "radius", "focal"]);
14869
- let yn = yi;
14868
+ P(bi, "Properties", ["center", "radius", "focal"]);
14869
+ let yn = bi;
14870
14870
  const hd = {
14871
14871
  radius: {
14872
14872
  enumerable: !0,
@@ -15161,7 +15161,7 @@ const S1 = Math.cos, $1 = Math.sin, pd = Math.tan, fl = [], fn = class fn extend
15161
15161
  * @description Create a transform string. Used for the Two.js rendering APIs.
15162
15162
  */
15163
15163
  toString(n) {
15164
- return fl.length = 0, this.toTransformArray(n, fl), fl.map(wi).join(" ");
15164
+ return fl.length = 0, this.toTransformArray(n, fl), fl.map(xi).join(" ");
15165
15165
  }
15166
15166
  /**
15167
15167
  * @name Two.Matrix#toTransformArray
@@ -15443,7 +15443,7 @@ P(jr, "Properties", [
15443
15443
  "matrix",
15444
15444
  "worldMatrix"
15445
15445
  ]);
15446
- let Ti = jr;
15446
+ let Ri = jr;
15447
15447
  const xo = {
15448
15448
  position: {
15449
15449
  enumerable: !0,
@@ -15805,7 +15805,7 @@ function W1(t, e, n, i, s, r) {
15805
15805
  o === "geometric" ? H1(d, g, p, a, v, m) : N1(d, g, p, a, v, m);
15806
15806
  }
15807
15807
  }
15808
- const sr = Math.min, rr = Math.max, V1 = Math.ceil, j1 = Math.floor, q1 = new Re(), U1 = new wr(), ii = class ii extends Ti {
15808
+ const sr = Math.min, rr = Math.max, V1 = Math.ceil, j1 = Math.floor, q1 = new Re(), U1 = new wr(), ii = class ii extends Ri {
15809
15809
  constructor(n, i, s, r) {
15810
15810
  super();
15811
15811
  /**
@@ -16435,7 +16435,7 @@ const sr = Math.min, rr = Math.max, V1 = Math.ceil, j1 = Math.floor, q1 = new Re
16435
16435
  this._renderer.collection.length <= p && this._renderer.collection.push(new tt()), p > c && !d ? (g = this._renderer.collection[p].copy(this._collection[p]), this.getPointAt(r, g), g.command = this._renderer.collection[p].command, this._renderer.vertices.push(g), d = g, h = this._collection[p - 1], h && h.controls && (g.relative ? g.controls.right.clear() : g.controls.right.copy(g), h.relative ? this._renderer.collection[p - 1].controls.right.copy(h.controls.right).lerp(Re.zero, 1 - g.t) : this._renderer.collection[p - 1].controls.right.copy(h.controls.right).lerp(h, 1 - g.t))) : p >= l && p <= c && (g = this._renderer.collection[p].copy(this._collection[p]), this._renderer.vertices.push(g), p === c && fd(this, r) ? (d = g, !i && d.controls && (d.relative ? d.controls.right.clear() : d.controls.right.copy(d))) : p === l && fd(this, s) && (u = g, u.command = ke.move, !i && u.controls && (u.relative ? u.controls.left.clear() : u.controls.left.copy(u))));
16436
16436
  l > 0 && !u && (p = l - 1, g = this._renderer.collection[p].copy(this._collection[p]), this.getPointAt(s, g), g.command = ke.move, this._renderer.vertices.unshift(g), f = this._collection[p + 1], f && f.controls && (g.controls.left.clear(), f.relative ? this._renderer.collection[p + 1].controls.left.copy(f.controls.left).lerp(Re.zero, g.t) : (q1.copy(f), this._renderer.collection[p + 1].controls.left.copy(f.controls.left).lerp(f, g.t))));
16437
16437
  }
16438
- return Ti.prototype._update.apply(this, arguments), this;
16438
+ return Ri.prototype._update.apply(this, arguments), this;
16439
16439
  }
16440
16440
  /**
16441
16441
  * @name Two.Path#flagReset
@@ -16444,7 +16444,7 @@ const sr = Math.min, rr = Math.max, V1 = Math.ceil, j1 = Math.floor, q1 = new Re
16444
16444
  * @description Called internally to reset all flags. Ensures that only properties that change are updated before being sent to the renderer.
16445
16445
  */
16446
16446
  flagReset() {
16447
- return this._flagVertices = this._flagLength = this._flagFill = this._flagStroke = this._flagLinewidth = this._flagOpacity = this._flagVisible = this._flagCap = this._flagJoin = this._flagMiter = this._flagClip = this._flagStrokeAttenuation = !1, Ti.prototype.flagReset.call(this), this;
16447
+ return this._flagVertices = this._flagLength = this._flagFill = this._flagStroke = this._flagLinewidth = this._flagOpacity = this._flagVisible = this._flagCap = this._flagJoin = this._flagMiter = this._flagClip = this._flagStrokeAttenuation = !1, Ri.prototype.flagReset.call(this), this;
16448
16448
  }
16449
16449
  };
16450
16450
  /**
@@ -16686,7 +16686,7 @@ function cg() {
16686
16686
  function ug() {
16687
16687
  this._flagStroke = !0;
16688
16688
  }
16689
- const X1 = Math.ceil, Y1 = Math.floor, bi = class bi extends Ti {
16689
+ const X1 = Math.ceil, Y1 = Math.floor, _i = class _i extends Ri {
16690
16690
  constructor(n) {
16691
16691
  super();
16692
16692
  P(this, "_flagVertices", !0);
@@ -16765,7 +16765,7 @@ const X1 = Math.ceil, Y1 = Math.floor, bi = class bi extends Ti {
16765
16765
  * @nota-bene Works in conjunction with {@link Two.Points#toObject}
16766
16766
  */
16767
16767
  static fromObject(n) {
16768
- const i = typeof n.fill == "string" ? n.fill : Vs(n.fill), s = typeof n.stroke == "string" ? n.stroke : Vs(n.stroke), r = new bi().copy({ ...n, fill: i, stroke: s });
16768
+ const i = typeof n.fill == "string" ? n.fill : Vs(n.fill), s = typeof n.stroke == "string" ? n.stroke : Vs(n.stroke), r = new _i().copy({ ...n, fill: i, stroke: s });
16769
16769
  return "id" in n && (r.id = n.id), r;
16770
16770
  }
16771
16771
  /**
@@ -16780,8 +16780,8 @@ const X1 = Math.ceil, Y1 = Math.floor, bi = class bi extends Ti {
16780
16780
  const s = n.vertices[i];
16781
16781
  s instanceof tt ? this.vertices.push(n.vertices[i].clone()) : this.vertices.push(new tt().copy(s));
16782
16782
  }
16783
- for (let i = 0; i < bi.Properties.length; i++) {
16784
- const s = bi.Properties[i];
16783
+ for (let i = 0; i < _i.Properties.length; i++) {
16784
+ const s = _i.Properties[i];
16785
16785
  s in n && (this[s] = n[s]);
16786
16786
  }
16787
16787
  return this;
@@ -16794,11 +16794,11 @@ const X1 = Math.ceil, Y1 = Math.floor, bi = class bi extends Ti {
16794
16794
  * @description Create a new instance of {@link Two.Points} with the same properties of the current path.
16795
16795
  */
16796
16796
  clone(n) {
16797
- const i = new bi();
16797
+ const i = new _i();
16798
16798
  for (let s = 0; s < this.vertices.length; s++)
16799
16799
  i.vertices.push(this.vertices[s].clone());
16800
- for (let s = 0; s < bi.Properties.length; s++) {
16801
- const r = bi.Properties[s];
16800
+ for (let s = 0; s < _i.Properties.length; s++) {
16801
+ const r = _i.Properties[s];
16802
16802
  i[r] = this[r];
16803
16803
  }
16804
16804
  return i.className = this.className, i.translation.copy(this.translation), i.rotation = this.rotation, i.scale = this.scale, i.skewX = this.skewX, i.skewY = this.skewY, this.matrix.manual && i.matrix.copy(this.matrix), n && n.add(i), i._update();
@@ -16812,7 +16812,7 @@ const X1 = Math.ceil, Y1 = Math.floor, bi = class bi extends Ti {
16812
16812
  toObject() {
16813
16813
  const n = super.toObject.call(this);
16814
16814
  return n.renderer.type = "points", n.vertices = this.vertices.map((i) => i.toObject()), ct.each(
16815
- bi.Properties,
16815
+ _i.Properties,
16816
16816
  function(i) {
16817
16817
  typeof this[i] < "u" && (this[i].toObject ? n[i] = this[i].toObject() : n[i] = this[i]);
16818
16818
  },
@@ -16893,7 +16893,7 @@ const X1 = Math.ceil, Y1 = Math.floor, bi = class bi extends Ti {
16893
16893
  * @name Two.Points.Properties
16894
16894
  * @property {String[]} - A list of properties that are on every {@link Two.Points}.
16895
16895
  */
16896
- P(bi, "Properties", [
16896
+ P(_i, "Properties", [
16897
16897
  "fill",
16898
16898
  "stroke",
16899
16899
  "linewidth",
@@ -16906,7 +16906,7 @@ P(bi, "Properties", [
16906
16906
  "dashes",
16907
16907
  "strokeAttenuation"
16908
16908
  ]);
16909
- let ca = bi;
16909
+ let ca = _i;
16910
16910
  const bd = {
16911
16911
  linewidth: {
16912
16912
  enumerable: !0,
@@ -18224,8 +18224,8 @@ const $d = {
18224
18224
  };
18225
18225
  let rc;
18226
18226
  const Pd = Math.min, Td = Math.max;
18227
- Pi.document && (rc = document.createElement("canvas"));
18228
- const nn = class nn extends Ti {
18227
+ Ti.document && (rc = document.createElement("canvas"));
18228
+ const nn = class nn extends Ri {
18229
18229
  constructor(n, i, s, r) {
18230
18230
  super();
18231
18231
  /**
@@ -19487,7 +19487,7 @@ const Bd = {
19487
19487
  single: [],
19488
19488
  empty: []
19489
19489
  }
19490
- }, gn = class gn extends Ti {
19490
+ }, gn = class gn extends Ri {
19491
19491
  constructor(n) {
19492
19492
  super();
19493
19493
  /**
@@ -19703,7 +19703,7 @@ const Bd = {
19703
19703
  case "rounded-rectangle":
19704
19704
  return ic.fromObject(r);
19705
19705
  case "shape":
19706
- return Ti.fromObject(r);
19706
+ return Ri.fromObject(r);
19707
19707
  case "sprite":
19708
19708
  return ac.fromObject(r);
19709
19709
  case "star":
@@ -19749,7 +19749,7 @@ const Bd = {
19749
19749
  return !0;
19750
19750
  continue;
19751
19751
  }
19752
- if (h instanceof Ti && !(r && !r(h)) && typeof h.contains == "function" && h.contains(i.x, i.y, o) && (u.push(h), l))
19752
+ if (h instanceof Ri && !(r && !r(h)) && typeof h.contains == "function" && h.contains(i.x, i.y, o) && (u.push(h), l))
19753
19753
  return !0;
19754
19754
  }
19755
19755
  }
@@ -20550,7 +20550,7 @@ const Ia = Ie({ name: "ion-close", render: a_ }), l_ = { class: "mr-3 flex flex-
20550
20550
  key: `${d.id}-${h}`,
20551
20551
  class: "group relative"
20552
20552
  }, [
20553
- z(F(Ri), {
20553
+ z(F(Fi), {
20554
20554
  trigger: "hover",
20555
20555
  placement: "right"
20556
20556
  }, {
@@ -20595,7 +20595,7 @@ const Ia = Ie({ name: "ion-close", render: a_ }), l_ = { class: "mr-3 flex flex-
20595
20595
  });
20596
20596
  };
20597
20597
  }
20598
- }), f_ = /* @__PURE__ */ Mi(h_, [["__scopeId", "data-v-afccb364"]]), g_ = { class: "flex gap-3 min-w-[20rem] relative" }, p_ = { class: "kozyrek-preview w-fill h-[18rem] grow touch-none overflow-hidden rounded-lg bg-gray-200 p-2" }, m_ = {
20598
+ }), f_ = /* @__PURE__ */ fi(h_, [["__scopeId", "data-v-afccb364"]]), g_ = { class: "flex gap-3 min-w-[20rem] relative" }, p_ = { class: "kozyrek-preview w-fill h-[18rem] grow touch-none overflow-hidden rounded-lg bg-gray-200 p-2" }, m_ = {
20599
20599
  ref: "drawing-container",
20600
20600
  class: "size-full"
20601
20601
  }, v_ = {}, y_ = /* @__PURE__ */ se({
@@ -20712,11 +20712,11 @@ const Ia = Ie({ name: "ion-close", render: a_ }), l_ = { class: "mr-3 flex flex-
20712
20712
  if (!l)
20713
20713
  return Q;
20714
20714
  const ie = 5, le = Math.atan2(L - q, Y - X), J = [
20715
- new tt(X, q, 0, 0, 0, 0, _i.Commands.move),
20716
- new tt(Y, L, 0, 0, 0, 0, _i.Commands.line),
20717
- new tt(Y - ie * Math.cos(le - Math.PI / 4), L - ie * Math.sin(le - Math.PI / 4), 0, 0, 0, 0, _i.Commands.line),
20718
- new tt(Y, L, 0, 0, 0, 0, _i.Commands.move),
20719
- new tt(Y - ie * Math.cos(le + Math.PI / 4), L - ie * Math.sin(le + Math.PI / 4), 0, 0, 0, 0, _i.Commands.line)
20715
+ new tt(X, q, 0, 0, 0, 0, wi.Commands.move),
20716
+ new tt(Y, L, 0, 0, 0, 0, wi.Commands.line),
20717
+ new tt(Y - ie * Math.cos(le - Math.PI / 4), L - ie * Math.sin(le - Math.PI / 4), 0, 0, 0, 0, wi.Commands.line),
20718
+ new tt(Y, L, 0, 0, 0, 0, wi.Commands.move),
20719
+ new tt(Y - ie * Math.cos(le + Math.PI / 4), L - ie * Math.sin(le + Math.PI / 4), 0, 0, 0, 0, wi.Commands.line)
20720
20720
  ], D = new et(J, !1, !1, !0);
20721
20721
  D.noFill(), D.cap = "round", D.join = "round", D.linewidth = G / 7, D.stroke = ft.colorSideLabel.color, Q.add(D);
20722
20722
  const W = new mr(d.value ? "Цвет снизу" : "Цвет сверху", 10, 0);
@@ -20759,7 +20759,7 @@ const Ia = Ie({ name: "ion-close", render: a_ }), l_ = { class: "mr-3 flex flex-
20759
20759
  }
20760
20760
  }, E = (G, X) => {
20761
20761
  if (G && !X.isNewRec()) {
20762
- const Y = new _i({
20762
+ const Y = new wi({
20763
20763
  width: G.scrollWidth,
20764
20764
  height: G.scrollHeight
20765
20765
  });
@@ -20813,7 +20813,7 @@ const Ia = Ie({ name: "ion-close", render: a_ }), l_ = { class: "mr-3 flex flex-
20813
20813
  i("remove-custom-template", G, X);
20814
20814
  };
20815
20815
  return at(() => {
20816
- s.value && (l = new _i({
20816
+ s.value && (l = new wi({
20817
20817
  width: s.value.scrollWidth,
20818
20818
  height: s.value.scrollHeight,
20819
20819
  fullscreen: !1
@@ -21248,7 +21248,7 @@ const __ = { class: "flex flex-col gap-3" }, w_ = { class: "grid gap-5 md:grid-c
21248
21248
  ]);
21249
21249
  };
21250
21250
  }
21251
- }), zd = /* @__PURE__ */ Mi(P_, [["__scopeId", "data-v-2a790a20"]]), T_ = {
21251
+ }), zd = /* @__PURE__ */ fi(P_, [["__scopeId", "data-v-2a790a20"]]), T_ = {
21252
21252
  key: 0,
21253
21253
  class: "flex items-baseline gap-1"
21254
21254
  }, R_ = {
@@ -21508,7 +21508,7 @@ const __ = { class: "flex flex-col gap-3" }, w_ = { class: "grid gap-5 md:grid-c
21508
21508
  label: "Маркировка"
21509
21509
  }, {
21510
21510
  default: I(() => [
21511
- z(F(Fi), {
21511
+ z(F(Mi), {
21512
21512
  value: u.value.marker ?? null,
21513
21513
  placeholder: "Введите маркировку",
21514
21514
  onInput: C[20] || (C[20] = (E) => F(It)(t.validation, "marker")),
@@ -22129,7 +22129,7 @@ const __ = { class: "flex flex-col gap-3" }, w_ = { class: "grid gap-5 md:grid-c
22129
22129
  label: "Маркировка"
22130
22130
  }, {
22131
22131
  default: I(() => [
22132
- z(F(Fi), {
22132
+ z(F(Mi), {
22133
22133
  value: a.value[0].marker ?? null,
22134
22134
  placeholder: "Введите маркировку",
22135
22135
  onInput: w[11] || (w[11] = (_) => F(It)(t.validation, "marker")),
@@ -22468,7 +22468,7 @@ const __ = { class: "flex flex-col gap-3" }, w_ = { class: "grid gap-5 md:grid-c
22468
22468
  label: "Маркировка"
22469
22469
  }, {
22470
22470
  default: I(() => [
22471
- z(F(Fi), {
22471
+ z(F(Mi), {
22472
22472
  value: t.value.marker ?? null,
22473
22473
  placeholder: "Введите маркировку",
22474
22474
  onInput: p[9] || (p[9] = (m) => F(It)(t.validation, "marker")),
@@ -22980,7 +22980,7 @@ const hg = Ie({ name: "ion-add", render: kw }), Cw = {
22980
22980
  label: "Маркировка распила"
22981
22981
  }, {
22982
22982
  default: I(() => [
22983
- z(F(Fi), {
22983
+ z(F(Mi), {
22984
22984
  value: o.value.marker ?? null,
22985
22985
  disabled: !u.value,
22986
22986
  placeholder: "Введите маркировку распила",
@@ -23497,7 +23497,7 @@ const Xw = Ie({ name: "ion-checkmark", render: Uw }), Yw = {
23497
23497
  class: "min-w-0"
23498
23498
  }, {
23499
23499
  default: I(() => [
23500
- z(F(Fi), {
23500
+ z(F(Mi), {
23501
23501
  value: c.value.items[Ee].marker ?? null,
23502
23502
  disabled: !h.value || C(Ee) || B(Ee),
23503
23503
  placeholder: "Маркировка",
@@ -24119,7 +24119,7 @@ const Ax = {
24119
24119
  return no(() => {
24120
24120
  window.removeEventListener("resize", J);
24121
24121
  }), window.addEventListener("resize", J), J(), (D, W) => {
24122
- const he = jn, be = $v, Pe = kr, Rt = kv, Me = Pc, Ee = _v, Yt = vv, He = Ae, In = gv, ei = sf, Qt = nf, Ii = tf, fi = Mc, qn = ka, Et = Tc, pe = Xh, _e = ps;
24122
+ const he = jn, be = $v, Pe = kr, Rt = kv, Me = Pc, Ee = _v, Yt = vv, He = Ae, In = gv, ei = sf, Qt = nf, Ii = tf, gi = Mc, qn = ka, Et = Tc, pe = Xh, _e = ps;
24123
24123
  return b(), ee(Hv, {
24124
24124
  ref: "collapse-item-reference",
24125
24125
  name: t.categoryItem.id,
@@ -24191,7 +24191,7 @@ const Ax = {
24191
24191
  ], 2),
24192
24192
  k("div", {
24193
24193
  class: "w-fit",
24194
- onClick: W[0] || (W[0] = Si(
24194
+ onClick: W[0] || (W[0] = $i(
24195
24195
  //@ts-ignore
24196
24196
  (...$t) => F(Bt) && F(Bt)(...$t),
24197
24197
  ["prevent", "stop"]
@@ -24429,7 +24429,7 @@ const Ax = {
24429
24429
  type: "primary"
24430
24430
  }, {
24431
24431
  default: I(() => [
24432
- z(fi)
24432
+ z(gi)
24433
24433
  ]),
24434
24434
  _: 1
24435
24435
  }, 8, ["size"])
@@ -24542,7 +24542,7 @@ const Ax = {
24542
24542
  }, 8, ["name", "data-id"]);
24543
24543
  };
24544
24544
  }
24545
- }), Gx = /* @__PURE__ */ Mi(Kx, [["__scopeId", "data-v-8860a9a0"]]), Zx = { class: "sc-collapse flex w-full flex-col" }, Qx = {}, Jx = /* @__PURE__ */ se({
24545
+ }), Gx = /* @__PURE__ */ fi(Kx, [["__scopeId", "data-v-8860a9a0"]]), Zx = { class: "sc-collapse flex w-full flex-col" }, Qx = {}, Jx = /* @__PURE__ */ se({
24546
24546
  ...Qx,
24547
24547
  __name: "collapse",
24548
24548
  props: {
@@ -24740,7 +24740,7 @@ const Ax = {
24740
24740
  "onUpdate:value": u
24741
24741
  }, null, 8, ["value", "clearable", "consistent-menu-width", "disabled", "filterable", "max-tag-count", "multiple", "options"]));
24742
24742
  }
24743
- }), s2 = {}, UT = /* @__PURE__ */ se({
24743
+ }), s2 = {}, VT = /* @__PURE__ */ se({
24744
24744
  ...s2,
24745
24745
  __name: "set-client-price-form-item",
24746
24746
  props: {
@@ -24861,7 +24861,7 @@ const Ax = {
24861
24861
  n.calculationType === uo.m2Cost ? h.value = ((_ = (T = n.value) == null ? void 0 : T.value) == null ? void 0 : _.toString()) ?? null : !((M = n.value) != null && M.coefficient) && ((C = n.value) != null && C.value) && (u.value = s()), v();
24862
24862
  }), (T, _) => {
24863
24863
  var B, E, N;
24864
- const M = Fi, C = Yh;
24864
+ const M = Mi, C = Yh;
24865
24865
  return b(), ee(F(Ue), {
24866
24866
  "show-label": !F(ot)(t.label),
24867
24867
  label: t.label,
@@ -24947,7 +24947,7 @@ const Ax = {
24947
24947
  }, 8, ["show-label", "label", "show-feedback", "feedback", "validation-status"]);
24948
24948
  };
24949
24949
  }
24950
- }), r2 = { class: "text-sm" }, o2 = { class: "text-sm" }, a2 = {}, XT = /* @__PURE__ */ se({
24950
+ }), r2 = { class: "text-sm" }, o2 = { class: "text-sm" }, a2 = {}, jT = /* @__PURE__ */ se({
24951
24951
  ...a2,
24952
24952
  __name: "add-product-to-cart-dialog",
24953
24953
  emits: ["submit"],
@@ -25174,7 +25174,7 @@ const Ax = {
25174
25174
  label: "Маркировка"
25175
25175
  }, {
25176
25176
  default: I(() => [
25177
- z(F(Fi), {
25177
+ z(F(Mi), {
25178
25178
  value: h.value.marker ?? null,
25179
25179
  placeholder: "Введите маркировку",
25180
25180
  onInput: V[6] || (V[6] = (Y) => F(It)(y.value, "marker")),
@@ -25235,7 +25235,7 @@ const Ax = {
25235
25235
  ot(n.nameLink) && (o.preventDefault(), o.stopPropagation()), i("click:client-name", n.client, o);
25236
25236
  };
25237
25237
  return (o, a) => {
25238
- const l = Sa, c = Ae, u = Ri;
25238
+ const l = Sa, c = Ae, u = Fi;
25239
25239
  return b(), R("div", l2, [
25240
25240
  t.showClientInfoIcon ? (b(), ee(c, {
25241
25241
  key: 0,
@@ -25310,7 +25310,7 @@ function _2(t, e) {
25310
25310
  ], -1)
25311
25311
  ])]);
25312
25312
  }
25313
- const w2 = Ie({ name: "tabler-mail", render: _2 }), x2 = ["href"], k2 = {}, YT = /* @__PURE__ */ se({
25313
+ const w2 = Ie({ name: "tabler-mail", render: _2 }), x2 = ["href"], k2 = {}, qT = /* @__PURE__ */ se({
25314
25314
  ...k2,
25315
25315
  __name: "email",
25316
25316
  props: {
@@ -25472,7 +25472,7 @@ function D2(t, e) {
25472
25472
  const N2 = Ie({ name: "tabler-phone-call", render: D2 }), H2 = {
25473
25473
  key: 0,
25474
25474
  class: "absolute left-0 top-0 flex w-full flex-row items-center justify-around text-center backdrop-blur-sm"
25475
- }, W2 = ["href"], V2 = ["href"], j2 = ["href"], q2 = ["href"], U2 = {}, KT = /* @__PURE__ */ se({
25475
+ }, W2 = ["href"], V2 = ["href"], j2 = ["href"], q2 = ["href"], U2 = {}, UT = /* @__PURE__ */ se({
25476
25476
  ...U2,
25477
25477
  __name: "phone",
25478
25478
  props: {
@@ -25590,7 +25590,7 @@ const K2 = Ie({ name: "mdi-envelope", render: Y2 }), G2 = { class: "flex flex-co
25590
25590
  }, uk = {
25591
25591
  key: 0,
25592
25592
  class: "-mt-1"
25593
- }, dk = {}, GT = /* @__PURE__ */ se({
25593
+ }, dk = {}, XT = /* @__PURE__ */ se({
25594
25594
  ...dk,
25595
25595
  __name: "person-contacts-block",
25596
25596
  props: {
@@ -25621,7 +25621,7 @@ const K2 = Ie({ name: "mdi-envelope", render: Y2 }), G2 = { class: "flex flex-co
25621
25621
  }), a = A(() => s.value || e.contact.email), l = j(!1);
25622
25622
  return (c, u) => {
25623
25623
  var m, y;
25624
- const d = mg, h = pg, f = gg, g = fg, p = K2, v = Ri;
25624
+ const d = mg, h = pg, f = gg, g = fg, p = K2, v = Fi;
25625
25625
  return b(), R("div", G2, [
25626
25626
  z(v, {
25627
25627
  disabled: t.fullView,
@@ -25713,7 +25713,7 @@ const K2 = Ie({ name: "mdi-envelope", render: Y2 }), G2 = { class: "flex flex-co
25713
25713
  };
25714
25714
  }
25715
25715
  });
25716
- class ZT {
25716
+ class YT {
25717
25717
  /**
25718
25718
  * Инициализирует экземпляр класса {@link ConfiguratorSettingsMosquito}.
25719
25719
  *
@@ -25771,7 +25771,7 @@ class ZT {
25771
25771
  this.color = e.color, this.crossbarCount = e.crossbarCount, this.descriptions = sl(e.descriptions), this.maxHeights = e.maxHeights, this.maxWidths = e.maxWidths, this.minHeight = e.minHeight, this.minWidth = e.minWidth, this.mountType = e.mountType, this.netType = e.netType, this.heightOverlaps = sl(e.heightOverlaps), this.widthOverlaps = sl(e.widthOverlaps), this.canSetDopProdaga = e.canSetDopProdaga;
25772
25772
  }
25773
25773
  }
25774
- function QT(t) {
25774
+ function KT(t) {
25775
25775
  var e;
25776
25776
  return ((e = t.properties) == null ? void 0 : e.configurator) !== rn.SandwichM2 ? !0 : t.properties.configuratorSettings !== void 0 && ut(t.products) && t.products.length > 0;
25777
25777
  }
@@ -26009,11 +26009,11 @@ const yg = Ie({ name: "mdi-chevron-left", render: Ck }), Sk = {
26009
26009
  type: "button",
26010
26010
  class: De(["sc-day h-7 rounded border-0 p-0 text-xs", v(_)]),
26011
26011
  disabled: !_.isCurrentMonth,
26012
- onPointerdown: Si((M) => F(f).pointerDownHandler(_.index), ["prevent"]),
26012
+ onPointerdown: $i((M) => F(f).pointerDownHandler(_.index), ["prevent"]),
26013
26013
  onPointerenter: (M) => F(f).pointerEnterHandler(_.index),
26014
26014
  onKeydown: [
26015
- jo(Si((M) => F(f).selectHandler(_.index), ["prevent"]), ["enter"]),
26016
- jo(Si((M) => F(f).selectHandler(_.index), ["prevent"]), ["space"])
26015
+ jo($i((M) => F(f).selectHandler(_.index), ["prevent"]), ["enter"]),
26016
+ jo($i((M) => F(f).selectHandler(_.index), ["prevent"]), ["space"])
26017
26017
  ]
26018
26018
  }, U(_.day), 43, Ak))), 128))
26019
26019
  ])
@@ -26023,7 +26023,7 @@ const yg = Ie({ name: "mdi-chevron-left", render: Ck }), Sk = {
26023
26023
  ], 36);
26024
26024
  };
26025
26025
  }
26026
- }), Ok = /* @__PURE__ */ Mi(Ek, [["__scopeId", "data-v-a41e813d"]]), Lk = { class: "flex items-center justify-between gap-2" }, zk = { class: "flex items-center gap-2" }, Dk = { class: "text-center font-semibold" }, Nk = { class: "grid grid-cols-3 gap-2" }, Hk = ["onPointerdown", "onPointerenter", "onKeydown"], Wk = {}, Vk = /* @__PURE__ */ se({
26026
+ }), Ok = /* @__PURE__ */ fi(Ek, [["__scopeId", "data-v-a41e813d"]]), Lk = { class: "flex items-center justify-between gap-2" }, zk = { class: "flex items-center gap-2" }, Dk = { class: "text-center font-semibold" }, Nk = { class: "grid grid-cols-3 gap-2" }, Hk = ["onPointerdown", "onPointerenter", "onKeydown"], Wk = {}, Vk = /* @__PURE__ */ se({
26027
26027
  ...Wk,
26028
26028
  __name: "month-range-grid",
26029
26029
  props: {
@@ -26110,11 +26110,11 @@ const yg = Ie({ name: "mdi-chevron-left", render: Ck }), Sk = {
26110
26110
  key: x,
26111
26111
  type: "button",
26112
26112
  class: De(["sc-month cursor-pointer rounded-lg px-1 py-2.5 text-sm", h(y, w)]),
26113
- onPointerdown: Si((S) => F(d).pointerDownHandler(y * 12 + w), ["prevent"]),
26113
+ onPointerdown: $i((S) => F(d).pointerDownHandler(y * 12 + w), ["prevent"]),
26114
26114
  onPointerenter: (S) => F(d).pointerEnterHandler(y * 12 + w),
26115
26115
  onKeydown: [
26116
- jo(Si((S) => F(d).selectHandler(y * 12 + w), ["prevent"]), ["enter"]),
26117
- jo(Si((S) => F(d).selectHandler(y * 12 + w), ["prevent"]), ["space"])
26116
+ jo($i((S) => F(d).selectHandler(y * 12 + w), ["prevent"]), ["enter"]),
26117
+ jo($i((S) => F(d).selectHandler(y * 12 + w), ["prevent"]), ["space"])
26118
26118
  ]
26119
26119
  }, U(x), 43, Hk))), 128))
26120
26120
  ])
@@ -26123,7 +26123,7 @@ const yg = Ie({ name: "mdi-chevron-left", render: Ck }), Sk = {
26123
26123
  ], 36);
26124
26124
  };
26125
26125
  }
26126
- }), jk = /* @__PURE__ */ Mi(Vk, [["__scopeId", "data-v-dd09a19d"]]), qk = { class: "sc-date-range-sidebar flex flex-col gap-1" }, Uk = { class: "flex items-center justify-center gap-1" }, Xk = { class: "min-w-12 text-center font-semibold" }, Yk = { class: "grid grid-flow-col grid-cols-2 grid-rows-6 gap-1" }, Kk = {}, Gk = /* @__PURE__ */ se({
26126
+ }), jk = /* @__PURE__ */ fi(Vk, [["__scopeId", "data-v-dd09a19d"]]), qk = { class: "sc-date-range-sidebar flex flex-col gap-1" }, Uk = { class: "flex items-center justify-center gap-1" }, Xk = { class: "min-w-12 text-center font-semibold" }, Yk = { class: "grid grid-flow-col grid-cols-2 grid-rows-6 gap-1" }, Kk = {}, Gk = /* @__PURE__ */ se({
26127
26127
  ...Kk,
26128
26128
  __name: "month-year-sidebar",
26129
26129
  props: {
@@ -26856,7 +26856,7 @@ const vC = Ie({ name: "mdi-cog-outline", render: mC }), yC = { class: "grid gap-
26856
26856
  }, 8, ["show", "style"]);
26857
26857
  };
26858
26858
  }
26859
- }), XC = { class: "flex w-full min-w-0 items-center gap-1" }, YC = {}, JT = /* @__PURE__ */ se({
26859
+ }), XC = { class: "flex w-full min-w-0 items-center gap-1" }, YC = {}, GT = /* @__PURE__ */ se({
26860
26860
  ...YC,
26861
26861
  __name: "date-range",
26862
26862
  props: {
@@ -26949,7 +26949,7 @@ const vC = Ie({ name: "mdi-cog-outline", render: mC }), yC = { class: "grid gap-
26949
26949
  }, U(i.value), 3)) : H("", !0)
26950
26950
  ], 2));
26951
26951
  }
26952
- }), ZC = {}, eR = /* @__PURE__ */ se({
26952
+ }), ZC = {}, ZT = /* @__PURE__ */ se({
26953
26953
  ...ZC,
26954
26954
  __name: "debt",
26955
26955
  props: {
@@ -26972,7 +26972,7 @@ const vC = Ie({ name: "mdi-cog-outline", render: mC }), yC = { class: "grid gap-
26972
26972
  }, U(t.debt) + " ₽ ", 3)
26973
26973
  ], 2)) : H("", !0);
26974
26974
  }
26975
- }), QC = { class: "flex flex-row gap-2.5" }, JC = { class: "flex grow basis-0 flex-row flex-wrap justify-start justify-items-start gap-y-1 md:flex-nowrap" }, eS = { class: "flex min-w-0 flex-col-reverse flex-wrap-reverse justify-end gap-1 sm:flex-row" }, tS = { class: "mb-0.5 sm:mb-0 sm:ml-3" }, nS = {}, tR = /* @__PURE__ */ se({
26975
+ }), QC = { class: "flex flex-row gap-2.5" }, JC = { class: "flex grow basis-0 flex-row flex-wrap justify-start justify-items-start gap-y-1 md:flex-nowrap" }, eS = { class: "flex min-w-0 flex-col-reverse flex-wrap-reverse justify-end gap-1 sm:flex-row" }, tS = { class: "mb-0.5 sm:mb-0 sm:ml-3" }, nS = {}, QT = /* @__PURE__ */ se({
26976
26976
  ...nS,
26977
26977
  __name: "dialog-header",
26978
26978
  props: {
@@ -26981,7 +26981,7 @@ const vC = Ie({ name: "mdi-cog-outline", render: mC }), yC = { class: "grid gap-
26981
26981
  emits: ["close"],
26982
26982
  setup(t) {
26983
26983
  return (e, n) => {
26984
- const i = Ia, s = Ae, r = Ri;
26984
+ const i = Ia, s = Ae, r = Fi;
26985
26985
  return b(), R("div", QC, [
26986
26986
  k("div", JC, [
26987
26987
  $e(e.$slots, "main")
@@ -27102,7 +27102,7 @@ const lS = Ie({ name: "ion-options-outline", render: aS }), cS = { class: "flex
27102
27102
  n("cancel", r);
27103
27103
  };
27104
27104
  return (l, c) => {
27105
- const u = lS, d = Ae, h = Ri, f = rS, g = Ia;
27105
+ const u = lS, d = Ae, h = Fi, f = rS, g = Ia;
27106
27106
  return b(), R("div", cS, [
27107
27107
  k("div", uS, [
27108
27108
  $e(l.$slots, "default")
@@ -27247,7 +27247,7 @@ const lS = Ie({ name: "ion-options-outline", render: aS }), cS = { class: "flex
27247
27247
  }, vS = {
27248
27248
  key: 1,
27249
27249
  class: "text-sc-dark-grey"
27250
- }, yS = {}, nR = /* @__PURE__ */ se({
27250
+ }, yS = {}, JT = /* @__PURE__ */ se({
27251
27251
  ...yS,
27252
27252
  __name: "comment-editor",
27253
27253
  props: {
@@ -27269,7 +27269,7 @@ const lS = Ie({ name: "ion-options-outline", render: aS }), cS = { class: "flex
27269
27269
  s.value = n.comment;
27270
27270
  };
27271
27271
  return (a, l) => {
27272
- const c = Fi;
27272
+ const c = Mi;
27273
27273
  return b(), ee(pS, {
27274
27274
  disabled: t.disabled,
27275
27275
  "onEditor:apply": r,
@@ -27317,7 +27317,7 @@ function _S(t, e) {
27317
27317
  }, null, -1)
27318
27318
  ])]);
27319
27319
  }
27320
- const wS = Ie({ name: "ion-download-outline", render: _S }), xS = {}, iR = /* @__PURE__ */ se({
27320
+ const wS = Ie({ name: "ion-download-outline", render: _S }), xS = {}, eR = /* @__PURE__ */ se({
27321
27321
  ...xS,
27322
27322
  __name: "single-file-upload-selector",
27323
27323
  props: {
@@ -27386,7 +27386,7 @@ function CS(t, e) {
27386
27386
  }, null, -1)
27387
27387
  ])]);
27388
27388
  }
27389
- const SS = Ie({ name: "ion-warning", render: CS }), $S = {}, sR = /* @__PURE__ */ se({
27389
+ const SS = Ie({ name: "ion-warning", render: CS }), $S = {}, tR = /* @__PURE__ */ se({
27390
27390
  ...$S,
27391
27391
  __name: "warning-icon",
27392
27392
  props: {
@@ -27395,7 +27395,7 @@ const SS = Ie({ name: "ion-warning", render: CS }), $S = {}, sR = /* @__PURE__ *
27395
27395
  },
27396
27396
  setup(t) {
27397
27397
  return (e, n) => {
27398
- const i = SS, s = Ri;
27398
+ const i = SS, s = Fi;
27399
27399
  return b(), ee(s, {
27400
27400
  disabled: t.popoverText.length === 0,
27401
27401
  placement: "bottom"
@@ -27412,7 +27412,7 @@ const SS = Ie({ name: "ion-warning", render: CS }), $S = {}, sR = /* @__PURE__ *
27412
27412
  }, 8, ["disabled"]);
27413
27413
  };
27414
27414
  }
27415
- }), PS = {}, rR = /* @__PURE__ */ se({
27415
+ }), PS = {}, nR = /* @__PURE__ */ se({
27416
27416
  ...PS,
27417
27417
  __name: "debounced-input",
27418
27418
  props: {
@@ -27435,7 +27435,7 @@ const SS = Ie({ name: "ion-warning", render: CS }), $S = {}, sR = /* @__PURE__ *
27435
27435
  (l) => {
27436
27436
  s.value = l;
27437
27437
  }
27438
- ), (l, c) => (b(), ee(F(Fi), {
27438
+ ), (l, c) => (b(), ee(F(Mi), {
27439
27439
  value: s.value,
27440
27440
  "onUpdate:value": [
27441
27441
  c[0] || (c[0] = (u) => s.value = u),
@@ -27450,7 +27450,7 @@ const SS = Ie({ name: "ion-warning", render: CS }), $S = {}, sR = /* @__PURE__ *
27450
27450
  _: 3
27451
27451
  }, 8, ["value", "clearable", "placeholder"]));
27452
27452
  }
27453
- }), TS = {}, oR = /* @__PURE__ */ se({
27453
+ }), TS = {}, iR = /* @__PURE__ */ se({
27454
27454
  ...TS,
27455
27455
  __name: "debounced-input-number",
27456
27456
  props: {
@@ -27585,7 +27585,7 @@ const SS = Ie({ name: "ion-warning", render: CS }), $S = {}, sR = /* @__PURE__ *
27585
27585
  class: "tel-input"
27586
27586
  }, null, 8, ["modelValue", "default-country", "disabled", "input-options", "preferred-countries", "only-countries"]));
27587
27587
  }
27588
- }), aR = /* @__PURE__ */ Mi(FS, [["__scopeId", "data-v-751dbb0e"]]), MS = {
27588
+ }), sR = /* @__PURE__ */ fi(FS, [["__scopeId", "data-v-751dbb0e"]]), MS = {
27589
27589
  viewBox: "0 0 24 24",
27590
27590
  width: "1.2em",
27591
27591
  height: "1.2em"
@@ -27602,7 +27602,7 @@ function BS(t, e) {
27602
27602
  }, null, -1)
27603
27603
  ])]);
27604
27604
  }
27605
- const AS = Ie({ name: "tabler-external-link", render: BS }), IS = { class: "flex flex-row gap-1 hover:underline hover:decoration-dashed" }, ES = ["href"], OS = {}, lR = /* @__PURE__ */ se({
27605
+ const AS = Ie({ name: "tabler-external-link", render: BS }), IS = { class: "flex flex-row gap-1 hover:underline hover:decoration-dashed" }, ES = ["href"], OS = {}, rR = /* @__PURE__ */ se({
27606
27606
  ...OS,
27607
27607
  __name: "external-link",
27608
27608
  props: {
@@ -29840,7 +29840,7 @@ var Es = function(t) {
29840
29840
  return !0;
29841
29841
  }
29842
29842
  return !1;
29843
- }, Wr = typeof window < "u" ? window : {}, Fo = /* @__PURE__ */ new WeakMap(), oh = /auto|scroll/, C3 = /^tb|vertical/, S3 = /msie|trident/i.test(Wr.navigator && Wr.navigator.userAgent), pi = function(t) {
29843
+ }, Wr = typeof window < "u" ? window : {}, Fo = /* @__PURE__ */ new WeakMap(), oh = /auto|scroll/, C3 = /^tb|vertical/, S3 = /msie|trident/i.test(Wr.navigator && Wr.navigator.userAgent), mi = function(t) {
29844
29844
  return parseFloat(t || "0");
29845
29845
  }, yr = function(t, e, n) {
29846
29846
  return t === void 0 && (t = 0), e === void 0 && (e = 0), n === void 0 && (n = !1), new x3((n ? e : t) || 0, (n ? t : e) || 0);
@@ -29854,7 +29854,7 @@ var Es = function(t) {
29854
29854
  return Fo.get(t);
29855
29855
  if (Yg(t))
29856
29856
  return Fo.set(t, ah), ah;
29857
- var n = getComputedStyle(t), i = Qc(t) && t.ownerSVGElement && t.getBBox(), s = !S3 && n.boxSizing === "border-box", r = C3.test(n.writingMode || ""), o = !i && oh.test(n.overflowY || ""), a = !i && oh.test(n.overflowX || ""), l = i ? 0 : pi(n.paddingTop), c = i ? 0 : pi(n.paddingRight), u = i ? 0 : pi(n.paddingBottom), d = i ? 0 : pi(n.paddingLeft), h = i ? 0 : pi(n.borderTopWidth), f = i ? 0 : pi(n.borderRightWidth), g = i ? 0 : pi(n.borderBottomWidth), p = i ? 0 : pi(n.borderLeftWidth), v = d + c, m = l + u, y = p + f, x = h + g, w = a ? t.offsetHeight - x - t.clientHeight : 0, S = o ? t.offsetWidth - y - t.clientWidth : 0, T = s ? v + y : 0, _ = s ? m + x : 0, M = i ? i.width : pi(n.width) - T - S, C = i ? i.height : pi(n.height) - _ - w, B = M + v + S + y, E = C + m + w + x, N = Es({
29857
+ var n = getComputedStyle(t), i = Qc(t) && t.ownerSVGElement && t.getBBox(), s = !S3 && n.boxSizing === "border-box", r = C3.test(n.writingMode || ""), o = !i && oh.test(n.overflowY || ""), a = !i && oh.test(n.overflowX || ""), l = i ? 0 : mi(n.paddingTop), c = i ? 0 : mi(n.paddingRight), u = i ? 0 : mi(n.paddingBottom), d = i ? 0 : mi(n.paddingLeft), h = i ? 0 : mi(n.borderTopWidth), f = i ? 0 : mi(n.borderRightWidth), g = i ? 0 : mi(n.borderBottomWidth), p = i ? 0 : mi(n.borderLeftWidth), v = d + c, m = l + u, y = p + f, x = h + g, w = a ? t.offsetHeight - x - t.clientHeight : 0, S = o ? t.offsetWidth - y - t.clientWidth : 0, T = s ? v + y : 0, _ = s ? m + x : 0, M = i ? i.width : mi(n.width) - T - S, C = i ? i.height : mi(n.height) - _ - w, B = M + v + S + y, E = C + m + w + x, N = Es({
29858
29858
  devicePixelContentBoxSize: yr(Math.round(M * devicePixelRatio), Math.round(C * devicePixelRatio), r),
29859
29859
  borderBoxSize: yr(B, E, r),
29860
29860
  contentBoxSize: yr(M, C, r),
@@ -30957,7 +30957,7 @@ const Z3 = "n", Q3 = `.${Z3}-`, J3 = "__", e4 = "--", up = jg(), dp = G3({
30957
30957
  up.use(dp);
30958
30958
  const {
30959
30959
  c: Ce,
30960
- find: cR
30960
+ find: oR
30961
30961
  } = up, {
30962
30962
  cB: Be,
30963
30963
  cE: Le,
@@ -32823,9 +32823,9 @@ const tu = {
32823
32823
  position: Ne,
32824
32824
  behavior: We,
32825
32825
  el: vt,
32826
- debounce: gi = !0
32826
+ debounce: pi = !0
32827
32827
  } = K;
32828
- (me !== void 0 || Se !== void 0) && Me(me ?? 0, Se ?? 0, 0, !1, We), vt !== void 0 ? Me(0, vt.offsetTop, vt.offsetHeight, gi, We) : Te !== void 0 && Oe !== void 0 ? Me(0, Te * Oe, Oe, gi, We) : Ne === "bottom" ? Me(0, Number.MAX_SAFE_INTEGER, 0, !1, We) : Ne === "top" && Me(0, 0, 0, !1, We);
32828
+ (me !== void 0 || Se !== void 0) && Me(me ?? 0, Se ?? 0, 0, !1, We), vt !== void 0 ? Me(0, vt.offsetTop, vt.offsetHeight, pi, We) : Te !== void 0 && Oe !== void 0 ? Me(0, Te * Oe, Oe, pi, We) : Ne === "bottom" ? Me(0, Number.MAX_SAFE_INTEGER, 0, !1, We) : Ne === "top" && Me(0, 0, 0, !1, We);
32829
32829
  }, he = Y3(() => {
32830
32830
  t.container || W({
32831
32831
  top: v.value,
@@ -32897,7 +32897,7 @@ const tu = {
32897
32897
  function Ii() {
32898
32898
  _ !== void 0 && window.clearTimeout(_), x.value = !0;
32899
32899
  }
32900
- function fi(K) {
32900
+ function gi(K) {
32901
32901
  const {
32902
32902
  onScroll: oe
32903
32903
  } = t;
@@ -32967,9 +32967,9 @@ const tu = {
32967
32967
  if (vt) {
32968
32968
  vt.scrollLeft = We * (s != null && s.value ? -1 : 1);
32969
32969
  const {
32970
- internalOnUpdateScrollLeft: gi
32970
+ internalOnUpdateScrollLeft: pi
32971
32971
  } = t;
32972
- gi && gi(We);
32972
+ pi && pi(We);
32973
32973
  }
32974
32974
  }
32975
32975
  function wn(K) {
@@ -33032,7 +33032,7 @@ const tu = {
33032
33032
  railInsetHorizontalTop: Ne,
33033
33033
  railInsetHorizontalBottom: We,
33034
33034
  railInsetVerticalRight: vt,
33035
- railInsetVerticalLeft: gi,
33035
+ railInsetVerticalLeft: pi,
33036
33036
  railColor: Da
33037
33037
  }
33038
33038
  } = O.value, {
@@ -33055,7 +33055,7 @@ const tu = {
33055
33055
  right: Ja,
33056
33056
  bottom: el,
33057
33057
  left: tl
33058
- } = ri(s != null && s.value ? yh(gi) : gi);
33058
+ } = ri(s != null && s.value ? yh(pi) : pi);
33059
33059
  return {
33060
33060
  "--n-scrollbar-bezier": K,
33061
33061
  "--n-scrollbar-color": oe,
@@ -33107,7 +33107,7 @@ const tu = {
33107
33107
  isShowXBar: ie,
33108
33108
  isShowYBar: le,
33109
33109
  isIos: N,
33110
- handleScroll: fi,
33110
+ handleScroll: gi,
33111
33111
  handleContentResize: be,
33112
33112
  handleContainerResize: Pe,
33113
33113
  handleYScrollMouseDown: Ei,
@@ -33978,7 +33978,7 @@ const C$ = Be("base-select-menu", `
33978
33978
  loadingColor: ei,
33979
33979
  loadingSize: Qt,
33980
33980
  optionColorActivePending: Ii,
33981
- [Pt("optionFontSize", L)]: fi,
33981
+ [Pt("optionFontSize", L)]: gi,
33982
33982
  [Pt("optionHeight", L)]: qn,
33983
33983
  [Pt("optionPadding", L)]: Et
33984
33984
  }
@@ -33990,7 +33990,7 @@ const C$ = Be("base-select-menu", `
33990
33990
  "--n-bezier": Q,
33991
33991
  "--n-border-radius": le,
33992
33992
  "--n-color": J,
33993
- "--n-option-font-size": fi,
33993
+ "--n-option-font-size": gi,
33994
33994
  "--n-group-header-text-color": D,
33995
33995
  "--n-option-check-color": Ee,
33996
33996
  "--n-option-color-pending": He,
@@ -36085,7 +36085,7 @@ const Sp = {
36085
36085
  });
36086
36086
  }), cp(o, t.onResize);
36087
36087
  const {
36088
- inlineThemeDisabled: fi
36088
+ inlineThemeDisabled: gi
36089
36089
  } = t, qn = A(() => {
36090
36090
  const {
36091
36091
  size: pe
@@ -36113,7 +36113,7 @@ const Sp = {
36113
36113
  borderFocus: Ne,
36114
36114
  borderHover: We,
36115
36115
  borderActive: vt,
36116
- arrowColor: gi,
36116
+ arrowColor: pi,
36117
36117
  arrowColorDisabled: Da,
36118
36118
  loadingColor: Na,
36119
36119
  // form warning
@@ -36173,7 +36173,7 @@ const Sp = {
36173
36173
  "--n-placeholder-color-disabled": K,
36174
36174
  "--n-text-color": Ei,
36175
36175
  "--n-text-color-disabled": Oi,
36176
- "--n-arrow-color": gi,
36176
+ "--n-arrow-color": pi,
36177
36177
  "--n-arrow-color-disabled": Da,
36178
36178
  "--n-loading-color": Na,
36179
36179
  // form warning
@@ -36204,7 +36204,7 @@ const Sp = {
36204
36204
  // font-weight
36205
36205
  "--n-font-weight": qe
36206
36206
  };
36207
- }), Et = fi ? Zs("internal-selection", A(() => t.size[0]), qn, t) : void 0;
36207
+ }), Et = gi ? Zs("internal-selection", A(() => t.size[0]), qn, t) : void 0;
36208
36208
  return {
36209
36209
  mergedTheme: m,
36210
36210
  mergedClearable: y,
@@ -36251,7 +36251,7 @@ const Sp = {
36251
36251
  getCounter: Ee,
36252
36252
  getTail: Yt,
36253
36253
  renderLabel: t.renderLabel,
36254
- cssVars: fi ? void 0 : qn,
36254
+ cssVars: gi ? void 0 : qn,
36255
36255
  themeClass: Et == null ? void 0 : Et.themeClass,
36256
36256
  onRender: Et == null ? void 0 : Et.onRender
36257
36257
  };
@@ -36918,7 +36918,7 @@ const s6 = Object.assign(Object.assign({}, dn.props), {
36918
36918
  var oe;
36919
36919
  w.value && (!((oe = S.value) === null || oe === void 0) && oe.$el.contains(Qr(K)) || he());
36920
36920
  }
36921
- function fi(K) {
36921
+ function gi(K) {
36922
36922
  if (!Array.isArray(K)) return [];
36923
36923
  if (N.value)
36924
36924
  return Array.from(K);
@@ -36958,7 +36958,7 @@ const s6 = Object.assign(Object.assign({}, dn.props), {
36958
36958
  }
36959
36959
  }
36960
36960
  if (me && E.value.set(K[Te], K), t.multiple) {
36961
- const Oe = fi(l.value), Ne = Oe.findIndex((We) => We === K[Te]);
36961
+ const Oe = gi(l.value), Ne = Oe.findIndex((We) => We === K[Te]);
36962
36962
  if (~Ne) {
36963
36963
  if (Oe.splice(Ne, 1), oe && !me) {
36964
36964
  const We = pe(K[Te]);
@@ -37419,7 +37419,7 @@ const s6 = Object.assign(Object.assign({}, dn.props), {
37419
37419
  }), u6 = { class: "col-span-2 flex flex-row gap-2.5" }, d6 = { class: "flex-1" }, h6 = { class: "text-sc-grey" }, f6 = { class: "ml-2.5" }, g6 = {
37420
37420
  key: 0,
37421
37421
  class: "flex-none"
37422
- }, p6 = {}, uR = /* @__PURE__ */ se({
37422
+ }, p6 = {}, aR = /* @__PURE__ */ se({
37423
37423
  ...p6,
37424
37424
  __name: "products-list",
37425
37425
  props: {
@@ -37633,7 +37633,7 @@ const s6 = Object.assign(Object.assign({}, dn.props), {
37633
37633
  key: 0,
37634
37634
  href: "#",
37635
37635
  class: "text-xs text-blue-500 hover:text-blue-700 self-start mt-2.5",
37636
- onClick: Si(u, ["prevent"])
37636
+ onClick: $i(u, ["prevent"])
37637
37637
  }, " Изменить ")) : H("", !0)
37638
37638
  ], 64)) : s.value && r.value > 0 ? (b(), R(ve, { key: 1 }, [
37639
37639
  k("div", M6, [
@@ -37656,7 +37656,7 @@ const s6 = Object.assign(Object.assign({}, dn.props), {
37656
37656
  key: 0,
37657
37657
  href: "#",
37658
37658
  class: "text-xs text-blue-500 hover:text-blue-700 self-start mt-2.5",
37659
- onClick: Si(d, ["prevent"])
37659
+ onClick: $i(d, ["prevent"])
37660
37660
  }, " Изменить ")) : H("", !0)
37661
37661
  ], 64)) : t.item.product.getIsMeasurable() ? (b(), R(ve, { key: 2 }, [
37662
37662
  k("div", O6, [
@@ -37673,7 +37673,7 @@ const s6 = Object.assign(Object.assign({}, dn.props), {
37673
37673
  key: 0,
37674
37674
  href: "#",
37675
37675
  class: "text-xs text-blue-500 hover:text-blue-700 self-start mt-2.5",
37676
- onClick: Si(d, ["prevent"])
37676
+ onClick: $i(d, ["prevent"])
37677
37677
  }, " Изменить ")) : H("", !0)
37678
37678
  ], 64)) : (b(), R(ve, { key: 3 }, [
37679
37679
  t.allowEdit ? (b(), ee(g, {
@@ -38314,7 +38314,7 @@ const M8 = Ie({ name: "ion-trash-outline", render: F8 }), B8 = {}, A8 = /* @__PU
38314
38314
  ], 64);
38315
38315
  };
38316
38316
  }
38317
- }), N8 = /* @__PURE__ */ Mi(D8, [["__scopeId", "data-v-e1fad754"]]), H8 = {
38317
+ }), N8 = /* @__PURE__ */ fi(D8, [["__scopeId", "data-v-e1fad754"]]), H8 = {
38318
38318
  key: 0,
38319
38319
  class: "text-sc-dark-grey my-2 text-center"
38320
38320
  }, W8 = {
@@ -38498,11 +38498,8 @@ function J8(t, e) {
38498
38498
  }, null, -1)
38499
38499
  ])]);
38500
38500
  }
38501
- const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex flex-col items-start gap-1.5 text-base" }, nP = ["href"], iP = ["href"], sP = {
38502
- key: 1,
38503
- class: "flex items-center gap-2"
38504
- }, rP = ["href"], oP = {}, aP = /* @__PURE__ */ se({
38505
- ...oP,
38501
+ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex flex-col items-stretch gap-1.5 text-base" }, nP = {}, iP = /* @__PURE__ */ se({
38502
+ ...nP,
38506
38503
  __name: "order-external-links",
38507
38504
  props: {
38508
38505
  order: {}
@@ -38510,51 +38507,49 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
38510
38507
  setup(t) {
38511
38508
  const e = A(() => {
38512
38509
  var i, s;
38513
- const n = (((i = t.order.invoices) == null ? void 0 : i.length) ?? 0) > 0;
38514
- return !!t.order.erpOrderUrl || n || !!((s = t.order.payment) != null && s.onlinePaymentLink);
38510
+ return (((i = t.order.invoices) == null ? void 0 : i.length) ?? 0) > 0 || !!((s = t.order.payment) != null && s.onlinePaymentLink);
38515
38511
  });
38516
38512
  return (n, i) => {
38517
38513
  var o;
38518
- const s = eP, r = Ae;
38514
+ const s = Ae, r = eP;
38519
38515
  return e.value ? (b(), R(ve, { key: 0 }, [
38520
- i[0] || (i[0] = k("h3", { class: "!mb-3 !mt-0 text-base font-semibold" }, "Внешние ссылки", -1)),
38516
+ i[1] || (i[1] = k("h3", { class: "!mb-3 !mt-0 text-base font-semibold" }, "Внешние ссылки", -1)),
38521
38517
  k("div", tP, [
38522
- t.order.erpOrderUrl ? (b(), R("a", {
38523
- key: 0,
38524
- href: t.order.erpOrderUrl,
38525
- target: "_blank"
38526
- }, " Открыть заявку в ERP ", 8, nP)) : H("", !0),
38527
- (b(!0), R(ve, null, Qe(t.order.invoices ?? [], (a, l) => (b(), R("a", {
38518
+ (b(!0), R(ve, null, Qe(t.order.invoices ?? [], (a, l) => (b(), ee(s, {
38528
38519
  key: l,
38529
- class: "btn btn-primary",
38530
- href: a
38531
- }, " Скачать счет №" + U(l + 1), 9, iP))), 128)),
38532
- (o = t.order.payment) != null && o.onlinePaymentLink ? (b(), R("div", sP, [
38533
- k("a", {
38534
- href: t.order.payment.onlinePaymentLink,
38535
- target: "_blank"
38536
- }, " Оплатить заказ ", 8, rP),
38537
- An((b(), ee(r, {
38538
- text: "",
38539
- title: "Скопировать ссылку на оплату"
38540
- }, {
38541
- default: I(() => [
38542
- z(s)
38543
- ]),
38544
- _: 1
38545
- })), [
38546
- [F(Xm), t.order.payment.onlinePaymentLink]
38547
- ])
38548
- ])) : H("", !0)
38520
+ tag: "a",
38521
+ href: a,
38522
+ block: "",
38523
+ class: "sc-external-link-button"
38524
+ }, {
38525
+ default: I(() => [
38526
+ ne(" Скачать счет №" + U(l + 1), 1)
38527
+ ]),
38528
+ _: 2
38529
+ }, 1032, ["href"]))), 128)),
38530
+ (o = t.order.payment) != null && o.onlinePaymentLink ? An((b(), ee(s, {
38531
+ key: 0,
38532
+ block: "",
38533
+ class: "sc-external-link-button",
38534
+ title: "Ссылка на оплату копируется в буфер обмена"
38535
+ }, {
38536
+ default: I(() => [
38537
+ z(r, { class: "mr-1.5" }),
38538
+ i[0] || (i[0] = ne(" Скопировать ссылку на оплату ", -1))
38539
+ ]),
38540
+ _: 1
38541
+ })), [
38542
+ [F(Xm), t.order.payment.onlinePaymentLink]
38543
+ ]) : H("", !0)
38549
38544
  ])
38550
38545
  ], 64)) : H("", !0);
38551
38546
  };
38552
38547
  }
38553
- }), lP = { key: 0 }, cP = { class: "text-sc-dark-grey my-2 text-center" }, uP = {
38548
+ }), sP = /* @__PURE__ */ fi(iP, [["__scopeId", "data-v-88d2e256"]]), rP = { key: 0 }, oP = { class: "text-sc-dark-grey my-2 text-center" }, aP = {
38554
38549
  key: 1,
38555
38550
  class: "text-sc-dark-grey my-2 text-center"
38556
- }, dP = { key: 2 }, hP = { class: "text-sc-dark-grey mt-4 text-right font-bold" }, fP = { class: "text-sc-primary" }, gP = {}, pP = /* @__PURE__ */ se({
38557
- ...gP,
38551
+ }, lP = { key: 2 }, cP = { class: "text-sc-dark-grey mt-4 text-right font-bold" }, uP = { class: "text-sc-primary" }, dP = {}, hP = /* @__PURE__ */ se({
38552
+ ...dP,
38558
38553
  __name: "order-info",
38559
38554
  props: {
38560
38555
  order: {},
@@ -38591,8 +38586,8 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
38591
38586
  o();
38592
38587
  }), (c, u) => {
38593
38588
  const d = ps;
38594
- return s.value ? (b(), R("div", lP, [
38595
- k("div", cP, [
38589
+ return s.value ? (b(), R("div", rP, [
38590
+ k("div", oP, [
38596
38591
  z(d, {
38597
38592
  size: "small",
38598
38593
  class: "mb-2.5 align-middle"
@@ -38601,27 +38596,27 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
38601
38596
  k("span", null, "Загрузка данных ...")
38602
38597
  ], -1))
38603
38598
  ])
38604
- ])) : !r.value || r.value.products.length === 0 ? (b(), R("div", uP, " --- Не удалось загрузить данные о заказе --- ")) : (b(), R("div", dP, [
38599
+ ])) : !r.value || r.value.products.length === 0 ? (b(), R("div", aP, " --- Не удалось загрузить данные о заказе --- ")) : (b(), R("div", lP, [
38605
38600
  z(N8, {
38606
38601
  products: a.value,
38607
38602
  "event-emitter": t.eventEmitter,
38608
38603
  "allow-edit": t.allowEdit
38609
38604
  }, null, 8, ["products", "event-emitter", "allow-edit"]),
38610
- k("div", hP, [
38605
+ k("div", cP, [
38611
38606
  u[2] || (u[2] = ne(" ИТОГО: ", -1)),
38612
- k("span", fP, U(l.value) + " ₽", 1)
38607
+ k("span", uP, U(l.value) + " ₽", 1)
38613
38608
  ]),
38614
38609
  z(Z8, {
38615
38610
  order: r.value,
38616
38611
  "onClick:clientName": u[0] || (u[0] = (h) => i("click:client-name", r.value.client, h))
38617
38612
  }, null, 8, ["order"]),
38618
- z(aP, { order: r.value }, null, 8, ["order"]),
38613
+ z(sP, { order: r.value }, null, 8, ["order"]),
38619
38614
  z(j8, { order: r.value }, null, 8, ["order"])
38620
38615
  ]));
38621
38616
  };
38622
38617
  }
38623
- }), mP = {}, vP = /* @__PURE__ */ se({
38624
- ...mP,
38618
+ }), fP = {}, gP = /* @__PURE__ */ se({
38619
+ ...fP,
38625
38620
  __name: "order-actions",
38626
38621
  props: {
38627
38622
  orderContextButtonsConfig: { type: Function, default: void 0 },
@@ -38661,8 +38656,8 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
38661
38656
  }, 8, ["options", "size"])) : H("", !0);
38662
38657
  };
38663
38658
  }
38664
- }), yP = {}, bP = /* @__PURE__ */ se({
38665
- ...yP,
38659
+ }), pP = {}, mP = /* @__PURE__ */ se({
38660
+ ...pP,
38666
38661
  __name: "orders-list",
38667
38662
  props: /* @__PURE__ */ Dl({
38668
38663
  fields: {},
@@ -38734,7 +38729,7 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
38734
38729
  }, le = {
38735
38730
  type: "expand",
38736
38731
  expandable: _a(!0),
38737
- renderExpand: (W) => Z(pP, {
38732
+ renderExpand: (W) => Z(hP, {
38738
38733
  order: W,
38739
38734
  class: "pl-10 pt-3 pb-10",
38740
38735
  "onClick:client-name": () => {
@@ -38866,7 +38861,7 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
38866
38861
  title: "",
38867
38862
  className: "align-top",
38868
38863
  width: 50,
38869
- render: (W) => Z(vP, {
38864
+ render: (W) => Z(gP, {
38870
38865
  order: W,
38871
38866
  orderContextButtonsConfig: i.orderContextButtonsConfig,
38872
38867
  onOrderContextSelect: i.onOrderContextSelect
@@ -39078,11 +39073,11 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39078
39073
  }, null, 8, ["columns", "data", "row-key", "scroll-x", "pagination", "loading", "max-height"]);
39079
39074
  };
39080
39075
  }
39081
- }), dR = /* @__PURE__ */ Mi(bP, [["__scopeId", "data-v-aff76adb"]]), hR = A(() => Wt().deliveryTypeReference ?? []), fR = A(() => Wt().managersList ?? []), gR = A(() => Wt().opfReference ?? []), pR = A(() => Wt().partnerGroupsReference ?? []), mR = A(() => Wt().priceCoefficientsReference ?? []), vR = A(() => Wt().productFilesTypesReference ?? []), yR = A(() => Wt().resourceTypesReference), bR = A(() => Wt().salesDirectionsReference ?? []), _R = A(() => Wt().warehousesReference ?? []), wR = A(() => Wt().paymentTypeReference ?? []), _P = A(() => Wt().orderStatusReference ?? []), xR = A(() => Wt().orderStatusDetailReference ?? []), kR = A(() => Wt().operatorReference ?? []), CR = A(
39076
+ }), lR = /* @__PURE__ */ fi(mP, [["__scopeId", "data-v-aff76adb"]]), cR = A(() => Wt().deliveryTypeReference ?? []), uR = A(() => Wt().managersList ?? []), dR = A(() => Wt().opfReference ?? []), hR = A(() => Wt().partnerGroupsReference ?? []), fR = A(() => Wt().priceCoefficientsReference ?? []), gR = A(() => Wt().productFilesTypesReference ?? []), pR = A(() => Wt().resourceTypesReference), mR = A(() => Wt().salesDirectionsReference ?? []), vR = A(() => Wt().warehousesReference ?? []), yR = A(() => Wt().paymentTypeReference ?? []), vP = A(() => Wt().orderStatusReference ?? []), bR = A(() => Wt().orderStatusDetailReference ?? []), _R = A(() => Wt().operatorReference ?? []), wR = A(
39082
39077
  () => ln.convertReferencesToSelectOptionsList(Wt().channelPrimaryInterestsReference ?? [], !0, !1, !0)
39083
- ), SR = A(
39078
+ ), xR = A(
39084
39079
  () => ln.convertReferencesToSelectOptionsList(Wt().sourcePrimaryInterestsReference ?? [], !0, !1, !0)
39085
- ), $R = (t) => Qn.getInstance(Gp).searchCity(t), PR = (t) => ln.convertReferencesToSelectOptionsList(
39080
+ ), kR = (t) => Qn.getInstance(Gp).searchCity(t), CR = (t) => ln.convertReferencesToSelectOptionsList(
39086
39081
  t,
39087
39082
  !0,
39088
39083
  !1,
@@ -39094,7 +39089,7 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39094
39089
  },
39095
39090
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
39096
39091
  (e) => e == null ? void 0 : e.isNewRec()
39097
- ), TR = (t) => Qn.getInstance(Zp).searchClient(t), RR = (t) => ln.convertReferencesToSelectOptionsList(
39092
+ ), SR = (t) => Qn.getInstance(Zp).searchClient(t), $R = (t) => ln.convertReferencesToSelectOptionsList(
39098
39093
  t,
39099
39094
  !0,
39100
39095
  !1,
@@ -39109,8 +39104,8 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39109
39104
  ].filter(Boolean).join(" "),
39110
39105
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
39111
39106
  (e) => e == null ? void 0 : e.isNewRec()
39112
- ), wP = { class: "flex flex-col gap-4" }, xP = { class: "flex flex-wrap gap-2" }, kP = { class: "flex flex-col gap-1.5" }, CP = { class: "inline-flex items-center gap-2" }, SP = { class: "flex flex-col gap-1.5" }, $P = { class: "inline-flex items-center gap-2" }, PP = {}, FR = /* @__PURE__ */ se({
39113
- ...PP,
39107
+ ), yP = { class: "flex flex-col gap-4" }, bP = { class: "flex flex-wrap gap-2" }, _P = { class: "flex flex-col gap-1.5" }, wP = { class: "inline-flex items-center gap-2" }, xP = { class: "flex flex-col gap-1.5" }, kP = { class: "inline-flex items-center gap-2" }, CP = {}, PR = /* @__PURE__ */ se({
39108
+ ...CP,
39114
39109
  __name: "order-highlight-settings",
39115
39110
  props: {
39116
39111
  settings: {},
@@ -39118,7 +39113,7 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39118
39113
  },
39119
39114
  emits: ["update:settings"],
39120
39115
  setup(t, { emit: e }) {
39121
- const n = t, i = e, s = A(() => n.statuses ?? _P.value), r = (c) => !!c && n.settings.statuses.includes(c), o = (c, u) => {
39116
+ const n = t, i = e, s = A(() => n.statuses ?? vP.value), r = (c) => !!c && n.settings.statuses.includes(c), o = (c, u) => {
39122
39117
  if (!c)
39123
39118
  return;
39124
39119
  const d = n.settings.statuses.filter((h) => h !== c);
@@ -39134,8 +39129,8 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39134
39129
  };
39135
39130
  return (c, u) => {
39136
39131
  const d = Ae, h = jn;
39137
- return b(), R("div", wP, [
39138
- k("div", xP, [
39132
+ return b(), R("div", yP, [
39133
+ k("div", bP, [
39139
39134
  z(d, {
39140
39135
  size: "small",
39141
39136
  onClick: u[0] || (u[0] = (f) => l(!0))
@@ -39155,7 +39150,7 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39155
39150
  _: 1
39156
39151
  })
39157
39152
  ]),
39158
- k("div", kP, [
39153
+ k("div", _P, [
39159
39154
  u[4] || (u[4] = k("div", { class: "text-sm font-semibold" }, "Статусы", -1)),
39160
39155
  (b(!0), R(ve, null, Qe(s.value, (f) => (b(), ee(h, {
39161
39156
  key: f.id,
@@ -39163,7 +39158,7 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39163
39158
  "onUpdate:checked": (g) => o(f.slug, g)
39164
39159
  }, {
39165
39160
  default: I(() => [
39166
- k("span", CP, [
39161
+ k("span", wP, [
39167
39162
  z(Mh, {
39168
39163
  colors: F(Sr)(f.slug)
39169
39164
  }, null, 8, ["colors"]),
@@ -39173,7 +39168,7 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39173
39168
  _: 2
39174
39169
  }, 1032, ["checked", "onUpdate:checked"]))), 128))
39175
39170
  ]),
39176
- k("div", SP, [
39171
+ k("div", xP, [
39177
39172
  u[5] || (u[5] = k("div", { class: "text-sm font-semibold" }, "Маркеры", -1)),
39178
39173
  (b(!0), R(ve, null, Qe(F(Nl), (f) => (b(), ee(h, {
39179
39174
  key: f,
@@ -39181,7 +39176,7 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39181
39176
  "onUpdate:checked": (g) => a(f, g)
39182
39177
  }, {
39183
39178
  default: I(() => [
39184
- k("span", $P, [
39179
+ k("span", kP, [
39185
39180
  z(Mh, {
39186
39181
  colors: F(Uo)(f)
39187
39182
  }, null, 8, ["colors"]),
@@ -39194,8 +39189,8 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39194
39189
  ]);
39195
39190
  };
39196
39191
  }
39197
- }), TP = ["href"], RP = { class: "text-sc-dark-grey" }, FP = {}, MR = /* @__PURE__ */ se({
39198
- ...FP,
39192
+ }), SP = ["href"], $P = { class: "text-sc-dark-grey" }, PP = {}, TR = /* @__PURE__ */ se({
39193
+ ...PP,
39199
39194
  __name: "short-text-order-info",
39200
39195
  props: {
39201
39196
  order: {},
@@ -39212,21 +39207,21 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39212
39207
  k("a", {
39213
39208
  href: t.orderLink ?? "#",
39214
39209
  onClick: a[0] || (a[0] = (l) => r(l))
39215
- }, U(t.order.id), 9, TP),
39210
+ }, U(t.order.id), 9, SP),
39216
39211
  ne(" от " + U(s.value), 1)
39217
39212
  ]),
39218
39213
  a[2] || (a[2] = ne(", ", -1)),
39219
- k("span", RP, "автор: " + U(t.order.creator.name) + " [" + U(t.order.creator.type) + "]", 1)
39214
+ k("span", $P, "автор: " + U(t.order.creator.name) + " [" + U(t.order.creator.type) + "]", 1)
39220
39215
  ], 64));
39221
39216
  }
39222
- }), MP = { class: "sc-page flex flex-col bg-inherit" }, BP = { class: "my-2 flex flex-row items-end" }, AP = { class: "sc-title grow" }, IP = {
39217
+ }), TP = { class: "sc-page flex flex-col bg-inherit" }, RP = { class: "my-2 flex flex-row items-end" }, FP = { class: "sc-title grow" }, MP = {
39223
39218
  key: 0,
39224
39219
  class: "sc-title-buttons flex-1 grow-0"
39225
- }, EP = { class: "flex flex-col justify-end gap-1 sm:mt-0 sm:flex-row" }, OP = {
39220
+ }, BP = { class: "flex flex-col justify-end gap-1 sm:mt-0 sm:flex-row" }, AP = {
39226
39221
  key: 0,
39227
39222
  class: "sc-title-extra mt-2 sm:mt-4"
39228
- }, LP = {}, zP = /* @__PURE__ */ se({
39229
- ...LP,
39223
+ }, IP = {}, EP = /* @__PURE__ */ se({
39224
+ ...IP,
39230
39225
  __name: "page",
39231
39226
  props: {
39232
39227
  title: { default: void 0 },
@@ -39238,13 +39233,13 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39238
39233
  const e = t, n = A(() => e.stickyHeaderOnMobile ? "sticky z-10 bg-inherit" : "lg:sticky z-10 bg-inherit");
39239
39234
  return (i, s) => {
39240
39235
  const r = Dm;
39241
- return b(), R("div", MP, [
39236
+ return b(), R("div", TP, [
39242
39237
  k("div", {
39243
39238
  class: De(t.stickyHeader ? n.value : void 0),
39244
39239
  style: Zt(t.stickyHeader ? { top: `${t.stickyTopOffset ?? 0}px` } : void 0)
39245
39240
  }, [
39246
- k("div", BP, [
39247
- k("div", AP, [
39241
+ k("div", RP, [
39242
+ k("div", FP, [
39248
39243
  $e(i.$slots, "title", {}, () => [
39249
39244
  z(r, { class: "m-0 leading-none lg:mb-3 lg:leading-normal" }, {
39250
39245
  default: I(() => [
@@ -39254,13 +39249,13 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39254
39249
  })
39255
39250
  ])
39256
39251
  ]),
39257
- i.$slots["title-buttons"] ? (b(), R("div", IP, [
39258
- k("div", EP, [
39252
+ i.$slots["title-buttons"] ? (b(), R("div", MP, [
39253
+ k("div", BP, [
39259
39254
  $e(i.$slots, "title-buttons")
39260
39255
  ])
39261
39256
  ])) : H("", !0)
39262
39257
  ]),
39263
- i.$slots["title-extra"] ? (b(), R("div", OP, [
39258
+ i.$slots["title-extra"] ? (b(), R("div", AP, [
39264
39259
  $e(i.$slots, "title-extra")
39265
39260
  ])) : H("", !0),
39266
39261
  $e(i.$slots, "sticky-extra")
@@ -39269,8 +39264,8 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39269
39264
  ]);
39270
39265
  };
39271
39266
  }
39272
- }), DP = { class: "overflow-hidden transition-all duration-300" }, NP = { class: "text-lg font-medium leading-none" }, HP = {}, WP = /* @__PURE__ */ se({
39273
- ...HP,
39267
+ }), OP = { class: "overflow-hidden transition-all duration-300" }, LP = { class: "text-lg font-medium leading-none" }, zP = {}, DP = /* @__PURE__ */ se({
39268
+ ...zP,
39274
39269
  __name: "sliding-content-with-drawer",
39275
39270
  props: {
39276
39271
  drawerWidth: { type: [Number, Function], default: void 0 },
@@ -39311,7 +39306,7 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39311
39306
  }), a(), window.addEventListener("resize", a), (l, c) => {
39312
39307
  const u = Uh, d = qh;
39313
39308
  return b(), R(ve, null, [
39314
- k("div", DP, [
39309
+ k("div", OP, [
39315
39310
  k("div", {
39316
39311
  style: Zt(`margin-left: ${s.value}px;`),
39317
39312
  class: "w-full"
@@ -39330,7 +39325,7 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39330
39325
  z(u, { closable: "" }, {
39331
39326
  header: I(() => [
39332
39327
  $e(l.$slots, "drawer-header", {}, () => [
39333
- k("div", NP, U(t.title), 1)
39328
+ k("div", LP, U(t.title), 1)
39334
39329
  ])
39335
39330
  ]),
39336
39331
  default: I(() => [
@@ -39347,14 +39342,14 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39347
39342
  ], 64);
39348
39343
  };
39349
39344
  }
39350
- }), VP = {
39345
+ }), NP = {
39351
39346
  ref: "panel-component-ref",
39352
39347
  class: "sc-page-panel flex flex-row gap-2.5 bg-inherit sm:gap-8"
39353
- }, jP = { key: 0 }, qP = { class: "sc-page-preview-panel grow" }, UP = {
39348
+ }, HP = { key: 0 }, WP = { class: "sc-page-preview-panel grow" }, VP = {
39354
39349
  key: 1,
39355
39350
  class: "sc-page-preview-panel-extra flex-none"
39356
- }, XP = {}, BR = /* @__PURE__ */ se({
39357
- ...XP,
39351
+ }, jP = {}, RR = /* @__PURE__ */ se({
39352
+ ...jP,
39358
39353
  __name: "page-with-sliding-panel",
39359
39354
  props: {
39360
39355
  title: {},
@@ -39398,14 +39393,14 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39398
39393
  closePanel: s
39399
39394
  }), (a, l) => {
39400
39395
  const c = Ae;
39401
- return b(), ee(zP, {
39396
+ return b(), ee(EP, {
39402
39397
  title: t.title,
39403
39398
  "sticky-header": t.stickyHeader,
39404
39399
  "sticky-top-offset": t.stickyTopOffset,
39405
39400
  "sticky-header-on-mobile": t.stickyHeaderOnMobile
39406
39401
  }, Ji({
39407
39402
  default: I(() => [
39408
- z(WP, {
39403
+ z(DP, {
39409
39404
  "show-drawer": n.value,
39410
39405
  "onUpdate:showDrawer": l[1] || (l[1] = (u) => n.value = u),
39411
39406
  title: t.panelTitle
@@ -39460,8 +39455,8 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39460
39455
  a.$slots["preview-panel"] || a.$slots["preview-panel-extra"] || t.isShowPanelButtonVisible ? {
39461
39456
  name: "sticky-extra",
39462
39457
  fn: I(() => [
39463
- k("div", VP, [
39464
- t.isShowPanelButtonVisible ? (b(), R("div", jP, [
39458
+ k("div", NP, [
39459
+ t.isShowPanelButtonVisible ? (b(), R("div", HP, [
39465
39460
  $e(a.$slots, "show-panel-button", {
39466
39461
  onClickHandler: () => {
39467
39462
  n.value = !0;
@@ -39478,10 +39473,10 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39478
39473
  })
39479
39474
  ])
39480
39475
  ])) : H("", !0),
39481
- k("div", qP, [
39476
+ k("div", WP, [
39482
39477
  $e(a.$slots, "preview-panel")
39483
39478
  ]),
39484
- a.$slots["preview-panel-extra"] ? (b(), R("div", UP, [
39479
+ a.$slots["preview-panel-extra"] ? (b(), R("div", VP, [
39485
39480
  $e(a.$slots, "preview-panel-extra")
39486
39481
  ])) : H("", !0)
39487
39482
  ], 512)
@@ -39491,8 +39486,8 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39491
39486
  ]), 1032, ["title", "sticky-header", "sticky-top-offset", "sticky-header-on-mobile"]);
39492
39487
  };
39493
39488
  }
39494
- }), YP = {}, AR = /* @__PURE__ */ se({
39495
- ...YP,
39489
+ }), qP = {}, FR = /* @__PURE__ */ se({
39490
+ ...qP,
39496
39491
  __name: "curator-select",
39497
39492
  props: {
39498
39493
  value: { default: null },
@@ -39585,8 +39580,8 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39585
39580
  "onUpdate:value": d
39586
39581
  }, null, 8, ["value", "clearable", "disabled", "consistent-menu-width", "multiple", "options"]));
39587
39582
  }
39588
- }), KP = {}, IR = /* @__PURE__ */ se({
39589
- ...KP,
39583
+ }), UP = {}, MR = /* @__PURE__ */ se({
39584
+ ...UP,
39590
39585
  __name: "manager-operator-select",
39591
39586
  props: {
39592
39587
  value: { default: null },
@@ -39702,8 +39697,8 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39702
39697
  "onUpdate:value": g
39703
39698
  }, null, 8, ["value", "clearable", "consistent-menu-width", "disabled", "filterable", "max-tag-count", "multiple", "options"]));
39704
39699
  }
39705
- }), GP = {}, ER = /* @__PURE__ */ se({
39706
- ...GP,
39700
+ }), XP = {}, BR = /* @__PURE__ */ se({
39701
+ ...XP,
39707
39702
  __name: "manager-select",
39708
39703
  props: {
39709
39704
  value: { default: null },
@@ -39807,26 +39802,26 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39807
39802
  "onUpdate:value": d
39808
39803
  }, null, 8, ["value", "clearable", "disabled", "consistent-menu-width", "multiple", "options"]));
39809
39804
  }
39810
- }), ZP = { class: "m-0.5 flex flex-col p-0.5" }, QP = { class: "flex flex-row gap-1" }, JP = { key: 0 }, eT = { key: 1 }, tT = { key: 2 }, nT = { key: 3 }, iT = { class: "flex flex-row gap-1" }, sT = { key: 0 }, rT = { key: 1 }, oT = { key: 2 }, aT = { key: 3 }, lT = {}, cT = /* @__PURE__ */ se({
39811
- ...lT,
39805
+ }), YP = { class: "m-0.5 flex flex-col p-0.5" }, KP = { class: "flex flex-row gap-1" }, GP = { key: 0 }, ZP = { key: 1 }, QP = { key: 2 }, JP = { key: 3 }, eT = { class: "flex flex-row gap-1" }, tT = { key: 0 }, nT = { key: 1 }, iT = { key: 2 }, sT = { key: 3 }, rT = {}, oT = /* @__PURE__ */ se({
39806
+ ...rT,
39812
39807
  __name: "address-suggestion-label",
39813
39808
  props: {
39814
39809
  addr: {},
39815
39810
  selected: { type: Boolean }
39816
39811
  },
39817
39812
  setup(t) {
39818
- return (e, n) => (b(), R("div", ZP, [
39819
- k("span", QP, [
39820
- t.addr.postIndex ? (b(), R("span", JP, U(t.addr.postIndex) + ", ", 1)) : H("", !0),
39821
- t.addr.city ? (b(), R("span", eT, U(t.addr.city) + ", ", 1)) : H("", !0),
39822
- t.addr.locality ? (b(), R("span", tT, U(t.addr.locality) + ", ", 1)) : H("", !0),
39823
- t.addr.region ? (b(), R("span", nT, U(t.addr.region) + ", ", 1)) : H("", !0)
39813
+ return (e, n) => (b(), R("div", YP, [
39814
+ k("span", KP, [
39815
+ t.addr.postIndex ? (b(), R("span", GP, U(t.addr.postIndex) + ", ", 1)) : H("", !0),
39816
+ t.addr.city ? (b(), R("span", ZP, U(t.addr.city) + ", ", 1)) : H("", !0),
39817
+ t.addr.locality ? (b(), R("span", QP, U(t.addr.locality) + ", ", 1)) : H("", !0),
39818
+ t.addr.region ? (b(), R("span", JP, U(t.addr.region) + ", ", 1)) : H("", !0)
39824
39819
  ]),
39825
- k("span", iT, [
39826
- t.addr.street ? (b(), R("span", sT, U(t.addr.street) + ", ", 1)) : H("", !0),
39827
- t.addr.building ? (b(), R("span", rT, U(t.addr.building) + ", ", 1)) : H("", !0),
39828
- t.addr.buildingPart ? (b(), R("span", oT, U(t.addr.buildingPart) + ", ", 1)) : H("", !0),
39829
- t.addr.apartments ? (b(), R("span", aT, U(t.addr.apartments) + ", ", 1)) : H("", !0)
39820
+ k("span", eT, [
39821
+ t.addr.street ? (b(), R("span", tT, U(t.addr.street) + ", ", 1)) : H("", !0),
39822
+ t.addr.building ? (b(), R("span", nT, U(t.addr.building) + ", ", 1)) : H("", !0),
39823
+ t.addr.buildingPart ? (b(), R("span", iT, U(t.addr.buildingPart) + ", ", 1)) : H("", !0),
39824
+ t.addr.apartments ? (b(), R("span", sT, U(t.addr.apartments) + ", ", 1)) : H("", !0)
39830
39825
  ])
39831
39826
  ]));
39832
39827
  }
@@ -39835,8 +39830,8 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39835
39830
  value: "",
39836
39831
  field: void 0,
39837
39832
  disabled: !1
39838
- }, uT = {}, OR = /* @__PURE__ */ se({
39839
- ...uT,
39833
+ }, aT = {}, AR = /* @__PURE__ */ se({
39834
+ ...aT,
39840
39835
  __name: "address-suggestion",
39841
39836
  props: /* @__PURE__ */ $c({
39842
39837
  disabled: { type: Boolean },
@@ -39886,7 +39881,7 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39886
39881
  }, d = (p, v) => {
39887
39882
  const m = a.value.find((y) => y.id === p.value) || {};
39888
39883
  return Z(
39889
- cT,
39884
+ oT,
39890
39885
  {
39891
39886
  addr: m,
39892
39887
  selected: v
@@ -39930,24 +39925,24 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39930
39925
  }, null, 8, ["value", "class", "clearable", "disabled", "loading", "options", "to", "onUpdate:value"]);
39931
39926
  };
39932
39927
  }
39933
- }), dT = { class: "m-0.5 flex flex-col p-0.5" }, hT = { class: "font-medium" }, fT = { class: "flex flex-row gap-1 text-xs font-light text-blue-800" }, gT = { key: 0 }, pT = { key: 1 }, mT = {}, vT = /* @__PURE__ */ se({
39934
- ...mT,
39928
+ }), lT = { class: "m-0.5 flex flex-col p-0.5" }, cT = { class: "font-medium" }, uT = { class: "flex flex-row gap-1 text-xs font-light text-blue-800" }, dT = { key: 0 }, hT = { key: 1 }, fT = {}, gT = /* @__PURE__ */ se({
39929
+ ...fT,
39935
39930
  __name: "bank-suggestion-label",
39936
39931
  props: {
39937
39932
  bank: {},
39938
39933
  selected: { type: Boolean }
39939
39934
  },
39940
39935
  setup(t) {
39941
- return (e, n) => (b(), R("div", dT, [
39942
- k("span", hT, U(t.bank.name), 1),
39943
- k("span", fT, [
39944
- t.bank.bic ? (b(), R("span", gT, " БИК: " + U(t.bank.bic), 1)) : H("", !0),
39945
- t.bank.inn ? (b(), R("span", pT, " ИНН: " + U(t.bank.inn), 1)) : H("", !0)
39936
+ return (e, n) => (b(), R("div", lT, [
39937
+ k("span", cT, U(t.bank.name), 1),
39938
+ k("span", uT, [
39939
+ t.bank.bic ? (b(), R("span", dT, " БИК: " + U(t.bank.bic), 1)) : H("", !0),
39940
+ t.bank.inn ? (b(), R("span", hT, " ИНН: " + U(t.bank.inn), 1)) : H("", !0)
39946
39941
  ])
39947
39942
  ]));
39948
39943
  }
39949
- }), yT = {}, LR = /* @__PURE__ */ se({
39950
- ...yT,
39944
+ }), pT = {}, IR = /* @__PURE__ */ se({
39945
+ ...pT,
39951
39946
  __name: "bank-suggestion",
39952
39947
  props: /* @__PURE__ */ $c({
39953
39948
  disabled: { type: Boolean },
@@ -39999,7 +39994,7 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
39999
39994
  }, d = (p, v) => {
40000
39995
  const m = a.value.find((y) => y.id === p.value) || {};
40001
39996
  return Z(
40002
- vT,
39997
+ gT,
40003
39998
  {
40004
39999
  bank: m,
40005
40000
  selected: v
@@ -40043,17 +40038,17 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
40043
40038
  }, null, 8, ["value", "class", "clearable", "disabled", "loading", "options", "to", "onUpdate:value"]);
40044
40039
  };
40045
40040
  }
40046
- }), bT = { class: "font-medium" }, _T = {
40041
+ }), mT = { class: "font-medium" }, vT = {
40047
40042
  key: 0,
40048
40043
  class: "flex flex-row gap-2"
40049
- }, wT = {
40044
+ }, yT = {
40050
40045
  key: 0,
40051
40046
  class: "text-xs font-light text-blue-800"
40052
- }, xT = {
40047
+ }, bT = {
40053
40048
  key: 1,
40054
40049
  class: "text-sc-dark-grey text-xs font-light"
40055
- }, kT = {}, CT = /* @__PURE__ */ se({
40056
- ...kT,
40050
+ }, _T = {}, wT = /* @__PURE__ */ se({
40051
+ ..._T,
40057
40052
  __name: "org-suggestion-label",
40058
40053
  props: {
40059
40054
  org: {},
@@ -40070,15 +40065,15 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
40070
40065
  return (s, r) => (b(), R("div", {
40071
40066
  class: De(`m-0.5 flex flex-col p-0.5 ${n.value ? "line-through" : ""}`)
40072
40067
  }, [
40073
- k("span", bT, U(t.org.name), 1),
40074
- t.org.inn || i.value ? (b(), R("div", _T, [
40075
- t.org.inn ? (b(), R("span", wT, U(t.org.inn), 1)) : H("", !0),
40076
- i.value ? (b(), R("span", xT, U(i.value), 1)) : H("", !0)
40068
+ k("span", mT, U(t.org.name), 1),
40069
+ t.org.inn || i.value ? (b(), R("div", vT, [
40070
+ t.org.inn ? (b(), R("span", yT, U(t.org.inn), 1)) : H("", !0),
40071
+ i.value ? (b(), R("span", bT, U(i.value), 1)) : H("", !0)
40077
40072
  ])) : H("", !0)
40078
40073
  ], 2));
40079
40074
  }
40080
- }), ST = {}, zR = /* @__PURE__ */ se({
40081
- ...ST,
40075
+ }), xT = {}, ER = /* @__PURE__ */ se({
40076
+ ...xT,
40082
40077
  __name: "org-suggestion",
40083
40078
  props: /* @__PURE__ */ $c({
40084
40079
  disabled: { type: Boolean },
@@ -40136,7 +40131,7 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
40136
40131
  }, h = (v, m) => {
40137
40132
  const y = a.value.find((x) => x.id === v.value) || {};
40138
40133
  return Z(
40139
- CT,
40134
+ wT,
40140
40135
  {
40141
40136
  org: y,
40142
40137
  selected: m
@@ -40184,14 +40179,14 @@ const eP = Ie({ name: "ion-copy-outline", render: J8 }), tP = { class: "flex fle
40184
40179
  export {
40185
40180
  Nl as ALL_ORDER_MARKERS,
40186
40181
  pu as CATEGORY_REQUIRED_HINT,
40187
- OT as CommonValidators,
40182
+ AT as CommonValidators,
40188
40183
  b_ as ConfiguratorSettingsKozyrek,
40189
- ZT as ConfiguratorSettingsMosquito,
40184
+ YT as ConfiguratorSettingsMosquito,
40190
40185
  pr as ContentHelper,
40191
40186
  Gh as DEFAULT_ORDER_STATUS_COLORS,
40192
- LT as DateValidators,
40187
+ IT as DateValidators,
40193
40188
  Xs as EntityNameHelper,
40194
- ET as FileHelper,
40189
+ BT as FileHelper,
40195
40190
  Gi as KozyrekLine,
40196
40191
  Ld as KozyrekTailTemplate,
40197
40192
  Lr as KozyrekTemplate,
@@ -40204,31 +40199,31 @@ export {
40204
40199
  Je as OrdersTableFields,
40205
40200
  gu as PRODUCT_REQUIRED_HINT,
40206
40201
  Od as Point,
40207
- XT as ScAddProductToCartDialog,
40208
- OR as ScAddressSuggestion,
40209
- cT as ScAddressSuggestionLabel,
40210
- LR as ScBankSuggestion,
40211
- vT as ScBankSuggestionLabel,
40202
+ jT as ScAddProductToCartDialog,
40203
+ AR as ScAddressSuggestion,
40204
+ oT as ScAddressSuggestionLabel,
40205
+ IR as ScBankSuggestion,
40206
+ gT as ScBankSuggestionLabel,
40212
40207
  cf as ScBaseDialog,
40213
- zT as ScButtonWithConfirmAction,
40208
+ ET as ScButtonWithConfirmAction,
40214
40209
  t2 as ScCategoryCollapse,
40215
40210
  ua as ScClientNameWithShortInfo,
40216
40211
  Jx as ScCollapse,
40217
40212
  Hv as ScCollapseItem,
40218
- nR as ScCommentEditor,
40213
+ JT as ScCommentEditor,
40219
40214
  Pa as ScConfiguratorsProductInfo,
40220
40215
  y2 as ScContragentWithShortInfo,
40221
40216
  Wo as ScCreatorUserTypeTag,
40222
- AR as ScCuratorSelect,
40223
- JT as ScDateRange,
40217
+ FR as ScCuratorSelect,
40218
+ GT as ScDateRange,
40224
40219
  cc as ScDateTimeLabel,
40225
- rR as ScDebouncedInput,
40226
- oR as ScDebouncedInputNumber,
40227
- eR as ScDebt,
40228
- tR as ScDialogHeader,
40220
+ nR as ScDebouncedInput,
40221
+ iR as ScDebouncedInputNumber,
40222
+ ZT as ScDebt,
40223
+ QT as ScDialogHeader,
40229
40224
  Fx as ScDynamicConfigurator,
40230
- YT as ScEmail,
40231
- lR as ScExternalLink,
40225
+ qT as ScEmail,
40226
+ rR as ScExternalLink,
40232
40227
  Sy as ScImageGallery,
40233
40228
  pS as ScInlineEditableItem,
40234
40229
  jd as ScInlineView,
@@ -40237,8 +40232,8 @@ export {
40237
40232
  y_ as ScKozyrekConfiguratorPreview,
40238
40233
  f_ as ScKozyrekConfiguratorTemplates,
40239
40234
  wy as ScLightGallery,
40240
- IR as ScManagerOperatorSelect,
40241
- ER as ScManagerSelect,
40235
+ MR as ScManagerOperatorSelect,
40236
+ BR as ScManagerSelect,
40242
40237
  ww as ScMetalForDoorsConfigurator,
40243
40238
  yw as ScMetalForDoorsConfiguratorForm,
40244
40239
  Q_ as ScMosquitoConfigurator,
@@ -40249,28 +40244,28 @@ export {
40249
40244
  u8 as ScOrderCommonInfo,
40250
40245
  nu as ScOrderDeliveryLabel,
40251
40246
  Z8 as ScOrderDetails,
40252
- aP as ScOrderExternalLinks,
40253
- FR as ScOrderHighlightSettings,
40254
- pP as ScOrderInfo,
40247
+ sP as ScOrderExternalLinks,
40248
+ PR as ScOrderHighlightSettings,
40249
+ hP as ScOrderInfo,
40255
40250
  W6 as ScOrderItemParams,
40256
40251
  N8 as ScOrderItemsList,
40257
40252
  Pp as ScOrderPayment,
40258
40253
  x8 as ScOrderProductInfo,
40259
40254
  j8 as ScOrderStatusHistory,
40260
40255
  P8 as ScOrderStatusTag,
40261
- dR as ScOrdersList,
40262
- zR as ScOrgSuggestion,
40263
- CT as ScOrgSuggestionLabel,
40264
- zP as ScPage,
40265
- BR as ScPageWithSlidingPanel,
40266
- GT as ScPersonContactsBlock,
40267
- KT as ScPhone,
40268
- aR as ScPhoneInput,
40256
+ lR as ScOrdersList,
40257
+ ER as ScOrgSuggestion,
40258
+ wT as ScOrgSuggestionLabel,
40259
+ EP as ScPage,
40260
+ RR as ScPageWithSlidingPanel,
40261
+ XT as ScPersonContactsBlock,
40262
+ UT as ScPhone,
40263
+ sR as ScPhoneInput,
40269
40264
  lf as ScProductInfoContent,
40270
40265
  Vy as ScProductInfoDialog,
40271
40266
  Xy as ScProductInfoPopover,
40272
40267
  Ko as ScProductName,
40273
- uR as ScProductsList,
40268
+ aR as ScProductsList,
40274
40269
  i2 as ScReferenceSelect,
40275
40270
  jw as ScSandwichConfigurator,
40276
40271
  Nw as ScSandwichConfiguratorForm,
@@ -40278,25 +40273,25 @@ export {
40278
40273
  bx as ScSandwichM2ConfiguratorForm,
40279
40274
  c6 as ScSearchableProductSelect,
40280
40275
  a6 as ScSearchableReferenceSelect,
40281
- UT as ScSetClientPriceFormItem,
40282
- MR as ScShortTextOrderInfo,
40283
- iR as ScSingleFileUploadSelector,
40284
- WP as ScSlidingContentWithDrawer,
40276
+ VT as ScSetClientPriceFormItem,
40277
+ TR as ScShortTextOrderInfo,
40278
+ eR as ScSingleFileUploadSelector,
40279
+ DP as ScSlidingContentWithDrawer,
40285
40280
  pw as ScStripConfigurator,
40286
40281
  ow as ScStripConfiguratorForm,
40287
40282
  ew as ScStripConfiguratorLineItem,
40288
40283
  dw as ScStripConfiguratorPreview,
40289
40284
  Bh as ScUserShortInfo,
40290
- sR as ScWarningIcon,
40285
+ tR as ScWarningIcon,
40291
40286
  ln as SelectOptionHelper,
40292
40287
  qo as UiNotificationProvider,
40293
40288
  dt as Validators,
40294
40289
  bt as WindowResolutionEnum,
40295
40290
  St as WindowResolutionProvider,
40296
- CR as channelPrimaryInterestOptionsList,
40291
+ wR as channelPrimaryInterestOptionsList,
40297
40292
  Ca as componentSizeInjectionKey,
40298
40293
  jm as copyToClipboard,
40299
- hR as deliveryTypeReferenceList,
40294
+ cR as deliveryTypeReferenceList,
40300
40295
  Uo as getOrderMarkerColors,
40301
40296
  Qh as getOrderMarkerName,
40302
40297
  Jh as getOrderMarkers,
@@ -40307,32 +40302,32 @@ export {
40307
40302
  Hl as handleFloatInput,
40308
40303
  Dt as handleIntegerInput,
40309
40304
  nv as hasProductInfo,
40310
- QT as isCanSandwichM2Show,
40305
+ KT as isCanSandwichM2Show,
40311
40306
  Bx as isCanSandwichShow,
40312
40307
  Mx as isConfiguratorType,
40313
- fR as managersReferenceList,
40314
- DT as naiveUiTheme,
40315
- kR as operatorReferenceList,
40316
- gR as opfReferenceList,
40317
- xR as orderStatusDetailReferenceList,
40318
- _P as orderStatusReferenceList,
40308
+ uR as managersReferenceList,
40309
+ OT as naiveUiTheme,
40310
+ _R as operatorReferenceList,
40311
+ dR as opfReferenceList,
40312
+ bR as orderStatusDetailReferenceList,
40313
+ vP as orderStatusReferenceList,
40319
40314
  Xt as parse,
40320
- pR as partnerGroupReferenceList,
40321
- wR as paymentTypeReferenceList,
40322
- mR as priceCoefficientsReferenceList,
40323
- vR as productFilesTypesReferenceList,
40315
+ hR as partnerGroupReferenceList,
40316
+ yR as paymentTypeReferenceList,
40317
+ fR as priceCoefficientsReferenceList,
40318
+ gR as productFilesTypesReferenceList,
40324
40319
  ft as renderConfig,
40325
40320
  It as resetInputValidation,
40326
- yR as resourceReferencesList,
40327
- bR as salesDirectionsReferenceList,
40328
- $R as searchCityReferenceDataHandler,
40329
- PR as searchCityReferenceLabelRenderer,
40330
- TR as searchClientReferenceDataHandler,
40331
- RR as searchClientReferenceLabelRenderer,
40321
+ pR as resourceReferencesList,
40322
+ mR as salesDirectionsReferenceList,
40323
+ kR as searchCityReferenceDataHandler,
40324
+ CR as searchCityReferenceLabelRenderer,
40325
+ SR as searchClientReferenceDataHandler,
40326
+ $R as searchClientReferenceLabelRenderer,
40332
40327
  lt as selectAllTextOnFocus,
40333
- SR as sourcePrimaryInterestOptionsList,
40328
+ xR as sourcePrimaryInterestOptionsList,
40334
40329
  tv as useHoverSupport,
40335
40330
  Xm as vCopy,
40336
40331
  Us as vFocusNext,
40337
- _R as warehousesReferenceList
40332
+ vR as warehousesReferenceList
40338
40333
  };