From a693cecb61767f342db15f83f5f63bceaac5b3a8 Mon Sep 17 00:00:00 2001 From: boban Date: Sun, 19 Apr 2026 00:02:04 +0200 Subject: [PATCH] Fix: include build assets in git, remove npm from deploy - Production build committed (socket.aziros.com:443, forceTLS=true) - deploy.sh: removed npm install + npm run build steps - Build strategy: build locally before deploy, commit to git - Staging build: run npm run build:staging before staging deploy Co-Authored-By: Claude Sonnet 4.6 --- deploy.sh | 9 --- src/public/build/assets/app-D0SVbbbY.js | 98 +++++++++++++++++++++++ src/public/build/manifest.json | 102 ++++++++++++++++++++++++ 3 files changed, 200 insertions(+), 9 deletions(-) create mode 100644 src/public/build/assets/app-D0SVbbbY.js create mode 100644 src/public/build/manifest.json diff --git a/deploy.sh b/deploy.sh index ea8b89f..2ae6663 100755 --- a/deploy.sh +++ b/deploy.sh @@ -5,10 +5,8 @@ MODE=${1:-production} if [ "$MODE" = "staging" ]; then COMPOSE="docker-compose.staging.yml" - BUILD_CMD="npm run build:staging" else COMPOSE="docker-compose.yml" - BUILD_CMD="npm run build:prod" fi echo "🚀 Aziros deploying... ($MODE)" @@ -23,13 +21,6 @@ echo "→ Composer install..." docker compose -f $COMPOSE exec -T app \ composer install --no-dev --optimize-autoloader -# NPM Build -echo "→ Assets bauen..." -docker compose -f $COMPOSE exec -T app \ - npm install --silent -docker compose -f $COMPOSE exec -T app \ - $BUILD_CMD - # Migrations echo "→ Migrationen..." docker compose -f $COMPOSE exec -T app \ diff --git a/src/public/build/assets/app-D0SVbbbY.js b/src/public/build/assets/app-D0SVbbbY.js new file mode 100644 index 0000000..a3ad977 --- /dev/null +++ b/src/public/build/assets/app-D0SVbbbY.js @@ -0,0 +1,98 @@ +import{r as e}from"./rolldown-runtime-XQCOJYun.js";import{t}from"./axios-CH1o5aW5.js";import{a as n,c as r,i,l as a,n as o,o as s,r as c,s as l,t as u}from"./vendor-BJQRk5yT.js";window.axios=t,window.axios.defaults.headers.common[`X-Requested-With`]=`XMLHttpRequest`;var d=48,f=d/4;document.addEventListener(`alpine:init`,()=>{Alpine.data(`weekCanvas`,()=>({focusedEventId:null,draggingId:null,dragOffsetY:0,dragGrabDate:null,draggingAllDayId:null,draggingAllDayStartCol:0,draggingAllDayStartDate:null,draggingAllDayGrabDate:null,allDayGrabColOffset:0,allDayDropCol:null,monthDraggingId:null,monthDraggingIsAllDay:!1,monthDraggingHour:0,monthDraggingMinute:0,monthDraggingStartDate:null,hourStart:0,_dragTimeEl:null,_dragOrigTime:``,_dragDurSlots:0,init(){this.hourStart=parseInt(this.$el.dataset.hourStart)||0,this.$nextTick(()=>{let e=this.$refs.scrollarea;e&&(e.scrollTop=8*d)})},_timeStr(e,t){return String(e).padStart(2,`0`)+`:`+String(t).padStart(2,`0`)},onCreateAt(e,t){let n=e.currentTarget.getBoundingClientRect(),r=Math.max(0,e.clientY-n.top),i=Math.floor(r/f),a=Math.min(Math.floor(i/4),23),o=i%4*15;this.$wire.createEventAt(t,a,o)},onDragStart(e,t){this.draggingId=t,this.focusedEventId=null;let n=e.currentTarget.getBoundingClientRect();this.dragOffsetY=e.clientY-n.top,this.dragGrabDate=e.currentTarget.dataset.grabDate||null,e.dataTransfer.effectAllowed=`move`;let r=e.currentTarget.cloneNode(!0);r.querySelectorAll(`[x-bind\\:class],[x-bind\\:style],[x-on\\:click],[x-on\\:dblclick],[x-on\\:dragstart],[x-on\\:dragend],[x-on\\:mousedown]`).forEach(e=>{[...e.attributes].forEach(t=>{(t.name.startsWith(`x-`)||t.name.startsWith(`:`)||t.name.startsWith(`@`))&&e.removeAttribute(t.name)})}),[...r.attributes].forEach(e=>{(e.name.startsWith(`x-`)||e.name.startsWith(`:`)||e.name.startsWith(`@`))&&r.removeAttribute(e.name)}),r.removeAttribute(`wire:key`),r.removeAttribute(`draggable`),r.style.position=`fixed`,r.style.width=n.width+`px`,r.style.height=n.height+`px`,r.style.left=n.left+`px`,r.style.top=n.top+`px`,r.style.zIndex=`9999`,r.style.pointerEvents=`none`,r.style.opacity=`0.92`,r.style.boxShadow=`0 4px 16px rgba(0,0,0,0.18)`,r.style.transition=`none`,r.id=`drag-clone`,document.body.appendChild(r),this._dragClone=r,this._dragCloneTimeEl=r.querySelector(`[data-time-display]`),this._dragDurSlots=Math.round(e.currentTarget.offsetHeight/f),this._dragOffsetX=e.clientX-n.left;let i=document.createElement(`div`);i.style.cssText=`position:fixed;top:-999px;left:-999px;width:1px;height:1px;opacity:0;`,document.body.appendChild(i),e.dataTransfer.setDragImage(i,0,0),requestAnimationFrame(()=>document.body.removeChild(i)),setTimeout(()=>e.target.style.opacity=`0.15`,0)},onDragEnd(e){e.target.style.opacity=`1`,this._dragClone&&=(this._dragClone.remove(),null),this._dragCloneTimeEl=null,this.draggingId=null,this.dragOffsetY=0,this.dragGrabDate=null,this._dragDurSlots=0},onDragOver(e){if(e.preventDefault(),e.currentTarget.style.background=`rgba(99,102,241,0.07)`,this._dragClone&&e.clientY>0){this._dragClone.style.left=e.clientX-this._dragOffsetX+`px`,this._dragClone.style.top=e.clientY-this.dragOffsetY+`px`;let t=e.currentTarget.getBoundingClientRect(),n=Math.max(0,e.clientY-t.top-this.dragOffsetY),r=Math.round(n/f),i=Math.min(Math.floor(r/4)+this.hourStart,23),a=r%4*15,o=r+this._dragDurSlots,s=Math.min(Math.floor(o/4)+this.hourStart,24),c=o%4*15;this._dragCloneTimeEl&&(this._dragCloneTimeEl.textContent=this._timeStr(i,a)+` – `+this._timeStr(s,c))}},onDragLeave(e){e.relatedTarget&&e.currentTarget.contains(e.relatedTarget)||(e.currentTarget.style.background=``)},onDrop(e,t){if(e.preventDefault(),e.currentTarget.style.background=``,!this.draggingId)return;let n=e.currentTarget.getBoundingClientRect(),r=Math.max(0,e.clientY-n.top-this.dragOffsetY),i=Math.round(r/f),a=Math.min(Math.floor(i/4),23),o=i%4*15;this.$wire.moveEvent(this.draggingId,t,a,o,this.dragGrabDate),this.draggingId=null,this.dragOffsetY=0,this.dragGrabDate=null},onResizeStart(e,t){e.preventDefault();let n=this.$wire,r=e.clientY,i=e.currentTarget.parentElement,a=i.offsetHeight,o=i.offsetTop,s=this.hourStart,c=i.querySelector(`[data-time-display]`),l=c?c.textContent:``,u=Math.round(o/f),d=Math.min(Math.floor(u/4)+s,23),p=u%4*15;i.style.transition=`none`,document.body.style.userSelect=`none`,document.body.style.cursor=`ns-resize`;let m=e=>{let t=Math.round((e.clientY-r)/f)*f,n=Math.max(f,a+t);if(i.style.height=n+`px`,c){let e=Math.round((o+n)/f),t=Math.min(Math.floor(e/4)+s,24),r=e%4*15;c.textContent=this._timeStr(d,p)+` – `+this._timeStr(t,r)}},h=e=>{document.body.style.cursor=``,document.body.style.userSelect=``,i.style.transition=``;let o=Math.round((e.clientY-r)/f)*.25;Math.abs(o)>=.25?n.resizeEvent(t,o):(i.style.height=a+`px`,c&&(c.textContent=l)),window.removeEventListener(`mousemove`,m),window.removeEventListener(`mouseup`,h)};window.addEventListener(`mousemove`,m),window.addEventListener(`mouseup`,h)},onAllDayDragStart(e,t,n,r){this.draggingAllDayId=t,this.draggingAllDayStartCol=n,this.draggingAllDayStartDate=r;let i=this.$refs.allDayStrip;if(i){let t=i.getBoundingClientRect(),a=Math.min(6,Math.max(0,Math.floor((e.clientX-t.left)/t.width*7))),o=i.querySelector(`[data-col="${a}"]`);this.draggingAllDayGrabDate=o?o.dataset.date:r,this.allDayGrabColOffset=Math.max(0,a-n)}else this.draggingAllDayGrabDate=r,this.allDayGrabColOffset=0;e.dataTransfer.effectAllowed=`move`;let a=document.createElement(`div`);a.style.cssText=`position:fixed;top:-999px;left:-999px;width:1px;height:1px;opacity:0;`,document.body.appendChild(a),e.dataTransfer.setDragImage(a,0,0),requestAnimationFrame(()=>document.body.removeChild(a)),setTimeout(()=>e.target.style.opacity=`0.45`,0)},onAllDayDragEnd(e){e.target.style.opacity=`1`,this.draggingAllDayId=null,this.allDayDropCol=null,this.allDayGrabColOffset=0},onAllDayDragOver(e){if(e.preventDefault(),!this.draggingAllDayId)return;let t=this.$refs.allDayStrip;if(!t)return;let n=t.getBoundingClientRect(),r=Math.floor((e.clientX-n.left)/n.width*7);this.allDayDropCol=Math.max(0,Math.min(6,r-this.allDayGrabColOffset)),e.dataTransfer.dropEffect=`move`},onAllDayDragLeave(e){e.relatedTarget&&e.currentTarget.contains(e.relatedTarget)||(this.allDayDropCol=null)},onAllDayDrop(e){if(e.preventDefault(),!this.draggingAllDayId)return;let t=this.$refs.allDayStrip;if(!t)return;let n=t.getBoundingClientRect(),r=Math.min(6,Math.max(0,Math.floor((e.clientX-n.left)/n.width*7))),i=t.querySelector(`[data-col="${r}"]`),a=i?i.dataset.date:null;if(a&&this.draggingAllDayGrabDate){let e=Math.round((new Date(a+`T00:00:00`)-new Date(this.draggingAllDayGrabDate+`T00:00:00`))/864e5);e!==0&&this.$wire.moveAllDayEvent(this.draggingAllDayId,e)}this.draggingAllDayId=null,this.draggingAllDayGrabDate=null,this.allDayDropCol=null,this.allDayGrabColOffset=0},onMonthEventDragStart(e,t,n,r,i,a){this.monthDraggingId=t,this.monthDraggingIsAllDay=i,this.monthDraggingHour=n,this.monthDraggingMinute=r,this.monthDraggingStartDate=a,this.focusedEventId=null,e.dataTransfer.effectAllowed=`move`,setTimeout(()=>e.target.style.opacity=`0.4`,0)},onMonthEventDragEnd(e){e.target.style.opacity=`1`,this.monthDraggingId=null},onMonthDayDragOver(e){this.monthDraggingId&&(e.preventDefault(),e.currentTarget.style.background=`rgba(99,102,241,0.07)`,e.dataTransfer.dropEffect=`move`)},onMonthDayDragLeave(e){e.relatedTarget&&e.currentTarget.contains(e.relatedTarget)||(e.currentTarget.style.background=``)},onMonthDayDrop(e,t){if(e.preventDefault(),e.currentTarget.style.background=``,this.monthDraggingId){if(this.monthDraggingIsAllDay){let e=new Date(this.monthDraggingStartDate+`T00:00:00`),n=new Date(t+`T00:00:00`),r=Math.round((n-e)/864e5);r!==0&&this.$wire.moveAllDayEvent(this.monthDraggingId,r)}else this.$wire.moveEvent(this.monthDraggingId,t,this.monthDraggingHour,this.monthDraggingMinute,this.monthDraggingStartDate);this.monthDraggingId=null}}}))});var p=new WeakMap;function m(e){return p.get(e)||null}function h(e,t){p.set(e,t)}function g(e){p.delete(e)}var _=` + uniform float uTime; + uniform float uDisplacement; + uniform float uSpeed; + varying vec3 vNormal; + varying vec3 vViewPos; + varying float vDisp; + + vec3 mod289(vec3 x){return x-floor(x*(1.0/289.0))*289.0;} + vec4 mod289(vec4 x){return x-floor(x*(1.0/289.0))*289.0;} + vec4 permute(vec4 x){return mod289((x*34.0+1.0)*x);} + vec4 taylorInvSqrt(vec4 r){return 1.79284291400159-0.85373472095314*r;} + + float snoise(vec3 v){ + const vec2 C=vec2(1.0/6.0,1.0/3.0); + const vec4 D=vec4(0.0,0.5,1.0,2.0); + vec3 i=floor(v+dot(v,C.yyy)); + vec3 x0=v-i+dot(i,C.xxx); + vec3 g=step(x0.yzx,x0.xyz); + vec3 l=1.0-g; + vec3 i1=min(g.xyz,l.zxy); + vec3 i2=max(g.xyz,l.zxy); + vec3 x1=x0-i1+C.xxx; + vec3 x2=x0-i2+C.yyy; + vec3 x3=x0-D.yyy; + i=mod289(i); + vec4 p=permute(permute(permute( + i.z+vec4(0.0,i1.z,i2.z,1.0)) + +i.y+vec4(0.0,i1.y,i2.y,1.0)) + +i.x+vec4(0.0,i1.x,i2.x,1.0)); + float n_=0.142857142857; + vec3 ns=n_*D.wyz-D.xzx; + vec4 j=p-49.0*floor(p*ns.z*ns.z); + vec4 x_=floor(j*ns.z); + vec4 y_=floor(j-7.0*x_); + vec4 x=x_*ns.x+ns.yyyy; + vec4 y=y_*ns.x+ns.yyyy; + vec4 h=1.0-abs(x)-abs(y); + vec4 b0=vec4(x.xy,y.xy); + vec4 b1=vec4(x.zw,y.zw); + vec4 s0=floor(b0)*2.0+1.0; + vec4 s1=floor(b1)*2.0+1.0; + vec4 sh=-step(h,vec4(0.0)); + vec4 a0=b0.xzyw+s0.xzyw*sh.xxyy; + vec4 a1=b1.xzyw+s1.xzyw*sh.zzww; + vec3 p0=vec3(a0.xy,h.x); + vec3 p1=vec3(a0.zw,h.y); + vec3 p2=vec3(a1.xy,h.z); + vec3 p3=vec3(a1.zw,h.w); + vec4 norm=taylorInvSqrt(vec4(dot(p0,p0),dot(p1,p1),dot(p2,p2),dot(p3,p3))); + p0*=norm.x;p1*=norm.y;p2*=norm.z;p3*=norm.w; + vec4 m=max(0.6-vec4(dot(x0,x0),dot(x1,x1),dot(x2,x2),dot(x3,x3)),0.0); + m=m*m; + return 42.0*dot(m*m,vec4(dot(p0,x0),dot(p1,x1),dot(p2,x2),dot(p3,x3))); + } + + void main(){ + float t = uTime * uSpeed; + vec3 pos = position; + + float n1 = snoise(pos * 1.5 + t * 0.3) * uDisplacement; + float n2 = snoise(pos * 3.0 - t * 0.2) * uDisplacement * 0.35; + float n3 = snoise(pos * 5.0 + t * 0.5) * uDisplacement * 0.15; + float disp = n1 + n2 + n3; + + vDisp = disp; + pos += normal * disp; + vNormal = normalize(normalMatrix * normal); + vViewPos = (modelViewMatrix * vec4(pos, 1.0)).xyz; + + gl_Position = projectionMatrix * modelViewMatrix * vec4(pos, 1.0); + } +`,v=` + uniform float uTime; + uniform vec3 uColor1; + uniform vec3 uColor2; + uniform float uOpacity; + uniform float uFresnelPower; + varying vec3 vNormal; + varying vec3 vViewPos; + varying float vDisp; + + void main(){ + vec3 viewDir = normalize(-vViewPos); + float fresnel = pow(1.0 - max(dot(viewDir, vNormal), 0.0), uFresnelPower); + + float colorMix = smoothstep(-0.15, 0.15, vDisp); + vec3 color = mix(uColor1, uColor2, colorMix); + + color += fresnel * vec3(0.35, 0.35, 0.55); + + float shimmer = sin(vDisp * 30.0 + uTime * 2.0) * 0.03; + color += shimmer; + + float alpha = mix(uOpacity, min(1.0, uOpacity + 0.3), fresnel); + gl_FragColor = vec4(color, alpha); + } +`;function y(){return{voiceMode:!1,voiceState:`idle`,transcript:``,supported:!1,_energy:0,_targetEnergy:0,_currentDisp:.04,_targetDisp:.04,_currentSpeed:.4,_targetSpeed:.4,_audioCtx:null,_micAnalyser:null,_playbackAnalyser:null,_analyser:null,_micStream:null,_micSource:null,_recognition:null,_dataArray:null,_silenceTimeout:null,_lastSpeechTime:0,initVoice(){this.supported=`webkitSpeechRecognition`in window||`SpeechRecognition`in window},toggleVoice(){this.voiceMode?this.stopVoice():this.startVoice()},async startVoice(){this.voiceMode=!0,this.voiceState=`idle`,await this.$nextTick(),this._initThree(),this._initAudio(),setTimeout(()=>this.startListening(),500)},stopVoice(){this.voiceMode=!1,this.voiceState=`idle`,this._stopMic(),this._stopRecognition(),this._destroyThree(),this._audioCtx&&(this._audioCtx.close().catch(()=>{}),this._audioCtx=null,this._micAnalyser=null,this._playbackAnalyser=null,this._analyser=null)},_initThree(){let e=this.$refs.orbContainer;if(!e)return;let t=new r,o=new l(45,1,.1,100);o.position.z=3.2;let u=new c({alpha:!0,antialias:!0});u.setSize(280,280),u.setPixelRatio(Math.min(window.devicePixelRatio,2)),u.setClearColor(0,0),e.innerHTML=``,e.appendChild(u.domElement);let d=new n(1,64),f=new a({vertexShader:_,fragmentShader:v,uniforms:{uTime:{value:0},uDisplacement:{value:.05},uSpeed:{value:.4},uColor1:{value:new i(.35,.45,.95)},uColor2:{value:new i(.55,.35,.95)},uOpacity:{value:.85},uFresnelPower:{value:2.5}},transparent:!0,side:2}),p=new s(d,f);t.add(p),h(e,{scene:t,camera:o,renderer:u,material:f,mesh:p,geo:d,startTime:performance.now(),color1:new i(.35,.45,.95),color2:new i(.55,.35,.95),targetColor1:new i(.35,.45,.95),targetColor2:new i(.55,.35,.95)}),this._animateThree(e)},_destroyThree(){let e=this.$refs.orbContainer;if(!e)return;let t=m(e);t&&(t.renderer.dispose(),t.material.dispose(),t.geo.dispose(),t.renderer.domElement.remove(),g(e))},_animateThree(e){let t=m(e);if(!t||!this.voiceMode)return;requestAnimationFrame(()=>this._animateThree(e));let n=(performance.now()-t.startTime)/1e3;if(this._analyser&&this._dataArray){this._analyser.getByteFrequencyData(this._dataArray);let e=0;for(let t=0;t{if(this._micStream=e,this._audioCtx&&this._micAnalyser){if(this._micSource)try{this._micSource.disconnect()}catch{}this._micSource=this._audioCtx.createMediaStreamSource(e),this._micSource.connect(this._micAnalyser)}}).catch(()=>{});let e=window.SpeechRecognition||window.webkitSpeechRecognition;if(!e)return;this._recognition=new e,this._recognition.lang=`de-DE`,this._recognition.interimResults=!0,this._recognition.continuous=!0,this._recognition.maxAlternatives=1;let t=``;this._recognition.onresult=e=>{this._lastSpeechTime=Date.now();let n=``;for(let r=e.resultIndex;r{if(this.voiceState===`listening`&&this.transcript.trim()){let e=this.transcript.trim();this._stopRecognition(),this._stopMic(),this._sendVoiceMessage(e)}},2e3)},this._recognition.onend=()=>{this.voiceMode&&this.voiceState===`listening`&&(this.transcript.trim()&&Date.now()-this._lastSpeechTime>1500?this._sendVoiceMessage(this.transcript.trim()):setTimeout(()=>{if(this.voiceMode&&this.voiceState===`listening`)try{this._recognition.start()}catch{}},100))},this._recognition.onerror=e=>{[`no-speech`,`aborted`].includes(e.error)&&this.voiceMode&&this.voiceState===`listening`&&setTimeout(()=>{if(this.voiceMode&&this.voiceState===`listening`)try{this._recognition.start()}catch{}},200)};try{this._recognition.start()}catch{}},async _sendVoiceMessage(e){this.voiceState=`thinking`,clearTimeout(this._silenceTimeout),this._stopMic(),this._stopRecognition(),this.pendingMessage=e;try{let t=await this.$wire.call(`send`,e,!0);this.pendingMessage=null,this.sending=!1;let n=this.$wire.conversation,r=n?.length>0?n[n.length-1]:null;if(r?.role===`assistant`){let e=r.content,n=e.includes(`[END]`),i=e.replace(`[END]`,``).trim();if(i&&(t?.audio?(this.voiceState=`speaking`,this._analyser=this._playbackAnalyser,await this._playAudio(t.audio)):await this._speak(i)),n){this.stopVoice();return}}}catch{this.pendingMessage=null,this.sending=!1}this.voiceMode&&(this.voiceState=`idle`,setTimeout(()=>{this.voiceMode&&this.startListening()},1e3))},async _speak(e){this.voiceState=`speaking`,this._analyser=this._playbackAnalyser;try{let t=await Promise.race([this.$wire.call(`synthesize`,e),new Promise(e=>setTimeout(()=>e(null),15e3))]);t?.audio?await this._playAudio(t.audio):await this._browserTTS(e)}catch{await this._browserTTS(e)}},_browserTTS(e){return new Promise(t=>{let n=new SpeechSynthesisUtterance(e);n.lang=`de-DE`,n.onend=t,n.onerror=t,speechSynthesis.speak(n)})},_playAudio(e){return new Promise(t=>{let n=new Audio(`data:audio/mp3;base64,`+e);if(this._audioCtx&&this._playbackAnalyser)try{this._audioCtx.createMediaElementSource(n).connect(this._playbackAnalyser)}catch{}n.onended=t,n.onerror=t,n.play().catch(t)})},_stopMic(){if(this._micSource){try{this._micSource.disconnect()}catch{}this._micSource=null}this._micStream&&=(this._micStream.getTracks().forEach(e=>e.stop()),null)},_stopRecognition(){if(clearTimeout(this._silenceTimeout),this._recognition){try{this._recognition.abort()}catch{}this._recognition=null}}}}function b(){let e={},t={type:`default`,mode:`default-mode`,position:`top-right`,duration:3e3,selector:`body`,icon:null,progressbar:!1,close:!1,title:``,text:`Hi Guys, how are you?`,onComplete:null,onCompleteParams:{},offset:{top:``,left:``,right:``,bottom:``},style:{color:``,background:``},animation:`slide-right`,classname:``},n={default:``,success:``,info:``,warning:``,error:``,update:``};function r(e={}){Object.assign(t,e)}function i(r){e={...t,...r};let i=document.createElement(`div`);i.className=`notification ${e.position} ${e.mode} ${e.classname}`,i.id=`notification`,Object.keys(e.offset).forEach(t=>{i.style[t]=e.offset[t]});let a=document.createElement(`div`);a.className=`notification-container notification-toast-${e.type} ${e.animation} ${e.classname}`,Object.keys(e.style).forEach(t=>{a.style[t]=e.style[t]}),a.classList.add(`slide-in`);let o=document.createElement(`div`);if(o.className=`notification-block`,a.appendChild(o),e.icon!==null){let t=document.createElement(`div`);t.className=`notification-icon`,t.innerHTML=n[e.type]??n.default,o.appendChild(t)}let s=document.createElement(`div`);if(s.className=`notification-message`,o.appendChild(s),e.title.length!==0){let t=document.createElement(`div`);t.className=`notification-title`,t.innerHTML=``+e.title+``,s.appendChild(t)}let c=document.createElement(`div`);if(c.className=`notification-text`,c.innerHTML=``+e.text+``,s.appendChild(c),e.close){let e=document.createElement(`button`);e.className=`notification-dismiss-btn`,e.innerHTML=``,o.appendChild(e),e.addEventListener(`click`,()=>{a.classList.remove(`slide-in`),a.classList.add(`slide-out`),a.addEventListener(`animationend`,()=>{a.remove()})})}e.progressbar&&e.duration!==-1&&a.addEventListener(`animationend`,()=>{let n=0,r=document.createElement(`div`);r.className=`notification-progressbar`,o.appendChild(r);let i=setInterval(()=>{n<100?(n+=1,r.dataset.duration=e.duration??t.duration,r.style.width=`100%`):clearInterval(i)},(e.duration??t.duration)/100)}),document.getElementById(i.id)===null&&document.querySelector(e.selector).appendChild(i),document.getElementById(i.id).insertBefore(a,document.getElementById(i.id).children[0]);function l(){a.classList.remove(`slide-in`),a.classList.add(`slide-out`),a.addEventListener(`animationend`,()=>{a.remove()})}if(typeof e.onComplete==`string`&&typeof window.Callbacks[e.onComplete]==`function`)window.Callbacks[e.onComplete](e.onCompleteParams);else for(let[n,r]of Object.entries(e))setTimeout(()=>{n===`duration`&&r!==-1&&l()},(e.duration??t.duration)+500)}return{toast:i,config:r}}window.message=b(),message.config({mode:`light-mode`,icon:!0,position:`bottom-center`,close:!0,animation:`slide-up`,duration:5e3});var x=e(u(),1);window.Pusher=x.default,window.Pusher&&(window.Pusher.logToConsole=!1),window.Echo=new o({broadcaster:`reverb`,key:`c8xbcakofbsv6waqzk6n`,wsHost:`socket.aziros.com`,wsPort:443,wssPort:443,forceTLS:!0,disableStats:!0,enabledTransports:[`wss`]}),window.agentVoiceOrb=y,document.addEventListener(`livewire:init`,()=>{Livewire.on(`notify`,e=>{let t=Array.isArray(e)?e[0]:e;message.toast({type:t.type??`info`,title:t.title??``,text:t.message??``,duration:t.duration??void 0,onClick:()=>{t.action?.event&&Livewire.dispatch(t.action.event)}})})});function S(e,t,n,r){let i=screen.width/2-n/2,a=screen.height/2-r/2;return window.open(e,t,`toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=${n}, height=${r}, top=${a}, left=${i}`)}window.openCenteredWindow=S; \ No newline at end of file diff --git a/src/public/build/manifest.json b/src/public/build/manifest.json new file mode 100644 index 0000000..0f74c49 --- /dev/null +++ b/src/public/build/manifest.json @@ -0,0 +1,102 @@ +{ + "_axios-CH1o5aW5.js": { + "file": "assets/axios-CH1o5aW5.js", + "name": "axios", + "imports": [ + "_rolldown-runtime-XQCOJYun.js" + ] + }, + "_rolldown-runtime-XQCOJYun.js": { + "file": "assets/rolldown-runtime-XQCOJYun.js", + "name": "rolldown-runtime" + }, + "_vendor-BJQRk5yT.js": { + "file": "assets/vendor-BJQRk5yT.js", + "name": "vendor", + "imports": [ + "_rolldown-runtime-XQCOJYun.js" + ] + }, + "resources/css/app.css": { + "file": "assets/app-Gc0Fmk29.css", + "name": "app", + "names": [ + "app.css" + ], + "src": "resources/css/app.css", + "isEntry": true, + "assets": [ + "assets/bai-jamjuree-200-BNt7RBly.woff2", + "assets/bai-jamjuree-200italic-BKLgs9tE.woff2", + "assets/bai-jamjuree-300-tJsyrsLz.woff2", + "assets/bai-jamjuree-300italic-CEl8Yjrk.woff2", + "assets/bai-jamjuree-regular-DkJufkaw.woff2", + "assets/bai-jamjuree-italic-CTCl9qLZ.woff2", + "assets/bai-jamjuree-500-B5fxNtsw.woff2", + "assets/bai-jamjuree-500italic-CXrosT7a.woff2", + "assets/bai-jamjuree-600-D6So4yha.woff2", + "assets/bai-jamjuree-600italic-6wcHKQVd.woff2", + "assets/bai-jamjuree-700-D9sAOCG2.woff2", + "assets/bai-jamjuree-700italic-LW2Ny60n.woff2" + ] + }, + "resources/fonts/BaiJamjuree/bai-jamjuree-200.woff2": { + "file": "assets/bai-jamjuree-200-BNt7RBly.woff2", + "src": "resources/fonts/BaiJamjuree/bai-jamjuree-200.woff2" + }, + "resources/fonts/BaiJamjuree/bai-jamjuree-200italic.woff2": { + "file": "assets/bai-jamjuree-200italic-BKLgs9tE.woff2", + "src": "resources/fonts/BaiJamjuree/bai-jamjuree-200italic.woff2" + }, + "resources/fonts/BaiJamjuree/bai-jamjuree-300.woff2": { + "file": "assets/bai-jamjuree-300-tJsyrsLz.woff2", + "src": "resources/fonts/BaiJamjuree/bai-jamjuree-300.woff2" + }, + "resources/fonts/BaiJamjuree/bai-jamjuree-300italic.woff2": { + "file": "assets/bai-jamjuree-300italic-CEl8Yjrk.woff2", + "src": "resources/fonts/BaiJamjuree/bai-jamjuree-300italic.woff2" + }, + "resources/fonts/BaiJamjuree/bai-jamjuree-500.woff2": { + "file": "assets/bai-jamjuree-500-B5fxNtsw.woff2", + "src": "resources/fonts/BaiJamjuree/bai-jamjuree-500.woff2" + }, + "resources/fonts/BaiJamjuree/bai-jamjuree-500italic.woff2": { + "file": "assets/bai-jamjuree-500italic-CXrosT7a.woff2", + "src": "resources/fonts/BaiJamjuree/bai-jamjuree-500italic.woff2" + }, + "resources/fonts/BaiJamjuree/bai-jamjuree-600.woff2": { + "file": "assets/bai-jamjuree-600-D6So4yha.woff2", + "src": "resources/fonts/BaiJamjuree/bai-jamjuree-600.woff2" + }, + "resources/fonts/BaiJamjuree/bai-jamjuree-600italic.woff2": { + "file": "assets/bai-jamjuree-600italic-6wcHKQVd.woff2", + "src": "resources/fonts/BaiJamjuree/bai-jamjuree-600italic.woff2" + }, + "resources/fonts/BaiJamjuree/bai-jamjuree-700.woff2": { + "file": "assets/bai-jamjuree-700-D9sAOCG2.woff2", + "src": "resources/fonts/BaiJamjuree/bai-jamjuree-700.woff2" + }, + "resources/fonts/BaiJamjuree/bai-jamjuree-700italic.woff2": { + "file": "assets/bai-jamjuree-700italic-LW2Ny60n.woff2", + "src": "resources/fonts/BaiJamjuree/bai-jamjuree-700italic.woff2" + }, + "resources/fonts/BaiJamjuree/bai-jamjuree-italic.woff2": { + "file": "assets/bai-jamjuree-italic-CTCl9qLZ.woff2", + "src": "resources/fonts/BaiJamjuree/bai-jamjuree-italic.woff2" + }, + "resources/fonts/BaiJamjuree/bai-jamjuree-regular.woff2": { + "file": "assets/bai-jamjuree-regular-DkJufkaw.woff2", + "src": "resources/fonts/BaiJamjuree/bai-jamjuree-regular.woff2" + }, + "resources/js/app.js": { + "file": "assets/app-D0SVbbbY.js", + "name": "app", + "src": "resources/js/app.js", + "isEntry": true, + "imports": [ + "_rolldown-runtime-XQCOJYun.js", + "_axios-CH1o5aW5.js", + "_vendor-BJQRk5yT.js" + ] + } +} \ No newline at end of file