PageSourceSearch

https://hoot.ne.jp/_next/static/chunks/5231-6dde249c19d3ed45.js

js hoot.ne.jp collected 2026-10-02 00:38:04 UTC 5,869 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5231],{16427:(e,t,n)=>{n.d(t,{BR:()=>r,HK:()=>l,Xd:()=>c,Yo:()=>f,aS:()=>m,by:()=>v,eQ:()=>g,fo:()=>s,ji:()=>y,mx:()=>A,qc:()=>a,vq:()=>K,zM:()=>i});let r=["toggleMute","toggleDistance"],l={toggleMute:"ミュート",toggleDistance:"はなれる"},i={bindings:{toggleMute:{code:"KeyD",mod:!0,shift:!1,alt:!1},toggleDistance:{code:"KeyD",mod:!0,shift:!0,alt:!1}},characterKeys:{focusChat:!0,openRoom:!0}},o=/^(Key[A-Z]|Digit[0-9])$/,u=new Set(["Shift","Control","Alt","AltGraph","Meta","OS","CapsLock","Fn","FnLock"]);function c(e){return e.isComposing||229===e.keyCode}function s(e){return u.has(e.key)}function f(e){return{code:e.code,mod:e.metaKey||e.ctrlKey,shift:e.shiftKey,alt:e.altKey}}function a(e,t){return null===e||null===t?e===t:e.code===t.code&&e.mod===t.mod&&e.shift===t.shift&&e.alt===t.alt}function y(e,t){return!(!t||c(e))&&e.code===t.code&&(e.metaKey||e.ctrlKey)===t.mod&&e.shiftKey===t.shift&&e.altKey===t.alt}function d(e){return e.startsWith("Key")?e.slice(3):e.startsWith("Digit")?e.slice(5):e}function K(e){return e?{shortcutKey:d(e.code),withMeta:e.mod,withShift:e.shift,withAlt:e.alt}:{shortcutKey:void 0}}function g(e){if(!e)return;let t=[e.alt?"Alt":null,e.shift?"Shift":null,d(e.code)].filter(e=>null!==e).join("+");return e.mod?"Meta+".concat(t," Control+").concat(t):t}let h={KeyN:"新しいウィンドウ",KeyT:"新しいタブ",KeyW:"タブを閉じる",KeyR:"再読み込み",KeyL:"アドレスバーの選択"},b={KeyN:"シークレットウィンドウ",KeyT:"閉じたタブを開き直す",KeyW:"ウィンドウを閉じる"},k={KeyQ:"ブラウザの終了"},p={KeyA:"すべて選択",KeyC:"コピー",KeyV:"貼り付け",KeyX:"切り取り",KeyY:"やり直し",KeyZ:"取り消し"};function m(e,t,n,u){let{code:c,mod:s,alt:f}=e;if(!o.test(c))return{kind:"rejected",reason:"A〜Z か 0〜9 のキーと組み合わせてください"};if(!s&&!f)return{kind:"rejected",reason:u?"⌘ か ⌥ と組み合わせてください":"Ctrl か Alt と組み合わせてください"};if(!u&&s&&f)return{kind:"rejected",reason:"Ctrl と Alt の組み合わせは、キーボードによっては文字の入力に使われるため選べません"};let y=function(e,t){var n,r,l;let{code:i,mod:o,shift:u,alt:c}=e;return!o||c?null:u?null!=(n=b[i])?n:null:null!=(l=null!=(r=h[i])?r:t?k[i]:void 0)?l:null}(e,u);if(y)return{kind:"rejected",reason:"ブラウザの「".concat(y,"」に使われているため、hoot では使えません")};for(let i of r)if(i!==t&&a(n.bindings[i],e))return{kind:"rejected",reason:"すでに「".concat(l[i],"」に使われています")};let d=function(e){var t;let{code:n,mod:r,shift:l,alt:i}=e;return!r||i?null:l&&"KeyZ"===n?"やり直し":null!=(t=p[n])?t:null}(e);if(d)return{kind:"rejected",reason:"チャット欄の「".concat(d,"」に使われているため、選べません")};if(a(e,i.bindings[t]))return{kind:"ok"};let K=function(e,t){let{code:n,mod:r,shift:l,alt:i}=e;if(r&&!i&&!l){if(n.startsWith("Digit"))return"Digit0"===n?"表示倍率のリセット":"タブの切り替え";let e={KeyD:"ブックマークへの追加",KeyF:"ページ内検索",KeyG:"次を検索",KeyS:"ページの保存",KeyP:"印刷",KeyO:"ファイルを開く",KeyU:"ページのソースを表示"};return e[n]?e[n]:t&&"KeyH"===n?"ブラウザを隠す":t&&"KeyM"===n?"ウィンドウをしまう":t||"KeyH"!==n?t||"KeyJ"!==n?null:"ダウンロード":"履歴"}if(r&&l&&!i)return"KeyD"===n?"すべてのタブをブックマーク":"KeyB"===n?"ブックマークバーの表示":t||"KeyI"!==n&&"KeyJ"!==n?t||"KeyO"!==n?null:"ブックマークマネージャ":"デベロッパーツール";if(i&&!r){if(t)return"⌥ を使った記号の入力";if("KeyD"===n)return"アドレスバーの選択";if("KeyF"===n||"KeyE"===n)return"ブラウザのメニュー"}return null}(e,u);return K?{kind:"needsConfirm",lostFeature:K}:{kind:"ok"}}function v(e){var t,n;if("object"!=typeof e||null===e||1!==e.version)return i;let l={...i.bindings};for(let n of r){let r=null==(t=e.bindings)?void 0:t[n];null===r?l[n]=null:"object"==typeof r&&null!==r&&"string"==typeof r.code&&o.test(r.code)&&"boolean"==typeof r.mod&&"boolean"==typeof r.shift&&"boolean"==typeof r.alt&&(!0===r.mod||!0===r.alt)&&(l[n]=r)}let u={...i.characterKeys};for(let t of Object.keys(u)){let r=null==(n=e.characterKeys)?void 0:n[t];"boolean"==typeof r&&(u[t]=r)}if(null!==l.toggleMute&&a(l.toggleMute,l.toggleDistance)){let e=i.bindings.toggleDistance;l.toggleDistance=a(e,l.toggleMute)?null:e}return{bindings:l,characterKeys:u}}function A(e){return{version:1,...e}}},64735:(e,t,n)=>{n.d(t,{H:()=>y,l:()=>d});var r=n(12115),l=n(16427),i=n(69471);let o=null,u=!1,c=new Set;
1function s(){c.forEach(e=>e())}function f(){return o||(o=(0,l.by)(i.LA.get()))}function a(e){o=e,i.LA.set((0,l.mx)(e)),s()}window.addEventListener("storage",e=>{(null===e.key||e.key===i.LA.key)&&(o=null,s())});let y={get:f,setBinding(e,t){let n=f();a({...n,bindings:{...n.bindings,[e]:t}})},setCharacterKey(e,t){let n=f();a({...n,characterKeys:{...n.characterKeys,[e]:t}})},reset(){i.LA.clear(),o=l.zM,s()},subscribe:e=>(c.add(e),()=>{c.delete(e)}),isRecording:()=>u,setRecording(e){u=e}};function d(){return(0,r.useSyncExternalStore)(y.subscribe,y.get,()=>l.zM)}},83293:(e,t,n)=>{n.d(t,{Iz:()=>o,Ud:()=>i,fU:()=>l,uU:()=>u});var r=n(12115);function l(){return"undefined"!=typeof navigator&&/Mac|iPhone|iPad/i.test(navigator.userAgent)}function i(){let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{t(l())},[]),e}function o(e,t){let{shortcutKey:n,withMeta:r=!0,withShift:l=!1,withAlt:i=!1}=e;if(!n)return[];let o=[];return t?(i&&o.push("⌥"),l&&o.push("⇧"),r&&o.push("⌘")):(r&&o.push("Ctrl"),i&&o.push("Alt"),l&&o.push("Shift")),o.push(n),o}function u(e,t){let n=o(e,t);return t?n.join(""):n.join("+")}}}]);

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.