@uxland/primary-shell 5.3.9 → 5.3.10
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/index.js +492 -499
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +23 -23
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/src/internal-plugins/activity-history/activity-history-item/domain/business-rules.ts +1 -1
- package/src/internal-plugins/activity-history/activity-history-item/list/UI/timeline/template.ts +21 -12
- package/src/internal-plugins/activity-history/activity-history-item/list/group-history-items/group-history-items.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -108,24 +108,24 @@ var Reflect$1;
|
|
|
108
108
|
return He(Et) || (Et = Ct(Et)), Be(it, ft, Et);
|
|
109
109
|
}
|
|
110
110
|
W("hasMetadata", Ce);
|
|
111
|
-
function
|
|
111
|
+
function Ie(it, ft, Et) {
|
|
112
112
|
if (!Ke(ft))
|
|
113
113
|
throw new TypeError();
|
|
114
114
|
return He(Et) || (Et = Ct(Et)), Ve(it, ft, Et);
|
|
115
115
|
}
|
|
116
|
-
W("hasOwnMetadata",
|
|
116
|
+
W("hasOwnMetadata", Ie);
|
|
117
117
|
function De(it, ft, Et) {
|
|
118
118
|
if (!Ke(ft))
|
|
119
119
|
throw new TypeError();
|
|
120
120
|
return He(Et) || (Et = Ct(Et)), Je(it, ft, Et);
|
|
121
121
|
}
|
|
122
122
|
W("getMetadata", De);
|
|
123
|
-
function
|
|
123
|
+
function Le(it, ft, Et) {
|
|
124
124
|
if (!Ke(ft))
|
|
125
125
|
throw new TypeError();
|
|
126
126
|
return He(Et) || (Et = Ct(Et)), Ye(it, ft, Et);
|
|
127
127
|
}
|
|
128
|
-
W("getOwnMetadata",
|
|
128
|
+
W("getOwnMetadata", Le);
|
|
129
129
|
function ze(it, ft) {
|
|
130
130
|
if (!Ke(it))
|
|
131
131
|
throw new TypeError();
|
|
@@ -4714,13 +4714,13 @@ const getBodyLength = async (X) => {
|
|
|
4714
4714
|
method: "POST",
|
|
4715
4715
|
body: te,
|
|
4716
4716
|
duplex: "half"
|
|
4717
|
-
}),
|
|
4718
|
-
if (utils$1.isFormData(te) && (
|
|
4719
|
-
const [De,
|
|
4717
|
+
}), Ie;
|
|
4718
|
+
if (utils$1.isFormData(te) && (Ie = Ce.headers.get("content-type")) && he.setContentType(Ie), Ce.body) {
|
|
4719
|
+
const [De, Le] = progressEventDecorator(
|
|
4720
4720
|
ve,
|
|
4721
4721
|
progressEventReducer(asyncDecorator(ue))
|
|
4722
4722
|
);
|
|
4723
|
-
te = trackStream(Ce.body, DEFAULT_CHUNK_SIZE, De,
|
|
4723
|
+
te = trackStream(Ce.body, DEFAULT_CHUNK_SIZE, De, Le);
|
|
4724
4724
|
}
|
|
4725
4725
|
}
|
|
4726
4726
|
utils$1.isString(pe) || (pe = pe ? "include" : "omit");
|
|
@@ -4741,21 +4741,21 @@ const getBodyLength = async (X) => {
|
|
|
4741
4741
|
["status", "statusText", "headers"].forEach((ze) => {
|
|
4742
4742
|
Ce[ze] = we[ze];
|
|
4743
4743
|
});
|
|
4744
|
-
const
|
|
4745
|
-
|
|
4744
|
+
const Ie = utils$1.toFiniteNumber(we.headers.get("content-length")), [De, Le] = de && progressEventDecorator(
|
|
4745
|
+
Ie,
|
|
4746
4746
|
progressEventReducer(asyncDecorator(de), !0)
|
|
4747
4747
|
) || [];
|
|
4748
4748
|
we = new Response(
|
|
4749
4749
|
trackStream(we.body, DEFAULT_CHUNK_SIZE, De, () => {
|
|
4750
|
-
|
|
4750
|
+
Le && Le(), me && me();
|
|
4751
4751
|
}),
|
|
4752
4752
|
Ce
|
|
4753
4753
|
);
|
|
4754
4754
|
}
|
|
4755
4755
|
ce = ce || "text";
|
|
4756
4756
|
let _e = await resolvers[utils$1.findKey(resolvers, ce) || "text"](we, X);
|
|
4757
|
-
return !Se && me && me(), await new Promise((Ce,
|
|
4758
|
-
settle(Ce,
|
|
4757
|
+
return !Se && me && me(), await new Promise((Ce, Ie) => {
|
|
4758
|
+
settle(Ce, Ie, {
|
|
4759
4759
|
data: _e,
|
|
4760
4760
|
headers: AxiosHeaders.from(we.headers),
|
|
4761
4761
|
status: we.status,
|
|
@@ -5429,17 +5429,17 @@ class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
|
|
|
5429
5429
|
}
|
|
5430
5430
|
}, [J, W]);
|
|
5431
5431
|
const _e = (qe) => {
|
|
5432
|
-
|
|
5432
|
+
Ie(he, qe);
|
|
5433
5433
|
}, Ce = (qe) => {
|
|
5434
|
-
|
|
5435
|
-
},
|
|
5434
|
+
Ie(qe, !0);
|
|
5435
|
+
}, Ie = (qe, Ae) => {
|
|
5436
5436
|
setTimeout(() => {
|
|
5437
5437
|
ne({
|
|
5438
5438
|
result: Ae ? qe : void 0,
|
|
5439
5439
|
confirmed: Ae
|
|
5440
5440
|
}), document.body.removeChild(oe), document.head.removeChild(de), window.removeEventListener("keydown", we);
|
|
5441
5441
|
}, 300);
|
|
5442
|
-
}, De = () => re.state === "error" ? "error" : re.state === "success" ? "success" : re.state === "info" ? "primary" : re.state === "alert" ? "warning" : "primary",
|
|
5442
|
+
}, De = () => re.state === "error" ? "error" : re.state === "success" ? "success" : re.state === "info" ? "primary" : re.state === "alert" ? "warning" : "primary", Le = () => re.state ? "alternative-dark" : "secondary", ze = () => ye ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: be }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5443
5443
|
J,
|
|
5444
5444
|
{
|
|
5445
5445
|
data: W,
|
|
@@ -5476,7 +5476,7 @@ class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
|
|
|
5476
5476
|
label: re.cancelButtonText,
|
|
5477
5477
|
onClick: () => _e(!1),
|
|
5478
5478
|
size: "md",
|
|
5479
|
-
variant:
|
|
5479
|
+
variant: Le()
|
|
5480
5480
|
}
|
|
5481
5481
|
),
|
|
5482
5482
|
re.showConfirmButton && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -5772,9 +5772,9 @@ function peg$parse(X, W) {
|
|
|
5772
5772
|
return __assign$4({ type: TYPE.pound }, Ei());
|
|
5773
5773
|
}, he = xi("argumentElement"), pe = "{", fe = _i("{", !1), ge = "}", be = _i("}", !1), me = function(Oe) {
|
|
5774
5774
|
return __assign$4({ type: TYPE.argument, value: Oe }, Ei());
|
|
5775
|
-
}, ve = xi("numberSkeletonId"), ye = /^['\/{}]/, we = Ti(["'", "/", "{", "}"], !1, !1), Se = jr(), _e = xi("numberSkeletonTokenOption"), Ce = "/",
|
|
5775
|
+
}, ve = xi("numberSkeletonId"), ye = /^['\/{}]/, we = Ti(["'", "/", "{", "}"], !1, !1), Se = jr(), _e = xi("numberSkeletonTokenOption"), Ce = "/", Ie = _i("/", !1), De = function(Oe) {
|
|
5776
5776
|
return Oe;
|
|
5777
|
-
},
|
|
5777
|
+
}, Le = xi("numberSkeletonToken"), ze = function(Oe, Ue) {
|
|
5778
5778
|
return { stem: Oe, options: Ue };
|
|
5779
5779
|
}, qe = function(Oe) {
|
|
5780
5780
|
return __assign$4({ type: 0, tokens: Oe }, Ei());
|
|
@@ -5949,7 +5949,7 @@ function peg$parse(X, W) {
|
|
|
5949
5949
|
}
|
|
5950
5950
|
function mr() {
|
|
5951
5951
|
var Oe, Ue, tt;
|
|
5952
|
-
return At++, Oe = Ne, X.charCodeAt(Ne) === 47 ? (Ue = Ce, Ne++) : (Ue = J, At === 0 && It(
|
|
5952
|
+
return At++, Oe = Ne, X.charCodeAt(Ne) === 47 ? (Ue = Ce, Ne++) : (Ue = J, At === 0 && It(Ie)), Ue !== J ? (tt = gr(), tt !== J ? (ni = Oe, Ue = De(tt), Oe = Ue) : (Ne = Oe, Oe = J)) : (Ne = Oe, Oe = J), At--, Oe === J && (Ue = J, At === 0 && It(_e)), Oe;
|
|
5953
5953
|
}
|
|
5954
5954
|
function br() {
|
|
5955
5955
|
var Oe, Ue, tt, vt, Ot;
|
|
@@ -5962,7 +5962,7 @@ function peg$parse(X, W) {
|
|
|
5962
5962
|
Ne = Oe, Oe = J;
|
|
5963
5963
|
else
|
|
5964
5964
|
Ne = Oe, Oe = J;
|
|
5965
|
-
return At--, Oe === J && (Ue = J, At === 0 && It(
|
|
5965
|
+
return At--, Oe === J && (Ue = J, At === 0 && It(Le)), Oe;
|
|
5966
5966
|
}
|
|
5967
5967
|
function Kr() {
|
|
5968
5968
|
var Oe, Ue, tt;
|
|
@@ -10364,11 +10364,11 @@ function createSelectorCreator(X, ...W) {
|
|
|
10364
10364
|
);
|
|
10365
10365
|
}, ...ve), _e = ge(function() {
|
|
10366
10366
|
oe++;
|
|
10367
|
-
const
|
|
10367
|
+
const Ie = collectInputSelectorResults(
|
|
10368
10368
|
we,
|
|
10369
10369
|
arguments
|
|
10370
10370
|
);
|
|
10371
|
-
return de = Se.apply(null,
|
|
10371
|
+
return de = Se.apply(null, Ie), de;
|
|
10372
10372
|
}, ...ye);
|
|
10373
10373
|
return Object.assign(_e, {
|
|
10374
10374
|
resultFunc: ce,
|
|
@@ -10656,17 +10656,17 @@ function buildCreateSlice({
|
|
|
10656
10656
|
isAsyncThunkSliceReducerDefinition(_e) ? handleThunkCaseReducerDefinition(Ce, _e, he, W) : handleNormalReducerDefinition(Ce, _e, he);
|
|
10657
10657
|
});
|
|
10658
10658
|
function pe() {
|
|
10659
|
-
const [Se = {}, _e = [], Ce = void 0] = typeof re.extraReducers == "function" ? executeReducerBuilderCallback(re.extraReducers) : [re.extraReducers],
|
|
10659
|
+
const [Se = {}, _e = [], Ce = void 0] = typeof re.extraReducers == "function" ? executeReducerBuilderCallback(re.extraReducers) : [re.extraReducers], Ie = {
|
|
10660
10660
|
...Se,
|
|
10661
10661
|
...ce.sliceCaseReducersByType
|
|
10662
10662
|
};
|
|
10663
10663
|
return createReducer(re.initialState, (De) => {
|
|
10664
|
-
for (let
|
|
10665
|
-
De.addCase(
|
|
10666
|
-
for (let
|
|
10667
|
-
De.addMatcher(
|
|
10668
|
-
for (let
|
|
10669
|
-
De.addMatcher(
|
|
10664
|
+
for (let Le in Ie)
|
|
10665
|
+
De.addCase(Le, Ie[Le]);
|
|
10666
|
+
for (let Le of ce.sliceMatchers)
|
|
10667
|
+
De.addMatcher(Le.matcher, Le.reducer);
|
|
10668
|
+
for (let Le of _e)
|
|
10669
|
+
De.addMatcher(Le.matcher, Le.reducer);
|
|
10670
10670
|
Ce && De.addDefaultCase(Ce);
|
|
10671
10671
|
});
|
|
10672
10672
|
}
|
|
@@ -10680,12 +10680,12 @@ function buildCreateSlice({
|
|
|
10680
10680
|
}
|
|
10681
10681
|
function ye(Se, _e = !1) {
|
|
10682
10682
|
function Ce(De) {
|
|
10683
|
-
let
|
|
10684
|
-
return typeof
|
|
10683
|
+
let Le = De[Se];
|
|
10684
|
+
return typeof Le > "u" && _e && (Le = ve()), Le;
|
|
10685
10685
|
}
|
|
10686
|
-
function
|
|
10687
|
-
const
|
|
10688
|
-
return getOrInsertComputed(
|
|
10686
|
+
function Ie(De = fe) {
|
|
10687
|
+
const Le = getOrInsertComputed(ge, _e, () => /* @__PURE__ */ new WeakMap());
|
|
10688
|
+
return getOrInsertComputed(Le, De, () => {
|
|
10689
10689
|
const ze = {};
|
|
10690
10690
|
for (const [qe, Ae] of Object.entries(re.selectors ?? {}))
|
|
10691
10691
|
ze[qe] = wrapSelector(Ae, De, ve, _e);
|
|
@@ -10694,9 +10694,9 @@ function buildCreateSlice({
|
|
|
10694
10694
|
}
|
|
10695
10695
|
return {
|
|
10696
10696
|
reducerPath: Se,
|
|
10697
|
-
getSelectors:
|
|
10697
|
+
getSelectors: Ie,
|
|
10698
10698
|
get selectors() {
|
|
10699
|
-
return
|
|
10699
|
+
return Ie(Ce);
|
|
10700
10700
|
},
|
|
10701
10701
|
selectSlice: Ce
|
|
10702
10702
|
};
|
|
@@ -10712,13 +10712,13 @@ function buildCreateSlice({
|
|
|
10712
10712
|
reducerPath: _e,
|
|
10713
10713
|
...Ce
|
|
10714
10714
|
} = {}) {
|
|
10715
|
-
const
|
|
10715
|
+
const Ie = _e ?? oe;
|
|
10716
10716
|
return Se.inject({
|
|
10717
|
-
reducerPath:
|
|
10717
|
+
reducerPath: Ie,
|
|
10718
10718
|
reducer: me
|
|
10719
10719
|
}, Ce), {
|
|
10720
10720
|
...we,
|
|
10721
|
-
...ye(
|
|
10721
|
+
...ye(Ie, !0)
|
|
10722
10722
|
};
|
|
10723
10723
|
}
|
|
10724
10724
|
};
|
|
@@ -11556,8 +11556,8 @@ const activityHistoryFiltersSelector = (X) => X.activityHistoryFilters.filters,
|
|
|
11556
11556
|
})
|
|
11557
11557
|
})).filter((W) => W.filters.length > 0)
|
|
11558
11558
|
), isSameVisit = (X, W) => {
|
|
11559
|
-
var ne, oe, de, ue, ce, he, pe, fe, ge, be, me, ve, ye, we;
|
|
11560
|
-
const J = ((ne = X.professional) == null ? void 0 : ne.id) === ((oe = W.professional) == null ? void 0 : oe.id) && ((de = X.professional) == null ? void 0 : de.role.id) === ((
|
|
11559
|
+
var ne, oe, de, ue, ce, he, pe, fe, ge, be, me, ve, ye, we, Se, _e, Ce, Ie;
|
|
11560
|
+
const J = ((ne = X.professional) == null ? void 0 : ne.id) === ((oe = W.professional) == null ? void 0 : oe.id) && ((ue = (de = X.professional) == null ? void 0 : de.role) == null ? void 0 : ue.id) === ((he = (ce = W.professional) == null ? void 0 : ce.role) == null ? void 0 : he.id) && ((fe = (pe = X.professional) == null ? void 0 : pe.speciality) == null ? void 0 : fe.id) === ((be = (ge = W.professional) == null ? void 0 : ge.speciality) == null ? void 0 : be.id), te = ((me = X.ep) == null ? void 0 : me.id) === ((ve = W.ep) == null ? void 0 : ve.id) && ((ye = X.up) == null ? void 0 : ye.id) === ((we = W.up) == null ? void 0 : we.id) && ((Se = X.center) == null ? void 0 : Se.id) === ((_e = W.center) == null ? void 0 : _e.id) && ((Ce = X.service) == null ? void 0 : Ce.id) === ((Ie = W.service) == null ? void 0 : Ie.id), re = new Date(X.date).toDateString() === new Date(W.date).toDateString();
|
|
11561
11561
|
return J && te && re;
|
|
11562
11562
|
}, withinEightHours = (X, W) => Math.abs(new Date(X).getTime() - new Date(W).getTime()) <= 8 * 60 * 60 * 1e3, areSameDiagnostics = (X, W) => {
|
|
11563
11563
|
if (X.length !== W.length)
|
|
@@ -14404,14 +14404,14 @@ function parse(X, W, J, te) {
|
|
|
14404
14404
|
isProtectedWeekYearToken(Se) && warnOrThrowProtectedError(Se, W, X), isProtectedDayOfYearToken(Se) && warnOrThrowProtectedError(Se, W, X);
|
|
14405
14405
|
const _e = Se[0], Ce = parsers[_e];
|
|
14406
14406
|
if (Ce) {
|
|
14407
|
-
const { incompatibleTokens:
|
|
14408
|
-
if (Array.isArray(
|
|
14409
|
-
const
|
|
14410
|
-
(ze) =>
|
|
14407
|
+
const { incompatibleTokens: Ie } = Ce;
|
|
14408
|
+
if (Array.isArray(Ie)) {
|
|
14409
|
+
const Le = pe.find(
|
|
14410
|
+
(ze) => Ie.includes(ze.token) || ze.token === _e
|
|
14411
14411
|
);
|
|
14412
|
-
if (
|
|
14412
|
+
if (Le)
|
|
14413
14413
|
throw new RangeError(
|
|
14414
|
-
`The format string mustn't contain \`${
|
|
14414
|
+
`The format string mustn't contain \`${Le.fullToken}\` and \`${Se}\` at the same time`
|
|
14415
14415
|
);
|
|
14416
14416
|
} else if (Ce.incompatibleTokens === "*" && pe.length > 0)
|
|
14417
14417
|
throw new RangeError(
|
|
@@ -15037,7 +15037,8 @@ class VirtualizeDirective extends $t {
|
|
|
15037
15037
|
}
|
|
15038
15038
|
const virtualize = e$J(VirtualizeDirective);
|
|
15039
15039
|
function shouldShowRole(X) {
|
|
15040
|
-
|
|
15040
|
+
var W, J;
|
|
15041
|
+
return !((J = (W = X.professional) == null ? void 0 : W.speciality) != null && J.description);
|
|
15041
15042
|
}
|
|
15042
15043
|
const hasItemDivider = (X, W) => {
|
|
15043
15044
|
var te;
|
|
@@ -15132,16 +15133,8 @@ const hasItemDivider = (X, W) => {
|
|
|
15132
15133
|
</div>
|
|
15133
15134
|
` : D$1, renderProfessionalValues = (X, W) => {
|
|
15134
15135
|
if (!W.professional) return D$1;
|
|
15135
|
-
const J = shouldShowRole(W), te = [
|
|
15136
|
-
|
|
15137
|
-
J ? X.highlighted(W.professional.role.description) : null,
|
|
15138
|
-
X.highlighted(W.up.description),
|
|
15139
|
-
X.highlighted(W.professional.speciality.description),
|
|
15140
|
-
X.highlighted(W.service.description)
|
|
15141
|
-
].filter(Boolean);
|
|
15142
|
-
return te.map(
|
|
15143
|
-
(ne, oe) => ke$1`${ne}${oe < te.length - 1 ? " | " : ""}`
|
|
15144
|
-
);
|
|
15136
|
+
const J = shouldShowRole(W), te = [];
|
|
15137
|
+
return te.push(X.highlighted(W.professional.name)), J && W.professional.role && te.push(X.highlighted(W.professional.role.description)), W.up && te.push(X.highlighted(W.up.description)), W.professional.speciality && te.push(X.highlighted(W.professional.speciality.description)), W.service && te.push(X.highlighted(W.service.description)), te.map((re, ne) => ke$1`${re}${ne < te.length - 1 ? " | " : ""}`);
|
|
15145
15138
|
}, diagnosticHeaderTemplate = (X) => X && ke$1`
|
|
15146
15139
|
<div class="diagnostics__header">
|
|
15147
15140
|
|
|
@@ -17351,8 +17344,8 @@ var toPaddingObject = function(W, J) {
|
|
|
17351
17344
|
function arrow(X) {
|
|
17352
17345
|
var W, J = X.state, te = X.name, re = X.options, ne = J.elements.arrow, oe = J.modifiersData.popperOffsets, de = getBasePlacement(J.placement), ue = getMainAxisFromPlacement(de), ce = [left, right].indexOf(de) >= 0, he = ce ? "height" : "width";
|
|
17353
17346
|
if (!(!ne || !oe)) {
|
|
17354
|
-
var pe = toPaddingObject(re.padding, J), fe = getLayoutRect(ne), ge = ue === "y" ? top : left, be = ue === "y" ? bottom : right, me = J.rects.reference[he] + J.rects.reference[ue] - oe[ue] - J.rects.popper[he], ve = oe[ue] - J.rects.reference[ue], ye = getOffsetParent(ne), we = ye ? ue === "y" ? ye.clientHeight || 0 : ye.clientWidth || 0 : 0, Se = me / 2 - ve / 2, _e = pe[ge], Ce = we - fe[he] - pe[be],
|
|
17355
|
-
J.modifiersData[te] = (W = {}, W[
|
|
17347
|
+
var pe = toPaddingObject(re.padding, J), fe = getLayoutRect(ne), ge = ue === "y" ? top : left, be = ue === "y" ? bottom : right, me = J.rects.reference[he] + J.rects.reference[ue] - oe[ue] - J.rects.popper[he], ve = oe[ue] - J.rects.reference[ue], ye = getOffsetParent(ne), we = ye ? ue === "y" ? ye.clientHeight || 0 : ye.clientWidth || 0 : 0, Se = me / 2 - ve / 2, _e = pe[ge], Ce = we - fe[he] - pe[be], Ie = we / 2 - fe[he] / 2 + Se, De = within(_e, Ie, Ce), Le = ue;
|
|
17348
|
+
J.modifiersData[te] = (W = {}, W[Le] = De, W.centerOffset = De - Ie, W);
|
|
17356
17349
|
}
|
|
17357
17350
|
}
|
|
17358
17351
|
function effect$1(X) {
|
|
@@ -17395,20 +17388,20 @@ function mapToStyles(X) {
|
|
|
17395
17388
|
ge = ve.x, me = ve.y;
|
|
17396
17389
|
var ye = oe.hasOwnProperty("x"), we = oe.hasOwnProperty("y"), Se = left, _e = top, Ce = window;
|
|
17397
17390
|
if (ce) {
|
|
17398
|
-
var
|
|
17399
|
-
if (
|
|
17391
|
+
var Ie = getOffsetParent(J), De = "clientHeight", Le = "clientWidth";
|
|
17392
|
+
if (Ie === getWindow(J) && (Ie = getDocumentElement(J), getComputedStyle$1(Ie).position !== "static" && de === "absolute" && (De = "scrollHeight", Le = "scrollWidth")), Ie = Ie, re === top || (re === left || re === right) && ne === end) {
|
|
17400
17393
|
_e = bottom;
|
|
17401
|
-
var ze = pe &&
|
|
17394
|
+
var ze = pe && Ie === Ce && Ce.visualViewport ? Ce.visualViewport.height : (
|
|
17402
17395
|
// $FlowFixMe[prop-missing]
|
|
17403
|
-
|
|
17396
|
+
Ie[De]
|
|
17404
17397
|
);
|
|
17405
17398
|
me -= ze - te.height, me *= ue ? 1 : -1;
|
|
17406
17399
|
}
|
|
17407
17400
|
if (re === left || (re === top || re === bottom) && ne === end) {
|
|
17408
17401
|
Se = right;
|
|
17409
|
-
var qe = pe &&
|
|
17402
|
+
var qe = pe && Ie === Ce && Ce.visualViewport ? Ce.visualViewport.width : (
|
|
17410
17403
|
// $FlowFixMe[prop-missing]
|
|
17411
|
-
Le
|
|
17404
|
+
Ie[Le]
|
|
17412
17405
|
);
|
|
17413
17406
|
ge -= qe - te.width, ge *= ue ? 1 : -1;
|
|
17414
17407
|
}
|
|
@@ -17626,12 +17619,12 @@ function computeOffsets(X) {
|
|
|
17626
17619
|
}
|
|
17627
17620
|
function detectOverflow(X, W) {
|
|
17628
17621
|
W === void 0 && (W = {});
|
|
17629
|
-
var J = W, te = J.placement, re = te === void 0 ? X.placement : te, ne = J.strategy, oe = ne === void 0 ? X.strategy : ne, de = J.boundary, ue = de === void 0 ? clippingParents : de, ce = J.rootBoundary, he = ce === void 0 ? viewport : ce, pe = J.elementContext, fe = pe === void 0 ? popper : pe, ge = J.altBoundary, be = ge === void 0 ? !1 : ge, me = J.padding, ve = me === void 0 ? 0 : me, ye = mergePaddingObject(typeof ve != "number" ? ve : expandToHashMap(ve, basePlacements)), we = fe === popper ? reference : popper, Se = X.rects.popper, _e = X.elements[be ? we : fe], Ce = getClippingRect(isElement(_e) ? _e : _e.contextElement || getDocumentElement(X.elements.popper), ue, he, oe),
|
|
17630
|
-
reference:
|
|
17622
|
+
var J = W, te = J.placement, re = te === void 0 ? X.placement : te, ne = J.strategy, oe = ne === void 0 ? X.strategy : ne, de = J.boundary, ue = de === void 0 ? clippingParents : de, ce = J.rootBoundary, he = ce === void 0 ? viewport : ce, pe = J.elementContext, fe = pe === void 0 ? popper : pe, ge = J.altBoundary, be = ge === void 0 ? !1 : ge, me = J.padding, ve = me === void 0 ? 0 : me, ye = mergePaddingObject(typeof ve != "number" ? ve : expandToHashMap(ve, basePlacements)), we = fe === popper ? reference : popper, Se = X.rects.popper, _e = X.elements[be ? we : fe], Ce = getClippingRect(isElement(_e) ? _e : _e.contextElement || getDocumentElement(X.elements.popper), ue, he, oe), Ie = getBoundingClientRect(X.elements.reference), De = computeOffsets({
|
|
17623
|
+
reference: Ie,
|
|
17631
17624
|
element: Se,
|
|
17632
17625
|
strategy: "absolute",
|
|
17633
17626
|
placement: re
|
|
17634
|
-
}),
|
|
17627
|
+
}), Le = rectToClientRect(Object.assign({}, Se, De)), ze = fe === popper ? Le : Ie, qe = {
|
|
17635
17628
|
top: Ce.top - ze.top + ye.top,
|
|
17636
17629
|
bottom: ze.bottom - Ce.bottom + ye.bottom,
|
|
17637
17630
|
left: Ce.left - ze.left + ye.left,
|
|
@@ -17684,7 +17677,7 @@ function flip(X) {
|
|
|
17684
17677
|
flipVariations: be,
|
|
17685
17678
|
allowedAutoPlacements: me
|
|
17686
17679
|
}) : Ke);
|
|
17687
|
-
}, []), Ce = W.rects.reference,
|
|
17680
|
+
}, []), Ce = W.rects.reference, Ie = W.rects.popper, De = /* @__PURE__ */ new Map(), Le = !0, ze = _e[0], qe = 0; qe < _e.length; qe++) {
|
|
17688
17681
|
var Ae = _e[qe], Pe = getBasePlacement(Ae), Me = getVariation(Ae) === start, Be = [top, bottom].indexOf(Pe) >= 0, Ve = Be ? "width" : "height", Je = detectOverflow(W, {
|
|
17689
17682
|
placement: Ae,
|
|
17690
17683
|
boundary: he,
|
|
@@ -17692,17 +17685,17 @@ function flip(X) {
|
|
|
17692
17685
|
altBoundary: fe,
|
|
17693
17686
|
padding: ce
|
|
17694
17687
|
}), Ye = Be ? Me ? right : left : Me ? bottom : top;
|
|
17695
|
-
Ce[Ve] >
|
|
17688
|
+
Ce[Ve] > Ie[Ve] && (Ye = getOppositePlacement(Ye));
|
|
17696
17689
|
var kt = getOppositePlacement(Ye), Qe = [];
|
|
17697
17690
|
if (ne && Qe.push(Je[Pe] <= 0), de && Qe.push(Je[Ye] <= 0, Je[kt] <= 0), Qe.every(function(Xe) {
|
|
17698
17691
|
return Xe;
|
|
17699
17692
|
})) {
|
|
17700
|
-
ze = Ae,
|
|
17693
|
+
ze = Ae, Le = !1;
|
|
17701
17694
|
break;
|
|
17702
17695
|
}
|
|
17703
17696
|
De.set(Ae, Qe);
|
|
17704
17697
|
}
|
|
17705
|
-
if (
|
|
17698
|
+
if (Le)
|
|
17706
17699
|
for (var We = be ? 3 : 1, Fe = function(Ke) {
|
|
17707
17700
|
var je = _e.find(function(Ze) {
|
|
17708
17701
|
var nt = De.get(Ze);
|
|
@@ -17819,7 +17812,7 @@ function preventOverflow(X) {
|
|
|
17819
17812
|
rootBoundary: ce,
|
|
17820
17813
|
padding: pe,
|
|
17821
17814
|
altBoundary: he
|
|
17822
|
-
}), ye = getBasePlacement(W.placement), we = getVariation(W.placement), Se = !we, _e = getMainAxisFromPlacement(ye), Ce = getAltAxis(_e),
|
|
17815
|
+
}), ye = getBasePlacement(W.placement), we = getVariation(W.placement), Se = !we, _e = getMainAxisFromPlacement(ye), Ce = getAltAxis(_e), Ie = W.modifiersData.popperOffsets, De = W.rects.reference, Le = W.rects.popper, ze = typeof me == "function" ? me(Object.assign({}, W.rects, {
|
|
17823
17816
|
placement: W.placement
|
|
17824
17817
|
})) : me, qe = typeof ze == "number" ? {
|
|
17825
17818
|
mainAxis: ze,
|
|
@@ -17831,17 +17824,17 @@ function preventOverflow(X) {
|
|
|
17831
17824
|
x: 0,
|
|
17832
17825
|
y: 0
|
|
17833
17826
|
};
|
|
17834
|
-
if (
|
|
17827
|
+
if (Ie) {
|
|
17835
17828
|
if (ne) {
|
|
17836
|
-
var Me, Be = _e === "y" ? top : left, Ve = _e === "y" ? bottom : right, Je = _e === "y" ? "height" : "width", Ye =
|
|
17829
|
+
var Me, Be = _e === "y" ? top : left, Ve = _e === "y" ? bottom : right, Je = _e === "y" ? "height" : "width", Ye = Ie[_e], kt = Ye + ve[Be], Qe = Ye - ve[Ve], We = ge ? -Le[Je] / 2 : 0, Fe = we === start ? De[Je] : Le[Je], He = we === start ? -Le[Je] : -De[Je], Ge = W.elements.arrow, Xe = ge && Ge ? getLayoutRect(Ge) : {
|
|
17837
17830
|
width: 0,
|
|
17838
17831
|
height: 0
|
|
17839
17832
|
}, Ke = W.modifiersData["arrow#persistent"] ? W.modifiersData["arrow#persistent"].padding : getFreshSideObject(), je = Ke[Be], Ze = Ke[Ve], nt = within(0, De[Je], Xe[Je]), ot = Se ? De[Je] / 2 - We - nt - je - qe.mainAxis : Fe - nt - je - qe.mainAxis, Ct = Se ? -De[Je] / 2 + We + nt + Ze + qe.mainAxis : He + nt + Ze + qe.mainAxis, Lt = W.elements.arrow && getOffsetParent(W.elements.arrow), Bt = Lt ? _e === "y" ? Lt.clientTop || 0 : Lt.clientLeft || 0 : 0, jt = (Me = Ae == null ? void 0 : Ae[_e]) != null ? Me : 0, Kt = Ye + ot - jt - Bt, ei = Ye + Ct - jt, mi = within(ge ? min(kt, Kt) : kt, Ye, ge ? max(Qe, ei) : Qe);
|
|
17840
|
-
|
|
17833
|
+
Ie[_e] = mi, Pe[_e] = mi - Ye;
|
|
17841
17834
|
}
|
|
17842
17835
|
if (de) {
|
|
17843
|
-
var di, xt = _e === "x" ? top : left, St = _e === "x" ? bottom : right, qt =
|
|
17844
|
-
|
|
17836
|
+
var di, xt = _e === "x" ? top : left, St = _e === "x" ? bottom : right, qt = Ie[Ce], Pt = Ce === "y" ? "height" : "width", Tt = qt + ve[xt], Gt = qt - ve[St], Wt = [top, left].indexOf(ye) !== -1, Yt = (di = Ae == null ? void 0 : Ae[Ce]) != null ? di : 0, pi = Wt ? Tt : qt - De[Pt] - Le[Pt] - Yt + qe.altAxis, yi = Wt ? qt + De[Pt] + Le[Pt] - Yt - qe.altAxis : Gt, ai = ge && Wt ? withinMaxClamp(pi, qt, yi) : within(ge ? pi : Tt, qt, ge ? yi : Gt);
|
|
17837
|
+
Ie[Ce] = ai, Pe[Ce] = ai - qt;
|
|
17845
17838
|
}
|
|
17846
17839
|
W.modifiersData[te] = Pe;
|
|
17847
17840
|
}
|
|
@@ -17993,10 +17986,10 @@ function popperGenerator(X) {
|
|
|
17993
17986
|
he.reset = !1, _e = -1;
|
|
17994
17987
|
continue;
|
|
17995
17988
|
}
|
|
17996
|
-
var Ce = he.orderedModifiers[_e],
|
|
17997
|
-
typeof
|
|
17989
|
+
var Ce = he.orderedModifiers[_e], Ie = Ce.fn, De = Ce.options, Le = De === void 0 ? {} : De, ze = Ce.name;
|
|
17990
|
+
typeof Ie == "function" && (he = Ie({
|
|
17998
17991
|
state: he,
|
|
17999
|
-
options:
|
|
17992
|
+
options: Le,
|
|
18000
17993
|
name: ze,
|
|
18001
17994
|
instance: ge
|
|
18002
17995
|
}) || he);
|
|
@@ -18029,9 +18022,9 @@ function popperGenerator(X) {
|
|
|
18029
18022
|
name: ye,
|
|
18030
18023
|
instance: ge,
|
|
18031
18024
|
options: Se
|
|
18032
|
-
}),
|
|
18025
|
+
}), Ie = function() {
|
|
18033
18026
|
};
|
|
18034
|
-
pe.push(Ce ||
|
|
18027
|
+
pe.push(Ce || Ie);
|
|
18035
18028
|
}
|
|
18036
18029
|
});
|
|
18037
18030
|
}
|
|
@@ -20706,7 +20699,7 @@ l$k([
|
|
|
20706
20699
|
n$w({ type: String })
|
|
20707
20700
|
], o$v.prototype, "tableInfo", 2);
|
|
20708
20701
|
const O$1 = er`dss-calendar${tr(f$j())}`, e$x = er`dss-icon${tr(f$j())}`, Z = (X) => {
|
|
20709
|
-
var W, J, te, re, ne, oe, de, ue, ce, he, pe, fe, ge, be, me, ve, ye, we, Se, _e, Ce,
|
|
20702
|
+
var W, J, te, re, ne, oe, de, ue, ce, he, pe, fe, ge, be, me, ve, ye, we, Se, _e, Ce, Ie, De, Le, ze, qe, Ae, Pe, Me;
|
|
20710
20703
|
const Be = {
|
|
20711
20704
|
"dss-datepicker-range--sm": X.inputSize !== "lg"
|
|
20712
20705
|
}, Ve = {
|
|
@@ -20738,11 +20731,11 @@ const O$1 = er`dss-calendar${tr(f$j())}`, e$x = er`dss-icon${tr(f$j())}`, Z = (X
|
|
|
20738
20731
|
"dss-input-group--required": (Se = X._inputRangeEnd) == null ? void 0 : Se.required,
|
|
20739
20732
|
"dss-input-group--disabled": (_e = X._inputRangeEnd) == null ? void 0 : _e.disabled,
|
|
20740
20733
|
"dss-input-group--focused": ((Ce = X._inputRangeEnd) == null ? void 0 : Ce.value) || X._isEndFocused || X._copyInputRangeEndPlaceholder,
|
|
20741
|
-
"dss-input-group--read-only": (
|
|
20734
|
+
"dss-input-group--read-only": (Ie = X._inputRangeEnd) == null ? void 0 : Ie.readOnly
|
|
20742
20735
|
// 'dss-input-group--no-label': Boolean(!component._label),
|
|
20743
20736
|
}, We = {
|
|
20744
20737
|
"dss-calendar": !0,
|
|
20745
|
-
"dss-calendar--visible": X._showCalendar && !((De = X._inputRangeStart) != null && De.readOnly) && !((
|
|
20738
|
+
"dss-calendar--visible": X._showCalendar && !((De = X._inputRangeStart) != null && De.readOnly) && !((Le = X._inputRangeEnd) != null && Le.readOnly),
|
|
20746
20739
|
"dss-calendar--disabled": ((ze = X._inputRangeStart) == null ? void 0 : ze.disabled) && ((qe = X._inputRangeEnd) == null ? void 0 : qe.disabled),
|
|
20747
20740
|
"dss-calendar--sm": X.inputSize !== "lg"
|
|
20748
20741
|
};
|
|
@@ -25719,14 +25712,14 @@ let d$8 = class extends h$q {
|
|
|
25719
25712
|
></span>`, be = (Se) => {
|
|
25720
25713
|
this._manuallySelect(Se, J.value);
|
|
25721
25714
|
}, me = (Se) => {
|
|
25722
|
-
var _e, Ce,
|
|
25715
|
+
var _e, Ce, Ie, De;
|
|
25723
25716
|
if (Se.key === "Enter" || Se.key === " ")
|
|
25724
25717
|
this._manuallySelect(Se, J.value);
|
|
25725
25718
|
else if (Se.key === "ArrowUp") {
|
|
25726
|
-
const
|
|
25719
|
+
const Le = Se.target, ze = (Ce = (_e = Le == null ? void 0 : Le.closest(".dss-form-field")) == null ? void 0 : _e.previousElementSibling) == null ? void 0 : Ce.querySelector("input");
|
|
25727
25720
|
ze == null || ze.focus();
|
|
25728
25721
|
} else if (Se.key === "ArrowDown") {
|
|
25729
|
-
const
|
|
25722
|
+
const Le = Se.target, ze = (De = (Ie = Le == null ? void 0 : Le.closest(".dss-form-field")) == null ? void 0 : Ie.nextElementSibling) == null ? void 0 : De.querySelector("input");
|
|
25730
25723
|
ze == null || ze.focus();
|
|
25731
25724
|
}
|
|
25732
25725
|
}, [ve, ye] = this._getIndexSubtext(J.label);
|
|
@@ -34611,8 +34604,8 @@ class r extends h$q {
|
|
|
34611
34604
|
u$j(this.renderRoot, Se, ".table-header-column--clickable"), Ce = !0;
|
|
34612
34605
|
break;
|
|
34613
34606
|
case "Enter":
|
|
34614
|
-
const
|
|
34615
|
-
r$v(this.renderRoot,
|
|
34607
|
+
const Ie = we.target;
|
|
34608
|
+
r$v(this.renderRoot, Ie, ".table-header-column--clickable"), Ce = !0;
|
|
34616
34609
|
break;
|
|
34617
34610
|
}
|
|
34618
34611
|
Ce && (we.stopPropagation(), we.preventDefault());
|
|
@@ -36248,8 +36241,8 @@ var quill = { exports: {} };
|
|
|
36248
36241
|
if (typeof _e.retain == "number") {
|
|
36249
36242
|
var Ce = {};
|
|
36250
36243
|
typeof Se.retain == "number" ? Ce.retain = we : Ce.insert = Se.insert;
|
|
36251
|
-
var
|
|
36252
|
-
if (
|
|
36244
|
+
var Ie = ue.attributes.compose(Se.attributes, _e.attributes, typeof Se.retain == "number");
|
|
36245
|
+
if (Ie && (Ce.attributes = Ie), ye.push(Ce), !ge.hasNext() && oe(ye.ops[ye.ops.length - 1], Ce)) {
|
|
36253
36246
|
var De = new he(fe.rest());
|
|
36254
36247
|
return ye.concat(De).chop();
|
|
36255
36248
|
}
|
|
@@ -36282,8 +36275,8 @@ var quill = { exports: {} };
|
|
|
36282
36275
|
break;
|
|
36283
36276
|
case ne.EQUAL:
|
|
36284
36277
|
_e = Math.min(ve.peekLength(), ye.peekLength(), Se);
|
|
36285
|
-
var Ce = ve.next(_e),
|
|
36286
|
-
oe(Ce.insert,
|
|
36278
|
+
var Ce = ve.next(_e), Ie = ye.next(_e);
|
|
36279
|
+
oe(Ce.insert, Ie.insert) ? be.retain(_e, ue.attributes.diff(Ce.attributes, Ie.attributes)) : be.push(Ie).delete(_e);
|
|
36287
36280
|
break;
|
|
36288
36281
|
}
|
|
36289
36282
|
Se -= _e;
|
|
@@ -36365,11 +36358,11 @@ var quill = { exports: {} };
|
|
|
36365
36358
|
return ge[be];
|
|
36366
36359
|
};
|
|
36367
36360
|
J.exports = function fe() {
|
|
36368
|
-
var ge, be, me, ve, ye, we, Se = arguments[0], _e = 1, Ce = arguments.length,
|
|
36369
|
-
for (typeof Se == "boolean" && (
|
|
36361
|
+
var ge, be, me, ve, ye, we, Se = arguments[0], _e = 1, Ce = arguments.length, Ie = !1;
|
|
36362
|
+
for (typeof Se == "boolean" && (Ie = Se, Se = arguments[1] || {}, _e = 2), (Se == null || typeof Se != "object" && typeof Se != "function") && (Se = {}); _e < Ce; ++_e)
|
|
36370
36363
|
if (ge = arguments[_e], ge != null)
|
|
36371
36364
|
for (be in ge)
|
|
36372
|
-
me = pe(Se, be), ve = pe(ge, be), Se !== ve && (
|
|
36365
|
+
me = pe(Se, be), ve = pe(ge, be), Se !== ve && (Ie && ve && (ce(ve) || (ye = ue(ve))) ? (ye ? (ye = !1, we = me && ue(me) ? me : []) : we = me && ce(me) ? me : {}, he(Se, { name: be, newValue: fe(Ie, we, ve) })) : typeof ve < "u" && he(Se, { name: be, newValue: ve }));
|
|
36373
36366
|
return Se;
|
|
36374
36367
|
};
|
|
36375
36368
|
},
|
|
@@ -36414,13 +36407,13 @@ var quill = { exports: {} };
|
|
|
36414
36407
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
36415
36408
|
return Pe && (typeof Pe == "object" || typeof Pe == "function") ? Pe : Ae;
|
|
36416
36409
|
}
|
|
36417
|
-
function
|
|
36410
|
+
function Ie(Ae, Pe) {
|
|
36418
36411
|
if (typeof Pe != "function" && Pe !== null)
|
|
36419
36412
|
throw new TypeError("Super expression must either be null or a function, not " + typeof Pe);
|
|
36420
36413
|
Ae.prototype = Object.create(Pe && Pe.prototype, { constructor: { value: Ae, enumerable: !1, writable: !0, configurable: !0 } }), Pe && (Object.setPrototypeOf ? Object.setPrototypeOf(Ae, Pe) : Ae.__proto__ = Pe);
|
|
36421
36414
|
}
|
|
36422
|
-
var De = 1,
|
|
36423
|
-
|
|
36415
|
+
var De = 1, Le = function(Ae) {
|
|
36416
|
+
Ie(Pe, Ae);
|
|
36424
36417
|
function Pe() {
|
|
36425
36418
|
return _e(this, Pe), Ce(this, (Pe.__proto__ || Object.getPrototypeOf(Pe)).apply(this, arguments));
|
|
36426
36419
|
}
|
|
@@ -36457,9 +36450,9 @@ var quill = { exports: {} };
|
|
|
36457
36450
|
}
|
|
36458
36451
|
}]), Pe;
|
|
36459
36452
|
}(fe.default.Embed);
|
|
36460
|
-
|
|
36453
|
+
Le.scope = fe.default.Scope.BLOCK_BLOT;
|
|
36461
36454
|
var ze = function(Ae) {
|
|
36462
|
-
|
|
36455
|
+
Ie(Pe, Ae);
|
|
36463
36456
|
function Pe(Me) {
|
|
36464
36457
|
_e(this, Pe);
|
|
36465
36458
|
var Be = Ce(this, (Pe.__proto__ || Object.getPrototypeOf(Pe)).call(this, Me));
|
|
@@ -36547,7 +36540,7 @@ var quill = { exports: {} };
|
|
|
36547
36540
|
var Pe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
36548
36541
|
return Ae == null || (typeof Ae.formats == "function" && (Pe = (0, ue.default)(Pe, Ae.formats())), Ae.parent == null || Ae.parent.blotName == "scroll" || Ae.parent.statics.scope !== Ae.statics.scope) ? Pe : qe(Ae.parent, Pe);
|
|
36549
36542
|
}
|
|
36550
|
-
te.bubbleFormats = qe, te.BlockEmbed =
|
|
36543
|
+
te.bubbleFormats = qe, te.BlockEmbed = Le, te.default = ze;
|
|
36551
36544
|
},
|
|
36552
36545
|
/* 5 */
|
|
36553
36546
|
/***/
|
|
@@ -36595,7 +36588,7 @@ var quill = { exports: {} };
|
|
|
36595
36588
|
};
|
|
36596
36589
|
}();
|
|
36597
36590
|
re(51);
|
|
36598
|
-
var ue = re(2), ce = qe(ue), he = re(14), pe = qe(he), fe = re(8), ge = qe(fe), be = re(9), me = qe(be), ve = re(0), ye = qe(ve), we = re(15), Se = qe(we), _e = re(3), Ce = qe(_e),
|
|
36591
|
+
var ue = re(2), ce = qe(ue), he = re(14), pe = qe(he), fe = re(8), ge = qe(fe), be = re(9), me = qe(be), ve = re(0), ye = qe(ve), we = re(15), Se = qe(we), _e = re(3), Ce = qe(_e), Ie = re(10), De = qe(Ie), Le = re(35), ze = qe(Le);
|
|
36599
36592
|
function qe(Qe) {
|
|
36600
36593
|
return Qe && Qe.__esModule ? Qe : { default: Qe };
|
|
36601
36594
|
}
|
|
@@ -37008,8 +37001,8 @@ var quill = { exports: {} };
|
|
|
37008
37001
|
} else {
|
|
37009
37002
|
if ("value" in _e)
|
|
37010
37003
|
return _e.value;
|
|
37011
|
-
var
|
|
37012
|
-
return
|
|
37004
|
+
var Ie = _e.get;
|
|
37005
|
+
return Ie === void 0 ? void 0 : Ie.call(Se);
|
|
37013
37006
|
}
|
|
37014
37007
|
}, de = re(7), ue = pe(de), ce = re(0), he = pe(ce);
|
|
37015
37008
|
function pe(ve) {
|
|
@@ -37036,12 +37029,12 @@ var quill = { exports: {} };
|
|
|
37036
37029
|
}
|
|
37037
37030
|
return ne(ye, [{
|
|
37038
37031
|
key: "formatAt",
|
|
37039
|
-
value: function(Se, _e, Ce,
|
|
37032
|
+
value: function(Se, _e, Ce, Ie) {
|
|
37040
37033
|
if (ye.compare(this.statics.blotName, Ce) < 0 && he.default.query(Ce, he.default.Scope.BLOT)) {
|
|
37041
37034
|
var De = this.isolate(Se, _e);
|
|
37042
|
-
|
|
37035
|
+
Ie && De.wrap(Ce, Ie);
|
|
37043
37036
|
} else
|
|
37044
|
-
oe(ye.prototype.__proto__ || Object.getPrototypeOf(ye.prototype), "formatAt", this).call(this, Se, _e, Ce,
|
|
37037
|
+
oe(ye.prototype.__proto__ || Object.getPrototypeOf(ye.prototype), "formatAt", this).call(this, Se, _e, Ce, Ie);
|
|
37045
37038
|
}
|
|
37046
37039
|
}, {
|
|
37047
37040
|
key: "optimize",
|
|
@@ -37054,8 +37047,8 @@ var quill = { exports: {} };
|
|
|
37054
37047
|
}], [{
|
|
37055
37048
|
key: "compare",
|
|
37056
37049
|
value: function(Se, _e) {
|
|
37057
|
-
var Ce = ye.order.indexOf(Se),
|
|
37058
|
-
return Ce >= 0 ||
|
|
37050
|
+
var Ce = ye.order.indexOf(Se), Ie = ye.order.indexOf(_e);
|
|
37051
|
+
return Ce >= 0 || Ie >= 0 ? Ce - Ie : Se === _e ? 0 : Se < _e ? -1 : 1;
|
|
37059
37052
|
}
|
|
37060
37053
|
}]), ye;
|
|
37061
37054
|
}(he.default.Inline);
|
|
@@ -37113,73 +37106,73 @@ var quill = { exports: {} };
|
|
|
37113
37106
|
value: !0
|
|
37114
37107
|
});
|
|
37115
37108
|
var ne = /* @__PURE__ */ function() {
|
|
37116
|
-
function Ce(
|
|
37117
|
-
for (var
|
|
37118
|
-
var ze = De[
|
|
37119
|
-
ze.enumerable = ze.enumerable || !1, ze.configurable = !0, "value" in ze && (ze.writable = !0), Object.defineProperty(
|
|
37109
|
+
function Ce(Ie, De) {
|
|
37110
|
+
for (var Le = 0; Le < De.length; Le++) {
|
|
37111
|
+
var ze = De[Le];
|
|
37112
|
+
ze.enumerable = ze.enumerable || !1, ze.configurable = !0, "value" in ze && (ze.writable = !0), Object.defineProperty(Ie, ze.key, ze);
|
|
37120
37113
|
}
|
|
37121
37114
|
}
|
|
37122
|
-
return function(
|
|
37123
|
-
return De && Ce(
|
|
37115
|
+
return function(Ie, De, Le) {
|
|
37116
|
+
return De && Ce(Ie.prototype, De), Le && Ce(Ie, Le), Ie;
|
|
37124
37117
|
};
|
|
37125
|
-
}(), oe = function Ce(
|
|
37126
|
-
|
|
37127
|
-
var ze = Object.getOwnPropertyDescriptor(
|
|
37118
|
+
}(), oe = function Ce(Ie, De, Le) {
|
|
37119
|
+
Ie === null && (Ie = Function.prototype);
|
|
37120
|
+
var ze = Object.getOwnPropertyDescriptor(Ie, De);
|
|
37128
37121
|
if (ze === void 0) {
|
|
37129
|
-
var qe = Object.getPrototypeOf(
|
|
37130
|
-
return qe === null ? void 0 : Ce(qe, De,
|
|
37122
|
+
var qe = Object.getPrototypeOf(Ie);
|
|
37123
|
+
return qe === null ? void 0 : Ce(qe, De, Le);
|
|
37131
37124
|
} else {
|
|
37132
37125
|
if ("value" in ze)
|
|
37133
37126
|
return ze.value;
|
|
37134
37127
|
var Ae = ze.get;
|
|
37135
|
-
return Ae === void 0 ? void 0 : Ae.call(
|
|
37128
|
+
return Ae === void 0 ? void 0 : Ae.call(Le);
|
|
37136
37129
|
}
|
|
37137
37130
|
}, de = re(55), ue = fe(de), ce = re(10), he = fe(ce), pe = re(34);
|
|
37138
37131
|
function fe(Ce) {
|
|
37139
37132
|
return Ce && Ce.__esModule ? Ce : { default: Ce };
|
|
37140
37133
|
}
|
|
37141
|
-
function ge(Ce,
|
|
37142
|
-
if (!(Ce instanceof
|
|
37134
|
+
function ge(Ce, Ie) {
|
|
37135
|
+
if (!(Ce instanceof Ie))
|
|
37143
37136
|
throw new TypeError("Cannot call a class as a function");
|
|
37144
37137
|
}
|
|
37145
|
-
function be(Ce,
|
|
37138
|
+
function be(Ce, Ie) {
|
|
37146
37139
|
if (!Ce)
|
|
37147
37140
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
37148
|
-
return
|
|
37141
|
+
return Ie && (typeof Ie == "object" || typeof Ie == "function") ? Ie : Ce;
|
|
37149
37142
|
}
|
|
37150
|
-
function me(Ce,
|
|
37151
|
-
if (typeof
|
|
37152
|
-
throw new TypeError("Super expression must either be null or a function, not " + typeof
|
|
37153
|
-
Ce.prototype = Object.create(
|
|
37143
|
+
function me(Ce, Ie) {
|
|
37144
|
+
if (typeof Ie != "function" && Ie !== null)
|
|
37145
|
+
throw new TypeError("Super expression must either be null or a function, not " + typeof Ie);
|
|
37146
|
+
Ce.prototype = Object.create(Ie && Ie.prototype, { constructor: { value: Ce, enumerable: !1, writable: !0, configurable: !0 } }), Ie && (Object.setPrototypeOf ? Object.setPrototypeOf(Ce, Ie) : Ce.__proto__ = Ie);
|
|
37154
37147
|
}
|
|
37155
37148
|
var ve = (0, he.default)("quill:events"), ye = [pe.SHADOW_SELECTIONCHANGE, "mousedown", "mouseup", "click"], we = [], Se = "getRootNode" in document;
|
|
37156
37149
|
ye.forEach(function(Ce) {
|
|
37157
37150
|
document.addEventListener(Ce, function() {
|
|
37158
|
-
for (var
|
|
37159
|
-
De[
|
|
37151
|
+
for (var Ie = arguments.length, De = Array(Ie), Le = 0; Le < Ie; Le++)
|
|
37152
|
+
De[Le] = arguments[Le];
|
|
37160
37153
|
we.forEach(function(ze) {
|
|
37161
37154
|
ze.handleDOM.apply(ze, De);
|
|
37162
37155
|
});
|
|
37163
37156
|
});
|
|
37164
37157
|
});
|
|
37165
37158
|
var _e = function(Ce) {
|
|
37166
|
-
me(
|
|
37167
|
-
function
|
|
37168
|
-
ge(this,
|
|
37169
|
-
var De = be(this, (
|
|
37159
|
+
me(Ie, Ce);
|
|
37160
|
+
function Ie() {
|
|
37161
|
+
ge(this, Ie);
|
|
37162
|
+
var De = be(this, (Ie.__proto__ || Object.getPrototypeOf(Ie)).call(this));
|
|
37170
37163
|
return De.listeners = {}, we.push(De), De.on("error", ve.error), De;
|
|
37171
37164
|
}
|
|
37172
|
-
return ne(
|
|
37165
|
+
return ne(Ie, [{
|
|
37173
37166
|
key: "emit",
|
|
37174
37167
|
value: function() {
|
|
37175
|
-
ve.log.apply(ve, arguments), oe(
|
|
37168
|
+
ve.log.apply(ve, arguments), oe(Ie.prototype.__proto__ || Object.getPrototypeOf(Ie.prototype), "emit", this).apply(this, arguments);
|
|
37176
37169
|
}
|
|
37177
37170
|
}, {
|
|
37178
37171
|
key: "handleDOM",
|
|
37179
|
-
value: function(
|
|
37172
|
+
value: function(Le) {
|
|
37180
37173
|
for (var ze = arguments.length, qe = Array(ze > 1 ? ze - 1 : 0), Ae = 1; Ae < ze; Ae++)
|
|
37181
37174
|
qe[Ae - 1] = arguments[Ae];
|
|
37182
|
-
var Pe =
|
|
37175
|
+
var Pe = Le.composedPath ? Le.composedPath()[0] : Le.target, Me = function(Ve, Je) {
|
|
37183
37176
|
if (!Se || Je.getRootNode() === document)
|
|
37184
37177
|
return Ve.contains(Je);
|
|
37185
37178
|
for (; !Ve.contains(Je); ) {
|
|
@@ -37190,17 +37183,17 @@ var quill = { exports: {} };
|
|
|
37190
37183
|
}
|
|
37191
37184
|
return !0;
|
|
37192
37185
|
};
|
|
37193
|
-
(this.listeners[
|
|
37186
|
+
(this.listeners[Le.type] || []).forEach(function(Be) {
|
|
37194
37187
|
var Ve = Be.node, Je = Be.handler;
|
|
37195
|
-
(Pe === Ve || Me(Ve, Pe)) && Je.apply(void 0, [
|
|
37188
|
+
(Pe === Ve || Me(Ve, Pe)) && Je.apply(void 0, [Le].concat(qe));
|
|
37196
37189
|
});
|
|
37197
37190
|
}
|
|
37198
37191
|
}, {
|
|
37199
37192
|
key: "listenDOM",
|
|
37200
|
-
value: function(
|
|
37201
|
-
this.listeners[
|
|
37193
|
+
value: function(Le, ze, qe) {
|
|
37194
|
+
this.listeners[Le] || (this.listeners[Le] = []), this.listeners[Le].push({ node: ze, handler: qe });
|
|
37202
37195
|
}
|
|
37203
|
-
}]),
|
|
37196
|
+
}]), Ie;
|
|
37204
37197
|
}(ue.default);
|
|
37205
37198
|
_e.events = {
|
|
37206
37199
|
EDITOR_CHANGE: "editor-change",
|
|
@@ -37330,7 +37323,7 @@ var quill = { exports: {} };
|
|
|
37330
37323
|
value: !0
|
|
37331
37324
|
}), te.default = te.Code = void 0;
|
|
37332
37325
|
var ne = /* @__PURE__ */ function() {
|
|
37333
|
-
function
|
|
37326
|
+
function Le(ze, qe) {
|
|
37334
37327
|
var Ae = [], Pe = !0, Me = !1, Be = void 0;
|
|
37335
37328
|
try {
|
|
37336
37329
|
for (var Ve = ze[Symbol.iterator](), Je; !(Pe = (Je = Ve.next()).done) && (Ae.push(Je.value), !(qe && Ae.length === qe)); Pe = !0)
|
|
@@ -37350,25 +37343,25 @@ var quill = { exports: {} };
|
|
|
37350
37343
|
if (Array.isArray(ze))
|
|
37351
37344
|
return ze;
|
|
37352
37345
|
if (Symbol.iterator in Object(ze))
|
|
37353
|
-
return
|
|
37346
|
+
return Le(ze, qe);
|
|
37354
37347
|
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
37355
37348
|
};
|
|
37356
37349
|
}(), oe = /* @__PURE__ */ function() {
|
|
37357
|
-
function
|
|
37350
|
+
function Le(ze, qe) {
|
|
37358
37351
|
for (var Ae = 0; Ae < qe.length; Ae++) {
|
|
37359
37352
|
var Pe = qe[Ae];
|
|
37360
37353
|
Pe.enumerable = Pe.enumerable || !1, Pe.configurable = !0, "value" in Pe && (Pe.writable = !0), Object.defineProperty(ze, Pe.key, Pe);
|
|
37361
37354
|
}
|
|
37362
37355
|
}
|
|
37363
37356
|
return function(ze, qe, Ae) {
|
|
37364
|
-
return qe &&
|
|
37357
|
+
return qe && Le(ze.prototype, qe), Ae && Le(ze, Ae), ze;
|
|
37365
37358
|
};
|
|
37366
|
-
}(), de = function
|
|
37359
|
+
}(), de = function Le(ze, qe, Ae) {
|
|
37367
37360
|
ze === null && (ze = Function.prototype);
|
|
37368
37361
|
var Pe = Object.getOwnPropertyDescriptor(ze, qe);
|
|
37369
37362
|
if (Pe === void 0) {
|
|
37370
37363
|
var Me = Object.getPrototypeOf(ze);
|
|
37371
|
-
return Me === null ? void 0 :
|
|
37364
|
+
return Me === null ? void 0 : Le(Me, qe, Ae);
|
|
37372
37365
|
} else {
|
|
37373
37366
|
if ("value" in Pe)
|
|
37374
37367
|
return Pe.value;
|
|
@@ -37376,33 +37369,33 @@ var quill = { exports: {} };
|
|
|
37376
37369
|
return Be === void 0 ? void 0 : Be.call(Ae);
|
|
37377
37370
|
}
|
|
37378
37371
|
}, ue = re(2), ce = we(ue), he = re(0), pe = we(he), fe = re(4), ge = we(fe), be = re(6), me = we(be), ve = re(7), ye = we(ve);
|
|
37379
|
-
function we(
|
|
37380
|
-
return
|
|
37372
|
+
function we(Le) {
|
|
37373
|
+
return Le && Le.__esModule ? Le : { default: Le };
|
|
37381
37374
|
}
|
|
37382
|
-
function Se(
|
|
37383
|
-
if (!(
|
|
37375
|
+
function Se(Le, ze) {
|
|
37376
|
+
if (!(Le instanceof ze))
|
|
37384
37377
|
throw new TypeError("Cannot call a class as a function");
|
|
37385
37378
|
}
|
|
37386
|
-
function _e(
|
|
37387
|
-
if (!
|
|
37379
|
+
function _e(Le, ze) {
|
|
37380
|
+
if (!Le)
|
|
37388
37381
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
37389
|
-
return ze && (typeof ze == "object" || typeof ze == "function") ? ze :
|
|
37382
|
+
return ze && (typeof ze == "object" || typeof ze == "function") ? ze : Le;
|
|
37390
37383
|
}
|
|
37391
|
-
function Ce(
|
|
37384
|
+
function Ce(Le, ze) {
|
|
37392
37385
|
if (typeof ze != "function" && ze !== null)
|
|
37393
37386
|
throw new TypeError("Super expression must either be null or a function, not " + typeof ze);
|
|
37394
|
-
|
|
37387
|
+
Le.prototype = Object.create(ze && ze.prototype, { constructor: { value: Le, enumerable: !1, writable: !0, configurable: !0 } }), ze && (Object.setPrototypeOf ? Object.setPrototypeOf(Le, ze) : Le.__proto__ = ze);
|
|
37395
37388
|
}
|
|
37396
|
-
var
|
|
37397
|
-
Ce(ze,
|
|
37389
|
+
var Ie = function(Le) {
|
|
37390
|
+
Ce(ze, Le);
|
|
37398
37391
|
function ze() {
|
|
37399
37392
|
return Se(this, ze), _e(this, (ze.__proto__ || Object.getPrototypeOf(ze)).apply(this, arguments));
|
|
37400
37393
|
}
|
|
37401
37394
|
return ze;
|
|
37402
37395
|
}(me.default);
|
|
37403
|
-
|
|
37404
|
-
var De = function(
|
|
37405
|
-
Ce(ze,
|
|
37396
|
+
Ie.blotName = "code", Ie.tagName = "CODE";
|
|
37397
|
+
var De = function(Le) {
|
|
37398
|
+
Ce(ze, Le);
|
|
37406
37399
|
function ze() {
|
|
37407
37400
|
return Se(this, ze), _e(this, (ze.__proto__ || Object.getPrototypeOf(ze)).apply(this, arguments));
|
|
37408
37401
|
}
|
|
@@ -37492,7 +37485,7 @@ var quill = { exports: {} };
|
|
|
37492
37485
|
}
|
|
37493
37486
|
}]), ze;
|
|
37494
37487
|
}(ge.default);
|
|
37495
|
-
De.blotName = "code-block", De.tagName = "PRE", De.TAB = " ", te.Code =
|
|
37488
|
+
De.blotName = "code-block", De.tagName = "PRE", De.TAB = " ", te.Code = Ie, te.default = De;
|
|
37496
37489
|
},
|
|
37497
37490
|
/* 14 */
|
|
37498
37491
|
/***/
|
|
@@ -37538,7 +37531,7 @@ var quill = { exports: {} };
|
|
|
37538
37531
|
return function(We, Fe, He) {
|
|
37539
37532
|
return Fe && Qe(We.prototype, Fe), He && Qe(We, He), We;
|
|
37540
37533
|
};
|
|
37541
|
-
}(), ue = re(2), ce = Pe(ue), he = re(20), pe = Pe(he), fe = re(0), ge = Pe(fe), be = re(13), me = Pe(be), ve = re(24), ye = Pe(ve), we = re(4), Se = Pe(we), _e = re(16), Ce = Pe(_e),
|
|
37534
|
+
}(), ue = re(2), ce = Pe(ue), he = re(20), pe = Pe(he), fe = re(0), ge = Pe(fe), be = re(13), me = Pe(be), ve = re(24), ye = Pe(ve), we = re(4), Se = Pe(we), _e = re(16), Ce = Pe(_e), Ie = re(21), De = Pe(Ie), Le = re(11), ze = Pe(Le), qe = re(3), Ae = Pe(qe);
|
|
37542
37535
|
function Pe(Qe) {
|
|
37543
37536
|
return Qe && Qe.__esModule ? Qe : { default: Qe };
|
|
37544
37537
|
}
|
|
@@ -37785,13 +37778,13 @@ var quill = { exports: {} };
|
|
|
37785
37778
|
if (!(ze instanceof qe))
|
|
37786
37779
|
throw new TypeError("Cannot call a class as a function");
|
|
37787
37780
|
}
|
|
37788
|
-
var Ce = (0, ve.default)("quill:selection"),
|
|
37781
|
+
var Ce = (0, ve.default)("quill:selection"), Ie = function ze(qe) {
|
|
37789
37782
|
var Ae = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
37790
37783
|
_e(this, ze), this.index = qe, this.length = Ae;
|
|
37791
37784
|
}, De = function() {
|
|
37792
37785
|
function ze(qe, Ae) {
|
|
37793
37786
|
var Pe = this;
|
|
37794
|
-
_e(this, ze), this.emitter = Ae, this.scroll = qe, this.composing = !1, this.mouseDown = !1, this.root = this.scroll.domNode, this.rootDocument = this.root.getRootNode ? this.root.getRootNode() : document, this.cursor = ue.default.create("cursor", this), this.lastRange = this.savedRange = new
|
|
37787
|
+
_e(this, ze), this.emitter = Ae, this.scroll = qe, this.composing = !1, this.mouseDown = !1, this.root = this.scroll.domNode, this.rootDocument = this.root.getRootNode ? this.root.getRootNode() : document, this.cursor = ue.default.create("cursor", this), this.lastRange = this.savedRange = new Ie(0, 0), this.handleComposition(), this.handleDragging(), this.emitter.listenDOM(ye.SHADOW_SELECTIONCHANGE, document, function() {
|
|
37795
37788
|
Pe.mouseDown || setTimeout(Pe.update.bind(Pe, be.default.sources.USER), 1);
|
|
37796
37789
|
}), this.emitter.on(be.default.events.EDITOR_CHANGE, function(Me, Be) {
|
|
37797
37790
|
Me === be.default.events.TEXT_CHANGE && Be.length() > 0 && Pe.update(be.default.sources.SILENT);
|
|
@@ -37922,12 +37915,12 @@ var quill = { exports: {} };
|
|
|
37922
37915
|
var kt = ne(Ye, 2), Qe = kt[0], We = kt[1], Fe = ue.default.find(Qe, !0), He = Fe.offset(Pe.scroll);
|
|
37923
37916
|
return We === 0 ? He : Fe instanceof ue.default.Container ? He + Fe.length() : He + Fe.index(Qe, We);
|
|
37924
37917
|
}), Ve = Math.min(Math.max.apply(Math, Se(Be)), this.scroll.length() - 1), Je = Math.min.apply(Math, [Ve].concat(Se(Be)));
|
|
37925
|
-
return new
|
|
37918
|
+
return new Ie(Je, Ve - Je);
|
|
37926
37919
|
}
|
|
37927
37920
|
}, {
|
|
37928
37921
|
key: "normalizeNative",
|
|
37929
37922
|
value: function(Ae) {
|
|
37930
|
-
if (!
|
|
37923
|
+
if (!Le(this.root, Ae.startContainer) || !Ae.collapsed && !Le(this.root, Ae.endContainer))
|
|
37931
37924
|
return null;
|
|
37932
37925
|
var Pe = {
|
|
37933
37926
|
start: { node: Ae.startContainer, offset: Ae.startOffset },
|
|
@@ -38020,7 +38013,7 @@ var quill = { exports: {} };
|
|
|
38020
38013
|
}
|
|
38021
38014
|
}]), ze;
|
|
38022
38015
|
}();
|
|
38023
|
-
function
|
|
38016
|
+
function Le(ze, qe) {
|
|
38024
38017
|
try {
|
|
38025
38018
|
qe.parentNode;
|
|
38026
38019
|
} catch {
|
|
@@ -38028,7 +38021,7 @@ var quill = { exports: {} };
|
|
|
38028
38021
|
}
|
|
38029
38022
|
return qe instanceof Text && (qe = qe.parentNode), ze.contains(qe);
|
|
38030
38023
|
}
|
|
38031
|
-
te.Range =
|
|
38024
|
+
te.Range = Ie, te.default = De;
|
|
38032
38025
|
},
|
|
38033
38026
|
/* 16 */
|
|
38034
38027
|
/***/
|
|
@@ -38452,67 +38445,67 @@ var quill = { exports: {} };
|
|
|
38452
38445
|
}
|
|
38453
38446
|
function ce(me, ve, ye, we, Se) {
|
|
38454
38447
|
typeof ve == "object" && (ye = ve.depth, we = ve.prototype, Se = ve.includeNonEnumerable, ve = ve.circular);
|
|
38455
|
-
var _e = [], Ce = [],
|
|
38448
|
+
var _e = [], Ce = [], Ie = typeof Buffer < "u";
|
|
38456
38449
|
typeof ve > "u" && (ve = !0), typeof ye > "u" && (ye = 1 / 0);
|
|
38457
|
-
function De(
|
|
38458
|
-
if (
|
|
38450
|
+
function De(Le, ze) {
|
|
38451
|
+
if (Le === null)
|
|
38459
38452
|
return null;
|
|
38460
38453
|
if (ze === 0)
|
|
38461
|
-
return
|
|
38454
|
+
return Le;
|
|
38462
38455
|
var qe, Ae;
|
|
38463
|
-
if (typeof
|
|
38464
|
-
return
|
|
38465
|
-
if (ne(
|
|
38456
|
+
if (typeof Le != "object")
|
|
38457
|
+
return Le;
|
|
38458
|
+
if (ne(Le, oe))
|
|
38466
38459
|
qe = new oe();
|
|
38467
|
-
else if (ne(
|
|
38460
|
+
else if (ne(Le, de))
|
|
38468
38461
|
qe = new de();
|
|
38469
|
-
else if (ne(
|
|
38462
|
+
else if (ne(Le, ue))
|
|
38470
38463
|
qe = new ue(function(We, Fe) {
|
|
38471
|
-
|
|
38464
|
+
Le.then(function(He) {
|
|
38472
38465
|
We(De(He, ze - 1));
|
|
38473
38466
|
}, function(He) {
|
|
38474
38467
|
Fe(De(He, ze - 1));
|
|
38475
38468
|
});
|
|
38476
38469
|
});
|
|
38477
|
-
else if (ce.__isArray(
|
|
38470
|
+
else if (ce.__isArray(Le))
|
|
38478
38471
|
qe = [];
|
|
38479
|
-
else if (ce.__isRegExp(
|
|
38480
|
-
qe = new RegExp(
|
|
38481
|
-
else if (ce.__isDate(
|
|
38482
|
-
qe = new Date(
|
|
38472
|
+
else if (ce.__isRegExp(Le))
|
|
38473
|
+
qe = new RegExp(Le.source, be(Le)), Le.lastIndex && (qe.lastIndex = Le.lastIndex);
|
|
38474
|
+
else if (ce.__isDate(Le))
|
|
38475
|
+
qe = new Date(Le.getTime());
|
|
38483
38476
|
else {
|
|
38484
|
-
if (
|
|
38485
|
-
return Buffer.allocUnsafe ? qe = Buffer.allocUnsafe(
|
|
38486
|
-
ne(
|
|
38477
|
+
if (Ie && Buffer.isBuffer(Le))
|
|
38478
|
+
return Buffer.allocUnsafe ? qe = Buffer.allocUnsafe(Le.length) : qe = new Buffer(Le.length), Le.copy(qe), qe;
|
|
38479
|
+
ne(Le, Error) ? qe = Object.create(Le) : typeof we > "u" ? (Ae = Object.getPrototypeOf(Le), qe = Object.create(Ae)) : (qe = Object.create(we), Ae = we);
|
|
38487
38480
|
}
|
|
38488
38481
|
if (ve) {
|
|
38489
|
-
var Pe = _e.indexOf(
|
|
38482
|
+
var Pe = _e.indexOf(Le);
|
|
38490
38483
|
if (Pe != -1)
|
|
38491
38484
|
return Ce[Pe];
|
|
38492
|
-
_e.push(
|
|
38485
|
+
_e.push(Le), Ce.push(qe);
|
|
38493
38486
|
}
|
|
38494
|
-
ne(
|
|
38487
|
+
ne(Le, oe) && Le.forEach(function(We, Fe) {
|
|
38495
38488
|
var He = De(Fe, ze - 1), Ge = De(We, ze - 1);
|
|
38496
38489
|
qe.set(He, Ge);
|
|
38497
|
-
}), ne(
|
|
38490
|
+
}), ne(Le, de) && Le.forEach(function(We) {
|
|
38498
38491
|
var Fe = De(We, ze - 1);
|
|
38499
38492
|
qe.add(Fe);
|
|
38500
38493
|
});
|
|
38501
|
-
for (var Me in
|
|
38494
|
+
for (var Me in Le) {
|
|
38502
38495
|
var Be;
|
|
38503
|
-
Ae && (Be = Object.getOwnPropertyDescriptor(Ae, Me)), !(Be && Be.set == null) && (qe[Me] = De(
|
|
38496
|
+
Ae && (Be = Object.getOwnPropertyDescriptor(Ae, Me)), !(Be && Be.set == null) && (qe[Me] = De(Le[Me], ze - 1));
|
|
38504
38497
|
}
|
|
38505
38498
|
if (Object.getOwnPropertySymbols)
|
|
38506
|
-
for (var Ve = Object.getOwnPropertySymbols(
|
|
38507
|
-
var Je = Ve[Me], Ye = Object.getOwnPropertyDescriptor(
|
|
38508
|
-
Ye && !Ye.enumerable && !Se || (qe[Je] = De(
|
|
38499
|
+
for (var Ve = Object.getOwnPropertySymbols(Le), Me = 0; Me < Ve.length; Me++) {
|
|
38500
|
+
var Je = Ve[Me], Ye = Object.getOwnPropertyDescriptor(Le, Je);
|
|
38501
|
+
Ye && !Ye.enumerable && !Se || (qe[Je] = De(Le[Je], ze - 1), Ye.enumerable || Object.defineProperty(qe, Je, {
|
|
38509
38502
|
enumerable: !1
|
|
38510
38503
|
}));
|
|
38511
38504
|
}
|
|
38512
38505
|
if (Se)
|
|
38513
|
-
for (var kt = Object.getOwnPropertyNames(
|
|
38514
|
-
var Qe = kt[Me], Ye = Object.getOwnPropertyDescriptor(
|
|
38515
|
-
Ye && Ye.enumerable || (qe[Qe] = De(
|
|
38506
|
+
for (var kt = Object.getOwnPropertyNames(Le), Me = 0; Me < kt.length; Me++) {
|
|
38507
|
+
var Qe = kt[Me], Ye = Object.getOwnPropertyDescriptor(Le, Qe);
|
|
38508
|
+
Ye && Ye.enumerable || (qe[Qe] = De(Le[Qe], ze - 1), Object.defineProperty(qe, Qe, {
|
|
38516
38509
|
enumerable: !1
|
|
38517
38510
|
}));
|
|
38518
38511
|
}
|
|
@@ -38611,7 +38604,7 @@ var quill = { exports: {} };
|
|
|
38611
38604
|
if (!(qe instanceof Ae))
|
|
38612
38605
|
throw new TypeError("Cannot call a class as a function");
|
|
38613
38606
|
}
|
|
38614
|
-
function
|
|
38607
|
+
function Ie(qe, Ae) {
|
|
38615
38608
|
if (!qe)
|
|
38616
38609
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
38617
38610
|
return Ae && (typeof Ae == "object" || typeof Ae == "function") ? Ae : qe;
|
|
@@ -38621,14 +38614,14 @@ var quill = { exports: {} };
|
|
|
38621
38614
|
throw new TypeError("Super expression must either be null or a function, not " + typeof Ae);
|
|
38622
38615
|
qe.prototype = Object.create(Ae && Ae.prototype, { constructor: { value: qe, enumerable: !1, writable: !0, configurable: !0 } }), Ae && (Object.setPrototypeOf ? Object.setPrototypeOf(qe, Ae) : qe.__proto__ = Ae);
|
|
38623
38616
|
}
|
|
38624
|
-
function
|
|
38617
|
+
function Le(qe) {
|
|
38625
38618
|
return qe instanceof ge.default || qe instanceof fe.BlockEmbed;
|
|
38626
38619
|
}
|
|
38627
38620
|
var ze = function(qe) {
|
|
38628
38621
|
De(Ae, qe);
|
|
38629
38622
|
function Ae(Pe, Me) {
|
|
38630
38623
|
Ce(this, Ae);
|
|
38631
|
-
var Be =
|
|
38624
|
+
var Be = Ie(this, (Ae.__proto__ || Object.getPrototypeOf(Ae)).call(this, Pe));
|
|
38632
38625
|
return Be.emitter = Me.emitter, Array.isArray(Me.whitelist) && (Be.whitelist = Me.whitelist.reduce(function(Ve, Je) {
|
|
38633
38626
|
return Ve[Je] = !0, Ve;
|
|
38634
38627
|
}, {})), Be.domNode.addEventListener("DOMNodeInserted", function() {
|
|
@@ -38714,7 +38707,7 @@ var quill = { exports: {} };
|
|
|
38714
38707
|
}, {
|
|
38715
38708
|
key: "line",
|
|
38716
38709
|
value: function(Me) {
|
|
38717
|
-
return Me === this.length() ? this.line(Me - 1) : this.descendant(
|
|
38710
|
+
return Me === this.length() ? this.line(Me - 1) : this.descendant(Le, Me);
|
|
38718
38711
|
}
|
|
38719
38712
|
}, {
|
|
38720
38713
|
key: "lines",
|
|
@@ -38722,7 +38715,7 @@ var quill = { exports: {} };
|
|
|
38722
38715
|
var Me = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, Be = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, Ve = function Je(Ye, kt, Qe) {
|
|
38723
38716
|
var We = [], Fe = Qe;
|
|
38724
38717
|
return Ye.children.forEachAt(kt, Qe, function(He, Ge, Xe) {
|
|
38725
|
-
|
|
38718
|
+
Le(He) ? We.push(He) : He instanceof ce.default.Container && (We = We.concat(Je(He, Ge, Fe))), Fe -= Xe;
|
|
38726
38719
|
}), We;
|
|
38727
38720
|
};
|
|
38728
38721
|
return Ve(this, Me, Be);
|
|
@@ -38794,7 +38787,7 @@ var quill = { exports: {} };
|
|
|
38794
38787
|
return function(Ze, nt, ot) {
|
|
38795
38788
|
return nt && je(Ze.prototype, nt), ot && je(Ze, ot), Ze;
|
|
38796
38789
|
};
|
|
38797
|
-
}(), ue = re(21), ce = qe(ue), he = re(11), pe = qe(he), fe = re(3), ge = qe(fe), be = re(2), me = qe(be), ve = re(20), ye = qe(ve), we = re(0), Se = qe(we), _e = re(5), Ce = qe(_e),
|
|
38790
|
+
}(), ue = re(21), ce = qe(ue), he = re(11), pe = qe(he), fe = re(3), ge = qe(fe), be = re(2), me = qe(be), ve = re(20), ye = qe(ve), we = re(0), Se = qe(we), _e = re(5), Ce = qe(_e), Ie = re(10), De = qe(Ie), Le = re(9), ze = qe(Le);
|
|
38798
38791
|
function qe(je) {
|
|
38799
38792
|
return je && je.__esModule ? je : { default: je };
|
|
38800
38793
|
}
|
|
@@ -39130,17 +39123,17 @@ var quill = { exports: {} };
|
|
|
39130
39123
|
});
|
|
39131
39124
|
var ne = /* @__PURE__ */ function() {
|
|
39132
39125
|
function ye(we, Se) {
|
|
39133
|
-
var _e = [], Ce = !0,
|
|
39126
|
+
var _e = [], Ce = !0, Ie = !1, De = void 0;
|
|
39134
39127
|
try {
|
|
39135
|
-
for (var
|
|
39128
|
+
for (var Le = we[Symbol.iterator](), ze; !(Ce = (ze = Le.next()).done) && (_e.push(ze.value), !(Se && _e.length === Se)); Ce = !0)
|
|
39136
39129
|
;
|
|
39137
39130
|
} catch (qe) {
|
|
39138
|
-
|
|
39131
|
+
Ie = !0, De = qe;
|
|
39139
39132
|
} finally {
|
|
39140
39133
|
try {
|
|
39141
|
-
!Ce &&
|
|
39134
|
+
!Ce && Le.return && Le.return();
|
|
39142
39135
|
} finally {
|
|
39143
|
-
if (
|
|
39136
|
+
if (Ie) throw De;
|
|
39144
39137
|
}
|
|
39145
39138
|
}
|
|
39146
39139
|
return _e;
|
|
@@ -39156,8 +39149,8 @@ var quill = { exports: {} };
|
|
|
39156
39149
|
we === null && (we = Function.prototype);
|
|
39157
39150
|
var Ce = Object.getOwnPropertyDescriptor(we, Se);
|
|
39158
39151
|
if (Ce === void 0) {
|
|
39159
|
-
var
|
|
39160
|
-
return
|
|
39152
|
+
var Ie = Object.getPrototypeOf(we);
|
|
39153
|
+
return Ie === null ? void 0 : ye(Ie, Se, _e);
|
|
39161
39154
|
} else {
|
|
39162
39155
|
if ("value" in Ce)
|
|
39163
39156
|
return Ce.value;
|
|
@@ -39213,9 +39206,9 @@ var quill = { exports: {} };
|
|
|
39213
39206
|
value: function(_e, Ce) {
|
|
39214
39207
|
if (this._length !== 0)
|
|
39215
39208
|
return oe(we.prototype.__proto__ || Object.getPrototypeOf(we.prototype), "format", this).call(this, _e, Ce);
|
|
39216
|
-
for (var
|
|
39217
|
-
De +=
|
|
39218
|
-
|
|
39209
|
+
for (var Ie = this, De = 0; Ie != null && Ie.statics.scope !== ce.default.Scope.BLOCK_BLOT; )
|
|
39210
|
+
De += Ie.offset(Ie.parent), Ie = Ie.parent;
|
|
39211
|
+
Ie != null && (this._length = we.CONTENTS.length, Ie.optimize(), Ie.formatAt(De, we.CONTENTS.length, _e, Ce), this._length = 0);
|
|
39219
39212
|
}
|
|
39220
39213
|
}, {
|
|
39221
39214
|
key: "index",
|
|
@@ -39241,26 +39234,26 @@ var quill = { exports: {} };
|
|
|
39241
39234
|
key: "restore",
|
|
39242
39235
|
value: function() {
|
|
39243
39236
|
if (!(this.selection.composing || this.parent == null)) {
|
|
39244
|
-
var _e = this.textNode, Ce = this.selection.getNativeRange(),
|
|
39237
|
+
var _e = this.textNode, Ce = this.selection.getNativeRange(), Ie = void 0, De = void 0, Le = void 0;
|
|
39245
39238
|
if (Ce != null && Ce.start.node === _e && Ce.end.node === _e) {
|
|
39246
39239
|
var ze = [_e, Ce.start.offset, Ce.end.offset];
|
|
39247
|
-
|
|
39240
|
+
Ie = ze[0], De = ze[1], Le = ze[2];
|
|
39248
39241
|
}
|
|
39249
39242
|
for (; this.domNode.lastChild != null && this.domNode.lastChild !== this.textNode; )
|
|
39250
39243
|
this.domNode.parentNode.insertBefore(this.domNode.lastChild, this.domNode);
|
|
39251
39244
|
if (this.textNode.data !== we.CONTENTS) {
|
|
39252
39245
|
var qe = this.textNode.data.split(we.CONTENTS).join("");
|
|
39253
|
-
this.next instanceof pe.default ? (
|
|
39246
|
+
this.next instanceof pe.default ? (Ie = this.next.domNode, this.next.insertAt(0, qe), this.textNode.data = we.CONTENTS) : (this.textNode.data = qe, this.parent.insertBefore(ce.default.create(this.textNode), this), this.textNode = document.createTextNode(we.CONTENTS), this.domNode.appendChild(this.textNode));
|
|
39254
39247
|
}
|
|
39255
39248
|
if (this.remove(), De != null) {
|
|
39256
|
-
var Ae = [De,
|
|
39257
|
-
return Math.max(0, Math.min(
|
|
39249
|
+
var Ae = [De, Le].map(function(Me) {
|
|
39250
|
+
return Math.max(0, Math.min(Ie.data.length, Me - 1));
|
|
39258
39251
|
}), Pe = ne(Ae, 2);
|
|
39259
|
-
return De = Pe[0],
|
|
39260
|
-
startNode:
|
|
39252
|
+
return De = Pe[0], Le = Pe[1], {
|
|
39253
|
+
startNode: Ie,
|
|
39261
39254
|
startOffset: De,
|
|
39262
|
-
endNode:
|
|
39263
|
-
endOffset:
|
|
39255
|
+
endNode: Ie,
|
|
39256
|
+
endOffset: Le
|
|
39264
39257
|
};
|
|
39265
39258
|
}
|
|
39266
39259
|
}
|
|
@@ -39268,9 +39261,9 @@ var quill = { exports: {} };
|
|
|
39268
39261
|
}, {
|
|
39269
39262
|
key: "update",
|
|
39270
39263
|
value: function(_e, Ce) {
|
|
39271
|
-
var
|
|
39272
|
-
if (_e.some(function(
|
|
39273
|
-
return
|
|
39264
|
+
var Ie = this;
|
|
39265
|
+
if (_e.some(function(Le) {
|
|
39266
|
+
return Le.type === "characterData" && Le.target === Ie.textNode;
|
|
39274
39267
|
})) {
|
|
39275
39268
|
var De = this.restore();
|
|
39276
39269
|
De && (Ce.range = De);
|
|
@@ -39343,8 +39336,8 @@ var quill = { exports: {} };
|
|
|
39343
39336
|
} else {
|
|
39344
39337
|
if ("value" in _e)
|
|
39345
39338
|
return _e.value;
|
|
39346
|
-
var
|
|
39347
|
-
return
|
|
39339
|
+
var Ie = _e.get;
|
|
39340
|
+
return Ie === void 0 ? void 0 : Ie.call(Se);
|
|
39348
39341
|
}
|
|
39349
39342
|
}, de = re(0), ue = ce(de);
|
|
39350
39343
|
function ce(ve) {
|
|
@@ -39611,7 +39604,7 @@ var quill = { exports: {} };
|
|
|
39611
39604
|
Object.defineProperty(te, "__esModule", {
|
|
39612
39605
|
value: !0
|
|
39613
39606
|
});
|
|
39614
|
-
var ne = re(0), oe = Ve(ne), de = re(5), ue = Ve(de), ce = re(4), he = Ve(ce), pe = re(16), fe = Ve(pe), ge = re(25), be = Ve(ge), me = re(24), ve = Ve(me), ye = re(36), we = Ve(ye), Se = re(6), _e = Ve(Se), Ce = re(22),
|
|
39607
|
+
var ne = re(0), oe = Ve(ne), de = re(5), ue = Ve(de), ce = re(4), he = Ve(ce), pe = re(16), fe = Ve(pe), ge = re(25), be = Ve(ge), me = re(24), ve = Ve(me), ye = re(36), we = Ve(ye), Se = re(6), _e = Ve(Se), Ce = re(22), Ie = Ve(Ce), De = re(7), Le = Ve(De), ze = re(56), qe = Ve(ze), Ae = re(43), Pe = Ve(Ae), Me = re(23), Be = Ve(Me);
|
|
39615
39608
|
function Ve(Je) {
|
|
39616
39609
|
return Je && Je.__esModule ? Je : { default: Je };
|
|
39617
39610
|
}
|
|
@@ -39623,12 +39616,12 @@ var quill = { exports: {} };
|
|
|
39623
39616
|
"blots/cursor": ve.default,
|
|
39624
39617
|
"blots/embed": we.default,
|
|
39625
39618
|
"blots/inline": _e.default,
|
|
39626
|
-
"blots/scroll":
|
|
39627
|
-
"blots/text":
|
|
39619
|
+
"blots/scroll": Ie.default,
|
|
39620
|
+
"blots/text": Le.default,
|
|
39628
39621
|
"modules/clipboard": qe.default,
|
|
39629
39622
|
"modules/history": Pe.default,
|
|
39630
39623
|
"modules/keyboard": Be.default
|
|
39631
|
-
}), oe.default.register(he.default, fe.default, ve.default, _e.default,
|
|
39624
|
+
}), oe.default.register(he.default, fe.default, ve.default, _e.default, Ie.default, Le.default), te.default = ue.default;
|
|
39632
39625
|
},
|
|
39633
39626
|
/* 30 */
|
|
39634
39627
|
/***/
|
|
@@ -39933,32 +39926,32 @@ var quill = { exports: {} };
|
|
|
39933
39926
|
var Ae = /\s*$/.exec(qe.textContent)[0].length;
|
|
39934
39927
|
return Ae ? Ae - 1 : 0;
|
|
39935
39928
|
}
|
|
39936
|
-
var
|
|
39929
|
+
var Ie = /* @__PURE__ */ new Map();
|
|
39937
39930
|
function De(qe) {
|
|
39938
39931
|
if (de || he) {
|
|
39939
39932
|
var Ae = (he ? document : qe).getSelection();
|
|
39940
39933
|
return Ae.rangeCount ? Ae.getRangeAt(0) : null;
|
|
39941
39934
|
}
|
|
39942
|
-
var Pe =
|
|
39935
|
+
var Pe = Ie.get(qe);
|
|
39943
39936
|
if (Pe)
|
|
39944
39937
|
return Pe;
|
|
39945
39938
|
var Me = ze(qe);
|
|
39946
|
-
return
|
|
39947
|
-
|
|
39939
|
+
return Ie.set(qe, Me.range), window.setTimeout(function() {
|
|
39940
|
+
Ie.delete(qe);
|
|
39948
39941
|
}, 0), Me.range;
|
|
39949
39942
|
}
|
|
39950
|
-
var
|
|
39943
|
+
var Le = document.createTextNode("");
|
|
39951
39944
|
function ze(qe) {
|
|
39952
39945
|
var Ae = document.createRange(), Pe = window.getSelection();
|
|
39953
39946
|
if (!Pe.containsNode(qe.host, !0))
|
|
39954
39947
|
return { range: null, mode: "none" };
|
|
39955
|
-
qe.insertBefore(
|
|
39956
|
-
var Me = Pe.containsNode(
|
|
39957
|
-
if (
|
|
39948
|
+
qe.insertBefore(Le, qe.childNodes[0]);
|
|
39949
|
+
var Me = Pe.containsNode(Le);
|
|
39950
|
+
if (Le.remove(), Me)
|
|
39958
39951
|
return { range: null, mode: "outside-before" };
|
|
39959
|
-
qe.appendChild(
|
|
39960
|
-
var Be = Pe.containsNode(
|
|
39961
|
-
if (
|
|
39952
|
+
qe.appendChild(Le);
|
|
39953
|
+
var Be = Pe.containsNode(Le);
|
|
39954
|
+
if (Le.remove(), Be)
|
|
39962
39955
|
return { range: null, mode: "outside-after" };
|
|
39963
39956
|
var Ve = function() {
|
|
39964
39957
|
return Pe.toString().length;
|
|
@@ -40049,8 +40042,8 @@ var quill = { exports: {} };
|
|
|
40049
40042
|
we === null && (we = Function.prototype);
|
|
40050
40043
|
var Ce = Object.getOwnPropertyDescriptor(we, Se);
|
|
40051
40044
|
if (Ce === void 0) {
|
|
40052
|
-
var
|
|
40053
|
-
return
|
|
40045
|
+
var Ie = Object.getPrototypeOf(we);
|
|
40046
|
+
return Ie === null ? void 0 : ye(Ie, Se, _e);
|
|
40054
40047
|
} else {
|
|
40055
40048
|
if ("value" in Ce)
|
|
40056
40049
|
return Ce.value;
|
|
@@ -40092,24 +40085,24 @@ var quill = { exports: {} };
|
|
|
40092
40085
|
}, {
|
|
40093
40086
|
key: "restore",
|
|
40094
40087
|
value: function(_e) {
|
|
40095
|
-
var Ce = void 0,
|
|
40088
|
+
var Ce = void 0, Ie = void 0, De = _e.data.split(me).join("");
|
|
40096
40089
|
if (_e === this.leftGuard)
|
|
40097
40090
|
if (this.prev instanceof he.default) {
|
|
40098
|
-
var
|
|
40099
|
-
this.prev.insertAt(
|
|
40091
|
+
var Le = this.prev.length();
|
|
40092
|
+
this.prev.insertAt(Le, De), Ce = {
|
|
40100
40093
|
startNode: this.prev.domNode,
|
|
40101
|
-
startOffset:
|
|
40094
|
+
startOffset: Le + De.length
|
|
40102
40095
|
};
|
|
40103
40096
|
} else
|
|
40104
|
-
|
|
40105
|
-
startNode:
|
|
40097
|
+
Ie = document.createTextNode(De), this.parent.insertBefore(ue.default.create(Ie), this), Ce = {
|
|
40098
|
+
startNode: Ie,
|
|
40106
40099
|
startOffset: De.length
|
|
40107
40100
|
};
|
|
40108
40101
|
else _e === this.rightGuard && (this.next instanceof he.default ? (this.next.insertAt(0, De), Ce = {
|
|
40109
40102
|
startNode: this.next.domNode,
|
|
40110
40103
|
startOffset: De.length
|
|
40111
|
-
}) : (
|
|
40112
|
-
startNode:
|
|
40104
|
+
}) : (Ie = document.createTextNode(De), this.parent.insertBefore(ue.default.create(Ie), this.next), Ce = {
|
|
40105
|
+
startNode: Ie,
|
|
40113
40106
|
startOffset: De.length
|
|
40114
40107
|
}));
|
|
40115
40108
|
return _e.data = me, Ce;
|
|
@@ -40117,11 +40110,11 @@ var quill = { exports: {} };
|
|
|
40117
40110
|
}, {
|
|
40118
40111
|
key: "update",
|
|
40119
40112
|
value: function(_e, Ce) {
|
|
40120
|
-
var
|
|
40113
|
+
var Ie = this;
|
|
40121
40114
|
_e.forEach(function(De) {
|
|
40122
|
-
if (De.type === "characterData" && (De.target ===
|
|
40123
|
-
var
|
|
40124
|
-
|
|
40115
|
+
if (De.type === "characterData" && (De.target === Ie.leftGuard || De.target === Ie.rightGuard)) {
|
|
40116
|
+
var Le = Ie.restore(De.target);
|
|
40117
|
+
Le && (Ce.range = Le);
|
|
40125
40118
|
}
|
|
40126
40119
|
});
|
|
40127
40120
|
}
|
|
@@ -40198,8 +40191,8 @@ var quill = { exports: {} };
|
|
|
40198
40191
|
we === null && (we = Function.prototype);
|
|
40199
40192
|
var Ce = Object.getOwnPropertyDescriptor(we, Se);
|
|
40200
40193
|
if (Ce === void 0) {
|
|
40201
|
-
var
|
|
40202
|
-
return
|
|
40194
|
+
var Ie = Object.getPrototypeOf(we);
|
|
40195
|
+
return Ie === null ? void 0 : ye(Ie, Se, _e);
|
|
40203
40196
|
} else {
|
|
40204
40197
|
if ("value" in Ce)
|
|
40205
40198
|
return Ce.value;
|
|
@@ -40321,13 +40314,13 @@ var quill = { exports: {} };
|
|
|
40321
40314
|
}), te.getLastChangeIndex = te.default = void 0;
|
|
40322
40315
|
var ne = /* @__PURE__ */ function() {
|
|
40323
40316
|
function Se(_e, Ce) {
|
|
40324
|
-
for (var
|
|
40325
|
-
var De = Ce[
|
|
40317
|
+
for (var Ie = 0; Ie < Ce.length; Ie++) {
|
|
40318
|
+
var De = Ce[Ie];
|
|
40326
40319
|
De.enumerable = De.enumerable || !1, De.configurable = !0, "value" in De && (De.writable = !0), Object.defineProperty(_e, De.key, De);
|
|
40327
40320
|
}
|
|
40328
40321
|
}
|
|
40329
|
-
return function(_e, Ce,
|
|
40330
|
-
return Ce && Se(_e.prototype, Ce),
|
|
40322
|
+
return function(_e, Ce, Ie) {
|
|
40323
|
+
return Ce && Se(_e.prototype, Ce), Ie && Se(_e, Ie), _e;
|
|
40331
40324
|
};
|
|
40332
40325
|
}(), oe = re(0), de = fe(oe), ue = re(5), ce = fe(ue), he = re(9), pe = fe(he);
|
|
40333
40326
|
function fe(Se) {
|
|
@@ -40349,20 +40342,20 @@ var quill = { exports: {} };
|
|
|
40349
40342
|
}
|
|
40350
40343
|
var ve = function(Se) {
|
|
40351
40344
|
me(_e, Se);
|
|
40352
|
-
function _e(Ce,
|
|
40345
|
+
function _e(Ce, Ie) {
|
|
40353
40346
|
ge(this, _e);
|
|
40354
|
-
var De = be(this, (_e.__proto__ || Object.getPrototypeOf(_e)).call(this, Ce,
|
|
40355
|
-
return De.lastRecorded = 0, De.ignoreChange = !1, De.clear(), De.quill.on(ce.default.events.EDITOR_CHANGE, function(
|
|
40356
|
-
|
|
40347
|
+
var De = be(this, (_e.__proto__ || Object.getPrototypeOf(_e)).call(this, Ce, Ie));
|
|
40348
|
+
return De.lastRecorded = 0, De.ignoreChange = !1, De.clear(), De.quill.on(ce.default.events.EDITOR_CHANGE, function(Le, ze, qe, Ae) {
|
|
40349
|
+
Le !== ce.default.events.TEXT_CHANGE || De.ignoreChange || (!De.options.userOnly || Ae === ce.default.sources.USER ? De.record(ze, qe) : De.transform(ze));
|
|
40357
40350
|
}), De.quill.keyboard.addBinding({ key: "Z", shortKey: !0 }, De.undo.bind(De)), De.quill.keyboard.addBinding({ key: "Z", shortKey: !0, shiftKey: !0 }, De.redo.bind(De)), /Win/i.test(navigator.platform) && De.quill.keyboard.addBinding({ key: "Y", shortKey: !0 }, De.redo.bind(De)), De;
|
|
40358
40351
|
}
|
|
40359
40352
|
return ne(_e, [{
|
|
40360
40353
|
key: "change",
|
|
40361
|
-
value: function(
|
|
40362
|
-
if (this.stack[
|
|
40363
|
-
var
|
|
40364
|
-
this.stack[De].push(
|
|
40365
|
-
var ze = we(Ie
|
|
40354
|
+
value: function(Ie, De) {
|
|
40355
|
+
if (this.stack[Ie].length !== 0) {
|
|
40356
|
+
var Le = this.stack[Ie].pop();
|
|
40357
|
+
this.stack[De].push(Le), this.lastRecorded = 0, this.ignoreChange = !0, this.quill.updateContents(Le[Ie], ce.default.sources.USER), this.ignoreChange = !1;
|
|
40358
|
+
var ze = we(Le[Ie]);
|
|
40366
40359
|
this.quill.setSelection(ze);
|
|
40367
40360
|
}
|
|
40368
40361
|
}
|
|
@@ -40378,18 +40371,18 @@ var quill = { exports: {} };
|
|
|
40378
40371
|
}
|
|
40379
40372
|
}, {
|
|
40380
40373
|
key: "record",
|
|
40381
|
-
value: function(
|
|
40382
|
-
if (
|
|
40374
|
+
value: function(Ie, De) {
|
|
40375
|
+
if (Ie.ops.length !== 0) {
|
|
40383
40376
|
this.stack.redo = [];
|
|
40384
|
-
var
|
|
40377
|
+
var Le = this.quill.getContents().diff(De), ze = Date.now();
|
|
40385
40378
|
if (this.lastRecorded + this.options.delay > ze && this.stack.undo.length > 0) {
|
|
40386
40379
|
var qe = this.stack.undo.pop();
|
|
40387
|
-
|
|
40380
|
+
Le = Le.compose(qe.undo), Ie = qe.redo.compose(Ie);
|
|
40388
40381
|
} else
|
|
40389
40382
|
this.lastRecorded = ze;
|
|
40390
40383
|
this.stack.undo.push({
|
|
40391
|
-
redo:
|
|
40392
|
-
undo:
|
|
40384
|
+
redo: Ie,
|
|
40385
|
+
undo: Le
|
|
40393
40386
|
}), this.stack.undo.length > this.options.maxStack && this.stack.undo.shift();
|
|
40394
40387
|
}
|
|
40395
40388
|
}
|
|
@@ -40400,11 +40393,11 @@ var quill = { exports: {} };
|
|
|
40400
40393
|
}
|
|
40401
40394
|
}, {
|
|
40402
40395
|
key: "transform",
|
|
40403
|
-
value: function(
|
|
40396
|
+
value: function(Ie) {
|
|
40404
40397
|
this.stack.undo.forEach(function(De) {
|
|
40405
|
-
De.undo =
|
|
40398
|
+
De.undo = Ie.transform(De.undo, !0), De.redo = Ie.transform(De.redo, !0);
|
|
40406
40399
|
}), this.stack.redo.forEach(function(De) {
|
|
40407
|
-
De.undo =
|
|
40400
|
+
De.undo = Ie.transform(De.undo, !0), De.redo = Ie.transform(De.redo, !0);
|
|
40408
40401
|
});
|
|
40409
40402
|
}
|
|
40410
40403
|
}, {
|
|
@@ -40427,8 +40420,8 @@ var quill = { exports: {} };
|
|
|
40427
40420
|
}) : !1;
|
|
40428
40421
|
}
|
|
40429
40422
|
function we(Se) {
|
|
40430
|
-
var _e = Se.reduce(function(
|
|
40431
|
-
return
|
|
40423
|
+
var _e = Se.reduce(function(Ie, De) {
|
|
40424
|
+
return Ie += De.delete || 0, Ie;
|
|
40432
40425
|
}, 0), Ce = Se.length() - _e;
|
|
40433
40426
|
return ye(Se) && (Ce -= 1), Ce;
|
|
40434
40427
|
}
|
|
@@ -40462,7 +40455,7 @@ var quill = { exports: {} };
|
|
|
40462
40455
|
var nt = je.get;
|
|
40463
40456
|
return nt === void 0 ? void 0 : nt.call(Ke);
|
|
40464
40457
|
}
|
|
40465
|
-
}, de = re(3), ue = ze(de), ce = re(2), he = ze(ce), pe = re(8), fe = ze(pe), ge = re(23), be = ze(ge), me = re(35), ve = ze(me), ye = re(60), we = ze(ye), Se = re(61), _e = ze(Se), Ce = re(28),
|
|
40458
|
+
}, de = re(3), ue = ze(de), ce = re(2), he = ze(ce), pe = re(8), fe = ze(pe), ge = re(23), be = ze(ge), me = re(35), ve = ze(me), ye = re(60), we = ze(ye), Se = re(61), _e = ze(Se), Ce = re(28), Ie = ze(Ce), De = re(62), Le = ze(De);
|
|
40466
40459
|
function ze(He) {
|
|
40467
40460
|
return He && He.__esModule ? He : { default: He };
|
|
40468
40461
|
}
|
|
@@ -40528,7 +40521,7 @@ var quill = { exports: {} };
|
|
|
40528
40521
|
var Ct = ot.classList.contains("ql-background") ? "background" : "color";
|
|
40529
40522
|
return ot.querySelector("option") == null && Fe(ot, Be, Ct === "background" ? "#ffffff" : "#000000"), new we.default(ot, je[Ct]);
|
|
40530
40523
|
} else
|
|
40531
|
-
return ot.querySelector("option") == null && (ot.classList.contains("ql-font") ? Fe(ot, Ve) : ot.classList.contains("ql-header") ? Fe(ot, Je) : ot.classList.contains("ql-size") && Fe(ot, Ye)), new
|
|
40524
|
+
return ot.querySelector("option") == null && (ot.classList.contains("ql-font") ? Fe(ot, Ve) : ot.classList.contains("ql-header") ? Fe(ot, Je) : ot.classList.contains("ql-size") && Fe(ot, Ye)), new Ie.default(ot);
|
|
40532
40525
|
});
|
|
40533
40526
|
var nt = function() {
|
|
40534
40527
|
Ze.pickers.forEach(function(Ct) {
|
|
@@ -40622,7 +40615,7 @@ var quill = { exports: {} };
|
|
|
40622
40615
|
this.textbox.value = "", this.hide();
|
|
40623
40616
|
}
|
|
40624
40617
|
}]), Ge;
|
|
40625
|
-
}(
|
|
40618
|
+
}(Le.default);
|
|
40626
40619
|
function We(He) {
|
|
40627
40620
|
var Ge = He.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/) || He.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);
|
|
40628
40621
|
return Ge ? (Ge[1] || "https") + "://www.youtube.com/embed/" + Ge[2] + "?showinfo=0" : (Ge = He.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/)) ? (Ge[1] || "https") + "://player.vimeo.com/video/" + Ge[2] + "/" : He;
|
|
@@ -40751,8 +40744,8 @@ var quill = { exports: {} };
|
|
|
40751
40744
|
ge === void 0 && (ge = []), be === void 0 && (be = {}), pe.prototype.optimize.call(this, be);
|
|
40752
40745
|
for (var ve = [].slice.call(this.observer.takeRecords()); ve.length > 0; )
|
|
40753
40746
|
ge.push(ve.pop());
|
|
40754
|
-
for (var ye = function(Ce,
|
|
40755
|
-
|
|
40747
|
+
for (var ye = function(Ce, Ie) {
|
|
40748
|
+
Ie === void 0 && (Ie = !0), !(Ce == null || Ce === me) && Ce.domNode.parentNode != null && (Ce.domNode[de.DATA_KEY].mutations == null && (Ce.domNode[de.DATA_KEY].mutations = []), Ie && ye(Ce.parent));
|
|
40756
40749
|
}, we = function(Ce) {
|
|
40757
40750
|
// @ts-ignore
|
|
40758
40751
|
Ce.domNode[de.DATA_KEY] == null || // @ts-ignore
|
|
@@ -40761,13 +40754,13 @@ var quill = { exports: {} };
|
|
|
40761
40754
|
if (_e >= ce)
|
|
40762
40755
|
throw new Error("[Parchment] Maximum optimize iterations reached");
|
|
40763
40756
|
for (Se.forEach(function(Ce) {
|
|
40764
|
-
var
|
|
40765
|
-
|
|
40766
|
-
var
|
|
40767
|
-
ye(
|
|
40757
|
+
var Ie = de.find(Ce.target, !0);
|
|
40758
|
+
Ie != null && (Ie.domNode === Ce.target && (Ce.type === "childList" ? (ye(de.find(Ce.previousSibling, !1)), [].forEach.call(Ce.addedNodes, function(De) {
|
|
40759
|
+
var Le = de.find(De, !1);
|
|
40760
|
+
ye(Le, !1), Le instanceof oe.default && Le.children.forEach(function(ze) {
|
|
40768
40761
|
ye(ze, !1);
|
|
40769
40762
|
});
|
|
40770
|
-
})) : Ce.type === "attributes" && ye(
|
|
40763
|
+
})) : Ce.type === "attributes" && ye(Ie.prev)), ye(Ie));
|
|
40771
40764
|
}), this.children.forEach(we), Se = [].slice.call(this.observer.takeRecords()), ve = Se.slice(); ve.length > 0; )
|
|
40772
40765
|
ge.push(ve.pop());
|
|
40773
40766
|
}
|
|
@@ -41028,31 +41021,31 @@ var quill = { exports: {} };
|
|
|
41028
41021
|
/***/
|
|
41029
41022
|
function(J, te) {
|
|
41030
41023
|
var re = -1, ne = 1, oe = 0;
|
|
41031
|
-
function de(_e, Ce,
|
|
41024
|
+
function de(_e, Ce, Ie) {
|
|
41032
41025
|
if (_e == Ce)
|
|
41033
41026
|
return _e ? [[oe, _e]] : [];
|
|
41034
|
-
(
|
|
41035
|
-
var De = pe(_e, Ce),
|
|
41027
|
+
(Ie < 0 || _e.length < Ie) && (Ie = null);
|
|
41028
|
+
var De = pe(_e, Ce), Le = _e.substring(0, De);
|
|
41036
41029
|
_e = _e.substring(De), Ce = Ce.substring(De), De = fe(_e, Ce);
|
|
41037
41030
|
var ze = _e.substring(_e.length - De);
|
|
41038
41031
|
_e = _e.substring(0, _e.length - De), Ce = Ce.substring(0, Ce.length - De);
|
|
41039
41032
|
var qe = ue(_e, Ce);
|
|
41040
|
-
return
|
|
41033
|
+
return Le && qe.unshift([oe, Le]), ze && qe.push([oe, ze]), be(qe), Ie != null && (qe = ye(qe, Ie)), qe = we(qe), qe;
|
|
41041
41034
|
}
|
|
41042
41035
|
function ue(_e, Ce) {
|
|
41043
|
-
var
|
|
41036
|
+
var Ie;
|
|
41044
41037
|
if (!_e)
|
|
41045
41038
|
return [[ne, Ce]];
|
|
41046
41039
|
if (!Ce)
|
|
41047
41040
|
return [[re, _e]];
|
|
41048
|
-
var De = _e.length > Ce.length ? _e : Ce,
|
|
41041
|
+
var De = _e.length > Ce.length ? _e : Ce, Le = _e.length > Ce.length ? Ce : _e, ze = De.indexOf(Le);
|
|
41049
41042
|
if (ze != -1)
|
|
41050
|
-
return
|
|
41043
|
+
return Ie = [
|
|
41051
41044
|
[ne, De.substring(0, ze)],
|
|
41052
|
-
[oe,
|
|
41053
|
-
[ne, De.substring(ze +
|
|
41054
|
-
], _e.length > Ce.length && (
|
|
41055
|
-
if (
|
|
41045
|
+
[oe, Le],
|
|
41046
|
+
[ne, De.substring(ze + Le.length)]
|
|
41047
|
+
], _e.length > Ce.length && (Ie[0][0] = Ie[2][0] = re), Ie;
|
|
41048
|
+
if (Le.length == 1)
|
|
41056
41049
|
return [[re, _e], [ne, Ce]];
|
|
41057
41050
|
var qe = ge(_e, Ce);
|
|
41058
41051
|
if (qe) {
|
|
@@ -41062,23 +41055,23 @@ var quill = { exports: {} };
|
|
|
41062
41055
|
return ce(_e, Ce);
|
|
41063
41056
|
}
|
|
41064
41057
|
function ce(_e, Ce) {
|
|
41065
|
-
for (var
|
|
41058
|
+
for (var Ie = _e.length, De = Ce.length, Le = Math.ceil((Ie + De) / 2), ze = Le, qe = 2 * Le, Ae = new Array(qe), Pe = new Array(qe), Me = 0; Me < qe; Me++)
|
|
41066
41059
|
Ae[Me] = -1, Pe[Me] = -1;
|
|
41067
41060
|
Ae[ze + 1] = 0, Pe[ze + 1] = 0;
|
|
41068
|
-
for (var Be =
|
|
41061
|
+
for (var Be = Ie - De, Ve = Be % 2 != 0, Je = 0, Ye = 0, kt = 0, Qe = 0, We = 0; We < Le; We++) {
|
|
41069
41062
|
for (var Fe = -We + Je; Fe <= We - Ye; Fe += 2) {
|
|
41070
41063
|
var He = ze + Fe, Ge;
|
|
41071
41064
|
Fe == -We || Fe != We && Ae[He - 1] < Ae[He + 1] ? Ge = Ae[He + 1] : Ge = Ae[He - 1] + 1;
|
|
41072
|
-
for (var Xe = Ge - Fe; Ge <
|
|
41065
|
+
for (var Xe = Ge - Fe; Ge < Ie && Xe < De && _e.charAt(Ge) == Ce.charAt(Xe); )
|
|
41073
41066
|
Ge++, Xe++;
|
|
41074
|
-
if (Ae[He] = Ge, Ge >
|
|
41067
|
+
if (Ae[He] = Ge, Ge > Ie)
|
|
41075
41068
|
Ye += 2;
|
|
41076
41069
|
else if (Xe > De)
|
|
41077
41070
|
Je += 2;
|
|
41078
41071
|
else if (Ve) {
|
|
41079
41072
|
var Ke = ze + Be - Fe;
|
|
41080
41073
|
if (Ke >= 0 && Ke < qe && Pe[Ke] != -1) {
|
|
41081
|
-
var je =
|
|
41074
|
+
var je = Ie - Pe[Ke];
|
|
41082
41075
|
if (Ge >= je)
|
|
41083
41076
|
return he(_e, Ce, Ge, Xe);
|
|
41084
41077
|
}
|
|
@@ -41087,9 +41080,9 @@ var quill = { exports: {} };
|
|
|
41087
41080
|
for (var Ze = -We + kt; Ze <= We - Qe; Ze += 2) {
|
|
41088
41081
|
var Ke = ze + Ze, je;
|
|
41089
41082
|
Ze == -We || Ze != We && Pe[Ke - 1] < Pe[Ke + 1] ? je = Pe[Ke + 1] : je = Pe[Ke - 1] + 1;
|
|
41090
|
-
for (var nt = je - Ze; je <
|
|
41083
|
+
for (var nt = je - Ze; je < Ie && nt < De && _e.charAt(Ie - je - 1) == Ce.charAt(De - nt - 1); )
|
|
41091
41084
|
je++, nt++;
|
|
41092
|
-
if (Pe[Ke] = je, je >
|
|
41085
|
+
if (Pe[Ke] = je, je > Ie)
|
|
41093
41086
|
Qe += 2;
|
|
41094
41087
|
else if (nt > De)
|
|
41095
41088
|
kt += 2;
|
|
@@ -41097,7 +41090,7 @@ var quill = { exports: {} };
|
|
|
41097
41090
|
var He = ze + Be - Ze;
|
|
41098
41091
|
if (He >= 0 && He < qe && Ae[He] != -1) {
|
|
41099
41092
|
var Ge = Ae[He], Xe = ze + Ge - He;
|
|
41100
|
-
if (je =
|
|
41093
|
+
if (je = Ie - je, Ge >= je)
|
|
41101
41094
|
return he(_e, Ce, Ge, Xe);
|
|
41102
41095
|
}
|
|
41103
41096
|
}
|
|
@@ -41105,29 +41098,29 @@ var quill = { exports: {} };
|
|
|
41105
41098
|
}
|
|
41106
41099
|
return [[re, _e], [ne, Ce]];
|
|
41107
41100
|
}
|
|
41108
|
-
function he(_e, Ce,
|
|
41109
|
-
var
|
|
41101
|
+
function he(_e, Ce, Ie, De) {
|
|
41102
|
+
var Le = _e.substring(0, Ie), ze = Ce.substring(0, De), qe = _e.substring(Ie), Ae = Ce.substring(De), Pe = de(Le, ze), Me = de(qe, Ae);
|
|
41110
41103
|
return Pe.concat(Me);
|
|
41111
41104
|
}
|
|
41112
41105
|
function pe(_e, Ce) {
|
|
41113
41106
|
if (!_e || !Ce || _e.charAt(0) != Ce.charAt(0))
|
|
41114
41107
|
return 0;
|
|
41115
|
-
for (var
|
|
41116
|
-
_e.substring(ze,
|
|
41117
|
-
return
|
|
41108
|
+
for (var Ie = 0, De = Math.min(_e.length, Ce.length), Le = De, ze = 0; Ie < Le; )
|
|
41109
|
+
_e.substring(ze, Le) == Ce.substring(ze, Le) ? (Ie = Le, ze = Ie) : De = Le, Le = Math.floor((De - Ie) / 2 + Ie);
|
|
41110
|
+
return Le;
|
|
41118
41111
|
}
|
|
41119
41112
|
function fe(_e, Ce) {
|
|
41120
41113
|
if (!_e || !Ce || _e.charAt(_e.length - 1) != Ce.charAt(Ce.length - 1))
|
|
41121
41114
|
return 0;
|
|
41122
|
-
for (var
|
|
41123
|
-
_e.substring(_e.length -
|
|
41124
|
-
return
|
|
41115
|
+
for (var Ie = 0, De = Math.min(_e.length, Ce.length), Le = De, ze = 0; Ie < Le; )
|
|
41116
|
+
_e.substring(_e.length - Le, _e.length - ze) == Ce.substring(Ce.length - Le, Ce.length - ze) ? (Ie = Le, ze = Ie) : De = Le, Le = Math.floor((De - Ie) / 2 + Ie);
|
|
41117
|
+
return Le;
|
|
41125
41118
|
}
|
|
41126
41119
|
function ge(_e, Ce) {
|
|
41127
|
-
var
|
|
41128
|
-
if (
|
|
41120
|
+
var Ie = _e.length > Ce.length ? _e : Ce, De = _e.length > Ce.length ? Ce : _e;
|
|
41121
|
+
if (Ie.length < 4 || De.length * 2 < Ie.length)
|
|
41129
41122
|
return null;
|
|
41130
|
-
function
|
|
41123
|
+
function Le(Ye, kt, Qe) {
|
|
41131
41124
|
for (var We = Ye.substring(Qe, Qe + Math.floor(Ye.length / 4)), Fe = -1, He = "", Ge, Xe, Ke, je; (Fe = kt.indexOf(We, Fe + 1)) != -1; ) {
|
|
41132
41125
|
var Ze = pe(
|
|
41133
41126
|
Ye.substring(Qe),
|
|
@@ -41146,14 +41139,14 @@ var quill = { exports: {} };
|
|
|
41146
41139
|
He
|
|
41147
41140
|
] : null;
|
|
41148
41141
|
}
|
|
41149
|
-
var ze =
|
|
41150
|
-
|
|
41142
|
+
var ze = Le(
|
|
41143
|
+
Ie,
|
|
41151
41144
|
De,
|
|
41152
|
-
Math.ceil(
|
|
41153
|
-
), qe =
|
|
41154
|
-
|
|
41145
|
+
Math.ceil(Ie.length / 4)
|
|
41146
|
+
), qe = Le(
|
|
41147
|
+
Ie,
|
|
41155
41148
|
De,
|
|
41156
|
-
Math.ceil(
|
|
41149
|
+
Math.ceil(Ie.length / 2)
|
|
41157
41150
|
), Ae;
|
|
41158
41151
|
if (!ze && !qe)
|
|
41159
41152
|
return null;
|
|
@@ -41165,32 +41158,32 @@ var quill = { exports: {} };
|
|
|
41165
41158
|
}
|
|
41166
41159
|
function be(_e) {
|
|
41167
41160
|
_e.push([oe, ""]);
|
|
41168
|
-
for (var Ce = 0,
|
|
41161
|
+
for (var Ce = 0, Ie = 0, De = 0, Le = "", ze = "", qe; Ce < _e.length; )
|
|
41169
41162
|
switch (_e[Ce][0]) {
|
|
41170
41163
|
case ne:
|
|
41171
41164
|
De++, ze += _e[Ce][1], Ce++;
|
|
41172
41165
|
break;
|
|
41173
41166
|
case re:
|
|
41174
|
-
|
|
41167
|
+
Ie++, Le += _e[Ce][1], Ce++;
|
|
41175
41168
|
break;
|
|
41176
41169
|
case oe:
|
|
41177
|
-
|
|
41170
|
+
Ie + De > 1 ? (Ie !== 0 && De !== 0 && (qe = pe(ze, Le), qe !== 0 && (Ce - Ie - De > 0 && _e[Ce - Ie - De - 1][0] == oe ? _e[Ce - Ie - De - 1][1] += ze.substring(0, qe) : (_e.splice(0, 0, [
|
|
41178
41171
|
oe,
|
|
41179
41172
|
ze.substring(0, qe)
|
|
41180
|
-
]), Ce++), ze = ze.substring(qe),
|
|
41173
|
+
]), Ce++), ze = ze.substring(qe), Le = Le.substring(qe)), qe = fe(ze, Le), qe !== 0 && (_e[Ce][1] = ze.substring(ze.length - qe) + _e[Ce][1], ze = ze.substring(0, ze.length - qe), Le = Le.substring(0, Le.length - qe))), Ie === 0 ? _e.splice(
|
|
41181
41174
|
Ce - De,
|
|
41182
|
-
|
|
41175
|
+
Ie + De,
|
|
41183
41176
|
[ne, ze]
|
|
41184
41177
|
) : De === 0 ? _e.splice(
|
|
41185
|
-
Ce -
|
|
41186
|
-
|
|
41187
|
-
[re,
|
|
41178
|
+
Ce - Ie,
|
|
41179
|
+
Ie + De,
|
|
41180
|
+
[re, Le]
|
|
41188
41181
|
) : _e.splice(
|
|
41189
|
-
Ce -
|
|
41190
|
-
|
|
41191
|
-
[re,
|
|
41182
|
+
Ce - Ie - De,
|
|
41183
|
+
Ie + De,
|
|
41184
|
+
[re, Le],
|
|
41192
41185
|
[ne, ze]
|
|
41193
|
-
), Ce = Ce -
|
|
41186
|
+
), Ce = Ce - Ie - De + (Ie ? 1 : 0) + (De ? 1 : 0) + 1) : Ce !== 0 && _e[Ce - 1][0] == oe ? (_e[Ce - 1][1] += _e[Ce][1], _e.splice(Ce, 1)) : Ce++, De = 0, Ie = 0, Le = "", ze = "";
|
|
41194
41187
|
break;
|
|
41195
41188
|
}
|
|
41196
41189
|
_e[_e.length - 1][1] === "" && _e.pop();
|
|
@@ -41204,55 +41197,55 @@ var quill = { exports: {} };
|
|
|
41204
41197
|
function ve(_e, Ce) {
|
|
41205
41198
|
if (Ce === 0)
|
|
41206
41199
|
return [oe, _e];
|
|
41207
|
-
for (var
|
|
41208
|
-
var
|
|
41209
|
-
if (
|
|
41210
|
-
var ze =
|
|
41200
|
+
for (var Ie = 0, De = 0; De < _e.length; De++) {
|
|
41201
|
+
var Le = _e[De];
|
|
41202
|
+
if (Le[0] === re || Le[0] === oe) {
|
|
41203
|
+
var ze = Ie + Le[1].length;
|
|
41211
41204
|
if (Ce === ze)
|
|
41212
41205
|
return [De + 1, _e];
|
|
41213
41206
|
if (Ce < ze) {
|
|
41214
41207
|
_e = _e.slice();
|
|
41215
|
-
var qe = Ce -
|
|
41208
|
+
var qe = Ce - Ie, Ae = [Le[0], Le[1].slice(0, qe)], Pe = [Le[0], Le[1].slice(qe)];
|
|
41216
41209
|
return _e.splice(De, 1, Ae, Pe), [De + 1, _e];
|
|
41217
41210
|
} else
|
|
41218
|
-
|
|
41211
|
+
Ie = ze;
|
|
41219
41212
|
}
|
|
41220
41213
|
}
|
|
41221
41214
|
throw new Error("cursor_pos is out of bounds!");
|
|
41222
41215
|
}
|
|
41223
41216
|
function ye(_e, Ce) {
|
|
41224
|
-
var
|
|
41217
|
+
var Ie = ve(_e, Ce), De = Ie[1], Le = Ie[0], ze = De[Le], qe = De[Le + 1];
|
|
41225
41218
|
if (ze == null)
|
|
41226
41219
|
return _e;
|
|
41227
41220
|
if (ze[0] !== oe)
|
|
41228
41221
|
return _e;
|
|
41229
41222
|
if (qe != null && ze[1] + qe[1] === qe[1] + ze[1])
|
|
41230
|
-
return De.splice(
|
|
41223
|
+
return De.splice(Le, 2, qe, ze), Se(De, Le, 2);
|
|
41231
41224
|
if (qe != null && qe[1].indexOf(ze[1]) === 0) {
|
|
41232
|
-
De.splice(
|
|
41225
|
+
De.splice(Le, 2, [qe[0], ze[1]], [0, ze[1]]);
|
|
41233
41226
|
var Ae = qe[1].slice(ze[1].length);
|
|
41234
|
-
return Ae.length > 0 && De.splice(
|
|
41227
|
+
return Ae.length > 0 && De.splice(Le + 2, 0, [qe[0], Ae]), Se(De, Le, 3);
|
|
41235
41228
|
} else
|
|
41236
41229
|
return _e;
|
|
41237
41230
|
}
|
|
41238
41231
|
function we(_e) {
|
|
41239
|
-
for (var Ce = !1,
|
|
41232
|
+
for (var Ce = !1, Ie = function(qe) {
|
|
41240
41233
|
return qe.charCodeAt(0) >= 56320 && qe.charCodeAt(0) <= 57343;
|
|
41241
41234
|
}, De = function(qe) {
|
|
41242
41235
|
return qe.charCodeAt(qe.length - 1) >= 55296 && qe.charCodeAt(qe.length - 1) <= 56319;
|
|
41243
|
-
},
|
|
41244
|
-
_e[
|
|
41236
|
+
}, Le = 2; Le < _e.length; Le += 1)
|
|
41237
|
+
_e[Le - 2][0] === oe && De(_e[Le - 2][1]) && _e[Le - 1][0] === re && Ie(_e[Le - 1][1]) && _e[Le][0] === ne && Ie(_e[Le][1]) && (Ce = !0, _e[Le - 1][1] = _e[Le - 2][1].slice(-1) + _e[Le - 1][1], _e[Le][1] = _e[Le - 2][1].slice(-1) + _e[Le][1], _e[Le - 2][1] = _e[Le - 2][1].slice(0, -1));
|
|
41245
41238
|
if (!Ce)
|
|
41246
41239
|
return _e;
|
|
41247
|
-
for (var ze = [],
|
|
41248
|
-
_e[
|
|
41240
|
+
for (var ze = [], Le = 0; Le < _e.length; Le += 1)
|
|
41241
|
+
_e[Le][1].length > 0 && ze.push(_e[Le]);
|
|
41249
41242
|
return ze;
|
|
41250
41243
|
}
|
|
41251
|
-
function Se(_e, Ce,
|
|
41252
|
-
for (var De = Ce +
|
|
41244
|
+
function Se(_e, Ce, Ie) {
|
|
41245
|
+
for (var De = Ce + Ie - 1; De >= 0 && De >= Ce - 1; De--)
|
|
41253
41246
|
if (De + 1 < _e.length) {
|
|
41254
|
-
var
|
|
41255
|
-
|
|
41247
|
+
var Le = _e[De], ze = _e[De + 1];
|
|
41248
|
+
Le[0] === ze[1] && _e.splice(De, 2, [Le[0], Le[1] + ze[1]]);
|
|
41256
41249
|
}
|
|
41257
41250
|
return _e;
|
|
41258
41251
|
}
|
|
@@ -41332,7 +41325,7 @@ var quill = { exports: {} };
|
|
|
41332
41325
|
Se[_e - 1] = arguments[_e];
|
|
41333
41326
|
ye.fn.apply(ye.context, Se);
|
|
41334
41327
|
} else {
|
|
41335
|
-
var Ce = ye.length,
|
|
41328
|
+
var Ce = ye.length, Ie;
|
|
41336
41329
|
for (_e = 0; _e < Ce; _e++)
|
|
41337
41330
|
switch (ye[_e].once && this.removeListener(he, ye[_e].fn, void 0, !0), we) {
|
|
41338
41331
|
case 1:
|
|
@@ -41348,8 +41341,8 @@ var quill = { exports: {} };
|
|
|
41348
41341
|
ye[_e].fn.call(ye[_e].context, pe, fe, ge);
|
|
41349
41342
|
break;
|
|
41350
41343
|
default:
|
|
41351
|
-
if (!Se) for (
|
|
41352
|
-
Se[
|
|
41344
|
+
if (!Se) for (Ie = 1, Se = new Array(we - 1); Ie < we; Ie++)
|
|
41345
|
+
Se[Ie - 1] = arguments[Ie];
|
|
41353
41346
|
ye[_e].fn.apply(ye[_e].context, Se);
|
|
41354
41347
|
}
|
|
41355
41348
|
}
|
|
@@ -41425,7 +41418,7 @@ var quill = { exports: {} };
|
|
|
41425
41418
|
return function(St, qt, Pt) {
|
|
41426
41419
|
return qt && xt(St.prototype, qt), Pt && xt(St, Pt), St;
|
|
41427
41420
|
};
|
|
41428
|
-
}(), ue = re(3), ce = Pe(ue), he = re(2), pe = Pe(he), fe = re(0), ge = Pe(fe), be = re(5), me = Pe(be), ve = re(10), ye = Pe(ve), we = re(9), Se = Pe(we), _e = re(37), Ce = re(38),
|
|
41421
|
+
}(), ue = re(3), ce = Pe(ue), he = re(2), pe = Pe(he), fe = re(0), ge = Pe(fe), be = re(5), me = Pe(be), ve = re(10), ye = Pe(ve), we = re(9), Se = Pe(we), _e = re(37), Ce = re(38), Ie = re(13), De = Pe(Ie), Le = re(26), ze = re(39), qe = re(40), Ae = re(41);
|
|
41429
41422
|
function Pe(xt) {
|
|
41430
41423
|
return xt && xt.__esModule ? xt : { default: xt };
|
|
41431
41424
|
}
|
|
@@ -41448,7 +41441,7 @@ var quill = { exports: {} };
|
|
|
41448
41441
|
}
|
|
41449
41442
|
var Ye = (0, ye.default)("quill:clipboard"), kt = "__ql-matcher", Qe = [[Node.TEXT_NODE, di], [Node.TEXT_NODE, Kt], ["br", Lt], [Node.ELEMENT_NODE, Kt], [Node.ELEMENT_NODE, Ct], [Node.ELEMENT_NODE, ei], [Node.ELEMENT_NODE, ot], [Node.ELEMENT_NODE, mi], ["li", jt], ["b", nt.bind(nt, "bold")], ["i", nt.bind(nt, "italic")], ["style", Bt]], We = [_e.AlignAttribute, ze.DirectionAttribute].reduce(function(xt, St) {
|
|
41450
41443
|
return xt[St.keyName] = St, xt;
|
|
41451
|
-
}, {}), Fe = [_e.AlignStyle, Ce.BackgroundStyle,
|
|
41444
|
+
}, {}), Fe = [_e.AlignStyle, Ce.BackgroundStyle, Le.ColorStyle, ze.DirectionStyle, qe.FontStyle, Ae.SizeStyle].reduce(function(xt, St) {
|
|
41452
41445
|
return xt[St.keyName] = St, xt;
|
|
41453
41446
|
}, {}), He = function(xt) {
|
|
41454
41447
|
Je(St, xt);
|
|
@@ -41767,7 +41760,7 @@ var quill = { exports: {} };
|
|
|
41767
41760
|
throw new TypeError("Super expression must either be null or a function, not " + typeof Me);
|
|
41768
41761
|
Pe.prototype = Object.create(Me && Me.prototype, { constructor: { value: Pe, enumerable: !1, writable: !0, configurable: !0 } }), Me && (Object.setPrototypeOf ? Object.setPrototypeOf(Pe, Me) : Pe.__proto__ = Me);
|
|
41769
41762
|
}
|
|
41770
|
-
var
|
|
41763
|
+
var Ie = "getRootNode" in document, De = (0, be.default)("quill:toolbar"), Le = function(Pe) {
|
|
41771
41764
|
Ce(Me, Pe);
|
|
41772
41765
|
function Me(Be, Ve) {
|
|
41773
41766
|
Se(this, Me);
|
|
@@ -41776,7 +41769,7 @@ var quill = { exports: {} };
|
|
|
41776
41769
|
var Ye = document.createElement("div");
|
|
41777
41770
|
qe(Ye, Je.options.container), Be.container.parentNode.insertBefore(Ye, Be.container), Je.container = Ye;
|
|
41778
41771
|
} else if (typeof Je.options.container == "string") {
|
|
41779
|
-
var kt =
|
|
41772
|
+
var kt = Ie ? Be.container.getRootNode() : document;
|
|
41780
41773
|
Je.container = kt.querySelector(Je.options.container);
|
|
41781
41774
|
} else
|
|
41782
41775
|
Je.container = Je.options.container;
|
|
@@ -41867,7 +41860,7 @@ var quill = { exports: {} };
|
|
|
41867
41860
|
}
|
|
41868
41861
|
}]), Me;
|
|
41869
41862
|
}(ve.default);
|
|
41870
|
-
|
|
41863
|
+
Le.DEFAULTS = {};
|
|
41871
41864
|
function ze(Pe, Me, Be) {
|
|
41872
41865
|
var Ve = document.createElement("button");
|
|
41873
41866
|
Ve.setAttribute("type", "button"), Ve.classList.add("ql-" + Me), Be != null && (Ve.value = Be), Pe.appendChild(Ve);
|
|
@@ -41892,7 +41885,7 @@ var quill = { exports: {} };
|
|
|
41892
41885
|
Je !== !1 ? Ye.setAttribute("value", Je) : Ye.setAttribute("selected", "selected"), Ve.appendChild(Ye);
|
|
41893
41886
|
}), Pe.appendChild(Ve);
|
|
41894
41887
|
}
|
|
41895
|
-
|
|
41888
|
+
Le.DEFAULTS = {
|
|
41896
41889
|
container: null,
|
|
41897
41890
|
handlers: {
|
|
41898
41891
|
clean: function() {
|
|
@@ -41925,7 +41918,7 @@ var quill = { exports: {} };
|
|
|
41925
41918
|
Me === "check" ? Ve.list === "checked" || Ve.list === "unchecked" ? this.quill.format("list", !1, fe.default.sources.USER) : this.quill.format("list", "unchecked", fe.default.sources.USER) : this.quill.format("list", Me, fe.default.sources.USER);
|
|
41926
41919
|
}
|
|
41927
41920
|
}
|
|
41928
|
-
}, te.default =
|
|
41921
|
+
}, te.default = Le, te.addControls = qe;
|
|
41929
41922
|
},
|
|
41930
41923
|
/* 59 */
|
|
41931
41924
|
/***/
|
|
@@ -42187,13 +42180,13 @@ var quill = { exports: {} };
|
|
|
42187
42180
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
42188
42181
|
return Ae && (typeof Ae == "object" || typeof Ae == "function") ? Ae : qe;
|
|
42189
42182
|
}
|
|
42190
|
-
function
|
|
42183
|
+
function Ie(qe, Ae) {
|
|
42191
42184
|
if (typeof Ae != "function" && Ae !== null)
|
|
42192
42185
|
throw new TypeError("Super expression must either be null or a function, not " + typeof Ae);
|
|
42193
42186
|
qe.prototype = Object.create(Ae && Ae.prototype, { constructor: { value: qe, enumerable: !1, writable: !0, configurable: !0 } }), Ae && (Object.setPrototypeOf ? Object.setPrototypeOf(qe, Ae) : qe.__proto__ = Ae);
|
|
42194
42187
|
}
|
|
42195
|
-
var De = [[{ header: ["1", "2", "3", !1] }], ["bold", "italic", "underline", "link"], [{ list: "ordered" }, { list: "bullet" }], ["clean"]],
|
|
42196
|
-
|
|
42188
|
+
var De = [[{ header: ["1", "2", "3", !1] }], ["bold", "italic", "underline", "link"], [{ list: "ordered" }, { list: "bullet" }], ["clean"]], Le = function(qe) {
|
|
42189
|
+
Ie(Ae, qe);
|
|
42197
42190
|
function Ae(Pe, Me) {
|
|
42198
42191
|
_e(this, Ae), Me.modules.toolbar != null && Me.modules.toolbar.container == null && (Me.modules.toolbar.container = De);
|
|
42199
42192
|
var Be = Ce(this, (Ae.__proto__ || Object.getPrototypeOf(Ae)).call(this, Pe, Me));
|
|
@@ -42208,7 +42201,7 @@ var quill = { exports: {} };
|
|
|
42208
42201
|
}
|
|
42209
42202
|
}]), Ae;
|
|
42210
42203
|
}(ge.default);
|
|
42211
|
-
|
|
42204
|
+
Le.DEFAULTS = (0, ce.default)(!0, {}, ge.default.DEFAULTS, {
|
|
42212
42205
|
modules: {
|
|
42213
42206
|
toolbar: {
|
|
42214
42207
|
handlers: {
|
|
@@ -42228,7 +42221,7 @@ var quill = { exports: {} };
|
|
|
42228
42221
|
}
|
|
42229
42222
|
});
|
|
42230
42223
|
var ze = function(qe) {
|
|
42231
|
-
|
|
42224
|
+
Ie(Ae, qe);
|
|
42232
42225
|
function Ae(Pe, Me) {
|
|
42233
42226
|
_e(this, Ae);
|
|
42234
42227
|
var Be = Ce(this, (Ae.__proto__ || Object.getPrototypeOf(Ae)).call(this, Pe, Me));
|
|
@@ -42269,7 +42262,7 @@ var quill = { exports: {} };
|
|
|
42269
42262
|
}
|
|
42270
42263
|
}]), Ae;
|
|
42271
42264
|
}(fe.BaseTooltip);
|
|
42272
|
-
ze.TEMPLATE = ['<a class="ql-preview" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join(""), te.default =
|
|
42265
|
+
ze.TEMPLATE = ['<a class="ql-preview" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join(""), te.default = Le;
|
|
42273
42266
|
},
|
|
42274
42267
|
/* 64 */
|
|
42275
42268
|
/***/
|
|
@@ -42277,7 +42270,7 @@ var quill = { exports: {} };
|
|
|
42277
42270
|
Object.defineProperty(te, "__esModule", {
|
|
42278
42271
|
value: !0
|
|
42279
42272
|
});
|
|
42280
|
-
var ne = re(29), oe = Tt(ne), de = re(37), ue = re(39), ce = re(65), he = re(66), pe = Tt(he), fe = re(67), ge = Tt(fe), be = re(68), me = Tt(be), ve = re(38), ye = re(26), we = re(40), Se = re(41), _e = re(57), Ce = Tt(_e),
|
|
42273
|
+
var ne = re(29), oe = Tt(ne), de = re(37), ue = re(39), ce = re(65), he = re(66), pe = Tt(he), fe = re(67), ge = Tt(fe), be = re(68), me = Tt(be), ve = re(38), ye = re(26), we = re(40), Se = re(41), _e = re(57), Ce = Tt(_e), Ie = re(69), De = Tt(Ie), Le = re(27), ze = Tt(Le), qe = re(70), Ae = Tt(qe), Pe = re(71), Me = Tt(Pe), Be = re(72), Ve = Tt(Be), Je = re(73), Ye = Tt(Je), kt = re(74), Qe = Tt(kt), We = re(13), Fe = Tt(We), He = re(75), Ge = Tt(He), Xe = re(76), Ke = Tt(Xe), je = re(58), Ze = Tt(je), nt = re(42), ot = Tt(nt), Ct = re(28), Lt = Tt(Ct), Bt = re(60), jt = Tt(Bt), Kt = re(61), ei = Tt(Kt), mi = re(62), di = Tt(mi), xt = re(109), St = Tt(xt), qt = re(63), Pt = Tt(qt);
|
|
42281
42274
|
function Tt(Gt) {
|
|
42282
42275
|
return Gt && Gt.__esModule ? Gt : { default: Gt };
|
|
42283
42276
|
}
|
|
@@ -42494,33 +42487,33 @@ var quill = { exports: {} };
|
|
|
42494
42487
|
value: !0
|
|
42495
42488
|
}), te.default = te.ListItem = void 0;
|
|
42496
42489
|
var ne = /* @__PURE__ */ function() {
|
|
42497
|
-
function _e(Ce,
|
|
42498
|
-
for (var De = 0; De <
|
|
42499
|
-
var
|
|
42500
|
-
|
|
42490
|
+
function _e(Ce, Ie) {
|
|
42491
|
+
for (var De = 0; De < Ie.length; De++) {
|
|
42492
|
+
var Le = Ie[De];
|
|
42493
|
+
Le.enumerable = Le.enumerable || !1, Le.configurable = !0, "value" in Le && (Le.writable = !0), Object.defineProperty(Ce, Le.key, Le);
|
|
42501
42494
|
}
|
|
42502
42495
|
}
|
|
42503
|
-
return function(Ce,
|
|
42504
|
-
return
|
|
42496
|
+
return function(Ce, Ie, De) {
|
|
42497
|
+
return Ie && _e(Ce.prototype, Ie), De && _e(Ce, De), Ce;
|
|
42505
42498
|
};
|
|
42506
|
-
}(), oe = function _e(Ce,
|
|
42499
|
+
}(), oe = function _e(Ce, Ie, De) {
|
|
42507
42500
|
Ce === null && (Ce = Function.prototype);
|
|
42508
|
-
var
|
|
42509
|
-
if (
|
|
42501
|
+
var Le = Object.getOwnPropertyDescriptor(Ce, Ie);
|
|
42502
|
+
if (Le === void 0) {
|
|
42510
42503
|
var ze = Object.getPrototypeOf(Ce);
|
|
42511
|
-
return ze === null ? void 0 : _e(ze,
|
|
42504
|
+
return ze === null ? void 0 : _e(ze, Ie, De);
|
|
42512
42505
|
} else {
|
|
42513
|
-
if ("value" in
|
|
42514
|
-
return
|
|
42515
|
-
var qe =
|
|
42506
|
+
if ("value" in Le)
|
|
42507
|
+
return Le.value;
|
|
42508
|
+
var qe = Le.get;
|
|
42516
42509
|
return qe === void 0 ? void 0 : qe.call(De);
|
|
42517
42510
|
}
|
|
42518
42511
|
}, de = re(0), ue = ge(de), ce = re(4), he = ge(ce), pe = re(25), fe = ge(pe);
|
|
42519
42512
|
function ge(_e) {
|
|
42520
42513
|
return _e && _e.__esModule ? _e : { default: _e };
|
|
42521
42514
|
}
|
|
42522
|
-
function be(_e, Ce,
|
|
42523
|
-
return Ce in _e ? Object.defineProperty(_e, Ce, { value:
|
|
42515
|
+
function be(_e, Ce, Ie) {
|
|
42516
|
+
return Ce in _e ? Object.defineProperty(_e, Ce, { value: Ie, enumerable: !0, configurable: !0, writable: !0 }) : _e[Ce] = Ie, _e;
|
|
42524
42517
|
}
|
|
42525
42518
|
function me(_e, Ce) {
|
|
42526
42519
|
if (!(_e instanceof Ce))
|
|
@@ -42543,8 +42536,8 @@ var quill = { exports: {} };
|
|
|
42543
42536
|
}
|
|
42544
42537
|
return ne(Ce, [{
|
|
42545
42538
|
key: "format",
|
|
42546
|
-
value: function(De,
|
|
42547
|
-
De === Se.blotName && !
|
|
42539
|
+
value: function(De, Le) {
|
|
42540
|
+
De === Se.blotName && !Le ? this.replaceWith(ue.default.create(this.statics.scope)) : oe(Ce.prototype.__proto__ || Object.getPrototypeOf(Ce.prototype), "format", this).call(this, De, Le);
|
|
42548
42541
|
}
|
|
42549
42542
|
}, {
|
|
42550
42543
|
key: "remove",
|
|
@@ -42553,8 +42546,8 @@ var quill = { exports: {} };
|
|
|
42553
42546
|
}
|
|
42554
42547
|
}, {
|
|
42555
42548
|
key: "replaceWith",
|
|
42556
|
-
value: function(De,
|
|
42557
|
-
return this.parent.isolate(this.offset(this.parent), this.length()), De === this.parent.statics.blotName ? (this.parent.replaceWith(De,
|
|
42549
|
+
value: function(De, Le) {
|
|
42550
|
+
return this.parent.isolate(this.offset(this.parent), this.length()), De === this.parent.statics.blotName ? (this.parent.replaceWith(De, Le), this) : (this.parent.unwrap(), oe(Ce.prototype.__proto__ || Object.getPrototypeOf(Ce.prototype), "replaceWith", this).call(this, De, Le));
|
|
42558
42551
|
}
|
|
42559
42552
|
}], [{
|
|
42560
42553
|
key: "formats",
|
|
@@ -42568,7 +42561,7 @@ var quill = { exports: {} };
|
|
|
42568
42561
|
ye(Ce, _e), ne(Ce, null, [{
|
|
42569
42562
|
key: "create",
|
|
42570
42563
|
value: function(De) {
|
|
42571
|
-
var
|
|
42564
|
+
var Le = De === "ordered" ? "OL" : "UL", ze = oe(Ce.__proto__ || Object.getPrototypeOf(Ce), "create", this).call(this, Le);
|
|
42572
42565
|
return (De === "checked" || De === "unchecked") && ze.setAttribute("data-checked", De === "checked"), ze;
|
|
42573
42566
|
}
|
|
42574
42567
|
}, {
|
|
@@ -42579,20 +42572,20 @@ var quill = { exports: {} };
|
|
|
42579
42572
|
return De.hasAttribute("data-checked") ? De.getAttribute("data-checked") === "true" ? "checked" : "unchecked" : "bullet";
|
|
42580
42573
|
}
|
|
42581
42574
|
}]);
|
|
42582
|
-
function Ce(
|
|
42575
|
+
function Ce(Ie) {
|
|
42583
42576
|
me(this, Ce);
|
|
42584
|
-
var De = ve(this, (Ce.__proto__ || Object.getPrototypeOf(Ce)).call(this,
|
|
42585
|
-
if (qe.target.parentNode ===
|
|
42586
|
-
var Ae = De.statics.formats(
|
|
42577
|
+
var De = ve(this, (Ce.__proto__ || Object.getPrototypeOf(Ce)).call(this, Ie)), Le = function(qe) {
|
|
42578
|
+
if (qe.target.parentNode === Ie) {
|
|
42579
|
+
var Ae = De.statics.formats(Ie), Pe = ue.default.find(qe.target);
|
|
42587
42580
|
Ae === "checked" ? Pe.format("list", "unchecked") : Ae === "unchecked" && Pe.format("list", "checked");
|
|
42588
42581
|
}
|
|
42589
42582
|
};
|
|
42590
|
-
return
|
|
42583
|
+
return Ie.addEventListener("touchstart", Le), Ie.addEventListener("mousedown", Le), De;
|
|
42591
42584
|
}
|
|
42592
42585
|
return ne(Ce, [{
|
|
42593
42586
|
key: "format",
|
|
42594
|
-
value: function(De,
|
|
42595
|
-
this.children.length > 0 && this.children.tail.format(De,
|
|
42587
|
+
value: function(De, Le) {
|
|
42588
|
+
this.children.length > 0 && this.children.tail.format(De, Le);
|
|
42596
42589
|
}
|
|
42597
42590
|
}, {
|
|
42598
42591
|
key: "formats",
|
|
@@ -42601,11 +42594,11 @@ var quill = { exports: {} };
|
|
|
42601
42594
|
}
|
|
42602
42595
|
}, {
|
|
42603
42596
|
key: "insertBefore",
|
|
42604
|
-
value: function(De,
|
|
42597
|
+
value: function(De, Le) {
|
|
42605
42598
|
if (De instanceof we)
|
|
42606
|
-
oe(Ce.prototype.__proto__ || Object.getPrototypeOf(Ce.prototype), "insertBefore", this).call(this, De,
|
|
42599
|
+
oe(Ce.prototype.__proto__ || Object.getPrototypeOf(Ce.prototype), "insertBefore", this).call(this, De, Le);
|
|
42607
42600
|
else {
|
|
42608
|
-
var ze =
|
|
42601
|
+
var ze = Le == null ? this.length() : Le.offset(this), qe = this.split(ze);
|
|
42609
42602
|
qe.parent.insertBefore(De, qe);
|
|
42610
42603
|
}
|
|
42611
42604
|
}
|
|
@@ -42613,15 +42606,15 @@ var quill = { exports: {} };
|
|
|
42613
42606
|
key: "optimize",
|
|
42614
42607
|
value: function(De) {
|
|
42615
42608
|
oe(Ce.prototype.__proto__ || Object.getPrototypeOf(Ce.prototype), "optimize", this).call(this, De);
|
|
42616
|
-
var
|
|
42617
|
-
|
|
42609
|
+
var Le = this.next;
|
|
42610
|
+
Le != null && Le.prev === this && Le.statics.blotName === this.statics.blotName && Le.domNode.tagName === this.domNode.tagName && Le.domNode.getAttribute("data-checked") === this.domNode.getAttribute("data-checked") && (Le.moveChildren(this), Le.remove());
|
|
42618
42611
|
}
|
|
42619
42612
|
}, {
|
|
42620
42613
|
key: "replace",
|
|
42621
42614
|
value: function(De) {
|
|
42622
42615
|
if (De.statics.blotName !== this.statics.blotName) {
|
|
42623
|
-
var
|
|
42624
|
-
De.moveChildren(
|
|
42616
|
+
var Le = ue.default.create(this.statics.defaultChild);
|
|
42617
|
+
De.moveChildren(Le), this.appendChild(Le);
|
|
42625
42618
|
}
|
|
42626
42619
|
oe(Ce.prototype.__proto__ || Object.getPrototypeOf(Ce.prototype), "replace", this).call(this, De);
|
|
42627
42620
|
}
|
|
@@ -42819,8 +42812,8 @@ var quill = { exports: {} };
|
|
|
42819
42812
|
} else {
|
|
42820
42813
|
if ("value" in _e)
|
|
42821
42814
|
return _e.value;
|
|
42822
|
-
var
|
|
42823
|
-
return
|
|
42815
|
+
var Ie = _e.get;
|
|
42816
|
+
return Ie === void 0 ? void 0 : Ie.call(Se);
|
|
42824
42817
|
}
|
|
42825
42818
|
}, de = re(0), ue = he(de), ce = re(27);
|
|
42826
42819
|
function he(ve) {
|
|
@@ -42907,8 +42900,8 @@ var quill = { exports: {} };
|
|
|
42907
42900
|
} else {
|
|
42908
42901
|
if ("value" in _e)
|
|
42909
42902
|
return _e.value;
|
|
42910
|
-
var
|
|
42911
|
-
return
|
|
42903
|
+
var Ie = _e.get;
|
|
42904
|
+
return Ie === void 0 ? void 0 : Ie.call(Se);
|
|
42912
42905
|
}
|
|
42913
42906
|
}, de = re(4), ue = re(27), ce = he(ue);
|
|
42914
42907
|
function he(ve) {
|
|
@@ -42973,25 +42966,25 @@ var quill = { exports: {} };
|
|
|
42973
42966
|
}), te.default = te.FormulaBlot = void 0;
|
|
42974
42967
|
var ne = /* @__PURE__ */ function() {
|
|
42975
42968
|
function Se(_e, Ce) {
|
|
42976
|
-
for (var
|
|
42977
|
-
var De = Ce[
|
|
42969
|
+
for (var Ie = 0; Ie < Ce.length; Ie++) {
|
|
42970
|
+
var De = Ce[Ie];
|
|
42978
42971
|
De.enumerable = De.enumerable || !1, De.configurable = !0, "value" in De && (De.writable = !0), Object.defineProperty(_e, De.key, De);
|
|
42979
42972
|
}
|
|
42980
42973
|
}
|
|
42981
|
-
return function(_e, Ce,
|
|
42982
|
-
return Ce && Se(_e.prototype, Ce),
|
|
42974
|
+
return function(_e, Ce, Ie) {
|
|
42975
|
+
return Ce && Se(_e.prototype, Ce), Ie && Se(_e, Ie), _e;
|
|
42983
42976
|
};
|
|
42984
|
-
}(), oe = function Se(_e, Ce,
|
|
42977
|
+
}(), oe = function Se(_e, Ce, Ie) {
|
|
42985
42978
|
_e === null && (_e = Function.prototype);
|
|
42986
42979
|
var De = Object.getOwnPropertyDescriptor(_e, Ce);
|
|
42987
42980
|
if (De === void 0) {
|
|
42988
|
-
var
|
|
42989
|
-
return
|
|
42981
|
+
var Le = Object.getPrototypeOf(_e);
|
|
42982
|
+
return Le === null ? void 0 : Se(Le, Ce, Ie);
|
|
42990
42983
|
} else {
|
|
42991
42984
|
if ("value" in De)
|
|
42992
42985
|
return De.value;
|
|
42993
42986
|
var ze = De.get;
|
|
42994
|
-
return ze === void 0 ? void 0 : ze.call(
|
|
42987
|
+
return ze === void 0 ? void 0 : ze.call(Ie);
|
|
42995
42988
|
}
|
|
42996
42989
|
}, de = re(36), ue = ge(de), ce = re(5), he = ge(ce), pe = re(9), fe = ge(pe);
|
|
42997
42990
|
function ge(Se) {
|
|
@@ -43018,17 +43011,17 @@ var quill = { exports: {} };
|
|
|
43018
43011
|
}
|
|
43019
43012
|
return ne(_e, null, [{
|
|
43020
43013
|
key: "create",
|
|
43021
|
-
value: function(
|
|
43022
|
-
var De = oe(_e.__proto__ || Object.getPrototypeOf(_e), "create", this).call(this,
|
|
43023
|
-
return typeof
|
|
43014
|
+
value: function(Ie) {
|
|
43015
|
+
var De = oe(_e.__proto__ || Object.getPrototypeOf(_e), "create", this).call(this, Ie);
|
|
43016
|
+
return typeof Ie == "string" && (window.katex.render(Ie, De, {
|
|
43024
43017
|
throwOnError: !1,
|
|
43025
43018
|
errorColor: "#f00"
|
|
43026
|
-
}), De.setAttribute("data-value",
|
|
43019
|
+
}), De.setAttribute("data-value", Ie)), De;
|
|
43027
43020
|
}
|
|
43028
43021
|
}, {
|
|
43029
43022
|
key: "value",
|
|
43030
|
-
value: function(
|
|
43031
|
-
return
|
|
43023
|
+
value: function(Ie) {
|
|
43024
|
+
return Ie.getAttribute("data-value");
|
|
43032
43025
|
}
|
|
43033
43026
|
}]), _e;
|
|
43034
43027
|
}(ue.default);
|
|
@@ -43058,21 +43051,21 @@ var quill = { exports: {} };
|
|
|
43058
43051
|
value: !0
|
|
43059
43052
|
}), te.default = te.CodeToken = te.CodeBlock = void 0;
|
|
43060
43053
|
var ne = /* @__PURE__ */ function() {
|
|
43061
|
-
function
|
|
43062
|
-
for (var ze = 0; ze <
|
|
43063
|
-
var qe =
|
|
43054
|
+
function Ie(De, Le) {
|
|
43055
|
+
for (var ze = 0; ze < Le.length; ze++) {
|
|
43056
|
+
var qe = Le[ze];
|
|
43064
43057
|
qe.enumerable = qe.enumerable || !1, qe.configurable = !0, "value" in qe && (qe.writable = !0), Object.defineProperty(De, qe.key, qe);
|
|
43065
43058
|
}
|
|
43066
43059
|
}
|
|
43067
|
-
return function(De,
|
|
43068
|
-
return
|
|
43060
|
+
return function(De, Le, ze) {
|
|
43061
|
+
return Le && Ie(De.prototype, Le), ze && Ie(De, ze), De;
|
|
43069
43062
|
};
|
|
43070
|
-
}(), oe = function
|
|
43063
|
+
}(), oe = function Ie(De, Le, ze) {
|
|
43071
43064
|
De === null && (De = Function.prototype);
|
|
43072
|
-
var qe = Object.getOwnPropertyDescriptor(De,
|
|
43065
|
+
var qe = Object.getOwnPropertyDescriptor(De, Le);
|
|
43073
43066
|
if (qe === void 0) {
|
|
43074
43067
|
var Ae = Object.getPrototypeOf(De);
|
|
43075
|
-
return Ae === null ? void 0 :
|
|
43068
|
+
return Ae === null ? void 0 : Ie(Ae, Le, ze);
|
|
43076
43069
|
} else {
|
|
43077
43070
|
if ("value" in qe)
|
|
43078
43071
|
return qe.value;
|
|
@@ -43080,25 +43073,25 @@ var quill = { exports: {} };
|
|
|
43080
43073
|
return Pe === void 0 ? void 0 : Pe.call(ze);
|
|
43081
43074
|
}
|
|
43082
43075
|
}, de = re(0), ue = me(de), ce = re(5), he = me(ce), pe = re(9), fe = me(pe), ge = re(13), be = me(ge);
|
|
43083
|
-
function me(
|
|
43084
|
-
return
|
|
43076
|
+
function me(Ie) {
|
|
43077
|
+
return Ie && Ie.__esModule ? Ie : { default: Ie };
|
|
43085
43078
|
}
|
|
43086
|
-
function ve(
|
|
43087
|
-
if (!(
|
|
43079
|
+
function ve(Ie, De) {
|
|
43080
|
+
if (!(Ie instanceof De))
|
|
43088
43081
|
throw new TypeError("Cannot call a class as a function");
|
|
43089
43082
|
}
|
|
43090
|
-
function ye(
|
|
43091
|
-
if (!
|
|
43083
|
+
function ye(Ie, De) {
|
|
43084
|
+
if (!Ie)
|
|
43092
43085
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
43093
|
-
return De && (typeof De == "object" || typeof De == "function") ? De :
|
|
43086
|
+
return De && (typeof De == "object" || typeof De == "function") ? De : Ie;
|
|
43094
43087
|
}
|
|
43095
|
-
function we(
|
|
43088
|
+
function we(Ie, De) {
|
|
43096
43089
|
if (typeof De != "function" && De !== null)
|
|
43097
43090
|
throw new TypeError("Super expression must either be null or a function, not " + typeof De);
|
|
43098
|
-
|
|
43091
|
+
Ie.prototype = Object.create(De && De.prototype, { constructor: { value: Ie, enumerable: !1, writable: !0, configurable: !0 } }), De && (Object.setPrototypeOf ? Object.setPrototypeOf(Ie, De) : Ie.__proto__ = De);
|
|
43099
43092
|
}
|
|
43100
|
-
var Se = function(
|
|
43101
|
-
we(De,
|
|
43093
|
+
var Se = function(Ie) {
|
|
43094
|
+
we(De, Ie);
|
|
43102
43095
|
function De() {
|
|
43103
43096
|
return ve(this, De), ye(this, (De.__proto__ || Object.getPrototypeOf(De)).apply(this, arguments));
|
|
43104
43097
|
}
|
|
@@ -43118,16 +43111,16 @@ var quill = { exports: {} };
|
|
|
43118
43111
|
Se.className = "ql-syntax";
|
|
43119
43112
|
var _e = new ue.default.Attributor.Class("token", "hljs", {
|
|
43120
43113
|
scope: ue.default.Scope.INLINE
|
|
43121
|
-
}), Ce = function(
|
|
43122
|
-
we(De,
|
|
43114
|
+
}), Ce = function(Ie) {
|
|
43115
|
+
we(De, Ie), ne(De, null, [{
|
|
43123
43116
|
key: "register",
|
|
43124
43117
|
value: function() {
|
|
43125
43118
|
he.default.register(_e, !0), he.default.register(Se, !0);
|
|
43126
43119
|
}
|
|
43127
43120
|
}]);
|
|
43128
|
-
function De(
|
|
43121
|
+
function De(Le, ze) {
|
|
43129
43122
|
ve(this, De);
|
|
43130
|
-
var qe = ye(this, (De.__proto__ || Object.getPrototypeOf(De)).call(this,
|
|
43123
|
+
var qe = ye(this, (De.__proto__ || Object.getPrototypeOf(De)).call(this, Le, ze));
|
|
43131
43124
|
if (typeof qe.options.highlight != "function")
|
|
43132
43125
|
throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");
|
|
43133
43126
|
var Ae = null;
|
|
@@ -43153,8 +43146,8 @@ var quill = { exports: {} };
|
|
|
43153
43146
|
}(fe.default);
|
|
43154
43147
|
Ce.DEFAULTS = {
|
|
43155
43148
|
highlight: function() {
|
|
43156
|
-
return window.hljs == null ? null : function(
|
|
43157
|
-
var De = window.hljs.highlightAuto(
|
|
43149
|
+
return window.hljs == null ? null : function(Ie) {
|
|
43150
|
+
var De = window.hljs.highlightAuto(Ie);
|
|
43158
43151
|
return De.value;
|
|
43159
43152
|
};
|
|
43160
43153
|
}(),
|
|
@@ -43327,11 +43320,11 @@ var quill = { exports: {} };
|
|
|
43327
43320
|
Object.defineProperty(te, "__esModule", {
|
|
43328
43321
|
value: !0
|
|
43329
43322
|
}), te.default = te.BubbleTooltip = void 0;
|
|
43330
|
-
var ne = function De(
|
|
43331
|
-
|
|
43332
|
-
var Ae = Object.getOwnPropertyDescriptor(
|
|
43323
|
+
var ne = function De(Le, ze, qe) {
|
|
43324
|
+
Le === null && (Le = Function.prototype);
|
|
43325
|
+
var Ae = Object.getOwnPropertyDescriptor(Le, ze);
|
|
43333
43326
|
if (Ae === void 0) {
|
|
43334
|
-
var Pe = Object.getPrototypeOf(
|
|
43327
|
+
var Pe = Object.getPrototypeOf(Le);
|
|
43335
43328
|
return Pe === null ? void 0 : De(Pe, ze, qe);
|
|
43336
43329
|
} else {
|
|
43337
43330
|
if ("value" in Ae)
|
|
@@ -43340,63 +43333,63 @@ var quill = { exports: {} };
|
|
|
43340
43333
|
return Me === void 0 ? void 0 : Me.call(qe);
|
|
43341
43334
|
}
|
|
43342
43335
|
}, oe = /* @__PURE__ */ function() {
|
|
43343
|
-
function De(
|
|
43336
|
+
function De(Le, ze) {
|
|
43344
43337
|
for (var qe = 0; qe < ze.length; qe++) {
|
|
43345
43338
|
var Ae = ze[qe];
|
|
43346
|
-
Ae.enumerable = Ae.enumerable || !1, Ae.configurable = !0, "value" in Ae && (Ae.writable = !0), Object.defineProperty(
|
|
43339
|
+
Ae.enumerable = Ae.enumerable || !1, Ae.configurable = !0, "value" in Ae && (Ae.writable = !0), Object.defineProperty(Le, Ae.key, Ae);
|
|
43347
43340
|
}
|
|
43348
43341
|
}
|
|
43349
|
-
return function(
|
|
43350
|
-
return ze && De(
|
|
43342
|
+
return function(Le, ze, qe) {
|
|
43343
|
+
return ze && De(Le.prototype, ze), qe && De(Le, qe), Le;
|
|
43351
43344
|
};
|
|
43352
43345
|
}(), de = re(3), ue = ve(de), ce = re(8), he = ve(ce), pe = re(44), fe = ve(pe), ge = re(15), be = re(42), me = ve(be);
|
|
43353
43346
|
function ve(De) {
|
|
43354
43347
|
return De && De.__esModule ? De : { default: De };
|
|
43355
43348
|
}
|
|
43356
|
-
function ye(De,
|
|
43357
|
-
if (!(De instanceof
|
|
43349
|
+
function ye(De, Le) {
|
|
43350
|
+
if (!(De instanceof Le))
|
|
43358
43351
|
throw new TypeError("Cannot call a class as a function");
|
|
43359
43352
|
}
|
|
43360
|
-
function we(De,
|
|
43353
|
+
function we(De, Le) {
|
|
43361
43354
|
if (!De)
|
|
43362
43355
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
43363
|
-
return
|
|
43356
|
+
return Le && (typeof Le == "object" || typeof Le == "function") ? Le : De;
|
|
43364
43357
|
}
|
|
43365
|
-
function Se(De,
|
|
43366
|
-
if (typeof
|
|
43367
|
-
throw new TypeError("Super expression must either be null or a function, not " + typeof
|
|
43368
|
-
De.prototype = Object.create(
|
|
43358
|
+
function Se(De, Le) {
|
|
43359
|
+
if (typeof Le != "function" && Le !== null)
|
|
43360
|
+
throw new TypeError("Super expression must either be null or a function, not " + typeof Le);
|
|
43361
|
+
De.prototype = Object.create(Le && Le.prototype, { constructor: { value: De, enumerable: !1, writable: !0, configurable: !0 } }), Le && (Object.setPrototypeOf ? Object.setPrototypeOf(De, Le) : De.__proto__ = Le);
|
|
43369
43362
|
}
|
|
43370
43363
|
var _e = [["bold", "italic", "link"], [{ header: 1 }, { header: 2 }, "blockquote"]], Ce = function(De) {
|
|
43371
|
-
Se(
|
|
43372
|
-
function
|
|
43373
|
-
ye(this,
|
|
43374
|
-
var Ae = we(this, (
|
|
43364
|
+
Se(Le, De);
|
|
43365
|
+
function Le(ze, qe) {
|
|
43366
|
+
ye(this, Le), qe.modules.toolbar != null && qe.modules.toolbar.container == null && (qe.modules.toolbar.container = _e);
|
|
43367
|
+
var Ae = we(this, (Le.__proto__ || Object.getPrototypeOf(Le)).call(this, ze, qe));
|
|
43375
43368
|
return Ae.quill.container.classList.add("ql-bubble"), Ae;
|
|
43376
43369
|
}
|
|
43377
|
-
return oe(
|
|
43370
|
+
return oe(Le, [{
|
|
43378
43371
|
key: "extendToolbar",
|
|
43379
43372
|
value: function(qe) {
|
|
43380
|
-
this.tooltip = new
|
|
43373
|
+
this.tooltip = new Ie(this.quill, this.options.bounds), this.tooltip.root.appendChild(qe.container), this.buildButtons([].slice.call(qe.container.querySelectorAll("button")), me.default), this.buildPickers([].slice.call(qe.container.querySelectorAll("select")), me.default);
|
|
43381
43374
|
}
|
|
43382
|
-
}]),
|
|
43375
|
+
}]), Le;
|
|
43383
43376
|
}(fe.default);
|
|
43384
43377
|
Ce.DEFAULTS = (0, ue.default)(!0, {}, fe.default.DEFAULTS, {
|
|
43385
43378
|
modules: {
|
|
43386
43379
|
toolbar: {
|
|
43387
43380
|
handlers: {
|
|
43388
|
-
link: function(
|
|
43389
|
-
|
|
43381
|
+
link: function(Le) {
|
|
43382
|
+
Le ? this.quill.theme.tooltip.edit() : this.quill.format("link", !1);
|
|
43390
43383
|
}
|
|
43391
43384
|
}
|
|
43392
43385
|
}
|
|
43393
43386
|
}
|
|
43394
43387
|
});
|
|
43395
|
-
var
|
|
43396
|
-
Se(
|
|
43397
|
-
function
|
|
43398
|
-
ye(this,
|
|
43399
|
-
var Ae = we(this, (
|
|
43388
|
+
var Ie = function(De) {
|
|
43389
|
+
Se(Le, De);
|
|
43390
|
+
function Le(ze, qe) {
|
|
43391
|
+
ye(this, Le);
|
|
43392
|
+
var Ae = we(this, (Le.__proto__ || Object.getPrototypeOf(Le)).call(this, ze, qe));
|
|
43400
43393
|
return Ae.quill.on(he.default.events.EDITOR_CHANGE, function(Pe, Me, Be, Ve) {
|
|
43401
43394
|
if (Pe === he.default.events.SELECTION_CHANGE)
|
|
43402
43395
|
if (Me != null && Me.length > 0 && Ve === he.default.sources.USER) {
|
|
@@ -43411,11 +43404,11 @@ var quill = { exports: {} };
|
|
|
43411
43404
|
} else document.activeElement !== Ae.textbox && Ae.quill.hasFocus() && Ae.hide();
|
|
43412
43405
|
}), Ae;
|
|
43413
43406
|
}
|
|
43414
|
-
return oe(
|
|
43407
|
+
return oe(Le, [{
|
|
43415
43408
|
key: "listen",
|
|
43416
43409
|
value: function() {
|
|
43417
43410
|
var qe = this;
|
|
43418
|
-
ne(
|
|
43411
|
+
ne(Le.prototype.__proto__ || Object.getPrototypeOf(Le.prototype), "listen", this).call(this), this.root.querySelector(".ql-close").addEventListener("click", function() {
|
|
43419
43412
|
qe.root.classList.remove("ql-editing");
|
|
43420
43413
|
}), this.quill.on(he.default.events.SCROLL_OPTIMIZE, function() {
|
|
43421
43414
|
setTimeout(function() {
|
|
@@ -43434,13 +43427,13 @@ var quill = { exports: {} };
|
|
|
43434
43427
|
}, {
|
|
43435
43428
|
key: "position",
|
|
43436
43429
|
value: function(qe) {
|
|
43437
|
-
var Ae = ne(
|
|
43430
|
+
var Ae = ne(Le.prototype.__proto__ || Object.getPrototypeOf(Le.prototype), "position", this).call(this, qe), Pe = this.root.querySelector(".ql-tooltip-arrow");
|
|
43438
43431
|
if (Pe.style.marginLeft = "", Ae === 0) return Ae;
|
|
43439
43432
|
Pe.style.marginLeft = -1 * Ae - Pe.offsetWidth / 2 + "px";
|
|
43440
43433
|
}
|
|
43441
|
-
}]),
|
|
43434
|
+
}]), Le;
|
|
43442
43435
|
}(pe.BaseTooltip);
|
|
43443
|
-
|
|
43436
|
+
Ie.TEMPLATE = ['<span class="ql-tooltip-arrow"></span>', '<div class="ql-tooltip-editor">', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-close"></a>', "</div>"].join(""), te.BubbleTooltip = Ie, te.default = Ce;
|
|
43444
43437
|
},
|
|
43445
43438
|
/* 110 */
|
|
43446
43439
|
/***/
|