paginar 0.2.7 → 0.3.0
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/LICENSE.md +21 -0
- package/README.md +234 -4
- package/demo/slot/slot-chapter1.html +34 -7
- package/demo/summary/_content/1chapter.html +3 -0
- package/demo/summary/index.html +11 -0
- package/dist/index.es.js +252 -160
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +13 -12
- package/package.json +1 -1
- package/src/App.ce.vue +9 -14
- package/src/components/HeaderSlot/HeaderSlot.vue +3 -3
- package/src/components/HeaderSlot/OptionsButton/OptionsButton.vue +2 -2
- package/src/components/HeaderSlot/OptionsButton/OptionsColor.vue +2 -2
- package/src/components/HeaderSlot/OptionsButton/OptionsColumns.vue +3 -1
- package/src/components/HeaderSlot/OptionsButton/OptionsDropdown.vue +13 -9
- package/src/components/HeaderSlot/OptionsButton/OptionsFontFamily.vue +1 -1
- package/src/components/HeaderSlot/OptionsButton/OptionsFontSize.vue +2 -2
- package/src/components/HeaderSlot/SummaryButton/SummaryButton.vue +32 -27
- package/src/components/HeaderSlot/SummaryButton/SummaryDropdown.vue +1 -1
- package/src/composables/useReaderSettings.js +23 -2
- package/src/composables/useStyles.js +20 -3
- package/src/tailwind.css +9 -29
package/dist/index.es.js
CHANGED
|
@@ -9103,6 +9103,24 @@ function useWindowSize(options = {}) {
|
|
|
9103
9103
|
return { width, height };
|
|
9104
9104
|
}
|
|
9105
9105
|
|
|
9106
|
+
function initStyles(props, rootComponent) {
|
|
9107
|
+
const settings = props.readerSettings
|
|
9108
|
+
? JSON.parse(props.readerSettings)
|
|
9109
|
+
: null;
|
|
9110
|
+
|
|
9111
|
+
if (props.cssFile) {
|
|
9112
|
+
stylesheetLoader(props.cssFile, rootComponent);
|
|
9113
|
+
}
|
|
9114
|
+
|
|
9115
|
+
if (props.cssString) {
|
|
9116
|
+
applyStylesheet(props.cssString, rootComponent);
|
|
9117
|
+
}
|
|
9118
|
+
|
|
9119
|
+
if (settings?.cssString) {
|
|
9120
|
+
applyStylesheet(settings.cssString, rootComponent);
|
|
9121
|
+
}
|
|
9122
|
+
}
|
|
9123
|
+
|
|
9106
9124
|
function fontLoader(fontsOptions) {
|
|
9107
9125
|
const fontsToLoad = fontsOptions.filter(item => item.link);
|
|
9108
9126
|
|
|
@@ -9128,9 +9146,7 @@ async function stylesheetLoader(stylesheet, ref) {
|
|
|
9128
9146
|
|
|
9129
9147
|
applyStylesheet(cssText, ref);
|
|
9130
9148
|
|
|
9131
|
-
} catch (
|
|
9132
|
-
console.log({ err });
|
|
9133
|
-
}
|
|
9149
|
+
} catch (_) {}
|
|
9134
9150
|
}
|
|
9135
9151
|
}
|
|
9136
9152
|
|
|
@@ -9142,6 +9158,7 @@ async function applyStylesheet(stylesheet, ref) {
|
|
|
9142
9158
|
}
|
|
9143
9159
|
|
|
9144
9160
|
const useStyles = {
|
|
9161
|
+
initStyles,
|
|
9145
9162
|
fontLoader,
|
|
9146
9163
|
stylesheetLoader,
|
|
9147
9164
|
applyStylesheet
|
|
@@ -9157,9 +9174,13 @@ const state$5 = reactive({
|
|
|
9157
9174
|
{ name: 'Verdana, sans-serif' },
|
|
9158
9175
|
],
|
|
9159
9176
|
fontSize: 16,
|
|
9160
|
-
columns: '
|
|
9177
|
+
columns: 'double',
|
|
9161
9178
|
mode: 'light',
|
|
9162
|
-
blocked: false
|
|
9179
|
+
blocked: false,
|
|
9180
|
+
|
|
9181
|
+
bookTitle: null,
|
|
9182
|
+
chapterTitle: null,
|
|
9183
|
+
homeUrl: null,
|
|
9163
9184
|
});
|
|
9164
9185
|
|
|
9165
9186
|
const baseFont = computed(() => state$5.baseFont);
|
|
@@ -9170,6 +9191,10 @@ const columns = computed(() => state$5.columns);
|
|
|
9170
9191
|
const mode = computed(() => state$5.mode);
|
|
9171
9192
|
const blocked = computed(() => state$5.blocked);
|
|
9172
9193
|
|
|
9194
|
+
const bookTitle = computed(() => state$5.bookTitle);
|
|
9195
|
+
const chapterTitle = computed(() => state$5.chapterTitle);
|
|
9196
|
+
const homeUrl = computed(() => state$5.homeUrl);
|
|
9197
|
+
|
|
9173
9198
|
watch(
|
|
9174
9199
|
[baseFont, textFont, fontSize, columns, mode],
|
|
9175
9200
|
() => saveSettings()
|
|
@@ -9208,6 +9233,15 @@ async function initSettings(settingsString) {
|
|
|
9208
9233
|
state$5.textFont = defaultTextFont.name;
|
|
9209
9234
|
}
|
|
9210
9235
|
|
|
9236
|
+
if (settings?.bookTitle)
|
|
9237
|
+
state$5.bookTitle = settings.bookTitle;
|
|
9238
|
+
|
|
9239
|
+
if (settings?.chapterTitle)
|
|
9240
|
+
state$5.chapterTitle = settings.chapterTitle;
|
|
9241
|
+
|
|
9242
|
+
if (settings?.homeUrl)
|
|
9243
|
+
state$5.homeUrl = settings.homeUrl;
|
|
9244
|
+
|
|
9211
9245
|
loadSavedSettings(settings);
|
|
9212
9246
|
}
|
|
9213
9247
|
|
|
@@ -9295,7 +9329,11 @@ const useReaderSettings = {
|
|
|
9295
9329
|
mode,
|
|
9296
9330
|
blocked,
|
|
9297
9331
|
setMode,
|
|
9298
|
-
saveSettings
|
|
9332
|
+
saveSettings,
|
|
9333
|
+
|
|
9334
|
+
bookTitle,
|
|
9335
|
+
chapterTitle,
|
|
9336
|
+
homeUrl
|
|
9299
9337
|
};
|
|
9300
9338
|
|
|
9301
9339
|
const _export_sfc = (sfc, props) => {
|
|
@@ -9314,7 +9352,7 @@ const _hoisted_1$q = {
|
|
|
9314
9352
|
viewBox: "0 0 20 22",
|
|
9315
9353
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9316
9354
|
};
|
|
9317
|
-
const _hoisted_2$
|
|
9355
|
+
const _hoisted_2$n = /*#__PURE__*/createBaseVNode("path", {
|
|
9318
9356
|
d: "M1 8L10 1L19 8V19C19 19.5304 18.7893 20.0391 18.4142 20.4142C18.0391 20.7893 17.5304 21 17 21H3C2.46957 21 1.96086 20.7893 1.58579 20.4142C1.21071 20.0391 1 19.5304 1 19V8Z",
|
|
9319
9357
|
"stroke-width": "2",
|
|
9320
9358
|
"stroke-linecap": "round",
|
|
@@ -9327,7 +9365,7 @@ const _hoisted_3$e = /*#__PURE__*/createBaseVNode("path", {
|
|
|
9327
9365
|
"stroke-linejoin": "round"
|
|
9328
9366
|
}, null, -1);
|
|
9329
9367
|
const _hoisted_4$5 = [
|
|
9330
|
-
_hoisted_2$
|
|
9368
|
+
_hoisted_2$n,
|
|
9331
9369
|
_hoisted_3$e
|
|
9332
9370
|
];
|
|
9333
9371
|
|
|
@@ -9344,14 +9382,14 @@ const _hoisted_1$p = {
|
|
|
9344
9382
|
viewBox: "0 0 24 24",
|
|
9345
9383
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9346
9384
|
};
|
|
9347
|
-
const _hoisted_2$
|
|
9385
|
+
const _hoisted_2$m = /*#__PURE__*/createBaseVNode("path", {
|
|
9348
9386
|
"stroke-linecap": "round",
|
|
9349
9387
|
"stroke-linejoin": "round",
|
|
9350
9388
|
"stroke-width": "2",
|
|
9351
9389
|
d: "M6 18L18 6M6 6l12 12"
|
|
9352
9390
|
}, null, -1);
|
|
9353
9391
|
const _hoisted_3$d = [
|
|
9354
|
-
_hoisted_2$
|
|
9392
|
+
_hoisted_2$m
|
|
9355
9393
|
];
|
|
9356
9394
|
|
|
9357
9395
|
function _sfc_render$b(_ctx, _cache) {
|
|
@@ -9369,13 +9407,13 @@ const _hoisted_1$o = {
|
|
|
9369
9407
|
stroke: "currentColor",
|
|
9370
9408
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9371
9409
|
};
|
|
9372
|
-
const _hoisted_2$
|
|
9373
|
-
const _hoisted_8$
|
|
9374
|
-
_hoisted_2$
|
|
9410
|
+
const _hoisted_2$l = /*#__PURE__*/createStaticVNode("<line x1=\"5\" y1=\"1.08447\" x2=\"1\" y2=\"1.08447\" stroke-width=\"2\" stroke-linecap=\"round\"></line><line x1=\"23\" y1=\"1.04248\" x2=\"11\" y2=\"1.04248\" stroke-width=\"2\" stroke-linecap=\"round\"></line><line x1=\"23\" y1=\"9.08447\" x2=\"14\" y2=\"9.08447\" stroke-width=\"2\" stroke-linecap=\"round\"></line><line x1=\"8\" y1=\"9.14905\" x2=\"4\" y2=\"9.14905\" stroke-width=\"2\" stroke-linecap=\"round\"></line><line x1=\"23\" y1=\"17.149\" x2=\"10.9993\" y2=\"17.149\" stroke-width=\"2\" stroke-linecap=\"round\"></line><line x1=\"5\" y1=\"17.2429\" x2=\"1\" y2=\"17.2429\" stroke-width=\"2\" stroke-linecap=\"round\"></line>", 6);
|
|
9411
|
+
const _hoisted_8$2 = [
|
|
9412
|
+
_hoisted_2$l
|
|
9375
9413
|
];
|
|
9376
9414
|
|
|
9377
9415
|
function _sfc_render$a(_ctx, _cache) {
|
|
9378
|
-
return (openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_8$
|
|
9416
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1$o, _hoisted_8$2))
|
|
9379
9417
|
}
|
|
9380
9418
|
const IconSummary = /*#__PURE__*/_export_sfc(_sfc_main$q, [['render',_sfc_render$a]]);
|
|
9381
9419
|
|
|
@@ -9602,34 +9640,51 @@ const useTextContent = {
|
|
|
9602
9640
|
context
|
|
9603
9641
|
};
|
|
9604
9642
|
|
|
9605
|
-
const state$1 = reactive({
|
|
9606
|
-
totalPages: 1
|
|
9607
|
-
});
|
|
9608
|
-
|
|
9609
|
-
function estimate(viewport, content) {
|
|
9610
|
-
if (viewport && content) {
|
|
9611
|
-
const { width: viewportWidth } = viewport.value.getBoundingClientRect();
|
|
9612
|
-
const { width: contentWidth } = content.value.getBoundingClientRect();
|
|
9613
|
-
|
|
9614
|
-
if (contentWidth > viewportWidth) {
|
|
9615
|
-
state$1.totalPages = Math.ceil(contentWidth / viewportWidth);
|
|
9616
|
-
return Math.ceil(contentWidth / viewportWidth)
|
|
9617
|
-
|
|
9618
|
-
} else {
|
|
9619
|
-
state$1.totalPages = 1;
|
|
9620
|
-
return 1
|
|
9621
|
-
}
|
|
9622
|
-
} else {
|
|
9623
|
-
state$1.totalPages = 1;
|
|
9624
|
-
return 1
|
|
9625
|
-
}
|
|
9626
|
-
}
|
|
9627
|
-
|
|
9628
|
-
const totalPages$1 = computed(() => state$1.totalPages);
|
|
9643
|
+
const state$1 = reactive({
|
|
9644
|
+
totalPages: 1
|
|
9645
|
+
});
|
|
9646
|
+
|
|
9647
|
+
function estimate(viewport, content) {
|
|
9648
|
+
if (viewport && content) {
|
|
9649
|
+
const { width: viewportWidth } = viewport.value.getBoundingClientRect();
|
|
9650
|
+
const { width: contentWidth } = content.value.getBoundingClientRect();
|
|
9651
|
+
|
|
9652
|
+
if (contentWidth > viewportWidth) {
|
|
9653
|
+
state$1.totalPages = Math.ceil(contentWidth / viewportWidth);
|
|
9654
|
+
return Math.ceil(contentWidth / viewportWidth)
|
|
9655
|
+
|
|
9656
|
+
} else {
|
|
9657
|
+
state$1.totalPages = 1;
|
|
9658
|
+
return 1
|
|
9659
|
+
}
|
|
9660
|
+
} else {
|
|
9661
|
+
state$1.totalPages = 1;
|
|
9662
|
+
return 1
|
|
9663
|
+
}
|
|
9664
|
+
}
|
|
9665
|
+
|
|
9666
|
+
const totalPages$1 = computed(() => state$1.totalPages);
|
|
9667
|
+
|
|
9668
|
+
const useEstimatePages = {
|
|
9669
|
+
totalPages: totalPages$1,
|
|
9670
|
+
estimate
|
|
9671
|
+
};
|
|
9629
9672
|
|
|
9630
|
-
const
|
|
9631
|
-
|
|
9632
|
-
|
|
9673
|
+
const isSafari = [
|
|
9674
|
+
'iPad Simulator',
|
|
9675
|
+
'iPhone Simulator',
|
|
9676
|
+
'iPod Simulator',
|
|
9677
|
+
'iPad',
|
|
9678
|
+
'iPhone',
|
|
9679
|
+
'iPod'
|
|
9680
|
+
].includes(navigator.platform)
|
|
9681
|
+
|| (navigator.userAgent.includes("Mac") && "ontouchend" in document);
|
|
9682
|
+
|
|
9683
|
+
const isApple = /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform);
|
|
9684
|
+
|
|
9685
|
+
const useBrowser = {
|
|
9686
|
+
isSafari,
|
|
9687
|
+
isApple
|
|
9633
9688
|
};
|
|
9634
9689
|
|
|
9635
9690
|
const state = reactive({
|
|
@@ -9656,7 +9711,9 @@ function init(viewport, content) {
|
|
|
9656
9711
|
}, 200);
|
|
9657
9712
|
}
|
|
9658
9713
|
|
|
9659
|
-
|
|
9714
|
+
if (!useBrowser.isApple && !useBrowser.isSafari) {
|
|
9715
|
+
addEventListener('wheel', onWheel);
|
|
9716
|
+
}
|
|
9660
9717
|
|
|
9661
9718
|
setInterval(() => {
|
|
9662
9719
|
useEstimatePages.estimate(viewport, content);
|
|
@@ -9763,7 +9820,7 @@ async function getChapter(item) {
|
|
|
9763
9820
|
|
|
9764
9821
|
return (_ctx, _cache) => {
|
|
9765
9822
|
return (openBlock(), createElementBlock("div", {
|
|
9766
|
-
class: "absolute top-14 py-4 px-3 shadow-lg w-60 md:w-104 text-areia
|
|
9823
|
+
class: "absolute top-14 py-4 px-3 shadow-lg w-60 md:w-104 text-areia z-10 bg-white",
|
|
9767
9824
|
role: _ctx.Sumário,
|
|
9768
9825
|
"aria-orientation": "vertical",
|
|
9769
9826
|
"aria-labelledby": "summary-menu"
|
|
@@ -9793,13 +9850,10 @@ return (_ctx, _cache) => {
|
|
|
9793
9850
|
};
|
|
9794
9851
|
|
|
9795
9852
|
const _hoisted_1$m = { class: "flex" };
|
|
9796
|
-
const _hoisted_2$
|
|
9797
|
-
|
|
9798
|
-
|
|
9799
|
-
|
|
9800
|
-
};
|
|
9801
|
-
const _hoisted_3$c = ["aria-expanded"];
|
|
9802
|
-
const _hoisted_4$4 = /*#__PURE__*/createBaseVNode("span", { class: "block ml-3" }, " Sumário ", -1);
|
|
9853
|
+
const _hoisted_2$k = ["href"];
|
|
9854
|
+
const _hoisted_3$c = { class: "position-relative" };
|
|
9855
|
+
const _hoisted_4$4 = ["aria-expanded"];
|
|
9856
|
+
const _hoisted_5$3 = /*#__PURE__*/createBaseVNode("span", { class: "block ml-3" }, " Sumário ", -1);
|
|
9803
9857
|
|
|
9804
9858
|
|
|
9805
9859
|
const _sfc_main$o = {
|
|
@@ -9809,6 +9863,8 @@ const _sfc_main$o = {
|
|
|
9809
9863
|
const show = ref(false);
|
|
9810
9864
|
const button = ref(null);
|
|
9811
9865
|
|
|
9866
|
+
const { homeUrl } = useReaderSettings;
|
|
9867
|
+
|
|
9812
9868
|
const toggleSummary = () => show.value = !show.value;
|
|
9813
9869
|
const hide = () => {
|
|
9814
9870
|
if (!useReaderSettings.blocked.value) {
|
|
@@ -9821,53 +9877,64 @@ onKeyStroke('Escape', () => hide());
|
|
|
9821
9877
|
|
|
9822
9878
|
return (_ctx, _cache) => {
|
|
9823
9879
|
return (openBlock(), createElementBlock("div", {
|
|
9880
|
+
id: "summary-menu",
|
|
9824
9881
|
ref_key: "button",
|
|
9825
9882
|
ref: button,
|
|
9826
9883
|
class: "relative"
|
|
9827
9884
|
}, [
|
|
9828
9885
|
createBaseVNode("div", _hoisted_1$m, [
|
|
9829
|
-
|
|
9830
|
-
|
|
9831
|
-
|
|
9832
|
-
|
|
9833
|
-
|
|
9834
|
-
|
|
9835
|
-
|
|
9836
|
-
|
|
9837
|
-
|
|
9838
|
-
|
|
9839
|
-
(
|
|
9840
|
-
|
|
9841
|
-
|
|
9842
|
-
|
|
9843
|
-
|
|
9844
|
-
|
|
9845
|
-
|
|
9846
|
-
|
|
9847
|
-
|
|
9848
|
-
|
|
9849
|
-
|
|
9850
|
-
|
|
9851
|
-
|
|
9852
|
-
|
|
9853
|
-
|
|
9854
|
-
|
|
9855
|
-
|
|
9856
|
-
|
|
9857
|
-
|
|
9858
|
-
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
|
|
9862
|
-
|
|
9863
|
-
|
|
9864
|
-
|
|
9865
|
-
|
|
9866
|
-
|
|
9867
|
-
|
|
9868
|
-
|
|
9869
|
-
|
|
9870
|
-
|
|
9886
|
+
(unref(homeUrl))
|
|
9887
|
+
? (openBlock(), createElementBlock("a", {
|
|
9888
|
+
key: 0,
|
|
9889
|
+
href: unref(homeUrl),
|
|
9890
|
+
title: "Homepage",
|
|
9891
|
+
id: "home-button",
|
|
9892
|
+
class: "hidden md:flex items-center border p-3 shadow mr-3 border-white text-white"
|
|
9893
|
+
}, [
|
|
9894
|
+
createVNode(IconHome, { class: "w-6 h-6" })
|
|
9895
|
+
], 8, _hoisted_2$k))
|
|
9896
|
+
: createCommentVNode("", true),
|
|
9897
|
+
createBaseVNode("div", _hoisted_3$c, [
|
|
9898
|
+
createBaseVNode("button", {
|
|
9899
|
+
onClick: _cache[0] || (_cache[0] = withModifiers($event => (toggleSummary()), ["prevent"])),
|
|
9900
|
+
class: "border p-3 shadow flex items-center border-white text-white",
|
|
9901
|
+
id: "summary-button",
|
|
9902
|
+
"aria-haspopup": "true",
|
|
9903
|
+
"aria-expanded": show.value
|
|
9904
|
+
}, [
|
|
9905
|
+
(!show.value)
|
|
9906
|
+
? (openBlock(), createBlock(IconSummary, { key: 0 }))
|
|
9907
|
+
: (openBlock(), createBlock(IconClose, {
|
|
9908
|
+
key: 1,
|
|
9909
|
+
class: "w-6 h-6"
|
|
9910
|
+
})),
|
|
9911
|
+
_hoisted_5$3
|
|
9912
|
+
], 8, _hoisted_4$4),
|
|
9913
|
+
createVNode(Transition, {
|
|
9914
|
+
"enter-active-class": "transition ease-out duration-100 transform",
|
|
9915
|
+
"enter-class": "opacity-0 scale-95",
|
|
9916
|
+
"enter-to-class": "opacity-100 scale-100",
|
|
9917
|
+
"leave-active-class": "transition ease-in duration-75 transform",
|
|
9918
|
+
"leave-class": "opacity-100 scale-100",
|
|
9919
|
+
"leave-to-class": "opacity-0 scale-95"
|
|
9920
|
+
}, {
|
|
9921
|
+
default: withCtx(() => [
|
|
9922
|
+
(show.value)
|
|
9923
|
+
? (openBlock(), createBlock(_sfc_main$p, { key: 0 }, {
|
|
9924
|
+
summaryTop: withCtx(() => [
|
|
9925
|
+
renderSlot(_ctx.$slots, "summaryTop")
|
|
9926
|
+
]),
|
|
9927
|
+
summaryBottom: withCtx(() => [
|
|
9928
|
+
renderSlot(_ctx.$slots, "summaryBottom")
|
|
9929
|
+
]),
|
|
9930
|
+
_: 3
|
|
9931
|
+
}))
|
|
9932
|
+
: createCommentVNode("", true)
|
|
9933
|
+
]),
|
|
9934
|
+
_: 3
|
|
9935
|
+
})
|
|
9936
|
+
])
|
|
9937
|
+
])
|
|
9871
9938
|
], 512))
|
|
9872
9939
|
}
|
|
9873
9940
|
}
|
|
@@ -9882,14 +9949,14 @@ const _hoisted_1$l = {
|
|
|
9882
9949
|
viewBox: "0 0 24 24",
|
|
9883
9950
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9884
9951
|
};
|
|
9885
|
-
const _hoisted_2$
|
|
9952
|
+
const _hoisted_2$j = /*#__PURE__*/createBaseVNode("path", {
|
|
9886
9953
|
"stroke-linecap": "round",
|
|
9887
9954
|
"stroke-linejoin": "round",
|
|
9888
9955
|
"stroke-width": "2",
|
|
9889
9956
|
d: "M5 12h.01M12 12h.01M19 12h.01M6 12a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0zm7 0a1 1 0 11-2 0 1 1 0 012 0z"
|
|
9890
9957
|
}, null, -1);
|
|
9891
9958
|
const _hoisted_3$b = [
|
|
9892
|
-
_hoisted_2$
|
|
9959
|
+
_hoisted_2$j
|
|
9893
9960
|
];
|
|
9894
9961
|
|
|
9895
9962
|
function _sfc_render$9(_ctx, _cache) {
|
|
@@ -9905,14 +9972,14 @@ const _hoisted_1$k = {
|
|
|
9905
9972
|
viewBox: "0 0 24 24",
|
|
9906
9973
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9907
9974
|
};
|
|
9908
|
-
const _hoisted_2$
|
|
9975
|
+
const _hoisted_2$i = /*#__PURE__*/createBaseVNode("path", {
|
|
9909
9976
|
"stroke-linecap": "round",
|
|
9910
9977
|
"stroke-linejoin": "round",
|
|
9911
9978
|
"stroke-width": "2",
|
|
9912
9979
|
d: "M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"
|
|
9913
9980
|
}, null, -1);
|
|
9914
9981
|
const _hoisted_3$a = [
|
|
9915
|
-
_hoisted_2$
|
|
9982
|
+
_hoisted_2$i
|
|
9916
9983
|
];
|
|
9917
9984
|
|
|
9918
9985
|
function _sfc_render$8(_ctx, _cache) {
|
|
@@ -9928,7 +9995,7 @@ const _hoisted_1$j = {
|
|
|
9928
9995
|
viewBox: "0 0 24 24",
|
|
9929
9996
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9930
9997
|
};
|
|
9931
|
-
const _hoisted_2$
|
|
9998
|
+
const _hoisted_2$h = /*#__PURE__*/createBaseVNode("path", {
|
|
9932
9999
|
"stroke-linecap": "round",
|
|
9933
10000
|
"stroke-linejoin": "round",
|
|
9934
10001
|
"stroke-width": "2",
|
|
@@ -9941,7 +10008,7 @@ const _hoisted_3$9 = /*#__PURE__*/createBaseVNode("path", {
|
|
|
9941
10008
|
d: "M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z"
|
|
9942
10009
|
}, null, -1);
|
|
9943
10010
|
const _hoisted_4$3 = [
|
|
9944
|
-
_hoisted_2$
|
|
10011
|
+
_hoisted_2$h,
|
|
9945
10012
|
_hoisted_3$9
|
|
9946
10013
|
];
|
|
9947
10014
|
|
|
@@ -9958,14 +10025,14 @@ const _hoisted_1$i = {
|
|
|
9958
10025
|
viewBox: "0 0 24 24",
|
|
9959
10026
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9960
10027
|
};
|
|
9961
|
-
const _hoisted_2$
|
|
10028
|
+
const _hoisted_2$g = /*#__PURE__*/createBaseVNode("path", {
|
|
9962
10029
|
"stroke-linecap": "round",
|
|
9963
10030
|
"stroke-linejoin": "round",
|
|
9964
10031
|
"stroke-width": "2",
|
|
9965
10032
|
d: "M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"
|
|
9966
10033
|
}, null, -1);
|
|
9967
10034
|
const _hoisted_3$8 = [
|
|
9968
|
-
_hoisted_2$
|
|
10035
|
+
_hoisted_2$g
|
|
9969
10036
|
];
|
|
9970
10037
|
|
|
9971
10038
|
function _sfc_render$6(_ctx, _cache) {
|
|
@@ -9979,9 +10046,9 @@ const _hoisted_1$h = {
|
|
|
9979
10046
|
viewBox: "0 0 341.5 441.2",
|
|
9980
10047
|
fill: "currentColor"
|
|
9981
10048
|
};
|
|
9982
|
-
const _hoisted_2$
|
|
10049
|
+
const _hoisted_2$f = /*#__PURE__*/createStaticVNode("<rect data-v-acadaaca=\"\" x=\"73.2\" y=\"143.7\" width=\"195.2\" height=\"20\"></rect><rect data-v-acadaaca=\"\" x=\"73.2\" y=\"82.7\" width=\"195.2\" height=\"20\"></rect><rect data-v-acadaaca=\"\" x=\"73.2\" y=\"203.7\" width=\"195.2\" height=\"20\"></rect><rect data-v-acadaaca=\"\" x=\"73.2\" y=\"263.7\" width=\"195.2\" height=\"20\"></rect><rect data-v-acadaaca=\"\" x=\"73.2\" y=\"319\" width=\"195.2\" height=\"20\"></rect><rect data-v-acadaaca=\"\" x=\"0\" y=\"-0.6\" width=\"332.3\" height=\"15\"></rect><rect data-v-acadaaca=\"\" x=\"0\" y=\"426.2\" width=\"332.3\" height=\"15\"></rect><rect data-v-acadaaca=\"\" x=\"-209.4\" y=\"216.2\" transform=\"matrix(6.123234e-17 -1 1 6.123234e-17 -216.2339 231.2339)\" width=\"433.7\" height=\"15\"></rect><rect data-v-acadaaca=\"\" x=\"108\" y=\"211.9\" transform=\"matrix(6.123234e-17 -1 1 6.123234e-17 105.4808 544.1859)\" width=\"433.7\" height=\"15\"></rect>", 9);
|
|
9983
10050
|
const _hoisted_11 = [
|
|
9984
|
-
_hoisted_2$
|
|
10051
|
+
_hoisted_2$f
|
|
9985
10052
|
];
|
|
9986
10053
|
|
|
9987
10054
|
function _sfc_render$5(_ctx, _cache) {
|
|
@@ -9995,9 +10062,9 @@ const _hoisted_1$g = {
|
|
|
9995
10062
|
viewBox: "0 0 653 441.2",
|
|
9996
10063
|
fill: "currentColor"
|
|
9997
10064
|
};
|
|
9998
|
-
const _hoisted_2$
|
|
10065
|
+
const _hoisted_2$e = /*#__PURE__*/createStaticVNode("<rect x=\"73.2\" y=\"143.7\" width=\"195.2\" height=\"20\"></rect><rect x=\"73.2\" y=\"82.7\" width=\"195.2\" height=\"20\"></rect><rect x=\"73.2\" y=\"203.7\" width=\"195.2\" height=\"20\"></rect><rect x=\"73.2\" y=\"263.7\" width=\"195.2\" height=\"20\"></rect><rect x=\"73.2\" y=\"319\" width=\"195.2\" height=\"20\"></rect><rect x=\"384.7\" y=\"143.7\" width=\"195.2\" height=\"20\"></rect><rect x=\"384.7\" y=\"82.7\" width=\"195.2\" height=\"20\"></rect><rect x=\"384.7\" y=\"203.7\" width=\"195.2\" height=\"20\"></rect><rect x=\"384.7\" y=\"263.7\" width=\"195.2\" height=\"20\"></rect><rect x=\"384.7\" y=\"319\" width=\"195.2\" height=\"20\"></rect><path d=\"M0-0.6v7.5v7.5v411.8v14.4v0.6h653v-5v-10V14.4V2.5v-3.1H0z M638,426.2H15V14.4h623V426.2z\"></path>", 11);
|
|
9999
10066
|
const _hoisted_13 = [
|
|
10000
|
-
_hoisted_2$
|
|
10067
|
+
_hoisted_2$e
|
|
10001
10068
|
];
|
|
10002
10069
|
|
|
10003
10070
|
function _sfc_render$4(_ctx, _cache) {
|
|
@@ -10005,7 +10072,11 @@ function _sfc_render$4(_ctx, _cache) {
|
|
|
10005
10072
|
}
|
|
10006
10073
|
const DoubleColumn = /*#__PURE__*/_export_sfc(_sfc_main$i, [['render',_sfc_render$4]]);
|
|
10007
10074
|
|
|
10008
|
-
const _hoisted_1$f = {
|
|
10075
|
+
const _hoisted_1$f = {
|
|
10076
|
+
id: "columns-menu",
|
|
10077
|
+
class: "w-full hidden md:grid grid-cols-3 gap-2 mt-3"
|
|
10078
|
+
};
|
|
10079
|
+
const _hoisted_2$d = ["title"];
|
|
10009
10080
|
|
|
10010
10081
|
const _sfc_main$h = {
|
|
10011
10082
|
__name: 'OptionsColumns',
|
|
@@ -10014,21 +10085,29 @@ const _sfc_main$h = {
|
|
|
10014
10085
|
const { columns, setColumns } = useReaderSettings;
|
|
10015
10086
|
const { width } = useWindowSize();
|
|
10016
10087
|
|
|
10088
|
+
const isSafari = computed(() => {
|
|
10089
|
+
const ua = navigator.userAgent.toLowerCase();
|
|
10090
|
+
return ua.indexOf('safari') !== -1 && ua.indexOf('chrome') === -1
|
|
10091
|
+
});
|
|
10092
|
+
|
|
10017
10093
|
|
|
10018
10094
|
return (_ctx, _cache) => {
|
|
10019
10095
|
return (openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
10020
10096
|
createBaseVNode("button", {
|
|
10097
|
+
id: "single-column-button",
|
|
10021
10098
|
class: normalizeClass(["col-span-1 text-primary text-center cursor-pointer py-3 rounded-sm border", {
|
|
10022
10099
|
'border-gray-300': unref(columns) !== 'single',
|
|
10023
|
-
'bg-primary-extralight border-2 border-primary': unref(columns) === 'single'
|
|
10100
|
+
'bg-primary-extralight border-2 border-primary': unref(columns) === 'single',
|
|
10101
|
+
'opacity-30 cursor-default': unref(isSafari)
|
|
10024
10102
|
}]),
|
|
10025
|
-
onClick: _cache[0] || (_cache[0] = withModifiers($event => (unref(setColumns)('single')), ["prevent"])),
|
|
10103
|
+
onClick: _cache[0] || (_cache[0] = withModifiers($event => (!unref(isSafari) ? unref(setColumns)('single') : null), ["prevent"])),
|
|
10026
10104
|
"aria-label": "Coluna única",
|
|
10027
|
-
title:
|
|
10105
|
+
title: unref(isSafari) ? 'O navegador Safari não aceita visualização de coluna única.' : 'Coluna única'
|
|
10028
10106
|
}, [
|
|
10029
10107
|
createVNode(SingleColumn, { class: "mx-auto h-10 opacity-75" })
|
|
10030
|
-
],
|
|
10108
|
+
], 10, _hoisted_2$d),
|
|
10031
10109
|
createBaseVNode("button", {
|
|
10110
|
+
id: "double-column-button",
|
|
10032
10111
|
class: normalizeClass(["col-span-2 text-primary text-center cursor-pointer py-3 rounded-sm border", {
|
|
10033
10112
|
'border-gray-300': unref(columns) !== 'double',
|
|
10034
10113
|
'bg-primary-extralight border-2 border-primary': unref(columns) === 'double',
|
|
@@ -10049,8 +10128,11 @@ return (_ctx, _cache) => {
|
|
|
10049
10128
|
|
|
10050
10129
|
};
|
|
10051
10130
|
|
|
10052
|
-
const _hoisted_1$e = {
|
|
10053
|
-
|
|
10131
|
+
const _hoisted_1$e = {
|
|
10132
|
+
id: "font-family-menu",
|
|
10133
|
+
class: "w-full grid grid-cols-4 gap-2 my-3"
|
|
10134
|
+
};
|
|
10135
|
+
const _hoisted_2$c = ["onClick", "title"];
|
|
10054
10136
|
|
|
10055
10137
|
const _sfc_main$g = {
|
|
10056
10138
|
__name: 'OptionsFontFamily',
|
|
@@ -10070,7 +10152,7 @@ return (_ctx, _cache) => {
|
|
|
10070
10152
|
}]),
|
|
10071
10153
|
style: normalizeStyle(`font-family: ${font.name}`),
|
|
10072
10154
|
title: font.label ?? font.name
|
|
10073
|
-
}, " Ff ", 14, _hoisted_2$
|
|
10155
|
+
}, " Ff ", 14, _hoisted_2$c))
|
|
10074
10156
|
}), 128))
|
|
10075
10157
|
]))
|
|
10076
10158
|
}
|
|
@@ -10088,10 +10170,12 @@ const { fontSize, setFontSize } = useReaderSettings;
|
|
|
10088
10170
|
return (_ctx, _cache) => {
|
|
10089
10171
|
return (openBlock(), createElementBlock(Fragment, null, [
|
|
10090
10172
|
createBaseVNode("button", {
|
|
10173
|
+
id: "fontsize-add-button",
|
|
10091
10174
|
onClick: _cache[0] || (_cache[0] = withModifiers($event => (unref(setFontSize)(unref(fontSize) + 1)), ["prevent"])),
|
|
10092
10175
|
class: "font-light text-base border border-urucum w-full h-10 flex justify-center items-center"
|
|
10093
10176
|
}, " + A "),
|
|
10094
10177
|
createBaseVNode("button", {
|
|
10178
|
+
id: "fontsize-subtr-button",
|
|
10095
10179
|
onClick: _cache[1] || (_cache[1] = withModifiers($event => (unref(setFontSize)(unref(fontSize) - 1)), ["prevent"])),
|
|
10096
10180
|
class: "font-light text-base border border-urucum w-full h-10 flex justify-center items-center"
|
|
10097
10181
|
}, " - A ")
|
|
@@ -10109,14 +10193,14 @@ const _hoisted_1$d = {
|
|
|
10109
10193
|
viewBox: "0 0 24 24",
|
|
10110
10194
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10111
10195
|
};
|
|
10112
|
-
const _hoisted_2$
|
|
10196
|
+
const _hoisted_2$b = /*#__PURE__*/createBaseVNode("path", {
|
|
10113
10197
|
"stroke-linecap": "round",
|
|
10114
10198
|
"stroke-linejoin": "round",
|
|
10115
10199
|
"stroke-width": "2",
|
|
10116
10200
|
d: "M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"
|
|
10117
10201
|
}, null, -1);
|
|
10118
10202
|
const _hoisted_3$7 = [
|
|
10119
|
-
_hoisted_2$
|
|
10203
|
+
_hoisted_2$b
|
|
10120
10204
|
];
|
|
10121
10205
|
|
|
10122
10206
|
function _sfc_render$3(_ctx, _cache) {
|
|
@@ -10132,14 +10216,14 @@ const _hoisted_1$c = {
|
|
|
10132
10216
|
viewBox: "0 0 24 24",
|
|
10133
10217
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10134
10218
|
};
|
|
10135
|
-
const _hoisted_2$
|
|
10219
|
+
const _hoisted_2$a = /*#__PURE__*/createBaseVNode("path", {
|
|
10136
10220
|
"stroke-linecap": "round",
|
|
10137
10221
|
"stroke-linejoin": "round",
|
|
10138
10222
|
"stroke-width": "2",
|
|
10139
10223
|
d: "M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"
|
|
10140
10224
|
}, null, -1);
|
|
10141
10225
|
const _hoisted_3$6 = [
|
|
10142
|
-
_hoisted_2$
|
|
10226
|
+
_hoisted_2$a
|
|
10143
10227
|
];
|
|
10144
10228
|
|
|
10145
10229
|
function _sfc_render$2(_ctx, _cache) {
|
|
@@ -10157,6 +10241,7 @@ const { mode, setMode } = useReaderSettings;
|
|
|
10157
10241
|
return (_ctx, _cache) => {
|
|
10158
10242
|
return (openBlock(), createElementBlock(Fragment, null, [
|
|
10159
10243
|
createBaseVNode("button", {
|
|
10244
|
+
id: "lightmode-button",
|
|
10160
10245
|
onClick: _cache[0] || (_cache[0] = withModifiers($event => (unref(setMode)('light')), ["prevent"])),
|
|
10161
10246
|
title: "Leitura diurna",
|
|
10162
10247
|
class: normalizeClass(["font-light text-base border w-full h-10 flex justify-center items-center", {
|
|
@@ -10166,6 +10251,7 @@ return (_ctx, _cache) => {
|
|
|
10166
10251
|
createVNode(IconSun, { class: "w-5 h-5" })
|
|
10167
10252
|
], 2),
|
|
10168
10253
|
createBaseVNode("button", {
|
|
10254
|
+
id: "darkmode-button",
|
|
10169
10255
|
onClick: _cache[1] || (_cache[1] = withModifiers($event => (unref(setMode)('dark')), ["prevent"])),
|
|
10170
10256
|
title: "Leitura noturna",
|
|
10171
10257
|
class: normalizeClass(["font-light text-base border w-full h-10 flex justify-center items-center", {
|
|
@@ -10186,12 +10272,16 @@ const _hoisted_1$b = {
|
|
|
10186
10272
|
"aria-orientation": "vertical",
|
|
10187
10273
|
"aria-labelledby": "options-menu"
|
|
10188
10274
|
};
|
|
10189
|
-
const _hoisted_2$
|
|
10190
|
-
const _hoisted_3$5 = /*#__PURE__*/createBaseVNode("
|
|
10191
|
-
const _hoisted_4$2 = { class: "w-full
|
|
10192
|
-
const _hoisted_5$2 =
|
|
10193
|
-
|
|
10194
|
-
|
|
10275
|
+
const _hoisted_2$9 = { id: "footnotes-button" };
|
|
10276
|
+
const _hoisted_3$5 = /*#__PURE__*/createBaseVNode("span", { class: "ml-4" }, "Notas de rodapé", -1);
|
|
10277
|
+
const _hoisted_4$2 = /*#__PURE__*/createBaseVNode("div", { class: "w-full border-b border-areia my-3" }, null, -1);
|
|
10278
|
+
const _hoisted_5$2 = {
|
|
10279
|
+
class: "w-full flex justify-center items-center py-3 lowercase",
|
|
10280
|
+
id: "visualize-title"
|
|
10281
|
+
};
|
|
10282
|
+
const _hoisted_6$2 = /*#__PURE__*/createBaseVNode("span", { class: "ml-4" }, "Visualização", -1);
|
|
10283
|
+
const _hoisted_7$1 = { class: "w-full grid grid-cols-4 gap-2 my-3" };
|
|
10284
|
+
const _hoisted_8$1 = /*#__PURE__*/createBaseVNode("div", { class: "hidden w-full border-b border-areia my-8" }, null, -1);
|
|
10195
10285
|
|
|
10196
10286
|
|
|
10197
10287
|
const _sfc_main$b = {
|
|
@@ -10203,25 +10293,27 @@ return (_ctx, _cache) => {
|
|
|
10203
10293
|
return (openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
10204
10294
|
createBaseVNode("div", null, [
|
|
10205
10295
|
renderSlot(_ctx.$slots, "optionsTop"),
|
|
10206
|
-
createBaseVNode("
|
|
10207
|
-
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
|
|
10211
|
-
|
|
10296
|
+
createBaseVNode("div", _hoisted_2$9, [
|
|
10297
|
+
createBaseVNode("button", {
|
|
10298
|
+
onClick: _cache[0] || (_cache[0] = withModifiers($event => (unref(useFootnotes).setShowFootnotes(true)), ["prevent"])),
|
|
10299
|
+
class: "w-full flex justify-center items-center py-3 lowercase"
|
|
10300
|
+
}, [
|
|
10301
|
+
createVNode(IconFootnote, { class: "w-6 h-6" }),
|
|
10302
|
+
_hoisted_3$5
|
|
10303
|
+
]),
|
|
10304
|
+
_hoisted_4$2
|
|
10212
10305
|
]),
|
|
10213
|
-
|
|
10214
|
-
createBaseVNode("div", _hoisted_4$2, [
|
|
10306
|
+
createBaseVNode("div", _hoisted_5$2, [
|
|
10215
10307
|
createVNode(IconEye, { class: "w-6 h-6" }),
|
|
10216
|
-
|
|
10308
|
+
_hoisted_6$2
|
|
10217
10309
|
]),
|
|
10218
10310
|
createVNode(_sfc_main$h),
|
|
10219
10311
|
createVNode(_sfc_main$g),
|
|
10220
|
-
createBaseVNode("div",
|
|
10312
|
+
createBaseVNode("div", _hoisted_7$1, [
|
|
10221
10313
|
createVNode(_sfc_main$f),
|
|
10222
10314
|
createVNode(_sfc_main$c)
|
|
10223
10315
|
]),
|
|
10224
|
-
|
|
10316
|
+
_hoisted_8$1,
|
|
10225
10317
|
renderSlot(_ctx.$slots, "optionsBottom")
|
|
10226
10318
|
])
|
|
10227
10319
|
]))
|
|
@@ -10231,7 +10323,7 @@ return (_ctx, _cache) => {
|
|
|
10231
10323
|
};
|
|
10232
10324
|
|
|
10233
10325
|
const _hoisted_1$a = { class: "flex" };
|
|
10234
|
-
const _hoisted_2$
|
|
10326
|
+
const _hoisted_2$8 = ["aria-expanded"];
|
|
10235
10327
|
const _hoisted_3$4 = /*#__PURE__*/createBaseVNode("span", { class: "block mr-3" }, " Opções ", -1);
|
|
10236
10328
|
|
|
10237
10329
|
|
|
@@ -10256,6 +10348,7 @@ const { toggle: toggleFullScreen } = useFullscreen();
|
|
|
10256
10348
|
|
|
10257
10349
|
return (_ctx, _cache) => {
|
|
10258
10350
|
return (openBlock(), createElementBlock("div", {
|
|
10351
|
+
id: "options-menu",
|
|
10259
10352
|
ref_key: "button",
|
|
10260
10353
|
ref: button,
|
|
10261
10354
|
class: "relative"
|
|
@@ -10264,7 +10357,7 @@ return (_ctx, _cache) => {
|
|
|
10264
10357
|
createBaseVNode("button", {
|
|
10265
10358
|
onClick: _cache[0] || (_cache[0] = withModifiers($event => (toggleSummary()), ["prevent"])),
|
|
10266
10359
|
class: "border p-3 shadow flex items-center border-white text-white",
|
|
10267
|
-
id: "
|
|
10360
|
+
id: "options-button",
|
|
10268
10361
|
"aria-haspopup": "true",
|
|
10269
10362
|
"aria-expanded": show.value
|
|
10270
10363
|
}, [
|
|
@@ -10278,7 +10371,7 @@ return (_ctx, _cache) => {
|
|
|
10278
10371
|
key: 1,
|
|
10279
10372
|
class: "w-6 h-6"
|
|
10280
10373
|
}))
|
|
10281
|
-
], 8, _hoisted_2$
|
|
10374
|
+
], 8, _hoisted_2$8),
|
|
10282
10375
|
createBaseVNode("button", {
|
|
10283
10376
|
onClick: _cache[1] || (_cache[1] = withModifiers($event => (unref(toggleFullScreen)()), ["prevent"])),
|
|
10284
10377
|
class: "hidden md:flex items-center border p-3 shadow ml-3 border-white text-white"
|
|
@@ -10315,7 +10408,11 @@ return (_ctx, _cache) => {
|
|
|
10315
10408
|
|
|
10316
10409
|
};
|
|
10317
10410
|
|
|
10318
|
-
const _hoisted_1$9 = {
|
|
10411
|
+
const _hoisted_1$9 = {
|
|
10412
|
+
id: "component-header",
|
|
10413
|
+
class: "bg-primary flex justify-between items-center p-4"
|
|
10414
|
+
};
|
|
10415
|
+
const _hoisted_2$7 = { id: "header-titles" };
|
|
10319
10416
|
|
|
10320
10417
|
const _sfc_main$9 = {
|
|
10321
10418
|
__name: 'HeaderSlot',
|
|
@@ -10323,7 +10420,7 @@ const _sfc_main$9 = {
|
|
|
10323
10420
|
|
|
10324
10421
|
|
|
10325
10422
|
return (_ctx, _cache) => {
|
|
10326
|
-
return (openBlock(), createElementBlock("
|
|
10423
|
+
return (openBlock(), createElementBlock("header", _hoisted_1$9, [
|
|
10327
10424
|
createVNode(_sfc_main$o, null, {
|
|
10328
10425
|
summaryTop: withCtx(() => [
|
|
10329
10426
|
renderSlot(_ctx.$slots, "summaryTop")
|
|
@@ -10333,7 +10430,7 @@ return (_ctx, _cache) => {
|
|
|
10333
10430
|
]),
|
|
10334
10431
|
_: 3
|
|
10335
10432
|
}),
|
|
10336
|
-
createBaseVNode("div",
|
|
10433
|
+
createBaseVNode("div", _hoisted_2$7, [
|
|
10337
10434
|
renderSlot(_ctx.$slots, "header")
|
|
10338
10435
|
]),
|
|
10339
10436
|
createVNode(_sfc_main$a, null, {
|
|
@@ -10457,8 +10554,8 @@ const _hoisted_2$5 = { class: "engineWrapper overflow-hidden" };
|
|
|
10457
10554
|
const _sfc_main$6 = {
|
|
10458
10555
|
__name: 'EngineWrapper',
|
|
10459
10556
|
setup(__props) {
|
|
10460
|
-
|
|
10461
|
-
const { next, prev } = usePagination;
|
|
10557
|
+
|
|
10558
|
+
const { next, prev } = usePagination;
|
|
10462
10559
|
|
|
10463
10560
|
return (_ctx, _cache) => {
|
|
10464
10561
|
return (openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
@@ -10756,9 +10853,9 @@ return (_ctx, _cache) => {
|
|
|
10756
10853
|
};
|
|
10757
10854
|
const FootnotesAside = /*#__PURE__*/_export_sfc(_sfc_main$1, [['__scopeId',"data-v-4f3c3c73"]]);
|
|
10758
10855
|
|
|
10759
|
-
const _style_0 = ".border-primary { border-color: var(--theme-primary, #690000);\n}\n.text-primary { color: var(--theme-primary, #690000);\n}\n.bg-primary { background-color: var(--theme-primary, #690000);\n}\n.border-primary-extralight { border-color: var(--theme-primary-extralight, #f3f4f6);\n}\n.text-primary-extralight { color: var(--theme-primary-extralight, #f3f4f6);\n}\n.bg-primary-extralight { background-color: var(--theme-primary-extralight, #f3f4f6);\n}\n.border-secondary { border-color: var(--theme-secondary, #ffa03c);\n}\n.text-secondary { color: var(--theme-secondary, #ffa03c);\n}\n.bg-secondary { background-color: var(--theme-secondary, #ffa03c);\n}\n.rootWrapper {\n\tmax-height: 100%;\n height: 100%;\n}\nmain#rootComponent {\n\theight: 100%;\n\tmax-height: 100%;\n}\nmain#rootComponent.light {\n\t\tbackground-color: var(--bg-light-mode, #fff7e0)\n}\nmain#rootComponent.dark {\n\t\tbackground-color: var(--bg-dark-mode, #2d2d2d);\n}\nmain#rootComponent.dark #content-area {\n\t\t\tcolor: #fff\n}\nheader.wrapper {\n\twidth: 200px;\n\tmargin: 0 auto;\n}\n#engine {\n\theight: calc(100% - 8.4rem);\n\tposition: relative;\n right: 0;\n left: 0;\n bottom: 0;\n width: 100%;\n}\n#reader-component {\n\twidth: 100%;\n}\n.typeArea {\n\twidth: 100%;\n}\n.engineWrapper {\n\theight: 100%;\n display: flex;\n justify-content: space-between;\n\tposition: relative;\n right: 0;\n left: 0;\n bottom: 0;\n width: 100%;\n}\n.columns-double .columnsArea {\n\t-moz-column-count: 2;\n column-count: 2;\n grid-column-gap: 0;\n -moz-column-gap: 0;\n column-gap: 0;\n height: 100%;\n padding: 0;\n width: 100%;\n}\n@media only screen and (max-width: 1020px) {\n.columns-double .columnsArea {\n\t\t-moz-column-count: 1;\n \tcolumn-count: 1\n}\n}\n.columns-single .columnsArea {\n\t-moz-column-count: 1;\n\t column-count: 1;\n\t-moz-column-gap: 0;\n\t column-gap: 0;\n\theight: 100%;\n padding: 0;\n width: 100%;\n}\n.columns-single .columnsArea #content-area {\n\t\tmax-width: 37em;\n\t\tmargin: 0 auto;\n}\n.nav-prev { left: 0px;\n}\n.nav-next { right: 0px;\n}\n.viewer-nav {\n\theight: 100%;\n\tposition: relative;\n\ttop: 0px;\n\tbottom: 0px;\n\tz-index: 10;\n\twidth: 2.5rem;\n\tflex-shrink: 0;\n\tcursor: pointer;\n\talign-self: center;\n\ttransition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;\n\ttransition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n\ttransition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;\n\ttransition-duration: 500ms;\n\ttransition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n.viewer-nav:focus,\n\t.viewer-nav:active {\n\t\tborder: none !important;\n\t\tbox-shadow: none !important;\n\t\toutline-color: transparent !important;\n}\n#content-area *::-moz-selection {\n\tcolor: var(--theme-primary-extralight, #690000);\n\tbackground: var(--theme-secondary, #ffa03c);\n}\n#content-area *::selection {\n\tcolor: var(--theme-primary-extralight, #690000);\n\tbackground: var(--theme-secondary, #ffa03c);\n}\n.viewer-nav-icon { opacity: 0;\n}\n@media (min-width: 768px) {\n.viewer-nav-icon { opacity: 0.8;\n}\n}\n@media only screen and (max-width: 600px) {\n.columnsArea {\n\t\ttransition: margin 100ms\n}\n}\n#asidebar {\n\tbackground: var(--sidebar-backgorund, #690000);\n\tcolor: var(--sidebar-text, #f3f4f6);\n}\n\n/* slider */\n.slider-target,.slider-target *{\n -webkit-touch-callout:none;\n -webkit-tap-highlight-color:rgba(0,0,0,0);\n box-sizing:border-box;\n touch-action:none;\n -webkit-user-select:none;\n -moz-user-select:none;\n user-select:none\n}\n.slider-target{\n position:relative\n}\n.slider-base,.slider-connects{\n height:100%;\n position:relative;\n width:100%;\n z-index:1\n}\n.slider-connects{\n overflow:hidden;\n z-index:0\n}\n.slider-connect,.slider-origin{\n height:100%;\n position:absolute;\n right:0;\n top:0;\n transform-origin:0 0;\n transform-style:flat;\n width:100%;\n will-change:transform;\n z-index:1\n}\n.slider-txt-dir-rtl.slider-horizontal .slider-origin{\n left:0;\n right:auto\n}\n.slider-vertical .slider-origin{\n top:-100%;\n width:0\n}\n.slider-horizontal .slider-origin{\n height:0\n}\n.slider-handle{\n -webkit-backface-visibility:hidden;\n backface-visibility:hidden;\n position:absolute\n}\n.slider-touch-area{\n height:100%;\n width:100%\n}\n.slider-state-tap .slider-connect,.slider-state-tap .slider-origin{\n transition:transform .3s\n}\n.slider-state-drag *{\n cursor:inherit!important\n}\n.slider-tooltip-drag .slider-tooltip,.slider-tooltip-focus .slider-tooltip{\n display:none!important\n}\n.slider-tooltip-drag .slider-active .slider-tooltip,.slider-tooltip-drag.slider-state-drag .slider-tooltip:not(.slider-tooltip-hidden),.slider-tooltip-focus.slider-focused .slider-tooltip:not(.slider-tooltip-hidden){\n display:block!important\n}\n.slider-horizontal{\n height:var(--slider-height,6px)\n}\n.slider-horizontal .slider-handle{\n height:var(--slider-handle-height,16px);\n right:calc(var(--slider-handle-width, 16px)/2*-1);\n top:calc((var(--slider-handle-height, 16px) - var(--slider-height, 6px))/2*-1 + -1px);\n width:var(--slider-handle-width,16px)\n}\n.slider-vertical{\n height:var(--slider-vertical-height,300px);\n width:var(--slider-height,6px)\n}\n.slider-vertical .slider-handle{\n bottom:calc(var(--slider-handle-width, 16px)/2*-1);\n height:var(--slider-handle-width,16px);\n right:calc((var(--slider-handle-height, 16px) - var(--slider-height, 6px))/2*-1 + -1px);\n width:var(--slider-handle-height,16px)\n}\n.slider-txt-dir-rtl.slider-horizontal .slider-handle{\n left:calc(var(--slider-handle-width, 16px)/2*-1);\n right:auto\n}\n.slider-base{\n background-color:var(--slider-bg,#d1d5db)\n}\n.slider-base,.slider-connects{\n border-radius:var(--slider-radius,9999px)\n}\n.slider-connect{\n background:var(--theme-secondary, #690000);\n cursor:pointer\n}\n.slider-draggable{\n cursor:ew-resize\n}\n.slider-vertical .slider-draggable{\n cursor:ns-resize\n}\n.slider-handle{\n background:var(--slider-handle-bg,#fff);\n border:var(--slider-handle-border,0);\n border-radius:var(--slider-handle-radius,9999px);\n box-shadow:var(--slider-handle-shadow,.5px .5px 2px 1px rgba(0,0,0,.32));\n cursor:-webkit-grab;\n cursor:grab;\n height:var(--slider-handle-height,16px);\n width:var(--slider-handle-width,16px)\n}\n.slider-handle:focus{\n box-shadow:0 0 0 var(--slider-handle-ring-width,3px) var(--slider-handle-ring-color,rgba(16,185,129,.188)),var(--slider-handle-shadow,.5px .5px 2px 1px rgba(0,0,0,.32));\n outline:none\n}\n.slider-active{\n box-shadow:var(--slider-handle-shadow-active,.5px .5px 2px 1px rgba(0,0,0,.42));\n cursor:-webkit-grabbing;\n cursor:grabbing\n}\n[disabled] .slider-connect{\n background:var(--slider-connect-bg-disabled,#9ca3af)\n}\n[disabled] .slider-handle,[disabled].slider-handle,[disabled].slider-target{\n cursor:not-allowed\n}\n[disabled] .slider-tooltip{\n background:var(--theme-secondary, #690000);\n border-color:var(--theme-secondary, #690000);\n\topacity: 0.5;\n}\n.slider-tooltip{\n background:var(--theme-secondary, #690000);\n border:1px solid var(--theme-secondary, #690000);\n border-radius:var(--slider-tooltip-radius,5px);\n color:var(--slider-tooltip-color,#fff);\n display:block;\n font-size:var(--slider-tooltip-font-size,.875rem);\n font-weight:var(--slider-tooltip-font-weight,600);\n line-height:var(--slider-tooltip-line-height,1.25rem);\n min-width:var(--slider-tooltip-min-width,20px);\n padding:var(--slider-tooltip-py,2px) var(--slider-tooltip-px,6px);\n position:absolute;\n text-align:center;\n white-space:nowrap\n}\n.slider-horizontal .slider-tooltip-top{\n bottom:calc(var(--slider-handle-height, 16px) + var(--slider-tooltip-arrow-size, 5px) + var(--slider-tooltip-distance, 3px));\n left:50%;\n transform:translate(-50%)\n}\n.slider-horizontal .slider-tooltip-top:before{\n border:var(--slider-tooltip-arrow-size,5px) solid transparent;\n border-top-color:inherit;\n bottom:calc(var(--slider-tooltip-arrow-size, 5px)*-2);\n content:\"\";\n height:0;\n left:50%;\n position:absolute;\n transform:translate(-50%);\n width:0\n}\n.slider-horizontal .slider-tooltip-bottom{\n left:50%;\n top:calc(var(--slider-handle-height, 16px) + var(--slider-tooltip-arrow-size, 5px) + var(--slider-tooltip-distance, 3px));\n transform:translate(-50%)\n}\n.slider-horizontal .slider-tooltip-bottom:before{\n border:var(--slider-tooltip-arrow-size,5px) solid transparent;\n border-bottom-color:inherit;\n content:\"\";\n height:0;\n left:50%;\n position:absolute;\n top:calc(var(--slider-tooltip-arrow-size, 5px)*-2);\n transform:translate(-50%);\n width:0\n}\n.slider-vertical .slider-tooltip-left{\n right:calc(var(--slider-handle-height, 16px) + var(--slider-tooltip-arrow-size, 5px) + var(--slider-tooltip-distance, 3px));\n top:50%;\n transform:translateY(-50%)\n}\n.slider-vertical .slider-tooltip-left:before{\n border:var(--slider-tooltip-arrow-size,5px) solid transparent;\n border-left-color:inherit;\n content:\"\";\n height:0;\n position:absolute;\n right:calc(var(--slider-tooltip-arrow-size, 5px)*-2);\n top:50%;\n transform:translateY(-50%);\n width:0\n}\n.slider-vertical .slider-tooltip-right{\n left:calc(var(--slider-handle-height, 16px) + var(--slider-tooltip-arrow-size, 5px) + var(--slider-tooltip-distance, 3px));\n top:50%;\n transform:translateY(-50%)\n}\n.slider-vertical .slider-tooltip-right:before{\n border:var(--slider-tooltip-arrow-size,5px) solid transparent;\n border-right-color:inherit;\n content:\"\";\n height:0;\n left:calc(var(--slider-tooltip-arrow-size, 5px)*-2);\n position:absolute;\n top:50%;\n transform:translateY(-50%);\n width:0\n}\n.slider-horizontal .slider-origin>.slider-tooltip{\n left:auto;\n transform:translate(50%)\n}\n.slider-horizontal .slider-origin>.slider-tooltip-top{\n bottom:calc(var(--slider-tooltip-arrow-size, 5px) + (var(--slider-handle-height, 16px) - var(--slider-height, 6px))/2 + var(--slider-tooltip-distance, 3px) + 1px)\n}\n.slider-horizontal .slider-origin>.slider-tooltip-bottom{\n top:calc(var(--slider-tooltip-arrow-size, 5px) + (var(--slider-handle-height, 16px) - var(--slider-height, 6px))/2 + var(--slider-tooltip-distance, 3px) + var(--slider-height, 6px) - 1px)\n}\n.slider-vertical .slider-origin>.slider-tooltip{\n top:auto;\n transform:translateY(calc((var(--slider-tooltip-line-height, 1.25rem) - var(--slider-tooltip-py, 2px))*-1 + 1px))\n}\n.slider-vertical .slider-origin>.slider-tooltip-left{\n right:calc(var(--slider-tooltip-arrow-size, 5px) + var(--slider-height, 6px) + (var(--slider-handle-height, 16px) - var(--slider-height, 6px))/2 + var(--slider-tooltip-distance, 3px) - 1px)\n}\n.slider-vertical .slider-origin>.slider-tooltip-right{\n left:calc(var(--slider-tooltip-arrow-size, 5px) + var(--slider-height, 6px) + (var(--slider-handle-height, 16px) - var(--slider-height, 6px))/2 + var(--slider-tooltip-distance, 3px) - var(--slider-height, 6px) + 1px)\n}\n\n";
|
|
10856
|
+
const _style_0 = ".border-primary { border-color: var(--theme-primary, #690000);\n}\n.text-primary { color: var(--theme-primary, #690000);\n}\n.bg-primary { background-color: var(--theme-primary, #690000);\n}\n.border-primary-extralight { border-color: var(--theme-primary-extralight, #f3f4f6);\n}\n.text-primary-extralight { color: var(--theme-primary-extralight, #f3f4f6);\n}\n.bg-primary-extralight { background-color: var(--theme-primary-extralight, #f3f4f6);\n}\n.border-secondary { border-color: var(--theme-secondary, #ffa03c);\n}\n.text-secondary { color: var(--theme-secondary, #ffa03c);\n}\n.bg-secondary { background-color: var(--theme-secondary, #ffa03c);\n}\n.rootWrapper {\n\tmax-height: 100%;\n height: 100%;\n}\nmain#rootComponent {\n\theight: 100%;\n\tmax-height: 100%;\n}\nmain#rootComponent.light {\n\t\tbackground-color: var(--bg-light-mode, #fff7e0)\n}\nmain#rootComponent.dark {\n\t\tbackground-color: var(--bg-dark-mode, #2d2d2d);\n}\nmain#rootComponent.dark #content-area {\n\t\t\tcolor: #fff\n}\nheader.wrapper {\n\twidth: 200px;\n\tmargin: 0 auto;\n}\n#engine {\n\theight: calc(100% - 8.4rem);\n\tposition: relative;\n right: 0;\n left: 0;\n bottom: 0;\n width: 100%;\n}\n.rootWrapper.safari {\n\tmax-height: initial;\n\theight: initial;\n}\n.rootWrapper.safari #engine {\n\theight: auto !important;\n}\n#reader-component {\n\twidth: 100%;\n}\n.typeArea {\n\twidth: 100%;\n}\n.engineWrapper {\n\theight: 100%;\n display: flex;\n justify-content: space-between;\n\tposition: relative;\n right: 0;\n left: 0;\n bottom: 0;\n width: 100%;\n}\n.rootWrapper:not(.safari) .columns-double .columnsArea {\n\t-moz-column-count: 2;\n column-count: 2;\n grid-column-gap: 0;\n -moz-column-gap: 0;\n column-gap: 0;\n height: 100%;\n padding: 0;\n width: 100%;\n}\n@media only screen and (max-width: 1020px) {\n.rootWrapper:not(.safari) .columns-double .columnsArea {\n\t\t-moz-column-count: 1;\n \tcolumn-count: 1\n}\n}\n.rootWrapper:not(.safari) .columns-single .columnsArea {\n\t-moz-column-count: 1;\n\t column-count: 1;\n\t-moz-column-gap: 0;\n\t column-gap: 0;\n\theight: 100%;\n padding: 0;\n width: 100%;\n}\n.rootWrapper:not(.safari) .columns-single .columnsArea #content-area {\n\t\tmax-width: 37em;\n\t\tmargin: 0 auto;\n}\n.nav-prev { left: 0px;\n}\n.nav-next { right: 0px;\n}\n.viewer-nav {\n\theight: 100%;\n\tposition: relative;\n\ttop: 0px;\n\tbottom: 0px;\n\tz-index: 10;\n\twidth: 2.5rem;\n\tflex-shrink: 0;\n\tcursor: pointer;\n\talign-self: center;\n\ttransition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;\n\ttransition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n\ttransition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;\n\ttransition-duration: 500ms;\n\ttransition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n}\n.viewer-nav:focus,\n\t.viewer-nav:active {\n\t\tborder: none !important;\n\t\tbox-shadow: none !important;\n\t\toutline-color: transparent !important;\n}\n#content-area *::-moz-selection {\n\tcolor: var(--theme-primary-extralight, #690000);\n\tbackground: var(--theme-secondary, #ffa03c);\n}\n#content-area *::selection {\n\tcolor: var(--theme-primary-extralight, #690000);\n\tbackground: var(--theme-secondary, #ffa03c);\n}\n.viewer-nav-icon { opacity: 0;\n}\n@media (min-width: 768px) {\n.viewer-nav-icon { opacity: 0.8;\n}\n}\n@media only screen and (max-width: 600px) {\n.columnsArea {\n\t\ttransition: margin 100ms\n}\n}\n#asidebar {\n\tbackground: var(--sidebar-backgorund, #690000);\n\tcolor: var(--sidebar-text, #f3f4f6);\n}\n\n/* slider */\n.rootWrapper.safari .slider-target,\n.rootWrapper.safari .slider-target *{\n\tdisplay: none !important;\n}\n.slider-target,.slider-target *{\n -webkit-touch-callout:none;\n -webkit-tap-highlight-color:rgba(0,0,0,0);\n box-sizing:border-box;\n touch-action:none;\n -webkit-user-select:none;\n -moz-user-select:none;\n user-select:none\n}\n.slider-target{\n position:relative\n}\n.slider-base,.slider-connects{\n height:100%;\n position:relative;\n width:100%;\n z-index:1\n}\n.slider-connects{\n overflow:hidden;\n z-index:0\n}\n.slider-connect,.slider-origin{\n height:100%;\n position:absolute;\n right:0;\n top:0;\n transform-origin:0 0;\n transform-style:flat;\n width:100%;\n will-change:transform;\n z-index:1\n}\n.slider-txt-dir-rtl.slider-horizontal .slider-origin{\n left:0;\n right:auto\n}\n.slider-vertical .slider-origin{\n top:-100%;\n width:0\n}\n.slider-horizontal .slider-origin{\n height:0\n}\n.slider-handle{\n -webkit-backface-visibility:hidden;\n backface-visibility:hidden;\n position:absolute\n}\n.slider-touch-area{\n height:100%;\n width:100%\n}\n.slider-state-tap .slider-connect,.slider-state-tap .slider-origin{\n transition:transform .3s\n}\n.slider-state-drag *{\n cursor:inherit!important\n}\n.slider-tooltip-drag .slider-tooltip,.slider-tooltip-focus .slider-tooltip{\n display:none!important\n}\n.slider-tooltip-drag .slider-active .slider-tooltip,.slider-tooltip-drag.slider-state-drag .slider-tooltip:not(.slider-tooltip-hidden),.slider-tooltip-focus.slider-focused .slider-tooltip:not(.slider-tooltip-hidden){\n display:block!important\n}\n.slider-horizontal{\n height:var(--slider-height,6px)\n}\n.slider-horizontal .slider-handle{\n height:var(--slider-handle-height,16px);\n right:calc(var(--slider-handle-width, 16px)/2*-1);\n top:calc((var(--slider-handle-height, 16px) - var(--slider-height, 6px))/2*-1 + -1px);\n width:var(--slider-handle-width,16px)\n}\n.slider-vertical{\n height:var(--slider-vertical-height,300px);\n width:var(--slider-height,6px)\n}\n.slider-vertical .slider-handle{\n bottom:calc(var(--slider-handle-width, 16px)/2*-1);\n height:var(--slider-handle-width,16px);\n right:calc((var(--slider-handle-height, 16px) - var(--slider-height, 6px))/2*-1 + -1px);\n width:var(--slider-handle-height,16px)\n}\n.slider-txt-dir-rtl.slider-horizontal .slider-handle{\n left:calc(var(--slider-handle-width, 16px)/2*-1);\n right:auto\n}\n.slider-base{\n background-color:var(--slider-bg,#d1d5db)\n}\n.slider-base,.slider-connects{\n border-radius:var(--slider-radius,9999px)\n}\n.slider-connect{\n background:var(--theme-secondary, #690000);\n cursor:pointer\n}\n.slider-draggable{\n cursor:ew-resize\n}\n.slider-vertical .slider-draggable{\n cursor:ns-resize\n}\n.slider-handle{\n background:var(--slider-handle-bg,#fff);\n border:var(--slider-handle-border,0);\n border-radius:var(--slider-handle-radius,9999px);\n box-shadow:var(--slider-handle-shadow,.5px .5px 2px 1px rgba(0,0,0,.32));\n cursor:-webkit-grab;\n cursor:grab;\n height:var(--slider-handle-height,16px);\n width:var(--slider-handle-width,16px)\n}\n.slider-handle:focus{\n box-shadow:0 0 0 var(--slider-handle-ring-width,3px) var(--slider-handle-ring-color,rgba(16,185,129,.188)),var(--slider-handle-shadow,.5px .5px 2px 1px rgba(0,0,0,.32));\n outline:none\n}\n.slider-active{\n box-shadow:var(--slider-handle-shadow-active,.5px .5px 2px 1px rgba(0,0,0,.42));\n cursor:-webkit-grabbing;\n cursor:grabbing\n}\n[disabled] .slider-connect{\n background:var(--slider-connect-bg-disabled,#9ca3af)\n}\n[disabled] .slider-handle,[disabled].slider-handle,[disabled].slider-target{\n cursor:not-allowed\n}\n[disabled] .slider-tooltip{\n background:var(--theme-secondary, #690000);\n border-color:var(--theme-secondary, #690000);\n\topacity: 0.5;\n}\n.slider-tooltip{\n background:var(--theme-secondary, #690000);\n border:1px solid var(--theme-secondary, #690000);\n border-radius:var(--slider-tooltip-radius,5px);\n color:var(--slider-tooltip-color,#fff);\n display:block;\n font-size:var(--slider-tooltip-font-size,.875rem);\n font-weight:var(--slider-tooltip-font-weight,600);\n line-height:var(--slider-tooltip-line-height,1.25rem);\n min-width:var(--slider-tooltip-min-width,20px);\n padding:var(--slider-tooltip-py,2px) var(--slider-tooltip-px,6px);\n position:absolute;\n text-align:center;\n white-space:nowrap\n}\n.slider-horizontal .slider-tooltip-top{\n bottom:calc(var(--slider-handle-height, 16px) + var(--slider-tooltip-arrow-size, 5px) + var(--slider-tooltip-distance, 3px));\n left:50%;\n transform:translate(-50%)\n}\n.slider-horizontal .slider-tooltip-top:before{\n border:var(--slider-tooltip-arrow-size,5px) solid transparent;\n border-top-color:inherit;\n bottom:calc(var(--slider-tooltip-arrow-size, 5px)*-2);\n content:\"\";\n height:0;\n left:50%;\n position:absolute;\n transform:translate(-50%);\n width:0\n}\n.slider-horizontal .slider-tooltip-bottom{\n left:50%;\n top:calc(var(--slider-handle-height, 16px) + var(--slider-tooltip-arrow-size, 5px) + var(--slider-tooltip-distance, 3px));\n transform:translate(-50%)\n}\n.slider-horizontal .slider-tooltip-bottom:before{\n border:var(--slider-tooltip-arrow-size,5px) solid transparent;\n border-bottom-color:inherit;\n content:\"\";\n height:0;\n left:50%;\n position:absolute;\n top:calc(var(--slider-tooltip-arrow-size, 5px)*-2);\n transform:translate(-50%);\n width:0\n}\n.slider-vertical .slider-tooltip-left{\n right:calc(var(--slider-handle-height, 16px) + var(--slider-tooltip-arrow-size, 5px) + var(--slider-tooltip-distance, 3px));\n top:50%;\n transform:translateY(-50%)\n}\n.slider-vertical .slider-tooltip-left:before{\n border:var(--slider-tooltip-arrow-size,5px) solid transparent;\n border-left-color:inherit;\n content:\"\";\n height:0;\n position:absolute;\n right:calc(var(--slider-tooltip-arrow-size, 5px)*-2);\n top:50%;\n transform:translateY(-50%);\n width:0\n}\n.slider-vertical .slider-tooltip-right{\n left:calc(var(--slider-handle-height, 16px) + var(--slider-tooltip-arrow-size, 5px) + var(--slider-tooltip-distance, 3px));\n top:50%;\n transform:translateY(-50%)\n}\n.slider-vertical .slider-tooltip-right:before{\n border:var(--slider-tooltip-arrow-size,5px) solid transparent;\n border-right-color:inherit;\n content:\"\";\n height:0;\n left:calc(var(--slider-tooltip-arrow-size, 5px)*-2);\n position:absolute;\n top:50%;\n transform:translateY(-50%);\n width:0\n}\n.slider-horizontal .slider-origin>.slider-tooltip{\n left:auto;\n transform:translate(50%)\n}\n.slider-horizontal .slider-origin>.slider-tooltip-top{\n bottom:calc(var(--slider-tooltip-arrow-size, 5px) + (var(--slider-handle-height, 16px) - var(--slider-height, 6px))/2 + var(--slider-tooltip-distance, 3px) + 1px)\n}\n.slider-horizontal .slider-origin>.slider-tooltip-bottom{\n top:calc(var(--slider-tooltip-arrow-size, 5px) + (var(--slider-handle-height, 16px) - var(--slider-height, 6px))/2 + var(--slider-tooltip-distance, 3px) + var(--slider-height, 6px) - 1px)\n}\n.slider-vertical .slider-origin>.slider-tooltip{\n top:auto;\n transform:translateY(calc((var(--slider-tooltip-line-height, 1.25rem) - var(--slider-tooltip-py, 2px))*-1 + 1px))\n}\n.slider-vertical .slider-origin>.slider-tooltip-left{\n right:calc(var(--slider-tooltip-arrow-size, 5px) + var(--slider-height, 6px) + (var(--slider-handle-height, 16px) - var(--slider-height, 6px))/2 + var(--slider-tooltip-distance, 3px) - 1px)\n}\n.slider-vertical .slider-origin>.slider-tooltip-right{\n left:calc(var(--slider-tooltip-arrow-size, 5px) + var(--slider-height, 6px) + (var(--slider-handle-height, 16px) - var(--slider-height, 6px))/2 + var(--slider-tooltip-distance, 3px) - var(--slider-height, 6px) + 1px)\n}\n\n";
|
|
10760
10857
|
|
|
10761
|
-
const _hoisted_1 = { class: "
|
|
10858
|
+
const _hoisted_1 = { class: "text-white text-center text-sm" };
|
|
10762
10859
|
const _hoisted_2 = { class: "text-white text-center text-xs" };
|
|
10763
10860
|
|
|
10764
10861
|
|
|
@@ -10782,8 +10879,8 @@ const props = __props;
|
|
|
10782
10879
|
|
|
10783
10880
|
|
|
10784
10881
|
|
|
10785
|
-
const {
|
|
10786
|
-
const { currentPage, totalPages
|
|
10882
|
+
const { baseFont, bookTitle, chapterTitle, textFont, fontSize, columns, setColumns, mode } = useReaderSettings;
|
|
10883
|
+
const { currentPage, totalPages } = usePagination;
|
|
10787
10884
|
const { content, listenToClicks } = useTextContent;
|
|
10788
10885
|
const { width, height } = useWindowSize();
|
|
10789
10886
|
|
|
@@ -10792,31 +10889,23 @@ const contentArea = ref(null);
|
|
|
10792
10889
|
const rootComponent = ref(null);
|
|
10793
10890
|
|
|
10794
10891
|
onMounted(async () => {
|
|
10795
|
-
init(readerComponent, contentArea);
|
|
10796
|
-
initSettings(props.readerSettings);
|
|
10892
|
+
usePagination.init(readerComponent, contentArea);
|
|
10893
|
+
useReaderSettings.initSettings(props.readerSettings);
|
|
10894
|
+
useStyles.initStyles(props, rootComponent);
|
|
10797
10895
|
|
|
10798
10896
|
if (['string', 'boolean'].includes(typeof props.readerBlocked)) {
|
|
10799
10897
|
useReaderSettings.setBlocked(props.readerBlocked);
|
|
10800
10898
|
}
|
|
10801
10899
|
|
|
10802
|
-
if (props.cssFile) {
|
|
10803
|
-
useStyles.stylesheetLoader(props.cssFile, rootComponent);
|
|
10804
|
-
}
|
|
10805
|
-
|
|
10806
|
-
if (props.cssString) {
|
|
10807
|
-
useStyles.applyStylesheet(props.cssString, rootComponent);
|
|
10808
|
-
}
|
|
10809
10900
|
});
|
|
10810
10901
|
|
|
10811
10902
|
watch(
|
|
10812
10903
|
props,
|
|
10813
10904
|
() => {
|
|
10814
|
-
console.log(props);
|
|
10815
10905
|
if (props.hasOwnProperty('readerBlocked')) {
|
|
10816
10906
|
const readerBlocked = typeof props.readerBlocked === 'boolean'
|
|
10817
10907
|
? props.readerBlocked
|
|
10818
10908
|
: props.readerBlocked === 'true';
|
|
10819
|
-
console.log(readerBlocked);
|
|
10820
10909
|
useReaderSettings.setBlocked(readerBlocked);
|
|
10821
10910
|
}
|
|
10822
10911
|
}
|
|
@@ -10840,7 +10929,9 @@ watchDebounced(content,
|
|
|
10840
10929
|
|
|
10841
10930
|
|
|
10842
10931
|
return (_ctx, _cache) => {
|
|
10843
|
-
return (openBlock(), createElementBlock("div",
|
|
10932
|
+
return (openBlock(), createElementBlock("div", {
|
|
10933
|
+
class: normalizeClass(["rootWrapper", unref(useBrowser).isSafari ? 'safari' : ''])
|
|
10934
|
+
}, [
|
|
10844
10935
|
createBaseVNode("main", {
|
|
10845
10936
|
id: "rootComponent",
|
|
10846
10937
|
ref_key: "rootComponent",
|
|
@@ -10856,7 +10947,8 @@ return (_ctx, _cache) => {
|
|
|
10856
10947
|
createVNode(_sfc_main$9, null, {
|
|
10857
10948
|
header: withCtx(() => [
|
|
10858
10949
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
10859
|
-
createBaseVNode("p",
|
|
10950
|
+
createBaseVNode("p", _hoisted_1, toDisplayString(props.bookTitle || unref(bookTitle)), 1),
|
|
10951
|
+
createBaseVNode("p", _hoisted_2, toDisplayString(props.chapterTitle || unref(chapterTitle)), 1)
|
|
10860
10952
|
])
|
|
10861
10953
|
]),
|
|
10862
10954
|
summaryTop: withCtx(() => [
|
|
@@ -10909,14 +11001,14 @@ return (_ctx, _cache) => {
|
|
|
10909
11001
|
createVNode(_sfc_main$4)
|
|
10910
11002
|
], 6),
|
|
10911
11003
|
createVNode(FootnotesAside)
|
|
10912
|
-
]))
|
|
11004
|
+
], 2))
|
|
10913
11005
|
}
|
|
10914
11006
|
}
|
|
10915
11007
|
|
|
10916
11008
|
};
|
|
10917
11009
|
const App = /*#__PURE__*/_export_sfc(_sfc_main, [['styles',[_style_0]]]);
|
|
10918
11010
|
|
|
10919
|
-
const tailwindStyles = "/*\n! tailwindcss v3.1.8 | MIT License | https://tailwindcss.com\n*/\n\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box;\n /* 1 */\n border-width: 0;\n /* 2 */\n border-style: solid;\n /* 2 */\n border-color: #e5e7eb;\n /* 2 */\n}\n\n::before,\n::after {\n --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n*/\n\nhtml {\n line-height: 1.5;\n /* 1 */\n -webkit-text-size-adjust: 100%;\n /* 2 */\n -moz-tab-size: 4;\n /* 3 */\n -o-tab-size: 4;\n tab-size: 4;\n /* 3 */\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n /* 4 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0;\n /* 1 */\n line-height: inherit;\n /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0;\n /* 1 */\n color: inherit;\n /* 2 */\n border-top-width: 1px;\n /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font family by default.\n2. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n /* 1 */\n font-size: 1em;\n /* 2 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0;\n /* 1 */\n border-color: inherit;\n /* 2 */\n border-collapse: collapse;\n /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit;\n /* 1 */\n font-size: 100%;\n /* 1 */\n font-weight: inherit;\n /* 1 */\n line-height: inherit;\n /* 1 */\n color: inherit;\n /* 1 */\n margin: 0;\n /* 2 */\n padding: 0;\n /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button;\n /* 1 */\n background-color: transparent;\n /* 2 */\n background-image: none;\n /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n -webkit-appearance: textfield;\n /* 1 */\n outline-offset: -2px;\n /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n /* 1 */\n font: inherit;\n /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block;\n /* 1 */\n vertical-align: middle;\n /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n::-webkit-backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n.fixed {\n position: fixed;\n}\n\n.absolute {\n position: absolute;\n}\n\n.relative {\n position: relative;\n}\n\n.top-0 {\n top: 0px;\n}\n\n.right-0 {\n right: 0px;\n}\n\n.top-4 {\n top: 1rem;\n}\n\n.right-8 {\n right: 2rem;\n}\n\n.bottom-0 {\n bottom: 0px;\n}\n\n.top-14 {\n top: 3.5rem;\n}\n\n.-right-2 {\n right: -0.5rem;\n}\n\n.-left-2 {\n left: -0.5rem;\n}\n\n.z-20 {\n z-index: 20;\n}\n\n.z-40 {\n z-index: 40;\n}\n\n.z-10 {\n z-index: 10;\n}\n\n.col-span-1 {\n grid-column: span 1 / span 1;\n}\n\n.col-span-2 {\n grid-column: span 2 / span 2;\n}\n\n.mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n\n.my-3 {\n margin-top: 0.75rem;\n margin-bottom: 0.75rem;\n}\n\n.my-8 {\n margin-top: 2rem;\n margin-bottom: 2rem;\n}\n\n.mb-6 {\n margin-bottom: 1.5rem;\n}\n\n.ml-4 {\n margin-left: 1rem;\n}\n\n.ml-10 {\n margin-left: 2.5rem;\n}\n\n.mt-3 {\n margin-top: 0.75rem;\n}\n\n.mr-3 {\n margin-right: 0.75rem;\n}\n\n.ml-3 {\n margin-left: 0.75rem;\n}\n\n.mb-2 {\n margin-bottom: 0.5rem;\n}\n\n.block {\n display: block;\n}\n\n.flex {\n display: flex;\n}\n\n.grid {\n display: grid;\n}\n\n.hidden {\n display: none;\n}\n\n.h-screen {\n height: 100vh;\n}\n\n.h-6 {\n height: 1.5rem;\n}\n\n.h-8 {\n height: 2rem;\n}\n\n.h-full {\n height: 100%;\n}\n\n.h-10 {\n height: 2.5rem;\n}\n\n.h-5 {\n height: 1.25rem;\n}\n\n.w-full {\n width: 100%;\n}\n\n.w-96 {\n width: 24rem;\n}\n\n.w-6 {\n width: 1.5rem;\n}\n\n.w-8 {\n width: 2rem;\n}\n\n.w-4\\/5 {\n width: 80%;\n}\n\n.w-5 {\n width: 1.25rem;\n}\n\n.w-60 {\n width: 15rem;\n}\n\n.flex-shrink-0 {\n flex-shrink: 0;\n}\n\n.scale-95 {\n --tw-scale-x: .95;\n --tw-scale-y: .95;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.scale-100 {\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.cursor-pointer {\n cursor: pointer;\n}\n\n.grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n}\n\n.grid-cols-4 {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-center {\n justify-content: center;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.gap-2 {\n gap: 0.5rem;\n}\n\n.divide-opacity-75 > :not([hidden]) ~ :not([hidden]) {\n --tw-divide-opacity: 0.75;\n}\n\n.self-end {\n align-self: flex-end;\n}\n\n.overflow-auto {\n overflow: auto;\n}\n\n.overflow-hidden {\n overflow: hidden;\n}\n\n.overflow-x-hidden {\n overflow-x: hidden;\n}\n\n.rounded {\n border-radius: 0.25rem;\n}\n\n.rounded-sm {\n border-radius: 0.125rem;\n}\n\n.border {\n border-width: 1px;\n}\n\n.border-2 {\n border-width: 2px;\n}\n\n.border-b {\n border-bottom-width: 1px;\n}\n\n.border-white {\n --tw-border-opacity: 1;\n border-color: rgb(255 255 255 / var(--tw-border-opacity));\n}\n\n.border-gray-300 {\n --tw-border-opacity: 1;\n border-color: rgb(209 213 219 / var(--tw-border-opacity));\n}\n\n.border-b-white\\/25 {\n border-bottom-color: rgb(255 255 255 / 0.25);\n}\n\n.bg-gray-800 {\n --tw-bg-opacity: 1;\n background-color: rgb(31 41 55 / var(--tw-bg-opacity));\n}\n\n.bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity));\n}\n\n.p-4 {\n padding: 1rem;\n}\n\n.p-10 {\n padding: 2.5rem;\n}\n\n.p-3 {\n padding: 0.75rem;\n}\n\n.py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.px-10 {\n padding-left: 2.5rem;\n padding-right: 2.5rem;\n}\n\n.py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n.px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.py-3 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n.pt-10 {\n padding-top: 2.5rem;\n}\n\n.pl-4 {\n padding-left: 1rem;\n}\n\n.text-left {\n text-align: left;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-xs {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.text-base {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n.text-lg {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n\n.font-light {\n font-weight: 300;\n}\n\n.lowercase {\n text-transform: lowercase;\n}\n\n.tracking-wide {\n letter-spacing: 0.025em;\n}\n\n.text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n\n.text-gray-700 {\n --tw-text-opacity: 1;\n color: rgb(55 65 81 / var(--tw-text-opacity));\n}\n\n.text-black {\n --tw-text-opacity: 1;\n color: rgb(0 0 0 / var(--tw-text-opacity));\n}\n\n.opacity-50 {\n opacity: 0.5;\n}\n\n.opacity-100 {\n opacity: 1;\n}\n\n.opacity-0 {\n opacity: 0;\n}\n\n.opacity-75 {\n opacity: 0.75;\n}\n\n.opacity-30 {\n opacity: 0.3;\n}\n\n.shadow-2xl {\n --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);\n --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.shadow-lg {\n --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.transition-colors {\n transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.transition {\n transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.transition-opacity {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.duration-100 {\n transition-duration: 100ms;\n}\n\n.duration-200 {\n transition-duration: 200ms;\n}\n\n.duration-75 {\n transition-duration: 75ms;\n}\n\n.ease-out {\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n.ease-in {\n transition-timing-function: cubic-bezier(0.4, 0, 1, 1);\n}\n\n.last\\:border-transparent:last-child {\n border-color: transparent;\n}\n\n.hover\\:bg-gray-100:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity));\n}\n\n@media (prefers-color-scheme: dark) {\n .dark\\:text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n }\n}\n\n@media (min-width: 768px) {\n .md\\:bottom-14 {\n bottom: 3.5rem;\n }\n\n .md\\:right-3 {\n right: 0.75rem;\n }\n\n .md\\:right-16 {\n right: 4rem;\n }\n\n .md\\:left-16 {\n left: 4rem;\n }\n\n .md\\:flex {\n display: flex;\n }\n\n .md\\:grid {\n display: grid;\n }\n\n .md\\:w-\\[40em\\] {\n width: 40em;\n }\n\n .md\\:w-2\\/5 {\n width: 40%;\n }\n\n .md\\:px-24 {\n padding-left: 6rem;\n padding-right: 6rem;\n }\n}";
|
|
11011
|
+
const tailwindStyles = "/*\n! tailwindcss v3.1.8 | MIT License | https://tailwindcss.com\n*/\n\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box;\n /* 1 */\n border-width: 0;\n /* 2 */\n border-style: solid;\n /* 2 */\n border-color: #e5e7eb;\n /* 2 */\n}\n\n::before,\n::after {\n --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n*/\n\nhtml {\n line-height: 1.5;\n /* 1 */\n -webkit-text-size-adjust: 100%;\n /* 2 */\n -moz-tab-size: 4;\n /* 3 */\n -o-tab-size: 4;\n tab-size: 4;\n /* 3 */\n font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n /* 4 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0;\n /* 1 */\n line-height: inherit;\n /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0;\n /* 1 */\n color: inherit;\n /* 2 */\n border-top-width: 1px;\n /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font family by default.\n2. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n /* 1 */\n font-size: 1em;\n /* 2 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0;\n /* 1 */\n border-color: inherit;\n /* 2 */\n border-collapse: collapse;\n /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit;\n /* 1 */\n font-size: 100%;\n /* 1 */\n font-weight: inherit;\n /* 1 */\n line-height: inherit;\n /* 1 */\n color: inherit;\n /* 1 */\n margin: 0;\n /* 2 */\n padding: 0;\n /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button;\n /* 1 */\n background-color: transparent;\n /* 2 */\n background-image: none;\n /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n -webkit-appearance: textfield;\n /* 1 */\n outline-offset: -2px;\n /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n /* 1 */\n font: inherit;\n /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block;\n /* 1 */\n vertical-align: middle;\n /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n*, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n::-webkit-backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n}\n\n.fixed {\n position: fixed;\n}\n\n.absolute {\n position: absolute;\n}\n\n.relative {\n position: relative;\n}\n\n.top-0 {\n top: 0px;\n}\n\n.right-0 {\n right: 0px;\n}\n\n.top-4 {\n top: 1rem;\n}\n\n.right-8 {\n right: 2rem;\n}\n\n.bottom-0 {\n bottom: 0px;\n}\n\n.top-14 {\n top: 3.5rem;\n}\n\n.-right-2 {\n right: -0.5rem;\n}\n\n.z-20 {\n z-index: 20;\n}\n\n.z-40 {\n z-index: 40;\n}\n\n.z-10 {\n z-index: 10;\n}\n\n.col-span-1 {\n grid-column: span 1 / span 1;\n}\n\n.col-span-2 {\n grid-column: span 2 / span 2;\n}\n\n.mx-auto {\n margin-left: auto;\n margin-right: auto;\n}\n\n.my-3 {\n margin-top: 0.75rem;\n margin-bottom: 0.75rem;\n}\n\n.my-8 {\n margin-top: 2rem;\n margin-bottom: 2rem;\n}\n\n.mb-6 {\n margin-bottom: 1.5rem;\n}\n\n.ml-4 {\n margin-left: 1rem;\n}\n\n.ml-10 {\n margin-left: 2.5rem;\n}\n\n.mt-3 {\n margin-top: 0.75rem;\n}\n\n.mr-3 {\n margin-right: 0.75rem;\n}\n\n.ml-3 {\n margin-left: 0.75rem;\n}\n\n.mb-2 {\n margin-bottom: 0.5rem;\n}\n\n.block {\n display: block;\n}\n\n.flex {\n display: flex;\n}\n\n.grid {\n display: grid;\n}\n\n.hidden {\n display: none;\n}\n\n.h-screen {\n height: 100vh;\n}\n\n.h-6 {\n height: 1.5rem;\n}\n\n.h-8 {\n height: 2rem;\n}\n\n.h-full {\n height: 100%;\n}\n\n.h-10 {\n height: 2.5rem;\n}\n\n.h-5 {\n height: 1.25rem;\n}\n\n.w-full {\n width: 100%;\n}\n\n.w-96 {\n width: 24rem;\n}\n\n.w-6 {\n width: 1.5rem;\n}\n\n.w-8 {\n width: 2rem;\n}\n\n.w-4\\/5 {\n width: 80%;\n}\n\n.w-5 {\n width: 1.25rem;\n}\n\n.w-60 {\n width: 15rem;\n}\n\n.flex-shrink-0 {\n flex-shrink: 0;\n}\n\n.scale-95 {\n --tw-scale-x: .95;\n --tw-scale-y: .95;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.scale-100 {\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.cursor-pointer {\n cursor: pointer;\n}\n\n.cursor-default {\n cursor: default;\n}\n\n.grid-cols-3 {\n grid-template-columns: repeat(3, minmax(0, 1fr));\n}\n\n.grid-cols-4 {\n grid-template-columns: repeat(4, minmax(0, 1fr));\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-center {\n justify-content: center;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.gap-2 {\n gap: 0.5rem;\n}\n\n.divide-opacity-75 > :not([hidden]) ~ :not([hidden]) {\n --tw-divide-opacity: 0.75;\n}\n\n.self-end {\n align-self: flex-end;\n}\n\n.overflow-auto {\n overflow: auto;\n}\n\n.overflow-hidden {\n overflow: hidden;\n}\n\n.overflow-x-hidden {\n overflow-x: hidden;\n}\n\n.rounded {\n border-radius: 0.25rem;\n}\n\n.rounded-sm {\n border-radius: 0.125rem;\n}\n\n.border {\n border-width: 1px;\n}\n\n.border-2 {\n border-width: 2px;\n}\n\n.border-b {\n border-bottom-width: 1px;\n}\n\n.border-white {\n --tw-border-opacity: 1;\n border-color: rgb(255 255 255 / var(--tw-border-opacity));\n}\n\n.border-gray-300 {\n --tw-border-opacity: 1;\n border-color: rgb(209 213 219 / var(--tw-border-opacity));\n}\n\n.border-b-white\\/25 {\n border-bottom-color: rgb(255 255 255 / 0.25);\n}\n\n.bg-gray-800 {\n --tw-bg-opacity: 1;\n background-color: rgb(31 41 55 / var(--tw-bg-opacity));\n}\n\n.bg-white {\n --tw-bg-opacity: 1;\n background-color: rgb(255 255 255 / var(--tw-bg-opacity));\n}\n\n.p-4 {\n padding: 1rem;\n}\n\n.p-10 {\n padding: 2.5rem;\n}\n\n.p-3 {\n padding: 0.75rem;\n}\n\n.py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.px-10 {\n padding-left: 2.5rem;\n padding-right: 2.5rem;\n}\n\n.py-4 {\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n.px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem;\n}\n\n.py-3 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n.pt-10 {\n padding-top: 2.5rem;\n}\n\n.pl-4 {\n padding-left: 1rem;\n}\n\n.text-left {\n text-align: left;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.text-xs {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.text-base {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n.text-lg {\n font-size: 1.125rem;\n line-height: 1.75rem;\n}\n\n.font-light {\n font-weight: 300;\n}\n\n.lowercase {\n text-transform: lowercase;\n}\n\n.tracking-wide {\n letter-spacing: 0.025em;\n}\n\n.text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n}\n\n.text-gray-700 {\n --tw-text-opacity: 1;\n color: rgb(55 65 81 / var(--tw-text-opacity));\n}\n\n.text-black {\n --tw-text-opacity: 1;\n color: rgb(0 0 0 / var(--tw-text-opacity));\n}\n\n.opacity-50 {\n opacity: 0.5;\n}\n\n.opacity-100 {\n opacity: 1;\n}\n\n.opacity-0 {\n opacity: 0;\n}\n\n.opacity-30 {\n opacity: 0.3;\n}\n\n.opacity-75 {\n opacity: 0.75;\n}\n\n.shadow-2xl {\n --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);\n --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.shadow-lg {\n --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n.filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.transition-colors {\n transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.transition {\n transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.transition-opacity {\n transition-property: opacity;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.duration-100 {\n transition-duration: 100ms;\n}\n\n.duration-200 {\n transition-duration: 200ms;\n}\n\n.duration-75 {\n transition-duration: 75ms;\n}\n\n.ease-out {\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1);\n}\n\n.ease-in {\n transition-timing-function: cubic-bezier(0.4, 0, 1, 1);\n}\n\n.last\\:border-transparent:last-child {\n border-color: transparent;\n}\n\n.hover\\:bg-gray-100:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(243 244 246 / var(--tw-bg-opacity));\n}\n\n@media (prefers-color-scheme: dark) {\n .dark\\:text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity));\n }\n}\n\n@media (min-width: 768px) {\n .md\\:bottom-14 {\n bottom: 3.5rem;\n }\n\n .md\\:right-3 {\n right: 0.75rem;\n }\n\n .md\\:right-16 {\n right: 4rem;\n }\n\n .md\\:flex {\n display: flex;\n }\n\n .md\\:grid {\n display: grid;\n }\n\n .md\\:w-\\[40em\\] {\n width: 40em;\n }\n\n .md\\:w-2\\/5 {\n width: 40%;\n }\n\n .md\\:px-24 {\n padding-left: 6rem;\n padding-right: 6rem;\n }\n}";
|
|
10920
11012
|
|
|
10921
11013
|
// https://maximomussini.com/posts/vue-custom-elements
|
|
10922
11014
|
|