1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{92:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(9399)}])},184:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){l&&(l.removeAttribute?l.removeAttribute("aria-hidden"):null!=l.length?l.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(l).forEach(function(e){return e.removeAttribute("aria-hidden")})),l=null},t.log=function(){},t.assertNodeList=i,t.setElement=function(e){var t=e;if("string"==typeof t&&r.canUseDOM){var n=document.querySelectorAll(t);i(n,t),t=n}return l=t||l},t.validateElement=a,t.hide=function(e){var t=!0,n=!1,o=void 0;try{for(var r,l=a(e)[Symbol.iterator]();!(t=(r=l.next()).done);t=!0)r.value.setAttribute("aria-hidden","true")}catch(e){n=!0,o=e}finally{try{!t&&l.return&&l.return()}finally{if(n)throw o}}},t.show=function(e){var t=!0,n=!1,o=void 0;try{for(var r,l=a(e)[Symbol.iterator]();!(t=(r=l.next()).done);t=!0)r.value.removeAttribute("aria-hidden")}catch(e){n=!0,o=e}finally{try{!t&&l.return&&l.return()}finally{if(n)throw o}}},t.documentNotReadyOrSSRTesting=function(){l=null};var o=function(e){return e&&e.__esModule?e:{default:e}}(n(8547)),r=n(6078),l=null;function i(e,t){if(!e||!e.length)throw Error("react-modal: No elements were found for selector "+t+".")}function a(e){var t=e||l;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,o.default)(!1,"react-modal: App element is not defined. Please use `Modal.setAppElement(el)` or set `appElement={el}`. This is needed so screen readers don't see main content when modal is opened. It is not recommended, but you can opt-out by setting `ariaHideApp={false}`."),[])}},365:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[r,l],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}r=l=null,i=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(i.length);for(var e=[r,l],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var o=function(e){return e&&e.__esModule?e:{default:e}}(n(9020)),r=void 0,l=void 0,i=[];function a(){0!==i.length&&i[i.length-1].focusContent()}o.default.subscribe(function(e,t){r||l||((r=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),r.style.position="absolute",r.style.opacity="0",r.setAttribute("tabindex","0"),r.addEventListener("focus",a),(l=r.cloneNode()).addEventListener("focus",a)),(i=t).length>0?(document.body.firstChild!==r&&document.body.insertBefore(r,document.body.firstChild),document.body.lastChild!==l&&document.body.appendChild(l)):(r.parentElement&&r.parentElement.removeChild(r),l.parentElement&&l.parentElement.removeChild(l))})},1116:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e&&e.__esModule?e:{default:e}}(n(7514)).default,e.exports=t.default},1856:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=n(4232),a=g(n(5062)),s=m(n(6893)),u=g(n(4537)),c=m(n(184)),f=m(n(4270)),d=n(6078),p=g(d),h=g(n(9020));function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}n(365);var y={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,b=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,o=e.ariaHideApp,r=e.htmlOpenClassName,l=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;l&&f.remove(a.body,l),r&&f.remove(a.getElementsByTagName("html")[0],r),o&&v>0&&0==(v-=1)&&c.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(s.returnFocus(n.props.preventScroll),s.teardownScopedFocus()):s.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(s.setupScopedFocus(n.node),s.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){("Tab"===e.code||9===e.keyCode)&&(0,u.default)(n.content,e),n.props.shouldCloseOnEsc&&("Escape"===e.code||27===e.ke
1yCode)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var o=(void 0===t?"undefined":r(t))==="object"?t:{base:y[e],afterOpen:y[e]+"--after-open",beforeClose:y[e]+"--before-close"},l=o.base;return n.state.afterOpen&&(l=l+" "+o.afterOpen),n.state.beforeClose&&(l=l+" "+o.beforeClose),"string"==typeof t&&t?l+" "+t:l},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,o){return n[e+"-"+o]=t[o],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),l(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,o=e.htmlOpenClassName,r=e.bodyOpenClassName,l=e.parentSelector,i=l&&l().ownerDocument||document;r&&f.add(i.body,r),o&&f.add(i.getElementsByTagName("html")[0],o),n&&(v+=1,c.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,r=e.overlayClassName,l=e.defaultStyles,i=e.children,a=n?{}:l.content,s=r?{}:l.overlay;if(this.shouldBeClosed())return null;var u={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:o({},s,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=o({id:t,ref:this.setContentRef,style:o({},a,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",o({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),f=this.props.contentElement(c,i);return this.props.overlayElement(u,f)}}]),t}(i.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),parentSelector:a.default.func,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(p.default),a.default.instanceOf(d.SafeHTMLCollection),a.default.instanceOf(d.SafeNodeList),a.default.arrayOf(a.default.instanceOf(p.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},t.default=b,e.exports=t.default},2022:(e,t,n)=>{"use strict";n.d(t,{Ex:()=>i,Gi:()=>r,TR:()=>f,eH:()=>s,gf:()=>a,jL:()=>d,nr:()=>c,xm:()=>l});let o=["osu-denken.net","osu-denken.github.io"];function r(){return o.includes(window.location.hostname)?"https://api.osu-denken.net":"https://api.osudenken4dev.workers.dev"}let l=()=>localStorage.getItem("idToken");function i(e,t){localStorage.setItem("idToken",e),localStorage.setItem("refreshToken",t)}function a(){localStorage.removeItem("idToken"),localStorage.removeItem("refreshToken"),localStorage.removeItem("displayName")}async function s(){let e=localStorage.getItem("refreshToken");if(!e)return null;try{let t=await fetch("".concat(r(),"/user/refresh"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:e})}),n=await t.json();if(n.idToken&&n.refreshToken)return i(n.idToken,n.refreshToken),n.idToken;return("INVALID_REFRESH_TOKEN"===n.message||"TOKEN_EXPIRED"===n.message)&&a(),console.error("Failed to refresh token:",n),null}catch(e){return console.error("Error refreshing token:",e),null}}function u(e,t){let n=new Headers(e.headers);return e.body instanceof FormData||n.has("Content-Type")||n.set("Content-Type","application/json"),!1!==e.auth&&t&&n.set("Authorization","Bearer ".concat(t)),{...e,headers:n}}async function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=await fetch("".concat(r()).concat(e),u(t,l()));if(401!==n.status||!1===t.auth)return n;let o=await s();return o?await fetch("".concat(r()).concat(e),u(t,o)):n}async function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=await c(e,t);return await n.json()}function d(e){alert("ã»ãã·ã§ã³ã®æå¹æéãåãã¾ãããå度ãã°ã¤ã³ãã¦ãã ããã"),window.location.href="/?i=".concat(e,"#login")}},3408:(e,t,n)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),n(6201);let o=n(8637),r=n(9161),l=["-moz-initial","fill","none","scale-down",void 0];function i(e){return void 0!==e.default}function a(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var n,s;let u,c,f,{src:d,sizes:p,unoptimized:h=!1,priority:m=!1,loading:g,className:y,quality:v,width:b,height:w,fill:O=!1,style:x,overrideSrc:C,onLoad:j,onLoadingComplete:_,placeholder:S="empty",blurDataURL:E,fetchPriority:k,decoding:T="async",layout:P,objectFit:M,objectPosition:R,lazyBoundary:N,lazyRoot:F,...I}=e,{imgConf:A,showAltText:L,blurComplete:D,defaultLoader:U}=t,z=A||r.imageConfigDefault;if("allSizes"in z)u=z;else{let e=[...z.deviceSizes,...z.imageSizes].sort((e,t)=>e-t),t=z.deviceSizes.sort((e,t)=>e-t),o=null==(n=z.qualities)?void 0:n.sort((e,t)=>e-t);u={...z,allSizes:e,deviceSizes:t,qualities:o}}if(void 0===U)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let W=I.loader||U;delete I.loader,delete I.srcSet;let H="__next_img_default"in W;if(H){if("custom"===u.loader)throw Object.defineProperty(Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=W;W=t=>{let{config:n,...o}=t;return e(o)}}if(P){"fill"===P&&(O=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[P];e&&(x={...x,...e});let t={responsive:"100vw",fill:"100vw"}[P];t&&!p&&(p=t)}let q="",B=a(b),G=a(w);if((s=d)&&"object"==typeof s&&(i(s)||void 0!==s.src)){let e=i(d)?d.default:d;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(c=e.blurWidth,f=e.blurHeight,E=E||e.blurDataURL,q=e.src,!O)if(B||G){if(B&&!G){let t=B/e.width;G=Math.round(e.height*t)}else if(!B&&G){let t=G/e.height;B=Math.round(e.width*t)}}else B=e.width,G=e.height}let K=!m&&("lazy"===g||void 0===g);(!(d="string"==typeof d?d:q)||d.startsWith("data:")||d.startsWith("blob:"))&&(h=!0,K=!1),u.unoptimized&&(h=!0),H&&!u.dangerouslyAllowSVG&&d.split("?",1)[0].endsWith(".svg")&&(h=!0);let V=a(v),X=Object.assign(O?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:R}:{},L?{}:{color:"transparent"},x),$=D||"empty"===S?null:"blur"===S?'url("data:image/svg+xml;charset=utf-8,'+(0,o.getImageBlurSvg)({widthInt:B,heightInt:G,blurWidth:c,blurHeight:f,blurDataURL:E||"",objectFit:X.objectFit})+'")':'url("'+S+'")',J=l.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,Y=$?{backgroundSize:J,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:$}:{},Q=function(e){let{config:t,src:n,unoptimized:o,width:r,quality:l,sizes:i,loader:a}=e;if(o)return{src:n,srcSet:void 0,sizes:void 0};let{widths:s,kind:u}=function(e,t,n){let{deviceSizes:o,allSizes:r}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let o;o=e.exec(n);)t.push(parseInt(o[2]));if(t.length){let e=.01*Math.min(...t);return{widths:r.filter(t=>t>=o[0]*e),kind:"w"}}return{widths:r,kind:"w"}}return"number"!=typeof t?{widths:o,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>r.find(t=>t>=e)||r[r.length-1]))],kind:"x"}}(t,r,i),c=s.length-1;return{sizes:i||"w"!==u?i:"100vw",srcSet:s.map((e,o)=>a({config:t,src:n,quality:l,width:e})+" "+("w"===u?e:o+1)+u).join(", "),src:a({config:t,src:n,quality:l,width:s[c]})}}({config:u,src:d,unoptimized:h,width:B,quality:V,sizes:p,loader:W});return{props:{...I,loading:K?"lazy":g,fetchPriority:k,width:B,height:G,decoding:T,className:y,style:{...X,...Y},sizes:Q.sizes,srcSet:Q.srcSet,src:C||Q.src},meta:{unoptimized:h,priority:m,placeholder:S,fill:O}}}},3591:e=>{e.exports={nav:"Navbar_nav__1oBjZ",right:"Navbar_right__9X3d4"}}
1,3717:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},3786:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});let o=n(4232),r=n(3273),l="function"==typeof IntersectionObserver,i=new Map,a=[];function s(e){let{rootRef:t,rootMargin:n,disabled:s}=e,u=s||!l,[c,f]=(0,o.useState)(!1),d=(0,o.useRef)(null),p=(0,o.useCallback)(e=>{d.current=e},[]);return(0,o.useEffect)(()=>{if(l){if(u||c)return;let e=d.current;if(e&&e.tagName)return function(e,t,n){let{id:o,observer:r,elements:l}=function(e){let t,n={root:e.root||null,margin:e.rootMargin||""},o=a.find(e=>e.root===n.root&&e.margin===n.margin);if(o&&(t=i.get(o)))return t;let r=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=r.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:r},a.push(n),i.set(n,t),t}(n);return l.set(e,t),r.observe(e),function(){if(l.delete(e),r.unobserve(e),0===l.size){r.disconnect(),i.delete(o);let e=a.findIndex(e=>e.root===o.root&&e.margin===o.margin);e>-1&&a.splice(e,1)}}}(e,e=>e&&f(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,r.requestIdleCallback)(()=>f(!0));return()=>(0,r.cancelIdleCallback)(e)}},[u,n,t,c,d.current]),[p,c,(0,o.useCallback)(()=>{f(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4009:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return x},useLinkStatus:function(){return O}});let o=n(8365),r=n(7876),l=o._(n(4232)),i=n(4727),a=n(1623),s=n(170),u=n(464),c=n(125),f=n(242),d=n(3786),p=n(4327),h=n(9094),m=n(9203);n(5785);let g=new Set;function y(e,t,n,o){if((0,a.isLocalURL)(t)){if(!o.bypassPrefetchedCheck){let r=t+"%"+n+"%"+(void 0!==o.locale?o.locale:"locale"in e?e.locale:void 0);if(g.has(r))return;g.add(r)}e.prefetch(t,n,o).catch(e=>{})}}function v(e){return"string"==typeof e?e:(0,s.formatUrl)(e)}let b=l.default.forwardRef(function(e,t){let n,o,{href:s,as:g,children:b,prefetch:w=null,passHref:O,replace:x,shallow:C,scroll:j,locale:_,onClick:S,onNavigate:E,onMouseEnter:k,onTouchStart:T,legacyBehavior:P=!1,...M}=e;n=b,P&&("string"==typeof n||"number"==typeof n)&&(n=(0,r.jsx)("a",{children:n}));let R=l.default.useContext(f.RouterContext),N=!1!==w,{href:F,as:I}=l.default.useMemo(()=>{if(!R){let e=v(s);return{href:e,as:g?v(g):e}}let[e,t]=(0,i.resolveHref)(R,s,!0);return{href:e,as:g?(0,i.resolveHref)(R,g):t||e}},[R,s,g]),A=l.default.useRef(F),L=l.default.useRef(I);P&&(o=l.default.Children.only(n));let D=P?o&&"object"==typeof o&&o.ref:t,[U,z,W]=(0,d.useIntersection)({rootMargin:"200px"}),H=l.default.useCallback(e=>{(L.current!==I||A.current!==F)&&(W(),L.current=I,A.current=F),U(e)},[I,F,W,U]),q=(0,m.useMergedRef)(H,D);l.default.useEffect(()=>{R&&z&&N&&y(R,F,I,{locale:_})},[I,F,z,_,N,null==R?void 0:R.locale,R]);let B={ref:q,onClick(e){P||"function"!=typeof S||S(e),P&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(e),R&&(e.defaultPrevented||function(e,t,n,o,r,l,i,s,u){let{nodeName:c}=e.currentTarget;if(!("A"===c.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,a.isLocalURL)(n)){r&&(e.preventDefault(),location.replace(n));return}e.preventDefault(),(()=>{if(u){let e=!1;if(u({preventDefault:()=>{e=!0}}),e)return}let e=null==i||i;"beforePopState"in t?t[r?"replace":"push"](n,o,{shallow:l,locale:s,scroll:e}):t[r?"replace":"push"](o||n,{scroll:e})})()}}(e,R,F,I,x,C,j,_,E))},onMouseEnter(e){P||"function"!=typeof k||k(e),P&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),R&&y(R,F,I,{locale:_,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){P||"function"!=typeof T||T(e),P&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),R&&y(R,F,I,{locale:_,priority:!0,bypassPrefetchedCheck:!0})}};if((0,u.isAbsoluteUrl)(I))B.href=I;else if(!P||O||"a"===o.type&&!("href"in o.props)){let e=void 0!==_?_:null==R?void 0:R.locale;B.href=(null==R?void 0:R.isLocaleDomain)&&(0,p.getDomainLocale)(I,e,null==R?void 0:R.locales,null==R?void 0:R.domainLocales)||
1(0,h.addBasePath)((0,c.addLocale)(I,e,null==R?void 0:R.defaultLocale))}return P?l.default.cloneElement(o,B):(0,r.jsx)("a",{...M,...B,children:n})}),w=(0,l.createContext)({pending:!1}),O=()=>(0,l.useContext)(w),x=b;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4270:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)r(e,n[t]);var l=document.body;for(var i in o)r(l,o[i]);n={},o={}},t.log=function(){};var n={},o={};function r(e,t){e.classList.remove(t)}var l=function(e,t,n){n.forEach(function(n){t[n]||(t[n]=0),t[n]+=1,e.add(n)})},i=function(e,t,n){n.forEach(function(n){t[n]&&(t[n]-=1),0===t[n]&&e.remove(n)})};t.add=function(e,t){return l(e.classList,"html"==e.nodeName.toLowerCase()?n:o,t.split(" "))},t.remove=function(e,t){return i(e.classList,"html"==e.nodeName.toLowerCase()?n:o,t.split(" "))}},4327:(e,t,n)=>{"use strict";function o(e,t,n,o){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}}),n(9783),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4468:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return s},getImageProps:function(){return a}});let o=n(4252),r=n(3408),l=n(9420),i=o._(n(5540));function a(e){let{props:t}=(0,r.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let s=l.Image},4537:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);if(!n.length)return void t.preventDefault();var r=void 0,l=t.shiftKey,i=n[0],a=n[n.length-1],s=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return t.activeElement.shadowRoot?e(t.activeElement.shadowRoot):t.activeElement}();if(e===s){if(!l)return;r=a}if(a!==s||l||(r=i),i===s&&l&&(r=a),r){t.preventDefault(),r.focus();return}var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=u&&"Chrome"!=u[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var c=n.indexOf(s);if(c>-1&&(c+=l?-1:1),void 0===(r=n[c])){t.preventDefault(),(r=l?a:i).focus();return}t.preventDefault(),r.focus()}};var o=function(e){return e&&e.__esModule?e:{default:e}}(n(7289));e.exports=t.default},4587:(e,t,n)=>{e.exports=n(4468)},5062:(e,t,n)=>{e.exports=n(9706)()},5379:()=>{},5540:(e,t)=>{"use strict";function n(e){var t;let{config:n,src:o,width:r,quality:l}=e,i=l||(null==(t=n.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return n.path+"?url="+encodeURIComponent(o)+"&w="+r+"&q="+i+(o.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}}),n.__next_img_default=!0;let o=n},5785:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},6078:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var o=function(e){return e&&e.__esModule?e:{default:e}}(n(8755)).default,r=o.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=o.canUseDOM?window.NodeList:{},t.canUseDOM=o.canUseDOM,t.default=r},6893:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){r=[]},t.log=function(){},t.handleBlur=a,t.handleFocus=s,t.markForFocusLater=function(){r.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{0!==r.length&&(t=r.pop()).focus({preventScroll:e});return}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){r.length>0&&r.pop()},t.setupScopedFocus=function(e){l=e,window.addEventListener?(window.addEventListener("blur",a,!1),document.addEventListener("focus",s,!0)):(window.attachEvent("onBlur",a),document.attachEvent("onFocus",s))},t.teardownScopedFocus=function(){l=null,window.addEventListener?(window.removeEventListener("blur",a),document.removeEventListener("focus",s)):(window.detachEvent("onBlur",a),document.detachEvent("onFocus",s))};
1var o=function(e){return e&&e.__esModule?e:{default:e}}(n(7289)),r=[],l=null,i=!1;function a(){i=!0}function s(){i&&(i=!1,l&&setTimeout(function(){l.contains(document.activeElement)||((0,o.default)(l)[0]||l).focus()},0))}},7235:(e,t,n)=>{"use strict";function o(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function r(e){this.setState((function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}).bind(this))}function l(e,t){try{var n=this.props,o=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}function i(e){var t=e.prototype;if(!t||!t.isReactComponent)throw Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,i=null,a=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?i="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(i="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?a="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(a="UNSAFE_componentWillUpdate"),null!==n||null!==i||null!==a)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==i?"\n "+i:"")+(null!==a?"\n "+a:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=o,t.componentWillReceiveProps=r),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=l;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,o)}}return e}n.r(t),n.d(t,{polyfill:()=>i}),o.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,l.__suppressDeprecationWarning=!0},7289:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){return[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]).filter(o)};var n=/^(input|select|textarea|button|object|iframe)$/;function o(e){var t,o,r=e.getAttribute("tabindex");null===r&&(r=void 0);var l=isNaN(r);return(l||r>=0)&&(t=!l,o=e.nodeName.toLowerCase(),(n.test(o)&&!e.disabled||"a"===o&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),function(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n=window.getComputedStyle(e),o=n.getPropertyValue("display");return t?"contents"!==o&&("visible"!==n.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0):"none"===o}catch(e){return console.warn("Failed to inspect element style"),!1}}(t))return!1;t=t.parentNode}return!0}(e))}e.exports=t.default},7328:(e,t,n)=>{e.exports=n(9269)},7514:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),l=n(4232),i=h(l),a=h(n(8477)),s=h(n(5062)),u=h(n(1856)),c=function(e){if(e&&e.__esMo
1dule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(184)),f=n(6078),d=h(f),p=n(7235);function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var g=t.portalClassName="ReactModalPortal",y=t.bodyOpenClassName="ReactModal__Body--open",v=f.canUseDOM&&void 0!==a.default.createPortal,b=function(e){return document.createElement(e)},w=function(){return v?a.default.createPortal:a.default.unstable_renderSubtreeIntoContainer},O=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");for(var e,n,r,l=arguments.length,s=Array(l),c=0;c<l;c++)s[c]=arguments[c];return n=r=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(s))),r.removePortal=function(){v||a.default.unmountComponentAtNode(r.node);var e=(0,r.props.parentSelector)();e&&e.contains(r.node)?e.removeChild(r.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},r.portalRef=function(e){r.portal=e},r.renderPortal=function(e){var n=w()(r,i.default.createElement(u.default,o({defaultStyles:t.defaultStyles},e)),r.node);r.portalRef(n)},m(r,n)}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),r(t,[{key:"componentDidMount",value:function(){f.canUseDOM&&(v||(this.node=b("div")),this.node.className=this.props.portalClassName,(0,this.props.parentSelector)().appendChild(this.node),v||this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:(0,e.parentSelector)(),nextParent:(0,this.props.parentSelector)()}}},{key:"componentDidUpdate",value:function(e,t,n){if(f.canUseDOM){var o=this.props,r=o.isOpen,l=o.portalClassName;e.portalClassName!==l&&(this.node.className=l);var i=n.prevParent,a=n.nextParent;a!==i&&(i.removeChild(this.node),a.appendChild(this.node)),(e.isOpen||r)&&(v||this.renderPortal(this.props))}}},{key:"componentWillUnmount",value:function(){if(f.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return f.canUseDOM&&v?(!this.node&&v&&(this.node=b("div")),w()(i.default.createElement(u.default,o({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){c.setElement(e)}}]),t}(l.Component);O.propTypes={isOpen:s.default.bool.isRequired,style:s.default.shape({content:s.default.object,overlay:s.default.object}),portalClassName:s.default.string,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,className:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),overlayClassName:s.default.oneOfType([s.default.string,s.default.shape({base:s.default.string.isRequired,afterOpen:s.default.string.isRequired,beforeClose:s.default.string.isRequired})]),appElement:s.default.oneOfType([s.default.instanceOf(d.default),s.default.instanceOf(f.SafeHTMLCollection),s.default.instanceOf(f.SafeNodeList),s.default.arrayOf(s.default.instanceOf(d.default))]),onAfterOpen:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,ariaHideApp:s.default.bool,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,parentSelector:s.default.func,aria:s.default.object,data:s.default.object,role:s.default.string,contentLabel:s.default.string,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func},O.defaultProps={isOpen:!1,portalClassName:g,bodyOpenClassName:y,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return i.default.createElement("div",e,t)},contentElement:function(e,t){return i.default.createElement("div",e,t)}},O.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,p.polyfill)(O),t.default=O},8146:e=>{e.exports={footer:"Footer_footer__yl3k1",wrapper:"Footer_wrapper__rpDdF",footerHeading:"Footer_footerHeading__Kus_T",footerColWrapper:"Footer_footerColWrapper__wFb7C",footerCol:"Footer_footerCol__MP8dC",footerCol1:"Footer_footerCol1__JnLQU",footerCol2:"Footer_footerCol2__vnWQE",footerIcons:"Footer_footerIcons__XifSz",contactList:"Footer_contactList__7dmMG",socialMediaList:"Footer_socialMediaList__yuxpo",copyright:"Footer_copyright__g3z6w"}}
1,8199:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(7876),r=n(4232);let l="https://accounts.google.com/gsi/client",i=e=>{let{onCredential:t}=e,n=(0,r.useRef)(null),i=(0,r.useRef)(t);return i.current=t,(0,r.useEffect)(()=>{let e=!1;return new Promise((e,t)=>{var n,o;if(null==(o=window.google)||null==(n=o.accounts)?void 0:n.id)return e();let r=document.querySelector('script[src="'.concat(l,'"]'));if(r){r.addEventListener("load",()=>e()),r.addEventListener("error",()=>t(Error("Failed to load GIS")));return}let i=document.createElement("script");i.src=l,i.async=!0,i.defer=!0,i.onload=()=>e(),i.onerror=()=>t(Error("Failed to load GIS")),document.head.appendChild(i)}).then(()=>{if(e||!n.current)return;let t=window.google;t.accounts.id.initialize({client_id:"575820184924-ir57scvbmh2s9sn1vrno5dcu6cn9m58t.apps.googleusercontent.com",callback:e=>{e.credential&&i.current(e.credential)}}),t.accounts.id.renderButton(n.current,{theme:"outline",size:"large",type:"standard",text:"signin_with",locale:"ja"})}).catch(e=>console.error("Google Identity Services ã®èªã¿è¾¼ã¿ã«å¤±æ:",e)),()=>{e=!0}},[]),(0,o.jsx)("div",{ref:n})}},8230:(e,t,n)=>{e.exports=n(4009)},8547:e=>{"use strict";e.exports=function(){}},8594:(e,t,n)=>{"use strict";let o;n.d(t,{In:()=>er});var r,l=n(4232);let i=Object.freeze({left:0,top:0,width:16,height:16}),a=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),s=Object.freeze({...i,...a}),u=Object.freeze({...s,body:"",hidden:!1});function c(e,t){let n=function(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}(e,t);for(let o in u)o in a?o in e&&!(o in n)&&(n[o]=a[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function f(e,t){let n=[];if("object"!=typeof e||"object"!=typeof e.icons)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});let o=function(e,t){let n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);return Object.keys(n).concat(Object.keys(o)).forEach(function e(t){if(n[t])return r[t]=[];if(!(t in r)){r[t]=null;let n=o[t]&&o[t].parent,l=n&&e(n);l&&(r[t]=[n].concat(l))}return r[t]}),r}(e);for(let r in o){let l=o[r];l&&(t(r,function(e,t,n){let o=e.icons,r=e.aliases||Object.create(null),l={};function i(e){l=c(o[e]||r[e],l)}return i(t),n.forEach(i),c(e,l)}(e,r,l)),n.push(r))}return n}let d={provider:"",aliases:{},not_found:{},...i};function p(e,t){for(let n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function h(e){if("object"!=typeof e||null===e||"string"!=typeof e.prefix||!e.icons||"object"!=typeof e.icons||!p(e,d))return null;let t=e.icons;for(let e in t){let n=t[e];if(!e||"string"!=typeof n.body||!p(n,u))return null}let n=e.aliases||Object.create(null);for(let e in n){let o=n[e],r=o.parent;if(!e||"string"!=typeof r||!t[r]&&!n[r]||!p(o,u))return null}return e}let m=/^[a-z0-9]+(-[a-z0-9]+)*$/,g=(e,t,n,o="")=>{let r=e.split(":");if("@"===e.slice(0,1)){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){let e=r.pop(),n=r.pop(),l={provider:r.length>0?r[0]:o,prefix:n,name:e};return t&&!y(l)?null:l}let l=r[0],i=l.split("-");if(i.length>1){let e={provider:o,prefix:i.shift(),name:i.join("-")};return t&&!y(e)?null:e}if(n&&""===o){let e={provider:o,prefix:"",name:l};return t&&!y(e,n)?null:e}return null},y=(e,t)=>!!e&&!!((t&&""===e.prefix||e.prefix)&&e.name),v=Object.create(null);function b(e,t){let n=v[e]||(v[e]=Object.create(null));return n[t]||(n[t]={provider:e,prefix:t,icons:Object.create(null),missing:new Set})}function w(e,t){return h(t)?f(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}let O=!1;function x(e){return"boolean"==typeof e&&(O=e),O}function C(e){let t="string"==typeof e?g(e,!0,O):e;if(t){let e=b(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}let j=Object.freeze({width:null,height:null}),_=Object.freeze({...j,...a}),S=/(-?[0-9.]*[0-9]+[0-9.]*)/g,E=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function k(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;let o=e.split(S);if(null===o||!o.length)return e;let r=[],l=o.shift(),i=E.test(l);for(;;){if(i){let e=parseFloat(l);isNaN(e)?r.push(l):r.push(Math.ceil(e*t*n)/n)}else r.push(l);if(void 0===(l=o.shift()))return r.join("");i=!i}}let T=/\sid="(\S+)"/g,P="IconifyId"+Date.now().toString(16)+(0x1000000*Math.random()|0).toString(16),M=0,R=Object.create(null);function N(e){return R[e]||R[""]}function F(e){let t;if("string"==typeof e.resources)t=[e.resources];else if(!((t=e.resources)instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}let I=Object.create(null),A=["https://api.simplesvg.com","https://api.unisvg.com"],L=[];for(;A.length>0;)1===A.length||Math.random()>.5?L.push(A.shift()):L.push(A.pop());I[""]=F({resources:["https://api.iconify.design"].concat(L)});let D=(()=>{let e;try{if(e=fetch,"function"==typeof e)return e}catch(e){}})();
1function U(e,t){e.forEach(e=>{let n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}let z=0;var W={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function H(e){let t={...W,...e},n=[];function o(){n=n.filter(e=>"pending"===e().status)}return{query:function(e,r,l){let i=function(e,t,n,o){let r,l,i=e.resources.length,a=e.random?Math.floor(Math.random()*i):e.index;if(e.random){let t=e.resources.slice(0);for(r=[];t.length>1;){let e=Math.floor(Math.random()*t.length);r.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}r=r.concat(t)}else r=e.resources.slice(a).concat(e.resources.slice(0,a));let s=Date.now(),u="pending",c=0,f=null,d=[],p=[];function h(){f&&(clearTimeout(f),f=null)}function m(){"pending"===u&&(u="aborted"),h(),d.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),d=[]}function g(e,t){t&&(p=[]),"function"==typeof e&&p.push(e)}function y(){u="failed",p.forEach(e=>{e(void 0,l)})}function v(){d.forEach(e=>{"pending"===e.status&&(e.status="aborted")}),d=[]}return"function"==typeof o&&p.push(o),setTimeout(function o(){if("pending"!==u)return;h();let i=r.shift();if(void 0===i){if(d.length){f=setTimeout(()=>{h(),"pending"===u&&(v(),y())},e.timeout);return}y();return}let a={status:"pending",resource:i,callback:(t,n)=>{!function(t,n,i){let a="success"!==n;switch(d=d.filter(e=>e!==t),u){case"pending":break;case"failed":if(a||!e.dataAfterTimeout)return;break;default:return}if("abort"===n){l=i,y();return}if(a){l=i,d.length||(r.length?o():y());return}if(h(),v(),!e.random){let n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}u="completed",p.forEach(e=>{e(i)})}(a,t,n)}};d.push(a),c++,f=setTimeout(o,e.rotate),n(i,t,a.callback)}),function(){return{startTime:s,payload:t,status:u,queriesSent:c,queriesPending:d.length,subscribe:g,abort:m}}}(t,e,r,(e,t)=>{o(),l&&l(e,t)});return n.push(i),i},find:function(e){return n.find(t=>e(t))||null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:o}}let q=Object.create(null);function B(){}function G(e,t,n){function o(){let n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&"object"==typeof n)try{if(!w(e,n).length)return void o()}catch(e){console.error(e)}o(),e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;let t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1,o=e.provider,r=e.prefix;t.forEach(t=>{let l=t.icons,i=l.pending.length;l.pending=l.pending.filter(t=>{if(t.prefix!==r)return!0;let i=t.name;if(e.icons[i])l.loaded.push({provider:o,prefix:r,name:i});else{if(!e.missing.has(i))return n=!0,!0;l.missing.push({provider:o,prefix:r,name:i})}return!1}),l.pending.length!==i&&(n||U([e],t.id),t.callback(l.loaded.slice(0),l.missing.slice(0),l.pending.slice(0),t.abort))})}))}))}function K(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}let V=/[\s,]+/,X={..._,inline:!1},$={xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},J={display:"inline-block"},Y={backgroundColor:"currentColor"},Q={backgroundColor:"transparent"},Z={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ee={WebkitMask:Y,mask:Y,background:Q};for(let e in ee){let t=ee[e];for(let n in Z)t[e+n]=Z[n]}let et={...X,inline:!0};function en(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}if(x(!0),r={prepare:(e,t,n)=>{let o=[],r=function(e,t){let n,o=I[e];if(!o)return 0;if(o.maxURL){let e=0;o.resources.forEach(t=>{e=Math.max(e,t.length)}),n=o.maxURL-e-o.path.length-(t+".json?icons=").length}else n=0;return n}(e,t),l="icons",i={type:l,provider:e,prefix:t,icons:[]},a=0;return n.forEach((n,s)=>{(a+=n.length+1)>=r&&s>0&&(o.push(i),i={type:l,provider:e,prefix:t,icons:[]},a=n.length),i.icons.push(n)}),o.push(i),o},send:(e,t,n)=>{if(!D)return void n("abort",424);let o=function(e){if("string"==typeof e){let t=I[e];if(t)return t.path}return"/"}(t.provider);switch(t.type){case"icons":o+=t.prefix+".json?"+new URLSearchParams({icons:t.icons.join(",")}).toString();break;
1case"custom":{let e=t.uri;o+="/"===e.slice(0,1)?e.slice(1):e;break}default:n("abort",400);return}let r=503;D(e+o).then(e=>{let t=e.status;return 200!==t?void setTimeout(()=>{n(404===t?"abort":"next",t)}):(r=501,e.json())}).then(e=>{if("object"!=typeof e||null===e)return void setTimeout(()=>{404===e?n("abort",e):n("next",r)});setTimeout(()=>{n("success",e)})}).catch(()=>{n("next",r)})}},R[""]=r,"undefined"!=typeof document&&"undefined"!=typeof window){let e=window;if(void 0!==e.IconifyPreload){let t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"==typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach(e=>{try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!function(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),O&&!t&&!e.prefix){let t=!1;return h(e)&&(e.prefix="",f(e,(e,n)=>{(function(e,t){let n=g(e,!0,O);if(!n)return!1;let o=b(n.provider,n.prefix);if(!t)return o.missing.add(n.name),!0;var r=n.name;try{if("string"==typeof t.body)return o.icons[r]={...t},!0}catch(e){}return!1})(e,n)&&(t=!0)})),t}let n=e.prefix;return!!y({prefix:n,name:"a"})&&!!w(b(t,n),e)}(e))&&console.error(n)}catch(e){console.error(n)}})}if(void 0!==e.IconifyProviders){let t=e.IconifyProviders;if("object"==typeof t&&null!==t)for(let e in t){let n="IconifyProviders["+e+"] is invalid.";try{let o=t[e];if("object"!=typeof o||!o||void 0===o.resources)continue;!function(e,t){let n=F(t);return null!==n&&(I[e]=n,!0)}(e,o)&&console.error(n)}catch(e){console.error(n)}}}}function eo(e){let[t,n]=(0,l.useState)(!!e.ssr),[r,i]=(0,l.useState)({}),[a,u]=(0,l.useState)(function(t){if(t){let t=e.icon;if("object"==typeof t)return{name:"",data:t};let n=C(t);if(n)return{name:t,data:n}}return{name:""}}(!!e.ssr));function c(){let e=r.callback;e&&(e(),i({}))}function f(e){if(JSON.stringify(a)!==JSON.stringify(e))return c(),u(e),!0}(0,l.useEffect)(()=>(n(!0),c),[]),(0,l.useEffect)(()=>{t&&function t(){var n;let o=e.icon;if("object"==typeof o)return void f({name:"",data:o});let r=C(o);f({name:o,data:r})&&(void 0===r?i({callback:((e,t)=>{let n,o,r=function(e){let t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name));let o={provider:"",prefix:"",name:""};return e.forEach(e=>{if(o.name===e.name&&o.prefix===e.prefix&&o.provider===e.provider)return;o=e;let r=e.provider,l=e.prefix,i=e.name,a=n[r]||(n[r]=Object.create(null)),s=a[l]||(a[l]=b(r,l));(i in s.icons?t.loaded:""===l||s.missing.has(i)?t.missing:t.pending).push({provider:r,prefix:l,name:i})}),t}(function(e,t=!0,n=!1){let o=[];return e.forEach(e=>{let r="string"==typeof e?g(e,t,n):e;r&&o.push(r)}),o}(e,!0,x()));if(!r.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(r.loaded,r.missing,r.pending,B)}),()=>{e=!1}}let l=Object.create(null),i=[];return r.pending.forEach(e=>{let{provider:t,prefix:r}=e;if(r===o&&t===n)return;n=t,o=r,i.push(b(t,r));let a=l[t]||(l[t]=Object.create(null));a[r]||(a[r]=[])}),r.pending.forEach(e=>{let{provider:t,prefix:n,name:o}=e,r=b(t,n),i=r.pendingIcons||(r.pendingIcons=new Set);
1i.has(o)||(i.add(o),l[t][n].push(o))}),i.forEach(e=>{var t,n;let o=l[e.provider][e.prefix];o.length&&(t=e,n=o,t.iconsToLoad?t.iconsToLoad=t.iconsToLoad.concat(n).sort():t.iconsToLoad=n,t.iconsQueueFlag||(t.iconsQueueFlag=!0,setTimeout(()=>{t.iconsQueueFlag=!1;let{provider:e,prefix:n}=t,o=t.iconsToLoad;if(delete t.iconsToLoad,!o||!o.length)return;let r=t.loadIcon;if(t.loadIcons&&(o.length>1||!r))return void K(t.loadIcons(o,n,e),e=>{G(t,o,e)});if(r)return void o.forEach(o=>{K(r(o,n,e),e=>{let r=e?{prefix:n,icons:{[o]:e}}:null;G(t,[o],r)})});let{valid:l,invalid:i}=function(e){let t=[],n=[];return e.forEach(e=>{(e.match(m)?t:n).push(e)}),{valid:t,invalid:n}}(o);if(i.length&&G(t,i,null),!l.length)return;let a=n.match(m)?N(e):null;if(!a)return void G(t,l,null);a.prepare(e,n,l).forEach(n=>{!function(e,t,n){let o,r;if("string"==typeof e){let t=N(e);if(!t)return n(void 0,424);r=t.send;let l=function(e){if(!q[e]){let t=I[e];if(!t)return;let n=H(t);q[e]={config:t,redundancy:n}}return q[e]}(e);l&&(o=l.redundancy)}else{let t=F(e);if(t){o=H(t);let n=N(e.resources?e.resources[0]:"");n&&(r=n.send)}}o&&r?o.query(t,r,n)().abort:n(void 0,424)}(e,n,e=>{G(t,n.icons,e)})})})))}),t?function(e,t,n){let o=z++,r=U.bind(null,n,o);if(!t.pending.length)return r;let l={id:o,icons:t,callback:e,abort:r};return n.forEach(e=>{(e.loaderCallbacks||(e.loaderCallbacks=[])).push(l)}),r}(t,r,i):B})([o],t)}):r&&(null==(n=e.onLoad)||n.call(e,o)))}()},[e.icon,t]);let{name:d,data:p}=a;return p?((e,t,n)=>{let r=t.inline?et:X,i=function(e,t){let n={...e};for(let e in t){let o=t[e],r=typeof o;e in j?(null===o||o&&("string"===r||"number"===r))&&(n[e]=o):r===typeof n[e]&&(n[e]="rotate"===e?o%4:o)}return n}(r,t),a=t.mode||"svg",u={},c=t.style||{},f={..."svg"===a?$:{}};if(n){let e=g(n,!1,!0);if(e){let t=["iconify"];for(let n of["provider","prefix"])e[n]&&t.push("iconify--"+e[n]);f.className=t.join(" ")}}for(let e in t){let n=t[e];if(void 0!==n)switch(e){case"icon":case"style":case"children":case"onLoad":case"mode":case"ssr":break;case"_ref":f.ref=n;break;case"className":f[e]=(f[e]?f[e]+" ":"")+n;break;case"inline":case"hFlip":case"vFlip":i[e]=!0===n||"true"===n||1===n;break;case"flip":"string"==typeof n&&function(e,t){t.split(V).forEach(t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}})}(i,n);break;case"color":u.color=n;break;case"rotate":"string"==typeof n?i[e]=function(e,t=0){let n=e.replace(/^-?[0-9.]*/,"");function o(e){for(;e<0;)e+=4;return e%4}if(""===n){let t=parseInt(e);return isNaN(t)?0:o(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let r=parseFloat(e.slice(0,e.length-n.length));return isNaN(r)?0:(r/=t)%1==0?o(r):0}}return t}(n):"number"==typeof n&&(i[e]=n);break;case"ariaHidden":case"aria-hidden":!0!==n&&"true"!==n&&delete f["aria-hidden"];break;default:void 0===r[e]&&(f[e]=n)}}let d=function(e,t){let n,o,r={...s,...e},l={..._,...t},i={left:r.left,top:r.top,width:r.width,height:r.height},a=r.body;[r,l].forEach(e=>{let t,n=[],o=e.hFlip,r=e.vFlip,l=e.rotate;switch(o?r?l+=2:(n.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),n.push("scale(-1 1)"),i.top=i.left=0):r&&(n.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),n.push("scale(1 -1)"),i.top=i.left=0),l<0&&(l-=4*Math.floor(l/4)),l%=4){case 1:n.unshift("rotate(90 "+(t=i.height/2+i.top).toString()+" "+t.toString()+")");break;case 2:n.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:n.unshift("rotate(-90 "+(t=i.width/2+i.left).toString()+" "+t.toString()+")")}l%2==1&&(i.left!==i.top&&(t=i.left,i.left=i.top,i.top=t),i.width!==i.height&&(t=i.width,i.width=i.height,i.height=t)),n.length&&(a=function(e,t,n){var o,r;let l=function(e,t="defs"){let n="",o=e.indexOf("<"+t);for(;o>=0;){let r=e.indexOf(">",o),l=e.indexOf("</"+t);if(-1===r||-1===l)break;let i=e.indexOf(">",l);if(-1===i)break;n+=e.slice(r+1,l).trim(),e=e.slice(0,o).trim()+e.slice(i+1)}return{defs:n,content:e}}(e);return o=l.defs,r=t+l.content+n,o?"<defs>"+o+"</defs>"+r:r}(a,'<g transform="'+n.join(" ")+'">',"</g>"))});let u=l.width,c=l.height,f=i.width,d=i.height;null===u?n=k(o=null===c?"1em":"auto"===c?d:c,f/d):(n="auto"===u?f:u,o=null===c?k(n,d/f):"auto"===c?d:c);let p={},h=(e,t)=>{"unset"!==t&&"undefined"!==t&&"none"!==t&&(p[e]=t.toString())};h("width",n),h("height",o);let m=[i.left,i.top,f,d];return p.viewBox=m.join(" "),{attributes:p,viewBox:m,body:a}}(e,i),p=d.attributes;if(i.inline&&(u.verticalAlign="-0.125em"),"svg"===a){var h;f.style={...u,...c},Object.assign(f,p);let e=0,n=t.id;return"string"==typeof n&&(n=n.replace(/-/g,"_")),f.dangerouslySetInnerHTML={__html:(h=function(e,t=P){let n,o=[];for(;n=T.exec(e);)o.push(n[1]);if(!o.length)return e;let r="suffix"+(0x1000000*Math.random()|Date.now()).toString(16);return o.forEach(n=>{let o="function"==typeof t?t(n):t+(M++).toString(),l=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+o+r+"$3")}
1),e=e.replace(RegExp(r,"g"),"")}(d.body,n?()=>n+"ID"+e++:"iconifyReact"),void 0===o&&function(){try{o=window.trustedTypes.createPolicy("iconify",{createHTML:e=>e})}catch(e){o=null}}(),o?o.createHTML(h):h)},(0,l.createElement)("svg",f)}let{body:m,width:y,height:v}=e,b="mask"===a||"bg"!==a&&-1!==m.indexOf("currentColor"),w=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let e in t)n+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}(m,{...p,width:y+"",height:v+""});return f.style={...u,"--svg":'url("data:image/svg+xml,'+w.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")+'")',width:en(p.width),height:en(p.height),...J,...b?Y:Q,...c},(0,l.createElement)("span",f)})({...s,...p},e,d):e.children?e.children:e.fallback?e.fallback:(0,l.createElement)("span",{})}let er=(0,l.forwardRef)((e,t)=>eo({...e,_ref:t}));(0,l.forwardRef)((e,t)=>eo({inline:!0,...e,_ref:t}))},8637:(e,t)=>{"use strict";function n(e){let{widthInt:t,heightInt:n,blurWidth:o,blurHeight:r,blurDataURL:l,objectFit:i}=e,a=o?40*o:t,s=r?40*r:n,u=a&&s?"viewBox='0 0 "+a+" "+s+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+l+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},8755:(e,t,n)=>{var o;!function(){"use strict";var r=!!("undefined"!=typeof window&&window.document&&window.document.createElement),l={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!!(window.addEventListener||window.attachEvent),canUseViewport:r&&!!window.screen};void 0===(o=(function(){return l}).call(t,n,t,e))||(e.exports=o)}()},9020:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(o.openInstances.length),o.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},t.resetState=function(){o=new n};var n=function e(){var t=this;if(!(this instanceof e))throw TypeError("Cannot call a class as a function");this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},o=new n;t.default=o},9203:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return r}});let o=n(4232);function r(e,t){let n=(0,o.useRef)(null),r=(0,o.useRef)(null);return(0,o.useCallback)(o=>{if(null===o){let e=n.current;e&&(n.current=null,e());let t=r.current;t&&(r.current=null,t())}else e&&(n.current=l(e,o)),t&&(r.current=l(t,o))},[e,t])}function l(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9399:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>j});var o=n(7876);n(5379);var r=n(4587),l=n.n(r),i=n(3591),a=n.n(i),s=n(4232),u=n(8230),c=n.n(u),f=n(1116),d=n.n(f),p=n(2022),h=n(8199);let m={overlay:{position:"fixed",zIndex:10,top:0,left:0,backgroundColor:"rgba(0,0,0,0.25)"},content:{position:"relative",zIndex:10,maxWidth:"20rem",minWidth:"16rem",minHeight:"16rem",backgroundColor:"#111111bf",border:"1px solid #23df1e",boxShadow:"0 0 3px #23df1eaa,0 0 6px #23df1eaa",borderRadius:"1rem",padding:"1.5rem",textAlign:"center"}},g=e=>{let{isOpen:t,onClose:n,onLogin:r,onLoginWithGoogle:l,onSubmitTotp:i}
1=e,[a,u]=(0,s.useState)(""),[c,f]=(0,s.useState)(""),[p,g]=(0,s.useState)(""),[y,v]=(0,s.useState)(!1),[b,w]=(0,s.useState)(!1),O=async e=>{if(!b){w(!0);try{await l(e)==="mfa"&&v(!0)}finally{w(!1)}}},x=async e=>{if(e.preventDefault(),!b){w(!0);try{await r(a,c)==="mfa"&&v(!0)}finally{w(!1)}}},C=async e=>{if(e.preventDefault(),!b){w(!0);try{await i(p)==="error"&&v(!1),g("")}finally{w(!1)}}},j=()=>{v(!1),g(""),n()};return(0,o.jsxs)(d(),{isOpen:t,style:m,onRequestClose:j,className:"modalContent",overlayClassName:"modalOverlay",closeTimeoutMS:200,children:[(0,o.jsx)("button",{style:{position:"absolute",top:"0.5rem",right:"0.5rem",background:"transparent",border:"2px solid #23df1e",color:"#23df1e",fontSize:"1.5rem",width:"2rem",height:"2rem",borderRadius:"0.5rem",cursor:"pointer"},onClick:j,children:"\xd7"}),y?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h2",{children:"2段éèªè¨¼"}),(0,o.jsxs)("form",{method:"POST",children:[(0,o.jsx)("h3",{children:"èªè¨¼ã³ã¼ã"}),(0,o.jsx)("input",{type:"text",name:"one-time-code",inputMode:"numeric",autoComplete:"one-time-code",autoFocus:!0,value:p,onChange:e=>g(e.target.value)}),(0,o.jsx)("br",{}),(0,o.jsx)("input",{type:"submit",value:"èªè¨¼",disabled:b,onClick:C})]}),(0,o.jsxs)("p",{children:["èªè¨¼ã¢ããªã«è¡¨ç¤ºããã¦ãã6æ¡ã®ã³ã¼ããå
¥åãã¦ãã ããã",(0,o.jsx)("br",{}),"端æ«ãç´å¤±ããå ´åã¯ãªã«ããªã³ã¼ãã使ãã¾ãã"]})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("h2",{children:"ãã°ã¤ã³"}),(0,o.jsxs)("form",{method:"POST",children:[(0,o.jsx)("h3",{children:"å¦ç±çªå·"}),(0,o.jsx)("input",{type:"text",name:"username",value:a,onChange:e=>u(e.target.value)}),(0,o.jsx)("br",{}),(0,o.jsx)("h3",{children:"ãã¹ã¯ã¼ã"}),(0,o.jsx)("input",{type:"password",name:"password",value:c,onChange:e=>f(e.target.value)}),(0,o.jsx)("br",{}),(0,o.jsx)("input",{type:"submit",value:"ãã°ã¤ã³",disabled:b,onClick:x})]}),(0,o.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"0.5rem",margin:"1rem 0"},children:[(0,o.jsx)("span",{style:{color:"#aaa",fontSize:"0.85rem"},children:"ã¾ãã¯"}),(0,o.jsx)(h.A,{onCredential:O})]}),(0,o.jsx)("p",{children:"ãã°ã¤ã³ã¯å¤§ç£å¤§ã®é»ç é¨å¡ã®ã¿ãå¯è½ã¨ãªã£ã¦ããã¾ãã"})]})]})},y=()=>{let[e,t]=(0,s.useState)(!1),{isLoggedIn:n,userName:r,login:i,loginWithGoogle:u,submitTotp:f,logout:h}=(()=>{let[e,t]=(0,s.useState)(null),[n,o]=(0,s.useState)("");(0,s.useEffect)(()=>{(0,p.xm)()?(t(!0),o(localStorage.getItem("displayName")||"Unknown")):t(!1)},[]);let r=(0,s.useCallback)(()=>{(0,p.gf)(),window.location.reload()},[]),l=(0,s.useCallback)(()=>(0,p.eH)(),[]);(0,s.useEffect)(()=>{if(e){let e=setInterval(()=>{l()},33e5);return()=>clearInterval(e)}},[e,l]);let i=(0,s.useRef)(null),a=(0,s.useRef)(""),u=(e,t)=>fetch("".concat((0,p.Gi)()).concat(e),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),c=(e,t)=>{(0,p.Ex)(e.idToken,e.refreshToken),localStorage.setItem("displayName",((e,t)=>{if(e.displayName)return e.displayName;let n=t.indexOf("@");return -1!==n?t.substring(0,n):t})(e,t)),(()=>{let e=new URLSearchParams(window.location.search).get("i");if(e){window.location.href="/"+e;return}window.location.reload()})()},f=(0,s.useCallback)(async(e,t)=>{try{let n=await u("/user/login",{email:e,password:t}),o=await n.json();if(o.mfaRequired&&o.mfaPendingToken)return i.current=o.mfaPendingToken,a.current=e,"mfa";if(!o.idToken||!o.refreshToken){if(console.log(o),"INVALID_LOGIN_CREDENTIALS"===o.message)return alert("å¦ç±çªå·ã¾ãã¯ãã¹ã¯ã¼ããééã£ã¦ãã¾ãã"),"error";return alert("ãã°ã¤ã³å¤±æ: "+(o.message||"䏿ãªã¨ã©ã¼")),"error"}return c(o,e),"ok"}catch(e){return console.error("Error:",e),alert("ãã°ã¤ã³ä¸ã«ã¨ã©ã¼ãçºçãã¾ããã"),"error"}},[]),d=(0,s.useCallback)(async e=>{try{var t,n;let o=await u("/user/google",{credential:e}),r=await o.json();if(r.mfaRequired&&r.mfaPendingToken)return i.current=r.mfaPendingToken,a.current=null!=(t=r.email)?t:"","mfa";if(!r.idToken||!r.refreshToken)return alert("Google ãã°ã¤ã³ã«å¤±æãã¾ãã: "+(r.message||r.error||"䏿ãªã¨ã©ã¼")),"error";return c(r,null!=(n=r.email)?n:""),"ok"}catch(e){return console.error("Error:",e),alert("Google ãã°ã¤ã³ä¸ã«ã¨ã©ã¼ãçºçãã¾ããã"),"error"}},[]);return{isLoggedIn:e,userName:n,login:f,loginWithGoogle:d,submitTotp:(0,s.useCallback)(async e=>{if(!i.current)return alert("èªè¨¼ã»ãã·ã§ã³ãåãã¾ãããããä¸åº¦ãã°ã¤ã³ãã¦ãã ããã"),"error";try{let t=await u("/user/loginTotp",{mfaPendingToken:i.current,code:e}),n=await t.json();if(!n.idToken||!n.refreshToken){if("MFA_INVALID_CODE"===n.error)return alert("èªè¨¼ã³ã¼ããæ£ããããã¾ããã"),"mfa";return i.current=null,alert("MFA_TOO_MANY_ATTEMPTS"===n.error?"試è¡åæ°ãä¸éã«éãã¾ãããããä¸åº¦ãã°ã¤ã³ãã¦ãã ããã":"èªè¨¼ã»ãã·ã§ã³ãåãã¾ãããããä¸åº¦ãã°ã¤ã³ãã¦ãã ããã"),"error"}return c(n,a.current),"ok"}catch(e){return console.error("Error:",e),alert("èªè¨¼ä¸ã«ã¨ã©ã¼ãçºçãã¾ããã"),"error"}},[]),logout:r,refreshToken:l,getIdToken:(0,s.useCallback)(()=>(0,p.xm)(),[])}})();(0,s.useEffect)(()=>{let e=()=>{"#login"===window.location.hash&&t(!0)};return e(),window.addEventListener("hashchange",e,!1),()=>{window.removeEventListener("hashchange",e,!1)}},[]),(0,s.useEffect)(()=>{document.querySelector(".App")&&d().setAppElement(".App")},[]);let m=n?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("li",{className:a().right,children:(0,o.jsx)(c(),{href:"/portal/",children:r})}),(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:"#logout",onClick:e=>{e.preventDefault(),h()},children:"ãã°ã¢ã¦ã"})})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("li",{className:a().right,children:(0,o.jsx)(c(),{href:"/register/",children:"å
¥é¨"})}),(0,o.jsx)("li",{children:(0,o.jsx)("a",{href:"#login",children:"ãã°ã¤ã³"})})]});return(0,o.jsxs)("nav",{className:a().nav,children:[(0,o.jsxs)("ul",{children:[(0,o.jsx)("li",{children:(0,o.jsxs)("a",{href:"https://osu-denken.github.io",children:[(0,o.jsx)(l(),{src:"/icon.png",alt:"é»ç ãã´",width:30,height:30}),"é»ç "]})}),m]}),(0,o.jsx)(g,{isOpen:e,onClose:()=>{t(!1),history.replaceState(null,"",window.location.pathname+window.location.search)},onLogin:(e,t)=>i(e,t),onLoginWithGoogle:u,onSubmitTotp:f})]})};var v=n(8146),b=n.n(v),w=n(8594);let O=()=>(0,o.jsx)("footer",{className:b().footer,children:(0,o.jsxs)("div",{className:b().wrapper,children:[(0,o.jsx)("h2",{className:b().footerHeading,children:"é»ç å
¬å¼ãµã¤ã"}),(0,o.jsxs)("div",{className:b().footerColWrapper,children:[(0,o.jsx)("div",{className:"".concat(b().footerCol," ").concat(b().footerCol1),children:(0,o.jsx)("ul",{className:b().contactList,children:(0,o.jsxs)("li",{children:[(0,o.jsx)(c(),{href:"https://www.osaka-sandai.ac.jp/",target:"_blank",children:"大éªç£æ¥å¤§å¦"})," æåä¼ é»åè¨ç®ç ç©¶é¨"]})})}),(0,o.jsx)("div",{className:"".concat(b().footerCol," ").concat(b().footerCol2),children:(0,o.jsx)("p",{style:{marginTop:"-0.8em"},children:(0,o.jsx)("a",{href:"https://osu-denken.github.io/",children:(0,o.jsx)("img",{src:"/banner.png",width:"88",height:"31",alt:"é»ç ããã¼"})})})}),(0,o.jsxs)("div",{className:"".concat(b().footerCol," ").concat(b().footerCol2," ").concat(b().footerIcons),children:[(0,o.jsx)("a",{href:"/denken-pub.asc",title:"PGPå
¬ééµ","aria-label":"PGPå
¬ééµ",children:(0,o.jsx)(w.In,{icon:"fa6-solid:key"})}),(0,o.jsx)("a",{href:"/feed.xml",type:"application/rss+xml",title:"RSS","aria-label":"RSS",children:(0,o.jsx)(w.In,{icon:"fa6-solid:rss"})})]})]}),(0,o.jsx)("div",{className:b().copyright,children:"\xa9 2025-2026 Processing of Information Club at Osaka Sangyo University, Code: MIT License / Image: CC BY 4.0"})]})});var x=n(7328),C=n.n(x);let j=function(e){var t;let{Component:n,pageProps:r}=e;return(null!=(t=n.getLayout)?t:e=>(0,o.jsxs)("div",{className:"App",children:[(0,o.jsxs)(C(),{children:[(0,o.jsx)("title",{children:"大éªç£æ¥å¤§å¦ é»åè¨ç®ç ç©¶é¨"}),(0,o.jsx)("meta",{name:"description",content:"大éªç£æ¥å¤§å¦ é»åè¨ç®ç ç©¶é¨ã®å
¬å¼ãµã¤ããä½åãããã°ãæ´»åå
容ãç´¹ä»ãã¦ãã¾ãã"}),(0,o.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,o.jsx)("meta",{property:"og:site_name",content:"大éªç£æ¥å¤§å¦ é»åè¨ç®ç ç©¶é¨"}),(0,o.jsx)("meta",{property:"og:type",content:"website"}),(0,o.jsx)("meta",{property:"og:title",content:"大éªç£æ¥å¤§å¦ é»åè¨ç®ç ç©¶é¨"}),(0,o.jsx)("meta",{property:"og:description",content:"大éªç£æ¥å¤§å¦ é»åè¨ç®ç ç©¶é¨ã®å
¬å¼ãµã¤ããä½åãããã°ãæ´»åå
容ãç´¹ä»ãã¦ãã¾ãã"}),(0,o.jsx)("meta",{property:"og:url",content:"https://osu-denken.github.io/"}),(0,o.jsx)("meta",{property:"og:image",content:"https://osu-denken.github.io/icon.png"}),(0,o.jsx)("meta",{property:"og:locale",content:"ja_JP"}),(0,o.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,o.jsx)("meta",{name:"twitter:site",content:"@osu_denken"}),(0,o.jsx)("meta",{name:"twitter:title",content:"大éªç£æ¥å¤§å¦ é»åè¨ç®ç ç©¶é¨"}),(0,o.jsx)("meta",{name:"twitter:description",content:"大éªç£æ¥å¤§å¦ é»åè¨ç®ç ç©¶é¨ã®å
¬å¼ãµã¤ããä½åãããã°ãæ´»åå
容ãç´¹ä»ãã¦ãã¾ãã"}),(0,o.jsx)("meta",{name:"twitter:image",content:"https://osu-denken.github.io/icon.png"}),(0,o.jsx)("link",{rel:"alternate",type:"application/rss+xml",title:"大éªç£æ¥å¤§å¦ é»åè¨ç®ç ç©¶é¨ - ä½åä¸è¦§",href:"/feed.xml"}),(0,o.jsx)("link",{rel:"alternate",type:"application/rss+xml",title:"é
1»ç ããã°",href:"/blog/feed.xml"})]}),(0,o.jsx)(y,{}),e,(0,o.jsx)(O,{})]}))((0,o.jsx)(n,{...r}))}},9420:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});let o=n(4252),r=n(8365),l=n(7876),i=r._(n(4232)),a=o._(n(8477)),s=o._(n(9269)),u=n(3408),c=n(9161),f=n(9263);n(6201);let d=n(242),p=o._(n(5540)),h=n(9203),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(e,t,n,o,r,l,i){let a=null==e?void 0:e.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&r(!0),null==n?void 0:n.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let o=!1,r=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>o,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{o=!0,t.preventDefault()},stopPropagation:()=>{r=!0,t.stopPropagation()}})}(null==o?void 0:o.current)&&o.current(e)}}))}function y(e){return i.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,i.forwardRef)((e,t)=>{let{src:n,srcSet:o,sizes:r,height:a,width:s,decoding:u,className:c,style:f,fetchPriority:d,placeholder:p,loading:m,unoptimized:v,fill:b,onLoadRef:w,onLoadingCompleteRef:O,setBlurComplete:x,setShowAltText:C,sizesInput:j,onLoad:_,onError:S,...E}=e,k=(0,i.useCallback)(e=>{e&&(S&&(e.src=e.src),e.complete&&g(e,p,w,O,x,v,j))},[n,p,w,O,x,S,v,j]),T=(0,h.useMergedRef)(t,k);return(0,l.jsx)("img",{...E,...y(d),loading:m,width:s,height:a,decoding:u,"data-nimg":b?"fill":"1",className:c,style:f,sizes:r,srcSet:o,src:n,ref:T,onLoad:e=>{g(e.currentTarget,p,w,O,x,v,j)},onError:e=>{C(!0),"empty"!==p&&x(!0),S&&S(e)}})});function b(e){let{isAppRouter:t,imgAttributes:n}=e,o={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...y(n.fetchPriority)};return t&&a.default.preload?(a.default.preload(n.src,o),null):(0,l.jsx)(s.default,{children:(0,l.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...o},"__nimg-"+n.src+n.srcSet+n.sizes)})}let w=(0,i.forwardRef)((e,t)=>{let n=(0,i.useContext)(d.RouterContext),o=(0,i.useContext)(f.ImageConfigContext),r=(0,i.useMemo)(()=>{var e;let t=m||o||c.imageConfigDefault,n=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),r=t.deviceSizes.sort((e,t)=>e-t),l=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:n,deviceSizes:r,qualities:l}},[o]),{onLoad:a,onLoadingComplete:s}=e,h=(0,i.useRef)(a);(0,i.useEffect)(()=>{h.current=a},[a]);let g=(0,i.useRef)(s);(0,i.useEffect)(()=>{g.current=s},[s]);let[y,w]=(0,i.useState)(!1),[O,x]=(0,i.useState)(!1),{props:C,meta:j}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:r,blurComplete:y,showAltText:O});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v,{...C,unoptimized:j.unoptimized,placeholder:j.placeholder,fill:j.fill,onLoadRef:h,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:x,sizesInput:e.sizes,ref:t}),j.priority?(0,l.jsx)(b,{isAppRouter:!n,imgAttributes:C}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9706:(e,t,n)=>{"use strict";var o=n(3717);function r(){}function l(){}l.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,l,i){if(i!==o){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:l,resetWarningCache:r};return n.PropTypes=n,n}}},e=>{var t=t=>e(e.s=t);e.O(0,[593,792],()=>(t(92),t(6296))),_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.