2025-01-20 06:54:28 -08:00
|
|
|
(()=>{var cl=Object.create;var li=Object.defineProperty;var fl=Object.getOwnPropertyDescriptor;var dl=Object.getOwnPropertyNames;var pl=Object.getPrototypeOf,hl=Object.prototype.hasOwnProperty;var ml=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var gl=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of dl(t))!hl.call(e,i)&&i!==r&&li(e,i,{get:()=>t[i],enumerable:!(n=fl(t,i))||n.enumerable});return e};var vl=(e,t,r)=>(r=e!=null?cl(pl(e)):{},gl(t||!e||!e.__esModule?li(r,"default",{value:e,enumerable:!0}):r,e));var ba=ml((jn,va)=>{(function(e,t){typeof define=="function"&&define.amd?define(t):typeof jn=="object"?va.exports=t():e.NProgress=t()})(jn,function(){var e={};e.version="0.2.0";var t=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};e.configure=function(c){var d,m;for(d in c)m=c[d],m!==void 0&&c.hasOwnProperty(d)&&(t[d]=m);return this},e.status=null,e.set=function(c){var d=e.isStarted();c=r(c,t.minimum,1),e.status=c===1?null:c;var m=e.render(!d),b=m.querySelector(t.barSelector),g=t.speed,y=t.easing;return m.offsetWidth,o(function(v){t.positionUsing===""&&(t.positionUsing=e.getPositioningCSS()),s(b,i(c,g,y)),c===1?(s(m,{transition:"none",opacity:1}),m.offsetWidth,setTimeout(function(){s(m,{transition:"all "+g+"ms linear",opacity:0}),setTimeout(function(){e.remove(),v()},g)},g)):setTimeout(v,g)}),this},e.isStarted=function(){return typeof e.status=="number"},e.start=function(){e.status||e.set(0);var c=function(){setTimeout(function(){!e.status||(e.trickle(),c())},t.trickleSpeed)};return t.trickle&&c(),this},e.done=function(c){return!c&&!e.status?this:e.inc(.3+.5*Math.random()).set(1)},e.inc=function(c){var d=e.status;return d?(typeof c!="number"&&(c=(1-d)*r(Math.random()*d,.1,.95)),d=r(d+c,0,.994),e.set(d)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var c=0,d=0;e.promise=function(m){return!m||m.state()==="resolved"?this:(d===0&&e.start(),c++,d++,m.always(function(){d--,d===0?(c=0,e.done()):e.set((c-d)/c)}),this)}}(),e.render=function(c){if(e.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var d=document.createElement("div");d.id="nprogress",d.innerHTML=t.template;var m=d.querySelector(t.barSelector),b=c?"-100":n(e.status||0),g=document.querySelector(t.parent),y;return s(m,{transition:"all 0 linear",transform:"translate3d("+b+"%,0,0)"}),t.showSpinner||(y=d.querySelector(t.spinnerSelector),y&&p(y)),g!=document.body&&l(g,"nprogress-custom-parent"),g.appendChild(d),d},e.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(t.parent),"nprogress-custom-parent");var c=document.getElementById("nprogress");c&&p(c)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var c=document.body.style,d="WebkitTransform"in c?"Webkit":"MozTransform"in c?"Moz":"msTransform"in c?"ms":"OTransform"in c?"O":"";return d+"Perspective"in c?"translate3d":d+"Transform"in c?"translate":"margin"};function r(c,d,m){return c<d?d:c>m?m:c}function n(c){return(-1+c)*100}function i(c,d,m){var b;return t.positionUsing==="translate3d"?b={transform:"translate3d("+n(c)+"%,0,0)"}:t.positionUsing==="translate"?b={transform:"translate("+n(c)+"%,0)"}:b={"margin-left":n(c)+"%"},b.transition="all "+d+"ms "+m,b}var o=function(){var c=[];function d(){var m=c.shift();m&&m(d)}return function(m){c.push(m),c.length==1&&d()}}(),s=function(){var c=["Webkit","O","Moz","ms"],d={};function m(v){return v.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(_,A){return A.toUpperCase()})}function b(v){var _=document.body.style;if(v in _)return v;for(var A=c.length,C=v.charAt(0).toUpperCase()+v.slice(1),w;A--;)if(w=c[A]+C,w in _)return w;return v}function g(v){return v=m(v),d[v]||(d[
|
2024-05-29 12:04:06 -07:00
|
|
|
|
|
|
|
${r?'Expression: "'+r+`"
|
|
|
|
|
2025-01-20 06:54:28 -08:00
|
|
|
`:""}`,t),setTimeout(()=>{throw e},0)}var Rt=!0;function Vi(e){let t=Rt;Rt=!1;let r=e();return Rt=t,r}function Ee(e,t,r={}){let n;return H(e,t)(i=>n=i,r),n}function H(...e){return Ji(...e)}var Ji=Gi;function Fl(e){Ji=e}function Gi(e,t){let r={};Nr(r,e);let n=[r,...$e(e)],i=typeof t=="function"?$l(n,t):Bl(n,t,e);return Il.bind(null,e,t,i)}function $l(e,t){return(r=()=>{},{scope:n={},params:i=[]}={})=>{let o=t.apply(ft([n,...e]),i);It(r,o)}}var Sr={};function Dl(e,t){if(Sr[e])return Sr[e];let r=Object.getPrototypeOf(async function(){}).constructor,n=/^[\n\s]*if.*\(.*\)/.test(e.trim())||/^(let|const)\s/.test(e.trim())?`(async()=>{ ${e} })()`:e,o=(()=>{try{let s=new r(["__self","scope"],`with (scope) { __self.result = ${n} }; __self.finished = true; return __self.result;`);return Object.defineProperty(s,"name",{value:`[Alpine] ${e}`}),s}catch(s){return ut(s,t,e),Promise.resolve()}})();return Sr[e]=o,o}function Bl(e,t,r){let n=Dl(t,r);return(i=()=>{},{scope:o={},params:s=[]}={})=>{n.result=void 0,n.finished=!1;let a=ft([o,...e]);if(typeof n=="function"){let l=n(n,a).catch(u=>ut(u,r,t));n.finished?(It(i,n.result,a,s,r),n.result=void 0):l.then(u=>{It(i,u,a,s,r)}).catch(u=>ut(u,r,t)).finally(()=>n.result=void 0)}}}function It(e,t,r,n,i){if(Rt&&typeof t=="function"){let o=t.apply(r,n);o instanceof Promise?o.then(s=>It(e,s,r,n)).catch(s=>ut(s,i,t)):e(o)}else typeof t=="object"&&t instanceof Promise?t.then(o=>e(o)):e(t)}var Yr="x-";function He(e=""){return Yr+e}function Ul(e){Yr=e}var Ft={};function B(e,t){return Ft[e]=t,{before(r){if(!Ft[r]){console.warn(String.raw`Cannot find directive \`${r}\`. \`${e}\` will use the default order of execution`);return}let n=_e.indexOf(r);_e.splice(n>=0?n:_e.indexOf("DEFAULT"),0,e)}}}function Hl(e){return Object.keys(Ft).includes(e)}function Qr(e,t,r){if(t=Array.from(t),e._x_virtualDirectives){let o=Object.entries(e._x_virtualDirectives).map(([a,l])=>({name:a,value:l})),s=Xi(o);o=o.map(a=>s.find(l=>l.name===a.name)?{name:`x-bind:${a.name}`,value:`"${a.value}"`}:a),t=t.concat(o)}let n={};return t.map(to((o,s)=>n[o]=s)).filter(no).map(Wl(n,r)).sort(zl).map(o=>ql(e,o))}function Xi(e){return Array.from(e).map(to()).filter(t=>!no(t))}var Mr=!1,st=new Map,Yi=Symbol();function jl(e){Mr=!0;let t=Symbol();Yi=t,st.set(t,[]);let r=()=>{for(;st.get(t).length;)st.get(t).shift()();st.delete(t)},n=()=>{Mr=!1,r()};e(r),n()}function Qi(e){let t=[],r=a=>t.push(a),[n,i]=Al(e);return t.push(i),[{Alpine:dt,effect:n,cleanup:r,evaluateLater:H.bind(H,e),evaluate:Ee.bind(Ee,e)},()=>t.forEach(a=>a())]}function ql(e,t){let r=()=>{},n=Ft[t.type]||r,[i,o]=Qi(e);Ui(e,t.original,o);let s=()=>{e._x_ignore||e._x_ignoreSelf||(n.inline&&n.inline(e,t,i),n=n.bind(n,e,t,i),Mr?st.get(Yi).push(n):n())};return s.runCleanups=o,s}var Zi=(e,t)=>({name:r,value:n})=>(r.startsWith(e)&&(r=r.replace(e,t)),{name:r,value:n}),eo=e=>e;function to(e=()=>{}){return({name:t,value:r})=>{let{name:n,value:i}=ro.reduce((o,s)=>s(o),{name:t,value:r});return n!==t&&e(n,t),{name:n,value:i}}}var ro=[];function Zr(e){ro.push(e)}function no({name:e}){return io().test(e)}var io=()=>new RegExp(`^${Yr}([^:^.]+)\\b`);function Wl(e,t){return({name:r,value:n})=>{let i=r.match(io()),o=r.match(/:([a-zA-Z0-9\-_:]+)/),s=r.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],a=t||e[r]||r;return{type:i?i[1]:null,value:o?o[1]:null,modifiers:s.map(l=>l.replace(".","")),expression:n,original:a}}}var Ir="DEFAULT",_e=["ignore","ref","data","id","anchor","bind","init","for","model","modelable","transition","show","if",Ir,"teleport"];function zl(e,t){let r=_e.indexOf(e.type)===-1?Ir:e.type,n=_e.indexOf(t.type)===-1?Ir:t.type;return _e.indexOf(r)-_e.indexOf(n)}function at(e,t,r={}){e.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0,cancelable:!0}))}function Oe(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(i=>Oe(i,t));return}let r=!1;if(t(e,()=>r=!0),r)return;let n=e.firstElementChild;for(;n;)Oe(n,t,!1),n=n.nextElementSibling}function V(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var xi=!1;function Kl(){xi&&V("Alpine has already
|
|
|
|
Would you like to refresh the page?`)&&window.location.reload()}function Rc(e){hn(e)}var bn={},ts;function D(e,t,r=null){bn[e]=t}function Nc(e){ts=e}var Zo={on:"$on",el:"$el",id:"$id",get:"$get",set:"$set",call:"$call",hook:"$hook",commit:"$commit",watch:"$watch",entangle:"$entangle",dispatch:"$dispatch",dispatchTo:"$dispatchTo",dispatchSelf:"$dispatchSelf",upload:"$upload",uploadMultiple:"$uploadMultiple",removeUpload:"$removeUpload",cancelUpload:"$cancelUpload"};function rs(e,t){return new Proxy({},{get(r,n){if(n==="__instance")return e;if(n in Zo)return es(e,Zo[n]);if(n in bn)return es(e,n);if(n in t)return t[n];if(!["then"].includes(n))return Mc(e)(n)},set(r,n,i){return n in t&&(t[n]=i),!0}})}function es(e,t){return bn[t](e)}function Mc(e){return ts(e)}S.magic("wire",(e,{cleanup:t})=>{let r;return new Proxy({},{get(n,i){return r||(r=z(e)),["$entangle","entangle"].includes(i)?pn(r,t):r.$wire[i]},set(n,i,o){return r||(r=z(e)),r.$wire[i]=o,!0}})});D("__instance",e=>e);D("$get",e=>(t,r=!0)=>W(r?e.reactive:e.ephemeral,t));D("$el",e=>e.el);D("$id",e=>e.id);D("$set",e=>async(t,r,n=!0)=>(we(e.reactive,t,r),n?(e.queueUpdate(t,r),await gn(e)):Promise.resolve()));D("$call",e=>async(t,...r)=>await e.$wire[t](...r));D("$entangle",e=>(t,r=!1)=>pn(e)(t,r));D("$toggle",e=>(t,r=!0)=>e.$wire.set(t,!e.$wire.get(t),r));D("$watch",e=>(t,r)=>{let n=()=>W(e.reactive,t),i=S.watch(n,r);e.addCleanup(i)});D("$refresh",e=>e.$wire.$commit);D("$commit",e=>async()=>await gn(e));D("$on",e=>(...t)=>is(e,...t));D("$hook",e=>(t,r)=>{let n=k(t,({component:i,...o})=>{if(i===void 0)return r(o);if(i.id===e.id)return r({component:i,...o})});return e.addCleanup(n),n});D("$dispatch",e=>(...t)=>Xt(e,...t));D("$dispatchSelf",e=>(...t)=>oe(e,...t));D("$dispatchTo",()=>(...e)=>ze(...e));D("$upload",e=>(...t)=>gi(e,...t));D("$uploadMultiple",e=>(...t)=>vi(e,...t));D("$removeUpload",e=>(...t)=>bi(e,...t));D("$cancelUpload",e=>(...t)=>wi(e,...t));var vn=new WeakMap;D("$parent",e=>{if(vn.has(e))return vn.get(e).$wire;let t=e.parent;return vn.set(e,t),t.$wire});var We=new WeakMap;function ns(e,t,r){We.has(e)||We.set(e,{});let n=We.get(e);n[t]=r,We.set(e,n)}Nc(e=>t=>async(...r)=>{if(r.length===1&&r[0]instanceof Event&&(r=[]),We.has(e)){let n=We.get(e);if(typeof n[t]=="function")return n[t](r)}return await Qo(e,t,r)});var Yt=class{constructor(t){if(t.__livewire)throw"Component already initialized";if(t.__livewire=this,this.el=t,this.id=t.getAttribute("wire:id"),this.__livewireId=this.id,this.snapshotEncoded=t.getAttribute("wire:snapshot"),this.snapshot=JSON.parse(this.snapshotEncoded),!this.snapshot)throw"Snapshot missing on Livewire component with id: "+this.id;this.name=this.snapshot.memo.name,this.effects=JSON.parse(t.getAttribute("wire:effects")),this.originalEffects=ce(this.effects),this.canonical=ye(ce(this.snapshot.data)),this.ephemeral=ye(ce(this.snapshot.data)),this.reactive=Alpine.reactive(this.ephemeral),this.queuedUpdates={},this.$wire=rs(this,this.reactive),this.cleanups=[],this.processEffects(this.effects)}mergeNewSnapshot(t,r,n={}){let i=JSON.parse(t),o=ce(this.canonical),s=this.applyUpdates(o,n),a=ye(ce(i.data)),l=et(s,a);this.snapshotEncoded=t,this.snapshot=i,this.effects=r,this.canonical=ye(ce(i.data));let u=ye(ce(i.data));return Object.entries(l).forEach(([f,p])=>{let c=f.split(".")[0];this.reactive[c]=u[c]}),l}queueUpdate(t,r){this.queuedUpdates[t]=r}mergeQueuedUpdates(t){return Object.entries(this.queuedUpdates).forEach(([r,n])=>{Object.entries(t).forEach(([i,o])=>{i.startsWith(n)&&delete t[i]}),t[r]=n}),this.queuedUpdates=[],t}applyUpdates(t,r){for(let n in r)we(t,n,r[n]);return t}replayUpdate(t,r){let n={...this.effects,html:r};this.mergeNewSnapshot(JSON.stringify(t),n),this.processEffects({html:r})}processEffects(t){P("effects",this,t),P("effect",{component:this,effects:t,cleanup:r=>this.addCleanup(r)})}get children(){let t=this.snapshot.memo;return Object.values(t.children).map(n=>n[1]).map(n=>os(n))}get parent(){return z(this.el.parentElement)}inscribeSnapshotAndEffectsOnElement(){let t=this.el;t.setAttribute("wire:snapshot",this.snapshotEnco
|
2024-05-29 12:04:06 -07:00
|
|
|
for (var l=arguments.length, p=new Array(l), k=0; k<l; k++) {
|
|
|
|
p[k] = arguments[k];
|
|
|
|
}
|
|
|
|
return [].concat(p);
|
2025-01-20 06:54:28 -08:00
|
|
|
})(${i[2]})`)(this.eventContext)),{method:r,params:n}}};function Ic(e){e.directive("collapse",t),t.inline=(r,{modifiers:n})=>{!n.includes("min")||(r._x_doShow=()=>{},r._x_doHide=()=>{})};function t(r,{modifiers:n}){let i=gs(n,"duration",250)/1e3,o=gs(n,"min",0),s=!n.includes("min");r._x_isShown||(r.style.height=`${o}px`),!r._x_isShown&&s&&(r.hidden=!0),r._x_isShown||(r.style.overflow="hidden");let a=(u,f)=>{let p=e.setStyles(u,f);return f.height?()=>{}:p},l={transitionProperty:"height",transitionDuration:`${i}s`,transitionTimingFunction:"cubic-bezier(0.4, 0.0, 0.2, 1)"};r._x_transition={in(u=()=>{},f=()=>{}){s&&(r.hidden=!1),s&&(r.style.display=null);let p=r.getBoundingClientRect().height;r.style.height="auto";let c=r.getBoundingClientRect().height;p===c&&(p=o),e.transition(r,e.setStyles,{during:l,start:{height:p+"px"},end:{height:c+"px"}},()=>r._x_isShown=!0,()=>{Math.abs(r.getBoundingClientRect().height-c)<1&&(r.style.overflow=null)})},out(u=()=>{},f=()=>{}){let p=r.getBoundingClientRect().height;e.transition(r,a,{during:l,start:{height:p+"px"},end:{height:o+"px"}},()=>r.style.overflow="hidden",()=>{r._x_isShown=!1,r.style.height==`${o}px`&&s&&(r.style.display="none",r.hidden=!0)})}}}}function gs(e,t,r){if(e.indexOf(t)===-1)return r;let n=e[e.indexOf(t)+1];if(!n)return r;if(t==="duration"){let i=n.match(/([0-9]+)ms/);if(i)return i[1]}if(t==="min"){let i=n.match(/([0-9]+)px/);if(i)return i[1]}return n}var vs=Ic;var As=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],nr=As.join(","),Cs=typeof Element>"u",Le=Cs?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,_n=!Cs&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},Os=function(t,r,n){var i=Array.prototype.slice.apply(t.querySelectorAll(nr));return r&&Le.call(t,nr)&&i.unshift(t),i=i.filter(n),i},Ts=function e(t,r,n){for(var i=[],o=Array.from(t);o.length;){var s=o.shift();if(s.tagName==="SLOT"){var a=s.assignedElements(),l=a.length?a:s.children,u=e(l,!0,n);n.flatten?i.push.apply(i,u):i.push({scope:s,candidates:u})}else{var f=Le.call(s,nr);f&&n.filter(s)&&(r||!t.includes(s))&&i.push(s);var p=s.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(s),c=!n.shadowRootFilter||n.shadowRootFilter(s);if(p&&c){var d=e(p===!0?s.children:p.children,!0,n);n.flatten?i.push.apply(i,d):i.push({scope:s,candidates:d})}else o.unshift.apply(o,s.children)}}return i},ks=function(t,r){return t.tabIndex<0&&(r||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||t.isContentEditable)&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},Fc=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},Ls=function(t){return t.tagName==="INPUT"},$c=function(t){return Ls(t)&&t.type==="hidden"},Dc=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return r},Bc=function(t,r){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===r)return t[n]},Uc=function(t){if(!t.name)return!0;var r=t.form||_n(t),n=function(a){return r.querySelectorAll('input[type="radio"][name="'+a+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=n(window.CSS.escape(t.name));else try{i=n(t.name)}catch(s){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",s.message),!1}var o=Bc(i,t.form);return!o||o===t},Hc=function(t){return Ls(t)&&t.type==="radio"},jc=function(t){return Hc(t)&&!Uc(t)},bs=function(t){var r=t.getBoundingClientRect(),n=r.width,i=r.height;return n===0&&i===0},qc=function(t,r){var n=r.displayCheck,i=r.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=Le.call(t,"details>summary:first-of-type"),s=o?t.parentElement:t;if(Le.call(s,"details:not([open
|
2024-05-29 12:04:06 -07:00
|
|
|
|
|
|
|
#nprogress {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nprogress .bar {
|
|
|
|
background: var(--livewire-progress-bar-color, #29d);
|
|
|
|
|
|
|
|
position: fixed;
|
|
|
|
z-index: 1031;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
height: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Fancy blur effect */
|
|
|
|
#nprogress .peg {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
right: 0px;
|
|
|
|
width: 100px;
|
|
|
|
height: 100%;
|
|
|
|
box-shadow: 0 0 10px var(--livewire-progress-bar-color, #29d), 0 0 5px var(--livewire-progress-bar-color, #29d);
|
|
|
|
opacity: 1.0;
|
|
|
|
|
|
|
|
-webkit-transform: rotate(3deg) translate(0px, -4px);
|
|
|
|
-ms-transform: rotate(3deg) translate(0px, -4px);
|
|
|
|
transform: rotate(3deg) translate(0px, -4px);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove these to get rid of the spinner */
|
|
|
|
#nprogress .spinner {
|
|
|
|
display: block;
|
|
|
|
position: fixed;
|
|
|
|
z-index: 1031;
|
|
|
|
top: 15px;
|
|
|
|
right: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nprogress .spinner-icon {
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
border: solid 2px transparent;
|
|
|
|
border-top-color: var(--livewire-progress-bar-color, #29d);
|
|
|
|
border-left-color: var(--livewire-progress-bar-color, #29d);
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
|
|
-webkit-animation: nprogress-spinner 400ms linear infinite;
|
|
|
|
animation: nprogress-spinner 400ms linear infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nprogress-custom-parent {
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nprogress-custom-parent #nprogress .spinner,
|
|
|
|
.nprogress-custom-parent #nprogress .bar {
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes nprogress-spinner {
|
|
|
|
0% { -webkit-transform: rotate(0deg); }
|
|
|
|
100% { -webkit-transform: rotate(360deg); }
|
|
|
|
}
|
|
|
|
@keyframes nprogress-spinner {
|
|
|
|
0% { transform: rotate(0deg); }
|
|
|
|
100% { transform: rotate(360deg); }
|
|
|
|
}
|
2025-01-20 06:54:28 -08:00
|
|
|
`;let t=di();t&&(e.nonce=t),document.head.appendChild(e)}function Wn(e){!_a()||e.querySelectorAll(":popover-open").forEach(t=>{t.setAttribute("data-navigate-popover-open","");let r=t.getAnimations();t._pausedAnimations=r.map(n=>({keyframes:n.effect.getKeyframes(),options:{duration:n.effect.getTiming().duration,easing:n.effect.getTiming().easing,fill:n.effect.getTiming().fill,iterations:n.effect.getTiming().iterations},currentTime:n.currentTime,playState:n.playState})),r.forEach(n=>n.pause())})}function zn(e){!_a()||e.querySelectorAll("[data-navigate-popover-open]").forEach(t=>{t.removeAttribute("data-navigate-popover-open"),queueMicrotask(()=>{!t.isConnected||(t.showPopover(),t.getAnimations().forEach(r=>r.finish()),t._pausedAnimations&&(t._pausedAnimations.forEach(({keyframes:r,options:n,currentTime:i,now:o,playState:s})=>{let a=t.animate(r,n);a.currentTime=i}),delete t._pausedAnimations))})})}function _a(){return typeof document.createElement("div").showPopover=="function"}var Kn=[],Aa=["data-csrf","aria-hidden"];function Vn(e,t){let r=new DOMParser().parseFromString(e,"text/html"),n=document.adoptNode(r.body),i=document.adoptNode(r.head);Kn=Kn.concat(Array.from(document.body.querySelectorAll("script")).map(a=>ka(La(a.outerHTML,Aa))));let o=()=>{};Vf(i).finally(()=>{o()}),Kf(n,Kn);let s=document.body;document.body.replaceWith(n),Alpine.destroyTree(s),t(a=>o=a)}function Kf(e,t){e.querySelectorAll("script").forEach(r=>{if(r.hasAttribute("data-navigate-once")){let n=ka(La(r.outerHTML,Aa));if(t.includes(n))return}r.replaceWith(Ca(r))})}function Vf(e){let t=Array.from(document.head.children),r=t.map(s=>s.outerHTML),n=document.createDocumentFragment(),i=[],o=[];for(let s of Array.from(e.children))if(Ea(s)){if(r.includes(s.outerHTML))n.appendChild(s);else if(Oa(s)&&Gf(s,t)&&setTimeout(()=>window.location.reload()),Ta(s))try{o.push(Jf(Ca(s)))}catch{}else document.head.appendChild(s);i.push(s)}for(let s of Array.from(document.head.children))Ea(s)||s.remove();for(let s of Array.from(e.children))s.tagName.toLowerCase()!=="noscript"&&document.head.appendChild(s);return Promise.all(o)}async function Jf(e){return new Promise((t,r)=>{e.src?(e.onload=()=>t(),e.onerror=()=>r()):t(),document.head.appendChild(e)})}function Ca(e){let t=document.createElement("script");t.textContent=e.textContent,t.async=e.async;for(let r of e.attributes)t.setAttribute(r.name,r.value);return t}function Oa(e){return e.hasAttribute("data-navigate-track")}function Gf(e,t){let[r,n]=Sa(e);return t.some(i=>{if(!Oa(i))return!1;let[o,s]=Sa(i);if(o===r&&n!==s)return!0})}function Sa(e){return(Ta(e)?e.src:e.href).split("?")}function Ea(e){return e.tagName.toLowerCase()==="link"&&e.getAttribute("rel").toLowerCase()==="stylesheet"||e.tagName.toLowerCase()==="style"||e.tagName.toLowerCase()==="script"}function Ta(e){return e.tagName.toLowerCase()==="script"}function ka(e){return e.split("").reduce((t,r)=>(t=(t<<5)-t+r.charCodeAt(0),t&t),0)}function La(e,t){let r=e;return t.forEach(n=>{let i=new RegExp(`${n}="[^"]*"|${n}='[^']*'`,"g");r=r.replace(i,"")}),r=r.replaceAll(" ",""),r.trim()}var mr=!0,Jn=!0,Xf=!0,Pa=!1;function Ia(e){e.navigate=r=>{let n=ve(r);ue("alpine:navigate",{url:n,history:!1,cached:!1})||t(n)},e.navigate.disableProgressBar=()=>{Jn=!1},e.addInitSelector(()=>`[${e.prefixed("navigate")}]`),e.directive("navigate",(r,{modifiers:n})=>{n.includes("hover")&&da(r,60,()=>{let o=Pn(r);!o||Nn(o,(s,a)=>{Mn(s,o,a)})}),fa(r,o=>{let s=Pn(r);!s||(Nn(s,(a,l)=>{Mn(a,s,l)}),o(()=>{ue("alpine:navigate",{url:s,history:!1,cached:!1})||t(s)}))})});function t(r,n=!0){Jn&&wa(),Yf(r,(i,o)=>{ue("alpine:navigating"),Xf&&Dn(),Jn&&ya(),Qf(),sa(),Ra(e,s=>{mr&&Un(a=>{In(a),Wn(a)}),n?ua(i,o):Ln(o,i),Vn(i,a=>{Fn(document.body),mr&&Hn((l,u)=>{$n(l),zn(l)}),Bn(),a(()=>{s(()=>{setTimeout(()=>{Pa&&Ma()}),Na(e),ue("alpine:navigated")})})})})})}la(r=>{r(n=>{let i=ve(n);if(ue("alpine:navigate",{url:i,history:!0,cached:!1}))return;t(i,!1)})},(r,n,i,o)=>{let s=ve(n);ue("alpine:navigate",{url:s,history:!0,cached:!0})||(Dn(),ue("alpine:navigating"),aa(i,o),Ra(e,l=>{mr&&Un(u=>{In(u),Wn(u)}),Vn(
|
|
|
|
`),r===""&&(r="Are you sure?"),e.__livewire_confirm=(i,o)=>{if(n){let[s,a]=r.split("|");a?prompt(s)===a?i():o():console.warn("Livewire: Must provide expectation with wire:confirm.prompt")}else confirm(r)?i():o()}});S.addInitSelector(()=>"[wire\\:current]");var ni=new Map;document.addEventListener("livewire:navigated",()=>{ni.forEach(e=>e(new URL(window.location.href)))});hs("current",({el:e,directive:t,cleanup:r})=>{let n=t.expression,i={exact:t.modifiers.includes("exact"),strict:t.modifiers.includes("strict")};if(n.startsWith("#")||!e.hasAttribute("href"))return;let o=e.getAttribute("href"),s=new URL(o,window.location.href),a=n.split(" ").filter(String),l=u=>{Rd(s,u,i)?e.classList.add(...a):e.classList.remove(...a)};l(new URL(window.location.href)),ni.set(e,l),r(()=>ni.delete(e))});function Rd(e,t,r){if(e.hostname!==t.hostname)return!1;let n=r.strict?e.pathname:e.pathname.replace(/\/+$/,""),i=r.strict?t.pathname:t.pathname.replace(/\/+$/,"");if(r.exact)return n===i;let o=n.split("/"),s=i.split("/");for(let a=0;a<o.length;a++)if(o[a]!==s[a])return!1;return!0}function ne(e,t,r,n=null){if(r=t.modifiers.includes("remove")?!r:r,t.modifiers.includes("class")){let i=t.expression.split(" ").filter(String);r?e.classList.add(...i):e.classList.remove(...i)}else if(t.modifiers.includes("attr"))r?e.setAttribute(t.expression,!0):e.removeAttribute(t.expression);else{let i=n??window.getComputedStyle(e,null).getPropertyValue("display"),o=["inline","block","table","flex","grid","inline-flex"].filter(s=>t.modifiers.includes(s))[0]||"inline-block";o=t.modifiers.includes("remove")&&!r?i:o,e.style.display=r?o:"none"}}var ii=new Set,oi=new Set;window.addEventListener("offline",()=>ii.forEach(e=>e()));window.addEventListener("online",()=>oi.forEach(e=>e()));I("offline",({el:e,directive:t,cleanup:r})=>{let n=()=>ne(e,t,!0),i=()=>ne(e,t,!1);ii.add(n),oi.add(i),r(()=>{ii.delete(n),oi.delete(i)})});I("loading",({el:e,directive:t,component:r,cleanup:n})=>{let{targets:i,inverted:o}=$d(e),[s,a]=Nd(t),l=Md(r,i,o,[()=>s(()=>ne(e,t,!0)),()=>a(()=>ne(e,t,!1))]),u=Id(r,i,[()=>s(()=>ne(e,t,!0)),()=>a(()=>ne(e,t,!1))]);n(()=>{l(),u()})});function Nd(e){if(!e.modifiers.includes("delay")||e.modifiers.includes("none"))return[o=>o(),o=>o()];let t=200,r={shortest:50,shorter:100,short:150,default:200,long:300,longer:500,longest:1e3};Object.keys(r).some(o=>{if(e.modifiers.includes(o))return t=r[o],!0});let n,i=!1;return[o=>{n=setTimeout(()=>{o(),i=!0},t)},async o=>{i?(await o(),i=!1):clearTimeout(n)}]}function Md(e,t,r,[n,i]){return k("commit",({component:o,commit:s,respond:a})=>{o===e&&(t.length>0&&Fd(s,t)===r||(n(),a(()=>{i()})))})}function Id(e,t,[r,n]){let i=l=>{let{id:u,property:f}=l.detail;return u!==e.id||t.length>0&&!t.map(p=>p.target).includes(f)},o=St(window,"livewire-upload-start",l=>{i(l)||r()}),s=St(window,"livewire-upload-finish",l=>{i(l)||n()}),a=St(window,"livewire-upload-error",l=>{i(l)||n()});return()=>{o(),s(),a()}}function Fd(e,t){let{updates:r,calls:n}=e;return t.some(({target:i,params:o})=>{if(o)return n.some(({method:a,params:l})=>i===a&&o===el(JSON.stringify(l)));if(Object.keys(r).some(a=>a.includes(".")&&a.split(".")[0]===i?!0:a===i)||n.map(a=>a.method).includes(i))return!0})}function $d(e){let t=Ve(e),r=[],n=!1;if(t.has("target")){let i=t.get("target"),o=i.expression;i.modifiers.includes("except")&&(n=!0),o.includes("(")&&o.includes(")")?r.push({target:i.method,params:el(JSON.stringify(i.params))}):o.includes(",")?o.split(",").map(s=>s.trim()).forEach(s=>{r.push({target:s})}):r.push({target:o})}else{let i=["init","dirty","offline","target","loading","poll","ignore","key","id"];t.all().filter(o=>!i.includes(o.value)).map(o=>o.expression.split("(")[0]).forEach(o=>r.push({target:o}))}return{targets:r,inverted:n}}function el(e){return btoa(encodeURIComponent(e))}I("stream",({el:e,directive:t,cleanup:r})=>{let{expression:n,modifiers:i}=t,o=k("stream",({name:s,content:a,replace:l})=>{s===n&&(i.includes("replace")||l?e.innerHTML=a:e.innerHTML=e.innerHTML+a)});r(o)});k("request",({respond:e})=>{e(t=>{let r=t.response;!r.headers.has("X-Livewire-S
|
2024-05-29 12:04:06 -07:00
|
|
|
/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
|
|
* @license MIT */
|
|
|
|
/*! Bundled license information:
|
|
|
|
|
|
|
|
tabbable/dist/index.esm.js:
|
|
|
|
(*!
|
|
|
|
* tabbable 5.3.3
|
|
|
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
|
|
*)
|
|
|
|
|
|
|
|
focus-trap/dist/focus-trap.esm.js:
|
|
|
|
(*!
|
|
|
|
* focus-trap 6.9.4
|
|
|
|
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
|
|
*)
|
|
|
|
*/
|
|
|
|
//# sourceMappingURL=livewire.min.js.map
|