PageSourceSearch

https://sunmarkweb.com/_next/static/chunks/4959-09b395aabaa4f1b8.js

js sunmarkweb.com collected 2026-10-04 07:53:39 UTC 16,182 bytes, 45 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];if(null!=o)for(var r in o)o.hasOwnProperty(r)&&(e[r]=o[r])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:note-front-custom-domain":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7fe2e632-d4a6-4ba3-aec1-afa2b48699c5",e._sentryDebugIdIdentifier="sentry-dbid-7fe2e632-d4a6-4ba3-aec1-afa2b48699c5")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4959],{4754:(e,t,o)=>{o.d(t,{A:()=>f});var r=o(82644),a=o(33449),n=o(60846),s=o(41376),i=o(52761),l=o(4528),d=o(63349),u=o(19324),c=o(97360),m=o(42271);function f(e){let{type:t="modal",isDismissable:o}=e,{children:n,mobileType:i=t,hasCloseButton:l,isEmphasized:d,containFocus:f,isKeyboardDismissDisabled:g,hideArrow:b,targetRef:x,unsafeClassName:v,container:y,...C}=e;if(!Array.isArray(n)||n.length>2)throw Error("DialogTrigger must have exactly 2 children");let[w,j]=n;(0,r.o)()&&("modal"!==t&&"modal"===i&&(o=!0),t=i);let A=(0,m.T)(e),{close:E,isOpen:D}=A,P=(0,u.useRef)(!1);P.current=A.isOpen;let $=(0,u.useRef)(!1),I=()=>$.current=!0,z=()=>$.current=!1,N=(0,u.cloneElement)("function"==typeof j?j(E):j,{type:t}),Z=N.props.isEmphasized??d;return(0,u.useEffect)(()=>()=>{(P.current||$.current)&&"popover"!==t&&"tray"!==t&&console.warn("A DialogTrigger unmounted while open. This is likely due to being placed within a trigger that unmounts or inside a conditional. Consider using a DialogContainer instead.")},[]),"popover"===t?(0,c.jsx)(h,{...C,state:A,targetRef:x,trigger:w,content:N,hasCloseButton:l,isEmphasized:Z,isDismissable:o,containFocus:f,isKeyboardDismissDisabled:g,hideArrow:b,unsafeClassName:v,container:y}):(0,c.jsx)(p,{type:t,state:A,isDismissable:o,containFocus:f,hasCloseButton:l,trigger:w,overlay:(()=>{switch(t){case"fullscreen":case"fullscreenTakeover":case"modal":return(0,c.jsx)(a.A,{state:A,isOpen:D,isDismissable:"modal"===t&&o,type:t,isKeyboardDismissDisabled:g,onExiting:I,onExited:z,unsafeClassName:v,container:y,children:N});case"tray":return(0,c.jsx)(s.A,{state:A,isOpen:D,isKeyboardDismissDisabled:g,onExiting:I,onExited:z,container:y,children:N})}})()})}function h({state:e,targetRef:t,trigger:o,content:r,hideArrow:a,isDismissable:s,isEmphasized:i,hasCloseButton:d,unsafeClassName:m,container:f,...g}){let b=(0,u.useRef)(null),{triggerProps:x,overlayProps:v}=(0,l.o)({type:"dialog"},e,b);return(0,c.jsx)(p,{type:"popover",hasCloseButton:d,isEmphasized:i,isDismissable:s,state:e,triggerProps:{...x,ref:t?void 0:b},dialogProps:v,trigger:o,overlay:(0,c.jsx)(n.A,{...g,isDismissable:s,isEmphasized:i,triggerRef:t||b,hideArrow:a,unsafeClassName:m,state:e,container:f,children:r})})}function p({type:e,state:{close:t,isOpen:o,toggle:r},isDismissable:a,hasCloseButton:n,isEmphasized:s,containFocus:l,dialogProps:u={},triggerProps:m={},overlay:f,trigger:h}){let g={type:e,onClose:t,isDismissable:a,hasCloseButton:n,isEmphasized:s,containFocus:l,...u};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(d.Y,{...m,onPress:r,isPressed:o&&"modal"!==e&&"fullscreen"!==e&&"fullscreenTakeover"!==e,children:h}),(0,c.jsx)(i.M.Provider,{value:g,children:f})]})}},26957:(e,t,o)=>{o.d(t,{A:()=>d});var r=o(53773),a=o(52761),n=o(81509),s=o(19324),i=o(32508),l=o(97360),d=(0,s.forwardRef)(function(e,t){let o=(0,s.useContext)(a.M)||{},{children:d,hasHeroImage:u,...c}=e,m=(0,r.zD)(t),f=(0,s.useMemo)(()=>i(`
2    peer
3    shrink-0 overflow-hidden bg-surface-normal text-center
4    ${u?"":"border-border-default border-b p-4"}
5    ${"fullscreenTakeover"===o.type?"":"rounded-t-lg"}
6    `),[u,o.type]);return(0,l.jsx)("header",{...(0,n.$)(c),ref:m,className:f,children:d})})},33449:(e,t,o)=>{o.d(t,{A:()=>m});var r=o(53773),a=o(30933),n=o(59784),s=o(30127),i=o(22607),l=o(19324),d=o(16239),u=o(32508),c=o(97360),m=(0,l.forwardRef)(function(e,t){let{children:o,state:n,unsafeClassName:s,...i}=e,d=(0,r.zD)(t),u=(0,l.useRef)(null);return(0,c.jsx)(a.A,{...i,isOpen:n.isOpen,nodeRef:u,children:(0,c.jsx)(f,{...e,wrapperRef:u,ref:d,unsafeClassName:s,children:o})})}),f=(0,l.forwardRef)(function(e,t){let{children:o,isOpen:r,state:a,type:m,wrapperRef:f,unsafeClassName:h}=e,{modalProps:p,underlayProps:g}=(0,s.l)(e,a,t),b=(0,l.useMemo)(()=>(0,d.QP)(u(`
7      transition-opacity duration-200 ease-inOut
8      ${r?"opacity-100":"opacity-0"}
9      ${"fullscreen"===m?"fixed inset-8 min-w-none max-w-none":""}
10      ${"fullscreenTakeover"===m?"fixed inset-0 min-w-none max-w-none":"max-h-[calc(var(--visual-viewport-height)*0.9)]"}
11      `)),[r,m]),x=(0,l.useMemo)(()=>(0,d.QP)(u(`
12      fixed left-0 top-0 z-40 flex h-[var(--visual-viewport-height)] w-screen items-center justify-center overflow-y-auto
13      ${h||""}
14      `)),[h]),v={"--visual-viewport-height":`${(0,i.l)().height}px`};return(0,c.jsxs)("div",{ref:f,children:[(0,c.jsx)(n.B,{...g,isOpen:r}),(0,c.jsx)("div",{"data-name":"modal",className:x,style:v,children:(0,c.jsx)("div",{...p,ref:t,className:b,"data-testid":"modal",children:o})})]})})},43747:(e,t,o)=>{o.d(t,{A:()=>u});var r=o(53773),a=o(52761),n=o(81509),s=o(19324),i=o(16239),l=o(32508),d=o(97360),u=(0,s.forwardRef)(function(e,t){let o=(0,s.useContext)(a.M)||{},{children:u,placement:c="right",direction:m="row",unsafeClassName:f,...h}=e,p=(0,r.zD)(t),g=(0,s.useMemo)(()=>(0,i.QP)(l(`
15    flex shrink-0
16    ${"row"===m?"flex-row items-center gap-4 bg-background-secondary p-4":"flex-col items-stretch gap-2 bg-background-primary px-6 pt-4 pb-6"}
17    ${"center"===c?"justify-center":""}
18    ${"left"===c?"justify-start":""}
19    ${"right"===c?"justify-end":""}
20    ${"between"===c?"justify-between":""}
21    ${"fullscreenTakeover"===o.type?"":"rounded-b-lg"}
22    ${f??""}
23    `)),[c,m,o.type,f]);return(0,d.jsx)("footer",{...(0,n.$)(h),ref:p,className:g,children:u})})},52761:(e,t,o)=>{o.d(t,{M:()=>a,t:()=>n});var r=o(19324),a=r.createContext(null),n=r.createContext({hasFooter:!1})},71576:(e,t,o)=>{o.d(t,{A:()=>Z});var r=o(53773),a=o(69480),n=o(52761),s=o(98548),i=o(43747),l=o(26957),d={"ja-JP":{dismiss:"閉じる",zoomIn:"原寸で表示",zoomOut:"全体表示に戻す",prevImage:"前の画像",nextImage:"次の画像",imagePosition:"全{total}枚中{current}枚目"}},u=null;function c(e,t="assertive",o=7e3){(u||=new m).announce(e,t,o)}var m=class{node;assertiveLog;politeLog;constructor(){this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:1,whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node)}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&=(document.body.removeChild(this.node),null)}announce(e,t="assertive",o=7e3){if(!this.node)return;let r=document.createElement("div");r.textContent=e,"assertive"===t?this.assertiveLog.appendChild(r):this.politeLog.appendChild(r),""!==e&&setTimeout(()=>{r.remove()},o)}clear(e){this.node&&(e&&"assertive"!==e||(this.assertiveLog.innerHTML=""),e&&"polite"!==e||(this.politeLog.innerHTML=""))}},f=o(8448),h=o(75544),p=o(47279),g=o(64630),b=o(12274),x={"ja-JP":{imageChangedAnnouncement:"全{total}枚中{current}枚目。{alt}",zoomedInAnnouncement:"原寸で表示しています。スクロールで移動できます",zoomedOutAnnouncement:"全体表示に戻しました",imageScrollArea:"画像の表示領域"}},v=o(19324),y=o(81509),C=o(99976),w=o(92778),j=o(16239),A=o(32508),E=o(97360),D=o(1130),P=(0,v.forwardRef)(function(e,t){let{images:o,index:s,defaultIndex:i,onIndexChange:l,isZoomed:u,defaultZoomed:m,onZoomChange:P,isZoomDisabled:$,imageElementType:I,unsafeClassName:z,...N}=e,Z=(0,r.zD)(t),R=(0,v.useContext)(n.M),T=function(e){let{totalCount:t}=e,[o,r]=(0,D.P)(e.index,e.defaultIndex??0,t=>{void 0!==t&&e.onIndexChange?.(t)}),[a,n]=(0,D.P)(e.isZoomed,e.defaultZoomed??!1,t=>{void 0!==t&&e.onZoomChange?.(t)});return{index:o,totalCount:t,isZoomed:a,setIndex:function(e){r(Math.min(Math.max(e,0),Math.max(t-1,0)))},next:function(){t<=1||(r((o+1)%t),n(!1))},previous:function(){t<=1||(r((o-1+t)%t),n(!1))},setZoomed:n,toggleZoom:function(){n(!a)}}}({totalCount:o.length,index:s,defaultIndex:i,onIndexChange:l,isZoomed:u,defaultZoomed:m,onZoomChange:P}),M=o[T.index]??o[0],{scrollContainerRef:k,imageRef:L,scrollContainerProps:O,zoomButtonProps:B,imageProps:_,isZoomable:H}=function(e,t){let o=(0,v.useRef)(null),r=(0,v.useRef)(null),[a,n]=(0,v.useState)(!1),s=(0,f.o)(x),i=(0,p.J)(()=>{let e=o.current,t=r.current;
23e&&t&&n(t.naturalWidth>e.clientWidth||t.naturalHeight>e.clientHeight)}),l=(0,p.J)(()=>{let e=o.current;e&&(t.isZoomed?(e.scrollLeft=(e.scrollWidth-e.clientWidth)/2,e.scrollTop=(e.scrollHeight-e.clientHeight)/2):(e.scrollLeft=0,e.scrollTop=0))}),d=(0,p.J)(()=>{i(),l()});(0,g.w)({ref:o,onResize:d}),(0,v.useEffect)(()=>{i()},[t.index,i]);let u=(0,v.useRef)(!1);(0,b.$)({ref:r,isDisabled:!e.isDismissable,onInteractOutsideStart:e=>{u.current=e.target===o.current},onInteractOutside:t=>{let r=u.current&&t.target===o.current;u.current=!1,r&&e.onClose?.()}});let m=(0,p.J)(e=>{"ArrowLeft"===e.key&&t.previous(),"ArrowRight"===e.key&&t.next()});(0,v.useEffect)(()=>{if(!e.isKeyboardNavigationEnabled||t.isZoomed)return;let r=(0,h.TW)(o.current);return r.addEventListener("keydown",m,!0),()=>r.removeEventListener("keydown",m,!0)},[m,e.isKeyboardNavigationEnabled,t.isZoomed]),(0,v.useLayoutEffect)(()=>{l()},[t.index,t.isZoomed,l]);let y=(0,v.useRef)(t.index);(0,v.useEffect)(()=>{y.current!==t.index&&c(s.format("imageChangedAnnouncement",{current:`${t.index+1}`,total:`${t.totalCount}`,alt:e.currentAlt??""}),"polite"),y.current=t.index},[e.currentAlt,t.index,t.totalCount,s]);let C=(0,v.useRef)(t.isZoomed);return(0,v.useEffect)(()=>{C.current!==t.isZoomed&&c(s.format(t.isZoomed?"zoomedInAnnouncement":"zoomedOutAnnouncement"),"polite"),C.current=t.isZoomed},[t.isZoomed,s]),{scrollContainerRef:o,imageRef:r,scrollContainerProps:t.isZoomed?{tabIndex:0,role:"region","aria-label":s.format("imageScrollArea")}:{},zoomButtonProps:{isDisabled:e.isZoomDisabled||!a,onPress:t.toggleZoom},imageProps:{onLoad:d},isZoomable:a}}({isZoomDisabled:$,isKeyboardNavigationEnabled:o.length>1,currentAlt:M?.alt,isDismissable:R?.isDismissable,onClose:R?.onClose},T),F=(0,f.o)(d),K=(0,v.useMemo)(()=>(0,j.QP)(A(`
24          relative min-h-0 flex-1 bg-surface-image-overlay
25          ${"string"==typeof z?z:""}
26        `)),[z]);return(0,E.jsxs)("div",{...(0,y.$)(N),ref:Z,"data-name":"DialogImageBody",className:K,children:[(0,E.jsx)("div",{ref:k,...O,className:"absolute inset-0 flex overflow-auto overscroll-contain",children:M&&(0,E.jsx)(I??"img",{ref:L,..._,src:M.src,alt:M.alt,width:M.width,height:M.height,className:T.isZoomed?"m-auto block max-w-none":"m-auto h-auto max-h-full w-auto max-w-full object-contain"})}),H&&(0,E.jsx)("div",{className:"absolute right-4 bottom-4",children:(0,E.jsx)(a.A,{...B,variant:"onImage",size:"m",isCircle:!0,"aria-label":F.format(T.isZoomed?"zoomOut":"zoomIn"),children:T.isZoomed?(0,E.jsx)(w.enP,{"aria-label":F.format("zoomOut"),"aria-hidden":!0}):(0,E.jsx)(w.$Zd,{"aria-label":F.format("zoomIn"),"aria-hidden":!0})})}),o.length>1&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("div",{className:"absolute top-1/2 left-4 -translate-y-1/2",children:(0,E.jsx)(a.A,{variant:"onImage",size:"m",isCircle:!0,onPress:()=>T.previous(),"aria-label":F.format("prevImage"),children:(0,E.jsx)(w.JGc,{"aria-label":F.format("prevImage"),"aria-hidden":!0})})}),(0,E.jsx)("div",{className:"absolute top-1/2 right-4 -translate-y-1/2",children:(0,E.jsx)(a.A,{variant:"onImage",size:"m",isCircle:!0,onPress:()=>T.next(),"aria-label":F.format("nextImage"),children:(0,E.jsx)(w.c_$,{"aria-label":F.format("nextImage"),"aria-hidden":!0})})}),(0,E.jsxs)("p",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 rounded-full bg-surface-image-overlay px-3 py-1 text-sm text-text-invert",children:[(0,E.jsx)("span",{"aria-hidden":!0,children:`${T.index+1} / ${T.totalCount}`}),(0,E.jsx)(C.s,{elementType:"span",children:F.format("imagePosition",{current:`${T.index+1}`,total:`${T.totalCount}`})})]})]})]})}),$=o(79192),I=o(2877),z=o(54375),N=o(59999),Z=(0,v.forwardRef)(function(e,t){let o=(0,v.useContext)(n.M)||{},{children:u,hasCloseButton:c=o.hasCloseButton,onDismiss:m=o.onClose,size:h="s",type:p=o.type||"modal",unsafeClassName:g,isEmphasized:b=o.isEmphasized}=e,x=(0,f.o)(d),C=(0,r.zD)(t),{dialogProps:D,titleProps:Z}=function(e,t){let{role:o="dialog"}=e,r=(0,$.X1)();r=e["aria-label"]?void 0:r;let a=(0,v.useRef)(!1),n=(0,v.useRef)(!1);return(0,v.useEffect)(()=>{e["aria-label"]||e["aria-labelledby"]||r||n.current||(n.current=!0,
26console.warn("An aria-label or aria-labelledby prop is required for accessibility when a Dialog has no visible title (DialogHeader or slotTitle)."))},[r,e["aria-label"],e["aria-labelledby"]]),(0,v.useEffect)(()=>{if(!t.current||t.current.contains(document.activeElement))return()=>{};{(0,I.l)(t.current);let e=setTimeout(()=>{document.activeElement===t.current&&null!==t.current&&(a.current=!0,t.current.blur(),(0,I.l)(t.current),a.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),(0,z.Se)(),{dialogProps:{...(0,y.$)(e,{labelable:!0}),role:o,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||r,onBlur:e=>{a.current&&e.stopPropagation()}},titleProps:{id:r}}}((0,N.v)(o,e),C),R=(0,v.useMemo)(()=>(0,j.QP)(A(`
27      relative flex max-h-[inherit] flex-col outline-none md:mx-0 md:min-w-[10rem]
28      ${"popover"===p?"":"min-w-[calc(100vw-2rem)]"}
29      ${"modal"===p&&"s"===h?"md:w-[30rem]":""}
30      ${"modal"===p&&"m"===h?"md:w-[36.25rem]":""}
31      ${"modal"===p&&"l"===h?"md:w-[40rem]":""}
32      ${"popover"===p?"border border-border-default border-solid bg-surface-normal":""}
33      ${"popover"===p&&b?"bg-surface-primary text-text-invert":""}
34      ${["fullscreen","fullscreenTakeover"].includes(p)?"absolute inset-0":"popover"===p?"":"mx-4"}
35      ${"fullscreenTakeover"===p?"":"rounded-lg"}
36      ${g||""}
37    `)),[p,h,g,b]),T=(0,v.useMemo)(()=>A(`
38    absolute
39    ${"popover"===p?"top-1 right-1":"top-4 right-4"}
40    `),[p]),M=v.Children.toArray(u).find(e=>(0,v.isValidElement)(e)&&e.type===l.A),k=!!M,L=k&&!M?.props.hasHeroImage,O=v.Children.toArray(u).some(e=>(0,v.isValidElement)(e)&&e.type===i.A),B=v.Children.toArray(u).some(e=>(0,v.isValidElement)(e)&&e.type===P),_=v.Children.map(u,e=>(0,v.isValidElement)(e)?e.type===l.A?v.cloneElement(e,{id:L?Z.id:void 0}):e.type===s.A?v.cloneElement(e,{hasDialogHeader:k,slotTitleId:L?void 0:Z.id}):e:e),H=(0,v.useMemo)(()=>({hasFooter:O}),[O]);return(0,E.jsx)(n.t.Provider,{value:H,children:(0,E.jsxs)("section",{...D,className:R,ref:C,"data-name":"Dialog",children:[_,c&&(0,E.jsx)("div",{className:T,children:(0,E.jsx)(a.A,{onPress:m,variant:B?"onImage":b?"primary":"clickableIcon",size:"popover"===p?"m":"l","aria-label":x.format("dismiss"),children:(0,E.jsx)(w.bm,{"aria-label":""})})})]})})})},98548:(e,t,o)=>{o.d(t,{A:()=>u});var r=o(53773),a=o(52761),n=o(81509),s=o(19324),i=o(16239),l=o(32508),d=o(97360),u=(0,s.forwardRef)(function(e,t){let{children:o,slotTitle:u,slotText:c,slotTitleId:m,unsafeClassName:f,hasDialogHeader:h,...p}=e,g=(0,r.zD)(t),{hasFooter:b}=(0,s.useContext)(a.t),x=(0,s.useMemo)(()=>(0,i.QP)(l(`
41        min-h-32 flex-1 overflow-y-auto bg-background-primary p-4
42        ${h?"rounded-t-none":"rounded-t-lg"}
43        ${b?"rounded-b-none":"rounded-b-lg"}
44        ${"string"==typeof f?f:""}
45        `)),[f,b,h]);return(0,d.jsxs)("div",{...(0,n.$)(p),ref:g,className:x,children:[u&&(0,d.jsx)("h1",{id:m,className:"mb-2 text-center font-bold text-lg",children:u}),c&&(0,d.jsx)("div",{children:c}),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.