@oktis-works/admin 0.2.1 → 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/dist/client/_astro/{ContentEditor.C9TSxsGW.js → ContentEditor.Cz572tRv.js} +1 -1
- package/dist/client/_astro/{ContentList.e1datweV.js → ContentList.DiB9vOGJ.js} +1 -1
- package/dist/client/_astro/{DashboardHome.CqnldWlv.js → DashboardHome.DKuoH-SO.js} +1 -1
- package/dist/client/_astro/{DashboardLayout.astro_astro_type_script_index_0_lang.sNve10RH.js → DashboardLayout.astro_astro_type_script_index_0_lang.DfB7XHS-.js} +1 -1
- package/dist/client/_astro/{GeneralSettings.D-ALN9_r.js → GeneralSettings.CNwCgPqo.js} +1 -1
- package/dist/client/_astro/{MediaLibrary.NQ1lF95i.js → MediaLibrary.Cq9XsGhv.js} +1 -1
- package/dist/client/_astro/{PostTypesManager.CdMx_Nxn.js → PostTypesManager.6GQ4vWY1.js} +1 -1
- package/dist/client/_astro/{TaxonomiesManager.BU7A02Ay.js → TaxonomiesManager.B25xOjSO.js} +1 -1
- package/dist/client/_astro/{UserCreateForm.BvDn97aZ.js → UserCreateForm.DtBifGTo.js} +1 -1
- package/dist/client/_astro/{UsersManager.CFBCKO-t.js → UsersManager.CpYTrwb-.js} +1 -1
- package/dist/client/_astro/api.BEC1o0dT.js +1 -0
- package/dist/client/_astro/{login.astro_astro_type_script_index_0_lang.BZaUVRCc.js → login.astro_astro_type_script_index_0_lang.CWNQruNb.js} +1 -1
- package/dist/server/chunks/{BaseLayout_C41_wW4F.mjs → BaseLayout_CcUFilW5.mjs} +3 -3
- package/dist/server/chunks/{ContentEditor_CrO12IkK.mjs → ContentEditor_D-viRUSq.mjs} +2 -2
- package/dist/server/chunks/{DashboardLayout_h9iqOf7E.mjs → DashboardLayout_BcJfVITA.mjs} +3 -3
- package/dist/server/chunks/{MediaLibrary_Ctc5H6Od.mjs → MediaLibrary_B_iV_iG_.mjs} +2 -2
- package/dist/server/chunks/{_slug__FVgVdi48.mjs → _slug__Drk3SGVA.mjs} +3 -3
- package/dist/server/chunks/{api_C1VC3OiH.mjs → api_i8T-MI6L.mjs} +1 -9
- package/dist/server/chunks/{compiler_CYjwXhLT.mjs → compiler_O7J1rlsi.mjs} +3 -3
- package/dist/server/chunks/{console_tZnymcoE.mjs → console_B_CnzVJ2.mjs} +4 -4
- package/dist/server/chunks/{edit_Dau0tASP.mjs → edit_C2JhI_4N.mjs} +4 -4
- package/dist/server/chunks/{errors_mm28nMpQ.mjs → errors_Bf5VCr3E.mjs} +4 -4
- package/dist/server/chunks/{general_DOXmhv-h.mjs → general_P495Ufsz.mjs} +4 -4
- package/dist/server/chunks/{index_Owj31XBA.mjs → index_B6CCj15C.mjs} +4 -4
- package/dist/server/chunks/{index_oZK1qJym.mjs → index_BXXETvZ4.mjs} +4 -4
- package/dist/server/chunks/{index_B26K6w42.mjs → index_Btnu1IuS.mjs} +4 -4
- package/dist/server/chunks/{index_BYBvZsat.mjs → index_SwfYHct5.mjs} +3 -3
- package/dist/server/chunks/{index_D9OGVvPs.mjs → index_TjQB6YGE.mjs} +4 -4
- package/dist/server/chunks/{login_BH67N4b1.mjs → login_BTd7KCCx.mjs} +3 -3
- package/dist/server/chunks/{new_2mb-n_fU.mjs → new_D524jTif.mjs} +4 -4
- package/dist/server/chunks/{new_BhA9pTES.mjs → new_ES56yNLA.mjs} +4 -4
- package/dist/server/chunks/{node_C0YbdEL-.mjs → node_BafXIcNi.mjs} +52 -52
- package/dist/server/chunks/{post-types_B4rrV0WI.mjs → post-types_fjRQBp-g.mjs} +4 -4
- package/dist/server/chunks/{server_CnzC2Y0K.mjs → server_B5N27szj.mjs} +40 -40
- package/dist/server/chunks/{sharp_CfXj7Ul-.mjs → sharp_C91d8fsK.mjs} +3 -3
- package/dist/server/chunks/{taxonomies_Bdxv94jK.mjs → taxonomies_sqdg4QrC.mjs} +4 -4
- package/dist/server/chunks/{upload_RgdwSWbY.mjs → upload_ILNZTf3l.mjs} +4 -4
- package/dist/server/entry.mjs +119 -119
- package/package.json +5 -5
- package/bin/admin.js +0 -33
- package/bin/listen-log.d.ts +0 -8
- package/bin/listen-log.js +0 -66
- package/dist/client/_astro/api.DCaprPaL.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as OnlyResponseCanBeReturned, K as ResponseSentError, L as NoMatchingImport, M as MissingMediaQueryDirective, P as NoClientOnlyHint, R as NoMatchingRenderer, Z as UnavailableAstroGlobal, c as EndpointDidNotReturnAResponse, t as AstroError } from "./
|
|
1
|
+
import { B as OnlyResponseCanBeReturned, K as ResponseSentError, L as NoMatchingImport, M as MissingMediaQueryDirective, P as NoClientOnlyHint, R as NoMatchingRenderer, Z as UnavailableAstroGlobal, c as EndpointDidNotReturnAResponse, t as AstroError } from "./errors_Bf5VCr3E.mjs";
|
|
2
2
|
//#region ../../node_modules/.bun/@oslojs+encoding@1.1.0/node_modules/@oslojs/encoding/dist/hex.js
|
|
3
3
|
function encodeHexUpperCase(data) {
|
|
4
4
|
let result = "";
|
|
@@ -5021,7 +5021,7 @@ var ZodIssueCode = {
|
|
|
5021
5021
|
var ZodFirstPartyTypeKind;
|
|
5022
5022
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5023
5023
|
//#endregion
|
|
5024
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5024
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/core/csp/config.js
|
|
5025
5025
|
var ALGORITHMS = {
|
|
5026
5026
|
"SHA-256": "sha256-",
|
|
5027
5027
|
"SHA-384": "sha384-",
|
|
@@ -5107,7 +5107,7 @@ custom((v) => typeof v === "string").superRefine((value, ctx) => {
|
|
|
5107
5107
|
}
|
|
5108
5108
|
});
|
|
5109
5109
|
//#endregion
|
|
5110
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5110
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/core/encryption.js
|
|
5111
5111
|
var ALGORITHM = "AES-GCM";
|
|
5112
5112
|
async function decodeKey(encoded) {
|
|
5113
5113
|
const bytes = decodeBase64(encoded);
|
|
@@ -5227,7 +5227,7 @@ var o = (e = r$1) => {
|
|
|
5227
5227
|
};
|
|
5228
5228
|
var s = o();
|
|
5229
5229
|
//#endregion
|
|
5230
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5230
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/core/routing/internal/route-errors.js
|
|
5231
5231
|
var ROUTE404_RE = /^\/404\/?$/;
|
|
5232
5232
|
var ROUTE500_RE = /^\/500\/?$/;
|
|
5233
5233
|
function isRoute404(route) {
|
|
@@ -5237,7 +5237,7 @@ function isRoute500(route) {
|
|
|
5237
5237
|
return ROUTE500_RE.test(route);
|
|
5238
5238
|
}
|
|
5239
5239
|
//#endregion
|
|
5240
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5240
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/astro-global.js
|
|
5241
5241
|
function createError(name) {
|
|
5242
5242
|
return new AstroError({
|
|
5243
5243
|
...UnavailableAstroGlobal,
|
|
@@ -5329,7 +5329,7 @@ function createAstro(site) {
|
|
|
5329
5329
|
};
|
|
5330
5330
|
}
|
|
5331
5331
|
//#endregion
|
|
5332
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5332
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/endpoint.js
|
|
5333
5333
|
async function renderEndpoint(mod, context, isPrerendered, logger, state) {
|
|
5334
5334
|
const { request, url } = context;
|
|
5335
5335
|
const method = request.method.toUpperCase();
|
|
@@ -5354,7 +5354,7 @@ Found handlers: ${Object.keys(mod).map((exp) => JSON.stringify(exp)).join(", ")}
|
|
|
5354
5354
|
return response;
|
|
5355
5355
|
}
|
|
5356
5356
|
//#endregion
|
|
5357
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5357
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/util.js
|
|
5358
5358
|
function isPromise(value) {
|
|
5359
5359
|
return typeof value === "object" && value !== null && typeof value.then === "function";
|
|
5360
5360
|
}
|
|
@@ -5371,7 +5371,7 @@ async function* streamAsyncIterator(stream) {
|
|
|
5371
5371
|
}
|
|
5372
5372
|
}
|
|
5373
5373
|
//#endregion
|
|
5374
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5374
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/escape.js
|
|
5375
5375
|
var ESCAPABLE = /[&<>'"]/g;
|
|
5376
5376
|
function entityFor(code) {
|
|
5377
5377
|
switch (code) {
|
|
@@ -5448,12 +5448,12 @@ function isVNode(vnode) {
|
|
|
5448
5448
|
return vnode && typeof vnode === "object" && vnode["astro:jsx"];
|
|
5449
5449
|
}
|
|
5450
5450
|
//#endregion
|
|
5451
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5451
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/core/head-propagation/resolver.js
|
|
5452
5452
|
function isPropagatingHint(hint) {
|
|
5453
5453
|
return hint === "self" || hint === "in-tree";
|
|
5454
5454
|
}
|
|
5455
5455
|
//#endregion
|
|
5456
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5456
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/astro/factory.js
|
|
5457
5457
|
function isAstroComponentFactory(obj) {
|
|
5458
5458
|
return obj == null ? false : obj.isAstroComponentFactory === true;
|
|
5459
5459
|
}
|
|
@@ -5473,7 +5473,7 @@ function clsx() {
|
|
|
5473
5473
|
return n;
|
|
5474
5474
|
}
|
|
5475
5475
|
//#endregion
|
|
5476
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5476
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/serialize.js
|
|
5477
5477
|
var PROP_TYPE = {
|
|
5478
5478
|
Value: 0,
|
|
5479
5479
|
JSON: 1,
|
|
@@ -5534,7 +5534,7 @@ function serializeProps(props, metadata) {
|
|
|
5534
5534
|
return JSON.stringify(serializeObject(props, metadata));
|
|
5535
5535
|
}
|
|
5536
5536
|
//#endregion
|
|
5537
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5537
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/hydration.js
|
|
5538
5538
|
var transitionDirectivesToCopyOnIsland = /* @__PURE__ */ new Set([
|
|
5539
5539
|
"data-astro-transition-scope",
|
|
5540
5540
|
"data-astro-transition-persist",
|
|
@@ -5620,7 +5620,7 @@ async function generateHydrateScript(scriptOptions, metadata) {
|
|
|
5620
5620
|
return island;
|
|
5621
5621
|
}
|
|
5622
5622
|
//#endregion
|
|
5623
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5623
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/shorthash.js
|
|
5624
5624
|
/**
|
|
5625
5625
|
* shortdash - https://github.com/bibig/node-shorthash
|
|
5626
5626
|
*
|
|
@@ -5678,7 +5678,7 @@ function shorthash(text) {
|
|
|
5678
5678
|
return sign + result;
|
|
5679
5679
|
}
|
|
5680
5680
|
//#endregion
|
|
5681
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5681
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/astro/head-and-content.js
|
|
5682
5682
|
var headAndContentSym = /* @__PURE__ */ Symbol.for("astro.headAndContent");
|
|
5683
5683
|
function isHeadAndContent(obj) {
|
|
5684
5684
|
return typeof obj === "object" && obj !== null && !!obj[headAndContentSym];
|
|
@@ -5687,16 +5687,16 @@ function createThinHead() {
|
|
|
5687
5687
|
return { [headAndContentSym]: true };
|
|
5688
5688
|
}
|
|
5689
5689
|
//#endregion
|
|
5690
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5690
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/astro-island.prebuilt.js
|
|
5691
5691
|
var astro_island_prebuilt_default = `(()=>{var g=Object.defineProperty;var w=(a,s,c)=>s in a?g(a,s,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[s]=c;var l=(a,s,c)=>w(a,typeof s!="symbol"?s+"":s,c);var E=new Set(["__proto__","constructor","prototype"]);{let a={0:t=>y(t),1:t=>c(t),2:t=>new RegExp(t),3:t=>new Date(t),4:t=>new Map(c(t)),5:t=>new Set(c(t)),6:t=>BigInt(t),7:t=>new URL(t),8:t=>new Uint8Array(t),9:t=>new Uint16Array(t),10:t=>new Uint32Array(t),11:t=>Number.POSITIVE_INFINITY*t},s=t=>{let[p,e]=t;return p in a?a[p](e):void 0},c=t=>t.map(s),y=t=>typeof t!="object"||t===null?t:Object.fromEntries(Object.entries(t).map(([p,e])=>[p,s(e)]));class f extends HTMLElement{constructor(){super(...arguments);l(this,"Component");l(this,"hydrator");l(this,"hydrate",async()=>{var b;if(!this.hydrator||!this.isConnected)return;let e=(b=this.parentElement)==null?void 0:b.closest("astro-island[ssr]");if(e){e.addEventListener("astro:hydrate",this.hydrate,{once:!0});return}let r=this.querySelectorAll("astro-slot"),n={},d=this.querySelectorAll("template[data-astro-template]");for(let o of d){let i=o.closest(this.tagName);i!=null&&i.isSameNode(this)&&(n[o.getAttribute("data-astro-template")||"default"]=o.innerHTML,o.remove())}for(let o of r){let i=o.closest(this.tagName);i!=null&&i.isSameNode(this)&&(n[o.getAttribute("name")||"default"]=o.innerHTML)}let u;try{u=this.hasAttribute("props")?y(JSON.parse(this.getAttribute("props"))):{}}catch(o){let i=this.getAttribute("component-url")||"<unknown>",v=this.getAttribute("component-export");throw v&&(i+=\` (export \${v})\`),console.error(\`[hydrate] Error parsing props for component \${i}\`,this.getAttribute("props"),o),o}let h;await this.hydrator(this)(this.Component,u,n,{client:this.getAttribute("client")}),this.removeAttribute("ssr"),this.dispatchEvent(new CustomEvent("astro:hydrate"))});l(this,"unmount",()=>{this.isConnected||this.dispatchEvent(new CustomEvent("astro:unmount"))})}disconnectedCallback(){document.removeEventListener("astro:after-swap",this.unmount),document.addEventListener("astro:after-swap",this.unmount,{once:!0})}connectedCallback(){if(!this.hasAttribute("await-children")||document.readyState==="interactive"||document.readyState==="complete")this.childrenConnectedCallback();else{let e=()=>{document.removeEventListener("DOMContentLoaded",e),r.disconnect(),this.childrenConnectedCallback()},r=new MutationObserver(()=>{var n;((n=this.lastChild)==null?void 0:n.nodeType)===Node.COMMENT_NODE&&this.lastChild.nodeValue==="astro:end"&&(this.lastChild.remove(),e())});r.observe(this,{childList:!0}),document.addEventListener("DOMContentLoaded",e)}}async childrenConnectedCallback(){let e=this.getAttribute("before-hydration-url");e&&await import(e),this.start()}getRetryImportUrl(e){let r=new URL(e,document.baseURI);return r.searchParams.set("astro-retry",Date.now().toString()),r.toString()}async importWithRetry(e){try{return await import(e)}catch(r){return await new Promise(n=>setTimeout(n,1e3)),import(this.getRetryImportUrl(e))}}handleHydrationError(e){let r=this.getAttribute("component-url"),n=new CustomEvent("astro:hydration-error",{cancelable:!0,bubbles:!0,composed:!0,detail:{error:e,componentUrl:r}});this.dispatchEvent(n)&&console.error(\`[astro-island] Error hydrating \${r}\`,e)}async start(){let e=JSON.parse(this.getAttribute("opts")),r=this.getAttribute("client");if(Astro[r]===void 0){window.addEventListener(\`astro:\${r}\`,()=>this.start(),{once:!0});return}try{await Astro[r](async()=>{let n=this.getAttribute("renderer-url");try{let[d,{default:u}]=await Promise.all([this.importWithRetry(this.getAttribute("component-url")),n?this.importWithRetry(n):Promise.resolve({default:()=>()=>{}})]),h=this.getAttribute("component-export")||"default";if(h.includes(".")){this.Component=d;for(let m of h.split(".")){if(E.has(m)||!this.Component||typeof this.Component!="object"&&typeof this.Component!="function"||!Object.hasOwn(this.Component,m))throw new Error(\`Invalid component export path: \${h}\`);this.Component=this.Component[m]}}else{if(E.has(h))throw new Error(\`Invalid component export path: \${h}\`);this.Component=d[h]}return this.hydrator=u,this.hydrate}catch(d){return this.handleHydrationError(d),()=>{}}},e,this)}catch(n){this.handleHydrationError(n)}}attributeChangedCallback(){this.hydrate()}}l(f,"observedAttributes",["props"]),customElements.get("astro-island")||customElements.define("astro-island",f)}})();`;
|
|
5692
5692
|
//#endregion
|
|
5693
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5693
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/astro-island.prebuilt-dev.js
|
|
5694
5694
|
var astro_island_prebuilt_dev_default = `(()=>{var g=Object.defineProperty;var w=(c,s,d)=>s in c?g(c,s,{enumerable:!0,configurable:!0,writable:!0,value:d}):c[s]=d;var l=(c,s,d)=>w(c,typeof s!="symbol"?s+"":s,d);var E=new Set(["__proto__","constructor","prototype"]);{let c={0:t=>y(t),1:t=>d(t),2:t=>new RegExp(t),3:t=>new Date(t),4:t=>new Map(d(t)),5:t=>new Set(d(t)),6:t=>BigInt(t),7:t=>new URL(t),8:t=>new Uint8Array(t),9:t=>new Uint16Array(t),10:t=>new Uint32Array(t),11:t=>Number.POSITIVE_INFINITY*t},s=t=>{let[p,e]=t;return p in c?c[p](e):void 0},d=t=>t.map(s),y=t=>typeof t!="object"||t===null?t:Object.fromEntries(Object.entries(t).map(([p,e])=>[p,s(e)]));class f extends HTMLElement{constructor(){super(...arguments);l(this,"Component");l(this,"hydrator");l(this,"hydrate",async()=>{var b;if(!this.hydrator||!this.isConnected)return;let e=(b=this.parentElement)==null?void 0:b.closest("astro-island[ssr]");if(e){e.addEventListener("astro:hydrate",this.hydrate,{once:!0});return}let r=this.querySelectorAll("astro-slot"),n={},h=this.querySelectorAll("template[data-astro-template]");for(let o of h){let a=o.closest(this.tagName);a!=null&&a.isSameNode(this)&&(n[o.getAttribute("data-astro-template")||"default"]=o.innerHTML,o.remove())}for(let o of r){let a=o.closest(this.tagName);a!=null&&a.isSameNode(this)&&(n[o.getAttribute("name")||"default"]=o.innerHTML)}let m;try{m=this.hasAttribute("props")?y(JSON.parse(this.getAttribute("props"))):{}}catch(o){let a=this.getAttribute("component-url")||"<unknown>",v=this.getAttribute("component-export");throw v&&(a+=\` (export \${v})\`),console.error(\`[hydrate] Error parsing props for component \${a}\`,this.getAttribute("props"),o),o}let i,u=this.hydrator(this);i=performance.now(),await u(this.Component,m,n,{client:this.getAttribute("client")}),i&&this.setAttribute("client-render-time",(performance.now()-i).toString()),this.removeAttribute("ssr"),this.dispatchEvent(new CustomEvent("astro:hydrate"))});l(this,"unmount",()=>{this.isConnected||this.dispatchEvent(new CustomEvent("astro:unmount"))})}disconnectedCallback(){document.removeEventListener("astro:after-swap",this.unmount),document.addEventListener("astro:after-swap",this.unmount,{once:!0})}connectedCallback(){if(!this.hasAttribute("await-children")||document.readyState==="interactive"||document.readyState==="complete")this.childrenConnectedCallback();else{let e=()=>{document.removeEventListener("DOMContentLoaded",e),r.disconnect(),this.childrenConnectedCallback()},r=new MutationObserver(()=>{var n;((n=this.lastChild)==null?void 0:n.nodeType)===Node.COMMENT_NODE&&this.lastChild.nodeValue==="astro:end"&&(this.lastChild.remove(),e())});r.observe(this,{childList:!0}),document.addEventListener("DOMContentLoaded",e)}}async childrenConnectedCallback(){let e=this.getAttribute("before-hydration-url");e&&await import(e),this.start()}getRetryImportUrl(e){let r=new URL(e,document.baseURI);return r.searchParams.set("astro-retry",Date.now().toString()),r.toString()}async importWithRetry(e){try{return await import(e)}catch(r){return await new Promise(n=>setTimeout(n,1e3)),import(this.getRetryImportUrl(e))}}handleHydrationError(e){let r=this.getAttribute("component-url"),n=new CustomEvent("astro:hydration-error",{cancelable:!0,bubbles:!0,composed:!0,detail:{error:e,componentUrl:r}});this.dispatchEvent(n)&&console.error(\`[astro-island] Error hydrating \${r}\`,e)}async start(){let e=JSON.parse(this.getAttribute("opts")),r=this.getAttribute("client");if(Astro[r]===void 0){window.addEventListener(\`astro:\${r}\`,()=>this.start(),{once:!0});return}try{await Astro[r](async()=>{let n=this.getAttribute("renderer-url");try{let[h,{default:m}]=await Promise.all([this.importWithRetry(this.getAttribute("component-url")),n?this.importWithRetry(n):Promise.resolve({default:()=>()=>{}})]),i=this.getAttribute("component-export")||"default";if(i.includes(".")){this.Component=h;for(let u of i.split(".")){if(E.has(u)||!this.Component||typeof this.Component!="object"&&typeof this.Component!="function"||!Object.hasOwn(this.Component,u))throw new Error(\`Invalid component export path: \${i}\`);this.Component=this.Component[u]}}else{if(E.has(i))throw new Error(\`Invalid component export path: \${i}\`);this.Component=h[i]}return this.hydrator=m,this.hydrate}catch(h){return this.handleHydrationError(h),()=>{}}},e,this)}catch(n){this.handleHydrationError(n)}}attributeChangedCallback(){this.hydrate()}}l(f,"observedAttributes",["props"]),customElements.get("astro-island")||customElements.define("astro-island",f)}})();`;
|
|
5695
5695
|
//#endregion
|
|
5696
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5696
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/astro-island-styles.js
|
|
5697
5697
|
var ISLAND_STYLES = "astro-island,astro-slot,astro-static-slot{display:contents}";
|
|
5698
5698
|
//#endregion
|
|
5699
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5699
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/scripts.js
|
|
5700
5700
|
function determineIfNeedsHydrationScript(result) {
|
|
5701
5701
|
if (result._metadata.templateDepth > 0) return !result._metadata.hasHydrationScript;
|
|
5702
5702
|
if (result._metadata.hasHydrationScript) return false;
|
|
@@ -5720,7 +5720,7 @@ function getPrescripts(result, type, directive) {
|
|
|
5720
5720
|
}
|
|
5721
5721
|
}
|
|
5722
5722
|
//#endregion
|
|
5723
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5723
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/core/head-propagation/buffer.js
|
|
5724
5724
|
async function collectPropagatedHeadParts(input) {
|
|
5725
5725
|
const collectedHeadParts = [];
|
|
5726
5726
|
const pendingSlotEvaluations = input.result._metadata?.pendingSlotEvaluations ?? [];
|
|
@@ -5739,7 +5739,7 @@ async function collectPropagatedHeadParts(input) {
|
|
|
5739
5739
|
return collectedHeadParts;
|
|
5740
5740
|
}
|
|
5741
5741
|
//#endregion
|
|
5742
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5742
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/core/head-propagation/policy.js
|
|
5743
5743
|
function shouldRenderHeadInstruction(state) {
|
|
5744
5744
|
return !state.hasRenderedHead && !state.partial;
|
|
5745
5745
|
}
|
|
@@ -5750,7 +5750,7 @@ function shouldRenderInstruction$1(type, state) {
|
|
|
5750
5750
|
return type === "head" ? shouldRenderHeadInstruction(state) : shouldRenderMaybeHeadInstruction(state);
|
|
5751
5751
|
}
|
|
5752
5752
|
//#endregion
|
|
5753
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5753
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/head-propagation/runtime.js
|
|
5754
5754
|
function registerIfPropagating(result, factory, instance) {
|
|
5755
5755
|
if (factory.propagation === "self" || factory.propagation === "in-tree") {
|
|
5756
5756
|
result._metadata.propagators.add(instance);
|
|
@@ -5780,7 +5780,7 @@ function getInstructionRenderState(result) {
|
|
|
5780
5780
|
};
|
|
5781
5781
|
}
|
|
5782
5782
|
//#endregion
|
|
5783
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5783
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/core/csp/runtime.js
|
|
5784
5784
|
function normalizeCspResourceEntry(entry) {
|
|
5785
5785
|
if (typeof entry === "string") return {
|
|
5786
5786
|
resource: entry,
|
|
@@ -5851,7 +5851,7 @@ function pushDirective(directives, newDirective) {
|
|
|
5851
5851
|
return finalDirectives;
|
|
5852
5852
|
}
|
|
5853
5853
|
//#endregion
|
|
5854
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5854
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/csp.js
|
|
5855
5855
|
function renderCspContent(result) {
|
|
5856
5856
|
const { scriptDirective, styleDirective, directives } = result;
|
|
5857
5857
|
const script = partitionByKind(scriptDirective);
|
|
@@ -5906,7 +5906,7 @@ function renderSpecificDirective(name, resources, defaultResource, sharedHashes,
|
|
|
5906
5906
|
return `${name} ${[finalResources, ...hashes].filter(Boolean).join(" ")}${suffix};`;
|
|
5907
5907
|
}
|
|
5908
5908
|
//#endregion
|
|
5909
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5909
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/instruction.js
|
|
5910
5910
|
var RenderInstructionSymbol = /* @__PURE__ */ Symbol.for("astro:render");
|
|
5911
5911
|
function createRenderInstruction(instruction) {
|
|
5912
5912
|
instruction[RenderInstructionSymbol] = true;
|
|
@@ -5919,7 +5919,7 @@ function isScriptInstruction(chunk) {
|
|
|
5919
5919
|
return chunk && typeof chunk === "object" && "type" in chunk && chunk.type === "script";
|
|
5920
5920
|
}
|
|
5921
5921
|
//#endregion
|
|
5922
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
5922
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/util.js
|
|
5923
5923
|
var voidElementNames = /^(area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/i;
|
|
5924
5924
|
var htmlBooleanAttributes = /^(?:allowfullscreen|async|autofocus|autoplay|checked|controls|default|defer|disabled|disablepictureinpicture|disableremoteplayback|formnovalidate|inert|loop|muted|nomodule|novalidate|open|playsinline|readonly|required|reversed|scoped|seamless|selected|itemscope)$/i;
|
|
5925
5925
|
var AMPERSAND_REGEX = /&/g;
|
|
@@ -6087,7 +6087,7 @@ function promiseWithResolvers() {
|
|
|
6087
6087
|
};
|
|
6088
6088
|
}
|
|
6089
6089
|
//#endregion
|
|
6090
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
6090
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/head.js
|
|
6091
6091
|
function stablePropsKey(props) {
|
|
6092
6092
|
const keys = Object.keys(props).sort();
|
|
6093
6093
|
let result = "{";
|
|
@@ -6143,10 +6143,10 @@ function maybeRenderHead() {
|
|
|
6143
6143
|
return MAYBE_HEAD_INSTRUCTION;
|
|
6144
6144
|
}
|
|
6145
6145
|
//#endregion
|
|
6146
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
6146
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/server-islands-shared.js
|
|
6147
6147
|
var SERVER_ISLAND_START = "[if astro]>server-island-start<![endif]";
|
|
6148
6148
|
//#endregion
|
|
6149
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
6149
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/astro/render-template.js
|
|
6150
6150
|
var renderTemplateResultSym = /* @__PURE__ */ Symbol.for("astro.renderTemplateResult");
|
|
6151
6151
|
var markedHtmlParts = /* @__PURE__ */ new WeakMap();
|
|
6152
6152
|
function markHtmlParts(htmlParts) {
|
|
@@ -6228,7 +6228,7 @@ function renderTemplate(htmlParts, ...expressions) {
|
|
|
6228
6228
|
return new RenderTemplateResult(htmlParts, expressions);
|
|
6229
6229
|
}
|
|
6230
6230
|
//#endregion
|
|
6231
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
6231
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/slot.js
|
|
6232
6232
|
var slotString = /* @__PURE__ */ Symbol.for("astro:slot-string");
|
|
6233
6233
|
var SlotString = class extends HTMLString {
|
|
6234
6234
|
instructions;
|
|
@@ -6328,7 +6328,7 @@ function createSlotValueFromString(content) {
|
|
|
6328
6328
|
};
|
|
6329
6329
|
}
|
|
6330
6330
|
//#endregion
|
|
6331
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
6331
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/server-islands.js
|
|
6332
6332
|
var internalProps = /* @__PURE__ */ new Set([
|
|
6333
6333
|
"server:component-path",
|
|
6334
6334
|
"server:component-export",
|
|
@@ -6465,7 +6465,7 @@ var SERVER_ISLAND_REPLACER = markHTMLString(`async function replaceServerIsland(
|
|
|
6465
6465
|
s.remove();
|
|
6466
6466
|
}`.split("\n").map((line) => line.trim()).filter((line) => line && !line.startsWith("//")).join(" "));
|
|
6467
6467
|
//#endregion
|
|
6468
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
6468
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/common.js
|
|
6469
6469
|
var Fragment = /* @__PURE__ */ Symbol.for("astro:fragment");
|
|
6470
6470
|
var Renderer = /* @__PURE__ */ Symbol.for("astro:renderer");
|
|
6471
6471
|
var encoder = new TextEncoder();
|
|
@@ -6550,7 +6550,7 @@ function isRenderInstance(obj) {
|
|
|
6550
6550
|
return typeof obj === "object" && obj !== null && typeof obj.render === "function";
|
|
6551
6551
|
}
|
|
6552
6552
|
//#endregion
|
|
6553
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
6553
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/any.js
|
|
6554
6554
|
function renderChild(destination, child) {
|
|
6555
6555
|
if (typeof child === "string") {
|
|
6556
6556
|
destination.write(markHTMLString(escapeHTML(child)));
|
|
@@ -6622,7 +6622,7 @@ async function renderAsyncIterable(destination, children) {
|
|
|
6622
6622
|
for await (const value of children) await renderChild(destination, value);
|
|
6623
6623
|
}
|
|
6624
6624
|
//#endregion
|
|
6625
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
6625
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/astro/instance.js
|
|
6626
6626
|
var astroComponentInstanceSym = /* @__PURE__ */ Symbol.for("astro.componentInstance");
|
|
6627
6627
|
var CLIENT_DIRECTIVE_PREFIX = "client:";
|
|
6628
6628
|
var AstroComponentInstance = class {
|
|
@@ -6684,7 +6684,7 @@ function isAstroComponentInstance(obj) {
|
|
|
6684
6684
|
return typeof obj === "object" && obj !== null && !!obj[astroComponentInstanceSym];
|
|
6685
6685
|
}
|
|
6686
6686
|
//#endregion
|
|
6687
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
6687
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/streaming.js
|
|
6688
6688
|
var ClientOnlyPlaceholder$1 = "astro-client-only";
|
|
6689
6689
|
var TemplateFrame = class {
|
|
6690
6690
|
/** The RenderTemplateResult this frame walks. */
|
|
@@ -6899,7 +6899,7 @@ Did you forget to import the component or is it possible there is a typo?`);
|
|
|
6899
6899
|
}
|
|
6900
6900
|
}
|
|
6901
6901
|
//#endregion
|
|
6902
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
6902
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/astro/render.js
|
|
6903
6903
|
var DOCTYPE_EXP = /<!doctype html/i;
|
|
6904
6904
|
async function renderStreamToString(result, templateResult, isPage) {
|
|
6905
6905
|
let str = "";
|
|
@@ -7098,7 +7098,7 @@ function toPromise(fn) {
|
|
|
7098
7098
|
}
|
|
7099
7099
|
}
|
|
7100
7100
|
//#endregion
|
|
7101
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
7101
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/dom.js
|
|
7102
7102
|
function componentIsHTMLElement(Component) {
|
|
7103
7103
|
return typeof HTMLElement !== "undefined" && HTMLElement.isPrototypeOf(Component);
|
|
7104
7104
|
}
|
|
@@ -7117,7 +7117,7 @@ function getHTMLElementName(constructor) {
|
|
|
7117
7117
|
return constructor.name.replace(/^HTML|Element$/g, "").replace(/[A-Z]/g, "-$&").toLowerCase().replace(/^-/, "html-");
|
|
7118
7118
|
}
|
|
7119
7119
|
//#endregion
|
|
7120
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
7120
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/component.js
|
|
7121
7121
|
var needsHeadRenderingSymbol = /* @__PURE__ */ Symbol.for("astro.needsHeadRendering");
|
|
7122
7122
|
var rendererAliases = /* @__PURE__ */ new Map([["solid", "solid-js"]]);
|
|
7123
7123
|
var clientOnlyValues = /* @__PURE__ */ new Set([
|
|
@@ -7409,7 +7409,7 @@ function nonAstroPageNeedsHeadInjection(pageComponent) {
|
|
|
7409
7409
|
return !!pageComponent?.[needsHeadRenderingSymbol];
|
|
7410
7410
|
}
|
|
7411
7411
|
//#endregion
|
|
7412
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
7412
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/jsx.js
|
|
7413
7413
|
var ClientOnlyPlaceholder = "astro-client-only";
|
|
7414
7414
|
var hasTriedRenderComponentSymbol = /* @__PURE__ */ Symbol("hasTriedRenderComponent");
|
|
7415
7415
|
async function renderJSX(result, vnode) {
|
|
@@ -7504,7 +7504,7 @@ function prerenderElementChildren(tag, children) {
|
|
|
7504
7504
|
return children;
|
|
7505
7505
|
}
|
|
7506
7506
|
//#endregion
|
|
7507
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
7507
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/render/page.js
|
|
7508
7508
|
async function renderPage(result, componentFactory, props, children, streaming, route) {
|
|
7509
7509
|
if (!isAstroComponentFactory(componentFactory)) {
|
|
7510
7510
|
const nonAstroMeta = result.componentMetadata.get(componentFactory.moduleId);
|
|
@@ -7567,7 +7567,7 @@ Object.freeze(createRenderInstruction({ type: "template-exit" }));
|
|
|
7567
7567
|
"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_".split("").reduce((v, c) => (v[c.charCodeAt(0)] = c, v), []);
|
|
7568
7568
|
"-0123456789_".split("").reduce((v, c) => (v[c.charCodeAt(0)] = c, v), []);
|
|
7569
7569
|
//#endregion
|
|
7570
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
7570
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/runtime/server/index.js
|
|
7571
7571
|
function spreadAttributes(values = {}, _name, { class: scopedClassName } = {}) {
|
|
7572
7572
|
let output = "";
|
|
7573
7573
|
if (scopedClassName) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as UnsupportedImageFormat, F as NoImageMetadata, N as MissingSharp, t as AstroError } from "./
|
|
2
|
-
import { a as resolveDefaultOutputFormat, i as detector, n as baseService, r as parseQuality } from "./
|
|
3
|
-
//#region ../../node_modules/.bun/astro@7.3.5+
|
|
1
|
+
import { $ as UnsupportedImageFormat, F as NoImageMetadata, N as MissingSharp, t as AstroError } from "./errors_Bf5VCr3E.mjs";
|
|
2
|
+
import { a as resolveDefaultOutputFormat, i as detector, n as baseService, r as parseQuality } from "./node_BafXIcNi.mjs";
|
|
3
|
+
//#region ../../node_modules/.bun/astro@7.3.5+3335b8e0b249efdf/node_modules/astro/dist/assets/services/sharp.js
|
|
4
4
|
var sharp;
|
|
5
5
|
var qualityTable = {
|
|
6
6
|
low: 25,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
-
import { d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./
|
|
3
|
-
import { t as createComponent$1 } from "./
|
|
4
|
-
import { t as $$DashboardLayout } from "./
|
|
5
|
-
import { t as apiClient } from "./
|
|
2
|
+
import { d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
|
+
import { t as createComponent$1 } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BcJfVITA.mjs";
|
|
5
|
+
import { t as apiClient } from "./api_i8T-MI6L.mjs";
|
|
6
6
|
import { createComponent, escape, ssr, ssrAttribute, ssrHydrationKey, ssrStyleProperty } from "solid-js/web";
|
|
7
7
|
import { For, Show, createSignal, onMount } from "solid-js";
|
|
8
8
|
//#region src/components/apps/settings/TaxonomiesManager.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as __exportAll } from "./rolldown-runtime_BMI-E3GI.mjs";
|
|
2
|
-
import { d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./
|
|
3
|
-
import { t as createComponent } from "./
|
|
4
|
-
import { t as $$DashboardLayout } from "./
|
|
5
|
-
import { t as MediaLibrary } from "./
|
|
2
|
+
import { d as maybeRenderHead, i as renderComponent, u as renderTemplate } from "./server_B5N27szj.mjs";
|
|
3
|
+
import { t as createComponent } from "./compiler_O7J1rlsi.mjs";
|
|
4
|
+
import { t as $$DashboardLayout } from "./DashboardLayout_BcJfVITA.mjs";
|
|
5
|
+
import { t as MediaLibrary } from "./MediaLibrary_B_iV_iG_.mjs";
|
|
6
6
|
//#region src/pages/media/upload.astro
|
|
7
7
|
var upload_exports = /* @__PURE__ */ __exportAll({
|
|
8
8
|
default: () => $$Upload,
|