PageSourceSearch

https://chocozap.jp/_nuxt/BsFaawN9.js

js chocozap.jp collected 2026-10-02 03:35:20 UTC 6,442 bytes, 1 lines download raw bytes

1import{_ as E}from"./DRXQz5CZ.js";import{p as g,o as l,c as p,a as t,F as $,r as T,n as C,E as h,f as V,g as A,D as k,_ as D,R as S,t as H,e as _,i as f,J as L,S as M,k as y,O as R,Q as N,u as I}from"./DUtOBDbA.js";import{u as j}from"./T6DCd57D.js";import{V as w}from"./-rBqvhre.js";const F={props:{sections:{type:Array,default:()=>[]}},data(){return{currentSection:""}},mounted(){window.addEventListener("scroll",()=>{const d=window.scrollY+5,e=[];this.sections.forEach((s,i)=>{const c=document.getElementById(`section-${i}`),o=c?c.offsetTop:0;e.push({id:`section-${i}`,offsetTop:o})});for(let s=0;s<e.length;s++){const i=e[s],c=e[s+1];if(d>=i.offsetTop&&(!c||d<c.offsetTop)){this.currentSection=i.id;break}else this.currentSection=""}})},methods:{scrollToSection(d){const e=document.querySelector(d);e&&setTimeout(()=>{window.scrollTo({top:e.getBoundingClientRect().top+window.scrollY,behavior:"smooth"})},100)}}},O={class:"relative top-0 h-auto w-full p-[24px_16px_16px] pc:sticky pc:top-[20px] pc:w-[240px] pc:h-fit pc:p-0"},U={class:"c-toc-list rounded-b-[14px] pc:rounded-none"},P=["onClick"];function q(d,e,s,i,c,o){return l(),p("aside",O,[e[0]||(e[0]=t("div",{class:"text-left text-body-md text-text_description-primary bg-background_secondary m-0 p-md rounded-t-[14px] border border-solid border-border_primary border-b-0 mb
1-0 pc:py-xs pc:px-[28px] pc:rounded-md pc:border-0 pc:mb-xs"}," 目次 ",-1)),t("nav",null,[t("ol",U,[(l(!0),p($,null,T(s.sections,(m,u)=>(l(),p("li",{key:u,class:"relative m-0 p-0 pc:py-xs pc:p-0"},[t("a",{class:C(["c-toc-link relative text-text_body p-md block font-normal leading-[160%] pc:text-text_description-secondary pc:py-xs pc:px-lg pc:inline pc:font-bold cursor-pointer",{current:c.currentSection===`section-${u}`}]),onClick:n=>o.scrollToSection(`#section-${u}`)},h(m.title),11,P)]))),128))])])])}const z=g(F,[["render",q],["__scopeId","data-v-6f09fc46"]]),G={};function J(d,e){const s=D;return l(),V(s,{to:"/voices",class:"mx-auto max-w-[420px] flex justify-center items-center font-bold border border-solid border-border_secondary rounded-lg text-black transition-all duration-300 text-center py-[15px] hover:border-black hover:opacity-100"},{default:A(()=>[...e[0]||(e[0]=[k(" 他の体験者の声をもっと見る ",-1)])]),_:1})}const Y=g(G,[["render",J]]),Z=""+new URL("balloon.8N7Bc8T0.jpg",import.meta.url).href,K=""+new URL("ChocoVariationForApp.DHAHqJAz.svg",import.meta.url).href,Q={class:"max-w-[1728px] mx-auto"},X={key:0,class:"h-screen"},W={key:1},tt={class:"flex flex-col-reverse items-center pc:flex-row pc:gap-0 pc:justify-between"},et={class:"w-full flex items-center overflow-hidden pc:w-1/2 pc:max-h-[486px]"},ot=["src","alt"],st={class:"w-full flex items-center pc:w-1/2 pc:max-h-[486px] pc:overflow-hidden"},ct={class:"m-0 p-[32px_16px_24px] pc:ml-[80px] pc:w-[460px] pc:p-0"},nt=["innerHTML"],it={class:"text-text_description-primary text-body-sm font-normal leading-body mb-md pc:text-body-lg pc:mb-lg"},rt={class:"w-full m-0 flex flex-col gap-0 pc:w-[1080px] pc:mx-auto pc:my-5xl pc:flex-row pc:gap-xxl"},lt={class:"w-full pc:w-[240px]"},at={class:"w-full border-none p-[24px_16px] pc:w-[800px] pc:border-2 pc:border-solid pc:border-border_primary pc:rounded-xl pc:p-[46px]"},pt={class:"flex gap-3xl flex-col"},dt=["id"],_t={class:"c-section-title text-center text-text_headline text-body-xl font-bold leading-body mb-lg pc:text-headline-sm"},ut=["alt"],mt=["innerHTML"],xt={class:"p-[24px_32px_48px] pc:py-lg pc:px-0"},ft={__name:"Detail",emits:["getTitle"],setup(d,{emit:e}){const s=j(),i=S(),c=y(!0),o=y(),m=e;return H(async()=>{try{const{$config:n}=L(),a=i.params.id,r=await fetch(`${n.public.kuroco.voices.detail}/${a}`);if(!r.ok)throw new Error(`Failed to fetch item: ${r.status} ${r.statusText}`);const x=await r.json();x?.details&&(o.value=x.details,m("getTitle",o.value?.headline)),await s.fetchVoiceTagList()}catch(n){throw M({statusCode:404,statusMessage:n.message,fatal:!0})}finally{c.value=!1}}),(n,a)=>{const r=E,x=z,B=Y;return l(),p("section",Q,[_(c)?(l(),p("div",X)):(l(),p("div",W,[t("div",tt,[t("div",et,[t("img",{src:_(o)?.image?.url,alt:_(o)?.voice_name,class:"w-full min-w-full"},null,8,ot)]),t("div",st,[t("div",ct,[a[1]||(a[1]=t("img",{src:Z,alt:"お客様の声",class:"w-[98px] mb-xs pc:w-[116px] pc:mb-md"},null,-1)),t("h2",{class:"text-text_body text-body-xl font-bold leading-body mb-xs flex flex-col pc:text-headline-md pc:mb-md",innerHTML:_(o)?.headline},null,8,nt),t("div",it,[k(h(_(o)?.name),1),a[0]||(a[0]=t("span",{class:"pc:text-body-md"},"さん",-1))]),f(r,{item:_(o)},null,8,["item"])])])]),t("div",rt,[t("div",lt,[f(x,{sections:_(o)?.sections},null,8,["sections"])]),t("div",at,[t("div",pt,[(l(!0),p($,null,T(_(o)?.sections,(b,v)=>(l(),p("div",{id:`section-${v}`,key:v},[t("div",_t,[t("img",{src:K,alt:b.title,class:"mb-xs w-[65px] pc:w-auto"},null,8,ut),t("h3",null,h(b.title),1)]),t("div",{class:"c-section-body",innerHTML:b.body},null,8,mt)],8,dt))),128))])])]),t("div",xt,[f(B)])]))])}}},bt=g(ft,[["__scopeId","data-v-6821e6ce"]]),wt={__name:"[id]",setup(d){const e=I(),s=S(),i=R(),{$breadcrumbs:c}=L(),o=y(""),m=n=>{const a=n.length>w?`${n.slice(0,w)}...`:n,r=[c.route,c.voices,{title:a,path:s.path,name:"voice-detail"}];i.setBreadcrumbs(r)},u=n=>{o.value=`${n}|体験者の声`,m(n)};return N({title:o,meta:[{key:"description",name:"description",content:"ダイエットしたい、体力をつけたい…様々な目標を持ってchocoZAPを利用された方の体験者の声を掲載しています。ジム+様々なサービスがコミコミで月額2,980円(税込3,278円) 。初心者向けのコンビニジム。1日たった5分の「ちょいトレ習慣」"},{key:"og:url",property:"og:url",content:`${e.public.domain}${s.path}`},{key:"og:title",property:"og:title",content:`${o.value}|体験者の声|チョコザップ|運動も美容もリフレッシュも!スキマ時間にサクッと使えるコンビニジム`},{key:"og:description",property:"og:description",content:"ダイエットしたい、体力をつけたい…様々な目標を持ってchocoZAPを利用された方の体験者の声を掲載しています。ジム+様々なサービスがコミコミで月額2,980円(税込3,278円) 。初心者向けのコンビニジム。1日たった5分の「ちょいトレ習慣」"}]}),(n,a)=>{const r=bt;return l(),p("div",null,[f(r,{onGetTitle:u})])}}};export{wt as default};

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.