PageSourceSearch

https://ogino-ss.co.jp/_nuxt/-vDEe6JG.js

js ogino-ss.co.jp collected 2026-10-09 04:06:26 UTC 3,514 bytes, 1 lines download raw bytes

1import{_ as A}from"./Dy3LfvPU.js";import{u as B,h as E}from"./CXOtJu_3.js";import{d as F,u as N,o as S,n as d,a as T,c,e as t,f as R,t as r,m as b,h as U,i as u,j as p,k as v,p as V,b as i,s as $,l as G}from"./K65TjnDd.js";import{p as H,e as K}from"./DTDho3ye.js";import"./CRAQyBMh.js";const L={class:"page-shell contact-step-page"},M={key:0,class:"contact-step-panel","aria-labelledby":"catalog-confirm-title"},P={class:"contact-confirmation"},j={key:0,class:"contact-submit-error",role:"alert"},q={class:"contact-form__actions"},I=["disabled"],O=["disabled"],W={key:1,class:"contact-step-loading"},z="catalog_download_submit",_="has-recaptcha-badge",ta=F({__name:"confirm",setup(J){const m=G(),{form:s,restoreCatalogDownloadForm:h,saveCatalogDownloadForm:w,resetCatalogDownloadForm:y,markCatalogDownloadCompleted:C}=B(),g=p(!1),e=p(!1),n=p(""),f=v(()=>{const o=(m.public.contactApiUrl||"").replace(/\/$/,"");return o.endsWith("/contact")?`${o.slice(0,-8)}/catalog-download`:""}),l=v(()=>m.public.recaptchaSiteKey);N({title:`カタログ請求内容の確認 | ${$.companyName}`,meta:[{name:"robots",content:"noindex, nofollow, noarchive"},{name:"googlebot",content:"noindex, nofollow, noarchive"}]}),S(async()=>{if(h(),!E(s.value)){await d("/download",{replace:!0});return}g.value=!0,l.value&&(document.body.classList.add(_),H(l.value).catch(()=>{}))}),T(()=>{document.body.classList.remove(_)});const k=async()=>{w(),await d("/download")},D=async()=>{if(!e.value){if(!f.value){n.value="現在のプレビュー環境ではカタログの送信を停止しています。入力・確認画面のみご確認いただけます。";return}e.value=!0,n.value="";try{const o=l.value?await K(l.value,z):"";if(!o)throw new Error("迷惑送信防止機能の設定が完了していません。");await $fetch(f.value,{method:"POST",body:{...s.value,recaptchaToken:o}}),V("catalog_download_complete"),C(),y(),await d("/download/thanks")}catch(o){const a=o;n.value=a.data?.message||a.statusMessage||a.message||"送信できませんでした。時間をおいて、もう一度お試しください。"}finally{e.value=!1}}};return(o,a)=>{const x=A;return i(),c("main",L,[g.value?(i(),c("section",M,[a[2]||(a[2]=t("p",{class:"contact-step-page__label"},"Catalog Download",-1)),a[3]||(a[3]=t("h1",{id:"catalog-confirm-title"},"送信内容のご確認",-1)),a[4]||(a[4]=t("p",null,"以下の内容でよろしければ、「この内容で送信する」を押してください。",-1)),R(x,{current:2}),t("dl",P,[a[0]||(a[0]=t("dt",null,"企業名",-1)),t("dd",null,r(b(s).company||"(入力なし)"),1),a[1]||(a[1]=t("dt",null,"メールアドレス",-1)),t("dd",null,r(b(s).email),1)]),n.value?(i(),c("p",j,r(n.value),1)):U("",!0),a[5]||(a[5]=t("p",{class:"contact-recaptcha-notice"},[u(" このサイトはreCAPTCHAによって保護されており、Googleの "),t("a",{href:"https://policies.google.com/privacy",target:"_blank",rel:"noopener noreferrer"},"プライバシーポリシー"),u("と "),t("a",{href:"https://policies.google.com/terms",target:"_blank",rel:"noopener noreferrer"},"利用規約"),u("が適用されます。 ")],-1)),t("div",q,[t("button",{class:"btn btn-secondary",type:"button",disabled:e.value,onClick:k},"入力内容を修正する",8,I),t("button",{class:"btn btn-primary",type:"button",disabled:e.value,onClick:D},r(e.value?"送信しています…":"この内容で送信する"),9,O)])])):(i(),c("p",W,"入力内容を確認しています。"))])}}});export{ta 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.