diff --git a/.gitignore b/.gitignore index 46390eb..f311821 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,3 @@ node_modules/ */.history/ /.history/ .env* -build/ diff --git a/build/static/css/main.b292dbe4.css b/build/static/css/main.b292dbe4.css new file mode 100644 index 0000000..ce6284f --- /dev/null +++ b/build/static/css/main.b292dbe4.css @@ -0,0 +1,8 @@ +body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Pretendard;font-size:16px;font-style:normal;line-height:22px;margin:0}@media (max-width:700px){body{font-family:Pretendard;font-size:16px;font-style:normal;height:100%;line-height:22px;min-width:350px;width:100%}}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.ql-editor{height:30rem!important}.Main_body__\+Gslq{font-family:Pretendard}.Main_container__1COSu{width:100%}.Main_headLine__DdAh9{align-items:center;display:flex;justify-content:center;padding:23px}.Main_myProfile__LNDbB{all:unset;cursor:pointer;height:28px;margin-left:auto;margin-top:2px;width:28px}.Main_logo__5TODf{height:24px;width:99px}.SubjectIndex_container__dHIwu{align-items:center;display:flex;flex-direction:column;font-family:Pretendard;justify-items:center;padding:1.3rem}.SubjectIndex_subjectTitle__s5CX4{color:#353535;font-family:Pretendard;font-size:18px;font-style:normal;font-weight:600;line-height:21px;margin-right:auto}.SubjectIndex_subjectCircle__JLwF5{-ms-overflow-style:none;color:#000;display:flex;justify-content:space-between;overflow:auto;padding-bottom:1%;scrollbar-width:none;text-decoration:none;width:100%}.SubjectIndex_scroll__S4vtQ::-webkit-scrollbar,.SubjectIndex_subjectCircle__JLwF5::-webkit-scrollbar{display:none}.SubjectIndex_listTitle__L28Hr{border-bottom:2px solid #f4f4f4;color:#b9b9b9;font-weight:500}.SubjectIndex_listTitle__L28Hr,.SubjectIndex_selectListTitle__TtcVu{align-items:center;background-position:50% 50%;background-repeat:no-repeat;background-size:contain;cursor:pointer;display:flex;flex:none;font-family:SF Pro Display;font-size:15px;font-style:normal;height:.6rem;justify-content:center;line-height:18px;padding-bottom:.5rem;padding-top:1.5rem;width:22%}.SubjectIndex_selectListTitle__TtcVu{border-bottom:2px solid #396ff9;color:#000;font-weight:600}.SubjectIndex_subjectList__EnxoU{-ms-overflow-style:none;border-radius:10px;color:#000;padding-bottom:1rem;padding-top:1rem;scrollbar-width:none;text-decoration:none;width:100%}.SubjectIndex_subjectContent__FrfQ8{display:flex;justify-content:space-between;padding-bottom:.5rem;padding-top:.5rem;text-decoration:none}.SubjectIndex_subjectList__EnxoU::-webkit-scrollbar{display:none}.SubjectIndex_divisionLine__oO\+BV{border-top:1.5px solid #eee;margin:.7rem auto;width:90%}.SubjectIndex_subjectName__bWEJR{color:#353535;font-family:SF Pro Display;font-size:17px;font-style:normal;font-weight:500;line-height:100%;margin-left:1rem}.SubjectIndex_subjectInfo__T4iQH{color:#85868c;font-family:Pretendard;font-size:12px;font-style:normal;font-weight:500;line-height:100%;margin-right:1rem;text-decoration:none}.SubjectRank_rankContainer__JlHsV{align-items:center;background-color:#f6f9ff;display:flex;flex-direction:column;justify-content:center;padding:1.3rem}.SubjectRank_rankTitle__D4siw{font-family:Pretendard;font-size:18px;font-style:normal;font-weight:600;line-height:21px;margin-right:auto;padding-bottom:1rem}.SubjectRank_keyword__Q\+9fY{-ms-overflow-style:none;display:flex;justify-content:start;overflow-x:auto;padding-bottom:1%;scrollbar-width:none;width:100%}.SubjectRank_keyword__Q\+9fY::-webkit-scrollbar{display:none}.SubjectRank_keywordContent__6ymZ8{background-color:#fff;color:#595959;font-weight:500}.SubjectRank_keywordContent__6ymZ8,.SubjectRank_selectKeyword__TWF0T{align-items:center;background-position:50% 50%;background-repeat:no-repeat;background-size:contain;border:1px solid #eee;border-radius:100px;cursor:pointer;display:flex;flex:none;font-family:Pretendard;font-size:12px;font-style:normal;height:25px;justify-content:center;line-height:14px;margin-left:.6rem;width:5.25rem}.SubjectRank_selectKeyword__TWF0T{background-color:#396ff9;color:#fff;font-weight:600}.SubjectRankContent_container__88Qsd{background-color:#fff;border:1px solid #eee;border-radius:10px;box-shadow:0 0 5px rgba(0,0,0,.07);height:auto;justify-content:space-between;padding-bottom:1rem;padding-top:1rem;width:100%}.SubjectRankContent_divisionLine__WmSBd{border-top:1.5px solid #eee;margin:.7rem auto;width:95%}.SubjectRankContent_subjectCircle__mipJz{align-items:center;color:#000;display:flex;margin-right:auto;text-decoration:none}.SubjectRankContent_subjectDivisionLine__3Giws{border-right:1px solid #e8e7e7;height:10px;margin:auto .5rem}.SubjectRankContent_subject__SmOjj{font-family:SF Pro Display;font-size:15px;font-style:normal;font-weight:600}.SubjectRankContent_circle__xgESj{color:#c9c9c9;font-family:SF Pro Display;font-size:13px;font-style:normal;font-weight:500;line-height:16px}.SubjectRankContent_contentLine__r-1ac{display:grid;padding-left:.8rem;padding-right:.8rem}.SubjectRankContent_rating__Wp3tY{color:#396ff9;font-family:Pretendard;font-size:15px;font-style:normal;font-weight:600;line-height:18px;margin-right:1.3rem}.SubjectRankContent_rank__FaxXK{align-items:center;display:flex;justify-content:space-between}.SubjectRankContent_starLayout__eWkWN{margin-right:auto}.SubjectRankContent_star__qZqqR{height:15px;width:15px}.SubjectRankContent_rankContent__gtJK8{align-items:center;display:flex;justify-self:left;width:15%}.SubjectRankContent_starRating__F0sKt{color:#686868;font-family:Pretendard;font-size:13px;font-style:normal;font-weight:600;line-height:16px;margin-right:auto}.RecentComment_container__jScgv{align-items:center;background-color:#f6f9ff;display:flex;flex-direction:column;justify-items:center;padding:1.3rem}.RecentComment_title__A8TCu{font-family:Pretendard;font-size:18px;font-style:normal;font-weight:600;line-height:21px;margin-right:auto;padding-bottom:1rem}.RecentComment_commentBox__Pf070{-ms-overflow-style:none;display:flex;height:128px;justify-content:space-between;overflow-x:auto;padding-bottom:.8rem;scrollbar-width:none;width:100%}.RecentComment_recentComment__XPb75{align-items:center;background-color:#fff;background-position:50% 50%;background-repeat:no-repeat;background-size:contain;border:1px solid #f1f5ff;border-radius:10px;box-shadow:0 0 5px rgba(0,0,0,.07);flex:none;font-style:normal;justify-content:center;margin-left:1rem;padding:1.3rem;width:13rem}.RecentComment_subjectStarRating__1XNod{align-items:center;display:flex;margin-bottom:.6rem}.RecentComment_subjectName__mQFrz{all:unset;color:#353535;font-family:SF Pro Display;font-size:16px;font-style:normal;font-weight:600}.RecentComment_comment__gXPl\+{word-wrap:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#353535;display:-webkit-box;font-family:Pretendard;font-size:15px;font-style:normal;font-weight:500;height:44px;line-height:21px;margin-bottom:.4rem;overflow:hidden;text-align:left;text-overflow:ellipsis}.RecentComment_dateTime__lDt57{color:#b9b9b9;font-family:Pretendard;font-size:12px;font-style:normal;font-weight:500;line-height:14px}.RecentComment_commentBox__Pf070::-webkit-scrollbar{display:none}.RecentComment_starRating__vf32m{color:#6c6c6c;font-family:Pretendard;font-size:12px;font-style:normal;font-weight:600;line-height:14px;margin-bottom:auto;margin-top:auto}.RecentComment_star__Tu9qL{height:15px;margin-left:9px;margin-right:3px;width:15px}.Footer_container__4v3n8{align-items:flex-end;display:flex;flex-direction:row;height:4rem;justify-content:center;opacity:30%;width:100%}.Footer_img__79Bcu{height:20px;margin-right:5px;width:20px}.Footer_text__cMSP6{word-wrap:break-word;color:#353535;display:inline-block;font-family:Pretendard;font-size:15px;font-style:normal;font-weight:500;text-decoration:none}.Login_container__FtxIa{align-items:center;display:flex;flex-direction:column;height:100vh;justify-content:center;width:100%}.Login_logo__4oQAQ{width:10rem}.Login_loginBtn__ficeg{background:#396ff9;border-radius:10px;color:#fff;font-size:16px;font-weight:600;height:20px;line-height:19px;margin-top:42px;padding:18px 0 15px;text-align:center;text-decoration:none;width:335px}.MyPage_containerMain__jRpgS{min-height:100vh}.MyPage_container__SQS2b{border-bottom:8px solid #fafafc;width:100%}.MyPage_userState__9yfnD{align-items:flex-end;display:flex;flex-direction:row;height:35px;justify-content:space-between;margin:0 20px 8px}.MyPage_userId__g6e8-{color:#353535;font-size:22px;font-weight:600;line-height:26px}.MyPage_userLevel__\+drRX{border:1px solid #769dff;border-radius:9px;color:#8cacfb;font-size:8px;font-weight:600;line-height:10px;margin-left:5px;padding:2px 7px;position:relative;top:-3px}.MyPage_userUpdate__\+IdwB{color:#b5b5b5;font-size:11px;font-weight:400;line-height:24px}.MyPage_avg_container__VbbOW{align-items:center;border-top:1px solid #f4f4f4;display:flex;flex-direction:row;height:96px;justify-content:space-around;margin:0 20px}.MyPage_avg_box__mIZn\+{align-items:center;display:flex;flex-direction:column}.MyPage_avg_number__9Br7G{color:#353535;font-size:15px;font-weight:700;line-height:24px}.MyPage_avg_title__66He8{color:#222;font-size:12px;font-weight:400;line-height:24px}.MyPage_tab__QO4xt{align-items:flex-end;border-bottom:1px solid #f4f4f4;display:flex;height:49px;justify-content:flex-start;padding:0 20px}.MyPage_tabBtn__tLDCH{all:unset;border-bottom:1px solid #396ff9;color:#353535;cursor:pointer;font-size:15px;font-weight:600;line-height:18px;padding:10px 5px;width:auto}.MyPage_tabBtnNo__J0SOC{all:unset;color:#b9b9b9;cursor:pointer;font-size:15px;font-weight:600;line-height:18px;padding:10px 5px;width:auto}.MyPage_contentBox__CRdva{min-height:100vh}.MyPage_logout__38Wx5{color:#828282;font-size:15px;font-weight:500;line-height:18px;margin:20px;text-align:center;width:auto}.Menu_background__MMx4C{width:100%}.Menu_flex_row__ooUZ4{align-items:center;display:flex;flex-direction:row;height:4.25rem;justify-content:center}.Menu_prev_btn__xyLIA{cursor:pointer;font-size:18px;left:15px;position:absolute}.Menu_menu_name__53YtC{font-family:Pretendard;font-size:18px;font-style:normal;font-weight:600;line-height:21px}.WriteableList_container__wQfgw{align-items:center;border-bottom:1px solid #f4f4f4;box-sizing:border-box;display:flex;flex-direction:row;height:84px;justify-content:space-between;margin:0 20px}.WriteableList_sbj__OEfwM{color:#353535;font-size:16px;font-weight:600;line-height:19px}.WriteableList_badge__TVz9v{border:1px solid #396ff9;border-radius:100px;color:#396ff9;cursor:pointer;font-size:12px;font-weight:500;line-height:14px;margin-left:6px;padding:5px 8px;text-decoration:none}.WriteableList_badge__TVz9v:hover{background-color:#f1f6ff}.SubjectComment_subjectComment__b4JH4{display:flexbox;height:auto;margin-bottom:.5rem;width:100%}.SubjectComment_commentListHeader__5CIWq{align-items:center;display:flex;justify-content:space-between;margin:1rem 1.2rem .5rem}.SubjectComment_comment__fFUsd{border-bottom:1px solid #f4f4f4;display:flex;flex-direction:column;margin:1rem 1.2rem 0;padding-bottom:1.2rem}.SubjectComment_commentBox__8nItQ{all:unset}.SubjectComment_sortContainer__j\+QAu{display:flex}.SubjectComment_commentSort__V4LVH{all:unset;color:#353535;cursor:pointer;display:inline-block;font-size:14px;font-size:16px;font-weight:600;line-height:22px;padding:1rem 0 1rem 2rem}.SubjectComment_star_container__lsjbR{display:flex;flex-direction:row}.SubjectComment_divide__WOG9D{color:#efefef;font-size:10px;font-weight:500;letter-spacing:-.005em;line-height:21px;margin:0 .4rem}.SubjectComment_sortBtn__r46G9{margin:auto}.SubjectComment_commentUser__j090E{color:#353535;display:flex;flex-direction:row;font-size:16px;font-weight:600;justify-content:space-between;line-height:19px}.SubjectComment_commentUserBadge__CBDWx{border:.8px solid #8cacfb;border-radius:10px;color:#769dff;font-size:8px;font-weight:600;line-height:24px;margin-left:6px;padding:2px 5px 1px}.SubjectComment_commentEditBtn__7Uy0p{color:#c9c9c9;cursor:pointer;font-size:12px;font-weight:500;letter-spacing:-.005em;line-height:21px}.SubjectComment_commentContent__pLv3E{color:#353535;font-size:14px;font-weight:500;line-height:20px;margin-top:12px;white-space:pre-line;word-break:break-all}.SubjectComment_commentTime__kezzM{color:#cbcbcb;font-size:10px;font-weight:500;letter-spacing:-.005em;line-height:21px}.SubjectComment_likeContainer__A3KUf{align-items:center;cursor:pointer;display:flex;flex-direction:row;justify-content:flex-end}.SubjectComment_heartNum__8iB9F{color:#999;font-size:14px;font-weight:500;letter-spacing:-.005em;line-height:21px;margin-left:3px}.SubjectComment_redButton__XbCKp{all:unset;color:red}.SubjectComment_emptyButton__9XuES{all:unset;color:gray}.SubjectComment_detailContainer__cqvJB{display:flex;flex-direction:row;flex-wrap:wrap}.SubjectComment_detailValue__JTWRq{color:#666;font-size:13px;font-weight:600;line-height:22px;margin-right:1rem;width:40%}.SubjectComment_detailTitle__mRJKk{display:inline-block;margin-right:5px;width:3rem;word-break:keep-all}.SubjectComment_detailContent__wwCcD{color:#6a7795;font-size:13px;font-weight:500;line-height:16px;word-break:keep-all}.Comments_star_container__YjOBy{align-items:center;display:flex;flex-direction:row;margin-bottom:13px}.Comments_star_font__ngg6a{-webkit-transform:translateY(3%);transform:translateY(3%)}.Comments_star__-JVxU{width:14px}.Comments_divide__GU2At{color:#efefef;font-size:10px;font-weight:500;letter-spacing:-.005em;line-height:21px;margin:0 .4rem}.Comments_star_rating__YuNkN{color:#666;font-size:11px;font-weight:600;line-height:13px;margin-left:2px}.Comments_commentEditBtn__HEFph{all:unset;background-color:#396ff9;border-radius:50px;color:#fff;color:#c9c9c9;cursor:pointer;font-size:13px;font-size:12px;font-weight:500;height:2rem;letter-spacing:-.005em;line-height:30px;line-height:21px;text-align:center;width:9rem}.StarRating_star_container__yB5y-{align-items:center;display:flex;flex-direction:row;margin-bottom:13px}.StarRating_star_font__qjhr0{-webkit-transform:translateY(3%);transform:translateY(3%)}.StarRating_star__eimu0{width:14px}.StarRating_divide__l\+9vd{color:#efefef;font-size:10px;font-weight:500;letter-spacing:-.005em;line-height:21px;margin:0 .4rem}.StarRating_star_rating__kd3C0{color:#666;font-size:11px;font-weight:600;line-height:13px;margin-left:2px}.SubjectDetail_subtitle__Ym-Rn{font-size:22px;font-weight:600;margin:30px 0 0 20px}.SubjectDetail_SubjectInfo__Kwbtv{display:flex;font-family:Pretendard;font-size:15px;font-style:normal;font-weight:500;letter-spacing:-.5px;line-height:22px;margin:9px 20px 0;min-height:5rem;word-break:keep-all}.SubjectDetail_btn__aTWOx{background:#396ff9;bottom:0;color:#fff;cursor:pointer;height:3rem;left:0;position:fixed;width:100%}.SubjectDetail_tab__iFiaX{display:flex}.SubjectDetail_tab_btn__QPXfY{border-bottom:2px solid #f4f4f4;color:#686868;font-weight:600}.SubjectDetail_tab_btn__QPXfY,.SubjectDetail_tab_select_btn__uTZK4{cursor:pointer;font-family:Pretendard;font-size:15px;font-style:normal;height:2rem;line-height:18px;padding-top:1rem;text-align:center;text-decoration:none;width:50%}.SubjectDetail_tab_select_btn__uTZK4{border-bottom:2px solid #396ff9;color:#000;font-weight:700}.SubjectDetail_wikiContent__fFLAH{font-family:Pretendard;font-size:15px;font-style:normal;font-weight:500;letter-spacing:-.005em;line-height:21px;margin:20px 20px 4rem}.SubjectDetail_headline__BKTX\+{background:#f7f7f7;height:10px;margin-top:1rem}.SubjectDetail_editBtnContainer__7fjwo{align-items:center;display:flex;justify-content:center;margin-bottom:2rem}.SubjectDetail_editBtn__MLSMq{all:unset;background-color:#396ff9;border-radius:50px;color:#fff;font-size:13px;font-weight:500;height:2rem;line-height:30px;text-align:center;width:9rem}.SubjectWiki_wikiBox__BUq6\+{display:flex;flex-direction:column}.SubjectWiki_submit__L5323{align-items:center;display:flex;justify-content:space-between;margin-top:1rem;padding-bottom:1rem;text-align:center;width:100%}.SubjectWiki_cancleBtn__Gxs2d{background:#eee;border:none;border-radius:10px;color:#000;height:2.5rem;margin-left:auto;margin-right:1rem;width:7rem}.SubjectWiki_submitBtn__fuzCv{background:#396ff9;border:1.5px solid #eee;border-radius:10px;color:#fff;height:2.5rem;margin-left:1rem;margin-right:auto;width:7rem}.SubjectWiki_wiki__OLKTg{font-family:Pretendard;height:5rem;margin:20px}.SubjectWiki_limitWord__5Qcyg{color:#c6c6c6;font-family:Pretendard;font-size:10px;font-style:normal;font-weight:500;height:2rem;line-height:12px;margin-right:5px;margin-top:-1.6rem;text-align:right;width:96%} +/*! + * Quill Editor v1.3.7 + * https://quilljs.com/ + * Copyright (c) 2014, Jason Chen + * Copyright (c) 2013, salesforce.com + */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{height:1px;left:-100000px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{word-wrap:break-word;box-sizing:border-box;height:30rem;line-height:1.42;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;margin:0;padding:0}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-increment:list-0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow .ql-toolbar:after,.ql-snow.ql-toolbar:after{clear:both;content:"";display:table}.ql-snow .ql-toolbar button,.ql-snow.ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow .ql-toolbar button svg,.ql-snow.ql-toolbar button svg{float:left;height:100%}.ql-snow .ql-toolbar button:active:hover,.ql-snow.ql-toolbar button:active:hover{outline:none}.ql-snow .ql-toolbar input.ql-image[type=file],.ql-snow.ql-toolbar input.ql-image[type=file]{display:none}.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar button.ql-active,.ql-snow .ql-toolbar button:focus,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover{color:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow .ql-toolbar button:hover:not(.ql-active),.ql-snow.ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;-webkit-transform:translateY(10px);transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{margin-bottom:5px;margin-top:5px;padding:5px 10px;white-space:pre-wrap}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;padding:2px 4px;width:24px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{margin-top:-9px;position:absolute;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item:before,.ql-snow .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item:before,.ql-snow .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item:before,.ql-snow .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:0 2px 8px rgba(0,0,0,.2)}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{border:1px solid #ccc;display:none;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.SubjectAnalysis_container__uDt8-{margin:20px 30px;padding:0}.SubjectAnalysis_review__\+SUpf{font-size:16px;font-weight:600;line-height:19px;word-break:keep-all}.SubjectAnalysis_flex__DndOW{align-items:center;display:flex;flex-direction:row;justify-content:center}.SubjectAnalysis_flexItem__qjXvm{text-align:center;width:50%}.SubjectAnalysis_minusMargin__j6S8b{margin-bottom:-.3rem}.SubjectAnalysis_graphMargin__FfiDY{margin:.1rem}.SubjectAnalysis_ratingStr__v8ea\+{font-size:36px;font-weight:700;letter-spacing:-.004em;line-height:43px}.SubjectAnalysis_avgGraph__CuCRK{margin:0;padding:0}.SubjectAnalysis_smallFont__70tyh{color:#b1b1b1;font-size:10px;font-weight:600;letter-spacing:-.004em;line-height:12px;margin:.2rem;padding:0}.SubjectAnalysis_borderRight__ZKZLO{border-right:1px solid #eff1f8}.SubjectAnalysis_bar_chart__I4JEh{background:#f6f9ff;border-radius:5px;display:inline-block;height:.5rem;margin:0;padding:0;position:relative;width:calc(100% - 4.5rem)}.SubjectAnalysis_bar__qTvBf{background:#959db0;border-radius:5px;height:.5rem;left:0;position:absolute;top:0}.SubjectAnalysis_avg_container__LyDfR{margin-top:2rem}.SubjectDetailAvg_flex__fCNOt{display:flex;flex-direction:row;justify-content:space-between;width:100%}.SubjectDetailAvg_container__saFBW{border:1px solid #efefef;border-radius:5px;margin-bottom:.6rem;padding:.6rem .7rem}.SubjectDetailAvg_small_flex__EDMcF{display:flex;flex-direction:row;justify-content:space-between;width:100%}.SubjectDetailAvg_font__pUfkA{font-size:13px;font-weight:600;line-height:22px;white-space:nowrap;width:50%;word-break:keep-all}.SubjectDetailAvg_font_color_blue__hJZaC{color:#353535;font-size:12px;font-weight:600;text-align:right}.SubjectDetailAvg_avg_name__L\+yes{color:#666;font-size:13px;font-weight:600;line-height:22px;margin-right:2rem;width:2rem;word-break:keep-all}.SubjectDetailAvg_baseline__DvRSx{border-bottom:1px dashed #cbcbcb;margin:auto 1rem;width:100%}.SubjectDetailAvg_arrow_container__7YI\+G{border-radius:12.5px;margin-left:.5rem;padding:0 .2rem;width:10%}.SubjectDetailAvg_arrow_container__7YI\+G:hover{background-color:#f6f9ff}.SubjectDetailAvg_graphContainer__ktZYw{align-items:flex-end;display:flex;flex-direction:column;justify-content:flex-end;left:64px;margin-top:.4rem;position:relative;width:calc(100% - 94px)}.SubjectDetailAvg_graph__d\+nB1{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:7px;width:100%}.SubjectDetailAvg_graph_pull__bGtx\+{background-color:#f8f8f8;color:#959db0}.SubjectDetailAvg_graph_pull__bGtx\+,.SubjectDetailAvg_graph_pull_max__7Wxxr{border-radius:5px;font-size:13px;font-weight:600;line-height:16px;padding:5px 4px}.SubjectDetailAvg_graph_pull_max__7Wxxr{background-color:#f1f6ff;color:#396ff9}.SubjectDetailAvg_graphFont__sufps{color:#959db0}.SubjectDetailAvg_graphFontMax__3F9aO,.SubjectDetailAvg_graphFont__sufps{font-size:12px;font-weight:600;line-height:14px;margin-top:6px;text-align:right}.SubjectDetailAvg_graphFontMax__3F9aO{color:#396ff9}.CommentInputModal_title__I6SbD{color:#222;display:flex;font-family:Pretendard;font-size:18px;font-style:normal;font-weight:600;justify-content:right;line-height:21px;margin-top:20px;width:100%}.CommentInputModal_titleName__WEY0Z{margin-left:auto;margin-right:auto}.CommentInputModal_margin__jP3TZ{font-family:Pretendard;font-size:15px;font-style:normal;font-weight:600;line-height:18px;margin-bottom:.3rem}.CommentInputModal_divisionLine__qEx1V{border-bottom:1.5px solid #eee;margin-bottom:16px;margin-left:auto;margin-right:auto;width:95%}.CommentInputModal_Q__ifGfn{color:#396ff9;font-family:Reem Kufi Ink;font-size:18px;font-style:normal;font-weight:700;line-height:27px}.CommentInputModal_boxmargin__VbFMq{margin-bottom:1rem}.CommentInputModal_inlinetext__qO7li{display:inline-block;padding-top:.3rem}.CommentInputModal_flex__KnJPR{display:flex;flex-direction:row}.CommentInputModal_submit__diQhg{margin-top:1em;text-align:center;width:100%}.CommentInputModal_subjectTitle__FUBLl{display:flex;flex-direction:column;margin-bottom:16px;margin-right:auto;margin-top:16px}.CommentInputModal_circle__8SUq2{color:#a7a7a7;font-family:SF Pro Display;font-size:13px;font-style:normal;font-weight:600;line-height:16px}.CommentInputModal_subjectName__HqPm6{font-family:SF Pro Display;font-size:22px;font-style:normal;font-weight:600;line-height:26px}.CommentInputModal_contentBox__Vmk2k{width:100%}.CommentInputModal_back__OrMFf{align-items:center;background-color:rgba(0,0,0,.4);display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%}.CommentInputModal_front__KAyZN{align-items:center;background-color:#fff;display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:20px;width:100%}.CommentInputModal_answerBox__loz7D{grid-gap:3%;align-content:space-between;display:grid;gap:3%;grid-template-columns:repeat(auto-fill,minmax(30%,auto));justify-items:stretch;margin-bottom:53px;width:100%}.CommentInputModal_selectAnswer__6y8al{background:#f6f9ff;border:1px solid #396ff9;color:#396ff9}.CommentInputModal_answer__Q9aij,.CommentInputModal_selectAnswer__6y8al{align-items:center;border-radius:5px;cursor:pointer;display:flex;font-family:Pretendard;font-size:12px;font-style:normal;font-weight:600;height:2.5rem;justify-content:center;line-height:14px;margin-bottom:2%}.CommentInputModal_answer__Q9aij{background:#f9f9f9;border:none;color:#686868}.CommentInputModal_submitBtn__9s8Z5{all:unset;background:#396ff9;border-radius:10px;color:#fff;font-family:Inter;font-size:16px;font-style:normal;font-weight:600;height:50px;line-height:19px;text-align:center;width:100%}.CommentInputModal_inputString__sSZU8{height:6rem;text-align:inherit;width:98%}.CommentInputModal_star__NMs80{margin-right:.25rem}.CommentInputModal_starRate__FXbv8 input[type=radio]{left:-9999px;opacity:0;position:absolute}.CommentInputModal_starRate__FXbv8 fieldset{border:0}.CommentInputModal_starRating__NkOYX{align-items:center;display:flex;justify-content:center}.CommentInputModal_limitWord__k6qU5{color:#c6c6c6;height:2rem;margin-right:5px;margin-top:-1.6rem;text-align:right;width:96%}.CommentInputModal_announce__0tGbi,.CommentInputModal_limitWord__k6qU5{font-family:Pretendard;font-size:10px;font-style:normal;font-weight:500;line-height:12px}.CommentInputModal_announce__0tGbi{color:#adadad;margin-bottom:30px;margin-right:auto}.Empty_container__cDXnw{align-items:center;display:flex;flex-direction:column;height:100vh;justify-content:center;position:fixed;width:100vw}.Empty_text__gB2PE{margin-top:1rem}.Admin_container__sldWx{font-family:Pretendard;font-size:16px;font-style:normal;font-weight:400;line-height:18px;text-decoration:none}.Admin_btn__65Fdb{all:unset;background-color:#4c4c4c;border:1px solid #1c1c1c;border-radius:5px;color:#fff;padding:5px;text-decoration:none}.Admin_btn__65Fdb:hover{background-color:#181818}.Admin_btnWarning__oyFr-{all:unset;background-color:red;border:1px solid #1c1c1c;border-radius:5px;color:#fff;padding:5px;text-decoration:none}.Admin_btnWarning__oyFr-:hover{all:unset;background-color:#700;border:1px solid #1c1c1c;border-radius:5px;color:#fff;padding:5px;text-decoration:none} +/*# sourceMappingURL=main.b292dbe4.css.map*/ \ No newline at end of file diff --git a/build/static/css/main.b292dbe4.css.map b/build/static/css/main.b292dbe4.css.map new file mode 100644 index 0000000..979a69b --- /dev/null +++ b/build/static/css/main.b292dbe4.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.b292dbe4.css","mappings":"AAAA,KAME,kCAAmC,CACnC,iCAAkC,CALlC,sBAAyB,CAEzB,cAAe,CADf,iBAAkB,CAElB,gBAAiB,CAJjB,QAOF,CAOA,yBACE,KACE,sBAAyB,CAEzB,cAAe,CADf,iBAAkB,CAWlB,WAAY,CATZ,gBAAiB,CAEjB,eAAgB,CADhB,UAEF,CACF,CAUA,KACE,uEAEF,CAEA,WACE,sBACF,CChBA,mBACI,sBACJ,CAEA,uBACI,UACJ,CAEA,sBAGI,kBAAmB,CAFnB,YAAa,CACb,sBAAuB,CAEvB,YACJ,CACA,uBACI,SAAU,CAGV,cAAe,CAEf,WAAY,CAHZ,gBAAiB,CADjB,cAAe,CAGf,UAEJ,CAEA,kBAEI,WAAY,CADZ,UAEJ,CCnDA,+BAGE,kBAAmB,CAFnB,YAAa,CAIb,qBAAsB,CAHtB,sBAAyB,CAEzB,oBAAqB,CAErB,cACF,CACA,kCAOE,aAAc,CALd,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBAAiB,CALjB,iBAOF,CAEA,mCAME,uBAAwB,CAExB,UAAY,CAPZ,YAAa,CAEb,6BAA8B,CAC9B,aAAc,CACd,iBAAkB,CAElB,oBAAqB,CAErB,oBAAqB,CAPrB,UAQF,CAMA,qGACE,YACF,CAEA,+BAcC,+BAAgC,CADhC,aAAc,CAId,eAGC,CAEA,oEAhBD,kBAAmB,CALnB,2BAA4B,CAE5B,2BAA4B,CAD5B,uBAAwB,CAaxB,cAAe,CAVf,YAAa,CADb,SAAU,CAYV,0BAA6B,CAE7B,cAAe,CANf,iBAAkB,CAJlB,YAAc,CADd,sBAAuB,CAYvB,gBAAiB,CARjB,oBAAsB,CADtB,kBAAmB,CADnB,SAoCC,CAvBA,qCAiBD,+BAAgC,CAFhC,UAAY,CAKZ,eAGC,CAGF,iCAIE,uBAAwB,CAHxB,kBAAmB,CAKnB,UAAY,CAGZ,mBAAoB,CADpB,gBAAiB,CAHjB,oBAAqB,CAErB,oBAAqB,CALrB,UAQF,CAEA,oCACC,YAAa,CACb,6BAA8B,CAE9B,oBAAsB,CADtB,iBAAmB,CAEnB,oBACD,CAEA,oDACE,YACF,CAEA,mCACE,2BAA+B,CAI/B,iBAAkB,CAClB,SACF,CAEA,iCAOC,aAAc,CANd,0BAA6B,CAG7B,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBAAiB,CACjB,gBAED,CAEA,iCAOC,aAAc,CANd,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBAAiB,CACjB,iBAAkB,CAElB,oBACD,CC1IA,kCAIE,kBAAmB,CAEnB,wBAAyB,CALzB,YAAa,CACb,qBAAsB,CACtB,sBAAuB,CAKvB,cACF,CAEA,8BAGE,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBAAiB,CANjB,iBAAkB,CAClB,mBAMF,CAEA,6BAME,uBAAwB,CALxB,YAAa,CAEb,qBAAsB,CACtB,eAAgB,CAChB,iBAAkB,CAElB,oBAAqB,CALrB,UAOF,CAEA,gDACE,YACF,CAEA,mCAkBE,qBAAuB,CADvB,aAAc,CAXd,eAeF,CAEA,qEAXE,kBAAmB,CAXnB,2BAA4B,CAE5B,2BAA4B,CAD5B,uBAAwB,CAiBxB,qBAAyB,CACzB,mBAAoB,CATpB,cAAe,CADf,YAAa,CADb,SAAU,CALV,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CASlB,WAAY,CADZ,sBAAuB,CALvB,gBAAiB,CAQjB,iBAAmB,CADnB,aA6BF,CArBA,kCAkBC,wBAAyB,CADzB,UAAc,CAXd,eAeD,CChFA,qCAGE,qBAAuB,CAKvB,qBAAyB,CAJzB,kBAAmB,CAMnB,kCAA2C,CAD3C,WAAY,CAPZ,6BAA8B,CAI9B,mBAAoB,CADpB,gBAAiB,CAEjB,UAIF,CAEA,wCACE,2BAA+B,CAI/B,iBAAkB,CAClB,SACF,CACA,yCAGE,kBAAmB,CACnB,UAAY,CAHZ,YAAa,CACb,iBAAkB,CAIlB,oBACF,CAEA,+CACE,8BAA+B,CAG/B,WAAY,CAEZ,iBACF,CAEA,mCACC,0BAA6B,CAG7B,cAAe,CAFf,iBAAkB,CAClB,eAGD,CAEA,kCAMC,aAAc,CALd,0BAA6B,CAG7B,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBAED,CAEA,uCACE,YAAa,CACb,kBAAoB,CACpB,mBACF,CAEA,kCAOA,aAAc,CALZ,sBAAyB,CAG3B,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBAAiB,CALf,mBAOF,CAEA,gCAEE,kBAAmB,CADnB,YAAa,CAEb,6BACF,CACA,sCACE,iBACF,CACA,gCAEE,WAAY,CADZ,UAEF,CAEA,uCAIE,kBAAmB,CAHnB,YAAa,CACb,iBAAkB,CAClB,SAEF,CACA,sCAOE,aAAc,CALd,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBAAiB,CALjB,iBAOF,CCnGA,gCAEE,kBAAmB,CAInB,wBAAyB,CALzB,YAAa,CAGb,qBAAsB,CADtB,oBAAqB,CAErB,cAGF,CACA,4BACE,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBAAiB,CAEjB,iBAAkB,CADlB,mBAEF,CAEA,iCAME,uBAAwB,CALxB,YAAa,CAEb,YAAa,CACb,6BAA8B,CAC9B,eAAgB,CAKhB,oBAAsB,CAHtB,oBAAqB,CALrB,UAUF,CAEA,oCAME,kBAAmB,CASnB,qBAAuB,CAdvB,2BAA4B,CAE5B,2BAA4B,CAD5B,uBAAwB,CAcxB,wBAAyB,CACzB,kBAAmB,CACnB,kCAA2C,CAd3C,SAAU,CASV,iBAAkB,CANlB,sBAAuB,CAKvB,gBAAiB,CAHjB,cAAe,CADf,WAWF,CAEA,wCAEE,kBAAmB,CADnB,YAAa,CAEb,mBACF,CAEA,kCACE,SAAS,CAKT,aAAc,CAJd,0BAA6B,CAG7B,cAAe,CAFf,iBAAkB,CAClB,eAGF,CAEA,+BAWE,oBAAsB,CAGtB,oBAAqB,CACrB,2BAA4B,CAL5B,aAAc,CAGd,mBAAoB,CAZpB,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAIhB,WAAY,CAFZ,gBAAiB,CACjB,mBAAqB,CAErB,eAAgB,CAIhB,eAAiB,CAHjB,sBAQF,CAEA,+BAOI,aAAc,CANd,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBAGJ,CAEA,oDACE,YACF,CACA,iCASA,aAAc,CARV,sBAAyB,CAG7B,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBAAiB,CAEjB,kBAAmB,CADnB,eAIA,CAEA,2BAEI,WAAY,CACZ,eAAgB,CAChB,gBAAiB,CAHjB,UAIF,CCtHF,yBAKC,oBAAoB,CAFpB,YAAa,CACb,kBAAmB,CAFnB,WAAY,CAIZ,sBAAuB,CACvB,WAAY,CANZ,UAOD,CAEA,mBAEC,WAAY,CACZ,gBAAiB,CAFjB,UAGD,CAEA,oBAQI,oBAAqB,CADrB,aAAc,CANjB,oBAAqB,CAErB,sBAAyB,CAGtB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAHnB,oBAOD,CCzBA,wBAME,kBAAmB,CAHnB,YAAa,CACb,qBAAsB,CAFtB,YAAa,CAGb,sBAAuB,CAJvB,UAMF,CAEA,mBACE,WACF,CAEA,uBAME,kBAAmB,CACnB,kBAAmB,CAMnB,UAAc,CAFd,cAAe,CADf,eAAgB,CARhB,WAAY,CAUZ,gBAAiB,CATjB,eAAgB,CAChB,mBAAsB,CACtB,iBAAkB,CAIlB,oBAAqB,CARrB,WAaF,CC3BA,6BACE,gBACF,CAEA,yBAEE,+BAAgC,CADhC,UAEF,CAEA,yBAME,oBAAqB,CAHrB,YAAa,CACb,kBAAmB,CAHnB,WAAY,CAIZ,6BAA8B,CAH9B,iBAKF,CAEA,sBAIE,aAAc,CAFd,cAAe,CADf,eAAgB,CAEhB,gBAEF,CAEA,0BAOE,wBAAyB,CACzB,iBAAkB,CAFlB,aAAc,CAFd,aAAc,CADd,eAAgB,CAEhB,gBAAiB,CAKjB,eAAgB,CADhB,eAAgB,CARhB,iBAAkB,CAClB,QASF,CAEA,2BAIE,aAAc,CAFd,cAAe,CADf,eAAgB,CAEhB,gBAEF,CAEA,6BAKE,kBAAmB,CAEnB,4BAA6B,CAL7B,YAAa,CACb,kBAAmB,CAFnB,WAAY,CAGZ,4BAA6B,CAE7B,aAEF,CAEA,wBAGE,kBAAmB,CAFnB,YAAa,CACb,qBAEF,CAEA,0BAIE,aAAc,CAFd,cAAe,CADf,eAAgB,CAEhB,gBAEF,CAEA,yBAIE,UAAc,CAFd,cAAe,CADf,eAAgB,CAEhB,gBAEF,CAEA,mBAKE,oBAAqB,CAHrB,+BAAgC,CAChC,YAAa,CAFb,WAAY,CAGZ,0BAA2B,CAE3B,cACF,CAEA,sBACE,SAAU,CAQV,+BAAgC,CADhC,aAAc,CAJd,cAAe,CAEf,cAAe,CADf,eAAgB,CAEhB,gBAAiB,CAJjB,gBAAiB,CADjB,UAQF,CAEA,wBACE,SAAU,CAOV,aAAc,CALd,cAAe,CAGf,cAAe,CADf,eAAgB,CAEhB,gBAAiB,CAHjB,gBAAiB,CAFjB,UAOF,CAEA,0BACE,gBACF,CAEA,sBAOE,aAAc,CAFd,cAAe,CADf,eAAgB,CAEhB,gBAAiB,CAJjB,WAAY,CACZ,iBAAkB,CAFlB,UAOF,CCvHA,wBACE,UACF,CAEA,sBAKE,kBAAkB,CAJlB,YAAa,CAEb,kBAAmB,CADnB,cAAe,CAEf,sBAEF,CAEA,sBAEE,cAAc,CAEd,cAAc,CADd,SAAS,CAFT,iBAIF,CACA,uBACE,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBACF,CCxBA,gCAOE,kBAAmB,CACnB,+BAAgC,CAPhC,qBAAsB,CACtB,YAAa,CACb,kBAAmB,CACnB,WAAY,CAEZ,6BAA8B,CAD9B,aAIF,CAEA,0BAIE,aAAc,CAFd,cAAe,CADf,eAAgB,CAEhB,gBAEF,CAEA,4BASE,wBAAyB,CACzB,mBAAoB,CAFpB,aAAc,CAHd,cAAe,CACf,cAAe,CAFf,eAAgB,CAGhB,gBAAiB,CALjB,eAAgB,CAChB,eAAgB,CAFhB,oBAUF,CAEA,kCACE,wBACF,CCjCA,sCAGE,eAAgB,CADhB,WAAY,CAEZ,mBAAqB,CAHrB,UAIF,CAEA,yCAIE,kBAAmB,CAFnB,YAAa,CACb,6BAA8B,CAF9B,wBAIF,CAEA,+BAEE,+BAAgC,CADhC,YAAa,CAEb,qBAAsB,CAEtB,oBAA4B,CAD5B,qBAEF,CAEA,kCACE,SACF,CAEA,sCACE,YACF,CAEA,mCACE,SAAU,CAOV,aAAc,CACd,cAAe,CAPf,oBAAqB,CAGrB,cAAe,CAEf,cAAe,CAHf,eAAgB,CAEhB,gBAAiB,CAHjB,wBAOF,CAEA,sCACE,YAAa,CACb,kBACF,CAEA,8BAME,aAAc,CAHd,cAAe,CADf,eAAgB,CAGhB,sBAAwB,CADxB,gBAAiB,CAHjB,cAMF,CAEA,+BACE,WACF,CAGA,mCAOE,aAAc,CANd,YAAa,CACb,kBAAmB,CAGnB,cAAe,CADf,eAAgB,CADhB,6BAA8B,CAG9B,gBAEF,CAEA,wCAOE,yBAA2B,CAC3B,kBAAmB,CAFnB,aAAc,CAFd,aAAc,CADd,eAAgB,CAEhB,gBAAiB,CAJjB,eAAgB,CAChB,mBAOF,CAEA,sCAME,aAAc,CAFd,cAAe,CAFf,cAAe,CADf,eAAgB,CAIhB,sBAAwB,CAFxB,gBAIF,CAEA,sCAKE,aAAc,CAFd,cAAe,CADf,eAAgB,CAEhB,gBAAiB,CAHjB,eAAgB,CAMhB,oBAAoB,CADpB,oBAEF,CAEA,mCAKE,aAAc,CAHd,cAAe,CADf,eAAgB,CAGhB,sBAAwB,CADxB,gBAGF,CAEA,qCAKE,kBAAmB,CAHnB,cAAe,CADf,YAAa,CAEb,kBAAmB,CACnB,wBAEF,CAEA,gCAKE,UAAc,CAHd,cAAe,CADf,eAAgB,CAGhB,sBAAwB,CADxB,gBAAiB,CAGjB,eACF,CAEA,iCACE,SAAU,CACV,SACF,CAEA,mCACE,SAAU,CACV,UACF,CAEA,uCACE,YAAa,CACb,kBAAmB,CACnB,cACF,CAEA,mCAME,UAAc,CAFd,cAAe,CADf,eAAgB,CAEhB,gBAAiB,CAHjB,iBAAkB,CADlB,SAMF,CAEA,mCACE,oBAAqB,CAGrB,gBAAiB,CAFjB,UAAW,CACX,mBAEF,CAEA,qCAKE,aAAc,CAFd,cAAe,CADf,eAAgB,CAEhB,gBAAiB,CAHjB,mBAKF,CCpKA,gCAGE,kBAAmB,CAFnB,YAAa,CACb,kBAAmB,CAEnB,kBACF,CAEA,2BACE,gCAAyB,CAAzB,wBACF,CAEA,sBACE,UACF,CAEA,wBAME,aAAc,CAHd,cAAe,CADf,eAAgB,CAGhB,sBAAwB,CADxB,gBAAiB,CAHjB,cAMF,CAEA,6BAKE,UAAc,CAFd,cAAe,CADf,eAAgB,CAEhB,gBAAiB,CAHjB,eAKF,CAEA,gCACE,SAAU,CASV,wBAAyB,CACzB,kBAAmB,CAFnB,UAAY,CAOZ,aAAc,CATd,cAAe,CADf,cAAe,CAOf,cAAe,CADf,eAAgB,CAThB,WAAY,CAYZ,sBAAwB,CAPxB,gBAAiB,CAMjB,gBAAiB,CAVjB,iBAAkB,CAFlB,UAeF,CCjDA,kCAGC,kBAAmB,CAFnB,YAAa,CACb,kBAAmB,CAEnB,kBACD,CAEA,6BACC,gCAAyB,CAAzB,wBACD,CAEA,wBACE,UACF,CAEA,2BAMC,aAAa,CAHb,cAAe,CADf,eAAgB,CAGhB,sBAAwB,CADxB,gBAAiB,CAHjB,cAMD,CAEA,+BAKE,UAAc,CAFd,cAAe,CADf,eAAgB,CAEhB,gBAAiB,CAHjB,eAKF,CC9BA,+BACE,cAAe,CACf,eAAgB,CAChB,oBACF,CAEA,kCACE,YAAa,CAGb,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAKhB,oBAAsB,CADtB,gBAAiB,CAEjB,iBAAyB,CAVzB,eAAgB,CAMhB,mBAKF,CAEA,0BAOE,kBAAmB,CAJnB,QAAS,CAKT,UAAc,CANd,cAAe,CAIf,WAAY,CAFZ,MAAO,CAHP,cAAe,CAIf,UAIF,CAEA,0BACE,YACF,CAEA,8BAaE,+BAAgC,CADhC,aAAc,CALd,eAOF,CAEA,mEAZE,cAAe,CACf,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAJlB,WAAY,CAOZ,gBAAiB,CANjB,gBAAiB,CAOjB,iBAAkB,CAClB,oBAAqB,CAVrB,SA6BF,CAdA,qCAaE,+BAAgC,CADhC,UAAY,CALZ,eAOF,CAEA,kCAGE,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAGhB,sBAAwB,CADxB,gBAAiB,CALjB,qBAOF,CAEA,gCAGE,kBAAmB,CAFnB,WAAY,CACZ,eAEF,CAEA,uCAGC,kBAAmB,CAFnB,YAAa,CACb,sBAAuB,CAEvB,kBACD,CAEA,8BACC,SAAS,CAUT,wBAAyB,CACzB,kBAAmB,CAFnB,UAAY,CAHZ,cAAe,CADf,eAAgB,CAHhB,WAAY,CAKZ,gBAAiB,CAHjB,iBAAkB,CAHlB,UAWD,CCjGA,6BACE,YAAa,CAEb,qBAEF,CAEA,2BAKE,kBAAmB,CAHnB,YAAa,CAEb,6BAA8B,CAG9B,eAAgB,CADhB,mBAAoB,CAHpB,iBAAkB,CAFlB,UAOF,CACA,8BAOE,eAAmB,CADnB,WAAY,CADZ,kBAAmB,CAGnB,UAAY,CANZ,aAAc,CACd,gBAAiB,CACjB,iBAAkB,CAHlB,UAQF,CAEA,8BAOE,kBAAmB,CADnB,uBAA2B,CAD3B,kBAAmB,CAGnB,UAAc,CANd,aAAc,CACd,gBAAiB,CACjB,iBAAkB,CAHlB,UAQF,CAEA,yBACE,sBAAyB,CACzB,WAAY,CACZ,WACF,CAEA,8BAWE,aAAc,CALd,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CANhB,WAAY,CAQZ,gBAAiB,CANjB,gBAAiB,CACjB,kBAAmB,CAFnB,gBAAiB,CAFjB,SAWF;AChEA;;;;;EAKE,CACF,cACE,qBAAsB,CACtB,sCAAyC,CACzC,cAAe,CACf,WAAY,CACZ,QAAW,CACX,iBACF,CACA,sCACE,iBACF,CACA,gEACE,mBACF,CACA,cAEE,UAAW,CADX,cAAe,CAEf,iBAAkB,CAClB,iBAAkB,CAClB,OACF,CACA,gBACE,QAAS,CACT,SACF,CACA,WAWE,oBAAqB,CAVrB,qBAAsB,CAEtB,YAAa,CADb,gBAAiB,CAEjB,YAAa,CACb,eAAgB,CAChB,iBAAkB,CAClB,UAAW,CACX,eAAgB,CAChB,eAAgB,CAChB,oBAEF,CACA,aACE,WACF,CACA,kKAaE,4EAA6E,CAF7E,QAAS,CACT,SAEF,CACA,4BAEE,kBACF,CACA,kCAEE,oBACF,CACA,wBACE,eACF,CACA,mEAEE,mBACF,CACA,6EAEE,kBACF,CACA,uFAEE,UAAW,CACX,cAAe,CACf,kBACF,CACA,2CACE,eACF,CACA,4CACE,eACF,CACA,qBACE,oBAAqB,CACrB,kBAAmB,CACnB,WACF,CACA,4CACE,kBAAmB,CACnB,iBAAmB,CACnB,gBACF,CACA,sCACE,gBAAkB,CAClB,mBACF,CACA,gFAEE,kBACF,CACA,oEAEE,mBACF,CACA,iBAEE,wBAAyB,CADzB,4EAEF,CACA,wBACE,oCACF,CACA,6BACE,wBACF,CACA,oCACE,wCACF,CACA,6BACE,qEACF,CACA,6BACE,wBACF,CACA,oCACE,wCACF,CACA,6BACE,8DACF,CACA,6BACE,wBACF,CACA,oCACE,oCACF,CACA,6BACE,uDACF,CACA,6BACE,wBACF,CACA,oCACE,wCACF,CACA,6BACE,gDACF,CACA,6BACE,wBACF,CACA,oCACE,wCACF,CACA,6BACE,yCACF,CACA,6BACE,wBACF,CACA,oCACE,oCACF,CACA,6BACE,kCACF,CACA,6BACE,wBACF,CACA,oCACE,wCACF,CACA,6BACE,2BACF,CACA,6BACE,wBACF,CACA,oCACE,wCACF,CACA,6BACE,oBACF,CACA,6BACE,wBACF,CACA,oCACE,oCACF,CACA,+CACE,gBACF,CACA,iDACE,kBACF,CACA,wDACE,iBACF,CACA,0DACE,mBACF,CACA,+CACE,gBACF,CACA,iDACE,kBACF,CACA,wDACE,iBACF,CACA,0DACE,mBACF,CACA,+CACE,gBACF,CACA,iDACE,mBACF,CACA,wDACE,iBACF,CACA,0DACE,oBACF,CACA,+CACE,iBACF,CACA,iDACE,mBACF,CACA,wDACE,kBACF,CACA,0DACE,oBACF,CACA,+CACE,iBACF,CACA,iDACE,mBACF,CACA,wDACE,kBACF,CACA,0DACE,oBACF,CACA,+CACE,iBACF,CACA,iDACE,mBACF,CACA,wDACE,kBACF,CACA,0DACE,oBACF,CACA,+CACE,iBACF,CACA,iDACE,mBACF,CACA,wDACE,kBACF,CACA,0DACE,oBACF,CACA,+CACE,iBACF,CACA,iDACE,mBACF,CACA,wDACE,kBACF,CACA,0DACE,oBACF,CACA,+CACE,iBACF,CACA,iDACE,mBACF,CACA,wDACE,kBACF,CACA,0DACE,oBACF,CACA,qBACE,aAAc,CACd,cACF,CACA,qCACE,aACF,CACA,oCACE,iBACF,CACA,wBACE,qBACF,CACA,sBACE,wBACF,CACA,yBACE,qBACF,CACA,yBACE,qBACF,CACA,wBACE,wBACF,CACA,uBACE,qBACF,CACA,yBACE,qBACF,CACA,2BACE,UACF,CACA,yBACE,aACF,CACA,4BACE,UACF,CACA,4BACE,UACF,CACA,2BACE,aACF,CACA,0BACE,UACF,CACA,4BACE,UACF,CACA,0BACE,yCACF,CACA,8BACE,wCACF,CACA,0BACE,eACF,CACA,0BACE,eACF,CACA,yBACE,eACF,CACA,6BACE,aAAc,CACd,kBACF,CACA,4BACE,iBACF,CACA,6BACE,kBACF,CACA,2BACE,gBACF,CACA,2BACE,oBAAsB,CACtB,8BAA+B,CAC/B,iBAAkB,CAClB,SAAU,CACV,mBAAoB,CACpB,iBAAkB,CAClB,UACF,CACA,qDAEE,UAAW,CACX,UAAW,CACX,aACF,CACA,uDAEE,eAAgB,CAChB,WAAY,CACZ,cAAe,CACf,oBAAqB,CACrB,UAAW,CACX,WAAY,CACZ,eAAgB,CAChB,UACF,CACA,+DAEE,UAAW,CACX,WACF,CACA,iFAEE,YACF,CACA,6FAEE,YACF,CACA,6jBAcE,UACF,CACA,kgDA4BE,SACF,CACA,kgDA4BE,WACF,CACA,wBACE,mGAEE,UACF,CACA,8PAIE,SACF,CACA,8PAIE,WACF,CACF,CAIA,oBACE,qBACF,CACA,oBACE,YACF,CACA,6CAEE,iBACF,CACA,qBACE,iBAAkB,CAClB,kCAA2B,CAA3B,0BACF,CACA,uBACE,cAAe,CACf,oBACF,CACA,6BACE,mCAA4B,CAA5B,2BACF,CACA,qBACE,oBAAqB,CACrB,qBACF,CACA,2BACE,UAAW,CACX,UAAW,CACX,aACF,CACA,oBACE,SAAU,CACV,WAAY,CACZ,oBAAqB,CACrB,qBAAsB,CACtB,cACF,CACA,0BACE,SAAU,CACV,WAAY,CACZ,oBAAqB,CACrB,cACF,CACA,8CAEE,SACF,CACA,mBACE,SACF,CACA,kBACE,iBACF,CACA,8CAEE,cACF,CACA,yBACE,UACF,CACA,sCACE,YACF,CACA,gDACE,cACF,CACA,iDACE,YACF,CACA,uBACE,aACF,CACA,uBACE,eACF,CACA,uBACE,gBACF,CACA,uBACE,aACF,CACA,uBACE,eACF,CACA,uBACE,eACF,CACA,sBACE,yBACF,CACA,+BACE,0BAA2B,CAC3B,iBAAkB,CAClB,cAAe,CACf,iBACF,CACA,iDAEE,wBAAyB,CACzB,iBACF,CACA,wBAEE,iBAAkB,CAClB,cAAe,CACf,gBAAiB,CAHjB,oBAIF,CACA,yBACE,aAAc,CACd,eACF,CACA,kCACE,wBAAyB,CACzB,aAAc,CACd,gBACF,CACA,wBACE,cACF,CACA,oBACE,UAAW,CACX,oBAAqB,CACrB,UAAW,CACX,cAAe,CACf,eAAgB,CAChB,WAAY,CACZ,iBAAkB,CAClB,qBACF,CACA,0BACE,cAAe,CACf,oBAAqB,CACrB,WAAY,CACZ,gBAAiB,CACjB,iBAAkB,CAClB,iBAAkB,CAClB,UACF,CACA,iCACE,oBAAqB,CACrB,gBACF,CACA,4BACE,qBAAsB,CACtB,YAAa,CACb,cAAe,CACf,eAAgB,CAChB,iBAAkB,CAClB,kBACF,CACA,4CACE,cAAe,CACf,aAAc,CACd,kBAAmB,CACnB,eACF,CACA,iDACE,UAAW,CACX,SACF,CACA,0DACE,SACF,CACA,4DACE,WACF,CACA,mDACE,aAAc,CACd,eAAgB,CAChB,QAAS,CACT,SACF,CACA,mDAEE,UACF,CACA,qFAEE,eACF,CACA,6FAEE,SACF,CACA,4CACE,aACF,CACA,yCACE,WAAY,CAEZ,eAAgB,CADhB,UAEF,CACA,6CACE,eAAgB,CAChB,WACF,CACA,0CACE,4BAA6B,CAC7B,UAAW,CACX,WAAY,CACZ,UAAW,CACX,SAAY,CACZ,UACF,CACA,mEAEE,eAAgB,CADhB,iBAAkB,CAElB,OAAQ,CACR,OAAQ,CACR,UACF,CACA,+fAME,wBACF,CACA,8BACE,UACF,CACA,2GAEE,gBACF,CACA,2IAEE,mBACF,CACA,2IAEE,mBACF,CACA,2IAEE,mBACF,CACA,2IAEE,mBACF,CACA,2IAEE,mBACF,CACA,2IAEE,mBACF,CACA,qEACE,aACF,CACA,qEACE,eACF,CACA,qEACE,gBACF,CACA,qEACE,aACF,CACA,qEACE,eACF,CACA,qEACE,eACF,CACA,4BACE,WACF,CACA,uGAEE,oBACF,CACA,2IAEE,eACF,CACA,mJAEE,mBACF,CACA,qEACE,yCACF,CACA,yEACE,wCACF,CACA,4BACE,UACF,CACA,uGAEE,gBACF,CACA,2IAEE,eACF,CACA,2IAEE,eACF,CACA,yIAEE,cACF,CACA,qEACE,cACF,CACA,qEACE,cACF,CACA,oEACE,cACF,CACA,wDACE,qBACF,CACA,mDACE,qBACF,CACA,oBACE,qBAAsB,CACtB,qBAAsB,CACtB,qDAA+D,CAC/D,WACF,CACA,gCACE,iBACF,CACA,qCACE,4BACF,CACA,uCACE,4BAA6B,CAC7B,mCACF,CAIA,0HACE,iBACF,CACA,4HAEE,iBACF,CACA,0CACE,YACF,CACA,qBACE,qBAAsB,CACtB,qBAAsB,CACtB,uBAA4B,CAC5B,UAAW,CACX,gBAAiB,CACjB,kBACF,CACA,4BACE,oBAAqB,CACrB,gBAAiB,CACjB,gBACF,CACA,sCAEE,qBAAsB,CADtB,YAAa,CAEb,cAAe,CACf,WAAY,CACZ,QAAW,CACX,eAAgB,CAChB,WACF,CACA,kCACE,oBAAqB,CACrB,eAAgB,CAChB,iBAAkB,CAClB,sBAAuB,CACvB,kBACF,CACA,uCACE,2BAA4B,CAC5B,cAAe,CACf,gBAAiB,CACjB,iBACF,CACA,wCACE,gBAAiB,CACjB,eACF,CACA,uBACE,gBACF,CACA,yFAEE,YACF,CACA,iDACE,oBACF,CACA,kDACE,cAAiB,CACjB,cAAe,CACf,eACF,CACA,4CACE,qBACF,CACA,+CACE,wBACF,CACA,6CACE,sBACF,CACA,WACE,UACF,CACA,sBACE,qBACF,CCh7BA,kCACC,gBAA2B,CAC3B,SACD,CAEA,gCAGC,cAAe,CADf,eAAgB,CAEhB,gBAAiB,CAHjB,mBAID,CAEA,6BAEC,kBAAmB,CADnB,YAAa,CAGb,kBAAmB,CADnB,sBAED,CAEA,iCAEC,iBAAkB,CADlB,SAED,CAEA,oCACC,oBACD,CAEA,oCACC,YACD,CAEA,mCAEC,cAAe,CADf,eAAgB,CAGhB,sBAAwB,CADxB,gBAED,CAEA,iCACC,QAAS,CACT,SACD,CAEA,kCAOC,aAAc,CAHd,cAAe,CADf,eAAgB,CAGhB,sBAAwB,CADxB,gBAAiB,CAJjB,YAAc,CACd,SAMD,CAEA,oCACC,8BACD,CAEA,kCAKC,kBAAmB,CACnB,iBAAkB,CAJlB,oBAAqB,CAErB,YAAc,CAGd,QAAQ,CACR,SAAS,CAPT,iBAAkB,CAElB,yBAMD,CAEA,4BAKC,kBAAmB,CACnB,iBAAkB,CAFlB,YAAc,CADd,MAAO,CAFP,iBAAkB,CAClB,KAKC,CAEA,sCACD,eACC,CChFF,8BAEE,YAAa,CACb,kBAAmB,CACnB,6BAA8B,CAH9B,UAIF,CAEA,mCACE,wBAAyB,CACzB,iBAAkB,CAElB,mBAAqB,CADrB,mBAEF,CAEA,oCACE,YAAa,CACb,kBAAmB,CACnB,6BAA8B,CAC9B,UACF,CAMA,8BAKE,cAAe,CADf,eAAgB,CAEhB,gBAAiB,CAHjB,kBAAmB,CAFnB,SAAU,CACV,mBAKF,CAEA,yCACE,aAAc,CAEd,cAAe,CADf,eAAgB,CAEhB,gBACF,CAEA,mCAGE,UAAc,CAEd,cAAe,CADf,eAAgB,CAEhB,gBAAiB,CAJjB,iBAAkB,CADlB,UAAW,CAMX,mBACF,CAEA,kCACE,gCAAiC,CAEjC,gBAA2B,CAD3B,UAEF,CAEA,0CAIE,oBAAqB,CAFrB,iBAAmB,CACnB,eAAiB,CAFjB,SAIF,CAEA,gDACE,wBACF,CAEA,wCAQE,oBAAqB,CAHrB,YAAa,CACb,qBAAsB,CACtB,wBAAyB,CALzB,SAAU,CAEV,gBAAkB,CAHlB,iBAAkB,CAElB,uBAMF,CAEA,gCAGE,YAAa,CACb,kBAAmB,CACnB,6BAA8B,CAH9B,iBAAkB,CADlB,UAKF,CAEA,qCACE,wBAAyB,CAMzB,aACF,CAEA,6EARE,iBAAkB,CAGlB,cAAe,CADf,eAAgB,CAEhB,gBAAiB,CAHjB,eAeF,CARA,wCACE,wBAAyB,CAMzB,aACF,CAEA,mCAME,aACF,CAEA,yEANE,cAAe,CADf,eAAgB,CAEhB,gBAAiB,CAHjB,cAAe,CAIf,gBAWF,CAPA,sCAME,aACF,CC3HA,gCAQE,UAAc,CACd,YAAa,CARb,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAOhB,qBAAsB,CALtB,gBAAiB,CACjB,eAAgB,CAChB,UAIF,CACA,oCACE,gBAAiB,CACjB,iBACF,CAKA,iCAEE,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBAAiB,CALjB,mBAMF,CACA,uCACE,8BAAkC,CAElC,kBAAmB,CACnB,gBAAiB,CACjB,iBAAkB,CAClB,SACF,CAEA,4BAME,aAAc,CALd,yBAA4B,CAG5B,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBAEF,CAEA,oCACE,kBACF,CACA,qCACE,oBAAqB,CACrB,iBACF,CACA,+BACE,YAAa,CACb,kBACF,CACA,iCAGE,cAAe,CAFf,iBAAkB,CAClB,UAEF,CAEA,uCACE,YAAa,CACb,qBAAsB,CAGtB,kBAAmB,CAFnB,iBAAkB,CAClB,eAEF,CACA,iCACE,aAAc,CACd,0BAA6B,CAG7B,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBACF,CACA,sCACE,0BAA6B,CAG7B,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBACF,CAEA,qCACE,UACF,CAEA,+BASE,kBAAmB,CAHnB,+BAAoC,CACpC,YAAa,CAFb,WAAY,CAGZ,sBAAuB,CALvB,MAAO,CAFP,cAAe,CACf,KAAM,CAEN,UAMF,CAEA,gCAOE,kBAAmB,CAJnB,qBAAuB,CACvB,YAAa,CACb,qBAAsB,CAHtB,WAAY,CAOZ,eAAgB,CADhB,YAAa,CAPb,UASF,CAEA,oCAKE,WAAO,CADP,2BAA4B,CAH5B,YAAa,CAIb,MAAO,CAHP,wDAA2D,CAC3D,qBAAsB,CAItB,kBAAmB,CADnB,UAEF,CAEA,uCACE,kBAAmB,CACnB,wBAAyB,CAOzB,aAOF,CAEA,wEANE,kBAAmB,CATnB,iBAAkB,CAQlB,cAAe,CADf,YAAa,CANb,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAShB,aAAc,CAFd,sBAAuB,CALvB,gBAAiB,CAMjB,gBAoBF,CAhBA,iCACE,kBAAmB,CAcnB,WAAY,CANZ,aAOF,CACA,oCACE,SAAU,CAWV,kBAAmB,CACnB,kBAAmB,CAFnB,UAAc,CANd,iBAAoB,CAGpB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAJhB,WAAY,CAMZ,gBAAiB,CALjB,iBAAkB,CAFlB,UAYF,CAEA,sCAEE,WAAY,CACZ,kBAAmB,CAFnB,SAGF,CACA,+BACE,mBACF,CAYA,qDAGE,YAAa,CAFb,SAAU,CACV,iBAEF,CAEA,4CACE,QACF,CAEA,qCAGE,kBAAmB,CAFnB,YAAa,CACb,sBAEF,CAEA,oCAWE,aAAc,CATd,WAAY,CAEZ,gBAAiB,CACjB,kBAAmB,CAFnB,gBAAiB,CAFjB,SAWF,CAGA,uEATE,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBAcF,CATA,mCAMA,aAAc,CAEd,kBAAmB,CADnB,iBAEA,CC1OA,wBAOC,kBAAmB,CAHnB,YAAa,CACb,qBAAsB,CAHtB,YAAa,CAIb,sBAAuB,CAHvB,cAAe,CAFf,WAOD,CACA,mBACC,eACD,CCXA,wBAEE,sBAAyB,CAGzB,cAAe,CAFf,iBAAkB,CAClB,eAAgB,CAEhB,gBAAiB,CALjB,oBAMF,CAEA,kBACE,SAAU,CAGV,wBAAiC,CAEjC,wBAAiC,CACjC,iBAAkB,CAJlB,UAAY,CAEZ,WAAY,CAHZ,oBAMF,CAEA,wBACE,wBACF,CAEA,yBACE,SAAU,CAGV,oBAAgC,CAEhC,wBAAiC,CACjC,iBAAkB,CAJlB,UAAY,CAEZ,WAAY,CAHZ,oBAMF,CAEA,+BACE,SAAU,CAGV,qBAAgC,CAEhC,wBAAiC,CACjC,iBAAkB,CAJlB,UAAY,CAEZ,WAAY,CAHZ,oBAMF","sources":["index.css","components/Main.module.css","components/subject_index/SubjectIndex.module.css","components/rank/SubjectRank.module.css","components/rank/SubjectRankContent.module.css","components/RecentComment/RecentComment.module.css","components/menu/Footer.module.css","components/login/Login.module.css","components/myPage/MyPage.module.css","components/menu/Menu.module.css","components/myPage/WriteableList.module.css","components/subject_detail/SubjectComment.module.css","components/myPage/Comments.module.css","hooks/StarRating.module.css","components/subject_detail/SubjectDetail.module.css","components/subject_detail/SubjectWiki.module.css","../node_modules/react-quill/dist/quill.snow.css","components/subject_detail/SubjectAnalysis.module.css","components/subject_detail/SubjectDetailAvg.module.css","components/modal/CommentInputModal.module.css","components/Error/Empty.module.css","components/admin/Admin.module.css"],"sourcesContent":["body {\n margin: 0;\n font-family: \"Pretendard\";\n font-style: normal;\n font-size: 16px;\n line-height: 22px;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.ql-editor {\n height: 30rem !important;\n}\n\n\n@media (max-width: 700px) {\n body {\n font-family: \"Pretendard\";\n font-style: normal;\n font-size: 16px;\n line-height: 22px;\n width: 100%;\n min-width: 350px;\n }\n}\n\n@media (max-width: 700px) {\n body {\n width: 100%;\n height: 100%;\n /* background-color: gray; */\n }\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, \"Courier New\",\n monospace;\n}\n\n.ql-editor {\n height: 30rem !important;\n}\n","/*.container{\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n.width{\n display: flex;\n justify-self: center;\n align-items: center;\n width: 100%;\n}\n\n.userProfile {\n\n}\n\n.subjectRank {\n display: flex;\n justify-self: center;\n align-items: center;\n width: 100%;\n background-color: #F6F9FF;\n}*/\n.body {\n font-family: \"Pretendard\";\n}\n\n.container {\n width: 100%;\n}\n\n.headLine {\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 23px;\n}\n.myProfile {\n all: unset;\n margin-top: 2px;\n margin-left: auto;\n cursor: pointer;\n width: 28px;\n height: 28px;\n}\n\n.logo {\n width: 99px;\n height: 24px;\n}",".container {\n display: flex;\n font-family: \"Pretendard\";\n align-items: center;\n justify-items: center;\n flex-direction: column;\n padding: 1.3rem;\n}\n.subjectTitle {\n margin-right: auto;\n font-family: 'Pretendard';\n font-style: normal;\n font-weight: 600;\n font-size: 18px;\n line-height: 21px;\n color: #353535;\n}\n\n.subjectCircle {\n display: flex;\n width: 100%;\n justify-content: space-between;\n overflow: auto;\n padding-bottom: 1%;\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n color: black;\n text-decoration: none;\n}\n\n.subjectCircle::-webkit-scrollbar {\n display: none;\n}\n\n.scroll::-webkit-scrollbar {\n display: none;\n}\n\n.listTitle {\n\tbackground-position: 50% 50%;\n\tbackground-size: contain;\n\tbackground-repeat: no-repeat;\n\tflex: none;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\theight: 0.6rem;\n\twidth: 22%;\n\tpadding-top: 1.5rem;\n\tpadding-bottom: 0.5rem;\n\tfont-style: normal;\n\tcolor: #B9B9B9;\n\tborder-bottom: solid 2px #f4f4f4;\n\tcursor: pointer;\n\tfont-family: 'SF Pro Display';\n\tfont-weight: 500;\n\tfont-size: 15px;\n\tline-height: 18px;\n }\n \n .selectListTitle {\n\tcursor: pointer;\n\tbackground-position: 50% 50%;\n\tbackground-size: contain;\n\tbackground-repeat: no-repeat;\n\tflex: none;\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\theight: 0.6rem;\n\twidth: 22%;\n\tpadding-top: 1.5rem;\n\tpadding-bottom: 0.5rem;\n\t/* margin-left: 1rem; */\n\tfont-style: normal;\n\tcolor: black;\n\t/* background-color: #396FF9; */\n\tborder-bottom: solid 2px #396ff9;\n\t/* border-radius: 100px; */\n\tfont-family: 'SF Pro Display';\n\tfont-weight: 600;\n\tfont-size: 15px;\n\tline-height: 18px;\n }\n \n\n.subjectList {\n border-radius: 10px;\n width: 100%;\n padding-bottom: 1%;\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n color: black;\n text-decoration: none;\n padding-top: 1rem;\n padding-bottom: 1rem;\n}\n\n.subjectContent {\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tpadding-top: 0.5rem;\n\tpadding-bottom: 0.5rem;\n\ttext-decoration: none;\n}\n\n.subjectList::-webkit-scrollbar {\n display: none;\n}\n\n.divisionLine {\n border-top: 1.5px solid #EEEEEE;\n margin-top: 0.7rem;\n margin-bottom: 0.7rem;\n margin-left: auto;\n margin-right: auto;\n width: 90%;\n}\n\n.subjectName {\n\tfont-family: 'SF Pro Display';\n\tfont-style: normal;\n\tfont-weight: 500;\n\tfont-size: 17px;\n\tline-height: 100%;\n\tmargin-left: 1rem;\n\tcolor: #353535;\n}\n\n.subjectInfo {\n\tfont-family: 'Pretendard';\n\tfont-style: normal;\n\tfont-weight: 500;\n\tfont-size: 12px;\n\tline-height: 100%;\n\tmargin-right: 1rem;\n\tcolor: #85868C;\n\ttext-decoration: none;\n}",".rankContainer {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n /* border: solid 1px; */\n background-color: #f6f9ff;\n /* width: 100%; */\n padding: 1.3rem;\n}\n\n.rankTitle {\n margin-right: auto;\n padding-bottom: 1rem;\n font-family: \"Pretendard\";\n font-style: normal;\n font-weight: 600;\n font-size: 18px;\n line-height: 21px;\n}\n\n.keyword {\n display: flex;\n width: 100%;\n justify-content: start;\n overflow-x: auto;\n padding-bottom: 1%;\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n /* cursor: pointer; */\n}\n\n.keyword::-webkit-scrollbar {\n display: none; /* Chrome , Safari , Opera */\n}\n\n.keywordContent {\n background-position: 50% 50%;\n background-size: contain;\n background-repeat: no-repeat;\n font-family: \"Pretendard\";\n font-style: normal;\n font-weight: 500;\n font-size: 12px;\n line-height: 14px;\n flex: none;\n display: flex;\n cursor: pointer;\n align-items: center;\n justify-content: center;\n height: 25px;\n width: 5.25rem;\n margin-left: 0.6rem;\n color: #595959;\n background-color: white;\n border: solid 1px #eeeeee;\n border-radius: 100px;\n}\n\n.selectKeyword {\n\tbackground-position: 50% 50%;\n\tbackground-size: contain;\n\tbackground-repeat: no-repeat;\n\tfont-family: \"Pretendard\";\n\tfont-style: normal;\n\tfont-weight: 600;\n\tfont-size: 12px;\n\tline-height: 14px;\n\tflex: none;\n\tdisplay: flex;\n\tcursor: pointer;\n\talign-items: center;\n\tjustify-content: center;\n\theight: 25px;\n\twidth: 5.25rem;\n\tmargin-left: 0.6rem;\n\tcolor: #FFFFFF;\n\tbackground-color: #396FF9;\n\tborder: solid 1px #eeeeee;\n\tborder-radius: 100px;\n}",".container {\n /* display: flex; */\n justify-content: space-between;\n background-color: white;\n border-radius: 10px;\n padding-top: 1rem;\n padding-bottom: 1rem;\n width: 100%;\n border: solid 1px #eeeeee;\n height: auto;\n box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.07);\n}\n\n.divisionLine {\n border-top: 1.5px solid #eeeeee;\n margin-top: 0.7rem;\n margin-bottom: 0.7rem;\n margin-left: auto;\n margin-right: auto;\n width: 95%;\n}\n.subjectCircle {\n display: flex;\n margin-right: auto;\n align-items: center;\n color: black;\n\n text-decoration: none;\n}\n\n.subjectDivisionLine {\n border-right: 1px solid #E8E7E7;\n margin-top: auto;\n margin-bottom: auto;\n height: 10px;\n margin-left: 0.5rem;\n margin-right: 0.5rem;\n}\n\n.subject {\n\tfont-family: 'SF Pro Display';\n\tfont-style: normal;\n\tfont-weight: 600;\n\tfont-size: 15px;\n\t/* line-height: 303.84%; */\n}\n\n.circle {\n\tfont-family: 'SF Pro Display';\n\tfont-style: normal;\n\tfont-weight: 500;\n\tfont-size: 13px;\n\tline-height: 16px;\n\tcolor: #C9C9C9;\n}\n\n.contentLine {\n display: grid;\n padding-left: 0.8rem;\n padding-right: 0.8rem;\n}\n\n.rating {\n margin-right: 1.3rem;\n font-family: 'Pretendard';\nfont-style: normal;\nfont-weight: 600;\nfont-size: 15px;\nline-height: 18px;\ncolor: #396FF9;\n}\n\n.rank {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.starLayout {\n margin-right: auto;\n}\n.star {\n width: 15px;\n height: 15px;\n}\n\n.rankContent {\n display: flex;\n justify-self: left;\n width: 15%;\n align-items: center;\n}\n.starRating {\n margin-right: auto;\n font-family: 'Pretendard';\n font-style: normal;\n font-weight: 600;\n font-size: 13px;\n line-height: 16px;\n color: #686868;\n}",".container {\n display: flex;\n align-items: center;\n justify-items: center;\n flex-direction: column;\n padding: 1.3rem;\n background-color: #f6f9ff;\n /* width: 100%; */\n}\n.title {\n font-family: \"Pretendard\";\n font-style: normal;\n font-weight: 600;\n font-size: 18px;\n line-height: 21px;\n padding-bottom: 1rem;\n margin-right: auto;\n}\n\n.commentBox {\n display: flex;\n width: 100%;\n height: 128px;\n justify-content: space-between;\n overflow-x: auto;\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n /* padding-bottom: 4%; */\n /* padding: 1.3rem; */\n padding-bottom: 0.8rem;\n /* border: solid 1px black; */\n}\n\n.recentComment {\n background-position: 50% 50%;\n background-size: contain;\n background-repeat: no-repeat;\n flex: none;\n /* display: flex; */\n align-items: center;\n justify-content: center;\n width: 13rem;\n padding: 1.3rem;\n /* padding-top: 0.8rem;\n\tpadding-bottom: 0.8rem; */\n margin-left: 1rem;\n font-style: normal;\n /* color: white; */\n background-color: white;\n border: solid 1px #f1f5ff;\n border-radius: 10px;\n box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.07);\n}\n\n.subjectStarRating {\n display: flex;\n align-items: center;\n margin-bottom: 0.6rem;\n}\n\n.subjectName {\n all:unset;\n font-family: \"SF Pro Display\";\n font-style: normal;\n font-weight: 600;\n font-size: 16px;\n color: #353535;\n}\n\n.comment { \n font-family: \"Pretendard\";\n font-style: normal;\n font-weight: 500;\n font-size: 15px;\n line-height: 21px;\n margin-bottom: 0.4rem;\n height: 44px;\n overflow: hidden;\n text-overflow: ellipsis;\n color: #353535;\n word-wrap : break-word;\n text-align : left;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n\n}\n\n.dateTime {\n font-family: 'Pretendard';\n font-style: normal;\n font-weight: 500;\n font-size: 12px;\n line-height: 14px;\n \n color: #B9B9B9;\n}\n\n.commentBox::-webkit-scrollbar {\n display: none; /* Chrome , Safari , Opera */\n}\n.starRating {\n font-family: 'Pretendard';\nfont-style: normal;\nfont-weight: 600;\nfont-size: 12px;\nline-height: 14px;\nmargin-top: auto;\nmargin-bottom: auto;\n\ncolor: #6C6C6C;\n}\n\n.star {\n width: 15px;\n height: 15px;\n margin-left: 9px;\n margin-right: 3px;\n }\n",".container{\n\twidth: 100%;\n\theight: 4rem;\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items:flex-end;\n\tjustify-content: center;\n\topacity: 30%;\n}\n\n.img{\n\twidth: 20px;\n\theight: 20px;\n\tmargin-right: 5px;\n}\n\n.text{\n\tdisplay: inline-block;\n\ttext-decoration: none;\n\tfont-family: \"Pretendard\";\n font-style: normal;\n font-weight: 500;\n font-size: 15px;\n color: #353535;\n word-wrap: break-word;\n}",".container {\n width: 100%;\n height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n}\n\n.logo {\n width: 10rem;\n}\n\n.loginBtn {\n width: 335px;\n height: 20px;\n margin-top: 42px;\n padding: 18px 0 15px 0;\n text-align: center;\n background: #396ff9;\n border-radius: 10px;\n\n text-decoration: none;\n font-weight: 600;\n font-size: 16px;\n line-height: 19px;\n color: #ffffff;\n}\n",".containerMain{\n min-height: 100vh;\n}\n\n.container {\n width: 100%;\n border-bottom: 8px solid #fafafc;\n}\n\n.userState {\n height: 35px;\n margin: 0 20px 8px 20px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-end;\n}\n\n.userId {\n font-weight: 600;\n font-size: 22px;\n line-height: 26px;\n color: #353535;\n}\n\n.userLevel {\n position: relative;\n top: -3px;\n font-weight: 600;\n font-size: 8px;\n line-height: 10px;\n color: #8cacfb;\n border: 1px solid #769dff;\n border-radius: 9px;\n padding: 2px 7px;\n margin-left: 5px;\n}\n\n.userUpdate {\n font-weight: 400;\n font-size: 11px;\n line-height: 24px;\n color: #b5b5b5;\n}\n\n.avg_container {\n height: 96px;\n display: flex;\n flex-direction: row;\n justify-content: space-around;\n align-items: center;\n margin: 0 20px;\n border-top: 1px solid #f4f4f4;\n}\n\n.avg_box {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n.avg_number {\n font-weight: 700;\n font-size: 15px;\n line-height: 24px;\n color: #353535;\n}\n\n.avg_title {\n font-weight: 400;\n font-size: 12px;\n line-height: 24px;\n color: #222222;\n}\n\n.tab {\n height: 49px;\n border-bottom: 1px solid #f4f4f4;\n display: flex;\n justify-content: flex-start;\n align-items: flex-end;\n padding: 0 20px;\n}\n\n.tabBtn {\n all: unset;\n width: auto;\n padding: 10px 5px;\n cursor: pointer;\n font-weight: 600;\n font-size: 15px;\n line-height: 18px;\n color: #353535;\n border-bottom: 1px solid #396ff9;\n}\n\n.tabBtnNo {\n all: unset;\n width: auto;\n cursor: pointer;\n padding: 10px 5px;\n font-weight: 600;\n font-size: 15px;\n line-height: 18px;\n color: #b9b9b9;\n}\n\n.contentBox{\n min-height: 100vh;\n}\n\n.logout {\n width: auto;\n margin: 20px;\n text-align: center;\n font-weight: 500;\n font-size: 15px;\n line-height: 18px;\n color: #828282;\n}\n",".background{\n width: 100%;\n}\n\n.flex_row{\n display: flex;\n height: 4.25rem;\n flex-direction: row;\n justify-content: center;\n align-items:center;\n}\n\n.prev_btn{\n position: absolute;\n cursor:pointer;\n left:15px;\n font-size:18px;\n}\n.menu_name{\n font-family: 'Pretendard';\n font-style: normal;\n font-weight: 600;\n font-size: 18px;\n line-height: 21px;\n}",".container {\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n height: 84px;\n margin: 0 20px;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid #f4f4f4;\n}\n\n.sbj {\n font-weight: 600;\n font-size: 16px;\n line-height: 19px;\n color: #353535;\n}\n\n.badge {\n text-decoration: none;\n margin-left: 6px;\n padding: 5px 8px;\n font-weight: 500;\n cursor: pointer;\n font-size: 12px;\n line-height: 14px;\n color: #396ff9;\n border: 1px solid #396ff9;\n border-radius: 100px;\n}\n\n.badge:hover {\n background-color: #F1F6FF;\n}\n\n",".subjectComment {\n width: 100%;\n height: auto;\n display: flexbox;\n margin-bottom: 0.5rem;\n}\n\n.commentListHeader {\n margin: 1rem 1.2rem 0.5rem 1.2rem;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.comment {\n display: flex;\n border-bottom: solid 1px #f4f4f4;\n flex-direction: column;\n padding-bottom: 1.2rem;\n margin: 1rem 1.2rem 0 1.2rem;\n}\n\n.commentBox {\n all: unset;\n}\n\n.sortContainer {\n display: flex;\n}\n\n.commentSort {\n all: unset;\n display: inline-block;\n padding: 1rem 0 1rem 2rem;\n font-weight: 600;\n font-size: 14px;\n line-height: 22px;\n font-size: 16px;\n color: #353535;\n cursor: pointer;\n}\n\n.star_container {\n display: flex;\n flex-direction: row;\n}\n\n.divide {\n margin: 0 0.4rem;\n font-weight: 500;\n font-size: 10px;\n line-height: 21px;\n letter-spacing: -0.005em;\n color: #efefef;\n}\n\n.sortBtn {\n margin: auto;\n}\n\n/* PrintComments */\n.commentUser {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n font-weight: 600;\n font-size: 16px;\n line-height: 19px;\n color: #353535;\n}\n\n.commentUserBadge {\n margin-left: 6px;\n padding: 2px 5px 1px 5px;\n font-weight: 600;\n font-size: 8px;\n line-height: 24px;\n color: #769dff;\n border: 0.8px solid #8cacfb;\n border-radius: 10px;\n}\n\n.commentEditBtn {\n font-weight: 500;\n font-size: 12px;\n line-height: 21px;\n cursor: pointer;\n letter-spacing: -0.005em;\n color: #c9c9c9;\n}\n\n.commentContent {\n margin-top: 12px;\n font-weight: 500;\n font-size: 14px;\n line-height: 20px;\n color: #353535;\n word-break:break-all;\n white-space:pre-line;\n}\n\n.commentTime {\n font-weight: 500;\n font-size: 10px;\n line-height: 21px;\n letter-spacing: -0.005em;\n color: #cbcbcb;\n}\n\n.likeContainer{\n display: flex;\n cursor: pointer;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n}\n\n.heartNum {\n font-weight: 500;\n font-size: 14px;\n line-height: 21px;\n letter-spacing: -0.005em;\n color: #999999;\n margin-left: 3px;\n}\n\n.redButton {\n all: unset;\n color: red;\n}\n\n.emptyButton {\n all: unset;\n color: gray;\n}\n\n.detailContainer {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n}\n\n.detailValue {\n width: 40%;\n margin-right: 1rem;\n font-weight: 600;\n font-size: 13px;\n line-height: 22px;\n color: #666666;\n}\n\n.detailTitle {\n display: inline-block;\n width: 3rem;\n word-break: keep-all;\n margin-right: 5px;\n}\n\n.detailContent {\n word-break: keep-all;\n font-weight: 500;\n font-size: 13px;\n line-height: 16px;\n color: #6a7795;\n}\n",".star_container {\n display: flex;\n flex-direction: row;\n align-items: center;\n margin-bottom: 13px;\n}\n\n.star_font {\n transform: translateY(3%);\n}\n\n.star {\n width: 14px;\n}\n\n.divide {\n margin: 0 0.4rem;\n font-weight: 500;\n font-size: 10px;\n line-height: 21px;\n letter-spacing: -0.005em;\n color: #efefef;\n}\n\n.star_rating {\n margin-left: 2px;\n font-weight: 600;\n font-size: 11px;\n line-height: 13px;\n color: #666666;\n}\n\n.commentEditBtn {\n all: unset;\n width: 9rem;\n height: 2rem;\n text-align: center;\n font-weight: 500;\n font-size: 13px;\n cursor: pointer;\n line-height: 30px;\n color: white;\n background-color: #396ff9;\n border-radius: 50px;\n font-weight: 500;\n font-size: 12px;\n line-height: 21px;\n letter-spacing: -0.005em;\n color: #c9c9c9;\n}\n",".star_container {\n\tdisplay: flex;\n\tflex-direction: row;\n\talign-items: center;\n\tmargin-bottom: 13px;\n}\n\n.star_font{\n\ttransform: translateY(3%);\n}\n\n.star {\n width: 14px;\n}\n\n.divide{\n\tmargin: 0 0.4rem;\n\tfont-weight: 500;\n\tfont-size: 10px;\n\tline-height: 21px;\n\tletter-spacing: -0.005em;\n\tcolor:#EFEFEF;\n}\n\n.star_rating {\n margin-left: 2px;\n font-weight: 600;\n font-size: 11px;\n line-height: 13px;\n color: #666666;\n}\n",".subtitle {\n font-size: 22px;\n font-weight: 600;\n margin: 30px 0 0 20px;\n}\n\n.SubjectInfo {\n display: flex;\n min-height: 5rem;\n\n font-family: 'Pretendard';\n font-style: normal;\n font-weight: 500;\n font-size: 15px;\n word-break: keep-all;\n \n line-height: 22px;\n letter-spacing: -0.5px;\n margin: 9px 20px 0px 20px;\n}\n\n.btn {\n position: fixed;\n cursor: pointer;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 3rem;\n background: #396ff9;\n color: #ffffff;\n}\n\n.tab {\n display: flex;\n}\n\n.tab_btn {\n width: 50%;\n height: 2rem;\n padding-top: 1rem;\n cursor: pointer;\n font-family: \"Pretendard\";\n font-style: normal;\n font-weight: 600;\n font-size: 15px;\n line-height: 18px;\n text-align: center;\n text-decoration: none;\n color: #686868;\n border-bottom: 2px solid #f4f4f4;\n}\n\n.tab_select_btn {\n width: 50%;\n cursor: pointer;\n height: 2rem;\n padding-top: 1rem;\n font-family: \"Pretendard\";\n font-style: normal;\n font-weight: 700;\n font-size: 15px;\n line-height: 18px;\n text-align: center;\n text-decoration: none;\n color: black;\n border-bottom: 2px solid #396ff9;\n}\n\n.wikiContent {\n margin: 20px;\n margin-bottom: 4rem;\n font-family: \"Pretendard\";\n font-style: normal;\n font-weight: 500;\n font-size: 15px;\n line-height: 21px;\n letter-spacing: -0.005em;\n}\n\n.headline {\n height: 10px;\n margin-top: 1rem;\n background: #f7f7f7;\n}\n\n.editBtnContainer{\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tmargin-bottom:2rem;\n}\n\n.editBtn{\n\tall:unset;\n\twidth: 9rem;\n\theight: 2rem;\n\n\ttext-align: center;\n\tfont-weight: 500;\n\tfont-size: 13px;\n\tline-height: 30px;\n\n\tcolor: white;\n\tbackground-color: #396FF9;\n\tborder-radius: 50px;\n}\n\n",".SubjectWiki {\n \n}\n\nbody {\n\n}\n\n.wikiBox {\n display: flex;\n \n flex-direction: column;\n /* padding-bottom: 80px; */\n}\n\n.submit {\n width: 100%;\n display: flex;\n text-align: center;\n justify-content: space-between;\n align-items: center;\n padding-bottom: 1rem;\n margin-top: 1rem;\n}\n.cancleBtn {\n width: 7rem;\n height: 2.5rem;\n margin-left: auto;\n margin-right: 1rem;\n border-radius: 10px;\n border: none;\n background: #eeeeee;\n color: black;\n}\n\n.submitBtn {\n width: 7rem;\n height: 2.5rem;\n margin-left: 1rem;\n margin-right: auto;\n border-radius: 10px;\n border: 1.5px solid #eeeeee;\n background: #396ff9;\n color: #ffffff;\n}\n\n.wiki {\n font-family: \"Pretendard\";\n height: 5rem;\n margin: 20px;\n}\n\n.limitWord {\n width: 96%;\n height: 2rem;\n text-align: right;\n margin-right: 5px;\n margin-top: -1.6rem;\n font-family: \"Pretendard\";\n font-style: normal;\n font-weight: 500;\n font-size: 10px;\n line-height: 12px;\n color: #C6C6C6;\n}","/*!\n * Quill Editor v1.3.7\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */\n.ql-container {\n box-sizing: border-box;\n font-family: Helvetica, Arial, sans-serif;\n font-size: 13px;\n height: 100%;\n margin: 0px;\n position: relative;\n}\n.ql-container.ql-disabled .ql-tooltip {\n visibility: hidden;\n}\n.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before {\n pointer-events: none;\n}\n.ql-clipboard {\n left: -100000px;\n height: 1px;\n overflow-y: hidden;\n position: absolute;\n top: 50%;\n}\n.ql-clipboard p {\n margin: 0;\n padding: 0;\n}\n.ql-editor {\n box-sizing: border-box;\n line-height: 1.42;\n height: 30rem;\n outline: none;\n overflow-y: auto;\n padding: 12px 15px;\n tab-size: 4;\n -moz-tab-size: 4;\n text-align: left;\n white-space: pre-wrap;\n word-wrap: break-word;\n}\n.ql-editor > * {\n cursor: text;\n}\n.ql-editor p,\n.ql-editor ol,\n.ql-editor ul,\n.ql-editor pre,\n.ql-editor blockquote,\n.ql-editor h1,\n.ql-editor h2,\n.ql-editor h3,\n.ql-editor h4,\n.ql-editor h5,\n.ql-editor h6 {\n margin: 0;\n padding: 0;\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol,\n.ql-editor ul {\n padding-left: 1.5em;\n}\n.ql-editor ol > li,\n.ql-editor ul > li {\n list-style-type: none;\n}\n.ql-editor ul > li::before {\n content: '\\2022';\n}\n.ql-editor ul[data-checked=true],\n.ql-editor ul[data-checked=false] {\n pointer-events: none;\n}\n.ql-editor ul[data-checked=true] > li *,\n.ql-editor ul[data-checked=false] > li * {\n pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before,\n.ql-editor ul[data-checked=false] > li::before {\n color: #777;\n cursor: pointer;\n pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before {\n content: '\\2611';\n}\n.ql-editor ul[data-checked=false] > li::before {\n content: '\\2610';\n}\n.ql-editor li::before {\n display: inline-block;\n white-space: nowrap;\n width: 1.2em;\n}\n.ql-editor li:not(.ql-direction-rtl)::before {\n margin-left: -1.5em;\n margin-right: 0.3em;\n text-align: right;\n}\n.ql-editor li.ql-direction-rtl::before {\n margin-left: 0.3em;\n margin-right: -1.5em;\n}\n.ql-editor ol li:not(.ql-direction-rtl),\n.ql-editor ul li:not(.ql-direction-rtl) {\n padding-left: 1.5em;\n}\n.ql-editor ol li.ql-direction-rtl,\n.ql-editor ul li.ql-direction-rtl {\n padding-right: 1.5em;\n}\n.ql-editor ol li {\n counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n counter-increment: list-0;\n}\n.ql-editor ol li:before {\n content: counter(list-0, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n counter-increment: list-1;\n}\n.ql-editor ol li.ql-indent-1:before {\n content: counter(list-1, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-2 {\n counter-increment: list-2;\n}\n.ql-editor ol li.ql-indent-2:before {\n content: counter(list-2, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-2 {\n counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-3 {\n counter-increment: list-3;\n}\n.ql-editor ol li.ql-indent-3:before {\n content: counter(list-3, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-3 {\n counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-4 {\n counter-increment: list-4;\n}\n.ql-editor ol li.ql-indent-4:before {\n content: counter(list-4, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-4 {\n counter-reset: list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-5 {\n counter-increment: list-5;\n}\n.ql-editor ol li.ql-indent-5:before {\n content: counter(list-5, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-5 {\n counter-reset: list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-6 {\n counter-increment: list-6;\n}\n.ql-editor ol li.ql-indent-6:before {\n content: counter(list-6, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-6 {\n counter-reset: list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-7 {\n counter-increment: list-7;\n}\n.ql-editor ol li.ql-indent-7:before {\n content: counter(list-7, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-7 {\n counter-reset: list-8 list-9;\n}\n.ql-editor ol li.ql-indent-8 {\n counter-increment: list-8;\n}\n.ql-editor ol li.ql-indent-8:before {\n content: counter(list-8, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-8 {\n counter-reset: list-9;\n}\n.ql-editor ol li.ql-indent-9 {\n counter-increment: list-9;\n}\n.ql-editor ol li.ql-indent-9:before {\n content: counter(list-9, decimal) '. ';\n}\n.ql-editor .ql-indent-1:not(.ql-direction-rtl) {\n padding-left: 3em;\n}\n.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {\n padding-left: 4.5em;\n}\n.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {\n padding-right: 3em;\n}\n.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {\n padding-right: 4.5em;\n}\n.ql-editor .ql-indent-2:not(.ql-direction-rtl) {\n padding-left: 6em;\n}\n.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {\n padding-left: 7.5em;\n}\n.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {\n padding-right: 6em;\n}\n.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {\n padding-right: 7.5em;\n}\n.ql-editor .ql-indent-3:not(.ql-direction-rtl) {\n padding-left: 9em;\n}\n.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {\n padding-left: 10.5em;\n}\n.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {\n padding-right: 9em;\n}\n.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {\n padding-right: 10.5em;\n}\n.ql-editor .ql-indent-4:not(.ql-direction-rtl) {\n padding-left: 12em;\n}\n.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {\n padding-left: 13.5em;\n}\n.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {\n padding-right: 12em;\n}\n.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {\n padding-right: 13.5em;\n}\n.ql-editor .ql-indent-5:not(.ql-direction-rtl) {\n padding-left: 15em;\n}\n.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {\n padding-left: 16.5em;\n}\n.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {\n padding-right: 15em;\n}\n.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {\n padding-right: 16.5em;\n}\n.ql-editor .ql-indent-6:not(.ql-direction-rtl) {\n padding-left: 18em;\n}\n.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {\n padding-left: 19.5em;\n}\n.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {\n padding-right: 18em;\n}\n.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {\n padding-right: 19.5em;\n}\n.ql-editor .ql-indent-7:not(.ql-direction-rtl) {\n padding-left: 21em;\n}\n.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {\n padding-left: 22.5em;\n}\n.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {\n padding-right: 21em;\n}\n.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {\n padding-right: 22.5em;\n}\n.ql-editor .ql-indent-8:not(.ql-direction-rtl) {\n padding-left: 24em;\n}\n.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {\n padding-left: 25.5em;\n}\n.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {\n padding-right: 24em;\n}\n.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {\n padding-right: 25.5em;\n}\n.ql-editor .ql-indent-9:not(.ql-direction-rtl) {\n padding-left: 27em;\n}\n.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {\n padding-left: 28.5em;\n}\n.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {\n padding-right: 27em;\n}\n.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {\n padding-right: 28.5em;\n}\n.ql-editor .ql-video {\n display: block;\n max-width: 100%;\n}\n.ql-editor .ql-video.ql-align-center {\n margin: 0 auto;\n}\n.ql-editor .ql-video.ql-align-right {\n margin: 0 0 0 auto;\n}\n.ql-editor .ql-bg-black {\n background-color: #000;\n}\n.ql-editor .ql-bg-red {\n background-color: #e60000;\n}\n.ql-editor .ql-bg-orange {\n background-color: #f90;\n}\n.ql-editor .ql-bg-yellow {\n background-color: #ff0;\n}\n.ql-editor .ql-bg-green {\n background-color: #008a00;\n}\n.ql-editor .ql-bg-blue {\n background-color: #06c;\n}\n.ql-editor .ql-bg-purple {\n background-color: #93f;\n}\n.ql-editor .ql-color-white {\n color: #fff;\n}\n.ql-editor .ql-color-red {\n color: #e60000;\n}\n.ql-editor .ql-color-orange {\n color: #f90;\n}\n.ql-editor .ql-color-yellow {\n color: #ff0;\n}\n.ql-editor .ql-color-green {\n color: #008a00;\n}\n.ql-editor .ql-color-blue {\n color: #06c;\n}\n.ql-editor .ql-color-purple {\n color: #93f;\n}\n.ql-editor .ql-font-serif {\n font-family: Georgia, Times New Roman, serif;\n}\n.ql-editor .ql-font-monospace {\n font-family: Monaco, Courier New, monospace;\n}\n.ql-editor .ql-size-small {\n font-size: 0.75em;\n}\n.ql-editor .ql-size-large {\n font-size: 1.5em;\n}\n.ql-editor .ql-size-huge {\n font-size: 2.5em;\n}\n.ql-editor .ql-direction-rtl {\n direction: rtl;\n text-align: inherit;\n}\n.ql-editor .ql-align-center {\n text-align: center;\n}\n.ql-editor .ql-align-justify {\n text-align: justify;\n}\n.ql-editor .ql-align-right {\n text-align: right;\n}\n.ql-editor.ql-blank::before {\n color: rgba(0,0,0,0.6);\n content: attr(data-placeholder);\n font-style: italic;\n left: 15px;\n pointer-events: none;\n position: absolute;\n right: 15px;\n}\n.ql-snow.ql-toolbar:after,\n.ql-snow .ql-toolbar:after {\n clear: both;\n content: '';\n display: table;\n}\n.ql-snow.ql-toolbar button,\n.ql-snow .ql-toolbar button {\n background: none;\n border: none;\n cursor: pointer;\n display: inline-block;\n float: left;\n height: 24px;\n padding: 3px 5px;\n width: 28px;\n}\n.ql-snow.ql-toolbar button svg,\n.ql-snow .ql-toolbar button svg {\n float: left;\n height: 100%;\n}\n.ql-snow.ql-toolbar button:active:hover,\n.ql-snow .ql-toolbar button:active:hover {\n outline: none;\n}\n.ql-snow.ql-toolbar input.ql-image[type=file],\n.ql-snow .ql-toolbar input.ql-image[type=file] {\n display: none;\n}\n.ql-snow.ql-toolbar button:hover,\n.ql-snow .ql-toolbar button:hover,\n.ql-snow.ql-toolbar button:focus,\n.ql-snow .ql-toolbar button:focus,\n.ql-snow.ql-toolbar button.ql-active,\n.ql-snow .ql-toolbar button.ql-active,\n.ql-snow.ql-toolbar .ql-picker-label:hover,\n.ql-snow .ql-toolbar .ql-picker-label:hover,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active,\n.ql-snow.ql-toolbar .ql-picker-item:hover,\n.ql-snow .ql-toolbar .ql-picker-item:hover,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected {\n color: #06c;\n}\n.ql-snow.ql-toolbar button:hover .ql-fill,\n.ql-snow .ql-toolbar button:hover .ql-fill,\n.ql-snow.ql-toolbar button:focus .ql-fill,\n.ql-snow .ql-toolbar button:focus .ql-fill,\n.ql-snow.ql-toolbar button.ql-active .ql-fill,\n.ql-snow .ql-toolbar button.ql-active .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,\n.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill {\n fill: #06c;\n}\n.ql-snow.ql-toolbar button:hover .ql-stroke,\n.ql-snow .ql-toolbar button:hover .ql-stroke,\n.ql-snow.ql-toolbar button:focus .ql-stroke,\n.ql-snow .ql-toolbar button:focus .ql-stroke,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,\n.ql-snow.ql-toolbar button:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar button:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar button:focus .ql-stroke-miter,\n.ql-snow .ql-toolbar button:focus .ql-stroke-miter,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter {\n stroke: #06c;\n}\n@media (pointer: coarse) {\n .ql-snow.ql-toolbar button:hover:not(.ql-active),\n .ql-snow .ql-toolbar button:hover:not(.ql-active) {\n color: #444;\n }\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill {\n fill: #444;\n }\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,\n .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,\n .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter {\n stroke: #444;\n }\n}\n.ql-snow {\n box-sizing: border-box;\n}\n.ql-snow * {\n box-sizing: border-box;\n}\n.ql-snow .ql-hidden {\n display: none;\n}\n.ql-snow .ql-out-bottom,\n.ql-snow .ql-out-top {\n visibility: hidden;\n}\n.ql-snow .ql-tooltip {\n position: absolute;\n transform: translateY(10px);\n}\n.ql-snow .ql-tooltip a {\n cursor: pointer;\n text-decoration: none;\n}\n.ql-snow .ql-tooltip.ql-flip {\n transform: translateY(-10px);\n}\n.ql-snow .ql-formats {\n display: inline-block;\n vertical-align: middle;\n}\n.ql-snow .ql-formats:after {\n clear: both;\n content: '';\n display: table;\n}\n.ql-snow .ql-stroke {\n fill: none;\n stroke: #444;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-width: 2;\n}\n.ql-snow .ql-stroke-miter {\n fill: none;\n stroke: #444;\n stroke-miterlimit: 10;\n stroke-width: 2;\n}\n.ql-snow .ql-fill,\n.ql-snow .ql-stroke.ql-fill {\n fill: #444;\n}\n.ql-snow .ql-empty {\n fill: none;\n}\n.ql-snow .ql-even {\n fill-rule: evenodd;\n}\n.ql-snow .ql-thin,\n.ql-snow .ql-stroke.ql-thin {\n stroke-width: 1;\n}\n.ql-snow .ql-transparent {\n opacity: 0.4;\n}\n.ql-snow .ql-direction svg:last-child {\n display: none;\n}\n.ql-snow .ql-direction.ql-active svg:last-child {\n display: inline;\n}\n.ql-snow .ql-direction.ql-active svg:first-child {\n display: none;\n}\n.ql-snow .ql-editor h1 {\n font-size: 2em;\n}\n.ql-snow .ql-editor h2 {\n font-size: 1.5em;\n}\n.ql-snow .ql-editor h3 {\n font-size: 1.17em;\n}\n.ql-snow .ql-editor h4 {\n font-size: 1em;\n}\n.ql-snow .ql-editor h5 {\n font-size: 0.83em;\n}\n.ql-snow .ql-editor h6 {\n font-size: 0.67em;\n}\n.ql-snow .ql-editor a {\n text-decoration: underline;\n}\n.ql-snow .ql-editor blockquote {\n border-left: 4px solid #ccc;\n margin-bottom: 5px;\n margin-top: 5px;\n padding-left: 16px;\n}\n.ql-snow .ql-editor code,\n.ql-snow .ql-editor pre {\n background-color: #f0f0f0;\n border-radius: 3px;\n}\n.ql-snow .ql-editor pre {\n white-space: pre-wrap;\n margin-bottom: 5px;\n margin-top: 5px;\n padding: 5px 10px;\n}\n.ql-snow .ql-editor code {\n font-size: 85%;\n padding: 2px 4px;\n}\n.ql-snow .ql-editor pre.ql-syntax {\n background-color: #23241f;\n color: #f8f8f2;\n overflow: visible;\n}\n.ql-snow .ql-editor img {\n max-width: 100%;\n}\n.ql-snow .ql-picker {\n color: #444;\n display: inline-block;\n float: left;\n font-size: 14px;\n font-weight: 500;\n height: 24px;\n position: relative;\n vertical-align: middle;\n}\n.ql-snow .ql-picker-label {\n cursor: pointer;\n display: inline-block;\n height: 100%;\n padding-left: 8px;\n padding-right: 2px;\n position: relative;\n width: 100%;\n}\n.ql-snow .ql-picker-label::before {\n display: inline-block;\n line-height: 22px;\n}\n.ql-snow .ql-picker-options {\n background-color: #fff;\n display: none;\n min-width: 100%;\n padding: 4px 8px;\n position: absolute;\n white-space: nowrap;\n}\n.ql-snow .ql-picker-options .ql-picker-item {\n cursor: pointer;\n display: block;\n padding-bottom: 5px;\n padding-top: 5px;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-label {\n color: #ccc;\n z-index: 2;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill {\n fill: #ccc;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {\n stroke: #ccc;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-options {\n display: block;\n margin-top: -1px;\n top: 100%;\n z-index: 1;\n}\n.ql-snow .ql-color-picker,\n.ql-snow .ql-icon-picker {\n width: 28px;\n}\n.ql-snow .ql-color-picker .ql-picker-label,\n.ql-snow .ql-icon-picker .ql-picker-label {\n padding: 2px 4px;\n}\n.ql-snow .ql-color-picker .ql-picker-label svg,\n.ql-snow .ql-icon-picker .ql-picker-label svg {\n right: 4px;\n}\n.ql-snow .ql-icon-picker .ql-picker-options {\n padding: 4px 0px;\n}\n.ql-snow .ql-icon-picker .ql-picker-item {\n height: 24px;\n width: 24px;\n padding: 2px 4px;\n}\n.ql-snow .ql-color-picker .ql-picker-options {\n padding: 3px 5px;\n width: 152px;\n}\n.ql-snow .ql-color-picker .ql-picker-item {\n border: 1px solid transparent;\n float: left;\n height: 16px;\n margin: 2px;\n padding: 0px;\n width: 16px;\n}\n.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {\n position: absolute;\n margin-top: -9px;\n right: 0;\n top: 50%;\n width: 18px;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before {\n content: attr(data-label);\n}\n.ql-snow .ql-picker.ql-header {\n width: 98px;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item::before {\n content: 'Normal';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"1\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before {\n content: 'Heading 1';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"2\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before {\n content: 'Heading 2';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"3\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before {\n content: 'Heading 3';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"4\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before {\n content: 'Heading 4';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"5\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before {\n content: 'Heading 5';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"6\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before {\n content: 'Heading 6';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before {\n font-size: 2em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before {\n font-size: 1.5em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before {\n font-size: 1.17em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before {\n font-size: 1em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before {\n font-size: 0.83em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before {\n font-size: 0.67em;\n}\n.ql-snow .ql-picker.ql-font {\n width: 108px;\n}\n.ql-snow .ql-picker.ql-font .ql-picker-label::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item::before {\n content: 'Sans Serif';\n}\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {\n content: 'Serif';\n}\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {\n content: 'Monospace';\n}\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {\n font-family: Georgia, Times New Roman, serif;\n}\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {\n font-family: Monaco, Courier New, monospace;\n}\n.ql-snow .ql-picker.ql-size {\n width: 98px;\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item::before {\n content: 'Normal';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {\n content: 'Small';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {\n content: 'Large';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {\n content: 'Huge';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {\n font-size: 10px;\n}\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {\n font-size: 18px;\n}\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {\n font-size: 32px;\n}\n.ql-snow .ql-color-picker.ql-background .ql-picker-item {\n background-color: #fff;\n}\n.ql-snow .ql-color-picker.ql-color .ql-picker-item {\n background-color: #000;\n}\n.ql-toolbar.ql-snow {\n border: 1px solid #ccc;\n box-sizing: border-box;\n font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;\n padding: 8px;\n}\n.ql-toolbar.ql-snow .ql-formats {\n margin-right: 15px;\n}\n.ql-toolbar.ql-snow .ql-picker-label {\n border: 1px solid transparent;\n}\n.ql-toolbar.ql-snow .ql-picker-options {\n border: 1px solid transparent;\n box-shadow: rgba(0,0,0,0.2) 0 2px 8px;\n}\n.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label {\n border-color: #ccc;\n}\n.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options {\n border-color: #ccc;\n}\n.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,\n.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover {\n border-color: #000;\n}\n.ql-toolbar.ql-snow + .ql-container.ql-snow {\n border-top: 0px;\n}\n.ql-snow .ql-tooltip {\n background-color: #fff;\n border: 1px solid #ccc;\n box-shadow: 0px 0px 5px #ddd;\n color: #444;\n padding: 5px 12px;\n white-space: nowrap;\n}\n.ql-snow .ql-tooltip::before {\n content: \"Visit URL:\";\n line-height: 26px;\n margin-right: 8px;\n}\n.ql-snow .ql-tooltip input[type=text] {\n display: none;\n border: 1px solid #ccc;\n font-size: 13px;\n height: 26px;\n margin: 0px;\n padding: 3px 5px;\n width: 170px;\n}\n.ql-snow .ql-tooltip a.ql-preview {\n display: inline-block;\n max-width: 200px;\n overflow-x: hidden;\n text-overflow: ellipsis;\n vertical-align: top;\n}\n.ql-snow .ql-tooltip a.ql-action::after {\n border-right: 1px solid #ccc;\n content: 'Edit';\n margin-left: 16px;\n padding-right: 8px;\n}\n.ql-snow .ql-tooltip a.ql-remove::before {\n content: 'Remove';\n margin-left: 8px;\n}\n.ql-snow .ql-tooltip a {\n line-height: 26px;\n}\n.ql-snow .ql-tooltip.ql-editing a.ql-preview,\n.ql-snow .ql-tooltip.ql-editing a.ql-remove {\n display: none;\n}\n.ql-snow .ql-tooltip.ql-editing input[type=text] {\n display: inline-block;\n}\n.ql-snow .ql-tooltip.ql-editing a.ql-action::after {\n border-right: 0px;\n content: 'Save';\n padding-right: 0px;\n}\n.ql-snow .ql-tooltip[data-mode=link]::before {\n content: \"Enter link:\";\n}\n.ql-snow .ql-tooltip[data-mode=formula]::before {\n content: \"Enter formula:\";\n}\n.ql-snow .ql-tooltip[data-mode=video]::before {\n content: \"Enter video:\";\n}\n.ql-snow a {\n color: #06c;\n}\n.ql-container.ql-snow {\n border: 1px solid #ccc;\n}\n",".container{\n\tmargin: 20px 30px 20px 30px;\n\tpadding: 0;\n}\n\n.review{\n\tword-break: keep-all;\n\tfont-weight: 600;\n\tfont-size: 16px;\n\tline-height: 19px;\n}\n\n.flex{\n\tdisplay: flex;\n\talign-items: center;\n\tjustify-content: center;\n\tflex-direction: row;\n}\n\n.flexItem{\n\twidth: 50%;\n\ttext-align: center;\n}\n\n.minusMargin{\n\tmargin-bottom: -0.3rem;\n}\n\n.graphMargin{\n\tmargin: 0.1rem;\n}\n\n.ratingStr{\n\tfont-weight: 700;\n\tfont-size: 36px;\n\tline-height: 43px;\n\tletter-spacing: -0.004em;\n}\n\n.avgGraph{\n\tmargin: 0;\n\tpadding: 0;\n}\n\n.smallFont{\n\tmargin: 0.2rem;\n\tpadding: 0;\n\tfont-weight: 600;\n\tfont-size: 10px;\n\tline-height: 12px;\n\tletter-spacing: -0.004em;\n\tcolor: #B1B1B1;\n}\n\n.borderRight{\n\tborder-right: 1px solid #EFF1F8;\n}\n\n.bar_chart {\n\tposition: relative;\n\tdisplay: inline-block;\n\twidth: calc(100% - 4.5rem);\n\theight: 0.5rem;\n\tbackground: #F6F9FF;\n\tborder-radius: 5px;\n\tmargin:0;\n\tpadding:0;\n}\n \n.bar {\n\tposition: absolute;\n\ttop:0;\n\tleft: 0;\n\theight: 0.5rem;\n\tbackground: #959DB0;\n\tborder-radius: 5px;\n }\n\n .avg_container{\n\tmargin-top: 2rem;\n }",".flex {\n width: 100%;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n}\n\n.container {\n border: 1px solid #efefef;\n border-radius: 5px;\n padding: 0.6rem 0.7rem;\n margin-bottom: 0.6rem;\n}\n\n.small_flex {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n width: 100%;\n}\n\n.name {\n /*width: 9rem;*/\n}\n\n.font {\n width: 50%;\n word-break: keep-all;\n white-space: nowrap;\n font-weight: 600;\n font-size: 13px;\n line-height: 22px;\n}\n\n.font_color_blue {\n color: #353535;\n font-weight: 600;\n font-size: 12px;\n text-align: right;\n}\n\n.avg_name {\n width: 2rem;\n margin-right: 2rem;\n color: #666666;\n font-weight: 600;\n font-size: 13px;\n line-height: 22px;\n word-break: keep-all;\n}\n\n.baseline {\n border-bottom: 1px dashed #cbcbcb;\n width: 100%;\n margin: auto 1rem auto 1rem;\n}\n\n.arrow_container {\n width: 10%;\n margin-left: 0.5rem;\n padding: 0 0.2rem;\n border-radius: 12.5px;\n}\n\n.arrow_container:hover {\n background-color: #f6f9ff;\n}\n\n.graphContainer {\n position: relative;\n left: 64px;\n width: calc(100% - 64px - 30px);\n margin-top: 0.4rem;\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n align-items: flex-end;\n}\n\n.graph {\n width: 100%;\n margin-bottom: 7px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n}\n\n.graph_pull {\n background-color: #f8f8f8;\n border-radius: 5px;\n padding: 5px 4px;\n font-weight: 600;\n font-size: 13px;\n line-height: 16px;\n color: #959db0;\n}\n\n.graph_pull_max {\n background-color: #f1f6ff;\n border-radius: 5px;\n padding: 5px 4px;\n font-weight: 600;\n font-size: 13px;\n line-height: 16px;\n color: #396ff9;\n}\n\n.graphFont {\n margin-top: 6px;\n font-weight: 600;\n font-size: 12px;\n line-height: 14px;\n text-align: right;\n color: #959db0;\n}\n\n.graphFontMax {\n margin-top: 6px;\n font-weight: 600;\n font-size: 12px;\n line-height: 14px;\n text-align: right;\n color: #396ff9;\n}\n",".title {\n font-family: \"Pretendard\";\n font-style: normal;\n font-weight: 600;\n font-size: 18px;\n line-height: 21px;\n margin-top: 20px;\n width: 100%;\n color: #222222;\n display: flex;\n justify-content: right;\n}\n.titleName {\n margin-left: auto;\n margin-right: auto;\n}\n\n.closeBtn {\n}\n\n.margin {\n margin-bottom: 0.3rem;\n font-family: \"Pretendard\";\n font-style: normal;\n font-weight: 600;\n font-size: 15px;\n line-height: 18px;\n}\n.divisionLine {\n border-bottom: 1.5px solid #eeeeee;\n /* margin-top: 0.7rem; */\n margin-bottom: 16px;\n margin-left: auto;\n margin-right: auto;\n width: 95%;\n}\n\n.Q {\n font-family: \"Reem Kufi Ink\";\n font-style: normal;\n font-weight: 700;\n font-size: 18px;\n line-height: 27px;\n color: #396ff9;\n}\n\n.boxmargin {\n margin-bottom: 1rem;\n}\n.inlinetext {\n display: inline-block;\n padding-top: 0.3rem;\n}\n.flex {\n display: flex;\n flex-direction: row;\n}\n.submit {\n text-align: center;\n width: 100%;\n margin-top: 1em;\n}\n\n.subjectTitle {\n display: flex;\n flex-direction: column;\n margin-right: auto;\n margin-top: 16px;\n margin-bottom: 16px;\n}\n.circle {\n color: #a7a7a7;\n font-family: \"SF Pro Display\";\n font-style: normal;\n font-weight: 600;\n font-size: 13px;\n line-height: 16px;\n}\n.subjectName {\n font-family: \"SF Pro Display\";\n font-style: normal;\n font-weight: 600;\n font-size: 22px;\n line-height: 26px;\n}\n\n.contentBox {\n width: 100%;\n}\n\n.back {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.4);\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.front {\n width: 100%;\n height: 100%;\n background-color: white;\n display: flex;\n flex-direction: column;\n /* justify-content: center; */\n align-items: center;\n padding: 20px;\n overflow-y: auto;\n}\n\n.answerBox {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(30%, auto));\n justify-items: stretch;\n align-content: space-between;\n gap: 3%;\n width: 100%;\n margin-bottom: 53px;\n}\n\n.selectAnswer {\n background: #f6f9ff;\n border: 1px solid #396ff9;\n border-radius: 5px;\n font-family: \"Pretendard\";\n font-style: normal;\n font-weight: 600;\n font-size: 12px;\n line-height: 14px;\n color: #396ff9;\n display: flex;\n cursor: pointer;\n align-items: center;\n justify-content: center;\n margin-bottom: 2%;\n height: 2.5rem;\n}\n\n.answer {\n background: #f9f9f9;\n border-radius: 5px;\n font-family: \"Pretendard\";\n font-style: normal;\n font-weight: 600;\n font-size: 12px;\n line-height: 14px;\n margin-bottom: 2%;\n color: #686868;\n display: flex;\n cursor: pointer;\n align-items: center;\n justify-content: center;\n height: 2.5rem;\n border: none;\n}\n.submitBtn {\n all: unset;\n width: 100%;\n height: 50px;\n text-align: center;\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 600;\n font-size: 16px;\n line-height: 19px;\n\n color: #ffffff;\n background: #396ff9;\n border-radius: 10px;\n}\n\n.inputString {\n width: 98%;\n height: 6rem;\n text-align: inherit;\n}\n.star {\n margin-right: 0.25rem;\n}\n\n/* .myform fieldset{\n display: inline-block; 하위 별점 이미지들이 있는 영역만 자리를 차지함.\n direction: rtl; 이모지 순서 반전\n border: 0; 필드셋 테두리 제거\n} */\n\n/* .myform :hover {\n fill: red;\n} */\n\n.starRate input[type=\"radio\"] {\n opacity: 0;\n position: absolute;\n left: -9999px;\n}\n\n.starRate fieldset {\n border: 0;\n}\n\n.starRating {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.limitWord {\n width: 96%;\n height: 2rem;\n text-align: right;\n margin-right: 5px;\n margin-top: -1.6rem;\n font-family: \"Pretendard\";\n font-style: normal;\n font-weight: 500;\n font-size: 10px;\n line-height: 12px;\n color: #C6C6C6;\n}\n\n\n.announce{\n font-family: 'Pretendard';\nfont-style: normal;\nfont-weight: 500;\nfont-size: 10px;\nline-height: 12px;\ncolor: #ADADAD;\nmargin-right: auto;\nmargin-bottom: 30px;\n}\n/* .myform input[type=radio]:checked ~ label{\n text-shadow: 0 0 0 #a00; 마우스 클릭 체크\n} */\n\n/* .myform label{\n font-size: 3em; 이모지 크기\n color: transparent; 기존 이모지 컬러 제거\n text-shadow: 0 0 0 #f0f0f0; 새 이모지 색상 부여\n} */\n/* .myform :hover{\n text-shadow: 0 0 0 #a00; 마우스 호버\n} */\n/* .myform label:hover ~ label{\n fill: #a7a7a7;\n text-shadow: 0 0 0 #a00; 마우스 호버 뒤에오는 이모지들\n} */\n\n/* .myform fieldset legend{\n text-align: left;\n} */\n/* \nexport const ModalDimmer = styled.div`\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(0, 0, 0, 0.4);\n display: flex;\n justify-content: center;\n align-items: center;\n`;\nexport const ModalBody = styled.div`\n display: flex;\n flex-direction: column;\n max-width: 800px;\n max-height: 600px;\n min-width: 300px;\n min-height: 100px;\n background-color: #ffffff;\n border: 1px solid #cbcbcb;\n border-radius: 10px;\n`;\nexport const ModalTitle = styled.div`\n padding: 1rem;\n font-weight: bold;\n font-size: large;\n border-bottom: 1px solid #cbcbcb;\n`;\nexport const ModalContents = styled.div`\n padding: 1rem;\n border-bottom: 1px solid #cbcbcb;\n`;\nexport const ModalFooter = styled.div`\n display: flex;\n flex-direction: row;\n`;\nexport const ModalButton = styled.button`\n background: none;\n border: none;\n width: 100%;\n height: 52px;\n font-weight: bold;\n :hover {\n opacity: 50%;\n transition: 0.5s;\n }\n`;\n\nexport const ModalButtonWithBorder = styled(ModalButton)`\n border-right: 1px solid #cbcbcb;\n`; */\n",".container{\n\twidth: 100vw;\n\theight: 100vh;\n\tposition: fixed;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\talign-items: center;\n}\n.text{\n\tmargin-top: 1rem;\n}",".container {\n text-decoration: none;\n font-family: \"Pretendard\";\n font-style: normal;\n font-weight: 400;\n font-size: 16px;\n line-height: 18px;\n}\n\n.btn {\n all: unset;\n text-decoration: none;\n color: white;\n background-color: rgb(76, 76, 76);\n padding: 5px;\n border: 1px solid rgb(28, 28, 28);\n border-radius: 5px;\n}\n\n.btn:hover {\n background-color: rgb(24, 24, 24);\n}\n\n.btnWarning {\n all: unset;\n text-decoration: none;\n color: white;\n background-color: rgb(255, 0, 0);\n padding: 5px;\n border: 1px solid rgb(28, 28, 28);\n border-radius: 5px;\n}\n\n.btnWarning:hover {\n all: unset;\n text-decoration: none;\n color: white;\n background-color: rgb(119, 0, 0);\n padding: 5px;\n border: 1px solid rgb(28, 28, 28);\n border-radius: 5px;\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/build/static/js/main.7a8570b1.js b/build/static/js/main.7a8570b1.js new file mode 100644 index 0000000..992f6b4 --- /dev/null +++ b/build/static/js/main.7a8570b1.js @@ -0,0 +1,3 @@ +/*! For license information please see main.7a8570b1.js.LICENSE.txt */ +!function(){var e={6995:function(e,t,n){"use strict";var o=n(4836);t.Z=void 0;var r=o(n(5649)),c=n(184),i=(0,r.default)((0,c.jsx)("path",{d:"M16.88 2.88c-.49-.49-1.28-.49-1.77 0L6.7 11.29c-.39.39-.39 1.02 0 1.41l8.41 8.41c.49.49 1.28.49 1.77 0s.49-1.28 0-1.77L9.54 12l7.35-7.35c.48-.49.48-1.28-.01-1.77z"}),"ArrowBackIosNewRounded");t.Z=i},5130:function(e,t,n){"use strict";var o=n(4836);t.Z=void 0;var r=o(n(5649)),c=n(184),i=(0,r.default)((0,c.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");t.Z=i},2104:function(e,t,n){"use strict";var o=n(4836);t.Z=void 0;var r=o(n(5649)),c=n(184),i=(0,r.default)((0,c.jsx)("path",{d:"M8.12 9.29 12 13.17l3.88-3.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-4.59 4.59c-.39.39-1.02.39-1.41 0L6.7 10.7a.9959.9959 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0z"}),"KeyboardArrowDownRounded");t.Z=i},9718:function(e,t,n){"use strict";var o=n(4836);t.Z=void 0;var r=o(n(5649)),c=n(184),i=(0,r.default)((0,c.jsx)("path",{d:"M8.12 14.71 12 10.83l3.88 3.88c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L12.7 8.71a.9959.9959 0 0 0-1.41 0L6.7 13.3c-.39.39-.39 1.02 0 1.41.39.38 1.03.39 1.42 0z"}),"KeyboardArrowUpRounded");t.Z=i},5232:function(e,t,n){"use strict";var o=n(4836);t.Z=void 0;var r=o(n(5649)),c=n(184),i=(0,r.default)((0,c.jsx)("path",{d:"M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"}),"PermIdentity");t.Z=i},5649:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.createSvgIcon}});var o=n(5439)},5439:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return p},createChainedFunction:function(){return b},createSvgIcon:function(){return Wo},debounce:function(){return vo},deprecatedPropType:function(){return yo},isMuiElement:function(){return mo},ownerDocument:function(){return Ro},ownerWindow:function(){return Lo},requirePropFactory:function(){return No},setRef:function(){return wo},unstable_ClassNameGenerator:function(){return Yo},unstable_useEnhancedEffect:function(){return ko},unstable_useId:function(){return So},unsupportedProp:function(){return To},useControlled:function(){return Xo},useEventCallback:function(){return Co},useForkRef:function(){return Po},useIsFocusVisible:function(){return Go}});var o=function(e){return e},r=function(){var e=o;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=o}}}();function c(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n2&&void 0!==arguments[2]?arguments[2]:{clone:!0},o=n.clone?a({},e):e;return d(e)&&d(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(d(t[r])&&r in e&&d(e[r])?o[r]=q(e[r],t[r],n):n.clone?o[r]=d(t[r])?A(t[r]):t[r]:o[r]=t[r])})),o}var h=n(4942),W=["values","unit","step"];function v(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,o=e.unit,r=void 0===o?"px":o,c=e.step,i=void 0===c?5:c,p=(0,l.Z)(e,W),b=function(e){var t=Object.keys(e).map((function(t){return{key:t,val:e[t]}}))||[];return t.sort((function(e,t){return e.val-t.val})),t.reduce((function(e,t){return a({},e,(0,h.Z)({},t.key,t.val))}),{})}(n),M=Object.keys(b);function z(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(r,")")}function u(e){var t="number"===typeof n[e]?n[e]:e;return"@media (max-width:".concat(t-i/100).concat(r,")")}function s(e,t){var o=M.indexOf(t);return"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(r,") and ")+"(max-width:".concat((-1!==o&&"number"===typeof n[M[o]]?n[M[o]]:t)-i/100).concat(r,")")}return a({keys:M,values:b,up:z,down:u,between:s,only:function(e){return M.indexOf(e)+10&&void 0!==arguments[0]?arguments[0]:{},n=null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{});return n||{}}function _(e,t){return e.reduce((function(e,t){var n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function w(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){var o="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=o)return o}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function B(e,t,n){var o,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return o="function"===typeof e?e(n):Array.isArray(e)?e[n]||r:w(e,n)||r,t&&(o=t(o,r,e)),o}var k=function(e){var t=e.prop,n=e.cssProperty,o=void 0===n?e.prop:n,r=e.themeKey,c=e.transform,p=function(e){if(null==e[t])return null;var n=e[t],p=w(e.theme,r)||{};return L(e,n,(function(e){var n=B(p,c,e);return e===n&&"string"===typeof e&&(n=B(p,c,"".concat(t).concat("default"===e?"":i(e)),e)),!1===o?n:(0,h.Z)({},o,n)}))};return p.propTypes={},p.filterProps=[t],p};var E=function(e,t){return t?q(e,t,{clone:!1}):e};var x={m:"margin",p:"padding"},S={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},T={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},X=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!T[e])return[e];e=T[e]}var t=e.split(""),n=(0,m.Z)(t,2),o=n[0],r=n[1],c=x[o],i=S[r]||"";return Array.isArray(i)?i.map((function(e){return c+e})):[c+i]})),C=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],j=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],P=[].concat(C,j);function D(e,t,n,o){var r,c=null!=(r=w(e,t,!1))?r:n;return"number"===typeof c?function(e){return"string"===typeof e?e:c*e}:Array.isArray(c)?function(e){return"string"===typeof e?e:c[e]}:"function"===typeof c?c:function(){}}function I(e){return D(e,"spacing",8)}function U(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function F(e,t,n,o){if(-1===t.indexOf(n))return null;var r=function(e,t){return function(n){return e.reduce((function(e,o){return e[o]=U(t,n),e}),{})}}(X(n),o);return L(e,e[n],r)}function H(e,t){var n=I(e.theme);return Object.keys(e).map((function(o){return F(e,t,o,n)})).reduce(E,{})}function V(e){return H(e,C)}function K(e){return H(e,j)}function G(e){return H(e,P)}V.propTypes={},V.filterProps=C,K.propTypes={},K.filterProps=j,G.propTypes={},G.filterProps=P;function Y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=I({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,o=e.palette,r=void 0===o?{}:o,c=e.spacing,i=e.shape,p=void 0===i?{}:i,b=(0,l.Z)(e,ye),M=v(n),z=Y(c),u=q({breakpoints:M,direction:"ltr",components:{},palette:a({mode:"light"},r),spacing:z,shape:a({},y,p)},b),s=arguments.length,O=new Array(s>1?s-1:0),f=1;f0&&void 0!==arguments[0]?arguments[0]:null,t=Re();return!t||Le(t)?e:t},_e=me();var we=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_e;return Ne(e)};function Be(e,t){var n;return a({toolbar:(n={minHeight:56},(0,h.Z)(n,e.up("xs"),{"@media (orientation: landscape)":{minHeight:48}}),(0,h.Z)(n,e.up("sm"),{minHeight:64}),n)},t)}function ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function Ee(e){if(e.type)return e;if("#"===e.charAt(0))return Ee(function(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(c(9,e));var o,r=e.substring(t+1,e.length-1);if("color"===n){if(o=(r=r.split(" ")).shift(),4===r.length&&"/"===r[3].charAt(0)&&(r[3]=r[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error(c(10,o))}else r=r.split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)})),colorSpace:o}}function xe(e){var t=e.type,n=e.colorSpace,o=e.values;return-1!==t.indexOf("rgb")?o=o.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(o[1]="".concat(o[1],"%"),o[2]="".concat(o[2],"%")),o=-1!==t.indexOf("color")?"".concat(n," ").concat(o.join(" ")):"".concat(o.join(", ")),"".concat(t,"(").concat(o,")")}function Se(e){var t="hsl"===(e=Ee(e)).type||"hsla"===e.type?Ee(function(e){var t=(e=Ee(e)).values,n=t[0],o=t[1]/100,r=t[2]/100,c=o*Math.min(r,1-r),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return r-c*Math.max(Math.min(t-3,9-t,1),-1)},p="rgb",b=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(p+="a",b.push(t[3])),xe({type:p,values:b})}(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Te(e,t){if(e=Ee(e),t=ke(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return xe(e)}function Xe(e,t){if(e=Ee(e),t=ke(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(var o=0;o<3;o+=1)e.values[o]+=(1-e.values[o])*t;return xe(e)}var Ce={black:"#000",white:"#fff"},je={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Pe={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},De={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ie={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ue={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Fe={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},He={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ve=["mode","contrastThreshold","tonalOffset"],Ke={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ce.white,default:Ce.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Ge={text:{primary:Ce.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ce.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Ye(e,t,n,o){var r=o.light||o,c=o.dark||1.5*o;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Xe(e.main,r):"dark"===t&&(e.dark=Te(e.main,c)))}function Ze(e){var t=e.mode,n=void 0===t?"light":t,o=e.contrastThreshold,r=void 0===o?3:o,i=e.tonalOffset,p=void 0===i?.2:i,b=(0,l.Z)(e,Ve),M=e.primary||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:Ue[200],light:Ue[50],dark:Ue[400]}:{main:Ue[700],light:Ue[400],dark:Ue[800]}}(n),z=e.secondary||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:Pe[200],light:Pe[50],dark:Pe[400]}:{main:Pe[500],light:Pe[300],dark:Pe[700]}}(n),u=e.error||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:De[500],light:De[300],dark:De[700]}:{main:De[700],light:De[400],dark:De[800]}}(n),s=e.info||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:Fe[400],light:Fe[300],dark:Fe[700]}:{main:Fe[700],light:Fe[500],dark:Fe[900]}}(n),O=e.success||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:He[400],light:He[300],dark:He[700]}:{main:He[800],light:He[500],dark:He[900]}}(n),f=e.warning||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:Ie[400],light:Ie[300],dark:Ie[700]}:{main:"#ed6c02",light:Ie[500],dark:Ie[900]}}(n);function d(e){var t=function(e,t){var n=Se(e),o=Se(t);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}(e,Ge.text.primary)>=r?Ge.text.primary:Ke.text.primary;return t}var A=function(e){var t=e.color,n=e.name,o=e.mainShade,r=void 0===o?500:o,i=e.lightShade,b=void 0===i?300:i,M=e.darkShade,z=void 0===M?700:M;if(!(t=a({},t)).main&&t[r]&&(t.main=t[r]),!t.hasOwnProperty("main"))throw new Error(c(11,n?" (".concat(n,")"):"",r));if("string"!==typeof t.main)throw new Error(c(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return Ye(t,"light",b,p),Ye(t,"dark",z,p),t.contrastText||(t.contrastText=d(t.main)),t},h={dark:Ge,light:Ke};return q(a({common:a({},Ce),mode:n,primary:A({color:M,name:"primary"}),secondary:A({color:z,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:A({color:u,name:"error"}),warning:A({color:f,name:"warning"}),info:A({color:s,name:"info"}),success:A({color:O,name:"success"}),grey:je,contrastThreshold:r,getContrastText:d,augmentColor:A,tonalOffset:p},h[n]),b)}var Qe=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var Je={textTransform:"uppercase"},$e='"Roboto", "Helvetica", "Arial", sans-serif';function et(e,t){var n="function"===typeof t?t(e):t,o=n.fontFamily,r=void 0===o?$e:o,c=n.fontSize,i=void 0===c?14:c,p=n.fontWeightLight,b=void 0===p?300:p,M=n.fontWeightRegular,z=void 0===M?400:M,u=n.fontWeightMedium,s=void 0===u?500:u,O=n.fontWeightBold,f=void 0===O?700:O,d=n.htmlFontSize,A=void 0===d?16:d,h=n.allVariants,W=n.pxToRem,v=(0,l.Z)(n,Qe);var y=i/14,m=W||function(e){return"".concat(e/A*y,"rem")},g=function(e,t,n,o,c){return a({fontFamily:r,fontWeight:e,fontSize:m(t),lineHeight:n},r===$e?{letterSpacing:"".concat((i=o/t,Math.round(1e5*i)/1e5),"em")}:{},c,h);var i},R={h1:g(b,96,1.167,-1.5),h2:g(b,60,1.2,-.5),h3:g(z,48,1.167,0),h4:g(z,34,1.235,.25),h5:g(z,24,1.334,0),h6:g(s,20,1.6,.15),subtitle1:g(z,16,1.75,.15),subtitle2:g(s,14,1.57,.1),body1:g(z,16,1.5,.15),body2:g(z,14,1.43,.15),button:g(s,14,1.75,.4,Je),caption:g(z,12,1.66,.4),overline:g(z,12,2.66,1,Je),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return q(a({htmlFontSize:A,pxToRem:m,fontFamily:r,fontSize:i,fontWeightLight:b,fontWeightRegular:z,fontWeightMedium:s,fontWeightBold:f},R),v,{clone:!1})}function tt(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var nt=["none",tt(0,2,1,-1,0,1,1,0,0,1,3,0),tt(0,3,1,-2,0,2,2,0,0,1,5,0),tt(0,3,3,-2,0,3,4,0,0,1,8,0),tt(0,2,4,-1,0,4,5,0,0,1,10,0),tt(0,3,5,-1,0,5,8,0,0,1,14,0),tt(0,3,5,-1,0,6,10,0,0,1,18,0),tt(0,4,5,-2,0,7,10,1,0,2,16,1),tt(0,5,5,-3,0,8,10,1,0,3,14,2),tt(0,5,6,-3,0,9,12,1,0,3,16,2),tt(0,6,6,-3,0,10,14,1,0,4,18,3),tt(0,6,7,-4,0,11,15,1,0,4,20,3),tt(0,7,8,-4,0,12,17,2,0,5,22,4),tt(0,7,8,-4,0,13,19,2,0,5,24,4),tt(0,7,9,-4,0,14,21,2,0,5,26,4),tt(0,8,9,-5,0,15,22,2,0,6,28,5),tt(0,8,10,-5,0,16,24,2,0,6,30,5),tt(0,8,11,-5,0,17,26,2,0,6,32,5),tt(0,9,11,-5,0,18,28,2,0,7,34,6),tt(0,9,12,-6,0,19,29,2,0,7,36,6),tt(0,10,13,-6,0,20,31,3,0,8,38,7),tt(0,10,13,-6,0,21,33,3,0,8,40,7),tt(0,10,14,-6,0,22,35,3,0,8,42,7),tt(0,11,14,-7,0,23,36,3,0,9,44,8),tt(0,11,15,-7,0,24,38,3,0,9,46,8)],ot=["duration","easing","delay"],rt={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},ct={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function it(e){return"".concat(Math.round(e),"ms")}function pt(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}function bt(e){var t=a({},rt,e.easing),n=a({},ct,e.duration);return a({getAutoHeightDuration:pt,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=o.duration,c=void 0===r?n.standard:r,i=o.easing,p=void 0===i?t.easeInOut:i,b=o.delay,a=void 0===b?0:b;(0,l.Z)(o,ot);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof c?c:it(c)," ").concat(p," ").concat("string"===typeof a?a:it(a))})).join(",")}},e,{easing:t,duration:n})}var at={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Mt=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function zt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,o=e.palette,r=void 0===o?{}:o,i=e.transitions,p=void 0===i?{}:i,b=e.typography,M=void 0===b?{}:b,z=(0,l.Z)(e,Mt);if(e.vars)throw new Error(c(18));var u=Ze(r),s=me(e),O=q(s,{mixins:Be(s.breakpoints,n),palette:u,shadows:nt.slice(),typography:et(u,M),transitions:bt(p),zIndex:a({},at)});O=q(O,z);for(var f=arguments.length,d=new Array(f>1?f-1:0),A=1;A0?gt(St,--Et):0,Bt--,10===xt&&(Bt=1,wt--),xt}function jt(){return xt=Et2||Ut(xt)>3?"":" "}function Gt(e,t){for(;--t&&jt()&&!(xt<48||xt>102||xt>57&&xt<65||xt>70&&xt<97););return It(e,Dt()+(t<6&&32==Pt()&&32==jt()))}function Yt(e){for(;jt();)switch(xt){case e:return Et;case 34:case 39:34!==e&&39!==e&&Yt(xt);break;case 40:41===e&&Yt(e);break;case 92:jt()}return Et}function Zt(e,t){for(;jt()&&e+xt!==57&&(e+xt!==84||47!==Pt()););return"/*"+It(t,Et-1)+"*"+ht(47===e?e:jt())}function Qt(e){for(;!Ut(Pt());)jt();return It(e,Et)}var Jt="-ms-",$t="-moz-",en="-webkit-",tn="comm",nn="rule",on="decl",rn="@keyframes";function cn(e,t){for(var n="",o=Nt(e),r=0;r0&&Lt(y)-z&&_t(u>32?ln(y+";",o,n,z-1):ln(yt(y," ","")+";",o,n,z-2),b);break;case 59:y+=";";default:if(_t(v=Mn(y,t,n,a,M,r,p,q,h=[],W=[],z),c),123===A)if(0===M)an(y,t,v,v,h,c,z,p,W);else switch(99===l&&110===gt(y,3)?100:l){case 100:case 109:case 115:an(e,v,v,o&&_t(Mn(e,v,v,0,0,r,p,q,r,h=[],z),W),r,W,z,p,o?h:W);break;default:an(y,v,v,v,[""],W,0,p,W)}}a=M=u=0,O=d=1,q=y="",z=i;break;case 58:z=1+Lt(y),u=s;default:if(O<1)if(123==A)--O;else if(125==A&&0==O++&&125==Ct())continue;switch(y+=ht(A),A*O){case 38:d=M>0?1:(y+="\f",-1);break;case 44:p[a++]=(Lt(y)-1)*d,d=1;break;case 64:45===Pt()&&(y+=Vt(jt())),l=Pt(),M=z=Lt(q=y+=Qt(Dt())),A++;break;case 45:45===s&&2==Lt(y)&&(O=0)}}return c}function Mn(e,t,n,o,r,c,i,p,b,a,M){for(var z=r-1,l=0===r?c:[""],u=Nt(l),s=0,O=0,f=0;s0?l[d]+" "+A:yt(A,/&\f/g,l[d])))&&(b[f++]=q);return Tt(e,t,n,0===r?nn:p,b,a,M)}function zn(e,t,n){return Tt(e,t,n,tn,ht(xt),Rt(e,2,-2),0)}function ln(e,t,n,o){return Tt(e,t,n,on,Rt(e,0,o),Rt(e,o+1,-1),o)}var un=function(e,t,n){for(var o=0,r=0;o=r,r=Pt(),38===o&&12===r&&(t[n]=1),!Ut(r);)jt();return It(e,Et)},sn=function(e,t){return Ht(function(e,t){var n=-1,o=44;do{switch(Ut(o)){case 0:38===o&&12===Pt()&&(t[n]=1),e[n]+=un(Et-1,t,n);break;case 2:e[n]+=Vt(o);break;case 4:if(44===o){e[++n]=58===Pt()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=ht(o)}}while(o=jt());return e}(Ft(e),t))},On=new WeakMap,fn=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||On.get(n))&&!o){On.set(e,!0);for(var r=[],c=sn(t,r),i=n.props,p=0,b=0;p6)switch(gt(e,t+1)){case 109:if(45!==gt(e,t+4))break;case 102:return yt(e,/(.+:)(.+)-([^]+)/,"$1"+en+"$2-$3$1"+$t+(108==gt(e,t+3)?"$3":"$2-$3"))+e;case 115:return~mt(e,"stretch")?An(yt(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==gt(e,t+1))break;case 6444:switch(gt(e,Lt(e)-3-(~mt(e,"!important")&&10))){case 107:return yt(e,":",":"+en)+e;case 101:return yt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+en+(45===gt(e,14)?"inline-":"")+"box$3$1"+en+"$2$3$1"+Jt+"$2box$3")+e}break;case 5936:switch(gt(e,t+11)){case 114:return en+e+Jt+yt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return en+e+Jt+yt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return en+e+Jt+yt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return en+e+Jt+e+e}return e}var qn=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case on:e.return=An(e.value,e.length);break;case rn:return cn([Xt(e,{value:yt(e.value,"@","@"+en)})],o);case nn:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return cn([Xt(e,{props:[yt(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return cn([Xt(e,{props:[yt(t,/:(plac\w+)/,":"+en+"input-$1")]}),Xt(e,{props:[yt(t,/:(plac\w+)/,":-moz-$1")]}),Xt(e,{props:[yt(t,/:(plac\w+)/,Jt+"input-$1")]})],o)}return""}))}}],hn=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||qn;var r,c,i={},p=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++o,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},vn={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},yn=/[A-Z]|^ms/g,mn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,gn=function(e){return 45===e.charCodeAt(1)},Rn=function(e){return null!=e&&"boolean"!==typeof e},Ln=Ot((function(e){return gn(e)?e:e.replace(yn,"-$&").toLowerCase()})),Nn=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(mn,(function(e,t,n){return wn={name:t,styles:n,next:wn},t}))}return 1===vn[e]||gn(e)||"number"!==typeof t||0===t?t:t+"px"};function _n(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return wn={name:n.name,styles:n.styles,next:wn},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)wn={name:o.name,styles:o.styles,next:wn},o=o.next;return n.styles+";"}return function(e,t,n){var o="";if(Array.isArray(n))for(var r=0;r96?Pn:Dn},Un=function(e,t,n){var o;if(t){var r=t.shouldForwardProp;o=e.__emotion_forwardProp&&r?function(t){return e.__emotion_forwardProp(t)&&r(t)}:r}return"function"!==typeof o&&n&&(o=e.__emotion_forwardProp),o},Fn=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;jn(t,n,o);xn((function(){return function(e,t,n){jn(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r=t;do{e.insert(t===r?"."+o:"",r,e.sheet,!0),r=r.next}while(void 0!==r)}}(t,n,o)}));return null},Hn=function e(t,n){var o,r,c=t.__emotion_real===t,i=c&&t.__emotion_base||t;void 0!==n&&(o=n.label,r=n.target);var p=Un(t,n,c),b=p||In(i),z=!b("as");return function(){var l=arguments,u=c&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&u.push("label:"+o+";"),null==l[0]||void 0===l[0].raw)u.push.apply(u,l);else{0,u.push(l[0][0]);for(var s=l.length,O=1;O96}var ro=function(e,t){return t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null},co=function(e,t){var n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);var o={};return n.forEach((function(e){var t=Jn(e.props);o[t]=e.style})),o},io=function(e,t,n,o){var r,c,i=e.ownerState,p=void 0===i?{}:i,b=[],a=null==n||null==(r=n.components)||null==(c=r[o])?void 0:c.variants;return a&&a.forEach((function(n){var o=!0;Object.keys(n.props).forEach((function(t){p[t]!==n.props[t]&&e[t]!==n.props[t]&&(o=!1)})),o&&b.push(t[Jn(n.props)])})),b};function po(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}var bo=me();var ao=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=void 0===t?bo:t,o=e.rootShouldForwardProp,r=void 0===o?po:o,c=e.slotShouldForwardProp,i=void 0===c?po:c,p=function(e){var t=no(e.theme)?n:e.theme;return ve(a({},e,{theme:t}))};return p.__mui_systemSx=!0,function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Yn(e,(function(e){return e.filter((function(e){return!(null!=e&&e.__mui_systemSx)}))}));var o,c=t.name,b=t.slot,M=t.skipVariantsResolver,z=t.skipSx,u=t.overridesResolver,s=(0,l.Z)(t,$n),O=void 0!==M?M:b&&"Root"!==b||!1,f=z||!1;var d=po;"Root"===b?d=r:b?d=i:oo(e)&&(d=void 0);var A=Gn(e,a({shouldForwardProp:d,label:o},s)),q=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r0){var z=new Array(M).fill("");(b=[].concat((0,st.Z)(e),(0,st.Z)(z))).raw=[].concat((0,st.Z)(e.raw),(0,st.Z)(z))}else"function"===typeof e&&e.__emotion_real!==e&&(b=function(t){var o=t.theme,r=(0,l.Z)(t,to);return e(a({theme:no(o)?n:o},r))});var s=A.apply(void 0,[b].concat((0,st.Z)(i)));return s};return A.withConfig&&(q.withConfig=A.withConfig),q}}({defaultTheme:lt,rootShouldForwardProp:function(e){return po(e)&&"classes"!==e}}),Mo=ao,zo={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function lo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",o=zo[t];return o?"".concat(n,"-").concat(o):"".concat(r.generate(e),"-").concat(t)}function uo(e){return lo("MuiSvgIcon",e)}!function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",o={};t.forEach((function(t){o[t]=lo(e,t,n)}))}("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var so=n(184),Oo=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],fo=function(e){var t=e.color,n=e.fontSize,o=e.classes;return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,o={};return Object.keys(e).forEach((function(r){o[r]=e[r].reduce((function(e,o){if(o){var r=t(o);""!==r&&e.push(r),n&&n[o]&&e.push(n[o])}return e}),[]).join(" ")})),o}({root:["root","inherit"!==t&&"color".concat(p(t)),"fontSize".concat(p(n))]},uo,o)},Ao=Mo("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"inherit"!==n.color&&t["color".concat(p(n.color))],t["fontSize".concat(p(n.fontSize))]]}})((function(e){var t,n,o,r,c,i,p,b,a,M,z,l,u,s,O,f,d,A=e.theme,q=e.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(t=A.transitions)||null==(n=t.create)?void 0:n.call(t,"fill",{duration:null==(o=A.transitions)||null==(r=o.duration)?void 0:r.shorter}),fontSize:{inherit:"inherit",small:(null==(c=A.typography)||null==(i=c.pxToRem)?void 0:i.call(c,20))||"1.25rem",medium:(null==(p=A.typography)||null==(b=p.pxToRem)?void 0:b.call(p,24))||"1.5rem",large:(null==(a=A.typography)||null==(M=a.pxToRem)?void 0:M.call(a,35))||"2.1875rem"}[q.fontSize],color:null!=(z=null==(l=(A.vars||A).palette)||null==(u=l[q.color])?void 0:u.main)?z:{action:null==(s=(A.vars||A).palette)||null==(O=s.action)?void 0:O.active,disabled:null==(f=(A.vars||A).palette)||null==(d=f.action)?void 0:d.disabled,inherit:void 0}[q.color]}})),qo=M.forwardRef((function(e,t){var n=ut({props:e,name:"MuiSvgIcon"}),o=n.children,r=n.className,c=n.color,i=void 0===c?"inherit":c,p=n.component,b=void 0===p?"svg":p,M=n.fontSize,z=void 0===M?"medium":M,u=n.htmlColor,O=n.inheritViewBox,f=void 0!==O&&O,d=n.titleAccess,A=n.viewBox,q=void 0===A?"0 0 24 24":A,h=(0,l.Z)(n,Oo),W=a({},n,{color:i,component:b,fontSize:z,instanceFontSize:e.fontSize,inheritViewBox:f,viewBox:q}),v={};f||(v.viewBox=q);var y=fo(W);return(0,so.jsxs)(Ao,a({as:b,className:s(y.root,r),focusable:"false",color:u,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:t},v,h,{ownerState:W,children:[o,d?(0,so.jsx)("title",{children:d}):null]}))}));qo.muiName="SvgIcon";var ho=qo;function Wo(e,t){function n(n,o){return(0,so.jsx)(ho,a({"data-testid":"".concat(t,"Icon"),ref:o},n,{children:e}))}return n.muiName=ho.muiName,M.memo(M.forwardRef(n))}var vo=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function o(){for(var o=this,r=arguments.length,c=new Array(r),i=0;iM))return!1;var l=b.get(e),u=b.get(t);if(l&&u)return l==t&&u==e;var s=-1,O=!0,f=2&n?new o:void 0;for(b.set(e,t),b.set(t,e);++s-1&&e%1==0&&e-1}},7109:function(e,t,n){var o=n(7112);e.exports=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},4086:function(e,t,n){var o=n(9676),r=n(8384),c=n(5797);e.exports=function(){this.size=0,this.__data__={hash:new o,map:new(c||r),string:new o}}},9255:function(e,t,n){var o=n(2799);e.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}},9186:function(e,t,n){var o=n(2799);e.exports=function(e){return o(this,e).get(e)}},3423:function(e,t,n){var o=n(2799);e.exports=function(e){return o(this,e).has(e)}},3739:function(e,t,n){var o=n(2799);e.exports=function(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},234:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n}},9620:function(e,t,n){var o=n(8136)(Object,"create");e.exports=o},8836:function(e,t,n){var o=n(2709)(Object.keys,Object);e.exports=o},9494:function(e,t,n){e=n.nmd(e);var o=n(1032),r=t&&!t.nodeType&&t,c=r&&e&&!e.nodeType&&e,i=c&&c.exports===r&&o.process,p=function(){try{var e=c&&c.require&&c.require("util").types;return e||i&&i.binding&&i.binding("util")}catch(t){}}();e.exports=p},3581:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},2709:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},7009:function(e,t,n){var o=n(1032),r="object"==typeof self&&self&&self.Object===Object&&self,c=o||r||Function("return this")();e.exports=c},5774:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},1596:function(e){e.exports=function(e){return this.__data__.has(e)}},2230:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},511:function(e,t,n){var o=n(8384);e.exports=function(){this.__data__=new o,this.size=0}},835:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},707:function(e){e.exports=function(e){return this.__data__.get(e)}},8832:function(e){e.exports=function(e){return this.__data__.has(e)}},5077:function(e,t,n){var o=n(8384),r=n(5797),c=n(8059);e.exports=function(e,t){var n=this.__data__;if(n instanceof o){var i=n.__data__;if(!r||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new c(i)}return n.set(e,t),this.size=n.size,this}},7907:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},9231:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},4963:function(e,t,n){var o=n(4906),r=n(3141),c=Object.prototype,i=c.hasOwnProperty,p=c.propertyIsEnumerable,b=o(function(){return arguments}())?o:function(e){return r(e)&&i.call(e,"callee")&&!p.call(e,"callee")};e.exports=b},3629:function(e){var t=Array.isArray;e.exports=t},1473:function(e,t,n){var o=n(4786),r=n(4635);e.exports=function(e){return null!=e&&r(e.length)&&!o(e)}},5174:function(e,t,n){e=n.nmd(e);var o=n(7009),r=n(9488),c=t&&!t.nodeType&&t,i=c&&e&&!e.nodeType&&e,p=i&&i.exports===c?o.Buffer:void 0,b=(p?p.isBuffer:void 0)||r;e.exports=b},8111:function(e,t,n){var o=n(1848);e.exports=function(e,t){return o(e,t)}},4786:function(e,t,n){var o=n(9066),r=n(8092);e.exports=function(e){if(!r(e))return!1;var t=o(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},4635:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},8092:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3141:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},9102:function(e,t,n){var o=n(8150),r=n(6194),c=n(9494),i=c&&c.isTypedArray,p=i?r(i):o;e.exports=p},2742:function(e,t,n){var o=n(7538),r=n(3654),c=n(1473);e.exports=function(e){return c(e)?o(e):r(e)}},8174:function(e){e.exports=function(){return[]}},9488:function(e){e.exports=function(){return!1}},3528:function(e,t,n){(e.exports=n(8001)).tz.load(n(1128))},8001:function(e,t,n){var o,r,c;!function(i,p){"use strict";e.exports?e.exports=p(n(2426)):(r=[n(2426)],void 0===(c="function"===typeof(o=p)?o.apply(t,r):o)||(e.exports=c))}(0,(function(e){"use strict";void 0===e.version&&e.default&&(e=e.default);var t,n={},o={},r={},c={},i={};e&&"string"===typeof e.version||_("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var p=e.version.split("."),b=+p[0],a=+p[1];function M(e){return e>96?e-87:e>64?e-29:e-48}function z(e){var t=0,n=e.split("."),o=n[0],r=n[1]||"",c=1,i=0,p=1;for(45===e.charCodeAt(0)&&(t=1,p=-1);t3){var t=c[m(e)];if(t)return t;_("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(M){}var n,o,r,i=function(){var e,t,n,o=(new Date).getFullYear()-2,r=new d(new Date(o,0,1)),c=[r];for(n=1;n<48;n++)(t=new d(new Date(o,n,1))).offset!==r.offset&&(e=q(r,t),c.push(e),c.push(new d(new Date(e.at+6e4)))),r=t;for(n=0;n<4;n++)c.push(new d(new Date(o+n,0,1))),c.push(new d(new Date(o+n,6,1)));return c}(),p=i.length,b=v(i),a=[];for(o=0;o0?a[0].zone.name:void 0}function m(e){return(e||"").toLowerCase().replace(/\//g,"_")}function g(e){var t,o,r,i;for("string"===typeof e&&(e=[e]),t=0;t= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),O.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,n=+e,o=this.untils;for(t=0;to&&w.moveInvalidForward&&(t=o),c0&&(this._z=null),B.apply(this,arguments)}),e.tz.setDefault=function(t){return(b<2||2===b&&a<9)&&_("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?R(t):null,e};var S=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(S)?(S.push("_z"),S.push("_a")):S&&(S._z=null),e}))},2426:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,n;function o(){return t.apply(null,arguments)}function r(e){t=e}function c(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function b(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(p(e,t))return!1;return!0}function a(e){return void 0===e}function M(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function z(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,o=[],r=e.length;for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+o}var T=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,X=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,C={},j={};function P(e,t,n,o){var r=o;"string"===typeof o&&(r=function(){return this[o]()}),e&&(j[e]=r),t&&(j[t[0]]=function(){return S(r.apply(this,arguments),t[1],t[2])}),n&&(j[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function D(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function I(e){var t,n,o=e.match(T);for(t=0,n=o.length;t=0&&X.test(e);)e=e.replace(X,o),X.lastIndex=0,n-=1;return e}var H={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function V(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(T).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var K="Invalid date";function G(){return this._invalidDate}var Y="%d",Z=/\d{1,2}/;function Q(e){return this._ordinal.replace("%d",e)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function $(e,t,n,o){var r=this._relativeTime[n];return _(r)?r(e,t,n,o):r.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return _(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function oe(e){return"string"===typeof e?te[e]||te[e.toLowerCase()]:void 0}function re(e){var t,n,o={};for(n in e)p(e,n)&&(t=oe(n))&&(o[t]=e[n]);return o}var ce={};function ie(e,t){ce[e]=t}function pe(e){var t,n=[];for(t in e)p(e,t)&&n.push({unit:t,priority:ce[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function be(e){return e%4===0&&e%100!==0||e%400===0}function ae(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Me(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ae(t)),n}function ze(e,t){return function(n){return null!=n?(ue(this,e,n),o.updateOffset(this,t),this):le(this,e)}}function le(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function ue(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&be(e.year())&&1===e.month()&&29===e.date()?(n=Me(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),$e(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function se(e){return _(this[e=oe(e)])?this[e]():this}function Oe(e,t){if("object"===typeof e){var n,o=pe(e=re(e)),r=o.length;for(n=0;n68?1900:2e3)};var ft=ze("FullYear",!0);function dt(){return be(this.year())}function At(e,t,n,o,r,c,i){var p;return e<100&&e>=0?(p=new Date(e+400,t,n,o,r,c,i),isFinite(p.getFullYear())&&p.setFullYear(e)):p=new Date(e,t,n,o,r,c,i),p}function qt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ht(e,t,n){var o=7+t-n;return-(7+qt(e,0,o).getUTCDay()-t)%7+o-1}function Wt(e,t,n,o,r){var c,i,p=1+7*(t-1)+(7+n-o)%7+ht(e,o,r);return p<=0?i=Ot(c=e-1)+p:p>Ot(e)?(c=e+1,i=p-Ot(e)):(c=e,i=p),{year:c,dayOfYear:i}}function vt(e,t,n){var o,r,c=ht(e.year(),t,n),i=Math.floor((e.dayOfYear()-c-1)/7)+1;return i<1?o=i+yt(r=e.year()-1,t,n):i>yt(e.year(),t,n)?(o=i-yt(e.year(),t,n),r=e.year()+1):(r=e.year(),o=i),{week:o,year:r}}function yt(e,t,n){var o=ht(e,t,n),r=ht(e+1,t,n);return(Ot(e)-o+r)/7}function mt(e){return vt(e,this._week.dow,this._week.doy).week}P("w",["ww",2],"wo","week"),P("W",["WW",2],"Wo","isoWeek"),ne("week","w"),ne("isoWeek","W"),ie("week",5),ie("isoWeek",5),xe("w",ve),xe("ww",ve,Ae),xe("W",ve),xe("WW",ve,Ae),Pe(["w","ww","W","WW"],(function(e,t,n,o){t[o.substr(0,1)]=Me(e)}));var gt={dow:0,doy:6};function Rt(){return this._week.dow}function Lt(){return this._week.doy}function Nt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function _t(e){var t=vt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function wt(e,t){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Bt(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function kt(e,t){return e.slice(t,7).concat(e.slice(0,t))}P("d",0,"do","day"),P("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),P("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),P("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),P("e",0,0,"weekday"),P("E",0,0,"isoWeekday"),ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),ie("day",11),ie("weekday",11),ie("isoWeekday",11),xe("d",ve),xe("e",ve),xe("E",ve),xe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),xe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),xe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Pe(["dd","ddd","dddd"],(function(e,t,n,o){var r=n._locale.weekdaysParse(e,o,n._strict);null!=r?t.d=r:f(n).invalidWeekday=e})),Pe(["d","e","E"],(function(e,t,n,o){t[o]=Me(e)}));var Et="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),xt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),St="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Tt=Ee,Xt=Ee,Ct=Ee;function jt(e,t){var n=c(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?kt(n,this._week.dow):e?n[e.day()]:n}function Pt(e){return!0===e?kt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Dt(e){return!0===e?kt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function It(e,t,n){var o,r,c,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],o=0;o<7;++o)c=s([2e3,1]).day(o),this._minWeekdaysParse[o]=this.weekdaysMin(c,"").toLocaleLowerCase(),this._shortWeekdaysParse[o]=this.weekdaysShort(c,"").toLocaleLowerCase(),this._weekdaysParse[o]=this.weekdays(c,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=Ie.call(this._weekdaysParse,i))?r:null:"ddd"===t?-1!==(r=Ie.call(this._shortWeekdaysParse,i))?r:null:-1!==(r=Ie.call(this._minWeekdaysParse,i))?r:null:"dddd"===t?-1!==(r=Ie.call(this._weekdaysParse,i))||-1!==(r=Ie.call(this._shortWeekdaysParse,i))||-1!==(r=Ie.call(this._minWeekdaysParse,i))?r:null:"ddd"===t?-1!==(r=Ie.call(this._shortWeekdaysParse,i))||-1!==(r=Ie.call(this._weekdaysParse,i))||-1!==(r=Ie.call(this._minWeekdaysParse,i))?r:null:-1!==(r=Ie.call(this._minWeekdaysParse,i))||-1!==(r=Ie.call(this._weekdaysParse,i))||-1!==(r=Ie.call(this._shortWeekdaysParse,i))?r:null}function Ut(e,t,n){var o,r,c;if(this._weekdaysParseExact)return It.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),o=0;o<7;o++){if(r=s([2e3,1]).day(o),n&&!this._fullWeekdaysParse[o]&&(this._fullWeekdaysParse[o]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[o]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[o]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[o]||(c="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[o]=new RegExp(c.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[o].test(e))return o;if(n&&"ddd"===t&&this._shortWeekdaysParse[o].test(e))return o;if(n&&"dd"===t&&this._minWeekdaysParse[o].test(e))return o;if(!n&&this._weekdaysParse[o].test(e))return o}}function Ft(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=wt(e,this.localeData()),this.add(e-t,"d")):t}function Ht(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Vt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Bt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Kt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=Tt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Gt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Xt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Yt(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ct),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t,n,o,r,c,i=[],p=[],b=[],a=[];for(t=0;t<7;t++)n=s([2e3,1]).day(t),o=Xe(this.weekdaysMin(n,"")),r=Xe(this.weekdaysShort(n,"")),c=Xe(this.weekdays(n,"")),i.push(o),p.push(r),b.push(c),a.push(o),a.push(r),a.push(c);i.sort(e),p.sort(e),b.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+b.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+p.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Jt(){return this.hours()||24}function $t(e,t){P(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function en(e,t){return t._meridiemParse}function tn(e){return"p"===(e+"").toLowerCase().charAt(0)}P("H",["HH",2],0,"hour"),P("h",["hh",2],0,Qt),P("k",["kk",2],0,Jt),P("hmm",0,0,(function(){return""+Qt.apply(this)+S(this.minutes(),2)})),P("hmmss",0,0,(function(){return""+Qt.apply(this)+S(this.minutes(),2)+S(this.seconds(),2)})),P("Hmm",0,0,(function(){return""+this.hours()+S(this.minutes(),2)})),P("Hmmss",0,0,(function(){return""+this.hours()+S(this.minutes(),2)+S(this.seconds(),2)})),$t("a",!0),$t("A",!1),ne("hour","h"),ie("hour",13),xe("a",en),xe("A",en),xe("H",ve),xe("h",ve),xe("k",ve),xe("HH",ve,Ae),xe("hh",ve,Ae),xe("kk",ve,Ae),xe("hmm",ye),xe("hmmss",me),xe("Hmm",ye),xe("Hmmss",me),je(["H","HH"],Ve),je(["k","kk"],(function(e,t,n){var o=Me(e);t[Ve]=24===o?0:o})),je(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),je(["h","hh"],(function(e,t,n){t[Ve]=Me(e),f(n).bigHour=!0})),je("hmm",(function(e,t,n){var o=e.length-2;t[Ve]=Me(e.substr(0,o)),t[Ke]=Me(e.substr(o)),f(n).bigHour=!0})),je("hmmss",(function(e,t,n){var o=e.length-4,r=e.length-2;t[Ve]=Me(e.substr(0,o)),t[Ke]=Me(e.substr(o,2)),t[Ge]=Me(e.substr(r)),f(n).bigHour=!0})),je("Hmm",(function(e,t,n){var o=e.length-2;t[Ve]=Me(e.substr(0,o)),t[Ke]=Me(e.substr(o))})),je("Hmmss",(function(e,t,n){var o=e.length-4,r=e.length-2;t[Ve]=Me(e.substr(0,o)),t[Ke]=Me(e.substr(o,2)),t[Ge]=Me(e.substr(r))}));var nn=/[ap]\.?m?\.?/i,on=ze("Hours",!0);function rn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var cn,pn={calendar:E,longDateFormat:H,invalidDate:K,ordinal:Y,dayOfMonthOrdinalParse:Z,relativeTime:J,months:et,monthsShort:tt,week:gt,weekdays:Et,weekdaysMin:St,weekdaysShort:xt,meridiemParse:nn},bn={},an={};function Mn(e,t){var n,o=Math.min(e.length,t.length);for(n=0;n0;){if(o=sn(r.slice(0,t).join("-")))return o;if(n&&n.length>=t&&Mn(r,n)>=t-1)break;t--}c++}return cn}function un(e){return null!=e.match("^[^/\\\\]*$")}function sn(t){var n=null;if(void 0===bn[t]&&e&&e.exports&&un(t))try{n=cn._abbr,Object(function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}()),On(n)}catch(o){bn[t]=null}return bn[t]}function On(e,t){var n;return e&&((n=a(t)?An(e):fn(e,t))?cn=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),cn._abbr}function fn(e,t){if(null!==t){var n,o=pn;if(t.abbr=e,null!=bn[e])N("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),o=bn[e]._config;else if(null!=t.parentLocale)if(null!=bn[t.parentLocale])o=bn[t.parentLocale]._config;else{if(null==(n=sn(t.parentLocale)))return an[t.parentLocale]||(an[t.parentLocale]=[]),an[t.parentLocale].push({name:e,config:t}),null;o=n._config}return bn[e]=new k(B(o,t)),an[e]&&an[e].forEach((function(e){fn(e.name,e.config)})),On(e),bn[e]}return delete bn[e],null}function dn(e,t){if(null!=t){var n,o,r=pn;null!=bn[e]&&null!=bn[e].parentLocale?bn[e].set(B(bn[e]._config,t)):(null!=(o=sn(e))&&(r=o._config),t=B(r,t),null==o&&(t.abbr=e),(n=new k(t)).parentLocale=bn[e],bn[e]=n),On(e)}else null!=bn[e]&&(null!=bn[e].parentLocale?(bn[e]=bn[e].parentLocale,e===On()&&On(e)):null!=bn[e]&&delete bn[e]);return bn[e]}function An(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return cn;if(!c(e)){if(t=sn(e))return t;e=[e]}return ln(e)}function qn(){return R(bn)}function hn(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[Fe]<0||n[Fe]>11?Fe:n[He]<1||n[He]>$e(n[Ue],n[Fe])?He:n[Ve]<0||n[Ve]>24||24===n[Ve]&&(0!==n[Ke]||0!==n[Ge]||0!==n[Ye])?Ve:n[Ke]<0||n[Ke]>59?Ke:n[Ge]<0||n[Ge]>59?Ge:n[Ye]<0||n[Ye]>999?Ye:-1,f(e)._overflowDayOfYear&&(tHe)&&(t=He),f(e)._overflowWeeks&&-1===t&&(t=Ze),f(e)._overflowWeekday&&-1===t&&(t=Qe),f(e).overflow=t),e}var Wn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,yn=/Z|[+-]\d\d(?::?\d\d)?/,mn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],gn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Rn=/^\/?Date\((-?\d+)/i,Ln=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Nn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function _n(e){var t,n,o,r,c,i,p=e._i,b=Wn.exec(p)||vn.exec(p),a=mn.length,M=gn.length;if(b){for(f(e).iso=!0,t=0,n=a;tOt(c)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),n=qt(c,0,e._dayOfYear),e._a[Fe]=n.getUTCMonth(),e._a[He]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=o[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ve]&&0===e._a[Ke]&&0===e._a[Ge]&&0===e._a[Ye]&&(e._nextDay=!0,e._a[Ve]=0),e._d=(e._useUTC?qt:At).apply(null,i),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ve]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==r&&(f(e).weekdayMismatch=!0)}}function Pn(e){var t,n,o,r,c,i,p,b,a;null!=(t=e._w).GG||null!=t.W||null!=t.E?(c=1,i=4,n=Xn(t.GG,e._a[Ue],vt(Yn(),1,4).year),o=Xn(t.W,1),((r=Xn(t.E,1))<1||r>7)&&(b=!0)):(c=e._locale._week.dow,i=e._locale._week.doy,a=vt(Yn(),c,i),n=Xn(t.gg,e._a[Ue],a.year),o=Xn(t.w,a.week),null!=t.d?((r=t.d)<0||r>6)&&(b=!0):null!=t.e?(r=t.e+c,(t.e<0||t.e>6)&&(b=!0)):r=c),o<1||o>yt(n,c,i)?f(e)._overflowWeeks=!0:null!=b?f(e)._overflowWeekday=!0:(p=Wt(n,o,r,c,i),e._a[Ue]=p.year,e._dayOfYear=p.dayOfYear)}function Dn(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],f(e).empty=!0;var t,n,r,c,i,p,b,a=""+e._i,M=a.length,z=0;for(b=(r=F(e._f,e._locale).match(T)||[]).length,t=0;t0&&f(e).unusedInput.push(i),a=a.slice(a.indexOf(n)+n.length),z+=n.length),j[c]?(n?f(e).empty=!1:f(e).unusedTokens.push(c),De(c,n,e)):e._strict&&!n&&f(e).unusedTokens.push(c);f(e).charsLeftOver=M-z,a.length>0&&f(e).unusedInput.push(a),e._a[Ve]<=12&&!0===f(e).bigHour&&e._a[Ve]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[Ve]=In(e._locale,e._a[Ve],e._meridiem),null!==(p=f(e).era)&&(e._a[Ue]=e._locale.erasConvertYear(p,e._a[Ue])),jn(e),hn(e)}else Sn(e);else _n(e)}function In(e,t,n){var o;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((o=e.isPM(n))&&t<12&&(t+=12),o||12!==t||(t=0),t):t}function Un(e){var t,n,o,r,c,i,p=!1,b=e._f.length;if(0===b)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;rthis?this:e:A()}));function Jn(e,t){var n,o;if(1===t.length&&c(t[0])&&(t=t[0]),!t.length)return Yn();for(n=t[0],o=1;othis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function yo(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e,t={};return W(t,this),(t=Vn(t))._a?(e=t._isUTC?s(t._a):Yn(t._a),this._isDSTShifted=this.isValid()&&ao(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function mo(){return!!this.isValid()&&!this._isUTC}function go(){return!!this.isValid()&&this._isUTC}function Ro(){return!!this.isValid()&&this._isUTC&&0===this._offset}o.updateOffset=function(){};var Lo=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,No=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function _o(e,t){var n,o,r,c=e,i=null;return po(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:M(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(i=Lo.exec(e))?(n="-"===i[1]?-1:1,c={y:0,d:Me(i[He])*n,h:Me(i[Ve])*n,m:Me(i[Ke])*n,s:Me(i[Ge])*n,ms:Me(bo(1e3*i[Ye]))*n}):(i=No.exec(e))?(n="-"===i[1]?-1:1,c={y:wo(i[2],n),M:wo(i[3],n),w:wo(i[4],n),d:wo(i[5],n),h:wo(i[6],n),m:wo(i[7],n),s:wo(i[8],n)}):null==c?c={}:"object"===typeof c&&("from"in c||"to"in c)&&(r=ko(Yn(c.from),Yn(c.to)),(c={}).ms=r.milliseconds,c.M=r.months),o=new io(c),po(e)&&p(e,"_locale")&&(o._locale=e._locale),po(e)&&p(e,"_isValid")&&(o._isValid=e._isValid),o}function wo(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Bo(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function ko(e,t){var n;return e.isValid()&&t.isValid()?(t=uo(t,e),e.isBefore(t)?n=Bo(e,t):((n=Bo(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Eo(e,t){return function(n,o){var r;return null===o||isNaN(+o)||(N(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=o,o=r),xo(this,_o(n,o),e),this}}function xo(e,t,n,r){var c=t._milliseconds,i=bo(t._days),p=bo(t._months);e.isValid()&&(r=null==r||r,p&&at(e,le(e,"Month")+p*n),i&&ue(e,"Date",le(e,"Date")+i*n),c&&e._d.setTime(e._d.valueOf()+c*n),r&&o.updateOffset(e,i||p))}_o.fn=io.prototype,_o.invalid=co;var So=Eo(1,"add"),To=Eo(-1,"subtract");function Xo(e){return"string"===typeof e||e instanceof String}function Co(e){return y(e)||z(e)||Xo(e)||M(e)||Po(e)||jo(e)||null===e||void 0===e}function jo(e){var t,n,o=i(e)&&!b(e),r=!1,c=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=c.length;for(t=0;tn.valueOf():n.valueOf()9999?U(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):_(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function tr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,o,r="moment",c="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",c="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",o=c+'[")]',this.format(e+t+n+o)}function nr(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function or(e,t){return this.isValid()&&(y(e)&&e.isValid()||Yn(e).isValid())?_o({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rr(e){return this.from(Yn(),e)}function cr(e,t){return this.isValid()&&(y(e)&&e.isValid()||Yn(e).isValid())?_o({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ir(e){return this.to(Yn(),e)}function pr(e){var t;return void 0===e?this._locale._abbr:(null!=(t=An(e))&&(this._locale=t),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var br=g("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ar(){return this._locale}var Mr=1e3,zr=60*Mr,lr=60*zr,ur=3506328*lr;function sr(e,t){return(e%t+t)%t}function Or(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-ur:new Date(e,t,n).valueOf()}function fr(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-ur:Date.UTC(e,t,n)}function dr(e){var t,n;if(void 0===(e=oe(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?fr:Or,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=sr(t+(this._isUTC?0:this.utcOffset()*zr),lr);break;case"minute":t=this._d.valueOf(),t-=sr(t,zr);break;case"second":t=this._d.valueOf(),t-=sr(t,Mr)}return this._d.setTime(t),o.updateOffset(this,!0),this}function Ar(e){var t,n;if(void 0===(e=oe(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?fr:Or,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=lr-sr(t+(this._isUTC?0:this.utcOffset()*zr),lr)-1;break;case"minute":t=this._d.valueOf(),t+=zr-sr(t,zr)-1;break;case"second":t=this._d.valueOf(),t+=Mr-sr(t,Mr)-1}return this._d.setTime(t),o.updateOffset(this,!0),this}function qr(){return this._d.valueOf()-6e4*(this._offset||0)}function hr(){return Math.floor(this.valueOf()/1e3)}function Wr(){return new Date(this.valueOf())}function vr(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function yr(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function mr(){return this.isValid()?this.toISOString():null}function gr(){return d(this)}function Rr(){return u({},f(this))}function Lr(){return f(this).overflow}function Nr(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function _r(e,t){var n,r,c,i=this._eras||An("en")._eras;for(n=0,r=i.length;n=0)return b[o]}function Br(e,t){var n=e.since<=e.until?1:-1;return void 0===t?o(e.since).year():o(e.since).year()+(t-e.offset)*n}function kr(){var e,t,n,o=this.localeData().eras();for(e=0,t=o.length;e(c=yt(e,o,r))&&(t=c),Jr.call(this,e,t,n,o,r))}function Jr(e,t,n,o,r){var c=Wt(e,t,n,o,r),i=qt(c.year,0,c.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function $r(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}P("N",0,0,"eraAbbr"),P("NN",0,0,"eraAbbr"),P("NNN",0,0,"eraAbbr"),P("NNNN",0,0,"eraName"),P("NNNNN",0,0,"eraNarrow"),P("y",["y",1],"yo","eraYear"),P("y",["yy",2],0,"eraYear"),P("y",["yyy",3],0,"eraYear"),P("y",["yyyy",4],0,"eraYear"),xe("N",jr),xe("NN",jr),xe("NNN",jr),xe("NNNN",Pr),xe("NNNNN",Dr),je(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,o){var r=n._locale.erasParse(e,o,n._strict);r?f(n).era=r:f(n).invalidEra=e})),xe("y",Ne),xe("yy",Ne),xe("yyy",Ne),xe("yyyy",Ne),xe("yo",Ir),je(["y","yy","yyy","yyyy"],Ue),je(["yo"],(function(e,t,n,o){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ue]=n._locale.eraYearOrdinalParse(e,r):t[Ue]=parseInt(e,10)})),P(0,["gg",2],0,(function(){return this.weekYear()%100})),P(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Fr("gggg","weekYear"),Fr("ggggg","weekYear"),Fr("GGGG","isoWeekYear"),Fr("GGGGG","isoWeekYear"),ne("weekYear","gg"),ne("isoWeekYear","GG"),ie("weekYear",1),ie("isoWeekYear",1),xe("G",_e),xe("g",_e),xe("GG",ve,Ae),xe("gg",ve,Ae),xe("GGGG",Re,he),xe("gggg",Re,he),xe("GGGGG",Le,We),xe("ggggg",Le,We),Pe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,o){t[o.substr(0,2)]=Me(e)})),Pe(["gg","GG"],(function(e,t,n,r){t[r]=o.parseTwoDigitYear(e)})),P("Q",0,"Qo","quarter"),ne("quarter","Q"),ie("quarter",7),xe("Q",de),je("Q",(function(e,t){t[Fe]=3*(Me(e)-1)})),P("D",["DD",2],"Do","date"),ne("date","D"),ie("date",9),xe("D",ve),xe("DD",ve,Ae),xe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),je(["D","DD"],He),je("Do",(function(e,t){t[He]=Me(e.match(ve)[0])}));var ec=ze("Date",!0);function tc(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}P("DDD",["DDDD",3],"DDDo","dayOfYear"),ne("dayOfYear","DDD"),ie("dayOfYear",4),xe("DDD",ge),xe("DDDD",qe),je(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=Me(e)})),P("m",["mm",2],0,"minute"),ne("minute","m"),ie("minute",14),xe("m",ve),xe("mm",ve,Ae),je(["m","mm"],Ke);var nc=ze("Minutes",!1);P("s",["ss",2],0,"second"),ne("second","s"),ie("second",15),xe("s",ve),xe("ss",ve,Ae),je(["s","ss"],Ge);var oc,rc,cc=ze("Seconds",!1);for(P("S",0,0,(function(){return~~(this.millisecond()/100)})),P(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),P(0,["SSS",3],0,"millisecond"),P(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),P(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),P(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),P(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),P(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),P(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ne("millisecond","ms"),ie("millisecond",16),xe("S",ge,de),xe("SS",ge,Ae),xe("SSS",ge,qe),oc="SSSS";oc.length<=9;oc+="S")xe(oc,Ne);function ic(e,t){t[Ye]=Me(1e3*("0."+e))}for(oc="S";oc.length<=9;oc+="S")je(oc,ic);function pc(){return this._isUTC?"UTC":""}function bc(){return this._isUTC?"Coordinated Universal Time":""}rc=ze("Milliseconds",!1),P("z",0,0,"zoneAbbr"),P("zz",0,0,"zoneName");var ac=v.prototype;function Mc(e){return Yn(1e3*e)}function zc(){return Yn.apply(null,arguments).parseZone()}function lc(e){return e}ac.add=So,ac.calendar=Uo,ac.clone=Fo,ac.diff=Qo,ac.endOf=Ar,ac.format=nr,ac.from=or,ac.fromNow=rr,ac.to=cr,ac.toNow=ir,ac.get=se,ac.invalidAt=Lr,ac.isAfter=Ho,ac.isBefore=Vo,ac.isBetween=Ko,ac.isSame=Go,ac.isSameOrAfter=Yo,ac.isSameOrBefore=Zo,ac.isValid=gr,ac.lang=br,ac.locale=pr,ac.localeData=ar,ac.max=Qn,ac.min=Zn,ac.parsingFlags=Rr,ac.set=Oe,ac.startOf=dr,ac.subtract=To,ac.toArray=vr,ac.toObject=yr,ac.toDate=Wr,ac.toISOString=er,ac.inspect=tr,"undefined"!==typeof Symbol&&null!=Symbol.for&&(ac[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ac.toJSON=mr,ac.toString=$o,ac.unix=hr,ac.valueOf=qr,ac.creationData=Nr,ac.eraName=kr,ac.eraNarrow=Er,ac.eraAbbr=xr,ac.eraYear=Sr,ac.year=ft,ac.isLeapYear=dt,ac.weekYear=Hr,ac.isoWeekYear=Vr,ac.quarter=ac.quarters=$r,ac.month=Mt,ac.daysInMonth=zt,ac.week=ac.weeks=Nt,ac.isoWeek=ac.isoWeeks=_t,ac.weeksInYear=Yr,ac.weeksInWeekYear=Zr,ac.isoWeeksInYear=Kr,ac.isoWeeksInISOWeekYear=Gr,ac.date=ec,ac.day=ac.days=Ft,ac.weekday=Ht,ac.isoWeekday=Vt,ac.dayOfYear=tc,ac.hour=ac.hours=on,ac.minute=ac.minutes=nc,ac.second=ac.seconds=cc,ac.millisecond=ac.milliseconds=rc,ac.utcOffset=Oo,ac.utc=Ao,ac.local=qo,ac.parseZone=ho,ac.hasAlignedHourOffset=Wo,ac.isDST=vo,ac.isLocal=mo,ac.isUtcOffset=go,ac.isUtc=Ro,ac.isUTC=Ro,ac.zoneAbbr=pc,ac.zoneName=bc,ac.dates=g("dates accessor is deprecated. Use date instead.",ec),ac.months=g("months accessor is deprecated. Use month instead",Mt),ac.years=g("years accessor is deprecated. Use year instead",ft),ac.zone=g("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",fo),ac.isDSTShifted=g("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",yo);var uc=k.prototype;function sc(e,t,n,o){var r=An(),c=s().set(o,t);return r[n](c,e)}function Oc(e,t,n){if(M(e)&&(t=e,e=void 0),e=e||"",null!=t)return sc(e,t,n,"month");var o,r=[];for(o=0;o<12;o++)r[o]=sc(e,o,n,"month");return r}function fc(e,t,n,o){"boolean"===typeof e?(M(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,M(t)&&(n=t,t=void 0),t=t||"");var r,c=An(),i=e?c._week.dow:0,p=[];if(null!=n)return sc(t,(n+i)%7,o,"day");for(r=0;r<7;r++)p[r]=sc(t,(r+i)%7,o,"day");return p}function dc(e,t){return Oc(e,t,"months")}function Ac(e,t){return Oc(e,t,"monthsShort")}function qc(e,t,n){return fc(e,t,n,"weekdays")}function hc(e,t,n){return fc(e,t,n,"weekdaysShort")}function Wc(e,t,n){return fc(e,t,n,"weekdaysMin")}uc.calendar=x,uc.longDateFormat=V,uc.invalidDate=G,uc.ordinal=Q,uc.preparse=lc,uc.postformat=lc,uc.relativeTime=$,uc.pastFuture=ee,uc.set=w,uc.eras=_r,uc.erasParse=wr,uc.erasConvertYear=Br,uc.erasAbbrRegex=Xr,uc.erasNameRegex=Tr,uc.erasNarrowRegex=Cr,uc.months=ct,uc.monthsShort=it,uc.monthsParse=bt,uc.monthsRegex=ut,uc.monthsShortRegex=lt,uc.week=mt,uc.firstDayOfYear=Lt,uc.firstDayOfWeek=Rt,uc.weekdays=jt,uc.weekdaysMin=Dt,uc.weekdaysShort=Pt,uc.weekdaysParse=Ut,uc.weekdaysRegex=Kt,uc.weekdaysShortRegex=Gt,uc.weekdaysMinRegex=Yt,uc.isPM=tn,uc.meridiem=rn,On("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Me(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),o.lang=g("moment.lang is deprecated. Use moment.locale instead.",On),o.langData=g("moment.langData is deprecated. Use moment.localeData instead.",An);var vc=Math.abs;function yc(){var e=this._data;return this._milliseconds=vc(this._milliseconds),this._days=vc(this._days),this._months=vc(this._months),e.milliseconds=vc(e.milliseconds),e.seconds=vc(e.seconds),e.minutes=vc(e.minutes),e.hours=vc(e.hours),e.months=vc(e.months),e.years=vc(e.years),this}function mc(e,t,n,o){var r=_o(t,n);return e._milliseconds+=o*r._milliseconds,e._days+=o*r._days,e._months+=o*r._months,e._bubble()}function gc(e,t){return mc(this,e,t,1)}function Rc(e,t){return mc(this,e,t,-1)}function Lc(e){return e<0?Math.floor(e):Math.ceil(e)}function Nc(){var e,t,n,o,r,c=this._milliseconds,i=this._days,p=this._months,b=this._data;return c>=0&&i>=0&&p>=0||c<=0&&i<=0&&p<=0||(c+=864e5*Lc(wc(p)+i),i=0,p=0),b.milliseconds=c%1e3,e=ae(c/1e3),b.seconds=e%60,t=ae(e/60),b.minutes=t%60,n=ae(t/60),b.hours=n%24,i+=ae(n/24),p+=r=ae(_c(i)),i-=Lc(wc(r)),o=ae(p/12),p%=12,b.days=i,b.months=p,b.years=o,this}function _c(e){return 4800*e/146097}function wc(e){return 146097*e/4800}function Bc(e){if(!this.isValid())return NaN;var t,n,o=this._milliseconds;if("month"===(e=oe(e))||"quarter"===e||"year"===e)switch(t=this._days+o/864e5,n=this._months+_c(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(wc(this._months)),e){case"week":return t/7+o/6048e5;case"day":return t+o/864e5;case"hour":return 24*t+o/36e5;case"minute":return 1440*t+o/6e4;case"second":return 86400*t+o/1e3;case"millisecond":return Math.floor(864e5*t)+o;default:throw new Error("Unknown unit "+e)}}function kc(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*Me(this._months/12):NaN}function Ec(e){return function(){return this.as(e)}}var xc=Ec("ms"),Sc=Ec("s"),Tc=Ec("m"),Xc=Ec("h"),Cc=Ec("d"),jc=Ec("w"),Pc=Ec("M"),Dc=Ec("Q"),Ic=Ec("y");function Uc(){return _o(this)}function Fc(e){return e=oe(e),this.isValid()?this[e+"s"]():NaN}function Hc(e){return function(){return this.isValid()?this._data[e]:NaN}}var Vc=Hc("milliseconds"),Kc=Hc("seconds"),Gc=Hc("minutes"),Yc=Hc("hours"),Zc=Hc("days"),Qc=Hc("months"),Jc=Hc("years");function $c(){return ae(this.days()/7)}var ei=Math.round,ti={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ni(e,t,n,o,r){return r.relativeTime(t||1,!!n,e,o)}function oi(e,t,n,o){var r=_o(e).abs(),c=ei(r.as("s")),i=ei(r.as("m")),p=ei(r.as("h")),b=ei(r.as("d")),a=ei(r.as("M")),M=ei(r.as("w")),z=ei(r.as("y")),l=c<=n.ss&&["s",c]||c0,l[4]=o,ni.apply(null,l)}function ri(e){return void 0===e?ei:"function"===typeof e&&(ei=e,!0)}function ci(e,t){return void 0!==ti[e]&&(void 0===t?ti[e]:(ti[e]=t,"s"===e&&(ti.ss=t-1),!0))}function ii(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,o,r=!1,c=ti;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(r=e),"object"===typeof t&&(c=Object.assign({},ti,t),null!=t.s&&null==t.ss&&(c.ss=t.s-1)),o=oi(this,!r,c,n=this.localeData()),r&&(o=n.pastFuture(+this,o)),n.postformat(o)}var pi=Math.abs;function bi(e){return(e>0)-(e<0)||+e}function ai(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,o,r,c,i,p,b=pi(this._milliseconds)/1e3,a=pi(this._days),M=pi(this._months),z=this.asSeconds();return z?(e=ae(b/60),t=ae(e/60),b%=60,e%=60,n=ae(M/12),M%=12,o=b?b.toFixed(3).replace(/\.?0+$/,""):"",r=z<0?"-":"",c=bi(this._months)!==bi(z)?"-":"",i=bi(this._days)!==bi(z)?"-":"",p=bi(this._milliseconds)!==bi(z)?"-":"",r+"P"+(n?c+n+"Y":"")+(M?c+M+"M":"")+(a?i+a+"D":"")+(t||e||b?"T":"")+(t?p+t+"H":"")+(e?p+e+"M":"")+(b?p+o+"S":"")):"P0D"}var Mi=io.prototype;return Mi.isValid=ro,Mi.abs=yc,Mi.add=gc,Mi.subtract=Rc,Mi.as=Bc,Mi.asMilliseconds=xc,Mi.asSeconds=Sc,Mi.asMinutes=Tc,Mi.asHours=Xc,Mi.asDays=Cc,Mi.asWeeks=jc,Mi.asMonths=Pc,Mi.asQuarters=Dc,Mi.asYears=Ic,Mi.valueOf=kc,Mi._bubble=Nc,Mi.clone=Uc,Mi.get=Fc,Mi.milliseconds=Vc,Mi.seconds=Kc,Mi.minutes=Gc,Mi.hours=Yc,Mi.days=Zc,Mi.weeks=$c,Mi.months=Qc,Mi.years=Jc,Mi.humanize=ii,Mi.toISOString=ai,Mi.toString=ai,Mi.toJSON=ai,Mi.locale=pr,Mi.localeData=ar,Mi.toIsoString=g("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ai),Mi.lang=br,P("X",0,0,"unix"),P("x",0,0,"valueOf"),xe("x",_e),xe("X",ke),je("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),je("x",(function(e,t,n){n._d=new Date(Me(e))})),o.version="2.29.4",r(Yn),o.fn=ac,o.min=$n,o.max=eo,o.now=to,o.utc=s,o.unix=Mc,o.months=dc,o.isDate=z,o.locale=On,o.invalid=A,o.duration=_o,o.isMoment=y,o.weekdays=qc,o.parseZone=zc,o.localeData=An,o.isDuration=po,o.monthsShort=Ac,o.weekdaysMin=Wc,o.defineLocale=fn,o.updateLocale=dn,o.locales=qn,o.weekdaysShort=hc,o.normalizeUnits=oe,o.relativeTimeRounding=ri,o.relativeTimeThreshold=ci,o.calendarFormat=Io,o.prototype=ac,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},o}()},902:function(e){e.exports=function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=41)}([function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){var o=n(23),r="object"==typeof self&&self&&self.Object===Object&&self,c=o||r||Function("return this")();e.exports=c},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t1)return e.map((function(e){return i(e)}));var n=e[0];if("string"!=typeof n.blotName&&"string"!=typeof n.attrName)throw new b("Invalid definition");if("abstract"===n.blotName)throw new b("Cannot register abstract class");return u[n.blotName||n.attrName]=n,"string"==typeof n.keyName?M[n.keyName]=n:(null!=n.className&&(z[n.className]=n),null!=n.tagName&&(Array.isArray(n.tagName)?n.tagName=n.tagName.map((function(e){return e.toUpperCase()})):n.tagName=n.tagName.toUpperCase(),(Array.isArray(n.tagName)?n.tagName:[n.tagName]).forEach((function(e){null!=l[e]&&null!=n.className||(l[e]=n)})))),n}var p=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(t,"__esModule",{value:!0});var b=function(e){function t(t){var n=this;return t="[Parchment] "+t,(n=e.call(this,t)||this).message=t,n.name=n.constructor.name,n}return p(t,e),t}(Error);t.ParchmentError=b;var a,M={},z={},l={},u={};t.DATA_KEY="__blot",function(e){e[e.TYPE=3]="TYPE",e[e.LEVEL=12]="LEVEL",e[e.ATTRIBUTE=13]="ATTRIBUTE",e[e.BLOT=14]="BLOT",e[e.INLINE=7]="INLINE",e[e.BLOCK=11]="BLOCK",e[e.BLOCK_BLOT=10]="BLOCK_BLOT",e[e.INLINE_BLOT=6]="INLINE_BLOT",e[e.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",e[e.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",e[e.ANY=15]="ANY"}(a=t.Scope||(t.Scope={})),t.create=o,t.find=r,t.query=c,t.register=i},function(e,t,n){var o=n(51),r=n(11),c=n(3),i=n(20),p=String.fromCharCode(0),b=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};b.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},b.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},b.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},b.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=c(!0,{},e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(r(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},b.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},b.prototype.filter=function(e){return this.ops.filter(e)},b.prototype.forEach=function(e){this.ops.forEach(e)},b.prototype.map=function(e){return this.ops.map(e)},b.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(o){(e(o)?t:n).push(o)})),[t,n]},b.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},b.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+i.length(t):t.delete?e-t.delete:e}),0)},b.prototype.length=function(){return this.reduce((function(e,t){return e+i.length(t)}),0)},b.prototype.slice=function(e,t){e=e||0,"number"!=typeof t&&(t=1/0);for(var n=[],o=i.iterator(this.ops),r=0;r0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},b.prototype.diff=function(e,t){if(this.ops===e.ops)return new b;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:p;throw new Error("diff() called "+(t===e?"on":"with")+" non-document")})).join("")})),c=new b,a=o(n[0],n[1],t),M=i.iterator(this.ops),z=i.iterator(e.ops);return a.forEach((function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case o.INSERT:n=Math.min(z.peekLength(),t),c.push(z.next(n));break;case o.DELETE:n=Math.min(t,M.peekLength()),M.next(n),c.delete(n);break;case o.EQUAL:n=Math.min(M.peekLength(),z.peekLength(),t);var p=M.next(n),b=z.next(n);r(p.insert,b.insert)?c.retain(n,i.attributes.diff(p.attributes,b.attributes)):c.push(b).delete(n)}t-=n}})),c.chop()},b.prototype.eachLine=function(e,t){t=t||"\n";for(var n=i.iterator(this.ops),o=new b,r=0;n.hasNext();){if("insert"!==n.peekType())return;var c=n.peek(),p=i.length(c)-n.peekLength(),a="string"==typeof c.insert?c.insert.indexOf(t,p)-p:-1;if(a<0)o.push(n.next());else if(a>0)o.push(n.next(a));else{if(!1===e(o,n.next(1).attributes||{},r))return;r+=1,o=new b}}o.length()>0&&e(o,{},r)},b.prototype.transform=function(e,t){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);for(var n=i.iterator(this.ops),o=i.iterator(e.ops),r=new b;n.hasNext()||o.hasNext();)if("insert"!==n.peekType()||!t&&"insert"===o.peekType())if("insert"===o.peekType())r.push(o.next());else{var c=Math.min(n.peekLength(),o.peekLength()),p=n.next(c),a=o.next(c);if(p.delete)continue;a.delete?r.push(a):r.retain(c,i.attributes.transform(p.attributes,a.attributes,t))}else r.retain(i.length(n.next()));return r.chop()},b.prototype.transformPosition=function(e,t){t=!!t;for(var n=i.iterator(this.ops),o=0;n.hasNext()&&o<=e;){var r=n.peekLength(),c=n.peekType();n.next(),"delete"!==c?("insert"===c&&(o1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"==typeof e.formats&&(t=(0,M.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:p(e.parent,t))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockEmbed=t.bubbleFormats=void 0;var b=function(){function e(e,t){for(var n=0;n0&&(e1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-1)){var o=this.clone();return 0===e?(this.parent.insertBefore(o,this),this):(this.parent.insertBefore(o,this.next),o)}var r=a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},r}}]),t}(l.default.Block);d.blotName="block",d.tagName="P",d.defaultChild="break",d.allowedChildren=[s.default,l.default.Embed,O.default],t.bubbleFormats=p,t.BlockEmbed=f,t.default=d},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if((t=(0,h.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t)).theme&&t.theme!==m.DEFAULTS.theme){if(t.theme=m.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=v.default;var n=(0,h.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var o=Object.keys(n.modules).concat(Object.keys(t.modules)).reduce((function(e,t){var n=m.import("modules/"+t);return null==n?y.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,h.default)(!0,{},m.DEFAULTS,{modules:o},n,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function p(e,t,n,o){if(this.options.strict&&!this.isEnabled()&&t===O.default.sources.USER)return new u.default;var r=null==n?null:this.getSelection(),c=this.editor.delta,i=e();if(null!=r&&(!0===n&&(n=r.index),null==o?r=a(r,i,t):0!==o&&(r=a(r,n,o,t)),this.setSelection(r,O.default.sources.SILENT)),i.length()>0){var p,b,M=[O.default.events.TEXT_CHANGE,i,c,t];(p=this.emitter).emit.apply(p,[O.default.events.EDITOR_CHANGE].concat(M)),t!==O.default.sources.SILENT&&(b=this.emitter).emit.apply(b,M)}return i}function b(e,t,n,o,r){var c={};return"number"==typeof e.index&&"number"==typeof e.length?"number"!=typeof t?(r=o,o=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!=typeof t&&(r=o,o=n,n=t,t=0),"object"===(void 0===n?"undefined":M(n))?(c=n,r=o):"string"==typeof n&&(null!=o?c[n]=o:r=n),[e,t,c,r=r||O.default.sources.API]}function a(e,t,n,o){if(null==e)return null;var r=void 0,c=void 0;if(t instanceof u.default){var i=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,o!==O.default.sources.USER)})),p=z(i,2);r=p[0],c=p[1]}else{var b=[e.index,e.index+e.length].map((function(e){return e=0?e+n:Math.max(t,e+n)})),a=z(b,2);r=a[0],c=a[1]}return new A.Range(r,c-r)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z=function(){function e(e,t){var n=[],o=!0,r=!1,c=void 0;try{for(var i,p=e[Symbol.iterator]();!(o=(i=p.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,c=e}finally{try{!o&&p.return&&p.return()}finally{if(r)throw c}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),l=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(c(this,e),this.options=i(t,o),this.container=this.options.container,null==this.container)return y.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new O.default,this.scroll=d.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new q.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(O.default.events.EDITOR_CHANGE,(function(e){e===O.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(O.default.events.SCROLL_UPDATE,(function(e,t){var o=n.selection.lastRange,r=o&&0===o.length?o.index:void 0;p.call(n,(function(){return n.editor.update(null,t,r)}),e)}));var b=this.clipboard.convert("
"+r+"


");this.setContents(b),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return l(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),W.default.level(e)}},{key:"find",value:function(e){return e.__quill||d.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&y.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof e){var r=e.attrName||e.blotName;"string"==typeof r?this.register("formats/"+r,e,t):Object.keys(e).forEach((function(o){n.register(o,e[o],t)}))}else null==this.imports[e]||o||y.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?d.default.register(t):e.startsWith("modules")&&"function"==typeof t.register&&t.register()}}]),l(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e){var n=e;(e=document.createElement("div")).classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var o=this,r=b(e,t,n),c=z(r,4);return e=c[0],t=c[1],n=c[3],p.call(this,(function(){return o.editor.deleteText(e,t)}),n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:O.default.sources.API;return p.call(this,(function(){var o=n.getSelection(!0),c=new u.default;if(null==o)return c;if(d.default.query(e,d.default.Scope.BLOCK))c=n.editor.formatLine(o.index,o.length,r({},e,t));else{if(0===o.length)return n.selection.format(e,t),c;c=n.editor.formatText(o.index,o.length,r({},e,t))}return n.setSelection(o,O.default.sources.SILENT),c}),o)}},{key:"formatLine",value:function(e,t,n,o,r){var c=this,i=void 0,a=b(e,t,n,o,r),M=z(a,4);return e=M[0],t=M[1],i=M[2],r=M[3],p.call(this,(function(){return c.editor.formatLine(e,t,i)}),r,e,0)}},{key:"formatText",value:function(e,t,n,o,r){var c=this,i=void 0,a=b(e,t,n,o,r),M=z(a,4);return e=M[0],t=M[1],i=M[2],r=M[3],p.call(this,(function(){return c.editor.formatText(e,t,i)}),r,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var o=this.container.getBoundingClientRect();return{bottom:n.bottom-o.top,height:n.height,left:n.left-o.left,right:n.right-o.left,top:n.top-o.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=b(e,t),o=z(n,2);return e=o[0],t=o[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=b(e,t),o=z(n,2);return e=o[0],t=o[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,o){var r=this,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return p.call(this,(function(){return r.editor.insertEmbed(t,n,o)}),c,t)}},{key:"insertText",value:function(e,t,n,o,r){var c=this,i=void 0,a=b(e,0,n,o,r),M=z(a,4);return e=M[0],i=M[2],r=M[3],p.call(this,(function(){return c.editor.insertText(e,t,i)}),r,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var o=this,r=b(e,t,n),c=z(r,4);return e=c[0],t=c[1],n=c[3],p.call(this,(function(){return o.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.default.sources.API;return p.call(this,(function(){e=new u.default(e);var n=t.getLength(),o=t.editor.deleteText(0,n),r=t.editor.applyDelta(e),c=r.ops[r.ops.length-1];return null!=c&&"string"==typeof c.insert&&"\n"===c.insert[c.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),r.delete(1)),o.compose(r)}),n)}},{key:"setSelection",value:function(t,n,o){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var r=b(t,n,o),c=z(r,4);t=c[0],n=c[1],o=c[3],this.selection.setRange(new A.Range(t,n),o),o!==O.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.default.sources.API,n=(new u.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.default.sources.API;return p.call(this,(function(){return e=new u.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();m.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},m.events=O.default.events,m.sources=O.default.sources,m.version="1.3.6",m.imports={delta:u.default,parchment:d.default,"core/module":f.default,"core/theme":v.default},t.expandConfig=i,t.overload=b,t.default=m},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){for(var n=0;n0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var o=t.order.indexOf(e),r=t.order.indexOf(n);return o>=0||r>=0?o-r:e===n?0:e1?t-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.quill=t,this.options=n};r.DEFAULTS={},t.default=r},function(e,t,n){"use strict";function o(e){if(c.indexOf(e)<=c.indexOf(i)){for(var t,n=arguments.length,o=Array(n>1?n-1:0),r=1;r0&&"number"!=typeof e[0])}function c(e,t,n){var c,M;if(o(e)||o(t))return!1;if(e.prototype!==t.prototype)return!1;if(b(e))return!!b(t)&&(e=i.call(e),t=i.call(t),a(e,t,n));if(r(e)){if(!r(t))return!1;if(e.length!==t.length)return!1;for(c=0;c=0;c--)if(z[c]!=l[c])return!1;for(c=z.length-1;c>=0;c--)if(M=z[c],!a(e[M],t[M],n))return!1;return typeof e==typeof t}var i=Array.prototype.slice,p=n(52),b=n(53),a=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:c(e,t,n))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var r=o.Scope.TYPE&o.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&o.Scope.LEVEL|r:this.scope=o.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){return null!=o.query(e,o.Scope.BLOT&(this.scope|o.Scope.TYPE))&&(null==this.whitelist||("string"==typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=r},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var p=function(){function e(e,t){var n=[],o=!0,r=!1,c=void 0;try{for(var i,p=e[Symbol.iterator]();!(o=(i=p.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,c=e}finally{try{!o&&p.return&&p.return()}finally{if(r)throw c}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),b=function(){function e(e,t){for(var n=0;n=e+n)){var i=this.newlineIndex(e,!0)+1,p=c-i+1,b=this.isolate(i,p),a=b.next;b.format(o,r),a instanceof t&&a.formatAt(0,e-i+n-p,o,r)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var o=this.descendant(s.default,e),r=p(o,2),c=r[0],i=r[1];c.insertAt(i,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var t=this.domNode.textContent.slice(e).indexOf("\n");return t>-1?e+t:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(z.default.create("text","\n")),a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=z.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof z.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var n=a(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(l.default);f.blotName="code-block",f.tagName="PRE",f.TAB=" ",t.Code=O,t.default=f},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return Object.keys(t).reduce((function(n,o){return null==e[o]||(t[o]===e[o]?n[o]=t[o]:Array.isArray(t[o])?t[o].indexOf(e[o])<0&&(n[o]=t[o].concat([e[o]])):n[o]=[t[o],e[o]]),n}),{})}function p(e){return e.reduce((function(e,t){if(1===t.insert){var n=(0,q.default)(t.attributes);return delete n.image,e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||((t=(0,q.default)(t)).attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"==typeof t.insert){var o=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(o,t.attributes)}return e.push(t)}),new z.default)}Object.defineProperty(t,"__esModule",{value:!0});var b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){var n=[],o=!0,r=!1,c=void 0;try{for(var i,p=e[Symbol.iterator]();!(o=(i=p.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,c=e}finally{try{!o&&p.return&&p.return()}finally{if(r)throw c}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),M=function(){function e(e,t){for(var n=0;n=o&&!p.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,p);var M=t.scroll.line(e),z=a(M,2),s=z[0],O=z[1],A=(0,W.default)({},(0,f.bubbleFormats)(s));if(s instanceof d.default){var q=s.descendant(u.default.Leaf,O),h=a(q,1)[0];A=(0,W.default)(A,(0,f.bubbleFormats)(h))}i=l.default.attributes.diff(A,i)||{}}else if("object"===b(r.insert)){var v=Object.keys(r.insert)[0];if(null==v)return e;t.scroll.insertAt(e,v,r.insert[v])}o+=c}return Object.keys(i).forEach((function(n){t.scroll.formatAt(e,c,n,i[n])})),e+c}),0),e.reduce((function(e,n){return"number"==typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new z.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(o).forEach((function(r){if(null==n.scroll.whitelist||n.scroll.whitelist[r]){var c=n.scroll.lines(e,Math.max(t,1)),i=t;c.forEach((function(t){var c=t.length();if(t instanceof s.default){var p=e-t.offset(n.scroll),b=t.newlineIndex(p+i)-p+1;t.formatAt(p,b,r,o[r])}else t.format(r,o[r]);i-=c}))}})),this.scroll.optimize(),this.update((new z.default).retain(e).retain(t,(0,q.default)(o)))}},{key:"formatText",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(o).forEach((function(r){n.scroll.formatAt(e,t,r,o[r])})),this.update((new z.default).retain(e).retain(t,(0,q.default)(o)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new z.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],o=[];0===t?this.scroll.path(e).forEach((function(e){var t=a(e,1)[0];t instanceof d.default?n.push(t):t instanceof u.default.Leaf&&o.push(t)})):(n=this.scroll.lines(e,t),o=this.scroll.descendants(u.default.Leaf,e,t));var r=[n,o].map((function(e){if(0===e.length)return{};for(var t=(0,f.bubbleFormats)(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null==n)return t;t=i((0,f.bubbleFormats)(n),t)}return t}));return W.default.apply(W.default,r)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"==typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new z.default).retain(e).insert(r({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(o).forEach((function(r){n.scroll.formatAt(e,t.length,r,o[r])})),this.update((new z.default).retain(e).insert(t,(0,q.default)(o)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===d.default.blotName&&!(e.children.length>1)&&e.children.head instanceof A.default}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),o=this.scroll.line(e+t),r=a(o,2),c=r[0],i=r[1],p=0,b=new z.default;null!=c&&(p=c instanceof s.default?c.newlineIndex(i)-i+1:c.length()-i,b=c.delta().slice(i,i+p-1).insert("\n"));var M=this.getContents(e,t+p).diff((new z.default).insert(n).concat(b)),l=(new z.default).retain(e).concat(M);return this.applyDelta(l)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,o=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(v)&&u.default.find(t[0].target)){var r=u.default.find(t[0].target),c=(0,f.bubbleFormats)(r),i=r.offset(this.scroll),p=t[0].oldValue.replace(O.default.CONTENTS,""),b=(new z.default).insert(p),a=(new z.default).insert(r.value());e=(new z.default).retain(i).concat(b.diff(a,n)).reduce((function(e,t){return t.insert?e.insert(t.insert,c):e.push(t)}),new z.default),this.delta=o.compose(e)}else this.delta=this.getDelta(),e&&(0,h.default)(o.compose(e),this.delta)||(e=o.diff(this.delta,n));return e}}]),e}();t.default=y},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1&&void 0!==arguments[1]?arguments[1]:0;c(this,e),this.index=t,this.length=n},O=function(){function e(t,n){var o=this;c(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=a.default.create("cursor",this),this.lastRange=this.savedRange=new s(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){o.mouseDown||setTimeout(o.update.bind(o,l.default.sources.USER),1)})),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(e,t){e===l.default.events.TEXT_CHANGE&&t.length()>0&&o.update(l.default.sources.SILENT)})),this.emitter.on(l.default.events.SCROLL_BEFORE_UPDATE,(function(){if(o.hasFocus()){var e=o.getNativeRange();null!=e&&e.start.node!==o.cursor.textNode&&o.emitter.once(l.default.events.SCROLL_UPDATE,(function(){try{o.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(e){}}))}})),this.emitter.on(l.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,r=n.startNode,c=n.startOffset,i=n.endNode,p=n.endOffset;o.setNativeRange(r,c,i,p)}})),this.update(l.default.sources.SILENT)}return b(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(l.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!a.default.query(e,a.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var o=a.default.find(n.start.node,!1);if(null==o)return;if(o instanceof a.default.Leaf){var r=o.split(n.start.offset);o.parent.insertBefore(this.cursor,r)}else o.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var o=void 0,r=this.scroll.leaf(e),c=p(r,2),i=c[0],b=c[1];if(null==i)return null;var a=i.position(b,!0),M=p(a,2);o=M[0],b=M[1];var z=document.createRange();if(t>0){z.setStart(o,b);var l=this.scroll.leaf(e+t),u=p(l,2);if(i=u[0],b=u[1],null==i)return null;var s=i.position(b,!0),O=p(s,2);return o=O[0],b=O[1],z.setEnd(o,b),z.getBoundingClientRect()}var f="left",d=void 0;return o instanceof Text?(b0&&(f="right")),{bottom:d.top+d.height,height:d.height,left:d[f],right:d[f],top:d.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return u.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var o=n.map((function(e){var n=p(e,2),o=n[0],r=n[1],c=a.default.find(o,!0),i=c.offset(t.scroll);return 0===r?i:c instanceof a.default.Container?i+c.length():i+c.index(o,r)})),c=Math.min(Math.max.apply(Math,r(o)),this.scroll.length()-1),i=Math.min.apply(Math,[c].concat(r(o)));return new s(i,c-i)}},{key:"normalizeNative",value:function(e){if(!i(this.root,e.startContainer)||!e.collapsed&&!i(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach((function(e){for(var t=e.node,n=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;n=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],o=[],r=this.scroll.length();return n.forEach((function(e,n){e=Math.min(r-1,e);var c=void 0,i=t.scroll.leaf(e),b=p(i,2),a=b[0],M=b[1],z=a.position(M,0!==n),l=p(z,2);c=l[0],M=l[1],o.push(c,M)})),o.length<2&&(o=o.concat(o)),o}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var o=this.scroll.length()-1,r=this.scroll.line(Math.min(t.index,o)),c=p(r,1)[0],i=c;if(t.length>0){var b=this.scroll.line(Math.min(t.index+t.length,o));i=p(b,1)[0]}if(null!=c&&null!=i){var a=e.getBoundingClientRect();n.topa.bottom&&(e.scrollTop+=n.bottom-a.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(u.info("setNativeRange",e,t,n,o),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var c=document.getSelection();if(null!=c)if(null!=e){this.hasFocus()||this.root.focus();var i=(this.getNativeRange()||{}).native;if(null==i||r||e!==i.startContainer||t!==i.startOffset||n!==i.endContainer||o!==i.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(o=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var p=document.createRange();p.setStart(e,t),p.setEnd(n,o),c.removeAllRanges(),c.addRange(p)}}else c.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;if("string"==typeof t&&(n=t,t=!1),u.info("setRange",e),null!=e){var o=this.rangeToNative(e);this.setNativeRange.apply(this,r(o).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,t=this.lastRange,n=this.getRange(),o=p(n,2),r=o[0],c=o[1];if(this.lastRange=r,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,z.default)(t,this.lastRange)){var i;!this.composing&&null!=c&&c.native.collapsed&&c.start.node!==this.cursor.textNode&&this.cursor.restore();var b,a=[l.default.events.SELECTION_CHANGE,(0,M.default)(this.lastRange),(0,M.default)(t),e];(i=this.emitter).emit.apply(i,[l.default.events.EDITOR_CHANGE].concat(a)),e!==l.default.sources.SILENT&&(b=this.emitter).emit.apply(b,a)}}}]),e}();t.Range=s,t.default=O},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e;var e},t.scope=c.Scope.INLINE_BLOT,t}(r.default);t.default=i},function(e,t,n){function o(e){this.ops=e,this.index=0,this.offset=0}var r=n(11),c=n(3),i={attributes:{compose:function(e,t,n){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var o=c(!0,{},t);for(var r in n||(o=Object.keys(o).reduce((function(e,t){return null!=o[t]&&(e[t]=o[t]),e}),{})),e)void 0!==e[r]&&void 0===t[r]&&(o[r]=e[r]);return Object.keys(o).length>0?o:void 0},diff:function(e,t){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,o){return r(e[o],t[o])||(n[o]=void 0===t[o]?null:t[o]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!=typeof e)return t;if("object"==typeof t){if(!n)return t;var o=Object.keys(t).reduce((function(n,o){return void 0===e[o]&&(n[o]=t[o]),n}),{});return Object.keys(o).length>0?o:void 0}}},iterator:function(e){return new o(e)},length:function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}};o.prototype.hasNext=function(){return this.peekLength()<1/0},o.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,o=i.length(t);if(e>=o-n?(e=o-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var r={};return t.attributes&&(r.attributes=t.attributes),"number"==typeof t.retain?r.retain=e:"string"==typeof t.insert?r.insert=t.insert.substr(n,e):r.insert=t.insert,r}return{retain:1/0}},o.prototype.peek=function(){return this.ops[this.index]},o.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0},o.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},e.exports=i},function(e,n){var o=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}function n(o,r,c,i,z){function l(o,c){if(null===o)return null;if(0===c)return o;var f,d;if("object"!=typeof o)return o;if(e(o,b))f=new b;else if(e(o,a))f=new a;else if(e(o,M))f=new M((function(e,t){o.then((function(t){e(l(t,c-1))}),(function(e){t(l(e,c-1))}))}));else if(n.__isArray(o))f=[];else if(n.__isRegExp(o))f=new RegExp(o.source,p(o)),o.lastIndex&&(f.lastIndex=o.lastIndex);else if(n.__isDate(o))f=new Date(o.getTime());else{if(O&&t.isBuffer(o))return f=new t(o.length),o.copy(f),f;e(o,Error)?f=Object.create(o):void 0===i?(d=Object.getPrototypeOf(o),f=Object.create(d)):(f=Object.create(i),d=i)}if(r){var A=u.indexOf(o);if(-1!=A)return s[A];u.push(o),s.push(f)}for(var q in e(o,b)&&o.forEach((function(e,t){var n=l(t,c-1),o=l(e,c-1);f.set(n,o)})),e(o,a)&&o.forEach((function(e){var t=l(e,c-1);f.add(t)})),o){var h;d&&(h=Object.getOwnPropertyDescriptor(d,q)),h&&null==h.set||(f[q]=l(o[q],c-1))}if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(o);for(q=0;q0){if(c instanceof u.BlockEmbed||a instanceof u.BlockEmbed)return void this.optimize();if(c instanceof f.default){var z=c.newlineIndex(c.length(),!0);if(z>-1&&(c=c.split(z+1))===a)return void this.optimize()}else if(a instanceof f.default){var l=a.newlineIndex(0);l>-1&&a.split(l+1)}var s=a.children.head instanceof O.default?null:a.children.head;c.moveChildren(a,s),c.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,o,r){(null==this.whitelist||this.whitelist[o])&&(M(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,o,r),this.optimize())}},{key:"insertAt",value:function(e,n,o){if(null==o||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==o||null==z.default.query(n,z.default.Scope.BLOCK)){var r=z.default.create(this.statics.defaultChild);this.appendChild(r),null==o&&n.endsWith("\n")&&(n=n.slice(0,-1)),r.insertAt(0,n,o)}else{var c=z.default.create(n,o);this.appendChild(c)}else M(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,o);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===z.default.Scope.INLINE_BLOT){var o=z.default.create(this.statics.defaultChild);o.appendChild(e),e=o}M(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(p,e)}},{key:"lines",value:function(){return function e(t,n,o){var r=[],c=o;return t.children.forEachAt(n,o,(function(t,n,o){p(t)?r.push(t):t instanceof z.default.Container&&(r=r.concat(e(t,n,c))),c-=o})),r}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(M(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(l.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return M(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=l.default.sources.USER;"string"==typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(l.default.events.SCROLL_BEFORE_UPDATE,n,e),M(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(l.default.events.SCROLL_UPDATE,n,e)}}}]),t}(z.default.Scroll);A.blotName="scroll",A.className="ql-editor",A.tagName="DIV",A.defaultChild="block",A.allowedChildren=[s.default,u.BlockEmbed,d.default],t.default=A},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function b(e,t){var n,o=e===w.keys.LEFT?"prefix":"suffix";return r(n={key:e,shiftKey:t,altKey:null},o,/^$/),r(n,"handler",(function(n){var o=n.index;e===w.keys.RIGHT&&(o+=n.length+1);var r=this.quill.getLeaf(o);return!(d(r,1)[0]instanceof m.default.Embed)||(e===w.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,g.default.sources.USER):this.quill.setSelection(n.index-1,g.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,g.default.sources.USER):this.quill.setSelection(n.index+n.length+1,g.default.sources.USER),!1)})),n}function a(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),o=d(n,1)[0],r={};if(0===t.offset){var c=this.quill.getLine(e.index-1),i=d(c,1)[0];if(null!=i&&i.length()>1){var p=o.formats(),b=this.quill.getFormat(e.index-1,1);r=y.default.attributes.diff(p,b)||{}}}var a=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-a,a,g.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index-a,a,r,g.default.sources.USER),this.quill.focus()}}function M(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var o={},r=0,c=this.quill.getLine(e.index),i=d(c,1)[0];if(t.offset>=i.length()-1){var p=this.quill.getLine(e.index+1),b=d(p,1)[0];if(b){var a=i.formats(),M=this.quill.getFormat(e.index,1);o=y.default.attributes.diff(a,M)||{},r=b.length()}}this.quill.deleteText(e.index,n,g.default.sources.USER),Object.keys(o).length>0&&this.quill.formatLine(e.index+r-1,n,o,g.default.sources.USER)}}function z(e){var t=this.quill.getLines(e),n={};if(t.length>1){var o=t[0].formats(),r=t[t.length-1].formats();n=y.default.attributes.diff(r,o)||{}}this.quill.deleteText(e,g.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,g.default.sources.USER),this.quill.setSelection(e.index,g.default.sources.SILENT),this.quill.focus()}function l(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var o=Object.keys(t.format).reduce((function(e,n){return m.default.query(n,m.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",o,g.default.sources.USER),this.quill.setSelection(e.index+1,g.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==o[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],g.default.sources.USER))}))}function u(e){return{key:w.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=m.default.query("code-block"),o=t.index,r=t.length,c=this.quill.scroll.descendant(n,o),i=d(c,2),p=i[0],b=i[1];if(null!=p){var a=this.quill.getIndex(p),M=p.newlineIndex(b,!0)+1,z=p.newlineIndex(a+b+r),l=p.domNode.textContent.slice(M,z).split("\n");b=0,l.forEach((function(t,c){e?(p.insertAt(M+b,n.TAB),b+=n.TAB.length,0===c?o+=n.TAB.length:r+=n.TAB.length):t.startsWith(n.TAB)&&(p.deleteAt(M+b,n.TAB.length),b-=n.TAB.length,0===c?o-=n.TAB.length:r-=n.TAB.length),b+=t.length+1})),this.quill.update(g.default.sources.USER),this.quill.setSelection(o,r,g.default.sources.SILENT)}}}}function s(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],g.default.sources.USER)}}}function O(e){if("string"==typeof e||"number"==typeof e)return O({key:e});if("object"===(void 0===e?"undefined":f(e))&&(e=(0,q.default)(e,!1)),"string"==typeof e.key)if(null!=w.keys[e.key.toUpperCase()])e.key=w.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[_]=e.shortKey,delete e.shortKey),e}Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d=function(){function e(e,t){var n=[],o=!0,r=!1,c=void 0;try{for(var i,p=e[Symbol.iterator]();!(o=(i=p.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,c=e}finally{try{!o&&p.return&&p.return()}finally{if(r)throw c}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),A=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=O(e);if(null==o||null==o.key)return N.warn("Attempted to add invalid keyboard binding",o);"function"==typeof t&&(t={handler:t}),"function"==typeof n&&(n={handler:n}),o=(0,W.default)(o,t,n),this.bindings[o.key]=this.bindings[o.key]||[],this.bindings[o.key].push(o)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var o=n.which||n.keyCode,r=(e.bindings[o]||[]).filter((function(e){return t.match(n,e)}));if(0!==r.length){var c=e.quill.getSelection();if(null!=c&&e.quill.hasFocus()){var i=e.quill.getLine(c.index),p=d(i,2),b=p[0],a=p[1],M=e.quill.getLeaf(c.index),z=d(M,2),l=z[0],u=z[1],s=0===c.length?[l,u]:e.quill.getLeaf(c.index+c.length),O=d(s,2),A=O[0],q=O[1],W=l instanceof m.default.Text?l.value().slice(0,u):"",v=A instanceof m.default.Text?A.value().slice(q):"",y={collapsed:0===c.length,empty:0===c.length&&b.length()<=1,format:e.quill.getFormat(c),offset:a,prefix:W,suffix:v};r.some((function(t){if(null!=t.collapsed&&t.collapsed!==y.collapsed)return!1;if(null!=t.empty&&t.empty!==y.empty)return!1;if(null!=t.offset&&t.offset!==y.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==y.format[e]})))return!1}else if("object"===f(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=y.format[e]:!1===t.format[e]?null==y.format[e]:(0,h.default)(t.format[e],y.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(y.prefix))&&!(null!=t.suffix&&!t.suffix.test(y.suffix))&&!0!==t.handler.call(e,c,y)}))&&n.preventDefault()}}}}))}}]),t}(L.default);w.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},w.DEFAULTS={bindings:{bold:s("bold"),italic:s("italic"),underline:s("underline"),indent:{key:w.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",g.default.sources.USER)}},outdent:{key:w.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",g.default.sources.USER)}},"outdent backspace":{key:w.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",g.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,g.default.sources.USER)}},"indent code-block":u(!0),"outdent code-block":u(!1),"remove tab":{key:w.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,g.default.sources.USER)}},tab:{key:w.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new v.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,g.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,g.default.sources.SILENT)}},"list empty enter":{key:w.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,g.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,g.default.sources.USER)}},"checklist enter":{key:w.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=d(t,2),o=n[0],r=n[1],c=(0,W.default)({},o.formats(),{list:"checked"}),i=(new v.default).retain(e.index).insert("\n",c).retain(o.length()-r-1).retain(1,{list:"unchecked"});this.quill.updateContents(i,g.default.sources.USER),this.quill.setSelection(e.index+1,g.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:w.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),o=d(n,2),r=o[0],c=o[1],i=(new v.default).retain(e.index).insert("\n",t.format).retain(r.length()-c-1).retain(1,{header:null});this.quill.updateContents(i,g.default.sources.USER),this.quill.setSelection(e.index+1,g.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,o=this.quill.getLine(e.index),r=d(o,2),c=r[0],i=r[1];if(i>n)return!0;var p=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":p="unchecked";break;case"[x]":p="checked";break;case"-":case"*":p="bullet";break;default:p="ordered"}this.quill.insertText(e.index," ",g.default.sources.USER),this.quill.history.cutoff();var b=(new v.default).retain(e.index-i).delete(n+1).retain(c.length()-2-i).retain(1,{list:p});this.quill.updateContents(b,g.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,g.default.sources.SILENT)}},"code exit":{key:w.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=d(t,2),o=n[0],r=n[1],c=(new v.default).retain(e.index+o.length()-r-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(c,g.default.sources.USER)}},"embed left":b(w.keys.LEFT,!1),"embed left shift":b(w.keys.LEFT,!0),"embed right":b(w.keys.RIGHT,!1),"embed right shift":b(w.keys.RIGHT,!0)}},t.default=w,t.SHORTKEY=_},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){var n=[],o=!0,r=!1,c=void 0;try{for(var i,p=e[Symbol.iterator]();!(o=(i=p.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,c=e}finally{try{!o&&p.return&&p.return()}finally{if(r)throw c}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),b=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var c=Object.getPrototypeOf(t);return null===c?void 0:e(c,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=function(){function e(e,t){for(var n=0;n-1}Object.defineProperty(t,"__esModule",{value:!0}),t.sanitize=t.default=void 0;var p=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":i(Event))){var o=document.createEvent("Event");o.initEvent("change",!0,!0),this.select.dispatchEvent(o)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=z},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),c=o(n(5)),i=n(4),p=o(i),b=o(n(16)),a=o(n(25)),M=o(n(24)),z=o(n(35)),l=o(n(6)),u=o(n(22)),s=o(n(7)),O=o(n(55)),f=o(n(42)),d=o(n(23));c.default.register({"blots/block":p.default,"blots/block/embed":i.BlockEmbed,"blots/break":b.default,"blots/container":a.default,"blots/cursor":M.default,"blots/embed":z.default,"blots/inline":l.default,"blots/scroll":u.default,"blots/text":s.default,"modules/clipboard":O.default,"modules/history":f.default,"modules/keyboard":d.default}),r.default.register(p.default,b.default,M.default,l.default,u.default,s.default),t.default=c.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=function(){function e(e){this.domNode=e,this.domNode[o.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new o.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"==typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"==typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return o.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[o.DATA_KEY]},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,n,r){var c=this.isolate(e,t);if(null!=o.query(n,o.Scope.BLOT)&&r)c.wrap(n,r);else if(null!=o.query(n,o.Scope.ATTRIBUTE)){var i=o.create(this.statics.scope);c.wrap(i),i.format(n,r)}},e.prototype.insertAt=function(e,t,n){var r=null==n?o.create("text",t):o.create(t,n),c=this.split(e);this.parent.insertBefore(r,c)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[o.DATA_KEY]&&delete this.domNode[o.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"==typeof e?o.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"==typeof e?o.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(12),r=n(32),c=n(33),i=n(1),p=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=o.default.keys(this.domNode),n=r.default.keys(this.domNode),p=c.default.keys(this.domNode);t.concat(n).concat(p).forEach((function(t){var n=i.query(t,i.Scope.ATTRIBUTE);n instanceof o.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var o=t.attributes[n].value(t.domNode);e.format(n,o)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=p},function(e,t,n){"use strict";function o(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(t,"__esModule",{value:!0});var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){o(e,this.keyName).forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(o(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=c},function(e,t,n){"use strict";function o(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(t,"__esModule",{value:!0});var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){return e.split(":")[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[o(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[o(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[o(this.keyName)];return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=c},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;no&&this.stack.undo.length>0){var r=this.stack.undo.pop();n=n.compose(r.undo),e=r.redo.compose(e)}else this.lastRecorded=o;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})),this.stack.redo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(o(n(9)).default);l.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=l,t.getLastChangeIndex=b},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function p(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e}function b(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var o=document.createElement("option");t===n?o.setAttribute("selected","selected"):o.setAttribute("value",t),e.appendChild(o)}))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var a=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,u.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,u.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=p(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var o=n.index+n.length;this.quill.insertEmbed(o,this.root.getAttribute("data-mode"),e,u.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(o+1," ",u.default.sources.USER),this.quill.setSelection(o+2,u.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}(q.default);t.BaseTooltip=R,t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){for(var t,n=this.iterator();t=n();)if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){for(var t=0,n=this.head;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);for(var n,o=this.iterator();n=o();){var r=n.length();if(ei?n(o,e-i,Math.min(t,i+b-e)):n(o,0,Math.min(b,e+t-i)),i+=b}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){for(var n,o=this.iterator();n=o();)t=e(t,n);return t},e}();t.default=o},function(e,t,n){"use strict";var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),c=n(1),i={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},p=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,i),n.attach(),n}return o(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,o,r){this.update(),e.prototype.formatAt.call(this,t,n,o,r)},t.prototype.insertAt=function(t,n,o){this.update(),e.prototype.insertAt.call(this,t,n,o)},t.prototype.optimize=function(t,n){var o=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);for(var i=[].slice.call(this.observer.takeRecords());i.length>0;)t.push(i.pop());for(var p=function e(t,n){void 0===n&&(n=!0),null!=t&&t!==o&&null!=t.domNode.parentNode&&(null==t.domNode[c.DATA_KEY].mutations&&(t.domNode[c.DATA_KEY].mutations=[]),n&&e(t.parent))},b=function e(t){null!=t.domNode[c.DATA_KEY]&&null!=t.domNode[c.DATA_KEY].mutations&&(t instanceof r.default&&t.children.forEach(e),t.optimize(n))},a=t,M=0;a.length>0;M+=1){if(M>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(a.forEach((function(e){var t=c.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(p(c.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=c.find(e,!1);p(t,!1),t instanceof r.default&&t.children.forEach((function(e){p(e,!1)}))}))):"attributes"===e.type&&p(t.prev)),p(t))})),this.children.forEach(b),i=(a=[].slice.call(this.observer.takeRecords())).slice();i.length>0;)t.push(i.pop())}},t.prototype.update=function(t,n){var o=this;void 0===n&&(n={}),(t=t||this.observer.takeRecords()).map((function(e){var t=c.find(e.target,!0);return null==t?null:null==t.domNode[c.DATA_KEY].mutations?(t.domNode[c.DATA_KEY].mutations=[e],t):(t.domNode[c.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==o&&null!=e.domNode[c.DATA_KEY]&&e.update(e.domNode[c.DATA_KEY].mutations||[],n)})),null!=this.domNode[c.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[c.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=c.Scope.BLOCK_BLOT,t.tagName="DIV",t}(r.default);t.default=p},function(e,t,n){"use strict";function o(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}var r=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(t,"__esModule",{value:!0});var c=n(18),i=n(1),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,o){var r=this;n!==this.statics.blotName||o?e.prototype.format.call(this,n,o):(this.children.forEach((function(e){e instanceof c.default||(e=e.wrap(t.blotName,!0)),r.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,o,r){null!=this.formats()[o]||i.query(o,i.Scope.ATTRIBUTE)?this.isolate(t,n).format(o,r):e.prototype.formatAt.call(this,t,n,o,r)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var c=this.next;c instanceof t&&c.prev===this&&o(r,c.formats())&&(c.moveChildren(this),c.remove())},t.blotName="inline",t.scope=i.Scope.INLINE_BLOT,t.tagName="SPAN",t}(c.default);t.default=p},function(e,t,n){"use strict";var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),c=n(1),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(n){var o=c.query(t.blotName).tagName;if(n.tagName!==o)return e.formats.call(this,n)},t.prototype.format=function(n,o){null!=c.query(n,c.Scope.BLOCK)&&(n!==this.statics.blotName||o?e.prototype.format.call(this,n,o):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,o,r){null!=c.query(o,c.Scope.BLOCK)?this.format(o,r):e.prototype.formatAt.call(this,t,n,o,r)},t.prototype.insertAt=function(t,n,o){if(null==o||null!=c.query(n,c.Scope.INLINE))e.prototype.insertAt.call(this,t,n,o);else{var r=this.split(t),i=c.create(n,o);r.parent.insertBefore(i,r)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=c.Scope.BLOCK_BLOT,t.tagName="P",t}(r.default);t.default=i},function(e,t,n){"use strict";var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,o,r){0===t&&n===this.length()?this.format(o,r):e.prototype.formatAt.call(this,t,n,o,r)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(n(19).default);t.default=r},function(e,t,n){"use strict";var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),c=n(1),i=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return o(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t.normalize&&(t=t.normalize()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,o){null==o?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,o)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=c.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=c.Scope.INLINE_BLOT,t}(r.default);t.default=i},function(e,t,n){"use strict";var o=document.createElement("div");if(o.classList.toggle("test-class",!1),o.classList.contains("test-class")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)==!t?t:r.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var o=n.indexOf(e,t);return-1!==o&&o===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),o=n.length>>>0,r=arguments[1],c=0;ct.length?e:t,i=e.length>t.length?t:e,p=c.indexOf(i);if(-1!=p)return o=[[O,c.substring(0,p)],[f,i],[O,c.substring(p+i.length)]],e.length>t.length&&(o[0][0]=o[2][0]=s),o;if(1==i.length)return[[s,e],[O,t]];var a=b(e,t);if(a){var M=a[0],z=a[1],l=a[2],u=a[3],d=a[4],A=n(M,l),q=n(z,u);return A.concat([[f,d]],q)}return r(e,t)}function r(e,t){for(var n=e.length,o=t.length,r=Math.ceil((n+o)/2),i=r,p=2*r,b=new Array(p),a=new Array(p),M=0;Mn)f+=2;else if(v>o)u+=2;else if(l&&(g=i+z-h)>=0&&g=(m=n-a[g]))return c(e,t,L,v)}for(var y=-q+d;y<=q-A;y+=2){for(var m,g=i+y,R=(m=y==-q||y!=q&&a[g-1]n)A+=2;else if(R>o)d+=2;else if(!l){var L;if((W=i+z-y)>=0&&W=(m=n-m)))return c(e,t,L,v)}}}return[[s,e],[O,t]]}function c(e,t,o,r){var c=e.substring(0,o),i=t.substring(0,r),p=e.substring(o),b=t.substring(r),a=n(c,i),M=n(p,b);return a.concat(M)}function i(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,o=Math.min(e.length,t.length),r=o,c=0;n=e.length?[o,r,c,b,z]:null}var o=e.length>t.length?e:t,r=e.length>t.length?t:e;if(o.length<4||2*r.lengthu[4].length?l:u:l,e.length>t.length?(b=c[0],a=c[1],M=c[2],z=c[3]):(M=c[0],z=c[1],b=c[2],a=c[3]),[b,a,M,z,c[4]]):null}function a(e){e.push([f,""]);for(var t,n=0,o=0,r=0,c="",b="";n1?(0!==o&&0!==r&&(0!==(t=i(b,c))&&(n-o-r>0&&e[n-o-r-1][0]==f?e[n-o-r-1][1]+=b.substring(0,t):(e.splice(0,0,[f,b.substring(0,t)]),n++),b=b.substring(t),c=c.substring(t)),0!==(t=p(b,c))&&(e[n][1]=b.substring(b.length-t)+e[n][1],b=b.substring(0,b.length-t),c=c.substring(0,c.length-t))),0===o?e.splice(n-r,o+r,[O,b]):0===r?e.splice(n-o,o+r,[s,c]):e.splice(n-o-r,o+r,[s,c],[O,b]),n=n-o-r+(o?1:0)+(r?1:0)+1):0!==n&&e[n-1][0]==f?(e[n-1][1]+=e[n][1],e.splice(n,1)):n++,r=0,o=0,c="",b=""}""===e[e.length-1][1]&&e.pop();var M=!1;for(n=1;n0&&o.splice(r+2,0,[i[0],p]),u(o,r,3)}return e}function l(e){for(var t=!1,n=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},o=2;o=55296&&e.charCodeAt(e.length-1)<=56319}(e[o-2][1])&&e[o-1][0]===s&&n(e[o-1][1])&&e[o][0]===O&&n(e[o][1])&&(t=!0,e[o-1][1]=e[o-2][1].slice(-1)+e[o-1][1],e[o][1]=e[o-2][1].slice(-1)+e[o][1],e[o-2][1]=e[o-2][1].slice(0,-1));if(!t)return e;var r=[];for(o=0;o0&&r.push(e[o]);return r}function u(e,t,n){for(var o=t+n-1;o>=0&&o>=t-1;o--)if(o+1=0&&n.length-1}function l(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new L.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(o,r){var c=l(r,t,n);return r.nodeType===e.ELEMENT_NODE&&(c=t.reduce((function(e,t){return t(r,e)}),c),c=(r[P]||[]).reduce((function(e,t){return t(r,e)}),c)),o.concat(c)}),new L.default):new L.default}function u(e,t,n){return b(n,e,!0)}function s(e,t){var n=N.default.Attributor.Attribute.keys(e),o=N.default.Attributor.Class.keys(e),r=N.default.Attributor.Style.keys(e),c={};return n.concat(o).concat(r).forEach((function(t){var n=N.default.query(t,N.default.Scope.ATTRIBUTE);null!=n&&(c[n.attrName]=n.value(e),c[n.attrName])||(null==(n=I[t])||n.attrName!==t&&n.keyName!==t||(c[n.attrName]=n.value(e)||void 0),null==(n=U[t])||n.attrName!==t&&n.keyName!==t||(n=U[t],c[n.attrName]=n.value(e)||void 0))})),Object.keys(c).length>0&&(t=b(t,c)),t}function O(e,t){var n=N.default.query(e);if(null==n)return t;if(n.prototype instanceof N.default.Embed){var o={},r=n.value(e);null!=r&&(o[n.blotName]=r,t=(new L.default).insert(o,n.formats(e)))}else"function"==typeof n.formats&&(t=b(t,n.blotName,n.formats(e)));return t}function f(e,t){return M(t,"\n")||t.insert("\n"),t}function d(){return new L.default}function A(e,t){var n=N.default.query(e);if(null==n||"list-item"!==n.blotName||!M(t,"\n"))return t;for(var o=-1,r=e.parentNode;!r.classList.contains("ql-clipboard");)"list"===(N.default.query(r)||{}).blotName&&(o+=1),r=r.parentNode;return o<=0?t:t.compose((new L.default).retain(t.length()-1).retain(1,{indent:o}))}function q(e,t){return M(t,"\n")||(z(e)||t.length()>0&&e.nextSibling&&z(e.nextSibling))&&t.insert("\n"),t}function h(e,t){if(z(e)&&null!=e.nextElementSibling&&!M(t,"\n\n")){var n=e.offsetHeight+parseFloat(a(e).marginTop)+parseFloat(a(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function W(e,t){var n={},o=e.style||{};return o.fontStyle&&"italic"===a(e).fontStyle&&(n.italic=!0),o.fontWeight&&(a(e).fontWeight.startsWith("bold")||parseInt(a(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=b(t,n)),parseFloat(o.textIndent||0)>0&&(t=(new L.default).insert("\t").concat(t)),t}function v(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!a(e.parentNode).whiteSpace.startsWith("pre")){var o=function(e,t){return(t=t.replace(/[^\u00a0]/g,"")).length<1&&e?" ":t};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,o.bind(o,!0)),(null==e.previousSibling&&z(e.parentNode)||null!=e.previousSibling&&z(e.previousSibling))&&(n=n.replace(/^\s+/,o.bind(o,!1))),(null==e.nextSibling&&z(e.parentNode)||null!=e.nextSibling&&z(e.nextSibling))&&(n=n.replace(/\s+$/,o.bind(o,!1)))}return t.insert(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.matchText=t.matchSpacing=t.matchNewline=t.matchBlot=t.matchAttributor=t.default=void 0;var y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m=function(){function e(e,t){var n=[],o=!0,r=!1,c=void 0;try{for(var i,p=e[Symbol.iterator]();!(o=(i=p.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,c=e}finally{try{!o&&p.return&&p.return()}finally{if(r)throw c}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),g=function(){function e(e,t){for(var n=0;n\r?\n +\<"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[x.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new L.default).insert(n,r({},x.default.blotName,t[x.default.blotName]))}var o=this.prepareMatching(),c=m(o,2),i=c[0],p=c[1],b=l(this.container,i,p);return M(b,"\n")&&null==b.ops[b.ops.length-1].attributes&&(b=b.compose((new L.default).retain(b.length()-1).delete(1))),j.log("convert",this.container.innerHTML,b),this.container.innerHTML="",b}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_.default.sources.API;if("string"==typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,_.default.sources.SILENT);else{var o=this.convert(t);this.quill.updateContents((new L.default).retain(e).concat(o),n),this.quill.setSelection(e+o.length(),_.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),o=(new L.default).retain(n.index),r=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(_.default.sources.SILENT),setTimeout((function(){o=o.concat(t.convert()).delete(n.length),t.quill.updateContents(o,_.default.sources.USER),t.quill.setSelection(o.length()-n.length,_.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=r,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(o){var r=m(o,2),c=r[0],i=r[1];switch(c){case Node.TEXT_NODE:n.push(i);break;case Node.ELEMENT_NODE:t.push(i);break;default:[].forEach.call(e.container.querySelectorAll(c),(function(e){e[P]=e[P]||[],e[P].push(i)}))}})),[t,n]}}]),t}(B.default);F.DEFAULTS={matchers:[],matchVisual:!0},t.default=F,t.matchAttributor=s,t.matchBlot=O,t.matchNewline=q,t.matchSpacing=h,t.matchText=v},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n '},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;no.right&&(c=o.right-r.right,this.root.style.left=t+c+"px"),r.lefto.bottom){var i=r.bottom-r.top,p=e.bottom-e.top+i;this.root.style.top=n-p+"px",this.root.classList.add("ql-flip")}return c}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=c},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){var n=[],o=!0,r=!1,c=void 0;try{for(var i,p=e[Symbol.iterator]();!(o=(i=p.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(e){r=!0,c=e}finally{try{!o&&p.return&&p.return()}finally{if(r)throw c}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),b=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var c=Object.getPrototypeOf(t);return null===c?void 0:e(c,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},a=function(){function e(e,t){for(var n=0;n','','',''].join(""),t.default=A},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(29)),c=n(36),i=n(38),p=n(64),b=o(n(65)),a=o(n(66)),M=n(67),z=o(M),l=n(37),u=n(26),s=n(39),O=n(40),f=o(n(56)),d=o(n(68)),A=o(n(27)),q=o(n(69)),h=o(n(70)),W=o(n(71)),v=o(n(72)),y=o(n(73)),m=n(13),g=o(m),R=o(n(74)),L=o(n(75)),N=o(n(57)),_=o(n(41)),w=o(n(28)),B=o(n(59)),k=o(n(60)),E=o(n(61)),x=o(n(108)),S=o(n(62));r.default.register({"attributors/attribute/direction":i.DirectionAttribute,"attributors/class/align":c.AlignClass,"attributors/class/background":l.BackgroundClass,"attributors/class/color":u.ColorClass,"attributors/class/direction":i.DirectionClass,"attributors/class/font":s.FontClass,"attributors/class/size":O.SizeClass,"attributors/style/align":c.AlignStyle,"attributors/style/background":l.BackgroundStyle,"attributors/style/color":u.ColorStyle,"attributors/style/direction":i.DirectionStyle,"attributors/style/font":s.FontStyle,"attributors/style/size":O.SizeStyle},!0),r.default.register({"formats/align":c.AlignClass,"formats/direction":i.DirectionClass,"formats/indent":p.IndentClass,"formats/background":l.BackgroundStyle,"formats/color":u.ColorStyle,"formats/font":s.FontClass,"formats/size":O.SizeClass,"formats/blockquote":b.default,"formats/code-block":g.default,"formats/header":a.default,"formats/list":z.default,"formats/bold":f.default,"formats/code":m.Code,"formats/italic":d.default,"formats/link":A.default,"formats/script":q.default,"formats/strike":h.default,"formats/underline":W.default,"formats/image":v.default,"formats/video":y.default,"formats/list/item":M.ListItem,"modules/formula":R.default,"modules/syntax":L.default,"modules/toolbar":N.default,"themes/bubble":x.default,"themes/snow":S.default,"ui/icons":_.default,"ui/picker":w.default,"ui/icon-picker":k.default,"ui/color-picker":B.default,"ui/tooltip":E.default},!0),t.default=r.default},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var i=function(){function e(e,t){for(var n=0;n0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return r({},this.statics.blotName,this.statics.formats(this.domNode))}},{key:"insertBefore",value:function(e,n){if(e instanceof u)a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var o=null==n?this.length():n.offset(this),r=this.split(o);r.parent.insertBefore(e,r)}}},{key:"optimize",value:function(e){a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=M.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}a(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(l.default);s.blotName="list",s.scope=M.default.Scope.BLOCK_BLOT,s.tagName=["OL","UL"],s.defaultChild="list-item",s.allowedChildren=[u],t.ListItem=u,t.default=s},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(56)),p=function(e){function t(){return o(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return c(t,e),t}(i.default);p.blotName="italic",p.tagName=["EM","I"],t.default=p},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):p(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=p(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return M.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,a.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(b.default.Embed);z.blotName="image",z.tagName="IMG",t.default=z},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):p(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=p(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return M.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return a.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(b.BlockEmbed);z.blotName="video",z.className="ql-video",z.tagName="IFRAME",t.default=z},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var p=function(){function e(e,t){for(var n=0;n0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(o(n(13)).default);l.className="ql-syntax";var u=new a.default.Attributor.Class("token","hljs",{scope:a.default.Scope.INLINE}),s=function(e){function t(e,n){r(this,t);var o=c(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!=typeof o.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var i=null;return o.quill.on(M.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(i),i=setTimeout((function(){o.highlight(),i=null}),o.options.interval)})),o.highlight(),o}return i(t,e),p(t,null,[{key:"register",value:function(){M.default.register(u,!0),M.default.register(l,!0)}}]),p(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(M.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(l).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(M.default.sources.SILENT),null!=t&&this.quill.setSelection(t,M.default.sources.SILENT)}}}]),t}(z.default);s.DEFAULTS={highlight:null==window.hljs?null:function(e){return window.hljs.highlightAuto(e).value},interval:1e3},t.CodeBlock=l,t.CodeToken=u,t.default=s},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var p=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var c=Object.getPrototypeOf(t);return null===c?void 0:e(c,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},b=function(){function e(e,t){for(var n=0;n0&&r===M.default.sources.USER){o.show(),o.root.style.left="0px",o.root.style.width="",o.root.style.width=o.root.offsetWidth+"px";var c=o.quill.getLines(t.index,t.length);if(1===c.length)o.position(o.quill.getBounds(t));else{var i=c[c.length-1],p=o.quill.getIndex(i),b=Math.min(i.length()-1,t.index+t.length-p),a=o.quill.getBounds(new u.Range(p,b));o.position(a)}}else document.activeElement!==o.textbox&&o.quill.hasFocus()&&o.hide()})),o}return i(t,e),b(t,[{key:"listen",value:function(){var e=this;p(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){e.root.classList.remove("ql-editing")})),this.quill.on(M.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=p(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),o=this.root.querySelector(".ql-tooltip-arrow");if(o.style.marginLeft="",0===n)return n;o.style.marginLeft=-1*n-o.offsetWidth/2+"px"}}]),t}(z.BaseTooltip);d.TEMPLATE=['','
','','',"
"].join(""),t.BubbleTooltip=d,t.default=f},function(e,t,n){e.exports=n(63)}]).default}))}).call(t,n(43).Buffer)},function(e,t,n){var o=n(11)(n(1),"Map");e.exports=o},function(e,t,n){var o=n(1).Symbol;e.exports=o},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t,n){function o(e,t,n){(void 0===n||c(e[t],n))&&(void 0!==n||t in e)||r(e,t,n)}var r=n(10),c=n(8);e.exports=o},function(e,t,n){function o(e,t,n,z,l){e!==t&&i(t,(function(i,a){if(b(i))l||(l=new r),p(e,t,a,n,o,z,l);else{var u=z?z(M(e,a),i,a+"",e,t,l):void 0;void 0===u&&(u=i),c(e,a,u)}}),a)}var r=n(48),c=n(19),i=n(53),p=n(58),b=n(0),a=n(34),M=n(27);e.exports=o},function(e,t,n){function o(e,t){return i(c(e,t,r),e+"")}var r=n(28),c=n(96),i=n(97);e.exports=o},function(e,t,n){var o=n(11),r=function(){try{var e=o(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(35))},function(e,t,n){var o=n(95)(Object.getPrototypeOf,Object);e.exports=o},function(e,t){function n(e,t){var n=typeof e;return!!(t=null==t?o:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=o}var o=9007199254740991;e.exports=n},function(e,t,n){var o=n(56),r=n(61),c=n(93),i=c&&c.isTypedArray,p=i?r(i):o;e.exports=p},function(e,t,n){function o(e){return i(e)?r(e,!0):c(e)}var r=n(50),c=n(57),i=n(12);e.exports=o},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";t.a={modules:["DisplaySize","Toolbar","Resize"],overlayStyles:{position:"absolute",boxSizing:"border-box",border:"1px dashed #444"},handleStyles:{position:"absolute",height:"12px",width:"12px",backgroundColor:"white",border:"1px solid #777",boxSizing:"border-box",opacity:"0.80"},displayStyles:{position:"absolute",font:"12px/1.0 Arial, Helvetica, sans-serif",padding:"4px 8px",textAlign:"center",backgroundColor:"white",color:"#333",border:"1px solid #777",boxSizing:"border-box",opacity:"0.80",cursor:"default"},toolbarStyles:{position:"absolute",top:"-12px",right:"0",left:"0",height:"0",minWidth:"100px",font:"12px/1.0 Arial, Helvetica, sans-serif",textAlign:"center",color:"#333",boxSizing:"border-box",cursor:"default"},toolbarButtonStyles:{display:"inline-block",width:"24px",height:"24px",background:"white",border:"1px solid #999",verticalAlign:"middle"},toolbarButtonSvgStyles:{fill:"#444",stroke:"#444",strokeWidth:"2"}}},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",(function(){return i}));var i=function(e){function t(){var e,n,c;o(this,t);for(var i=arguments.length,p=Array(i),b=0;b120&&e[1]>30)Object.assign(c.display.style,{right:"4px",bottom:"4px",left:"auto"});else if("right"==c.img.style.float){var t=c.display.getBoundingClientRect();Object.assign(c.display.style,{right:"auto",bottom:"-"+(t.height+4)+"px",left:"-"+(t.width+4)+"px"})}else{var n=c.display.getBoundingClientRect();Object.assign(c.display.style,{right:"-"+(n.width+4)+"px",bottom:"-"+(n.height+4)+"px",left:"auto"})}}},c.getCurrentSize=function(){return[c.img.width,Math.round(c.img.width/c.img.naturalWidth*c.img.naturalHeight)]},r(c,n)}return c(t,e),t}(n(9).a)},function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}n.d(t,"a",(function(){return i}));var i=function(e){function t(){var e,n,c;o(this,t);for(var i=arguments.length,p=Array(i),b=0;b0&&(o.style.borderLeftWidth="0"),Object.assign(o.children[0].style,c.options.toolbarButtonSvgStyles),t.isApplied()&&c._selectButton(o),c.toolbar.appendChild(o)}))},c._selectButton=function(e){e.style.filter="invert(20%)"},r(c,n)}return c(t,e),t}(s.a)},function(e,t,n){var o=n(18),r=n(21),c=n(70),i=n(108),p=r((function(e){return e.push(void 0,c),o(i,void 0,e)}));e.exports=p},function(e,t,n){"use strict";function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=n(15),p=n.n(i),b=n(40),a=n.n(b),M=n(36),z=n(37),l=n(39),u=n(38),s=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};c(this,e),this.initializeModules=function(){n.removeModules(),n.modules=n.moduleClasses.map((function(e){return new(f[e]||e)(n)})),n.modules.forEach((function(e){e.onCreate()})),n.onUpdate()},this.onUpdate=function(){n.repositionElements(),n.modules.forEach((function(e){e.onUpdate()}))},this.removeModules=function(){n.modules.forEach((function(e){e.onDestroy()})),n.modules=[]},this.handleClick=function(e){if(e.target&&e.target.tagName&&"IMG"===e.target.tagName.toUpperCase()){if(n.img===e.target)return;n.img&&n.hide(),n.show(e.target),e.preventDefault()}else n.img&&n.hide()},this.handleScroll=function(e){n.hide()},this.show=function(e){n.img=e,n.showOverlay(),n.initializeModules()},this.showOverlay=function(){n.overlay&&n.hideOverlay(),n.quill.setSelection(null),n.setUserSelect("none"),document.addEventListener("keyup",n.checkImage,!0),n.quill.root.addEventListener("input",n.checkImage,!0),n.overlay=document.createElement("div"),Object.assign(n.overlay.style,n.options.overlayStyles),n.quill.root.parentNode.appendChild(n.overlay),n.repositionElements()},this.hideOverlay=function(){n.overlay&&(n.quill.root.parentNode.removeChild(n.overlay),n.overlay=void 0,document.removeEventListener("keyup",n.checkImage),n.quill.root.removeEventListener("input",n.checkImage),n.setUserSelect(""))},this.repositionElements=function(){if(n.overlay&&n.img){var e=n.quill.root.parentNode,t=n.img.getBoundingClientRect(),o=e.getBoundingClientRect();Object.assign(n.overlay.style,{left:t.left-o.left-1+e.scrollLeft+"px",top:t.top-o.top+e.scrollTop+"px",width:t.width+"px",height:t.height+"px"})}},this.hide=function(){n.hideOverlay(),n.removeModules(),n.img=void 0},this.setUserSelect=function(e){["userSelect","mozUserSelect","webkitUserSelect","msUserSelect"].forEach((function(t){n.quill.root.style[t]=e,document.documentElement.style[t]=e}))},this.checkImage=function(e){n.img&&(46!=e.keyCode&&8!=e.keyCode||(window.Quill||p.a).find(n.img).deleteAt(0),n.hide())},this.quill=t;var r=!1;o.modules&&(r=o.modules.slice()),this.options=a()({},o,M.a),!1!==r&&(this.options.modules=r),document.execCommand("enableObjectResizing",!1,"false"),this.quill.root.addEventListener("click",this.handleClick,!1),this.quill.root.addEventListener("mscontrolselect",this.handleClick,!1),this.quill.root.addEventListener("scroll",this.handleScroll,!1),this.quill.root.parentNode.style.position=this.quill.root.parentNode.style.position||"relative",this.moduleClasses=this.options.modules,this.modules=[]};if(t.default=d,window.Quill){var A=["alt","height","width","style"],q=function(e){function t(){return c(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return r(t,e),s(t,[{key:"format",value:function(e,n){A.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):O(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"formats",value:function(e){return A.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}}]),t}(window.Quill.import("formats/image"));window.Quill.register(q,!0),"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");e=Object(e);for(var t=1;t0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function r(e){var t=o(e),n=t[0],r=t[1];return 3*(n+r)/4-r}function c(e,t,n){return 3*(t+n)/4-n}function i(e){for(var t,n=o(e),r=n[0],i=n[1],p=new l(c(e,r,i)),b=0,a=i>0?r-4:r,M=0;M>16&255,p[b++]=t>>8&255,p[b++]=255&t;return 2===i&&(t=z[e.charCodeAt(M)]<<2|z[e.charCodeAt(M+1)]>>4,p[b++]=255&t),1===i&&(t=z[e.charCodeAt(M)]<<10|z[e.charCodeAt(M+1)]<<4|z[e.charCodeAt(M+2)]>>2,p[b++]=t>>8&255,p[b++]=255&t),p}function p(e){return M[e>>18&63]+M[e>>12&63]+M[e>>6&63]+M[63&e]}function b(e,t,n){for(var o,r=[],c=t;ci?i:c+16383));return 1===o?(t=e[n-1],r.push(M[t>>2]+M[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],r.push(M[t>>10]+M[t>>4&63]+M[t<<2&63]+"=")),r.join("")}t.byteLength=r,t.toByteArray=i,t.fromByteArray=a;for(var M=[],z=[],l="undefined"!=typeof Uint8Array?Uint8Array:Array,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,O=u.length;s=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function O(e){return+e!=e&&(e=0),c.alloc(+e)}function f(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return F(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(o)return F(e).length;t=(""+t).toLowerCase(),o=!0}}function d(e,t,n){var o=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return k(this,t,n);case"utf8":case"utf-8":return N(this,t,n);case"ascii":return w(this,t,n);case"latin1":case"binary":return B(this,t,n);case"base64":return L(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,t,n);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function A(e,t,n){var o=e[t];e[t]=e[n],e[n]=o}function q(e,t,n,o,r){if(0===e.length)return-1;if("string"==typeof n?(o=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=c.from(t,o)),c.isBuffer(t))return 0===t.length?-1:h(e,t,n,o,r);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):h(e,[t],n,o,r);throw new TypeError("val must be string, number or Buffer")}function h(e,t,n,o,r){function c(e,t){return 1===p?e[t]:e.readUInt16BE(t*p)}var i,p=1,b=e.length,a=t.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return-1;p=2,b/=2,a/=2,n/=2}if(r){var M=-1;for(i=n;ib&&(n=b-a),i=n;i>=0;i--){for(var z=!0,l=0;lr&&(o=r):o=r;var c=t.length;if(c%2!=0)throw new TypeError("Invalid hex string");o>c/2&&(o=c/2);for(var i=0;i239?4:a>223?3:a>191?2:1;if(r+z<=n)switch(z){case 1:a<128&&(M=a);break;case 2:128==(192&(c=e[r+1]))&&(b=(31&a)<<6|63&c)>127&&(M=b);break;case 3:c=e[r+1],i=e[r+2],128==(192&c)&&128==(192&i)&&(b=(15&a)<<12|(63&c)<<6|63&i)>2047&&(b<55296||b>57343)&&(M=b);break;case 4:c=e[r+1],i=e[r+2],p=e[r+3],128==(192&c)&&128==(192&i)&&128==(192&p)&&(b=(15&a)<<18|(63&c)<<12|(63&i)<<6|63&p)>65535&&b<1114112&&(M=b)}null===M?(M=65533,z=1):M>65535&&(M-=65536,o.push(M>>>10&1023|55296),M=56320|1023&M),o.push(M),r+=z}return _(o)}function _(e){var t=e.length;if(t<=$)return String.fromCharCode.apply(String,e);for(var n="",o=0;oo)&&(n=o);for(var r="",c=t;cn)throw new RangeError("Trying to access beyond buffer length")}function S(e,t,n,o,r,i){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function T(e,t,n,o){t<0&&(t=65535+t+1);for(var r=0,c=Math.min(e.length-n,2);r>>8*(o?r:1-r)}function X(e,t,n,o){t<0&&(t=4294967295+t+1);for(var r=0,c=Math.min(e.length-n,4);r>>8*(o?r:3-r)&255}function C(e,t,n,o,r,c){if(n+o>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function j(e,t,n,o,r){return r||C(e,t,n,4,34028234663852886e22,-34028234663852886e22),Q.write(e,t,n,o,23,4),n+4}function P(e,t,n,o,r){return r||C(e,t,n,8,17976931348623157e292,-17976931348623157e292),Q.write(e,t,n,o,52,8),n+8}function D(e){if((e=I(e).replace(ee,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function I(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function U(e){return e<16?"0"+e.toString(16):e.toString(16)}function F(e,t){t=t||1/0;for(var n,o=e.length,r=null,c=[],i=0;i55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&c.push(239,191,189);continue}if(i+1===o){(t-=3)>-1&&c.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&c.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&c.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;c.push(n)}else if(n<2048){if((t-=2)<0)break;c.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;c.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;c.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return c}function H(e){for(var t=[],n=0;n>8,r=n%256,c.push(r),c.push(o);return c}function K(e){return Z.toByteArray(D(e))}function G(e,t,n,o){for(var r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}function Y(e){return e!==e}var Z=n(42),Q=n(44),J=n(45);t.Buffer=c,t.SlowBuffer=O,t.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=o(),c.poolSize=8192,c._augment=function(e){return e.__proto__=c.prototype,e},c.from=function(e,t,n){return i(null,e,t,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(e,t,n){return b(null,e,t,n)},c.allocUnsafe=function(e){return a(null,e)},c.allocUnsafeSlow=function(e){return a(null,e)},c.isBuffer=function(e){return!(null==e||!e._isBuffer)},c.compare=function(e,t){if(!c.isBuffer(e)||!c.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,o=t.length,r=0,i=Math.min(n,o);r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},c.prototype.compare=function(e,t,n,o,r){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===o&&(o=0),void 0===r&&(r=this.length),t<0||n>e.length||o<0||r>this.length)throw new RangeError("out of range index");if(o>=r&&t>=n)return 0;if(o>=r)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(r>>>=0)-(o>>>=0),p=(n>>>=0)-(t>>>=0),b=Math.min(i,p),a=this.slice(o,r),M=e.slice(t,n),z=0;zr)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var c=!1;;)switch(o){case"hex":return W(this,e,t,n);case"utf8":case"utf-8":return v(this,e,t,n);case"ascii":return y(this,e,t,n);case"latin1":case"binary":return m(this,e,t,n);case"base64":return g(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,t,n);default:if(c)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),c=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;c.prototype.slice=function(e,t){var n,o=this.length;if((e=~~e)<0?(e+=o)<0&&(e=0):e>o&&(e=o),(t=void 0===t?o:~~t)<0?(t+=o)<0&&(t=0):t>o&&(t=o),t0&&(r*=256);)o+=this[e+--t]*r;return o},c.prototype.readUInt8=function(e,t){return t||x(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||x(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||x(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||x(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||x(e,t,this.length);for(var o=this[e],r=1,c=0;++c=(r*=128)&&(o-=Math.pow(2,8*t)),o},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||x(e,t,this.length);for(var o=t,r=1,c=this[e+--o];o>0&&(r*=256);)c+=this[e+--o]*r;return c>=(r*=128)&&(c-=Math.pow(2,8*t)),c},c.prototype.readInt8=function(e,t){return t||x(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||x(e,4,this.length),Q.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||x(e,4,this.length),Q.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||x(e,8,this.length),Q.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||x(e,8,this.length),Q.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,o){e=+e,t|=0,n|=0,o||S(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,c=0;for(this[t]=255&e;++c=0&&(c*=256);)this[t+r]=e/c&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||S(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||S(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):T(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||S(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):T(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||S(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):X(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||S(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):X(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,o){if(e=+e,t|=0,!o){var r=Math.pow(2,8*n-1);S(this,e,t,n,r-1,-r)}var c=0,i=1,p=0;for(this[t]=255&e;++c>0)-p&255;return t+n},c.prototype.writeIntBE=function(e,t,n,o){if(e=+e,t|=0,!o){var r=Math.pow(2,8*n-1);S(this,e,t,n,r-1,-r)}var c=n-1,i=1,p=0;for(this[t+c]=255&e;--c>=0&&(i*=256);)e<0&&0===p&&0!==this[t+c+1]&&(p=1),this[t+c]=(e/i>>0)-p&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||S(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||S(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):T(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||S(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):T(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||S(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):X(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||S(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):X(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return j(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return j(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return P(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return P(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,o){if(n||(n=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(i<1e3||!c.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i>1,M=-7,z=n?r-1:0,l=n?-1:1,u=e[t+z];for(z+=l,c=u&(1<<-M)-1,u>>=-M,M+=p;M>0;c=256*c+e[t+z],z+=l,M-=8);for(i=c&(1<<-M)-1,c>>=-M,M+=o;M>0;i=256*i+e[t+z],z+=l,M-=8);if(0===c)c=1-a;else{if(c===b)return i?NaN:1/0*(u?-1:1);i+=Math.pow(2,o),c-=a}return(u?-1:1)*i*Math.pow(2,c-o)},t.write=function(e,t,n,o,r,c){var i,p,b,a=8*c-r-1,M=(1<>1,l=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,u=o?0:c-1,s=o?1:-1,O=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(p=isNaN(t)?1:0,i=M):(i=Math.floor(Math.log(t)/Math.LN2),t*(b=Math.pow(2,-i))<1&&(i--,b*=2),(t+=i+z>=1?l/b:l*Math.pow(2,1-z))*b>=2&&(i++,b/=2),i+z>=M?(p=0,i=M):i+z>=1?(p=(t*b-1)*Math.pow(2,r),i+=z):(p=t*Math.pow(2,z-1)*Math.pow(2,r),i=0));r>=8;e[n+u]=255&p,u+=s,p/=256,r-=8);for(i=i<0;e[n+u]=255&i,u+=s,i/=256,a-=8);e[n+u-s]|=128*O}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t1?n[r-1]:void 0,p=r>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(r--,i):void 0,p&&c(n[0],n[1],p)&&(i=r<3?void 0:i,r=1),t=Object(t);++o-1}var r=n(4);e.exports=o},function(e,t,n){function o(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}var r=n(4);e.exports=o},function(e,t,n){function o(){this.size=0,this.__data__={hash:new r,map:new(i||c),string:new r}}var r=n(46),c=n(3),i=n(16);e.exports=o},function(e,t,n){function o(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}var r=n(6);e.exports=o},function(e,t,n){function o(e){return r(this,e).get(e)}var r=n(6);e.exports=o},function(e,t,n){function o(e){return r(this,e).has(e)}var r=n(6);e.exports=o},function(e,t,n){function o(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}var r=n(6);e.exports=o},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){(function(e){var o=n(23),r="object"==typeof t&&t&&!t.nodeType&&t,c=r&&"object"==typeof e&&e&&!e.nodeType&&e,i=c&&c.exports===r&&o.process,p=function(){try{return c&&c.require&&c.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=p}).call(t,n(14)(e))},function(e,t){function n(e){return o.call(e)}var o=Object.prototype.toString;e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){function o(e,t,n){return t=c(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,p=c(o.length-t,0),b=Array(p);++i0){if(++t>=o)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var o=800,r=16,c=Date.now;e.exports=n},function(e,t,n){function o(){this.__data__=new r,this.size=0}var r=n(3);e.exports=o},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function o(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!c||o.length\n \n \n \n'},function(e,t){e.exports='\n \n \n \n'},function(e,t){e.exports='\n \n \n \n'}])},6921:function(e){var t;"undefined"!==typeof self&&self,t=function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=109)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(17),r=n(18),c=n(19),i=n(45),p=n(46),b=n(47),a=n(48),M=n(49),z=n(12),l=n(32),u=n(33),s=n(31),O=n(1),f={Scope:O.Scope,create:O.create,find:O.find,query:O.query,register:O.register,Container:o.default,Format:r.default,Leaf:c.default,Embed:a.default,Scroll:i.default,Block:b.default,Inline:p.default,Text:M.default,Attributor:{Attribute:z.default,Class:l.default,Style:u.default,Store:s.default}};t.default=f},function(e,t,n){"use strict";var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(t){var n=this;return t="[Parchment] "+t,(n=e.call(this,t)||this).message=t,n.name=n.constructor.name,n}return o(t,e),t}(Error);t.ParchmentError=r;var c,i={},p={},b={},a={};function M(e,t){var n;if(void 0===t&&(t=c.ANY),"string"===typeof e)n=a[e]||i[e];else if(e instanceof Text||e.nodeType===Node.TEXT_NODE)n=a.text;else if("number"===typeof e)e&c.LEVEL&c.BLOCK?n=a.block:e&c.LEVEL&c.INLINE&&(n=a.inline);else if(e instanceof HTMLElement){var o=(e.getAttribute("class")||"").split(/\s+/);for(var r in o)if(n=p[o[r]])break;n=n||b[e.tagName]}return null==n?null:t&c.LEVEL&n.scope&&t&c.TYPE&n.scope?n:null}t.DATA_KEY="__blot",function(e){e[e.TYPE=3]="TYPE",e[e.LEVEL=12]="LEVEL",e[e.ATTRIBUTE=13]="ATTRIBUTE",e[e.BLOT=14]="BLOT",e[e.INLINE=7]="INLINE",e[e.BLOCK=11]="BLOCK",e[e.BLOCK_BLOT=10]="BLOCK_BLOT",e[e.INLINE_BLOT=6]="INLINE_BLOT",e[e.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",e[e.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",e[e.ANY=15]="ANY"}(c=t.Scope||(t.Scope={})),t.create=function(e,t){var n=M(e);if(null==n)throw new r("Unable to create "+e+" blot");var o=n,c=e instanceof Node||e.nodeType===Node.TEXT_NODE?e:o.create(t);return new o(c,t)},t.find=function e(n,o){return void 0===o&&(o=!1),null==n?null:null!=n[t.DATA_KEY]?n[t.DATA_KEY].blot:o?e(n.parentNode,o):null},t.query=M,t.register=function e(){for(var t=[],n=0;n1)return t.map((function(t){return e(t)}));var o=t[0];if("string"!==typeof o.blotName&&"string"!==typeof o.attrName)throw new r("Invalid definition");if("abstract"===o.blotName)throw new r("Cannot register abstract class");if(a[o.blotName||o.attrName]=o,"string"===typeof o.keyName)i[o.keyName]=o;else if(null!=o.className&&(p[o.className]=o),null!=o.tagName){Array.isArray(o.tagName)?o.tagName=o.tagName.map((function(e){return e.toUpperCase()})):o.tagName=o.tagName.toUpperCase();var c=Array.isArray(o.tagName)?o.tagName:[o.tagName];c.forEach((function(e){null!=b[e]&&null!=o.className||(b[e]=o)}))}return o}},function(e,t,n){var o=n(51),r=n(11),c=n(3),i=n(20),p=String.fromCharCode(0),b=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};b.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},b.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},b.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"===typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},b.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=c(!0,{},e),"object"===typeof n){if("number"===typeof e.delete&&"number"===typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"===typeof n.delete&&null!=e.insert&&(t-=1,"object"!==typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(r(e.attributes,n.attributes)){if("string"===typeof e.insert&&"string"===typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"===typeof e.retain&&"number"===typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"===typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},b.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},b.prototype.filter=function(e){return this.ops.filter(e)},b.prototype.forEach=function(e){this.ops.forEach(e)},b.prototype.map=function(e){return this.ops.map(e)},b.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(o){(e(o)?t:n).push(o)})),[t,n]},b.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},b.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+i.length(t):t.delete?e-t.delete:e}),0)},b.prototype.length=function(){return this.reduce((function(e,t){return e+i.length(t)}),0)},b.prototype.slice=function(e,t){e=e||0,"number"!==typeof t&&(t=1/0);for(var n=[],o=i.iterator(this.ops),r=0;r0&&n.next(c.retain-p)}for(var a=new b(o);t.hasNext()||n.hasNext();)if("insert"===n.peekType())a.push(n.next());else if("delete"===t.peekType())a.push(t.next());else{var M=Math.min(t.peekLength(),n.peekLength()),z=t.next(M),l=n.next(M);if("number"===typeof l.retain){var u={};"number"===typeof z.retain?u.retain=M:u.insert=z.insert;var s=i.attributes.compose(z.attributes,l.attributes,"number"===typeof z.retain);if(s&&(u.attributes=s),a.push(u),!n.hasNext()&&r(a.ops[a.ops.length-1],u)){var O=new b(t.rest());return a.concat(O).chop()}}else"number"===typeof l.delete&&"number"===typeof z.retain&&a.push(l)}return a.chop()},b.prototype.concat=function(e){var t=new b(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},b.prototype.diff=function(e,t){if(this.ops===e.ops)return new b;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"===typeof n.insert?n.insert:p;throw new Error("diff() called "+(t===e?"on":"with")+" non-document")})).join("")})),c=new b,a=o(n[0],n[1],t),M=i.iterator(this.ops),z=i.iterator(e.ops);return a.forEach((function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case o.INSERT:n=Math.min(z.peekLength(),t),c.push(z.next(n));break;case o.DELETE:n=Math.min(t,M.peekLength()),M.next(n),c.delete(n);break;case o.EQUAL:n=Math.min(M.peekLength(),z.peekLength(),t);var p=M.next(n),b=z.next(n);r(p.insert,b.insert)?c.retain(n,i.attributes.diff(p.attributes,b.attributes)):c.push(b).delete(n)}t-=n}})),c.chop()},b.prototype.eachLine=function(e,t){t=t||"\n";for(var n=i.iterator(this.ops),o=new b,r=0;n.hasNext();){if("insert"!==n.peekType())return;var c=n.peek(),p=i.length(c)-n.peekLength(),a="string"===typeof c.insert?c.insert.indexOf(t,p)-p:-1;if(a<0)o.push(n.next());else if(a>0)o.push(n.next(a));else{if(!1===e(o,n.next(1).attributes||{},r))return;r+=1,o=new b}}o.length()>0&&e(o,{},r)},b.prototype.transform=function(e,t){if(t=!!t,"number"===typeof e)return this.transformPosition(e,t);for(var n=i.iterator(this.ops),o=i.iterator(e.ops),r=new b;n.hasNext()||o.hasNext();)if("insert"!==n.peekType()||!t&&"insert"===o.peekType())if("insert"===o.peekType())r.push(o.next());else{var c=Math.min(n.peekLength(),o.peekLength()),p=n.next(c),a=o.next(c);if(p.delete)continue;a.delete?r.push(a):r.retain(c,i.attributes.transform(p.attributes,a.attributes,t))}else r.retain(i.length(n.next()));return r.chop()},b.prototype.transformPosition=function(e,t){t=!!t;for(var n=i.iterator(this.ops),o=0;n.hasNext()&&o<=e;){var r=n.peekLength(),c=n.peekType();n.next(),"delete"!==c?("insert"===c&&(o0&&(e1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-1)){var o=this.clone();return 0===e?(this.parent.insertBefore(o,this),this):(this.parent.insertBefore(o,this.next),o)}var c=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},c}}]),t}(p.default.Block);function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"===typeof e.formats&&(t=(0,c.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:d(e.parent,t))}f.blotName="block",f.tagName="P",f.defaultChild="break",f.allowedChildren=[a.default,p.default.Embed,M.default],t.bubbleFormats=d,t.BlockEmbed=O,t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,c=void 0;try{for(var i,p=e[Symbol.iterator]();!(o=(i=p.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(b){r=!0,c=b}finally{try{!o&&p.return&&p.return()}finally{if(r)throw c}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},c=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(A(this,e),this.options=W(t,o),this.container=this.options.container,null==this.container)return q.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var r=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new b.default,this.scroll=M.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new p.default(this.scroll),this.selection=new l.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(b.default.events.EDITOR_CHANGE,(function(e){e===b.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(b.default.events.SCROLL_UPDATE,(function(e,t){var o=n.selection.lastRange,r=o&&0===o.length?o.index:void 0;v.call(n,(function(){return n.editor.update(null,t,r)}),e)}));var c=this.clipboard.convert("
"+r+"


");this.setContents(c),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return c(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),s.default.level(e)}},{key:"find",value:function(e){return e.__quill||M.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&q.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof e){var r=e.attrName||e.blotName;"string"===typeof r?this.register("formats/"+r,e,t):Object.keys(e).forEach((function(o){n.register(o,e[o],t)}))}else null==this.imports[e]||o||q.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?M.default.register(t):e.startsWith("modules")&&"function"===typeof t.register&&t.register()}}]),c(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof e){var n=e;(e=document.createElement("div")).classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var o=this,c=y(e,t,n),i=r(c,4);return e=i[0],t=i[1],n=i[3],v.call(this,(function(){return o.editor.deleteText(e,t)}),n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b.default.sources.API;return v.call(this,(function(){var o=n.getSelection(!0),r=new i.default;if(null==o)return r;if(M.default.query(e,M.default.Scope.BLOCK))r=n.editor.formatLine(o.index,o.length,d({},e,t));else{if(0===o.length)return n.selection.format(e,t),r;r=n.editor.formatText(o.index,o.length,d({},e,t))}return n.setSelection(o,b.default.sources.SILENT),r}),o)}},{key:"formatLine",value:function(e,t,n,o,c){var i,p=this,b=y(e,t,n,o,c),a=r(b,4);return e=a[0],t=a[1],i=a[2],c=a[3],v.call(this,(function(){return p.editor.formatLine(e,t,i)}),c,e,0)}},{key:"formatText",value:function(e,t,n,o,c){var i,p=this,b=y(e,t,n,o,c),a=r(b,4);return e=a[0],t=a[1],i=a[2],c=a[3],v.call(this,(function(){return p.editor.formatText(e,t,i)}),c,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"===typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var o=this.container.getBoundingClientRect();return{bottom:n.bottom-o.top,height:n.height,left:n.left-o.left,right:n.right-o.left,top:n.top-o.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=y(e,t),o=r(n,2);return e=o[0],t=o[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=y(e,t),o=r(n,2);return e=o[0],t=o[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,o){var r=this,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return v.call(this,(function(){return r.editor.insertEmbed(t,n,o)}),c,t)}},{key:"insertText",value:function(e,t,n,o,c){var i,p=this,b=y(e,0,n,o,c),a=r(b,4);return e=a[0],i=a[2],c=a[3],v.call(this,(function(){return p.editor.insertText(e,t,i)}),c,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var o=this,c=y(e,t,n),i=r(c,4);return e=i[0],t=i[1],n=i[3],v.call(this,(function(){return o.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.default.sources.API;return v.call(this,(function(){e=new i.default(e);var n=t.getLength(),o=t.editor.deleteText(0,n),r=t.editor.applyDelta(e),c=r.ops[r.ops.length-1];return null!=c&&"string"===typeof c.insert&&"\n"===c.insert[c.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),r.delete(1)),o.compose(r)}),n)}},{key:"setSelection",value:function(t,n,o){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var c=y(t,n,o),i=r(c,4);t=i[0],n=i[1],o=i[3],this.selection.setRange(new z.Range(t,n),o),o!==b.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.default.sources.API,n=(new i.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.default.sources.API;return v.call(this,(function(){return e=new i.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function W(e,t){if((t=(0,u.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t)).theme&&t.theme!==h.DEFAULTS.theme){if(t.theme=h.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=O.default;var n=(0,u.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var o=Object.keys(n.modules).concat(Object.keys(t.modules)).reduce((function(e,t){var n=h.import("modules/"+t);return null==n?q.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,u.default)(!0,{},h.DEFAULTS,{modules:o},n,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"===typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function v(e,t,n,o){if(this.options.strict&&!this.isEnabled()&&t===b.default.sources.USER)return new i.default;var r=null==n?null:this.getSelection(),c=this.editor.delta,p=e();if(null!=r&&(!0===n&&(n=r.index),null==o?r=m(r,p,t):0!==o&&(r=m(r,n,o,t)),this.setSelection(r,b.default.sources.SILENT)),p.length()>0){var a,M,z=[b.default.events.TEXT_CHANGE,p,c,t];(a=this.emitter).emit.apply(a,[b.default.events.EDITOR_CHANGE].concat(z)),t!==b.default.sources.SILENT&&(M=this.emitter).emit.apply(M,z)}return p}function y(e,t,n,r,c){var i={};return"number"===typeof e.index&&"number"===typeof e.length?"number"!==typeof t?(c=r,r=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!==typeof t&&(c=r,r=n,n=t,t=0),"object"===("undefined"===typeof n?"undefined":o(n))?(i=n,c=r):"string"===typeof n&&(null!=r?i[n]=r:c=n),[e,t,i,c=c||b.default.sources.API]}function m(e,t,n,o){if(null==e)return null;var c=void 0,p=void 0;if(t instanceof i.default){var a=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,o!==b.default.sources.USER)})),M=r(a,2);c=M[0],p=M[1]}else{var l=[e.index,e.index+e.length].map((function(e){return e=0?e+n:Math.max(t,e+n)})),u=r(l,2);c=u[0],p=u[1]}return new z.Range(c,p-c)}h.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},h.events=b.default.events,h.sources=b.default.sources,h.version="1.3.7",h.imports={delta:i.default,parchment:M.default,"core/module":a.default,"core/theme":O.default},t.expandConfig=W,t.overload=y,t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var o=t.order.indexOf(e),r=t.order.indexOf(n);return o>=0||r>=0?o-r:e===n?0:e1?t-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.quill=t,this.options=n};r.DEFAULTS={},t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=["error","warn","log","info"],r="warn";function c(e){if(o.indexOf(e)<=o.indexOf(r)){for(var t,n=arguments.length,c=Array(n>1?n-1:0),i=1;i=0;a--)if(z[a]!=l[a])return!1;for(a=z.length-1;a>=0;a--)if(M=z[a],!i(e[M],t[M],n))return!1;return typeof e===typeof t}(e,t,n))};function p(e){return null===e||void 0===e}function b(e){return!(!e||"object"!==typeof e||"number"!==typeof e.length)&&"function"===typeof e.copy&&"function"===typeof e.slice&&!(e.length>0&&"number"!==typeof e[0])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var r=o.Scope.TYPE&o.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&o.Scope.LEVEL|r:this.scope=o.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){return null!=o.query(e,o.Scope.BLOT&(this.scope|o.Scope.TYPE))&&(null==this.whitelist||("string"===typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,c=void 0;try{for(var i,p=e[Symbol.iterator]();!(o=(i=p.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(b){r=!0,c=b}finally{try{!o&&p.return&&p.return()}finally{if(r)throw c}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var n=0;n=e+n)){var i=this.newlineIndex(e,!0)+1,b=c-i+1,a=this.isolate(i,b),M=a.next;a.format(o,r),M instanceof t&&M.formatAt(0,e-i+n-b,o,r)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var r=this.descendant(M.default,e),c=o(r,2),i=c[0],p=c[1];i.insertAt(p,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var n=this.domNode.textContent.slice(e).indexOf("\n");return n>-1?e+n:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(p.default.create("text","\n")),c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=p.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof p.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var n=c(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(b.default);f.blotName="code-block",f.tagName="PRE",f.TAB=" ",t.Code=O,t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,c=void 0;try{for(var i,p=e[Symbol.iterator]();!(o=(i=p.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(b){r=!0,c=b}finally{try{!o&&p.return&&p.return()}finally{if(r)throw c}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},c=function(){function e(e,t){for(var n=0;n=c&&!u.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,u);var s=t.scroll.line(e),O=r(s,2),d=O[0],A=O[1],q=(0,f.default)({},(0,z.bubbleFormats)(d));if(d instanceof l.default){var h=d.descendant(b.default.Leaf,A),W=r(h,1)[0];q=(0,f.default)(q,(0,z.bubbleFormats)(W))}M=p.default.attributes.diff(q,M)||{}}else if("object"===o(i.insert)){var v=Object.keys(i.insert)[0];if(null==v)return e;t.scroll.insertAt(e,v,i.insert[v])}c+=a}return Object.keys(M).forEach((function(n){t.scroll.formatAt(e,a,n,M[n])})),e+a}),0),e.reduce((function(e,n){return"number"===typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new i.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(o).forEach((function(r){if(null==n.scroll.whitelist||n.scroll.whitelist[r]){var c=n.scroll.lines(e,Math.max(t,1)),i=t;c.forEach((function(t){var c=t.length();if(t instanceof a.default){var p=e-t.offset(n.scroll),b=t.newlineIndex(p+i)-p+1;t.formatAt(p,b,r,o[r])}else t.format(r,o[r]);i-=c}))}})),this.scroll.optimize(),this.update((new i.default).retain(e).retain(t,(0,s.default)(o)))}},{key:"formatText",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(o).forEach((function(r){n.scroll.formatAt(e,t,r,o[r])})),this.update((new i.default).retain(e).retain(t,(0,s.default)(o)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new i.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],o=[];0===t?this.scroll.path(e).forEach((function(e){var t=r(e,1)[0];t instanceof l.default?n.push(t):t instanceof b.default.Leaf&&o.push(t)})):(n=this.scroll.lines(e,t),o=this.scroll.descendants(b.default.Leaf,e,t));var c=[n,o].map((function(e){if(0===e.length)return{};for(var t=(0,z.bubbleFormats)(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null==n)return t;t=h((0,z.bubbleFormats)(n),t)}return t}));return f.default.apply(f.default,c)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"===typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new i.default).retain(e).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(o).forEach((function(r){n.scroll.formatAt(e,t.length,r,o[r])})),this.update((new i.default).retain(e).insert(t,(0,s.default)(o)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===l.default.blotName&&!(e.children.length>1)&&e.children.head instanceof u.default}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),o=this.scroll.line(e+t),c=r(o,2),p=c[0],b=c[1],M=0,z=new i.default;null!=p&&(M=p instanceof a.default?p.newlineIndex(b)-b+1:p.length()-b,z=p.delta().slice(b,b+M-1).insert("\n"));var l=this.getContents(e,t+M).diff((new i.default).insert(n).concat(z)),u=(new i.default).retain(e).concat(l);return this.applyDelta(u)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,o=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(A)&&b.default.find(t[0].target)){var r=b.default.find(t[0].target),c=(0,z.bubbleFormats)(r),p=r.offset(this.scroll),a=t[0].oldValue.replace(M.default.CONTENTS,""),l=(new i.default).insert(a),u=(new i.default).insert(r.value()),s=(new i.default).retain(p).concat(l.diff(u,n));e=s.reduce((function(e,t){return t.insert?e.insert(t.insert,c):e.push(t)}),new i.default),this.delta=o.compose(e)}else this.delta=this.getDelta(),e&&(0,O.default)(o.compose(e),this.delta)||(e=o.diff(this.delta,n));return e}}]),e}();function h(e,t){return Object.keys(t).reduce((function(n,o){return null==e[o]||(t[o]===e[o]?n[o]=t[o]:Array.isArray(t[o])?t[o].indexOf(e[o])<0&&(n[o]=t[o].concat([e[o]])):n[o]=[t[o],e[o]]),n}),{})}t.default=q},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,c=void 0;try{for(var i,p=e[Symbol.iterator]();!(o=(i=p.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(b){r=!0,c=b}finally{try{!o&&p.return&&p.return()}finally{if(r)throw c}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0;z(this,e),this.index=t,this.length=n},s=function(){function e(t,n){var o=this;z(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=c.default.create("cursor",this),this.lastRange=this.savedRange=new u(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){o.mouseDown||setTimeout(o.update.bind(o,b.default.sources.USER),1)})),this.emitter.on(b.default.events.EDITOR_CHANGE,(function(e,t){e===b.default.events.TEXT_CHANGE&&t.length()>0&&o.update(b.default.sources.SILENT)})),this.emitter.on(b.default.events.SCROLL_BEFORE_UPDATE,(function(){if(o.hasFocus()){var e=o.getNativeRange();null!=e&&e.start.node!==o.cursor.textNode&&o.emitter.once(b.default.events.SCROLL_UPDATE,(function(){try{o.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(t){}}))}})),this.emitter.on(b.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,r=n.startNode,c=n.startOffset,i=n.endNode,p=n.endOffset;o.setNativeRange(r,c,i,p)}})),this.update(b.default.sources.SILENT)}return r(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(b.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!c.default.query(e,c.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var o=c.default.find(n.start.node,!1);if(null==o)return;if(o instanceof c.default.Leaf){var r=o.split(n.start.offset);o.parent.insertBefore(this.cursor,r)}else o.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var r=void 0,c=this.scroll.leaf(e),i=o(c,2),p=i[0],b=i[1];if(null==p)return null;var a=p.position(b,!0),M=o(a,2);r=M[0],b=M[1];var z=document.createRange();if(t>0){z.setStart(r,b);var l=this.scroll.leaf(e+t),u=o(l,2);if(p=u[0],b=u[1],null==p)return null;var s=p.position(b,!0),O=o(s,2);return r=O[0],b=O[1],z.setEnd(r,b),z.getBoundingClientRect()}var f="left",d=void 0;return r instanceof Text?(b0&&(f="right")),{bottom:d.top+d.height,height:d.height,left:d[f],right:d[f],top:d.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return l.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var r=n.map((function(e){var n=o(e,2),r=n[0],i=n[1],p=c.default.find(r,!0),b=p.offset(t.scroll);return 0===i?b:p instanceof c.default.Container?b+p.length():b+p.index(r,i)})),i=Math.min(Math.max.apply(Math,M(r)),this.scroll.length()-1),p=Math.min.apply(Math,[i].concat(M(r)));return new u(p,i-p)}},{key:"normalizeNative",value:function(e){if(!O(this.root,e.startContainer)||!e.collapsed&&!O(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach((function(e){for(var t=e.node,n=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;n=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],r=[],c=this.scroll.length();return n.forEach((function(e,n){e=Math.min(c-1,e);var i,p=t.scroll.leaf(e),b=o(p,2),a=b[0],M=b[1],z=a.position(M,0!==n),l=o(z,2);i=l[0],M=l[1],r.push(i,M)})),r.length<2&&(r=r.concat(r)),r}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var r=this.scroll.length()-1,c=this.scroll.line(Math.min(t.index,r)),i=o(c,1)[0],p=i;if(t.length>0){var b=this.scroll.line(Math.min(t.index+t.length,r));p=o(b,1)[0]}if(null!=i&&null!=p){var a=e.getBoundingClientRect();n.topa.bottom&&(e.scrollTop+=n.bottom-a.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(l.info("setNativeRange",e,t,n,o),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var c=document.getSelection();if(null!=c)if(null!=e){this.hasFocus()||this.root.focus();var i=(this.getNativeRange()||{}).native;if(null==i||r||e!==i.startContainer||t!==i.startOffset||n!==i.endContainer||o!==i.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(o=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var p=document.createRange();p.setStart(e,t),p.setEnd(n,o),c.removeAllRanges(),c.addRange(p)}}else c.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b.default.sources.API;if("string"===typeof t&&(n=t,t=!1),l.info("setRange",e),null!=e){var o=this.rangeToNative(e);this.setNativeRange.apply(this,M(o).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.default.sources.USER,t=this.lastRange,n=this.getRange(),r=o(n,2),c=r[0],a=r[1];if(this.lastRange=c,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,p.default)(t,this.lastRange)){var M;!this.composing&&null!=a&&a.native.collapsed&&a.start.node!==this.cursor.textNode&&this.cursor.restore();var z,l=[b.default.events.SELECTION_CHANGE,(0,i.default)(this.lastRange),(0,i.default)(t),e];(M=this.emitter).emit.apply(M,[b.default.events.EDITOR_CHANGE].concat(l)),e!==b.default.sources.SILENT&&(z=this.emitter).emit.apply(z,l)}}}]),e}();function O(e,t){try{t.parentNode}catch(n){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=u,t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=function(){function e(e,t){for(var n=0;n0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=c.Scope.INLINE_BLOT,t}(r.default);t.default=i},function(e,t,n){var o=n(11),r=n(3),c={attributes:{compose:function(e,t,n){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var o=r(!0,{},t);for(var c in n||(o=Object.keys(o).reduce((function(e,t){return null!=o[t]&&(e[t]=o[t]),e}),{})),e)void 0!==e[c]&&void 0===t[c]&&(o[c]=e[c]);return Object.keys(o).length>0?o:void 0},diff:function(e,t){"object"!==typeof e&&(e={}),"object"!==typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,r){return o(e[r],t[r])||(n[r]=void 0===t[r]?null:t[r]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!==typeof e)return t;if("object"===typeof t){if(!n)return t;var o=Object.keys(t).reduce((function(n,o){return void 0===e[o]&&(n[o]=t[o]),n}),{});return Object.keys(o).length>0?o:void 0}}},iterator:function(e){return new i(e)},length:function(e){return"number"===typeof e.delete?e.delete:"number"===typeof e.retain?e.retain:"string"===typeof e.insert?e.insert.length:1}};function i(e){this.ops=e,this.index=0,this.offset=0}i.prototype.hasNext=function(){return this.peekLength()<1/0},i.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,o=c.length(t);if(e>=o-n?(e=o-n,this.index+=1,this.offset=0):this.offset+=e,"number"===typeof t.delete)return{delete:e};var r={};return t.attributes&&(r.attributes=t.attributes),"number"===typeof t.retain?r.retain=e:"string"===typeof t.insert?r.insert=t.insert.substr(n,e):r.insert=t.insert,r}return{retain:1/0}},i.prototype.peek=function(){return this.ops[this.index]},i.prototype.peekLength=function(){return this.ops[this.index]?c.length(this.ops[this.index])-this.offset:1/0},i.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index].delete?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},i.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),o=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(o)}return[]},e.exports=c},function(e,t){var n=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,n,o;try{t=Map}catch(p){t=function(){}}try{n=Set}catch(p){n=function(){}}try{o=Promise}catch(p){o=function(){}}function r(c,p,b,a,M){"object"===typeof p&&(b=p.depth,a=p.prototype,M=p.includeNonEnumerable,p=p.circular);var z=[],l=[],u="undefined"!=typeof Buffer;return"undefined"==typeof p&&(p=!0),"undefined"==typeof b&&(b=1/0),function c(b,s){if(null===b)return null;if(0===s)return b;var O,f;if("object"!=typeof b)return b;if(e(b,t))O=new t;else if(e(b,n))O=new n;else if(e(b,o))O=new o((function(e,t){b.then((function(t){e(c(t,s-1))}),(function(e){t(c(e,s-1))}))}));else if(r.__isArray(b))O=[];else if(r.__isRegExp(b))O=new RegExp(b.source,i(b)),b.lastIndex&&(O.lastIndex=b.lastIndex);else if(r.__isDate(b))O=new Date(b.getTime());else{if(u&&Buffer.isBuffer(b))return O=Buffer.allocUnsafe?Buffer.allocUnsafe(b.length):new Buffer(b.length),b.copy(O),O;e(b,Error)?O=Object.create(b):"undefined"==typeof a?(f=Object.getPrototypeOf(b),O=Object.create(f)):(O=Object.create(a),f=a)}if(p){var d=z.indexOf(b);if(-1!=d)return l[d];z.push(b),l.push(O)}for(var A in e(b,t)&&b.forEach((function(e,t){var n=c(t,s-1),o=c(e,s-1);O.set(n,o)})),e(b,n)&&b.forEach((function(e){var t=c(e,s-1);O.add(t)})),b){var q;f&&(q=Object.getOwnPropertyDescriptor(f,A)),q&&null==q.set||(O[A]=c(b[A],s-1))}if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(b);for(A=0;A0){if(p instanceof b.BlockEmbed||u instanceof b.BlockEmbed)return void this.optimize();if(p instanceof z.default){var s=p.newlineIndex(p.length(),!0);if(s>-1&&(p=p.split(s+1))===u)return void this.optimize()}else if(u instanceof z.default){var O=u.newlineIndex(0);O>-1&&u.split(O+1)}var f=u.children.head instanceof M.default?null:u.children.head;p.moveChildren(u,f),p.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,o,r){(null==this.whitelist||this.whitelist[o])&&(c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,o,r),this.optimize())}},{key:"insertAt",value:function(e,n,o){if(null==o||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==o||null==i.default.query(n,i.default.Scope.BLOCK)){var r=i.default.create(this.statics.defaultChild);this.appendChild(r),null==o&&n.endsWith("\n")&&(n=n.slice(0,-1)),r.insertAt(0,n,o)}else{var p=i.default.create(n,o);this.appendChild(p)}else c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,o);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===i.default.Scope.INLINE_BLOT){var o=i.default.create(this.statics.defaultChild);o.appendChild(e),e=o}c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(s,e)}},{key:"lines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function e(t,n,o){var r=[],c=o;return t.children.forEachAt(n,o,(function(t,n,o){s(t)?r.push(t):t instanceof i.default.Container&&(r=r.concat(e(t,n,c))),c-=o})),r};return n(this,e,t)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(p.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=p.default.sources.USER;"string"===typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(p.default.events.SCROLL_BEFORE_UPDATE,n,e),c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(p.default.events.SCROLL_UPDATE,n,e)}}}]),t}(i.default.Scroll);O.blotName="scroll",O.className="ql-editor",O.tagName="DIV",O.defaultChild="block",O.allowedChildren=[a.default,b.BlockEmbed,l.default],t.default=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,c=void 0;try{for(var i,p=e[Symbol.iterator]();!(o=(i=p.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(b){r=!0,c=b}finally{try{!o&&p.return&&p.return()}finally{if(r)throw c}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},c=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=L(e);if(null==o||null==o.key)return d.warn("Attempted to add invalid keyboard binding",o);"function"===typeof t&&(t={handler:t}),"function"===typeof n&&(n={handler:n}),o=(0,b.default)(o,t,n),this.bindings[o.key]=this.bindings[o.key]||[],this.bindings[o.key].push(o)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var c=n.which||n.keyCode,i=(e.bindings[c]||[]).filter((function(e){return t.match(n,e)}));if(0!==i.length){var b=e.quill.getSelection();if(null!=b&&e.quill.hasFocus()){var a=e.quill.getLine(b.index),M=r(a,2),l=M[0],u=M[1],s=e.quill.getLeaf(b.index),O=r(s,2),f=O[0],d=O[1],A=0===b.length?[f,d]:e.quill.getLeaf(b.index+b.length),q=r(A,2),h=q[0],W=q[1],v=f instanceof z.default.Text?f.value().slice(0,d):"",y=h instanceof z.default.Text?h.value().slice(W):"",m={collapsed:0===b.length,empty:0===b.length&&l.length()<=1,format:e.quill.getFormat(b),offset:u,prefix:v,suffix:y};i.some((function(t){if(null!=t.collapsed&&t.collapsed!==m.collapsed)return!1;if(null!=t.empty&&t.empty!==m.empty)return!1;if(null!=t.offset&&t.offset!==m.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==m.format[e]})))return!1}else if("object"===o(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=m.format[e]:!1===t.format[e]?null==m.format[e]:(0,p.default)(t.format[e],m.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(m.prefix))&&!(null!=t.suffix&&!t.suffix.test(m.suffix))&&!0!==t.handler.call(e,b,m)}))&&n.preventDefault()}}}}))}}]),t}(s.default);function h(e,t){var n,o=e===q.keys.LEFT?"prefix":"suffix";return f(n={key:e,shiftKey:t,altKey:null},o,/^$/),f(n,"handler",(function(n){var o=n.index;e===q.keys.RIGHT&&(o+=n.length+1);var c=this.quill.getLeaf(o);return!(r(c,1)[0]instanceof z.default.Embed)||(e===q.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,l.default.sources.USER):this.quill.setSelection(n.index-1,l.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,l.default.sources.USER):this.quill.setSelection(n.index+n.length+1,l.default.sources.USER),!1)})),n}function W(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),o=r(n,1)[0],c={};if(0===t.offset){var i=this.quill.getLine(e.index-1),p=r(i,1)[0];if(null!=p&&p.length()>1){var b=o.formats(),a=this.quill.getFormat(e.index-1,1);c=M.default.attributes.diff(b,a)||{}}}var z=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-z,z,l.default.sources.USER),Object.keys(c).length>0&&this.quill.formatLine(e.index-z,z,c,l.default.sources.USER),this.quill.focus()}}function v(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var o={},c=0,i=this.quill.getLine(e.index),p=r(i,1)[0];if(t.offset>=p.length()-1){var b=this.quill.getLine(e.index+1),a=r(b,1)[0];if(a){var z=p.formats(),u=this.quill.getFormat(e.index,1);o=M.default.attributes.diff(z,u)||{},c=a.length()}}this.quill.deleteText(e.index,n,l.default.sources.USER),Object.keys(o).length>0&&this.quill.formatLine(e.index+c-1,n,o,l.default.sources.USER)}}function y(e){var t=this.quill.getLines(e),n={};if(t.length>1){var o=t[0].formats(),r=t[t.length-1].formats();n=M.default.attributes.diff(r,o)||{}}this.quill.deleteText(e,l.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,l.default.sources.USER),this.quill.setSelection(e.index,l.default.sources.SILENT),this.quill.focus()}function m(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var o=Object.keys(t.format).reduce((function(e,n){return z.default.query(n,z.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",o,l.default.sources.USER),this.quill.setSelection(e.index+1,l.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==o[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],l.default.sources.USER))}))}function g(e){return{key:q.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=z.default.query("code-block"),o=t.index,c=t.length,i=this.quill.scroll.descendant(n,o),p=r(i,2),b=p[0],a=p[1];if(null!=b){var M=this.quill.getIndex(b),u=b.newlineIndex(a,!0)+1,s=b.newlineIndex(M+a+c),O=b.domNode.textContent.slice(u,s).split("\n");a=0,O.forEach((function(t,r){e?(b.insertAt(u+a,n.TAB),a+=n.TAB.length,0===r?o+=n.TAB.length:c+=n.TAB.length):t.startsWith(n.TAB)&&(b.deleteAt(u+a,n.TAB.length),a-=n.TAB.length,0===r?o-=n.TAB.length:c-=n.TAB.length),a+=t.length+1})),this.quill.update(l.default.sources.USER),this.quill.setSelection(o,c,l.default.sources.SILENT)}}}}function R(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],l.default.sources.USER)}}}function L(e){if("string"===typeof e||"number"===typeof e)return L({key:e});if("object"===("undefined"===typeof e?"undefined":o(e))&&(e=(0,i.default)(e,!1)),"string"===typeof e.key)if(null!=q.keys[e.key.toUpperCase()])e.key=q.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[A]=e.shortKey,delete e.shortKey),e}q.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},q.DEFAULTS={bindings:{bold:R("bold"),italic:R("italic"),underline:R("underline"),indent:{key:q.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",l.default.sources.USER)}},outdent:{key:q.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",l.default.sources.USER)}},"outdent backspace":{key:q.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",l.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,l.default.sources.USER)}},"indent code-block":g(!0),"outdent code-block":g(!1),"remove tab":{key:q.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,l.default.sources.USER)}},tab:{key:q.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new a.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,l.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,l.default.sources.SILENT)}},"list empty enter":{key:q.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,l.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,l.default.sources.USER)}},"checklist enter":{key:q.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=r(t,2),o=n[0],c=n[1],i=(0,b.default)({},o.formats(),{list:"checked"}),p=(new a.default).retain(e.index).insert("\n",i).retain(o.length()-c-1).retain(1,{list:"unchecked"});this.quill.updateContents(p,l.default.sources.USER),this.quill.setSelection(e.index+1,l.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:q.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),o=r(n,2),c=o[0],i=o[1],p=(new a.default).retain(e.index).insert("\n",t.format).retain(c.length()-i-1).retain(1,{header:null});this.quill.updateContents(p,l.default.sources.USER),this.quill.setSelection(e.index+1,l.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,o=this.quill.getLine(e.index),c=r(o,2),i=c[0],p=c[1];if(p>n)return!0;var b=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":b="unchecked";break;case"[x]":b="checked";break;case"-":case"*":b="bullet";break;default:b="ordered"}this.quill.insertText(e.index," ",l.default.sources.USER),this.quill.history.cutoff();var M=(new a.default).retain(e.index-p).delete(n+1).retain(i.length()-2-p).retain(1,{list:b});this.quill.updateContents(M,l.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,l.default.sources.SILENT)}},"code exit":{key:q.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=r(t,2),o=n[0],c=n[1],i=(new a.default).retain(e.index+o.length()-c-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(i,l.default.sources.USER)}},"embed left":h(q.keys.LEFT,!1),"embed left shift":h(q.keys.LEFT,!0),"embed right":h(q.keys.RIGHT,!1),"embed right shift":h(q.keys.RIGHT,!0)}},t.default=q,t.SHORTKEY=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,c=void 0;try{for(var i,p=e[Symbol.iterator]();!(o=(i=p.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(b){r=!0,c=b}finally{try{!o&&p.return&&p.return()}finally{if(r)throw c}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var c=Object.getPrototypeOf(t);return null===c?void 0:e(c,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},c=function(){function e(e,t){for(var n=0;n-1}a.blotName="link",a.tagName="A",a.SANITIZED_URL="about:blank",a.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=a,t.sanitize=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":o(Event))){var r=document.createEvent("Event");r.initEvent("change",!0,!0),this.select.dispatchEvent(r)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=M},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=d(n(0)),r=d(n(5)),c=n(4),i=d(c),p=d(n(16)),b=d(n(25)),a=d(n(24)),M=d(n(35)),z=d(n(6)),l=d(n(22)),u=d(n(7)),s=d(n(55)),O=d(n(42)),f=d(n(23));function d(e){return e&&e.__esModule?e:{default:e}}r.default.register({"blots/block":i.default,"blots/block/embed":c.BlockEmbed,"blots/break":p.default,"blots/container":b.default,"blots/cursor":a.default,"blots/embed":M.default,"blots/inline":z.default,"blots/scroll":l.default,"blots/text":u.default,"modules/clipboard":s.default,"modules/history":O.default,"modules/keyboard":f.default}),o.default.register(i.default,p.default,a.default,z.default,l.default,u.default),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=function(){function e(e){this.domNode=e,this.domNode[o.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new o.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"===typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"===typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return o.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[o.DATA_KEY]},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,n,r){var c=this.isolate(e,t);if(null!=o.query(n,o.Scope.BLOT)&&r)c.wrap(n,r);else if(null!=o.query(n,o.Scope.ATTRIBUTE)){var i=o.create(this.statics.scope);c.wrap(i),i.format(n,r)}},e.prototype.insertAt=function(e,t,n){var r=null==n?o.create("text",t):o.create(t,n),c=this.split(e);this.parent.insertBefore(r,c)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[o.DATA_KEY]&&delete this.domNode[o.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"===typeof e?o.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"===typeof e?o.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(12),r=n(32),c=n(33),i=n(1),p=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=o.default.keys(this.domNode),n=r.default.keys(this.domNode),p=c.default.keys(this.domNode);t.concat(n).concat(p).forEach((function(t){var n=i.query(t,i.Scope.ATTRIBUTE);n instanceof o.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var o=t.attributes[n].value(t.domNode);e.format(n,o)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=p},function(e,t,n){"use strict";var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();function r(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}Object.defineProperty(t,"__esModule",{value:!0});var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){r(e,this.keyName).forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(r(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=c},function(e,t,n){"use strict";var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();function r(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}Object.defineProperty(t,"__esModule",{value:!0});var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){return e.split(":")[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[r(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[r(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[r(this.keyName)];return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;no&&this.stack.undo.length>0){var r=this.stack.undo.pop();n=n.compose(r.undo),e=r.redo.compose(e)}else this.lastRecorded=o;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})),this.stack.redo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(i(n(9)).default);function b(e){var t=e.reduce((function(e,t){return e+=t.delete||0}),0),n=e.length()-t;return function(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"===typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some((function(e){return null!=r.default.query(e,r.default.Scope.BLOCK)})))}(e)&&(n-=1),n}p.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=p,t.getLastChangeIndex=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=void 0;var o=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,p.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,p.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=function(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e}(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var o=n.index+n.length;this.quill.insertEmbed(o,this.root.getAttribute("data-mode"),e,p.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(o+1," ",p.default.sources.USER),this.quill.setSelection(o+2,p.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}(u.default);function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var o=document.createElement("option");t===n?o.setAttribute("selected","selected"):o.setAttribute("value",t),e.appendChild(o)}))}t.BaseTooltip=m,t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){for(var t,n=this.iterator();t=n();)if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){for(var t=0,n=this.head;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);for(var n,o=this.iterator();n=o();){var r=n.length();if(ei?n(o,e-i,Math.min(t,i+b-e)):n(o,0,Math.min(b,e+t-i)),i+=b}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){for(var n,o=this.iterator();n=o();)t=e(t,n);return t},e}();t.default=o},function(e,t,n){"use strict";var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),c=n(1),i={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},p=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,i),n.attach(),n}return o(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,o,r){this.update(),e.prototype.formatAt.call(this,t,n,o,r)},t.prototype.insertAt=function(t,n,o){this.update(),e.prototype.insertAt.call(this,t,n,o)},t.prototype.optimize=function(t,n){var o=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);for(var i=[].slice.call(this.observer.takeRecords());i.length>0;)t.push(i.pop());for(var p=function e(t,n){void 0===n&&(n=!0),null!=t&&t!==o&&null!=t.domNode.parentNode&&(null==t.domNode[c.DATA_KEY].mutations&&(t.domNode[c.DATA_KEY].mutations=[]),n&&e(t.parent))},b=function e(t){null!=t.domNode[c.DATA_KEY]&&null!=t.domNode[c.DATA_KEY].mutations&&(t instanceof r.default&&t.children.forEach(e),t.optimize(n))},a=t,M=0;a.length>0;M+=1){if(M>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(a.forEach((function(e){var t=c.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(p(c.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=c.find(e,!1);p(t,!1),t instanceof r.default&&t.children.forEach((function(e){p(e,!1)}))}))):"attributes"===e.type&&p(t.prev)),p(t))})),this.children.forEach(b),i=(a=[].slice.call(this.observer.takeRecords())).slice();i.length>0;)t.push(i.pop())}},t.prototype.update=function(t,n){var o=this;void 0===n&&(n={}),(t=t||this.observer.takeRecords()).map((function(e){var t=c.find(e.target,!0);return null==t?null:null==t.domNode[c.DATA_KEY].mutations?(t.domNode[c.DATA_KEY].mutations=[e],t):(t.domNode[c.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==o&&null!=e.domNode[c.DATA_KEY]&&e.update(e.domNode[c.DATA_KEY].mutations||[],n)})),null!=this.domNode[c.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[c.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=c.Scope.BLOCK_BLOT,t.tagName="DIV",t}(r.default);t.default=p},function(e,t,n){"use strict";var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),c=n(1),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,o){var c=this;n!==this.statics.blotName||o?e.prototype.format.call(this,n,o):(this.children.forEach((function(e){e instanceof r.default||(e=e.wrap(t.blotName,!0)),c.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,o,r){null!=this.formats()[o]||c.query(o,c.Scope.ATTRIBUTE)?this.isolate(t,n).format(o,r):e.prototype.formatAt.call(this,t,n,o,r)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var o=this.formats();if(0===Object.keys(o).length)return this.unwrap();var r=this.next;r instanceof t&&r.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(o,r.formats())&&(r.moveChildren(this),r.remove())},t.blotName="inline",t.scope=c.Scope.INLINE_BLOT,t.tagName="SPAN",t}(r.default);t.default=i},function(e,t,n){"use strict";var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),c=n(1),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(n){var o=c.query(t.blotName).tagName;if(n.tagName!==o)return e.formats.call(this,n)},t.prototype.format=function(n,o){null!=c.query(n,c.Scope.BLOCK)&&(n!==this.statics.blotName||o?e.prototype.format.call(this,n,o):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,o,r){null!=c.query(o,c.Scope.BLOCK)?this.format(o,r):e.prototype.formatAt.call(this,t,n,o,r)},t.prototype.insertAt=function(t,n,o){if(null==o||null!=c.query(n,c.Scope.INLINE))e.prototype.insertAt.call(this,t,n,o);else{var r=this.split(t),i=c.create(n,o);r.parent.insertBefore(i,r)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=c.Scope.BLOCK_BLOT,t.tagName="P",t}(r.default);t.default=i},function(e,t,n){"use strict";var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,o,r){0===t&&n===this.length()?this.format(o,r):e.prototype.formatAt.call(this,t,n,o,r)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(n(19).default);t.default=r},function(e,t,n){"use strict";var o=this&&this.__extends||function(){var e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}();Object.defineProperty(t,"__esModule",{value:!0});var r=n(19),c=n(1),i=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return o(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t.normalize&&(t=t.normalize()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,o){null==o?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,o)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=c.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=c.Scope.INLINE_BLOT,t}(r.default);t.default=i},function(e,t,n){"use strict";var o=document.createElement("div");if(o.classList.toggle("test-class",!1),o.classList.contains("test-class")){var r=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)===!t?t:r.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!==typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var o=n.indexOf(e,t);return-1!==o&&o===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),o=n.length>>>0,r=arguments[1],c=0;ct.length?e:t,a=e.length>t.length?t:e,M=b.indexOf(a);if(-1!=M)return p=[[1,b.substring(0,M)],[0,a],[1,b.substring(M+a.length)]],e.length>t.length&&(p[0][0]=p[2][0]=n),p;if(1==a.length)return[[n,e],[1,t]];var z=function(e,t){var n=e.length>t.length?e:t,o=e.length>t.length?t:e;if(n.length<4||2*o.length=e.length?[o,r,p,b,z]:null}var p,b,a,M,z,l=r(n,o,Math.ceil(n.length/4)),u=r(n,o,Math.ceil(n.length/2));if(!l&&!u)return null;p=u?l&&l[4].length>u[4].length?l:u:l,e.length>t.length?(b=p[0],a=p[1],M=p[2],z=p[3]):(M=p[0],z=p[1],b=p[2],a=p[3]);var s=p[4];return[b,a,M,z,s]}(e,t);if(z){var l=z[0],u=z[1],s=z[2],O=z[3],f=z[4],d=o(l,s),A=o(u,O);return d.concat([[0,f]],A)}return function(e,t){for(var o=e.length,c=t.length,i=Math.ceil((o+c)/2),p=i,b=2*i,a=new Array(b),M=new Array(b),z=0;zo)O+=2;else if(W>c)s+=2;else if(u&&(m=p+l-q)>=0&&m=(y=o-M[m]))return r(e,t,R,W)}for(var v=-A+f;v<=A-d;v+=2){for(var y,m=p+v,g=(y=v==-A||v!=A&&M[m-1]o)d+=2;else if(g>c)f+=2;else if(!u){var R;if((h=p+l-v)>=0&&h=(y=o-y))return r(e,t,R,W)}}}return[[n,e],[1,t]]}(e,t)}(e=e.substring(0,e.length-M),t=t.substring(0,t.length-M));return z&&u.unshift([0,z]),l&&u.push([0,l]),p(u),null!=b&&(u=function(e,t){var o=function(e,t){if(0===t)return[0,e];for(var o=0,r=0;r0&&r.splice(c+2,0,[p[0],b]),a(r,c,3)}return e}(u,b)),u=function(e){for(var t=!1,o=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},r=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319},c=2;c0&&i.push(e[c]);return i}(u)}function r(e,t,n,r){var c=e.substring(0,n),i=t.substring(0,r),p=e.substring(n),b=t.substring(r),a=o(c,i),M=o(p,b);return a.concat(M)}function c(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,o=Math.min(e.length,t.length),r=o,c=0;n1?(0!==r&&0!==b&&(0!==(t=c(M,a))&&(o-r-b>0&&0==e[o-r-b-1][0]?e[o-r-b-1][1]+=M.substring(0,t):(e.splice(0,0,[0,M.substring(0,t)]),o++),M=M.substring(t),a=a.substring(t)),0!==(t=i(M,a))&&(e[o][1]=M.substring(M.length-t)+e[o][1],M=M.substring(0,M.length-t),a=a.substring(0,a.length-t))),0===r?e.splice(o-b,r+b,[1,M]):0===b?e.splice(o-r,r+b,[n,a]):e.splice(o-r-b,r+b,[n,a],[1,M]),o=o-r-b+(r?1:0)+(b?1:0)+1):0!==o&&0==e[o-1][0]?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,b=0,r=0,a="",M=""}""===e[e.length-1][1]&&e.pop();var z=!1;for(o=1;o=0&&o>=t-1;o--)if(o+1=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=L(t,n)),parseFloat(o.textIndent||0)>0&&(t=(new p.default).insert("\t").concat(t)),t}],["li",function(e,t){var n=b.default.query(e);if(null==n||"list-item"!==n.blotName||!_(t,"\n"))return t;for(var o=-1,r=e.parentNode;!r.classList.contains("ql-clipboard");)"list"===(b.default.query(r)||{}).blotName&&(o+=1),r=r.parentNode;return o<=0?t:t.compose((new p.default).retain(t.length()-1).retain(1,{indent:o}))}],["b",k.bind(k,"bold")],["i",k.bind(k,"italic")],["style",function(){return new p.default}]],m=[l.AlignAttribute,f.DirectionAttribute].reduce((function(e,t){return e[t.keyName]=t,e}),{}),g=[l.AlignStyle,u.BackgroundStyle,O.ColorStyle,f.DirectionStyle,d.FontStyle,A.SizeStyle].reduce((function(e,t){return e[t.keyName]=t,e}),{}),R=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return o.quill.root.addEventListener("paste",o.onPaste.bind(o)),o.container=o.quill.addContainer("ql-clipboard"),o.container.setAttribute("contenteditable",!0),o.container.setAttribute("tabindex",-1),o.matchers=[],y.concat(o.options.matchers).forEach((function(e){var t=r(e,2),c=t[0],i=t[1];(n.matchVisual||i!==T)&&o.addMatcher(c,i)})),o}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),c(t,[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"convert",value:function(e){if("string"===typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\<"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[s.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new p.default).insert(n,h({},s.default.blotName,t[s.default.blotName]))}var o=this.prepareMatching(),c=r(o,2),i=c[0],b=c[1],a=B(this.container,i,b);return _(a,"\n")&&null==a.ops[a.ops.length-1].attributes&&(a=a.compose((new p.default).retain(a.length()-1).delete(1))),W.log("convert",this.container.innerHTML,a),this.container.innerHTML="",a}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.default.sources.API;if("string"===typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,a.default.sources.SILENT);else{var o=this.convert(t);this.quill.updateContents((new p.default).retain(e).concat(o),n),this.quill.setSelection(e+o.length(),a.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),o=(new p.default).retain(n.index),r=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(a.default.sources.SILENT),setTimeout((function(){o=o.concat(t.convert()).delete(n.length),t.quill.updateContents(o,a.default.sources.USER),t.quill.setSelection(o.length()-n.length,a.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=r,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(o){var c=r(o,2),i=c[0],p=c[1];switch(i){case Node.TEXT_NODE:n.push(p);break;case Node.ELEMENT_NODE:t.push(p);break;default:[].forEach.call(e.container.querySelectorAll(i),(function(e){e[v]=e[v]||[],e[v].push(p)}))}})),[t,n]}}]),t}(z.default);function L(e,t,n){return"object"===("undefined"===typeof t?"undefined":o(t))?Object.keys(t).reduce((function(e,n){return L(e,n,t[n])}),e):e.reduce((function(e,o){return o.attributes&&o.attributes[t]?e.push(o):e.insert(o.insert,(0,i.default)({},h({},t,n),o.attributes))}),new p.default)}function N(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function _(e,t){for(var n="",o=e.ops.length-1;o>=0&&n.length-1}function B(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new p.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(o,r){var c=B(r,t,n);return r.nodeType===e.ELEMENT_NODE&&(c=t.reduce((function(e,t){return t(r,e)}),c),c=(r[v]||[]).reduce((function(e,t){return t(r,e)}),c)),o.concat(c)}),new p.default):new p.default}function k(e,t,n){return L(n,e,!0)}function E(e,t){var n=b.default.Attributor.Attribute.keys(e),o=b.default.Attributor.Class.keys(e),r=b.default.Attributor.Style.keys(e),c={};return n.concat(o).concat(r).forEach((function(t){var n=b.default.query(t,b.default.Scope.ATTRIBUTE);null!=n&&(c[n.attrName]=n.value(e),c[n.attrName])||(null==(n=m[t])||n.attrName!==t&&n.keyName!==t||(c[n.attrName]=n.value(e)||void 0),null==(n=g[t])||n.attrName!==t&&n.keyName!==t||(n=g[t],c[n.attrName]=n.value(e)||void 0))})),Object.keys(c).length>0&&(t=L(t,c)),t}function x(e,t){var n=b.default.query(e);if(null==n)return t;if(n.prototype instanceof b.default.Embed){var o={},r=n.value(e);null!=r&&(o[n.blotName]=r,t=(new p.default).insert(o,n.formats(e)))}else"function"===typeof n.formats&&(t=L(t,n.blotName,n.formats(e)));return t}function S(e,t){return _(t,"\n")||(w(e)||t.length()>0&&e.nextSibling&&w(e.nextSibling))&&t.insert("\n"),t}function T(e,t){if(w(e)&&null!=e.nextElementSibling&&!_(t,"\n\n")){var n=e.offsetHeight+parseFloat(N(e).marginTop)+parseFloat(N(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function X(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!N(e.parentNode).whiteSpace.startsWith("pre")){var o=function(e,t){return(t=t.replace(/[^\u00a0]/g,"")).length<1&&e?" ":t};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,o.bind(o,!0)),(null==e.previousSibling&&w(e.parentNode)||null!=e.previousSibling&&w(e.previousSibling))&&(n=n.replace(/^\s+/,o.bind(o,!1))),(null==e.nextSibling&&w(e.parentNode)||null!=e.nextSibling&&w(e.nextSibling))&&(n=n.replace(/\s+$/,o.bind(o,!1)))}return t.insert(n)}R.DEFAULTS={matchers:[],matchVisual:!0},t.default=R,t.matchAttributor=E,t.matchBlot=x,t.matchNewline=S,t.matchSpacing=T,t.matchText=X},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=function(){function e(e,t){for(var n=0;n '},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=function(){function e(e,t){for(var n=0;no.right&&(c=o.right-r.right,this.root.style.left=t+c+"px"),r.lefto.bottom){var i=r.bottom-r.top,p=e.bottom-e.top+i;this.root.style.top=n-p+"px",this.root.classList.add("ql-flip")}return c}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],o=!0,r=!1,c=void 0;try{for(var i,p=e[Symbol.iterator]();!(o=(i=p.next()).done)&&(n.push(i.value),!t||n.length!==t);o=!0);}catch(b){r=!0,c=b}finally{try{!o&&p.return&&p.return()}finally{if(r)throw c}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var c=Object.getPrototypeOf(t);return null===c?void 0:e(c,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},c=function(){function e(e,t){for(var n=0;n','','',''].join(""),t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=S(n(29)),r=n(36),c=n(38),i=n(64),p=S(n(65)),b=S(n(66)),a=n(67),M=S(a),z=n(37),l=n(26),u=n(39),s=n(40),O=S(n(56)),f=S(n(68)),d=S(n(27)),A=S(n(69)),q=S(n(70)),h=S(n(71)),W=S(n(72)),v=S(n(73)),y=n(13),m=S(y),g=S(n(74)),R=S(n(75)),L=S(n(57)),N=S(n(41)),_=S(n(28)),w=S(n(59)),B=S(n(60)),k=S(n(61)),E=S(n(108)),x=S(n(62));function S(e){return e&&e.__esModule?e:{default:e}}o.default.register({"attributors/attribute/direction":c.DirectionAttribute,"attributors/class/align":r.AlignClass,"attributors/class/background":z.BackgroundClass,"attributors/class/color":l.ColorClass,"attributors/class/direction":c.DirectionClass,"attributors/class/font":u.FontClass,"attributors/class/size":s.SizeClass,"attributors/style/align":r.AlignStyle,"attributors/style/background":z.BackgroundStyle,"attributors/style/color":l.ColorStyle,"attributors/style/direction":c.DirectionStyle,"attributors/style/font":u.FontStyle,"attributors/style/size":s.SizeStyle},!0),o.default.register({"formats/align":r.AlignClass,"formats/direction":c.DirectionClass,"formats/indent":i.IndentClass,"formats/background":z.BackgroundStyle,"formats/color":l.ColorStyle,"formats/font":u.FontClass,"formats/size":s.SizeClass,"formats/blockquote":p.default,"formats/code-block":m.default,"formats/header":b.default,"formats/list":M.default,"formats/bold":O.default,"formats/code":y.Code,"formats/italic":f.default,"formats/link":d.default,"formats/script":A.default,"formats/strike":q.default,"formats/underline":h.default,"formats/image":W.default,"formats/video":v.default,"formats/list/item":a.ListItem,"modules/formula":g.default,"modules/syntax":R.default,"modules/toolbar":L.default,"themes/bubble":E.default,"themes/snow":x.default,"ui/icons":N.default,"ui/picker":_.default,"ui/icon-picker":B.default,"ui/color-picker":w.default,"ui/tooltip":k.default},!0),t.default=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var o,r=function(){function e(e,t){for(var n=0;n0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return e={},t=this.statics.blotName,n=this.statics.formats(this.domNode),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"insertBefore",value:function(e,n){if(e instanceof l)r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var o=null==n?this.length():n.offset(this),c=this.split(o);c.parent.insertBefore(e,c)}}},{key:"optimize",value:function(e){r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=c.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(p.default);u.blotName="list",u.scope=c.default.Scope.BLOCK_BLOT,u.tagName=["OL","UL"],u.defaultChild="list-item",u.allowedChildren=[l],t.ListItem=l,t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=n(56);function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var p=function(e){function t(){return c(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t}(((o=r)&&o.__esModule?o:{default:o}).default);p.blotName="italic",p.tagName=["EM","I"],t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=function(){function e(e,t){for(var n=0;n-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=c(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"===typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return z.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,b.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(p.default.Embed);l.blotName="image",l.tagName="IMG",t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o,r=function(){function e(e,t){for(var n=0;n-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=c(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return z.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return b.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(i.BlockEmbed);l.blotName="video",l.className="ql-video",l.tagName="IFRAME",t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=void 0;var o=function(){function e(e,t){for(var n=0;n0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(b(n(13)).default);l.className="ql-syntax";var u=new c.default.Attributor.Class("token","hljs",{scope:c.default.Scope.INLINE}),s=function(e){function t(e,n){a(this,t);var o=M(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!==typeof o.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var r=null;return o.quill.on(i.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(r),r=setTimeout((function(){o.highlight(),r=null}),o.options.interval)})),o.highlight(),o}return z(t,e),o(t,null,[{key:"register",value:function(){i.default.register(u,!0),i.default.register(l,!0)}}]),o(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(i.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(l).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(i.default.sources.SILENT),null!=t&&this.quill.setSelection(t,i.default.sources.SILENT)}}}]),t}(p.default);s.DEFAULTS={highlight:null==window.hljs?null:function(e){return window.hljs.highlightAuto(e).value},interval:1e3},t.CodeBlock=l,t.CodeToken=u,t.default=s},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t){e.exports=' '},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var o=function e(t,n,o){null===t&&(t=Function.prototype);var r=Object.getOwnPropertyDescriptor(t,n);if(void 0===r){var c=Object.getPrototypeOf(t);return null===c?void 0:e(c,n,o)}if("value"in r)return r.value;var i=r.get;return void 0!==i?i.call(o):void 0},r=function(){function e(e,t){for(var n=0;n0&&r===i.default.sources.USER){o.show(),o.root.style.left="0px",o.root.style.width="",o.root.style.width=o.root.offsetWidth+"px";var c=o.quill.getLines(t.index,t.length);if(1===c.length)o.position(o.quill.getBounds(t));else{var p=c[c.length-1],b=o.quill.getIndex(p),M=Math.min(p.length()-1,t.index+t.length-b),z=o.quill.getBounds(new a.Range(b,M));o.position(z)}}else document.activeElement!==o.textbox&&o.quill.hasFocus()&&o.hide()})),o}return s(t,e),r(t,[{key:"listen",value:function(){var e=this;o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){e.root.classList.remove("ql-editing")})),this.quill.on(i.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),r=this.root.querySelector(".ql-tooltip-arrow");if(r.style.marginLeft="",0===n)return n;r.style.marginLeft=-1*n-r.offsetWidth/2+"px"}}]),t}(p.BaseTooltip);d.TEMPLATE=['','
','','',"
"].join(""),t.BubbleTooltip=d,t.default=f},function(e,t,n){e.exports=n(63)}]).default},e.exports=t()},4463:function(e,t,n){"use strict";var o=n(2791),r=n(5296);function c(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n