PageSourceSearch

https://ouchien.jp/_nuxt/DaXVUrxh.js

js ouchien.jp collected 2026-10-04 10:46:29 UTC 996 bytes, 1 lines download raw bytes

1import{_ as s,c as a,h as r,P as c,o as u}from"./C7KG00z5.js";import{u as i}from"./z9-Jpe7i.js";const h={data:function(){return{token:"",authStore:null}},methods:{unauthorized:function(){},getToken:async function(){const o=(this._.provides[c]||this.$route).params.child_id,t=await i(`/api/v2/children/${o}/graduation/token`,"GET").catch(e=>{this.unauthorized()});t&&(this.token=t.token,this.connectAuth())},connectAuth:async function(){this.token||this.unauthorized();let o={token:this.token,device_id:this.authStore.device_id};const t=await i("/api/v2/mypage/login/preview","POST",o).catch(e=>{console.log(e),this.unauthorized()});if(t){const e={key:t.key,account:t.account,logoUrl:t.logo_url,child:t.child,graduation:t.graduation,displayMenus:t.display_menus},n="/graduation";this.authStore.sessionLogin(e),this.$router.push({path:n})}}},mounted:async function(){this.authStore=r(),this.getToken()}};function d(o,t,e,n,p,l){return u(),a("div")}const g=s(h,[["render",d]]);export{g as default};

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.