{"version":3,"sources":["jsdelivr-header.js","/gh/statground/web-r_CDN@master/scripts_v2/index/set_main_20260428_2249.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"bundle.js","sourceRoot":"","sourcesContent":["/**\n * Combined by jsDelivr.\n * Original files:\n * - /gh/statground/web-r_CDN@master/scripts_v2/index/set_main_20260428_2249.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/*\n * Web-R index first-screen bundle\n * Merged from the uploaded JS files on 2026-04-19.\n * Only the functions actually used by the current first screen were kept.\n * Omitted as unused on this screen:\n * - Div_page_header\n * - Span_btn_category\n * - Span_btn_comment_secret\n * - Span_btn_my_comment\n * - Span_btn_book\n */\n\nlet class_span_btn_default = \"flex flex-row justify-center items-center w-fit h-[20px] px-1.5 rounded-xl\";\n\nfunction getIndexArticleHref(data) {\n    const item = data || {};\n    const uuid = item.uuid || item.uuid_article || \"\";\n    const categoryUrl = item.category_url || item.article_category_url || \"\";\n    const explicitUrl = item.url || item.article_url || \"\";\n\n    if (explicitUrl && explicitUrl.indexOf(\"/webr/notebook/view/\") === 0) {\n        return explicitUrl;\n    }\n    if (categoryUrl === \"notebook\") {\n        return \"/webr/notebook/view/\" + uuid + \"/\";\n    }\n    if (categoryUrl === \"notice\") {\n        return \"/intro/notice/read/\" + uuid + \"/\";\n    }\n    if (categoryUrl === \"visitor\") {\n        return \"/community/visitor/read/\" + uuid + \"/\";\n    }\n    if (categoryUrl === \"rblogger\" || categoryUrl === \"free\") {\n        return \"/community/read/\" + uuid + \"/\";\n    }\n    if (explicitUrl) {\n        return explicitUrl;\n    }\n    return \"/community/read/\" + uuid + \"/\";\n}\n\n\n// 사용자 역할에 따른 버튼 렌더링\nfunction Span_btn_user(props) {\n    const roles = {\n        \"관리자\": \"yellow\",\n        \"기업회원\": \"red\",\n        \"VIP회원\": \"blue\",\n        \"정회원\": \"green\",\n        \"준회원\": \"gray\",\n    };\n    const role = roles[props.role] || \"gray\";\n\n    return (\n        <span class={`${class_span_btn_default} text-xs bg-${role}-100 text-${role}-800`}>\n            <img\n                src=\"https://cdn.jsdelivr.net/gh/statground/web-r_CDN/images/svg/board_user.svg\"\n                class=\"w-3 h-3 mr-1\"\n            />\n            {props.user_nickname}\n        </span>\n    );\n}\n\n// 날짜 버튼 렌더링\nfunction Span_btn_date(props) {\n    return (\n        <span class={`${class_span_btn_default} text-xs bg-blue-100 text-blue-800`}>\n            <img\n                src={`https://cdn.jsdelivr.net/gh/statground/web-r_CDN/images/svg/calendar_${Number(\n                    props.date.split(\"-\")[2].substr(0, 2)\n                )}.svg`}\n                class=\"w-3 h-3 mr-1\"\n            />\n            {props.date}\n        </span>\n    );\n}\n\n// 조회수 버튼 렌더링 (0보다 클 때만)\nfunction Span_btn_article_read(props) {\n    return props.cnt_read > 0 && (\n        <span class={`${class_span_btn_default} text-xs bg-gray-100 text-blue-800`}>\n            <img\n                src=\"https://cdn.jsdelivr.net/gh/statground/web-r_CDN/images/svg/eye.svg\"\n                class=\"w-3 h-3 mr-1\"\n            />\n            {props.cnt_read.toString().replace(/\\B(?<!\\.\\d*)(?=(\\d{3})+(?!\\d))/g, \",\")}\n        </span>\n    );\n}\n\n// 댓글 수 버튼 렌더링 (0보다 클 때만)\nfunction Span_btn_article_comment(props) {\n    return props.cnt_comment > 0 && (\n        <span class={`${class_span_btn_default} text-xs bg-purple-100 text-blue-800`}>\n            <img\n                src=\"https://cdn.jsdelivr.net/gh/statground/web-r_CDN/images/svg/comment.svg\"\n                class=\"w-3 h-3 mr-1\"\n            />\n            {props.cnt_comment.toString().replace(/\\B(?<!\\.\\d*)(?=(\\d{3})+(?!\\d))/g, \",\")}\n        </span>\n    );\n}\n\n// 새 글 표시 (toggle이 1일 때만)\nfunction Span_btn_article_new(props) {\n    return props.toggle === 1 && (\n        <span class={`${class_span_btn_default} text-[10px] bg-red-500 text-white animate-pulse`}>\n            NEW\n        </span>\n    );\n}\n\n// 비밀글 표시 (toggle이 1일 때만)\nfunction Span_btn_article_secret(props) {\n    return props.toggle === 1 && (\n        <span class={`${class_span_btn_default} text-[10px] bg-gray-500 text-white animate-pulse`}>\n            SECRET\n        </span>\n    );\n}\n\n// 내 글 표시 (toggle이 \"writer\"일 때만)\nfunction Span_btn_my_article(props) {\n    return props.toggle === \"writer\" && (\n        <span class={`${class_span_btn_default} text-[10px] bg-blue-500 text-white animate-pulse`}>\n            MY\n        </span>\n    );\n}\n\nfunction Div_main_header() {\n    return (\n        <div class=\"flex flex-col justify-center items-center text-center w-full\">\n            <h1 class=\"mb-4 text-5xl font-extrabold leading-none tracking-tight text-gray-900 md:text-2xl\">\n                웹에서 하는 <mark class=\"px-2 text-white bg-blue-600 rounded\">R</mark> 통계\n            </h1>\n            <p class=\"text-lg font-normal text-gray-500 lg:text-xl\">\n                \"웹에서 하는 R통계\"는, 통계에는 관심이 있으나 R을 어려워하는 여러 연구자들을 위한 프로젝트입니다.\n                <br />\n                R설치없이 클릭만으로 웹에 있는 서버를 이용하여 통계분석을 하고 보다 R을 쉽게 사용하기 위한 패키지 및 앱 공동개발을 목표로 하고 있습니다.\n            </p>\n        </div>\n    );\n}\n\nfunction Div_main_statistics_skeleton() {\n    function Div_Sub(props) {\n        return (\n            <div\n                class=\"flex items-center w-full w-max-md p-4 space-x-4 text-gray-500 bg-white divide-x divide-gray-200 rounded-lg shadow\"\n                role=\"alert\"\n            >\n                <img src={props.svg} class=\"w-6 h-6\" />\n                <div class=\"pl-4 text-sm font-normal animate-pulse\">\n                    <div class=\"h-2.5 bg-gray-300 rounded-full w-full mb-2.5\"></div>\n                    <div class=\"w-32 h-2 bg-gray-200 rounded-full\"></div>\n                </div>\n            </div>\n        );\n    }\n\n    return (\n        <div class=\"grid lg:grid-cols-3 md:grid-cols-1 mx-auto\">\n            <Div_Sub svg=\"https://cdn.jsdelivr.net/gh/statground/Statground_CDN/assets3/images/svg/member.svg\" />\n            <br />\n            <Div_Sub svg=\"https://cdn.jsdelivr.net/gh/statground/Statground_CDN/assets3/images/svg/visitors.svg\" />\n            <br />\n            <Div_Sub svg=\"https://cdn.jsdelivr.net/gh/statground/Statground_CDN/assets3/images/svg/pageview.svg\" />\n        </div>\n    );\n}\n\nfunction Div_main_board_skeleton() {\n    function Div_table_skeleton({ title, id, rows = 5 }) {\n        const Row = () => (\n            <tr class=\"bg-white border-b\">\n                <td class=\"px-6 py-4\">\n                    <div class=\"h-2.5 bg-gray-300 rounded-full w-3/4 mb-2.5 animate-pulse\"></div>\n                    <div class=\"h-2 bg-gray-200 rounded-full w-1/3 animate-pulse\"></div>\n                </td>\n            </tr>\n        );\n\n        return (\n            <div class=\"w-full\" id={id}>\n                <h5 class=\"mb-2 text-xl pb-4 font-bold tracking-tight text-gray-900\">{title}</h5>\n                <div class=\"rounded-lg border bg-white\">\n                    <table class=\"w-full text-sm text-left text-gray-500\">\n                        <thead class=\"text-xs text-gray-700 uppercase bg-gray-50\">\n                            <tr>\n                                <th class=\"px-6 py-3\"></th>\n                            </tr>\n                        </thead>\n                        <tbody>{Array.from({ length: rows }).map((_, i) => <Row key={i} />)}</tbody>\n                    </table>\n                </div>\n            </div>\n        );\n    }\n\n    function Div_card({ title, id, children }) {\n        return (\n            <div class=\"w-full rounded-lg border bg-white p-4\" id={id}>\n                <h6 class=\"mb-3 text-base font-semibold text-gray-900\">{title}</h6>\n                {children}\n            </div>\n        );\n    }\n\n    const Bullet = () => (\n        <div class=\"flex items-center gap-3 py-2\">\n            <div class=\"h-2.5 w-2.5 rounded-full bg-gray-300 animate-pulse\"></div>\n            <div class=\"h-2.5 bg-gray-300 rounded-full w-3/4 animate-pulse\"></div>\n        </div>\n    );\n\n    return (\n        <div class=\"flex flex-row pt-12 pb-12 justify-center\" id=\"div_board\">\n            <div class=\"container mx-auto px-4\">\n                <div class=\"grid grid-cols-4 gap-6 md:grid-cols-1\">\n                    <div class=\"col-span-3 flex flex-col gap-6\">\n                        <Div_table_skeleton title={\"커뮤니티\"} id={\"div_main_board_free\"} rows={6} />\n                        <Div_table_skeleton title={\"최근 활동\"} id={\"div_main_new_members\"} rows={6} />\n                    </div>\n\n                    <div class=\"col-span-1 flex flex-col gap-6\">\n                        <Div_card title={\"공지사항\"} id={\"div_main_board_notice\"}>\n                            <Bullet />\n                            <Bullet />\n                            <Bullet />\n                        </Div_card>\n\n                        <Div_card title={\"유튜브\"} id={\"div_main_youtube\"}>\n                            <div class=\"w-full aspect-video rounded-md bg-gray-300 animate-pulse\"></div>\n                        </Div_card>\n                    </div>\n                </div>\n            </div>\n        </div>\n    );\n}\n\nasync function get_div_main_statistics() {\n    function Div_sub(props) {\n        return (\n            <div\n                id=\"toast-simple\"\n                class=\"flex items-center w-full w-max-md p-4 space-x-4 text-gray-500 bg-white divide-x divide-gray-200 rounded-lg shadow\"\n                role=\"alert\"\n            >\n                <img src={props.svg} class=\"w-6 h-6\" />\n                <div class=\"pl-4 text-sm font-normal\">\n                    <div class=\"pl-4 text-md font-bold\">{props.title}</div>\n                    <div class=\"pl-4 text-sm font-normal\">\n                        {props.content.toLocaleString()}\n                        {props.unit}\n                    </div>\n                </div>\n            </div>\n        );\n    }\n\n    function Div_result(props) {\n        return (\n            <div class=\"grid lg:grid-cols-3 md:grid-cols-1 mx-auto\">\n                <Div_sub\n                    title=\"총 가입자 수\"\n                    content={props.data.cnt_member}\n                    unit=\"명\"\n                    svg=\"https://cdn.jsdelivr.net/gh/statground/Statground_CDN/assets3/images/svg/member.svg\"\n                />\n                <br />\n                <Div_sub\n                    title=\"오늘의 방문자 수\"\n                    content={props.data.cnt_visitor}\n                    unit=\"명\"\n                    svg=\"https://cdn.jsdelivr.net/gh/statground/Statground_CDN/assets3/images/svg/visitors.svg\"\n                />\n                <br />\n                <Div_sub\n                    title=\"오늘의 페이지 뷰\"\n                    content={props.data.cnt_pageview}\n                    unit=\"건\"\n                    svg=\"https://cdn.jsdelivr.net/gh/statground/Statground_CDN/assets3/images/svg/pageview.svg\"\n                />\n            </div>\n        );\n    }\n\n    const data = await fetch(\"/ajax_index_statistics/\")\n        .then((res) => res.json())\n        .then((res) => res);\n\n    ReactDOM.render(<Div_result data={data} />, document.getElementById(\"div_main_statistics\"));\n}\n\nfunction get_book_list() {\n    var API_URL = \"/book/ajax_get_book_list/\";\n    var MOUNT_ID = \"div_book_list\";\n\n    var ICONS = {\n        kyobo: \"https://cdn.jsdelivr.net/gh/statground/web-r_CDN/images/book/kyobobook2.png\",\n        yes24: \"https://cdn.jsdelivr.net/gh/statground/web-r_CDN/images/book/yes24.png\",\n        ypbooks: \"https://cdn.jsdelivr.net/gh/statground/web-r_CDN/images/book/ypbooks.png\",\n        coupang: \"https://cdn.jsdelivr.net/gh/statground/web-r_CDN/images/book/coupang.png\",\n        leanpub: \"https://cdn.jsdelivr.net/gh/statground/web-r_CDN/images/book/LeanPub.png\",\n        bookdown: \"https://cdn.jsdelivr.net/gh/statground/web-r_CDN/images/book/bookdown.png\",\n        board: \"https://cdn.jsdelivr.net/gh/statground/web-r_CDN/images/svg/menu_free.svg\",\n        default_vendor: \"https://cdn.jsdelivr.net/gh/statground/web-r_CDN/images/book/icon_default.png\",\n        default_cover: \"https://cdn.jsdelivr.net/gh/statground/web-r_CDN/images/book/default_book.png\",\n    };\n\n    function iconForSource(source) {\n        var s = (source || \"\").toLowerCase();\n        if (s.indexOf(\"교보\") > -1 || s.indexOf(\"kyobo\") > -1) return ICONS.kyobo;\n        if (s.indexOf(\"yes24\") > -1) return ICONS.yes24;\n        if (s.indexOf(\"영풍\") > -1 || s.indexOf(\"ypbooks\") > -1) return ICONS.ypbooks;\n        if (s.indexOf(\"쿠팡\") > -1 || s.indexOf(\"coupang\") > -1) return ICONS.coupang;\n        if (s.indexOf(\"leanpub\") > -1) return ICONS.leanpub;\n        if (s.indexOf(\"bookdown\") > -1) return ICONS.bookdown;\n        return ICONS.default_vendor;\n    }\n\n    function pad3(v) {\n        return (v == null ? \"000\" : String(v)).padStart(3, \"0\");\n    }\n\n    function normalizeRows(raw) {\n        if (!raw) return [];\n        if (Array.isArray(raw)) return raw;\n        if (Array.isArray(raw.data)) return raw.data;\n        if (Array.isArray(raw.results)) return raw.results;\n        if (Array.isArray(raw.rows)) return raw.rows;\n\n        var arr = Object.keys(raw).map(function (k) {\n            return raw[k];\n        });\n        var nestedArr = arr.find(Array.isArray);\n        return Array.isArray(nestedArr) ? nestedArr : arr;\n    }\n\n    var cls = {\n        wrap: \"w-full pt-4\",\n        navWrap: \"relative\",\n        navBtnBase:\n            \"absolute z-10 top-1/2 -translate-y-1/2 h-9 w-9 grid place-items-center rounded-full bg-black text-white shadow\",\n        navBtnL: \"left-2\",\n        navBtnR: \"right-2\",\n        slider: \"flex gap-3 overflow-x-scroll scroll-smooth pb-2 scrollbar-hide\",\n        card: \"flex flex-col justify-start w-64 min-w-64 h-48 p-3 rounded-xl shadow bg-white border hover:border-gray-900\",\n        img: \"w-full object-contain rounded-md border bg-white\",\n        title: \"font-semibold leading-snug text-center\",\n        meta: \"text-xs text-gray-500 text-center\",\n        vendors: \"w-full justify-center gap-2 flex-wrap items-center\",\n    };\n\n    function groupRows(raw) {\n        var rows = normalizeRows(raw);\n        var byBook = new Map();\n\n        rows.forEach(function (r) {\n            if (!r) return;\n\n            var key = r.uuid || r.title || (\"rnd-\" + Math.random().toString(16).slice(2));\n\n            if (!byBook.has(key)) {\n                byBook.set(key, {\n                    uuid: r.uuid,\n                    uuid_board_category: r.uuid_board_category,\n                    title: r.title,\n                    publisher: r.publisher,\n                    published_at: r.published_at,\n                    url_image: r.url_image,\n                    randnum: r.randnum == null ? Math.random() : r.randnum,\n                    sources: {},\n                });\n            }\n\n            var vendorName = r.marketplace != null && r.marketplace !== \"\" ? r.marketplace : r.source;\n            if (vendorName && r.url) {\n                var s = String(vendorName).trim();\n                if (!byBook.get(key).sources[s]) byBook.get(key).sources[s] = [];\n                byBook.get(key).sources[s].push(r.url);\n            }\n        });\n\n        return Array.from(byBook.values())\n            .map(function (b) {\n                var vendors = Object.entries(b.sources).map(function (_ref) {\n                    var source = _ref[0],\n                        urls = _ref[1];\n                    return { source: source, url: urls[Math.floor(Math.random() * urls.length)] };\n                });\n                return Object.assign({}, b, { vendors: vendors });\n            })\n            .sort(function (a, b) {\n                return (a.randnum || 0) - (b.randnum || 0);\n            });\n    }\n\n    function ChevronLeftSVG() {\n        return React.createElement(\n            \"svg\",\n            { width: 18, height: 18, viewBox: \"0 0 24 24\", \"aria-hidden\": \"true\" },\n            React.createElement(\"path\", {\n                d: \"M15 6l-6 6 6 6\",\n                fill: \"none\",\n                stroke: \"white\",\n                strokeWidth: 2,\n                strokeLinecap: \"round\",\n                strokeLinejoin: \"round\",\n            })\n        );\n    }\n\n    function ChevronRightSVG() {\n        return React.createElement(\n            \"svg\",\n            { width: 18, height: 18, viewBox: \"0 0 24 24\", \"aria-hidden\": \"true\" },\n            React.createElement(\"path\", {\n                d: \"M9 6l6 6-6 6\",\n                fill: \"none\",\n                stroke: \"white\",\n                strokeWidth: 2,\n                strokeLinecap: \"round\",\n                strokeLinejoin: \"round\",\n            })\n        );\n    }\n\n    function CardComp(props) {\n        var b = props.b,\n            idx = props.idx,\n            activeIdx = props.activeIdx,\n            setActiveIdx = props.setActiveIdx;\n\n        var GAP_PX = 8,\n            MIN_IMG = 60;\n        var hasVendors = Array.isArray(b.vendors) && b.vendors.length > 0;\n        var isOpen = activeIdx === idx && hasVendors;\n\n        var cardRef = React.useRef(null);\n        var titleRef = React.useRef(null);\n        var metaRef = React.useRef(null);\n        var vendorsRef = React.useRef(null);\n        var _React$useState = React.useState(100),\n            imgH = _React$useState[0],\n            setImgH = _React$useState[1];\n\n        function recalc() {\n            if (!cardRef.current) return;\n\n            var innerH = cardRef.current.clientHeight - 24;\n            var titleH = titleRef.current ? titleRef.current.offsetHeight : 0;\n            var metaH = metaRef.current ? metaRef.current.offsetHeight : 0;\n            var vH = 0;\n\n            if (isOpen && vendorsRef.current) {\n                var prev = vendorsRef.current.style.display;\n                vendorsRef.current.style.display = \"flex\";\n                vH = vendorsRef.current.offsetHeight || 0;\n                vendorsRef.current.style.display = prev;\n            }\n\n            var gaps = 2 + (isOpen ? 1 : 0);\n            var leftover = innerH - (titleH + metaH + vH + gaps * GAP_PX);\n            setImgH(Math.max(MIN_IMG, leftover - (isOpen ? 10 : 0)));\n        }\n\n        React.useLayoutEffect(recalc, [isOpen]);\n\n        React.useEffect(function () {\n            function onResize() {\n                recalc();\n            }\n\n            window.addEventListener(\"resize\", onResize);\n            var t = setTimeout(recalc, 0);\n\n            return function () {\n                window.removeEventListener(\"resize\", onResize);\n                clearTimeout(t);\n            };\n        }, []);\n\n        function onToggle() {\n            setActiveIdx(function (p) {\n                return p === idx ? null : idx;\n            });\n        }\n\n        function onKey(e) {\n            if (e.key === \"Enter\" || e.key === \" \") {\n                e.preventDefault();\n                onToggle();\n            }\n        }\n\n        function goBoard(e) {\n            e.stopPropagation();\n            window.open(\"/book/?sub=\" + pad3(b.uuid_board_category), \"_self\");\n        }\n\n        return React.createElement(\n            \"div\",\n            { ref: cardRef, className: cls.card, role: \"button\", tabIndex: 0, onClick: onToggle, onKeyDown: onKey },\n            React.createElement(\"img\", {\n                className: cls.img,\n                style: { height: imgH + \"px\" },\n                src: b.url_image || ICONS.default_cover,\n                alt: b.title || \"book\",\n                loading: \"lazy\",\n            }),\n            React.createElement(\"div\", { style: { height: GAP_PX + \"px\" } }),\n            React.createElement(\"div\", { ref: titleRef, className: cls.title }, b.title || \"\"),\n            React.createElement(\"div\", { style: { height: GAP_PX + \"px\" } }),\n            React.createElement(\n                \"div\",\n                { ref: metaRef, className: cls.meta },\n                b.publisher ? b.publisher : \" \",\n                b.published_at ? \" · \" + b.published_at : \"\"\n            ),\n            isOpen ? React.createElement(\"div\", { style: { height: GAP_PX + \"px\" } }) : null,\n            React.createElement(\n                \"div\",\n                {\n                    ref: vendorsRef,\n                    className: \"purchase-buttons \" + cls.vendors,\n                    style: { display: isOpen ? \"flex\" : \"none\" },\n                    onClick: function (e) {\n                        e.stopPropagation();\n                    },\n                },\n                (b.vendors || []).map(function (v, i) {\n                    return React.createElement(\n                        \"a\",\n                        { key: i, href: v.url, target: \"_blank\", rel: \"noopener\", title: v.source },\n                        React.createElement(\"img\", {\n                            className: \"h-6 w-auto\",\n                            src: iconForSource(v.source),\n                            alt: v.source,\n                            loading: \"lazy\",\n                        })\n                    );\n                }),\n                React.createElement(\n                    \"button\",\n                    { onClick: goBoard, title: \"게시판\", type: \"button\" },\n                    React.createElement(\"img\", {\n                        className: \"h-6 w-auto\",\n                        src: ICONS.board,\n                        alt: \"게시판\",\n                        loading: \"lazy\",\n                    })\n                )\n            )\n        );\n    }\n\n    function DivBookList() {\n        var _React$useState2 = React.useState([]),\n            books = _React$useState2[0],\n            setBooks = _React$useState2[1];\n        var _React$useState3 = React.useState(null),\n            activeIdx = _React$useState3[0],\n            setActiveIdx = _React$useState3[1];\n\n        React.useEffect(function () {\n            fetch(API_URL)\n                .then(function (r) {\n                    if (!r.ok) throw new Error(\"HTTP \" + r.status);\n                    return r.json();\n                })\n                .then(function (raw) {\n                    var grouped = groupRows(raw);\n                    setBooks(grouped);\n                })\n                .catch(function (err) {\n                    console.warn(\"book list fetch error:\", err);\n                    setBooks([]);\n                });\n        }, []);\n\n        React.useEffect(\n            function () {\n                var slider = document.getElementById(\"div_book_list_slider\");\n                if (!slider) return;\n\n                function scrollByPage(d) {\n                    slider.scrollBy({ left: d * slider.offsetWidth, behavior: \"smooth\" });\n                }\n\n                var n = document.getElementById(\"div_book_list_next\");\n                var p = document.getElementById(\"div_book_list_prev\");\n\n                function next() {\n                    scrollByPage(+1);\n                }\n\n                function prev() {\n                    scrollByPage(-1);\n                }\n\n                n && n.addEventListener(\"click\", next);\n                p && p.addEventListener(\"click\", prev);\n\n                function wheel(e) {\n                    if (Math.abs(e.deltaY) > Math.abs(e.deltaX)) {\n                        slider.scrollBy({ left: e.deltaY });\n                        e.preventDefault();\n                    }\n                }\n\n                slider.addEventListener(\"wheel\", wheel, { passive: false });\n\n                return function () {\n                    n && n.removeEventListener(\"click\", next);\n                    p && p.removeEventListener(\"click\", prev);\n                    slider.removeEventListener(\"wheel\", wheel);\n                };\n            },\n            [books.length]\n        );\n\n        return React.createElement(\n            \"div\",\n            { className: cls.wrap },\n            React.createElement(\n                \"div\",\n                { className: cls.navWrap },\n                React.createElement(\n                    \"button\",\n                    { id: \"div_book_list_prev\", className: cls.navBtnBase + \" \" + cls.navBtnL },\n                    React.createElement(ChevronLeftSVG)\n                ),\n                React.createElement(\n                    \"button\",\n                    { id: \"div_book_list_next\", className: cls.navBtnBase + \" \" + cls.navBtnR },\n                    React.createElement(ChevronRightSVG)\n                ),\n                React.createElement(\n                    \"div\",\n                    { id: \"div_book_list_slider\", className: cls.slider },\n                    books.map(function (b, idx) {\n                        return React.createElement(CardComp, {\n                            key: b.uuid || idx,\n                            b: b,\n                            idx: idx,\n                            activeIdx: activeIdx,\n                            setActiveIdx: setActiveIdx,\n                        });\n                    })\n                )\n            ),\n            books.length === 0\n                ? React.createElement(\n                      \"div\",\n                      { className: \"text-center text-sm text-gray-500 pt-2\" },\n                      \"표시할 책이 없습니다.\"\n                  )\n                : null\n        );\n    }\n\n    function mount() {\n        var mountEl = document.getElementById(MOUNT_ID);\n        if (!mountEl) return;\n\n        if (typeof ReactDOM !== \"undefined\" && typeof ReactDOM.render === \"function\") {\n            ReactDOM.render(React.createElement(DivBookList), mountEl);\n            return;\n        }\n\n        if (typeof ReactDOM !== \"undefined\" && typeof ReactDOM.createRoot === \"function\") {\n            if (!window.__webRBookListRoots) {\n                window.__webRBookListRoots = new WeakMap();\n            }\n\n            var root = window.__webRBookListRoots.get(mountEl);\n            if (!root) {\n                root = ReactDOM.createRoot(mountEl);\n                window.__webRBookListRoots.set(mountEl, root);\n            }\n\n            root.render(React.createElement(DivBookList));\n            return;\n        }\n\n        throw new Error(\"ReactDOM.render/createRoot 를 찾을 수 없습니다.\");\n    }\n\n    mount();\n}\n\nwindow.get_book_list = get_book_list;\n\nasync function get_div_main_board() {\n    function Div_new_article_list(props) {\n        const cu = props.data.category_url;\n        const href = getIndexArticleHref(props.data);\n\n        let category_title = \"커뮤니티\";\n        let category_title_color = \" bg-blue-100 text-blue-700 border-blue-300\";\n\n        if (cu === \"free\") {\n            category_title = \"자유게시판\";\n            category_title_color = \" bg-blue-100 text-blue-700 border-blue-300\";\n        } else if (cu === \"rblogger\") {\n            category_title = \"R-Blogger\";\n            category_title_color = \" bg-purple-100 text-purple-700 border-purple-300\";\n        } else if (cu === \"notebook\") {\n            category_title = \"Web-R Notebook\";\n            category_title_color = \" bg-emerald-100 text-emerald-700 border-emerald-300\";\n        }\n\n        return (\n            <div class=\"bg-white w-full\">\n                <a\n                    href={href}\n                    class=\"flex flex-col px-6 py-4 space-y-1 cursor-pointer hover:bg-gray-50 rounded-lg mx-3 my-2\"\n                >\n                    <div class=\"flex flex-row items-center space-x-2\">\n                        <span\n                            class={\n                                \"px-2 py-0.5 border rounded-full text-xs font-semibold w-fit max-w-9/12\" +\n                                category_title_color\n                            }\n                        >\n                            {category_title}\n                        </span>\n\n                        <span class=\"font-bold text-sm truncate\">{props.data.title}</span>\n\n                        <Span_btn_article_new toggle={props.data.is_new} />\n                        <Span_btn_article_secret toggle={props.data.is_secret} />\n                        <Span_btn_my_article toggle={props.data.check_reader} />\n                    </div>\n\n                    <div class=\"flex flex-wrap items-center space-x-2\">\n                        <Span_btn_user\n                            user_nickname={props.data.user_nickname}\n                            role={props.data.user_role}\n                        />\n                        <Span_btn_date date={props.data.created_at} />\n                        <Span_btn_article_read cnt_read={props.data.cnt_read} />\n                        <Span_btn_article_comment cnt_comment={props.data.cnt_comment} />\n                    </div>\n                </a>\n            </div>\n        );\n    }\n\n    function TabButton({ active, onClick, children }) {\n        const base = \"px-3 py-1.5 text-xs font-bold rounded-full transition-all select-none\";\n        const activeCls = \" bg-blue-600 text-white shadow-sm\";\n        const inActiveCls = \" bg-gray-100 text-gray-700 hover:bg-gray-200\";\n\n        return (\n            <button\n                type=\"button\"\n                onClick={onClick}\n                class={base + (active ? activeCls : inActiveCls)}\n            >\n                {children}\n            </button>\n        );\n    }\n\n    function Col(props) {\n        const [activeTab, setActiveTab] = React.useState(\"all\");\n        const arr = Object.keys(props.data || {}).map((k) => props.data[k]);\n\n        const sortByCreatedAtDesc = (a, b) => {\n            const da = new Date(String(a.created_at).replace(\" \", \"T\"));\n            const db = new Date(String(b.created_at).replace(\" \", \"T\"));\n            return db - da;\n        };\n\n        const freeList = arr.filter((x) => x.category_url === \"free\").sort(sortByCreatedAtDesc);\n        const rbloggerList = arr\n            .filter((x) => x.category_url === \"rblogger\")\n            .sort(sortByCreatedAtDesc);\n        const notebookList = arr\n            .filter((x) => x.category_url === \"notebook\")\n            .sort(sortByCreatedAtDesc);\n\n        const pick = [];\n        if (freeList.length) pick.push(freeList[0]);\n        if (rbloggerList.length) pick.push(rbloggerList[0]);\n        if (notebookList.length) pick.push(notebookList[0]);\n\n        const allList = pick.sort(sortByCreatedAtDesc);\n\n        let current = allList;\n        if (activeTab === \"free\") current = freeList;\n        if (activeTab === \"rblogger\") current = rbloggerList;\n        if (activeTab === \"notebook\") current = notebookList;\n\n        return (\n            <div class=\"w-full\">\n                <h5 class=\"mb-2 text-xl pb-4 font-bold tracking-tight text-gray-900\">커뮤니티</h5>\n\n                <div class=\"rounded-lg bg-white shadow-sm overflow-hidden\">\n                    <div class=\"flex flex-wrap items-center gap-2 px-4 pt-4 pb-3 bg-white\">\n                        <TabButton active={activeTab === \"all\"} onClick={() => setActiveTab(\"all\")}>\n                            전체보기\n                        </TabButton>\n                        <TabButton\n                            active={activeTab === \"free\"}\n                            onClick={() => setActiveTab(\"free\")}\n                        >\n                            자유게시판\n                        </TabButton>\n                        <TabButton\n                            active={activeTab === \"rblogger\"}\n                            onClick={() => setActiveTab(\"rblogger\")}\n                        >\n                            R-Blogger\n                        </TabButton>\n                        <TabButton\n                            active={activeTab === \"notebook\"}\n                            onClick={() => setActiveTab(\"notebook\")}\n                        >\n                            Web-R Notebook\n                        </TabButton>\n                    </div>\n\n                    <div>\n                        {current.length > 0 ? (\n                            current.map((article, idx) => (\n                                <Div_new_article_list\n                                    key={article.uuid || article.url || idx}\n                                    data={article}\n                                />\n                            ))\n                        ) : (\n                            <div class=\"px-6 py-6 text-sm text-gray-500\">표시할 글이 없습니다.</div>\n                        )}\n                    </div>\n                </div>\n            </div>\n        );\n    }\n\n    const data = await fetch(\"/ajax_index_board/\").then((res) => res.json());\n\n    ReactDOM.render(<Col data={data} />, document.getElementById(\"div_main_board_free\"));\n}\n\nasync function get_div_main_board_notice() {\n    function Div_new_notice_list(props) {\n        let category_menu = \"intro/\";\n        let category_url = \"notice\";\n\n        return (\n            <div class=\"bg-white w-full\">\n                <a\n                    href={\"/\" + category_menu + category_url + \"/read/\" + props.data.uuid + \"/\"}\n                    class=\"flex flex-col px-6 py-4 space-y-1 cursor-pointer hover:bg-gray-100 w-full\"\n                >\n                    <div class=\"flex flex-row justify-start items-center space-x-2\">\n                        <span class=\"font-bold text-sm w-fit max-w-9/12 truncate ...\">\n                            {props.data.title}\n                        </span>\n                    </div>\n                    <div class=\"flex flex-wrap justify-start items-center space-x-2\">\n                        <Span_btn_date date={props.data.created_at} />\n                        <Span_btn_article_new toggle={props.data.is_new} />\n                        <Span_btn_article_secret toggle={props.data.is_secret} />\n                    </div>\n                </a>\n            </div>\n        );\n    }\n\n    function Col(props) {\n        const articleList = Object.keys(props.data).map((article, idx) => (\n            <Div_new_notice_list key={(props.data[article] && props.data[article].uuid) || idx} data={props.data[article]} />\n        ));\n\n        return (\n            <div class=\"w-full\">\n                <h6 class=\"mb-3 text-base font-semibold text-gray-900\">공지사항</h6>\n                <div class=\"rounded-lg bg-white\">{articleList}</div>\n            </div>\n        );\n    }\n\n    const data = await fetch(\"/ajax_index_notice/\")\n        .then((res) => res.json())\n        .then((res) => res);\n\n    ReactDOM.render(\n        <Col data={data} title=\"공지사항\" />,\n        document.getElementById(\"div_main_board_notice\")\n    );\n}\n\nasync function get_div_main_youtube() {\n    function Div_main_youtube(props) {\n        const { uuid, title, youtube_thumbnail } = props.data;\n\n        return (\n            <div class=\"w-full\">\n                <h6 class=\"mb-3 text-base font-semibold text-gray-900\">유튜브</h6>\n                <div\n                    class=\"rounded-lg bg-white overflow-hidden cursor-pointer hover:bg-gray-50 transition\"\n                    onClick={() => (window.location.href = `/workshop/youtube/read/${uuid}/`)}\n                >\n                    <div class=\"flex flex-col items-center\">\n                        <img src={youtube_thumbnail} alt=\"YouTube Thumbnail\" class=\"w-full object-cover\" />\n                        <div class=\"px-4 py-3 text-sm text-gray-800 text-center font-medium truncate w-full\">\n                            {title}\n                        </div>\n                    </div>\n                </div>\n            </div>\n        );\n    }\n\n    const data = await fetch(\"/ajax_index_youtube/\")\n        .then((res) => res.json())\n        .catch((err) => {\n            console.error(\"YouTube fetch error:\", err);\n            return null;\n        });\n\n    if (!data || !data[0]) return;\n\n    ReactDOM.render(\n        <Div_main_youtube data={data[0]} />,\n        document.getElementById(\"div_main_youtube\")\n    );\n}\n\nasync function get_div_main_new_event() {\n    function makeEventMessage(event, nickname) {\n        switch (event) {\n            case \"회원가입\":\n                return `${nickname}님이 가입하였습니다.`;\n            case \"접속중\":\n                return `${nickname}님이 접속중입니다.`;\n            case \"게시판 - youtube\":\n                return `유튜브에 새로운 영상이 업로드 되었습니다.`;\n            case \"게시판 - notice\":\n                return `새로운 공지사항이 등록되었습니다.`;\n            case \"댓글\":\n                return `${nickname}님이 게시물에 댓글을 달았습니다`;\n            default:\n                if (typeof event === \"string\") {\n                    if (event.startsWith(\"게시판 - \")) {\n                        return `${nickname}님이 커뮤니티에 새 글을 게시하였습니다.`;\n                    } else if (event.startsWith(\"Web-R - \")) {\n                        const appName = event.replace(\"Web-R - \", \"\");\n                        return `${nickname}님이 ${appName}을(를) 실행하고 있습니다.`;\n                    }\n                }\n                return `${nickname}님의 활동이 있습니다.`;\n        }\n    }\n\n    function Div_new_event_list(props) {\n        const { event, created_at, nickname } = props.data;\n        const message = makeEventMessage(event, nickname ?? \"회원\");\n\n        return (\n            <div class=\"bg-white w-full border-b last:border-b-0\">\n                <div class=\"flex flex-col px-6 py-4 space-y-1\">\n                    <div class=\"text-sm text-gray-800 truncate\">{message}</div>\n                    <div class=\"flex items-center space-x-2\">\n                        <Span_btn_date date={created_at} />\n                    </div>\n                </div>\n            </div>\n        );\n    }\n\n    function Col(props) {\n        const sortedData = Object.values(props.data).sort((a, b) => {\n            return new Date(b.created_at) - new Date(a.created_at);\n        });\n\n        const items = sortedData.map((item, idx) => (\n            <Div_new_event_list key={item.uuid || item.created_at || idx} data={item} />\n        ));\n\n        return (\n            <div class=\"w-full\">\n                <h5 class=\"mb-2 text-xl pb-4 font-bold tracking-tight text-gray-900\">\n                    {props.title ?? \"최근 활동\"}\n                </h5>\n                <div class=\"rounded-lg bg-white overflow-hidden\">{items}</div>\n            </div>\n        );\n    }\n\n    const data = await fetch(\"/ajax_index_event/\").then((res) => res.json());\n\n    ReactDOM.render(\n        <Col data={data} title=\"최근 활동\" />,\n        document.getElementById(\"div_main_new_members\")\n    );\n}\n\nfunction set_main() {\n    function Div_main() {\n        return (\n            <div class=\"flex flex-col justify-center items-center w-full space-y-[25px] mt-[50px] px-[100px] py-[20px] md:px-[10px] md:py-[0px]\">\n                <div id=\"div_main_header\" class=\"w-full\"></div>\n                <div id=\"div_main_statistics\" class=\"w-full\"></div>\n                <div class=\"w-full\" id=\"div_book_list\">\n                    <div class=\"flex flex-row justify-center items-center w-full h-[150px] mb-4 bg-gray-300 animate-pulse\"></div>\n                </div>\n                <div id=\"div_main_board\" class=\"w-full\"></div>\n            </div>\n        );\n    }\n\n    ReactDOM.render(<Div_main />, document.getElementById(\"div_main\"));\n\n    ReactDOM.render(<Div_main_header />, document.getElementById(\"div_main_header\"));\n    ReactDOM.render(<Div_main_statistics_skeleton />, document.getElementById(\"div_main_statistics\"));\n    ReactDOM.render(<Div_main_board_skeleton />, document.getElementById(\"div_main_board\"));\n\n    get_div_main_statistics();\n    get_book_list();\n    get_div_main_board();\n    get_div_main_board_notice();\n    get_div_main_youtube();\n    get_div_main_new_event();\n}\n\nwindow.set_main = set_main;\n"]}