PKU-Art

给你一个足够好看的教学网。

// ==UserScript==
// @name         PKU-Art
// @namespace    arthals/pku-art
// @version      2.3.52
// @author       Arthals
// @description  给你一个足够好看的教学网。
// @license      GPL-3.0 license
// @icon         http://cdn.arthals.ink/Arthals-mcskin.png
// @supportURL   https://github.com/zhuozhiyongde/PKU-Art/issues
// @match        *://*.pku.edu.cn/*
// @connect      pku.edu.cn
// @grant        GM_download
// @grant        GM_setClipboard
// @inject-into  page
// @run-at       document-start
// @author-blog  https://arthals.ink
// @date         2024/10/06
// ==/UserScript==

(function () {
  'use strict';

  const mainStyles = ":root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}\n";
  const arcoPaletteStyles = ":root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}\n";
  const iaaaOAuthPageStyles = ':root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}.top,.bottom{display:none}.main{display:flex;flex-direction:column;justify-content:center}.mid{background-image:none!important;display:flex;justify-content:center}.single_col_panel{margin-top:20vh;display:flex;height:max(fit-content,400px);width:300px!important;align-items:center;flex-direction:column;box-shadow:var(--c-box-shadow);background-color:var(--c-card);background-image:var(--i-logo);border:1px solid var(--c-border);background-size:50%;background-position:top center;background-position-y:25px;background-repeat:no-repeat;float:none;border-radius:10px;padding:90px 20px 20px;text-align:center}.row .row-title{border-bottom:1px solid var(--c-border)}.row .row-title a{color:var(--c-text)}.row .row-title .current{color:var(--c-accent)}input:nth-last-child(n+2){background-color:var(--c-input-bg);border:1px solid var(--c-border);color:var(--c-text)}input:nth-last-child(n+2):focus{background-color:transparent;border:2px solid var(--c-accent)}input[type=submit]{background-color:var(--c-accent)}#remember_text{margin-top:4px;color:var(--c-text)}#passwd_area:before{content:"密码";display:block;font:700 13pt arial,sans-serif;text-align:left;margin-left:5px;margin-bottom:3px;color:var(--c-title)}#login_panel>div:nth-child(1):before{content:"账号";display:block;height:25px;font:700 13pt arial,sans-serif;text-align:left;margin-left:5px;margin-bottom:3px;color:var(--c-title)}.fa.fa-times-circle,.pad-tip{transform:translateY(25px);color:var(--c-title);font-weight:100}input[type=password]::placeholder,input[type=text]::placeholder{color:transparent}input{border-radius:6px!important;height:40px!important;box-sizing:border-box}#msg{display:flex;justify-content:center;text-align:center;width:100%}\n';
  const courseLoginPageStyles = ':root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}.container>div:nth-child(1),.ad,#footer,iframe{display:none}.container{background:none;width:fit-content;height:fit-content}.container>div{padding:0!important;display:flex;justify-content:center}#login form{padding:0!important}#login{background:none;display:flex;justify-content:center;align-items:center;margin:0;padding:0;height:fit-content}body>div>div>#login>form :not(:first-child){display:none}body>div>div>#login>form{width:100%;height:10px;display:block;text-align:center!important;margin-top:min(20vh,300px)}.login_stu{background-color:var(--c-card);border:1px solid var(--c-border);background-image:var(--i-logo);background-size:50%;background-position:top center;background-position-y:20px;background-repeat:no-repeat;float:none;border-radius:10px;margin:0 auto!important;width:200px!important;height:100px;padding:10px;text-align:center;box-shadow:var(--c-box-shadow)}.login_stu a:before{display:block;content:"";color:#0000;height:1px;width:200px;margin:0 auto;background-color:var(--c-border);position:relative;bottom:17px}.login_stu a{display:block;margin:2px auto;width:100%;height:25px;text-decoration:none;padding-top:5px;color:#fff;position:relative;top:65px;background-color:var(--c-accent);border-radius:10px;font-size:10pt}\n';
  const courseHomePageStyles = ':root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}body{position:relative}.brandingImgWrap,#appTabList>tbody>tr,.hideoff,#quick_links_wrap,#global-avatar,#global-toggle-img{display:none}#global-nav-link>*{display:none}#global-nav-link,#global-nav-link:hover,#global-nav-link:focus{overflow:hidden;color:transparent;width:32px;height:32px;padding:0;background:transparent;background-image:var(--i-remind);background-size:80%;background-repeat:no-repeat;background-position:center center;border:none;outline:none}#global-nav-link>*{display:none!important}.global-nav-bar.logout a.logout-link,.global-nav-bar.logout a.logout-link:hover,.global-nav-bar.logout a.logout-link:focus{color:transparent;width:32px;height:32px;padding:0;background:transparent;background-image:var(--i-exit);background-size:80%;background-repeat:no-repeat;background-position:center center}.container,.locationPane{background-color:var(--c-background)}#globalNavPageNavArea{position:fixed;width:100%;z-index:30}.tabWrapper-right,#globalNavPageNavArea,#topTabs{background-color:var(--c-navbar)}#globalNavPageNavArea{padding:1em 140px 1em 0;height:60px;box-sizing:border-box;display:flex;text-align:right;justify-content:flex-end;flex-direction:row;background-image:var(--i-logo);background-repeat:no-repeat;background-size:auto 30px;background-position:2em center;border-bottom:1px solid var(--c-border)}.tabWrapper-right,.bouncer[role=presentation]{width:fit-content}.global-nav-bar-wrap{position:fixed;right:20px;display:flex;justify-content:flex-end;flex-direction:row-reverse;background-color:var(--c-navbar);width:100px;height:60px;box-sizing:border-box;margin:0;padding:0;border-bottom:1px solid var(--c-border)}.global-nav-bar{margin:0;float:none;height:60px;display:flex;flex-direction:row-reverse;justify-content:center;align-items:center}.global-nav-bar:not(:first-child){margin:0 5px}.topTabs .tabWrapper-right{height:fit-content;padding:0}#globalNavPageNavArea a,#globalNavPageNavArea td{padding:0!important}#globalNavPageContentArea,.locationPane,.contentPaneWide,#content,#content>div,#content>div>div,#content>div>div>div,#content>div>div>div>div{height:fit-content;min-height:100vh;padding:0}.container{margin:0;padding:0;border:none;height:fit-content}.containerPortal{display:flex;flex-direction:row}.locationPane .paneTabs{position:absolute;display:none}#column0{margin:60px 0 0;background-color:var(--c-sidebar);border-right:1px solid var(--c-border);width:min(25%,300px)!important;position:fixed;height:100%}html #global-nav-bar-wrap{display:flex;justify-content:flex-end}.clearfix:after,.clearfixParent>div:after,.clearfixParent>li:after{display:none}.portlet{padding:1em;background-color:var(--c-sidebar)}#column0>div:first-child h2{background-color:var(--c-sidebar);font-size:14pt;color:var(--c-title)}#column0>div:first-child{border:none}#column0>div:first-child h2:after{z-index:1;content:"";color:transparent;visibility:visible;display:block;height:10px;position:relative;top:5px;width:60px;border-radius:50px;background-color:var(--c-accent)}#column0>div:first-child div.collapsible{border:none}.portlet .portletList li{border-top:none}.portlet .portletList-img>li{border:none}.portlet .portletList li a{position:relative;color:var(--c-text);font-size:11pt}.portlet .portletList li a:hover{color:var(--red-5)}.portlet .portletList li a:after{content:"";color:transparent;visibility:visible!important;position:absolute;border-bottom:2px solid var(--red-5);border-radius:2px;bottom:-2px;left:100%;width:0;-webkit-transition:width .35s,left .35s;-moz-transition:width .35s,left .35s;transition:width .35s,left .35s}.portlet .portletList li a:hover:after{visibility:visible!important;left:0;width:100%;-webkit-transition:width .35s;-moz-transition:width .35s;transition:width .35s}#column0>div:not(:first-child){display:none}#column0{-webkit-animation:fadeInLeftStablePixel 1s cubic-bezier(.25,.46,.45,.94) forwards;animation:fadeInLeftStablePixel 1s cubic-bezier(.25,.46,.45,.94) forwards}#column1,#column2{-webkit-animation:fadeInUpStablePixel 1s cubic-bezier(.25,.46,.45,.94) forwards;animation:fadeInUpStablePixel 1s cubic-bezier(.25,.46,.45,.94) forwards}#column1{margin-left:calc(min(25%,300px) + 1rem)!important}#column1,#column2{margin-top:60px;margin-left:1em;height:fit-content}#column1 .portlet,#column2 .portlet{border:1px solid var(--c-border);border-radius:5px;background-color:var(--c-card);margin-top:1em}.portlet h2{font-size:14pt;background-color:transparent;color:var(--c-title);border:none}.containerPortal>div:not(:first-child) .portlet .portletList-img>li{padding:7px 10px!important;border-radius:5px;margin-bottom:.25em;position:relative}.collapsible{border-top:none}.containerPortal>div:not(:first-child) .portlet .portletList-img>li:hover{background-color:var(--c-hover)}.containerPortal>div:not(:first-child) .portlet .portletList-img>li>a{display:block;color:var(--c-subtitle);font-size:11pt}.containerPortal>div:not(:first-child) .portlet .portletList-img>li>a:hover{color:var(--blue-5)}.portlet .noItems{text-align:left}#column2 .collapsible div,#column2 .collapsible h3,#column2 .collapsible a,.portlet h3{font-style:normal;color:var(--c-text)}#vertical_container,#bottomButtons{display:none}#global-nav-tools{z-index:9999}#global-nav-flyout{box-shadow:none;border-radius:5px;width:40px!important;height:100px!important;transform:translateY(34px);background-color:transparent}#global-nav-tools{background-color:var(--c-card)}#global-list-tools{margin:0;box-shadow:var(--c-box-shadow);border:1px solid var(--c-border);padding:5px;border-radius:5px;background-color:var(--c-card)}#global-list-tools>.overview,#global-list-tools>.stream,#global-list-tools>.calendar{display:none}#global-list-tools>.alerts,#global-list-tools>.grade{background-color:var(--c-card)}#global-list-tools>.alerts>a:hover,#global-list-tools>.grades>a:hover,#global-list-tools>.more-link a:hover{background-color:var(--c-hover)}#global-list-tools>.alerts>a{border-radius:5px;background:var(--i-alarm);background-size:60%;background-repeat:no-repeat;background-position:center center;margin:0 auto}#global-list-tools>.grades>a{border-radius:5px;background:var(--i-idcard);background-size:60%;background-repeat:no-repeat;background-position:center center;margin:0 auto}#global-list-tools>.more-link>a{border-radius:5px;background:var(--i-idcard);background-size:60%;background-repeat:no-repeat;background-position:center center}#global-more-tools{display:none!important}.mybb-tools li a{opacity:1;background-color:var(--c-card)}.mybb-tools li a:focus,.mybb-tools li a:focus img{outline:none}div.edit_controls>a:before,div.edit_controls>a:hover:before{background:var(--i-setting);background-repeat:no-repeat;background-size:contain;color:transparent}\n';
  const courseContentStyles = ':root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}body{position:relative;display:flex;flex-direction:column;min-height:100%}.brandingImgWrap,#appTabList>tbody>tr,.hideoff,#quick_links_wrap,#global-avatar,#global-toggle-img{display:none}#global-nav-link>*{display:none}#global-nav-link,#global-nav-link:hover,#global-nav-link:focus{color:transparent;width:32px;height:32px;padding:0;background:transparent;background-image:var(--i-remind)!important;background-size:80%;background-repeat:no-repeat;background-position:center center;border:none;outline:none}.global-nav-bar a.logout-link,.global-nav-bar a.logout-link:hover,.global-nav-bar a.logout-link:focus{color:transparent;width:32px;height:32px;padding:0;background:transparent;background-image:var(--i-exit)!important;background-size:80%;background-repeat:no-repeat;background-position:center center}.container,.locationPane,.contentPane,.contentBox{background-color:var(--c-background)}#containerdiv{border:none}.tabWrapper-right,#globalNavPageNavArea,#topTabs{background-color:var(--c-navbar)}#globalNavPageNavArea{padding:1em 140px 1em 0;height:60px;box-sizing:border-box;display:flex;text-align:right;justify-content:flex-end;flex-direction:row;background-image:var(--i-logo);background-repeat:no-repeat;background-size:auto 30px;background-position:2em center;border-bottom:1px solid var(--c-border);position:fixed;width:100%;z-index:30}.tabWrapper-right,.bouncer[role=presentation]{width:fit-content}.global-nav-bar-wrap{position:fixed;right:20px;display:flex;justify-content:flex-end;flex-direction:row-reverse;background-color:var(--c-navbar);width:100px;height:60px;box-sizing:border-box;margin:0;padding:0;border-bottom:1px solid var(--c-border)}.global-nav-bar{margin:0;float:none;height:60px;display:flex;flex-direction:row-reverse;justify-content:center;align-items:center}.global-nav-bar:not(:first-child){margin:0 5px}table.bouncer,.appTabs td.active,.appTabs a:hover span,.appTabs a:focus span{border:none}.topTabs .tabWrapper-right{height:fit-content;padding:0}#globalNavPageNavArea a,#globalNavPageNavArea td{padding:0!important}#breadcrumbs{float:right;width:calc(100% - min(25%,300px));padding:1.2em 1em 1em;box-sizing:border-box;height:80px;margin-bottom:1em;margin-top:60px;z-index:10;color:var(--c-title);background-color:var(--c-background);display:flex;text-align:center;justify-content:center;border:none}#breadcrumbs .coursePath *:not(:first-child){display:none}#breadcrumbs .coursePath{padding:0;margin:0;border-right:none}#breadcrumb_controls_id,#breadcrumbs li:not([class*=coursePath]){display:none}#breadcrumbs span{font-size:18pt;color:var(--c-title);-webkit-animation:tracking-in-expand .7s cubic-bezier(.215,.61,.355,1) both;animation:tracking-in-expand .7s cubic-bezier(.215,.61,.355,1) both}#globalNavPageContentArea{flex-grow:1}.locationPane{min-height:100%}#globalNavPageNavArea{flex-shrink:0}nav.navigationPane{height:100%;transition:none!important}.locationPane nav{width:min(25%,300px)!important;position:fixed;margin-top:60px}#menuWrap{border-right:1px solid var(--c-border)}#menuWrap>#puller{display:none}.navcollapsed{margin-left:0}#menuWrap,.navPaletteContent,#courseMenuPalette_contents li,#courseMenuPalette div.navPaletteContent{background-color:var(--c-sidebar);border-top:none}.actionBarMicro,li.divider,#copyright,#menuWrap li>hr{display:none}#courseMenuPalette_contents li *{color:var(--c-text)!important;font-size:11pt}#menuWrap a[title]{background:none;font-size:12pt;font-weight:700!important;color:var(--c-title)}#courseMenuPalette_paletteTitleHeading h3{background:none!important;border-left:6px solid var(--c-accent)}#menuWrap li a,#menuWrap li span{background:none!important}#menuWrap span{color:var(--c-text);font-size:11pt}#menuWrap a[title]:before,#menuWrap .submenuLink,#menuWrap .submenuLink_active{display:none}#menuWrap h3.navPaletteCol>a{border-left:4px solid var(--c-accent);margin-left:10px;padding-left:16px}#menuWrap>.menuWrap-inner a:hover,#menuWrap>.menuWrap-inner span:not(.reorder):hover{color:var(--red-5)!important;text-decoration:none}#menuWrap h3 a:hover{background-color:var(--c-hover)}#menuWrap a span{display:inline;position:relative}#menuWrap a span:nth-child(1):after{content:"";color:transparent;visibility:visible!important;position:absolute;border-bottom:2px solid var(--red-5);border-radius:2px;bottom:-2px;left:100%;width:0;-webkit-transition:width .35s,left .35s;-moz-transition:width .35s,left .35s;transition:width .35s,left .35s}#menuWrap a span:nth-child(1):hover:after{visibility:visible!important;left:0;width:100%;-webkit-transition:width .35s;-moz-transition:width .35s;transition:width .35s}.navPalette.tools{border:none}.locationPane{background-color:var(--c-background)}.contentPane .shadow{border:none}#pageTitleDiv{margin:0!important}#contentPanel{z-index:10;margin-top:60px;margin-left:min(25%,300px)}#content{width:min(100%,1200px);margin:0 auto}#contentPanel{-webkit-animation:fadeInUpStablePixelForContentBox .7s cubic-bezier(.215,.61,.355,1) both;animation-delay:.5s;animation:fadeInUpStablePixelForContentBox .7s cubic-bezier(.215,.61,.355,1) both}.localViewToggle{display:none}#pageTitleHeader{color:var(--blue-7)!important;background-color:var(--blue-2);padding:.3em 1em;border-radius:5px;font-size:20px!important}#pageTitleHeader *{color:var(--blue-7)!important}#pageTitleText{font-weight:700}#vertical_container,#bottomButtons{display:none}#global-nav-tools{z-index:9999}#global-nav-flyout{box-shadow:none;border-radius:5px;width:40px!important;height:100px!important;transform:translateY(34px);background-color:transparent}#global-nav-tools{background-color:var(--c-card)}#global-list-tools{margin:0;box-shadow:var(--c-box-shadow);border:1px solid var(--c-border);padding:5px;border-radius:5px;background-color:var(--c-card)}#global-list-tools>.overview,#global-list-tools>.stream,#global-list-tools>.calendar{display:none}#global-list-tools>.alerts,#global-list-tools>.grade{background-color:var(--c-card)}#global-list-tools>.alerts>a:hover,#global-list-tools>.grades>a:hover{background-color:var(--c-hover)}#global-list-tools>.alerts>a{border-radius:5px;background:var(--i-alarm);background-size:60%;background-repeat:no-repeat;background-position:center center;margin:0 auto}#global-list-tools>.grades>a{border-radius:5px;background:var(--i-idcard);background-size:60%;background-repeat:no-repeat;background-position:center center;margin:0 auto}#global-list-tools>.more-link>a{border-radius:5px;background:var(--i-idcard);background-size:60%;background-repeat:no-repeat;background-position:center center}#global-more-tools{display:none!important}.mybb-tools li a{opacity:1;background-color:var(--c-card)}.mybb-tools li a:focus,.mybb-tools li a:focus img{outline:none}#pageList a.individualContent-link{background-color:transparent!important;background:linear-gradient(180deg,transparent 90%,var(--red-2) 90%)!important}#pageList a.individualContent-link span{text-decoration:none;color:var(--c-text)!important}#pageList .liItem,#pageList .buildList>li{padding:1rem 1.5rem;border-radius:.5rem;border:1px solid transparent;width:fit-content;transition:all ease-in .15s}#pageList .liItem:hover,#pageList .buildList>li:hover{border:none;background:var(--c-button);border:1px solid var(--c-border)}.pageTitle h1+.contextMenuContainer{display:none!important}.ineditmode div.listCm ul.courseMenu li{border:none!important}\n';
  const courseAnnouncementStyles = ':root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}#containerdiv,#announcementList{border:none}#announcementList>li{border:1px solid var(--c-border);background:var(--c-card);margin-bottom:2em;border-radius:5px;position:relative}#announcementList>li>h3:first-child{color:var(--c-title)!important;font-size:18px}#announcementList>li>.announcementInfo{position:absolute;top:50px;left:30px;height:60px;border:none;display:flex;flex-direction:row;width:fit-content;justify-content:flex-start;padding:0;margin-top:5px}#announcementList>li>.announcementInfo>p{display:inline;width:fit-content;height:fit-content;border-radius:1000px;border:1px solid var(--c-border);background-color:var(--c-label);padding:.2em 1em;color:var(--c-text);margin-right:1em}#announcementList>li>.announcementInfo>p>span{display:none}#announcementList>li>.details{margin:40px 0 0}#announcementList>li>.details *{font-family:inherit!important;color:var(--c-text)!important;text-decoration:none!important;font-style:normal!important;font-size:14px!important;line-height:1.6}#announcementList>li>.details *[style*=background-color],#announcementList>li>.details *[style*=text-decoration]{background-color:transparent!important;background:linear-gradient(180deg,transparent 90%,var(--red-2) 90%)!important}#announcementList>li>.details *[style*="text-decoration-style: initial;"]:not([style*=background-color]){background:none!important}#announcementList>li>.details strong{color:var(--c-accent)!important;font-weight:400}#announcementList>li>.details a{color:var(--c-accent)!important;background:linear-gradient(180deg,transparent 90%,var(--c-link) 90%)!important}#announcementList>li>.details a:hover{background:linear-gradient(180deg,var(--c-hover) 90%,var(--c-link) 90%)!important}#announcementList>li>.details>p:first-child span{display:flex;flex-direction:flex-start;justify-content:center;align-items:center;width:fit-content}#announcementList>li>.details>p:first-child span:before{content:"";display:inline-block;background:var(--i-watch);margin-right:1em;background-size:100%;background-position:center center;width:20px;height:20px;background-repeat:no-repeat}\n';
  const courseClassinStyles = ":root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}#pageTitleDiv>*:not([id=pageTitleBar]){display:none}#pageTitleDiv{color:transparent}#actionbar{border:none;border-bottom:1px solid var(--c-border)}#actionbar .mainButton>a{color:var(--c-text);border-radius:5px 5px 0 0;border-bottom:2px solid transparent!important}#actionbar .mainButton>a:hover{background:var(--c-hover);border-bottom:2px solid var(--c-accent)!important}#searchForm{display:none}.container{border:1px solid var(--c-border);background:var(--c-card);border-radius:5px}.container *{font-family:inherit!important;color:var(--c-text)!important;text-decoration:none!important;font-style:normal!important;font-size:14px;line-height:1.6}.container .backLink a{background:var(--c-card)}.container .backLink a:hover{background-color:var(--c-hover)}\n";
  const courseBlankPageStyles = ':root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}#containerdiv{border:1px solid var(--c-border);background:var(--c-card);margin-bottom:2em;border-radius:5px;padding:20px 30px;color:var(--c-text)}#containerdiv *{font-family:inherit!important;color:var(--c-text)!important;text-decoration:none!important;font-style:normal!important;font-size:14px!important;line-height:1.6}#containerdiv *[style*=background-color],#containerdiv *[style*=text-decoration]{background-color:transparent!important;background:linear-gradient(180deg,transparent 90%,var(--red-2) 90%)!important}#containerdiv *[style*="text-decoration-style: initial;"]:not([style*=background-color]){background:none!important}\n';
  const courseVideolistStyles = ":root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}.container{margin-top:0;padding-top:0}.searchbar{display:none}#listContainer{border:1px solid var(--c-border);background:var(--c-card);border-radius:5px;padding:5px 0}#listContainer_datatable{padding:0 10px;background:var(--c-card)}#listContainer_datatable .inventoryListHead *{color:var(--c-title);font-weight:700;padding-left:12px}#listContainer_datatable>.inventoryListHead *{border-bottom:1px solid var(--c-border)!important}#listContainer_databody{border-bottom:none}#listContainer_databody>tr{background:var(--c-card)}#listContainer_databody>tr:nth-child(2n){background:var(--gray-1)}#containerdiv{width:inherit}#listContainer_databody>tr>*:first-child{border-radius:5px 0 0 5px}#listContainer_databody>tr>*:last-child{border-radius:0 5px 5px 0;border-bottom:none!important}#listContainer_databody>tr:last-child>*{border-bottom:none!important}#listContainer_databody>tr>*{line-height:24px;margin-top:5px;border:none}#listContainer_databody>tr *{color:var(--c-text)}#listContainer_databody>tr .table-data-cell-value>a{color:var(--cyan-7);border-radius:3px;padding:0 1em}#listContainer_databody>tr .table-data-cell-value>a:hover{text-decoration:none;background:var(--cyan-2)}#listContainer>.rumble_top{display:none}#listContainer_nav_batch_bot{display:flex;justify-content:center;padding:10px 0 0}#listContainer_nav_batch_bot>.inventory_paging{margin:0;padding:0}#listContainer_navpaging_bot .jumpToLinkContainer,#listContainer_navpaging_bot .jumpToLinkContainer *{background:var(--c-primary-light);color:var(--c-primary);border:none;box-shadow:none}#listContainer_navpaging_bot .jumpToLinkContainer{border-radius:5px;padding:5px 8px;display:inline-flex;justify-content:center}#listContainer_navpaging_bot>a{background-color:transparent;border:none;box-shadow:none}#listContainer_pagingcontrols{display:flex;justify-content:center;width:100%;margin-bottom:5px}#listContainer_pagingcontrols #listContainer_itemcount>span{border:none;padding:0;margin:0;color:var(--c-text)}#listContainer_pagingcontrols #listContainer_itemcount>span>strong{color:var(--c-title);display:inline;padding:0 5px}#listContainer_pagingcontrols #listContainer_itemcount>span>strong:last-child{padding-right:0}\n";
  const courseOtherStyles = ":root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}#pageTitleDiv>*:not([id=pageTitleBar]){display:none}#pageTitleDiv{color:transparent}#actionbar{border:none;border-bottom:1px solid var(--c-border)}#actionbar .mainButton>a,#actionbar .secondaryButton>a{color:var(--c-text);background:var(--c-background);outline:none;border-radius:5px 5px 0 0;border-bottom:2px solid transparent!important}#actionbar .mainButton>a:hover,#actionbar .secondaryButton>a:hover{background:var(--c-hover);border-bottom:2px solid var(--c-accent)!important}#actionbar .secondaryButton>a.liveAreaTab{border-bottom:2px solid var(--c-accent)!important}#actionbar+.containerOptions{padding-right:30px;padding-left:30px}#actionbar+.containerOptions .liveArea{border-radius:0 0 5px 5px;border:1px solid var(--c-border);border-top:none}#searchForm{display:none}.container{border:1px solid var(--c-border);background:var(--c-card);border-radius:5px}.container *{font-family:inherit!important;color:var(--c-text)!important;text-decoration:none!important;font-style:normal!important;font-size:14px;line-height:1.6}.container .backLink a{background:var(--c-card)}.container .backLink a:hover{background-color:var(--c-hover)}\n";
  const courseClassGradeStyles = ':root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}#containerdiv{border:none;background:var(--c-background)}.filterBarHorizontal{background:var(--c-background);border-bottom:1px solid var(--c-border)}#filterby{display:inline-flex;height:100%;padding-top:0;padding-bottom:0}#filterby>li{height:100%;position:relative}#filterby a{box-sizing:border-box;height:100%;display:flex;padding:10px 15px;box-shadow:none!important;font-size:11pt;font-weight:700;color:var(--c-text);border-radius:5px 5px 0 0;border:none;border-bottom:2px solid transparent}#filterby a:hover{background:var(--c-hover);border-bottom:2px solid var(--c-accent)}#filterby a.active{color:var(--c-accent);background:var(--c-background);border-bottom:2px solid var(--c-accent)}.filterBarHorizontal select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--c-card);color:var(--c-text);border:1px solid var(--c-border);border-radius:3px;outline:none}.filterBarHorizontal select:hover{background:var(--c-hover);color:var(--c-title)}.gradeTableNew{display:flex;flex-direction:column;margin-top:50px}.gradeTableNew .grades_header{position:relative;width:100%;left:0;right:0;top:0;margin-top:1em;border:1px solid var(--c-border);border-bottom:none;border-radius:5px 5px 0 0;background:var(--c-card);display:flex;padding:0 10px;height:fit-content;box-sizing:border-box}.gradeTableNew .grades_header>div{color:var(--c-title);font-weight:700;font-size:11pt!important;margin-top:10px;border-bottom:1px solid var(--c-border);padding-bottom:10px!important;margin-bottom:4px;height:fit-content!important}.gradeTableNew>#grades_wrapper{width:100%;display:block;margin-top:0;border:1px solid var(--c-border);border-top:none;border-radius:0 0 5px 5px;background:var(--c-card);padding:0 10px 10px;box-sizing:border-box}#grades_wrapper>div{border-radius:5px;padding:5px 0;border:none;box-sizing:border-box;height:65px}#grades_wrapper>div:not(.calculatedRow):nth-child(2n){background:var(--gray-1)}#grades_wrapper>div:not(.calculatedRow):hover{background:var(--c-hover)}#grades_wrapper .calculatedRow{box-shadow:none;border:none;box-sizing:border-box;border-left:6px solid var(--gray-4);border-radius:0 5px 5px 0;background:var(--gray-2);background:linear-gradient(90deg,var(--gray-2) 10%,var(--c-card) 90%);margin-bottom:10px}#grades_wrapper .calculatedRow input{box-shadow:none;text-decoration:none!important;border:none;color:var(--c-text)}#grades_wrapper>div>div.gradable{height:100%}#grades_wrapper>div>div.gradable,#grades_wrapper>div>div.gradable>a{color:var(--gray-7);font-weight:700;font-size:14px}#grades_wrapper>div>div.gradable>a{width:fit-content;display:block;color:var(--blue-6);overflow:visible;margin-bottom:8px}#grades_wrapper>div>div.gradable>div{font-size:12px;display:inline;color:var(--c-text)}#grades_wrapper>div>div.gradable>div:first-child:before{display:block;margin-bottom:8px;content:""}#grades_wrapper>div>div.gradable>a+div:before{display:none}#grades_wrapper>div>div.gradable>div{margin-right:8px}#grades_wrapper>div>div.activity span{color:var(--c-text)}#grades_wrapper>div>div.grade span.grade{color:var(--cyan-7)}#grades_wrapper>div>div.grade span.pointsPossible{color:var(--c-text)}#grades_wrapper>div>div img.tooltip-icon{width:18px;content:var(--i-tip)}#grades_wrapper>div>div i.icon-comment:before{width:18px;background:var(--i-comment);background-size:contain!important;background-repeat:no-repeat;background-position:center center;content:".";color:transparent}#grades_wrapper>div>div .tooltip{background:var(--c-card);border:1px solid var(--c-border);box-shadow:none!important;color:var(--c-title);text-shadow:none}#grades_wrapper>div>div .tooltipContainer-left .tooltip:after{text-shadow:none}#submissionReceipts{background:var(--c-card);color:var(--c-text);font-family:sans-serif}#grades_wrapper>div{position:relative}#grades_wrapper .itemStats{position:absolute;top:0;right:0;padding:5px}\n';
  const courseListContentStyles = ':root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}#content_listContainer>li{background:var(--c-card);border:1px solid var(--c-border);border-radius:5px;margin-bottom:16px;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;align-content:center;height:fit-content}#content_listContainer>li:after{display:none}#content_listContainer>li>img{position:relative;top:0;left:0;padding:5px;border-radius:5px;height:32px;width:32px;box-sizing:border-box;margin-right:10px}#content_listContainer>li>img[src*=document],#content_listContainer>li>img[src*=file],#content_listContainer>li>img{content:var(--i-file);background:var(--red-3)}#content_listContainer>li>img[src*=folder]{content:var(--i-folder);background:var(--orange-3)}#content_listContainer>li>img[src*=link]{content:var(--i-link);background:var(--yellow-3)}#content_listContainer>li>div img[alt=链接的项目]{display:none}#content_listContainer>li>div.item{display:inline;flex-basis:calc(100% - 42px);padding:0}#content_listContainer>li>div.item *{text-decoration:none;color:var(--c-title)!important}#content_listContainer>li>div.details{padding-left:0;flex-basis:100%}#content_listContainer>li>div.details>*:not(.alignPanel):first-child{margin-top:10px!important;border-top:1px solid var(--c-border);padding-top:5px!important}#content_listContainer>li>div.details *{background:var(--c-card);border:none;color:var(--c-text)!important;line-height:1.6!important;font-family:inherit!important;font-size:14px!important;text-decoration:none!important;font-style:normal!important}#content_listContainer>li>div.details img{border-radius:5px}#content_listContainer>li>div.details img[alt=文件]{display:none}#content_listContainer>li>div.details *[style*=background]{background:none!important}#content_listContainer>li>div.details span[style*=text-decoration],#content_listContainer>li>div.details span[style*=color],#content_listContainer>li>div.details span[style*=background]{color:var(--c-text)!important;background:linear-gradient(180deg,transparent 90%,var(--red-2) 90%)!important}#content_listContainer>li>div.details a,#content_listContainer>li>div.details span[style*="color: #0000ff"]{color:var(--blue-5)!important;text-decoration:none}\n';
  const courseViewAttemptStyles = ":root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}#containerdiv{border-radius:5px;background:var(--c-card);padding:16px;border:1px solid var(--c-border)}#containerdiv h3{padding:0;background:none;margin:0 0 10px;font-size:16px;top:0;color:var(--c-title)}#containerdiv>.stepcontent{background:var(--gray-1);box-sizing:border-box;border-radius:5px;margin-bottom:16px}#containerdiv>.stepcontent .label{color:var(--c-text);border-left:3px solid var(--c-accent);padding-left:6px}#containerdiv>.stepcontent .field{color:var(--c-title)}#containerdiv>.stepcontent li:last-child{padding-bottom:0;margin-bottom:0}#containerdiv>.columnStep>div{background:var(--gray-1);padding:5px;box-sizing:border-box;border-radius:5px;margin-bottom:16px}#containerdiv>.columnStep .attachments tr:first-child{border:none}#containerdiv>.columnStep .attachments tr:first-child *{color:var(--c-title);font-weight:700}#containerdiv>.columnStep .attachments tr:not(:first-child){border-top:1px solid var(--c-border)}#containerdiv>.columnStep .attachments tr:not(:first-child) *{padding-top:5px;padding-bottom:5px;color:var(--c-text)}#containerdiv>.iconlegend a{background:var(--c-label);border:1px solid var(--c-border);border-radius:5px;color:var(--c-text);box-shadow:none}#containerdiv>.backLink a{border-radius:5px 0;background:var(--c-card);box-shadow:none;color:var(--c-text)}#containerdiv>.backLink a:hover{background:var(--c-hover);color:var(--c-primary)}\n";
  const courseToolFrameStyles = ':root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}.brandingImgWrap,#appTabList>tbody>tr,.hideoff,#quick_links_wrap,#global-avatar,#global-toggle-img{display:none}#global-nav-link>*{display:none}#global-nav-link,#global-nav-link:hover,#global-nav-link:focus{color:transparent;width:32px;height:32px;padding:0;background:transparent;background-image:var(--i-remind)!important;background-size:80%;background-repeat:no-repeat;background-position:center center;border:none;outline:none}.global-nav-bar a.logout-link,.global-nav-bar a.logout-link:hover,.global-nav-bar a.logout-link:focus{color:transparent;width:32px;height:32px;padding:0;background:transparent;background-image:var(--i-exit)!important;background-size:80%;background-repeat:no-repeat;background-position:center center}.container,.locationPane,.contentPane{background-color:var(--c-background)}.tabWrapper-right,#globalNavPageNavArea,#topTabs{background-color:var(--c-navbar)}#globalNavPageNavArea{padding:1em 140px 1em 0;height:60px;box-sizing:border-box;display:flex;text-align:right;justify-content:flex-end;flex-direction:row;background-image:var(--i-logo);background-repeat:no-repeat;background-size:auto 30px;background-position:2em center;border-bottom:1px solid var(--c-border)}.tabWrapper-right,.bouncer[role=presentation]{width:fit-content}.global-nav-bar-wrap{position:absolute;right:20px;display:flex;justify-content:flex-end;flex-direction:row-reverse;background-color:var(--c-navbar);width:100px;height:60px;box-sizing:border-box;margin:0;padding:0;border-bottom:1px solid var(--c-border)}.global-nav-bar{margin:0;float:none;height:60px;display:flex;flex-direction:row-reverse;justify-content:center;align-items:center}.global-nav-bar:not(:first-child){margin:0 5px}table.bouncer,.appTabs td.active,.appTabs a:hover span,.appTabs a:focus span{border:none}.topTabs .tabWrapper-right{height:fit-content;padding:0}#globalNavPageNavArea a,#globalNavPageNavArea td{padding:0!important}#globalNavPageContentArea,#globalNavPageContentArea .locationPane,#contentPanel,#content,#containerdiv,#containerdiv>div,#iframe_wrap{height:fit-content!important}#globalNavPageContentArea{height:calc(100vh - 60px)!important;top:0}nav.navigationPane{height:100%}.locationPane{background-color:var(--c-background)}.contentPane .shadow{border:none}#pageTitleDiv{margin:0!important}#vertical_container,#bottomButtons{display:none}#global-nav-tools{z-index:9999}#global-nav-flyout{box-shadow:none;border-radius:5px;width:40px!important;height:100px!important;transform:translateY(34px);background-color:transparent}#global-nav-tools{background-color:var(--c-card)}#global-list-tools{margin:0;box-shadow:var(--c-box-shadow);border:1px solid var(--c-border);padding:5px;border-radius:5px;background-color:var(--c-card)}#global-list-tools>.overview,#global-list-tools>.stream,#global-list-tools>.calendar{display:none}#global-list-tools>.alerts,#global-list-tools>.grade{background-color:var(--c-card)}#global-list-tools>.alerts>a:hover,#global-list-tools>.grades>a:hover{background-color:var(--c-hover)}#global-list-tools>.alerts>a{border-radius:5px;background:var(--i-alarm);background-size:60%;background-repeat:no-repeat;background-position:center center;margin:0 auto}#global-list-tools>.grades>a{border-radius:5px;background:var(--i-idcard);background-size:60%;background-repeat:no-repeat;background-position:center center;margin:0 auto}#global-list-tools>.more-link>a{border-radius:5px;background:var(--i-idcard);background-size:60%;background-repeat:no-repeat;background-position:center center}#global-more-tools{display:none!important}.mybb-tools li a{opacity:1;background-color:var(--c-card)}.mybb-tools li a:focus,.mybb-tools li a:focus img{outline:none}#globalNavPageNavArea .bouncer *{vertical-align:middle;font-weight:700!important;overflow:visible;border:none}#globalNavPageNavArea a{margin:0}#globalNavPageContentArea,#globalNavPageContentArea .locationPane,#contentPanel,#content{background:var(--c-background)}#side_nav{background:var(--c-sidebar);border-right:1px solid var(--c-border);width:min(25%,300px)!important;padding:1em}#side_nav:before{content:"工具";display:block;width:100%;font-size:19px;text-align:left;color:var(--c-title);font-weight:700;padding:7px 18px 0}#side_nav #mybbListTools{display:flex;flex-direction:column;box-sizing:border-box;width:100%;padding:0 18px;margin-top:0}#side_nav #mybbListTools:before{z-index:1;content:"";color:transparent;visibility:visible;display:block;height:10px;position:relative;top:5px;width:60px;border-radius:50px;box-sizing:border-box;background-color:var(--c-accent);margin-bottom:21px}#side_nav #mybbListTools li{display:none;border:none;border-left:6px solid transparent}#side_nav #mybbListTools li[id*=Alerts],#side_nav #mybbListTools li[id*=MyGrades]{display:block}#side_nav #mybbListTools li *{background-color:transparent;box-shadow:none;outline:none;text-decoration:none}#side_nav #mybbListTools li.active{border-left:6px solid var(--c-accent)}#side_nav #mybbListTools li span.menu-icon{padding-left:50px;border-radius:5px;display:flex;justify-content:left;flex-direction:row;justify-items:flex-start;align-items:center;text-decoration:none!important}#side_nav #mybbListTools li.active span.menu-icon{border-radius:0 5px 5px 0}#side_nav #mybbListTools li[id*=Alerts] span.menu-icon{background:var(--i-sandclock);background-repeat:no-repeat;background-size:25px 25px;background-position:10px}#side_nav #mybbListTools li[id*=Alerts] span.menu-icon:after{content:"禁止摸鱼";color:var(--c-text);display:block;font-size:16px}#side_nav #mybbListTools li[id*=MyGrades] span.menu-icon{background:var(--i-clover);background-repeat:no-repeat;background-size:25px 25px;background-position:10px}#side_nav #mybbListTools li[id*=MyGrades] span.menu-icon:after{content:"绩点高高";color:var(--c-text);display:block;font-size:16px}#side_nav #mybbListTools li span.menu-icon:hover:after{color:var(--c-accent)}#side_nav #mybbListTools li span.menu-icon:hover{background-color:var(--c-hover)!important}#side_nav #mybbListTools li[id*=Alerts] img{display:none}#iframe_wrap{margin-left:min(25%,300px);position:relative;left:0;box-shadow:none;border:none;display:flex;align-items:center;justify-content:center;height:100%;padding-top:calc(10vh - 30px)}#iframe_wrap iframe{width:min(100%,1200px);height:80vh!important;border-radius:5px;border:1px solid var(--c-border);padding:5px;background:var(--c-card)}\n';
  const courseToolAlertStyles = ':root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}html,#outer_left_stream_alerts{background:var(--c-card)}*{box-shadow:none!important}html,.locationPane,#contentPanel{padding:0;height:fit-content}#streamHeader_alerts,#streamHeader_alerts *{background:var(--c-card);text-shadow:none}#settingsContainer_alerts,#outer_left_stream_alerts{border:none}#settingsContainer_alerts{background:var(--c-card);border:1px solid var(--c-border);margin:10px}#settingsContainer_alerts *{color:var(--c-text)}#settingsContainer_alerts .streamSettingHelpLinks{border-top:1px solid var(--c-border)}#streamSettingButtons a{color:var(--cyan-5);border:none;border-radius:3px;font-size:12px;background:var(--c-label)}#streamSettingButtons a:hover{background:var(--cyan-2);color:var(--cyan-7)}#streamHeader_alerts{padding-bottom:0;height:100%;border:none}#streamHeader_alerts span.current-page,#streamHeader_alerts span.icon{display:none}#filter_by_alerts button{color:var(--c-text);border:1px solid var(--c-border);border-radius:.2rem}#filter_by_alerts button:hover{background:var(--c-hover);color:var(--c-accent)}#streamHeader_alerts .title-text{color:var(--c-title);font-weight:700;text-shadow:none;padding-left:12px}#streamHeader_alerts li{padding:0}#streamHeader_alerts a[id*=filter_type_all]{background:var(--c-label);border:1px solid var(--c-border)}#streamHeader_alerts h5{color:var(--c-title);font-weight:700}#streamHeader_alerts a{color:var(--c-text);line-height:1.6;text-decoration:none;border-radius:0;border:none;border-left:4px solid transparent}#streamHeader_alerts a.active{box-shadow:none;border-left:4px solid var(--c-accent)}#streamHeader_alerts a:hover{color:var(--red-5);background:var(--c-hover)}#stream_alerts #stream_currentFilterText_alerts,#stream_alerts .left_stream_wrapper{box-shadow:none;background:var(--c-card);border:none}#stream_currentFilterText_alerts{color:var(--c-text);font-weight:700;text-shadow:none}#left_stream_alerts>div,#left_stream_alerts>div *{color:var(--c-text);font-style:normal;font-family:sans-serif!important;border-radius:5px;border:none}#left_stream_alerts>div.stream_new_entry{background:inherit}#left_stream_alerts>div.stream_new_entry .stream_context:before{content:"New";color:var(--c-accent);font-size:12px;font-weight:700;padding:0 5px;background:var(--c-label);border-radius:5px;margin-right:5px}#left_stream_alerts>div:nth-child(2n){background:var(--gray-1)}#left_stream_alerts>div:hover{background:var(--c-card-hover)!important;transition:all ease-in .2s}#left_stream_alerts>div span.stream_area_name{color:var(--c-secondary)}#left_stream_alerts>div span.inlineContextMenu>a{color:var(--cyan-5);border:none;border-radius:3px;font-size:12px}#left_stream_alerts>div span.inlineContextMenu>a:hover{background:var(--cyan-2);color:var(--cyan-7)}#left_stream_alerts>div div.stream_details *{font-size:14px;line-height:1em}span.open_stream_settings{background:var(--i-setting)!important;background-repeat:no-repeat;background-position:center center}.streamError{display:none}\n';
  const courseToolGradeStyles = ":root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}.stream_pages{display:flex;justify-content:space-between;width:100%}*{background:var(--c-card);box-shadow:none!important;outline:none!important;font-style:normal!important;font-family:sans-serif!important}.stream_page_left,.stream_right,html{border:none!important;background:var(--c-card)!important}.stream_page_left{width:400px!important;flex-basis:400px;box-sizing:border-box}.stream_header>h1 span.current-page,.stream_header span.icon{display:none}.stream_header>h1 span.title-text{color:var(--c-title);font-weight:700;text-shadow:none;padding-left:12px}.stream_list_filter{display:flex;flex-wrap:wrap;height:fit-content}.stream_list_filter>li{background:transparent!important}.stream_list_filter>li:nth-child(1),.stream_list_filter>li:nth-child(2){flex-basis:50%;margin-bottom:10px;padding:10px 8px 5px;box-sizing:border-box;border-bottom:1px solid var(--c-border)}.stream_list_filter>li:nth-child(1) a,.stream_list_filter>li:nth-child(2) a{background:transparent;color:var(--c-text);border-bottom:2px solid transparent}.stream_list_filter>li:nth-child(1) a:hover,.stream_list_filter>li:nth-child(2) a:hover{border-bottom:2px solid var(--c-accent);background:var(--c-hover);border-radius:5px 5px 0 0}.stream_list_filter>li.stream_filterlinks_divider{border:none}.stream_list_filter>li a:hover{color:var(--c-accent)!important}.stream_list_filter>li:nth-child(4) button,.stream_list_filter>li:nth-child(5) button,.stream_list_filter>li:nth-child(6) button{color:var(--c-text);border-bottom:2px solid transparent;background:transparent;border:none!important}.stream_list_filter>li button.active{background:var(--c-hover)}.stream_header{border:none}.stream_dynamic_filters{background-color:var(--c-card)!important;border:1px solid var(--c-border);padding:10px;box-shadow:var(--c-box-shadow)!important}.stream_dynamic_filters h5{color:var(--c-title);font-size:15px!important;font-weight:700}.stream_dynamic_filters li a{color:var(--c-text);border-radius:3px;margin-bottom:2px}.stream_dynamic_filters li a:hover{background:var(--c-hover)}.stream_left>div{border:none!important;border-radius:6px}.stream_left>div:last-child{margin-bottom:50px}.stream_left>div *{background:transparent}.stream_left>div.active_stream_item{background:var(--c-hover)}.stream_left>div .grade-value{color:var(--c-secondary)}.stream_left>div.active_stream_item .grade-value{color:var(--cyan-7)}.stream_left>div .stream_context{color:var(--c-text)!important;font-size:14px!important}.stream_left>div .stream_area_name{background-color:var(--c-secondary);border-radius:100px;padding:0 5px;color:var(--c-card)}.stream_left>div.active_stream_item .stream_area_name{background-color:var(--cyan-7)}.stream_pages>.stream_settings{position:absolute;display:none!important}.stream_pages:after{position:absolute;display:none!important}iframe.stream_right{width:calc(100% - 420px)!important;flex-basis:calc(100% - 420px);padding:5px!important;box-sizing:border-box}.streamError{display:none}\n";
  const courseToolGradeClassStyles = ':root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}*{box-shadow:none!important;text-shadow:none!important}body,html,.container{border:none;background:var(--c-card)!important}#streamDetailHeaderRight>span{display:none}#streamDetailHeaderRight h2.streamHeader a{color:var(--cyan-8);border:none}#streamDetailHeaderRight{height:fit-content;min-height:0;border-bottom:none;padding-bottom:0;margin-bottom:10px}.filterBarHorizontal{background:var(--c-card);border-bottom:1px solid var(--c-border)}#filterby{display:inline-flex;height:100%;padding-top:0;padding-bottom:0}#filterby>li{height:100%;position:relative}#filterby a{box-sizing:border-box;height:100%;display:flex;padding:10px 15px;box-shadow:none!important;font-size:11pt;font-weight:700;color:var(--c-text);border-radius:5px 5px 0 0;border:none;border-bottom:2px solid transparent}#filterby a:hover{background:var(--c-hover)!important;border-bottom:2px solid var(--c-secondary)}#filterby a.active{color:var(--c-secondary);background:var(--c-card);border-bottom:2px solid var(--c-secondary)}.filterBarHorizontal select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--c-card);color:var(--c-text);border:1px solid var(--c-border);border-radius:5px;outline:none;padding:3px 10px}.filterBarHorizontal select:hover{background:var(--c-hover)!important;color:var(--c-title)!important}.gradeTableNew .grades_header{border-bottom:none;border-radius:5px 5px 0 0;background:var(--c-card);display:flex;padding:0 10px;height:fit-content;box-sizing:border-box}.gradeTableNew .grades_header .cell.grade{font-size:12px}.gradeTableNew .grades_header>div{color:var(--c-title);font-weight:700;font-size:11pt!important;font-family:sans-serif;margin-top:10px;border-bottom:1px solid var(--c-border);padding-bottom:10px!important;margin-bottom:4px;height:fit-content!important}.gradeTableNew #grades_wrapper{margin-top:90px!important}#grades_wrapper>div{border-radius:5px;padding:5px 0;border:none;box-sizing:border-box;height:65px;transition:all ease-in .2s}#grades_wrapper>div:last-child{margin-bottom:50px}#grades_wrapper>div:not(.calculatedRow):nth-child(2n){background:var(--gray-1)}#grades_wrapper>div:not(.calculatedRow):hover{background:var(--c-card-hover)}#grades_wrapper>div:first-child{margin-top:10px}#grades_wrapper .calculatedRow{box-shadow:none;border:none;box-sizing:border-box;border-left:6px solid var(--gray-4);border-radius:0 5px 5px 0;background:var(--gray-2);background:linear-gradient(90deg,var(--gray-2) 10%,var(--c-card) 90%);margin-bottom:10px}#grades_wrapper .calculatedRow input{box-shadow:none;text-decoration:none!important;border:none;color:var(--c-text)}#grades_wrapper>div>div.gradable{height:100%}#grades_wrapper>div>div.gradable,#grades_wrapper>div>div.gradable>a{color:var(--gray-7);font-weight:700;font-size:14px}#grades_wrapper>div>div.gradable>a{width:fit-content;display:block;color:var(--cyan-6);overflow:visible;margin-bottom:8px}#grades_wrapper>div>div.gradable>div{font-size:12px;display:inline;color:var(--c-text)}#grades_wrapper>div>div.gradable>div:first-child:before{display:block;margin-bottom:8px;content:""}#grades_wrapper>div>div.gradable>a+div:before{display:none}#grades_wrapper>div>div.gradable>div{margin-right:8px}#grades_wrapper>div>div.activity span{color:var(--c-text)}#grades_wrapper>div>div.grade span.grade{color:var(--cyan-7)}#grades_wrapper>div>div.grade span.pointsPossible{color:var(--c-text)}#grades_wrapper>div>div img.tooltip-icon{width:18px;content:var(--i-tip)}#grades_wrapper>div>div i.icon-comment:before{width:18px;background:var(--i-comment);background-size:contain!important;background-repeat:no-repeat;background-position:center center;content:".";color:transparent}#grades_wrapper>div>div .tooltip{background:var(--c-card);border:1px solid var(--c-border);box-shadow:none!important;color:var(--c-title);text-shadow:none}#grades_wrapper>div>div .tooltipContainer-left .tooltip:after{text-shadow:none}#submissionReceipts{background:var(--c-card);color:var(--c-text);font-family:sans-serif}#grades_wrapper>div{position:relative}#grades_wrapper .itemStats{position:absolute;top:0;right:0;padding:5px}\n';
  const courseToolGradeItemStyles = ":root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}*{box-shadow:none!important;text-shadow:none!important}body,html,.container{border:none;background:var(--c-card)!important}#streamDetailHeaderRight>span{display:none}#streamDetailHeaderRight h2.streamHeader a{color:var(--cyan-8);border:none}#streamDetailHeaderRight{height:fit-content;min-height:0;border-bottom:none;padding-bottom:0;margin-bottom:10px}.gb_feedback{border-left:6px solid var(--cyan-2);height:fit-content;padding:5px 10px;margin-bottom:10px}.gb_feedback:before{display:none}.gb_feedback p{font-family:sans-serif;font-size:14px;color:var(--c-text);line-height:1.6}.gb_feedback p:last-child{margin-bottom:0}.gradeTable *{background:var(--c-card);border:none!important;color:var(--c-text)!important}.gradeTable .gradeCellGrade{color:var(--cyan-7)!important}.gradesByDate input[type=button]{color:var(--c-text)!important;padding:3px 8px;text-decoration:none;border-radius:3px}.gradesByDate input[type=button]:hover{background:var(--cyan-2)}#grades_wrapper>div{position:relative}#grades_wrapper .itemStats{position:absolute;top:0;right:0;padding:5px}\n";
  const courseFileEmbedStyles = ":root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}ul#content_listContainer{background:var(--cyan-1)}ul#content_listContainer>li:hover{background:var(--cyan-1);border:none;border-left:6px solid var(--cyan-6)}ul#content_listContainer>li{border-left:6px solid var(--cyan-6);border-top:none;border-bottom:none;padding:5px 10px;color:var(--c-text);display:flex;justify-content:center;align-items:center;flex-direction:column;transition:none;margin:0}ul#content_listContainer>li>*{padding:0;width:100%}ul#content_listContainer>li a{color:var(--cyan-6)}#pageTitleBar span.contextMenuContainer{display:none!important}embed{margin-top:50px;position:relative;height:min(1000px,80vh)!important;background:var(--c-card);border-radius:10px;border:1px solid var(--c-border);padding:10px;box-sizing:border-box}\n";
  const courseAssignmentUploadStyles = ":root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}#containerdiv{border:none}.container>form{background:var(--c-card);border-radius:5px;border:1px solid var(--c-border);padding:10px}.container>form *{background:var(--c-card);color:var(--c-text);font-style:normal;font-family:sans-serif}.container>form #instructions *[style*=color]{color:var(--c-text)!important;background:transparent!important;background:linear-gradient(180deg,transparent 90%,var(--red-2) 90%)!important}#dataCollectionContainer,#dataCollectionContainer>div{background:var(--c-card)}#dataCollectionContainer>div[id^=step]{border-top:none;background:var(--c-card)!important;padding-bottom:16px}#dataCollectionContainer>div[id^=step]>.steptitle{position:relative;top:0;margin:0 0 10px;padding:0;font-size:18px;color:var(--c-title)}div[id*=stepcontent]{border-bottom:1px solid var(--c-border);background:var(--c-card)!important}#metadata div.metaSection{border:none;border-left:6px solid var(--cyan-6);background:var(--cyan-2)!important}#metadata div[class*=meta],#metadata div[class*=meta] span.metaSubInfo{background:transparent}#metadata div.metaField{color:var(--cyan-8);font-size:16px}form[name=uploadAssignmentForm] a#submissionLink,form[name=uploadAssignmentForm] input[type=file],form[name=uploadAssignmentForm] input[type=button]{border-radius:5px;background:var(--c-button);box-shadow:none;color:var(--c-text)}form[name=uploadAssignmentForm] a#submissionLink:hover,form[name=uploadAssignmentForm] input[type=file]:hover,form[name=uploadAssignmentForm] input[type=button]:hover{background:var(--gray-2);color:var(--c-title);font-weight:700}form[name=uploadAssignmentForm] input[type=submit].submit{border-radius:5px;background:var(--c-primary-light);box-shadow:none;color:var(--c-primary)}form[name=uploadAssignmentForm] input[type=submit].submit:hover{background:var(--blue-2);color:var(--blue-7);font-weight:700}form[name=uploadAssignmentForm] ol[role=presentation]>li{display:flex;justify-content:space-between;align-items:flex-start;padding-left:20px;border:2px solid transparent;margin:10px}form[name=uploadAssignmentForm] ol[role=presentation]>li div.label{width:40px;min-width:none;max-width:none}form[name=uploadAssignmentForm] ol[role=presentation]>li.dropzone{border:2px dashed var(--c-border)!important}form[name=uploadAssignmentForm] ol[role=presentation]>li.dropzone.hover{background:var(--c-hover)!important}form[name=uploadAssignmentForm] ol[role=presentation]>li.dropzone div,form[name=uploadAssignmentForm] ol[role=presentation]>li.dropzone label{background:transparent}form[name=uploadAssignmentForm] #newFile_table *{border-color:var(--c-border)!important}form[name=uploadAssignmentForm] #newFile_table img{display:none}form[name=uploadAssignmentForm] li#newFile_listHtmlDiv{margin-top:30px!important}form[name=uploadAssignmentForm] table.mceLayout{border:1px solid var(--c-border)!important;border-radius:5px;padding:5px}form[name=uploadAssignmentForm] table.mceLayout *{border:none!important;background:transparent!important;box-shadow:none!important}form[name=uploadAssignmentForm] .vtbehelp{margin-bottom:5px}form[name=uploadAssignmentForm] .mceFirst:hover,form[name=uploadAssignmentForm] .mceLast:hover{background:transparent}form[name=uploadAssignmentForm] .defaultSkin .mceSplitButton span.mceAction{background-image:var(--i-check);background-repeat:no-repeat;background-position:center center;background-size:contain}form[name=uploadAssignmentForm] div[role=listbox]{background:var(--c-card);border:1px solid var(--c-border);border-radius:5px;padding:5px;box-shadow:var(--c-box-shadow)}form[name=uploadAssignmentForm] div[role=listbox] *{border:none!important}form[name=uploadAssignmentForm] .defaultSkin .mceMenu{top:0;left:0;position:relative}.defaultSkin .mceMenu table,.defaultSkin .mceMenuItemTitle a{background:var(--c-card)}.defaultSkin .mceMenu .mceMenuItemEnabled a:hover,.defaultSkin .mceMenu .mceMenuItemActive{background:var(--c-hover)}#inlineReceipt_good{background:var(--c-accent)}#inlineGrader{border:1px solid var(--c-border);border-radius:5px;background:var(--c-card)}#inlineGrader *{color:var(--c-text);border:none;box-shadow:none;background:transparent;text-decoration:none;line-height:1.6}#inlineGrader .fileTile{background:var(--c-card)!important}#inlineGrader .fileTile>img{content:var(--i-file);width:50px;height:50px}#inlineGrader .fileTile>h5{color:var(--c-title)}#inlineGrader .fileTile>a{background:var(--c-button);border-radius:5px}#inlineGrader .fileTile>a:hover{background:var(--cyan-2);color:var(--c-title);font-weight:700}#inlineGrader #gradingPanel{border-left:1px solid var(--c-border);padding:15px 0}#inlineGrader #gradingPanel .gradingPanelHeader{border-left:6px solid var(--cyan-5);height:auto}#inlineGrader #gradingPanel .gradingPanelHeader h2{margin:5px 0}#inlineGrader #gradingPanel .gradingPanelHeader span{color:var(--c-title);font-weight:700;font-size:16px}#inlineGrader .resizeControls{top:17px;border-radius:5px}#inlineGrader .resizeControls a{border-radius:5px}#inlineGrader .resizeControls a:hover{background:var(--c-hover)}#inlineGrader .resizeControls #maximizer_btn{display:none}#inlineGrader #gradingPanel h3,#inlineGrader #gradingPanel h4,#inlineGrader #gradingPanel span.mainLabel{color:var(--c-title);font-weight:700;font-size:14px}#inlineGrader #gradingPanel .attemptHeader{background:var(--cyan-2)!important}#inlineGrader #gradingPanel div.attemptHeaderLabel{margin-left:15px}#inlineGrader #gradingPanel .attemptContent .segment{margin:35px 0}#inlineGrader #gradingPanel .genericFile{background-image:var(--i-file);background-repeat:no-repeat;background-size:15px;background-position:5px center}#inlineGrader #gradingPanel .filesList .dwnldBtn{background-image:var(--i-download);background-repeat:no-repeat;background-size:15px;background-position:center center}#inlineGrader #gradingPanel .backLink a{background:var(--c-card);border-radius:5px 0}#inlineGrader #gradingPanel .backLink a:hover{background:var(--c-hover)}#inlineGrader div.contentDetailsHeader{margin-top:15px}\n";
  const courseGlobalPageStyles = ":root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}body{position:relative}.brandingImgWrap,#appTabList>tbody>tr,.hideoff,#quick_links_wrap,#global-avatar,#global-toggle-img{display:none}#global-nav-link>*{display:none}#global-nav-link,#global-nav-link:hover,#global-nav-link:focus{color:transparent;width:32px;height:32px;padding:0;background:transparent;background-image:var(--i-remind)!important;background-size:80%;background-repeat:no-repeat;background-position:center center;border:none;outline:none}.global-nav-bar a.logout-link,.global-nav-bar a.logout-link:hover,.global-nav-bar a.logout-link:focus{color:transparent;width:32px;height:32px;padding:0;background:transparent;background-image:var(--i-exit)!important;background-size:80%;background-repeat:no-repeat;background-position:center center}.container,.locationPane,.contentPane{background-color:var(--c-background)}.tabWrapper-right,#globalNavPageNavArea,#topTabs{background-color:var(--c-navbar)}#globalNavPageNavArea{padding:1em 140px 1em 0;height:60px;top:0!important;box-sizing:border-box;display:flex;text-align:right;justify-content:flex-end;flex-direction:row;background-image:var(--i-logo);background-repeat:no-repeat;background-size:auto 30px;background-position:2em center;border-bottom:1px solid var(--c-border);position:fixed;width:100%;z-index:20}.tabWrapper-right,.bouncer[role=presentation]{width:fit-content}.global-nav-bar-wrap{position:fixed;z-index:30;right:20px;display:flex;justify-content:flex-end;flex-direction:row-reverse;background-color:var(--c-navbar);width:100px;height:60px;box-sizing:border-box;margin:0;padding:0;border-bottom:1px solid var(--c-border)}.global-nav-bar{margin:0;float:none;height:60px;display:flex;flex-direction:row-reverse;justify-content:center;align-items:center}.global-nav-bar:not(:first-child){margin:0 5px}table.bouncer,.appTabs td.active,.appTabs a:hover span,.appTabs a:focus span{border:none}.topTabs .tabWrapper-right{height:fit-content;padding:0}#globalNavPageNavArea a,#globalNavPageNavArea td{padding:0!important}#breadcrumbs{padding:1.2em 1em 1em;box-sizing:border-box;height:80px;margin-bottom:1em;margin-top:60px;z-index:10;color:var(--c-title);background-color:var(--c-background);display:flex;text-align:center;justify-content:center;border:none}#breadcrumbs .coursePath{padding:0;margin:0}#breadcrumbs span{font-size:18pt;color:var(--c-title);-webkit-animation:tracking-in-expand .7s cubic-bezier(.215,.61,.355,1) both;animation:tracking-in-expand .7s cubic-bezier(.215,.61,.355,1) both}#globalNavPageContentArea{margin-top:60px}#globalNavPageContentArea,#globalNavPageContentArea .locationPane,#contentPanel,div#content,div.container{height:fit-content!important}.locationPane{background-color:var(--c-background)}.contentPane .shadow{border:none}#pageTitleDiv{margin:0!important}#content{width:min(100%,1200px);margin:0 auto}#contentPanel{-webkit-animation:fadeInUpStablePixel .7s cubic-bezier(.215,.61,.355,1) both;animation-delay:.5s;animation:fadeInUpStablePixel .7s cubic-bezier(.215,.61,.355,1) both}.localViewToggle{display:none}#pageTitleHeader{color:var(--blue-7)!important;background-color:var(--blue-2);padding:.3em 1em;border-radius:5px;font-size:20px!important}#pageTitleHeader *{color:var(--blue-7)!important}#pageTitleText{font-weight:700}#vertical_container,#bottomButtons{display:none}#global-nav-tools{z-index:9999}#global-nav-flyout{box-shadow:none;border-radius:5px;width:40px!important;height:100px!important;transform:translateY(34px);background-color:transparent}#global-nav-tools{background-color:var(--c-card)}#global-list-tools{margin:0;box-shadow:var(--c-box-shadow);border:1px solid var(--c-border);padding:5px;border-radius:5px;background-color:var(--c-card)}#global-list-tools>.overview,#global-list-tools>.stream,#global-list-tools>.calendar{display:none}#global-list-tools>.alerts,#global-list-tools>.grade{background-color:var(--c-card)}#global-list-tools>.alerts>a:hover,#global-list-tools>.grades>a:hover{background-color:var(--c-hover)}#global-list-tools>.alerts>a{border-radius:5px;background:var(--i-alarm);background-size:60%;background-repeat:no-repeat;background-position:center center;margin:0 auto}#global-list-tools>.grades>a{border-radius:5px;background:var(--i-idcard);background-size:60%;background-repeat:no-repeat;background-position:center center;margin:0 auto}#global-list-tools>.more-link>a{border-radius:5px;background:var(--i-idcard);background-size:60%;background-repeat:no-repeat;background-position:center center}#global-more-tools{display:none!important}.mybb-tools li a{opacity:1;background-color:var(--c-card)}.mybb-tools li a:focus,.mybb-tools li a:focus img{outline:none}\n";
  const courseGlobalAnnouncementStyles = ":root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}.announcementFilter,.announcementList{margin:0}#containerdiv{margin-top:0;padding-top:0}.announcementFilter{display:flex;align-items:center;justify-content:center;border-bottom:none;margin-bottom:10px}.announcementFilter select#searchSelectId{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--c-card);color:var(--c-text);border:1px solid var(--c-border);border-right:none;border-radius:5px 0 0 5px;outline:none;padding:3px 10px;box-sizing:border-box;height:30px;margin:0}.announcementFilter a.genericButton{background:var(--c-button);color:var(--c-title);border:1px solid var(--c-border);border-left:none;border-radius:0 5px 5px 0;outline:none;padding:3px 10px;box-sizing:border-box;height:30px;box-shadow:none}.announcementFilter a.genericButton:hover{background:var(--cyan-2);color:var(--cyan-6)}\n";
  const courseVideoPlayStyles = ":root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}#content,.container{border:none;width:auto!important}iframe{min-height:100vh;height:fit-content}\n";
  const courseVideoPlayFrameStyles = ':root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}body{position:relative}html,body,#app{background:var(--c-background)!important}.course-info__wrapper{margin-bottom:0}.course-info__header{display:flex;justify-content:center!important;align-items:center}.course-info__header span{font-weight:700;font-size:18pt;color:var(--c-title);-webkit-animation:tracking-in-expand .7s cubic-bezier(.215,.61,.355,1) both;animation:tracking-in-expand .7s cubic-bezier(.215,.61,.355,1) both}.course-info__wrapper .course-info__main{background:var(--c-card);padding:5px;border-radius:5px;border:1px solid var(--c-border)}.course-info__wrapper .course-info__footer{display:grid;width:fit-content;grid-template-columns:1fr 1fr 1fr;justify-content:center;align-items:center;gap:10px}.course-info__wrapper .course-info__footer button{background:var(--c-button);border:none;color:var(--c-text);margin-left:0;height:35px}#injectDownloadSwitchArea{background:var(--c-button);color:var(--c-text);padding:10px 20px;border-radius:4px;display:inline-flex;flex-direction:row;justify-content:center;align-items:center;gap:1rem;height:35px;line-height:14px;font-size:14px;box-sizing:border-box;border:none;font-weight:700;border-image-width:0;transition:.1s;height:35px!important}#injectDownloadSwitch{display:none}#injectDownloadSwitch:checked+label{background-color:var(--c-button);background-image:var(--i-check-simple);background-size:80% 80%;background-position:center;background-repeat:no-repeat}label[for=injectDownloadSwitch]{display:inline-block;width:16px;height:16px;background:var(--c-button);border:1px solid var(--c-border);border-radius:4px}label[for=injectDownloadSwitch]:before{content:"";transition:.1s}#injectDownloadTip{background:var(--c-button);color:var(--c-text);padding:10px 20px;border-radius:4px;font-size:14px;box-sizing:border-box;border:none;font-weight:700;transition:.1s;width:fit-content;margin-top:10px;line-height:1.5rem;grid-column:1 / 4;width:100%}#injectDownloadTip a{color:var(--c-accent);text-decoration:underline}.course-info__wrapper .course-info__footer button:hover{background:var(--cyan-2);color:var(--cyan-6)}.course-info__wrapper .course-info__footer #injectDownloadUrlInput:hover{background:var(--cyan-2);color:var(--cyan-6);font-weight:700;transition:.1s}.course-info__wrapper .course-info__footer #injectDownloadUrlInput:hover::placeholder{color:var(--cyan-6);transition:.1s}\n';
  const courseTaskStyles = ":root{--red-1: #FFECE8;--red-2: #FDCDC5;--red-3: #FBACA3;--red-4: #F98981;--red-5: #F76560;--red-6: #F53F3F;--red-7: #CB272D;--red-8: #A1151E;--red-9: #770813;--red-10: #4D000A;--orangered-1: #FFF3E8;--orangered-2: #FDDDC3;--orangered-3: #FCC59F;--orangered-4: #FAAC7B;--orangered-5: #F99057;--orangered-6: #F77234;--orangered-7: #CC5120;--orangered-8: #A23511;--orangered-9: #771F06;--orangered-10: #4D0E00;--orange-1: #FFF7E8;--orange-2: #FFE4BA;--orange-3: #FFCF8B;--orange-4: #FFB65D;--orange-5: #FF9A2E;--orange-6: #FF7D00;--orange-7: #D25F00;--orange-8: #A64500;--orange-9: #792E00;--orange-10: #4D1B00;--gold-1: #FFFCE8;--gold-2: #FDF4BF;--gold-3: #FCE996;--gold-4: #FADC6D;--gold-5: #F9CC45;--gold-6: #F7BA1E;--gold-7: #CC9213;--gold-8: #A26D0A;--gold-9: #774B04;--gold-10: #4D2D00;--yellow-1: #FEFFE8;--yellow-2: #FEFEBE;--yellow-3: #FDFA94;--yellow-4: #FCF26B;--yellow-5: #FBE842;--yellow-6: #FADC19;--yellow-7: #CFAF0F;--yellow-8: #A38408;--yellow-9: #785D03;--yellow-10: #4D3800;--lime-1: #FCFFE8;--lime-2: #EDF8BB;--lime-3: #DCF190;--lime-4: #C9E968;--lime-5: #B5E241;--lime-6: #9FDB1D;--lime-7: #7EB712;--lime-8: #5F940A;--lime-9: #437004;--lime-10: #2A4D00;--green-1: #E8FFEA;--green-2: #AFF0B5;--green-3: #7BE188;--green-4: #4CD263;--green-5: #23C343;--green-6: #00B42A;--green-7: #009A29;--green-8: #008026;--green-9: #006622;--green-10: #004D1C;--cyan-1: #E8FFFB;--cyan-2: #B7F4EC;--cyan-3: #89E9E0;--cyan-4: #5EDFD6;--cyan-5: #37D4CF;--cyan-6: #14C9C9;--cyan-7: #0DA5AA;--cyan-8: #07828B;--cyan-9: #03616C;--cyan-10: #00424D;--blue-1: #E8F7FF;--blue-2: #C3E7FE;--blue-3: #9FD4FD;--blue-4: #7BC0FC;--blue-5: #57A9FB;--blue-6: #3491FA;--blue-7: #206CCF;--blue-8: #114BA3;--blue-9: #063078;--blue-10: #001A4D;--arcoblue-1: #E8F3FF;--arcoblue-2: #BEDAFF;--arcoblue-3: #94BFFF;--arcoblue-4: #6AA1FF;--arcoblue-5: #4080FF;--arcoblue-6: #165DFF;--arcoblue-7: #0E42D2;--arcoblue-8: #072CA6;--arcoblue-9: #031A79;--arcoblue-10: #000D4D;--purple-1: #F5E8FF;--purple-2: #DDBEF6;--purple-3: #C396ED;--purple-4: #A871E3;--purple-5: #8D4EDA;--purple-6: #722ED1;--purple-7: #551DB0;--purple-8: #3C108F;--purple-9: #27066E;--purple-10: #16004D;--pinkpurple-1: #FFE8FB;--pinkpurple-2: #F7BAEF;--pinkpurple-3: #F08EE6;--pinkpurple-4: #E865DF;--pinkpurple-5: #E13EDB;--pinkpurple-6: #D91AD9;--pinkpurple-7: #B010B6;--pinkpurple-8: #8A0993;--pinkpurple-9: #650370;--pinkpurple-10: #42004D;--magenta-1: #FFE8F1;--magenta-2: #FDC2DB;--magenta-3: #FB9DC7;--magenta-4: #F979B7;--magenta-5: #F754A8;--magenta-6: #F5319D;--magenta-7: #CB1E83;--magenta-8: #A11069;--magenta-9: #77064F;--magenta-10: #4D0034;--gray-1: #f7f8fa;--gray-2: #f2f3f5;--gray-3: #e5e6eb;--gray-4: #c9cdd4;--gray-5: #a9aeb8;--gray-6: #86909c;--gray-7: #6b7785;--gray-8: #4e5969;--gray-9: #272e3b;--gray-10: #1d2129}@media (prefers-color-scheme: dark){:root{--red-1: #4D000A;--red-2: #770611;--red-3: #A1161F;--red-4: #CB2E34;--red-5: #F54E4E;--red-6: #F76965;--red-7: #F98D86;--red-8: #FBB0A7;--red-9: #FDD1CA;--red-10: #FFF0EC;--orangered-1: #4D0E00;--orangered-2: #771E05;--orangered-3: #A23714;--orangered-4: #CC5729;--orangered-5: #F77E45;--orangered-6: #F9925A;--orangered-7: #FAAD7D;--orangered-8: #FCC6A1;--orangered-9: #FDDEC5;--orangered-10: #FFF4EB;--orange-1: #4D1B00;--orange-2: #793004;--orange-3: #A64B0A;--orange-4: #D26913;--orange-5: #FF8D1F;--orange-6: #FF9626;--orange-7: #FFB357;--orange-8: #FFCD87;--orange-9: #FFE3B8;--orange-10: #FFF7E8;--gold-1: #4D2D00;--gold-2: #774B04;--gold-3: #A26F0F;--gold-4: #CC961F;--gold-5: #F7C034;--gold-6: #F9CC44;--gold-7: #FADC6C;--gold-8: #FCE995;--gold-9: #FDF4BE;--gold-10: #FFFCE8;--yellow-1: #4D3800;--yellow-2: #785E07;--yellow-3: #A38614;--yellow-4: #CFB325;--yellow-5: #FAE13C;--yellow-6: #FBE94B;--yellow-7: #FCF374;--yellow-8: #FDFA9D;--yellow-9: #FEFEC6;--yellow-10: #FEFFF0;--lime-1: #2A4D00;--lime-2: #447006;--lime-3: #629412;--lime-4: #84B723;--lime-5: #A8DB39;--lime-6: #B8E24B;--lime-7: #CBE970;--lime-8: #DEF198;--lime-9: #EEF8C2;--lime-10: #FDFFEE;--green-1: #004D1C;--green-2: #046625;--green-3: #0A802D;--green-4: #129A37;--green-5: #1DB440;--green-6: #27C346;--green-7: #50D266;--green-8: #7EE18B;--green-9: #B2F0B7;--green-10: #EBFFEC;--cyan-1: #00424D;--cyan-2: #06616C;--cyan-3: #11838B;--cyan-4: #1FA6AA;--cyan-5: #30C9C9;--cyan-6: #3FD4CF;--cyan-7: #66DFD7;--cyan-8: #90E9E1;--cyan-9: #BEF4ED;--cyan-10: #F0FFFC;--blue-1: #001A4D;--blue-2: #052F78;--blue-3: #134CA3;--blue-4: #2971CF;--blue-5: #469AFA;--blue-6: #5AAAFB;--blue-7: #7DC1FC;--blue-8: #A1D5FD;--blue-9: #C6E8FE;--blue-10: #EAF8FF;--arcoblue-1: #000D4D;--arcoblue-2: #041B79;--arcoblue-3: #0E32A6;--arcoblue-4: #1D4DD2;--arcoblue-5: #306FFF;--arcoblue-6: #3C7EFF;--arcoblue-7: #689FFF;--arcoblue-8: #93BEFF;--arcoblue-9: #BEDAFF;--arcoblue-10: #EAF4FF;--purple-1: #16004D;--purple-2: #27066E;--purple-3: #3E138F;--purple-4: #5A25B0;--purple-5: #7B3DD1;--purple-6: #8E51DA;--purple-7: #A974E3;--purple-8: #C59AED;--purple-9: #DFC2F6;--purple-10: #F7EDFF;--pinkpurple-1: #42004D;--pinkpurple-2: #650370;--pinkpurple-3: #8A0D93;--pinkpurple-4: #B01BB6;--pinkpurple-5: #D92ED9;--pinkpurple-6: #E13DDB;--pinkpurple-7: #E866DF;--pinkpurple-8: #F092E6;--pinkpurple-9: #F7C1F0;--pinkpurple-10: #FFF2FD;--magenta-1: #4D0034;--magenta-2: #770850;--magenta-3: #A1176C;--magenta-4: #CB2B88;--magenta-5: #F545A6;--magenta-6: #F756A9;--magenta-7: #F97AB8;--magenta-8: #FB9EC8;--magenta-9: #FDC3DB;--magenta-10: #FFE8F1;--gray-10: #f7f8fa;--gray-9: #f2f3f5;--gray-8: #e5e6eb;--gray-7: #c9cdd4;--gray-6: #a9aeb8;--gray-5: #86909c;--gray-4: #6b7785;--gray-3: #4e5969;--gray-2: #272e3b;--gray-1: #1d2129}}:root{--c-title: #212121;--c-text: #666;--c-border: #d0d7de;--c-background: #f6f8fa;--c-input-bg: #f6f8fa;--c-card: #fff;--c-hover: rgba(230, 230, 230, .5);--c-focus: #fff;--c-box-shadow: rgba(0, 0, 0, .1) 0px 10px 50px;--c-accent: #9b0000;--c-navbar: #fff;--c-sidebar: #fff;--c-subtitle: #82a3ac;--c-label: #f6f8fa;--c-link: #fcc59f;--c-primary: #165dff;--c-primary-light: #e8f3ff;--c-secondary: #89a2ac;--c-button: #f7f8fa;--c-card-hover: #66ecf331;--c-scrollbar: #c1c1c1;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start.svg);--i-file: url(https://cdn.arthals.ink/css/src/file.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder.svg);--i-link: url(https://cdn.arthals.ink/css/src/link.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting.svg);--i-check: url(https://cdn.arthals.ink/css/src/check.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple.svg);--i-download: url(https://cdn.arthals.ink/css/src/download.svg);--c-pku: #9b0000;--i-alarm: url(https://cdn.arthals.ink/css/src/alarm-clock.svg);--i-idcard: url(https://cdn.arthals.ink/css/src/id-card-v.svg);--i-tip: url(https://cdn.arthals.ink/css/src/tip.svg);--i-comment: url(https://cdn.arthals.ink/css/src/comment.svg);--i-clover: url(https://cdn.arthals.ink/css/src/clover.svg);--i-sandclock: url(https://cdn.arthals.ink/css/src/sandclock.svg)}@media (prefers-color-scheme: dark){:root{--c-title: #e2e2e2;--c-text: #bababa;--c-border: #30363d;--c-background: #020409;--c-input-bg: #020409;--c-hover: rgba(29, 33, 41, .5);--c-card: #0e1017;--c-focus: #010409;--c-box-shadow: none;--c-accent: #e44c47;--c-navbar: #171a22;--c-sidebar: #0e1017;--c-subtitle: #86909c;--c-label: #22252d;--c-link: #f9925a;--c-primary: #7dc1fc;--c-primary-light: #262947;--c-secondary: #00879d;--c-button: #22262d;--c-card-hover: rgba(23, 231, 242, .23);--c-scrollbar: #6b6b6b;--i-logo: url(https://cdn.arthals.ink/css/src/PKU_Logo_Dark.svg);--i-remind: url(https://cdn.arthals.ink/css/src/remind_dark.svg);--i-exit: url(https://cdn.arthals.ink/css/src/exit_dark.svg);--i-watch: url(https://cdn.arthals.ink/css/src/stopwatch-start_dark.svg);--i-file: url(https://cdn.arthals.ink/css/src/file_dark.svg);--i-folder: url(https://cdn.arthals.ink/css/src/folder_dark.svg);--i-link: url(https://cdn.arthals.ink/css/src/link_dark.svg);--i-setting: url(https://cdn.arthals.ink/css/src/setting_dark.svg);--i-check: url(https://cdn.arthals.ink/css/src/check_dark.svg);--i-check-simple: url(https://cdn.arthals.ink/css/src/check-simple_dark.svg);--i-download: url(https://cdn.arthals.ink/css/src/download_dark.svg)}}body,html{background:var(--c-background)!important}*{outline:none!important}@keyframes fadeInUpTransition{0%{opacity:0;-webkit-transform:translateY(100px);transform:translateY(100px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixel{0%{opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpStablePixelForContentBox{0%{margin-left:min(25%,300px);opacity:0;-webkit-transform:translateY(200px);transform:translateY(200px)}to{margin-left:min(25%,300px);opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftStablePixel{0%{color:#fff;transform:translate(-72px);-webkit-transform:translateX(-72px)}to{opacity:1;-webkit-transform:none;transform:none}}@keyframes tracking-in-expand{0%{letter-spacing:-.5em;opacity:0}40%{opacity:.6}to{opacity:1}}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:transparent}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-thumb{background-color:var(--c-scrollbar);border-radius:9999px}\n";
  var _GM_download = /* @__PURE__ */ (() => typeof GM_download != "undefined" ? GM_download : void 0)();
  var _GM_setClipboard = /* @__PURE__ */ (() => typeof GM_setClipboard != "undefined" ? GM_setClipboard : void 0)();
  function injectStyles(styleString, cssFileName) {
    const styleElement = document.createElement("style");
    styleElement.textContent = styleString;
    styleElement.dataset.cssFileName = cssFileName;
    styleElement.dataset.author = "Arthals";
    styleElement.className = "PKU-Art";
    if (document.head) {
      document.head.appendChild(styleElement);
    } else {
      document.addEventListener("DOMContentLoaded", () => {
        document.head.appendChild(styleElement);
      });
    }
  }
  let htmlpath = location.href;
  if (/^https:\/\/iaaa\.pku\.edu\.cn\/\S*$|^https:\/\/course\.pku\.edu\.cn\/\S*$|^https:\/\/onlineroomse\.pku\.edu\.cn\/\S*$/.test(
    htmlpath
  )) {
    injectStyles(mainStyles, "main.css");
    console.log("[PKU Art] main.css imported");
  }
  if (/^https:\/\/iaaa\.pku\.edu\.cn\/\S*$|^https:\/\/course\.pku\.edu\.cn\/\S*$|^https:\/\/onlineroomse\.pku\.edu\.cn\/\S*$/.test(
    htmlpath
  )) {
    injectStyles(arcoPaletteStyles, "arco-palette.css");
    console.log("[PKU Art] arco-palette.css imported");
  }
  if (/^https:\/\/iaaa\.pku\.edu\.cn\/\S*$/.test(htmlpath)) {
    injectStyles(iaaaOAuthPageStyles, "iaaaOAuthPage.css");
    console.log("[PKU Art] iaaaOAuthPage.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/login\S*$|^https:\/\/course\.pku\.edu\.cn[\/]?$/.test(htmlpath)) {
    injectStyles(courseLoginPageStyles, "courseLoginPage.css");
    console.log("[PKU Art] courseLoginPage.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/?$|^https:\/\/course\.pku\.edu\.cn\/webapps\/portal\/\S*$/.test(htmlpath)) {
    injectStyles(courseHomePageStyles, "courseHomePage.css");
    console.log("[PKU Art] courseHomePage.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/\S*course_id\S*$/.test(htmlpath)) {
    injectStyles(courseContentStyles, "courseContent.css");
    console.log("[PKU Art] courseContent.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/blackboard\S*announcement\S*$/.test(htmlpath)) {
    injectStyles(courseAnnouncementStyles, "courseAnnouncement.css");
    console.log("[PKU Art] courseAnnouncement.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\S*classinCourseClass\S*$/.test(htmlpath)) {
    injectStyles(courseClassinStyles, "courseClassin.css");
    console.log("[PKU Art] courseClassin.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\S*blankPage\S*$/.test(htmlpath)) {
    injectStyles(courseBlankPageStyles, "courseBlankPage.css");
    console.log("[PKU Art] courseBlankPage.css imported");
  }
  if (/^https:\/\/course.pku.edu.cn\/webapps\S*videoList\S*$/.test(htmlpath)) {
    injectStyles(courseVideolistStyles, "courseVideolist.css");
    console.log("[PKU Art] courseVideolist.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\S*((discussionboard)|(groupContentList))\S*$/.test(htmlpath)) {
    injectStyles(courseOtherStyles, "courseOther.css");
    console.log("[PKU Art] courseOther.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\S*myGrades\S*course_id\S*is_stream=false\S*$/.test(htmlpath)) {
    injectStyles(courseClassGradeStyles, "courseClassGrade.css");
    console.log("[PKU Art] courseClassGrade.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\S*listContent\S*$/.test(htmlpath)) {
    injectStyles(courseListContentStyles, "courseListContent.css");
    console.log("[PKU Art] courseListContent.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\S*viewAttempts\S*$/.test(htmlpath)) {
    injectStyles(courseViewAttemptStyles, "courseViewAttempt.css");
    console.log("[PKU Art] courseViewAttempt.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\S*toolId\S*$/.test(htmlpath)) {
    injectStyles(courseToolFrameStyles, "courseToolFrame.css");
    console.log("[PKU Art] courseToolFrame.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/streamViewer\/streamViewer\S*streamName=alerts\S*$/.test(htmlpath)) {
    injectStyles(courseToolAlertStyles, "courseToolAlert.css");
    console.log("[PKU Art] courseToolAlert.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/streamViewer\/streamViewer\S*streamName=mygrades\S*$/.test(htmlpath)) {
    injectStyles(courseToolGradeStyles, "courseToolGrade.css");
    console.log("[PKU Art] courseToolGrade.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/\S*course_id\S*stream_name=mygrades$/.test(htmlpath)) {
    injectStyles(courseToolGradeClassStyles, "courseToolGradeClass.css");
    console.log("[PKU Art] courseToolGradeClass.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/\S*course_id\S*stream_name=mygrades_d\S*gradable_item_id\S*$/.test(
    htmlpath
  )) {
    injectStyles(courseToolGradeItemStyles, "courseToolGradeItem.css");
    console.log("[PKU Art] courseToolGradeItem.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/\S*content\/file\?cmd=view\S*$/.test(htmlpath)) {
    injectStyles(courseFileEmbedStyles, "courseFileEmbed.css");
    console.log("[PKU Art] courseFileEmbed.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/\S*assignment\/uploadAssignment\?\S*$/.test(htmlpath)) {
    injectStyles(courseAssignmentUploadStyles, "courseAssignmentUpload.css");
    console.log("[PKU Art] courseAssignmentUpload.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/\S*context=mybb\S*$|^https:\/\/course\.pku\.edu\.cn\/webapps\/blackboard\/execute\/announcement$|^https:\/\/course\.pku\.edu\.cn\/webapps\/\S*playVideo\S*$/.test(
    htmlpath
  )) {
    injectStyles(courseGlobalPageStyles, "courseGlobalPage.css");
    console.log("[PKU Art] courseGlobalPage.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/\S*announcement\S*context=mybb\S*$|^https:\/\/course\.pku\.edu\.cn\/webapps\/blackboard\/execute\/announcement$/.test(
    htmlpath
  )) {
    injectStyles(courseGlobalAnnouncementStyles, "courseGlobalAnnouncement.css");
    console.log("[PKU Art] courseGlobalAnnouncement.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/\S*playVideo\S*$/.test(htmlpath)) {
    injectStyles(courseVideoPlayStyles, "courseVideoPlay.css");
    console.log("[PKU Art] courseVideoPlay.css imported");
  }
  if (/^https:\/\/onlineroomse\.pku\.edu\.cn\/player\?course_id\S*$/.test(htmlpath)) {
    injectStyles(courseVideoPlayFrameStyles, "courseVideoPlayFrame.css");
    console.log("[PKU Art] courseVideoPlayFrame.css imported");
  }
  if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/\S*taskView\S*$/.test(htmlpath)) {
    injectStyles(courseTaskStyles, "courseTask.css");
    console.log("[PKU Art] courseTask.css imported");
  }
  (function logoNavigate() {
    let htmlpath2 = location.href;
    if (/^https:\/\/course\.pku\.edu\.cn\//.test(htmlpath2)) {
      let executeLogoNavigate2 = function() {
        const navArea = document.getElementById("globalNavPageNavArea");
        if (navArea) {
          navArea.addEventListener("click", function(event) {
            const clickX = event.clientX - navArea.getBoundingClientRect().left;
            if (clickX <= 150) {
              window.location.href = "https://course.pku.edu.cn";
            }
          });
        }
      };
      executeLogoNavigate2();
      document.addEventListener("DOMContentLoaded", executeLogoNavigate2);
    }
  })();
  (function preventHideSidebar() {
    let htmlpath2 = location.href;
    if (/^https:\/\/course\.pku\.edu\.cn\//.test(htmlpath2)) {
      let resetNavigationPane2 = function() {
        let navigationPane = document.getElementById("navigationPane");
        if (navigationPane && navigationPane.classList.contains("navcollapsed")) {
          const puller = document.getElementById("menuPuller");
          puller.click();
          console.log("[PKU Art] sidebar reseted by auto click at " + (/* @__PURE__ */ new Date()).toLocaleString());
        }
      };
      resetNavigationPane2();
      window.addEventListener("resize", resetNavigationPane2);
    }
  })();
  (function replaceIcon() {
    let htmlpath2 = location.href;
    if (/^https:\/\/(course|autolab|disk)\.pku\.edu\.cn\//.test(htmlpath2)) {
      let executeReplaceIcon2 = function() {
        const icons = document.querySelectorAll('link[rel="icon" i], link[rel="shortcut icon" i]');
        if (icons.length > 0) {
          icons[0].href = "https://cdn.arthals.ink/css/src/PKU.svg";
          for (let i = 1; i < icons.length; i++) {
            icons[i].parentNode.removeChild(icons[i]);
          }
        } else {
          const newIcon = document.createElement("link");
          newIcon.rel = "SHORTCUT ICON";
          newIcon.href = "https://cdn.arthals.ink/css/src/PKU.svg";
          document.head.appendChild(newIcon);
        }
      };
      executeReplaceIcon2();
      document.addEventListener("DOMContentLoaded", executeReplaceIcon2);
      const observer = new MutationObserver(function(mutations) {
        mutations.forEach(function(mutation) {
          if (mutation.type === "childList") {
            executeReplaceIcon2();
          }
        });
      });
      const config = { childList: true, subtree: true };
      observer.observe(document.head, config);
    }
  })();
  (function deleteCourseSerial() {
    let htmlpath2 = location.href;
    if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/?$|^https:\/\/course\.pku\.edu\.cn\/webapps\/portal\/\S*$/.test(
      htmlpath2
    )) {
      let executeDeleteCourseSerical2 = function() {
        const courses = document.querySelectorAll(
          ".containerPortal > div:not(:first-child) .portlet .portletList-img > li > a"
        );
        courses.forEach((course) => {
          course.innerHTML = course.innerHTML.replace(/^.*?: /, "").replace(/\(\d+-\d+学年第\d学期\)/, "");
        });
        console.log("[PKU Art] course serial deleted: " + courses.length + " courses");
      };
      executeDeleteCourseSerical2();
      document.addEventListener("DOMContentLoaded", executeDeleteCourseSerical2);
    }
    if (/^https:\/\/course\.pku\.edu\.cn\/webapps\/streamViewer\/streamViewer\S*streamName=alerts\S*$/.test(htmlpath2)) {
      let executeDeleteCourseSerical2 = function() {
        const courses = document.querySelectorAll("#streamHeader_alerts a");
        courses.forEach((course) => {
          course.innerHTML = course.innerHTML.replace(/\(\d+-\d+学年第\d学期\)/, "");
        });
        if (courses.length !== 0) {
          clearInterval(timerId);
        }
      };
      executeDeleteCourseSerical2();
      const timerId = setInterval(() => {
        const courses = document.querySelectorAll("#streamHeader_alerts a");
        if (courses.length !== 0) {
          executeDeleteCourseSerical2();
        }
      }, 50);
    }
  })();
  (async function directDownload() {
    let htmlpath2 = location.href;
    if (!/^https:\/\/onlineroomse\.pku\.edu\.cn\/player\?course_id\S*$/.test(htmlpath2))
      return;
    console.log("[PKU Art] Injected directDownload() at " + (/* @__PURE__ */ new Date()).toLocaleString());
    let downloadUrl = "";
    let downloadJson = "";
    let courseName = "";
    let subTitle = "";
    let lecturerName = "";
    let fileName = "";
    const originSend = XMLHttpRequest.prototype.send;
    XMLHttpRequest.prototype.send = function() {
      this.addEventListener("load", function() {
        if (this.responseURL.includes("get-sub-info-by-auth-data")) {
          downloadJson = JSON.parse(this.response);
          console.log("[PKU Art] XHR 响应结果:\n", downloadJson);
          courseName = downloadJson.list[0].title;
          subTitle = downloadJson.list[0].sub_title;
          lecturerName = downloadJson.list[0].lecturer_name;
          fileName = `${courseName} - ${subTitle} - ${lecturerName}.mp4`;
          let filmContent = JSON.parse(downloadJson.list[0].sub_content);
          let is_m3u8 = filmContent.save_playback.is_m3u8;
          let trueDownloadUrl = "";
          if (is_m3u8 == "yes") {
            let m3u8 = filmContent.save_playback.contents;
            let m3u8Pattern = /https:\/\/resourcese\.pku\.edu\.cn\/play\/0\/harpocrates\/\d+\/\d+\/\d+\/([a-zA-Z0-9]+)(\/.+)\/playlist\.m3u8.*/;
            let hash = m3u8.match(m3u8Pattern)[1];
            trueDownloadUrl = `https://course.pku.edu.cn/webapps/bb-streammedia-hqy-BBLEARN/downloadVideo.action?resourceId=${hash}`;
            console.log("[PKU Art] m3u8 下载链接转换成功:\n", trueDownloadUrl);
          } else {
            trueDownloadUrl = filmContent.save_playback.contents;
          }
          downloadUrl = trueDownloadUrl;
          console.log("[PKU Art] 下载链接解析成功:\n", downloadUrl);
        }
      });
      originSend.apply(this, arguments);
    };
    await new Promise((resolve) => {
      const checkExist = setInterval(() => {
        let downloadButton2 = document.querySelector(
          "#app > div.container > div > div > div.course-info__wrap > div.course-info__footer > button:nth-child(1)"
        );
        if (downloadButton2 && downloadJson) {
          console.log("[PKU Art] 页面加载完成,下载链接解析成功\n", downloadJson);
          clearInterval(checkExist);
          resolve();
        }
      }, 100);
    });
    let downloadButton = document.querySelector(
      "#app > div.container > div > div > div.course-info__wrap > div.course-info__footer > button:nth-child(1)"
    );
    let copyDownloadUrlButton = document.querySelector(
      "#app > div.container > div > div > div.course-info__wrap > div.course-info__footer > button:nth-child(2)"
    );
    let replayTitle = document.querySelector(
      "#app > div.container > div > div > div.course-info__wrap > div.course-info__header > span"
    );
    replayTitle.innerText = `${courseName} - ${subTitle} - ${lecturerName}`;
    downloadButton.children[1].innerText = "下载视频";
    downloadButton.replaceWith(downloadButton.cloneNode(true));
    copyDownloadUrlButton.replaceWith(copyDownloadUrlButton.cloneNode(true));
    downloadButton = document.querySelector(
      "#app > div.container > div > div > div.course-info__wrap > div.course-info__footer > button:nth-child(1)"
    );
    copyDownloadUrlButton = document.querySelector(
      "#app > div.container > div > div > div.course-info__wrap > div.course-info__footer > button:nth-child(2)"
    );
    document.querySelector("#app > div.container > div > div > div.course-info__wrap");
    let downloadAreaFooter = document.querySelector(
      "#app > div.container > div > div > div.course-info__wrap > div.course-info__footer"
    );
    const downloadSwitchArea = document.createElement("div");
    downloadSwitchArea.id = "injectDownloadSwitchArea";
    downloadSwitchArea.className = "PKU-Art";
    downloadSwitchArea.innerHTML = `
    <input type="checkbox" id="injectDownloadSwitch" class="PKU-Art" checked>
    <label for="injectDownloadSwitch"></label>
    <span  id="injectDownloadSwitchDesc" class="PKU-Art"> 是否重命名文件</span>
    `;
    if (navigator.userAgent.indexOf("Safari") > -1 && !(navigator.userAgent.indexOf("Chrome") > -1)) {
      downloadSwitchArea.innerHTML = `
    <input type="checkbox" id="injectDownloadSwitch" class="PKU-Art" disabled>
    <label for="injectDownloadSwitch"></label>
    <span  id="injectDownloadSwitchDesc" class="PKU-Art"> 是否重命名文件,Safari 暂不支持此功能 </span>`;
    }
    downloadAreaFooter.appendChild(downloadSwitchArea);
    downloadButton.addEventListener("click", async () => {
      console.log(`[PKU Art] 已启动下载:
文件名:${fileName}
源地址:${downloadUrl}`);
      const downloadSwitch = document.getElementById("injectDownloadSwitch");
      let downloadInfo = `下载文件名:${fileName}<br/>下载地址:<a target="_blank" href="${downloadUrl}">文件源地址</a>`;
      if (!downloadSwitch.checked) {
        downloadInfo = `正常文件名:${fileName}<br/>下载地址:<a target="_blank" href="${downloadUrl}">文件源地址</a>`;
      }
      if (document.getElementById("injectDownloadTip")) {
        document.getElementById(
          "injectDownloadTip"
        ).innerHTML = `正在下载中,请勿重新启动/刷新页面<br/>${downloadInfo}`;
        return;
      }
      const downloadTip = document.createElement("div");
      downloadTip.id = "injectDownloadTip";
      downloadTip.className = "PKU-Art";
      if (!downloadSwitch.checked) {
        downloadTip.innerHTML = `已在新窗口启动下载<br/>${downloadInfo}`;
      } else {
        downloadTip.innerHTML = `已在后台启动下载,请勿刷新页面<br/>${downloadInfo}`;
      }
      downloadAreaFooter.insertBefore(downloadTip, downloadAreaFooter.firstElementChild);
      if (!downloadSwitch.checked) {
        window.open(downloadUrl, "_blank");
      } else {
        try {
          let lastPrintTime = 0;
          let bytesDownloadedInLast100ms = 0;
          let lastBytesLoaded = 0;
          let averageSpeed = 0;
          const SMOOTHING_FACTOR = 0.02;
          const download = _GM_download({
            url: downloadUrl,
            name: fileName,
            saveAs: true,
            onerror: function(err) {
              alert("下载失败,请重试");
            },
            onprogress: function(event) {
              const currentTime = Date.now();
              if (event.total && currentTime - lastPrintTime >= 100) {
                let percentComplete = event.loaded / event.total * 100;
                let currentProgress = percentComplete.toFixed(2);
                bytesDownloadedInLast100ms = event.loaded - lastBytesLoaded;
                let lastSpeed = bytesDownloadedInLast100ms / (currentTime - lastPrintTime);
                averageSpeed = SMOOTHING_FACTOR * lastSpeed + (1 - SMOOTHING_FACTOR) * averageSpeed;
                let bytesRemaining = event.total - event.loaded;
                let estimatedTimeRemaining = bytesRemaining / averageSpeed;
                let estimatedTimeRemainingSeconds = Math.round(estimatedTimeRemaining / 1e3);
                if (estimatedTimeRemainingSeconds > 9999) {
                  estimatedTimeRemainingSeconds = "inf";
                }
                if (!downloadTip.innerHTML.includes("下载进度")) {
                  downloadTip.innerHTML = downloadTip.innerHTML.replace(
                    /刷新页面/,
                    `刷新页面。下载进度:${currentProgress}%,预计剩余时间:${estimatedTimeRemainingSeconds}秒`
                  );
                } else {
                  downloadTip.innerHTML = downloadTip.innerHTML.replace(
                    /下载进度:.*秒/,
                    `下载进度:${currentProgress}%,预计剩余时间:${estimatedTimeRemainingSeconds}秒`
                  );
                }
                lastPrintTime = currentTime;
                lastBytesLoaded = event.loaded;
              }
            },
            onload: function() {
              downloadTip.innerHTML = `下载完成<br/>${downloadInfo}`;
            }
          });
          window.addEventListener("beforeunload", function(event) {
            download.abort();
          });
        } catch {
          window.open(downloadUrl, "_blank");
          downloadInfo = `下载文件名:${hashFileName}<br/>正常文件名:${fileName}<br/>下载地址:<a target="_blank" href="${downloadUrl}">文件源地址</a>`;
          downloadTip.innerHTML = `已在新窗口启动下载<br/>${downloadInfo}`;
          alert("看上去你的浏览器(如 Safari)不支持自动重命名功能,已尝试使用新标签页下载");
        }
      }
    });
    copyDownloadUrlButton.addEventListener("click", async () => {
      console.log(`[PKU Art] 已复制下载链接:
${downloadUrl}`);
      _GM_setClipboard(downloadUrl);
      alert("下载链接已复制到剪贴板,但是因为存在鉴权,可能依旧无法使用 FDM 之类的工具下载,请在浏览器中打开后下载");
    });
  })();
  (function replaceMore() {
    let htmlpath2 = location.href;
    if (/^https:\/\/course\.pku\.edu\.cn\//.test(htmlpath2)) {
      let executeReplaceMore2 = function() {
        const moreLink = document.querySelector("#global-more-link > a");
        if (moreLink) {
          console.log("[PKU Art] replaceMore() has been used at " + (/* @__PURE__ */ new Date()).toLocaleString());
          moreLink.href = "/webapps/bb-social-learning-BBLEARN/execute/mybb?cmd=display&toolId=MyGradesOnMyBb_____MyGradesTool";
          clearInterval(intervalId);
        }
      };
      const intervalId = setInterval(executeReplaceMore2, 50);
      document.addEventListener("DOMContentLoaded", () => {
        executeReplaceMore2();
      });
    }
  })();

})();