PageSourceSearch

https://gurutto-chiba.vercel.app/_next/static/chunks/0lwcfz1.71d3q.js?dpl=dpl_8MurL7wut6z21LdPAqisgRifupDm

js gurutto-chiba.vercel.app collected 2026-10-03 07:02:40 UTC 56,464 bytes, 82 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,365521,e=>{"use strict";var t=e.i(843476);e.s(["default",0,function(){return(0,t.jsx)("span",{className:"c-btn__arrow","aria-hidden":"true",children:(0,t.jsxs)("svg",{className:"c-btn__arrow-icon",viewBox:"0 0 24 24",width:"100%",height:"100%",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"12",className:"c-btn__arrow-circle"}),(0,t.jsx)("path",{d:"M9.5 8.2 L16 12 L9.5 15.8 Z",className:"c-btn__arrow-triangle"})]})})}])},808341,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return l},requestIdleCallback:function(){return s}};for(var n in r)Object.defineProperty(a,n,{enumerable:!0,get:r[n]});let s="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)},l="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},479520,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={default:function(){return _},handleClientScriptLoad:function(){return g},initScriptLoader:function(){return b}};for(var n in r)Object.defineProperty(a,n,{enumerable:!0,get:r[n]});let s=e.r(555682),l=e.r(190809),i=e.r(843476),o=s._(e.r(174080)),c=l._(e.r(271645)),d=e.r(742732),u=e.r(922737),h=e.r(808341),m=new Map,p=new Set,f=e=>{let{src:t,id:a,onLoad:r=()=>{},onReady:n=null,dangerouslySetInnerHTML:s,children:l="",strategy:i="afterInteractive",onError:c,stylesheets:d}=e,h=a||t;if(h&&p.has(h))return;if(m.has(t)){p.add(h),m.get(t).then(r,c);return}let f=()=>{n&&n(),p.add(h)},g=document.createElement("script"),b=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),r&&r.call(this,t),f()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});s?(g.innerHTML=s.__html||"",f()):l?(g.textContent="string"==typeof l?l:Array.isArray(l)?l.join(""):"",f()):t&&(g.src=t,m.set(t,b)),(0,u.setAttributesFromProps)(g,e),"worker"===i&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",i),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 a=document.createElement("link");a.type="text/css",a.rel="stylesheet",a.href=e,t.appendChild(a)})}})(d),document.body.appendChild(g)};function g(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>f(e))}):f(e)}function b(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:a="",onLoad:r=()=>{},onReady:n=null,strategy:s="afterInteractive",onError:l,stylesheets:u,...m}=e,{updateScripts:g,scripts:b,getIsSsr:x,appDir:_,nonce:v}=(0,c.useContext)(d.HeadManagerContext);v=m.nonce||v;let y=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||a;y.current||(n&&e&&p.has(e)&&n(),y.current=!0)},[n,t,a]);let j=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!j.current){if("afterInteractive"===s)f(e);else"lazyOnload"===s&&("complete"===document.readyState?(0,h.requestIdleCallback)(()=>f(e)):window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>f(e))}));j.current=!0}},[e,s]),("beforeInteractive"===s||"worker"===s)&&(g?(b[s]=(b[s]||[]).concat([{id:t,src:a,onLoad:r,onReady:n,onError:l,...m,nonce:v}]),g(b)):x&&x()?p.add(t||a):x&&!x()&&f({...e,nonce:v})),_){if(u&&u.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===s)if(!a)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...m,id:t}])})`}});else return o.default.preload(a,m.integrity?{as:"script",integrity:m.integrity,nonce:v,crossOrigin:m.crossOrigin}:{as:"script",nonce:v,crossOrigin:m.crossOrigin}),(0,i.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([a,{...m,id:t}])})`}});"afterInteractive"===s&&a&&o.default.preload(a,m.integrity?{as:"script",integrity:m.integrity,nonce:v,crossOrigin:m.crossOrigin}:{as:"script",nonce:v,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(x,"__nextScript",{value:!0});let _=x;("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esMo
1dule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},291671,e=>{"use strict";var t=e.i(271645);e.s(["default",0,function(){return(0,t.useEffect)(()=>{function e(e){let t,a=e.target;a instanceof HTMLImageElement&&"1"!==a.dataset.fallbackApplied&&(t=a.currentSrc||a.src||"")&&(t.includes(".supabase.co/storage/")||t.includes("/_next/image?")||0)&&(a.dataset.fallbackApplied="1",a.srcset&&a.removeAttribute("srcset"),a.sizes&&a.removeAttribute("sizes"),a.src="/images/no-image.png")}return document.addEventListener("error",e,!0),()=>document.removeEventListener("error",e,!0)},[]),null}])},911242,e=>{"use strict";var t=e.i(271645);let a=".tiptap-gallery--carousel",r="data-carousel-ready";e.s(["default",0,function(){return(0,t.useEffect)(()=>{let e=[],t=t=>{if(t.hasAttribute(r))return;let a=Array.from(t.children);if(a.length<2)return;t.setAttribute(r,"");let n=document.createElement("div");n.className="tiptap-carousel-shell",t.parentNode?.insertBefore(n,t),n.appendChild(t);let s=e=>{let r=document.createElement("button");return r.type="button",r.className=`tiptap-carousel-nav tiptap-carousel-nav--${e}`,r.setAttribute("aria-label","prev"===e?"前へ":"次へ"),r.innerHTML='<svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round">'+("prev"===e?'<polyline points="15 5 8 12 15 19"/>':'<polyline points="9 5 16 12 9 19"/>')+"</svg>",r.addEventListener("click",()=>{let r=a[0].getBoundingClientRect().width+l(),n=t.scrollWidth-t.clientWidth,s="next"===e?t.scrollLeft>=n-4?0:t.scrollLeft+r:t.scrollLeft<=4?n:t.scrollLeft-r;t.scrollTo({left:s,behavior:"smooth"})}),r},l=()=>parseFloat(getComputedStyle(t).columnGap||"0")||0;n.appendChild(s("prev")),n.appendChild(s("next"));let i=document.createElement("div");i.className="tiptap-carousel-dots",a.forEach((e,r)=>{let n=document.createElement("button");n.type="button",n.setAttribute("aria-label",`${r+1}枚目を表示`),n.addEventListener("click",()=>{t.scrollTo({left:r*(a[0].getBoundingClientRect().width+l()),behavior:"smooth"})}),i.appendChild(n)}),n.appendChild(i);let o=()=>{let e=a[0].getBoundingClientRect().width+l(),r=e>0?Math.round(t.scrollLeft/e):0;Array.from(i.children).forEach((e,t)=>e.classList.toggle("is-on",t===r))};o(),t.addEventListener("scroll",o,{passive:!0}),window.addEventListener("resize",o),e.push(()=>{t.removeEventListener("scroll",o),window.removeEventListener("resize",o)})};document.querySelectorAll(a).forEach(t);let n=new MutationObserver(()=>{document.querySelectorAll(a).forEach(t)});return n.observe(document.body,{childList:!0,subtree:!0}),e.push(()=>n.disconnect()),()=>e.forEach(e=>e())},[]),null}])},909156,(e,t,a)=>{"use strict";let r;Object.defineProperty(a,"__esModule",{value:!0}),a.parseCookie=u,a.parse=u,a.stringifyCookie=function(e,t){let a=t?.encode||encodeURIComponent,r=[];for(let t of Object.keys(e)){let l=e[t];if(void 0===l)continue;if(!n.test(t))throw TypeError(`cookie name is invalid: ${t}`);let i=a(l);if(!s.test(i))throw TypeError(`cookie val is invalid: ${l}`);r.push(`${t}=${i}`)}return r.join("; ")},a.stringifySetCookie=h,a.serialize=h,a.parseSetCookie=function(e,t){let a=t?.decode||g,r=e.length,n=m(e,0,r),s=p(e,0,n),l=-1===s?{name:"",value:a(f(e,0,n))}:{name:f(e,0,s),value:a(f(e,s+1,n))},i=n+1;for(;i<r;){let t=m(e,i,r),a=p(e,i,t),n=-1===a?f(e,i,t):f(e,i,a),s=-1===a?void 0:f(e,a+1,t);switch(n.toLowerCase()){case"httponly":l.httpOnly=!0;break;case"secure":l.secure=!0;break;case"partitioned":l.partitioned=!0;break;case"domain":l.domain=s;break;case"path":l.path=s;break;case"max-age":s&&o.test(s)&&(l.maxAge=Number(s));break;case"expires":if(!s)break;let c=new Date(s);Number.isFinite(c.valueOf())&&(l.expires=c);break;case"priority":if(!s)break;let d=s.toLowerCase();("low"===d||"medium"===d||"high"===d)&&(l.priority=d);break;case"samesite":if(!s)break;let u=s.toLowerCase();("lax"===u||"strict"===u||"none"===u)&&(l.sameSite=u)}i=t+1}return l},a.stringifySetCookie=h,a.serialize=h;let n=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,s=/^[\u0021-\u003A\u003C-\u007E]*$/,l=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,i=/^[\u0020-\u003A\u003D-\u007E]*$/,o=/^-?\d+$/,c=Object.prototype.toString,d=((r=function(){}).prototype=Object.create(null),r);function u(e,t){let a=new d,r=e.length;if(r<2)return a;let n=t?.decode||g,s=0;do{let t=p(e,s,r);if(-1===t)break;let l=m(e,s,r);if(t>l){s=e.lastIndexOf(";",t-1)+1;continue}let i=f(e,s,t);void 0===a[i]&&(a[i]=n(f(e,t+1,l))),s=l+1}while(s<r)return a}function h(e,t,a){let r="object"==typeof e?e:{...a,name:e,value:String(t)},o=("object"==typeof t?t:a)?.encode||encodeURIComponent;
1if(!n.test(r.name))throw TypeError(`argument name is invalid: ${r.name}`);let d=r.value?o(r.value):"";if(!s.test(d))throw TypeError(`argument val is invalid: ${r.value}`);let u=r.name+"="+d;if(void 0!==r.maxAge){if(!Number.isInteger(r.maxAge))throw TypeError(`option maxAge is invalid: ${r.maxAge}`);u+="; Max-Age="+r.maxAge}if(r.domain){if(!l.test(r.domain))throw TypeError(`option domain is invalid: ${r.domain}`);u+="; Domain="+r.domain}if(r.path){if(!i.test(r.path))throw TypeError(`option path is invalid: ${r.path}`);u+="; Path="+r.path}if(r.expires){var h;if(h=r.expires,"[object Date]"!==c.call(h)||!Number.isFinite(r.expires.valueOf()))throw TypeError(`option expires is invalid: ${r.expires}`);u+="; Expires="+r.expires.toUTCString()}if(r.httpOnly&&(u+="; HttpOnly"),r.secure&&(u+="; Secure"),r.partitioned&&(u+="; Partitioned"),r.priority)switch("string"==typeof r.priority?r.priority.toLowerCase():void 0){case"low":u+="; Priority=Low";break;case"medium":u+="; Priority=Medium";break;case"high":u+="; Priority=High";break;
1default:throw TypeError(`option priority is invalid: ${r.priority}`)}if(r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:case"strict":u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"none":u+="; SameSite=None";break;default:throw TypeError(`option sameSite is invalid: ${r.sameSite}`)}return u}function m(e,t,a){let r=e.indexOf(";",t);return -1===r?a:r}function p(e,t,a){let r=e.indexOf("=",t);return r<a?r:-1}function f(e,t,a){let r=t,n=a;do{let t=e.charCodeAt(r);if(32!==t&&9!==t)break}while(++r<n)for(;n>r;){let t=e.charCodeAt(n-1);if(32!==t&&9!==t)break;n--}return e.slice(r,n)}function g(e){if(-1===e.indexOf("%"))return e;try{return decodeURIComponent(e)}catch(t){return e}}},845874,e=>{"use strict";let t;var a=e.i(247167),r=e.i(988715),n=e.i(909156);function s(){return"u">typeof window&&void 0!==window.document}n.parse,n.serialize;let l={path:"/",sameSite:"lax",httpOnly:!1,maxAge:3456e4},i=/^(.*)[.](0|[1-9][0-9]*)$/;function o(e,t){if(e===t)return!0;let a=e.match(i);return!!a&&a[1]===t}function c(e,t,a){let r=a??3180,n=encodeURIComponent(t);if(n.length<=r)return[{name:e,value:t}];let s=[];for(;n.length>0;){let e=n.slice(0,r),t=e.lastIndexOf("%");t>r-3&&(e=e.slice(0,t));let a="";for(;e.length>0;)try{a=decodeURIComponent(e);break}catch(t){if(t instanceof URIError&&"%"===e.at(-3)&&e.length>3)e=e.slice(0,e.length-3);else throw t}s.push(a),n=n.slice(e.length)}return s.map((t,a)=>({name:`${e}.${a}`,value:t}))}async function d(e,t){let a=await t(e);if(a)return a;let r=[];for(let a=0;;a++){let n=`${e}.${a}`,s=await t(n);if(!s)break;r.push(s)}return r.length>0?r.join(""):null}let u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),h=" 	\n\r=".split(""),m=(()=>{let e=Array(128);for(let t=0;t<e.length;t+=1)e[t]=-1;for(let t=0;t<h.length;t+=1)e[h[t].charCodeAt(0)]=-2;for(let t=0;t<u.length;t+=1)e[u[t].charCodeAt(0)]=t;return e})();function p(e){let t=[],a=0,r=0;if(function(e,t){for(let a=0;a<e.length;a+=1){let r=e.charCodeAt(a);if(r>55295&&r<=56319){let t=(r-55296)*1024&65535;r=(e.charCodeAt(a+1)-56320&65535|t)+65536,a+=1}!function(e,t){if(e<=127)return t(e);if(e<=2047){t(192|e>>6),t(128|63&e);return}if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|63&e);return}if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|63&e);return}throw Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}(r,t)}}(e,e=>{for(a=a<<8|e,r+=8;r>=6;){let e=a>>r-6&63;t.push(u[e]),r-=6}}),r>0)for(a<<=6-r,r=6;r>=6;){let e=a>>r-6&63;t.push(u[e]),r-=6}return t.join("")}let f="base64-";function g(e){let t;if(!e.startsWith(f))return e;try{t=function(e){let t=[],a=e=>{t.push(String.fromCodePoint(e))},r={utf8seq:0,codepoint:0},n=0,s=0;for(let t=0;t<e.length;t+=1){let l=m[e.charCodeAt(t)];if(l>-1)for(n=n<<6|l,s+=6;s>=8;)(function(e,t,a){if(0===t.utf8seq){if(e<=127)return a(e);for(let a=1;a<6;a+=1)if((e>>7-a&1)==0){t.utf8seq=a;break}if(2===t.utf8seq)t.codepoint=31&e;else if(3===t.utf8seq)t.codepoint=15&e;else if(4===t.utf8seq)t.codepoint=7&e;else throw Error("Invalid UTF-8 sequence");t.utf8seq-=1}else if(t.utf8seq>0){if(e<=127)throw Error("Invalid UTF-8 sequence");t.codepoint=t.codepoint<<6|63&e,t.utf8seq-=1,0===t.utf8seq&&a(t.codepoint)}})(n>>s-8&255,r,a),s-=8;else if(-2===l)continue;else throw Error(`Invalid Base64-URL character "${e.at(t)}" at position ${t}`)}return t.join("")}(e.substring(f.length))}catch(e){return console.warn("@supabase/ssr: could not base64url-decode chunked cookie value, treating as absent. Cookie chunks may have been written partially across responses.",e),null}try{JSON.parse(t)}catch{return console.warn("@supabase/ssr: chunked cookie decoded to invalid JSON, treating as absent. This usually indicates that cookie chunks from different writes were combined (e.g. response committed before all Set-Cookie headers were sent)."),null}return t}async function b({getAll:e,setAll:t,setItems:a,removedItems:r},n){let s=n.cookieEncoding,i=n.cookieOptions??null,d=await e([...a?Object.keys(a):[],...r?Object.keys(r):[]]),u=d?.map(({name:e})=>e)||[],h=Object.keys(r).flatMap(e=>u.filter(t=>o(t,e))),m=Object.keys(a).flatMap(e=>{let t=new Set(u.filter(t=>
1o(t,e))),r=a[e];"base64url"===s&&(r=f+p(r));let n=c(e,r);return n.forEach(e=>{t.delete(e.name)}),h.push(...t),n}),g={...l,...i,maxAge:0},x={...l,...i,maxAge:l.maxAge};delete g.name,delete x.name,await t([...h.map(e=>({name:e,value:"",options:g})),...m.map(({name:e,value:t})=>({name:e,value:t,options:x}))],{"Cache-Control":"private, no-cache, no-store, must-revalidate, max-age=0",Expires:"0",Pragma:"no-cache"})}let x=!1,_=["@supabase/auth-helpers-nextjs","@supabase/auth-helpers-react","@supabase/auth-helpers-remix","@supabase/auth-helpers-sveltekit"],v=null;e.s(["getBrowserSupabase",0,function(){return v||(v=function(e,i){!function(){if(x||void 0===a.default||!a.default.env?.npm_package_name)return;let e=a.default.env.npm_package_name;_.includes(e)&&(x=!0,console.warn(`
2╔════════════════════════════════════════════════════════════════════════════╗
3║ ⚠️  IMPORTANT: Package Consolidation Notice                                ║
4║                                                                            ║
5║ The ${e.padEnd(35)} package name is deprecated.  ║
6║                                                                            ║
7║ You are now using @supabase/ssr - a unified solution for all frameworks.  ║
8║                                                                            ║
9║ The auth-helpers packages have been consolidated into @supabase/ssr       ║
10║ to provide better maintenance and consistent APIs across frameworks.      ║
11║                                                                            ║
12║ Please update your package.json to use @supabase/ssr directly:            ║
13║   npm uninstall ${e.padEnd(42)} ║
14║   npm install @supabase/ssr                                               ║
15║                                                                            ║
16║ For more information, visit:                                              ║
17║ https://supabase.com/docs/guides/auth/server-side                         ║
18╚════════════════════════════════════════════════════════════════════════════╝
19    `))}();let u=s();if(u&&t)return t;if(!e||!i)throw Error(`@supabase/ssr: Your project's URL and API key are required to create a Supabase client!
20
21Check your Supabase project's API settings to find these values
22
23https://supabase.com/dashboard/project/_/settings/api`);let{storage:h}=function(e,t){let a,r,i=e.cookies??null,u=e.cookieEncoding,h={},m={},x=()=>{let e=(0,n.parse)(document.cookie);return Object.keys(e).map(t=>({name:t,value:e[t]??""}))},_=e=>{e.forEach(({name:e,value:t,options:a})=>{document.cookie=(0,n.serialize)(e,t,a)})};if(i)if("get"in i){let e=async e=>{let t=e.flatMap(e=>[e,...Array.from({length:5}).map((t,a)=>`${e}.${a}`)]),a=[];for(let e=0;e<t.length;e+=1){let r=await i.get(t[e]);(r||"string"==typeof r)&&a.push({name:t[e],value:r})}return a};if(a=async t=>await e(t),"set"in i&&"remove"in i)r=async e=>{for(let t=0;t<e.length;t+=1){let{name:a,value:r,options:n}=e[t];r?await i.set(a,r,n):await i.remove(a,n)}};else if(t)r=async()=>{console.warn("@supabase/ssr: createServerClient was configured without set and remove cookie methods, but the client needs to set cookies. This can lead to issues such as random logouts, early session termination or increased token refresh requests. If in NextJS, check your middleware.ts file, route handlers and server actions for correctness. Consider switching to the getAll and setAll cookie methods instead of get, set and remove which are deprecated and can be difficult to use correctly.")};else throw Error("@supabase/ssr: createBrowserClient requires configuring a getAll and setAll cookie method (deprecated: alternatively both get, set and remove can be used)")}else if("getAll"in i)if(a=async()=>await i.getAll(),"setAll"in i)r=i.setAll;else if(t)r=async()=>{console.warn("@supabase/ssr: createServerClient was configured without the setAll cookie method, but the client needs to set cookies. This can lead to issues such as random logouts, early session termination or increased token refresh requests. If in NextJS, check your middleware.ts file, route handlers and server actions for c
23orrectness.")};else throw Error("@supabase/ssr: createBrowserClient requires configuring both getAll and setAll cookie methods (deprecated: alternatively both get, set and remove can be used)");else if(!t&&s())a=()=>x(),r=_;else throw Error(`@supabase/ssr: ${t?"createServerClient":"createBrowserClient"} requires configuring getAll and setAll cookie methods (deprecated: alternatively use get, set and remove).${s()?" As this is called in a browser runtime, consider removing the cookies option object to use the document.cookie API automatically.":""}`);else if(!t&&s())a=()=>x(),r=_;else if(t)throw Error("@supabase/ssr: createServerClient must be initialized with cookie options that specify getAll and setAll functions (deprecated, not recommended: alternatively use get, set and remove)");else a=()=>[],r=()=>{throw Error("@supabase/ssr: createBrowserClient in non-browser runtimes (including Next.js pre-rendering mode) was not initialized cookie options that specify getAll and setAll functions (deprecated: alternatively use get, set and remove), but they were needed")};return t?{getAll:a,setAll:r,setItems:h,removedItems:m,storage:{isServer:!0,getItem:async e=>{if("string"==typeof h[e])return h[e];if(m[e])return null;let t=await a([e]),r=await d(e,async e=>{let a=t?.find(({name:t})=>t===e)||null;return a?a.value:null});return r?"string"!=typeof r?r:g(r):null},setItem:async(t,n)=>{t.endsWith("-code-verifier")&&await b({getAll:a,setAll:r,setItems:{[t]:n},removedItems:{}},{cookieOptions:e?.cookieOptions??null,cookieEncoding:u}),h[t]=n,delete m[t]},removeItem:async e=>{delete h[e],m[e]=!0}}}:{getAll:a,setAll:r,setItems:h,removedItems:m,storage:{isServer:!1,getItem:async e=>{let t=await a([e]),r=await d(e,async e=>{let a=t?.find(({name:t})=>t===e)||null;return a?a.value:null});return r?g(r):null},setItem:async(t,n)=>{let s=await a([t]),i=new Set((s?.map(({name:e})=>e)||[]).filter(e=>o(e,t))),d=n;"base64url"===u&&(d=f+p(n));let h=c(t,d);h.forEach(({name:e})=>{i.delete(e)});let m={...l,...e?.cookieOptions,maxAge:0},g={...l,...e?.cookieOptions,maxAge:l.maxAge};delete m.name,delete g.name;let b=[...[...i].map(e=>({name:e,value:"",options:m})),...h.map(({name:e,value:t})=>({name:e,value:t,options:g}))];b.length>0&&await r(b,{})},removeItem:async t=>{let n=await a([t]),s=(n?.map(({name:e})=>e)||[]).filter(e=>o(e,t)),i={...l,...e?.cookieOptions,maxAge:0};delete i.name,s.length>0&&await r(s.map(e=>({name:e,value:"",options:i})),{})}}}}({...void 0,cookieEncoding:(void 0)??"base64url"},!1),m=(0,r.createClient)(e,i,{...void 0,global:{...void 0,headers:{...void 0,"X-Client-Info":"supabase-ssr/0.10.3 createBrowserClient"}},auth:{...void 0,...null,flowType:"pkce",autoRefreshToken:(void 0)??s(),detectSessionInUrl:(void 0)??s(),persistSession:(void 0)??!0,storage:h,...null}});return u&&(t=m),m}("https://frxskhbuistvklanupbg.supabase.co","sb_publishable_4crgiGHWNxeun_NBEkGqVg_qWsNwvul"))}],845874)},68152,e=>{e.v({field:"SearchKeyword-module-scss-module__Js4mEG__field",heading:"SearchKeyword-module-scss-module__Js4mEG__heading",suggestions:"SearchKeyword-module-scss-module__Js4mEG__suggestions"})},627224,e=>{e.v({actions:"TopSearch-module-scss-module__a9QJFa__actions",allAreas:"TopSearch-module-scss-module__a9QJFa__allAreas",allGenres:"TopSearch-module-scss-module__a9QJFa__allGenres",areaGroups:"TopSearch-module-scss-module__a9QJFa__areaGroups",areaLayout:"TopSearch-module-scss-module__a9QJFa__areaLayout",bar:"TopSearch-module-scss-module__a9QJFa__bar",category:"TopSearch-module-scss-module__a9QJFa__category",categoryExpanded:"TopSearch-module-scss-module__a9QJFa__categoryExpanded",categoryHeading:"TopSearch-module-scss-module__a9QJFa__categoryHeading",check:"TopSearch-module-scss-module__a9QJFa__check",chevron:"TopSearch-module-scss-module__a9QJFa__chevron",childCategories:"TopSearch-module-scss-module__a9QJFa__childCategories",cities:"TopSearch-module-scss-module__a9QJFa__cities",clear:"TopSearch-module-scss-module__a9QJFa__clear",close:"TopSearch-module-scss-module__a9QJFa__close",expandIcon:"TopSearch-module-scss-module__a9QJFa__expandIcon",genreGroups:"TopSearch-module-scss-module__a9QJFa__genreGroups",genreHeading:"TopSearch-module-scss-module__a9QJFa__genreHeading",genreIcon:"TopSearch-module-scss-module__a9QJFa__genreIcon",genreOptions:"TopSearch-module-scss-module__a9QJFa__genreOptions",group:"TopSearch-module-scss-module__a9QJFa__group",groupHeading:"TopSearch-module-scss-module__a9QJFa__groupHeading",keyword:"TopSearch-module-scss-module__a9QJFa__keyword",legend:"TopSearch-module-scss-module__a9QJFa__legend",map:"TopSearch-module-scss-module__a9QJFa__map",modal:"TopSearch-module-scss-module__a9QJFa__modal",panel:"TopSearch-module-scss-module__a9QJFa__panel",panelHeading:"TopSearch-module-scss-module__a9QJFa__panelHeading",search:"TopSearch-module-scss-module__a9QJFa__search",selector:"TopSearch-module-scss-module__a9QJFa__selector",submit:"TopSearch-module-scss-module__a9QJFa__submit"})},347614,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(522016),n=e.i(68152);let s="gc:search-history";function l(){try{let e=JSON.parse(localStorage.getItem(s)||"[]");return Array.isArray(e)?e.filter(e=>"string"==typeof e).slice(0,8):[]}catch{return[]}}function i(e){let t=e.trim();if(t)try{localStorage.setItem(s,JSON.stringify([t,...l().filter(e=>e!==t)].slice(0,8)))}catch{}}
23function o({value:e,onChange:c,enhanced:d,onNavigate:u,className:h,children:m}){let p=(0,a.useRef)(null),[f,g]=(0,a.useState)(!1),[b,x]=(0,a.useState)([]),[_,v]=(0,a.useState)({query:"",items:[]}),y=_.query===e.trim()?_.items:[];return(0,a.useEffect)(()=>{if(!d||!f||e.trim().length<2)return;let t=new AbortController,a=setTimeout(()=>{fetch(`/api/search-suggest?s=${encodeURIComponent(e.trim())}`,{signal:t.signal}).then(e=>e.ok?e.json():null).then(a=>{t.signal.aborted||v({query:e.trim(),items:a?.items??[]})}).catch(()=>{})},200);return()=>{clearTimeout(a),t.abort()}},[d,f,e]),(0,t.jsxs)("div",{className:`${h} ${n.default.field}`,ref:p,onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||g(!1)},children:[m,(0,t.jsx)("input",{type:"search",name:"s",value:e,onChange:e=>c(e.target.value),onFocus:()=>{g(!0),d&&x(l())},autoComplete:"off","aria-label":"キーワード",placeholder:"キーワードを入力"}),d&&f&&(e.trim().length<2&&b.length>0||y.length>0)&&(0,t.jsx)("div",{className:n.default.suggestions,children:e.trim().length<2?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:n.default.heading,children:[(0,t.jsx)("p",{children:"最近の検索"}),(0,t.jsx)("button",{type:"button",onClick:()=>{try{localStorage.removeItem(s)}catch{}x([])},children:"履歴をクリア"})]}),(0,t.jsx)("ul",{children:b.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)("button",{type:"button",onClick:()=>{c(e),g(!1)},children:e})},e))})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:n.default.heading,children:(0,t.jsx)("p",{children:"検索候補"})}),(0,t.jsx)("ul",{children:y.map(a=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:`/${"model_course"===a.type?"model-course":a.type}/${encodeURIComponent(a.slug)}`,onClick:()=>{i(e),g(!1),u?.()},children:a.title})},`${a.type}-${a.id}`))})]})})]})}var c=e.i(381078),d=e.i(805075);e.i(366430);var u=e.i(627224);function h({name:e}){return"search"===e?(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.7","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"10.5",cy:"10.5",r:"7"}),(0,t.jsx)("path",{d:"m16 16 5 5"})]}):"area"===e?(0,t.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.7","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M19 10c0 5-7 12-7 12S5 15 5 10a7 7 0 0 1 14 0Z"}),(0,t.jsx)("circle",{cx:"12",cy:"10",r:"2.5"})]}):(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M3 3h6v6H3zM15 3h6v6h-6zM3 15h6v6H3zM15 15h6v6h-6z"})})}function m({label:e,checked:r,partial:n=!1,onChange:s}){let l=(0,a.useRef)(null);return(0,a.useEffect)(()=>{l.current&&(l.current.indeterminate=n)},[n]),(0,t.jsxs)("label",{className:u.default.check,children:[(0,t.jsx)("input",{ref:l,type:"checkbox",checked:r,onChange:s}),(0,t.jsx)("span",{children:e})]})}e.s(["default",0,function({areas:e,genres:r,variant:n="inline",idPrefix:s="top-search",active:l=!0,onNavigate:p}){let[f,g]=(0,a.useState)("modal"===n?"area":null),[b,x]=(0,a.useState)([]),[_,v]=(0,a.useState)({type:"",slug:"",name:""}),[y,j]=(0,a.useState)(""),[w,k]=(0,a.useState)([]),[N,S]=(0,a.useState)([]),[C,E]=(0,a.useState)([]),$=(0,a.useRef)(null),T=(0,a.useRef)(null),I=(0,a.useRef)(null),A=e.flatMap(e=>e.cities.map(e=>e.name)),L=A.length>0&&b.length===A.length,O=L?"全エリア":e.filter(e=>e.cities.every(e=>b.includes(e.name))).map(e=>`${e.name}エリア`).concat(b.filter(t=>!e.some(e=>e.cities.every(e=>b.includes(e.name))&&e.cities.some(e=>e.name===t)))).join("・");function F(e){let t=e.cities.map(e=>e.name);x(e=>t.every(t=>e.includes(t))?e.filter(e=>!t.includes(e)):[...new Set([...e,...t])])}return(0,a.useEffect)(()=>{if(!f||!l)return;let e=e=>{e.target instanceof Node&&!$.current?.contains(e.target)&&g(null)},t=e=>{"Escape"===e.key&&(e.preventDefault(),g(null),("area"===f?T:I).current?.focus())};return document.addEventListener("pointerdown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("pointerdown",e),document.removeEventListener("keydown",t)}},[f,l]),(0,a.useEffect)(()=>{let e=$.current?.querySelector("form"),t=e=>e.formData.delete(`${s}-genre-choice`);return e?.addEventListener("formdata",t),()=>e?.removeEventListener("formdata",t)},[s]),(0,t.jsxs)("section",{ref:$,className:`${u.default.search}${"modal"===n?` ${u.default.modal}`:""}`,id:"inline"===n?"top-home-search":`${s}-search`,"aria-labelledby":`${s}-title`,children:[(0,t.jsxs)("h2",{id:`${s}-title`,children:[(0,t.jsx)(h,{name:"search"}),"千葉のおでかけを探す"]}),(0,t.jsxs)("form",{action:"/search",method:"get",onSubmit:()=>{"modal"===n&&i(y),p?.()},children:[(0,t.jsx)("input",{type:"hidden",name:"area",value:e.every(e=>e.cities.every(e=>b.includes(e.name)))?"":[...new Set(e.flatMap(e=>{let t=e.cities.filter(e=>b.includes(e.name));return t.length===e.cities.length&&"__area_unavailable__"!==e.searchSlugs?e.searchSlugs.split(","):t.map(e=>e.slug)}))].join(",")}),(0,t.jsx)("input",{type:"hidden",name:"post_type",value:_.type}),(0,t.jsx)("input",{type:"hidden",name:"category",value:_.slug}),(0,t.jsxs)("div",{className:u.default.bar,children:[(0,t.jsxs)("button",{ref:T,type:"button",className:u.default.selector,"aria-label":`エリアを選ぶ${O?`:${O}`:""}`,"aria-expanded":"area"===f,"aria-controls":`${s}-area-panel`,onClick:()=>
23g("area"===f?null:"area"),children:[(0,t.jsx)(h,{name:"area"}),(0,t.jsx)("span",{children:O||"エリアを選ぶ"}),(0,t.jsx)("span",{className:u.default.chevron,"aria-hidden":"true"})]}),(0,t.jsxs)("button",{ref:I,type:"button",className:u.default.selector,"aria-label":`ジャンルを選ぶ${_.name?`:${_.name}`:""}`,"aria-expanded":"genre"===f,"aria-controls":`${s}-genre-panel`,onClick:()=>g("genre"===f?null:"genre"),children:[(0,t.jsx)(h,{name:"genre"}),(0,t.jsx)("span",{children:_.name||"ジャンルを選ぶ"}),(0,t.jsx)("span",{className:u.default.chevron,"aria-hidden":"true"})]}),(0,t.jsx)(o,{className:u.default.keyword,value:y,onChange:j,enhanced:"modal"===n,onNavigate:p,children:(0,t.jsx)(h,{name:"search"})}),(0,t.jsxs)("button",{type:"submit",className:u.default.submit,children:[(0,t.jsx)(h,{name:"search"}),"検索する"]})]}),(0,t.jsxs)("div",{className:u.default.panel,hidden:!f,children:[(0,t.jsxs)("div",{className:u.default.panelHeading,children:[(0,t.jsx)("p",{children:"area"===f?"エリア・市町村を選択(複数選択可)":"ジャンルを選択"}),(0,t.jsxs)("button",{type:"button",className:u.default.close,onClick:function(){("area"===f?T:I).current?.focus(),g(null)},children:["閉じる ",(0,t.jsx)("span",{"aria-hidden":"true",children:"×"})]})]}),(0,t.jsx)("div",{id:`${s}-area-panel`,role:"region","aria-label":"エリアの選択",hidden:"area"!==f,children:(0,t.jsxs)("div",{className:u.default.areaLayout,children:[(0,t.jsxs)("aside",{className:u.default.map,children:[(0,t.jsx)(c.default,{compact:!0,counts:Object.fromEntries(e.map(e=>[e.slug.replace(/-area$/,""),1])),hrefOf:()=>`#${s}-area-panel`,showCounts:!1,selectedAreas:e.filter(e=>e.cities.every(e=>b.includes(e.name))).map(e=>e.slug.replace(/-area$/,"")),onSelect:t=>{let a=e.find(e=>e.slug===`${t}-area`);a&&F(a)},note:"地図からエリアを選べます"}),(0,t.jsx)("div",{className:u.default.legend,children:e.map(e=>{let a=(0,d.areaColors)(e.slug.replace(/-area$/,""));return(0,t.jsxs)("button",{type:"button",onClick:()=>F(e),"aria-pressed":e.cities.every(e=>b.includes(e.name)),children:[(0,t.jsx)("span",{style:{backgroundColor:a.fill,color:a.ink},children:e.name}),(0,t.jsxs)("span",{children:[e.cities.slice(0,4).map(e=>e.name).join("・")," ほか"]})]},e.slug)})})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:u.default.allAreas,children:(0,t.jsx)(m,{label:"全エリア",checked:L,partial:b.length>0&&!L,onChange:()=>x(L?[]:A)})}),(0,t.jsx)("div",{className:u.default.areaGroups,children:e.map(e=>{let a=e.cities.filter(e=>b.includes(e.name)).length,r=w.includes(e.slug);return(0,t.jsxs)("div",{className:u.default.group,children:[(0,t.jsxs)("div",{className:u.default.groupHeading,children:[(0,t.jsx)(m,{label:`${e.name}エリア`,checked:a===e.cities.length,partial:a>0&&a<e.cities.length,onChange:()=>F(e)}),(0,t.jsx)("button",{type:"button","aria-label":`${e.name}エリアの市町村を${r?"表示":"閉じる"}`,"aria-expanded":!r,"aria-controls":`${s}-${e.slug}`,onClick:()=>k(t=>r?t.filter(t=>t!==e.slug):[...t,e.slug]),children:r?"+":"−"})]}),(0,t.jsx)("div",{id:`${s}-${e.slug}`,className:u.default.cities,hidden:r,children:e.cities.map(e=>(0,t.jsx)(m,{label:e.name,checked:b.includes(e.name),onChange:()=>x(t=>t.includes(e.name)?t.filter(t=>t!==e.name):[...t,e.name])},e.name))})]},e.slug)})})]})]})}),(0,t.jsxs)("div",{id:`${s}-genre-panel`,role:"region","aria-label":"ジャンルの選択",hidden:"genre"!==f,children:[(0,t.jsxs)("label",{className:`${u.default.check} ${u.default.allGenres}`,children:[(0,t.jsx)("input",{type:"radio",name:`${s}-genre-choice`,checked:!_.type,onChange:()=>v({type:"",slug:"",name:""})}),"すべてのジャンル"]}),(0,t.jsx)("div",{className:u.default.genreGroups,children:r.map(e=>{let a=N.includes(e.type);return(0,t.jsxs)("div",{className:u.default.group,children:[(0,t.jsxs)("button",{type:"button",className:u.default.genreHeading,"aria-expanded":a,"aria-controls":`${s}-genre-${e.type}`,onClick:()=>S(t=>a?t.filter(t=>t!==e.type):[...t,e.type]),children:[(0,t.jsx)("span",{className:u.default.genreIcon,"aria-hidden":"true",style:{maskImage:`url(/images/image_${e.icon}-icon.svg)`}}),(0,t.jsx)("span",{children:e.label}),(0,t.jsx)("span",{className:u.default.expandIcon,"aria-hidden":"true",children:a?"−":"+"})]}),(0,t.jsxs)("div",{className:u.default.genreOptions,id:`${s}-genre-${e.type}`,hidden:!a,children:[(0,t.jsxs)("label",{className:u.default.check,children:[(0,t.jsx)("input",{type:"radio",name:`${s}-genre-choice`,checked:_.type===e.type&&!_.slug,onChange:()=>v({type:e.type,slug:"",name:e.label})}),e.label,"すべて"]}),e.categories.filter(e=>0===e.depth).map(a=>{let r=e.categories.findIndex(e=>e.id===a.id)+1,n=e.categories.slice(r).findIndex(e=>0===e.depth),l=e.categories.slice(r,n<0?void 0:r+n),i=C.includes(a.id);return(0,t.jsxs)("div",{className:`${u.default.category} ${i?u.default.categoryExpanded:""}`,children:[(0,t.jsxs)("div",{className:u.default.categoryHeading,children:[(0,t.jsxs)("label",{className:u.default.check,children:[(0,t.jsx)("input",{type:"radio",name:`${s}-genre-choice`,checked:_.type===e.type&&_.slug===a.slug,onChange:()=>v({type:e.type,slug:a.slug,name:a.name})}),a.name]}),l.length>0&&(0,t.jsx)("button",{type:"button","aria-label":`${a.name}の小ジャンルを${i?"閉じる":"表示"}`,"aria-expanded":i,"aria-controls":`${s}-category-${a.id}`,onClick:()=>E(e=>i?e.filter(e=>e!==a.id):[...e,a.id]),children:i?"−":"+"})]}),l.length>0&&(0,t.jsx)("div",{className:u.default.childCategories,id:`${s}-category-${a.id}`,hidden:!i,children:l.map(a=>(0,t.jsxs)("label",{className:u.default.check,children:[(0,t.jsx)("input",{type:"radio",name:`${s}-genre-choice`,checked:_.type===e.type&&_.slug===a.slug,onChange:()=>v({type:e.type,slug:a.slug,name:a.name})}),a.name]},a.id))})]},a.id)})]})]},e.type)})})]}),(0,t.jsxs)("div",{className:u.default.actions,children:[(0,t.jsx)("button",{type:"button",className:u.default.clear,onClick:function(){x([]),v({type:"",slug:"",name:""}),j("")},children:"すべてクリア"}),(0,t.jsxs)("button",{type:"submit",className:u.default.submit,children:[(0,t.jsx)(h,{name:"search"}),"この条件で検索"]})]})]})]})]})}],347614)},70119,e=>{"use strict";var t=e.i(843476),a=e.i(522016),r=e.i(271645);function n({onPointerEnter:e,onFocus:s,onTouchStart:l,prefetch:i,...o}){let[c,d]=(0,r.useState)(!1);return(0,t.jsx)(a.default,{...o,prefetch:!1!==i&&(!!c||i),onPointerEnter:t=>{d(!0),e?.(t)},onFocus:e=>{d(!0),s?.(e)},onTouchStart:e=>{d(!0),l?.(e)}})}var s=e.i(618566),l=e.i(365521);function i({isOpen:e,onClose:a}){return(0,t.jsx)("div",{className:`l-menu js-menu ${e?"is_active":""}`,children:(0,t.jsx)("div",{className:"l-menu__inner",children:(0,t.jsx)("div",{className:"l-menu__container",children:(0,t.jsxs)("div",{className:"l-menu__body",children:[(0,t.jsx)("div",{className:"l-menu__logo-wrap",children:(0,t.jsx)(n,{href:"/",className:"l-menu__logo",onClick:a,children:(0,t.jsx)("img",{src:"/images/image_header-logo.svg?20260404",alt:"ぐるっと千葉"})})}),(0,t.jsxs)("a",{href:"/service",className:"l-menu__btn",target:"_blank",rel:"noopener",onClick:a,children:[(0,t.jsx)("span",{className:"l-menu__btn-text",children:"事業者様はこちらから"}),(0,t.jsx)(l.default,{})]}),(0,t.jsx)("a",{href:"/local-writer",className:"l-menu__btn",target:"_blank",rel:"noopener",onClick:a,children:(0,t.jsx)("span",{className:"l-menu__btn-text",children:"地域ライターへのご応募はこちらから"})}),(0,t.jsx)("a",{href:"/contact",className:"l-menu__btn",onClick:a,children:(0,t.jsx)("span",{className:"l-menu__btn-text",children:"お問い合わせはこちらから"})}),(0,t.jsxs)("div",{className:"l-menu__nav-wrap",children:[(0,t.jsx)("nav",{className:"l-menu__main-nav",children:(0,t.jsx)("ul",{className:"l-menu__main-list",children:[{href:"/newopen",label:"新店情報",icon:"newopen"},{href:"/feature",label:"特集",icon:"feature"},{href:"/event",label:"イベント",icon:"event"},{href:"/gourmet",label:"グルメ",icon:"gourmet"},{href:"/life",label:"暮らし",icon:"life"},{href:"/spot",label:"学ぶ/遊ぶ/体験する",icon:"spot"},{href:"/stay",label:"宿泊",icon:"stay"},{href:"/model-course",label:"モデルコース",icon:"model-course-flag"},{href:"/ranking",label:"ランキング",icon:"ranking"}].map(e=>{let r="/stay"===e.href?"a":n;return(0,t.jsx)("li",{className:"l-menu__main-item",children:(0,t.jsxs)(r,{href:e.href,className:"l-menu__main-link",onClick:a,children:[(0,t.jsx)("span",{className:"l-menu__nav-icon","aria-hidden":"true",style:{maskImage:`url(/images/image_${e.icon}-icon.svg)`,WebkitMaskImage:`url(/images/image_${e.icon}-icon.svg)`}}),(0,t.jsx)("span",{children:e.label})]})},e.href)})})}),(0,t.jsx)("nav",{className:"l-menu__sub-nav",children:(0,t.jsx)("ul",{className:"l-menu__sub-list",children:[{href:"/newopen",label:"新店情報"},{href:"/topics",label:"トピックス"},{href:"/column",label:"編集長コラム"},{href:"/news",label:"お知らせ"},{href:"/sponsor",label:"スポンサー"},{href:"/offer",label:"情報提供"}].map(e=>(0,t.jsx)("li",{className:"l-menu__sub-item",children:(0,t.jsx)(n,{href:e.href,className:"l-menu__sub-link",onClick:a,children:e.label})},e.href))})})]}),(0,t.jsx)("div",{className:"l-menu-sns",children:(0,t.jsx)("ul",{className:"l-menu-sns__list",children:[{href:"https://www.threads.com/@gurutto_chiba",icon:"threads",alt:"Threads",ext:"svg"},{href:"https://www.instagram.com/gurutto_chiba/",icon:"instagram",alt:"Instagram",ext:"svg"},{href:"https://www.youtube.com/@guruttochiba",icon:"youtube",alt:"YouTube",ext:"svg"},{href:"https://x.com/guruttochiba",icon:"x",alt:"X",ext:"png"},{href:"https://www.facebook.com/guruttochiba/",icon:"facebook",alt:"Facebook",ext:"png"},{href:"https://line.me/R/ti/p/@550dguds",icon:"line",alt:"LINE",ext:"png"}].map(e=>(0,t.jsx)("li",{className:"l-menu-sns__item",children:(0,t.jsx)("a",{className:"l-menu-sns__link",href:e.href,target:"_blank",rel:"noopener",children:(0,t.jsx)("img",{src:`/images/image_sns-${e.icon}-icon.${e.ext}?20260404`,alt:e.alt})})},e.icon))})}),(0,t.jsx)("div",{className:"l-header__sp-language-btn"})]})})})})}var o=e.i(347614);function c({isOpen:e=!1,onClose:a}){let n=(0,r.useRef)(null),[s,l]=(0,r.useState)(null),[i,d]=(0,r.useState)(!1),[u,h]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let t=n.current;t&&(e&&!t.open?t.showModal():!e&&t.open&&t.close())},[e]),(0,r.useEffect)(()=>
23{if(!e||s)return;let t=new AbortController;return fetch("/api/search-options",{signal:t.signal}).then(e=>{if(!e.ok)throw Error("Search options unavailable");return e.json()}).then(e=>{t.signal.aborted||l(e)}).catch(()=>{t.signal.aborted||d(!0)}),()=>t.abort()},[e,s,u]),(0,t.jsx)("dialog",{ref:n,className:"l-header-search","aria-label":"千葉のおでかけを探す",onCancel:e=>{e.preventDefault(),a?.()},onClose:a,onClick:e=>{e.target===e.currentTarget&&a?.()},children:(0,t.jsxs)("div",{className:"l-header-search__inner",children:[(0,t.jsx)("div",{className:"l-header-search__toolbar",children:(0,t.jsxs)("button",{type:"button",className:"l-header-search__close",onClick:a,autoFocus:!0,"aria-label":"検索を閉じる",children:["閉じる ",(0,t.jsx)("span",{"aria-hidden":"true",children:"×"})]})}),(0,t.jsx)("div",{className:"l-header-search__body",children:s?(0,t.jsx)(o.default,{areas:s.areas,genres:s.genres,variant:"modal",idPrefix:"header-search",active:e,onNavigate:a}):(0,t.jsxs)("div",{className:"l-header-search__status",role:"status",children:[(0,t.jsx)("h2",{children:"千葉のおでかけを探す"}),(0,t.jsx)("p",{children:i?"検索条件を読み込めませんでした。もう一度お試しください。":"検索条件を読み込んでいます…"}),i&&(0,t.jsx)("button",{type:"button",onClick:()=>{d(!1),h(e=>e+1)},children:"もう一度読み込む"})]})})]})})}let d=[{code:"en",label:"English",short:"EN"},{code:"zh-CN",label:"中文",short:"中文"},{code:"ko",label:"한국어",short:"한국어"}];function u(){let[e,a]=(0,r.useState)(!1),n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{if(!e)return;let t=e=>{n.current?.contains(e.target)||a(!1)},r=e=>{"Escape"===e.key&&a(!1)};return document.addEventListener("mousedown",t),document.addEventListener("keydown",r),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("keydown",r)}},[e]),(0,t.jsxs)("div",{ref:n,className:"l-header__language-buttons",style:{position:"relative",display:"inline-block"},children:[(0,t.jsxs)("button",{type:"button",onClick:()=>a(e=>!e),className:"l-header__language-button","aria-haspopup":"listbox","aria-expanded":e,title:"言語を選択",style:{background:"transparent",border:"1px solid currentColor",color:"inherit",padding:"4px 12px",borderRadius:999,fontSize:11,fontWeight:600,cursor:"pointer",marginLeft:6,opacity:e?1:.7,transition:"opacity 0.2s",display:"inline-flex",alignItems:"center",gap:4},onMouseEnter:e=>e.currentTarget.style.opacity="1",onMouseLeave:t=>t.currentTarget.style.opacity=e?"1":"0.7",children:[(0,t.jsx)("span",{"aria-hidden":"true",children:"🌐"}),(0,t.jsx)("span",{children:"言語"}),(0,t.jsx)("span",{"aria-hidden":"true",style:{fontSize:9,transform:e?"rotate(180deg)":"none",transition:"transform 0.15s"},children:"▾"})]}),e&&(0,t.jsx)("ul",{role:"listbox","aria-label":"言語選択",style:{position:"absolute",top:"calc(100% + 6px)",right:0,margin:0,padding:6,listStyle:"none",background:"#fff",color:"#333",border:"1px solid #f1d1d1",borderRadius:12,boxShadow:"0 0.4rem 1.2rem rgba(0,0,0,0.08), 0 0.2rem 0.4rem rgba(0,0,0,0.04)",minWidth:140,zIndex:200},children:d.map(e=>(0,t.jsx)("li",{role:"option",children:(0,t.jsx)("button",{type:"button",onClick:()=>{var t;let r,n;return t=e.code,a(!1),r=encodeURIComponent(window.location.href),n=encodeURIComponent(t),void window.open(`https://translate.google.com/translate?sl=ja&tl=${n}&u=${r}`,"_blank","noopener,noreferrer")},style:{width:"100%",textAlign:"left",background:"transparent",border:"none",padding:"8px 12px",borderRadius:8,fontSize:13,fontWeight:500,cursor:"pointer",color:"inherit",transition:"background-color 0.15s"},onMouseEnter:e=>e.currentTarget.style.backgroundColor="#fff1f1",onMouseLeave:e=>e.currentTarget.style.backgroundColor="transparent",children:e.label})},e.code))})]})}function h(e){return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)}let m=()=>window.scrollY>8,p=()=>!1;e.s(["default",0,function(){let e=(0,s.usePathname)(),a=(0,r.useSyncExternalStore)(h,m,p),o="/"===e,d="/images/image_header-logo.svg?20260404",[f,g]=(0,r.useState)(!1),[b,x]=(0,r.useState)(!1),[_,v]=(0,r.useState)(e);return _!==e&&(v(e),g(!1),x(!1)),(0,r.useEffect)(()=>
23{if(f||b){let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}},[f,b]),(0,t.jsxs)("header",{className:`l-header l-header--compact${a?" l-header--scrolled":""}${f?" l-header--menu-open":""}`,children:[(0,t.jsx)("div",{className:"l-header__inner",children:(0,t.jsx)("div",{className:"l-header__container",children:(0,t.jsxs)("div",{className:"l-header__body",children:[o?(0,t.jsx)("h1",{className:"l-header__logo",children:(0,t.jsx)("img",{src:d,alt:"ぐるっと千葉|千葉の暮らしを「もっと楽しく」「もっと豊かに」"})}):(0,t.jsx)(n,{href:"/",className:"l-header__logo",children:(0,t.jsx)("img",{src:d,alt:"ぐるっと千葉|千葉の暮らしを「もっと楽しく」「もっと豊かに」"})}),(0,t.jsxs)("div",{className:"l-header__content header-content",children:[(0,t.jsxs)("div",{className:"l-header__box",children:[(0,t.jsxs)("div",{className:"l-header__flex-btn",children:[(0,t.jsxs)("a",{href:"/service",className:"l-header__btn",target:"_blank",children:[(0,t.jsx)("span",{className:"l-header__btn-text",children:"事業者様はこちらから"}),(0,t.jsx)(l.default,{})]}),(0,t.jsx)("a",{href:"/local-writer",className:"l-header__btn",target:"_blank",children:(0,t.jsx)("span",{className:"l-header__btn-text",children:"地域ライターへの応募はこちらから"})}),(0,t.jsx)("a",{href:"/contact",className:"l-header__btn",children:(0,t.jsx)("span",{className:"l-header__btn-text",children:"お問い合わせはこちらから"})}),(0,t.jsx)("div",{className:"l-header__language-btn",children:(0,t.jsx)(u,{})})]}),(0,t.jsx)("nav",{className:"l-header__nav",children:(0,t.jsx)("ul",{className:"l-header__list",children:[{href:"/newopen",label:"新店情報",icon:"newopen"},{href:"/feature",label:"特集",icon:"feature"},{href:"/event",label:"イベント",icon:"event"},{href:"/gourmet",label:"グルメ",icon:"gourmet"},{href:"/life",label:"暮らし",icon:"life"},{href:"/spot",label:"学ぶ/遊ぶ/体験する",icon:"spot"},{href:"/stay",label:"宿泊",icon:"stay"},{href:"/model-course",label:"モデルコース",icon:"model-course-flag"},{href:"/ranking",label:"ランキング",icon:"ranking"}].map(e=>{let a="/stay"===e.href?"a":n;return(0,t.jsx)("li",{className:"l-header__item",children:(0,t.jsxs)(a,{href:e.href,className:"l-header__link",children:[(0,t.jsx)("span",{className:"l-header__nav-icon","aria-hidden":"true",style:{maskImage:`url(/images/image_${e.icon}-icon.svg)`,WebkitMaskImage:`url(/images/image_${e.icon}-icon.svg)`}}),(0,t.jsx)("span",{children:e.label})]})},e.href)})})})]}),(0,t.jsx)("div",{className:"l-header__sp-language-btn"}),(0,t.jsxs)("button",{type:"button",className:"l-header__search js-search",onClick:()=>{x(e=>!e),g(!1)},"aria-expanded":b,"aria-label":"検索を開く",children:[(0,t.jsx)("span",{children:(0,t.jsx)("img",{src:"/images/image_search-icon.svg?20260404",alt:"検索アイコン"})}),(0,t.jsx)("span",{children:"検索"})]})]})]})})}),(0,t.jsx)("div",{className:"l-sp-header",children:(0,t.jsx)("nav",{className:"l-sp-header__nav",children:(0,t.jsx)("ul",{className:"l-sp-header__list",children:[{href:"/newopen",label:"新店情報"},{href:"/event",label:"イベント"},{href:"/gourmet",label:"グルメ"},{href:"/life",label:"暮らし"},{href:"/spot",label:"学ぶ/遊ぶ/体験する"},{href:"/model-course",label:"モデルコース"}].map(e=>(0,t.jsx)("li",{className:"l-sp-header__item",children:(0,t.jsx)(n,{href:e.href,className:"l-sp-header__link",children:e.label})},e.href))})})}),(0,t.jsxs)("button",{type:"button",className:"l-header__burger-btn js-trigger",onClick:()=>{g(e=>!e),x(!1)},"aria-expanded":f,"aria-label":f?"メニューを閉じる":"メニューを開く",children:[(0,t.jsx)("span",{className:"l-header__burger-text",children:f?"CLOSE":"MENU"}),(0,t.jsxs)("span",{className:"l-header__burger",children:[(0,t.jsx)("span",{className:`js-burger-top ${f?"is_active":""}`}),(0,t.jsx)("span",{className:`js-burger-center ${f?"is_active":""}`}),(0,t.jsx)("span",{className:`js-burger-bottom ${f?"is_active":""}`})]})]}),(0,t.jsx)(i,{isOpen:f,onClose:()=>g(!1)}),(0,t.jsx)(c,{isOpen:b,onClose:()=>x(!1)})]})}],70119)},348830,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(522016),n=e.i(618566),s=e.i(845874);let l={gourmet:"/admin/gourmet",newopen:"/admin/newopen",life:"/admin/life",spot:"/admin/spot",event:"/admin/event",feature:"/admin/features",topics:"/admin/topics",column:"/admin/column",news:"/admin/news",stay:"/admin/stay"},i={gourmet:"グルメ",newopen:"新店情報",life:"暮らし",spot:"学ぶ/遊ぶ/体験する",event:"イベント",feature:"特集",topics:"トピックス",column:"編集長コラム",news:"お知らせ",stay:"宿泊"},o={developer:"開発者",editor:"編集者",viewer:"閲覧者",vendor:"店舗"},c={developer:"#10b981",editor:"#3b82f6",viewer:"#94a3b8",vendor:"#a855f7"};e.s(["default",0,function(){let e=(0,n.useRouter)(),d=(0,n.usePathname)(),[u,h]=(0,a.useState)(null),[m,p]=(0,a.useState)(null),[f,g]=(0,a.useState)(null),[b,x]=(0,a.useState)(null);(0,a.useEffect)(()=>{let e=!1,t=(0,s.getBrowserSupabase)();return(async()=>{let{data:{user:a}}=await t.auth.getUser();if(!a||e)return;let{data:r}=await t.from("user_profiles").select("id, email, name, role").eq("id",a.id).maybeSingle();r&&!e&&h(r)})(),()=>{e=!0}},[]),(0,a.useEffect)(()=>
23{if(!u){p(null),g(null),x(null);return}let e=d.match(/^\/([^/]+)\/([^/]+)\/?$/);if(!e){p(null),g(null),x(null);return}let[,t,a]=e,r=l[t];if(!r){p(null),g(null),x(null);return}x(t),g(r);let n=(0,s.getBrowserSupabase)(),i=!1;return(async()=>{let{data:e}=await n.from("posts").select("id").eq("type",t).eq("slug",decodeURIComponent(a)).maybeSingle();!i&&e?.id&&p(`${r}/${e.id}`)})(),()=>{i=!0}},[d,u]);let _=async()=>{if(!confirm("ログアウトしますか?"))return;let t=(0,s.getBrowserSupabase)();await t.auth.signOut(),h(null),e.refresh()};if(!u)return null;let v=c[u.role]??"#94a3b8";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{children:`
24        body { padding-bottom: 60px !important; }
25        @media (max-width: 640px) {
26          body { padding-bottom: 110px !important; }
27        }
28        .admin-bar-btn {
29          position: relative;
30          display: inline-flex;
31          align-items: center;
32          gap: 6px;
33          padding: 8px 14px;
34          border-radius: 9999px;
35          font-size: 12px;
36          font-weight: 600;
37          color: #fff;
38          text-decoration: none;
39          background: rgba(255,255,255,0.08);
40          border: 1px solid rgba(255,255,255,0.12);
41          cursor: pointer;
42          transition: all 0.15s ease;
43          white-space: nowrap;
44          font-family: inherit;
45        }
46        .admin-bar-btn:hover {
47          background: rgba(255,255,255,0.16);
48          border-color: rgba(255,255,255,0.25);
49          transform: translateY(-1px);
50        }
51        .admin-bar-btn-primary {
52          background: linear-gradient(135deg, #fb7185 0%, #fb923c 100%);
53          border-color: rgba(255,255,255,0.2);
54          box-shadow: 0 4px 12px rgba(251, 113, 133, 0.3);
55        }
56        .admin-bar-btn-primary:hover {
57          background: linear-gradient(135deg, #f43f5e 0%, #f97316 100%);
58          box-shadow: 0 6px 16px rgba(251, 113, 133, 0.45);
59        }
60        .admin-bar-btn-danger:hover {
61          background: rgba(239,68,68,0.25);
62          border-color: rgba(239,68,68,0.4);
63        }
64        .admin-bar-icon {
65          font-size: 14px;
66          line-height: 1;
67        }
68        .admin-bar-row {
69          display: flex;
70          align-items: center;
71          gap: 10px;
72        }
73        @media (max-width: 640px) {
74          .admin-bar-row-mobile-wrap {
75            flex-wrap: wrap;
76            justify-content: center;
77          }
78          .admin-bar-user-info {
79            font-size: 10px !important;
80          }
81        }
82      `}),(0,t.jsx)("div",{role:"toolbar","aria-label":"管理者バー",style:{position:"fixed",bottom:0,left:0,right:0,zIndex:99999,background:"linear-gradient(180deg, rgba(15,15,20,0.92) 0%, rgba(20,20,28,0.98) 100%)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",color:"#fff",fontSize:12,fontFamily:'-apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif',borderTop:"1px solid rgba(255,255,255,0.1)",boxShadow:"0 -8px 24px rgba(0,0,0,0.3)",padding:"10px 16px"},children:(0,t.jsxs)("div",{className:"admin-bar-row admin-bar-row-mobile-wrap",style:{maxWidth:1280,margin:"0 auto",gap:12},children:[(0,t.jsx)(r.default,{href:"/admin",className:"admin-bar-btn admin-bar-btn-primary",children:"管理画面に戻る"}),m?(0,t.jsxs)(r.default,{href:m,className:"admin-bar-btn",children:[(0,t.jsx)("span",{className:"admin-bar-icon",children:"✎"}),"この",b?i[b]??"記事":"記事","を編集"]}):f?(0,t.jsxs)(r.default,{href:f,className:"admin-bar-btn",children:[(0,t.jsx)("span",{className:"admin-bar-icon",children:"📋"}),b?i[b]:"一覧","管理画面"]}):null,(0,t.jsx)("div",{style:{flex:1}}),(0,t.jsxs)("div",{className:"admin-bar-user-info",style:{display:"inline-flex",alignItems:"center",gap:8,padding:"6px 12px",background:"rgba(255,255,255,0.04)",borderRadius:9999,border:"1px solid rgba(255,255,255,0.08)",fontSize:11},children:[(0,t.jsx)("span",{style:{width:6,height:6,borderRadius:"50%",background:v,boxShadow:`0 0 8px ${v}`}}),(0,t.jsx)("span",{style:{color:"#e5e5e5",fontWeight:600},children:u.name||u.email.split("@")[0]}),(0,t.jsx)("span",{style:{color:v,fontWeight:700,fontSize:10,textTransform:"uppercase",letterSpacing:"0.05em"},children:o[u.role]??u.role})]}),(0,t.jsxs)("button",{type:"button",onClick:_,className:"admin-bar-btn admin-bar-btn-danger",style:{background:"rgba(239,68,68,0.12)",borderColor:"rgba(239,68,68,0.25)",color:"#fecaca"},children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",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 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),(0,t.jsx)("polyline",{points:"16 17 21 12 16 7"}),(0,t.jsx)("line",{x1:"21",y1:"12",x2:"9",y2:"12"})]}),"ログアウト"]})]})})]})}])},385040,e=>{"use strict";var t=e.i(271645);e.s(["default",0,function(){return(0,t.useEffect)(()=>{let e=window.location.hash;e&&e.includes("type=recovery")&&"/admin/reset-password"!==window.location.pathname&&window.location.replace(`/admin/reset-password${e}`)},[]),null}])},703379,e=>{e.v({image:"BackToTop-module-scss-module__o-IPda__image",label:"BackToTop-module-scss-module__o-IPda__label",link:"BackToTop-module-scss-module__o-IPda__link",target:"BackToTop-module-scss-module__o-IPda__target",visible:"BackToTop-module-scss-module__o-IPda__visible"})},971691,e=>{"use strict";var t=e.i(843476),a=e.i(657688),r=e.i(271645),n=e.i(703379);e.s(["default",0,function(){let[e,s]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=()=>s(window.scrollY>320);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{id:"gurutto-page-top",className:n.default.target,tabIndex:-1,"aria-label":"ページ上部"}),(0,t.jsxs)("a",{href:"#gurutto-page-top",className:`${n.default.link}${e?` ${n.default.visible}`:""}`,"aria-label":"ページ上部へ戻る",children:[(0,t.jsx)(a.default,{src:"/images/mascot/gurutto-dog-jump-pop.png",alt:"",width:1060,height:1484,sizes:"(max-width: 768px) 64px, 88px",className:n.default.image}),(0,t.jsx)("span",{className:n.default.label,children:"↑ ページ上部へ"})]})]})}])}]);

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.