diff --git a/docs/assets/css/main-min.css b/docs/assets/css/main-min.css index d3ab1d79..08391583 100644 --- a/docs/assets/css/main-min.css +++ b/docs/assets/css/main-min.css @@ -1,3 +1 @@ -:root{--theme-color:hsl(204,90%,45%)}@font-face{font-family:Montserrat;font-style:normal;src:url("/assets/font/montserrat_n5.e72d00d31ae5399d260a80ec70322c62c1819762.woff2") format("woff2")}a{text-decoration:none!important}img{z-index:51}.product_pic img{width:30%}@media screen and (max-width:768px){.product_pic img{width:100%}}.markdown-section{max-width:75%;margin-top:50px}.markdown-section a{color:hsl(211,100%,50%)}body[data-page="zh_CN/uiflow/uiflow_home_page.md"] article.markdown-section{max-width:100%;padding:0}body[data-page="en/uiflow/uiflow_home_page.md"] article.markdown-section{max-width:100%;padding:0}body[data-page="zh_CN/arduino/arduino_home_page.md"] article.markdown-section{max-width:100%;padding:0}body[data-page="en/arduino/arduino_home_page.md"] article.markdown-section{max-width:100%;padding:0}body[data-page="en/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="zh_CN/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}.pic{width:30%}.video_size{width:50%}.uiflow_banner{position:relative}.row a{color:white;text-decoration:none}.row a:hover{color:white;text-decoration:none}.uiflow_p{height:100px}.item{width:150px;margin-right:10px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none;background-color:white}.related_links{position:fixed;top:35%;right:0;z-index:900;width:50px}.related_links a{display:block;width:50px;height:50px;text-decoration:none;transition:all .25s ease;float:right}.related_links a:first-child{border-top-left-radius:3px;background-color:#76c5f0}.related_links a:nth-child(2){background-color:#007cc2}.related_links a:nth-child(3){background-color:#dc214c}.related_links a:nth-child(4){border-bottom-left-radius:3px;background-color:#1f1a17}.related_links a:hover{width:90px}.related_links a img{position:relative;top:5px;left:5px;width:40px}.related_links a:nth-child(4) img{top:3.5px;left:3.5px;width:43px}.related_links div img{position:relative;top:10px;left:0;width:50px;transition:all .25s ease}.related_links div img:hover{transform:scale(1.05)}@media screen and (max-width:768px){.related_links{display:none}}.item-title{white-space: nowrap;text-align:center;margin-top:10px;margin-bottom:10px}.item a{color:black;text-decoration:none}.item a:hover{text-decoration:none}.dropdown{display:inline-block;transition:all .25s ease;color:#343a40}.dropdown div{position:absolute;overflow:hidden;height:0;background-color:#fff;transition:all .25s ease;left:-50px;text-align:center;top:40px;z-index:1001;min-width:10rem}.dropdown:hover{box-shadow:0 2px 0 0 #007bff;color:#007bff}.dropdown:hover div{padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;list-style:none;background-clip:padding-box;height:max-content;box-shadow:0 17px 18px 0 #f0f0f0}.dropdown div a:hover{color:#007bff!important}.dropdown div a:active{background-color:#ccc!important}.mask{position:absolute;top:0;left:0;width:150px;height:206px;background:rgba(0,0,0,0.83);color:#fff;opacity:0}.mask h3{text-align:center}.item a:hover .mask{opacity:1}.mask-btn1{position:relative;top:30px;left:30px;border:0;width:90px;background-color:#007bffc7}.mask-btn2{position:relative;top:67px;left:30px;border:0;width:90px;background-color:#007bffc7}.product_list div.btn-group-vertical{display:none}.product_list:hover div.btn-group-vertical{position:fixed;display:block;margin:0;z-index:9999}.item:hover{box-shadow:0 0 10px #6ab2ff}.item .mask_sku{position:absolute;bottom:0;width:100%;text-align:center;font-size:19px}main>.content{margin:0}div.card-img-overlay{background-color:rgba(0,0,0,0.6)}div.card-img-overlay:hover{background-color:rgba(0,0,0,0.25);color:blue!important}.banner{width:100%;height:300px;background-color:#fffbff}.d-flex{z-index:10000;position:fixed;top:0;right:0;left:0}.btn-toggle{display:none}.pc-navigation{position:fixed;top:20%;left:4%}.pc-navigation button{font-weight:bold;height:53px}.mb-navigation{display:none}.product_page{margin-left:60px;margin-top:100px}.search{display:none;position:fixed;z-index:10001;top:25px;left:20%;padding:0 20px}.search input{border-radius:40px;border:0;outline:0;background:#eee;width:240px;height:38px;padding:0 0 0 20px}.search .search-btn{position:absolute;top:10px;right:40px;border-radius:100px;width:30px;height:30px}.search i{position:absolute;top:6px;right:7px;font-size:18px}.search .search_point{background-color:#f7f7f7;margin:2px 22px;display:none;overflow-y:auto;max-height:300px;box-shadow:0 2px 0 0 #007bff;max-width:260px}.search .search_point a{padding:4px 20px;display:block}.search .search_point a:hover{color:#007bff}body[data-page="index.md"] .search{display:inline-block}body[data-page="en/faq.md"] .search{display:inline-block}body[data-page="index.md"] .markdown-section{margin-top:25px}body[data-page="zh_CN/README.md"] .search{display:inline-block}body[data-page="zh_CN/faq.md"] .search{display:inline-block} -body[data-page="zh_CN/README.md"] .markdown-section{margin-top:25px}@media screen and (max-width:768px){.dropdown{display:block}.d-flex{left:auto;transition:all .25s ease;top:50px;width:50%;background-color:white;right:-50%}.d-flex>h1{display:none}.d-flex.open{display:block!important;position:fixed;right:0;z-index:10000}.d-flex.open>h1{display:none}.d-flex.open nav a{display:block}.btn-toggle{display:block;position:fixed;right:0;top:0;width:100%;height:50px;z-index:1000;box-shadow:1px 0 10px 0 #888;background-color:white}.btn-toggle::before,.btn-toggle::after{content:"";position:absolute;transition:all .25s ease;width:30px;height:2px;background-color:gray}.btn-toggle::before{top:10px;right:10px;box-shadow:0 12px 0 gray}.btn-toggle::after{top:34px;right:10px}.btn-toggle.open::before{top:25px;right:10px;transform:rotate(45deg);box-shadow:none}.btn-toggle.open::after{top:25px;right:10px;transform:rotate(-45deg)}.markdown-section{max-width:100%;margin-top:50px;padding-left:45px;padding-right:45px}.banner div.card-img-overlay h4{font-size:1.3em;color:#fff;text-align:center}.banner{margin-left:8px;margin-right:0;width:130px}.item{width:130px;margin-left:5px;margin-right:5px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none}.uiflow_p{height:auto}.pc-navigation{display:none}.product_page{margin-left:0;margin-top:0}.mb-navigation{z-index:9999;position:fixed;top:0;left:0;right:50px;height:50px;color:#343a40;border-radius:0;background:white;line-height:inherit;display:block;box-shadow:-12px -1px 10px #888}.nav-content{position:fixed;top:50px;left:0;right:0;z-index:999}.search{position:fixed;z-index:10001;top:6px;left:-2px}.mask{display:none;width:130px;height:186px}.mask-btn1{position:relative;top:50px;left:23px}.mask-btn2{position:relative;top:75px;left:23px}.video_size{width:100%}}@media screen and (max-width:768px){.pic{width:50%}}mark{background-color: #2673ffe0;color: white;border-radius: 5px;}.faq-class{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.faq-class h5{color:#666!important;font-size:16px!important;position:relative;margin:0!important}.search-tips{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.search-tips h5{color:#666!important;font-size:16px!important;position:relative;margin:0!important}.faq-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.faq-title{color:#666!important;font-size:16px!important;position:relative;margin:0!important;padding-right:30px!important}.faq-title::before{background-color:#007bff;content:"";width:20px;height:20px;border-radius:20px;position:absolute;right:0;top:0;bottom:0;margin:auto}.faq-button{height:0;margin:0!important}.faq-button::after{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;z-index:10}.faq-button::before{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;transform:rotate(90deg);z-index:10}.faq-answer{border:0;outline:0;font-weight:400;max-height:0;overflow:auto;transition:max-height .35s ease}.faq-answer div{padding-top:30px;color:#666!important}.faq-answer div span{display:block}.faq-item .faq-title.open+.faq-answer{max-height:600px}.faq-img{margin-top:20px;margin-bottom:20px;width:40%;display:inline-block}.cases-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.cases-title{color:#666!important;font-size:16px!important;position:relative;margin:0!important;padding-right:30px!important}.anchor-box{position:fixed;top:22%;left:50px;display:-webkit-flex;display:flex;flex-direction:column;z-index:50;width:max-content}.anchor-box img{width:30px;height:31px;margin-left:10px;margin-top:2px}.anchor-box svg{margin-left:10px;margin-top:2px}.anchor-box>a{display:-webkit-flex;display:flex;flex-direction:row;height:40px;width:180px;padding:2px 10px;text-decoration:none;outline:0;border:0;border-radius:25px;color:#fff!important;font-size:16px;line-height:1.2;transition:all .3s ease;background-color:#333;box-shadow:4px 4px 8px 0 #aeaeae;-moz-box-shadow:4px 4px 8px 0 #aeaeae;-webkit-box-shadow:4px 4px 8px 0 #aeaeae;margin-top:12px}.anchor-box>a:hover{background-color:#007aff!important;box-shadow:4px 4px 8px 0 #007aff5c!important;-moz-box-shadow:4px 4px 8px 0 #007aff5c!important;-webkit-box-shadow:4px 4px 8px 0 #007aff5c!important}.anchor-box span{width:100px;text-align:center;margin-left:6px;overflow:hidden;white-space:nowrap}.anchor-box svg{margin-left:12px;margin-top:4px}.anchor-active{background-color:#007aff!important;box-shadow:4px 4px 8px 0 #007aff5c!important;-moz-box-shadow:4px 4px 8px 0 #007aff5c!important;-webkit-box-shadow:4px 4px 8px 0 #007aff5c!important} -.anchor-quiet{background-color:#333!important;box-shadow:4px 4px 8px 0 #aeaeae!important;-moz-box-shadow:4px 4px 8px 0 #aeaeae!important;-webkit-box-shadow:4px 4px 8px 0 #aeaeae!important}@media screen and (max-width:1645px){.anchor-box{left:20px}}@media screen and (max-width:1460px){.anchor-box{left:0}}@media screen and (max-width:1300px){.anchor-box{left:-30px}}@media screen and (max-width:1180px){.anchor-box{left:-54px}}@media screen and (max-width:768px){.anchor-box{position:fixed;top:32%;left:auto;right:-120px;display:-webkit-flex;display:flex;flex-direction:column;z-index:9999}.anchor-active{float:left;transform:translateX(-100px)!important}.anchor-quiet{float:left;transform:translateX(0px)!important}}.easyloader-box{display:flex;flex-direction:row;width:80%}.easyloader-box>div{position:relative;width:50%;overflow:hidden}.easyloader-box img,video{width:100%}.easyloader-box p{margin:10px 25px;color:white}.easyloader-box p:last-child{overflow-y:scroll;height:20%;font-size:10px}.easyloader-mask{position:absolute;right:0;bottom:6px;height:100%;width:100%;background-color:black;opacity:.7;transition:all .3s;display:flex;flex-direction:column;justify-content:center}.easyloader-mask a{margin-top:50px;text-align:center}.video_play{bottom:-100%}.easyloader-btn{position:absolute;display:flex;flex-direction:row;justify-content:space-around;bottom:7%;width:100%;padding:0 20px}.easyloader-btn a{width:90px;text-align:center;padding:2px 10px;background-color:#007bff;color:white!important;border-radius:10px}.easyloader-btn a:hover{background-color:#45a9ff}@media screen and (max-width:768px){.easyloader-box{flex-direction:column;width:100%}.easyloader-box>div{width:100%}}.platform-box{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.platform-item{position:relative;overflow:hidden;margin:20px;box-shadow:0 0 5px 0 #dbdbdb;border-radius:15px}.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:2px;height:450px;background-color:#d9d9d9;right:-22px;top:43px}.platform-item h3{position:absolute;top:50%;width:100%;text-align:center;font-size:20px;font-weight:normal;color:#fff;z-index:11}.platform-tag{position:absolute;top:50%;left:45%;width:150px;height:150px;margin:-60px 0 0 -60px;background:#333;opacity:.8;border-radius:50%;z-index:10;-webkit-transform:scale(1,1);-moz-transform:scale(1,1);transform:scale(1,1);-webkit-transition:all .3s;-moz-transition:all .3s;transition:all .5s cubic-bezier(0.23,0.53,0.22,0.93)}.platform-item a:hover .platform-tag{transform:scale(4.3,4.3)}@media screen and (max-width:768px){.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:300px;height:2px;background-color:#d9d9d9;right:-30px;top:455px}}.markdown-section h1{font-family:Montserrat;font-weight:1000;font-size:48px;display:inline}.markdown-section h2{font-family:Montserrat;font-weight:600;font-size:25px;padding:0;padding-top:110px;margin-top:-70px;}.markdown-section p{font-family:Montserrat}.product_sku_tag{margin-left:5px;margin-top:5px}table thead,table tr{border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc}table{border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aabfdc;border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc;overflow:auto;display:table!important}table td,table th{padding:5px 10px;font-size:13px;font-family:Montserrat;color:#597da1!important;border-color:hsl(212,42%,88%);min-width:50px}table tr:nth-child(even){background:#d3dfed!important}table tr:nth-child(odd){background:#FFF!important}@media screen and (max-width:768px){table{display:block!important;overflow:scroll}}.files_download{display:flex;flex-direction:row;justify-content:space-evenly;flex-wrap:wrap;margin:45px}.files_download .item{display:flex;justify-content:center;width:200px;box-shadow:4px 4px 7px 0 #cecece;transition:all .25s ease}.files_download .item:hover{transform:scale(1.2)}#tag_title{position:absolute;color:#fff;width:160px;font-size:14px;padding:4px;background:#007bffc7;border:solid 1px #e9f7f6;border-radius:5px;text-align:center}#tag_title::after{content:" ";position:absolute;top:50%;left:-18px;width:0;height:0;border-width:8px;border-style:solid;border-color:transparent #007bffc7 transparent transparent;transform:translateY(-50%)} \ No newline at end of file +:root{--theme-color:hsl(204,90%,45%)}*{font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif}a{text-decoration:none !important}img{z-index:51}.product_pic img{width:30%}@media screen and (max-width:768px){.product_pic img{width:100%}}#mb_header{display:none}.el-menu-vertical-demo:not(.el-menu--collapse){width:200px;min-height:400px}#mb_header{position:fixed;top:50%;transform:translateY(-50%);box-shadow:-5px 1px 20px 0 #e7e5e5;z-index:999;border-radius:10px;right:0}#mb_header .el-menu{border-right:0;border-radius:10px}#mb_header .el-submenu__title,.el-menu-item{padding:0 10px !important;text-align:center}#mb_header .el-menu-item div{padding:0 10px !important}#mb_header .el-menu-item li{height:30px}#pc_header{position:fixed;z-index:999;left:0;top:0;right:0;background-color:white;box-shadow:0 0 10px #ddd;padding:0 20px;display:flex;justify-content:space-between}#pc_header .el-menu{display:inline-block;padding:10px 0 0 0;border-bottom:0}#progressbar{position:fixed;left:0;top:0;right:0;background-color:white;bottom:0;z-index:99999}#progressbar .el-progress{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.markdown-section{max-width:75%;margin-top:50px}.markdown-section a{color:hsl(211,100%,50%)}body[data-page="en/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}body[data-page="zh_CN/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section{max-width:100%}.pic{width:30%}.video_size{width:50%}.uiflow_banner{position:relative}.row a{color:white;text-decoration:none}.row a:hover{color:white;text-decoration:none}.uiflow_p{height:100px}.item{width:150px;margin-right:10px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none;background-color:white}.related_links{position:fixed;top:35%;right:0;z-index:900;width:50px}.related_links a{display:block;width:50px;height:50px;text-decoration:none;transition:all .25s ease;float:right}.related_links a:first-child{border-top-left-radius:3px;background-color:#76c5f0}.related_links a:nth-child(2){background-color:#007cc2}.related_links a:nth-child(3){background-color:#dc214c}.related_links a:nth-child(4){background-color:#1f1a17}.related_links a:nth-child(5){border-bottom-left-radius:3px}.related_links a:hover{width:90px}.related_links a img{position:relative;top:5px;left:5px;width:40px}.related_links a:nth-child(4) img{top:3.5px;left:3.5px;width:43px}.related_links div img{position:relative;top:10px;left:0;width:50px;transition:all .25s ease}.related_links div img:hover{transform:scale(1.05)}@media screen and (max-width:768px){.related_links{display:none}}.item-title{white-space:nowrap;text-align:center;margin-top:10px;margin-bottom:10px}.item a{color:black;text-decoration:none}.item a:hover{text-decoration:none}.dropdown{display:inline-block;transition:all .25s ease;color:#343a40}.dropdown div{position:absolute;overflow:hidden;height:0;background-color:#fff;transition:all .25s ease;left:-50px;text-align:center;top:40px;z-index:1001;min-width:10rem}.dropdown:hover{box-shadow:0 2px 0 0 #007bff;color:#007bff}.dropdown:hover div{padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;list-style:none;background-clip:padding-box;height:max-content;box-shadow:0 17px 18px 0 #f0f0f0}.dropdown div a:hover{color:#007bff !important}.dropdown div a:active{background-color:#ccc !important}.mask{position:absolute;top:0;left:0;width:150px;height:100%;background:rgba(0,0,0,0.83);color:#fff;opacity:0}.mask h3{text-align:center}.item a:hover .mask{opacity:1}.mask-btn1{position:relative;top:30px;left:30px;border:0;width:90px;background-color:#007bffc7;color:white}.mask-btn2{position:relative;top:67px;left:30px;border:0;width:90px;background-color:#007bffc7;color:white}.product_list div.btn-group-vertical{display:none}.product_list:hover div.btn-group-vertical{position:fixed;display:block;margin:0;z-index:9999}.item:hover{box-shadow:0 0 10px #6ab2ff}.item .mask_sku{position:absolute;bottom:0;width:100%;text-align:center;font-size:19px}main>.content{margin:0}div.card-img-overlay{background-color:rgba(0,0,0,0.6)}div.card-img-overlay:hover{background-color:rgba(0,0,0,0.25);color:blue !important}.banner{width:100%;height:300px;background-color:#fffbff}.d-flex{z-index:10000;position:fixed;top:0;right:0;left:0}.btn-toggle{display:none}.pc-navigation{position:fixed;top:20%;left:4%}.pc-navigation button{font-weight:bold;height:53px}.mb-navigation{display:none}.product_page{margin-left:60px;margin-top:100px}.search{display:none;position:fixed;z-index:10001;top:22px;left:260px;padding:0 20px}.search input{border-radius:40px;border:0;outline:0;background:#eee;width:240px;height:38px;padding:0 0 0 20px}.search .search-btn{position:absolute;top:10px;right:40px;border-radius:100px;width:30px;height:30px}.search i{position:absolute;top:6px;right:7px;font-size:18px}.search .search_point{background-color:#f7f7f7;margin:2px 22px;display:none;overflow-y:auto;max-height:300px;box-shadow:0 2px 0 0 #007bff;max-width:260px}.search .search_point a{padding:4px 20px;display:block}.search .search_point a:hover{color:#007bff}body[data-page="index.md"] .search{display:inline-block}body[data-page="en/faq.md"] .search{display:inline-block}body[data-page="zh_CN/README.md"] .search{display:inline-block}body[data-page="zh_CN/faq.md"] .search{display:inline-block}body[data-page="index.md"] .markdown-section{margin-top:25px}body[data-page="zh_CN/README.md"] .markdown-section{margin-top:25px}@media screen and (max-width:768px){.dropdown{display:block}#mb_header{display:block}#pc_header{display:none}.d-flex{display:none !important;left:auto;transition:all .25s ease;top:50px;width:50%;background-color:white;right:-50%}.d-flex>h1{display:none}.d-flex.open{display:block !important;position:fixed;right:0;z-index:10000}.d-flex.open>h1{display:none}.d-flex.open nav a{display:block}.btn-toggle{display:block;position:fixed;right:0;top:0;width:100%;height:50px;z-index:1000;box-shadow:1px 0 10px 0 #888;background-color:white}.btn-toggle::before,.btn-toggle::after{content:"";position:absolute;transition:all .25s ease;width:30px;height:2px;background-color:gray}.btn-toggle::before{top:10px;right:10px;box-shadow:0 12px 0 gray}.btn-toggle::after{top:34px;right:10px}.btn-toggle.open::before{top:25px;right:10px;transform:rotate(45deg);box-shadow:none}.btn-toggle.open::after{top:25px;right:10px;transform:rotate(-45deg)}.markdown-section{max-width:100%;margin-top:0;padding-left:45px;padding-right:45px}.banner div.card-img-overlay h4{font-size:1.3em;color:#fff;text-align:center}.banner{margin-left:8px;margin-right:0;width:130px}.item{width:130px;margin-left:5px;margin-right:5px;margin-top:10px;margin-bottom:10px;display:inline-block;position:relative;cursor:pointer;transition:box-shadow .3s;text-decoration:none}.uiflow_p{height:auto}.pc-navigation{display:none}.product_page{margin-left:0;margin-top:0}.mb-navigation{z-index:9999;position:fixed;top:0;left:0;right:50px;height:50px;color:#343a40;border-radius:0;background:white;line-height:inherit;display:block;box-shadow:-12px -1px 10px #888}.nav-content{position:fixed;top:50px;left:0;color:white;right:0;z-index:999}.search{position:fixed;z-index:10001;top:15px;left:50%;transform:translateX(-50%)}.mask{display:none;width:130px;height:186px}.mask-btn1{position:relative;top:50px;left:23px}.mask-btn2{position:relative;top:75px;left:23px}.video_size{width:100%}}@media screen and (max-width:768px){.pic{width:50%}}mark{background-color:#2673ffe0;color:white;border-radius:5px}.faq-class{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.faq-class h5{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important}.search-tips{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#d9d9d9;padding:20px;border-radius:10px;height:auto}.search-tips h5{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important}.faq-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.faq-title{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important;padding-right:30px !important}.faq-title.open{max-height:600px}.faq-title::before{background-color:#007bff;content:"";width:20px;height:20px;border-radius:20px;position:absolute;right:0;top:0;bottom:0;margin:auto}.faq-button{height:0;margin:0 !important}.faq-button::after{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;z-index:10}.faq-button::before{background-color:white;content:"";width:12px;height:2px;position:absolute;top:0;right:4px;bottom:0;margin:auto;transform:rotate(90deg);z-index:10}.faq-answer{border:0;outline:0;font-weight:400;max-height:0;overflow:auto;transition:max-height .35s ease}.faq-answer div{padding-top:30px;color:#666 !important}.faq-answer div span{display:block}.faq-item .faq-title.open+.faq-answer{max-height:600px}.faq-img{margin-top:20px;margin-bottom:20px;width:40%;display:inline-block}.cases-item{border:1px solid #d9d9d9;margin-bottom:1.5%;background-color:#fff;padding:20px;border-radius:10px;height:auto}.cases-title{color:#666 !important;font-size:16px !important;position:relative;margin:0 !important;padding-right:30px !important}.anchor-box{position:fixed;top:22%;left:50px;display:-webkit-flex;display:flex;flex-direction:column;z-index:50;width:max-content}.anchor-box img{width:30px;height:31px;margin-left:10px;margin-top:2px}.anchor-box svg{margin-left:10px;margin-top:2px}.anchor-box>a{display:-webkit-flex;display:flex;flex-direction:row;height:40px;width:180px;padding:2px 10px;text-decoration:none;outline:0;border:0;border-radius:25px;color:#fff !important;font-size:16px;line-height:1.2;transition:all .3s ease;background-color:#333;box-shadow:4px 4px 8px 0 #aeaeae;-moz-box-shadow:4px 4px 8px 0 #aeaeae;-webkit-box-shadow:4px 4px 8px 0 #aeaeae;margin-top:12px}.anchor-box>a:hover{background-color:#007aff !important;box-shadow:4px 4px 8px 0 #007aff5c !important;-moz-box-shadow:4px 4px 8px 0 #007aff5c !important;-webkit-box-shadow:4px 4px 8px 0 #007aff5c !important}.anchor-box span{width:100px;text-align:center;margin-left:6px;overflow:hidden;white-space:nowrap}.anchor-box svg{margin-left:12px;margin-top:4px}.anchor-active{background-color:#007aff !important;box-shadow:4px 4px 8px 0 #007aff5c !important;-moz-box-shadow:4px 4px 8px 0 #007aff5c !important;-webkit-box-shadow:4px 4px 8px 0 #007aff5c !important}.anchor-quiet{background-color:#333 !important;box-shadow:4px 4px 8px 0 #aeaeae !important;-moz-box-shadow:4px 4px 8px 0 #aeaeae !important;-webkit-box-shadow:4px 4px 8px 0 #aeaeae !important}@media screen and (max-width:1645px){.anchor-box{left:20px}}@media screen and (max-width:1460px){.anchor-box{left:0}}@media screen and (max-width:1300px){.anchor-box{left:-30px}}@media screen and (max-width:1180px){.anchor-box{left:-54px}}@media screen and (max-width:768px){.anchor-box{position:fixed;top:32%;left:auto;right:-120px;display:-webkit-flex;display:flex;flex-direction:column;z-index:9999;display:none}.anchor-active{float:left;transform:translateX(-100px) !important}.anchor-quiet{float:left;transform:translateX(0px) !important}}.easyloader-box{display:flex;flex-direction:row;width:80%}.easyloader-box>div{position:relative;width:50%;overflow:hidden}.easyloader-box img,video{width:100%}.easyloader-box p{margin:10px 25px;color:white}.easyloader-box p:last-child{overflow-y:scroll;height:20%;font-size:10px}.easyloader-mask{position:absolute;right:0;bottom:6px;height:100%;width:100%;background-color:black;opacity:.7;transition:all .3s;display:flex;flex-direction:column;justify-content:center}.easyloader-mask a{margin-top:50px;text-align:center}.video_play{bottom:-100%}.easyloader-btn{position:absolute;display:flex;flex-direction:row;justify-content:space-around;bottom:7%;width:100%;padding:0 20px}.easyloader-btn a{width:90px;text-align:center;padding:2px 10px;background-color:#007bff;color:white !important;border-radius:10px}.easyloader-btn a:hover{background-color:#45a9ff}@media screen and (max-width:768px){.easyloader-box{flex-direction:column;width:100%}.easyloader-box>div{width:100%}}.platform-box{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.platform-item{position:relative;overflow:hidden;margin:20px;box-shadow:0 0 5px 0 #dbdbdb;border-radius:15px}.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:2px;height:450px;background-color:#d9d9d9;right:-22px;top:43px}.platform-item h3{position:absolute;top:50%;width:100%;text-align:center;font-size:20px;font-weight:normal;color:#fff;z-index:11}.platform-tag{position:absolute;top:50%;left:45%;width:150px;height:150px;margin:-60px 0 0 -60px;background:#333;opacity:.8;border-radius:50%;z-index:10;-webkit-transform:scale(1,1);-moz-transform:scale(1,1);transform:scale(1,1);-webkit-transition:all .3s;-moz-transition:all .3s;transition:all .5s cubic-bezier(0.23,0.53,0.22,0.93)}.platform-item a:hover .platform-tag{transform:scale(4.3,4.3)}@media screen and (max-width:768px){.platform-box>div:nth-of-type(1)::after{content:"";position:absolute;width:300px;height:2px;background-color:#d9d9d9;right:-30px;top:455px}}.markdown-section h1{font-family:Montserrat;font-weight:1000;font-size:48px;display:inline}.markdown-section h2{font-family:Montserrat;font-weight:600;font-size:25px;padding:0;padding-top:110px;margin-top:-70px}.markdown-section p{font-family:Montserrat}.product_sku_tag{margin-left:5px;margin-top:5px}table thead,table tr{border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc}table{border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:#aabfdc;border-top-width:1px;border-top-style:solid;border-top-color:#aabfdc;overflow:auto;display:table !important}table td,table th{padding:5px 10px;font-size:13px;font-family:Montserrat;color:#597da1 !important;border-color:hsl(212,42%,88%);min-width:50px}table tr:nth-child(even){background:#d3dfed !important}table tr:nth-child(odd){background:#FFF !important}@media screen and (max-width:768px){table{display:block !important;overflow:scroll}}.files_download{display:flex;flex-direction:row;justify-content:space-evenly;flex-wrap:wrap;margin:45px}.files_download .item{display:flex;justify-content:center;width:200px;box-shadow:4px 4px 7px 0 #cecece;transition:all .25s ease}.files_download .item:hover{transform:scale(1.2)}#tag_title{position:absolute;color:#fff;width:160px;font-size:14px;padding:4px;background:#007bffc7;border:solid 1px #e9f7f6;border-radius:5px;text-align:center}#tag_title::after{content:" ";position:absolute;top:50%;left:-18px;width:0;height:0;border-width:8px;border-style:solid;border-color:transparent #007bffc7 transparent transparent;transform:translateY(-50%)} diff --git a/docs/assets/css/main.css b/docs/assets/css/main.css index e657726c..a480864e 100755 --- a/docs/assets/css/main.css +++ b/docs/assets/css/main.css @@ -2,12 +2,16 @@ --theme-color: hsl(204,90%,45%) } -@font-face { +/* @font-face { font-family: Montserrat; font-style: normal; src: url("/assets/font/montserrat_n5.e72d00d31ae5399d260a80ec70322c62c1819762.woff2") format("woff2") - } + } */ +* { + font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif; +} + a { text-decoration: none !important } @@ -27,6 +31,110 @@ img { } } +#mb_header { + display: none; +} + + +.el-menu-vertical-demo:not(.el-menu--collapse) { + width: 200px; + min-height: 400px; + } + +#mb_header { + position: fixed; + top: 50%; + transform: translateY(-50%); + box-shadow: -5px 1px 20px 0px #e7e5e5; + z-index: 999; + border-radius: 10px; + right: 0; +} + +#mb_header .el-menu { + border-right: none; + border-radius: 10px; +} + +#mb_header .el-submenu__title,.el-menu-item { + padding: 0px 10px !important; + text-align: center; +} + +#mb_header .el-menu-item div { + padding: 0px 10px !important; +} + +#mb_header .el-menu-item li { + height: 30px; +} + + +#pc_header { + position: fixed; + z-index: 999; + left: 0px; + top: 0px; + right: 0px; + background-color: white; + box-shadow: 0px 0px 10px #ddd; + padding: 0px 20px; + display: flex; + justify-content: space-between; +} + + +#pc_header .el-menu { + display: inline-block; + padding: 10px 0px 0px 0px; + border-bottom: 0px; +} + +/* .goBack_header { + display: none; +} + +@media screen and (max-width:768px) { + .goBack_header { + display: block; + } + body[data-page="index.md"] .goBack_header { + display: none; + } + + body[data-page="en/faq.md"] .goBack_header { + display: none; + } + + + body[data-page="zh_CN/README.md"] .goBack_header { + display: none; + } + + body[data-page="zh_CN/faq.md"] .goBack_header { + display: none; + } +} */ + + +#progressbar { + position: fixed; + left: 0px; + top: 0px; + right: 0px; + background-color: white; + bottom: 0px; + z-index: 99999; +} + + +#progressbar .el-progress { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%,-50%); +} + .markdown-section { max-width: 75%; margin-top: 50px; @@ -37,26 +145,6 @@ img { color: hsl(211, 100%, 50%); } -body[data-page="zh_CN/uiflow/uiflow_home_page.md"] article.markdown-section { - max-width: 100%; - padding: 0 -} - -body[data-page="en/uiflow/uiflow_home_page.md"] article.markdown-section { - max-width: 100%; - padding: 0 -} - -body[data-page="zh_CN/arduino/arduino_home_page.md"] article.markdown-section { - max-width: 100%; - padding: 0 -} - -body[data-page="en/arduino/arduino_home_page.md"] article.markdown-section { - max-width: 100%; - padding: 0 -} - body[data-page="en/quick_start/m5stickc/m5stickc_quick_start.md"] article.markdown-section { max-width: 100%; } @@ -136,10 +224,13 @@ body[data-page="zh_CN/quick_start/m5stickc/m5stickc_quick_start.md"] article.mar } .related_links a:nth-child(4) { - border-bottom-left-radius: 3px; background-color: #1f1a17 } +.related_links a:nth-child(5) { + border-bottom-left-radius: 3px; +} + .related_links a:hover { width: 90px } @@ -239,7 +330,7 @@ body[data-page="zh_CN/quick_start/m5stickc/m5stickc_quick_start.md"] article.mar top: 0; left: 0; width: 150px; - height: 206px; + height: 100%; background: rgba(0, 0, 0, 0.83); color: #fff; opacity: 0 @@ -259,7 +350,8 @@ body[data-page="zh_CN/quick_start/m5stickc/m5stickc_quick_start.md"] article.mar left: 30px; border: none; width: 90px; - background-color: #007bffc7; + background-color: #007bffc7; + color: white; } .mask-btn2 { @@ -268,7 +360,8 @@ body[data-page="zh_CN/quick_start/m5stickc/m5stickc_quick_start.md"] article.mar left: 30px; border: none; width: 90px; - background-color: #007bffc7; + background-color: #007bffc7; + color: white; } .product_list div.btn-group-vertical { @@ -350,8 +443,8 @@ div.card-img-overlay:hover { display: none; position: fixed; z-index: 10001; - top: 25px; - left: 20%; + top: 22px; + left: 260px; padding: 0 20px } @@ -409,9 +502,6 @@ body[data-page="en/faq.md"] .search { display: inline-block } -body[data-page="index.md"] .markdown-section { - margin-top: 25px -} body[data-page="zh_CN/README.md"] .search { display: inline-block @@ -421,6 +511,11 @@ body[data-page="zh_CN/faq.md"] .search { display: inline-block } + +body[data-page="index.md"] .markdown-section { + margin-top: 25px +} + body[data-page="zh_CN/README.md"] .markdown-section { margin-top: 25px } @@ -430,8 +525,16 @@ body[data-page="zh_CN/README.md"] .markdown-section { display: block } + #mb_header { + display: block; + } + + #pc_header { + display: none; + } + .d-flex { - /* display: none !important */ + display: none !important; left: auto; transition: all .25s ease; top: 50px; @@ -508,7 +611,7 @@ body[data-page="zh_CN/README.md"] .markdown-section { .markdown-section { max-width: 100%; - margin-top: 50px; + margin-top: 0px; padding-left: 45px; padding-right: 45px } @@ -569,7 +672,7 @@ body[data-page="zh_CN/README.md"] .markdown-section { .nav-content { position: fixed; top: 50px; - left: 0; + left: 0;color: white; right: 0; z-index: 999 } @@ -577,8 +680,9 @@ body[data-page="zh_CN/README.md"] .markdown-section { .search { position: fixed; z-index: 10001; - top: 6px; - left: -2px + top: 15px; + left: 50%; + transform: translateX(-50%); } .mask { @@ -590,13 +694,13 @@ body[data-page="zh_CN/README.md"] .markdown-section { .mask-btn1 { position: relative; top: 50px; - left: 23px + left: 23px; } .mask-btn2 { position: relative; top: 75px; - left: 23px + left: 23px; } .video_size { @@ -665,6 +769,10 @@ mark { padding-right: 30px !important } +.faq-title.open{ + max-height: 600px; +} + .faq-title::before { background-color: #007bff; content: ""; @@ -844,7 +952,7 @@ mark { @media screen and (max-width:1460px) { .anchor-box { - left: 0px + left: 0px; } } @@ -869,7 +977,8 @@ mark { display: -webkit-flex; display: flex; flex-direction: column; - z-index: 9999 + z-index: 9999; + display: none; } .anchor-active { diff --git a/docs/assets/js/custom.js b/docs/assets/js/custom.js index 39167a04..b88d1e34 100644 --- a/docs/assets/js/custom.js +++ b/docs/assets/js/custom.js @@ -17,9 +17,40 @@ const icon_list = { "ALUMINIUM":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ALUMINIUM_ICON.png" }; +var header = new Vue({ + el: '#header', + data: { + homepage: '', + faq_link:'', + case_link: '', + i2c_table: '', + comparison_table: '', + homepage_title: '', + faq_title: '', + case_title: '', + product_list_title: '', + language_list_title: '', + platform_list_title: '', + isCollapse: true, + anchor: [], + platform:{}, + activeIndex: '1', + activeIndex2: '1' + } +}) + + +var ProgressBar = new Vue({ + el: '#progressbar', + data: { + percentage: 0 + } +}) + + function anchor_create(anchor_name,anchor_id){ var page_url = window.location.href; - var Part_A = ``; + var Part_A = ``; var Part_B = `${anchor_name}`; if((anchor_name == "DESCRIPTION")||(anchor_name == "描述")){ $(".anchor-box").append(Part_A+description_icon+Part_B); @@ -75,17 +106,22 @@ function anchor_search(purchase_link="none",quickstart_link="none"){ var quickstart_name = "Quick-Start" } if(purchase_link!="none"){ - $(".anchor-box").append(''+purchase_icon+''+purchase_name+''+''); + $(".anchor-box").append(`${purchase_icon}${purchase_name}`); $("#main").append(`

${purchase_name}

`); - // $("#main").append(``); } if(quickstart_link!="none"){ - $(".anchor-box").prepend(''+quickstart_icon+''+quickstart_name.toUpperCase()+''+''); + $(".anchor-box").prepend(`${quickstart_icon}${quickstart_name.toUpperCase()} `); $(".anchor-box").before(`

${quickstart_name}

`); - // $(".anchor-box").before(`${quickstart_name}`); } + var get_anchor_list= $(".anchor-box a"); + var temp_anchor_list = []; + for (var i=0; i< get_anchor_list.length; i++){ + temp_anchor_list.push(get_anchor_list.eq(i).attr('data-id')); + } + header.anchor = temp_anchor_list; } + function anchor_scroll(anchor_name,anchor_id,anchor_length){ var page_url = window.location.href; var offset = $("#"+anchor_id).offset().top + $("#"+anchor_id).height() - $(window).scrollTop(); @@ -245,62 +281,48 @@ function faq_search(onEnter_content){ } $(document).ready(function() { - $(".btn-toggle").on('click', function() { - $(".btn-toggle").toggleClass('open'); - $(".d-flex").toggleClass('open'); - }); + // $(".btn-toggle").on('click', function() { + // $(".btn-toggle").toggleClass('open'); + // $(".d-flex").toggleClass('open'); + // }); }); function change_title(language) { if (language == "en") { - $("#product span").text("Product"); - $("#product a").eq(0).text("Product List"); - $("#product a").eq(1).text("I2C Address Table"); - $("#product a").eq(2).text("Product Comparison"); - $("#product a").eq(0).attr("href", "#"); - $("#arduino").text("Arduino"); - $("#arduino").attr("href", "#/en/arduino/arduino_home_page"); - $("#cases").text("Cases"); - $("#cases").attr("href", "#/en/case"); - $("#faq").text("FAQ"); - $("#faq").attr("href", "#/en/faq"); - $("#uiflow").attr("href", "#/en/uiflow/uiflow_home_page"); - $("#aws").attr("href", "#/en/quick_start/m5stickc/m5stickc_quick_start_with_AWS-FreeRTOS_Windows"); - $("#platform span").text("Platform"); - $("#language span").text("Language"); + header.platform = { + UIFlow:"#/en/uiflow/uiflow_home_page", + Arduino:"#/en/arduino/arduino_home_page", + MicroPython:"https://github.com/m5stack/UIFlow-Code", + FreeRTOS:"#/en/quick_start/m5stickc/m5stickc_quick_start_with_AWS-FreeRTOS_Windows" + } + header.case_link = "#/en/case"; + header.faq_link = "#/en/faq"; + header.i2c_table = "I2C Address Table"; + header.comparison_table = "Product Comparison"; + header.homepage_title = "Product List"; + header.product_list_title = "Product"; + header.language_list_title = "Language"; + header.platform_list_title = "Platform"; + header.faq_title = "FAQ"; + header.case_title = "Cases"; } if(language == "zh_CN"){ - $("#product span").text("产品"); - $("#product a").eq(0).text("产品列表"); - $("#product a").eq(1).text("产品I2C表格"); - $("#product a").eq(2).text("产品比较说明"); - $("#product a").eq(0).attr("href", "#/zh_CN/"); - $("#arduino").text("Arduino"); - $("#arduino").attr("href", "#/zh_CN/arduino/arduino_home_page"); - $("#cases").text("案例"); - $("#cases").attr("href", "#/zh_CN/case"); - $("#faq").text("常见问题"); - $("#faq").attr("href", "#/zh_CN/faq"); - $("#uiflow").attr("href", "#/zh_CN/uiflow/uiflow_home_page"); - $("#aws").attr("href", "#/zh_CN/quick_start/m5stickc/m5stickc_quick_start_with_AWS-FreeRTOS_Windows"); - $("#platform span").text("开发平台"); - $("#language span").text("切换语言"); - } - if(language == "ja"){ - $("#product span").text("製品"); - $("#product a").eq(0).text("製品リスト"); - $("#product a").eq(1).text("製品I2Cフォーム"); - $("#product a").eq(2).text("製品比較手順"); - $("#product a").eq(0).attr("href", "#/ja/"); - $("#arduino").text("Arduino"); - $("#arduino").attr("href", "#/ja/arduino/arduino_home_page"); - $("#cases").text("事例"); - $("#cases").attr("href", "#/ja/case"); - $("#faq").text("問題"); - $("#faq").attr("href", "#/ja/faq"); - $("#uiflow").attr("href", "#/ja/uiflow/uiflow_home_page"); - $("#platform span").text("開発"); - $("#language span").text("言語選択"); + header.platform = { + UIFlow:"#/zh_CN/uiflow/uiflow_home_page", + Arduino:"#/zh_CN/arduino/arduino_home_page", + MicroPython:"https://github.com/m5stack/UIFlow-Code", + FreeRTOS:"#/zh_CN/quick_start/m5stickc/m5stickc_quick_start_with_AWS-FreeRTOS_Windows" + } + header.case_link = "#/zh_CN/case"; + header.faq_link = "#/zh_CN/faq"; + header.i2c_table = "I2C地址表格"; + header.comparison_table = "产品比较说明"; + header.homepage_title = "产品列表"; + header.product_list_title = "产品信息"; + header.language_list_title = "切换语言"; + header.platform_list_title = "编程平台"; + header.faq_title = "常见问题"; + header.case_title = "社区案例"; } } function language(language) { @@ -428,4 +450,4 @@ function creat_pdf() { $(".easyloader-box").removeAttr("style"); } -$(document).on("keypress", "form", function(event) { return event.keyCode != 13;}); \ No newline at end of file +$(document).on("keypress", "form", function(event) { return event.keyCode != 13;}); diff --git a/docs/assets/js/custom.min.js b/docs/assets/js/custom.min.js index 69e1e296..9cac7730 100644 --- a/docs/assets/js/custom.min.js +++ b/docs/assets/js/custom.min.js @@ -1,52 +1 @@ -const description_icon='';const purchase_icon='';const example_icon='';const video_icon='';const quickstart_icon='';const schematic_icon='';const icon_list={"EASYLOADER":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/EASYLOADER_ICON.png","CORE":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/CORE_ICON.png","MODULE":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/MODULE_ICON.png","BASE":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/BASE_ICON.png","UNIT":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/UNIT_ICON.png","HAT":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/HAT_ICON.png","ATOM":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ATOM_BASE_ICON.png","APPLICATION":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/APPLICATION_ICON.png","ACCESSORY":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ACCESSORY_ICON.png","ALUMINIUM":"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ALUMINIUM_ICON.png"};function anchor_create(anchor_name,anchor_id){var page_url=window.location.href;var Part_A=``;var Part_B=`${anchor_name}`;if((anchor_name=="DESCRIPTION")||(anchor_name=="描述")){$(".anchor-box").append(Part_A+description_icon+Part_B);} -else if((anchor_name=="EXAMPLE")||(anchor_name=="案例程序")){$(".anchor-box").append(Part_A+example_icon+Part_B);} -else if((anchor_name=="SCHEMATIC")||(anchor_name=="原理图")){$(".anchor-box").append(Part_A+schematic_icon+Part_B);} -else if((anchor_name=="VIDEO")||(anchor_name=="相关视频")){$(".anchor-box").append(Part_A+video_icon+Part_B);} -else if(icon_list.hasOwnProperty(anchor_name)){$(".anchor-box").append(Part_A+""+Part_B);if(anchor_name=="EASYLOADER"){if(("#example_video").length>0) -$("#play-btn").on("click",function(ev){ev.stopPropagation();$(".easyloader-mask").toggleClass('video_play');$("#example_video")[0].play();}) -$("#example_video").on("click",function(ev){ev.preventDefault();$(".easyloader-mask").toggleClass('video_play');$("#example_video")[0].pause();})}}else if((page_url.indexOf(/uiflow/)!=-1)||(page_url.indexOf(/arduino/)!=-1)||(page_url.indexOf(/quick_start/)!=-1)||(page_url.indexOf(/related_documents/)!=-1)){$(".anchor-box").append(Part_A+quickstart_icon+''+anchor_name+'');}} -function anchor_search(purchase_link="none",quickstart_link="none"){var page_url=window.location.href;if((page_url.slice(-4)=="/en/")||(page_url.slice(-7)=="/zh_CN/")||(page_url.slice(-3)=="/#/")){$("#search_note").eq(0).after("
");var anchor_list=$(".product_page > div:gt(1)");} -else{$("h2").eq(0).before("
");var anchor_list=$("#main h2");} -for(var i=0;i'+purchase_icon+''+purchase_name+''+'');$("#main").append(`

${purchase_name}

`);} -if(quickstart_link!="none"){$(".anchor-box").prepend(''+quickstart_icon+''+quickstart_name.toUpperCase()+''+'');$(".anchor-box").before(`

${quickstart_name}

`);}} -function anchor_scroll(anchor_name,anchor_id,anchor_length){var page_url=window.location.href;var offset=$("#"+anchor_id).offset().top+$("#"+anchor_id).height()-$(window).scrollTop();if((offset>100)&&(offset<($("#"+anchor_id).height()+700))){for(var i=0;i div:gt(1)");} -else{var anchor_list=$("#main h2");} -for(var i=0;i${sku_list[i].textContent}`;if(kw_content.toLocaleLowerCase().indexOf(textEnter)!=-1){var kw_index=kw_content.toLocaleLowerCase().indexOf(textEnter);var kw_index_start=(function(){for(var index=kw_index;index>=0;index--){if((kw_content[index]==" ")||(index==0)){return index;}}})();var kw_index_end=(function(){for(var index=kw_index;index<=kw_content.length;index++){if((kw_content[index]==" ")||(index==kw_content.length)){return index;}}})();var kw_part1=kw_content.substring(0,kw_index_start);var kw_part2=kw_content.substring(kw_index_end,);var kw_part3=kw_content.substring(kw_index_start,kw_index_end);kw=`--${kw_part3} ${kw_part1}${kw_part2}`} -if(textEnter!=""){$(".search_point").append(`${p[i].textContent+kw+sku}`);}else{$(".item").parent().css("display","block");}} -else{$(".item").eq(i).css("display","none");$(".item").parent().children("p").css("display","none");$(".item").eq(i).parent().next("hr").css("display","none");}}} -function faq_search(onEnter_content){$(".search-tips").css("display","block");$(".faq-class").css("display","none");var faq_title=$(".faq-item h5");for(var i=0;i0){pdf.addImage(pageData,'JPEG',0,position,imgWidth,imgHeight) -leftHeight-=pageHeight;position-=841.89;if(leftHeight>0){pdf.addPage();}}} -var page_url=window.location.href;var a=page_url.indexOf('#') -var pdf_name=page_url.slice(a+2);pdf.save(pdf_name+".pdf");}}) -$(".anchor-box").removeAttr("style");$(".related_links").removeAttr("style");$(".easyloader-box").removeAttr("style");} -$(document).on("keypress","form",function(event){return event.keyCode!=13;}); \ No newline at end of file +const description_icon='',purchase_icon='',example_icon='',video_icon='',quickstart_icon='',schematic_icon='',icon_list={EASYLOADER:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/EASYLOADER_ICON.png",CORE:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/CORE_ICON.png",MODULE:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/MODULE_ICON.png",BASE:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/BASE_ICON.png",UNIT:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/UNIT_ICON.png",HAT:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/HAT_ICON.png",ATOM:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ATOM_BASE_ICON.png",APPLICATION:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/APPLICATION_ICON.png",ACCESSORY:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ACCESSORY_ICON.png",ALUMINIUM:"https://m5stack.oss-cn-shenzhen.aliyuncs.com/image/m5-docs_logo/ALUMINIUM_ICON.png"};var header=new Vue({el:"#header",data:{homepage:"",faq_link:"",case_link:"",i2c_table:"",comparison_table:"",homepage_title:"",faq_title:"",case_title:"",product_list_title:"",language_list_title:"",platform_list_title:"",isCollapse:!0,anchor:[],platform:{},activeIndex:"1",activeIndex2:"1"}}),ProgressBar=new Vue({el:"#progressbar",data:{percentage:0}});function anchor_create(e,c){var t=window.location.href,n=``,o=`${e}`;"DESCRIPTION"==e||"描述"==e?$(".anchor-box").append(n+description_icon+o):"EXAMPLE"==e||"案例程序"==e?$(".anchor-box").append(n+example_icon+o):"SCHEMATIC"==e||"原理图"==e?$(".anchor-box").append(n+schematic_icon+o):"VIDEO"==e||"相关视频"==e?$(".anchor-box").append(n+video_icon+o):icon_list.hasOwnProperty(e)?($(".anchor-box").append(n+""+o),"EASYLOADER"==e&&("#example_video".length>0&&$("#play-btn").on("click",function(e){e.stopPropagation(),$(".easyloader-mask").toggleClass("video_play"),$("#example_video")[0].play()}),$("#example_video").on("click",function(e){e.preventDefault(),$(".easyloader-mask").toggleClass("video_play"),$("#example_video")[0].pause()}))):-1==t.indexOf(/uiflow/)&&-1==t.indexOf(/arduino/)&&-1==t.indexOf(/quick_start/)&&-1==t.indexOf(/related_documents/)||$(".anchor-box").append(n+quickstart_icon+'"+e+"")}function anchor_search(e="none",c="none"){var t=window.location.href;if("/en/"==t.slice(-4)||"/zh_CN/"==t.slice(-7)||"/#/"==t.slice(-3)){$("#search_note").eq(0).after("
");var n=$(".product_page > div:gt(1)")}else{$("h2").eq(0).before("
");n=$("#main h2")}for(var o=0;o${purchase_icon}${a}`),$("#main").append(`

${a}

`)),"none"!=c&&($(".anchor-box").prepend(`${quickstart_icon}${i.toUpperCase()} `),$(".anchor-box").before(`

${i}

`));var s=$(".anchor-box a"),l=[];for(o=0;o100&&o<$("#"+c).height()+700)for(var a=0;a div:gt(1)");else t=$("#main h2");for(var n=0;n${t[o].textContent}`;if(-1!=kw_content.toLocaleLowerCase().indexOf(n)){var s=kw_content.toLocaleLowerCase().indexOf(n),l=function(){for(var e=s;e>=0;e--)if(" "==kw_content[e]||0==e)return e}(),r=function(){for(var e=s;e<=kw_content.length;e++)if(" "==kw_content[e]||e==kw_content.length)return e}(),h=kw_content.substring(0,l),d=kw_content.substring(r);a=`--${kw_content.substring(l,r)} ${h}${d}`}""!=n?$(".search_point").append(`${c[o].textContent+a+i}`):$(".item").parent().css("display","block")}else $(".item").eq(o).css("display","none"),$(".item").parent().children("p").css("display","none"),$(".item").eq(o).parent().next("hr").css("display","none")}function faq_search(e){$(".search-tips").css("display","block"),$(".faq-class").css("display","none");for(var c=$(".faq-item h5"),t=0;t0;)l.addImage(s,"JPEG",0,a,595.28,i),a-=841.89,(o-=n)>0&&l.addPage();var r=window.location.href,h=r.indexOf("#"),d=r.slice(h+2);l.save(d+".pdf")}}),$(".anchor-box").removeAttr("style"),$(".related_links").removeAttr("style"),$(".easyloader-box").removeAttr("style")}Input.focusin(function(){Input.animate({width:300}),$(".search_point").show(240)}),Input.focusout(function(){Input.animate({width:240}),setTimeout(function(){$(".search_point").hide(140)},160)}),$(document).ready(function(){}),window.onhashchange=page_loading,page_loading(),$(document).on("keypress","form",function(e){return 13!=e.keyCode}); \ No newline at end of file diff --git a/docs/assets/js/docify.js b/docs/assets/js/docify.js index 1e7bb5b8..b05feded 100644 --- a/docs/assets/js/docify.js +++ b/docs/assets/js/docify.js @@ -425,41 +425,8 @@ * Init progress component */ function init() { - var progress_bg = create('div'); - var progress_title = create('h2'); - var progress_box = create('div'); - var progress_bar = create('div'); - var div = create('div'); - progress_title.innerText = "Loading...." - progress_title.style.textAlign = "center" - progress_title.style.marginTop = "-50px" - progress_bg.style.position = "fixed"; - progress_bg.style.top = "0px"; - progress_bg.style.left = "0px"; - progress_bg.style.width = "100%"; - progress_bg.style.height = "100%"; - progress_bg.style.background = "white"; - progress_bg.style.zIndex = "9999"; - progress_bar.classList.add('progress'); - progress_bar.style.width = "100%"; - progress_bar.style.height = "50px"; - progress_bar.style.borderRadius = "50px"; - // div.classList.add('progress'); - div.classList.add('progress-bar'); - div.classList.add('progress-bar-striped'); - div.classList.add('progress-bar-animated'); - progress_box.style.position = "fixed"; - progress_box.style.top = "50%"; - progress_box.style.left = "50%"; - progress_box.style.width = "50%"; - progress_box.style.transform = "translate(-50%,-50%)"; - appendTo(progress_bar, div); - appendTo(progress_box, progress_title); - appendTo(progress_box, progress_bar); - appendTo(progress_bg, progress_box); - appendTo(body, progress_bg); - barEl = div; - barE2 = progress_bg; + // barEl = div; + barE2 = document.getElementById('progressbar'); } /** * Render progress bar @@ -479,19 +446,22 @@ } else { num = Math.floor(loaded / total * 100); } - barE2.style.display = "block"; - barEl.style.opacity = 1; - barEl.style.width = num >= 95 ? '100%' : num + '%'; + + + ProgressBar.percentage = num >= 95 ? '100' : num; + // barE2.style.display = "block"; + // barEl.style.opacity = 1; + // barEl.style.width = num >= 95 ? '100%' : num + '%'; + if (num == Infinity) { - barEl.innerText = "100%"; + // barEl.innerText = "100%"; }else { - barEl.innerText = num + "%"; + // barEl.innerText = num + "%"; } if (num >= 95) { clearTimeout(timeId); timeId = setTimeout(function (_) { - barEl.style.opacity = 0; - barEl.style.width = '0%'; + ProgressBar.percentage = 0 barE2.style.display = "none"; isSupportWebp(); }, 200); @@ -5169,4 +5139,4 @@ */ ready(function (_) { return new Docsify(); }); - }()); \ No newline at end of file + }()); diff --git a/docs/assets/js/docify.min.js b/docs/assets/js/docify.min.js index 6f79ed29..c310c663 100644 --- a/docs/assets/js/docify.min.js +++ b/docs/assets/js/docify.min.js @@ -1 +1 @@ -!function(){function e(e){var t=Object.create(null);return function(n){var r=i(n)?n:JSON.stringify(n);return t[r]||(t[r]=e(n))}}var t=e(function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}),n=Object.prototype.hasOwnProperty,r=Object.assign||function(e){for(var t=arguments,r=1;r=i.length)r(n);else if("function"==typeof t)if(2===t.length)t(n,function(t){n=t,o(e+1)});else{var a=t(n);n=void 0===a?n:a,o(e+1)}else o(e+1)};o(0)}var l=!0,c=l&&document.body.clientWidth<=600,u=l&&window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/),h={};function p(e,t){if(void 0===t&&(t=!1),"string"==typeof e){if(void 0!==window.Vue)return m(e);e=t?m(e):h[e]||(h[e]=m(e))}return e}var d=l&&document,g=l&&d.body,f=l&&d.head;function m(e,t){if(null!=e)return t?e.querySelector(t):d.querySelector(e)}function v(e,t){return[].slice.call(t?e.querySelectorAll(t):d.querySelectorAll(e))}function b(e,t){return e=d.createElement(e),t&&(e.innerHTML=t),e}function y(e,t){return e.appendChild(t)}function k(e,t){if(null!=e)return e.insertBefore(t,e.children[0])}function x(e,t,n){null!=e&&(o(t)?window.addEventListener(e,t):e.addEventListener(t,n))}function w(e,t,n){o(t)?window.removeEventListener(e,t):e.removeEventListener(t,n)}function _(e,t,n){e&&e.classList[n?t:"toggle"](n||t)}var S,A,C=Object.freeze({getNode:p,$:d,body:g,head:f,find:m,findAll:v,create:b,appendTo:y,before:k,on:x,off:w,toggleClass:_,style:function(e){y(f,b("style",e))}});function E(e,t){if(void 0===t&&(t='
    {inner}
'),!e||!e.length)return"";var n="";return e.forEach(function(e){n+='
  • '+e.title+"
  • ",e.children&&(n+=E(e.children,t))}),t.replace("{inner}",n)}function L(e,t){return'

    '+t.slice(5).trim()+"

    "}function $(e){var t,n,r,i,a,o,s=e.loaded,l=e.total,c=e.step;!S&&(n=b("div"),r=b("h2"),i=b("div"),a=b("div"),o=b("div"),r.innerText="Loading....",r.style.textAlign="center",r.style.marginTop="-50px",n.style.position="fixed",n.style.top="0px",n.style.left="0px",n.style.width="100%",n.style.height="100%",n.style.background="white",n.style.zIndex="9999",a.classList.add("progress"),a.style.width="100%",a.style.height="50px",a.style.borderRadius="50px",o.classList.add("progress-bar"),o.classList.add("progress-bar-striped"),o.classList.add("progress-bar-animated"),i.style.position="fixed",i.style.top="50%",i.style.left="50%",i.style.width="50%",i.style.transform="translate(-50%,-50%)",y(a,o),y(i,r),y(i,a),y(n,i),y(g,n),S=o,barE2=n),t=c?(t=parseInt(S.style.width||0,10)+c)>80?80:t:Math.floor(s/l*100),barE2.style.display="block",S.style.opacity=1,S.style.width=t>=95?"100%":t+"%",S.innerText=t==1/0?"100%":t+"%",t>=95&&(clearTimeout(A),A=setTimeout(function(e){S.style.opacity=0,S.style.width="0%",barE2.style.display="none",isSupportWebp()},200))}var T={};function R(e,t,r){void 0===t&&(t=!1),void 0===r&&(r={});var i=new XMLHttpRequest,o=function(){i.addEventListener.apply(i,arguments)},s=T[e];if(s)return{then:function(e){return e(s.content,s.opt)},abort:a};for(var l in i.open("GET",e),r)n.call(r,l)&&i.setRequestHeader(l,r[l]);return i.send(),{then:function(n,r){if(void 0===r&&(r=a),t){var s=setInterval(function(e){return $({step:Math.floor(5*Math.random()+1)})},500);o("progress",$),o("loadend",function(e){$(e),clearInterval(s)})}o("error",r),o("load",function(t){var a=t.target;if(a.status>=400)r(a);else{var o=T[e]={content:a.response,opt:{updatedAt:i.getResponseHeader("last-modified")}};n(o.content,o.opt)}})},abort:function(e){return 4!==i.readyState&&i.abort()}}}function P(e,t){e.innerHTML=e.innerHTML.replace(/var\(\s*--theme-color.*?\)/g,t)}var O=/([^{]*?)\w(?=\})/g,F={YYYY:"getFullYear",YY:"getYear",MM:function(e){return e.getMonth()+1},DD:"getDate",HH:"getHours",mm:"getMinutes",ss:"getSeconds"};var j="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function N(e,t){return e(t={exports:{}},t.exports),t.exports}var z=N(function(e,t){!function(t){var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:f,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:f,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$)|(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:f,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};function r(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||y.defaults,this.rules=n.normal,this.options.pedantic?this.rules=n.pedantic:this.options.gfm&&(this.options.tables?this.rules=n.tables:this.rules=n.gfm)}n._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,n.def=h(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d+\.)/,n.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,n.item=h(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=h(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",n._comment=//,n.html=h(n.html,"i").replace("comment",n._comment).replace("tag",n._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n.paragraph=h(n.paragraph).replace("hr",n.hr).replace("heading",n.heading).replace("lheading",n.lheading).replace("tag",n._tag).getRegex(),n.blockquote=h(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=m({},n),n.gfm=m({},n.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),n.gfm.paragraph=h(n.paragraph).replace("(?!","(?!"+n.gfm.fences.source.replace("\\1","\\2")+"|"+n.list.source.replace("\\1","\\3")+"|").getRegex(),n.tables=m({},n.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),n.pedantic=m({},n.normal,{html:h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",n._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),r.rules=n,r.lex=function(e,t){return new r(t).lex(e)},r.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},r.prototype.token=function(e,t){var r,i,a,o,s,l,c,u,h,p,d,g,f,m,y,k;for(e=e.replace(/^ +$/gm,"");e;)if((a=this.rules.newline.exec(e))&&(e=e.substring(a[0].length),a[0].length>1&&this.tokens.push({type:"space"})),a=this.rules.code.exec(e))e=e.substring(a[0].length),a=a[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?a:b(a,"\n")});else if(a=this.rules.fences.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"code",lang:a[2],text:a[3]||""});else if(a=this.rules.heading.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"heading",depth:a[1].length,text:a[2]});else if(t&&(a=this.rules.nptable.exec(e))&&(l={type:"table",header:v(a[1].replace(/^ *| *\| *$/g,"")),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3]?a[3].replace(/\n$/,"").split("\n"):[]}).header.length===l.align.length){for(e=e.substring(a[0].length),d=0;d ?/gm,""),this.token(a,t),this.tokens.push({type:"blockquote_end"});else if(a=this.rules.list.exec(e)){for(e=e.substring(a[0].length),c={type:"list_start",ordered:m=(o=a[2]).length>1,start:m?+o:"",loose:!1},this.tokens.push(c),u=[],r=!1,f=(a=a[0].match(this.rules.item)).length,d=0;d1&&s.length>1||(e=a.slice(d+1).join("\n")+e,d=f-1)),i=r||/\n\n(?!\s*$)/.test(l),d!==f-1&&(r="\n"===l.charAt(l.length-1),i||(i=r)),i&&(c.loose=!0),k=void 0,(y=/^\[[ xX]\] /.test(l))&&(k=" "!==l[1],l=l.replace(/^\[[ xX]\] +/,"")),h={type:"list_item_start",task:y,checked:k,loose:i},u.push(h),this.tokens.push(h),this.token(l,!1),this.tokens.push({type:"list_item_end"});if(c.loose)for(f=u.length,d=0;d?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:f,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s])__(?!_)|^\*\*([^\s])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_)|^_([^\s_][\s\S]*?[^\s])_(?!_)|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:f,text:/^(`+|[^`])[\s\S]*?(?=[\\?@\[\]\\^_`{|}~])/g,i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=h(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,i.tag=h(i.tag).replace("comment",n._comment).replace("attribute",i._attribute).getRegex(),i._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|[^\[\]\\])*?/,i._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|(?:\\[()]?|\([^\s\x00-\x1f\\]*\)|[^\s\x00-\x1f()\\])*?)/,i._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,i.link=h(i.link).replace("label",i._label).replace("href",i._href).replace("title",i._title).getRegex(),i.reflink=h(i.reflink).replace("label",i._label).getRegex(),i.normal=m({},i),i.pedantic=m({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:h(/^!?\[(label)\]\((.*?)\)/).replace("label",i._label).getRegex(),reflink:h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i._label).getRegex()}),i.gfm=m({},i.normal,{escape:h(i.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:h(i.text).replace("]|","~]|").replace("|$","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|$").getRegex()}),i.gfm.url=h(i.gfm.url).replace("email",i.gfm._extended_email).getRegex(),i.breaks=m({},i.gfm,{br:h(i.br).replace("{2,}","*").getRegex(),text:h(i.gfm.text).replace("{2,}","*").getRegex()}),a.rules=i,a.output=function(e,t,n){return new a(t,n).output(e)},a.prototype.output=function(e){for(var t,n,r,i,o,s,l="";e;)if(o=this.rules.escape.exec(e))e=e.substring(o[0].length),l+=o[1];else if(o=this.rules.autolink.exec(e))e=e.substring(o[0].length),r="@"===o[2]?"mailto:"+(n=c(this.mangle(o[1]))):n=c(o[1]),l+=this.renderer.link(r,null,n);else if(this.inLink||!(o=this.rules.url.exec(e))){if(o=this.rules.tag.exec(e))!this.inLink&&/^/i.test(o[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(o[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(o[0])&&(this.inRawBlock=!1),e=e.substring(o[0].length),l+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):c(o[0]):o[0];else if(o=this.rules.link.exec(e))e=e.substring(o[0].length),this.inLink=!0,r=o[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r))?(r=t[1],i=t[3]):i="":i=o[3]?o[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),l+=this.outputLink(o,{href:a.escapes(r),title:a.escapes(i)}),this.inLink=!1;else if((o=this.rules.reflink.exec(e))||(o=this.rules.nolink.exec(e))){if(e=e.substring(o[0].length),t=(o[2]||o[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){l+=o[0].charAt(0),e=o[0].substring(1)+e;continue}this.inLink=!0,l+=this.outputLink(o,t),this.inLink=!1}else if(o=this.rules.strong.exec(e))e=e.substring(o[0].length),l+=this.renderer.strong(this.output(o[4]||o[3]||o[2]||o[1]));else if(o=this.rules.em.exec(e))e=e.substring(o[0].length),l+=this.renderer.em(this.output(o[6]||o[5]||o[4]||o[3]||o[2]||o[1]));else if(o=this.rules.code.exec(e))e=e.substring(o[0].length),l+=this.renderer.codespan(c(o[2].trim(),!0));else if(o=this.rules.br.exec(e))e=e.substring(o[0].length),l+=this.renderer.br();else if(o=this.rules.del.exec(e))e=e.substring(o[0].length),l+=this.renderer.del(this.output(o[1]));else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.inRawBlock?l+=this.renderer.text(o[0]):l+=this.renderer.text(c(this.smartypants(o[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===o[2])r="mailto:"+(n=c(o[0]));else{do{s=o[0],o[0]=this.rules._backpedal.exec(o[0])[0]}while(s!==o[0]);n=c(o[0]),r="www."===o[1]?"http://"+n:n}e=e.substring(o[0].length),l+=this.renderer.link(r,null,n)}return l},a.escapes=function(e){return e?e.replace(a.rules._escapes,"$1"):e},a.prototype.outputLink=function(e,t){var n=t.href,r=t.title?c(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,c(e[1]))},a.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},a.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},o.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'
    '+(n?e:c(e,!0))+"
    \n":"
    "+(n?e:c(e,!0))+"
    "},o.prototype.blockquote=function(e){return"
    \n"+e+"
    \n"},o.prototype.html=function(e){return e},o.prototype.heading=function(e,t,n){return this.options.headerIds?"'+e+"\n":""+e+"\n"},o.prototype.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},o.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},o.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},o.prototype.checkbox=function(e){return" "},o.prototype.paragraph=function(e){return"

    "+e+"

    \n"},o.prototype.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},o.prototype.tablerow=function(e){return"\n"+e+"\n"},o.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},o.prototype.strong=function(e){return""+e+""},o.prototype.em=function(e){return""+e+""},o.prototype.codespan=function(e){return""+e+""},o.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},o.prototype.del=function(e){return""+e+""},o.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(u(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!g.test(e)&&(e=p(this.options.baseUrl,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return n}var i='
    "},o.prototype.image=function(e,t,n){this.options.baseUrl&&!g.test(e)&&(e=p(this.options.baseUrl,e));var r=''+n+'":">"},o.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.prototype.br=function(){return""},l.parse=function(e,t){return new l(t).parse(e)},l.prototype.parse=function(e){this.inline=new a(e.links,this.options),this.inlineText=new a(e.links,m({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},l.prototype.next=function(){return this.token=this.tokens.pop()},l.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},l.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},l.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,u(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",a="";for(n="",e=0;e"']/,c.escapeReplace=/[&<>"']/g,c.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},c.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,c.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var d={},g=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function f(){}function m(e){for(var t,n,r=arguments,i=1;i=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(n.length>t)n.splice(t);else for(;n.lengthAn error occurred:

    "+c(e.message+"",!0)+"
    ";throw e}}f.exec=f,y.options=y.setOptions=function(e){return m(y.defaults,e),y},y.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new o,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},y.defaults=y.getDefaults(),y.Parser=l,y.parser=l.parse,y.Renderer=o,y.TextRenderer=s,y.Lexer=r,y.lexer=r.lex,y.InlineLexer=a,y.inlineLexer=a.output,y.parse=y,e.exports=y}(j||"undefined"!=typeof window&&window)}),M=N(function(e){var t="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},n=function(){var e=/\blang(?:uage)?-([\w-]+)\b/i,n=0,r=t.Prism={manual:t.Prism&&t.Prism.manual,disableWorkerMessageHandler:t.Prism&&t.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof i?new i(e.type,r.util.encode(e.content),e.alias):"Array"===r.util.type(e)?e.map(r.util.encode):e.replace(/&/g,"&").replace(/e.length)return;if(!(x instanceof l)){if(f&&y!=t.length-1){if(p.lastIndex=k,!(E=p.exec(e)))break;for(var w=E.index+(g?E[1].length:0),_=E.index+E[0].length,S=y,A=k,C=t.length;S=(A+=t[S].length)&&(++y,k=A);if(t[y]instanceof l)continue;L=S-y,x=e.slice(k,A),E.index-=k}else{p.lastIndex=0;var E=p.exec(x),L=1}if(E){g&&(m=E[1]?E[1].length:0);_=(w=E.index+m)+(E=E[0].slice(m)).length;var $=x.slice(0,w),T=x.slice(_),R=[y,L];$&&(++y,k+=$.length,R.push($));var P=new l(c,d?r.tokenize(E,d):E,v,E,f);if(R.push(P),T&&R.push(T),Array.prototype.splice.apply(t,R),1!=L&&r.matchGrammar(e,t,n,y,k,!0,c),o)break}else if(o)break}}}}},tokenize:function(e,t,n){var i=[e],a=t.rest;if(a){for(var o in a)t[o]=a[o];delete t.rest}return r.matchGrammar(e,i,t,0,0,!1),i},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var i,a=0;i=n[a++];)i(t)}}},i=r.Token=function(e,t,n,r,i){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length,this.greedy=!!i};if(i.stringify=function(e,t,n){if("string"==typeof e)return e;if("Array"===r.util.type(e))return e.map(function(n){return i.stringify(n,t,e)}).join("");var a={type:e.type,content:i.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n};if(e.alias){var o="Array"===r.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(a.classes,o)}r.hooks.run("wrap",a);var s=Object.keys(a.attributes).map(function(e){return e+'="'+(a.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+(s?" "+s:"")+">"+a.content+""},!t.document)return t.addEventListener?(r.disableWorkerMessageHandler||t.addEventListener("message",function(e){var n=JSON.parse(e.data),i=n.language,a=n.code,o=n.immediateClose;t.postMessage(r.highlight(a,r.languages[i],i)),o&&t.close()},!1),t.Prism):t.Prism;var a=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return a&&(r.filename=a.src,r.manual||a.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(r.highlightAll):window.setTimeout(r.highlightAll,16):document.addEventListener("DOMContentLoaded",r.highlightAll))),t.Prism}();e.exports&&(e.exports=n),void 0!==j&&(j.Prism=n),n.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype://i,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\\])["']/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),n.languages.xml=n.languages.markup,n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(?:;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^{}\s][^{};]*?(?=\s*\{)/,string:{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/\B!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},n.languages.css.atrule.inside.rest=n.languages.css,n.languages.markup&&(n.languages.insertBefore("markup","tag",{style:{pattern:/()[\s\S]*?(?=<\/style>)/i,lookbehind:!0,inside:n.languages.css,alias:"language-css",greedy:!0}}),n.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:n.languages.css}},alias:"language-css"}},n.languages.markup.tag)),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/[a-z0-9_]+(?=\()/i,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{keyword:/\b(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b(?:0[xX][\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+|NaN|Infinity)\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][+-]?\d+)?/,function:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*\()/i,operator:/-[-=]?|\+[+=]?|!=?=?|<>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[[^\]\r\n]+]|\\.|[^\/\\\[\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=\s*(?:function\b|(?:\([^()]*\)|[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/i,alias:"function"},constant:/\b[A-Z][A-Z\d_]*\b/}),n.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${[^}]+}|[^\\`])*`/,greedy:!0,inside:{interpolation:{pattern:/\${[^}]+}/,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}}}),n.languages.javascript["template-string"].inside.interpolation.inside.rest=n.languages.javascript,n.languages.markup&&n.languages.insertBefore("markup","tag",{script:{pattern:/()[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:n.languages.javascript,alias:"language-javascript",greedy:!0}}),n.languages.js=n.languages.javascript,"undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(){var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"};Array.prototype.slice.call(document.querySelectorAll("pre[data-src]")).forEach(function(t){for(var r,i=t.getAttribute("data-src"),a=t,o=/\blang(?:uage)?-([\w-]+)\b/i;a&&!o.test(a.className);)a=a.parentNode;if(a&&(r=(t.className.match(o)||[,""])[1]),!r){var s=(i.match(/\.(\w+)$/)||[,""])[1];r=e[s]||s}var l=document.createElement("code");l.className="language-"+r,t.textContent="",l.textContent="Loading…",t.appendChild(l);var c=new XMLHttpRequest;c.open("GET",i,!0),c.onreadystatechange=function(){4==c.readyState&&(c.status<400&&c.responseText?(l.textContent=c.responseText,n.highlightElement(l)):c.status>=400?l.textContent="✖ Error "+c.status+" while fetching file: "+c.statusText:l.textContent="✖ Error: File does not exist or is empty")},c.send(null)}),n.plugins.toolbar&&n.plugins.toolbar.registerButton("download-file",function(e){var t=e.element.parentNode;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-src")&&t.hasAttribute("data-download-link")){var n=t.getAttribute("data-src"),r=document.createElement("a");return r.textContent=t.getAttribute("data-download-link-label")||"Download",r.setAttribute("download",""),r.href=n,r}})},document.addEventListener("DOMContentLoaded",self.Prism.fileHighlight))});function q(e,t){var n=[],r={};return e.forEach(function(e){var i=e.level||1,a=i-1;i>t||(r[a]?r[a].children=(r[a].children||[]).concat(e):n.push(e),r[i]=e)}),n}var H={},I=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,.\/:;<=>?@[\]^`{|}~]/g;function B(e){return e.toLowerCase()}function U(e){if("string"!=typeof e)return"";var t=e.trim().replace(/[A-Z]+/g,B).replace(/<[^>\d]+>/g,"").replace(I,"").replace(/\s/g,"-").replace(/-+/g,"-").replace(/^(\d)/,"_$1"),r=H[t];return r=n.call(H,t)?r+1:0,H[t]=r,r&&(t=t+"-"+r),t}function D(e,t){return''+t+''}U.clear=function(){H={}};var Z=decodeURIComponent,Y=encodeURIComponent;function W(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var n=e.replace(/\+/g," ").split("=");t[n[0]]=n[1]&&Z(n[1])}),t):t}function G(e,t){void 0===t&&(t=[]);var n=[];for(var r in e)t.indexOf(r)>-1||n.push(e[r]?(Y(r)+"="+Y(e[r])).toLowerCase():Y(r));return n.length?"?"+n.join("&"):""}var X=e(function(e){return/(:|(\/{2}))/g.test(e)}),Q=e(function(e){return/\/$/g.test(e)?e:(e=e.match(/(\S*\/)[^\/]+$/))?e[1]:""}),V=e(function(e){return e.replace(/^\/+/,"/").replace(/([^:])\/{2,}/g,"$1/")}),J=e(function(e){for(var t=e.replace(/^\//,"").split("/"),n=[],r=0,i=t.length;r=r.length))for(var o=0;o-1){++n;var p,d=u.substring(0,h),g=new Prism.Token(t,Prism.tokenize(c,e.grammar,t),"language-"+t,c),f=u.substring(h+("___"+t.toUpperCase()+l+"___").length);if(d||f?(p=[d,g,f].filter(function(e){return!!e}),i(p)):p=g,"string"==typeof s?Array.prototype.splice.apply(a,[o,1].concat(p)):s.content=p,n>=r.length)break}}else s.content&&"string"!=typeof s.content&&i(s.content)}};i(e.tokens)}}}});var te={};function ne(e){void 0===e&&(e="");var t={};return e&&(e=e.replace(/^'/,"").replace(/'$/,"").replace(/(?:^|\s):([\w-]+)=?([\w-]+)?/g,function(e,n,r){return t[n]=r&&r.replace(/"/g,"")||!0,""}).trim()),{str:e,config:t}}var re={markdown:function(e){return{url:e}},mermaid:function(e){return{url:e}},iframe:function(e,t){return{html:'"}},video:function(e,t){return{html:'"}},audio:function(e,t){return{html:'"}},code:function(e,t){var n=e.match(/\.(\w+)$/);return"md"===(n=t||n&&n[1])&&(n="markdown"),{url:e,lang:n}}},ie=function(t,n){var a=this;this.config=t,this.router=n,this.cacheTree={},this.toc=[],this.cacheTOC={},this.linkTarget=t.externalLinkTarget||"_blank",this.contentBase=n.getBasePath();var s,c=this._initRenderer(),u=t.markdown||{};o(u)?s=u(z,c):(z.setOptions(r(u,{renderer:r(c,u.renderer)})),s=z),this._marked=s,this.compile=function(n){var r=!0,o=e(function(e){r=!1;var a="";return n?(a=i(n)?s(n):s.parser(n),a=t.noEmoji?a:function(e){return e.replace(/<(pre|template|code)[^>]*?>[\s\S]+?<\/(pre|template|code)>/g,function(e){return e.replace(/:/g,"__colon__")}).replace(/:(\w+?):/gi,l&&window.emojify||D).replace(/__colon__/g,":")}(a),U.clear(),a):n})(n),c=a.router.parse().file;return r?a.toc=a.cacheTOC[c]:a.cacheTOC[c]=[].concat(a.toc),o}};ie.prototype.compileEmbed=function(e,t){var n,r=ne(t),i=r.str,a=r.config;if(t=i,a.include){var o;if(X(e)||(e=K(this.contentBase,Q(this.router.getCurrentPath()),e)),a.type&&(o=re[a.type]))(n=o.call(this,e,t)).type=a.type;else{var s="code";/\.(md|markdown)/.test(e)?s="markdown":/\.mmd/.test(e)?s="mermaid":/\.html?/.test(e)?s="iframe":/\.(mp4|ogg)/.test(e)?s="video":/\.mp3/.test(e)&&(s="audio"),(n=re[s].call(this,e,t)).type=s}return n.fragment=a.fragment,n}},ie.prototype._matchNotCompileLink=function(e){for(var t=this.config.noCompileLinks||[],n=0;n
    '+a+""},a.code=e.code=function(e,t){return void 0===t&&(t=""),e=e.replace(/@DOCSIFY_QM@/g,"`"),'
    '+M.highlight(e,M.languages[t]||M.languages.markup)+"
    "},a.link=e.link=function(e,r,a){void 0===r&&(r="");var o="",s=ne(r),l=s.str,c=s.config;return r=l,X(e)||i._matchNotCompileLink(e)||c.ignore?o+=0===e.indexOf("mailto:")?"":' target="'+t+'"':(e===i.config.homepage&&(e="README"),e=n.toURL(e,null,n.getCurrentPath())),c.target&&(o+=" target="+c.target),c.disabled&&(o+=" disabled",e="javascript:void(0)"),r&&(o+=' title="'+r+'"'),'"+a+""},a.paragraph=e.paragraph=function(e){return/^!>/.test(e)?L("tip",e):/^\?>/.test(e)?L("warn",e):"

    "+e+"

    "},a.image=e.image=function(e,t,i){var a=e,o="",s=ne(t),l=s.str,c=s.config;t=l,c["no-zoom"]&&(o+=" data-no-zoom"),t&&(o+=' title="'+t+'"');var u=c.size;if(u){var h=u.split("x");h[1]?o+="width="+h[0]+" height="+h[1]:o+="width="+h[0]}return X(e)||(a=K(r,Q(n.getCurrentPath()),e)),''+i+'"},a.list=e.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+" "+[/
  • /.test(e.split('class="task-list"')[0])?'class="task-list"':"",n&&n>1?'start="'+n+'"':""].join(" ").trim()+">"+e+""},a.listitem=e.listitem=function(e){return/^(]*>)/.test(e)?'
  • ":"
  • "+e+"
  • "},e.origin=a,e},ie.prototype.sidebar=function(e,t){var n=this.toc,r=this.router.getCurrentPath();if(e)this.compile(e);else{for(var i=0;i{inner}"),this.cacheTree[r]=s}return""},ie.prototype.subSidebar=function(e){if(e){var t=this.router.getCurrentPath(),n=this.cacheTree,r=this.toc;r[0]&&r[0].ignoreAllSubs&&r.splice(0),r[0]&&1===r[0].level&&r.shift();for(var i=0;i=t||e.classList.contains("hidden")?_(g,"add","sticky"):_(g,"remove","sticky")}}function se(e,t,n,r){var i=[];null!=(t=p(t))&&(i=v(t,"a"));var a,o=decodeURI(e.toURL(e.getCurrentPath()));return i.sort(function(e,t){return t.href.length-e.href.length}).forEach(function(e){var t=e.getAttribute("href"),r=n?e.parentNode:e;0!==o.indexOf(t)||a?_(r,"remove","active"):(a=e,_(r,"add","active"))}),r&&(d.title=a?a.title||a.innerText+" - "+ae:ae),a}var le=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.duration=t.duration||1e3,this.ease=t.easing||this._defaultEase,this.start=t.start,this.end=t.end,this.frame=null,this.next=null,this.isRunning=!1,this.events={},this.direction=this.startthis.end&&e>=this.next}[this.direction]}},{key:"_defaultEase",value:function(e,t,n,r){return(e/=r/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}}]),e}(),ue={},he=!1,pe=null,de=!0,ge=0;function fe(e){if(de){for(var t,n=p(".sidebar"),r=v(".anchor"),i=m(n,".sidebar-nav"),a=m(n,"li.active"),o=document.documentElement,s=(o&&o.scrollTop||document.body.scrollTop)-ge,l=0,c=r.length;ls){t||(t=u);break}t=u}if(t){var h=ue[me(decodeURIComponent(e),t.getAttribute("data-id"))];if(h&&h!==a&&(a&&a.classList.remove("active"),h.classList.add("active"),a=h,!he&&g.classList.contains("sticky"))){var d=n.clientHeight,f=a.offsetTop+a.clientHeight+40,b=f-0=i.scrollTop&&f<=i.scrollTop+d?i.scrollTop:b?0:f-d;n.scrollTop=y}}}}function me(e,t){return e+"?id="+t}function ve(e,t){if(t){var n,r=m("#"+t);r&&(n=r,pe&&pe.stop(),de=!1,pe=new ce({start:window.pageYOffset,end:n.getBoundingClientRect().top+window.pageYOffset,duration:500}).on("tick",function(e){return window.scrollTo(0,e)}).on("done",function(){de=!0,pe=null}).begin());var i=ue[me(e,t)],a=m(p(".sidebar"),"li.active");a&&a.classList.remove("active"),i&&i.classList.add("active")}}var be=d.scrollingElement||d.documentElement;var ye={};function ke(e,t){var n=e.compiler,i=e.raw;void 0===i&&(i="");var a=e.fetch,o=ye[i];if(o){var s=o.slice();return s.links=o.links,t(s)}var l=n._marked,c=l.lexer(i),u=[],h=l.InlineLexer.rules.link,p=c.links;c.forEach(function(e,t){"paragraph"===e.type&&(e.text=e.text.replace(new RegExp(h.source,"g"),function(e,r,i,a){var o=n.compileEmbed(i,a);return o&&u.push({index:t,embed:o}),e}))});var d=0;!function(e,t){var n,r=e.embedTokens,i=e.compile,a=(e.fetch,0),o=1;if(!r.length)return t({});for(;n=r[a++];){var s=function(e){return function(n){var r;if(n)if("markdown"===e.embed.type)r=i.lexer(n);else if("code"===e.embed.type){if(e.embed.fragment){var s=e.embed.fragment,l=new RegExp("(?:###|\\/\\/\\/)\\s*\\["+s+"\\]([\\s\\S]*)(?:###|\\/\\/\\/)\\s*\\["+s+"\\]");n=((n.match(l)||[])[1]||"").trim()}r=i.lexer("```"+e.embed.lang+"\n"+n.replace(/`/g,"@DOCSIFY_QM@")+"\n```\n")}else"mermaid"===e.embed.type?(r=[{type:"html",text:'
    \n'+n+"\n
    "}]).links={}:(r=[{type:"html",text:n}]).links={};t({token:e,embedToken:r}),++o>=a&&t({})}}(n);n.embed.url?R(n.embed.url).then(s):s(n.embed.html)}}({compile:l,embedTokens:u,fetch:a},function(e){var n=e.embedToken,a=e.token;if(a){var o=a.index+d;r(p,n.links),c=c.slice(0,o).concat(n,c.slice(o+1)),d+=n.length-1}else ye[i]=c.concat(),c.links=ye[i].links=p,t(c)})}function xe(){var e=v(".markdown-section>script").filter(function(e){return!/template/.test(e.type)})[0];if(!e)return!1;var t=e.innerText.trim();if(!t)return!1;setTimeout(function(e){window.__EXECUTE_RESULT__=new Function(t)()},0)}function we(e,t,n){var r,i,a;return t="function"==typeof n?n(t):"string"==typeof n?(i=[],a=0,(r=n).replace(O,function(e,t,n){i.push(r.substring(a,n-1)),a=n+=e.length+1,i.push(function(t){return("00"+("string"==typeof F[e]?t[F[e]]():F[e](t))).slice(-e.length)})}),a!==r.length&&i.push(r.substring(a)),function(e){for(var t="",n=0,r=e||new Date;n'):""),t.coverpage&&(u+=(n=", 100%, 85%",'
    \x3c!--cover--\x3e
    ')),t.logo){var p=/^data:image/.test(t.logo),y=/(?:http[s]?:)?\/\//.test(t.logo),x=/^\./.test(t.logo);p||y||x||(t.logo=K(e.router.getBasePath(),t.logo))}u+=function(e){return e.name&&(e.logo?(e.name,e.logo):e.name),'
    \x3c!--main--\x3e
    '}(t),e._renderTo(s,u,!0)}else e.rendered=!0;t.mergeNavbar&&c?h=m(".sidebar"):(o.classList.add("app-nav"),t.repo||o.classList.add("no-badge")),t.loadNavbar&&k(h,o),t.themeColor&&(d.head.appendChild(b("div",(i=t.themeColor,"")).firstElementChild),function(e){if(!(window.CSS&&window.CSS.supports&&window.CSS.supports("(--v:red)"))){var t=v("style:not(.inserted),link");[].forEach.call(t,function(t){if("STYLE"===t.nodeName)P(t,e);else if("LINK"===t.nodeName){var n=t.getAttribute("href");if(!/\.css$/.test(n))return;R(n).then(function(t){var n=b("style",t);f.appendChild(n),P(n,e)})}})}}(t.themeColor)),e._updateRender(),_(g,"ready")}var Ae={};var Ce=function(e){this.config=e};function Ee(e){var t=location.href.indexOf("#");location.replace(location.href.slice(0,t>=0?t:0)+"#"+e)}Ce.prototype.getBasePath=function(){return this.config.basePath},Ce.prototype.getFile=function(e,t){void 0===e&&(e=this.getCurrentPath());var n=this.config,r=this.getBasePath(),i="string"==typeof n.ext?n.ext:".md";return e=(e=function(e,t){return new RegExp("\\.("+t.replace(/^\./,"")+"|html)$","g").test(e)?e:/\/$/g.test(e)?e+"README"+t:""+e+t}(e=n.alias?function e(t,n,r){var i=Object.keys(n).filter(function(e){return(Ae[e]||(Ae[e]=new RegExp("^"+e+"$"))).test(t)&&t!==r})[0];return i?e(t.replace(Ae[i],n[i]),n,t):t}(e,n.alias):e,i))==="/README"+i&&n.homepage||e,e=X(e)?e:K(r,e),t&&(e=e.replace(new RegExp("^"+r),"")),e},Ce.prototype.onchange=function(e){void 0===e&&(e=a),e()},Ce.prototype.getCurrentPath=function(){},Ce.prototype.normalize=function(){},Ce.prototype.parse=function(){},Ce.prototype.toURL=function(e,t,n){var i=n&&"#"===e[0],a=this.parse(ee(e));if(a.query=r({},a.query,t),e=(e=a.path+G(a.query)).replace(/\.md(\?)|\.md$/,"$1"),i){var o=n.indexOf("?");e=(o>0?n.substring(0,o):n)+e}if(this.config.relativePath&&0!==e.indexOf("/")){var s=n.substring(0,n.lastIndexOf("/")+1);return V(J(s+e))}return V("/"+e)};var Le=function(e){function t(t){e.call(this,t),this.mode="hash"}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.getBasePath=function(){var e=window.location.pathname||"",t=this.config.basePath;return/^(\/|https?:)/g.test(t)?t:V(e+"/"+t)},t.prototype.getCurrentPath=function(){var e=location.href,t=e.indexOf("#");return-1===t?"":e.slice(t+1)},t.prototype.onchange=function(e){void 0===e&&(e=a),x("hashchange",e)},t.prototype.normalize=function(){var e=this.getCurrentPath();if("/"===(e=ee(e)).charAt(0))return Ee(e);Ee("/"+e)},t.prototype.parse=function(e){void 0===e&&(e=location.href);var t="",n=e.indexOf("#");n>=0&&(e=e.slice(n+1));var r=e.indexOf("?");return r>=0&&(t=e.slice(r+1),e=e.slice(0,r)),{path:e,file:this.getFile(e,!0),query:W(t)}},t.prototype.toURL=function(t,n,r){return"#"+e.prototype.toURL.call(this,t,n,r)},t}(Ce),$e=function(e){function t(t){e.call(this,t),this.mode="history"}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.getCurrentPath=function(){var e=this.getBasePath(),t=window.location.pathname;return e&&0===t.indexOf(e)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash},t.prototype.onchange=function(e){void 0===e&&(e=a),x("click",function(t){var n="A"===t.target.tagName?t.target:t.target.parentNode;if("A"===n.tagName&&!/_blank/.test(n.target)){t.preventDefault();var r=n.href;window.history.pushState({key:r},"",r),e()}}),x("popstate",e)},t.prototype.parse=function(e){void 0===e&&(e=location.href);var t="",n=e.indexOf("?");n>=0&&(t=e.slice(n+1),e=e.slice(0,n));var r=K(location.origin),i=e.indexOf(r);return i>-1&&(e=e.slice(i+r.length)),{path:e,file:this.getFile(e),query:W(t)}},t}(Ce);var Te={};function Re(e){e.router.normalize(),e.route=e.router.parse(),g.setAttribute("data-page",e.route.file)}function Pe(e){var t,n;t="button.sidebar-toggle",e.router,n=function(e){return g.classList.toggle("close")},null!=(t=p(t))&&(x(t,"click",function(e){e.stopPropagation(),n()}),c&&x(g,"click",function(e){return g.classList.contains("close")&&n()})),function(e){null!=(e=p(e))&&x(e,"click",function(e){var t=e.target;"A"===t.nodeName&&t.nextSibling&&t.nextSibling.classList.contains("app-sub-sidebar")&&_(t.parentNode,"collapse")})}(".sidebar",e.router),e.config.coverpage?!c&&x("scroll",oe):g.classList.add("sticky")}function Oe(e,t,n,r,i,a){e=a?e:e.replace(/\/$/,""),(e=Q(e))&&R(i.router.getFile(e+n)+t,!1,i.config.requestHeaders).then(r,function(a){return Oe(e,t,n,r,i)})}var Fe=Object.freeze({cached:e,hyphenate:t,hasOwn:n,merge:r,isPrimitive:i,noop:a,isFn:o,inBrowser:l,isMobile:c,supportsPushState:u,parseQuery:W,stringifyQuery:G,isAbsolutePath:X,getParentPath:Q,cleanPath:V,resolvePath:J,getPath:K,replaceSlug:ee});function je(){this._init()}var Ne=je.prototype;!function(e){e._init=function(){var e=this;e.config=function(){var e=r({el:"#app",repo:"",maxLevel:6,subMaxLevel:0,loadSidebar:null,loadNavbar:null,homepage:"README.md",coverpage:"",basePath:"",auto2top:!1,name:"",themeColor:"",nameLink:window.location.pathname,autoHeader:!1,executeScript:null,noEmoji:!1,ga:"",ext:".md",mergeNavbar:!1,formatUpdated:"",externalLinkTarget:"_blank",routerMode:"hash",noCompileLinks:[],relativePath:!1},window.$docsify),a=document.currentScript||[].slice.call(document.getElementsByTagName("script")).filter(function(e){return/docsify\./.test(e.src)})[0];if(a){for(var o in e)if(n.call(e,o)){var s=a.getAttribute("data-"+t(o));i(s)&&(e[o]=""===s||s)}!0===e.loadSidebar&&(e.loadSidebar="_sidebar"+e.ext),!0===e.loadNavbar&&(e.loadNavbar="_navbar"+e.ext),!0===e.coverpage&&(e.coverpage="_coverpage"+e.ext),!0===e.repo&&(e.repo=""),!0===e.name&&(e.name="")}return window.$docsify=e,e}(),function(e){e._hooks={},e._lifecycle={},["init","mounted","beforeEach","afterEach","doneEach","ready"].forEach(function(t){var n=e._hooks[t]=[];e._lifecycle[t]=function(e){return n.push(e)}})}(e),function(e){[].concat(e.config.plugins).forEach(function(t){return o(t)&&t(e._lifecycle,e)})}(e),s(e,"init"),function(e){var t,n=e.config;t="history"===(n.routerMode||"hash")&&u?new $e(n):new Le(n),e.router=t,Re(e),Te=e.route,t.onchange(function(t){Re(e),e._updateRender(),Te.path!==e.route.path?(e.$fetch(),Te=e.route):e.$resetEvents()})}(e),Se(e),Pe(e),function(e){var t=e.config.loadSidebar;if(e.rendered){var n=se(e.router,".sidebar-nav",!0,!0);t&&n&&(n.parentNode.innerHTML+=window.__SUB_SIDEBAR__),e._bindEventOnRendered(n),e.$resetEvents(),s(e,"doneEach"),s(e,"ready")}else e.$fetch(function(t){return s(e,"ready")})}(e),s(e,"mounted")}}(Ne),function(e){e.route={}}(Ne),function(e){e._renderTo=function(e,t,n){var r=p(e);r&&(r[n?"outerHTML":"innerHTML"]=t)},e._renderSidebar=function(e){var t=this.config,n=t.maxLevel,r=t.subMaxLevel,i=t.loadSidebar;this._renderTo(".sidebar-nav",this.compiler.sidebar(e,n));var a=se(this.router,".sidebar-nav",!0,!0);i&&a?a.parentNode.innerHTML+=this.compiler.subSidebar(r)||"":this.compiler.subSidebar(),this._bindEventOnRendered(a)},e._bindEventOnRendered=function(e){var t,n=this.config,r=n.autoHeader,i=n.auto2top;if(function(e){var t=m(".cover.show");ge=t?t.offsetHeight:0;var n=p(".sidebar"),r=[];null!=n&&(r=v(n,"li"));for(var i=0,a=r.length;i-1})[0];t.setAttribute("href",n[a])}}(this)}}(Ne),function(e){var t,n=function(e,n,r){return t&&t.abort&&t.abort(),t=R(e,!0,r)};e._loadSideAndNav=function(e,t,n,r){var i=this;return function(){if(!n)return r();Oe(e,t,n,function(e){i._renderSidebar(e),r()},i,!0)}},e._fetch=function(e){var t=this;void 0===e&&(e=a);var r=this.route,i=r.path,o=G(r.query,["id"]),s=this.config,l=s.loadNavbar,c=s.requestHeaders,u=s.loadSidebar,h=this.router.getFile(i),p=n(h+o,0,c);this.isHTML=/\.html$/g.test(h),p.then(function(n,r){return t._renderMain(n,r,t._loadSideAndNav(i,o,u,e))},function(n){t._fetchFallbackPage(h,o,e)||t._fetch404(h,o,e)}),l&&Oe(i,o,l,function(e){return t._renderNav(e)},this,!0)},e._fetchCover=function(){var e=this,t=this.config,n=t.coverpage,r=t.requestHeaders,i=this.route.query,a=Q(this.route.path);if(n){var o=null,s=this.route.path;if("string"==typeof n)"/"===s&&(o=n);else if(Array.isArray(n))o=n.indexOf(s)>-1&&"_coverpage";else{var l=n[s];o=!0===l?"_coverpage":l}var c=Boolean(o)&&this.config.onlyCover;return o?(o=this.router.getFile(a+o),this.coverIsHTML=/\.html$/g.test(o),R(o+G(i,["id"]),!1,r).then(function(t){return e._renderCover(t,c)})):this._renderCover(null,c),c}},e.$fetch=function(e){var t=this;void 0===e&&(e=a);var n=function(){s(t,"doneEach"),e()};this._fetchCover()?n():this._fetch(function(){t.$resetEvents(),n()})},e._fetchFallbackPage=function(e,t,r){var i=this;void 0===r&&(r=a);var o=this.config,s=o.requestHeaders,l=o.fallbackLanguages,c=o.loadSidebar;if(!l)return!1;var u=e.split("/")[1];if(-1===l.indexOf(u))return!1;var h=e.replace(new RegExp("^/"+u),"");return n(h+t,0,s).then(function(n,a){return i._renderMain(n,a,i._loadSideAndNav(e,t,c,r))},function(){return i._fetch404(e,t,r)}),!0},e._fetch404=function(e,t,r){var i=this;void 0===r&&(r=a);var o=this.config,s=o.loadSidebar,l=o.requestHeaders,c=o.notFoundPage,u=this._loadSideAndNav(e,t,s,r);if(c){var h=function(e,t){var n,r,i=t.notFoundPage,a="_404"+(t.ext||".md");switch(typeof i){case"boolean":r=a;break;case"string":r=i;break;case"object":r=(n=Object.keys(i).sort(function(e,t){return t.length-e.length}).find(function(t){return e.match(new RegExp("^"+t))}))&&i[n]||a}return r}(e,this.config);return n(this.router.getFile(h),0,l).then(function(e,t){return i._renderMain(e,t,u)},function(){return i._renderMain(null,{},u)}),!0}return this._renderMain(null,{},u),!1}}(Ne),function(e){e.$resetEvents=function(){ve(this.route.path,this.route.query.id),this.config.loadNavbar&&se(this.router,"nav")}}(Ne),window.Docsify={util:Fe,dom:C,get:R,slugify:U,version:"4.9.4"},window.DocsifyCompiler=ie,window.marked=z,window.Prism=M,function(e){var t=document.readyState;if("complete"===t||"interactive"===t)return setTimeout(e,0);document.addEventListener("DOMContentLoaded",e)}(function(e){return new je})}(); \ No newline at end of file +!function(){function e(e){var t=Object.create(null);return function(n){var r=i(n)?n:JSON.stringify(n);return t[r]||(t[r]=e(n))}}var t=e(function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}),n=Object.prototype.hasOwnProperty,r=Object.assign||function(e){for(var t=arguments,r=1;r=i.length)r(n);else if("function"==typeof t)if(2===t.length)t(n,function(t){n=t,o(e+1)});else{var a=t(n);n=void 0===a?n:a,o(e+1)}else o(e+1)};o(0)}var l=!0,c=l&&document.body.clientWidth<=600,u=l&&window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/),h={};function p(e,t){if(void 0===t&&(t=!1),"string"==typeof e){if(void 0!==window.Vue)return m(e);e=t?m(e):h[e]||(h[e]=m(e))}return e}var g=l&&document,d=l&&g.body,f=l&&g.head;function m(e,t){if(null!=e)return t?e.querySelector(t):g.querySelector(e)}function v(e,t){return[].slice.call(t?e.querySelectorAll(t):g.querySelectorAll(e))}function b(e,t){return e=g.createElement(e),t&&(e.innerHTML=t),e}function y(e,t){return e.appendChild(t)}function k(e,t){if(null!=e)return e.insertBefore(t,e.children[0])}function x(e,t,n){null!=e&&(o(t)?window.addEventListener(e,t):e.addEventListener(t,n))}function w(e,t,n){o(t)?window.removeEventListener(e,t):e.removeEventListener(t,n)}function _(e,t,n){e&&e.classList[n?t:"toggle"](n||t)}var S,A,C=Object.freeze({getNode:p,$:g,body:d,head:f,find:m,findAll:v,create:b,appendTo:y,before:k,on:x,off:w,toggleClass:_,style:function(e){y(f,b("style",e))}});function E(e,t){if(void 0===t&&(t='
      {inner}
    '),!e||!e.length)return"";var n="";return e.forEach(function(e){n+='
  • '+e.title+"
  • ",e.children&&(n+=E(e.children,t))}),t.replace("{inner}",n)}function $(e,t){return'

    '+t.slice(5).trim()+"

    "}function L(e){var t,n=e.loaded,r=e.total,i=e.step;!S&&(barE2=document.getElementById("progressbar")),t=i?(t=parseInt(S.style.width||0,10)+i)>80?80:t:Math.floor(n/r*100),ProgressBar.percentage=t>=95?"100":t,t>=95&&(clearTimeout(A),A=setTimeout(function(e){ProgressBar.percentage=0,barE2.style.display="none",isSupportWebp()},200))}var T={};function R(e,t,r){void 0===t&&(t=!1),void 0===r&&(r={});var i=new XMLHttpRequest,o=function(){i.addEventListener.apply(i,arguments)},s=T[e];if(s)return{then:function(e){return e(s.content,s.opt)},abort:a};for(var l in i.open("GET",e),r)n.call(r,l)&&i.setRequestHeader(l,r[l]);return i.send(),{then:function(n,r){if(void 0===r&&(r=a),t){var s=setInterval(function(e){return L({step:Math.floor(5*Math.random()+1)})},500);o("progress",L),o("loadend",function(e){L(e),clearInterval(s)})}o("error",r),o("load",function(t){var a=t.target;if(a.status>=400)r(a);else{var o=T[e]={content:a.response,opt:{updatedAt:i.getResponseHeader("last-modified")}};n(o.content,o.opt)}})},abort:function(e){return 4!==i.readyState&&i.abort()}}}function P(e,t){e.innerHTML=e.innerHTML.replace(/var\(\s*--theme-color.*?\)/g,t)}var O=/([^{]*?)\w(?=\})/g,F={YYYY:"getFullYear",YY:"getYear",MM:function(e){return e.getMonth()+1},DD:"getDate",HH:"getHours",mm:"getMinutes",ss:"getSeconds"};var j="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function N(e,t){return e(t={exports:{}},t.exports),t.exports}var z=N(function(e,t){!function(t){var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:f,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:f,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$)|(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:f,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};function r(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||y.defaults,this.rules=n.normal,this.options.pedantic?this.rules=n.pedantic:this.options.gfm&&(this.options.tables?this.rules=n.tables:this.rules=n.gfm)}n._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,n.def=h(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d+\.)/,n.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,n.item=h(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=h(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",n._comment=//,n.html=h(n.html,"i").replace("comment",n._comment).replace("tag",n._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n.paragraph=h(n.paragraph).replace("hr",n.hr).replace("heading",n.heading).replace("lheading",n.lheading).replace("tag",n._tag).getRegex(),n.blockquote=h(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=m({},n),n.gfm=m({},n.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),n.gfm.paragraph=h(n.paragraph).replace("(?!","(?!"+n.gfm.fences.source.replace("\\1","\\2")+"|"+n.list.source.replace("\\1","\\3")+"|").getRegex(),n.tables=m({},n.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),n.pedantic=m({},n.normal,{html:h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",n._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),r.rules=n,r.lex=function(e,t){return new r(t).lex(e)},r.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},r.prototype.token=function(e,t){var r,i,a,o,s,l,c,u,h,p,g,d,f,m,y,k;for(e=e.replace(/^ +$/gm,"");e;)if((a=this.rules.newline.exec(e))&&(e=e.substring(a[0].length),a[0].length>1&&this.tokens.push({type:"space"})),a=this.rules.code.exec(e))e=e.substring(a[0].length),a=a[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?a:b(a,"\n")});else if(a=this.rules.fences.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"code",lang:a[2],text:a[3]||""});else if(a=this.rules.heading.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"heading",depth:a[1].length,text:a[2]});else if(t&&(a=this.rules.nptable.exec(e))&&(l={type:"table",header:v(a[1].replace(/^ *| *\| *$/g,"")),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3]?a[3].replace(/\n$/,"").split("\n"):[]}).header.length===l.align.length){for(e=e.substring(a[0].length),g=0;g ?/gm,""),this.token(a,t),this.tokens.push({type:"blockquote_end"});else if(a=this.rules.list.exec(e)){for(e=e.substring(a[0].length),c={type:"list_start",ordered:m=(o=a[2]).length>1,start:m?+o:"",loose:!1},this.tokens.push(c),u=[],r=!1,f=(a=a[0].match(this.rules.item)).length,g=0;g1&&s.length>1||(e=a.slice(g+1).join("\n")+e,g=f-1)),i=r||/\n\n(?!\s*$)/.test(l),g!==f-1&&(r="\n"===l.charAt(l.length-1),i||(i=r)),i&&(c.loose=!0),k=void 0,(y=/^\[[ xX]\] /.test(l))&&(k=" "!==l[1],l=l.replace(/^\[[ xX]\] +/,"")),h={type:"list_item_start",task:y,checked:k,loose:i},u.push(h),this.tokens.push(h),this.token(l,!1),this.tokens.push({type:"list_item_end"});if(c.loose)for(f=u.length,g=0;g?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:f,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s])__(?!_)|^\*\*([^\s])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_)|^_([^\s_][\s\S]*?[^\s])_(?!_)|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:f,text:/^(`+|[^`])[\s\S]*?(?=[\\?@\[\]\\^_`{|}~])/g,i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=h(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,i.tag=h(i.tag).replace("comment",n._comment).replace("attribute",i._attribute).getRegex(),i._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|[^\[\]\\])*?/,i._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|(?:\\[()]?|\([^\s\x00-\x1f\\]*\)|[^\s\x00-\x1f()\\])*?)/,i._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,i.link=h(i.link).replace("label",i._label).replace("href",i._href).replace("title",i._title).getRegex(),i.reflink=h(i.reflink).replace("label",i._label).getRegex(),i.normal=m({},i),i.pedantic=m({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:h(/^!?\[(label)\]\((.*?)\)/).replace("label",i._label).getRegex(),reflink:h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i._label).getRegex()}),i.gfm=m({},i.normal,{escape:h(i.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:h(i.text).replace("]|","~]|").replace("|$","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|$").getRegex()}),i.gfm.url=h(i.gfm.url).replace("email",i.gfm._extended_email).getRegex(),i.breaks=m({},i.gfm,{br:h(i.br).replace("{2,}","*").getRegex(),text:h(i.gfm.text).replace("{2,}","*").getRegex()}),a.rules=i,a.output=function(e,t,n){return new a(t,n).output(e)},a.prototype.output=function(e){for(var t,n,r,i,o,s,l="";e;)if(o=this.rules.escape.exec(e))e=e.substring(o[0].length),l+=o[1];else if(o=this.rules.autolink.exec(e))e=e.substring(o[0].length),r="@"===o[2]?"mailto:"+(n=c(this.mangle(o[1]))):n=c(o[1]),l+=this.renderer.link(r,null,n);else if(this.inLink||!(o=this.rules.url.exec(e))){if(o=this.rules.tag.exec(e))!this.inLink&&/^/i.test(o[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(o[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(o[0])&&(this.inRawBlock=!1),e=e.substring(o[0].length),l+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):c(o[0]):o[0];else if(o=this.rules.link.exec(e))e=e.substring(o[0].length),this.inLink=!0,r=o[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r))?(r=t[1],i=t[3]):i="":i=o[3]?o[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),l+=this.outputLink(o,{href:a.escapes(r),title:a.escapes(i)}),this.inLink=!1;else if((o=this.rules.reflink.exec(e))||(o=this.rules.nolink.exec(e))){if(e=e.substring(o[0].length),t=(o[2]||o[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){l+=o[0].charAt(0),e=o[0].substring(1)+e;continue}this.inLink=!0,l+=this.outputLink(o,t),this.inLink=!1}else if(o=this.rules.strong.exec(e))e=e.substring(o[0].length),l+=this.renderer.strong(this.output(o[4]||o[3]||o[2]||o[1]));else if(o=this.rules.em.exec(e))e=e.substring(o[0].length),l+=this.renderer.em(this.output(o[6]||o[5]||o[4]||o[3]||o[2]||o[1]));else if(o=this.rules.code.exec(e))e=e.substring(o[0].length),l+=this.renderer.codespan(c(o[2].trim(),!0));else if(o=this.rules.br.exec(e))e=e.substring(o[0].length),l+=this.renderer.br();else if(o=this.rules.del.exec(e))e=e.substring(o[0].length),l+=this.renderer.del(this.output(o[1]));else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.inRawBlock?l+=this.renderer.text(o[0]):l+=this.renderer.text(c(this.smartypants(o[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===o[2])r="mailto:"+(n=c(o[0]));else{do{s=o[0],o[0]=this.rules._backpedal.exec(o[0])[0]}while(s!==o[0]);n=c(o[0]),r="www."===o[1]?"http://"+n:n}e=e.substring(o[0].length),l+=this.renderer.link(r,null,n)}return l},a.escapes=function(e){return e?e.replace(a.rules._escapes,"$1"):e},a.prototype.outputLink=function(e,t){var n=t.href,r=t.title?c(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,c(e[1]))},a.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},a.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},o.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'
    '+(n?e:c(e,!0))+"
    \n":"
    "+(n?e:c(e,!0))+"
    "},o.prototype.blockquote=function(e){return"
    \n"+e+"
    \n"},o.prototype.html=function(e){return e},o.prototype.heading=function(e,t,n){return this.options.headerIds?"'+e+"\n":""+e+"\n"},o.prototype.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},o.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},o.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},o.prototype.checkbox=function(e){return" "},o.prototype.paragraph=function(e){return"

    "+e+"

    \n"},o.prototype.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},o.prototype.tablerow=function(e){return"\n"+e+"\n"},o.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},o.prototype.strong=function(e){return""+e+""},o.prototype.em=function(e){return""+e+""},o.prototype.codespan=function(e){return""+e+""},o.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},o.prototype.del=function(e){return""+e+""},o.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(u(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!d.test(e)&&(e=p(this.options.baseUrl,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return n}var i='
    "},o.prototype.image=function(e,t,n){this.options.baseUrl&&!d.test(e)&&(e=p(this.options.baseUrl,e));var r=''+n+'":">"},o.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.prototype.br=function(){return""},l.parse=function(e,t){return new l(t).parse(e)},l.prototype.parse=function(e){this.inline=new a(e.links,this.options),this.inlineText=new a(e.links,m({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},l.prototype.next=function(){return this.token=this.tokens.pop()},l.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},l.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},l.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,u(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",a="";for(n="",e=0;e"']/,c.escapeReplace=/[&<>"']/g,c.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},c.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,c.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var g={},d=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function f(){}function m(e){for(var t,n,r=arguments,i=1;i=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(n.length>t)n.splice(t);else for(;n.lengthAn error occurred:

    "+c(e.message+"",!0)+"
    ";throw e}}f.exec=f,y.options=y.setOptions=function(e){return m(y.defaults,e),y},y.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new o,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},y.defaults=y.getDefaults(),y.Parser=l,y.parser=l.parse,y.Renderer=o,y.TextRenderer=s,y.Lexer=r,y.lexer=r.lex,y.InlineLexer=a,y.inlineLexer=a.output,y.parse=y,e.exports=y}(j||"undefined"!=typeof window&&window)}),M=N(function(e){var t="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},n=function(){var e=/\blang(?:uage)?-([\w-]+)\b/i,n=0,r=t.Prism={manual:t.Prism&&t.Prism.manual,disableWorkerMessageHandler:t.Prism&&t.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof i?new i(e.type,r.util.encode(e.content),e.alias):"Array"===r.util.type(e)?e.map(r.util.encode):e.replace(/&/g,"&").replace(/e.length)return;if(!(x instanceof l)){if(f&&y!=t.length-1){if(p.lastIndex=k,!(E=p.exec(e)))break;for(var w=E.index+(d?E[1].length:0),_=E.index+E[0].length,S=y,A=k,C=t.length;S=(A+=t[S].length)&&(++y,k=A);if(t[y]instanceof l)continue;$=S-y,x=e.slice(k,A),E.index-=k}else{p.lastIndex=0;var E=p.exec(x),$=1}if(E){d&&(m=E[1]?E[1].length:0);_=(w=E.index+m)+(E=E[0].slice(m)).length;var L=x.slice(0,w),T=x.slice(_),R=[y,$];L&&(++y,k+=L.length,R.push(L));var P=new l(c,g?r.tokenize(E,g):E,v,E,f);if(R.push(P),T&&R.push(T),Array.prototype.splice.apply(t,R),1!=$&&r.matchGrammar(e,t,n,y,k,!0,c),o)break}else if(o)break}}}}},tokenize:function(e,t,n){var i=[e],a=t.rest;if(a){for(var o in a)t[o]=a[o];delete t.rest}return r.matchGrammar(e,i,t,0,0,!1),i},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var i,a=0;i=n[a++];)i(t)}}},i=r.Token=function(e,t,n,r,i){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length,this.greedy=!!i};if(i.stringify=function(e,t,n){if("string"==typeof e)return e;if("Array"===r.util.type(e))return e.map(function(n){return i.stringify(n,t,e)}).join("");var a={type:e.type,content:i.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n};if(e.alias){var o="Array"===r.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(a.classes,o)}r.hooks.run("wrap",a);var s=Object.keys(a.attributes).map(function(e){return e+'="'+(a.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+a.tag+' class="'+a.classes.join(" ")+'"'+(s?" "+s:"")+">"+a.content+""},!t.document)return t.addEventListener?(r.disableWorkerMessageHandler||t.addEventListener("message",function(e){var n=JSON.parse(e.data),i=n.language,a=n.code,o=n.immediateClose;t.postMessage(r.highlight(a,r.languages[i],i)),o&&t.close()},!1),t.Prism):t.Prism;var a=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return a&&(r.filename=a.src,r.manual||a.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(r.highlightAll):window.setTimeout(r.highlightAll,16):document.addEventListener("DOMContentLoaded",r.highlightAll))),t.Prism}();e.exports&&(e.exports=n),void 0!==j&&(j.Prism=n),n.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype://i,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\\])["']/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),n.languages.xml=n.languages.markup,n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(?:;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^{}\s][^{};]*?(?=\s*\{)/,string:{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/\B!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},n.languages.css.atrule.inside.rest=n.languages.css,n.languages.markup&&(n.languages.insertBefore("markup","tag",{style:{pattern:/()[\s\S]*?(?=<\/style>)/i,lookbehind:!0,inside:n.languages.css,alias:"language-css",greedy:!0}}),n.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:n.languages.css}},alias:"language-css"}},n.languages.markup.tag)),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/[a-z0-9_]+(?=\()/i,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{keyword:/\b(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b(?:0[xX][\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+|NaN|Infinity)\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][+-]?\d+)?/,function:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*\()/i,operator:/-[-=]?|\+[+=]?|!=?=?|<>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[[^\]\r\n]+]|\\.|[^\/\\\[\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=\s*(?:function\b|(?:\([^()]*\)|[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/i,alias:"function"},constant:/\b[A-Z][A-Z\d_]*\b/}),n.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${[^}]+}|[^\\`])*`/,greedy:!0,inside:{interpolation:{pattern:/\${[^}]+}/,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}}}),n.languages.javascript["template-string"].inside.interpolation.inside.rest=n.languages.javascript,n.languages.markup&&n.languages.insertBefore("markup","tag",{script:{pattern:/()[\s\S]*?(?=<\/script>)/i,lookbehind:!0,inside:n.languages.javascript,alias:"language-javascript",greedy:!0}}),n.languages.js=n.languages.javascript,"undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(){var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"};Array.prototype.slice.call(document.querySelectorAll("pre[data-src]")).forEach(function(t){for(var r,i=t.getAttribute("data-src"),a=t,o=/\blang(?:uage)?-([\w-]+)\b/i;a&&!o.test(a.className);)a=a.parentNode;if(a&&(r=(t.className.match(o)||[,""])[1]),!r){var s=(i.match(/\.(\w+)$/)||[,""])[1];r=e[s]||s}var l=document.createElement("code");l.className="language-"+r,t.textContent="",l.textContent="Loading…",t.appendChild(l);var c=new XMLHttpRequest;c.open("GET",i,!0),c.onreadystatechange=function(){4==c.readyState&&(c.status<400&&c.responseText?(l.textContent=c.responseText,n.highlightElement(l)):c.status>=400?l.textContent="✖ Error "+c.status+" while fetching file: "+c.statusText:l.textContent="✖ Error: File does not exist or is empty")},c.send(null)}),n.plugins.toolbar&&n.plugins.toolbar.registerButton("download-file",function(e){var t=e.element.parentNode;if(t&&/pre/i.test(t.nodeName)&&t.hasAttribute("data-src")&&t.hasAttribute("data-download-link")){var n=t.getAttribute("data-src"),r=document.createElement("a");return r.textContent=t.getAttribute("data-download-link-label")||"Download",r.setAttribute("download",""),r.href=n,r}})},document.addEventListener("DOMContentLoaded",self.Prism.fileHighlight))});function q(e,t){var n=[],r={};return e.forEach(function(e){var i=e.level||1,a=i-1;i>t||(r[a]?r[a].children=(r[a].children||[]).concat(e):n.push(e),r[i]=e)}),n}var B={},H=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,.\/:;<=>?@[\]^`{|}~]/g;function I(e){return e.toLowerCase()}function U(e){if("string"!=typeof e)return"";var t=e.trim().replace(/[A-Z]+/g,I).replace(/<[^>\d]+>/g,"").replace(H,"").replace(/\s/g,"-").replace(/-+/g,"-").replace(/^(\d)/,"_$1"),r=B[t];return r=n.call(B,t)?r+1:0,B[t]=r,r&&(t=t+"-"+r),t}function D(e,t){return''+t+''}U.clear=function(){B={}};var Z=decodeURIComponent,Y=encodeURIComponent;function W(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var n=e.replace(/\+/g," ").split("=");t[n[0]]=n[1]&&Z(n[1])}),t):t}function G(e,t){void 0===t&&(t=[]);var n=[];for(var r in e)t.indexOf(r)>-1||n.push(e[r]?(Y(r)+"="+Y(e[r])).toLowerCase():Y(r));return n.length?"?"+n.join("&"):""}var X=e(function(e){return/(:|(\/{2}))/g.test(e)}),Q=e(function(e){return/\/$/g.test(e)?e:(e=e.match(/(\S*\/)[^\/]+$/))?e[1]:""}),V=e(function(e){return e.replace(/^\/+/,"/").replace(/([^:])\/{2,}/g,"$1/")}),J=e(function(e){for(var t=e.replace(/^\//,"").split("/"),n=[],r=0,i=t.length;r=r.length))for(var o=0;o-1){++n;var p,g=u.substring(0,h),d=new Prism.Token(t,Prism.tokenize(c,e.grammar,t),"language-"+t,c),f=u.substring(h+("___"+t.toUpperCase()+l+"___").length);if(g||f?(p=[g,d,f].filter(function(e){return!!e}),i(p)):p=d,"string"==typeof s?Array.prototype.splice.apply(a,[o,1].concat(p)):s.content=p,n>=r.length)break}}else s.content&&"string"!=typeof s.content&&i(s.content)}};i(e.tokens)}}}});var te={};function ne(e){void 0===e&&(e="");var t={};return e&&(e=e.replace(/^'/,"").replace(/'$/,"").replace(/(?:^|\s):([\w-]+)=?([\w-]+)?/g,function(e,n,r){return t[n]=r&&r.replace(/"/g,"")||!0,""}).trim()),{str:e,config:t}}var re={markdown:function(e){return{url:e}},mermaid:function(e){return{url:e}},iframe:function(e,t){return{html:'"}},video:function(e,t){return{html:'"}},audio:function(e,t){return{html:'"}},code:function(e,t){var n=e.match(/\.(\w+)$/);return"md"===(n=t||n&&n[1])&&(n="markdown"),{url:e,lang:n}}},ie=function(t,n){var a=this;this.config=t,this.router=n,this.cacheTree={},this.toc=[],this.cacheTOC={},this.linkTarget=t.externalLinkTarget||"_blank",this.contentBase=n.getBasePath();var s,c=this._initRenderer(),u=t.markdown||{};o(u)?s=u(z,c):(z.setOptions(r(u,{renderer:r(c,u.renderer)})),s=z),this._marked=s,this.compile=function(n){var r=!0,o=e(function(e){r=!1;var a="";return n?(a=i(n)?s(n):s.parser(n),a=t.noEmoji?a:function(e){return e.replace(/<(pre|template|code)[^>]*?>[\s\S]+?<\/(pre|template|code)>/g,function(e){return e.replace(/:/g,"__colon__")}).replace(/:(\w+?):/gi,l&&window.emojify||D).replace(/__colon__/g,":")}(a),U.clear(),a):n})(n),c=a.router.parse().file;return r?a.toc=a.cacheTOC[c]:a.cacheTOC[c]=[].concat(a.toc),o}};ie.prototype.compileEmbed=function(e,t){var n,r=ne(t),i=r.str,a=r.config;if(t=i,a.include){var o;if(X(e)||(e=K(this.contentBase,Q(this.router.getCurrentPath()),e)),a.type&&(o=re[a.type]))(n=o.call(this,e,t)).type=a.type;else{var s="code";/\.(md|markdown)/.test(e)?s="markdown":/\.mmd/.test(e)?s="mermaid":/\.html?/.test(e)?s="iframe":/\.(mp4|ogg)/.test(e)?s="video":/\.mp3/.test(e)&&(s="audio"),(n=re[s].call(this,e,t)).type=s}return n.fragment=a.fragment,n}},ie.prototype._matchNotCompileLink=function(e){for(var t=this.config.noCompileLinks||[],n=0;n
    '+a+""},a.code=e.code=function(e,t){return void 0===t&&(t=""),e=e.replace(/@DOCSIFY_QM@/g,"`"),'
    '+M.highlight(e,M.languages[t]||M.languages.markup)+"
    "},a.link=e.link=function(e,r,a){void 0===r&&(r="");var o="",s=ne(r),l=s.str,c=s.config;return r=l,X(e)||i._matchNotCompileLink(e)||c.ignore?o+=0===e.indexOf("mailto:")?"":' target="'+t+'"':(e===i.config.homepage&&(e="README"),e=n.toURL(e,null,n.getCurrentPath())),c.target&&(o+=" target="+c.target),c.disabled&&(o+=" disabled",e="javascript:void(0)"),r&&(o+=' title="'+r+'"'),'"+a+""},a.paragraph=e.paragraph=function(e){return/^!>/.test(e)?$("tip",e):/^\?>/.test(e)?$("warn",e):"

    "+e+"

    "},a.image=e.image=function(e,t,i){var a=e,o="",s=ne(t),l=s.str,c=s.config;t=l,c["no-zoom"]&&(o+=" data-no-zoom"),t&&(o+=' title="'+t+'"');var u=c.size;if(u){var h=u.split("x");h[1]?o+="width="+h[0]+" height="+h[1]:o+="width="+h[0]}return X(e)||(a=K(r,Q(n.getCurrentPath()),e)),''+i+'"},a.list=e.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+" "+[/
  • /.test(e.split('class="task-list"')[0])?'class="task-list"':"",n&&n>1?'start="'+n+'"':""].join(" ").trim()+">"+e+""},a.listitem=e.listitem=function(e){return/^(]*>)/.test(e)?'
  • ":"
  • "+e+"
  • "},e.origin=a,e},ie.prototype.sidebar=function(e,t){var n=this.toc,r=this.router.getCurrentPath();if(e)this.compile(e);else{for(var i=0;i{inner}"),this.cacheTree[r]=s}return""},ie.prototype.subSidebar=function(e){if(e){var t=this.router.getCurrentPath(),n=this.cacheTree,r=this.toc;r[0]&&r[0].ignoreAllSubs&&r.splice(0),r[0]&&1===r[0].level&&r.shift();for(var i=0;i=t||e.classList.contains("hidden")?_(d,"add","sticky"):_(d,"remove","sticky")}}function se(e,t,n,r){var i=[];null!=(t=p(t))&&(i=v(t,"a"));var a,o=decodeURI(e.toURL(e.getCurrentPath()));return i.sort(function(e,t){return t.href.length-e.href.length}).forEach(function(e){var t=e.getAttribute("href"),r=n?e.parentNode:e;0!==o.indexOf(t)||a?_(r,"remove","active"):(a=e,_(r,"add","active"))}),r&&(g.title=a?a.title||a.innerText+" - "+ae:ae),a}var le=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.duration=t.duration||1e3,this.ease=t.easing||this._defaultEase,this.start=t.start,this.end=t.end,this.frame=null,this.next=null,this.isRunning=!1,this.events={},this.direction=this.startthis.end&&e>=this.next}[this.direction]}},{key:"_defaultEase",value:function(e,t,n,r){return(e/=r/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}}]),e}(),ue={},he=!1,pe=null,ge=!0,de=0;function fe(e){if(ge){for(var t,n=p(".sidebar"),r=v(".anchor"),i=m(n,".sidebar-nav"),a=m(n,"li.active"),o=document.documentElement,s=(o&&o.scrollTop||document.body.scrollTop)-de,l=0,c=r.length;ls){t||(t=u);break}t=u}if(t){var h=ue[me(decodeURIComponent(e),t.getAttribute("data-id"))];if(h&&h!==a&&(a&&a.classList.remove("active"),h.classList.add("active"),a=h,!he&&d.classList.contains("sticky"))){var g=n.clientHeight,f=a.offsetTop+a.clientHeight+40,b=f-0=i.scrollTop&&f<=i.scrollTop+g?i.scrollTop:b?0:f-g;n.scrollTop=y}}}}function me(e,t){return e+"?id="+t}function ve(e,t){if(t){var n,r=m("#"+t);r&&(n=r,pe&&pe.stop(),ge=!1,pe=new ce({start:window.pageYOffset,end:n.getBoundingClientRect().top+window.pageYOffset,duration:500}).on("tick",function(e){return window.scrollTo(0,e)}).on("done",function(){ge=!0,pe=null}).begin());var i=ue[me(e,t)],a=m(p(".sidebar"),"li.active");a&&a.classList.remove("active"),i&&i.classList.add("active")}}var be=g.scrollingElement||g.documentElement;var ye={};function ke(e,t){var n=e.compiler,i=e.raw;void 0===i&&(i="");var a=e.fetch,o=ye[i];if(o){var s=o.slice();return s.links=o.links,t(s)}var l=n._marked,c=l.lexer(i),u=[],h=l.InlineLexer.rules.link,p=c.links;c.forEach(function(e,t){"paragraph"===e.type&&(e.text=e.text.replace(new RegExp(h.source,"g"),function(e,r,i,a){var o=n.compileEmbed(i,a);return o&&u.push({index:t,embed:o}),e}))});var g=0;!function(e,t){var n,r=e.embedTokens,i=e.compile,a=(e.fetch,0),o=1;if(!r.length)return t({});for(;n=r[a++];){var s=function(e){return function(n){var r;if(n)if("markdown"===e.embed.type)r=i.lexer(n);else if("code"===e.embed.type){if(e.embed.fragment){var s=e.embed.fragment,l=new RegExp("(?:###|\\/\\/\\/)\\s*\\["+s+"\\]([\\s\\S]*)(?:###|\\/\\/\\/)\\s*\\["+s+"\\]");n=((n.match(l)||[])[1]||"").trim()}r=i.lexer("```"+e.embed.lang+"\n"+n.replace(/`/g,"@DOCSIFY_QM@")+"\n```\n")}else"mermaid"===e.embed.type?(r=[{type:"html",text:'
    \n'+n+"\n
    "}]).links={}:(r=[{type:"html",text:n}]).links={};t({token:e,embedToken:r}),++o>=a&&t({})}}(n);n.embed.url?R(n.embed.url).then(s):s(n.embed.html)}}({compile:l,embedTokens:u,fetch:a},function(e){var n=e.embedToken,a=e.token;if(a){var o=a.index+g;r(p,n.links),c=c.slice(0,o).concat(n,c.slice(o+1)),g+=n.length-1}else ye[i]=c.concat(),c.links=ye[i].links=p,t(c)})}function xe(){var e=v(".markdown-section>script").filter(function(e){return!/template/.test(e.type)})[0];if(!e)return!1;var t=e.innerText.trim();if(!t)return!1;setTimeout(function(e){window.__EXECUTE_RESULT__=new Function(t)()},0)}function we(e,t,n){var r,i,a;return t="function"==typeof n?n(t):"string"==typeof n?(i=[],a=0,(r=n).replace(O,function(e,t,n){i.push(r.substring(a,n-1)),a=n+=e.length+1,i.push(function(t){return("00"+("string"==typeof F[e]?t[F[e]]():F[e](t))).slice(-e.length)})}),a!==r.length&&i.push(r.substring(a)),function(e){for(var t="",n=0,r=e||new Date;n'):""),t.coverpage&&(u+=(n=", 100%, 85%",'
    \x3c!--cover--\x3e
    ')),t.logo){var p=/^data:image/.test(t.logo),y=/(?:http[s]?:)?\/\//.test(t.logo),x=/^\./.test(t.logo);p||y||x||(t.logo=K(e.router.getBasePath(),t.logo))}u+=function(e){return e.name&&(e.logo?(e.name,e.logo):e.name),'
    \x3c!--main--\x3e
    '}(t),e._renderTo(s,u,!0)}else e.rendered=!0;t.mergeNavbar&&c?h=m(".sidebar"):(o.classList.add("app-nav"),t.repo||o.classList.add("no-badge")),t.loadNavbar&&k(h,o),t.themeColor&&(g.head.appendChild(b("div",(i=t.themeColor,"")).firstElementChild),function(e){if(!(window.CSS&&window.CSS.supports&&window.CSS.supports("(--v:red)"))){var t=v("style:not(.inserted),link");[].forEach.call(t,function(t){if("STYLE"===t.nodeName)P(t,e);else if("LINK"===t.nodeName){var n=t.getAttribute("href");if(!/\.css$/.test(n))return;R(n).then(function(t){var n=b("style",t);f.appendChild(n),P(n,e)})}})}}(t.themeColor)),e._updateRender(),_(d,"ready")}var Ae={};var Ce=function(e){this.config=e};function Ee(e){var t=location.href.indexOf("#");location.replace(location.href.slice(0,t>=0?t:0)+"#"+e)}Ce.prototype.getBasePath=function(){return this.config.basePath},Ce.prototype.getFile=function(e,t){void 0===e&&(e=this.getCurrentPath());var n=this.config,r=this.getBasePath(),i="string"==typeof n.ext?n.ext:".md";return e=(e=function(e,t){return new RegExp("\\.("+t.replace(/^\./,"")+"|html)$","g").test(e)?e:/\/$/g.test(e)?e+"README"+t:""+e+t}(e=n.alias?function e(t,n,r){var i=Object.keys(n).filter(function(e){return(Ae[e]||(Ae[e]=new RegExp("^"+e+"$"))).test(t)&&t!==r})[0];return i?e(t.replace(Ae[i],n[i]),n,t):t}(e,n.alias):e,i))==="/README"+i&&n.homepage||e,e=X(e)?e:K(r,e),t&&(e=e.replace(new RegExp("^"+r),"")),e},Ce.prototype.onchange=function(e){void 0===e&&(e=a),e()},Ce.prototype.getCurrentPath=function(){},Ce.prototype.normalize=function(){},Ce.prototype.parse=function(){},Ce.prototype.toURL=function(e,t,n){var i=n&&"#"===e[0],a=this.parse(ee(e));if(a.query=r({},a.query,t),e=(e=a.path+G(a.query)).replace(/\.md(\?)|\.md$/,"$1"),i){var o=n.indexOf("?");e=(o>0?n.substring(0,o):n)+e}if(this.config.relativePath&&0!==e.indexOf("/")){var s=n.substring(0,n.lastIndexOf("/")+1);return V(J(s+e))}return V("/"+e)};var $e=function(e){function t(t){e.call(this,t),this.mode="hash"}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.getBasePath=function(){var e=window.location.pathname||"",t=this.config.basePath;return/^(\/|https?:)/g.test(t)?t:V(e+"/"+t)},t.prototype.getCurrentPath=function(){var e=location.href,t=e.indexOf("#");return-1===t?"":e.slice(t+1)},t.prototype.onchange=function(e){void 0===e&&(e=a),x("hashchange",e)},t.prototype.normalize=function(){var e=this.getCurrentPath();if("/"===(e=ee(e)).charAt(0))return Ee(e);Ee("/"+e)},t.prototype.parse=function(e){void 0===e&&(e=location.href);var t="",n=e.indexOf("#");n>=0&&(e=e.slice(n+1));var r=e.indexOf("?");return r>=0&&(t=e.slice(r+1),e=e.slice(0,r)),{path:e,file:this.getFile(e,!0),query:W(t)}},t.prototype.toURL=function(t,n,r){return"#"+e.prototype.toURL.call(this,t,n,r)},t}(Ce),Le=function(e){function t(t){e.call(this,t),this.mode="history"}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.getCurrentPath=function(){var e=this.getBasePath(),t=window.location.pathname;return e&&0===t.indexOf(e)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash},t.prototype.onchange=function(e){void 0===e&&(e=a),x("click",function(t){var n="A"===t.target.tagName?t.target:t.target.parentNode;if("A"===n.tagName&&!/_blank/.test(n.target)){t.preventDefault();var r=n.href;window.history.pushState({key:r},"",r),e()}}),x("popstate",e)},t.prototype.parse=function(e){void 0===e&&(e=location.href);var t="",n=e.indexOf("?");n>=0&&(t=e.slice(n+1),e=e.slice(0,n));var r=K(location.origin),i=e.indexOf(r);return i>-1&&(e=e.slice(i+r.length)),{path:e,file:this.getFile(e),query:W(t)}},t}(Ce);var Te={};function Re(e){e.router.normalize(),e.route=e.router.parse(),d.setAttribute("data-page",e.route.file)}function Pe(e){var t,n;t="button.sidebar-toggle",e.router,n=function(e){return d.classList.toggle("close")},null!=(t=p(t))&&(x(t,"click",function(e){e.stopPropagation(),n()}),c&&x(d,"click",function(e){return d.classList.contains("close")&&n()})),function(e){null!=(e=p(e))&&x(e,"click",function(e){var t=e.target;"A"===t.nodeName&&t.nextSibling&&t.nextSibling.classList.contains("app-sub-sidebar")&&_(t.parentNode,"collapse")})}(".sidebar",e.router),e.config.coverpage?!c&&x("scroll",oe):d.classList.add("sticky")}function Oe(e,t,n,r,i,a){e=a?e:e.replace(/\/$/,""),(e=Q(e))&&R(i.router.getFile(e+n)+t,!1,i.config.requestHeaders).then(r,function(a){return Oe(e,t,n,r,i)})}var Fe=Object.freeze({cached:e,hyphenate:t,hasOwn:n,merge:r,isPrimitive:i,noop:a,isFn:o,inBrowser:l,isMobile:c,supportsPushState:u,parseQuery:W,stringifyQuery:G,isAbsolutePath:X,getParentPath:Q,cleanPath:V,resolvePath:J,getPath:K,replaceSlug:ee});function je(){this._init()}var Ne=je.prototype;!function(e){e._init=function(){var e=this;e.config=function(){var e=r({el:"#app",repo:"",maxLevel:6,subMaxLevel:0,loadSidebar:null,loadNavbar:null,homepage:"README.md",coverpage:"",basePath:"",auto2top:!1,name:"",themeColor:"",nameLink:window.location.pathname,autoHeader:!1,executeScript:null,noEmoji:!1,ga:"",ext:".md",mergeNavbar:!1,formatUpdated:"",externalLinkTarget:"_blank",routerMode:"hash",noCompileLinks:[],relativePath:!1},window.$docsify),a=document.currentScript||[].slice.call(document.getElementsByTagName("script")).filter(function(e){return/docsify\./.test(e.src)})[0];if(a){for(var o in e)if(n.call(e,o)){var s=a.getAttribute("data-"+t(o));i(s)&&(e[o]=""===s||s)}!0===e.loadSidebar&&(e.loadSidebar="_sidebar"+e.ext),!0===e.loadNavbar&&(e.loadNavbar="_navbar"+e.ext),!0===e.coverpage&&(e.coverpage="_coverpage"+e.ext),!0===e.repo&&(e.repo=""),!0===e.name&&(e.name="")}return window.$docsify=e,e}(),function(e){e._hooks={},e._lifecycle={},["init","mounted","beforeEach","afterEach","doneEach","ready"].forEach(function(t){var n=e._hooks[t]=[];e._lifecycle[t]=function(e){return n.push(e)}})}(e),function(e){[].concat(e.config.plugins).forEach(function(t){return o(t)&&t(e._lifecycle,e)})}(e),s(e,"init"),function(e){var t,n=e.config;t="history"===(n.routerMode||"hash")&&u?new Le(n):new $e(n),e.router=t,Re(e),Te=e.route,t.onchange(function(t){Re(e),e._updateRender(),Te.path!==e.route.path?(e.$fetch(),Te=e.route):e.$resetEvents()})}(e),Se(e),Pe(e),function(e){var t=e.config.loadSidebar;if(e.rendered){var n=se(e.router,".sidebar-nav",!0,!0);t&&n&&(n.parentNode.innerHTML+=window.__SUB_SIDEBAR__),e._bindEventOnRendered(n),e.$resetEvents(),s(e,"doneEach"),s(e,"ready")}else e.$fetch(function(t){return s(e,"ready")})}(e),s(e,"mounted")}}(Ne),function(e){e.route={}}(Ne),function(e){e._renderTo=function(e,t,n){var r=p(e);r&&(r[n?"outerHTML":"innerHTML"]=t)},e._renderSidebar=function(e){var t=this.config,n=t.maxLevel,r=t.subMaxLevel,i=t.loadSidebar;this._renderTo(".sidebar-nav",this.compiler.sidebar(e,n));var a=se(this.router,".sidebar-nav",!0,!0);i&&a?a.parentNode.innerHTML+=this.compiler.subSidebar(r)||"":this.compiler.subSidebar(),this._bindEventOnRendered(a)},e._bindEventOnRendered=function(e){var t,n=this.config,r=n.autoHeader,i=n.auto2top;if(function(e){var t=m(".cover.show");de=t?t.offsetHeight:0;var n=p(".sidebar"),r=[];null!=n&&(r=v(n,"li"));for(var i=0,a=r.length;i-1})[0];t.setAttribute("href",n[a])}}(this)}}(Ne),function(e){var t,n=function(e,n,r){return t&&t.abort&&t.abort(),t=R(e,!0,r)};e._loadSideAndNav=function(e,t,n,r){var i=this;return function(){if(!n)return r();Oe(e,t,n,function(e){i._renderSidebar(e),r()},i,!0)}},e._fetch=function(e){var t=this;void 0===e&&(e=a);var r=this.route,i=r.path,o=G(r.query,["id"]),s=this.config,l=s.loadNavbar,c=s.requestHeaders,u=s.loadSidebar,h=this.router.getFile(i),p=n(h+o,0,c);this.isHTML=/\.html$/g.test(h),p.then(function(n,r){return t._renderMain(n,r,t._loadSideAndNav(i,o,u,e))},function(n){t._fetchFallbackPage(h,o,e)||t._fetch404(h,o,e)}),l&&Oe(i,o,l,function(e){return t._renderNav(e)},this,!0)},e._fetchCover=function(){var e=this,t=this.config,n=t.coverpage,r=t.requestHeaders,i=this.route.query,a=Q(this.route.path);if(n){var o=null,s=this.route.path;if("string"==typeof n)"/"===s&&(o=n);else if(Array.isArray(n))o=n.indexOf(s)>-1&&"_coverpage";else{var l=n[s];o=!0===l?"_coverpage":l}var c=Boolean(o)&&this.config.onlyCover;return o?(o=this.router.getFile(a+o),this.coverIsHTML=/\.html$/g.test(o),R(o+G(i,["id"]),!1,r).then(function(t){return e._renderCover(t,c)})):this._renderCover(null,c),c}},e.$fetch=function(e){var t=this;void 0===e&&(e=a);var n=function(){s(t,"doneEach"),e()};this._fetchCover()?n():this._fetch(function(){t.$resetEvents(),n()})},e._fetchFallbackPage=function(e,t,r){var i=this;void 0===r&&(r=a);var o=this.config,s=o.requestHeaders,l=o.fallbackLanguages,c=o.loadSidebar;if(!l)return!1;var u=e.split("/")[1];if(-1===l.indexOf(u))return!1;var h=e.replace(new RegExp("^/"+u),"");return n(h+t,0,s).then(function(n,a){return i._renderMain(n,a,i._loadSideAndNav(e,t,c,r))},function(){return i._fetch404(e,t,r)}),!0},e._fetch404=function(e,t,r){var i=this;void 0===r&&(r=a);var o=this.config,s=o.loadSidebar,l=o.requestHeaders,c=o.notFoundPage,u=this._loadSideAndNav(e,t,s,r);if(c){var h=function(e,t){var n,r,i=t.notFoundPage,a="_404"+(t.ext||".md");switch(typeof i){case"boolean":r=a;break;case"string":r=i;break;case"object":r=(n=Object.keys(i).sort(function(e,t){return t.length-e.length}).find(function(t){return e.match(new RegExp("^"+t))}))&&i[n]||a}return r}(e,this.config);return n(this.router.getFile(h),0,l).then(function(e,t){return i._renderMain(e,t,u)},function(){return i._renderMain(null,{},u)}),!0}return this._renderMain(null,{},u),!1}}(Ne),function(e){e.$resetEvents=function(){ve(this.route.path,this.route.query.id),this.config.loadNavbar&&se(this.router,"nav")}}(Ne),window.Docsify={util:Fe,dom:C,get:R,slugify:U,version:"4.9.4"},window.DocsifyCompiler=ie,window.marked=z,window.Prism=M,function(e){var t=document.readyState;if("complete"===t||"interactive"===t)return setTimeout(e,0);document.addEventListener("DOMContentLoaded",e)}(function(e){return new je})}(); \ No newline at end of file diff --git a/docs/en/arduino/arduino_home_page.md b/docs/en/arduino/arduino_home_page.md index fa3f0966..65b84334 100644 --- a/docs/en/arduino/arduino_home_page.md +++ b/docs/en/arduino/arduino_home_page.md @@ -1,34 +1,83 @@
    -
    - -
    -
    -

    Arduino IDE

    -

    A familiar development platform for electronic enthusiasts

    -

    - Arduino forum - Tutorial -

    -
    -
    - - - -
    -
    -
    -

    Introduction

    -

    Explain several preparations before using Arduino, including software download of Arduino IDE, and related environment configuration.

    -

    View details »

    -
    -
    -

    Arduino API

    -

    The Arduino function library provided by M5Stack.

    -

    View details »

    -
    -
    - +
    + +
    +
    +

    Arduino IDE

    +

    A familiar development platform for electronic enthusiasts

    +

    + Arduino forum + Tutorial +

    +
    -



    \ No newline at end of file +
    + +
    + {{item.title}} + +
    +
    + {{name}} +
    +
    +
    + + + \ No newline at end of file diff --git a/docs/en/faq.md b/docs/en/faq.md index 8d0dc163..c4064618 100644 --- a/docs/en/faq.md +++ b/docs/en/faq.md @@ -301,10 +301,10 @@ - \ No newline at end of file diff --git a/docs/en/uiflow/uiflow_home_page.md b/docs/en/uiflow/uiflow_home_page.md index 36d37886..dd5858f5 100644 --- a/docs/en/uiflow/uiflow_home_page.md +++ b/docs/en/uiflow/uiflow_home_page.md @@ -6,84 +6,200 @@

    UIFlow

    A Web IoT programming platform using Blockly+Python.

    - Go to UIFlow - Tutorial + Go to UIFlow

    -
    -
    -
    -

    Quick Start

    -

    Explain several preparations before using UIFlow, including programming and network configuration of UIFlow firmware, as well as some program basics.

    - -
    -
    -

    Hardware

    -

    Some basic control of device hardware in UIFlow, and information acquisition.

    -

    View details »

    -
    -
    -

    UI simulator

    -

    UIFlow display control for characters and graphics, as well as image upload and drawing functions.

    -

    View details »

    -
    -
    -
    -
    -

    Data structure

    -

    Introduction to data types in UIFlow, including constants, variables, characters, random numbers, lists, etc.

    -

    View details »

    -
    -
    -

    Logic

    -

    The use of logic judgments, operations, and conditional loops, iterations, functions, etc. in UIFlow.

    -

    View details »

    -
    -
    -

    Advanced

    -

    The higher-level functions in UIFlow involve remote functions and the use of MQTT communication.

    -

    View details »

    -
    -
    - -
    -
    -

    Units

    -

    Introduction to how to use unit devices, such as ToF, ENV, Realy, inlucde I/O,UART,I2C,etc.

    -

    View details »

    -
    -
    -

    Modules

    -

    Introduce some useful modules block add to your project in UIFlow.

    -

    View details »

    -
    -
    -

    FACES

    -

    UIFlow uses FACES panel for interface interaction or data manipulation help you to improve input efficiency.

    -

    View details »

    -
    -
    - -
    -
    -

    Custom

    -

    The creation and use of UIFlow custom program blocks.

    -

    View details »

    -
    -
    +
    + +
    + {{item.title}} + +
    +
    + {{name}} +
    +
    -



    \ No newline at end of file + \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index af7f07e4..2f8601d8 100755 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1,5 @@ -M5Stack Docs-The reference docs for M5Stack products.
    loading...
    \ No newline at end of file +M5Stack Docs - The reference docs for M5Stack products.
    \ No newline at end of file diff --git a/docs/index_source.html b/docs/index_source.html index eaede7f6..f30bde5b 100644 --- a/docs/index_source.html +++ b/docs/index_source.html @@ -12,53 +12,54 @@ - - - + + + -
    -
    -

    - M5Stack Docs

    - + +
    +
    + +
    - + - diff --git a/docs/zh_CN/arduino/arduino_home_page.md b/docs/zh_CN/arduino/arduino_home_page.md index 6991ff7b..6a07a1a1 100644 --- a/docs/zh_CN/arduino/arduino_home_page.md +++ b/docs/zh_CN/arduino/arduino_home_page.md @@ -1,34 +1,83 @@
    -
    - -
    -
    -

    Arduino IDE

    -

    电子发烧友们较为熟悉的编程平台之一.

    -

    - Arduino中文论坛 - 查看教程 -

    -
    -
    - - -
    -
    -
    -

    入门介绍

    -

    讲解使用Arduino前的几个准备工作,包括Arduino IDE的软件下载,以及相关环境配置.

    -

    View details »

    -
    -
    -

    Arduino API

    -

    M5Stack所提供的Arduino函数库.

    -

    View details »

    -
    -
    - - +
    + +
    +
    +

    Arduino IDE

    +

    A familiar development platform for electronic enthusiasts

    +

    + Arduino forum + Tutorial +

    +
    -



    \ No newline at end of file +
    + +
    + {{item.title}} + +
    +
    + {{name}} +
    +
    +
    + + + \ No newline at end of file diff --git a/docs/zh_CN/faq.md b/docs/zh_CN/faq.md index 3bc1e3f4..3b33d482 100644 --- a/docs/zh_CN/faq.md +++ b/docs/zh_CN/faq.md @@ -301,10 +301,10 @@
    - \ No newline at end of file diff --git a/docs/zh_CN/uiflow/uiflow_home_page.md b/docs/zh_CN/uiflow/uiflow_home_page.md index ef1ef3e1..f465028f 100644 --- a/docs/zh_CN/uiflow/uiflow_home_page.md +++ b/docs/zh_CN/uiflow/uiflow_home_page.md @@ -1,93 +1,205 @@
    -
    - -
    -
    -

    UIFlow

    -

    一个采用Blockly+Python的Web物联网编程平台.

    -

    - 访问UIFlow - 查看教程 -

    -
    -
    - - - -
    -
    -
    -

    快速上手

    -

    在使用UIFlow之前进行的一些准备工作,包括UIFlow固件的烧录和网络配置以及一些基础内容。

    - -
    -
    -

    硬件控制

    -

    UIFlow中关于设备硬件的一些基本控制,与信息获取.

    -

    View details »

    -
    -
    -

    UI模拟器

    -

    UIFlow中关于字符与图形的显示控制,以及图片上传与绘图功能.

    -

    View details »

    -
    -
    -
    -
    -

    数据类型

    -

    UIFlow中关于数据类型的简介,包括常量、变量、字符、随机数、列表等.

    -

    View details »

    -
    -
    -

    逻辑循环

    -

    UIFlow中关于逻辑判断、运算,以及条件循环、迭代、函数等功能的使用.

    -

    View details »

    -
    -
    -

    高级功能

    -

    UIFlow中较为高阶的功能,涉及远程功能、MQTT通信的使用.

    -

    View details »

    -
    -
    - - -
    -
    -

    Units

    -

    UIFlow相关的Units使用方法,如ToF,ENV,Realy等模块,包含I/O类和I2C及UART接口的硬件.

    -

    View details »

    -
    -
    -

    Modules

    -

    UIFlow中配合Modules使用的操作说明.

    -

    View details »

    -
    -
    -

    FACES

    -

    UIFlow中使用FACES面板进行界面交互或数据操作,提高输入效率.

    -

    View details »

    -
    -
    - -
    -
    -

    Custom

    -

    UIFlow自定义程序块的创建与使用.

    -

    View details »

    -
    -
    - +
    + +
    +
    +

    UIFlow

    +

    A Web IoT programming platform using Blockly+Python.

    +

    + Go to UIFlow +

    +
    -



    \ No newline at end of file +
    + +
    + {{item.title}} + +
    +
    + {{name}} +
    +
    +
    + + \ No newline at end of file