PageSourceSearch

https://hataractive.jp/_next/static/chunks/0nkkp21jwbfbv.js

js hataractive.jp collected 2026-10-01 12:30:06 UTC 12,199 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,467280,e=>{"use strict";e.s(["APP_SESSION_RETRY_PARAM",0,"app_session_retry","NATIVE_APP_LOGIN_UA_SUFFIX",0,"ht-app-login","NATIVE_APP_MESSAGE_ENTRY_COMPLETE",0,"ht-registration-complete","NATIVE_APP_MESSAGE_RESERVATION_COMPLETE",0,"ht-reservation-complete","NATIVE_APP_UA_SUFFIX",0,"hataractive-app"])},502152,e=>{"use strict";e.s(["privateGet",()=>s]);var t=e.i(247167),r=e.i(376315);async function s(e,s,i){let a=`${t.default.env.BACKEND_HOST??"http://localhost:8080"}/api/`+e,o={...i};o.headers={"Private-API-Key":`${t.default.env.BACKEND_API_KEY??""}`,...o.headers};let n={method:"get",...o};return await (0,r.get)(a,s,n)}},376315,e=>{"use strict";e.s(["HttpError",()=>s,"clientGet",()=>n,"get",()=>a,"post",()=>o]),e.i(247167);var t=e.i(229931),r=e.i(731141);e.i(502152);class s extends Error{status;statusText;url;payload;constructor(e,t){super(e.statusText),this.name="HttpError",this.status=e.status,this.statusText=e.statusText,this.url=e.url,this.payload=t,this.message=t.message??""}serialize(){return{name:this.name,message:this.message,stack:this.stack,status:this.status,statusText:this.statusText,url:this.url,payload:this.payload}}}async function i(e,r){let i=await fetch(e,r);if(!i.ok){let e=await i.json();throw new s(i,e)}return(0,t.default)(await i.json().catch(()=>({})),{deep:!0})}async function a(e,t,r){let s;t&&(e+=`?${s=new URLSearchParams,Object.keys(t).map(e=>{let r=t[e]??"";return Array.isArray(r)?r.forEach(t=>s.append(e+"[]",t)):s.append(e,r.toString())}),s.toString()}`);let a={method:"get",...r};return await i(e,a)}async function o(e,t,s){let a={method:"post",body:JSON.stringify(t),headers:new Headers({"X-XSRF-TOKEN":(0,r.parseCookies)()["XSRF-TOKEN"]??"","Content-Type":"application/json;charset=UTF-8","X-Custom-Header":"c697d141200284d3c8fa6565d3325ac78e0bc904ab724a27dd5214ae280cc143",Origin:"https://hataractive.jp"}),...s};return await i(e,a)}let n=async(e,t,r)=>await a(`https://hataractive.jp/api/${e}`,t,r)},723861,e=>{"use strict";e.i(247167),e.s(["isProEnv",0,!0,"isStgEnv",0,!1])},462819,(e,t,r)=>{"use strict";r.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var r={},i=e.split(";"),a=(t||{}).decode||s,o=0;o<i.length;o++){var n=i[o],c=n.indexOf("=");if(!(c<0)){var l=n.substring(0,c).trim();if(void 0==r[l]){var h=n.substring(c+1,n.length).trim();'"'===h[0]&&(h=h.slice(1,-1)),r[l]=function(e,t){try{return t(e)}catch(t){return e}}(h,a)}}}return r},r.serialize=function(e,t,r){var s=r||{},o=s.encode||i;if("function"!=typeof o)throw TypeError("option encode is invalid");if(!a.test(e))throw TypeError("argument name is invalid");var n=o(t);if(n&&!a.test(n))throw TypeError("argument val is invalid");var c=e+"="+n;if(null!=s.maxAge){var l=s.maxAge-0;if(isNaN(l)||!isFinite(l))throw TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(l)}if(s.domain){if(!a.test(s.domain))throw TypeError("option domain is invalid");c+="; Domain="+s.domain}if(s.path){if(!a.test(s.path))throw TypeError("option path is invalid");c+="; Path="+s.path}if(s.expires){if("function"!=typeof s.expires.toUTCString)throw TypeError("option expires is invali
1d");c+="; Expires="+s.expires.toUTCString()}if(s.httpOnly&&(c+="; HttpOnly"),s.secure&&(c+="; Secure"),s.sameSite)switch("string"==typeof s.sameSite?s.sameSite.toLowerCase():s.sameSite){case!0:case"strict":c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"none":c+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return c};var s=decodeURIComponent,i=encodeURIComponent,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/},899768,(e,t,r)=>{"use strict";var s={decodeValues:!0,map:!1,silent:!1};function i(e){return"string"!=typeof e||e in{}}function a(){return Object.create(null)}function o(e){return"string"==typeof e&&!!e.trim()}function n(e,t){var r,n,c,l,h=e.split(";").filter(o),u=(r=h.shift(),n="",c="",(l=r.split("=")).length>1?(n=l.shift(),c=l.join("=")):c=r,{name:n,value:c}),p=u.name,f=u.value;if(t=t?Object.assign({},s,t):s,i(p))return null;try{f=t.decodeValues?decodeURIComponent(f):f}catch(e){console.error("set-cookie-parser: failed to decode cookie value. Set options.decodeValues=false to disable decoding.",e)}var d=a();return d.name=p,d.value=f,h.forEach(function(e){var t=e.split("="),r=t.shift().trimLeft().toLowerCase();if(!i(r)){var s=t.join("=");if("expires"===r)d.expires=new Date(s);else if("max-age"===r){var a=parseInt(s,10);Number.isNaN(a)||(d.maxAge=a)}else"secure"===r?d.secure=!0:"httponly"===r?d.httpOnly=!0:"samesite"===r?d.sameSite=s:"partitioned"===r?d.partitioned=!0:r&&(d[r]=s)}}),d}function c(e,t){if(t=t?Object.assign({},s,t):s,!e)if(!t.map)return[];else return a();if(e.headers)if("function"==typeof e.headers.getSetCookie)e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var r=e.headers[Object.keys(e.headers).find(function(e){return"set-cookie"===e.toLowerCase()})];r||!e.headers.cookie||t.silent||console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=r}if(Array.isArray(e)||(e=[e]),!t.map)return e.filter(o).map(function(e){return n(e,t)}).filter(Boolean);var c=a();return e.filter(o).reduce(function(e,r){var s=n(r,t);
1return s&&!i(s.name)&&(e[s.name]=s),e},c)}t.exports=c,t.exports.parse=c,t.exports.parseString=n,t.exports.splitCookiesString=function(e){if(Array.isArray(e))return e;if("string"!=typeof e)return[];var t,r,s,i,a,o=[],n=0;function c(){for(;n<e.length&&/\s/.test(e.charAt(n));)n+=1;return n<e.length}for(;n<e.length;){for(t=n,a=!1;c();)if(","===(r=e.charAt(n))){for(s=n,n+=1,c(),i=n;n<e.length&&"="!==(r=e.charAt(n))&&";"!==r&&","!==r;)n+=1;n<e.length&&"="===e.charAt(n)?(a=!0,n=i,o.push(e.substring(t,s)),t=n):n=s+1}else n+=1;(!a||n>=e.length)&&o.push(e.substring(t,e.length))}return o}},761326,(e,t,r)=>{"use strict";var s=e.e&&e.e.__assign||function(){return(s=Object.assign||function(e){for(var t,r=1,s=arguments.length;r<s;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function i(e,t){var r=Object.getOwnPropertyNames(e),s=Object.getOwnPropertyNames(t);if(r.length!==s.length)return!1;for(var i=0;i<r.length;i++){var a=r[i];if(e[a]!==t[a])return!1}return!0}Object.defineProperty(r,"__esModule",{value:!0}),r.areCookiesEqual=r.hasSameProperties=r.createCookie=r.isBrowser=void 0,r.isBrowser=function(){return"u">typeof window},r.createCookie=function(e,t,r){var i=r.sameSite;!0===i&&(i="strict"),(void 0===i||!1===i)&&(i="lax");var a=s(s({},r),{sameSite:i});return delete a.encode,s({name:e,value:t},a)},r.hasSameProperties=i,r.areCookiesEqual=function(e,t){var r=e.sameSite===t.sameSite;return"string"==typeof e.sameSite&&"string"==typeof t.sameSite&&(r=e.sameSite.toLowerCase()===t.sameSite.toLowerCase()),i(s(s({},e),{sameSite:void 0}),s(s({},t),{sameSite:void 0}))&&r}},731141,(e,t,r)=>{"use strict";var s=e.e&&e.e.__assign||function(){return(s=Object.assign||function(e){for(var t,r=1,s=arguments.length;r<s;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(r,"__esModule",{value:!0}),r.destroyCookie=r.setCookie=r.parseCookies=void 0;var i=e.r(462819),a=e.r(899768),o=e.r(761326);function n(e,t){var r,s;return(null==(s=null==(r=null==e?void 0:e.req)?void 0:r.headers)?void 0:s.cookie)?i.parse(e.req.headers.cookie,t):o.isBrowser()?i.parse(document.cookie,t):{}}function c(e,t,r,n){var c,l;if(void 0===n&&(n={}),(null==(c=null==e?void 0:e.res)?void 0:c.getHeader)&&e.res.setHeader){if(null==(l=null==e?void 0:e.res)?void 0:l.finished)return console.warn('Not setting "'+t+'" cookie. Response has finished.'),console.warn("You should set cookie before res.send()"),{};var h=e.res.getHeader("Set-Cookie")||[];"string"==typeof h&&(h=[h]),"number"==typeof h&&(h=[]);var u=a.parse(h,{decodeValues:!1}),p=o.createCookie(t,r,n),f=[];u.forEach(function(e){if(!o.areCookiesEqual(e,p)){var t=i.serialize(e.name,e.value,s({encode:function(e){return e}},e));f.push(t)}}),f.push(i.serialize(t,r,n)),e.res.setHeader("Set-Cookie",f)}if(o.isBrowser()){if(n&&n.httpOnly)throw Error("Can not set a httpOnly cookie in the browser.");document.cookie=i.serialize(t,r,n)}return{}}function l(e,t,r){return c(e,t,"",s(s({},r||{}),{maxAge:-1}))}r.parseCookies=n,r.setCookie=c,r.destroyCookie=l,r.default={set:c,get:n,destroy:l}},381509,(e,t,r)=>{"use strict";let s=e=>"object"==typeof e&&null!==e,i=Symbol("skip"),a=e=>s(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),o=(e,t,r,s=new WeakMap)=>{if(r={deep:!1,target:{},...r},s.has(e))return s.get(e);s.set(e,r.target);let{target:n}=r;delete r.target;let c=e=>e.map(e=>a(e)?o(e,t,r,s):e);if(Array.isArray(e))return c(e);for(let[l,h]of Object.entries(e)){let u=t(l,h,e);if(u===i)continue;let[p,f,{shouldRecurse:d=!0}={}]=u;"__proto__"!==p&&(r.deep&&d&&a(f)&&(f=Array.isArray(f)?c(f):o(f,t,r,s)),n[p]=f)}return n};t.exports=(e,t,r)=>{if(!s(e))throw TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return o(e,t,r)},t.exports.mapObjectSkip=i},445796,(e,t,r)=>{"use strict";let s=(e,t)=>{let r;if(!("string"==typeof e||Array.isArray(e)))throw TypeError("Expected the input to be `string | string[]`");return(t=Object.assign({pascalCase:!1},t),0===(e=Array.isArray(e)?e.map(e=>e.trim()).filter(e=>e.length).join("-"):e.trim()).length)?"":1===e.length?t.pascalCase?e.toUpperCase():e.toLowerCase():(e!==e.toLowerCase()&&(e=(e=>{let t=!1,r=!1,s=!1;for(let i=0;i<e.length;i++){let a=e[i];t&&/[a-zA-Z]/.test(a)&&a.toUpperCase()===a?(e=e.slice(0,i)+"-"+e.slice(i),t=!1,s=r,r=!0,i++):r&&s&&/[a-zA-Z]/.test(a)&&a.toLowerCase()===a?(e=e.slice(0,i-1)+"-"+e.slice(i-1),s=r,r=!1,t=!0):(t=a.toLowerCase()===a&&a.toUpperCase()!==a,s=r,r=a.toUpperCase()===a&&a.toLowerCase()!==a)}return e})(e)),r=e=e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(e,t)=>t.toUpperCase()).replace(/\d+(\w|$)/g,e=>e.toUpperCase()),t.pascalCase?r.charAt(0).toUpperCase()+r.slice(1):r)};t.exports=s,t.exports.default=s},760719,(e,t,r)=>{"use strict";class s{constructor(e={}){if(!(e.maxSize&&e.maxSize>0))throw TypeError("`maxSize` must be a number greater than 0");this.maxSize=e.maxSize,this.cache=new Map,this.oldCache=new Map,this._size=0}_set(e,t){this.cache.set(e,t),this._size++,this._size>=this.maxSize&&(this._size=0,this.oldCache=this.cache,this.cache=new Map)}get(e){if(this.cache.has(e))return this.cache.get(e);if(this.oldCache.has(e)){let t=this.oldCache.get(e);return this.oldCache.delete(e),this._set(e,t),t}}set(e,t){return this.cache.has(e)?this.cache.set(e,t):this._set(e,t),this}has(e){return this.cache.has(e)||this.oldCache.has(e)}peek(e){return this.cache.has(e)?this.cache.get(e):this.oldCache.has(e)?this.oldCache.get(e):void 0}delete(e){let t=this.cache.delete(e);return t&&this._size--,this.oldCache.delete(e)||t}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}*keys(){for(let[e]of this)yield e}*values(){for(let[,e]of this)yield e}*[Symbol.iterator](){for(let e of this.cache)yield e;for(let e of this.oldCache){let[t]=e;this.cache.has(t)||(yield e)}}get size(){let e=0;for(let t of this.oldCache.keys())!this.cache.has(t)&&e++;return this._size+e}}t.exports=s},229931,(e,t,r)=>{"use strict";let s=e.r(381509),i=e.r(445796),a=new(e.r(760719))({maxSize:1e5}),o=e=>"object"==typeof e&&null!==e&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),n=(e,t)=>{if(!o(e))return e;let{exclude:r,pascalCase:n,stopPaths:c,deep:l}=t={deep:!1,pascalCase:!1,...t},h=new Set(c),u=e=>(t,c)=>{let p;if(l&&o(c)){let r=void 0===e?t:`${e}.${t}`;h.has(r)||(c=s(c,u(r)))}if(!(r&&(p=t,r.some(e=>"string"==typeof e?e===p:(e.lastIndex=0,e.test(p)))))){let e=n?`${t}_`:t;if(a.has(e))t=a.get(e);else{let r=i(t,{pascalCase:n});t.length<100&&a.set(e,r),t=r}}return[t,c]};return s(e,u(void 0))};t.exports=(e,t)=>Array.isArray(e)?Object.keys(e).map(r=>n(e[r],t)):n(e,t)}]);

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.