🔧
This commit is contained in:
1076
node_modules/.vite/deps/@inertiajs_inertia-vue3.js
generated
vendored
1076
node_modules/.vite/deps/@inertiajs_inertia-vue3.js
generated
vendored
File diff suppressed because it is too large
Load Diff
4
node_modules/.vite/deps/@inertiajs_inertia-vue3.js.map
generated
vendored
4
node_modules/.vite/deps/@inertiajs_inertia-vue3.js.map
generated
vendored
File diff suppressed because one or more lines are too long
536
node_modules/.vite/deps/@inertiajs_vue3.js
generated
vendored
536
node_modules/.vite/deps/@inertiajs_vue3.js
generated
vendored
@@ -1,13 +1,13 @@
|
||||
import {
|
||||
axios_default
|
||||
} from "./chunk-MJN6PGBK.js";
|
||||
} from "./chunk-45ZXIL56.js";
|
||||
import {
|
||||
require_cjs,
|
||||
require_lib,
|
||||
require_lodash,
|
||||
require_lodash2
|
||||
} from "./chunk-Y3GWUAMM.js";
|
||||
import "./chunk-SA4QXAJ3.js";
|
||||
} from "./chunk-RSXHRAOD.js";
|
||||
import "./chunk-62MYU7PF.js";
|
||||
import {
|
||||
computed,
|
||||
createSSRApp,
|
||||
@@ -19,11 +19,11 @@ import {
|
||||
ref,
|
||||
shallowRef,
|
||||
watch
|
||||
} from "./chunk-XSQZ24V4.js";
|
||||
} from "./chunk-F4MNEPC5.js";
|
||||
import {
|
||||
__commonJS,
|
||||
__toESM
|
||||
} from "./chunk-CEQRFMJQ.js";
|
||||
} from "./chunk-V4OQ3NZ2.js";
|
||||
|
||||
// node_modules/nprogress/nprogress.js
|
||||
var require_nprogress = __commonJS({
|
||||
@@ -57,8 +57,7 @@ var require_nprogress = __commonJS({
|
||||
var key, value;
|
||||
for (key in options) {
|
||||
value = options[key];
|
||||
if (value !== void 0 && options.hasOwnProperty(key))
|
||||
Settings[key] = value;
|
||||
if (value !== void 0 && options.hasOwnProperty(key)) Settings[key] = value;
|
||||
}
|
||||
return this;
|
||||
};
|
||||
@@ -70,8 +69,7 @@ var require_nprogress = __commonJS({
|
||||
var progress = NProgress.render(!started), bar = progress.querySelector(Settings.barSelector), speed = Settings.speed, ease = Settings.easing;
|
||||
progress.offsetWidth;
|
||||
queue(function(next) {
|
||||
if (Settings.positionUsing === "")
|
||||
Settings.positionUsing = NProgress.getPositioningCSS();
|
||||
if (Settings.positionUsing === "") Settings.positionUsing = NProgress.getPositioningCSS();
|
||||
css(bar, barPositionCSS(n, speed, ease));
|
||||
if (n === 1) {
|
||||
css(progress, {
|
||||
@@ -99,23 +97,19 @@ var require_nprogress = __commonJS({
|
||||
return typeof NProgress.status === "number";
|
||||
};
|
||||
NProgress.start = function() {
|
||||
if (!NProgress.status)
|
||||
NProgress.set(0);
|
||||
if (!NProgress.status) NProgress.set(0);
|
||||
var work = function() {
|
||||
setTimeout(function() {
|
||||
if (!NProgress.status)
|
||||
return;
|
||||
if (!NProgress.status) return;
|
||||
NProgress.trickle();
|
||||
work();
|
||||
}, Settings.trickleSpeed);
|
||||
};
|
||||
if (Settings.trickle)
|
||||
work();
|
||||
if (Settings.trickle) work();
|
||||
return this;
|
||||
};
|
||||
NProgress.done = function(force) {
|
||||
if (!force && !NProgress.status)
|
||||
return this;
|
||||
if (!force && !NProgress.status) return this;
|
||||
return NProgress.inc(0.3 + 0.5 * Math.random()).set(1);
|
||||
};
|
||||
NProgress.inc = function(amount) {
|
||||
@@ -157,8 +151,7 @@ var require_nprogress = __commonJS({
|
||||
};
|
||||
})();
|
||||
NProgress.render = function(fromStart) {
|
||||
if (NProgress.isRendered())
|
||||
return document.getElementById("nprogress");
|
||||
if (NProgress.isRendered()) return document.getElementById("nprogress");
|
||||
addClass(document.documentElement, "nprogress-busy");
|
||||
var progress = document.createElement("div");
|
||||
progress.id = "nprogress";
|
||||
@@ -199,10 +192,8 @@ var require_nprogress = __commonJS({
|
||||
}
|
||||
};
|
||||
function clamp(n, min, max) {
|
||||
if (n < min)
|
||||
return min;
|
||||
if (n > max)
|
||||
return max;
|
||||
if (n < min) return min;
|
||||
if (n > max) return max;
|
||||
return n;
|
||||
}
|
||||
function toBarPerc(n) {
|
||||
@@ -230,8 +221,7 @@ var require_nprogress = __commonJS({
|
||||
}
|
||||
return function(fn) {
|
||||
pending.push(fn);
|
||||
if (pending.length == 1)
|
||||
next();
|
||||
if (pending.length == 1) next();
|
||||
};
|
||||
}();
|
||||
var css = /* @__PURE__ */ function() {
|
||||
@@ -243,13 +233,11 @@ var require_nprogress = __commonJS({
|
||||
}
|
||||
function getVendorProp(name) {
|
||||
var style = document.body.style;
|
||||
if (name in style)
|
||||
return name;
|
||||
if (name in style) return name;
|
||||
var i = cssPrefixes.length, capName = name.charAt(0).toUpperCase() + name.slice(1), vendorName;
|
||||
while (i--) {
|
||||
vendorName = cssPrefixes[i] + capName;
|
||||
if (vendorName in style)
|
||||
return vendorName;
|
||||
if (vendorName in style) return vendorName;
|
||||
}
|
||||
return name;
|
||||
}
|
||||
@@ -266,8 +254,7 @@ var require_nprogress = __commonJS({
|
||||
if (args.length == 2) {
|
||||
for (prop in properties) {
|
||||
value = properties[prop];
|
||||
if (value !== void 0 && properties.hasOwnProperty(prop))
|
||||
applyCss(element, prop, value);
|
||||
if (value !== void 0 && properties.hasOwnProperty(prop)) applyCss(element, prop, value);
|
||||
}
|
||||
} else {
|
||||
applyCss(element, args[1], args[2]);
|
||||
@@ -280,14 +267,12 @@ var require_nprogress = __commonJS({
|
||||
}
|
||||
function addClass(element, name) {
|
||||
var oldList = classList(element), newList = oldList + name;
|
||||
if (hasClass(oldList, name))
|
||||
return;
|
||||
if (hasClass(oldList, name)) return;
|
||||
element.className = newList.substring(1);
|
||||
}
|
||||
function removeClass(element, name) {
|
||||
var oldList = classList(element), newList;
|
||||
if (!hasClass(element, name))
|
||||
return;
|
||||
if (!hasClass(element, name)) return;
|
||||
newList = oldList.replace(" " + name + " ", " ");
|
||||
element.className = newList.substring(1, newList.length - 1);
|
||||
}
|
||||
@@ -306,98 +291,95 @@ var require_nprogress = __commonJS({
|
||||
var import_deepmerge = __toESM(require_cjs());
|
||||
var O = __toESM(require_lib());
|
||||
var import_nprogress = __toESM(require_nprogress());
|
||||
function R(t, e) {
|
||||
function T(t, e) {
|
||||
let i;
|
||||
return function(...n) {
|
||||
clearTimeout(i), i = setTimeout(() => t.apply(this, n), e);
|
||||
return function(...r) {
|
||||
clearTimeout(i), i = setTimeout(() => t.apply(this, r), e);
|
||||
};
|
||||
}
|
||||
function f(t, e) {
|
||||
return document.dispatchEvent(new CustomEvent(`inertia:${t}`, e));
|
||||
}
|
||||
var M = (t) => f("before", { cancelable: true, detail: { visit: t } });
|
||||
var j = (t) => f("error", { detail: { errors: t } });
|
||||
var H = (t) => f("exception", { cancelable: true, detail: { exception: t } });
|
||||
var H = (t) => f("before", { cancelable: true, detail: { visit: t } });
|
||||
var q = (t) => f("error", { detail: { errors: t } });
|
||||
var $ = (t) => f("exception", { cancelable: true, detail: { exception: t } });
|
||||
var N = (t) => f("finish", { detail: { visit: t } });
|
||||
var $ = (t) => f("invalid", { cancelable: true, detail: { response: t } });
|
||||
var S = (t) => f("navigate", { detail: { page: t } });
|
||||
var q = (t) => f("progress", { detail: { progress: t } });
|
||||
var W = (t) => f("start", { detail: { visit: t } });
|
||||
var K = (t) => f("success", { detail: { page: t } });
|
||||
var W = (t) => f("invalid", { cancelable: true, detail: { response: t } });
|
||||
var P = (t) => f("navigate", { detail: { page: t } });
|
||||
var K = (t) => f("progress", { detail: { progress: t } });
|
||||
var X = (t) => f("start", { detail: { visit: t } });
|
||||
var B = (t) => f("success", { detail: { page: t } });
|
||||
function I(t) {
|
||||
return t instanceof File || t instanceof Blob || t instanceof FileList && t.length > 0 || t instanceof FormData && Array.from(t.values()).some((e) => I(e)) || typeof t == "object" && t !== null && Object.values(t).some((e) => I(e));
|
||||
}
|
||||
function A(t, e = new FormData(), i = null) {
|
||||
function k(t, e = new FormData(), i = null) {
|
||||
t = t || {};
|
||||
for (let n in t)
|
||||
Object.prototype.hasOwnProperty.call(t, n) && J(e, X(i, n), t[n]);
|
||||
for (let r in t) Object.prototype.hasOwnProperty.call(t, r) && z(e, J(i, r), t[r]);
|
||||
return e;
|
||||
}
|
||||
function X(t, e) {
|
||||
function J(t, e) {
|
||||
return t ? t + "[" + e + "]" : e;
|
||||
}
|
||||
function J(t, e, i) {
|
||||
if (Array.isArray(i))
|
||||
return Array.from(i.keys()).forEach((n) => J(t, X(e, n.toString()), i[n]));
|
||||
if (i instanceof Date)
|
||||
return t.append(e, i.toISOString());
|
||||
if (i instanceof File)
|
||||
return t.append(e, i, i.name);
|
||||
if (i instanceof Blob)
|
||||
return t.append(e, i);
|
||||
if (typeof i == "boolean")
|
||||
return t.append(e, i ? "1" : "0");
|
||||
if (typeof i == "string")
|
||||
return t.append(e, i);
|
||||
if (typeof i == "number")
|
||||
return t.append(e, `${i}`);
|
||||
if (i == null)
|
||||
return t.append(e, "");
|
||||
A(i, t, e);
|
||||
function z(t, e, i) {
|
||||
if (Array.isArray(i)) return Array.from(i.keys()).forEach((r) => z(t, J(e, r.toString()), i[r]));
|
||||
if (i instanceof Date) return t.append(e, i.toISOString());
|
||||
if (i instanceof File) return t.append(e, i, i.name);
|
||||
if (i instanceof Blob) return t.append(e, i);
|
||||
if (typeof i == "boolean") return t.append(e, i ? "1" : "0");
|
||||
if (typeof i == "string") return t.append(e, i);
|
||||
if (typeof i == "number") return t.append(e, `${i}`);
|
||||
if (i == null) return t.append(e, "");
|
||||
k(i, t, e);
|
||||
}
|
||||
var z = { modal: null, listener: null, show(t) {
|
||||
var _ = { modal: null, listener: null, show(t) {
|
||||
typeof t == "object" && (t = `All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.<hr>${JSON.stringify(t)}`);
|
||||
let e = document.createElement("html");
|
||||
e.innerHTML = t, e.querySelectorAll("a").forEach((n) => n.setAttribute("target", "_top")), this.modal = document.createElement("div"), this.modal.style.position = "fixed", this.modal.style.width = "100vw", this.modal.style.height = "100vh", this.modal.style.padding = "50px", this.modal.style.boxSizing = "border-box", this.modal.style.backgroundColor = "rgba(0, 0, 0, .6)", this.modal.style.zIndex = 2e5, this.modal.addEventListener("click", () => this.hide());
|
||||
e.innerHTML = t, e.querySelectorAll("a").forEach((r) => r.setAttribute("target", "_top")), this.modal = document.createElement("div"), this.modal.style.position = "fixed", this.modal.style.width = "100vw", this.modal.style.height = "100vh", this.modal.style.padding = "50px", this.modal.style.boxSizing = "border-box", this.modal.style.backgroundColor = "rgba(0, 0, 0, .6)", this.modal.style.zIndex = 2e5, this.modal.addEventListener("click", () => this.hide());
|
||||
let i = document.createElement("iframe");
|
||||
if (i.style.backgroundColor = "white", i.style.borderRadius = "5px", i.style.width = "100%", i.style.height = "100%", this.modal.appendChild(i), document.body.prepend(this.modal), document.body.style.overflow = "hidden", !i.contentWindow)
|
||||
throw new Error("iframe not yet ready.");
|
||||
if (i.style.backgroundColor = "white", i.style.borderRadius = "5px", i.style.width = "100%", i.style.height = "100%", this.modal.appendChild(i), document.body.prepend(this.modal), document.body.style.overflow = "hidden", !i.contentWindow) throw new Error("iframe not yet ready.");
|
||||
i.contentWindow.document.open(), i.contentWindow.document.write(e.outerHTML), i.contentWindow.document.close(), this.listener = this.hideOnEscape.bind(this), document.addEventListener("keydown", this.listener);
|
||||
}, hide() {
|
||||
this.modal.outerHTML = "", this.modal = null, document.body.style.overflow = "visible", document.removeEventListener("keydown", this.listener);
|
||||
}, hideOnEscape(t) {
|
||||
t.keyCode === 27 && this.hide();
|
||||
} };
|
||||
function v(t) {
|
||||
function b(t) {
|
||||
return new URL(t.toString(), window.location.toString());
|
||||
}
|
||||
function k(t, e, i, n = "brackets") {
|
||||
let o = /^https?:\/\//.test(e.toString()), c2 = o || e.toString().startsWith("/"), h2 = !c2 && !e.toString().startsWith("#") && !e.toString().startsWith("?"), m = e.toString().includes("?") || t === "get" && Object.keys(i).length, b = e.toString().includes("#"), a = new URL(e.toString(), "http://localhost");
|
||||
return t === "get" && Object.keys(i).length && (a.search = O.stringify((0, import_deepmerge.default)(O.parse(a.search, { ignoreQueryPrefix: true }), i), { encodeValuesOnly: true, arrayFormat: n }), i = {}), [[o ? `${a.protocol}//${a.host}` : "", c2 ? a.pathname : "", h2 ? a.pathname.substring(1) : "", m ? a.search : "", b ? a.hash : ""].join(""), i];
|
||||
function D(t, e, i, r = "brackets") {
|
||||
let s = /^https?:\/\//.test(e.toString()), l = s || e.toString().startsWith("/"), h2 = !l && !e.toString().startsWith("#") && !e.toString().startsWith("?"), g2 = e.toString().includes("?") || t === "get" && Object.keys(i).length, m = e.toString().includes("#"), c2 = new URL(e.toString(), "http://localhost");
|
||||
return t === "get" && Object.keys(i).length && (c2.search = O.stringify((0, import_deepmerge.default)(O.parse(c2.search, { ignoreQueryPrefix: true }), i), { encodeValuesOnly: true, arrayFormat: r }), i = {}), [[s ? `${c2.protocol}//${c2.host}` : "", l ? c2.pathname : "", h2 ? c2.pathname.substring(1) : "", g2 ? c2.search : "", m ? c2.hash : ""].join(""), i];
|
||||
}
|
||||
function w(t) {
|
||||
function E(t) {
|
||||
return t = new URL(t.href), t.hash = "", t;
|
||||
}
|
||||
var _ = typeof window > "u";
|
||||
var C = class {
|
||||
var C = typeof window > "u";
|
||||
var Y = !C && /CriOS/.test(window.navigator.userAgent);
|
||||
var Z = (t) => {
|
||||
requestAnimationFrame(() => {
|
||||
requestAnimationFrame(t);
|
||||
});
|
||||
};
|
||||
var F = class {
|
||||
constructor() {
|
||||
this.visitId = null;
|
||||
}
|
||||
init({ initialPage: e, resolveComponent: i, swapComponent: n }) {
|
||||
this.page = e, this.resolveComponent = i, this.swapComponent = n, this.setNavigationType(), this.clearRememberedStateOnReload(), this.isBackForwardVisit() ? this.handleBackForwardVisit(this.page) : this.isLocationVisit() ? this.handleLocationVisit(this.page) : this.handleInitialPageVisit(this.page), this.setupEventListeners();
|
||||
init({ initialPage: e, resolveComponent: i, swapComponent: r }) {
|
||||
this.page = e, this.resolveComponent = i, this.swapComponent = r, this.setNavigationType(), this.clearRememberedStateOnReload(), this.isBackForwardVisit() ? this.handleBackForwardVisit(this.page) : this.isLocationVisit() ? this.handleLocationVisit(this.page) : this.handleInitialPageVisit(this.page), this.setupEventListeners();
|
||||
}
|
||||
setNavigationType() {
|
||||
this.navigationType = window.performance && window.performance.getEntriesByType("navigation").length > 0 ? window.performance.getEntriesByType("navigation")[0].type : "navigate";
|
||||
this.navigationType = window.performance && window.performance.getEntriesByType && window.performance.getEntriesByType("navigation").length > 0 ? window.performance.getEntriesByType("navigation")[0].type : "navigate";
|
||||
}
|
||||
clearRememberedStateOnReload() {
|
||||
var _a;
|
||||
this.navigationType === "reload" && ((_a = window.history.state) == null ? void 0 : _a.rememberedState) && delete window.history.state.rememberedState;
|
||||
}
|
||||
handleInitialPageVisit(e) {
|
||||
this.page.url += window.location.hash, this.setPage(e, { preserveState: true }).then(() => S(e));
|
||||
let i = window.location.hash;
|
||||
this.page.url.includes(i) || (this.page.url += i), this.setPage(e, { preserveScroll: true, preserveState: true }).then(() => P(e));
|
||||
}
|
||||
setupEventListeners() {
|
||||
window.addEventListener("popstate", this.handlePopstateEvent.bind(this)), document.addEventListener("scroll", R(this.handleScrollEvent.bind(this), 100), true);
|
||||
window.addEventListener("popstate", this.handlePopstateEvent.bind(this)), document.addEventListener("scroll", T(this.handleScrollEvent.bind(this), 100), true);
|
||||
}
|
||||
scrollRegions() {
|
||||
return document.querySelectorAll("[scroll-region]");
|
||||
@@ -409,20 +391,20 @@ var C = class {
|
||||
this.replaceState({ ...this.page, scrollRegions: Array.from(this.scrollRegions()).map((e) => ({ top: e.scrollTop, left: e.scrollLeft })) });
|
||||
}
|
||||
resetScrollPositions() {
|
||||
window.scrollTo(0, 0), this.scrollRegions().forEach((e) => {
|
||||
typeof e.scrollTo == "function" ? e.scrollTo(0, 0) : (e.scrollTop = 0, e.scrollLeft = 0);
|
||||
}), this.saveScrollPositions(), window.location.hash && setTimeout(() => {
|
||||
Z(() => {
|
||||
var _a;
|
||||
return (_a = document.getElementById(window.location.hash.slice(1))) == null ? void 0 : _a.scrollIntoView();
|
||||
window.scrollTo(0, 0), this.scrollRegions().forEach((e) => {
|
||||
typeof e.scrollTo == "function" ? e.scrollTo(0, 0) : (e.scrollTop = 0, e.scrollLeft = 0);
|
||||
}), this.saveScrollPositions(), window.location.hash && ((_a = document.getElementById(window.location.hash.slice(1))) == null ? void 0 : _a.scrollIntoView());
|
||||
});
|
||||
}
|
||||
restoreScrollPositions() {
|
||||
this.page.scrollRegions && this.scrollRegions().forEach((e, i) => {
|
||||
let n = this.page.scrollRegions[i];
|
||||
if (n)
|
||||
typeof e.scrollTo == "function" ? e.scrollTo(n.left, n.top) : (e.scrollTop = n.top, e.scrollLeft = n.left);
|
||||
else
|
||||
return;
|
||||
Z(() => {
|
||||
this.page.scrollRegions && this.scrollRegions().forEach((e, i) => {
|
||||
let r = this.page.scrollRegions[i];
|
||||
if (r) typeof e.scrollTo == "function" ? e.scrollTo(r.left, r.top) : (e.scrollTop = r.top, e.scrollLeft = r.left);
|
||||
else return;
|
||||
});
|
||||
});
|
||||
}
|
||||
isBackForwardVisit() {
|
||||
@@ -430,13 +412,13 @@ var C = class {
|
||||
}
|
||||
handleBackForwardVisit(e) {
|
||||
window.history.state.version = e.version, this.setPage(window.history.state, { preserveScroll: true, preserveState: true }).then(() => {
|
||||
this.restoreScrollPositions(), S(e);
|
||||
this.restoreScrollPositions(), P(e);
|
||||
});
|
||||
}
|
||||
locationVisit(e, i) {
|
||||
try {
|
||||
let n = { preserveScroll: i };
|
||||
window.sessionStorage.setItem("inertiaLocationVisit", JSON.stringify(n)), window.location.href = e.href, w(window.location).href === w(e).href && window.location.reload();
|
||||
let r = { preserveScroll: i };
|
||||
window.sessionStorage.setItem("inertiaLocationVisit", JSON.stringify(r)), window.location.href = e.href, E(window.location).href === E(e).href && window.location.reload();
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
@@ -452,7 +434,7 @@ var C = class {
|
||||
var _a, _b;
|
||||
let i = JSON.parse(window.sessionStorage.getItem("inertiaLocationVisit") || "");
|
||||
window.sessionStorage.removeItem("inertiaLocationVisit"), e.url += window.location.hash, e.rememberedState = ((_a = window.history.state) == null ? void 0 : _a.rememberedState) ?? {}, e.scrollRegions = ((_b = window.history.state) == null ? void 0 : _b.scrollRegions) ?? [], this.setPage(e, { preserveScroll: i.preserveScroll, preserveState: true }).then(() => {
|
||||
i.preserveScroll && this.restoreScrollPositions(), S(e);
|
||||
i.preserveScroll && this.restoreScrollPositions(), P(e);
|
||||
});
|
||||
}
|
||||
isLocationVisitResponse(e) {
|
||||
@@ -464,8 +446,8 @@ var C = class {
|
||||
createVisitId() {
|
||||
return this.visitId = {}, this.visitId;
|
||||
}
|
||||
cancelVisit(e, { cancelled: i = false, interrupted: n = false }) {
|
||||
e && !e.completed && !e.cancelled && !e.interrupted && (e.cancelToken.abort(), e.onCancel(), e.completed = false, e.cancelled = i, e.interrupted = n, N(e), e.onFinish(e));
|
||||
cancelVisit(e, { cancelled: i = false, interrupted: r = false }) {
|
||||
e && !e.completed && !e.cancelled && !e.interrupted && (e.cancelToken.abort(), e.onCancel(), e.completed = false, e.cancelled = i, e.interrupted = r, N(e), e.onFinish(e));
|
||||
}
|
||||
finishVisit(e) {
|
||||
!e.cancelled && !e.interrupted && (e.completed = true, e.cancelled = false, e.interrupted = false, N(e), e.onFinish(e));
|
||||
@@ -476,92 +458,88 @@ var C = class {
|
||||
cancel() {
|
||||
this.activeVisit && this.cancelVisit(this.activeVisit, { cancelled: true });
|
||||
}
|
||||
visit(e, { method: i = "get", data: n = {}, replace: o = false, preserveScroll: c2 = false, preserveState: h2 = false, only: m = [], headers: b = {}, errorBag: a = "", forceFormData: l = false, onCancelToken: g2 = () => {
|
||||
}, onBefore: L2 = () => {
|
||||
}, onStart: d2 = () => {
|
||||
}, onProgress: p = () => {
|
||||
}, onFinish: T2 = () => {
|
||||
}, onCancel: y = () => {
|
||||
}, onSuccess: D2 = () => {
|
||||
}, onError: U = () => {
|
||||
}, queryStringArrayFormat: F2 = "brackets" } = {}) {
|
||||
let x2 = typeof e == "string" ? v(e) : e;
|
||||
if ((I(n) || l) && !(n instanceof FormData) && (n = A(n)), !(n instanceof FormData)) {
|
||||
let [r, s] = k(i, x2, n, F2);
|
||||
x2 = v(r), n = s;
|
||||
visit(e, { method: i = "get", data: r = {}, replace: s = false, preserveScroll: l = false, preserveState: h2 = false, only: g2 = [], except: m = [], headers: c2 = {}, errorBag: o = "", forceFormData: v = false, onCancelToken: L2 = () => {
|
||||
}, onBefore: d2 = () => {
|
||||
}, onStart: p = () => {
|
||||
}, onProgress: x2 = () => {
|
||||
}, onFinish: y = () => {
|
||||
}, onCancel: ne = () => {
|
||||
}, onSuccess: U = () => {
|
||||
}, onError: G = () => {
|
||||
}, queryStringArrayFormat: A = "brackets" } = {}) {
|
||||
let S = typeof e == "string" ? b(e) : e;
|
||||
if ((I(r) || v) && !(r instanceof FormData) && (r = k(r)), !(r instanceof FormData)) {
|
||||
let [n, a] = D(i, S, r, A);
|
||||
S = b(n), r = a;
|
||||
}
|
||||
let P = { url: x2, method: i, data: n, replace: o, preserveScroll: c2, preserveState: h2, only: m, headers: b, errorBag: a, forceFormData: l, queryStringArrayFormat: F2, cancelled: false, completed: false, interrupted: false };
|
||||
if (L2(P) === false || !M(P))
|
||||
return;
|
||||
let R2 = { url: S, method: i, data: r, replace: s, preserveScroll: l, preserveState: h2, only: g2, except: m, headers: c2, errorBag: o, forceFormData: v, queryStringArrayFormat: A, cancelled: false, completed: false, interrupted: false };
|
||||
if (d2(R2) === false || !H(R2)) return;
|
||||
this.activeVisit && this.cancelVisit(this.activeVisit, { interrupted: true }), this.saveScrollPositions();
|
||||
let G = this.createVisitId();
|
||||
this.activeVisit = { ...P, onCancelToken: g2, onBefore: L2, onStart: d2, onProgress: p, onFinish: T2, onCancel: y, onSuccess: D2, onError: U, queryStringArrayFormat: F2, cancelToken: new AbortController() }, g2({ cancel: () => {
|
||||
let M2 = this.createVisitId();
|
||||
this.activeVisit = { ...R2, onCancelToken: L2, onBefore: d2, onStart: p, onProgress: x2, onFinish: y, onCancel: ne, onSuccess: U, onError: G, queryStringArrayFormat: A, cancelToken: new AbortController() }, L2({ cancel: () => {
|
||||
this.activeVisit && this.cancelVisit(this.activeVisit, { cancelled: true });
|
||||
} }), W(P), d2(P), axios_default({ method: i, url: w(x2).href, data: i === "get" ? {} : n, params: i === "get" ? n : {}, signal: this.activeVisit.cancelToken.signal, headers: { ...b, Accept: "text/html, application/xhtml+xml", "X-Requested-With": "XMLHttpRequest", "X-Inertia": true, ...m.length ? { "X-Inertia-Partial-Component": this.page.component, "X-Inertia-Partial-Data": m.join(",") } : {}, ...a && a.length ? { "X-Inertia-Error-Bag": a } : {}, ...this.page.version ? { "X-Inertia-Version": this.page.version } : {} }, onUploadProgress: (r) => {
|
||||
n instanceof FormData && (r.percentage = r.progress ? Math.round(r.progress * 100) : 0, q(r), p(r));
|
||||
} }).then((r) => {
|
||||
} }), X(R2), p(R2);
|
||||
let j2 = !!(g2.length || m.length);
|
||||
axios_default({ method: i, url: E(S).href, data: i === "get" ? {} : r, params: i === "get" ? r : {}, signal: this.activeVisit.cancelToken.signal, headers: { ...c2, Accept: "text/html, application/xhtml+xml", "X-Requested-With": "XMLHttpRequest", "X-Inertia": true, ...j2 ? { "X-Inertia-Partial-Component": this.page.component } : {}, ...g2.length ? { "X-Inertia-Partial-Data": g2.join(",") } : {}, ...m.length ? { "X-Inertia-Partial-Except": m.join(",") } : {}, ...o && o.length ? { "X-Inertia-Error-Bag": o } : {}, ...this.page.version ? { "X-Inertia-Version": this.page.version } : {} }, onUploadProgress: (n) => {
|
||||
r instanceof FormData && (n.percentage = n.progress ? Math.round(n.progress * 100) : 0, K(n), x2(n));
|
||||
} }).then((n) => {
|
||||
var _a;
|
||||
if (!this.isInertiaResponse(r))
|
||||
return Promise.reject({ response: r });
|
||||
let s = r.data;
|
||||
m.length && s.component === this.page.component && (s.props = { ...this.page.props, ...s.props }), c2 = this.resolvePreserveOption(c2, s), h2 = this.resolvePreserveOption(h2, s), h2 && ((_a = window.history.state) == null ? void 0 : _a.rememberedState) && s.component === this.page.component && (s.rememberedState = window.history.state.rememberedState);
|
||||
let E2 = x2, V = v(s.url);
|
||||
return E2.hash && !V.hash && w(E2).href === V.href && (V.hash = E2.hash, s.url = V.href), this.setPage(s, { visitId: G, replace: o, preserveScroll: c2, preserveState: h2 });
|
||||
if (!this.isInertiaResponse(n)) return Promise.reject({ response: n });
|
||||
let a = n.data;
|
||||
j2 && a.component === this.page.component && (a.props = { ...this.page.props, ...a.props }), l = this.resolvePreserveOption(l, a), h2 = this.resolvePreserveOption(h2, a), h2 && ((_a = window.history.state) == null ? void 0 : _a.rememberedState) && a.component === this.page.component && (a.rememberedState = window.history.state.rememberedState);
|
||||
let w = S, V = b(a.url);
|
||||
return w.hash && !V.hash && E(w).href === V.href && (V.hash = w.hash, a.url = V.href), this.setPage(a, { visitId: M2, replace: s, preserveScroll: l, preserveState: h2 });
|
||||
}).then(() => {
|
||||
let r = this.page.props.errors || {};
|
||||
if (Object.keys(r).length > 0) {
|
||||
let s = a ? r[a] ? r[a] : {} : r;
|
||||
return j(s), U(s);
|
||||
let n = this.page.props.errors || {};
|
||||
if (Object.keys(n).length > 0) {
|
||||
let a = o ? n[o] ? n[o] : {} : n;
|
||||
return q(a), G(a);
|
||||
}
|
||||
return K(this.page), D2(this.page);
|
||||
}).catch((r) => {
|
||||
if (this.isInertiaResponse(r.response))
|
||||
return this.setPage(r.response.data, { visitId: G });
|
||||
if (this.isLocationVisitResponse(r.response)) {
|
||||
let s = v(r.response.headers["x-inertia-location"]), E2 = x2;
|
||||
E2.hash && !s.hash && w(E2).href === s.href && (s.hash = E2.hash), this.locationVisit(s, c2 === true);
|
||||
} else if (r.response)
|
||||
$(r.response) && z.show(r.response.data);
|
||||
else
|
||||
return Promise.reject(r);
|
||||
return B(this.page), U(this.page);
|
||||
}).catch((n) => {
|
||||
if (this.isInertiaResponse(n.response)) return this.setPage(n.response.data, { visitId: M2 });
|
||||
if (this.isLocationVisitResponse(n.response)) {
|
||||
let a = b(n.response.headers["x-inertia-location"]), w = S;
|
||||
w.hash && !a.hash && E(w).href === a.href && (a.hash = w.hash), this.locationVisit(a, l === true);
|
||||
} else if (n.response) W(n.response) && _.show(n.response.data);
|
||||
else return Promise.reject(n);
|
||||
}).then(() => {
|
||||
this.activeVisit && this.finishVisit(this.activeVisit);
|
||||
}).catch((r) => {
|
||||
if (!axios_default.isCancel(r)) {
|
||||
let s = H(r);
|
||||
if (this.activeVisit && this.finishVisit(this.activeVisit), s)
|
||||
return Promise.reject(r);
|
||||
}).catch((n) => {
|
||||
if (!axios_default.isCancel(n)) {
|
||||
let a = $(n);
|
||||
if (this.activeVisit && this.finishVisit(this.activeVisit), a) return Promise.reject(n);
|
||||
}
|
||||
});
|
||||
}
|
||||
setPage(e, { visitId: i = this.createVisitId(), replace: n = false, preserveScroll: o = false, preserveState: c2 = false } = {}) {
|
||||
setPage(e, { visitId: i = this.createVisitId(), replace: r = false, preserveScroll: s = false, preserveState: l = false } = {}) {
|
||||
return Promise.resolve(this.resolveComponent(e.component)).then((h2) => {
|
||||
i === this.visitId && (e.scrollRegions = e.scrollRegions || [], e.rememberedState = e.rememberedState || {}, n = n || v(e.url).href === window.location.href, n ? this.replaceState(e) : this.pushState(e), this.swapComponent({ component: h2, page: e, preserveState: c2 }).then(() => {
|
||||
o || this.resetScrollPositions(), n || S(e);
|
||||
i === this.visitId && (e.scrollRegions = this.page.scrollRegions || [], e.rememberedState = e.rememberedState || {}, r = r || b(e.url).href === window.location.href, r ? this.replaceState(e) : this.pushState(e), this.swapComponent({ component: h2, page: e, preserveState: l }).then(() => {
|
||||
s ? this.restoreScrollPositions() : this.resetScrollPositions(), r || P(e);
|
||||
}));
|
||||
});
|
||||
}
|
||||
pushState(e) {
|
||||
this.page = e, window.history.pushState(e, "", e.url);
|
||||
this.page = e, Y ? setTimeout(() => window.history.pushState(e, "", e.url)) : window.history.pushState(e, "", e.url);
|
||||
}
|
||||
replaceState(e) {
|
||||
this.page = e, window.history.replaceState(e, "", e.url);
|
||||
this.page = e, Y ? setTimeout(() => window.history.replaceState(e, "", e.url)) : window.history.replaceState(e, "", e.url);
|
||||
}
|
||||
handlePopstateEvent(e) {
|
||||
if (e.state !== null) {
|
||||
let i = e.state, n = this.createVisitId();
|
||||
Promise.resolve(this.resolveComponent(i.component)).then((o) => {
|
||||
n === this.visitId && (this.page = i, this.swapComponent({ component: o, page: i, preserveState: false }).then(() => {
|
||||
this.restoreScrollPositions(), S(i);
|
||||
let i = e.state, r = this.createVisitId();
|
||||
Promise.resolve(this.resolveComponent(i.component)).then((s) => {
|
||||
r === this.visitId && (this.page = i, this.swapComponent({ component: s, page: i, preserveState: false }).then(() => {
|
||||
this.restoreScrollPositions(), P(i);
|
||||
}));
|
||||
});
|
||||
} else {
|
||||
let i = v(this.page.url);
|
||||
let i = b(this.page.url);
|
||||
i.hash = window.location.hash, this.replaceState({ ...this.page, url: i.href }), this.resetScrollPositions();
|
||||
}
|
||||
}
|
||||
get(e, i = {}, n = {}) {
|
||||
return this.visit(e, { ...n, method: "get", data: i });
|
||||
get(e, i = {}, r = {}) {
|
||||
return this.visit(e, { ...r, method: "get", data: i });
|
||||
}
|
||||
reload(e = {}) {
|
||||
return this.visit(window.location.href, { ...e, preserveScroll: true, preserveState: true });
|
||||
@@ -569,114 +547,111 @@ var C = class {
|
||||
replace(e, i = {}) {
|
||||
return console.warn(`Inertia.replace() has been deprecated and will be removed in a future release. Please use Inertia.${i.method ?? "get"}() instead.`), this.visit(e, { preserveState: true, ...i, replace: true });
|
||||
}
|
||||
post(e, i = {}, n = {}) {
|
||||
return this.visit(e, { preserveState: true, ...n, method: "post", data: i });
|
||||
post(e, i = {}, r = {}) {
|
||||
return this.visit(e, { preserveState: true, ...r, method: "post", data: i });
|
||||
}
|
||||
put(e, i = {}, n = {}) {
|
||||
return this.visit(e, { preserveState: true, ...n, method: "put", data: i });
|
||||
put(e, i = {}, r = {}) {
|
||||
return this.visit(e, { preserveState: true, ...r, method: "put", data: i });
|
||||
}
|
||||
patch(e, i = {}, n = {}) {
|
||||
return this.visit(e, { preserveState: true, ...n, method: "patch", data: i });
|
||||
patch(e, i = {}, r = {}) {
|
||||
return this.visit(e, { preserveState: true, ...r, method: "patch", data: i });
|
||||
}
|
||||
delete(e, i = {}) {
|
||||
return this.visit(e, { preserveState: true, ...i, method: "delete" });
|
||||
}
|
||||
remember(e, i = "default") {
|
||||
var _a;
|
||||
_ || this.replaceState({ ...this.page, rememberedState: { ...(_a = this.page) == null ? void 0 : _a.rememberedState, [i]: e } });
|
||||
C || this.replaceState({ ...this.page, rememberedState: { ...(_a = this.page) == null ? void 0 : _a.rememberedState, [i]: e } });
|
||||
}
|
||||
restore(e = "default") {
|
||||
var _a, _b;
|
||||
if (!_)
|
||||
return (_b = (_a = window.history.state) == null ? void 0 : _a.rememberedState) == null ? void 0 : _b[e];
|
||||
if (!C) return (_b = (_a = window.history.state) == null ? void 0 : _a.rememberedState) == null ? void 0 : _b[e];
|
||||
}
|
||||
on(e, i) {
|
||||
let n = (o) => {
|
||||
let c2 = i(o);
|
||||
o.cancelable && !o.defaultPrevented && c2 === false && o.preventDefault();
|
||||
if (C) return () => {
|
||||
};
|
||||
return document.addEventListener(`inertia:${e}`, n), () => document.removeEventListener(`inertia:${e}`, n);
|
||||
let r = (s) => {
|
||||
let l = i(s);
|
||||
s.cancelable && !s.defaultPrevented && l === false && s.preventDefault();
|
||||
};
|
||||
return document.addEventListener(`inertia:${e}`, r), () => document.removeEventListener(`inertia:${e}`, r);
|
||||
}
|
||||
};
|
||||
var ie = { buildDOMElement(t) {
|
||||
var se = { buildDOMElement(t) {
|
||||
let e = document.createElement("template");
|
||||
e.innerHTML = t;
|
||||
let i = e.content.firstChild;
|
||||
if (!t.startsWith("<script "))
|
||||
return i;
|
||||
let n = document.createElement("script");
|
||||
return n.innerHTML = i.innerHTML, i.getAttributeNames().forEach((o) => {
|
||||
n.setAttribute(o, i.getAttribute(o) || "");
|
||||
}), n;
|
||||
if (!t.startsWith("<script ")) return i;
|
||||
let r = document.createElement("script");
|
||||
return r.innerHTML = i.innerHTML, i.getAttributeNames().forEach((s) => {
|
||||
r.setAttribute(s, i.getAttribute(s) || "");
|
||||
}), r;
|
||||
}, isInertiaManagedElement(t) {
|
||||
return t.nodeType === Node.ELEMENT_NODE && t.getAttribute("inertia") !== null;
|
||||
}, findMatchingElementIndex(t, e) {
|
||||
let i = t.getAttribute("inertia");
|
||||
return i !== null ? e.findIndex((n) => n.getAttribute("inertia") === i) : -1;
|
||||
}, update: R(function(t) {
|
||||
let e = t.map((n) => this.buildDOMElement(n));
|
||||
Array.from(document.head.childNodes).filter((n) => this.isInertiaManagedElement(n)).forEach((n) => {
|
||||
return i !== null ? e.findIndex((r) => r.getAttribute("inertia") === i) : -1;
|
||||
}, update: T(function(t) {
|
||||
let e = t.map((r) => this.buildDOMElement(r));
|
||||
Array.from(document.head.childNodes).filter((r) => this.isInertiaManagedElement(r)).forEach((r) => {
|
||||
var _a, _b;
|
||||
let o = this.findMatchingElementIndex(n, e);
|
||||
if (o === -1) {
|
||||
(_a = n == null ? void 0 : n.parentNode) == null ? void 0 : _a.removeChild(n);
|
||||
let s = this.findMatchingElementIndex(r, e);
|
||||
if (s === -1) {
|
||||
(_a = r == null ? void 0 : r.parentNode) == null ? void 0 : _a.removeChild(r);
|
||||
return;
|
||||
}
|
||||
let c2 = e.splice(o, 1)[0];
|
||||
c2 && !n.isEqualNode(c2) && ((_b = n == null ? void 0 : n.parentNode) == null ? void 0 : _b.replaceChild(c2, n));
|
||||
}), e.forEach((n) => document.head.appendChild(n));
|
||||
let l = e.splice(s, 1)[0];
|
||||
l && !r.isEqualNode(l) && ((_b = r == null ? void 0 : r.parentNode) == null ? void 0 : _b.replaceChild(l, r));
|
||||
}), e.forEach((r) => document.head.appendChild(r));
|
||||
}, 1) };
|
||||
function Q(t, e, i) {
|
||||
let n = {}, o = 0;
|
||||
function c2() {
|
||||
let l = o += 1;
|
||||
return n[l] = [], l.toString();
|
||||
function ee(t, e, i) {
|
||||
let r = {}, s = 0;
|
||||
function l() {
|
||||
let o = s += 1;
|
||||
return r[o] = [], o.toString();
|
||||
}
|
||||
function h2(l) {
|
||||
l === null || Object.keys(n).indexOf(l) === -1 || (delete n[l], a());
|
||||
function h2(o) {
|
||||
o === null || Object.keys(r).indexOf(o) === -1 || (delete r[o], c2());
|
||||
}
|
||||
function m(l, g2 = []) {
|
||||
l !== null && Object.keys(n).indexOf(l) > -1 && (n[l] = g2), a();
|
||||
function g2(o, v = []) {
|
||||
o !== null && Object.keys(r).indexOf(o) > -1 && (r[o] = v), c2();
|
||||
}
|
||||
function b() {
|
||||
let l = e(""), g2 = { ...l ? { title: `<title inertia="">${l}</title>` } : {} }, L2 = Object.values(n).reduce((d2, p) => d2.concat(p), []).reduce((d2, p) => {
|
||||
if (p.indexOf("<") === -1)
|
||||
return d2;
|
||||
function m() {
|
||||
let o = e(""), v = { ...o ? { title: `<title inertia="">${o}</title>` } : {} }, L2 = Object.values(r).reduce((d2, p) => d2.concat(p), []).reduce((d2, p) => {
|
||||
if (p.indexOf("<") === -1) return d2;
|
||||
if (p.indexOf("<title ") === 0) {
|
||||
let y = p.match(/(<title [^>]+>)(.*?)(<\/title>)/);
|
||||
return d2.title = y ? `${y[1]}${e(y[2])}${y[3]}` : p, d2;
|
||||
}
|
||||
let T2 = p.match(/ inertia="[^"]+"/);
|
||||
return T2 ? d2[T2[0]] = p : d2[Object.keys(d2).length] = p, d2;
|
||||
}, g2);
|
||||
let x2 = p.match(/ inertia="[^"]+"/);
|
||||
return x2 ? d2[x2[0]] = p : d2[Object.keys(d2).length] = p, d2;
|
||||
}, v);
|
||||
return Object.values(L2);
|
||||
}
|
||||
function a() {
|
||||
t ? i(b()) : ie.update(b());
|
||||
function c2() {
|
||||
t ? i(m()) : se.update(m());
|
||||
}
|
||||
return a(), { forceUpdate: a, createProvider: function() {
|
||||
let l = c2();
|
||||
return { update: (g2) => m(l, g2), disconnect: () => h2(l) };
|
||||
return c2(), { forceUpdate: c2, createProvider: function() {
|
||||
let o = l();
|
||||
return { update: (v) => g2(o, v), disconnect: () => h2(o) };
|
||||
} };
|
||||
}
|
||||
var Y = null;
|
||||
function ne(t) {
|
||||
document.addEventListener("inertia:start", re.bind(null, t)), document.addEventListener("inertia:progress", oe), document.addEventListener("inertia:finish", se);
|
||||
var te = null;
|
||||
function ae(t) {
|
||||
document.addEventListener("inertia:start", le.bind(null, t)), document.addEventListener("inertia:progress", ce), document.addEventListener("inertia:finish", de);
|
||||
}
|
||||
function re(t) {
|
||||
Y = setTimeout(() => import_nprogress.default.start(), t);
|
||||
function le(t) {
|
||||
te = setTimeout(() => import_nprogress.default.start(), t);
|
||||
}
|
||||
function oe(t) {
|
||||
function ce(t) {
|
||||
var _a;
|
||||
import_nprogress.default.isStarted() && ((_a = t.detail.progress) == null ? void 0 : _a.percentage) && import_nprogress.default.set(Math.max(import_nprogress.default.status, t.detail.progress.percentage / 100 * 0.9));
|
||||
}
|
||||
function se(t) {
|
||||
if (clearTimeout(Y), import_nprogress.default.isStarted())
|
||||
t.detail.visit.completed ? import_nprogress.default.done() : t.detail.visit.interrupted ? import_nprogress.default.set(0) : t.detail.visit.cancelled && (import_nprogress.default.done(), import_nprogress.default.remove());
|
||||
else
|
||||
return;
|
||||
function de(t) {
|
||||
if (clearTimeout(te), import_nprogress.default.isStarted()) t.detail.visit.completed ? import_nprogress.default.done() : t.detail.visit.interrupted ? import_nprogress.default.set(0) : t.detail.visit.cancelled && (import_nprogress.default.done(), import_nprogress.default.remove());
|
||||
else return;
|
||||
}
|
||||
function ae(t) {
|
||||
function pe(t) {
|
||||
let e = document.createElement("style");
|
||||
e.type = "text/css", e.textContent = `
|
||||
#nprogress {
|
||||
@@ -751,41 +726,39 @@ function ae(t) {
|
||||
}
|
||||
`, document.head.appendChild(e);
|
||||
}
|
||||
function Z({ delay: t = 250, color: e = "#29d", includeCSS: i = true, showSpinner: n = false } = {}) {
|
||||
ne(t), import_nprogress.default.configure({ showSpinner: n }), i && ae(e);
|
||||
function ie({ delay: t = 250, color: e = "#29d", includeCSS: i = true, showSpinner: r = false } = {}) {
|
||||
ae(t), import_nprogress.default.configure({ showSpinner: r }), i && pe(e);
|
||||
}
|
||||
function ee(t) {
|
||||
function re(t) {
|
||||
let e = t.currentTarget.tagName.toLowerCase() === "a";
|
||||
return !(t.target && (t == null ? void 0 : t.target).isContentEditable || t.defaultPrevented || e && t.which > 1 || e && t.altKey || e && t.ctrlKey || e && t.metaKey || e && t.shiftKey);
|
||||
return !(t.target && (t == null ? void 0 : t.target).isContentEditable || t.defaultPrevented || e && t.altKey || e && t.ctrlKey || e && t.metaKey || e && t.shiftKey || e && "button" in t && t.button !== 0);
|
||||
}
|
||||
var Oe = new C();
|
||||
var Ne = new F();
|
||||
|
||||
// node_modules/@inertiajs/vue3/dist/index.esm.js
|
||||
var import_lodash = __toESM(require_lodash());
|
||||
var import_lodash2 = __toESM(require_lodash());
|
||||
var import_lodash3 = __toESM(require_lodash2());
|
||||
var import_lodash4 = __toESM(require_lodash());
|
||||
var M2 = { created() {
|
||||
if (!this.$options.remember)
|
||||
return;
|
||||
var M = { created() {
|
||||
if (!this.$options.remember) return;
|
||||
Array.isArray(this.$options.remember) && (this.$options.remember = { data: this.$options.remember }), typeof this.$options.remember == "string" && (this.$options.remember = { data: [this.$options.remember] }), typeof this.$options.remember.data == "string" && (this.$options.remember = { data: [this.$options.remember.data] });
|
||||
let e = this.$options.remember.key instanceof Function ? this.$options.remember.key.call(this) : this.$options.remember.key, o = Oe.restore(e), n = this.$options.remember.data.filter((t) => !(this[t] !== null && typeof this[t] == "object" && this[t].__rememberable === false)), p = (t) => this[t] !== null && typeof this[t] == "object" && typeof this[t].__remember == "function" && typeof this[t].__restore == "function";
|
||||
let e = this.$options.remember.key instanceof Function ? this.$options.remember.key.call(this) : this.$options.remember.key, o = Ne.restore(e), n = this.$options.remember.data.filter((t) => !(this[t] !== null && typeof this[t] == "object" && this[t].__rememberable === false)), p = (t) => this[t] !== null && typeof this[t] == "object" && typeof this[t].__remember == "function" && typeof this[t].__restore == "function";
|
||||
n.forEach((t) => {
|
||||
this[t] !== void 0 && o !== void 0 && o[t] !== void 0 && (p(t) ? this[t].__restore(o[t]) : this[t] = o[t]), this.$watch(t, () => {
|
||||
Oe.remember(n.reduce((a, l) => ({ ...a, [l]: (0, import_lodash.default)(p(l) ? this[l].__remember() : this[l]) }), {}), e);
|
||||
Ne.remember(n.reduce((a, l) => ({ ...a, [l]: (0, import_lodash.default)(p(l) ? this[l].__remember() : this[l]) }), {}), e);
|
||||
}, { immediate: true, deep: true });
|
||||
});
|
||||
} };
|
||||
var D = M2;
|
||||
function T(e, o) {
|
||||
let n = typeof e == "string" ? e : null, p = typeof e == "string" ? o : e, t = n ? Oe.restore(n) : null, a = typeof p == "object" ? (0, import_lodash2.default)(p) : (0, import_lodash2.default)(p()), l = null, f2 = null, h2 = (r) => r, y = reactive({ ...t ? t.data : (0, import_lodash2.default)(a), isDirty: false, errors: t ? t.errors : {}, hasErrors: false, processing: false, progress: null, wasSuccessful: false, recentlySuccessful: false, data() {
|
||||
var D2 = M;
|
||||
function T2(e, o) {
|
||||
let n = typeof e == "string" ? e : null, p = typeof e == "string" ? o : e, t = n ? Ne.restore(n) : null, a = typeof p == "object" ? (0, import_lodash2.default)(p) : (0, import_lodash2.default)(p()), l = null, f2 = null, h2 = (r) => r, y = reactive({ ...t ? t.data : (0, import_lodash2.default)(a), isDirty: false, errors: t ? t.errors : {}, hasErrors: false, processing: false, progress: null, wasSuccessful: false, recentlySuccessful: false, data() {
|
||||
return Object.keys(a).reduce((r, s) => (r[s] = this[s], r), {});
|
||||
}, transform(r) {
|
||||
return h2 = r, this;
|
||||
}, defaults(r, s) {
|
||||
if (typeof p == "function")
|
||||
throw new Error("You cannot call `defaults()` when using a function to define your form data.");
|
||||
return typeof r > "u" ? a = this.data() : a = Object.assign({}, (0, import_lodash2.default)(a), typeof r == "string" ? { [r]: s } : r), this;
|
||||
if (typeof p == "function") throw new Error("You cannot call `defaults()` when using a function to define your form data.");
|
||||
return typeof r > "u" ? (a = this.data(), this.isDirty = false) : a = Object.assign({}, (0, import_lodash2.default)(a), typeof r == "string" ? { [r]: s } : r), this;
|
||||
}, reset(...r) {
|
||||
let s = typeof p == "object" ? (0, import_lodash2.default)(a) : (0, import_lodash2.default)(p()), i = (0, import_lodash2.default)(s);
|
||||
return r.length === 0 ? (a = i, Object.assign(this, s)) : Object.keys(s).filter((m) => r.includes(m)).forEach((m) => {
|
||||
@@ -796,33 +769,26 @@ function T(e, o) {
|
||||
}, clearErrors(...r) {
|
||||
return this.errors = Object.keys(this.errors).reduce((s, i) => ({ ...s, ...r.length > 0 && !r.includes(i) ? { [i]: this.errors[i] } : {} }), {}), this.hasErrors = Object.keys(this.errors).length > 0, this;
|
||||
}, submit(r, s, i = {}) {
|
||||
let m = h2(this.data()), b = { ...i, onCancelToken: (u2) => {
|
||||
if (l = u2, i.onCancelToken)
|
||||
return i.onCancelToken(u2);
|
||||
let m = h2(this.data()), b2 = { ...i, onCancelToken: (u2) => {
|
||||
if (l = u2, i.onCancelToken) return i.onCancelToken(u2);
|
||||
}, onBefore: (u2) => {
|
||||
if (this.wasSuccessful = false, this.recentlySuccessful = false, clearTimeout(f2), i.onBefore)
|
||||
return i.onBefore(u2);
|
||||
if (this.wasSuccessful = false, this.recentlySuccessful = false, clearTimeout(f2), i.onBefore) return i.onBefore(u2);
|
||||
}, onStart: (u2) => {
|
||||
if (this.processing = true, i.onStart)
|
||||
return i.onStart(u2);
|
||||
if (this.processing = true, i.onStart) return i.onStart(u2);
|
||||
}, onProgress: (u2) => {
|
||||
if (this.progress = u2, i.onProgress)
|
||||
return i.onProgress(u2);
|
||||
if (this.progress = u2, i.onProgress) return i.onProgress(u2);
|
||||
}, onSuccess: async (u2) => {
|
||||
this.processing = false, this.progress = null, this.clearErrors(), this.wasSuccessful = true, this.recentlySuccessful = true, f2 = setTimeout(() => this.recentlySuccessful = false, 2e3);
|
||||
let N2 = i.onSuccess ? await i.onSuccess(u2) : null;
|
||||
return a = (0, import_lodash2.default)(this.data()), this.isDirty = false, N2;
|
||||
}, onError: (u2) => {
|
||||
if (this.processing = false, this.progress = null, this.clearErrors().setError(u2), i.onError)
|
||||
return i.onError(u2);
|
||||
if (this.processing = false, this.progress = null, this.clearErrors().setError(u2), i.onError) return i.onError(u2);
|
||||
}, onCancel: () => {
|
||||
if (this.processing = false, this.progress = null, i.onCancel)
|
||||
return i.onCancel();
|
||||
if (this.processing = false, this.progress = null, i.onCancel) return i.onCancel();
|
||||
}, onFinish: (u2) => {
|
||||
if (this.processing = false, this.progress = null, l = null, i.onFinish)
|
||||
return i.onFinish(u2);
|
||||
if (this.processing = false, this.progress = null, l = null, i.onFinish) return i.onFinish(u2);
|
||||
} };
|
||||
r === "delete" ? Oe.delete(s, { ...b, data: m }) : Oe[r](s, m, b);
|
||||
r === "delete" ? Ne.delete(s, { ...b2, data: m }) : Ne[r](s, m, b2);
|
||||
}, get(r, s) {
|
||||
this.submit("get", r, s);
|
||||
}, post(r, s) {
|
||||
@@ -841,33 +807,33 @@ function T(e, o) {
|
||||
Object.assign(this, r.data), this.setError(r.errors);
|
||||
} });
|
||||
return watch(y, (r) => {
|
||||
y.isDirty = !(0, import_lodash3.default)(y.data(), a), n && Oe.remember((0, import_lodash2.default)(r.__remember()), n);
|
||||
y.isDirty = !(0, import_lodash3.default)(y.data(), a), n && Ne.remember((0, import_lodash2.default)(r.__remember()), n);
|
||||
}, { immediate: true, deep: true }), y;
|
||||
}
|
||||
var c = ref(null);
|
||||
var d = ref(null);
|
||||
var k2 = shallowRef(null);
|
||||
var F = ref(null);
|
||||
var x = null;
|
||||
var x = shallowRef(null);
|
||||
var F2 = ref(null);
|
||||
var k2 = null;
|
||||
var W2 = defineComponent({ name: "Inertia", props: { initialPage: { type: Object, required: true }, initialComponent: { type: Object, required: false }, resolveComponent: { type: Function, required: false }, titleCallback: { type: Function, required: false, default: (e) => e }, onHeadUpdate: { type: Function, required: false, default: () => () => {
|
||||
} } }, setup({ initialPage: e, initialComponent: o, resolveComponent: n, titleCallback: p, onHeadUpdate: t }) {
|
||||
c.value = o ? markRaw(o) : null, d.value = e, F.value = null;
|
||||
c.value = o ? markRaw(o) : null, d.value = e, F2.value = null;
|
||||
let a = typeof window > "u";
|
||||
return x = Q(a, p, t), a || (Oe.init({ initialPage: e, resolveComponent: n, swapComponent: async (l) => {
|
||||
c.value = markRaw(l.component), d.value = l.page, F.value = l.preserveState ? F.value : Date.now();
|
||||
} }), Oe.on("navigate", () => x.forceUpdate())), () => {
|
||||
return k2 = ee(a, p, t), a || (Ne.init({ initialPage: e, resolveComponent: n, swapComponent: async (l) => {
|
||||
c.value = markRaw(l.component), d.value = l.page, F2.value = l.preserveState ? F2.value : Date.now();
|
||||
} }), Ne.on("navigate", () => k2.forceUpdate())), () => {
|
||||
if (c.value) {
|
||||
c.value.inheritAttrs = !!c.value.inheritAttrs;
|
||||
let l = h(c.value, { ...d.value.props, key: F.value });
|
||||
return k2.value && (c.value.layout = k2.value, k2.value = null), c.value.layout ? typeof c.value.layout == "function" ? c.value.layout(h, l) : (Array.isArray(c.value.layout) ? c.value.layout : [c.value.layout]).concat(l).reverse().reduce((f2, h2) => (h2.inheritAttrs = !!h2.inheritAttrs, h(h2, { ...d.value.props }, () => f2))) : l;
|
||||
let l = h(c.value, { ...d.value.props, key: F2.value });
|
||||
return x.value && (c.value.layout = x.value, x.value = null), c.value.layout ? typeof c.value.layout == "function" ? c.value.layout(h, l) : (Array.isArray(c.value.layout) ? c.value.layout : [c.value.layout]).concat(l).reverse().reduce((f2, h2) => (h2.inheritAttrs = !!h2.inheritAttrs, h(h2, { ...d.value.props }, () => f2))) : l;
|
||||
}
|
||||
};
|
||||
} });
|
||||
var E = W2;
|
||||
var E2 = W2;
|
||||
var $2 = { install(e) {
|
||||
Oe.form = T, Object.defineProperty(e.config.globalProperties, "$inertia", { get: () => Oe }), Object.defineProperty(e.config.globalProperties, "$page", { get: () => d.value }), Object.defineProperty(e.config.globalProperties, "$headManager", { get: () => x }), e.mixin(D);
|
||||
Ne.form = T2, Object.defineProperty(e.config.globalProperties, "$inertia", { get: () => Ne }), Object.defineProperty(e.config.globalProperties, "$page", { get: () => d.value }), Object.defineProperty(e.config.globalProperties, "$headManager", { get: () => k2 }), e.mixin(D2);
|
||||
} };
|
||||
function Q2() {
|
||||
function Q() {
|
||||
return reactive({ props: computed(() => {
|
||||
var _a;
|
||||
return (_a = d.value) == null ? void 0 : _a.props;
|
||||
@@ -888,9 +854,9 @@ function Q2() {
|
||||
return (_a = d.value) == null ? void 0 : _a.rememberedState;
|
||||
}) });
|
||||
}
|
||||
async function j2({ id: e = "app", resolve: o, setup: n, title: p, progress: t = {}, page: a, render: l }) {
|
||||
let f2 = typeof window > "u", h2 = f2 ? null : document.getElementById(e), y = a || JSON.parse(h2.dataset.page), r = (m) => Promise.resolve(o(m)).then((b) => b.default || b), s = [], i = await r(y.component).then((m) => n({ el: h2, App: E, props: { initialPage: y, initialComponent: m, resolveComponent: r, titleCallback: p, onHeadUpdate: f2 ? (b) => s = b : null }, plugin: $2 }));
|
||||
if (!f2 && t && Z(t), f2) {
|
||||
async function j({ id: e = "app", resolve: o, setup: n, title: p, progress: t = {}, page: a, render: l }) {
|
||||
let f2 = typeof window > "u", h2 = f2 ? null : document.getElementById(e), y = a || JSON.parse(h2.dataset.page), r = (m) => Promise.resolve(o(m)).then((b2) => b2.default || b2), s = [], i = await r(y.component).then((m) => n({ el: h2, App: E2, props: { initialPage: y, initialComponent: m, resolveComponent: r, titleCallback: p, onHeadUpdate: f2 ? (b2) => s = b2 : null }, plugin: $2 }));
|
||||
if (!f2 && t && ie(t), f2) {
|
||||
let m = await l(createSSRApp({ render: () => h("div", { id: e, "data-page": JSON.stringify(y), innerHTML: i ? l(i) : "" }) }));
|
||||
return { head: s, body: m };
|
||||
}
|
||||
@@ -921,12 +887,9 @@ var X2 = defineComponent({ props: { title: { type: String, required: false } },
|
||||
}, isTextNode(e) {
|
||||
return /(text|txt)/i.test(e.type.toString());
|
||||
}, renderTag(e) {
|
||||
if (this.isTextNode(e))
|
||||
return e.children;
|
||||
if (this.isFragmentNode(e))
|
||||
return "";
|
||||
if (this.isCommentNode(e))
|
||||
return "";
|
||||
if (this.isTextNode(e)) return e.children;
|
||||
if (this.isFragmentNode(e)) return "";
|
||||
if (this.isCommentNode(e)) return "";
|
||||
let o = this.renderTagStart(e);
|
||||
return e.children && (o += this.renderTagChildren(e)), this.isUnaryTag(e) || (o += `</${e.type}>`), o;
|
||||
}, addTitleElement(e) {
|
||||
@@ -939,34 +902,33 @@ var X2 = defineComponent({ props: { title: { type: String, required: false } },
|
||||
this.provider.update(this.renderNodes(this.$slots.default ? this.$slots.default() : []));
|
||||
} });
|
||||
var Z2 = X2;
|
||||
var se2 = defineComponent({ name: "Link", props: { as: { type: String, default: "a" }, data: { type: Object, default: () => ({}) }, href: { type: String, required: true }, method: { type: String, default: "get" }, replace: { type: Boolean, default: false }, preserveScroll: { type: Boolean, default: false }, preserveState: { type: Boolean, default: null }, only: { type: Array, default: () => [] }, headers: { type: Object, default: () => ({}) }, queryStringArrayFormat: { type: String, default: "brackets" } }, setup(e, { slots: o, attrs: n }) {
|
||||
var se2 = defineComponent({ name: "Link", props: { as: { type: String, default: "a" }, data: { type: Object, default: () => ({}) }, href: { type: String, required: true }, method: { type: String, default: "get" }, replace: { type: Boolean, default: false }, preserveScroll: { type: Boolean, default: false }, preserveState: { type: Boolean, default: null }, only: { type: Array, default: () => [] }, except: { type: Array, default: () => [] }, headers: { type: Object, default: () => ({}) }, queryStringArrayFormat: { type: String, default: "brackets" } }, setup(e, { slots: o, attrs: n }) {
|
||||
return () => {
|
||||
let p = e.as.toLowerCase(), t = e.method.toLowerCase(), [a, l] = k(t, e.href || "", e.data, e.queryStringArrayFormat);
|
||||
let p = e.as.toLowerCase(), t = e.method.toLowerCase(), [a, l] = D(t, e.href || "", e.data, e.queryStringArrayFormat);
|
||||
return p === "a" && t !== "get" && console.warn(`Creating POST/PUT/PATCH/DELETE <a> links is discouraged as it causes "Open Link in New Tab/Window" accessibility issues.
|
||||
|
||||
Please specify a more appropriate element using the "as" attribute. For example:
|
||||
|
||||
<Link href="${a}" method="${t}" as="button">...</Link>`), h(e.as, { ...n, ...p === "a" ? { href: a } : {}, onClick: (f2) => {
|
||||
ee(f2) && (f2.preventDefault(), Oe.visit(a, { data: l, method: t, replace: e.replace, preserveScroll: e.preserveScroll, preserveState: e.preserveState ?? t !== "get", only: e.only, headers: e.headers, onCancelToken: n.onCancelToken || (() => ({})), onBefore: n.onBefore || (() => ({})), onStart: n.onStart || (() => ({})), onProgress: n.onProgress || (() => ({})), onFinish: n.onFinish || (() => ({})), onCancel: n.onCancel || (() => ({})), onSuccess: n.onSuccess || (() => ({})), onError: n.onError || (() => ({})) }));
|
||||
re(f2) && (f2.preventDefault(), Ne.visit(a, { data: l, method: t, replace: e.replace, preserveScroll: e.preserveScroll, preserveState: e.preserveState ?? t !== "get", only: e.only, except: e.except, headers: e.headers, onCancelToken: n.onCancelToken || (() => ({})), onBefore: n.onBefore || (() => ({})), onStart: n.onStart || (() => ({})), onProgress: n.onProgress || (() => ({})), onFinish: n.onFinish || (() => ({})), onCancel: n.onCancel || (() => ({})), onSuccess: n.onSuccess || (() => ({})), onError: n.onError || (() => ({})) }));
|
||||
} }, o);
|
||||
};
|
||||
} });
|
||||
var ie2 = se2;
|
||||
function O2(e, o) {
|
||||
if (typeof e == "object" && e !== null && e.__rememberable === false)
|
||||
return e;
|
||||
let n = Oe.restore(o), p = isReactive(e) ? reactive : ref, t = typeof e.__remember == "function" && typeof e.__restore == "function", a = p(n === void 0 ? e : t ? e.__restore(n) : n);
|
||||
if (typeof e == "object" && e !== null && e.__rememberable === false) return e;
|
||||
let n = Ne.restore(o), p = isReactive(e) ? reactive : ref, t = typeof e.__remember == "function" && typeof e.__restore == "function", a = p(n === void 0 ? e : t ? e.__restore(n) : n);
|
||||
return watch(a, (l) => {
|
||||
Oe.remember((0, import_lodash4.default)(t ? e.__remember() : l), o);
|
||||
Ne.remember((0, import_lodash4.default)(t ? e.__remember() : l), o);
|
||||
}, { immediate: true, deep: true }), a;
|
||||
}
|
||||
export {
|
||||
Z2 as Head,
|
||||
ie2 as Link,
|
||||
j2 as createInertiaApp,
|
||||
Oe as router,
|
||||
T as useForm,
|
||||
Q2 as usePage,
|
||||
j as createInertiaApp,
|
||||
Ne as router,
|
||||
T2 as useForm,
|
||||
Q as usePage,
|
||||
O2 as useRemember
|
||||
};
|
||||
/*! Bundled license information:
|
||||
|
||||
6
node_modules/.vite/deps/@inertiajs_vue3.js.map
generated
vendored
6
node_modules/.vite/deps/@inertiajs_vue3.js.map
generated
vendored
File diff suppressed because one or more lines are too long
38
node_modules/.vite/deps/_metadata.json
generated
vendored
38
node_modules/.vite/deps/_metadata.json
generated
vendored
@@ -1,55 +1,55 @@
|
||||
{
|
||||
"hash": "3284a5c1",
|
||||
"configHash": "e4bd813e",
|
||||
"lockfileHash": "70b356e8",
|
||||
"browserHash": "1e7acf72",
|
||||
"hash": "635cff9f",
|
||||
"configHash": "f9885f4d",
|
||||
"lockfileHash": "9bf82f41",
|
||||
"browserHash": "ac7464c4",
|
||||
"optimized": {
|
||||
"@inertiajs/inertia-vue3": {
|
||||
"src": "../../@inertiajs/inertia-vue3/dist/index.js",
|
||||
"file": "@inertiajs_inertia-vue3.js",
|
||||
"fileHash": "6e1bbf6c",
|
||||
"fileHash": "db43e4d4",
|
||||
"needsInterop": true
|
||||
},
|
||||
"@inertiajs/vue3": {
|
||||
"src": "../../@inertiajs/vue3/dist/index.esm.js",
|
||||
"file": "@inertiajs_vue3.js",
|
||||
"fileHash": "5ec0f65e",
|
||||
"fileHash": "c7d4650a",
|
||||
"needsInterop": false
|
||||
},
|
||||
"axios": {
|
||||
"src": "../../axios/index.js",
|
||||
"file": "axios.js",
|
||||
"fileHash": "5db804a5",
|
||||
"fileHash": "4b2c3fe6",
|
||||
"needsInterop": false
|
||||
},
|
||||
"laravel-vite-plugin/inertia-helpers": {
|
||||
"src": "../../laravel-vite-plugin/inertia-helpers/index.js",
|
||||
"file": "laravel-vite-plugin_inertia-helpers.js",
|
||||
"fileHash": "725a9dbd",
|
||||
"fileHash": "bda95f8b",
|
||||
"needsInterop": false
|
||||
},
|
||||
"vue": {
|
||||
"src": "../../vue/dist/vue.runtime.esm-bundler.js",
|
||||
"file": "vue.js",
|
||||
"fileHash": "e35c5d08",
|
||||
"fileHash": "10e2396c",
|
||||
"needsInterop": false
|
||||
}
|
||||
},
|
||||
"chunks": {
|
||||
"chunk-MJN6PGBK": {
|
||||
"file": "chunk-MJN6PGBK.js"
|
||||
"chunk-45ZXIL56": {
|
||||
"file": "chunk-45ZXIL56.js"
|
||||
},
|
||||
"chunk-Y3GWUAMM": {
|
||||
"file": "chunk-Y3GWUAMM.js"
|
||||
"chunk-RSXHRAOD": {
|
||||
"file": "chunk-RSXHRAOD.js"
|
||||
},
|
||||
"chunk-SA4QXAJ3": {
|
||||
"file": "chunk-SA4QXAJ3.js"
|
||||
"chunk-62MYU7PF": {
|
||||
"file": "chunk-62MYU7PF.js"
|
||||
},
|
||||
"chunk-XSQZ24V4": {
|
||||
"file": "chunk-XSQZ24V4.js"
|
||||
"chunk-F4MNEPC5": {
|
||||
"file": "chunk-F4MNEPC5.js"
|
||||
},
|
||||
"chunk-CEQRFMJQ": {
|
||||
"file": "chunk-CEQRFMJQ.js"
|
||||
"chunk-V4OQ3NZ2": {
|
||||
"file": "chunk-V4OQ3NZ2.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
5
node_modules/.vite/deps/axios.js
generated
vendored
5
node_modules/.vite/deps/axios.js
generated
vendored
@@ -16,8 +16,8 @@ import {
|
||||
mergeConfig,
|
||||
spread,
|
||||
toFormData
|
||||
} from "./chunk-MJN6PGBK.js";
|
||||
import "./chunk-CEQRFMJQ.js";
|
||||
} from "./chunk-45ZXIL56.js";
|
||||
import "./chunk-V4OQ3NZ2.js";
|
||||
export {
|
||||
Axios,
|
||||
AxiosError,
|
||||
@@ -37,4 +37,3 @@ export {
|
||||
spread,
|
||||
toFormData
|
||||
};
|
||||
//# sourceMappingURL=axios.js.map
|
||||
|
||||
969
node_modules/.vite/deps/chunk-MJN6PGBK.js → node_modules/.vite/deps/chunk-45ZXIL56.js
generated
vendored
969
node_modules/.vite/deps/chunk-MJN6PGBK.js → node_modules/.vite/deps/chunk-45ZXIL56.js
generated
vendored
File diff suppressed because it is too large
Load Diff
7
node_modules/.vite/deps/chunk-45ZXIL56.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-45ZXIL56.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@ import {
|
||||
initCustomFormatter,
|
||||
init_runtime_dom_esm_bundler,
|
||||
warn
|
||||
} from "./chunk-XSQZ24V4.js";
|
||||
} from "./chunk-F4MNEPC5.js";
|
||||
|
||||
// node_modules/vue/dist/vue.runtime.esm-bundler.js
|
||||
init_runtime_dom_esm_bundler();
|
||||
@@ -30,9 +30,9 @@ export {
|
||||
|
||||
vue/dist/vue.runtime.esm-bundler.js:
|
||||
(**
|
||||
* vue v3.4.15
|
||||
* vue v3.5.13
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**)
|
||||
*/
|
||||
//# sourceMappingURL=chunk-SA4QXAJ3.js.map
|
||||
//# sourceMappingURL=chunk-62MYU7PF.js.map
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../vue/dist/vue.runtime.esm-bundler.js"],
|
||||
"sourcesContent": ["/**\n* vue v3.4.15\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\nimport { initCustomFormatter, warn } from '@vue/runtime-dom';\nexport * from '@vue/runtime-dom';\n\nfunction initDev() {\n {\n initCustomFormatter();\n }\n}\n\nif (!!(process.env.NODE_ENV !== \"production\")) {\n initDev();\n}\nconst compile = () => {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Runtime compilation is not supported in this build of Vue.` + (` Configure your bundler to alias \"vue\" to \"vue/dist/vue.esm-bundler.js\".` )\n );\n }\n};\n\nexport { compile };\n"],
|
||||
"sourcesContent": ["/**\n* vue v3.5.13\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\nimport { initCustomFormatter, warn } from '@vue/runtime-dom';\nexport * from '@vue/runtime-dom';\n\nfunction initDev() {\n {\n initCustomFormatter();\n }\n}\n\nif (!!(process.env.NODE_ENV !== \"production\")) {\n initDev();\n}\nconst compile = () => {\n if (!!(process.env.NODE_ENV !== \"production\")) {\n warn(\n `Runtime compilation is not supported in this build of Vue.` + (` Configure your bundler to alias \"vue\" to \"vue/dist/vue.esm-bundler.js\".` )\n );\n }\n};\n\nexport { compile };\n"],
|
||||
"mappings": ";;;;;;;AAKA;AACA;AAEA,SAAS,UAAU;AACjB;AACE,wBAAoB;AAAA,EACtB;AACF;AAEA,IAAI,MAA2C;AAC7C,UAAQ;AACV;AACA,IAAM,UAAU,MAAM;AACpB,MAAI,MAA2C;AAC7C;AAAA,MACE;AAAA,IACF;AAAA,EACF;AACF;",
|
||||
"names": []
|
||||
}
|
||||
8441
node_modules/.vite/deps/chunk-XSQZ24V4.js → node_modules/.vite/deps/chunk-F4MNEPC5.js
generated
vendored
8441
node_modules/.vite/deps/chunk-XSQZ24V4.js → node_modules/.vite/deps/chunk-F4MNEPC5.js
generated
vendored
File diff suppressed because it is too large
Load Diff
7
node_modules/.vite/deps/chunk-F4MNEPC5.js.map
generated
vendored
Normal file
7
node_modules/.vite/deps/chunk-F4MNEPC5.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
7
node_modules/.vite/deps/chunk-MJN6PGBK.js.map
generated
vendored
7
node_modules/.vite/deps/chunk-MJN6PGBK.js.map
generated
vendored
File diff suppressed because one or more lines are too long
2046
node_modules/.vite/deps/chunk-Y3GWUAMM.js → node_modules/.vite/deps/chunk-RSXHRAOD.js
generated
vendored
2046
node_modules/.vite/deps/chunk-Y3GWUAMM.js → node_modules/.vite/deps/chunk-RSXHRAOD.js
generated
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -39,4 +39,3 @@ export {
|
||||
__toESM,
|
||||
__toCommonJS
|
||||
};
|
||||
//# sourceMappingURL=chunk-CEQRFMJQ.js.map
|
||||
7
node_modules/.vite/deps/chunk-XSQZ24V4.js.map
generated
vendored
7
node_modules/.vite/deps/chunk-XSQZ24V4.js.map
generated
vendored
File diff suppressed because one or more lines are too long
2
node_modules/.vite/deps/laravel-vite-plugin_inertia-helpers.js
generated
vendored
2
node_modules/.vite/deps/laravel-vite-plugin_inertia-helpers.js
generated
vendored
@@ -1,4 +1,4 @@
|
||||
import "./chunk-CEQRFMJQ.js";
|
||||
import "./chunk-V4OQ3NZ2.js";
|
||||
|
||||
// node_modules/laravel-vite-plugin/inertia-helpers/index.js
|
||||
async function resolvePageComponent(path, pages) {
|
||||
|
||||
27
node_modules/.vite/deps/vue.js
generated
vendored
27
node_modules/.vite/deps/vue.js
generated
vendored
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
compile
|
||||
} from "./chunk-SA4QXAJ3.js";
|
||||
} from "./chunk-62MYU7PF.js";
|
||||
import {
|
||||
BaseTransition,
|
||||
BaseTransitionPropsValidators,
|
||||
@@ -58,12 +58,17 @@ import {
|
||||
effectScope,
|
||||
getCurrentInstance,
|
||||
getCurrentScope,
|
||||
getCurrentWatcher,
|
||||
getTransitionRawChildren,
|
||||
guardReactiveProps,
|
||||
h,
|
||||
handleError,
|
||||
hasInjectionContext,
|
||||
hydrate,
|
||||
hydrateOnIdle,
|
||||
hydrateOnInteraction,
|
||||
hydrateOnMediaQuery,
|
||||
hydrateOnVisible,
|
||||
initCustomFormatter,
|
||||
initDirectivesForSSR,
|
||||
inject,
|
||||
@@ -96,6 +101,7 @@ import {
|
||||
onServerPrefetch,
|
||||
onUnmounted,
|
||||
onUpdated,
|
||||
onWatcherCleanup,
|
||||
openBlock,
|
||||
popScopeId,
|
||||
provide,
|
||||
@@ -136,9 +142,13 @@ import {
|
||||
useAttrs,
|
||||
useCssModule,
|
||||
useCssVars,
|
||||
useHost,
|
||||
useId,
|
||||
useModel,
|
||||
useSSRContext,
|
||||
useShadowRoot,
|
||||
useSlots,
|
||||
useTemplateRef,
|
||||
useTransitionState,
|
||||
vModelCheckbox,
|
||||
vModelDynamic,
|
||||
@@ -160,8 +170,8 @@ import {
|
||||
withMemo,
|
||||
withModifiers,
|
||||
withScopeId
|
||||
} from "./chunk-XSQZ24V4.js";
|
||||
import "./chunk-CEQRFMJQ.js";
|
||||
} from "./chunk-F4MNEPC5.js";
|
||||
import "./chunk-V4OQ3NZ2.js";
|
||||
export {
|
||||
BaseTransition,
|
||||
BaseTransitionPropsValidators,
|
||||
@@ -220,12 +230,17 @@ export {
|
||||
effectScope,
|
||||
getCurrentInstance,
|
||||
getCurrentScope,
|
||||
getCurrentWatcher,
|
||||
getTransitionRawChildren,
|
||||
guardReactiveProps,
|
||||
h,
|
||||
handleError,
|
||||
hasInjectionContext,
|
||||
hydrate,
|
||||
hydrateOnIdle,
|
||||
hydrateOnInteraction,
|
||||
hydrateOnMediaQuery,
|
||||
hydrateOnVisible,
|
||||
initCustomFormatter,
|
||||
initDirectivesForSSR,
|
||||
inject,
|
||||
@@ -258,6 +273,7 @@ export {
|
||||
onServerPrefetch,
|
||||
onUnmounted,
|
||||
onUpdated,
|
||||
onWatcherCleanup,
|
||||
openBlock,
|
||||
popScopeId,
|
||||
provide,
|
||||
@@ -298,9 +314,13 @@ export {
|
||||
useAttrs,
|
||||
useCssModule,
|
||||
useCssVars,
|
||||
useHost,
|
||||
useId,
|
||||
useModel,
|
||||
useSSRContext,
|
||||
useShadowRoot,
|
||||
useSlots,
|
||||
useTemplateRef,
|
||||
useTransitionState,
|
||||
vModelCheckbox,
|
||||
vModelDynamic,
|
||||
@@ -323,4 +343,3 @@ export {
|
||||
withModifiers,
|
||||
withScopeId
|
||||
};
|
||||
//# sourceMappingURL=vue.js.map
|
||||
|
||||
Reference in New Issue
Block a user