Files
2026-06-13 18:33:22 +09:00

1 line
14 KiB
JavaScript

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[37018],{41603:(e,t,n)=>{n.d(t,{BA:()=>o,J8:()=>l,Vb:()=>i,u4:()=>a,x2:()=>r});let r='[data-br="1"]',a='[data-br="1"][data-br-n]';function i(e){let t=document.documentElement;if(!t)return[];try{return Array.from(Element.prototype.querySelectorAll.call(t,e))}catch(t){return console.warn("[ntk-ad] root query failed",e,t),[]}}function o(e=r){let t=i(e).length;if(0===t)return!1;try{return document.querySelectorAll(e).length<t}catch{return!0}}function l(e){return e.getBoundingClientRect()}},68950:(e,t,n)=>{n.d(t,{qv:()=>b,qS:()=>y,pI:()=>S});let r="__ntk_ev_id";function a(e){return"string"==typeof e&&/^[a-f0-9]{32,64}$/.test(e)}async function i(e){try{if("u"<typeof caches)return;let t=await caches.open("__ntk_ev");await t.put(`/__ntk_ev/${r}`,new Response(e,{headers:{"content-type":"text/plain"}}))}catch{}}async function o(){try{if("u"<typeof caches)return null;let e=await caches.open("__ntk_ev"),t=await e.match(`/__ntk_ev/${r}`);if(!t)return null;let n=(await t.text()).trim();return a(n)?n:null}catch{return null}}async function l(){let e={cookie:function(){try{let e=document.cookie.match(RegExp(`(?:^|;\\s*)${r}=([a-f0-9]{32,64})`));return e?e[1]:null}catch{return null}}(),ls:function(){try{let e=localStorage.getItem(r);return a(e)?e:null}catch{return null}}(),ss:function(){try{let e=sessionStorage.getItem(r);return a(e)?e:null}catch{return null}}(),idb:await new Promise(e=>{try{let t=indexedDB.open("__ntk_ev",1);t.onupgradeneeded=e=>{let t=e.target.result;t.objectStoreNames.contains("kv")||t.createObjectStore("kv")},t.onsuccess=t=>{try{let n=t.target.result;if(!n.objectStoreNames.contains("kv")){n.close(),e(null);return}let i=n.transaction("kv","readonly").objectStore("kv").get(r);i.onsuccess=()=>{let t=i.result;n.close(),e(a(t)?t:null)},i.onerror=()=>{n.close(),e(null)}}catch{e(null)}},t.onerror=()=>e(null)}catch{e(null)}}),cache:await o(),wn:function(){try{let e=(window.name||"").match(RegExp(`${r}=([a-f0-9]{32,64})`));return e?e[1]:null}catch{return null}}()},t=[],n=new Map;for(let[r,i]of Object.entries(e))a(i)&&(t.push(r),n.set(i,(n.get(i)||0)+1));let l=null;if(n.size>0){let e=0;for(let[t,r]of n)r>e&&(e=r,l=t)}l||(l=function(){if("u">typeof crypto&&crypto.getRandomValues){let e=new Uint8Array(32);return crypto.getRandomValues(e),Array.from(e,e=>e.toString(16).padStart(2,"0")).join("")}return`${Date.now().toString(16)}${Math.random().toString(16).slice(2)}`.slice(0,64)}());let c=[];if(e.cookie!==l){var s,u=l;try{document.cookie=`${r}=${u}; Path=/; Max-Age=31536000; SameSite=Lax; Secure`}catch{}c.push("cookie")}if(e.ls!==l){var d=l;try{localStorage.setItem(r,d)}catch{}c.push("ls")}if(e.ss!==l){var h=l;try{sessionStorage.setItem(r,h)}catch{}c.push("ss")}if(e.idb!==l&&(await (s=l,new Promise(e=>{try{let t=indexedDB.open("__ntk_ev",1);t.onupgradeneeded=e=>{let t=e.target.result;t.objectStoreNames.contains("kv")||t.createObjectStore("kv")},t.onsuccess=t=>{try{let n=t.target.result,a=n.transaction("kv","readwrite");a.objectStore("kv").put(s,r),a.oncomplete=()=>{n.close(),e()},a.onerror=()=>e()}catch{e()}},t.onerror=()=>e()}catch{e()}})),c.push("idb")),e.cache!==l&&(await i(l),c.push("cache")),e.wn!==l){var g=l;try{let e=(window.name||"").replace(RegExp(`${r}=[a-f0-9]{32,64};?`),"");window.name=`${r}=${g};${e}`}catch{}c.push("wn")}return{id:l,channels:t,restored:c}}let c=/^[a-f0-9]{32,64}$/,s=/^[a-f0-9]{32}$/,u=null;function d(e){return"string"==typeof e&&/^[a-fA-F0-9]{16,}$/.test(e)}function h(e){try{let t=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),n=document.cookie.match(RegExp(`(?:^|;\\s*)${t}=([^;]*)`));return n?decodeURIComponent(n[1]||""):null}catch{return null}}function g(e,t){var n;let r=e>>>0;for(let e=0;e<t.length;e++)r^=t.charCodeAt(e),r=Math.imul(r,0x1000193)>>>0;return n=r,`00000000${(n>>>0).toString(16)}`.slice(-8)}function p(){try{let e=new Uint8Array(16);return crypto.getRandomValues(e),Array.from(e,e=>e.toString(16).padStart(2,"0")).join("")}catch{let e=`${Date.now()}|${Math.random()}|${navigator.userAgent}|${location.href}`;return g(0x811c9dc5,e)+g(0xbb40e64d,e)+g(0x9e3779b1,e)+g(0x5f356495,e)}}function f(){if("u"<typeof document)return!1;if(d(h("ntk_fp")))return!0;let e=window.navigator,t=[e.userAgent||"",e.language||"",Array.isArray(e.languages)?e.languages.join(","):"",String(e.hardwareConcurrency||0),String(e.deviceMemory||0),e.platform||"",String(e.maxTouchPoints||0),window.screen?`${window.screen.width||0}x${window.screen.height||0}x${window.screen.colorDepth||0}`:"",String(new Date().getTimezoneOffset()),"u">typeof Intl&&Intl.DateTimeFormat&&Intl.DateTimeFormat().resolvedOptions().timeZone||"",function(){try{let e=document.createElement("canvas");e.width=200,e.height=50;let t=e.getContext("2d");if(!t)return"";t.textBaseline="top",t.font="14px Arial",t.fillStyle="#f60",t.fillRect(0,0,100,50),t.fillStyle="#069",t.fillText("ntk-fp-\xa9",2,2),t.fillStyle="rgba(102,204,0,0.7)",t.fillText("ntk-fp-\xa9",4,4);let n=e.toDataURL();return n.slice(Math.max(0,n.length-120))}catch{return""}}(),function(){try{let e=document.createElement("canvas").getContext("webgl");if(!e)return"";let t=e.getExtension("WEBGL_debug_renderer_info");if(!t)return"";return[String(e.getParameter(t.UNMASKED_VENDOR_WEBGL)||""),String(e.getParameter(t.UNMASKED_RENDERER_WEBGL)||"")].join("|")}catch{return""}}()].join("|"),n=t.replace(/\|/g,"")?g(0x811c9dc5,t)+g(0xbb40e64d,t)+g(0x9e3779b1,t)+g(0x5f356495,t):p();d(n)||(n=p());let r="https:"===window.location.protocol?"; Secure":"";try{document.cookie=`ntk_fp=${encodeURIComponent(n)}; Path=/; Max-Age=31536000; SameSite=Lax${r}`,window.__ntk_fp_ready=1}catch{return!1}return d(h("ntk_fp"))}function m(e){if(!e)return null;let t=e.trim().replace(/^W\//i,"").replace(/^"|"$/g,"");return s.test(t)?t:null}function _(){try{let e=h("__ntk_ev_id");if(e&&c.test(e))return e;let t=localStorage.getItem("__ntk_ev_id");if(t&&c.test(t))return t;let n=sessionStorage.getItem("__ntk_ev_id");if(n&&c.test(n))return n}catch{}return null}function y(){let e=_(),t=m(h("__ntk_et_id"));return{evId:e,etId:t,hasFp:!!h("ntk_fp"),hasPid:!!h("ntk_pid"),hasEv:!!e,hasEt:!!t}}async function w(){let e=m(h("__ntk_et_id"));try{let t=await fetch("/api/ev/etag",{method:"GET",cache:"no-cache",credentials:"same-origin",headers:{Accept:"image/gif"}}),n=m(t.headers.get("etag"));return m(h("__ntk_et_id"))||n||e}catch{return e}}async function k(e){let t=`ntk:ev-sync:${e}`,n=Date.now();try{let e=Number(localStorage.getItem(t)||"0");if(Number.isFinite(e)&&e>n)return;localStorage.setItem(t,String(n+6e4))}catch{}try{let r=await fetch("/api/ev/sync",{method:"POST",credentials:"same-origin",keepalive:!0,headers:{"Content-Type":"application/json"},body:JSON.stringify({evId:e})});try{localStorage.setItem(t,String(n+(r.ok?18e5:6e4)))}catch{}}catch{try{localStorage.setItem(t,String(n+6e4))}catch{}}}function v(e){try{window.__ntkIdentity=e}catch{}return e}async function b(){return u||(u=(async()=>{f();let[e,t]=await Promise.all([l().catch(()=>({id:_()||"",channels:[],restored:[]})),w()]);f();let n=c.test(e.id)?e.id:_();n&&await k(n);let r=y(),a=n||r.evId,i=t||r.etId;return v({...r,evId:a,etId:i,hasEv:!!a,hasEt:!!i})})().catch(()=>v(y())))}async function S(e=5e3){if(f()||y().hasFp)return!0;b().catch(()=>null);let t=Date.now()+Math.max(0,e);for(;Date.now()<t;)if(await new Promise(e=>window.setTimeout(e,50)),f()||y().hasFp)return!0;return!!f()||y().hasFp}},73133:(e,t,n)=>{n.d(t,{m:()=>g});var r=n(41603),a=n(68950);let i=new Set(["prototype_tampered","userscript_spoof"]);function o(e,t){let n=RegExp(`${t}\\((-?\\d*\\.?\\d+)(%)?\\)`,"g"),r=1,a=!1;for(let t=n.exec(e);t;t=n.exec(e)){let e=Number(t[1]);Number.isFinite(e)&&(a=!0,r*=t[2]?e/100:e)}return a?r:1}function l(e){if("none"===e.display||"visible"!==e.visibility)return!0;let t=parseFloat(e.opacity||"1");if(Number.isFinite(t)&&t<.5||"none"===e.pointerEvents)return!0;let n=(e.filter||"").replace(/\s+/g,"").toLowerCase();if(.5>o(n,"opacity")||.1>=o(n,"brightness")||.05>=o(n,"contrast")||"hidden"===e.contentVisibility)return!0;let r=(e.getPropertyValue("mask-image")||e.getPropertyValue("-webkit-mask-image")||"").replace(/\s+/g,"").toLowerCase();return!!(r&&"none"!==r&&(r.includes("transparent")||r.includes("rgba(0,0,0,0)")||r.includes("#0000")))}function c(e,t,n){return"number"==typeof e&&Number.isFinite(e)?Math.min(n,Math.max(t,e)):null}function s(e,t=240){return"string"==typeof e&&e?e.slice(0,t):null}function u(e){return"boolean"==typeof e?e:null}function d(e){let t={};for(let[n,r]of Object.entries(e))null!=r&&(t[n]=r);return t}function h(e){let t=window.getComputedStyle(e),n=(0,r.J8)(e);return d({tag:e.tagName.toLowerCase(),display:s(t.display,80),visibility:s(t.visibility,80),opacity:s(t.opacity,40),pointerEvents:s(t.pointerEvents,40),filter:s(t.filter,120),position:s(t.position,80),contentVisibility:s(t.contentVisibility,40),hiddenAttr:e.hasAttribute("hidden"),dataBs:e.hasAttribute("data-bs"),dataBp:e.hasAttribute("data-bp"),rect:d({x:Math.round(n.x),y:Math.round(n.y),width:Math.round(100*n.width)/100,height:Math.round(100*n.height)/100})})}function g(e,t={}){try{(async()=>{var n;let o,g,f,m,_,y,w,k,v,b,S,x,I,E=t.baseline??0,A=t.visible??0,$=await Promise.race([(0,a.qv)(),new Promise(e=>setTimeout(()=>e((0,a.qS)()),900))]).catch(()=>(0,a.qS)()),P=JSON.stringify({reason:e,baseline:E,visible:A,evId:$.evId,etId:$.etId,details:(n=t.evidence,d({clientVersion:1,reason:s(e,80),identity:d({evPresent:$.hasEv,etPresent:$.hasEt,fpPresent:$.hasFp,pidPresent:$.hasPid,evLen:$.evId?$.evId.length:null,etLen:$.etId?$.etId.length:null}),page:d({path:s(window.location.pathname,300),queryPresent:window.location.search.length>0,hashPresent:window.location.hash.length>0,title:s(document.title,160)}),browser:function(){try{let e=navigator,t=Array.isArray(e.userAgentData?.brands)?e.userAgentData.brands.slice(0,8).map(e=>d({brand:s(e.brand,80),version:s(e.version,20)})):null;return d({userAgent:s(e.userAgent,500),language:s(e.language,80),languages:Array.from(e.languages||[]).slice(0,10).map(e=>e.slice(0,40)),platform:s(e.platform,120),vendor:s(e.vendor,120),cookieEnabled:u(e.cookieEnabled),webdriver:u(e.webdriver),doNotTrack:s(e.doNotTrack,20),userAgentData:t?d({mobile:u(e.userAgentData?.mobile),platform:s(e.userAgentData?.platform,80),brands:t}):null})}catch{return{readError:!0}}}(),device:(o=navigator,g=Reflect.construct(Date,[]),d({hardwareConcurrency:c(o.hardwareConcurrency,0,512),deviceMemory:c(o.deviceMemory,0,1024),maxTouchPoints:c(o.maxTouchPoints,0,100),devicePixelRatio:c(window.devicePixelRatio,0,20),viewport:d({width:c(window.innerWidth,0,2e4),height:c(window.innerHeight,0,2e4),outerWidth:c(window.outerWidth,0,2e4),outerHeight:c(window.outerHeight,0,2e4)}),screen:d({width:c(screen.width,0,2e4),height:c(screen.height,0,2e4),availWidth:c(screen.availWidth,0,2e4),availHeight:c(screen.availHeight,0,2e4),colorDepth:c(screen.colorDepth,0,128),pixelDepth:c(screen.pixelDepth,0,128),orientation:s(screen.orientation?.type,60)}),timezone:s(Intl.DateTimeFormat().resolvedOptions().timeZone,120),timezoneOffset:c(g.getTimezoneOffset(),-1440,1440)})),cookies:function(){let e=new Set(["ntk_fp","ntk_pid","__ntk_ev_id","__ntk_et_id","ntk_blk","ntk_blk_ok","ad_ack","ad_ack_c","newtoki_sid","ntk_page_mode_size"]);try{let t=document.cookie.split(";").map(e=>e.trim()).filter(Boolean),n=t.map(e=>e.split("=")[0]?.trim()||"").filter(Boolean).slice(0,40),r={};for(let t of e)r[t]=n.includes(t);let a=n.filter(t=>!e.has(t)).slice(0,20);return d({totalCount:t.length,known:r,unknownCount:Math.max(0,n.length-Object.values(r).filter(Boolean).length),unknownNames:a})}catch{return{readError:!0}}}(),storage:function(){let e={},t={};try{e.ok=!0,e.ntkPidPresent=null!==localStorage.getItem("ntk_pid"),e.ntkEvPresent=null!==localStorage.getItem("__ntk_ev_id"),e.ntkBlkPresent=null!==localStorage.getItem("ntk_blk"),e.ntkBlkOkPresent=null!==localStorage.getItem("ntk_blk_ok"),e.length=c(localStorage.length,0,1e4)}catch{e.ok=!1}try{t.ok=!0,t.length=c(sessionStorage.length,0,1e4)}catch{t.ok=!1}return d({localStorage:e,sessionStorage:t,indexedDbOk:"u">typeof indexedDB})}(),init:(f=window,m=Array.from(document.scripts).filter(e=>/\/init\/block\.js(?:[?#]|$)/.test(e.getAttribute("src")||"")),d({ibOk:1===f.__ntk_ib_ok,ibLoaded:1===f.__ntk_ib_loaded,bSeen:"number"==typeof f.__bSeen&&Number.isFinite(f.__bSeen)?Math.floor(f.__bSeen):null,initScriptTags:m.length})),slots:(_=(0,r.Vb)(r.x2),y=0,w=0,k=0,v=0,b=0,S=0,x=[],_.slice(0,20).forEach((e,t)=>{let n=parseInt(e.getAttribute("data-br-n")||"0",10);Number.isFinite(n)&&n>0&&(y+=n);let r=l(window.getComputedStyle(e));r&&(k+=1);let a=Array.from(e.children).filter(e=>e instanceof HTMLElement),i=a.filter(e=>"BUTTON"===e.tagName).slice(0,Number.isFinite(n)&&n>0?n:a.length);w+=i.length,i.slice(0,6).forEach((n,a)=>{let i=window.getComputedStyle(n),o=r||l(i),s=n.querySelector("img"),u=!!s&&l(window.getComputedStyle(s));(o||u)&&(v+=1),s&&(b+=1),s?.complete&&0===s.naturalWidth&&(S+=1),x.length<24&&(o||r||u||s?.complete&&0===s.naturalWidth)&&x.push(d({rowIndex:t,slotIndex:a,row:h(e),slot:h(n),image:s?d({complete:s.complete,naturalWidth:c(s.naturalWidth,0,2e4),naturalHeight:c(s.naturalHeight,0,2e4)}):null}))})}),d({rows:_.length,expectedTotal:y,slotTotal:w,hiddenRows:k,hiddenSlots:v,imageTotal:b,brokenImages:S,samples:x})),performance:(I=performance.getEntriesByType("navigation")[0],d({nowMs:Math.round(performance.now()),visibilityState:s(document.visibilityState,40),navigation:I?d({type:s(I.type,40),transferSize:c(I.transferSize,0,1e8),encodedBodySize:c(I.encodedBodySize,0,1e8),decodedBodySize:c(I.decodedBodySize,0,1e8),duration:c(Math.round(I.duration),0,36e5)}):null})),adblock:n||null}))});i.has(e)&&p(e,E,A,$.evId,$.etId);try{let e=new Blob([P],{type:"application/json"});if(navigator.sendBeacon?.("/api/m/ev",e))return}catch{}try{fetch("/api/m/ev",{method:"POST",headers:{"Content-Type":"application/json"},body:P,keepalive:!0}).then(e=>{if(!e||!e.ok)throw Error("not_ok")}).catch(()=>p(e,E,A,$.evId,$.etId));return}catch{}p(e,E,A,$.evId,$.etId)})()}catch{}}function p(e,t,n,r,a){try{let i=new URLSearchParams;i.set("r",e),i.set("b",String(t)),i.set("v",String(n)),r&&i.set("e",r),a&&i.set("et",a),i.set("t",String(Date.now())),new Image().src=`/api/m/ev?${i.toString()}`}catch{}}},74337:(e,t,n)=>{function r(e){try{return window.__ntk_ad_ack_scope===e}catch{return!1}}function a(e){try{let t=window;e&&t.__ntk_ad_ack_scope!==e||delete t.__ntk_ad_ack_scope}catch{}}function i(e){try{let t=window;t.__ntk_ad_ack_scope&&t.__ntk_ad_ack_scope!==e&&delete t.__ntk_ad_ack_scope}catch{}}n.d(t,{s3:()=>a,tZ:()=>r,ze:()=>i})}}]);