PageSourceSearch

https://laboz.jp/_next/static/chunks/app/(public)/contact/page-8118fcaf32037f4b.js

js laboz.jp collected 2026-10-06 04:53:29 UTC 10,812 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6344],{1930:(e,a,n)=>{"use strict";function s(e,a){if("function"==typeof window.gtag)try{window.gtag("event",e,a??{})}catch{}}function t(e){s("diagnosis_submit",{industry:e.industry??"unknown",source:e.source??"unknown"})}function l(e){s("lead_accepted",e)}function i(e,a){s(e,{asset_id:a})}function r(){s("partner_contact_click",{page_id:"partners"})}n.d(a,{D2:()=>l,J0:()=>t,iY:()=>i,mz:()=>r,sx:()=>s})},3856:(e,a,n)=>{"use strict";n.r(a),n.d(a,{default:()=>x});var s=n(5155),t=n(8500),l=n.n(t),i=n(2115),r=n(5353),c=n(8202);let o={consultation:"初回相談",audit:"MCO Auditの相談",improvement:"SEO・AIO改善の相談",partnership:"協業・共催の相談",implementation:"AI・DX実装の相談",other:"その他の相談"};var d=n(1930),u=n(9339);let h=(0,u.createServerReference)("60f0984bc8642ae302b5aecbf2eab2a09cd80010bc",u.callServer,void 0,u.findSourceMapURL,"submitContact"),p={ok:!1,status:"idle"},m={company:"",name:"",departmentTitle:"",email:"",phone:"",targetUrl:"",inquiryType:"",message:"",awarenessSource:"",privacyAccepted:!1,marketingAccepted:!1};function x(){let[e,a]=(0,i.useState)(m),[n,t]=(0,i.useState)("input"),[u,x]=(0,i.useState)(()=>globalThis.crypto?.randomUUID()??""),[y,b,f]=(0,i.useActionState)(h,p),N=(0,i.useRef)(!1);(0,i.useEffect)(()=>{let e=window.setTimeout(()=>{let e=new URLSearchParams(window.location.search).get("intent");if(e&&e in o)return void a(a=>({...a,inquiryType:e}));let n=new URLSearchParams(window.location.search).get("type"),s={diagnosis:"improvement",managed:"consultation",self:"consultation",other:"other"};n&&s[n]&&a(e=>({...e,inquiryType:s[n]}))},0);return()=>window.clearTimeout(e)},[]),(0,i.useEffect)(()=>{if("idempotency_conflict"===y.status){let e=window.setTimeout(()=>{t("input"),x(window.crypto.randomUUID())},0);return()=>window.clearTimeout(e)}"accepted"===y.status&&y.analytics&&!N.current&&(N.current=!0,(0,d.D2)({inquiry_type:y.analytics.inquiryType,page_id:"contact"}))},[y]);let w=(e,n)=>a(a=>({...a,[e]:n}));return y.ok?(0,s.jsx)("section",{className:"body-section",children:(0,s.jsxs)("div",{className:"container reading",children:[(0,s.jsx)("p",{className:"eyebrow red",children:"CONTACT RECEIVED"}),(0,s.jsx)("h1",{children:"accepted"===y.status?"ご相談を受け付けました。":"送信を受け付けました。"}),(0,s.jsx)("p",{className:"section-lead",style:{marginTop:24},children:"accepted"===y.status?"担当より2営業日以内にご返信します。初回相談の日程は、返信後に調整します。":"ありがとうございました。"}),y.receiptId&&(0,s.jsxs)("div",{className:"note",children:[(0,s.jsx)("strong",{children:"受付番号:"})," ",y.receiptId]}),(0,s.jsx)("div",{className:"actions",children:(0,s.jsx)(l(),{className:"btn secondary",href:"/",children:"TOPへ戻る"})})]})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("section",{className:"pagehero",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("nav",{className:"crumb","aria-label":"パンくず",children:[(0,s.jsx)(l(),{href:"/",children:"LABOZ"}),(0,s.jsx)("span",{children:"/"}),(0,s.jsx)("span",{children:"Contact"})]}),(0,s.jsx)("p",{className:"eyebrow red",children:"CONTACT"}),(0,s.jsxs)("h1",{children:["今の課題を、",(0,s.jsx)("br",{}),"お聞かせください。"]}),(0,s.jsx)("p",{className:"lead",children:"まだテーマが固まっていなくても構いません。確認したいことから整理します。"})]})}),(0,s.jsx)("section",{className:"body-section",children:(0,s.jsxs)("div",{className:"container form-layout",children:[(0,s.jsxs)("div",{className:"form-intro",children:[(0,s.jsx)("p",{className:"eyebrow red",children:"GXO INC."}),(0,s.jsx)("h2",{children:"LABOZへのご相談"}),(0,s.jsx)("p",{children:"SEO・AIOの改善、MCOの診断、協業、AI・DX実装についてご相談いただけます。"}),(0,s.jsxs)("div",{className:"contact-lines",children:[(0,s.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"}),(0,s.jsx)("a",{href:"tel:0120988004",children:"0120-988-004"})]}),(0,s.jsx)("p",{children:"担当より2営業日以内にご返信します。"}),(0,s.jsx)("div",{className:"note",children:"初回相談は無料です。正式な調査・診断や日時予約は、受付後に内容を確認してご案内します。"})]}),(0,s.jsxs)("div",{className:"sales-form-shell",children:[(0,s.jsxs)("ol",{className:"contact-progress","aria-label":"送信手順",children:[(0,s.jsx)("li",{"aria-current":"input"===n?"step":void 0,children:"1. 入力"}),(0,s.jsx)("li",{"aria-current":"review"===n?"step":void 0,children:"2. 確認"}),(0,s.jsx)("li",{children:"3. 受付"})]}),y.error&&(0,s.jsx)("div",{className:"x-error",role:"alert",tabIndex:-1,
1children:y.error}),"input"===n?(0,s.jsxs)("form",{onSubmit:e=>{e.preventDefault(),e.currentTarget.reportValidity()&&t("review")},children:[(0,s.jsxs)("div",{className:"form-grid",children:[(0,s.jsx)(j,{label:"会社名",required:!0,children:(0,s.jsx)("input",{value:e.company,onChange:e=>w("company",e.target.value),required:!0,maxLength:120,autoComplete:"organization"})}),(0,s.jsx)(j,{label:"氏名",required:!0,children:(0,s.jsx)("input",{value:e.name,onChange:e=>w("name",e.target.value),required:!0,maxLength:80,autoComplete:"name"})}),(0,s.jsx)(j,{label:"部署・役職",children:(0,s.jsx)("input",{value:e.departmentTitle,onChange:e=>w("departmentTitle",e.target.value),maxLength:120,autoComplete:"organization-title"})}),(0,s.jsx)(j,{label:"会社メール",required:!0,children:(0,s.jsx)("input",{type:"email",value:e.email,onChange:e=>w("email",e.target.value),required:!0,maxLength:200,autoComplete:"email"})}),(0,s.jsx)(j,{label:"電話番号",children:(0,s.jsx)("input",{type:"tel",value:e.phone,onChange:e=>w("phone",e.target.value),maxLength:40,autoComplete:"tel"})}),(0,s.jsx)(j,{label:"対象サイトURL",children:(0,s.jsx)("input",{type:"url",value:e.targetUrl,onChange:e=>w("targetUrl",e.target.value),maxLength:500,placeholder:"https://example.jp",inputMode:"url"})}),(0,s.jsx)(j,{label:"ご相談種別",required:!0,full:!0,children:(0,s.jsxs)("select",{value:e.inquiryType,onChange:e=>w("inquiryType",e.target.value),required:!0,children:[(0,s.jsx)("option",{value:"",children:"選択してください"}),Object.entries(o).map(([e,a])=>(0,s.jsx)("option",{value:e,children:a},e))]})}),(0,s.jsx)(j,{label:"確認したいこと",full:!0,children:(0,s.jsx)("textarea",{value:e.message,onChange:e=>w("message",e.target.value),maxLength:4e3,placeholder:"機密情報や第三者の個人情報は入力しないでください。"})}),(0,s.jsx)(j,{label:"LABOZを知ったきっかけ",full:!0,children:(0,s.jsxs)("select",{value:e.awarenessSource,onChange:e=>w("awarenessSource",e.target.value),children:[(0,s.jsx)("option",{value:"",children:"選択しない"}),(0,s.jsx)("option",{value:"search",children:"検索エンジン"}),(0,s.jsx)("option",{value:"ai",children:"AI検索・生成AI"}),(0,s.jsx)("option",{value:"social",children:"SNS"}),(0,s.jsx)("option",{value:"referral",children:"紹介"}),(0,s.jsx)("option",{value:"event",children:"イベント"}),(0,s.jsx)("option",{value:"existing",children:"以前から知っていた"}),(0,s.jsx)("option",{value:"other",children:"その他"})]})})]}),(0,s.jsxs)("label",{className:"consent",children:[(0,s.jsx)("input",{type:"checkbox",checked:e.privacyAccepted,onChange:e=>w("privacyAccepted",e.target.checked),required:!0}),(0,s.jsxs)("span",{children:[(0,s.jsx)(l(),{href:"/privacy",target:"_blank",children:"プライバシーポリシー"}),"を確認し、相談対応のための個人情報の取扱いに同意します。",(0,s.jsx)("span",{className:"required",children:"必須"})]})]}),(0,s.jsxs)("label",{className:"consent",children:[(0,s.jsx)("input",{type:"checkbox",checked:e.marketingAccepted,onChange:e=>w("marketingAccepted",e.target.checked)}),(0,s.jsx)("span",{children:"LABOZからの研究・サービス案内を受け取る(任意・いつでも撤回できます)"})]}),(0,s.jsxs)("button",{className:"btn",type:"submit",children:["入力内容を確認 ",(0,s.jsx)("span",{"aria-hidden":"true",children:"→"})]})]}):(0,s.jsxs)("form",{action:b,children:[(0,s.jsxs)("div",{className:"sales-confirm",children:[(0,s.jsx)("p",{className:"eyebrow red",children:"CONFIRM"}),(0,s.jsx)("h2",{children:"入力内容をご確認ください。"}),(0,s.jsxs)("dl",{children:[(0,s.jsx)(v,{label:"会社名",value:e.company}),(0,s.jsx)(v,{label:"氏名",value:e.name}),(0,s.jsx)(v,{label:"部署・役職",value:e.departmentTitle||"—"}),(0,s.jsx)(v,{label:"メール",value:e.email}),(0,s.jsx)(v,{label:"電話番号",value:e.phone||"—"}),(0,s.jsx)(v,{label:"対象URL",value:e.targetUrl||"—"}),(0,s.jsx)(v,{label:"相談種別",value:e.inquiryType?o[e.inquiryType]:"—"}),(0,s.jsx)(v,{label:"確認事項",value:e.message||"—"})]})]}),(0,s.jsx)(c.N,{}),(0,s.jsx)(g,{name:"company",value:e.company}),(0,s.jsx)(g,{name:"name",value:e.name}),(0,s.jsx)(g,{name:"department_title",value:e.departmentTitle}),(0,s.jsx)(g,{name:"email",value:e.email}),(0,s.jsx)(g,{name:"phone",value:e.phone}),(0,s.jsx)(g,{name:"target_url",value:e.targetUrl}),(0,s.jsx)(g,{name:"inquiry_type",value:e.inquiryType}),(0,s.jsx)(g,{name:"message",value:e.message}),(0,s.jsx)(g,{name:"awareness_source",value:e.awarenessSource}),(0,s.jsx)(g,{name:"privacy_accepted",value:String(e.privacyAccepted)}),(0,s.jsx)(g,{name:"marketing_accepted",value:String(e.marketingAccepted)}),(0,s.jsx)(g,{name:"privacy_version",value:"2026-08-28"}),(0,s.jsx)(g,{name:"idempotency_key",value:u}),(0,s.jsx)(g,{name:"campaign_id",value:""}),(0,s.jsx)(r.$,{action:"contact"}),(0,s.jsxs)("div",{className:"actions",children:[(0,s.jsx)("button",{className:"btn secondary",type:"button",onClick:()=>t("input"),disabled:f,children:"入力へ戻る"}),(0,s.jsx)("button",{className:"btn",type:"submit",disabled:f||!u,children:f?"受付中…":"この
1内容で送信"})]}),(0,s.jsx)("p",{className:"form-hint","aria-live":"polite",children:f?"安全に保存しています。画面を閉じずにお待ちください。":"受付後、担当より2営業日以内にご返信します。"})]})]})]})})]})}function j({label:e,required:a,full:n,children:t}){return(0,s.jsxs)("label",{className:`field${n?" full":""}`,children:[(0,s.jsxs)("span",{children:[e,a&&(0,s.jsx)("span",{className:"required",children:"必須"})]}),t]})}function v({label:e,value:a}){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("dt",{children:e}),(0,s.jsx)("dd",{children:a})]})}function g({name:e,value:a}){return(0,s.jsx)("input",{type:"hidden",name:e,value:a})}},5670:(e,a,n)=>{Promise.resolve().then(n.bind(n,3856))}},e=>{e.O(0,[8500,1020,8441,3794,7358],()=>e(e.s=5670)),_N_E=e.O()}]);

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.