mnfst 0.5.309 → 0.5.310
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/lib/manifest.appwrite.data.js +1 -1
- package/lib/manifest.data.js +1 -1
- package/lib/manifest.data.min.js +1 -1
- package/lib/manifest.defer.js +1 -1
- package/lib/manifest.defer.min.js +1 -1
- package/lib/manifest.defer.min.js.map +1 -1
- package/lib/manifest.integrity.json +10 -10
- package/lib/manifest.js +2 -2
- package/lib/manifest.min.js +1 -1
- package/lib/manifest.modules.integrity.json +7 -7
- package/lib/manifest.sw.js +1 -1
- package/lib/manifest.sw.min.js +1 -1
- package/package.json +1 -1
package/lib/manifest.defer.js
CHANGED
|
@@ -68,7 +68,7 @@ function readAttrs(el) {
|
|
|
68
68
|
off: mods.includes('off'),
|
|
69
69
|
priority: mods.includes('priority') ? (parseInt(attrs[i].value, 10) || 0) : Infinity
|
|
70
70
|
};
|
|
71
|
-
} else if (OWNS_CHILDREN.has(name)) {
|
|
71
|
+
} else if (OWNS_CHILDREN.has(name) || OWNS_CHILDREN.has(name.split('.')[0])) {
|
|
72
72
|
owns = true;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){const e=new Set(["x-html","x-text","x-ignore","x-markdown","x-icon","x-svg","x-code","x-code-group","x-chart","x-carousel","x-virtual","x-combobox","x-colorpicker","x-date","x-rich-text"]),n=!!document.querySelector('script[data-defer="off"]')||!0===window.__manifestRender;let t=null;function r(){const e=window.ManifestDeferConfig;return e&&void 0!==e.routes?!0===e.routes:(null===t&&(t=!!document.querySelector("script[data-defer-routes]")),t)}const o=new Set,i=new Set;let l=!1,d=!1,s=null;const c=window.ManifestDeferConfig&&window.ManifestDeferConfig.prewarmCap||48,u=new Set;let a=-1/0,f=-1/0,p=0,h=null,m=-1/0,w=0,g=0,v=!1;const b=()=>"undefined"!=typeof performance&&performance.now?performance.now():Date.now();const y=e=>{try{return e.matches(":popover-open")}catch(e){return!1}};function A(e,n){const t=e.hasAttribute("x-route");if(t&&r()&&function(e){if(e.hasAttribute("hidden"))return!0;const n=window.ManifestRoutingVisibility;return!(!n||"function"!=typeof n.isRouteActive||n.isRouteActive(e))}(e))return"route";if(e.hasAttribute("popover"))return y(e)?null:"popover";const o=e.tagName;return"DIALOG"===o||"DETAILS"===o?e.hasAttribute("open")?null:"toggle":e.hasAttribute("hidden")&&!t?"hidden":e.hasAttribute("x-tabpanel")&&window.ensureTabsPluginInitialized?function(e){const n=(e.getAttribute("x-tabpanel")||"").replace(/["\\]/g,"\\$&"),t=e.getRootNode();return(t&&"function"==typeof t.querySelector?t:document).querySelector(`[x-tabpanel="${n}"]`)}(e)===e?null:"panel":n?"visible":null}function x(e,n){if(e.hidden||"none"===e.style.display)return!1;if(n&&e.isConnected)try{return"none"!==getComputedStyle(e).display}catch(e){}return!0}function C(e,n,t){const r=e.firstElementChild;let o;r&&"TEMPLATE"===r.tagName&&r.hasAttribute("data-mnfst-defer")&&1===e.children.length?o=r:(o=document.createElement("template"),o.setAttribute("data-mnfst-defer",""),Alpine.mutateDom(()=>{for(;e.firstChild;)o.content.appendChild(e.firstChild);e.appendChild(o)}));const s=e.__mnfstDefer={el:e,tpl:o,rule:n,lazy:!(!t||!t.lazy),discard:!(!t||!t.discard),priority:t?t.priority:1/0,urgent:!(!l||!d||b()-a>1500)&&(f!==a&&(f=a,p=0),p++<8),rendered:!1,cleanup:[]};return function(e){const{el:n,rule:t}=e,r=n=>{n?S(e):e.discard&&k(e)},o=(t,r)=>{n.addEventListener(t,r),e.cleanup.push(()=>n.removeEventListener(t,r))},i=(t,r)=>{const o=new MutationObserver(r);o.observe(n,{attributes:!0,attributeFilter:t}),e.cleanup.push(()=>o.disconnect())};if("popover"===t)o("beforetoggle",n=>{"open"===n.newState&&S(e)}),e.discard&&o("toggle",n=>{"closed"===n.newState&&k(e)});else if("toggle"===t)o("beforetoggle",n=>{"open"===n.newState&&S(e)}),o("toggle",()=>r(n.hasAttribute("open"))),i(["open"],()=>r(n.hasAttribute("open")));else if("hidden"===t){const t=()=>Alpine.onAttributeRemoved(n,"hidden",()=>{n.hasAttribute("hidden")?t():(S(e),e.discard&&t())});e.rearm=t,t(),e.discard&&i(["hidden"],()=>{n.hasAttribute("hidden")&&k(e)})}else if("route"===t){o("manifest:route-activate",()=>S(e));const t=()=>Alpine.onAttributeRemoved(n,"hidden",()=>{n.hasAttribute("hidden")||S(e),e.rendered&&!e.discard||t()});e.rearm=t,t(),e.discard&&i(["hidden"],()=>{n.hasAttribute("hidden")&&k(e)})}else"panel"===t?i(["style","x-show","x-tabpanel"],()=>r(x(n,!1))):"visible"===t&&(i(["style","hidden","class"],()=>r(x(n,!0))),queueMicrotask(()=>{!e.rendered&&x(n,!0)&&S(e)}))}(s),Alpine.onElRemoved?.(e,()=>_(s)),"route"===n?i.add(s):s.lazy||(P(s),e.closest("[x-route][hidden]")||H(s),(s.urgent||u.size<c)&&ee()),s}function E(e){const n=e.cloneNode(!0),t=n.querySelectorAll("template[x-if]");return e.querySelectorAll("template[x-if]").forEach((e,n)=>{e._x_currentIfEl&&e._x_currentIfEl===e.nextElementSibling&&t[n].nextElementSibling?.remove()}),n}function S(e,n){if(e.rendered)return void(!n&&u.delete(e)&&(e.pristine=null,ee()));e.rendered=!0,o.delete(e),n?u.add(e):(u.delete(e),F(e));const{el:t,tpl:r}=e;n&&!e.discard&&(e.pristine=E(r.content));const i=e.discard?E(r.content):r.content;Alpine.mutateDom(()=>{r.remove(),t.appendChild(i)}),Array.from(t.children).forEach(e=>Alpine.initTree(e)),t.dispatchEvent(new CustomEvent("manifest:defer-render"))}function k(e){if(!e.rendered)return;e.rendered=!1;const{el:n,tpl:t}=e;Alpine.mutateDom(()=>{for(Array.from(n.children).forEach(e=>Alpine.destroyTree(e));n.firstChild;)n.firstChild.remove();n.appendChild(t)})}function _(e){e.forgotten=!0,e.pristine=null,o.delete(e),i.delete(e),R=null,F(e),e.invoker=null,u.delete(e)&&ee()}function D(e){if(!e.rendered)return;e.rendered=!1,e.near=void 0,e.urgent=!1;const{el:n,tpl:t}=e;Alpine.mutateDom(()=>{for(Array.from(n.children).forEach(e=>Alpine.destroyTree(e));n.firstChild;)n.firstChild.remove();e.pristine&&(t.content.appendChild(e.pristine),e.pristine=null),n.appendChild(t)}),u.delete(e),P(e)}const I=e=>(v=!window.requestIdleCallback,v?setTimeout(()=>e({didTimeout:!1,timeRemaining:()=>5}),200):window.requestIdleCallback(e));function z(e){if(!l||!d)return;e&&function(){if(!$)return;const e=[];for(const n of N())!n.invoker&&n.anchor&&n.el.id&&o.has(n)&&e.push(n);if(!e.length)return;let n=null;if(e.length>8){n=new Map;for(const e of document.querySelectorAll("[popovertarget], [aria-controls]")){const t=e.getAttribute("popovertarget")||e.getAttribute("aria-controls");t&&!n.has(t)&&n.set(t,e)}}for(const t of e){const e=G(t,n);e&&(t.invoker=e,B(t,e,0))}}();const n=[];for(const e of N()){if(e.urgent||!o.has(e)||!e.el.isConnected)continue;const t=K(e);if(!t)continue;const r=Math.max(t.left-w,0,w-t.right),i=Math.max(t.top-g,0,g-t.bottom);n.push([r*r+i*i,e])}if(!n.length)return;n.sort((e,n)=>(e[1].priority===n[1].priority?0:e[1].priority<n[1].priority?-1:1)||e[0]-n[0]);let t=0;for(const[,e]of n){if(t++>=8)break;e.urgent=!0}null!==s&&(v?clearTimeout(s):window.cancelIdleCallback&&window.cancelIdleCallback(s),s=null),ee()}function T(e){a=b(),q(),e&&"number"==typeof e.clientX&&(e.clientX||e.clientY)&&(w=e.clientX,g=e.clientY),b()-m<300||(clearTimeout(h),m=b(),h=setTimeout(()=>{z(!0),h=setTimeout(()=>{z(),h=setTimeout(z,400)},150)},50))}let M=0,R=null,L=-1;const q=()=>{M++};function N(){if(R&&L===M&&R.length<2*o.size+64)return R;L=M,R=[];for(const e of[u,i])for(const n of e)n.el.isConnected||(e.delete(n),F(n));for(const e of o)e.el.isConnected?O(e)?(H(e),R.push(e)):F(e):(o.delete(e),F(e));return R}function P(e){o.add(e),R&&L===M&&O(e)&&(H(e),R.push(e))}function O(e){return e.reachAt!==M&&(e.reachAt=M,e.reach=!e.el.closest("[x-route][hidden]")),e.reach}let $=null;const X=new Map,W=6;function Y(e,n){!n.box&&e.depth+1<W&&e.anchor.parentElement?B(e,e.anchor.parentElement,e.depth+1):(e.box=n.box,e.ioNear=n.near)}function j(e){for(const n of e){const e=X.get(n.target);if(!e)continue;const t=n.boundingClientRect;e.seen=!0,e.box=t.width||t.height?t:null,e.near=!!e.box&&n.isIntersecting;for(const n of Array.from(e.recs))Y(n,e)}}function B(e,n,t){F(e),e.anchor=n,e.depth=t,e.box=void 0,e.ioNear=void 0;let r=X.get(n);r||(X.set(n,r={recs:new Set,box:void 0,near:!1,seen:!1}),$.observe(n)),r.recs.add(e),r.seen&&Y(e,r)}function F(e){const n=e.anchor;if(!n)return;e.anchor=null,e.box=void 0,e.ioNear=void 0;const t=X.get(n);t&&(t.recs.delete(e),t.recs.size||(X.delete(n),$.unobserve(n)))}function G(e,n){const t=e.el;if(!t.id)return null;if(n)return n.get(t.id)||null;if(!window.CSS||!CSS.escape)return null;const r=CSS.escape(t.id);return document.querySelector(`[popovertarget="${r}"], [aria-controls="${r}"]`)}function H(e){if(e.anchor||(null===$&&($="function"==typeof IntersectionObserver&&new IntersectionObserver(j)),!$)||!e.el.isConnected)return;void 0===e.invoker&&(e.invoker=G(e));const n=e.invoker&&e.invoker.isConnected?e.invoker:e.el.parentElement;n&&B(e,n,0)}function V(e){const n=e.el;(void 0===e.invoker||null===e.invoker&&!$)&&(e.invoker=G(e));let t=e.invoker&&e.invoker.isConnected?e.invoker:n.parentElement;for(let e=0;t&&e<W;t=t.parentElement,e++){const e=t.getBoundingClientRect();if(e.width||e.height)return e}return null}const J=e=>!!e&&e.bottom>0&&e.top<window.innerHeight&&e.right>0&&e.left<window.innerWidth;function K(e){if(void 0!==e.box)return e.ioNear?e.box:null;if(e.anchor)return null;const n=V(e);return e.near=J(n),e.near?n:null}function Q(e){return void 0!==e.box?!!e.ioNear:!e.anchor&&(void 0===e.near&&(e.near=J(V(e))),e.near)}function U(e){return(e.urgent?0:4)+(Q(e)?0:2)}function Z(){let e=null,n=0;for(const t of N()){if(!o.has(t))continue;if(!t.el.isConnected){o.delete(t),F(t);continue}const r=U(t);(!e||r<n||r===n&&t.priority<e.priority)&&(e=t,n=r)}return e}function ee(){if(0===o.size)return void(l&&(d=!0));if(null!==s||!l)return;const e=Z();e?!e.urgent&&u.size>=c||(s=I(e=>{s=null;let n=0;for(;n<2&&(0===n||e&&e.timeRemaining()>4)&&(!e||!e.didTimeout);){const e=Z();if(!e)break;if(!e.urgent&&u.size>=c)break;if(!$)for(const e of o)e.near=void 0;S(e,!0),n++}!function(){if(!(u.size<=c)){for(const e of u)e.near=void 0;for(;u.size>c;){let e=null,n=-1;for(const t of u){if(!t.el.isConnected){u.delete(t),F(t);continue}if("popover"===t.rule&&y(t.el))continue;const r=(t.urgent?0:4)+(O(t)?0:2)+(Q(t)?0:1);r>n&&(e=t,n=r)}if(!e)return;D(e)}}}(),ee()})):l&&(d=!0)}function ne(){if(l)return;l=!0,ee();const e=()=>{d=!0};setTimeout(window.ManifestPending?.background?.(e)??e,5e3)}function te(t){if(n||!window.Alpine||!t||1!==t.nodeType)return null;if(t.__mnfstDefer)return t.__mnfstDefer;const{opts:r,owns:o}=function(n){const t=n.attributes;let r=null,o=!1;for(let n=0;n<t.length;n++){const i=t[n].name;if(120===i.charCodeAt(0))if("x-defer"===i||i.startsWith("x-defer.")){const e=i.split(".").slice(1);r={lazy:e.includes("lazy"),discard:e.includes("discard"),off:e.includes("off"),priority:e.includes("priority")?parseInt(t[n].value,10)||0:1/0}}else e.has(i)&&(o=!0)}return{opts:r,owns:o}}(t);if(o||r&&r.off)return null;const i=A(t,!!r);return i&&t.firstElementChild?C(t,i,r):null}function re(e,n){var t;e.__mnfstDefer?(t=e.__mnfstDefer).forgotten&&(t.forgotten=!1,Alpine.onElRemoved?.(t.el,()=>_(t)),t.rendered||(t.rearm?.(),"route"===t.rule?i.add(t):t.lazy||(P(t),H(t),ee()))):te(e)&&n()}function oe(){Alpine.directive("defer",()=>{}),n||Alpine.interceptInit(Alpine.skipDuringClone(re)),["pointerdown","keydown"].forEach(e=>document.addEventListener(e,T,{capture:!0,passive:!0})),["manifest:route-change","manifest:components-processed"].forEach(e=>window.addEventListener(e,q)),window.__manifestReady?ne():(window.addEventListener("manifest:ready",ne,{once:!0}),window.__manifestLoaderStarted||("complete"===document.readyState?setTimeout(ne,0):window.addEventListener("load",ne,{once:!0})))}window.ManifestDefer={enabled:!n,defer:te,render:e=>{e&&e.__mnfstDefer&&S(e.__mnfstDefer)},isPending:e=>!(!e||!e.__mnfstDefer||e.__mnfstDefer.rendered),stats:()=>({pending:o.size,warm:u.size,cap:c,ready:l,bootDrained:d,armed:null!==s,observed:X.size,head:(()=>{const e=Z();return e?e.el.id||e.el.tagName:null})(),routes:{enabled:r(),stashed:Array.from(i).filter(e=>!e.rendered).length,rendered:Array.from(i).filter(e=>e.rendered).length}})},window.Manifest&&"object"==typeof window.Manifest&&(window.Manifest.defer=te);let ie=!1;function le(){ie||window.Alpine&&"function"==typeof window.Alpine.interceptInit&&(ie=!0,oe())}if(window.ensureDeferPluginInitialized=le,"loading"===document.readyState&&document.addEventListener("DOMContentLoaded",le),document.addEventListener("alpine:init",le),window.Alpine&&"function"==typeof window.Alpine.interceptInit)le();else{const e=setInterval(()=>{window.Alpine&&"function"==typeof window.Alpine.interceptInit&&(clearInterval(e),le())},10),n=()=>clearInterval(e);setTimeout(window.ManifestPending?.background?.(n)??n,5e3)}}();
|
|
1
|
+
!function(){const e=new Set(["x-html","x-text","x-ignore","x-markdown","x-icon","x-svg","x-code","x-code-group","x-chart","x-carousel","x-virtual","x-combobox","x-colorpicker","x-date","x-rich-text"]),n=!!document.querySelector('script[data-defer="off"]')||!0===window.__manifestRender;let t=null;function r(){const e=window.ManifestDeferConfig;return e&&void 0!==e.routes?!0===e.routes:(null===t&&(t=!!document.querySelector("script[data-defer-routes]")),t)}const o=new Set,i=new Set;let l=!1,d=!1,s=null;const c=window.ManifestDeferConfig&&window.ManifestDeferConfig.prewarmCap||48,a=new Set;let u=-1/0,f=-1/0,p=0,h=null,m=-1/0,w=0,g=0,v=!1;const b=()=>"undefined"!=typeof performance&&performance.now?performance.now():Date.now();const y=e=>{try{return e.matches(":popover-open")}catch(e){return!1}};function A(e,n){const t=e.hasAttribute("x-route");if(t&&r()&&function(e){if(e.hasAttribute("hidden"))return!0;const n=window.ManifestRoutingVisibility;return!(!n||"function"!=typeof n.isRouteActive||n.isRouteActive(e))}(e))return"route";if(e.hasAttribute("popover"))return y(e)?null:"popover";const o=e.tagName;return"DIALOG"===o||"DETAILS"===o?e.hasAttribute("open")?null:"toggle":e.hasAttribute("hidden")&&!t?"hidden":e.hasAttribute("x-tabpanel")&&window.ensureTabsPluginInitialized?function(e){const n=(e.getAttribute("x-tabpanel")||"").replace(/["\\]/g,"\\$&"),t=e.getRootNode();return(t&&"function"==typeof t.querySelector?t:document).querySelector(`[x-tabpanel="${n}"]`)}(e)===e?null:"panel":n?"visible":null}function x(e,n){if(e.hidden||"none"===e.style.display)return!1;if(n&&e.isConnected)try{return"none"!==getComputedStyle(e).display}catch(e){}return!0}function C(e,n,t){const r=e.firstElementChild;let o;r&&"TEMPLATE"===r.tagName&&r.hasAttribute("data-mnfst-defer")&&1===e.children.length?o=r:(o=document.createElement("template"),o.setAttribute("data-mnfst-defer",""),Alpine.mutateDom(()=>{for(;e.firstChild;)o.content.appendChild(e.firstChild);e.appendChild(o)}));const s=e.__mnfstDefer={el:e,tpl:o,rule:n,lazy:!(!t||!t.lazy),discard:!(!t||!t.discard),priority:t?t.priority:1/0,urgent:!(!l||!d||b()-u>1500)&&(f!==u&&(f=u,p=0),p++<8),rendered:!1,cleanup:[]};return function(e){const{el:n,rule:t}=e,r=n=>{n?S(e):e.discard&&k(e)},o=(t,r)=>{n.addEventListener(t,r),e.cleanup.push(()=>n.removeEventListener(t,r))},i=(t,r)=>{const o=new MutationObserver(r);o.observe(n,{attributes:!0,attributeFilter:t}),e.cleanup.push(()=>o.disconnect())};if("popover"===t)o("beforetoggle",n=>{"open"===n.newState&&S(e)}),e.discard&&o("toggle",n=>{"closed"===n.newState&&k(e)});else if("toggle"===t)o("beforetoggle",n=>{"open"===n.newState&&S(e)}),o("toggle",()=>r(n.hasAttribute("open"))),i(["open"],()=>r(n.hasAttribute("open")));else if("hidden"===t){const t=()=>Alpine.onAttributeRemoved(n,"hidden",()=>{n.hasAttribute("hidden")?t():(S(e),e.discard&&t())});e.rearm=t,t(),e.discard&&i(["hidden"],()=>{n.hasAttribute("hidden")&&k(e)})}else if("route"===t){o("manifest:route-activate",()=>S(e));const t=()=>Alpine.onAttributeRemoved(n,"hidden",()=>{n.hasAttribute("hidden")||S(e),e.rendered&&!e.discard||t()});e.rearm=t,t(),e.discard&&i(["hidden"],()=>{n.hasAttribute("hidden")&&k(e)})}else"panel"===t?i(["style","x-show","x-tabpanel"],()=>r(x(n,!1))):"visible"===t&&(i(["style","hidden","class"],()=>r(x(n,!0))),queueMicrotask(()=>{!e.rendered&&x(n,!0)&&S(e)}))}(s),Alpine.onElRemoved?.(e,()=>_(s)),"route"===n?i.add(s):s.lazy||(P(s),e.closest("[x-route][hidden]")||H(s),(s.urgent||a.size<c)&&ee()),s}function E(e){const n=e.cloneNode(!0),t=n.querySelectorAll("template[x-if]");return e.querySelectorAll("template[x-if]").forEach((e,n)=>{e._x_currentIfEl&&e._x_currentIfEl===e.nextElementSibling&&t[n].nextElementSibling?.remove()}),n}function S(e,n){if(e.rendered)return void(!n&&a.delete(e)&&(e.pristine=null,ee()));e.rendered=!0,o.delete(e),n?a.add(e):(a.delete(e),F(e));const{el:t,tpl:r}=e;n&&!e.discard&&(e.pristine=E(r.content));const i=e.discard?E(r.content):r.content;Alpine.mutateDom(()=>{r.remove(),t.appendChild(i)}),Array.from(t.children).forEach(e=>Alpine.initTree(e)),t.dispatchEvent(new CustomEvent("manifest:defer-render"))}function k(e){if(!e.rendered)return;e.rendered=!1;const{el:n,tpl:t}=e;Alpine.mutateDom(()=>{for(Array.from(n.children).forEach(e=>Alpine.destroyTree(e));n.firstChild;)n.firstChild.remove();n.appendChild(t)})}function _(e){e.forgotten=!0,e.pristine=null,o.delete(e),i.delete(e),R=null,F(e),e.invoker=null,a.delete(e)&&ee()}function D(e){if(!e.rendered)return;e.rendered=!1,e.near=void 0,e.urgent=!1;const{el:n,tpl:t}=e;Alpine.mutateDom(()=>{for(Array.from(n.children).forEach(e=>Alpine.destroyTree(e));n.firstChild;)n.firstChild.remove();e.pristine&&(t.content.appendChild(e.pristine),e.pristine=null),n.appendChild(t)}),a.delete(e),P(e)}const I=e=>(v=!window.requestIdleCallback,v?setTimeout(()=>e({didTimeout:!1,timeRemaining:()=>5}),200):window.requestIdleCallback(e));function z(e){if(!l||!d)return;e&&function(){if(!$)return;const e=[];for(const n of N())!n.invoker&&n.anchor&&n.el.id&&o.has(n)&&e.push(n);if(!e.length)return;let n=null;if(e.length>8){n=new Map;for(const e of document.querySelectorAll("[popovertarget], [aria-controls]")){const t=e.getAttribute("popovertarget")||e.getAttribute("aria-controls");t&&!n.has(t)&&n.set(t,e)}}for(const t of e){const e=G(t,n);e&&(t.invoker=e,B(t,e,0))}}();const n=[];for(const e of N()){if(e.urgent||!o.has(e)||!e.el.isConnected)continue;const t=K(e);if(!t)continue;const r=Math.max(t.left-w,0,w-t.right),i=Math.max(t.top-g,0,g-t.bottom);n.push([r*r+i*i,e])}if(!n.length)return;n.sort((e,n)=>(e[1].priority===n[1].priority?0:e[1].priority<n[1].priority?-1:1)||e[0]-n[0]);let t=0;for(const[,e]of n){if(t++>=8)break;e.urgent=!0}null!==s&&(v?clearTimeout(s):window.cancelIdleCallback&&window.cancelIdleCallback(s),s=null),ee()}function T(e){u=b(),q(),e&&"number"==typeof e.clientX&&(e.clientX||e.clientY)&&(w=e.clientX,g=e.clientY),b()-m<300||(clearTimeout(h),m=b(),h=setTimeout(()=>{z(!0),h=setTimeout(()=>{z(),h=setTimeout(z,400)},150)},50))}let M=0,R=null,L=-1;const q=()=>{M++};function N(){if(R&&L===M&&R.length<2*o.size+64)return R;L=M,R=[];for(const e of[a,i])for(const n of e)n.el.isConnected||(e.delete(n),F(n));for(const e of o)e.el.isConnected?O(e)?(H(e),R.push(e)):F(e):(o.delete(e),F(e));return R}function P(e){o.add(e),R&&L===M&&O(e)&&(H(e),R.push(e))}function O(e){return e.reachAt!==M&&(e.reachAt=M,e.reach=!e.el.closest("[x-route][hidden]")),e.reach}let $=null;const X=new Map,W=6;function Y(e,n){!n.box&&e.depth+1<W&&e.anchor.parentElement?B(e,e.anchor.parentElement,e.depth+1):(e.box=n.box,e.ioNear=n.near)}function j(e){for(const n of e){const e=X.get(n.target);if(!e)continue;const t=n.boundingClientRect;e.seen=!0,e.box=t.width||t.height?t:null,e.near=!!e.box&&n.isIntersecting;for(const n of Array.from(e.recs))Y(n,e)}}function B(e,n,t){F(e),e.anchor=n,e.depth=t,e.box=void 0,e.ioNear=void 0;let r=X.get(n);r||(X.set(n,r={recs:new Set,box:void 0,near:!1,seen:!1}),$.observe(n)),r.recs.add(e),r.seen&&Y(e,r)}function F(e){const n=e.anchor;if(!n)return;e.anchor=null,e.box=void 0,e.ioNear=void 0;const t=X.get(n);t&&(t.recs.delete(e),t.recs.size||(X.delete(n),$.unobserve(n)))}function G(e,n){const t=e.el;if(!t.id)return null;if(n)return n.get(t.id)||null;if(!window.CSS||!CSS.escape)return null;const r=CSS.escape(t.id);return document.querySelector(`[popovertarget="${r}"], [aria-controls="${r}"]`)}function H(e){if(e.anchor||(null===$&&($="function"==typeof IntersectionObserver&&new IntersectionObserver(j)),!$)||!e.el.isConnected)return;void 0===e.invoker&&(e.invoker=G(e));const n=e.invoker&&e.invoker.isConnected?e.invoker:e.el.parentElement;n&&B(e,n,0)}function V(e){const n=e.el;(void 0===e.invoker||null===e.invoker&&!$)&&(e.invoker=G(e));let t=e.invoker&&e.invoker.isConnected?e.invoker:n.parentElement;for(let e=0;t&&e<W;t=t.parentElement,e++){const e=t.getBoundingClientRect();if(e.width||e.height)return e}return null}const J=e=>!!e&&e.bottom>0&&e.top<window.innerHeight&&e.right>0&&e.left<window.innerWidth;function K(e){if(void 0!==e.box)return e.ioNear?e.box:null;if(e.anchor)return null;const n=V(e);return e.near=J(n),e.near?n:null}function Q(e){return void 0!==e.box?!!e.ioNear:!e.anchor&&(void 0===e.near&&(e.near=J(V(e))),e.near)}function U(e){return(e.urgent?0:4)+(Q(e)?0:2)}function Z(){let e=null,n=0;for(const t of N()){if(!o.has(t))continue;if(!t.el.isConnected){o.delete(t),F(t);continue}const r=U(t);(!e||r<n||r===n&&t.priority<e.priority)&&(e=t,n=r)}return e}function ee(){if(0===o.size)return void(l&&(d=!0));if(null!==s||!l)return;const e=Z();e?!e.urgent&&a.size>=c||(s=I(e=>{s=null;let n=0;for(;n<2&&(0===n||e&&e.timeRemaining()>4)&&(!e||!e.didTimeout);){const e=Z();if(!e)break;if(!e.urgent&&a.size>=c)break;if(!$)for(const e of o)e.near=void 0;S(e,!0),n++}!function(){if(!(a.size<=c)){for(const e of a)e.near=void 0;for(;a.size>c;){let e=null,n=-1;for(const t of a){if(!t.el.isConnected){a.delete(t),F(t);continue}if("popover"===t.rule&&y(t.el))continue;const r=(t.urgent?0:4)+(O(t)?0:2)+(Q(t)?0:1);r>n&&(e=t,n=r)}if(!e)return;D(e)}}}(),ee()})):l&&(d=!0)}function ne(){if(l)return;l=!0,ee();const e=()=>{d=!0};setTimeout(window.ManifestPending?.background?.(e)??e,5e3)}function te(t){if(n||!window.Alpine||!t||1!==t.nodeType)return null;if(t.__mnfstDefer)return t.__mnfstDefer;const{opts:r,owns:o}=function(n){const t=n.attributes;let r=null,o=!1;for(let n=0;n<t.length;n++){const i=t[n].name;if(120===i.charCodeAt(0))if("x-defer"===i||i.startsWith("x-defer.")){const e=i.split(".").slice(1);r={lazy:e.includes("lazy"),discard:e.includes("discard"),off:e.includes("off"),priority:e.includes("priority")?parseInt(t[n].value,10)||0:1/0}}else(e.has(i)||e.has(i.split(".")[0]))&&(o=!0)}return{opts:r,owns:o}}(t);if(o||r&&r.off)return null;const i=A(t,!!r);return i&&t.firstElementChild?C(t,i,r):null}function re(e,n){var t;e.__mnfstDefer?(t=e.__mnfstDefer).forgotten&&(t.forgotten=!1,Alpine.onElRemoved?.(t.el,()=>_(t)),t.rendered||(t.rearm?.(),"route"===t.rule?i.add(t):t.lazy||(P(t),H(t),ee()))):te(e)&&n()}function oe(){Alpine.directive("defer",()=>{}),n||Alpine.interceptInit(Alpine.skipDuringClone(re)),["pointerdown","keydown"].forEach(e=>document.addEventListener(e,T,{capture:!0,passive:!0})),["manifest:route-change","manifest:components-processed"].forEach(e=>window.addEventListener(e,q)),window.__manifestReady?ne():(window.addEventListener("manifest:ready",ne,{once:!0}),window.__manifestLoaderStarted||("complete"===document.readyState?setTimeout(ne,0):window.addEventListener("load",ne,{once:!0})))}window.ManifestDefer={enabled:!n,defer:te,render:e=>{e&&e.__mnfstDefer&&S(e.__mnfstDefer)},isPending:e=>!(!e||!e.__mnfstDefer||e.__mnfstDefer.rendered),stats:()=>({pending:o.size,warm:a.size,cap:c,ready:l,bootDrained:d,armed:null!==s,observed:X.size,head:(()=>{const e=Z();return e?e.el.id||e.el.tagName:null})(),routes:{enabled:r(),stashed:Array.from(i).filter(e=>!e.rendered).length,rendered:Array.from(i).filter(e=>e.rendered).length}})},window.Manifest&&"object"==typeof window.Manifest&&(window.Manifest.defer=te);let ie=!1;function le(){ie||window.Alpine&&"function"==typeof window.Alpine.interceptInit&&(ie=!0,oe())}if(window.ensureDeferPluginInitialized=le,"loading"===document.readyState&&document.addEventListener("DOMContentLoaded",le),document.addEventListener("alpine:init",le),window.Alpine&&"function"==typeof window.Alpine.interceptInit)le();else{const e=setInterval(()=>{window.Alpine&&"function"==typeof window.Alpine.interceptInit&&(clearInterval(e),le())},10),n=()=>clearInterval(e);setTimeout(window.ManifestPending?.background?.(n)??n,5e3)}}();
|
|
2
2
|
//# sourceMappingURL=manifest.defer.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.defer.min.js","names":["OWNS_CHILDREN","Set","killed","document","querySelector","window","__manifestRender","routesScriptFlag","routesOn","cfg","ManifestDeferConfig","undefined","routes","pending","ready","bootDrained","idleHandle","PREWARM_CAP","prewarmCap","warm","lastGestureAt","Infinity","urgentWindowAt","urgentInWindow","promoteTimer","lastPromoteAt","gestureX","gestureY","idleIsTimer","now","performance","Date","isPopoverOpen","el","matches","_","ruleFor","explicit","isRoute","hasAttribute","vis","ManifestRoutingVisibility","isRouteActive","routeInactive","tag","tagName","ensureTabsPluginInitialized","set","getAttribute","replace","root","getRootNode","firstPanel","shown","computed","hidden","style","display","isConnected","getComputedStyle","register","rule","opts","existing","firstElementChild","tpl","children","length","createElement","setAttribute","Alpine","mutateDom","firstChild","content","appendChild","rec","__mnfstDefer","lazy","discard","priority","urgent","rendered","cleanup","onState","open","render","teardown","listen","type","fn","addEventListener","push","removeEventListener","observe","attrs","mo","MutationObserver","attributes","attributeFilter","disconnect","e","newState","arm","onAttributeRemoved","rearm","queueMicrotask","wire","onElRemoved","forget","add","addPending","closest","track","size","schedule","pristineCopy","fragment","copy","cloneNode","copies","querySelectorAll","forEach","t","i","_x_currentIfEl","nextElementSibling","remove","viaPrewarm","delete","pristine","untrack","Array","from","child","initTree","dispatchEvent","CustomEvent","destroyTree","forgotten","pool","invoker","restash","near","idle","requestIdleCallback","setTimeout","didTimeout","timeRemaining","IDLE_BUDGET_MS","promoteNearViewport","first","io","orphans","reachablePending","anchor","id","has","map","Map","inv","invokerFor","anchorTo","refreshInvokers","candidates","r","nearRect","dx","Math","max","left","right","dy","top","bottom","sort","a","b","n","clearTimeout","cancelIdleCallback","onGesture","bumpReach","clientX","clientY","reachEpoch","poolEpoch","reachable","reachAt","reach","anchors","MAX_DEPTH","applyAnchor","box","depth","parentElement","ioNear","onIntersect","entries","get","target","boundingClientRect","seen","width","height","isIntersecting","recs","unobserve","CSS","escape","IntersectionObserver","start","anchorRect","p","getBoundingClientRect","inViewport","innerHeight","innerWidth","isNear","rank","next","best","bestRank","head","deadline","other","victim","score","sc","evict","markReady","drained","ManifestPending","background","defer","nodeType","owns","name","charCodeAt","startsWith","mods","split","slice","includes","off","parseInt","value","readAttrs","intercept","skip","initializeDeferPlugin","directive","interceptInit","skipDuringClone","capture","passive","__manifestReady","once","__manifestLoaderStarted","readyState","ManifestDefer","enabled","isPending","stats","cap","armed","observed","h","stashed","filter","Manifest","deferPluginInitialized","ensureDeferPluginInitialized","checkAlpine","setInterval","clearInterval","giveUp"],"sources":["manifest.defer.js"],"mappings":"CAEA,WAIA,MAAMA,EAAgB,IAAIC,IAAI,CAC1B,SAAU,SAAU,WAAY,aAAc,SAAU,QAAS,SAAU,eAC3E,UAAW,aAAc,YAAa,aAAc,gBAAiB,SAAU,gBAI7EC,IAAWC,SAASC,cAAc,8BAA2D,IAA5BC,OAAOC,iBAG9E,IAAIC,EAAmB,KACvB,SAASC,IACL,MAAMC,EAAMJ,OAAOK,oBACnB,OAAID,QAAsBE,IAAfF,EAAIG,QAA4C,IAAfH,EAAIG,QACvB,OAArBL,IAA2BA,IAAqBJ,SAASC,cAAc,8BACpEG,EACX,CAEA,MAAMM,EAAU,IAAIZ,IACdW,EAAS,IAAIX,IACnB,IAAIa,GAAQ,EACRC,GAAc,EACdC,EAAa,KAGjB,MAEMC,EAAeZ,OAAOK,qBAAuBL,OAAOK,oBAAoBQ,YAAe,GAGvFC,EAAO,IAAIlB,IACjB,IAAImB,GAAiBC,IACjBC,GAAkBD,IAClBE,EAAiB,EACjBC,EAAe,KACfC,GAAiBJ,IACjBK,EAAW,EAAGC,EAAW,EACzBC,GAAc,EAClB,MAAMC,EAAM,IAA8B,oBAAhBC,aAA+BA,YAAYD,IAAOC,YAAYD,MAAQE,KAAKF,MAUrG,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2C,cAAiB3C,EAAG2C,aAAaK,UAChEqL,MAAO,KAAM,CACTzP,QAASA,EAAQoG,KAAM9F,KAAMA,EAAK8F,KAAMsJ,IAAKtP,EAAaH,QAAOC,cAAayP,MAAsB,OAAfxP,EAAqByP,SAAU5E,EAAQ5E,KAC5H6G,KAAM,MAAS,MAAM4C,EAAI/C,IAAQ,OAAO+C,EAAKA,EAAEzO,GAAG0H,IAAM+G,EAAEzO,GAAGY,QAAW,IAAO,EAAzE,GACNjC,OAAQ,CAAEwP,QAAS5P,IAAYmQ,QAASxI,MAAMC,KAAKxH,GAAQgQ,OAAQxG,IAAOA,EAAEnF,UAAUd,OAAQc,SAAUkD,MAAMC,KAAKxH,GAAQgQ,OAAQxG,GAAMA,EAAEnF,UAAUd,WAGzJ9D,OAAOwQ,UAAuC,iBAApBxQ,OAAOwQ,WAAuBxQ,OAAOwQ,SAASpC,MAAQA,IAIpF,IAAIqC,IAAyB,EAE7B,SAASC,KACDD,IACCzQ,OAAOiE,QAAiD,mBAAhCjE,OAAOiE,OAAOqL,gBAC3CmB,IAAyB,EACzBrB,KACJ,CASA,GAPApP,OAAO0Q,6BAA+BA,GAEV,YAAxB5Q,SAAS+P,YACT/P,SAASuF,iBAAiB,mBAAoBqL,IAElD5Q,SAASuF,iBAAiB,cAAeqL,IAErC1Q,OAAOiE,QAAiD,mBAAhCjE,OAAOiE,OAAOqL,cACtCoB,SACG,CACH,MAAMC,EAAcC,YAAY,KACxB5Q,OAAOiE,QAAiD,mBAAhCjE,OAAOiE,OAAOqL,gBACtCuB,cAAcF,GACdD,OAEL,IACGI,EAAS,IAAMD,cAAcF,GACnC/H,WAAW5I,OAAOkO,iBAAiBC,aAAa2C,IAAWA,EAAQ,IACvE,CAEC,CA/lBD","ignoreList":[]}
|
|
1
|
+
{"version":3,"file":"manifest.defer.min.js","names":["OWNS_CHILDREN","Set","killed","document","querySelector","window","__manifestRender","routesScriptFlag","routesOn","cfg","ManifestDeferConfig","undefined","routes","pending","ready","bootDrained","idleHandle","PREWARM_CAP","prewarmCap","warm","lastGestureAt","Infinity","urgentWindowAt","urgentInWindow","promoteTimer","lastPromoteAt","gestureX","gestureY","idleIsTimer","now","performance","Date","isPopoverOpen","el","matches","_","ruleFor","explicit","isRoute","hasAttribute","vis","ManifestRoutingVisibility","isRouteActive","routeInactive","tag","tagName","ensureTabsPluginInitialized","set","getAttribute","replace","root","getRootNode","firstPanel","shown","computed","hidden","style","display","isConnected","getComputedStyle","register","rule","opts","existing","firstElementChild","tpl","children","length","createElement","setAttribute","Alpine","mutateDom","firstChild","content","appendChild","rec","__mnfstDefer","lazy","discard","priority","urgent","rendered","cleanup","onState","open","render","teardown","listen","type","fn","addEventListener","push","removeEventListener","observe","attrs","mo","MutationObserver","attributes","attributeFilter","disconnect","e","newState","arm","onAttributeRemoved","rearm","queueMicrotask","wire","onElRemoved","forget","add","addPending","closest","track","size","schedule","pristineCopy","fragment","copy","cloneNode","copies","querySelectorAll","forEach","t","i","_x_currentIfEl","nextElementSibling","remove","viaPrewarm","delete","pristine","untrack","Array","from","child","initTree","dispatchEvent","CustomEvent","destroyTree","forgotten","pool","invoker","restash","near","idle","requestIdleCallback","setTimeout","didTimeout","timeRemaining","IDLE_BUDGET_MS","promoteNearViewport","first","io","orphans","reachablePending","anchor","id","has","map","Map","inv","invokerFor","anchorTo","refreshInvokers","candidates","r","nearRect","dx","Math","max","left","right","dy","top","bottom","sort","a","b","n","clearTimeout","cancelIdleCallback","onGesture","bumpReach","clientX","clientY","reachEpoch","poolEpoch","reachable","reachAt","reach","anchors","MAX_DEPTH","applyAnchor","box","depth","parentElement","ioNear","onIntersect","entries","get","target","boundingClientRect","seen","width","height","isIntersecting","recs","unobserve","CSS","escape","IntersectionObserver","start","anchorRect","p","getBoundingClientRect","inViewport","innerHeight","innerWidth","isNear","rank","next","best","bestRank","head","deadline","other","victim","score","sc","evict","markReady","drained","ManifestPending","background","defer","nodeType","owns","name","charCodeAt","startsWith","mods","split","slice","includes","off","parseInt","value","readAttrs","intercept","skip","initializeDeferPlugin","directive","interceptInit","skipDuringClone","capture","passive","__manifestReady","once","__manifestLoaderStarted","readyState","ManifestDefer","enabled","isPending","stats","cap","armed","observed","h","stashed","filter","Manifest","deferPluginInitialized","ensureDeferPluginInitialized","checkAlpine","setInterval","clearInterval","giveUp"],"sources":["manifest.defer.js"],"mappings":"CAEA,WAIA,MAAMA,EAAgB,IAAIC,IAAI,CAC1B,SAAU,SAAU,WAAY,aAAc,SAAU,QAAS,SAAU,eAC3E,UAAW,aAAc,YAAa,aAAc,gBAAiB,SAAU,gBAI7EC,IAAWC,SAASC,cAAc,8BAA2D,IAA5BC,OAAOC,iBAG9E,IAAIC,EAAmB,KACvB,SAASC,IACL,MAAMC,EAAMJ,OAAOK,oBACnB,OAAID,QAAsBE,IAAfF,EAAIG,QAA4C,IAAfH,EAAIG,QACvB,OAArBL,IAA2BA,IAAqBJ,SAASC,cAAc,8BACpEG,EACX,CAEA,MAAMM,EAAU,IAAIZ,IACdW,EAAS,IAAIX,IACnB,IAAIa,GAAQ,EACRC,GAAc,EACdC,EAAa,KAGjB,MAEMC,EAAeZ,OAAOK,qBAAuBL,OAAOK,oBAAoBQ,YAAe,GAGvFC,EAAO,IAAIlB,IACjB,IAAImB,GAAiBC,IACjBC,GAAkBD,IAClBE,EAAiB,EACjBC,EAAe,KACfC,GAAiBJ,IACjBK,EAAW,EAAGC,EAAW,EACzBC,GAAc,EAClB,MAAMC,EAAM,IAA8B,oBAAhBC,aAA+BA,YAAYD,IAAOC,YAAYD,MAAQE,KAAKF,MAUrG,MAAMG,EAAiBC,IAAS,IAAM,OAAOA,EAAGC,QAAQ,gBAAkB,CAAE,MAAOC,GAAK,OAAO,CAAO,GAwCtG,SAASC,EAAQH,EAAII,GACjB,MAAMC,EAAUL,EAAGM,aAAa,WAChC,GAAID,GAAW9B,KATnB,SAAuByB,GACnB,GAAIA,EAAGM,aAAa,UAAW,OAAO,EACtC,MAAMC,EAAMnC,OAAOoC,0BAC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oWEGNvp",
|
|
5
|
-
"manifest.appwrite.data.js": "sha384-
|
|
5
|
+
"manifest.appwrite.data.js": "sha384-tCPCGVAchCElogq4wkTINpt9myDUYmPt+SCCWQlaiVURdP+Tpfm1LkL2hT2NwIcy",
|
|
6
6
|
"manifest.appwrite.data.min.js": "sha384-0fTVQE2rvA0T/qiXgSxe9YZDezipYFzrsSqnDcN8Xh6Vij1Pt/b3M6xySEqUtTjK",
|
|
7
7
|
"manifest.appwrite.presences.js": "sha384-O3EedwV2QTzd4YotjvGPsDHbxaGbtRaZuNopC7/Cfoo5uYPo8ZHYkCPCWurXpA2/",
|
|
8
8
|
"manifest.appwrite.presences.min.js": "sha384-7AHt7baL29VI3S1Nbkkyq34j2eJ2ysGpDnllmpXXSlc4GHvTk5hdCrXra2R3mSfH",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"manifest.computed.js": "sha384-GYML/e81gQfN+iDbqhPUgny8bINCyL+SrbTofoGk4hlCnLLjv51mCv42JMqq+ku5",
|
|
36
36
|
"manifest.computed.min.js": "sha384-90LbCcEOhrjhxi0GWBRb3DJyOkKWLRwzK7Z2nkbc1uaZ5B9EGmNKqx+mstTLWFGJ",
|
|
37
37
|
"manifest.css": "sha384-WvntWYbbzn/qhMLloLI/aTaw1TIuYuPuISMLLBaC2ELhmFPYu1rix/WNzyDeG/Z+",
|
|
38
|
-
"manifest.data.js": "sha384
|
|
39
|
-
"manifest.data.min.js": "sha384-
|
|
38
|
+
"manifest.data.js": "sha384-+GUZ56TTJi4dMUlKY3vtfgkn9r7TKrhP+1b7qDdo+OTaF8Nv1dNySKUC7v/OJv1S",
|
|
39
|
+
"manifest.data.min.js": "sha384-W+muy7TE2ny+djnW1dHGjiqzT02qwAzszKaE5Sk81et+X2+KpuPVBHQxp8xNtdP/",
|
|
40
40
|
"manifest.datepicker.css": "sha384-lW6PLZxKr2GjR/O16oPq+5wrBZjQ1UCQUo2PTQZaj0FW8hCh6dydjzCF1qcp9up4",
|
|
41
41
|
"manifest.datepicker.js": "sha384-pZUQhUK6u5cl6g0myBXND/Wtrs1RTovYmy/ETQLUV0JujvTvUdRNc/XjPpVhtK16",
|
|
42
42
|
"manifest.datepicker.min.js": "sha384-e6xN1xQW3LLFvmSWrh3INMCgfUwD+gJca6n9fJfUFArA/OSm2KY0MDeN0pHVsYiw",
|
|
43
|
-
"manifest.defer.js": "sha384-
|
|
44
|
-
"manifest.defer.min.js": "sha384
|
|
43
|
+
"manifest.defer.js": "sha384-W8aR5uCnUlmet/NscIgAoGijW064iSLASszQH3RKoLF19klJCyLdVrdz796QqSgD",
|
|
44
|
+
"manifest.defer.min.js": "sha384-+DThYFIbDUQIzd1DWmWm4AKJEgwPTsLtdltzKZU5B2RpX4ksWI96mnj3O5qqJxIG",
|
|
45
45
|
"manifest.device.js": "sha384-YeQaS56L8IILqrQNBSeAOLwIh5DuAOrE60cYLK1+46qJtUrXlAvqGe2j5mbV4Vq7",
|
|
46
46
|
"manifest.device.min.js": "sha384-RUCUISMsZmxbFzYJQSRn78zByAroAZr7tyiVw4wuFQpRXRge4EPtGjOpEpF3FybO",
|
|
47
47
|
"manifest.dialog.css": "sha384-sjTZQcQmR0/IcHMcLgnky5nzfA68zGFUMpUAqBf/afx+18w4o++e14AYML9+NXHG",
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
"manifest.icons.js": "sha384-kKOINpX70YzNO3FvkV6umrmO3f0KIu0DNbwB+ej55a7y/lhU7v/myQtXL0bwCTbt",
|
|
59
59
|
"manifest.icons.min.js": "sha384-RAKDwcHLQFVqT/fTZCwC3vTfBn6TkWC8psFm9aRwbJBbtZCruaBGcd4KqaIP//T4",
|
|
60
60
|
"manifest.input.css": "sha384-6+ErMsR67xE2xQWUS6QPhYH89pqf4wY4GEIDPq6jcQrHDqZMthyX4I93N4DttG7c",
|
|
61
|
-
"manifest.js": "sha384-
|
|
61
|
+
"manifest.js": "sha384-YliabfC6jGVO0bYwYhTFP4ubuv3ZpSrGWP7eOW+Y2BEe+eKgCtcW3lLAdKf98oJK",
|
|
62
62
|
"manifest.localization.js": "sha384-9EDAqnI7MNCZp4Vas0RMZgceCuz9EJUi/OARm8iI+Hi4S8HF//yyVOhhhhQ+XcLq",
|
|
63
63
|
"manifest.localization.min.js": "sha384-5EkwrlpE29wmsy0JBq7UwWy8rVzEsu8tTprnsiNThVddFWsbFd63C/il4JjnWLmP",
|
|
64
64
|
"manifest.markdown.js": "sha384-rh24qtS792HpX6P83zUQEOxloelp1zNMninBZWSh5XTfpSEfmAasEjVG/OBAK76C",
|
|
65
65
|
"manifest.markdown.min.js": "sha384-SQE17YSZCRm9blVSP9bPH/Wf1ZsEFh/9cKQWX3ohORBuPWTkwZLpcbN8PC5BstJ6",
|
|
66
66
|
"manifest.min.css": "sha384-ZLXKtchybe6D6nmOkd2CYR9LzplunAqxpUkvf8yfrn8BLT/M2jNo83Tb95mdx98L",
|
|
67
|
-
"manifest.min.js": "sha384-
|
|
68
|
-
"manifest.modules.integrity.json": "sha384-
|
|
67
|
+
"manifest.min.js": "sha384-BCrmkfitMJk9SispsQdvNs2j+xW0sNn/aCXWufxyMjFYeJSQhlCHAEG6+Ysgt/QA",
|
|
68
|
+
"manifest.modules.integrity.json": "sha384-7UXTLxNaFb15ntv92lmsFQa3oH4YbInYcQMWdlXGLgSe2SwVaRDaMw9wU4JCwfY9",
|
|
69
69
|
"manifest.native.js": "sha384-YeQaS56L8IILqrQNBSeAOLwIh5DuAOrE60cYLK1+46qJtUrXlAvqGe2j5mbV4Vq7",
|
|
70
70
|
"manifest.native.min.js": "sha384-3xZep6D5icnCvKbzPxQ6QxqvJMfWI0GiADQrGkiFJEhe8sXg6P6vfIAjLUykFi+2",
|
|
71
71
|
"manifest.payments.js": "sha384-kNhU58nmteKSdTUGcaLxoxyHoDRrgaSc9Go9RmlefsSm+uGTnERPHGD7HGgz0RhZ",
|
|
@@ -88,8 +88,8 @@
|
|
|
88
88
|
"manifest.submissions.min.js": "sha384-p/5Ekd6u/cTsyVQbRgGzEi3h1hJU9zD7+hjdR+upcwt++26sfrLXMjFI2YjS8zWt",
|
|
89
89
|
"manifest.svg.js": "sha384-D1jF3a0pXIuzm7T2sltyzblF8BTZ8sv1CkfJyQ33q21G6QlYyjdPv8DJi80eCISD",
|
|
90
90
|
"manifest.svg.min.js": "sha384-rsvQ50FgVpTxX2Wvba3hed2TQvZR+CHHfgS4Cg7V1Dyjx6rxkS1s6rG6UMWDIMez",
|
|
91
|
-
"manifest.sw.js": "sha384-
|
|
92
|
-
"manifest.sw.min.js": "sha384-
|
|
91
|
+
"manifest.sw.js": "sha384-rHP6T2eEXBCZ/4cVCAj9wGuvM3rHQWn/5vt32N88WoD17cThs5LW1dEuVXF3R718",
|
|
92
|
+
"manifest.sw.min.js": "sha384-ASObPWpvATjeTD2DNEYBgFTMqmjCxZaMuCMZfM46XU6L+NrPIoJmNdq+MG4oKvDX",
|
|
93
93
|
"manifest.switch.css": "sha384-s3+th9ojcLpRGhxxS9u4VR+AVRUqK6sNI62h4TAuZG7G1r1bNqXo1z/UMhTon00x",
|
|
94
94
|
"manifest.table.css": "sha384-1XqR9mQSrxogf6fGcbVEbQ/cObABBAlMNfpW6T0vibXYwHv6l9kF3AVTXg/FknpM",
|
|
95
95
|
"manifest.tabs.js": "sha384-otU09H7jnawVKQdLAYpMCd3jx00tgyPVr42D2hLIBzN5dG4se505YesavdnMqEi1",
|
package/lib/manifest.js
CHANGED
|
@@ -353,8 +353,8 @@
|
|
|
353
353
|
const DEFAULT_VERSION = 'latest';
|
|
354
354
|
|
|
355
355
|
// Stamped at build
|
|
356
|
-
const LOADER_VERSION = '0.5.
|
|
357
|
-
const MODULES_INTEGRITY = 'sha384-
|
|
356
|
+
const LOADER_VERSION = '0.5.310';
|
|
357
|
+
const MODULES_INTEGRITY = 'sha384-7UXTLxNaFb15ntv92lmsFQa3oH4YbInYcQMWdlXGLgSe2SwVaRDaMw9wU4JCwfY9';
|
|
358
358
|
const INTEGRITY_FILE = 'manifest.modules.integrity.json';
|
|
359
359
|
const VENDOR_FILE = 'manifest.vendor.integrity.json';
|
|
360
360
|
// 'strict' | 'warn' while checks are requested; map promise while they apply
|
package/lib/manifest.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){"use strict";const e=document.currentScript;if(!window.ManifestPending){const we=new Map;let ge=0;window.ManifestPending={hold(e="work"){const t=++ge;return we.set(t,e),()=>{we.delete(t)}},get count(){return we.size+(window.__manifestMarkdownPending||0)+(window.__manifestUtilitiesPending||0)},labels(){const e=[...we.values()];return window.__manifestMarkdownPending>0&&e.push("markdown"),window.__manifestUtilitiesPending>0&&e.push("utilities"),e},background:e=>("function"==typeof e&&(e.__manifestBackground=!0),e)}}const t=new Set,n=new WeakSet;let i=!1;function o(){for(const e of[...t])e.settle()}function r(){i||(i=!0,queueMicrotask(()=>{i=!1,o()}))}function a(e){for(let t=e.parentNode;t;t=t.parentNode)if(t._x_ignore)return!0;return!1}function s(e,i){const s=window.Alpine,c=e.getAttribute("x-if");let d=!e.closest("[x-data],[x-init]"),l=!1,u=null;const f=()=>!!s.evaluate(e,c),m=()=>{u&&(u(),u=null)},p=()=>{t.delete(y),m()},w=()=>{d=!1,l=!1,m(),i._x_ignore=!0,t.add(y)},g=()=>{p(),s.mutateDom(()=>{s.destroyTree(i),i.remove()}),delete e._x_currentIfEl,delete e._x_lastRenderedEl,r()},h=()=>{d||e._x_currentIfEl!==i||!i.isConnected||a(e)||(d=!0,l=!1,p(),delete i._x_ignore,s.initTree(i),o())},y={settle(){if(!d&&!l)return e._x_currentIfEl!==i?p():void(i.isConnected?e._x_marker&&!a(e)&&f()&&h():i.getRootNode()instanceof DocumentFragment||p())}},v=()=>window.__manifestReady||!window.__manifestReadyCoordinator?g():(queueMicrotask(()=>{e._x_currentIfEl===i&&(e._x_undoIf=v,(()=>{if(u||!l||e._x_currentIfEl!==i||a(e))return;const t=s.evaluateLater(e,c),n=s.effect(()=>t(e=>{e&&queueMicrotask(()=>{l&&f()&&h()})}));u=()=>s.release(n)})())}),a(e)?w():(d&&(d=!1,i._x_ignore=!0,s.destroyTree(i),t.add(y)),void(l||(l=!0,window.addEventListener("manifest:ready",()=>{if(l&&e._x_currentIfEl===i){if(e.isConnected&&a(e))return w();if(e.isConnected&&f())return h();g(),delete e._x_undoIf}},{once:!0})))));e._x_currentIfEl=i,e._x_lastRenderedEl=i,e._x_undoIf=v,n.add(e),d||(i._x_ignore=!0,t.add(y))}function c(e,t){e.querySelectorAll("template").forEach(e=>{const n=t||e.matches("[x-if],[x-for]");n&&e.content.querySelectorAll("[data-pre-rendered]").forEach(e=>{e.tagName.startsWith("X-")&&e.removeAttribute("data-pre-rendered")}),c(e.content,n)})}function d(){try{!function(){if("undefined"==typeof document||!document.querySelector)return;const e=document.querySelector('meta[name="manifest:prerendered"]');if(!e||"0"===e.getAttribute("content"))return;const t=document.getElementById("__manifest_hydrate__");if(!t)return;let n;try{n=JSON.parse(t.textContent||"[]")}catch(e){n=[]}if(!Array.isArray(n)||0===n.length)return void t.remove();const i=e=>String(null==e?"":e).replace(/&/g,"&").replace(/"/g,"""),o=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),r=[];for(const e of n){const t=document.querySelector('[data-hydrate-id="'+e.id+'"]');if(!t)continue;let n=0;for(let e=t.parentNode;e;e=e.parentNode)n++;r.push({entry:e,el:t,depth:n})}r.sort((e,t)=>t.depth-e.depth);for(const{entry:e,el:t}of r){const n=document.querySelector('[data-hydrate-id="'+e.id+'"]')||t;if(!n||!n.parentNode)continue;if("string"==typeof e.html){const t=n.tagName.toLowerCase(),r={},a=n.attributes;for(let e=0;e<a.length;e++)"data-hydrate-id"!==a[e].name&&(r[a[e].name]=a[e].value);if(e.attrs)for(const t in e.attrs){const n=e.attrs[t];null===n?delete r[t]:r[t]=n}const s=Object.keys(r).map(e=>e+'="'+i(r[e])+'"').join(" "),c=o.has(t)?"<"+t+" "+s+">":"<"+t+" "+s+">"+e.html+"</"+t+">",d=document.createElement("div");d.innerHTML=c;const l=d.firstElementChild;if(l)try{n.parentNode.replaceChild(l,n)}catch(e){}continue}if(!e.attrs)continue;const r=n.tagName.toLowerCase(),a={},s=n.attributes;for(let e=0;e<s.length;e++)"data-hydrate-id"!==s[e].name&&(a[s[e].name]=s[e].value);for(const t in e.attrs){const n=e.attrs[t];null===n?delete a[t]:a[t]=n}const c=Object.keys(a).map(e=>e+'="'+i(a[e])+'"').join(" "),d=o.has(r),l=d?"":n.innerHTML,u=d?"<"+r+" "+c+">":"<"+r+" "+c+">"+l+"</"+r+">",f=document.createElement("div");f.innerHTML=u;const m=f.firstElementChild;if(m)try{n.parentNode.replaceChild(m,n)}catch(e){}}t.remove()}()}catch(e){}}if("undefined"!=typeof document&&document.addEventListener("alpine:init",function(){if("undefined"==typeof document||!document.querySelectorAll)return;c(document);let e=0;if(document.querySelectorAll("[data-mnfst-prerender-clone]").forEach(t=>{if(t.closest&&t.closest("[data-hydrate]"))return;t.removeAttribute("data-mnfst-prerender-clone");const n=t.previousElementSibling;n&&"TEMPLATE"===n.tagName&&n.hasAttribute("x-if")?(s(n,t),e++):t.remove()}),!e)return;const i=window.Alpine;"function"==typeof i.interceptInit&&i.interceptInit(e=>{n.has(e)&&t.size&&r()}),document.addEventListener("alpine:initialized",o,{once:!0})},{once:!0}),"undefined"!=typeof document)if("loading"===document.readyState){let he=!1;document.addEventListener("readystatechange",()=>{he||"loading"===document.readyState||(he=!0,d())})}else d();if("undefined"!=typeof window&&"undefined"!=typeof document){let ye=null;window.addEventListener("resize",()=>{document.documentElement.classList.add("window-resizing"),ye&&clearTimeout(ye),ye=setTimeout(()=>{document.documentElement.classList.remove("window-resizing"),ye=null},200)},{passive:!0})}const l="latest",u="0.5.309",f="sha384-p1vbnmhVVUTtTCzUnQOCezq36tg/bn7744XWvDZpMZyDXZ7P1AG9I3M/jRdtIZqD",m="manifest.modules.integrity.json",p="manifest.vendor.integrity.json";let w=null,g=null,h=!1,y=null,v=l,_=["https://cdn.manifestx.dev/npm","https://cdn.jsdelivr.net/npm","https://unpkg.com"];function b(e,t){return e.includes("unpkg.com")?t.replace(/\.min\.js$/,".js"):t}function $(e=l,t=_[0]){return`${t}/mnfst@${e}/lib`}const E=["components","router","utilities","data","icons","localization","markdown","svg","code","color","toasts","tooltips","dropdowns","combobox","computed","tabs","slides","colorpicker","datepicker","charts","url-parameters","virtual","export","status"],k=["defer","bindings"],L=["edit"],S=["appwrite-auth","appwrite-data","appwrite-presences"],M=["rich-text","submissions"],j={"appwrite-data":["data"],"appwrite-presences":["data","appwrite-auth"],device:["utilities"],edit:["rich-text"]};let A=null;function x(e,t=v){const n=e.replace(/-/g,".");if(A){return[`${A.replace(/\/$/,"")}/manifest.${n}.js`]}return _.map(e=>`${$(t,e)}/${b(e,`manifest.${n}.min.js`)}`)}function P(e,t=v){return x(e,t)[0]}function C(e){if(function(){if("complete"===document.readyState)return!0;if("loading"===document.readyState)return!1;try{const e=performance.getEntriesByType("navigation")[0];if(e)return e.domContentLoadedEventEnd>0}catch(e){}return!1}())return void e();let t=!1;const n=()=>{t||(t=!0,e())};document.addEventListener("DOMContentLoaded",n,{once:!0}),window.addEventListener("load",n,{once:!0})}function I(t){if(t.hasAttribute("data-mnfst-loaded"))return!0;if(t.hasAttribute("data-mnfst-loading"))return!1;if("complete"===document.readyState)return!0;if(!t.async&&!t.defer&&e&&e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING)return!0;try{if(t.src&&performance.getEntriesByName(t.src).length)return!0}catch(e){}return!1}function N(e,t,n=!0){return new Promise((i,o)=>{const r=document.querySelector(`script[src="${e}"]`);if(r){if(I(r))return i();let t=!1;const n=()=>{t||(t=!0,i())};r.addEventListener("load",n),r.addEventListener("error",()=>{t||(t=!0,o(new Error(`Failed to load ${e}`)))});const a=setInterval(()=>{I(r)&&(clearInterval(a),n())},50);return void setTimeout(()=>{clearInterval(a),n()},4e3)}const a=document.createElement("script");t&&(a.integrity=t,a.crossOrigin="anonymous"),a.src=e,a.async=!n,a.setAttribute("data-mnfst-loading",""),a.onload=()=>{a.removeAttribute("data-mnfst-loading"),a.setAttribute("data-mnfst-loaded",""),i()},a.onerror=()=>{a.removeAttribute("data-mnfst-loading"),a.remove(),o(new Error(`Failed to load ${e}`))},document.head.appendChild(a)})}function R(e){return e.split(/[?#]/)[0].split("/").pop()}function T(e){const t=e.match(/(alpinejs@[^/]+\/dist\/cdn\.min\.js)(?:[?#]|$)/);return t?t[1]:null}function O(e){try{const t=performance.getEntriesByName(new URL(e,location.href).href).pop();return!!t&&200===t.responseStatus}catch(e){return!1}}function q(e,t){if("warn"!==w)throw console.error(`[Manifest Loader] ${e} ${t} data-integrity="warn" loads it unchecked instead.`),Object.assign(new Error(e),{logged:!0});console.warn(`[Manifest Loader] ${e} Loading unchecked (data-integrity="warn").`)}async function W(e,t,n){for(const i of e){try{const e=await fetch(i,t?{integrity:t,mode:"cors",credentials:"omit"}:{mode:"cors",credentials:"omit"});if(e.ok)return e}catch(e){}console.error(`[Manifest Loader] ${n} failed to load${t?" or failed its integrity check":""} from ${i}`)}throw new Error(`${n} could not be ${t?"verified":"loaded"} from any CDN${t?` (expected ${t})`:""}.`)}let U=null;const z=/^sha(256|384|512)-[A-Za-z0-9+/=]+$/;function D(e,t){const n=e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:null;return"string"==typeof n&&z.test(n)?n:null}async function B(e,t){const n=D(e,t);if(n)return n;const i=D(e,p);return i&&/\/(languages|langs)\//.test(t)?(U||(U=W(_.map(e=>`${$(u,e)}/${p}`),i,p).then(e=>e.json()).catch(e=>{throw U=null,e})),D(await U,t)):null}async function F(e,{key:t=null,hash:n=null,alpine:i=!1,unchecked:o=!1,ordered:r=!0}={}){const a=g&&!o?await g:null,s=t||R(e[0]||"");let c=null;for(const o of e){let s=n;if(a){const e=t||(i?T(o):R(o));s=e&&await B(a,e)||(i?y:null),s||(i?q(`No integrity hash is known for Alpine at ${o}. Add data-alpine-integrity="sha384-…" for it, or remove data-alpine to use the default.`,"Alpine was not loaded."):q(`${e||o} has no integrity hash in this release.`,"Not loaded."))}try{return await N(o,s,r)}catch(t){c=t,s?console.error(`[Manifest Loader] ${R(o)} ${O(o)?"failed its integrity check":"failed to load or failed its integrity check"} from ${o}${e.length>1?" — trying next CDN":""}`):e.length>1&&console.warn(`[Manifest Loader] ${o} failed — trying fallback CDN`)}}throw a&&console.error(`[Manifest Loader] ${s} did not match its integrity hash on any CDN — not loaded.`),c||new Error(`Failed to load ${s}`)}const Z=new Map;async function V(e,t=v){const n=Z.get(e);if(n)return n.version!==t&&console.warn(`[Manifest Loader] ${e} already loaded at ${n.version} — ignoring request for ${t}`),n.promise;const i=async function(e,t){let n=!1;return h&&t!==u&&(q(`Integrity checks cover this loader's own version (${u}); ${e} was requested at ${t}.`,"Not loaded."),n=!0),F(x(e,t),{unchecked:n})}(e,t);return Z.set(e,{version:t,promise:i}),i.catch(()=>Z.delete(e)),i}function H(e){const t=[],n=new Set,i={native:"device",import:"export"};function o(e){if(e=i[e]||e,n.has(e))return;const r=j[e];if(r)for(const e of r)n.has(e)||o(e);t.push(e),n.add(e)}for(const t of e)o(t);return t}const X=[{magic:"$chat",plugin:"chat"},{magic:"$presence",plugin:"appwrite-presences"},{magic:"$rich",plugin:"rich-text",attr:"x-rich-text"},{plugin:"submissions",attr:"x-submit"},...["$share","$secure","$links","$push","$app","$haptics","$biometric","$camera"].map(e=>({magic:e,plugin:"device"}))].map(e=>({...e,re:e.magic?new RegExp("\\"+e.magic+"\\b"):null}));let G=!1;!function(){if("undefined"==typeof window||"undefined"==typeof document||G)return;G=!0;const e=()=>{const e=window.Alpine;if(window.ManifestRichText||!e||!e.magic||!e.reactive||window.__manifestRichStub)return;const t=window.__manifestRichStub=e.reactive({v:0}),n=window.__manifestRichStubWrites=[],i=new WeakMap,o=e=>e&&"function"==typeof e.deref?e.deref():e,r={value:"",link:"",selection:null,all:{},active:()=>!1,can:()=>!1,markdown:()=>"",html:()=>""};e.magic("rich",(e,a)=>(t.v,window.__manifestRichMagic?window.__manifestRichMagic(e,a):(e=>(i.has(e)||i.set(e,new Proxy(r,{get:(t,i)=>{const r=n.find(t=>o(t[0])===e&&t[1]===i);return r?r[2]:i in t?t[i]:"string"==typeof i?()=>{}:void 0},set:(t,i,r)=>{for(let t=n.length-1;t>=0;t--){const r=o(n[t][0]);r&&r.isConnected&&(r!==e||n[t][1]!==i)||n.splice(t,1)}return n.push(["function"==typeof WeakRef?new WeakRef(e):e,i,r]),!0}})),i.get(e)))(e)))};document.addEventListener("alpine:init",e,{once:!0}),window.Alpine&&window.Alpine.magic&&e()}();let J=!1;!function(){if("undefined"==typeof window||"undefined"==typeof document||J)return;J=!0;const e=()=>{const e=window.Alpine;if(window.__manifestEditMagic||!e||!e.magic||!e.reactive||window.__manifestEditStub)return;const t=window.__manifestEditStub=e.reactive({v:0}),n=()=>!1,i=window.__manifestEditStubWrites={},o=new Proxy({active:!1,canUndo:!1,canRedo:!1,version:0,stale:[],conflicts:[],onPublish:null,target:null,can:n,scope:()=>null,block:()=>null,patches:()=>[],export:()=>({log:[],cursor:0}),publish:()=>Promise.resolve({results:[]}),undo:()=>Promise.resolve(!1),redo:()=>Promise.resolve(!1),classes:new Proxy({},{get:()=>n})},{get:(e,t)=>t in i?i[t]:t in e?e[t]:"string"==typeof t?n:void 0,set:(e,t,n)=>(i[t]=n,!0)});e.magic("edit",(e,n)=>(t.v,window.__manifestEditMagic?window.__manifestEditMagic(e,n):o))};document.addEventListener("alpine:init",e,{once:!0}),window.Alpine&&window.Alpine.magic&&e()}(),"undefined"!=typeof document&&document.addEventListener("alpine:initialized",()=>{window.__manifestAlpineStarted=!0},{once:!0});const Q=/^x-(code|code-group)$/,K=new RegExp("\\$("+X.filter(e=>e.magic).map(e=>e.magic.slice(1)).join("|")+")\\b"),Y=new Set;function ee(e,t=("undefined"==typeof document?null:document)){const n=X.filter(t=>!e.includes(t.plugin)),i=!e.includes("components");if(0===n.length&&!i||!t)return[];const o=new Set,r=new Set(n.map(e=>e.plugin)).size+(i?1:0),a=()=>o.size===r;for(const e of t.querySelectorAll("script:not([src])")){const t=e.textContent||"";for(const e of n)e.re&&!o.has(e.plugin)&&e.re.test(t)&&o.add(e.plugin);if(a())return[...o]}const s=e=>{if(i&&!o.has("components")){const t=e.tagName.toLowerCase();t.startsWith("x-")&&!Q.test(t)&&o.add("components")}for(const t of e.attributes||[]){for(const e of n)e.attr&&!o.has(e.plugin)&&(t.name===e.attr||t.name.startsWith(e.attr+"-")||t.name.startsWith(e.attr+"."))&&o.add(e.plugin);const e=t.value;if(e&&-1!==e.indexOf("$")&&!Y.has(e))if(K.test(e))for(const t of n)t.re&&!o.has(t.plugin)&&t.re.test(e)&&o.add(t.plugin);else Y.size>2e4&&Y.clear(),Y.add(e)}},c=e=>{for(const t of e.querySelectorAll("*")){if(s(t),a())return;if("TEMPLATE"===t.tagName&&t.content&&(c(t.content),a()))return}};return 1===t.nodeType&&(s(t),"TEMPLATE"===t.tagName&&t.content&&c(t.content)),a()||c(t),[...o]}let te=!1;const ne=new Set,ie=e=>Z.has(e)||ne.has(e);function oe(e,t=v){if(!te||!e||"undefined"==typeof document)return Promise.resolve([]);let n=e;if("string"==typeof e){if(-1===e.indexOf("x-")&&-1===e.indexOf("$"))return Promise.resolve([]);n=document.createElement("template"),n.innerHTML=e,n=n.content}const i=ee([...new Set(X.map(e=>e.plugin))].filter(ie).concat("components"),n);if(!i.length)return Promise.resolve([]);const o=H(i).filter(e=>!ie(e));return Promise.all(o.map(e=>V(e,t).catch(t=>{ne.has(e)||(ne.add(e),console.warn(`[Manifest Loader] Failed to load plugin ${e}:`,t))}))).then(()=>o)}function re(e){if("undefined"==typeof MutationObserver)return;const t=new Set;let n=!1;const i=new MutationObserver(o=>{for(const e of o)for(const n of e.addedNodes)1===n.nodeType&&t.add(n);!n&&t.size&&(n=!0,setTimeout(()=>{n=!1;const o=[...t].filter(e=>e.isConnected);t.clear(),o.forEach(t=>oe(t,e)),X.every(e=>ie(e.plugin))&&i.disconnect()},0))});i.observe(document.documentElement,{childList:!0,subtree:!0})}const ae={"text-edit":"rich-text"};function se(e){return e.filter(e=>{const t=e.replace(/^\+/,"");return!ae[t]||(console.warn(`[Manifest Loader] ${t} was renamed to ${ae[t]}`),!1)})}async function ce(e=v){const t=_.map(t=>`${$(e,t)}/${b(t,"manifest.tailwind.min.js")}`);let n=null;try{return await F(t)}catch(e){n=e}throw console.warn('[Manifest Loader] Tailwind plugin not available from any CDN. Load it directly: <script src="/scripts/tailwind.v4.3.1.js"><\/script>'),n||new Error("Tailwind plugin not available from CDN.")}window.Manifest={loadPlugin:function(e,t=v){if(![...E,...M,...S,...L,"payments","chat","device","native","import","tailwind"].includes(e))return ae[e]?se([e]):console.warn(`[Manifest Loader] Unknown module: ${e}`),Promise.reject(new Error(`Unknown module: ${e}`));const n=H([e]);return Promise.all(n.map(e=>V(e,t)))},loadTailwind:ce,loadVendor:function(e,t){return F(_.map(t=>`${t}/${e}`),{key:e,hash:t,ordered:!1})},fetchVendor:async function(e,t){const n=g?await g:null;let i=t||null;return n&&(i=await B(n,e),i||q(`${e} has no integrity hash in this release.`,"Not loaded.")),W(_.map(t=>`${t}/${e}`),i,e)},get integrity(){return h},getPluginUrl:P,getModuleUrl:P,loadUsed:oe},window.Manifest.loadModule=window.Manifest.loadPlugin;const de="/sw.js";const le={registered:!1,version:null,kill:()=>ue(null)};async function ue(e){le.registered=!1;try{const t=e||await navigator.serviceWorker.getRegistration(de);if(t){const e=t.active||t.waiting||t.installing;try{e&&e.postMessage({type:"manifest:sw",action:"kill"})}catch(e){}await t.unregister()}}catch(e){}try{if(window.caches){const e=await caches.keys();await Promise.all(e.filter(e=>e.startsWith("mnfst-sw:")).map(e=>caches.delete(e)))}}catch(e){}}async function fe(e){const t=e.sw,n="on"===t,i=n?(...e)=>console.info("[Manifest SW]",...e):()=>{};if(!navigator.serviceWorker)return i("skip: unsupported");const o=window.location,r=!!window.__mnfstRun,a=function(e){const t=String(e||"").toLowerCase();return"localhost"===t||"127.0.0.1"===t||"[::1]"===t||"::1"===t||"0.0.0.0"===t||t.endsWith(".localhost")||t.endsWith(".local")}(o.hostname);let s=window.__manifestLoaded||null;if(!s&&window.__manifestPromise&&(s=await window.__manifestPromise.catch(()=>null)),!s){const e=document.querySelector('link[rel="manifest"]')?.getAttribute("href")||"/manifest.json";s=await fetch(e).then(e=>e.ok?e.json():null).catch(()=>null)}const c="off"===t||s&&!1===s.sw,d=await navigator.serviceWorker.getRegistration(de).catch(()=>null);if(c||r||a&&!n)return i("skip:",c?"kill switch":r?"mnfst-run":"dev origin",d?"(unregistering)":""),void await ue(d);if(!("https:"===o.protocol||n&&window.isSecureContext))return i("skip: not https");let l=null;try{l=sessionStorage.getItem("manifest:sw-probe")}catch(e){}const u="strict"===w;if("ok"!==l||u){const e=await fetch(de,{cache:"no-store"}).catch(()=>null),t=e&&e.headers.get("content-type")||"";if(!e||!e.ok||!/javascript|ecmascript/i.test(t))return i("skip: no stub",e&&e.status,t);if(u&&(f=await e.text().catch(()=>""),(String(f).match(/importScripts\s*\(([^)]*)\)/g)||[]).some(e=>(e.match(/https?:\/\/[^'"`\s)]+/g)||[]).some(e=>{try{return new URL(e).origin!==location.origin}catch(e){return!0}}))))return console.warn(`[Manifest Loader] ${de} imports its worker module from another origin, which integrity checks can't cover, so the service worker stays off. Serve the module from this origin (copy lib/manifest.sw.min.js into ${de}), set data-sw="off", or set data-integrity="warn" to register it anyway.`),void await ue(d);try{sessionStorage.setItem("manifest:sw-probe","ok")}catch(e){}}var f;const m=s&&"string"==typeof s.deployment?s.deployment:"",p=`${de}?v=${encodeURIComponent(e.version)}&d=${encodeURIComponent(m)}`,g=await navigator.serviceWorker.register(p,{scope:"/"});le.registered=!0,le.version=e.version,i("registered",p,g.active?"active":g.installing?"installing":"waiting")}window.Manifest.swStub=function(e=l){const t=`mnfst@${String(e||l).replace(/[^\w.+-]/g,"")}/lib/manifest.sw.min.js`;return`try { importScripts('https://cdn.manifestx.dev/npm/${t}'); } catch (e) { importScripts('https://cdn.jsdelivr.net/npm/${t}'); }\nif (!self.__mnfstSw) self.addEventListener('activate', function () { self.registration.unregister(); });\n`},window.Manifest.sw=le;const me=function(){let e=document.currentScript;if(e||(e=document.querySelector('script[src*="manifest.js"]')),!e)return null;const t=e.getAttribute("data-modules")??e.getAttribute("data-plugins"),n=e.getAttribute("data-omit"),i=null!==e.getAttribute("data-tailwind"),o=e.getAttribute("data-version")||l,r=!!e.getAttribute("data-version"),a=e.getAttribute("data-alpine"),s=(e.getAttribute("data-integrity")??"").trim().toLowerCase(),c=/^(off|false)$/.test(s)?null:"warn"===s?"warn":e.hasAttribute("data-integrity")||e.getAttribute("integrity")?"strict":null,d=e.getAttribute("data-module-base")??e.getAttribute("data-plugin-base"),u=e.getAttribute("data-cdn"),f=e.getAttribute("data-sw");let m=[],p=[],w=!t;if(t){const e=se(t.split(",").map(e=>e.trim()).filter(e=>e));p=e.filter(e=>e.startsWith("+")).map(e=>e.slice(1));const n=e.filter(e=>!e.startsWith("+"));n.length>0?m=[...n,...p]:(w=!0,m=E.slice())}else m=E.slice();if(n&&m.length>0){const e=n.split(",").map(e=>e.trim());m=m.filter(t=>!e.includes(t))}return m=H(m),{plugins:m,extraPlugins:p,deriveFromManifest:w,tailwind:i,version:o,versionSet:r,alpine:a,alpineIntegrity:e.getAttribute("data-alpine-integrity"),integrity:c,pluginBase:d,cdn:u,sw:f}}();var pe;if(me&&me.version&&(v=me.version),me&&me.pluginBase&&(pe=me.pluginBase,A=pe||null),me&&me.cdn&&function(e){if(!e)return;const t=e.split(",").map(e=>e.trim().replace(/\/$/,"")).filter(Boolean);t.length&&(_=t)}(me.cdn),me&&me.integrity&&(w=me.integrity,!me.versionSet&&f&&(v=me.version=u),h=me.version===u,y=me.alpineIntegrity&&z.test(me.alpineIntegrity.trim())?me.alpineIntegrity.trim():null,g=async function(e){if(e.version!==u)return q(`Integrity checks cover this loader's own version (${u}), but data-version is "${e.version}". Set data-version="${u}" or remove it.`,"No modules were loaded."),null;const t=A?[`${A.replace(/\/$/,"")}/${m}`]:_.map(e=>`${$(u,e)}/${m}`);try{return await(await W(t,f,m)).json()}catch(e){throw new Error(`${e.message} No modules were loaded.`)}}(me),g.catch(()=>{})),function(e){if(!e||window.__manifestSwArmed)return;const t=window.__manifestSwArmed={};let n=!1;const i=()=>{if(!n&&window.__manifestSwArmed===t){n=!0;try{fe(e).catch(()=>{})}catch(e){}}};setTimeout(()=>{if(window.__manifestReady)return i();window.addEventListener("manifest:ready",i,{once:!0}),window.__manifestLoaderStarted||("complete"===document.readyState?setTimeout(i,0):window.addEventListener("load",i,{once:!0}))},0)}(me),me&&me.plugins.length>0){if(window.__manifestLoaderStarted)return;window.__manifestLoaderStarted=!0;const ve=["data","localization","components","appwrite-auth","appwrite-data","appwrite-presences","payments","chat"],_e=document.querySelector('link[rel="manifest"]')?.getAttribute("href")||"/manifest.json",be=new Set,$e=e=>{if(null===e||"object"!=typeof e)return;const t=e=>e.replace(/\$\{([^}]+)\}/g,(e,t)=>"undefined"!=typeof window&&window.env&&void 0!==window.env[t]?window.env[t]:(be.has(t)||(be.add(t),t.startsWith("PUBLIC_")?console.warn(`[Manifest] manifest.json references \${${t}}, but it is not present in window.env. Add ${t}=… to .env (read by mnfst-run) or set it via <script>window.env = {…}<\/script>. Leaving placeholder literal.`):console.warn(`[Manifest] manifest.json references \${${t}}, but only PUBLIC_-prefixed env vars are injected into window.env by mnfst-run. Rename to PUBLIC_${t}, hardcode the value, or supply it via <script>window.env = {…}<\/script>. Leaving placeholder literal.`)),e)),n=e=>{if(Array.isArray(e))for(let i=0;i<e.length;i++){const o=e[i];"string"==typeof o?e[i]=t(o):o&&"object"==typeof o&&n(o)}else for(const i of Object.keys(e)){const o=e[i];"string"==typeof o?e[i]=t(o):o&&"object"==typeof o&&n(o)}};n(e)},Ee=()=>window.__manifestLoaded?Promise.resolve(window.__manifestLoaded):(window.__manifestPromise||(window.__manifestPromise=fetch(_e).then(e=>e.ok?e.json():null).then(e=>(e&&!e.__interpolated&&($e(e),Object.defineProperty(e,"__interpolated",{value:!0,enumerable:!1})),e)).catch(()=>null)),window.__manifestPromise);function ke(e,t){if(window.__manifestReadyCoordinator)return;window.__manifestReadyCoordinator=!0;const n=window.ManifestPending.hold("ready"),i=!!t,o={data:!e.some(e=>"data"===e||"appwrite-data"===e)||!!window.__manifestRenderReady,utilities:!i||!!window.__manifestUtilitiesReady};let r=!1,a=null;const s=()=>!(window.__manifestMarkdownPending>0),c=()=>!(window.__manifestUtilitiesPending>0),d=()=>{r||(r=!0,n(),window.__manifestReady=!0,window.dispatchEvent(new CustomEvent("manifest:ready")))},l=()=>{r||o.data&&o.utilities&&s()&&c()&&(clearTimeout(a),a=setTimeout(()=>{o.data&&o.utilities&&s()&&c()&&d()},300))};window.addEventListener("manifest:render-ready",()=>{o.data=!0,l()}),window.addEventListener("manifest:utilities-ready",()=>{o.utilities=!0,l()}),window.addEventListener("manifest:utilities-idle",l),window.addEventListener("manifest:markdown-idle",l),setTimeout(d,15e3),l()}(async()=>{if(g){(me.deriveFromManifest||me.plugins.some(e=>ve.includes(e)))&&Ee();try{await g}catch(e){return void(e.logged||console.error(`[Manifest Loader] ${e.message}`))}}let e=null,t=me.plugins,n=null;if(me.deriveFromManifest){e=await Ee();const n=function(e){if(!e||"object"!=typeof e)return E.slice();const t=e.data&&"object"==typeof e.data&&Object.keys(e.data).length>0,n=e.components?.length>0||e.preloadedComponents?.length>0,i=(()=>{if(!e.data||"object"!=typeof e.data)return!1;for(const t of Object.values(e.data))if(t&&"object"==typeof t){if("string"==typeof t.locales)return!0;for(const e of Object.keys(t))if(!["url","headers","params","transform","defaultValue","locales"].includes(e)&&/^[a-zA-Z]{2}(-[a-zA-Z]{2})?$/.test(e))return!0}return!1})(),o=e.status&&"object"==typeof e.status&&Object.keys(e.status).length>0;return E.filter(e=>"data"===e?t:"localization"===e?i:"components"===e?n:"status"!==e||o)}(e),i=function(e){if(!e||"object"!=typeof e)return[];if(!(e.appwrite||e.data&&Object.values(e.data).some(e=>e&&"object"==typeof e&&(e.appwriteTableId||e.appwriteDatabaseId||e.appwriteBucketId))))return[];const t=[];return e.appwrite?.auth&&t.push("appwrite-auth"),(e.appwrite||e.data&&Object.values(e.data).some(e=>e&&"object"==typeof e&&e.appwriteTableId))&&t.push("appwrite-data"),(e.appwrite?.presence||e.appwrite?.presences)&&t.push("appwrite-presences"),t}(e),o=function(e){return e&&"object"==typeof e&&e.payments&&"object"==typeof e.payments?["payments"]:[]}(e),r=function(e){return e&&"object"==typeof e&&(e.ai||e.chat)?["chat"]:[]}(e),a=function(e){if("undefined"!=typeof window&&window.Capacitor)return["device"];const t=e&&"object"==typeof e?e.device??e.native:null;return t&&"object"==typeof t?["device"]:[]}(e);t=H([...k,...n,...i,...o,...r,...a,...me.extraPlugins||[]])}else{t=H([...k,...t.filter(e=>!k.includes(e))]);me.plugins.some(e=>ve.includes(e))&&(n=Ee()),"undefined"!=typeof window&&window.Capacitor&&!t.includes("device")&&(t=H([...t,"device"]))}const i=t.map(e=>V(e,me.version).catch(t=>{console.warn(`[Manifest Loader] Failed to load plugin ${e}:`,t)}));me.tailwind&&!function(){try{return!!document.querySelector("style[data-mnfst-utilities][data-mnfst-utilities-complete]")}catch(e){return!1}}()&&i.push(ce(me.version).catch(()=>{})),await Promise.all(i),n&&(e=await n),e&&"undefined"!=typeof window&&(window.__manifestLoaded=e,window.ManifestComponentsRegistry&&(window.ManifestComponentsRegistry.manifest=e)),C(async()=>{if(me.deriveFromManifest){try{const e=ee(t);if(e.length>0){const n=H(e).filter(e=>!t.includes(e));await Promise.all(n.map(e=>V(e,me.version).catch(t=>{ne.add(e),console.warn(`[Manifest Loader] Failed to load plugin ${e}:`,t)})))}}catch(e){}te=!0,re(me.version)}var e;ke(t,me.tailwind),e=function(e){if(e&&(e.startsWith("http")||e.startsWith("/")))return[e];const t=e||"3.17.5";return _.map(e=>`${e}/alpinejs@${t}/dist/cdn.min.js`)}(me.alpine),C(()=>{window.Alpine||document.querySelector('script[src*="alpinejs"]')||F(e,{alpine:!0}).catch(e=>{e.logged||console.error("[Manifest Loader] Alpine.js failed to load from all CDNs.")})})})})()}}();
|
|
1
|
+
!function(){"use strict";const e=document.currentScript;if(!window.ManifestPending){const we=new Map;let ge=0;window.ManifestPending={hold(e="work"){const t=++ge;return we.set(t,e),()=>{we.delete(t)}},get count(){return we.size+(window.__manifestMarkdownPending||0)+(window.__manifestUtilitiesPending||0)},labels(){const e=[...we.values()];return window.__manifestMarkdownPending>0&&e.push("markdown"),window.__manifestUtilitiesPending>0&&e.push("utilities"),e},background:e=>("function"==typeof e&&(e.__manifestBackground=!0),e)}}const t=new Set,n=new WeakSet;let i=!1;function o(){for(const e of[...t])e.settle()}function r(){i||(i=!0,queueMicrotask(()=>{i=!1,o()}))}function a(e){for(let t=e.parentNode;t;t=t.parentNode)if(t._x_ignore)return!0;return!1}function s(e,i){const s=window.Alpine,c=e.getAttribute("x-if");let d=!e.closest("[x-data],[x-init]"),l=!1,u=null;const f=()=>!!s.evaluate(e,c),m=()=>{u&&(u(),u=null)},p=()=>{t.delete(y),m()},w=()=>{d=!1,l=!1,m(),i._x_ignore=!0,t.add(y)},g=()=>{p(),s.mutateDom(()=>{s.destroyTree(i),i.remove()}),delete e._x_currentIfEl,delete e._x_lastRenderedEl,r()},h=()=>{d||e._x_currentIfEl!==i||!i.isConnected||a(e)||(d=!0,l=!1,p(),delete i._x_ignore,s.initTree(i),o())},y={settle(){if(!d&&!l)return e._x_currentIfEl!==i?p():void(i.isConnected?e._x_marker&&!a(e)&&f()&&h():i.getRootNode()instanceof DocumentFragment||p())}},v=()=>window.__manifestReady||!window.__manifestReadyCoordinator?g():(queueMicrotask(()=>{e._x_currentIfEl===i&&(e._x_undoIf=v,(()=>{if(u||!l||e._x_currentIfEl!==i||a(e))return;const t=s.evaluateLater(e,c),n=s.effect(()=>t(e=>{e&&queueMicrotask(()=>{l&&f()&&h()})}));u=()=>s.release(n)})())}),a(e)?w():(d&&(d=!1,i._x_ignore=!0,s.destroyTree(i),t.add(y)),void(l||(l=!0,window.addEventListener("manifest:ready",()=>{if(l&&e._x_currentIfEl===i){if(e.isConnected&&a(e))return w();if(e.isConnected&&f())return h();g(),delete e._x_undoIf}},{once:!0})))));e._x_currentIfEl=i,e._x_lastRenderedEl=i,e._x_undoIf=v,n.add(e),d||(i._x_ignore=!0,t.add(y))}function c(e,t){e.querySelectorAll("template").forEach(e=>{const n=t||e.matches("[x-if],[x-for]");n&&e.content.querySelectorAll("[data-pre-rendered]").forEach(e=>{e.tagName.startsWith("X-")&&e.removeAttribute("data-pre-rendered")}),c(e.content,n)})}function d(){try{!function(){if("undefined"==typeof document||!document.querySelector)return;const e=document.querySelector('meta[name="manifest:prerendered"]');if(!e||"0"===e.getAttribute("content"))return;const t=document.getElementById("__manifest_hydrate__");if(!t)return;let n;try{n=JSON.parse(t.textContent||"[]")}catch(e){n=[]}if(!Array.isArray(n)||0===n.length)return void t.remove();const i=e=>String(null==e?"":e).replace(/&/g,"&").replace(/"/g,"""),o=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),r=[];for(const e of n){const t=document.querySelector('[data-hydrate-id="'+e.id+'"]');if(!t)continue;let n=0;for(let e=t.parentNode;e;e=e.parentNode)n++;r.push({entry:e,el:t,depth:n})}r.sort((e,t)=>t.depth-e.depth);for(const{entry:e,el:t}of r){const n=document.querySelector('[data-hydrate-id="'+e.id+'"]')||t;if(!n||!n.parentNode)continue;if("string"==typeof e.html){const t=n.tagName.toLowerCase(),r={},a=n.attributes;for(let e=0;e<a.length;e++)"data-hydrate-id"!==a[e].name&&(r[a[e].name]=a[e].value);if(e.attrs)for(const t in e.attrs){const n=e.attrs[t];null===n?delete r[t]:r[t]=n}const s=Object.keys(r).map(e=>e+'="'+i(r[e])+'"').join(" "),c=o.has(t)?"<"+t+" "+s+">":"<"+t+" "+s+">"+e.html+"</"+t+">",d=document.createElement("div");d.innerHTML=c;const l=d.firstElementChild;if(l)try{n.parentNode.replaceChild(l,n)}catch(e){}continue}if(!e.attrs)continue;const r=n.tagName.toLowerCase(),a={},s=n.attributes;for(let e=0;e<s.length;e++)"data-hydrate-id"!==s[e].name&&(a[s[e].name]=s[e].value);for(const t in e.attrs){const n=e.attrs[t];null===n?delete a[t]:a[t]=n}const c=Object.keys(a).map(e=>e+'="'+i(a[e])+'"').join(" "),d=o.has(r),l=d?"":n.innerHTML,u=d?"<"+r+" "+c+">":"<"+r+" "+c+">"+l+"</"+r+">",f=document.createElement("div");f.innerHTML=u;const m=f.firstElementChild;if(m)try{n.parentNode.replaceChild(m,n)}catch(e){}}t.remove()}()}catch(e){}}if("undefined"!=typeof document&&document.addEventListener("alpine:init",function(){if("undefined"==typeof document||!document.querySelectorAll)return;c(document);let e=0;if(document.querySelectorAll("[data-mnfst-prerender-clone]").forEach(t=>{if(t.closest&&t.closest("[data-hydrate]"))return;t.removeAttribute("data-mnfst-prerender-clone");const n=t.previousElementSibling;n&&"TEMPLATE"===n.tagName&&n.hasAttribute("x-if")?(s(n,t),e++):t.remove()}),!e)return;const i=window.Alpine;"function"==typeof i.interceptInit&&i.interceptInit(e=>{n.has(e)&&t.size&&r()}),document.addEventListener("alpine:initialized",o,{once:!0})},{once:!0}),"undefined"!=typeof document)if("loading"===document.readyState){let he=!1;document.addEventListener("readystatechange",()=>{he||"loading"===document.readyState||(he=!0,d())})}else d();if("undefined"!=typeof window&&"undefined"!=typeof document){let ye=null;window.addEventListener("resize",()=>{document.documentElement.classList.add("window-resizing"),ye&&clearTimeout(ye),ye=setTimeout(()=>{document.documentElement.classList.remove("window-resizing"),ye=null},200)},{passive:!0})}const l="latest",u="0.5.310",f="sha384-7UXTLxNaFb15ntv92lmsFQa3oH4YbInYcQMWdlXGLgSe2SwVaRDaMw9wU4JCwfY9",m="manifest.modules.integrity.json",p="manifest.vendor.integrity.json";let w=null,g=null,h=!1,y=null,v=l,_=["https://cdn.manifestx.dev/npm","https://cdn.jsdelivr.net/npm","https://unpkg.com"];function b(e,t){return e.includes("unpkg.com")?t.replace(/\.min\.js$/,".js"):t}function $(e=l,t=_[0]){return`${t}/mnfst@${e}/lib`}const E=["components","router","utilities","data","icons","localization","markdown","svg","code","color","toasts","tooltips","dropdowns","combobox","computed","tabs","slides","colorpicker","datepicker","charts","url-parameters","virtual","export","status"],k=["defer","bindings"],L=["edit"],S=["appwrite-auth","appwrite-data","appwrite-presences"],M=["rich-text","submissions"],j={"appwrite-data":["data"],"appwrite-presences":["data","appwrite-auth"],device:["utilities"],edit:["rich-text"]};let A=null;function x(e,t=v){const n=e.replace(/-/g,".");if(A){return[`${A.replace(/\/$/,"")}/manifest.${n}.js`]}return _.map(e=>`${$(t,e)}/${b(e,`manifest.${n}.min.js`)}`)}function P(e,t=v){return x(e,t)[0]}function C(e){if(function(){if("complete"===document.readyState)return!0;if("loading"===document.readyState)return!1;try{const e=performance.getEntriesByType("navigation")[0];if(e)return e.domContentLoadedEventEnd>0}catch(e){}return!1}())return void e();let t=!1;const n=()=>{t||(t=!0,e())};document.addEventListener("DOMContentLoaded",n,{once:!0}),window.addEventListener("load",n,{once:!0})}function I(t){if(t.hasAttribute("data-mnfst-loaded"))return!0;if(t.hasAttribute("data-mnfst-loading"))return!1;if("complete"===document.readyState)return!0;if(!t.async&&!t.defer&&e&&e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING)return!0;try{if(t.src&&performance.getEntriesByName(t.src).length)return!0}catch(e){}return!1}function N(e,t,n=!0){return new Promise((i,o)=>{const r=document.querySelector(`script[src="${e}"]`);if(r){if(I(r))return i();let t=!1;const n=()=>{t||(t=!0,i())};r.addEventListener("load",n),r.addEventListener("error",()=>{t||(t=!0,o(new Error(`Failed to load ${e}`)))});const a=setInterval(()=>{I(r)&&(clearInterval(a),n())},50);return void setTimeout(()=>{clearInterval(a),n()},4e3)}const a=document.createElement("script");t&&(a.integrity=t,a.crossOrigin="anonymous"),a.src=e,a.async=!n,a.setAttribute("data-mnfst-loading",""),a.onload=()=>{a.removeAttribute("data-mnfst-loading"),a.setAttribute("data-mnfst-loaded",""),i()},a.onerror=()=>{a.removeAttribute("data-mnfst-loading"),a.remove(),o(new Error(`Failed to load ${e}`))},document.head.appendChild(a)})}function R(e){return e.split(/[?#]/)[0].split("/").pop()}function T(e){const t=e.match(/(alpinejs@[^/]+\/dist\/cdn\.min\.js)(?:[?#]|$)/);return t?t[1]:null}function O(e){try{const t=performance.getEntriesByName(new URL(e,location.href).href).pop();return!!t&&200===t.responseStatus}catch(e){return!1}}function W(e,t){if("warn"!==w)throw console.error(`[Manifest Loader] ${e} ${t} data-integrity="warn" loads it unchecked instead.`),Object.assign(new Error(e),{logged:!0});console.warn(`[Manifest Loader] ${e} Loading unchecked (data-integrity="warn").`)}async function q(e,t,n){for(const i of e){try{const e=await fetch(i,t?{integrity:t,mode:"cors",credentials:"omit"}:{mode:"cors",credentials:"omit"});if(e.ok)return e}catch(e){}console.error(`[Manifest Loader] ${n} failed to load${t?" or failed its integrity check":""} from ${i}`)}throw new Error(`${n} could not be ${t?"verified":"loaded"} from any CDN${t?` (expected ${t})`:""}.`)}let U=null;const z=/^sha(256|384|512)-[A-Za-z0-9+/=]+$/;function D(e,t){const n=e&&Object.prototype.hasOwnProperty.call(e,t)?e[t]:null;return"string"==typeof n&&z.test(n)?n:null}async function B(e,t){const n=D(e,t);if(n)return n;const i=D(e,p);return i&&/\/(languages|langs)\//.test(t)?(U||(U=q(_.map(e=>`${$(u,e)}/${p}`),i,p).then(e=>e.json()).catch(e=>{throw U=null,e})),D(await U,t)):null}async function F(e,{key:t=null,hash:n=null,alpine:i=!1,unchecked:o=!1,ordered:r=!0}={}){const a=g&&!o?await g:null,s=t||R(e[0]||"");let c=null;for(const o of e){let s=n;if(a){const e=t||(i?T(o):R(o));s=e&&await B(a,e)||(i?y:null),s||(i?W(`No integrity hash is known for Alpine at ${o}. Add data-alpine-integrity="sha384-…" for it, or remove data-alpine to use the default.`,"Alpine was not loaded."):W(`${e||o} has no integrity hash in this release.`,"Not loaded."))}try{return await N(o,s,r)}catch(t){c=t,s?console.error(`[Manifest Loader] ${R(o)} ${O(o)?"failed its integrity check":"failed to load or failed its integrity check"} from ${o}${e.length>1?" — trying next CDN":""}`):e.length>1&&console.warn(`[Manifest Loader] ${o} failed — trying fallback CDN`)}}throw a&&console.error(`[Manifest Loader] ${s} did not match its integrity hash on any CDN — not loaded.`),c||new Error(`Failed to load ${s}`)}const H=new Map;async function V(e,t=v){const n=H.get(e);if(n)return n.version!==t&&console.warn(`[Manifest Loader] ${e} already loaded at ${n.version} — ignoring request for ${t}`),n.promise;const i=async function(e,t){let n=!1;return h&&t!==u&&(W(`Integrity checks cover this loader's own version (${u}); ${e} was requested at ${t}.`,"Not loaded."),n=!0),F(x(e,t),{unchecked:n})}(e,t);return H.set(e,{version:t,promise:i}),i.catch(()=>H.delete(e)),i}function X(e){const t=[],n=new Set,i={native:"device",import:"export"};function o(e){if(e=i[e]||e,n.has(e))return;const r=j[e];if(r)for(const e of r)n.has(e)||o(e);t.push(e),n.add(e)}for(const t of e)o(t);return t}const Y=[{magic:"$chat",plugin:"chat"},{magic:"$presence",plugin:"appwrite-presences"},{magic:"$rich",plugin:"rich-text",attr:"x-rich-text"},{plugin:"submissions",attr:"x-submit"},...["$share","$secure","$links","$push","$app","$haptics","$biometric","$camera"].map(e=>({magic:e,plugin:"device"}))].map(e=>({...e,re:e.magic?new RegExp("\\"+e.magic+"\\b"):null}));let Z=!1;!function(){if("undefined"==typeof window||"undefined"==typeof document||Z)return;Z=!0;const e=()=>{const e=window.Alpine;if(window.ManifestRichText||!e||!e.magic||!e.reactive||window.__manifestRichStub)return;const t=window.__manifestRichStub=e.reactive({v:0}),n=window.__manifestRichStubWrites=[],i=new WeakMap,o=e=>e&&"function"==typeof e.deref?e.deref():e,r={value:"",link:"",selection:null,all:{},active:()=>!1,can:()=>!1,markdown:()=>"",html:()=>""};e.magic("rich",(e,a)=>(t.v,window.__manifestRichMagic?window.__manifestRichMagic(e,a):(e=>(i.has(e)||i.set(e,new Proxy(r,{get:(t,i)=>{const r=n.find(t=>o(t[0])===e&&t[1]===i);return r?r[2]:i in t?t[i]:"string"==typeof i?()=>{}:void 0},set:(t,i,r)=>{for(let t=n.length-1;t>=0;t--){const r=o(n[t][0]);r&&r.isConnected&&(r!==e||n[t][1]!==i)||n.splice(t,1)}return n.push(["function"==typeof WeakRef?new WeakRef(e):e,i,r]),!0}})),i.get(e)))(e)))};document.addEventListener("alpine:init",e,{once:!0}),window.Alpine&&window.Alpine.magic&&e()}();let G=!1;!function(){if("undefined"==typeof window||"undefined"==typeof document||G)return;G=!0;const e=()=>{const e=window.Alpine;if(window.__manifestEditMagic||!e||!e.magic||!e.reactive||window.__manifestEditStub)return;const t=window.__manifestEditStub=e.reactive({v:0}),n=()=>!1,i=window.__manifestEditStubWrites={},o=new Proxy({active:!1,canUndo:!1,canRedo:!1,version:0,stale:[],conflicts:[],onPublish:null,target:null,can:n,scope:()=>null,block:()=>null,patches:()=>[],export:()=>({log:[],cursor:0}),publish:()=>Promise.resolve({results:[]}),undo:()=>Promise.resolve(!1),redo:()=>Promise.resolve(!1),classes:new Proxy({},{get:()=>n})},{get:(e,t)=>t in i?i[t]:t in e?e[t]:"string"==typeof t?n:void 0,set:(e,t,n)=>(i[t]=n,!0)});e.magic("edit",(e,n)=>(t.v,window.__manifestEditMagic?window.__manifestEditMagic(e,n):o))};document.addEventListener("alpine:init",e,{once:!0}),window.Alpine&&window.Alpine.magic&&e()}(),"undefined"!=typeof document&&document.addEventListener("alpine:initialized",()=>{window.__manifestAlpineStarted=!0},{once:!0});const J=/^x-(code|code-group)$/,Q=new RegExp("\\$("+Y.filter(e=>e.magic).map(e=>e.magic.slice(1)).join("|")+")\\b"),K=new Set;function ee(e,t=("undefined"==typeof document?null:document)){const n=Y.filter(t=>!e.includes(t.plugin)),i=!e.includes("components");if(0===n.length&&!i||!t)return[];const o=new Set,r=new Set(n.map(e=>e.plugin)).size+(i?1:0),a=()=>o.size===r;for(const e of t.querySelectorAll("script:not([src])")){const t=e.textContent||"";for(const e of n)e.re&&!o.has(e.plugin)&&e.re.test(t)&&o.add(e.plugin);if(a())return[...o]}const s=e=>{if(i&&!o.has("components")){const t=e.tagName.toLowerCase();t.startsWith("x-")&&!J.test(t)&&o.add("components")}for(const t of e.attributes||[]){for(const e of n)e.attr&&!o.has(e.plugin)&&(t.name===e.attr||t.name.startsWith(e.attr+"-")||t.name.startsWith(e.attr+"."))&&o.add(e.plugin);const e=t.value;if(e&&-1!==e.indexOf("$")&&!K.has(e))if(Q.test(e))for(const t of n)t.re&&!o.has(t.plugin)&&t.re.test(e)&&o.add(t.plugin);else K.size>2e4&&K.clear(),K.add(e)}},c=e=>{for(const t of e.querySelectorAll("*")){if(s(t),a())return;if("TEMPLATE"===t.tagName&&t.content&&(c(t.content),a()))return}};return 1===t.nodeType&&(s(t),"TEMPLATE"===t.tagName&&t.content&&c(t.content)),a()||c(t),[...o]}let te=!1;const ne=new Set,ie=e=>H.has(e)||ne.has(e);function oe(e,t=v){if(!te||!e||"undefined"==typeof document)return Promise.resolve([]);let n=e;if("string"==typeof e){if(-1===e.indexOf("x-")&&-1===e.indexOf("$"))return Promise.resolve([]);n=document.createElement("template"),n.innerHTML=e,n=n.content}const i=ee([...new Set(Y.map(e=>e.plugin))].filter(ie).concat("components"),n);if(!i.length)return Promise.resolve([]);const o=X(i).filter(e=>!ie(e));return Promise.all(o.map(e=>V(e,t).catch(t=>{ne.has(e)||(ne.add(e),console.warn(`[Manifest Loader] Failed to load plugin ${e}:`,t))}))).then(()=>o)}function re(e){if("undefined"==typeof MutationObserver)return;const t=new Set;let n=!1;const i=new MutationObserver(o=>{for(const e of o)for(const n of e.addedNodes)1===n.nodeType&&t.add(n);!n&&t.size&&(n=!0,setTimeout(()=>{n=!1;const o=[...t].filter(e=>e.isConnected);t.clear(),o.forEach(t=>oe(t,e)),Y.every(e=>ie(e.plugin))&&i.disconnect()},0))});i.observe(document.documentElement,{childList:!0,subtree:!0})}const ae={"text-edit":"rich-text"};function se(e){return e.filter(e=>{const t=e.replace(/^\+/,"");return!ae[t]||(console.warn(`[Manifest Loader] ${t} was renamed to ${ae[t]}`),!1)})}async function ce(e=v){const t=_.map(t=>`${$(e,t)}/${b(t,"manifest.tailwind.min.js")}`);let n=null;try{return await F(t)}catch(e){n=e}throw console.warn('[Manifest Loader] Tailwind plugin not available from any CDN. Load it directly: <script src="/scripts/tailwind.v4.3.1.js"><\/script>'),n||new Error("Tailwind plugin not available from CDN.")}window.Manifest={loadPlugin:function(e,t=v){if(![...E,...M,...S,...L,"payments","chat","device","native","import","tailwind"].includes(e))return ae[e]?se([e]):console.warn(`[Manifest Loader] Unknown module: ${e}`),Promise.reject(new Error(`Unknown module: ${e}`));const n=X([e]);return Promise.all(n.map(e=>V(e,t)))},loadTailwind:ce,loadVendor:function(e,t){return F(_.map(t=>`${t}/${e}`),{key:e,hash:t,ordered:!1})},fetchVendor:async function(e,t){const n=g?await g:null;let i=t||null;return n&&(i=await B(n,e),i||W(`${e} has no integrity hash in this release.`,"Not loaded.")),q(_.map(t=>`${t}/${e}`),i,e)},get integrity(){return h},getPluginUrl:P,getModuleUrl:P,loadUsed:oe},window.Manifest.loadModule=window.Manifest.loadPlugin;const de="/sw.js";const le={registered:!1,version:null,kill:()=>ue(null)};async function ue(e){le.registered=!1;try{const t=e||await navigator.serviceWorker.getRegistration(de);if(t){const e=t.active||t.waiting||t.installing;try{e&&e.postMessage({type:"manifest:sw",action:"kill"})}catch(e){}await t.unregister()}}catch(e){}try{if(window.caches){const e=await caches.keys();await Promise.all(e.filter(e=>e.startsWith("mnfst-sw:")).map(e=>caches.delete(e)))}}catch(e){}}async function fe(e){const t=e.sw,n="on"===t,i=n?(...e)=>console.info("[Manifest SW]",...e):()=>{};if(!navigator.serviceWorker)return i("skip: unsupported");const o=window.location,r=!!window.__mnfstRun,a=function(e){const t=String(e||"").toLowerCase();return"localhost"===t||"127.0.0.1"===t||"[::1]"===t||"::1"===t||"0.0.0.0"===t||t.endsWith(".localhost")||t.endsWith(".local")}(o.hostname);let s=window.__manifestLoaded||null;if(!s&&window.__manifestPromise&&(s=await window.__manifestPromise.catch(()=>null)),!s){const e=document.querySelector('link[rel="manifest"]')?.getAttribute("href")||"/manifest.json";s=await fetch(e).then(e=>e.ok?e.json():null).catch(()=>null)}const c="off"===t||s&&!1===s.sw,d=await navigator.serviceWorker.getRegistration(de).catch(()=>null);if(c||r||a&&!n)return i("skip:",c?"kill switch":r?"mnfst-run":"dev origin",d?"(unregistering)":""),void await ue(d);if(!("https:"===o.protocol||n&&window.isSecureContext))return i("skip: not https");let l=null;try{l=sessionStorage.getItem("manifest:sw-probe")}catch(e){}const u="strict"===w;if("ok"!==l||u){const e=await fetch(de,{cache:"no-store"}).catch(()=>null),t=e&&e.headers.get("content-type")||"";if(!e||!e.ok||!/javascript|ecmascript/i.test(t))return i("skip: no stub",e&&e.status,t);if(u&&(f=await e.text().catch(()=>""),(String(f).match(/importScripts\s*\(([^)]*)\)/g)||[]).some(e=>(e.match(/https?:\/\/[^'"`\s)]+/g)||[]).some(e=>{try{return new URL(e).origin!==location.origin}catch(e){return!0}}))))return console.warn(`[Manifest Loader] ${de} imports its worker module from another origin, which integrity checks can't cover, so the service worker stays off. Serve the module from this origin (copy lib/manifest.sw.min.js into ${de}), set data-sw="off", or set data-integrity="warn" to register it anyway.`),void await ue(d);try{sessionStorage.setItem("manifest:sw-probe","ok")}catch(e){}}var f;const m=s&&"string"==typeof s.deployment?s.deployment:"",p=`${de}?v=${encodeURIComponent(e.version)}&d=${encodeURIComponent(m)}`,g=await navigator.serviceWorker.register(p,{scope:"/"});le.registered=!0,le.version=e.version,i("registered",p,g.active?"active":g.installing?"installing":"waiting")}window.Manifest.swStub=function(e=l){const t=`mnfst@${String(e||l).replace(/[^\w.+-]/g,"")}/lib/manifest.sw.min.js`;return`try { importScripts('https://cdn.manifestx.dev/npm/${t}'); } catch (e) { importScripts('https://cdn.jsdelivr.net/npm/${t}'); }\nif (!self.__mnfstSw) self.addEventListener('activate', function () { self.registration.unregister(); });\n`},window.Manifest.sw=le;const me=function(){let e=document.currentScript;if(e||(e=document.querySelector('script[src*="manifest.js"]')),!e)return null;const t=e.getAttribute("data-modules")??e.getAttribute("data-plugins"),n=e.getAttribute("data-omit"),i=null!==e.getAttribute("data-tailwind"),o=e.getAttribute("data-version")||l,r=!!e.getAttribute("data-version"),a=e.getAttribute("data-alpine"),s=(e.getAttribute("data-integrity")??"").trim().toLowerCase(),c=/^(off|false)$/.test(s)?null:"warn"===s?"warn":e.hasAttribute("data-integrity")||e.getAttribute("integrity")?"strict":null,d=e.getAttribute("data-module-base")??e.getAttribute("data-plugin-base"),u=e.getAttribute("data-cdn"),f=e.getAttribute("data-sw");let m=[],p=[],w=!t;if(t){const e=se(t.split(",").map(e=>e.trim()).filter(e=>e));p=e.filter(e=>e.startsWith("+")).map(e=>e.slice(1));const n=e.filter(e=>!e.startsWith("+"));n.length>0?m=[...n,...p]:(w=!0,m=E.slice())}else m=E.slice();if(n&&m.length>0){const e=n.split(",").map(e=>e.trim());m=m.filter(t=>!e.includes(t))}return m=X(m),{plugins:m,extraPlugins:p,deriveFromManifest:w,tailwind:i,version:o,versionSet:r,alpine:a,alpineIntegrity:e.getAttribute("data-alpine-integrity"),integrity:c,pluginBase:d,cdn:u,sw:f}}();var pe;if(me&&me.version&&(v=me.version),me&&me.pluginBase&&(pe=me.pluginBase,A=pe||null),me&&me.cdn&&function(e){if(!e)return;const t=e.split(",").map(e=>e.trim().replace(/\/$/,"")).filter(Boolean);t.length&&(_=t)}(me.cdn),me&&me.integrity&&(w=me.integrity,!me.versionSet&&f&&(v=me.version=u),h=me.version===u,y=me.alpineIntegrity&&z.test(me.alpineIntegrity.trim())?me.alpineIntegrity.trim():null,g=async function(e){if(e.version!==u)return W(`Integrity checks cover this loader's own version (${u}), but data-version is "${e.version}". Set data-version="${u}" or remove it.`,"No modules were loaded."),null;const t=A?[`${A.replace(/\/$/,"")}/${m}`]:_.map(e=>`${$(u,e)}/${m}`);try{return await(await q(t,f,m)).json()}catch(e){throw new Error(`${e.message} No modules were loaded.`)}}(me),g.catch(()=>{})),function(e){if(!e||window.__manifestSwArmed)return;const t=window.__manifestSwArmed={};let n=!1;const i=()=>{if(!n&&window.__manifestSwArmed===t){n=!0;try{fe(e).catch(()=>{})}catch(e){}}};setTimeout(()=>{if(window.__manifestReady)return i();window.addEventListener("manifest:ready",i,{once:!0}),window.__manifestLoaderStarted||("complete"===document.readyState?setTimeout(i,0):window.addEventListener("load",i,{once:!0}))},0)}(me),me&&me.plugins.length>0){if(window.__manifestLoaderStarted)return;window.__manifestLoaderStarted=!0;const ve=["data","localization","components","appwrite-auth","appwrite-data","appwrite-presences","payments","chat"],_e=document.querySelector('link[rel="manifest"]')?.getAttribute("href")||"/manifest.json",be=new Set,$e=e=>{if(null===e||"object"!=typeof e)return;const t=e=>e.replace(/\$\{([^}]+)\}/g,(e,t)=>"undefined"!=typeof window&&window.env&&void 0!==window.env[t]?window.env[t]:(be.has(t)||(be.add(t),t.startsWith("PUBLIC_")?console.warn(`[Manifest] manifest.json references \${${t}}, but it is not present in window.env. Add ${t}=… to .env (read by mnfst-run) or set it via <script>window.env = {…}<\/script>. Leaving placeholder literal.`):console.warn(`[Manifest] manifest.json references \${${t}}, but only PUBLIC_-prefixed env vars are injected into window.env by mnfst-run. Rename to PUBLIC_${t}, hardcode the value, or supply it via <script>window.env = {…}<\/script>. Leaving placeholder literal.`)),e)),n=e=>{if(Array.isArray(e))for(let i=0;i<e.length;i++){const o=e[i];"string"==typeof o?e[i]=t(o):o&&"object"==typeof o&&n(o)}else for(const i of Object.keys(e)){const o=e[i];"string"==typeof o?e[i]=t(o):o&&"object"==typeof o&&n(o)}};n(e)},Ee=()=>window.__manifestLoaded?Promise.resolve(window.__manifestLoaded):(window.__manifestPromise||(window.__manifestPromise=fetch(_e).then(e=>e.ok?e.json():null).then(e=>(e&&!e.__interpolated&&($e(e),Object.defineProperty(e,"__interpolated",{value:!0,enumerable:!1})),e)).catch(()=>null)),window.__manifestPromise);function ke(e,t){if(window.__manifestReadyCoordinator)return;window.__manifestReadyCoordinator=!0;const n=window.ManifestPending.hold("ready"),i=!!t,o={data:!e.some(e=>"data"===e||"appwrite-data"===e)||!!window.__manifestRenderReady,utilities:!i||!!window.__manifestUtilitiesReady};let r=!1,a=null;const s=()=>!(window.__manifestMarkdownPending>0),c=()=>!(window.__manifestUtilitiesPending>0),d=()=>{r||(r=!0,n(),window.__manifestReady=!0,window.dispatchEvent(new CustomEvent("manifest:ready")))},l=()=>{r||o.data&&o.utilities&&s()&&c()&&(clearTimeout(a),a=setTimeout(()=>{o.data&&o.utilities&&s()&&c()&&d()},300))};window.addEventListener("manifest:render-ready",()=>{o.data=!0,l()}),window.addEventListener("manifest:utilities-ready",()=>{o.utilities=!0,l()}),window.addEventListener("manifest:utilities-idle",l),window.addEventListener("manifest:markdown-idle",l),setTimeout(d,15e3),l()}(async()=>{if(g){(me.deriveFromManifest||me.plugins.some(e=>ve.includes(e)))&&Ee();try{await g}catch(e){return void(e.logged||console.error(`[Manifest Loader] ${e.message}`))}}let e=null,t=me.plugins,n=null;if(me.deriveFromManifest){e=await Ee();const n=function(e){if(!e||"object"!=typeof e)return E.slice();const t=e.data&&"object"==typeof e.data&&Object.keys(e.data).length>0,n=e.components?.length>0||e.preloadedComponents?.length>0,i=(()=>{if(!e.data||"object"!=typeof e.data)return!1;for(const t of Object.values(e.data))if(t&&"object"==typeof t){if("string"==typeof t.locales)return!0;for(const e of Object.keys(t))if(!["url","headers","params","transform","defaultValue","locales"].includes(e)&&/^[a-zA-Z]{2}(-[a-zA-Z]{2})?$/.test(e))return!0}return!1})(),o=e.status&&"object"==typeof e.status&&Object.keys(e.status).length>0;return E.filter(e=>"data"===e?t:"localization"===e?i:"components"===e?n:"status"!==e||o)}(e),i=function(e){if(!e||"object"!=typeof e)return[];if(!(e.appwrite||e.data&&Object.values(e.data).some(e=>e&&"object"==typeof e&&(e.appwriteTableId||e.appwriteDatabaseId||e.appwriteBucketId))))return[];const t=[];return e.appwrite?.auth&&t.push("appwrite-auth"),(e.appwrite||e.data&&Object.values(e.data).some(e=>e&&"object"==typeof e&&e.appwriteTableId))&&t.push("appwrite-data"),(e.appwrite?.presence||e.appwrite?.presences)&&t.push("appwrite-presences"),t}(e),o=function(e){return e&&"object"==typeof e&&e.payments&&"object"==typeof e.payments?["payments"]:[]}(e),r=function(e){return e&&"object"==typeof e&&(e.ai||e.chat)?["chat"]:[]}(e),a=function(e){if("undefined"!=typeof window&&window.Capacitor)return["device"];const t=e&&"object"==typeof e?e.device??e.native:null;return t&&"object"==typeof t?["device"]:[]}(e);t=X([...k,...n,...i,...o,...r,...a,...me.extraPlugins||[]])}else{t=X([...k,...t.filter(e=>!k.includes(e))]);me.plugins.some(e=>ve.includes(e))&&(n=Ee()),"undefined"!=typeof window&&window.Capacitor&&!t.includes("device")&&(t=X([...t,"device"]))}const i=t.map(e=>V(e,me.version).catch(t=>{console.warn(`[Manifest Loader] Failed to load plugin ${e}:`,t)}));me.tailwind&&!function(){try{return!!document.querySelector("style[data-mnfst-utilities][data-mnfst-utilities-complete]")}catch(e){return!1}}()&&i.push(ce(me.version).catch(()=>{})),await Promise.all(i),n&&(e=await n),e&&"undefined"!=typeof window&&(window.__manifestLoaded=e,window.ManifestComponentsRegistry&&(window.ManifestComponentsRegistry.manifest=e)),C(async()=>{if(me.deriveFromManifest){try{const e=ee(t);if(e.length>0){const n=X(e).filter(e=>!t.includes(e));await Promise.all(n.map(e=>V(e,me.version).catch(t=>{ne.add(e),console.warn(`[Manifest Loader] Failed to load plugin ${e}:`,t)})))}}catch(e){}te=!0,re(me.version)}var e;ke(t,me.tailwind),e=function(e){if(e&&(e.startsWith("http")||e.startsWith("/")))return[e];const t=e||"3.17.5";return _.map(e=>`${e}/alpinejs@${t}/dist/cdn.min.js`)}(me.alpine),C(()=>{window.Alpine||document.querySelector('script[src*="alpinejs"]')||F(e,{alpine:!0}).catch(e=>{e.logged||console.error("[Manifest Loader] Alpine.js failed to load from all CDNs.")})})})})()}}();
|
|
2
2
|
//# sourceMappingURL=manifest.min.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest.appwrite.auth.js": "sha384-n+Fohtui5o2h3HpM7ifnop9YsAdlTj0uHYfzljQMghLJeDkODC6OXop6ds6OTZha",
|
|
3
3
|
"manifest.appwrite.auth.min.js": "sha384-qN5XF96RpRVTzBeOBoxwh6ziq2+eZ2rS0cLUtlwp4CFcbyuMCaf6kHFJKoWEGNvp",
|
|
4
|
-
"manifest.appwrite.data.js": "sha384-
|
|
4
|
+
"manifest.appwrite.data.js": "sha384-tCPCGVAchCElogq4wkTINpt9myDUYmPt+SCCWQlaiVURdP+Tpfm1LkL2hT2NwIcy",
|
|
5
5
|
"manifest.appwrite.data.min.js": "sha384-0fTVQE2rvA0T/qiXgSxe9YZDezipYFzrsSqnDcN8Xh6Vij1Pt/b3M6xySEqUtTjK",
|
|
6
6
|
"manifest.appwrite.presences.js": "sha384-O3EedwV2QTzd4YotjvGPsDHbxaGbtRaZuNopC7/Cfoo5uYPo8ZHYkCPCWurXpA2/",
|
|
7
7
|
"manifest.appwrite.presences.min.js": "sha384-7AHt7baL29VI3S1Nbkkyq34j2eJ2ysGpDnllmpXXSlc4GHvTk5hdCrXra2R3mSfH",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"manifest.components.min.js": "sha384-hESaKDaMHi3fGoq63adUyrJQ65iyA8fpAvbFSAEzhoSOvQfAhG6LqPNc8Tt7qGf+",
|
|
24
24
|
"manifest.computed.js": "sha384-GYML/e81gQfN+iDbqhPUgny8bINCyL+SrbTofoGk4hlCnLLjv51mCv42JMqq+ku5",
|
|
25
25
|
"manifest.computed.min.js": "sha384-90LbCcEOhrjhxi0GWBRb3DJyOkKWLRwzK7Z2nkbc1uaZ5B9EGmNKqx+mstTLWFGJ",
|
|
26
|
-
"manifest.data.js": "sha384
|
|
27
|
-
"manifest.data.min.js": "sha384-
|
|
26
|
+
"manifest.data.js": "sha384-+GUZ56TTJi4dMUlKY3vtfgkn9r7TKrhP+1b7qDdo+OTaF8Nv1dNySKUC7v/OJv1S",
|
|
27
|
+
"manifest.data.min.js": "sha384-W+muy7TE2ny+djnW1dHGjiqzT02qwAzszKaE5Sk81et+X2+KpuPVBHQxp8xNtdP/",
|
|
28
28
|
"manifest.datepicker.js": "sha384-pZUQhUK6u5cl6g0myBXND/Wtrs1RTovYmy/ETQLUV0JujvTvUdRNc/XjPpVhtK16",
|
|
29
29
|
"manifest.datepicker.min.js": "sha384-e6xN1xQW3LLFvmSWrh3INMCgfUwD+gJca6n9fJfUFArA/OSm2KY0MDeN0pHVsYiw",
|
|
30
|
-
"manifest.defer.js": "sha384-
|
|
31
|
-
"manifest.defer.min.js": "sha384
|
|
30
|
+
"manifest.defer.js": "sha384-W8aR5uCnUlmet/NscIgAoGijW064iSLASszQH3RKoLF19klJCyLdVrdz796QqSgD",
|
|
31
|
+
"manifest.defer.min.js": "sha384-+DThYFIbDUQIzd1DWmWm4AKJEgwPTsLtdltzKZU5B2RpX4ksWI96mnj3O5qqJxIG",
|
|
32
32
|
"manifest.device.js": "sha384-YeQaS56L8IILqrQNBSeAOLwIh5DuAOrE60cYLK1+46qJtUrXlAvqGe2j5mbV4Vq7",
|
|
33
33
|
"manifest.device.min.js": "sha384-RUCUISMsZmxbFzYJQSRn78zByAroAZr7tyiVw4wuFQpRXRge4EPtGjOpEpF3FybO",
|
|
34
34
|
"manifest.dropdowns.js": "sha384-TlFrYVWTXvpUmGnYaAk2til4lu0p6w5YcmWWEzZAokzd2qlmoyRLLXXVuYAK/AlR",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"manifest.submissions.min.js": "sha384-p/5Ekd6u/cTsyVQbRgGzEi3h1hJU9zD7+hjdR+upcwt++26sfrLXMjFI2YjS8zWt",
|
|
60
60
|
"manifest.svg.js": "sha384-D1jF3a0pXIuzm7T2sltyzblF8BTZ8sv1CkfJyQ33q21G6QlYyjdPv8DJi80eCISD",
|
|
61
61
|
"manifest.svg.min.js": "sha384-rsvQ50FgVpTxX2Wvba3hed2TQvZR+CHHfgS4Cg7V1Dyjx6rxkS1s6rG6UMWDIMez",
|
|
62
|
-
"manifest.sw.js": "sha384-
|
|
63
|
-
"manifest.sw.min.js": "sha384-
|
|
62
|
+
"manifest.sw.js": "sha384-rHP6T2eEXBCZ/4cVCAj9wGuvM3rHQWn/5vt32N88WoD17cThs5LW1dEuVXF3R718",
|
|
63
|
+
"manifest.sw.min.js": "sha384-ASObPWpvATjeTD2DNEYBgFTMqmjCxZaMuCMZfM46XU6L+NrPIoJmNdq+MG4oKvDX",
|
|
64
64
|
"manifest.tabs.js": "sha384-otU09H7jnawVKQdLAYpMCd3jx00tgyPVr42D2hLIBzN5dG4se505YesavdnMqEi1",
|
|
65
65
|
"manifest.tabs.min.js": "sha384-Bi4vymb32IKQ3xZ0gHRArRqLj5BwIagAjn+r/CSG3OLLw8ArDw60haBfz4v1wjRC",
|
|
66
66
|
"manifest.tailwind.js": "sha384-yuP3LEvWU+QVjxjkZ0YhErtC9RrGmhOmHjjFjhS9obqZbp5/KTIEnSR0CXDvHE0B",
|
package/lib/manifest.sw.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
// Build stamps the published version here; unstamped (dev) falls back to the
|
|
18
18
|
// registration URL's `v`, then 'dev'.
|
|
19
|
-
const BUILD_VERSION = '0.5.
|
|
19
|
+
const BUILD_VERSION = '0.5.310';
|
|
20
20
|
const CACHE_PREFIX = 'mnfst-sw:';
|
|
21
21
|
const META_CACHE = CACHE_PREFIX + 'meta';
|
|
22
22
|
// Sized to hold a full precache.json warm-up (PRECACHE_MAX_ENTRIES server-side)
|
package/lib/manifest.sw.min.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){"use strict";const t="0.5.
|
|
1
|
+
!function(){"use strict";const t="0.5.310",e="mnfst-sw:",n=e+"meta",a=/\.(css|js|mjs|json|csv|tsv|ya?ml|md|txt|xml|svg|png|jpe?g|gif|webp|avif|ico|bmp|woff2?|ttf|otf|eot|mp3|mp4|webm|ogg|wav|flac|m4a|wasm|webmanifest|map)$/i,s=/^\/(sw\.js$|precache\.json$|v1\/|_appwrite\/|_ai\/|__mnfst|__edit)/,i=/^(cdn\.manifestx\.dev|cdn\.jsdelivr\.net|unpkg\.com|esm\.run)$/,c="https://cdn.manifestx.dev/npm/",r=/^api\.(iconify\.design|simplesvg\.com|unisvg\.com)$/,o=/@\d+\.\d+\.\d+[^/]*(\/|$)/,l=/@[^/]+(\/|$)/;let f=null,u=!1;function m(t){try{return new URL(self.location.href).searchParams.get(t)||""}catch(t){return""}}function h(){return{version:-1===t.indexOf("-dev")?t:m("v")||"dev",deployment:m("d")}}function w(t){return e+t.version+":"+(t.deployment||"-")+":"}async function d(){const t=h();try{const e=await fetch("/manifest.json",{cache:"no-store"});if(e.ok){const n=await e.json();n&&"string"==typeof n.deployment&&n.deployment&&(t.deployment=n.deployment)}}catch(t){}try{const e=await caches.open(n);await e.put("/__meta",new Response(JSON.stringify(t),{headers:{"content-type":"application/json"}}))}catch(t){}return t}function p(){return f||(f=(async()=>{try{const t=await caches.open(n),e=await t.match("/__meta");if(e){const t=await e.json();if(t&&t.version)return t}}catch(t){}return d()})().catch(()=>h())),f}async function y(t){if(u)throw new Error("killed");const e=await p();return caches.open(w(e)+t)}function g(t){return t.url.replace(/([?&])t=\d+(?=&|$)/,"$1").replace(/[?&]$/,"").replace(/\?&/,"?")}function v(t){if("GET"!==t.method)return null;if(t.headers.has("range"))return null;if(-1!==(t.headers.get("accept")||"").indexOf("text/event-stream"))return null;const e=new URL(g(t));if("http:"!==e.protocol&&"https:"!==e.protocol)return null;const n=e.origin===self.location.origin,c=e.pathname;return"navigate"===t.mode||"document"===t.destination?n?"document":null:n?s.test(c)?null:/(^|\/)manifest\.json$/.test(c)?"manifest":e.searchParams.get("v")?"immutable":/\.html?$/i.test(c)?"document":a.test(c)?"swr":null:r.test(e.host)?/\.json$/.test(c)?"immutable":null:i.test(e.host)?o.test(c)||/\/alpinejs@/.test(c)?"immutable":l.test(c)?"swr":null:null}function j(t){return!!t&&t.ok&&!t.redirected&&("basic"===t.type||"cors"===t.type||"default"===t.type)}function _(t){const e=new URL(t.url).origin===self.location.origin||"cors"===t.mode?fetch(t):fetch(new Request(t.url,{mode:"cors",credentials:"omit",redirect:"follow",integrity:t.integrity||""}));if(0!==t.url.indexOf(c))return e;const n=()=>fetch(new Request("https://cdn.jsdelivr.net/npm/"+t.url.slice(30),{mode:"cors",credentials:"omit",redirect:"follow",integrity:t.integrity||""}));return e.then(t=>t.ok?t:n().then(e=>e.ok?e:t).catch(()=>t),()=>n())}async function k(t,e){const n=await y("pages"),a=g(t);try{const e=await fetch(t);return j(e)&&await n.put(a,e.clone()),e}catch(s){const i=await n.match(a,{ignoreSearch:e});if(i)return i;if(e&&"navigate"===t.mode){const t=await n.match("/index.html")||await n.match("/");if(t)return t}throw s}}function $(t,e){const n=t.request;switch(e){case"immutable":return async function(t){const e=await y("assets"),n=g(t),a=await e.match(n);if(a)return a;const s=await _(t);return j(s)&&await e.put(n,s.clone()),s}(n);case"swr":return async function(t,e){const n=await y("swr"),a=g(t),s=await n.match(a),i=(async()=>{const e=await _(t);return j(e)&&(await n.put(a,e.clone()),await async function(t){const e=await t.keys(),n=e.length-500;for(let a=0;a<n;a++)await t.delete(e[a])}(n)),e})();return s?(e.waitUntil(i.catch(()=>{})),s):i}(n,t);case"document":return k(n,!0);case"manifest":return k(n,!1);default:return fetch(n)}}const x={version:h().version,ready:!0};self.__mnfstSw=x,self.addEventListener("install",t=>{try{f=null,t.waitUntil(d().then(t=>{f=Promise.resolve(t)}).catch(()=>{}))}catch(t){}}),self.addEventListener("activate",t=>{try{t.waitUntil((async()=>{if(!self.registration||"undefined"==typeof caches||"function"!=typeof fetch||self.__mnfstSw!==x)return void await self.registration.unregister();const t=await p();await async function(t){const a=w(t),s=await caches.keys();await Promise.all(s.filter(t=>0===t.indexOf(e)&&t!==n&&0!==t.indexOf(a)).map(t=>caches.delete(t)))}(t).catch(()=>{}),async function(t){let e;try{const t=await fetch("/precache.json",{cache:"no-store"});if(!t.ok)return;e=await t.json()}catch(t){return}if(!e||!Array.isArray(e.files))return;if(e.deployment&&t.deployment&&e.deployment!==t.deployment)return;const n=e.files.filter(t=>"string"==typeof t),a=async t=>{try{const e=new Request(new URL(t,self.location.origin).href),n=v(e);if(!n)return;const a="immutable"===n?"assets":"swr"===n?"swr":"pages",s=await y(a),i=g(e);if(await s.match(i))return;const c=await _(e);j(c)&&await s.put(i,c)}catch(t){}};let s=0;await Promise.all(Array.from({length:4},async()=>{for(;s<n.length;)await a(n[s++])}))}(t).catch(()=>{})})().catch(()=>{}))}catch(t){}}),self.addEventListener("fetch",t=>{if(u)return;let e=null;try{e=v(t.request)}catch(t){return}if(e)try{t.respondWith($(t,e).catch(()=>fetch(t.request)))}catch(t){}}),self.addEventListener("message",t=>{try{const n=t.data;if(!n||"manifest:sw"!==n.type)return;const a=e=>{try{const n=t.ports&&t.ports[0];n?n.postMessage(e):t.source&&t.source.postMessage&&t.source.postMessage(e)}catch(t){}};if("ping"===n.action)return void a({type:"manifest:sw",action:"pong"});if("version"===n.action)return void t.waitUntil(p().then(t=>a({type:"manifest:sw",action:"version",version:t.version,deployment:t.deployment,key:w(t)})).catch(()=>{}));"kill"===n.action&&(u=!0,t.waitUntil((async()=>{await async function(){const t=await caches.keys();await Promise.all(t.filter(t=>0===t.indexOf(e)).map(t=>caches.delete(t)))}().catch(()=>{}),await self.registration.unregister().catch(()=>{}),a({type:"manifest:sw",action:"killed"})})().catch(()=>{})))}catch(t){}})}();
|
|
2
2
|
//# sourceMappingURL=manifest.sw.min.js.map
|