PageSourceSearch

https://naemo.ai/_next/static/chunks/6214.20b767b5d2e5e1db.js

js naemo.ai collected 2026-09-24 14:31:20 UTC 3,841 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6214],{96214:function(e,t,n){n.r(t),n.d(t,{DEMO_DATA_VERSION:function(){return r},DEMO_NAMETAG_CONFIG:function(){return y},STORAGE_KEY:function(){return a},VERSION_KEY:function(){return o},generateMockCleaningZones:function(){return i},generateMockData:function(){return u},getGuestCleaningZones:function(){return g},getGuestData:function(){return l},getGuestWorkNotes:function(){return f},saveGuestCleaningZones:function(){return k},saveGuestData:function(){return m},saveGuestWorkNotes:function(){return I}});let a="saemo-guest-data",o="saemo-guest-data-version",r="2.1",c=e=>{let t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(n,"-").concat(a)},s=e=>new Date("".concat(e,"T00:00:00")),d=e=>{if(!Array.isArray(e)||0===e.length)return e;let t=e.map(e=>s(e.date).getTime()).filter(e=>Number.isFinite(e));if(0===t.length)return e;let n=Math.min(...t),a=Math.max(...t)-n,o=new Date;o.setHours(0,0,0,0);let r=o.getDate(),d=r>=10?r-1:20,u=o.getTime()-864e5*d,i=e=>{let t=s(e).getTime();return Number.isFinite(t)?c(new Date(Math.min(u+864e5*Math.round((0===a?1:(t-n)/a)*d),o.getTime()))):e};return e.map(e=>{let t=i(e.date),n={...e,date:t};if(e.endDate){let a=Math.max(0,Math.round((s(e.endDate).getTime()-s(e.date).getTime())/864e5)),r=Math.min(s(t).getTime()+864e5*a,o.getTime());n.endDate=c(new Date(r))}return"string"==typeof e.createdAt&&e.createdAt.length>=10&&(n.createdAt="".concat(t).concat(e.createdAt.slice(10))),n})},u=async()=>{try{let e=await fetch("/demo-data.json"),t=(await e.json()).DEMO_GUEST_DATA;return t.students&&Array.isArray(t.students)&&(t.students=t.students.map(e=>{var t;return{...e,homeClassId:null!==(t=e.homeClassId)&&void 0!==t?t:e.classId}})),t.attendanceRecords&&(t.attendanceRecords=d(t.attendanceRecords)),t}catch(e){return console.error("Failed to fetch demo data",e),{students:[]}}},i=async()=>[{id:"zone-1",name:"교실 쓸기",studentIds:["mock-student-1","mock-student-2","mock-student-11","mock-student-12"],order:0,locked:!1,columnId:0,capacity:4},{id:"zone-2",name:"교실 바닥 (뒤)",studentIds:["mock-student-3"],order:1,locked:!1,columnId:0,capacity:2},{id:"zone-3",name:"복도 쓸기",studentIds:["mock-student-4","mock-student-13"],order:2,locked:!1,columnId:1,capacity:3},{id:"zone-4",name:"칠판/교탁",studentIds:["mock-student-5"],order:3,locked:!1,columnId:1,capacity:2},{id:"zone-5",name:"창틀/창문",studentIds:["mock-student-6","mock-student-14"],order:4,locked:!1,columnId:2,capacity:2},{id:"zone-6",name:"특별 구역",studentIds:["mock-student-7"],order:5,locked:!1,columnId:2,capacity:2},{id:"zone-7",name:"분리수거",studentIds:["mock-student-8","mock-student-15"],order:6,locked:!1,columnId:3,capacity:2},{id:"zone-8",name:"사물함 위",studentIds:["mock-student-9"],order:7,locked:!1,columnId:3,capacity:2},{id:"zone-9",name:"급식실 도우미",studentIds:["mock-student-10"],order:8,locked:!1,columnId:3,capacity:2}],l=async()=>{let e=localStorage.getItem(a),t=localStorage.getItem(o);if(e&&t===r)try{return JSON.parse(e)}catch(e){console.error("Failed to parse guest data",e)}let n=await u();return localStorage.setItem(a,JSON.stringify(n)),localStorage.setItem(o,r),n},m=async(e,t)=>{let n={...await l(),[e]:t};localStorage.setItem(a,JSON.stringify(n))},g=async()=>{let e=await l();if(e.cleaningZones)return e.cleaningZones;let t=await i();return await m("cleaningZones",t),t},k=async e=>{await m("cleaningZones",e)},f=async()=>(await l()).workNotes||[],I=async e=>{await m("workNotes",e)},y={paperSize:"A4",rows:8,cols:4,showNumber:!0,showName:!0,fontSize:40,gap:2,padding:10,orientation:"horizontal",numberFormat:"2-digit",numberPosition:"above",borderRadius:4,fontFamily:"sans",backgroundColor:"#ffffff"}}}]);

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.