1import{s as le,n as M,r as xe,o as Ee,f as ke}from"../chunks/scheduler.BK5o8mzX.js";import{S as se,i as ie,e as w,t as N,s as T,c as x,a as b,b as W,d as p,f as C,k as ne,l as v,w as te,g as A,h as m,j as q,m as Q,D as U,E as X,z as re,p as Se,A as ae,B as oe,r as ee,o as R,v as Te,n as J,C as ce,x as Ce}from"../chunks/index.C1Uf0L_A.js";import{e as V}from"../chunks/each.C_GnrOb-.js";function he(n,e,t){const l=n.slice();return l[1]=e[t],l}function ue(n,e,t){const l=n.slice();return l[4]=e[t],l}function fe(n,e,t){const l=n.slice();return l[7]=e[t],l}function de(n){let e,t=n[7]+"",l,o,s=n[0].specs[n[7]]+"",i,c;return{c(){e=w("li"),l=N(t),o=N(": "),i=N(s),c=T(),this.h()},l(r){e=x(r,"LI",{class:!0});var d=b(e);l=W(d,t),o=W(d,": "),i=W(d,s),c=C(d),d.forEach(p),this.h()},h(){v(e,"class","max-sm:text-xs")},m(r,d){A(r,e,d),m(e,l),m(e,o),m(e,i),m(e,c)},p(r,d){d&1&&t!==(t=r[7]+"")&&q(l,t),d&1&&s!==(s=r[0].specs[r[7]]+"")&&q(i,s)},d(r){r&&p(e)}}}function me(n){let e,t,l="Features:",o,s,i=V(n[0].features),c=[];for(let r=0;r<i.length;r+=1)c[r]=ge(ue(n,i,r));return{c(){e=w("div"),t=w("div"),t.textContent=l,o=T(),s=w("ul");for(let r=0;r<c.length;r+=1)c[r].c();this.h()},l(r){e=x(r,"DIV",{});var d=b(e);t=x(d,"DIV",{class:!0,"data-svelte-h":!0}),ne(t)!=="svelte-42bhze"&&(t.textContent=l),o=C(d),s=x(d,"UL",{class:!0});var u=b(s);for(let E=0;E<c.length;E+=1)c[E].l(u);u.forEach(p),d.forEach(p),this.h()},h(){v(t,"class","text-xl py-2 max-sm:text-sm max-sm:p-1"),v(s,"class","list-disc list-inside")},m(r,d){A(r,e,d),m(e,t),m(e,o),m(e,s);for(let u=0;u<c.length;u+=1)c[u]&&c[u].m(s,null)},p(r,d){if(d&1){i=V(r[0].features);let u;for(u=0;
1u<i.length;u+=1){const E=ue(r,i,u);c[u]?c[u].p(E,d):(c[u]=ge(E),c[u].c(),c[u].m(s,null))}for(;u<c.length;u+=1)c[u].d(1);c.length=i.length}},d(r){r&&p(e),Q(c,r)}}}function ge(n){let e,t=n[4]+"",l,o;return{c(){e=w("li"),l=N(t),o=T(),this.h()},l(s){e=x(s,"LI",{class:!0});var i=b(e);l=W(i,t),o=C(i),i.forEach(p),this.h()},h(){v(e,"class","max-sm:text-xs")},m(s,i){A(s,e,i),m(e,l),m(e,o)},p(s,i){i&1&&t!==(t=s[4]+"")&&q(l,t)},d(s){s&&p(e)}}}function pe(n){let e,t,l="Achievements:",o,s,i=V(n[0].achievements),c=[];for(let r=0;r<i.length;r+=1)c[r]=ve(he(n,i,r));return{c(){e=w("div"),t=w("div"),t.textContent=l,o=T(),s=w("ul");for(let r=0;r<c.length;r+=1)c[r].c();this.h()},l(r){e=x(r,"DIV",{});var d=b(e);t=x(d,"DIV",{class:!0,"data-svelte-h":!0}),ne(t)!=="svelte-4dg6st"&&(t.textContent=l),o=C(d),s=x(d,"UL",{class:!0});var u=b(s);for(let E=0;E<c.length;E+=1)c[E].l(u);u.forEach(p),d.forEach(p),this.h()},h(){v(t,"class","text-xl py-2 max-sm:text-sm max-sm:p-1"),v(s,"class","list-disc list-inside")},m(r,d){A(r,e,d),m(e,t),m(e,o),m(e,s);for(let u=0;u<c.length;u+=1)c[u]&&c[u].m(s,null)},p(r,d){if(d&1){i=V(r[0].achievements);let u;for(u=0;
1u<i.length;u+=1){const E=he(r,i,u);c[u]?c[u].p(E,d):(c[u]=ve(E),c[u].c(),c[u].m(s,null))}for(;u<c.length;u+=1)c[u].d(1);c.length=i.length}},d(r){r&&p(e),Q(c,r)}}}function ve(n){let e,t=n[1]+"",l,o;return{c(){e=w("li"),l=N(t),o=T(),this.h()},l(s){e=x(s,"LI",{class:!0});var i=b(e);l=W(i,t),o=C(i),i.forEach(p),this.h()},h(){v(e,"class","max-sm:text-xs")},m(s,i){A(s,e,i),m(e,l),m(e,o)},p(s,i){i&1&&t!==(t=s[1]+"")&&q(l,t)},d(s){s&&p(e)}}}function ye(n){let e,t,l,o,s=("title"in n[0]&&n[0].title)+"",i,c,r,d=(n[0].description.length?n[0].description:"")+"",u,E,D,F,$="Specs:",j,L,P,z,y=V(Object.keys(n[0].specs)),g=[];for(let f=0;f<y.length;f+=1)g[f]=de(fe(n,y,f));let S=n[0].features!==void 0&&n[0].features.length&&me(n),k=n[0].achievements!==void 0&&n[0].achievements.length&&pe(n);return{c(){e=w("div"),t=w("div"),l=w("div"),o=w("div"),i=N(s),c=T(),r=w("div"),u=N(d),E=T(),D=w("div"),F=w("div"),F.textContent=$,j=T(),L=w("ul");for(let f=0;f<g.length;f+=1)g[f].c();P=T(),S&&S.c(),z=T(),k&&k.c(),this.h()},l(f){e=x(f,"DIV",{class:!0,style:!0});var h=b(e);t=x(h,"DIV",{class:!0});var _=b(t);l=x(_,"DIV",{class:!0});var a=b(l);o=x(a,"DIV",{class:!0});var I=b(o);i=W(I,s),I.forEach(p),c=C(a),r=x(a,"DIV",{class:!0});var O=b(r);u=W(O,d),O.forEach(p),E=C(a),D=x(a,"DIV",{});var H=b(D);F=x(H,"DIV",{class:!0,"data-svelte-h":!0}),ne(F)!=="svelte-1cqfx0z"&&(F.textContent=$),j=C(H),L=x(H,"UL",{class:!0});var Z=b(L);for(let G=0;G<g.length;G+=1)g[G].l(Z);Z.forEach(p),H.forEach(p),P=C(a),S&&S.l(a),z=C(a),k&&k.l(a),a.forEach(p),_.forEach(p),h.forEach(p),this.h()},h(){v(o,"class","text-3xl max-sm:text-xl pb-4"),v(r,"class","text-md max-sm:text-xs"),v(F,"class","text-xl py-2 max-sm:text-sm max-sm:p-1"),v(L,"class","list-disc list-inside"),v(l,"class","absolute bottom-10 left-10 bg-opacity-70 bg-black rounded-md w-96 max-sm:w-60 p-4"),v(t,"class","bg-black bg-opacity-30 h-screen w-screen"),v(e,"class","picture w-custom h-screen relative text-sm svelte-lwlp4t"),te(e,"--url","url("+n[0].img_src+")")},m(f,h){A(f,e,h),m(e,t),m(t,l),m(l,o),m(o,i),m(l,c),m(l,r),m(r,u),m(l,E),m(l,D),m(D,F),m(D,j),m(D,L);for(let _=0;_<g.length;_+=1)g[_]&&g[_].m(L,null);m(l,P),S&&S.m(l,null),m(l,z),k&&k.m(l,null)},p(f,[h]){if(h&1&&s!==(s=("title"in f[0]&&f[0].title)+"")&&q(i,s),h&1&&d!==(d=(f[0].description.length?f[0].description:"")+"")&&q(u,d),h&1){y=V(Object.keys(f[0].specs));let _;for(_=0;_<y.length;_+=1){const a=fe(f,y,_);g[_]?g[_].p(a,h):(g[_]=de(a),g[_].c(),g[_].m(L,null))}for(;_<g.length;_+=1)g[_].d(1);g.length=y.length}f[0].features!==void 0&&f[0].features.length?S?S.p(f,h):(S=me(f),S.c(),S.m(l,z)):S&&(S.d(1),S=null),f[0].achievements!==void 0&&f[0].achievements.length?k?k.p(f,h):(k=pe(f),k.c(),k.m(l,null)):k&&(k.d(1),k=null),h&1&&te(e,"--url","url("+f[0].img_src+")")},i:M,o:M,d(f){f&&p(e),Q(g,f),S&&S.d(),k&&k.d()}}}function Le(n,e,t){let{data:l={}}=e;return n.$$set=o=>{"data"in o&&t(0,l=o.data)},[l]}class De extends se{constructor(e){super(),ie(this,e,Le,ye,le,{data:0})}}function $e(n){let e,t,l;return{c(){e=U("svg"),t=U("path"),l=U("path"),this.h()},l(o){e=X(o,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var s=b(e);t=X(s,"path",{d:!0,fill:!0}),b(t).forEach(p),l=X(s,"path",{d:!0,fill:!0}),b(l).forEach(p),s.forEach(p),this.h()},h(){v(t,"d","M18.3636 7.75736L16.9494 6.34315L11.2926 12L16.9494 17.6569L18.3636 16.2426L14.121 12L18.3636 7.75736Z"),v(t,"fill","#FFFFFF"),v(l,"d","M11.2926 6.34315L12.7068 7.75736L8.46417 12L12.7068 16.2426L11.2926 17.6568L5.63574 12L11.2926 6.34315Z"),v(l,"fill","#FFFFFF"),v(e,"width","50px"),v(e,"height","50px"),v(e,"viewBox","0 0 24 24"),v(e,"fill","none"),v(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){A(o,e,s),m(e,t),m(e,l)},p:M,i:M,o:M,d(o){o&&p(e)}}}class Ae extends se{constructor(e){super(),ie(this,e,null,$e,le,{})}}function Ie(n){let e,t,l;return{c(){e=U("svg"),t=U("path"),l=U("path"),this.h()},l(o){e=X(o,"svg",{width:!0,height:!0,viewBox:!0,fill:!0,xmlns:!0});var s=b(e);t=X(s,"path",{d:!0,fill:!0}),b(t).forEach(p),l=X(s,"path",{d:!0,fill:!0}),b(l).forEach(p),s.forEach(p),this.h()},h(){v(t,"d","M5.63574 7.75737L7.04996 6.34315L12.7068 12L7.04998 17.6568L5.63577 16.2426L9.87839 12L5.63574 7.75737Z"),v(t,"fill","#FFFFFF"),v(l,"d","M12.7068 6.34315L11.2926 7.75737L15.5352 12L11.2926 16.2426L12.7068 17.6568L18.3637 12L12.7068 6.34315Z"),v(l,"fill","#FFFFFF"),v(e,"width","50px"),v(e,"height","50px"),v(e,"viewBox","0 0 24 24"),v(e,"fill","none"),v(e,"xmlns","http://www.w3.org/2000/svg")},m(o,s){A(o,e,s),m(e,t),m(e,l)},p:M,i:M,o:M,d(o){o&&p(e)}}}class Ve extends se{constructor(e){super(),ie(this,e,null,Ie,le,{})}}function _e(n,e,t){const l=n.slice();return l[10]=e[t],l}function be(n,e,t){const l=n.slice();return l[13]=e[t],l}function Fe(n){let e,t,l,o;return t=new De({props:{data:n[13]}}),{c(){e=w("div"),re(t.$$.fragment),l=T(),this.h()},l(s){e=x(s,"DIV",{class:!0});var i=b(e);
1ae(t.$$.fragment,i),l=C(i),i.forEach(p),this.h()},h(){v(e,"class","snap-center snap-always")},m(s,i){A(s,e,i),oe(t,e,null),m(e,l),o=!0},p:M,i(s){o||(R(t.$$.fragment,s),o=!0)},o(s){J(t.$$.fragment,s),o=!1},d(s){s&&p(e),ce(t)}}}function we(n){let e,t='<div class="w-8 h-2"></div> ',l,o;function s(){return n[9](n[10])}return{c(){e=w("button"),e.innerHTML=t,this.h()},l(i){e=x(i,"BUTTON",{class:!0,"data-svelte-h":!0}),ne(e)!=="svelte-vg5pxz"&&(e.innerHTML=t),this.h()},h(){v(e,"class","bg-black")},m(i,c){A(i,e,c),l||(o=ee(e,"click",s),l=!0)},p(i,c){n=i},d(i){i&&p(e),l=!1,o()}}}function Ke(n){let e,t,l,o,s,i,c,r,d,u,E,D,F,$,j,L,P,z,y=V(n[3]),g=[];for(let h=0;h<y.length;h+=1)g[h]=Fe(be(n,y,h));const S=h=>J(g[h],1,1,()=>{g[h]=null});c=new Ae({}),E=new Ve({});let k=V([...Array(n[3].length).keys()]),f=[];for(let h=0;h<k.length;h+=1)f[h]=we(_e(n,k,h));return{c(){e=T(),t=w("div"),l=w("div");for(let h=0;h<g.length;h+=1)g[h].c();o=T(),s=w("div"),i=w("button"),re(c.$$.fragment),r=T(),d=w("div"),u=w("button"),re(E.$$.fragment),D=T(),F=w("div"),$=w("div"),j=T();for(let h=0;h<f.length;h+=1)f[h].c();this.h()},l(h){Se("svelte-q5dbcs",document.head).forEach(p),e=C(h),t=x(h,"DIV",{class:!0});var a=b(t);l=x(a,"DIV",{class:!0});var I=b(l);for(let B=0;B<g.length;B+=1)g[B].l(I);I.forEach(p),o=C(a),s=x(a,"DIV",{class:!0});var O=b(s);i=x(O,"BUTTON",{class:!0});var H=b(i);ae(c.$$.fragment,H),H.forEach(p),O.forEach(p),r=C(a),d=x(a,"DIV",{class:!0});var Z=b(d);u=x(Z,"BUTTON",{class:!0});var G=b(u);ae(E.$$.fragment,G),G.forEach(p),Z.forEach(p),D=C(a),F=x(a,"DIV",{class:!0});var Y=b(F);$=x(Y,"DIV",{class:!0,style:!0}),b($).forEach(p),j=C(Y);for(let B=0;B<f.length;B+=1)f[B].l(Y);Y.forEach(p),a.forEach(p),this.h()},h(){document.title="Cars",v(l,"class","overflow-x-scroll overflow-y-hidden overflow-scroll flex flex-row scroll-snap snap-x snap-mandatory hidescroll svelte-t3hbq7"),v(i,"class","w-fit hover:cursor-pointer p-0"),v(s,"class","h-screen flex items-center justify-center absolute left-0 z-10"),v(u,"class","hover:cursor-pointer p-0"),v(d,"class","flex items-center justify-center absolute h-screen right-0"),v($,"class","bg-white w-8 h-2 scrollbar absolute svelte-t3hbq7"),te($,"--scrolled",272*n[2]/n[1]+"px"),v(F,"class","z-10 absolute opacity-50 bottom-3.5 custom-dots z-20 flex flex-row opacity-70 gap-0.5 items-center rounded-full overflow-hidden"),v(t,"class","h-screen w-screen relative flex justify-center")},m(h,_){A(h,e,_),A(h,t,_),m(t,l);for(let a=0;a<g.length;a+=1)g[a]&&g[a].m(l,null);n[6](l),m(t,o),m(t,s),m(s,i),oe(c,i,null),m(t,r),m(t,d),m(d,u),oe(E,u,null),m(t,D),m(t,F),m(F,$),m(F,j);for(let a=0;a<f.length;a+=1)f[a]&&f[a].m(F,null);L=!0,P||(z=[ee(l,"scroll",n[5]),ee(i,"click",n[7]),ee(u,"click",n[8])],P=!0)},p(h,[_]){if(_&8){y=V(h[3]);let a;for(a=0;a<y.length;a+=1){const I=be(h,y,a);g[a]?(g[a].p(I,_),R(g[a],1)):(g[a]=Fe(I),g[a].c(),R(g[a],1),g[a].m(l,null))}for(Ce(),a=y.length;a<g.length;a+=1)S(a);Te()}if((!L||_&6)&&te($,"--scrolled",272*h[2]/h[1]+"px"),_&24){k=V([...Array(h[3].length).keys()]);let a;for(a=0;a<k.length;a+=1){const I=_e(h,k,a);f[a]?f[a].p(I,_):(f[a]=we(I),f[a].c(),f[a].m(F,null))}for(;a<f.length;a+=1)f[a].d(1);f.length=k.length}},i(h){if(!L){for(let _=0;_<y.length;_+=1)R(g[_]);R(c.$$.fragment,h),R(E.$$.fragment,h),L=!0}},o(h){g=g.filter(Boolean);for(let _=0;_<g.length;_+=1)J(g[_]);J(c.$$.fragment,h),J(E.$$.fragment,h),L=!1},d(h){h&&(p(e),p(t)),Q(g,h),n[6](null),ce(c),ce(E),Q(f,h),P=!1,xe(z)}}}const K="/images/cars/";function Me(n,e,t){const l=[{title:"Batrice/FT22-23E",description:"Batrice is the first Formula Technion Autonomous combined Electric Vehicle",achievements:["2nd place in Business event at FSPT"],specs:{Weight:"260 [Kg]",Power:"81 [Hp]",Motor:"Emrax 228",Accumulator:"450 [V], 180 [A]",Downforce:"861 [N] at 80 [Km/h]",Drag:"380 [N] at 80 [Km/h]","Chassis Torsion":"2000 [Nm/deg]","Center of Mass Height":"300 [mm]"},img_src:K+"ft23.jpg"},{title:"Abbie/FT21-22E",description:"Abbie is the first Formula Technion Electric vehicle. The car competed in Formula Student Spain.",specs:{Weight:"220 [Kg]",Power:"81 [Hp]",Motor:"Emrax 228",Accumulator:"350 [V], 200 [A]",Downforce:"1200 [N] at 80 [Km/h]",Drag:"450 [N] at 80 [Km/h]","Chassis Torsion":"2000 [Nm/deg]","Center of Mass Height":"300 [mm]"},img_src:K+"ft22.jpg"},{title:"FT19C",description:"The FT19C is Formula Technion's seventh car. The car competed in Formula Student Austria, Formula Student Germany and Formula Student Czech Republic. This is the first time that Formula Technion participated in 3 c
1ompetitions.",achievements:["First place skidpad @ FS Czech - first dynamic event win in team history","Lightest winged car in Formula Student history (132kg)","6th place Cost Report - Formula Student Austria"],specs:{Weight:"132 [Kg]",Power:"60 [Hp]",Engine:"450CC KTM SX-F",Downforce:"1150 [N] at 80 [Km/h]"},features:["Drexler Limited Slip Differential","Titanium-welded uprights and differential mounts","Electric gear shifting","Rear wing drag reduction system","Hydraulic anti-roll system"],img_src:K+"ft19.jpg"},{title:"FT18C",description:"The FT18C is Formula Technion's sixth car. The car competed in Formula Student Austria and Formula Student Germany.",achievements:["Lightest winged car Formula Student Germany History (139kg)","10th place Design Formula Student Austria","12th place Autocross Formula Student Austria","5th place Business Formula Student Germany"],specs:{Weight:"139 [Kg]",Power:"60 [Hp]",Engine:"450CC Modified KTM EXC-F",Downforce:"1100 [N] at 80 [Km/h]"},features:["Drexler Limited Slip Differential","Titanium-welded uprights and differential mounts","Mono-brake"],img_src:K+"ft18.jpg"},{title:"FT2017",description:"The 2017 Formula car is a dramatic upgrade of Technionâs car that competed in Europe in 2016. Amongst other improvements, the pneumatic transmission system was replaced with an electric one, the weight of the car dropped from 255 kg to 175 kg, and the engine was replaced by a single-cylinder KTM engine.",achievements:["FS Austria: 8th place"],specs:{Weight:"175 [Kg]",Engine:"Single-Cylinder KTM"},features:["Active Suspension System","Pnuematic Transmission System"],img_src:K+"ft17.jpg"},{title:"FT2016",description:"",achievements:[],specs:{Weight:"255 [Kg]",Power:"80 [Hp]",Engine:"Suzuki GSX-R600 4-Cylinder"},features:["3D Printed Instrument Panel","Electro-Pnuematic Gear Shifting System","Adjustible Anti-roll bar","Custom Carbon-Fibre Seat"],img_src:K+"ft16.png"},{title:"FT2015",description:"",achievements:[],specs:{Weight:"255 [Kg]",Power:"80 [Hp]",Engine:"Suzuki GSX-R600 4-Cylinder"},features:["Zm21-F Magnesium A-arms","Electro-Pnuematic Gear Shifting System","Drexler Limited Slip Differentiall","Custom Carbon-Fibre Seat"],img_src:K+"ft15.jpg"},{title:"FT2014",description:"",achievements:[],specs:{Weight:"255 [Kg]",Power:"80 [Hp]",Engine:"Suzuki GSX-R600 4-Cylinder"},features:[],img_src:K+"ft14.jpg"},{title:"FT2013",description:"",achievements:[],specs:{Weight:"255 [Kg]",Power:"80 [Hp]",Engine:"Suzuki GSX-R600 4-Cylinder"},features:[],img_src:K+"ft13.jpg"}];let o,s,i;function c(F){const $=s/l.length;o.scroll({left:F*$,behavior:"smooth"})}function r(){t(2,i=o.scrollLeft),t(1,s=o.scrollWidth)}Ee(()=>r());function d(F){ke[F?"unshift":"push"](()=>{o=F,t(0,o)})}return[o,s,i,l,c,r,d,()=>{const F=i<10?l.length-1:i*l.length/s-1;c(F)},()=>{const F=i+s/l.length>s-10?0:i*l.length/s+1;c(F)},F=>{c(F)}]}class He extends se{constructor(e){super(),ie(this,e,Me,Ke,le,{})}}export{He as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.