diff --git a/.babelrc b/.babelrc deleted file mode 100644 index f58955da..00000000 --- a/.babelrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "plugins": [ - ["prismjs", { - "languages": ["javascript", "css", "markup", "php", "ini", "yaml", "bash", "sql"], - "css": false - }] - ] - } diff --git a/package-lock.json b/package-lock.json index b981f891..9bfa6892 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,12 +10,10 @@ "@docsearch/js": "^3.3.3", "alpinejs": "^3.7.1", "autoprefixer": "^10.4.14", - "babel-plugin-prismjs": "^2.0.1", "clipboard": "^2.0.10", "laravel-vite-plugin": "^0.7.6", "postcss": "^8.4.21", "postcss-import": "^14.0.0", - "prismjs": "^1.22.0", "tailwindcss": "^3.3.0", "vite": "^4.3.9" } @@ -721,15 +719,6 @@ "postcss": "^8.1.0" } }, - "node_modules/babel-plugin-prismjs": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/babel-plugin-prismjs/-/babel-plugin-prismjs-2.1.0.tgz", - "integrity": "sha512-ehzSKYfeAz4U78zi/sfwsjDPlq0LvDKxNefcZTJ/iKBu+plsHsLqZhUeGf1+82LAcA35UZGbU6ksEx2Utphc/g==", - "dev": true, - "peerDependencies": { - "prismjs": "^1.18.0" - } - }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -1543,15 +1532,6 @@ "url": "https://opencollective.com/preact" } }, - "node_modules/prismjs": { - "version": "1.27.0", - "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.27.0.tgz", - "integrity": "sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -2374,13 +2354,6 @@ "postcss-value-parser": "^4.2.0" } }, - "babel-plugin-prismjs": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/babel-plugin-prismjs/-/babel-plugin-prismjs-2.1.0.tgz", - "integrity": "sha512-ehzSKYfeAz4U78zi/sfwsjDPlq0LvDKxNefcZTJ/iKBu+plsHsLqZhUeGf1+82LAcA35UZGbU6ksEx2Utphc/g==", - "dev": true, - "requires": {} - }, "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -2947,12 +2920,6 @@ "integrity": "sha512-ERdIdUpR6doqdaSIh80hvzebHB7O6JxycOhyzAeLEchqOq/4yueslQbfnPwXaNhAYacFTyCclhwkEbOumT0tHw==", "dev": true }, - "prismjs": { - "version": "1.27.0", - "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.27.0.tgz", - "integrity": "sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA==", - "dev": true - }, "queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", diff --git a/package.json b/package.json index ebc361ad..540f0a4f 100644 --- a/package.json +++ b/package.json @@ -11,12 +11,10 @@ "@docsearch/js": "^3.3.3", "alpinejs": "^3.7.1", "autoprefixer": "^10.4.14", - "babel-plugin-prismjs": "^2.0.1", "clipboard": "^2.0.10", "laravel-vite-plugin": "^0.7.6", "postcss": "^8.4.21", "postcss-import": "^14.0.0", - "prismjs": "^1.22.0", "tailwindcss": "^3.3.0", "vite": "^4.3.9" } diff --git a/public/build/assets/accessibility-1f45336a.js b/public/build/assets/accessibility-1f45336a.js deleted file mode 100644 index 6c14ecf4..00000000 --- a/public/build/assets/accessibility-1f45336a.js +++ /dev/null @@ -1 +0,0 @@ -const t=document.querySelector("#skip-to-content-link"),e=document.querySelector("#main-content");t&&e&&(t.addEventListener("click",o),e.addEventListener("blur",i));t&&!e&&r();function o(n){n.preventDefault(),e.setAttribute("tabindex",-1),e.focus()}function i(){e.removeAttribute("tabindex")}function r(){t.parentNode.removeChild(t)} diff --git a/public/build/assets/app-2c9b9d45.js b/public/build/assets/app-2c9b9d45.js deleted file mode 100644 index 2b65e112..00000000 --- a/public/build/assets/app-2c9b9d45.js +++ /dev/null @@ -1,29 +0,0 @@ -const Va="modulepreload",Wa=function(e){return"/build/"+e},_n={},yn=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(i=>{if(i=Wa(i),i in _n)return;_n[i]=!0;const a=i.endsWith(".css"),c=a?'[rel="stylesheet"]':"";if(!!n)for(let s=o.length-1;s>=0;s--){const d=o[s];if(d.href===i&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${c}`))return;const l=document.createElement("link");if(l.rel=a?"stylesheet":Va,a||(l.as="script",l.crossOrigin=""),l.href=i,document.head.appendChild(l),a)return new Promise((s,d)=>{l.addEventListener("load",s),l.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t())};var vr=!1,_r=!1,Se=[];function za(e){Ja(e)}function Ja(e){Se.includes(e)||Se.push(e),Qa()}function qo(e){let t=Se.indexOf(e);t!==-1&&Se.splice(t,1)}function Qa(){!_r&&!vr&&(vr=!0,queueMicrotask(Ga))}function Ga(){vr=!1,_r=!0;for(let e=0;ee.effect(t,{scheduler:r=>{yr?za(r):r()}}),Ho=e.raw}function gn(e){lt=e}function Xa(e){let t=()=>{};return[n=>{let o=lt(n);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(i=>i())}),e._x_effects.add(o),t=()=>{o!==void 0&&(e._x_effects.delete(o),Ut(o))},o},()=>{t()}]}var Uo=[],Bo=[],$o=[];function ec(e){$o.push(e)}function Ko(e,t){typeof t=="function"?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,Bo.push(t))}function tc(e){Uo.push(e)}function rc(e,t,r){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(r)}function Vo(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach(([r,n])=>{(t===void 0||t.includes(r))&&(n.forEach(o=>o()),delete e._x_attributeCleanups[r])})}var Vr=new MutationObserver(Jr),Wr=!1;function Wo(){Vr.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),Wr=!0}function nc(){oc(),Vr.disconnect(),Wr=!1}var Ye=[],or=!1;function oc(){Ye=Ye.concat(Vr.takeRecords()),Ye.length&&!or&&(or=!0,queueMicrotask(()=>{ic(),or=!1}))}function ic(){Jr(Ye),Ye.length=0}function V(e){if(!Wr)return e();nc();let t=e();return Wo(),t}var zr=!1,At=[];function ac(){zr=!0}function cc(){zr=!1,Jr(At),At=[]}function Jr(e){if(zr){At=At.concat(e);return}let t=[],r=[],n=new Map,o=new Map;for(let i=0;ia.nodeType===1&&t.push(a)),e[i].removedNodes.forEach(a=>a.nodeType===1&&r.push(a))),e[i].type==="attributes")){let a=e[i].target,c=e[i].attributeName,u=e[i].oldValue,l=()=>{n.has(a)||n.set(a,[]),n.get(a).push({name:c,value:a.getAttribute(c)})},s=()=>{o.has(a)||o.set(a,[]),o.get(a).push(c)};a.hasAttribute(c)&&u===null?l():a.hasAttribute(c)?(s(),l()):s()}o.forEach((i,a)=>{Vo(a,i)}),n.forEach((i,a)=>{Uo.forEach(c=>c(a,i))});for(let i of r)if(!t.includes(i)&&(Bo.forEach(a=>a(i)),i._x_cleanups))for(;i._x_cleanups.length;)i._x_cleanups.pop()();t.forEach(i=>{i._x_ignoreSelf=!0,i._x_ignore=!0});for(let i of t)r.includes(i)||i.isConnected&&(delete i._x_ignoreSelf,delete i._x_ignore,$o.forEach(a=>a(i)),i._x_ignore=!0,i._x_ignoreSelf=!0);t.forEach(i=>{delete i._x_ignoreSelf,delete i._x_ignore}),t=null,r=null,n=null,o=null}function zo(e){return ft(Me(e))}function st(e,t,r){return e._x_dataStack=[t,...Me(r||e)],()=>{e._x_dataStack=e._x_dataStack.filter(n=>n!==t)}}function bn(e,t){let r=e._x_dataStack[0];Object.entries(t).forEach(([n,o])=>{r[n]=o})}function Me(e){return e._x_dataStack?e._x_dataStack:typeof ShadowRoot=="function"&&e instanceof ShadowRoot?Me(e.host):e.parentNode?Me(e.parentNode):[]}function ft(e){let t=new Proxy({},{ownKeys:()=>Array.from(new Set(e.flatMap(r=>Object.keys(r)))),has:(r,n)=>e.some(o=>o.hasOwnProperty(n)),get:(r,n)=>(e.find(o=>{if(o.hasOwnProperty(n)){let i=Object.getOwnPropertyDescriptor(o,n);if(i.get&&i.get._x_alreadyBound||i.set&&i.set._x_alreadyBound)return!0;if((i.get||i.set)&&i.enumerable){let a=i.get,c=i.set,u=i;a=a&&a.bind(t),c=c&&c.bind(t),a&&(a._x_alreadyBound=!0),c&&(c._x_alreadyBound=!0),Object.defineProperty(o,n,{...u,get:a,set:c})}return!0}return!1})||{})[n],set:(r,n,o)=>{let i=e.find(a=>a.hasOwnProperty(n));return i?i[n]=o:e[e.length-1][n]=o,!0}});return t}function Jo(e){let t=n=>typeof n=="object"&&!Array.isArray(n)&&n!==null,r=(n,o="")=>{Object.entries(Object.getOwnPropertyDescriptors(n)).forEach(([i,{value:a,enumerable:c}])=>{if(c===!1||a===void 0)return;let u=o===""?i:`${o}.${i}`;typeof a=="object"&&a!==null&&a._x_interceptor?n[i]=a.initialize(e,u,i):t(a)&&a!==n&&!(a instanceof Element)&&r(a,u)})};return r(e)}function Qo(e,t=()=>{}){let r={initialValue:void 0,_x_interceptor:!0,initialize(n,o,i){return e(this.initialValue,()=>uc(n,o),a=>gr(n,o,a),o,i)}};return t(r),n=>{if(typeof n=="object"&&n!==null&&n._x_interceptor){let o=r.initialize.bind(r);r.initialize=(i,a,c)=>{let u=n.initialize(i,a,c);return r.initialValue=u,o(i,a,c)}}else r.initialValue=n;return r}}function uc(e,t){return t.split(".").reduce((r,n)=>r[n],e)}function gr(e,t,r){if(typeof t=="string"&&(t=t.split(".")),t.length===1)e[t[0]]=r;else{if(t.length===0)throw error;return e[t[0]]||(e[t[0]]={}),gr(e[t[0]],t.slice(1),r)}}var Go={};function ne(e,t){Go[e]=t}function br(e,t){return Object.entries(Go).forEach(([r,n])=>{Object.defineProperty(e,`$${r}`,{get(){let[o,i]=ti(t);return o={interceptor:Qo,...o},Ko(t,i),n(t,o)},enumerable:!1})}),e}function lc(e,t,r,...n){try{return r(...n)}catch(o){ot(o,e,t)}}function ot(e,t,r=void 0){Object.assign(e,{el:t,expression:r}),console.warn(`Alpine Expression Error: ${e.message} - -${r?'Expression: "'+r+`" - -`:""}`,t),setTimeout(()=>{throw e},0)}function Ne(e,t,r={}){let n;return Q(e,t)(o=>n=o,r),n}function Q(...e){return Zo(...e)}var Zo=Yo;function sc(e){Zo=e}function Yo(e,t){let r={};br(r,e);let n=[r,...Me(e)];if(typeof t=="function")return fc(n,t);let o=pc(n,t,e);return lc.bind(null,e,t,o)}function fc(e,t){return(r=()=>{},{scope:n={},params:o=[]}={})=>{let i=t.apply(ft([n,...e]),o);It(r,i)}}var ir={};function dc(e,t){if(ir[e])return ir[e];let r=Object.getPrototypeOf(async function(){}).constructor,n=/^[\n\s]*if.*\(.*\)/.test(e)||/^(let|const)\s/.test(e)?`(() => { ${e} })()`:e,i=(()=>{try{return new r(["__self","scope"],`with (scope) { __self.result = ${n} }; __self.finished = true; return __self.result;`)}catch(a){return ot(a,t,e),Promise.resolve()}})();return ir[e]=i,i}function pc(e,t,r){let n=dc(t,r);return(o=()=>{},{scope:i={},params:a=[]}={})=>{n.result=void 0,n.finished=!1;let c=ft([i,...e]);if(typeof n=="function"){let u=n(n,c).catch(l=>ot(l,r,t));n.finished?(It(o,n.result,c,a,r),n.result=void 0):u.then(l=>{It(o,l,c,a,r)}).catch(l=>ot(l,r,t)).finally(()=>n.result=void 0)}}}function It(e,t,r,n,o){if(typeof t=="function"){let i=t.apply(r,n);i instanceof Promise?i.then(a=>It(e,a,r,n)).catch(a=>ot(a,o,t)):e(i)}else e(t)}var Qr="x-";function He(e=""){return Qr+e}function hc(e){Qr=e}var Xo={};function $(e,t){Xo[e]=t}function Gr(e,t,r){let n={};return Array.from(t).map(oi((i,a)=>n[i]=a)).filter(ai).map(yc(n,r)).sort(gc).map(i=>_c(e,i))}function mc(e){return Array.from(e).map(oi()).filter(t=>!ai(t))}var Or=!1,Qe=new Map,ei=Symbol();function vc(e){Or=!0;let t=Symbol();ei=t,Qe.set(t,[]);let r=()=>{for(;Qe.get(t).length;)Qe.get(t).shift()();Qe.delete(t)},n=()=>{Or=!1,r()};e(r),n()}function ti(e){let t=[],r=c=>t.push(c),[n,o]=Xa(e);return t.push(o),[{Alpine:dt,effect:n,cleanup:r,evaluateLater:Q.bind(Q,e),evaluate:Ne.bind(Ne,e)},()=>t.forEach(c=>c())]}function _c(e,t){let r=()=>{},n=Xo[t.type]||r,[o,i]=ti(e);rc(e,t.original,i);let a=()=>{e._x_ignore||e._x_ignoreSelf||(n.inline&&n.inline(e,t,o),n=n.bind(n,e,t,o),Or?Qe.get(ei).push(n):n())};return a.runCleanups=i,a}var ri=(e,t)=>({name:r,value:n})=>(r.startsWith(e)&&(r=r.replace(e,t)),{name:r,value:n}),ni=e=>e;function oi(e=()=>{}){return({name:t,value:r})=>{let{name:n,value:o}=ii.reduce((i,a)=>a(i),{name:t,value:r});return n!==t&&e(n,t),{name:n,value:o}}}var ii=[];function Zr(e){ii.push(e)}function ai({name:e}){return ci().test(e)}var ci=()=>new RegExp(`^${Qr}([^:^.]+)\\b`);function yc(e,t){return({name:r,value:n})=>{let o=r.match(ci()),i=r.match(/:([a-zA-Z0-9\-:]+)/),a=r.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],c=t||e[r]||r;return{type:o?o[1]:null,value:i?i[1]:null,modifiers:a.map(u=>u.replace(".","")),expression:n,original:c}}}var Sr="DEFAULT",mt=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",Sr,"teleport","element"];function gc(e,t){let r=mt.indexOf(e.type)===-1?Sr:e.type,n=mt.indexOf(t.type)===-1?Sr:t.type;return mt.indexOf(r)-mt.indexOf(n)}function Xe(e,t,r={}){e.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0,cancelable:!0}))}var wr=[],Yr=!1;function ui(e){wr.push(e),queueMicrotask(()=>{Yr||setTimeout(()=>{Er()})})}function Er(){for(Yr=!1;wr.length;)wr.shift()()}function bc(){Yr=!0}function xe(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(o=>xe(o,t));return}let r=!1;if(t(e,()=>r=!0),r)return;let n=e.firstElementChild;for(;n;)xe(n,t),n=n.nextElementSibling}function Le(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}function Oc(){document.body||Le("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `