PageSourceSearch

https://sald.app/assets/root-BgchtyqY.js

js sald.app collected 2026-10-02 01:15:05 UTC 11,863 bytes, 81 lines download raw bytes

1import{j as i}from"./jsx-runtime-0DLF9kdB.js";import{b as R,j as F,r as d,k as z,O as B}from"./index-B3MQa2dY.js";import{I as D,R as J,g as G,b as W}from"./context-Bm929DxF.js";import{a as V,b as _}from"./honeypot-E3emjUg_.js";import{G as Y}from"./error-boundary-BQ4x4MB7.js";import{u as X,$ as Z}from"./index-C95LoedP.js";import{s as K}from"./siteConfig-53t6GI7W.js";import{a as Q,c as q}from"./meta-8q-Vw_DN.js";import{n as ee,o as te,_ as ne,u as oe,M as re,p as ae,S as se}from"./components-Dpf2KCIC.js";/**
2 * @remix-run/react v2.16.8
3 *
4 * Copyright (c) Remix Software Inc.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE.md file in the root directory of this source tree.
8 *
9 * @license MIT
10 */let I="positions";function ie({getKey:t,...e}){let{isSpaMode:o}=ee(),a=R(),r=F();te({getKey:t,storageKey:I});let n=d.useMemo(()=>{if(!t)return null;let u=t(a,r);return u!==a.key?u:null},[]);if(o)return null;let c=((u,l)=>{if(!window.history.state||!window.history.state.key){let s=Math.random().toString(32).slice(2);window.history.replaceState({key:s},"")}try{let f=JSON.parse(sessionStorage.getItem(u)||"{}")[l||window.history.state.key];typeof f=="number"&&window.scrollTo(0,f)}catch(s){console.error(s),sessionStorage.removeItem(u)}}).toString();return d.createElement("script",ne({},e,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${c})(${JSON.stringify(I)}, ${JSON.stringify(n)})`}}))}function ce(){if(console&&console.warn){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];y(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e)}}const L={};function b(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];y(e[0])&&L[e[0]]||(y(e[0])&&(L[e[0]]=new Date),ce(...e))}const H=(t,e)=>()=>{if(t.isInitialized)e();else{const o=()=>{setTimeout(()=>{t.off("initialized",o)},0),e()};t.on("initialized",o)}},T=(t,e,o)=>{t.loadNamespaces(e,H(t,o))},$=(t,e,o,a)=>{y(o)&&(o=[o]),o.forEach(r=>{t.options.ns.indexOf(r)<0&&t.options.ns.push(r)}),t.loadLanguages(e,H(t,a))},le=function(t,e){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=e.languages[0],r=e.options?e.options.fallbackLng:!1,n=e.languages[e.languages.length-1];if(a.toLowerCase()==="cimode")return!0;const c=(u,l)=>{const s=e.services.backendConnector.state[`${u}|${l}`];return s===-1||s===2};return o.bindI18n&&o.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!c(e.isLanguageChangingTo,t)?!1:!!(e.hasResourceBundle(a,t)||!e.services.backendConnector.backend||e.options.resources&&!e.options.partialBundledLanguages||c(a,t)&&(!r||c(n,t)))},ue=function(t,e){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!e.languages||!e.languages.length?(b("i18n.languages were undefined or empty",e.languages),!0):e.options.ignoreJSONStructure!==void 0?e.hasLoadedNamespace(t,{lng:o.lng,precheck:(r,n)=>{if(o.bindI18n&&o.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!n(r.isLanguageChangingTo,t))return!1}}):le(t,e,o)},y=t=>typeof t=="string",de=t=>typeof t=="object"&&t!==null,ge=(t,e)=>{const o=d.useRef();return d.useEffect(()=>{o.current=t},[t,e]),o.current},M=(t,e,o,a)=>t.getFixedT(e,o,a),fe=(t,e,o,a)=>d.useCallback(M(t,e,o,a),[t,e,o,a]),me=function(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:o}=e,{i18n:a,defaultNS:r}=d.useContext(D)||{},n=o||a||W();if(n&&!n.reportNamespaces&&(n.reportNamespaces=new J),!n){b("You will need to pass in an i18next instance by using initReactI18next");const g=(p,h)=>y(h)?h:de(h)&&y(h.defaultValue)?h.defaultValue:Array.isArray(p)?p[p.length-1]:p,m=[g,{},!1];return m.t=g,m.i18n={},m.ready=!1,m}n.options.react&&n.options.react.wait!==void 0&&b("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const c={...G(),...n.options.react,...e},{useSuspense:u,keyPrefix:l}=c;let s=r||n.options&&n.options.defaultNS;s=y(s)?[s]:s||["translation"],n.reportNamespaces.addUsedNamespaces&&n.reportNamespaces.addUsedNamespaces(s);const f=(n.isInitialized||n.initializedStoreOnce)&&s.every(g=>ue(g,n,c)),P=fe(n,e.lng||null,c.nsMode==="fallback"?s:s[0],l),v=()=>P,S=()=>
10M(n,e.lng||null,c.nsMode==="fallback"?s:s[0],l),[N,w]=d.useState(v);let x=s.join();e.lng&&(x=`${e.lng}${x}`);const j=ge(x),k=d.useRef(!0);d.useEffect(()=>{const{bindI18n:g,bindI18nStore:m}=c;k.current=!0,!f&&!u&&(e.lng?$(n,e.lng,s,()=>{k.current&&w(S)}):T(n,s,()=>{k.current&&w(S)})),f&&j&&j!==x&&k.current&&w(S);const p=()=>{k.current&&w(S)};return g&&n&&n.on(g,p),m&&n&&n.store.on(m,p),()=>{k.current=!1,g&&n&&g.split(" ").forEach(h=>n.off(h,p)),m&&n&&m.split(" ").forEach(h=>n.store.off(h,p))}},[n,x]),d.useEffect(()=>{k.current&&f&&w(v)},[n,l,f]);const C=[N,n,f];if(C.t=N,C.i18n=n,C.ready=f,f||!f&&!u)return C;throw new Promise(g=>{e.lng?$(n,e.lng,s,()=>g()):T(n,s,()=>g())})};function pe(t){let{i18n:e}=me();d.useEffect(()=>{e.language!==t&&e.changeLanguage(t)},[t,e])}const A={cookieName:"CH-prefers-color-scheme",getValueCode:"window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'",fallback:"light",transform(t){return t==="dark"?"dark":"light"}};function he(t,e=A.cookieName){const o=window.matchMedia("(prefers-color-scheme: dark)");function a(){const r=o.matches?"dark":"light";document.cookie=`${e}=${r}; Max-Age=31536000; SameSite=Lax; Path=/`,t(r)}return o.addEventListener("change",a),function(){o.removeEventListener("change",a)}}function ke(t){function e(r,n){const c=t[n];if(!c)throw new Error(`Unknown client hint: ${typeof n=="string"?n:"Unknown"}`);const u=r.split(";").map(l=>l.trim()).find(l=>l.startsWith(c.cookieName+"="))?.split("=")[1];if(!u)return null;try{return decodeURIComponent(u)}catch(l){return console.warn(`Failed to decode cookie value for ${c.cookieName}:`,l),null}}function o(r){const n=typeof document<"u"?document.cookie:typeof r<"u"?r.headers.get("Cookie")??"":"";return Object.entries(t).reduce((c,[u,l])=>{const s=u;return"transform"in l?c[s]=l.transform(e(n,s)??l.fallback):c[s]=e(n,s)??l.fallback,c},{})}function a(){return`
11// This block of code allows us to check if the client hints have changed and
12// force a reload of the page with updated hints if they have so you don't get
13// a flash of incorrect content.
14function checkClientHints() {
15	if (!navigator.cookieEnabled) return;
16
17	// set a short-lived cookie to make sure we can set cookies
18	document.cookie = "canSetCookies=1; Max-Age=60; SameSite=Lax; path=/";
19	const canSetCookies = document.cookie.includes("canSetCookies=1");
20	document.cookie = "canSetCookies=; Max-Age=-1; path=/";
21	if (!canSetCookies) return;
22
23	const cookies = document.cookie.split(';').map(c => c.trim()).reduce((acc, cur) => {
24		const [key, value] = cur.split('=');
25		acc[key] = value;
26		return acc;
27	}, {});
28
29	let cookieChanged = false;
30	const hints = [
31	${Object.values(t).map(r=>{const n=JSON.stringify(r.cookieName);return`{ name: ${n}, actual: String(${r.getValueCode}), value: cookies[${n}] != null ? cookies[${n}] : encodeURIComponent("${r.fallback}") }`}).join(`,
32`)}
33	];
34	
35	// Add safety check to prevent infinite refresh scenarios
36	let reloadAttempts = parseInt(sessionStorage.getItem('clientHintReloadAttempts') || '0');
37	if (reloadAttempts > 3) {
38		console.warn('Too many client hint reload attempts, skipping reload to prevent infinite loop');
39		return;
40	}
41	
42	for (const hint of hints) {
43		document.cookie = encodeURIComponent(hint.name) + '=' + encodeURIComponent(hint.actual) + '; Max-Age=31536000; SameSite=Lax; path=/';
44		
45		try {
46			const decodedValue = decodeURIComponent(hint.value);
47			if (decodedValue !== hint.actual) {
48				cookieChanged = true;
49			}
50		} catch (error) {
51			// Handle malformed URI gracefully
52			console.warn('Failed to decode cookie value during client hint check:', error);
53			// If we can't decode the value, assume it's different to be safe
54			cookieChanged = true;
55		}
56	}
57	
58	if (cookieChanged) {
59		// Increment reload attempts counter
60		sessionStorage.setItem('clientHintReloadAttempts', String(reloadAttempts + 1));
61		
62		// Hide the page content immediately to prevent visual flicker
63		const style = document.createElement('style');
64		style.textContent = 'html { visibility: hidden !important; }';
65		document.head.appendChild(style);
66
67		// Trigger the reload
68		window.location.reload();
69	} else {
70		// Reset reload attempts counter if no reload was needed
71		sessionStorage.removeItem('clientHintReloadAttempts');
72	}
73}
74
75checkClientHints();
76`}return{getHints:o,getClientHintCheckScript:a}}const ye={cookieName:"CH-time-zone",getValueCode:"Intl.DateTimeFormat().resolvedOptions().timeZone",fallback:"UTC"},we=ke({theme:A,timeZone:ye});function xe({nonce:t}){const{revalidate:e}=z();return d.useEffect(()=>he(()=>e()),[e]),i.jsx("script",{nonce:t,dangerouslySetInnerHTML:{__html:we.getClientHintCheckScript()}})}function Ce(t){d.useEffect(()=>{t&&setTimeout(()=>{X[t.type](t.title,{id:t.id,description:t.description})},0)},[t])}const Se=({theme:t,...e})=>i.jsx(Z,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e}),be="/assets/root-B6xcraKh.css",E=d.createContext("");E.Provider;const U=()=>d.useContext(E),Me={i18n:["translation"]},Ae=({location:t})=>{const{siteTitle:e,siteDescription:o,siteImage:a,siteUrl:r,xUserId:n}=K;return[{title:e},q(`${r}${t.pathname}`),Q,{name:"description",content:o},{property:"og:title",content:e},{property:"og:description",content:`${o}`},{property:"og:site_name",content:e},{property:"og:type",content:"lp"},{property:"og:url",content:r},{property:"og:image",content:`${r}${a}`},{name:"twitter:title",content:e},{name:"twitter:description",content:o},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:image",content:`${r}${a}`},{name:"twitter:site",content:n},{name:"twitter:creator",content:n},{property:"fb:app_id",content:""},{rel:"apple-touch-icon",href:"/apple-touch-icon.png"}]},Ee=()=>[{rel:"stylesheet",href:be}];function Ue(){const t=U(),{locale:e,toast:o,csrfToken:a,honeypotProps:r,isProd:n}=oe();return pe(e),Ce(o),i.jsx(O,{nonce:t,theme:"light",lang:e??"ja",isProd:n,children:i.jsx(V,{token:a,children:i.jsx(_,{...r,children:i.jsx(B,{})})})})}function Oe(){const t=U();return i.jsx(O,{nonce:t,theme:"light",children:i.jsx(Y,{statusHandlers:{403:({error:e})=>i.jsxs("p",{children:["You are not allowed to do that: ",e?.data.message]})}})})}const O=({children:t,nonce:e,lang:o="ja",dir:a="ltr",theme:r="light",isProd:n=!1})=>{const{pathname:c}=R(),u=n&&!c.startsWith("/management");return i.jsxs("html",{lang:o,dir:a,className:`${r} overflow-x-hidden`,style:{colorScheme:r},children:[i.jsxs("head",{children:[i.jsx("meta",{charSet:"utf-8"}),i.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),i.jsx(xe,{nonce:e}),i.jsx(re,{}),i.jsx(ae,{}),u&&i.jsxs(i.Fragment,{children:[i.jsx("script",{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=G-LXD4DFC040",nonce:e}),i.jsx("script",{nonce:e,dangerouslySetInnerHTML:{__html:`
77              
vendor: 169 bytes, lines 77-80
77window.dataLayer = window.dataLayer || [];
78              function gtag(){dataLayer.push(arguments);}
79              gtag('js', new Date());
80              gtag('config', '
80G-LXD4DFC040
vendor: 18 bytes, lines 80-81
80');
81              
81`}})]})]}),i.jsxs("body",{className:"h-auto w-full",children:[t,i.jsx(ie,{nonce:e}),i.jsx(se,{nonce:e}),i.jsx(Se,{closeButton:!0,position:"bottom-center",theme:r})]})]})};export{Oe as ErrorBoundary,Ue as default,Me as handle,Ee as links,Ae as meta};

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.