From b55481b332de5d29363bc22a6648214865cc43a6 Mon Sep 17 00:00:00 2001 From: Jon Uhlmann Date: Sat, 7 Dec 2024 12:53:14 +0100 Subject: [PATCH] Upgrade: Alpine 3.14.7 --- Resources/Public/Modules/Main.js | 2 +- Resources/Public/Scripts/Main.js | 2 +- package.json | 20 +++---- pnpm-lock.yaml | 100 +++++++++++++++---------------- 4 files changed, 62 insertions(+), 62 deletions(-) diff --git a/Resources/Public/Modules/Main.js b/Resources/Public/Modules/Main.js index 5fb4b67..b2de7db 100644 --- a/Resources/Public/Modules/Main.js +++ b/Resources/Public/Modules/Main.js @@ -2,4 +2,4 @@ var $e=!1,Pe=!1,N=[],Re=-1;function Vn(e){Yn(e)}function Yn(e){N.includes(e)||N. ${n?'Expression: "'+n+`" -`:""}`,t),setTimeout(()=>{throw e},0)}var de=!0;function qt(e){let t=de;de=!1;let n=e();return de=t,n}function L(e,t,n={}){let r;return m(e,t)(i=>r=i,n),r}function m(...e){return Wt(...e)}var Wt=Ut;function dr(e){Wt=e}function Ut(e,t){let n={};Le(n,e);let r=[n,...z(e)],i=typeof t=="function"?pr(r,t):hr(r,t,e);return fr.bind(null,e,t,i)}function pr(e,t){return(n=()=>{},{scope:r={},params:i=[]}={})=>{let o=t.apply(ie([r,...e]),i);he(n,o)}}var Oe={};function _r(e,t){if(Oe[e])return Oe[e];let n=Object.getPrototypeOf(async function(){}).constructor,r=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,o=(()=>{try{let s=new n(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`);return Object.defineProperty(s,"name",{value:`[Alpine] ${e}`}),s}catch(s){return ne(s,t,e),Promise.resolve()}})();return Oe[e]=o,o}function hr(e,t,n){let r=_r(t,n);return(i=()=>{},{scope:o={},params:s=[]}={})=>{r.result=void 0,r.finished=!1;let a=ie([o,...e]);if(typeof r=="function"){let u=r(r,a).catch(c=>ne(c,n,t));r.finished?(he(i,r.result,a,s,n),r.result=void 0):u.then(c=>{he(i,c,a,s,n)}).catch(c=>ne(c,n,t)).finally(()=>r.result=void 0)}}}function he(e,t,n,r,i){if(de&&typeof t=="function"){let o=t.apply(n,r);o instanceof Promise?o.then(s=>he(e,s,n,r)).catch(s=>ne(s,i,t)):e(o)}else typeof t=="object"&&t instanceof Promise?t.then(o=>e(o)):e(t)}var et="x-";function U(e=""){return et+e}function gr(e){et=e}var ge={};function y(e,t){return ge[e]=t,{before(n){if(!ge[n]){console.warn(String.raw`Cannot find directive \`${n}\`. \`${e}\` will use the default order of execution`);return}let r=j.indexOf(n);j.splice(r>=0?r:j.indexOf("DEFAULT"),0,e)}}}function xr(e){return Object.keys(ge).includes(e)}function tt(e,t,n){if(t=Array.from(t),e._x_virtualDirectives){let o=Object.entries(e._x_virtualDirectives).map(([a,u])=>({name:a,value:u})),s=Jt(o);o=o.map(a=>s.find(u=>u.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),t=t.concat(o)}let r={};return t.map(Zt((o,s)=>r[o]=s)).filter(en).map(br(r,n)).sort(mr).map(o=>vr(e,o))}function Jt(e){return Array.from(e).map(Zt()).filter(t=>!en(t))}var ke=!1,Q=new Map,Vt=Symbol();function yr(e){ke=!0;let t=Symbol();Vt=t,Q.set(t,[]);let n=()=>{for(;Q.get(t).length;)Q.get(t).shift()();Q.delete(t)},r=()=>{ke=!1,n()};e(n),r()}function Yt(e){let t=[],n=a=>t.push(a),[r,i]=tr(e);return t.push(i),[{Alpine:oe,effect:r,cleanup:n,evaluateLater:m.bind(m,e),evaluate:L.bind(L,e)},()=>t.forEach(a=>a())]}function vr(e,t){let n=()=>{},r=ge[t.type]||n,[i,o]=Yt(e);kt(e,t.original,o);let s=()=>{e._x_ignore||e._x_ignoreSelf||(r.inline&&r.inline(e,t,i),r=r.bind(r,e,t,i),ke?Q.get(Vt).push(r):r())};return s.runCleanups=o,s}var Gt=(e,t)=>({name:n,value:r})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:r}),Xt=e=>e;function Zt(e=()=>{}){return({name:t,value:n})=>{let{name:r,value:i}=Qt.reduce((o,s)=>s(o),{name:t,value:n});return r!==t&&e(r,t),{name:r,value:i}}}var Qt=[];function nt(e){Qt.push(e)}function en({name:e}){return tn().test(e)}var tn=()=>new RegExp(`^${et}([^:^.]+)\\b`);function br(e,t){return({name:n,value:r})=>{let i=n.match(tn()),o=n.match(/:([a-zA-Z0-9\-_:]+)/),s=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=t||e[n]||n;return{type:i?i[1]:null,value:o?o[1]:null,modifiers:s.map(u=>u.replace(".","")),expression:r,original:a}}}var Fe="DEFAULT",j=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",Fe,"teleport"];function mr(e,t){let n=j.indexOf(e.type)===-1?Fe:e.type,r=j.indexOf(t.type)===-1?Fe:t.type;return j.indexOf(n)-j.indexOf(r)}function ee(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}function B(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(i=>B(i,t));return}let n=!1;if(t(e,()=>n=!0),n)return;let r=e.firstElementChild;for(;r;)B(r,t,!1),r=r.nextElementSibling}function E(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var yt=!1;function wr(){yt&&E("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),yt=!0,document.body||E("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `