build: include production build artifacts in repo
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import{$t as e,Gn as t,In as n,Ln as r,On as i,Qt as a,Un as o,Xn as s,cr as c,hn as l,pn as u,qn as d,ur as f,xn as p,zn as m}from"./D6Ym2dQP.js";import{_ as h,a as g,c as _,d as v,f as y,g as b,h as x,l as S,m as C,o as w,p as T,u as E,v as D}from"./Dd1GE-gU.js";var O=new Set,k=({timestamp:e})=>{O.forEach(t=>t.tick(e))},A=class extends v{constructor(e){super(),this.state=`idle`,this.startTime=0,this.currentTime=0,this.started=!1,this.hasNextTarget=!1,this.nextTarget=0,this.stop=()=>{this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},this.options=e,this.factory=e.type,this.generator=this.factory(e);let{driver:t}=e;t&&(this.driver=t(e=>this.tick(e))),this.startTime=this.now(),this.state=`running`,this.driver?this.driver.start():(O.size||h.update(k,!0),O.add(this))}setTarget(e,t){this.nextTarget=e,this.nextVelocity=t,this.hasNextTarget=!0}retarget(e,t){let{options:n,generator:r}=this;n.keyframes=e,n.velocity=t,this.startTime=this.now(),this.currentTime=0,r.retarget?r.retarget(e,t):this.generator=this.factory(n)}tick(e){let{options:t,hasNextTarget:n}=this,{delay:r=0,onUpdate:i,onPlay:a}=t;this.started||(this.startTime=y(this.startTime,e));let o=Math.round(e-this.startTime)-r,s=this.currentTime=Math.max(0,o),c=this.generator.next(s),l=o<0?t.keyframes[0]:c.value;if(n){this.hasNextTarget=!1;let{keyframes:e}=t;e[0]=l,e[1]=this.nextTarget,this.retarget(e,this.nextVelocity??this.getGeneratorVelocity())}(n||!this.started)&&(this.started=!0,a?.()),this.state===`running`&&(i?.(l),c.done&&o>=0&&!n&&!this.hasNextTarget&&this.state===`running`&&(this.notifyFinished(),this.teardown(),this.state=`finished`,t.onComplete?.()))}getGeneratorVelocity(){return C(this.generator,this.currentTime,this.options.velocity)}now(){return this.driver?this.driver.now():D.now()}teardown(){this.state=`idle`,this.driver?this.driver.stop():(O.delete(this),O.size||b(k))}};function j(e,t,n){let r=e.get(),i=null,a,o=typeof r==`string`?r.replace(/[\d.-]/g,``):void 0,s=e=>a(o?e+o:e),c=()=>e.events.animationStart?.notify(),l=()=>{i&&=(i.stop(),null),e.animation=void 0};if(e.attach((t,r)=>{a=r;let o=_(t);if(i?.state===`running`){i.setTarget(o,n.velocity);return}let u=_(e.get()),d=i?i.getGeneratorVelocity():e.getVelocity();if(l(),u===o)return;let f=i=new A({keyframes:[u,o],velocity:d,restDelta:.001,restSpeed:.01,...n,onUpdate:s,onPlay:c});e.animation=f,f.then(()=>{i===f&&(i=null,e.animation=void 0,e.events.animationComplete?.notify())})},l),S(t)){let r=n.skipInitialAnimation===!0,i=t=>{r?(r=!1,e.jump(M(t,o),!1)):e.set(M(t,o))},a=t.on(`change`,i),s=t.get();_(s)-_(e.get())&&i(s);let c=e.on(`destroy`,a);return()=>{a(),c(),l()}}return l}function M(e,t){return t?e+t:e}function N(e,t,n={}){let r={type:`spring`,...n};return T(r),r.type=r.type||x,j(e,t,r)}var P=0;function F(e){let t=new Map;function n(t){if(e.props.mode!==`popLayout`)return;let n=t.el,r=n.offsetParent,i=r instanceof HTMLElement&&r.offsetWidth||0,a={height:n.offsetHeight||0,width:n.offsetWidth||0,top:n.offsetTop,left:n.offsetLeft,right:0};a.right=i-a.width-a.left;let o=e.props.anchorX===`left`?`left: ${a.left}px`:`right: ${a.right}px`,s=`pop-${P++}`;n.dataset.motionPopId=s;let c=n.ownerDocument,l=c.createElement(`style`),u=e.getNonce();u&&(l.nonce=u),t.popStyle=l,c.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
|
||||
[data-motion-pop-id="${s}"] {
|
||||
position: absolute !important;
|
||||
width: ${a.width}px !important;
|
||||
height: ${a.height}px !important;
|
||||
top: ${a.top}px !important;
|
||||
${o} !important;
|
||||
}
|
||||
`)}function r(e){let t=e.popStyle;t&&(e.popStyle=void 0,h.render(()=>{t.parentNode?.removeChild(t)}))}function i(e,r,i,a=[]){let s={el:e,states:r,handlers:a,done:i,aborted:!1};t.set(e,s),n(s);let c=r.map(e=>e.getFeature(`exit`)?.exit()??Promise.resolve());for(let e of a)c.push(Promise.resolve(e.onExit()));Promise.all(c).then(()=>{s.aborted||o(s)})}function a(e){let n=t.get(e);n&&(n.aborted=!0,t.delete(e),r(n),n.handlers.forEach(e=>e.onEnter?.()))}function o(n){t.delete(n.el),r(n),n.states.forEach(e=>{e.getSnapshot(!1)}),n.done(),n.el.isConnected||n.states.forEach(e=>{e.unmount()}),e.onAllComplete()}function s(){t.forEach(e=>{e.states.forEach(e=>{e.unmount()})}),t.clear()}return{track:i,abort:a,dispose:s}}function I(e){let t=w(),i=F({props:e,getNonce:()=>t.value.nonce,onAllComplete:()=>e.onExitComplete?.()}),a=new Set,o=new Set,s=!1;g({get initial(){return s?void 0:e.initial},get custom(){return e.custom},register:e=>a.add(e),unregister:e=>a.delete(e),registerHandler:e=>o.add(e),unregisterHandler:e=>o.delete(e)}),n(()=>{s=!0});function c(e){let t=[];for(let n of a){let r=n.element;r&&(r===e||e.contains(r))&&t.push(n)}return t}function l(e){let t=[];for(let n of o){let r=n.element();r&&(r===e||e.contains(r))&&t.push(n)}return t}function u(e,t){i.abort(e),c(e).forEach(e=>{e.getFeature(`exit`)?.reenter()}),t()}function d(t,n){let r=t,a=c(r),o=l(r);a.length===0&&o.length===0?(n(),e.onExitComplete?.()):i.track(r,a,n,o)}return r(()=>{i.dispose()}),{enter:u,exit:d}}var L=p({name:`AnimatePresence`,inheritAttrs:!0,__name:`AnimatePresence`,props:{mode:{default:`sync`},initial:{type:Boolean,default:!0},as:{},custom:{},onExitComplete:{},anchorX:{default:`left`}},setup(n){let r=n,{enter:c,exit:d}=I(r),p=u(()=>r.mode===`wait`?{mode:r.mode===`wait`?`out-in`:void 0}:{tag:r.as});return(r,u)=>(m(),l(t(n.mode===`wait`?a:e),i(p.value,{appear:``,css:!1,onLeave:f(d),onEnter:f(c)}),{default:s(()=>[o(r.$slots,`default`)]),_:3},16,[`onLeave`,`onEnter`]))}});function R(e,t={}){let n=E(S(e)?e.get():e);return d(()=>c(t),(r,i,a)=>{let o=N(n,e,{type:`spring`,...c(t)});a(()=>{o?.()})},{immediate:!0}),n}var z=globalThis.setInterval;export{R as n,L as r,z as t};
|
||||
@@ -0,0 +1 @@
|
||||
import{Ht as e,cr as t,hn as n,lt as r,pn as i,qn as a,t as o,ur as s,xn as c,zn as l}from"./D6Ym2dQP.js";var u=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var d=Object.prototype.toString,f=e=>d.call(e)===`[object Object]`;function p(e){return Array.isArray(e)?e:[e]}function m(e,t,n){return a(e,t,{...n,immediate:!0})}var h=u?window:void 0;u&&window.document,u&&window.navigator,u&&window.location;function g(e){let n=t(e);return n?.$el??n}function _(...e){let n=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=i(()=>{let n=p(t(e[0])).filter(e=>e!=null);return n.every(e=>typeof e!=`string`)?n:void 0});return m(()=>[r.value?.map(e=>g(e))??[h].filter(e=>e!=null),p(t(r.value?e[1]:e[0])),p(s(r.value?e[2]:e[1])),t(r.value?e[3]:e[2])],([e,t,r,i],a,o)=>{if(!e?.length||!t?.length||!r?.length)return;let s=f(i)?{...i}:i,c=e.flatMap(e=>t.flatMap(t=>r.map(r=>n(e,t,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var v=Object.assign(c({__name:`DynamicIcon`,props:{name:{},size:{}},setup(e){return(t,r)=>(l(),n(o,{name:e.name,size:e.size},null,8,[`name`,`size`]))}}),{__name:`UiDynamicIcon`}),y=()=>({name:``,org:``,phone:``,message:``,website:``}),b=r(`contact`,{state:()=>({form:y(),status:`idle`,error:``}),actions:{async submit(){this.status=`loading`,this.error=``;try{await e().$api(`/public/contact`,{method:`POST`,body:this.form}),this.status=`success`}catch(e){let t=e;this.error=t.statusCode===429?`تعداد درخواستها زیاد است؛ لطفاً چند دقیقه بعد دوباره تلاش کنید.`:t.data?.message??`ارسال درخواست انجام نشد؛ لطفاً دوباره تلاش کنید یا تماس بگیرید.`,this.status=`error`}},prefill(e){this.status===`success`&&this.reset(),this.form.message=e},reset(){this.form=y(),this.status=`idle`,this.error=``}}});export{_ as i,v as n,g as r,b as t};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.vx-icon[data-v-ca18e3bd]{color:inherit;vertical-align:-.15em;flex-shrink:0;justify-content:center;align-items:center;line-height:0;display:inline-flex}.vx-icon[data-v-ca18e3bd] svg{width:100%;height:100%;display:block}
|
||||
@@ -0,0 +1 @@
|
||||
{"id":"a8d141b7-21bc-49e2-b0af-d8f546b8f950","timestamp":1792822878753}
|
||||
@@ -0,0 +1 @@
|
||||
{"id":"a8d141b7-21bc-49e2-b0af-d8f546b8f950","timestamp":1792822878753,"prerendered":[]}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,2 @@
|
||||
import{Cn as e,Gn as t,Hn as n,Un as r,Xn as i,_n as a,fr as o,gn as s,hn as c,hr as l,mn as u,pn as d,pr as f,sn as p,ur as m,vn as h,xn as g,yn as _,zn as v}from"./D6Ym2dQP.js";import{i as y,r as b}from"./Dd1GE-gU.js";var x={key:0},S=Object.assign(g({__name:`Lines`,props:{text:{}},setup(e){let t=e,r=d(()=>t.text.split(`
|
||||
`));return(e,t)=>(v(!0),a(p,null,n(m(r),(e,t)=>(v(),a(p,{key:t},[t>0?(v(),a(`br`,x)):s(``,!0),h(l(e),1)],64))),128))}}),{__name:`UiLines`}),C=Object.assign(g({__name:`Reveal`,props:{delay:{default:0}},setup(t){let n=t,a=d(()=>b(n.delay,34));return(t,n)=>(v(),c(m(y).div,f(e(m(a))),{default:i(()=>[r(t.$slots,`default`)]),_:3},16))}}),{__name:`UiReveal`}),w={class:`font-mono text-xs tracking-[0.25em] text-muted`},T={class:`text-accent`},E=Object.assign(g({__name:`SectionHead`,props:{tag:{},title:{},highlight:{},desc:{},center:{type:Boolean,default:!1},headingId:{},level:{default:2}},setup(e){return(n,d)=>(v(),a(`div`,{class:o(e.center?`text-center`:``)},[_(C,null,{default:i(()=>[u(`div`,{class:o(`flex items-center gap-3 ${e.center?`justify-center`:``}`)},[d[0]||=u(`span`,{class:`font-mono text-sm text-accent`},`//`,-1),u(`span`,w,l(e.tag),1),d[1]||=u(`span`,{class:`h-px w-14 bg-line`},null,-1)],2)]),_:1}),_(C,{delay:.08},{default:i(()=>[(v(),c(t(`h${e.level}`),{id:e.headingId,class:`mt-3.5 sm:mt-5 text-2xl sm:text-3xl md:text-5xl font-black leading-tight sm:leading-[1.25] md:leading-[1.2]`},{default:i(()=>[r(n.$slots,`title`,{},()=>[e.title?(v(),c(S,{key:0,text:e.title},null,8,[`text`])):s(``,!0),e.highlight?(v(),a(p,{key:1},[d[2]||=u(`br`,null,null,-1),u(`span`,T,l(e.highlight),1)],64)):s(``,!0)])]),_:3},8,[`id`]))]),_:3}),e.desc?(v(),c(C,{key:0,delay:.16},{default:i(()=>[u(`p`,{class:o(`mt-3 sm:mt-5 max-w-xl text-xs sm:text-base leading-6 sm:leading-8 text-muted ${e.center?`mx-auto`:``}`)},l(e.desc),3)]),_:1})):s(``,!0)],2))}}),{__name:`UiSectionHead`});export{C as n,S as r,E as t};
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' rx='22' fill='#FF5A00'/><path d='M50 20 L72 28 V48 C72 66 62 76 50 82 C38 76 28 66 28 48 V28 Z' fill='#0A0A0C'/><path d='M40 50 L47 57 L62 42' stroke='#FF5A00' stroke-width='7' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>
|
||||
|
After Width: | Height: | Size: 337 B |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 279 KiB |
Reference in New Issue
Block a user