@uxland/primary-shell 8.5.5 → 8.6.1
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.
- package/dist/{component-5B3mqqzh.js → component-Co_FBT-G.js} +5 -5
- package/dist/{component-5B3mqqzh.js.map → component-Co_FBT-G.js.map} +1 -1
- package/dist/{index-4DpXGD6e.js → index-DM0vwBh-.js} +1084 -846
- package/dist/index-DM0vwBh-.js.map +1 -0
- package/dist/index.d.ts +68 -15
- package/dist/index.js +6 -6
- package/dist/{plugin-CF0tbZTg.js → plugin-Cw8FruuX.js} +1639 -1581
- package/dist/plugin-Cw8FruuX.js.map +1 -0
- package/package.json +2 -2
- package/dist/index-4DpXGD6e.js.map +0 -1
- package/dist/plugin-CF0tbZTg.js.map +0 -1
|
@@ -54,7 +54,7 @@ function require_Reflect() {
|
|
|
54
54
|
} : function(it, ft) {
|
|
55
55
|
return it[ft];
|
|
56
56
|
}
|
|
57
|
-
}, pe = Object.getPrototypeOf(Function), ge = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map :
|
|
57
|
+
}, pe = Object.getPrototypeOf(Function), ge = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Zt(), ve = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : xi(), ye = typeof WeakMap == "function" ? WeakMap : Xt(), we = ne ? /* @__PURE__ */ Symbol.for("@reflect-metadata:registry") : void 0, be = St(), _e = Ft(be);
|
|
58
58
|
function Ae(it, ft, _t, Ct) {
|
|
59
59
|
if (He(_t)) {
|
|
60
60
|
if (!It(it))
|
|
@@ -105,7 +105,7 @@ function require_Reflect() {
|
|
|
105
105
|
function Pe(it, ft, _t) {
|
|
106
106
|
if (!Ve(ft))
|
|
107
107
|
throw new TypeError();
|
|
108
|
-
return He(_t) || (_t = xt(_t)),
|
|
108
|
+
return He(_t) || (_t = xt(_t)), Ge(it, ft, _t);
|
|
109
109
|
}
|
|
110
110
|
J("getMetadata", Pe);
|
|
111
111
|
function ze(it, ft, _t) {
|
|
@@ -179,13 +179,13 @@ function require_Reflect() {
|
|
|
179
179
|
);
|
|
180
180
|
return He(Ct) ? !1 : ot(Ct.OrdinaryHasOwnMetadata(it, ft, _t));
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Ge(it, ft, _t) {
|
|
183
183
|
var Ct = Ke(it, ft, _t);
|
|
184
184
|
if (Ct)
|
|
185
185
|
return gt(it, ft, _t);
|
|
186
186
|
var Mt = wt(ft);
|
|
187
187
|
if (!Xe(Mt))
|
|
188
|
-
return
|
|
188
|
+
return Ge(it, Mt, _t);
|
|
189
189
|
}
|
|
190
190
|
function gt(it, ft, _t) {
|
|
191
191
|
var Ct = ii(
|
|
@@ -266,7 +266,7 @@ function require_Reflect() {
|
|
|
266
266
|
function Ve(it) {
|
|
267
267
|
return typeof it == "object" ? it !== null : typeof it == "function";
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function Ze(it, ft) {
|
|
270
270
|
switch (Be(it)) {
|
|
271
271
|
case 0:
|
|
272
272
|
return it;
|
|
@@ -315,7 +315,7 @@ function require_Reflect() {
|
|
|
315
315
|
return "" + it;
|
|
316
316
|
}
|
|
317
317
|
function xt(it) {
|
|
318
|
-
var ft =
|
|
318
|
+
var ft = Ze(it);
|
|
319
319
|
return Je(ft) ? ft : bt(ft);
|
|
320
320
|
}
|
|
321
321
|
function It(it) {
|
|
@@ -583,7 +583,7 @@ function require_Reflect() {
|
|
|
583
583
|
throw new Error("Illegal state.");
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function Zt() {
|
|
587
587
|
var it = {}, ft = [], _t = (
|
|
588
588
|
/** @class */
|
|
589
589
|
(function() {
|
|
@@ -4413,12 +4413,20 @@ function injectBase(X) {
|
|
|
4413
4413
|
};
|
|
4414
4414
|
}
|
|
4415
4415
|
var inject = injectBase(INJECT_TAG);
|
|
4416
|
-
const REQUEST_DIAGNOSTICS_SELECTOR = "request_diagnostics_selector", CIPDS_SELECTION_REQUEST = "cipds_selection_request", CIPDS_DIAGNOSTIC_FILTER_HISTORIC_REQUESTED = "cipds_diagnostic_filter_historic_requested", LAST_WORKED_DIAGNOSTICS_KEY = "lastWorkedDiagnostics", CLINICAL_COURSE_DRAFT_APPEND_REQUESTED = "clinical_course_draft_append_requested", HELP_REQUESTED = "help_requested", PETITION_IMAGE_REQUESTED = "petition_image_requested", PETITION_PDF_REQUESTED = "petition_pdf_requested", PLUGIN_BROKER_REQUESTS = {
|
|
4416
|
+
const GET_VISI_ID = "get_visi_id", GET_PATIENT_CIP = "get_patient_cip", REQUEST_DIAGNOSTICS_SELECTOR = "request_diagnostics_selector", CIPDS_SELECTION_REQUEST = "cipds_selection_request", CIPDS_DIAGNOSTIC_FILTER_HISTORIC_REQUESTED = "cipds_diagnostic_filter_historic_requested", LAST_WORKED_DIAGNOSTICS_KEY = "lastWorkedDiagnostics", CLINICAL_COURSE_DRAFT_APPEND_REQUESTED = "clinical_course_draft_append_requested", HELP_REQUESTED = "help_requested", PETITION_IMAGE_REQUESTED = "petition_image_requested", PETITION_PDF_REQUESTED = "petition_pdf_requested", PLUGIN_BROKER_REQUESTS = {
|
|
4417
4417
|
cipds: {
|
|
4418
4418
|
/** Payload `DiagnosticsSelectorPayload`. Injecta el selector a una regió. */
|
|
4419
4419
|
diagnosticsSelectorRequested: REQUEST_DIAGNOSTICS_SELECTOR,
|
|
4420
4420
|
/** Payload `CipdsSelectionRequestPayload` → `CipdsSelectionResponse`. */
|
|
4421
4421
|
selectionRequested: CIPDS_SELECTION_REQUEST
|
|
4422
|
+
},
|
|
4423
|
+
patient: {
|
|
4424
|
+
/** Sense payload → `GetPatientCipResponse`. Llança si no hi ha CIP. */
|
|
4425
|
+
cipRequested: GET_PATIENT_CIP
|
|
4426
|
+
},
|
|
4427
|
+
visit: {
|
|
4428
|
+
/** Sense payload → `GetVisiIdResponse`. Llança si no es pot resoldre. */
|
|
4429
|
+
visiIdRequested: GET_VISI_ID
|
|
4422
4430
|
}
|
|
4423
4431
|
}, PLUGIN_BROKER_EVENTS = {
|
|
4424
4432
|
cipds: {
|
|
@@ -4455,6 +4463,7 @@ const REQUEST_DIAGNOSTICS_SELECTOR = "request_diagnostics_selector", CIPDS_SELEC
|
|
|
4455
4463
|
},
|
|
4456
4464
|
shell: {
|
|
4457
4465
|
appCrashed: "appCrashed",
|
|
4466
|
+
primaryQuickActionChanged: "primaryQuickActionChanged",
|
|
4458
4467
|
mainViewChanged: "mainViewChanged",
|
|
4459
4468
|
refreshTokenFailed: "refreshTokenFailed",
|
|
4460
4469
|
mpidHeaderInvalid: "mpidHeaderInvalid",
|
|
@@ -6734,10 +6743,10 @@ const VERSION$1 = "1.21.1", DEFAULT_CHUNK_SIZE = 64 * 1024, DEFAULT_REQUEST_OPTI
|
|
|
6734
6743
|
withCredentials: Ue = "same-origin",
|
|
6735
6744
|
fetchOptions: We,
|
|
6736
6745
|
maxContentLength: Ke,
|
|
6737
|
-
maxBodyLength:
|
|
6746
|
+
maxBodyLength: Ge,
|
|
6738
6747
|
maxRedirects: gt
|
|
6739
6748
|
} = resolveConfig(Ae);
|
|
6740
|
-
const Qe = utils$1.isNumber(Ke) && Ke > -1, Ye = utils$1.isNumber(
|
|
6749
|
+
const Qe = utils$1.isNumber(Ke) && Ke > -1, Ye = utils$1.isNumber(Ge) && Ge > -1, Me = (bt) => utils$1.hasOwnProp(Ae, bt) ? Ae[bt] : void 0;
|
|
6741
6750
|
let Be = re || fetch;
|
|
6742
6751
|
De = De ? (De + "").toLowerCase() : "text";
|
|
6743
6752
|
let He = composeSignals(
|
|
@@ -6747,7 +6756,7 @@ const VERSION$1 = "1.21.1", DEFAULT_CHUNK_SIZE = 64 * 1024, DEFAULT_REQUEST_OPTI
|
|
|
6747
6756
|
const Je = He && He.unsubscribe && (() => {
|
|
6748
6757
|
He.unsubscribe();
|
|
6749
6758
|
});
|
|
6750
|
-
let Ve,
|
|
6759
|
+
let Ve, Ze = null, nt = null;
|
|
6751
6760
|
const ot = () => new AxiosError$1(
|
|
6752
6761
|
"Request body larger than maxBodyLength limit",
|
|
6753
6762
|
AxiosError$1.ERR_BAD_REQUEST,
|
|
@@ -6794,20 +6803,20 @@ const VERSION$1 = "1.21.1", DEFAULT_CHUNK_SIZE = 64 * 1024, DEFAULT_REQUEST_OPTI
|
|
|
6794
6803
|
if (utils$1.isSpecCompliantForm(Ie) && Se !== "get" && Se !== "head" && (Ye || Ce && ge || Ut !== void 0) && (Ie = createMultipartBody(
|
|
6795
6804
|
Ie,
|
|
6796
6805
|
ce,
|
|
6797
|
-
Ye ?
|
|
6806
|
+
Ye ? Ge : 1 / 0,
|
|
6798
6807
|
ot,
|
|
6799
6808
|
Ut
|
|
6800
6809
|
), Fe.setContentType(Ut === void 0 ? Ie.type : Pt), Ve = Ie.size), Ye && Se !== "get" && Se !== "head") {
|
|
6801
6810
|
const St = await be(Ie);
|
|
6802
|
-
if (typeof St == "number" && isFinite(St) && (Ve = St, St >
|
|
6811
|
+
if (typeof St == "number" && isFinite(St) && (Ve = St, St > Ge))
|
|
6803
6812
|
throw ot();
|
|
6804
6813
|
}
|
|
6805
6814
|
const Vt = Ye && (utils$1.isReadableStream(Ie) || utils$1.isStream(Ie)), oi = (St, Ft, ai) => trackStream(
|
|
6806
6815
|
St,
|
|
6807
6816
|
DEFAULT_CHUNK_SIZE,
|
|
6808
6817
|
(ii) => {
|
|
6809
|
-
if (Ye && ii >
|
|
6810
|
-
throw
|
|
6818
|
+
if (Ye && ii > Ge)
|
|
6819
|
+
throw Ze = ot();
|
|
6811
6820
|
Ft && Ft(ii);
|
|
6812
6821
|
},
|
|
6813
6822
|
ai
|
|
@@ -6878,9 +6887,9 @@ const VERSION$1 = "1.21.1", DEFAULT_CHUNK_SIZE = 64 * 1024, DEFAULT_REQUEST_OPTI
|
|
|
6878
6887
|
Ft,
|
|
6879
6888
|
progressEventReducer(asyncDecorator(qe), !0)
|
|
6880
6889
|
) || [];
|
|
6881
|
-
let
|
|
6890
|
+
let Zt = 0;
|
|
6882
6891
|
const xi = (Xt) => {
|
|
6883
|
-
if (Qe && (
|
|
6892
|
+
if (Qe && (Zt = Xt, Zt > Ke))
|
|
6884
6893
|
throw nt = new AxiosError$1(
|
|
6885
6894
|
"maxContentLength size of " + Ke + " exceeded",
|
|
6886
6895
|
AxiosError$1.ERR_BAD_RESPONSE,
|
|
@@ -6932,8 +6941,8 @@ const VERSION$1 = "1.21.1", DEFAULT_CHUNK_SIZE = 64 * 1024, DEFAULT_REQUEST_OPTI
|
|
|
6932
6941
|
configurable: !0
|
|
6933
6942
|
}), xt;
|
|
6934
6943
|
}
|
|
6935
|
-
if (
|
|
6936
|
-
throw Xe && !
|
|
6944
|
+
if (Ze)
|
|
6945
|
+
throw Xe && !Ze.request && (Ze.request = Xe), Ze;
|
|
6937
6946
|
if (nt)
|
|
6938
6947
|
throw nt;
|
|
6939
6948
|
if (bt instanceof AxiosError$1)
|
|
@@ -7798,32 +7807,32 @@ class PrimariaInteractionServiceImpl extends PrimariaInteractionService {
|
|
|
7798
7807
|
const ge = () => {
|
|
7799
7808
|
const [ye, we] = useState(), [be, _e] = useState(!0), Ae = useRef(null), me = useRef(null), Se = useRef(null), Ie = isWebComponentConstructor(ue);
|
|
7800
7809
|
useEffect(() => (window.addEventListener("keydown", Le), () => window.removeEventListener("keydown", Le)), []), useEffect(() => {
|
|
7801
|
-
const
|
|
7802
|
-
return ne.add(
|
|
7803
|
-
ne.delete(
|
|
7810
|
+
const Ge = () => ze(!1);
|
|
7811
|
+
return ne.add(Ge), () => {
|
|
7812
|
+
ne.delete(Ge);
|
|
7804
7813
|
};
|
|
7805
7814
|
}, []);
|
|
7806
|
-
const Le = (
|
|
7807
|
-
|
|
7808
|
-
}, Pe = (
|
|
7809
|
-
me.current &&
|
|
7815
|
+
const Le = (Ge) => {
|
|
7816
|
+
Ge.key === "Escape" && ze(!1);
|
|
7817
|
+
}, Pe = (Ge) => {
|
|
7818
|
+
me.current && Ge.target === Se.current && re.closeOnOutsideClick && ze(!1);
|
|
7810
7819
|
};
|
|
7811
7820
|
useEffect(() => {
|
|
7812
7821
|
if (Ie && Ae.current) {
|
|
7813
|
-
const
|
|
7814
|
-
return gt.data = W, gt.setResult = we, gt.setIsValid = _e, gt.confirm = () => be && ze(!0), gt.confirmResult = (Qe) => be && qe(Qe), gt.cancel = () => ze(!1),
|
|
7815
|
-
|
|
7822
|
+
const Ge = Ae.current, gt = new ue();
|
|
7823
|
+
return gt.data = W, gt.setResult = we, gt.setIsValid = _e, gt.confirm = () => be && ze(!0), gt.confirmResult = (Qe) => be && qe(Qe), gt.cancel = () => ze(!1), Ge.appendChild(gt), () => {
|
|
7824
|
+
Ge.removeChild(gt);
|
|
7816
7825
|
};
|
|
7817
7826
|
}
|
|
7818
7827
|
}, [ue, W]);
|
|
7819
|
-
const ze = (
|
|
7820
|
-
Ce(ye,
|
|
7821
|
-
}, qe = (
|
|
7822
|
-
Ce(
|
|
7823
|
-
}, Ce = (
|
|
7828
|
+
const ze = (Ge) => {
|
|
7829
|
+
Ce(ye, Ge);
|
|
7830
|
+
}, qe = (Ge) => {
|
|
7831
|
+
Ce(Ge, !0);
|
|
7832
|
+
}, Ce = (Ge, gt) => {
|
|
7824
7833
|
ce || (ce = !0, setTimeout(() => {
|
|
7825
7834
|
oe({
|
|
7826
|
-
result: gt ?
|
|
7835
|
+
result: gt ? Ge : void 0,
|
|
7827
7836
|
confirmed: gt
|
|
7828
7837
|
}), ve.unmount(), document.body.removeChild(de), document.head.removeChild(he), fe && document.head.removeChild(pe);
|
|
7829
7838
|
}, 300));
|
|
@@ -7834,7 +7843,7 @@ class PrimariaInteractionServiceImpl extends PrimariaInteractionService {
|
|
|
7834
7843
|
setResult: we,
|
|
7835
7844
|
setIsValid: _e,
|
|
7836
7845
|
confirm: () => be && ze(!0),
|
|
7837
|
-
confirmResult: (
|
|
7846
|
+
confirmResult: (Ge) => be && qe(Ge),
|
|
7838
7847
|
cancel: () => ze(!1)
|
|
7839
7848
|
}
|
|
7840
7849
|
);
|
|
@@ -8187,9 +8196,9 @@ function peg$parse(X, W) {
|
|
|
8187
8196
|
return yi.push("numberArgStyle"), !0;
|
|
8188
8197
|
}, We = function(Oe) {
|
|
8189
8198
|
return yi.pop(), Oe.replace(/\s*$/, "");
|
|
8190
|
-
}, Ke = ",",
|
|
8199
|
+
}, Ke = ",", Ge = hi(",", !1), gt = "number", Qe = hi("number", !1), Ye = function(Oe, je, tt) {
|
|
8191
8200
|
return __assign$2({ type: je === "number" ? TYPE.number : je === "date" ? TYPE.date : TYPE.time, style: tt && tt[2], value: Oe }, _i());
|
|
8192
|
-
}, Me = "'", Be = hi("'", !1), He = /^[^']/, Xe = wi(["'"], !0, !1), Je = /^[^a-zA-Z'{}]/, Ve = wi([["a", "z"], ["A", "Z"], "'", "{", "}"], !0, !1),
|
|
8201
|
+
}, Me = "'", Be = hi("'", !1), He = /^[^']/, Xe = wi(["'"], !0, !1), Je = /^[^a-zA-Z'{}]/, Ve = wi([["a", "z"], ["A", "Z"], "'", "{", "}"], !0, !1), Ze = /^[a-zA-Z]/, nt = wi([["a", "z"], ["A", "Z"]], !1, !1), ot = function(Oe) {
|
|
8193
8202
|
return __assign$2({ type: 1, pattern: Oe }, _i());
|
|
8194
8203
|
}, bt = function() {
|
|
8195
8204
|
return yi.push("dateOrTimeArgStyle"), !0;
|
|
@@ -8211,7 +8220,7 @@ function peg$parse(X, W) {
|
|
|
8211
8220
|
}, {}) }, _i());
|
|
8212
8221
|
}, Ft = "=", ai = hi("=", !1), ii = function(Oe) {
|
|
8213
8222
|
return yi.push("select"), !0;
|
|
8214
|
-
},
|
|
8223
|
+
}, Zt = function(Oe, je) {
|
|
8215
8224
|
return yi.pop(), __assign$2({
|
|
8216
8225
|
id: Oe,
|
|
8217
8226
|
value: je
|
|
@@ -8318,7 +8327,7 @@ function peg$parse(X, W) {
|
|
|
8318
8327
|
}
|
|
8319
8328
|
function ns() {
|
|
8320
8329
|
var Oe;
|
|
8321
|
-
return Oe = Ms(), Oe === J && (Oe = zs(), Oe === J && (Oe = Ks(), Oe === J && (Oe = Ys(), Oe === J && (Oe =
|
|
8330
|
+
return Oe = Ms(), Oe === J && (Oe = zs(), Oe === J && (Oe = Ks(), Oe === J && (Oe = Ys(), Oe === J && (Oe = Gs(), Oe === J && (Oe = Ns()))))), Oe;
|
|
8322
8331
|
}
|
|
8323
8332
|
function Fi() {
|
|
8324
8333
|
var Oe, je, tt;
|
|
@@ -8381,8 +8390,8 @@ function peg$parse(X, W) {
|
|
|
8381
8390
|
return Oe = Ne, X.substr(Ne, 2) === Ce ? (je = Ce, Ne += 2) : (je = J, $t === 0 && Et(De)), je !== J ? (tt = Us(), tt !== J ? (Yt = Oe, je = Fe(tt), Oe = je) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J), Oe === J && (Oe = Ne, Yt = Ne, je = Ue(), je ? je = void 0 : je = J, je !== J ? (tt = Fi(), tt !== J ? (Yt = Oe, je = We(tt), Oe = je) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)), Oe;
|
|
8382
8391
|
}
|
|
8383
8392
|
function Vs() {
|
|
8384
|
-
var Oe, je, tt, yt, At, zt, ri, Bt, gi, Kt, di,
|
|
8385
|
-
return Oe = Ne, X.charCodeAt(Ne) === 123 ? (je = fe, Ne++) : (je = J, $t === 0 && Et(pe)), je !== J ? (tt = Wt(), tt !== J ? (yt = Si(), yt !== J ? (At = Wt(), At !== J ? (X.charCodeAt(Ne) === 44 ? (zt = Ke, Ne++) : (zt = J, $t === 0 && Et(
|
|
8393
|
+
var Oe, je, tt, yt, At, zt, ri, Bt, gi, Kt, di, Gt, ni;
|
|
8394
|
+
return Oe = Ne, X.charCodeAt(Ne) === 123 ? (je = fe, Ne++) : (je = J, $t === 0 && Et(pe)), je !== J ? (tt = Wt(), tt !== J ? (yt = Si(), yt !== J ? (At = Wt(), At !== J ? (X.charCodeAt(Ne) === 44 ? (zt = Ke, Ne++) : (zt = J, $t === 0 && Et(Ge)), zt !== J ? (ri = Wt(), ri !== J ? (X.substr(Ne, 6) === gt ? (Bt = gt, Ne += 6) : (Bt = J, $t === 0 && Et(Qe)), Bt !== J ? (gi = Wt(), gi !== J ? (Kt = Ne, X.charCodeAt(Ne) === 44 ? (di = Ke, Ne++) : (di = J, $t === 0 && Et(Ge)), di !== J ? (Gt = Wt(), Gt !== J ? (ni = Hs(), ni !== J ? (di = [di, Gt, ni], Kt = di) : (Ne = Kt, Kt = J)) : (Ne = Kt, Kt = J)) : (Ne = Kt, Kt = J), Kt === J && (Kt = null), Kt !== J ? (di = Wt(), di !== J ? (X.charCodeAt(Ne) === 125 ? (Gt = ge, Ne++) : (Gt = J, $t === 0 && Et(ve)), Gt !== J ? (Yt = Oe, je = Ye(yt, Bt, Kt), Oe = je) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J), Oe;
|
|
8386
8395
|
}
|
|
8387
8396
|
function ds() {
|
|
8388
8397
|
var Oe, je, tt, yt;
|
|
@@ -8405,9 +8414,9 @@ function peg$parse(X, W) {
|
|
|
8405
8414
|
}
|
|
8406
8415
|
function cs() {
|
|
8407
8416
|
var Oe, je;
|
|
8408
|
-
if (Oe = [],
|
|
8417
|
+
if (Oe = [], Ze.test(X.charAt(Ne)) ? (je = X.charAt(Ne), Ne++) : (je = J, $t === 0 && Et(nt)), je !== J)
|
|
8409
8418
|
for (; je !== J; )
|
|
8410
|
-
Oe.push(je),
|
|
8419
|
+
Oe.push(je), Ze.test(X.charAt(Ne)) ? (je = X.charAt(Ne), Ne++) : (je = J, $t === 0 && Et(nt));
|
|
8411
8420
|
else
|
|
8412
8421
|
Oe = J;
|
|
8413
8422
|
return Oe;
|
|
@@ -8426,33 +8435,33 @@ function peg$parse(X, W) {
|
|
|
8426
8435
|
return Oe = Ne, X.substr(Ne, 2) === Ce ? (je = Ce, Ne += 2) : (je = J, $t === 0 && Et(De)), je !== J ? (tt = js(), tt !== J ? (Yt = Oe, je = Fe(tt), Oe = je) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J), Oe === J && (Oe = Ne, Yt = Ne, je = bt(), je ? je = void 0 : je = J, je !== J ? (tt = Fi(), tt !== J ? (Yt = Oe, je = We(tt), Oe = je) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)), Oe;
|
|
8427
8436
|
}
|
|
8428
8437
|
function Ws() {
|
|
8429
|
-
var Oe, je, tt, yt, At, zt, ri, Bt, gi, Kt, di,
|
|
8430
|
-
return Oe = Ne, X.charCodeAt(Ne) === 123 ? (je = fe, Ne++) : (je = J, $t === 0 && Et(pe)), je !== J ? (tt = Wt(), tt !== J ? (yt = Si(), yt !== J ? (At = Wt(), At !== J ? (X.charCodeAt(Ne) === 44 ? (zt = Ke, Ne++) : (zt = J, $t === 0 && Et(
|
|
8438
|
+
var Oe, je, tt, yt, At, zt, ri, Bt, gi, Kt, di, Gt, ni;
|
|
8439
|
+
return Oe = Ne, X.charCodeAt(Ne) === 123 ? (je = fe, Ne++) : (je = J, $t === 0 && Et(pe)), je !== J ? (tt = Wt(), tt !== J ? (yt = Si(), yt !== J ? (At = Wt(), At !== J ? (X.charCodeAt(Ne) === 44 ? (zt = Ke, Ne++) : (zt = J, $t === 0 && Et(Ge)), zt !== J ? (ri = Wt(), ri !== J ? (X.substr(Ne, 4) === xt ? (Bt = xt, Ne += 4) : (Bt = J, $t === 0 && Et(It)), Bt === J && (X.substr(Ne, 4) === Pt ? (Bt = Pt, Ne += 4) : (Bt = J, $t === 0 && Et(Ut))), Bt !== J ? (gi = Wt(), gi !== J ? (Kt = Ne, X.charCodeAt(Ne) === 44 ? (di = Ke, Ne++) : (di = J, $t === 0 && Et(Ge)), di !== J ? (Gt = Wt(), Gt !== J ? (ni = Bs(), ni !== J ? (di = [di, Gt, ni], Kt = di) : (Ne = Kt, Kt = J)) : (Ne = Kt, Kt = J)) : (Ne = Kt, Kt = J), Kt === J && (Kt = null), Kt !== J ? (di = Wt(), di !== J ? (X.charCodeAt(Ne) === 125 ? (Gt = ge, Ne++) : (Gt = J, $t === 0 && Et(ve)), Gt !== J ? (Yt = Oe, je = Ye(yt, Bt, Kt), Oe = je) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J), Oe;
|
|
8431
8440
|
}
|
|
8432
8441
|
function Ks() {
|
|
8433
8442
|
var Oe;
|
|
8434
8443
|
return Oe = Vs(), Oe === J && (Oe = Ws()), Oe;
|
|
8435
8444
|
}
|
|
8436
8445
|
function Ys() {
|
|
8437
|
-
var Oe, je, tt, yt, At, zt, ri, Bt, gi, Kt, di,
|
|
8446
|
+
var Oe, je, tt, yt, At, zt, ri, Bt, gi, Kt, di, Gt, ni, bi, $i, Mi;
|
|
8438
8447
|
if (Oe = Ne, X.charCodeAt(Ne) === 123 ? (je = fe, Ne++) : (je = J, $t === 0 && Et(pe)), je !== J)
|
|
8439
8448
|
if (tt = Wt(), tt !== J)
|
|
8440
8449
|
if (yt = Si(), yt !== J)
|
|
8441
8450
|
if (At = Wt(), At !== J)
|
|
8442
|
-
if (X.charCodeAt(Ne) === 44 ? (zt = Ke, Ne++) : (zt = J, $t === 0 && Et(
|
|
8451
|
+
if (X.charCodeAt(Ne) === 44 ? (zt = Ke, Ne++) : (zt = J, $t === 0 && Et(Ge)), zt !== J)
|
|
8443
8452
|
if (ri = Wt(), ri !== J)
|
|
8444
8453
|
if (X.substr(Ne, 6) === Vt ? (Bt = Vt, Ne += 6) : (Bt = J, $t === 0 && Et(oi)), Bt === J && (X.substr(Ne, 13) === ei ? (Bt = ei, Ne += 13) : (Bt = J, $t === 0 && Et(mt))), Bt !== J)
|
|
8445
8454
|
if (gi = Wt(), gi !== J)
|
|
8446
|
-
if (X.charCodeAt(Ne) === 44 ? (Kt = Ke, Ne++) : (Kt = J, $t === 0 && Et(
|
|
8455
|
+
if (X.charCodeAt(Ne) === 44 ? (Kt = Ke, Ne++) : (Kt = J, $t === 0 && Et(Ge)), Kt !== J)
|
|
8447
8456
|
if (di = Wt(), di !== J)
|
|
8448
|
-
if (
|
|
8457
|
+
if (Gt = Ne, X.substr(Ne, 7) === vt ? (ni = vt, Ne += 7) : (ni = J, $t === 0 && Et(kt)), ni !== J ? (bi = Wt(), bi !== J ? ($i = fs(), $i !== J ? (ni = [ni, bi, $i], Gt = ni) : (Ne = Gt, Gt = J)) : (Ne = Gt, Gt = J)) : (Ne = Gt, Gt = J), Gt === J && (Gt = null), Gt !== J)
|
|
8449
8458
|
if (ni = Wt(), ni !== J) {
|
|
8450
8459
|
if (bi = [], $i = hs(), $i !== J)
|
|
8451
8460
|
for (; $i !== J; )
|
|
8452
8461
|
bi.push($i), $i = hs();
|
|
8453
8462
|
else
|
|
8454
8463
|
bi = J;
|
|
8455
|
-
bi !== J ? ($i = Wt(), $i !== J ? (X.charCodeAt(Ne) === 125 ? (Mi = ge, Ne++) : (Mi = J, $t === 0 && Et(ve)), Mi !== J ? (Yt = Oe, je = Tt(yt, Bt,
|
|
8464
|
+
bi !== J ? ($i = Wt(), $i !== J ? (X.charCodeAt(Ne) === 125 ? (Mi = ge, Ne++) : (Mi = J, $t === 0 && Et(ve)), Mi !== J ? (Yt = Oe, je = Tt(yt, Bt, Gt, bi), Oe = je) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J);
|
|
8456
8465
|
} else
|
|
8457
8466
|
Ne = Oe, Oe = J;
|
|
8458
8467
|
else
|
|
@@ -8479,24 +8488,24 @@ function peg$parse(X, W) {
|
|
|
8479
8488
|
Ne = Oe, Oe = J;
|
|
8480
8489
|
return Oe;
|
|
8481
8490
|
}
|
|
8482
|
-
function
|
|
8483
|
-
var Oe, je, tt, yt, At, zt, ri, Bt, gi, Kt, di,
|
|
8491
|
+
function Gs() {
|
|
8492
|
+
var Oe, je, tt, yt, At, zt, ri, Bt, gi, Kt, di, Gt, ni, bi;
|
|
8484
8493
|
if (Oe = Ne, X.charCodeAt(Ne) === 123 ? (je = fe, Ne++) : (je = J, $t === 0 && Et(pe)), je !== J)
|
|
8485
8494
|
if (tt = Wt(), tt !== J)
|
|
8486
8495
|
if (yt = Si(), yt !== J)
|
|
8487
8496
|
if (At = Wt(), At !== J)
|
|
8488
|
-
if (X.charCodeAt(Ne) === 44 ? (zt = Ke, Ne++) : (zt = J, $t === 0 && Et(
|
|
8497
|
+
if (X.charCodeAt(Ne) === 44 ? (zt = Ke, Ne++) : (zt = J, $t === 0 && Et(Ge)), zt !== J)
|
|
8489
8498
|
if (ri = Wt(), ri !== J)
|
|
8490
8499
|
if (X.substr(Ne, 6) === wt ? (Bt = wt, Ne += 6) : (Bt = J, $t === 0 && Et(Nt)), Bt !== J)
|
|
8491
8500
|
if (gi = Wt(), gi !== J)
|
|
8492
|
-
if (X.charCodeAt(Ne) === 44 ? (Kt = Ke, Ne++) : (Kt = J, $t === 0 && Et(
|
|
8501
|
+
if (X.charCodeAt(Ne) === 44 ? (Kt = Ke, Ne++) : (Kt = J, $t === 0 && Et(Ge)), Kt !== J)
|
|
8493
8502
|
if (di = Wt(), di !== J) {
|
|
8494
|
-
if (
|
|
8503
|
+
if (Gt = [], ni = us(), ni !== J)
|
|
8495
8504
|
for (; ni !== J; )
|
|
8496
|
-
|
|
8505
|
+
Gt.push(ni), ni = us();
|
|
8497
8506
|
else
|
|
8498
|
-
|
|
8499
|
-
|
|
8507
|
+
Gt = J;
|
|
8508
|
+
Gt !== J ? (ni = Wt(), ni !== J ? (X.charCodeAt(Ne) === 125 ? (bi = ge, Ne++) : (bi = J, $t === 0 && Et(ve)), bi !== J ? (Yt = Oe, je = St(yt, Gt), Oe = je) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J);
|
|
8500
8509
|
} else
|
|
8501
8510
|
Ne = Oe, Oe = J;
|
|
8502
8511
|
else
|
|
@@ -8519,17 +8528,17 @@ function peg$parse(X, W) {
|
|
|
8519
8528
|
Ne = Oe, Oe = J;
|
|
8520
8529
|
return Oe;
|
|
8521
8530
|
}
|
|
8522
|
-
function
|
|
8531
|
+
function Zs() {
|
|
8523
8532
|
var Oe, je, tt, yt;
|
|
8524
8533
|
return Oe = Ne, je = Ne, X.charCodeAt(Ne) === 61 ? (tt = Ft, Ne++) : (tt = J, $t === 0 && Et(ai)), tt !== J ? (yt = fs(), yt !== J ? (tt = [tt, yt], je = tt) : (Ne = je, je = J)) : (Ne = je, je = J), je !== J ? Oe = X.substring(Oe, Ne) : Oe = je, Oe === J && (Oe = Pi()), Oe;
|
|
8525
8534
|
}
|
|
8526
8535
|
function us() {
|
|
8527
8536
|
var Oe, je, tt, yt, At, zt, ri, Bt;
|
|
8528
|
-
return Oe = Ne, je = Wt(), je !== J ? (tt = Pi(), tt !== J ? (yt = Wt(), yt !== J ? (X.charCodeAt(Ne) === 123 ? (At = fe, Ne++) : (At = J, $t === 0 && Et(pe)), At !== J ? (Yt = Ne, zt = ii(), zt ? zt = void 0 : zt = J, zt !== J ? (ri = Ii(), ri !== J ? (X.charCodeAt(Ne) === 125 ? (Bt = ge, Ne++) : (Bt = J, $t === 0 && Et(ve)), Bt !== J ? (Yt = Oe, je =
|
|
8537
|
+
return Oe = Ne, je = Wt(), je !== J ? (tt = Pi(), tt !== J ? (yt = Wt(), yt !== J ? (X.charCodeAt(Ne) === 123 ? (At = fe, Ne++) : (At = J, $t === 0 && Et(pe)), At !== J ? (Yt = Ne, zt = ii(), zt ? zt = void 0 : zt = J, zt !== J ? (ri = Ii(), ri !== J ? (X.charCodeAt(Ne) === 125 ? (Bt = ge, Ne++) : (Bt = J, $t === 0 && Et(ve)), Bt !== J ? (Yt = Oe, je = Zt(tt, ri), Oe = je) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J), Oe;
|
|
8529
8538
|
}
|
|
8530
8539
|
function hs() {
|
|
8531
8540
|
var Oe, je, tt, yt, At, zt, ri, Bt;
|
|
8532
|
-
return Oe = Ne, je = Wt(), je !== J ? (tt =
|
|
8541
|
+
return Oe = Ne, je = Wt(), je !== J ? (tt = Zs(), tt !== J ? (yt = Wt(), yt !== J ? (X.charCodeAt(Ne) === 123 ? (At = fe, Ne++) : (At = J, $t === 0 && Et(pe)), At !== J ? (Yt = Ne, zt = xi(), zt ? zt = void 0 : zt = J, zt !== J ? (ri = Ii(), ri !== J ? (X.charCodeAt(Ne) === 125 ? (Bt = ge, Ne++) : (Bt = J, $t === 0 && Et(ve)), Bt !== J ? (Yt = Oe, je = Xt(tt, ri), Oe = je) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J), Oe;
|
|
8533
8542
|
}
|
|
8534
8543
|
function ki() {
|
|
8535
8544
|
var Oe;
|
|
@@ -9495,10 +9504,10 @@ const Jt = (X, W, J) => {
|
|
|
9495
9504
|
</div>
|
|
9496
9505
|
`;
|
|
9497
9506
|
};
|
|
9498
|
-
var __defProp$
|
|
9507
|
+
var __defProp$l = Object.defineProperty, __decorateClass$o = (X, W, J, te) => {
|
|
9499
9508
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
9500
9509
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
9501
|
-
return re && __defProp$
|
|
9510
|
+
return re && __defProp$l(W, J, re), re;
|
|
9502
9511
|
};
|
|
9503
9512
|
const Ni = class Ni extends h$t {
|
|
9504
9513
|
constructor() {
|
|
@@ -9526,10 +9535,10 @@ Ni.styles = i$13`
|
|
|
9526
9535
|
${r$X(styles$b)}
|
|
9527
9536
|
`;
|
|
9528
9537
|
let PdfSelector = Ni;
|
|
9529
|
-
__decorateClass$
|
|
9538
|
+
__decorateClass$o([
|
|
9530
9539
|
n$A({ type: Array })
|
|
9531
9540
|
], PdfSelector.prototype, "pdfList");
|
|
9532
|
-
__decorateClass$
|
|
9541
|
+
__decorateClass$o([
|
|
9533
9542
|
n$A({ type: Array })
|
|
9534
9543
|
], PdfSelector.prototype, "activePdfs");
|
|
9535
9544
|
const container = new Container(), registerDep = (X) => {
|
|
@@ -9539,10 +9548,10 @@ const container = new Container(), registerDep = (X) => {
|
|
|
9539
9548
|
}, TYPES = {
|
|
9540
9549
|
primaryApi: /* @__PURE__ */ Symbol.for("primaryApi")
|
|
9541
9550
|
}, styles$a = ":host{min-height:1px;height:100%;width:100%;display:flex}iframe{border:none;flex:1;height:100%}.pdf-container{display:flex;justify-content:center;align-items:center;height:100%;flex:1;border:1px solid #ccc}.no-pdf{text-align:center;color:#666;font-size:1.2rem;font-weight:700}";
|
|
9542
|
-
var __defProp$
|
|
9551
|
+
var __defProp$k = Object.defineProperty, __decorateClass$n = (X, W, J, te) => {
|
|
9543
9552
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
9544
9553
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
9545
|
-
return re && __defProp$
|
|
9554
|
+
return re && __defProp$k(W, J, re), re;
|
|
9546
9555
|
};
|
|
9547
9556
|
const zi = class zi extends h$t {
|
|
9548
9557
|
constructor() {
|
|
@@ -9615,10 +9624,10 @@ const zi = class zi extends h$t {
|
|
|
9615
9624
|
};
|
|
9616
9625
|
zi.styles = i$13`${r$X(styles$a)}`;
|
|
9617
9626
|
let PdfVisor = zi;
|
|
9618
|
-
__decorateClass$
|
|
9627
|
+
__decorateClass$n([
|
|
9619
9628
|
n$A({ type: Array })
|
|
9620
9629
|
], PdfVisor.prototype, "pdfList");
|
|
9621
|
-
__decorateClass$
|
|
9630
|
+
__decorateClass$n([
|
|
9622
9631
|
n$A({ type: Array })
|
|
9623
9632
|
], PdfVisor.prototype, "activePdfs");
|
|
9624
9633
|
const pdfViewerId = "pdf-viewer";
|
|
@@ -9659,7 +9668,13 @@ class QuickActionBusyManagerImpl {
|
|
|
9659
9668
|
this.broker = W, this.tasks = [];
|
|
9660
9669
|
}
|
|
9661
9670
|
addTask(W) {
|
|
9662
|
-
this.tasks.findIndex((te) => te.taskId === W.taskId)
|
|
9671
|
+
const J = this.tasks.findIndex((te) => te.taskId === W.taskId);
|
|
9672
|
+
if (J > -1) {
|
|
9673
|
+
if ((this.tasks[J].count ?? 1) === (W.count ?? 1)) return;
|
|
9674
|
+
this.tasks[J] = W, this.emitBusyChanged();
|
|
9675
|
+
return;
|
|
9676
|
+
}
|
|
9677
|
+
this.tasks.push(W), this.emitBusyChanged();
|
|
9663
9678
|
}
|
|
9664
9679
|
removeTask(W) {
|
|
9665
9680
|
const J = this.tasks.findIndex((te) => te.taskId === W);
|
|
@@ -9668,12 +9683,18 @@ class QuickActionBusyManagerImpl {
|
|
|
9668
9683
|
isBusy() {
|
|
9669
9684
|
return this.tasks.length > 0;
|
|
9670
9685
|
}
|
|
9686
|
+
pendingCount() {
|
|
9687
|
+
return this.tasks.reduce((W, J) => W + (J.count ?? 1), 0);
|
|
9688
|
+
}
|
|
9671
9689
|
emitBusyChanged() {
|
|
9672
9690
|
const W = this.isBusy();
|
|
9673
|
-
this.broker.publish(BROKER_EVENTS.shell.quickActionBusyChanged, { busy: W });
|
|
9691
|
+
this.broker.publish(BROKER_EVENTS.shell.quickActionBusyChanged, { busy: W, count: this.pendingCount() });
|
|
9674
9692
|
}
|
|
9675
9693
|
}
|
|
9676
|
-
|
|
9694
|
+
let current;
|
|
9695
|
+
const setPrimaryQuickAction = (X) => {
|
|
9696
|
+
current = X;
|
|
9697
|
+
}, clearPrimaryQuickAction = (X) => current?.pluginId !== X ? !1 : (current = void 0, !0), getPrimaryQuickAction = () => current, shellRegions = {
|
|
9677
9698
|
header: "header-region",
|
|
9678
9699
|
headerRightActions: "header-actions-region",
|
|
9679
9700
|
main: "main-region",
|
|
@@ -9684,6 +9705,9 @@ const shellRegions = {
|
|
|
9684
9705
|
communicationSidenav: "communication-sidenav-region",
|
|
9685
9706
|
clinicalPathwaysSidenav: "clinical-pathways-sidenav-region",
|
|
9686
9707
|
petitionerSidenav: "petitioner-sidenav-region",
|
|
9708
|
+
activityRecordSidenav: "activity-record-sidenav-region",
|
|
9709
|
+
documentsSidenav: "documents-sidenav-region",
|
|
9710
|
+
sharedHistoriesSidenav: "shared-histories-sidenav-region",
|
|
9687
9711
|
importData: "import-data-region",
|
|
9688
9712
|
importDataActivityHistory: "import-data-activity-history-region"
|
|
9689
9713
|
}, clinicalMonitoringRegions = {
|
|
@@ -9783,6 +9807,27 @@ class RegionManagerProxy {
|
|
|
9783
9807
|
const re = this.regionManager.getRegion(W).currentActiveViews.some((ne) => ne.id === J);
|
|
9784
9808
|
return Promise.resolve(re);
|
|
9785
9809
|
}
|
|
9810
|
+
/**
|
|
9811
|
+
* Declara aquesta iniciativa com l'acció principal del botó d'accions ràpides.
|
|
9812
|
+
*
|
|
9813
|
+
* Qui s'hi registra **no** s'ha de registrar també a la regió `quickActions`:
|
|
9814
|
+
* el botó principal i el desplegable són el mateix control, i sortiria dues
|
|
9815
|
+
* vegades. Veure `PrimaryQuickAction` per què això no és una regió.
|
|
9816
|
+
*/
|
|
9817
|
+
registerPrimaryQuickAction(W) {
|
|
9818
|
+
setPrimaryQuickAction({ ...W, pluginId: this.pluginInfo.pluginId }), this._notifyPrimaryQuickActionChanged();
|
|
9819
|
+
}
|
|
9820
|
+
removePrimaryQuickAction() {
|
|
9821
|
+
clearPrimaryQuickAction(this.pluginInfo.pluginId) && this._notifyPrimaryQuickActionChanged();
|
|
9822
|
+
}
|
|
9823
|
+
/**
|
|
9824
|
+
* L'acció no viatja per l'event: el shell la llegeix de
|
|
9825
|
+
* `getPrimaryQuickAction()`. L'event només diu que ha canviat, per no passar
|
|
9826
|
+
* funcions pel bus de missatges.
|
|
9827
|
+
*/
|
|
9828
|
+
_notifyPrimaryQuickActionChanged() {
|
|
9829
|
+
this.broker.publish(BROKER_EVENTS.shell.primaryQuickActionChanged, {});
|
|
9830
|
+
}
|
|
9786
9831
|
async registerQuickAction(W) {
|
|
9787
9832
|
await this.regionManager.registerViewWithRegion(
|
|
9788
9833
|
this.regions.shell.quickActions,
|
|
@@ -9927,7 +9972,7 @@ class ImportDataManagerImpl {
|
|
|
9927
9972
|
async import(W, J) {
|
|
9928
9973
|
this.currentImporterId = W, this.currentImportParams = J, this.selectedItems = {}, this.pluginTexts = {};
|
|
9929
9974
|
try {
|
|
9930
|
-
const { ImportDataManagerModal: te } = await import("./component-
|
|
9975
|
+
const { ImportDataManagerModal: te } = await import("./component-Co_FBT-G.js"), { confirmed: re } = await this.interactionService.confirm(
|
|
9931
9976
|
void 0,
|
|
9932
9977
|
{ component: te },
|
|
9933
9978
|
{
|
|
@@ -10068,7 +10113,7 @@ const createContextManager = () => contextManager$1 || (contextManager$1 = new P
|
|
|
10068
10113
|
let bootstrappedPlugins = [];
|
|
10069
10114
|
const CORE_FIRST_ID = "activity-history", bundledActivityHistory = {
|
|
10070
10115
|
pluginId: CORE_FIRST_ID,
|
|
10071
|
-
importer: () => import("./plugin-
|
|
10116
|
+
importer: () => import("./plugin-Cw8FruuX.js")
|
|
10072
10117
|
};
|
|
10073
10118
|
let pluginsBootstrapped = !1;
|
|
10074
10119
|
const bootstrapPlugins = async (X, W) => {
|
|
@@ -10087,7 +10132,7 @@ const bootstrapPlugins = async (X, W) => {
|
|
|
10087
10132
|
const X = await Promise.all(bootstrappedPlugins.map((W) => W?.dispose()));
|
|
10088
10133
|
return bootstrappedPlugins = [], pluginsBootstrapped = !1, X;
|
|
10089
10134
|
};
|
|
10090
|
-
var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor, __decorateClass$
|
|
10135
|
+
var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor, __decorateClass$m = (X, W, J, te) => {
|
|
10091
10136
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$4(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
10092
10137
|
(oe = X[ne]) && (re = oe(re) || re);
|
|
10093
10138
|
return re;
|
|
@@ -10131,7 +10176,7 @@ let ExitShellHandler = class {
|
|
|
10131
10176
|
X ? raiseCustomCloseEvent(X) : raiseCloseEvent();
|
|
10132
10177
|
}
|
|
10133
10178
|
};
|
|
10134
|
-
ExitShellHandler = __decorateClass$
|
|
10179
|
+
ExitShellHandler = __decorateClass$m([
|
|
10135
10180
|
__decorateParam$2(0, inject(TYPES.primaryApi))
|
|
10136
10181
|
], ExitShellHandler);
|
|
10137
10182
|
class ExitShell {
|
|
@@ -10145,7 +10190,7 @@ const useExitShell = (X) => {
|
|
|
10145
10190
|
}, disposeExitShell = () => {
|
|
10146
10191
|
request$1?.dispose();
|
|
10147
10192
|
};
|
|
10148
|
-
var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor, __decorateClass$
|
|
10193
|
+
var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor, __decorateClass$l = (X, W, J, te) => {
|
|
10149
10194
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$3(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
10150
10195
|
(oe = X[ne]) && (re = oe(re) || re);
|
|
10151
10196
|
return re;
|
|
@@ -10178,11 +10223,11 @@ let GetUserInfoBackendAdapter = class {
|
|
|
10178
10223
|
}
|
|
10179
10224
|
}
|
|
10180
10225
|
};
|
|
10181
|
-
GetUserInfoBackendAdapter = __decorateClass$
|
|
10226
|
+
GetUserInfoBackendAdapter = __decorateClass$l([
|
|
10182
10227
|
injectable(),
|
|
10183
10228
|
__decorateParam$1(0, inject(TYPES.primaryApi))
|
|
10184
10229
|
], GetUserInfoBackendAdapter);
|
|
10185
|
-
var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor, __decorateClass$
|
|
10230
|
+
var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor, __decorateClass$k = (X, W, J, te) => {
|
|
10186
10231
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$2(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
10187
10232
|
(oe = X[ne]) && (re = oe(re) || re);
|
|
10188
10233
|
return re;
|
|
@@ -10200,7 +10245,7 @@ let GetUserInfoHandler = class {
|
|
|
10200
10245
|
}
|
|
10201
10246
|
}
|
|
10202
10247
|
};
|
|
10203
|
-
GetUserInfoHandler = __decorateClass$
|
|
10248
|
+
GetUserInfoHandler = __decorateClass$k([
|
|
10204
10249
|
__decorateParam(0, inject(TYPES.primaryApi)),
|
|
10205
10250
|
__decorateParam(1, inject(GetUserInfoBackendAdapter))
|
|
10206
10251
|
], GetUserInfoHandler);
|
|
@@ -10223,7 +10268,7 @@ const useGetUserInfo = (X) => {
|
|
|
10223
10268
|
shellApi.ecapEventManager.publish(X.ecapEvent, "", X.payload);
|
|
10224
10269
|
};
|
|
10225
10270
|
var shellViews = /* @__PURE__ */ ((X) => (X.shell = "primaria-shell", X.error = "primaria-error-view", X))(shellViews || {});
|
|
10226
|
-
const styles$9 = ":host{width:100%;overflow:hidden}#main-switcher{display:inherit}.container{width:100%;height:100%;display:flex;flex-direction:column;background:#fff}.main-container{min-height:1px;height:100%;display:flex}.main-container .sidebar{padding-inline:16px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;background:var(--color-primary-700);width:40px;height:100%;color:#fff}.main-container .sidebar .quick-actions-content{padding-top:24px;padding-bottom:22px;border-radius:8px}.main-container .sidebar .quick-actions-content .create-button-icon-badge{position:relative}.main-container .sidebar .quick-actions-content .create-button-icon-badge dss-notification-badge{position:absolute;top:-
|
|
10271
|
+
const styles$9 = ":host{width:100%;overflow:hidden}#main-switcher{display:inherit}.container{width:100%;height:100%;display:flex;flex-direction:column;background:#fff}.main-container{min-height:1px;height:100%;display:flex}.main-container .sidebar{padding-inline:16px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;background:var(--color-primary-700);width:40px;height:100%;color:#fff}.main-container .sidebar .quick-actions-content{padding-top:24px;padding-bottom:22px;border-radius:8px}.main-container .sidebar .quick-actions-content .create-button-icon-badge{position:relative}.main-container .sidebar .quick-actions-content .create-button-icon-badge dss-notification-badge{position:absolute;top:-6px;left:-6px;z-index:900}.split-anchor-collapsed :is(.main-container .sidebar .quick-actions-content .create-button-icon-badge dss-notification-badge){top:-10px;left:auto;right:-10px}.main-container .sidebar .quick-actions-content .create-button-icon-badge dss-icon{position:relative}.main-container .sidebar .icon{margin-left:8px}.main-container .sidebar #menu-region{width:100%;height:100%;min-height:1px}.main-container .sidebar #menu-region-container{padding-top:15px;min-height:1px;height:100%;width:100%;display:flex;flex-direction:column;gap:4px;overflow-y:auto;margin-right:-14px;padding-right:14px;scrollbar-color:var(--color-primary-200) var(--color-primary-700);scrollbar-width:thin}.main-container .sidebar #menu-region-container::-webkit-scrollbar{width:6px}.main-container .sidebar #menu-region-container::-webkit-scrollbar-track{background:var(--color-primary-700)}.main-container .sidebar #menu-region-container::-webkit-scrollbar-thumb{background-color:var(--color-primary-400);border-radius:4px}.main-container .sidebar .bottom-content{display:flex;flex-direction:column;gap:24px;width:100%}.main-container .sidebar .bottom-content .bottom-content-first{display:flex;flex-direction:column;gap:22px}.main-container .sidebar[expanded]{width:252px;align-items:flex-start}.main-container .sidebar .create-button-closed{cursor:pointer;background-color:#f0f0f0;color:var(--color-primary-700);border-radius:8px;width:40px;height:40px;display:flex;flex-direction:row;align-items:center;justify-content:center;transition:background-color .3s ease}.main-container .sidebar .create-button-closed:hover{background-color:var(--color-primary-900);color:#fff}.main-container .sidebar .create-button-opened{cursor:pointer;background-color:#f0f0f0;color:var(--color-primary-700);border-radius:8px;gap:8px;font-weight:600;width:220px;height:40px;display:flex;flex-direction:row;align-items:center;transition:background-color .3s ease}.main-container .sidebar .create-button-opened:hover{background-color:var(--color-primary-900);color:#fff}.main-container .split-button-anchor{position:relative;width:220px}.main-container .split-button-anchor dss-split-button{width:100%}.main-container .split-anchor-collapsed{display:flex;flex-direction:column;gap:2px;width:40px}.main-container .split-anchor-collapsed__main,.main-container .split-anchor-collapsed__more{cursor:pointer;background-color:#f0f0f0;color:var(--color-primary-700);width:40px;display:flex;align-items:center;justify-content:center;transition:background-color .3s ease}:is(.main-container .split-anchor-collapsed__main,.main-container .split-anchor-collapsed__more):hover{background-color:var(--color-primary-900);color:#fff}.main-container .split-anchor-collapsed__main{position:relative;height:40px;border-radius:8px 8px 0 0}.main-container .split-anchor-collapsed__more{height:28px;border-radius:0 0 8px 8px}.main-container .content{display:flex;height:100%;width:100%;min-width:0}.main-container #main-region-container{min-height:1px;min-width:0;height:100%;flex:1}.main-container #navigation-menu-lower-region-container{display:flex;flex-direction:column;gap:4px}.footer{display:flex;height:48px;padding:12px 24px}.footer .footer-logo{align-self:center;display:flex;gap:16px}.divider-opened{width:220px}.divider-closed{width:40px}.toggle-button{margin-bottom:24px}@media(max-width:1439px){.bottom-content-first{margin-bottom:24px}.toggle-button{display:none}.content{overflow-y:auto}}";
|
|
10227
10272
|
let t$L = "";
|
|
10228
10273
|
function f$m() {
|
|
10229
10274
|
return t$L;
|
|
@@ -11312,12 +11357,12 @@ const MAX_RESET_COUNT = 50, computePosition$1 = async (X, W, J) => {
|
|
|
11312
11357
|
placement: We
|
|
11313
11358
|
}
|
|
11314
11359
|
};
|
|
11315
|
-
let Ke = (De = qe.filter((
|
|
11360
|
+
let Ke = (De = qe.filter((Ge) => Ge.overflows[0] <= 0).sort((Ge, gt) => Ge.overflows[1] - gt.overflows[1])[0]) == null ? void 0 : De.placement;
|
|
11316
11361
|
if (!Ke)
|
|
11317
11362
|
switch (ge) {
|
|
11318
11363
|
case "bestFit": {
|
|
11319
11364
|
var Fe;
|
|
11320
|
-
const
|
|
11365
|
+
const Ge = (Fe = qe.filter((gt) => {
|
|
11321
11366
|
if (Ie) {
|
|
11322
11367
|
const Qe = getSideAxis(gt.placement);
|
|
11323
11368
|
return Qe === _e || // Create a bias to the `y` side axis due to horizontal
|
|
@@ -11326,7 +11371,7 @@ const MAX_RESET_COUNT = 50, computePosition$1 = async (X, W, J) => {
|
|
|
11326
11371
|
}
|
|
11327
11372
|
return !0;
|
|
11328
11373
|
}).map((gt) => [gt.placement, gt.overflows.filter((Qe) => Qe > 0).reduce((Qe, Ye) => Qe + Ye, 0)]).sort((gt, Qe) => gt[1] - Qe[1])[0]) == null ? void 0 : Fe[0];
|
|
11329
|
-
|
|
11374
|
+
Ge && (Ke = Ge);
|
|
11330
11375
|
break;
|
|
11331
11376
|
}
|
|
11332
11377
|
case "initialPlacement":
|
|
@@ -18496,10 +18541,10 @@ const r$y = ':host{display:inline-block;height:100%;width:100%;--circle: 32px;--
|
|
|
18496
18541
|
`}
|
|
18497
18542
|
`;
|
|
18498
18543
|
};
|
|
18499
|
-
var __defProp$
|
|
18544
|
+
var __defProp$j = Object.defineProperty, __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor, __decorateClass$j = (X, W, J, te) => {
|
|
18500
18545
|
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc$1(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
18501
18546
|
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
18502
|
-
return te && re && __defProp$
|
|
18547
|
+
return te && re && __defProp$j(W, J, re), re;
|
|
18503
18548
|
};
|
|
18504
18549
|
class Stepper extends h$t {
|
|
18505
18550
|
constructor() {
|
|
@@ -18541,28 +18586,28 @@ class Stepper extends h$t {
|
|
|
18541
18586
|
return k$9(this);
|
|
18542
18587
|
}
|
|
18543
18588
|
}
|
|
18544
|
-
__decorateClass$
|
|
18589
|
+
__decorateClass$j([
|
|
18545
18590
|
n$A({ type: [] })
|
|
18546
18591
|
], Stepper.prototype, "steps", 1);
|
|
18547
|
-
__decorateClass$
|
|
18592
|
+
__decorateClass$j([
|
|
18548
18593
|
r$T()
|
|
18549
18594
|
], Stepper.prototype, "_steps", 2);
|
|
18550
|
-
__decorateClass$
|
|
18595
|
+
__decorateClass$j([
|
|
18551
18596
|
n$A({ type: Number })
|
|
18552
18597
|
], Stepper.prototype, "currentStep", 2);
|
|
18553
|
-
__decorateClass$
|
|
18598
|
+
__decorateClass$j([
|
|
18554
18599
|
n$A(n$y)
|
|
18555
18600
|
], Stepper.prototype, "column", 2);
|
|
18556
|
-
__decorateClass$
|
|
18601
|
+
__decorateClass$j([
|
|
18557
18602
|
n$A(n$y)
|
|
18558
18603
|
], Stepper.prototype, "circular", 2);
|
|
18559
|
-
__decorateClass$
|
|
18604
|
+
__decorateClass$j([
|
|
18560
18605
|
n$A(n$y)
|
|
18561
18606
|
], Stepper.prototype, "hideLabel", 2);
|
|
18562
|
-
__decorateClass$
|
|
18607
|
+
__decorateClass$j([
|
|
18563
18608
|
n$A({ type: String })
|
|
18564
18609
|
], Stepper.prototype, "size", 2);
|
|
18565
|
-
__decorateClass$
|
|
18610
|
+
__decorateClass$j([
|
|
18566
18611
|
r$T()
|
|
18567
18612
|
], Stepper.prototype, "_activeBarWidth", 2);
|
|
18568
18613
|
const e$F = ':host{width:100%;max-width:100%}.dss-textarea__group .dss-label{font-style:normal;font-weight:400;font-size:14px;line-height:24px;cursor:text;position:absolute;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;width:calc(100% - 24px);color:var(--color-neutral-700)}.dss-textarea-label .dss-label{font-style:normal;font-weight:600;font-size:14px;line-height:24px;cursor:text;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;color:var(--color-neutral-700)}.dss-textarea{resize:vertical;outline:none;border:0;font-size:14px;line-height:24px;font-style:normal;color:var(--color-neutral-900);width:100%;text-overflow:ellipsis;font-family:var(--font-family);min-height:24px;box-sizing:border-box}.dss-textarea::-moz-placeholder{color:var(--color-neutral-700)}.dss-textarea::placeholder{color:var(--color-neutral-700)}.dss-textarea{display:flex;flex-direction:column;gap:4px}.dss-textarea--sm{gap:var(--dss-spacing-tiny)}.dss-textarea--disabled .dss-textarea__group:after{background:var(--color-neutral-50)}.dss-textarea__content{display:flex;flex:1}.dss-textarea--disabled .dss-textarea__group,.dss-textarea--disabled .dss-textarea{background-color:var(--color-neutral-50);cursor:not-allowed}.dss-textarea--disabled .dss-label,.dss-textarea--disabled .dss-textarea{cursor:not-allowed;color:var(--color-neutral-500)}.dss-textarea__group{position:relative;background:var(--color-white);box-sizing:border-box;border:var(--dss-border-width-sm) solid var(--color-neutral-100);border-radius:8px;padding:12px 4px 4px 12px;display:flex;gap:8px;min-height:48px}.dss-textarea__group:after{pointer-events:none;content:"height";font-family:var(--icon-font);font-size:0px;position:absolute;height:0px;width:0px;text-align:center;bottom:4px;right:3px;z-index:2;border-radius:8px;background:transparent}.dss-textarea--required .dss-textarea-label .dss-label:before,.dss-textarea__group--required .dss-label:before{content:"*"}.dss-textarea__group:focus-visible,.dss-textarea__group--focused-visible,.dss-textarea--invalid .dss-textarea__group:focus-visible{border-color:var(--color-blue-200);outline:var(--dss-border-width-lg) solid var(--color-blue-200);box-shadow:none;background-color:var(--color-white)}.dss-textarea__group--readOnly{border-top:0;border-left:0;border-right:0;border-radius:0}.dss-textarea__group--focused-visible.dss-textarea__group--readOnly{outline:0}.dss-textarea__group--focused-visible.dss-textarea__group--readOnly:before{pointer-events:none;content:"";position:absolute;top:100%;left:0;right:0;height:var(--dss-border-width-lg);background-color:var(--color-blue-200)}.dss-textarea--invalid .dss-textarea__group:focus-visible .dss-textarea{background-color:var(--color-white)}.dss-textarea__group--focused{padding-top:2px;padding-bottom:4px}.dss-textarea__group--focused.dss-textarea__group--read-only-empty:not(.dss-textarea__group--sm){padding:12px}.dss-textarea__group--focused:not(.dss-textarea__group--read-only-empty) .dss-textarea__content .dss-label{font-size:12px;line-height:16px;transition:.3s;top:4px}.dss-textarea__group--focused.dss-textarea__group--has-label:not(.dss-textarea__group--read-only-empty):not(.dss-textarea__group--sm) .dss-textarea__content .dss-textarea{margin-top:16px!important}.dss-textarea--invalid .dss-textarea{background-color:var(--color-red-50);color:var(--color-neutral-900)}.dss-textarea--invalid .dss-textarea::-moz-placeholder{color:var(--color-neutral-700)}.dss-textarea--invalid .dss-textarea::placeholder{color:var(--color-neutral-700)}.dss-textarea--invalid .dss-textarea__group{border-color:var(--color-red-500)}.dss-textarea--invalid .dss-textarea__group,.dss-textarea--invalid .dss-textarea__group:after{background-color:var(--color-red-50);color:var(--color-red-500)}.dss-textarea__help{font-style:normal;font-weight:400;font-size:12px;line-height:16px;display:flex;padding:0 12px;gap:8px;color:var(--color-neutral-700)}.dss-textarea--disabled .dss-textarea__help{color:var(--color-neutral-500)}.dss-textarea__help .dss-textarea__description{flex:1}.dss-textarea--invalid .dss-textarea__help,.dss-textarea--invalid .dss-textarea__help:after{color:var(--color-red-500)}.dss-textarea--auto-height .dss-textarea__content .dss-textarea{resize:none;overflow:hidden}.dss-textarea__group--readOnly .dss-textarea{resize:none}.dss-textarea__group.dss-textarea__group--md{min-height:40px}.dss-textarea__group.dss-textarea__group--focused.dss-textarea__group--md{padding-top:0;padding-bottom:0}.dss-textarea__group.dss-textarea__group--md .dss-label{line-height:16px}.dss-textarea__group.dss-textarea__group--md .dss-textarea,.dss-textarea__group.dss-textarea__group--sm .dss-textarea{min-height:22px;line-height:22px}.dss-textarea__group.dss-textarea__group--sm{gap:var(--dss-spacing-xxs);padding-top:4px;padding-left:var(--dss-spacing-xs);min-height:30px}.dss-textarea--empty-description .dss-textarea__help{display:none}.dss-textarea-icon{align-self:flex-start}.dss-textarea__group.dss-textarea__group--lg.dss-textarea__group--focused .dss-textarea-icon{margin-top:10px}.dss-textarea__group.dss-textarea__group--md:not(.dss-textarea__group--focused) .dss-textarea-icon{margin-top:-4px}.dss-textarea__group.dss-textarea__group--md.dss-textarea__group--focused .dss-textarea-icon{margin-top:8px}.dss-textarea--invalid .dss-textarea__group--focused-visible,.dss-textarea--invalid .dss-textarea__group--focused-visible .dss-textarea{background-color:var(--color-white)}.dss-textarea--invalid .dss-textarea-label .dss-label{color:var(--color-red-500)}.dss-textarea--sm .dss-textarea__help{padding:0 var(--dss-spacing-xs)}', i$H = er`dss-icon${tr(f$m())}`, g$g = (X) => ke`
|
|
@@ -35922,7 +35967,57 @@ s$Q("dss-ng-textarea", a$3);
|
|
|
35922
35967
|
s$Q("dss-ng-timepicker", d$1);
|
|
35923
35968
|
s$Q("dss-ng-upload-box", l$1);
|
|
35924
35969
|
s$Q("dss-selector", a$1);
|
|
35925
|
-
const gencatLogo = "data:image/svg+xml,%3csvg%20width='94'%20height='24'%20viewBox='0%200%2094%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.36109%200.0906219C4.28803%200.0906219%200.175049%204.88609%200.175049%2010.8006C0.175049%2016.7148%204.28803%2021.5103%209.36109%2021.5103C14.4341%2021.5103%2018.5471%2016.7148%2018.5471%2010.8006C18.5471%204.88609%2014.4341%200.0906219%209.36109%200.0906219Z'%20fill='%23ED192D'/%3e%3cpath%20d='M2.94731%2016.1348C2.06504%2014.6225%201.54761%2012.784%201.54761%2010.8007C1.54761%208.81751%202.06504%206.97893%202.94731%205.46631V16.1348Z'%20fill='white'/%3e%3cpath%20d='M4.92041%203.11644C5.42915%202.69532%205.98132%202.34559%206.56749%202.07705V19.5234C5.98132%2019.2553%205.42915%2018.9048%204.92041%2018.4844V3.11644Z'%20fill='white'/%3e%3cpath%20d='M8.54004%201.5129C8.81008%201.47928%209.08354%201.46191%209.36076%201.46191C9.63986%201.46191%209.91557%201.47966%2010.1871%201.51365V20.087C9.91557%2020.121%209.63986%2020.1392%209.36076%2020.1392C9.08354%2020.1392%208.81008%2020.1214%208.54004%2020.0882V1.5129Z'%20fill='white'/%3e%3cpath%20d='M12.1604%202.07993C12.7469%202.34884%2013.2991%202.70008%2013.8075%203.12119V18.4797C13.2991%2018.9012%2012.7469%2019.2521%2012.1604%2019.521V2.07993Z'%20fill='white'/%3e%3cpath%20d='M15.7808%205.47645C16.6596%206.98681%2017.1752%208.82161%2017.1752%2010.8007C17.1752%2012.7797%2016.6596%2014.6142%2015.7808%2016.1245V5.47645Z'%20fill='white'/%3e%3cpath%20d='M0.944824%2010.8007C0.944824%208.34538%201.69906%206.09853%202.94769%204.36383V4.94963C1.89848%206.56989%201.27454%208.59843%201.27454%2010.8007C1.27454%2013.0026%201.89848%2015.0311%202.94769%2016.6514V17.2368C1.69906%2015.5025%200.944824%2013.2557%200.944824%2010.8007Z'%20fill='white'/%3e%3cpath%20d='M15.7808%2016.6428C16.8266%2015.0241%2017.4486%2012.9989%2017.4486%2010.8008C17.4486%208.6027%2016.8266%206.57755%2015.7808%204.9588V4.37226C17.0264%206.10545%2017.7776%208.34928%2017.7776%2010.8008C17.7776%2013.252%2017.0264%2015.4958%2015.7808%2017.229V16.6428Z'%20fill='white'/%3e%3cpath%20d='M18.3143%2020.3882C18.377%2020.1193%2018.5042%2019.844%2018.6523%2019.6241C18.4623%2019.5309%2018.3022%2019.4606%2018.1371%2019.3175C18.5012%2018.7675%2018.5919%2018.391%2018.6515%2017.7289L18.6259%2013.9857C18.3856%2015.0742%2017.8044%2016.5018%2017.3025%2017.2481C17.1559%2017.4664%2017.0913%2017.6047%2017.0007%2017.7501C16.9486%2017.8343%2016.6536%2018.3204%2016.6611%2018.9156C16.4553%2018.9571%2016.2665%2018.9496%2016.0274%2018.9318C16.0569%2019.1909%2016.0727%2019.2276%2016.0047%2019.6521C15.0972%2019.7223%2014.8328%2020.2666%2013.7571%2020.8482C13.2314%2021.1326%2012.8903%2021.2621%2012.104%2021.5492C13.9324%2021.5273%2015.275%2021.7871%2016.4243%2021.0144C16.555%2021.1874%2016.6521%2021.3554%2016.7382%2021.559C16.8964%2021.4348%2017.2069%2021.2814%2017.4649%2021.2149C17.7606%2021.5061%2018.1568%2021.6209%2018.6644%2021.5752C18.7361%2021.1666%2018.6345%2020.6643%2018.3143%2020.3882Z'%20fill='%23ED192D'/%3e%3cpath%20d='M18.4518%2019.6968C18.3101%2019.7546%2017.6431%2020.0008%2017.6431%2020.0008L17.6341%2020.0103C17.6307%2019.9517%2017.6167%2019.8939%2017.5922%2019.8395L17.5884%2019.8271C17.8456%2019.6734%2018.0072%2019.4558%2018.011%2019.4222C18.0091%2019.4195%2018.008%2019.4177%2018.0095%2019.418C18.0106%2019.4184%2018.011%2019.4199%2018.011%2019.4222C18.0329%2019.452%2018.2524%2019.6556%2018.4518%2019.6968Z'%20fill='white'/%3e%3cpath%20d='M17.9002%2016.5344C18.5691%2015.055%2018.4116%2015.1192%2018.5596%2014.5051C18.54%2014.8008%2018.5211%2015.174%2018.4792%2015.4444C18.1876%2017.0563%2017.7687%2018.2506%2017.2653%2019.5683C17.2653%2019.5683%2017.1271%2019.5566%2017.0576%2019.5698C16.9356%2019.4293%2016.8974%2019.2348%2016.8974%2019.2348C16.6633%2018.2634%2017.3918%2017.6584%2017.9002%2016.5344Z'%20fill='white'/%3e%3cpath%20d='M16.2266%2019.1308L16.8509%2019.652L16.8528%2019.6569C16.8339%2019.6709%2016.8154%2019.6868%2016.798%2019.7038C16.7667%2019.7355%2016.7402%2019.7699%2016.7195%2019.8069L16.7157%2019.8159C16.3977%2019.6614%2016.1851%2019.655%2016.1851%2019.655C16.2651%2019.3106%2016.2266%2019.1308%2016.2266%2019.1308Z'%20fill='white'/%3e%3cpath%20d='M13.3914%2021.3775C13.0776%2021.4493%2012.8241%2021.4459%2012.6262%2021.4546L13.2909%2021.2487C14.7314%2020.7087%2015.0982%2019.8725%2016.0711%2019.8532C16.2988%2019.8551%2016.4854%2019.9148%2016.6542%2020.0096L16.6561%2020.0356C16.6493%2020.0979%2016.655%2020.1614%2016.6731%2020.2222L16.6735%2020.2313C16.0016%2020.5648%2014.4655%2021.1313%2013.3914%2021.3775Z'%20fill='white'/%3e%3cpath%20d='M16.8149%2021.334C16.7764%2021.2309%2016.7228%2021.0643%2016.574%2020.8996C16.7745%2020.7297%2016.8157%2020.6383%2016.8829%2020.4721L16.8878%2020.4744C16.9509%2020.5118%2017.0208%2020.5333%2017.0914%2020.539L17.0997%2020.5378L16.8149%2021.334Z'%20fill='white'/%3e%3cpath%20d='M16.9431%2020.2505C16.8324%2020.1391%2016.8328%2019.9589%2016.9442%2019.8479C17.0556%2019.7372%2017.2354%2019.7376%2017.3464%2019.8494C17.4571%2019.9604%2017.4567%2020.1406%2017.3453%2020.2512C17.2339%2020.3619%2017.0537%2020.3615%2016.9431%2020.2505Z'%20fill='white'/%3e%3cpath%20d='M17.5617%2021.0476C17.4147%2020.8765%2017.3517%2020.7443%2017.2961%2020.5128C17.369%2020.4916%2017.4548%2020.4474%2017.5061%2020.3757L18.5032%2021.3883C18.1248%2021.4234%2017.7973%2021.3342%2017.5617%2021.0476Z'%20fill='white'/%3e%3cpath%20d='M18.6644%200.00993252C18.1568%20-0.0361447%2017.7606%200.0786629%2017.4649%200.369858C17.2069%200.303385%2016.8964%200.150051%2016.7382%200.0257921C16.6521%200.229364%2016.555%200.397053%2016.4243%200.57041C15.275%20-0.202332%2013.9324%200.057518%2012.104%200.0352345C12.8903%200.322652%2013.2314%200.452191%2013.7571%200.736588C14.8328%201.31822%2015.0972%201.86208%2016.0047%201.93271C16.0727%202.35723%2016.0569%202.39349%2016.0274%202.65334C16.2665%202.63521%2016.4553%202.62765%2016.6611%202.6692C16.6536%203.26405%2016.9486%203.75051%2017.0007%203.83436C17.0913%203.98014%2017.1559%204.11839%2017.3025%204.33669C17.8044%205.08299%2018.3856%206.51026%2018.6259%207.59912L18.6515%203.8559C18.5919%203.19382%2018.5012%202.81726%2018.1371%202.26735C18.3022%202.12421%2018.4623%202.05396%2018.6523%201.96067C18.5042%201.74086%2018.377%201.46515%2018.3143%201.19661C18.6345%200.920149%2018.7361%200.41821%2018.6644%200.00993252Z'%20fill='%23ED192D'/%3e%3cpath%20d='M18.4518%201.88761C18.3101%201.82982%2017.6431%201.58358%2017.6431%201.58358L17.6341%201.57414C17.6307%201.6323%2017.6167%201.69047%2017.5922%201.74485L17.5884%201.75732C17.8456%201.91104%2018.0072%202.12857%2018.011%202.16219C18.0091%202.16521%2018.008%202.16709%2018.0095%202.16634C18.0106%202.16558%2018.011%202.16445%2018.011%202.16219C18.0329%202.13273%2018.2524%201.92878%2018.4518%201.88761Z'%20fill='white'/%3e%3cpath%20d='M17.9002%205.05029C18.5691%206.52968%2018.4116%206.46547%2018.5596%207.07959C18.54%206.78386%2018.5211%206.41034%2018.4792%206.14067C18.1876%204.52834%2017.7687%203.33408%2017.2653%202.01596C17.2653%202.01596%2017.1271%202.02806%2017.0576%202.01484C16.9356%202.15534%2016.8974%202.34985%2016.8974%202.34985C16.6633%203.32125%2017.3918%203.9263%2017.9002%205.05029Z'%20fill='white'/%3e%3cpath%20d='M16.2266%202.45361L16.8509%201.9324L16.8528%201.92749C16.8339%201.91352%2016.8154%201.89766%2016.798%201.88067C16.7667%201.84932%2016.7402%201.81419%2016.7195%201.77793L16.7157%201.76812C16.3977%201.92297%2016.1851%201.929%2016.1851%201.929C16.2651%202.27345%2016.2266%202.45361%2016.2266%202.45361Z'%20fill='white'/%3e%3cpath%20d='M13.3914%200.207236C13.0776%200.135476%2012.8241%200.138873%2012.6262%200.130187L13.2909%200.336013C14.7314%200.876102%2015.0982%201.71229%2016.0711%201.73193C16.2988%201.72967%2016.4854%201.67%2016.6542%201.5752L16.6561%201.54914C16.6493%201.48682%2016.655%201.42337%2016.6731%201.36257L16.6735%201.35351C16.0016%201.01964%2014.4655%200.453108%2013.3914%200.207236Z'%20fill='white'/%3e%3cpath%20d='M16.8149%200.250924C16.7764%200.354032%2016.7228%200.52059%2016.574%200.685261C16.7745%200.855219%2016.8157%200.946612%2016.8829%201.11279L16.8878%201.11091C16.9509%201.07314%2017.0208%201.05162%2017.0914%201.04557L17.0997%201.04709L16.8149%200.250924Z'%20fill='white'/%3e%3cpath%20d='M16.9431%201.3342C16.8324%201.446%2016.8328%201.62577%2016.9442%201.73643C17.0556%201.84747%2017.2354%201.84672%2017.3464%201.73568C17.4571%201.62388%2017.4567%201.44411%2017.3453%201.33345C17.2339%201.22279%2017.0537%201.22316%2016.9431%201.3342Z'%20fill='white'/%3e%3cpath%20d='M17.5617%200.537082C17.4147%200.708173%2017.3517%200.84035%2017.2961%201.07187C17.369%201.09302%2017.4548%201.13722%2017.5061%201.20898L18.5032%200.19641C18.1248%200.161286%2017.7973%200.25042%2017.5617%200.537082Z'%20fill='white'/%3e%3cpath%20d='M0.0217433%2021.5752C0.529351%2021.6209%200.925543%2021.5061%201.22127%2021.2149C1.47923%2021.2814%201.78968%2021.4348%201.94831%2021.559C2.03405%2021.3554%202.13149%2021.1874%202.26217%2021.0144C3.41146%2021.7871%204.75375%2021.5273%206.58213%2021.5492C5.79579%2021.2621%205.45474%2021.1326%204.929%2020.8482C3.85335%2020.2666%203.58935%2019.7223%202.6814%2019.6521C2.61379%2019.2276%202.62927%2019.1909%202.65873%2018.9318C2.42004%2018.9496%202.2312%2018.9571%202.02536%2018.9156C2.03291%2018.3204%201.73794%2017.8343%201.68545%2017.7501C1.5948%2017.6047%201.5306%2017.4664%201.38368%2017.2481C0.882111%2016.5018%200.300853%2015.0742%200.0602679%2013.9857L0.0345879%2017.7289C0.0942621%2018.391%200.185284%2018.7675%200.549372%2019.3175C0.383946%2019.4606%200.224185%2019.5309%200.0342099%2019.6241C0.181884%2019.844%200.30954%2020.1193%200.372236%2020.3882C0.0515815%2020.6643%20-0.049639%2021.1666%200.0217433%2021.5752Z'%20fill='%23ED192D'/%3e%3cpath%20d='M0.234375%2019.6968C0.376007%2019.7546%201.04338%2020.0008%201.04338%2020.0008L1.05244%2020.0103C1.05546%2019.9517%201.06981%2019.8939%201.09436%2019.8395L1.09777%2019.8271C0.84094%2019.6734%200.678912%2019.4558%200.675512%2019.4222C0.677401%2019.4195%200.678535%2019.4177%200.676647%2019.418C0.675514%2019.4184%200.675135%2019.4199%200.675512%2019.4222C0.653229%2019.452%200.43417%2019.6556%200.234375%2019.6968Z'%20fill='white'/%3e%3cpath%20d='M0.785417%2016.5344C0.116538%2015.055%200.274029%2015.1192%200.125977%2014.5051C0.145238%2014.8008%200.164123%2015.174%200.206424%2015.4444C0.497996%2017.0563%200.916471%2018.2506%201.4203%2019.5683C1.4203%2019.5683%201.55816%2019.5566%201.62765%2019.5698C1.74964%2019.4293%201.78779%2019.2348%201.78779%2019.2348C2.02195%2018.2634%201.29378%2017.6584%200.785417%2016.5344Z'%20fill='white'/%3e%3cpath%20d='M2.45945%2019.1308L1.83552%2019.652L1.83325%2019.6569C1.85251%2019.6709%201.87064%2019.6868%201.88801%2019.7038C1.91936%2019.7355%201.9458%2019.7699%201.96657%2019.8069L1.97035%2019.8159C2.28836%2019.6614%202.50137%2019.655%202.50137%2019.655C2.42093%2019.3106%202.45945%2019.1308%202.45945%2019.1308Z'%20fill='white'/%3e%3cpath%20d='M5.29439%2021.3775C5.60825%2021.4493%205.86167%2021.4459%206.05958%2021.4546L5.39524%2021.2487C3.95437%2020.7087%203.58764%2019.8725%202.61472%2019.8532C2.38736%2019.8551%202.2004%2019.9148%202.03158%2020.0096L2.03007%2020.0356C2.03649%2020.0979%202.03082%2020.1614%202.01307%2020.2222L2.0127%2020.2313C2.68422%2020.5648%204.22063%2021.1313%205.29439%2021.3775Z'%20fill='white'/%3e%3cpath%20d='M1.8712%2021.334C1.90973%2021.2309%201.96336%2021.0643%202.11254%2020.8996C1.91199%2020.7297%201.87044%2020.6383%201.80359%2020.4721L1.79831%2020.4744C1.73561%2020.5118%201.66574%2020.5333%201.59473%2020.539L1.58643%2020.5378L1.8712%2021.334Z'%20fill='white'/%3e%3cpath%20d='M1.74254%2020.2505C1.85358%2020.1391%201.85282%2019.9589%201.74178%2019.8479C1.63037%2019.7372%201.45021%2019.7376%201.33955%2019.8494C1.22889%2019.9604%201.22927%2020.1406%201.34068%2020.2512C1.4521%2020.3619%201.63188%2020.3615%201.74254%2020.2505Z'%20fill='white'/%3e%3cpath%20d='M1.1243%2021.0476C1.27122%2020.8765%201.33429%2020.7443%201.39019%2020.5128C1.31729%2020.4916%201.23156%2020.4474%201.17982%2020.3757L0.183105%2021.3883C0.561545%2021.4234%200.888999%2021.3342%201.1243%2021.0476Z'%20fill='white'/%3e%3cpath%20d='M0.372236%201.19661C0.30954%201.46515%200.181884%201.74086%200.0342099%201.96067C0.224185%202.05396%200.383946%202.12421%200.549372%202.26735C0.185284%202.81726%200.0942621%203.19382%200.0345879%203.8559L0.0602679%207.59912C0.300853%206.51026%200.882111%205.08299%201.38368%204.33669C1.5306%204.11839%201.5948%203.98014%201.68545%203.83436C1.73794%203.75051%202.03291%203.26405%202.02536%202.6692C2.2312%202.62765%202.42004%202.63521%202.65873%202.65334C2.62927%202.39349%202.61379%202.35723%202.6814%201.93271C3.58935%201.86208%203.85335%201.31822%204.929%200.736588C5.45474%200.452191%205.79579%200.322652%206.58213%200.0352345C4.75375%200.057518%203.41146%20-0.202332%202.26217%200.57041C2.13149%200.397053%202.03405%200.229364%201.94831%200.0257921C1.78968%200.150051%201.47923%200.303385%201.22127%200.369858C0.925543%200.0786629%200.529351%20-0.0361447%200.0217433%200.00993252C-0.049639%200.41821%200.0515815%200.920149%200.372236%201.19661Z'%20fill='%23ED192D'/%3e%3cpath%20d='M0.234375%201.88761C0.376007%201.82982%201.04338%201.58358%201.04338%201.58358L1.05244%201.57414C1.05546%201.6323%201.06981%201.69047%201.09436%201.74485L1.09777%201.75732C0.84094%201.91104%200.678912%202.12857%200.675512%202.16219C0.677401%202.16521%200.678535%202.16709%200.676647%202.16634C0.675514%202.16558%200.675135%202.16445%200.675512%202.16219C0.653229%202.13273%200.43417%201.92878%200.234375%201.88761Z'%20fill='white'/%3e%3cpath%20d='M0.785417%205.05029C0.116538%206.52968%200.274029%206.46547%200.125977%207.07959C0.145238%206.78386%200.164123%206.41034%200.206424%206.14067C0.497996%204.52834%200.916471%203.33408%201.4203%202.01596C1.4203%202.01596%201.55816%202.02806%201.62765%202.01484C1.74964%202.15534%201.78779%202.34985%201.78779%202.34985C2.02195%203.32125%201.29378%203.9263%200.785417%205.05029Z'%20fill='white'/%3e%3cpath%20d='M2.45945%202.45361L1.83552%201.9324L1.83325%201.92749C1.85251%201.91352%201.87064%201.89766%201.88801%201.88067C1.91936%201.84932%201.9458%201.81419%201.96657%201.77793L1.97035%201.76812C2.28836%201.92297%202.50137%201.929%202.50137%201.929C2.42093%202.27345%202.45945%202.45361%202.45945%202.45361Z'%20fill='white'/%3e%3cpath%20d='M5.29439%200.207236C5.60825%200.135476%205.86167%200.138873%206.05958%200.130187L5.39524%200.336013C3.95437%200.876102%203.58764%201.71229%202.61472%201.73193C2.38736%201.72967%202.2004%201.67%202.03158%201.5752L2.03007%201.54914C2.03649%201.48682%202.03082%201.42337%202.01307%201.36257L2.0127%201.35351C2.68422%201.01964%204.22063%200.453108%205.29439%200.207236Z'%20fill='white'/%3e%3cpath%20d='M1.8712%200.250924C1.90973%200.354032%201.96336%200.52059%202.11254%200.685261C1.91199%200.855219%201.87044%200.946612%201.80359%201.11279L1.79831%201.11091C1.73561%201.07314%201.66574%201.05162%201.59473%201.04557L1.58643%201.04709L1.8712%200.250924Z'%20fill='white'/%3e%3cpath%20d='M1.74254%201.3342C1.85358%201.446%201.85282%201.62577%201.74178%201.73643C1.63037%201.84747%201.45021%201.84672%201.33955%201.73568C1.22889%201.62388%201.22927%201.44411%201.34068%201.33345C1.4521%201.22279%201.63188%201.22316%201.74254%201.3342Z'%20fill='white'/%3e%3cpath%20d='M1.1243%200.537082C1.27122%200.708173%201.33429%200.84035%201.39019%201.07187C1.31729%201.09302%201.23156%201.13722%201.17982%201.20898L0.183105%200.19641C0.561545%200.161286%200.888999%200.25042%201.1243%200.537082Z'%20fill='white'/%3e%3cpath%20d='M13.8075%202.35891V2.77588C13.2961%202.37516%2012.7443%202.04129%2012.1604%201.7856V1.42263C12.7417%201.66473%2013.2931%201.98047%2013.8075%202.35891Z'%20fill='white'/%3e%3cpath%20d='M9.36076%200.858693C9.63949%200.858693%209.91519%200.875302%2010.1871%200.906272V1.24316C9.91557%201.21068%209.63986%201.19369%209.36076%201.19369C9.08391%201.19369%208.81008%201.21031%208.54004%201.2428V0.905904C8.81046%200.874933%209.08391%200.858693%209.36076%200.858693Z'%20fill='white'/%3e%3cpath%20d='M6.56749%201.42051V1.78309C5.98396%202.03802%205.43217%202.37152%204.92041%202.77148V2.35454C5.43519%201.97648%205.98699%201.66185%206.56749%201.42051Z'%20fill='white'/%3e%3cpath%20d='M4.92041%2019.2462V18.8296C5.43217%2019.2295%205.98396%2019.5626%206.56749%2019.818V20.1802C5.98699%2019.9388%205.43519%2019.6246%204.92041%2019.2462Z'%20fill='white'/%3e%3cpath%20d='M9.36076%2020.7427C9.08391%2020.7427%208.81046%2020.7264%208.54004%2020.6955V20.3582C8.81008%2020.3907%209.08391%2020.4073%209.36076%2020.4073C9.63986%2020.4073%209.91557%2020.3903%2010.1871%2020.3574V20.6947C9.91519%2020.7261%209.63949%2020.7427%209.36076%2020.7427Z'%20fill='white'/%3e%3cpath%20d='M12.1604%2020.1777V19.8152C12.7443%2019.5598%2013.2961%2019.226%2013.8075%2018.8252V19.2415C13.2931%2019.6206%2012.7417%2019.936%2012.1604%2020.1777Z'%20fill='white'/%3e%3cpath%20d='M28.4893%205.86063H31.8881V10.2455H30.7554L30.5855%209.22543C30.1545%209.72398%2029.5317%2010.4604%2028.0474%2010.4604C26.0876%2010.4604%2024.3083%209.05546%2024.3083%206.20054C24.3083%203.98014%2025.5434%201.884%2028.2854%201.89533C30.7781%201.89533%2031.7635%203.51559%2031.8541%204.63693H30.1545C30.1545%204.31968%2029.577%203.29994%2028.376%203.29994C27.1636%203.29994%2026.0423%204.13839%2026.0423%206.22321C26.0423%208.44399%2027.2547%209.02185%2028.41%209.02185C28.7839%209.02185%2030.0303%208.87418%2030.3815%207.23163H28.4893V5.86063Z'%20fill='%23231F20'/%3e%3cpath%20d='M36.9077%208.47762C36.7831%208.90856%2036.3298%209.13517%2035.888%209.13517C34.6076%209.13517%2034.517%208.11505%2034.4716%207.6622H38.6069V7.37894C38.6069%204.62562%2036.9644%204.05946%2035.7746%204.05946C33.135%204.05946%2032.8857%206.38184%2032.8857%207.107C32.8857%209.58839%2034.1884%2010.4038%2035.888%2010.4038C36.9187%2010.4038%2038.1201%209.9283%2038.5389%208.47762H36.9077ZM34.517%206.63113C34.6076%205.83799%2035.0042%205.36211%2035.752%205.36211C36.2619%205.36211%2036.885%205.65671%2036.9757%206.63113H34.517Z'%20fill='%23231F20'/%3e%3cpath%20d='M45.1106%2010.2456H43.5243V6.58585C43.5243%206.14396%2043.5017%205.39614%2042.4933%205.39614C41.7908%205.39614%2041.2469%205.87202%2041.2469%206.78979V10.2456H39.6606V4.21776H41.1793V5.10155H41.2016C41.4172%204.73898%2041.8701%204.05951%2043.0145%204.05951C44.1928%204.05951%2045.1106%204.7503%2045.1106%206.07597V10.2456Z'%20fill='%23231F20'/%3e%3cpath%20d='M50.1294%208.47762C50.0047%208.90856%2049.5515%209.13517%2049.1096%209.13517C47.8293%209.13517%2047.7386%208.11505%2047.6933%207.6622H51.829V7.37894C51.829%204.62562%2050.186%204.05946%2048.9963%204.05946C46.3567%204.05946%2046.1074%206.38184%2046.1074%207.107C46.1074%209.58839%2047.4104%2010.4038%2049.1096%2010.4038C50.1407%2010.4038%2051.3417%209.9283%2051.7606%208.47762H50.1294ZM47.7386%206.63113C47.8293%205.83799%2048.2258%205.36211%2048.9737%205.36211C49.4835%205.36211%2050.1063%205.65671%2050.1974%206.63113H47.7386Z'%20fill='%23231F20'/%3e%3cpath%20d='M52.8713%204.21776H54.3893V5.26017H54.4123C54.7405%204.64832%2055.1031%204.05951%2056.0662%204.05951C56.1681%204.05951%2056.2701%204.07047%2056.3721%204.08217V5.69073C56.2361%205.66807%2056.0662%205.66808%2055.9189%205.66808C54.6842%205.66808%2054.4572%206.43854%2054.4572%207.10704V10.2456H52.8713V4.21776Z'%20fill='%23231F20'/%3e%3cpath%20d='M62.1731%205.80399C62.1731%204.31969%2060.6208%204.05946%2059.771%204.05946C58.5363%204.05946%2057.256%204.31969%2057.0747%206.16657H58.6039C58.6496%205.81532%2058.7856%205.32849%2059.5787%205.32849C59.9866%205.32849%2060.6208%205.3621%2060.6208%206.0306C60.6208%206.37051%2060.3152%206.47249%2060.066%206.50648L58.6379%206.72177C57.6295%206.86907%2056.8821%207.46959%2056.8821%208.64796C56.8821%209.89394%2057.8112%2010.4038%2058.7172%2010.4038C59.794%2010.4038%2060.3035%209.90526%2060.6661%209.53135C60.7001%209.87165%2060.7227%209.9623%2060.8134%2010.2456H62.5243V10.0072C62.3317%209.93926%2062.1731%209.78101%2062.1731%209.06681V5.80399ZM60.6208%208.08144C60.6208%208.81792%2059.9073%209.27076%2059.2045%209.27076C58.8989%209.27076%2058.4684%209.10118%2058.4684%208.54598C58.4684%207.88881%2058.9552%207.74151%2059.5448%207.63954C60.2015%207.53756%2060.4622%207.4356%2060.6208%207.31096V8.08144Z'%20fill='%23231F20'/%3e%3cpath%20d='M65.2206%2010.2456H63.6343V2.11066H65.2206V10.2456Z'%20fill='%23231F20'/%3e%3cpath%20d='M68.371%203.50394H66.7852V2.03136H68.371V3.50394ZM68.371%204.21776V10.2456H66.7852V4.21776H68.371Z'%20fill='%23231F20'/%3e%3cpath%20d='M71.6672%204.21763H72.653V5.35069H71.6672V8.62522C71.6672%208.97609%2071.6785%209.11243%2072.3244%209.11243C72.426%209.11243%2072.5397%209.1011%2072.653%209.0894V10.2904C72.4037%2010.3018%2072.154%2010.3135%2071.9052%2010.3135H71.7012C70.3302%2010.3135%2070.0809%209.79189%2070.0809%209.01047V5.35069H69.2651V4.21763H70.0809V2.58642H71.6672V4.21763Z'%20fill='%23231F20'/%3e%3cpath%20d='M78.5445%205.80399C78.5445%204.31969%2076.9926%204.05946%2076.1428%204.05946C74.9078%204.05946%2073.6278%204.31969%2073.4461%206.16657H74.9758C75.0211%205.81532%2075.1574%205.32849%2075.9502%205.32849C76.3581%205.32849%2076.9926%205.3621%2076.9926%206.0306C76.9926%206.37051%2076.6867%206.47249%2076.4374%206.50648L75.0098%206.72177C74.0013%206.86907%2073.2539%207.46959%2073.2539%208.64796C73.2539%209.89394%2074.1826%2010.4038%2075.0891%2010.4038C76.1655%2010.4038%2076.6753%209.90526%2077.0379%209.53135C77.0719%209.87165%2077.0942%209.9623%2077.1852%2010.2456H78.8961V10.0072C78.7031%209.93926%2078.5445%209.78101%2078.5445%209.06681V5.80399ZM76.9926%208.08144C76.9926%208.81792%2076.2788%209.27076%2075.5763%209.27076C75.2704%209.27076%2074.8398%209.10118%2074.8398%208.54598C74.8398%207.88881%2075.327%207.74151%2075.9162%207.63954C76.5734%207.53756%2076.834%207.4356%2076.9926%207.31096V8.08144Z'%20fill='%23231F20'/%3e%3cpath%20d='M81.7398%204.21763H82.7256V5.35069H81.7398V8.62522C81.7398%208.97609%2081.7515%209.11243%2082.3974%209.11243C82.499%209.11243%2082.6123%209.1011%2082.7256%209.0894V10.2904C82.4759%2010.3018%2082.227%2010.3135%2081.9778%2010.3135H81.7738C80.4028%2010.3135%2080.1536%209.79189%2080.1536%209.01047V5.35069H79.3381V4.21763H80.1536V2.58642H81.7398V4.21763Z'%20fill='%23231F20'/%3e%3cpath%20d='M30.0527%2013.4412H28.4664V16.3301H28.4438C28.1945%2015.9449%2027.7186%2015.39%2026.6989%2015.39C25.3732%2015.39%2024.1948%2016.4094%2024.1948%2018.4938C24.1948%2020.1485%2024.943%2021.7344%2026.7329%2021.7344C27.39%2021.7344%2028.0925%2021.4968%2028.4778%2020.817H28.5004V21.5761H30.0527V13.4412ZM25.8264%2018.6075C25.8264%2017.6558%2026.1663%2016.7607%2027.1751%2016.7607C28.2625%2016.7607%2028.5344%2017.7351%2028.5344%2018.6978C28.5344%2019.5933%2028.1378%2020.4318%2027.1294%2020.4318C26.1097%2020.4318%2025.8264%2019.3213%2025.8264%2018.6075Z'%20fill='%23231F20'/%3e%3cpath%20d='M35.0151%2019.8082C34.8905%2020.2387%2034.4373%2020.4657%2033.9954%2020.4657C32.7154%2020.4657%2032.6244%2019.4456%2032.5791%2018.9928H36.7143V18.7095C36.7143%2015.9562%2035.0718%2015.39%2033.8821%2015.39C31.2421%2015.39%2030.9932%2017.7124%2030.9932%2018.4376C30.9932%2020.919%2032.2958%2021.7344%2033.9954%2021.7344C35.0265%2021.7344%2036.2271%2021.2589%2036.6467%2019.8082H35.0151ZM32.6244%2017.9617C32.7154%2017.1686%2033.1116%2016.6927%2033.8594%2016.6927C34.3693%2016.6927%2034.9925%2016.9873%2035.0831%2017.9617H32.6244Z'%20fill='%23231F20'/%3e%3cpath%20d='M46.2321%2016.1035C46.0958%2015.6163%2045.8356%2014.6985%2044.4306%2014.6985C43.6148%2014.6985%2042.4137%2015.2427%2042.4137%2017.5425C42.4137%2019.0041%2042.9916%2020.3184%2044.4306%2020.3184C45.3706%2020.3184%2046.0282%2019.7859%2046.2321%2018.7888H47.9313C47.5914%2020.556%2046.4361%2021.791%2044.3962%2021.791C42.2325%2021.791%2040.6802%2020.3298%2040.6802%2017.5198C40.6802%2014.6762%2042.3231%2013.2259%2044.4193%2013.2259C46.8549%2013.2259%2047.8407%2014.9024%2047.9313%2016.1035H46.2321Z'%20fill='%23231F20'/%3e%3cpath%20d='M53.9813%2017.1346C53.9813%2015.6503%2052.429%2015.39%2051.5792%2015.39C50.3442%2015.39%2049.0642%2015.6503%2048.8826%2017.4971H50.4122C50.4575%2017.1459%2050.5935%2016.6591%2051.3866%2016.6591C51.7945%2016.6591%2052.429%2016.6927%2052.429%2017.3612C52.429%2017.7011%2052.1231%2017.8031%2051.8738%2017.8371L50.4466%2018.0523C49.4381%2018.1996%2048.6899%2018.8002%2048.6899%2019.9785C48.6899%2021.2245%2049.619%2021.7344%2050.5259%2021.7344C51.6019%2021.7344%2052.1118%2021.2358%2052.4743%2020.8619C52.5083%2021.2022%2052.531%2021.2929%2052.6216%2021.5761H54.3326V21.3378C54.1399%2021.2698%2053.9813%2021.1116%2053.9813%2020.3974V17.1346ZM52.429%2019.412C52.429%2020.1485%2051.7152%2020.6013%2051.0131%2020.6013C50.7068%2020.6013%2050.2766%2020.4317%2050.2766%2019.8765C50.2766%2019.2194%2050.7638%2019.0721%2051.3526%2018.9701C52.0098%2018.8681%2052.2704%2018.7662%2052.429%2018.6415V19.412Z'%20fill='%23231F20'/%3e%3cpath%20d='M57.1766%2015.5482H58.1627V16.6813H57.1766V19.9558C57.1766%2020.3067%2057.1879%2020.443%2057.8338%2020.443C57.9357%2020.443%2058.0494%2020.4317%2058.1627%2020.42V21.621C57.9131%2021.6323%2057.6638%2021.644%2057.4145%2021.644H57.211C55.84%2021.644%2055.5907%2021.1225%2055.5907%2020.341V16.6813H54.7749V15.5482H55.5907V13.917H57.1766V15.5482Z'%20fill='%23231F20'/%3e%3cpath%20d='M64.0532%2017.1346C64.0532%2015.6503%2062.5013%2015.39%2061.6515%2015.39C60.4165%2015.39%2059.1361%2015.6503%2058.9548%2017.4971H60.4844C60.5298%2017.1459%2060.6654%2016.6591%2061.4589%2016.6591C61.8668%2016.6591%2062.5013%2016.6927%2062.5013%2017.3612C62.5013%2017.7011%2062.195%2017.8031%2061.9461%2017.8371L60.5184%2018.0523C59.51%2018.1996%2058.7622%2018.8002%2058.7622%2019.9785C58.7622%2021.2245%2059.6913%2021.7344%2060.5977%2021.7344C61.6738%2021.7344%2062.184%2021.2358%2062.5466%2020.8619C62.5806%2021.2022%2062.6029%2021.2929%2062.6939%2021.5761H64.4044V21.3378C64.2118%2021.2698%2064.0532%2021.1116%2064.0532%2020.3974V17.1346ZM62.5013%2019.412C62.5013%2020.1485%2061.7875%2020.6013%2061.085%2020.6013C60.779%2020.6013%2060.3485%2020.4317%2060.3485%2019.8765C60.3485%2019.2194%2060.8357%2019.0721%2061.4249%2018.9701C62.0817%2018.8681%2062.3427%2018.7662%2062.5013%2018.6415V19.412Z'%20fill='%23231F20'/%3e%3cpath%20d='M67.1014%2021.5762H65.5151V13.4412H67.1014V21.5762Z'%20fill='%23231F20'/%3e%3cpath%20d='M74.0578%2021.5761H72.5395V20.7263H72.5169C72.1543%2021.3718%2071.5201%2021.7344%2070.6817%2021.7344C69.492%2021.7344%2068.6309%2021.0545%2068.6309%2019.514V15.5483H70.2168V19.2874C70.2168%2020.2165%2070.761%2020.3974%2071.2478%2020.3974C71.769%2020.3974%2072.4715%2020.1028%2072.4715%2019.0268V15.5483H74.0578V21.5761Z'%20fill='%23231F20'/%3e%3cpath%20d='M80.9916%2021.5762H79.4053V17.9164C79.4053%2017.4745%2079.3827%2016.7267%2078.3742%2016.7267C77.6721%2016.7267%2077.1279%2017.2026%2077.1279%2018.1204V21.5762H75.542V15.5483H77.0603V16.4321H77.0826C77.2982%2016.0695%2077.7514%2015.3901%2078.8955%2015.3901C80.0738%2015.3901%2080.9916%2016.0809%2080.9916%2017.4065V21.5762Z'%20fill='%23231F20'/%3e%3cpath%20d='M85.5378%2021.4741C84.7896%2023.7058%2084.586%2024%2083.2037%2024C82.9884%2024%2082.7165%2023.989%2082.4903%2023.9777V22.7091C82.5579%2022.72%2082.6598%2022.7317%2082.7958%2022.7317C83.3737%2022.7317%2083.6909%2022.652%2083.8382%2021.8253L81.6174%2015.5482H83.385L84.6767%2019.9894H84.6993L85.9344%2015.5482H87.6109L85.5378%2021.4741Z'%20fill='%23231F20'/%3e%3cpath%20d='M93.0864%2017.1346C93.0864%2015.6503%2091.5345%2015.39%2090.6847%2015.39C89.4493%2015.39%2088.1693%2015.6503%2087.988%2017.4971H89.5173C89.563%2017.1459%2089.6989%2016.6591%2090.4917%2016.6591C90.8996%2016.6591%2091.5345%2016.6927%2091.5345%2017.3612C91.5345%2017.7011%2091.2282%2017.8031%2090.9789%2017.8371L89.5516%2018.0523C88.5432%2018.1996%2087.7954%2018.8002%2087.7954%2019.9785C87.7954%2021.2245%2088.7241%2021.7344%2089.631%2021.7344C90.707%2021.7344%2091.2168%2021.2358%2091.5794%2020.8619C91.6138%2021.2022%2091.6361%2021.2929%2091.7271%2021.5761H93.4376V21.3378C93.245%2021.2698%2093.0864%2021.1116%2093.0864%2020.3974V17.1346ZM91.5345%2019.412C91.5345%2020.1485%2090.8203%2020.6013%2090.1182%2020.6013C89.8119%2020.6013%2089.3817%2020.4317%2089.3817%2019.8765C89.3817%2019.2194%2089.8689%2019.0721%2090.4577%2018.9701C91.1152%2018.8681%2091.3755%2018.7662%2091.5345%2018.6415V19.412Z'%20fill='%23231F20'/%3e%3c/svg%3e", template$9 = (X) => ke$1`
|
|
35970
|
+
const gencatLogo = "data:image/svg+xml,%3csvg%20width='94'%20height='24'%20viewBox='0%200%2094%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.36109%200.0906219C4.28803%200.0906219%200.175049%204.88609%200.175049%2010.8006C0.175049%2016.7148%204.28803%2021.5103%209.36109%2021.5103C14.4341%2021.5103%2018.5471%2016.7148%2018.5471%2010.8006C18.5471%204.88609%2014.4341%200.0906219%209.36109%200.0906219Z'%20fill='%23ED192D'/%3e%3cpath%20d='M2.94731%2016.1348C2.06504%2014.6225%201.54761%2012.784%201.54761%2010.8007C1.54761%208.81751%202.06504%206.97893%202.94731%205.46631V16.1348Z'%20fill='white'/%3e%3cpath%20d='M4.92041%203.11644C5.42915%202.69532%205.98132%202.34559%206.56749%202.07705V19.5234C5.98132%2019.2553%205.42915%2018.9048%204.92041%2018.4844V3.11644Z'%20fill='white'/%3e%3cpath%20d='M8.54004%201.5129C8.81008%201.47928%209.08354%201.46191%209.36076%201.46191C9.63986%201.46191%209.91557%201.47966%2010.1871%201.51365V20.087C9.91557%2020.121%209.63986%2020.1392%209.36076%2020.1392C9.08354%2020.1392%208.81008%2020.1214%208.54004%2020.0882V1.5129Z'%20fill='white'/%3e%3cpath%20d='M12.1604%202.07993C12.7469%202.34884%2013.2991%202.70008%2013.8075%203.12119V18.4797C13.2991%2018.9012%2012.7469%2019.2521%2012.1604%2019.521V2.07993Z'%20fill='white'/%3e%3cpath%20d='M15.7808%205.47645C16.6596%206.98681%2017.1752%208.82161%2017.1752%2010.8007C17.1752%2012.7797%2016.6596%2014.6142%2015.7808%2016.1245V5.47645Z'%20fill='white'/%3e%3cpath%20d='M0.944824%2010.8007C0.944824%208.34538%201.69906%206.09853%202.94769%204.36383V4.94963C1.89848%206.56989%201.27454%208.59843%201.27454%2010.8007C1.27454%2013.0026%201.89848%2015.0311%202.94769%2016.6514V17.2368C1.69906%2015.5025%200.944824%2013.2557%200.944824%2010.8007Z'%20fill='white'/%3e%3cpath%20d='M15.7808%2016.6428C16.8266%2015.0241%2017.4486%2012.9989%2017.4486%2010.8008C17.4486%208.6027%2016.8266%206.57755%2015.7808%204.9588V4.37226C17.0264%206.10545%2017.7776%208.34928%2017.7776%2010.8008C17.7776%2013.252%2017.0264%2015.4958%2015.7808%2017.229V16.6428Z'%20fill='white'/%3e%3cpath%20d='M18.3143%2020.3882C18.377%2020.1193%2018.5042%2019.844%2018.6523%2019.6241C18.4623%2019.5309%2018.3022%2019.4606%2018.1371%2019.3175C18.5012%2018.7675%2018.5919%2018.391%2018.6515%2017.7289L18.6259%2013.9857C18.3856%2015.0742%2017.8044%2016.5018%2017.3025%2017.2481C17.1559%2017.4664%2017.0913%2017.6047%2017.0007%2017.7501C16.9486%2017.8343%2016.6536%2018.3204%2016.6611%2018.9156C16.4553%2018.9571%2016.2665%2018.9496%2016.0274%2018.9318C16.0569%2019.1909%2016.0727%2019.2276%2016.0047%2019.6521C15.0972%2019.7223%2014.8328%2020.2666%2013.7571%2020.8482C13.2314%2021.1326%2012.8903%2021.2621%2012.104%2021.5492C13.9324%2021.5273%2015.275%2021.7871%2016.4243%2021.0144C16.555%2021.1874%2016.6521%2021.3554%2016.7382%2021.559C16.8964%2021.4348%2017.2069%2021.2814%2017.4649%2021.2149C17.7606%2021.5061%2018.1568%2021.6209%2018.6644%2021.5752C18.7361%2021.1666%2018.6345%2020.6643%2018.3143%2020.3882Z'%20fill='%23ED192D'/%3e%3cpath%20d='M18.4518%2019.6968C18.3101%2019.7546%2017.6431%2020.0008%2017.6431%2020.0008L17.6341%2020.0103C17.6307%2019.9517%2017.6167%2019.8939%2017.5922%2019.8395L17.5884%2019.8271C17.8456%2019.6734%2018.0072%2019.4558%2018.011%2019.4222C18.0091%2019.4195%2018.008%2019.4177%2018.0095%2019.418C18.0106%2019.4184%2018.011%2019.4199%2018.011%2019.4222C18.0329%2019.452%2018.2524%2019.6556%2018.4518%2019.6968Z'%20fill='white'/%3e%3cpath%20d='M17.9002%2016.5344C18.5691%2015.055%2018.4116%2015.1192%2018.5596%2014.5051C18.54%2014.8008%2018.5211%2015.174%2018.4792%2015.4444C18.1876%2017.0563%2017.7687%2018.2506%2017.2653%2019.5683C17.2653%2019.5683%2017.1271%2019.5566%2017.0576%2019.5698C16.9356%2019.4293%2016.8974%2019.2348%2016.8974%2019.2348C16.6633%2018.2634%2017.3918%2017.6584%2017.9002%2016.5344Z'%20fill='white'/%3e%3cpath%20d='M16.2266%2019.1308L16.8509%2019.652L16.8528%2019.6569C16.8339%2019.6709%2016.8154%2019.6868%2016.798%2019.7038C16.7667%2019.7355%2016.7402%2019.7699%2016.7195%2019.8069L16.7157%2019.8159C16.3977%2019.6614%2016.1851%2019.655%2016.1851%2019.655C16.2651%2019.3106%2016.2266%2019.1308%2016.2266%2019.1308Z'%20fill='white'/%3e%3cpath%20d='M13.3914%2021.3775C13.0776%2021.4493%2012.8241%2021.4459%2012.6262%2021.4546L13.2909%2021.2487C14.7314%2020.7087%2015.0982%2019.8725%2016.0711%2019.8532C16.2988%2019.8551%2016.4854%2019.9148%2016.6542%2020.0096L16.6561%2020.0356C16.6493%2020.0979%2016.655%2020.1614%2016.6731%2020.2222L16.6735%2020.2313C16.0016%2020.5648%2014.4655%2021.1313%2013.3914%2021.3775Z'%20fill='white'/%3e%3cpath%20d='M16.8149%2021.334C16.7764%2021.2309%2016.7228%2021.0643%2016.574%2020.8996C16.7745%2020.7297%2016.8157%2020.6383%2016.8829%2020.4721L16.8878%2020.4744C16.9509%2020.5118%2017.0208%2020.5333%2017.0914%2020.539L17.0997%2020.5378L16.8149%2021.334Z'%20fill='white'/%3e%3cpath%20d='M16.9431%2020.2505C16.8324%2020.1391%2016.8328%2019.9589%2016.9442%2019.8479C17.0556%2019.7372%2017.2354%2019.7376%2017.3464%2019.8494C17.4571%2019.9604%2017.4567%2020.1406%2017.3453%2020.2512C17.2339%2020.3619%2017.0537%2020.3615%2016.9431%2020.2505Z'%20fill='white'/%3e%3cpath%20d='M17.5617%2021.0476C17.4147%2020.8765%2017.3517%2020.7443%2017.2961%2020.5128C17.369%2020.4916%2017.4548%2020.4474%2017.5061%2020.3757L18.5032%2021.3883C18.1248%2021.4234%2017.7973%2021.3342%2017.5617%2021.0476Z'%20fill='white'/%3e%3cpath%20d='M18.6644%200.00993252C18.1568%20-0.0361447%2017.7606%200.0786629%2017.4649%200.369858C17.2069%200.303385%2016.8964%200.150051%2016.7382%200.0257921C16.6521%200.229364%2016.555%200.397053%2016.4243%200.57041C15.275%20-0.202332%2013.9324%200.057518%2012.104%200.0352345C12.8903%200.322652%2013.2314%200.452191%2013.7571%200.736588C14.8328%201.31822%2015.0972%201.86208%2016.0047%201.93271C16.0727%202.35723%2016.0569%202.39349%2016.0274%202.65334C16.2665%202.63521%2016.4553%202.62765%2016.6611%202.6692C16.6536%203.26405%2016.9486%203.75051%2017.0007%203.83436C17.0913%203.98014%2017.1559%204.11839%2017.3025%204.33669C17.8044%205.08299%2018.3856%206.51026%2018.6259%207.59912L18.6515%203.8559C18.5919%203.19382%2018.5012%202.81726%2018.1371%202.26735C18.3022%202.12421%2018.4623%202.05396%2018.6523%201.96067C18.5042%201.74086%2018.377%201.46515%2018.3143%201.19661C18.6345%200.920149%2018.7361%200.41821%2018.6644%200.00993252Z'%20fill='%23ED192D'/%3e%3cpath%20d='M18.4518%201.88761C18.3101%201.82982%2017.6431%201.58358%2017.6431%201.58358L17.6341%201.57414C17.6307%201.6323%2017.6167%201.69047%2017.5922%201.74485L17.5884%201.75732C17.8456%201.91104%2018.0072%202.12857%2018.011%202.16219C18.0091%202.16521%2018.008%202.16709%2018.0095%202.16634C18.0106%202.16558%2018.011%202.16445%2018.011%202.16219C18.0329%202.13273%2018.2524%201.92878%2018.4518%201.88761Z'%20fill='white'/%3e%3cpath%20d='M17.9002%205.05029C18.5691%206.52968%2018.4116%206.46547%2018.5596%207.07959C18.54%206.78386%2018.5211%206.41034%2018.4792%206.14067C18.1876%204.52834%2017.7687%203.33408%2017.2653%202.01596C17.2653%202.01596%2017.1271%202.02806%2017.0576%202.01484C16.9356%202.15534%2016.8974%202.34985%2016.8974%202.34985C16.6633%203.32125%2017.3918%203.9263%2017.9002%205.05029Z'%20fill='white'/%3e%3cpath%20d='M16.2266%202.45361L16.8509%201.9324L16.8528%201.92749C16.8339%201.91352%2016.8154%201.89766%2016.798%201.88067C16.7667%201.84932%2016.7402%201.81419%2016.7195%201.77793L16.7157%201.76812C16.3977%201.92297%2016.1851%201.929%2016.1851%201.929C16.2651%202.27345%2016.2266%202.45361%2016.2266%202.45361Z'%20fill='white'/%3e%3cpath%20d='M13.3914%200.207236C13.0776%200.135476%2012.8241%200.138873%2012.6262%200.130187L13.2909%200.336013C14.7314%200.876102%2015.0982%201.71229%2016.0711%201.73193C16.2988%201.72967%2016.4854%201.67%2016.6542%201.5752L16.6561%201.54914C16.6493%201.48682%2016.655%201.42337%2016.6731%201.36257L16.6735%201.35351C16.0016%201.01964%2014.4655%200.453108%2013.3914%200.207236Z'%20fill='white'/%3e%3cpath%20d='M16.8149%200.250924C16.7764%200.354032%2016.7228%200.52059%2016.574%200.685261C16.7745%200.855219%2016.8157%200.946612%2016.8829%201.11279L16.8878%201.11091C16.9509%201.07314%2017.0208%201.05162%2017.0914%201.04557L17.0997%201.04709L16.8149%200.250924Z'%20fill='white'/%3e%3cpath%20d='M16.9431%201.3342C16.8324%201.446%2016.8328%201.62577%2016.9442%201.73643C17.0556%201.84747%2017.2354%201.84672%2017.3464%201.73568C17.4571%201.62388%2017.4567%201.44411%2017.3453%201.33345C17.2339%201.22279%2017.0537%201.22316%2016.9431%201.3342Z'%20fill='white'/%3e%3cpath%20d='M17.5617%200.537082C17.4147%200.708173%2017.3517%200.84035%2017.2961%201.07187C17.369%201.09302%2017.4548%201.13722%2017.5061%201.20898L18.5032%200.19641C18.1248%200.161286%2017.7973%200.25042%2017.5617%200.537082Z'%20fill='white'/%3e%3cpath%20d='M0.0217433%2021.5752C0.529351%2021.6209%200.925543%2021.5061%201.22127%2021.2149C1.47923%2021.2814%201.78968%2021.4348%201.94831%2021.559C2.03405%2021.3554%202.13149%2021.1874%202.26217%2021.0144C3.41146%2021.7871%204.75375%2021.5273%206.58213%2021.5492C5.79579%2021.2621%205.45474%2021.1326%204.929%2020.8482C3.85335%2020.2666%203.58935%2019.7223%202.6814%2019.6521C2.61379%2019.2276%202.62927%2019.1909%202.65873%2018.9318C2.42004%2018.9496%202.2312%2018.9571%202.02536%2018.9156C2.03291%2018.3204%201.73794%2017.8343%201.68545%2017.7501C1.5948%2017.6047%201.5306%2017.4664%201.38368%2017.2481C0.882111%2016.5018%200.300853%2015.0742%200.0602679%2013.9857L0.0345879%2017.7289C0.0942621%2018.391%200.185284%2018.7675%200.549372%2019.3175C0.383946%2019.4606%200.224185%2019.5309%200.0342099%2019.6241C0.181884%2019.844%200.30954%2020.1193%200.372236%2020.3882C0.0515815%2020.6643%20-0.049639%2021.1666%200.0217433%2021.5752Z'%20fill='%23ED192D'/%3e%3cpath%20d='M0.234375%2019.6968C0.376007%2019.7546%201.04338%2020.0008%201.04338%2020.0008L1.05244%2020.0103C1.05546%2019.9517%201.06981%2019.8939%201.09436%2019.8395L1.09777%2019.8271C0.84094%2019.6734%200.678912%2019.4558%200.675512%2019.4222C0.677401%2019.4195%200.678535%2019.4177%200.676647%2019.418C0.675514%2019.4184%200.675135%2019.4199%200.675512%2019.4222C0.653229%2019.452%200.43417%2019.6556%200.234375%2019.6968Z'%20fill='white'/%3e%3cpath%20d='M0.785417%2016.5344C0.116538%2015.055%200.274029%2015.1192%200.125977%2014.5051C0.145238%2014.8008%200.164123%2015.174%200.206424%2015.4444C0.497996%2017.0563%200.916471%2018.2506%201.4203%2019.5683C1.4203%2019.5683%201.55816%2019.5566%201.62765%2019.5698C1.74964%2019.4293%201.78779%2019.2348%201.78779%2019.2348C2.02195%2018.2634%201.29378%2017.6584%200.785417%2016.5344Z'%20fill='white'/%3e%3cpath%20d='M2.45945%2019.1308L1.83552%2019.652L1.83325%2019.6569C1.85251%2019.6709%201.87064%2019.6868%201.88801%2019.7038C1.91936%2019.7355%201.9458%2019.7699%201.96657%2019.8069L1.97035%2019.8159C2.28836%2019.6614%202.50137%2019.655%202.50137%2019.655C2.42093%2019.3106%202.45945%2019.1308%202.45945%2019.1308Z'%20fill='white'/%3e%3cpath%20d='M5.29439%2021.3775C5.60825%2021.4493%205.86167%2021.4459%206.05958%2021.4546L5.39524%2021.2487C3.95437%2020.7087%203.58764%2019.8725%202.61472%2019.8532C2.38736%2019.8551%202.2004%2019.9148%202.03158%2020.0096L2.03007%2020.0356C2.03649%2020.0979%202.03082%2020.1614%202.01307%2020.2222L2.0127%2020.2313C2.68422%2020.5648%204.22063%2021.1313%205.29439%2021.3775Z'%20fill='white'/%3e%3cpath%20d='M1.8712%2021.334C1.90973%2021.2309%201.96336%2021.0643%202.11254%2020.8996C1.91199%2020.7297%201.87044%2020.6383%201.80359%2020.4721L1.79831%2020.4744C1.73561%2020.5118%201.66574%2020.5333%201.59473%2020.539L1.58643%2020.5378L1.8712%2021.334Z'%20fill='white'/%3e%3cpath%20d='M1.74254%2020.2505C1.85358%2020.1391%201.85282%2019.9589%201.74178%2019.8479C1.63037%2019.7372%201.45021%2019.7376%201.33955%2019.8494C1.22889%2019.9604%201.22927%2020.1406%201.34068%2020.2512C1.4521%2020.3619%201.63188%2020.3615%201.74254%2020.2505Z'%20fill='white'/%3e%3cpath%20d='M1.1243%2021.0476C1.27122%2020.8765%201.33429%2020.7443%201.39019%2020.5128C1.31729%2020.4916%201.23156%2020.4474%201.17982%2020.3757L0.183105%2021.3883C0.561545%2021.4234%200.888999%2021.3342%201.1243%2021.0476Z'%20fill='white'/%3e%3cpath%20d='M0.372236%201.19661C0.30954%201.46515%200.181884%201.74086%200.0342099%201.96067C0.224185%202.05396%200.383946%202.12421%200.549372%202.26735C0.185284%202.81726%200.0942621%203.19382%200.0345879%203.8559L0.0602679%207.59912C0.300853%206.51026%200.882111%205.08299%201.38368%204.33669C1.5306%204.11839%201.5948%203.98014%201.68545%203.83436C1.73794%203.75051%202.03291%203.26405%202.02536%202.6692C2.2312%202.62765%202.42004%202.63521%202.65873%202.65334C2.62927%202.39349%202.61379%202.35723%202.6814%201.93271C3.58935%201.86208%203.85335%201.31822%204.929%200.736588C5.45474%200.452191%205.79579%200.322652%206.58213%200.0352345C4.75375%200.057518%203.41146%20-0.202332%202.26217%200.57041C2.13149%200.397053%202.03405%200.229364%201.94831%200.0257921C1.78968%200.150051%201.47923%200.303385%201.22127%200.369858C0.925543%200.0786629%200.529351%20-0.0361447%200.0217433%200.00993252C-0.049639%200.41821%200.0515815%200.920149%200.372236%201.19661Z'%20fill='%23ED192D'/%3e%3cpath%20d='M0.234375%201.88761C0.376007%201.82982%201.04338%201.58358%201.04338%201.58358L1.05244%201.57414C1.05546%201.6323%201.06981%201.69047%201.09436%201.74485L1.09777%201.75732C0.84094%201.91104%200.678912%202.12857%200.675512%202.16219C0.677401%202.16521%200.678535%202.16709%200.676647%202.16634C0.675514%202.16558%200.675135%202.16445%200.675512%202.16219C0.653229%202.13273%200.43417%201.92878%200.234375%201.88761Z'%20fill='white'/%3e%3cpath%20d='M0.785417%205.05029C0.116538%206.52968%200.274029%206.46547%200.125977%207.07959C0.145238%206.78386%200.164123%206.41034%200.206424%206.14067C0.497996%204.52834%200.916471%203.33408%201.4203%202.01596C1.4203%202.01596%201.55816%202.02806%201.62765%202.01484C1.74964%202.15534%201.78779%202.34985%201.78779%202.34985C2.02195%203.32125%201.29378%203.9263%200.785417%205.05029Z'%20fill='white'/%3e%3cpath%20d='M2.45945%202.45361L1.83552%201.9324L1.83325%201.92749C1.85251%201.91352%201.87064%201.89766%201.88801%201.88067C1.91936%201.84932%201.9458%201.81419%201.96657%201.77793L1.97035%201.76812C2.28836%201.92297%202.50137%201.929%202.50137%201.929C2.42093%202.27345%202.45945%202.45361%202.45945%202.45361Z'%20fill='white'/%3e%3cpath%20d='M5.29439%200.207236C5.60825%200.135476%205.86167%200.138873%206.05958%200.130187L5.39524%200.336013C3.95437%200.876102%203.58764%201.71229%202.61472%201.73193C2.38736%201.72967%202.2004%201.67%202.03158%201.5752L2.03007%201.54914C2.03649%201.48682%202.03082%201.42337%202.01307%201.36257L2.0127%201.35351C2.68422%201.01964%204.22063%200.453108%205.29439%200.207236Z'%20fill='white'/%3e%3cpath%20d='M1.8712%200.250924C1.90973%200.354032%201.96336%200.52059%202.11254%200.685261C1.91199%200.855219%201.87044%200.946612%201.80359%201.11279L1.79831%201.11091C1.73561%201.07314%201.66574%201.05162%201.59473%201.04557L1.58643%201.04709L1.8712%200.250924Z'%20fill='white'/%3e%3cpath%20d='M1.74254%201.3342C1.85358%201.446%201.85282%201.62577%201.74178%201.73643C1.63037%201.84747%201.45021%201.84672%201.33955%201.73568C1.22889%201.62388%201.22927%201.44411%201.34068%201.33345C1.4521%201.22279%201.63188%201.22316%201.74254%201.3342Z'%20fill='white'/%3e%3cpath%20d='M1.1243%200.537082C1.27122%200.708173%201.33429%200.84035%201.39019%201.07187C1.31729%201.09302%201.23156%201.13722%201.17982%201.20898L0.183105%200.19641C0.561545%200.161286%200.888999%200.25042%201.1243%200.537082Z'%20fill='white'/%3e%3cpath%20d='M13.8075%202.35891V2.77588C13.2961%202.37516%2012.7443%202.04129%2012.1604%201.7856V1.42263C12.7417%201.66473%2013.2931%201.98047%2013.8075%202.35891Z'%20fill='white'/%3e%3cpath%20d='M9.36076%200.858693C9.63949%200.858693%209.91519%200.875302%2010.1871%200.906272V1.24316C9.91557%201.21068%209.63986%201.19369%209.36076%201.19369C9.08391%201.19369%208.81008%201.21031%208.54004%201.2428V0.905904C8.81046%200.874933%209.08391%200.858693%209.36076%200.858693Z'%20fill='white'/%3e%3cpath%20d='M6.56749%201.42051V1.78309C5.98396%202.03802%205.43217%202.37152%204.92041%202.77148V2.35454C5.43519%201.97648%205.98699%201.66185%206.56749%201.42051Z'%20fill='white'/%3e%3cpath%20d='M4.92041%2019.2462V18.8296C5.43217%2019.2295%205.98396%2019.5626%206.56749%2019.818V20.1802C5.98699%2019.9388%205.43519%2019.6246%204.92041%2019.2462Z'%20fill='white'/%3e%3cpath%20d='M9.36076%2020.7427C9.08391%2020.7427%208.81046%2020.7264%208.54004%2020.6955V20.3582C8.81008%2020.3907%209.08391%2020.4073%209.36076%2020.4073C9.63986%2020.4073%209.91557%2020.3903%2010.1871%2020.3574V20.6947C9.91519%2020.7261%209.63949%2020.7427%209.36076%2020.7427Z'%20fill='white'/%3e%3cpath%20d='M12.1604%2020.1777V19.8152C12.7443%2019.5598%2013.2961%2019.226%2013.8075%2018.8252V19.2415C13.2931%2019.6206%2012.7417%2019.936%2012.1604%2020.1777Z'%20fill='white'/%3e%3cpath%20d='M28.4893%205.86063H31.8881V10.2455H30.7554L30.5855%209.22543C30.1545%209.72398%2029.5317%2010.4604%2028.0474%2010.4604C26.0876%2010.4604%2024.3083%209.05546%2024.3083%206.20054C24.3083%203.98014%2025.5434%201.884%2028.2854%201.89533C30.7781%201.89533%2031.7635%203.51559%2031.8541%204.63693H30.1545C30.1545%204.31968%2029.577%203.29994%2028.376%203.29994C27.1636%203.29994%2026.0423%204.13839%2026.0423%206.22321C26.0423%208.44399%2027.2547%209.02185%2028.41%209.02185C28.7839%209.02185%2030.0303%208.87418%2030.3815%207.23163H28.4893V5.86063Z'%20fill='%23231F20'/%3e%3cpath%20d='M36.9077%208.47762C36.7831%208.90856%2036.3298%209.13517%2035.888%209.13517C34.6076%209.13517%2034.517%208.11505%2034.4716%207.6622H38.6069V7.37894C38.6069%204.62562%2036.9644%204.05946%2035.7746%204.05946C33.135%204.05946%2032.8857%206.38184%2032.8857%207.107C32.8857%209.58839%2034.1884%2010.4038%2035.888%2010.4038C36.9187%2010.4038%2038.1201%209.9283%2038.5389%208.47762H36.9077ZM34.517%206.63113C34.6076%205.83799%2035.0042%205.36211%2035.752%205.36211C36.2619%205.36211%2036.885%205.65671%2036.9757%206.63113H34.517Z'%20fill='%23231F20'/%3e%3cpath%20d='M45.1106%2010.2456H43.5243V6.58585C43.5243%206.14396%2043.5017%205.39614%2042.4933%205.39614C41.7908%205.39614%2041.2469%205.87202%2041.2469%206.78979V10.2456H39.6606V4.21776H41.1793V5.10155H41.2016C41.4172%204.73898%2041.8701%204.05951%2043.0145%204.05951C44.1928%204.05951%2045.1106%204.7503%2045.1106%206.07597V10.2456Z'%20fill='%23231F20'/%3e%3cpath%20d='M50.1294%208.47762C50.0047%208.90856%2049.5515%209.13517%2049.1096%209.13517C47.8293%209.13517%2047.7386%208.11505%2047.6933%207.6622H51.829V7.37894C51.829%204.62562%2050.186%204.05946%2048.9963%204.05946C46.3567%204.05946%2046.1074%206.38184%2046.1074%207.107C46.1074%209.58839%2047.4104%2010.4038%2049.1096%2010.4038C50.1407%2010.4038%2051.3417%209.9283%2051.7606%208.47762H50.1294ZM47.7386%206.63113C47.8293%205.83799%2048.2258%205.36211%2048.9737%205.36211C49.4835%205.36211%2050.1063%205.65671%2050.1974%206.63113H47.7386Z'%20fill='%23231F20'/%3e%3cpath%20d='M52.8713%204.21776H54.3893V5.26017H54.4123C54.7405%204.64832%2055.1031%204.05951%2056.0662%204.05951C56.1681%204.05951%2056.2701%204.07047%2056.3721%204.08217V5.69073C56.2361%205.66807%2056.0662%205.66808%2055.9189%205.66808C54.6842%205.66808%2054.4572%206.43854%2054.4572%207.10704V10.2456H52.8713V4.21776Z'%20fill='%23231F20'/%3e%3cpath%20d='M62.1731%205.80399C62.1731%204.31969%2060.6208%204.05946%2059.771%204.05946C58.5363%204.05946%2057.256%204.31969%2057.0747%206.16657H58.6039C58.6496%205.81532%2058.7856%205.32849%2059.5787%205.32849C59.9866%205.32849%2060.6208%205.3621%2060.6208%206.0306C60.6208%206.37051%2060.3152%206.47249%2060.066%206.50648L58.6379%206.72177C57.6295%206.86907%2056.8821%207.46959%2056.8821%208.64796C56.8821%209.89394%2057.8112%2010.4038%2058.7172%2010.4038C59.794%2010.4038%2060.3035%209.90526%2060.6661%209.53135C60.7001%209.87165%2060.7227%209.9623%2060.8134%2010.2456H62.5243V10.0072C62.3317%209.93926%2062.1731%209.78101%2062.1731%209.06681V5.80399ZM60.6208%208.08144C60.6208%208.81792%2059.9073%209.27076%2059.2045%209.27076C58.8989%209.27076%2058.4684%209.10118%2058.4684%208.54598C58.4684%207.88881%2058.9552%207.74151%2059.5448%207.63954C60.2015%207.53756%2060.4622%207.4356%2060.6208%207.31096V8.08144Z'%20fill='%23231F20'/%3e%3cpath%20d='M65.2206%2010.2456H63.6343V2.11066H65.2206V10.2456Z'%20fill='%23231F20'/%3e%3cpath%20d='M68.371%203.50394H66.7852V2.03136H68.371V3.50394ZM68.371%204.21776V10.2456H66.7852V4.21776H68.371Z'%20fill='%23231F20'/%3e%3cpath%20d='M71.6672%204.21763H72.653V5.35069H71.6672V8.62522C71.6672%208.97609%2071.6785%209.11243%2072.3244%209.11243C72.426%209.11243%2072.5397%209.1011%2072.653%209.0894V10.2904C72.4037%2010.3018%2072.154%2010.3135%2071.9052%2010.3135H71.7012C70.3302%2010.3135%2070.0809%209.79189%2070.0809%209.01047V5.35069H69.2651V4.21763H70.0809V2.58642H71.6672V4.21763Z'%20fill='%23231F20'/%3e%3cpath%20d='M78.5445%205.80399C78.5445%204.31969%2076.9926%204.05946%2076.1428%204.05946C74.9078%204.05946%2073.6278%204.31969%2073.4461%206.16657H74.9758C75.0211%205.81532%2075.1574%205.32849%2075.9502%205.32849C76.3581%205.32849%2076.9926%205.3621%2076.9926%206.0306C76.9926%206.37051%2076.6867%206.47249%2076.4374%206.50648L75.0098%206.72177C74.0013%206.86907%2073.2539%207.46959%2073.2539%208.64796C73.2539%209.89394%2074.1826%2010.4038%2075.0891%2010.4038C76.1655%2010.4038%2076.6753%209.90526%2077.0379%209.53135C77.0719%209.87165%2077.0942%209.9623%2077.1852%2010.2456H78.8961V10.0072C78.7031%209.93926%2078.5445%209.78101%2078.5445%209.06681V5.80399ZM76.9926%208.08144C76.9926%208.81792%2076.2788%209.27076%2075.5763%209.27076C75.2704%209.27076%2074.8398%209.10118%2074.8398%208.54598C74.8398%207.88881%2075.327%207.74151%2075.9162%207.63954C76.5734%207.53756%2076.834%207.4356%2076.9926%207.31096V8.08144Z'%20fill='%23231F20'/%3e%3cpath%20d='M81.7398%204.21763H82.7256V5.35069H81.7398V8.62522C81.7398%208.97609%2081.7515%209.11243%2082.3974%209.11243C82.499%209.11243%2082.6123%209.1011%2082.7256%209.0894V10.2904C82.4759%2010.3018%2082.227%2010.3135%2081.9778%2010.3135H81.7738C80.4028%2010.3135%2080.1536%209.79189%2080.1536%209.01047V5.35069H79.3381V4.21763H80.1536V2.58642H81.7398V4.21763Z'%20fill='%23231F20'/%3e%3cpath%20d='M30.0527%2013.4412H28.4664V16.3301H28.4438C28.1945%2015.9449%2027.7186%2015.39%2026.6989%2015.39C25.3732%2015.39%2024.1948%2016.4094%2024.1948%2018.4938C24.1948%2020.1485%2024.943%2021.7344%2026.7329%2021.7344C27.39%2021.7344%2028.0925%2021.4968%2028.4778%2020.817H28.5004V21.5761H30.0527V13.4412ZM25.8264%2018.6075C25.8264%2017.6558%2026.1663%2016.7607%2027.1751%2016.7607C28.2625%2016.7607%2028.5344%2017.7351%2028.5344%2018.6978C28.5344%2019.5933%2028.1378%2020.4318%2027.1294%2020.4318C26.1097%2020.4318%2025.8264%2019.3213%2025.8264%2018.6075Z'%20fill='%23231F20'/%3e%3cpath%20d='M35.0151%2019.8082C34.8905%2020.2387%2034.4373%2020.4657%2033.9954%2020.4657C32.7154%2020.4657%2032.6244%2019.4456%2032.5791%2018.9928H36.7143V18.7095C36.7143%2015.9562%2035.0718%2015.39%2033.8821%2015.39C31.2421%2015.39%2030.9932%2017.7124%2030.9932%2018.4376C30.9932%2020.919%2032.2958%2021.7344%2033.9954%2021.7344C35.0265%2021.7344%2036.2271%2021.2589%2036.6467%2019.8082H35.0151ZM32.6244%2017.9617C32.7154%2017.1686%2033.1116%2016.6927%2033.8594%2016.6927C34.3693%2016.6927%2034.9925%2016.9873%2035.0831%2017.9617H32.6244Z'%20fill='%23231F20'/%3e%3cpath%20d='M46.2321%2016.1035C46.0958%2015.6163%2045.8356%2014.6985%2044.4306%2014.6985C43.6148%2014.6985%2042.4137%2015.2427%2042.4137%2017.5425C42.4137%2019.0041%2042.9916%2020.3184%2044.4306%2020.3184C45.3706%2020.3184%2046.0282%2019.7859%2046.2321%2018.7888H47.9313C47.5914%2020.556%2046.4361%2021.791%2044.3962%2021.791C42.2325%2021.791%2040.6802%2020.3298%2040.6802%2017.5198C40.6802%2014.6762%2042.3231%2013.2259%2044.4193%2013.2259C46.8549%2013.2259%2047.8407%2014.9024%2047.9313%2016.1035H46.2321Z'%20fill='%23231F20'/%3e%3cpath%20d='M53.9813%2017.1346C53.9813%2015.6503%2052.429%2015.39%2051.5792%2015.39C50.3442%2015.39%2049.0642%2015.6503%2048.8826%2017.4971H50.4122C50.4575%2017.1459%2050.5935%2016.6591%2051.3866%2016.6591C51.7945%2016.6591%2052.429%2016.6927%2052.429%2017.3612C52.429%2017.7011%2052.1231%2017.8031%2051.8738%2017.8371L50.4466%2018.0523C49.4381%2018.1996%2048.6899%2018.8002%2048.6899%2019.9785C48.6899%2021.2245%2049.619%2021.7344%2050.5259%2021.7344C51.6019%2021.7344%2052.1118%2021.2358%2052.4743%2020.8619C52.5083%2021.2022%2052.531%2021.2929%2052.6216%2021.5761H54.3326V21.3378C54.1399%2021.2698%2053.9813%2021.1116%2053.9813%2020.3974V17.1346ZM52.429%2019.412C52.429%2020.1485%2051.7152%2020.6013%2051.0131%2020.6013C50.7068%2020.6013%2050.2766%2020.4317%2050.2766%2019.8765C50.2766%2019.2194%2050.7638%2019.0721%2051.3526%2018.9701C52.0098%2018.8681%2052.2704%2018.7662%2052.429%2018.6415V19.412Z'%20fill='%23231F20'/%3e%3cpath%20d='M57.1766%2015.5482H58.1627V16.6813H57.1766V19.9558C57.1766%2020.3067%2057.1879%2020.443%2057.8338%2020.443C57.9357%2020.443%2058.0494%2020.4317%2058.1627%2020.42V21.621C57.9131%2021.6323%2057.6638%2021.644%2057.4145%2021.644H57.211C55.84%2021.644%2055.5907%2021.1225%2055.5907%2020.341V16.6813H54.7749V15.5482H55.5907V13.917H57.1766V15.5482Z'%20fill='%23231F20'/%3e%3cpath%20d='M64.0532%2017.1346C64.0532%2015.6503%2062.5013%2015.39%2061.6515%2015.39C60.4165%2015.39%2059.1361%2015.6503%2058.9548%2017.4971H60.4844C60.5298%2017.1459%2060.6654%2016.6591%2061.4589%2016.6591C61.8668%2016.6591%2062.5013%2016.6927%2062.5013%2017.3612C62.5013%2017.7011%2062.195%2017.8031%2061.9461%2017.8371L60.5184%2018.0523C59.51%2018.1996%2058.7622%2018.8002%2058.7622%2019.9785C58.7622%2021.2245%2059.6913%2021.7344%2060.5977%2021.7344C61.6738%2021.7344%2062.184%2021.2358%2062.5466%2020.8619C62.5806%2021.2022%2062.6029%2021.2929%2062.6939%2021.5761H64.4044V21.3378C64.2118%2021.2698%2064.0532%2021.1116%2064.0532%2020.3974V17.1346ZM62.5013%2019.412C62.5013%2020.1485%2061.7875%2020.6013%2061.085%2020.6013C60.779%2020.6013%2060.3485%2020.4317%2060.3485%2019.8765C60.3485%2019.2194%2060.8357%2019.0721%2061.4249%2018.9701C62.0817%2018.8681%2062.3427%2018.7662%2062.5013%2018.6415V19.412Z'%20fill='%23231F20'/%3e%3cpath%20d='M67.1014%2021.5762H65.5151V13.4412H67.1014V21.5762Z'%20fill='%23231F20'/%3e%3cpath%20d='M74.0578%2021.5761H72.5395V20.7263H72.5169C72.1543%2021.3718%2071.5201%2021.7344%2070.6817%2021.7344C69.492%2021.7344%2068.6309%2021.0545%2068.6309%2019.514V15.5483H70.2168V19.2874C70.2168%2020.2165%2070.761%2020.3974%2071.2478%2020.3974C71.769%2020.3974%2072.4715%2020.1028%2072.4715%2019.0268V15.5483H74.0578V21.5761Z'%20fill='%23231F20'/%3e%3cpath%20d='M80.9916%2021.5762H79.4053V17.9164C79.4053%2017.4745%2079.3827%2016.7267%2078.3742%2016.7267C77.6721%2016.7267%2077.1279%2017.2026%2077.1279%2018.1204V21.5762H75.542V15.5483H77.0603V16.4321H77.0826C77.2982%2016.0695%2077.7514%2015.3901%2078.8955%2015.3901C80.0738%2015.3901%2080.9916%2016.0809%2080.9916%2017.4065V21.5762Z'%20fill='%23231F20'/%3e%3cpath%20d='M85.5378%2021.4741C84.7896%2023.7058%2084.586%2024%2083.2037%2024C82.9884%2024%2082.7165%2023.989%2082.4903%2023.9777V22.7091C82.5579%2022.72%2082.6598%2022.7317%2082.7958%2022.7317C83.3737%2022.7317%2083.6909%2022.652%2083.8382%2021.8253L81.6174%2015.5482H83.385L84.6767%2019.9894H84.6993L85.9344%2015.5482H87.6109L85.5378%2021.4741Z'%20fill='%23231F20'/%3e%3cpath%20d='M93.0864%2017.1346C93.0864%2015.6503%2091.5345%2015.39%2090.6847%2015.39C89.4493%2015.39%2088.1693%2015.6503%2087.988%2017.4971H89.5173C89.563%2017.1459%2089.6989%2016.6591%2090.4917%2016.6591C90.8996%2016.6591%2091.5345%2016.6927%2091.5345%2017.3612C91.5345%2017.7011%2091.2282%2017.8031%2090.9789%2017.8371L89.5516%2018.0523C88.5432%2018.1996%2087.7954%2018.8002%2087.7954%2019.9785C87.7954%2021.2245%2088.7241%2021.7344%2089.631%2021.7344C90.707%2021.7344%2091.2168%2021.2358%2091.5794%2020.8619C91.6138%2021.2022%2091.6361%2021.2929%2091.7271%2021.5761H93.4376V21.3378C93.245%2021.2698%2093.0864%2021.1116%2093.0864%2020.3974V17.1346ZM91.5345%2019.412C91.5345%2020.1485%2090.8203%2020.6013%2090.1182%2020.6013C89.8119%2020.6013%2089.3817%2020.4317%2089.3817%2019.8765C89.3817%2019.2194%2089.8689%2019.0721%2090.4577%2018.9701C91.1152%2018.8681%2091.3755%2018.7662%2091.5345%2018.6415V19.412Z'%20fill='%23231F20'/%3e%3c/svg%3e", busyBadge = (X) => X.quickActionBusy ? X.quickActionPendingCount ? ke$1`<dss-notification-badge
|
|
35971
|
+
variant="sidemenu"
|
|
35972
|
+
inverted
|
|
35973
|
+
value=${X.quickActionPendingCount}
|
|
35974
|
+
></dss-notification-badge>` : ke$1`<dss-notification-badge variant="sidemenu" inverted dot></dss-notification-badge>` : D$3, quickActionsAnchor = (X) => {
|
|
35975
|
+
const W = X.primaryQuickAction;
|
|
35976
|
+
return W ? X.sidebarExpanded ? ke$1`
|
|
35977
|
+
<div class="split-button-anchor">
|
|
35978
|
+
<div class="${X.quickActionBusy ? "create-button-icon-badge" : ""}">${busyBadge(X)}</div>
|
|
35979
|
+
<dss-split-button
|
|
35980
|
+
variant="secondary"
|
|
35981
|
+
size="lg"
|
|
35982
|
+
hasMenu
|
|
35983
|
+
dropdownPosition="right"
|
|
35984
|
+
icon=${W.icon}
|
|
35985
|
+
text=${W.label}
|
|
35986
|
+
.isOpen=${X.quickActionsOpen}
|
|
35987
|
+
@main-click=${() => X._runPrimaryQuickAction()}
|
|
35988
|
+
@icon-click=${() => X._toggleQuickActions()}
|
|
35989
|
+
></dss-split-button>
|
|
35990
|
+
</div>
|
|
35991
|
+
` : collapsedSplitAnchor(X, W) : createButtonAnchor(X);
|
|
35992
|
+
}, collapsedSplitAnchor = (X, W) => ke$1`
|
|
35993
|
+
<div class="split-anchor-collapsed">
|
|
35994
|
+
<div
|
|
35995
|
+
class="split-anchor-collapsed__main"
|
|
35996
|
+
@click=${() => X._runPrimaryQuickAction()}
|
|
35997
|
+
title=${W.label}
|
|
35998
|
+
>
|
|
35999
|
+
<div class="${X.quickActionBusy ? "create-button-icon-badge" : ""}">
|
|
36000
|
+
${busyBadge(X)}
|
|
36001
|
+
<dss-icon icon=${W.icon} size="md"></dss-icon>
|
|
36002
|
+
</div>
|
|
36003
|
+
<dss-tooltip position="right">${W.label}</dss-tooltip>
|
|
36004
|
+
</div>
|
|
36005
|
+
<div class="split-anchor-collapsed__more" @click=${() => X._toggleQuickActions()}>
|
|
36006
|
+
<dss-icon icon="chevron_right" size="md"></dss-icon>
|
|
36007
|
+
</div>
|
|
36008
|
+
</div>
|
|
36009
|
+
`, createButtonAnchor = (X) => ke$1`
|
|
36010
|
+
<div class="${X.sidebarExpanded ? "create-button-opened" : "create-button-closed"} ">
|
|
36011
|
+
<div class="${X.quickActionBusy ? "create-button-icon-badge" : ""}">
|
|
36012
|
+
${busyBadge(X)}
|
|
36013
|
+
<dss-icon class="${X.sidebarExpanded ? "icon" : ""}" icon="add_circle_outline" size="md"></dss-icon>
|
|
36014
|
+
</div>
|
|
36015
|
+
${X.sidebarExpanded ? translate("actions.create") : D$3}
|
|
36016
|
+
${X.sidebarExpanded ? D$3 : ke$1`<dss-tooltip position="right">
|
|
36017
|
+
${translate("actions.create")}
|
|
36018
|
+
</dss-tooltip>`}
|
|
36019
|
+
</div>
|
|
36020
|
+
`, template$9 = (X) => ke$1`
|
|
35926
36021
|
<primaria-content-switcher id="main-switcher" attrForSelected="view" .selected=${X.viewSelected}>
|
|
35927
36022
|
<div class="container" view=${shellViews.shell}>
|
|
35928
36023
|
<primaria-shell-header></primaria-shell-header>
|
|
@@ -35931,18 +36026,26 @@ const gencatLogo = "data:image/svg+xml,%3csvg%20width='94'%20height='24'%20viewB
|
|
|
35931
36026
|
<div id="menu-region-container"></div>
|
|
35932
36027
|
<!-- <primaria-region id="menu-region" name=${shellApi.regionManager.regions.shell.navigationMenu}></primaria-region> -->
|
|
35933
36028
|
<div class="quick-actions-content">
|
|
35934
|
-
|
|
35935
|
-
|
|
35936
|
-
|
|
35937
|
-
|
|
35938
|
-
|
|
35939
|
-
|
|
35940
|
-
|
|
35941
|
-
|
|
35942
|
-
|
|
35943
|
-
|
|
35944
|
-
|
|
35945
|
-
|
|
36029
|
+
<!--
|
|
36030
|
+
El \`dss-action-menu\` es el contenidor de la regio \`quickActions\`: ha de ser SEMPRE
|
|
36031
|
+
el mateix node, i el seu pare tambe. Si es pintes dins d'una branca condicional, en
|
|
36032
|
+
canviar la condicio Lit el destruiria i la regio perdria les vistes que hi han
|
|
36033
|
+
injectat les iniciatives. I el DSS 3 s'enganxa al pare un sol cop, en muntar-se: en
|
|
36034
|
+
fa l'ancora del desplegable i hi escolta el clic que l'obre. Per aixo nomes es commuta
|
|
36035
|
+
l'ancora de dins del \`span\`, no el menu ni el \`span\`.
|
|
36036
|
+
|
|
36037
|
+
Amb el boto "Crear", l'obre el clic al pare, com a main. Amb acció principal, el clic
|
|
36038
|
+
al pare faria les dues coses alhora, aixi que es desactiva i l'obre la fletxa amb
|
|
36039
|
+
\`.open\`.
|
|
36040
|
+
-->
|
|
36041
|
+
<span class="quick-actions-anchor">
|
|
36042
|
+
${quickActionsAnchor(X)}
|
|
36043
|
+
<dss-action-menu
|
|
36044
|
+
id="quick-actions-region-container"
|
|
36045
|
+
.disableParentClick=${!!X.primaryQuickAction}
|
|
36046
|
+
.open=${X.quickActionsOpen}
|
|
36047
|
+
@close=${() => X._handleQuickActionsClosed()}
|
|
36048
|
+
></dss-action-menu>
|
|
35946
36049
|
</span>
|
|
35947
36050
|
</div>
|
|
35948
36051
|
<div class="bottom-content">
|
|
@@ -35978,14 +36081,14 @@ const gencatLogo = "data:image/svg+xml,%3csvg%20width='94'%20height='24'%20viewB
|
|
|
35978
36081
|
<primaria-error-view .error=${X.error} view=${shellViews.error}></primaria-error-view>
|
|
35979
36082
|
</primaria-content-switcher>
|
|
35980
36083
|
`;
|
|
35981
|
-
var __defProp$
|
|
36084
|
+
var __defProp$i = Object.defineProperty, __decorateClass$i = (X, W, J, te) => {
|
|
35982
36085
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
35983
36086
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
35984
|
-
return re && __defProp$
|
|
36087
|
+
return re && __defProp$i(W, J, re), re;
|
|
35985
36088
|
};
|
|
35986
36089
|
const Ui = class Ui extends PrimariaRegionHost(h$t) {
|
|
35987
36090
|
constructor() {
|
|
35988
|
-
super(...arguments), this.sidebarExpanded = !1, this.viewSelected = shellViews.shell, this.quickActionBusy = !1, this.subscriptions = [];
|
|
36091
|
+
super(...arguments), this.sidebarExpanded = !1, this.viewSelected = shellViews.shell, this.quickActionBusy = !1, this.quickActionPendingCount = 0, this.quickActionsOpen = !1, this.subscriptions = [];
|
|
35989
36092
|
}
|
|
35990
36093
|
render() {
|
|
35991
36094
|
return ke$1`${template$9(this)}`;
|
|
@@ -35996,6 +36099,21 @@ const Ui = class Ui extends PrimariaRegionHost(h$t) {
|
|
|
35996
36099
|
disconnectedCallback() {
|
|
35997
36100
|
super.disconnectedCallback(), this._unsubscribeEvents();
|
|
35998
36101
|
}
|
|
36102
|
+
_toggleQuickActions() {
|
|
36103
|
+
this.quickActionsOpen = !this.quickActionsOpen;
|
|
36104
|
+
}
|
|
36105
|
+
/** El clic principal fa l'acció i tanca el desplegable, si era obert. */
|
|
36106
|
+
_runPrimaryQuickAction() {
|
|
36107
|
+
this.quickActionsOpen = !1, this.primaryQuickAction?.callbackFn();
|
|
36108
|
+
}
|
|
36109
|
+
/**
|
|
36110
|
+
* El `dss-action-menu` emet `close` quan es tanca sol (clic fora, o triant una opcio), pero
|
|
36111
|
+
* no torna a posar `open` a fals. Sense aixo, la fletxa es quedaria girada i el seguent
|
|
36112
|
+
* clic no el tornaria a obrir, perque `open` ja valdria cert.
|
|
36113
|
+
*/
|
|
36114
|
+
_handleQuickActionsClosed() {
|
|
36115
|
+
this.quickActionsOpen = !1;
|
|
36116
|
+
}
|
|
35999
36117
|
_toggleSidebar() {
|
|
36000
36118
|
this.sidebarExpanded = !this.sidebarExpanded;
|
|
36001
36119
|
}
|
|
@@ -36014,7 +36132,11 @@ const Ui = class Ui extends PrimariaRegionHost(h$t) {
|
|
|
36014
36132
|
})
|
|
36015
36133
|
), this.subscriptions.push(
|
|
36016
36134
|
shellApi.broker.subscribe(BROKER_EVENTS.shell.quickActionBusyChanged, (W) => {
|
|
36017
|
-
this.quickActionBusy = W.busy;
|
|
36135
|
+
this.quickActionBusy = W.busy, this.quickActionPendingCount = W.count ?? 0;
|
|
36136
|
+
})
|
|
36137
|
+
), this.subscriptions.push(
|
|
36138
|
+
shellApi.broker.subscribe(BROKER_EVENTS.shell.primaryQuickActionChanged, () => {
|
|
36139
|
+
this.primaryQuickAction = getPrimaryQuickAction();
|
|
36018
36140
|
})
|
|
36019
36141
|
);
|
|
36020
36142
|
}
|
|
@@ -36029,60 +36151,252 @@ Ui.styles = i$13`
|
|
|
36029
36151
|
${r$X(styles$9)}
|
|
36030
36152
|
`;
|
|
36031
36153
|
let PrimariaShell = Ui;
|
|
36032
|
-
__decorateClass$
|
|
36154
|
+
__decorateClass$i([
|
|
36033
36155
|
s$T({ targetId: "menu-region-container", name: shellApi.regionManager.regions.shell.navigationMenu })
|
|
36034
36156
|
], PrimariaShell.prototype, "navigationMenuRegion");
|
|
36035
|
-
__decorateClass$
|
|
36157
|
+
__decorateClass$i([
|
|
36036
36158
|
s$T({ targetId: "main-region-container", name: shellApi.regionManager.regions.shell.main })
|
|
36037
36159
|
], PrimariaShell.prototype, "mainRegion");
|
|
36038
|
-
__decorateClass$
|
|
36160
|
+
__decorateClass$i([
|
|
36039
36161
|
s$T({ targetId: "quick-actions-region-container", name: shellApi.regionManager.regions.shell.quickActions })
|
|
36040
36162
|
], PrimariaShell.prototype, "quickActionsRegion");
|
|
36041
|
-
__decorateClass$
|
|
36163
|
+
__decorateClass$i([
|
|
36042
36164
|
s$T({ targetId: "floating-region-container", name: shellApi.regionManager.regions.shell.floating })
|
|
36043
36165
|
], PrimariaShell.prototype, "floatingRegion");
|
|
36044
|
-
__decorateClass$
|
|
36166
|
+
__decorateClass$i([
|
|
36045
36167
|
s$T({
|
|
36046
36168
|
targetId: "navigation-menu-lower-region-container",
|
|
36047
36169
|
name: shellApi.regionManager.regions.shell.navigationLowerLeftMenu
|
|
36048
36170
|
})
|
|
36049
36171
|
], PrimariaShell.prototype, "navLowerLeftMenu");
|
|
36050
|
-
__decorateClass$
|
|
36172
|
+
__decorateClass$i([
|
|
36051
36173
|
r$T()
|
|
36052
36174
|
], PrimariaShell.prototype, "sidebarExpanded");
|
|
36053
|
-
__decorateClass$
|
|
36175
|
+
__decorateClass$i([
|
|
36054
36176
|
r$T()
|
|
36055
36177
|
], PrimariaShell.prototype, "viewSelected");
|
|
36056
|
-
__decorateClass$
|
|
36178
|
+
__decorateClass$i([
|
|
36057
36179
|
r$T()
|
|
36058
36180
|
], PrimariaShell.prototype, "error");
|
|
36059
|
-
__decorateClass$
|
|
36181
|
+
__decorateClass$i([
|
|
36060
36182
|
r$T()
|
|
36061
36183
|
], PrimariaShell.prototype, "quickActionBusy");
|
|
36062
|
-
|
|
36184
|
+
__decorateClass$i([
|
|
36185
|
+
r$T()
|
|
36186
|
+
], PrimariaShell.prototype, "quickActionPendingCount");
|
|
36187
|
+
__decorateClass$i([
|
|
36188
|
+
r$T()
|
|
36189
|
+
], PrimariaShell.prototype, "primaryQuickAction");
|
|
36190
|
+
__decorateClass$i([
|
|
36191
|
+
r$T()
|
|
36192
|
+
], PrimariaShell.prototype, "quickActionsOpen");
|
|
36193
|
+
const styles$8 = ".item{display:flex;cursor:pointer;border-radius:8px;padding:8px;justify-content:center;transition:background-color .3s ease}.item[expanded]{justify-content:space-between}.item:hover{background-color:var(--color-primary-900);color:#fff}.item .icon-label{display:flex;gap:8px;transition:background-color .3s}.item.active{outline:2px solid white;outline-offset:-2px}", template$8 = (X) => ke$1`
|
|
36194
|
+
<div class="item" ?expanded=${X.showText}>
|
|
36195
|
+
<div class="icon-label">
|
|
36196
|
+
<dss-icon icon=${X.icon} size="md"></dss-icon>
|
|
36197
|
+
${X.showText ? ke$1`<span>${X.label}</span>` : ""}
|
|
36198
|
+
${X.showText ? D$3 : ke$1`
|
|
36199
|
+
<dss-tooltip position="right">
|
|
36200
|
+
${X.label}
|
|
36201
|
+
</dss-tooltip>`}
|
|
36202
|
+
</div>
|
|
36203
|
+
<dss-action-menu id=${X.containerId} slot="content" >
|
|
36204
|
+
</dss-action-menu>
|
|
36205
|
+
${X.showText ? ke$1`<dss-icon icon="chevron_right" size="md"></dss-icon>` : D$3}
|
|
36206
|
+
</div>
|
|
36207
|
+
`;
|
|
36208
|
+
var __defProp$h = Object.defineProperty, __decorateClass$h = (X, W, J, te) => {
|
|
36209
|
+
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
36210
|
+
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
36211
|
+
return re && __defProp$h(W, J, re), re;
|
|
36212
|
+
};
|
|
36213
|
+
const regionContainerId = (X) => `${X}-container`, Hi = class Hi extends PrimariaRegionHost(h$t) {
|
|
36214
|
+
constructor(W, J, te) {
|
|
36215
|
+
super(), this.showText = !1, this.icon = "", this.label = "", this.regionName = "", this.icon = W, this.label = J, this.regionName = te;
|
|
36216
|
+
}
|
|
36217
|
+
get containerId() {
|
|
36218
|
+
return regionContainerId(this.regionName);
|
|
36219
|
+
}
|
|
36220
|
+
firstUpdated(W) {
|
|
36221
|
+
super.firstUpdated(W), this.observeHostResize();
|
|
36222
|
+
}
|
|
36223
|
+
/** Amaga el text quan el menú es col·lapsa. */
|
|
36224
|
+
observeHostResize() {
|
|
36225
|
+
const W = this.parentElement;
|
|
36226
|
+
new ResizeObserver((te) => {
|
|
36227
|
+
for (const re of te) {
|
|
36228
|
+
const ne = re.target.clientWidth;
|
|
36229
|
+
this.showText = ne > 100;
|
|
36230
|
+
}
|
|
36231
|
+
}).observe(W);
|
|
36232
|
+
}
|
|
36233
|
+
render() {
|
|
36234
|
+
return ke$1`${template$8(this)}`;
|
|
36235
|
+
}
|
|
36236
|
+
};
|
|
36237
|
+
Hi.styles = i$13`
|
|
36238
|
+
${r$X(styles$8)}
|
|
36239
|
+
`;
|
|
36240
|
+
let SidenavActionMenu = Hi;
|
|
36241
|
+
__decorateClass$h([
|
|
36242
|
+
r$T()
|
|
36243
|
+
], SidenavActionMenu.prototype, "showText");
|
|
36244
|
+
__decorateClass$h([
|
|
36245
|
+
n$A({ type: String })
|
|
36246
|
+
], SidenavActionMenu.prototype, "icon");
|
|
36247
|
+
__decorateClass$h([
|
|
36248
|
+
n$A({ type: String })
|
|
36249
|
+
], SidenavActionMenu.prototype, "label");
|
|
36250
|
+
__decorateClass$h([
|
|
36251
|
+
n$A({ type: String })
|
|
36252
|
+
], SidenavActionMenu.prototype, "regionName");
|
|
36253
|
+
var __defProp$g = Object.defineProperty, __decorateClass$g = (X, W, J, te) => {
|
|
36254
|
+
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
36255
|
+
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
36256
|
+
return re && __defProp$g(W, J, re), re;
|
|
36257
|
+
};
|
|
36258
|
+
class ActivityRecordActionMenu extends SidenavActionMenu {
|
|
36259
|
+
constructor(W, J) {
|
|
36260
|
+
super(W, J, shellRegions.activityRecordSidenav);
|
|
36261
|
+
}
|
|
36262
|
+
}
|
|
36263
|
+
__decorateClass$g([
|
|
36264
|
+
s$T({ targetId: regionContainerId(shellRegions.activityRecordSidenav), name: shellRegions.activityRecordSidenav })
|
|
36265
|
+
], ActivityRecordActionMenu.prototype, "sidenavRegion");
|
|
36266
|
+
var __defProp$f = Object.defineProperty, __decorateClass$f = (X, W, J, te) => {
|
|
36267
|
+
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
36268
|
+
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
36269
|
+
return re && __defProp$f(W, J, re), re;
|
|
36270
|
+
};
|
|
36271
|
+
class ClinicalPathwaysActionMenu extends SidenavActionMenu {
|
|
36272
|
+
constructor(W, J) {
|
|
36273
|
+
super(W, J, shellRegions.clinicalPathwaysSidenav);
|
|
36274
|
+
}
|
|
36275
|
+
}
|
|
36276
|
+
__decorateClass$f([
|
|
36277
|
+
s$T({ targetId: regionContainerId(shellRegions.clinicalPathwaysSidenav), name: shellRegions.clinicalPathwaysSidenav })
|
|
36278
|
+
], ClinicalPathwaysActionMenu.prototype, "sidenavRegion");
|
|
36279
|
+
var __defProp$e = Object.defineProperty, __decorateClass$e = (X, W, J, te) => {
|
|
36280
|
+
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
36281
|
+
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
36282
|
+
return re && __defProp$e(W, J, re), re;
|
|
36283
|
+
};
|
|
36284
|
+
class CommunicationActionMenu extends SidenavActionMenu {
|
|
36285
|
+
constructor(W, J) {
|
|
36286
|
+
super(W, J, shellRegions.communicationSidenav);
|
|
36287
|
+
}
|
|
36288
|
+
}
|
|
36289
|
+
__decorateClass$e([
|
|
36290
|
+
s$T({ targetId: regionContainerId(shellRegions.communicationSidenav), name: shellRegions.communicationSidenav })
|
|
36291
|
+
], CommunicationActionMenu.prototype, "sidenavRegion");
|
|
36292
|
+
var __defProp$d = Object.defineProperty, __decorateClass$d = (X, W, J, te) => {
|
|
36293
|
+
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
36294
|
+
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
36295
|
+
return re && __defProp$d(W, J, re), re;
|
|
36296
|
+
};
|
|
36297
|
+
class DocumentsActionMenu extends SidenavActionMenu {
|
|
36298
|
+
constructor(W, J) {
|
|
36299
|
+
super(W, J, shellRegions.documentsSidenav);
|
|
36300
|
+
}
|
|
36301
|
+
}
|
|
36302
|
+
__decorateClass$d([
|
|
36303
|
+
s$T({ targetId: regionContainerId(shellRegions.documentsSidenav), name: shellRegions.documentsSidenav })
|
|
36304
|
+
], DocumentsActionMenu.prototype, "sidenavRegion");
|
|
36305
|
+
const styles$7 = ":host{width:100%;height:100%;min-height:1px;display:flex}.container{width:100%;min-height:1px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#60a8f0}svg{width:45px;height:45px;fill:#d36262}h1{color:#fff}", template$7 = (X) => ke$1`
|
|
36063
36306
|
<div class="container">
|
|
36064
36307
|
<svg height="24px" viewBox="0 -960 960 960" width="24px" fill="#e8eaed"><path d="M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm-40-160h80v-240h-80v240Zm40 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"/></svg>
|
|
36065
36308
|
<h1>${X.error?.message}</h1>
|
|
36066
36309
|
</div>
|
|
36067
36310
|
`;
|
|
36068
|
-
var __defProp$
|
|
36311
|
+
var __defProp$c = Object.defineProperty, __decorateClass$c = (X, W, J, te) => {
|
|
36069
36312
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
36070
36313
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
36071
|
-
return re && __defProp$
|
|
36314
|
+
return re && __defProp$c(W, J, re), re;
|
|
36072
36315
|
};
|
|
36073
|
-
const
|
|
36316
|
+
const Vi = class Vi extends h$t {
|
|
36074
36317
|
render() {
|
|
36075
|
-
return ke$1`${template$
|
|
36318
|
+
return ke$1`${template$7(this)}`;
|
|
36076
36319
|
}
|
|
36077
36320
|
};
|
|
36078
|
-
|
|
36079
|
-
${r$X(styles$
|
|
36321
|
+
Vi.styles = i$13`
|
|
36322
|
+
${r$X(styles$7)}
|
|
36080
36323
|
`;
|
|
36081
|
-
let PrimariaErrorView =
|
|
36082
|
-
__decorateClass$
|
|
36324
|
+
let PrimariaErrorView = Vi;
|
|
36325
|
+
__decorateClass$c([
|
|
36083
36326
|
n$A()
|
|
36084
36327
|
], PrimariaErrorView.prototype, "error");
|
|
36085
|
-
|
|
36328
|
+
var __defProp$b = Object.defineProperty, __decorateClass$b = (X, W, J, te) => {
|
|
36329
|
+
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
36330
|
+
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
36331
|
+
return re && __defProp$b(W, J, re), re;
|
|
36332
|
+
};
|
|
36333
|
+
class PetitionerActionMenu extends SidenavActionMenu {
|
|
36334
|
+
constructor(W, J) {
|
|
36335
|
+
super(W, J, shellRegions.petitionerSidenav);
|
|
36336
|
+
}
|
|
36337
|
+
}
|
|
36338
|
+
__decorateClass$b([
|
|
36339
|
+
s$T({ targetId: regionContainerId(shellRegions.petitionerSidenav), name: shellRegions.petitionerSidenav })
|
|
36340
|
+
], PetitionerActionMenu.prototype, "sidenavRegion");
|
|
36341
|
+
var __defProp$a = Object.defineProperty, __decorateClass$a = (X, W, J, te) => {
|
|
36342
|
+
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
36343
|
+
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
36344
|
+
return re && __defProp$a(W, J, re), re;
|
|
36345
|
+
};
|
|
36346
|
+
const ji = class ji extends h$t {
|
|
36347
|
+
toggle() {
|
|
36348
|
+
this.isOpen = !this.isOpen;
|
|
36349
|
+
}
|
|
36350
|
+
render() {
|
|
36351
|
+
return ke$1`
|
|
36352
|
+
<div class="title" @click=${this.toggle}>
|
|
36353
|
+
<slot name="title"></slot>
|
|
36354
|
+
<dss-icon-button size="md" variant="primary" icon=${this.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_down"}></dss-icon-button>
|
|
36355
|
+
</div>
|
|
36356
|
+
<div class="content ${this.isOpen ? "open" : ""}">
|
|
36357
|
+
<slot name="content"></slot>
|
|
36358
|
+
</div>
|
|
36359
|
+
`;
|
|
36360
|
+
}
|
|
36361
|
+
};
|
|
36362
|
+
ji.styles = i$13`
|
|
36363
|
+
:host {
|
|
36364
|
+
display: block;
|
|
36365
|
+
}
|
|
36366
|
+
|
|
36367
|
+
.content {
|
|
36368
|
+
overflow: hidden;
|
|
36369
|
+
max-height: 0;
|
|
36370
|
+
}
|
|
36371
|
+
|
|
36372
|
+
.content.open {
|
|
36373
|
+
margin-top: 8px;
|
|
36374
|
+
max-height: unset;
|
|
36375
|
+
}
|
|
36376
|
+
|
|
36377
|
+
.title {
|
|
36378
|
+
cursor: pointer;
|
|
36379
|
+
display: flex;
|
|
36380
|
+
justify-content: space-between;
|
|
36381
|
+
align-items: center;
|
|
36382
|
+
}
|
|
36383
|
+
`;
|
|
36384
|
+
let PrimariaAccordion = ji;
|
|
36385
|
+
__decorateClass$a([
|
|
36386
|
+
n$A({ type: Boolean })
|
|
36387
|
+
], PrimariaAccordion.prototype, "isOpen");
|
|
36388
|
+
const styles$6 = ".header-container{width:1px;height:40px;background-color:var(--color-neutral-100)}", template$6 = (X) => ke$1`
|
|
36389
|
+
<div class="header-container"></div>
|
|
36390
|
+
`, Bi = class Bi extends h$t {
|
|
36391
|
+
render() {
|
|
36392
|
+
return ke$1`${template$6()}`;
|
|
36393
|
+
}
|
|
36394
|
+
};
|
|
36395
|
+
Bi.styles = i$13`
|
|
36396
|
+
${r$X(styles$6)}
|
|
36397
|
+
`;
|
|
36398
|
+
let HeaderDivider = Bi;
|
|
36399
|
+
const styles$5 = ".header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0 16px;height:60px;background-color:#fff;color:#000;box-shadow:#0000001f 4px -1px 3px,#0000003d 0 1px 2px;position:relative;z-index:998}.header .header__left{display:flex;flex-direction:row;align-items:center;gap:16px}.header .header__left .header-logo{align-self:center}.header .header__left #header-region-container,.header .header__right{display:flex;flex-direction:row;align-items:center;gap:16px}.header .header__right #header-actions-region-container{display:flex;flex-direction:row;align-items:center}", salutLogo = "data:image/svg+xml,%3csvg%20width='80'%20height='24'%20viewBox='0%200%2080%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.51539%2023.4832H0L8.22624%200.518679H10.7412L2.51539%2023.4832Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M20.1573%2024C17.1695%2024%2014.8372%2023.3218%2013.1604%2021.9659C11.4836%2020.6095%2010.633%2018.5906%2010.6094%2015.9092H13.4169C13.4812%2019.6737%2015.7275%2021.5563%2020.1573%2021.5563C22.0287%2021.5563%2023.4647%2021.1901%2024.4642%2020.4587C25.4641%2019.7269%2025.9643%2018.6581%2025.9643%2017.2522C26.0073%2016.2425%2025.5399%2015.2791%2024.7212%2014.6874C23.8941%2014.0743%2022.449%2013.5427%2020.3853%2013.091L18.3511%2012.6389C16.028%2012.0994%2014.2875%2011.3204%2013.128%2010.3019C11.969%209.28302%2011.393%207.84942%2011.4004%206.00159C11.35%204.28135%2012.1493%202.64663%2013.5381%201.63049C14.9439%200.544998%2016.844%200.00226593%2019.2383%200.00226593C20.6576%20-0.0236225%2022.0722%200.172396%2023.4314%200.582922C24.4817%200.885733%2025.4406%201.44557%2026.2209%202.21115C26.858%202.86207%2027.3573%203.63505%2027.6883%204.48384C28.0096%205.35251%2028.1797%206.26925%2028.1908%207.19525H25.4156C25.2875%205.55869%2024.7554%204.35948%2023.8197%203.59668C22.8835%202.83434%2021.3566%202.4534%2019.2383%202.4534C17.623%202.4534%2016.3808%202.76592%2015.5116%203.39049C14.6573%203.97947%2014.1645%204.96464%2014.2038%206.00159C14.1492%206.99831%2014.5612%207.96359%2015.3193%208.61313C16.0484%209.2377%2017.4732%209.78646%2019.5943%2010.2589L21.6289%2010.7115C24.1651%2011.2718%2025.9925%2012.0721%2027.1113%2013.1127C28.2301%2014.1529%2028.7881%2015.5352%2028.7858%2017.2596C28.7858%2019.3446%2028.0235%2020.9895%2026.4988%2022.1938C24.9736%2023.3976%2022.86%2024%2020.1573%2024Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M36.6945%2021.677C38.0098%2021.6978%2039.2894%2021.2521%2040.3074%2020.4195C41.3356%2019.6026%2041.8515%2018.4302%2041.8538%2016.9033V14.9366C41.1997%2015.3647%2040.4434%2015.6107%2039.6625%2015.6495L37.2437%2015.938C35.8434%2016.1123%2034.8495%2016.4331%2034.2582%2016.907C33.6558%2017.4039%2033.3262%2018.1579%2033.371%2018.9374C33.3313%2019.7025%2033.6401%2020.444%2034.212%2020.954C34.7783%2021.4348%2035.6261%2021.677%2036.6945%2021.677ZM45.2841%2021.3779H46.2175V23.4763C45.746%2023.5438%2045.2693%2023.5757%2044.7927%2023.5725C43.0498%2023.5725%2042.1146%2022.7768%2041.9893%2021.1856C40.8345%2022.9766%2039.0305%2023.8716%2036.5776%2023.8716C34.7464%2023.8716%2033.3142%2023.4444%2032.2703%2022.5965C31.2264%2021.7487%2030.7063%2020.5476%2030.7063%2019.0017C30.7063%2015.9879%2032.7594%2014.2668%2036.866%2013.8396L39.2529%2013.583C40.9935%2013.3884%2041.864%2012.6246%2041.864%2011.2923C41.864%2010.3658%2041.5792%209.69872%2041.0092%209.29005C40.4392%208.88368%2039.4771%208.67749%2038.1235%208.67749C36.6982%208.67749%2035.6298%208.91975%2035.0099%209.38991C34.3899%209.86007%2034.0159%2010.7292%2033.941%2011.9548H31.3512C31.5648%208.27807%2033.8213%206.43995%2038.1198%206.43995C42.2907%206.43995%2044.3762%208.05292%2044.3762%2011.278V20.58C44.3794%2021.1176%2044.6822%2021.3779%2045.2841%2021.3779Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M50.8951%2023.4832H48.3159V0.518679H50.8951V23.4832Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M65.7337%2016.2584V6.83891H68.3129V23.4832H65.8618V20.9896C64.5937%2022.9109%2062.8517%2023.8716%2060.6359%2023.8716C58.7876%2023.8716%2057.3471%2023.3658%2056.3143%2022.3543C55.281%2021.3423%2054.7642%2019.9175%2054.7642%2018.0789V6.83891H57.3581V17.8403C57.3581%2020.3127%2058.6262%2021.549%2061.1629%2021.549C62.3718%2021.5531%2063.5304%2021.0631%2064.3694%2020.1916C65.2788%2019.2915%2065.7337%2017.9804%2065.7337%2016.2584Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M79.4708%206.83878V9.09759H76.0544V19.903C76.0544%2020.8507%2076.6882%2021.3279%2077.9568%2021.3279H79.4708V23.4905C78.7584%2023.5548%2078.1459%2023.5867%2077.6323%2023.5867C74.8607%2023.5867%2073.4748%2022.436%2073.4748%2020.1346V9.09066H70.7314V6.83878H73.4748V2.13992H76.0544V6.83878H79.4708Z'%20fill='%236AAAE4'/%3e%3c/svg%3e", template$5 = (X) => {
|
|
36086
36400
|
const W = [{ label: X.professional?.workCenter, value: "1" }], J = [{ label: X.professional?.role, value: "1" }], te = [{ label: X.professional?.speciality, value: "1" }], re = ["1"];
|
|
36087
36401
|
return ke$1`
|
|
36088
36402
|
<div class="header">
|
|
@@ -36109,17 +36423,17 @@ const styles$7 = ".header{display:flex;flex-direction:row;align-items:center;jus
|
|
|
36109
36423
|
</div>
|
|
36110
36424
|
`;
|
|
36111
36425
|
};
|
|
36112
|
-
var __defProp$
|
|
36426
|
+
var __defProp$9 = Object.defineProperty, __decorateClass$9 = (X, W, J, te) => {
|
|
36113
36427
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
36114
36428
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
36115
|
-
return re && __defProp$
|
|
36429
|
+
return re && __defProp$9(W, J, re), re;
|
|
36116
36430
|
};
|
|
36117
|
-
const
|
|
36431
|
+
const Wi = class Wi extends PrimariaRegionHost(h$t) {
|
|
36118
36432
|
constructor() {
|
|
36119
36433
|
super(...arguments), this.menuOpened = !1;
|
|
36120
36434
|
}
|
|
36121
36435
|
render() {
|
|
36122
|
-
return ke$1`${template$
|
|
36436
|
+
return ke$1`${template$5(this)}`;
|
|
36123
36437
|
}
|
|
36124
36438
|
toggleMenu() {
|
|
36125
36439
|
this.menuOpened = !this.menuOpened;
|
|
@@ -36148,181 +36462,37 @@ const Vi = class Vi extends PrimariaRegionHost(h$t) {
|
|
|
36148
36462
|
J = new MutationObserver(te), J.observe(W, { childList: !0 });
|
|
36149
36463
|
}
|
|
36150
36464
|
};
|
|
36151
|
-
|
|
36152
|
-
${r$X(styles$
|
|
36465
|
+
Wi.styles = i$13`
|
|
36466
|
+
${r$X(styles$5)}
|
|
36153
36467
|
`;
|
|
36154
|
-
let PrimariaShellHeader =
|
|
36155
|
-
__decorateClass$
|
|
36468
|
+
let PrimariaShellHeader = Wi;
|
|
36469
|
+
__decorateClass$9([
|
|
36156
36470
|
s$T({ targetId: "header-region-container", name: shellApi.regionManager.regions.shell.header })
|
|
36157
36471
|
], PrimariaShellHeader.prototype, "headerRegion");
|
|
36158
|
-
__decorateClass$
|
|
36472
|
+
__decorateClass$9([
|
|
36159
36473
|
s$T({ targetId: "header-actions-region-container", name: shellApi.regionManager.regions.shell.headerRightActions })
|
|
36160
36474
|
], PrimariaShellHeader.prototype, "headerRightActionsRegion");
|
|
36161
|
-
__decorateClass$
|
|
36475
|
+
__decorateClass$9([
|
|
36162
36476
|
n$A({ type: Object })
|
|
36163
36477
|
], PrimariaShellHeader.prototype, "professional");
|
|
36164
|
-
__decorateClass$
|
|
36478
|
+
__decorateClass$9([
|
|
36165
36479
|
r$T()
|
|
36166
36480
|
], PrimariaShellHeader.prototype, "menuOpened");
|
|
36167
|
-
var __defProp$c = Object.defineProperty, __decorateClass$c = (X, W, J, te) => {
|
|
36168
|
-
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
36169
|
-
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
36170
|
-
return re && __defProp$c(W, J, re), re;
|
|
36171
|
-
};
|
|
36172
|
-
const ji = class ji extends h$t {
|
|
36173
|
-
toggle() {
|
|
36174
|
-
this.isOpen = !this.isOpen;
|
|
36175
|
-
}
|
|
36176
|
-
render() {
|
|
36177
|
-
return ke$1`
|
|
36178
|
-
<div class="title" @click=${this.toggle}>
|
|
36179
|
-
<slot name="title"></slot>
|
|
36180
|
-
<dss-icon-button size="md" variant="primary" icon=${this.isOpen ? "keyboard_arrow_up" : "keyboard_arrow_down"}></dss-icon-button>
|
|
36181
|
-
</div>
|
|
36182
|
-
<div class="content ${this.isOpen ? "open" : ""}">
|
|
36183
|
-
<slot name="content"></slot>
|
|
36184
|
-
</div>
|
|
36185
|
-
`;
|
|
36186
|
-
}
|
|
36187
|
-
};
|
|
36188
|
-
ji.styles = i$13`
|
|
36189
|
-
:host {
|
|
36190
|
-
display: block;
|
|
36191
|
-
}
|
|
36192
|
-
|
|
36193
|
-
.content {
|
|
36194
|
-
overflow: hidden;
|
|
36195
|
-
max-height: 0;
|
|
36196
|
-
}
|
|
36197
|
-
|
|
36198
|
-
.content.open {
|
|
36199
|
-
margin-top: 8px;
|
|
36200
|
-
max-height: unset;
|
|
36201
|
-
}
|
|
36202
|
-
|
|
36203
|
-
.title {
|
|
36204
|
-
cursor: pointer;
|
|
36205
|
-
display: flex;
|
|
36206
|
-
justify-content: space-between;
|
|
36207
|
-
align-items: center;
|
|
36208
|
-
}
|
|
36209
|
-
`;
|
|
36210
|
-
let PrimariaAccordion = ji;
|
|
36211
|
-
__decorateClass$c([
|
|
36212
|
-
n$A({ type: Boolean })
|
|
36213
|
-
], PrimariaAccordion.prototype, "isOpen");
|
|
36214
|
-
const styles$6 = ".item{display:flex;cursor:pointer;border-radius:8px;padding:8px;justify-content:center;transition:background-color .3s ease}.item[expanded]{justify-content:space-between}.item:hover{background-color:var(--color-primary-900);color:#fff}.item .icon-label{display:flex;gap:8px;transition:background-color .3s}.item.active{outline:2px solid white;outline-offset:-2px}", template$6 = (X) => ke$1`
|
|
36215
|
-
<div class="item" ?expanded=${X.showText}>
|
|
36216
|
-
<div class="icon-label">
|
|
36217
|
-
<dss-icon icon=${X.icon} size="md"></dss-icon>
|
|
36218
|
-
${X.showText ? ke$1`<span>${X.label}</span>` : ""}
|
|
36219
|
-
${X.showText ? D$3 : ke$1`
|
|
36220
|
-
<dss-tooltip position="right">
|
|
36221
|
-
${X.label}
|
|
36222
|
-
</dss-tooltip>`}
|
|
36223
|
-
</div>
|
|
36224
|
-
<dss-action-menu id=${X.containerId} slot="content" >
|
|
36225
|
-
</dss-action-menu>
|
|
36226
|
-
${X.showText ? ke$1`<dss-icon icon="chevron_right" size="md"></dss-icon>` : D$3}
|
|
36227
|
-
</div>
|
|
36228
|
-
`;
|
|
36229
|
-
var __defProp$b = Object.defineProperty, __decorateClass$b = (X, W, J, te) => {
|
|
36230
|
-
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
36231
|
-
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
36232
|
-
return re && __defProp$b(W, J, re), re;
|
|
36233
|
-
};
|
|
36234
|
-
const regionContainerId = (X) => `${X}-container`, Bi = class Bi extends PrimariaRegionHost(h$t) {
|
|
36235
|
-
constructor(W, J, te) {
|
|
36236
|
-
super(), this.showText = !1, this.icon = "", this.label = "", this.regionName = "", this.icon = W, this.label = J, this.regionName = te;
|
|
36237
|
-
}
|
|
36238
|
-
get containerId() {
|
|
36239
|
-
return regionContainerId(this.regionName);
|
|
36240
|
-
}
|
|
36241
|
-
firstUpdated(W) {
|
|
36242
|
-
super.firstUpdated(W), this.observeHostResize();
|
|
36243
|
-
}
|
|
36244
|
-
/** Amaga el text quan el menú es col·lapsa. */
|
|
36245
|
-
observeHostResize() {
|
|
36246
|
-
const W = this.parentElement;
|
|
36247
|
-
new ResizeObserver((te) => {
|
|
36248
|
-
for (const re of te) {
|
|
36249
|
-
const ne = re.target.clientWidth;
|
|
36250
|
-
this.showText = ne > 100;
|
|
36251
|
-
}
|
|
36252
|
-
}).observe(W);
|
|
36253
|
-
}
|
|
36254
|
-
render() {
|
|
36255
|
-
return ke$1`${template$6(this)}`;
|
|
36256
|
-
}
|
|
36257
|
-
};
|
|
36258
|
-
Bi.styles = i$13`
|
|
36259
|
-
${r$X(styles$6)}
|
|
36260
|
-
`;
|
|
36261
|
-
let SidenavActionMenu = Bi;
|
|
36262
|
-
__decorateClass$b([
|
|
36263
|
-
r$T()
|
|
36264
|
-
], SidenavActionMenu.prototype, "showText");
|
|
36265
|
-
__decorateClass$b([
|
|
36266
|
-
n$A({ type: String })
|
|
36267
|
-
], SidenavActionMenu.prototype, "icon");
|
|
36268
|
-
__decorateClass$b([
|
|
36269
|
-
n$A({ type: String })
|
|
36270
|
-
], SidenavActionMenu.prototype, "label");
|
|
36271
|
-
__decorateClass$b([
|
|
36272
|
-
n$A({ type: String })
|
|
36273
|
-
], SidenavActionMenu.prototype, "regionName");
|
|
36274
|
-
var __defProp$a = Object.defineProperty, __decorateClass$a = (X, W, J, te) => {
|
|
36275
|
-
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
36276
|
-
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
36277
|
-
return re && __defProp$a(W, J, re), re;
|
|
36278
|
-
};
|
|
36279
|
-
class CommunicationActionMenu extends SidenavActionMenu {
|
|
36280
|
-
constructor(W, J) {
|
|
36281
|
-
super(W, J, shellRegions.communicationSidenav);
|
|
36282
|
-
}
|
|
36283
|
-
}
|
|
36284
|
-
__decorateClass$a([
|
|
36285
|
-
s$T({ targetId: regionContainerId(shellRegions.communicationSidenav), name: shellRegions.communicationSidenav })
|
|
36286
|
-
], CommunicationActionMenu.prototype, "sidenavRegion");
|
|
36287
|
-
var __defProp$9 = Object.defineProperty, __decorateClass$9 = (X, W, J, te) => {
|
|
36288
|
-
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
36289
|
-
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
36290
|
-
return re && __defProp$9(W, J, re), re;
|
|
36291
|
-
};
|
|
36292
|
-
class ClinicalPathwaysActionMenu extends SidenavActionMenu {
|
|
36293
|
-
constructor(W, J) {
|
|
36294
|
-
super(W, J, shellRegions.clinicalPathwaysSidenav);
|
|
36295
|
-
}
|
|
36296
|
-
}
|
|
36297
|
-
__decorateClass$9([
|
|
36298
|
-
s$T({ targetId: regionContainerId(shellRegions.clinicalPathwaysSidenav), name: shellRegions.clinicalPathwaysSidenav })
|
|
36299
|
-
], ClinicalPathwaysActionMenu.prototype, "sidenavRegion");
|
|
36300
36481
|
var __defProp$8 = Object.defineProperty, __decorateClass$8 = (X, W, J, te) => {
|
|
36301
36482
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
36302
36483
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
36303
36484
|
return re && __defProp$8(W, J, re), re;
|
|
36304
36485
|
};
|
|
36305
|
-
class
|
|
36486
|
+
class SharedHistoriesActionMenu extends SidenavActionMenu {
|
|
36306
36487
|
constructor(W, J) {
|
|
36307
|
-
super(W, J, shellRegions.
|
|
36488
|
+
super(W, J, shellRegions.sharedHistoriesSidenav);
|
|
36308
36489
|
}
|
|
36309
36490
|
}
|
|
36310
36491
|
__decorateClass$8([
|
|
36311
|
-
s$T({ targetId: regionContainerId(shellRegions.
|
|
36312
|
-
],
|
|
36313
|
-
const styles$5 = ".header-container{width:1px;height:40px;background-color:var(--color-neutral-100)}", template$5 = (X) => ke$1`
|
|
36314
|
-
<div class="header-container"></div>
|
|
36315
|
-
`, Wi = class Wi extends h$t {
|
|
36316
|
-
render() {
|
|
36317
|
-
return ke$1`${template$5()}`;
|
|
36318
|
-
}
|
|
36319
|
-
};
|
|
36320
|
-
Wi.styles = i$13`
|
|
36321
|
-
${r$X(styles$5)}
|
|
36322
|
-
`;
|
|
36323
|
-
let HeaderDivider = Wi;
|
|
36492
|
+
s$T({ targetId: regionContainerId(shellRegions.sharedHistoriesSidenav), name: shellRegions.sharedHistoriesSidenav })
|
|
36493
|
+
], SharedHistoriesActionMenu.prototype, "sidenavRegion");
|
|
36324
36494
|
const useComponents = () => {
|
|
36325
|
-
t$P("primaria-shell")(PrimariaShell), t$P("primaria-shell-header")(PrimariaShellHeader), t$P("primaria-error-view")(PrimariaErrorView), t$P("header-divider")(HeaderDivider), t$P("communication-action-menu")(CommunicationActionMenu), t$P("clinical-pathways-action-menu")(ClinicalPathwaysActionMenu), t$P("petitioner-action-menu")(PetitionerActionMenu), t$P("primaria-accordion")(PrimariaAccordion);
|
|
36495
|
+
t$P("primaria-shell")(PrimariaShell), t$P("primaria-shell-header")(PrimariaShellHeader), t$P("primaria-error-view")(PrimariaErrorView), t$P("header-divider")(HeaderDivider), t$P("communication-action-menu")(CommunicationActionMenu), t$P("clinical-pathways-action-menu")(ClinicalPathwaysActionMenu), t$P("petitioner-action-menu")(PetitionerActionMenu), t$P("activity-record-action-menu")(ActivityRecordActionMenu), t$P("documents-action-menu")(DocumentsActionMenu), t$P("shared-histories-action-menu")(SharedHistoriesActionMenu), t$P("primaria-accordion")(PrimariaAccordion);
|
|
36326
36496
|
};
|
|
36327
36497
|
var __defProp$7 = Object.defineProperty, __decorateClass$7 = (X, W, J, te) => {
|
|
36328
36498
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
@@ -36512,7 +36682,7 @@ var __defProp$5 = Object.defineProperty, __decorateClass$5 = (X, W, J, te) => {
|
|
|
36512
36682
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
36513
36683
|
return re && __defProp$5(W, J, re), re;
|
|
36514
36684
|
};
|
|
36515
|
-
const
|
|
36685
|
+
const Gi = class Gi extends h$t {
|
|
36516
36686
|
constructor(W) {
|
|
36517
36687
|
super(), this.showActionMenu = !1, this.handleItemClick = () => {
|
|
36518
36688
|
this.showActionMenu = !0;
|
|
@@ -36532,10 +36702,10 @@ const Zi = class Zi extends h$t {
|
|
|
36532
36702
|
return ke$1`${template$3(this)}`;
|
|
36533
36703
|
}
|
|
36534
36704
|
};
|
|
36535
|
-
|
|
36705
|
+
Gi.styles = i$13`
|
|
36536
36706
|
${r$X(styles$3)}
|
|
36537
36707
|
`;
|
|
36538
|
-
let PrimariaNavTreeMenu =
|
|
36708
|
+
let PrimariaNavTreeMenu = Gi;
|
|
36539
36709
|
__decorateClass$5([
|
|
36540
36710
|
n$A({ type: Object })
|
|
36541
36711
|
], PrimariaNavTreeMenu.prototype, "config");
|
|
@@ -36947,8 +37117,8 @@ function requireQuill() {
|
|
|
36947
37117
|
} else {
|
|
36948
37118
|
if ("value" in We)
|
|
36949
37119
|
return We.value;
|
|
36950
|
-
var
|
|
36951
|
-
return
|
|
37120
|
+
var Ge = We.get;
|
|
37121
|
+
return Ge === void 0 ? void 0 : Ge.call(Ue);
|
|
36952
37122
|
}
|
|
36953
37123
|
}, ce = re(3), de = Ae(ce), he = re(2), ue = Ae(he), fe = re(0), pe = Ae(fe), ge = re(16), ve = Ae(ge), ye = re(6), we = Ae(ye), be = re(7), _e = Ae(be);
|
|
36954
37124
|
function Ae(Ce) {
|
|
@@ -36991,16 +37161,16 @@ function requireQuill() {
|
|
|
36991
37161
|
}
|
|
36992
37162
|
}, {
|
|
36993
37163
|
key: "formatAt",
|
|
36994
|
-
value: function(Ue, We, Ke,
|
|
36995
|
-
this.format(Ke,
|
|
37164
|
+
value: function(Ue, We, Ke, Ge) {
|
|
37165
|
+
this.format(Ke, Ge);
|
|
36996
37166
|
}
|
|
36997
37167
|
}, {
|
|
36998
37168
|
key: "insertAt",
|
|
36999
37169
|
value: function(Ue, We, Ke) {
|
|
37000
37170
|
if (typeof We == "string" && We.endsWith(`
|
|
37001
37171
|
`)) {
|
|
37002
|
-
var
|
|
37003
|
-
this.parent.insertBefore(
|
|
37172
|
+
var Ge = pe.default.create(ze.blotName);
|
|
37173
|
+
this.parent.insertBefore(Ge, Ue === 0 ? this : this.next), Ge.insertAt(0, We.slice(0, -1));
|
|
37004
37174
|
} else
|
|
37005
37175
|
oe(De.prototype.__proto__ || Object.getPrototypeOf(De.prototype), "insertAt", this).call(this, Ue, We, Ke);
|
|
37006
37176
|
}
|
|
@@ -37029,19 +37199,19 @@ function requireQuill() {
|
|
|
37029
37199
|
}
|
|
37030
37200
|
}, {
|
|
37031
37201
|
key: "formatAt",
|
|
37032
|
-
value: function(Ue, We, Ke,
|
|
37033
|
-
We <= 0 || (pe.default.query(Ke, pe.default.Scope.BLOCK) ? Ue + We === this.length() && this.format(Ke,
|
|
37202
|
+
value: function(Ue, We, Ke, Ge) {
|
|
37203
|
+
We <= 0 || (pe.default.query(Ke, pe.default.Scope.BLOCK) ? Ue + We === this.length() && this.format(Ke, Ge) : oe(De.prototype.__proto__ || Object.getPrototypeOf(De.prototype), "formatAt", this).call(this, Ue, Math.min(We, this.length() - Ue - 1), Ke, Ge), this.cache = {});
|
|
37034
37204
|
}
|
|
37035
37205
|
}, {
|
|
37036
37206
|
key: "insertAt",
|
|
37037
37207
|
value: function(Ue, We, Ke) {
|
|
37038
37208
|
if (Ke != null) return oe(De.prototype.__proto__ || Object.getPrototypeOf(De.prototype), "insertAt", this).call(this, Ue, We, Ke);
|
|
37039
37209
|
if (We.length !== 0) {
|
|
37040
|
-
var
|
|
37041
|
-
`), gt =
|
|
37210
|
+
var Ge = We.split(`
|
|
37211
|
+
`), gt = Ge.shift();
|
|
37042
37212
|
gt.length > 0 && (Ue < this.length() - 1 || this.children.tail == null ? oe(De.prototype.__proto__ || Object.getPrototypeOf(De.prototype), "insertAt", this).call(this, Math.min(Ue, this.length() - 1), gt) : this.children.tail.insertAt(this.children.tail.length(), gt), this.cache = {});
|
|
37043
37213
|
var Qe = this;
|
|
37044
|
-
|
|
37214
|
+
Ge.reduce(function(Ye, Me) {
|
|
37045
37215
|
return Qe = Qe.split(Ye, !0), Qe.insertAt(0, Me), Me.length;
|
|
37046
37216
|
}, Ue + gt.length);
|
|
37047
37217
|
}
|
|
@@ -37085,8 +37255,8 @@ function requireQuill() {
|
|
|
37085
37255
|
var Ke = this.clone();
|
|
37086
37256
|
return Ue === 0 ? (this.parent.insertBefore(Ke, this), this) : (this.parent.insertBefore(Ke, this.next), Ke);
|
|
37087
37257
|
} else {
|
|
37088
|
-
var
|
|
37089
|
-
return this.cache = {},
|
|
37258
|
+
var Ge = oe(De.prototype.__proto__ || Object.getPrototypeOf(De.prototype), "split", this).call(this, Ue, We);
|
|
37259
|
+
return this.cache = {}, Ge;
|
|
37090
37260
|
}
|
|
37091
37261
|
}
|
|
37092
37262
|
}]), De;
|
|
@@ -37112,7 +37282,7 @@ function requireQuill() {
|
|
|
37112
37282
|
function Qe(Ye, Me) {
|
|
37113
37283
|
var Be = [], He = !0, Xe = !1, Je = void 0;
|
|
37114
37284
|
try {
|
|
37115
|
-
for (var Ve = Ye[Symbol.iterator](),
|
|
37285
|
+
for (var Ve = Ye[Symbol.iterator](), Ze; !(He = (Ze = Ve.next()).done) && (Be.push(Ze.value), !(Me && Be.length === Me)); He = !0)
|
|
37116
37286
|
;
|
|
37117
37287
|
} catch (nt) {
|
|
37118
37288
|
Xe = !0, Je = nt;
|
|
@@ -37196,7 +37366,7 @@ function requireQuill() {
|
|
|
37196
37366
|
}), this.editor = new fe.default(this.scroll), this.selection = new Ae.default(this.scroll, this.emitter), this.theme = new this.options.theme(this, this.options), this.keyboard = this.theme.addModule("keyboard"), this.clipboard = this.theme.addModule("clipboard"), this.history = this.theme.addModule("history"), this.theme.init(), this.emitter.on(ge.default.events.EDITOR_CHANGE, function(Je) {
|
|
37197
37367
|
Je === ge.default.events.TEXT_CHANGE && Me.root.classList.toggle("ql-blank", Me.editor.isBlank());
|
|
37198
37368
|
}), this.emitter.on(ge.default.events.SCROLL_UPDATE, function(Je, Ve) {
|
|
37199
|
-
var
|
|
37369
|
+
var Ze = Me.selection.lastRange, nt = Ze && Ze.length === 0 ? Ze.index : void 0;
|
|
37200
37370
|
Ke.call(Me, function() {
|
|
37201
37371
|
return Me.editor.update(null, Ve, nt);
|
|
37202
37372
|
}, Je);
|
|
@@ -37222,7 +37392,7 @@ function requireQuill() {
|
|
|
37222
37392
|
}, {
|
|
37223
37393
|
key: "deleteText",
|
|
37224
37394
|
value: function(Me, Be, He) {
|
|
37225
|
-
var Xe = this, Je =
|
|
37395
|
+
var Xe = this, Je = Ge(Me, Be, He), Ve = oe(Je, 4);
|
|
37226
37396
|
return Me = Ve[0], Be = Ve[1], He = Ve[3], Ke.call(this, function() {
|
|
37227
37397
|
return Xe.editor.deleteText(Me, Be);
|
|
37228
37398
|
}, He, Me, -1 * Be);
|
|
@@ -37265,17 +37435,17 @@ function requireQuill() {
|
|
|
37265
37435
|
}, {
|
|
37266
37436
|
key: "formatLine",
|
|
37267
37437
|
value: function(Me, Be, He, Xe, Je) {
|
|
37268
|
-
var Ve = this,
|
|
37269
|
-
return Me = ot[0], Be = ot[1],
|
|
37270
|
-
return Ve.editor.formatLine(Me, Be,
|
|
37438
|
+
var Ve = this, Ze = void 0, nt = Ge(Me, Be, He, Xe, Je), ot = oe(nt, 4);
|
|
37439
|
+
return Me = ot[0], Be = ot[1], Ze = ot[2], Je = ot[3], Ke.call(this, function() {
|
|
37440
|
+
return Ve.editor.formatLine(Me, Be, Ze);
|
|
37271
37441
|
}, Je, Me, 0);
|
|
37272
37442
|
}
|
|
37273
37443
|
}, {
|
|
37274
37444
|
key: "formatText",
|
|
37275
37445
|
value: function(Me, Be, He, Xe, Je) {
|
|
37276
|
-
var Ve = this,
|
|
37277
|
-
return Me = ot[0], Be = ot[1],
|
|
37278
|
-
return Ve.editor.formatText(Me, Be,
|
|
37446
|
+
var Ve = this, Ze = void 0, nt = Ge(Me, Be, He, Xe, Je), ot = oe(nt, 4);
|
|
37447
|
+
return Me = ot[0], Be = ot[1], Ze = ot[2], Je = ot[3], Ke.call(this, function() {
|
|
37448
|
+
return Ve.editor.formatText(Me, Be, Ze);
|
|
37279
37449
|
}, Je, Me, 0);
|
|
37280
37450
|
}
|
|
37281
37451
|
}, {
|
|
@@ -37296,7 +37466,7 @@ function requireQuill() {
|
|
|
37296
37466
|
}, {
|
|
37297
37467
|
key: "getContents",
|
|
37298
37468
|
value: function() {
|
|
37299
|
-
var Me = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, Be = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - Me, He =
|
|
37469
|
+
var Me = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, Be = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - Me, He = Ge(Me, Be), Xe = oe(He, 2);
|
|
37300
37470
|
return Me = Xe[0], Be = Xe[1], this.editor.getContents(Me, Be);
|
|
37301
37471
|
}
|
|
37302
37472
|
}, {
|
|
@@ -37345,7 +37515,7 @@ function requireQuill() {
|
|
|
37345
37515
|
}, {
|
|
37346
37516
|
key: "getText",
|
|
37347
37517
|
value: function() {
|
|
37348
|
-
var Me = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, Be = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - Me, He =
|
|
37518
|
+
var Me = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, Be = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - Me, He = Ge(Me, Be), Xe = oe(He, 2);
|
|
37349
37519
|
return Me = Xe[0], Be = Xe[1], this.editor.getText(Me, Be);
|
|
37350
37520
|
}
|
|
37351
37521
|
}, {
|
|
@@ -37364,9 +37534,9 @@ function requireQuill() {
|
|
|
37364
37534
|
}, {
|
|
37365
37535
|
key: "insertText",
|
|
37366
37536
|
value: function(Me, Be, He, Xe, Je) {
|
|
37367
|
-
var Ve = this,
|
|
37368
|
-
return Me = ot[0],
|
|
37369
|
-
return Ve.editor.insertText(Me, Be,
|
|
37537
|
+
var Ve = this, Ze = void 0, nt = Ge(Me, 0, He, Xe, Je), ot = oe(nt, 4);
|
|
37538
|
+
return Me = ot[0], Ze = ot[2], Je = ot[3], Ke.call(this, function() {
|
|
37539
|
+
return Ve.editor.insertText(Me, Be, Ze);
|
|
37370
37540
|
}, Je, Me, Be.length);
|
|
37371
37541
|
}
|
|
37372
37542
|
}, {
|
|
@@ -37397,7 +37567,7 @@ function requireQuill() {
|
|
|
37397
37567
|
}, {
|
|
37398
37568
|
key: "removeFormat",
|
|
37399
37569
|
value: function(Me, Be, He) {
|
|
37400
|
-
var Xe = this, Je =
|
|
37570
|
+
var Xe = this, Je = Ge(Me, Be, He), Ve = oe(Je, 4);
|
|
37401
37571
|
return Me = Ve[0], Be = Ve[1], He = Ve[3], Ke.call(this, function() {
|
|
37402
37572
|
return Xe.editor.removeFormat(Me, Be);
|
|
37403
37573
|
}, He, Me);
|
|
@@ -37413,8 +37583,8 @@ function requireQuill() {
|
|
|
37413
37583
|
var Be = this, He = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ge.default.sources.API;
|
|
37414
37584
|
return Ke.call(this, function() {
|
|
37415
37585
|
Me = new he.default(Me);
|
|
37416
|
-
var Xe = Be.getLength(), Je = Be.editor.deleteText(0, Xe), Ve = Be.editor.applyDelta(Me),
|
|
37417
|
-
|
|
37586
|
+
var Xe = Be.getLength(), Je = Be.editor.deleteText(0, Xe), Ve = Be.editor.applyDelta(Me), Ze = Ve.ops[Ve.ops.length - 1];
|
|
37587
|
+
Ze != null && typeof Ze.insert == "string" && Ze.insert[Ze.insert.length - 1] === `
|
|
37418
37588
|
` && (Be.editor.deleteText(Be.getLength() - 1, 1), Ve.delete(1));
|
|
37419
37589
|
var nt = Je.compose(Ve);
|
|
37420
37590
|
return nt;
|
|
@@ -37426,7 +37596,7 @@ function requireQuill() {
|
|
|
37426
37596
|
if (Me == null)
|
|
37427
37597
|
this.selection.setRange(null, Be || Qe.sources.API);
|
|
37428
37598
|
else {
|
|
37429
|
-
var Xe =
|
|
37599
|
+
var Xe = Ge(Me, Be, He), Je = oe(Xe, 4);
|
|
37430
37600
|
Me = Je[0], Be = Je[1], He = Je[3], this.selection.setRange(new _e.Range(Me, Be), He), He !== ge.default.sources.SILENT && this.selection.scrollIntoView(this.scrollingContainer);
|
|
37431
37601
|
}
|
|
37432
37602
|
}
|
|
@@ -37502,15 +37672,15 @@ function requireQuill() {
|
|
|
37502
37672
|
return new he.default();
|
|
37503
37673
|
var He = Me == null ? null : this.getSelection(), Xe = this.editor.delta, Je = Qe();
|
|
37504
37674
|
if (He != null && (Me === !0 && (Me = He.index), Be == null ? He = gt(He, Je, Ye) : Be !== 0 && (He = gt(He, Me, Be, Ye)), this.setSelection(He, ge.default.sources.SILENT)), Je.length() > 0) {
|
|
37505
|
-
var Ve,
|
|
37506
|
-
if ((Ve = this.emitter).emit.apply(Ve, [ge.default.events.EDITOR_CHANGE].concat(
|
|
37675
|
+
var Ve, Ze = [ge.default.events.TEXT_CHANGE, Je, Xe, Ye];
|
|
37676
|
+
if ((Ve = this.emitter).emit.apply(Ve, [ge.default.events.EDITOR_CHANGE].concat(Ze)), Ye !== ge.default.sources.SILENT) {
|
|
37507
37677
|
var nt;
|
|
37508
|
-
(nt = this.emitter).emit.apply(nt,
|
|
37678
|
+
(nt = this.emitter).emit.apply(nt, Ze);
|
|
37509
37679
|
}
|
|
37510
37680
|
}
|
|
37511
37681
|
return Je;
|
|
37512
37682
|
}
|
|
37513
|
-
function
|
|
37683
|
+
function Ge(Qe, Ye, Me, Be, He) {
|
|
37514
37684
|
var Xe = {};
|
|
37515
37685
|
return typeof Qe.index == "number" && typeof Qe.length == "number" ? typeof Ye != "number" ? (He = Be, Be = Me, Me = Ye, Ye = Qe.length, Qe = Qe.index) : (Ye = Qe.length, Qe = Qe.index) : typeof Ye != "number" && (He = Be, Be = Me, Me = Ye, Ye = 0), (typeof Me > "u" ? "undefined" : ne(Me)) === "object" ? (Xe = Me, He = Be) : typeof Me == "string" && (Be != null ? Xe[Me] = Be : He = Me), He = He || ge.default.sources.API, [Qe, Ye, Xe, He];
|
|
37516
37686
|
}
|
|
@@ -37523,14 +37693,14 @@ function requireQuill() {
|
|
|
37523
37693
|
}), Ve = oe(Je, 2);
|
|
37524
37694
|
He = Ve[0], Xe = Ve[1];
|
|
37525
37695
|
} else {
|
|
37526
|
-
var
|
|
37696
|
+
var Ze = [Qe.index, Qe.index + Qe.length].map(function(ot) {
|
|
37527
37697
|
return ot < Ye || ot === Ye && Be === ge.default.sources.USER ? ot : Me >= 0 ? ot + Me : Math.max(Ye, ot + Me);
|
|
37528
|
-
}), nt = oe(
|
|
37698
|
+
}), nt = oe(Ze, 2);
|
|
37529
37699
|
He = nt[0], Xe = nt[1];
|
|
37530
37700
|
}
|
|
37531
37701
|
return new _e.Range(He, Xe - He);
|
|
37532
37702
|
}
|
|
37533
|
-
te.expandConfig = We, te.overload =
|
|
37703
|
+
te.expandConfig = We, te.overload = Ge, te.default = Ue;
|
|
37534
37704
|
}),
|
|
37535
37705
|
/* 6 */
|
|
37536
37706
|
/***/
|
|
@@ -37732,10 +37902,10 @@ function requireQuill() {
|
|
|
37732
37902
|
if (!Ae || Ke.getRootNode() === document)
|
|
37733
37903
|
return We.contains(Ke);
|
|
37734
37904
|
for (; !We.contains(Ke); ) {
|
|
37735
|
-
var
|
|
37736
|
-
if (!
|
|
37905
|
+
var Ge = Ke.getRootNode();
|
|
37906
|
+
if (!Ge || !Ge.host)
|
|
37737
37907
|
return !1;
|
|
37738
|
-
Ke =
|
|
37908
|
+
Ke = Ge.host;
|
|
37739
37909
|
}
|
|
37740
37910
|
return !0;
|
|
37741
37911
|
};
|
|
@@ -37884,8 +38054,8 @@ function requireQuill() {
|
|
|
37884
38054
|
try {
|
|
37885
38055
|
for (var We = ze[Symbol.iterator](), Ke; !(De = (Ke = We.next()).done) && (Ce.push(Ke.value), !(qe && Ce.length === qe)); De = !0)
|
|
37886
38056
|
;
|
|
37887
|
-
} catch (
|
|
37888
|
-
Fe = !0, Ue =
|
|
38057
|
+
} catch (Ge) {
|
|
38058
|
+
Fe = !0, Ue = Ge;
|
|
37889
38059
|
} finally {
|
|
37890
38060
|
try {
|
|
37891
38061
|
!De && We.return && We.return();
|
|
@@ -37980,8 +38150,8 @@ function requireQuill() {
|
|
|
37980
38150
|
if (De !== 0 && !(fe.default.query(Fe, fe.default.Scope.BLOCK) == null || Fe === this.statics.blotName && Ue === this.statics.formats(this.domNode))) {
|
|
37981
38151
|
var We = this.newlineIndex(Ce);
|
|
37982
38152
|
if (!(We < 0 || We >= Ce + De)) {
|
|
37983
|
-
var Ke = this.newlineIndex(Ce, !0) + 1,
|
|
37984
|
-
gt.format(Fe, Ue), Qe instanceof ze && Qe.formatAt(0, Ce - Ke + De -
|
|
38153
|
+
var Ke = this.newlineIndex(Ce, !0) + 1, Ge = We - Ke + 1, gt = this.isolate(Ke, Ge), Qe = gt.next;
|
|
38154
|
+
gt.format(Fe, Ue), Qe instanceof ze && Qe.formatAt(0, Ce - Ke + De - Ge, Fe, Ue);
|
|
37985
38155
|
}
|
|
37986
38156
|
}
|
|
37987
38157
|
}
|
|
@@ -37989,8 +38159,8 @@ function requireQuill() {
|
|
|
37989
38159
|
key: "insertAt",
|
|
37990
38160
|
value: function(Ce, De, Fe) {
|
|
37991
38161
|
if (Fe == null) {
|
|
37992
|
-
var Ue = this.descendant(be.default, Ce), We = ne(Ue, 2), Ke = We[0],
|
|
37993
|
-
Ke.insertAt(
|
|
38162
|
+
var Ue = this.descendant(be.default, Ce), We = ne(Ue, 2), Ke = We[0], Ge = We[1];
|
|
38163
|
+
Ke.insertAt(Ge, De);
|
|
37994
38164
|
}
|
|
37995
38165
|
}
|
|
37996
38166
|
}, {
|
|
@@ -38057,7 +38227,7 @@ function requireQuill() {
|
|
|
38057
38227
|
function Qe(Ye, Me) {
|
|
38058
38228
|
var Be = [], He = !0, Xe = !1, Je = void 0;
|
|
38059
38229
|
try {
|
|
38060
|
-
for (var Ve = Ye[Symbol.iterator](),
|
|
38230
|
+
for (var Ve = Ye[Symbol.iterator](), Ze; !(He = (Ze = Ve.next()).done) && (Be.push(Ze.value), !(Me && Be.length === Me)); He = !0)
|
|
38061
38231
|
;
|
|
38062
38232
|
} catch (nt) {
|
|
38063
38233
|
Xe = !0, Je = nt;
|
|
@@ -38109,7 +38279,7 @@ function requireQuill() {
|
|
|
38109
38279
|
this.scroll.update();
|
|
38110
38280
|
var Xe = this.scroll.length();
|
|
38111
38281
|
return this.scroll.batchStart(), Me = gt(Me), Me.reduce(function(Je, Ve) {
|
|
38112
|
-
var
|
|
38282
|
+
var Ze = Ve.retain || Ve.delete || Ve.insert.length || 1, nt = Ve.attributes || {};
|
|
38113
38283
|
if (Ve.insert != null) {
|
|
38114
38284
|
if (typeof Ve.insert == "string") {
|
|
38115
38285
|
var ot = Ve.insert;
|
|
@@ -38127,11 +38297,11 @@ function requireQuill() {
|
|
|
38127
38297
|
if (mt == null) return Je;
|
|
38128
38298
|
Be.scroll.insertAt(Je, mt, Ve.insert[mt]);
|
|
38129
38299
|
}
|
|
38130
|
-
Xe +=
|
|
38300
|
+
Xe += Ze;
|
|
38131
38301
|
}
|
|
38132
38302
|
return Object.keys(nt).forEach(function(vt) {
|
|
38133
|
-
Be.scroll.formatAt(Je,
|
|
38134
|
-
}), Je +
|
|
38303
|
+
Be.scroll.formatAt(Je, Ze, vt, nt[vt]);
|
|
38304
|
+
}), Je + Ze;
|
|
38135
38305
|
}, 0), Me.reduce(function(Je, Ve) {
|
|
38136
38306
|
return typeof Ve.delete == "number" ? (Be.scroll.deleteAt(Je, Ve.delete), Je) : Je + (Ve.retain || Ve.insert.length || 1);
|
|
38137
38307
|
}, 0), this.scroll.batchEnd(), this.update(Me);
|
|
@@ -38147,16 +38317,16 @@ function requireQuill() {
|
|
|
38147
38317
|
var He = this, Xe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
38148
38318
|
return this.scroll.update(), Object.keys(Xe).forEach(function(Je) {
|
|
38149
38319
|
if (!(He.scroll.whitelist != null && !He.scroll.whitelist[Je])) {
|
|
38150
|
-
var Ve = He.scroll.lines(Me, Math.max(Be, 1)),
|
|
38320
|
+
var Ve = He.scroll.lines(Me, Math.max(Be, 1)), Ze = Be;
|
|
38151
38321
|
Ve.forEach(function(nt) {
|
|
38152
38322
|
var ot = nt.length();
|
|
38153
38323
|
if (!(nt instanceof ye.default))
|
|
38154
38324
|
nt.format(Je, Xe[Je]);
|
|
38155
38325
|
else {
|
|
38156
|
-
var bt = Me - nt.offset(He.scroll), xt = nt.newlineIndex(bt +
|
|
38326
|
+
var bt = Me - nt.offset(He.scroll), xt = nt.newlineIndex(bt + Ze) - bt + 1;
|
|
38157
38327
|
nt.formatAt(bt, xt, Je, Xe[Je]);
|
|
38158
38328
|
}
|
|
38159
|
-
|
|
38329
|
+
Ze -= ot;
|
|
38160
38330
|
});
|
|
38161
38331
|
}
|
|
38162
38332
|
}), this.scroll.optimize(), this.update(new he.default().retain(Me).retain(Be, (0, Le.default)(Xe)));
|
|
@@ -38186,17 +38356,17 @@ function requireQuill() {
|
|
|
38186
38356
|
value: function(Me) {
|
|
38187
38357
|
var Be = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, He = [], Xe = [];
|
|
38188
38358
|
Be === 0 ? this.scroll.path(Me).forEach(function(Ve) {
|
|
38189
|
-
var
|
|
38359
|
+
var Ze = oe(Ve, 1), nt = Ze[0];
|
|
38190
38360
|
nt instanceof Ae.default ? He.push(nt) : nt instanceof ge.default.Leaf && Xe.push(nt);
|
|
38191
38361
|
}) : (He = this.scroll.lines(Me, Be), Xe = this.scroll.descendants(ge.default.Leaf, Me, Be));
|
|
38192
38362
|
var Je = [He, Xe].map(function(Ve) {
|
|
38193
38363
|
if (Ve.length === 0) return {};
|
|
38194
|
-
for (var
|
|
38364
|
+
for (var Ze = (0, _e.bubbleFormats)(Ve.shift()); Object.keys(Ze).length > 0; ) {
|
|
38195
38365
|
var nt = Ve.shift();
|
|
38196
|
-
if (nt == null) return
|
|
38197
|
-
|
|
38366
|
+
if (nt == null) return Ze;
|
|
38367
|
+
Ze = Ge((0, _e.bubbleFormats)(nt), Ze);
|
|
38198
38368
|
}
|
|
38199
|
-
return
|
|
38369
|
+
return Ze;
|
|
38200
38370
|
});
|
|
38201
38371
|
return Ce.default.apply(Ce.default, Je);
|
|
38202
38372
|
}
|
|
@@ -38235,8 +38405,8 @@ function requireQuill() {
|
|
|
38235
38405
|
}, {
|
|
38236
38406
|
key: "removeFormat",
|
|
38237
38407
|
value: function(Me, Be) {
|
|
38238
|
-
var He = this.getText(Me, Be), Xe = this.scroll.line(Me + Be), Je = oe(Xe, 2), Ve = Je[0],
|
|
38239
|
-
Ve != null && (Ve instanceof ye.default ? nt = Ve.newlineIndex(
|
|
38408
|
+
var He = this.getText(Me, Be), Xe = this.scroll.line(Me + Be), Je = oe(Xe, 2), Ve = Je[0], Ze = Je[1], nt = 0, ot = new he.default();
|
|
38409
|
+
Ve != null && (Ve instanceof ye.default ? nt = Ve.newlineIndex(Ze) - Ze + 1 : nt = Ve.length() - Ze, ot = Ve.delta().slice(Ze, Ze + nt - 1).insert(`
|
|
38240
38410
|
`));
|
|
38241
38411
|
var bt = this.getContents(Me, Be + nt), xt = bt.diff(new he.default().insert(He).concat(ot)), It = new he.default().retain(Me).concat(xt);
|
|
38242
38412
|
return this.applyDelta(It);
|
|
@@ -38246,7 +38416,7 @@ function requireQuill() {
|
|
|
38246
38416
|
value: function(Me) {
|
|
38247
38417
|
var Be = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], He = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0, Xe = this.delta;
|
|
38248
38418
|
if (Be.length === 1 && Be[0].type === "characterData" && Be[0].target.data.match(We) && ge.default.find(Be[0].target)) {
|
|
38249
|
-
var Je = ge.default.find(Be[0].target), Ve = (0, _e.bubbleFormats)(Je),
|
|
38419
|
+
var Je = ge.default.find(Be[0].target), Ve = (0, _e.bubbleFormats)(Je), Ze = Je.offset(this.scroll), nt = Be[0].oldValue.replace(be.default.CONTENTS, ""), ot = new he.default().insert(nt), bt = new he.default().insert(Je.value()), xt = new he.default().retain(Ze).concat(ot.diff(bt, He));
|
|
38250
38420
|
Me = xt.reduce(function(It, Pt) {
|
|
38251
38421
|
return Pt.insert ? It.insert(Pt.insert, Ve) : It.push(Pt);
|
|
38252
38422
|
}, new he.default()), this.delta = Xe.compose(Me);
|
|
@@ -38256,7 +38426,7 @@ function requireQuill() {
|
|
|
38256
38426
|
}
|
|
38257
38427
|
}]), Qe;
|
|
38258
38428
|
})();
|
|
38259
|
-
function
|
|
38429
|
+
function Ge(Qe, Ye) {
|
|
38260
38430
|
return Object.keys(Ye).reduce(function(Me, Be) {
|
|
38261
38431
|
return Qe[Be] == null || (Ye[Be] === Qe[Be] ? Me[Be] = Ye[Be] : Array.isArray(Ye[Be]) ? Ye[Be].indexOf(Qe[Be]) < 0 && (Me[Be] = Ye[Be].concat([Qe[Be]])) : Me[Be] = [Ye[Be], Qe[Be]]), Me;
|
|
38262
38432
|
}, {});
|
|
@@ -38288,7 +38458,7 @@ function requireQuill() {
|
|
|
38288
38458
|
function ze(qe, Ce) {
|
|
38289
38459
|
var De = [], Fe = !0, Ue = !1, We = void 0;
|
|
38290
38460
|
try {
|
|
38291
|
-
for (var Ke = qe[Symbol.iterator](),
|
|
38461
|
+
for (var Ke = qe[Symbol.iterator](), Ge; !(Fe = (Ge = Ke.next()).done) && (De.push(Ge.value), !(Ce && De.length === Ce)); Fe = !0)
|
|
38292
38462
|
;
|
|
38293
38463
|
} catch (gt) {
|
|
38294
38464
|
Ue = !0, We = gt;
|
|
@@ -38356,8 +38526,8 @@ function requireQuill() {
|
|
|
38356
38526
|
}
|
|
38357
38527
|
}), this.emitter.on(ve.default.events.SCROLL_OPTIMIZE, function(Fe, Ue) {
|
|
38358
38528
|
if (Ue.range) {
|
|
38359
|
-
var We = Ue.range, Ke = We.startNode,
|
|
38360
|
-
De.setNativeRange(Ke,
|
|
38529
|
+
var We = Ue.range, Ke = We.startNode, Ge = We.startOffset, gt = We.endNode, Qe = We.endOffset;
|
|
38530
|
+
De.setNativeRange(Ke, Ge, gt, Qe);
|
|
38361
38531
|
}
|
|
38362
38532
|
}), this.update(ve.default.sources.SILENT);
|
|
38363
38533
|
}
|
|
@@ -38418,25 +38588,25 @@ function requireQuill() {
|
|
|
38418
38588
|
value: function(Ce) {
|
|
38419
38589
|
var De = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, Fe = this.scroll.length();
|
|
38420
38590
|
Ce = Math.min(Ce, Fe - 1), De = Math.min(Ce + De, Fe - 1) - Ce;
|
|
38421
|
-
var Ue = void 0, We = this.scroll.leaf(Ce), Ke = ne(We, 2),
|
|
38422
|
-
if (
|
|
38423
|
-
var Qe =
|
|
38591
|
+
var Ue = void 0, We = this.scroll.leaf(Ce), Ke = ne(We, 2), Ge = Ke[0], gt = Ke[1];
|
|
38592
|
+
if (Ge == null) return null;
|
|
38593
|
+
var Qe = Ge.position(gt, !0), Ye = ne(Qe, 2);
|
|
38424
38594
|
Ue = Ye[0], gt = Ye[1];
|
|
38425
38595
|
var Me = document.createRange();
|
|
38426
38596
|
if (De > 0) {
|
|
38427
38597
|
Me.setStart(Ue, gt);
|
|
38428
38598
|
var Be = this.scroll.leaf(Ce + De), He = ne(Be, 2);
|
|
38429
|
-
if (
|
|
38430
|
-
var Xe =
|
|
38599
|
+
if (Ge = He[0], gt = He[1], Ge == null) return null;
|
|
38600
|
+
var Xe = Ge.position(gt, !0), Je = ne(Xe, 2);
|
|
38431
38601
|
return Ue = Je[0], gt = Je[1], Me.setEnd(Ue, gt), Me.getBoundingClientRect();
|
|
38432
38602
|
} else {
|
|
38433
|
-
var Ve = "left",
|
|
38434
|
-
return Ue instanceof Text ? (gt < Ue.data.length ? (Me.setStart(Ue, gt), Me.setEnd(Ue, gt + 1)) : (Me.setStart(Ue, gt - 1), Me.setEnd(Ue, gt), Ve = "right"),
|
|
38435
|
-
bottom:
|
|
38436
|
-
height:
|
|
38437
|
-
left:
|
|
38438
|
-
right:
|
|
38439
|
-
top:
|
|
38603
|
+
var Ve = "left", Ze = void 0;
|
|
38604
|
+
return Ue instanceof Text ? (gt < Ue.data.length ? (Me.setStart(Ue, gt), Me.setEnd(Ue, gt + 1)) : (Me.setStart(Ue, gt - 1), Me.setEnd(Ue, gt), Ve = "right"), Ze = Me.getBoundingClientRect()) : (Ze = Ge.domNode.getBoundingClientRect(), gt > 0 && (Ve = "right")), {
|
|
38605
|
+
bottom: Ze.top + Ze.height,
|
|
38606
|
+
height: Ze.height,
|
|
38607
|
+
left: Ze[Ve],
|
|
38608
|
+
right: Ze[Ve],
|
|
38609
|
+
top: Ze.top,
|
|
38440
38610
|
width: 0
|
|
38441
38611
|
};
|
|
38442
38612
|
}
|
|
@@ -38467,8 +38637,8 @@ function requireQuill() {
|
|
|
38467
38637
|
value: function(Ce) {
|
|
38468
38638
|
var De = this, Fe = [[Ce.start.node, Ce.start.offset]];
|
|
38469
38639
|
Ce.native.collapsed || Fe.push([Ce.end.node, Ce.end.offset]);
|
|
38470
|
-
var Ue = Fe.map(function(
|
|
38471
|
-
var gt = ne(
|
|
38640
|
+
var Ue = Fe.map(function(Ge) {
|
|
38641
|
+
var gt = ne(Ge, 2), Qe = gt[0], Ye = gt[1], Me = de.default.find(Qe, !0), Be = Me.offset(De.scroll);
|
|
38472
38642
|
return Ye === 0 ? Be : Me instanceof de.default.Container ? Be + Me.length() : Be + Me.index(Qe, Ye);
|
|
38473
38643
|
}), We = Math.min(Math.max.apply(Math, Ae(Ue)), this.scroll.length() - 1), Ke = Math.min.apply(Math, [We].concat(Ae(Ue)));
|
|
38474
38644
|
return new Ie(Ke, We - Ke);
|
|
@@ -38498,9 +38668,9 @@ function requireQuill() {
|
|
|
38498
38668
|
key: "rangeToNative",
|
|
38499
38669
|
value: function(Ce) {
|
|
38500
38670
|
var De = this, Fe = Ce.collapsed ? [Ce.index] : [Ce.index, Ce.index + Ce.length], Ue = [], We = this.scroll.length();
|
|
38501
|
-
return Fe.forEach(function(Ke,
|
|
38671
|
+
return Fe.forEach(function(Ke, Ge) {
|
|
38502
38672
|
Ke = Math.min(We - 1, Ke);
|
|
38503
|
-
var gt = void 0, Qe = De.scroll.leaf(Ke), Ye = ne(Qe, 2), Me = Ye[0], Be = Ye[1], He = Me.position(Be,
|
|
38673
|
+
var gt = void 0, Qe = De.scroll.leaf(Ke), Ye = ne(Qe, 2), Me = Ye[0], Be = Ye[1], He = Me.position(Be, Ge !== 0), Xe = ne(He, 2);
|
|
38504
38674
|
gt = Xe[0], Be = Xe[1], Ue.push(gt, Be);
|
|
38505
38675
|
}), Ue.length < 2 && (Ue = Ue.concat(Ue)), Ue;
|
|
38506
38676
|
}
|
|
@@ -38511,12 +38681,12 @@ function requireQuill() {
|
|
|
38511
38681
|
if (De != null) {
|
|
38512
38682
|
var Fe = this.getBounds(De.index, De.length);
|
|
38513
38683
|
if (Fe != null) {
|
|
38514
|
-
var Ue = this.scroll.length() - 1, We = this.scroll.line(Math.min(De.index, Ue)), Ke = ne(We, 1),
|
|
38684
|
+
var Ue = this.scroll.length() - 1, We = this.scroll.line(Math.min(De.index, Ue)), Ke = ne(We, 1), Ge = Ke[0], gt = Ge;
|
|
38515
38685
|
if (De.length > 0) {
|
|
38516
38686
|
var Qe = this.scroll.line(Math.min(De.index + De.length, Ue)), Ye = ne(Qe, 1);
|
|
38517
38687
|
gt = Ye[0];
|
|
38518
38688
|
}
|
|
38519
|
-
if (!(
|
|
38689
|
+
if (!(Ge == null || gt == null)) {
|
|
38520
38690
|
var Me = Ce.getBoundingClientRect();
|
|
38521
38691
|
Fe.top < Me.top ? Ce.scrollTop -= Me.top - Fe.top : Fe.bottom > Me.bottom && (Ce.scrollTop += Fe.bottom - Me.bottom);
|
|
38522
38692
|
}
|
|
@@ -38532,8 +38702,8 @@ function requireQuill() {
|
|
|
38532
38702
|
if (Ke != null)
|
|
38533
38703
|
if (Ce != null) {
|
|
38534
38704
|
this.hasFocus() || this.root.focus();
|
|
38535
|
-
var
|
|
38536
|
-
if (
|
|
38705
|
+
var Ge = (this.getNativeRange() || {}).native;
|
|
38706
|
+
if (Ge == null || We || Ce !== Ge.startContainer || De !== Ge.startOffset || Fe !== Ge.endContainer || Ue !== Ge.endOffset) {
|
|
38537
38707
|
Ce.tagName == "BR" && (De = [].indexOf.call(Ce.parentNode.childNodes, Ce), Ce = Ce.parentNode), Fe.tagName == "BR" && (Ue = [].indexOf.call(Fe.parentNode.childNodes, Fe), Fe = Fe.parentNode);
|
|
38538
38708
|
var gt = document.createRange();
|
|
38539
38709
|
gt.setStart(Ce, De), gt.setEnd(Fe, Ue), Ke.removeAllRanges(), Ke.addRange(gt);
|
|
@@ -38558,10 +38728,10 @@ function requireQuill() {
|
|
|
38558
38728
|
value: function() {
|
|
38559
38729
|
var Ce = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ve.default.sources.USER, De = this.lastRange, Fe = this.getRange(), Ue = ne(Fe, 2), We = Ue[0], Ke = Ue[1];
|
|
38560
38730
|
if (this.lastRange = We, this.lastRange != null && (this.savedRange = this.lastRange), !(0, pe.default)(De, this.lastRange)) {
|
|
38561
|
-
var
|
|
38731
|
+
var Ge;
|
|
38562
38732
|
!this.composing && Ke != null && Ke.native.collapsed && Ke.start.node !== this.cursor.textNode && this.cursor.restore();
|
|
38563
38733
|
var gt = [ve.default.events.SELECTION_CHANGE, (0, ue.default)(this.lastRange), (0, ue.default)(De), Ce];
|
|
38564
|
-
if ((
|
|
38734
|
+
if ((Ge = this.emitter).emit.apply(Ge, [ve.default.events.EDITOR_CHANGE].concat(gt)), Ce !== ve.default.sources.SILENT) {
|
|
38565
38735
|
var Qe;
|
|
38566
38736
|
(Qe = this.emitter).emit.apply(Qe, gt);
|
|
38567
38737
|
}
|
|
@@ -39053,15 +39223,15 @@ function requireQuill() {
|
|
|
39053
39223
|
}
|
|
39054
39224
|
if (Object.getOwnPropertySymbols)
|
|
39055
39225
|
for (var We = Object.getOwnPropertySymbols(Pe), Fe = 0; Fe < We.length; Fe++) {
|
|
39056
|
-
var Ke = We[Fe],
|
|
39057
|
-
|
|
39226
|
+
var Ke = We[Fe], Ge = Object.getOwnPropertyDescriptor(Pe, Ke);
|
|
39227
|
+
Ge && !Ge.enumerable && !Ae || (qe[Ke] = Le(Pe[Ke], ze - 1), Ge.enumerable || Object.defineProperty(qe, Ke, {
|
|
39058
39228
|
enumerable: !1
|
|
39059
39229
|
}));
|
|
39060
39230
|
}
|
|
39061
39231
|
if (Ae)
|
|
39062
39232
|
for (var gt = Object.getOwnPropertyNames(Pe), Fe = 0; Fe < gt.length; Fe++) {
|
|
39063
|
-
var Qe = gt[Fe],
|
|
39064
|
-
|
|
39233
|
+
var Qe = gt[Fe], Ge = Object.getOwnPropertyDescriptor(Pe, Qe);
|
|
39234
|
+
Ge && Ge.enumerable || (qe[Qe] = Le(Pe[Qe], ze - 1), Object.defineProperty(qe, Qe, {
|
|
39065
39235
|
enumerable: !1
|
|
39066
39236
|
}));
|
|
39067
39237
|
}
|
|
@@ -39110,13 +39280,13 @@ function requireQuill() {
|
|
|
39110
39280
|
function qe(Ce, De) {
|
|
39111
39281
|
var Fe = [], Ue = !0, We = !1, Ke = void 0;
|
|
39112
39282
|
try {
|
|
39113
|
-
for (var
|
|
39283
|
+
for (var Ge = Ce[Symbol.iterator](), gt; !(Ue = (gt = Ge.next()).done) && (Fe.push(gt.value), !(De && Fe.length === De)); Ue = !0)
|
|
39114
39284
|
;
|
|
39115
39285
|
} catch (Qe) {
|
|
39116
39286
|
We = !0, Ke = Qe;
|
|
39117
39287
|
} finally {
|
|
39118
39288
|
try {
|
|
39119
|
-
!Ue &&
|
|
39289
|
+
!Ue && Ge.return && Ge.return();
|
|
39120
39290
|
} finally {
|
|
39121
39291
|
if (We) throw Ke;
|
|
39122
39292
|
}
|
|
@@ -39196,15 +39366,15 @@ function requireQuill() {
|
|
|
39196
39366
|
}, {
|
|
39197
39367
|
key: "deleteAt",
|
|
39198
39368
|
value: function(Fe, Ue) {
|
|
39199
|
-
var We = this.line(Fe), Ke = ne(We, 2),
|
|
39200
|
-
if (ce(Ce.prototype.__proto__ || Object.getPrototypeOf(Ce.prototype), "deleteAt", this).call(this, Fe, Ue), Me != null &&
|
|
39201
|
-
if (
|
|
39369
|
+
var We = this.line(Fe), Ke = ne(We, 2), Ge = Ke[0], gt = Ke[1], Qe = this.line(Fe + Ue), Ye = ne(Qe, 1), Me = Ye[0];
|
|
39370
|
+
if (ce(Ce.prototype.__proto__ || Object.getPrototypeOf(Ce.prototype), "deleteAt", this).call(this, Fe, Ue), Me != null && Ge !== Me && gt > 0) {
|
|
39371
|
+
if (Ge instanceof pe.BlockEmbed || Me instanceof pe.BlockEmbed) {
|
|
39202
39372
|
this.optimize();
|
|
39203
39373
|
return;
|
|
39204
39374
|
}
|
|
39205
|
-
if (
|
|
39206
|
-
var Be =
|
|
39207
|
-
if (Be > -1 && (
|
|
39375
|
+
if (Ge instanceof be.default) {
|
|
39376
|
+
var Be = Ge.newlineIndex(Ge.length(), !0);
|
|
39377
|
+
if (Be > -1 && (Ge = Ge.split(Be + 1), Ge === Me)) {
|
|
39208
39378
|
this.optimize();
|
|
39209
39379
|
return;
|
|
39210
39380
|
}
|
|
@@ -39213,7 +39383,7 @@ function requireQuill() {
|
|
|
39213
39383
|
He > -1 && Me.split(He + 1);
|
|
39214
39384
|
}
|
|
39215
39385
|
var Xe = Me.children.head instanceof ye.default ? null : Me.children.head;
|
|
39216
|
-
|
|
39386
|
+
Ge.moveChildren(Me, Xe), Ge.remove();
|
|
39217
39387
|
}
|
|
39218
39388
|
this.optimize();
|
|
39219
39389
|
}
|
|
@@ -39238,8 +39408,8 @@ function requireQuill() {
|
|
|
39238
39408
|
this.appendChild(Ke), We == null && Ue.endsWith(`
|
|
39239
39409
|
`) && (Ue = Ue.slice(0, -1)), Ke.insertAt(0, Ue, We);
|
|
39240
39410
|
} else {
|
|
39241
|
-
var
|
|
39242
|
-
this.appendChild(
|
|
39411
|
+
var Ge = he.default.create(Ue, We);
|
|
39412
|
+
this.appendChild(Ge);
|
|
39243
39413
|
}
|
|
39244
39414
|
else
|
|
39245
39415
|
ce(Ce.prototype.__proto__ || Object.getPrototypeOf(Ce.prototype), "insertAt", this).call(this, Fe, Ue, We);
|
|
@@ -39268,9 +39438,9 @@ function requireQuill() {
|
|
|
39268
39438
|
}, {
|
|
39269
39439
|
key: "lines",
|
|
39270
39440
|
value: function() {
|
|
39271
|
-
var Fe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, We = function Ke(
|
|
39441
|
+
var Fe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, Ue = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, We = function Ke(Ge, gt, Qe) {
|
|
39272
39442
|
var Ye = [], Me = Qe;
|
|
39273
|
-
return
|
|
39443
|
+
return Ge.children.forEachAt(gt, Qe, function(Be, He, Xe) {
|
|
39274
39444
|
Pe(Be) ? Ye.push(Be) : Be instanceof he.default.Container && (Ye = Ye.concat(Ke(Be, He, Me))), Me -= Xe;
|
|
39275
39445
|
}), Ye;
|
|
39276
39446
|
};
|
|
@@ -39310,10 +39480,10 @@ function requireQuill() {
|
|
|
39310
39480
|
} : function(Ve) {
|
|
39311
39481
|
return Ve && typeof Symbol == "function" && Ve.constructor === Symbol && Ve !== Symbol.prototype ? "symbol" : typeof Ve;
|
|
39312
39482
|
}, oe = /* @__PURE__ */ (function() {
|
|
39313
|
-
function Ve(
|
|
39483
|
+
function Ve(Ze, nt) {
|
|
39314
39484
|
var ot = [], bt = !0, xt = !1, It = void 0;
|
|
39315
39485
|
try {
|
|
39316
|
-
for (var Pt =
|
|
39486
|
+
for (var Pt = Ze[Symbol.iterator](), Ut; !(bt = (Ut = Pt.next()).done) && (ot.push(Ut.value), !(nt && ot.length === nt)); bt = !0)
|
|
39317
39487
|
;
|
|
39318
39488
|
} catch (Vt) {
|
|
39319
39489
|
xt = !0, It = Vt;
|
|
@@ -39326,46 +39496,46 @@ function requireQuill() {
|
|
|
39326
39496
|
}
|
|
39327
39497
|
return ot;
|
|
39328
39498
|
}
|
|
39329
|
-
return function(
|
|
39330
|
-
if (Array.isArray(
|
|
39331
|
-
return
|
|
39332
|
-
if (Symbol.iterator in Object(
|
|
39333
|
-
return Ve(
|
|
39499
|
+
return function(Ze, nt) {
|
|
39500
|
+
if (Array.isArray(Ze))
|
|
39501
|
+
return Ze;
|
|
39502
|
+
if (Symbol.iterator in Object(Ze))
|
|
39503
|
+
return Ve(Ze, nt);
|
|
39334
39504
|
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
39335
39505
|
};
|
|
39336
39506
|
})(), ce = /* @__PURE__ */ (function() {
|
|
39337
|
-
function Ve(
|
|
39507
|
+
function Ve(Ze, nt) {
|
|
39338
39508
|
for (var ot = 0; ot < nt.length; ot++) {
|
|
39339
39509
|
var bt = nt[ot];
|
|
39340
|
-
bt.enumerable = bt.enumerable || !1, bt.configurable = !0, "value" in bt && (bt.writable = !0), Object.defineProperty(
|
|
39510
|
+
bt.enumerable = bt.enumerable || !1, bt.configurable = !0, "value" in bt && (bt.writable = !0), Object.defineProperty(Ze, bt.key, bt);
|
|
39341
39511
|
}
|
|
39342
39512
|
}
|
|
39343
|
-
return function(
|
|
39344
|
-
return nt && Ve(
|
|
39513
|
+
return function(Ze, nt, ot) {
|
|
39514
|
+
return nt && Ve(Ze.prototype, nt), ot && Ve(Ze, ot), Ze;
|
|
39345
39515
|
};
|
|
39346
39516
|
})(), de = re(21), he = qe(de), ue = re(11), fe = qe(ue), pe = re(3), ge = qe(pe), ve = re(2), ye = qe(ve), we = re(20), be = qe(we), _e = re(0), Ae = qe(_e), me = re(5), Se = qe(me), Ie = re(10), Le = qe(Ie), Pe = re(9), ze = qe(Pe);
|
|
39347
39517
|
function qe(Ve) {
|
|
39348
39518
|
return Ve && Ve.__esModule ? Ve : { default: Ve };
|
|
39349
39519
|
}
|
|
39350
|
-
function Ce(Ve,
|
|
39351
|
-
return
|
|
39520
|
+
function Ce(Ve, Ze, nt) {
|
|
39521
|
+
return Ze in Ve ? Object.defineProperty(Ve, Ze, { value: nt, enumerable: !0, configurable: !0, writable: !0 }) : Ve[Ze] = nt, Ve;
|
|
39352
39522
|
}
|
|
39353
|
-
function De(Ve,
|
|
39354
|
-
if (!(Ve instanceof
|
|
39523
|
+
function De(Ve, Ze) {
|
|
39524
|
+
if (!(Ve instanceof Ze))
|
|
39355
39525
|
throw new TypeError("Cannot call a class as a function");
|
|
39356
39526
|
}
|
|
39357
|
-
function Fe(Ve,
|
|
39527
|
+
function Fe(Ve, Ze) {
|
|
39358
39528
|
if (!Ve)
|
|
39359
39529
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
39360
|
-
return
|
|
39530
|
+
return Ze && (typeof Ze == "object" || typeof Ze == "function") ? Ze : Ve;
|
|
39361
39531
|
}
|
|
39362
|
-
function Ue(Ve,
|
|
39363
|
-
if (typeof
|
|
39364
|
-
throw new TypeError("Super expression must either be null or a function, not " + typeof
|
|
39365
|
-
Ve.prototype = Object.create(
|
|
39532
|
+
function Ue(Ve, Ze) {
|
|
39533
|
+
if (typeof Ze != "function" && Ze !== null)
|
|
39534
|
+
throw new TypeError("Super expression must either be null or a function, not " + typeof Ze);
|
|
39535
|
+
Ve.prototype = Object.create(Ze && Ze.prototype, { constructor: { value: Ve, enumerable: !1, writable: !0, configurable: !0 } }), Ze && (Object.setPrototypeOf ? Object.setPrototypeOf(Ve, Ze) : Ve.__proto__ = Ze);
|
|
39366
39536
|
}
|
|
39367
|
-
var We = (0, Le.default)("quill:keyboard"), Ke = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey",
|
|
39368
|
-
Ue(
|
|
39537
|
+
var We = (0, Le.default)("quill:keyboard"), Ke = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey", Ge = (function(Ve) {
|
|
39538
|
+
Ue(Ze, Ve), ce(Ze, null, [{
|
|
39369
39539
|
key: "match",
|
|
39370
39540
|
value: function(ot, bt) {
|
|
39371
39541
|
return bt = Je(bt), ["altKey", "ctrlKey", "metaKey", "shiftKey"].some(function(xt) {
|
|
@@ -39373,15 +39543,15 @@ function requireQuill() {
|
|
|
39373
39543
|
}) ? !1 : bt.key === (ot.which || ot.keyCode);
|
|
39374
39544
|
}
|
|
39375
39545
|
}]);
|
|
39376
|
-
function
|
|
39377
|
-
De(this,
|
|
39378
|
-
var bt = Fe(this, (
|
|
39546
|
+
function Ze(nt, ot) {
|
|
39547
|
+
De(this, Ze);
|
|
39548
|
+
var bt = Fe(this, (Ze.__proto__ || Object.getPrototypeOf(Ze)).call(this, nt, ot));
|
|
39379
39549
|
return bt.bindings = {}, Object.keys(bt.options.bindings).forEach(function(xt) {
|
|
39380
39550
|
xt === "list autofill" && nt.scroll.whitelist != null && !nt.scroll.whitelist.list || bt.options.bindings[xt] && bt.addBinding(bt.options.bindings[xt]);
|
|
39381
|
-
}), bt.addBinding({ key:
|
|
39382
|
-
}), /Firefox/i.test(navigator.userAgent) ? (bt.addBinding({ key:
|
|
39551
|
+
}), bt.addBinding({ key: Ze.keys.ENTER, shiftKey: null }, Be), bt.addBinding({ key: Ze.keys.ENTER, metaKey: null, ctrlKey: null, altKey: null }, function() {
|
|
39552
|
+
}), /Firefox/i.test(navigator.userAgent) ? (bt.addBinding({ key: Ze.keys.BACKSPACE }, { collapsed: !0 }, Qe), bt.addBinding({ key: Ze.keys.DELETE }, { collapsed: !0 }, Ye)) : (bt.addBinding({ key: Ze.keys.BACKSPACE }, { collapsed: !0, prefix: /^.?$/ }, Qe), bt.addBinding({ key: Ze.keys.DELETE }, { collapsed: !0, suffix: /^.?$/ }, Ye)), bt.addBinding({ key: Ze.keys.BACKSPACE }, { collapsed: !1 }, Me), bt.addBinding({ key: Ze.keys.DELETE }, { collapsed: !1 }, Me), bt.addBinding({ key: Ze.keys.BACKSPACE, altKey: null, ctrlKey: null, metaKey: null, shiftKey: null }, { collapsed: !0, offset: 0 }, Qe), bt.listen(), bt;
|
|
39383
39553
|
}
|
|
39384
|
-
return ce(
|
|
39554
|
+
return ce(Ze, [{
|
|
39385
39555
|
key: "addBinding",
|
|
39386
39556
|
value: function(ot) {
|
|
39387
39557
|
var bt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, xt = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, It = Je(ot);
|
|
@@ -39396,12 +39566,12 @@ function requireQuill() {
|
|
|
39396
39566
|
this.quill.root.addEventListener("keydown", function(bt) {
|
|
39397
39567
|
if (!bt.defaultPrevented) {
|
|
39398
39568
|
var xt = bt.which || bt.keyCode, It = (ot.bindings[xt] || []).filter(function(Xt) {
|
|
39399
|
-
return
|
|
39569
|
+
return Ze.match(bt, Xt);
|
|
39400
39570
|
});
|
|
39401
39571
|
if (It.length !== 0) {
|
|
39402
39572
|
var Pt = ot.quill.getSelection();
|
|
39403
39573
|
if (!(Pt == null || !ot.quill.hasFocus())) {
|
|
39404
|
-
var Ut = ot.quill.getLine(Pt.index), Vt = oe(Ut, 2), oi = Vt[0], ei = Vt[1], mt = ot.quill.getLeaf(Pt.index), vt = oe(mt, 2), kt = vt[0], Tt = vt[1], wt = Pt.length === 0 ? [kt, Tt] : ot.quill.getLeaf(Pt.index + Pt.length), Nt = oe(wt, 2), St = Nt[0], Ft = Nt[1], ai = kt instanceof Ae.default.Text ? kt.value().slice(0, Tt) : "", ii = St instanceof Ae.default.Text ? St.value().slice(Ft) : "",
|
|
39574
|
+
var Ut = ot.quill.getLine(Pt.index), Vt = oe(Ut, 2), oi = Vt[0], ei = Vt[1], mt = ot.quill.getLeaf(Pt.index), vt = oe(mt, 2), kt = vt[0], Tt = vt[1], wt = Pt.length === 0 ? [kt, Tt] : ot.quill.getLeaf(Pt.index + Pt.length), Nt = oe(wt, 2), St = Nt[0], Ft = Nt[1], ai = kt instanceof Ae.default.Text ? kt.value().slice(0, Tt) : "", ii = St instanceof Ae.default.Text ? St.value().slice(Ft) : "", Zt = {
|
|
39405
39575
|
collapsed: Pt.length === 0,
|
|
39406
39576
|
empty: Pt.length === 0 && oi.length() <= 1,
|
|
39407
39577
|
format: ot.quill.getFormat(Pt),
|
|
@@ -39409,17 +39579,17 @@ function requireQuill() {
|
|
|
39409
39579
|
prefix: ai,
|
|
39410
39580
|
suffix: ii
|
|
39411
39581
|
}, xi = It.some(function(Xt) {
|
|
39412
|
-
if (Xt.collapsed != null && Xt.collapsed !==
|
|
39582
|
+
if (Xt.collapsed != null && Xt.collapsed !== Zt.collapsed || Xt.empty != null && Xt.empty !== Zt.empty || Xt.offset != null && Xt.offset !== Zt.offset) return !1;
|
|
39413
39583
|
if (Array.isArray(Xt.format)) {
|
|
39414
39584
|
if (Xt.format.every(function(pi) {
|
|
39415
|
-
return
|
|
39585
|
+
return Zt.format[pi] == null;
|
|
39416
39586
|
}))
|
|
39417
39587
|
return !1;
|
|
39418
39588
|
} else if (ne(Xt.format) === "object" && !Object.keys(Xt.format).every(function(pi) {
|
|
39419
|
-
return Xt.format[pi] === !0 ?
|
|
39589
|
+
return Xt.format[pi] === !0 ? Zt.format[pi] != null : Xt.format[pi] === !1 ? Zt.format[pi] == null : (0, fe.default)(Xt.format[pi], Zt.format[pi]);
|
|
39420
39590
|
}))
|
|
39421
39591
|
return !1;
|
|
39422
|
-
return Xt.prefix != null && !Xt.prefix.test(
|
|
39592
|
+
return Xt.prefix != null && !Xt.prefix.test(Zt.prefix) || Xt.suffix != null && !Xt.suffix.test(Zt.suffix) ? !1 : Xt.handler.call(ot, Pt, Zt) !== !0;
|
|
39423
39593
|
});
|
|
39424
39594
|
xi && bt.preventDefault();
|
|
39425
39595
|
}
|
|
@@ -39427,9 +39597,9 @@ function requireQuill() {
|
|
|
39427
39597
|
}
|
|
39428
39598
|
});
|
|
39429
39599
|
}
|
|
39430
|
-
}]),
|
|
39600
|
+
}]), Ze;
|
|
39431
39601
|
})(ze.default);
|
|
39432
|
-
|
|
39602
|
+
Ge.keys = {
|
|
39433
39603
|
BACKSPACE: 8,
|
|
39434
39604
|
TAB: 9,
|
|
39435
39605
|
ENTER: 13,
|
|
@@ -39439,32 +39609,32 @@ function requireQuill() {
|
|
|
39439
39609
|
RIGHT: 39,
|
|
39440
39610
|
DOWN: 40,
|
|
39441
39611
|
DELETE: 46
|
|
39442
|
-
},
|
|
39612
|
+
}, Ge.DEFAULTS = {
|
|
39443
39613
|
bindings: {
|
|
39444
39614
|
bold: Xe("bold"),
|
|
39445
39615
|
italic: Xe("italic"),
|
|
39446
39616
|
underline: Xe("underline"),
|
|
39447
39617
|
indent: {
|
|
39448
39618
|
// highlight tab or tab at beginning of list, indent or blockquote
|
|
39449
|
-
key:
|
|
39619
|
+
key: Ge.keys.TAB,
|
|
39450
39620
|
format: ["blockquote", "indent", "list"],
|
|
39451
|
-
handler: function(
|
|
39621
|
+
handler: function(Ze, nt) {
|
|
39452
39622
|
if (nt.collapsed && nt.offset !== 0) return !0;
|
|
39453
39623
|
this.quill.format("indent", "+1", Se.default.sources.USER);
|
|
39454
39624
|
}
|
|
39455
39625
|
},
|
|
39456
39626
|
outdent: {
|
|
39457
|
-
key:
|
|
39627
|
+
key: Ge.keys.TAB,
|
|
39458
39628
|
shiftKey: !0,
|
|
39459
39629
|
format: ["blockquote", "indent", "list"],
|
|
39460
39630
|
// highlight tab or tab at beginning of list, indent or blockquote
|
|
39461
|
-
handler: function(
|
|
39631
|
+
handler: function(Ze, nt) {
|
|
39462
39632
|
if (nt.collapsed && nt.offset !== 0) return !0;
|
|
39463
39633
|
this.quill.format("indent", "-1", Se.default.sources.USER);
|
|
39464
39634
|
}
|
|
39465
39635
|
},
|
|
39466
39636
|
"outdent backspace": {
|
|
39467
|
-
key:
|
|
39637
|
+
key: Ge.keys.BACKSPACE,
|
|
39468
39638
|
collapsed: !0,
|
|
39469
39639
|
shiftKey: null,
|
|
39470
39640
|
metaKey: null,
|
|
@@ -39472,57 +39642,57 @@ function requireQuill() {
|
|
|
39472
39642
|
altKey: null,
|
|
39473
39643
|
format: ["indent", "list"],
|
|
39474
39644
|
offset: 0,
|
|
39475
|
-
handler: function(
|
|
39645
|
+
handler: function(Ze, nt) {
|
|
39476
39646
|
nt.format.indent != null ? this.quill.format("indent", "-1", Se.default.sources.USER) : nt.format.list != null && this.quill.format("list", !1, Se.default.sources.USER);
|
|
39477
39647
|
}
|
|
39478
39648
|
},
|
|
39479
39649
|
"indent code-block": He(!0),
|
|
39480
39650
|
"outdent code-block": He(!1),
|
|
39481
39651
|
"remove tab": {
|
|
39482
|
-
key:
|
|
39652
|
+
key: Ge.keys.TAB,
|
|
39483
39653
|
shiftKey: !0,
|
|
39484
39654
|
collapsed: !0,
|
|
39485
39655
|
prefix: /\t$/,
|
|
39486
|
-
handler: function(
|
|
39487
|
-
this.quill.deleteText(
|
|
39656
|
+
handler: function(Ze) {
|
|
39657
|
+
this.quill.deleteText(Ze.index - 1, 1, Se.default.sources.USER);
|
|
39488
39658
|
}
|
|
39489
39659
|
},
|
|
39490
39660
|
tab: {
|
|
39491
|
-
key:
|
|
39492
|
-
handler: function(
|
|
39661
|
+
key: Ge.keys.TAB,
|
|
39662
|
+
handler: function(Ze) {
|
|
39493
39663
|
this.quill.history.cutoff();
|
|
39494
|
-
var nt = new ye.default().retain(
|
|
39495
|
-
this.quill.updateContents(nt, Se.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(
|
|
39664
|
+
var nt = new ye.default().retain(Ze.index).delete(Ze.length).insert(" ");
|
|
39665
|
+
this.quill.updateContents(nt, Se.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(Ze.index + 1, Se.default.sources.SILENT);
|
|
39496
39666
|
}
|
|
39497
39667
|
},
|
|
39498
39668
|
"list empty enter": {
|
|
39499
|
-
key:
|
|
39669
|
+
key: Ge.keys.ENTER,
|
|
39500
39670
|
collapsed: !0,
|
|
39501
39671
|
format: ["list"],
|
|
39502
39672
|
empty: !0,
|
|
39503
|
-
handler: function(
|
|
39673
|
+
handler: function(Ze, nt) {
|
|
39504
39674
|
this.quill.format("list", !1, Se.default.sources.USER), nt.format.indent && this.quill.format("indent", !1, Se.default.sources.USER);
|
|
39505
39675
|
}
|
|
39506
39676
|
},
|
|
39507
39677
|
"checklist enter": {
|
|
39508
|
-
key:
|
|
39678
|
+
key: Ge.keys.ENTER,
|
|
39509
39679
|
collapsed: !0,
|
|
39510
39680
|
format: { list: "checked" },
|
|
39511
|
-
handler: function(
|
|
39512
|
-
var nt = this.quill.getLine(
|
|
39681
|
+
handler: function(Ze) {
|
|
39682
|
+
var nt = this.quill.getLine(Ze.index), ot = oe(nt, 2), bt = ot[0], xt = ot[1], It = (0, ge.default)({}, bt.formats(), { list: "checked" }), Pt = new ye.default().retain(Ze.index).insert(`
|
|
39513
39683
|
`, It).retain(bt.length() - xt - 1).retain(1, { list: "unchecked" });
|
|
39514
|
-
this.quill.updateContents(Pt, Se.default.sources.USER), this.quill.setSelection(
|
|
39684
|
+
this.quill.updateContents(Pt, Se.default.sources.USER), this.quill.setSelection(Ze.index + 1, Se.default.sources.SILENT), this.quill.scrollIntoView();
|
|
39515
39685
|
}
|
|
39516
39686
|
},
|
|
39517
39687
|
"header enter": {
|
|
39518
|
-
key:
|
|
39688
|
+
key: Ge.keys.ENTER,
|
|
39519
39689
|
collapsed: !0,
|
|
39520
39690
|
format: ["header"],
|
|
39521
39691
|
suffix: /^$/,
|
|
39522
|
-
handler: function(
|
|
39523
|
-
var ot = this.quill.getLine(
|
|
39692
|
+
handler: function(Ze, nt) {
|
|
39693
|
+
var ot = this.quill.getLine(Ze.index), bt = oe(ot, 2), xt = bt[0], It = bt[1], Pt = new ye.default().retain(Ze.index).insert(`
|
|
39524
39694
|
`, nt.format).retain(xt.length() - It - 1).retain(1, { header: null });
|
|
39525
|
-
this.quill.updateContents(Pt, Se.default.sources.USER), this.quill.setSelection(
|
|
39695
|
+
this.quill.updateContents(Pt, Se.default.sources.USER), this.quill.setSelection(Ze.index + 1, Se.default.sources.SILENT), this.quill.scrollIntoView();
|
|
39526
39696
|
}
|
|
39527
39697
|
},
|
|
39528
39698
|
"list autofill": {
|
|
@@ -39530,8 +39700,8 @@ function requireQuill() {
|
|
|
39530
39700
|
collapsed: !0,
|
|
39531
39701
|
format: { list: !1 },
|
|
39532
39702
|
prefix: /^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,
|
|
39533
|
-
handler: function(
|
|
39534
|
-
var ot = nt.prefix.length, bt = this.quill.getLine(
|
|
39703
|
+
handler: function(Ze, nt) {
|
|
39704
|
+
var ot = nt.prefix.length, bt = this.quill.getLine(Ze.index), xt = oe(bt, 2), It = xt[0], Pt = xt[1];
|
|
39535
39705
|
if (Pt > ot) return !0;
|
|
39536
39706
|
var Ut = void 0;
|
|
39537
39707
|
switch (nt.prefix.trim()) {
|
|
@@ -39549,60 +39719,60 @@ function requireQuill() {
|
|
|
39549
39719
|
default:
|
|
39550
39720
|
Ut = "ordered";
|
|
39551
39721
|
}
|
|
39552
|
-
this.quill.insertText(
|
|
39553
|
-
var Vt = new ye.default().retain(
|
|
39554
|
-
this.quill.updateContents(Vt, Se.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(
|
|
39722
|
+
this.quill.insertText(Ze.index, " ", Se.default.sources.USER), this.quill.history.cutoff();
|
|
39723
|
+
var Vt = new ye.default().retain(Ze.index - Pt).delete(ot + 1).retain(It.length() - 2 - Pt).retain(1, { list: Ut });
|
|
39724
|
+
this.quill.updateContents(Vt, Se.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(Ze.index - ot, Se.default.sources.SILENT);
|
|
39555
39725
|
}
|
|
39556
39726
|
},
|
|
39557
39727
|
"code exit": {
|
|
39558
|
-
key:
|
|
39728
|
+
key: Ge.keys.ENTER,
|
|
39559
39729
|
collapsed: !0,
|
|
39560
39730
|
format: ["code-block"],
|
|
39561
39731
|
prefix: /\n\n$/,
|
|
39562
39732
|
suffix: /^\s+$/,
|
|
39563
|
-
handler: function(
|
|
39564
|
-
var nt = this.quill.getLine(
|
|
39733
|
+
handler: function(Ze) {
|
|
39734
|
+
var nt = this.quill.getLine(Ze.index), ot = oe(nt, 2), bt = ot[0], xt = ot[1], It = new ye.default().retain(Ze.index + bt.length() - xt - 2).retain(1, { "code-block": null }).delete(1);
|
|
39565
39735
|
this.quill.updateContents(It, Se.default.sources.USER);
|
|
39566
39736
|
}
|
|
39567
39737
|
},
|
|
39568
|
-
"embed left": gt(
|
|
39569
|
-
"embed left shift": gt(
|
|
39570
|
-
"embed right": gt(
|
|
39571
|
-
"embed right shift": gt(
|
|
39738
|
+
"embed left": gt(Ge.keys.LEFT, !1),
|
|
39739
|
+
"embed left shift": gt(Ge.keys.LEFT, !0),
|
|
39740
|
+
"embed right": gt(Ge.keys.RIGHT, !1),
|
|
39741
|
+
"embed right shift": gt(Ge.keys.RIGHT, !0)
|
|
39572
39742
|
}
|
|
39573
39743
|
};
|
|
39574
|
-
function gt(Ve,
|
|
39575
|
-
var nt, ot = Ve ===
|
|
39744
|
+
function gt(Ve, Ze) {
|
|
39745
|
+
var nt, ot = Ve === Ge.keys.LEFT ? "prefix" : "suffix";
|
|
39576
39746
|
return nt = {
|
|
39577
39747
|
key: Ve,
|
|
39578
|
-
shiftKey:
|
|
39748
|
+
shiftKey: Ze,
|
|
39579
39749
|
altKey: null
|
|
39580
39750
|
}, Ce(nt, ot, /^$/), Ce(nt, "handler", function(xt) {
|
|
39581
39751
|
var It = xt.index;
|
|
39582
|
-
Ve ===
|
|
39752
|
+
Ve === Ge.keys.RIGHT && (It += xt.length + 1);
|
|
39583
39753
|
var Pt = this.quill.getLeaf(It), Ut = oe(Pt, 1), Vt = Ut[0];
|
|
39584
|
-
return Vt instanceof Ae.default.Embed ? (Ve ===
|
|
39754
|
+
return Vt instanceof Ae.default.Embed ? (Ve === Ge.keys.LEFT ? Ze ? this.quill.setSelection(xt.index - 1, xt.length + 1, Se.default.sources.USER) : this.quill.setSelection(xt.index - 1, Se.default.sources.USER) : Ze ? this.quill.setSelection(xt.index, xt.length + 1, Se.default.sources.USER) : this.quill.setSelection(xt.index + xt.length + 1, Se.default.sources.USER), !1) : !0;
|
|
39585
39755
|
}), nt;
|
|
39586
39756
|
}
|
|
39587
|
-
function Qe(Ve,
|
|
39757
|
+
function Qe(Ve, Ze) {
|
|
39588
39758
|
if (!(Ve.index === 0 || this.quill.getLength() <= 1)) {
|
|
39589
39759
|
var nt = this.quill.getLine(Ve.index), ot = oe(nt, 1), bt = ot[0], xt = {};
|
|
39590
|
-
if (
|
|
39760
|
+
if (Ze.offset === 0) {
|
|
39591
39761
|
var It = this.quill.getLine(Ve.index - 1), Pt = oe(It, 1), Ut = Pt[0];
|
|
39592
39762
|
if (Ut != null && Ut.length() > 1) {
|
|
39593
39763
|
var Vt = bt.formats(), oi = this.quill.getFormat(Ve.index - 1, 1);
|
|
39594
39764
|
xt = be.default.attributes.diff(Vt, oi) || {};
|
|
39595
39765
|
}
|
|
39596
39766
|
}
|
|
39597
|
-
var ei = /[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(
|
|
39767
|
+
var ei = /[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(Ze.prefix) ? 2 : 1;
|
|
39598
39768
|
this.quill.deleteText(Ve.index - ei, ei, Se.default.sources.USER), Object.keys(xt).length > 0 && this.quill.formatLine(Ve.index - ei, ei, xt, Se.default.sources.USER), this.quill.focus();
|
|
39599
39769
|
}
|
|
39600
39770
|
}
|
|
39601
|
-
function Ye(Ve,
|
|
39602
|
-
var nt = /^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(
|
|
39771
|
+
function Ye(Ve, Ze) {
|
|
39772
|
+
var nt = /^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(Ze.suffix) ? 2 : 1;
|
|
39603
39773
|
if (!(Ve.index >= this.quill.getLength() - nt)) {
|
|
39604
39774
|
var ot = {}, bt = 0, xt = this.quill.getLine(Ve.index), It = oe(xt, 1), Pt = It[0];
|
|
39605
|
-
if (
|
|
39775
|
+
if (Ze.offset >= Pt.length() - 1) {
|
|
39606
39776
|
var Ut = this.quill.getLine(Ve.index + 1), Vt = oe(Ut, 1), oi = Vt[0];
|
|
39607
39777
|
if (oi) {
|
|
39608
39778
|
var ei = Pt.formats(), mt = this.quill.getFormat(Ve.index, 1);
|
|
@@ -39613,27 +39783,27 @@ function requireQuill() {
|
|
|
39613
39783
|
}
|
|
39614
39784
|
}
|
|
39615
39785
|
function Me(Ve) {
|
|
39616
|
-
var
|
|
39617
|
-
if (
|
|
39618
|
-
var ot =
|
|
39786
|
+
var Ze = this.quill.getLines(Ve), nt = {};
|
|
39787
|
+
if (Ze.length > 1) {
|
|
39788
|
+
var ot = Ze[0].formats(), bt = Ze[Ze.length - 1].formats();
|
|
39619
39789
|
nt = be.default.attributes.diff(bt, ot) || {};
|
|
39620
39790
|
}
|
|
39621
39791
|
this.quill.deleteText(Ve, Se.default.sources.USER), Object.keys(nt).length > 0 && this.quill.formatLine(Ve.index, 1, nt, Se.default.sources.USER), this.quill.setSelection(Ve.index, Se.default.sources.SILENT), this.quill.focus();
|
|
39622
39792
|
}
|
|
39623
|
-
function Be(Ve,
|
|
39793
|
+
function Be(Ve, Ze) {
|
|
39624
39794
|
var nt = this;
|
|
39625
39795
|
Ve.length > 0 && this.quill.scroll.deleteAt(Ve.index, Ve.length);
|
|
39626
|
-
var ot = Object.keys(
|
|
39627
|
-
return Ae.default.query(xt, Ae.default.Scope.BLOCK) && !Array.isArray(
|
|
39796
|
+
var ot = Object.keys(Ze.format).reduce(function(bt, xt) {
|
|
39797
|
+
return Ae.default.query(xt, Ae.default.Scope.BLOCK) && !Array.isArray(Ze.format[xt]) && (bt[xt] = Ze.format[xt]), bt;
|
|
39628
39798
|
}, {});
|
|
39629
39799
|
this.quill.insertText(Ve.index, `
|
|
39630
|
-
`, ot, Se.default.sources.USER), this.quill.setSelection(Ve.index + 1, Se.default.sources.SILENT), this.quill.focus(), Object.keys(
|
|
39631
|
-
ot[bt] == null && (Array.isArray(
|
|
39800
|
+
`, ot, Se.default.sources.USER), this.quill.setSelection(Ve.index + 1, Se.default.sources.SILENT), this.quill.focus(), Object.keys(Ze.format).forEach(function(bt) {
|
|
39801
|
+
ot[bt] == null && (Array.isArray(Ze.format[bt]) || bt !== "link" && nt.quill.format(bt, Ze.format[bt], Se.default.sources.USER));
|
|
39632
39802
|
});
|
|
39633
39803
|
}
|
|
39634
39804
|
function He(Ve) {
|
|
39635
39805
|
return {
|
|
39636
|
-
key:
|
|
39806
|
+
key: Ge.keys.TAB,
|
|
39637
39807
|
shiftKey: !Ve,
|
|
39638
39808
|
format: { "code-block": !0 },
|
|
39639
39809
|
handler: function(nt) {
|
|
@@ -39661,15 +39831,15 @@ function requireQuill() {
|
|
|
39661
39831
|
if (typeof Ve == "string" || typeof Ve == "number")
|
|
39662
39832
|
return Je({ key: Ve });
|
|
39663
39833
|
if ((typeof Ve > "u" ? "undefined" : ne(Ve)) === "object" && (Ve = (0, he.default)(Ve, !1)), typeof Ve.key == "string")
|
|
39664
|
-
if (
|
|
39665
|
-
Ve.key =
|
|
39834
|
+
if (Ge.keys[Ve.key.toUpperCase()] != null)
|
|
39835
|
+
Ve.key = Ge.keys[Ve.key.toUpperCase()];
|
|
39666
39836
|
else if (Ve.key.length === 1)
|
|
39667
39837
|
Ve.key = Ve.key.toUpperCase().charCodeAt(0);
|
|
39668
39838
|
else
|
|
39669
39839
|
return null;
|
|
39670
39840
|
return Ve.shortKey && (Ve[Ke] = Ve.shortKey, delete Ve.shortKey), Ve;
|
|
39671
39841
|
}
|
|
39672
|
-
te.default =
|
|
39842
|
+
te.default = Ge, te.SHORTKEY = Ke;
|
|
39673
39843
|
}),
|
|
39674
39844
|
/* 24 */
|
|
39675
39845
|
/***/
|
|
@@ -40518,18 +40688,18 @@ function requireQuill() {
|
|
|
40518
40688
|
};
|
|
40519
40689
|
if (!(De.type === "Caret" || De.type === "Range"))
|
|
40520
40690
|
throw new TypeError("unexpected type: " + De.type);
|
|
40521
|
-
var Ke = ge(De, qe, !0),
|
|
40522
|
-
if (De.type === "Range" && (
|
|
40691
|
+
var Ke = ge(De, qe, !0), Ge = void 0, gt = void 0;
|
|
40692
|
+
if (De.type === "Range" && (Ge = ge(De, qe, !1), gt = _e(De, Ke, Ge)), De.type === "Caret") {
|
|
40523
40693
|
De.extend(Ke, 0);
|
|
40524
40694
|
var Qe = We();
|
|
40525
40695
|
return De.collapseToEnd(), Ce.setStart(Ke, Qe), Ce.setEnd(Ke, Qe), { range: Ce, mode: "caret" };
|
|
40526
40696
|
} else if (gt === void 0) {
|
|
40527
40697
|
if (De.type !== "Range")
|
|
40528
40698
|
throw new TypeError("unexpected type: " + De.type);
|
|
40529
|
-
return Ce.setStart(Ke, 0), Ce.setEnd(
|
|
40699
|
+
return Ce.setStart(Ke, 0), Ce.setEnd(Ge, Ge.length), { range: Ce, mode: "all" };
|
|
40530
40700
|
}
|
|
40531
|
-
var Ye = We(), Me = void 0, Be = void 0, He =
|
|
40532
|
-
return gt ? (De.extend(Ke, 0), Me = We() + me(Ke), De.extend(
|
|
40701
|
+
var Ye = We(), Me = void 0, Be = void 0, He = Ge.length - Se(Ge);
|
|
40702
|
+
return gt ? (De.extend(Ke, 0), Me = We() + me(Ke), De.extend(Ge, He), Be = He - (We() - Ye), De.extend(Ge, Be)) : (De.extend(Ge, He), Be = He - We(), De.extend(Ke, 0), Me = We() - Ye + me(Ke), De.extend(Ke, Me)), Ce.setStart(Ke, Me), Ce.setEnd(Ge, Be), {
|
|
40533
40703
|
mode: gt ? "right" : "left",
|
|
40534
40704
|
range: Ce
|
|
40535
40705
|
};
|
|
@@ -41007,8 +41177,8 @@ function requireQuill() {
|
|
|
41007
41177
|
He === null && (He = Function.prototype);
|
|
41008
41178
|
var Ve = Object.getOwnPropertyDescriptor(He, Xe);
|
|
41009
41179
|
if (Ve === void 0) {
|
|
41010
|
-
var
|
|
41011
|
-
return
|
|
41180
|
+
var Ze = Object.getPrototypeOf(He);
|
|
41181
|
+
return Ze === null ? void 0 : Be(Ze, Xe, Je);
|
|
41012
41182
|
} else {
|
|
41013
41183
|
if ("value" in Ve)
|
|
41014
41184
|
return Ve.value;
|
|
@@ -41033,18 +41203,18 @@ function requireQuill() {
|
|
|
41033
41203
|
throw new TypeError("Super expression must either be null or a function, not " + typeof He);
|
|
41034
41204
|
Be.prototype = Object.create(He && He.prototype, { constructor: { value: Be, enumerable: !1, writable: !0, configurable: !0 } }), He && (Object.setPrototypeOf ? Object.setPrototypeOf(Be, He) : Be.__proto__ = He);
|
|
41035
41205
|
}
|
|
41036
|
-
var Fe = [!1, "center", "right", "justify"], Ue = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], We = [!1, "serif", "monospace"], Ke = ["1", "2", "3", !1],
|
|
41206
|
+
var Fe = [!1, "center", "right", "justify"], Ue = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], We = [!1, "serif", "monospace"], Ke = ["1", "2", "3", !1], Ge = ["petita", !1, "gran", "enorme"], gt = (function(Be) {
|
|
41037
41207
|
De(He, Be);
|
|
41038
41208
|
function He(Xe, Je) {
|
|
41039
41209
|
qe(this, He);
|
|
41040
|
-
var Ve = Ce(this, (He.__proto__ || Object.getPrototypeOf(He)).call(this, Xe, Je)),
|
|
41210
|
+
var Ve = Ce(this, (He.__proto__ || Object.getPrototypeOf(He)).call(this, Xe, Je)), Ze = function nt(ot) {
|
|
41041
41211
|
if (!document.body.contains(Xe.root))
|
|
41042
41212
|
return document.body.removeEventListener("click", nt);
|
|
41043
41213
|
Ve.tooltip != null && !Ve.tooltip.root.contains(ot.target) && document.activeElement !== Ve.tooltip.textbox && !Ve.quill.hasFocus() && Ve.tooltip.hide(), Ve.pickers != null && Ve.pickers.forEach(function(bt) {
|
|
41044
41214
|
bt.container.contains(ot.target) || bt.close();
|
|
41045
41215
|
});
|
|
41046
41216
|
};
|
|
41047
|
-
return Xe.emitter.listenDOM("click", document.body,
|
|
41217
|
+
return Xe.emitter.listenDOM("click", document.body, Ze), Ve;
|
|
41048
41218
|
}
|
|
41049
41219
|
return ne(He, [{
|
|
41050
41220
|
key: "addModule",
|
|
@@ -41055,17 +41225,17 @@ function requireQuill() {
|
|
|
41055
41225
|
}, {
|
|
41056
41226
|
key: "buildButtons",
|
|
41057
41227
|
value: function(Je, Ve) {
|
|
41058
|
-
Je.forEach(function(
|
|
41059
|
-
var nt =
|
|
41228
|
+
Je.forEach(function(Ze) {
|
|
41229
|
+
var nt = Ze.getAttribute("class") || "";
|
|
41060
41230
|
nt.split(/\s+/).forEach(function(ot) {
|
|
41061
41231
|
if (ot.startsWith("ql-") && (ot = ot.slice(3), Ve[ot] != null))
|
|
41062
41232
|
if (ot === "direction")
|
|
41063
|
-
|
|
41233
|
+
Ze.innerHTML = Ve[ot][""] + Ve[ot].rtl;
|
|
41064
41234
|
else if (typeof Ve[ot] == "string")
|
|
41065
|
-
|
|
41235
|
+
Ze.innerHTML = Ve[ot];
|
|
41066
41236
|
else {
|
|
41067
|
-
var bt =
|
|
41068
|
-
bt != null && Ve[ot][bt] && (
|
|
41237
|
+
var bt = Ze.value || "";
|
|
41238
|
+
bt != null && Ve[ot][bt] && (Ze.innerHTML = Ve[ot][bt]);
|
|
41069
41239
|
}
|
|
41070
41240
|
});
|
|
41071
41241
|
});
|
|
@@ -41073,7 +41243,7 @@ function requireQuill() {
|
|
|
41073
41243
|
}, {
|
|
41074
41244
|
key: "buildPickers",
|
|
41075
41245
|
value: function(Je, Ve) {
|
|
41076
|
-
var
|
|
41246
|
+
var Ze = this;
|
|
41077
41247
|
this.pickers = Je.map(function(ot) {
|
|
41078
41248
|
if (ot.classList.contains("ql-align"))
|
|
41079
41249
|
return ot.querySelector("option") == null && Me(ot, Fe), new me.default(ot, Ve.align);
|
|
@@ -41081,10 +41251,10 @@ function requireQuill() {
|
|
|
41081
41251
|
var bt = ot.classList.contains("ql-background") ? "background" : "color";
|
|
41082
41252
|
return ot.querySelector("option") == null && Me(ot, Ue, bt === "background" ? "#ffffff" : "#000000"), new _e.default(ot, Ve[bt]);
|
|
41083
41253
|
} else
|
|
41084
|
-
return ot.querySelector("option") == null && (ot.classList.contains("ql-font") ? Me(ot, We) : ot.classList.contains("ql-header") ? Me(ot, Ke) : ot.classList.contains("ql-size") && Me(ot,
|
|
41254
|
+
return ot.querySelector("option") == null && (ot.classList.contains("ql-font") ? Me(ot, We) : ot.classList.contains("ql-header") ? Me(ot, Ke) : ot.classList.contains("ql-size") && Me(ot, Ge)), new Ie.default(ot);
|
|
41085
41255
|
});
|
|
41086
41256
|
var nt = function() {
|
|
41087
|
-
|
|
41257
|
+
Ze.pickers.forEach(function(bt) {
|
|
41088
41258
|
bt.update();
|
|
41089
41259
|
});
|
|
41090
41260
|
};
|
|
@@ -41105,8 +41275,8 @@ function requireQuill() {
|
|
|
41105
41275
|
if (Xe.files != null && Xe.files[0] != null) {
|
|
41106
41276
|
var Je = new FileReader();
|
|
41107
41277
|
Je.onload = function(Ve) {
|
|
41108
|
-
var
|
|
41109
|
-
He.quill.updateContents(new ue.default().retain(
|
|
41278
|
+
var Ze = He.quill.getSelection(!0);
|
|
41279
|
+
He.quill.updateContents(new ue.default().retain(Ze.index).delete(Ze.length).insert({ image: Ve.target.result }), pe.default.sources.USER), He.quill.setSelection(Ze.index + 1, pe.default.sources.SILENT), Xe.value = "";
|
|
41110
41280
|
}, Je.readAsDataURL(Xe.files[0]);
|
|
41111
41281
|
}
|
|
41112
41282
|
}), this.container.appendChild(Xe)), Xe.click();
|
|
@@ -41165,9 +41335,9 @@ function requireQuill() {
|
|
|
41165
41335
|
// eslint-disable-next-line no-fallthrough
|
|
41166
41336
|
case "formula": {
|
|
41167
41337
|
if (!Je) break;
|
|
41168
|
-
var
|
|
41169
|
-
if (
|
|
41170
|
-
var nt =
|
|
41338
|
+
var Ze = this.quill.getSelection(!0);
|
|
41339
|
+
if (Ze != null) {
|
|
41340
|
+
var nt = Ze.index + Ze.length;
|
|
41171
41341
|
this.quill.insertEmbed(nt, this.root.getAttribute("data-mode"), Je, pe.default.sources.USER), this.root.getAttribute("data-mode") === "formula" && this.quill.insertText(nt + 1, " ", pe.default.sources.USER), this.quill.setSelection(nt + 2, pe.default.sources.USER);
|
|
41172
41342
|
}
|
|
41173
41343
|
break;
|
|
@@ -41610,8 +41780,8 @@ function requireQuill() {
|
|
|
41610
41780
|
return [[re, me], [ne, Se]];
|
|
41611
41781
|
var qe = ge(me, Se);
|
|
41612
41782
|
if (qe) {
|
|
41613
|
-
var Ce = qe[0], De = qe[1], Fe = qe[2], Ue = qe[3], We = qe[4], Ke = ce(Ce, Fe),
|
|
41614
|
-
return Ke.concat([[oe, We]],
|
|
41783
|
+
var Ce = qe[0], De = qe[1], Fe = qe[2], Ue = qe[3], We = qe[4], Ke = ce(Ce, Fe), Ge = ce(De, Ue);
|
|
41784
|
+
return Ke.concat([[oe, We]], Ge);
|
|
41615
41785
|
}
|
|
41616
41786
|
return he(me, Se);
|
|
41617
41787
|
}
|
|
@@ -41619,14 +41789,14 @@ function requireQuill() {
|
|
|
41619
41789
|
for (var Ie = me.length, Le = Se.length, Pe = Math.ceil((Ie + Le) / 2), ze = Pe, qe = 2 * Pe, Ce = new Array(qe), De = new Array(qe), Fe = 0; Fe < qe; Fe++)
|
|
41620
41790
|
Ce[Fe] = -1, De[Fe] = -1;
|
|
41621
41791
|
Ce[ze + 1] = 0, De[ze + 1] = 0;
|
|
41622
|
-
for (var Ue = Ie - Le, We = Ue % 2 != 0, Ke = 0,
|
|
41623
|
-
for (var Me = -Ye + Ke; Me <= Ye -
|
|
41792
|
+
for (var Ue = Ie - Le, We = Ue % 2 != 0, Ke = 0, Ge = 0, gt = 0, Qe = 0, Ye = 0; Ye < Pe; Ye++) {
|
|
41793
|
+
for (var Me = -Ye + Ke; Me <= Ye - Ge; Me += 2) {
|
|
41624
41794
|
var Be = ze + Me, He;
|
|
41625
41795
|
Me == -Ye || Me != Ye && Ce[Be - 1] < Ce[Be + 1] ? He = Ce[Be + 1] : He = Ce[Be - 1] + 1;
|
|
41626
41796
|
for (var Xe = He - Me; He < Ie && Xe < Le && me.charAt(He) == Se.charAt(Xe); )
|
|
41627
41797
|
He++, Xe++;
|
|
41628
41798
|
if (Ce[Be] = He, He > Ie)
|
|
41629
|
-
|
|
41799
|
+
Ge += 2;
|
|
41630
41800
|
else if (Xe > Le)
|
|
41631
41801
|
Ke += 2;
|
|
41632
41802
|
else if (We) {
|
|
@@ -41638,17 +41808,17 @@ function requireQuill() {
|
|
|
41638
41808
|
}
|
|
41639
41809
|
}
|
|
41640
41810
|
}
|
|
41641
|
-
for (var
|
|
41642
|
-
var Je = ze +
|
|
41643
|
-
|
|
41644
|
-
for (var nt = Ve -
|
|
41811
|
+
for (var Ze = -Ye + gt; Ze <= Ye - Qe; Ze += 2) {
|
|
41812
|
+
var Je = ze + Ze, Ve;
|
|
41813
|
+
Ze == -Ye || Ze != Ye && De[Je - 1] < De[Je + 1] ? Ve = De[Je + 1] : Ve = De[Je - 1] + 1;
|
|
41814
|
+
for (var nt = Ve - Ze; Ve < Ie && nt < Le && me.charAt(Ie - Ve - 1) == Se.charAt(Le - nt - 1); )
|
|
41645
41815
|
Ve++, nt++;
|
|
41646
41816
|
if (De[Je] = Ve, Ve > Ie)
|
|
41647
41817
|
Qe += 2;
|
|
41648
41818
|
else if (nt > Le)
|
|
41649
41819
|
gt += 2;
|
|
41650
41820
|
else if (!We) {
|
|
41651
|
-
var Be = ze + Ue -
|
|
41821
|
+
var Be = ze + Ue - Ze;
|
|
41652
41822
|
if (Be >= 0 && Be < qe && Ce[Be] != -1) {
|
|
41653
41823
|
var He = Ce[Be], Xe = ze + He - Be;
|
|
41654
41824
|
if (Ve = Ie - Ve, He >= Ve)
|
|
@@ -41681,18 +41851,18 @@ function requireQuill() {
|
|
|
41681
41851
|
var Ie = me.length > Se.length ? me : Se, Le = me.length > Se.length ? Se : me;
|
|
41682
41852
|
if (Ie.length < 4 || Le.length * 2 < Ie.length)
|
|
41683
41853
|
return null;
|
|
41684
|
-
function Pe(
|
|
41685
|
-
for (var Ye =
|
|
41686
|
-
var
|
|
41687
|
-
|
|
41854
|
+
function Pe(Ge, gt, Qe) {
|
|
41855
|
+
for (var Ye = Ge.substring(Qe, Qe + Math.floor(Ge.length / 4)), Me = -1, Be = "", He, Xe, Je, Ve; (Me = gt.indexOf(Ye, Me + 1)) != -1; ) {
|
|
41856
|
+
var Ze = fe(
|
|
41857
|
+
Ge.substring(Qe),
|
|
41688
41858
|
gt.substring(Me)
|
|
41689
41859
|
), nt = pe(
|
|
41690
|
-
|
|
41860
|
+
Ge.substring(0, Qe),
|
|
41691
41861
|
gt.substring(0, Me)
|
|
41692
41862
|
);
|
|
41693
|
-
Be.length < nt +
|
|
41863
|
+
Be.length < nt + Ze && (Be = gt.substring(Me - nt, Me) + gt.substring(Me, Me + Ze), He = Ge.substring(0, Qe - nt), Xe = Ge.substring(Qe + Ze), Je = gt.substring(0, Me - nt), Ve = gt.substring(Me + Ze));
|
|
41694
41864
|
}
|
|
41695
|
-
return Be.length * 2 >=
|
|
41865
|
+
return Be.length * 2 >= Ge.length ? [
|
|
41696
41866
|
He,
|
|
41697
41867
|
Xe,
|
|
41698
41868
|
Je,
|
|
@@ -42000,7 +42170,7 @@ function requireQuill() {
|
|
|
42000
42170
|
throw new TypeError("Super expression must either be null or a function, not " + typeof vt);
|
|
42001
42171
|
mt.prototype = Object.create(vt && vt.prototype, { constructor: { value: mt, enumerable: !1, writable: !0, configurable: !0 } }), vt && (Object.setPrototypeOf ? Object.setPrototypeOf(mt, vt) : mt.__proto__ = vt);
|
|
42002
42172
|
}
|
|
42003
|
-
var
|
|
42173
|
+
var Ge = (0, be.default)("quill:clipboard"), gt = "__ql-matcher", Qe = [[Node.TEXT_NODE, ei], [Node.TEXT_NODE, Ut], ["br", xt], [Node.ELEMENT_NODE, Ut], [Node.ELEMENT_NODE, bt], [Node.ELEMENT_NODE, Vt], [Node.ELEMENT_NODE, ot], [Node.ELEMENT_NODE, oi], ["li", Pt], ["b", nt.bind(nt, "bold")], ["i", nt.bind(nt, "italic")], ["style", It]], Ye = [me.AlignAttribute, ze.DirectionAttribute].reduce(function(mt, vt) {
|
|
42004
42174
|
return mt[vt.keyName] = vt, mt;
|
|
42005
42175
|
}, {}), Me = [me.AlignStyle, Se.BackgroundStyle, Pe.ColorStyle, ze.DirectionStyle, qe.FontStyle, Ce.SizeStyle].reduce(function(mt, vt) {
|
|
42006
42176
|
return mt[vt.keyName] = vt, mt;
|
|
@@ -42029,9 +42199,9 @@ function requireQuill() {
|
|
|
42029
42199
|
var Nt = this.container.innerText;
|
|
42030
42200
|
return this.container.innerHTML = "", new fe.default().insert(Nt, Fe({}, Le.default.blotName, wt[Le.default.blotName]));
|
|
42031
42201
|
}
|
|
42032
|
-
var St = this.prepareMatching(), Ft = oe(St, 2), ai = Ft[0], ii = Ft[1],
|
|
42033
|
-
return Je(
|
|
42034
|
-
`) &&
|
|
42202
|
+
var St = this.prepareMatching(), Ft = oe(St, 2), ai = Ft[0], ii = Ft[1], Zt = Ze(this.container, ai, ii);
|
|
42203
|
+
return Je(Zt, `
|
|
42204
|
+
`) && Zt.ops[Zt.ops.length - 1].attributes == null && (Zt = Zt.compose(new fe.default().retain(Zt.length() - 1).delete(1))), Ge.log("convert", this.container.innerHTML, Zt), this.container.innerHTML = "", Zt;
|
|
42035
42205
|
}
|
|
42036
42206
|
}, {
|
|
42037
42207
|
key: "dangerouslyPasteHTML",
|
|
@@ -42069,8 +42239,8 @@ function requireQuill() {
|
|
|
42069
42239
|
wt.push(ii);
|
|
42070
42240
|
break;
|
|
42071
42241
|
default:
|
|
42072
|
-
[].forEach.call(Tt.container.querySelectorAll(ai), function(
|
|
42073
|
-
|
|
42242
|
+
[].forEach.call(Tt.container.querySelectorAll(ai), function(Zt) {
|
|
42243
|
+
Zt[gt] = Zt[gt] || [], Zt[gt].push(ii);
|
|
42074
42244
|
});
|
|
42075
42245
|
break;
|
|
42076
42246
|
}
|
|
@@ -42107,11 +42277,11 @@ function requireQuill() {
|
|
|
42107
42277
|
var vt = Xe(mt);
|
|
42108
42278
|
return ["block", "list-item"].indexOf(vt.display) > -1;
|
|
42109
42279
|
}
|
|
42110
|
-
function
|
|
42280
|
+
function Ze(mt, vt, kt) {
|
|
42111
42281
|
return mt.nodeType === mt.TEXT_NODE ? kt.reduce(function(Tt, wt) {
|
|
42112
42282
|
return wt(mt, Tt);
|
|
42113
42283
|
}, new fe.default()) : mt.nodeType === mt.ELEMENT_NODE ? [].reduce.call(mt.childNodes || [], function(Tt, wt) {
|
|
42114
|
-
var Nt =
|
|
42284
|
+
var Nt = Ze(wt, vt, kt);
|
|
42115
42285
|
return wt.nodeType === mt.ELEMENT_NODE && (Nt = vt.reduce(function(St, Ft) {
|
|
42116
42286
|
return Ft(wt, St);
|
|
42117
42287
|
}, Nt), Nt = (wt[gt] || []).reduce(function(St, Ft) {
|
|
@@ -42268,17 +42438,17 @@ function requireQuill() {
|
|
|
42268
42438
|
}), te.addControls = te.default = void 0;
|
|
42269
42439
|
var ne = /* @__PURE__ */ (function() {
|
|
42270
42440
|
function De(Fe, Ue) {
|
|
42271
|
-
var We = [], Ke = !0,
|
|
42441
|
+
var We = [], Ke = !0, Ge = !1, gt = void 0;
|
|
42272
42442
|
try {
|
|
42273
42443
|
for (var Qe = Fe[Symbol.iterator](), Ye; !(Ke = (Ye = Qe.next()).done) && (We.push(Ye.value), !(Ue && We.length === Ue)); Ke = !0)
|
|
42274
42444
|
;
|
|
42275
42445
|
} catch (Me) {
|
|
42276
|
-
|
|
42446
|
+
Ge = !0, gt = Me;
|
|
42277
42447
|
} finally {
|
|
42278
42448
|
try {
|
|
42279
42449
|
!Ke && Qe.return && Qe.return();
|
|
42280
42450
|
} finally {
|
|
42281
|
-
if (
|
|
42451
|
+
if (Ge) throw gt;
|
|
42282
42452
|
}
|
|
42283
42453
|
}
|
|
42284
42454
|
return We;
|
|
@@ -42327,8 +42497,8 @@ function requireQuill() {
|
|
|
42327
42497
|
Ae(this, Fe);
|
|
42328
42498
|
var Ke = me(this, (Fe.__proto__ || Object.getPrototypeOf(Fe)).call(this, Ue, We));
|
|
42329
42499
|
if (Array.isArray(Ke.options.container)) {
|
|
42330
|
-
var
|
|
42331
|
-
qe(
|
|
42500
|
+
var Ge = document.createElement("div");
|
|
42501
|
+
qe(Ge, Ke.options.container), Ue.container.parentNode.insertBefore(Ge, Ue.container), Ke.container = Ge;
|
|
42332
42502
|
} else if (typeof Ke.options.container == "string") {
|
|
42333
42503
|
var gt = Ie ? Ue.container.getRootNode() : document;
|
|
42334
42504
|
Ke.container = gt.querySelector(Ke.options.container);
|
|
@@ -42357,17 +42527,17 @@ function requireQuill() {
|
|
|
42357
42527
|
}, {
|
|
42358
42528
|
key: "attach",
|
|
42359
42529
|
value: function(We) {
|
|
42360
|
-
var Ke = this,
|
|
42530
|
+
var Ke = this, Ge = [].find.call(We.classList, function(Qe) {
|
|
42361
42531
|
return Qe.indexOf("ql-") === 0;
|
|
42362
42532
|
});
|
|
42363
|
-
if (
|
|
42364
|
-
if (
|
|
42365
|
-
if (this.quill.scroll.whitelist != null && this.quill.scroll.whitelist[
|
|
42366
|
-
Le.warn("ignoring attaching to disabled format",
|
|
42533
|
+
if (Ge) {
|
|
42534
|
+
if (Ge = Ge.slice(3), We.tagName === "BUTTON" && We.setAttribute("type", "button"), this.handlers[Ge] == null) {
|
|
42535
|
+
if (this.quill.scroll.whitelist != null && this.quill.scroll.whitelist[Ge] == null) {
|
|
42536
|
+
Le.warn("ignoring attaching to disabled format", Ge, We);
|
|
42367
42537
|
return;
|
|
42368
42538
|
}
|
|
42369
|
-
if (ue.default.query(
|
|
42370
|
-
Le.warn("ignoring attaching to nonexistent format",
|
|
42539
|
+
if (ue.default.query(Ge) == null) {
|
|
42540
|
+
Le.warn("ignoring attaching to nonexistent format", Ge, We);
|
|
42371
42541
|
return;
|
|
42372
42542
|
}
|
|
42373
42543
|
}
|
|
@@ -42382,23 +42552,23 @@ function requireQuill() {
|
|
|
42382
42552
|
We.classList.contains("ql-active") ? Ye = !1 : Ye = We.value || !We.hasAttribute("value"), Qe.preventDefault();
|
|
42383
42553
|
Ke.quill.focus();
|
|
42384
42554
|
var Be = Ke.quill.selection.getRange(), He = ne(Be, 1), Xe = He[0];
|
|
42385
|
-
if (Ke.handlers[
|
|
42386
|
-
Ke.handlers[
|
|
42387
|
-
else if (ue.default.query(
|
|
42388
|
-
if (Ye = prompt("Enter " +
|
|
42389
|
-
Ke.quill.updateContents(new de.default().retain(Xe.index).delete(Xe.length).insert(_e({},
|
|
42555
|
+
if (Ke.handlers[Ge] != null)
|
|
42556
|
+
Ke.handlers[Ge].call(Ke, Ye);
|
|
42557
|
+
else if (ue.default.query(Ge).prototype instanceof ue.default.Embed) {
|
|
42558
|
+
if (Ye = prompt("Enter " + Ge), !Ye) return;
|
|
42559
|
+
Ke.quill.updateContents(new de.default().retain(Xe.index).delete(Xe.length).insert(_e({}, Ge, Ye)), pe.default.sources.USER);
|
|
42390
42560
|
} else
|
|
42391
|
-
Ke.quill.format(
|
|
42561
|
+
Ke.quill.format(Ge, Ye, pe.default.sources.USER);
|
|
42392
42562
|
Ke.update(Xe);
|
|
42393
|
-
}), this.controls.push([
|
|
42563
|
+
}), this.controls.push([Ge, We]);
|
|
42394
42564
|
}
|
|
42395
42565
|
}
|
|
42396
42566
|
}, {
|
|
42397
42567
|
key: "update",
|
|
42398
42568
|
value: function(We) {
|
|
42399
42569
|
var Ke = We == null ? {} : this.quill.getFormat(We);
|
|
42400
|
-
this.controls.forEach(function(
|
|
42401
|
-
var gt = ne(
|
|
42570
|
+
this.controls.forEach(function(Ge) {
|
|
42571
|
+
var gt = ne(Ge, 2), Qe = gt[0], Ye = gt[1];
|
|
42402
42572
|
if (Ye.tagName === "SELECT") {
|
|
42403
42573
|
var Me = void 0;
|
|
42404
42574
|
if (We == null)
|
|
@@ -42433,8 +42603,8 @@ function requireQuill() {
|
|
|
42433
42603
|
if (typeof Ke == "string")
|
|
42434
42604
|
ze(We, Ke);
|
|
42435
42605
|
else {
|
|
42436
|
-
var
|
|
42437
|
-
Array.isArray(gt) ? Ce(We,
|
|
42606
|
+
var Ge = Object.keys(Ke)[0], gt = Ke[Ge];
|
|
42607
|
+
Array.isArray(gt) ? Ce(We, Ge, gt) : ze(We, Ge, gt);
|
|
42438
42608
|
}
|
|
42439
42609
|
}), De.appendChild(We);
|
|
42440
42610
|
});
|
|
@@ -42442,8 +42612,8 @@ function requireQuill() {
|
|
|
42442
42612
|
function Ce(De, Fe, Ue) {
|
|
42443
42613
|
var We = document.createElement("select");
|
|
42444
42614
|
We.classList.add("ql-" + Fe), Ue.forEach(function(Ke) {
|
|
42445
|
-
var
|
|
42446
|
-
Ke !== !1 ?
|
|
42615
|
+
var Ge = document.createElement("option");
|
|
42616
|
+
Ke !== !1 ? Ge.setAttribute("value", Ke) : Ge.setAttribute("selected", "selected"), We.appendChild(Ge);
|
|
42447
42617
|
}), De.appendChild(We);
|
|
42448
42618
|
}
|
|
42449
42619
|
Pe.DEFAULTS = {
|
|
@@ -42467,8 +42637,8 @@ function requireQuill() {
|
|
|
42467
42637
|
indent: function(Fe) {
|
|
42468
42638
|
var Ue = this.quill.getSelection(), We = this.quill.getFormat(Ue), Ke = parseInt(We.indent || 0);
|
|
42469
42639
|
if (Fe === "+1" || Fe === "-1") {
|
|
42470
|
-
var
|
|
42471
|
-
We.direction === "rtl" && (
|
|
42640
|
+
var Ge = Fe === "+1" ? 1 : -1;
|
|
42641
|
+
We.direction === "rtl" && (Ge *= -1), this.quill.format("indent", Ke + Ge, pe.default.sources.USER);
|
|
42472
42642
|
}
|
|
42473
42643
|
},
|
|
42474
42644
|
link: function(Fe) {
|
|
@@ -42686,13 +42856,13 @@ function requireQuill() {
|
|
|
42686
42856
|
function qe(Ce, De) {
|
|
42687
42857
|
var Fe = [], Ue = !0, We = !1, Ke = void 0;
|
|
42688
42858
|
try {
|
|
42689
|
-
for (var
|
|
42859
|
+
for (var Ge = Ce[Symbol.iterator](), gt; !(Ue = (gt = Ge.next()).done) && (Fe.push(gt.value), !(De && Fe.length === De)); Ue = !0)
|
|
42690
42860
|
;
|
|
42691
42861
|
} catch (Qe) {
|
|
42692
42862
|
We = !0, Ke = Qe;
|
|
42693
42863
|
} finally {
|
|
42694
42864
|
try {
|
|
42695
|
-
!Ue &&
|
|
42865
|
+
!Ue && Ge.return && Ge.return();
|
|
42696
42866
|
} finally {
|
|
42697
42867
|
if (We) throw Ke;
|
|
42698
42868
|
}
|
|
@@ -42803,7 +42973,7 @@ function requireQuill() {
|
|
|
42803
42973
|
}), this.quill.on(fe.default.events.SELECTION_CHANGE, function(Ue, We, Ke) {
|
|
42804
42974
|
if (Ue != null) {
|
|
42805
42975
|
if (Ue.length === 0 && Ke === fe.default.sources.USER) {
|
|
42806
|
-
var
|
|
42976
|
+
var Ge = Fe.quill.scroll.descendant(ye.default, Ue.index), gt = ne(Ge, 2), Qe = gt[0], Ye = gt[1];
|
|
42807
42977
|
if (Qe != null) {
|
|
42808
42978
|
Fe.linkRange = new we.Range(Ue.index - Ye, Qe.length());
|
|
42809
42979
|
var Me = ye.default.formats(Qe.domNode);
|
|
@@ -42831,7 +43001,7 @@ function requireQuill() {
|
|
|
42831
43001
|
Object.defineProperty(te, "__esModule", {
|
|
42832
43002
|
value: !0
|
|
42833
43003
|
});
|
|
42834
|
-
var ne = re(29), oe = wt(ne), ce = re(37), de = re(39), he = re(65), ue = re(66), fe = wt(ue), pe = re(67), ge = wt(pe), ve = re(68), ye = wt(ve), we = re(38), be = re(26), _e = re(40), Ae = re(41), me = re(57), Se = wt(me), Ie = re(69), Le = wt(Ie), Pe = re(27), ze = wt(Pe), qe = re(70), Ce = wt(qe), De = re(71), Fe = wt(De), Ue = re(72), We = wt(Ue), Ke = re(73),
|
|
43004
|
+
var ne = re(29), oe = wt(ne), ce = re(37), de = re(39), he = re(65), ue = re(66), fe = wt(ue), pe = re(67), ge = wt(pe), ve = re(68), ye = wt(ve), we = re(38), be = re(26), _e = re(40), Ae = re(41), me = re(57), Se = wt(me), Ie = re(69), Le = wt(Ie), Pe = re(27), ze = wt(Pe), qe = re(70), Ce = wt(qe), De = re(71), Fe = wt(De), Ue = re(72), We = wt(Ue), Ke = re(73), Ge = wt(Ke), gt = re(74), Qe = wt(gt), Ye = re(13), Me = wt(Ye), Be = re(75), He = wt(Be), Xe = re(76), Je = wt(Xe), Ve = re(58), Ze = wt(Ve), nt = re(42), ot = wt(nt), bt = re(28), xt = wt(bt), It = re(60), Pt = wt(It), Ut = re(61), Vt = wt(Ut), oi = re(62), ei = wt(oi), mt = re(109), vt = wt(mt), kt = re(63), Tt = wt(kt);
|
|
42835
43005
|
function wt(Nt) {
|
|
42836
43006
|
return Nt && Nt.__esModule ? Nt : { default: Nt };
|
|
42837
43007
|
}
|
|
@@ -42868,12 +43038,12 @@ function requireQuill() {
|
|
|
42868
43038
|
"formats/script": Ce.default,
|
|
42869
43039
|
"formats/strike": Fe.default,
|
|
42870
43040
|
"formats/underline": We.default,
|
|
42871
|
-
"formats/image":
|
|
43041
|
+
"formats/image": Ge.default,
|
|
42872
43042
|
"formats/video": Qe.default,
|
|
42873
43043
|
"formats/list/item": ve.ListItem,
|
|
42874
43044
|
"modules/formula": He.default,
|
|
42875
43045
|
"modules/syntax": Je.default,
|
|
42876
|
-
"modules/toolbar":
|
|
43046
|
+
"modules/toolbar": Ze.default,
|
|
42877
43047
|
"themes/bubble": vt.default,
|
|
42878
43048
|
"themes/snow": Tt.default,
|
|
42879
43049
|
"ui/icons": ot.default,
|
|
@@ -43959,7 +44129,7 @@ function requireQuill() {
|
|
|
43959
44129
|
if (Ke.length === 1)
|
|
43960
44130
|
Ce.position(Ce.quill.getBounds(Fe));
|
|
43961
44131
|
else {
|
|
43962
|
-
var
|
|
44132
|
+
var Ge = Ke[Ke.length - 1], gt = Ce.quill.getIndex(Ge), Qe = Math.min(Ge.length() - 1, Fe.index + Fe.length - gt), Ye = Ce.quill.getBounds(new ge.Range(gt, Qe));
|
|
43963
44133
|
Ce.position(Ye);
|
|
43964
44134
|
}
|
|
43965
44135
|
} else document.activeElement !== Ce.textbox && Ce.quill.hasFocus() && Ce.hide();
|
|
@@ -44051,7 +44221,7 @@ const TOOLBAR_OPTION_ALIASES = {
|
|
|
44051
44221
|
background: { background: [] },
|
|
44052
44222
|
font: { font: [] },
|
|
44053
44223
|
align: { align: [] }
|
|
44054
|
-
},
|
|
44224
|
+
}, Zi = class Zi extends h$t {
|
|
44055
44225
|
constructor() {
|
|
44056
44226
|
super(...arguments), this.textChangeTimeout = null, this.availableOptions = [
|
|
44057
44227
|
"bold",
|
|
@@ -44203,10 +44373,10 @@ const TOOLBAR_OPTION_ALIASES = {
|
|
|
44203
44373
|
return this.quill.getSelection();
|
|
44204
44374
|
}
|
|
44205
44375
|
};
|
|
44206
|
-
|
|
44376
|
+
Zi.styles = i$13`
|
|
44207
44377
|
${r$X(styles$2)}
|
|
44208
44378
|
`;
|
|
44209
|
-
let PrimariaRichTextEditor =
|
|
44379
|
+
let PrimariaRichTextEditor = Zi;
|
|
44210
44380
|
__decorateClass$4([
|
|
44211
44381
|
n$A()
|
|
44212
44382
|
], PrimariaRichTextEditor.prototype, "quill");
|
|
@@ -44369,7 +44539,8 @@ const useSharedUI = () => {
|
|
|
44369
44539
|
}, registerPdfViewerNavItem = () => {
|
|
44370
44540
|
shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.navigationMenu, {
|
|
44371
44541
|
id: pdfViewerId,
|
|
44372
|
-
|
|
44542
|
+
// Sempre l'últim del menú: el valor més alt possible, perquè cap iniciativa el passi per davant.
|
|
44543
|
+
sortHint: "9999",
|
|
44373
44544
|
factory: () => {
|
|
44374
44545
|
const X = new PrimariaNavItem({
|
|
44375
44546
|
icon: "picture_as_pdf",
|
|
@@ -44399,51 +44570,22 @@ const useSharedUI = () => {
|
|
|
44399
44570
|
} catch (ne) {
|
|
44400
44571
|
console.error(ne);
|
|
44401
44572
|
}
|
|
44402
|
-
}, template$1 = (X) => ke$1`
|
|
44403
|
-
<dss-action-menu-item @click=${X.callbackFn} notificationsStatus="error" rightIcon=${X.icon} label=${X.label}></dss-action-menu-item>
|
|
44404
|
-
`;
|
|
44405
|
-
var __defProp$1 = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __decorateClass$1 = (X, W, J, te) => {
|
|
44406
|
-
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
44407
|
-
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
44408
|
-
return te && re && __defProp$1(W, J, re), re;
|
|
44409
|
-
};
|
|
44410
|
-
let QuickActionItem = class extends h$t {
|
|
44411
|
-
constructor(X, W, J) {
|
|
44412
|
-
super(), this.icon = "", this.label = "", this.callbackFn = () => {
|
|
44413
|
-
}, this.icon = X, this.label = W, this.callbackFn = J;
|
|
44414
|
-
}
|
|
44415
|
-
render() {
|
|
44416
|
-
return ke$1`${template$1(this)}`;
|
|
44417
|
-
}
|
|
44418
|
-
};
|
|
44419
|
-
__decorateClass$1([
|
|
44420
|
-
n$A({ type: String })
|
|
44421
|
-
], QuickActionItem.prototype, "icon", 2);
|
|
44422
|
-
__decorateClass$1([
|
|
44423
|
-
n$A({ type: String })
|
|
44424
|
-
], QuickActionItem.prototype, "label", 2);
|
|
44425
|
-
__decorateClass$1([
|
|
44426
|
-
n$A({ attribute: !1 })
|
|
44427
|
-
], QuickActionItem.prototype, "callbackFn", 2);
|
|
44428
|
-
QuickActionItem = __decorateClass$1([
|
|
44429
|
-
t$P("quick-action-item")
|
|
44430
|
-
], QuickActionItem);
|
|
44431
|
-
const styles = ":host{display:block;width:100%}.divider-container{display:flex;justify-content:center}.divider-container hr{margin:0}.divider-opened{width:220px}.divider-closed{width:40px}", template = (X) => ke$1`
|
|
44573
|
+
}, styles = ":host{display:block;width:100%}.divider-container{display:flex;justify-content:center}.divider-container hr{margin:0}.divider-opened{width:220px}.divider-closed{width:40px}", template$1 = (X) => ke$1`
|
|
44432
44574
|
<div class="divider-container">
|
|
44433
44575
|
<hr class="${X.expanded ? "divider-opened" : "divider-closed"}" />
|
|
44434
44576
|
</div>
|
|
44435
44577
|
`;
|
|
44436
|
-
var __defProp = Object.defineProperty, __decorateClass = (X, W, J, te) => {
|
|
44578
|
+
var __defProp$1 = Object.defineProperty, __decorateClass$1 = (X, W, J, te) => {
|
|
44437
44579
|
for (var re = void 0, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
44438
44580
|
(oe = X[ne]) && (re = oe(W, J, re) || re);
|
|
44439
|
-
return re && __defProp(W, J, re), re;
|
|
44581
|
+
return re && __defProp$1(W, J, re), re;
|
|
44440
44582
|
};
|
|
44441
44583
|
const Qi = class Qi extends RegionLitElement {
|
|
44442
44584
|
constructor() {
|
|
44443
44585
|
super(...arguments), this.expanded = !1;
|
|
44444
44586
|
}
|
|
44445
44587
|
render() {
|
|
44446
|
-
return ke$1`${template(this)}`;
|
|
44588
|
+
return ke$1`${template$1(this)}`;
|
|
44447
44589
|
}
|
|
44448
44590
|
connectedCallback() {
|
|
44449
44591
|
super.connectedCallback();
|
|
@@ -44465,15 +44607,44 @@ Qi.styles = i$13`
|
|
|
44465
44607
|
${r$X(styles)}
|
|
44466
44608
|
`;
|
|
44467
44609
|
let NavDivider = Qi;
|
|
44468
|
-
__decorateClass([
|
|
44610
|
+
__decorateClass$1([
|
|
44469
44611
|
r$T()
|
|
44470
44612
|
], NavDivider.prototype, "expanded");
|
|
44471
44613
|
customElements.define("primaria-nav-divider", NavDivider);
|
|
44614
|
+
const template = (X) => ke$1`
|
|
44615
|
+
<dss-action-menu-item @click=${X.callbackFn} notificationsStatus="error" rightIcon=${X.icon} label=${X.label}></dss-action-menu-item>
|
|
44616
|
+
`;
|
|
44617
|
+
var __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __decorateClass = (X, W, J, te) => {
|
|
44618
|
+
for (var re = te > 1 ? void 0 : te ? __getOwnPropDesc(W, J) : W, ne = X.length - 1, oe; ne >= 0; ne--)
|
|
44619
|
+
(oe = X[ne]) && (re = (te ? oe(W, J, re) : oe(re)) || re);
|
|
44620
|
+
return te && re && __defProp(W, J, re), re;
|
|
44621
|
+
};
|
|
44622
|
+
let QuickActionItem = class extends h$t {
|
|
44623
|
+
constructor(X, W, J) {
|
|
44624
|
+
super(), this.icon = "", this.label = "", this.callbackFn = () => {
|
|
44625
|
+
}, this.icon = X, this.label = W, this.callbackFn = J;
|
|
44626
|
+
}
|
|
44627
|
+
render() {
|
|
44628
|
+
return ke$1`${template(this)}`;
|
|
44629
|
+
}
|
|
44630
|
+
};
|
|
44631
|
+
__decorateClass([
|
|
44632
|
+
n$A({ type: String })
|
|
44633
|
+
], QuickActionItem.prototype, "icon", 2);
|
|
44634
|
+
__decorateClass([
|
|
44635
|
+
n$A({ type: String })
|
|
44636
|
+
], QuickActionItem.prototype, "label", 2);
|
|
44637
|
+
__decorateClass([
|
|
44638
|
+
n$A({ attribute: !1 })
|
|
44639
|
+
], QuickActionItem.prototype, "callbackFn", 2);
|
|
44640
|
+
QuickActionItem = __decorateClass([
|
|
44641
|
+
t$P("quick-action-item")
|
|
44642
|
+
], QuickActionItem);
|
|
44472
44643
|
const commonNavMenuItems = [
|
|
44473
44644
|
{
|
|
44474
44645
|
id: "landing",
|
|
44475
44646
|
icon: "door_front",
|
|
44476
|
-
label: "Sortir
|
|
44647
|
+
label: "Sortir",
|
|
44477
44648
|
type: "item",
|
|
44478
44649
|
sortHint: "0010",
|
|
44479
44650
|
callbackFn: () => shellApi.broker.send(new ExitShell("OBRIR_PI"))
|
|
@@ -44497,10 +44668,19 @@ const commonNavMenuItems = [
|
|
|
44497
44668
|
return Promise.resolve(te);
|
|
44498
44669
|
}
|
|
44499
44670
|
});
|
|
44671
|
+
}, registerSidenavActions = (X, W) => {
|
|
44672
|
+
for (const J of W)
|
|
44673
|
+
shellApi.regionManager.registerView(X, {
|
|
44674
|
+
id: J.id,
|
|
44675
|
+
sortHint: J.sortHint,
|
|
44676
|
+
factory: () => Promise.resolve(new QuickActionItem(J.icon, J.label, J.callbackFn))
|
|
44677
|
+
});
|
|
44500
44678
|
}, registerCommunicationNavMenu = () => {
|
|
44501
44679
|
shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.navigationMenu, {
|
|
44502
44680
|
id: "communication",
|
|
44503
|
-
|
|
44681
|
+
// Darrere d'"eConsulta" ("0110") i davant de "Cites" ("0120", plugin `appointments`). Abans
|
|
44682
|
+
// compartia el "0120" amb "Cites" i l'ordre el decidia el registre.
|
|
44683
|
+
sortHint: "0115",
|
|
44504
44684
|
factory: () => {
|
|
44505
44685
|
const X = new CommunicationActionMenu("3p", "Comunicació");
|
|
44506
44686
|
return Promise.resolve(X);
|
|
@@ -44509,7 +44689,7 @@ const commonNavMenuItems = [
|
|
|
44509
44689
|
}, registerNavMenuDivider = () => {
|
|
44510
44690
|
shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.navigationMenu, {
|
|
44511
44691
|
id: "nav-divider",
|
|
44512
|
-
sortHint: "
|
|
44692
|
+
sortHint: "0011",
|
|
44513
44693
|
factory: () => {
|
|
44514
44694
|
const X = new NavDivider();
|
|
44515
44695
|
return Promise.resolve(X);
|
|
@@ -44768,39 +44948,30 @@ const commonNavMenuItems = [
|
|
|
44768
44948
|
}
|
|
44769
44949
|
]
|
|
44770
44950
|
}
|
|
44951
|
+
], administrativeCommunicationItems = [
|
|
44952
|
+
{
|
|
44953
|
+
id: "security",
|
|
44954
|
+
sortHint: "0010",
|
|
44955
|
+
icon: "open_in_new",
|
|
44956
|
+
label: "Seguretat",
|
|
44957
|
+
callbackFn: () => navigateToEcap("SEGURETAT_ADM", "")
|
|
44958
|
+
},
|
|
44959
|
+
{
|
|
44960
|
+
id: "sms",
|
|
44961
|
+
sortHint: "0030",
|
|
44962
|
+
icon: "open_in_new",
|
|
44963
|
+
label: "SMS",
|
|
44964
|
+
callbackFn: () => navigateToEcap("COMUNICACIO_MISSATGES_ADM", "", { TipusMissatge: "SMS" })
|
|
44965
|
+
},
|
|
44966
|
+
{
|
|
44967
|
+
id: "email",
|
|
44968
|
+
sortHint: "0040",
|
|
44969
|
+
icon: "open_in_new",
|
|
44970
|
+
label: "Correu electrònic",
|
|
44971
|
+
callbackFn: () => navigateToEcap("COMUNICACIO_MISSATGES_ADM", "", { TipusMissatge: "CORREU" })
|
|
44972
|
+
}
|
|
44771
44973
|
], registerAdministrativeCommunicationMenuActions = () => {
|
|
44772
|
-
|
|
44773
|
-
{
|
|
44774
|
-
id: "1",
|
|
44775
|
-
sortHint: "0010",
|
|
44776
|
-
icon: "open_in_new",
|
|
44777
|
-
label: "Seguretat",
|
|
44778
|
-
callbackFn: () => navigateToEcap("SEGURETAT_ADM", "")
|
|
44779
|
-
},
|
|
44780
|
-
{
|
|
44781
|
-
id: "3",
|
|
44782
|
-
sortHint: "0030",
|
|
44783
|
-
icon: "open_in_new",
|
|
44784
|
-
label: "SMS",
|
|
44785
|
-
callbackFn: () => navigateToEcap("COMUNICACIO_MISSATGES_ADM", "", { TipusMissatge: "SMS" })
|
|
44786
|
-
},
|
|
44787
|
-
{
|
|
44788
|
-
id: "4",
|
|
44789
|
-
sortHint: "0040",
|
|
44790
|
-
icon: "open_in_new",
|
|
44791
|
-
label: "Correu electrònic",
|
|
44792
|
-
callbackFn: () => navigateToEcap("COMUNICACIO_MISSATGES_ADM", "", { TipusMissatge: "CORREU" })
|
|
44793
|
-
}
|
|
44794
|
-
];
|
|
44795
|
-
for (const W of X)
|
|
44796
|
-
shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.communicationSidenav, {
|
|
44797
|
-
id: W.id,
|
|
44798
|
-
sortHint: W.sortHint,
|
|
44799
|
-
factory: () => {
|
|
44800
|
-
const J = new QuickActionItem(W.icon, W.label, W.callbackFn);
|
|
44801
|
-
return Promise.resolve(J);
|
|
44802
|
-
}
|
|
44803
|
-
});
|
|
44974
|
+
registerSidenavActions(shellApi.regionManager.regions.shell.communicationSidenav, administrativeCommunicationItems);
|
|
44804
44975
|
}, registerAdministrativeNavMenuViews = () => {
|
|
44805
44976
|
registerCommunicationNavMenu(), registerAdministrativeCommunicationMenuActions(), registerNavMenuViews(administrativeNavMenuItems), registerNavMenuDivider();
|
|
44806
44977
|
}, getVisiId = async (X) => {
|
|
@@ -44814,63 +44985,39 @@ const commonNavMenuItems = [
|
|
|
44814
44985
|
}, doctorNavMenuItems = [
|
|
44815
44986
|
{
|
|
44816
44987
|
id: "dinamic-monitoring",
|
|
44817
|
-
icon: "
|
|
44988
|
+
icon: "timeline",
|
|
44818
44989
|
label: "Monitoratge dinàmic",
|
|
44819
44990
|
type: "item",
|
|
44820
|
-
sortHint: "
|
|
44991
|
+
sortHint: "0040",
|
|
44821
44992
|
callbackFn: () => navigateToEcap("IA_DEV")
|
|
44822
44993
|
},
|
|
44823
44994
|
{
|
|
44824
44995
|
id: "analytics-monitoring",
|
|
44825
|
-
// id correcta?
|
|
44826
44996
|
icon: "science",
|
|
44827
44997
|
label: "Seguiment analític",
|
|
44828
|
-
type: "item",
|
|
44829
|
-
sortHint: "0060",
|
|
44830
|
-
callbackFn: () => navigateToEcap("SEGUIMENT_ANALITIC")
|
|
44831
|
-
},
|
|
44832
|
-
{
|
|
44833
|
-
id: "results-reports",
|
|
44834
|
-
icon: "folder_shared",
|
|
44835
|
-
label: "Documents",
|
|
44836
44998
|
type: "tree",
|
|
44837
|
-
sortHint: "
|
|
44999
|
+
sortHint: "0050",
|
|
44838
45000
|
actionMenuItems: [
|
|
45001
|
+
// La primera opció és el que abans feia el menú sencer quan era un `item`:
|
|
45002
|
+
// mateix nom i mateix event.
|
|
44839
45003
|
{
|
|
44840
45004
|
icon: "open_in_new",
|
|
44841
|
-
label: "
|
|
44842
|
-
callbackFn: () => navigateToEcap("
|
|
44843
|
-
},
|
|
44844
|
-
{
|
|
44845
|
-
icon: "open_in_new",
|
|
44846
|
-
label: "Documents usuari",
|
|
44847
|
-
callbackFn: () => {
|
|
44848
|
-
setTimeout(() => {
|
|
44849
|
-
navigateToEcap("CRIDA_DOCS_USU");
|
|
44850
|
-
}, 0);
|
|
44851
|
-
}
|
|
45005
|
+
label: "Seguiment analític",
|
|
45006
|
+
callbackFn: () => navigateToEcap("SEGUIMENT_ANALITIC")
|
|
44852
45007
|
},
|
|
44853
45008
|
{
|
|
44854
45009
|
icon: "open_in_new",
|
|
44855
|
-
label: "
|
|
44856
|
-
callbackFn: () => navigateToEcap("
|
|
45010
|
+
label: "Registre manual de resultats analítics",
|
|
45011
|
+
callbackFn: () => navigateToEcap("LABORATORI")
|
|
44857
45012
|
}
|
|
44858
45013
|
]
|
|
44859
45014
|
},
|
|
44860
|
-
{
|
|
44861
|
-
id: "test-cabinets",
|
|
44862
|
-
icon: "list_alt",
|
|
44863
|
-
label: "Gabinets de proves",
|
|
44864
|
-
type: "item",
|
|
44865
|
-
sortHint: "0080",
|
|
44866
|
-
callbackFn: () => navigateToEcap("GABINETS_PROVES")
|
|
44867
|
-
},
|
|
44868
45015
|
{
|
|
44869
45016
|
id: "prescriptions",
|
|
44870
45017
|
icon: "pill",
|
|
44871
45018
|
label: "Prescripció",
|
|
44872
45019
|
type: "tree",
|
|
44873
|
-
sortHint: "
|
|
45020
|
+
sortHint: "0080",
|
|
44874
45021
|
actionMenuItems: [
|
|
44875
45022
|
{
|
|
44876
45023
|
icon: "open_in_new",
|
|
@@ -44894,6 +45041,16 @@ const commonNavMenuItems = [
|
|
|
44894
45041
|
icon: "open_in_new",
|
|
44895
45042
|
label: "Prescripció social",
|
|
44896
45043
|
callbackFn: () => navigateToEcap("PRESCRIPCIO_SOCIAL")
|
|
45044
|
+
},
|
|
45045
|
+
{
|
|
45046
|
+
icon: "open_in_new",
|
|
45047
|
+
label: "Guia terapèutica",
|
|
45048
|
+
callbackFn: () => navigateToEcap("GUIA_TERAPEUTICA")
|
|
45049
|
+
},
|
|
45050
|
+
{
|
|
45051
|
+
icon: "open_in_new",
|
|
45052
|
+
label: "Campanya sanitària",
|
|
45053
|
+
callbackFn: () => navigateToEcap("VALORS_VARIABLES")
|
|
44897
45054
|
}
|
|
44898
45055
|
]
|
|
44899
45056
|
},
|
|
@@ -44902,7 +45059,7 @@ const commonNavMenuItems = [
|
|
|
44902
45059
|
icon: "vaccines",
|
|
44903
45060
|
label: "Immunitzacions",
|
|
44904
45061
|
type: "item",
|
|
44905
|
-
sortHint: "
|
|
45062
|
+
sortHint: "0090",
|
|
44906
45063
|
callbackFn: () => navigateToEcap("IMMUNITZACIONS")
|
|
44907
45064
|
},
|
|
44908
45065
|
{
|
|
@@ -44921,172 +45078,251 @@ const commonNavMenuItems = [
|
|
|
44921
45078
|
icon: "event",
|
|
44922
45079
|
label: "Visites",
|
|
44923
45080
|
type: "item",
|
|
44924
|
-
sortHint: "
|
|
45081
|
+
sortHint: "0140",
|
|
44925
45082
|
callbackFn: () => navigateToEcap("CONSULTA_VISITES")
|
|
44926
45083
|
}
|
|
44927
45084
|
], registerClinicalPathwaysNavMenu = () => {
|
|
44928
45085
|
shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.navigationMenu, {
|
|
44929
45086
|
id: "processes",
|
|
44930
|
-
sortHint: "
|
|
45087
|
+
sortHint: "0060",
|
|
44931
45088
|
factory: () => {
|
|
44932
45089
|
const X = new ClinicalPathwaysActionMenu("account_tree", "Vies clíniques");
|
|
44933
45090
|
return Promise.resolve(X);
|
|
44934
45091
|
}
|
|
44935
45092
|
});
|
|
44936
|
-
},
|
|
44937
|
-
|
|
44938
|
-
|
|
44939
|
-
|
|
44940
|
-
|
|
44941
|
-
|
|
44942
|
-
|
|
44943
|
-
|
|
44944
|
-
|
|
44945
|
-
|
|
44946
|
-
|
|
44947
|
-
|
|
44948
|
-
});
|
|
44949
|
-
}
|
|
44950
|
-
},
|
|
44951
|
-
{
|
|
44952
|
-
id: "3",
|
|
44953
|
-
icon: "open_in_new",
|
|
44954
|
-
label: "Mail",
|
|
44955
|
-
callbackFn: async () => {
|
|
44956
|
-
const W = await getPatientCip(shellApi);
|
|
44957
|
-
shellApi.ecapEventManager.publish("COMUNICACIO_MISSATGES_CREAR", "NO_TANCAR", {
|
|
44958
|
-
CIP: W || "",
|
|
44959
|
-
TipusMissatge: "SMS"
|
|
44960
|
-
});
|
|
44961
|
-
}
|
|
44962
|
-
},
|
|
44963
|
-
{
|
|
44964
|
-
id: "4",
|
|
44965
|
-
sortHint: "0030",
|
|
44966
|
-
icon: "open_in_new",
|
|
44967
|
-
label: "Veu IP",
|
|
44968
|
-
callbackFn: () => navigateToEcap("VOIP")
|
|
45093
|
+
}, doctorCommunicationItems = [
|
|
45094
|
+
{
|
|
45095
|
+
id: "sms",
|
|
45096
|
+
sortHint: "0010",
|
|
45097
|
+
icon: "open_in_new",
|
|
45098
|
+
label: "SMS",
|
|
45099
|
+
callbackFn: async () => {
|
|
45100
|
+
const X = await getPatientCip(shellApi);
|
|
45101
|
+
shellApi.ecapEventManager.publish("MISSATGES_DEV", "NO_TANCAR", {
|
|
45102
|
+
CIP: X || "",
|
|
45103
|
+
TipusMissatge: "SMS"
|
|
45104
|
+
});
|
|
44969
45105
|
}
|
|
44970
|
-
|
|
44971
|
-
|
|
44972
|
-
|
|
44973
|
-
|
|
44974
|
-
|
|
44975
|
-
|
|
44976
|
-
|
|
44977
|
-
|
|
44978
|
-
|
|
44979
|
-
|
|
44980
|
-
|
|
44981
|
-
}
|
|
44982
|
-
const X = [
|
|
44983
|
-
{
|
|
44984
|
-
id: "3",
|
|
44985
|
-
sortHint: "0030",
|
|
44986
|
-
icon: "open_in_new",
|
|
44987
|
-
label: "Nen sa",
|
|
44988
|
-
callbackFn: () => navigateToEcap("NEN_SA")
|
|
44989
|
-
},
|
|
44990
|
-
{
|
|
44991
|
-
id: "4",
|
|
44992
|
-
sortHint: "0040",
|
|
44993
|
-
icon: "open_in_new",
|
|
44994
|
-
label: "ASSIR",
|
|
44995
|
-
callbackFn: () => navigateToEcap("NAVEGACIO_ASSIR")
|
|
44996
|
-
},
|
|
44997
|
-
{
|
|
44998
|
-
id: "5",
|
|
44999
|
-
sortHint: "0050",
|
|
45000
|
-
icon: "open_in_new",
|
|
45001
|
-
label: "Odontologia",
|
|
45002
|
-
callbackFn: () => navigateToEcap("ODONTOLOGO")
|
|
45003
|
-
},
|
|
45004
|
-
{
|
|
45005
|
-
id: "6",
|
|
45006
|
-
sortHint: "0060",
|
|
45007
|
-
icon: "open_in_new",
|
|
45008
|
-
label: "Situació d'especial cura",
|
|
45009
|
-
callbackFn: () => navigateToEcap("SIT_ESPEC_CURA_DEV")
|
|
45010
|
-
},
|
|
45011
|
-
{
|
|
45012
|
-
id: "7",
|
|
45013
|
-
sortHint: "0070",
|
|
45014
|
-
icon: "open_in_new",
|
|
45015
|
-
label: "Valoració social",
|
|
45016
|
-
callbackFn: () => navigateToEcap("VALORACIO_SOCIAL")
|
|
45106
|
+
},
|
|
45107
|
+
{
|
|
45108
|
+
id: "mail",
|
|
45109
|
+
sortHint: "0020",
|
|
45110
|
+
icon: "open_in_new",
|
|
45111
|
+
label: "Mail",
|
|
45112
|
+
callbackFn: async () => {
|
|
45113
|
+
const X = await getPatientCip(shellApi);
|
|
45114
|
+
shellApi.ecapEventManager.publish("COMUNICACIO_MISSATGES_CREAR", "NO_TANCAR", {
|
|
45115
|
+
CIP: X || "",
|
|
45116
|
+
TipusMissatge: "SMS"
|
|
45117
|
+
});
|
|
45017
45118
|
}
|
|
45018
|
-
|
|
45019
|
-
|
|
45020
|
-
|
|
45021
|
-
|
|
45022
|
-
|
|
45023
|
-
|
|
45024
|
-
|
|
45025
|
-
|
|
45026
|
-
|
|
45027
|
-
|
|
45119
|
+
},
|
|
45120
|
+
{
|
|
45121
|
+
id: "voip",
|
|
45122
|
+
sortHint: "0030",
|
|
45123
|
+
icon: "open_in_new",
|
|
45124
|
+
label: "Veu IP",
|
|
45125
|
+
callbackFn: () => navigateToEcap("VOIP")
|
|
45126
|
+
}
|
|
45127
|
+
// { id: "videoconsulta", sortHint: "0040", icon: "open_in_new", label: "Videoconsulta", callbackFn: () => {} },
|
|
45128
|
+
], registerDoctorCommunicationMenuActions = () => {
|
|
45129
|
+
registerSidenavActions(shellApi.regionManager.regions.shell.communicationSidenav, doctorCommunicationItems);
|
|
45130
|
+
}, doctorClinicalPathwaysItems = [
|
|
45131
|
+
{
|
|
45132
|
+
id: "special-care",
|
|
45133
|
+
sortHint: "0030",
|
|
45134
|
+
icon: "open_in_new",
|
|
45135
|
+
label: "Situació d'especial cura",
|
|
45136
|
+
callbackFn: () => navigateToEcap("SIT_ESPEC_CURA_DEV")
|
|
45137
|
+
},
|
|
45138
|
+
{
|
|
45139
|
+
id: "healthy-child",
|
|
45140
|
+
sortHint: "0040",
|
|
45141
|
+
icon: "open_in_new",
|
|
45142
|
+
label: "Nen sa",
|
|
45143
|
+
callbackFn: () => navigateToEcap("NEN_SA")
|
|
45144
|
+
},
|
|
45145
|
+
{
|
|
45146
|
+
id: "assir",
|
|
45147
|
+
sortHint: "0060",
|
|
45148
|
+
icon: "open_in_new",
|
|
45149
|
+
label: "ASSIR",
|
|
45150
|
+
callbackFn: () => navigateToEcap("NAVEGACIO_ASSIR")
|
|
45151
|
+
},
|
|
45152
|
+
{
|
|
45153
|
+
id: "gynaecology-record",
|
|
45154
|
+
sortHint: "0070",
|
|
45155
|
+
icon: "open_in_new",
|
|
45156
|
+
label: "HC ginecologia",
|
|
45157
|
+
callbackFn: () => navigateToEcap("RESUM_GINECOLOGIC")
|
|
45158
|
+
},
|
|
45159
|
+
{
|
|
45160
|
+
id: "dentistry",
|
|
45161
|
+
sortHint: "0080",
|
|
45162
|
+
icon: "open_in_new",
|
|
45163
|
+
label: "Odontologia",
|
|
45164
|
+
callbackFn: () => navigateToEcap("ODONTOLOGO")
|
|
45165
|
+
},
|
|
45166
|
+
{
|
|
45167
|
+
id: "social-assessment",
|
|
45168
|
+
sortHint: "0090",
|
|
45169
|
+
icon: "open_in_new",
|
|
45170
|
+
label: "Valoració social",
|
|
45171
|
+
callbackFn: () => navigateToEcap("VALORACIO_SOCIAL")
|
|
45172
|
+
}
|
|
45173
|
+
], registerDoctorClinicalPathwaysMenuActions = () => {
|
|
45174
|
+
registerSidenavActions(shellApi.regionManager.regions.shell.clinicalPathwaysSidenav, doctorClinicalPathwaysItems);
|
|
45028
45175
|
}, registerPetitionerNavMenu = () => {
|
|
45029
45176
|
shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.navigationMenu, {
|
|
45030
45177
|
id: "petitioner",
|
|
45031
|
-
|
|
45178
|
+
// "0065" i no "0070": el compartia amb "Documents" i l'ordre el decidia el registre.
|
|
45179
|
+
sortHint: "0065",
|
|
45032
45180
|
factory: () => {
|
|
45033
45181
|
const X = new PetitionerActionMenu("playlist_add", "Peticionari");
|
|
45034
45182
|
return Promise.resolve(X);
|
|
45035
45183
|
}
|
|
45036
45184
|
});
|
|
45037
|
-
},
|
|
45038
|
-
|
|
45039
|
-
|
|
45040
|
-
|
|
45041
|
-
|
|
45042
|
-
|
|
45043
|
-
|
|
45044
|
-
|
|
45045
|
-
|
|
45046
|
-
|
|
45047
|
-
|
|
45048
|
-
|
|
45049
|
-
|
|
45050
|
-
|
|
45051
|
-
|
|
45052
|
-
|
|
45053
|
-
|
|
45054
|
-
|
|
45055
|
-
|
|
45056
|
-
|
|
45057
|
-
|
|
45058
|
-
|
|
45059
|
-
|
|
45060
|
-
|
|
45061
|
-
|
|
45062
|
-
|
|
45063
|
-
|
|
45064
|
-
|
|
45065
|
-
|
|
45185
|
+
}, doctorPetitionerItems = [
|
|
45186
|
+
{
|
|
45187
|
+
id: "lab-tests",
|
|
45188
|
+
sortHint: "0010",
|
|
45189
|
+
icon: "open_in_new",
|
|
45190
|
+
label: "Analítiques",
|
|
45191
|
+
callbackFn: () => navigateToEcap("LABORATORI")
|
|
45192
|
+
},
|
|
45193
|
+
{
|
|
45194
|
+
id: "clinical-orders",
|
|
45195
|
+
sortHint: "0020",
|
|
45196
|
+
icon: "open_in_new",
|
|
45197
|
+
label: "Ordres Clíniques",
|
|
45198
|
+
callbackFn: () => navigateToEcap("RESULT_OC")
|
|
45199
|
+
},
|
|
45200
|
+
{
|
|
45201
|
+
id: "express-order",
|
|
45202
|
+
sortHint: "0030",
|
|
45203
|
+
icon: "open_in_new",
|
|
45204
|
+
label: "OC Exprés",
|
|
45205
|
+
callbackFn: () => navigateToEcap("OC_EXPRES")
|
|
45206
|
+
},
|
|
45207
|
+
{
|
|
45208
|
+
id: "transfer-request",
|
|
45209
|
+
sortHint: "0040",
|
|
45210
|
+
icon: "open_in_new",
|
|
45211
|
+
label: "Sol·licitud de trasllat",
|
|
45212
|
+
callbackFn: () => navigateToEcap("TRANSPORT")
|
|
45213
|
+
}
|
|
45214
|
+
], registerDoctorPetitionerMenuActions = () => {
|
|
45215
|
+
registerSidenavActions(shellApi.regionManager.regions.shell.petitionerSidenav, doctorPetitionerItems);
|
|
45216
|
+
}, registerActivityRecordNavMenu = () => {
|
|
45217
|
+
shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.navigationMenu, {
|
|
45218
|
+
id: "activity-record",
|
|
45219
|
+
// "Visites" duu "0140": abans compartien el "0130" i l'ordre el decidia el registre.
|
|
45220
|
+
sortHint: "0130",
|
|
45221
|
+
factory: () => {
|
|
45222
|
+
const X = new ActivityRecordActionMenu("app_registration", "Registre d'activitat");
|
|
45223
|
+
return Promise.resolve(X);
|
|
45066
45224
|
}
|
|
45067
|
-
|
|
45068
|
-
|
|
45069
|
-
|
|
45070
|
-
|
|
45071
|
-
|
|
45072
|
-
|
|
45073
|
-
|
|
45074
|
-
|
|
45075
|
-
|
|
45076
|
-
|
|
45077
|
-
|
|
45078
|
-
|
|
45079
|
-
},
|
|
45080
|
-
shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.
|
|
45081
|
-
id: "
|
|
45082
|
-
sortHint: "
|
|
45225
|
+
});
|
|
45226
|
+
}, doctorActivityRecordItems = [
|
|
45227
|
+
{
|
|
45228
|
+
// Abans era el menú sencer, com a `item`: mateix nom i mateix event.
|
|
45229
|
+
id: "test-cabinets",
|
|
45230
|
+
sortHint: "0010",
|
|
45231
|
+
icon: "open_in_new",
|
|
45232
|
+
label: "Gabinets de proves",
|
|
45233
|
+
callbackFn: () => navigateToEcap("GABINETS_PROVES")
|
|
45234
|
+
}
|
|
45235
|
+
], registerDoctorActivityRecordMenuActions = () => {
|
|
45236
|
+
registerSidenavActions(shellApi.regionManager.regions.shell.activityRecordSidenav, doctorActivityRecordItems);
|
|
45237
|
+
}, registerDocumentsNavMenu = () => {
|
|
45238
|
+
shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.navigationMenu, {
|
|
45239
|
+
id: "results-reports",
|
|
45240
|
+
sortHint: "0070",
|
|
45083
45241
|
factory: () => {
|
|
45084
|
-
const X = new
|
|
45085
|
-
navigateToEcap("CREAR_VISITA");
|
|
45086
|
-
});
|
|
45242
|
+
const X = new DocumentsActionMenu("folder_shared", "Documents");
|
|
45087
45243
|
return Promise.resolve(X);
|
|
45088
45244
|
}
|
|
45089
45245
|
});
|
|
45246
|
+
}, doctorDocumentsItems = [
|
|
45247
|
+
{
|
|
45248
|
+
id: "results-and-reports",
|
|
45249
|
+
sortHint: "0010",
|
|
45250
|
+
icon: "open_in_new",
|
|
45251
|
+
label: "Resultats i informes",
|
|
45252
|
+
callbackFn: () => navigateToEcap("RESULTAT_INFORMES")
|
|
45253
|
+
},
|
|
45254
|
+
{
|
|
45255
|
+
id: "user-documents",
|
|
45256
|
+
sortHint: "0030",
|
|
45257
|
+
icon: "open_in_new",
|
|
45258
|
+
label: "Documents usuari",
|
|
45259
|
+
callbackFn: () => navigateToEcap("CRIDA_DOCS_USU")
|
|
45260
|
+
},
|
|
45261
|
+
// El DFU el treu, però el funcional ha demanat mantenir-lo de moment: és la manera
|
|
45262
|
+
// de fer informes a ECAP per a les UP que no tenen el plugin d'informes HES.
|
|
45263
|
+
{
|
|
45264
|
+
id: "clinical-reports",
|
|
45265
|
+
sortHint: "0040",
|
|
45266
|
+
icon: "open_in_new",
|
|
45267
|
+
label: "Informes clínics",
|
|
45268
|
+
callbackFn: () => navigateToEcap("INFORME_CLINIC_NET")
|
|
45269
|
+
}
|
|
45270
|
+
], registerDoctorDocumentsMenuActions = () => {
|
|
45271
|
+
registerSidenavActions(shellApi.regionManager.regions.shell.documentsSidenav, doctorDocumentsItems);
|
|
45272
|
+
}, registerSharedHistoriesNavMenu = () => {
|
|
45273
|
+
shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.navigationMenu, {
|
|
45274
|
+
id: "shared-histories",
|
|
45275
|
+
// Darrere de "Visites" ("0140"), on quedava quan el menú el posava el plugin
|
|
45276
|
+
// `shared-histories` amb un "0140" repetit. El visor de PDF ("9999") va sempre al final.
|
|
45277
|
+
sortHint: "0145",
|
|
45278
|
+
factory: () => {
|
|
45279
|
+
const X = new SharedHistoriesActionMenu("linked_services", "Històries comparti...");
|
|
45280
|
+
return Promise.resolve(X);
|
|
45281
|
+
}
|
|
45282
|
+
});
|
|
45283
|
+
}, doctorSharedHistoriesItems = [
|
|
45284
|
+
{
|
|
45285
|
+
id: "hes-visor",
|
|
45286
|
+
sortHint: "0010",
|
|
45287
|
+
icon: "open_in_new",
|
|
45288
|
+
label: "Visor",
|
|
45289
|
+
callbackFn: () => navigateToEcap("VISOR_HES")
|
|
45290
|
+
},
|
|
45291
|
+
{
|
|
45292
|
+
id: "hccnet",
|
|
45293
|
+
sortHint: "0020",
|
|
45294
|
+
icon: "open_in_new",
|
|
45295
|
+
label: "HCCnet",
|
|
45296
|
+
callbackFn: () => navigateToEcap("HCCNET")
|
|
45297
|
+
},
|
|
45298
|
+
{
|
|
45299
|
+
id: "hcdsns",
|
|
45300
|
+
sortHint: "0030",
|
|
45301
|
+
icon: "open_in_new",
|
|
45302
|
+
label: "HCDSNS",
|
|
45303
|
+
// TODO: pendent que el funcional confirmi el nom de l'event de l'HCDSNS. Mentrestant l'opció
|
|
45304
|
+
// surt al menú però no publica res: millor que enviar a ECAP un event amb el nom buit.
|
|
45305
|
+
callbackFn: () => console.warn("[shell] l'HCDSNS encara no té event d'ECAP assignat")
|
|
45306
|
+
}
|
|
45307
|
+
], registerDoctorSharedHistoriesMenuActions = () => {
|
|
45308
|
+
registerSidenavActions(shellApi.regionManager.regions.shell.sharedHistoriesSidenav, doctorSharedHistoriesItems);
|
|
45309
|
+
}, registerDoctorNavMenuViews = () => {
|
|
45310
|
+
registerCommunicationNavMenu(), registerDoctorCommunicationMenuActions(), registerClinicalPathwaysNavMenu(), registerDoctorClinicalPathwaysMenuActions(), registerPetitionerNavMenu(), registerDoctorPetitionerMenuActions(), registerDocumentsNavMenu(), registerDoctorDocumentsMenuActions(), registerActivityRecordNavMenu(), registerDoctorActivityRecordMenuActions(), registerSharedHistoriesNavMenu(), registerDoctorSharedHistoriesMenuActions(), registerNavMenuViews(doctorNavMenuItems), registerNavMenuDivider();
|
|
45311
|
+
}, doctorQuickActions = [
|
|
45312
|
+
{ id: "dates", sortHint: "0011", label: "Cita", event: "CREAR_VISITA" },
|
|
45313
|
+
{ id: "informed-consent", sortHint: "0030", label: "Consentiment", event: "CONS_INFORMAT" }
|
|
45314
|
+
], registerDoctorQuickActionViews = () => {
|
|
45315
|
+
for (const { id: X, sortHint: W, label: J, event: te } of doctorQuickActions)
|
|
45316
|
+
shellApi.regionManager.registerView(shellApi.regionManager.regions.shell.quickActions, {
|
|
45317
|
+
id: X,
|
|
45318
|
+
sortHint: W,
|
|
45319
|
+
factory: () => {
|
|
45320
|
+
const re = new QuickActionItem("open_in_new", J, () => {
|
|
45321
|
+
navigateToEcap(te);
|
|
45322
|
+
});
|
|
45323
|
+
return Promise.resolve(re);
|
|
45324
|
+
}
|
|
45325
|
+
});
|
|
45090
45326
|
}, registerMainViews = () => {
|
|
45091
45327
|
registerPDFVisorMainView();
|
|
45092
45328
|
}, registerPdfViewerNavButton = () => {
|
|
@@ -45134,23 +45370,25 @@ if (typeof document < "u") {
|
|
|
45134
45370
|
${dssCSS}`, document.head.appendChild(X);
|
|
45135
45371
|
}
|
|
45136
45372
|
export {
|
|
45137
|
-
|
|
45138
|
-
|
|
45373
|
+
PrimariaInteractionService as A,
|
|
45374
|
+
PrimariaNavItem as B,
|
|
45139
45375
|
Container as C,
|
|
45140
45376
|
D$3 as D,
|
|
45141
45377
|
EcapEventManager as E,
|
|
45142
|
-
|
|
45143
|
-
|
|
45378
|
+
PrimariaNavTreeMenu as F,
|
|
45379
|
+
GET_VISI_ID as G,
|
|
45144
45380
|
HELP_REQUESTED as H,
|
|
45145
|
-
|
|
45146
|
-
|
|
45147
|
-
|
|
45381
|
+
PrimariaRegion as I,
|
|
45382
|
+
QuickActionItem as J,
|
|
45383
|
+
bootstrapPlugins as K,
|
|
45148
45384
|
LAST_WORKED_DIAGNOSTICS_KEY as L,
|
|
45149
|
-
|
|
45150
|
-
|
|
45385
|
+
createEcapEventManager as M,
|
|
45386
|
+
initializeShell as N,
|
|
45387
|
+
setInitialTokens as O,
|
|
45151
45388
|
PrimariaRegionHost as P,
|
|
45152
45389
|
Qt as Q,
|
|
45153
45390
|
REQUEST_DIAGNOSTICS_SELECTOR as R,
|
|
45391
|
+
d as S,
|
|
45154
45392
|
inject as a,
|
|
45155
45393
|
i$13 as b,
|
|
45156
45394
|
nn as c,
|
|
@@ -45169,13 +45407,13 @@ export {
|
|
|
45169
45407
|
e$11 as p,
|
|
45170
45408
|
ae as q,
|
|
45171
45409
|
r$X as r,
|
|
45172
|
-
|
|
45410
|
+
GET_PATIENT_CIP as s,
|
|
45173
45411
|
t$P as t,
|
|
45174
|
-
|
|
45175
|
-
|
|
45176
|
-
|
|
45177
|
-
|
|
45178
|
-
|
|
45179
|
-
|
|
45180
|
-
};
|
|
45181
|
-
//# sourceMappingURL=index-
|
|
45412
|
+
shellApi as u,
|
|
45413
|
+
translate as v,
|
|
45414
|
+
CIPDS_SELECTION_REQUEST as w,
|
|
45415
|
+
CLINICAL_COURSE_DRAFT_APPEND_REQUESTED as x,
|
|
45416
|
+
ExitShell as y,
|
|
45417
|
+
PrimariaContentSwitcher as z
|
|
45418
|
+
};
|
|
45419
|
+
//# sourceMappingURL=index-DM0vwBh-.js.map
|