PageSourceSearch

https://ueki-ortho.com/_next/static/chunks/0~9g_0foj_9rm.js

js ueki-ortho.com collected 2026-10-06 08:07:59 UTC 12,724 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18566,(e,t,r)=>{t.exports=e.r(76562)},8341,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return i},requestIdleCallback:function(){return a}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});let a="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},i="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},79520,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return j},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return v}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});let a=e.r(55682),i=e.r(90809),l=e.r(43476),o=a._(e.r(74080)),c=i._(e.r(71645)),d=e.r(42732),u=e.r(22737),h=e.r(8341),f=new Map,p=new Set,m=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:s=null,dangerouslySetInnerHTML:a,children:i="",strategy:l="afterInteractive",onError:c,stylesheets:d}=e,h=r||t;if(h&&p.has(h))return;if(f.has(t)){p.add(h),f.get(t).then(n,c);return}let m=()=>{s&&s(),p.add(h)},g=document.createElement("script"),v=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),n&&n.call(this,t),m()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});a?(g.innerHTML=a.__html||"",m()):i?(g.textContent="string"==typeof i?i:Array.isArray(i)?i.join(""):"",m()):t&&(g.src=t,f.set(t,v)),(0,u.setAttributesFromProps)(g,e),"worker"===l&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",l),d&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(d),document.body.appendChild(g)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>m(e))}):m(e)}function v(e){e.forEach(g),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");p.add(t)})}function x(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:s=null,strategy:a="afterInteractive",onError:i,stylesheets:u,...f}=e,{updateScripts:g,scripts:v,getIsSsr:x,appDir:j,nonce:b}=(0,c.useContext)(d.HeadManagerContext);b=f.nonce||b;let w=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||r;w.current||(s&&e&&p.has(e)&&s(),w.current=!0)},[s,t,r]);let y=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!y.current){if("afterInteractive"===a)m(e);else"lazyOnload"===a&&("complete"===document.readyState?(0,h.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>m(e))}));y.current=!0}},[e,a]),("beforeInteractive"===a||"worker"===a)&&(g?(v[a]=(v[a]||[]).concat([{id:t,src:r,onLoad:n,onReady:s,onError:i,...f,nonce:b}]),g(v)):x&&x()?p.add(t||r):x&&!x()&&m({...e,nonce:b})),j){if(u&&u.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===a)if(!r)return f.dangerouslySetInnerHTML&&(f.children=f.dangerouslySetInnerHTML.__html,delete f.dangerouslySetInnerHTML),(0,l.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...f,id:t}])})`}});else return o.default.preload(r,f.integrity?{as:"script",integrity:f.integrity,nonce:b,crossOrigin:f.crossOrigin}:{as:"script",nonce:b,crossOrigin:f.crossOrigin}),(0,l.jsx)("script",{nonce:b,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([r,{...f,id:t}])})`}});"afterInteractive"===a&&r&&o.default.preload(r,f.integrity?{as:"script",integrity:f.integrity,nonce:b,crossOrigin:f.crossOrigin}:{as:"script",nonce:b,crossOrigin:f.crossOrigin})}return null}Object.defineProperty(x,"__nextScript",{value:!0});let j=x;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},71691,e=>{"use strict";var t=e.i(43476),r=e.i(71645);e.s(["BackToTop",0,function(){let[e,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=()=>{n(window.scrollY>400)};return window.addEventListener("scroll",e,{passive:!0}),e(),()=>window.removeEventListener("scroll",e)},[]),(0,t.jsxs)("button",{type:"button",className:`back-to-top${e?" is-visible":""}`,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},"aria-label":"ページの先頭へ戻る",children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"m18 15-6-6-6 6"})}),(0,t.jsx)("span",{className:"back-to-top-label",children:"TOP"})]})}])},72304,e=>{"use strict";var t=e.i(71645);e.s(["TelTracker",0,function(){return(0,t.useEffect)(()=>{let e=e=>{let t=e.target,r=t?.closest?.('a[href^="tel:"]');if(!r)return;let n=r.getAttribute("href")?.replace("tel:","")??"";window.gtag?.("event","tel_tap",{phone_number:n,page_path:window.location.pathname})};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[]),null}])},34423,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let n=["初診相談について教えて","土曜日はやっていますか","駐車場はありますか"];e.s(["ChatBubble",0,function(){let[e,s]=(0,r.useState)(!1),[a,i]=(0,r.useState)([]),[l,o]=(0,r.useState)(""),[c,d]=(0,r.useState)(!1),u=(0,r.useRef)(null);async function h(e){let t=e.trim();if(!t||c)return;let r=[...a,{role:"user",content:t}];i(r),o(""),d(!0);try{let e=await fetch("/api/chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:r})}),t=await e.json();t.category&&t.outcome&&window.gtag?.("event","chat_question",{category:t.category,outcome:t.outcome}),i([...r,{role:"assistant",content:t.reply??t.error??"申し訳ございません、エラーが発生しました。LINEまたはお電話(027-386-6694)でお問い合わせください。",pages:t.pages??[],actions:t.actions??[],columns:t.columns??[]}])}catch{i([...r,{role:"assistant",content:"通信に失敗しました。お手数ですがLINEまたはお電話(027-386-6694)でお問い合わせください。"}])}finally{d(!1)}}return(0,r.useEffect)(()=>{u.current?.scrollTo({top:u.current.scrollHeight,behavior:"smooth"})},[a,c]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",className:"chat-fab",onClick:()=>s(e=>!e),"aria-expanded":e,"aria-label":e?"AIチャットを閉じる":"AIに質問する",children:e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M18 6 6 18M6 6l12 12"})}),(0,t.jsx)("span",{children:"閉じる"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"m12 3-1.9 5.8a2 2 0 0 1-1.3 1.3L3 12l5.8 1.9a2 2 0 0 1 1.3 1.3L12 21l1.9-5.8a2 2 0 0 1 1.3-1.3L21 12l-5.8-1.9a2 2 0 0 1-1.3-1.3Z"}),(0,t.jsx)("path",{d:"M5 3v4"}),(0,t.jsx)("path",{d:"M3 5h4"}),(0,t.jsx)("path",{d:"M19 17v4"}),(0,t.jsx)("path",{d:"M17 19h4"})]}),(0,t.jsx)("span",{children:"AIに質問"})]})}),(0,t.jsxs)("div",{className:"chat-panel",hidden:!e,children:[(0,t.jsxs)("div",{className:"chat-panel-head",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"chat-panel-title",children:"AIに質問する"}),(0,t.jsx)("p",{className:"chat-panel-sub",children:"サイト内のご案内"})]}),(0,t.jsx)("button",{type:"button",className:"chat-close",onClick:()=>s(!1),"aria-label":"閉じる",children:(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M18 6 6 18M6 6l12 12"})})})]}),(0,t.jsxs)("p",{className:"chat-disclaimer",children:["AIが自動でお答えします。",(0,t.jsx)("strong",{children:"回答に誤りが含まれる場合があります"}),"ので、料金や診療時間などの正確な情報は各ページでご確認ください。",(0,t.jsx)("strong",{children:"症状のご相談やお名前・連絡先などの入力はお控えください。"})]}),(0,t.jsxs)("div",{className:"chat-list",ref:u,children:[(0,t.jsx)("div",{className:"chat-msg chat-msg-bot",children:"こんにちは。うえき矯正歯科の案内係です。診療時間・治療費・アクセス・初診相談のご案内など、サイトに掲載している内容についてお答えします。"}),a.map((e,r)=>"user"===e.role?(0,t.jsx)("div",{className:"chat-msg chat-msg-user",children:e.content},r):(0,t.jsxs)("div",{className:"chat-answer",children:[(0,t.jsx)("div",{className:"chat-msg chat-msg-bot",children:e.content}),!!e.columns?.length&&(0,t.jsxs)("div",{className:"chat-refs chat-refs-column",children:[(0,t.jsx)("p",{className:"chat-refs-label",children:"くわしいお役立ち情報"}),e.columns.map(e=>(0,t.jsxs)("a",{href:e.href,className:"chat-ref-link chat-ref-column",children:[e.label,(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"m9 18 6-6-6-6"})})]},e.href))]}),!!e.pages?.length&&(0,t.jsxs)("div",{className:"chat-refs",children:[(0,t.jsx)("p",{className:"chat-refs-label",children:"参考にしたページ"}),e.pages.map(e=>(0,t.jsxs)("a",{href:e.href,className:"chat-ref-link",children:[e.label,(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"m9 18 6-6-6-6"})})]},e.href))]}),!!e.actions?.length&&(0,t.jsx)("div",{className:"chat-actions",children:e.actions.map(e=>(0,t.jsx)("a",{href:e.href,className:e.href.includes("lin.ee")?"chat-action chat-action-line":"chat-action",target:e.external?"_blank":void 0,rel:e.external?"noopener":void 0,children:e.label},e.href))})]},r)),c&&(0,t.jsxs)("div",{className:"chat-msg chat-msg-bot chat-typing",children:[(0,t.jsx)("span",{}),(0,t.jsx)("span",{}),(0,t.jsx)("span",{})]}),0===a.length&&!c&&(0,t.jsx)("div",{className:"chat-suggestions",children:n.map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>h(e),children:e},e))})]}),(0,t.jsxs)("form",{className:"chat-input-row",onSubmit:e=>{e.preventDefault(),h(l)}
1,children:[(0,t.jsx)("input",{type:"text",value:l,onChange:e=>o(e.target.value),placeholder:"ご質問を入力してください",maxLength:500,"aria-label":"ご質問"}),(0,t.jsx)("button",{type:"submit",disabled:c||!l.trim(),"aria-label":"送信",children:(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"m22 2-7 20-4-9-9-4 20-7z"})})})]})]})]})}])},33911,e=>{"use strict";var t=e.i(71645),r=e.i(18566);e.s(["ScrollReveal",0,function(){let e=(0,r.usePathname)();return(0,t.useEffect)(()=>{let e=Array.from(document.querySelectorAll(".section .section-inner"));if(0===e.length)return;let t=new Set(e.filter(e=>!e.classList.contains("is-revealed")));t.forEach(e=>e.classList.add("reveal-target"));let r=()=>{let e=window.innerHeight;t.forEach(r=>{let n=r.getBoundingClientRect();n.top<e-40&&n.bottom>0&&(r.classList.add("is-revealed"),t.delete(r))})},n=()=>{0!==t.size&&r()},s=setTimeout(r,60);window.addEventListener("scroll",n,{passive:!0}),window.addEventListener("resize",n,{passive:!0});let a=setTimeout(()=>{t.forEach(e=>e.classList.add("is-revealed")),t.clear()},5e3);return()=>{window.removeEventListener("scroll",n),window.removeEventListener("resize",n),clearTimeout(s),clearTimeout(a)}},[e]),null}])}]);

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.