update assets
This commit is contained in:
@@ -1605,6 +1605,45 @@
|
||||
}
|
||||
var module_default = src_default;
|
||||
|
||||
// packages/persist/dist/module.esm.js
|
||||
function src_default2(Alpine2) {
|
||||
let persist = () => {
|
||||
let alias;
|
||||
let storage = localStorage;
|
||||
return Alpine2.interceptor((initialValue, getter, setter, path, key) => {
|
||||
let lookup = alias || `_x_${path}`;
|
||||
let initial = storageHas(lookup, storage) ? storageGet(lookup, storage) : initialValue;
|
||||
setter(initial);
|
||||
Alpine2.effect(() => {
|
||||
let value = getter();
|
||||
storageSet(lookup, value, storage);
|
||||
setter(value);
|
||||
});
|
||||
return initial;
|
||||
}, (func) => {
|
||||
func.as = (key) => {
|
||||
alias = key;
|
||||
return func;
|
||||
}, func.using = (target) => {
|
||||
storage = target;
|
||||
return func;
|
||||
};
|
||||
});
|
||||
};
|
||||
Object.defineProperty(Alpine2, "$persist", {get: () => persist()});
|
||||
Alpine2.magic("persist", persist);
|
||||
}
|
||||
function storageHas(key, storage) {
|
||||
return storage.getItem(key) !== null;
|
||||
}
|
||||
function storageGet(key, storage) {
|
||||
return JSON.parse(storage.getItem(key, storage));
|
||||
}
|
||||
function storageSet(key, value, storage) {
|
||||
storage.setItem(key, JSON.stringify(value));
|
||||
}
|
||||
var module_default2 = src_default2;
|
||||
|
||||
// node_modules/@vue/shared/dist/shared.esm-bundler.js
|
||||
function makeMap(str, expectsLowerCase) {
|
||||
const map = Object.create(null);
|
||||
@@ -3068,8 +3107,9 @@
|
||||
};
|
||||
return tryCatch.bind(null, el, expression, evaluator);
|
||||
}
|
||||
var src_default2 = alpine_default;
|
||||
var src_default3 = alpine_default;
|
||||
alpine_default.plugin(module_default);
|
||||
alpine_default.plugin(module_default2);
|
||||
alpine_default.data("counter", () => ({
|
||||
count: 0,
|
||||
increment() {
|
||||
@@ -3097,76 +3137,86 @@
|
||||
}
|
||||
}
|
||||
}));
|
||||
alpine_default.data("modal", () => ({
|
||||
showModal: false,
|
||||
selectedYear: "",
|
||||
getShowModal() {
|
||||
if (screen.width >= 640) {
|
||||
this.$refs.overflow.classList.add("overflow-y-hidden");
|
||||
this.$refs.overflow.classList.add("sm:overflow-y-auto");
|
||||
return true;
|
||||
document.addEventListener("alpine:init", () => {
|
||||
alpine_default.data("modal", () => ({
|
||||
showModal: false,
|
||||
selectedYear: "",
|
||||
getShowModal() {
|
||||
if (screen.width >= 640) {
|
||||
this.$refs.overflow.classList.add("overflow-y-hidden");
|
||||
this.$refs.overflow.classList.add("sm:overflow-y-auto");
|
||||
return true;
|
||||
}
|
||||
return this.showModal;
|
||||
},
|
||||
getNotShowModal() {
|
||||
return !this.showModal;
|
||||
},
|
||||
toggle() {
|
||||
this.showModal = !this.showModal;
|
||||
this.setClass();
|
||||
},
|
||||
openModal() {
|
||||
this.showModal = true;
|
||||
this.setClass();
|
||||
},
|
||||
closeModal() {
|
||||
this.showModal = false;
|
||||
this.setClass();
|
||||
},
|
||||
setClass() {
|
||||
if (this.getShowModal() == false) {
|
||||
this.$refs.overflow.classList.remove("overflow-y-hidden");
|
||||
this.$refs.overflow.classList.remove("sm:overflow-y-auto");
|
||||
} else {
|
||||
this.$refs.overflow.classList.add("overflow-y-hidden");
|
||||
this.$refs.overflow.classList.add("sm:overflow-y-auto");
|
||||
}
|
||||
},
|
||||
setSelectedYear(year) {
|
||||
this.selectedYear = year;
|
||||
},
|
||||
getSelectedYear() {
|
||||
if (this.selectedYear != "") {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
},
|
||||
getYear() {
|
||||
return this.selectedYear;
|
||||
}
|
||||
return this.showModal;
|
||||
},
|
||||
toggle() {
|
||||
this.showModal = !this.showModal;
|
||||
this.setClass();
|
||||
},
|
||||
openModal() {
|
||||
this.showModal = true;
|
||||
this.setClass();
|
||||
},
|
||||
closeModal() {
|
||||
this.showModal = false;
|
||||
this.setClass();
|
||||
},
|
||||
setClass() {
|
||||
if (this.getShowModal() == false) {
|
||||
this.$refs.overflow.classList.remove("overflow-y-hidden");
|
||||
this.$refs.overflow.classList.remove("sm:overflow-y-auto");
|
||||
} else {
|
||||
this.$refs.overflow.classList.add("overflow-y-hidden");
|
||||
this.$refs.overflow.classList.add("sm:overflow-y-auto");
|
||||
}
|
||||
},
|
||||
setSelectedYear(year) {
|
||||
this.selectedYear = year;
|
||||
},
|
||||
getSelectedYear() {
|
||||
if (this.selectedYear != "") {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}));
|
||||
}));
|
||||
});
|
||||
alpine_default.data("infoBox", () => ({
|
||||
consent: true,
|
||||
closeBox() {
|
||||
this.consent = false;
|
||||
}
|
||||
}));
|
||||
alpine_default.data("myNavBar", () => ({
|
||||
showNavBar: false,
|
||||
toggleShowNavBar() {
|
||||
this.showNavBar = !this.showNavBar;
|
||||
},
|
||||
closeShowNavBar() {
|
||||
this.showNavBar = false;
|
||||
},
|
||||
getShowNavBarMd() {
|
||||
if (screen.width >= 766) {
|
||||
return this.showNavBar = true;
|
||||
document.addEventListener("alpine:init", () => {
|
||||
alpine_default.data("myNavBar", () => ({
|
||||
showNavBar: false,
|
||||
toggleShowNavBar() {
|
||||
this.showNavBar = !this.showNavBar;
|
||||
},
|
||||
closeShowNavBar() {
|
||||
this.showNavBar = false;
|
||||
},
|
||||
getShowNavBarMd() {
|
||||
if (screen.width >= 766) {
|
||||
this.showNavBar = true;
|
||||
}
|
||||
return this.showNavBar;
|
||||
},
|
||||
getShowNavBarLg() {
|
||||
if (screen.width >= 1024) {
|
||||
this.showNavBar = true;
|
||||
}
|
||||
return this.showNavBar;
|
||||
}
|
||||
return this.showNavBar;
|
||||
},
|
||||
getShowNavBarLg() {
|
||||
if (screen.width >= 1024) {
|
||||
return this.showNavBar = true;
|
||||
}
|
||||
return this.showNavBar;
|
||||
}
|
||||
}));
|
||||
alpine_default.data("PopupNav", () => ({
|
||||
}));
|
||||
});
|
||||
alpine_default.data("popupNav", () => ({
|
||||
showPopupNav: false,
|
||||
toggleShowPopupNav() {
|
||||
this.showPopupNav = !this.showPopupNav;
|
||||
@@ -3174,16 +3224,17 @@
|
||||
closeShowPopupNav() {
|
||||
this.showPopupNav = false;
|
||||
},
|
||||
getShowPopupNavLg() {
|
||||
getNotShowPopupNavLg() {
|
||||
if (screen.width < 1024) {
|
||||
this.showPopupNav = true;
|
||||
}
|
||||
return this.showPopupNav;
|
||||
},
|
||||
getScreenLg() {
|
||||
getNotScreenLg() {
|
||||
if (screen.width >= 1024) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}));
|
||||
alpine_default.data("search", () => ({
|
||||
@@ -3198,11 +3249,120 @@
|
||||
return this.showSearch;
|
||||
}
|
||||
}));
|
||||
alpine_default.data("prevArticleButton", () => ({
|
||||
showPrevArticleButton: false,
|
||||
openShowPrevArticleButton() {
|
||||
this.showPrevArticleButton = true;
|
||||
},
|
||||
closeShowPrevArticleButton() {
|
||||
this.showPrevArticleButton = false;
|
||||
},
|
||||
getShowPrevArticleButton() {
|
||||
return this.showPrevArticleButton;
|
||||
}
|
||||
}));
|
||||
alpine_default.data("nextArticleButton", () => ({
|
||||
showNextArticleButton: false,
|
||||
openShowNextArticleButton() {
|
||||
this.showNextArticleButton = true;
|
||||
},
|
||||
closeShowNextArticleButton() {
|
||||
this.showNextArticleButton = false;
|
||||
},
|
||||
getShowNextArticleButton() {
|
||||
return this.showNextArticleButton;
|
||||
}
|
||||
}));
|
||||
alpine_default.data("options", () => ({
|
||||
showOptions: false,
|
||||
openShowOptions() {
|
||||
this.showOptions = true;
|
||||
},
|
||||
closeShowOptions() {
|
||||
this.showOptions = false;
|
||||
},
|
||||
getShowOptions() {
|
||||
if (screen.width >= 766) {
|
||||
this.showOptions = true;
|
||||
}
|
||||
return this.showOptions;
|
||||
}
|
||||
}));
|
||||
alpine_default.data("memberExpandList", () => ({
|
||||
expandList: false,
|
||||
toggleExpandList() {
|
||||
this.expandList = !this.expandList;
|
||||
this.setClass();
|
||||
},
|
||||
openExpandList() {
|
||||
this.expandList = true;
|
||||
this.setClass();
|
||||
},
|
||||
closeExpandList() {
|
||||
this.expandList = false;
|
||||
this.setClass();
|
||||
},
|
||||
getExpandList() {
|
||||
return this.expandList;
|
||||
},
|
||||
getNotExpandList() {
|
||||
return !this.expandList;
|
||||
},
|
||||
setClass() {
|
||||
if (this.getExpandList() == false) {
|
||||
this.$refs.rotate.classList.remove("-rotate-90");
|
||||
} else {
|
||||
this.$refs.rotate.classList.add("-rotate-90");
|
||||
}
|
||||
}
|
||||
}));
|
||||
document.addEventListener("alpine:init", () => {
|
||||
alpine_default.data("internExpandList", () => ({
|
||||
expandList: false,
|
||||
toggleExpandList() {
|
||||
this.expandList = !this.expandList;
|
||||
this.setClass();
|
||||
},
|
||||
openExpandList() {
|
||||
this.expandList = true;
|
||||
this.setClass();
|
||||
},
|
||||
closeExpandList() {
|
||||
this.expandList = false;
|
||||
this.setClass();
|
||||
},
|
||||
getExpandList() {
|
||||
return this.expandList;
|
||||
},
|
||||
getNotExpandList() {
|
||||
return !this.expandList;
|
||||
},
|
||||
setClass() {
|
||||
if (this.getExpandList() == false) {
|
||||
this.$refs.rotate.classList.remove("rotate-90");
|
||||
} else {
|
||||
this.$refs.rotate.classList.add("rotate-90");
|
||||
}
|
||||
}
|
||||
}));
|
||||
});
|
||||
alpine_default.data("pin", () => ({
|
||||
showPin: true,
|
||||
openShowPin() {
|
||||
this.showPin = true;
|
||||
},
|
||||
closeShowPin() {
|
||||
this.showPin = false;
|
||||
},
|
||||
getShowPin() {
|
||||
return this.showPin;
|
||||
}
|
||||
}));
|
||||
|
||||
// packages/csp/builds/cdn.js
|
||||
window.Alpine = src_default2;
|
||||
window.Alpine = src_default3;
|
||||
queueMicrotask(() => {
|
||||
src_default2.start();
|
||||
src_default3.start();
|
||||
});
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user