import{g as i,_ as k,S,r,h as A,f as $,n as C,i as P,o as x,c as T,b as e,d as Q,j as y,p as L,e as E,u as I}from"./index-12f10e1d.js";import{L as G,V as N,A as R,G as z}from"./LearnMoreBtn-84bca9b1.js";function U(a){const t={frame:0},o=a.canvas||console.warn("canvas not defined"),u=o.getContext("2d");let c=-1;const _=a.onUpdate,g=function(){let d=Math.round(t.frame);if(d!==c){a.clear&&u.clearRect(0,0,o.width,o.height);const l=s[Math.round(t.frame)];F(o,l),c=d,_&&_.call(this,d,s[d])}},s=a.urls.map((d,l)=>{let f=new Image;return f.src=d,l||(f.onload=g),f});return i.to(t,{frame:s.length-1,ease:"none",onUpdate:g,scrollTrigger:a.scrollTrigger})}const F=(a,t)=>{if(!a)return;const o=a.getContext("2d"),u=Math.min(a.width/t.width,a.height/t.height),c=t.width*u,_=t.height*u,g=a.width/2-c/2,s=a.height/2-_/2;o.drawImage(t,g,s,c,_)};const b=a=>(L("data-v-3731856a"),a=a(),E(),a),M=["width","height"],O=b(()=>e("h1",null,"GYENNO BRAVO Twist",-1)),D=b(()=>e("h3",null,"More than a Spoon",-1)),H=b(()=>e("br",null,null,-1)),q=b(()=>e("br",null,null,-1)),Y=b(()=>e("br",null,null,-1)),j=b(()=>e("br",null,null,-1)),W=b(()=>e("br",null,null,-1)),K=b(()=>e("br",null,null,-1)),J=b(()=>e("br",null,null,-1)),X=301,Z={__name:"Page1",setup(a){i.registerPlugin(S);const t=r(null),o=r(null),u=r(null),c=r(null),_=new Array(X).fill().map((p,n)=>`https://gossi18n-cdn.gyenno.com/pub/website/bravo-twist/page1/spoon-frame/spoon_${n+1}.jpg`),g=p=>{const n=new Image;n.src=`https://gossi18n-cdn.gyenno.com/pub/website/bravo-twist/page1/spoon-frame/spoon_${p}.jpg`,n.onload=()=>{F(o.value,n)}};let s,d;const l=A(()=>{var p;return(p=t.value)==null?void 0:p.getBoundingClientRect().width}),f=A(()=>{var p;return(p=t.value)==null?void 0:p.getBoundingClientRect().height}),m=()=>{i.to(u.value,{opacity:0}),window.scrollTo({top:5e3,behavior:"auto"})};return $(()=>{C(()=>{g(1),i.fromTo(o.value,{opacity:0},{opacity:1,duration:2})}),s=i.timeline({paused:!0}),s.from(u.value,{yPercent:80,duration:1.5}).to(u.value,{opacity:1},"<50%"),d=i.timeline({scrollTrigger:{trigger:t.value,pin:!0,start:0,end:"+=5800",scrub:1,onUpdate({progress:n,direction:v}){v===1?(n>.28&&s.play(),n>.58&&s.reverse()):n<.2&&s.reverse()}}});const p=U({urls:_,canvas:o.value});d.add(p).to({},{onComplete(){s.play()}}).fromTo([o.value],{opacity:1},{opacity:0},"<60%").fromTo(c.value,{backgroundImage:"radial-gradient(175% 277% at 23% -20%, rgba(247, 96, 255, 0) 63%, #5132F1 85%, #6085FF 90%, #F760FF 100%)",opacity:0},{backgroundImage:"radial-gradient(150% 237% at 21% -126%, rgba(247, 96, 255, 0) 1%, #5132F1 41%, #6085FF 58%, #F760FF 100%)",opacity:1},"<35%").to({},{duration:.1})}),P(()=>{d.kill(),s.kill()}),(p,n)=>(x(),T("div",{class:"page",ref_key:"page",ref:t},[e("canvas",{ref_key:"spoonSequence",ref:o,width:l.value,height:f.value},null,8,M),e("div",{class:"title",ref_key:"title",ref:u},[O,D,Q(G,{"buy-link":"https://www.amazon.com/dp/B0C3GFGBVG?maas=maas_adg_937E641F257C8714C23AE02E1E37A568_afap_abs&ref_=aa_maas&tag=maas","learn-callback":m})],512),e("p",{class:"description",ref_key:"description",ref:c},[y(" A perfect fusion of humanistic care and "),H,y(" technical innovation. "),q,y(" A practical application of cutting-edge "),Y,y(" technology and advanced medicine."),j,y(" A simple way to change your life."),W,y(" GYENNO BRAVO Series makes"),K,y(" you live with dignity."),J],512)],512))}},ee=k(Z,[["__scopeId","data-v-3731856a"]]);const te="/bravo-twist-image/page2/cover.png",oe={__name:"Page2",setup(a){i.registerPlugin(S);const t=r(null),o=r(null),u=["https://gossi18n.gyenno.com/pub/website/4K-A%20Half%20Life-GYENNO%20BRAVO%20Twist-80s-New%20Ending.mp4","https://gossi18n-accelerate.gyenno.com/pub/website/4K-A%20Half%20Life-GYENNO%20BRAVO%20Twist-80s-New%20Ending.mp4","https://gossi18n-cdn.gyenno.com/pub/website/4K-A%20Half%20Life-GYENNO%20BRAVO%20Twist-80s-New%20Ending.mp4"];let c,_,g,s;return $(()=>{s=i.timeline({paused:!0}),s.to(o.value.$el,{opacity:1,duration:2.5},"<"),c=i.timeline({scrollTrigger:{trigger:t.value,start:"top bottom-=200px",end:"top 300px",triggerActions:"play none reverse reset",scrub:!0,onUpdate({progress:d,direction:l}){l===1?s.play():s.reverse()}}}),_=i.timeline({scrollTrigger:{trigger:t.value,start:"top",end:"bottom-=40%",onUpdate({progress:d,direction:l}){d===1&&l===1&&o.value.pauseVideo()}}}),g=i.timeline({scrollTrigger:{trigger:t.value,start:"top-=50%",end:"bottom",onUpdate({progress:d,direction:l}){d===0&&l===-1&&o.value.pauseVideo()}}})}),P(()=>{c.kill(),_.kill(),g.kill(),s.kill()}),(d,l)=>(x(),T("div",{class:"page",ref_key:"page",ref:t},[Q(N,{sourceList:u,ref_key:"video",ref:o,class:"video",poster:te},null,512)],512))}},ae=k(oe,[["__scopeId","data-v-e91ba961"]]);const V=a=>(L("data-v-1cd64fb4"),a=a(),E(),a),ne={class:"canvas-wrapper"},se=["width","height"],ie=V(()=>e("p",null,"Intelligent Servo System",-1)),le=V(()=>e("p",null,"Self-adaptive counteract to different tremors",-1)),re=[ie,le],ce=379,pe={__name:"Page3",setup(a){i.registerPlugin(S);const t=r(null),o=r(null),u=r(null),c=r(null),_=new Array(ce).fill().map((n,v)=>`https://gossi18n-cdn.gyenno.com/pub/website/bravo-twist/page3/spoon-frame/explode_${v+1}.jpg`),g=n=>{const v=new Image;v.src=`https://gossi18n-cdn.gyenno.com/pub/website/bravo-twist/page3/spoon-frame/explode_${n}.jpg`,v.onload=()=>{F(o.value,v)}},s=A(()=>{var n;return(n=t.value)==null?void 0:n.getBoundingClientRect().width}),d=A(()=>{var n;return(n=t.value)==null?void 0:n.getBoundingClientRect().height}),l=()=>{i.to(c.value,{opacity:1})},f=()=>{i.set(c.value,{opacity:0})};let m,p;return $(()=>{C(()=>g(1)),m=i.timeline({paused:!0,scrollTrigger:{trigger:t.value,start:"top bottom-=30px",end:"bottom",onUpdate({progress:h,direction:w}){h>0&&w===1&&m.timeScale(.5).play(),h<.2&&w===-1&&m.timeScale(1.5).reverse()}}}),m.to(u.value,{opacity:1,duration:2.5}).to(o.value,{opacity:1,duration:2},"<30%"),p=i.timeline({scrollTrigger:{trigger:t.value,pin:!0,start:"top",end:"+=8000",scrub:1,onUpdate({progress:h,direction:w}){h>=1&&w===1&&i.to(o.value,{opacity:0,duration:1.5}),h<1&&w===-1&&i.to(o.value,{opacity:1})}}});const n=h=>{(h<135||h>160)&&f(),h>=135&&h<=160&&l()},v=U({urls:_,canvas:o.value,onUpdate:n});p.add(v)}),P(()=>{p.kill(),m.kill()}),(n,v)=>(x(),T("div",{class:"page",ref_key:"page",ref:t},[e("h1",{class:"title",ref_key:"title",ref:u},"Retain Dignity with Technology",512),e("div",ne,[e("canvas",{ref_key:"spoonSequence",ref:o,width:s.value,height:d.value},null,8,se),e("div",{class:"description",ref_key:"description",ref:c},re,512)])],512))}},ue=k(pe,[["__scopeId","data-v-1cd64fb4"]]),de="/bravo-twist-image/page4/spoon.png",_e="/bravo-twist-image/page4/spoon-transparent-above.png",ge="/bravo-twist-image/page4/spoon-transparent-below.png",me="/bravo-twist-image/page4/spoon-group-transparent.png",he="/bravo-twist-image/page4/arrow-left.svg";const ve={},fe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"none",version:"1.1",width:"372",height:"260",viewBox:"0 0 372 255"},ye={transform:"matrix(-1,0,0,1,740,0)"},Qe={d:"M370,0Q373.31993,0,375.78024,3.89931Q377.72365,6.97938,379.28918,12.8143Q382.0347,23.0472,383.8909,42.8751Q385.4252,59.2649,386.5541,84.6951Q387.2291,99.9014,388.2557,132.032Q389.2085,161.855,389.8062,175.704Q390.799,198.712,392.0925,213.335Q393.6316,230.736,395.8369,239.514Q396.9972,244.132,398.3207,246.374Q399.2809,248,399.9624,248Q400.7241,248,401.8984,246.276Q403.4351,244.019,405.01189999999997,239.396Q407.9969,230.644,411.0833,213.3Q413.6769,198.726,416.7179,175.79Q418.5487,161.981,422.15930000000003,132.234Q426.06759999999997,100.0341,428.1092,84.7883Q431.5242,59.2861,434.5404,42.846Q438.18899999999996,22.9587,441.875,12.699Q443.9695,6.8692,446.1886,3.80491Q448.9441,0,452.2046,0Q455.4136,0,457.9531,3.64101Q459.9773,6.54306,461.73879999999997,12.0466Q464.8301,21.7048,467.43219999999997,40.4754Q469.58799999999997,56.0263,471.719,80.2938Q472.996,94.8347,475.326,125.85Q477.654,156.839,478.929,171.356Q481.052,195.524,483.194,210.975Q485.749,229.404,488.735,238.734Q490.312,243.663,491.992,246.071Q493.337,248,494.459,248Q495.597,248,497.023,246.077Q498.779,243.709,500.525,238.867Q503.827,229.706,507.03999999999996,211.593Q509.736,196.395,512.741,172.581Q514.547,158.264,518.023,127.627Q521.58,96.2687,523.447,81.5228Q526.564,56.9009,529.395,41.0945Q532.814,22.0032,536.414,12.172Q538.463,6.57778,540.685,3.63445Q543.4300000000001,0,546.701,0Q549.92,0,552.511,3.49179Q554.596,6.30181,556.418,11.62979Q559.611,20.9708,562.333,39.1506Q564.59,54.2254,566.859,77.8277Q568.22,91.991,570.733,122.338Q573.352,153.971,574.796,168.87Q577.203,193.701,579.643,209.627Q582.556,228.647,585.963,238.292Q587.766,243.394,589.687,245.892Q591.308,248,592.797,248Q594.2470000000001,248,595.898,246.039Q597.844,243.729,599.78,239.005Q603.451,230.047,607.042,212.297Q610.059,197.383,613.441,173.96Q615.475,159.871,619.408,129.618Q623.534,97.8817,625.71,82.9179Q629.347,57.9001,632.668,41.8095Q636.6859999999999,22.3439,640.938,12.3041Q643.36,6.58625,645.986,3.5832100000000002Q649.12,0,652.722,0Q659.745,0,665.196,11.75082Q669.663,21.3805,673.6800000000001,40.0408Q676.998,55.4603,680.488,79.4571Q682.576,93.8124,686.479,124.326Q689.55,148.335,691.14,159.799Q693.7860000000001,178.876,696.142,192.132Q701.97,224.934,708.447,235.428Q711.149,239.806,713.5799999999999,242.137Q715.756,244.224,717.552,244.54Q720.8969999999999,245.128,724.127,238.922Q731.758,224.262,736.008,176.258Q736.0160000000001,176.166,736.033,176.074Q736.049,175.983,736.0740000000001,175.894Q736.0989999999999,175.805,736.133,175.718Q736.1659999999999,175.631,736.207,175.548Q736.248,175.465,736.297,175.386Q736.345,175.307,736.4010000000001,175.233","fill-rule":"evenodd",stroke:"#E55050","stroke-width":"4","stroke-linecap":"round",class:"path",ref:"path"};function we(a,t){return x(),T("svg",fe,[e("g",ye,[e("path",Qe,null,512)])])}const be=k(ve,[["render",we],["__scopeId","data-v-7454e253"]]);const ke={},xe={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"none",version:"1.1",width:"398",height:"40",viewBox:"0 0 398 36"},Te={transform:"matrix(-1,0,0,1,792,0)"},Se={d:"M396,0Q405.60376,0,410.3198,6.07138Q412.1477,8.42466,413.4612,11.99049Q414.2158,14.0391,415.3385,18.2741Q416.3373,22.0415,416.9492,23.7503Q417.916,26.4506,419.1328,28.1085Q420.4994,29.9706,422.4506,30.9066Q424.7299,32,428.0793,32Q434.5549,32,440.9726,27.6538Q443.6395,25.8477,446.7961,22.9785Q448.7252,21.2249,452.561,17.4162Q456.7783,13.2288,458.9991,11.23002Q462.7613,7.84411,466.1084,5.64542Q474.7025,0,484.0125,0Q493.1914,0,499.507,5.4906299999999995Q501.979,7.63917,504.389,10.94712Q505.798,12.8806,508.33,16.942Q510.78499999999997,20.8807,512.109,22.6971Q514.253,25.6392,516.3820000000001,27.4906Q518.872,29.6549,521.789,30.7533Q525.1,32,529.2529999999999,32Q536.988,32,543.706,27.4351Q546.4639999999999,25.5611,549.569,22.5964Q551.466,20.7844,555.152,16.868299999999998Q558.9970000000001,12.7838,561.034,10.84482Q564.487,7.55776,567.648,5.43066Q575.718,0,585.186,0Q594.506,0,601.058,5.27383Q603.638,7.35057,606.2,10.56188Q607.7,12.4431,610.429,16.4163Q613.192,20.4374,614.693,22.303Q617.133,25.3366,619.575,27.2579Q622.456,29.5251,625.848,30.6824Q629.711,32,634.539,32Q643.258,32,650.864,27.4681Q653.97,25.6177,657.4780000000001,22.6898Q659.6179999999999,20.9032,663.793,17.0334Q668.249,12.9031,670.619,10.93843Q674.63,7.61328,678.315,5.46173Q687.669,0,698.697,0Q710.7,0,720.019,5.21772Q723.716,7.2877,727.582,10.49164Q729.865,12.3833,734.087,16.3612Q737.346,19.4322,739.02,20.8868Q741.769,23.2751,744.1990000000001,24.9232Q750.172,28.9746,756.9200000000001,30.2924Q779.963,34.7921,788.3879999999999,23.3236Q788.527,23.1339,788.707,22.9817Q788.887,22.8296,789.097,22.7233","fill-rule":"evenodd",stroke:"#58E550","stroke-width":"4","stroke-linecap":"round",class:"path",ref:"path"};function $e(a,t){return x(),T("svg",xe,[e("g",Te,[e("path",Se,null,512)])])}const Pe=k(ke,[["render",$e],["__scopeId","data-v-a0748c6b"]]);const B=a=>(L("data-v-f0d20398"),a=a(),E(),a),Ae=B(()=>e("br",null,null,-1)),Be={class:"wrapper"},Ie=B(()=>e("span",{class:"description text text-1"},[y("Active Stabilizing"),e("br"),y("Technology")],-1)),Le=B(()=>e("img",{class:"description arrow",src:he},null,-1)),Ee=B(()=>e("span",{class:"description text text-2"},[y("Motion Perception"),e("br"),y("Technology")],-1)),Fe={__name:"Page4",setup(a){i.registerPlugin(S);const t=r(null),o=r(null),u=r(null),c=r(null),_=r(null),g=r(null),s=r(null),d=r(null);let l,f;return $(()=>{l=i.timeline({scrollTrigger:{trigger:t.value,start:"top bottom-=70%",end:"bottom",onUpdate({progress:p,direction:n}){p>0&&n===1&&l.timeScale(1).play(),p<1&&n===-1&&l.timeScale(2).reverse()}}}),l.to(o.value,{opacity:1,duration:5}),f=i.timeline({scrollTrigger:{trigger:t.value,pin:!0,start:"top",end:"+=4000",scrub:1,onUpdate({progress:p,direction:n}){n===1&&p>.6&&m.timeScale(2).play(),n===-1&&p<.95&&m.timeScale(10).reverse()}}});const m=i.timeline({paused:!0});m.to(".path--red",{opacity:1}).to(".path--red .path",{strokeDashoffset:0,duration:2.5}).to(".text-2",{opacity:1,duration:.5},"<30%").to(".arrow",{opacity:1,duration:.5},"<90%").to(".text-1",{opacity:1,duration:.5},"<90%").to(".path--green",{opacity:1},"<80%").to(".path--green .path",{strokeDashoffset:0,duration:2.5},"<"),f.to(u.value,{opacity:1,duration:.009}).to(_.value,{opacity:1,duration:.008}).to(c.value,{opacity:1,duration:.008}).to([u.value,_.value,c.value],{opacity:0,duration:.005}).to(g.value,{opacity:1,duration:.02},"<")}),P(()=>{f.kill(),l.kill()}),(m,p)=>(x(),T("div",{class:"page",ref_key:"page",ref:t},[e("h1",{class:"title",ref_key:"title",ref:o},[y("Unique Tremor Assist "),Ae,y(" Technology")],512),e("div",Be,[e("img",{class:"spoon spoon--center",src:de,ref_key:"spoon",ref:u},null,512),e("img",{class:"spoon spoon--above",src:_e,ref_key:"spoonAbove",ref:c},null,512),e("img",{class:"spoon spoon--below",src:ge,ref_key:"spoonBelow",ref:_},null,512),e("img",{class:"spoon spoon--group",src:me,ref_key:"spoonGroup",ref:g},null,512),Q(Pe,{class:"description path path--green",ref_key:"greenPath",ref:d},null,512),Ie,Le,Ee,Q(be,{class:"description path path--red",ref_key:"redPath",ref:s},null,512)])],512))}},Ce=k(Fe,[["__scopeId","data-v-f0d20398"]]),Ue="/bravo-twist-image/page5/app-day-view.png",Ve="/bravo-twist-image/page5/app-week-view.png";const Ge={class:"wrapper"},Ne={__name:"Page5",setup(a){i.registerPlugin(S);const t=r(null),o=r(null),u=r(null),c=r(null),_=r(null),g=r(null),s=r(null),d="https://www.amazon.com/dp/B0C3GFGBVG?maas=maas_adg_937E641F257C8714C23AE02E1E37A568_afap_abs&ref_=aa_maas&tag=maas";let l,f,m;const p="https://play.google.com/store/apps/details?id=com.gyenno.spoon",n="https://apps.apple.com/us/app/gyenno-spoon/id1398122886";return $(()=>{l=i.timeline({scrollTrigger:{trigger:t.value,start:"top bottom-=40%",end:"center-=100",scrub:1}}),m=i.timeline({paused:!0}),m.fromTo(u.value,{width:0},{width:"auto"}).to(u.value,{display:"inline-block"},"<20%").to(u.value,{opacity:1}).to(c.value,{display:"inline-block"},"<20%").fromTo(c.value,{width:0},{width:"auto"}).to(c.value,{opacity:1}).from(_.value,{yPercent:20}).to(_.value,{opacity:1},"<");let v=i.matchMedia();v.add("(min-height: 1900px)",()=>{f=i.timeline({scrollTrigger:{trigger:t.value,pin:!0,start:"top",end:"bottom",onUpdate({direction:h}){h===1?(m.timeScale(1).play(),setTimeout(()=>{g.value.getTimeline().timeScale(1).play(),s.value.getTimeline().timeScale(.6).play()},500)):(m.timeScale(3).reverse(),g.value.getTimeline().timeScale(3).reverse(),s.value.getTimeline().delay(.8).timeScale(3).reverse())}}})}),v.add("(max-height: 1899px)",()=>{f=i.timeline({scrollTrigger:{trigger:t.value,pin:!0,start:"top",end:"+=1000",onUpdate({progress:h,direction:w}){h>.3&&w===1&&m.timeScale(1).play(),h<.4&&w===-1&&m.timeScale(3).reverse(),h>.9&&w===1&&(g.value.getTimeline().delay(.3).timeScale(1).play(),s.value.show()),h<1&&w===-1&&(g.value.getTimeline().timeScale(3).reverse(),s.value.hide())}}})}),v.add("(min-height: 1600px)",()=>{l.to(o.value,{opacity:1}).fromTo(o.value,{yPercent:150},{yPercent:0},"<80%").to(o.value,{fontSize:"150px",lineHeight:"150px",yPercent:30},"<")}),v.add("(max-height: 1599px)",()=>{l.to(o.value,{opacity:1}).fromTo(o.value,{yPercent:150},{yPercent:0},"<80%").to(o.value,{fontSize:"80px",lineHeight:"88px",yPercent:30},"<")})}),P(()=>{f.kill(),m.kill(),l.kill()}),(v,h)=>(x(),T("div",{class:"page",ref_key:"page",ref:t},[e("h1",{class:"title",ref_key:"title",ref:o},"Know Yourself Better",512),e("div",Ge,[e("img",{class:"image image--day",src:Ue,ref_key:"dayView",ref:u},null,512),e("img",{class:"image image--week",src:Ve,ref_key:"weekView",ref:c},null,512)]),e("p",{class:"tip",ref_key:"tip",ref:_},"* Data Upload to Your Device When Spoon in Charging Status",512),Q(R,{ref_key:"button",ref:g,androidLink:I(p),iosLink:I(n),class:"app-button"},null,8,["androidLink","iosLink"]),Q(z,{link:I(d),class:"amazon-button",ref_key:"amazonBtn",ref:s},null,8,["link"])],512))}},Re=k(Ne,[["__scopeId","data-v-7b53d685"]]);const ze={class:"wrapper"},Me={__name:"index",setup(a){return(t,o)=>(x(),T("div",ze,[Q(ee),Q(ae),Q(ue),Q(Ce),Q(Re)]))}},He=k(Me,[["__scopeId","data-v-e8968787"]]);export{He as default};